@uniformdev/design-system 19.45.0 → 19.45.2-alpha.6

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.mts CHANGED
@@ -21996,7 +21996,9 @@ declare const ScrollableListItem: ({ buttonText, active, disableShadow, ...props
21996
21996
  * Loading Indicator
21997
21997
  * @example <LoadingIndicator />
21998
21998
  */
21999
- declare const LoadingIndicator: ({ ...props }: HTMLAttributes<HTMLDivElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21999
+ declare const LoadingIndicator: ({ size, ...props }: HTMLAttributes<HTMLDivElement> & {
22000
+ size?: "sm" | "lg" | undefined;
22001
+ }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22000
22002
 
22001
22003
  interface LoadingOverlayProps {
22002
22004
  /** sets whether to display the loading overlay components */
@@ -22163,8 +22165,10 @@ declare const Modal: React__default.ForwardRefExoticComponent<{
22163
22165
  type CommonParameterProps = {
22164
22166
  /** sets the label value */
22165
22167
  label: string;
22166
- /** (optional): allows user to pass a component within the label */
22168
+ /** (optional): allows user to pass a component before the label */
22167
22169
  labelLeadingIcon?: ReactNode;
22170
+ /** (optional): allows user to pass a component after the label */
22171
+ labelTrailingIcon?: ReactNode;
22168
22172
  /** sets the value for label and id on the input field */
22169
22173
  id: string;
22170
22174
  /** (optional): hides the label, but set an aria-label on the input */
@@ -22287,6 +22291,8 @@ type ParameterImageProps = Omit<CommonParameterInputProps, 'inputIcon' | 'type'>
22287
22291
  declare const ParameterImage: React__default.ForwardRefExoticComponent<Omit<CommonParameterInputProps, "type" | "inputIcon"> & React__default.InputHTMLAttributes<HTMLInputElement> & {
22288
22292
  /** Turns off the image preview, if it's not desired or rendered separately with `ParameterImageImage` elsewhere */
22289
22293
  disablePreview?: boolean | undefined;
22294
+ } & {
22295
+ children?: React__default.ReactNode;
22290
22296
  } & React__default.RefAttributes<HTMLInputElement>>;
22291
22297
  declare const ParameterImageInner: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & {
22292
22298
  disablePreview?: boolean | undefined;
@@ -22294,7 +22300,7 @@ declare const ParameterImageInner: React__default.ForwardRefExoticComponent<Reac
22294
22300
 
22295
22301
  declare function ParameterImagePreview({ imageSrc }: {
22296
22302
  imageSrc: string;
22297
- }): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22303
+ }): _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
22298
22304
 
22299
22305
  type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement>;
22300
22306
  /** @example <ParameterInput label="label value" id="my-input" /> */
@@ -22498,9 +22504,6 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
22498
22504
  menuItems?: ReactNode;
22499
22505
  errorTestId?: string | undefined;
22500
22506
  captionTestId?: string | undefined;
22501
- /** sets overriding parameters indicator
22502
- * @deprecated
22503
- */
22504
22507
  title?: string | undefined;
22505
22508
  }) => {
22506
22509
  shellProps: {
@@ -22524,9 +22527,6 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
22524
22527
  menuItems?: ReactNode;
22525
22528
  errorTestId?: string | undefined;
22526
22529
  captionTestId?: string | undefined;
22527
- /** sets overriding parameters indicator
22528
- * @deprecated
22529
- */
22530
22530
  title?: string | undefined;
22531
22531
  }, "caption" | "label" | "title" | "id" | "menuItems" | "errorMessage" | "warningMessage" | "errorTestId" | "captionTestId" | "hiddenLabel" | "labelLeadingIcon" | "infoMessage" | "hasOverriddenValue" | "onResetOverriddenValue">;
22532
22532
  };
@@ -22545,7 +22545,7 @@ type ParameterShellProps = React.InputHTMLAttributes<HTMLDivElement> & CommonPar
22545
22545
  * Uniform Parameter shell component
22546
22546
  * @example <ParameterShell label="my label" id="my-id"><ParameterInput onChange={() => {}} /></ParameterShell>
22547
22547
  */
22548
- declare const ParameterShell: ({ label, labelLeadingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems, hasOverriddenValue, onResetOverriddenValue, title, children, ...props }: ParameterShellProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22548
+ declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems, hasOverriddenValue, onResetOverriddenValue, title, children, ...props }: ParameterShellProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22549
22549
  declare const ParameterShellPlaceholder: ({ children }: {
22550
22550
  children?: ReactNode;
22551
22551
  }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
package/dist/index.d.ts CHANGED
@@ -21996,7 +21996,9 @@ declare const ScrollableListItem: ({ buttonText, active, disableShadow, ...props
21996
21996
  * Loading Indicator
21997
21997
  * @example <LoadingIndicator />
21998
21998
  */
21999
- declare const LoadingIndicator: ({ ...props }: HTMLAttributes<HTMLDivElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
21999
+ declare const LoadingIndicator: ({ size, ...props }: HTMLAttributes<HTMLDivElement> & {
22000
+ size?: "sm" | "lg" | undefined;
22001
+ }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22000
22002
 
22001
22003
  interface LoadingOverlayProps {
22002
22004
  /** sets whether to display the loading overlay components */
@@ -22163,8 +22165,10 @@ declare const Modal: React__default.ForwardRefExoticComponent<{
22163
22165
  type CommonParameterProps = {
22164
22166
  /** sets the label value */
22165
22167
  label: string;
22166
- /** (optional): allows user to pass a component within the label */
22168
+ /** (optional): allows user to pass a component before the label */
22167
22169
  labelLeadingIcon?: ReactNode;
22170
+ /** (optional): allows user to pass a component after the label */
22171
+ labelTrailingIcon?: ReactNode;
22168
22172
  /** sets the value for label and id on the input field */
22169
22173
  id: string;
22170
22174
  /** (optional): hides the label, but set an aria-label on the input */
@@ -22287,6 +22291,8 @@ type ParameterImageProps = Omit<CommonParameterInputProps, 'inputIcon' | 'type'>
22287
22291
  declare const ParameterImage: React__default.ForwardRefExoticComponent<Omit<CommonParameterInputProps, "type" | "inputIcon"> & React__default.InputHTMLAttributes<HTMLInputElement> & {
22288
22292
  /** Turns off the image preview, if it's not desired or rendered separately with `ParameterImageImage` elsewhere */
22289
22293
  disablePreview?: boolean | undefined;
22294
+ } & {
22295
+ children?: React__default.ReactNode;
22290
22296
  } & React__default.RefAttributes<HTMLInputElement>>;
22291
22297
  declare const ParameterImageInner: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & {
22292
22298
  disablePreview?: boolean | undefined;
@@ -22294,7 +22300,7 @@ declare const ParameterImageInner: React__default.ForwardRefExoticComponent<Reac
22294
22300
 
22295
22301
  declare function ParameterImagePreview({ imageSrc }: {
22296
22302
  imageSrc: string;
22297
- }): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22303
+ }): _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
22298
22304
 
22299
22305
  type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement>;
22300
22306
  /** @example <ParameterInput label="label value" id="my-input" /> */
@@ -22498,9 +22504,6 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
22498
22504
  menuItems?: ReactNode;
22499
22505
  errorTestId?: string | undefined;
22500
22506
  captionTestId?: string | undefined;
22501
- /** sets overriding parameters indicator
22502
- * @deprecated
22503
- */
22504
22507
  title?: string | undefined;
22505
22508
  }) => {
22506
22509
  shellProps: {
@@ -22524,9 +22527,6 @@ declare const extractParameterProps: <T>(props: T & CommonParameterProps & {
22524
22527
  menuItems?: ReactNode;
22525
22528
  errorTestId?: string | undefined;
22526
22529
  captionTestId?: string | undefined;
22527
- /** sets overriding parameters indicator
22528
- * @deprecated
22529
- */
22530
22530
  title?: string | undefined;
22531
22531
  }, "caption" | "label" | "title" | "id" | "menuItems" | "errorMessage" | "warningMessage" | "errorTestId" | "captionTestId" | "hiddenLabel" | "labelLeadingIcon" | "infoMessage" | "hasOverriddenValue" | "onResetOverriddenValue">;
22532
22532
  };
@@ -22545,7 +22545,7 @@ type ParameterShellProps = React.InputHTMLAttributes<HTMLDivElement> & CommonPar
22545
22545
  * Uniform Parameter shell component
22546
22546
  * @example <ParameterShell label="my label" id="my-id"><ParameterInput onChange={() => {}} /></ParameterShell>
22547
22547
  */
22548
- declare const ParameterShell: ({ label, labelLeadingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems, hasOverriddenValue, onResetOverriddenValue, title, children, ...props }: ParameterShellProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22548
+ declare const ParameterShell: ({ label, labelLeadingIcon, labelTrailingIcon, hiddenLabel, id, errorMessage, warningMessage, infoMessage, caption, errorTestId, captionTestId, menuItems, hasOverriddenValue, onResetOverriddenValue, title, children, ...props }: ParameterShellProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22549
22549
  declare const ParameterShellPlaceholder: ({ children }: {
22550
22550
  children?: ReactNode;
22551
22551
  }) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;