@bbl-digital/snorre 4.2.74 → 4.2.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DailyMotion-BlSi_Pi6.mjs +135 -0
- package/dist/Facebook-C_Gfm8ah.mjs +120 -0
- package/dist/FilePlayer-ELk7Q4ZX.mjs +201 -0
- package/dist/Kaltura-DouYsB04.mjs +120 -0
- package/dist/Mixcloud-CdI5m1l6.mjs +112 -0
- package/dist/Mux-H2xDlzEG.mjs +164 -0
- package/dist/Preview-kxhr2P2o.mjs +127 -0
- package/dist/SoundCloud-EhBryb8K.mjs +122 -0
- package/dist/Streamable-D8dAC2_e.mjs +114 -0
- package/dist/Twitch-6mnwt71C.mjs +116 -0
- package/dist/Vidyard-B6qlM5nY.mjs +112 -0
- package/dist/Vimeo-C3CbKxjA.mjs +145 -0
- package/dist/Wistia-rd8PWSxZ.mjs +123 -0
- package/dist/YouTube-DFe-8eml.mjs +175 -0
- package/dist/index-4sQ1LeGA.mjs +92519 -0
- package/dist/snorre.mjs +349 -0
- package/dist/snorre.umd.js +5540 -0
- package/dist/style.css +7 -0
- package/lib/app-shell/index.d.ts +0 -1
- package/lib/app-shell/index.js +20 -44
- package/lib/app-shell/theme.d.ts +0 -1
- package/lib/app-shell/theme.js +6 -13
- package/lib/core/Alert/Alert.stories.d.ts +0 -1
- package/lib/core/Alert/Alert.stories.js +37 -44
- package/lib/core/Alert/index.d.ts +0 -1
- package/lib/core/Alert/index.js +38 -68
- package/lib/core/Alert/styles.d.ts +0 -1
- package/lib/core/Alert/styles.js +54 -22
- package/lib/core/AppLoader/AppLoader.stories.d.ts +0 -1
- package/lib/core/AppLoader/AppLoader.stories.js +7 -14
- package/lib/core/AppLoader/index.d.ts +0 -1
- package/lib/core/AppLoader/index.js +9 -28
- package/lib/core/AppLoader/styles.d.ts +0 -1
- package/lib/core/AppLoader/styles.js +58 -10
- package/lib/core/Autocomplete/Autocomplete.stories.d.ts +16 -17
- package/lib/core/Autocomplete/Autocomplete.stories.js +164 -332
- package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts +0 -1
- package/lib/core/Autocomplete/hooks/useAutocomplete.js +201 -208
- package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts +0 -1
- package/lib/core/Autocomplete/hooks/useHandleDimentions.js +12 -22
- package/lib/core/Autocomplete/index.d.ts +0 -1
- package/lib/core/Autocomplete/index.interfaces.d.ts +0 -1
- package/lib/core/Autocomplete/index.interfaces.js +1 -5
- package/lib/core/Autocomplete/index.js +67 -147
- package/lib/core/Autocomplete/styles.d.ts +0 -1
- package/lib/core/Autocomplete/styles.js +217 -74
- package/lib/core/Banner/Banner.stories.d.ts +0 -1
- package/lib/core/Banner/Banner.stories.js +49 -93
- package/lib/core/Banner/index.d.ts +0 -1
- package/lib/core/Banner/index.js +7 -42
- package/lib/core/Banner/styles.d.ts +0 -1
- package/lib/core/Banner/styles.js +41 -40
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +2 -3
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +70 -187
- package/lib/core/BarAndLineComposedChart/index.d.ts +0 -1
- package/lib/core/BarAndLineComposedChart/index.js +22 -115
- package/lib/core/BarAndLineComposedChart/styles.d.ts +0 -1
- package/lib/core/BarAndLineComposedChart/styles.js +5 -14
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +1 -2
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +83 -86
- package/lib/core/BarChartWithCustomizedEvent/index.d.ts +0 -1
- package/lib/core/BarChartWithCustomizedEvent/index.js +31 -115
- package/lib/core/BarChartWithCustomizedEvent/styles.d.ts +0 -1
- package/lib/core/BarChartWithCustomizedEvent/styles.js +15 -19
- package/lib/core/Box/Box.stories.d.ts +0 -1
- package/lib/core/Box/Box.stories.js +65 -87
- package/lib/core/Box/index.d.ts +0 -1
- package/lib/core/Box/index.js +25 -70
- package/lib/core/Box/styles.d.ts +0 -1
- package/lib/core/Box/styles.js +36 -55
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts +8 -9
- package/lib/core/BoxedTable/BoxedTable.stories.js +43 -356
- package/lib/core/BoxedTable/DraggableRow/index.d.ts +0 -1
- package/lib/core/BoxedTable/DraggableRow/index.js +6 -42
- package/lib/core/BoxedTable/DraggableRow/styles.d.ts +0 -1
- package/lib/core/BoxedTable/DraggableRow/styles.js +29 -60
- package/lib/core/BoxedTable/HeaderCell/index.d.ts +0 -1
- package/lib/core/BoxedTable/HeaderCell/index.js +21 -39
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts +0 -1
- package/lib/core/BoxedTable/HeaderCell/styles.js +12 -17
- package/lib/core/BoxedTable/RowCell/index.d.ts +0 -1
- package/lib/core/BoxedTable/RowCell/index.js +14 -34
- package/lib/core/BoxedTable/RowCell/styles.d.ts +0 -1
- package/lib/core/BoxedTable/RowCell/styles.js +48 -53
- package/lib/core/BoxedTable/TableHeader/index.d.ts +0 -1
- package/lib/core/BoxedTable/TableHeader/index.js +5 -18
- package/lib/core/BoxedTable/TableHeader/styles.d.ts +0 -1
- package/lib/core/BoxedTable/TableHeader/styles.js +7 -22
- package/lib/core/BoxedTable/TableRow/index.d.ts +0 -1
- package/lib/core/BoxedTable/TableRow/index.js +18 -71
- package/lib/core/BoxedTable/TableRow/styles.d.ts +0 -1
- package/lib/core/BoxedTable/TableRow/styles.js +64 -75
- package/lib/core/BoxedTable/index.d.ts +0 -1
- package/lib/core/BoxedTable/index.js +26 -54
- package/lib/core/BoxedTable/models.d.ts +0 -1
- package/lib/core/BoxedTable/models.js +1 -5
- package/lib/core/BoxedTable/styles.d.ts +0 -1
- package/lib/core/BoxedTable/styles.js +213 -78
- package/lib/core/Button/Button.stories.d.ts +0 -1
- package/lib/core/Button/Button.stories.js +118 -127
- package/lib/core/Button/index.d.ts +0 -1
- package/lib/core/Button/index.js +52 -71
- package/lib/core/Button/styles.d.ts +0 -1
- package/lib/core/Button/styles.js +203 -92
- package/lib/core/Calendar/Calendar.stories.d.ts +3 -4
- package/lib/core/Calendar/Calendar.stories.js +29 -42
- package/lib/core/Calendar/CalendarEvent/index.d.ts +0 -1
- package/lib/core/Calendar/CalendarEvent/index.js +36 -90
- package/lib/core/Calendar/CalendarEvent/styles.d.ts +0 -1
- package/lib/core/Calendar/CalendarEvent/styles.js +53 -68
- package/lib/core/Calendar/CalendarSmallEvent/index.d.ts +0 -1
- package/lib/core/Calendar/CalendarSmallEvent/index.js +37 -91
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +0 -1
- package/lib/core/Calendar/CalendarSmallEvent/styles.js +71 -68
- package/lib/core/Calendar/index.d.ts +0 -1
- package/lib/core/Calendar/index.js +30 -78
- package/lib/core/Calendar/styles.d.ts +0 -1
- package/lib/core/Calendar/styles.js +75 -62
- package/lib/core/Calendar/util.d.ts +0 -1
- package/lib/core/Calendar/util.js +8 -14
- package/lib/core/Card/Card.stories.d.ts +5 -6
- package/lib/core/Card/Card.stories.js +33 -68
- package/lib/core/Card/index.d.ts +0 -1
- package/lib/core/Card/index.js +26 -34
- package/lib/core/Card/styles.d.ts +0 -1
- package/lib/core/Card/styles.js +47 -63
- package/lib/core/Checkbox/Checkbox.stories.d.ts +0 -1
- package/lib/core/Checkbox/Checkbox.stories.js +37 -44
- package/lib/core/Checkbox/index.d.ts +0 -1
- package/lib/core/Checkbox/index.js +23 -61
- package/lib/core/Checkbox/styles.d.ts +0 -1
- package/lib/core/Checkbox/styles.js +100 -37
- package/lib/core/CollapseList/CollapseList.stories.d.ts +0 -1
- package/lib/core/CollapseList/CollapseList.stories.js +19 -54
- package/lib/core/CollapseList/Item.d.ts +0 -1
- package/lib/core/CollapseList/Item.js +29 -71
- package/lib/core/CollapseList/index.d.ts +0 -1
- package/lib/core/CollapseList/index.js +6 -22
- package/lib/core/CollapseList/styles.d.ts +0 -1
- package/lib/core/CollapseList/styles.js +35 -26
- package/lib/core/CommentsTimeline/CommentLine/index.d.ts +0 -1
- package/lib/core/CommentsTimeline/CommentLine/index.js +11 -67
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts +0 -1
- package/lib/core/CommentsTimeline/CommentLine/styles.js +59 -41
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +0 -1
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +19 -87
- package/lib/core/CommentsTimeline/index.d.ts +0 -1
- package/lib/core/CommentsTimeline/index.js +5 -19
- package/lib/core/CommentsTimeline/styles.d.ts +0 -1
- package/lib/core/CommentsTimeline/styles.js +9 -21
- package/lib/core/CustomText/CustomText.stories.d.ts +0 -1
- package/lib/core/CustomText/CustomText.stories.js +28 -35
- package/lib/core/CustomText/index.d.ts +0 -1
- package/lib/core/CustomText/index.js +17 -39
- package/lib/core/CustomText/styles.d.ts +0 -1
- package/lib/core/CustomText/styles.js +10 -31
- package/lib/core/Datepicker/Datepicker.stories.d.ts +5 -6
- package/lib/core/Datepicker/Datepicker.stories.js +28 -59
- package/lib/core/Datepicker/index.d.ts +0 -1
- package/lib/core/Datepicker/index.js +109 -176
- package/lib/core/Datepicker/styles.d.ts +0 -1
- package/lib/core/Datepicker/styles.js +233 -60
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +0 -1
- package/lib/core/DatepickerRange/DatepickerRange.stories.js +12 -27
- package/lib/core/DatepickerRange/index.d.ts +0 -1
- package/lib/core/DatepickerRange/index.js +61 -104
- package/lib/core/DatepickerRange/styles.d.ts +0 -1
- package/lib/core/DatepickerRange/styles.js +169 -54
- package/lib/core/Divider/index.d.ts +0 -1
- package/lib/core/Divider/index.js +12 -26
- package/lib/core/Divider/styles.d.ts +0 -1
- package/lib/core/Divider/styles.js +22 -22
- package/lib/core/Dropdown/Dropdown.stories.d.ts +0 -1
- package/lib/core/Dropdown/Dropdown.stories.js +38 -55
- package/lib/core/Dropdown/index.d.ts +0 -1
- package/lib/core/Dropdown/index.js +64 -100
- package/lib/core/Dropdown/styles.d.ts +0 -1
- package/lib/core/Dropdown/styles.js +27 -12
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +0 -1
- package/lib/core/DropdownMenu/DropdownMenu.stories.js +27 -56
- package/lib/core/DropdownMenu/DropdownMenuOption.d.ts +0 -1
- package/lib/core/DropdownMenu/DropdownMenuOption.js +8 -30
- package/lib/core/DropdownMenu/index.d.ts +0 -1
- package/lib/core/DropdownMenu/index.js +37 -64
- package/lib/core/DropdownMenu/styles.d.ts +0 -1
- package/lib/core/DropdownMenu/styles.js +48 -38
- package/lib/core/FileInput/FileInput.stories.d.ts +0 -1
- package/lib/core/FileInput/FileInput.stories.js +73 -80
- package/lib/core/FileInput/index.d.ts +0 -1
- package/lib/core/FileInput/index.js +66 -144
- package/lib/core/FileInput/styles.d.ts +0 -1
- package/lib/core/FileInput/styles.js +90 -149
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts +0 -1
- package/lib/core/GoogleButton/GoogleButton.stories.js +10 -17
- package/lib/core/GoogleButton/index.d.ts +0 -1
- package/lib/core/GoogleButton/index.js +15 -30
- package/lib/core/GoogleButton/styles.d.ts +0 -1
- package/lib/core/GoogleButton/styles.js +24 -21
- package/lib/core/Header/Header.stories.d.ts +0 -1
- package/lib/core/Header/Header.stories.js +60 -67
- package/lib/core/Header/index.d.ts +0 -1
- package/lib/core/Header/index.js +16 -31
- package/lib/core/Header/styles.d.ts +0 -1
- package/lib/core/Header/styles.js +46 -20
- package/lib/core/HighlightText/HighlightText.stories.d.ts +0 -1
- package/lib/core/HighlightText/HighlightText.stories.js +19 -26
- package/lib/core/HighlightText/index.d.ts +0 -1
- package/lib/core/HighlightText/index.js +12 -37
- package/lib/core/HighlightText/styles.d.ts +0 -1
- package/lib/core/HighlightText/styles.js +6 -22
- package/lib/core/Html/Html.stories.d.ts +0 -1
- package/lib/core/Html/Html.stories.js +35 -51
- package/lib/core/Html/index.d.ts +2 -3
- package/lib/core/Html/index.js +27 -42
- package/lib/core/Html/styles.d.ts +0 -1
- package/lib/core/Html/styles.js +137 -29
- package/lib/core/Image/Image.stories.d.ts +0 -1
- package/lib/core/Image/Image.stories.js +39 -46
- package/lib/core/Image/index.d.ts +0 -1
- package/lib/core/Image/index.js +31 -55
- package/lib/core/Image/styles.d.ts +0 -1
- package/lib/core/Image/styles.js +23 -23
- package/lib/core/ImagePicker/IconWithBackground.d.ts +0 -1
- package/lib/core/ImagePicker/IconWithBackground.js +13 -20
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts +0 -1
- package/lib/core/ImagePicker/ImagePicker.stories.js +12 -33
- package/lib/core/ImagePicker/UploadButton.d.ts +0 -1
- package/lib/core/ImagePicker/UploadButton.js +11 -40
- package/lib/core/ImagePicker/index.d.ts +0 -1
- package/lib/core/ImagePicker/index.js +29 -136
- package/lib/core/ImagePicker/styles.d.ts +0 -1
- package/lib/core/ImagePicker/styles.js +114 -74
- package/lib/core/ImageViewer/ImageViewer.stories.d.ts +0 -1
- package/lib/core/ImageViewer/ImageViewer.stories.js +17 -19
- package/lib/core/ImageViewer/index.d.ts +0 -1
- package/lib/core/ImageViewer/index.js +28 -110
- package/lib/core/ImageViewer/styles.d.ts +0 -1
- package/lib/core/ImageViewer/styles.js +88 -37
- package/lib/core/InfoButton/InfoButton.stories.d.ts +0 -1
- package/lib/core/InfoButton/InfoButton.stories.js +42 -59
- package/lib/core/InfoButton/index.d.ts +0 -1
- package/lib/core/InfoButton/index.js +38 -84
- package/lib/core/InfoButton/styles.d.ts +0 -1
- package/lib/core/InfoButton/styles.js +124 -65
- package/lib/core/Input/Input.stories.d.ts +0 -1
- package/lib/core/Input/Input.stories.js +193 -200
- package/lib/core/Input/index.d.ts +0 -1
- package/lib/core/Input/index.js +105 -151
- package/lib/core/Input/styles.d.ts +0 -1
- package/lib/core/Input/styles.js +199 -65
- package/lib/core/Link/Link.stories.d.ts +0 -1
- package/lib/core/Link/Link.stories.js +67 -74
- package/lib/core/Link/index.d.ts +0 -1
- package/lib/core/Link/index.js +18 -50
- package/lib/core/Link/styles.d.ts +0 -1
- package/lib/core/Link/styles.js +64 -72
- package/lib/core/List/Item.d.ts +0 -1
- package/lib/core/List/Item.js +5 -22
- package/lib/core/List/List.stories.d.ts +0 -1
- package/lib/core/List/List.stories.js +63 -166
- package/lib/core/List/index.d.ts +0 -1
- package/lib/core/List/index.js +33 -38
- package/lib/core/List/styles.d.ts +0 -1
- package/lib/core/List/styles.js +220 -129
- package/lib/core/ListPager/ListPager.stories.d.ts +0 -1
- package/lib/core/ListPager/ListPager.stories.js +14 -21
- package/lib/core/ListPager/index.d.ts +0 -1
- package/lib/core/ListPager/index.js +21 -56
- package/lib/core/ListPager/styles.d.ts +0 -1
- package/lib/core/ListPager/styles.js +20 -38
- package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts +0 -1
- package/lib/core/MediaCarousel/MediaCarousel.stories.js +38 -38
- package/lib/core/MediaCarousel/index.d.ts +0 -1
- package/lib/core/MediaCarousel/index.js +17 -98
- package/lib/core/MediaCarousel/styles.d.ts +0 -1
- package/lib/core/MediaCarousel/styles.js +57 -60
- package/lib/core/Modal/ActionButtons/index.d.ts +0 -1
- package/lib/core/Modal/ActionButtons/index.js +11 -29
- package/lib/core/Modal/Modal.stories.d.ts +0 -1
- package/lib/core/Modal/Modal.stories.js +71 -133
- package/lib/core/Modal/index.d.ts +0 -1
- package/lib/core/Modal/index.js +74 -176
- package/lib/core/Modal/styles.d.ts +0 -1
- package/lib/core/Modal/styles.js +94 -93
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts +2 -3
- package/lib/core/NoticeCard/NoticeCard.stories.js +47 -61
- package/lib/core/NoticeCard/index.d.ts +0 -1
- package/lib/core/NoticeCard/index.js +21 -106
- package/lib/core/NoticeCard/models.d.ts +0 -1
- package/lib/core/NoticeCard/models.js +5 -11
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.d.ts +0 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +11 -47
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts +0 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +51 -41
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.d.ts +0 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +7 -28
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts +0 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +6 -22
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts +0 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +9 -45
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts +0 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +12 -41
- package/lib/core/NoticeCard/styles.d.ts +0 -1
- package/lib/core/NoticeCard/styles.js +60 -48
- package/lib/core/NoticeCard/utils.d.ts +0 -1
- package/lib/core/NoticeCard/utils.js +16 -34
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +2 -3
- package/lib/core/NotificationCounter/NotificationCounter.stories.js +12 -24
- package/lib/core/NotificationCounter/index.d.ts +0 -1
- package/lib/core/NotificationCounter/index.js +10 -26
- package/lib/core/NotificationCounter/styles.d.ts +0 -1
- package/lib/core/NotificationCounter/styles.js +25 -19
- package/lib/core/NotificationsMenu/NotificationRow/index.d.ts +0 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.js +5 -43
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts +0 -1
- package/lib/core/NotificationsMenu/NotificationRow/styles.js +37 -42
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +0 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +24 -59
- package/lib/core/NotificationsMenu/index.d.ts +0 -1
- package/lib/core/NotificationsMenu/index.js +48 -94
- package/lib/core/NotificationsMenu/styles.d.ts +0 -1
- package/lib/core/NotificationsMenu/styles.js +47 -37
- package/lib/core/PieChart/ActiveShape/index.d.ts +0 -1
- package/lib/core/PieChart/ActiveShape/index.js +7 -40
- package/lib/core/PieChart/PieChart.stories.d.ts +4 -5
- package/lib/core/PieChart/PieChart.stories.js +25 -84
- package/lib/core/PieChart/index.d.ts +0 -1
- package/lib/core/PieChart/index.js +44 -90
- package/lib/core/PieChart/renderTextContent/index.d.ts +0 -1
- package/lib/core/PieChart/renderTextContent/index.js +7 -47
- package/lib/core/PieChart/styles.d.ts +0 -1
- package/lib/core/PieChart/styles.js +9 -32
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +0 -1
- package/lib/core/PreemptionCard/PreemptionCard.stories.js +62 -75
- package/lib/core/PreemptionCard/index.d.ts +0 -1
- package/lib/core/PreemptionCard/index.js +31 -80
- package/lib/core/PreemptionCard/models.d.ts +0 -1
- package/lib/core/PreemptionCard/models.js +7 -13
- package/lib/core/PreemptionCard/styles.d.ts +0 -1
- package/lib/core/PreemptionCard/styles.js +43 -55
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +1 -2
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +11 -21
- package/lib/core/PreemptionCardLoading/index.d.ts +0 -1
- package/lib/core/PreemptionCardLoading/index.js +7 -24
- package/lib/core/PreemptionCardLoading/styles.d.ts +0 -1
- package/lib/core/PreemptionCardLoading/styles.js +26 -47
- package/lib/core/QuillEditor/QuillEditor.stories.d.ts +8 -9
- package/lib/core/QuillEditor/QuillEditor.stories.js +44 -106
- package/lib/core/QuillEditor/classes/LinkSanitizer.d.ts +0 -1
- package/lib/core/QuillEditor/classes/LinkSanitizer.js +28 -28
- package/lib/core/QuillEditor/classes/ListItem.d.ts +0 -1
- package/lib/core/QuillEditor/classes/ListItem.js +20 -25
- package/lib/core/QuillEditor/config.d.ts +3 -4
- package/lib/core/QuillEditor/config.js +15 -30
- package/lib/core/QuillEditor/index.d.ts +0 -1
- package/lib/core/QuillEditor/index.js +225 -287
- package/lib/core/QuillEditor/models.d.ts +0 -1
- package/lib/core/QuillEditor/models.js +1 -5
- package/lib/core/QuillEditor/styles.d.ts +0 -1
- package/lib/core/QuillEditor/styles.js +198 -38
- package/lib/core/Radio/Radio.stories.d.ts +4 -5
- package/lib/core/Radio/Radio.stories.js +18 -68
- package/lib/core/Radio/index.d.ts +0 -1
- package/lib/core/Radio/index.js +11 -36
- package/lib/core/Radio/styles.d.ts +0 -1
- package/lib/core/Radio/styles.js +95 -20
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts +4 -5
- package/lib/core/SearchFilter/SearchFilter.stories.js +47 -115
- package/lib/core/SearchFilter/index.d.ts +0 -1
- package/lib/core/SearchFilter/index.js +77 -180
- package/lib/core/SearchFilter/styles.d.ts +0 -1
- package/lib/core/SearchFilter/styles.js +132 -106
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts +2 -3
- package/lib/core/SearchSelect/SearchSelect.stories.js +47 -57
- package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts +0 -1
- package/lib/core/SearchSelect/hooks/useSelectSearch.js +19 -25
- package/lib/core/SearchSelect/index.d.ts +0 -1
- package/lib/core/SearchSelect/index.js +57 -101
- package/lib/core/SearchSelect/interface/IProps.d.ts +0 -1
- package/lib/core/SearchSelect/interface/IProps.js +1 -5
- package/lib/core/SearchSelect/styles.d.ts +0 -1
- package/lib/core/SearchSelect/styles.js +64 -70
- package/lib/core/Select/Option.d.ts +0 -1
- package/lib/core/Select/Option.js +15 -39
- package/lib/core/Select/Select.stories.d.ts +11 -12
- package/lib/core/Select/Select.stories.js +58 -251
- package/lib/core/Select/index.d.ts +0 -1
- package/lib/core/Select/index.js +96 -152
- package/lib/core/Select/styles.d.ts +0 -1
- package/lib/core/Select/styles.js +177 -100
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +4 -5
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.js +169 -177
- package/lib/core/SimpleBarChart/index.d.ts +0 -1
- package/lib/core/SimpleBarChart/index.js +24 -101
- package/lib/core/SimpleBarChart/styles.d.ts +0 -1
- package/lib/core/SimpleBarChart/styles.js +5 -14
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +1 -2
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.js +56 -59
- package/lib/core/SimpleLineChart/index.d.ts +0 -1
- package/lib/core/SimpleLineChart/index.js +16 -95
- package/lib/core/SimpleLineChart/styles.d.ts +0 -1
- package/lib/core/SimpleLineChart/styles.js +5 -14
- package/lib/core/Skeleton/Skeleton.stories.d.ts +0 -1
- package/lib/core/Skeleton/Skeleton.stories.js +41 -48
- package/lib/core/Skeleton/index.d.ts +0 -1
- package/lib/core/Skeleton/index.js +17 -41
- package/lib/core/Skeleton/styles.d.ts +0 -1
- package/lib/core/Skeleton/styles.js +25 -34
- package/lib/core/Spinner/Spinner.stories.d.ts +4 -5
- package/lib/core/Spinner/Spinner.stories.js +18 -33
- package/lib/core/Spinner/index.d.ts +0 -1
- package/lib/core/Spinner/index.js +12 -20
- package/lib/core/Spinner/styles.d.ts +0 -1
- package/lib/core/Spinner/styles.js +56 -13
- package/lib/core/Stepper/MobileStep/index.d.ts +0 -1
- package/lib/core/Stepper/MobileStep/index.js +9 -39
- package/lib/core/Stepper/MobileStep/styles.d.ts +0 -1
- package/lib/core/Stepper/MobileStep/styles.js +45 -91
- package/lib/core/Stepper/Step/index.d.ts +0 -1
- package/lib/core/Stepper/Step/index.js +14 -91
- package/lib/core/Stepper/Step/styles.d.ts +0 -1
- package/lib/core/Stepper/Step/styles.js +60 -53
- package/lib/core/Stepper/Stepper.stories.d.ts +0 -1
- package/lib/core/Stepper/Stepper.stories.js +31 -34
- package/lib/core/Stepper/index.d.ts +0 -1
- package/lib/core/Stepper/index.js +17 -59
- package/lib/core/Stepper/styles.d.ts +0 -1
- package/lib/core/Stepper/styles.js +22 -29
- package/lib/core/TabBar/TabBar.stories.d.ts +1 -2
- package/lib/core/TabBar/TabBar.stories.js +18 -43
- package/lib/core/TabBar/TabItem/index.d.ts +0 -1
- package/lib/core/TabBar/TabItem/index.js +6 -28
- package/lib/core/TabBar/TabItem/styles.d.ts +0 -1
- package/lib/core/TabBar/TabItem/styles.js +10 -22
- package/lib/core/TabBar/index.d.ts +0 -1
- package/lib/core/TabBar/index.js +5 -17
- package/lib/core/TabBar/styles.d.ts +0 -1
- package/lib/core/TabBar/styles.js +15 -21
- package/lib/core/TabNav/TabContext.d.ts +0 -1
- package/lib/core/TabNav/TabContext.js +32 -59
- package/lib/core/TabNav/TabNav.stories.d.ts +11 -12
- package/lib/core/TabNav/TabNav.stories.js +162 -301
- package/lib/core/TabNav/TabNavItem/index.d.ts +0 -1
- package/lib/core/TabNav/TabNavItem/index.js +41 -107
- package/lib/core/TabNav/TabNavItem/styles.d.ts +0 -1
- package/lib/core/TabNav/TabNavItem/styles.js +101 -38
- package/lib/core/TabNav/index.d.ts +0 -1
- package/lib/core/TabNav/index.js +58 -132
- package/lib/core/TabNav/styles.d.ts +0 -1
- package/lib/core/TabNav/styles.js +80 -53
- package/lib/core/TabNav/utils/useContainerDimensions.d.ts +0 -1
- package/lib/core/TabNav/utils/useContainerDimensions.js +26 -32
- package/lib/core/Table/Cell.d.ts +0 -1
- package/lib/core/Table/Cell.js +13 -30
- package/lib/core/Table/Row.d.ts +0 -1
- package/lib/core/Table/Row.js +13 -27
- package/lib/core/Table/Table.stories.d.ts +2 -3
- package/lib/core/Table/Table.stories.js +14 -87
- package/lib/core/Table/index.d.ts +0 -1
- package/lib/core/Table/index.js +9 -30
- package/lib/core/Table/styles.d.ts +0 -1
- package/lib/core/Table/styles.js +61 -86
- package/lib/core/Tag/Tag.stories.d.ts +0 -1
- package/lib/core/Tag/Tag.stories.js +117 -126
- package/lib/core/Tag/index.d.ts +0 -1
- package/lib/core/Tag/index.js +23 -52
- package/lib/core/Tag/styles.d.ts +0 -1
- package/lib/core/Tag/styles.js +98 -85
- package/lib/core/Text/Text.stories.d.ts +0 -1
- package/lib/core/Text/Text.stories.js +109 -116
- package/lib/core/Text/index.d.ts +0 -1
- package/lib/core/Text/index.js +24 -44
- package/lib/core/Text/styles.d.ts +0 -1
- package/lib/core/Text/styles.js +58 -89
- package/lib/core/Textarea/Textarea.stories.d.ts +0 -1
- package/lib/core/Textarea/Textarea.stories.js +34 -41
- package/lib/core/Textarea/index.d.ts +0 -1
- package/lib/core/Textarea/index.js +25 -65
- package/lib/core/Textarea/styles.d.ts +0 -1
- package/lib/core/Textarea/styles.js +53 -46
- package/lib/core/Timeline/Timeline.stories.d.ts +1 -2
- package/lib/core/Timeline/Timeline.stories.js +10 -30
- package/lib/core/Timeline/TimelineStep/index.d.ts +0 -1
- package/lib/core/Timeline/TimelineStep/index.js +12 -37
- package/lib/core/Timeline/TimelineStep/styles.d.ts +0 -1
- package/lib/core/Timeline/TimelineStep/styles.js +45 -46
- package/lib/core/Timeline/index.d.ts +0 -1
- package/lib/core/Timeline/index.js +5 -17
- package/lib/core/Timeline/styles.d.ts +0 -1
- package/lib/core/Timeline/styles.js +9 -21
- package/lib/core/Timepicker/Timepicker.stories.d.ts +7 -8
- package/lib/core/Timepicker/Timepicker.stories.js +27 -77
- package/lib/core/Timepicker/index.d.ts +0 -1
- package/lib/core/Timepicker/index.js +133 -141
- package/lib/core/Timepicker/styles.d.ts +0 -1
- package/lib/core/Timepicker/styles.js +90 -53
- package/lib/core/Tooltip/Tooptip.stories.d.ts +1 -2
- package/lib/core/Tooltip/Tooptip.stories.js +9 -20
- package/lib/core/Tooltip/index.d.ts +0 -1
- package/lib/core/Tooltip/index.js +14 -43
- package/lib/core/Tooltip/styles.d.ts +0 -1
- package/lib/core/Tooltip/styles.js +43 -18
- package/lib/core/UnitIllustration/index.d.ts +0 -1
- package/lib/core/UnitIllustration/index.js +29 -65
- package/lib/core/UserMenu/UserMenu.stories.d.ts +4 -5
- package/lib/core/UserMenu/UserMenu.stories.js +20 -93
- package/lib/core/UserMenu/UserMenuOption.d.ts +0 -1
- package/lib/core/UserMenu/UserMenuOption.js +6 -27
- package/lib/core/UserMenu/index.d.ts +0 -1
- package/lib/core/UserMenu/index.js +48 -121
- package/lib/core/UserMenu/styles.d.ts +0 -1
- package/lib/core/UserMenu/styles.js +109 -80
- package/lib/core/Video/Video.stories.d.ts +4 -6
- package/lib/core/Video/Video.stories.js +14 -34
- package/lib/core/Video/index.d.ts +0 -1
- package/lib/core/Video/index.js +55 -91
- package/lib/core/Video/styles.d.ts +0 -1
- package/lib/core/Video/styles.js +8 -22
- package/lib/core/YearWheel/YearWheel.stories.d.ts +2 -3
- package/lib/core/YearWheel/YearWheel.stories.js +12 -25
- package/lib/core/YearWheel/index.d.ts +0 -1
- package/lib/core/YearWheel/index.js +41 -215
- package/lib/core/YearWheel/styles.d.ts +0 -1
- package/lib/core/YearWheel/styles.js +21 -26
- package/lib/core/private/ButtonOrLink.d.ts +0 -1
- package/lib/core/private/ButtonOrLink.js +60 -98
- package/lib/core/private/preemption.d.ts +0 -1
- package/lib/core/private/preemption.js +22 -28
- package/lib/core/utils/debounce.d.ts +0 -1
- package/lib/core/utils/debounce.js +13 -19
- package/lib/enums/Keyboard.d.ts +0 -1
- package/lib/enums/Keyboard.js +12 -18
- package/lib/globals/styles/breakpoints.d.ts +0 -1
- package/lib/globals/styles/breakpoints.js +7 -13
- package/lib/globals/styles/paddings.d.ts +0 -1
- package/lib/globals/styles/paddings.js +6 -12
- package/lib/globals/styles/styles.d.ts +0 -1
- package/lib/globals/styles/styles.js +5 -16
- package/lib/globals/validation/regularExpressions.d.ts +0 -1
- package/lib/globals/validation/regularExpressions.js +8 -14
- package/lib/hooks/useIsMobile.d.ts +0 -1
- package/lib/hooks/useIsMobile.js +16 -23
- package/lib/hooks/useScreenOrientation.d.ts +0 -1
- package/lib/hooks/useScreenOrientation.js +33 -37
- package/lib/icons/General/IconApartment.d.ts +0 -1
- package/lib/icons/General/IconApartment.js +5 -19
- package/lib/icons/General/IconArchives.d.ts +0 -1
- package/lib/icons/General/IconArchives.js +4 -18
- package/lib/icons/General/IconArea.d.ts +0 -1
- package/lib/icons/General/IconArea.js +4 -18
- package/lib/icons/General/IconArrowDown.d.ts +0 -1
- package/lib/icons/General/IconArrowDown.js +4 -18
- package/lib/icons/General/IconArrowLeft.d.ts +0 -1
- package/lib/icons/General/IconArrowLeft.js +4 -18
- package/lib/icons/General/IconArrowRight.d.ts +0 -1
- package/lib/icons/General/IconArrowRight.js +4 -18
- package/lib/icons/General/IconArrowUp.d.ts +0 -1
- package/lib/icons/General/IconArrowUp.js +4 -18
- package/lib/icons/General/IconAttachment.d.ts +0 -1
- package/lib/icons/General/IconAttachment.js +4 -18
- package/lib/icons/General/IconAuditorFilled.d.ts +0 -1
- package/lib/icons/General/IconAuditorFilled.js +5 -57
- package/lib/icons/General/IconAuditorOutline.d.ts +0 -1
- package/lib/icons/General/IconAuditorOutline.js +5 -58
- package/lib/icons/General/IconBack.d.ts +0 -1
- package/lib/icons/General/IconBack.js +4 -18
- package/lib/icons/General/IconBath.d.ts +0 -1
- package/lib/icons/General/IconBath.js +4 -18
- package/lib/icons/General/IconBblFlame.d.ts +0 -1
- package/lib/icons/General/IconBblFlame.js +5 -28
- package/lib/icons/General/IconBblShield.d.ts +0 -1
- package/lib/icons/General/IconBblShield.js +5 -28
- package/lib/icons/General/IconBblWater.d.ts +0 -1
- package/lib/icons/General/IconBblWater.js +5 -28
- package/lib/icons/General/IconBellFilled.d.ts +0 -1
- package/lib/icons/General/IconBellFilled.js +4 -18
- package/lib/icons/General/IconBellOutline.d.ts +0 -1
- package/lib/icons/General/IconBellOutline.js +4 -18
- package/lib/icons/General/IconBlock.d.ts +0 -1
- package/lib/icons/General/IconBlock.js +5 -19
- package/lib/icons/General/IconBoard.d.ts +0 -1
- package/lib/icons/General/IconBoard.js +4 -18
- package/lib/icons/General/IconBookmarkFilled.d.ts +0 -1
- package/lib/icons/General/IconBookmarkFilled.js +4 -18
- package/lib/icons/General/IconBookmarkOutline.d.ts +0 -1
- package/lib/icons/General/IconBookmarkOutline.js +4 -18
- package/lib/icons/General/IconBus.d.ts +0 -1
- package/lib/icons/General/IconBus.js +4 -18
- package/lib/icons/General/IconCalendar.d.ts +0 -1
- package/lib/icons/General/IconCalendar.js +5 -19
- package/lib/icons/General/IconCamera.d.ts +0 -1
- package/lib/icons/General/IconCamera.js +4 -24
- package/lib/icons/General/IconCar.d.ts +0 -1
- package/lib/icons/General/IconCar.js +5 -19
- package/lib/icons/General/IconCaretDown.d.ts +0 -1
- package/lib/icons/General/IconCaretDown.js +4 -18
- package/lib/icons/General/IconCaretLeft.d.ts +0 -1
- package/lib/icons/General/IconCaretLeft.js +4 -18
- package/lib/icons/General/IconCaretRight.d.ts +0 -1
- package/lib/icons/General/IconCaretRight.js +4 -18
- package/lib/icons/General/IconCaretUp.d.ts +0 -1
- package/lib/icons/General/IconCaretUp.js +4 -18
- package/lib/icons/General/IconCases.d.ts +0 -1
- package/lib/icons/General/IconCases.js +5 -60
- package/lib/icons/General/IconCheck.d.ts +0 -1
- package/lib/icons/General/IconCheck.js +5 -19
- package/lib/icons/General/IconCheckedFilled.d.ts +0 -1
- package/lib/icons/General/IconCheckedFilled.js +5 -19
- package/lib/icons/General/IconCheckedOutline.d.ts +0 -1
- package/lib/icons/General/IconCheckedOutline.js +4 -18
- package/lib/icons/General/IconChevronDown.d.ts +0 -1
- package/lib/icons/General/IconChevronDown.js +5 -20
- package/lib/icons/General/IconChevronLeft.d.ts +0 -1
- package/lib/icons/General/IconChevronLeft.js +5 -19
- package/lib/icons/General/IconChevronRight.d.ts +0 -1
- package/lib/icons/General/IconChevronRight.js +5 -19
- package/lib/icons/General/IconChoice.d.ts +0 -1
- package/lib/icons/General/IconChoice.js +5 -19
- package/lib/icons/General/IconClose.d.ts +0 -1
- package/lib/icons/General/IconClose.js +4 -18
- package/lib/icons/General/IconCloseAlt.d.ts +0 -1
- package/lib/icons/General/IconCloseAlt.js +5 -19
- package/lib/icons/General/IconComment.d.ts +0 -1
- package/lib/icons/General/IconComment.js +4 -18
- package/lib/icons/General/IconCommunication.d.ts +0 -1
- package/lib/icons/General/IconCommunication.js +5 -19
- package/lib/icons/General/IconCommunicationFilled.d.ts +0 -1
- package/lib/icons/General/IconCommunicationFilled.js +5 -20
- package/lib/icons/General/IconCompanyBuilding.d.ts +0 -1
- package/lib/icons/General/IconCompanyBuilding.js +5 -19
- package/lib/icons/General/IconCompanyBuildingFilled.d.ts +0 -1
- package/lib/icons/General/IconCompanyBuildingFilled.js +5 -19
- package/lib/icons/General/IconCompanyBuildingOutline.d.ts +0 -1
- package/lib/icons/General/IconCompanyBuildingOutline.js +5 -19
- package/lib/icons/General/IconDashboard.d.ts +0 -1
- package/lib/icons/General/IconDashboard.js +5 -19
- package/lib/icons/General/IconDashboardFilled.d.ts +0 -1
- package/lib/icons/General/IconDashboardFilled.js +5 -19
- package/lib/icons/General/IconDelete.d.ts +0 -1
- package/lib/icons/General/IconDelete.js +5 -19
- package/lib/icons/General/IconDocument.d.ts +0 -1
- package/lib/icons/General/IconDocument.js +5 -57
- package/lib/icons/General/IconDocumentFilled.d.ts +0 -1
- package/lib/icons/General/IconDocumentFilled.js +5 -57
- package/lib/icons/General/IconDoor.d.ts +0 -1
- package/lib/icons/General/IconDoor.js +5 -19
- package/lib/icons/General/IconDotFilled.d.ts +0 -1
- package/lib/icons/General/IconDotFilled.js +4 -20
- package/lib/icons/General/IconDotOutline.d.ts +0 -1
- package/lib/icons/General/IconDotOutline.js +4 -18
- package/lib/icons/General/IconDownload.d.ts +0 -1
- package/lib/icons/General/IconDownload.js +4 -18
- package/lib/icons/General/IconDraft.d.ts +0 -1
- package/lib/icons/General/IconDraft.js +4 -18
- package/lib/icons/General/IconEarth.d.ts +0 -1
- package/lib/icons/General/IconEarth.js +5 -19
- package/lib/icons/General/IconEconomy.d.ts +0 -1
- package/lib/icons/General/IconEconomy.js +5 -19
- package/lib/icons/General/IconEconomyFilled.d.ts +0 -1
- package/lib/icons/General/IconEconomyFilled.js +5 -19
- package/lib/icons/General/IconEdit.d.ts +0 -1
- package/lib/icons/General/IconEdit.js +5 -19
- package/lib/icons/General/IconElevator.d.ts +0 -1
- package/lib/icons/General/IconElevator.js +4 -18
- package/lib/icons/General/IconEmailMarkAsRead.d.ts +0 -1
- package/lib/icons/General/IconEmailMarkAsRead.js +5 -18
- package/lib/icons/General/IconErrorFilled.d.ts +0 -1
- package/lib/icons/General/IconErrorFilled.js +4 -18
- package/lib/icons/General/IconErrorOutline.d.ts +0 -1
- package/lib/icons/General/IconErrorOutline.js +4 -18
- package/lib/icons/General/IconExternalLink.d.ts +0 -1
- package/lib/icons/General/IconExternalLink.js +4 -18
- package/lib/icons/General/IconEye.d.ts +0 -1
- package/lib/icons/General/IconEye.js +4 -18
- package/lib/icons/General/IconEyeDeny.d.ts +0 -1
- package/lib/icons/General/IconEyeDeny.js +5 -19
- package/lib/icons/General/IconFamily.d.ts +0 -1
- package/lib/icons/General/IconFamily.js +5 -19
- package/lib/icons/General/IconFerry.d.ts +0 -1
- package/lib/icons/General/IconFerry.js +4 -18
- package/lib/icons/General/IconFile.d.ts +0 -1
- package/lib/icons/General/IconFile.js +4 -18
- package/lib/icons/General/IconFileAdd.d.ts +0 -1
- package/lib/icons/General/IconFileAdd.js +5 -19
- package/lib/icons/General/IconFileCopy.d.ts +0 -1
- package/lib/icons/General/IconFileCopy.js +5 -19
- package/lib/icons/General/IconFileEdit.d.ts +0 -1
- package/lib/icons/General/IconFileEdit.js +4 -18
- package/lib/icons/General/IconFileExcel.d.ts +0 -1
- package/lib/icons/General/IconFileExcel.js +4 -18
- package/lib/icons/General/IconFilePDF.d.ts +0 -1
- package/lib/icons/General/IconFilePDF.js +4 -18
- package/lib/icons/General/IconFileWord.d.ts +0 -1
- package/lib/icons/General/IconFileWord.js +4 -18
- package/lib/icons/General/IconFillOut.d.ts +0 -1
- package/lib/icons/General/IconFillOut.js +4 -22
- package/lib/icons/General/IconFilterList.d.ts +0 -1
- package/lib/icons/General/IconFilterList.js +5 -19
- package/lib/icons/General/IconFloor.d.ts +0 -1
- package/lib/icons/General/IconFloor.js +4 -18
- package/lib/icons/General/IconForward.d.ts +0 -1
- package/lib/icons/General/IconForward.js +5 -19
- package/lib/icons/General/IconFullscreenClose.d.ts +0 -1
- package/lib/icons/General/IconFullscreenClose.js +5 -19
- package/lib/icons/General/IconFullscreenOpen.d.ts +0 -1
- package/lib/icons/General/IconFullscreenOpen.js +5 -19
- package/lib/icons/General/IconGarage.d.ts +0 -1
- package/lib/icons/General/IconGarage.js +4 -18
- package/lib/icons/General/IconGrid.d.ts +0 -1
- package/lib/icons/General/IconGrid.js +4 -18
- package/lib/icons/General/IconGym.d.ts +0 -1
- package/lib/icons/General/IconGym.js +4 -18
- package/lib/icons/General/IconHearth.d.ts +0 -1
- package/lib/icons/General/IconHearth.js +4 -18
- package/lib/icons/General/IconHearthOutline.d.ts +0 -1
- package/lib/icons/General/IconHearthOutline.js +4 -18
- package/lib/icons/General/IconHelp.d.ts +0 -1
- package/lib/icons/General/IconHelp.js +4 -18
- package/lib/icons/General/IconHistory.d.ts +0 -1
- package/lib/icons/General/IconHistory.js +4 -18
- package/lib/icons/General/IconHomeFilled.d.ts +0 -1
- package/lib/icons/General/IconHomeFilled.js +4 -36
- package/lib/icons/General/IconHomeOutline.d.ts +0 -1
- package/lib/icons/General/IconHomeOutline.js +4 -36
- package/lib/icons/General/IconHouse.d.ts +0 -1
- package/lib/icons/General/IconHouse.js +4 -18
- package/lib/icons/General/IconHouseBlockFilled.d.ts +0 -1
- package/lib/icons/General/IconHouseBlockFilled.js +4 -36
- package/lib/icons/General/IconHouseBlockOutline.d.ts +0 -1
- package/lib/icons/General/IconHouseBlockOutline.js +4 -36
- package/lib/icons/General/IconHouseOutline.d.ts +0 -1
- package/lib/icons/General/IconHouseOutline.js +5 -19
- package/lib/icons/General/IconHumans.d.ts +0 -1
- package/lib/icons/General/IconHumans.js +5 -19
- package/lib/icons/General/IconImage.d.ts +0 -1
- package/lib/icons/General/IconImage.js +4 -29
- package/lib/icons/General/IconImportantComment.d.ts +0 -1
- package/lib/icons/General/IconImportantComment.js +4 -18
- package/lib/icons/General/IconInbox.d.ts +0 -1
- package/lib/icons/General/IconInbox.js +4 -18
- package/lib/icons/General/IconInfoFilled.d.ts +0 -1
- package/lib/icons/General/IconInfoFilled.js +5 -19
- package/lib/icons/General/IconInfoOutline.d.ts +0 -1
- package/lib/icons/General/IconInfoOutline.js +5 -19
- package/lib/icons/General/IconJanitorFilled.d.ts +0 -1
- package/lib/icons/General/IconJanitorFilled.js +5 -58
- package/lib/icons/General/IconJanitorOutline.d.ts +0 -1
- package/lib/icons/General/IconJanitorOutline.js +5 -58
- package/lib/icons/General/IconJointcost.d.ts +0 -1
- package/lib/icons/General/IconJointcost.js +4 -18
- package/lib/icons/General/IconJointcost2.d.ts +0 -1
- package/lib/icons/General/IconJointcost2.js +4 -18
- package/lib/icons/General/IconKey.d.ts +0 -1
- package/lib/icons/General/IconKey.js +4 -18
- package/lib/icons/General/IconKitchen.d.ts +0 -1
- package/lib/icons/General/IconKitchen.js +4 -18
- package/lib/icons/General/IconLabel.d.ts +0 -1
- package/lib/icons/General/IconLabel.js +5 -19
- package/lib/icons/General/IconLeafFilled.d.ts +0 -1
- package/lib/icons/General/IconLeafFilled.js +4 -42
- package/lib/icons/General/IconLeafOutline.d.ts +0 -1
- package/lib/icons/General/IconLeafOutline.js +4 -47
- package/lib/icons/General/IconLeisureTime.d.ts +0 -1
- package/lib/icons/General/IconLeisureTime.js +5 -19
- package/lib/icons/General/IconLock.d.ts +0 -1
- package/lib/icons/General/IconLock.js +4 -18
- package/lib/icons/General/IconLockLocked.d.ts +0 -1
- package/lib/icons/General/IconLockLocked.js +4 -18
- package/lib/icons/General/IconLockOpen.d.ts +0 -1
- package/lib/icons/General/IconLockOpen.js +4 -18
- package/lib/icons/General/IconLookup.d.ts +0 -1
- package/lib/icons/General/IconLookup.js +5 -19
- package/lib/icons/General/IconLookupFilled.d.ts +0 -1
- package/lib/icons/General/IconLookupFilled.js +5 -19
- package/lib/icons/General/IconMail.d.ts +0 -1
- package/lib/icons/General/IconMail.js +5 -19
- package/lib/icons/General/IconMap.d.ts +0 -1
- package/lib/icons/General/IconMap.js +5 -19
- package/lib/icons/General/IconMedal.d.ts +0 -1
- package/lib/icons/General/IconMedal.js +5 -18
- package/lib/icons/General/IconMembership.d.ts +0 -1
- package/lib/icons/General/IconMembership.js +5 -19
- package/lib/icons/General/IconMembershipFilled.d.ts +0 -1
- package/lib/icons/General/IconMembershipFilled.js +5 -19
- package/lib/icons/General/IconMenu.d.ts +0 -1
- package/lib/icons/General/IconMenu.js +4 -18
- package/lib/icons/General/IconMinus.d.ts +0 -1
- package/lib/icons/General/IconMinus.js +4 -18
- package/lib/icons/General/IconMinusAlt.d.ts +0 -1
- package/lib/icons/General/IconMinusAlt.js +5 -19
- package/lib/icons/General/IconMinusAltFilled.d.ts +0 -1
- package/lib/icons/General/IconMinusAltFilled.js +5 -19
- package/lib/icons/General/IconMoney.d.ts +0 -1
- package/lib/icons/General/IconMoney.js +4 -18
- package/lib/icons/General/IconParking.d.ts +0 -1
- package/lib/icons/General/IconParking.js +4 -18
- package/lib/icons/General/IconPaymentCard.d.ts +0 -1
- package/lib/icons/General/IconPaymentCard.js +4 -18
- package/lib/icons/General/IconPercent.d.ts +0 -1
- package/lib/icons/General/IconPercent.js +5 -18
- package/lib/icons/General/IconPhone.d.ts +0 -1
- package/lib/icons/General/IconPhone.js +5 -19
- package/lib/icons/General/IconPinned.d.ts +0 -1
- package/lib/icons/General/IconPinned.js +5 -19
- package/lib/icons/General/IconPlus.d.ts +0 -1
- package/lib/icons/General/IconPlus.js +4 -18
- package/lib/icons/General/IconPlusAlt.d.ts +0 -1
- package/lib/icons/General/IconPlusAlt.js +5 -19
- package/lib/icons/General/IconPortalUser.d.ts +0 -1
- package/lib/icons/General/IconPortalUser.js +5 -19
- package/lib/icons/General/IconPrint.d.ts +0 -1
- package/lib/icons/General/IconPrint.js +5 -19
- package/lib/icons/General/IconProfile.d.ts +0 -1
- package/lib/icons/General/IconProfile.js +5 -19
- package/lib/icons/General/IconProfileFilled.d.ts +0 -1
- package/lib/icons/General/IconProfileFilled.js +5 -19
- package/lib/icons/General/IconRearrange.d.ts +0 -1
- package/lib/icons/General/IconRearrange.js +4 -56
- package/lib/icons/General/IconReciept.d.ts +0 -1
- package/lib/icons/General/IconReciept.js +4 -18
- package/lib/icons/General/IconRedo.d.ts +0 -1
- package/lib/icons/General/IconRedo.js +4 -18
- package/lib/icons/General/IconRefresh.d.ts +0 -1
- package/lib/icons/General/IconRefresh.js +4 -18
- package/lib/icons/General/IconReply.d.ts +0 -1
- package/lib/icons/General/IconReply.js +5 -19
- package/lib/icons/General/IconReplyAll.d.ts +0 -1
- package/lib/icons/General/IconReplyAll.js +5 -19
- package/lib/icons/General/IconRoom.d.ts +0 -1
- package/lib/icons/General/IconRoom.js +4 -18
- package/lib/icons/General/IconSave.d.ts +0 -1
- package/lib/icons/General/IconSave.js +4 -18
- package/lib/icons/General/IconSearch.d.ts +0 -1
- package/lib/icons/General/IconSearch.js +4 -18
- package/lib/icons/General/IconSend.d.ts +0 -1
- package/lib/icons/General/IconSend.js +4 -18
- package/lib/icons/General/IconSettings.d.ts +0 -1
- package/lib/icons/General/IconSettings.js +4 -18
- package/lib/icons/General/IconShopping.d.ts +0 -1
- package/lib/icons/General/IconShopping.js +5 -19
- package/lib/icons/General/IconSign.d.ts +0 -1
- package/lib/icons/General/IconSign.js +4 -18
- package/lib/icons/General/IconSliders.d.ts +0 -1
- package/lib/icons/General/IconSliders.js +5 -19
- package/lib/icons/General/IconSort.d.ts +0 -1
- package/lib/icons/General/IconSort.js +5 -19
- package/lib/icons/General/IconStarFilled.d.ts +0 -1
- package/lib/icons/General/IconStarFilled.js +4 -18
- package/lib/icons/General/IconStarHalf.d.ts +0 -1
- package/lib/icons/General/IconStarHalf.js +4 -18
- package/lib/icons/General/IconStarOutline.d.ts +0 -1
- package/lib/icons/General/IconStarOutline.js +4 -18
- package/lib/icons/General/IconStore.d.ts +0 -1
- package/lib/icons/General/IconStore.js +4 -18
- package/lib/icons/General/IconSubway.d.ts +0 -1
- package/lib/icons/General/IconSubway.js +4 -18
- package/lib/icons/General/IconSwitch.d.ts +0 -1
- package/lib/icons/General/IconSwitch.js +4 -18
- package/lib/icons/General/IconTrain.d.ts +0 -1
- package/lib/icons/General/IconTrain.js +4 -18
- package/lib/icons/General/IconTram.d.ts +0 -1
- package/lib/icons/General/IconTram.js +4 -18
- package/lib/icons/General/IconTransport.d.ts +0 -1
- package/lib/icons/General/IconTransport.js +4 -18
- package/lib/icons/General/IconTypeOfBuilding.d.ts +0 -1
- package/lib/icons/General/IconTypeOfBuilding.js +5 -19
- package/lib/icons/General/IconTypeOfBuildingOutline.d.ts +0 -1
- package/lib/icons/General/IconTypeOfBuildingOutline.js +5 -19
- package/lib/icons/General/IconUndo.d.ts +0 -1
- package/lib/icons/General/IconUndo.js +5 -19
- package/lib/icons/General/IconUpload.d.ts +0 -1
- package/lib/icons/General/IconUpload.js +4 -18
- package/lib/icons/General/IconUser.d.ts +0 -1
- package/lib/icons/General/IconUser.js +5 -19
- package/lib/icons/General/IconUserThin.d.ts +0 -1
- package/lib/icons/General/IconUserThin.js +5 -19
- package/lib/icons/General/IconVote.d.ts +0 -1
- package/lib/icons/General/IconVote.js +4 -18
- package/lib/icons/General/IconWalk.d.ts +0 -1
- package/lib/icons/General/IconWalk.js +4 -18
- package/lib/icons/General/IconWarning.d.ts +0 -1
- package/lib/icons/General/IconWarning.js +4 -18
- package/lib/icons/General/IconWarningBell.d.ts +0 -1
- package/lib/icons/General/IconWarningBell.js +4 -18
- package/lib/icons/General/IconWork.d.ts +0 -1
- package/lib/icons/General/IconWork.js +5 -19
- package/lib/icons/General/IconWorkFilled.d.ts +0 -1
- package/lib/icons/General/IconWorkFilled.js +5 -19
- package/lib/icons/General/IconZip.d.ts +0 -1
- package/lib/icons/General/IconZip.js +4 -18
- package/lib/icons/Icon.stories.d.ts +12 -13
- package/lib/icons/Icon.stories.js +227 -625
- package/lib/icons/Logos/IconAmericanExpress.d.ts +0 -1
- package/lib/icons/Logos/IconAmericanExpress.js +5 -21
- package/lib/icons/Logos/IconBankAxept.d.ts +0 -1
- package/lib/icons/Logos/IconBankAxept.js +5 -44
- package/lib/icons/Logos/IconGmail.d.ts +0 -1
- package/lib/icons/Logos/IconGmail.js +3 -38
- package/lib/icons/Logos/IconMasterCard.d.ts +0 -1
- package/lib/icons/Logos/IconMasterCard.js +5 -39
- package/lib/icons/Logos/IconOffice365.d.ts +0 -1
- package/lib/icons/Logos/IconOffice365.js +5 -130
- package/lib/icons/Logos/IconVisa.d.ts +0 -1
- package/lib/icons/Logos/IconVisa.js +5 -38
- package/lib/icons/withIcon.d.ts +0 -1
- package/lib/icons/withIcon.js +48 -64
- package/lib/illustrations/Backgrounds/IllustrationHousesBackground.d.ts +0 -1
- package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +5 -7125
- package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.d.ts +0 -1
- package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +6 -8489
- package/lib/illustrations/General/IllustrationBudget.d.ts +0 -1
- package/lib/illustrations/General/IllustrationBudget.js +5 -191
- package/lib/illustrations/General/IllustrationError.d.ts +0 -1
- package/lib/illustrations/General/IllustrationError.js +5 -530
- package/lib/illustrations/General/IllustrationErrorGeneric.d.ts +0 -1
- package/lib/illustrations/General/IllustrationErrorGeneric.js +5 -468
- package/lib/illustrations/General/IllustrationHighHouse.d.ts +0 -1
- package/lib/illustrations/General/IllustrationHighHouse.js +4 -212
- package/lib/illustrations/General/IllustrationHighHouseComposition.d.ts +0 -1
- package/lib/illustrations/General/IllustrationHighHouseComposition.js +4 -292
- package/lib/illustrations/General/IllustrationHouse.d.ts +0 -1
- package/lib/illustrations/General/IllustrationHouse.js +4 -81
- package/lib/illustrations/General/IllustrationHouseComposition.d.ts +0 -1
- package/lib/illustrations/General/IllustrationHouseComposition.js +4 -141
- package/lib/illustrations/General/IllustrationHouseMissing.d.ts +0 -1
- package/lib/illustrations/General/IllustrationHouseMissing.js +5 -186
- package/lib/illustrations/General/IllustrationLowHouse.d.ts +0 -1
- package/lib/illustrations/General/IllustrationLowHouse.js +4 -122
- package/lib/illustrations/General/IllustrationLowHouseComposition.d.ts +0 -1
- package/lib/illustrations/General/IllustrationLowHouseComposition.js +4 -202
- package/lib/illustrations/General/IllustrationPaperCompleted.d.ts +0 -1
- package/lib/illustrations/General/IllustrationPaperCompleted.js +5 -255
- package/lib/illustrations/General/IllustrationPaperMissing.d.ts +0 -1
- package/lib/illustrations/General/IllustrationPaperMissing.js +5 -293
- package/lib/illustrations/General/IllustrationSemiDetachedHouse.d.ts +0 -1
- package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +4 -80
- package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.d.ts +0 -1
- package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +4 -154
- package/lib/illustrations/General/IllustrationServiceMessage.d.ts +0 -1
- package/lib/illustrations/General/IllustrationServiceMessage.js +5 -47
- package/lib/illustrations/General/IllustrationSmallHouse.d.ts +0 -1
- package/lib/illustrations/General/IllustrationSmallHouse.js +4 -56
- package/lib/illustrations/General/IllustrationSmallHouseComposition.d.ts +0 -1
- package/lib/illustrations/General/IllustrationSmallHouseComposition.js +4 -129
- package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts +0 -1
- package/lib/illustrations/General/IllustrationTechninalDifficulties.js +7 -126
- package/lib/illustrations/General/IllustrationTerraceBlock.d.ts +0 -1
- package/lib/illustrations/General/IllustrationTerraceBlock.js +4 -176
- package/lib/illustrations/General/IllustrationTerraceBlockComposition.d.ts +0 -1
- package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +4 -240
- package/lib/illustrations/General/IllustrationTownHouse.d.ts +0 -1
- package/lib/illustrations/General/IllustrationTownHouse.js +4 -104
- package/lib/illustrations/General/IllustrationTownHouseComposition.d.ts +0 -1
- package/lib/illustrations/General/IllustrationTownHouseComposition.js +4 -184
- package/lib/illustrations/Illustration.stories.d.ts +5 -6
- package/lib/illustrations/Illustration.stories.js +57 -190
- package/lib/illustrations/MySite/IllustrationMySiteAssociation.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +4 -85
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.js +5 -186
- package/lib/illustrations/MySite/IllustrationMySiteBuilding.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +5 -173
- package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +5 -157
- package/lib/illustrations/MySite/IllustrationMySiteComputer.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteComputer.js +5 -140
- package/lib/illustrations/MySite/IllustrationMySiteCooperative.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +4 -123
- package/lib/illustrations/MySite/IllustrationMySiteDashboard.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +4 -137
- package/lib/illustrations/MySite/IllustrationMySiteGift.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteGift.js +5 -304
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.js +5 -83
- package/lib/illustrations/MySite/IllustrationMySiteMailbox.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +4 -105
- package/lib/illustrations/MySite/IllustrationMySitePapers.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySitePapers.js +5 -254
- package/lib/illustrations/MySite/IllustrationMySitePiggyBank.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +5 -257
- package/lib/illustrations/MySite/IllustrationMySiteTransfer.d.ts +0 -1
- package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +5 -141
- package/lib/illustrations/styles.d.ts +0 -1
- package/lib/illustrations/styles.js +93 -21
- package/lib/illustrations/withIllustration.d.ts +0 -1
- package/lib/illustrations/withIllustration.js +41 -57
- package/lib/index.d.ts +0 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +327 -2409
- package/lib/layout/Footer/Footer.stories.d.ts +2 -3
- package/lib/layout/Footer/Footer.stories.js +17 -66
- package/lib/layout/Footer/FooterButton/index.d.ts +0 -1
- package/lib/layout/Footer/FooterButton/index.js +5 -22
- package/lib/layout/Footer/FooterButton/styles.d.ts +0 -1
- package/lib/layout/Footer/FooterButton/styles.js +14 -22
- package/lib/layout/Footer/FooterCol/index.d.ts +0 -1
- package/lib/layout/Footer/FooterCol/index.js +5 -17
- package/lib/layout/Footer/FooterCol/styles.d.ts +0 -1
- package/lib/layout/Footer/FooterCol/styles.js +7 -22
- package/lib/layout/Footer/FooterGroup/index.d.ts +0 -1
- package/lib/layout/Footer/FooterGroup/index.js +5 -17
- package/lib/layout/Footer/FooterGroup/styles.d.ts +0 -1
- package/lib/layout/Footer/FooterGroup/styles.js +8 -21
- package/lib/layout/Footer/FooterLabel/index.d.ts +0 -1
- package/lib/layout/Footer/FooterLabel/index.js +5 -17
- package/lib/layout/Footer/FooterLabel/styles.d.ts +0 -1
- package/lib/layout/Footer/FooterLabel/styles.js +8 -22
- package/lib/layout/Footer/FooterLink/index.d.ts +0 -1
- package/lib/layout/Footer/FooterLink/index.js +5 -23
- package/lib/layout/Footer/FooterLink/styles.d.ts +0 -1
- package/lib/layout/Footer/FooterLink/styles.js +18 -22
- package/lib/layout/Footer/index.d.ts +0 -1
- package/lib/layout/Footer/index.js +5 -22
- package/lib/layout/Footer/styles.d.ts +0 -1
- package/lib/layout/Footer/styles.js +24 -17
- package/lib/layout/Layout/Layout.stories.d.ts +1 -2
- package/lib/layout/Layout/Layout.stories.js +9 -20
- package/lib/layout/Layout/index.d.ts +0 -1
- package/lib/layout/Layout/index.js +5 -19
- package/lib/layout/Layout/styles.d.ts +0 -1
- package/lib/layout/Layout/styles.js +13 -16
- package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +3 -4
- package/lib/layout/LayoutShell/LayoutShell.stories.js +65 -120
- package/lib/layout/LayoutShell/index.d.ts +0 -1
- package/lib/layout/LayoutShell/index.js +10 -55
- package/lib/layout/LayoutShell/styles.d.ts +0 -1
- package/lib/layout/LayoutShell/styles.js +58 -72
- package/lib/layout/Menu/AppPicker/index.d.ts +0 -1
- package/lib/layout/Menu/AppPicker/index.js +20 -63
- package/lib/layout/Menu/AppPicker/styles.d.ts +0 -1
- package/lib/layout/Menu/AppPicker/styles.js +85 -55
- package/lib/layout/Menu/MainMenu/index.d.ts +0 -1
- package/lib/layout/Menu/MainMenu/index.js +5 -24
- package/lib/layout/Menu/MainMenu/styles.d.ts +0 -1
- package/lib/layout/Menu/MainMenu/styles.js +28 -21
- package/lib/layout/Menu/MenuItem/index.d.ts +0 -1
- package/lib/layout/Menu/MenuItem/index.js +8 -46
- package/lib/layout/Menu/MenuItem/styles.d.ts +0 -1
- package/lib/layout/Menu/MenuItem/styles.js +78 -36
- package/lib/layout/Menu/MenuSpacer/index.d.ts +0 -1
- package/lib/layout/Menu/MenuSpacer/index.js +5 -17
- package/lib/layout/Menu/MenuSpacer/styles.d.ts +0 -1
- package/lib/layout/Menu/MenuSpacer/styles.js +16 -14
- package/lib/layout/Menu/MenuTop/index.d.ts +0 -1
- package/lib/layout/Menu/MenuTop/index.js +6 -33
- package/lib/layout/Menu/MenuTop/styles.d.ts +0 -1
- package/lib/layout/Menu/MenuTop/styles.js +43 -36
- package/lib/layout/Menu/SecondaryMenu/index.d.ts +0 -1
- package/lib/layout/Menu/SecondaryMenu/index.js +11 -46
- package/lib/layout/Menu/SecondaryMenu/styles.d.ts +0 -1
- package/lib/layout/Menu/SecondaryMenu/styles.js +82 -34
- package/lib/layout/Menu/SecondaryMenuItem/index.d.ts +0 -1
- package/lib/layout/Menu/SecondaryMenuItem/index.js +11 -34
- package/lib/layout/Menu/SecondaryMenuItem/styles.d.ts +0 -1
- package/lib/layout/Menu/SecondaryMenuItem/styles.js +34 -15
- package/lib/layout/Menu/Sidemenu.stories.d.ts +4 -5
- package/lib/layout/Menu/Sidemenu.stories.js +33 -329
- package/lib/layout/Menu/index.d.ts +0 -1
- package/lib/layout/Menu/index.js +7 -24
- package/lib/layout/Menu/styles.d.ts +0 -1
- package/lib/layout/Menu/styles.js +29 -15
- package/lib/layout/Submenu/Submenu.stories.d.ts +6 -7
- package/lib/layout/Submenu/Submenu.stories.js +29 -94
- package/lib/layout/Submenu/SubmenuItem/index.d.ts +0 -1
- package/lib/layout/Submenu/SubmenuItem/index.js +28 -88
- package/lib/layout/Submenu/SubmenuItem/styles.d.ts +0 -1
- package/lib/layout/Submenu/SubmenuItem/styles.js +29 -26
- package/lib/layout/Submenu/SubmenuLightThemeBg/index.d.ts +0 -1
- package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +4 -51
- package/lib/layout/Submenu/index.d.ts +0 -1
- package/lib/layout/Submenu/index.js +76 -128
- package/lib/layout/Submenu/styles.d.ts +0 -1
- package/lib/layout/Submenu/styles.js +151 -79
- package/lib/layout/Topbar/Topbar.stories.d.ts +2 -3
- package/lib/layout/Topbar/Topbar.stories.js +19 -28
- package/lib/layout/Topbar/index.d.ts +0 -1
- package/lib/layout/Topbar/index.js +5 -22
- package/lib/layout/Topbar/styles.d.ts +0 -1
- package/lib/layout/Topbar/styles.js +3 -15
- package/lib/shared/components/SbIconGrid/index.d.ts +0 -1
- package/lib/shared/components/SbIconGrid/index.js +14 -33
- package/lib/shared/components/VisuallyHidden/index.d.ts +0 -1
- package/lib/shared/components/VisuallyHidden/index.js +13 -24
- package/lib/shared/recharts/CustomLegend/index.d.ts +0 -1
- package/lib/shared/recharts/CustomLegend/index.js +7 -43
- package/lib/shared/recharts/CustomLegend/styles.d.ts +0 -1
- package/lib/shared/recharts/CustomLegend/styles.js +29 -29
- package/lib/shared/recharts/CustomTooltip/index.d.ts +0 -1
- package/lib/shared/recharts/CustomTooltip/index.js +39 -81
- package/lib/shared/recharts/CustomTooltip/styles.d.ts +0 -1
- package/lib/shared/recharts/CustomTooltip/styles.js +29 -42
- package/lib/utils/accountNumber.d.ts +0 -1
- package/lib/utils/accountNumber.js +29 -33
- package/lib/utils/alpha.d.ts +0 -1
- package/lib/utils/alpha.js +9 -14
- package/lib/utils/array.d.ts +0 -1
- package/lib/utils/array.js +9 -15
- package/lib/utils/contrastColor.d.ts +0 -1
- package/lib/utils/contrastColor.js +17 -23
- package/lib/utils/dates.d.ts +0 -1
- package/lib/utils/dates.js +116 -85
- package/lib/utils/file.d.ts +0 -1
- package/lib/utils/file.js +11 -19
- package/lib/utils/format.d.ts +0 -1
- package/lib/utils/format.js +83 -83
- package/lib/utils/formatGraphPrice.d.ts +0 -1
- package/lib/utils/formatGraphPrice.js +18 -21
- package/lib/utils/image.d.ts +0 -1
- package/lib/utils/image.js +8 -14
- package/lib/utils/pagination.d.ts +0 -1
- package/lib/utils/pagination.js +16 -21
- package/lib/utils/phone.d.ts +0 -1
- package/lib/utils/phone.js +30 -37
- package/lib/utils/removeFocusOnMouseUp.d.ts +0 -1
- package/lib/utils/removeFocusOnMouseUp.js +6 -15
- package/lib/utils/time.d.ts +0 -1
- package/lib/utils/time.js +67 -80
- package/lib/utils/url.d.ts +0 -1
- package/lib/utils/url.js +10 -16
- package/lib/utils/useSnorreTheme.d.ts +0 -1
- package/lib/utils/useSnorreTheme.js +27 -36
- package/lib/v2/Memberbenefits/MemberbenefitsCard/MemberbenefitsCard.stories.d.ts +1 -2
- package/lib/v2/Memberbenefits/MemberbenefitsCard/MemberbenefitsCard.stories.js +67 -82
- package/lib/v2/Memberbenefits/MemberbenefitsCard/index.d.ts +0 -1
- package/lib/v2/Memberbenefits/MemberbenefitsCard/index.js +34 -108
- package/lib/v2/Memberbenefits/MemberbenefitsCard/model.d.ts +0 -1
- package/lib/v2/Memberbenefits/MemberbenefitsCard/model.js +5 -11
- package/lib/v2/Memberbenefits/MemberbenefitsCard/styles.d.ts +0 -1
- package/lib/v2/Memberbenefits/MemberbenefitsCard/styles.js +106 -149
- package/lib/v2/core/Box/Box.stories.d.ts +0 -1
- package/lib/v2/core/Box/Box.stories.js +76 -105
- package/lib/v2/core/Box/index.d.ts +0 -1
- package/lib/v2/core/Box/index.js +27 -81
- package/lib/v2/core/Box/styles.d.ts +0 -1
- package/lib/v2/core/Box/styles.js +67 -56
- package/lib/v2/core/BoxedTable/BoxedTable.stories.d.ts +8 -9
- package/lib/v2/core/BoxedTable/BoxedTable.stories.js +43 -357
- package/lib/v2/core/BoxedTable/DraggableRow/index.d.ts +0 -1
- package/lib/v2/core/BoxedTable/DraggableRow/index.js +6 -42
- package/lib/v2/core/BoxedTable/DraggableRow/styles.d.ts +0 -1
- package/lib/v2/core/BoxedTable/DraggableRow/styles.js +29 -60
- package/lib/v2/core/BoxedTable/HeaderCell/index.d.ts +0 -1
- package/lib/v2/core/BoxedTable/HeaderCell/index.js +23 -41
- package/lib/v2/core/BoxedTable/HeaderCell/styles.d.ts +0 -1
- package/lib/v2/core/BoxedTable/HeaderCell/styles.js +12 -17
- package/lib/v2/core/BoxedTable/RowCell/index.d.ts +0 -1
- package/lib/v2/core/BoxedTable/RowCell/index.js +14 -34
- package/lib/v2/core/BoxedTable/RowCell/styles.d.ts +0 -1
- package/lib/v2/core/BoxedTable/RowCell/styles.js +48 -53
- package/lib/v2/core/BoxedTable/TableHeader/index.d.ts +0 -1
- package/lib/v2/core/BoxedTable/TableHeader/index.js +5 -18
- package/lib/v2/core/BoxedTable/TableHeader/styles.d.ts +0 -1
- package/lib/v2/core/BoxedTable/TableHeader/styles.js +7 -22
- package/lib/v2/core/BoxedTable/TableRow/index.d.ts +0 -1
- package/lib/v2/core/BoxedTable/TableRow/index.js +18 -71
- package/lib/v2/core/BoxedTable/TableRow/styles.d.ts +0 -1
- package/lib/v2/core/BoxedTable/TableRow/styles.js +64 -75
- package/lib/v2/core/BoxedTable/index.d.ts +0 -1
- package/lib/v2/core/BoxedTable/index.js +31 -71
- package/lib/v2/core/BoxedTable/models.d.ts +0 -1
- package/lib/v2/core/BoxedTable/models.js +1 -5
- package/lib/v2/core/BoxedTable/styles.d.ts +0 -1
- package/lib/v2/core/BoxedTable/styles.js +262 -116
- package/lib/v2/core/Button/Button.stories.d.ts +0 -1
- package/lib/v2/core/Button/Button.stories.js +184 -193
- package/lib/v2/core/Button/index.d.ts +0 -1
- package/lib/v2/core/Button/index.js +52 -73
- package/lib/v2/core/Button/styles.d.ts +0 -1
- package/lib/v2/core/Button/styles.js +233 -86
- package/lib/v2/core/ButtonsFilter/ButtonsFilter.stories.d.ts +0 -1
- package/lib/v2/core/ButtonsFilter/ButtonsFilter.stories.js +29 -41
- package/lib/v2/core/ButtonsFilter/index.d.ts +0 -1
- package/lib/v2/core/ButtonsFilter/index.js +40 -78
- package/lib/v2/core/ButtonsFilter/styles.d.ts +0 -1
- package/lib/v2/core/ButtonsFilter/styles.js +7 -22
- package/lib/v2/core/Chip/Chip.stories.d.ts +0 -1
- package/lib/v2/core/Chip/Chip.stories.js +72 -85
- package/lib/v2/core/Chip/index.d.ts +0 -1
- package/lib/v2/core/Chip/index.js +47 -68
- package/lib/v2/core/Chip/styles.d.ts +0 -1
- package/lib/v2/core/Chip/styles.js +76 -42
- package/lib/v2/core/TabNav/TabContext.d.ts +0 -1
- package/lib/v2/core/TabNav/TabContext.js +32 -59
- package/lib/v2/core/TabNav/TabNav.stories.d.ts +11 -12
- package/lib/v2/core/TabNav/TabNav.stories.js +162 -300
- package/lib/v2/core/TabNav/TabNavItem/index.d.ts +0 -1
- package/lib/v2/core/TabNav/TabNavItem/index.js +44 -108
- package/lib/v2/core/TabNav/TabNavItem/styles.d.ts +0 -1
- package/lib/v2/core/TabNav/TabNavItem/styles.js +96 -47
- package/lib/v2/core/TabNav/index.d.ts +0 -1
- package/lib/v2/core/TabNav/index.js +56 -130
- package/lib/v2/core/TabNav/styles.d.ts +0 -1
- package/lib/v2/core/TabNav/styles.js +60 -59
- package/lib/v2/core/TabNav/utils/useContainerDimensions.d.ts +0 -1
- package/lib/v2/core/TabNav/utils/useContainerDimensions.js +26 -32
- package/lib/v2/hooks/useOverflow.d.ts +0 -1
- package/lib/v2/hooks/useOverflow.js +31 -48
- package/lib/v2/index.d.ts +0 -1
- package/lib/v2/index.js +14 -97
- package/package.json +11 -7
- package/tsconfig.node.json +11 -0
- package/vite.config.js +24 -1
- package/dist/bundle.js +0 -5
- package/dist/stats.html +0 -4949
@@ -0,0 +1,112 @@
|
|
1
|
+
import { g as y, u as f, p as m } from "./index-4sQ1LeGA.mjs";
|
2
|
+
import g from "react";
|
3
|
+
function v(t, e) {
|
4
|
+
for (var r = 0; r < e.length; r++) {
|
5
|
+
const s = e[r];
|
6
|
+
if (typeof s != "string" && !Array.isArray(s)) {
|
7
|
+
for (const o in s)
|
8
|
+
if (o !== "default" && !(o in t)) {
|
9
|
+
const n = Object.getOwnPropertyDescriptor(s, o);
|
10
|
+
n && Object.defineProperty(t, o, n.get ? n : {
|
11
|
+
enumerable: !0,
|
12
|
+
get: () => s[o]
|
13
|
+
});
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
18
|
+
}
|
19
|
+
var P = Object.create, i = Object.defineProperty, O = Object.getOwnPropertyDescriptor, b = Object.getOwnPropertyNames, M = Object.getPrototypeOf, w = Object.prototype.hasOwnProperty, x = (t, e, r) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, j = (t, e) => {
|
20
|
+
for (var r in e)
|
21
|
+
i(t, r, { get: e[r], enumerable: !0 });
|
22
|
+
}, c = (t, e, r, s) => {
|
23
|
+
if (e && typeof e == "object" || typeof e == "function")
|
24
|
+
for (let o of b(e))
|
25
|
+
!w.call(t, o) && o !== r && i(t, o, { get: () => e[o], enumerable: !(s = O(e, o)) || s.enumerable });
|
26
|
+
return t;
|
27
|
+
}, D = (t, e, r) => (r = t != null ? P(M(t)) : {}, c(
|
28
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
29
|
+
// file that has been converted to a CommonJS file using a Babel-
|
30
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
31
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
32
|
+
!t || !t.__esModule ? i(r, "default", { value: t, enumerable: !0 }) : r,
|
33
|
+
t
|
34
|
+
)), S = (t) => c(i({}, "__esModule", { value: !0 }), t), a = (t, e, r) => (x(t, typeof e != "symbol" ? e + "" : e, r), r), d = {};
|
35
|
+
j(d, {
|
36
|
+
default: () => l
|
37
|
+
});
|
38
|
+
var h = S(d), p = D(g), u = f, _ = m;
|
39
|
+
const L = "https://widget.mixcloud.com/media/js/widgetApi.js", T = "Mixcloud";
|
40
|
+
class l extends p.Component {
|
41
|
+
constructor() {
|
42
|
+
super(...arguments), a(this, "callPlayer", u.callPlayer), a(this, "duration", null), a(this, "currentTime", null), a(this, "secondsLoaded", null), a(this, "mute", () => {
|
43
|
+
}), a(this, "unmute", () => {
|
44
|
+
}), a(this, "ref", (e) => {
|
45
|
+
this.iframe = e;
|
46
|
+
});
|
47
|
+
}
|
48
|
+
componentDidMount() {
|
49
|
+
this.props.onMount && this.props.onMount(this);
|
50
|
+
}
|
51
|
+
load(e) {
|
52
|
+
(0, u.getSDK)(L, T).then((r) => {
|
53
|
+
this.player = r.PlayerWidget(this.iframe), this.player.ready.then(() => {
|
54
|
+
this.player.events.play.on(this.props.onPlay), this.player.events.pause.on(this.props.onPause), this.player.events.ended.on(this.props.onEnded), this.player.events.error.on(this.props.error), this.player.events.progress.on((s, o) => {
|
55
|
+
this.currentTime = s, this.duration = o;
|
56
|
+
}), this.props.onReady();
|
57
|
+
});
|
58
|
+
}, this.props.onError);
|
59
|
+
}
|
60
|
+
play() {
|
61
|
+
this.callPlayer("play");
|
62
|
+
}
|
63
|
+
pause() {
|
64
|
+
this.callPlayer("pause");
|
65
|
+
}
|
66
|
+
stop() {
|
67
|
+
}
|
68
|
+
seekTo(e, r = !0) {
|
69
|
+
this.callPlayer("seek", e), r || this.pause();
|
70
|
+
}
|
71
|
+
setVolume(e) {
|
72
|
+
}
|
73
|
+
getDuration() {
|
74
|
+
return this.duration;
|
75
|
+
}
|
76
|
+
getCurrentTime() {
|
77
|
+
return this.currentTime;
|
78
|
+
}
|
79
|
+
getSecondsLoaded() {
|
80
|
+
return null;
|
81
|
+
}
|
82
|
+
render() {
|
83
|
+
const { url: e, config: r } = this.props, s = e.match(_.MATCH_URL_MIXCLOUD)[1], o = {
|
84
|
+
width: "100%",
|
85
|
+
height: "100%"
|
86
|
+
}, n = (0, u.queryString)({
|
87
|
+
...r.options,
|
88
|
+
feed: `/${s}/`
|
89
|
+
});
|
90
|
+
return /* @__PURE__ */ p.default.createElement(
|
91
|
+
"iframe",
|
92
|
+
{
|
93
|
+
key: s,
|
94
|
+
ref: this.ref,
|
95
|
+
style: o,
|
96
|
+
src: `https://www.mixcloud.com/widget/iframe/?${n}`,
|
97
|
+
frameBorder: "0",
|
98
|
+
allow: "autoplay"
|
99
|
+
}
|
100
|
+
);
|
101
|
+
}
|
102
|
+
}
|
103
|
+
a(l, "displayName", "Mixcloud");
|
104
|
+
a(l, "canPlay", _.canPlay.mixcloud);
|
105
|
+
a(l, "loopOnEnded", !0);
|
106
|
+
const C = /* @__PURE__ */ y(h), A = /* @__PURE__ */ v({
|
107
|
+
__proto__: null,
|
108
|
+
default: C
|
109
|
+
}, [h]);
|
110
|
+
export {
|
111
|
+
A as M
|
112
|
+
};
|
@@ -0,0 +1,164 @@
|
|
1
|
+
import { g as P, p as g } from "./index-4sQ1LeGA.mjs";
|
2
|
+
import E from "react";
|
3
|
+
function b(r, e) {
|
4
|
+
for (var t = 0; t < e.length; t++) {
|
5
|
+
const i = e[t];
|
6
|
+
if (typeof i != "string" && !Array.isArray(i)) {
|
7
|
+
for (const s in i)
|
8
|
+
if (s !== "default" && !(s in r)) {
|
9
|
+
const o = Object.getOwnPropertyDescriptor(i, s);
|
10
|
+
o && Object.defineProperty(r, s, o.get ? o : {
|
11
|
+
enumerable: !0,
|
12
|
+
get: () => i[s]
|
13
|
+
});
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
18
|
+
}
|
19
|
+
var _ = Object.create, a = Object.defineProperty, L = Object.getOwnPropertyDescriptor, k = Object.getOwnPropertyNames, I = Object.getPrototypeOf, O = Object.prototype.hasOwnProperty, M = (r, e, t) => e in r ? a(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, x = (r, e) => {
|
20
|
+
for (var t in e)
|
21
|
+
a(r, t, { get: e[t], enumerable: !0 });
|
22
|
+
}, v = (r, e, t, i) => {
|
23
|
+
if (e && typeof e == "object" || typeof e == "function")
|
24
|
+
for (let s of k(e))
|
25
|
+
!O.call(r, s) && s !== t && a(r, s, { get: () => e[s], enumerable: !(i = L(e, s)) || i.enumerable });
|
26
|
+
return r;
|
27
|
+
}, R = (r, e, t) => (t = r != null ? _(I(r)) : {}, v(
|
28
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
29
|
+
// file that has been converted to a CommonJS file using a Babel-
|
30
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
31
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
32
|
+
!r || !r.__esModule ? a(t, "default", { value: r, enumerable: !0 }) : t,
|
33
|
+
r
|
34
|
+
)), w = (r) => v(a({}, "__esModule", { value: !0 }), r), n = (r, e, t) => (M(r, typeof e != "symbol" ? e + "" : e, t), t), y = {};
|
35
|
+
x(y, {
|
36
|
+
default: () => l
|
37
|
+
});
|
38
|
+
var m = w(y), f = R(E), p = g;
|
39
|
+
const D = "https://cdn.jsdelivr.net/npm/@mux/mux-player@VERSION/dist/mux-player.mjs";
|
40
|
+
class l extends f.Component {
|
41
|
+
constructor() {
|
42
|
+
super(...arguments), n(this, "onReady", (...e) => this.props.onReady(...e)), n(this, "onPlay", (...e) => this.props.onPlay(...e)), n(this, "onBuffer", (...e) => this.props.onBuffer(...e)), n(this, "onBufferEnd", (...e) => this.props.onBufferEnd(...e)), n(this, "onPause", (...e) => this.props.onPause(...e)), n(this, "onEnded", (...e) => this.props.onEnded(...e)), n(this, "onError", (...e) => this.props.onError(...e)), n(this, "onPlayBackRateChange", (e) => this.props.onPlaybackRateChange(e.target.playbackRate)), n(this, "onEnablePIP", (...e) => this.props.onEnablePIP(...e)), n(this, "onSeek", (e) => {
|
43
|
+
this.props.onSeek(e.target.currentTime);
|
44
|
+
}), n(this, "onDurationChange", () => {
|
45
|
+
const e = this.getDuration();
|
46
|
+
this.props.onDuration(e);
|
47
|
+
}), n(this, "mute", () => {
|
48
|
+
this.player.muted = !0;
|
49
|
+
}), n(this, "unmute", () => {
|
50
|
+
this.player.muted = !1;
|
51
|
+
}), n(this, "ref", (e) => {
|
52
|
+
this.player = e;
|
53
|
+
});
|
54
|
+
}
|
55
|
+
componentDidMount() {
|
56
|
+
this.props.onMount && this.props.onMount(this), this.addListeners(this.player);
|
57
|
+
const e = this.getPlaybackId(this.props.url);
|
58
|
+
e && (this.player.playbackId = e);
|
59
|
+
}
|
60
|
+
componentWillUnmount() {
|
61
|
+
this.player.playbackId = null, this.removeListeners(this.player);
|
62
|
+
}
|
63
|
+
addListeners(e) {
|
64
|
+
const { playsinline: t } = this.props;
|
65
|
+
e.addEventListener("play", this.onPlay), e.addEventListener("waiting", this.onBuffer), e.addEventListener("playing", this.onBufferEnd), e.addEventListener("pause", this.onPause), e.addEventListener("seeked", this.onSeek), e.addEventListener("ended", this.onEnded), e.addEventListener("error", this.onError), e.addEventListener("ratechange", this.onPlayBackRateChange), e.addEventListener("enterpictureinpicture", this.onEnablePIP), e.addEventListener("leavepictureinpicture", this.onDisablePIP), e.addEventListener("webkitpresentationmodechanged", this.onPresentationModeChange), e.addEventListener("canplay", this.onReady), t && e.setAttribute("playsinline", "");
|
66
|
+
}
|
67
|
+
removeListeners(e) {
|
68
|
+
e.removeEventListener("canplay", this.onReady), e.removeEventListener("play", this.onPlay), e.removeEventListener("waiting", this.onBuffer), e.removeEventListener("playing", this.onBufferEnd), e.removeEventListener("pause", this.onPause), e.removeEventListener("seeked", this.onSeek), e.removeEventListener("ended", this.onEnded), e.removeEventListener("error", this.onError), e.removeEventListener("ratechange", this.onPlayBackRateChange), e.removeEventListener("enterpictureinpicture", this.onEnablePIP), e.removeEventListener("leavepictureinpicture", this.onDisablePIP), e.removeEventListener("canplay", this.onReady);
|
69
|
+
}
|
70
|
+
async load(e) {
|
71
|
+
var t;
|
72
|
+
const { onError: i, config: s } = this.props;
|
73
|
+
if (!((t = globalThis.customElements) != null && t.get("mux-player")))
|
74
|
+
try {
|
75
|
+
await import(
|
76
|
+
/* webpackIgnore: true */
|
77
|
+
`${D.replace("VERSION", s.version)}`
|
78
|
+
), this.props.onLoaded();
|
79
|
+
} catch (u) {
|
80
|
+
i(u);
|
81
|
+
}
|
82
|
+
const [, o] = e.match(p.MATCH_URL_MUX);
|
83
|
+
this.player.playbackId = o;
|
84
|
+
}
|
85
|
+
play() {
|
86
|
+
const e = this.player.play();
|
87
|
+
e && e.catch(this.props.onError);
|
88
|
+
}
|
89
|
+
pause() {
|
90
|
+
this.player.pause();
|
91
|
+
}
|
92
|
+
stop() {
|
93
|
+
this.player.playbackId = null;
|
94
|
+
}
|
95
|
+
seekTo(e, t = !0) {
|
96
|
+
this.player.currentTime = e, t || this.pause();
|
97
|
+
}
|
98
|
+
setVolume(e) {
|
99
|
+
this.player.volume = e;
|
100
|
+
}
|
101
|
+
enablePIP() {
|
102
|
+
this.player.requestPictureInPicture && document.pictureInPictureElement !== this.player && this.player.requestPictureInPicture();
|
103
|
+
}
|
104
|
+
disablePIP() {
|
105
|
+
document.exitPictureInPicture && document.pictureInPictureElement === this.player && document.exitPictureInPicture();
|
106
|
+
}
|
107
|
+
setPlaybackRate(e) {
|
108
|
+
try {
|
109
|
+
this.player.playbackRate = e;
|
110
|
+
} catch (t) {
|
111
|
+
this.props.onError(t);
|
112
|
+
}
|
113
|
+
}
|
114
|
+
getDuration() {
|
115
|
+
if (!this.player)
|
116
|
+
return null;
|
117
|
+
const { duration: e, seekable: t } = this.player;
|
118
|
+
return e === 1 / 0 && t.length > 0 ? t.end(t.length - 1) : e;
|
119
|
+
}
|
120
|
+
getCurrentTime() {
|
121
|
+
return this.player ? this.player.currentTime : null;
|
122
|
+
}
|
123
|
+
getSecondsLoaded() {
|
124
|
+
if (!this.player)
|
125
|
+
return null;
|
126
|
+
const { buffered: e } = this.player;
|
127
|
+
if (e.length === 0)
|
128
|
+
return 0;
|
129
|
+
const t = e.end(e.length - 1), i = this.getDuration();
|
130
|
+
return t > i ? i : t;
|
131
|
+
}
|
132
|
+
getPlaybackId(e) {
|
133
|
+
const [, t] = e.match(p.MATCH_URL_MUX);
|
134
|
+
return t;
|
135
|
+
}
|
136
|
+
render() {
|
137
|
+
const { url: e, playing: t, loop: i, controls: s, muted: o, config: u, width: h, height: c } = this.props, d = {
|
138
|
+
width: h === "auto" ? h : "100%",
|
139
|
+
height: c === "auto" ? c : "100%"
|
140
|
+
};
|
141
|
+
return s === !1 && (d["--controls"] = "none"), /* @__PURE__ */ f.default.createElement(
|
142
|
+
"mux-player",
|
143
|
+
{
|
144
|
+
ref: this.ref,
|
145
|
+
"playback-id": this.getPlaybackId(e),
|
146
|
+
style: d,
|
147
|
+
preload: "auto",
|
148
|
+
autoPlay: t || void 0,
|
149
|
+
muted: o ? "" : void 0,
|
150
|
+
loop: i ? "" : void 0,
|
151
|
+
...u.attributes
|
152
|
+
}
|
153
|
+
);
|
154
|
+
}
|
155
|
+
}
|
156
|
+
n(l, "displayName", "Mux");
|
157
|
+
n(l, "canPlay", p.canPlay.mux);
|
158
|
+
const j = /* @__PURE__ */ P(m), B = /* @__PURE__ */ b({
|
159
|
+
__proto__: null,
|
160
|
+
default: j
|
161
|
+
}, [m]);
|
162
|
+
export {
|
163
|
+
B as M
|
164
|
+
};
|
@@ -0,0 +1,127 @@
|
|
1
|
+
import { g as y } from "./index-4sQ1LeGA.mjs";
|
2
|
+
import v from "react";
|
3
|
+
function w(r, e) {
|
4
|
+
for (var t = 0; t < e.length; t++) {
|
5
|
+
const n = e[t];
|
6
|
+
if (typeof n != "string" && !Array.isArray(n)) {
|
7
|
+
for (const a in n)
|
8
|
+
if (a !== "default" && !(a in r)) {
|
9
|
+
const o = Object.getOwnPropertyDescriptor(n, a);
|
10
|
+
o && Object.defineProperty(r, a, o.get ? o : {
|
11
|
+
enumerable: !0,
|
12
|
+
get: () => n[a]
|
13
|
+
});
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
return Object.freeze(Object.defineProperty(r, Symbol.toStringTag, { value: "Module" }));
|
18
|
+
}
|
19
|
+
var P = Object.create, s = Object.defineProperty, O = Object.getOwnPropertyDescriptor, x = Object.getOwnPropertyNames, I = Object.getPrototypeOf, j = Object.prototype.hasOwnProperty, S = (r, e, t) => e in r ? s(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, E = (r, e) => {
|
20
|
+
for (var t in e)
|
21
|
+
s(r, t, { get: e[t], enumerable: !0 });
|
22
|
+
}, _ = (r, e, t, n) => {
|
23
|
+
if (e && typeof e == "object" || typeof e == "function")
|
24
|
+
for (let a of x(e))
|
25
|
+
!j.call(r, a) && a !== t && s(r, a, { get: () => e[a], enumerable: !(n = O(e, a)) || n.enumerable });
|
26
|
+
return r;
|
27
|
+
}, C = (r, e, t) => (t = r != null ? P(I(r)) : {}, _(
|
28
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
29
|
+
// file that has been converted to a CommonJS file using a Babel-
|
30
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
31
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
32
|
+
!r || !r.__esModule ? s(t, "default", { value: r, enumerable: !0 }) : t,
|
33
|
+
r
|
34
|
+
)), N = (r) => _(s({}, "__esModule", { value: !0 }), r), p = (r, e, t) => (S(r, typeof e != "symbol" ? e + "" : e, t), t), g = {};
|
35
|
+
E(g, {
|
36
|
+
default: () => k
|
37
|
+
});
|
38
|
+
var m = N(g), i = C(v);
|
39
|
+
const u = "64px", d = {};
|
40
|
+
class k extends i.Component {
|
41
|
+
constructor() {
|
42
|
+
super(...arguments), p(this, "mounted", !1), p(this, "state", {
|
43
|
+
image: null
|
44
|
+
}), p(this, "handleKeyPress", (e) => {
|
45
|
+
(e.key === "Enter" || e.key === " ") && this.props.onClick();
|
46
|
+
});
|
47
|
+
}
|
48
|
+
componentDidMount() {
|
49
|
+
this.mounted = !0, this.fetchImage(this.props);
|
50
|
+
}
|
51
|
+
componentDidUpdate(e) {
|
52
|
+
const { url: t, light: n } = this.props;
|
53
|
+
(e.url !== t || e.light !== n) && this.fetchImage(this.props);
|
54
|
+
}
|
55
|
+
componentWillUnmount() {
|
56
|
+
this.mounted = !1;
|
57
|
+
}
|
58
|
+
fetchImage({ url: e, light: t, oEmbedUrl: n }) {
|
59
|
+
if (!i.default.isValidElement(t)) {
|
60
|
+
if (typeof t == "string") {
|
61
|
+
this.setState({ image: t });
|
62
|
+
return;
|
63
|
+
}
|
64
|
+
if (d[e]) {
|
65
|
+
this.setState({ image: d[e] });
|
66
|
+
return;
|
67
|
+
}
|
68
|
+
return this.setState({ image: null }), window.fetch(n.replace("{url}", e)).then((a) => a.json()).then((a) => {
|
69
|
+
if (a.thumbnail_url && this.mounted) {
|
70
|
+
const o = a.thumbnail_url.replace("height=100", "height=480").replace("-d_295x166", "-d_640");
|
71
|
+
this.setState({ image: o }), d[e] = o;
|
72
|
+
}
|
73
|
+
});
|
74
|
+
}
|
75
|
+
}
|
76
|
+
render() {
|
77
|
+
const { light: e, onClick: t, playIcon: n, previewTabIndex: a, previewAriaLabel: o } = this.props, { image: f } = this.state, l = i.default.isValidElement(e), h = {
|
78
|
+
display: "flex",
|
79
|
+
alignItems: "center",
|
80
|
+
justifyContent: "center"
|
81
|
+
}, c = {
|
82
|
+
preview: {
|
83
|
+
width: "100%",
|
84
|
+
height: "100%",
|
85
|
+
backgroundImage: f && !l ? `url(${f})` : void 0,
|
86
|
+
backgroundSize: "cover",
|
87
|
+
backgroundPosition: "center",
|
88
|
+
cursor: "pointer",
|
89
|
+
...h
|
90
|
+
},
|
91
|
+
shadow: {
|
92
|
+
background: "radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",
|
93
|
+
borderRadius: u,
|
94
|
+
width: u,
|
95
|
+
height: u,
|
96
|
+
position: l ? "absolute" : void 0,
|
97
|
+
...h
|
98
|
+
},
|
99
|
+
playIcon: {
|
100
|
+
borderStyle: "solid",
|
101
|
+
borderWidth: "16px 0 16px 26px",
|
102
|
+
borderColor: "transparent transparent transparent white",
|
103
|
+
marginLeft: "7px"
|
104
|
+
}
|
105
|
+
}, b = /* @__PURE__ */ i.default.createElement("div", { style: c.shadow, className: "react-player__shadow" }, /* @__PURE__ */ i.default.createElement("div", { style: c.playIcon, className: "react-player__play-icon" }));
|
106
|
+
return /* @__PURE__ */ i.default.createElement(
|
107
|
+
"div",
|
108
|
+
{
|
109
|
+
style: c.preview,
|
110
|
+
className: "react-player__preview",
|
111
|
+
onClick: t,
|
112
|
+
tabIndex: a,
|
113
|
+
onKeyPress: this.handleKeyPress,
|
114
|
+
...o ? { "aria-label": o } : {}
|
115
|
+
},
|
116
|
+
l ? e : null,
|
117
|
+
n || b
|
118
|
+
);
|
119
|
+
}
|
120
|
+
}
|
121
|
+
const D = /* @__PURE__ */ y(m), K = /* @__PURE__ */ w({
|
122
|
+
__proto__: null,
|
123
|
+
default: D
|
124
|
+
}, [m]);
|
125
|
+
export {
|
126
|
+
K as P
|
127
|
+
};
|
@@ -0,0 +1,122 @@
|
|
1
|
+
import { g as P, u as g, p as b } from "./index-4sQ1LeGA.mjs";
|
2
|
+
import v from "react";
|
3
|
+
function O(t, e) {
|
4
|
+
for (var r = 0; r < e.length; r++) {
|
5
|
+
const s = e[r];
|
6
|
+
if (typeof s != "string" && !Array.isArray(s)) {
|
7
|
+
for (const o in s)
|
8
|
+
if (o !== "default" && !(o in t)) {
|
9
|
+
const n = Object.getOwnPropertyDescriptor(s, o);
|
10
|
+
n && Object.defineProperty(t, o, n.get ? n : {
|
11
|
+
enumerable: !0,
|
12
|
+
get: () => s[o]
|
13
|
+
});
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
18
|
+
}
|
19
|
+
var S = Object.create, l = Object.defineProperty, w = Object.getOwnPropertyDescriptor, j = Object.getOwnPropertyNames, C = Object.getPrototypeOf, D = Object.prototype.hasOwnProperty, E = (t, e, r) => e in t ? l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, L = (t, e) => {
|
20
|
+
for (var r in e)
|
21
|
+
l(t, r, { get: e[r], enumerable: !0 });
|
22
|
+
}, c = (t, e, r, s) => {
|
23
|
+
if (e && typeof e == "object" || typeof e == "function")
|
24
|
+
for (let o of j(e))
|
25
|
+
!D.call(t, o) && o !== r && l(t, o, { get: () => e[o], enumerable: !(s = w(e, o)) || s.enumerable });
|
26
|
+
return t;
|
27
|
+
}, R = (t, e, r) => (r = t != null ? S(C(t)) : {}, c(
|
28
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
29
|
+
// file that has been converted to a CommonJS file using a Babel-
|
30
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
31
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
32
|
+
!t || !t.__esModule ? l(r, "default", { value: t, enumerable: !0 }) : r,
|
33
|
+
t
|
34
|
+
)), M = (t) => c(l({}, "__esModule", { value: !0 }), t), a = (t, e, r) => (E(t, typeof e != "symbol" ? e + "" : e, r), r), h = {};
|
35
|
+
L(h, {
|
36
|
+
default: () => u
|
37
|
+
});
|
38
|
+
var f = M(h), p = R(v), d = g, T = b;
|
39
|
+
const N = "https://w.soundcloud.com/player/api.js", A = "SC";
|
40
|
+
class u extends p.Component {
|
41
|
+
constructor() {
|
42
|
+
super(...arguments), a(this, "callPlayer", d.callPlayer), a(this, "duration", null), a(this, "currentTime", null), a(this, "fractionLoaded", null), a(this, "mute", () => {
|
43
|
+
this.setVolume(0);
|
44
|
+
}), a(this, "unmute", () => {
|
45
|
+
this.props.volume !== null && this.setVolume(this.props.volume);
|
46
|
+
}), a(this, "ref", (e) => {
|
47
|
+
this.iframe = e;
|
48
|
+
});
|
49
|
+
}
|
50
|
+
componentDidMount() {
|
51
|
+
this.props.onMount && this.props.onMount(this);
|
52
|
+
}
|
53
|
+
load(e, r) {
|
54
|
+
(0, d.getSDK)(N, A).then((s) => {
|
55
|
+
if (!this.iframe)
|
56
|
+
return;
|
57
|
+
const { PLAY: o, PLAY_PROGRESS: n, PAUSE: _, FINISH: y, ERROR: m } = s.Widget.Events;
|
58
|
+
r || (this.player = s.Widget(this.iframe), this.player.bind(o, this.props.onPlay), this.player.bind(_, () => {
|
59
|
+
this.duration - this.currentTime < 0.05 || this.props.onPause();
|
60
|
+
}), this.player.bind(n, (i) => {
|
61
|
+
this.currentTime = i.currentPosition / 1e3, this.fractionLoaded = i.loadedProgress;
|
62
|
+
}), this.player.bind(y, () => this.props.onEnded()), this.player.bind(m, (i) => this.props.onError(i))), this.player.load(e, {
|
63
|
+
...this.props.config.options,
|
64
|
+
callback: () => {
|
65
|
+
this.player.getDuration((i) => {
|
66
|
+
this.duration = i / 1e3, this.props.onReady();
|
67
|
+
});
|
68
|
+
}
|
69
|
+
});
|
70
|
+
});
|
71
|
+
}
|
72
|
+
play() {
|
73
|
+
this.callPlayer("play");
|
74
|
+
}
|
75
|
+
pause() {
|
76
|
+
this.callPlayer("pause");
|
77
|
+
}
|
78
|
+
stop() {
|
79
|
+
}
|
80
|
+
seekTo(e, r = !0) {
|
81
|
+
this.callPlayer("seekTo", e * 1e3), r || this.pause();
|
82
|
+
}
|
83
|
+
setVolume(e) {
|
84
|
+
this.callPlayer("setVolume", e * 100);
|
85
|
+
}
|
86
|
+
getDuration() {
|
87
|
+
return this.duration;
|
88
|
+
}
|
89
|
+
getCurrentTime() {
|
90
|
+
return this.currentTime;
|
91
|
+
}
|
92
|
+
getSecondsLoaded() {
|
93
|
+
return this.fractionLoaded * this.duration;
|
94
|
+
}
|
95
|
+
render() {
|
96
|
+
const { display: e } = this.props, r = {
|
97
|
+
width: "100%",
|
98
|
+
height: "100%",
|
99
|
+
display: e
|
100
|
+
};
|
101
|
+
return /* @__PURE__ */ p.default.createElement(
|
102
|
+
"iframe",
|
103
|
+
{
|
104
|
+
ref: this.ref,
|
105
|
+
src: `https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,
|
106
|
+
style: r,
|
107
|
+
frameBorder: 0,
|
108
|
+
allow: "autoplay"
|
109
|
+
}
|
110
|
+
);
|
111
|
+
}
|
112
|
+
}
|
113
|
+
a(u, "displayName", "SoundCloud");
|
114
|
+
a(u, "canPlay", T.canPlay.soundcloud);
|
115
|
+
a(u, "loopOnEnded", !0);
|
116
|
+
const x = /* @__PURE__ */ P(f), I = /* @__PURE__ */ O({
|
117
|
+
__proto__: null,
|
118
|
+
default: x
|
119
|
+
}, [f]);
|
120
|
+
export {
|
121
|
+
I as S
|
122
|
+
};
|
@@ -0,0 +1,114 @@
|
|
1
|
+
import { g as m, u as f, p as _ } from "./index-4sQ1LeGA.mjs";
|
2
|
+
import b from "react";
|
3
|
+
function P(t, e) {
|
4
|
+
for (var r = 0; r < e.length; r++) {
|
5
|
+
const s = e[r];
|
6
|
+
if (typeof s != "string" && !Array.isArray(s)) {
|
7
|
+
for (const a in s)
|
8
|
+
if (a !== "default" && !(a in t)) {
|
9
|
+
const i = Object.getOwnPropertyDescriptor(s, a);
|
10
|
+
i && Object.defineProperty(t, a, i.get ? i : {
|
11
|
+
enumerable: !0,
|
12
|
+
get: () => s[a]
|
13
|
+
});
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
18
|
+
}
|
19
|
+
var g = Object.create, l = Object.defineProperty, v = Object.getOwnPropertyDescriptor, O = Object.getOwnPropertyNames, S = Object.getPrototypeOf, j = Object.prototype.hasOwnProperty, L = (t, e, r) => e in t ? l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, w = (t, e) => {
|
20
|
+
for (var r in e)
|
21
|
+
l(t, r, { get: e[r], enumerable: !0 });
|
22
|
+
}, c = (t, e, r, s) => {
|
23
|
+
if (e && typeof e == "object" || typeof e == "function")
|
24
|
+
for (let a of O(e))
|
25
|
+
!j.call(t, a) && a !== r && l(t, a, { get: () => e[a], enumerable: !(s = v(e, a)) || s.enumerable });
|
26
|
+
return t;
|
27
|
+
}, M = (t, e, r) => (r = t != null ? g(S(t)) : {}, c(
|
28
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
29
|
+
// file that has been converted to a CommonJS file using a Babel-
|
30
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
31
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
32
|
+
!t || !t.__esModule ? l(r, "default", { value: t, enumerable: !0 }) : r,
|
33
|
+
t
|
34
|
+
)), D = (t) => c(l({}, "__esModule", { value: !0 }), t), o = (t, e, r) => (L(t, typeof e != "symbol" ? e + "" : e, r), r), h = {};
|
35
|
+
w(h, {
|
36
|
+
default: () => n
|
37
|
+
});
|
38
|
+
var d = D(h), p = M(b), u = f, y = _;
|
39
|
+
const T = "https://cdn.embed.ly/player-0.1.0.min.js", E = "playerjs";
|
40
|
+
class n extends p.Component {
|
41
|
+
constructor() {
|
42
|
+
super(...arguments), o(this, "callPlayer", u.callPlayer), o(this, "duration", null), o(this, "currentTime", null), o(this, "secondsLoaded", null), o(this, "mute", () => {
|
43
|
+
this.callPlayer("mute");
|
44
|
+
}), o(this, "unmute", () => {
|
45
|
+
this.callPlayer("unmute");
|
46
|
+
}), o(this, "ref", (e) => {
|
47
|
+
this.iframe = e;
|
48
|
+
});
|
49
|
+
}
|
50
|
+
componentDidMount() {
|
51
|
+
this.props.onMount && this.props.onMount(this);
|
52
|
+
}
|
53
|
+
load(e) {
|
54
|
+
(0, u.getSDK)(T, E).then((r) => {
|
55
|
+
this.iframe && (this.player = new r.Player(this.iframe), this.player.setLoop(this.props.loop), this.player.on("ready", this.props.onReady), this.player.on("play", this.props.onPlay), this.player.on("pause", this.props.onPause), this.player.on("seeked", this.props.onSeek), this.player.on("ended", this.props.onEnded), this.player.on("error", this.props.onError), this.player.on("timeupdate", ({ duration: s, seconds: a }) => {
|
56
|
+
this.duration = s, this.currentTime = a;
|
57
|
+
}), this.player.on("buffered", ({ percent: s }) => {
|
58
|
+
this.duration && (this.secondsLoaded = this.duration * s);
|
59
|
+
}), this.props.muted && this.player.mute());
|
60
|
+
}, this.props.onError);
|
61
|
+
}
|
62
|
+
play() {
|
63
|
+
this.callPlayer("play");
|
64
|
+
}
|
65
|
+
pause() {
|
66
|
+
this.callPlayer("pause");
|
67
|
+
}
|
68
|
+
stop() {
|
69
|
+
}
|
70
|
+
seekTo(e, r = !0) {
|
71
|
+
this.callPlayer("setCurrentTime", e), r || this.pause();
|
72
|
+
}
|
73
|
+
setVolume(e) {
|
74
|
+
this.callPlayer("setVolume", e * 100);
|
75
|
+
}
|
76
|
+
setLoop(e) {
|
77
|
+
this.callPlayer("setLoop", e);
|
78
|
+
}
|
79
|
+
getDuration() {
|
80
|
+
return this.duration;
|
81
|
+
}
|
82
|
+
getCurrentTime() {
|
83
|
+
return this.currentTime;
|
84
|
+
}
|
85
|
+
getSecondsLoaded() {
|
86
|
+
return this.secondsLoaded;
|
87
|
+
}
|
88
|
+
render() {
|
89
|
+
const e = this.props.url.match(y.MATCH_URL_STREAMABLE)[1], r = {
|
90
|
+
width: "100%",
|
91
|
+
height: "100%"
|
92
|
+
};
|
93
|
+
return /* @__PURE__ */ p.default.createElement(
|
94
|
+
"iframe",
|
95
|
+
{
|
96
|
+
ref: this.ref,
|
97
|
+
src: `https://streamable.com/o/${e}`,
|
98
|
+
frameBorder: "0",
|
99
|
+
scrolling: "no",
|
100
|
+
style: r,
|
101
|
+
allow: "encrypted-media; autoplay; fullscreen;"
|
102
|
+
}
|
103
|
+
);
|
104
|
+
}
|
105
|
+
}
|
106
|
+
o(n, "displayName", "Streamable");
|
107
|
+
o(n, "canPlay", y.canPlay.streamable);
|
108
|
+
const A = /* @__PURE__ */ m(d), x = /* @__PURE__ */ P({
|
109
|
+
__proto__: null,
|
110
|
+
default: A
|
111
|
+
}, [d]);
|
112
|
+
export {
|
113
|
+
x as S
|
114
|
+
};
|