@aurora-ds/components 1.7.3 → 1.7.5
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/cjs/index.js +26 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +26 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +20 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1662,6 +1662,26 @@ type TextFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> & {
|
|
|
1662
1662
|
* When `type` is `'password'`, the visibility toggle is always appended after this.
|
|
1663
1663
|
*/
|
|
1664
1664
|
endAction?: ReactNode;
|
|
1665
|
+
/**
|
|
1666
|
+
* Minimum width of the field wrapper. Overrides `min-width: auto` that browsers apply to
|
|
1667
|
+
* flex items, which would otherwise prevent the field from shrinking below ~207 px.
|
|
1668
|
+
* @default 0
|
|
1669
|
+
*/
|
|
1670
|
+
minWidth?: CSSProperties['minWidth'];
|
|
1671
|
+
/** Maximum width of the field wrapper. */
|
|
1672
|
+
maxWidth?: CSSProperties['maxWidth'];
|
|
1673
|
+
/**
|
|
1674
|
+
* `flex` shorthand applied to the outer wrapper.
|
|
1675
|
+
* Useful when the field is a child of a flex container and should grow/shrink.
|
|
1676
|
+
* @example flex={1}
|
|
1677
|
+
*/
|
|
1678
|
+
flex?: CSSProperties['flex'];
|
|
1679
|
+
/** `flex-grow` applied to the outer wrapper. */
|
|
1680
|
+
flexGrow?: CSSProperties['flexGrow'];
|
|
1681
|
+
/** `flex-shrink` applied to the outer wrapper. */
|
|
1682
|
+
flexShrink?: CSSProperties['flexShrink'];
|
|
1683
|
+
/** `flex-basis` applied to the outer wrapper. */
|
|
1684
|
+
flexBasis?: CSSProperties['flexBasis'];
|
|
1665
1685
|
};
|
|
1666
1686
|
|
|
1667
1687
|
/**
|