@narmi/design_system 3.36.0 → 3.37.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.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/style.css +3 -3
- package/dist/style.css.map +1 -1
- package/dist/tokens/css/rgbColors.css +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/js/colors.js +1 -1
- package/dist/tokens/js/manifest.js +1 -1
- package/dist/tokens/js/reactNativeWeb.js +1 -1
- package/dist/types/index.d.ts +32 -8
- package/package.json +1 -1
package/dist/tokens/js/colors.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -24,18 +24,42 @@ declare module "Slider/Thumbs" {
|
|
|
24
24
|
export default Thumbs;
|
|
25
25
|
}
|
|
26
26
|
declare module "Slider/index" {
|
|
27
|
-
interface Props {
|
|
27
|
+
export interface Props {
|
|
28
|
+
/** Visually hidden label to describe the input */
|
|
28
29
|
label: string;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
defaultValue?: number[];
|
|
35
|
-
step: number;
|
|
30
|
+
/** `name` attribute passed to the lower value input thumb */
|
|
31
|
+
lowerName: string;
|
|
32
|
+
/** `name` attribute passed to the higher value input thumb */
|
|
33
|
+
higherName: string;
|
|
34
|
+
/** value of the input */
|
|
36
35
|
value?: number[];
|
|
36
|
+
/** change callback invoked when the value of the `input` changes */
|
|
37
37
|
onChange?: (value: number[]) => void;
|
|
38
|
+
/** optionally format the input value */
|
|
39
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
40
|
+
/** lower bound for the input, inclusive */
|
|
41
|
+
minValue?: number;
|
|
42
|
+
/** upper bound for the input, inclusive */
|
|
43
|
+
maxValue?: number;
|
|
44
|
+
/** if uncontrolled, intial value for the input */
|
|
45
|
+
defaultValue?: number[];
|
|
46
|
+
/** increment number for the range input */
|
|
47
|
+
step?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Text rendered within an `<output>` element.
|
|
50
|
+
* If omitted, will default to `Between {lower} and {upper}`
|
|
51
|
+
*/
|
|
52
|
+
output?: string;
|
|
38
53
|
}
|
|
39
54
|
const Slider: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
40
55
|
export default Slider;
|
|
41
56
|
}
|
|
57
|
+
declare module "Slider/index.stories" {
|
|
58
|
+
export const Overview: any;
|
|
59
|
+
export const AsControlled: () => import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
const _default: {
|
|
61
|
+
title: string;
|
|
62
|
+
component: (props: import("Slider").Props) => import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
};
|
|
64
|
+
export default _default;
|
|
65
|
+
}
|