@ultraviolet/ui 3.17.0 → 3.18.1
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.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/asyncToGenerator.js +2 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/defineProperty.js +2 -2
- package/dist/_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/extends.js +17 -0
- package/dist/_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectDestructuringEmpty.js +11 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectSpread2.js +2 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectWithoutProperties.js +2 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/objectWithoutPropertiesLoose.js +2 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/toPrimitive.js +2 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/toPropertyKey.js +2 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.130.0/helpers → _@oxc-project_runtime@0.133.0/helpers/esm}/typeof.js +2 -2
- package/dist/components/ActionBar/index.js +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/Alert/index.d.ts.map +1 -1
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Avatar/styles.css.js +0 -2
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Banner/index.d.ts +1 -1
- package/dist/components/Banner/index.d.ts.map +1 -1
- package/dist/components/BarChart/Tooltip.d.ts +1 -1
- package/dist/components/BarChart/Tooltip.d.ts.map +1 -1
- package/dist/components/BarChart/index.d.ts +1 -1
- package/dist/components/BarChart/index.d.ts.map +1 -1
- package/dist/components/BarChart/index.js +1 -1
- package/dist/components/BarStack/index.d.ts +1 -1
- package/dist/components/BarStack/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/components/Item.d.ts +1 -1
- package/dist/components/Breadcrumbs/components/Item.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/components/Item.js +1 -1
- package/dist/components/Bullet/index.d.ts +1 -1
- package/dist/components/Bullet/index.d.ts.map +1 -1
- package/dist/components/Carousel/Item.d.ts +1 -1
- package/dist/components/Carousel/Item.d.ts.map +1 -1
- package/dist/components/Carousel/Item.js +1 -1
- package/dist/components/Carousel/index.d.ts +3 -2
- package/dist/components/Checkbox/CheckboxIconContainer.d.ts +1 -1
- package/dist/components/Checkbox/CheckboxIconContainer.d.ts.map +1 -1
- package/dist/components/Checkbox/styles.css.js +0 -4
- package/dist/components/CheckboxGroup/SingleCheckbox.d.ts +1 -1
- package/dist/components/CheckboxGroup/SingleCheckbox.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/index.d.ts +2 -2
- package/dist/components/Chip/ChipIcon.d.ts +1 -1
- package/dist/components/Chip/ChipIcon.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +3 -2
- package/dist/components/Chip/styles.css.d.ts.map +1 -1
- package/dist/components/CopyButton/index.d.ts +1 -1
- package/dist/components/CopyButton/index.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarContent.d.ts +1 -1
- package/dist/components/DateInput/components/CalendarContent.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarDaily.d.ts +1 -1
- package/dist/components/DateInput/components/CalendarDaily.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.d.ts +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.d.ts.map +1 -1
- package/dist/components/DateInput/components/Popup.d.ts +1 -1
- package/dist/components/DateInput/components/Popup.d.ts.map +1 -1
- package/dist/components/DateInput/index.d.ts +1 -1
- package/dist/components/DateInput/index.d.ts.map +1 -1
- package/dist/components/Description/index.d.ts +1 -1
- package/dist/components/Description/index.d.ts.map +1 -1
- package/dist/components/Dialog/components/Button.d.ts +1 -1
- package/dist/components/Dialog/components/Button.d.ts.map +1 -1
- package/dist/components/Dialog/components/Buttons.d.ts +1 -1
- package/dist/components/Dialog/components/Buttons.d.ts.map +1 -1
- package/dist/components/Dialog/components/CancelButton.d.ts +1 -1
- package/dist/components/Dialog/components/CancelButton.d.ts.map +1 -1
- package/dist/components/Dialog/components/Stack.d.ts +1 -1
- package/dist/components/Dialog/components/Stack.d.ts.map +1 -1
- package/dist/components/Dialog/components/Text.d.ts +1 -1
- package/dist/components/Dialog/components/Text.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +7 -7
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Drawer/DrawerContent.d.ts +1 -1
- package/dist/components/Drawer/DrawerContent.d.ts.map +1 -1
- package/dist/components/Drawer/index.d.ts +3 -3
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/EmptyState/index.d.ts +1 -1
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/Expandable/AnimatedExpandable.d.ts +1 -1
- package/dist/components/Expandable/AnimatedExpandable.d.ts.map +1 -1
- package/dist/components/Expandable/AnimatedExpandable.js +1 -1
- package/dist/components/Expandable/NonAnimatedExpandable.d.ts +1 -1
- package/dist/components/Expandable/NonAnimatedExpandable.d.ts.map +1 -1
- package/dist/components/Expandable/NonAnimatedExpandable.js +1 -1
- package/dist/components/Expandable/index.d.ts +1 -1
- package/dist/components/Expandable/index.d.ts.map +1 -1
- package/dist/components/ExpandableCard/components/Title.d.ts +1 -1
- package/dist/components/ExpandableCard/components/Title.d.ts.map +1 -1
- package/dist/components/ExpandableCard/index.d.ts +1 -1
- package/dist/components/FileInput/DropzoneContent.d.ts +1 -1
- package/dist/components/FileInput/DropzoneContent.d.ts.map +1 -1
- package/dist/components/FileInput/__mock__/mockFile.d.ts +3 -0
- package/dist/components/FileInput/__mock__/mockFile.d.ts.map +1 -0
- package/dist/components/FileInput/components/Button.d.ts +1 -1
- package/dist/components/FileInput/components/Button.d.ts.map +1 -1
- package/dist/components/FileInput/components/Button.js +2 -2
- package/dist/components/FileInput/components/List.d.ts +1 -1
- package/dist/components/FileInput/components/List.d.ts.map +1 -1
- package/dist/components/FileInput/components/List.js +9 -10
- package/dist/components/FileInput/helpers.js +2 -2
- package/dist/components/FileInput/index.d.ts +3 -3
- package/dist/components/FileInput/index.d.ts.map +1 -1
- package/dist/components/FileInput/index.js +16 -15
- package/dist/components/FileInput/types.d.ts +11 -13
- package/dist/components/FileInput/types.d.ts.map +1 -1
- package/dist/components/GlobalAlert/GlobalAlertLink.d.ts +1 -1
- package/dist/components/GlobalAlert/GlobalAlertLink.d.ts.map +1 -1
- package/dist/components/GlobalAlert/index.d.ts +3 -2
- package/dist/components/GlobalAlert/index.js +2 -1
- package/dist/components/GlobalAlert/styles.css.d.ts.map +1 -1
- package/dist/components/InfiniteScroll/index.d.ts +1 -1
- package/dist/components/InfiniteScroll/index.d.ts.map +1 -1
- package/dist/components/InfiniteScroll/index.js +7 -14
- package/dist/components/Key/index.d.ts +1 -1
- package/dist/components/Key/index.d.ts.map +1 -1
- package/dist/components/Label/LabelContent.d.ts +1 -1
- package/dist/components/Label/LabelContent.d.ts.map +1 -1
- package/dist/components/Label/index.d.ts +1 -1
- package/dist/components/Label/index.d.ts.map +1 -1
- package/dist/components/LineChart/CustomLegend.d.ts +1 -1
- package/dist/components/LineChart/CustomLegend.d.ts.map +1 -1
- package/dist/components/LineChart/LegendCell.d.ts +1 -1
- package/dist/components/LineChart/LegendCell.d.ts.map +1 -1
- package/dist/components/LineChart/Tooltip.d.ts +1 -1
- package/dist/components/LineChart/Tooltip.d.ts.map +1 -1
- package/dist/components/LineChart/index.d.ts +1 -1
- package/dist/components/LineChart/index.d.ts.map +1 -1
- package/dist/components/LineChart/index.js +1 -1
- package/dist/components/List/Cell.js +1 -1
- package/dist/components/List/ColumnProvider.d.ts +1 -1
- package/dist/components/List/ColumnProvider.d.ts.map +1 -1
- package/dist/components/List/ExpandButtonCell.d.ts +1 -1
- package/dist/components/List/ExpandButtonCell.d.ts.map +1 -1
- package/dist/components/List/HeaderCell.d.ts +1 -1
- package/dist/components/List/HeaderCell.d.ts.map +1 -1
- package/dist/components/List/HeaderRow.d.ts +1 -1
- package/dist/components/List/HeaderRow.d.ts.map +1 -1
- package/dist/components/List/ListContext.d.ts +1 -1
- package/dist/components/List/ListContext.d.ts.map +1 -1
- package/dist/components/List/ListContext.js +3 -3
- package/dist/components/List/SelectBar.d.ts +1 -1
- package/dist/components/List/SelectBar.d.ts.map +1 -1
- package/dist/components/List/SelectBar.js +1 -1
- package/dist/components/List/SelectRowCell.d.ts +1 -1
- package/dist/components/List/SelectRowCell.d.ts.map +1 -1
- package/dist/components/List/SkeletonRows.d.ts +1 -1
- package/dist/components/List/SkeletonRows.d.ts.map +1 -1
- package/dist/components/List/SortIcon.d.ts +1 -1
- package/dist/components/List/SortIcon.d.ts.map +1 -1
- package/dist/components/List/TableContainer.d.ts +1 -1
- package/dist/components/List/TableContainer.d.ts.map +1 -1
- package/dist/components/Loader/index.d.ts +1 -1
- package/dist/components/Loader/index.d.ts.map +1 -1
- package/dist/components/Loader/index.js +1 -1
- package/dist/components/Menu/MenuProvider.d.ts +1 -1
- package/dist/components/Menu/MenuProvider.d.ts.map +1 -1
- package/dist/components/Menu/components/Group.d.ts +1 -1
- package/dist/components/Menu/components/Group.d.ts.map +1 -1
- package/dist/components/Menu/index.d.ts +1 -1
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Meter/index.d.ts +1 -1
- package/dist/components/Meter/index.d.ts.map +1 -1
- package/dist/components/Modal/ModalContent.d.ts +1 -1
- package/dist/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/components/Modal/ModalContent.js +2 -2
- package/dist/components/Modal/ModalProvider.d.ts +1 -1
- package/dist/components/Modal/ModalProvider.d.ts.map +1 -1
- package/dist/components/Modal/components/Dialog.js +1 -1
- package/dist/components/Modal/index.d.ts +9 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js +5 -26
- package/dist/components/Modal/styles.css.d.ts.map +1 -1
- package/dist/components/Notice/index.d.ts +1 -1
- package/dist/components/Notice/index.d.ts.map +1 -1
- package/dist/components/Notification/Notification.js +2 -2
- package/dist/components/Notification/NotificationContainer.d.ts +1 -1
- package/dist/components/Notification/NotificationContainer.d.ts.map +1 -1
- package/dist/components/Notification/NotificationContainer.js +1 -1
- package/dist/components/Notification/index.js +2 -2
- package/dist/components/NumberInput/components/Controls.d.ts +1 -1
- package/dist/components/NumberInput/components/Controls.d.ts.map +1 -1
- package/dist/components/NumberInput/components/Unit.d.ts +1 -1
- package/dist/components/NumberInput/components/Unit.d.ts.map +1 -1
- package/dist/components/NumberInput/index.d.ts.map +1 -1
- package/dist/components/NumberInput/index.js +0 -1
- package/dist/components/Pagination/PaginationButton.d.ts +1 -1
- package/dist/components/Pagination/PaginationButton.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationButtons.d.ts +1 -1
- package/dist/components/Pagination/PaginationButtons.d.ts.map +1 -1
- package/dist/components/Pagination/PerPage.d.ts +1 -1
- package/dist/components/Pagination/PerPage.d.ts.map +1 -1
- package/dist/components/Pagination/index.d.ts +1 -1
- package/dist/components/Pagination/index.d.ts.map +1 -1
- package/dist/components/PasswordCheck/index.d.ts +1 -1
- package/dist/components/PasswordCheck/index.d.ts.map +1 -1
- package/dist/components/PhoneInput/index.d.ts +35 -1
- package/dist/components/PhoneInput/index.d.ts.map +1 -1
- package/dist/components/PhoneInput/index.js +146 -4
- package/dist/components/PieChart/Legends.d.ts +1 -1
- package/dist/components/PieChart/Legends.d.ts.map +1 -1
- package/dist/components/PieChart/Tooltip.d.ts +1 -1
- package/dist/components/PieChart/Tooltip.d.ts.map +1 -1
- package/dist/components/PieChart/index.d.ts +1 -1
- package/dist/components/PieChart/index.d.ts.map +1 -1
- package/dist/components/PieChart/index.js +1 -1
- package/dist/components/Popover/ContentWrapper.d.ts +1 -1
- package/dist/components/Popover/ContentWrapper.d.ts.map +1 -1
- package/dist/components/Popup/helpers.d.ts.map +1 -1
- package/dist/components/Popup/helpers.js +2 -2
- package/dist/components/Popup/index.js +1 -1
- package/dist/components/Popup/styles.css.js +0 -4
- package/dist/components/ProgressBar/index.d.ts +1 -1
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/styles.css.js +0 -2
- package/dist/components/Radio/MarkedIcon.d.ts +3 -1
- package/dist/components/Radio/MarkedIcon.d.ts.map +1 -1
- package/dist/components/Radio/MarkedIcon.js +11 -4
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +5 -5
- package/dist/components/Radio/styles.css.d.ts +3 -2
- package/dist/components/Radio/styles.css.d.ts.map +1 -1
- package/dist/components/Radio/styles.css.js +15 -8
- package/dist/components/RadioGroup/Context.d.ts +1 -0
- package/dist/components/RadioGroup/Context.d.ts.map +1 -1
- package/dist/components/RadioGroup/SingleRadio.d.ts +1 -1
- package/dist/components/RadioGroup/SingleRadio.d.ts.map +1 -1
- package/dist/components/RadioGroup/SingleRadio.js +2 -1
- package/dist/components/RadioGroup/index.d.ts +2 -1
- package/dist/components/RadioGroup/index.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.js +6 -3
- package/dist/components/Row/index.d.ts +1 -1
- package/dist/components/Row/index.d.ts.map +1 -1
- package/dist/components/Row/index.js +1 -1
- package/dist/components/SearchInput/KeyGroup.d.ts +1 -1
- package/dist/components/SearchInput/KeyGroup.d.ts.map +1 -1
- package/dist/components/SearchInput/index.d.ts.map +1 -1
- package/dist/components/SearchInput/index.js +4 -2
- package/dist/components/SelectInput/SelectInputProvider.d.ts +1 -1
- package/dist/components/SelectInput/SelectInputProvider.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Content.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/Content.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Dropdown.d.ts +2 -1
- package/dist/components/SelectInput/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Dropdown.js +3 -3
- package/dist/components/SelectInput/components/Dropdown/Group.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/Group.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Item.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/Item.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Option.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/Option.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Option.js +3 -1
- package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/SearchBar.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.d.ts +1 -0
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SelectBar/SelectBar.d.ts +1 -1
- package/dist/components/SelectInput/components/SelectBar/SelectBar.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SelectBar/Values.d.ts +1 -1
- package/dist/components/SelectInput/components/SelectBar/Values.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SelectBar/selectBar.css.d.ts.map +1 -1
- package/dist/components/SelectInput/index.d.ts +1 -1
- package/dist/components/SelectInput/index.d.ts.map +1 -1
- package/dist/components/SelectInput/index.js +1 -1
- package/dist/components/SelectInput/styles.css.d.ts +1 -0
- package/dist/components/SelectInput/styles.css.d.ts.map +1 -1
- package/dist/components/SelectInput/styles.css.js +2 -1
- package/dist/components/SelectableCard/IllustrationContainer.d.ts +1 -1
- package/dist/components/SelectableCard/IllustrationContainer.d.ts.map +1 -1
- package/dist/components/SelectableCard/MultiStateInput.d.ts +1 -1
- package/dist/components/SelectableCard/MultiStateInput.d.ts.map +1 -1
- package/dist/components/SelectableCard/MultiStateInput.js +1 -1
- package/dist/components/SelectableCard/SelectableCard.js +1 -1
- package/dist/components/SelectableCardGroup/SingleCard.d.ts +1 -1
- package/dist/components/SelectableCardGroup/SingleCard.d.ts.map +1 -1
- package/dist/components/SelectableCardGroup/SingleCard.js +3 -3
- package/dist/components/SelectableCardGroup/index.d.ts +1 -1
- package/dist/components/SelectableCardGroup/index.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.d.ts +1 -1
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.js +2 -3
- package/dist/components/SelectableCardOptionGroup/components/Image.d.ts +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Image.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.d.ts +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +4 -4
- package/dist/components/SelectableCardOptionGroup/index.js +1 -1
- package/dist/components/Separator/index.d.ts +1 -1
- package/dist/components/Separator/index.d.ts.map +1 -1
- package/dist/components/Skeleton/Block.d.ts +1 -1
- package/dist/components/Skeleton/Block.d.ts.map +1 -1
- package/dist/components/Skeleton/Blocks.d.ts +1 -1
- package/dist/components/Skeleton/Blocks.d.ts.map +1 -1
- package/dist/components/Skeleton/BoxWithIcon.d.ts +1 -1
- package/dist/components/Skeleton/BoxWithIcon.d.ts.map +1 -1
- package/dist/components/Skeleton/Donut.d.ts +1 -1
- package/dist/components/Skeleton/Donut.d.ts.map +1 -1
- package/dist/components/Skeleton/IconSkeleton.d.ts +1 -1
- package/dist/components/Skeleton/IconSkeleton.d.ts.map +1 -1
- package/dist/components/Skeleton/Line.d.ts +1 -1
- package/dist/components/Skeleton/Line.d.ts.map +1 -1
- package/dist/components/Skeleton/List.d.ts +1 -1
- package/dist/components/Skeleton/List.d.ts.map +1 -1
- package/dist/components/Skeleton/Slider.d.ts +1 -1
- package/dist/components/Skeleton/Slider.d.ts.map +1 -1
- package/dist/components/Skeleton/Square.d.ts +1 -1
- package/dist/components/Skeleton/Square.d.ts.map +1 -1
- package/dist/components/Skeleton/index.d.ts +9 -9
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Slider/components/DoubleSlider.d.ts +1 -1
- package/dist/components/Slider/components/DoubleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/Options.d.ts +1 -1
- package/dist/components/Slider/components/Options.d.ts.map +1 -1
- package/dist/components/Slider/components/SingleSlider.d.ts +1 -1
- package/dist/components/Slider/components/SingleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/SingleSlider.js +1 -1
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Snippet/CodeContent.d.ts +1 -1
- package/dist/components/Snippet/CodeContent.d.ts.map +1 -1
- package/dist/components/Snippet/index.d.ts +1 -1
- package/dist/components/Snippet/index.d.ts.map +1 -1
- package/dist/components/Stack/index.js +2 -2
- package/dist/components/Status/index.d.ts +1 -1
- package/dist/components/Status/index.d.ts.map +1 -1
- package/dist/components/StepList/Item.d.ts +1 -1
- package/dist/components/StepList/Item.d.ts.map +1 -1
- package/dist/components/StepList/index.d.ts +3 -2
- package/dist/components/Stepper/Bullet.d.ts +1 -1
- package/dist/components/Stepper/Bullet.d.ts.map +1 -1
- package/dist/components/Stepper/Step.d.ts +1 -1
- package/dist/components/Stepper/Step.d.ts.map +1 -1
- package/dist/components/Stepper/StepperProvider.d.ts +1 -1
- package/dist/components/Stepper/StepperProvider.d.ts.map +1 -1
- package/dist/components/Stepper/index.d.ts +3 -2
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/SwitchButton/FocusOverlay.d.ts +1 -1
- package/dist/components/SwitchButton/FocusOverlay.d.ts.map +1 -1
- package/dist/components/SwitchButton/Option.d.ts +1 -1
- package/dist/components/SwitchButton/Option.d.ts.map +1 -1
- package/dist/components/SwitchButton/Option.js +3 -3
- package/dist/components/SwitchButton/index.d.ts +3 -2
- package/dist/components/Table/Body.d.ts +1 -1
- package/dist/components/Table/Body.d.ts.map +1 -1
- package/dist/components/Table/Cell.d.ts +1 -1
- package/dist/components/Table/Cell.d.ts.map +1 -1
- package/dist/components/Table/Cell.js +1 -1
- package/dist/components/Table/Header.d.ts +1 -1
- package/dist/components/Table/Header.d.ts.map +1 -1
- package/dist/components/Table/HeaderCell.d.ts +1 -1
- package/dist/components/Table/HeaderCell.d.ts.map +1 -1
- package/dist/components/Table/HeaderRow.d.ts +1 -1
- package/dist/components/Table/HeaderRow.d.ts.map +1 -1
- package/dist/components/Table/Row.d.ts +1 -1
- package/dist/components/Table/Row.d.ts.map +1 -1
- package/dist/components/Table/SelectBar.d.ts +1 -1
- package/dist/components/Table/SelectBar.d.ts.map +1 -1
- package/dist/components/Table/SkeletonRows.d.ts +1 -1
- package/dist/components/Table/SkeletonRows.d.ts.map +1 -1
- package/dist/components/Table/SortIcon.d.ts +1 -1
- package/dist/components/Table/SortIcon.d.ts.map +1 -1
- package/dist/components/Table/TableContainer.d.ts +1 -1
- package/dist/components/Table/TableContainer.d.ts.map +1 -1
- package/dist/components/Table/TableContext.d.ts +1 -1
- package/dist/components/Table/TableContext.d.ts.map +1 -1
- package/dist/components/Table/TableContext.js +2 -2
- package/dist/components/Table/index.d.ts +4 -4
- package/dist/components/Table/styles.css.js +0 -2
- package/dist/components/Tabs/Tab.js +2 -2
- package/dist/components/Tabs/TabMenu.js +2 -2
- package/dist/components/Tabs/TabMenuItem.d.ts +1 -1
- package/dist/components/Tabs/TabMenuItem.d.ts.map +1 -1
- package/dist/components/Tabs/TabMenuItem.js +2 -2
- package/dist/components/Tabs/index.d.ts +3 -6
- package/dist/components/Tabs/index.js +2 -2
- package/dist/components/Tabs/styles.css.d.ts.map +1 -1
- package/dist/components/Tag/TagInner.d.ts +1 -1
- package/dist/components/Tag/TagInner.d.ts.map +1 -1
- package/dist/components/Tag/index.d.ts +1 -1
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/TagInput/index.d.ts +1 -1
- package/dist/components/TagInput/index.d.ts.map +1 -1
- package/dist/components/TagInput/index.js +2 -3
- package/dist/components/TagList/index.d.ts +1 -1
- package/dist/components/TagList/index.d.ts.map +1 -1
- package/dist/components/TagList/index.js +1 -1
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/Text/index.d.ts.map +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/TextArea/Icon.d.ts +1 -1
- package/dist/components/TextArea/Icon.d.ts.map +1 -1
- package/dist/components/TextArea/Icon.js +1 -3
- package/dist/components/TextArea/Notice.d.ts +1 -1
- package/dist/components/TextArea/Notice.d.ts.map +1 -1
- package/dist/components/TextArea/constant.d.ts +1 -1
- package/dist/components/TextArea/constant.d.ts.map +1 -1
- package/dist/components/TextArea/constant.js +2 -5
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +11 -5
- package/dist/components/TextInput/PrefixSuffix.d.ts +1 -1
- package/dist/components/TextInput/PrefixSuffix.d.ts.map +1 -1
- package/dist/components/TextInput/RightIcon.d.ts +1 -1
- package/dist/components/TextInput/RightIcon.d.ts.map +1 -1
- package/dist/components/TextInput/ShowHidePassword.d.ts +1 -1
- package/dist/components/TextInput/ShowHidePassword.d.ts.map +1 -1
- package/dist/components/TextInput/index.d.ts.map +1 -1
- package/dist/components/TextInput/index.js +2 -11
- package/dist/components/TextInput/styles.css.d.ts.map +1 -1
- package/dist/components/TimeInput/RightIcon.d.ts +1 -1
- package/dist/components/TimeInput/RightIcon.d.ts.map +1 -1
- package/dist/components/TimeInput/index.d.ts +1 -1
- package/dist/components/TimeInput/index.d.ts.map +1 -1
- package/dist/components/TimeInput/index.js +1 -2
- package/dist/components/Toaster/Toaster.js +2 -2
- package/dist/components/Toaster/ToasterContainer.d.ts +1 -1
- package/dist/components/Toaster/ToasterContainer.d.ts.map +1 -1
- package/dist/components/Toaster/ToasterContainer.js +1 -1
- package/dist/components/Toaster/components/Button.d.ts +1 -1
- package/dist/components/Toaster/components/Button.d.ts.map +1 -1
- package/dist/components/Toaster/components/Button.js +34 -0
- package/dist/components/Toaster/components/CloseButton.d.ts +1 -1
- package/dist/components/Toaster/components/CloseButton.d.ts.map +1 -1
- package/dist/components/Toaster/components/Content.d.ts +1 -1
- package/dist/components/Toaster/components/Content.d.ts.map +1 -1
- package/dist/components/Toaster/components/Link.d.ts +1 -1
- package/dist/components/Toaster/components/Link.d.ts.map +1 -1
- package/dist/components/Toaster/components/Link.js +26 -0
- package/dist/components/Toaster/index.d.ts +2 -2
- package/dist/components/Toaster/index.js +14 -4
- package/dist/components/Toggle/index.d.ts.map +1 -1
- package/dist/components/Toggle/index.js +1 -2
- package/dist/components/ToggleGroup/SingleToggle.d.ts +1 -1
- package/dist/components/ToggleGroup/SingleToggle.d.ts.map +1 -1
- package/dist/components/ToggleGroup/index.d.ts +1 -1
- package/dist/components/ToggleGroup/index.d.ts.map +1 -1
- package/dist/components/TreeMapChart/Tooltip.d.ts +1 -1
- package/dist/components/TreeMapChart/Tooltip.d.ts.map +1 -1
- package/dist/components/TreeMapChart/index.d.ts +1 -1
- package/dist/components/TreeMapChart/index.d.ts.map +1 -1
- package/dist/components/TreeMapChart/index.js +1 -1
- package/dist/components/UnitInput/index.d.ts +1 -1
- package/dist/components/UnitInput/index.d.ts.map +1 -1
- package/dist/components/UnitInput/index.js +0 -1
- package/dist/components/VerificationCode/index.d.ts +1 -1
- package/dist/components/VerificationCode/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +20 -21
- package/dist/components/styles.js +63 -63
- package/dist/composition.js +114 -112
- package/dist/compositions/CodeEditor/components/CopyButton.d.ts +1 -1
- package/dist/compositions/CodeEditor/components/CopyButton.d.ts.map +1 -1
- package/dist/compositions/CodeEditor/components/Expandable.d.ts +1 -1
- package/dist/compositions/CodeEditor/components/Expandable.d.ts.map +1 -1
- package/dist/compositions/CodeEditor/index.d.ts +1 -1
- package/dist/compositions/CodeEditor/index.d.ts.map +1 -1
- package/dist/compositions/CodeEditor/styles.css.d.ts.map +1 -1
- package/dist/compositions/ContentCard/Content.d.ts +1 -1
- package/dist/compositions/ContentCard/Content.d.ts.map +1 -1
- package/dist/compositions/ContentCard/ImageContent.d.ts +1 -1
- package/dist/compositions/ContentCard/ImageContent.d.ts.map +1 -1
- package/dist/compositions/ContentCard/LinkContent.d.ts +1 -1
- package/dist/compositions/ContentCard/LinkContent.d.ts.map +1 -1
- package/dist/compositions/ContentCard/Skeleton.d.ts +1 -1
- package/dist/compositions/ContentCard/Skeleton.d.ts.map +1 -1
- package/dist/compositions/ContentCardGroup/SkeletonCard.d.ts +1 -1
- package/dist/compositions/ContentCardGroup/SkeletonCard.d.ts.map +1 -1
- package/dist/compositions/Conversation/components/Date.d.ts +1 -1
- package/dist/compositions/Conversation/components/Date.d.ts.map +1 -1
- package/dist/compositions/Conversation/components/Message.d.ts +1 -1
- package/dist/compositions/Conversation/components/Message.d.ts.map +1 -1
- package/dist/compositions/Conversation/components/MessageInfos.d.ts +1 -1
- package/dist/compositions/Conversation/components/MessageInfos.d.ts.map +1 -1
- package/dist/compositions/Conversation/components/MessageTag.d.ts +1 -1
- package/dist/compositions/Conversation/components/MessageTag.d.ts.map +1 -1
- package/dist/compositions/Conversation/index.d.ts +5 -11
- package/dist/compositions/Conversation/index.d.ts.map +1 -1
- package/dist/compositions/CustomerSatisfaction/index.d.ts +1 -1
- package/dist/compositions/CustomerSatisfaction/index.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/CompactEstimateCost.d.ts +1 -1
- package/dist/compositions/EstimateCost/CompactEstimateCost.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Children.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Children.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/CustomUnitInput.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/CustomUnitInput.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Description.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Description.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Item.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Item.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Item.js +1 -1
- package/dist/compositions/EstimateCost/Components/ItemLeftSide.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/ItemLeftSide.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/ItemPrice.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/ItemPrice.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/LineThrough.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/LineThrough.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/LineThrough.js +2 -2
- package/dist/compositions/EstimateCost/Components/NumberInput.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/NumberInput.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Region.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Region.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Regular.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Regular.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Strong.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Strong.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Title.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Title.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Total.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Total.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Unit.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Unit.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Unit.js +1 -1
- package/dist/compositions/EstimateCost/Components/Zone.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Zone.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Ellipsis.d.ts +1 -1
- package/dist/compositions/EstimateCost/Ellipsis.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/EstimateCostContent.d.ts +1 -1
- package/dist/compositions/EstimateCost/EstimateCostContent.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/EstimateCostProvider.d.ts +1 -1
- package/dist/compositions/EstimateCost/EstimateCostProvider.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/EstimateCostProvider.js +1 -1
- package/dist/compositions/EstimateCost/Image.d.ts +1 -1
- package/dist/compositions/EstimateCost/Image.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Image.js +1 -1
- package/dist/compositions/EstimateCost/OverlayComponent.d.ts +1 -1
- package/dist/compositions/EstimateCost/OverlayComponent.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/OverlayContext.d.ts +1 -1
- package/dist/compositions/EstimateCost/OverlayContext.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/index.d.ts +11 -29
- package/dist/compositions/EstimateCost/index.d.ts.map +1 -1
- package/dist/compositions/FAQ/index.d.ts +1 -1
- package/dist/compositions/FAQ/index.d.ts.map +1 -1
- package/dist/compositions/InfoTable/Context.d.ts +1 -0
- package/dist/compositions/InfoTable/Context.d.ts.map +1 -1
- package/dist/compositions/InfoTable/Context.js +1 -1
- package/dist/compositions/InfoTable/components/Cell.d.ts +1 -1
- package/dist/compositions/InfoTable/components/Cell.d.ts.map +1 -1
- package/dist/compositions/InfoTable/components/Cell.js +28 -23
- package/dist/compositions/InfoTable/components/CellWithCopyButton.d.ts +1 -1
- package/dist/compositions/InfoTable/components/CellWithCopyButton.d.ts.map +1 -1
- package/dist/compositions/InfoTable/components/Row.d.ts +1 -1
- package/dist/compositions/InfoTable/components/Row.d.ts.map +1 -1
- package/dist/compositions/InfoTable/components/Row.js +5 -4
- package/dist/compositions/InfoTable/index.d.ts +6 -4
- package/dist/compositions/InfoTable/index.d.ts.map +1 -1
- package/dist/compositions/InfoTable/index.js +26 -4
- package/dist/compositions/InfoTable/styles.css.d.ts +11 -2
- package/dist/compositions/InfoTable/styles.css.d.ts.map +1 -1
- package/dist/compositions/InfoTable/styles.css.js +197 -7
- package/dist/compositions/Navigation/Footer.d.ts +1 -1
- package/dist/compositions/Navigation/Footer.d.ts.map +1 -1
- package/dist/compositions/Navigation/Header.d.ts +1 -1
- package/dist/compositions/Navigation/Header.d.ts.map +1 -1
- package/dist/compositions/Navigation/NavigationContent.d.ts +1 -1
- package/dist/compositions/Navigation/NavigationContent.d.ts.map +1 -1
- package/dist/compositions/Navigation/NavigationProvider.d.ts +1 -1
- package/dist/compositions/Navigation/NavigationProvider.d.ts.map +1 -1
- package/dist/compositions/Navigation/NavigationProvider.js +1 -1
- package/dist/compositions/Navigation/components/Group.d.ts +1 -1
- package/dist/compositions/Navigation/components/Group.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/Badge.d.ts +1 -1
- package/dist/compositions/Navigation/components/Item/Badge.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/Children.d.ts +1 -1
- package/dist/compositions/Navigation/components/Item/Children.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/Content.d.ts +1 -1
- package/dist/compositions/Navigation/components/Item/Content.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/Item.d.ts +1 -1
- package/dist/compositions/Navigation/components/Item/Item.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/ItemExpanded.d.ts +1 -1
- package/dist/compositions/Navigation/components/Item/ItemExpanded.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/ItemProvider.d.ts +1 -1
- package/dist/compositions/Navigation/components/Item/ItemProvider.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/PinnedButton.d.ts +1 -1
- package/dist/compositions/Navigation/components/Item/PinnedButton.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Menu/Menu.d.ts +1 -1
- package/dist/compositions/Navigation/components/Menu/Menu.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Menu/MenuItem.d.ts +1 -1
- package/dist/compositions/Navigation/components/Menu/MenuItem.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Menu/NestedMenu.d.ts +1 -1
- package/dist/compositions/Navigation/components/Menu/NestedMenu.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/PinnedItems.d.ts +1 -1
- package/dist/compositions/Navigation/components/PinnedItems.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Separator.d.ts +1 -1
- package/dist/compositions/Navigation/components/Separator.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/ShowHide.d.ts +1 -1
- package/dist/compositions/Navigation/components/ShowHide.d.ts.map +1 -1
- package/dist/compositions/Navigation/index.d.ts +6 -14
- package/dist/compositions/Navigation/index.d.ts.map +1 -1
- package/dist/compositions/Navigation/styles.css.js +0 -4
- package/dist/compositions/Navigation/variables.css.js +2 -0
- package/dist/compositions/OfferList/OfferListProvider.d.ts +1 -1
- package/dist/compositions/OfferList/OfferListProvider.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/Banner.d.ts +1 -1
- package/dist/compositions/OfferList/components/Banner.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/Cell.d.ts +1 -1
- package/dist/compositions/OfferList/components/Cell.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/Row.d.ts +1 -1
- package/dist/compositions/OfferList/components/Row.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/Row.js +1 -1
- package/dist/compositions/OfferList/components/SelectableCell.d.ts +1 -1
- package/dist/compositions/OfferList/components/SelectableCell.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/SelectableCell.js +1 -1
- package/dist/compositions/OfferList/index.d.ts +6 -7
- package/dist/compositions/OptionSelector/__mock__/resources.d.ts +15 -15
- package/dist/compositions/OptionSelector/components/ArrowIcon.d.ts +1 -1
- package/dist/compositions/OptionSelector/components/ArrowIcon.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/components/IconWithContent.d.ts +1 -1
- package/dist/compositions/OptionSelector/components/IconWithContent.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/components/RevealOnHover.d.ts +1 -1
- package/dist/compositions/OptionSelector/components/RevealOnHover.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/components/Selector.d.ts +1 -1
- package/dist/compositions/OptionSelector/components/Selector.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/index.d.ts +1 -1
- package/dist/compositions/OptionSelector/index.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/index.js +0 -2
- package/dist/compositions/OptionSelector/styles.css.js +51 -51
- package/dist/compositions/OrderSummary/NonScrollableContent.d.ts +1 -1
- package/dist/compositions/OrderSummary/NonScrollableContent.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/ScrollableContent.d.ts +1 -1
- package/dist/compositions/OrderSummary/ScrollableContent.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/components/Category.d.ts +1 -1
- package/dist/compositions/OrderSummary/components/Category.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/components/SubCategory.d.ts +1 -1
- package/dist/compositions/OrderSummary/components/SubCategory.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/components/SubCategory.js +77 -80
- package/dist/compositions/OrderSummary/components/SubCategoryPrice.d.ts +1 -1
- package/dist/compositions/OrderSummary/components/SubCategoryPrice.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/helpers.js +1 -1
- package/dist/compositions/OrderSummary/index.d.ts +1 -1
- package/dist/compositions/OrderSummary/index.d.ts.map +1 -1
- package/dist/compositions/Plans/FeatureHint.d.ts +1 -1
- package/dist/compositions/Plans/FeatureHint.d.ts.map +1 -1
- package/dist/compositions/Plans/PlanHeader.d.ts +1 -1
- package/dist/compositions/Plans/PlanHeader.d.ts.map +1 -1
- package/dist/compositions/Plans/index.d.ts +1 -1
- package/dist/compositions/Plans/index.d.ts.map +1 -1
- package/dist/compositions/RichTextInput/Toolbar.d.ts +9 -0
- package/dist/compositions/RichTextInput/Toolbar.d.ts.map +1 -0
- package/dist/compositions/RichTextInput/Toolbar.js +142 -0
- package/dist/compositions/RichTextInput/editorCore.d.ts +11 -0
- package/dist/compositions/RichTextInput/editorCore.d.ts.map +1 -0
- package/dist/compositions/RichTextInput/editorCore.js +64 -0
- package/dist/compositions/RichTextInput/helpers.d.ts +6 -0
- package/dist/compositions/RichTextInput/helpers.d.ts.map +1 -0
- package/dist/compositions/RichTextInput/helpers.js +21 -0
- package/dist/compositions/RichTextInput/index.d.ts +28 -0
- package/dist/compositions/RichTextInput/index.d.ts.map +1 -0
- package/dist/compositions/RichTextInput/index.js +135 -0
- package/dist/compositions/RichTextInput/styles.css.d.ts +71 -0
- package/dist/compositions/RichTextInput/styles.css.d.ts.map +1 -0
- package/dist/compositions/RichTextInput/styles.css.js +67 -0
- package/dist/compositions/RichTextInput/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/SteppedListCard/Step.d.ts +1 -1
- package/dist/compositions/SteppedListCard/Step.d.ts.map +1 -1
- package/dist/compositions/SteppedListCard/SteppedListContent.d.ts +1 -1
- package/dist/compositions/SteppedListCard/SteppedListContent.d.ts.map +1 -1
- package/dist/compositions/SteppedListCard/index.d.ts +2 -2
- package/dist/compositions/SteppedListCard/styles.css.js +2 -0
- package/dist/compositions/index.d.ts +1 -0
- package/dist/compositions/index.d.ts.map +1 -1
- package/dist/compositions/index.js +4 -2
- package/dist/index.js +161 -160
- package/dist/theme/ThemeProvider.d.ts +1 -1
- package/dist/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/ui.css +1 -1
- package/dist/utils/animations/animations2.js +1 -1
- package/dist/utils/index.js +3 -3
- package/dist/utils/normalize.js +1 -1
- package/dist/utils/responsive/utilities.js +1 -1
- package/package.json +19 -11
- package/dist/components/PhoneInput/PhoneInput.d.ts +0 -36
- package/dist/components/PhoneInput/PhoneInput.d.ts.map +0 -1
- package/dist/components/PhoneInput/PhoneInput.js +0 -152
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/components/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAGrC,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC,CAAA;AAErF,eAAO,MAAM,YAAY,oDAAqD,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/components/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAGrC,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC,CAAA;AAErF,eAAO,MAAM,YAAY,oDAAqD,iBAAiB,gCAQ9F,CAAA"}
|
|
@@ -3,6 +3,6 @@ type DialogButtonsProps = {
|
|
|
3
3
|
secondaryButton: ReactNode;
|
|
4
4
|
primaryButton: ReactNode;
|
|
5
5
|
};
|
|
6
|
-
export declare const DialogButtons: ({ secondaryButton, primaryButton }: DialogButtonsProps) => import("react
|
|
6
|
+
export declare const DialogButtons: ({ secondaryButton, primaryButton }: DialogButtonsProps) => import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=Buttons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Buttons.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/components/Buttons.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,KAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,SAAS,CAAA;IAC1B,aAAa,EAAE,SAAS,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,aAAa,uCAAwC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"Buttons.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/components/Buttons.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,KAAK,kBAAkB,GAAG;IACxB,eAAe,EAAE,SAAS,CAAA;IAC1B,aAAa,EAAE,SAAS,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,aAAa,uCAAwC,kBAAkB,gCAKnF,CAAA"}
|
|
@@ -6,6 +6,6 @@ type DialogCancelButtonProps = {
|
|
|
6
6
|
disabled?: ComponentProps<typeof Button>['disabled'];
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
};
|
|
9
|
-
export declare const DialogCancelButton: ({ children, onClick, disabled, style }: DialogCancelButtonProps) => import("react
|
|
9
|
+
export declare const DialogCancelButton: ({ children, onClick, disabled, style }: DialogCancelButtonProps) => import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=CancelButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CancelButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/components/CancelButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,SAAS,CAAA;IACnB,OAAO,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;IACjD,QAAQ,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,UAAU,CAAC,CAAA;IACpD,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,kBAAkB,2CAA4C,uBAAuB,
|
|
1
|
+
{"version":3,"file":"CancelButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/components/CancelButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,SAAS,CAAA;IACnB,OAAO,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAA;IACjD,QAAQ,CAAC,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,UAAU,CAAC,CAAA;IACpD,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,kBAAkB,2CAA4C,uBAAuB,gCAIjG,CAAA"}
|
|
@@ -3,6 +3,6 @@ type DialogStackProps = {
|
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
style?: CSSProperties;
|
|
5
5
|
};
|
|
6
|
-
export declare const DialogStack: ({ children, style }: DialogStackProps) => import("react
|
|
6
|
+
export declare const DialogStack: ({ children, style }: DialogStackProps) => import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/components/Stack.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGrD,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,wBAAyB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/components/Stack.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGrD,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,wBAAyB,gBAAgB,gCAIhE,CAAA"}
|
|
@@ -3,6 +3,6 @@ type DialogTextProps = {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
style?: CSSProperties;
|
|
5
5
|
};
|
|
6
|
-
export declare const DialogText: ({ children, style }: DialogTextProps) => import("react
|
|
6
|
+
export declare const DialogText: ({ children, style }: DialogTextProps) => import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/components/Text.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAG1C,KAAK,eAAe,GAAG;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,UAAU,wBAAyB,eAAe,
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/components/Text.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAG1C,KAAK,eAAe,GAAG;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,UAAU,wBAAyB,eAAe,gCAI9D,CAAA"}
|
|
@@ -6,11 +6,11 @@ type DialogProps = Pick<ComponentProps<typeof Modal>, 'ariaLabel' | 'children' |
|
|
|
6
6
|
title: string;
|
|
7
7
|
sentiment: DialogSentiment;
|
|
8
8
|
};
|
|
9
|
-
export declare const BaseDialog: ({ ariaLabel, className, children, 'data-testid': dataTestId, disclosure, hideOnClickOutside, hideOnEsc, id, isClosable, onBeforeClose, onClose, open, placement, sentiment, title, style, }: DialogProps) => import("react
|
|
9
|
+
export declare const BaseDialog: ({ ariaLabel, className, children, 'data-testid': dataTestId, disclosure, hideOnClickOutside, hideOnEsc, id, isClosable, onBeforeClose, onClose, open, placement, sentiment, title, style, }: DialogProps) => import("react").JSX.Element;
|
|
10
10
|
/**
|
|
11
11
|
* The Dialog component is used to show content on top of an overlay that requires user interaction.
|
|
12
12
|
*/
|
|
13
|
-
export declare const Dialog: (({ ariaLabel, className, children, 'data-testid': dataTestId, disclosure, hideOnClickOutside, hideOnEsc, id, isClosable, onBeforeClose, onClose, open, placement, sentiment, title, style, }: DialogProps) => import("react
|
|
13
|
+
export declare const Dialog: (({ ariaLabel, className, children, 'data-testid': dataTestId, disclosure, hideOnClickOutside, hideOnEsc, id, isClosable, onBeforeClose, onClose, open, placement, sentiment, title, style, }: DialogProps) => import("react").JSX.Element) & {
|
|
14
14
|
Button: ({ children, onClick, disabled, tooltip, style }: {
|
|
15
15
|
children: import("react").ReactNode;
|
|
16
16
|
} & Pick<({
|
|
@@ -70,25 +70,25 @@ export declare const Dialog: (({ ariaLabel, className, children, 'data-testid':
|
|
|
70
70
|
href?: string;
|
|
71
71
|
target?: string;
|
|
72
72
|
download?: string;
|
|
73
|
-
})))) & import("react").RefAttributes<Element>, "disabled" | "onClick" | "style" | "tooltip">) => import("react
|
|
73
|
+
})))) & import("react").RefAttributes<Element>, "disabled" | "onClick" | "style" | "tooltip">) => import("react").JSX.Element;
|
|
74
74
|
Buttons: ({ secondaryButton, primaryButton }: {
|
|
75
75
|
secondaryButton: import("react").ReactNode;
|
|
76
76
|
primaryButton: import("react").ReactNode;
|
|
77
|
-
}) => import("react
|
|
77
|
+
}) => import("react").JSX.Element;
|
|
78
78
|
CancelButton: ({ children, onClick, disabled, style }: {
|
|
79
79
|
children: import("react").ReactNode;
|
|
80
80
|
onClick: ComponentProps<typeof import("..").Button>['onClick'];
|
|
81
81
|
disabled?: ComponentProps<typeof import("..").Button>['disabled'];
|
|
82
82
|
style?: import("react").CSSProperties;
|
|
83
|
-
}) => import("react
|
|
83
|
+
}) => import("react").JSX.Element;
|
|
84
84
|
Stack: ({ children, style }: {
|
|
85
85
|
children: import("react").ReactNode;
|
|
86
86
|
style?: import("react").CSSProperties;
|
|
87
|
-
}) => import("react
|
|
87
|
+
}) => import("react").JSX.Element;
|
|
88
88
|
Text: ({ children, style }: {
|
|
89
89
|
children: React.ReactNode;
|
|
90
90
|
style?: import("react").CSSProperties;
|
|
91
|
-
}) => import("react
|
|
91
|
+
}) => import("react").JSX.Element;
|
|
92
92
|
useDialogContext: () => DialogContextType;
|
|
93
93
|
};
|
|
94
94
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAOhC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAElD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAKlD,KAAK,WAAW,GAAG,IAAI,CACrB,cAAc,CAAC,OAAO,KAAK,CAAC,EAC1B,WAAW,GACX,UAAU,GACV,WAAW,GACX,aAAa,GACb,YAAY,GACZ,oBAAoB,GACpB,WAAW,GACX,IAAI,GACJ,YAAY,GACZ,eAAe,GACf,SAAS,GACT,MAAM,GACN,WAAW,GACX,OAAO,CACV,GAAG;IACF,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,eAAe,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,UAAU,gMAiBpB,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAOhC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAElD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAKlD,KAAK,WAAW,GAAG,IAAI,CACrB,cAAc,CAAC,OAAO,KAAK,CAAC,EAC1B,WAAW,GACX,UAAU,GACV,WAAW,GACX,aAAa,GACb,YAAY,GACZ,oBAAoB,GACpB,WAAW,GACX,IAAI,GACJ,YAAY,GACZ,eAAe,GACf,SAAS,GACT,MAAM,GACN,WAAW,GACX,OAAO,CACV,GAAG;IACF,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,eAAe,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,UAAU,gMAiBpB,WAAW,gCAmDb,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,iMAxDhB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+DZ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContent.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/DrawerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,eAAO,MAAM,aAAa,iBAAkB;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"DrawerContent.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/DrawerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,eAAO,MAAM,aAAa,iBAAkB;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAElE,CAAA"}
|
|
@@ -13,11 +13,11 @@ type DrawerProps = Pick<ComponentProps<typeof Modal>, 'ariaLabel' | 'children' |
|
|
|
13
13
|
noPadding?: boolean;
|
|
14
14
|
push?: RefObject<HTMLDivElement | null> | 'body';
|
|
15
15
|
};
|
|
16
|
-
export declare const BaseDrawer: ({ size, onClose, open, header, footer, disclosure, children, ariaLabel, className, 'data-testid': dataTestId, hideOnClickOutside, hideOnEsc, id, isClosable, push, separator, noPadding, style, }: DrawerProps) => import("react
|
|
17
|
-
export declare const Drawer: (({ size, onClose, open, header, footer, disclosure, children, ariaLabel, className, 'data-testid': dataTestId, hideOnClickOutside, hideOnEsc, id, isClosable, push, separator, noPadding, style, }: DrawerProps) => import("react
|
|
16
|
+
export declare const BaseDrawer: ({ size, onClose, open, header, footer, disclosure, children, ariaLabel, className, 'data-testid': dataTestId, hideOnClickOutside, hideOnEsc, id, isClosable, push, separator, noPadding, style, }: DrawerProps) => import("react").JSX.Element;
|
|
17
|
+
export declare const Drawer: (({ size, onClose, open, header, footer, disclosure, children, ariaLabel, className, 'data-testid': dataTestId, hideOnClickOutside, hideOnEsc, id, isClosable, push, separator, noPadding, style, }: DrawerProps) => import("react").JSX.Element) & {
|
|
18
18
|
Content: ({ children }: {
|
|
19
19
|
children: import("react").ReactNode;
|
|
20
|
-
}) => import("react
|
|
20
|
+
}) => import("react").JSX.Element;
|
|
21
21
|
};
|
|
22
22
|
export {};
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAO1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE5C,KAAK,WAAW,GAAG,IAAI,CACrB,cAAc,CAAC,OAAO,KAAK,CAAC,EAC1B,WAAW,GACX,UAAU,GACV,WAAW,GACX,aAAa,GACb,YAAY,GACZ,oBAAoB,GACpB,WAAW,GACX,IAAI,GACJ,SAAS,GACT,MAAM,GACN,YAAY,GACZ,OAAO,CACV,GAAG;IACF,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAA;IAC/B,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAA;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,GAAG,MAAM,CAAA;CACjD,CAAA;AAED,eAAO,MAAM,UAAU,sMAmBpB,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAO1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE5C,KAAK,WAAW,GAAG,IAAI,CACrB,cAAc,CAAC,OAAO,KAAK,CAAC,EAC1B,WAAW,GACX,UAAU,GACV,WAAW,GACX,aAAa,GACb,YAAY,GACZ,oBAAoB,GACpB,WAAW,GACX,IAAI,GACJ,SAAS,GACT,MAAM,GACN,YAAY,GACZ,OAAO,CACV,GAAG;IACF,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAA;IAC/B,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAA;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,GAAG,MAAM,CAAA;CACjD,CAAA;AAED,eAAO,MAAM,UAAU,sMAmBpB,WAAW,gCAuFb,CAAA;AAED,eAAO,MAAM,MAAM,uMAzFhB,WAAW;;;;CA2FZ,CAAA"}
|
|
@@ -30,6 +30,6 @@ type EmptyStateProps = {
|
|
|
30
30
|
/**
|
|
31
31
|
* EmptyState component is used to display a message when there is no data to show.
|
|
32
32
|
*/
|
|
33
|
-
export declare const EmptyState: ({ image, title, size, description, primaryButton, secondaryButton, learnMore, className, bordered, children, 'data-testid': dataTestId, style, }: EmptyStateProps) => import("react
|
|
33
|
+
export declare const EmptyState: ({ image, title, size, description, primaryButton, secondaryButton, learnMore, className, bordered, children, 'data-testid': dataTestId, style, }: EmptyStateProps) => import("react").JSX.Element;
|
|
34
34
|
export {};
|
|
35
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyState/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAE9C,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,SAAS,CAAA;IACtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,aAAa,CAAC,EAAE,SAAS,CAAA;IACzB,eAAe,CAAC,EAAE,SAAS,CAAA;IAC3B,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,qJAapB,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyState/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAE9C,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,SAAS,CAAA;IACtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,aAAa,CAAC,EAAE,SAAS,CAAA;IACzB,eAAe,CAAC,EAAE,SAAS,CAAA;IAC3B,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,qJAapB,eAAe,gCA+DjB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ExpandableProps } from './types';
|
|
2
|
-
export declare const AnimatedExpandable: ({ children, opened, minHeight, className, 'data-testid': dataTestId, style, animationDuration, }: ExpandableProps) => import("react
|
|
2
|
+
export declare const AnimatedExpandable: ({ children, opened, minHeight, className, 'data-testid': dataTestId, style, animationDuration, }: ExpandableProps) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=AnimatedExpandable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedExpandable.d.ts","sourceRoot":"","sources":["../../../src/components/Expandable/AnimatedExpandable.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,eAAO,MAAM,kBAAkB,qGAQ5B,eAAe,
|
|
1
|
+
{"version":3,"file":"AnimatedExpandable.d.ts","sourceRoot":"","sources":["../../../src/components/Expandable/AnimatedExpandable.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,eAAO,MAAM,kBAAkB,qGAQ5B,eAAe,gCAyFjB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { init_constant } from "./constant.js";
|
|
4
4
|
import { animationDurationVar, expandableStyle, init_styles_css } from "./styles.css.js";
|
|
5
5
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ExpandableProps } from './types';
|
|
2
|
-
export declare const NoAnimationExpandable: ({ children, opened, minHeight, className, 'data-testid': dataTestId, style, }: ExpandableProps) => import("react
|
|
2
|
+
export declare const NoAnimationExpandable: ({ children, opened, minHeight, className, 'data-testid': dataTestId, style, }: ExpandableProps) => import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=NonAnimatedExpandable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NonAnimatedExpandable.d.ts","sourceRoot":"","sources":["../../../src/components/Expandable/NonAnimatedExpandable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,eAAO,MAAM,qBAAqB,kFAO/B,eAAe,
|
|
1
|
+
{"version":3,"file":"NonAnimatedExpandable.d.ts","sourceRoot":"","sources":["../../../src/components/Expandable/NonAnimatedExpandable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,eAAO,MAAM,qBAAqB,kFAO/B,eAAe,gCAQjB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Expandable/NonAnimatedExpandable.tsx
|
|
@@ -4,5 +4,5 @@ import type { ExpandableProps } from './types';
|
|
|
4
4
|
* based on its height. The component comes with a sleek and smooth animation, providing a visually pleasing
|
|
5
5
|
* user experience.
|
|
6
6
|
*/
|
|
7
|
-
export declare const Expandable: ({ children, opened, minHeight, className, 'data-testid': dataTestId, animationDuration, style, }: ExpandableProps) => import("react
|
|
7
|
+
export declare const Expandable: ({ children, opened, minHeight, className, 'data-testid': dataTestId, animationDuration, style, }: ExpandableProps) => import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Expandable/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C;;;;GAIG;AACH,eAAO,MAAM,UAAU,qGAQpB,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Expandable/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C;;;;GAIG;AACH,eAAO,MAAM,UAAU,qGAQpB,eAAe,gCA2BjB,CAAA"}
|
|
@@ -4,5 +4,5 @@ export type ExpandableCardTitleProps = {
|
|
|
4
4
|
size?: 'medium' | 'large';
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
} & Partial<Pick<ComponentProps<typeof Text>, 'as' | 'style'>> & Pick<ComponentProps<typeof Text>, 'children'>;
|
|
7
|
-
export declare const ExpandableCardTitle: ({ as, size, children, disabled, style }: ExpandableCardTitleProps) => import("react
|
|
7
|
+
export declare const ExpandableCardTitle: ({ as, size, children, disabled, style }: ExpandableCardTitleProps) => import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=Title.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../../src/components/ExpandableCard/components/Title.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAEjC,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,IAAI,GAAG,OAAO,CAAC,CAAC,GAC5D,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,UAAU,CAAC,CAAA;AAC/C,eAAO,MAAM,mBAAmB,4CAAwD,wBAAwB,
|
|
1
|
+
{"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../../src/components/ExpandableCard/components/Title.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAEjC,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,IAAI,GAAG,OAAO,CAAC,CAAC,GAC5D,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,UAAU,CAAC,CAAA;AAC/C,eAAO,MAAM,mBAAmB,4CAAwD,wBAAwB,gCAU/G,CAAA"}
|
|
@@ -41,7 +41,7 @@ export declare const ExpandableCard: import("react").ForwardRefExoticComponent<(
|
|
|
41
41
|
expanded?: undefined;
|
|
42
42
|
onToggleExpand?: undefined;
|
|
43
43
|
} & CommonProps)) & import("react").RefAttributes<HTMLDetailsElement>> & {
|
|
44
|
-
Title: ({ as, size, children, disabled, style }: import("./components/Title").ExpandableCardTitleProps) => import("react
|
|
44
|
+
Title: ({ as, size, children, disabled, style }: import("./components/Title").ExpandableCardTitleProps) => import("react").JSX.Element;
|
|
45
45
|
};
|
|
46
46
|
export {};
|
|
47
47
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,5 +6,5 @@ export declare const DropzoneContent: ({ disabled, isSmall, inputId, title, inpu
|
|
|
6
6
|
inputId: string;
|
|
7
7
|
title: FileInputProps['title'];
|
|
8
8
|
inputRef: RefObject<HTMLInputElement | null>;
|
|
9
|
-
}) => import("react
|
|
9
|
+
}) => import("react").JSX.Element;
|
|
10
10
|
//# sourceMappingURL=DropzoneContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropzoneContent.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/DropzoneContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAG7C,eAAO,MAAM,eAAe,qDAMzB;IACD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC9B,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;CAC7C,
|
|
1
|
+
{"version":3,"file":"DropzoneContent.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/DropzoneContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAG7C,eAAO,MAAM,eAAe,qDAMzB;IACD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC9B,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAA;CAC7C,gCAcA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mockFile.d.ts","sourceRoot":"","sources":["../../../../src/components/FileInput/__mock__/mockFile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAuBzC,eAAO,MAAM,YAAY,EAAE,SAAS,EAuCnC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
2
|
import { Button } from '../../Button';
|
|
3
|
-
export declare const FileInputButton: ({ children, disabled, ...props }: ComponentProps<typeof Button>) => import("react
|
|
3
|
+
export declare const FileInputButton: ({ children, disabled, ...props }: ComponentProps<typeof Button>) => import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/FileInput/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAGrC,eAAO,MAAM,eAAe,qCAAsC,cAAc,CAAC,OAAO,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/FileInput/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAGrC,eAAO,MAAM,eAAe,qCAAsC,cAAc,CAAC,OAAO,MAAM,CAAC,gCAS9F,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
3
|
+
import { _objectWithoutProperties, init_objectWithoutProperties } from "../../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectWithoutProperties.js";
|
|
4
4
|
import { Button, init_Button as init_Button$1 } from "../../Button/index.js";
|
|
5
5
|
import { init_FileInputProvider, useFileInput } from "../FileInputProvider.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ListProps } from '../types';
|
|
2
|
-
export declare const ListFiles: ({ limit, textLimit, prominence, onDelete }: ListProps) => import("react
|
|
2
|
+
export declare const ListFiles: ({ limit, textLimit, prominence, onDelete }: ListProps) => import("react").JSX.Element | null;
|
|
3
3
|
//# sourceMappingURL=List.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/FileInput/components/List.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/FileInput/components/List.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,UAAU,CAAA;AA6CnD,eAAO,MAAM,SAAS,+CAA4D,SAAS,uCAoE1F,CAAA"}
|
|
@@ -24,7 +24,7 @@ var init_List = __esmMin(() => {
|
|
|
24
24
|
init_FileInputProvider();
|
|
25
25
|
init_helpers();
|
|
26
26
|
init_styles_css();
|
|
27
|
-
getIllustration = (type,
|
|
27
|
+
getIllustration = (type, error, loading, file) => {
|
|
28
28
|
const state = error ? "error" : "default";
|
|
29
29
|
const sentiment = error ? "danger" : "primary";
|
|
30
30
|
if (loading) return /* @__PURE__ */ jsx("div", {
|
|
@@ -49,14 +49,13 @@ var init_List = __esmMin(() => {
|
|
|
49
49
|
size: "medium"
|
|
50
50
|
})
|
|
51
51
|
});
|
|
52
|
-
if (type === "image"
|
|
52
|
+
if (type === "image") return !error && file ? /* @__PURE__ */ jsx("img", {
|
|
53
53
|
alt: "",
|
|
54
54
|
className: fileInputStyle.fileViewerImage.default,
|
|
55
55
|
height: "auto",
|
|
56
56
|
src: file,
|
|
57
57
|
width: "auto"
|
|
58
|
-
})
|
|
59
|
-
if (type === "image" && error) return /* @__PURE__ */ jsx("div", {
|
|
58
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
60
59
|
className: fileInputStyle.fileViewerImage[state],
|
|
61
60
|
children: /* @__PURE__ */ jsx(ImageIcon, {
|
|
62
61
|
sentiment,
|
|
@@ -85,10 +84,10 @@ var init_List = __esmMin(() => {
|
|
|
85
84
|
className: fileInputStyle.fileListContainer,
|
|
86
85
|
children: [files.map((file, index) => {
|
|
87
86
|
if (!computedLimit || index < computedLimit) {
|
|
88
|
-
const illustration = getIllustration(getMimeTypeType(file.type),
|
|
87
|
+
const illustration = getIllustration(getMimeTypeType(file.type), !!file.error || error, !!file.loading, file.file);
|
|
89
88
|
const sentiment = file.error ? "danger" : "neutral";
|
|
90
89
|
return /* @__PURE__ */ jsxs(Stack, {
|
|
91
|
-
"data-testid": file.
|
|
90
|
+
"data-testid": file.name,
|
|
92
91
|
gap: .5,
|
|
93
92
|
as: "li",
|
|
94
93
|
children: [/* @__PURE__ */ jsxs(Stack, {
|
|
@@ -109,7 +108,7 @@ var init_List = __esmMin(() => {
|
|
|
109
108
|
oneLine: true,
|
|
110
109
|
sentiment,
|
|
111
110
|
variant: "bodySmallStrong",
|
|
112
|
-
children: file.
|
|
111
|
+
children: file.name
|
|
113
112
|
}), /* @__PURE__ */ jsx(Text, {
|
|
114
113
|
as: "p",
|
|
115
114
|
sentiment,
|
|
@@ -118,12 +117,12 @@ var init_List = __esmMin(() => {
|
|
|
118
117
|
})]
|
|
119
118
|
})]
|
|
120
119
|
}), /* @__PURE__ */ jsx(Button, {
|
|
121
|
-
"data-testid": `remove-${file.
|
|
120
|
+
"data-testid": `remove-${file.name}`,
|
|
122
121
|
onClick: () => {
|
|
123
122
|
const newFiles = files.filter((oldFile) => file.file !== oldFile.file);
|
|
124
123
|
setFiles(newFiles);
|
|
125
124
|
onChangeFiles === null || onChangeFiles === void 0 || onChangeFiles(newFiles);
|
|
126
|
-
onDelete === null || onDelete === void 0 || onDelete(file.
|
|
125
|
+
onDelete === null || onDelete === void 0 || onDelete(file.name);
|
|
127
126
|
},
|
|
128
127
|
sentiment,
|
|
129
128
|
size: "xsmall",
|
|
@@ -136,7 +135,7 @@ var init_List = __esmMin(() => {
|
|
|
136
135
|
variant: "caption",
|
|
137
136
|
children: file.error
|
|
138
137
|
}) : null]
|
|
139
|
-
}, `${file.
|
|
138
|
+
}, `${file.name}-${file.size}`);
|
|
140
139
|
}
|
|
141
140
|
return null;
|
|
142
141
|
}), computedLimit && files.length > computedLimit ? /* @__PURE__ */ jsxs(Button, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { _asyncToGenerator, init_asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import { _asyncToGenerator, init_asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FileInput/helpers.ts
|
|
5
5
|
function readEntriesInDirectory(_x) {
|
|
@@ -77,7 +77,7 @@ var init_helpers = __esmMin(() => {
|
|
|
77
77
|
const prefix = item.slice(0, item.indexOf("/"));
|
|
78
78
|
if (fileType.startsWith(`${prefix}/`)) return true;
|
|
79
79
|
} else if (fileType === item) return true;
|
|
80
|
-
else if (item.startsWith(".")
|
|
80
|
+
else if (item.startsWith(".") && fileName.toLocaleLowerCase().endsWith(item)) return true;
|
|
81
81
|
return false;
|
|
82
82
|
};
|
|
83
83
|
isFileEntry = (entry) => !!entry.isFile;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FileInputProps } from './types';
|
|
2
|
-
export declare const FileInput: (({ style, className, variant, size, title, children, onDrop, label, labelDescription, disabled, accept, 'aria-label': ariaLabel, defaultFiles, onChangeFiles, helper, multiple, bottom, required, error, onChange, onFocus, onBlur, name, onKeyDown, onKeyUp, disabledDragndrop, validator, onDropError, 'data-testid': dataTestid, 'aria-describedby': ariaDescribedBy, allowDirectories, }: FileInputProps) => import("react
|
|
3
|
-
Button: ({ children, disabled, ...props }: import("react").ComponentProps<typeof import("..").Button>) => import("react
|
|
4
|
-
List: ({ limit, textLimit, prominence, onDelete }: import("./types").ListProps) => import("react
|
|
2
|
+
export declare const FileInput: (({ style, className, variant, size, title, children, onDrop, label, labelDescription, disabled, accept, id, 'aria-label': ariaLabel, defaultFiles, onChangeFiles, helper, multiple, bottom, required, error, onChange, onFocus, onBlur, name, onKeyDown, onKeyUp, disabledDragndrop, validator, onDropError, 'data-testid': dataTestid, 'aria-describedby': ariaDescribedBy, allowDirectories, }: FileInputProps) => import("react").JSX.Element) & {
|
|
3
|
+
Button: ({ children, disabled, ...props }: import("react").ComponentProps<typeof import("..").Button>) => import("react").JSX.Element;
|
|
4
|
+
List: ({ limit, textLimit, prominence, onDelete }: import("./types").ListProps) => import("react").JSX.Element | null;
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/index.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAa,cAAc,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/index.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAa,cAAc,EAAE,MAAM,SAAS,CAAA;AAkTxD,eAAO,MAAM,SAAS,qYArQnB,cAAc;;;CAwQf,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
|
|
4
4
|
import { Stack, init_Stack } from "../Stack/index.js";
|
|
5
5
|
import { Text, init_Text } from "../Text/index.js";
|
|
6
6
|
import { hasHelperText, init_hasHelperText } from "../../helpers/hasHelperText.js";
|
|
@@ -8,7 +8,7 @@ import { Description, init_Description } from "../Description/index.js";
|
|
|
8
8
|
import { Label, init_Label } from "../Label/index.js";
|
|
9
9
|
import { FileInputContext, init_FileInputProvider } from "./FileInputProvider.js";
|
|
10
10
|
import { FileInputButton, init_Button } from "./components/Button.js";
|
|
11
|
-
import { _asyncToGenerator, init_asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.
|
|
11
|
+
import { _asyncToGenerator, init_asyncToGenerator } from "../../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
12
12
|
import { fileIsAccepted, init_helpers, readTransferredFiles } from "./helpers.js";
|
|
13
13
|
import { fileInputStyle, init_styles_css } from "./styles.css.js";
|
|
14
14
|
import { ListFiles, init_List } from "./components/List.js";
|
|
@@ -17,7 +17,7 @@ import { useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "re
|
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
18
|
|
|
19
19
|
//#region src/components/FileInput/index.tsx
|
|
20
|
-
var FileInputBase, FileInput;
|
|
20
|
+
var defaultOnDropError, FileInputBase, FileInput;
|
|
21
21
|
var init_FileInput = __esmMin(() => {
|
|
22
22
|
init_hasHelperText();
|
|
23
23
|
init_Description();
|
|
@@ -32,13 +32,15 @@ var init_FileInput = __esmMin(() => {
|
|
|
32
32
|
init_styles_css();
|
|
33
33
|
init_asyncToGenerator();
|
|
34
34
|
init_objectSpread2();
|
|
35
|
-
|
|
35
|
+
defaultOnDropError = (e) => {
|
|
36
36
|
if (e instanceof Error) throw e;
|
|
37
|
-
}
|
|
37
|
+
};
|
|
38
|
+
FileInputBase = ({ style, className, variant = "dropzone", size = "medium", title, children, onDrop, label, labelDescription, disabled, accept, id, "aria-label": ariaLabel, defaultFiles, onChangeFiles, helper, multiple = false, bottom, required, error, onChange, onFocus, onBlur, name, onKeyDown, onKeyUp, disabledDragndrop = false, validator, onDropError = defaultOnDropError, "data-testid": dataTestid, "aria-describedby": ariaDescribedBy, allowDirectories }) => {
|
|
38
39
|
var _ref2;
|
|
39
40
|
const [dragState, setDragState] = useState("default");
|
|
40
41
|
const [files, setFiles] = useState(defaultFiles !== null && defaultFiles !== void 0 ? defaultFiles : []);
|
|
41
|
-
const
|
|
42
|
+
const generatedId = useId();
|
|
43
|
+
const inputId = id !== null && id !== void 0 ? id : generatedId;
|
|
42
44
|
const helperId = useId();
|
|
43
45
|
const inputRef = useRef(null);
|
|
44
46
|
const computedMultiple = allowDirectories || multiple;
|
|
@@ -89,17 +91,17 @@ var init_FileInput = __esmMin(() => {
|
|
|
89
91
|
});
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
|
-
const formattedNewFiles = newFiles.map((file) => ({
|
|
93
|
-
file: URL.createObjectURL(file),
|
|
94
|
-
fileName: file.name,
|
|
95
|
-
lastModified: file.lastModified,
|
|
96
|
-
size: file.size,
|
|
97
|
-
type: file.type
|
|
98
|
-
}));
|
|
94
|
+
const formattedNewFiles = newFiles.map((file) => Object.assign(file, { file: URL.createObjectURL(file) }));
|
|
99
95
|
const formattedFiles = computedMultiple ? [...files, ...formattedNewFiles] : [formattedNewFiles[0]];
|
|
100
96
|
setFiles(formattedFiles);
|
|
101
97
|
onChangeFiles === null || onChangeFiles === void 0 || onChangeFiles(formattedFiles);
|
|
102
|
-
if (addedFiles
|
|
98
|
+
if (addedFiles && onChange) {
|
|
99
|
+
const dataTransfer = new DataTransfer();
|
|
100
|
+
formattedFiles.forEach((formattedFile) => {
|
|
101
|
+
dataTransfer.items.add(formattedFile);
|
|
102
|
+
});
|
|
103
|
+
onChange(dataTransfer.files);
|
|
104
|
+
}
|
|
103
105
|
if (inputRef.current) inputRef.current.value = "";
|
|
104
106
|
return [newFiles, errorFiles];
|
|
105
107
|
};
|
|
@@ -124,7 +126,6 @@ var init_FileInput = __esmMin(() => {
|
|
|
124
126
|
error,
|
|
125
127
|
helper,
|
|
126
128
|
id: ariaDescribedBy !== null && ariaDescribedBy !== void 0 ? ariaDescribedBy : helperId,
|
|
127
|
-
size,
|
|
128
129
|
disabled
|
|
129
130
|
});
|
|
130
131
|
const input = /* @__PURE__ */ jsx("input", {
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import type { DragEvent, InputHTMLAttributes, ReactNode, RefObject } from 'react';
|
|
2
2
|
type ChildrenType = ReactNode | ((inputId: string, inputRef: RefObject<HTMLInputElement | null>) => ReactNode);
|
|
3
3
|
export type FilesType = {
|
|
4
|
-
|
|
5
|
-
file: string;
|
|
6
|
-
size: number;
|
|
7
|
-
lastModified: number;
|
|
8
|
-
type: string;
|
|
4
|
+
file?: string;
|
|
9
5
|
loading?: boolean;
|
|
10
6
|
error?: string;
|
|
11
|
-
};
|
|
7
|
+
} & File;
|
|
12
8
|
export type ErrorType = {
|
|
13
9
|
fileName?: string;
|
|
14
10
|
error: string;
|
|
@@ -17,13 +13,14 @@ export type ErrorType = {
|
|
|
17
13
|
* See https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/MIME_types#types
|
|
18
14
|
*/
|
|
19
15
|
export type MimeType = 'application' | 'audio' | 'example' | 'font' | 'image' | 'model' | 'text' | 'video';
|
|
20
|
-
type LabelType =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
16
|
+
type LabelType = XOR<[
|
|
17
|
+
{
|
|
18
|
+
label: string;
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
'aria-label': string;
|
|
22
|
+
}
|
|
23
|
+
]>;
|
|
27
24
|
/**
|
|
28
25
|
* Add the dropzone inside any content: when hovering, replace the content with the dropzone overlay
|
|
29
26
|
*/
|
|
@@ -58,6 +55,7 @@ export type FileInputProps = {
|
|
|
58
55
|
multiple?: boolean;
|
|
59
56
|
'data-testid'?: string;
|
|
60
57
|
error?: boolean | string;
|
|
58
|
+
id?: string;
|
|
61
59
|
disabledDragndrop?: boolean;
|
|
62
60
|
onChange?: (files: FileList) => void;
|
|
63
61
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjF,KAAK,YAAY,GAAG,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,KAAK,SAAS,CAAC,CAAA;AAE9G,MAAM,MAAM,SAAS,GAAG;IACtB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjF,KAAK,YAAY,GAAG,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,KAAK,SAAS,CAAC,CAAA;AAE9G,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,IAAI,CAAA;AAER,MAAM,MAAM,SAAS,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAC5D;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;AAE1G,KAAK,SAAS,GAAG,GAAG,CAClB;IACE;QACE,KAAK,EAAE,MAAM,CAAA;KACd;IACD;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE;CACzB,CACF,CAAA;AAED;;GAEG;AACH,KAAK,mBAAmB,GAAG;IACzB,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,gFAAgF;IAChF,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,2CAA2C;IAC3C,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,QAAQ,EAAE,YAAY,CAAA;IACtB,MAAM,CAAC,EAAE,KAAK,CAAA;CACf,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,gFAAgF;IAChF,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IACzB,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,WAAW,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,EAAE,UAAU,CAAC,EAAE,SAAS,EAAE,KAAK,IAAI,CAAA;IACjG,MAAM,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAA;IACnC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAA;IAC5C,YAAY,CAAC,EAAE,SAAS,EAAE,CAAA;IAC1B,oDAAoD;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAA;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;IACvC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACrD;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,GAAG,CAAC,mBAAmB,GAAG,oBAAoB,CAAC,GAC9C,SAAS,GACT,IAAI,CACF,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,kBAAkB,CACjH,CAAA;AAEH,KAAK,SAAS,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAC;IAAC,SAAS,CAAC,EAAE,KAAK,CAAA;CAAE,CAAA;AAE5F,MAAM,MAAM,SAAS,GAAG;IACtB,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IACjC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC,GAAG,SAAS,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
2
|
import { Link } from '../Link';
|
|
3
3
|
type GlobalAlertLinkProps = Omit<ComponentProps<typeof Link>, 'sentiment' | 'prominence' | 'size' | 'render'> & NonNullable<Pick<ComponentProps<typeof Link>, 'href'>>;
|
|
4
|
-
export declare const GlobalAlertLink: ({ children, href, target, download, rel, className, onClick, 'aria-label': ariaLabel, oneLine, 'data-testid': dataTestId, style, }: GlobalAlertLinkProps) => import("react
|
|
4
|
+
export declare const GlobalAlertLink: ({ children, href, target, download, rel, className, onClick, 'aria-label': ariaLabel, oneLine, 'data-testid': dataTestId, style, }: GlobalAlertLinkProps) => import("react").JSX.Element;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=GlobalAlertLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalAlertLink.d.ts","sourceRoot":"","sources":["../../../src/components/GlobalAlert/GlobalAlertLink.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,KAAK,oBAAoB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,WAAW,GAAG,YAAY,GAAG,MAAM,GAAG,QAAQ,CAAC,GAC3G,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAA;AAExD,eAAO,MAAM,eAAe,uIAYzB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"GlobalAlertLink.d.ts","sourceRoot":"","sources":["../../../src/components/GlobalAlert/GlobalAlertLink.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,KAAK,oBAAoB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,WAAW,GAAG,YAAY,GAAG,MAAM,GAAG,QAAQ,CAAC,GAC3G,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAA;AAExD,eAAO,MAAM,eAAe,uIAYzB,oBAAoB,gCAsBtB,CAAA"}
|
|
@@ -10,7 +10,7 @@ type GlobalAlertProps = {
|
|
|
10
10
|
onClickButton?: () => void;
|
|
11
11
|
style?: CSSProperties;
|
|
12
12
|
};
|
|
13
|
-
export declare function GlobalAlert({ children, variant, onClose, closable, buttonText, onClickButton, className, 'data-testid': dataTestId, style, }: GlobalAlertProps): import("react
|
|
13
|
+
export declare function GlobalAlert({ children, variant, onClose, closable, buttonText, onClickButton, className, 'data-testid': dataTestId, style, }: GlobalAlertProps): import("react").JSX.Element | null;
|
|
14
14
|
export declare namespace GlobalAlert {
|
|
15
15
|
var Link: ({ children, href, target, download, rel, className, onClick, 'aria-label': ariaLabel, oneLine, 'data-testid': dataTestId, style, }: Omit<({
|
|
16
16
|
children: ReactNode;
|
|
@@ -74,6 +74,7 @@ export declare namespace GlobalAlert {
|
|
|
74
74
|
href?: string;
|
|
75
75
|
}> & {
|
|
76
76
|
href?: string;
|
|
77
|
-
}))) & import("react").RefAttributes<HTMLAnchorElement>, "href">) => import("react
|
|
77
|
+
}))) & import("react").RefAttributes<HTMLAnchorElement>, "href">) => import("react").JSX.Element;
|
|
78
78
|
}
|
|
79
|
+
export {};
|
|
79
80
|
//# sourceMappingURL=index.d.ts.map
|