@stackone/malachite 0.53.0 → 0.54.1
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/index.d.ts +4 -0
- package/dist/index.js +549 -541
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1697,6 +1697,10 @@ declare interface ToggleProps {
|
|
|
1697
1697
|
onChange: (checked: boolean) => void;
|
|
1698
1698
|
disabled?: boolean;
|
|
1699
1699
|
size?: ToggleSize;
|
|
1700
|
+
/** Visible text shown before the switch (e.g. a filter label). */
|
|
1701
|
+
label?: string;
|
|
1702
|
+
/** Wrap the label + switch in a bordered, rounded card-style pill (filter-bar look). */
|
|
1703
|
+
bordered?: boolean;
|
|
1700
1704
|
'aria-label'?: string;
|
|
1701
1705
|
'aria-labelledby'?: string;
|
|
1702
1706
|
className?: string;
|