Skip to content

Releases: looker-open-source/components

0.9.4

01 Jul 18:55
Compare
Choose a tag to compare

Added

  • autoResize added to InputText and Select, allowing component width to adjust to the current value

Removed

  • InputText props prefix and suffix are replaced with before and after, which accept ReactNode

Fixed

  • InputTimeSelect tab key behavior

0.9.3

26 Jun 23:22
Compare
Choose a tag to compare
  • MenuItem
    • properly renders when [aria-current='false']
    • is now exported as Styled Component
    • renders properly in Safari / older Chrome implementations

0.9.2

26 Jun 23:13
Compare
Choose a tag to compare

Added

  • MenuList now supports disabled property
  • Popover offset issue

Fixed

  • MenuList groupDividers now displayed correctly
  • Icon: Pivot

0.9.1

25 Jun 04:24
Compare
Choose a tag to compare

Changed

  • Tree and TreeItem
    • Accept detailAccessory and detailHoverDisclosure props
    • TreeItem styling moved from Tree into TreeItem itself
    • TreeItem layout follows primary-secondary structure

Fixed

  • ButtonBase now correctly maps onKeyDown & onKeyUp props to underlying DOM element
  • ModalContext alias to DialogContext
  • Portal is now actually exported for use

0.9.0

24 Jun 21:06
Compare
Choose a tag to compare

Added

  • FieldChips component
  • Field now support hideLabel
  • Fieldset now supports fieldsHideLabel (hides labels for Fields within)
  • MultiSelect icon added
  • zIndexFloor added to theme (used as base value for Overlay & Modal z-index value:q)
  • eslint-config, prettier-config and stylelint-config packages moved from separate repository and updated to integrate any overrides needed previously.

Changed

  • Badge now uses generated colors rather than referencing colors.palette

  • DialogManager now supports a non render-props style interface

  • IconButton improved hover/active states and no background on hover

  • InputText interface simplified / narrowed

    • No longer supports typography or pseudo props
    • Switch from using defaultProps to css block to share common styles with other components
  • Popover now supports the preferred cloneElement style usage in addition to the existing render prop style

    • Additionally the render prop style now exposes aria-haspopup for use
  • TextArea interface simplified / narrowed

    • No longer supports border or typography props
  • Icons: FieldLocation, FieldString, FieldDuration artwork update

  • Deprecate use of Modal term throughout code base

  • ModalPortal is now Portal

  • Modal* has moved to Dialog*

    • ModalContext is now DialogContext
    • ModalContent is now DialogContent
    • ModalFooter is now DialogFooter
    • ModalHeader is now DialogHeader
    • Aliases for the old names are in place to ease the upgrade but these aliases will be deprecated shortly

Fixed

  • ButtonGroup/ButtonToggle display issues

    • Smaller text in Safari and Firefox
    • White space between highlighted item and border (ButtonToggle)
    • Missing horizontal borders in wrapping ButtonToggle when options are loaded asynchronously
  • CheckboxGroup & RadioGroup options now properly wrap when the exceed the container width

  • FieldSelect/FieldSelectMulti missing aria-labelledby attribute on the input

  • Icon will no longer shrink when placed inside a flex layout

  • Select/SelectMulti keyboard navigation when filtering options

  • Select & SelectMulti option group label alignment

  • SelectMulti create option unnecessary left padding

  • Tooltip closing when mouse moves from trigger element to tooltip

  • Major CSS linting clean-up

Removed

  • ComboboxMultiOption prop hideCheckMark (instead use indicator={false})
  • CustomizableAttributes are no longer supported
  • DialogHeader / ModalHeader no longer supports headerIcon
  • Drawer no longer available
  • Label interface has significantly pared-down (to just DOM-native properties)
  • Menu no longer supports marker presentation
  • MenuList, MenuGroup & MenuItem no longer supports customizationProps
  • pseudo support from design-tokens (prefer using styled when pseudo selectors are required)
    • Includes changes to Box & IconButton
  • Icons: FieldDistance removed

0.8.7

12 Jun 18:05
Compare
Choose a tag to compare

Added

  • Badge now supports ref assignment (Tooltip badge is now possible)
  • ComboboxMultiInput supports freeInput to allow inputting of values outside of options, using the behavior of InputChips
  • Icon accepts SVG as via artwork prop
  • IconButton now supports tooltipTextAlign
  • InputChips
    • preserves escaped comma and tab characters
    • supports removeOnBackspace (true by default)
  • Icons: TimeZone

Changed

  • AccordionContent & Tree no longer add automatic padding at the container level. Padding happens at the individual item level
  • Icon can now only be sized via size (no height/width since it's a square)
  • InputTime now renders warning icon when validationType="error" is passed
  • FieldInline (FieldCheckbox, FieldRadio & FieldToggleSwitch)
    • Now supports detail property
    • Disabled state slightly more discernable from default state now
  • OptionsGroup (CheckboxGroup, RadioGroup)
    • Now have tighter vertical spacing to feel more connected
    • Supports detail on Options array
  • Status now allows DOM attributes (aria-* and the like)

Fixed

  • Radio & Checkbox disabled states corrected
  • ComponentsProvider actually uses the theme passed in
  • Select selected option check mark icon size
  • ButtonGroup space between rows when wrapping
  • InputChips separates chips by newline when pasting

0.8.6

09 Jun 14:57
Compare
Choose a tag to compare

Fixed

  • Icon properly passes through DOM elements

0.8.5

09 Jun 14:57
Compare
Choose a tag to compare

Added

  • CheckboxGroup and RadioGroup now support wrapping when inline is used, and they use the same height as other inputs
  • Storybook replaces Playground as preferred development location for components yarn storybook

Changed

  • Icon now supports "t-shirt" sizing. (i.e.: size="small")
  • Jest no longer requires artifact build before being run

Fixed

  • Tooltip appends hover class if tooltip is open rather and doesn't replace given className prop value
  • Fixed documentation header
  • Fixed a bug in Slider documentation that cause Gatsby to fall over on documentation deployment

0.8.4

06 Jun 05:21
Compare
Choose a tag to compare

Added

  • Fieldset supports an accordion mode via an accordion prop

Changed

  • ModalContent
    • Tweaked the presentation of overflow state (simple border on top, more subtle shadow + border at bottom)
    • now supports borderBottom that will always display a border at the bottom of the content area regardless of whether the content overflows the container.
  • ModalFooter now leverages Space components internally
  • ModalHeader refactored to invert Styled Components usage
  • SpaceVertical now has align=stretch by default

Fixed

  • Fieldset with inline properly aligns Fields with error messages

0.8.3

06 Jun 05:21
Compare
Choose a tag to compare

Added

  • ButtonGroup and ButtonToggle now support options as an alternative to nested ButtonItem children
  • TreeGroup component

Fixed

  • ButtonGroup and ButtonToggle accessibility issues due to hidden inputs (they now render a list of buttons instead)
  • Banner no longer extra wide margin-right by default
  • Calendar, InputDate, and InputDateRange localization props

Removed

  • ButtonGroup and ButtonToggle no longer support an uncontrolled version, since they now render a list of buttons instead of checkbox and radio groups.