@voxel51/voodo 0.0.19 → 0.0.21
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/components/ActivityToast/ActivityToast.d.ts +28 -2
- package/dist/components/ActivityToast/ActivityToast.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +24 -4
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts +36 -0
- package/dist/components/Card/Card.d.ts.map +1 -0
- package/dist/components/Card/RichCard.d.ts +45 -0
- package/dist/components/Card/RichCard.d.ts.map +1 -0
- package/dist/components/Card/index.d.ts +3 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +30 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Clickable/Clickable.d.ts +16 -0
- package/dist/components/Clickable/Clickable.d.ts.map +1 -1
- package/dist/components/Datepicker/DatePicker.d.ts +50 -0
- package/dist/components/Datepicker/DatePicker.d.ts.map +1 -1
- package/dist/components/Datepicker/DatepickerIconButton.d.ts +12 -0
- package/dist/components/Datepicker/DatepickerIconButton.d.ts.map +1 -1
- package/dist/components/Datepicker/DatepickerInput.d.ts +15 -0
- package/dist/components/Datepicker/DatepickerInput.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +19 -0
- package/dist/components/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Divider/index.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +20 -0
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/index.d.ts.map +1 -0
- package/dist/components/FormField/FormField.d.ts +45 -0
- package/dist/components/FormField/FormField.d.ts.map +1 -1
- package/dist/components/FormFieldGroup/FormFieldGroup.d.ts +38 -0
- package/dist/components/FormFieldGroup/FormFieldGroup.d.ts.map +1 -1
- package/dist/components/Heading/Heading.d.ts +17 -0
- package/dist/components/Heading/Heading.d.ts.map +1 -1
- package/dist/components/Icons/DragHandle.d.ts +8 -0
- package/dist/components/Icons/DragHandle.d.ts.map +1 -1
- package/dist/components/Icons/Icon.d.ts +17 -1
- package/dist/components/Icons/Icon.d.ts.map +1 -1
- package/dist/components/Icons/IconWrapper.d.ts +19 -0
- package/dist/components/Icons/IconWrapper.d.ts.map +1 -0
- package/dist/components/Icons/RadioDot.d.ts +8 -0
- package/dist/components/Icons/RadioDot.d.ts.map +1 -1
- package/dist/components/Icons/index.d.ts +1 -0
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +52 -2
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/InputIcon.d.ts +11 -3
- package/dist/components/Input/InputIcon.d.ts.map +1 -1
- package/dist/components/ListItem/ListItem.d.ts +19 -0
- package/dist/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/components/Pill/Pill.d.ts +23 -2
- package/dist/components/Pill/Pill.d.ts.map +1 -1
- package/dist/components/Radio/Radio.d.ts +16 -0
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.d.ts +48 -0
- package/dist/components/Radio/RadioGroup.d.ts.map +1 -1
- package/dist/components/RichButton/RichButton.d.ts +32 -1
- package/dist/components/RichButton/RichButton.d.ts.map +1 -1
- package/dist/components/RichButtonGroup/RichButtonGroup.d.ts +42 -0
- package/dist/components/RichButtonGroup/RichButtonGroup.d.ts.map +1 -1
- package/dist/components/RichList/RichList.d.ts +67 -0
- package/dist/components/RichList/RichList.d.ts.map +1 -1
- package/dist/components/Select/Option.d.ts +10 -0
- package/dist/components/Select/Option.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +71 -0
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Slider/Slider.d.ts +111 -0
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Slider/SliderBar.d.ts +18 -0
- package/dist/components/Slider/SliderBar.d.ts.map +1 -1
- package/dist/components/Slider/SliderKnob.d.ts +12 -0
- package/dist/components/Slider/SliderKnob.d.ts.map +1 -1
- package/dist/components/Slider/SliderLabels.d.ts +18 -0
- package/dist/components/Slider/SliderLabels.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.d.ts +14 -0
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Stack/Stack.d.ts +41 -1
- package/dist/components/Stack/Stack.d.ts.map +1 -1
- package/dist/components/Table/Table.d.ts +8 -0
- package/dist/components/Table/Table.d.ts.map +1 -0
- package/dist/components/Table/index.d.ts +2 -0
- package/dist/components/Table/index.d.ts.map +1 -0
- package/dist/components/Text/Text.d.ts +20 -1
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.d.ts +39 -1
- package/dist/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/TextBadge/TextBadge.d.ts +16 -0
- package/dist/components/TextBadge/TextBadge.d.ts.map +1 -1
- package/dist/components/Toast/Toast.d.ts +39 -2
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/ToastContainer/ToastContainer.d.ts +8 -0
- package/dist/components/ToastContainer/ToastContainer.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.d.ts +32 -0
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +46 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +18 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/UnsetHint/UnsetHint.d.ts +13 -0
- package/dist/components/UnsetHint/UnsetHint.d.ts.map +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5495 -5100
- package/dist/index.js.map +1 -1
- package/dist/styles/color-classes.d.ts +1 -1
- package/dist/styles/color-classes.d.ts.map +1 -1
- package/dist/styles/shadow.d.ts.map +1 -1
- package/dist/theme/tokens/colors.d.ts +2 -0
- package/dist/theme/tokens/colors.d.ts.map +1 -1
- package/dist/theme/tokens/index.d.ts +2 -0
- package/dist/theme/tokens/index.d.ts.map +1 -1
- package/dist/types/align.d.ts +7 -0
- package/dist/types/align.d.ts.map +1 -0
- package/dist/types/color.d.ts +1 -0
- package/dist/types/color.d.ts.map +1 -1
- package/dist/types/icons.d.ts +2 -0
- package/dist/types/icons.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/justify.d.ts +9 -0
- package/dist/types/justify.d.ts.map +1 -0
- package/dist/types/shadow.d.ts +1 -0
- package/dist/types/shadow.d.ts.map +1 -1
- package/dist/types/size.d.ts +2 -1
- package/dist/types/size.d.ts.map +1 -1
- package/dist/voodo.css +1 -1
- package/package.json +4 -2
|
@@ -23,8 +23,119 @@ export interface MultiValueSliderProps extends Omit<SliderProps, "multi" | "onCh
|
|
|
23
23
|
onChange?: (value: number[]) => void;
|
|
24
24
|
value?: number[];
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* A basic slider component.
|
|
28
|
+
*
|
|
29
|
+
* This component renders a slider with one or more draggable knobs, optional numeric inputs, and optional labels.
|
|
30
|
+
*
|
|
31
|
+
* This component operates as both a controlled and uncontrolled component.
|
|
32
|
+
* See `value` and `onChange` for controlled behavior.
|
|
33
|
+
*
|
|
34
|
+
* @param bare If `true`, prevents rendering of value inputs; instead only renders the slider itself.
|
|
35
|
+
* @param className `class` overrides to apply to the component.
|
|
36
|
+
* @param debounceDelay Time in milliseconds to debounce `onChange` events.
|
|
37
|
+
* Set this to `0` for a fully-responsive slider.
|
|
38
|
+
* Note that internal state updates are *not* debounced, so this value does not affect slider responsiveness.
|
|
39
|
+
* @param labeled If `true`, displays labels for `min` and `max` slider endpoints.
|
|
40
|
+
* @param knobLabel If `true`, displays labels above all slider knobs.
|
|
41
|
+
* @param max Maximum slider value
|
|
42
|
+
* @param maxLabel Optional label to display for maximum numeric input.
|
|
43
|
+
* @param min Minimum slider value.
|
|
44
|
+
* @param minLabel Optional label to display for minimum numeric input.
|
|
45
|
+
* @param multi Controls whether the slider supports setting multiple values.
|
|
46
|
+
* If `true`:
|
|
47
|
+
* - The slider will render two draggable knobs; one for a "low" value and one for a "high" value.
|
|
48
|
+
* - `value` must be of the form `[low, high]`.
|
|
49
|
+
* - `onChange` will emit values of the form `[low, high]`.
|
|
50
|
+
* - See {@link MultiValueSlider} as a type-safe alias for this configuration.
|
|
51
|
+
* If `false`:
|
|
52
|
+
* - The slider will render a single draggable knob.
|
|
53
|
+
* - `value` must be a single numeric value.
|
|
54
|
+
* - `onChange` will emit a single numeric value.
|
|
55
|
+
* - See {@link SingleValueSlider} as a type-safe alias for this configuration.
|
|
56
|
+
* @param onChange Callback triggered when values change.
|
|
57
|
+
* This change can be triggered in three ways:
|
|
58
|
+
* - The user modifies the value in the minimum or maximum input field.
|
|
59
|
+
* - The user drags a slider knob.
|
|
60
|
+
* - The user clicks on the slider track.
|
|
61
|
+
* If `multi` is `true`, this callback emits a value of the form `[low, high]`;
|
|
62
|
+
* otherwise, this callback emits a single numeric value.
|
|
63
|
+
* @param step Numeric step size for slider increments.
|
|
64
|
+
* @param value The controlled value of the slider.
|
|
65
|
+
* If `multi` is `true`, this must be of the form `[low, high]`;
|
|
66
|
+
* otherwise, this must be a single numeric value.
|
|
67
|
+
* In all cases, `min <= value <= max`.
|
|
68
|
+
* @param showUnsetHint If `true`, shows a hint to the user to initialize the slider's value.
|
|
69
|
+
* @param props Additional HTML properties to apply to the component.
|
|
70
|
+
*/
|
|
26
71
|
export declare const BaseSlider: FC<SliderProps>;
|
|
72
|
+
/**
|
|
73
|
+
* A slider supporting selection of a single value.
|
|
74
|
+
*
|
|
75
|
+
* See also {@link BaseSlider}.
|
|
76
|
+
* See also {@link MultiValueSlider}.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```tsx
|
|
80
|
+
* const MyComponent = () => {
|
|
81
|
+
* const [value, setValue] = useState<number>(0.5);
|
|
82
|
+
*
|
|
83
|
+
* const onChange = useCallback((newValue: number) => setValue(newValue), [setValue]);
|
|
84
|
+
*
|
|
85
|
+
* return (
|
|
86
|
+
* <SingleValueSlider
|
|
87
|
+
* min={0}
|
|
88
|
+
* max={1}
|
|
89
|
+
* onChange={onChange}
|
|
90
|
+
* value={value}
|
|
91
|
+
* />
|
|
92
|
+
* );
|
|
93
|
+
* };
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* @param onChange Callback triggered when the slider value changes.
|
|
97
|
+
* This change can be triggered in three ways:
|
|
98
|
+
* - The user modifies the value in the minimum or maximum input field.
|
|
99
|
+
* - The user drags a slider knob.
|
|
100
|
+
* - The user clicks on the slider track.
|
|
101
|
+
* @param max Maximum value of the slider
|
|
102
|
+
* @param min Minimum value of the slider
|
|
103
|
+
* @param props See {@link BaseSlider} for all available properties.
|
|
104
|
+
*/
|
|
27
105
|
export declare const SingleValueSlider: FC<SingleValueSliderProps>;
|
|
106
|
+
/**
|
|
107
|
+
* A slider supporting selection of a "low" value and a "high" value.
|
|
108
|
+
*
|
|
109
|
+
* See also {@link BaseSlider}.
|
|
110
|
+
* See also {@link SingleValueSlider}.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* ```tsx
|
|
114
|
+
* const MyComponent = () => {
|
|
115
|
+
* const [value, setValue] = useState<number[]>(() => [0.25, 0.75]);
|
|
116
|
+
*
|
|
117
|
+
* const onChange = useCallback((newValue: number[]) => setValue(newValue), [setValue]);
|
|
118
|
+
*
|
|
119
|
+
* return (
|
|
120
|
+
* <MultiValueSlider
|
|
121
|
+
* min={0}
|
|
122
|
+
* max={1}
|
|
123
|
+
* onChange={onChange}
|
|
124
|
+
* value={value}
|
|
125
|
+
* />
|
|
126
|
+
* );
|
|
127
|
+
* };
|
|
128
|
+
* ```
|
|
129
|
+
*
|
|
130
|
+
* @param onChange Callback triggered when the slider value changes.
|
|
131
|
+
* This change can be triggered in three ways:
|
|
132
|
+
* - The user modifies the value in the minimum or maximum input field.
|
|
133
|
+
* - The user drags a slider knob.
|
|
134
|
+
* - The user clicks on the slider track.
|
|
135
|
+
* @param max Maximum value of the slider
|
|
136
|
+
* @param min Minimum value of the slider
|
|
137
|
+
* @param props See {@link BaseSlider} for all available properties.
|
|
138
|
+
*/
|
|
28
139
|
export declare const MultiValueSlider: FC<MultiValueSliderProps>;
|
|
29
140
|
export {};
|
|
30
141
|
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,EAAE,EACF,cAAc,EACd,SAAS,EAIV,MAAM,OAAO,CAAC;AAYf,KAAK,aAAa,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;AAExD,MAAM,WAAW,WAAY,SAAQ,IAAI,CACvC,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,CACX;IACC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,M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EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAClD,WAAW,EACX,OAAO,GAAG,UAAU,GAAG,OAAO,CAC/B;IACC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAsB,SAAQ,IAAI,CACjD,WAAW,EACX,OAAO,GAAG,UAAU,GAAG,OAAO,CAC/B;IACC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAYD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,WAAW,CA4JtC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAaxD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAatD,CAAC"}
|
|
@@ -7,6 +7,24 @@ interface SliderBarProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"
|
|
|
7
7
|
step: number;
|
|
8
8
|
value?: number | number[];
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Component which renders the bar and knobs to form the basis of a slider.
|
|
12
|
+
*
|
|
13
|
+
* This component operates as both a controlled and uncontrolled component.
|
|
14
|
+
* See `value` and `onChange` for controlled behavior.
|
|
15
|
+
*
|
|
16
|
+
* @param max Maximum allowed value.
|
|
17
|
+
* @param min Minimum allowed value.
|
|
18
|
+
* @param multi If `true`, provides knob controls for both a "low" and a "high value.
|
|
19
|
+
* @param onChange Callback triggered when slider values change.
|
|
20
|
+
* If `multi` is `true`, emits a value of the form [low, high]; otherwise, emits a single value.
|
|
21
|
+
* @param step Step size of the slider; moving a knob will modify the current value by a minimum of this size.
|
|
22
|
+
* @param value Value of the slider.
|
|
23
|
+
* If `multi` is true, this must be a value of the form [low, high]; otherwise, this is a single numeric value.
|
|
24
|
+
* @param props Additional HTML properties to apply to the component.
|
|
25
|
+
*
|
|
26
|
+
* @internal For use by {@link Slider}.
|
|
27
|
+
*/
|
|
10
28
|
export declare const SliderBar: FC<SliderBarProps>;
|
|
11
29
|
export {};
|
|
12
30
|
//# sourceMappingURL=SliderBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliderBar.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/SliderBar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,cAAc,EAAmC,MAAM,OAAO,CAAC;AAQ5E,UAAU,cAAe,SAAQ,IAAI,CACnC,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,CACX;IACC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA+LxC,CAAC"}
|
|
1
|
+
{"version":3,"file":"SliderBar.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/SliderBar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,cAAc,EAAmC,MAAM,OAAO,CAAC;AAQ5E,UAAU,cAAe,SAAQ,IAAI,CACnC,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,CACX;IACC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA+LxC,CAAC"}
|
|
@@ -4,6 +4,18 @@ interface SliderKnobProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
4
4
|
onDragStart: DragEventHandler<HTMLDivElement>;
|
|
5
5
|
value: number;
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* A knob element to overlay on a {@link SliderBar}.
|
|
9
|
+
*
|
|
10
|
+
* The knob allows for user interaction via dragging along the slider's primary axis.
|
|
11
|
+
*
|
|
12
|
+
* @param position The relative position of the knob; this must be a value in the range `[0, 1]`.
|
|
13
|
+
* @param onDragStart Callback triggered on the start of a drag event.
|
|
14
|
+
* @param value Value of the knob; this is expected to be `position * (max - min)` and is only used for accessibility.
|
|
15
|
+
* @param props Additional HTML properties to apply to the component.
|
|
16
|
+
*
|
|
17
|
+
* @internal For use by {@link SliderBar}.
|
|
18
|
+
*/
|
|
7
19
|
export declare const SliderKnob: FC<SliderKnobProps>;
|
|
8
20
|
export {};
|
|
9
21
|
//# sourceMappingURL=SliderKnob.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliderKnob.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/SliderKnob.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK7D,UAAU,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC9D,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwB1C,CAAC"}
|
|
1
|
+
{"version":3,"file":"SliderKnob.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/SliderKnob.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK7D,UAAU,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC9D,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwB1C,CAAC"}
|
|
@@ -8,6 +8,24 @@ interface SliderLabelProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
8
8
|
precision: number;
|
|
9
9
|
value?: number | number[];
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Component which renders relevant labels above a {@link SliderBar}.
|
|
13
|
+
*
|
|
14
|
+
* @param className `class` overrides to apply to the labels' container.
|
|
15
|
+
* @param knobLabel If `true`, displays a label above the current knob position(s).
|
|
16
|
+
* @param max Maximum value of the slider.
|
|
17
|
+
* @param maxLabel If `true`, displays a label above the maximal endpoint of the slider.
|
|
18
|
+
* @param min Minimum value of the slider.
|
|
19
|
+
* @param minLabel if `true`, displays a label above the minimal endpoint of the slider.
|
|
20
|
+
* @param precision Numeric precision to use when rendering labels; label values will be truncated to this precision.
|
|
21
|
+
* See {@link truncate}.
|
|
22
|
+
* @param value Current value of the slider.
|
|
23
|
+
* If the slider supports multiple values, this should be of the form [low, high];
|
|
24
|
+
* otherwise, this is a single numeric value.
|
|
25
|
+
* @param props Additional HTML properties to apply to the component.
|
|
26
|
+
*
|
|
27
|
+
* @internal For use by {@link Slider}.
|
|
28
|
+
*/
|
|
11
29
|
export declare const SliderLabels: FC<SliderLabelProps>;
|
|
12
30
|
export {};
|
|
13
31
|
//# sourceMappingURL=SliderLabels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliderLabels.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/SliderLabels.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAOhD,UAAU,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B;
|
|
1
|
+
{"version":3,"file":"SliderLabels.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/SliderLabels.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAOhD,UAAU,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B;AA4DD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,gBAAgB,CAkD7C,CAAC"}
|
|
@@ -3,5 +3,19 @@ import { Size } from '../../types';
|
|
|
3
3
|
export interface SpinnerProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
size?: Size;
|
|
5
5
|
}
|
|
6
|
+
/**
|
|
7
|
+
* An animated spinner component.
|
|
8
|
+
*
|
|
9
|
+
* Note that this component is also available via the {@link Icon} component with {@link IconName.Spinner}.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <Spinner size={Size.Md} />
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* @param className `class` overrides to apply to the component.
|
|
17
|
+
* @param size Size of the component. See {@link Size}.
|
|
18
|
+
* @param props Additional HTML properties to apply to the component.
|
|
19
|
+
*/
|
|
6
20
|
export declare const Spinner: FC<SpinnerProps>;
|
|
7
21
|
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGhD,OAAO,EAAE,IAAI,EAA6B,MAAM,SAAS,CAAC;AAG1D,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAClE,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGhD,OAAO,EAAE,IAAI,EAA6B,MAAM,SAAS,CAAC;AAG1D,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAClE,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAUD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAepC,CAAC"}
|
|
@@ -1,8 +1,48 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from 'react';
|
|
2
|
-
import { Orientation, Spacing } from '../../types';
|
|
2
|
+
import { Align, Justify, Orientation, Spacing } from '../../types';
|
|
3
3
|
export interface StackProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
align?: Align;
|
|
5
|
+
justify?: Justify;
|
|
4
6
|
orientation?: Orientation;
|
|
5
7
|
spacing?: Spacing;
|
|
6
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* A layout component which organizes children into a vertical or horizontal stack.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <Stack orientation={Orientation.Vertical} spacing={Spacing.Md}>
|
|
15
|
+
* <Text>Top</Text>
|
|
16
|
+
* <Text>Middle</Text>
|
|
17
|
+
* <Text>Bottom</Text>
|
|
18
|
+
* </Stack>
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* <Stack orientation={Orientation.Horizontal} spacing={Spacing.Md}>
|
|
24
|
+
* <Text>Left</Text>
|
|
25
|
+
* <Text>Middle</Text>
|
|
26
|
+
* <Text>Right</Text>
|
|
27
|
+
* </Stack>
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <Stack orientation={Orientation.Horizontal} align={Align.Center} justify={Justify.Between}>
|
|
33
|
+
* <Text>Left</Text>
|
|
34
|
+
* <Text>Middle</Text>
|
|
35
|
+
* <Text>Right</Text>
|
|
36
|
+
* </Stack>
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @param align Alignment of children along the stack's cross axis. See {@link Align}.
|
|
40
|
+
* @param justify Justification of children along the stack's primary axis. See {@link Justify}.
|
|
41
|
+
* @param orientation Orientation of the stack. See {@link Orientation}.
|
|
42
|
+
* @param spacing Spacing between child components in the stack. See {@link Spacing}.
|
|
43
|
+
* @param children Content which is wrapped by this component.
|
|
44
|
+
* @param className `class` overrides to apply to the component.
|
|
45
|
+
* @param props Additional HTML properties to apply to the component.
|
|
46
|
+
*/
|
|
7
47
|
export declare const Stack: FC<StackProps>;
|
|
8
48
|
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAG/
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/components/Stack/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAG/D,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA2BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAwBhC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC, HTMLAttributes } from 'react';
|
|
2
|
+
export declare const Table: FC<HTMLAttributes<HTMLTableElement>>;
|
|
3
|
+
export declare const TableRow: FC<HTMLAttributes<HTMLTableRowElement>>;
|
|
4
|
+
export declare const TableHeader: FC<HTMLAttributes<HTMLTableSectionElement>>;
|
|
5
|
+
export declare const TableBody: FC<HTMLAttributes<HTMLTableSectionElement>>;
|
|
6
|
+
export declare const TableCell: FC<HTMLAttributes<HTMLTableCellElement>>;
|
|
7
|
+
export declare const TableHead: FC<HTMLAttributes<HTMLTableCellElement>>;
|
|
8
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAgBhD,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAkBtD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAiB5D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAiBnE,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAKjE,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAkB9D,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAkB9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from 'react';
|
|
2
2
|
import { IconColor, TextColor, TextVariant } from '../../types';
|
|
3
|
+
import { BrandColor } from '../../types/color';
|
|
3
4
|
export interface TextProps extends HTMLAttributes<HTMLSpanElement> {
|
|
4
5
|
variant?: TextVariant;
|
|
5
|
-
color?: TextColor | IconColor;
|
|
6
|
+
color?: TextColor | IconColor | BrandColor;
|
|
6
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* A basic text component.
|
|
10
|
+
*
|
|
11
|
+
* All text in the app should be wrapped in this component to ensure compatibility with theme changes.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* <Text>
|
|
16
|
+
* Some text
|
|
17
|
+
* </Text>
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* @param variant The variant of the text; this controls the size and related styling of the text. See {@link Variant}.
|
|
21
|
+
* @param color The color of the text. See {@link TextColor}.
|
|
22
|
+
* @param children The content wrapped by this component.
|
|
23
|
+
* @param className `class` overrides to apply to the component.
|
|
24
|
+
* @param props Additional HTML properties to apply to the component.
|
|
25
|
+
*/
|
|
7
26
|
export declare const Text: FC<TextProps>;
|
|
8
27
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGhD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGhD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAkB,MAAM,eAAe,CAAC;AAE3D,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,eAAe,CAAC;IAChE,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;CAC5C;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAe9B,CAAC"}
|
|
@@ -1,12 +1,50 @@
|
|
|
1
1
|
import { FC, TextareaHTMLAttributes } from 'react';
|
|
2
2
|
import { Radius, Size } from '../../types';
|
|
3
|
+
export declare enum ResizeBehavior {
|
|
4
|
+
None = "None",
|
|
5
|
+
Vertical = "Vertical",
|
|
6
|
+
Horizontal = "Horizontal",
|
|
7
|
+
BiDirectional = "BiDirectional"
|
|
8
|
+
}
|
|
3
9
|
export interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
4
10
|
size?: Size;
|
|
5
11
|
radius?: Radius;
|
|
6
12
|
className?: string;
|
|
7
13
|
containerClassName?: string;
|
|
8
14
|
error?: boolean;
|
|
9
|
-
resize?:
|
|
15
|
+
resize?: ResizeBehavior;
|
|
10
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* A textarea component.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* const MyComponent = () => {
|
|
23
|
+
* const [value, setValue] = useState<string>("");
|
|
24
|
+
*
|
|
25
|
+
* const onChange = useCallback((newValue: string) => setValue(newValue), [setValue]);
|
|
26
|
+
*
|
|
27
|
+
* return (
|
|
28
|
+
* <TextArea
|
|
29
|
+
* onChange={onChange}
|
|
30
|
+
* resize={ResizeBehavior.None}
|
|
31
|
+
* rows={10}
|
|
32
|
+
* value={value}
|
|
33
|
+
* />
|
|
34
|
+
* );
|
|
35
|
+
* };
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @param size The size of the textarea; this controls the size of the text itself and container padding.
|
|
39
|
+
* See {@link Size}.
|
|
40
|
+
* @param radius The border radius to apply to the textarea. See {@link Radius}.
|
|
41
|
+
* @param error If `true`, renders the textarea in an error state.
|
|
42
|
+
* @param resize Resize behavior. See {@link ResizeBehavior}.
|
|
43
|
+
* @param rows The number of text rows to display in the textarea.
|
|
44
|
+
* @param className `class` overrides to apply to the component.
|
|
45
|
+
* @param containerClassName `class` overrides to apply to the component's container.
|
|
46
|
+
* @param disabled If `true`, disables the textarea.
|
|
47
|
+
* @param props Additional HTML properties to apply to the component.
|
|
48
|
+
*/
|
|
11
49
|
export declare const TextArea: FC<TextAreaProps>;
|
|
12
50
|
//# sourceMappingURL=TextArea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAGvC,MAAM,WAAW,aAAc,SAAQ,sBAAsB,CAAC,mBAAmB,CAAC;IAChF,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAGvC,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,aAAa,kBAAkB;CAChC;AAED,MAAM,WAAW,aAAc,SAAQ,sBAAsB,CAAC,mBAAmB,CAAC;IAChF,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAiBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAkDtC,CAAC"}
|
|
@@ -3,5 +3,21 @@ import { IconColor, TextColor } from '../../types';
|
|
|
3
3
|
export interface TextBadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
4
4
|
color?: TextColor | IconColor;
|
|
5
5
|
}
|
|
6
|
+
/**
|
|
7
|
+
* A simple badge-like component for displaying text in an opinionated way.
|
|
8
|
+
*
|
|
9
|
+
* This component is an alias for {@link Text} with {@link TextVariant.Label}.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <TextBadge color={TextColor.Success}>
|
|
14
|
+
* completed
|
|
15
|
+
* </TextBadge>
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* @param color Color of the content. See {@link Color}.
|
|
19
|
+
* @param children Content wrapped by this component.
|
|
20
|
+
* @param props Additional HTML properties to apply to the component.
|
|
21
|
+
*/
|
|
6
22
|
export declare const TextBadge: FC<TextBadgeProps>;
|
|
7
23
|
//# sourceMappingURL=TextBadge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextBadge.d.ts","sourceRoot":"","sources":["../../../src/components/TextBadge/TextBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGhD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAe,MAAM,SAAS,CAAC;AAE5D,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,eAAe,CAAC;IACrE,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CAC/B;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAQxC,CAAC"}
|
|
1
|
+
{"version":3,"file":"TextBadge.d.ts","sourceRoot":"","sources":["../../../src/components/TextBadge/TextBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGhD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAe,MAAM,SAAS,CAAC;AAE5D,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,eAAe,CAAC;IACrE,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CAC/B;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAQxC,CAAC"}
|
|
@@ -1,15 +1,52 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import { Anchor, Variant } from '../../types';
|
|
2
|
+
import { Anchor, IconName, Variant } from '../../types';
|
|
3
3
|
type ToastVariant = Exclude<Variant, Variant.Borderless>;
|
|
4
4
|
export interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
5
5
|
action?: ReactNode;
|
|
6
6
|
anchor?: Anchor;
|
|
7
7
|
description?: ReactNode;
|
|
8
|
-
icon?: FC;
|
|
8
|
+
icon?: FC | IconName;
|
|
9
9
|
open?: boolean;
|
|
10
10
|
title?: ReactNode;
|
|
11
11
|
variant?: ToastVariant;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* A toast component with opinionated slots for content.
|
|
15
|
+
*
|
|
16
|
+
* See also {@link ActivityToast}.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* const MyComponent = () => {
|
|
21
|
+
* const [open, setOpen] = useState<boolean>(true);
|
|
22
|
+
*
|
|
23
|
+
* return (
|
|
24
|
+
* <Toast
|
|
25
|
+
* open={open}
|
|
26
|
+
* title="Message sent"
|
|
27
|
+
* description="You will be notified when the recipient opens your message"
|
|
28
|
+
* icon={IconName.Check}
|
|
29
|
+
* action={
|
|
30
|
+
* <Button onClick={() => setOpen(false)}>
|
|
31
|
+
* Close
|
|
32
|
+
* </Button>
|
|
33
|
+
* }
|
|
34
|
+
* variant={Variant.Success}
|
|
35
|
+
* />
|
|
36
|
+
* );
|
|
37
|
+
* };
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @param action Optional content to display in the "action" slot; this is typically something like a button/CTA.
|
|
41
|
+
* @param anchor The location in the viewport to anchor the toast. See {@link Anchor}.
|
|
42
|
+
* @param className `class` overrides to apply to the component.
|
|
43
|
+
* @param description Optional content to display in the "description" slot; this should be considered secondary content.
|
|
44
|
+
* @param icon An optional reference ({@link FC}) to an icon or an {@link IconName} to display in the "icon" slot.
|
|
45
|
+
* @param open If `true`, the toast will be visible; otherwise it will be hidden.
|
|
46
|
+
* @param title Optional content to display in the "title" slot; this should be considered the primary content.
|
|
47
|
+
* @param variant The variant of the toast; this controls icon styling. See {@link Variant}.
|
|
48
|
+
* @param props Additional HTML properties to apply to the component.
|
|
49
|
+
*/
|
|
13
50
|
export declare const Toast: FC<ToastProps>;
|
|
14
51
|
export {};
|
|
15
52
|
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQ3D,OAAO,EAEL,MAAM,EAIN,QAAQ,EAOR,OAAO,EACR,MAAM,SAAS,CAAC;AAGjB,KAAK,YAAY,GAAG,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;AAEzD,MAAM,WAAW,UAAW,SAAQ,IAAI,CACtC,cAAc,CAAC,cAAc,CAAC,EAC9B,OAAO,CACR;IACC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAUD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CA0ChC,CAAC"}
|
|
@@ -4,5 +4,13 @@ export interface ToastContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
4
4
|
anchor?: Anchor;
|
|
5
5
|
open?: boolean;
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* A layout component which acts as a container for toast-like components.
|
|
9
|
+
*
|
|
10
|
+
* @param anchor The location in the viewport to anchor the toast. See {@link Anchor}.
|
|
11
|
+
* @param children Content wrapped by this component.
|
|
12
|
+
* @param open If `true`, this component and its children will be rendered; otherwise it will be hidden.
|
|
13
|
+
* @param props Additional HTML properties to apply to the component.
|
|
14
|
+
*/
|
|
7
15
|
export declare const ToastContainer: FC<ToastContainerProps>;
|
|
8
16
|
//# sourceMappingURL=ToastContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastContainer.d.ts","sourceRoot":"","sources":["../../../src/components/ToastContainer/ToastContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAaD,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAalD,CAAC"}
|
|
1
|
+
{"version":3,"file":"ToastContainer.d.ts","sourceRoot":"","sources":["../../../src/components/ToastContainer/ToastContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAaD;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAalD,CAAC"}
|
|
@@ -12,6 +12,38 @@ export interface ToggleProps extends ModifiedToggleProps {
|
|
|
12
12
|
labelClassName?: string;
|
|
13
13
|
showUnsetHint?: boolean;
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* A component supporting a boolean toggle.
|
|
17
|
+
*
|
|
18
|
+
* This component operates exclusively as a controlled component. See `value` and `onChange` for controlled behavior.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* const MyComponent = () => {
|
|
23
|
+
* const [enabled, setEnabled] = useState<boolean>(false);
|
|
24
|
+
*
|
|
25
|
+
* const onChange = useCallback((status: boolean) => setEnabled(status), [setEnabled]);
|
|
26
|
+
*
|
|
27
|
+
* return (
|
|
28
|
+
* <Toggle
|
|
29
|
+
* checked={enabled}
|
|
30
|
+
* onChange={onChange}
|
|
31
|
+
* label="Run with debug enabled"
|
|
32
|
+
* />
|
|
33
|
+
* );
|
|
34
|
+
* };
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @param checked If `true`, renders the toggle in the "active" state.
|
|
38
|
+
* @param disabled If `true`, disables the toggle.
|
|
39
|
+
* @param onChange Callback triggered when the toggle value changes.
|
|
40
|
+
* @param size Size of the toggle. See {@link Size}.
|
|
41
|
+
* @param className `class` overrides to apply to the component.
|
|
42
|
+
* @param labelClassName `class` overrides to apply to the toggle's label.
|
|
43
|
+
* @param label Optional label for the toggle.
|
|
44
|
+
* @param showUnsetHint If `true`, displays a hint to the user to initialize the toggle's value.
|
|
45
|
+
* @param props Additional HTML properties to apply to the component.
|
|
46
|
+
*/
|
|
15
47
|
export declare const Toggle: FC<ToggleProps>;
|
|
16
48
|
export {};
|
|
17
49
|
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAKtD,OAAO,EAML,IAAI,EAIL,MAAM,SAAS,CAAC;AAGjB,KAAK,mBAAmB,GAAG,IAAI,CAC7B,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,OAAO,CACrE,CAAC;AAEF,KAAK,UAAU,GAAG,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC,CA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AAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAqCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAkFlC,CAAC"}
|
|
@@ -10,7 +10,7 @@ export declare enum ToggleSwitchVariant {
|
|
|
10
10
|
Full = "full",
|
|
11
11
|
Borderless = "borderless"
|
|
12
12
|
}
|
|
13
|
-
export type ToggleSwitchSize = Exclude<Size, Size.Lg>;
|
|
13
|
+
export type ToggleSwitchSize = Exclude<Size, Size.Lg | Size.Xl>;
|
|
14
14
|
export interface ToggleSwitchProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "onChange"> {
|
|
15
15
|
variant?: ToggleSwitchVariant;
|
|
16
16
|
tabs: Descriptor<ToggleSwitchTab>[];
|
|
@@ -21,5 +21,50 @@ export interface ToggleSwitchProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
|
21
21
|
tabPanelClassName?: string;
|
|
22
22
|
fullWidth?: boolean;
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* A component which supports rendering a tabbed content container.
|
|
26
|
+
*
|
|
27
|
+
* This component enforces mutual exclusivity in active tabs, and only the content for the active tab is visible.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* const MyComponent = () => {
|
|
32
|
+
* const tabs: Descriptor<ToggleSwitchTab>[] = useMemo(() => [
|
|
33
|
+
* {id: "1", data: {label: "Tab 1", content: "Tab 1 content"}}
|
|
34
|
+
* {id: "2", data: {label: "Tab 2", content: "Tab 2 content"}}
|
|
35
|
+
* {id: "3", data: {label: "Tab 3", content: "Tab 3 content"}}
|
|
36
|
+
* ],
|
|
37
|
+
* []
|
|
38
|
+
* );
|
|
39
|
+
*
|
|
40
|
+
* return (
|
|
41
|
+
* <ToggleSwitch
|
|
42
|
+
* tabs={tabs}
|
|
43
|
+
* defaultIndex={0}
|
|
44
|
+
* onChange={(activeIndex: number) => console.log(`Switched to tab index ${activeIndex}`)}
|
|
45
|
+
* />
|
|
46
|
+
* );
|
|
47
|
+
* };
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param tabs List of component descriptors which will be used to create {@link ToggleSwitchTab} children.
|
|
51
|
+
* @param variant Variant of the tabs.
|
|
52
|
+
* The variants have the following behaviors:
|
|
53
|
+
* - {@link ToggleSwitchVariant.Default} - tabs are bordered and have visible boundaries;
|
|
54
|
+
* the active tab has a distinct background from inactive tabs.
|
|
55
|
+
* - {@link ToggleSwitchVariant.Soft} - tabs are not bordered;
|
|
56
|
+
* the active tab has a distinct background and is highlighted in an accent color.
|
|
57
|
+
* - {@link ToggleSwitchVariant.Full} - similar to {@link ToggleSwitchVariant.Default} and expands to fill
|
|
58
|
+
* its container.
|
|
59
|
+
* - {@link ToggleSwitchVariant.Borderless} - tabs are not bordered; the active tab has a bottom border.
|
|
60
|
+
* See {@link ToggleSwitchVariant}.
|
|
61
|
+
* @param defaultIndex The index of the tab which should be considered active when the component first renders.
|
|
62
|
+
* @param onChange Callback triggered when the active tab changes.
|
|
63
|
+
* @param size Size of the tabs; this controls the text size and padding. See {@link Size}.
|
|
64
|
+
* @param fullWidth If `true`, the tab group will fill the width of their container.
|
|
65
|
+
* @param tabListClassName `class` overrides to apply to the tabs.
|
|
66
|
+
* @param tabPanelClassName `class` overrides to apply to the active content container.
|
|
67
|
+
* @param props Additional HTML properties to apply to the tab group.
|
|
68
|
+
*/
|
|
24
69
|
export declare const ToggleSwitch: FC<ToggleSwitchProps>;
|
|
25
70
|
//# sourceMappingURL=ToggleSwitch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleSwitch.d.ts","sourceRoot":"","sources":["../../../src/components/ToggleSwitch/ToggleSwitch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3D,OAAO,EA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