Skip to content

Releases: looker-open-source/components

0.8.2

06 Jun 05:20
Compare
Choose a tag to compare

Fixed

  • InlineInputText was mis-rendering underlying text and not absorbing text-align from parent element

0.8.1

06 Jun 05:20
Compare
Choose a tag to compare

Fixed

  • MessageBar needs to allow DOM properties to be passed through (aria support and the like)
  • Fix issue where InputDate did not render the correct month when setting a value prop

0.8.0

02 Jun 22:41
Compare
Choose a tag to compare

NOTABLE

  • ComponentsProvider now supports coreColors attribute for dynamic theme generation
  • theme.colors.palette no longer used internally except in very limited (and soon-to-be-deprecated) cases.
  • theme.colors shape has been significantly refactored (documentation updates to follow)
  • Tooltip now uses keyAccent for link color

Added

  • ActionListItem accepts actionsButtonLabel prop to help with testing
  • ComboboxList and ComboboxOption now both support a custom indicator
    • Select and SelectMulti also support indicator at both the component and option level
  • InputColor now supports a "null" state
  • Status component
  • Tree, TreeItem components
    • Includes docs and test suite
  • Test helper functions for Combobox component using react-testing-library

Changed

  • Badge - default intent is now key
  • Banner is now MessageBar
    • Major style changes to be more Material-esque
    • warning is now warn
    • error is now critical
    • info is now inform
    • confirmation is now positive
  • Button* font sizes updated to match design specifications
  • CheckboxGroup and RadioGroup name is now optional
  • TextArea now supports min-height
  • Icons: LookerLogo and LogoRings updated to match new branding

Fixed

  • CheckboxGroup and RadioGroup now reflect changes to value prop
  • InlineInputText no longer adds a special character to prevent vertical-collapse when empty
  • InlineInputText simple option actually removes border-bottom
  • InlineInputText & InlineInputTextArea inherit color and text-alignment from parent
  • Popover positioning when placement is "top" and the height changes
    • usePopper reinstate the adaptive option of computeStyles

Removed

  • SemanticColor[s] are no longer supported (see new theme.colors shape above)

0.7.37

26 May 21:39
Compare
Choose a tag to compare

Fixed

  • Space & SpaceVertical default to 100% width of their container again

0.7.36

26 May 21:39
Compare
Choose a tag to compare

Added

  • Accordion, AccordionLabel, AccordionContent components
  • ButtonGroup and ButtonToggle will now wrap if there are too many items for the container width
  • ButtonToggle now accepts nullable
  • ComboboxList now accepts properties from LayoutProps
  • ComponentsProvider now accepts ie11support parameter to emit IE11 compatibility style
    • IEGlobalStyle component (underlying component used by ComponentsProvider for IE11)
  • FieldSelectMulti component
  • FieldTime component
  • FieldTimeSelect component
  • Select now accepts listLayout to control the layout of the list
  • Space
    • now supports around, between and evenly as alternatives to gap
    • now supports verticalAlign property
  • SpaceVertical now supports align and stretch properties
  • Accordion, AccordionLabel, AccordionContent components
  • ButtonToggle now accepts nullable
  • ButtonGroup and ButtonToggle will now wrap if there are too many items for the container width
  • created FieldRangeSlider and FieldSlider components

Changed

  • Banner fontSize adjusted and external margin removed
  • Button and ButtonOutline horizontal padding on increased, decreased for ButtonTransparent
  • DateTimeFormat uses date-fns to format human-readable date string (rather than built-in browser default functionality)
  • Tooltip
    • Now offers a cloneElement version as well as the existing render props version
    • Documentation update to reflect new children structure
    • now supports aria-describedby
    • useTooltip includes a generated id (or passed-in prop value) for the resulting tooltip in the return object
  • MenuDisclosure, Banner, IconButton, ModalHeader explicitly use their id props to either provide useTooltip with an id or to provide another component that uses useTooltip with an id to generate the tooltip's id
  • Icon used for error states in inputs changed to CircleInfo
  • Support Warning icon display on Select and SelectMulti inputs
  • Refactor use of InputSearch to support more flexible layouts
  • Use Babel for building Monorepo ES artifacts
    • Change build artifact path from dist/ to lib.
    • No longer produces multiple artifact formats (es only)
    • Leverages lerna to largely remove need for per-package scripts
  • yarn playground & yarn gatsby replace yarn develop - no need to pre-compile for local development now.
  • Updated artwork for Download icon

