@kenlo/kdls-design-system 2.25.0 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Toggle/Toggle.d.ts +2 -0
- package/dist/index.cjs +3 -3
- package/dist/index.css +1 -1
- package/dist/index.js +613 -611
- package/foundations/tokens.css +4 -0
- package/kdls-manifest.json +14 -3
- package/package.json +1 -1
|
@@ -14,6 +14,8 @@ export interface ToggleItem {
|
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
/** Accessible name of this item — required in practice when it shows only an icon, which otherwise has no name */
|
|
16
16
|
'aria-label'?: string;
|
|
17
|
+
/** Short text shown in the DS Tooltip when hovering or focusing this item — use it to say what an icon-only item is. On an icon-only item without `aria-label`, it is also the item's accessible name */
|
|
18
|
+
tooltip?: string;
|
|
17
19
|
}
|
|
18
20
|
export interface ToggleProps {
|
|
19
21
|
/** List of options — minimum 2 items */
|