Releases: looker-open-source/components
Releases · looker-open-source/components
0.8.2
0.8.1
0.8.0
NOTABLE
ComponentsProvider
now supportscoreColors
attribute for dynamic theme generationtheme.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 useskeyAccent
for link color
Added
ActionListItem
acceptsactionsButtonLabel
prop to help with testingComboboxList
andComboboxOption
now both support a customindicator
Select
andSelectMulti
also supportindicator
at both the component and option level
InputColor
now supports a "null" stateStatus
componentTree
,TreeItem
components- Includes docs and test suite
- Test helper functions for
Combobox
component using react-testing-library
Changed
Badge
-default
intent is nowkey
Banner
is nowMessageBar
- Major style changes to be more Material-esque
warning
is nowwarn
error
is nowcritical
info
is nowinform
confirmation
is nowpositive
Button*
font sizes updated to match design specificationsCheckboxGroup
andRadioGroup
name
is now optionalTextArea
now supports min-height- Icons:
LookerLogo
andLogoRings
updated to match new branding
Fixed
CheckboxGroup
andRadioGroup
now reflect changes tovalue
propInlineInputText
no longer adds a special character to prevent vertical-collapse when emptyInlineInputText
simple
option actually removes border-bottomInlineInputText
&InlineInputTextArea
inherit color and text-alignment from parentPopover
positioning when placement is "top" and the height changesusePopper
reinstate theadaptive
option ofcomputeStyles
Removed
SemanticColor[s]
are no longer supported (see newtheme.colors
shape above)
0.7.37
0.7.36
Added
Accordion
,AccordionLabel
,AccordionContent
componentsButtonGroup
andButtonToggle
will now wrap if there are too many items for the container widthButtonToggle
now acceptsnullable
ComboboxList
now accepts properties fromLayoutProps
ComponentsProvider
now acceptsie11support
parameter to emit IE11 compatibility styleIEGlobalStyle
component (underlying component used byComponentsProvider
for IE11)
FieldSelectMulti
componentFieldTime
componentFieldTimeSelect
componentSelect
now acceptslistLayout
to control the layout of the listSpace
- now supports
around
,between
andevenly
as alternatives togap
- now supports
verticalAlign
property
- now supports
SpaceVertical
now supportsalign
andstretch
propertiesAccordion
,AccordionLabel
,AccordionContent
componentsButtonToggle
now acceptsnullable
ButtonGroup
andButtonToggle
will now wrap if there are too many items for the container width- created
FieldRangeSlider
andFieldSlider
components
Changed
Banner
fontSize adjusted and external margin removedButton
andButtonOutline
horizontal padding on increased, decreased forButtonTransparent
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 provideuseTooltip
with an id or to provide another component that usesuseTooltip
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/
tolib.
- No longer produces multiple artifact formats (
es
only) - Leverages
lerna
to largely remove need for per-package scripts
- Change build artifact path from
yarn playground
&yarn gatsby
replaceyarn 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 usedIconButton
no longer generates spurious DOM outside of itself fortooltip
(doesn't create funky layout bugs whenIconButton
is withinSpace
)InlineInputText
no longer collapses when value is emptyFieldTime
update width to be 100%
Removed
- Deleted
MenuSearch
component in favor ofInputSearch
0.7.31
Fixed
FieldInline
for
attribute moved to the correctlabel
0.7.30
Added
- Icons:
GitBranch
,ViewColumn
,SectionDrop
InlineInputText
supports placeholder attributeInlineTextArea
implemented with test and documentation.RangeSlider
componentMenu
now automatically preserves space for icons if any items have an icon assignedMenuContext
now includesmenuItemStyleContext
for "preserved icon space"-related propertiesMenuItem
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
andSelectMulti
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 thefor
attributeField
&FieldInline
(therefore allField*
) have more explicit line-heights to enforce consistent layout.Fieldset
- updated documentation to include label and legend
- default spacing switched from
xsmall
tosmall
to improve visual relationship with theirInput*
- Icon:
ViewColumn
updated to better match keylines and guides
Fixed
Prompt
behaves better- Clears out old
defaultValue
when newdefaultValue
is passed in - Clears out any user input after pressing cancel button
- Updated test suite to prevent future regressions for the above fixes
- Clears out old
ToggleSwitch
React warning fixed
Removed
ActionListItemAction
no longer supports thecolor
prop
0.7.29
[0.7.29] - 2020-04-24
Changed
Checkbox
&Radio
remove default margin (previously3px
)Field
- Set
id
on label based on field.id to allow forFieldset
legend
replacement / association - Removed default margin-bottom
- Set
FieldColor
defaults towidth=“100%”
Fieldset
- Implement with a
Space
/SpaceVertical
layout (emulateForm
) - Enable
inline
presentation - Use
div
instead offieldset
for DOM object due to Chrome implementation bug offieldset
(doesn’t allow for Flex / Grid layouts withinfieldset
- Minor fix-up to Fieldset composition (no visual impact)
- Implement with a
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
- Extend
Menu
closes by default onMenuItem
clickSpace
&SpaceVertical
- Add
layout
/layoutProps
tosimpleLayoutProps
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
- Add
TextArea
only supports vertical resizing nowToggleSwitch
explicitly specifymargin: 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 onClickActionListItemColumn
aligns with header columnsRequiredStar
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 supportsreadOnly
(was nice to know you, albeit briefly)TextArea
now only resizes on the Y access
0.7.28
Added
ActionList
- Added test suite around "select" behaviors
- Added documentation
Checkbox
&Radio
now supportreadOnly
property- Icons -
CrossFilter
Fixed
Checkbox
&Radio
disabled states match design specComponentsProvider
now automatically loadsGlobalStyle
(also providesglobalStyle={false}
prop to disable this behavior)
Changed
Field*
components no longer have a bottom margin by default (seeForm
update)Form
now acts asSpaceVertical
component automatically putting a gap between each child itemInputText
will now show red error icon when validation fails
Removed
FieldInline
no longer supportslabelFontWeight
0.7.27
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 tobtoa
dependency needed for Gatsby static-generation reqs.