@cube-dev/ui-kit 0.32.0 → 0.33.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -0
- package/cjs/_internal/hooks/index.js +1 -1
- package/cjs/_internal/hooks/use-chained-callback.js +1 -1
- package/cjs/_internal/hooks/use-deprecation-warning.js +1 -1
- package/cjs/_internal/hooks/use-effect-once.js +1 -1
- package/cjs/_internal/hooks/use-event.js +1 -1
- package/cjs/_internal/hooks/use-is-first-render.js +1 -1
- package/cjs/_internal/hooks/use-sync-ref.js +1 -1
- package/cjs/_internal/hooks/use-timer/index.js +1 -1
- package/cjs/_internal/hooks/use-timer/timer.js +1 -1
- package/cjs/_internal/hooks/use-timer/use-timer.js +1 -1
- package/cjs/_internal/hooks/use-update-effect.js +1 -1
- package/cjs/_internal/hooks/use-warn.js +1 -1
- package/cjs/_internal/index.js +1 -1
- package/cjs/components/Block.js +1 -1
- package/cjs/components/GlobalStyles.js +1 -1
- package/cjs/components/GridProvider.js +1 -1
- package/cjs/components/HiddenInput.js +1 -1
- package/cjs/components/OpenTrasition.js +1 -1
- package/cjs/components/Root.js +1 -1
- package/cjs/components/actions/Action.js +1 -1
- package/cjs/components/actions/Button/Button.js +1 -1
- package/cjs/components/actions/Button/Submit.js +1 -1
- package/cjs/components/actions/Button/index.js +1 -1
- package/cjs/components/actions/ButtonGroup/ButtonGroup.js +1 -1
- package/cjs/components/actions/index.js +1 -1
- package/cjs/components/actions/use-action.js +1 -1
- package/cjs/components/content/ActiveZone/ActiveZone.js +1 -1
- package/cjs/components/content/Alert/Alert.js +1 -1
- package/cjs/components/content/Alert/index.js +1 -1
- package/cjs/components/content/Alert/types.js +1 -1
- package/cjs/components/content/Alert/use-alert.js +1 -1
- package/cjs/components/content/Avatar/Avatar.js +1 -1
- package/cjs/components/content/Badge/Badge.js +1 -1
- package/cjs/components/content/Card/Card.js +1 -1
- package/cjs/components/content/Content.js +1 -1
- package/cjs/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
- package/cjs/components/content/CopyPasteBlock/index.js +1 -1
- package/cjs/components/content/CopySnippet/CopySnippet.js +1 -1
- package/cjs/components/content/CopySnippet/index.js +1 -1
- package/cjs/components/content/Divider.js +1 -1
- package/cjs/components/content/Footer.js +1 -1
- package/cjs/components/content/Header.js +1 -1
- package/cjs/components/content/Paragraph.js +1 -1
- package/cjs/components/content/Placeholder/Placeholder.js +1 -1
- package/cjs/components/content/PrismCode/PrismCode.js +1 -1
- package/cjs/components/content/Result/Result.js +1 -1
- package/cjs/components/content/Skeleton/Skeleton.js +1 -1
- package/cjs/components/content/Tag/Tag.js +3 -5
- package/cjs/components/content/Text.js +1 -1
- package/cjs/components/content/Title.js +1 -1
- package/cjs/components/forms/Checkbox/Checkbox.js +1 -1
- package/cjs/components/forms/Checkbox/CheckboxGroup.js +1 -1
- package/cjs/components/forms/Checkbox/context.js +1 -1
- package/cjs/components/forms/DatePicker/DateInput.js +1 -1
- package/cjs/components/forms/DatePicker/DateInputBase.js +1 -1
- package/cjs/components/forms/DatePicker/DatePicker.js +1 -1
- package/cjs/components/forms/DatePicker/DatePickerButton.js +1 -1
- package/cjs/components/forms/DatePicker/DatePickerElement.js +1 -1
- package/cjs/components/forms/DatePicker/DatePickerInput.js +1 -1
- package/cjs/components/forms/DatePicker/DatePickerSegment.js +1 -1
- package/cjs/components/forms/DatePicker/DateRangePicker.js +1 -1
- package/cjs/components/forms/DatePicker/DateRangeSeparatedPicker.js +1 -1
- package/cjs/components/forms/DatePicker/TimeInput.js +1 -1
- package/cjs/components/forms/DatePicker/index.js +1 -1
- package/cjs/components/forms/DatePicker/intl.js +1 -1
- package/cjs/components/forms/DatePicker/parseDate.js +1 -1
- package/cjs/components/forms/DatePicker/props.js +1 -1
- package/cjs/components/forms/DatePicker/utils.js +1 -1
- package/cjs/components/forms/FieldWrapper/FieldWrapper.js +1 -1
- package/cjs/components/forms/FieldWrapper/extract-field-wrapper-props.js +1 -1
- package/cjs/components/forms/FieldWrapper/index.js +1 -1
- package/cjs/components/forms/FieldWrapper/types.js +1 -1
- package/cjs/components/forms/FileInput/FileInput.js +1 -1
- package/cjs/components/forms/Form/Field.js +1 -1
- package/cjs/components/forms/Form/Form.js +1 -1
- package/cjs/components/forms/Form/Submit/Submit.js +1 -1
- package/cjs/components/forms/Form/Submit/index.js +1 -1
- package/cjs/components/forms/Form/SubmitError.js +1 -1
- package/cjs/components/forms/Form/index.js +1 -1
- package/cjs/components/forms/Form/types.js +1 -1
- package/cjs/components/forms/Form/use-field/index.js +1 -1
- package/cjs/components/forms/Form/use-field/types.js +1 -1
- package/cjs/components/forms/Form/use-field/use-field-props.js +1 -1
- package/cjs/components/forms/Form/use-field/use-field.js +1 -1
- package/cjs/components/forms/Form/use-form.js +1 -1
- package/cjs/components/forms/Form/validation.js +1 -1
- package/cjs/components/forms/Input/Input.js +1 -1
- package/cjs/components/forms/Input/index.js +1 -1
- package/cjs/components/forms/Label.js +1 -1
- package/cjs/components/forms/NumberInput/NumberInput.js +1 -1
- package/cjs/components/forms/NumberInput/StepButton.js +1 -1
- package/cjs/components/forms/PasswordInput/PasswordInput.js +1 -1
- package/cjs/components/forms/RadioGroup/Radio.js +1 -1
- package/cjs/components/forms/RadioGroup/RadioGroup.js +1 -1
- package/cjs/components/forms/RadioGroup/context.js +1 -1
- package/cjs/components/forms/SearchInput/SearchInput.js +4 -3
- package/cjs/components/forms/Slider/Gradation.js +1 -1
- package/cjs/components/forms/Slider/Header.js +1 -1
- package/cjs/components/forms/Slider/RangeSlider.js +1 -1
- package/cjs/components/forms/Slider/Slider.js +1 -1
- package/cjs/components/forms/Slider/SliderBase.js +1 -1
- package/cjs/components/forms/Slider/SliderInput.js +1 -1
- package/cjs/components/forms/Slider/SliderThumb.js +1 -1
- package/cjs/components/forms/Slider/SliderTrack.js +1 -1
- package/cjs/components/forms/Slider/elements.js +1 -1
- package/cjs/components/forms/Slider/index.js +1 -1
- package/cjs/components/forms/Slider/types.js +1 -1
- package/cjs/components/forms/Switch/Switch.js +1 -1
- package/cjs/components/forms/TextArea/TextArea.js +1 -1
- package/cjs/components/forms/TextInput/TextInput.js +1 -1
- package/cjs/components/forms/TextInput/TextInputBase.js +1 -1
- package/cjs/components/forms/index.js +1 -1
- package/cjs/components/forms/wrapper.js +1 -1
- package/cjs/components/layout/Flex.js +1 -1
- package/cjs/components/layout/Flow.js +1 -1
- package/cjs/components/layout/Grid.js +1 -1
- package/cjs/components/layout/Prefix.js +1 -1
- package/cjs/components/layout/Space.js +1 -1
- package/cjs/components/layout/Suffix.js +1 -1
- package/cjs/components/navigation/LegacyTabs/LegacyTabs.js +1 -1
- package/cjs/components/navigation/Link/Link.js +1 -1
- package/cjs/components/organisms/FileTabs/FileTabs.js +3 -3
- package/cjs/components/organisms/Modal/Modal.js +4 -4
- package/cjs/components/organisms/StatsCard/StatsCard.js +1 -1
- package/cjs/components/other/Base64Upload/Base64Upload.js +1 -1
- package/cjs/components/other/Calendar/Calendar.js +3 -3
- package/cjs/components/other/Calendar/CalendarCell.js +1 -1
- package/cjs/components/other/Calendar/CalendarGrid.js +1 -1
- package/cjs/components/other/Calendar/RangeCalendar.js +3 -3
- package/cjs/components/other/CloudLogo/CloudLogo.js +1 -1
- package/cjs/components/overlays/AlertDialog/AlertDialog.js +1 -1
- package/cjs/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
- package/cjs/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
- package/cjs/components/overlays/AlertDialog/index.js +1 -1
- package/cjs/components/overlays/AlertDialog/types.js +1 -1
- package/cjs/components/overlays/Dialog/Dialog.js +3 -3
- package/cjs/components/overlays/Dialog/DialogContainer.js +1 -1
- package/cjs/components/overlays/Dialog/DialogForm.js +1 -1
- package/cjs/components/overlays/Dialog/DialogTrigger.js +1 -1
- package/cjs/components/overlays/Dialog/context.js +1 -1
- package/cjs/components/overlays/Dialog/index.js +1 -1
- package/cjs/components/overlays/Modal/Modal.js +1 -1
- package/cjs/components/overlays/Modal/OpenTransition.js +1 -1
- package/cjs/components/overlays/Modal/Overlay.js +1 -1
- package/cjs/components/overlays/Modal/Popover.js +1 -1
- package/cjs/components/overlays/Modal/Tray.js +1 -1
- package/cjs/components/overlays/Modal/Underlay.js +1 -1
- package/cjs/components/overlays/Modal/index.js +1 -1
- package/cjs/components/overlays/Modal/types.js +1 -1
- package/cjs/components/overlays/NewNotifications/Bar/FloatingNotification.js +1 -1
- package/cjs/components/overlays/NewNotifications/Bar/NotificationsBar.js +1 -1
- package/cjs/components/overlays/NewNotifications/Bar/TransitionComponent.js +1 -1
- package/cjs/components/overlays/NewNotifications/Bar/index.js +1 -1
- package/cjs/components/overlays/NewNotifications/Dialog/NotificationsDialogTrigger.js +1 -1
- package/cjs/components/overlays/NewNotifications/Dialog/index.js +1 -1
- package/cjs/components/overlays/NewNotifications/Notification.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationAction.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.js +2 -2
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationDescription.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationFooter.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationHeader.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationIcon.js +4 -4
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationProvider.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationView/NotificationView.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationView/index.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationView/types.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationsContext/index.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationsContext/use-notifications.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationsList/NotificationsList.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationsList/index.js +1 -1
- package/cjs/components/overlays/NewNotifications/NotificationsList/types.js +1 -1
- package/cjs/components/overlays/NewNotifications/hooks/index.js +1 -1
- package/cjs/components/overlays/NewNotifications/hooks/types.js +1 -1
- package/cjs/components/overlays/NewNotifications/hooks/use-notification-list-item.js +1 -1
- package/cjs/components/overlays/NewNotifications/hooks/use-notifications-api.js +1 -1
- package/cjs/components/overlays/NewNotifications/hooks/use-notifications-list.js +1 -1
- package/cjs/components/overlays/NewNotifications/hooks/use-notifications-observer.js +1 -1
- package/cjs/components/overlays/NewNotifications/index.js +1 -1
- package/cjs/components/overlays/NewNotifications/types.js +1 -1
- package/cjs/components/overlays/Notification/Notification.js +3 -2
- package/cjs/components/overlays/OverlayWrapper.js +1 -1
- package/cjs/components/overlays/Toasts/Toast.js +1 -1
- package/cjs/components/overlays/Toasts/index.js +1 -1
- package/cjs/components/overlays/Toasts/types.js +1 -1
- package/cjs/components/overlays/Toasts/use-toasts-api.js +1 -1
- package/cjs/components/overlays/Tooltip/Tooltip.js +6 -5
- package/cjs/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/cjs/components/overlays/Tooltip/TooltipTrigger.js +1 -1
- package/cjs/components/overlays/Tooltip/context.js +1 -1
- package/cjs/components/pickers/ComboBox/ComboBox.js +1 -1
- package/cjs/components/pickers/Menu/Menu.js +1 -1
- package/cjs/components/pickers/Menu/MenuButton.js +1 -1
- package/cjs/components/pickers/Menu/MenuItem.js +1 -1
- package/cjs/components/pickers/Menu/MenuSection.js +1 -1
- package/cjs/components/pickers/Menu/MenuTrigger.js +1 -1
- package/cjs/components/pickers/Menu/context.js +1 -1
- package/cjs/components/pickers/Menu/styled.js +1 -1
- package/cjs/components/pickers/Select/Select.js +1 -1
- package/cjs/components/portal/Portal.js +1 -1
- package/cjs/components/portal/PortalProvider.js +1 -1
- package/cjs/components/portal/index.js +1 -1
- package/cjs/components/portal/storybook/templates/CustomRoot.js +1 -1
- package/cjs/components/portal/storybook/templates/PortalOrder.js +1 -1
- package/cjs/components/portal/storybook/templates/basic.js +1 -1
- package/cjs/components/portal/storybook/templates/index.js +1 -1
- package/cjs/components/portal/types.js +1 -1
- package/cjs/components/portal/usePortal.js +1 -1
- package/cjs/components/shared/InvalidIcon.js +1 -1
- package/cjs/components/shared/ValidIcon.js +1 -1
- package/cjs/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
- package/cjs/components/status/LoadingAnimation/index.js +1 -1
- package/cjs/components/status/Spin/Cube.js +1 -1
- package/cjs/components/status/Spin/InternalSpinner.js +1 -1
- package/cjs/components/status/Spin/Spin.js +1 -1
- package/cjs/components/status/Spin/SpinsContainer.js +1 -1
- package/cjs/components/status/Spin/index.js +1 -1
- package/cjs/components/status/Spin/types.js +1 -1
- package/cjs/components/status/index.js +1 -1
- package/cjs/data/themes.js +1 -1
- package/cjs/icons/AiIcon.js +14 -0
- package/cjs/icons/AreaChartIcon.js +14 -0
- package/cjs/icons/BackwardIcon.js +14 -0
- package/cjs/icons/BarChartIcon.js +14 -0
- package/cjs/icons/BooleanIcon.js +14 -0
- package/cjs/icons/CloseIcon.js +14 -0
- package/cjs/icons/CountIcon.js +14 -0
- package/cjs/icons/CubeIcon.js +14 -0
- package/cjs/icons/DangerIcon.js +14 -0
- package/cjs/icons/DateIcon.js +14 -0
- package/cjs/icons/DonutIcon.js +14 -0
- package/cjs/icons/DownIcon.js +14 -0
- package/cjs/icons/ExclamationIcon.js +14 -0
- package/cjs/icons/FilterIcon.js +14 -0
- package/cjs/icons/ForwardIcon.js +14 -0
- package/cjs/icons/IconContainer.js +31 -0
- package/cjs/icons/KeyIcon.js +14 -0
- package/cjs/icons/LeftIcon.js +14 -0
- package/cjs/icons/LineChartIcon.js +14 -0
- package/cjs/icons/LockFilledIcon.js +14 -0
- package/cjs/icons/LockIcon.js +14 -0
- package/cjs/icons/MoreIcon.js +14 -0
- package/cjs/icons/NumberIcon.js +14 -0
- package/cjs/icons/PieChartIcon.js +14 -0
- package/cjs/icons/PlusIcon.js +14 -0
- package/cjs/icons/RightIcon.js +14 -0
- package/cjs/icons/SqlIcon.js +14 -0
- package/cjs/icons/StringIcon.js +14 -0
- package/cjs/icons/SuccessIcon.js +14 -0
- package/cjs/icons/TableIcon.js +14 -0
- package/cjs/icons/ThunderboltCrossedIcon.js +14 -0
- package/cjs/icons/ThunderboltFilledIcon.js +14 -0
- package/cjs/icons/ThunderboltIcon.js +14 -0
- package/cjs/icons/TimeIcon.js +14 -0
- package/cjs/icons/UpIcon.js +14 -0
- package/cjs/icons/ViewIcon.js +14 -0
- package/cjs/icons/index.js +73 -19
- package/cjs/icons/wrap-icon.js +22 -0
- package/cjs/index.js +3 -1
- package/cjs/provider.js +1 -1
- package/cjs/providers/TrackingProvider.js +1 -1
- package/cjs/services/notification.js +1 -1
- package/cjs/shared/form.js +1 -1
- package/cjs/shared/index.js +1 -1
- package/cjs/stories/Form.stories.js +1 -1
- package/cjs/stories/FormFieldArgs.js +1 -1
- package/cjs/stories/Layout.stories.js +1 -1
- package/cjs/stories/Tasty.stories.js +1 -1
- package/cjs/stories/components/ConfirmDeletionDialogForm.js +1 -1
- package/cjs/stories/components/DialogFormApp.js +1 -1
- package/cjs/stories/components/StyledButton.js +1 -1
- package/cjs/stories/lists/baseProps.js +1 -1
- package/cjs/tasty/index.js +1 -1
- package/cjs/tasty/providers/BreakpointsProvider.js +1 -1
- package/cjs/tasty/styles/align.js +1 -1
- package/cjs/tasty/styles/border.js +1 -1
- package/cjs/tasty/styles/boxShadow.combinator.js +1 -1
- package/cjs/tasty/styles/color.js +1 -1
- package/cjs/tasty/styles/createStyle.js +1 -1
- package/cjs/tasty/styles/dimension.js +1 -1
- package/cjs/tasty/styles/display.js +1 -1
- package/cjs/tasty/styles/fill.js +1 -1
- package/cjs/tasty/styles/flow.js +1 -1
- package/cjs/tasty/styles/font.js +1 -1
- package/cjs/tasty/styles/fontStyle.js +1 -1
- package/cjs/tasty/styles/gap.js +1 -1
- package/cjs/tasty/styles/groupRadius.js +1 -1
- package/cjs/tasty/styles/height.js +1 -1
- package/cjs/tasty/styles/index.js +1 -1
- package/cjs/tasty/styles/justify.js +1 -1
- package/cjs/tasty/styles/list.js +1 -1
- package/cjs/tasty/styles/margin.js +1 -1
- package/cjs/tasty/styles/marginBlock.js +1 -1
- package/cjs/tasty/styles/marginInline.js +1 -1
- package/cjs/tasty/styles/outline.js +1 -1
- package/cjs/tasty/styles/padding.js +1 -1
- package/cjs/tasty/styles/paddingBlock.js +1 -1
- package/cjs/tasty/styles/paddingInline.js +1 -1
- package/cjs/tasty/styles/predefined.js +1 -1
- package/cjs/tasty/styles/preset.js +1 -1
- package/cjs/tasty/styles/radius.js +1 -1
- package/cjs/tasty/styles/reset.js +1 -1
- package/cjs/tasty/styles/shadow.js +1 -1
- package/cjs/tasty/styles/styledScrollbar.js +1 -1
- package/cjs/tasty/styles/transition.js +1 -1
- package/cjs/tasty/styles/types.js +1 -1
- package/cjs/tasty/styles/width.js +1 -1
- package/cjs/tasty/tasty.js +1 -1
- package/cjs/tasty/types.js +1 -1
- package/cjs/tasty/utils/cache-wrapper.js +1 -1
- package/cjs/tasty/utils/case-converter.js +1 -1
- package/cjs/tasty/utils/colors.js +1 -1
- package/cjs/tasty/utils/dotize.js +1 -1
- package/cjs/tasty/utils/filterBaseProps.js +1 -1
- package/cjs/tasty/utils/getDisplayName.js +1 -1
- package/cjs/tasty/utils/index.js +1 -1
- package/cjs/tasty/utils/mergeStyles.js +1 -1
- package/cjs/tasty/utils/modAttrs.js +1 -1
- package/cjs/tasty/utils/renderStyles.js +1 -1
- package/cjs/tasty/utils/responsive.js +1 -1
- package/cjs/tasty/utils/string.js +1 -1
- package/cjs/tasty/utils/styles.js +1 -1
- package/cjs/tasty/utils/warnings.js +1 -1
- package/cjs/tokens.js +1 -1
- package/cjs/type-checks.js +1 -1
- package/cjs/utils/ResizeSensor.js +1 -1
- package/cjs/utils/modules.js +1 -1
- package/cjs/utils/promise.js +1 -1
- package/cjs/utils/random.js +1 -1
- package/cjs/utils/range.js +1 -1
- package/cjs/utils/react/Slots.js +1 -1
- package/cjs/utils/react/chain.js +1 -1
- package/cjs/utils/react/index.js +1 -1
- package/cjs/utils/react/interactions.js +1 -1
- package/cjs/utils/react/isTextOnly.js +1 -1
- package/cjs/utils/react/mapProps.js +1 -1
- package/cjs/utils/react/mergeProps.js +1 -1
- package/cjs/utils/react/nullableValue.js +1 -1
- package/cjs/utils/react/useCombinedRefs.js +1 -1
- package/cjs/utils/react/useId.js +1 -1
- package/cjs/utils/react/useLayoutEffect.js +1 -1
- package/cjs/utils/react/useViewportSize.js +1 -1
- package/cjs/utils/react/wrapNodeIfPlain.js +1 -1
- package/cjs/utils/transitions.js +1 -1
- package/cjs/utils/tree.js +1 -1
- package/cjs/utils/warnings.js +1 -1
- package/es/_internal/hooks/index.js +1 -1
- package/es/_internal/hooks/use-chained-callback.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 +1 -1
- 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 +1 -1
- 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.js +1 -1
- package/es/components/actions/Button/Button.js +1 -1
- package/es/components/actions/Button/Submit.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 +1 -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 +1 -1
- package/es/components/content/CopyPasteBlock/index.js +1 -1
- package/es/components/content/CopySnippet/CopySnippet.js +1 -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 +1 -1
- package/es/components/content/Paragraph.js +1 -1
- package/es/components/content/Placeholder/Placeholder.js +1 -1
- package/es/components/content/PrismCode/PrismCode.js +1 -1
- package/es/components/content/Result/Result.js +1 -1
- package/es/components/content/Skeleton/Skeleton.js +1 -1
- package/es/components/content/Tag/Tag.js +3 -5
- package/es/components/content/Text.js +1 -1
- package/es/components/content/Title.js +1 -1
- package/es/components/forms/Checkbox/Checkbox.js +1 -1
- package/es/components/forms/Checkbox/CheckboxGroup.js +1 -1
- package/es/components/forms/Checkbox/context.js +1 -1
- package/es/components/forms/DatePicker/DateInput.js +1 -1
- package/es/components/forms/DatePicker/DateInputBase.js +1 -1
- package/es/components/forms/DatePicker/DatePicker.js +1 -1
- package/es/components/forms/DatePicker/DatePickerButton.js +1 -1
- package/es/components/forms/DatePicker/DatePickerElement.js +1 -1
- package/es/components/forms/DatePicker/DatePickerInput.js +1 -1
- package/es/components/forms/DatePicker/DatePickerSegment.js +1 -1
- package/es/components/forms/DatePicker/DateRangePicker.js +1 -1
- package/es/components/forms/DatePicker/DateRangeSeparatedPicker.js +1 -1
- package/es/components/forms/DatePicker/TimeInput.js +1 -1
- package/es/components/forms/DatePicker/index.js +1 -1
- package/es/components/forms/DatePicker/intl.js +1 -1
- package/es/components/forms/DatePicker/parseDate.js +1 -1
- package/es/components/forms/DatePicker/props.js +1 -1
- package/es/components/forms/DatePicker/utils.js +1 -1
- package/es/components/forms/FieldWrapper/FieldWrapper.js +1 -1
- package/es/components/forms/FieldWrapper/extract-field-wrapper-props.js +1 -1
- package/es/components/forms/FieldWrapper/index.js +1 -1
- package/es/components/forms/FieldWrapper/types.js +1 -1
- package/es/components/forms/FileInput/FileInput.js +1 -1
- package/es/components/forms/Form/Field.js +1 -1
- package/es/components/forms/Form/Form.js +1 -1
- package/es/components/forms/Form/Submit/Submit.js +1 -1
- package/es/components/forms/Form/Submit/index.js +1 -1
- package/es/components/forms/Form/SubmitError.js +1 -1
- package/es/components/forms/Form/index.js +1 -1
- package/es/components/forms/Form/types.js +1 -1
- package/es/components/forms/Form/use-field/index.js +1 -1
- package/es/components/forms/Form/use-field/types.js +1 -1
- package/es/components/forms/Form/use-field/use-field-props.js +1 -1
- package/es/components/forms/Form/use-field/use-field.js +1 -1
- package/es/components/forms/Form/use-form.js +1 -1
- package/es/components/forms/Form/validation.js +1 -1
- package/es/components/forms/Input/Input.js +1 -1
- package/es/components/forms/Input/index.js +1 -1
- package/es/components/forms/Label.js +1 -1
- package/es/components/forms/NumberInput/NumberInput.js +1 -1
- package/es/components/forms/NumberInput/StepButton.js +1 -1
- package/es/components/forms/PasswordInput/PasswordInput.js +1 -1
- package/es/components/forms/RadioGroup/Radio.js +1 -1
- package/es/components/forms/RadioGroup/RadioGroup.js +1 -1
- package/es/components/forms/RadioGroup/context.js +1 -1
- package/es/components/forms/SearchInput/SearchInput.js +4 -3
- package/es/components/forms/Slider/Gradation.js +1 -1
- package/es/components/forms/Slider/Header.js +1 -1
- package/es/components/forms/Slider/RangeSlider.js +1 -1
- package/es/components/forms/Slider/Slider.js +1 -1
- package/es/components/forms/Slider/SliderBase.js +1 -1
- package/es/components/forms/Slider/SliderInput.js +1 -1
- package/es/components/forms/Slider/SliderThumb.js +1 -1
- package/es/components/forms/Slider/SliderTrack.js +1 -1
- package/es/components/forms/Slider/elements.js +1 -1
- package/es/components/forms/Slider/index.js +1 -1
- package/es/components/forms/Slider/types.js +1 -1
- package/es/components/forms/Switch/Switch.js +1 -1
- package/es/components/forms/TextArea/TextArea.js +1 -1
- package/es/components/forms/TextInput/TextInput.js +1 -1
- package/es/components/forms/TextInput/TextInputBase.js +1 -1
- package/es/components/forms/index.js +1 -1
- package/es/components/forms/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/Prefix.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 +1 -1
- package/es/components/navigation/Link/Link.js +1 -1
- package/es/components/organisms/FileTabs/FileTabs.js +3 -3
- package/es/components/organisms/Modal/Modal.js +4 -4
- package/es/components/organisms/StatsCard/StatsCard.js +1 -1
- package/es/components/other/Base64Upload/Base64Upload.js +1 -1
- package/es/components/other/Calendar/Calendar.js +3 -3
- 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 +3 -3
- package/es/components/other/CloudLogo/CloudLogo.js +1 -1
- package/es/components/overlays/AlertDialog/AlertDialog.js +1 -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 +3 -3
- package/es/components/overlays/Dialog/DialogContainer.js +1 -1
- package/es/components/overlays/Dialog/DialogForm.js +1 -1
- package/es/components/overlays/Dialog/DialogTrigger.js +1 -1
- package/es/components/overlays/Dialog/context.js +1 -1
- package/es/components/overlays/Dialog/index.js +1 -1
- package/es/components/overlays/Modal/Modal.js +1 -1
- package/es/components/overlays/Modal/OpenTransition.js +1 -1
- package/es/components/overlays/Modal/Overlay.js +1 -1
- package/es/components/overlays/Modal/Popover.js +1 -1
- package/es/components/overlays/Modal/Tray.js +1 -1
- package/es/components/overlays/Modal/Underlay.js +1 -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 +3 -3
- 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 +5 -5
- 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 +4 -3
- 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 +6 -5
- package/es/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/es/components/overlays/Tooltip/TooltipTrigger.js +1 -1
- package/es/components/overlays/Tooltip/context.js +1 -1
- package/es/components/pickers/ComboBox/ComboBox.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/pickers/Select/Select.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 +11 -0
- package/es/icons/AreaChartIcon.js +11 -0
- package/es/icons/BackwardIcon.js +11 -0
- package/es/icons/BarChartIcon.js +11 -0
- package/es/icons/BooleanIcon.js +11 -0
- package/es/icons/CloseIcon.js +11 -0
- package/es/icons/CountIcon.js +11 -0
- package/es/icons/CubeIcon.js +11 -0
- package/es/icons/DangerIcon.js +11 -0
- package/es/icons/DateIcon.js +11 -0
- package/es/icons/DonutIcon.js +11 -0
- package/es/icons/DownIcon.js +11 -0
- package/es/icons/ExclamationIcon.js +11 -0
- package/es/icons/FilterIcon.js +11 -0
- package/es/icons/ForwardIcon.js +11 -0
- package/es/icons/IconContainer.js +28 -0
- package/es/icons/KeyIcon.js +11 -0
- package/es/icons/LeftIcon.js +11 -0
- package/es/icons/LineChartIcon.js +11 -0
- package/es/icons/LockFilledIcon.js +11 -0
- package/es/icons/LockIcon.js +11 -0
- package/es/icons/MoreIcon.js +11 -0
- package/es/icons/NumberIcon.js +11 -0
- package/es/icons/PieChartIcon.js +11 -0
- package/es/icons/PlusIcon.js +11 -0
- package/es/icons/RightIcon.js +11 -0
- package/es/icons/SqlIcon.js +11 -0
- package/es/icons/StringIcon.js +11 -0
- package/es/icons/SuccessIcon.js +11 -0
- package/es/icons/TableIcon.js +11 -0
- package/es/icons/ThunderboltCrossedIcon.js +11 -0
- package/es/icons/ThunderboltFilledIcon.js +11 -0
- package/es/icons/ThunderboltIcon.js +11 -0
- package/es/icons/TimeIcon.js +11 -0
- package/es/icons/UpIcon.js +11 -0
- package/es/icons/ViewIcon.js +11 -0
- package/es/icons/index.js +71 -5
- package/es/icons/wrap-icon.js +18 -0
- package/es/index.js +3 -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 +1 -1
- 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 +1 -1
- package/es/tasty/styles/color.js +1 -1
- package/es/tasty/styles/createStyle.js +1 -1
- package/es/tasty/styles/dimension.js +1 -1
- package/es/tasty/styles/display.js +1 -1
- 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/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 +1 -1
- 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 +1 -1
- package/es/tasty/styles/preset.js +1 -1
- package/es/tasty/styles/radius.js +1 -1
- package/es/tasty/styles/reset.js +1 -1
- package/es/tasty/styles/shadow.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/es/tasty/utils/warnings.js +1 -1
- package/es/tokens.js +1 -1
- 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/package.json +1 -1
- package/types/icons/AiIcon.d.ts +1 -0
- package/types/icons/AreaChartIcon.d.ts +1 -0
- package/types/icons/BackwardIcon.d.ts +1 -0
- package/types/icons/BarChartIcon.d.ts +1 -0
- package/types/icons/BooleanIcon.d.ts +1 -0
- package/types/icons/CloseIcon.d.ts +1 -0
- package/types/icons/CountIcon.d.ts +1 -0
- package/types/icons/CubeIcon.d.ts +1 -0
- package/types/icons/DangerIcon.d.ts +1 -0
- package/types/icons/DateIcon.d.ts +1 -0
- package/types/icons/DonutIcon.d.ts +1 -0
- package/types/icons/DownIcon.d.ts +1 -0
- package/types/icons/ExclamationIcon.d.ts +1 -0
- package/types/icons/FilterIcon.d.ts +1 -0
- package/types/icons/ForwardIcon.d.ts +1 -0
- package/types/icons/IconContainer.d.ts +6 -0
- package/types/icons/KeyIcon.d.ts +1 -0
- package/types/icons/LeftIcon.d.ts +1 -0
- package/types/icons/LineChartIcon.d.ts +1 -0
- package/types/icons/LockFilledIcon.d.ts +1 -0
- package/types/icons/LockIcon.d.ts +1 -0
- package/types/icons/MoreIcon.d.ts +1 -0
- package/types/icons/NumberIcon.d.ts +1 -0
- package/types/icons/PieChartIcon.d.ts +1 -0
- package/types/icons/PlusIcon.d.ts +1 -0
- package/types/icons/RightIcon.d.ts +1 -0
- package/types/icons/SqlIcon.d.ts +1 -0
- package/types/icons/StringIcon.d.ts +1 -0
- package/types/icons/SuccessIcon.d.ts +1 -0
- package/types/icons/TableIcon.d.ts +1 -0
- package/types/icons/ThunderboltCrossedIcon.d.ts +1 -0
- package/types/icons/ThunderboltFilledIcon.d.ts +1 -0
- package/types/icons/ThunderboltIcon.d.ts +1 -0
- package/types/icons/TimeIcon.d.ts +1 -0
- package/types/icons/UpIcon.d.ts +1 -0
- package/types/icons/ViewIcon.d.ts +1 -0
- package/types/icons/index.d.ts +138 -4
- package/types/icons/wrap-icon.d.ts +6 -0
- package/types/index.d.ts +2 -0
- package/cjs/icons/Attention.js +0 -17
- package/cjs/icons/Cross.js +0 -17
- package/cjs/icons/Danger.js +0 -17
- package/cjs/icons/Success.js +0 -17
- package/es/icons/Attention.js +0 -13
- package/es/icons/Cross.js +0 -13
- package/es/icons/Danger.js +0 -13
- package/es/icons/Success.js +0 -13
- package/types/icons/Attention.d.ts +0 -1
- package/types/icons/Cross.d.ts +0 -1
- package/types/icons/Danger.d.ts +0 -1
- package/types/icons/Success.d.ts +0 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license MIT
|
3
3
|
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.
|
4
|
+
* @cube-dev/ui-kit v0.33.0
|
5
5
|
* Released under the MIT license.
|
6
6
|
*/
|
7
7
|
|
@@ -13,7 +13,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.FileTabs = void 0;
|
14
14
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
15
15
|
const react_1 = require("react");
|
16
|
-
const icons_1 = require("@ant-design/icons");
|
17
16
|
const styled_components_1 = __importDefault(require("styled-components"));
|
18
17
|
const Block_1 = require("../../Block");
|
19
18
|
const Action_1 = require("../../actions/Action");
|
@@ -22,6 +21,7 @@ const Flex_1 = require("../../layout/Flex");
|
|
22
21
|
const tasty_1 = require("../../../tasty");
|
23
22
|
const actions_1 = require("../../actions");
|
24
23
|
const react_2 = require("../../../utils/react");
|
24
|
+
const icons_1 = require("../../../icons");
|
25
25
|
const FileTabsContext = (0, react_1.createContext)({
|
26
26
|
addTab() { },
|
27
27
|
removeTab() { },
|
@@ -195,7 +195,7 @@ const CloseButton = (0, tasty_1.tasty)(actions_1.Button, {
|
|
195
195
|
function Tab({ isDirty, isDisabled, children, isClosable, onClose, ...props }) {
|
196
196
|
return ((0, jsx_runtime_1.jsx)(TabElement, { mods: {
|
197
197
|
dirty: isDirty,
|
198
|
-
}, isDisabled: isDisabled, ...props, children: (0, jsx_runtime_1.jsxs)(Space_1.Space, { gap: ".75x", children: [(0, jsx_runtime_1.jsx)(Block_1.Block, { children: children }), (isClosable || isDirty) && ((0, jsx_runtime_1.jsxs)(Flex_1.Flex, { placeItems: "center", style: { position: 'relative' }, children: [isClosable ? ((0, jsx_runtime_1.jsx)(CloseButton, { onPress: onClose, children: (0, jsx_runtime_1.jsx)(icons_1.
|
198
|
+
}, isDisabled: isDisabled, ...props, children: (0, jsx_runtime_1.jsxs)(Space_1.Space, { gap: ".75x", children: [(0, jsx_runtime_1.jsx)(Block_1.Block, { children: children }), (isClosable || isDirty) && ((0, jsx_runtime_1.jsxs)(Flex_1.Flex, { placeItems: "center", style: { position: 'relative' }, children: [isClosable ? ((0, jsx_runtime_1.jsx)(CloseButton, { onPress: onClose, children: (0, jsx_runtime_1.jsx)(icons_1.CloseIcon, {}) })) : ((0, jsx_runtime_1.jsx)("div", {})), isDirty ? (0, jsx_runtime_1.jsx)(DirtyBadge, {}) : null] }))] }) }));
|
199
199
|
}
|
200
200
|
function FileTabs({ defaultActiveKey, activeKey: activeKeyProp, onTabClick, onTabClose, paneStyles, isClosable = true, children, ...props }) {
|
201
201
|
const tabsRef = (0, react_1.useRef)(null);
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license MIT
|
3
3
|
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.
|
4
|
+
* @cube-dev/ui-kit v0.33.0
|
5
5
|
* Released under the MIT license.
|
6
6
|
*/
|
7
7
|
|
@@ -16,7 +16,6 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
16
|
const react_2 = require("react");
|
17
17
|
const client_1 = require("react-dom/client");
|
18
18
|
const styled_components_1 = __importDefault(require("styled-components"));
|
19
|
-
const icons_1 = require("@ant-design/icons");
|
20
19
|
const react_transition_group_1 = require("react-transition-group");
|
21
20
|
const Action_1 = require("../../actions/Action");
|
22
21
|
const Card_1 = require("../../content/Card/Card");
|
@@ -26,6 +25,7 @@ const Block_1 = require("../../Block");
|
|
26
25
|
const actions_1 = require("../../actions");
|
27
26
|
const Space_1 = require("../../layout/Space");
|
28
27
|
const Title_1 = require("../../content/Title");
|
28
|
+
const icons_1 = require("../../../icons");
|
29
29
|
const Overlay = styled_components_1.default.div `
|
30
30
|
position: fixed;
|
31
31
|
top: 0;
|
@@ -42,7 +42,7 @@ const Overlay = styled_components_1.default.div `
|
|
42
42
|
.cube-modal {
|
43
43
|
--enter-transition-time: 250ms;
|
44
44
|
--leave-transition-time: 160ms;
|
45
|
-
--base-translate: ((50vh - 50%) / -3);
|
45
|
+
--base-translate: calc((50vh - 50%) / -3);
|
46
46
|
transform: translate(0, calc(var(--base-translate)));
|
47
47
|
}
|
48
48
|
|
@@ -167,7 +167,7 @@ function Modal(allProps) {
|
|
167
167
|
return ((0, jsx_runtime_1.jsx)(react_transition_group_1.CSSTransition, { in: inProp, timeout: 250, classNames: "cube-modal-transition", children: (0, jsx_runtime_1.jsx)(Overlay, { className: "cube-modal-overlay", onClick: onOverlayClick, children: (0, jsx_runtime_1.jsxs)(Card_1.Card, { "data-qa": qa || 'Modal', className: "cube-modal", display: "flex", role: "region", color: "#dark.85", padding: "0", shadow: true, border: false, radius: "1.5r", width: `288px (100% - 32px) ${typeof width === 'number' ? `${width}px` : width || '360px'}`, style: { textAlign: 'left' }, ...props, children: [(0, jsx_runtime_1.jsxs)(Flex_1.Flex, { placeContent: "space-between", padding: "2x 3x", border: "bottom", children: [typeof title === 'object' ? (title) : ((0, jsx_runtime_1.jsx)(Title_1.Title, { ellipsis: true, level: 4, flexGrow: 1, children: title })), isClosable ? ((0, jsx_runtime_1.jsx)(Action_1.Action, { qa: "ModalCloseButton", width: "3x", height: "3x", color: { '': '#dark.75', hovered: '#purple' }, outline: {
|
168
168
|
'': '#purple-03.0',
|
169
169
|
'focused & focus-visible': '#purple-03',
|
170
|
-
}, label: "Close", onPress: onClose || onCancel, children: (0, jsx_runtime_1.jsx)(icons_1.
|
170
|
+
}, label: "Close", onPress: onClose || onCancel, children: (0, jsx_runtime_1.jsx)(icons_1.CloseIcon, { size: 16 }) })) : null] }), (0, jsx_runtime_1.jsxs)(Flow_1.Flow, { padding: "3x", gap: "3x", height: "max (100vh - 90px)", style: { overflow: 'auto' }, children: [typeof children === 'string' ? ((0, jsx_runtime_1.jsx)(Block_1.Block, { children: children })) : (children), type !== 'info' && (onOk || onCancel) ? ((0, jsx_runtime_1.jsxs)(Space_1.Space, { gap: "1.5x", children: [(0, jsx_runtime_1.jsx)(actions_1.Button, { "data-qa": 'ConfirmButton', isDisabled: isDisabled, type: "primary", theme: okType === 'danger' ? 'danger' : undefined, isLoading: isLoading || localLoading, onPress: handleOk, children: okText || 'OK' }), (0, jsx_runtime_1.jsx)(actions_1.Button, { "data-qa": 'CancelButton', isDisabled: isLoading, onPress: cancel, children: cancelText || (okText === 'Yes' ? 'No' : 'Cancel') })] })) : null, type === 'info' ? ((0, jsx_runtime_1.jsx)(Space_1.Space, { children: (0, jsx_runtime_1.jsx)(actions_1.Button, { "data-qa": 'OkButton', isDisabled: isDisabled, type: okType === 'danger' ? 'danger' : 'primary', onPress: close, children: okText || 'OK' }) })) : null] })] }) }) }));
|
171
171
|
}
|
172
172
|
exports.Modal = Modal;
|
173
173
|
let ID = 0;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license MIT
|
3
3
|
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.
|
4
|
+
* @cube-dev/ui-kit v0.33.0
|
5
5
|
* Released under the MIT license.
|
6
6
|
*/
|
7
7
|
|
@@ -14,11 +14,11 @@ const react_aria_1 = require("react-aria");
|
|
14
14
|
const react_stately_1 = require("react-stately");
|
15
15
|
const date_1 = require("@internationalized/date");
|
16
16
|
const utils_1 = require("@react-spectrum/utils");
|
17
|
-
const icons_1 = require("@ant-design/icons");
|
18
17
|
const actions_1 = require("../../actions");
|
19
18
|
const tasty_1 = require("../../../tasty");
|
20
19
|
const Title_1 = require("../../content/Title");
|
21
20
|
const provider_1 = require("../../../provider");
|
21
|
+
const icons_1 = require("../../../icons");
|
22
22
|
const CalendarGrid_1 = require("./CalendarGrid");
|
23
23
|
const CalendarElement = (0, tasty_1.tasty)({
|
24
24
|
styles: {
|
@@ -50,7 +50,7 @@ function Calendar(props, ref) {
|
|
50
50
|
},
|
51
51
|
}));
|
52
52
|
let { calendarProps, prevButtonProps, nextButtonProps, title } = (0, react_aria_1.useCalendar)(props, state);
|
53
|
-
return ((0, jsx_runtime_1.jsxs)(CalendarElement, { ...calendarProps, children: [(0, jsx_runtime_1.jsxs)(CalendarHeaderElement, { children: [(0, jsx_runtime_1.jsx)(Title_1.Title, { level: 6, preset: "h6", children: title }), (0, jsx_runtime_1.jsxs)(actions_1.Button.Group, { gap: ".5x", children: [(0, jsx_runtime_1.jsx)(actions_1.Button, { size: "small", ...prevButtonProps, icon: (0, jsx_runtime_1.jsx)(icons_1.
|
53
|
+
return ((0, jsx_runtime_1.jsxs)(CalendarElement, { ...calendarProps, children: [(0, jsx_runtime_1.jsxs)(CalendarHeaderElement, { children: [(0, jsx_runtime_1.jsx)(Title_1.Title, { level: 6, preset: "h6", children: title }), (0, jsx_runtime_1.jsxs)(actions_1.Button.Group, { gap: ".5x", children: [(0, jsx_runtime_1.jsx)(actions_1.Button, { size: "small", ...prevButtonProps, icon: (0, jsx_runtime_1.jsx)(icons_1.LeftIcon, {}) }), (0, jsx_runtime_1.jsx)(actions_1.Button, { size: "small", ...nextButtonProps, icon: (0, jsx_runtime_1.jsx)(icons_1.RightIcon, {}) })] })] }), (0, jsx_runtime_1.jsx)(CalendarGrid_1.CalendarGrid, { state: state, selectedRange: props.selectedRange })] }));
|
54
54
|
}
|
55
55
|
const _Calendar = (0, react_1.forwardRef)(Calendar);
|
56
56
|
exports.Calendar = _Calendar;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license MIT
|
3
3
|
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.
|
4
|
+
* @cube-dev/ui-kit v0.33.0
|
5
5
|
* Released under the MIT license.
|
6
6
|
*/
|
7
7
|
|
@@ -14,11 +14,11 @@ const react_aria_1 = require("react-aria");
|
|
14
14
|
const react_stately_1 = require("react-stately");
|
15
15
|
const date_1 = require("@internationalized/date");
|
16
16
|
const utils_1 = require("@react-spectrum/utils");
|
17
|
-
const icons_1 = require("@ant-design/icons");
|
18
17
|
const actions_1 = require("../../actions");
|
19
18
|
const tasty_1 = require("../../../tasty");
|
20
19
|
const Title_1 = require("../../content/Title");
|
21
20
|
const provider_1 = require("../../../provider");
|
21
|
+
const icons_1 = require("../../../icons");
|
22
22
|
const CalendarGrid_1 = require("./CalendarGrid");
|
23
23
|
const CalendarElement = (0, tasty_1.tasty)({
|
24
24
|
styles: {
|
@@ -50,7 +50,7 @@ function RangeCalendar(props, ref) {
|
|
50
50
|
},
|
51
51
|
}));
|
52
52
|
let { calendarProps, prevButtonProps, nextButtonProps, title } = (0, react_aria_1.useRangeCalendar)(props, state, domRef);
|
53
|
-
return ((0, jsx_runtime_1.jsxs)(CalendarElement, { ref: domRef, ...calendarProps, children: [(0, jsx_runtime_1.jsxs)(CalendarHeaderElement, { children: [(0, jsx_runtime_1.jsx)(Title_1.Title, { level: 6, preset: "h6", children: title }), (0, jsx_runtime_1.jsxs)(actions_1.Button.Group, { gap: ".5x", children: [(0, jsx_runtime_1.jsx)(actions_1.Button, { size: "small", ...prevButtonProps, icon: (0, jsx_runtime_1.jsx)(icons_1.
|
53
|
+
return ((0, jsx_runtime_1.jsxs)(CalendarElement, { ref: domRef, ...calendarProps, children: [(0, jsx_runtime_1.jsxs)(CalendarHeaderElement, { children: [(0, jsx_runtime_1.jsx)(Title_1.Title, { level: 6, preset: "h6", children: title }), (0, jsx_runtime_1.jsxs)(actions_1.Button.Group, { gap: ".5x", children: [(0, jsx_runtime_1.jsx)(actions_1.Button, { size: "small", ...prevButtonProps, icon: (0, jsx_runtime_1.jsx)(icons_1.LeftIcon, {}) }), (0, jsx_runtime_1.jsx)(actions_1.Button, { size: "small", ...nextButtonProps, icon: (0, jsx_runtime_1.jsx)(icons_1.RightIcon, {}) })] })] }), (0, jsx_runtime_1.jsx)(CalendarGrid_1.CalendarGrid, { state: state })] }));
|
54
54
|
}
|
55
55
|
const _RangeCalendar = (0, react_1.forwardRef)(RangeCalendar);
|
56
56
|
exports.RangeCalendar = _RangeCalendar;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license MIT
|
3
3
|
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.
|
4
|
+
* @cube-dev/ui-kit v0.33.0
|
5
5
|
* Released under the MIT license.
|
6
6
|
*/
|
7
7
|
|
@@ -17,12 +17,12 @@ const utils_1 = require("@react-spectrum/utils");
|
|
17
17
|
const react_aria_1 = require("react-aria");
|
18
18
|
const react_1 = require("react");
|
19
19
|
const react_aria_2 = require("react-aria");
|
20
|
-
const icons_1 = require("@ant-design/icons");
|
21
20
|
const react_focus_lock_1 = __importDefault(require("react-focus-lock"));
|
22
21
|
const tasty_1 = require("../../../tasty");
|
23
22
|
const react_2 = require("../../../utils/react");
|
24
23
|
const actions_1 = require("../../actions");
|
25
24
|
const OpenTransition_1 = require("../Modal/OpenTransition");
|
25
|
+
const icons_1 = require("../../../icons");
|
26
26
|
const context_1 = require("./context");
|
27
27
|
const STYLES_LIST = [...tasty_1.BASE_STYLES, ...tasty_1.DIMENSION_STYLES, ...tasty_1.BLOCK_STYLES];
|
28
28
|
const DialogElement = (0, tasty_1.tasty)({
|
@@ -172,7 +172,7 @@ const DialogContent = (0, react_1.forwardRef)(function DialogContent(props, ref)
|
|
172
172
|
},
|
173
173
|
},
|
174
174
|
};
|
175
|
-
return ((0, jsx_runtime_1.jsxs)(DialogElement, { ref: domRef, "data-id": "Dialog", "data-qa": qa || 'Dialog', styles: styles, as: "section", ...dialogProps, mods: { dismissable: isDismissable }, style: { '--dialog-size': `${sizePxMap[size] || 288}px` }, "data-type": type, "data-size": size, children: [dismissButton, (0, jsx_runtime_1.jsxs)(react_2.SlotProvider, { slots: slots, children: [isDismissable && ((0, jsx_runtime_1.jsx)(actions_1.Button, { qa: "ModalCloseButton", type: "neutral", styles: CLOSE_BUTTON_STYLES, icon: closeIcon || (0, jsx_runtime_1.jsx)(icons_1.
|
175
|
+
return ((0, jsx_runtime_1.jsxs)(DialogElement, { ref: domRef, "data-id": "Dialog", "data-qa": qa || 'Dialog', styles: styles, as: "section", ...dialogProps, mods: { dismissable: isDismissable }, style: { '--dialog-size': `${sizePxMap[size] || 288}px` }, "data-type": type, "data-size": size, children: [dismissButton, (0, jsx_runtime_1.jsxs)(react_2.SlotProvider, { slots: slots, children: [isDismissable && ((0, jsx_runtime_1.jsx)(actions_1.Button, { qa: "ModalCloseButton", type: "neutral", styles: CLOSE_BUTTON_STYLES, icon: closeIcon || (0, jsx_runtime_1.jsx)(icons_1.CloseIcon, {}), label: formatMessage('dismiss'), onPress: () => onDismiss && onDismiss() })), children] })] }));
|
176
176
|
});
|
177
177
|
|
178
178
|
|
package/cjs/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license MIT
|
3
3
|
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.
|
4
|
+
* @cube-dev/ui-kit v0.33.0
|
5
5
|
* Released under the MIT license.
|
6
6
|
*/
|
7
7
|
|
@@ -14,7 +14,7 @@ const actions_1 = require("../../../actions");
|
|
14
14
|
const tasty_1 = require("../../../../tasty");
|
15
15
|
const icons_1 = require("../../../../icons");
|
16
16
|
const CloseButton = (0, tasty_1.tasty)(actions_1.Button, {
|
17
|
-
icon: (0, jsx_runtime_1.jsx)(icons_1.
|
17
|
+
icon: (0, jsx_runtime_1.jsx)(icons_1.CloseIcon, {}),
|
18
18
|
label: 'Close the notification',
|
19
19
|
qa: 'NotificationCloseButton',
|
20
20
|
type: 'neutral',
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license MIT
|
3
3
|
* author: Cube Dev Team
|
4
|
-
* @cube-dev/ui-kit v0.
|
4
|
+
* @cube-dev/ui-kit v0.33.0
|
5
5
|
* Released under the MIT license.
|
6
6
|
*/
|
7
7
|
|
@@ -62,9 +62,9 @@ exports.NotificationIcon = (0, react_1.memo)(function NotificationIcon(props) {
|
|
62
62
|
}, children: iconsByType[type] })) }));
|
63
63
|
});
|
64
64
|
const iconsByType = {
|
65
|
-
attention: (0, jsx_runtime_1.jsx)(icons_1.
|
66
|
-
success: (0, jsx_runtime_1.jsx)(icons_1.
|
67
|
-
danger: (0, jsx_runtime_1.jsx)(icons_1.
|
65
|
+
attention: (0, jsx_runtime_1.jsx)(icons_1.ExclamationIcon, {}),
|
66
|
+
success: (0, jsx_runtime_1.jsx)(icons_1.SuccessIcon, {}),
|
67
|
+
danger: (0, jsx_runtime_1.jsx)(icons_1.DangerIcon, {}),
|
68
68
|
};
|
69
69
|
|
70
70
|
|