@cube-dev/ui-kit 0.8.5 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/README.md +26 -0
- package/dist/cjs/components/Base.js +58 -0
- package/dist/cjs/components/Block.js +25 -0
- package/dist/cjs/components/GlobalStyles.js +322 -0
- package/dist/cjs/components/GridProvider.js +84 -0
- package/dist/cjs/components/HiddenInput.js +39 -0
- package/dist/cjs/components/OpenTrasition.js +38 -0
- package/dist/cjs/components/Root.js +50 -0
- package/dist/cjs/components/actions/Action.js +136 -0
- package/dist/cjs/components/actions/Button/Button.js +313 -0
- package/dist/cjs/components/actions/Button/Submit.js +29 -0
- package/dist/cjs/components/actions/Button/index.js +23 -0
- package/dist/cjs/components/actions/ButtonGroup/ButtonGroup.js +28 -0
- package/dist/cjs/components/actions/index.js +28 -0
- package/dist/cjs/components/content/ActiveZone/ActiveZone.js +44 -0
- package/dist/cjs/components/content/Avatar/Avatar.js +39 -0
- package/dist/cjs/components/content/Badge/Badge.js +58 -0
- package/dist/cjs/components/content/Card/Card.js +30 -0
- package/dist/cjs/components/content/Content.js +42 -0
- package/dist/cjs/components/content/Divider.js +53 -0
- package/dist/cjs/components/content/Footer.js +36 -0
- package/dist/cjs/components/content/Header.js +35 -0
- package/dist/cjs/components/content/Paragraph.js +27 -0
- package/dist/cjs/components/content/Placeholder/Placeholder.js +51 -0
- package/dist/cjs/components/content/PrismCode/PrismCode.js +44 -0
- package/dist/cjs/components/content/Result/Result.js +105 -0
- package/dist/cjs/components/content/Skeleton/Skeleton.js +79 -0
- package/dist/cjs/components/content/Tag/Tag.js +94 -0
- package/dist/cjs/components/content/Text.js +81 -0
- package/dist/cjs/components/content/Title.js +69 -0
- package/dist/cjs/components/forms/Checkbox/Checkbox.js +177 -0
- package/dist/cjs/components/forms/Checkbox/CheckboxGroup.js +110 -0
- package/dist/cjs/components/forms/Checkbox/context.js +14 -0
- package/dist/cjs/components/forms/FieldWrapper.js +82 -0
- package/dist/cjs/components/forms/FileInput/FileInput.js +151 -0
- package/dist/cjs/components/forms/Form/Field.js +234 -0
- package/dist/cjs/components/forms/Form/Form.js +125 -0
- package/dist/cjs/components/forms/Form/index.js +20 -0
- package/dist/cjs/components/forms/Form/useForm.js +280 -0
- package/dist/cjs/components/forms/Form/validation.js +149 -0
- package/dist/cjs/components/forms/Label.js +90 -0
- package/dist/cjs/components/forms/NumberInput/NumberInput.js +50 -0
- package/dist/cjs/components/forms/NumberInput/StepButton.js +35 -0
- package/dist/cjs/components/forms/PasswordInput/PasswordInput.js +43 -0
- package/dist/cjs/components/forms/RadioGroup/Radio.js +181 -0
- package/dist/cjs/components/forms/RadioGroup/RadioGroup.js +113 -0
- package/dist/cjs/components/forms/RadioGroup/context.js +18 -0
- package/dist/cjs/components/forms/SearchInput/SearchInput.js +45 -0
- package/dist/cjs/components/forms/Switch/Switch.js +156 -0
- package/dist/cjs/components/forms/TextArea/TextArea.js +63 -0
- package/dist/cjs/components/forms/TextInput/TextInput.js +33 -0
- package/dist/cjs/components/forms/TextInput/TextInputBase.js +167 -0
- package/dist/cjs/components/forms/index.js +30 -0
- package/dist/cjs/components/layout/Flex.js +26 -0
- package/dist/cjs/components/layout/Flow.js +27 -0
- package/dist/cjs/components/layout/Grid.js +33 -0
- package/dist/cjs/components/layout/Prefix.js +46 -0
- package/dist/cjs/components/layout/Space.js +35 -0
- package/dist/cjs/components/layout/Suffix.js +45 -0
- package/dist/cjs/components/navigation/LegacyTabs/LegacyTabs.js +255 -0
- package/dist/cjs/components/navigation/Link/Link.js +18 -0
- package/dist/cjs/components/organisms/Alert/Alert.js +41 -0
- package/dist/cjs/components/organisms/CopySnippet/CopySnippet.js +112 -0
- package/dist/cjs/components/organisms/DirectoryTree/DirectoryTree.js +166 -0
- package/dist/cjs/components/organisms/FileTabs/FileTabs.js +300 -0
- package/dist/cjs/components/organisms/Modal/Modal.js +258 -0
- package/dist/cjs/components/organisms/SearchResults/SearchResults.js +108 -0
- package/dist/cjs/components/organisms/StatsCard/StatsCard.js +20 -0
- package/dist/cjs/components/organisms/TopBar/TopBar.js +33 -0
- package/dist/cjs/components/other/Base64Upload/Base64Upload.js +110 -0
- package/dist/cjs/components/other/CloudLogo/CloudLogo.js +43 -0
- package/dist/cjs/components/overlays/AlertDialog/AlertDialog.js +59 -0
- package/dist/cjs/components/overlays/AlertDialog/AlertDialogApiProvider.js +114 -0
- package/dist/cjs/components/overlays/AlertDialog/AlertDialogZone.js +58 -0
- package/dist/cjs/components/overlays/AlertDialog/index.js +24 -0
- package/dist/cjs/components/overlays/AlertDialog/types.js +11 -0
- package/dist/cjs/components/overlays/Dialog/Dialog.js +181 -0
- package/dist/cjs/components/overlays/Dialog/DialogContainer.js +42 -0
- package/dist/cjs/components/overlays/Dialog/DialogForm.js +56 -0
- package/dist/cjs/components/overlays/Dialog/DialogTrigger.js +116 -0
- package/dist/cjs/components/overlays/Dialog/context.js +14 -0
- package/dist/cjs/components/overlays/Dialog/index.js +25 -0
- package/dist/cjs/components/overlays/Modal/Modal.js +86 -0
- package/dist/cjs/components/overlays/Modal/OpenTransition.js +26 -0
- package/dist/cjs/components/overlays/Modal/Overlay.js +40 -0
- package/dist/cjs/components/overlays/Modal/Popover.js +59 -0
- package/dist/cjs/components/overlays/Modal/Tray.js +95 -0
- package/dist/cjs/components/overlays/Modal/Underlay.js +51 -0
- package/dist/cjs/components/overlays/Modal/index.js +22 -0
- package/dist/cjs/components/overlays/Notification/Notification.js +44 -0
- package/dist/cjs/components/overlays/OverlayWrapper.js +35 -0
- package/dist/cjs/components/overlays/Tooltip/Tooltip.js +100 -0
- package/dist/cjs/components/overlays/Tooltip/TooltipProvider.js +26 -0
- package/dist/cjs/components/overlays/Tooltip/TooltipTrigger.js +71 -0
- package/dist/cjs/components/overlays/Tooltip/context.js +17 -0
- package/dist/cjs/components/pickers/ComboBox/ComboBox.js +170 -0
- package/dist/cjs/components/pickers/Select/Select.js +257 -0
- package/dist/cjs/components/portal/Portal.js +48 -0
- package/dist/cjs/components/portal/PortalProvider.js +28 -0
- package/dist/cjs/components/portal/index.js +25 -0
- package/dist/cjs/components/portal/storybook/templates/basic.js +17 -0
- package/dist/cjs/components/portal/storybook/templates/index.js +22 -0
- package/dist/cjs/components/portal/types.js +11 -0
- package/dist/cjs/components/portal/usePortal.js +48 -0
- package/dist/cjs/components/status/LoadingAnimation/LoadingAnimation.js +139 -0
- package/dist/cjs/components/status/Spin/Spin.js +38 -0
- package/dist/cjs/components/types.js +11 -0
- package/dist/cjs/data/themes.js +33 -0
- package/dist/cjs/index.js +182 -30
- package/dist/cjs/provider.js +51 -0
- package/dist/cjs/providers/BreakpointsProvider.js +20 -0
- package/dist/cjs/providers/StylesProvider.js +42 -0
- package/dist/cjs/services/notification.js +67 -0
- package/dist/cjs/shared/form.js +11 -0
- package/dist/cjs/shared/index.js +22 -0
- package/dist/cjs/stories/FormFieldArgs.js +288 -0
- package/dist/cjs/stories/components/ConfirmDeletionDialogForm.js +36 -0
- package/dist/cjs/stories/components/DialogFormApp.js +27 -0
- package/dist/cjs/stories/components/StyledButton.js +37 -0
- package/dist/cjs/stories/lists/baseProps.js +42 -0
- package/dist/cjs/styled/index.js +22 -0
- package/dist/cjs/styled/styled.js +106 -0
- package/dist/cjs/styles/align.js +24 -0
- package/dist/cjs/styles/border.js +52 -0
- package/dist/cjs/styles/boxShadow.combinator.js +26 -0
- package/dist/cjs/styles/color.js +43 -0
- package/dist/cjs/styles/dimension.js +89 -0
- package/dist/cjs/styles/display.js +17 -0
- package/dist/cjs/styles/fill.js +42 -0
- package/dist/cjs/styles/flow.js +24 -0
- package/dist/cjs/styles/font.js +27 -0
- package/dist/cjs/styles/fontStyle.js +23 -0
- package/dist/cjs/styles/gap.js +67 -0
- package/dist/cjs/styles/groupRadius.js +64 -0
- package/dist/cjs/styles/height.js +19 -0
- package/dist/cjs/styles/index.js +105 -0
- package/dist/cjs/styles/justify.js +24 -0
- package/dist/cjs/styles/list.js +87 -0
- package/dist/cjs/styles/margin.js +50 -0
- package/dist/cjs/styles/marginBlock.js +36 -0
- package/dist/cjs/styles/marginInline.js +40 -0
- package/dist/cjs/styles/outline.js +28 -0
- package/dist/cjs/styles/padding.js +51 -0
- package/dist/cjs/styles/paddingBlock.js +40 -0
- package/dist/cjs/styles/paddingInline.js +40 -0
- package/dist/cjs/styles/predefined.js +122 -0
- package/dist/cjs/styles/preset.js +55 -0
- package/dist/cjs/styles/radius.js +76 -0
- package/dist/cjs/styles/reset.js +104 -0
- package/dist/cjs/styles/shadow.js +27 -0
- package/dist/cjs/styles/styledScrollbar.js +55 -0
- package/dist/cjs/styles/transition.js +88 -0
- package/dist/cjs/styles/types.js +11 -0
- package/dist/cjs/styles/width.js +19 -0
- package/dist/cjs/test/setup.js +14 -0
- package/dist/cjs/tokens.js +233 -0
- package/dist/cjs/utils/ResizeSensor.js +324 -0
- package/dist/cjs/utils/colors.js +19 -0
- package/dist/cjs/utils/dotize.js +194 -0
- package/dist/cjs/utils/escape-string.js +21 -0
- package/dist/cjs/utils/filterBaseProps.js +69 -0
- package/dist/cjs/utils/index.js +46 -0
- package/dist/cjs/utils/interactions.js +29 -0
- package/dist/cjs/utils/mergeStyles.js +36 -0
- package/dist/cjs/utils/modules.js +16 -0
- package/dist/cjs/utils/promise.js +18 -0
- package/dist/cjs/utils/react/Slots.js +48 -0
- package/dist/cjs/utils/react/chain.js +25 -0
- package/dist/cjs/utils/react/index.js +30 -0
- package/dist/cjs/utils/react/isTextOnly.js +17 -0
- package/dist/cjs/utils/react/mapProps.js +30 -0
- package/dist/cjs/utils/react/mergeProps.js +67 -0
- package/dist/cjs/utils/react/modAttrs.js +26 -0
- package/dist/cjs/utils/react/nullableValue.js +46 -0
- package/dist/cjs/utils/react/useCombinedRefs.js +30 -0
- package/dist/cjs/utils/react/useId.js +87 -0
- package/dist/cjs/utils/react/useLayoutEffect.js +36 -0
- package/dist/cjs/utils/react/wrapNodeIfPlain.js +22 -0
- package/dist/cjs/utils/renderStyles.js +132 -0
- package/dist/cjs/utils/responsive.js +72 -0
- package/dist/cjs/utils/string.js +16 -0
- package/dist/cjs/utils/styles.js +870 -0
- package/dist/cjs/utils/transitions.js +67 -0
- package/dist/cjs/utils/tree.js +28 -0
- package/dist/cjs/utils/warnings.js +55 -0
- package/dist/es/components/Base.js +52 -0
- package/dist/es/components/Block.js +22 -0
- package/dist/es/components/GlobalStyles.js +319 -0
- package/dist/es/components/GridProvider.js +63 -0
- package/dist/es/components/HiddenInput.js +33 -0
- package/dist/es/components/OpenTrasition.js +31 -0
- package/dist/es/components/Root.js +46 -0
- package/dist/es/components/actions/Action.js +130 -0
- package/dist/es/components/actions/Button/Button.js +309 -0
- package/dist/es/components/actions/Button/Submit.js +26 -0
- package/dist/es/components/actions/Button/index.js +11 -0
- package/dist/es/components/actions/ButtonGroup/ButtonGroup.js +25 -0
- package/dist/es/components/actions/index.js +15 -0
- package/dist/es/components/content/ActiveZone/ActiveZone.js +41 -0
- package/dist/es/components/content/Avatar/Avatar.js +36 -0
- package/dist/es/components/content/Badge/Badge.js +52 -0
- package/dist/es/components/content/Card/Card.js +27 -0
- package/dist/es/components/content/Content.js +39 -0
- package/dist/es/components/content/Divider.js +50 -0
- package/dist/es/components/content/Footer.js +33 -0
- package/dist/es/components/content/Header.js +32 -0
- package/dist/es/components/content/Paragraph.js +24 -0
- package/dist/es/components/content/Placeholder/Placeholder.js +48 -0
- package/dist/es/components/content/PrismCode/PrismCode.js +38 -0
- package/dist/es/components/content/Result/Result.js +102 -0
- package/dist/es/components/content/Skeleton/Skeleton.js +75 -0
- package/dist/es/components/content/Tag/Tag.js +88 -0
- package/dist/es/components/content/Text.js +78 -0
- package/dist/es/components/content/Title.js +66 -0
- package/dist/es/components/forms/Checkbox/Checkbox.js +174 -0
- package/dist/es/components/forms/Checkbox/CheckboxGroup.js +107 -0
- package/dist/es/components/forms/Checkbox/context.js +11 -0
- package/dist/es/components/forms/FieldWrapper.js +79 -0
- package/dist/es/components/forms/FileInput/FileInput.js +148 -0
- package/dist/es/components/forms/Form/Field.js +230 -0
- package/dist/es/components/forms/Form/Form.js +121 -0
- package/dist/es/components/forms/Form/index.js +14 -0
- package/dist/es/components/forms/Form/useForm.js +275 -0
- package/dist/es/components/forms/Form/validation.js +141 -0
- package/dist/es/components/forms/Label.js +87 -0
- package/dist/es/components/forms/NumberInput/NumberInput.js +47 -0
- package/dist/es/components/forms/NumberInput/StepButton.js +31 -0
- package/dist/es/components/forms/PasswordInput/PasswordInput.js +40 -0
- package/dist/es/components/forms/RadioGroup/Radio.js +178 -0
- package/dist/es/components/forms/RadioGroup/RadioGroup.js +110 -0
- package/dist/es/components/forms/RadioGroup/context.js +14 -0
- package/dist/es/components/forms/SearchInput/SearchInput.js +42 -0
- package/dist/es/components/forms/Switch/Switch.js +153 -0
- package/dist/es/components/forms/TextArea/TextArea.js +60 -0
- package/dist/es/components/forms/TextInput/TextInput.js +30 -0
- package/dist/es/components/forms/TextInput/TextInputBase.js +164 -0
- package/dist/es/components/forms/index.js +22 -0
- package/dist/es/components/layout/Flex.js +23 -0
- package/dist/es/components/layout/Flow.js +24 -0
- package/dist/es/components/layout/Grid.js +30 -0
- package/dist/es/components/layout/Prefix.js +43 -0
- package/dist/es/components/layout/Space.js +32 -0
- package/dist/es/components/layout/Suffix.js +42 -0
- package/dist/es/components/navigation/LegacyTabs/LegacyTabs.js +251 -0
- package/dist/es/components/navigation/Link/Link.js +15 -0
- package/dist/es/components/organisms/Alert/Alert.js +35 -0
- package/dist/es/components/organisms/CopySnippet/CopySnippet.js +105 -0
- package/dist/es/components/organisms/DirectoryTree/DirectoryTree.js +162 -0
- package/dist/es/components/organisms/FileTabs/FileTabs.js +296 -0
- package/dist/es/components/organisms/Modal/Modal.js +251 -0
- package/dist/es/components/organisms/SearchResults/SearchResults.js +104 -0
- package/dist/es/components/organisms/StatsCard/StatsCard.js +16 -0
- package/dist/es/components/organisms/TopBar/TopBar.js +29 -0
- package/dist/es/components/other/Base64Upload/Base64Upload.js +104 -0
- package/dist/es/components/other/CloudLogo/CloudLogo.js +37 -0
- package/dist/es/components/overlays/AlertDialog/AlertDialog.js +56 -0
- package/dist/es/components/overlays/AlertDialog/AlertDialogApiProvider.js +106 -0
- package/dist/es/components/overlays/AlertDialog/AlertDialogZone.js +54 -0
- package/dist/es/components/overlays/AlertDialog/index.js +12 -0
- package/dist/es/components/overlays/AlertDialog/types.js +10 -0
- package/dist/es/components/overlays/Dialog/Dialog.js +178 -0
- package/dist/es/components/overlays/Dialog/DialogContainer.js +38 -0
- package/dist/es/components/overlays/Dialog/DialogForm.js +53 -0
- package/dist/es/components/overlays/Dialog/DialogTrigger.js +113 -0
- package/dist/es/components/overlays/Dialog/context.js +11 -0
- package/dist/es/components/overlays/Dialog/index.js +13 -0
- package/dist/es/components/overlays/Modal/Modal.js +83 -0
- package/dist/es/components/overlays/Modal/OpenTransition.js +19 -0
- package/dist/es/components/overlays/Modal/Overlay.js +37 -0
- package/dist/es/components/overlays/Modal/Popover.js +56 -0
- package/dist/es/components/overlays/Modal/Tray.js +92 -0
- package/dist/es/components/overlays/Modal/Underlay.js +48 -0
- package/dist/{mjs/components/overlays/Modal/index.d.ts → es/components/overlays/Modal/index.js} +9 -0
- package/dist/es/components/overlays/Notification/Notification.js +37 -0
- package/dist/es/components/overlays/OverlayWrapper.js +31 -0
- package/dist/es/components/overlays/Tooltip/Tooltip.js +97 -0
- package/dist/es/components/overlays/Tooltip/TooltipProvider.js +23 -0
- package/dist/es/components/overlays/Tooltip/TooltipTrigger.js +68 -0
- package/dist/es/components/overlays/Tooltip/context.js +11 -0
- package/dist/es/components/pickers/ComboBox/ComboBox.js +167 -0
- package/dist/es/components/pickers/Select/Select.js +253 -0
- package/dist/es/components/portal/Portal.js +41 -0
- package/dist/es/components/portal/PortalProvider.js +24 -0
- package/dist/es/components/portal/index.js +11 -0
- package/dist/es/components/portal/storybook/templates/basic.js +13 -0
- package/dist/es/components/portal/storybook/templates/index.js +10 -0
- package/dist/es/components/portal/types.js +10 -0
- package/dist/es/components/portal/usePortal.js +41 -0
- package/dist/es/components/status/LoadingAnimation/LoadingAnimation.js +132 -0
- package/dist/es/components/status/Spin/Spin.js +35 -0
- package/dist/es/components/types.js +10 -0
- package/dist/es/data/themes.js +31 -0
- package/dist/es/index.js +96 -0
- package/dist/es/provider.js +46 -0
- package/dist/es/providers/BreakpointsProvider.js +16 -0
- package/dist/es/providers/StylesProvider.js +37 -0
- package/dist/es/services/notification.js +61 -0
- package/dist/es/shared/form.js +10 -0
- package/dist/es/shared/index.js +10 -0
- package/dist/es/stories/FormFieldArgs.js +285 -0
- package/dist/es/stories/components/ConfirmDeletionDialogForm.js +33 -0
- package/dist/es/stories/components/DialogFormApp.js +23 -0
- package/dist/es/stories/components/StyledButton.js +33 -0
- package/dist/es/stories/lists/baseProps.js +39 -0
- package/dist/es/styled/index.js +10 -0
- package/dist/es/styled/styled.js +84 -0
- package/dist/es/styles/align.js +20 -0
- package/dist/es/styles/border.js +48 -0
- package/dist/es/styles/boxShadow.combinator.js +22 -0
- package/dist/es/styles/color.js +39 -0
- package/dist/es/styles/dimension.js +85 -0
- package/dist/es/styles/display.js +13 -0
- package/dist/es/styles/fill.js +38 -0
- package/dist/es/styles/flow.js +20 -0
- package/dist/es/styles/font.js +23 -0
- package/dist/es/styles/fontStyle.js +19 -0
- package/dist/es/styles/gap.js +63 -0
- package/dist/es/styles/groupRadius.js +60 -0
- package/dist/es/styles/height.js +15 -0
- package/dist/es/styles/index.js +99 -0
- package/dist/es/styles/justify.js +20 -0
- package/dist/es/styles/list.js +84 -0
- package/dist/es/styles/margin.js +46 -0
- package/dist/es/styles/marginBlock.js +32 -0
- package/dist/es/styles/marginInline.js +36 -0
- package/dist/es/styles/outline.js +24 -0
- package/dist/es/styles/padding.js +47 -0
- package/dist/es/styles/paddingBlock.js +36 -0
- package/dist/es/styles/paddingInline.js +36 -0
- package/dist/es/styles/predefined.js +120 -0
- package/dist/es/styles/preset.js +51 -0
- package/dist/es/styles/radius.js +72 -0
- package/dist/es/styles/reset.js +100 -0
- package/dist/es/styles/shadow.js +23 -0
- package/dist/es/styles/styledScrollbar.js +51 -0
- package/dist/es/styles/transition.js +84 -0
- package/dist/es/styles/types.js +10 -0
- package/dist/es/styles/width.js +15 -0
- package/dist/es/test/setup.js +12 -0
- package/dist/es/tokens.js +230 -0
- package/dist/es/utils/ResizeSensor.js +320 -0
- package/dist/es/utils/colors.js +15 -0
- package/dist/es/utils/dotize.js +191 -0
- package/dist/es/utils/escape-string.js +18 -0
- package/dist/es/utils/filterBaseProps.js +65 -0
- package/dist/es/utils/index.js +42 -0
- package/dist/es/utils/interactions.js +25 -0
- package/dist/es/utils/mergeStyles.js +32 -0
- package/dist/es/utils/modules.js +12 -0
- package/dist/es/utils/promise.js +14 -0
- package/dist/es/utils/react/Slots.js +42 -0
- package/dist/es/utils/react/chain.js +21 -0
- package/dist/{mjs/utils/react/index.d.ts → es/utils/react/index.js} +9 -0
- package/dist/es/utils/react/isTextOnly.js +13 -0
- package/dist/es/utils/react/mapProps.js +25 -0
- package/dist/es/utils/react/mergeProps.js +60 -0
- package/dist/es/utils/react/modAttrs.js +22 -0
- package/dist/es/utils/react/nullableValue.js +37 -0
- package/dist/es/utils/react/useCombinedRefs.js +26 -0
- package/dist/es/utils/react/useId.js +81 -0
- package/dist/es/utils/react/useLayoutEffect.js +14 -0
- package/dist/es/utils/react/wrapNodeIfPlain.js +18 -0
- package/dist/es/utils/renderStyles.js +127 -0
- package/dist/es/utils/responsive.js +66 -0
- package/dist/es/utils/string.js +12 -0
- package/dist/es/utils/styles.js +844 -0
- package/dist/es/utils/transitions.js +63 -0
- package/dist/es/utils/tree.js +24 -0
- package/dist/es/utils/warnings.js +48 -0
- package/dist/package.json +79 -0
- package/dist/{cjs → types}/components/Base.d.ts +0 -0
- package/dist/{cjs → types}/components/Block.d.ts +0 -0
- package/dist/{cjs → types}/components/GlobalStyles.d.ts +0 -0
- package/dist/{cjs → types}/components/GridProvider.d.ts +0 -0
- package/dist/{cjs → types}/components/HiddenInput.d.ts +0 -0
- package/dist/{cjs → types}/components/OpenTrasition.d.ts +0 -0
- package/dist/{cjs → types}/components/Root.d.ts +0 -0
- package/dist/{cjs → types}/components/actions/Action.d.ts +0 -0
- package/dist/{cjs → types}/components/actions/Button/Button.d.ts +1 -1
- package/dist/{cjs → types}/components/actions/Button/Submit.d.ts +0 -0
- package/dist/types/components/actions/Button/index.d.ts +2 -0
- package/dist/{cjs → types}/components/actions/ButtonGroup/ButtonGroup.d.ts +0 -0
- package/dist/types/components/actions/index.d.ts +10 -0
- package/dist/{cjs → types}/components/content/ActiveZone/ActiveZone.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Avatar/Avatar.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Badge/Badge.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Card/Card.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Content.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Divider.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Footer.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Header.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Paragraph.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Placeholder/Placeholder.d.ts +0 -0
- package/dist/{cjs → types}/components/content/PrismCode/PrismCode.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Result/Result.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Skeleton/Skeleton.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Tag/Tag.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Text.d.ts +0 -0
- package/dist/{cjs → types}/components/content/Title.d.ts +0 -0
- package/dist/{mjs → types}/components/forms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/{mjs → types}/components/forms/Checkbox/CheckboxGroup.d.ts +1 -1
- package/dist/{cjs → types}/components/forms/Checkbox/context.d.ts +0 -0
- package/dist/{cjs → types}/components/forms/FieldWrapper.d.ts +0 -0
- package/dist/{cjs → types}/components/forms/FileInput/FileInput.d.ts +1 -1
- package/dist/{cjs → types}/components/forms/Form/Field.d.ts +0 -0
- package/dist/{cjs → types}/components/forms/Form/Form.d.ts +0 -0
- package/dist/types/components/forms/Form/index.d.ts +14 -0
- package/dist/{cjs → types}/components/forms/Form/useForm.d.ts +0 -0
- package/dist/{cjs → types}/components/forms/Form/validation.d.ts +0 -0
- package/dist/{cjs → types}/components/forms/Label.d.ts +0 -0
- package/dist/{mjs → types}/components/forms/NumberInput/NumberInput.d.ts +1 -1
- package/dist/{cjs → types}/components/forms/NumberInput/StepButton.d.ts +0 -0
- package/dist/{cjs → types}/components/forms/PasswordInput/PasswordInput.d.ts +0 -0
- package/dist/{mjs → types}/components/forms/RadioGroup/Radio.d.ts +1 -1
- package/dist/{mjs → types}/components/forms/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/{cjs → types}/components/forms/RadioGroup/context.d.ts +0 -0
- package/dist/{cjs → types}/components/forms/SearchInput/SearchInput.d.ts +0 -0
- package/dist/{cjs → types}/components/forms/Switch/Switch.d.ts +1 -1
- package/dist/{cjs → types}/components/forms/TextArea/TextArea.d.ts +0 -0
- package/dist/{cjs → types}/components/forms/TextInput/TextInput.d.ts +0 -0
- package/dist/{cjs → types}/components/forms/TextInput/TextInputBase.d.ts +1 -1
- package/dist/types/components/forms/index.d.ts +35 -0
- package/dist/{cjs → types}/components/layout/Flex.d.ts +0 -0
- package/dist/{cjs → types}/components/layout/Flow.d.ts +0 -0
- package/dist/{cjs → types}/components/layout/Grid.d.ts +0 -0
- package/dist/{cjs → types}/components/layout/Prefix.d.ts +0 -0
- package/dist/{cjs → types}/components/layout/Space.d.ts +0 -0
- package/dist/{cjs → types}/components/layout/Suffix.d.ts +0 -0
- package/dist/{cjs → types}/components/navigation/LegacyTabs/LegacyTabs.d.ts +0 -0
- package/dist/{cjs → types}/components/navigation/Link/Link.d.ts +0 -0
- package/dist/{cjs → types}/components/organisms/Alert/Alert.d.ts +0 -0
- package/dist/{cjs → types}/components/organisms/CopySnippet/CopySnippet.d.ts +0 -0
- package/dist/{cjs → types}/components/organisms/DirectoryTree/DirectoryTree.d.ts +0 -0
- package/dist/{cjs → types}/components/organisms/FileTabs/FileTabs.d.ts +0 -0
- package/dist/{mjs → types}/components/organisms/Modal/Modal.d.ts +2 -0
- package/dist/{cjs → types}/components/organisms/SearchResults/SearchResults.d.ts +0 -0
- package/dist/{cjs → types}/components/organisms/StatsCard/StatsCard.d.ts +0 -0
- package/dist/{cjs → types}/components/organisms/TopBar/TopBar.d.ts +0 -0
- package/dist/{cjs → types}/components/other/Base64Upload/Base64Upload.d.ts +0 -0
- package/dist/{cjs → types}/components/other/CloudLogo/CloudLogo.d.ts +0 -0
- package/dist/{mjs → types}/components/overlays/AlertDialog/AlertDialog.d.ts +3 -2
- package/dist/types/components/overlays/AlertDialog/AlertDialogApiProvider.d.ts +48 -0
- package/dist/types/components/overlays/AlertDialog/AlertDialogZone.d.ts +9 -0
- package/dist/types/components/overlays/AlertDialog/index.d.ts +3 -0
- package/dist/types/components/overlays/AlertDialog/types.d.ts +39 -0
- package/dist/{mjs → types}/components/overlays/Dialog/Dialog.d.ts +1 -1
- package/dist/{mjs → types}/components/overlays/Dialog/DialogContainer.d.ts +9 -4
- package/dist/{cjs → types}/components/overlays/Dialog/DialogForm.d.ts +0 -0
- package/dist/{cjs → types}/components/overlays/Dialog/DialogTrigger.d.ts +0 -0
- package/dist/{cjs → types}/components/overlays/Dialog/context.d.ts +0 -0
- package/dist/types/components/overlays/Dialog/index.d.ts +4 -0
- package/dist/{cjs → types}/components/overlays/Modal/Modal.d.ts +3 -2
- package/dist/{cjs → types}/components/overlays/Modal/OpenTransition.d.ts +0 -0
- package/dist/{cjs → types}/components/overlays/Modal/Overlay.d.ts +3 -2
- package/dist/{mjs → types}/components/overlays/Modal/Popover.d.ts +1 -0
- package/dist/{mjs → types}/components/overlays/Modal/Tray.d.ts +2 -1
- package/dist/{cjs → types}/components/overlays/Modal/Underlay.d.ts +0 -0
- package/dist/{cjs → types}/components/overlays/Modal/index.d.ts +0 -0
- package/dist/{cjs → types}/components/overlays/Notification/Notification.d.ts +0 -0
- package/dist/{mjs → types}/components/overlays/OverlayWrapper.d.ts +2 -2
- package/dist/{cjs → types}/components/overlays/Tooltip/Tooltip.d.ts +1 -1
- package/dist/{cjs → types}/components/overlays/Tooltip/TooltipProvider.d.ts +0 -0
- package/dist/{cjs → types}/components/overlays/Tooltip/TooltipTrigger.d.ts +1 -1
- package/dist/{cjs → types}/components/overlays/Tooltip/context.d.ts +0 -0
- package/dist/{mjs → types}/components/pickers/ComboBox/ComboBox.d.ts +2 -2
- package/dist/{mjs → types}/components/pickers/Select/Select.d.ts +1 -1
- package/dist/types/components/portal/Portal.d.ts +26 -0
- package/dist/types/components/portal/PortalProvider.d.ts +13 -0
- package/dist/types/components/portal/index.d.ts +3 -0
- package/dist/types/components/portal/storybook/templates/basic.d.ts +3 -0
- package/dist/types/components/portal/storybook/templates/index.d.ts +1 -0
- package/dist/types/components/portal/types.d.ts +21 -0
- package/dist/types/components/portal/usePortal.d.ts +10 -0
- package/dist/{cjs → types}/components/status/LoadingAnimation/LoadingAnimation.d.ts +0 -0
- package/dist/{cjs → types}/components/status/Spin/Spin.d.ts +0 -0
- package/dist/{mjs → types}/components/types.d.ts +3 -4
- package/dist/{cjs → types}/data/themes.d.ts +0 -0
- package/dist/{mjs → types}/index.d.ts +7 -56
- package/dist/{mjs → types}/provider.d.ts +1 -2
- package/dist/{cjs → types}/providers/BreakpointsProvider.d.ts +0 -0
- package/dist/{cjs → types}/providers/StylesProvider.d.ts +0 -0
- package/dist/{cjs → types}/services/notification.d.ts +0 -0
- package/dist/{cjs → types}/shared/form.d.ts +0 -0
- package/dist/{cjs → types}/shared/index.d.ts +0 -0
- package/dist/{cjs → types}/stories/FormFieldArgs.d.ts +0 -0
- package/dist/{cjs → types}/stories/components/ConfirmDeletionDialogForm.d.ts +0 -0
- package/dist/{cjs → types}/stories/components/DialogFormApp.d.ts +0 -0
- package/dist/types/stories/components/StyledButton.d.ts +119 -0
- package/dist/{cjs → types}/stories/lists/baseProps.d.ts +0 -0
- package/dist/types/styled/index.d.ts +1 -0
- package/dist/types/styled/styled.d.ts +30 -0
- package/dist/{cjs → types}/styles/align.d.ts +0 -0
- package/dist/{cjs → types}/styles/border.d.ts +0 -0
- package/dist/{cjs → types}/styles/boxShadow.combinator.d.ts +0 -0
- package/dist/{cjs → types}/styles/color.d.ts +0 -0
- package/dist/{cjs → types}/styles/dimension.d.ts +0 -0
- package/dist/{cjs → types}/styles/display.d.ts +0 -0
- package/dist/{cjs → types}/styles/fill.d.ts +0 -0
- package/dist/{cjs → types}/styles/flow.d.ts +0 -0
- package/dist/{cjs → types}/styles/font.d.ts +0 -0
- package/dist/{cjs → types}/styles/fontStyle.d.ts +0 -0
- package/dist/{cjs → types}/styles/gap.d.ts +0 -0
- package/dist/{cjs → types}/styles/groupRadius.d.ts +0 -0
- package/dist/{cjs → types}/styles/height.d.ts +0 -0
- package/dist/{cjs → types}/styles/index.d.ts +0 -0
- package/dist/{cjs → types}/styles/justify.d.ts +0 -0
- package/dist/{cjs → types}/styles/list.d.ts +0 -0
- package/dist/{cjs → types}/styles/margin.d.ts +0 -0
- package/dist/{cjs → types}/styles/marginBlock.d.ts +0 -0
- package/dist/{cjs → types}/styles/marginInline.d.ts +0 -0
- package/dist/{cjs → types}/styles/outline.d.ts +0 -0
- package/dist/{cjs → types}/styles/padding.d.ts +0 -0
- package/dist/{cjs → types}/styles/paddingBlock.d.ts +0 -0
- package/dist/{cjs → types}/styles/paddingInline.d.ts +0 -0
- package/dist/{cjs → types}/styles/predefined.d.ts +0 -0
- package/dist/{cjs → types}/styles/preset.d.ts +0 -0
- package/dist/{cjs → types}/styles/radius.d.ts +0 -0
- package/dist/{cjs → types}/styles/reset.d.ts +0 -0
- package/dist/{cjs → types}/styles/shadow.d.ts +0 -0
- package/dist/{cjs → types}/styles/styledScrollbar.d.ts +0 -0
- package/dist/{cjs → types}/styles/transition.d.ts +0 -0
- package/dist/{cjs → types}/styles/types.d.ts +0 -0
- package/dist/{cjs → types}/styles/width.d.ts +0 -0
- package/dist/types/test/setup.d.ts +3 -0
- package/dist/{cjs → types}/tokens.d.ts +0 -0
- package/dist/{cjs → types}/utils/ResizeSensor.d.ts +0 -0
- package/dist/{cjs → types}/utils/colors.d.ts +0 -0
- package/dist/{cjs → types}/utils/dotize.d.ts +0 -0
- package/dist/{cjs → types}/utils/escape-string.d.ts +0 -0
- package/dist/{cjs → types}/utils/filterBaseProps.d.ts +0 -0
- package/dist/{cjs → types}/utils/index.d.ts +0 -0
- package/dist/{cjs → types}/utils/interactions.d.ts +0 -0
- package/dist/{cjs → types}/utils/mergeStyles.d.ts +0 -0
- package/dist/{cjs → types}/utils/modules.d.ts +0 -0
- package/dist/{cjs → types}/utils/promise.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/Slots.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/chain.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/index.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/isTextOnly.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/mapProps.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/mergeProps.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/modAttrs.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/nullableValue.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/useCombinedRefs.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/useId.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/useLayoutEffect.d.ts +0 -0
- package/dist/{cjs → types}/utils/react/wrapNodeIfPlain.d.ts +0 -0
- package/dist/{cjs → types}/utils/renderStyles.d.ts +0 -0
- package/dist/{cjs → types}/utils/responsive.d.ts +0 -0
- package/dist/{cjs → types}/utils/string.d.ts +0 -0
- package/dist/{cjs → types}/utils/styles.d.ts +0 -0
- package/dist/{cjs → types}/utils/transitions.d.ts +0 -0
- package/dist/{cjs → types}/utils/tree.d.ts +0 -0
- package/dist/types/utils/warnings.d.ts +9 -0
- package/package.json +73 -58
- package/dist/cjs/App.d.ts +0 -3
- package/dist/cjs/components/forms/Checkbox/Checkbox.d.ts +0 -19
- package/dist/cjs/components/forms/Checkbox/CheckboxGroup.d.ts +0 -16
- package/dist/cjs/components/forms/Form/index.d.ts +0 -5
- package/dist/cjs/components/forms/NumberInput/NumberInput.d.ts +0 -15
- package/dist/cjs/components/forms/RadioGroup/Radio.d.ts +0 -27
- package/dist/cjs/components/forms/RadioGroup/RadioGroup.d.ts +0 -17
- package/dist/cjs/components/organisms/Modal/Modal.d.ts +0 -26
- package/dist/cjs/components/overlays/AlertDialog/AlertDialog.d.ts +0 -20
- package/dist/cjs/components/overlays/Dialog/Dialog.d.ts +0 -21
- package/dist/cjs/components/overlays/Dialog/DialogContainer.d.ts +0 -22
- package/dist/cjs/components/overlays/Dialog/api.d.ts +0 -24
- package/dist/cjs/components/overlays/Dialog/index.d.ts +0 -12
- package/dist/cjs/components/overlays/Modal/Popover.d.ts +0 -16
- package/dist/cjs/components/overlays/Modal/Tray.d.ts +0 -13
- package/dist/cjs/components/overlays/OverlayWrapper.d.ts +0 -10
- package/dist/cjs/components/pickers/ComboBox/ComboBox.d.ts +0 -25
- package/dist/cjs/components/pickers/Select/Select.d.ts +0 -48
- package/dist/cjs/components/types.d.ts +0 -82
- package/dist/cjs/index.d.ts +0 -200
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/provider.d.ts +0 -24
- package/dist/cjs/stories/components/StyledButton.d.ts +0 -4
- package/dist/cjs/styled.d.ts +0 -11
- package/dist/cjs/utils/warnings.d.ts +0 -3
- package/dist/mjs/App.d.ts +0 -3
- package/dist/mjs/components/Base.d.ts +0 -4
- package/dist/mjs/components/Block.d.ts +0 -8
- package/dist/mjs/components/GlobalStyles.d.ts +0 -1
- package/dist/mjs/components/GridProvider.d.ts +0 -10
- package/dist/mjs/components/HiddenInput.d.ts +0 -1
- package/dist/mjs/components/OpenTrasition.d.ts +0 -14
- package/dist/mjs/components/Root.d.ts +0 -17
- package/dist/mjs/components/actions/Action.d.ts +0 -24
- package/dist/mjs/components/actions/Button/Button.d.ts +0 -19
- package/dist/mjs/components/actions/Button/Submit.d.ts +0 -3
- package/dist/mjs/components/actions/ButtonGroup/ButtonGroup.d.ts +0 -3
- package/dist/mjs/components/content/ActiveZone/ActiveZone.d.ts +0 -9
- package/dist/mjs/components/content/Avatar/Avatar.d.ts +0 -8
- package/dist/mjs/components/content/Badge/Badge.d.ts +0 -7
- package/dist/mjs/components/content/Card/Card.d.ts +0 -5
- package/dist/mjs/components/content/Content.d.ts +0 -5
- package/dist/mjs/components/content/Divider.d.ts +0 -5
- package/dist/mjs/components/content/Footer.d.ts +0 -5
- package/dist/mjs/components/content/Header.d.ts +0 -5
- package/dist/mjs/components/content/Paragraph.d.ts +0 -6
- package/dist/mjs/components/content/Placeholder/Placeholder.d.ts +0 -8
- package/dist/mjs/components/content/PrismCode/PrismCode.d.ts +0 -17
- package/dist/mjs/components/content/Result/Result.d.ts +0 -20
- package/dist/mjs/components/content/Skeleton/Skeleton.d.ts +0 -56
- package/dist/mjs/components/content/Tag/Tag.d.ts +0 -10
- package/dist/mjs/components/content/Text.d.ts +0 -37
- package/dist/mjs/components/content/Title.d.ts +0 -12
- package/dist/mjs/components/forms/Checkbox/context.d.ts +0 -3
- package/dist/mjs/components/forms/FieldWrapper.d.ts +0 -32
- package/dist/mjs/components/forms/FileInput/FileInput.d.ts +0 -27
- package/dist/mjs/components/forms/Form/Field.d.ts +0 -31
- package/dist/mjs/components/forms/Form/Form.d.ts +0 -30
- package/dist/mjs/components/forms/Form/index.d.ts +0 -5
- package/dist/mjs/components/forms/Form/useForm.d.ts +0 -52
- package/dist/mjs/components/forms/Form/validation.d.ts +0 -2
- package/dist/mjs/components/forms/Label.d.ts +0 -18
- package/dist/mjs/components/forms/NumberInput/StepButton.d.ts +0 -5
- package/dist/mjs/components/forms/PasswordInput/PasswordInput.d.ts +0 -12
- package/dist/mjs/components/forms/RadioGroup/context.d.ts +0 -4
- package/dist/mjs/components/forms/SearchInput/SearchInput.d.ts +0 -10
- package/dist/mjs/components/forms/Switch/Switch.d.ts +0 -19
- package/dist/mjs/components/forms/TextArea/TextArea.d.ts +0 -19
- package/dist/mjs/components/forms/TextInput/TextInput.d.ts +0 -12
- package/dist/mjs/components/forms/TextInput/TextInputBase.d.ts +0 -42
- package/dist/mjs/components/layout/Flex.d.ts +0 -5
- package/dist/mjs/components/layout/Flow.d.ts +0 -5
- package/dist/mjs/components/layout/Grid.d.ts +0 -5
- package/dist/mjs/components/layout/Prefix.d.ts +0 -7
- package/dist/mjs/components/layout/Space.d.ts +0 -6
- package/dist/mjs/components/layout/Suffix.d.ts +0 -7
- package/dist/mjs/components/navigation/LegacyTabs/LegacyTabs.d.ts +0 -43
- package/dist/mjs/components/navigation/Link/Link.d.ts +0 -3
- package/dist/mjs/components/organisms/Alert/Alert.d.ts +0 -8
- package/dist/mjs/components/organisms/CopySnippet/CopySnippet.d.ts +0 -26
- package/dist/mjs/components/organisms/DirectoryTree/DirectoryTree.d.ts +0 -44
- package/dist/mjs/components/organisms/FileTabs/FileTabs.d.ts +0 -34
- package/dist/mjs/components/organisms/SearchResults/SearchResults.d.ts +0 -31
- package/dist/mjs/components/organisms/StatsCard/StatsCard.d.ts +0 -8
- package/dist/mjs/components/organisms/TopBar/TopBar.d.ts +0 -6
- package/dist/mjs/components/other/Base64Upload/Base64Upload.d.ts +0 -5
- package/dist/mjs/components/other/CloudLogo/CloudLogo.d.ts +0 -4
- package/dist/mjs/components/overlays/Dialog/DialogForm.d.ts +0 -27
- package/dist/mjs/components/overlays/Dialog/DialogTrigger.d.ts +0 -36
- package/dist/mjs/components/overlays/Dialog/api.d.ts +0 -24
- package/dist/mjs/components/overlays/Dialog/context.d.ts +0 -7
- package/dist/mjs/components/overlays/Dialog/index.d.ts +0 -12
- package/dist/mjs/components/overlays/Modal/Modal.d.ts +0 -13
- package/dist/mjs/components/overlays/Modal/OpenTransition.d.ts +0 -2
- package/dist/mjs/components/overlays/Modal/Overlay.d.ts +0 -6
- package/dist/mjs/components/overlays/Modal/Underlay.d.ts +0 -9
- package/dist/mjs/components/overlays/Notification/Notification.d.ts +0 -7
- package/dist/mjs/components/overlays/Tooltip/Tooltip.d.ts +0 -16
- package/dist/mjs/components/overlays/Tooltip/TooltipProvider.d.ts +0 -13
- package/dist/mjs/components/overlays/Tooltip/TooltipTrigger.d.ts +0 -20
- package/dist/mjs/components/overlays/Tooltip/context.d.ts +0 -16
- package/dist/mjs/components/status/LoadingAnimation/LoadingAnimation.d.ts +0 -6
- package/dist/mjs/components/status/Spin/Spin.d.ts +0 -8
- package/dist/mjs/data/themes.d.ts +0 -23
- package/dist/mjs/index.js +0 -46
- package/dist/mjs/index.js.map +0 -1
- package/dist/mjs/providers/BreakpointsProvider.d.ts +0 -8
- package/dist/mjs/providers/StylesProvider.d.ts +0 -10
- package/dist/mjs/services/notification.d.ts +0 -25
- package/dist/mjs/shared/form.d.ts +0 -70
- package/dist/mjs/shared/index.d.ts +0 -3
- package/dist/mjs/stories/FormFieldArgs.d.ts +0 -325
- package/dist/mjs/stories/components/ConfirmDeletionDialogForm.d.ts +0 -7
- package/dist/mjs/stories/components/DialogFormApp.d.ts +0 -2
- package/dist/mjs/stories/components/StyledButton.d.ts +0 -4
- package/dist/mjs/stories/lists/baseProps.d.ts +0 -1
- package/dist/mjs/styled.d.ts +0 -11
- package/dist/mjs/styles/align.d.ts +0 -9
- package/dist/mjs/styles/border.d.ts +0 -11
- package/dist/mjs/styles/boxShadow.combinator.d.ts +0 -6
- package/dist/mjs/styles/color.d.ts +0 -6
- package/dist/mjs/styles/dimension.d.ts +0 -4
- package/dist/mjs/styles/display.d.ts +0 -9
- package/dist/mjs/styles/fill.d.ts +0 -6
- package/dist/mjs/styles/flow.d.ts +0 -9
- package/dist/mjs/styles/font.d.ts +0 -9
- package/dist/mjs/styles/fontStyle.d.ts +0 -8
- package/dist/mjs/styles/gap.d.ts +0 -21
- package/dist/mjs/styles/groupRadius.d.ts +0 -11
- package/dist/mjs/styles/height.d.ts +0 -9
- package/dist/mjs/styles/index.d.ts +0 -8
- package/dist/mjs/styles/justify.d.ts +0 -9
- package/dist/mjs/styles/list.d.ts +0 -9
- package/dist/mjs/styles/margin.d.ts +0 -12
- package/dist/mjs/styles/marginBlock.d.ts +0 -8
- package/dist/mjs/styles/marginInline.d.ts +0 -8
- package/dist/mjs/styles/outline.d.ts +0 -8
- package/dist/mjs/styles/padding.d.ts +0 -12
- package/dist/mjs/styles/paddingBlock.d.ts +0 -8
- package/dist/mjs/styles/paddingInline.d.ts +0 -8
- package/dist/mjs/styles/predefined.d.ts +0 -1
- package/dist/mjs/styles/preset.d.ts +0 -13
- package/dist/mjs/styles/radius.d.ts +0 -16
- package/dist/mjs/styles/reset.d.ts +0 -6
- package/dist/mjs/styles/shadow.d.ts +0 -8
- package/dist/mjs/styles/styledScrollbar.d.ts +0 -54
- package/dist/mjs/styles/transition.d.ts +0 -9
- package/dist/mjs/styles/types.d.ts +0 -111
- package/dist/mjs/styles/width.d.ts +0 -9
- package/dist/mjs/tokens.d.ts +0 -159
- package/dist/mjs/utils/ResizeSensor.d.ts +0 -9
- package/dist/mjs/utils/colors.d.ts +0 -1
- package/dist/mjs/utils/dotize.d.ts +0 -21
- package/dist/mjs/utils/escape-string.d.ts +0 -1
- package/dist/mjs/utils/filterBaseProps.d.ts +0 -12
- package/dist/mjs/utils/index.d.ts +0 -1
- package/dist/mjs/utils/interactions.d.ts +0 -6
- package/dist/mjs/utils/mergeStyles.d.ts +0 -2
- package/dist/mjs/utils/modules.d.ts +0 -1
- package/dist/mjs/utils/promise.d.ts +0 -1
- package/dist/mjs/utils/react/Slots.d.ts +0 -4
- package/dist/mjs/utils/react/chain.d.ts +0 -4
- package/dist/mjs/utils/react/isTextOnly.d.ts +0 -1
- package/dist/mjs/utils/react/mapProps.d.ts +0 -6
- package/dist/mjs/utils/react/mergeProps.d.ts +0 -9
- package/dist/mjs/utils/react/modAttrs.d.ts +0 -6
- package/dist/mjs/utils/react/nullableValue.d.ts +0 -19
- package/dist/mjs/utils/react/useCombinedRefs.d.ts +0 -2
- package/dist/mjs/utils/react/useId.d.ts +0 -15
- package/dist/mjs/utils/react/useLayoutEffect.d.ts +0 -2
- package/dist/mjs/utils/react/wrapNodeIfPlain.d.ts +0 -2
- package/dist/mjs/utils/renderStyles.d.ts +0 -10
- package/dist/mjs/utils/responsive.d.ts +0 -9
- package/dist/mjs/utils/string.d.ts +0 -1
- package/dist/mjs/utils/styles.d.ts +0 -198
- package/dist/mjs/utils/transitions.d.ts +0 -8
- package/dist/mjs/utils/tree.d.ts +0 -1
- package/dist/mjs/utils/warnings.d.ts +0 -3
@@ -1,12 +0,0 @@
|
|
1
|
-
export declare function paddingStyle({ padding, paddingBlock, paddingInline, paddingTop, paddingRight, paddingBottom, paddingLeft, }: {
|
2
|
-
padding: any;
|
3
|
-
paddingBlock: any;
|
4
|
-
paddingInline: any;
|
5
|
-
paddingTop: any;
|
6
|
-
paddingRight: any;
|
7
|
-
paddingBottom: any;
|
8
|
-
paddingLeft: any;
|
9
|
-
}): any;
|
10
|
-
export declare namespace paddingStyle {
|
11
|
-
var __lookupStyles: string[];
|
12
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
export declare function presetStyle({ preset, fontSize, lineHeight, textTransform, letterSpacing, fontWeight, fontStyle, font, }: {
|
2
|
-
preset: any;
|
3
|
-
fontSize: any;
|
4
|
-
lineHeight: any;
|
5
|
-
textTransform: any;
|
6
|
-
letterSpacing: any;
|
7
|
-
fontWeight: any;
|
8
|
-
fontStyle: any;
|
9
|
-
font: any;
|
10
|
-
}): "" | Record<string, any>;
|
11
|
-
export declare namespace presetStyle {
|
12
|
-
var __lookupStyles: string[];
|
13
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
export declare function radiusStyle({ radius }: {
|
2
|
-
radius: any;
|
3
|
-
}): "" | ({
|
4
|
-
'--local-radius': any;
|
5
|
-
'border-radius': string;
|
6
|
-
$?: undefined;
|
7
|
-
'--context-radius'?: undefined;
|
8
|
-
} | {
|
9
|
-
$: string;
|
10
|
-
'--context-radius': any;
|
11
|
-
'--local-radius'?: undefined;
|
12
|
-
'border-radius'?: undefined;
|
13
|
-
})[];
|
14
|
-
export declare namespace radiusStyle {
|
15
|
-
var __lookupStyles: string[];
|
16
|
-
}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
export declare function styledScrollbarStyle({ styledScrollbar: val }: {
|
2
|
-
styledScrollbar: any;
|
3
|
-
}): ({
|
4
|
-
$: string;
|
5
|
-
display: string;
|
6
|
-
'scrollbar-width'?: undefined;
|
7
|
-
} | {
|
8
|
-
'scrollbar-width': string;
|
9
|
-
$?: undefined;
|
10
|
-
display?: undefined;
|
11
|
-
})[] | ({
|
12
|
-
$: string;
|
13
|
-
width: string;
|
14
|
-
height: string;
|
15
|
-
'background-color'?: undefined;
|
16
|
-
'border-radius'?: undefined;
|
17
|
-
border?: undefined;
|
18
|
-
'background-clip'?: undefined;
|
19
|
-
'scrollbar-width'?: undefined;
|
20
|
-
'scrollbar-color'?: undefined;
|
21
|
-
} | {
|
22
|
-
$: string;
|
23
|
-
'background-color': string;
|
24
|
-
width?: undefined;
|
25
|
-
height?: undefined;
|
26
|
-
'border-radius'?: undefined;
|
27
|
-
border?: undefined;
|
28
|
-
'background-clip'?: undefined;
|
29
|
-
'scrollbar-width'?: undefined;
|
30
|
-
'scrollbar-color'?: undefined;
|
31
|
-
} | {
|
32
|
-
$: string;
|
33
|
-
'background-color': string;
|
34
|
-
'border-radius': string;
|
35
|
-
border: string;
|
36
|
-
'background-clip': string;
|
37
|
-
width?: undefined;
|
38
|
-
height?: undefined;
|
39
|
-
'scrollbar-width'?: undefined;
|
40
|
-
'scrollbar-color'?: undefined;
|
41
|
-
} | {
|
42
|
-
'scrollbar-width': string;
|
43
|
-
'scrollbar-color': string;
|
44
|
-
$?: undefined;
|
45
|
-
width?: undefined;
|
46
|
-
height?: undefined;
|
47
|
-
'background-color'?: undefined;
|
48
|
-
'border-radius'?: undefined;
|
49
|
-
border?: undefined;
|
50
|
-
'background-clip'?: undefined;
|
51
|
-
})[] | null;
|
52
|
-
export declare namespace styledScrollbarStyle {
|
53
|
-
var __lookupStyles: string[];
|
54
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export declare const DEFAULT_TIMING = "var(--transition)";
|
2
|
-
export declare function transitionStyle({ transition }: {
|
3
|
-
transition: any;
|
4
|
-
}): {
|
5
|
-
transition: string;
|
6
|
-
} | undefined;
|
7
|
-
export declare namespace transitionStyle {
|
8
|
-
var __lookupStyles: string[];
|
9
|
-
}
|
@@ -1,111 +0,0 @@
|
|
1
|
-
import { CSSProperties } from 'react';
|
2
|
-
import { ResponsiveStyleValue } from '../utils/styles';
|
3
|
-
declare type NamedColor = 'purple' | 'purple-text' | 'purple-01' | 'purple-02' | 'purple-03' | 'purple-04' | 'dark' | 'dark-01' | 'dark-02' | 'dark-03' | 'dark-04' | 'dark-05' | 'text' | 'primary' | 'disabled' | 'disabled-bg' | 'disabled-text' | 'danger' | 'danger-bg' | 'danger-text' | 'success' | 'success-bg' | 'success-text' | 'note' | 'note-bg' | 'note-text' | 'white' | 'light' | 'light-grey' | 'black' | 'pink' | 'pink-01' | 'pink-02' | 'border' | 'clear' | 'shadow' | 'draft' | 'minor';
|
4
|
-
declare type Digit = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
5
|
-
declare type OpaquePercentage = '' | `.${Digit}` | `.${Digit}${Digit}` | '.100';
|
6
|
-
export declare type NoType = false | null | undefined;
|
7
|
-
export interface StylesInterface extends Omit<CSSProperties, 'color' | 'fill' | 'font' | 'outline' | 'type'> {
|
8
|
-
/** Set the background color of the element.
|
9
|
-
* ```
|
10
|
-
* fill="#{name_of_the_color}"
|
11
|
-
* fill="#dark" // the dark color with 100% opacity
|
12
|
-
* fill="#dark.3" // the dark color with 30% opacity
|
13
|
-
* fill="#dark.30" // the dark color with 30% opacity
|
14
|
-
* ```
|
15
|
-
*/
|
16
|
-
fill?: `#${NamedColor}${OpaquePercentage}` | `rgb(${string})` | `rgba(${string})` | boolean | string;
|
17
|
-
/** Set the text (current) color of the element
|
18
|
-
* ```
|
19
|
-
* color="#{name_of_the_color}"
|
20
|
-
* color="#dark" // the dark color with 100% opacity
|
21
|
-
* color="#dark.3" // the dark color with 30% opacity
|
22
|
-
* color="#dark.30" // the dark color with 30% opacity
|
23
|
-
* ```
|
24
|
-
*/
|
25
|
-
color?: `#${NamedColor}${OpaquePercentage}` | `rgb(${string})` | `rgba(${string})` | boolean | string;
|
26
|
-
/**
|
27
|
-
* Whether styles of the element should be reset.
|
28
|
-
* Possible values: `input`, `button`.
|
29
|
-
*/
|
30
|
-
reset?: 'input' | 'button';
|
31
|
-
/**
|
32
|
-
* Whether the element has styled scrollbar.
|
33
|
-
*/
|
34
|
-
styledScrollbar?: boolean;
|
35
|
-
/**
|
36
|
-
* Whether the element is hidden using `display: none`.
|
37
|
-
*/
|
38
|
-
hide?: boolean;
|
39
|
-
/**
|
40
|
-
* The shadow style adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color.
|
41
|
-
* Examples:
|
42
|
-
* `shadow="1x .5x .5x #dark.50"`
|
43
|
-
* `shadow="0 1x 2x #dark.20"`
|
44
|
-
*/
|
45
|
-
shadow?: string;
|
46
|
-
/**
|
47
|
-
* The radius style rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners.
|
48
|
-
* Syntax: `[[<value> | [ <verticalValue> <horizontalValue>] ]? [ [ leaf | backleaf ] | [ 'top' | 'right' | 'bottom' | 'top' ]{1,2} ] ] | [ 'round' | 'ellipse' ] | true`
|
49
|
-
* Examples: `"1x"`, `"2x 4x"`, `"top"`, `"round"`, `"3x leaf"`, `"ellipse"`.
|
50
|
-
*/
|
51
|
-
radius?: 'round' | 'ellipse' | 'leaf' | 'backleaf' | string | true;
|
52
|
-
/**
|
53
|
-
* The group radius style rounds the corners of a container's outer border edge by applying radius style to to its children.
|
54
|
-
* Syntax: `<value> [ 'round' | 'ellipse' ]? | true`
|
55
|
-
* Examples: `"2r"`, `"round"`, `"ellipse"`.
|
56
|
-
*/
|
57
|
-
groupRadius?: 'round' | 'ellipse' | string;
|
58
|
-
/**
|
59
|
-
* The flow style specifies the direction of a flex/grid container, as well as its wrapping behavior (for flex only).
|
60
|
-
* Syntax: `[ [ row | row-reverse | column | column-reverse ] | [ nowrap | wrap | wrap-reverse ] | [ [ row | column ] || dense ]`
|
61
|
-
*/
|
62
|
-
flow?: CSSProperties['flexFlow'] | CSSProperties['gridAutoFlow'];
|
63
|
-
/**
|
64
|
-
* The gridAreas style specifies named grid areas, establishing the cells in the grid and assigning them names.
|
65
|
-
*/
|
66
|
-
gridAreas?: CSSProperties['gridTemplateAreas'];
|
67
|
-
/**
|
68
|
-
* The gridColumns style defines the line names and track sizing functions of the grid columns.
|
69
|
-
*/
|
70
|
-
gridColumns?: CSSProperties['gridTemplateColumns'] | number;
|
71
|
-
/**
|
72
|
-
* The gridRows style defines the line names and track sizing functions of the grid rows.
|
73
|
-
*/
|
74
|
-
gridRows?: CSSProperties['gridTemplateRows'] | number;
|
75
|
-
/**
|
76
|
-
* The gridTemplate style is a shorthand property for defining grid columns, rows, and areas.
|
77
|
-
*/
|
78
|
-
gridTemplate?: CSSProperties['gridTemplate'];
|
79
|
-
/**
|
80
|
-
* The font style specifies a prioritized list of one or more font family names and/or generic family names for the selected element. The style will also provide a reasonable fallback to system fonts.
|
81
|
-
* Syntax: 'monospace' | <fontFamilyList> | true
|
82
|
-
*/
|
83
|
-
font?: CSSProperties['fontFamily'] | boolean;
|
84
|
-
/**
|
85
|
-
* The outline style sets the outline for the element using `box-shadow` CSS property. The outline is drawn inside if `inset` modifier is set.
|
86
|
-
* Syntax: <value> 'inset'?
|
87
|
-
*/
|
88
|
-
outline?: CSSProperties['fontFamily'] | boolean;
|
89
|
-
/**
|
90
|
-
* The preset style sets the base text settings according to the names preset. Affected styles: `font-size`, `line-height`, `letter-spacing`, `font-weight` and `text-transform`.
|
91
|
-
*/
|
92
|
-
preset?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h5s' | 'h5m' | 'h6' | 't1' | 't2' | 't3' | 't4' | 't4m' | 'p1' | 'p2' | 'p3' | 'p4' | 'tag' | 'default' | string;
|
93
|
-
/**
|
94
|
-
* Shorthand for align-items and align-content.
|
95
|
-
*/
|
96
|
-
align?: CSSProperties['alignItems'] | CSSProperties['alignContent'];
|
97
|
-
/**
|
98
|
-
* Shorthand for justify-items and justify-content.
|
99
|
-
*/
|
100
|
-
justify?: CSSProperties['justifyItems'] | CSSProperties['justifyContent'];
|
101
|
-
}
|
102
|
-
export declare type SuffixForSelector = '&' | '.' | 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z';
|
103
|
-
export declare type Selector = `${SuffixForSelector}${string}`;
|
104
|
-
export declare type NotSelector = Exclude<string, Selector | keyof StylesInterface>;
|
105
|
-
export declare type StylesWithoutSelectors = {
|
106
|
-
[key in keyof StylesInterface]?: ResponsiveStyleValue<StylesInterface[key]>;
|
107
|
-
};
|
108
|
-
export declare type Styles = StylesWithoutSelectors & {
|
109
|
-
[key: string]: ResponsiveStyleValue<string | number | boolean | undefined> | StylesWithoutSelectors;
|
110
|
-
};
|
111
|
-
export {};
|
package/dist/mjs/tokens.d.ts
DELETED
@@ -1,159 +0,0 @@
|
|
1
|
-
declare const TOKENS: {
|
2
|
-
'font-size': string;
|
3
|
-
'line-height': string;
|
4
|
-
'input-font-size': string;
|
5
|
-
'input-line-height': string;
|
6
|
-
'input-letter-spacing': string;
|
7
|
-
'disabled-opacity': string;
|
8
|
-
gap: string;
|
9
|
-
'outline-width': string;
|
10
|
-
'border-width': string;
|
11
|
-
radius: string;
|
12
|
-
'leaf-sharp-radius': string;
|
13
|
-
transition: string;
|
14
|
-
'clear-color': string;
|
15
|
-
'border-color': string;
|
16
|
-
'shadow-color': string;
|
17
|
-
'draft-color': string;
|
18
|
-
'minor-color': string;
|
19
|
-
'success-bg-color': string;
|
20
|
-
'note-bg-color': string;
|
21
|
-
'note-text-color': string;
|
22
|
-
'danger-bg-color': string;
|
23
|
-
'danger-bg-hover-color': string;
|
24
|
-
'primary-1': string;
|
25
|
-
'primary-2': string;
|
26
|
-
'primary-3': string;
|
27
|
-
'primary-4': string;
|
28
|
-
'primary-5': string;
|
29
|
-
'primary-6': string;
|
30
|
-
'primary-7': string;
|
31
|
-
'primary-8': string;
|
32
|
-
'primary-9': string;
|
33
|
-
'primary-10': string;
|
34
|
-
'dark-75-color': string;
|
35
|
-
'primary-color': string;
|
36
|
-
'pink-8-color': string;
|
37
|
-
'pink-9-color': string;
|
38
|
-
'disabled-color': string;
|
39
|
-
'disabled-text-color': string;
|
40
|
-
'disabled-bg': string;
|
41
|
-
'disabled-bg-color': string;
|
42
|
-
'max-content-width': string;
|
43
|
-
'topbar-height': string;
|
44
|
-
'devmodebar-height': string;
|
45
|
-
'sidebar-width': string;
|
46
|
-
'border-radius-base': string;
|
47
|
-
'text-font-size': string;
|
48
|
-
'text-line-height': string;
|
49
|
-
'text-letter-spacing': string;
|
50
|
-
'h1-font-size': string;
|
51
|
-
'h1-line-height': string;
|
52
|
-
'h1-letter-spacing': string;
|
53
|
-
'h1-font-weight': string;
|
54
|
-
'h2-font-size': string;
|
55
|
-
'h2-line-height': string;
|
56
|
-
'h2-letter-spacing': string;
|
57
|
-
'h2-font-weight': string;
|
58
|
-
'h3-font-size': string;
|
59
|
-
'h3-line-height': string;
|
60
|
-
'h3-letter-spacing': string;
|
61
|
-
'h3-font-weight': string;
|
62
|
-
'h4-font-size': string;
|
63
|
-
'h4-line-height': string;
|
64
|
-
'h4-letter-spacing': string;
|
65
|
-
'h4-font-weight': string;
|
66
|
-
'h5-font-size': string;
|
67
|
-
'h5-line-height': string;
|
68
|
-
'h5-letter-spacing': string;
|
69
|
-
'h5-font-weight': string;
|
70
|
-
'h5s-font-size': string;
|
71
|
-
'h5s-line-height': string;
|
72
|
-
'h5s-letter-spacing': string;
|
73
|
-
'h5s-font-weight': string;
|
74
|
-
'h5m-font-size': string;
|
75
|
-
'h5m-line-height': string;
|
76
|
-
'h5m-letter-spacing': string;
|
77
|
-
'h5m-font-weight': string;
|
78
|
-
'h6-font-size': string;
|
79
|
-
'h6-line-height': string;
|
80
|
-
'h6-font-weight': string;
|
81
|
-
't1-font-size': string;
|
82
|
-
't1-line-height': string;
|
83
|
-
't1-letter-spacing': string;
|
84
|
-
't1-font-weight': string;
|
85
|
-
't2-font-size': string;
|
86
|
-
't2-line-height': string;
|
87
|
-
't2-letter-spacing': string;
|
88
|
-
't2-font-weight': string;
|
89
|
-
't3-font-size': string;
|
90
|
-
't3-line-height': string;
|
91
|
-
't3-letter-spacing': string;
|
92
|
-
't3-font-weight': string;
|
93
|
-
't3m-font-size': string;
|
94
|
-
't3m-line-height': string;
|
95
|
-
't3m-letter-spacing': string;
|
96
|
-
't3m-font-weight': string;
|
97
|
-
't4-font-size': string;
|
98
|
-
't4-line-height': string;
|
99
|
-
't4-letter-spacing': string;
|
100
|
-
't4-font-weight': string;
|
101
|
-
't4m-font-size': string;
|
102
|
-
't4m-line-height': string;
|
103
|
-
't4m-letter-spacing': string;
|
104
|
-
't4m-font-weight': string;
|
105
|
-
'p1-font-size': string;
|
106
|
-
'p1-line-height': string;
|
107
|
-
'p1-letter-spacing': string;
|
108
|
-
'p1-font-weight': string;
|
109
|
-
'p2-font-size': string;
|
110
|
-
'p2-line-height': string;
|
111
|
-
'p2-letter-spacing': string;
|
112
|
-
'p2-font-weight': string;
|
113
|
-
'p3-font-size': string;
|
114
|
-
'p3-line-height': string;
|
115
|
-
'p3-letter-spacing': string;
|
116
|
-
'p3-font-weight': string;
|
117
|
-
'p4-font-size': string;
|
118
|
-
'p4-line-height': string;
|
119
|
-
'p4-letter-spacing': string;
|
120
|
-
'p4-font-weight': string;
|
121
|
-
'c1-font-size': string;
|
122
|
-
'c1-line-height': string;
|
123
|
-
'c1-letter-spacing': string;
|
124
|
-
'c1-font-weight': string;
|
125
|
-
'c1-text-transform': string;
|
126
|
-
'c2-font-size': string;
|
127
|
-
'c2-line-height': string;
|
128
|
-
'c2-letter-spacing': string;
|
129
|
-
'c2-font-weight': string;
|
130
|
-
'c2-text-transform': string;
|
131
|
-
'tag-font-size': string;
|
132
|
-
'tag-line-height': string;
|
133
|
-
'tag-letter-spacing': string;
|
134
|
-
'tag-font-weight': string;
|
135
|
-
'strong-font-size': string;
|
136
|
-
'strong-line-height': string;
|
137
|
-
'strong-letter-spacing': string;
|
138
|
-
'strong-font-family': string;
|
139
|
-
'strong-font-style': string;
|
140
|
-
'strong-font-weight': number;
|
141
|
-
'em-font-size': string;
|
142
|
-
'em-line-height': string;
|
143
|
-
'em-letter-spacing': string;
|
144
|
-
'em-font-family': string;
|
145
|
-
'em-font-style': string;
|
146
|
-
'em-font-weight': string;
|
147
|
-
'default-font-size': string;
|
148
|
-
'default-line-height': string;
|
149
|
-
'default-letter-spacing': string;
|
150
|
-
'default-font-weight': string;
|
151
|
-
'scrollbar-width': string;
|
152
|
-
'scrollbar-outline-width': string;
|
153
|
-
'scrollbar-radius': string;
|
154
|
-
'scrollbar-thumb-color': string;
|
155
|
-
'scrollbar-outline-color': string;
|
156
|
-
'scrollbar-bg-color': string;
|
157
|
-
'scrollbar-corner-color': string;
|
158
|
-
};
|
159
|
-
export { TOKENS };
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function color(name: any, opacity?: number): string;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
export declare const dotize: {
|
2
|
-
valTypes: {
|
3
|
-
none: string;
|
4
|
-
primitive: string;
|
5
|
-
object: string;
|
6
|
-
array: string;
|
7
|
-
};
|
8
|
-
getValType: (val: any) => string | undefined;
|
9
|
-
getPathType: (arrPath: any) => never[];
|
10
|
-
isUndefined: (obj: any) => boolean;
|
11
|
-
isNumber: (f: any) => boolean;
|
12
|
-
isEmptyObj: (obj: any) => boolean;
|
13
|
-
isNotObject: (obj: any) => boolean;
|
14
|
-
isEmptyArray: (arr: any) => boolean;
|
15
|
-
isNotArray: (arr: any) => boolean;
|
16
|
-
removeEmptyArrayItem: (arr: any) => any;
|
17
|
-
getFieldName: (field: any, prefix: any, isRoot: any, isArrayItem: any, isArray: any) => string;
|
18
|
-
startsWith: (val: any, valToSearch: any) => boolean;
|
19
|
-
convert: (obj: any, prefix?: string) => any;
|
20
|
-
backward: (obj: any, prefix: any) => any;
|
21
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export default function escapeStringRegexp(string: any): string;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
interface PropsFilterOptions {
|
2
|
-
labelable?: boolean;
|
3
|
-
propNames?: Set<string>;
|
4
|
-
eventProps?: boolean;
|
5
|
-
}
|
6
|
-
/**
|
7
|
-
* Filters out all props that aren't valid DOM props or defined via override prop obj.
|
8
|
-
* @param props - The component props to be filtered.
|
9
|
-
* @param opts - Props to override.
|
10
|
-
*/
|
11
|
-
export declare function filterBaseProps(props: any, opts?: PropsFilterOptions): {};
|
12
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function getModCombinations(array: string[], allowEmpty?: boolean): any;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function extractModule(promise: any): any;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function timeout(ms?: number): Promise<unknown>;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function isTextOnly(children: any): boolean;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { CubeButtonProps } from '../../components/actions/Button/Button';
|
2
|
-
import { AriaButtonProps } from '@react-types/button';
|
3
|
-
/** Converts AriaButtonProps to CubeButtonProps */
|
4
|
-
export declare function ariaToCubeButtonProps(props: AriaButtonProps<'button'>): CubeButtonProps;
|
5
|
-
/** Converts CubeButtonProps to AriaButtonProps */
|
6
|
-
export declare function cubeToAriaButtonProps(props: CubeButtonProps): AriaButtonProps<'button'>;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Props } from '../../components/types';
|
2
|
-
/**
|
3
|
-
* Merges multiple props objects together. Event handlers are chained,
|
4
|
-
* classNames are combined, and ids are deduplicated - different ids
|
5
|
-
* will trigger a side-effect and re-render components hooked up with `useId`.
|
6
|
-
* For all other props, the last prop object overrides all previous ones.
|
7
|
-
* @param args - Multiple sets of props to merge together.
|
8
|
-
*/
|
9
|
-
export declare function mergeProps(...args: (Props | undefined)[]): Props;
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { Props } from '../../components/types';
|
2
|
-
export declare function castNullableStringValue<T>(props: T): T;
|
3
|
-
export declare function castNullableNumberValue<T>(props: T): T;
|
4
|
-
export declare function castNullableArrayValue<T>(props: T): T;
|
5
|
-
export declare function castNullableIsSelected<T>(props: T): T;
|
6
|
-
export declare function castNullableSelectedKey<T>(props: T): T;
|
7
|
-
export declare function castNullableField<T>(props: T, keys: string[], type?: string, cast?: (k: any) => any): T;
|
8
|
-
export declare type WithNullableValue<T extends Props> = Omit<T, 'value' | 'defaultValue'> & {
|
9
|
-
value?: T['value'] | any;
|
10
|
-
defaultValue?: T['defaultValue'] | any;
|
11
|
-
};
|
12
|
-
export declare type WithNullableSelected<T extends Props> = Omit<T, 'isSelected' | 'defaultSelected'> & {
|
13
|
-
isSelected?: T['isSelected'] | any;
|
14
|
-
defaultSelected?: T['defaultSelected'] | any;
|
15
|
-
};
|
16
|
-
export declare type WithNullableSelectedKey<T extends Props> = Omit<T, 'selectedKey' | 'defaultSelectedKey'> & {
|
17
|
-
selectedKey?: T['selectedKey'] | any;
|
18
|
-
defaultSelectedKey?: T['defaultSelectedKey'] | any;
|
19
|
-
};
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* If a default is not provided, generate an id.
|
3
|
-
* @param defaultId - Default component id.
|
4
|
-
*/
|
5
|
-
export declare function useId(defaultId?: any): string;
|
6
|
-
/**
|
7
|
-
* Merges two ids.
|
8
|
-
* Different ids will trigger a side-effect and re-render components hooked up with `useId`.
|
9
|
-
*/
|
10
|
-
export declare function mergeIds(idA: any, idB: any): any;
|
11
|
-
/**
|
12
|
-
* Used to generate an id, and after render, check if that id is rendered so we know
|
13
|
-
* if we can use it in places such as labelledby.
|
14
|
-
*/
|
15
|
-
export declare function useSlotId(): string | null;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { Styles } from '../styles/types';
|
2
|
-
export declare function isSelector(key: any): any;
|
3
|
-
/**
|
4
|
-
* Render style props to complete Styled Components CSS.
|
5
|
-
* @param styles - Complete style props.
|
6
|
-
* @param responsive - A list of responsive zones
|
7
|
-
* @param {string} [suffix]
|
8
|
-
* @return {string}
|
9
|
-
*/
|
10
|
-
export declare function renderStyles(styles: Styles, responsive: number[], suffix?: string): any;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { ResponsiveStyleValue } from './styles';
|
2
|
-
export declare function mediaWrapper(cssRules: any, points: any): any;
|
3
|
-
export interface ResponsiveZone {
|
4
|
-
max?: number;
|
5
|
-
min?: number;
|
6
|
-
mediaQuery?: string;
|
7
|
-
}
|
8
|
-
export declare function pointsToZones(points: number[]): any;
|
9
|
-
export declare function normalizeStyleZones(value: ResponsiveStyleValue, zoneNumber: number): any[] | null;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function toSnakeCase(str: any): any;
|