v31.9.0
Minor Changes
-
Tab: Add icon support (#1089)
Provides a designed slot for adding an icon to a
TabEXAMPLE USAGE:
<Tab icon={<IconPromote />}>{...}</Tab>
-
AccordionItem: Add icon support (#1086)
Provides a designed slot for adding an icon to an
AccordionItemEXAMPLE USAGE:
<AccordionItem icon={<IconPromote />} {...} />
-
Tag: Add
idsupport (#1081) -
Button, ButtonLink: Add icon support (#1090)
Provides a designed slot for adding an icon to a
ButtonorButtonLinkEXAMPLE USAGE:
<Button icon={<IconSend />}>{...}</Button>
-
Tag: Add icon support (#1087)
Provides a designed slot for adding an icon to a
TagEXAMPLE USAGE:
<Tag icon={<IconPromote />} {...} />
-
OverflowMenu: Add
idsupport (#1081) -
ButtonIcon: Add component (#1084)
See documentation for full feature set.
EXAMPLE USAGE:
<ButtonIcon icon={<IconShare/>} label="Share" id="share" onClick={...} />
Patch Changes
-
Divider: Use span element (#1089)
As the
Dividercomponent is not used as a container element, we now use aspan. This allows it to be used insidebuttonelements, such as aTab, without producing invalid html. -
Badge: Use span element (#1086)
As the
Badgecomponent is not used as a container element, we now use aspan. This allows it to be used insidebuttonelements, such as anAccordionItem, without producing invalid html. -
TooltipRenderer: Ignore pointer events on tip container (#1082)
Fix for the container of the tooltip interferring with pointer events of the tooltip trigger itself.
-
MenuRenderer, OverflowMenu: Guard against open/close handlers firing incorrectly (#1088)
Add guard to ensure open and close handlers are not re-fired when handler instances are updated.
-
Autosuggest, PasswordField, TextField, useToast: Add
idto internal close/clear buttons (#1081) -
Autosuggest, Dialog, Drawer, OverflowMenu, Tag, TextField, useToast: Migrate to use ButtonIcon (#1084)
Adopt new
ButtonIconfor clear/close actions in favour of custom internal buttons.