@voxel51/voodo 0.0.20 → 0.0.22
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/README.md +12 -0
- 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 +66 -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 +5448 -5055
- 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 +5 -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
|
@@ -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,CAAC;AAEnD,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAqCD,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAkFlC,CAAC"}
|
|
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,CAAC;AAEnD,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,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,EAML,UAAU,EAEV,IAAI,EAIL,MAAM,SAAS,CAAC;AAGjB,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,SAAS,CAAC;CACpB;AAED,oBAAY,mBAAmB;IAC7B,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,UAAU,eAAe;CAC1B;AAED,MAAM,MAAM,g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face TooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, "cont
|
|
|
8
8
|
/** Elevation / drop shadow. Use Shadow.Xs through Shadow.Xl. */
|
|
9
9
|
shadow?: Shadow;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* A tooltip which appears when hovering over the wrapped content.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <Tooltip content={<Text>Tooltip content goes here</Text>}>
|
|
17
|
+
* <Text>Hover this text to see the tooltip</Text>
|
|
18
|
+
* </Tooltip>
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @param anchor Position to anchor the tooltip relative to its content. See {@link Anchor}.
|
|
22
|
+
* @param content The content of the tooltip.
|
|
23
|
+
* @param children The content which this component wraps; this acts as the element anchor and the hover trigger.
|
|
24
|
+
* @param className `class` overrides to apply to the component.
|
|
25
|
+
* @param portal If `true`, applies a high z-index to ensure visibility in stacked contexts.
|
|
26
|
+
* @param shadow The shadow to apply to the tooltip. See {@link Shadow}.
|
|
27
|
+
* @param props Additional HTML properties to apply to the component.
|
|
28
|
+
*/
|
|
11
29
|
export declare const Tooltip: FC<TooltipProps>;
|
|
12
30
|
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAE,MAAM,EAAyC,MAAM,EAAE,MAAM,SAAS,CAAC;AAGhF,MAAM,MAAM,aAAa,GAAG,OAAO,CACjC,MAAM,EACN,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CACxD,CAAC;AAEF,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,cAAc,CAAC,cAAc,CAAC,EAC9B,SAAS,CACV;IACC,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA8BD,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CA4CpC,CAAC"}
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAE,MAAM,EAAyC,MAAM,EAAE,MAAM,SAAS,CAAC;AAGhF,MAAM,MAAM,aAAa,GAAG,OAAO,CACjC,MAAM,EACN,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CACxD,CAAC;AAEF,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,cAAc,CAAC,cAAc,CAAC,EAC9B,SAAS,CACV;IACC,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA8BD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CA4CpC,CAAC"}
|
|
@@ -4,5 +4,18 @@ export interface UnsetHintProps extends TextProps {
|
|
|
4
4
|
value?: unknown;
|
|
5
5
|
hint: string;
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* A basic hint to display to the user.
|
|
9
|
+
*
|
|
10
|
+
* This is an alias for {@link Text} with {@link TextVariant.Xxs}.
|
|
11
|
+
*
|
|
12
|
+
* @param value A value used to determine whether to display the hint.
|
|
13
|
+
* If this value is nullish, then the hint is shown.
|
|
14
|
+
* See {@link isNullish}.
|
|
15
|
+
* @param hint The hint to display when `value` is nullish.
|
|
16
|
+
* @param props Additional HTML properties to apply to the component.
|
|
17
|
+
*
|
|
18
|
+
* @internal For use by VOODO form controls.
|
|
19
|
+
*/
|
|
7
20
|
export declare const UnsetHint: FC<UnsetHintProps>;
|
|
8
21
|
//# sourceMappingURL=UnsetHint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnsetHint.d.ts","sourceRoot":"","sources":["../../../src/components/UnsetHint/UnsetHint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAQ,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAIpD,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAQxC,CAAC"}
|
|
1
|
+
{"version":3,"file":"UnsetHint.d.ts","sourceRoot":"","sources":["../../../src/components/UnsetHint/UnsetHint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAQ,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAIpD,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAQxC,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from './ActivityToast';
|
|
2
2
|
export * from './Button';
|
|
3
|
+
export * from './Card';
|
|
3
4
|
export * from './Checkbox';
|
|
4
5
|
export * from './Clickable';
|
|
5
6
|
export * from './Datepicker';
|
|
7
|
+
export * from './Divider';
|
|
8
|
+
export * from './EmptyState';
|
|
6
9
|
export * from './FormField';
|
|
7
10
|
export * from './FormFieldGroup';
|
|
8
11
|
export * from './Heading';
|
|
@@ -18,6 +21,7 @@ export * from './Select';
|
|
|
18
21
|
export * from './Slider';
|
|
19
22
|
export * from './Spinner';
|
|
20
23
|
export * from './Stack';
|
|
24
|
+
export * from './Table';
|
|
21
25
|
export * from './Text';
|
|
22
26
|
export * from './TextArea';
|
|
23
27
|
export * from './TextBadge';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":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