@aurora-ds/components 1.7.4 → 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/index.d.ts CHANGED
@@ -1137,7 +1137,7 @@ declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryS
1137
1137
  static getDerivedStateFromError: (error: Error) => ErrorBoundaryState;
1138
1138
  componentDidCatch(error: Error, info: ErrorInfo): void;
1139
1139
  private reset;
1140
- render(): string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | null | undefined;
1140
+ render(): string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
1141
1141
  }
1142
1142
 
1143
1143
  type DefaultErrorFallbackProps = {
@@ -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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurora-ds/components",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "type": "module",
5
5
  "description": "Aurora DS - React Components Library",
6
6
  "main": "dist/cjs/index.js",