@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":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAMrD,OAAO,EAML,MAAM,EACN,IAAI,
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAMrD,OAAO,EAML,MAAM,EACN,IAAI,EAIL,MAAM,SAAS,CAAC;AAGjB,KAAK,qBAAqB,GAAG,IAAI,CAC/B,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,CAC3D,CAAC;AAEF,MAAM,WAAW,aAAc,SAAQ,qBAAqB;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAsBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAsFtC,CAAC"}
|
|
@@ -41,7 +41,7 @@ export interface ComboboxProps extends Omit<HTMLAttributes<HTMLDivElement>, "onC
|
|
|
41
41
|
allowFreeText?: boolean;
|
|
42
42
|
/** Shown when the field is empty. */
|
|
43
43
|
placeholder?: string;
|
|
44
|
-
/** Field size. See {@link Size}. Defaults to
|
|
44
|
+
/** Field size. See {@link Size}. Defaults to `"md"`. */
|
|
45
45
|
size?: Size;
|
|
46
46
|
disabled?: boolean;
|
|
47
47
|
/** Spinner in place of the list while the caller's query is in flight. */
|
|
@@ -103,7 +103,7 @@ export interface ComboboxProps extends Omit<HTMLAttributes<HTMLDivElement>, "onC
|
|
|
103
103
|
*
|
|
104
104
|
* Keyboard: ArrowDown / ArrowUp move the highlight (opening the list if
|
|
105
105
|
* closed), Enter picks the highlighted row, Escape closes without picking,
|
|
106
|
-
* and blur commits the text when `allowFreeText` is set.
|
|
106
|
+
* and blur commits the text when `allowFreeText` is set (unless `commitOnBlur` is `false`).
|
|
107
107
|
*
|
|
108
108
|
* @example
|
|
109
109
|
* ```tsx
|
|
@@ -127,7 +127,7 @@ export interface ComboboxProps extends Omit<HTMLAttributes<HTMLDivElement>, "onC
|
|
|
127
127
|
* @example
|
|
128
128
|
* ```tsx
|
|
129
129
|
* // Open domain: suggestions help, but any string is allowed.
|
|
130
|
-
* <Combobox allowFreeText options={knownTypes}
|
|
130
|
+
* <Combobox allowFreeText options={knownTypes} value={type} inputValue={text} onInputChange={setText} onChange={setType} />
|
|
131
131
|
* ```
|
|
132
132
|
*
|
|
133
133
|
* @param options Rows to offer, already filtered by the caller.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AASA,OAAO,EAML,KAAK,EAAE,EACP,KAAK,cAAc,EAEnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAKpD,OAAO,EAIL,IAAI,EAGJ,MAAM,EAEP,MAAM,SAAS,CAAC;AAGjB,kFAAkF;AAClF,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,QAAQ,MAAM,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAE1E,4CAA4C;AAC5C,MAAM,WAAW,cAAc;IAC7B,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,oEAAoE;IACpE,CAAC,aAAa,EAAE,QAAQ,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAAC;CACvD;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CACzC,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,UAAU,CACxB;IACC;;;;OAIG;IACH,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,2DAA2D;IAC3D,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7B,8EAA8E;IAC9E,UAA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;;;;;GA4DG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAuRtC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Menu placements used when the cursor is far from any viewport edge
|
|
4
4
|
* vs. flipped placements when the menu would overflow.
|
|
5
5
|
*/
|
|
6
6
|
type MenuAnchor = "bottom start" | "bottom end" | "top start" | "top end";
|
|
@@ -44,7 +44,7 @@ export interface DatePickerProps extends Omit<ReactDatePickerProps, "size" | "cl
|
|
|
44
44
|
* @param error If `true`, displays an error state in the datepicker input.
|
|
45
45
|
* @param dateFormat The format to use for displaying the value.
|
|
46
46
|
* If not specified, the following formats are used in order of precedence:
|
|
47
|
-
* - `HH:mm` if `showTimeSelectOnly`
|
|
47
|
+
* - `HH:mm` if both `showTimeSelect` and `showTimeSelectOnly` are `true`
|
|
48
48
|
* - `yyyy-MM-dd · HH:mm` if `showTimeSelect` is `true`
|
|
49
49
|
* - `yyyy-MM-dd`
|
|
50
50
|
* @param onChange Callback triggered when the user changes the date/time value.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatepickerIconButton.d.ts","sourceRoot":"","sources":["../../../src/components/Datepicker/DatepickerIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAa,IAAI,EAAkB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"DatepickerIconButton.d.ts","sourceRoot":"","sources":["../../../src/components/Datepicker/DatepickerIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAa,IAAI,EAAkB,MAAM,SAAS,CAAC;AAS1D,eAAO,MAAM,YAAY;;;CAGf,CAAC;AACX,MAAM,MAAM,YAAY,GACtB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,EAAE,CAAC;AAExD,yBAAiB,YAAY,CAAC;IAC5B,KAAY,OAAO,GAAG,OAAO,YAAY,CAAC,OAAO,CAAC;IAClD,KAAY,QAAQ,GAAG,OAAO,YAAY,CAAC,QAAQ,CAAC;CACrD;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAuC9D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatepickerInput.d.ts","sourceRoot":"","sources":["../../../src/components/Datepicker/DatepickerInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAuB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DatepickerInput.d.ts","sourceRoot":"","sources":["../../../src/components/Datepicker/DatepickerInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAuB,MAAM,OAAO,CAAC;AAKrD,OAAO,EAML,MAAM,EACN,IAAI,EAGL,MAAM,SAAS,CAAC;AA4CjB,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAyDpD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -4,10 +4,9 @@ import { Orientation } from '../../types';
|
|
|
4
4
|
/**
|
|
5
5
|
* The visual style used to render a {@link Divider}.
|
|
6
6
|
*
|
|
7
|
-
* - `
|
|
8
|
-
* - `
|
|
9
|
-
*
|
|
10
|
-
* rendered.
|
|
7
|
+
* - `"line"` renders a solid 1px rule (the default).
|
|
8
|
+
* - `"dot"` renders dotted rules: with a `label`, dotted lines flank the
|
|
9
|
+
* label; without one, a centered dot sits between two solid rules.
|
|
11
10
|
*
|
|
12
11
|
* Defined locally to the Divider component so it does not pollute the shared
|
|
13
12
|
* `@/types` enums.
|
|
@@ -25,7 +24,7 @@ export interface DividerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
25
24
|
orientation?: Orientation;
|
|
26
25
|
label?: string;
|
|
27
26
|
/**
|
|
28
|
-
* The visual style of the divider. Defaults to
|
|
27
|
+
* The visual style of the divider. Defaults to `"line"`.
|
|
29
28
|
*/
|
|
30
29
|
dividerStyle?: DividerStyle;
|
|
31
30
|
textProps?: TextProps;
|
|
@@ -33,20 +32,28 @@ export interface DividerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
33
32
|
/**
|
|
34
33
|
* A divider component used to separate content.
|
|
35
34
|
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```tsx
|
|
37
|
+
* <Divider />
|
|
38
|
+
* <Divider label="or" />
|
|
39
|
+
* <Stack orientation="row" align="center">
|
|
40
|
+
* <Text>Left</Text>
|
|
41
|
+
* <Divider orientation="col" />
|
|
42
|
+
* <Text>Right</Text>
|
|
43
|
+
* </Stack>
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
36
46
|
* @param orientation The {@link Orientation} of the divider. Defaults to a
|
|
37
|
-
* horizontal (row) rule. Use
|
|
47
|
+
* horizontal (`"row"`) rule. Use `"col"` for a vertical rule.
|
|
38
48
|
* @param label The label to display in the middle of the divider. Labels are
|
|
39
|
-
* only supported for horizontal dividers
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* sensible place to render text.
|
|
49
|
+
* only supported for horizontal dividers: with `"col"` the label is dropped
|
|
50
|
+
* and a development warning is emitted via `console.warn`, since a vertical
|
|
51
|
+
* divider has no sensible place to render text.
|
|
43
52
|
* @param dividerStyle The {@link DividerStyle} used to render the divider.
|
|
44
|
-
* Defaults to
|
|
45
|
-
*
|
|
46
|
-
* dot separator.
|
|
53
|
+
* Defaults to `"line"`. Use `"dot"` to render a dotted line, or, when no
|
|
54
|
+
* `label` is present, a single centered dot separator.
|
|
47
55
|
* @param textProps Additional props forwarded to the label {@link Text}.
|
|
48
56
|
* @param props Additional HTML properties to apply to the component.
|
|
49
|
-
*
|
|
50
57
|
*/
|
|
51
58
|
export declare const Divider: FC<DividerProps>;
|
|
52
59
|
//# sourceMappingURL=Divider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAQ,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAGL,WAAW,
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAQ,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAGL,WAAW,EAGZ,MAAM,SAAS,CAAC;AAGjB;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY;;;CAGf,CAAC;AACX,MAAM,MAAM,YAAY,GACtB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,EAAE,CAAC;AAExD,yBAAiB,YAAY,CAAC;IAC5B,KAAY,IAAI,GAAG,OAAO,YAAY,CAAC,IAAI,CAAC;IAC5C,KAAY,GAAG,GAAG,OAAO,YAAY,CAAC,GAAG,CAAC;CAC3C;AAED,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAClE,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAWD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAyEpC,CAAC"}
|
|
@@ -19,6 +19,43 @@ export interface DrawerProps extends UseDisclosureOptions {
|
|
|
19
19
|
className?: string;
|
|
20
20
|
style?: React.CSSProperties;
|
|
21
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* A resizable panel docked to one edge of its container.
|
|
24
|
+
*
|
|
25
|
+
* Drag the handle to resize it. The `header` render prop receives the open
|
|
26
|
+
* state and a toggle, so the header can open and close the drawer. Open state
|
|
27
|
+
* is uncontrolled by default; pass `open` and `onOpenChange` to control it.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* <Drawer
|
|
32
|
+
* side="bottom"
|
|
33
|
+
* maxSize={400}
|
|
34
|
+
* header={({ open, toggle }) => (
|
|
35
|
+
* <Button variant="secondary" size="sm" onClick={toggle}>
|
|
36
|
+
* {open ? "Hide logs" : "Show logs"}
|
|
37
|
+
* </Button>
|
|
38
|
+
* )}
|
|
39
|
+
* >
|
|
40
|
+
* <LogList />
|
|
41
|
+
* </Drawer>
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param side The edge the drawer docks to. Defaults to `"bottom"`.
|
|
45
|
+
* @param maxSize Maximum size of the content area in pixels. The header and
|
|
46
|
+
* resize handle are not counted.
|
|
47
|
+
* @param mode `"push"` keeps the drawer in the layout flow, so it pushes
|
|
48
|
+
* neighbouring content aside; `"float"` positions it over the content.
|
|
49
|
+
* Defaults to `"push"`.
|
|
50
|
+
* @param header Renders the header. Receives `{ open, toggle }`.
|
|
51
|
+
* @param defaultOpen Initial open state when uncontrolled. Defaults to `true`.
|
|
52
|
+
* @param open Controlled open state.
|
|
53
|
+
* @param onOpenChange Called when the open state changes.
|
|
54
|
+
* @param onSizeChange Called with the new content size in pixels.
|
|
55
|
+
* @param children The drawer content.
|
|
56
|
+
* @param className Additional CSS class names to apply to the drawer.
|
|
57
|
+
* @param style Inline styles to apply to the drawer.
|
|
58
|
+
*/
|
|
22
59
|
declare const Drawer: React.FC<DrawerProps>;
|
|
23
60
|
export default Drawer;
|
|
24
61
|
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAKjE,MAAM,MAAM,UAAU,GAAG,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,EAAE,CAAC;AAElE,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAYD,MAAM,WAAW,WAAY,SAAQ,oBAAoB;IACvD,IAAI,CAAC,EAAE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;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAmEjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -51,7 +51,7 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
51
51
|
* @default true
|
|
52
52
|
*/
|
|
53
53
|
portal?: boolean;
|
|
54
|
-
/** Explicit z-index
|
|
54
|
+
/** Explicit z-index for the panel. Only applied when `portal` is `false`; a portaled panel always stacks above modals. */
|
|
55
55
|
zIndex?: ZIndex;
|
|
56
56
|
/**
|
|
57
57
|
* If `true`, the trigger cannot open the menu. Also inferred automatically
|
|
@@ -93,8 +93,8 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
93
93
|
* @param trigger The trigger element that opens the menu.
|
|
94
94
|
* @param children Menu content — use the Menu* primitive components.
|
|
95
95
|
* @param anchor Position of the menu panel relative to the trigger. See {@link DropdownAnchor}.
|
|
96
|
-
* @param portal If `true
|
|
97
|
-
* @param zIndex Explicit z-index for the panel
|
|
96
|
+
* @param portal If `true` (the default), renders the panel in a portal above modals.
|
|
97
|
+
* @param zIndex Explicit z-index for the panel; only applied when `portal` is `false`.
|
|
98
98
|
* @param disabled If `true`, the menu cannot be opened.
|
|
99
99
|
* @param className `class` overrides for the root wrapper.
|
|
100
100
|
* @param props Additional HTML properties for the root wrapper.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,EAAE,EACP,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,MAAM,EA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IAE/D,gDAAgD;;IAEhD,gEAAgE;;IAEhE,+DAA+D;;CAEvD,CAAC;AACX,MAAM,MAAM,cAAc,GACxB,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,EAAE,CAAC;AAE5D,yBAAiB,cAAc,CAAC;IAC9B,KAAY,MAAM,GAAG,OAAO,cAAc,CAAC,MAAM,CAAC;IAClD,KAAY,WAAW,GAAG,OAAO,cAAc,CAAC,WAAW,CAAC;IAC5D,KAAY,SAAS,GAAG,OAAO,cAAc,CAAC,SAAS,CAAC;IACxD,KAAY,GAAG,GAAG,OAAO,cAAc,CAAC,GAAG,CAAC;IAC5C,KAAY,QAAQ,GAAG,OAAO,cAAc,CAAC,QAAQ,CAAC;IACtD,KAAY,MAAM,GAAG,OAAO,cAAc,CAAC,MAAM,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACnE;;;OAGG;IACH,OAAO,EAAE,SAAS,CAAC;IACnB,oEAAoE;IACpE,QAAQ,EAAE,SAAS,CAAC;IACpB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0HAA0H;IAC1H,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA2CtC,CAAC"}
|
|
@@ -14,12 +14,12 @@ export type DropdownTriggerProps = Omit<ButtonProps, "variant" | "trailingIcon">
|
|
|
14
14
|
* @example
|
|
15
15
|
* ```tsx
|
|
16
16
|
* <Dropdown trigger={<DropdownTrigger>Actions</DropdownTrigger>}>
|
|
17
|
-
* <
|
|
17
|
+
* <MenuTextItem onClick={() => {}}>Edit</MenuTextItem>
|
|
18
18
|
* </Dropdown>
|
|
19
19
|
* ```
|
|
20
20
|
*
|
|
21
21
|
* @param children Button label.
|
|
22
|
-
* @param size Button size. Defaults to
|
|
22
|
+
* @param size Button size. Defaults to `"sm"`.
|
|
23
23
|
* @param props Additional {@link ButtonProps} (excluding `variant` and `trailingIcon`).
|
|
24
24
|
*/
|
|
25
25
|
export declare const DropdownTrigger: FC<DropdownTriggerProps>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FC, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface DropzoneProps extends Omit<HTMLAttributes<HTMLDivElement>, "onDrop" | "onDragOver" | "onDragLeave" | "onClick" | "onKeyDown" | "title"> {
|
|
3
|
+
onFiles: (files: File[]) => void;
|
|
4
|
+
title: ReactNode;
|
|
5
|
+
description?: ReactNode;
|
|
6
|
+
accept?: string;
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A dashed drop target for files. Clicking it, or pressing Enter or Space,
|
|
12
|
+
* opens the file picker; dragging files over it highlights it.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <Dropzone
|
|
17
|
+
* title="Drop images or videos"
|
|
18
|
+
* description="or click to browse your computer"
|
|
19
|
+
* accept="image/*,video/*"
|
|
20
|
+
* onFiles={addFiles}
|
|
21
|
+
* />
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @param onFiles Called with the dropped or picked files.
|
|
25
|
+
* @param title The main prompt.
|
|
26
|
+
* @param description Secondary text shown under the title.
|
|
27
|
+
* @param accept File types the picker offers, as in the `accept` attribute of a file input.
|
|
28
|
+
* @param multiple Whether more than one file can be picked. Defaults to `true`.
|
|
29
|
+
* @param disabled If `true`, ignores clicks and drops and dims the drop target.
|
|
30
|
+
* @param className Additional CSS class names to apply to the drop target.
|
|
31
|
+
* @param props Additional HTML properties to apply to the drop target.
|
|
32
|
+
*/
|
|
33
|
+
export declare const Dropzone: FC<DropzoneProps>;
|
|
34
|
+
//# sourceMappingURL=Dropzone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dropzone.d.ts","sourceRoot":"","sources":["../../../src/components/Dropzone/Dropzone.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EAAE,EACP,KAAK,cAAc,EACnB,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAMf,MAAM,WAAW,aAAc,SAAQ,IAAI,CACzC,cAAc,CAAC,cAAc,CAAC,EAC9B,QAAQ,GAAG,YAAY,GAAG,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,CAC5E;IACC,OAAO,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACjC,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAgFtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropzone/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -9,12 +9,19 @@ export interface EmptyStateProps extends StackProps {
|
|
|
9
9
|
/**
|
|
10
10
|
* A basic empty state to display to the user.
|
|
11
11
|
*
|
|
12
|
-
* @
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* <EmptyState
|
|
15
|
+
* icon={SearchIcon}
|
|
16
|
+
* title="No results"
|
|
17
|
+
* description="Try a different search term."
|
|
18
|
+
* />
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @param icon The icon to display in the empty state: a per-icon component.
|
|
13
22
|
* @param title The title to display in the empty state.
|
|
14
23
|
* @param description An optional description to display in the empty state.
|
|
15
|
-
* @param props Additional
|
|
16
|
-
*
|
|
17
|
-
*
|
|
24
|
+
* @param props Additional {@link Stack} properties to apply to the component.
|
|
18
25
|
*/
|
|
19
26
|
export declare const EmptyState: FC<EmptyStateProps>;
|
|
20
27
|
//# sourceMappingURL=EmptyState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyState/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAS,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAgBvD,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED
|
|
1
|
+
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyState/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAS,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAgBvD,MAAM,WAAW,eAAgB,SAAQ,UAAU;IACjD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwC1C,CAAC"}
|
|
@@ -6,6 +6,7 @@ export interface FormFieldProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6
6
|
description?: ReactNode;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
error?: ReactNode;
|
|
9
|
+
required?: boolean;
|
|
9
10
|
spacing?: Spacing;
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
@@ -52,9 +53,10 @@ export interface FormFieldProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
52
53
|
* description is only rendered when a `label` is also provided.
|
|
53
54
|
* @param disabled If `true`, disables the form field.
|
|
54
55
|
* @param error Optional error message to display for the form field.
|
|
55
|
-
* @param
|
|
56
|
+
* @param required If `true`, displays a destructive-color asterisk after the label.
|
|
57
|
+
* @param spacing Spacing between elements in the field. Defaults to `"sm"`.
|
|
56
58
|
* @param className `class` overrides to apply to the field container.
|
|
57
|
-
* @param props Additional HTML properties to
|
|
59
|
+
* @param props Additional HTML properties, applied to the inner Stack that lays out the label, control and error (`className` goes to the outer field).
|
|
58
60
|
*/
|
|
59
61
|
export declare const FormField: FC<FormFieldProps>;
|
|
60
62
|
//# sourceMappingURL=FormField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../src/components/FormField/FormField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAe,OAAO,EAA0B,MAAM,SAAS,CAAC;AAEvE,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE,OAAO,EAAE,SAAS,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED
|
|
1
|
+
{"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../src/components/FormField/FormField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3D,OAAO,EAAe,OAAO,EAA0B,MAAM,SAAS,CAAC;AAEvE,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE,OAAO,EAAE,SAAS,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA4DxC,CAAC"}
|
|
@@ -15,30 +15,15 @@ export interface FormFieldGroupProps extends HTMLAttributes<HTMLFieldSetElement>
|
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```tsx
|
|
18
|
-
* <FormFieldGroup orientation=
|
|
19
|
-
* <FormField
|
|
20
|
-
*
|
|
21
|
-
* <Input
|
|
22
|
-
* // input configuration
|
|
23
|
-
* />
|
|
24
|
-
* }
|
|
25
|
-
* label="First name"
|
|
26
|
-
* />
|
|
27
|
-
*
|
|
28
|
-
* <FormField
|
|
29
|
-
* control={
|
|
30
|
-
* <Input
|
|
31
|
-
* // input configuration
|
|
32
|
-
* />
|
|
33
|
-
* }
|
|
34
|
-
* label="Last name"
|
|
35
|
-
* />
|
|
18
|
+
* <FormFieldGroup orientation="col" spacing="lg">
|
|
19
|
+
* <FormField label="First name" control={<Input placeholder="Ada" />} />
|
|
20
|
+
* <FormField label="Last name" control={<Input placeholder="Lovelace" />} />
|
|
36
21
|
* </FormFieldGroup>
|
|
37
22
|
* ```
|
|
38
23
|
*
|
|
39
24
|
* @param orientation The orientation of the form group;
|
|
40
25
|
* controls whether children are stacked horizontally or vertically.
|
|
41
|
-
* When horizontal (
|
|
26
|
+
* When horizontal (`"row"`), the fields are laid out in a grid that is
|
|
42
27
|
* capped at two columns rather than an unbounded single row.
|
|
43
28
|
* See {@link Orientation}.
|
|
44
29
|
* @param spacing Spacing to apply between form fields. See {@link Spacing}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormFieldGroup.d.ts","sourceRoot":"","sources":["../../../src/components/FormFieldGroup/FormFieldGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGhD,OAAO,WAAW,MAAM,wBAAwB,CAAC;AACjD,OAAO,OAAO,MAAM,iBAAiB,CAAC;AAiBtC,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,mBAAmB,CAAC;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED
|
|
1
|
+
{"version":3,"file":"FormFieldGroup.d.ts","sourceRoot":"","sources":["../../../src/components/FormFieldGroup/FormFieldGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGhD,OAAO,WAAW,MAAM,wBAAwB,CAAC;AACjD,OAAO,OAAO,MAAM,iBAAiB,CAAC;AAiBtC,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,mBAAmB,CAAC;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAwBlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/components/Heading/Heading.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIhD,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IACtE,KAAK,CAAC,EAAE,YAAY,CAAC;CACtB;
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../src/components/Heading/Heading.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIhD,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IACtE,KAAK,CAAC,EAAE,YAAY,CAAC;CACtB;AAkBD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAoBpC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, FC } from 'react';
|
|
2
|
+
import { IconInput } from '../Icons';
|
|
3
|
+
import { Size } from '../../types';
|
|
4
|
+
type IconActionSize = `${Size.Sm | Size.Md | Size.Lg}`;
|
|
5
|
+
export interface IconActionProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
|
+
icon: IconInput;
|
|
7
|
+
size?: IconActionSize;
|
|
8
|
+
"aria-label": string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A round, icon-only action (close, kebab, toolbar affordances) that fills on hover.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* <IconAction icon={CloseIcon} aria-label="Dismiss" onClick={dismiss} />
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* @param icon The icon to show: a per-icon component such as `CloseIcon`.
|
|
19
|
+
* @param size `"sm"`, `"md"` or `"lg"`. Defaults to `"md"`.
|
|
20
|
+
* @param aria-label Required, because the action has no visible text.
|
|
21
|
+
* @param className Additional CSS class names to apply to the button.
|
|
22
|
+
* @param props Additional HTML button properties, such as `onClick`.
|
|
23
|
+
*/
|
|
24
|
+
export declare const IconAction: FC<IconActionProps>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=IconAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconAction.d.ts","sourceRoot":"","sources":["../../../src/components/IconAction/IconAction.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,KAAK,SAAS,EAAe,MAAM,oBAAoB,CAAC;AAEjE,OAAO,EAML,IAAI,EAEL,MAAM,SAAS,CAAC;AAEjB,KAAK,cAAc,GAAG,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;AAEvD,MAAM,WAAW,eAAgB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC9E,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAiBD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAsB1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/IconAction/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -30,7 +30,7 @@ export interface LegacyIconProps {
|
|
|
30
30
|
style?: React.CSSProperties;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* A generic icon component which will take the form of the icon specified by `name`.
|
|
34
34
|
*
|
|
35
35
|
* @deprecated Use the per-icon components instead (e.g. `<EditIcon />`),
|
|
36
36
|
* which are tree-shakable. `Icon` and {@link IconName} exist only to bridge
|
|
@@ -39,7 +39,9 @@ export interface LegacyIconProps {
|
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* ```tsx
|
|
42
|
-
* <Icon name=
|
|
42
|
+
* <Icon name="Edit" size="md" />
|
|
43
|
+
* // prefer the per-icon component:
|
|
44
|
+
* <EditIcon size="md" />
|
|
43
45
|
* ```
|
|
44
46
|
*
|
|
45
47
|
* @param name Icon to display. See {@link IconName}.
|
|
@@ -49,7 +51,6 @@ export interface LegacyIconProps {
|
|
|
49
51
|
* @param color Color of the icon. See {@link LegacyIconProps.color}. By
|
|
50
52
|
* default, the icon inherits the text color of its container.
|
|
51
53
|
* @param style `style` overrides to apply to the icon.
|
|
52
|
-
* @param props Additional HTML properties to apply to the component.
|
|
53
54
|
*/
|
|
54
55
|
export declare const Icon: FC<LegacyIconProps>;
|
|
55
56
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Icon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA8GvC,OAAO,EAAE,KAAK,cAAc,EAAgC,MAAM,SAAS,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,KAAK,SAAS,IAAI,aAAa,EAAE,MAAM,YAAY,CAAC;AAE7D,KAAK,YAAY,GAAG,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC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AAM,CAAC;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,cAAc,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,eAAe,CA2BpC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,EAAE,CAAC,aAAa,CAAC,GAAG,QAAQ,CAAC;AAOrD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,CAAC,EAAE,SAAS,GACf,EAAE,CAAC,aAAa,CAAC,GAAG,SAAS,CAW/B"}
|
|
@@ -34,6 +34,8 @@ interface IconBaseProps extends IconProps {
|
|
|
34
34
|
* @param color Color of the icon. See {@link IconProps.color}. By default,
|
|
35
35
|
* the icon inherits the text color of its container.
|
|
36
36
|
* @param style `style` overrides to apply to the icon.
|
|
37
|
+
*
|
|
38
|
+
* @internal Shared by the generated per-icon components; use those instead.
|
|
37
39
|
*/
|
|
38
40
|
export declare const IconBase: FC<IconBaseProps>;
|
|
39
41
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconBase.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/IconBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAE,KAAK,cAAc,EAAgC,MAAM,SAAS,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,KAAK,YAAY,GAAG,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;AAWhD,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,cAAc,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,UAAU,aAAc,SAAQ,SAAS;IACvC,GAAG,EAAE,YAAY,CAAC;CACnB;AAED
|
|
1
|
+
{"version":3,"file":"IconBase.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/IconBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAE,KAAK,cAAc,EAAgC,MAAM,SAAS,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,KAAK,YAAY,GAAG,EAAE,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;AAWhD,MAAM,WAAW,SAAS;IACxB,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,cAAc,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,UAAU,aAAc,SAAQ,SAAS;IACvC,GAAG,EAAE,YAAY,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAqBtC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { Size } from '../../types/size';
|
|
|
3
3
|
import { IconInput } from './Icon';
|
|
4
4
|
export interface IconWrapperProps {
|
|
5
5
|
content?: IconInput;
|
|
6
|
-
size?: Size;
|
|
6
|
+
size?: Size | number;
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
@@ -14,6 +14,8 @@ export interface IconWrapperProps {
|
|
|
14
14
|
* @param content Icon {@link FC}, legacy {@link IconName}, or undefined
|
|
15
15
|
* @param size Size forwarded to the icon component
|
|
16
16
|
* @param className Classes applied to the wrapping span
|
|
17
|
+
*
|
|
18
|
+
* @internal For VOODO components that take an icon prop.
|
|
17
19
|
*/
|
|
18
20
|
export declare const IconWrapper: FC<IconWrapperProps>;
|
|
19
21
|
//# sourceMappingURL=IconWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/IconWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,QAAQ,CAAC;AAE1D,MAAM,WAAW,gBAAgB;IAG/B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"IconWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/IconWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,QAAQ,CAAC;AAE1D,MAAM,WAAW,gBAAgB;IAG/B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAwB5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,SAAS,CAoBrC,CAAC"}
|
|
@@ -17,6 +17,7 @@ export declare const ArrowBackIcon: FC<IconProps>;
|
|
|
17
17
|
export declare const ArrowCircleDownIcon: FC<IconProps>;
|
|
18
18
|
export declare const ArrowCircleLeftOutlinedIcon: FC<IconProps>;
|
|
19
19
|
export declare const ArrowDownIcon: FC<IconProps>;
|
|
20
|
+
export declare const ArrowDownRightIcon: FC<IconProps>;
|
|
20
21
|
export declare const ArrowDownwardIcon: FC<IconProps>;
|
|
21
22
|
export declare const ArrowDropDownIcon: FC<IconProps>;
|
|
22
23
|
export declare const ArrowDropUpIcon: FC<IconProps>;
|
|
@@ -72,6 +73,7 @@ export declare const CircleUserIcon: FC<IconProps>;
|
|
|
72
73
|
export declare const ClearIcon: FC<IconProps>;
|
|
73
74
|
export declare const ClearAllIcon: FC<IconProps>;
|
|
74
75
|
export declare const ClearOutlinedIcon: FC<IconProps>;
|
|
76
|
+
export declare const ClockIcon: FC<IconProps>;
|
|
75
77
|
export declare const CloseIcon: FC<IconProps>;
|
|
76
78
|
export declare const CloseOutlinedIcon: FC<IconProps>;
|
|
77
79
|
export declare const CloseRoundedIcon: FC<IconProps>;
|
|
@@ -89,6 +91,7 @@ export declare const ContentCopyIcon: FC<IconProps>;
|
|
|
89
91
|
export declare const ContentCopyOutlinedIcon: FC<IconProps>;
|
|
90
92
|
export declare const CopyAllOutlinedIcon: FC<IconProps>;
|
|
91
93
|
export declare const CorporateFareIcon: FC<IconProps>;
|
|
94
|
+
export declare const CpuIcon: FC<IconProps>;
|
|
92
95
|
export declare const CreditCardIcon: FC<IconProps>;
|
|
93
96
|
export declare const CrisisAlertOutlinedIcon: FC<IconProps>;
|
|
94
97
|
export declare const CropSquareIcon: FC<IconProps>;
|
|
@@ -147,12 +150,13 @@ export declare const FolderOffIcon: FC<IconProps>;
|
|
|
147
150
|
export declare const FolderOpenIcon: FC<IconProps>;
|
|
148
151
|
export declare const FullscreenIcon: FC<IconProps>;
|
|
149
152
|
export declare const FullscreenExitIcon: FC<IconProps>;
|
|
150
|
-
export declare const GitHubIcon: FC<IconProps>;
|
|
151
153
|
export declare const GaugeIcon: FC<IconProps>;
|
|
154
|
+
export declare const GitHubIcon: FC<IconProps>;
|
|
152
155
|
export declare const GridOnIcon: FC<IconProps>;
|
|
153
156
|
export declare const GridViewIcon: FC<IconProps>;
|
|
154
157
|
export declare const GroupAddIcon: FC<IconProps>;
|
|
155
158
|
export declare const GroupAddOutlinedIcon: FC<IconProps>;
|
|
159
|
+
export declare const HardDriveIcon: FC<IconProps>;
|
|
156
160
|
export declare const HelpIcon: FC<IconProps>;
|
|
157
161
|
export declare const HideImageIcon: FC<IconProps>;
|
|
158
162
|
export declare const HighlightAltIcon: FC<IconProps>;
|
|
@@ -164,6 +168,8 @@ export declare const IdCardIcon: FC<IconProps>;
|
|
|
164
168
|
export declare const ImageIcon: FC<IconProps>;
|
|
165
169
|
export declare const ImageAspectRatioIcon: FC<IconProps>;
|
|
166
170
|
export declare const ImageSearchIcon: FC<IconProps>;
|
|
171
|
+
export declare const ImagesIcon: FC<IconProps>;
|
|
172
|
+
export declare const InfinityIcon: FC<IconProps>;
|
|
167
173
|
export declare const InfoIcon: FC<IconProps>;
|
|
168
174
|
export declare const InfoOutlinedIcon: FC<IconProps>;
|
|
169
175
|
export declare const InputIcon: FC<IconProps>;
|
|
@@ -206,6 +212,7 @@ export declare const MailOutlineIcon: FC<IconProps>;
|
|
|
206
212
|
export declare const MapIcon: FC<IconProps>;
|
|
207
213
|
export declare const MenuIcon: FC<IconProps>;
|
|
208
214
|
export declare const MenuBookIcon: FC<IconProps>;
|
|
215
|
+
export declare const MessageSquareIcon: FC<IconProps>;
|
|
209
216
|
export declare const MoreHorizIcon: FC<IconProps>;
|
|
210
217
|
export declare const MoreHorizontalIcon: FC<IconProps>;
|
|
211
218
|
export declare const MoreVertIcon: FC<IconProps>;
|
|
@@ -245,6 +252,7 @@ export declare const RestartAltIcon: FC<IconProps>;
|
|
|
245
252
|
export declare const RestartAltOutlinedIcon: FC<IconProps>;
|
|
246
253
|
export declare const ReviewIcon: FC<IconProps>;
|
|
247
254
|
export declare const RocketLaunchIcon: FC<IconProps>;
|
|
255
|
+
export declare const RotateCcwIcon: FC<IconProps>;
|
|
248
256
|
export declare const RuleIcon: FC<IconProps>;
|
|
249
257
|
export declare const RuleFolderIcon: FC<IconProps>;
|
|
250
258
|
export declare const SaveIcon: FC<IconProps>;
|