@cube-dev/ui-kit 0.57.0 → 0.59.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/CHANGELOG.md +28 -0
- package/es/_internal/hooks/index.js +1 -1
- package/es/_internal/hooks/use-chained-callback.js +1 -1
- package/es/_internal/hooks/use-debounced-value.js +1 -1
- package/es/_internal/hooks/use-deprecation-warning.js +1 -1
- package/es/_internal/hooks/use-effect-once.js +1 -1
- package/es/_internal/hooks/use-event.js +1 -1
- package/es/_internal/hooks/use-is-first-render.js +1 -1
- package/es/_internal/hooks/use-sync-ref.js +1 -1
- package/es/_internal/hooks/use-timer/index.js +1 -1
- package/es/_internal/hooks/use-timer/timer.js +7 -4
- package/es/_internal/hooks/use-timer/use-timer.js +1 -1
- package/es/_internal/hooks/use-update-effect.js +1 -1
- package/es/_internal/hooks/use-warn.js +1 -1
- package/es/_internal/index.js +1 -1
- package/es/components/Block.js +1 -1
- package/es/components/GlobalStyles.js +3 -3
- package/es/components/GridProvider.js +1 -1
- package/es/components/HiddenInput.js +1 -1
- package/es/components/OpenTrasition.js +1 -1
- package/es/components/Root.js +1 -1
- package/es/components/actions/Action/Action.js +1 -1
- package/es/components/actions/Button/Button.js +1 -1
- package/es/components/actions/Button/index.js +1 -1
- package/es/components/actions/ButtonGroup/ButtonGroup.js +1 -1
- package/es/components/actions/index.js +1 -1
- package/es/components/actions/use-action.js +1 -1
- package/es/components/content/ActiveZone/ActiveZone.js +2 -1
- package/es/components/content/Alert/Alert.js +1 -1
- package/es/components/content/Alert/index.js +1 -1
- package/es/components/content/Alert/types.js +1 -1
- package/es/components/content/Alert/use-alert.js +1 -1
- package/es/components/content/Avatar/Avatar.js +1 -1
- package/es/components/content/Badge/Badge.js +1 -1
- package/es/components/content/Card/Card.js +1 -1
- package/es/components/content/Content.js +1 -1
- package/es/components/content/CopyPasteBlock/CopyPasteBlock.js +2 -1
- package/es/components/content/CopyPasteBlock/index.js +1 -1
- package/es/components/content/CopySnippet/CopySnippet.js +2 -1
- package/es/components/content/CopySnippet/index.js +1 -1
- package/es/components/content/Divider.js +1 -1
- package/es/components/content/Footer.js +1 -1
- package/es/components/content/Header.js +2 -1
- package/es/components/content/Paragraph.js +1 -1
- package/es/components/content/Placeholder/Placeholder.js +9 -9
- package/es/components/content/PrismCode/PrismCode.js +2 -1
- package/es/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
- package/es/components/content/Result/Result.js +2 -1
- package/es/components/content/Skeleton/Skeleton.js +1 -1
- package/es/components/content/Tag/Tag.js +2 -1
- package/es/components/content/Text.js +2 -1
- package/es/components/content/Title.js +4 -3
- package/es/components/fields/Checkbox/Checkbox.js +2 -1
- package/es/components/fields/Checkbox/CheckboxGroup.js +2 -1
- package/es/components/fields/Checkbox/context.js +1 -1
- package/es/components/fields/Checkbox/index.js +1 -1
- package/es/components/fields/ComboBox/ComboBox.js +50 -14
- package/es/components/fields/ComboBox/index.js +1 -1
- package/es/components/fields/DatePicker/DateInput.js +2 -1
- package/es/components/fields/DatePicker/DateInputBase.js +2 -1
- package/es/components/fields/DatePicker/DatePicker.js +2 -1
- package/es/components/fields/DatePicker/DatePickerButton.js +1 -1
- package/es/components/fields/DatePicker/DatePickerElement.js +1 -1
- package/es/components/fields/DatePicker/DatePickerInput.js +1 -1
- package/es/components/fields/DatePicker/DatePickerSegment.js +1 -1
- package/es/components/fields/DatePicker/DateRangePicker.js +2 -1
- package/es/components/fields/DatePicker/DateRangeSeparatedPicker.js +2 -1
- package/es/components/fields/DatePicker/TimeInput.js +2 -1
- package/es/components/fields/DatePicker/index.js +1 -1
- package/es/components/fields/DatePicker/intl.js +1 -1
- package/es/components/fields/DatePicker/parseDate.js +1 -1
- package/es/components/fields/DatePicker/props.js +1 -1
- package/es/components/fields/DatePicker/types.js +1 -1
- package/es/components/fields/DatePicker/utils.js +1 -1
- package/es/components/fields/FileInput/FileInput.js +2 -1
- package/es/components/fields/Input/Input.js +1 -1
- package/es/components/fields/Input/index.js +1 -1
- package/es/components/fields/NumberInput/NumberInput.js +2 -1
- package/es/components/fields/NumberInput/StepButton.js +1 -1
- package/es/components/fields/PasswordInput/PasswordInput.js +2 -1
- package/es/components/fields/RadioGroup/Radio.js +3 -1
- package/es/components/fields/RadioGroup/RadioGroup.js +2 -1
- package/es/components/fields/RadioGroup/context.js +1 -1
- package/es/components/fields/RadioGroup/index.js +1 -1
- package/es/components/fields/SearchInput/SearchInput.js +1 -1
- package/es/components/fields/SearchInput/index.js +1 -1
- package/es/components/fields/Select/Select.js +2 -1
- package/es/components/fields/Select/index.js +1 -1
- package/es/components/fields/Slider/Gradation.js +1 -1
- package/es/components/fields/Slider/Header.js +1 -1
- package/es/components/fields/Slider/RangeSlider.js +2 -1
- package/es/components/fields/Slider/Slider.js +2 -1
- package/es/components/fields/Slider/SliderBase.js +2 -1
- package/es/components/fields/Slider/SliderInput.js +1 -1
- package/es/components/fields/Slider/SliderThumb.js +1 -1
- package/es/components/fields/Slider/SliderTrack.js +1 -1
- package/es/components/fields/Slider/elements.js +1 -1
- package/es/components/fields/Slider/index.js +1 -1
- package/es/components/fields/Slider/types.js +1 -1
- package/es/components/fields/Switch/Switch.js +2 -1
- package/es/components/fields/Switch/index.js +1 -1
- package/es/components/fields/TextArea/TextArea.js +2 -1
- package/es/components/fields/TextArea/index.js +1 -1
- package/es/components/fields/TextInput/TextInput.js +1 -1
- package/es/components/fields/TextInput/TextInputBase.js +3 -3
- package/es/components/fields/TextInput/index.js +1 -1
- package/es/components/fields/TextInputMapper/TextInputMapper.js +5 -4
- package/es/components/fields/TextInputMapper/index.js +1 -1
- package/es/components/fields/index.js +1 -1
- package/es/components/form/FieldWrapper/FieldWrapper.js +1 -1
- package/es/components/form/FieldWrapper/extract-field-wrapper-props.js +1 -1
- package/es/components/form/FieldWrapper/index.js +1 -1
- package/es/components/form/FieldWrapper/types.js +1 -1
- package/es/components/form/Form/Field.js +17 -6
- package/es/components/form/Form/Form.js +2 -1
- package/es/components/form/Form/ResetButton/ResetButton.js +2 -1
- package/es/components/form/Form/ResetButton/index.js +1 -1
- package/es/components/form/Form/SubmitButton/SubmitButton.js +2 -1
- package/es/components/form/Form/SubmitButton/index.js +1 -1
- package/es/components/form/Form/SubmitError.js +2 -1
- package/es/components/form/Form/index.js +1 -1
- package/es/components/form/Form/types.js +1 -1
- package/es/components/form/Form/use-field/index.js +1 -1
- package/es/components/form/Form/use-field/types.js +1 -1
- package/es/components/form/Form/use-field/use-field-props.js +14 -7
- package/es/components/form/Form/use-field/use-field.js +6 -6
- package/es/components/form/Form/use-form.js +55 -67
- package/es/components/form/Form/validation.js +1 -1
- package/es/components/form/Label.js +2 -1
- package/es/components/form/index.js +1 -1
- package/es/components/form/wrapper.js +1 -1
- package/es/components/layout/Flex.js +1 -1
- package/es/components/layout/Flow.js +1 -1
- package/es/components/layout/Grid.js +1 -1
- package/es/components/layout/Panel.js +1 -1
- package/es/components/layout/Prefix.js +1 -1
- package/es/components/layout/ResizablePanel.js +1 -1
- package/es/components/layout/Space.js +1 -1
- package/es/components/layout/Suffix.js +1 -1
- package/es/components/navigation/LegacyTabs/LegacyTabs.js +5 -5
- package/es/components/navigation/Link/Link.js +1 -1
- package/es/components/organisms/FileTabs/FileTabs.js +4 -4
- package/es/components/organisms/Modal/Modal.js +2 -2
- package/es/components/organisms/StatsCard/StatsCard.js +1 -1
- package/es/components/other/Base64Upload/Base64Upload.js +4 -4
- package/es/components/other/Calendar/Calendar.js +2 -1
- package/es/components/other/Calendar/CalendarCell.js +1 -1
- package/es/components/other/Calendar/CalendarGrid.js +1 -1
- package/es/components/other/Calendar/RangeCalendar.js +2 -1
- package/es/components/other/CloudLogo/CloudLogo.js +2 -1
- package/es/components/overlays/AlertDialog/AlertDialog.js +2 -1
- package/es/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
- package/es/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
- package/es/components/overlays/AlertDialog/index.js +1 -1
- package/es/components/overlays/AlertDialog/types.js +1 -1
- package/es/components/overlays/Dialog/Dialog.js +22 -15
- package/es/components/overlays/Dialog/DialogContainer.js +4 -4
- package/es/components/overlays/Dialog/DialogForm.js +1 -1
- package/es/components/overlays/Dialog/DialogTrigger.js +13 -15
- package/es/components/overlays/Dialog/context.js +1 -1
- package/es/components/overlays/Dialog/dialog-container.js +1 -1
- package/es/components/overlays/Dialog/index.js +1 -1
- package/es/components/overlays/Modal/Modal.js +2 -1
- package/es/components/overlays/Modal/OpenTransition.js +1 -1
- package/es/components/overlays/Modal/Overlay.js +2 -1
- package/es/components/overlays/Modal/Popover.js +3 -2
- package/es/components/overlays/Modal/Tray.js +2 -1
- package/es/components/overlays/Modal/Underlay.js +2 -1
- package/es/components/overlays/Modal/index.js +1 -1
- package/es/components/overlays/Modal/types.js +1 -1
- package/es/components/overlays/NewNotifications/Bar/FloatingNotification.js +1 -1
- package/es/components/overlays/NewNotifications/Bar/NotificationsBar.js +1 -1
- package/es/components/overlays/NewNotifications/Bar/TransitionComponent.js +1 -1
- package/es/components/overlays/NewNotifications/Bar/index.js +1 -1
- package/es/components/overlays/NewNotifications/Dialog/NotificationsDialogTrigger.js +1 -1
- package/es/components/overlays/NewNotifications/Dialog/index.js +1 -1
- package/es/components/overlays/NewNotifications/Notification.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationView/NotificationAction.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationView/NotificationDescription.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationView/NotificationFooter.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationView/NotificationHeader.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationView/NotificationIcon.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationView/NotificationProvider.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationView/NotificationView.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationView/index.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationView/types.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationsContext/index.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationsContext/use-notifications.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationsList/NotificationsList.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationsList/index.js +1 -1
- package/es/components/overlays/NewNotifications/NotificationsList/types.js +1 -1
- package/es/components/overlays/NewNotifications/hooks/index.js +1 -1
- package/es/components/overlays/NewNotifications/hooks/types.js +1 -1
- package/es/components/overlays/NewNotifications/hooks/use-notification-list-item.js +1 -1
- package/es/components/overlays/NewNotifications/hooks/use-notifications-api.js +1 -1
- package/es/components/overlays/NewNotifications/hooks/use-notifications-list.js +1 -1
- package/es/components/overlays/NewNotifications/hooks/use-notifications-observer.js +1 -1
- package/es/components/overlays/NewNotifications/index.js +1 -1
- package/es/components/overlays/NewNotifications/types.js +1 -1
- package/es/components/overlays/Notification/Notification.js +1 -1
- package/es/components/overlays/OverlayWrapper.js +1 -1
- package/es/components/overlays/Toasts/Toast.js +1 -1
- package/es/components/overlays/Toasts/index.js +1 -1
- package/es/components/overlays/Toasts/types.js +1 -1
- package/es/components/overlays/Toasts/use-toasts-api.js +1 -1
- package/es/components/overlays/Tooltip/Tooltip.js +2 -1
- package/es/components/overlays/Tooltip/TooltipProvider.js +2 -4
- package/es/components/overlays/Tooltip/TooltipTrigger.js +7 -9
- package/es/components/overlays/Tooltip/context.js +1 -1
- package/es/components/overlays/Tooltip/index.js +1 -1
- package/es/components/pickers/Menu/Menu.js +1 -1
- package/es/components/pickers/Menu/MenuButton.js +1 -1
- package/es/components/pickers/Menu/MenuItem.js +1 -1
- package/es/components/pickers/Menu/MenuSection.js +1 -1
- package/es/components/pickers/Menu/MenuTrigger.js +1 -1
- package/es/components/pickers/Menu/context.js +1 -1
- package/es/components/pickers/Menu/styled.js +1 -1
- package/es/components/portal/Portal.js +1 -1
- package/es/components/portal/PortalProvider.js +1 -1
- package/es/components/portal/index.js +1 -1
- package/es/components/portal/storybook/templates/CustomRoot.js +1 -1
- package/es/components/portal/storybook/templates/PortalOrder.js +1 -1
- package/es/components/portal/storybook/templates/basic.js +1 -1
- package/es/components/portal/storybook/templates/index.js +1 -1
- package/es/components/portal/types.js +1 -1
- package/es/components/portal/usePortal.js +1 -1
- package/es/components/shared/InvalidIcon.js +1 -1
- package/es/components/shared/ValidIcon.js +1 -1
- package/es/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
- package/es/components/status/LoadingAnimation/index.js +1 -1
- package/es/components/status/Spin/Cube.js +1 -1
- package/es/components/status/Spin/InternalSpinner.js +1 -1
- package/es/components/status/Spin/Spin.js +1 -1
- package/es/components/status/Spin/SpinsContainer.js +1 -1
- package/es/components/status/Spin/index.js +1 -1
- package/es/components/status/Spin/types.js +1 -1
- package/es/components/status/index.js +1 -1
- package/es/data/themes.js +1 -1
- package/es/icons/AiIcon.js +1 -1
- package/es/icons/AreaChartIcon.js +1 -1
- package/es/icons/BackwardIcon.js +1 -1
- package/es/icons/BarChartIcon.js +1 -1
- package/es/icons/BellFilledIcon.js +1 -1
- package/es/icons/BellIcon.js +1 -1
- package/es/icons/BooleanIcon.js +1 -1
- package/es/icons/CalendarEditIcon.js +1 -1
- package/es/icons/CalendarIcon.js +1 -1
- package/es/icons/CaretDownIcon.js +1 -1
- package/es/icons/CaretUpIcon.js +1 -1
- package/es/icons/CheckCircleFilledIcon.js +1 -1
- package/es/icons/CheckCircleIcon.js +1 -1
- package/es/icons/CheckIcon.js +1 -1
- package/es/icons/CircleFilledIcon.js +1 -1
- package/es/icons/ClearIcon.js +1 -1
- package/es/icons/CloseCircleFilledIcon.js +1 -1
- package/es/icons/CloseCircleIcon.js +1 -1
- package/es/icons/CloseIcon.js +1 -1
- package/es/icons/CodeIcon.js +1 -1
- package/es/icons/CopyIcon.js +1 -1
- package/es/icons/CountIcon.js +1 -1
- package/es/icons/CubeIcon.js +1 -1
- package/es/icons/DangerIcon.js +1 -1
- package/es/icons/DashboardIcon.js +1 -1
- package/es/icons/DatabaseIcon.js +1 -1
- package/es/icons/DirectionIcon.js +1 -1
- package/es/icons/DonutIcon.js +1 -1
- package/es/icons/DownIcon.js +1 -1
- package/es/icons/EditIcon.js +1 -1
- package/es/icons/ExclamationCircleFilledIcon.js +1 -1
- package/es/icons/ExclamationCircleIcon.js +1 -1
- package/es/icons/ExclamationIcon.js +1 -1
- package/es/icons/EyeIcon.js +1 -1
- package/es/icons/EyeInvisibleIcon.js +1 -1
- package/es/icons/FilterIcon.js +1 -1
- package/es/icons/FolderFilledIcon.js +1 -1
- package/es/icons/FolderIcon.js +1 -1
- package/es/icons/FolderOpenFilledIcon.js +1 -1
- package/es/icons/FolderOpenIcon.js +1 -1
- package/es/icons/ForwardIcon.js +1 -1
- package/es/icons/HierarchyIcon.js +1 -1
- package/es/icons/Icon.js +1 -1
- package/es/icons/InfoCircleIcon.js +1 -1
- package/es/icons/InfoIcon.js +1 -1
- package/es/icons/KeyIcon.js +1 -1
- package/es/icons/LeftIcon.js +1 -1
- package/es/icons/LineChartIcon.js +1 -1
- package/es/icons/LoadingIcon.js +1 -1
- package/es/icons/LockFilledIcon.js +1 -1
- package/es/icons/LockIcon.js +1 -1
- package/es/icons/MoreIcon.js +1 -1
- package/es/icons/NotAllowedIcon.js +1 -1
- package/es/icons/NumberIcon.js +1 -1
- package/es/icons/PauseCircleFilledIcon.js +1 -1
- package/es/icons/PauseCircleIcon.js +1 -1
- package/es/icons/PauseIcon.js +1 -1
- package/es/icons/PieChartIcon.js +1 -1
- package/es/icons/PlayCircleIcon.js +1 -1
- package/es/icons/PlayIcon.js +1 -1
- package/es/icons/PlusIcon.js +1 -1
- package/es/icons/ReloadIcon.js +1 -1
- package/es/icons/ReportIcon.js +1 -1
- package/es/icons/ReturnIcon.js +1 -1
- package/es/icons/RightIcon.js +1 -1
- package/es/icons/SchemeIcon.js +1 -1
- package/es/icons/SearchIcon.js +1 -1
- package/es/icons/SettingsIcon.js +1 -1
- package/es/icons/ShieldFilledIcon.js +1 -1
- package/es/icons/ShieldIcon.js +1 -1
- package/es/icons/SlashIcon.js +1 -1
- package/es/icons/SparklesIcon.js +1 -1
- package/es/icons/SqlIcon.js +1 -1
- package/es/icons/StatsIcon.js +1 -1
- package/es/icons/StopIcon.js +1 -1
- package/es/icons/StringIcon.js +1 -1
- package/es/icons/SwitchIcon.js +1 -1
- package/es/icons/TableIcon.js +1 -1
- package/es/icons/ThumbsDownIcon.js +1 -1
- package/es/icons/ThumbsUpIcon.js +1 -1
- package/es/icons/ThunderboltCrossedIcon.js +1 -1
- package/es/icons/ThunderboltFilledIcon.js +1 -1
- package/es/icons/ThunderboltIcon.js +1 -1
- package/es/icons/TimeIcon.js +1 -1
- package/es/icons/UnlockIcon.js +1 -1
- package/es/icons/UpIcon.js +1 -1
- package/es/icons/UserGroupIcon.js +1 -1
- package/es/icons/UserIcon.js +1 -1
- package/es/icons/UserLockIcon.js +1 -1
- package/es/icons/ViewIcon.js +1 -1
- package/es/icons/WarningFilledIcon.js +1 -1
- package/es/icons/WarningIcon.js +1 -1
- package/es/icons/add-new-icon.js +1 -1
- package/es/icons/index.js +1 -1
- package/es/icons/wrap-icon.js +1 -1
- package/es/index.js +1 -1
- package/es/provider.js +1 -1
- package/es/providers/TrackingProvider.js +1 -1
- package/es/services/notification.js +1 -1
- package/es/shared/form.js +1 -1
- package/es/shared/index.js +1 -1
- package/es/stories/Form.stories.js +3 -3
- package/es/stories/FormFieldArgs.js +1 -1
- package/es/stories/Layout.stories.js +1 -1
- package/es/stories/Tasty.stories.js +1 -1
- package/es/stories/components/ConfirmDeletionDialogForm.js +1 -1
- package/es/stories/components/DialogFormApp.js +1 -1
- package/es/stories/components/StyledButton.js +1 -1
- package/es/stories/lists/baseProps.js +1 -1
- package/es/tasty/index.js +1 -1
- package/es/tasty/providers/BreakpointsProvider.js +1 -1
- package/es/tasty/styles/align.js +1 -1
- package/es/tasty/styles/border.js +1 -1
- package/es/tasty/styles/boxShadow.combinator.js +2 -1
- package/es/tasty/styles/color.js +1 -1
- package/es/tasty/styles/createStyle.js +3 -3
- package/es/tasty/styles/dimension.js +1 -1
- package/es/tasty/styles/display.js +1 -1
- package/es/tasty/styles/fade.js +2 -2
- package/es/tasty/styles/fill.js +1 -1
- package/es/tasty/styles/flow.js +1 -1
- package/es/tasty/styles/font.js +1 -1
- package/es/tasty/styles/fontStyle.js +1 -1
- package/es/tasty/styles/gap.js +1 -1
- package/es/tasty/styles/groupRadius.js +1 -1
- package/es/tasty/styles/height.js +1 -1
- package/es/tasty/styles/index.js +1 -1
- package/es/tasty/styles/inset.js +1 -1
- package/es/tasty/styles/justify.js +1 -1
- package/es/tasty/styles/list.js +1 -1
- package/es/tasty/styles/margin.js +1 -1
- package/es/tasty/styles/marginBlock.js +1 -1
- package/es/tasty/styles/marginInline.js +1 -1
- package/es/tasty/styles/outline.js +26 -9
- package/es/tasty/styles/padding.js +1 -1
- package/es/tasty/styles/paddingBlock.js +1 -1
- package/es/tasty/styles/paddingInline.js +1 -1
- package/es/tasty/styles/predefined.js +3 -3
- package/es/tasty/styles/preset.js +1 -1
- package/es/tasty/styles/radius.js +1 -1
- package/es/tasty/styles/reset.js +2 -2
- package/es/tasty/styles/shadow.js +2 -2
- package/es/tasty/styles/styledScrollbar.js +1 -1
- package/es/tasty/styles/transition.js +1 -1
- package/es/tasty/styles/types.js +1 -1
- package/es/tasty/styles/width.js +1 -1
- package/es/tasty/tasty.js +1 -1
- package/es/tasty/types.js +1 -1
- package/es/tasty/utils/cache-wrapper.js +1 -1
- package/es/tasty/utils/case-converter.js +1 -1
- package/es/tasty/utils/colors.js +2 -2
- package/es/tasty/utils/dotize.js +1 -1
- package/es/tasty/utils/filterBaseProps.js +1 -1
- package/es/tasty/utils/getDisplayName.js +1 -1
- package/es/tasty/utils/index.js +1 -1
- package/es/tasty/utils/mergeStyles.js +1 -1
- package/es/tasty/utils/modAttrs.js +1 -1
- package/es/tasty/utils/renderStyles.js +1 -1
- package/es/tasty/utils/responsive.js +1 -1
- package/es/tasty/utils/string.js +1 -1
- package/es/tasty/utils/styles.js +6 -9
- package/es/tasty/utils/warnings.js +1 -1
- package/es/tokens.js +31 -31
- package/es/type-checks.js +1 -1
- package/es/utils/ResizeSensor.js +1 -1
- package/es/utils/modules.js +1 -1
- package/es/utils/promise.js +1 -1
- package/es/utils/random.js +1 -1
- package/es/utils/range.js +1 -1
- package/es/utils/react/Slots.js +1 -1
- package/es/utils/react/chain.js +1 -1
- package/es/utils/react/index.js +1 -1
- package/es/utils/react/interactions.js +1 -1
- package/es/utils/react/isTextOnly.js +1 -1
- package/es/utils/react/mapProps.js +1 -1
- package/es/utils/react/mergeProps.js +1 -1
- package/es/utils/react/nullableValue.js +1 -1
- package/es/utils/react/useCombinedRefs.js +1 -1
- package/es/utils/react/useId.js +1 -1
- package/es/utils/react/useLayoutEffect.js +1 -1
- package/es/utils/react/useViewportSize.js +1 -1
- package/es/utils/react/wrapNodeIfPlain.js +1 -1
- package/es/utils/transitions.js +1 -1
- package/es/utils/tree.js +1 -1
- package/es/utils/warnings.js +1 -1
- package/es/version.js +2 -2
- package/package.json +3 -2
- package/types/components/fields/ComboBox/ComboBox.d.ts +3 -3
- package/types/components/fields/DatePicker/DateInput.d.ts +2 -4
- package/types/components/fields/DatePicker/DatePicker.d.ts +1 -5
- package/types/components/fields/DatePicker/DateRangePicker.d.ts +2 -4
- package/types/components/fields/DatePicker/TimeInput.d.ts +1 -5
- package/types/components/fields/RadioGroup/Radio.d.ts +60 -0
- package/types/components/fields/RadioGroup/RadioGroup.d.ts +2 -2
- package/types/components/fields/Slider/RangeSlider.d.ts +1 -0
- package/types/components/fields/Slider/Slider.d.ts +1 -0
- package/types/components/form/Form/Form.d.ts +2 -3
- package/types/components/form/Form/index.d.ts +1 -3
- package/types/components/form/Form/types.d.ts +0 -1
- package/types/components/form/Form/use-field/types.d.ts +1 -1
- package/types/components/form/Form/use-form.d.ts +2 -2
- package/types/components/overlays/Dialog/DialogContainer.d.ts +2 -1
- package/types/components/overlays/Dialog/DialogTrigger.d.ts +1 -3
- package/types/components/overlays/Modal/Popover.d.ts +1 -1
- package/types/components/overlays/Tooltip/TooltipProvider.d.ts +1 -3
- package/types/components/overlays/Tooltip/TooltipTrigger.d.ts +1 -3
- package/types/tasty/styles/outline.d.ts +8 -3
- package/types/tasty/styles/shadow.d.ts +1 -1
- package/cjs/_internal/hooks/index.js +0 -34
- package/cjs/_internal/hooks/use-chained-callback.js +0 -22
- package/cjs/_internal/hooks/use-debounced-value.js +0 -56
- package/cjs/_internal/hooks/use-deprecation-warning.js +0 -46
- package/cjs/_internal/hooks/use-effect-once.js +0 -17
- package/cjs/_internal/hooks/use-event.js +0 -25
- package/cjs/_internal/hooks/use-is-first-render.js +0 -21
- package/cjs/_internal/hooks/use-sync-ref.js +0 -21
- package/cjs/_internal/hooks/use-timer/index.js +0 -27
- package/cjs/_internal/hooks/use-timer/timer.js +0 -61
- package/cjs/_internal/hooks/use-timer/use-timer.js +0 -48
- package/cjs/_internal/hooks/use-update-effect.js +0 -23
- package/cjs/_internal/hooks/use-warn.js +0 -42
- package/cjs/_internal/index.js +0 -26
- package/cjs/components/Block.js +0 -24
- package/cjs/components/GlobalStyles.js +0 -385
- package/cjs/components/GridProvider.js +0 -89
- package/cjs/components/HiddenInput.js +0 -38
- package/cjs/components/OpenTrasition.js +0 -34
- package/cjs/components/Root.js +0 -92
- package/cjs/components/actions/Action/Action.js +0 -42
- package/cjs/components/actions/Button/Button.js +0 -260
- package/cjs/components/actions/Button/index.js +0 -26
- package/cjs/components/actions/ButtonGroup/ButtonGroup.js +0 -26
- package/cjs/components/actions/index.js +0 -34
- package/cjs/components/actions/use-action.js +0 -142
- package/cjs/components/content/ActiveZone/ActiveZone.js +0 -40
- package/cjs/components/content/Alert/Alert.js +0 -54
- package/cjs/components/content/Alert/index.js +0 -26
- package/cjs/components/content/Alert/types.js +0 -11
- package/cjs/components/content/Alert/use-alert.js +0 -30
- package/cjs/components/content/Avatar/Avatar.js +0 -36
- package/cjs/components/content/Badge/Badge.js +0 -53
- package/cjs/components/content/Card/Card.js +0 -32
- package/cjs/components/content/Content.js +0 -36
- package/cjs/components/content/CopyPasteBlock/CopyPasteBlock.js +0 -164
- package/cjs/components/content/CopyPasteBlock/index.js +0 -26
- package/cjs/components/content/CopySnippet/CopySnippet.js +0 -186
- package/cjs/components/content/CopySnippet/index.js +0 -26
- package/cjs/components/content/Divider.js +0 -51
- package/cjs/components/content/Footer.js +0 -31
- package/cjs/components/content/Header.js +0 -31
- package/cjs/components/content/Paragraph.js +0 -26
- package/cjs/components/content/Placeholder/Placeholder.js +0 -74
- package/cjs/components/content/PrismCode/PrismCode.js +0 -70
- package/cjs/components/content/PrismDiffCode/PrismDiffCode.js +0 -47
- package/cjs/components/content/Result/Result.js +0 -131
- package/cjs/components/content/Skeleton/Skeleton.js +0 -78
- package/cjs/components/content/Tag/Tag.js +0 -96
- package/cjs/components/content/Text.js +0 -80
- package/cjs/components/content/Title.js +0 -71
- package/cjs/components/fields/Checkbox/Checkbox.js +0 -175
- package/cjs/components/fields/Checkbox/CheckboxGroup.js +0 -76
- package/cjs/components/fields/Checkbox/context.js +0 -14
- package/cjs/components/fields/Checkbox/index.js +0 -27
- package/cjs/components/fields/ComboBox/ComboBox.js +0 -173
- package/cjs/components/fields/ComboBox/index.js +0 -26
- package/cjs/components/fields/DatePicker/DateInput.js +0 -64
- package/cjs/components/fields/DatePicker/DateInputBase.js +0 -81
- package/cjs/components/fields/DatePicker/DatePicker.js +0 -78
- package/cjs/components/fields/DatePicker/DatePickerButton.js +0 -24
- package/cjs/components/fields/DatePicker/DatePickerElement.js +0 -24
- package/cjs/components/fields/DatePicker/DatePickerInput.js +0 -54
- package/cjs/components/fields/DatePicker/DatePickerSegment.js +0 -69
- package/cjs/components/fields/DatePicker/DateRangePicker.js +0 -87
- package/cjs/components/fields/DatePicker/DateRangeSeparatedPicker.js +0 -133
- package/cjs/components/fields/DatePicker/TimeInput.js +0 -53
- package/cjs/components/fields/DatePicker/index.js +0 -32
- package/cjs/components/fields/DatePicker/intl.js +0 -17
- package/cjs/components/fields/DatePicker/parseDate.js +0 -33
- package/cjs/components/fields/DatePicker/props.js +0 -23
- package/cjs/components/fields/DatePicker/types.js +0 -11
- package/cjs/components/fields/DatePicker/utils.js +0 -108
- package/cjs/components/fields/FileInput/FileInput.js +0 -164
- package/cjs/components/fields/Input/Input.js +0 -28
- package/cjs/components/fields/Input/index.js +0 -26
- package/cjs/components/fields/NumberInput/NumberInput.js +0 -56
- package/cjs/components/fields/NumberInput/StepButton.js +0 -44
- package/cjs/components/fields/PasswordInput/PasswordInput.js +0 -52
- package/cjs/components/fields/RadioGroup/Radio.js +0 -221
- package/cjs/components/fields/RadioGroup/RadioGroup.js +0 -84
- package/cjs/components/fields/RadioGroup/context.js +0 -18
- package/cjs/components/fields/RadioGroup/index.js +0 -27
- package/cjs/components/fields/SearchInput/SearchInput.js +0 -44
- package/cjs/components/fields/SearchInput/index.js +0 -26
- package/cjs/components/fields/Select/Select.js +0 -321
- package/cjs/components/fields/Select/index.js +0 -26
- package/cjs/components/fields/Slider/Gradation.js +0 -27
- package/cjs/components/fields/Slider/Header.js +0 -15
- package/cjs/components/fields/Slider/RangeSlider.js +0 -33
- package/cjs/components/fields/Slider/Slider.js +0 -45
- package/cjs/components/fields/Slider/SliderBase.js +0 -129
- package/cjs/components/fields/Slider/SliderInput.js +0 -37
- package/cjs/components/fields/Slider/SliderThumb.js +0 -41
- package/cjs/components/fields/Slider/SliderTrack.js +0 -31
- package/cjs/components/fields/Slider/elements.js +0 -145
- package/cjs/components/fields/Slider/index.js +0 -31
- package/cjs/components/fields/Slider/types.js +0 -11
- package/cjs/components/fields/Switch/Switch.js +0 -152
- package/cjs/components/fields/Switch/index.js +0 -26
- package/cjs/components/fields/TextArea/TextArea.js +0 -71
- package/cjs/components/fields/TextArea/index.js +0 -26
- package/cjs/components/fields/TextInput/TextInput.js +0 -40
- package/cjs/components/fields/TextInput/TextInputBase.js +0 -229
- package/cjs/components/fields/TextInput/index.js +0 -27
- package/cjs/components/fields/TextInputMapper/TextInputMapper.js +0 -190
- package/cjs/components/fields/TextInputMapper/index.js +0 -26
- package/cjs/components/fields/index.js +0 -40
- package/cjs/components/form/FieldWrapper/FieldWrapper.js +0 -91
- package/cjs/components/form/FieldWrapper/extract-field-wrapper-props.js +0 -49
- package/cjs/components/form/FieldWrapper/index.js +0 -28
- package/cjs/components/form/FieldWrapper/types.js +0 -11
- package/cjs/components/form/Form/Field.js +0 -167
- package/cjs/components/form/Form/Form.js +0 -154
- package/cjs/components/form/Form/ResetButton/ResetButton.js +0 -40
- package/cjs/components/form/Form/ResetButton/index.js +0 -26
- package/cjs/components/form/Form/SubmitButton/SubmitButton.js +0 -28
- package/cjs/components/form/Form/SubmitButton/index.js +0 -26
- package/cjs/components/form/Form/SubmitError.js +0 -32
- package/cjs/components/form/Form/index.js +0 -48
- package/cjs/components/form/Form/types.js +0 -11
- package/cjs/components/form/Form/use-field/index.js +0 -28
- package/cjs/components/form/Form/use-field/types.js +0 -11
- package/cjs/components/form/Form/use-field/use-field-props.js +0 -82
- package/cjs/components/form/Form/use-field/use-field.js +0 -162
- package/cjs/components/form/Form/use-form.js +0 -412
- package/cjs/components/form/Form/validation.js +0 -171
- package/cjs/components/form/Label.js +0 -79
- package/cjs/components/form/index.js +0 -29
- package/cjs/components/form/wrapper.js +0 -38
- package/cjs/components/layout/Flex.js +0 -25
- package/cjs/components/layout/Flow.js +0 -26
- package/cjs/components/layout/Grid.js +0 -31
- package/cjs/components/layout/Panel.js +0 -110
- package/cjs/components/layout/Prefix.js +0 -46
- package/cjs/components/layout/ResizablePanel.js +0 -286
- package/cjs/components/layout/Space.js +0 -37
- package/cjs/components/layout/Suffix.js +0 -45
- package/cjs/components/navigation/LegacyTabs/LegacyTabs.js +0 -282
- package/cjs/components/navigation/Link/Link.js +0 -18
- package/cjs/components/organisms/FileTabs/FileTabs.js +0 -267
- package/cjs/components/organisms/Modal/Modal.js +0 -261
- package/cjs/components/organisms/StatsCard/StatsCard.js +0 -19
- package/cjs/components/other/Base64Upload/Base64Upload.js +0 -108
- package/cjs/components/other/Calendar/Calendar.js +0 -58
- package/cjs/components/other/Calendar/CalendarCell.js +0 -72
- package/cjs/components/other/Calendar/CalendarGrid.js +0 -35
- package/cjs/components/other/Calendar/RangeCalendar.js +0 -58
- package/cjs/components/other/CloudLogo/CloudLogo.js +0 -35
- package/cjs/components/overlays/AlertDialog/AlertDialog.js +0 -59
- package/cjs/components/overlays/AlertDialog/AlertDialogApiProvider.js +0 -121
- package/cjs/components/overlays/AlertDialog/AlertDialogZone.js +0 -57
- package/cjs/components/overlays/AlertDialog/index.js +0 -28
- package/cjs/components/overlays/AlertDialog/types.js +0 -11
- package/cjs/components/overlays/Dialog/Dialog.js +0 -200
- package/cjs/components/overlays/Dialog/DialogContainer.js +0 -42
- package/cjs/components/overlays/Dialog/DialogForm.js +0 -49
- package/cjs/components/overlays/Dialog/DialogTrigger.js +0 -133
- package/cjs/components/overlays/Dialog/context.js +0 -24
- package/cjs/components/overlays/Dialog/dialog-container.js +0 -63
- package/cjs/components/overlays/Dialog/index.js +0 -30
- package/cjs/components/overlays/Modal/Modal.js +0 -97
- package/cjs/components/overlays/Modal/OpenTransition.js +0 -31
- package/cjs/components/overlays/Modal/Overlay.js +0 -42
- package/cjs/components/overlays/Modal/Popover.js +0 -71
- package/cjs/components/overlays/Modal/Tray.js +0 -74
- package/cjs/components/overlays/Modal/Underlay.js +0 -46
- package/cjs/components/overlays/Modal/index.js +0 -37
- package/cjs/components/overlays/Modal/types.js +0 -11
- package/cjs/components/overlays/NewNotifications/Bar/FloatingNotification.js +0 -57
- package/cjs/components/overlays/NewNotifications/Bar/NotificationsBar.js +0 -98
- package/cjs/components/overlays/NewNotifications/Bar/TransitionComponent.js +0 -60
- package/cjs/components/overlays/NewNotifications/Bar/index.js +0 -26
- package/cjs/components/overlays/NewNotifications/Dialog/NotificationsDialogTrigger.js +0 -42
- package/cjs/components/overlays/NewNotifications/Dialog/index.js +0 -26
- package/cjs/components/overlays/NewNotifications/Notification.js +0 -45
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationAction.js +0 -44
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.js +0 -29
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationDescription.js +0 -39
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationFooter.js +0 -72
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationHeader.js +0 -34
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationIcon.js +0 -72
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationProvider.js +0 -32
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationView.js +0 -72
- package/cjs/components/overlays/NewNotifications/NotificationView/index.js +0 -27
- package/cjs/components/overlays/NewNotifications/NotificationView/types.js +0 -11
- package/cjs/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.js +0 -25
- package/cjs/components/overlays/NewNotifications/NotificationsContext/index.js +0 -15
- package/cjs/components/overlays/NewNotifications/NotificationsContext/use-notifications.js +0 -95
- package/cjs/components/overlays/NewNotifications/NotificationsList/NotificationsList.js +0 -47
- package/cjs/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.js +0 -32
- package/cjs/components/overlays/NewNotifications/NotificationsList/index.js +0 -26
- package/cjs/components/overlays/NewNotifications/NotificationsList/types.js +0 -11
- package/cjs/components/overlays/NewNotifications/hooks/index.js +0 -30
- package/cjs/components/overlays/NewNotifications/hooks/types.js +0 -11
- package/cjs/components/overlays/NewNotifications/hooks/use-notification-list-item.js +0 -18
- package/cjs/components/overlays/NewNotifications/hooks/use-notifications-api.js +0 -23
- package/cjs/components/overlays/NewNotifications/hooks/use-notifications-list.js +0 -32
- package/cjs/components/overlays/NewNotifications/hooks/use-notifications-observer.js +0 -20
- package/cjs/components/overlays/NewNotifications/index.js +0 -34
- package/cjs/components/overlays/NewNotifications/types.js +0 -11
- package/cjs/components/overlays/Notification/Notification.js +0 -86
- package/cjs/components/overlays/OverlayWrapper.js +0 -34
- package/cjs/components/overlays/Toasts/Toast.js +0 -40
- package/cjs/components/overlays/Toasts/index.js +0 -27
- package/cjs/components/overlays/Toasts/types.js +0 -11
- package/cjs/components/overlays/Toasts/use-toasts-api.js +0 -45
- package/cjs/components/overlays/Tooltip/Tooltip.js +0 -111
- package/cjs/components/overlays/Tooltip/TooltipProvider.js +0 -26
- package/cjs/components/overlays/Tooltip/TooltipTrigger.js +0 -71
- package/cjs/components/overlays/Tooltip/context.js +0 -17
- package/cjs/components/overlays/Tooltip/index.js +0 -27
- package/cjs/components/pickers/Menu/Menu.js +0 -96
- package/cjs/components/pickers/Menu/MenuButton.js +0 -114
- package/cjs/components/pickers/Menu/MenuItem.js +0 -62
- package/cjs/components/pickers/Menu/MenuSection.js +0 -32
- package/cjs/components/pickers/Menu/MenuTrigger.js +0 -97
- package/cjs/components/pickers/Menu/context.js +0 -41
- package/cjs/components/pickers/Menu/styled.js +0 -113
- package/cjs/components/portal/Portal.js +0 -47
- package/cjs/components/portal/PortalProvider.js +0 -28
- package/cjs/components/portal/index.js +0 -29
- package/cjs/components/portal/storybook/templates/CustomRoot.js +0 -20
- package/cjs/components/portal/storybook/templates/PortalOrder.js +0 -17
- package/cjs/components/portal/storybook/templates/basic.js +0 -17
- package/cjs/components/portal/storybook/templates/index.js +0 -28
- package/cjs/components/portal/types.js +0 -11
- package/cjs/components/portal/usePortal.js +0 -47
- package/cjs/components/shared/InvalidIcon.js +0 -15
- package/cjs/components/shared/ValidIcon.js +0 -15
- package/cjs/components/status/LoadingAnimation/LoadingAnimation.js +0 -138
- package/cjs/components/status/LoadingAnimation/index.js +0 -14
- package/cjs/components/status/Spin/Cube.js +0 -196
- package/cjs/components/status/Spin/InternalSpinner.js +0 -29
- package/cjs/components/status/Spin/Spin.js +0 -24
- package/cjs/components/status/Spin/SpinsContainer.js +0 -45
- package/cjs/components/status/Spin/index.js +0 -26
- package/cjs/components/status/Spin/types.js +0 -11
- package/cjs/components/status/index.js +0 -27
- package/cjs/data/themes.js +0 -33
- package/cjs/icons/AiIcon.js +0 -15
- package/cjs/icons/AreaChartIcon.js +0 -15
- package/cjs/icons/BackwardIcon.js +0 -15
- package/cjs/icons/BarChartIcon.js +0 -15
- package/cjs/icons/BellFilledIcon.js +0 -15
- package/cjs/icons/BellIcon.js +0 -15
- package/cjs/icons/BooleanIcon.js +0 -15
- package/cjs/icons/CalendarEditIcon.js +0 -15
- package/cjs/icons/CalendarIcon.js +0 -15
- package/cjs/icons/CaretDownIcon.js +0 -15
- package/cjs/icons/CaretUpIcon.js +0 -15
- package/cjs/icons/CheckCircleFilledIcon.js +0 -15
- package/cjs/icons/CheckCircleIcon.js +0 -15
- package/cjs/icons/CheckIcon.js +0 -15
- package/cjs/icons/CircleFilledIcon.js +0 -15
- package/cjs/icons/ClearIcon.js +0 -15
- package/cjs/icons/CloseCircleFilledIcon.js +0 -15
- package/cjs/icons/CloseCircleIcon.js +0 -15
- package/cjs/icons/CloseIcon.js +0 -15
- package/cjs/icons/CodeIcon.js +0 -15
- package/cjs/icons/CopyIcon.js +0 -15
- package/cjs/icons/CountIcon.js +0 -15
- package/cjs/icons/CubeIcon.js +0 -15
- package/cjs/icons/DangerIcon.js +0 -15
- package/cjs/icons/DashboardIcon.js +0 -15
- package/cjs/icons/DatabaseIcon.js +0 -15
- package/cjs/icons/DirectionIcon.js +0 -70
- package/cjs/icons/DonutIcon.js +0 -15
- package/cjs/icons/DownIcon.js +0 -15
- package/cjs/icons/EditIcon.js +0 -15
- package/cjs/icons/ExclamationCircleFilledIcon.js +0 -15
- package/cjs/icons/ExclamationCircleIcon.js +0 -15
- package/cjs/icons/ExclamationIcon.js +0 -15
- package/cjs/icons/EyeIcon.js +0 -15
- package/cjs/icons/EyeInvisibleIcon.js +0 -15
- package/cjs/icons/FilterIcon.js +0 -15
- package/cjs/icons/FolderFilledIcon.js +0 -15
- package/cjs/icons/FolderIcon.js +0 -15
- package/cjs/icons/FolderOpenFilledIcon.js +0 -15
- package/cjs/icons/FolderOpenIcon.js +0 -15
- package/cjs/icons/ForwardIcon.js +0 -15
- package/cjs/icons/HierarchyIcon.js +0 -15
- package/cjs/icons/Icon.js +0 -39
- package/cjs/icons/InfoCircleIcon.js +0 -15
- package/cjs/icons/InfoIcon.js +0 -15
- package/cjs/icons/KeyIcon.js +0 -15
- package/cjs/icons/LeftIcon.js +0 -15
- package/cjs/icons/LineChartIcon.js +0 -15
- package/cjs/icons/LoadingIcon.js +0 -15
- package/cjs/icons/LockFilledIcon.js +0 -15
- package/cjs/icons/LockIcon.js +0 -15
- package/cjs/icons/MoreIcon.js +0 -15
- package/cjs/icons/NotAllowedIcon.js +0 -15
- package/cjs/icons/NumberIcon.js +0 -15
- package/cjs/icons/PauseCircleFilledIcon.js +0 -15
- package/cjs/icons/PauseCircleIcon.js +0 -15
- package/cjs/icons/PauseIcon.js +0 -15
- package/cjs/icons/PieChartIcon.js +0 -15
- package/cjs/icons/PlayCircleIcon.js +0 -15
- package/cjs/icons/PlayIcon.js +0 -15
- package/cjs/icons/PlusIcon.js +0 -15
- package/cjs/icons/ReloadIcon.js +0 -15
- package/cjs/icons/ReportIcon.js +0 -15
- package/cjs/icons/ReturnIcon.js +0 -15
- package/cjs/icons/RightIcon.js +0 -15
- package/cjs/icons/SchemeIcon.js +0 -15
- package/cjs/icons/SearchIcon.js +0 -15
- package/cjs/icons/SettingsIcon.js +0 -15
- package/cjs/icons/ShieldFilledIcon.js +0 -15
- package/cjs/icons/ShieldIcon.js +0 -15
- package/cjs/icons/SlashIcon.js +0 -15
- package/cjs/icons/SparklesIcon.js +0 -15
- package/cjs/icons/SqlIcon.js +0 -15
- package/cjs/icons/StatsIcon.js +0 -15
- package/cjs/icons/StopIcon.js +0 -15
- package/cjs/icons/StringIcon.js +0 -15
- package/cjs/icons/SwitchIcon.js +0 -15
- package/cjs/icons/TableIcon.js +0 -15
- package/cjs/icons/ThumbsDownIcon.js +0 -15
- package/cjs/icons/ThumbsUpIcon.js +0 -15
- package/cjs/icons/ThunderboltCrossedIcon.js +0 -15
- package/cjs/icons/ThunderboltFilledIcon.js +0 -15
- package/cjs/icons/ThunderboltIcon.js +0 -15
- package/cjs/icons/TimeIcon.js +0 -15
- package/cjs/icons/UnlockIcon.js +0 -15
- package/cjs/icons/UpIcon.js +0 -15
- package/cjs/icons/UserGroupIcon.js +0 -15
- package/cjs/icons/UserIcon.js +0 -15
- package/cjs/icons/UserLockIcon.js +0 -15
- package/cjs/icons/ViewIcon.js +0 -15
- package/cjs/icons/WarningFilledIcon.js +0 -15
- package/cjs/icons/WarningIcon.js +0 -15
- package/cjs/icons/add-new-icon.js +0 -130
- package/cjs/icons/index.js +0 -199
- package/cjs/icons/wrap-icon.js +0 -21
- package/cjs/index.js +0 -160
- package/cjs/provider.js +0 -60
- package/cjs/providers/TrackingProvider.js +0 -31
- package/cjs/services/notification.js +0 -70
- package/cjs/shared/form.js +0 -11
- package/cjs/shared/index.js +0 -26
- package/cjs/stories/Form.stories.js +0 -92
- package/cjs/stories/FormFieldArgs.js +0 -360
- package/cjs/stories/Layout.stories.js +0 -29
- package/cjs/stories/Tasty.stories.js +0 -23
- package/cjs/stories/components/ConfirmDeletionDialogForm.js +0 -35
- package/cjs/stories/components/DialogFormApp.js +0 -18
- package/cjs/stories/components/StyledButton.js +0 -37
- package/cjs/stories/lists/baseProps.js +0 -42
- package/cjs/tasty/index.js +0 -41
- package/cjs/tasty/providers/BreakpointsProvider.js +0 -20
- package/cjs/tasty/styles/align.js +0 -23
- package/cjs/tasty/styles/border.js +0 -57
- package/cjs/tasty/styles/boxShadow.combinator.js +0 -25
- package/cjs/tasty/styles/color.js +0 -42
- package/cjs/tasty/styles/createStyle.js +0 -71
- package/cjs/tasty/styles/dimension.js +0 -88
- package/cjs/tasty/styles/display.js +0 -16
- package/cjs/tasty/styles/fade.js +0 -41
- package/cjs/tasty/styles/fill.js +0 -41
- package/cjs/tasty/styles/flow.js +0 -23
- package/cjs/tasty/styles/font.js +0 -26
- package/cjs/tasty/styles/fontStyle.js +0 -22
- package/cjs/tasty/styles/gap.js +0 -55
- package/cjs/tasty/styles/groupRadius.js +0 -63
- package/cjs/tasty/styles/height.js +0 -18
- package/cjs/tasty/styles/index.js +0 -32
- package/cjs/tasty/styles/inset.js +0 -35
- package/cjs/tasty/styles/justify.js +0 -23
- package/cjs/tasty/styles/list.js +0 -89
- package/cjs/tasty/styles/margin.js +0 -49
- package/cjs/tasty/styles/marginBlock.js +0 -35
- package/cjs/tasty/styles/marginInline.js +0 -39
- package/cjs/tasty/styles/outline.js +0 -27
- package/cjs/tasty/styles/padding.js +0 -50
- package/cjs/tasty/styles/paddingBlock.js +0 -39
- package/cjs/tasty/styles/paddingInline.js +0 -39
- package/cjs/tasty/styles/predefined.js +0 -171
- package/cjs/tasty/styles/preset.js +0 -76
- package/cjs/tasty/styles/radius.js +0 -75
- package/cjs/tasty/styles/reset.js +0 -91
- package/cjs/tasty/styles/shadow.js +0 -29
- package/cjs/tasty/styles/styledScrollbar.js +0 -56
- package/cjs/tasty/styles/transition.js +0 -89
- package/cjs/tasty/styles/types.js +0 -11
- package/cjs/tasty/styles/width.js +0 -18
- package/cjs/tasty/tasty.js +0 -183
- package/cjs/tasty/types.js +0 -11
- package/cjs/tasty/utils/cache-wrapper.js +0 -34
- package/cjs/tasty/utils/case-converter.js +0 -15
- package/cjs/tasty/utils/colors.js +0 -18
- package/cjs/tasty/utils/dotize.js +0 -200
- package/cjs/tasty/utils/filterBaseProps.js +0 -70
- package/cjs/tasty/utils/getDisplayName.js +0 -19
- package/cjs/tasty/utils/index.js +0 -45
- package/cjs/tasty/utils/mergeStyles.js +0 -35
- package/cjs/tasty/utils/modAttrs.js +0 -26
- package/cjs/tasty/utils/renderStyles.js +0 -133
- package/cjs/tasty/utils/responsive.js +0 -71
- package/cjs/tasty/utils/string.js +0 -15
- package/cjs/tasty/utils/styles.js +0 -854
- package/cjs/tasty/utils/warnings.js +0 -36
- package/cjs/tokens.js +0 -255
- package/cjs/type-checks.js +0 -19
- package/cjs/utils/ResizeSensor.js +0 -324
- package/cjs/utils/modules.js +0 -15
- package/cjs/utils/promise.js +0 -17
- package/cjs/utils/random.js +0 -17
- package/cjs/utils/range.js +0 -15
- package/cjs/utils/react/Slots.js +0 -48
- package/cjs/utils/react/chain.js +0 -24
- package/cjs/utils/react/index.js +0 -32
- package/cjs/utils/react/interactions.js +0 -30
- package/cjs/utils/react/isTextOnly.js +0 -16
- package/cjs/utils/react/mapProps.js +0 -29
- package/cjs/utils/react/mergeProps.js +0 -71
- package/cjs/utils/react/nullableValue.js +0 -45
- package/cjs/utils/react/useCombinedRefs.js +0 -29
- package/cjs/utils/react/useId.js +0 -87
- package/cjs/utils/react/useLayoutEffect.js +0 -40
- package/cjs/utils/react/useViewportSize.js +0 -56
- package/cjs/utils/react/wrapNodeIfPlain.js +0 -21
- package/cjs/utils/transitions.js +0 -67
- package/cjs/utils/tree.js +0 -27
- package/cjs/utils/warnings.js +0 -57
- package/cjs/version.js +0 -25
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.ThunderboltIcon = void 0;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const wrap_icon_1 = require("./wrap-icon");
|
13
|
-
exports.ThunderboltIcon = (0, wrap_icon_1.wrapIcon)('ThunderboltIcon', (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "M3.995 14.306c-.053.217.21.375.374.216l9.036-8.621a.224.224 0 0 0-.155-.387h-3.235l2.967-3.749a.226.226 0 0 0-.177-.365H6.813a.224.224 0 0 0-.195.113L2.57 8.504a.225.225 0 0 0 .194.338h2.597l-1.225 4.9-.14.564ZM10.997 2.5 7.741 6.614h3.323l-5.269 5.027.975-3.899H4.282L7.317 2.5h3.68Z", clipRule: "evenodd" }) }));
|
14
|
-
|
15
|
-
|
package/cjs/icons/TimeIcon.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.TimeIcon = void 0;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const wrap_icon_1 = require("./wrap-icon");
|
13
|
-
exports.TimeIcon = (0, wrap_icon_1.wrapIcon)('TimeIcon', (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "M13.7 8A5.7 5.7 0 1 1 2.3 8a5.7 5.7 0 0 1 11.4 0ZM15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0ZM8.654 5.091V7.74l2.151 2.173a.616.616 0 0 1 .188.451.585.585 0 0 1-.188.442.662.662 0 0 1-.45.187.582.582 0 0 1-.45-.187l-2.288-2.37a.798.798 0 0 1-.128-.215.654.654 0 0 1-.043-.239v-2.89a.59.59 0 0 1 .606-.604.583.583 0 0 1 .602.604Z", clipRule: "evenodd" }) }));
|
14
|
-
|
15
|
-
|
package/cjs/icons/UnlockIcon.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.UnlockIcon = void 0;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const wrap_icon_1 = require("./wrap-icon");
|
13
|
-
exports.UnlockIcon = (0, wrap_icon_1.wrapIcon)('UnlockIcon', (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "M9.059 2.172c.532.203.898.343 1.172.475.268.128.401.226.488.322a1.4 1.4 0 0 1 .354.79c.013.128-.002.293-.085.579-.085.292-.224.658-.427 1.19L10.38 6H4.68c-1.008 0-1.512 0-1.897.196a1.8 1.8 0 0 0-.787.787C1.8 7.368 1.8 7.872 1.8 8.88v3.24c0 1.008 0 1.512.196 1.897a1.8 1.8 0 0 0 .787.787C3.168 15 3.672 15 4.68 15h6.64c1.008 0 1.512 0 1.897-.196a1.8 1.8 0 0 0 .787-.787c.196-.385.196-.889.196-1.897V8.88c0-1.008 0-1.512-.196-1.897a1.8 1.8 0 0 0-.787-.787c-.338-.172-.768-.193-1.552-.196.168-.438.344-.876.475-1.327.104-.357.163-.693.126-1.042a2.6 2.6 0 0 0-.657-1.467c-.235-.26-.525-.44-.86-.6a18 18 0 0 0-1.24-.504L8.707.753a18 18 0 0 0-1.04-.375 2.7 2.7 0 0 0-.864-.14 2.6 2.6 0 0 0-1.777.771 2.7 2.7 0 0 0-.488.726c-.131.268-.269.605-.437 1.016l-.008.02a.6.6 0 0 0 1.111.453c.178-.435.3-.734.412-.96.108-.222.188-.335.263-.411a1.4 1.4 0 0 1 .957-.415c.107-.003.244.016.48.088.241.073.543.188.983.356zM11.32 7.2H4.68c-.524 0-.845 0-1.085.02-.372.031-.546.225-.575.575C3 8.035 3 8.356 3 8.88v3.24c0 .524 0 .845.02 1.085.031.373.225.546.575.575.24.02.561.02 1.085.02h6.64c.524 0 .845 0 1.085-.02.376-.031.546-.223.575-.575.02-.24.02-.561.02-1.085V8.88c0-.524 0-.845-.02-1.085-.031-.375-.223-.546-.575-.574-.24-.02-.561-.021-1.085-.021m-2.717 3.441A1.004 1.004 0 0 0 8 8.831a1.005 1.005 0 0 0-.603 1.81v1.425h1.206z", clipRule: "evenodd" }) }));
|
14
|
-
|
15
|
-
|
package/cjs/icons/UpIcon.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.UpIcon = void 0;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const wrap_icon_1 = require("./wrap-icon");
|
13
|
-
exports.UpIcon = (0, wrap_icon_1.wrapIcon)('UpIcon', (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none", viewBox: "0 0 16 16", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "M13.696 11.078a.65.65 0 0 0 0-.92L8.46 4.922a.65.65 0 0 0-.92 0l-5.236 5.236a.65.65 0 0 0 .92.92L8 6.3l4.777 4.777a.65.65 0 0 0 .919 0", clipRule: "evenodd" }) }));
|
14
|
-
|
15
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.UserGroupIcon = void 0;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const wrap_icon_1 = require("./wrap-icon");
|
13
|
-
exports.UserGroupIcon = (0, wrap_icon_1.wrapIcon)('UserGroupIcon', (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none", viewBox: "0 0 16 16", children: [(0, jsx_runtime_1.jsx)("g", { clipPath: "url(#a)", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "M8.198 3.604a2.301 2.301 0 1 0-2.424 2.99c-.086.39-.119.81-.091 1.22-1.8.151-3.267 1.561-3.533 3.388-.048.328-.312.598-.644.598-.331 0-.603-.27-.566-.6a5.2 5.2 0 0 1 2.929-4.123 3.5 3.5 0 1 1 5.481-3.81 4.3 4.3 0 0 0-1.152.337m-.362 6.69a3.5 3.5 0 1 1 4.275 0 5.2 5.2 0 0 1 2.929 4.124c.037.329-.235.599-.567.599s-.595-.27-.643-.598c-.275-1.888-1.832-3.33-3.714-3.4a4 4 0 0 1-.285 0c-1.882.07-3.44 1.512-3.715 3.4-.047.327-.311.598-.643.598-.331 0-.603-.27-.566-.6a5.2 5.2 0 0 1 2.929-4.123m2.005-.476a5 5 0 0 1 .265 0 2.3 2.3 0 1 0-.265 0", clipRule: "evenodd" }) }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "a", children: (0, jsx_runtime_1.jsx)("path", { fill: "#fff", d: "M0 0h16v16H0z" }) }) })] }));
|
14
|
-
|
15
|
-
|
package/cjs/icons/UserIcon.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.UserIcon = void 0;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const wrap_icon_1 = require("./wrap-icon");
|
13
|
-
exports.UserIcon = (0, wrap_icon_1.wrapIcon)('UserIcon', (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none", viewBox: "0 0 16 16", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "M11.2 5a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0m-.606 3.678a4.5 4.5 0 1 0-5.188 0C2.939 9.59 1.119 11.767.877 14.4c-.03.33.242.599.573.599h.1c.331 0 .596-.27.635-.599.317-2.72 2.769-4.885 5.815-4.885s5.498 2.165 5.815 4.885c.039.33.304.599.635.599h.1c.331 0 .603-.27.573-.6-.242-2.633-2.062-4.81-4.529-5.722", clipRule: "evenodd" }) }));
|
14
|
-
|
15
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.UserLockIcon = void 0;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const wrap_icon_1 = require("./wrap-icon");
|
13
|
-
exports.UserLockIcon = (0, wrap_icon_1.wrapIcon)('UserLockIcon', (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none", viewBox: "0 0 16 16", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "m6.01 6.8-.134.002a2.3 2.3 0 1 1 .268 0zm-3.5-2.294c0 1.128.534 2.131 1.362 2.772A5.21 5.21 0 0 0 .91 12a.6.6 0 1 0 1.2 0c0-2.172 1.68-3.92 3.756-3.998a4 4 0 0 0 .288 0c.815.03 1.566.317 2.18.785a.6.6 0 0 0 .728-.954 5 5 0 0 0-.915-.556A3.5 3.5 0 1 0 2.51 4.506m9.58 3.507h.796c.262 0 .492 0 .68.015.202.017.406.053.603.154.292.148.529.385.677.677.1.197.137.401.154.602.015.19.015.419.015.68v.826c.123.005.214.018.294.044a1 1 0 0 1 .642.642c.049.15.049.336.049.709V14.6c0 .372 0 .558-.049.709a1 1 0 0 1-.642.642c-.15.049-.337.049-.709.049h-4.225c-.372 0-.558 0-.709-.049a1 1 0 0 1-.642-.642c-.049-.15-.049-.337-.049-.71v-2.237c0-.373 0-.559.05-.71a1 1 0 0 1 .641-.641c.08-.026.17-.039.294-.044v-.825c0-.262 0-.492.015-.68.017-.202.053-.406.154-.603a1.55 1.55 0 0 1 .677-.677c.198-.101.402-.137.602-.154.19-.015.419-.015.681-.015m1.825 2.15v.799H11.06v-.8c0-.288 0-.472.012-.611a.5.5 0 0 1 .037-.193.45.45 0 0 1 .197-.196.5.5 0 0 1 .192-.038c.14-.01.323-.011.612-.011h.755c.29 0 .473 0 .612.011a.5.5 0 0 1 .193.038.45.45 0 0 1 .196.196.5.5 0 0 1 .037.193c.012.139.012.323.012.612m.685 1.899h-4.225l-.298.001c-.002.069-.002.161-.002.299V14.6c0 .137 0 .23.002.298.069.002.16.002.298.002H14.6c.137 0 .23 0 .298-.002.002-.068.002-.16.002-.298v-2.238c0-.138 0-.23-.002-.299z", clipRule: "evenodd" }) }));
|
14
|
-
|
15
|
-
|
package/cjs/icons/ViewIcon.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.ViewIcon = void 0;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const wrap_icon_1 = require("./wrap-icon");
|
13
|
-
exports.ViewIcon = (0, wrap_icon_1.wrapIcon)('ViewIcon', (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "M1.305 1.866A1.22 1.22 0 0 0 .182 3.562l4.16 9.827a1.22 1.22 0 0 0 1.123.745h5.07c.49 0 .933-.293 1.124-.745l4.16-9.827a1.22 1.22 0 0 0-1.125-1.696h-4.45c-.49 0-.932.293-1.123.745L8 5.258 6.88 2.611a1.22 1.22 0 0 0-1.124-.745h-4.45ZM8.673 6.85l2.204 5.207 3.787-8.95h-4.407L8.673 6.85Zm1.212 6.045L5.743 3.106H1.336l4.142 9.788h4.407Z", clipRule: "evenodd" }) }));
|
14
|
-
|
15
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.WarningFilledIcon = void 0;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const wrap_icon_1 = require("./wrap-icon");
|
13
|
-
exports.WarningFilledIcon = (0, wrap_icon_1.wrapIcon)('WarningFilledIcon', (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none", viewBox: "0 0 16 16", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "M6.618 1.495c.598-1.092 2.166-1.092 2.764 0l5.906 10.8a1.575 1.575 0 0 1-1.382 2.33H2.094a1.575 1.575 0 0 1-1.381-2.33zM8.6 5.276v4H7.4v-4zm.45 6.18a1.05 1.05 0 1 1-2.1 0 1.05 1.05 0 0 1 2.1 0", clipRule: "evenodd" }) }));
|
14
|
-
|
15
|
-
|
package/cjs/icons/WarningIcon.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.WarningIcon = void 0;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const wrap_icon_1 = require("./wrap-icon");
|
13
|
-
exports.WarningIcon = (0, wrap_icon_1.wrapIcon)('WarningIcon', (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none", viewBox: "0 0 16 16", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", fillRule: "evenodd", d: "M6.377 1.363C7.079.08 8.92.08 9.623 1.363l5.906 10.8c.674 1.232-.218 2.737-1.623 2.737H2.094C.69 14.9-.203 13.395.471 12.162zm2.106.624a.55.55 0 0 0-.966 0L1.612 12.786a.55.55 0 0 0 .482.814h11.812a.55.55 0 0 0 .482-.814zM8.65 5.49v4h-1.3v-4zM8 12.505a1.05 1.05 0 1 0 0-2.1 1.05 1.05 0 0 0 0 2.1", clipRule: "evenodd" }) }));
|
14
|
-
|
15
|
-
|
@@ -1,130 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
#!/usr/bin/env node
|
9
|
-
"use strict";
|
10
|
-
const { execSync } = require('child_process');
|
11
|
-
const fs = require('fs');
|
12
|
-
const path = require('path');
|
13
|
-
const prettier = require('prettier');
|
14
|
-
(async function main() {
|
15
|
-
// Run svgo on all svg files in this folder
|
16
|
-
try {
|
17
|
-
console.log('Optimizing SVGs with svgo...');
|
18
|
-
execSync('svgo *.svg', { stdio: 'inherit' });
|
19
|
-
}
|
20
|
-
catch (err) {
|
21
|
-
console.error('Error running svgo:', err);
|
22
|
-
process.exit(1);
|
23
|
-
}
|
24
|
-
// Get all .svg files in the current directory
|
25
|
-
const allFiles = fs.readdirSync(process.cwd());
|
26
|
-
const svgFiles = allFiles.filter((file) => file.endsWith('.svg'));
|
27
|
-
for (const svgFile of svgFiles) {
|
28
|
-
const name = path.basename(svgFile, '.svg');
|
29
|
-
const tsxFileName = `${name}Icon.tsx`;
|
30
|
-
// Read the original SVG file
|
31
|
-
let svgContent = fs.readFileSync(svgFile, 'utf8');
|
32
|
-
// Replace '#43436B' with 'currentColor'
|
33
|
-
svgContent = svgContent.replace(/#43436B/g, 'currentColor');
|
34
|
-
// Ensure the <svg> tag has a viewBox attribute; if not, add one.
|
35
|
-
const svgTagMatch = svgContent.match(/<svg\b([^>]*)>/);
|
36
|
-
if (svgTagMatch) {
|
37
|
-
const svgTag = svgTagMatch[0];
|
38
|
-
if (!/viewBox=/.test(svgTag)) {
|
39
|
-
// Insert viewBox attribute right after <svg
|
40
|
-
const newSvgTag = svgTag.replace('<svg', '<svg viewBox="0 0 16 16"');
|
41
|
-
svgContent = svgContent.replace(svgTag, newSvgTag);
|
42
|
-
}
|
43
|
-
}
|
44
|
-
else {
|
45
|
-
console.warn(`No <svg> tag found in ${svgFile}. Skipping file.`);
|
46
|
-
continue;
|
47
|
-
}
|
48
|
-
// Convert dash-case attributes to camelCase (e.g. fill-rule -> fillRule)
|
49
|
-
svgContent = svgContent.replace(/(\s+)([a-z]+-[a-z0-9-]+)(\s*=)/gi, (match, pre, attrName, post) => {
|
50
|
-
const camelAttr = attrName.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());
|
51
|
-
return pre + camelAttr + post;
|
52
|
-
});
|
53
|
-
// Build the TSX content using the template.
|
54
|
-
const tsxTemplate = `
|
55
|
-
import { wrapIcon } from './wrap-icon';
|
56
|
-
|
57
|
-
export const ${name}Icon = wrapIcon(
|
58
|
-
'${name}Icon',
|
59
|
-
(
|
60
|
-
${svgContent.trim()}
|
61
|
-
),
|
62
|
-
);
|
63
|
-
`;
|
64
|
-
// Format the content with local Prettier configuration (using babel-ts parser)
|
65
|
-
let formattedTSX;
|
66
|
-
try {
|
67
|
-
formattedTSX = await prettier.format(tsxTemplate, { parser: 'babel-ts' });
|
68
|
-
}
|
69
|
-
catch (err) {
|
70
|
-
console.error(`Error formatting ${tsxFileName} with Prettier:`, err);
|
71
|
-
formattedTSX = tsxTemplate; // Fallback to unformatted version
|
72
|
-
}
|
73
|
-
// Write the new TSX file
|
74
|
-
fs.writeFileSync(tsxFileName, formattedTSX, 'utf8');
|
75
|
-
console.log(`Created ${tsxFileName}`);
|
76
|
-
}
|
77
|
-
// Update index.ts to add new exports and sort them
|
78
|
-
const indexPath = path.join(process.cwd(), 'index.ts');
|
79
|
-
if (!fs.existsSync(indexPath)) {
|
80
|
-
console.error('index.ts not found in the current directory.');
|
81
|
-
process.exit(1);
|
82
|
-
}
|
83
|
-
let indexContent = fs.readFileSync(indexPath, 'utf8');
|
84
|
-
const lines = indexContent.split('\n');
|
85
|
-
// Locate the line with "export { wrapIcon } from './wrap-icon';"
|
86
|
-
const wrapIconLineIndex = lines.findIndex((line) => line.includes("export { wrapIcon } from './wrap-icon';"));
|
87
|
-
if (wrapIconLineIndex === -1) {
|
88
|
-
console.error("Couldn't find the export { wrapIcon } line in index.ts.");
|
89
|
-
process.exit(1);
|
90
|
-
}
|
91
|
-
// Get the export block above the wrapIcon export
|
92
|
-
let headerLines = lines.slice(0, wrapIconLineIndex);
|
93
|
-
const footerLines = lines.slice(wrapIconLineIndex);
|
94
|
-
// Ensure that for each SVG file there is an export line
|
95
|
-
svgFiles.forEach((svgFile) => {
|
96
|
-
const name = path.basename(svgFile, '.svg');
|
97
|
-
const exportLine = `export { ${name}Icon } from './${name}Icon';`;
|
98
|
-
// Add if not already present (ignoring extra whitespace)
|
99
|
-
if (!headerLines.some((line) => line.trim() === exportLine)) {
|
100
|
-
headerLines.push(exportLine);
|
101
|
-
}
|
102
|
-
});
|
103
|
-
// Remove empty lines and sort the export lines alphabetically
|
104
|
-
headerLines = headerLines
|
105
|
-
.filter((line) => line.trim() !== '')
|
106
|
-
.sort((a, b) => a.localeCompare(b));
|
107
|
-
// Reassemble the file content
|
108
|
-
const newIndexContent = [...headerLines, ...footerLines].join('\n');
|
109
|
-
// Format the updated index.ts with Prettier
|
110
|
-
let formattedIndex;
|
111
|
-
try {
|
112
|
-
formattedIndex = await prettier.format(newIndexContent, {
|
113
|
-
parser: 'babel-ts',
|
114
|
-
});
|
115
|
-
}
|
116
|
-
catch (err) {
|
117
|
-
console.error('Error formatting index.ts with Prettier:', err);
|
118
|
-
formattedIndex = newIndexContent;
|
119
|
-
}
|
120
|
-
// Write the updated index.ts
|
121
|
-
fs.writeFileSync(indexPath, formattedIndex, 'utf8');
|
122
|
-
console.log('Updated index.ts');
|
123
|
-
// Remove all initial SVG files
|
124
|
-
for (const svgFile of svgFiles) {
|
125
|
-
fs.unlinkSync(svgFile);
|
126
|
-
console.log(`Removed ${svgFile}`);
|
127
|
-
}
|
128
|
-
})();
|
129
|
-
|
130
|
-
|
package/cjs/icons/index.js
DELETED
@@ -1,199 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.LockIcon = exports.LockFilledIcon = exports.LoadingIcon = exports.LineChartIcon = exports.LeftIcon = exports.KeyIcon = exports.InfoIcon = exports.InfoCircleIcon = exports.HierarchyIcon = exports.ForwardIcon = exports.FolderOpenIcon = exports.FolderOpenFilledIcon = exports.FolderIcon = exports.FolderFilledIcon = exports.FilterIcon = exports.EyeInvisibleIcon = exports.EyeIcon = exports.ExclamationIcon = exports.ExclamationCircleIcon = exports.ExclamationCircleFilledIcon = exports.EditIcon = exports.DownIcon = exports.DonutIcon = exports.DirectionIcon = exports.DatabaseIcon = exports.DashboardIcon = exports.DangerIcon = exports.CubeIcon = exports.CountIcon = exports.CopyIcon = exports.CodeIcon = exports.CloseIcon = exports.CloseCircleIcon = exports.CloseCircleFilledIcon = exports.ClearIcon = exports.CircleFilledIcon = exports.CheckIcon = exports.CheckCircleIcon = exports.CheckCircleFilledIcon = exports.CaretUpIcon = exports.CaretDownIcon = exports.CalendarIcon = exports.CalendarEditIcon = exports.BooleanIcon = exports.BellIcon = exports.BellFilledIcon = exports.BarChartIcon = exports.BackwardIcon = exports.AreaChartIcon = exports.AiIcon = void 0;
|
11
|
-
exports.Icon = exports.wrapIcon = exports.WarningIcon = exports.WarningFilledIcon = exports.ViewIcon = exports.UserLockIcon = exports.UserIcon = exports.UserGroupIcon = exports.UpIcon = exports.UnlockIcon = exports.TimeIcon = exports.ThunderboltIcon = exports.ThunderboltFilledIcon = exports.ThunderboltCrossedIcon = exports.ThumbsUpIcon = exports.ThumbsDownIcon = exports.TableIcon = exports.SwitchIcon = exports.StringIcon = exports.StopIcon = exports.StatsIcon = exports.SqlIcon = exports.SparklesIcon = exports.SlashIcon = exports.ShieldIcon = exports.ShieldFilledIcon = exports.SettingsIcon = exports.SearchIcon = exports.SchemeIcon = exports.RightIcon = exports.ReturnIcon = exports.ReportIcon = exports.ReloadIcon = exports.PlusIcon = exports.PlayIcon = exports.PlayCircleIcon = exports.PieChartIcon = exports.PauseIcon = exports.PauseCircleIcon = exports.PauseCircleFilledIcon = exports.NumberIcon = exports.NotAllowedIcon = exports.MoreIcon = void 0;
|
12
|
-
var AiIcon_1 = require("./AiIcon");
|
13
|
-
Object.defineProperty(exports, "AiIcon", { enumerable: true, get: function () { return AiIcon_1.AiIcon; } });
|
14
|
-
var AreaChartIcon_1 = require("./AreaChartIcon");
|
15
|
-
Object.defineProperty(exports, "AreaChartIcon", { enumerable: true, get: function () { return AreaChartIcon_1.AreaChartIcon; } });
|
16
|
-
var BackwardIcon_1 = require("./BackwardIcon");
|
17
|
-
Object.defineProperty(exports, "BackwardIcon", { enumerable: true, get: function () { return BackwardIcon_1.BackwardIcon; } });
|
18
|
-
var BarChartIcon_1 = require("./BarChartIcon");
|
19
|
-
Object.defineProperty(exports, "BarChartIcon", { enumerable: true, get: function () { return BarChartIcon_1.BarChartIcon; } });
|
20
|
-
var BellFilledIcon_1 = require("./BellFilledIcon");
|
21
|
-
Object.defineProperty(exports, "BellFilledIcon", { enumerable: true, get: function () { return BellFilledIcon_1.BellFilledIcon; } });
|
22
|
-
var BellIcon_1 = require("./BellIcon");
|
23
|
-
Object.defineProperty(exports, "BellIcon", { enumerable: true, get: function () { return BellIcon_1.BellIcon; } });
|
24
|
-
var BooleanIcon_1 = require("./BooleanIcon");
|
25
|
-
Object.defineProperty(exports, "BooleanIcon", { enumerable: true, get: function () { return BooleanIcon_1.BooleanIcon; } });
|
26
|
-
var CalendarEditIcon_1 = require("./CalendarEditIcon");
|
27
|
-
Object.defineProperty(exports, "CalendarEditIcon", { enumerable: true, get: function () { return CalendarEditIcon_1.CalendarEditIcon; } });
|
28
|
-
var CalendarIcon_1 = require("./CalendarIcon");
|
29
|
-
Object.defineProperty(exports, "CalendarIcon", { enumerable: true, get: function () { return CalendarIcon_1.CalendarIcon; } });
|
30
|
-
var CaretDownIcon_1 = require("./CaretDownIcon");
|
31
|
-
Object.defineProperty(exports, "CaretDownIcon", { enumerable: true, get: function () { return CaretDownIcon_1.CaretDownIcon; } });
|
32
|
-
var CaretUpIcon_1 = require("./CaretUpIcon");
|
33
|
-
Object.defineProperty(exports, "CaretUpIcon", { enumerable: true, get: function () { return CaretUpIcon_1.CaretUpIcon; } });
|
34
|
-
var CheckCircleFilledIcon_1 = require("./CheckCircleFilledIcon");
|
35
|
-
Object.defineProperty(exports, "CheckCircleFilledIcon", { enumerable: true, get: function () { return CheckCircleFilledIcon_1.CheckCircleFilledIcon; } });
|
36
|
-
var CheckCircleIcon_1 = require("./CheckCircleIcon");
|
37
|
-
Object.defineProperty(exports, "CheckCircleIcon", { enumerable: true, get: function () { return CheckCircleIcon_1.CheckCircleIcon; } });
|
38
|
-
var CheckIcon_1 = require("./CheckIcon");
|
39
|
-
Object.defineProperty(exports, "CheckIcon", { enumerable: true, get: function () { return CheckIcon_1.CheckIcon; } });
|
40
|
-
var CircleFilledIcon_1 = require("./CircleFilledIcon");
|
41
|
-
Object.defineProperty(exports, "CircleFilledIcon", { enumerable: true, get: function () { return CircleFilledIcon_1.CircleFilledIcon; } });
|
42
|
-
var ClearIcon_1 = require("./ClearIcon");
|
43
|
-
Object.defineProperty(exports, "ClearIcon", { enumerable: true, get: function () { return ClearIcon_1.ClearIcon; } });
|
44
|
-
var CloseCircleFilledIcon_1 = require("./CloseCircleFilledIcon");
|
45
|
-
Object.defineProperty(exports, "CloseCircleFilledIcon", { enumerable: true, get: function () { return CloseCircleFilledIcon_1.CloseCircleFilledIcon; } });
|
46
|
-
var CloseCircleIcon_1 = require("./CloseCircleIcon");
|
47
|
-
Object.defineProperty(exports, "CloseCircleIcon", { enumerable: true, get: function () { return CloseCircleIcon_1.CloseCircleIcon; } });
|
48
|
-
var CloseIcon_1 = require("./CloseIcon");
|
49
|
-
Object.defineProperty(exports, "CloseIcon", { enumerable: true, get: function () { return CloseIcon_1.CloseIcon; } });
|
50
|
-
var CodeIcon_1 = require("./CodeIcon");
|
51
|
-
Object.defineProperty(exports, "CodeIcon", { enumerable: true, get: function () { return CodeIcon_1.CodeIcon; } });
|
52
|
-
var CopyIcon_1 = require("./CopyIcon");
|
53
|
-
Object.defineProperty(exports, "CopyIcon", { enumerable: true, get: function () { return CopyIcon_1.CopyIcon; } });
|
54
|
-
var CountIcon_1 = require("./CountIcon");
|
55
|
-
Object.defineProperty(exports, "CountIcon", { enumerable: true, get: function () { return CountIcon_1.CountIcon; } });
|
56
|
-
var CubeIcon_1 = require("./CubeIcon");
|
57
|
-
Object.defineProperty(exports, "CubeIcon", { enumerable: true, get: function () { return CubeIcon_1.CubeIcon; } });
|
58
|
-
var DangerIcon_1 = require("./DangerIcon");
|
59
|
-
Object.defineProperty(exports, "DangerIcon", { enumerable: true, get: function () { return DangerIcon_1.DangerIcon; } });
|
60
|
-
var DashboardIcon_1 = require("./DashboardIcon");
|
61
|
-
Object.defineProperty(exports, "DashboardIcon", { enumerable: true, get: function () { return DashboardIcon_1.DashboardIcon; } });
|
62
|
-
var DatabaseIcon_1 = require("./DatabaseIcon");
|
63
|
-
Object.defineProperty(exports, "DatabaseIcon", { enumerable: true, get: function () { return DatabaseIcon_1.DatabaseIcon; } });
|
64
|
-
var DirectionIcon_1 = require("./DirectionIcon");
|
65
|
-
Object.defineProperty(exports, "DirectionIcon", { enumerable: true, get: function () { return DirectionIcon_1.DirectionIcon; } });
|
66
|
-
var DonutIcon_1 = require("./DonutIcon");
|
67
|
-
Object.defineProperty(exports, "DonutIcon", { enumerable: true, get: function () { return DonutIcon_1.DonutIcon; } });
|
68
|
-
var DownIcon_1 = require("./DownIcon");
|
69
|
-
Object.defineProperty(exports, "DownIcon", { enumerable: true, get: function () { return DownIcon_1.DownIcon; } });
|
70
|
-
var EditIcon_1 = require("./EditIcon");
|
71
|
-
Object.defineProperty(exports, "EditIcon", { enumerable: true, get: function () { return EditIcon_1.EditIcon; } });
|
72
|
-
var ExclamationCircleFilledIcon_1 = require("./ExclamationCircleFilledIcon");
|
73
|
-
Object.defineProperty(exports, "ExclamationCircleFilledIcon", { enumerable: true, get: function () { return ExclamationCircleFilledIcon_1.ExclamationCircleFilledIcon; } });
|
74
|
-
var ExclamationCircleIcon_1 = require("./ExclamationCircleIcon");
|
75
|
-
Object.defineProperty(exports, "ExclamationCircleIcon", { enumerable: true, get: function () { return ExclamationCircleIcon_1.ExclamationCircleIcon; } });
|
76
|
-
var ExclamationIcon_1 = require("./ExclamationIcon");
|
77
|
-
Object.defineProperty(exports, "ExclamationIcon", { enumerable: true, get: function () { return ExclamationIcon_1.ExclamationIcon; } });
|
78
|
-
var EyeIcon_1 = require("./EyeIcon");
|
79
|
-
Object.defineProperty(exports, "EyeIcon", { enumerable: true, get: function () { return EyeIcon_1.EyeIcon; } });
|
80
|
-
var EyeInvisibleIcon_1 = require("./EyeInvisibleIcon");
|
81
|
-
Object.defineProperty(exports, "EyeInvisibleIcon", { enumerable: true, get: function () { return EyeInvisibleIcon_1.EyeInvisibleIcon; } });
|
82
|
-
var FilterIcon_1 = require("./FilterIcon");
|
83
|
-
Object.defineProperty(exports, "FilterIcon", { enumerable: true, get: function () { return FilterIcon_1.FilterIcon; } });
|
84
|
-
var FolderFilledIcon_1 = require("./FolderFilledIcon");
|
85
|
-
Object.defineProperty(exports, "FolderFilledIcon", { enumerable: true, get: function () { return FolderFilledIcon_1.FolderFilledIcon; } });
|
86
|
-
var FolderIcon_1 = require("./FolderIcon");
|
87
|
-
Object.defineProperty(exports, "FolderIcon", { enumerable: true, get: function () { return FolderIcon_1.FolderIcon; } });
|
88
|
-
var FolderOpenFilledIcon_1 = require("./FolderOpenFilledIcon");
|
89
|
-
Object.defineProperty(exports, "FolderOpenFilledIcon", { enumerable: true, get: function () { return FolderOpenFilledIcon_1.FolderOpenFilledIcon; } });
|
90
|
-
var FolderOpenIcon_1 = require("./FolderOpenIcon");
|
91
|
-
Object.defineProperty(exports, "FolderOpenIcon", { enumerable: true, get: function () { return FolderOpenIcon_1.FolderOpenIcon; } });
|
92
|
-
var ForwardIcon_1 = require("./ForwardIcon");
|
93
|
-
Object.defineProperty(exports, "ForwardIcon", { enumerable: true, get: function () { return ForwardIcon_1.ForwardIcon; } });
|
94
|
-
var HierarchyIcon_1 = require("./HierarchyIcon");
|
95
|
-
Object.defineProperty(exports, "HierarchyIcon", { enumerable: true, get: function () { return HierarchyIcon_1.HierarchyIcon; } });
|
96
|
-
var InfoCircleIcon_1 = require("./InfoCircleIcon");
|
97
|
-
Object.defineProperty(exports, "InfoCircleIcon", { enumerable: true, get: function () { return InfoCircleIcon_1.InfoCircleIcon; } });
|
98
|
-
var InfoIcon_1 = require("./InfoIcon");
|
99
|
-
Object.defineProperty(exports, "InfoIcon", { enumerable: true, get: function () { return InfoIcon_1.InfoIcon; } });
|
100
|
-
var KeyIcon_1 = require("./KeyIcon");
|
101
|
-
Object.defineProperty(exports, "KeyIcon", { enumerable: true, get: function () { return KeyIcon_1.KeyIcon; } });
|
102
|
-
var LeftIcon_1 = require("./LeftIcon");
|
103
|
-
Object.defineProperty(exports, "LeftIcon", { enumerable: true, get: function () { return LeftIcon_1.LeftIcon; } });
|
104
|
-
var LineChartIcon_1 = require("./LineChartIcon");
|
105
|
-
Object.defineProperty(exports, "LineChartIcon", { enumerable: true, get: function () { return LineChartIcon_1.LineChartIcon; } });
|
106
|
-
var LoadingIcon_1 = require("./LoadingIcon");
|
107
|
-
Object.defineProperty(exports, "LoadingIcon", { enumerable: true, get: function () { return LoadingIcon_1.LoadingIcon; } });
|
108
|
-
var LockFilledIcon_1 = require("./LockFilledIcon");
|
109
|
-
Object.defineProperty(exports, "LockFilledIcon", { enumerable: true, get: function () { return LockFilledIcon_1.LockFilledIcon; } });
|
110
|
-
var LockIcon_1 = require("./LockIcon");
|
111
|
-
Object.defineProperty(exports, "LockIcon", { enumerable: true, get: function () { return LockIcon_1.LockIcon; } });
|
112
|
-
var MoreIcon_1 = require("./MoreIcon");
|
113
|
-
Object.defineProperty(exports, "MoreIcon", { enumerable: true, get: function () { return MoreIcon_1.MoreIcon; } });
|
114
|
-
var NotAllowedIcon_1 = require("./NotAllowedIcon");
|
115
|
-
Object.defineProperty(exports, "NotAllowedIcon", { enumerable: true, get: function () { return NotAllowedIcon_1.NotAllowedIcon; } });
|
116
|
-
var NumberIcon_1 = require("./NumberIcon");
|
117
|
-
Object.defineProperty(exports, "NumberIcon", { enumerable: true, get: function () { return NumberIcon_1.NumberIcon; } });
|
118
|
-
var PauseCircleFilledIcon_1 = require("./PauseCircleFilledIcon");
|
119
|
-
Object.defineProperty(exports, "PauseCircleFilledIcon", { enumerable: true, get: function () { return PauseCircleFilledIcon_1.PauseCircleFilledIcon; } });
|
120
|
-
var PauseCircleIcon_1 = require("./PauseCircleIcon");
|
121
|
-
Object.defineProperty(exports, "PauseCircleIcon", { enumerable: true, get: function () { return PauseCircleIcon_1.PauseCircleIcon; } });
|
122
|
-
var PauseIcon_1 = require("./PauseIcon");
|
123
|
-
Object.defineProperty(exports, "PauseIcon", { enumerable: true, get: function () { return PauseIcon_1.PauseIcon; } });
|
124
|
-
var PieChartIcon_1 = require("./PieChartIcon");
|
125
|
-
Object.defineProperty(exports, "PieChartIcon", { enumerable: true, get: function () { return PieChartIcon_1.PieChartIcon; } });
|
126
|
-
var PlayCircleIcon_1 = require("./PlayCircleIcon");
|
127
|
-
Object.defineProperty(exports, "PlayCircleIcon", { enumerable: true, get: function () { return PlayCircleIcon_1.PlayCircleIcon; } });
|
128
|
-
var PlayIcon_1 = require("./PlayIcon");
|
129
|
-
Object.defineProperty(exports, "PlayIcon", { enumerable: true, get: function () { return PlayIcon_1.PlayIcon; } });
|
130
|
-
var PlusIcon_1 = require("./PlusIcon");
|
131
|
-
Object.defineProperty(exports, "PlusIcon", { enumerable: true, get: function () { return PlusIcon_1.PlusIcon; } });
|
132
|
-
var ReloadIcon_1 = require("./ReloadIcon");
|
133
|
-
Object.defineProperty(exports, "ReloadIcon", { enumerable: true, get: function () { return ReloadIcon_1.ReloadIcon; } });
|
134
|
-
var ReportIcon_1 = require("./ReportIcon");
|
135
|
-
Object.defineProperty(exports, "ReportIcon", { enumerable: true, get: function () { return ReportIcon_1.ReportIcon; } });
|
136
|
-
var ReturnIcon_1 = require("./ReturnIcon");
|
137
|
-
Object.defineProperty(exports, "ReturnIcon", { enumerable: true, get: function () { return ReturnIcon_1.ReturnIcon; } });
|
138
|
-
var RightIcon_1 = require("./RightIcon");
|
139
|
-
Object.defineProperty(exports, "RightIcon", { enumerable: true, get: function () { return RightIcon_1.RightIcon; } });
|
140
|
-
var SchemeIcon_1 = require("./SchemeIcon");
|
141
|
-
Object.defineProperty(exports, "SchemeIcon", { enumerable: true, get: function () { return SchemeIcon_1.SchemeIcon; } });
|
142
|
-
var SearchIcon_1 = require("./SearchIcon");
|
143
|
-
Object.defineProperty(exports, "SearchIcon", { enumerable: true, get: function () { return SearchIcon_1.SearchIcon; } });
|
144
|
-
var SettingsIcon_1 = require("./SettingsIcon");
|
145
|
-
Object.defineProperty(exports, "SettingsIcon", { enumerable: true, get: function () { return SettingsIcon_1.SettingsIcon; } });
|
146
|
-
var ShieldFilledIcon_1 = require("./ShieldFilledIcon");
|
147
|
-
Object.defineProperty(exports, "ShieldFilledIcon", { enumerable: true, get: function () { return ShieldFilledIcon_1.ShieldFilledIcon; } });
|
148
|
-
var ShieldIcon_1 = require("./ShieldIcon");
|
149
|
-
Object.defineProperty(exports, "ShieldIcon", { enumerable: true, get: function () { return ShieldIcon_1.ShieldIcon; } });
|
150
|
-
var SlashIcon_1 = require("./SlashIcon");
|
151
|
-
Object.defineProperty(exports, "SlashIcon", { enumerable: true, get: function () { return SlashIcon_1.SlashIcon; } });
|
152
|
-
var SparklesIcon_1 = require("./SparklesIcon");
|
153
|
-
Object.defineProperty(exports, "SparklesIcon", { enumerable: true, get: function () { return SparklesIcon_1.SparklesIcon; } });
|
154
|
-
var SqlIcon_1 = require("./SqlIcon");
|
155
|
-
Object.defineProperty(exports, "SqlIcon", { enumerable: true, get: function () { return SqlIcon_1.SqlIcon; } });
|
156
|
-
var StatsIcon_1 = require("./StatsIcon");
|
157
|
-
Object.defineProperty(exports, "StatsIcon", { enumerable: true, get: function () { return StatsIcon_1.StatsIcon; } });
|
158
|
-
var StopIcon_1 = require("./StopIcon");
|
159
|
-
Object.defineProperty(exports, "StopIcon", { enumerable: true, get: function () { return StopIcon_1.StopIcon; } });
|
160
|
-
var StringIcon_1 = require("./StringIcon");
|
161
|
-
Object.defineProperty(exports, "StringIcon", { enumerable: true, get: function () { return StringIcon_1.StringIcon; } });
|
162
|
-
var SwitchIcon_1 = require("./SwitchIcon");
|
163
|
-
Object.defineProperty(exports, "SwitchIcon", { enumerable: true, get: function () { return SwitchIcon_1.SwitchIcon; } });
|
164
|
-
var TableIcon_1 = require("./TableIcon");
|
165
|
-
Object.defineProperty(exports, "TableIcon", { enumerable: true, get: function () { return TableIcon_1.TableIcon; } });
|
166
|
-
var ThumbsDownIcon_1 = require("./ThumbsDownIcon");
|
167
|
-
Object.defineProperty(exports, "ThumbsDownIcon", { enumerable: true, get: function () { return ThumbsDownIcon_1.ThumbsDownIcon; } });
|
168
|
-
var ThumbsUpIcon_1 = require("./ThumbsUpIcon");
|
169
|
-
Object.defineProperty(exports, "ThumbsUpIcon", { enumerable: true, get: function () { return ThumbsUpIcon_1.ThumbsUpIcon; } });
|
170
|
-
var ThunderboltCrossedIcon_1 = require("./ThunderboltCrossedIcon");
|
171
|
-
Object.defineProperty(exports, "ThunderboltCrossedIcon", { enumerable: true, get: function () { return ThunderboltCrossedIcon_1.ThunderboltCrossedIcon; } });
|
172
|
-
var ThunderboltFilledIcon_1 = require("./ThunderboltFilledIcon");
|
173
|
-
Object.defineProperty(exports, "ThunderboltFilledIcon", { enumerable: true, get: function () { return ThunderboltFilledIcon_1.ThunderboltFilledIcon; } });
|
174
|
-
var ThunderboltIcon_1 = require("./ThunderboltIcon");
|
175
|
-
Object.defineProperty(exports, "ThunderboltIcon", { enumerable: true, get: function () { return ThunderboltIcon_1.ThunderboltIcon; } });
|
176
|
-
var TimeIcon_1 = require("./TimeIcon");
|
177
|
-
Object.defineProperty(exports, "TimeIcon", { enumerable: true, get: function () { return TimeIcon_1.TimeIcon; } });
|
178
|
-
var UnlockIcon_1 = require("./UnlockIcon");
|
179
|
-
Object.defineProperty(exports, "UnlockIcon", { enumerable: true, get: function () { return UnlockIcon_1.UnlockIcon; } });
|
180
|
-
var UpIcon_1 = require("./UpIcon");
|
181
|
-
Object.defineProperty(exports, "UpIcon", { enumerable: true, get: function () { return UpIcon_1.UpIcon; } });
|
182
|
-
var UserGroupIcon_1 = require("./UserGroupIcon");
|
183
|
-
Object.defineProperty(exports, "UserGroupIcon", { enumerable: true, get: function () { return UserGroupIcon_1.UserGroupIcon; } });
|
184
|
-
var UserIcon_1 = require("./UserIcon");
|
185
|
-
Object.defineProperty(exports, "UserIcon", { enumerable: true, get: function () { return UserIcon_1.UserIcon; } });
|
186
|
-
var UserLockIcon_1 = require("./UserLockIcon");
|
187
|
-
Object.defineProperty(exports, "UserLockIcon", { enumerable: true, get: function () { return UserLockIcon_1.UserLockIcon; } });
|
188
|
-
var ViewIcon_1 = require("./ViewIcon");
|
189
|
-
Object.defineProperty(exports, "ViewIcon", { enumerable: true, get: function () { return ViewIcon_1.ViewIcon; } });
|
190
|
-
var WarningFilledIcon_1 = require("./WarningFilledIcon");
|
191
|
-
Object.defineProperty(exports, "WarningFilledIcon", { enumerable: true, get: function () { return WarningFilledIcon_1.WarningFilledIcon; } });
|
192
|
-
var WarningIcon_1 = require("./WarningIcon");
|
193
|
-
Object.defineProperty(exports, "WarningIcon", { enumerable: true, get: function () { return WarningIcon_1.WarningIcon; } });
|
194
|
-
var wrap_icon_1 = require("./wrap-icon");
|
195
|
-
Object.defineProperty(exports, "wrapIcon", { enumerable: true, get: function () { return wrap_icon_1.wrapIcon; } });
|
196
|
-
var Icon_1 = require("./Icon");
|
197
|
-
Object.defineProperty(exports, "Icon", { enumerable: true, get: function () { return Icon_1.Icon; } });
|
198
|
-
|
199
|
-
|
package/cjs/icons/wrap-icon.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license MIT
|
3
|
-
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.57.0
|
5
|
-
* Released under the MIT license.
|
6
|
-
*/
|
7
|
-
|
8
|
-
"use strict";
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.wrapIcon = wrapIcon;
|
11
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
12
|
-
const Icon_1 = require("./Icon");
|
13
|
-
function wrapIcon(name, icon) {
|
14
|
-
function IconWrapper(props) {
|
15
|
-
return ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { qa: name, "aria-hidden": "true", ...props, children: icon }));
|
16
|
-
}
|
17
|
-
IconWrapper.displayName = name;
|
18
|
-
return IconWrapper;
|
19
|
-
}
|
20
|
-
|
21
|
-
|