@lumx/react 3.0.6 → 3.0.7-alpha.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/{CONTRIBUTING.md → dist/CONTRIBUTING.md} +0 -0
- package/{LICENSE.md → dist/LICENSE.md} +0 -0
- package/dist/README.md +38 -0
- package/{_internal → dist/_internal}/ClickAwayProvider.js +0 -0
- package/{_internal → dist/_internal}/ClickAwayProvider.js.map +0 -0
- package/{_internal → dist/_internal}/types.d.ts +0 -0
- package/{index.d.ts → dist/index.d.ts} +60 -1
- package/{index.js → dist/index.js} +767 -613
- package/dist/index.js.map +1 -0
- package/dist/package.json +117 -0
- package/dist/src/components/alert-dialog/AlertDialog.stories.tsx +196 -0
- package/dist/src/components/alert-dialog/AlertDialog.test.tsx +43 -0
- package/dist/src/components/alert-dialog/AlertDialog.tsx +185 -0
- package/dist/src/components/alert-dialog/__snapshots__/AlertDialog.test.tsx.snap +551 -0
- package/dist/src/components/alert-dialog/index.ts +1 -0
- package/dist/src/components/autocomplete/Autocomplete.stories.tsx +70 -0
- package/dist/src/components/autocomplete/Autocomplete.test.tsx +181 -0
- package/dist/src/components/autocomplete/Autocomplete.tsx +292 -0
- package/dist/src/components/autocomplete/AutocompleteMultiple.stories.tsx +170 -0
- package/dist/src/components/autocomplete/AutocompleteMultiple.test.tsx +94 -0
- package/dist/src/components/autocomplete/AutocompleteMultiple.tsx +156 -0
- package/dist/src/components/autocomplete/__mockData__/index.ts +34 -0
- package/dist/src/components/autocomplete/__snapshots__/Autocomplete.test.tsx.snap +213 -0
- package/dist/src/components/autocomplete/__snapshots__/AutocompleteMultiple.test.tsx.snap +88 -0
- package/dist/src/components/autocomplete/index.ts +2 -0
- package/dist/src/components/avatar/Avatar.stories.tsx +92 -0
- package/dist/src/components/avatar/Avatar.test.tsx +39 -0
- package/dist/src/components/avatar/Avatar.tsx +112 -0
- package/dist/src/components/avatar/__snapshots__/Avatar.test.tsx.snap +681 -0
- package/dist/src/components/avatar/index.ts +1 -0
- package/dist/src/components/badge/Badge.stories.tsx +45 -0
- package/dist/src/components/badge/Badge.test.tsx +91 -0
- package/dist/src/components/badge/Badge.tsx +55 -0
- package/dist/src/components/badge/__snapshots__/Badge.test.tsx.snap +11 -0
- package/dist/src/components/badge/index.ts +1 -0
- package/dist/src/components/button/Button.stories.tsx +156 -0
- package/dist/src/components/button/Button.test.tsx +152 -0
- package/dist/src/components/button/Button.tsx +81 -0
- package/dist/src/components/button/ButtonGroup.test.tsx +66 -0
- package/dist/src/components/button/ButtonGroup.tsx +46 -0
- package/dist/src/components/button/ButtonRoot.test.tsx +203 -0
- package/dist/src/components/button/ButtonRoot.tsx +190 -0
- package/dist/src/components/button/IconButton.test.tsx +103 -0
- package/dist/src/components/button/IconButton.tsx +80 -0
- package/dist/src/components/button/__snapshots__/Button.test.tsx.snap +96 -0
- package/dist/src/components/button/__snapshots__/ButtonGroup.test.tsx.snap +22 -0
- package/dist/src/components/button/__snapshots__/ButtonRoot.test.tsx.snap +160 -0
- package/dist/src/components/button/__snapshots__/IconButton.test.tsx.snap +83 -0
- package/dist/src/components/button/index.ts +4 -0
- package/dist/src/components/checkbox/Checkbox.stories.tsx +37 -0
- package/dist/src/components/checkbox/Checkbox.test.tsx +114 -0
- package/dist/src/components/checkbox/Checkbox.tsx +145 -0
- package/dist/src/components/checkbox/__snapshots__/Checkbox.test.tsx.snap +141 -0
- package/dist/src/components/checkbox/index.ts +1 -0
- package/dist/src/components/chip/Chip.stories.tsx +21 -0
- package/dist/src/components/chip/Chip.test.tsx +199 -0
- package/dist/src/components/chip/Chip.tsx +154 -0
- package/dist/src/components/chip/ChipGroup.test.tsx +29 -0
- package/dist/src/components/chip/ChipGroup.tsx +62 -0
- package/dist/src/components/chip/__snapshots__/Chip.test.tsx.snap +12 -0
- package/dist/src/components/chip/__snapshots__/ChipGroup.test.tsx.snap +29 -0
- package/dist/src/components/chip/index.ts +2 -0
- package/dist/src/components/comment-block/CommentBlock.stories.tsx +30 -0
- package/dist/src/components/comment-block/CommentBlock.test.tsx +28 -0
- package/dist/src/components/comment-block/CommentBlock.tsx +174 -0
- package/dist/src/components/comment-block/__snapshots__/CommentBlock.test.tsx.snap +92 -0
- package/dist/src/components/comment-block/index.ts +1 -0
- package/dist/src/components/date-picker/DatePicker.test.tsx +41 -0
- package/dist/src/components/date-picker/DatePicker.tsx +56 -0
- package/dist/src/components/date-picker/DatePickerControlled.test.tsx +44 -0
- package/dist/src/components/date-picker/DatePickerControlled.tsx +128 -0
- package/dist/src/components/date-picker/DatePickerField.stories.tsx +93 -0
- package/dist/src/components/date-picker/DatePickerField.test.tsx +47 -0
- package/dist/src/components/date-picker/DatePickerField.tsx +141 -0
- package/dist/src/components/date-picker/__snapshots__/DatePicker.test.tsx.snap +22 -0
- package/dist/src/components/date-picker/__snapshots__/DatePickerControlled.test.tsx.snap +597 -0
- package/dist/src/components/date-picker/__snapshots__/DatePickerField.test.tsx.snap +43 -0
- package/dist/src/components/date-picker/constants.ts +11 -0
- package/dist/src/components/date-picker/index.ts +4 -0
- package/dist/src/components/date-picker/types.ts +28 -0
- package/dist/src/components/dialog/Dialog.stories.tsx +426 -0
- package/dist/src/components/dialog/Dialog.test.tsx +93 -0
- package/dist/src/components/dialog/Dialog.tsx +263 -0
- package/dist/src/components/dialog/__snapshots__/Dialog.test.tsx.snap +960 -0
- package/dist/src/components/dialog/index.ts +1 -0
- package/dist/src/components/divider/Divider.test.tsx +93 -0
- package/dist/src/components/divider/Divider.tsx +51 -0
- package/dist/src/components/divider/__snapshots__/Divider.test.tsx.snap +9 -0
- package/dist/src/components/divider/index.ts +1 -0
- package/dist/src/components/drag-handle/DragHandle.tsx +50 -0
- package/dist/src/components/drag-handle/index.ts +1 -0
- package/dist/src/components/dropdown/Dropdown.stories.tsx +216 -0
- package/dist/src/components/dropdown/Dropdown.test.tsx +97 -0
- package/dist/src/components/dropdown/Dropdown.tsx +184 -0
- package/dist/src/components/dropdown/__snapshots__/Dropdown.test.tsx.snap +35 -0
- package/dist/src/components/dropdown/index.ts +1 -0
- package/dist/src/components/expansion-panel/ExpansionPanel.test.tsx +116 -0
- package/dist/src/components/expansion-panel/ExpansionPanel.tsx +170 -0
- package/dist/src/components/expansion-panel/index.ts +1 -0
- package/dist/src/components/flag/Flag.stories.tsx +23 -0
- package/dist/src/components/flag/Flag.test.tsx +86 -0
- package/dist/src/components/flag/Flag.tsx +47 -0
- package/dist/src/components/flag/__snapshots__/Flag.test.tsx.snap +133 -0
- package/dist/src/components/flag/index.ts +1 -0
- package/dist/src/components/flex-box/FlexBox.stories.tsx +245 -0
- package/dist/src/components/flex-box/FlexBox.test.tsx +65 -0
- package/dist/src/components/flex-box/FlexBox.tsx +98 -0
- package/dist/src/components/flex-box/__snapshots__/FlexBox.test.tsx.snap +492 -0
- package/dist/src/components/flex-box/index.ts +1 -0
- package/dist/src/components/generic-block/GenericBlock.stories.jsx +128 -0
- package/dist/src/components/generic-block/GenericBlock.test.tsx +152 -0
- package/dist/src/components/generic-block/GenericBlock.tsx +222 -0
- package/dist/src/components/generic-block/constants.ts +9 -0
- package/dist/src/components/generic-block/index.ts +2 -0
- package/dist/src/components/grid/Grid.tsx +73 -0
- package/dist/src/components/grid/GridItem.tsx +54 -0
- package/dist/src/components/grid/index.ts +2 -0
- package/dist/src/components/grid-column/GridColumn.stories.jsx +56 -0
- package/dist/src/components/grid-column/GridColumn.test.jsx +58 -0
- package/dist/src/components/grid-column/GridColumn.tsx +90 -0
- package/dist/src/components/grid-column/index.ts +1 -0
- package/dist/src/components/heading/Heading.stories.tsx +108 -0
- package/dist/src/components/heading/Heading.test.tsx +82 -0
- package/dist/src/components/heading/Heading.tsx +63 -0
- package/dist/src/components/heading/HeadingLevelProvider.tsx +30 -0
- package/dist/src/components/heading/constants.ts +16 -0
- package/dist/src/components/heading/context.tsx +13 -0
- package/dist/src/components/heading/index.ts +3 -0
- package/dist/src/components/heading/useHeadingLevel.tsx +8 -0
- package/dist/src/components/icon/Icon.stories.tsx +76 -0
- package/dist/src/components/icon/Icon.test.tsx +102 -0
- package/dist/src/components/icon/Icon.tsx +121 -0
- package/dist/src/components/icon/__snapshots__/Icon.test.tsx.snap +49 -0
- package/dist/src/components/icon/index.ts +1 -0
- package/dist/src/components/image-block/ImageBlock.stories.tsx +52 -0
- package/dist/src/components/image-block/ImageBlock.test.tsx +28 -0
- package/dist/src/components/image-block/ImageBlock.tsx +151 -0
- package/dist/src/components/image-block/__snapshots__/ImageBlock.test.tsx.snap +64 -0
- package/dist/src/components/image-block/index.ts +1 -0
- package/dist/src/components/index.ts +176 -0
- package/dist/src/components/inline-list/InlineList.stories.tsx +40 -0
- package/dist/src/components/inline-list/InlineList.test.tsx +41 -0
- package/dist/src/components/inline-list/InlineList.tsx +82 -0
- package/dist/src/components/inline-list/index.ts +1 -0
- package/dist/src/components/input-helper/InputHelper.stories.tsx +29 -0
- package/dist/src/components/input-helper/InputHelper.test.tsx +107 -0
- package/dist/src/components/input-helper/InputHelper.tsx +61 -0
- package/dist/src/components/input-helper/__snapshots__/InputHelper.test.tsx.snap +9 -0
- package/dist/src/components/input-helper/constants.ts +11 -0
- package/dist/src/components/input-helper/index.ts +1 -0
- package/dist/src/components/input-label/InputLabel.stories.tsx +15 -0
- package/dist/src/components/input-label/InputLabel.test.tsx +86 -0
- package/dist/src/components/input-label/InputLabel.tsx +59 -0
- package/dist/src/components/input-label/__snapshots__/InputLabel.test.tsx.snap +10 -0
- package/dist/src/components/input-label/index.ts +1 -0
- package/dist/src/components/lightbox/Lightbox.stories.tsx +83 -0
- package/dist/src/components/lightbox/Lightbox.test.tsx +30 -0
- package/dist/src/components/lightbox/Lightbox.tsx +153 -0
- package/dist/src/components/lightbox/__snapshots__/Lightbox.test.tsx.snap +194 -0
- package/dist/src/components/lightbox/index.ts +1 -0
- package/dist/src/components/link/Link.stories.tsx +141 -0
- package/dist/src/components/link/Link.test.tsx +60 -0
- package/dist/src/components/link/Link.tsx +156 -0
- package/dist/src/components/link/__snapshots__/Link.test.tsx.snap +29 -0
- package/dist/src/components/link/index.ts +1 -0
- package/dist/src/components/link-preview/LinkPreview.stories.tsx +88 -0
- package/dist/src/components/link-preview/LinkPreview.test.tsx +102 -0
- package/dist/src/components/link-preview/LinkPreview.tsx +158 -0
- package/dist/src/components/link-preview/index.ts +1 -0
- package/dist/src/components/list/List.stories.tsx +141 -0
- package/dist/src/components/list/List.test.tsx +29 -0
- package/dist/src/components/list/List.tsx +94 -0
- package/dist/src/components/list/ListDivider.stories.tsx +7 -0
- package/dist/src/components/list/ListDivider.test.tsx +29 -0
- package/dist/src/components/list/ListDivider.tsx +42 -0
- package/dist/src/components/list/ListItem.stories.tsx +62 -0
- package/{src/components/progress/Progress.test.tsx → dist/src/components/list/ListItem.test.tsx} +8 -7
- package/dist/src/components/list/ListItem.tsx +154 -0
- package/dist/src/components/list/ListSubheader.stories.tsx +8 -0
- package/dist/src/components/list/ListSubheader.test.tsx +29 -0
- package/dist/src/components/list/ListSubheader.tsx +43 -0
- package/dist/src/components/list/__snapshots__/List.test.tsx.snap +360 -0
- package/dist/src/components/list/__snapshots__/ListDivider.test.tsx.snap +7 -0
- package/dist/src/components/list/__snapshots__/ListItem.test.tsx.snap +160 -0
- package/dist/src/components/list/__snapshots__/ListSubheader.test.tsx.snap +9 -0
- package/dist/src/components/list/index.ts +4 -0
- package/dist/src/components/list/useInteractiveList.tsx +202 -0
- package/dist/src/components/message/Message.stories.tsx +27 -0
- package/dist/src/components/message/Message.test.tsx +76 -0
- package/dist/src/components/message/Message.tsx +74 -0
- package/dist/src/components/message/__snapshots__/Message.test.tsx.snap +15 -0
- package/dist/src/components/message/index.ts +1 -0
- package/dist/src/components/mosaic/Mosaic.stories.tsx +85 -0
- package/dist/src/components/mosaic/Mosaic.test.tsx +120 -0
- package/dist/src/components/mosaic/Mosaic.tsx +95 -0
- package/dist/src/components/mosaic/__snapshots__/Mosaic.test.tsx.snap +357 -0
- package/dist/src/components/mosaic/index.ts +1 -0
- package/dist/src/components/notification/Notification.test.tsx +108 -0
- package/dist/src/components/notification/Notification.tsx +130 -0
- package/dist/src/components/notification/Notifications.stories.tsx +77 -0
- package/dist/src/components/notification/__snapshots__/Notification.test.tsx.snap +34 -0
- package/dist/src/components/notification/constants.ts +28 -0
- package/dist/src/components/notification/index.ts +1 -0
- package/dist/src/components/popover/Popover.stories.tsx +386 -0
- package/dist/src/components/popover/Popover.test.tsx +30 -0
- package/dist/src/components/popover/Popover.tsx +382 -0
- package/dist/src/components/popover/__snapshots__/Popover.test.tsx.snap +343 -0
- package/dist/src/components/popover/index.ts +1 -0
- package/dist/src/components/popover-dialog/PopoverDialog.stories.tsx +75 -0
- package/dist/src/components/popover-dialog/PopoverDialog.test.tsx +65 -0
- package/dist/src/components/popover-dialog/PopoverDialog.tsx +65 -0
- package/dist/src/components/popover-dialog/index.tsx +1 -0
- package/dist/src/components/post-block/PostBlock.test.tsx +28 -0
- package/dist/src/components/post-block/PostBlock.tsx +123 -0
- package/dist/src/components/post-block/__snapshots__/PostBlock.test.tsx.snap +139 -0
- package/dist/src/components/post-block/index.ts +1 -0
- package/dist/src/components/progress/Progress.tsx +68 -0
- package/dist/src/components/progress/ProgressCircular.stories.tsx +18 -0
- package/dist/src/components/progress/ProgressCircular.test.tsx +49 -0
- package/dist/src/components/progress/ProgressCircular.tsx +68 -0
- package/dist/src/components/progress/ProgressLinear.stories.tsx +8 -0
- package/dist/src/components/progress/ProgressLinear.test.tsx +37 -0
- package/dist/src/components/progress/ProgressLinear.tsx +52 -0
- package/dist/src/components/progress/index.ts +3 -0
- package/dist/src/components/progress-tracker/ProgressTracker.stories.tsx +145 -0
- package/dist/src/components/progress-tracker/ProgressTracker.test.tsx +57 -0
- package/dist/src/components/progress-tracker/ProgressTracker.tsx +89 -0
- package/dist/src/components/progress-tracker/ProgressTrackerProvider.test.tsx +42 -0
- package/dist/src/components/progress-tracker/ProgressTrackerProvider.tsx +66 -0
- package/dist/src/components/progress-tracker/ProgressTrackerStep.test.tsx +128 -0
- package/dist/src/components/progress-tracker/ProgressTrackerStep.tsx +159 -0
- package/dist/src/components/progress-tracker/ProgressTrackerStepPanel.test.tsx +73 -0
- package/dist/src/components/progress-tracker/ProgressTrackerStepPanel.tsx +67 -0
- package/dist/src/components/progress-tracker/__snapshots__/ProgressTracker.test.tsx.snap +41 -0
- package/dist/src/components/progress-tracker/__snapshots__/ProgressTrackerStep.test.tsx.snap +141 -0
- package/dist/src/components/progress-tracker/__snapshots__/ProgressTrackerStepPanel.test.tsx.snap +25 -0
- package/dist/src/components/progress-tracker/index.ts +4 -0
- package/dist/src/components/radio-button/RadioButton.stories.tsx +28 -0
- package/dist/src/components/radio-button/RadioButton.test.tsx +123 -0
- package/dist/src/components/radio-button/RadioButton.tsx +141 -0
- package/dist/src/components/radio-button/RadioGroup.stories.tsx +42 -0
- package/dist/src/components/radio-button/RadioGroup.test.tsx +77 -0
- package/dist/src/components/radio-button/RadioGroup.tsx +52 -0
- package/dist/src/components/radio-button/__snapshots__/RadioButton.test.tsx.snap +113 -0
- package/dist/src/components/radio-button/__snapshots__/RadioGroup.test.tsx.snap +26 -0
- package/dist/src/components/radio-button/index.ts +2 -0
- package/dist/src/components/select/Select.stories.tsx +399 -0
- package/dist/src/components/select/Select.test.tsx +359 -0
- package/dist/src/components/select/Select.tsx +193 -0
- package/dist/src/components/select/SelectMultiple.stories.tsx +227 -0
- package/dist/src/components/select/SelectMultiple.test.tsx +405 -0
- package/dist/src/components/select/SelectMultiple.tsx +198 -0
- package/dist/src/components/select/WithSelectContext.tsx +143 -0
- package/dist/src/components/select/__snapshots__/Select.test.tsx.snap +43 -0
- package/dist/src/components/select/__snapshots__/SelectMultiple.test.tsx.snap +87 -0
- package/dist/src/components/select/constants.ts +53 -0
- package/dist/src/components/select/index.ts +2 -0
- package/dist/src/components/side-navigation/SideNavigation.stories.tsx +191 -0
- package/dist/src/components/side-navigation/SideNavigation.test.tsx +52 -0
- package/dist/src/components/side-navigation/SideNavigation.tsx +54 -0
- package/dist/src/components/side-navigation/SideNavigationItem.test.tsx +175 -0
- package/dist/src/components/side-navigation/SideNavigationItem.tsx +162 -0
- package/dist/src/components/side-navigation/__snapshots__/SideNavigation.test.tsx.snap +7 -0
- package/dist/src/components/side-navigation/__snapshots__/SideNavigationItem.test.tsx.snap +30 -0
- package/dist/src/components/side-navigation/index.ts +2 -0
- package/dist/src/components/skeleton/SkeletonCircle.stories.tsx +25 -0
- package/dist/src/components/skeleton/SkeletonCircle.test.tsx +28 -0
- package/dist/src/components/skeleton/SkeletonCircle.tsx +52 -0
- package/dist/src/components/skeleton/SkeletonRectangle.stories.tsx +107 -0
- package/dist/src/components/skeleton/SkeletonRectangle.test.tsx +28 -0
- package/dist/src/components/skeleton/SkeletonRectangle.tsx +78 -0
- package/dist/src/components/skeleton/SkeletonTypography.stories.tsx +26 -0
- package/dist/src/components/skeleton/SkeletonTypography.test.tsx +28 -0
- package/dist/src/components/skeleton/SkeletonTypography.tsx +57 -0
- package/dist/src/components/skeleton/__snapshots__/SkeletonCircle.test.tsx.snap +54 -0
- package/dist/src/components/skeleton/__snapshots__/SkeletonRectangle.test.tsx.snap +177 -0
- package/dist/src/components/skeleton/__snapshots__/SkeletonTypography.test.tsx.snap +174 -0
- package/dist/src/components/skeleton/index.ts +3 -0
- package/dist/src/components/slider/Slider.stories.tsx +29 -0
- package/dist/src/components/slider/Slider.test.tsx +31 -0
- package/dist/src/components/slider/Slider.tsx +299 -0
- package/dist/src/components/slider/__snapshots__/Slider.test.tsx.snap +122 -0
- package/dist/src/components/slider/index.ts +2 -0
- package/dist/src/components/slideshow/Slides.tsx +124 -0
- package/dist/src/components/slideshow/Slideshow.stories.tsx +212 -0
- package/dist/src/components/slideshow/Slideshow.test.tsx +39 -0
- package/dist/src/components/slideshow/Slideshow.tsx +170 -0
- package/dist/src/components/slideshow/SlideshowControls.stories.tsx +112 -0
- package/dist/src/components/slideshow/SlideshowControls.tsx +241 -0
- package/dist/src/components/slideshow/SlideshowItem.tsx +52 -0
- package/dist/src/components/slideshow/SlideshowItemGroup.tsx +64 -0
- package/dist/src/components/slideshow/__snapshots__/Slideshow.test.tsx.snap +157 -0
- package/dist/src/components/slideshow/constants.ts +24 -0
- package/dist/src/components/slideshow/index.ts +4 -0
- package/dist/src/components/slideshow/useKeyNavigate.ts +28 -0
- package/dist/src/components/slideshow/usePaginationVisibleRange.ts +37 -0
- package/dist/src/components/slideshow/useSlideFocusManagement.tsx +92 -0
- package/dist/src/components/slideshow/useSwipeNavigate.ts +18 -0
- package/dist/src/components/switch/Switch.stories.tsx +36 -0
- package/dist/src/components/switch/Switch.test.tsx +189 -0
- package/dist/src/components/switch/Switch.tsx +141 -0
- package/dist/src/components/switch/__snapshots__/Switch.test.tsx.snap +179 -0
- package/dist/src/components/switch/index.ts +1 -0
- package/dist/src/components/table/Table.test.tsx +28 -0
- package/dist/src/components/table/Table.tsx +59 -0
- package/dist/src/components/table/TableBody.test.tsx +22 -0
- package/dist/src/components/table/TableBody.tsx +44 -0
- package/dist/src/components/table/TableCell.test.tsx +23 -0
- package/dist/src/components/table/TableCell.tsx +125 -0
- package/dist/src/components/table/TableHeader.test.tsx +22 -0
- package/dist/src/components/table/TableHeader.tsx +50 -0
- package/dist/src/components/table/TableRow.test.tsx +22 -0
- package/dist/src/components/table/TableRow.tsx +68 -0
- package/dist/src/components/table/__snapshots__/Table.test.tsx.snap +263 -0
- package/dist/src/components/table/index.ts +5 -0
- package/dist/src/components/tabs/Tab.test.tsx +116 -0
- package/dist/src/components/tabs/Tab.tsx +120 -0
- package/dist/src/components/tabs/TabList.test.tsx +80 -0
- package/dist/src/components/tabs/TabList.tsx +82 -0
- package/dist/src/components/tabs/TabPanel.test.tsx +74 -0
- package/dist/src/components/tabs/TabPanel.tsx +65 -0
- package/dist/src/components/tabs/TabProvider.test.tsx +42 -0
- package/dist/src/components/tabs/TabProvider.tsx +59 -0
- package/dist/src/components/tabs/Tabs.stories.tsx +134 -0
- package/dist/src/components/tabs/__snapshots__/Tab.test.tsx.snap +62 -0
- package/dist/src/components/tabs/__snapshots__/TabList.test.tsx.snap +22 -0
- package/dist/src/components/tabs/__snapshots__/TabPanel.test.tsx.snap +25 -0
- package/dist/src/components/tabs/index.ts +4 -0
- package/dist/src/components/tabs/state.ts +116 -0
- package/dist/src/components/tabs/test.mocks.ts +33 -0
- package/dist/src/components/text/Text.stories.jsx +75 -0
- package/dist/src/components/text/Text.test.tsx +108 -0
- package/dist/src/components/text/Text.tsx +121 -0
- package/dist/src/components/text/index.ts +1 -0
- package/dist/src/components/text-field/TextField.stories.tsx +169 -0
- package/dist/src/components/text-field/TextField.test.tsx +171 -0
- package/dist/src/components/text-field/TextField.tsx +432 -0
- package/dist/src/components/text-field/__snapshots__/TextField.test.tsx.snap +42 -0
- package/dist/src/components/text-field/index.ts +1 -0
- package/dist/src/components/thumbnail/Thumbnail.stories.tsx +510 -0
- package/dist/src/components/thumbnail/Thumbnail.test.tsx +46 -0
- package/dist/src/components/thumbnail/Thumbnail.tsx +222 -0
- package/dist/src/components/thumbnail/__snapshots__/Thumbnail.test.tsx.snap +130 -0
- package/dist/src/components/thumbnail/index.ts +3 -0
- package/dist/src/components/thumbnail/types.ts +39 -0
- package/dist/src/components/thumbnail/useFocusPointStyle.test.ts +92 -0
- package/dist/src/components/thumbnail/useFocusPointStyle.tsx +111 -0
- package/dist/src/components/thumbnail/useImageLoad.ts +40 -0
- package/dist/src/components/toolbar/Toolbar.tsx +67 -0
- package/dist/src/components/toolbar/index.ts +1 -0
- package/dist/src/components/tooltip/Tooltip.stories.tsx +172 -0
- package/dist/src/components/tooltip/Tooltip.test.tsx +105 -0
- package/dist/src/components/tooltip/Tooltip.tsx +122 -0
- package/dist/src/components/tooltip/__snapshots__/Tooltip.test.tsx.snap +233 -0
- package/dist/src/components/tooltip/index.ts +1 -0
- package/dist/src/components/tooltip/useInjectTooltipRef.tsx +44 -0
- package/dist/src/components/tooltip/useTooltipOpen.tsx +113 -0
- package/dist/src/components/uploader/Uploader.test.tsx +87 -0
- package/dist/src/components/uploader/Uploader.tsx +105 -0
- package/dist/src/components/uploader/__snapshots__/Uploader.test.tsx.snap +14 -0
- package/dist/src/components/uploader/index.ts +1 -0
- package/dist/src/components/user-block/UserBlock.stories.tsx +76 -0
- package/dist/src/components/user-block/UserBlock.test.tsx +38 -0
- package/dist/src/components/user-block/UserBlock.tsx +179 -0
- package/dist/src/components/user-block/__snapshots__/UserBlock.test.tsx.snap +362 -0
- package/dist/src/components/user-block/index.ts +1 -0
- package/dist/src/constants.ts +17 -0
- package/dist/src/hooks/useBooleanState.tsx +13 -0
- package/dist/src/hooks/useCallbackOnEscape.ts +34 -0
- package/dist/src/hooks/useChipGroupNavigation.tsx +75 -0
- package/dist/src/hooks/useClickAway.tsx +47 -0
- package/dist/src/hooks/useDisableBodyScroll.ts +28 -0
- package/dist/src/hooks/useEventCallback.tsx +17 -0
- package/dist/src/hooks/useFocus.tsx +21 -0
- package/dist/src/hooks/useFocusTrap.ts +85 -0
- package/dist/src/hooks/useFocusWithin.ts +33 -0
- package/dist/src/hooks/useInfiniteScroll.tsx +60 -0
- package/dist/src/hooks/useIntersectionObserver.tsx +43 -0
- package/dist/src/hooks/useInterval.tsx +31 -0
- package/dist/src/hooks/useKeyboardListNavigation.tsx +204 -0
- package/dist/src/hooks/useListenFocus.tsx +26 -0
- package/dist/src/hooks/useOnResize.ts +41 -0
- package/dist/src/hooks/useRovingTabIndex.tsx +90 -0
- package/dist/src/hooks/useSlideshowControls.ts +243 -0
- package/dist/src/hooks/useStopPropagation.ts +21 -0
- package/dist/src/hooks/useTransitionVisibility.ts +54 -0
- package/dist/src/index.ts +58 -0
- package/dist/src/stories/chromaticForceScreenSize.tsx +7 -0
- package/dist/src/stories/generated/Autocomplete/Demos.stories.tsx +7 -0
- package/dist/src/stories/generated/Avatar/Demos.stories.tsx +7 -0
- package/dist/src/stories/generated/Badge/Demos.stories.tsx +9 -0
- package/dist/src/stories/generated/Button/Demos.stories.tsx +11 -0
- package/dist/src/stories/generated/Checkbox/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/Chip/Demos.stories.tsx +11 -0
- package/dist/src/stories/generated/CommentBlock/Demos.stories.tsx +8 -0
- package/dist/src/stories/generated/DatePicker/Demos.stories.tsx +8 -0
- package/dist/src/stories/generated/Dialog/Demos.stories.tsx +10 -0
- package/dist/src/stories/generated/Divider/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/Dropdown/Demos.stories.tsx +8 -0
- package/dist/src/stories/generated/ExpansionPanel/Demos.stories.tsx +9 -0
- package/dist/src/stories/generated/Flag/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/GenericBlock/Demos.stories.tsx +8 -0
- package/dist/src/stories/generated/Heading/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/Icon/Demos.stories.tsx +8 -0
- package/dist/src/stories/generated/ImageBlock/Demos.stories.tsx +9 -0
- package/dist/src/stories/generated/Lightbox/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/Link/Demos.stories.tsx +8 -0
- package/dist/src/stories/generated/LinkPreview/Demos.stories.tsx +7 -0
- package/dist/src/stories/generated/List/Demos.stories.tsx +11 -0
- package/dist/src/stories/generated/Message/Demos.stories.tsx +10 -0
- package/dist/src/stories/generated/Mosaic/Demos.stories.tsx +9 -0
- package/dist/src/stories/generated/Notification/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/Popover/Demos.stories.tsx +11 -0
- package/dist/src/stories/generated/PopoverDialog/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/PostBlock/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/Progress/Demos.stories.tsx +7 -0
- package/dist/src/stories/generated/ProgressTracker/Demos.stories.tsx +9 -0
- package/dist/src/stories/generated/RadioButton/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/Select/Demos.stories.tsx +14 -0
- package/dist/src/stories/generated/SideNavigation/Demos.stories.tsx +10 -0
- package/dist/src/stories/generated/Skeleton/Demos.stories.tsx +9 -0
- package/dist/src/stories/generated/Slider/Demos.stories.tsx +9 -0
- package/dist/src/stories/generated/Slideshow/Demos.stories.tsx +8 -0
- package/dist/src/stories/generated/Switch/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/Table/Demos.stories.tsx +6 -0
- package/dist/src/stories/generated/Tabs/Demos.stories.tsx +8 -0
- package/dist/src/stories/generated/TextField/Demos.stories.tsx +19 -0
- package/dist/src/stories/generated/Thumbnail/Demos.stories.tsx +12 -0
- package/dist/src/stories/generated/Toolbar/Demos.stories.tsx +10 -0
- package/dist/src/stories/generated/Tooltip/Demos.stories.tsx +8 -0
- package/dist/src/stories/generated/Uploader/Demos.stories.tsx +8 -0
- package/dist/src/stories/generated/UserBlock/Demos.stories.tsx +10 -0
- package/dist/src/stories/knobs/buttonKnob.ts +9 -0
- package/dist/src/stories/knobs/emphasisKnob.ts +8 -0
- package/dist/src/stories/knobs/enumKnob.ts +14 -0
- package/dist/src/stories/knobs/focusKnob.ts +3 -0
- package/dist/src/stories/knobs/image.ts +69 -0
- package/dist/src/stories/knobs/lorem.ts +59 -0
- package/dist/src/stories/knobs/sizeKnob.ts +5 -0
- package/dist/src/stories/knobs/thumbnailsKnob.ts +9 -0
- package/dist/src/stories/utils/CustomLink.tsx +7 -0
- package/dist/src/stories/withResizableBox.tsx +18 -0
- package/dist/src/testing/utils/commonTestsSuite.ts +71 -0
- package/dist/src/testing/utils/commonTestsSuiteRTL.ts +55 -0
- package/dist/src/testing/utils/index.ts +4 -0
- package/dist/src/testing/utils/itShouldRenderStories.tsx +103 -0
- package/dist/src/testing/utils/queries.ts +19 -0
- package/dist/src/untypped-modules.d.ts +7 -0
- package/dist/src/utils/ClickAwayProvider/ClickAwayProvider.stories.jsx +58 -0
- package/dist/src/utils/ClickAwayProvider/ClickAwayProvider.tsx +65 -0
- package/dist/src/utils/ClickAwayProvider/index.ts +1 -0
- package/dist/src/utils/MaterialThemeSwitcher/MaterialThemeSwitcher.tsx +54 -0
- package/dist/src/utils/MaterialThemeSwitcher/index.ts +1 -0
- package/dist/src/utils/browserDoesNotSupportHover.test.js +24 -0
- package/dist/src/utils/browserDoesNotSupportHover.ts +2 -0
- package/dist/src/utils/clamp.ts +17 -0
- package/dist/src/utils/className.ts +44 -0
- package/dist/src/utils/event.ts +1 -0
- package/dist/src/utils/flattenChildren.test.tsx +58 -0
- package/dist/src/utils/flattenChildren.ts +27 -0
- package/dist/src/utils/focus/constants.ts +5 -0
- package/dist/src/utils/focus/getFirstAndLastFocusable.test.ts +134 -0
- package/dist/src/utils/focus/getFirstAndLastFocusable.ts +21 -0
- package/dist/src/utils/focus/getFocusableElements.test.ts +151 -0
- package/dist/src/utils/focus/getFocusableElements.ts +7 -0
- package/dist/src/utils/index.ts +5 -0
- package/dist/src/utils/isInternetExplorer.ts +15 -0
- package/dist/src/utils/makeListenerTowerContext.ts +32 -0
- package/dist/src/utils/mergeRefs.ts +22 -0
- package/dist/src/utils/partitionMulti.ts +28 -0
- package/dist/src/utils/renderLink.tsx +17 -0
- package/dist/src/utils/type.ts +113 -0
- package/dist/src/utils/userHasReducedMotion.ts +7 -0
- package/dist/src/utils/utils.test.ts +48 -0
- package/{utils → dist/utils}/index.d.ts +0 -0
- package/{utils → dist/utils}/index.js +0 -0
- package/{utils → dist/utils}/index.js.map +0 -0
- package/jest/__mocks__/@storybook/addon-actions.js +3 -0
- package/jest/__mocks__/@storybook/addon-knobs.js +6 -0
- package/jest/__mocks__/emptyFileMockTransformer.js +8 -0
- package/jest/__mocks__/emptyModuleMock.js +1 -0
- package/jest/configure.js +6 -0
- package/jest/index.js +36 -0
- package/jest/transform.js +6 -0
- package/package.json +3 -5
- package/rollup.config.js +98 -0
- package/src/components/checkbox/Checkbox.test.tsx +2 -0
- package/src/components/checkbox/Checkbox.tsx +1 -0
- package/src/components/grid-column/GridColumn.stories.jsx +56 -0
- package/src/components/grid-column/GridColumn.test.jsx +58 -0
- package/src/components/grid-column/GridColumn.tsx +90 -0
- package/src/components/grid-column/index.ts +1 -0
- package/src/components/progress/Progress.tsx +6 -25
- package/src/components/progress/ProgressCircular.stories.tsx +18 -0
- package/src/components/progress/ProgressCircular.test.tsx +49 -0
- package/src/components/progress/ProgressCircular.tsx +68 -0
- package/src/components/progress/ProgressLinear.stories.tsx +8 -0
- package/src/components/progress/ProgressLinear.test.tsx +37 -0
- package/src/components/progress/ProgressLinear.tsx +52 -0
- package/src/components/progress/index.ts +2 -0
- package/src/index.ts +1 -0
- package/storybook/build +4 -0
- package/storybook/generate-demo-stories.js +59 -0
- package/storybook/main.js +67 -0
- package/storybook/package.json +13 -0
- package/storybook/preview.js +11 -0
- package/storybook/start +4 -0
- package/storybook/story-block/StoryBlock.tsx +49 -0
- package/storybook/story-block/decorator.jsx +7 -0
- package/storybook/story-block/index.scss +27 -0
- package/storybook/yarn.lock +13192 -0
- package/tsconfig.json +3 -0
- package/index.js.map +0 -1
- package/src/components/progress/__snapshots__/Progress.test.tsx.snap +0 -48
|
@@ -19,6 +19,7 @@ import { C as ClickAwayProvider } from './_internal/ClickAwayProvider.js';
|
|
|
19
19
|
import memoize from 'lodash/memoize';
|
|
20
20
|
import castArray from 'lodash/castArray';
|
|
21
21
|
import pick from 'lodash/pick';
|
|
22
|
+
import isInteger from 'lodash/isInteger';
|
|
22
23
|
import isObject from 'lodash/isObject';
|
|
23
24
|
import take from 'lodash/take';
|
|
24
25
|
import uniqueId from 'lodash/uniqueId';
|
|
@@ -1583,6 +1584,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1583
1584
|
type: "checkbox",
|
|
1584
1585
|
id: inputId,
|
|
1585
1586
|
className: `${CLASSNAME$8}__input-native`,
|
|
1587
|
+
disabled: isDisabled,
|
|
1586
1588
|
tabIndex: isDisabled ? -1 : 0,
|
|
1587
1589
|
name: name,
|
|
1588
1590
|
value: value,
|
|
@@ -6911,11 +6913,11 @@ const GridItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
6911
6913
|
GridItem.displayName = COMPONENT_NAME$u;
|
|
6912
6914
|
GridItem.className = CLASSNAME$r;
|
|
6913
6915
|
|
|
6914
|
-
const _excluded$w = ["
|
|
6916
|
+
const _excluded$w = ["as", "gap", "maxColumns", "itemMinWidth", "children", "className", "style"];
|
|
6915
6917
|
/**
|
|
6916
6918
|
* Component display name.
|
|
6917
6919
|
*/
|
|
6918
|
-
const COMPONENT_NAME$v = '
|
|
6920
|
+
const COMPONENT_NAME$v = 'GridColumn';
|
|
6919
6921
|
|
|
6920
6922
|
/**
|
|
6921
6923
|
* Component default class name and class prefix.
|
|
@@ -6927,6 +6929,58 @@ const CLASSNAME$s = getRootClassName(COMPONENT_NAME$v);
|
|
|
6927
6929
|
*/
|
|
6928
6930
|
const DEFAULT_PROPS$o = {};
|
|
6929
6931
|
|
|
6932
|
+
/**
|
|
6933
|
+
* The GridColumn is a layout component that can display children in a grid
|
|
6934
|
+
* with custom display properties. It also comes with a responsive design,
|
|
6935
|
+
* with a number of column that reduce when there is not enough space for each item.
|
|
6936
|
+
*
|
|
6937
|
+
* @param props Component props.
|
|
6938
|
+
* @param ref Component ref.
|
|
6939
|
+
* @return React element.
|
|
6940
|
+
*/
|
|
6941
|
+
const GridColumn = /*#__PURE__*/forwardRef((props, ref) => {
|
|
6942
|
+
const {
|
|
6943
|
+
as: Component = 'div',
|
|
6944
|
+
gap,
|
|
6945
|
+
maxColumns,
|
|
6946
|
+
itemMinWidth,
|
|
6947
|
+
children,
|
|
6948
|
+
className,
|
|
6949
|
+
style = {}
|
|
6950
|
+
} = props,
|
|
6951
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$w);
|
|
6952
|
+
return /*#__PURE__*/React.createElement(Component, _extends({}, forwardedProps, {
|
|
6953
|
+
ref: ref,
|
|
6954
|
+
className: classnames(className, handleBasicClasses({
|
|
6955
|
+
prefix: CLASSNAME$s
|
|
6956
|
+
})),
|
|
6957
|
+
style: _objectSpread2(_objectSpread2({}, style), {}, {
|
|
6958
|
+
['--lumx-grid-column-item-min-width']: isInteger(itemMinWidth) && `${itemMinWidth}px`,
|
|
6959
|
+
['--lumx-grid-column-columns']: maxColumns,
|
|
6960
|
+
['--lumx-grid-column-gap']: gap && `var(--lumx-spacing-unit-${gap})`
|
|
6961
|
+
})
|
|
6962
|
+
}), children);
|
|
6963
|
+
});
|
|
6964
|
+
GridColumn.displayName = COMPONENT_NAME$v;
|
|
6965
|
+
GridColumn.className = CLASSNAME$s;
|
|
6966
|
+
GridColumn.defaultProps = DEFAULT_PROPS$o;
|
|
6967
|
+
|
|
6968
|
+
const _excluded$x = ["className", "color", "colorVariant", "hasShape", "icon", "size", "theme", "alt"];
|
|
6969
|
+
/**
|
|
6970
|
+
* Component display name.
|
|
6971
|
+
*/
|
|
6972
|
+
const COMPONENT_NAME$w = 'Icon';
|
|
6973
|
+
|
|
6974
|
+
/**
|
|
6975
|
+
* Component default class name and class prefix.
|
|
6976
|
+
*/
|
|
6977
|
+
const CLASSNAME$t = getRootClassName(COMPONENT_NAME$w);
|
|
6978
|
+
|
|
6979
|
+
/**
|
|
6980
|
+
* Component default props.
|
|
6981
|
+
*/
|
|
6982
|
+
const DEFAULT_PROPS$p = {};
|
|
6983
|
+
|
|
6930
6984
|
/**
|
|
6931
6985
|
* Icon component.
|
|
6932
6986
|
*
|
|
@@ -6945,7 +6999,7 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
6945
6999
|
theme,
|
|
6946
7000
|
alt
|
|
6947
7001
|
} = props,
|
|
6948
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7002
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$x);
|
|
6949
7003
|
|
|
6950
7004
|
// Color
|
|
6951
7005
|
let iconColor = color;
|
|
@@ -6977,10 +7031,10 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
6977
7031
|
color: iconColor,
|
|
6978
7032
|
colorVariant: iconColorVariant,
|
|
6979
7033
|
hasShape,
|
|
6980
|
-
prefix: CLASSNAME$
|
|
7034
|
+
prefix: CLASSNAME$t,
|
|
6981
7035
|
theme,
|
|
6982
7036
|
size: iconSize
|
|
6983
|
-
}), !hasShape && `${CLASSNAME$
|
|
7037
|
+
}), !hasShape && `${CLASSNAME$t}--no-shape`, !hasShape && iconColor === ColorPalette.yellow && icon === mdiAlertCircle && `${CLASSNAME$t}--has-dark-layer`, `${CLASSNAME$t}--path`)
|
|
6984
7038
|
}), /*#__PURE__*/React.createElement("svg", {
|
|
6985
7039
|
"aria-hidden": alt ? undefined : 'true',
|
|
6986
7040
|
role: alt ? 'img' : undefined,
|
|
@@ -6997,11 +7051,11 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
6997
7051
|
fill: "currentColor"
|
|
6998
7052
|
})));
|
|
6999
7053
|
});
|
|
7000
|
-
Icon.displayName = COMPONENT_NAME$
|
|
7001
|
-
Icon.className = CLASSNAME$
|
|
7002
|
-
Icon.defaultProps = DEFAULT_PROPS$
|
|
7054
|
+
Icon.displayName = COMPONENT_NAME$w;
|
|
7055
|
+
Icon.className = CLASSNAME$t;
|
|
7056
|
+
Icon.defaultProps = DEFAULT_PROPS$p;
|
|
7003
7057
|
|
|
7004
|
-
const _excluded$
|
|
7058
|
+
const _excluded$y = ["actions", "align", "alt", "captionPosition", "captionStyle", "className", "description", "fillHeight", "image", "size", "tags", "theme", "thumbnailProps", "title"];
|
|
7005
7059
|
/**
|
|
7006
7060
|
* Image block variants.
|
|
7007
7061
|
*/
|
|
@@ -7012,17 +7066,17 @@ const ImageBlockCaptionPosition = {
|
|
|
7012
7066
|
/**
|
|
7013
7067
|
* Component display name.
|
|
7014
7068
|
*/
|
|
7015
|
-
const COMPONENT_NAME$
|
|
7069
|
+
const COMPONENT_NAME$x = 'ImageBlock';
|
|
7016
7070
|
|
|
7017
7071
|
/**
|
|
7018
7072
|
* Component default class name and class prefix.
|
|
7019
7073
|
*/
|
|
7020
|
-
const CLASSNAME$
|
|
7074
|
+
const CLASSNAME$u = getRootClassName(COMPONENT_NAME$x);
|
|
7021
7075
|
|
|
7022
7076
|
/**
|
|
7023
7077
|
* Component default props.
|
|
7024
7078
|
*/
|
|
7025
|
-
const DEFAULT_PROPS$
|
|
7079
|
+
const DEFAULT_PROPS$q = {
|
|
7026
7080
|
captionPosition: ImageBlockCaptionPosition.below,
|
|
7027
7081
|
theme: Theme.light,
|
|
7028
7082
|
align: Alignment.left
|
|
@@ -7052,19 +7106,19 @@ const ImageBlock = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7052
7106
|
thumbnailProps,
|
|
7053
7107
|
title
|
|
7054
7108
|
} = props,
|
|
7055
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7109
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$y);
|
|
7056
7110
|
return /*#__PURE__*/React.createElement("figure", _extends({
|
|
7057
7111
|
ref: ref
|
|
7058
7112
|
}, forwardedProps, {
|
|
7059
7113
|
className: classnames(className, handleBasicClasses({
|
|
7060
|
-
prefix: CLASSNAME$
|
|
7114
|
+
prefix: CLASSNAME$u,
|
|
7061
7115
|
captionPosition,
|
|
7062
7116
|
align,
|
|
7063
7117
|
size,
|
|
7064
7118
|
theme
|
|
7065
|
-
}), fillHeight && `${CLASSNAME$
|
|
7119
|
+
}), fillHeight && `${CLASSNAME$u}--fill-height`)
|
|
7066
7120
|
}), /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
|
|
7067
|
-
className: classnames(`${CLASSNAME$
|
|
7121
|
+
className: classnames(`${CLASSNAME$u}__image`, thumbnailProps === null || thumbnailProps === void 0 ? void 0 : thumbnailProps.className),
|
|
7068
7122
|
fillHeight: fillHeight,
|
|
7069
7123
|
align: align,
|
|
7070
7124
|
image: image,
|
|
@@ -7072,31 +7126,31 @@ const ImageBlock = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7072
7126
|
theme: theme,
|
|
7073
7127
|
alt: alt || title
|
|
7074
7128
|
})), (title || description || tags) && /*#__PURE__*/React.createElement("figcaption", {
|
|
7075
|
-
className: `${CLASSNAME$
|
|
7129
|
+
className: `${CLASSNAME$u}__wrapper`,
|
|
7076
7130
|
style: captionStyle
|
|
7077
7131
|
}, (title || description) && /*#__PURE__*/React.createElement("div", {
|
|
7078
|
-
className: `${CLASSNAME$
|
|
7132
|
+
className: `${CLASSNAME$u}__caption`
|
|
7079
7133
|
}, title && /*#__PURE__*/React.createElement("span", {
|
|
7080
|
-
className: `${CLASSNAME$
|
|
7134
|
+
className: `${CLASSNAME$u}__title`
|
|
7081
7135
|
}, title), title && description && '\u00A0', isObject(description) && description.__html ?
|
|
7082
7136
|
/*#__PURE__*/
|
|
7083
7137
|
// eslint-disable-next-line react/no-danger
|
|
7084
7138
|
React.createElement("span", {
|
|
7085
7139
|
dangerouslySetInnerHTML: description,
|
|
7086
|
-
className: `${CLASSNAME$
|
|
7140
|
+
className: `${CLASSNAME$u}__description`
|
|
7087
7141
|
}) : /*#__PURE__*/React.createElement("span", {
|
|
7088
|
-
className: `${CLASSNAME$
|
|
7142
|
+
className: `${CLASSNAME$u}__description`
|
|
7089
7143
|
}, description)), tags && /*#__PURE__*/React.createElement("div", {
|
|
7090
|
-
className: `${CLASSNAME$
|
|
7144
|
+
className: `${CLASSNAME$u}__tags`
|
|
7091
7145
|
}, tags)), actions && /*#__PURE__*/React.createElement("div", {
|
|
7092
|
-
className: `${CLASSNAME$
|
|
7146
|
+
className: `${CLASSNAME$u}__actions`
|
|
7093
7147
|
}, actions));
|
|
7094
7148
|
});
|
|
7095
|
-
ImageBlock.displayName = COMPONENT_NAME$
|
|
7096
|
-
ImageBlock.className = CLASSNAME$
|
|
7097
|
-
ImageBlock.defaultProps = DEFAULT_PROPS$
|
|
7149
|
+
ImageBlock.displayName = COMPONENT_NAME$x;
|
|
7150
|
+
ImageBlock.className = CLASSNAME$u;
|
|
7151
|
+
ImageBlock.defaultProps = DEFAULT_PROPS$q;
|
|
7098
7152
|
|
|
7099
|
-
const _excluded$
|
|
7153
|
+
const _excluded$z = ["className", "color", "colorVariant", "typography", "children"];
|
|
7100
7154
|
|
|
7101
7155
|
/**
|
|
7102
7156
|
* Defines the props of the component.
|
|
@@ -7105,17 +7159,17 @@ const _excluded$y = ["className", "color", "colorVariant", "typography", "childr
|
|
|
7105
7159
|
/**
|
|
7106
7160
|
* Component display name.
|
|
7107
7161
|
*/
|
|
7108
|
-
const COMPONENT_NAME$
|
|
7162
|
+
const COMPONENT_NAME$y = 'InlineList';
|
|
7109
7163
|
|
|
7110
7164
|
/**
|
|
7111
7165
|
* Component default class name and class prefix.
|
|
7112
7166
|
*/
|
|
7113
|
-
const CLASSNAME$
|
|
7167
|
+
const CLASSNAME$v = getRootClassName(COMPONENT_NAME$y);
|
|
7114
7168
|
|
|
7115
7169
|
/**
|
|
7116
7170
|
* Component default props.
|
|
7117
7171
|
*/
|
|
7118
|
-
const DEFAULT_PROPS$
|
|
7172
|
+
const DEFAULT_PROPS$r = {};
|
|
7119
7173
|
|
|
7120
7174
|
/**
|
|
7121
7175
|
* InlineList component.
|
|
@@ -7132,7 +7186,7 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7132
7186
|
typography,
|
|
7133
7187
|
children
|
|
7134
7188
|
} = props,
|
|
7135
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7189
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$z);
|
|
7136
7190
|
const fontColorClassName = color && getFontColorClassName(color, colorVariant);
|
|
7137
7191
|
const typographyClassName = typography && getTypographyClassName(typography);
|
|
7138
7192
|
return (
|
|
@@ -7140,7 +7194,7 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7140
7194
|
// eslint-disable-next-line jsx-a11y/no-redundant-roles
|
|
7141
7195
|
React.createElement("ul", _extends({}, forwardedProps, {
|
|
7142
7196
|
ref: ref,
|
|
7143
|
-
className: classnames(className, CLASSNAME$
|
|
7197
|
+
className: classnames(className, CLASSNAME$v, fontColorClassName, typographyClassName)
|
|
7144
7198
|
// Lists with removed bullet style can lose their a11y list role on some browsers
|
|
7145
7199
|
,
|
|
7146
7200
|
role: "list"
|
|
@@ -7153,18 +7207,18 @@ const InlineList = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7153
7207
|
React.createElement("li", {
|
|
7154
7208
|
key: key,
|
|
7155
7209
|
role: "listitem",
|
|
7156
|
-
className: `${CLASSNAME$
|
|
7210
|
+
className: `${CLASSNAME$v}__item`
|
|
7157
7211
|
}, index !== 0 && /*#__PURE__*/React.createElement("span", {
|
|
7158
|
-
className: `${CLASSNAME$
|
|
7212
|
+
className: `${CLASSNAME$v}__item-separator`,
|
|
7159
7213
|
"aria-hidden": "true"
|
|
7160
7214
|
}, '\u00A0•\u00A0'), child)
|
|
7161
7215
|
);
|
|
7162
7216
|
}))
|
|
7163
7217
|
);
|
|
7164
7218
|
});
|
|
7165
|
-
InlineList.displayName = COMPONENT_NAME$
|
|
7166
|
-
InlineList.className = CLASSNAME$
|
|
7167
|
-
InlineList.defaultProps = DEFAULT_PROPS$
|
|
7219
|
+
InlineList.displayName = COMPONENT_NAME$y;
|
|
7220
|
+
InlineList.className = CLASSNAME$v;
|
|
7221
|
+
InlineList.defaultProps = DEFAULT_PROPS$r;
|
|
7168
7222
|
|
|
7169
7223
|
const INPUT_HELPER_CONFIGURATION = {
|
|
7170
7224
|
error: {
|
|
@@ -7178,7 +7232,7 @@ const INPUT_HELPER_CONFIGURATION = {
|
|
|
7178
7232
|
}
|
|
7179
7233
|
};
|
|
7180
7234
|
|
|
7181
|
-
const _excluded$
|
|
7235
|
+
const _excluded$A = ["children", "className", "kind", "theme"];
|
|
7182
7236
|
|
|
7183
7237
|
/**
|
|
7184
7238
|
* Defines the props of the component.
|
|
@@ -7187,17 +7241,17 @@ const _excluded$z = ["children", "className", "kind", "theme"];
|
|
|
7187
7241
|
/**
|
|
7188
7242
|
* Component display name.
|
|
7189
7243
|
*/
|
|
7190
|
-
const COMPONENT_NAME$
|
|
7244
|
+
const COMPONENT_NAME$z = 'InputHelper';
|
|
7191
7245
|
|
|
7192
7246
|
/**
|
|
7193
7247
|
* Component default class name and class prefix.
|
|
7194
7248
|
*/
|
|
7195
|
-
const CLASSNAME$
|
|
7249
|
+
const CLASSNAME$w = getRootClassName(COMPONENT_NAME$z);
|
|
7196
7250
|
|
|
7197
7251
|
/**
|
|
7198
7252
|
* Component default props.
|
|
7199
7253
|
*/
|
|
7200
|
-
const DEFAULT_PROPS$
|
|
7254
|
+
const DEFAULT_PROPS$s = {
|
|
7201
7255
|
kind: Kind.info,
|
|
7202
7256
|
theme: Theme.light
|
|
7203
7257
|
};
|
|
@@ -7216,7 +7270,7 @@ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7216
7270
|
kind,
|
|
7217
7271
|
theme
|
|
7218
7272
|
} = props,
|
|
7219
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7273
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$A);
|
|
7220
7274
|
const {
|
|
7221
7275
|
color
|
|
7222
7276
|
} = INPUT_HELPER_CONFIGURATION[kind] || {};
|
|
@@ -7224,17 +7278,17 @@ const InputHelper = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7224
7278
|
ref: ref
|
|
7225
7279
|
}, forwardedProps, {
|
|
7226
7280
|
className: classnames(className, handleBasicClasses({
|
|
7227
|
-
prefix: CLASSNAME$
|
|
7281
|
+
prefix: CLASSNAME$w,
|
|
7228
7282
|
color,
|
|
7229
7283
|
theme
|
|
7230
7284
|
}))
|
|
7231
7285
|
}), children);
|
|
7232
7286
|
});
|
|
7233
|
-
InputHelper.displayName = COMPONENT_NAME$
|
|
7234
|
-
InputHelper.className = CLASSNAME$
|
|
7235
|
-
InputHelper.defaultProps = DEFAULT_PROPS$
|
|
7287
|
+
InputHelper.displayName = COMPONENT_NAME$z;
|
|
7288
|
+
InputHelper.className = CLASSNAME$w;
|
|
7289
|
+
InputHelper.defaultProps = DEFAULT_PROPS$s;
|
|
7236
7290
|
|
|
7237
|
-
const _excluded$
|
|
7291
|
+
const _excluded$B = ["children", "className", "htmlFor", "isRequired", "theme"];
|
|
7238
7292
|
|
|
7239
7293
|
/**
|
|
7240
7294
|
* Defines the props of the component.
|
|
@@ -7243,17 +7297,17 @@ const _excluded$A = ["children", "className", "htmlFor", "isRequired", "theme"];
|
|
|
7243
7297
|
/**
|
|
7244
7298
|
* Component display name.
|
|
7245
7299
|
*/
|
|
7246
|
-
const COMPONENT_NAME$
|
|
7300
|
+
const COMPONENT_NAME$A = 'InputLabel';
|
|
7247
7301
|
|
|
7248
7302
|
/**
|
|
7249
7303
|
* Component default class name and class prefix.
|
|
7250
7304
|
*/
|
|
7251
|
-
const CLASSNAME$
|
|
7305
|
+
const CLASSNAME$x = getRootClassName(COMPONENT_NAME$A);
|
|
7252
7306
|
|
|
7253
7307
|
/**
|
|
7254
7308
|
* Component default props.
|
|
7255
7309
|
*/
|
|
7256
|
-
const DEFAULT_PROPS$
|
|
7310
|
+
const DEFAULT_PROPS$t = {
|
|
7257
7311
|
theme: Theme.light
|
|
7258
7312
|
};
|
|
7259
7313
|
|
|
@@ -7272,23 +7326,23 @@ const InputLabel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7272
7326
|
isRequired,
|
|
7273
7327
|
theme
|
|
7274
7328
|
} = props,
|
|
7275
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7329
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$B);
|
|
7276
7330
|
return /*#__PURE__*/React.createElement("label", _extends({
|
|
7277
7331
|
ref: ref
|
|
7278
7332
|
}, forwardedProps, {
|
|
7279
7333
|
htmlFor: htmlFor,
|
|
7280
7334
|
className: classnames(className, handleBasicClasses({
|
|
7281
|
-
prefix: CLASSNAME$
|
|
7335
|
+
prefix: CLASSNAME$x,
|
|
7282
7336
|
isRequired,
|
|
7283
7337
|
theme
|
|
7284
7338
|
}))
|
|
7285
7339
|
}), children);
|
|
7286
7340
|
});
|
|
7287
|
-
InputLabel.displayName = COMPONENT_NAME$
|
|
7288
|
-
InputLabel.className = CLASSNAME$
|
|
7289
|
-
InputLabel.defaultProps = DEFAULT_PROPS$
|
|
7341
|
+
InputLabel.displayName = COMPONENT_NAME$A;
|
|
7342
|
+
InputLabel.className = CLASSNAME$x;
|
|
7343
|
+
InputLabel.defaultProps = DEFAULT_PROPS$t;
|
|
7290
7344
|
|
|
7291
|
-
const _excluded$
|
|
7345
|
+
const _excluded$C = ["ariaLabel", "children", "className", "closeButtonProps", "isOpen", "onClose", "parentElement", "preventAutoClose", "theme", "zIndex"];
|
|
7292
7346
|
|
|
7293
7347
|
/**
|
|
7294
7348
|
* Defines the props of the component.
|
|
@@ -7297,12 +7351,12 @@ const _excluded$B = ["ariaLabel", "children", "className", "closeButtonProps", "
|
|
|
7297
7351
|
/**
|
|
7298
7352
|
* Component display name.
|
|
7299
7353
|
*/
|
|
7300
|
-
const COMPONENT_NAME$
|
|
7354
|
+
const COMPONENT_NAME$B = 'Lightbox';
|
|
7301
7355
|
|
|
7302
7356
|
/**
|
|
7303
7357
|
* Component default class name and class prefix.
|
|
7304
7358
|
*/
|
|
7305
|
-
const CLASSNAME$
|
|
7359
|
+
const CLASSNAME$y = getRootClassName(COMPONENT_NAME$B);
|
|
7306
7360
|
|
|
7307
7361
|
/**
|
|
7308
7362
|
* Lightbox component.
|
|
@@ -7325,7 +7379,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7325
7379
|
theme,
|
|
7326
7380
|
zIndex
|
|
7327
7381
|
} = props,
|
|
7328
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7382
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$C);
|
|
7329
7383
|
if (!DOCUMENT) {
|
|
7330
7384
|
// Can't render in SSR.
|
|
7331
7385
|
return null;
|
|
@@ -7377,7 +7431,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7377
7431
|
"aria-label": ariaLabel,
|
|
7378
7432
|
"aria-modal": "true",
|
|
7379
7433
|
className: classnames(className, handleBasicClasses({
|
|
7380
|
-
prefix: CLASSNAME$
|
|
7434
|
+
prefix: CLASSNAME$y,
|
|
7381
7435
|
isHidden: !isOpen,
|
|
7382
7436
|
isShown: isOpen || isVisible,
|
|
7383
7437
|
theme
|
|
@@ -7386,7 +7440,7 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7386
7440
|
zIndex
|
|
7387
7441
|
}
|
|
7388
7442
|
}), closeButtonProps && /*#__PURE__*/React.createElement(IconButton, _extends({}, closeButtonProps, {
|
|
7389
|
-
className: `${CLASSNAME$
|
|
7443
|
+
className: `${CLASSNAME$y}__close`,
|
|
7390
7444
|
color: ColorPalette.light,
|
|
7391
7445
|
emphasis: Emphasis.low,
|
|
7392
7446
|
icon: mdiClose,
|
|
@@ -7398,23 +7452,23 @@ const Lightbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7398
7452
|
childrenRefs: clickAwayRefs
|
|
7399
7453
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7400
7454
|
ref: childrenRef,
|
|
7401
|
-
className: `${CLASSNAME$
|
|
7455
|
+
className: `${CLASSNAME$y}__wrapper`,
|
|
7402
7456
|
role: "presentation"
|
|
7403
7457
|
}, children))), document.body);
|
|
7404
7458
|
});
|
|
7405
|
-
Lightbox.displayName = COMPONENT_NAME$
|
|
7406
|
-
Lightbox.className = CLASSNAME$
|
|
7459
|
+
Lightbox.displayName = COMPONENT_NAME$B;
|
|
7460
|
+
Lightbox.className = CLASSNAME$y;
|
|
7407
7461
|
|
|
7408
|
-
const _excluded$
|
|
7462
|
+
const _excluded$D = ["children", "className", "color", "colorVariant", "disabled", "isDisabled", "href", "leftIcon", "linkAs", "rightIcon", "target", "typography"];
|
|
7409
7463
|
/**
|
|
7410
7464
|
* Component display name.
|
|
7411
7465
|
*/
|
|
7412
|
-
const COMPONENT_NAME$
|
|
7466
|
+
const COMPONENT_NAME$C = 'Link';
|
|
7413
7467
|
|
|
7414
7468
|
/**
|
|
7415
7469
|
* Component default class name and class prefix.
|
|
7416
7470
|
*/
|
|
7417
|
-
const CLASSNAME$
|
|
7471
|
+
const CLASSNAME$z = getRootClassName(COMPONENT_NAME$C);
|
|
7418
7472
|
const getIconSize = typography => {
|
|
7419
7473
|
switch (typography) {
|
|
7420
7474
|
case Typography.display1:
|
|
@@ -7463,18 +7517,18 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7463
7517
|
target,
|
|
7464
7518
|
typography
|
|
7465
7519
|
} = props,
|
|
7466
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7520
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$D);
|
|
7467
7521
|
const renderedChildren = useMemo(() => /*#__PURE__*/React.createElement(React.Fragment, null, leftIcon && !isEmpty(leftIcon) && /*#__PURE__*/React.createElement(Icon, {
|
|
7468
7522
|
icon: leftIcon,
|
|
7469
|
-
className: `${CLASSNAME$
|
|
7523
|
+
className: `${CLASSNAME$z}__left-icon`,
|
|
7470
7524
|
size: getIconSize(typography)
|
|
7471
7525
|
}), children && /*#__PURE__*/React.createElement("span", {
|
|
7472
|
-
className: classnames(`${CLASSNAME$
|
|
7526
|
+
className: classnames(`${CLASSNAME$z}__content`, {
|
|
7473
7527
|
[`lumx-typography-${typography}`]: typography
|
|
7474
7528
|
})
|
|
7475
7529
|
}, children), rightIcon && !isEmpty(rightIcon) && /*#__PURE__*/React.createElement(Icon, {
|
|
7476
7530
|
icon: rightIcon,
|
|
7477
|
-
className: `${CLASSNAME$
|
|
7531
|
+
className: `${CLASSNAME$z}__right-icon`,
|
|
7478
7532
|
size: getIconSize(typography)
|
|
7479
7533
|
})), [leftIcon, typography, children, rightIcon]);
|
|
7480
7534
|
|
|
@@ -7489,7 +7543,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7489
7543
|
ref: ref,
|
|
7490
7544
|
disabled: isDisabled,
|
|
7491
7545
|
className: classnames(className, handleBasicClasses({
|
|
7492
|
-
prefix: CLASSNAME$
|
|
7546
|
+
prefix: CLASSNAME$z,
|
|
7493
7547
|
color,
|
|
7494
7548
|
colorVariant
|
|
7495
7549
|
}))
|
|
@@ -7501,17 +7555,17 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7501
7555
|
href,
|
|
7502
7556
|
target,
|
|
7503
7557
|
className: classnames(className, handleBasicClasses({
|
|
7504
|
-
prefix: CLASSNAME$
|
|
7558
|
+
prefix: CLASSNAME$z,
|
|
7505
7559
|
color,
|
|
7506
7560
|
colorVariant
|
|
7507
7561
|
})),
|
|
7508
7562
|
ref: ref
|
|
7509
7563
|
}), renderedChildren);
|
|
7510
7564
|
});
|
|
7511
|
-
Link.displayName = COMPONENT_NAME$
|
|
7512
|
-
Link.className = CLASSNAME$
|
|
7565
|
+
Link.displayName = COMPONENT_NAME$C;
|
|
7566
|
+
Link.className = CLASSNAME$z;
|
|
7513
7567
|
|
|
7514
|
-
const _excluded$
|
|
7568
|
+
const _excluded$E = ["className", "description", "link", "linkAs", "linkProps", "size", "theme", "thumbnailProps", "title", "titleHeading"];
|
|
7515
7569
|
|
|
7516
7570
|
/**
|
|
7517
7571
|
* Defines the props of the component.
|
|
@@ -7520,17 +7574,17 @@ const _excluded$D = ["className", "description", "link", "linkAs", "linkProps",
|
|
|
7520
7574
|
/**
|
|
7521
7575
|
* Component display name.
|
|
7522
7576
|
*/
|
|
7523
|
-
const COMPONENT_NAME$
|
|
7577
|
+
const COMPONENT_NAME$D = 'LinkPreview';
|
|
7524
7578
|
|
|
7525
7579
|
/**
|
|
7526
7580
|
* Component default class name and class prefix.
|
|
7527
7581
|
*/
|
|
7528
|
-
const CLASSNAME$
|
|
7582
|
+
const CLASSNAME$A = getRootClassName(COMPONENT_NAME$D);
|
|
7529
7583
|
|
|
7530
7584
|
/**
|
|
7531
7585
|
* Component default props.
|
|
7532
7586
|
*/
|
|
7533
|
-
const DEFAULT_PROPS$
|
|
7587
|
+
const DEFAULT_PROPS$u = {
|
|
7534
7588
|
size: Size.regular,
|
|
7535
7589
|
theme: Theme.light,
|
|
7536
7590
|
titleHeading: 'h2'
|
|
@@ -7556,21 +7610,21 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7556
7610
|
title,
|
|
7557
7611
|
titleHeading
|
|
7558
7612
|
} = props,
|
|
7559
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7613
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$E);
|
|
7560
7614
|
// Use title heading as title wrapper (see DEFAULT_PROPS for the default value).
|
|
7561
7615
|
const TitleHeading = titleHeading;
|
|
7562
7616
|
return /*#__PURE__*/React.createElement("article", _extends({
|
|
7563
7617
|
ref: ref
|
|
7564
7618
|
}, forwardedProps, {
|
|
7565
7619
|
className: classnames(className, handleBasicClasses({
|
|
7566
|
-
prefix: CLASSNAME$
|
|
7620
|
+
prefix: CLASSNAME$A,
|
|
7567
7621
|
size: size === Size.big && thumbnailProps ? Size.big : Size.regular,
|
|
7568
7622
|
theme
|
|
7569
7623
|
}))
|
|
7570
7624
|
}), /*#__PURE__*/React.createElement("div", {
|
|
7571
|
-
className: `${CLASSNAME$
|
|
7625
|
+
className: `${CLASSNAME$A}__wrapper`
|
|
7572
7626
|
}, thumbnailProps && /*#__PURE__*/React.createElement("div", {
|
|
7573
|
-
className: `${CLASSNAME$
|
|
7627
|
+
className: `${CLASSNAME$A}__thumbnail`
|
|
7574
7628
|
}, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
|
|
7575
7629
|
linkAs: linkAs,
|
|
7576
7630
|
linkProps: _objectSpread2(_objectSpread2({}, linkProps), {}, {
|
|
@@ -7582,9 +7636,9 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7582
7636
|
aspectRatio: AspectRatio.free,
|
|
7583
7637
|
fillHeight: true
|
|
7584
7638
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
7585
|
-
className: `${CLASSNAME$
|
|
7639
|
+
className: `${CLASSNAME$A}__container`
|
|
7586
7640
|
}, title && /*#__PURE__*/React.createElement(TitleHeading, {
|
|
7587
|
-
className: `${CLASSNAME$
|
|
7641
|
+
className: `${CLASSNAME$A}__title`
|
|
7588
7642
|
}, /*#__PURE__*/React.createElement(Link, _extends({}, linkProps, {
|
|
7589
7643
|
linkAs: linkAs,
|
|
7590
7644
|
target: "_blank",
|
|
@@ -7592,12 +7646,12 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7592
7646
|
color: theme === Theme.light ? ColorPalette.dark : ColorPalette.light,
|
|
7593
7647
|
colorVariant: ColorVariant.N
|
|
7594
7648
|
}), title)), description && /*#__PURE__*/React.createElement("p", {
|
|
7595
|
-
className: `${CLASSNAME$
|
|
7649
|
+
className: `${CLASSNAME$A}__description`
|
|
7596
7650
|
}, description), /*#__PURE__*/React.createElement("div", {
|
|
7597
|
-
className: `${CLASSNAME$
|
|
7651
|
+
className: `${CLASSNAME$A}__link`
|
|
7598
7652
|
}, /*#__PURE__*/React.createElement(Link, _extends({}, linkProps, {
|
|
7599
7653
|
linkAs: linkAs,
|
|
7600
|
-
className: classnames(`${CLASSNAME$
|
|
7654
|
+
className: classnames(`${CLASSNAME$A}__link`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className),
|
|
7601
7655
|
target: "_blank",
|
|
7602
7656
|
href: link,
|
|
7603
7657
|
color: theme === Theme.light ? ColorPalette.primary : ColorPalette.light,
|
|
@@ -7607,11 +7661,11 @@ const LinkPreview = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7607
7661
|
tabIndex: title ? '-1' : undefined
|
|
7608
7662
|
}), link)))));
|
|
7609
7663
|
});
|
|
7610
|
-
LinkPreview.displayName = COMPONENT_NAME$
|
|
7611
|
-
LinkPreview.className = CLASSNAME$
|
|
7612
|
-
LinkPreview.defaultProps = DEFAULT_PROPS$
|
|
7664
|
+
LinkPreview.displayName = COMPONENT_NAME$D;
|
|
7665
|
+
LinkPreview.className = CLASSNAME$A;
|
|
7666
|
+
LinkPreview.defaultProps = DEFAULT_PROPS$u;
|
|
7613
7667
|
|
|
7614
|
-
const _excluded$
|
|
7668
|
+
const _excluded$F = ["className"];
|
|
7615
7669
|
|
|
7616
7670
|
/**
|
|
7617
7671
|
* Defines the props of the component.
|
|
@@ -7620,12 +7674,12 @@ const _excluded$E = ["className"];
|
|
|
7620
7674
|
/**
|
|
7621
7675
|
* Component display name.
|
|
7622
7676
|
*/
|
|
7623
|
-
const COMPONENT_NAME$
|
|
7677
|
+
const COMPONENT_NAME$E = 'ListDivider';
|
|
7624
7678
|
|
|
7625
7679
|
/**
|
|
7626
7680
|
* Component default class name and class prefix.
|
|
7627
7681
|
*/
|
|
7628
|
-
const CLASSNAME$
|
|
7682
|
+
const CLASSNAME$B = getRootClassName(COMPONENT_NAME$E);
|
|
7629
7683
|
|
|
7630
7684
|
/**
|
|
7631
7685
|
* ListDivider component.
|
|
@@ -7638,19 +7692,19 @@ const ListDivider = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7638
7692
|
const {
|
|
7639
7693
|
className
|
|
7640
7694
|
} = props,
|
|
7641
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7695
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$F);
|
|
7642
7696
|
return /*#__PURE__*/React.createElement("li", _extends({
|
|
7643
7697
|
ref: ref
|
|
7644
7698
|
}, forwardedProps, {
|
|
7645
7699
|
className: classnames(className, handleBasicClasses({
|
|
7646
|
-
prefix: CLASSNAME$
|
|
7700
|
+
prefix: CLASSNAME$B
|
|
7647
7701
|
}))
|
|
7648
7702
|
}));
|
|
7649
7703
|
});
|
|
7650
|
-
ListDivider.displayName = COMPONENT_NAME$
|
|
7651
|
-
ListDivider.className = CLASSNAME$
|
|
7704
|
+
ListDivider.displayName = COMPONENT_NAME$E;
|
|
7705
|
+
ListDivider.className = CLASSNAME$B;
|
|
7652
7706
|
|
|
7653
|
-
const _excluded$
|
|
7707
|
+
const _excluded$G = ["children", "className"];
|
|
7654
7708
|
|
|
7655
7709
|
/**
|
|
7656
7710
|
* Defines the props of the component.
|
|
@@ -7659,12 +7713,12 @@ const _excluded$F = ["children", "className"];
|
|
|
7659
7713
|
/**
|
|
7660
7714
|
* Component display name.
|
|
7661
7715
|
*/
|
|
7662
|
-
const COMPONENT_NAME$
|
|
7716
|
+
const COMPONENT_NAME$F = 'ListSubheader';
|
|
7663
7717
|
|
|
7664
7718
|
/**
|
|
7665
7719
|
* Component default class name and class prefix.
|
|
7666
7720
|
*/
|
|
7667
|
-
const CLASSNAME$
|
|
7721
|
+
const CLASSNAME$C = getRootClassName(COMPONENT_NAME$F);
|
|
7668
7722
|
|
|
7669
7723
|
/**
|
|
7670
7724
|
* ListSubheader component.
|
|
@@ -7678,19 +7732,19 @@ const ListSubheader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7678
7732
|
children,
|
|
7679
7733
|
className
|
|
7680
7734
|
} = props,
|
|
7681
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7735
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$G);
|
|
7682
7736
|
return /*#__PURE__*/React.createElement("li", _extends({
|
|
7683
7737
|
ref: ref
|
|
7684
7738
|
}, forwardedProps, {
|
|
7685
7739
|
className: classnames(className, handleBasicClasses({
|
|
7686
|
-
prefix: CLASSNAME$
|
|
7740
|
+
prefix: CLASSNAME$C
|
|
7687
7741
|
}))
|
|
7688
7742
|
}), children);
|
|
7689
7743
|
});
|
|
7690
|
-
ListSubheader.displayName = COMPONENT_NAME$
|
|
7691
|
-
ListSubheader.className = CLASSNAME$
|
|
7744
|
+
ListSubheader.displayName = COMPONENT_NAME$F;
|
|
7745
|
+
ListSubheader.className = CLASSNAME$C;
|
|
7692
7746
|
|
|
7693
|
-
const _excluded$
|
|
7747
|
+
const _excluded$H = ["children", "className", "hasBackground", "kind", "icon"];
|
|
7694
7748
|
|
|
7695
7749
|
/**
|
|
7696
7750
|
* Defines the props of the component.
|
|
@@ -7699,12 +7753,12 @@ const _excluded$G = ["children", "className", "hasBackground", "kind", "icon"];
|
|
|
7699
7753
|
/**
|
|
7700
7754
|
* Component display name.
|
|
7701
7755
|
*/
|
|
7702
|
-
const COMPONENT_NAME$
|
|
7756
|
+
const COMPONENT_NAME$G = 'Message';
|
|
7703
7757
|
|
|
7704
7758
|
/**
|
|
7705
7759
|
* Component default class name and class prefix.
|
|
7706
7760
|
*/
|
|
7707
|
-
const CLASSNAME$
|
|
7761
|
+
const CLASSNAME$D = getRootClassName(COMPONENT_NAME$G);
|
|
7708
7762
|
|
|
7709
7763
|
/**
|
|
7710
7764
|
* Associative map from message kind to color and icon.
|
|
@@ -7743,7 +7797,7 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7743
7797
|
kind,
|
|
7744
7798
|
icon: customIcon
|
|
7745
7799
|
} = props,
|
|
7746
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7800
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$H);
|
|
7747
7801
|
const {
|
|
7748
7802
|
color,
|
|
7749
7803
|
icon
|
|
@@ -7753,21 +7807,21 @@ const Message = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7753
7807
|
className: classnames(className, handleBasicClasses({
|
|
7754
7808
|
color,
|
|
7755
7809
|
hasBackground,
|
|
7756
|
-
prefix: CLASSNAME$
|
|
7810
|
+
prefix: CLASSNAME$D
|
|
7757
7811
|
}))
|
|
7758
7812
|
}, forwardedProps), (customIcon || icon) && /*#__PURE__*/React.createElement(Icon, {
|
|
7759
|
-
className: `${CLASSNAME$
|
|
7813
|
+
className: `${CLASSNAME$D}__icon`,
|
|
7760
7814
|
icon: customIcon || icon,
|
|
7761
7815
|
size: Size.xs,
|
|
7762
7816
|
color: color
|
|
7763
7817
|
}), /*#__PURE__*/React.createElement("div", {
|
|
7764
|
-
className: `${CLASSNAME$
|
|
7818
|
+
className: `${CLASSNAME$D}__text`
|
|
7765
7819
|
}, children));
|
|
7766
7820
|
});
|
|
7767
|
-
Message.displayName = COMPONENT_NAME$
|
|
7768
|
-
Message.className = CLASSNAME$
|
|
7821
|
+
Message.displayName = COMPONENT_NAME$G;
|
|
7822
|
+
Message.className = CLASSNAME$D;
|
|
7769
7823
|
|
|
7770
|
-
const _excluded$
|
|
7824
|
+
const _excluded$I = ["className", "theme", "thumbnails", "onImageClick"],
|
|
7771
7825
|
_excluded2$1 = ["image", "onClick", "align"];
|
|
7772
7826
|
|
|
7773
7827
|
/**
|
|
@@ -7777,17 +7831,17 @@ const _excluded$H = ["className", "theme", "thumbnails", "onImageClick"],
|
|
|
7777
7831
|
/**
|
|
7778
7832
|
* Component display name.
|
|
7779
7833
|
*/
|
|
7780
|
-
const COMPONENT_NAME$
|
|
7834
|
+
const COMPONENT_NAME$H = 'Mosaic';
|
|
7781
7835
|
|
|
7782
7836
|
/**
|
|
7783
7837
|
* Component default class name and class prefix.
|
|
7784
7838
|
*/
|
|
7785
|
-
const CLASSNAME$
|
|
7839
|
+
const CLASSNAME$E = getRootClassName(COMPONENT_NAME$H);
|
|
7786
7840
|
|
|
7787
7841
|
/**
|
|
7788
7842
|
* Component default props.
|
|
7789
7843
|
*/
|
|
7790
|
-
const DEFAULT_PROPS$
|
|
7844
|
+
const DEFAULT_PROPS$v = {
|
|
7791
7845
|
theme: Theme.light
|
|
7792
7846
|
};
|
|
7793
7847
|
|
|
@@ -7805,7 +7859,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7805
7859
|
thumbnails,
|
|
7806
7860
|
onImageClick
|
|
7807
7861
|
} = props,
|
|
7808
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7862
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$I);
|
|
7809
7863
|
const handleImageClick = useMemo(() => {
|
|
7810
7864
|
if (!onImageClick) return undefined;
|
|
7811
7865
|
return (index, onClick) => event => {
|
|
@@ -7817,16 +7871,16 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7817
7871
|
ref: ref
|
|
7818
7872
|
}, forwardedProps, {
|
|
7819
7873
|
className: classnames(className, handleBasicClasses({
|
|
7820
|
-
prefix: CLASSNAME$
|
|
7874
|
+
prefix: CLASSNAME$E,
|
|
7821
7875
|
theme
|
|
7822
7876
|
}), {
|
|
7823
|
-
[`${CLASSNAME$
|
|
7824
|
-
[`${CLASSNAME$
|
|
7825
|
-
[`${CLASSNAME$
|
|
7826
|
-
[`${CLASSNAME$
|
|
7877
|
+
[`${CLASSNAME$E}--has-1-thumbnail`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 1,
|
|
7878
|
+
[`${CLASSNAME$E}--has-2-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 2,
|
|
7879
|
+
[`${CLASSNAME$E}--has-3-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) === 3,
|
|
7880
|
+
[`${CLASSNAME$E}--has-4-thumbnails`]: (thumbnails === null || thumbnails === void 0 ? void 0 : thumbnails.length) >= 4
|
|
7827
7881
|
})
|
|
7828
7882
|
}), /*#__PURE__*/React.createElement("div", {
|
|
7829
|
-
className: `${CLASSNAME$
|
|
7883
|
+
className: `${CLASSNAME$E}__wrapper`
|
|
7830
7884
|
}, take(thumbnails, 4).map((thumbnail, index) => {
|
|
7831
7885
|
const {
|
|
7832
7886
|
image,
|
|
@@ -7836,7 +7890,7 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7836
7890
|
thumbnailProps = _objectWithoutProperties(thumbnail, _excluded2$1);
|
|
7837
7891
|
return /*#__PURE__*/React.createElement("div", {
|
|
7838
7892
|
key: index,
|
|
7839
|
-
className: `${CLASSNAME$
|
|
7893
|
+
className: `${CLASSNAME$E}__thumbnail`
|
|
7840
7894
|
}, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
|
|
7841
7895
|
align: align || Alignment.left,
|
|
7842
7896
|
image: image,
|
|
@@ -7845,13 +7899,13 @@ const Mosaic = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7845
7899
|
fillHeight: true,
|
|
7846
7900
|
onClick: (handleImageClick === null || handleImageClick === void 0 ? void 0 : handleImageClick(index, onClick)) || onClick
|
|
7847
7901
|
})), thumbnails.length > 4 && index === 3 && /*#__PURE__*/React.createElement("div", {
|
|
7848
|
-
className: `${CLASSNAME$
|
|
7902
|
+
className: `${CLASSNAME$E}__overlay`
|
|
7849
7903
|
}, /*#__PURE__*/React.createElement("span", null, "+", thumbnails.length - 4)));
|
|
7850
7904
|
})));
|
|
7851
7905
|
});
|
|
7852
|
-
Mosaic.displayName = COMPONENT_NAME$
|
|
7853
|
-
Mosaic.className = CLASSNAME$
|
|
7854
|
-
Mosaic.defaultProps = DEFAULT_PROPS$
|
|
7906
|
+
Mosaic.displayName = COMPONENT_NAME$H;
|
|
7907
|
+
Mosaic.className = CLASSNAME$E;
|
|
7908
|
+
Mosaic.defaultProps = DEFAULT_PROPS$v;
|
|
7855
7909
|
|
|
7856
7910
|
/**
|
|
7857
7911
|
* Notification icon and colors according to their type.
|
|
@@ -7875,7 +7929,7 @@ const NOTIFICATION_CONFIGURATION = {
|
|
|
7875
7929
|
}
|
|
7876
7930
|
};
|
|
7877
7931
|
|
|
7878
|
-
const _excluded$
|
|
7932
|
+
const _excluded$J = ["actionLabel", "className", "content", "isOpen", "onActionClick", "onClick", "theme", "type", "zIndex"];
|
|
7879
7933
|
|
|
7880
7934
|
/**
|
|
7881
7935
|
* Defines the props of the component.
|
|
@@ -7884,17 +7938,17 @@ const _excluded$I = ["actionLabel", "className", "content", "isOpen", "onActionC
|
|
|
7884
7938
|
/**
|
|
7885
7939
|
* Component display name.
|
|
7886
7940
|
*/
|
|
7887
|
-
const COMPONENT_NAME$
|
|
7941
|
+
const COMPONENT_NAME$I = 'Notification';
|
|
7888
7942
|
|
|
7889
7943
|
/**
|
|
7890
7944
|
* Component default class name and class prefix.
|
|
7891
7945
|
*/
|
|
7892
|
-
const CLASSNAME$
|
|
7946
|
+
const CLASSNAME$F = getRootClassName(COMPONENT_NAME$I);
|
|
7893
7947
|
|
|
7894
7948
|
/**
|
|
7895
7949
|
* Component default props.
|
|
7896
7950
|
*/
|
|
7897
|
-
const DEFAULT_PROPS$
|
|
7951
|
+
const DEFAULT_PROPS$w = {
|
|
7898
7952
|
theme: Theme.light,
|
|
7899
7953
|
zIndex: 9999
|
|
7900
7954
|
};
|
|
@@ -7919,7 +7973,7 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7919
7973
|
type,
|
|
7920
7974
|
zIndex
|
|
7921
7975
|
} = props,
|
|
7922
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
7976
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$J);
|
|
7923
7977
|
if (!DOCUMENT) {
|
|
7924
7978
|
// Can't render in SSR.
|
|
7925
7979
|
return null;
|
|
@@ -7948,32 +8002,32 @@ const Notification = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
7948
8002
|
color,
|
|
7949
8003
|
hasAction,
|
|
7950
8004
|
isHidden: !isOpen,
|
|
7951
|
-
prefix: CLASSNAME$
|
|
8005
|
+
prefix: CLASSNAME$F
|
|
7952
8006
|
})),
|
|
7953
8007
|
onClick: onClick,
|
|
7954
8008
|
style: {
|
|
7955
8009
|
zIndex
|
|
7956
8010
|
}
|
|
7957
8011
|
}), /*#__PURE__*/React.createElement("div", {
|
|
7958
|
-
className: `${CLASSNAME$
|
|
8012
|
+
className: `${CLASSNAME$F}__icon`
|
|
7959
8013
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7960
8014
|
icon: icon,
|
|
7961
8015
|
size: Size.s
|
|
7962
8016
|
})), /*#__PURE__*/React.createElement("div", {
|
|
7963
|
-
className: `${CLASSNAME$
|
|
8017
|
+
className: `${CLASSNAME$F}__content`
|
|
7964
8018
|
}, content), hasAction && /*#__PURE__*/React.createElement("div", {
|
|
7965
|
-
className: `${CLASSNAME$
|
|
8019
|
+
className: `${CLASSNAME$F}__action`
|
|
7966
8020
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
7967
8021
|
emphasis: Emphasis.medium,
|
|
7968
8022
|
theme: theme,
|
|
7969
8023
|
onClick: handleCallback
|
|
7970
8024
|
}, /*#__PURE__*/React.createElement("span", null, actionLabel)))), document.body) : null;
|
|
7971
8025
|
});
|
|
7972
|
-
Notification.displayName = COMPONENT_NAME$
|
|
7973
|
-
Notification.className = CLASSNAME$
|
|
7974
|
-
Notification.defaultProps = DEFAULT_PROPS$
|
|
8026
|
+
Notification.displayName = COMPONENT_NAME$I;
|
|
8027
|
+
Notification.className = CLASSNAME$F;
|
|
8028
|
+
Notification.defaultProps = DEFAULT_PROPS$w;
|
|
7975
8029
|
|
|
7976
|
-
const _excluded$
|
|
8030
|
+
const _excluded$K = ["children", "isOpen", "focusElement", "label", "className"];
|
|
7977
8031
|
|
|
7978
8032
|
/**
|
|
7979
8033
|
* PopoverDialog props.
|
|
@@ -7983,17 +8037,17 @@ const _excluded$J = ["children", "isOpen", "focusElement", "label", "className"]
|
|
|
7983
8037
|
/**
|
|
7984
8038
|
* Component display name.
|
|
7985
8039
|
*/
|
|
7986
|
-
const COMPONENT_NAME$
|
|
8040
|
+
const COMPONENT_NAME$J = 'PopoverDialog';
|
|
7987
8041
|
|
|
7988
8042
|
/**
|
|
7989
8043
|
* Component default class name and class prefix.
|
|
7990
8044
|
*/
|
|
7991
|
-
const CLASSNAME$
|
|
8045
|
+
const CLASSNAME$G = getRootClassName(COMPONENT_NAME$J);
|
|
7992
8046
|
|
|
7993
8047
|
/**
|
|
7994
8048
|
* Component default props.
|
|
7995
8049
|
*/
|
|
7996
|
-
const DEFAULT_PROPS$
|
|
8050
|
+
const DEFAULT_PROPS$x = {};
|
|
7997
8051
|
|
|
7998
8052
|
/**
|
|
7999
8053
|
* PopoverDialog component.
|
|
@@ -8010,11 +8064,11 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8010
8064
|
label,
|
|
8011
8065
|
className
|
|
8012
8066
|
} = props,
|
|
8013
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
8067
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$K);
|
|
8014
8068
|
return /*#__PURE__*/React.createElement(Popover, _extends({}, forwardedProps, {
|
|
8015
8069
|
ref: ref,
|
|
8016
8070
|
className: classnames(className, handleBasicClasses({
|
|
8017
|
-
prefix: CLASSNAME$
|
|
8071
|
+
prefix: CLASSNAME$G
|
|
8018
8072
|
})),
|
|
8019
8073
|
role: "dialog",
|
|
8020
8074
|
"aria-modal": "true"
|
|
@@ -8030,11 +8084,11 @@ const PopoverDialog = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8030
8084
|
withFocusTrap: true
|
|
8031
8085
|
}), children);
|
|
8032
8086
|
});
|
|
8033
|
-
PopoverDialog.displayName = COMPONENT_NAME$
|
|
8034
|
-
PopoverDialog.className = CLASSNAME$
|
|
8035
|
-
PopoverDialog.defaultProps = DEFAULT_PROPS$
|
|
8087
|
+
PopoverDialog.displayName = COMPONENT_NAME$J;
|
|
8088
|
+
PopoverDialog.className = CLASSNAME$G;
|
|
8089
|
+
PopoverDialog.defaultProps = DEFAULT_PROPS$x;
|
|
8036
8090
|
|
|
8037
|
-
const _excluded$
|
|
8091
|
+
const _excluded$L = ["actions", "attachments", "author", "className", "meta", "onClick", "orientation", "tags", "text", "theme", "thumbnailProps", "title"];
|
|
8038
8092
|
|
|
8039
8093
|
/**
|
|
8040
8094
|
* Defines the props of the component.
|
|
@@ -8043,17 +8097,17 @@ const _excluded$K = ["actions", "attachments", "author", "className", "meta", "o
|
|
|
8043
8097
|
/**
|
|
8044
8098
|
* Component display name.
|
|
8045
8099
|
*/
|
|
8046
|
-
const COMPONENT_NAME$
|
|
8100
|
+
const COMPONENT_NAME$K = 'PostBlock';
|
|
8047
8101
|
|
|
8048
8102
|
/**
|
|
8049
8103
|
* Component default class name and class prefix.
|
|
8050
8104
|
*/
|
|
8051
|
-
const CLASSNAME$
|
|
8105
|
+
const CLASSNAME$H = getRootClassName(COMPONENT_NAME$K);
|
|
8052
8106
|
|
|
8053
8107
|
/**
|
|
8054
8108
|
* Component default props.
|
|
8055
8109
|
*/
|
|
8056
|
-
const DEFAULT_PROPS$
|
|
8110
|
+
const DEFAULT_PROPS$y = {
|
|
8057
8111
|
orientation: Orientation.horizontal,
|
|
8058
8112
|
theme: Theme.light
|
|
8059
8113
|
};
|
|
@@ -8080,102 +8134,146 @@ const PostBlock = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8080
8134
|
thumbnailProps,
|
|
8081
8135
|
title
|
|
8082
8136
|
} = props,
|
|
8083
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
8137
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$L);
|
|
8084
8138
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
8085
8139
|
ref: ref,
|
|
8086
8140
|
className: classnames(className, handleBasicClasses({
|
|
8087
|
-
prefix: CLASSNAME$
|
|
8141
|
+
prefix: CLASSNAME$H,
|
|
8088
8142
|
orientation,
|
|
8089
8143
|
theme
|
|
8090
8144
|
}))
|
|
8091
8145
|
}, forwardedProps), thumbnailProps && /*#__PURE__*/React.createElement("div", {
|
|
8092
|
-
className: `${CLASSNAME$
|
|
8146
|
+
className: `${CLASSNAME$H}__thumbnail`
|
|
8093
8147
|
}, /*#__PURE__*/React.createElement(Thumbnail, _extends({}, thumbnailProps, {
|
|
8094
8148
|
theme: theme,
|
|
8095
8149
|
variant: ThumbnailVariant.rounded
|
|
8096
8150
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
8097
|
-
className: `${CLASSNAME$
|
|
8151
|
+
className: `${CLASSNAME$H}__wrapper`
|
|
8098
8152
|
}, author && /*#__PURE__*/React.createElement("div", {
|
|
8099
|
-
className: `${CLASSNAME$
|
|
8153
|
+
className: `${CLASSNAME$H}__author`
|
|
8100
8154
|
}, author), title && /*#__PURE__*/React.createElement("button", {
|
|
8101
8155
|
type: "button",
|
|
8102
|
-
className: `${CLASSNAME$
|
|
8156
|
+
className: `${CLASSNAME$H}__title`,
|
|
8103
8157
|
onClick: onClick
|
|
8104
8158
|
}, title), meta && /*#__PURE__*/React.createElement("span", {
|
|
8105
|
-
className: `${CLASSNAME$
|
|
8159
|
+
className: `${CLASSNAME$H}__meta`
|
|
8106
8160
|
}, meta), isObject(text) && text.__html ?
|
|
8107
8161
|
/*#__PURE__*/
|
|
8108
8162
|
// eslint-disable-next-line react/no-danger
|
|
8109
8163
|
React.createElement("p", {
|
|
8110
8164
|
dangerouslySetInnerHTML: text,
|
|
8111
|
-
className: `${CLASSNAME$
|
|
8165
|
+
className: `${CLASSNAME$H}__text`
|
|
8112
8166
|
}) : /*#__PURE__*/React.createElement("p", {
|
|
8113
|
-
className: `${CLASSNAME$
|
|
8167
|
+
className: `${CLASSNAME$H}__text`
|
|
8114
8168
|
}, text), attachments && /*#__PURE__*/React.createElement("div", {
|
|
8115
|
-
className: `${CLASSNAME$
|
|
8169
|
+
className: `${CLASSNAME$H}__attachments`
|
|
8116
8170
|
}, attachments), (tags || actions) && /*#__PURE__*/React.createElement("div", {
|
|
8117
|
-
className: `${CLASSNAME$
|
|
8171
|
+
className: `${CLASSNAME$H}__toolbar`
|
|
8118
8172
|
}, tags && /*#__PURE__*/React.createElement("div", {
|
|
8119
|
-
className: `${CLASSNAME$
|
|
8173
|
+
className: `${CLASSNAME$H}__tags`
|
|
8120
8174
|
}, tags), actions && /*#__PURE__*/React.createElement("div", {
|
|
8121
|
-
className: `${CLASSNAME$
|
|
8175
|
+
className: `${CLASSNAME$H}__actions`
|
|
8122
8176
|
}, actions))));
|
|
8123
8177
|
});
|
|
8124
|
-
PostBlock.displayName = COMPONENT_NAME$
|
|
8125
|
-
PostBlock.className = CLASSNAME$
|
|
8126
|
-
PostBlock.defaultProps = DEFAULT_PROPS$
|
|
8178
|
+
PostBlock.displayName = COMPONENT_NAME$K;
|
|
8179
|
+
PostBlock.className = CLASSNAME$H;
|
|
8180
|
+
PostBlock.defaultProps = DEFAULT_PROPS$y;
|
|
8127
8181
|
|
|
8128
|
-
const _excluded$
|
|
8182
|
+
const _excluded$M = ["className", "theme"];
|
|
8183
|
+
/**
|
|
8184
|
+
* Component display name.
|
|
8185
|
+
*/
|
|
8186
|
+
const COMPONENT_NAME$L = 'ProgressLinear';
|
|
8129
8187
|
|
|
8130
8188
|
/**
|
|
8131
|
-
*
|
|
8189
|
+
* Component default class name and class prefix.
|
|
8132
8190
|
*/
|
|
8133
|
-
const
|
|
8134
|
-
|
|
8135
|
-
|
|
8191
|
+
const CLASSNAME$I = getRootClassName(COMPONENT_NAME$L);
|
|
8192
|
+
|
|
8193
|
+
/**
|
|
8194
|
+
* Component default props.
|
|
8195
|
+
*/
|
|
8196
|
+
const DEFAULT_PROPS$z = {
|
|
8197
|
+
theme: Theme.light
|
|
8136
8198
|
};
|
|
8199
|
+
|
|
8200
|
+
/**
|
|
8201
|
+
* ProgressLinear component.
|
|
8202
|
+
*
|
|
8203
|
+
* @param props Component props.
|
|
8204
|
+
* @param ref Component ref.
|
|
8205
|
+
* @return React element.
|
|
8206
|
+
*/
|
|
8207
|
+
const ProgressLinear = /*#__PURE__*/forwardRef((props, ref) => {
|
|
8208
|
+
const {
|
|
8209
|
+
className,
|
|
8210
|
+
theme
|
|
8211
|
+
} = props,
|
|
8212
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$M);
|
|
8213
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
8214
|
+
ref: ref
|
|
8215
|
+
}, forwardedProps, {
|
|
8216
|
+
className: classnames(className, handleBasicClasses({
|
|
8217
|
+
prefix: CLASSNAME$I,
|
|
8218
|
+
theme
|
|
8219
|
+
}))
|
|
8220
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
8221
|
+
className: "lumx-progress-linear__line1"
|
|
8222
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
8223
|
+
className: "lumx-progress-linear__line2"
|
|
8224
|
+
}));
|
|
8225
|
+
});
|
|
8226
|
+
ProgressLinear.displayName = COMPONENT_NAME$L;
|
|
8227
|
+
ProgressLinear.className = CLASSNAME$I;
|
|
8228
|
+
ProgressLinear.defaultProps = DEFAULT_PROPS$z;
|
|
8229
|
+
|
|
8230
|
+
const _excluded$N = ["className", "theme", "size"];
|
|
8231
|
+
|
|
8232
|
+
/**
|
|
8233
|
+
* Progress sizes.
|
|
8234
|
+
*/
|
|
8235
|
+
|
|
8137
8236
|
/**
|
|
8138
8237
|
* Component display name.
|
|
8139
8238
|
*/
|
|
8140
|
-
const COMPONENT_NAME$
|
|
8239
|
+
const COMPONENT_NAME$M = 'ProgressCircular';
|
|
8141
8240
|
|
|
8142
8241
|
/**
|
|
8143
8242
|
* Component default class name and class prefix.
|
|
8144
8243
|
*/
|
|
8145
|
-
const CLASSNAME$
|
|
8244
|
+
const CLASSNAME$J = getRootClassName(COMPONENT_NAME$M);
|
|
8146
8245
|
|
|
8147
8246
|
/**
|
|
8148
8247
|
* Component default props.
|
|
8149
8248
|
*/
|
|
8150
|
-
const DEFAULT_PROPS$
|
|
8249
|
+
const DEFAULT_PROPS$A = {
|
|
8151
8250
|
theme: Theme.light,
|
|
8152
|
-
|
|
8251
|
+
size: Size.m
|
|
8153
8252
|
};
|
|
8253
|
+
|
|
8154
8254
|
/**
|
|
8155
|
-
*
|
|
8255
|
+
* ProgressCircularProps component.
|
|
8156
8256
|
*
|
|
8157
8257
|
* @param props Component props.
|
|
8158
8258
|
* @param ref Component ref.
|
|
8159
8259
|
* @return React element.
|
|
8160
8260
|
*/
|
|
8161
|
-
const
|
|
8261
|
+
const ProgressCircular = /*#__PURE__*/forwardRef((props, ref) => {
|
|
8162
8262
|
const {
|
|
8163
8263
|
className,
|
|
8164
8264
|
theme,
|
|
8165
|
-
|
|
8265
|
+
size
|
|
8166
8266
|
} = props,
|
|
8167
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
8267
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$N);
|
|
8168
8268
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
8169
8269
|
ref: ref
|
|
8170
8270
|
}, forwardedProps, {
|
|
8171
8271
|
className: classnames(className, handleBasicClasses({
|
|
8172
|
-
prefix: CLASSNAME$
|
|
8272
|
+
prefix: CLASSNAME$J,
|
|
8173
8273
|
theme,
|
|
8174
|
-
|
|
8274
|
+
size
|
|
8175
8275
|
}))
|
|
8176
8276
|
}), /*#__PURE__*/React.createElement("div", {
|
|
8177
|
-
className: classnames(`${CLASSNAME$H}-${variant}`)
|
|
8178
|
-
}, variant === ProgressVariant.circular && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
8179
8277
|
className: "lumx-progress-circular__double-bounce1"
|
|
8180
8278
|
}), /*#__PURE__*/React.createElement("div", {
|
|
8181
8279
|
className: "lumx-progress-circular__double-bounce2"
|
|
@@ -8189,15 +8287,71 @@ const Progress = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8189
8287
|
r: "20",
|
|
8190
8288
|
fill: "none",
|
|
8191
8289
|
strokeWidth: "5"
|
|
8192
|
-
})))
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
|
|
8290
|
+
})));
|
|
8291
|
+
});
|
|
8292
|
+
ProgressCircular.displayName = COMPONENT_NAME$M;
|
|
8293
|
+
ProgressCircular.className = CLASSNAME$J;
|
|
8294
|
+
ProgressCircular.defaultProps = DEFAULT_PROPS$A;
|
|
8295
|
+
|
|
8296
|
+
const _excluded$O = ["className", "theme", "variant"];
|
|
8297
|
+
|
|
8298
|
+
/**
|
|
8299
|
+
* Progress variants.
|
|
8300
|
+
*/
|
|
8301
|
+
const ProgressVariant = {
|
|
8302
|
+
linear: 'linear',
|
|
8303
|
+
circular: 'circular'
|
|
8304
|
+
};
|
|
8305
|
+
/**
|
|
8306
|
+
* Component display name.
|
|
8307
|
+
*/
|
|
8308
|
+
const COMPONENT_NAME$N = 'Progress';
|
|
8309
|
+
|
|
8310
|
+
/**
|
|
8311
|
+
* Component default class name and class prefix.
|
|
8312
|
+
*/
|
|
8313
|
+
const CLASSNAME$K = getRootClassName(COMPONENT_NAME$N);
|
|
8314
|
+
|
|
8315
|
+
/**
|
|
8316
|
+
* Component default props.
|
|
8317
|
+
*/
|
|
8318
|
+
const DEFAULT_PROPS$B = {
|
|
8319
|
+
theme: Theme.light,
|
|
8320
|
+
variant: ProgressVariant.circular
|
|
8321
|
+
};
|
|
8322
|
+
|
|
8323
|
+
/**
|
|
8324
|
+
* Progress component.
|
|
8325
|
+
*
|
|
8326
|
+
* @deprecated use `ProgressLinear` and `ProgressCircular` instead.
|
|
8327
|
+
* @param props Component props.
|
|
8328
|
+
* @param ref Component ref.
|
|
8329
|
+
* @return React element.
|
|
8330
|
+
*/
|
|
8331
|
+
const Progress = /*#__PURE__*/forwardRef((props, ref) => {
|
|
8332
|
+
const {
|
|
8333
|
+
className,
|
|
8334
|
+
theme,
|
|
8335
|
+
variant
|
|
8336
|
+
} = props,
|
|
8337
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$O);
|
|
8338
|
+
return /*#__PURE__*/React.createElement("div", _extends({
|
|
8339
|
+
ref: ref
|
|
8340
|
+
}, forwardedProps, {
|
|
8341
|
+
className: classnames(className, handleBasicClasses({
|
|
8342
|
+
prefix: CLASSNAME$K,
|
|
8343
|
+
theme,
|
|
8344
|
+
variant
|
|
8345
|
+
}))
|
|
8346
|
+
}), variant === ProgressVariant.circular && /*#__PURE__*/React.createElement(ProgressCircular, {
|
|
8347
|
+
theme: theme
|
|
8348
|
+
}), variant === ProgressVariant.linear && /*#__PURE__*/React.createElement(ProgressLinear, {
|
|
8349
|
+
theme: theme
|
|
8350
|
+
}));
|
|
8197
8351
|
});
|
|
8198
|
-
Progress.displayName = COMPONENT_NAME$
|
|
8199
|
-
Progress.className = CLASSNAME$
|
|
8200
|
-
Progress.defaultProps = DEFAULT_PROPS$
|
|
8352
|
+
Progress.displayName = COMPONENT_NAME$N;
|
|
8353
|
+
Progress.className = CLASSNAME$K;
|
|
8354
|
+
Progress.defaultProps = DEFAULT_PROPS$B;
|
|
8201
8355
|
|
|
8202
8356
|
const INIT_STATE = {
|
|
8203
8357
|
isLazy: true,
|
|
@@ -8318,8 +8472,8 @@ const useTabProviderContextState = () => {
|
|
|
8318
8472
|
return context === null || context === void 0 ? void 0 : context[0];
|
|
8319
8473
|
};
|
|
8320
8474
|
|
|
8321
|
-
const _excluded$
|
|
8322
|
-
const DEFAULT_PROPS$
|
|
8475
|
+
const _excluded$P = ["children", "onChange"];
|
|
8476
|
+
const DEFAULT_PROPS$C = {
|
|
8323
8477
|
isLazy: INIT_STATE.isLazy,
|
|
8324
8478
|
shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
|
|
8325
8479
|
};
|
|
@@ -8340,7 +8494,7 @@ const ProgressTrackerProvider = props => {
|
|
|
8340
8494
|
children,
|
|
8341
8495
|
onChange
|
|
8342
8496
|
} = props,
|
|
8343
|
-
propState = _objectWithoutProperties(props, _excluded$
|
|
8497
|
+
propState = _objectWithoutProperties(props, _excluded$P);
|
|
8344
8498
|
const [state, dispatch] = useReducer(reducer, INIT_STATE);
|
|
8345
8499
|
|
|
8346
8500
|
// On prop state change => dispatch update.
|
|
@@ -8368,7 +8522,7 @@ const ProgressTrackerProvider = props => {
|
|
|
8368
8522
|
value: [state, dispatch]
|
|
8369
8523
|
}, children);
|
|
8370
8524
|
};
|
|
8371
|
-
ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$
|
|
8525
|
+
ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$C;
|
|
8372
8526
|
|
|
8373
8527
|
const useRovingTabIndex = _ref => {
|
|
8374
8528
|
let {
|
|
@@ -8444,7 +8598,7 @@ const useRovingTabIndex = _ref => {
|
|
|
8444
8598
|
[parentRef, ...extraDependencies]);
|
|
8445
8599
|
};
|
|
8446
8600
|
|
|
8447
|
-
const _excluded$
|
|
8601
|
+
const _excluded$Q = ["aria-label", "children", "className"];
|
|
8448
8602
|
|
|
8449
8603
|
/**
|
|
8450
8604
|
* Defines the props of the component.
|
|
@@ -8453,17 +8607,17 @@ const _excluded$N = ["aria-label", "children", "className"];
|
|
|
8453
8607
|
/**
|
|
8454
8608
|
* Component display name.
|
|
8455
8609
|
*/
|
|
8456
|
-
const COMPONENT_NAME$
|
|
8610
|
+
const COMPONENT_NAME$O = 'ProgressTracker';
|
|
8457
8611
|
|
|
8458
8612
|
/**
|
|
8459
8613
|
* Component default class name and class prefix.
|
|
8460
8614
|
*/
|
|
8461
|
-
const CLASSNAME$
|
|
8615
|
+
const CLASSNAME$L = getRootClassName(COMPONENT_NAME$O);
|
|
8462
8616
|
|
|
8463
8617
|
/**
|
|
8464
8618
|
* Component default props.
|
|
8465
8619
|
*/
|
|
8466
|
-
const DEFAULT_PROPS$
|
|
8620
|
+
const DEFAULT_PROPS$D = {};
|
|
8467
8621
|
|
|
8468
8622
|
/**
|
|
8469
8623
|
* ProgressTracker component.
|
|
@@ -8481,7 +8635,7 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8481
8635
|
children,
|
|
8482
8636
|
className
|
|
8483
8637
|
} = props,
|
|
8484
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
8638
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$Q);
|
|
8485
8639
|
const stepListRef = React.useRef(null);
|
|
8486
8640
|
useRovingTabIndex({
|
|
8487
8641
|
parentRef: stepListRef,
|
|
@@ -8497,20 +8651,20 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8497
8651
|
ref: mergeRefs(ref, stepListRef)
|
|
8498
8652
|
}, forwardedProps, {
|
|
8499
8653
|
className: classnames(className, handleBasicClasses({
|
|
8500
|
-
prefix: CLASSNAME$
|
|
8654
|
+
prefix: CLASSNAME$L
|
|
8501
8655
|
}))
|
|
8502
8656
|
}), /*#__PURE__*/React.createElement("div", {
|
|
8503
|
-
className: `${CLASSNAME$
|
|
8657
|
+
className: `${CLASSNAME$L}__steps`,
|
|
8504
8658
|
role: "tablist",
|
|
8505
8659
|
"aria-label": ariaLabel
|
|
8506
8660
|
}, children), /*#__PURE__*/React.createElement("div", {
|
|
8507
|
-
className: `${CLASSNAME$
|
|
8661
|
+
className: `${CLASSNAME$L}__background-bar`,
|
|
8508
8662
|
style: {
|
|
8509
8663
|
left: `${backgroundPosition}%`,
|
|
8510
8664
|
right: `${backgroundPosition}%`
|
|
8511
8665
|
}
|
|
8512
8666
|
}), /*#__PURE__*/React.createElement("div", {
|
|
8513
|
-
className: `${CLASSNAME$
|
|
8667
|
+
className: `${CLASSNAME$L}__foreground-bar`,
|
|
8514
8668
|
style: {
|
|
8515
8669
|
left: `${backgroundPosition}%`,
|
|
8516
8670
|
right: `${backgroundPosition}%`,
|
|
@@ -8518,11 +8672,11 @@ const ProgressTracker = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8518
8672
|
}
|
|
8519
8673
|
}));
|
|
8520
8674
|
});
|
|
8521
|
-
ProgressTracker.displayName = COMPONENT_NAME$
|
|
8522
|
-
ProgressTracker.className = CLASSNAME$
|
|
8523
|
-
ProgressTracker.defaultProps = DEFAULT_PROPS$
|
|
8675
|
+
ProgressTracker.displayName = COMPONENT_NAME$O;
|
|
8676
|
+
ProgressTracker.className = CLASSNAME$L;
|
|
8677
|
+
ProgressTracker.defaultProps = DEFAULT_PROPS$D;
|
|
8524
8678
|
|
|
8525
|
-
const _excluded$
|
|
8679
|
+
const _excluded$R = ["className", "disabled", "hasError", "helper", "id", "isActive", "isComplete", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
|
|
8526
8680
|
|
|
8527
8681
|
/**
|
|
8528
8682
|
* Defines the props of the component.
|
|
@@ -8531,17 +8685,17 @@ const _excluded$O = ["className", "disabled", "hasError", "helper", "id", "isAct
|
|
|
8531
8685
|
/**
|
|
8532
8686
|
* Component display name.
|
|
8533
8687
|
*/
|
|
8534
|
-
const COMPONENT_NAME$
|
|
8688
|
+
const COMPONENT_NAME$P = 'ProgressTrackerStep';
|
|
8535
8689
|
|
|
8536
8690
|
/**
|
|
8537
8691
|
* Component default class name and class prefix.
|
|
8538
8692
|
*/
|
|
8539
|
-
const CLASSNAME$
|
|
8693
|
+
const CLASSNAME$M = getRootClassName(COMPONENT_NAME$P);
|
|
8540
8694
|
|
|
8541
8695
|
/**
|
|
8542
8696
|
* Component default props.
|
|
8543
8697
|
*/
|
|
8544
|
-
const DEFAULT_PROPS$
|
|
8698
|
+
const DEFAULT_PROPS$E = {};
|
|
8545
8699
|
|
|
8546
8700
|
/**
|
|
8547
8701
|
* ProgressTrackerStep component.
|
|
@@ -8567,7 +8721,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8567
8721
|
onKeyPress,
|
|
8568
8722
|
tabIndex = -1
|
|
8569
8723
|
} = props,
|
|
8570
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
8724
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$R);
|
|
8571
8725
|
const state = useTabProviderContext('tab', id);
|
|
8572
8726
|
const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
|
|
8573
8727
|
const changeToCurrentTab = useCallback(() => {
|
|
@@ -8604,7 +8758,7 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8604
8758
|
type: "button",
|
|
8605
8759
|
id: state === null || state === void 0 ? void 0 : state.tabId,
|
|
8606
8760
|
className: classnames(className, handleBasicClasses({
|
|
8607
|
-
prefix: CLASSNAME$
|
|
8761
|
+
prefix: CLASSNAME$M,
|
|
8608
8762
|
hasError,
|
|
8609
8763
|
isActive,
|
|
8610
8764
|
isClickable: state && !isDisabled,
|
|
@@ -8619,22 +8773,22 @@ const ProgressTrackerStep = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8619
8773
|
"aria-selected": isActive,
|
|
8620
8774
|
"aria-controls": state === null || state === void 0 ? void 0 : state.tabPanelId
|
|
8621
8775
|
}), /*#__PURE__*/React.createElement(Icon, {
|
|
8622
|
-
className: `${CLASSNAME$
|
|
8776
|
+
className: `${CLASSNAME$M}__state`,
|
|
8623
8777
|
icon: getIcon(),
|
|
8624
8778
|
size: Size.s
|
|
8625
8779
|
}), /*#__PURE__*/React.createElement(InputLabel, {
|
|
8626
8780
|
htmlFor: (state === null || state === void 0 ? void 0 : state.tabId) || '',
|
|
8627
|
-
className: `${CLASSNAME$
|
|
8781
|
+
className: `${CLASSNAME$M}__label`
|
|
8628
8782
|
}, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
|
|
8629
8783
|
kind: hasError ? Kind.error : Kind.info,
|
|
8630
|
-
className: `${CLASSNAME$
|
|
8784
|
+
className: `${CLASSNAME$M}__helper`
|
|
8631
8785
|
}, helper));
|
|
8632
8786
|
});
|
|
8633
|
-
ProgressTrackerStep.displayName = COMPONENT_NAME$
|
|
8634
|
-
ProgressTrackerStep.className = CLASSNAME$
|
|
8635
|
-
ProgressTrackerStep.defaultProps = DEFAULT_PROPS$
|
|
8787
|
+
ProgressTrackerStep.displayName = COMPONENT_NAME$P;
|
|
8788
|
+
ProgressTrackerStep.className = CLASSNAME$M;
|
|
8789
|
+
ProgressTrackerStep.defaultProps = DEFAULT_PROPS$E;
|
|
8636
8790
|
|
|
8637
|
-
const _excluded$
|
|
8791
|
+
const _excluded$S = ["children", "id", "className", "isActive"];
|
|
8638
8792
|
|
|
8639
8793
|
/**
|
|
8640
8794
|
* Defines the props of the component.
|
|
@@ -8643,17 +8797,17 @@ const _excluded$P = ["children", "id", "className", "isActive"];
|
|
|
8643
8797
|
/**
|
|
8644
8798
|
* Component display name.
|
|
8645
8799
|
*/
|
|
8646
|
-
const COMPONENT_NAME$
|
|
8800
|
+
const COMPONENT_NAME$Q = 'ProgressTrackerStepPanel';
|
|
8647
8801
|
|
|
8648
8802
|
/**
|
|
8649
8803
|
* Component default class name and class prefix.
|
|
8650
8804
|
*/
|
|
8651
|
-
const CLASSNAME$
|
|
8805
|
+
const CLASSNAME$N = `${CSS_PREFIX}-step-panel`;
|
|
8652
8806
|
|
|
8653
8807
|
/**
|
|
8654
8808
|
* Component default props.
|
|
8655
8809
|
*/
|
|
8656
|
-
const DEFAULT_PROPS$
|
|
8810
|
+
const DEFAULT_PROPS$F = {};
|
|
8657
8811
|
|
|
8658
8812
|
/**
|
|
8659
8813
|
* ProgressTrackerStepPanel component.
|
|
@@ -8671,7 +8825,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8671
8825
|
className,
|
|
8672
8826
|
isActive: propIsActive
|
|
8673
8827
|
} = props,
|
|
8674
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
8828
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$S);
|
|
8675
8829
|
const state = useTabProviderContext('tabPanel', id);
|
|
8676
8830
|
const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
|
|
8677
8831
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
@@ -8679,7 +8833,7 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8679
8833
|
}, forwardedProps, {
|
|
8680
8834
|
id: state === null || state === void 0 ? void 0 : state.tabPanelId,
|
|
8681
8835
|
className: classnames(className, handleBasicClasses({
|
|
8682
|
-
prefix: CLASSNAME$
|
|
8836
|
+
prefix: CLASSNAME$N,
|
|
8683
8837
|
isActive
|
|
8684
8838
|
})),
|
|
8685
8839
|
role: "tabpanel",
|
|
@@ -8687,11 +8841,11 @@ const ProgressTrackerStepPanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8687
8841
|
"aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
|
|
8688
8842
|
}), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
|
|
8689
8843
|
});
|
|
8690
|
-
ProgressTrackerStepPanel.displayName = COMPONENT_NAME$
|
|
8691
|
-
ProgressTrackerStepPanel.className = CLASSNAME$
|
|
8692
|
-
ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$
|
|
8844
|
+
ProgressTrackerStepPanel.displayName = COMPONENT_NAME$Q;
|
|
8845
|
+
ProgressTrackerStepPanel.className = CLASSNAME$N;
|
|
8846
|
+
ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$F;
|
|
8693
8847
|
|
|
8694
|
-
const _excluded$
|
|
8848
|
+
const _excluded$T = ["checked", "className", "disabled", "helper", "id", "inputRef", "isChecked", "isDisabled", "label", "name", "onChange", "theme", "value", "inputProps"];
|
|
8695
8849
|
|
|
8696
8850
|
/**
|
|
8697
8851
|
* Defines the props of the component.
|
|
@@ -8700,17 +8854,17 @@ const _excluded$Q = ["checked", "className", "disabled", "helper", "id", "inputR
|
|
|
8700
8854
|
/**
|
|
8701
8855
|
* Component display name.
|
|
8702
8856
|
*/
|
|
8703
|
-
const COMPONENT_NAME$
|
|
8857
|
+
const COMPONENT_NAME$R = 'RadioButton';
|
|
8704
8858
|
|
|
8705
8859
|
/**
|
|
8706
8860
|
* Component default class name and class prefix.
|
|
8707
8861
|
*/
|
|
8708
|
-
const CLASSNAME$
|
|
8862
|
+
const CLASSNAME$O = getRootClassName(COMPONENT_NAME$R);
|
|
8709
8863
|
|
|
8710
8864
|
/**
|
|
8711
8865
|
* Component default props.
|
|
8712
8866
|
*/
|
|
8713
|
-
const DEFAULT_PROPS$
|
|
8867
|
+
const DEFAULT_PROPS$G = {
|
|
8714
8868
|
theme: Theme.light
|
|
8715
8869
|
};
|
|
8716
8870
|
|
|
@@ -8738,8 +8892,8 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8738
8892
|
value,
|
|
8739
8893
|
inputProps
|
|
8740
8894
|
} = props,
|
|
8741
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
8742
|
-
const inputId = useMemo(() => id || `${CLASSNAME$
|
|
8895
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$T);
|
|
8896
|
+
const inputId = useMemo(() => id || `${CLASSNAME$O.toLowerCase()}-${uid()}`, [id]);
|
|
8743
8897
|
const handleChange = event => {
|
|
8744
8898
|
if (onChange) {
|
|
8745
8899
|
onChange(value, name, event);
|
|
@@ -8752,14 +8906,14 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8752
8906
|
isChecked,
|
|
8753
8907
|
isDisabled,
|
|
8754
8908
|
isUnchecked: !isChecked,
|
|
8755
|
-
prefix: CLASSNAME$
|
|
8909
|
+
prefix: CLASSNAME$O,
|
|
8756
8910
|
theme
|
|
8757
8911
|
}))
|
|
8758
8912
|
}), /*#__PURE__*/React.createElement("div", {
|
|
8759
|
-
className: `${CLASSNAME$
|
|
8913
|
+
className: `${CLASSNAME$O}__input-wrapper`
|
|
8760
8914
|
}, /*#__PURE__*/React.createElement("input", _extends({
|
|
8761
8915
|
ref: inputRef,
|
|
8762
|
-
className: `${CLASSNAME$
|
|
8916
|
+
className: `${CLASSNAME$O}__input-native`,
|
|
8763
8917
|
disabled: isDisabled,
|
|
8764
8918
|
id: inputId,
|
|
8765
8919
|
tabIndex: isDisabled ? -1 : 0,
|
|
@@ -8770,28 +8924,28 @@ const RadioButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8770
8924
|
onChange: handleChange,
|
|
8771
8925
|
"aria-describedby": helper ? `${inputId}-helper` : undefined
|
|
8772
8926
|
}, inputProps)), /*#__PURE__*/React.createElement("div", {
|
|
8773
|
-
className: `${CLASSNAME$
|
|
8927
|
+
className: `${CLASSNAME$O}__input-placeholder`
|
|
8774
8928
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8775
|
-
className: `${CLASSNAME$
|
|
8929
|
+
className: `${CLASSNAME$O}__input-background`
|
|
8776
8930
|
}), /*#__PURE__*/React.createElement("div", {
|
|
8777
|
-
className: `${CLASSNAME$
|
|
8931
|
+
className: `${CLASSNAME$O}__input-indicator`
|
|
8778
8932
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
8779
|
-
className: `${CLASSNAME$
|
|
8933
|
+
className: `${CLASSNAME$O}__content`
|
|
8780
8934
|
}, label && /*#__PURE__*/React.createElement(InputLabel, {
|
|
8781
8935
|
htmlFor: inputId,
|
|
8782
8936
|
theme: theme,
|
|
8783
|
-
className: `${CLASSNAME$
|
|
8937
|
+
className: `${CLASSNAME$O}__label`
|
|
8784
8938
|
}, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
|
|
8785
8939
|
id: `${inputId}-helper`,
|
|
8786
8940
|
theme: theme,
|
|
8787
|
-
className: `${CLASSNAME$
|
|
8941
|
+
className: `${CLASSNAME$O}__helper`
|
|
8788
8942
|
}, helper)));
|
|
8789
8943
|
});
|
|
8790
|
-
RadioButton.displayName = COMPONENT_NAME$
|
|
8791
|
-
RadioButton.className = CLASSNAME$
|
|
8792
|
-
RadioButton.defaultProps = DEFAULT_PROPS$
|
|
8944
|
+
RadioButton.displayName = COMPONENT_NAME$R;
|
|
8945
|
+
RadioButton.className = CLASSNAME$O;
|
|
8946
|
+
RadioButton.defaultProps = DEFAULT_PROPS$G;
|
|
8793
8947
|
|
|
8794
|
-
const _excluded$
|
|
8948
|
+
const _excluded$U = ["children", "className"];
|
|
8795
8949
|
|
|
8796
8950
|
/**
|
|
8797
8951
|
* Defines the props of the component.
|
|
@@ -8800,12 +8954,12 @@ const _excluded$R = ["children", "className"];
|
|
|
8800
8954
|
/**
|
|
8801
8955
|
* Component display name.
|
|
8802
8956
|
*/
|
|
8803
|
-
const COMPONENT_NAME$
|
|
8957
|
+
const COMPONENT_NAME$S = 'RadioGroup';
|
|
8804
8958
|
|
|
8805
8959
|
/**
|
|
8806
8960
|
* Component default class name and class prefix.
|
|
8807
8961
|
*/
|
|
8808
|
-
const CLASSNAME$
|
|
8962
|
+
const CLASSNAME$P = getRootClassName(COMPONENT_NAME$S);
|
|
8809
8963
|
|
|
8810
8964
|
/**
|
|
8811
8965
|
* RadioGroup component.
|
|
@@ -8819,17 +8973,17 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
8819
8973
|
children,
|
|
8820
8974
|
className
|
|
8821
8975
|
} = props,
|
|
8822
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
8976
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$U);
|
|
8823
8977
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
8824
8978
|
ref: ref
|
|
8825
8979
|
}, forwardedProps, {
|
|
8826
8980
|
className: classnames(className, handleBasicClasses({
|
|
8827
|
-
prefix: CLASSNAME$
|
|
8981
|
+
prefix: CLASSNAME$P
|
|
8828
8982
|
}))
|
|
8829
8983
|
}), children);
|
|
8830
8984
|
});
|
|
8831
|
-
RadioGroup.displayName = COMPONENT_NAME$
|
|
8832
|
-
RadioGroup.className = CLASSNAME$
|
|
8985
|
+
RadioGroup.displayName = COMPONENT_NAME$S;
|
|
8986
|
+
RadioGroup.className = CLASSNAME$P;
|
|
8833
8987
|
|
|
8834
8988
|
/**
|
|
8835
8989
|
* Listen on element focus to store the focus status.
|
|
@@ -8863,16 +9017,16 @@ const SelectVariant = {
|
|
|
8863
9017
|
chip: 'chip'
|
|
8864
9018
|
};
|
|
8865
9019
|
|
|
8866
|
-
const _excluded$
|
|
9020
|
+
const _excluded$V = ["children", "className", "isMultiple", "closeOnClick", "disabled", "error", "hasError", "helper", "id", "isDisabled", "isEmpty", "isOpen", "isRequired", "isValid", "label", "onClear", "onDropdownClose", "onInfiniteScroll", "onInputClick", "placeholder", "theme", "value", "variant"];
|
|
8867
9021
|
|
|
8868
9022
|
/** The display name of the component. */
|
|
8869
|
-
const COMPONENT_NAME$
|
|
9023
|
+
const COMPONENT_NAME$T = 'Select';
|
|
8870
9024
|
|
|
8871
9025
|
/** The default class name and classes prefix for this component. */
|
|
8872
|
-
const CLASSNAME$
|
|
9026
|
+
const CLASSNAME$Q = getRootClassName(COMPONENT_NAME$T);
|
|
8873
9027
|
|
|
8874
9028
|
/** The default value of props. */
|
|
8875
|
-
const DEFAULT_PROPS$
|
|
9029
|
+
const DEFAULT_PROPS$H = {
|
|
8876
9030
|
theme: Theme.light,
|
|
8877
9031
|
variant: SelectVariant.input
|
|
8878
9032
|
};
|
|
@@ -8898,11 +9052,11 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
|
|
|
8898
9052
|
onInfiniteScroll,
|
|
8899
9053
|
onInputClick,
|
|
8900
9054
|
placeholder,
|
|
8901
|
-
theme = DEFAULT_PROPS$
|
|
9055
|
+
theme = DEFAULT_PROPS$H.theme,
|
|
8902
9056
|
value,
|
|
8903
|
-
variant = DEFAULT_PROPS$
|
|
9057
|
+
variant = DEFAULT_PROPS$H.variant
|
|
8904
9058
|
} = _ref,
|
|
8905
|
-
forwardedProps = _objectWithoutProperties(_ref, _excluded$
|
|
9059
|
+
forwardedProps = _objectWithoutProperties(_ref, _excluded$V);
|
|
8906
9060
|
const selectId = useMemo(() => id || `select-${uid()}`, [id]);
|
|
8907
9061
|
const anchorRef = useRef(null);
|
|
8908
9062
|
const selectRef = useRef(null);
|
|
@@ -8932,7 +9086,7 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
|
|
|
8932
9086
|
isFocus,
|
|
8933
9087
|
isOpen,
|
|
8934
9088
|
isValid,
|
|
8935
|
-
prefix: CLASSNAME$
|
|
9089
|
+
prefix: CLASSNAME$Q,
|
|
8936
9090
|
theme: theme === Theme.light ? Theme.light : Theme.dark
|
|
8937
9091
|
}))
|
|
8938
9092
|
}, /*#__PURE__*/React.createElement(SelectElement, _extends({}, forwardedProps, {
|
|
@@ -8962,25 +9116,25 @@ const WithSelectContext = (SelectElement, _ref, ref) => {
|
|
|
8962
9116
|
onClose: onClose,
|
|
8963
9117
|
onInfiniteScroll: onInfiniteScroll
|
|
8964
9118
|
}, children), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
|
|
8965
|
-
className: `${CLASSNAME$
|
|
9119
|
+
className: `${CLASSNAME$Q}__helper`,
|
|
8966
9120
|
kind: Kind.error,
|
|
8967
9121
|
theme: theme
|
|
8968
9122
|
}, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
|
|
8969
|
-
className: `${CLASSNAME$
|
|
9123
|
+
className: `${CLASSNAME$Q}__helper`,
|
|
8970
9124
|
theme: theme
|
|
8971
9125
|
}, helper));
|
|
8972
9126
|
};
|
|
8973
9127
|
|
|
8974
|
-
const _excluded$
|
|
9128
|
+
const _excluded$W = ["anchorRef", "clearButtonProps", "handleKeyboardNav", "hasError", "hasInputClear", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedValueRender", "theme", "value", "variant"];
|
|
8975
9129
|
|
|
8976
9130
|
/** The display name of the component. */
|
|
8977
|
-
const COMPONENT_NAME$
|
|
9131
|
+
const COMPONENT_NAME$U = 'Select';
|
|
8978
9132
|
|
|
8979
9133
|
/** The default class name and classes prefix for this component. */
|
|
8980
|
-
const CLASSNAME$
|
|
9134
|
+
const CLASSNAME$R = getRootClassName(COMPONENT_NAME$U);
|
|
8981
9135
|
|
|
8982
9136
|
/** The default value of props. */
|
|
8983
|
-
const DEFAULT_PROPS$
|
|
9137
|
+
const DEFAULT_PROPS$I = {
|
|
8984
9138
|
selectedValueRender: choice => choice
|
|
8985
9139
|
};
|
|
8986
9140
|
const stopPropagation = evt => evt.stopPropagation();
|
|
@@ -9010,36 +9164,36 @@ const SelectField = _ref => {
|
|
|
9010
9164
|
value,
|
|
9011
9165
|
variant
|
|
9012
9166
|
} = _ref,
|
|
9013
|
-
forwardedProps = _objectWithoutProperties(_ref, _excluded$
|
|
9167
|
+
forwardedProps = _objectWithoutProperties(_ref, _excluded$W);
|
|
9014
9168
|
return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
|
|
9015
|
-
className: `${CLASSNAME$
|
|
9169
|
+
className: `${CLASSNAME$R}__header`
|
|
9016
9170
|
}, /*#__PURE__*/React.createElement(InputLabel, {
|
|
9017
9171
|
htmlFor: id,
|
|
9018
|
-
className: `${CLASSNAME$
|
|
9172
|
+
className: `${CLASSNAME$R}__label`,
|
|
9019
9173
|
isRequired: isRequired,
|
|
9020
9174
|
theme: theme
|
|
9021
9175
|
}, label)), /*#__PURE__*/React.createElement("div", _extends({
|
|
9022
9176
|
ref: anchorRef,
|
|
9023
9177
|
id: id,
|
|
9024
|
-
className: `${CLASSNAME$
|
|
9178
|
+
className: `${CLASSNAME$R}__wrapper`,
|
|
9025
9179
|
onClick: onInputClick,
|
|
9026
9180
|
onKeyDown: handleKeyboardNav,
|
|
9027
9181
|
tabIndex: isDisabled ? undefined : 0,
|
|
9028
9182
|
"aria-disabled": isDisabled || undefined
|
|
9029
9183
|
}, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
|
|
9030
|
-
className: `${CLASSNAME$
|
|
9184
|
+
className: `${CLASSNAME$R}__input-icon`,
|
|
9031
9185
|
color: theme === Theme.dark ? 'light' : undefined,
|
|
9032
9186
|
icon: icon,
|
|
9033
9187
|
size: Size.xs
|
|
9034
9188
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9035
|
-
className: classnames([`${CLASSNAME$
|
|
9189
|
+
className: classnames([`${CLASSNAME$R}__input-native`, isEmpty && placeholder && `${CLASSNAME$R}__input-native--placeholder`])
|
|
9036
9190
|
}, !isEmpty && /*#__PURE__*/React.createElement("span", null, selectedValueRender === null || selectedValueRender === void 0 ? void 0 : selectedValueRender(value)), isEmpty && placeholder && /*#__PURE__*/React.createElement("span", null, placeholder)), (isValid || hasError) && /*#__PURE__*/React.createElement("div", {
|
|
9037
|
-
className: `${CLASSNAME$
|
|
9191
|
+
className: `${CLASSNAME$R}__input-validity`
|
|
9038
9192
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
9039
9193
|
icon: isValid ? mdiCheckCircle : mdiAlertCircle,
|
|
9040
9194
|
size: Size.xxs
|
|
9041
9195
|
})), hasInputClear && clearButtonProps && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
|
|
9042
|
-
className: `${CLASSNAME$
|
|
9196
|
+
className: `${CLASSNAME$R}__input-clear`,
|
|
9043
9197
|
icon: mdiCloseCircle,
|
|
9044
9198
|
emphasis: Emphasis.low,
|
|
9045
9199
|
size: Size.s,
|
|
@@ -9047,7 +9201,7 @@ const SelectField = _ref => {
|
|
|
9047
9201
|
onClick: onClear,
|
|
9048
9202
|
onKeyDown: stopPropagation
|
|
9049
9203
|
})), /*#__PURE__*/React.createElement("div", {
|
|
9050
|
-
className: `${CLASSNAME$
|
|
9204
|
+
className: `${CLASSNAME$R}__input-indicator`
|
|
9051
9205
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
9052
9206
|
icon: mdiMenuDown,
|
|
9053
9207
|
size: Size.s
|
|
@@ -9079,29 +9233,29 @@ const Select = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9079
9233
|
className: classnames(props.className, handleBasicClasses({
|
|
9080
9234
|
hasInputClear,
|
|
9081
9235
|
hasUnique: !props.isEmpty,
|
|
9082
|
-
prefix: CLASSNAME$
|
|
9236
|
+
prefix: CLASSNAME$R
|
|
9083
9237
|
})),
|
|
9084
9238
|
hasInputClear,
|
|
9085
9239
|
isEmpty: isEmpty$1
|
|
9086
9240
|
}), ref);
|
|
9087
9241
|
});
|
|
9088
|
-
Select.displayName = COMPONENT_NAME$
|
|
9089
|
-
Select.className = CLASSNAME$
|
|
9090
|
-
Select.defaultProps = DEFAULT_PROPS$
|
|
9091
|
-
Select.className = CLASSNAME$
|
|
9242
|
+
Select.displayName = COMPONENT_NAME$U;
|
|
9243
|
+
Select.className = CLASSNAME$R;
|
|
9244
|
+
Select.defaultProps = DEFAULT_PROPS$I;
|
|
9245
|
+
Select.className = CLASSNAME$R;
|
|
9092
9246
|
|
|
9093
|
-
const _excluded$
|
|
9247
|
+
const _excluded$X = ["anchorRef", "handleKeyboardNav", "hasError", "icon", "id", "isDisabled", "isEmpty", "isRequired", "isValid", "label", "onClear", "onInputClick", "placeholder", "selectedChipRender", "selectedValueRender", "theme", "value", "variant"];
|
|
9094
9248
|
|
|
9095
9249
|
/** Defines the props of the component. */
|
|
9096
9250
|
|
|
9097
9251
|
/** The display name of the component. */
|
|
9098
|
-
const COMPONENT_NAME$
|
|
9252
|
+
const COMPONENT_NAME$V = 'Select';
|
|
9099
9253
|
|
|
9100
9254
|
/** The default class name and classes prefix for this component. */
|
|
9101
|
-
const CLASSNAME$
|
|
9255
|
+
const CLASSNAME$S = getRootClassName(COMPONENT_NAME$V);
|
|
9102
9256
|
|
|
9103
9257
|
/** The default value of props. */
|
|
9104
|
-
const DEFAULT_PROPS$
|
|
9258
|
+
const DEFAULT_PROPS$J = {
|
|
9105
9259
|
selectedChipRender(choice, index, onClear, isDisabled, theme) {
|
|
9106
9260
|
const onClick = event => onClear && onClear(event, choice);
|
|
9107
9261
|
return /*#__PURE__*/React.createElement(Chip, {
|
|
@@ -9140,38 +9294,38 @@ const SelectMultipleField = _ref => {
|
|
|
9140
9294
|
value,
|
|
9141
9295
|
variant
|
|
9142
9296
|
} = _ref,
|
|
9143
|
-
forwardedProps = _objectWithoutProperties(_ref, _excluded$
|
|
9297
|
+
forwardedProps = _objectWithoutProperties(_ref, _excluded$X);
|
|
9144
9298
|
return /*#__PURE__*/React.createElement(React.Fragment, null, variant === SelectVariant.input && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement("div", {
|
|
9145
|
-
className: `${CLASSNAME$
|
|
9299
|
+
className: `${CLASSNAME$S}__header`
|
|
9146
9300
|
}, /*#__PURE__*/React.createElement(InputLabel, {
|
|
9147
9301
|
htmlFor: id,
|
|
9148
|
-
className: `${CLASSNAME$
|
|
9302
|
+
className: `${CLASSNAME$S}__label`,
|
|
9149
9303
|
isRequired: isRequired,
|
|
9150
9304
|
theme: theme
|
|
9151
9305
|
}, label)), /*#__PURE__*/React.createElement("div", _extends({
|
|
9152
9306
|
ref: anchorRef,
|
|
9153
9307
|
id: id,
|
|
9154
|
-
className: `${CLASSNAME$
|
|
9308
|
+
className: `${CLASSNAME$S}__wrapper`,
|
|
9155
9309
|
onClick: onInputClick,
|
|
9156
9310
|
onKeyDown: handleKeyboardNav,
|
|
9157
9311
|
tabIndex: isDisabled ? undefined : 0,
|
|
9158
9312
|
"aria-disabled": isDisabled || undefined
|
|
9159
9313
|
}, forwardedProps), icon && /*#__PURE__*/React.createElement(Icon, {
|
|
9160
|
-
className: `${CLASSNAME$
|
|
9314
|
+
className: `${CLASSNAME$S}__input-icon`,
|
|
9161
9315
|
color: theme === Theme.dark ? 'light' : undefined,
|
|
9162
9316
|
icon: icon,
|
|
9163
9317
|
size: Size.xs
|
|
9164
9318
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9165
|
-
className: `${CLASSNAME$
|
|
9319
|
+
className: `${CLASSNAME$S}__chips`
|
|
9166
9320
|
}, !isEmpty && value.map((val, index) => selectedChipRender === null || selectedChipRender === void 0 ? void 0 : selectedChipRender(val, index, onClear, isDisabled, theme))), isEmpty && placeholder && /*#__PURE__*/React.createElement("div", {
|
|
9167
|
-
className: classnames([`${CLASSNAME$
|
|
9321
|
+
className: classnames([`${CLASSNAME$S}__input-native`, `${CLASSNAME$S}__input-native--placeholder`])
|
|
9168
9322
|
}, /*#__PURE__*/React.createElement("span", null, placeholder)), (isValid || hasError) && /*#__PURE__*/React.createElement("div", {
|
|
9169
|
-
className: `${CLASSNAME$
|
|
9323
|
+
className: `${CLASSNAME$S}__input-validity`
|
|
9170
9324
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
9171
9325
|
icon: isValid ? mdiCheckCircle : mdiAlertCircle,
|
|
9172
9326
|
size: Size.xxs
|
|
9173
9327
|
})), /*#__PURE__*/React.createElement("div", {
|
|
9174
|
-
className: `${CLASSNAME$
|
|
9328
|
+
className: `${CLASSNAME$S}__input-indicator`
|
|
9175
9329
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
9176
9330
|
icon: mdiMenuDown,
|
|
9177
9331
|
size: Size.s
|
|
@@ -9200,17 +9354,17 @@ const SelectMultiple = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9200
9354
|
return WithSelectContext(SelectMultipleField, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
9201
9355
|
className: classnames(props.className, handleBasicClasses({
|
|
9202
9356
|
hasMultiple: !props.isEmpty,
|
|
9203
|
-
prefix: CLASSNAME$
|
|
9357
|
+
prefix: CLASSNAME$S
|
|
9204
9358
|
})),
|
|
9205
9359
|
isEmpty: props.value.length === 0,
|
|
9206
9360
|
isMultiple: true
|
|
9207
9361
|
}), ref);
|
|
9208
9362
|
});
|
|
9209
|
-
SelectMultiple.displayName = COMPONENT_NAME$
|
|
9210
|
-
SelectMultiple.className = CLASSNAME$
|
|
9211
|
-
SelectMultiple.defaultProps = DEFAULT_PROPS$
|
|
9363
|
+
SelectMultiple.displayName = COMPONENT_NAME$V;
|
|
9364
|
+
SelectMultiple.className = CLASSNAME$S;
|
|
9365
|
+
SelectMultiple.defaultProps = DEFAULT_PROPS$J;
|
|
9212
9366
|
|
|
9213
|
-
const _excluded$
|
|
9367
|
+
const _excluded$Y = ["children", "className", "theme"];
|
|
9214
9368
|
|
|
9215
9369
|
/**
|
|
9216
9370
|
* Defines the props of the component.
|
|
@@ -9219,12 +9373,12 @@ const _excluded$V = ["children", "className", "theme"];
|
|
|
9219
9373
|
/**
|
|
9220
9374
|
* Component display name.
|
|
9221
9375
|
*/
|
|
9222
|
-
const COMPONENT_NAME$
|
|
9376
|
+
const COMPONENT_NAME$W = 'SideNavigation';
|
|
9223
9377
|
|
|
9224
9378
|
/**
|
|
9225
9379
|
* Component default class name and class prefix.
|
|
9226
9380
|
*/
|
|
9227
|
-
const CLASSNAME$
|
|
9381
|
+
const CLASSNAME$T = getRootClassName(COMPONENT_NAME$W);
|
|
9228
9382
|
|
|
9229
9383
|
/**
|
|
9230
9384
|
* SideNavigation component.
|
|
@@ -9239,20 +9393,20 @@ const SideNavigation = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9239
9393
|
className,
|
|
9240
9394
|
theme
|
|
9241
9395
|
} = props,
|
|
9242
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
9396
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$Y);
|
|
9243
9397
|
const content = Children.toArray(children).filter(isComponent(SideNavigationItem));
|
|
9244
9398
|
return /*#__PURE__*/React.createElement("ul", _extends({
|
|
9245
9399
|
ref: ref
|
|
9246
9400
|
}, forwardedProps, {
|
|
9247
9401
|
className: classnames(className, theme === Theme.dark && 'lumx-color-font-light-N', handleBasicClasses({
|
|
9248
|
-
prefix: CLASSNAME$
|
|
9402
|
+
prefix: CLASSNAME$T
|
|
9249
9403
|
}))
|
|
9250
9404
|
}), content);
|
|
9251
9405
|
});
|
|
9252
|
-
SideNavigation.displayName = COMPONENT_NAME$
|
|
9253
|
-
SideNavigation.className = CLASSNAME$
|
|
9406
|
+
SideNavigation.displayName = COMPONENT_NAME$W;
|
|
9407
|
+
SideNavigation.className = CLASSNAME$T;
|
|
9254
9408
|
|
|
9255
|
-
const _excluded$
|
|
9409
|
+
const _excluded$Z = ["children", "className", "emphasis", "icon", "isOpen", "isSelected", "label", "linkAs", "linkProps", "onActionClick", "onClick", "toggleButtonProps", "closeMode"];
|
|
9256
9410
|
|
|
9257
9411
|
/**
|
|
9258
9412
|
* Defines the props of the component.
|
|
@@ -9261,17 +9415,17 @@ const _excluded$W = ["children", "className", "emphasis", "icon", "isOpen", "isS
|
|
|
9261
9415
|
/**
|
|
9262
9416
|
* Component display name.
|
|
9263
9417
|
*/
|
|
9264
|
-
const COMPONENT_NAME$
|
|
9418
|
+
const COMPONENT_NAME$X = 'SideNavigationItem';
|
|
9265
9419
|
|
|
9266
9420
|
/**
|
|
9267
9421
|
* Component default class name and class prefix.
|
|
9268
9422
|
*/
|
|
9269
|
-
const CLASSNAME$
|
|
9423
|
+
const CLASSNAME$U = getRootClassName(COMPONENT_NAME$X);
|
|
9270
9424
|
|
|
9271
9425
|
/**
|
|
9272
9426
|
* Component default props.
|
|
9273
9427
|
*/
|
|
9274
|
-
const DEFAULT_PROPS$
|
|
9428
|
+
const DEFAULT_PROPS$K = {
|
|
9275
9429
|
emphasis: Emphasis.high,
|
|
9276
9430
|
closeMode: 'unmount'
|
|
9277
9431
|
};
|
|
@@ -9299,7 +9453,7 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9299
9453
|
toggleButtonProps,
|
|
9300
9454
|
closeMode = 'unmount'
|
|
9301
9455
|
} = props,
|
|
9302
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
9456
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$Z);
|
|
9303
9457
|
const content = children && Children.toArray(children).filter(isComponent(SideNavigationItem));
|
|
9304
9458
|
const hasContent = !isEmpty(content);
|
|
9305
9459
|
const shouldSplitActions = Boolean(onActionClick);
|
|
@@ -9311,22 +9465,22 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9311
9465
|
emphasis,
|
|
9312
9466
|
isOpen: showChildren,
|
|
9313
9467
|
isSelected,
|
|
9314
|
-
prefix: CLASSNAME$
|
|
9468
|
+
prefix: CLASSNAME$U
|
|
9315
9469
|
}))
|
|
9316
9470
|
}), shouldSplitActions ? /*#__PURE__*/React.createElement("div", {
|
|
9317
|
-
className: `${CLASSNAME$
|
|
9471
|
+
className: `${CLASSNAME$U}__wrapper`
|
|
9318
9472
|
}, renderLink(_objectSpread2(_objectSpread2({
|
|
9319
9473
|
linkAs
|
|
9320
9474
|
}, linkProps), {}, {
|
|
9321
|
-
className: `${CLASSNAME$
|
|
9475
|
+
className: `${CLASSNAME$U}__link`,
|
|
9322
9476
|
onClick,
|
|
9323
9477
|
tabIndex: 0
|
|
9324
9478
|
}), icon && /*#__PURE__*/React.createElement(Icon, {
|
|
9325
|
-
className: `${CLASSNAME$
|
|
9479
|
+
className: `${CLASSNAME$U}__icon`,
|
|
9326
9480
|
icon: icon,
|
|
9327
9481
|
size: Size.xs
|
|
9328
9482
|
}), /*#__PURE__*/React.createElement("span", null, label)), /*#__PURE__*/React.createElement(IconButton, _extends({}, toggleButtonProps, {
|
|
9329
|
-
className: `${CLASSNAME$
|
|
9483
|
+
className: `${CLASSNAME$U}__toggle`,
|
|
9330
9484
|
icon: isOpen ? mdiChevronUp : mdiChevronDown,
|
|
9331
9485
|
size: Size.m,
|
|
9332
9486
|
emphasis: Emphasis.low,
|
|
@@ -9334,45 +9488,45 @@ const SideNavigationItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9334
9488
|
}))) : renderLink(_objectSpread2(_objectSpread2({
|
|
9335
9489
|
linkAs
|
|
9336
9490
|
}, linkProps), {}, {
|
|
9337
|
-
className: `${CLASSNAME$
|
|
9491
|
+
className: `${CLASSNAME$U}__link`,
|
|
9338
9492
|
tabIndex: 0,
|
|
9339
9493
|
onClick,
|
|
9340
9494
|
onKeyDown: onClick ? onEnterPressed(onClick) : undefined
|
|
9341
9495
|
}), icon && /*#__PURE__*/React.createElement(Icon, {
|
|
9342
|
-
className: `${CLASSNAME$
|
|
9496
|
+
className: `${CLASSNAME$U}__icon`,
|
|
9343
9497
|
icon: icon,
|
|
9344
9498
|
size: Size.xs
|
|
9345
9499
|
}), /*#__PURE__*/React.createElement("span", null, label), hasContent && /*#__PURE__*/React.createElement(Icon, {
|
|
9346
|
-
className: `${CLASSNAME$
|
|
9500
|
+
className: `${CLASSNAME$U}__chevron`,
|
|
9347
9501
|
icon: isOpen ? mdiChevronUp : mdiChevronDown,
|
|
9348
9502
|
size: Size.xs
|
|
9349
9503
|
})), (closeMode === 'hide' || showChildren) && /*#__PURE__*/React.createElement("ul", {
|
|
9350
|
-
className: `${CLASSNAME$
|
|
9504
|
+
className: `${CLASSNAME$U}__children`
|
|
9351
9505
|
}, content));
|
|
9352
9506
|
});
|
|
9353
|
-
SideNavigationItem.displayName = COMPONENT_NAME$
|
|
9354
|
-
SideNavigationItem.className = CLASSNAME$
|
|
9355
|
-
SideNavigationItem.defaultProps = DEFAULT_PROPS$
|
|
9507
|
+
SideNavigationItem.displayName = COMPONENT_NAME$X;
|
|
9508
|
+
SideNavigationItem.className = CLASSNAME$U;
|
|
9509
|
+
SideNavigationItem.defaultProps = DEFAULT_PROPS$K;
|
|
9356
9510
|
|
|
9357
|
-
const _excluded$
|
|
9511
|
+
const _excluded$_ = ["className", "size", "color", "theme"];
|
|
9358
9512
|
|
|
9359
9513
|
/**
|
|
9360
9514
|
* Defines the props of the component.
|
|
9361
9515
|
*/
|
|
9362
9516
|
|
|
9363
|
-
const DEFAULT_PROPS$
|
|
9517
|
+
const DEFAULT_PROPS$L = {
|
|
9364
9518
|
theme: Theme.light
|
|
9365
9519
|
};
|
|
9366
9520
|
|
|
9367
9521
|
/**
|
|
9368
9522
|
* Component display name.
|
|
9369
9523
|
*/
|
|
9370
|
-
const COMPONENT_NAME$
|
|
9524
|
+
const COMPONENT_NAME$Y = 'SkeletonCircle';
|
|
9371
9525
|
|
|
9372
9526
|
/**
|
|
9373
9527
|
* Component default class name and class prefix.
|
|
9374
9528
|
*/
|
|
9375
|
-
const CLASSNAME$
|
|
9529
|
+
const CLASSNAME$V = getRootClassName(COMPONENT_NAME$Y);
|
|
9376
9530
|
|
|
9377
9531
|
/**
|
|
9378
9532
|
* SkeletonCircle component.
|
|
@@ -9388,23 +9542,23 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9388
9542
|
color,
|
|
9389
9543
|
theme
|
|
9390
9544
|
} = props,
|
|
9391
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
9545
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$_);
|
|
9392
9546
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
9393
9547
|
ref: ref
|
|
9394
9548
|
}, forwardedProps, {
|
|
9395
9549
|
className: classnames(className, handleBasicClasses({
|
|
9396
|
-
prefix: CLASSNAME$
|
|
9550
|
+
prefix: CLASSNAME$V,
|
|
9397
9551
|
size,
|
|
9398
9552
|
color,
|
|
9399
9553
|
theme
|
|
9400
9554
|
}))
|
|
9401
9555
|
}));
|
|
9402
9556
|
});
|
|
9403
|
-
SkeletonCircle.displayName = COMPONENT_NAME$
|
|
9404
|
-
SkeletonCircle.defaultProps = DEFAULT_PROPS$
|
|
9405
|
-
SkeletonCircle.className = CLASSNAME$
|
|
9557
|
+
SkeletonCircle.displayName = COMPONENT_NAME$Y;
|
|
9558
|
+
SkeletonCircle.defaultProps = DEFAULT_PROPS$L;
|
|
9559
|
+
SkeletonCircle.className = CLASSNAME$V;
|
|
9406
9560
|
|
|
9407
|
-
const _excluded
|
|
9561
|
+
const _excluded$$ = ["aspectRatio", "className", "height", "theme", "variant", "width", "color"];
|
|
9408
9562
|
|
|
9409
9563
|
/**
|
|
9410
9564
|
* Skeleton variants.
|
|
@@ -9414,7 +9568,7 @@ const SkeletonRectangleVariant = {
|
|
|
9414
9568
|
rounded: 'rounded',
|
|
9415
9569
|
pill: 'pill'
|
|
9416
9570
|
};
|
|
9417
|
-
const DEFAULT_PROPS$
|
|
9571
|
+
const DEFAULT_PROPS$M = {
|
|
9418
9572
|
theme: Theme.light,
|
|
9419
9573
|
variant: SkeletonRectangleVariant.squared
|
|
9420
9574
|
};
|
|
@@ -9422,12 +9576,12 @@ const DEFAULT_PROPS$J = {
|
|
|
9422
9576
|
/**
|
|
9423
9577
|
* Component display name.
|
|
9424
9578
|
*/
|
|
9425
|
-
const COMPONENT_NAME$
|
|
9579
|
+
const COMPONENT_NAME$Z = 'SkeletonRectangle';
|
|
9426
9580
|
|
|
9427
9581
|
/**
|
|
9428
9582
|
* Component default class name and class prefix.
|
|
9429
9583
|
*/
|
|
9430
|
-
const CLASSNAME$
|
|
9584
|
+
const CLASSNAME$W = getRootClassName(COMPONENT_NAME$Z);
|
|
9431
9585
|
|
|
9432
9586
|
/**
|
|
9433
9587
|
* SkeletonRectangle component.
|
|
@@ -9446,12 +9600,12 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9446
9600
|
width,
|
|
9447
9601
|
color
|
|
9448
9602
|
} = props,
|
|
9449
|
-
forwardedProps = _objectWithoutProperties(props, _excluded
|
|
9603
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$$);
|
|
9450
9604
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
9451
9605
|
ref: ref
|
|
9452
9606
|
}, forwardedProps, {
|
|
9453
9607
|
className: classnames(className, handleBasicClasses({
|
|
9454
|
-
prefix: CLASSNAME$
|
|
9608
|
+
prefix: CLASSNAME$W,
|
|
9455
9609
|
aspectRatio,
|
|
9456
9610
|
height: aspectRatio ? undefined : height,
|
|
9457
9611
|
theme,
|
|
@@ -9460,32 +9614,32 @@ const SkeletonRectangle = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9460
9614
|
color
|
|
9461
9615
|
}))
|
|
9462
9616
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9463
|
-
className: `${CLASSNAME$
|
|
9617
|
+
className: `${CLASSNAME$W}__inner`
|
|
9464
9618
|
}));
|
|
9465
9619
|
});
|
|
9466
|
-
SkeletonRectangle.displayName = COMPONENT_NAME$
|
|
9467
|
-
SkeletonRectangle.className = CLASSNAME$
|
|
9468
|
-
SkeletonRectangle.defaultProps = DEFAULT_PROPS$
|
|
9620
|
+
SkeletonRectangle.displayName = COMPONENT_NAME$Z;
|
|
9621
|
+
SkeletonRectangle.className = CLASSNAME$W;
|
|
9622
|
+
SkeletonRectangle.defaultProps = DEFAULT_PROPS$M;
|
|
9469
9623
|
|
|
9470
|
-
const _excluded$
|
|
9624
|
+
const _excluded$10 = ["className", "theme", "typography", "width", "color"];
|
|
9471
9625
|
|
|
9472
9626
|
/**
|
|
9473
9627
|
* Defines the props of the component.
|
|
9474
9628
|
*/
|
|
9475
9629
|
|
|
9476
|
-
const DEFAULT_PROPS$
|
|
9630
|
+
const DEFAULT_PROPS$N = {
|
|
9477
9631
|
theme: Theme.light
|
|
9478
9632
|
};
|
|
9479
9633
|
|
|
9480
9634
|
/**
|
|
9481
9635
|
* Component display name.
|
|
9482
9636
|
*/
|
|
9483
|
-
const COMPONENT_NAME$
|
|
9637
|
+
const COMPONENT_NAME$_ = 'SkeletonTypography';
|
|
9484
9638
|
|
|
9485
9639
|
/**
|
|
9486
9640
|
* Component default class name and class prefix.
|
|
9487
9641
|
*/
|
|
9488
|
-
const CLASSNAME$
|
|
9642
|
+
const CLASSNAME$X = getRootClassName(COMPONENT_NAME$_);
|
|
9489
9643
|
|
|
9490
9644
|
/**
|
|
9491
9645
|
* SkeletonTypography component.
|
|
@@ -9502,12 +9656,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9502
9656
|
width,
|
|
9503
9657
|
color
|
|
9504
9658
|
} = props,
|
|
9505
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
9659
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$10);
|
|
9506
9660
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
9507
9661
|
ref: ref
|
|
9508
9662
|
}, forwardedProps, {
|
|
9509
9663
|
className: classnames(className, handleBasicClasses({
|
|
9510
|
-
prefix: CLASSNAME$
|
|
9664
|
+
prefix: CLASSNAME$X,
|
|
9511
9665
|
theme,
|
|
9512
9666
|
typography,
|
|
9513
9667
|
color
|
|
@@ -9516,12 +9670,12 @@ const SkeletonTypography = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9516
9670
|
width
|
|
9517
9671
|
})
|
|
9518
9672
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9519
|
-
className: `${CLASSNAME$
|
|
9673
|
+
className: `${CLASSNAME$X}__inner`
|
|
9520
9674
|
}));
|
|
9521
9675
|
});
|
|
9522
|
-
SkeletonTypography.displayName = COMPONENT_NAME$
|
|
9523
|
-
SkeletonTypography.defaultProps = DEFAULT_PROPS$
|
|
9524
|
-
SkeletonTypography.className = CLASSNAME$
|
|
9676
|
+
SkeletonTypography.displayName = COMPONENT_NAME$_;
|
|
9677
|
+
SkeletonTypography.defaultProps = DEFAULT_PROPS$N;
|
|
9678
|
+
SkeletonTypography.className = CLASSNAME$X;
|
|
9525
9679
|
|
|
9526
9680
|
const useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
|
|
9527
9681
|
|
|
@@ -9557,7 +9711,7 @@ const clamp = (value, min, max) => {
|
|
|
9557
9711
|
return value;
|
|
9558
9712
|
};
|
|
9559
9713
|
|
|
9560
|
-
const _excluded$
|
|
9714
|
+
const _excluded$11 = ["className", "disabled", "helper", "hideMinMaxLabel", "id", "isDisabled", "label", "max", "min", "name", "onChange", "onMouseDown", "precision", "steps", "theme", "value"];
|
|
9561
9715
|
|
|
9562
9716
|
/**
|
|
9563
9717
|
* Defines the props of the component.
|
|
@@ -9566,17 +9720,17 @@ const _excluded$_ = ["className", "disabled", "helper", "hideMinMaxLabel", "id",
|
|
|
9566
9720
|
/**
|
|
9567
9721
|
* Component display name.
|
|
9568
9722
|
*/
|
|
9569
|
-
const COMPONENT_NAME
|
|
9723
|
+
const COMPONENT_NAME$$ = 'Slider';
|
|
9570
9724
|
|
|
9571
9725
|
/**
|
|
9572
9726
|
* Component default class name and class prefix.
|
|
9573
9727
|
*/
|
|
9574
|
-
const CLASSNAME$
|
|
9728
|
+
const CLASSNAME$Y = getRootClassName(COMPONENT_NAME$$);
|
|
9575
9729
|
|
|
9576
9730
|
/**
|
|
9577
9731
|
* Component default props.
|
|
9578
9732
|
*/
|
|
9579
|
-
const DEFAULT_PROPS$
|
|
9733
|
+
const DEFAULT_PROPS$O = {
|
|
9580
9734
|
precision: 0,
|
|
9581
9735
|
steps: 0,
|
|
9582
9736
|
theme: Theme.light
|
|
@@ -9632,7 +9786,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9632
9786
|
theme,
|
|
9633
9787
|
value
|
|
9634
9788
|
} = props,
|
|
9635
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
9789
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$11);
|
|
9636
9790
|
const sliderId = useMemo(() => id || `slider-${uid()}`, [id]);
|
|
9637
9791
|
const sliderLabelId = useMemo(() => `label-${sliderId}`, [sliderId]);
|
|
9638
9792
|
const sliderRef = useRef(null);
|
|
@@ -9765,7 +9919,7 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9765
9919
|
ref: ref
|
|
9766
9920
|
}, forwardedProps, {
|
|
9767
9921
|
className: classnames(className, handleBasicClasses({
|
|
9768
|
-
prefix: CLASSNAME$
|
|
9922
|
+
prefix: CLASSNAME$Y,
|
|
9769
9923
|
theme,
|
|
9770
9924
|
hasLabel: Boolean(label)
|
|
9771
9925
|
})),
|
|
@@ -9774,30 +9928,30 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9774
9928
|
}), label && /*#__PURE__*/React.createElement(InputLabel, {
|
|
9775
9929
|
id: sliderLabelId,
|
|
9776
9930
|
htmlFor: sliderId,
|
|
9777
|
-
className: `${CLASSNAME$
|
|
9931
|
+
className: `${CLASSNAME$Y}__label`,
|
|
9778
9932
|
theme: theme
|
|
9779
9933
|
}, label), helper && /*#__PURE__*/React.createElement(InputHelper, {
|
|
9780
|
-
className: `${CLASSNAME$
|
|
9934
|
+
className: `${CLASSNAME$Y}__helper`,
|
|
9781
9935
|
theme: theme
|
|
9782
9936
|
}, helper), /*#__PURE__*/React.createElement("div", {
|
|
9783
|
-
className: `${CLASSNAME$
|
|
9937
|
+
className: `${CLASSNAME$Y}__ui-wrapper`
|
|
9784
9938
|
}, !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
|
|
9785
|
-
className: `${CLASSNAME$
|
|
9939
|
+
className: `${CLASSNAME$Y}__value-label ${CLASSNAME$Y}__value-label--min`
|
|
9786
9940
|
}, min), /*#__PURE__*/React.createElement("div", {
|
|
9787
|
-
className: `${CLASSNAME$
|
|
9941
|
+
className: `${CLASSNAME$Y}__wrapper`,
|
|
9788
9942
|
ref: sliderRef
|
|
9789
9943
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9790
|
-
className: `${CLASSNAME$
|
|
9944
|
+
className: `${CLASSNAME$Y}__track ${CLASSNAME$Y}__track--background`
|
|
9791
9945
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9792
|
-
className: `${CLASSNAME$
|
|
9946
|
+
className: `${CLASSNAME$Y}__track ${CLASSNAME$Y}__track--active`,
|
|
9793
9947
|
style: {
|
|
9794
9948
|
width: percentString
|
|
9795
9949
|
}
|
|
9796
9950
|
}), steps ? /*#__PURE__*/React.createElement("div", {
|
|
9797
|
-
className: `${CLASSNAME$
|
|
9951
|
+
className: `${CLASSNAME$Y}__ticks`
|
|
9798
9952
|
}, availableSteps.map((step, idx) => /*#__PURE__*/React.createElement("div", {
|
|
9799
9953
|
key: `tick_${idx}`,
|
|
9800
|
-
className: `${CLASSNAME$
|
|
9954
|
+
className: `${CLASSNAME$Y}__tick`,
|
|
9801
9955
|
style: {
|
|
9802
9956
|
left: `${step * 100}%`
|
|
9803
9957
|
}
|
|
@@ -9806,19 +9960,19 @@ const Slider = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9806
9960
|
"aria-labelledby": sliderLabelId,
|
|
9807
9961
|
name: name,
|
|
9808
9962
|
id: sliderId,
|
|
9809
|
-
className: `${CLASSNAME$
|
|
9963
|
+
className: `${CLASSNAME$Y}__handle`,
|
|
9810
9964
|
style: {
|
|
9811
9965
|
left: percentString
|
|
9812
9966
|
},
|
|
9813
9967
|
onKeyDown: handleKeyDown,
|
|
9814
9968
|
disabled: isDisabled
|
|
9815
9969
|
})), !hideMinMaxLabel && /*#__PURE__*/React.createElement("span", {
|
|
9816
|
-
className: `${CLASSNAME$
|
|
9970
|
+
className: `${CLASSNAME$Y}__value-label ${CLASSNAME$Y}__value-label--max`
|
|
9817
9971
|
}, max)));
|
|
9818
9972
|
});
|
|
9819
|
-
Slider.displayName = COMPONENT_NAME
|
|
9820
|
-
Slider.className = CLASSNAME$
|
|
9821
|
-
Slider.defaultProps = DEFAULT_PROPS$
|
|
9973
|
+
Slider.displayName = COMPONENT_NAME$$;
|
|
9974
|
+
Slider.className = CLASSNAME$Y;
|
|
9975
|
+
Slider.defaultProps = DEFAULT_PROPS$O;
|
|
9822
9976
|
|
|
9823
9977
|
/**
|
|
9824
9978
|
* Making setInterval Declarative with React Hooks.
|
|
@@ -10113,7 +10267,7 @@ const useSlideFocusManagement = _ref => {
|
|
|
10113
10267
|
}, [isSlideDisplayed, slideRef]);
|
|
10114
10268
|
};
|
|
10115
10269
|
|
|
10116
|
-
const _excluded
|
|
10270
|
+
const _excluded$12 = ["className", "children", "role", "label", "isDisplayed"];
|
|
10117
10271
|
|
|
10118
10272
|
/**
|
|
10119
10273
|
* Defines the props of the component.
|
|
@@ -10122,12 +10276,12 @@ const _excluded$$ = ["className", "children", "role", "label", "isDisplayed"];
|
|
|
10122
10276
|
/**
|
|
10123
10277
|
* Component display name.
|
|
10124
10278
|
*/
|
|
10125
|
-
const COMPONENT_NAME$
|
|
10279
|
+
const COMPONENT_NAME$10 = 'SlideshowItemGroup';
|
|
10126
10280
|
|
|
10127
10281
|
/**
|
|
10128
10282
|
* Component default class name and class prefix.
|
|
10129
10283
|
*/
|
|
10130
|
-
const CLASSNAME$
|
|
10284
|
+
const CLASSNAME$Z = getRootClassName(COMPONENT_NAME$10);
|
|
10131
10285
|
const buildSlideShowGroupId = (slidesId, index) => `${slidesId}-slide-${index}`;
|
|
10132
10286
|
|
|
10133
10287
|
/**
|
|
@@ -10145,7 +10299,7 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10145
10299
|
label,
|
|
10146
10300
|
isDisplayed
|
|
10147
10301
|
} = props,
|
|
10148
|
-
forwardedProps = _objectWithoutProperties(props, _excluded
|
|
10302
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$12);
|
|
10149
10303
|
const groupRef = React.useRef(null);
|
|
10150
10304
|
useSlideFocusManagement({
|
|
10151
10305
|
isSlideDisplayed: isDisplayed,
|
|
@@ -10155,16 +10309,16 @@ const SlideshowItemGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10155
10309
|
ref: mergeRefs(groupRef, ref),
|
|
10156
10310
|
role: role,
|
|
10157
10311
|
className: classnames(className, handleBasicClasses({
|
|
10158
|
-
prefix: CLASSNAME$
|
|
10312
|
+
prefix: CLASSNAME$Z
|
|
10159
10313
|
})),
|
|
10160
10314
|
"aria-roledescription": "slide",
|
|
10161
10315
|
"aria-label": label
|
|
10162
10316
|
}, forwardedProps), children);
|
|
10163
10317
|
});
|
|
10164
|
-
SlideshowItemGroup.displayName = COMPONENT_NAME$
|
|
10165
|
-
SlideshowItemGroup.className = CLASSNAME$
|
|
10318
|
+
SlideshowItemGroup.displayName = COMPONENT_NAME$10;
|
|
10319
|
+
SlideshowItemGroup.className = CLASSNAME$Z;
|
|
10166
10320
|
|
|
10167
|
-
const _excluded$
|
|
10321
|
+
const _excluded$13 = ["activeIndex", "autoPlay", "children", "className", "fillHeight", "groupBy", "interval", "onChange", "slideshowControlsProps", "theme", "id", "slidesId", "slideGroupLabel"];
|
|
10168
10322
|
|
|
10169
10323
|
/**
|
|
10170
10324
|
* Defines the props of the component.
|
|
@@ -10173,7 +10327,7 @@ const _excluded$10 = ["activeIndex", "autoPlay", "children", "className", "fillH
|
|
|
10173
10327
|
/**
|
|
10174
10328
|
* Component default props.
|
|
10175
10329
|
*/
|
|
10176
|
-
const DEFAULT_PROPS$
|
|
10330
|
+
const DEFAULT_PROPS$P = _objectSpread2(_objectSpread2({}, DEFAULT_OPTIONS$1), {}, {
|
|
10177
10331
|
theme: Theme.light
|
|
10178
10332
|
});
|
|
10179
10333
|
|
|
@@ -10200,7 +10354,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10200
10354
|
slidesId,
|
|
10201
10355
|
slideGroupLabel
|
|
10202
10356
|
} = props,
|
|
10203
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
10357
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$13);
|
|
10204
10358
|
// Number of slideshow items.
|
|
10205
10359
|
const itemsCount = React.Children.count(children);
|
|
10206
10360
|
const {
|
|
@@ -10220,7 +10374,7 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10220
10374
|
toggleForcePause
|
|
10221
10375
|
} = SlideshowControls.useSlideshowControls({
|
|
10222
10376
|
activeIndex,
|
|
10223
|
-
defaultActiveIndex: DEFAULT_PROPS$
|
|
10377
|
+
defaultActiveIndex: DEFAULT_PROPS$P.activeIndex,
|
|
10224
10378
|
autoPlay: Boolean(autoPlay),
|
|
10225
10379
|
itemsCount,
|
|
10226
10380
|
groupBy,
|
|
@@ -10280,9 +10434,9 @@ const Slideshow = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10280
10434
|
}, forwardedProps), children);
|
|
10281
10435
|
});
|
|
10282
10436
|
Slideshow.displayName = 'Slideshow';
|
|
10283
|
-
Slideshow.defaultProps = DEFAULT_PROPS$
|
|
10437
|
+
Slideshow.defaultProps = DEFAULT_PROPS$P;
|
|
10284
10438
|
|
|
10285
|
-
const _excluded$
|
|
10439
|
+
const _excluded$14 = ["className", "children"];
|
|
10286
10440
|
|
|
10287
10441
|
/**
|
|
10288
10442
|
* Defines the props of the component.
|
|
@@ -10291,12 +10445,12 @@ const _excluded$11 = ["className", "children"];
|
|
|
10291
10445
|
/**
|
|
10292
10446
|
* Component display name.
|
|
10293
10447
|
*/
|
|
10294
|
-
const COMPONENT_NAME$
|
|
10448
|
+
const COMPONENT_NAME$11 = 'SlideshowItem';
|
|
10295
10449
|
|
|
10296
10450
|
/**
|
|
10297
10451
|
* Component default class name and class prefix.
|
|
10298
10452
|
*/
|
|
10299
|
-
const CLASSNAME$
|
|
10453
|
+
const CLASSNAME$_ = getRootClassName(COMPONENT_NAME$11);
|
|
10300
10454
|
|
|
10301
10455
|
/**
|
|
10302
10456
|
* SlideshowItem component.
|
|
@@ -10310,16 +10464,16 @@ const SlideshowItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10310
10464
|
className,
|
|
10311
10465
|
children
|
|
10312
10466
|
} = props,
|
|
10313
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
10467
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$14);
|
|
10314
10468
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
10315
10469
|
ref: ref,
|
|
10316
10470
|
className: classnames(className, handleBasicClasses({
|
|
10317
|
-
prefix: CLASSNAME$
|
|
10471
|
+
prefix: CLASSNAME$_
|
|
10318
10472
|
}))
|
|
10319
10473
|
}, forwardedProps), children);
|
|
10320
10474
|
});
|
|
10321
|
-
SlideshowItem.displayName = COMPONENT_NAME$
|
|
10322
|
-
SlideshowItem.className = CLASSNAME$
|
|
10475
|
+
SlideshowItem.displayName = COMPONENT_NAME$11;
|
|
10476
|
+
SlideshowItem.className = CLASSNAME$_;
|
|
10323
10477
|
|
|
10324
10478
|
const isTouchDevice = () => 'ontouchstart' in window;
|
|
10325
10479
|
|
|
@@ -10378,7 +10532,7 @@ function usePaginationVisibleRange(activeIndex, slideCount) {
|
|
|
10378
10532
|
}, [activeIndex, slideCount]);
|
|
10379
10533
|
}
|
|
10380
10534
|
|
|
10381
|
-
const _excluded$
|
|
10535
|
+
const _excluded$15 = ["activeIndex", "className", "nextButtonProps", "onNextClick", "onPaginationClick", "onPreviousClick", "parentRef", "previousButtonProps", "paginationProps", "slidesCount", "theme", "isAutoPlaying", "playButtonProps", "paginationItemLabel", "paginationItemProps"],
|
|
10382
10536
|
_excluded2$2 = ["className", "label"];
|
|
10383
10537
|
|
|
10384
10538
|
/**
|
|
@@ -10388,17 +10542,17 @@ const _excluded$12 = ["activeIndex", "className", "nextButtonProps", "onNextClic
|
|
|
10388
10542
|
/**
|
|
10389
10543
|
* Component display name.
|
|
10390
10544
|
*/
|
|
10391
|
-
const COMPONENT_NAME
|
|
10545
|
+
const COMPONENT_NAME$12 = 'SlideshowControls';
|
|
10392
10546
|
|
|
10393
10547
|
/**
|
|
10394
10548
|
* Component default class name and class prefix.
|
|
10395
10549
|
*/
|
|
10396
|
-
const CLASSNAME
|
|
10550
|
+
const CLASSNAME$$ = getRootClassName(COMPONENT_NAME$12);
|
|
10397
10551
|
|
|
10398
10552
|
/**
|
|
10399
10553
|
* Component default props.
|
|
10400
10554
|
*/
|
|
10401
|
-
const DEFAULT_PROPS$
|
|
10555
|
+
const DEFAULT_PROPS$Q = {
|
|
10402
10556
|
activeIndex: 0,
|
|
10403
10557
|
theme: Theme.light
|
|
10404
10558
|
};
|
|
@@ -10428,7 +10582,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10428
10582
|
paginationItemLabel,
|
|
10429
10583
|
paginationItemProps
|
|
10430
10584
|
} = props,
|
|
10431
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
10585
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$15);
|
|
10432
10586
|
let parent;
|
|
10433
10587
|
if (WINDOW) {
|
|
10434
10588
|
// Checking window object to avoid errors in SSR.
|
|
@@ -10465,22 +10619,22 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10465
10619
|
ref: ref
|
|
10466
10620
|
}, forwardedProps, {
|
|
10467
10621
|
className: classnames(className, handleBasicClasses({
|
|
10468
|
-
prefix: CLASSNAME
|
|
10622
|
+
prefix: CLASSNAME$$,
|
|
10469
10623
|
theme
|
|
10470
10624
|
}), {
|
|
10471
|
-
[`${CLASSNAME
|
|
10625
|
+
[`${CLASSNAME$$}--has-infinite-pagination`]: slidesCount > PAGINATION_ITEMS_MAX
|
|
10472
10626
|
})
|
|
10473
10627
|
}), /*#__PURE__*/React.createElement(IconButton, _extends({}, previousButtonProps, {
|
|
10474
10628
|
icon: mdiChevronLeft,
|
|
10475
|
-
className: `${CLASSNAME
|
|
10629
|
+
className: `${CLASSNAME$$}__navigation`,
|
|
10476
10630
|
color: theme === Theme.dark ? 'light' : 'dark',
|
|
10477
10631
|
emphasis: Emphasis.low,
|
|
10478
10632
|
onClick: onPreviousClick
|
|
10479
10633
|
})), /*#__PURE__*/React.createElement("div", {
|
|
10480
10634
|
ref: paginationRef,
|
|
10481
|
-
className: `${CLASSNAME
|
|
10635
|
+
className: `${CLASSNAME$$}__pagination`
|
|
10482
10636
|
}, /*#__PURE__*/React.createElement("div", _extends({
|
|
10483
|
-
className: `${CLASSNAME
|
|
10637
|
+
className: `${CLASSNAME$$}__pagination-items`,
|
|
10484
10638
|
style: wrapperStyle,
|
|
10485
10639
|
role: "tablist"
|
|
10486
10640
|
}, paginationProps), useMemo(() => range(slidesCount).map(index => {
|
|
@@ -10496,7 +10650,7 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10496
10650
|
const ariaLabel = label || (paginationItemLabel === null || paginationItemLabel === void 0 ? void 0 : paginationItemLabel(index)) || `${index + 1} / ${slidesCount}`;
|
|
10497
10651
|
return /*#__PURE__*/React.createElement("button", _extends({
|
|
10498
10652
|
className: classnames(handleBasicClasses({
|
|
10499
|
-
prefix: `${CLASSNAME
|
|
10653
|
+
prefix: `${CLASSNAME$$}__pagination-item`,
|
|
10500
10654
|
isActive,
|
|
10501
10655
|
isOnEdge,
|
|
10502
10656
|
isOutRange
|
|
@@ -10511,35 +10665,35 @@ const InternalSlideshowControls = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10511
10665
|
}, itemProps));
|
|
10512
10666
|
}), [slidesCount, visibleRange.min, visibleRange.max, activeIndex, paginationItemProps, paginationItemLabel, onPaginationClick]))), playButtonProps ? /*#__PURE__*/React.createElement(IconButton, _extends({}, playButtonProps, {
|
|
10513
10667
|
icon: isAutoPlaying ? mdiPauseCircleOutline : mdiPlayCircleOutline,
|
|
10514
|
-
className: `${CLASSNAME
|
|
10668
|
+
className: `${CLASSNAME$$}__play`,
|
|
10515
10669
|
color: theme === Theme.dark ? 'light' : 'dark',
|
|
10516
10670
|
emphasis: Emphasis.low
|
|
10517
10671
|
})) : null, /*#__PURE__*/React.createElement(IconButton, _extends({}, nextButtonProps, {
|
|
10518
10672
|
icon: mdiChevronRight,
|
|
10519
|
-
className: `${CLASSNAME
|
|
10673
|
+
className: `${CLASSNAME$$}__navigation`,
|
|
10520
10674
|
color: theme === Theme.dark ? 'light' : 'dark',
|
|
10521
10675
|
emphasis: Emphasis.low,
|
|
10522
10676
|
onClick: onNextClick
|
|
10523
10677
|
})));
|
|
10524
10678
|
});
|
|
10525
|
-
InternalSlideshowControls.displayName = COMPONENT_NAME
|
|
10526
|
-
InternalSlideshowControls.className = CLASSNAME
|
|
10527
|
-
InternalSlideshowControls.defaultProps = DEFAULT_PROPS$
|
|
10679
|
+
InternalSlideshowControls.displayName = COMPONENT_NAME$12;
|
|
10680
|
+
InternalSlideshowControls.className = CLASSNAME$$;
|
|
10681
|
+
InternalSlideshowControls.defaultProps = DEFAULT_PROPS$Q;
|
|
10528
10682
|
const SlideshowControls = Object.assign(InternalSlideshowControls, {
|
|
10529
10683
|
useSlideshowControls,
|
|
10530
10684
|
useSlideshowControlsDefaultOptions: DEFAULT_OPTIONS$1
|
|
10531
10685
|
});
|
|
10532
10686
|
|
|
10533
|
-
const _excluded$
|
|
10687
|
+
const _excluded$16 = ["activeIndex", "id", "className", "theme", "fillHeight", "groupBy", "isAutoPlaying", "toggleAutoPlay", "slidesId", "children", "afterSlides", "hasControls", "slideGroupLabel"];
|
|
10534
10688
|
/**
|
|
10535
10689
|
* Component display name.
|
|
10536
10690
|
*/
|
|
10537
|
-
const COMPONENT_NAME$
|
|
10691
|
+
const COMPONENT_NAME$13 = 'Slideshow';
|
|
10538
10692
|
|
|
10539
10693
|
/**
|
|
10540
10694
|
* Component default class name and class prefix.
|
|
10541
10695
|
*/
|
|
10542
|
-
const CLASSNAME$
|
|
10696
|
+
const CLASSNAME$10 = getRootClassName(COMPONENT_NAME$13);
|
|
10543
10697
|
|
|
10544
10698
|
/**
|
|
10545
10699
|
* Slides component.
|
|
@@ -10564,7 +10718,7 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10564
10718
|
hasControls,
|
|
10565
10719
|
slideGroupLabel
|
|
10566
10720
|
} = props,
|
|
10567
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
10721
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$16);
|
|
10568
10722
|
const wrapperRef = React.useRef(null);
|
|
10569
10723
|
const startIndexVisible = activeIndex;
|
|
10570
10724
|
const endIndexVisible = startIndexVisible + 1;
|
|
@@ -10582,22 +10736,22 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10582
10736
|
ref: ref
|
|
10583
10737
|
}, forwardedProps, {
|
|
10584
10738
|
className: classnames(className, handleBasicClasses({
|
|
10585
|
-
prefix: CLASSNAME$
|
|
10739
|
+
prefix: CLASSNAME$10,
|
|
10586
10740
|
theme
|
|
10587
10741
|
}), {
|
|
10588
|
-
[`${CLASSNAME$
|
|
10589
|
-
[`${CLASSNAME$
|
|
10742
|
+
[`${CLASSNAME$10}--fill-height`]: fillHeight,
|
|
10743
|
+
[`${CLASSNAME$10}--group-by-${groupBy}`]: Boolean(groupBy)
|
|
10590
10744
|
}),
|
|
10591
10745
|
"aria-roledescription": "carousel"
|
|
10592
10746
|
}), /*#__PURE__*/React.createElement("div", {
|
|
10593
10747
|
id: slidesId,
|
|
10594
|
-
className: `${CLASSNAME$
|
|
10748
|
+
className: `${CLASSNAME$10}__slides`,
|
|
10595
10749
|
onMouseEnter: toggleAutoPlay,
|
|
10596
10750
|
onMouseLeave: toggleAutoPlay,
|
|
10597
10751
|
"aria-live": isAutoPlaying ? 'off' : 'polite'
|
|
10598
10752
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10599
10753
|
ref: wrapperRef,
|
|
10600
|
-
className: `${CLASSNAME$
|
|
10754
|
+
className: `${CLASSNAME$10}__wrapper`,
|
|
10601
10755
|
style: wrapperStyle
|
|
10602
10756
|
}, groups.map((group, index) => /*#__PURE__*/React.createElement(SlideshowItemGroup, {
|
|
10603
10757
|
key: index,
|
|
@@ -10607,10 +10761,10 @@ const Slides = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10607
10761
|
isDisplayed: index >= startIndexVisible && index < endIndexVisible
|
|
10608
10762
|
}, group)))), afterSlides);
|
|
10609
10763
|
});
|
|
10610
|
-
Slides.displayName = COMPONENT_NAME$
|
|
10611
|
-
Slides.className = CLASSNAME$
|
|
10764
|
+
Slides.displayName = COMPONENT_NAME$13;
|
|
10765
|
+
Slides.className = CLASSNAME$10;
|
|
10612
10766
|
|
|
10613
|
-
const _excluded$
|
|
10767
|
+
const _excluded$17 = ["checked", "children", "className", "disabled", "helper", "id", "isChecked", "isDisabled", "name", "onChange", "position", "theme", "value", "inputProps"];
|
|
10614
10768
|
|
|
10615
10769
|
/**
|
|
10616
10770
|
* Defines the props of the component.
|
|
@@ -10619,17 +10773,17 @@ const _excluded$14 = ["checked", "children", "className", "disabled", "helper",
|
|
|
10619
10773
|
/**
|
|
10620
10774
|
* Component display name.
|
|
10621
10775
|
*/
|
|
10622
|
-
const COMPONENT_NAME$
|
|
10776
|
+
const COMPONENT_NAME$14 = 'Switch';
|
|
10623
10777
|
|
|
10624
10778
|
/**
|
|
10625
10779
|
* Component default class name and class prefix.
|
|
10626
10780
|
*/
|
|
10627
|
-
const CLASSNAME$
|
|
10781
|
+
const CLASSNAME$11 = getRootClassName(COMPONENT_NAME$14);
|
|
10628
10782
|
|
|
10629
10783
|
/**
|
|
10630
10784
|
* Component default props.
|
|
10631
10785
|
*/
|
|
10632
|
-
const DEFAULT_PROPS$
|
|
10786
|
+
const DEFAULT_PROPS$R = {
|
|
10633
10787
|
position: Alignment.left,
|
|
10634
10788
|
theme: Theme.light
|
|
10635
10789
|
};
|
|
@@ -10658,7 +10812,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10658
10812
|
value,
|
|
10659
10813
|
inputProps = {}
|
|
10660
10814
|
} = props,
|
|
10661
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
10815
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$17);
|
|
10662
10816
|
const inputId = useMemo(() => id || `switch-${uid()}`, [id]);
|
|
10663
10817
|
const handleChange = event => {
|
|
10664
10818
|
if (onChange) {
|
|
@@ -10669,7 +10823,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10669
10823
|
ref: ref
|
|
10670
10824
|
}, forwardedProps, {
|
|
10671
10825
|
className: classnames(className, handleBasicClasses({
|
|
10672
|
-
prefix: CLASSNAME$
|
|
10826
|
+
prefix: CLASSNAME$11,
|
|
10673
10827
|
isChecked,
|
|
10674
10828
|
isDisabled,
|
|
10675
10829
|
position,
|
|
@@ -10678,12 +10832,12 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10678
10832
|
})),
|
|
10679
10833
|
"aria-disabled": isDisabled
|
|
10680
10834
|
}), /*#__PURE__*/React.createElement("div", {
|
|
10681
|
-
className: `${CLASSNAME$
|
|
10835
|
+
className: `${CLASSNAME$11}__input-wrapper`
|
|
10682
10836
|
}, /*#__PURE__*/React.createElement("input", _extends({
|
|
10683
10837
|
type: "checkbox",
|
|
10684
10838
|
role: "switch",
|
|
10685
10839
|
id: inputId,
|
|
10686
|
-
className: `${CLASSNAME$
|
|
10840
|
+
className: `${CLASSNAME$11}__input-native`,
|
|
10687
10841
|
name: name,
|
|
10688
10842
|
value: value,
|
|
10689
10843
|
disabled: isDisabled,
|
|
@@ -10692,28 +10846,28 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10692
10846
|
onChange: handleChange,
|
|
10693
10847
|
"aria-describedby": helper ? `${inputId}-helper` : undefined
|
|
10694
10848
|
}, inputProps)), /*#__PURE__*/React.createElement("div", {
|
|
10695
|
-
className: `${CLASSNAME$
|
|
10849
|
+
className: `${CLASSNAME$11}__input-placeholder`
|
|
10696
10850
|
}, /*#__PURE__*/React.createElement("div", {
|
|
10697
|
-
className: `${CLASSNAME$
|
|
10851
|
+
className: `${CLASSNAME$11}__input-background`
|
|
10698
10852
|
}), /*#__PURE__*/React.createElement("div", {
|
|
10699
|
-
className: `${CLASSNAME$
|
|
10853
|
+
className: `${CLASSNAME$11}__input-indicator`
|
|
10700
10854
|
}))), Children.count(children) > 0 && /*#__PURE__*/React.createElement("div", {
|
|
10701
|
-
className: `${CLASSNAME$
|
|
10855
|
+
className: `${CLASSNAME$11}__content`
|
|
10702
10856
|
}, /*#__PURE__*/React.createElement(InputLabel, {
|
|
10703
10857
|
htmlFor: inputId,
|
|
10704
10858
|
theme: theme,
|
|
10705
|
-
className: `${CLASSNAME$
|
|
10859
|
+
className: `${CLASSNAME$11}__label`
|
|
10706
10860
|
}, children), !isEmpty(helper) && /*#__PURE__*/React.createElement(InputHelper, {
|
|
10707
10861
|
id: `${inputId}-helper`,
|
|
10708
10862
|
theme: theme,
|
|
10709
|
-
className: `${CLASSNAME$
|
|
10863
|
+
className: `${CLASSNAME$11}__helper`
|
|
10710
10864
|
}, helper)));
|
|
10711
10865
|
});
|
|
10712
|
-
Switch.displayName = COMPONENT_NAME$
|
|
10713
|
-
Switch.className = CLASSNAME$
|
|
10714
|
-
Switch.defaultProps = DEFAULT_PROPS$
|
|
10866
|
+
Switch.displayName = COMPONENT_NAME$14;
|
|
10867
|
+
Switch.className = CLASSNAME$11;
|
|
10868
|
+
Switch.defaultProps = DEFAULT_PROPS$R;
|
|
10715
10869
|
|
|
10716
|
-
const _excluded$
|
|
10870
|
+
const _excluded$18 = ["children", "className", "hasBefore", "hasDividers", "theme"];
|
|
10717
10871
|
|
|
10718
10872
|
/**
|
|
10719
10873
|
* Defines the props of the component.
|
|
@@ -10722,17 +10876,17 @@ const _excluded$15 = ["children", "className", "hasBefore", "hasDividers", "them
|
|
|
10722
10876
|
/**
|
|
10723
10877
|
* Component display name.
|
|
10724
10878
|
*/
|
|
10725
|
-
const COMPONENT_NAME$
|
|
10879
|
+
const COMPONENT_NAME$15 = 'Table';
|
|
10726
10880
|
|
|
10727
10881
|
/**
|
|
10728
10882
|
* Component default class name and class prefix.
|
|
10729
10883
|
*/
|
|
10730
|
-
const CLASSNAME
|
|
10884
|
+
const CLASSNAME$12 = getRootClassName(COMPONENT_NAME$15);
|
|
10731
10885
|
|
|
10732
10886
|
/**
|
|
10733
10887
|
* Component default props.
|
|
10734
10888
|
*/
|
|
10735
|
-
const DEFAULT_PROPS$
|
|
10889
|
+
const DEFAULT_PROPS$S = {
|
|
10736
10890
|
theme: Theme.light
|
|
10737
10891
|
};
|
|
10738
10892
|
|
|
@@ -10751,23 +10905,23 @@ const Table = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10751
10905
|
hasDividers,
|
|
10752
10906
|
theme
|
|
10753
10907
|
} = props,
|
|
10754
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
10908
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$18);
|
|
10755
10909
|
return /*#__PURE__*/React.createElement("table", _extends({
|
|
10756
10910
|
ref: ref
|
|
10757
10911
|
}, forwardedProps, {
|
|
10758
10912
|
className: classnames(className, handleBasicClasses({
|
|
10759
|
-
prefix: CLASSNAME
|
|
10913
|
+
prefix: CLASSNAME$12,
|
|
10760
10914
|
hasBefore,
|
|
10761
10915
|
hasDividers,
|
|
10762
10916
|
theme
|
|
10763
10917
|
}))
|
|
10764
10918
|
}), children);
|
|
10765
10919
|
});
|
|
10766
|
-
Table.displayName = COMPONENT_NAME$
|
|
10767
|
-
Table.className = CLASSNAME
|
|
10768
|
-
Table.defaultProps = DEFAULT_PROPS$
|
|
10920
|
+
Table.displayName = COMPONENT_NAME$15;
|
|
10921
|
+
Table.className = CLASSNAME$12;
|
|
10922
|
+
Table.defaultProps = DEFAULT_PROPS$S;
|
|
10769
10923
|
|
|
10770
|
-
const _excluded$
|
|
10924
|
+
const _excluded$19 = ["children", "className"];
|
|
10771
10925
|
|
|
10772
10926
|
/**
|
|
10773
10927
|
* Defines the props of the component.
|
|
@@ -10776,12 +10930,12 @@ const _excluded$16 = ["children", "className"];
|
|
|
10776
10930
|
/**
|
|
10777
10931
|
* Component display name.
|
|
10778
10932
|
*/
|
|
10779
|
-
const COMPONENT_NAME$
|
|
10933
|
+
const COMPONENT_NAME$16 = 'TableBody';
|
|
10780
10934
|
|
|
10781
10935
|
/**
|
|
10782
10936
|
* Component default class name and class prefix.
|
|
10783
10937
|
*/
|
|
10784
|
-
const CLASSNAME$
|
|
10938
|
+
const CLASSNAME$13 = getRootClassName(COMPONENT_NAME$16, true);
|
|
10785
10939
|
|
|
10786
10940
|
/**
|
|
10787
10941
|
* TableBody component.
|
|
@@ -10795,19 +10949,19 @@ const TableBody = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10795
10949
|
children,
|
|
10796
10950
|
className
|
|
10797
10951
|
} = props,
|
|
10798
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
10952
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$19);
|
|
10799
10953
|
return /*#__PURE__*/React.createElement("tbody", _extends({
|
|
10800
10954
|
ref: ref
|
|
10801
10955
|
}, forwardedProps, {
|
|
10802
10956
|
className: classnames(className, handleBasicClasses({
|
|
10803
|
-
prefix: CLASSNAME$
|
|
10957
|
+
prefix: CLASSNAME$13
|
|
10804
10958
|
}))
|
|
10805
10959
|
}), children);
|
|
10806
10960
|
});
|
|
10807
|
-
TableBody.displayName = COMPONENT_NAME$
|
|
10808
|
-
TableBody.className = CLASSNAME$
|
|
10961
|
+
TableBody.displayName = COMPONENT_NAME$16;
|
|
10962
|
+
TableBody.className = CLASSNAME$13;
|
|
10809
10963
|
|
|
10810
|
-
const _excluded$
|
|
10964
|
+
const _excluded$1a = ["children", "className", "icon", "isSortable", "onHeaderClick", "sortOrder", "variant"];
|
|
10811
10965
|
|
|
10812
10966
|
/**
|
|
10813
10967
|
* Table head cell sort order.
|
|
@@ -10826,17 +10980,17 @@ const TableCellVariant = {
|
|
|
10826
10980
|
/**
|
|
10827
10981
|
* Component display name.
|
|
10828
10982
|
*/
|
|
10829
|
-
const COMPONENT_NAME$
|
|
10983
|
+
const COMPONENT_NAME$17 = 'TableCell';
|
|
10830
10984
|
|
|
10831
10985
|
/**
|
|
10832
10986
|
* Component default class name and class prefix.
|
|
10833
10987
|
*/
|
|
10834
|
-
const CLASSNAME$
|
|
10988
|
+
const CLASSNAME$14 = getRootClassName(COMPONENT_NAME$17, true);
|
|
10835
10989
|
|
|
10836
10990
|
/**
|
|
10837
10991
|
* Component default props.
|
|
10838
10992
|
*/
|
|
10839
|
-
const DEFAULT_PROPS$
|
|
10993
|
+
const DEFAULT_PROPS$T = {
|
|
10840
10994
|
variant: TableCellVariant.body
|
|
10841
10995
|
};
|
|
10842
10996
|
|
|
@@ -10857,7 +11011,7 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10857
11011
|
sortOrder,
|
|
10858
11012
|
variant
|
|
10859
11013
|
} = props,
|
|
10860
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11014
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1a);
|
|
10861
11015
|
|
|
10862
11016
|
/**
|
|
10863
11017
|
* Handle click on the ordered thead.
|
|
@@ -10871,43 +11025,43 @@ const TableCell = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10871
11025
|
ref: ref
|
|
10872
11026
|
}, forwardedProps, {
|
|
10873
11027
|
className: classnames(handleBasicClasses({
|
|
10874
|
-
prefix: CLASSNAME$
|
|
11028
|
+
prefix: CLASSNAME$14,
|
|
10875
11029
|
isSortable
|
|
10876
|
-
}), className, `${CLASSNAME$
|
|
10877
|
-
[`${CLASSNAME$
|
|
11030
|
+
}), className, `${CLASSNAME$14}--head`, {
|
|
11031
|
+
[`${CLASSNAME$14}--is-sorted`]: isSortable && sortOrder
|
|
10878
11032
|
}),
|
|
10879
11033
|
tabIndex: isSortable && isFunction(onHeaderClick) ? 0 : -1,
|
|
10880
11034
|
onClick: handleOnHeaderClick,
|
|
10881
11035
|
onKeyDown: onEnterPressed(handleOnHeaderClick)
|
|
10882
11036
|
}), /*#__PURE__*/React.createElement("div", {
|
|
10883
|
-
className: `${CLASSNAME$
|
|
11037
|
+
className: `${CLASSNAME$14}-wrapper`
|
|
10884
11038
|
}, icon && !isSortable && /*#__PURE__*/React.createElement(Icon, {
|
|
10885
|
-
className: `${CLASSNAME$
|
|
11039
|
+
className: `${CLASSNAME$14}-icon`,
|
|
10886
11040
|
icon: icon,
|
|
10887
11041
|
size: Size.xxs
|
|
10888
11042
|
}), isSortable && sortOrder === ThOrder.asc && /*#__PURE__*/React.createElement(Icon, {
|
|
10889
|
-
className: `${CLASSNAME$
|
|
11043
|
+
className: `${CLASSNAME$14}-icon`,
|
|
10890
11044
|
icon: mdiArrowUp,
|
|
10891
11045
|
size: Size.xxs
|
|
10892
11046
|
}), isSortable && sortOrder === ThOrder.desc && /*#__PURE__*/React.createElement(Icon, {
|
|
10893
|
-
className: `${CLASSNAME$
|
|
11047
|
+
className: `${CLASSNAME$14}-icon`,
|
|
10894
11048
|
icon: mdiArrowDown,
|
|
10895
11049
|
size: Size.xxs
|
|
10896
11050
|
}), /*#__PURE__*/React.createElement("div", {
|
|
10897
|
-
className: `${CLASSNAME$
|
|
11051
|
+
className: `${CLASSNAME$14}-content`
|
|
10898
11052
|
}, children))), variant === TableCellVariant.body && /*#__PURE__*/React.createElement("td", _extends({}, forwardedProps, {
|
|
10899
11053
|
className: classnames(className, handleBasicClasses({
|
|
10900
|
-
prefix: CLASSNAME$
|
|
10901
|
-
}), `${CLASSNAME$
|
|
11054
|
+
prefix: CLASSNAME$14
|
|
11055
|
+
}), `${CLASSNAME$14}--body`)
|
|
10902
11056
|
}), /*#__PURE__*/React.createElement("div", {
|
|
10903
|
-
className: `${CLASSNAME$
|
|
11057
|
+
className: `${CLASSNAME$14}-content`
|
|
10904
11058
|
}, children)));
|
|
10905
11059
|
});
|
|
10906
|
-
TableCell.displayName = COMPONENT_NAME$
|
|
10907
|
-
TableCell.className = CLASSNAME$
|
|
10908
|
-
TableCell.defaultProps = DEFAULT_PROPS$
|
|
11060
|
+
TableCell.displayName = COMPONENT_NAME$17;
|
|
11061
|
+
TableCell.className = CLASSNAME$14;
|
|
11062
|
+
TableCell.defaultProps = DEFAULT_PROPS$T;
|
|
10909
11063
|
|
|
10910
|
-
const _excluded$
|
|
11064
|
+
const _excluded$1b = ["children", "className"];
|
|
10911
11065
|
|
|
10912
11066
|
/**
|
|
10913
11067
|
* Defines the props of the component.
|
|
@@ -10916,17 +11070,17 @@ const _excluded$18 = ["children", "className"];
|
|
|
10916
11070
|
/**
|
|
10917
11071
|
* Component display name.
|
|
10918
11072
|
*/
|
|
10919
|
-
const COMPONENT_NAME$
|
|
11073
|
+
const COMPONENT_NAME$18 = 'TableHeader';
|
|
10920
11074
|
|
|
10921
11075
|
/**
|
|
10922
11076
|
* Component default class name and class prefix.
|
|
10923
11077
|
*/
|
|
10924
|
-
const CLASSNAME$
|
|
11078
|
+
const CLASSNAME$15 = getRootClassName(COMPONENT_NAME$18, true);
|
|
10925
11079
|
|
|
10926
11080
|
/**
|
|
10927
11081
|
* Component default props.
|
|
10928
11082
|
*/
|
|
10929
|
-
const DEFAULT_PROPS$
|
|
11083
|
+
const DEFAULT_PROPS$U = {};
|
|
10930
11084
|
|
|
10931
11085
|
/**
|
|
10932
11086
|
* TableHeader component.
|
|
@@ -10940,20 +11094,20 @@ const TableHeader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10940
11094
|
children,
|
|
10941
11095
|
className
|
|
10942
11096
|
} = props,
|
|
10943
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11097
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1b);
|
|
10944
11098
|
return /*#__PURE__*/React.createElement("thead", _extends({
|
|
10945
11099
|
ref: ref
|
|
10946
11100
|
}, forwardedProps, {
|
|
10947
11101
|
className: classnames(className, handleBasicClasses({
|
|
10948
|
-
prefix: CLASSNAME$
|
|
11102
|
+
prefix: CLASSNAME$15
|
|
10949
11103
|
}))
|
|
10950
11104
|
}), children);
|
|
10951
11105
|
});
|
|
10952
|
-
TableHeader.displayName = COMPONENT_NAME$
|
|
10953
|
-
TableHeader.className = CLASSNAME$
|
|
10954
|
-
TableHeader.defaultProps = DEFAULT_PROPS$
|
|
11106
|
+
TableHeader.displayName = COMPONENT_NAME$18;
|
|
11107
|
+
TableHeader.className = CLASSNAME$15;
|
|
11108
|
+
TableHeader.defaultProps = DEFAULT_PROPS$U;
|
|
10955
11109
|
|
|
10956
|
-
const _excluded$
|
|
11110
|
+
const _excluded$1c = ["children", "className", "disabled", "isClickable", "isDisabled", "isSelected"];
|
|
10957
11111
|
|
|
10958
11112
|
/**
|
|
10959
11113
|
* Defines the props of the component.
|
|
@@ -10962,17 +11116,17 @@ const _excluded$19 = ["children", "className", "disabled", "isClickable", "isDis
|
|
|
10962
11116
|
/**
|
|
10963
11117
|
* Component display name.
|
|
10964
11118
|
*/
|
|
10965
|
-
const COMPONENT_NAME$
|
|
11119
|
+
const COMPONENT_NAME$19 = 'TableRow';
|
|
10966
11120
|
|
|
10967
11121
|
/**
|
|
10968
11122
|
* Component default class name and class prefix.
|
|
10969
11123
|
*/
|
|
10970
|
-
const CLASSNAME$
|
|
11124
|
+
const CLASSNAME$16 = getRootClassName(COMPONENT_NAME$19, true);
|
|
10971
11125
|
|
|
10972
11126
|
/**
|
|
10973
11127
|
* Component default props.
|
|
10974
11128
|
*/
|
|
10975
|
-
const DEFAULT_PROPS$
|
|
11129
|
+
const DEFAULT_PROPS$V = {};
|
|
10976
11130
|
|
|
10977
11131
|
/**
|
|
10978
11132
|
* TableRow component.
|
|
@@ -10990,7 +11144,7 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10990
11144
|
isDisabled = disabled,
|
|
10991
11145
|
isSelected
|
|
10992
11146
|
} = props,
|
|
10993
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11147
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1c);
|
|
10994
11148
|
return /*#__PURE__*/React.createElement("tr", _extends({
|
|
10995
11149
|
ref: ref,
|
|
10996
11150
|
tabIndex: isClickable && !isDisabled ? 0 : -1
|
|
@@ -10999,17 +11153,17 @@ const TableRow = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10999
11153
|
isClickable: isClickable && !isDisabled,
|
|
11000
11154
|
isDisabled,
|
|
11001
11155
|
isSelected: isSelected && !isDisabled,
|
|
11002
|
-
prefix: CLASSNAME$
|
|
11156
|
+
prefix: CLASSNAME$16
|
|
11003
11157
|
})),
|
|
11004
11158
|
"aria-disabled": isDisabled
|
|
11005
11159
|
}), children);
|
|
11006
11160
|
});
|
|
11007
|
-
TableRow.displayName = COMPONENT_NAME$
|
|
11008
|
-
TableRow.className = CLASSNAME$
|
|
11009
|
-
TableRow.defaultProps = DEFAULT_PROPS$
|
|
11161
|
+
TableRow.displayName = COMPONENT_NAME$19;
|
|
11162
|
+
TableRow.className = CLASSNAME$16;
|
|
11163
|
+
TableRow.defaultProps = DEFAULT_PROPS$V;
|
|
11010
11164
|
|
|
11011
|
-
const _excluded$
|
|
11012
|
-
const DEFAULT_PROPS$
|
|
11165
|
+
const _excluded$1d = ["children", "onChange"];
|
|
11166
|
+
const DEFAULT_PROPS$W = {
|
|
11013
11167
|
isLazy: INIT_STATE.isLazy,
|
|
11014
11168
|
shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
|
|
11015
11169
|
};
|
|
@@ -11028,7 +11182,7 @@ const TabProvider = props => {
|
|
|
11028
11182
|
children,
|
|
11029
11183
|
onChange
|
|
11030
11184
|
} = props,
|
|
11031
|
-
propState = _objectWithoutProperties(props, _excluded$
|
|
11185
|
+
propState = _objectWithoutProperties(props, _excluded$1d);
|
|
11032
11186
|
const [state, dispatch] = useReducer(reducer, INIT_STATE);
|
|
11033
11187
|
|
|
11034
11188
|
// On prop state change => dispatch update.
|
|
@@ -11054,9 +11208,9 @@ const TabProvider = props => {
|
|
|
11054
11208
|
value: [state, dispatch]
|
|
11055
11209
|
}, children);
|
|
11056
11210
|
};
|
|
11057
|
-
TabProvider.defaultProps = DEFAULT_PROPS$
|
|
11211
|
+
TabProvider.defaultProps = DEFAULT_PROPS$W;
|
|
11058
11212
|
|
|
11059
|
-
const _excluded$
|
|
11213
|
+
const _excluded$1e = ["aria-label", "children", "className", "layout", "position", "theme"];
|
|
11060
11214
|
let TabListLayout;
|
|
11061
11215
|
|
|
11062
11216
|
/**
|
|
@@ -11069,17 +11223,17 @@ let TabListLayout;
|
|
|
11069
11223
|
/**
|
|
11070
11224
|
* Component display name.
|
|
11071
11225
|
*/
|
|
11072
|
-
const COMPONENT_NAME$
|
|
11226
|
+
const COMPONENT_NAME$1a = 'TabList';
|
|
11073
11227
|
|
|
11074
11228
|
/**
|
|
11075
11229
|
* Component default class name and class prefix.
|
|
11076
11230
|
*/
|
|
11077
|
-
const CLASSNAME$
|
|
11231
|
+
const CLASSNAME$17 = `${CSS_PREFIX}-tabs`;
|
|
11078
11232
|
|
|
11079
11233
|
/**
|
|
11080
11234
|
* Component default props.
|
|
11081
11235
|
*/
|
|
11082
|
-
const DEFAULT_PROPS$
|
|
11236
|
+
const DEFAULT_PROPS$X = {
|
|
11083
11237
|
layout: TabListLayout.fixed,
|
|
11084
11238
|
position: Alignment.left,
|
|
11085
11239
|
theme: Theme.light
|
|
@@ -11103,7 +11257,7 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11103
11257
|
position,
|
|
11104
11258
|
theme
|
|
11105
11259
|
} = props,
|
|
11106
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11260
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1e);
|
|
11107
11261
|
const tabListRef = React.useRef(null);
|
|
11108
11262
|
useRovingTabIndex({
|
|
11109
11263
|
parentRef: tabListRef,
|
|
@@ -11115,22 +11269,22 @@ const TabList = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11115
11269
|
ref: mergeRefs(ref, tabListRef)
|
|
11116
11270
|
}, forwardedProps, {
|
|
11117
11271
|
className: classnames(className, handleBasicClasses({
|
|
11118
|
-
prefix: CLASSNAME$
|
|
11272
|
+
prefix: CLASSNAME$17,
|
|
11119
11273
|
layout,
|
|
11120
11274
|
position,
|
|
11121
11275
|
theme
|
|
11122
11276
|
}))
|
|
11123
11277
|
}), /*#__PURE__*/React.createElement("div", {
|
|
11124
|
-
className: `${CLASSNAME$
|
|
11278
|
+
className: `${CLASSNAME$17}__links`,
|
|
11125
11279
|
role: "tablist",
|
|
11126
11280
|
"aria-label": ariaLabel
|
|
11127
11281
|
}, children));
|
|
11128
11282
|
});
|
|
11129
|
-
TabList.displayName = COMPONENT_NAME$
|
|
11130
|
-
TabList.className = CLASSNAME$
|
|
11131
|
-
TabList.defaultProps = DEFAULT_PROPS$
|
|
11283
|
+
TabList.displayName = COMPONENT_NAME$1a;
|
|
11284
|
+
TabList.className = CLASSNAME$17;
|
|
11285
|
+
TabList.defaultProps = DEFAULT_PROPS$X;
|
|
11132
11286
|
|
|
11133
|
-
const _excluded$
|
|
11287
|
+
const _excluded$1f = ["className", "disabled", "icon", "id", "isActive", "isDisabled", "label", "onFocus", "onKeyPress", "tabIndex"];
|
|
11134
11288
|
|
|
11135
11289
|
/**
|
|
11136
11290
|
* Defines the props of the component.
|
|
@@ -11139,17 +11293,17 @@ const _excluded$1c = ["className", "disabled", "icon", "id", "isActive", "isDisa
|
|
|
11139
11293
|
/**
|
|
11140
11294
|
* Component display name.
|
|
11141
11295
|
*/
|
|
11142
|
-
const COMPONENT_NAME$
|
|
11296
|
+
const COMPONENT_NAME$1b = 'Tab';
|
|
11143
11297
|
|
|
11144
11298
|
/**
|
|
11145
11299
|
* Component default class name and class prefix.
|
|
11146
11300
|
*/
|
|
11147
|
-
const CLASSNAME$
|
|
11301
|
+
const CLASSNAME$18 = `${CSS_PREFIX}-tabs__link`;
|
|
11148
11302
|
|
|
11149
11303
|
/**
|
|
11150
11304
|
* Component default props.
|
|
11151
11305
|
*/
|
|
11152
|
-
const DEFAULT_PROPS$
|
|
11306
|
+
const DEFAULT_PROPS$Y = {};
|
|
11153
11307
|
|
|
11154
11308
|
/**
|
|
11155
11309
|
* Tab component.
|
|
@@ -11173,7 +11327,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11173
11327
|
onKeyPress,
|
|
11174
11328
|
tabIndex = -1
|
|
11175
11329
|
} = props,
|
|
11176
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11330
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1f);
|
|
11177
11331
|
const state = useTabProviderContext('tab', id);
|
|
11178
11332
|
const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
|
|
11179
11333
|
const changeToCurrentTab = useCallback(() => {
|
|
@@ -11201,7 +11355,7 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11201
11355
|
type: "button",
|
|
11202
11356
|
id: state === null || state === void 0 ? void 0 : state.tabId,
|
|
11203
11357
|
className: classnames(className, handleBasicClasses({
|
|
11204
|
-
prefix: CLASSNAME$
|
|
11358
|
+
prefix: CLASSNAME$18,
|
|
11205
11359
|
isActive,
|
|
11206
11360
|
isDisabled
|
|
11207
11361
|
})),
|
|
@@ -11218,11 +11372,11 @@ const Tab = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11218
11372
|
size: Size.xs
|
|
11219
11373
|
}), label && /*#__PURE__*/React.createElement("span", null, label));
|
|
11220
11374
|
});
|
|
11221
|
-
Tab.displayName = COMPONENT_NAME$
|
|
11222
|
-
Tab.className = CLASSNAME$
|
|
11223
|
-
Tab.defaultProps = DEFAULT_PROPS$
|
|
11375
|
+
Tab.displayName = COMPONENT_NAME$1b;
|
|
11376
|
+
Tab.className = CLASSNAME$18;
|
|
11377
|
+
Tab.defaultProps = DEFAULT_PROPS$Y;
|
|
11224
11378
|
|
|
11225
|
-
const _excluded$
|
|
11379
|
+
const _excluded$1g = ["children", "id", "className", "isActive"];
|
|
11226
11380
|
|
|
11227
11381
|
/**
|
|
11228
11382
|
* Defines the props of the component.
|
|
@@ -11231,17 +11385,17 @@ const _excluded$1d = ["children", "id", "className", "isActive"];
|
|
|
11231
11385
|
/**
|
|
11232
11386
|
* Component display name.
|
|
11233
11387
|
*/
|
|
11234
|
-
const COMPONENT_NAME$
|
|
11388
|
+
const COMPONENT_NAME$1c = 'TabPanel';
|
|
11235
11389
|
|
|
11236
11390
|
/**
|
|
11237
11391
|
* Component default class name and class prefix.
|
|
11238
11392
|
*/
|
|
11239
|
-
const CLASSNAME$
|
|
11393
|
+
const CLASSNAME$19 = `${CSS_PREFIX}-tab-panel`;
|
|
11240
11394
|
|
|
11241
11395
|
/**
|
|
11242
11396
|
* Component default props.
|
|
11243
11397
|
*/
|
|
11244
|
-
const DEFAULT_PROPS$
|
|
11398
|
+
const DEFAULT_PROPS$Z = {};
|
|
11245
11399
|
|
|
11246
11400
|
/**
|
|
11247
11401
|
* TabPanel component.
|
|
@@ -11259,7 +11413,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11259
11413
|
className,
|
|
11260
11414
|
isActive: propIsActive
|
|
11261
11415
|
} = props,
|
|
11262
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11416
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1g);
|
|
11263
11417
|
const state = useTabProviderContext('tabPanel', id);
|
|
11264
11418
|
const isActive = propIsActive || (state === null || state === void 0 ? void 0 : state.isActive);
|
|
11265
11419
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
@@ -11267,7 +11421,7 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11267
11421
|
}, forwardedProps, {
|
|
11268
11422
|
id: state === null || state === void 0 ? void 0 : state.tabPanelId,
|
|
11269
11423
|
className: classnames(className, handleBasicClasses({
|
|
11270
|
-
prefix: CLASSNAME$
|
|
11424
|
+
prefix: CLASSNAME$19,
|
|
11271
11425
|
isActive
|
|
11272
11426
|
})),
|
|
11273
11427
|
role: "tabpanel",
|
|
@@ -11275,11 +11429,11 @@ const TabPanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11275
11429
|
"aria-labelledby": state === null || state === void 0 ? void 0 : state.tabId
|
|
11276
11430
|
}), (!(state !== null && state !== void 0 && state.isLazy) || isActive) && children);
|
|
11277
11431
|
});
|
|
11278
|
-
TabPanel.displayName = COMPONENT_NAME$
|
|
11279
|
-
TabPanel.className = CLASSNAME$
|
|
11280
|
-
TabPanel.defaultProps = DEFAULT_PROPS$
|
|
11432
|
+
TabPanel.displayName = COMPONENT_NAME$1c;
|
|
11433
|
+
TabPanel.className = CLASSNAME$19;
|
|
11434
|
+
TabPanel.defaultProps = DEFAULT_PROPS$Z;
|
|
11281
11435
|
|
|
11282
|
-
const _excluded$
|
|
11436
|
+
const _excluded$1h = ["id", "isDisabled", "isRequired", "placeholder", "multiline", "value", "setFocus", "onChange", "onFocus", "onBlur", "inputRef", "rows", "recomputeNumberOfRows", "type", "name"],
|
|
11283
11437
|
_excluded2$3 = ["chips", "className", "clearButtonProps", "disabled", "error", "forceFocusStyle", "hasError", "helper", "icon", "id", "inputRef", "isDisabled", "isRequired", "isValid", "label", "maxLength", "minimumRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "textFieldRef", "theme", "type", "value", "afterElement"];
|
|
11284
11438
|
|
|
11285
11439
|
/**
|
|
@@ -11289,12 +11443,12 @@ const _excluded$1e = ["id", "isDisabled", "isRequired", "placeholder", "multilin
|
|
|
11289
11443
|
/**
|
|
11290
11444
|
* Component display name.
|
|
11291
11445
|
*/
|
|
11292
|
-
const COMPONENT_NAME$
|
|
11446
|
+
const COMPONENT_NAME$1d = 'TextField';
|
|
11293
11447
|
|
|
11294
11448
|
/**
|
|
11295
11449
|
* Component default class name and class prefix.
|
|
11296
11450
|
*/
|
|
11297
|
-
const CLASSNAME$
|
|
11451
|
+
const CLASSNAME$1a = getRootClassName(COMPONENT_NAME$1d);
|
|
11298
11452
|
|
|
11299
11453
|
/**
|
|
11300
11454
|
* Default minimum number of rows in the multiline mode.
|
|
@@ -11304,7 +11458,7 @@ const DEFAULT_MIN_ROWS = 2;
|
|
|
11304
11458
|
/**
|
|
11305
11459
|
* Component default props.
|
|
11306
11460
|
*/
|
|
11307
|
-
const DEFAULT_PROPS$
|
|
11461
|
+
const DEFAULT_PROPS$_ = {
|
|
11308
11462
|
theme: Theme.light,
|
|
11309
11463
|
type: 'text'
|
|
11310
11464
|
};
|
|
@@ -11362,7 +11516,7 @@ const renderInputNative = props => {
|
|
|
11362
11516
|
type,
|
|
11363
11517
|
name
|
|
11364
11518
|
} = props,
|
|
11365
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11519
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1h);
|
|
11366
11520
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
11367
11521
|
const ref = useRef(null);
|
|
11368
11522
|
|
|
@@ -11387,7 +11541,7 @@ const renderInputNative = props => {
|
|
|
11387
11541
|
const Component = multiline ? 'textarea' : 'input';
|
|
11388
11542
|
const inputProps = _objectSpread2(_objectSpread2({}, forwardedProps), {}, {
|
|
11389
11543
|
id,
|
|
11390
|
-
className: multiline ? `${CLASSNAME$
|
|
11544
|
+
className: multiline ? `${CLASSNAME$1a}__input-native ${CLASSNAME$1a}__input-native--textarea` : `${CLASSNAME$1a}__input-native ${CLASSNAME$1a}__input-native--text`,
|
|
11391
11545
|
placeholder,
|
|
11392
11546
|
value,
|
|
11393
11547
|
name,
|
|
@@ -11481,31 +11635,31 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11481
11635
|
isDisabled,
|
|
11482
11636
|
isFocus: isFocus || forceFocusStyle,
|
|
11483
11637
|
isValid,
|
|
11484
|
-
prefix: CLASSNAME$
|
|
11638
|
+
prefix: CLASSNAME$1a,
|
|
11485
11639
|
theme
|
|
11486
11640
|
}))
|
|
11487
11641
|
}, (label || maxLength) && /*#__PURE__*/React.createElement("div", {
|
|
11488
|
-
className: `${CLASSNAME$
|
|
11642
|
+
className: `${CLASSNAME$1a}__header`
|
|
11489
11643
|
}, label && /*#__PURE__*/React.createElement(InputLabel, {
|
|
11490
11644
|
htmlFor: textFieldId,
|
|
11491
|
-
className: `${CLASSNAME$
|
|
11645
|
+
className: `${CLASSNAME$1a}__label`,
|
|
11492
11646
|
isRequired: isRequired,
|
|
11493
11647
|
theme: theme
|
|
11494
11648
|
}, label), maxLength && /*#__PURE__*/React.createElement("div", {
|
|
11495
|
-
className: `${CLASSNAME$
|
|
11649
|
+
className: `${CLASSNAME$1a}__char-counter`
|
|
11496
11650
|
}, /*#__PURE__*/React.createElement("span", null, maxLength - valueLength), maxLength - valueLength === 0 && /*#__PURE__*/React.createElement(Icon, {
|
|
11497
11651
|
icon: mdiAlertCircle,
|
|
11498
11652
|
size: Size.xxs
|
|
11499
11653
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
11500
|
-
className: `${CLASSNAME$
|
|
11654
|
+
className: `${CLASSNAME$1a}__wrapper`,
|
|
11501
11655
|
ref: textFieldRef
|
|
11502
11656
|
}, icon && /*#__PURE__*/React.createElement(Icon, {
|
|
11503
|
-
className: `${CLASSNAME$
|
|
11657
|
+
className: `${CLASSNAME$1a}__input-icon`,
|
|
11504
11658
|
color: theme === Theme.dark ? 'light' : undefined,
|
|
11505
11659
|
icon: icon,
|
|
11506
11660
|
size: Size.xs
|
|
11507
11661
|
}), chips && /*#__PURE__*/React.createElement("div", {
|
|
11508
|
-
className: `${CLASSNAME$
|
|
11662
|
+
className: `${CLASSNAME$1a}__chips`
|
|
11509
11663
|
}, chips, renderInputNative(_objectSpread2({
|
|
11510
11664
|
id: textFieldId,
|
|
11511
11665
|
inputRef,
|
|
@@ -11524,7 +11678,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11524
11678
|
value,
|
|
11525
11679
|
name
|
|
11526
11680
|
}, forwardedProps))), !chips && /*#__PURE__*/React.createElement("div", {
|
|
11527
|
-
className: `${CLASSNAME$
|
|
11681
|
+
className: `${CLASSNAME$1a}__input-wrapper`
|
|
11528
11682
|
}, renderInputNative(_objectSpread2({
|
|
11529
11683
|
id: textFieldId,
|
|
11530
11684
|
inputRef,
|
|
@@ -11543,12 +11697,12 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11543
11697
|
value,
|
|
11544
11698
|
name
|
|
11545
11699
|
}, forwardedProps))), (isValid || hasError) && /*#__PURE__*/React.createElement(Icon, {
|
|
11546
|
-
className: `${CLASSNAME$
|
|
11700
|
+
className: `${CLASSNAME$1a}__input-validity`,
|
|
11547
11701
|
color: theme === Theme.dark ? 'light' : undefined,
|
|
11548
11702
|
icon: isValid ? mdiCheckCircle : mdiAlertCircle,
|
|
11549
11703
|
size: Size.xxs
|
|
11550
11704
|
}), clearButtonProps && isNotEmpty && /*#__PURE__*/React.createElement(IconButton, _extends({}, clearButtonProps, {
|
|
11551
|
-
className: `${CLASSNAME$
|
|
11705
|
+
className: `${CLASSNAME$1a}__input-clear`,
|
|
11552
11706
|
icon: mdiCloseCircle,
|
|
11553
11707
|
emphasis: Emphasis.low,
|
|
11554
11708
|
size: Size.s,
|
|
@@ -11556,19 +11710,19 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11556
11710
|
onClick: onClear,
|
|
11557
11711
|
type: "button"
|
|
11558
11712
|
})), afterElement && /*#__PURE__*/React.createElement("div", {
|
|
11559
|
-
className: `${CLASSNAME$
|
|
11713
|
+
className: `${CLASSNAME$1a}__after-element`
|
|
11560
11714
|
}, afterElement)), hasError && error && /*#__PURE__*/React.createElement(InputHelper, {
|
|
11561
|
-
className: `${CLASSNAME$
|
|
11715
|
+
className: `${CLASSNAME$1a}__helper`,
|
|
11562
11716
|
kind: Kind.error,
|
|
11563
11717
|
theme: theme
|
|
11564
11718
|
}, error), helper && /*#__PURE__*/React.createElement(InputHelper, {
|
|
11565
|
-
className: `${CLASSNAME$
|
|
11719
|
+
className: `${CLASSNAME$1a}__helper`,
|
|
11566
11720
|
theme: theme
|
|
11567
11721
|
}, helper));
|
|
11568
11722
|
});
|
|
11569
|
-
TextField.displayName = COMPONENT_NAME$
|
|
11570
|
-
TextField.className = CLASSNAME$
|
|
11571
|
-
TextField.defaultProps = DEFAULT_PROPS$
|
|
11723
|
+
TextField.displayName = COMPONENT_NAME$1d;
|
|
11724
|
+
TextField.className = CLASSNAME$1a;
|
|
11725
|
+
TextField.defaultProps = DEFAULT_PROPS$_;
|
|
11572
11726
|
|
|
11573
11727
|
function getState(img, event) {
|
|
11574
11728
|
// Error event occurred or image loaded empty.
|
|
@@ -11712,21 +11866,21 @@ const useFocusPointStyle = (_ref2, element, isLoaded) => {
|
|
|
11712
11866
|
return style;
|
|
11713
11867
|
};
|
|
11714
11868
|
|
|
11715
|
-
const _excluded$
|
|
11869
|
+
const _excluded$1i = ["align", "alt", "aspectRatio", "badge", "className", "crossOrigin", "fallback", "fillHeight", "focusPoint", "image", "imgProps", "imgRef", "isLoading", "loading", "size", "theme", "variant", "linkProps", "linkAs"];
|
|
11716
11870
|
/**
|
|
11717
11871
|
* Component display name.
|
|
11718
11872
|
*/
|
|
11719
|
-
const COMPONENT_NAME$
|
|
11873
|
+
const COMPONENT_NAME$1e = 'Thumbnail';
|
|
11720
11874
|
|
|
11721
11875
|
/**
|
|
11722
11876
|
* Component default class name and class prefix.
|
|
11723
11877
|
*/
|
|
11724
|
-
const CLASSNAME$
|
|
11878
|
+
const CLASSNAME$1b = getRootClassName(COMPONENT_NAME$1e);
|
|
11725
11879
|
|
|
11726
11880
|
/**
|
|
11727
11881
|
* Component default props.
|
|
11728
11882
|
*/
|
|
11729
|
-
const DEFAULT_PROPS
|
|
11883
|
+
const DEFAULT_PROPS$$ = {
|
|
11730
11884
|
fallback: mdiImageBroken,
|
|
11731
11885
|
loading: 'lazy',
|
|
11732
11886
|
theme: Theme.light
|
|
@@ -11763,7 +11917,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11763
11917
|
linkProps,
|
|
11764
11918
|
linkAs
|
|
11765
11919
|
} = props,
|
|
11766
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11920
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1i);
|
|
11767
11921
|
const [imgElement, setImgElement] = useState();
|
|
11768
11922
|
|
|
11769
11923
|
// Image loading state.
|
|
@@ -11802,7 +11956,7 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11802
11956
|
className: classnames(linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, className, handleBasicClasses({
|
|
11803
11957
|
align,
|
|
11804
11958
|
aspectRatio,
|
|
11805
|
-
prefix: CLASSNAME$
|
|
11959
|
+
prefix: CLASSNAME$1b,
|
|
11806
11960
|
size,
|
|
11807
11961
|
theme,
|
|
11808
11962
|
variant,
|
|
@@ -11812,14 +11966,14 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11812
11966
|
hasCustomErrorFallback,
|
|
11813
11967
|
isLoading,
|
|
11814
11968
|
hasBadge: !!badge
|
|
11815
|
-
}), fillHeight && `${CLASSNAME$
|
|
11969
|
+
}), fillHeight && `${CLASSNAME$1b}--fill-height`)
|
|
11816
11970
|
}), /*#__PURE__*/React.createElement("div", {
|
|
11817
|
-
className: `${CLASSNAME$
|
|
11971
|
+
className: `${CLASSNAME$1b}__background`
|
|
11818
11972
|
}, /*#__PURE__*/React.createElement("img", _extends({}, imgProps, {
|
|
11819
11973
|
style: _objectSpread2(_objectSpread2(_objectSpread2({}, imgProps === null || imgProps === void 0 ? void 0 : imgProps.style), imageErrorStyle), focusPointStyle),
|
|
11820
11974
|
ref: mergeRefs(setImgElement, propImgRef),
|
|
11821
11975
|
className: classnames(handleBasicClasses({
|
|
11822
|
-
prefix: `${CLASSNAME$
|
|
11976
|
+
prefix: `${CLASSNAME$1b}__image`,
|
|
11823
11977
|
isLoading,
|
|
11824
11978
|
hasDefinedSize: Boolean((imgProps === null || imgProps === void 0 ? void 0 : imgProps.height) && imgProps.width)
|
|
11825
11979
|
}), imgProps === null || imgProps === void 0 ? void 0 : imgProps.className),
|
|
@@ -11828,18 +11982,18 @@ const Thumbnail = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11828
11982
|
alt: alt,
|
|
11829
11983
|
loading: loading
|
|
11830
11984
|
})), !isLoading && hasError && /*#__PURE__*/React.createElement("div", {
|
|
11831
|
-
className: `${CLASSNAME$
|
|
11985
|
+
className: `${CLASSNAME$1b}__fallback`
|
|
11832
11986
|
}, hasIconErrorFallback ? /*#__PURE__*/React.createElement(Icon, {
|
|
11833
11987
|
icon: fallback,
|
|
11834
11988
|
size: Size.xxs,
|
|
11835
11989
|
theme: theme
|
|
11836
11990
|
}) : fallback)), badge && /*#__PURE__*/React.cloneElement(badge, {
|
|
11837
|
-
className: classnames(`${CLASSNAME$
|
|
11991
|
+
className: classnames(`${CLASSNAME$1b}__badge`, badge.props.className)
|
|
11838
11992
|
}));
|
|
11839
11993
|
});
|
|
11840
|
-
Thumbnail.displayName = COMPONENT_NAME$
|
|
11841
|
-
Thumbnail.className = CLASSNAME$
|
|
11842
|
-
Thumbnail.defaultProps = DEFAULT_PROPS
|
|
11994
|
+
Thumbnail.displayName = COMPONENT_NAME$1e;
|
|
11995
|
+
Thumbnail.className = CLASSNAME$1b;
|
|
11996
|
+
Thumbnail.defaultProps = DEFAULT_PROPS$$;
|
|
11843
11997
|
|
|
11844
11998
|
/**
|
|
11845
11999
|
* All available aspect ratios.
|
|
@@ -11859,7 +12013,7 @@ const ThumbnailVariant = {
|
|
|
11859
12013
|
rounded: 'rounded'
|
|
11860
12014
|
};
|
|
11861
12015
|
|
|
11862
|
-
const _excluded$
|
|
12016
|
+
const _excluded$1j = ["after", "before", "className", "label"];
|
|
11863
12017
|
|
|
11864
12018
|
/**
|
|
11865
12019
|
* Defines the props of the component.
|
|
@@ -11868,17 +12022,17 @@ const _excluded$1g = ["after", "before", "className", "label"];
|
|
|
11868
12022
|
/**
|
|
11869
12023
|
* Component display name.
|
|
11870
12024
|
*/
|
|
11871
|
-
const COMPONENT_NAME$
|
|
12025
|
+
const COMPONENT_NAME$1f = 'Toolbar';
|
|
11872
12026
|
|
|
11873
12027
|
/**
|
|
11874
12028
|
* Component default class name and class prefix.
|
|
11875
12029
|
*/
|
|
11876
|
-
const CLASSNAME$
|
|
12030
|
+
const CLASSNAME$1c = getRootClassName(COMPONENT_NAME$1f);
|
|
11877
12031
|
|
|
11878
12032
|
/**
|
|
11879
12033
|
* Component default props.
|
|
11880
12034
|
*/
|
|
11881
|
-
const DEFAULT_PROPS$
|
|
12035
|
+
const DEFAULT_PROPS$10 = {};
|
|
11882
12036
|
|
|
11883
12037
|
/**
|
|
11884
12038
|
* Toolbar component.
|
|
@@ -11894,7 +12048,7 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11894
12048
|
className,
|
|
11895
12049
|
label
|
|
11896
12050
|
} = props,
|
|
11897
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
12051
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1j);
|
|
11898
12052
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
11899
12053
|
ref: ref
|
|
11900
12054
|
}, forwardedProps, {
|
|
@@ -11902,19 +12056,19 @@ const Toolbar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11902
12056
|
hasAfter: Boolean(after),
|
|
11903
12057
|
hasBefore: Boolean(before),
|
|
11904
12058
|
hasLabel: Boolean(label),
|
|
11905
|
-
prefix: CLASSNAME$
|
|
12059
|
+
prefix: CLASSNAME$1c
|
|
11906
12060
|
}))
|
|
11907
12061
|
}), before && /*#__PURE__*/React.createElement("div", {
|
|
11908
|
-
className: `${CLASSNAME$
|
|
12062
|
+
className: `${CLASSNAME$1c}__before`
|
|
11909
12063
|
}, before), label && /*#__PURE__*/React.createElement("div", {
|
|
11910
|
-
className: `${CLASSNAME$
|
|
12064
|
+
className: `${CLASSNAME$1c}__label`
|
|
11911
12065
|
}, label), after && /*#__PURE__*/React.createElement("div", {
|
|
11912
|
-
className: `${CLASSNAME$
|
|
12066
|
+
className: `${CLASSNAME$1c}__after`
|
|
11913
12067
|
}, after));
|
|
11914
12068
|
});
|
|
11915
|
-
Toolbar.displayName = COMPONENT_NAME$
|
|
11916
|
-
Toolbar.className = CLASSNAME$
|
|
11917
|
-
Toolbar.defaultProps = DEFAULT_PROPS$
|
|
12069
|
+
Toolbar.displayName = COMPONENT_NAME$1f;
|
|
12070
|
+
Toolbar.className = CLASSNAME$1c;
|
|
12071
|
+
Toolbar.defaultProps = DEFAULT_PROPS$10;
|
|
11918
12072
|
|
|
11919
12073
|
/**
|
|
11920
12074
|
* Add ref and ARIA attribute(s) in tooltip children or wrapped children.
|
|
@@ -12048,24 +12202,24 @@ function useTooltipOpen(delay, anchorElement) {
|
|
|
12048
12202
|
return isOpen;
|
|
12049
12203
|
}
|
|
12050
12204
|
|
|
12051
|
-
const _excluded$
|
|
12205
|
+
const _excluded$1k = ["label", "children", "className", "delay", "placement", "forceOpen"];
|
|
12052
12206
|
|
|
12053
12207
|
/** Position of the tooltip relative to the anchor element. */
|
|
12054
12208
|
|
|
12055
12209
|
/**
|
|
12056
12210
|
* Component display name.
|
|
12057
12211
|
*/
|
|
12058
|
-
const COMPONENT_NAME$
|
|
12212
|
+
const COMPONENT_NAME$1g = 'Tooltip';
|
|
12059
12213
|
|
|
12060
12214
|
/**
|
|
12061
12215
|
* Component default class name and class prefix.
|
|
12062
12216
|
*/
|
|
12063
|
-
const CLASSNAME$
|
|
12217
|
+
const CLASSNAME$1d = getRootClassName(COMPONENT_NAME$1g);
|
|
12064
12218
|
|
|
12065
12219
|
/**
|
|
12066
12220
|
* Component default props.
|
|
12067
12221
|
*/
|
|
12068
|
-
const DEFAULT_PROPS$
|
|
12222
|
+
const DEFAULT_PROPS$11 = {
|
|
12069
12223
|
placement: Placement.BOTTOM
|
|
12070
12224
|
};
|
|
12071
12225
|
|
|
@@ -12091,7 +12245,7 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12091
12245
|
placement,
|
|
12092
12246
|
forceOpen
|
|
12093
12247
|
} = props,
|
|
12094
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
12248
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1k);
|
|
12095
12249
|
// Disable in SSR or without a label.
|
|
12096
12250
|
if (!DOCUMENT || !label) {
|
|
12097
12251
|
return /*#__PURE__*/React.createElement(React.Fragment, null, children);
|
|
@@ -12121,23 +12275,23 @@ const Tooltip = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12121
12275
|
role: "tooltip",
|
|
12122
12276
|
"aria-label": label,
|
|
12123
12277
|
className: classnames(className, handleBasicClasses({
|
|
12124
|
-
prefix: CLASSNAME$
|
|
12278
|
+
prefix: CLASSNAME$1d,
|
|
12125
12279
|
position
|
|
12126
12280
|
})),
|
|
12127
12281
|
style: styles.popper
|
|
12128
12282
|
}, attributes.popper), /*#__PURE__*/React.createElement("div", {
|
|
12129
|
-
className: `${CLASSNAME$
|
|
12283
|
+
className: `${CLASSNAME$1d}__arrow`
|
|
12130
12284
|
}), /*#__PURE__*/React.createElement("div", {
|
|
12131
|
-
className: `${CLASSNAME$
|
|
12285
|
+
className: `${CLASSNAME$1d}__inner`
|
|
12132
12286
|
}, label.indexOf('\n') !== -1 ? label.split('\n').map(sentence => /*#__PURE__*/React.createElement("p", {
|
|
12133
12287
|
key: sentence
|
|
12134
12288
|
}, sentence)) : label)), document.body));
|
|
12135
12289
|
});
|
|
12136
|
-
Tooltip.displayName = COMPONENT_NAME$
|
|
12137
|
-
Tooltip.className = CLASSNAME$
|
|
12138
|
-
Tooltip.defaultProps = DEFAULT_PROPS$
|
|
12290
|
+
Tooltip.displayName = COMPONENT_NAME$1g;
|
|
12291
|
+
Tooltip.className = CLASSNAME$1d;
|
|
12292
|
+
Tooltip.defaultProps = DEFAULT_PROPS$11;
|
|
12139
12293
|
|
|
12140
|
-
const _excluded$
|
|
12294
|
+
const _excluded$1l = ["aspectRatio", "className", "label", "icon", "size", "theme", "variant"];
|
|
12141
12295
|
|
|
12142
12296
|
/**
|
|
12143
12297
|
* Uploader variants.
|
|
@@ -12150,17 +12304,17 @@ const UploaderVariant = {
|
|
|
12150
12304
|
/**
|
|
12151
12305
|
* Component display name.
|
|
12152
12306
|
*/
|
|
12153
|
-
const COMPONENT_NAME$
|
|
12307
|
+
const COMPONENT_NAME$1h = 'Uploader';
|
|
12154
12308
|
|
|
12155
12309
|
/**
|
|
12156
12310
|
* Component default class name and class prefix.
|
|
12157
12311
|
*/
|
|
12158
|
-
const CLASSNAME$
|
|
12312
|
+
const CLASSNAME$1e = getRootClassName(COMPONENT_NAME$1h);
|
|
12159
12313
|
|
|
12160
12314
|
/**
|
|
12161
12315
|
* Component default props.
|
|
12162
12316
|
*/
|
|
12163
|
-
const DEFAULT_PROPS
|
|
12317
|
+
const DEFAULT_PROPS$12 = {
|
|
12164
12318
|
aspectRatio: AspectRatio.horizontal,
|
|
12165
12319
|
size: Size.xl,
|
|
12166
12320
|
theme: Theme.light,
|
|
@@ -12184,7 +12338,7 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12184
12338
|
theme,
|
|
12185
12339
|
variant
|
|
12186
12340
|
} = props,
|
|
12187
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
12341
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1l);
|
|
12188
12342
|
// Adjust to square aspect ratio when using circle variants.
|
|
12189
12343
|
const adjustedAspectRatio = variant === UploaderVariant.circle ? AspectRatio.square : aspectRatio;
|
|
12190
12344
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
@@ -12192,43 +12346,43 @@ const Uploader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12192
12346
|
}, forwardedProps, {
|
|
12193
12347
|
className: classnames(className, handleBasicClasses({
|
|
12194
12348
|
aspectRatio: adjustedAspectRatio,
|
|
12195
|
-
prefix: CLASSNAME$
|
|
12349
|
+
prefix: CLASSNAME$1e,
|
|
12196
12350
|
size,
|
|
12197
12351
|
theme,
|
|
12198
12352
|
variant
|
|
12199
12353
|
}))
|
|
12200
12354
|
}), /*#__PURE__*/React.createElement("div", {
|
|
12201
|
-
className: `${CLASSNAME$
|
|
12355
|
+
className: `${CLASSNAME$1e}__background`
|
|
12202
12356
|
}), /*#__PURE__*/React.createElement("div", {
|
|
12203
|
-
className: `${CLASSNAME$
|
|
12357
|
+
className: `${CLASSNAME$1e}__wrapper`
|
|
12204
12358
|
}, icon && /*#__PURE__*/React.createElement("div", {
|
|
12205
|
-
className: `${CLASSNAME$
|
|
12359
|
+
className: `${CLASSNAME$1e}__icon`
|
|
12206
12360
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
12207
12361
|
icon: icon,
|
|
12208
12362
|
size: Size.s
|
|
12209
12363
|
})), label && /*#__PURE__*/React.createElement("span", {
|
|
12210
|
-
className: `${CLASSNAME$
|
|
12364
|
+
className: `${CLASSNAME$1e}__label`
|
|
12211
12365
|
}, label)));
|
|
12212
12366
|
});
|
|
12213
|
-
Uploader.displayName = COMPONENT_NAME$
|
|
12214
|
-
Uploader.className = CLASSNAME$
|
|
12215
|
-
Uploader.defaultProps = DEFAULT_PROPS
|
|
12367
|
+
Uploader.displayName = COMPONENT_NAME$1h;
|
|
12368
|
+
Uploader.className = CLASSNAME$1e;
|
|
12369
|
+
Uploader.defaultProps = DEFAULT_PROPS$12;
|
|
12216
12370
|
|
|
12217
|
-
const _excluded$
|
|
12371
|
+
const _excluded$1m = ["avatarProps", "className", "fields", "linkProps", "linkAs", "multipleActions", "name", "nameProps", "onClick", "onMouseEnter", "onMouseLeave", "orientation", "simpleAction", "size", "theme"];
|
|
12218
12372
|
/**
|
|
12219
12373
|
* Component display name.
|
|
12220
12374
|
*/
|
|
12221
|
-
const COMPONENT_NAME$
|
|
12375
|
+
const COMPONENT_NAME$1i = 'UserBlock';
|
|
12222
12376
|
|
|
12223
12377
|
/**
|
|
12224
12378
|
* Component default class name and class prefix.
|
|
12225
12379
|
*/
|
|
12226
|
-
const CLASSNAME$
|
|
12380
|
+
const CLASSNAME$1f = getRootClassName(COMPONENT_NAME$1i);
|
|
12227
12381
|
|
|
12228
12382
|
/**
|
|
12229
12383
|
* Component default props.
|
|
12230
12384
|
*/
|
|
12231
|
-
const DEFAULT_PROPS$
|
|
12385
|
+
const DEFAULT_PROPS$13 = {
|
|
12232
12386
|
orientation: Orientation.horizontal,
|
|
12233
12387
|
size: Size.m,
|
|
12234
12388
|
theme: Theme.light
|
|
@@ -12259,7 +12413,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12259
12413
|
size,
|
|
12260
12414
|
theme
|
|
12261
12415
|
} = props,
|
|
12262
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
12416
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$1m);
|
|
12263
12417
|
let componentSize = size;
|
|
12264
12418
|
|
|
12265
12419
|
// Special case - When using vertical orientation force the size to be Sizes.l.
|
|
@@ -12275,7 +12429,7 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12275
12429
|
}
|
|
12276
12430
|
let NameComponent = 'span';
|
|
12277
12431
|
const nProps = _objectSpread2(_objectSpread2({}, nameProps), {}, {
|
|
12278
|
-
className: classnames(`${CLASSNAME$
|
|
12432
|
+
className: classnames(`${CLASSNAME$1f}__name`, linkProps === null || linkProps === void 0 ? void 0 : linkProps.className, nameProps === null || nameProps === void 0 ? void 0 : nameProps.className)
|
|
12279
12433
|
});
|
|
12280
12434
|
if (isClickable) {
|
|
12281
12435
|
NameComponent = Link;
|
|
@@ -12292,16 +12446,16 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12292
12446
|
return /*#__PURE__*/React.createElement(NameComponent, nProps, name);
|
|
12293
12447
|
}, [avatarProps, isClickable, linkAs, linkProps, name, nameProps, onClick]);
|
|
12294
12448
|
const fieldsBlock = fields && componentSize !== Size.s && /*#__PURE__*/React.createElement("div", {
|
|
12295
|
-
className: `${CLASSNAME$
|
|
12449
|
+
className: `${CLASSNAME$1f}__fields`
|
|
12296
12450
|
}, fields.map((field, idx) => /*#__PURE__*/React.createElement("span", {
|
|
12297
12451
|
key: idx,
|
|
12298
|
-
className: `${CLASSNAME$
|
|
12452
|
+
className: `${CLASSNAME$1f}__field`
|
|
12299
12453
|
}, field)));
|
|
12300
12454
|
return /*#__PURE__*/React.createElement("div", _extends({
|
|
12301
12455
|
ref: ref
|
|
12302
12456
|
}, forwardedProps, {
|
|
12303
12457
|
className: classnames(className, handleBasicClasses({
|
|
12304
|
-
prefix: CLASSNAME$
|
|
12458
|
+
prefix: CLASSNAME$1f,
|
|
12305
12459
|
orientation,
|
|
12306
12460
|
size: componentSize,
|
|
12307
12461
|
theme,
|
|
@@ -12314,21 +12468,21 @@ const UserBlock = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12314
12468
|
linkProps: linkProps,
|
|
12315
12469
|
alt: ""
|
|
12316
12470
|
}, avatarProps, {
|
|
12317
|
-
className: classnames(`${CLASSNAME$
|
|
12471
|
+
className: classnames(`${CLASSNAME$1f}__avatar`, avatarProps.className),
|
|
12318
12472
|
size: componentSize,
|
|
12319
12473
|
onClick: onClick,
|
|
12320
12474
|
theme: theme
|
|
12321
12475
|
})), (fields || name) && /*#__PURE__*/React.createElement("div", {
|
|
12322
|
-
className: `${CLASSNAME$
|
|
12476
|
+
className: `${CLASSNAME$1f}__wrapper`
|
|
12323
12477
|
}, nameBlock, fieldsBlock), shouldDisplayActions && simpleAction && /*#__PURE__*/React.createElement("div", {
|
|
12324
|
-
className: `${CLASSNAME$
|
|
12478
|
+
className: `${CLASSNAME$1f}__action`
|
|
12325
12479
|
}, simpleAction), shouldDisplayActions && multipleActions && /*#__PURE__*/React.createElement("div", {
|
|
12326
|
-
className: `${CLASSNAME$
|
|
12480
|
+
className: `${CLASSNAME$1f}__actions`
|
|
12327
12481
|
}, multipleActions));
|
|
12328
12482
|
});
|
|
12329
|
-
UserBlock.displayName = COMPONENT_NAME$
|
|
12330
|
-
UserBlock.className = CLASSNAME$
|
|
12331
|
-
UserBlock.defaultProps = DEFAULT_PROPS$
|
|
12483
|
+
UserBlock.displayName = COMPONENT_NAME$1i;
|
|
12484
|
+
UserBlock.className = CLASSNAME$1f;
|
|
12485
|
+
UserBlock.defaultProps = DEFAULT_PROPS$13;
|
|
12332
12486
|
|
|
12333
|
-
export { AlertDialog, Alignment, AspectRatio, Autocomplete, AutocompleteMultiple, Avatar, Badge, Button, ButtonEmphasis, ButtonGroup, Checkbox, Chip, ChipGroup, ColorPalette, ColorVariant, CommentBlock, CommentBlockVariant, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, Emphasis, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, InlineList, InputHelper, InputLabel, Kind, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Notification, Orientation, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, Select, SelectMultiple, SelectMultipleField, SelectVariant, SideNavigation, SideNavigationItem, Size, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, Theme, Thumbnail, ThumbnailAspectRatio, ThumbnailVariant, Toolbar, Tooltip, Typography, TypographyCustom, TypographyInterface, TypographyTitleCustom, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel };
|
|
12487
|
+
export { AlertDialog, Alignment, AspectRatio, Autocomplete, AutocompleteMultiple, Avatar, Badge, Button, ButtonEmphasis, ButtonGroup, Checkbox, Chip, ChipGroup, ColorPalette, ColorVariant, CommentBlock, CommentBlockVariant, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, Emphasis, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, InlineList, InputHelper, InputLabel, Kind, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Notification, Orientation, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, Select, SelectMultiple, SelectMultipleField, SelectVariant, SideNavigation, SideNavigationItem, Size, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, Theme, Thumbnail, ThumbnailAspectRatio, ThumbnailVariant, Toolbar, Tooltip, Typography, TypographyCustom, TypographyInterface, TypographyTitleCustom, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel };
|
|
12334
12488
|
//# sourceMappingURL=index.js.map
|