v0.20.0
Minor Changes
-
a06768e
Thanks @clintcs! - Components now throw when subclassed. Let's have a conversation if one of our components doesn't meet your needs. -
a06768e
Thanks @ynotdraw! - Required attributes now throw during development when missing. The following are now required:label
- Accordion
- Button Group Button
- Button Group
- Button
- Checkbox Group
- Checkbox
- Drawer
- Dropdown Option
- Dropdown
- Icon Button
- Input
- Menu Button
- Menu Link
- Modal Icon Button
- Modal
- Radio Group Radio
- Radio Group
- Split Button Primary Button
- Split Button Primary Link
- Split Button Secondary Button
- Tag
- Textarea
- Toggle
- Tooltip
- Tree Item Icon Button
- Tree Item Menu
- Tree Item
name
- Tab Panel
panel
- Tab
url
- Split Button Primary Link
-
a06768e
Thanks @clintcs! - Form controls no longer have awillValidate
property. We think it will remain unused. -
a06768e
Thanks @ynotdraw! - Drawer no longer closes whenEscape
is pressed. -
a06768e
Thanks @clintcs! - - Tab Panel no longer has an unused staticinstanceCount
property.- Toggle no longer has a
name
property.name
only applies to form controls and was unused. - Tree Item's
hasChildTreeItems
andhasExpandIcon
properties and itstoggleExpand()
method have been marked private.
Additionally, some internal changes were made to facillitate generating documentation programmatically forced us remove a few exported types and rename some custom properties:
-
Input no longer exports a
SUPPORTED_TYPES
interface. -
Toasts no longer exports a
Toast
interface. -
Tab Panel's custom properties have been renamed:
- --panel-padding-inline-end + --padding-inline-end - --panel-padding-inline-start + --padding-inline-start
- Toggle no longer has a
Patch Changes
-
a06768e
Thanks @clintcs! - Form controls with long labels no longer overflow their containers. -
a06768e
Thanks @danwenzel! - - A Checkbox or Toggle without a summary no longer has extra space to the right. -
a06768e
Thanks @clintcs! - Filterable Dropdown's input field now has a minimum width of 60 pixels. -
a06768e
Thanks @danwenzel! - SVGs placed in theprefix
slot of a Tree Item will no longer shrink at narrow widths. -
a06768e
Thanks @clintcs! - Thelabel
of a Dropdown Option with a checkbox is now displayed in a tooltip when the label is truncated. -
a06768e
Thanks @clintcs! - Single-select Dropdown's input field is now cleared when Dropdown'svalue
is emptied programmatically. -
a06768e
Thanks @ynotdraw! - Modal now allows for an optionalseverity
attribute to render a severity icon in the header. When bothseverity
andback-button
are provided, only the severity icon is displayed. -
a06768e
Thanks @ynotdraw! - Added JSDoc@attribute
information so that tools like lit-analyzer will properly parse multi-word property names. -
a06768e
Thanks @clintcs! - Dropdown'splaceholder
attribute is now optional. -
a06768e
Thanks @clintcs! - - Radio Group no longer immediately deselects a selected Radio Group Radio that does not have a value.- Programmatically disabled Radio Groups and Radio Group Radios are no longer tabbable.
-
a06768e
Thanks @clintcs! - Each component now includes a JSDoc comment at the top with its attributes, slots, custom properties, events, properties, and methods. -
a06768e
Thanks @clintcs! - Form control label overflow tooltips now flip to the opposite side in a rare case when they would otherwise overflow the viewport. -
a06768e
Thanks @clintcs! - Popover no longer closes when a slotted<label>
is clicked. -
a06768e
Thanks @clintcs! - Input'stype
attribute is now reflected. -
a06768e
Thanks @clintcs! - Form control labels truncate with a tooltip when they overflow. The contents of that tooltip previously didn't reflect changes to form controls'label
attribute. Now if you change a form control'slabel
after initial render you'll see the newlabel
in the truncation tooltip. -
39db6a4
Thanks @clintcs! -@crowdstrike/glide-core
now has an NPM provenance statement. -
a06768e
Thanks @clintcs! - Input now has a minimum width of 60 pixels.