@uniformdev/design-system 20.26.1 → 20.26.3-alpha.7
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/esm/index.js +502 -462
- package/dist/index.d.mts +36 -8
- package/dist/index.d.ts +36 -8
- package/dist/index.js +757 -718
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -2045,6 +2045,11 @@ type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
2045
2045
|
* (optional) sets an overriding classname on the label element
|
|
2046
2046
|
* @deprecated */
|
|
2047
2047
|
classNameLabel?: string | SerializedStyles;
|
|
2048
|
+
/**
|
|
2049
|
+
* If true, the input will allow mouse wheel scrolling to change the value.
|
|
2050
|
+
* @default false
|
|
2051
|
+
*/
|
|
2052
|
+
enableMouseWheel?: boolean;
|
|
2048
2053
|
};
|
|
2049
2054
|
/**
|
|
2050
2055
|
* Input Component
|
|
@@ -2087,6 +2092,11 @@ declare const Input: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttribut
|
|
|
2087
2092
|
* (optional) sets an overriding classname on the label element
|
|
2088
2093
|
* @deprecated */
|
|
2089
2094
|
classNameLabel?: string | SerializedStyles;
|
|
2095
|
+
/**
|
|
2096
|
+
* If true, the input will allow mouse wheel scrolling to change the value.
|
|
2097
|
+
* @default false
|
|
2098
|
+
*/
|
|
2099
|
+
enableMouseWheel?: boolean;
|
|
2090
2100
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
2091
2101
|
|
|
2092
2102
|
/**
|
|
@@ -2600,14 +2610,16 @@ type LimitsBarProps = {
|
|
|
2600
2610
|
current: number;
|
|
2601
2611
|
/** The maximum number of limits */
|
|
2602
2612
|
max: number;
|
|
2603
|
-
/**
|
|
2604
|
-
label
|
|
2613
|
+
/** @deprecated No longer used */
|
|
2614
|
+
label?: string;
|
|
2615
|
+
/** Optional popover content for info icon */
|
|
2616
|
+
popoverContent?: ReactNode;
|
|
2605
2617
|
};
|
|
2606
2618
|
/**
|
|
2607
2619
|
* Uniform Limits Bar Component
|
|
2608
|
-
* @example <LimitsBar current=
|
|
2620
|
+
* @example <LimitsBar current={3} max={5} />
|
|
2609
2621
|
*/
|
|
2610
|
-
declare const LimitsBar: ({ current, max,
|
|
2622
|
+
declare const LimitsBar: ({ current, max, popoverContent }: LimitsBarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2611
2623
|
|
|
2612
2624
|
type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
2613
2625
|
/** sets the title field */
|
|
@@ -3205,8 +3217,16 @@ declare function ParameterImagePreview({ imageSrc }: {
|
|
|
3205
3217
|
imageSrc: string;
|
|
3206
3218
|
}): _emotion_react_jsx_runtime.JSX.Element | null;
|
|
3207
3219
|
|
|
3208
|
-
type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement
|
|
3209
|
-
/**
|
|
3220
|
+
type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
3221
|
+
/**
|
|
3222
|
+
* If true, the input will allow mouse wheel scrolling to change the value.
|
|
3223
|
+
* @default false
|
|
3224
|
+
*/
|
|
3225
|
+
enableMouseWheel?: boolean;
|
|
3226
|
+
};
|
|
3227
|
+
/** @example <ParameterInput label="label value" id="my-input" />
|
|
3228
|
+
* @example <ParameterInput label="Number input" id="my-number" type="number" enableMouseWheel={false} />
|
|
3229
|
+
*/
|
|
3210
3230
|
declare const ParameterInput: React$1.ForwardRefExoticComponent<CommonParameterProps & {
|
|
3211
3231
|
caption?: string;
|
|
3212
3232
|
menuItems?: React$1.ReactNode;
|
|
@@ -3214,8 +3234,16 @@ declare const ParameterInput: React$1.ForwardRefExoticComponent<CommonParameterP
|
|
|
3214
3234
|
errorTestId?: string;
|
|
3215
3235
|
captionTestId?: string;
|
|
3216
3236
|
title?: string;
|
|
3217
|
-
} & React$1.InputHTMLAttributes<HTMLInputElement> &
|
|
3218
|
-
|
|
3237
|
+
} & React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
3238
|
+
/**
|
|
3239
|
+
* If true, the input will allow mouse wheel scrolling to change the value.
|
|
3240
|
+
* @default false
|
|
3241
|
+
*/
|
|
3242
|
+
enableMouseWheel?: boolean;
|
|
3243
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
3244
|
+
declare const ParameterInputInner: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
3245
|
+
enableMouseWheel?: boolean;
|
|
3246
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
3219
3247
|
|
|
3220
3248
|
type ParameterLabelProps = HTMLAttributes<HTMLLabelElement> & {
|
|
3221
3249
|
/** sets the value for label and id on the input field */
|
package/dist/index.d.ts
CHANGED
|
@@ -2045,6 +2045,11 @@ type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
2045
2045
|
* (optional) sets an overriding classname on the label element
|
|
2046
2046
|
* @deprecated */
|
|
2047
2047
|
classNameLabel?: string | SerializedStyles;
|
|
2048
|
+
/**
|
|
2049
|
+
* If true, the input will allow mouse wheel scrolling to change the value.
|
|
2050
|
+
* @default false
|
|
2051
|
+
*/
|
|
2052
|
+
enableMouseWheel?: boolean;
|
|
2048
2053
|
};
|
|
2049
2054
|
/**
|
|
2050
2055
|
* Input Component
|
|
@@ -2087,6 +2092,11 @@ declare const Input: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttribut
|
|
|
2087
2092
|
* (optional) sets an overriding classname on the label element
|
|
2088
2093
|
* @deprecated */
|
|
2089
2094
|
classNameLabel?: string | SerializedStyles;
|
|
2095
|
+
/**
|
|
2096
|
+
* If true, the input will allow mouse wheel scrolling to change the value.
|
|
2097
|
+
* @default false
|
|
2098
|
+
*/
|
|
2099
|
+
enableMouseWheel?: boolean;
|
|
2090
2100
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
2091
2101
|
|
|
2092
2102
|
/**
|
|
@@ -2600,14 +2610,16 @@ type LimitsBarProps = {
|
|
|
2600
2610
|
current: number;
|
|
2601
2611
|
/** The maximum number of limits */
|
|
2602
2612
|
max: number;
|
|
2603
|
-
/**
|
|
2604
|
-
label
|
|
2613
|
+
/** @deprecated No longer used */
|
|
2614
|
+
label?: string;
|
|
2615
|
+
/** Optional popover content for info icon */
|
|
2616
|
+
popoverContent?: ReactNode;
|
|
2605
2617
|
};
|
|
2606
2618
|
/**
|
|
2607
2619
|
* Uniform Limits Bar Component
|
|
2608
|
-
* @example <LimitsBar current=
|
|
2620
|
+
* @example <LimitsBar current={3} max={5} />
|
|
2609
2621
|
*/
|
|
2610
|
-
declare const LimitsBar: ({ current, max,
|
|
2622
|
+
declare const LimitsBar: ({ current, max, popoverContent }: LimitsBarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2611
2623
|
|
|
2612
2624
|
type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
2613
2625
|
/** sets the title field */
|
|
@@ -3205,8 +3217,16 @@ declare function ParameterImagePreview({ imageSrc }: {
|
|
|
3205
3217
|
imageSrc: string;
|
|
3206
3218
|
}): _emotion_react_jsx_runtime.JSX.Element | null;
|
|
3207
3219
|
|
|
3208
|
-
type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement
|
|
3209
|
-
/**
|
|
3220
|
+
type ParameterInputProps = CommonParameterInputProps & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
3221
|
+
/**
|
|
3222
|
+
* If true, the input will allow mouse wheel scrolling to change the value.
|
|
3223
|
+
* @default false
|
|
3224
|
+
*/
|
|
3225
|
+
enableMouseWheel?: boolean;
|
|
3226
|
+
};
|
|
3227
|
+
/** @example <ParameterInput label="label value" id="my-input" />
|
|
3228
|
+
* @example <ParameterInput label="Number input" id="my-number" type="number" enableMouseWheel={false} />
|
|
3229
|
+
*/
|
|
3210
3230
|
declare const ParameterInput: React$1.ForwardRefExoticComponent<CommonParameterProps & {
|
|
3211
3231
|
caption?: string;
|
|
3212
3232
|
menuItems?: React$1.ReactNode;
|
|
@@ -3214,8 +3234,16 @@ declare const ParameterInput: React$1.ForwardRefExoticComponent<CommonParameterP
|
|
|
3214
3234
|
errorTestId?: string;
|
|
3215
3235
|
captionTestId?: string;
|
|
3216
3236
|
title?: string;
|
|
3217
|
-
} & React$1.InputHTMLAttributes<HTMLInputElement> &
|
|
3218
|
-
|
|
3237
|
+
} & React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
3238
|
+
/**
|
|
3239
|
+
* If true, the input will allow mouse wheel scrolling to change the value.
|
|
3240
|
+
* @default false
|
|
3241
|
+
*/
|
|
3242
|
+
enableMouseWheel?: boolean;
|
|
3243
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
3244
|
+
declare const ParameterInputInner: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
3245
|
+
enableMouseWheel?: boolean;
|
|
3246
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
3219
3247
|
|
|
3220
3248
|
type ParameterLabelProps = HTMLAttributes<HTMLLabelElement> & {
|
|
3221
3249
|
/** sets the value for label and id on the input field */
|