Fixed

  • Confirm corrected word wrapping when long strings without white-space are used
  • IconButton no longer generates spurious DOM outside of itself for tooltip (doesn't create funky layout bugs when IconButton is within Space)
  • InlineInputText no longer collapses when value is empty
  • FieldTime update width to be 100%

Removed

  • Deleted MenuSearch component in favor of InputSearch

0.7.31

12 May 18:39
Compare
Choose a tag to compare

Fixed

  • FieldInline for attribute moved to the correct label

0.7.30

07 May 21:56
Compare
Choose a tag to compare

Added

  • Icons: GitBranch, ViewColumn, SectionDrop
  • InlineInputText supports placeholder attribute
  • InlineTextArea implemented with test and documentation.
  • RangeSlider component
  • Menu now automatically preserves space for icons if any items have an icon assigned
    • MenuContext now includes menuItemStyleContext for "preserved icon space"-related properties
    • MenuItem renders an empty Box with the same size as the icon(s) of sibling `MenuItem's (if any)
    • MenuList, MenuGroup contain piece of state the tracks the size of the preserved icon space
  • Select and SelectMulti now supports windowing (virtualization)
    • windowedOptions prop overrides the default condition of >= 100 options

Changed

  • ActionList no longer highlights selected rows or hovered rows (when onClickRowSelect is true)
  • FieldInline & ButtonItem labels now include the for attribute
  • Field & FieldInline (therefore all Field*) have more explicit line-heights to enforce consistent layout.
  • Fieldset
    • updated documentation to include label and legend
    • default spacing switched from xsmall to small to improve visual relationship with their Input*
  • Icon: ViewColumn updated to better match keylines and guides

Fixed

  • Prompt behaves better
    • Clears out old defaultValue when new defaultValue is passed in
    • Clears out any user input after pressing cancel button
    • Updated test suite to prevent future regressions for the above fixes
  • ToggleSwitch React warning fixed

Removed

  • ActionListItemAction no longer supports the color prop

0.7.29

27 Apr 20:21
Compare
Choose a tag to compare

[0.7.29] - 2020-04-24

Changed

  • Checkbox & Radio remove default margin (previously 3px)
  • Field
    • Set id on label based on field.id to allow for Fieldset legend replacement / association
    • Removed default margin-bottom
  • FieldColor defaults to width=“100%”
  • Fieldset
    • Implement with a Space / SpaceVertical layout (emulate Form)
    • Enable inline presentation
    • Use div instead of fieldset for DOM object due to Chrome implementation bug of fieldset (doesn’t allow for Flex / Grid layouts within fieldset
    • Minor fix-up to Fieldset composition (no visual impact)
  • Form - supports layout/simple props (spacing & layout)
  • Grid
    • Correct column specification to prevent grid “blow-out”
    • Remove explicitly specified width: 100% (it’s implied)
  • Legend
    • Extend Label styles to keep Label & Legend presentation bound where appropriate
  • Menu closes by default on MenuItem click
  • Space & SpaceVertical
    • Add layout / layoutProps to simpleLayoutProps to allow for default width specification
    • Improve specificity of child selectors to apply only to direct descendants.
    • Use double selector to override theme reset behavior
  • TextArea only supports vertical resizing now
  • ToggleSwitch explicitly specify margin: 0 to suppress browser-default styling
  • Provide @types/styled-system as a package dependency
  • WWW site keyboard navigation improvement

Fixed

  • ActionListItem no longer have shadow and cursor: pointer without an onClick
  • ActionListItemColumn aligns with header columns
  • RequiredStar wasn't visual artifact from being rendered (red asterisk)
  • useScrollLock no longer jitters on attempted scroll (used in modals and overlays)

Removed

  • Radio no longer supports readOnly (was nice to know you, albeit briefly)
  • TextArea now only resizes on the Y access

0.7.28

21 Apr 00:40
Compare
Choose a tag to compare

Added

  • ActionList
    • Added test suite around "select" behaviors
    • Added documentation
  • Checkbox & Radio now support readOnly property
  • Icons - CrossFilter

Fixed

  • Checkbox & Radio disabled states match design spec
  • ComponentsProvider now automatically loads GlobalStyle (also provides globalStyle={false} prop to disable this behavior)

Changed

  • Field* components no longer have a bottom margin by default (see Form update)
  • Form now acts as SpaceVertical component automatically putting a gap between each child item
  • InputText will now show red error icon when validation fails

Removed

  • FieldInline no longer supports labelFontWeight

0.7.27

15 Apr 17:43
Compare
Choose a tag to compare

Added

  • New icons for field types FieldDate, FieldDistance, FieldDuration,FieldLocation,FieldNumber,FieldString,FieldTier,FieldYesNo

Changed

  • Badge style updated to use lighter colors for intents. Badges are now always round.

Fixed

  • ComboBox crash-bug related to btoa dependency needed for Gatsby static-generation reqs.