Releases: looker-open-source/components
0.9.4
0.9.3
0.9.2
0.9.1
Changed
TreeandTreeItem- Accept
detailAccessoryanddetailHoverDisclosureprops TreeItemstyling moved fromTreeintoTreeItemitselfTreeItemlayout follows primary-secondary structure
- Accept
Fixed
ButtonBasenow correctly mapsonKeyDown&onKeyUpprops to underlying DOM elementModalContextalias toDialogContextPortalis now actually exported for use
0.9.0
Added
FieldChipscomponentFieldnow supporthideLabelFieldsetnow supportsfieldsHideLabel(hides labels for Fields within)MultiSelecticon addedzIndexFlooradded totheme(used as base value for Overlay & Modal z-index value:q)eslint-config,prettier-configandstylelint-configpackages moved from separate repository and updated to integrate any overrides needed previously.
Changed
-
Badgenow uses generated colors rather than referencing colors.palette -
DialogManagernow supports a non render-props style interface -
IconButtonimproved hover/active states and no background on hover -
InputTextinterface simplified / narrowed- No longer supports typography or pseudo props
- Switch from using defaultProps to
cssblock to share common styles with other components
-
Popovernow supports the preferredcloneElementstyle usage in addition to the existing render prop style- Additionally the render prop style now exposes
aria-haspopupfor use
- Additionally the render prop style now exposes
-
TextAreainterface simplified / narrowed- No longer supports border or typography props
-
Icons:
FieldLocation,FieldString,FieldDurationartwork update -
Deprecate use of
Modalterm throughout code base -
ModalPortalis nowPortal -
Modal*has moved toDialog*ModalContextis nowDialogContextModalContentis nowDialogContentModalFooteris nowDialogFooterModalHeaderis nowDialogHeader- Aliases for the old names are in place to ease the upgrade but these aliases will be deprecated shortly
Fixed
-
ButtonGroup/ButtonToggledisplay issues- Smaller text in Safari and Firefox
- White space between highlighted item and border (
ButtonToggle) - Missing horizontal borders in wrapping
ButtonTogglewhenoptionsare loaded asynchronously
-
CheckboxGroup&RadioGroupoptions now properly wrap when the exceed the container width -
FieldSelect/FieldSelectMultimissingaria-labelledbyattribute on the input -
Iconwill no longer shrink when placed inside a flex layout -
Select/SelectMultikeyboard navigation when filtering options -
Select&SelectMultioption group label alignment -
SelectMulticreate option unnecessary left padding -
Tooltipclosing when mouse moves from trigger element to tooltip -
Major CSS linting clean-up
Removed
ComboboxMultiOptionprophideCheckMark(instead useindicator={false})CustomizableAttributesare no longer supportedDialogHeader/ModalHeaderno longer supportsheaderIconDrawerno longer availableLabelinterface has significantly pared-down (to just DOM-native properties)Menuno longer supportsmarkerpresentationMenuList,MenuGroup&MenuItemno longer supportscustomizationPropspseudosupport from design-tokens (prefer usingstyledwhen pseudo selectors are required)- Includes changes to
Box&IconButton
- Includes changes to
- Icons:
FieldDistanceremoved
0.8.7
Added
Badgenow supportsrefassignment (Tooltip badge is now possible)ComboboxMultiInputsupportsfreeInputto allow inputting of values outside of options, using the behavior ofInputChipsIconaccepts SVG as viaartworkpropIconButtonnow supportstooltipTextAlignInputChips- preserves escaped comma and tab characters
- supports
removeOnBackspace(true by default)
- Icons:
TimeZone
Changed
AccordionContent&Treeno longer add automatic padding at the container level. Padding happens at the individual item levelIconcan now only be sized viasize(no height/width since it's a square)InputTimenow renders warning icon when validationType="error" is passedFieldInline(FieldCheckbox,FieldRadio&FieldToggleSwitch)- Now supports
detailproperty - Disabled state slightly more discernable from default state now
- Now supports
OptionsGroup(CheckboxGroup,RadioGroup)- Now have tighter vertical spacing to feel more connected
- Supports
detailon Options array
Statusnow allows DOM attributes (aria-*and the like)
Fixed
Radio&Checkboxdisabled states correctedComponentsProvideractually uses thethemepassed inSelectselected option check mark icon sizeButtonGroupspace between rows when wrappingInputChipsseparates chips by newline when pasting
0.8.6
0.8.5
Added
CheckboxGroupandRadioGroupnow support wrapping wheninlineis used, and they use the same height as other inputs- Storybook replaces Playground as preferred development location for components
yarn storybook
Changed
Iconnow supports "t-shirt" sizing. (i.e.:size="small")- Jest no longer requires artifact build before being run
Fixed
Tooltipappendshoverclass if tooltip is open rather and doesn't replace givenclassNameprop value- Fixed documentation header
- Fixed a bug in Slider documentation that cause Gatsby to fall over on documentation deployment
0.8.4
Added
Fieldsetsupports an accordion mode via anaccordionprop
Changed
ModalContent- Tweaked the presentation of overflow state (simple border on top, more subtle shadow + border at bottom)
- now supports
borderBottomthat will always display a border at the bottom of the content area regardless of whether the content overflows the container.
ModalFooternow leveragesSpacecomponents internallyModalHeaderrefactored to invert Styled Components usageSpaceVerticalnow hasalign=stretchby default
Fixed
Fieldsetwith inline properly alignsFields with error messages
0.8.3
Added
ButtonGroupandButtonTogglenow supportoptionsas an alternative to nestedButtonItemchildrenTreeGroupcomponent
Fixed
ButtonGroupandButtonToggleaccessibility issues due to hiddeninputs (they now render a list ofbuttons instead)Bannerno longer extra wide margin-right by defaultCalendar,InputDate, andInputDateRangelocalization props
Removed
ButtonGroupandButtonToggleno longer support an uncontrolled version, since they now render a list ofbuttons instead of checkbox and radio groups.