@stackone/malachite 0.52.2 → 0.54.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/index.d.ts +10 -0
- package/dist/index.js +871 -860
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1650,6 +1650,12 @@ declare interface TextAreaProps {
|
|
|
1650
1650
|
rows?: number;
|
|
1651
1651
|
maxLength?: number;
|
|
1652
1652
|
resize?: 'none' | 'vertical' | 'horizontal' | 'both';
|
|
1653
|
+
/**
|
|
1654
|
+
* When false, lines are not soft-wrapped — long content scrolls horizontally
|
|
1655
|
+
* instead of wrapping (native `wrap="off"`). Useful for one-value-per-line
|
|
1656
|
+
* content like URLs. Defaults to true.
|
|
1657
|
+
*/
|
|
1658
|
+
wrap?: boolean;
|
|
1653
1659
|
}
|
|
1654
1660
|
|
|
1655
1661
|
declare type TextAreaSize = 'small' | 'medium' | 'large';
|
|
@@ -1691,6 +1697,10 @@ declare interface ToggleProps {
|
|
|
1691
1697
|
onChange: (checked: boolean) => void;
|
|
1692
1698
|
disabled?: boolean;
|
|
1693
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;
|
|
1694
1704
|
'aria-label'?: string;
|
|
1695
1705
|
'aria-labelledby'?: string;
|
|
1696
1706
|
className?: string;
|