@voxel51/voodo 1.4.0-dev.0 → 2.1.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/bin/voodo.mjs +127 -0
- package/dist/cli/reference.d.ts +79 -0
- package/dist/cli/reference.d.ts.map +1 -0
- package/dist/cli.cjs +11 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +167 -0
- package/dist/cli.js.map +1 -0
- package/dist/components/ActivityToast/ActivityToast.d.ts +1 -1
- package/dist/components/ActivityToast/ActivityToast.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +5 -3
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts +3 -3
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/RichCard.d.ts +3 -1
- package/dist/components/Card/RichCard.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Clickable/Clickable.d.ts +1 -1
- package/dist/components/Combobox/Combobox.d.ts +3 -3
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.d.ts +1 -1
- package/dist/components/Datepicker/DatePicker.d.ts +1 -1
- package/dist/components/Datepicker/DatepickerIconButton.d.ts.map +1 -1
- package/dist/components/Datepicker/DatepickerInput.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +21 -14
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts +37 -0
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.d.ts +3 -3
- package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownTrigger.d.ts +2 -2
- package/dist/components/Dropzone/Dropzone.d.ts +34 -0
- package/dist/components/Dropzone/Dropzone.d.ts.map +1 -0
- package/dist/components/Dropzone/index.d.ts +2 -0
- package/dist/components/Dropzone/index.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +11 -4
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/components/FormField/FormField.d.ts +4 -2
- package/dist/components/FormField/FormField.d.ts.map +1 -1
- package/dist/components/FormFieldGroup/FormFieldGroup.d.ts +4 -19
- package/dist/components/FormFieldGroup/FormFieldGroup.d.ts.map +1 -1
- package/dist/components/Heading/Heading.d.ts +1 -1
- package/dist/components/Heading/Heading.d.ts.map +1 -1
- package/dist/components/IconAction/IconAction.d.ts +26 -0
- package/dist/components/IconAction/IconAction.d.ts.map +1 -0
- package/dist/components/IconAction/index.d.ts +2 -0
- package/dist/components/IconAction/index.d.ts.map +1 -0
- package/dist/components/Icons/Icon.d.ts +4 -3
- package/dist/components/Icons/Icon.d.ts.map +1 -1
- package/dist/components/Icons/IconBase.d.ts +2 -0
- package/dist/components/Icons/IconBase.d.ts.map +1 -1
- package/dist/components/Icons/IconWrapper.d.ts +3 -1
- package/dist/components/Icons/IconWrapper.d.ts.map +1 -1
- package/dist/components/Icons/Spinner.d.ts.map +1 -1
- package/dist/components/Icons/icons.d.ts +9 -1
- package/dist/components/Icons/icons.d.ts.map +1 -1
- package/dist/components/ImageList/ImageList.d.ts +4 -4
- package/dist/components/ImageList/ImageList.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +14 -19
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/InputIcon.d.ts +1 -1
- package/dist/components/Input/InputIcon.d.ts.map +1 -1
- package/dist/components/Input/styles.d.ts +11 -12
- package/dist/components/Input/styles.d.ts.map +1 -1
- package/dist/components/ListItem/ListItem.d.ts +2 -2
- package/dist/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/components/LoadingDots/LoadingDots.d.ts +1 -1
- package/dist/components/Menu/MenuCheckItem.d.ts.map +1 -1
- package/dist/components/Menu/MenuIconTextItem.d.ts +4 -4
- package/dist/components/Menu/MenuIconTextItem.d.ts.map +1 -1
- package/dist/components/Menu/MenuSectionTitle.d.ts.map +1 -1
- package/dist/components/Menu/MenuTextItem.d.ts +3 -3
- package/dist/components/Menu/MenuTextItem.d.ts.map +1 -1
- package/dist/components/Menu/styles.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts +17 -9
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Pill/Pill.d.ts +5 -4
- package/dist/components/Pill/Pill.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +5 -5
- package/dist/components/Popover/styles.d.ts.map +1 -1
- package/dist/components/Progress/Progress.d.ts +8 -11
- package/dist/components/Progress/Progress.d.ts.map +1 -1
- package/dist/components/Radio/Radio.d.ts +15 -3
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.d.ts +4 -4
- package/dist/components/Radio/RadioGroup.d.ts.map +1 -1
- package/dist/components/RichButton/RichButton.d.ts +2 -0
- package/dist/components/RichButton/RichButton.d.ts.map +1 -1
- package/dist/components/RichList/RichList.d.ts +14 -13
- package/dist/components/RichList/RichList.d.ts.map +1 -1
- package/dist/components/Select/Option.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +17 -7
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Sheet/Sheet.d.ts +9 -4
- package/dist/components/Sheet/Sheet.d.ts.map +1 -1
- package/dist/components/Slider/Slider.d.ts +15 -1
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Slider/SliderBar.d.ts +1 -1
- package/dist/components/Slider/SliderKnob.d.ts +1 -1
- package/dist/components/Slider/SliderLabels.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Stack/Stack.d.ts +3 -3
- package/dist/components/StepRail/StepRail.d.ts +36 -0
- package/dist/components/StepRail/StepRail.d.ts.map +1 -0
- package/dist/components/StepRail/index.d.ts +2 -0
- package/dist/components/StepRail/index.d.ts.map +1 -0
- package/dist/components/Table/Table.d.ts +82 -0
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Tabs/Tab.d.ts +3 -0
- package/dist/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/components/Text/Text.d.ts +7 -3
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/TextAction/TextAction.d.ts +29 -0
- package/dist/components/TextAction/TextAction.d.ts.map +1 -0
- package/dist/components/TextAction/index.d.ts +2 -0
- package/dist/components/TextAction/index.d.ts.map +1 -0
- package/dist/components/TextArea/TextArea.d.ts +7 -3
- package/dist/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/TextBadge/TextBadge.d.ts +3 -3
- package/dist/components/TextBadge/TextBadge.d.ts.map +1 -1
- package/dist/components/Toast/Toast.d.ts +7 -5
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/ToastContainer/ToastContainer.d.ts +9 -1
- package/dist/components/ToastContainer/ToastContainer.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.d.ts +2 -2
- package/dist/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +12 -11
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
- package/dist/components/Toolbar/Toolbar.d.ts +14 -14
- package/dist/components/Toolbar/Toolbar.d.ts.map +1 -1
- package/dist/components/Toolbar/ToolbarGroup.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tree/TreeSelect.d.ts +1 -1
- package/dist/components/Tree/types.d.ts +2 -0
- package/dist/components/Tree/types.d.ts.map +1 -1
- package/dist/components/UnsetHint/UnsetHint.d.ts +2 -1
- package/dist/components/UnsetHint/UnsetHint.d.ts.map +1 -1
- package/dist/components/UploadList/UploadList.d.ts +36 -0
- package/dist/components/UploadList/UploadList.d.ts.map +1 -0
- package/dist/components/UploadList/index.d.ts +2 -0
- package/dist/components/UploadList/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +5 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4915 -4257
- package/dist/index.js.map +1 -1
- package/dist/palette-Boxwxq4V.js +723 -0
- package/dist/palette-Boxwxq4V.js.map +1 -0
- package/dist/palette-DV12yAPS.cjs +2 -0
- package/dist/palette-DV12yAPS.cjs.map +1 -0
- package/dist/styles/color-classes.d.ts +1 -1
- package/dist/styles/color-classes.d.ts.map +1 -1
- package/dist/styles/text.d.ts +6 -0
- package/dist/styles/text.d.ts.map +1 -1
- package/dist/theme/cssVar.d.ts +128 -105
- package/dist/theme/cssVar.d.ts.map +1 -1
- package/dist/theme/mui.d.ts +15 -15
- package/dist/theme/mui.d.ts.map +1 -1
- package/dist/theme/tokens/colors.d.ts +297 -227
- package/dist/theme/tokens/colors.d.ts.map +1 -1
- package/dist/theme/tokens/gradients.d.ts +6 -0
- package/dist/theme/tokens/gradients.d.ts.map +1 -0
- package/dist/theme/tokens/index.d.ts +350 -220
- package/dist/theme/tokens/index.d.ts.map +1 -1
- package/dist/theme/tokens/palette.d.ts +64 -5
- package/dist/theme/tokens/palette.d.ts.map +1 -1
- package/dist/theme/tokens/spacing.d.ts +48 -0
- package/dist/theme/tokens/spacing.d.ts.map +1 -1
- package/dist/theme/tokens/typography.d.ts +203 -5
- package/dist/theme/tokens/typography.d.ts.map +1 -1
- package/dist/theme/useColorPalette.d.ts +16 -10
- package/dist/theme/useColorPalette.d.ts.map +1 -1
- package/dist/tokens.cjs +1 -1
- package/dist/tokens.cjs.map +1 -1
- package/dist/tokens.js +23 -38
- package/dist/tokens.js.map +1 -1
- package/dist/types/color.d.ts +272 -237
- package/dist/types/color.d.ts.map +1 -1
- package/dist/types/text.d.ts +43 -4
- package/dist/types/text.d.ts.map +1 -1
- package/dist/types/variant.d.ts +2 -0
- package/dist/types/variant.d.ts.map +1 -1
- package/dist/util/classes.d.ts.map +1 -1
- package/dist/util/formatBytes.d.ts +14 -0
- package/dist/util/formatBytes.d.ts.map +1 -0
- package/dist/voodo.css +1 -1
- package/package.json +13 -2
- package/dist/components/CodeBlock/CodeBlock.d.ts +0 -32
- package/dist/components/CodeBlock/CodeBlock.d.ts.map +0 -1
- package/dist/components/CodeBlock/index.d.ts +0 -2
- package/dist/components/CodeBlock/index.d.ts.map +0 -1
- package/dist/components/LoadingScreen/LoadingScreen.d.ts +0 -28
- package/dist/components/LoadingScreen/LoadingScreen.d.ts.map +0 -1
- package/dist/components/LoadingScreen/index.d.ts +0 -2
- package/dist/components/LoadingScreen/index.d.ts.map +0 -1
- package/dist/palette-B91vdbSd.js +0 -479
- package/dist/palette-B91vdbSd.js.map +0 -1
- package/dist/palette-dgN5vIc-.cjs +0 -2
- package/dist/palette-dgN5vIc-.cjs.map +0 -1
|
@@ -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;
|
|
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;AAKxD,OAAO,EAOL,IAAI,EAIL,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,cAAc;;;;;CAKjB,CAAC;AACX,MAAM,MAAM,cAAc,GACxB,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,EAAE,CAAC;AAE5D,yBAAiB,cAAc,CAAC;IAC9B,KAAY,IAAI,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC;IAC9C,KAAY,QAAQ,GAAG,OAAO,cAAc,CAAC,QAAQ,CAAC;IACtD,KAAY,UAAU,GAAG,OAAO,cAAc,CAAC,UAAU,CAAC;IAC1D,KAAY,aAAa,GAAG,OAAO,cAAc,CAAC,aAAa,CAAC;CACjE;AAED,MAAM,WAAW,aAAc,SAAQ,sBAAsB,CAAC,mBAAmB,CAAC;IAChF,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AA0BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAqDtC,CAAC"}
|
|
@@ -6,16 +6,16 @@ export interface TextBadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
6
6
|
/**
|
|
7
7
|
* A simple badge-like component for displaying text in an opinionated way.
|
|
8
8
|
*
|
|
9
|
-
* This component is an alias for {@link Text} with
|
|
9
|
+
* This component is an alias for {@link Text} with the `"label"` variant.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```tsx
|
|
13
|
-
* <TextBadge color=
|
|
13
|
+
* <TextBadge color="text-success">
|
|
14
14
|
* completed
|
|
15
15
|
* </TextBadge>
|
|
16
16
|
* ```
|
|
17
17
|
*
|
|
18
|
-
* @param color Color of the content
|
|
18
|
+
* @param color Color of the content: a {@link TextColor} or {@link IconColor} token. Defaults to `"text-accent"`.
|
|
19
19
|
* @param children Content wrapped by this component.
|
|
20
20
|
* @param props Additional HTML properties to apply to the component.
|
|
21
21
|
*/
|
|
@@ -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;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,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,CASxC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { IconInput } from '../Icons';
|
|
3
3
|
import { Anchor, Variant } from '../../types';
|
|
4
|
-
type ToastVariant = `${Exclude<Variant, Variant.Borderless>}`;
|
|
4
|
+
type ToastVariant = `${Exclude<Variant, Variant.Borderless | Variant.Expressive>}`;
|
|
5
5
|
export interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
6
6
|
action?: ReactNode;
|
|
7
7
|
anchor?: Anchor;
|
|
@@ -10,6 +10,7 @@ export interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"
|
|
|
10
10
|
icon?: IconInput;
|
|
11
11
|
onClose?: () => void;
|
|
12
12
|
open?: boolean;
|
|
13
|
+
solid?: boolean;
|
|
13
14
|
title?: ReactNode;
|
|
14
15
|
variant?: ToastVariant;
|
|
15
16
|
}
|
|
@@ -30,19 +31,19 @@ export interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"
|
|
|
30
31
|
* description="You will be notified when the recipient opens your message"
|
|
31
32
|
* icon={CheckIcon}
|
|
32
33
|
* action={
|
|
33
|
-
* <Button variant=
|
|
34
|
+
* <Button variant="secondary" onClick={() => setOpen(false)}>
|
|
34
35
|
* Undo
|
|
35
36
|
* </Button>
|
|
36
37
|
* }
|
|
37
38
|
* onClose={() => setOpen(false)}
|
|
38
|
-
* variant=
|
|
39
|
+
* variant="success"
|
|
39
40
|
* />
|
|
40
41
|
* );
|
|
41
42
|
* };
|
|
42
43
|
* ```
|
|
43
44
|
*
|
|
44
45
|
* @param action Optional content to display in the "action" slot; this is typically a {@link Button}/CTA.
|
|
45
|
-
* @param anchor The location in the viewport to anchor the toast. See {@link Anchor}.
|
|
46
|
+
* @param anchor The location in the viewport to anchor the toast; ignored inside a {@link ToastContainer}. Defaults to `"bottom"`. See {@link Anchor}.
|
|
46
47
|
* @param className `class` overrides to apply to the component.
|
|
47
48
|
* @param description Optional content to display in the "description" slot; this should be considered secondary content.
|
|
48
49
|
* @param duration How long, in milliseconds, the toast shows itself before calling `onClose`. Omit it and the
|
|
@@ -51,9 +52,10 @@ export interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"
|
|
|
51
52
|
* @param icon An optional icon component to display in the "icon" slot.
|
|
52
53
|
* @param onClose Optional handler invoked when the close/dismiss control is activated. If provided, a close
|
|
53
54
|
* control is rendered in the toast.
|
|
55
|
+
* @param solid If `true`, a success or danger toast fills with its action color instead of only tinting its icon.
|
|
54
56
|
* @param open If `true`, the toast will be visible; otherwise it will be hidden.
|
|
55
57
|
* @param title Optional content to display in the "title" slot; this should be considered the primary content.
|
|
56
|
-
* @param variant The variant of the toast
|
|
58
|
+
* @param variant The variant of the toast: `"primary"`, `"secondary"`, `"success"`, `"danger"` or `"icon"`. It sets the icon color, and with `solid` the fill. Defaults to `"primary"`.
|
|
57
59
|
* @param props Additional HTML properties to apply to the component.
|
|
58
60
|
*/
|
|
59
61
|
export declare const Toast: FC<ToastProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,EAAE,EAEF,cAAc,EAEd,SAAS,EACV,MAAM,OAAO,CAAC;AAIf,OAAO,EAAa,KAAK,SAAS,EAAe,MAAM,oBAAoB,CAAC;AAM5E,OAAO,EAEL,MAAM,
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,EAAE,EAEF,cAAc,EAEd,SAAS,EACV,MAAM,OAAO,CAAC;AAIf,OAAO,EAAa,KAAK,SAAS,EAAe,MAAM,oBAAoB,CAAC;AAM5E,OAAO,EAEL,MAAM,EAgBN,OAAO,EACR,MAAM,SAAS,CAAC;AAGjB,KAAK,YAAY,GACf,GAAG,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC;AAEjE,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,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAuBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAgJhC,CAAC"}
|
|
@@ -15,7 +15,15 @@ export interface ToastContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
15
15
|
* Several children stack at the anchor, oldest first, with the newest against
|
|
16
16
|
* the anchored edge.
|
|
17
17
|
*
|
|
18
|
-
* @
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <ToastContainer anchor="bottom-right" open={open}>
|
|
21
|
+
* <Toast title="Saved" variant="success" onClose={() => setOpen(false)} />
|
|
22
|
+
* </ToastContainer>
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @param anchor The location in the viewport to anchor the toast. Defaults to
|
|
26
|
+
* `"bottom"`. See {@link Anchor}.
|
|
19
27
|
* @param children Content wrapped by this component.
|
|
20
28
|
* @param open If `true`, this component and its children will be rendered; otherwise it will be hidden.
|
|
21
29
|
* @param props Additional HTML properties to apply to the component.
|
|
@@ -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;AAGhD,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC;;;GAGG;AACH,eAAO,MAAM,UAAU,kCAAgC,CAAC;AAExD,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AA0BD
|
|
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;AAGhD,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC;;;GAGG;AACH,eAAO,MAAM,UAAU,kCAAgC,CAAC;AAExD,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AA0BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAsBlD,CAAC"}
|
|
@@ -15,7 +15,7 @@ export interface ToggleProps extends ModifiedToggleProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* A component supporting a boolean toggle.
|
|
17
17
|
*
|
|
18
|
-
* This component operates exclusively as a controlled component. See `
|
|
18
|
+
* This component operates exclusively as a controlled component. See `checked` and `onChange` for controlled behavior.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ```tsx
|
|
@@ -37,7 +37,7 @@ export interface ToggleProps extends ModifiedToggleProps {
|
|
|
37
37
|
* @param checked If `true`, renders the toggle in the "active" state.
|
|
38
38
|
* @param disabled If `true`, disables the toggle.
|
|
39
39
|
* @param onChange Callback triggered when the toggle value changes.
|
|
40
|
-
* @param size Size of the toggle
|
|
40
|
+
* @param size Size of the toggle: `"sm"` or `"md"`. Defaults to `"md"`.
|
|
41
41
|
* @param className `class` overrides to apply to the component.
|
|
42
42
|
* @param labelClassName `class` overrides to apply to the toggle's label.
|
|
43
43
|
* @param label Optional label for the toggle.
|
|
@@ -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;AA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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;AAsCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,WAAW,CAkFlC,CAAC"}
|
|
@@ -40,8 +40,8 @@ export interface ToggleSwitchProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
|
40
40
|
* ```tsx
|
|
41
41
|
* const MyComponent = () => {
|
|
42
42
|
* const tabs: Descriptor<ToggleSwitchTab>[] = useMemo(() => [
|
|
43
|
-
* {id: "1", data: {label: "Tab 1", content: "Tab 1 content"}}
|
|
44
|
-
* {id: "2", data: {label: "Tab 2", content: "Tab 2 content"}}
|
|
43
|
+
* {id: "1", data: {label: "Tab 1", content: "Tab 1 content"}},
|
|
44
|
+
* {id: "2", data: {label: "Tab 2", content: "Tab 2 content"}},
|
|
45
45
|
* {id: "3", data: {label: "Tab 3", content: "Tab 3 content"}}
|
|
46
46
|
* ],
|
|
47
47
|
* []
|
|
@@ -59,20 +59,21 @@ export interface ToggleSwitchProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
|
59
59
|
*
|
|
60
60
|
* @param tabs List of component descriptors which will be used to create {@link ToggleSwitchTab} children.
|
|
61
61
|
* Each tab supports optional `disabled` and `tooltip` fields. See {@link ToggleSwitchTab}.
|
|
62
|
-
* @param variant
|
|
63
|
-
*
|
|
64
|
-
* - {@link ToggleSwitchVariant.Default} - tabs are bordered and have visible boundaries;
|
|
62
|
+
* @param variant Visual style of the tab set:
|
|
63
|
+
* - `"default"` - tabs are bordered and have visible boundaries;
|
|
65
64
|
* the active tab has a distinct background from inactive tabs.
|
|
66
|
-
* -
|
|
67
|
-
* the active tab
|
|
68
|
-
* -
|
|
69
|
-
*
|
|
70
|
-
* -
|
|
65
|
+
* - `"soft"` - tabs sit in a padded, filled tray with no border;
|
|
66
|
+
* the active tab gets a raised neutral background and primary text.
|
|
67
|
+
* - `"full"` - like `"default"`, with primary text on the active tab.
|
|
68
|
+
* Use `fullWidth` to fill the container.
|
|
69
|
+
* - `"borderless"` - tabs are not bordered; the active tab has a bottom border.
|
|
71
70
|
* See {@link ToggleSwitchVariant}.
|
|
72
71
|
* @param defaultIndex The index of the tab which should be considered active when the component first renders (uncontrolled).
|
|
72
|
+
* Defaults to `0`.
|
|
73
73
|
* @param index The active tab index for controlled usage; when set it drives the active tab and overrides `defaultIndex`.
|
|
74
74
|
* @param onChange Callback triggered when the active tab changes.
|
|
75
|
-
* @param size Size of the tabs
|
|
75
|
+
* @param size Size of the tabs: `"xs"`, `"sm"` or `"md"`; this controls the text size and padding.
|
|
76
|
+
* Defaults to `"sm"`. See {@link ToggleSwitchSize}.
|
|
76
77
|
* @param fullWidth If `true`, the tab group will fill the width of their container.
|
|
77
78
|
* @param tabListClassName `class` overrides to apply to the tabs.
|
|
78
79
|
* @param tabPanelClassName `class` overrides to apply to the active content container.
|
|
@@ -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;AAI3D,OAAO,EAKL,UAAU,EAEV,IAAI,EAIL,MAAM,SAAS,CAAC;AAGjB,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS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AE,OAAO,CAAC;CACrB;AAkGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA4F9C,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { HTMLAttributes, JSX, ReactNode } from 'react';
|
|
|
2
2
|
import { Orientation, ZIndex } from '../../types';
|
|
3
3
|
export interface ToolbarProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
4
4
|
children: ReactNode;
|
|
5
|
-
/** Layout direction for groups and actions. Default `
|
|
5
|
+
/** Layout direction for groups and actions. Default `"col"`. */
|
|
6
6
|
orientation?: Orientation;
|
|
7
7
|
/** Lock horizontal (x-axis) movement. Default `false`. */
|
|
8
8
|
lockX?: boolean;
|
|
@@ -12,7 +12,7 @@ export interface ToolbarProps extends Omit<HTMLAttributes<HTMLDivElement>, "chil
|
|
|
12
12
|
xOffset?: string | number;
|
|
13
13
|
/** Initial offset from the top edge of the parent container. Accepts any CSS length (e.g. `20`, `"10%"`, `"2rem"`). Default `20`. */
|
|
14
14
|
yOffset?: string | number;
|
|
15
|
-
/** Stacking layer for the toolbar. Default `
|
|
15
|
+
/** Stacking layer for the toolbar. Default `"above-modal"`. */
|
|
16
16
|
zIndex?: ZIndex;
|
|
17
17
|
/** Whether the toolbar is rendered. Default `true`. */
|
|
18
18
|
visible?: boolean;
|
|
@@ -34,23 +34,23 @@ export interface ToolbarProps extends Omit<HTMLAttributes<HTMLDivElement>, "chil
|
|
|
34
34
|
*
|
|
35
35
|
* Double-clicking the drag handle collapses the toolbar to just the handle.
|
|
36
36
|
*
|
|
37
|
-
* @param
|
|
38
|
-
* @param
|
|
39
|
-
* @param
|
|
40
|
-
* @param
|
|
41
|
-
* @param
|
|
42
|
-
* @param
|
|
43
|
-
* @param
|
|
44
|
-
* @param
|
|
45
|
-
* @param
|
|
46
|
-
* @param props
|
|
37
|
+
* @param children Tool groups and actions to render inside the toolbar.
|
|
38
|
+
* @param orientation Layout direction for groups and actions. Default `"col"`.
|
|
39
|
+
* @param lockX Lock horizontal (x-axis) movement. Default `false`.
|
|
40
|
+
* @param lockY Lock vertical (y-axis) movement. Default `false`.
|
|
41
|
+
* @param xOffset Initial offset from the left edge of the parent container. Accepts any CSS length (e.g. `20`, `"10%"`, `"2rem"`). Default `20`.
|
|
42
|
+
* @param yOffset Initial offset from the top edge of the parent container. Accepts any CSS length (e.g. `20`, `"10%"`, `"2rem"`). Default `20`.
|
|
43
|
+
* @param zIndex Stacking layer for the toolbar. Default `"above-modal"`.
|
|
44
|
+
* @param visible Whether the toolbar is rendered. Default `true`.
|
|
45
|
+
* @param onPositionChange Called after every drag move with the new pixel position.
|
|
46
|
+
* @param props Any additional `HTMLDivElement` attributes (e.g. `data-testid`, `aria-label`) are
|
|
47
47
|
* forwarded to the root `div`. Internal `onPointerDown`, `onClick`, and `onKeyDown` handlers that
|
|
48
48
|
* call `stopPropagation` are merged with any consumer-provided handlers.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* ```tsx
|
|
52
|
-
* <Toolbar orientation=
|
|
53
|
-
* <ToolbarGroup label="Tool">
|
|
52
|
+
* <Toolbar orientation="col" xOffset={20} yOffset={100}>
|
|
53
|
+
* <ToolbarGroup aria-label="Tool">
|
|
54
54
|
* <ToolbarAction active>
|
|
55
55
|
* <BrushIcon />
|
|
56
56
|
* </ToolbarAction>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,cAAc,EACd,GAAG,EAEH,SAAS,EACV,MAAM,OAAO,CAAC;AAMf,OAAO,EAQL,WAAW,EAKX,MAAM,EAEP,MAAM,SAAS,CAAC;AAMjB,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,CACX;IACC,QAAQ,EAAE,SAAS,CAAC;IACpB,
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,cAAc,EACd,GAAG,EAEH,SAAS,EACV,MAAM,OAAO,CAAC;AAMf,OAAO,EAQL,WAAW,EAKX,MAAM,EAEP,MAAM,SAAS,CAAC;AAMjB,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,CACX;IACC,QAAQ,EAAE,SAAS,CAAC;IACpB,gEAAgE;IAChE,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,0DAA0D;IAC1D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wDAAwD;IACxD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,sIAAsI;IACtI,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,qIAAqI;IACrI,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,+DAA+D;IAC/D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uDAAuD;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC5D;AAKD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,OAAO;kKAgBjB,YAAY,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI;;CA+HnC,CAAC"}
|
|
@@ -9,7 +9,7 @@ export interface ToolbarGroupProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
|
9
9
|
* A divider is automatically rendered after each group; the last group's divider is hidden.
|
|
10
10
|
*
|
|
11
11
|
* @param children `ToolbarAction` items to render within the group.
|
|
12
|
-
* @param props Additional `HTMLDivElement` attributes (e.g. `data-testid`, `aria-label`) forwarded to the
|
|
12
|
+
* @param props Additional `HTMLDivElement` attributes (e.g. `data-testid`, `aria-label`) forwarded to the inner `role="group"` element, not the outer wrapper.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```tsx
|
|
@@ -18,7 +18,7 @@ export interface TooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, "cont
|
|
|
18
18
|
* </Tooltip>
|
|
19
19
|
* ```
|
|
20
20
|
*
|
|
21
|
-
* @param anchor Position
|
|
21
|
+
* @param anchor Position of the tooltip relative to its content: `"top"`, `"right"`, `"bottom"` or `"left"`. Defaults to `"top"`. See {@link TooltipAnchor}.
|
|
22
22
|
* @param content The content of the tooltip.
|
|
23
23
|
* @param children The content which this component wraps; this acts as the element anchor and the hover trigger.
|
|
24
24
|
* @param className `class` overrides to apply to the tooltip panel.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,EAAE,EACP,KAAK,cAAc,EACnB,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,EAAE,EACP,KAAK,cAAc,EACnB,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAMf,OAAO,EACL,MAAM,EAIN,MAAM,EAMP,MAAM,SAAS,CAAC;AAGjB,MAAM,MAAM,aAAa,GAAG,GAAG,OAAO,CACpC,MAAM,EACN,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CACxD,EAAE,CAAC;AAEJ,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,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAwDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAoFpC,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { TreeSelectProps } from './types';
|
|
|
4
4
|
* A tree-shaped selection control that renders nodes in a
|
|
5
5
|
* searchable dropdown panel styled to match {@link Select}.
|
|
6
6
|
*
|
|
7
|
-
* Supports single-select with full keyboard navigation (ARIA treeview pattern).
|
|
7
|
+
* Supports single- and multi-select (`multiSelect`) with full keyboard navigation (ARIA treeview pattern).
|
|
8
8
|
*
|
|
9
9
|
* Paths are represented as {@link TreePath} — ordered arrays of raw node
|
|
10
10
|
* names. No encoding is needed, even when names contain `/` or `%`.
|
|
@@ -186,7 +186,9 @@ interface TreeViewSharedProps extends TreeDataProps {
|
|
|
186
186
|
query?: string;
|
|
187
187
|
/** Required when `query` is controlled. */
|
|
188
188
|
onQueryChange?: (q: string) => void;
|
|
189
|
+
/** Maximum height of the tree, as any CSS length. Defaults to `"100%"`. */
|
|
189
190
|
maxHeight?: string;
|
|
191
|
+
/** `class` overrides to apply to the tree's root element. */
|
|
190
192
|
className?: string;
|
|
191
193
|
}
|
|
192
194
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,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|
8
8
|
* A basic hint to display to the user.
|
|
9
9
|
*
|
|
10
|
-
* This is an alias for {@link Text} with
|
|
10
|
+
* This is an alias for {@link Text} with the `"caption"` variant in the muted
|
|
11
|
+
* colour.
|
|
11
12
|
*
|
|
12
13
|
* @param value A value used to determine whether to display the hint.
|
|
13
14
|
* If this value is nullish, then the hint is shown.
|
|
@@ -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
|
|
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;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAQxC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FC, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
/** One file in an {@link UploadList}. */
|
|
3
|
+
export interface UploadListItem {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
kind?: ReactNode;
|
|
7
|
+
size: number;
|
|
8
|
+
}
|
|
9
|
+
export interface UploadListProps extends HTMLAttributes<HTMLDivElement> {
|
|
10
|
+
items: UploadListItem[];
|
|
11
|
+
summary?: ReactNode;
|
|
12
|
+
onRemove?: (id: string) => void;
|
|
13
|
+
onRemoveAll?: () => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Lists files chosen for upload under a count-and-size summary. Each row shows
|
|
17
|
+
* the file's name, kind and size, with a remove action on hover or focus.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```tsx
|
|
21
|
+
* <UploadList
|
|
22
|
+
* items={[{ id: "a", name: "cat.jpg", kind: "JPG", size: 20480 }]}
|
|
23
|
+
* onRemove={removeFile}
|
|
24
|
+
* onRemoveAll={clearFiles}
|
|
25
|
+
* />
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @param items The files to list. Sizes are in bytes.
|
|
29
|
+
* @param summary Replaces the default "N files · size" summary.
|
|
30
|
+
* @param onRemove Called with an item's `id` when its remove action is clicked. Omit it to hide the per-row action.
|
|
31
|
+
* @param onRemoveAll Called when "Remove all" is clicked. Omit it to hide the action.
|
|
32
|
+
* @param className Additional CSS class names to apply to the container.
|
|
33
|
+
* @param props Additional HTML properties to apply to the container.
|
|
34
|
+
*/
|
|
35
|
+
export declare const UploadList: FC<UploadListProps>;
|
|
36
|
+
//# sourceMappingURL=UploadList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploadList.d.ts","sourceRoot":"","sources":["../../../src/components/UploadList/UploadList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkB3D,yCAAyC;AACzC,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA0E1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/UploadList/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -3,7 +3,6 @@ export * from './Button';
|
|
|
3
3
|
export * from './Card';
|
|
4
4
|
export * from './Checkbox';
|
|
5
5
|
export * from './Clickable';
|
|
6
|
-
export * from './CodeBlock';
|
|
7
6
|
export * from './Collapsible';
|
|
8
7
|
export * from './Combobox';
|
|
9
8
|
export * from './ContextMenu';
|
|
@@ -11,16 +10,17 @@ export * from './Datepicker';
|
|
|
11
10
|
export * from './Divider';
|
|
12
11
|
export * from './Drawer';
|
|
13
12
|
export * from './Dropdown';
|
|
13
|
+
export * from './Dropzone';
|
|
14
14
|
export * from './EmptyState';
|
|
15
15
|
export * from './FormField';
|
|
16
16
|
export * from './FormFieldGroup';
|
|
17
17
|
export * from './Heading';
|
|
18
|
+
export * from './IconAction';
|
|
18
19
|
export * from './Icons';
|
|
19
20
|
export * from './ImageList';
|
|
20
21
|
export * from './Input';
|
|
21
22
|
export * from './ListItem';
|
|
22
23
|
export * from './LoadingDots';
|
|
23
|
-
export * from './LoadingScreen';
|
|
24
24
|
export * from './Menu';
|
|
25
25
|
export * from './Modal';
|
|
26
26
|
export * from './Pill';
|
|
@@ -35,9 +35,11 @@ export * from './Sheet';
|
|
|
35
35
|
export * from './Slider';
|
|
36
36
|
export * from './Spinner';
|
|
37
37
|
export * from './Stack';
|
|
38
|
+
export * from './StepRail';
|
|
38
39
|
export * from './Table';
|
|
39
40
|
export * from './Tabs';
|
|
40
41
|
export * from './Text';
|
|
42
|
+
export * from './TextAction';
|
|
41
43
|
export * from './TextArea';
|
|
42
44
|
export * from './TextBadge';
|
|
43
45
|
export * from './Toast';
|
|
@@ -48,4 +50,5 @@ export * from './Toolbar';
|
|
|
48
50
|
export * from './Tooltip';
|
|
49
51
|
export * from './Tree';
|
|
50
52
|
export * from './UnsetHint';
|
|
53
|
+
export * from './UploadList';
|
|
51
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,
|
|
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,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,C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