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