@loadsmart/loadsmart-ui 7.3.3 → 7.5.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/DragDropFile.context-D-EBrXnw.js +2 -0
- package/dist/DragDropFile.context-D-EBrXnw.js.map +1 -0
- package/dist/DragDropFile.context-jVTIKfj5.mjs +29 -0
- package/dist/DragDropFile.context-jVTIKfj5.mjs.map +1 -0
- package/dist/addons/Theme/register.d.ts +1 -0
- package/dist/common/BackButton/BackButton.d.ts +4 -5
- package/dist/common/BackButton/index.d.ts +2 -2
- package/dist/common/CloseButton/CloseButton.d.ts +6 -7
- package/dist/common/CloseButton/index.d.ts +2 -2
- package/dist/common/SelectionWrapper.d.ts +14 -14
- package/dist/components/Accordion/Accordion.context.d.ts +10 -10
- package/dist/components/Accordion/Accordion.d.ts +19 -19
- package/dist/components/Accordion/Accordion.stories.d.ts +8 -8
- package/dist/components/Accordion/Accordion.test.d.ts +1 -1
- package/dist/components/Accordion/index.d.ts +2 -2
- package/dist/components/Banner/Banner.d.ts +25 -25
- package/dist/components/Banner/Banner.stories.d.ts +107 -106
- package/dist/components/Banner/Banner.test.d.ts +1 -1
- package/dist/components/Banner/index.d.ts +2 -2
- package/dist/components/Breadcrumbs/Breadbrumbs.test.d.ts +1 -1
- package/dist/components/Breadcrumbs/Breadcrumb.d.ts +8 -8
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +10 -10
- package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +5 -4
- package/dist/components/Breadcrumbs/index.d.ts +3 -3
- package/dist/components/Button/Button.d.ts +21 -22
- package/dist/components/Button/Button.stories.d.ts +33 -32
- package/dist/components/Button/Button.test.d.ts +1 -1
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Calendar/Calendar.d.ts +9 -10
- package/dist/components/Calendar/Calendar.helpers.d.ts +2 -2
- package/dist/components/Calendar/Calendar.stories.d.ts +21 -21
- package/dist/components/Calendar/Calendar.test.d.ts +1 -1
- package/dist/components/Calendar/Calendar.types.d.ts +63 -63
- package/dist/components/Calendar/Date.helper.d.ts +214 -214
- package/dist/components/Calendar/Date.helper.test.d.ts +1 -1
- package/dist/components/Calendar/DateFormat.helper.d.ts +35 -35
- package/dist/components/Calendar/DateFormat.helper.test.d.ts +1 -1
- package/dist/components/Calendar/Month.helper.d.ts +58 -58
- package/dist/components/Calendar/Month.helper.test.d.ts +1 -1
- package/dist/components/Calendar/PickerModeToggle.d.ts +5 -6
- package/dist/components/Calendar/Pickers/DayPicker.d.ts +9 -10
- package/dist/components/Calendar/Pickers/DayPicker.test.d.ts +1 -1
- package/dist/components/Calendar/Pickers/MonthPicker.d.ts +3 -4
- package/dist/components/Calendar/Pickers/MonthPicker.test.d.ts +1 -1
- package/dist/components/Calendar/Pickers/PickerButton.d.ts +4 -5
- package/dist/components/Calendar/Pickers/YearPicker.d.ts +3 -4
- package/dist/components/Calendar/Pickers/YearPicker.test.d.ts +1 -1
- package/dist/components/Calendar/index.d.ts +9 -9
- package/dist/components/Calendar/useCalendar.d.ts +19 -19
- package/dist/components/Calendar/usePickerMode.d.ts +3 -3
- package/dist/components/Card/Card.d.ts +16 -16
- package/dist/components/Card/Card.stories.d.ts +8 -8
- package/dist/components/Card/Card.test.d.ts +1 -1
- package/dist/components/Card/CardTitle.d.ts +8 -8
- package/dist/components/Card/index.d.ts +2 -2
- package/dist/components/Checkbox/Checkbox.d.ts +10 -10
- package/dist/components/Checkbox/Checkbox.stories.d.ts +8 -8
- package/dist/components/Checkbox/Checkbox.test.d.ts +1 -1
- package/dist/components/Checkbox/index.d.ts +2 -2
- package/dist/components/DatePicker/DatePicker.d.ts +13 -13
- package/dist/components/DatePicker/DatePicker.stories.d.ts +22 -23
- package/dist/components/DatePicker/DatePicker.test.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.types.d.ts +27 -27
- package/dist/components/DatePicker/DateRangePicker.d.ts +4 -5
- package/dist/components/DatePicker/DateRangePicker.stories.d.ts +21 -22
- package/dist/components/DatePicker/DateRangePicker.test.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts +3 -3
- package/dist/components/DatePicker/useDatePicker.d.ts +604 -591
- package/dist/components/DatePicker/useDateRangePicker.d.ts +905 -885
- package/dist/components/Dialog/Dialog.d.ts +37 -37
- package/dist/components/Dialog/Dialog.stories.d.ts +67 -67
- package/dist/components/Dialog/Dialog.test.d.ts +1 -1
- package/dist/components/Dialog/index.d.ts +4 -4
- package/dist/components/Dialog/useDialog.d.ts +12 -12
- package/dist/components/DragDropFile/DragDropFile.context.d.ts +5 -5
- package/dist/components/DragDropFile/DragDropFile.d.ts +7 -8
- package/dist/components/DragDropFile/DragDropFile.stories.d.ts +33 -33
- package/dist/components/DragDropFile/components/DropZone.d.ts +3 -4
- package/dist/components/DragDropFile/components/DropZone.test.d.ts +1 -1
- package/dist/components/DragDropFile/components/FileItem.d.ts +3 -4
- package/dist/components/DragDropFile/components/FileList.d.ts +3 -4
- package/dist/components/DragDropFile/components/FileList.test.d.ts +1 -1
- package/dist/components/DragDropFile/components/Wrapper.d.ts +7 -7
- package/dist/components/DragDropFile/index.d.ts +3 -3
- package/dist/components/DragDropFile/mocks.d.ts +9 -9
- package/dist/components/DragDropFile/styles.d.ts +11 -11
- package/dist/components/DragDropFile/types.d.ts +71 -71
- package/dist/components/Drawer/Drawer.d.ts +27 -28
- package/dist/components/Drawer/Drawer.stories.d.ts +6 -6
- package/dist/components/Drawer/Drawer.test.d.ts +1 -1
- package/dist/components/Drawer/index.d.ts +3 -3
- package/dist/components/Dropdown/Dropdown.context.d.ts +3 -4
- package/dist/components/Dropdown/Dropdown.d.ts +47 -47
- package/dist/components/Dropdown/Dropdown.fixtures.d.ts +12 -12
- package/dist/components/Dropdown/Dropdown.stories.d.ts +12 -12
- package/dist/components/Dropdown/Dropdown.test.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.types.d.ts +49 -49
- package/dist/components/Dropdown/DropdownMenu.d.ts +8 -8
- package/dist/components/Dropdown/DropdownTrigger.d.ts +21 -22
- package/dist/components/Dropdown/index.d.ts +6 -6
- package/dist/components/Dropdown/useDropdown.d.ts +14 -14
- package/dist/components/Dropdown/useDropdown.test.d.ts +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +7 -7
- package/dist/components/EmptyState/EmptyState.mocks.d.ts +7 -7
- package/dist/components/EmptyState/EmptyState.stories.d.ts +32 -32
- package/dist/components/EmptyState/EmptyState.test.d.ts +1 -1
- package/dist/components/EmptyState/EmptyState.types.d.ts +22 -22
- package/dist/components/EmptyState/EmptyStateWithIcon.d.ts +4 -4
- package/dist/components/EmptyState/EmptyStateWithIllustration.d.ts +4 -4
- package/dist/components/EmptyState/Illustration.d.ts +4 -4
- package/dist/components/EmptyState/index.d.ts +3 -3
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +5 -5
- package/dist/components/ErrorMessage/ErrorMessage.stories.d.ts +13 -13
- package/dist/components/ErrorMessage/ErrorMessage.test.d.ts +1 -1
- package/dist/components/ErrorMessage/index.d.ts +2 -2
- package/dist/components/HighlightMatch/HighlightMatch.d.ts +7 -7
- package/dist/components/HighlightMatch/HighlightMatch.stories.d.ts +5 -5
- package/dist/components/HighlightMatch/HighlightMatch.test.d.ts +1 -1
- package/dist/components/HighlightMatch/index.d.ts +2 -2
- package/dist/components/Icon/Icon.d.ts +27 -28
- package/dist/components/Icon/index.d.ts +2 -2
- package/dist/components/IconFactory/IconFactory.d.ts +17 -17
- package/dist/components/IconFactory/IconFactory.fixtures.d.ts +10 -10
- package/dist/components/IconFactory/IconFactory.stories.d.ts +6 -6
- package/dist/components/IconFactory/IconFactory.test.d.ts +1 -1
- package/dist/components/IconFactory/index.d.ts +2 -2
- package/dist/components/Label/Label.d.ts +17 -18
- package/dist/components/Label/Label.stories.d.ts +14 -14
- package/dist/components/Label/Label.test.d.ts +1 -1
- package/dist/components/Label/index.d.ts +2 -2
- package/dist/components/Layout/Box.d.ts +15 -15
- package/dist/components/Layout/Grid.d.ts +11 -11
- package/dist/components/Layout/Group.d.ts +13 -14
- package/dist/components/Layout/Layout.d.ts +16 -16
- package/dist/components/Layout/Layout.stories.d.ts +146 -146
- package/dist/components/Layout/Layout.types.d.ts +3 -3
- package/dist/components/Layout/Layout.utils.d.ts +3 -3
- package/dist/components/Layout/Sidebar.d.ts +13 -13
- package/dist/components/Layout/Stack.d.ts +18 -19
- package/dist/components/Layout/Switcher.d.ts +12 -12
- package/dist/components/Layout/index.d.ts +7 -7
- package/dist/components/Link/Link.d.ts +8 -9
- package/dist/components/Link/Link.stories.d.ts +5 -5
- package/dist/components/Link/Link.test.d.ts +1 -1
- package/dist/components/Link/index.d.ts +3 -3
- package/dist/components/Link/useSafeLink.d.ts +3 -3
- package/dist/components/Loaders/LoadingBar.d.ts +13 -13
- package/dist/components/Loaders/LoadingBar.stories.d.ts +5 -5
- package/dist/components/Loaders/LoadingBar.test.d.ts +1 -1
- package/dist/components/Loaders/LoadingDots.d.ts +5 -6
- package/dist/components/Loaders/LoadingDots.stories.d.ts +6 -6
- package/dist/components/Loaders/LoadingDots.test.d.ts +1 -1
- package/dist/components/Loaders/Spinner.d.ts +5 -6
- package/dist/components/Loaders/Spinner.stories.d.ts +5 -5
- package/dist/components/Loaders/Spinner.test.d.ts +1 -1
- package/dist/components/Loaders/index.d.ts +3 -3
- package/dist/components/Modal/Modal.d.ts +22 -22
- package/dist/components/Modal/Modal.stories.d.ts +30 -30
- package/dist/components/Modal/Modal.test.d.ts +1 -1
- package/dist/components/Modal/index.d.ts +2 -2
- package/dist/components/Pagination/Pagination.constants.d.ts +7 -7
- package/dist/components/Pagination/Pagination.d.ts +3 -4
- package/dist/components/Pagination/Pagination.helper.d.ts +15 -15
- package/dist/components/Pagination/Pagination.stories.d.ts +5 -5
- package/dist/components/Pagination/Pagination.test.d.ts +1 -1
- package/dist/components/Pagination/Pagination.types.d.ts +48 -48
- package/dist/components/Pagination/PaginationItem.d.ts +3 -4
- package/dist/components/Pagination/index.d.ts +2 -2
- package/dist/components/Pagination/usePagination.d.ts +3 -3
- package/dist/components/Pagination/usePagination.test.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +10 -11
- package/dist/components/Popover/Popover.stories.d.ts +5 -5
- package/dist/components/Popover/Popover.test.d.ts +1 -1
- package/dist/components/Popover/Popover.types.d.ts +31 -31
- package/dist/components/Popover/index.d.ts +2 -2
- package/dist/components/ProgressBar/ProgressBar.d.ts +9 -9
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +12 -12
- package/dist/components/ProgressBar/ProgressBar.test.d.ts +1 -1
- package/dist/components/ProgressBar/index.d.ts +2 -2
- package/dist/components/Radio/Radio.d.ts +10 -10
- package/dist/components/Radio/Radio.stories.d.ts +8 -8
- package/dist/components/Radio/Radio.test.d.ts +1 -1
- package/dist/components/Radio/index.d.ts +2 -2
- package/dist/components/Section/Section.d.ts +12 -12
- package/dist/components/Section/Section.test.d.ts +1 -1
- package/dist/components/Section/Sections.stories.d.ts +5 -5
- package/dist/components/Section/index.d.ts +2 -2
- package/dist/components/Select/Select.constants.d.ts +2 -2
- package/dist/components/Select/Select.context.d.ts +5 -6
- package/dist/components/Select/Select.d.ts +13 -13
- package/dist/components/Select/Select.fixtures.d.ts +37 -37
- package/dist/components/Select/Select.stories.d.ts +19 -19
- package/dist/components/Select/Select.test.d.ts +1 -1
- package/dist/components/Select/Select.types.d.ts +122 -122
- package/dist/components/Select/SelectCreatableOption.d.ts +3 -4
- package/dist/components/Select/SelectEmpty.d.ts +3 -4
- package/dist/components/Select/SelectEmpty.test.d.ts +1 -1
- package/dist/components/Select/SelectOption.d.ts +3 -4
- package/dist/components/Select/SelectOption.test.d.ts +1 -1
- package/dist/components/Select/SelectTrigger.d.ts +3 -3
- package/dist/components/Select/components.d.ts +2 -2
- package/dist/components/Select/index.d.ts +3 -3
- package/dist/components/Select/useSelect.d.ts +8 -8
- package/dist/components/Select/useSelect.helpers.d.ts +6 -6
- package/dist/components/Select/useSelect.helpers.test.d.ts +1 -1
- package/dist/components/Select/useSelect.test.d.ts +1 -1
- package/dist/components/Select/useSelectExternal.d.ts +2 -2
- package/dist/components/SideNavigation/Logo/Logo.d.ts +8 -14
- package/dist/components/SideNavigation/Logo/Logo.test.d.ts +1 -1
- package/dist/components/SideNavigation/Logo/index.d.ts +1 -1
- package/dist/components/SideNavigation/Menu/Menu.d.ts +16 -17
- package/dist/components/SideNavigation/Menu/Menu.test.d.ts +1 -1
- package/dist/components/SideNavigation/Menu/MenuBaseItem.d.ts +11 -11
- package/dist/components/SideNavigation/Menu/MenuExpandable.d.ts +6 -6
- package/dist/components/SideNavigation/Menu/MenuLink.d.ts +10 -11
- package/dist/components/SideNavigation/Menu/index.d.ts +1 -1
- package/dist/components/SideNavigation/Separator/Separator.d.ts +5 -6
- package/dist/components/SideNavigation/Separator/Separator.test.d.ts +1 -1
- package/dist/components/SideNavigation/Separator/index.d.ts +1 -1
- package/dist/components/SideNavigation/SideNavigation.d.ts +28 -34
- package/dist/components/SideNavigation/SideNavigation.stories.d.ts +5 -5
- package/dist/components/SideNavigation/SideNavigation.test.d.ts +1 -1
- package/dist/components/SideNavigation/index.d.ts +4 -4
- package/dist/components/SideNavigation/useSideNavigation.d.ts +8 -8
- package/dist/components/Steps/ProgressSteps/ProgressStep.d.ts +12 -12
- package/dist/components/Steps/ProgressSteps/ProgressSteps.d.ts +7 -8
- package/dist/components/Steps/ProgressSteps/index.d.ts +1 -1
- package/dist/components/Steps/Steps.d.ts +16 -16
- package/dist/components/Steps/Steps.fixtures.d.ts +6 -6
- package/dist/components/Steps/Steps.helpers.d.ts +2 -2
- package/dist/components/Steps/Steps.stories.d.ts +5 -5
- package/dist/components/Steps/Steps.test.d.ts +1 -1
- package/dist/components/Steps/Steps.types.d.ts +5 -5
- package/dist/components/Steps/StepsContext.d.ts +3 -3
- package/dist/components/Steps/StepsStep.d.ts +8 -8
- package/dist/components/Steps/index.d.ts +5 -5
- package/dist/components/Steps/useStep.test.d.ts +1 -1
- package/dist/components/Steps/useSteps.d.ts +30 -30
- package/dist/components/Switch/Switch.d.ts +11 -11
- package/dist/components/Switch/Switch.stories.d.ts +5 -5
- package/dist/components/Switch/Switch.test.d.ts +1 -1
- package/dist/components/Switch/index.d.ts +2 -2
- package/dist/components/Table/Selection.d.ts +34 -35
- package/dist/components/Table/Table.d.ts +38 -39
- package/dist/components/Table/Table.fixtures.d.ts +29 -29
- package/dist/components/Table/Table.stories.d.ts +61 -61
- package/dist/components/Table/Table.test.d.ts +1 -1
- package/dist/components/Table/Table.types.d.ts +72 -72
- package/dist/components/Table/TableSortHandle.d.ts +7 -8
- package/dist/components/Table/index.d.ts +2 -2
- package/dist/components/Table/useSortBy.d.ts +16 -16
- package/dist/components/Table/useSortBy.test.d.ts +1 -1
- package/dist/components/Table/useSortBy.types.d.ts +16 -16
- package/dist/components/TablePagination/RowsPerPage.d.ts +3 -4
- package/dist/components/TablePagination/TablePagination.d.ts +3 -4
- package/dist/components/TablePagination/TablePagination.stories.d.ts +5 -5
- package/dist/components/TablePagination/TablePagination.styles.d.ts +4 -5
- package/dist/components/TablePagination/TablePagination.test.d.ts +1 -1
- package/dist/components/TablePagination/TablePagination.types.d.ts +59 -59
- package/dist/components/TablePagination/TablePaginationActions.d.ts +11 -11
- package/dist/components/TablePagination/index.d.ts +2 -2
- package/dist/components/Tabs/Tabs.d.ts +49 -49
- package/dist/components/Tabs/Tabs.stories.d.ts +23 -23
- package/dist/components/Tabs/Tabs.test.d.ts +1 -1
- package/dist/components/Tabs/Tabs.types.d.ts +6 -6
- package/dist/components/Tabs/TabsContext.d.ts +8 -9
- package/dist/components/Tabs/index.d.ts +2 -2
- package/dist/components/Tag/Tag.d.ts +18 -19
- package/dist/components/Tag/Tag.stories.d.ts +42 -41
- package/dist/components/Tag/Tag.test.d.ts +1 -1
- package/dist/components/Tag/index.d.ts +2 -2
- package/dist/components/Text/Text.d.ts +9 -15
- package/dist/components/Text/Text.stories.d.ts +7 -5
- package/dist/components/Text/Text.test.d.ts +1 -1
- package/dist/components/Text/index.d.ts +2 -2
- package/dist/components/TextField/TextField.d.ts +18 -19
- package/dist/components/TextField/TextField.stories.d.ts +11 -11
- package/dist/components/TextField/TextField.test.d.ts +1 -1
- package/dist/components/TextField/index.d.ts +4 -4
- package/dist/components/TextField/useTextField.d.ts +6 -6
- package/dist/components/Textarea/Textarea.d.ts +16 -17
- package/dist/components/Textarea/Textarea.stories.d.ts +11 -11
- package/dist/components/Textarea/Textarea.test.d.ts +1 -1
- package/dist/components/Textarea/index.d.ts +2 -2
- package/dist/components/Toast/Toast.d.ts +11 -11
- package/dist/components/Toast/Toast.stories.d.ts +12 -12
- package/dist/components/Toast/Toast.test.d.ts +1 -1
- package/dist/components/Toast/index.d.ts +2 -2
- package/dist/components/ToggleGroup/Toggle.d.ts +4 -5
- package/dist/components/ToggleGroup/Toggle.test.d.ts +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.constants.d.ts +2 -2
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +6 -7
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +6 -6
- package/dist/components/ToggleGroup/ToggleGroup.test.d.ts +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.types.d.ts +26 -26
- package/dist/components/ToggleGroup/ToggleGroupContext.d.ts +5 -5
- package/dist/components/ToggleGroup/index.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.d.ts +22 -23
- package/dist/components/Tooltip/Tooltip.stories.d.ts +13 -13
- package/dist/components/Tooltip/Tooltip.test.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts +2 -2
- package/dist/components/TopNavigation/Logo/Logo.d.ts +8 -14
- package/dist/components/TopNavigation/Logo/Logo.test.d.ts +1 -1
- package/dist/components/TopNavigation/Logo/index.d.ts +1 -1
- package/dist/components/TopNavigation/Menu/Menu.d.ts +18 -18
- package/dist/components/TopNavigation/Menu/Menu.test.d.ts +1 -1
- package/dist/components/TopNavigation/Menu/MenuItemDropdown.d.ts +17 -17
- package/dist/components/TopNavigation/Menu/MenuItemIcon.d.ts +8 -8
- package/dist/components/TopNavigation/Menu/index.d.ts +1 -1
- package/dist/components/TopNavigation/OpenSideNavButton/OpenSideNavButton.d.ts +7 -8
- package/dist/components/TopNavigation/OpenSideNavButton/index.d.ts +1 -1
- package/dist/components/TopNavigation/TopNavigation.d.ts +11 -17
- package/dist/components/TopNavigation/TopNavigation.stories.d.ts +5 -6
- package/dist/components/TopNavigation/index.d.ts +2 -2
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +12 -13
- package/dist/components/VisuallyHidden/VisuallyHidden.test.d.ts +1 -1
- package/dist/components/VisuallyHidden/index.d.ts +1 -1
- package/dist/hooks/useClickOutside/index.d.ts +1 -1
- package/dist/hooks/useClickOutside/useClickOutside.d.ts +3 -3
- package/dist/hooks/useClickOutside/useClickOutside.test.d.ts +1 -1
- package/dist/hooks/useDidMount/index.d.ts +1 -1
- package/dist/hooks/useDidMount/useDidMount.d.ts +9 -9
- package/dist/hooks/useDidMount/useDidMount.test.d.ts +1 -1
- package/dist/hooks/useFingerprint/index.d.ts +1 -1
- package/dist/hooks/useFingerprint/useFingerprint.d.ts +18 -18
- package/dist/hooks/useFingerprint/useFingerprint.test.d.ts +1 -1
- package/dist/hooks/useFocusTrap/index.d.ts +2 -2
- package/dist/hooks/useFocusTrap/useFocusTrap.d.ts +27 -27
- package/dist/hooks/useFocusTrap/useFocusTrap.stories.d.ts +7 -7
- package/dist/hooks/useFocusTrap/useFocusTrap.test.d.ts +1 -1
- package/dist/hooks/useFocusWithin/index.d.ts +2 -2
- package/dist/hooks/useFocusWithin/useFocusWithin.d.ts +15 -15
- package/dist/hooks/useFocusWithin/useFocusWithin.test.d.ts +1 -1
- package/dist/hooks/useHeightExpansionToggler/index.d.ts +2 -2
- package/dist/hooks/useHeightExpansionToggler/useHeightExpansionToggler.d.ts +14 -14
- package/dist/hooks/useHeightExpansionToggler/useHeightExpansionToggler.test.d.ts +1 -1
- package/dist/hooks/useID/index.d.ts +1 -1
- package/dist/hooks/useID/useID.d.ts +2 -2
- package/dist/hooks/useSelectable/SelectableStrategy.d.ts +11 -11
- package/dist/hooks/useSelectable/SelectableStrategy.test.d.ts +1 -1
- package/dist/hooks/useSelectable/index.d.ts +2 -2
- package/dist/hooks/useSelectable/useSelectable.d.ts +6 -6
- package/dist/hooks/useSelectable/useSelectable.test.d.ts +1 -1
- package/dist/hooks/useSelectable/useSelectable.types.d.ts +46 -46
- package/dist/hooks/useWindowResize/index.d.ts +1 -1
- package/dist/hooks/useWindowResize/useWindowResize.d.ts +5 -5
- package/dist/index.d.ts +97 -97
- package/dist/index.js +305 -2676
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9310 -0
- package/dist/index.mjs.map +1 -0
- package/dist/miranda-compatibility.theme-C3Dt-45K.js +2 -0
- package/dist/miranda-compatibility.theme-C3Dt-45K.js.map +1 -0
- package/dist/miranda-compatibility.theme-ClCWbTIT.mjs +2525 -0
- package/dist/miranda-compatibility.theme-ClCWbTIT.mjs.map +1 -0
- package/dist/prop-C4yDbi0C.mjs +53 -0
- package/dist/prop-C4yDbi0C.mjs.map +1 -0
- package/dist/prop-pWSEOvKc.js +2 -0
- package/dist/{prop-597d4792.js.map → prop-pWSEOvKc.js.map} +1 -1
- package/dist/styles/activatable.d.ts +10 -10
- package/dist/styles/disableable.d.ts +10 -10
- package/dist/styles/ellipsizable.d.ts +7 -7
- package/dist/styles/focusable.d.ts +10 -10
- package/dist/styles/font.d.ts +16 -16
- package/dist/styles/font.test.d.ts +1 -1
- package/dist/styles/hidden.d.ts +7 -7
- package/dist/styles/hoverable.d.ts +10 -10
- package/dist/styles/transition.d.ts +11 -11
- package/dist/styles/typography.d.ts +26 -27
- package/dist/styles/typography.test.d.ts +1 -1
- package/dist/testing/DatePickerEvent/DatePickerEvent.d.ts +42 -42
- package/dist/testing/DatePickerEvent/DateRangePickerEvent.d.ts +41 -41
- package/dist/testing/DatePickerEvent/index.d.ts +2 -2
- package/dist/testing/DragDropFileEvent/DragDropFileEvent.d.ts +6 -6
- package/dist/testing/DragDropFileEvent/index.d.ts +1 -1
- package/dist/testing/SelectEvent/SelectEvent.d.ts +66 -66
- package/dist/testing/SelectEvent/SelectEvent.test.d.ts +1 -1
- package/dist/testing/SelectEvent/index.d.ts +1 -1
- package/dist/testing/getInterpolatedStyles/getInterpolatedStyles.d.ts +10 -10
- package/dist/testing/getInterpolatedStyles/index.d.ts +1 -1
- package/dist/testing/index.d.ts +5 -5
- package/dist/testing/index.js +1 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/testing/index.mjs +227 -0
- package/dist/testing/index.mjs.map +1 -0
- package/dist/testing/renderWithDragDropFileProvider/index.d.ts +1 -1
- package/dist/testing/renderWithDragDropFileProvider/renderWithDragDropFileProvider.d.ts +5 -5
- package/dist/tests/generator.d.ts +34 -35
- package/dist/tests/renderer.d.ts +9 -10
- package/dist/theming/index.d.ts +16 -16
- package/dist/theming/index.js +1 -1
- package/dist/theming/index.js.map +1 -1
- package/dist/theming/index.mjs +19 -0
- package/dist/theming/index.mjs.map +1 -0
- package/dist/theming/themes/alice.theme.d.ts +812 -812
- package/dist/theming/themes/index.d.ts +3 -3
- package/dist/theming/themes/loadsmart.theme.d.ts +794 -794
- package/dist/theming/themes/miranda-compatibility.theme.d.ts +808 -808
- package/dist/theming/theming.helpers.d.ts +22 -22
- package/dist/toArray-BJfx0Xhj.mjs +38 -0
- package/dist/toArray-BJfx0Xhj.mjs.map +1 -0
- package/dist/toArray-Dw6F-w3t.js +2 -0
- package/dist/{toArray-b56541b4.js.map → toArray-Dw6F-w3t.js.map} +1 -1
- package/dist/tools/conditional.d.ts +39 -39
- package/dist/tools/conditional.test.d.ts +1 -1
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js +1 -1
- package/dist/tools/index.mjs +7 -0
- package/dist/tools/index.mjs.map +1 -0
- package/dist/tools/prop.d.ts +15 -15
- package/dist/tools/prop.test.d.ts +1 -1
- package/dist/utils/toolset/awaitTo.d.ts +10 -10
- package/dist/utils/toolset/flatten.d.ts +2 -1
- package/dist/utils/toolset/formatBytes.d.ts +4 -4
- package/dist/utils/toolset/formatBytes.test.d.ts +1 -1
- package/dist/utils/toolset/get.d.ts +2 -1
- package/dist/utils/toolset/getID.d.ts +13 -13
- package/dist/utils/toolset/getID.test.d.ts +1 -1
- package/dist/utils/toolset/getOrdinalSuffix.d.ts +1 -1
- package/dist/utils/toolset/getOrdinalSuffix.test.d.ts +1 -1
- package/dist/utils/toolset/highlightMatch.d.ts +9 -10
- package/dist/utils/toolset/highlightMatch.test.d.ts +1 -1
- package/dist/utils/toolset/interleave.d.ts +2 -2
- package/dist/utils/toolset/interleave.test.d.ts +1 -1
- package/dist/utils/toolset/isEmpty.d.ts +2 -1
- package/dist/utils/toolset/isThenable.d.ts +5 -5
- package/dist/utils/toolset/isThenable.test.d.ts +1 -1
- package/dist/utils/toolset/keyboard.d.ts +24 -24
- package/dist/utils/toolset/omit.d.ts +2 -1
- package/dist/utils/toolset/pluralize.d.ts +14 -14
- package/dist/utils/toolset/range.d.ts +2 -1
- package/dist/utils/toolset/rem.d.ts +3 -3
- package/dist/utils/toolset/styledCompounds.d.ts +12 -13
- package/dist/utils/toolset/toArray.d.ts +2 -2
- package/dist/utils/types/ColorScheme.d.ts +2 -2
- package/dist/utils/types/EventLike.d.ts +10 -10
- package/dist/utils/types/InterpolatedStyle.d.ts +2 -2
- package/dist/utils/types/Status.d.ts +7 -7
- package/package.json +31 -50
- package/src/components/Dropdown/Dropdown.test.tsx +3 -1
- package/src/components/Icon/Icon.tsx +21 -21
- package/src/components/IconFactory/IconFactory.tsx +3 -3
- package/src/components/Select/Select.stories.tsx +1 -1
- package/src/components/Switch/Switch.test.tsx +3 -1
- package/src/components/Text/Text.stories.tsx +29 -25
- package/src/utils/toolset/flatten.ts +3 -1
- package/src/utils/toolset/get.ts +2 -1
- package/src/utils/toolset/isEmpty.ts +2 -1
- package/src/utils/toolset/omit.ts +2 -1
- package/src/utils/toolset/range.ts +2 -1
- package/dist/DragDropFile.context-bbb7d631.js +0 -2
- package/dist/DragDropFile.context-bbb7d631.js.map +0 -1
- package/dist/miranda-compatibility.theme-8689186b.js +0 -2
- package/dist/miranda-compatibility.theme-8689186b.js.map +0 -1
- package/dist/prop-597d4792.js +0 -2
- package/dist/toArray-b56541b4.js +0 -2
- package/dist/utils/toolset/debounce.d.ts +0 -1
- package/src/utils/toolset/debounce.ts +0 -1
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loadsmart/loadsmart-ui",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.0",
|
|
4
4
|
"description": "Miranda UI, a React UI library",
|
|
5
5
|
"main": "dist",
|
|
6
|
+
"type": "commonjs",
|
|
7
|
+
"module": "dist/index.mjs",
|
|
6
8
|
"files": [
|
|
7
9
|
"src",
|
|
8
10
|
"dist",
|
|
@@ -16,7 +18,7 @@
|
|
|
16
18
|
"test": "TZ=UTC jest --clearMocks",
|
|
17
19
|
"test-watch": "yarn test --watch",
|
|
18
20
|
"storybook": "storybook dev -p 6006",
|
|
19
|
-
"build": "
|
|
21
|
+
"build": "vite build",
|
|
20
22
|
"watch-tailwind": "postcss ./tailwind.css -o ./.storybook/globals.css --watch",
|
|
21
23
|
"docs:build": "storybook build -o ./docs",
|
|
22
24
|
"docs:deploy": "gh-pages -d docs -m \"chore(docs): update gh-pages [skip ci]\"",
|
|
@@ -50,22 +52,21 @@
|
|
|
50
52
|
"@babel/preset-typescript": "^7.18.6",
|
|
51
53
|
"@commitlint/cli": "^16.0.2",
|
|
52
54
|
"@commitlint/config-conventional": "^16.0.0",
|
|
53
|
-
"@loadsmart/miranda-tokens": "^
|
|
55
|
+
"@loadsmart/miranda-tokens": "^4.0.0-beta.57",
|
|
54
56
|
"@loadsmart/stylelint-config": "^0.0.3",
|
|
55
|
-
"@rollup
|
|
56
|
-
"@rollup/plugin-commonjs": "^19.0.0",
|
|
57
|
-
"@rollup/plugin-json": "^4.1.0",
|
|
58
|
-
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
57
|
+
"@optimize-lodash/rollup-plugin": "^5.0.2",
|
|
59
58
|
"@semantic-release/git": "^9.0.0",
|
|
60
|
-
"@storybook/addon-a11y": "^7.
|
|
61
|
-
"@storybook/addon-essentials": "^7.
|
|
62
|
-
"@storybook/addon-links": "^7.
|
|
63
|
-
"@storybook/addons": "^7.
|
|
64
|
-
"@storybook/
|
|
65
|
-
"@storybook/react
|
|
66
|
-
"@storybook/
|
|
67
|
-
"@
|
|
59
|
+
"@storybook/addon-a11y": "^7.6.20",
|
|
60
|
+
"@storybook/addon-essentials": "^7.6.20",
|
|
61
|
+
"@storybook/addon-links": "^7.6.20",
|
|
62
|
+
"@storybook/addons": "^7.6.20",
|
|
63
|
+
"@storybook/client-api": "^7.6.20",
|
|
64
|
+
"@storybook/react": "^7.6.20",
|
|
65
|
+
"@storybook/react-webpack5": "^7.6.20",
|
|
66
|
+
"@storybook/theming": "^7.6.20",
|
|
68
67
|
"@svgr/webpack": "^8.0.1",
|
|
68
|
+
"@swc/core": "^1.11.13",
|
|
69
|
+
"@swc/jest": "^0.2.37",
|
|
69
70
|
"@tailwindcss/postcss7-compat": "^2.1.2",
|
|
70
71
|
"@testing-library/dom": "^8.20.0",
|
|
71
72
|
"@testing-library/jest-dom": "^5.16.5",
|
|
@@ -73,13 +74,7 @@
|
|
|
73
74
|
"@testing-library/react-hooks": "^5.1.3",
|
|
74
75
|
"@testing-library/user-event": "^13.5.0",
|
|
75
76
|
"@types/chance": "^1.1.1",
|
|
76
|
-
"@types/jest": "^
|
|
77
|
-
"@types/lodash.debounce": "^4.0.6",
|
|
78
|
-
"@types/lodash.flatten": "^4.4.6",
|
|
79
|
-
"@types/lodash.get": "^4.4.6",
|
|
80
|
-
"@types/lodash.isempty": "^4.4.6",
|
|
81
|
-
"@types/lodash.omit": "^4.5.6",
|
|
82
|
-
"@types/lodash.range": "^3.2.6",
|
|
77
|
+
"@types/jest": "^29.5.14",
|
|
83
78
|
"@types/mdx": "^2.0.2",
|
|
84
79
|
"@types/node": "^18.11.18",
|
|
85
80
|
"@types/react": "^17.0.83",
|
|
@@ -88,14 +83,12 @@
|
|
|
88
83
|
"@types/styled-components": "^5.1.34",
|
|
89
84
|
"@typescript-eslint/eslint-plugin": "^4.22.1",
|
|
90
85
|
"@typescript-eslint/parser": "^4.22.1",
|
|
91
|
-
"@
|
|
86
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
92
87
|
"autoprefixer": "^9.8.8",
|
|
93
|
-
"babel-
|
|
94
|
-
"babel-loader": "8.2.2",
|
|
88
|
+
"babel-loader": "^10.0.0",
|
|
95
89
|
"babel-plugin-react-remove-properties": "^0.3.0",
|
|
96
|
-
"babel-plugin-styled-components": "^1.
|
|
90
|
+
"babel-plugin-styled-components": "^2.1.4",
|
|
97
91
|
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
|
98
|
-
"babel-preset-react-app": "^10.0.0",
|
|
99
92
|
"chance": "^1.1.8",
|
|
100
93
|
"commitizen": "^4.2.4",
|
|
101
94
|
"cross-env": "^7.0.3",
|
|
@@ -111,11 +104,12 @@
|
|
|
111
104
|
"eslint-plugin-testing-library": "^5.9.1",
|
|
112
105
|
"gh-pages": "^5.0.0",
|
|
113
106
|
"husky": "7.0.4",
|
|
114
|
-
"
|
|
115
|
-
"jest": "^
|
|
107
|
+
"jest": "^29.7.0",
|
|
108
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
116
109
|
"jest-junit": "^16.0.0",
|
|
117
|
-
"jest-transformer-svg": "^1.0
|
|
110
|
+
"jest-transformer-svg": "^2.1.0",
|
|
118
111
|
"lint-staged": "^11.0.0",
|
|
112
|
+
"lodash": "^4.17.21",
|
|
119
113
|
"npm-run-all": "^4.1.5",
|
|
120
114
|
"postcss": "^7.0.39",
|
|
121
115
|
"postcss-cli": "^7.1.2",
|
|
@@ -123,15 +117,8 @@
|
|
|
123
117
|
"react": "^17.0.2",
|
|
124
118
|
"react-dom": "^17.0.2",
|
|
125
119
|
"react-is": "^17.0.2",
|
|
126
|
-
"react-syntax-highlighter": "^15.5.0",
|
|
127
|
-
"rollup": "^2.79.1",
|
|
128
|
-
"rollup-plugin-delete": "^2.0.0",
|
|
129
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
130
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
131
|
-
"rollup-plugin-typescript2": "^0.34.1",
|
|
132
|
-
"rollup-plugin-visualizer": "^5.5.2",
|
|
133
120
|
"semantic-release": "^17.4.2",
|
|
134
|
-
"storybook": "^7.
|
|
121
|
+
"storybook": "^7.6.20",
|
|
135
122
|
"styled-components": "^5.3.11",
|
|
136
123
|
"stylelint": "^13.13.1",
|
|
137
124
|
"stylelint-config-prettier": "^8.0.2",
|
|
@@ -140,16 +127,16 @@
|
|
|
140
127
|
"stylelint-no-unsupported-browser-features": "^5.0.1",
|
|
141
128
|
"stylelint-order": "^4.1.0",
|
|
142
129
|
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
|
|
143
|
-
"ts-jest": "^27.1.5",
|
|
144
|
-
"ts-node": "^10.9.1",
|
|
145
130
|
"ts-toolbelt": "^9.6.0",
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
131
|
+
"typescript": "^5.8.2",
|
|
132
|
+
"vite": "^6.2.3",
|
|
133
|
+
"vite-plugin-dts": "^4.5.3",
|
|
134
|
+
"vite-plugin-svgr": "^4.3.0"
|
|
149
135
|
},
|
|
150
136
|
"peerDependencies": {
|
|
151
137
|
"@loadsmart/miranda-tokens": ">=1.3.0",
|
|
152
138
|
"@testing-library/react": ">=11.2.6",
|
|
139
|
+
"lodash": ">=4.0.0",
|
|
153
140
|
"react": ">=16.8.0",
|
|
154
141
|
"react-dom": ">=16.8.0",
|
|
155
142
|
"styled-components": ">=5.3.0"
|
|
@@ -159,13 +146,7 @@
|
|
|
159
146
|
"@loadsmart/utils-function": "0.3.1",
|
|
160
147
|
"@loadsmart/utils-object": "0.3.1",
|
|
161
148
|
"@loadsmart/utils-string": "0.3.1",
|
|
162
|
-
"clsx": "1.1.1"
|
|
163
|
-
"lodash.debounce": "4.0.8",
|
|
164
|
-
"lodash.flatten": "4.4.0",
|
|
165
|
-
"lodash.get": "4.4.2",
|
|
166
|
-
"lodash.isempty": "4.4.0",
|
|
167
|
-
"lodash.omit": "4.5.0",
|
|
168
|
-
"lodash.range": "3.2.0"
|
|
149
|
+
"clsx": "1.1.1"
|
|
169
150
|
},
|
|
170
151
|
"repository": {
|
|
171
152
|
"type": "git",
|
|
@@ -57,7 +57,9 @@ describe('Dropdown', () => {
|
|
|
57
57
|
it('does not toggles when disabled', async () => {
|
|
58
58
|
setup({ disabled: true })
|
|
59
59
|
|
|
60
|
-
user.click(screen.getByText('Actions')
|
|
60
|
+
user.click(screen.getByText('Actions'), undefined, {
|
|
61
|
+
skipPointerEventsCheck: true,
|
|
62
|
+
})
|
|
61
63
|
|
|
62
64
|
await waitFor(() => expect(screen.queryByTestId('dropdown-menu')).not.toBeInTheDocument())
|
|
63
65
|
})
|
|
@@ -25,27 +25,27 @@ import CaretRightLastIcon from './assets/caret-right-last.svg'
|
|
|
25
25
|
import type { IconProps as GenericIconProps } from '../IconFactory'
|
|
26
26
|
|
|
27
27
|
const icons = {
|
|
28
|
-
'burguer-menu': BurguerMenuIcon
|
|
29
|
-
calendar: CalendarIcon
|
|
30
|
-
'caret-down': CaretDownIcon
|
|
31
|
-
'caret-left': CaretLeftIcon
|
|
32
|
-
'caret-right': ChevronRightIcon
|
|
33
|
-
'chevron-down': ChevronDownIcon
|
|
34
|
-
back: BackIcon
|
|
35
|
-
check: CheckIcon
|
|
36
|
-
circle: CircleIcon
|
|
37
|
-
close: CloseIcon
|
|
38
|
-
information: InformationIcon
|
|
39
|
-
minus: MinusIcon
|
|
40
|
-
plus: PlusIcon
|
|
41
|
-
refresh: RefreshIcon
|
|
42
|
-
sort: SortIcon
|
|
43
|
-
'sort-asc': SortAscIcon
|
|
44
|
-
'sort-desc': SortDescIcon
|
|
45
|
-
upload: UploadIcon
|
|
46
|
-
warning: WarningIcon
|
|
47
|
-
'dots-horizontal': DotsHorizontalIcon
|
|
48
|
-
'caret-right-last': CaretRightLastIcon
|
|
28
|
+
'burguer-menu': BurguerMenuIcon,
|
|
29
|
+
calendar: CalendarIcon,
|
|
30
|
+
'caret-down': CaretDownIcon,
|
|
31
|
+
'caret-left': CaretLeftIcon,
|
|
32
|
+
'caret-right': ChevronRightIcon,
|
|
33
|
+
'chevron-down': ChevronDownIcon,
|
|
34
|
+
back: BackIcon,
|
|
35
|
+
check: CheckIcon,
|
|
36
|
+
circle: CircleIcon,
|
|
37
|
+
close: CloseIcon,
|
|
38
|
+
information: InformationIcon,
|
|
39
|
+
minus: MinusIcon,
|
|
40
|
+
plus: PlusIcon,
|
|
41
|
+
refresh: RefreshIcon,
|
|
42
|
+
sort: SortIcon,
|
|
43
|
+
'sort-asc': SortAscIcon,
|
|
44
|
+
'sort-desc': SortDescIcon,
|
|
45
|
+
upload: UploadIcon,
|
|
46
|
+
warning: WarningIcon,
|
|
47
|
+
'dots-horizontal': DotsHorizontalIcon,
|
|
48
|
+
'caret-right-last': CaretRightLastIcon,
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
const Icon = IconFactory(icons)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ReactNode, ComponentType } from 'react'
|
|
1
|
+
import React, { ReactNode, ComponentType, type ReactElement } from 'react'
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
|
|
4
4
|
import transition from 'styles/transition'
|
|
@@ -44,9 +44,9 @@ export interface IconProps<T> {
|
|
|
44
44
|
color?: ThemeColors
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
export type IconMapping = Record<string,
|
|
47
|
+
export type IconMapping = Record<string, ReactElement | ((props: never) => ReactElement)>
|
|
48
48
|
|
|
49
|
-
export function UnknownIcon():
|
|
49
|
+
export function UnknownIcon(): ReactElement {
|
|
50
50
|
return <span aria-label="Unknown icon">☹</span>
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -36,7 +36,9 @@ describe('ToggleSwitch', () => {
|
|
|
36
36
|
|
|
37
37
|
expect(screen.getByTitle('inactive')).toHaveClass('is-disabled')
|
|
38
38
|
|
|
39
|
-
userEvent.click(screen.getByTitle('inactive')
|
|
39
|
+
userEvent.click(screen.getByTitle('inactive'), undefined, {
|
|
40
|
+
skipPointerEventsCheck: true,
|
|
41
|
+
})
|
|
40
42
|
|
|
41
43
|
screen.getByTitle('inactive')
|
|
42
44
|
expect(screen.queryByTitle('active')).not.toBeInTheDocument()
|
|
@@ -1,55 +1,59 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import type {
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react'
|
|
3
3
|
|
|
4
4
|
import { Text } from '.'
|
|
5
5
|
import type { TextProps } from './Text'
|
|
6
6
|
import { COLORS } from '../../theming/themes/loadsmart.theme'
|
|
7
7
|
import { typographyProperties } from 'styles/typography'
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const meta: Meta<typeof Text> = {
|
|
10
10
|
title: 'Components/Text',
|
|
11
11
|
component: Text,
|
|
12
12
|
argTypes: {
|
|
13
13
|
children: {
|
|
14
|
-
control:
|
|
15
|
-
defaultValue: 'This is a sample text content.',
|
|
14
|
+
control: 'text',
|
|
16
15
|
description: 'Children to be passed as text content.',
|
|
17
16
|
},
|
|
18
17
|
variant: {
|
|
19
|
-
control:
|
|
20
|
-
|
|
21
|
-
options: Object.keys(typographyProperties),
|
|
22
|
-
},
|
|
23
|
-
defaultValue: Object.keys(typographyProperties)[0],
|
|
18
|
+
control: 'select',
|
|
19
|
+
options: Object.keys(typographyProperties),
|
|
24
20
|
description: 'One of the documented typography variants',
|
|
25
21
|
},
|
|
26
22
|
italic: {
|
|
27
|
-
control:
|
|
28
|
-
defaultValue: false,
|
|
23
|
+
control: 'boolean',
|
|
29
24
|
description: 'Controls if the text should be on italic mode.',
|
|
30
25
|
},
|
|
31
26
|
color: {
|
|
32
|
-
control:
|
|
33
|
-
|
|
27
|
+
control: 'select',
|
|
28
|
+
options: Object.keys(COLORS),
|
|
34
29
|
description: 'Accepts all colors supported by the theme.',
|
|
35
30
|
},
|
|
36
31
|
as: {
|
|
37
|
-
control:
|
|
38
|
-
type: 'text',
|
|
39
|
-
},
|
|
32
|
+
control: 'text',
|
|
40
33
|
description:
|
|
41
34
|
'Which HTML element will be used, such as `span`, `p`, `h1-h6`, `blockquote`, `q`, `abbr`, `address`, `cite`, and others.',
|
|
42
|
-
defaultValue: 'span',
|
|
43
35
|
},
|
|
44
36
|
},
|
|
45
|
-
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export default meta
|
|
40
|
+
|
|
41
|
+
type Story = StoryObj<TextProps>
|
|
46
42
|
|
|
47
|
-
export const Playground: Story
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
43
|
+
export const Playground: Story = {
|
|
44
|
+
args: {
|
|
45
|
+
children: 'This is a sample text content.',
|
|
46
|
+
italic: false,
|
|
47
|
+
variant: 'body',
|
|
48
|
+
color: 'color-neutral-darkest',
|
|
49
|
+
},
|
|
50
|
+
render: (args) => {
|
|
51
|
+
return (
|
|
52
|
+
<div className="flex flex-col space-y-2">
|
|
53
|
+
<div className="flex items-center">
|
|
54
|
+
<Text {...args} />
|
|
55
|
+
</div>
|
|
52
56
|
</div>
|
|
53
|
-
|
|
54
|
-
|
|
57
|
+
)
|
|
58
|
+
},
|
|
55
59
|
}
|
package/src/utils/toolset/get.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { get } from 'lodash'
|
|
2
|
+
export default get
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { isEmpty } from 'lodash'
|
|
2
|
+
export default isEmpty
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { omit } from 'lodash'
|
|
2
|
+
export default omit
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { range } from 'lodash'
|
|
2
|
+
export default range
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react");function t(e){return e&&e.__esModule?e:{default:e}}var r=t(e);const o=e.createContext(void 0);exports.DragDropFileContext=o,exports.DragDropFileProvider=({fileList:t,onFilesAdded:n,onFileRemoved:i,onRetryUpload:l,children:a})=>{const c=e.useCallback(((e,r)=>{i([...t.slice(0,r),...t.slice(r+1)],e,r)}),[t]),s=e.useMemo((()=>({fileList:t,onFilesAdded:n,onRemoveFile:c,onRetryUpload:l})),[t,n,c,l]);return r.default.createElement(o.Provider,{value:s},a)},exports.__awaiter=function(e,t,r,o){return new(r||(r=Promise))((function(n,i){function l(e){try{c(o.next(e))}catch(e){i(e)}}function a(e){try{c(o.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,a)}c((o=o.apply(e,t||[])).next())}))},exports.__rest=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r},exports.useDragDropFileContext=()=>{const t=e.useContext(o);if(!t)throw new Error("useDragDropFileContext must be used within an DragDropFileProvider");return t};
|
|
2
|
-
//# sourceMappingURL=DragDropFile.context-bbb7d631.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DragDropFile.context-bbb7d631.js","sources":["../src/components/DragDropFile/DragDropFile.context.tsx","../node_modules/tslib/tslib.es6.js"],"sourcesContent":["import React, { createContext, useContext, useCallback, useMemo } from 'react'\n\nimport type { DragDropFileContextValue, DragDropFileProviderProps, FileWithStatus } from './types'\n\nexport const DragDropFileContext = createContext<DragDropFileContextValue | undefined>(undefined)\n\nexport const DragDropFileProvider = ({\n fileList,\n onFilesAdded,\n onFileRemoved,\n onRetryUpload,\n children,\n}: DragDropFileProviderProps): JSX.Element => {\n const onRemoveFile = useCallback(\n (removedItem: FileWithStatus, index: number) => {\n onFileRemoved([...fileList.slice(0, index), ...fileList.slice(index + 1)], removedItem, index)\n },\n [fileList]\n )\n\n const contextValue = useMemo(\n () => ({ fileList, onFilesAdded, onRemoveFile, onRetryUpload }),\n [fileList, onFilesAdded, onRemoveFile, onRetryUpload]\n )\n\n return (\n <DragDropFileContext.Provider value={contextValue}>{children}</DragDropFileContext.Provider>\n )\n}\n\nexport const useDragDropFileContext = (): DragDropFileContextValue => {\n const context = useContext(DragDropFileContext)\n\n if (!context) {\n throw new Error('useDragDropFileContext must be used within an DragDropFileProvider')\n }\n\n return context\n}\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport default {\r\n __extends,\r\n __assign,\r\n __rest,\r\n __decorate,\r\n __param,\r\n __metadata,\r\n __awaiter,\r\n __generator,\r\n __createBinding,\r\n __exportStar,\r\n __values,\r\n __read,\r\n __spread,\r\n __spreadArrays,\r\n __spreadArray,\r\n __await,\r\n __asyncGenerator,\r\n __asyncDelegator,\r\n __asyncValues,\r\n __makeTemplateObject,\r\n __importStar,\r\n __importDefault,\r\n __classPrivateFieldGet,\r\n __classPrivateFieldSet,\r\n __classPrivateFieldIn,\r\n};\r\n"],"names":["DragDropFileContext","createContext","undefined","fileList","onFilesAdded","onFileRemoved","onRetryUpload","children","onRemoveFile","useCallback","removedItem","index","slice","contextValue","useMemo","React","createElement","Provider","value","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","step","next","e","rejected","result","done","then","apply","s","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","context","useContext","Error"],"mappings":"wGAIaA,EAAsBC,EAAaA,mBAAuCC,8DAEnD,EAClCC,WACAC,eACAC,gBACAC,gBACAC,eAEA,MAAMC,EAAeC,EAAAA,aACnB,CAACC,EAA6BC,KAC5BN,EAAc,IAAIF,EAASS,MAAM,EAAGD,MAAWR,EAASS,MAAMD,EAAQ,IAAKD,EAAaC,EAAM,GAEhG,CAACR,IAGGU,EAAeC,EAAOA,SAC1B,KAAO,CAAEX,WAAUC,eAAcI,eAAcF,mBAC/C,CAACH,EAAUC,EAAcI,EAAcF,IAGzC,OACES,EAAA,QAAAC,cAAChB,EAAoBiB,SAAQ,CAACC,MAAOL,GAAeN,EACrD,oBCuFI,SAAmBY,EAASC,EAAYC,EAAGC,GAE9C,OAAO,IAAKD,IAAMA,EAAIE,WAAU,SAAUC,EAASC,GAC/C,SAASC,EAAUR,GAAS,IAAMS,EAAKL,EAAUM,KAAKV,GAAQ,CAAG,MAAOW,GAAKJ,EAAOI,GAAO,CAC3F,SAASC,EAASZ,GAAS,IAAMS,EAAKL,EAAiB,MAAEJ,GAAU,CAAC,MAAOW,GAAKJ,EAAOI,GAAO,CAC9F,SAASF,EAAKI,GAJlB,IAAeb,EAIaa,EAAOC,KAAOR,EAAQO,EAAOb,QAJ1CA,EAIyDa,EAAOb,MAJhDA,aAAiBG,EAAIH,EAAQ,IAAIG,GAAE,SAAUG,GAAWA,EAAQN,EAAO,KAIhBe,KAAKP,EAAWI,EAAY,CAC9GH,GAAML,EAAYA,EAAUY,MAAMf,EAASC,GAAc,KAAKQ,OACtE,GACA,iBAhFO,SAAgBO,EAAGN,GACtB,IAAIO,EAAI,CAAA,EACR,IAAK,IAAIC,KAAKF,EAAOG,OAAOC,UAAUC,eAAeC,KAAKN,EAAGE,IAAMR,EAAEa,QAAQL,GAAK,IAC9ED,EAAEC,GAAKF,EAAEE,IACb,GAAS,MAALF,GAAqD,mBAAjCG,OAAOK,sBACtB,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBR,GAAIS,EAAIP,EAAEQ,OAAQD,IAC3Df,EAAEa,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKN,EAAGE,EAAEO,MACvER,EAAEC,EAAEO,IAAMT,EAAEE,EAAEO,IAF4B,CAItD,OAAOR,CACX,iCDtBsC,KACpC,MAAMW,EAAUC,aAAWhD,GAE3B,IAAK+C,EACH,MAAM,IAAIE,MAAM,sEAGlB,OAAOF,CAAO"}
|