@ultraviolet/ui 3.10.1 → 3.11.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/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/asyncToGenerator.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/defineProperty.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/objectSpread2.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/objectWithoutProperties.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/toPrimitive.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/toPropertyKey.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.113.0 → _@oxc-project_runtime@0.114.0}/helpers/typeof.js +1 -1
- package/dist/components/ActionBar/index.js +2 -2
- package/dist/components/Alert/index.js +2 -2
- package/dist/components/Avatar/index.js +3 -3
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Banner/index.js +2 -2
- package/dist/components/BarChart/Tooltip.js +1 -1
- package/dist/components/BarChart/index.js +2 -2
- package/dist/components/BarStack/index.js +1 -1
- package/dist/components/Breadcrumbs/components/Item.js +1 -1
- package/dist/components/Bullet/index.js +1 -1
- package/dist/components/Button/index.js +2 -2
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Carousel/index.js +2 -2
- package/dist/components/Checkbox/CheckboxIconContainer.d.ts +4 -0
- package/dist/components/Checkbox/CheckboxIconContainer.d.ts.map +1 -0
- package/dist/components/Checkbox/CheckboxIconContainer.js +38 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +9 -37
- package/dist/components/Checkbox/styles.css.d.ts +3 -3
- package/dist/components/Checkbox/styles.css.d.ts.map +1 -1
- package/dist/components/Checkbox/styles.css.js +17 -10
- package/dist/components/CheckboxGroup/index.d.ts +2 -2
- package/dist/components/CheckboxGroup/index.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/index.js +4 -3
- package/dist/components/Chip/index.js +1 -1
- package/dist/components/CopyButton/index.js +1 -1
- package/dist/components/DateInput/components/CalendarContent.js +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.js +1 -1
- package/dist/components/DateInput/index.js +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/EmptyState/index.js +1 -1
- package/dist/components/Expandable/index.js +2 -2
- package/dist/components/ExpandableCard/index.js +2 -2
- package/dist/components/FileInput/components/Button.js +2 -2
- package/dist/components/GlobalAlert/GlobalAlertLink.js +1 -1
- package/dist/components/GlobalAlert/index.js +1 -1
- package/dist/components/InfiniteScroll/index.js +1 -1
- package/dist/components/Key/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/LineChart/CustomLegend.js +2 -2
- package/dist/components/LineChart/index.js +2 -2
- package/dist/components/Link/index.js +4 -4
- package/dist/components/List/Cell.js +2 -2
- package/dist/components/List/HeaderCell.js +3 -3
- package/dist/components/List/HeaderRow.js +1 -1
- package/dist/components/List/ListContext.js +3 -3
- package/dist/components/List/Row.js +5 -5
- package/dist/components/List/SelectBar.js +1 -1
- package/dist/components/List/SkeletonRows.js +2 -2
- package/dist/components/List/index.js +1 -1
- package/dist/components/List/styles.css.js +1 -0
- package/dist/components/Loader/index.js +2 -2
- package/dist/components/Menu/MenuContent.js +1 -1
- package/dist/components/Menu/components/Item.d.ts +1 -0
- package/dist/components/Menu/components/Item.d.ts.map +1 -1
- package/dist/components/Menu/components/Item.js +28 -8
- package/dist/components/Menu/index.d.ts +1 -0
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Modal/components/Dialog.js +2 -2
- package/dist/components/Notice/index.js +1 -1
- package/dist/components/Notification/Notification.js +1 -1
- package/dist/components/Notification/NotificationContainer.js +1 -1
- package/dist/components/NumberInput/index.js +1 -1
- package/dist/components/Pagination/PaginationButtons.js +1 -1
- package/dist/components/PasswordCheck/index.js +1 -1
- package/dist/components/PieChart/index.js +2 -2
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Popup/index.js +2 -2
- package/dist/components/ProgressBar/index.js +1 -1
- package/dist/components/ProgressBar/styles.css.js +1 -0
- package/dist/components/ProgressBar/variables.css.js +0 -2
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/Radio/styles.css.js +1 -0
- package/dist/components/RadioGroup/index.js +2 -2
- package/dist/components/Row/index.js +3 -3
- package/dist/components/SearchInput/index.js +1 -1
- package/dist/components/SelectInput/components/Dropdown.js +4 -4
- package/dist/components/SelectInput/components/SearchBarDropdown.js +3 -3
- package/dist/components/SelectInput/components/SelectBar.js +3 -3
- package/dist/components/SelectInput/index.js +1 -1
- package/dist/components/SelectableCard/IllustrationContainer.d.ts +1 -1
- package/dist/components/SelectableCard/IllustrationContainer.js +2 -2
- package/dist/components/SelectableCard/MultiStateInput.js +1 -1
- package/dist/components/SelectableCard/SelectableCard.js +2 -2
- package/dist/components/SelectableCardGroup/index.js +1 -1
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.js +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Image.js +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +2 -2
- package/dist/components/Separator/index.js +1 -1
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Slider/components/DoubleSlider.js +2 -2
- package/dist/components/Slider/components/SingleSlider.js +3 -3
- package/dist/components/Snippet/index.js +2 -2
- package/dist/components/Stack/index.js +3 -3
- package/dist/components/Status/index.js +1 -1
- package/dist/components/StepList/index.js +1 -1
- package/dist/components/Stepper/Step.js +1 -1
- package/dist/components/Stepper/index.js +2 -2
- package/dist/components/SwitchButton/Option.js +1 -1
- package/dist/components/SwitchButton/index.js +1 -1
- package/dist/components/Table/Cell.js +2 -2
- package/dist/components/Table/HeaderCell.js +2 -2
- package/dist/components/Table/HeaderRow.js +1 -1
- package/dist/components/Table/Row.js +5 -5
- package/dist/components/Table/TableContext.js +2 -2
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tabs/Tab.js +3 -3
- package/dist/components/Tabs/TabMenu.js +3 -3
- package/dist/components/Tabs/TabMenuItem.js +2 -2
- package/dist/components/Tabs/index.d.ts +1 -0
- package/dist/components/Tabs/index.js +3 -3
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/TagInput/index.js +2 -2
- package/dist/components/TagList/index.js +2 -2
- package/dist/components/Text/index.js +3 -3
- package/dist/components/TextArea/index.js +2 -2
- package/dist/components/TextInput/index.js +1 -1
- package/dist/components/TimeInput/index.js +1 -1
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/Toaster/ToasterContainer.js +1 -1
- package/dist/components/Toggle/index.js +1 -1
- package/dist/components/ToggleGroup/index.js +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/TreeMapChart/index.js +3 -3
- package/dist/components/UnitInput/index.js +2 -2
- package/dist/components/VerificationCode/index.js +1 -1
- package/dist/components/compositions/CodeEditor/index.d.ts +40 -0
- package/dist/components/compositions/CodeEditor/index.d.ts.map +1 -0
- package/dist/components/compositions/CodeEditor/index.js +129 -0
- package/dist/components/compositions/CodeEditor/styles.css.d.ts +19 -0
- package/dist/components/compositions/CodeEditor/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/CodeEditor/styles.css.js +30 -0
- package/dist/components/compositions/ContentCard/Content.d.ts +13 -0
- package/dist/components/compositions/ContentCard/Content.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/Content.js +65 -0
- package/dist/components/compositions/ContentCard/Skeleton.d.ts +6 -0
- package/dist/components/compositions/ContentCard/Skeleton.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/Skeleton.js +33 -0
- package/dist/components/compositions/ContentCard/index.d.ts +8 -0
- package/dist/components/compositions/ContentCard/index.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/index.js +80 -0
- package/dist/components/compositions/ContentCard/styles.css.d.ts +24 -0
- package/dist/components/compositions/ContentCard/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/ContentCard/styles.css.js +36 -0
- package/dist/components/compositions/ContentCard/type.d.ts +30 -0
- package/dist/components/compositions/ContentCard/type.d.ts.map +1 -0
- package/dist/components/compositions/ContentCardGroup/Card.d.ts +15 -0
- package/dist/components/compositions/ContentCardGroup/Card.d.ts.map +1 -0
- package/dist/components/compositions/ContentCardGroup/Card.js +58 -0
- package/dist/components/compositions/ContentCardGroup/SkeletonCard.d.ts +2 -0
- package/dist/components/compositions/ContentCardGroup/SkeletonCard.d.ts.map +1 -0
- package/dist/components/compositions/ContentCardGroup/SkeletonCard.js +30 -0
- package/dist/components/compositions/ContentCardGroup/index.d.ts +21 -0
- package/dist/components/compositions/ContentCardGroup/index.d.ts.map +1 -0
- package/dist/components/compositions/ContentCardGroup/index.js +21 -0
- package/dist/components/compositions/ContentCardGroup/styles.css.d.ts +8 -0
- package/dist/components/compositions/ContentCardGroup/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/ContentCardGroup/styles.css.js +13 -0
- package/dist/components/compositions/Conversation/index.d.ts +50 -0
- package/dist/components/compositions/Conversation/index.d.ts.map +1 -0
- package/dist/components/compositions/Conversation/index.js +53 -0
- package/dist/components/compositions/Conversation/styles.css.d.ts +8 -0
- package/dist/components/compositions/Conversation/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/Conversation/styles.css.js +22 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/1-5.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/1-5NB.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/2-5.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/2-5NB.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/3-5.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/3-5NB.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/4-5.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/4-5NB.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/5-5.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/5-5NB.js +5 -0
- package/dist/components/compositions/CustomerSatisfaction/index.d.ts +33 -0
- package/dist/components/compositions/CustomerSatisfaction/index.d.ts.map +1 -0
- package/dist/components/compositions/CustomerSatisfaction/index.js +89 -0
- package/dist/components/compositions/CustomerSatisfaction/styles.css.d.ts +19 -0
- package/dist/components/compositions/CustomerSatisfaction/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/CustomerSatisfaction/styles.css.js +20 -0
- package/dist/components/compositions/EstimateCost/CompactEstimateCost.d.ts +16 -0
- package/dist/components/compositions/EstimateCost/CompactEstimateCost.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/CompactEstimateCost.js +38 -0
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts +12 -0
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.js +114 -0
- package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.d.ts +10 -0
- package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.js +41 -0
- package/dist/components/compositions/EstimateCost/Components/Item.d.ts +118 -0
- package/dist/components/compositions/EstimateCost/Components/Item.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Item.js +168 -0
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.d.ts +3 -0
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.js +75 -0
- package/dist/components/compositions/EstimateCost/Components/ItemPrice.d.ts +3 -0
- package/dist/components/compositions/EstimateCost/Components/ItemPrice.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/ItemPrice.js +54 -0
- package/dist/components/compositions/EstimateCost/Components/LineThrough.d.ts +7 -0
- package/dist/components/compositions/EstimateCost/Components/LineThrough.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/LineThrough.js +18 -0
- package/dist/components/compositions/EstimateCost/Components/NumberInput.d.ts +11 -0
- package/dist/components/compositions/EstimateCost/Components/NumberInput.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/NumberInput.js +35 -0
- package/dist/components/compositions/EstimateCost/Components/Region.d.ts +23 -0
- package/dist/components/compositions/EstimateCost/Components/Region.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Region.js +38 -0
- package/dist/components/compositions/EstimateCost/Components/Regular.d.ts +11 -0
- package/dist/components/compositions/EstimateCost/Components/Regular.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Regular.js +23 -0
- package/dist/components/compositions/EstimateCost/Components/Strong.d.ts +10 -0
- package/dist/components/compositions/EstimateCost/Components/Strong.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Strong.js +16 -0
- package/dist/components/compositions/EstimateCost/Components/Unit.d.ts +11 -0
- package/dist/components/compositions/EstimateCost/Components/Unit.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Unit.js +50 -0
- package/dist/components/compositions/EstimateCost/Components/Zone.d.ts +23 -0
- package/dist/components/compositions/EstimateCost/Components/Zone.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/Zone.js +37 -0
- package/dist/components/compositions/EstimateCost/Components/components.css.d.ts +78 -0
- package/dist/components/compositions/EstimateCost/Components/components.css.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/Components/components.css.js +71 -0
- package/dist/components/compositions/EstimateCost/EstimateCostContent.d.ts +3 -0
- package/dist/components/compositions/EstimateCost/EstimateCostContent.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/EstimateCostContent.js +198 -0
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.d.ts +26 -0
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.js +33 -0
- package/dist/components/compositions/EstimateCost/OverlayComponent.d.ts +27 -0
- package/dist/components/compositions/EstimateCost/OverlayComponent.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/OverlayComponent.js +100 -0
- package/dist/components/compositions/EstimateCost/OverlayContext.d.ts +13 -0
- package/dist/components/compositions/EstimateCost/OverlayContext.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/OverlayContext.js +15 -0
- package/dist/components/compositions/EstimateCost/constants.d.ts +8 -0
- package/dist/components/compositions/EstimateCost/constants.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/constants.js +26 -0
- package/dist/components/compositions/EstimateCost/helper.d.ts +10 -0
- package/dist/components/compositions/EstimateCost/helper.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/helper.js +11 -0
- package/dist/components/compositions/EstimateCost/index.d.ts +177 -0
- package/dist/components/compositions/EstimateCost/index.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/index.js +97 -0
- package/dist/components/compositions/EstimateCost/locales/en.d.ts +23 -0
- package/dist/components/compositions/EstimateCost/locales/en.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/locales/en.js +25 -0
- package/dist/components/compositions/EstimateCost/styles.css.d.ts +86 -0
- package/dist/components/compositions/EstimateCost/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/EstimateCost/styles.css.js +72 -0
- package/dist/components/compositions/EstimateCost/types.d.ts +226 -0
- package/dist/components/compositions/EstimateCost/types.d.ts.map +1 -0
- package/dist/components/compositions/FAQ/index.d.ts +14 -0
- package/dist/components/compositions/FAQ/index.d.ts.map +1 -0
- package/dist/components/compositions/FAQ/index.js +43 -0
- package/dist/components/compositions/FAQ/styles.css.d.ts +2 -0
- package/dist/components/compositions/FAQ/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/FAQ/styles.css.js +7 -0
- package/dist/components/compositions/InfoTable/Context.d.ts +4 -0
- package/dist/components/compositions/InfoTable/Context.d.ts.map +1 -0
- package/dist/components/compositions/InfoTable/Context.js +7 -0
- package/dist/components/compositions/InfoTable/components/Cell.d.ts +10 -0
- package/dist/components/compositions/InfoTable/components/Cell.d.ts.map +1 -0
- package/dist/components/compositions/InfoTable/components/Cell.js +39 -0
- package/dist/components/compositions/InfoTable/components/Row.d.ts +9 -0
- package/dist/components/compositions/InfoTable/components/Row.d.ts.map +1 -0
- package/dist/components/compositions/InfoTable/components/Row.js +23 -0
- package/dist/components/compositions/InfoTable/index.d.ts +25 -0
- package/dist/components/compositions/InfoTable/index.d.ts.map +1 -0
- package/dist/components/compositions/InfoTable/index.js +28 -0
- package/dist/components/compositions/InfoTable/styles.css.d.ts +8 -0
- package/dist/components/compositions/InfoTable/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/InfoTable/styles.css.js +13 -0
- package/dist/components/compositions/Navigation/Footer.d.ts +9 -0
- package/dist/components/compositions/Navigation/Footer.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/Footer.js +65 -0
- package/dist/components/compositions/Navigation/Header.d.ts +7 -0
- package/dist/components/compositions/Navigation/Header.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/Header.js +24 -0
- package/dist/components/compositions/Navigation/NavigationContent.d.ts +3 -0
- package/dist/components/compositions/Navigation/NavigationContent.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/NavigationContent.js +104 -0
- package/dist/components/compositions/Navigation/NavigationProvider.d.ts +94 -0
- package/dist/components/compositions/Navigation/NavigationProvider.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/NavigationProvider.js +121 -0
- package/dist/components/compositions/Navigation/animations.css.d.ts +7 -0
- package/dist/components/compositions/Navigation/animations.css.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ComponentsTypes.d.ts +65 -0
- package/dist/components/compositions/Navigation/components/ComponentsTypes.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Group.d.ts +10 -0
- package/dist/components/compositions/Navigation/components/Group.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Group.js +40 -0
- package/dist/components/compositions/Navigation/components/Item.d.ts +88 -0
- package/dist/components/compositions/Navigation/components/Item.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Item.js +200 -0
- package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts +3 -0
- package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ItemExpanded.js +214 -0
- package/dist/components/compositions/Navigation/components/ItemFragments.d.ts +6 -0
- package/dist/components/compositions/Navigation/components/ItemFragments.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ItemFragments.js +63 -0
- package/dist/components/compositions/Navigation/components/ItemMenu.d.ts +4 -0
- package/dist/components/compositions/Navigation/components/ItemMenu.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ItemMenu.js +135 -0
- package/dist/components/compositions/Navigation/components/ItemProvider.d.ts +8 -0
- package/dist/components/compositions/Navigation/components/ItemProvider.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ItemProvider.js +17 -0
- package/dist/components/compositions/Navigation/components/PinnedItems.d.ts +24 -0
- package/dist/components/compositions/Navigation/components/PinnedItems.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/PinnedItems.js +105 -0
- package/dist/components/compositions/Navigation/components/Separator.d.ts +2 -0
- package/dist/components/compositions/Navigation/components/Separator.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/Separator.js +11 -0
- package/dist/components/compositions/Navigation/components/ShowHide.d.ts +16 -0
- package/dist/components/compositions/Navigation/components/ShowHide.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/ShowHide.js +54 -0
- package/dist/components/compositions/Navigation/components/items.css.d.ts +98 -0
- package/dist/components/compositions/Navigation/components/items.css.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/items.css.js +124 -0
- package/dist/components/compositions/Navigation/components/styles.css.d.ts +25 -0
- package/dist/components/compositions/Navigation/components/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/components/styles.css.js +29 -0
- package/dist/components/compositions/Navigation/constants.d.ts +10 -0
- package/dist/components/compositions/Navigation/constants.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/index.d.ts +65 -0
- package/dist/components/compositions/Navigation/index.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/index.js +35 -0
- package/dist/components/compositions/Navigation/locales/en.d.ts +11 -0
- package/dist/components/compositions/Navigation/locales/en.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/locales/en.js +13 -0
- package/dist/components/compositions/Navigation/styles.css.d.ts +34 -0
- package/dist/components/compositions/Navigation/styles.css.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/styles.css.js +37 -0
- package/dist/components/compositions/Navigation/types.d.ts +43 -0
- package/dist/components/compositions/Navigation/types.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/variables.css.d.ts +2 -0
- package/dist/components/compositions/Navigation/variables.css.d.ts.map +1 -0
- package/dist/components/compositions/Navigation/variables.css.js +5 -0
- package/dist/components/compositions/OfferList/components/Cell.js +1 -1
- package/dist/components/compositions/OfferList/components/Row.js +4 -4
- package/dist/components/compositions/OfferList/index.js +1 -1
- package/dist/components/compositions/OptionSelector/components/Selector.js +1 -1
- package/dist/components/compositions/OptionSelector/index.js +1 -1
- package/dist/components/compositions/OrderSummary/ScrollableContent.js +1 -1
- package/dist/components/compositions/OrderSummary/helpers.js +1 -1
- package/dist/components/compositions/OrderSummary/index.js +1 -1
- package/dist/components/compositions/OrderSummary/types.d.ts +1 -1
- package/dist/components/compositions/OrderSummary/types.d.ts.map +1 -1
- package/dist/components/compositions/Plans/PlanHeader.js +1 -1
- package/dist/components/compositions/SteppedListCard/styles.css.js +0 -1
- package/dist/components/compositions/index.d.ts +9 -0
- package/dist/components/compositions/index.d.ts.map +1 -1
- package/dist/components/compositions/index.js +12 -1
- package/dist/index.js +17 -17
- package/dist/theme/ThemeProvider.js +1 -1
- package/dist/ui.css +1 -1
- package/package.json +10 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __name } from "../../_rolldown/runtime.js";
|
|
2
2
|
|
|
3
|
-
//#region \0@oxc-project+runtime@0.
|
|
3
|
+
//#region \0@oxc-project+runtime@0.114.0/helpers/asyncToGenerator.js
|
|
4
4
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
5
5
|
try {
|
|
6
6
|
var i = n[a](c);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __name } from "../../_rolldown/runtime.js";
|
|
2
2
|
import { toPropertyKey } from "./toPropertyKey.js";
|
|
3
3
|
|
|
4
|
-
//#region \0@oxc-project+runtime@0.
|
|
4
|
+
//#region \0@oxc-project+runtime@0.114.0/helpers/defineProperty.js
|
|
5
5
|
function _defineProperty(e, r, t) {
|
|
6
6
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
7
7
|
value: t,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __name } from "../../_rolldown/runtime.js";
|
|
2
2
|
import { _defineProperty } from "./defineProperty.js";
|
|
3
3
|
|
|
4
|
-
//#region \0@oxc-project+runtime@0.
|
|
4
|
+
//#region \0@oxc-project+runtime@0.114.0/helpers/objectSpread2.js
|
|
5
5
|
function ownKeys(e, r) {
|
|
6
6
|
var t = Object.keys(e);
|
|
7
7
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __name } from "../../_rolldown/runtime.js";
|
|
2
2
|
import { _objectWithoutPropertiesLoose } from "./objectWithoutPropertiesLoose.js";
|
|
3
3
|
|
|
4
|
-
//#region \0@oxc-project+runtime@0.
|
|
4
|
+
//#region \0@oxc-project+runtime@0.114.0/helpers/objectWithoutProperties.js
|
|
5
5
|
function _objectWithoutProperties(e, t) {
|
|
6
6
|
if (null == e) return {};
|
|
7
7
|
var o;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __name } from "../../_rolldown/runtime.js";
|
|
2
2
|
|
|
3
|
-
//#region \0@oxc-project+runtime@0.
|
|
3
|
+
//#region \0@oxc-project+runtime@0.114.0/helpers/objectWithoutPropertiesLoose.js
|
|
4
4
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
5
5
|
if (null == r) return {};
|
|
6
6
|
var t = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __name } from "../../_rolldown/runtime.js";
|
|
2
2
|
import { _typeof } from "./typeof.js";
|
|
3
3
|
|
|
4
|
-
//#region \0@oxc-project+runtime@0.
|
|
4
|
+
//#region \0@oxc-project+runtime@0.114.0/helpers/toPrimitive.js
|
|
5
5
|
function toPrimitive(t, r) {
|
|
6
6
|
if ("object" != _typeof(t) || !t) return t;
|
|
7
7
|
var e = t[Symbol.toPrimitive];
|
|
@@ -2,7 +2,7 @@ import { __name } from "../../_rolldown/runtime.js";
|
|
|
2
2
|
import { _typeof } from "./typeof.js";
|
|
3
3
|
import { toPrimitive } from "./toPrimitive.js";
|
|
4
4
|
|
|
5
|
-
//#region \0@oxc-project+runtime@0.
|
|
5
|
+
//#region \0@oxc-project+runtime@0.114.0/helpers/toPropertyKey.js
|
|
6
6
|
function toPropertyKey(t) {
|
|
7
7
|
var i = toPrimitive(t, "string");
|
|
8
8
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __name } from "../../_rolldown/runtime.js";
|
|
2
2
|
|
|
3
|
-
//#region \0@oxc-project+runtime@0.
|
|
3
|
+
//#region \0@oxc-project+runtime@0.114.0/helpers/typeof.js
|
|
4
4
|
function _typeof(o) {
|
|
5
5
|
"@babel/helpers - typeof";
|
|
6
6
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Stack } from "../Stack/index.js";
|
|
5
5
|
import { actionBar, rankActionBar, stackActionBar } from "./styles.css.js";
|
|
6
|
-
import { cn } from "@ultraviolet/utils";
|
|
7
6
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
8
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
import { cn } from "@ultraviolet/utils";
|
|
9
9
|
import { createPortal } from "react-dom";
|
|
10
10
|
|
|
11
11
|
//#region src/components/ActionBar/index.tsx
|
|
@@ -4,13 +4,13 @@ import { Stack } from "../Stack/index.js";
|
|
|
4
4
|
import { Text } from "../Text/index.js";
|
|
5
5
|
import { Button } from "../Button/index.js";
|
|
6
6
|
import { alert, buttonAlert, buttonCloseAlert, smallIcon, textAlert, wrapAlert } from "./styles.css.js";
|
|
7
|
-
import { cn } from "@ultraviolet/utils";
|
|
8
7
|
import { useState } from "react";
|
|
9
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import {
|
|
9
|
+
import { cn } from "@ultraviolet/utils";
|
|
11
10
|
import { AlertCircleIcon } from "@ultraviolet/icons/AlertCircleIcon";
|
|
12
11
|
import { CloseIcon } from "@ultraviolet/icons/CloseIcon";
|
|
13
12
|
import { CheckCircleOutlineIcon } from "@ultraviolet/icons/CheckCircleOutlineIcon";
|
|
13
|
+
import { InformationOutlineIcon } from "@ultraviolet/icons/InformationOutlineIcon";
|
|
14
14
|
import { LightBulbIcon } from "@ultraviolet/icons/LightBulbIcon";
|
|
15
15
|
|
|
16
16
|
//#region src/components/Alert/index.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Text } from "../Text/index.js";
|
|
5
5
|
import { DEFAULT_COLORS, TEXT_VARIANT_BY_SIZE, sizes } from "./constants.js";
|
|
6
6
|
import { colorsAvatar, containerAvatar, elementContainer, productIconContainer, svgAvatar, uploadContainer } from "./styles.css.js";
|
|
7
7
|
import { finalColorAvatar, finalSizeAvatar, halvedColorAvatar } from "./variables.css.js";
|
|
8
|
-
import {
|
|
8
|
+
import { theme } from "@ultraviolet/themes";
|
|
9
9
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { cn } from "@ultraviolet/utils";
|
|
12
12
|
import { UserProductIcon } from "@ultraviolet/icons/product/UserProductIcon";
|
|
13
13
|
import { UploadIcon } from "@ultraviolet/icons/UploadIcon";
|
|
14
14
|
|
|
@@ -3,9 +3,9 @@ import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
|
3
3
|
import { Text } from "../Text/index.js";
|
|
4
4
|
import { TEXT_VARIANT } from "./constant.js";
|
|
5
5
|
import { badge } from "./styles.css.js";
|
|
6
|
-
import { cn } from "@ultraviolet/utils";
|
|
7
6
|
import { useMemo } from "react";
|
|
8
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
import { cn } from "@ultraviolet/utils";
|
|
9
9
|
|
|
10
10
|
//#region src/components/Badge/index.tsx
|
|
11
11
|
/**
|
|
@@ -7,10 +7,10 @@ import { Link } from "../Link/index.js";
|
|
|
7
7
|
import default_image_default from "./assets/default-image.js";
|
|
8
8
|
import default_image_small_default from "./assets/default-image-small.js";
|
|
9
9
|
import { banner, closeButtonBanner, imageStackBanner } from "./styles.css.js";
|
|
10
|
-
import { cn } from "@ultraviolet/utils";
|
|
11
10
|
import { useMemo, useState } from "react";
|
|
12
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
11
|
import { useTheme } from "@ultraviolet/themes";
|
|
12
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { cn } from "@ultraviolet/utils";
|
|
14
14
|
import { CloseIcon } from "@ultraviolet/icons/CloseIcon";
|
|
15
15
|
|
|
16
16
|
//#region src/components/Banner/index.tsx
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { Text } from "../Text/index.js";
|
|
4
4
|
import { barColorSquare, barTooltipContainer, colorBar } from "./styles.css.js";
|
|
5
|
-
import { cn } from "@ultraviolet/utils";
|
|
6
5
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
7
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { cn } from "@ultraviolet/utils";
|
|
8
8
|
|
|
9
9
|
//#region src/components/BarChart/Tooltip.tsx
|
|
10
10
|
const BarChartTooltip = ({ formattedValue, indexValue, color, className, "data-testid": dataTestId }) => /* @__PURE__ */ jsxs("div", {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
|
|
4
4
|
import { getLegendColor } from "../../helpers/legend.js";
|
|
5
5
|
import { getNivoTheme } from "../../helpers/nivoTheme.js";
|
|
6
6
|
import { BarChartTooltip } from "./Tooltip.js";
|
|
7
7
|
import { useCallback } from "react";
|
|
8
|
-
import { jsx } from "react/jsx-runtime";
|
|
9
8
|
import { useTheme } from "@ultraviolet/themes";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
import { ResponsiveBar } from "@nivo/bar";
|
|
11
11
|
|
|
12
12
|
//#region src/components/BarChart/index.tsx
|
|
@@ -5,10 +5,10 @@ import { Tooltip } from "../Tooltip/index.js";
|
|
|
5
5
|
import { Text } from "../Text/index.js";
|
|
6
6
|
import { Label } from "../Label/index.js";
|
|
7
7
|
import { barStack, barStackLegendCircle, barStackText, containerBarStack, wrapperBarStack, wrapperWidth } from "./styles.css.js";
|
|
8
|
-
import { cn } from "@ultraviolet/utils";
|
|
9
8
|
import { useMemo, useState } from "react";
|
|
10
9
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
11
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { cn } from "@ultraviolet/utils";
|
|
12
12
|
|
|
13
13
|
//#region src/components/BarStack/index.tsx
|
|
14
14
|
/**
|
|
@@ -4,10 +4,10 @@ import { Text } from "../../Text/index.js";
|
|
|
4
4
|
import { Button } from "../../Button/index.js";
|
|
5
5
|
import { Link } from "../../Link/index.js";
|
|
6
6
|
import { breadcrumbsItem, contentBreadcrumbs, contentBreadcrumbsText, itemContainerBreadcrumbs, linkBreadcrumbs, maxWidthVar, minWidthVar } from "./styles.css.js";
|
|
7
|
-
import { cn } from "@ultraviolet/utils";
|
|
8
7
|
import { useMemo } from "react";
|
|
9
8
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
10
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
import { cn } from "@ultraviolet/utils";
|
|
11
11
|
|
|
12
12
|
//#region src/components/Breadcrumbs/components/Item.tsx
|
|
13
13
|
const Item = ({ to, children, disabled = false, "aria-current": ariaCurrent, onClick, onKeyDown, className, maxWidth, minWidth }) => {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { Tooltip } from "../Tooltip/index.js";
|
|
4
4
|
import { bullet } from "./styles.css.js";
|
|
5
|
-
import { cn } from "@ultraviolet/utils";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { cn } from "@ultraviolet/utils";
|
|
7
7
|
|
|
8
8
|
//#region src/components/Bullet/index.tsx
|
|
9
9
|
/**
|
|
@@ -3,10 +3,10 @@ import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
|
3
3
|
import { Tooltip } from "../Tooltip/index.js";
|
|
4
4
|
import { Loader } from "../Loader/index.js";
|
|
5
5
|
import { button } from "./styles.css.js";
|
|
6
|
-
import { cn, renderElement } from "@ultraviolet/utils";
|
|
7
6
|
import { forwardRef, useMemo } from "react";
|
|
8
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
7
|
import { useTheme } from "@ultraviolet/themes";
|
|
8
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { cn, renderElement } from "@ultraviolet/utils";
|
|
10
10
|
|
|
11
11
|
//#region src/components/Button/index.tsx
|
|
12
12
|
/**
|
|
@@ -3,9 +3,9 @@ import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
|
3
3
|
import { Stack } from "../Stack/index.js";
|
|
4
4
|
import { Text } from "../Text/index.js";
|
|
5
5
|
import { borderedBox, stackCard } from "./styles.css.js";
|
|
6
|
-
import { cn } from "@ultraviolet/utils";
|
|
7
6
|
import { forwardRef } from "react";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { cn } from "@ultraviolet/utils";
|
|
9
9
|
|
|
10
10
|
//#region src/components/Card/index.tsx
|
|
11
11
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.114.0/helpers/objectSpread2.js";
|
|
4
4
|
import { afterScroll, beforeScroll, borderWrapper, scrollableWrapper, widthVar, wrapper } from "./styles.css.js";
|
|
5
|
-
import { cn } from "@ultraviolet/utils";
|
|
6
5
|
import { useEffect, useRef, useState } from "react";
|
|
7
6
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { cn } from "@ultraviolet/utils";
|
|
9
9
|
|
|
10
10
|
//#region src/components/Carousel/index.tsx
|
|
11
11
|
const CarouselItem = ({ children, width = "240px", style }) => /* @__PURE__ */ jsx("div", {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxIconContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/CheckboxIconContainer.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB;;6CA0CjC,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { checkMixedMark, iconPath, innerCheckbox } from "./styles.css.js";
|
|
4
|
+
import { useTheme } from "@ultraviolet/themes";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/Checkbox/CheckboxIconContainer.tsx
|
|
8
|
+
const CheckboxIconContainer = ({ checked }) => {
|
|
9
|
+
return /* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsx("rect", {
|
|
10
|
+
className: innerCheckbox,
|
|
11
|
+
height: "16",
|
|
12
|
+
rx: useTheme().radii.small,
|
|
13
|
+
strokeWidth: "2",
|
|
14
|
+
width: "16",
|
|
15
|
+
x: "4",
|
|
16
|
+
y: "4"
|
|
17
|
+
}), checked !== "indeterminate" ? /* @__PURE__ */ jsx("path", {
|
|
18
|
+
className: iconPath,
|
|
19
|
+
clipRule: "evenodd",
|
|
20
|
+
d: "M15.6678 5.26709C16.0849 5.6463 16.113 6.28907 15.7307 6.70276L9.29172 13.6705C9.10291 13.8748 8.83818 13.9937 8.55884 13.9998C8.2795 14.0058 8.0098 13.8984 7.81223 13.7024L4.30004 10.2185C3.89999 9.82169 3.89999 9.17831 4.30004 8.78149C4.70009 8.38467 5.34869 8.38467 5.74874 8.78149L8.50441 11.5149L14.2205 5.32951C14.6028 4.91583 15.2508 4.88788 15.6678 5.26709Z",
|
|
21
|
+
fill: "white",
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
height: 9,
|
|
24
|
+
width: 12,
|
|
25
|
+
x: "5",
|
|
26
|
+
y: "4"
|
|
27
|
+
}) : /* @__PURE__ */ jsx("rect", {
|
|
28
|
+
className: checkMixedMark,
|
|
29
|
+
height: "2",
|
|
30
|
+
rx: "1",
|
|
31
|
+
width: "12",
|
|
32
|
+
x: "6",
|
|
33
|
+
y: "11"
|
|
34
|
+
})] });
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { CheckboxIconContainer };
|
|
@@ -16,6 +16,7 @@ type CheckboxProps = {
|
|
|
16
16
|
required?: boolean;
|
|
17
17
|
'data-testid'?: string;
|
|
18
18
|
tooltip?: string;
|
|
19
|
+
size?: 'default' | 'small';
|
|
19
20
|
} & Pick<InputHTMLAttributes<HTMLInputElement>, 'autoFocus' | 'id' | 'name' | 'onBlur' | 'onChange' | 'onKeyDown' | 'onClick' | 'onFocus' | 'tabIndex' | 'value' | 'style'> & LabelProp;
|
|
20
21
|
/**
|
|
21
22
|
* Checkbox is an input component used to select or deselect an option.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAc3D,KAAK,SAAS,GACV;IACE,QAAQ,EAAE,SAAS,CAAA;IACnB,YAAY,CAAC,EAAE,KAAK,CAAA;CACrB,GACD;IACE,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;CACrB,CAAA;AAEL,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,GAAG,eAAe,CAAA;IACnC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,CAAC,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;CAC3B,GAAG,IAAI,CACN,mBAAmB,CAAC,gBAAgB,CAAC,EACnC,WAAW,GACX,IAAI,GACJ,MAAM,GACN,QAAQ,GACR,UAAU,GACV,WAAW,GACX,SAAS,GACT,SAAS,GACT,UAAU,GACV,OAAO,GACP,OAAO,CACV,GACC,SAAS,CAAA;AAEX;;GAEG;AACH,eAAO,MAAM,QAAQ,4GAgIpB,CAAA"}
|
|
@@ -3,28 +3,17 @@ import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
|
3
3
|
import { Stack } from "../Stack/index.js";
|
|
4
4
|
import { Tooltip } from "../Tooltip/index.js";
|
|
5
5
|
import { Text } from "../Text/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { checkboxContainer, checkboxInput, errorText, icon, label } from "./styles.css.js";
|
|
7
|
+
import { CheckboxIconContainer } from "./CheckboxIconContainer.js";
|
|
8
8
|
import { forwardRef, useId } from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import {
|
|
10
|
+
import { cn } from "@ultraviolet/utils";
|
|
11
11
|
|
|
12
12
|
//#region src/components/Checkbox/index.tsx
|
|
13
|
-
const CheckboxIconContainer = ({ children }) => {
|
|
14
|
-
return /* @__PURE__ */ jsxs("g", { children: [/* @__PURE__ */ jsx("rect", {
|
|
15
|
-
className: innerCheckbox,
|
|
16
|
-
height: "16",
|
|
17
|
-
rx: useTheme().radii.small,
|
|
18
|
-
strokeWidth: "2",
|
|
19
|
-
width: "16",
|
|
20
|
-
x: "4",
|
|
21
|
-
y: "4"
|
|
22
|
-
}), children] });
|
|
23
|
-
};
|
|
24
13
|
/**
|
|
25
14
|
* Checkbox is an input component used to select or deselect an option.
|
|
26
15
|
*/
|
|
27
|
-
const Checkbox = forwardRef(({ id, checked = false, onChange, onFocus, onBlur, onKeyDown, error, name, helper, value, children, disabled = false, autoFocus = false, className, "data-visibility": dataVisibility, "aria-label": ariaLabel, required, "data-testid": dataTestId, tooltip, tabIndex, style }, ref) => {
|
|
16
|
+
const Checkbox = forwardRef(({ id, checked = false, onChange, onFocus, onBlur, onKeyDown, error, name, helper, value, children, disabled = false, autoFocus = false, className, "data-visibility": dataVisibility, "aria-label": ariaLabel, required, "data-testid": dataTestId, tooltip, tabIndex, style, size = "default" }, ref) => {
|
|
28
17
|
const uniqId = useId();
|
|
29
18
|
const localId = id !== null && id !== void 0 ? id : uniqId;
|
|
30
19
|
const styledChildren = typeof children === "string" ? /* @__PURE__ */ jsx(Text, {
|
|
@@ -33,7 +22,7 @@ const Checkbox = forwardRef(({ id, checked = false, onChange, onFocus, onBlur, o
|
|
|
33
22
|
htmlFor: localId,
|
|
34
23
|
prominence: "default",
|
|
35
24
|
sentiment: "neutral",
|
|
36
|
-
variant: "body",
|
|
25
|
+
variant: size === "small" ? "bodySmall" : "body",
|
|
37
26
|
children
|
|
38
27
|
}) : /* @__PURE__ */ jsx("label", {
|
|
39
28
|
className: label,
|
|
@@ -45,7 +34,7 @@ const Checkbox = forwardRef(({ id, checked = false, onChange, onFocus, onBlur, o
|
|
|
45
34
|
text: tooltip,
|
|
46
35
|
children: /* @__PURE__ */ jsxs("div", {
|
|
47
36
|
"aria-disabled": disabled,
|
|
48
|
-
className: cn(className, checkboxContainer),
|
|
37
|
+
className: cn(className, checkboxContainer[size]),
|
|
49
38
|
"data-checked": checked,
|
|
50
39
|
"data-error": !!error,
|
|
51
40
|
"data-testid": dataTestId,
|
|
@@ -58,7 +47,7 @@ const Checkbox = forwardRef(({ id, checked = false, onChange, onFocus, onBlur, o
|
|
|
58
47
|
"aria-label": ariaLabel,
|
|
59
48
|
autoFocus,
|
|
60
49
|
checked: isCheck,
|
|
61
|
-
className: checkboxInput,
|
|
50
|
+
className: checkboxInput[size],
|
|
62
51
|
disabled,
|
|
63
52
|
id: localId,
|
|
64
53
|
name,
|
|
@@ -74,27 +63,10 @@ const Checkbox = forwardRef(({ id, checked = false, onChange, onFocus, onBlur, o
|
|
|
74
63
|
value
|
|
75
64
|
}),
|
|
76
65
|
/* @__PURE__ */ jsxs("svg", {
|
|
77
|
-
className: icon,
|
|
66
|
+
className: icon[size],
|
|
78
67
|
fill: "none",
|
|
79
68
|
viewBox: "0 0 24 24",
|
|
80
|
-
children: [/* @__PURE__ */ jsx("title", { children:
|
|
81
|
-
className: iconPath,
|
|
82
|
-
clipRule: "evenodd",
|
|
83
|
-
d: "M15.6678 5.26709C16.0849 5.6463 16.113 6.28907 15.7307 6.70276L9.29172 13.6705C9.10291 13.8748 8.83818 13.9937 8.55884 13.9998C8.2795 14.0058 8.0098 13.8984 7.81223 13.7024L4.30004 10.2185C3.89999 9.82169 3.89999 9.17831 4.30004 8.78149C4.70009 8.38467 5.34869 8.38467 5.74874 8.78149L8.50441 11.5149L14.2205 5.32951C14.6028 4.91583 15.2508 4.88788 15.6678 5.26709Z",
|
|
84
|
-
fill: "white",
|
|
85
|
-
fillRule: "evenodd",
|
|
86
|
-
height: 9,
|
|
87
|
-
width: 12,
|
|
88
|
-
x: "5",
|
|
89
|
-
y: "4"
|
|
90
|
-
}) : /* @__PURE__ */ jsx("rect", {
|
|
91
|
-
className: checkMixedMark,
|
|
92
|
-
height: "2",
|
|
93
|
-
rx: "1",
|
|
94
|
-
width: "12",
|
|
95
|
-
x: "6",
|
|
96
|
-
y: "11"
|
|
97
|
-
}) })]
|
|
69
|
+
children: [/* @__PURE__ */ jsx("title", { children: name }), /* @__PURE__ */ jsx(CheckboxIconContainer, { checked })]
|
|
98
70
|
}),
|
|
99
71
|
children || required || helper || error ? /* @__PURE__ */ jsxs(Stack, {
|
|
100
72
|
flex: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const errorText: string;
|
|
2
|
-
export declare const checkboxContainer: string
|
|
3
|
-
export declare const checkboxInput: string
|
|
4
|
-
export declare const icon: string
|
|
2
|
+
export declare const checkboxContainer: Record<"default" | "small", string>;
|
|
3
|
+
export declare const checkboxInput: Record<"default" | "small", string>;
|
|
4
|
+
export declare const icon: Record<"default" | "small", string>;
|
|
5
5
|
export declare const innerCheckbox: string;
|
|
6
6
|
export declare const iconPath: string;
|
|
7
7
|
export declare const checkMixedMark: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/styles.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS,QAEpB,CAAA;
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/styles.css.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS,QAEpB,CAAA;AAgBF,eAAO,MAAM,iBAAiB,qCAG5B,CAAA;AAgBF,eAAO,MAAM,aAAa,qCAaxB,CAAA;AA+CF,eAAO,MAAM,IAAI,qCAoBf,CAAA;AAEF,eAAO,MAAM,aAAa,QA6FxB,CAAA;AAEF,eAAO,MAAM,QAAQ,QAUnB,CAAA;AAEF,eAAO,MAAM,cAAc,QAMzB,CAAA;AAEF,eAAO,MAAM,KAAK,QAWhB,CAAA"}
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
/* empty css */
|
|
2
1
|
/* empty css */
|
|
3
|
-
/* empty css
|
|
4
|
-
/* empty css */
|
|
2
|
+
/* empty css */
|
|
5
3
|
/* empty css */
|
|
6
4
|
/* empty css */
|
|
7
5
|
|
|
8
6
|
//#region src/components/Checkbox/styles.css.ts
|
|
9
7
|
var errorText = "uv_9pjq8o0";
|
|
10
|
-
var checkboxContainer =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
var checkboxContainer = {
|
|
9
|
+
"default": "uv_9pjq8o2 uv_9pjq8o1",
|
|
10
|
+
small: "uv_9pjq8o3 uv_9pjq8o1"
|
|
11
|
+
};
|
|
12
|
+
var checkboxInput = {
|
|
13
|
+
"default": "uv_9pjq8o5 uv_9pjq8o4",
|
|
14
|
+
small: "uv_9pjq8o6 uv_9pjq8o4"
|
|
15
|
+
};
|
|
16
|
+
var icon = {
|
|
17
|
+
"default": "uv_9pjq8o8 uv_9pjq8o7",
|
|
18
|
+
small: "uv_9pjq8o9 uv_9pjq8o7"
|
|
19
|
+
};
|
|
20
|
+
var innerCheckbox = "uv_9pjq8oa";
|
|
21
|
+
var iconPath = "uv_9pjq8ob";
|
|
22
|
+
var checkMixedMark = "uv_9pjq8oc";
|
|
23
|
+
var label = "uv_9pjq8od";
|
|
17
24
|
|
|
18
25
|
//#endregion
|
|
19
26
|
export { checkMixedMark, checkboxContainer, checkboxInput, errorText, icon, iconPath, innerCheckbox, label };
|
|
@@ -3,7 +3,7 @@ import { Checkbox } from '../Checkbox';
|
|
|
3
3
|
type CheckboxGroupCheckboxProps = Omit<ComponentProps<typeof Checkbox>, 'onChange' | 'checked'> & {
|
|
4
4
|
value: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const CheckboxGroupCheckbox: ({ onFocus, onBlur, disabled, error, name, value, children, helper, className, autoFocus, 'data-testid': dataTestId, required, tooltip, style, }: CheckboxGroupCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const CheckboxGroupCheckbox: ({ onFocus, onBlur, disabled, error, name, value, children, helper, className, autoFocus, 'data-testid': dataTestId, required, tooltip, style, size, }: CheckboxGroupCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
type CheckboxGroupProps = {
|
|
8
8
|
legend?: string;
|
|
9
9
|
legendDescription?: ReactNode;
|
|
@@ -18,6 +18,6 @@ type CheckboxGroupProps = {
|
|
|
18
18
|
} & Required<Pick<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'name'>> & Pick<InputHTMLAttributes<HTMLInputElement>, 'required' | 'style'>;
|
|
19
19
|
export declare function CheckboxGroup({ legend, legendDescription, value, className, helper, error, direction, children, onChange, name, description, required, style }: CheckboxGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export declare namespace CheckboxGroup {
|
|
21
|
-
var Checkbox: ({ onFocus, onBlur, disabled, error, name, value, children, helper, className, autoFocus, 'data-testid': dataTestId, required, tooltip, style, }: CheckboxGroupCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
var Checkbox: ({ onFocus, onBlur, disabled, error, name, value, children, helper, className, autoFocus, 'data-testid': dataTestId, required, tooltip, style, size, }: CheckboxGroupCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
}
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CheckboxGroup/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE3E,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAiBtC,KAAK,0BAA0B,GAAG,IAAI,CACpC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAC/B,UAAU,GAAG,SAAS,CACvB,GAAG;IACF,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CheckboxGroup/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAE3E,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAiBtC,KAAK,0BAA0B,GAAG,IAAI,CACpC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAC/B,UAAU,GAAG,SAAS,CACvB,GAAG;IACF,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,qBAAqB,gOAoDjC,CAAA;AAED,KAAK,kBAAkB,GAAG;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,iBAAiB,CAAC,EAAE,SAAS,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC5B,QAAQ,EAAE,SAAS,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,SAAS,CAAA;CACxB,GAAG,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC,GAC5E,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,CAAA;sCAKrC,EAC5B,MAAM,EACN,iBAAiB,EACjB,KAAK,EACL,SAAS,EACT,MAAM,EACN,KAAK,EACL,SAAoB,EACpB,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,QAAgB,EAChB,KAAK,EACN,EAAE,kBAAkB"}
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { Stack } from "../Stack/index.js";
|
|
4
4
|
import { Text } from "../Text/index.js";
|
|
5
|
-
import { Checkbox } from "../Checkbox/index.js";
|
|
6
5
|
import { Label } from "../Label/index.js";
|
|
6
|
+
import { Checkbox } from "../Checkbox/index.js";
|
|
7
7
|
import { checkboxGroup, fieldset } from "./styles.css.js";
|
|
8
|
-
import { cn } from "@ultraviolet/utils";
|
|
9
8
|
import { createContext, useContext, useMemo } from "react";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { cn } from "@ultraviolet/utils";
|
|
11
11
|
|
|
12
12
|
//#region src/components/CheckboxGroup/index.tsx
|
|
13
13
|
const CheckboxGroupContext = createContext(void 0);
|
|
14
|
-
const CheckboxGroupCheckbox = ({ onFocus, onBlur, disabled, error, name, value, children, helper, className, autoFocus, "data-testid": dataTestId, required, tooltip, style }) => {
|
|
14
|
+
const CheckboxGroupCheckbox = ({ onFocus, onBlur, disabled, error, name, value, children, helper, className, autoFocus, "data-testid": dataTestId, required, tooltip, style, size }) => {
|
|
15
15
|
const context = useContext(CheckboxGroupContext);
|
|
16
16
|
if (!context) throw new Error("CheckboxGroup.Checkbox can only be used inside a CheckboxGroup");
|
|
17
17
|
const { groupName, onChange, groupValues, error: errorContext } = context;
|
|
@@ -30,6 +30,7 @@ const CheckboxGroupCheckbox = ({ onFocus, onBlur, disabled, error, name, value,
|
|
|
30
30
|
onChange,
|
|
31
31
|
onFocus,
|
|
32
32
|
required,
|
|
33
|
+
size,
|
|
33
34
|
style,
|
|
34
35
|
tooltip,
|
|
35
36
|
value: checkboxValue,
|
|
@@ -5,9 +5,9 @@ import { Text } from "../Text/index.js";
|
|
|
5
5
|
import { ChipContext } from "./ChipContext.js";
|
|
6
6
|
import { container } from "./styles.css.js";
|
|
7
7
|
import { ChipIcon } from "./ChipIcon.js";
|
|
8
|
-
import { cn } from "@ultraviolet/utils";
|
|
9
8
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
10
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
import { cn } from "@ultraviolet/utils";
|
|
11
11
|
|
|
12
12
|
//#region src/components/Chip/index.tsx
|
|
13
13
|
/**
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { Button } from "../Button/index.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { CheckIcon } from "@ultraviolet/icons/CheckIcon";
|
|
5
6
|
import { CopyContentIcon } from "@ultraviolet/icons/CopyContentIcon";
|
|
6
7
|
import useClipboard from "react-use-clipboard";
|
|
7
|
-
import { CheckIcon } from "@ultraviolet/icons/CheckIcon";
|
|
8
8
|
|
|
9
9
|
//#region src/components/CopyButton/index.tsx
|
|
10
10
|
const COPY_DURATION = 2500;
|
|
@@ -10,8 +10,8 @@ import { Daily } from "./CalendarDaily.js";
|
|
|
10
10
|
import { Monthly } from "./CalendarMonthly.js";
|
|
11
11
|
import { useContext } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import { ArrowLeftIcon } from "@ultraviolet/icons/ArrowLeftIcon";
|
|
14
13
|
import { ArrowRightIcon } from "@ultraviolet/icons/ArrowRightIcon";
|
|
14
|
+
import { ArrowLeftIcon } from "@ultraviolet/icons/ArrowLeftIcon";
|
|
15
15
|
|
|
16
16
|
//#region src/components/DateInput/components/CalendarContent.tsx
|
|
17
17
|
const CalendarContent = () => {
|
|
@@ -5,9 +5,9 @@ import { Row } from "../../Row/index.js";
|
|
|
5
5
|
import { DateInputContext } from "../Context.js";
|
|
6
6
|
import { formatValue, isSameMonth } from "../helpers.js";
|
|
7
7
|
import { capitalizedText, dayMonth } from "./styles.css.js";
|
|
8
|
-
import { cn } from "@ultraviolet/utils";
|
|
9
8
|
import { useContext, useState } from "react";
|
|
10
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
import { cn } from "@ultraviolet/utils";
|
|
11
11
|
|
|
12
12
|
//#region src/components/DateInput/components/CalendarMonthly.tsx
|
|
13
13
|
const Monthly = () => {
|
|
@@ -10,9 +10,9 @@ import { CalendarContent } from "./components/CalendarContent.js";
|
|
|
10
10
|
import { CalendarPopup } from "./components/Popup.js";
|
|
11
11
|
import { getDays, getLocalizedMonths, getMonths } from "./helpersLocale.js";
|
|
12
12
|
import { calendarContentWrapper, dateinputContainer } from "./styles.css.js";
|
|
13
|
-
import { cn } from "@ultraviolet/utils";
|
|
14
13
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
15
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
import { cn } from "@ultraviolet/utils";
|
|
16
16
|
import { CalendarRangeIcon } from "@ultraviolet/icons/CalendarRangeIcon";
|
|
17
17
|
|
|
18
18
|
//#region src/components/DateInput/index.tsx
|
|
@@ -10,9 +10,9 @@ import { DialogCancelButton } from "./components/CancelButton.js";
|
|
|
10
10
|
import { DialogStack } from "./components/Stack.js";
|
|
11
11
|
import { DialogText } from "./components/Text.js";
|
|
12
12
|
import { dialogTitle, dialogXsmall } from "./styles.css.js";
|
|
13
|
-
import { cn } from "@ultraviolet/utils";
|
|
14
13
|
import { useMemo } from "react";
|
|
15
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
import { cn } from "@ultraviolet/utils";
|
|
16
16
|
import { AlertCircleIcon } from "@ultraviolet/icons/AlertCircleIcon";
|
|
17
17
|
import { CheckIcon } from "@ultraviolet/icons/CheckIcon";
|
|
18
18
|
|
|
@@ -6,9 +6,9 @@ import { Separator } from "../Separator/index.js";
|
|
|
6
6
|
import { Modal } from "../Modal/index.js";
|
|
7
7
|
import { contentToPushStyle, drawer, drawerBase, drawerChildrenWrapper, drawerContentWrapper, drawerFooter, drawerHeader, drawerPush } from "./styles.css.js";
|
|
8
8
|
import { DrawerContent } from "./DrawerContent.js";
|
|
9
|
-
import { cn } from "@ultraviolet/utils";
|
|
10
9
|
import { useCallback, useLayoutEffect, useRef } from "react";
|
|
11
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
+
import { cn } from "@ultraviolet/utils";
|
|
12
12
|
|
|
13
13
|
//#region src/components/Drawer/index.tsx
|
|
14
14
|
const BaseDrawer = ({ size = "medium", onClose, open = false, header, footer, disclosure, children, ariaLabel, className, "data-testid": dataTestId, hideOnClickOutside, hideOnEsc, id, isClosable, push, separator = true, noPadding = false, style }) => {
|