@bbl-digital/snorre 4.0.45 → 4.0.47
Sign up to get free protection for your applications and to get access to all the features.
- package/.husky/_/husky.sh +30 -30
- package/.prettierrc +6 -6
- package/.vscode/settings.json +3 -3
- package/README.md +3 -3
- package/dist/bundle.js +608 -593
- package/esm/app-shell/index.js +2 -2
- package/esm/core/Alert/styles.js +6 -6
- package/esm/core/AppLoader/styles.js +1 -1
- package/esm/core/Autocomplete/styles.js +18 -18
- package/esm/core/Banner/styles.js +4 -4
- package/esm/core/BarAndLineComposedChart/styles.js +1 -1
- package/esm/core/BarChartWithCustomizedEvent/styles.js +1 -1
- package/esm/core/Box/styles.js +7 -7
- package/esm/core/BoxedTable/DraggableRow/styles.js +5 -5
- package/esm/core/BoxedTable/HeaderCell/styles.js +2 -2
- package/esm/core/BoxedTable/RowCell/index.js +1 -1
- package/esm/core/BoxedTable/RowCell/styles.js +9 -9
- package/esm/core/BoxedTable/TableHeader/styles.js +1 -1
- package/esm/core/BoxedTable/TableRow/styles.js +8 -8
- package/esm/core/BoxedTable/styles.js +11 -11
- package/esm/core/Button/styles.js +19 -19
- package/esm/core/Calendar/CalendarEvent/styles.js +5 -5
- package/esm/core/Calendar/CalendarSmallEvent/styles.js +5 -5
- package/esm/core/Calendar/styles.js +5 -5
- package/esm/core/Card/styles.js +11 -11
- package/esm/core/Checkbox/styles.js +5 -5
- package/esm/core/CollapseList/styles.js +2 -2
- package/esm/core/CommentsTimeline/CommentLine/styles.js +4 -4
- package/esm/core/CommentsTimeline/styles.js +1 -1
- package/esm/core/CustomText/styles.js +2 -2
- package/esm/core/Datepicker/styles.js +9 -9
- package/esm/core/DatepickerRange/styles.js +9 -9
- package/esm/core/Divider/styles.js +5 -5
- package/esm/core/Dropdown/styles.js +3 -3
- package/esm/core/DropdownMenu/styles.js +3 -3
- package/esm/core/Editor/styles.js +4 -4
- package/esm/core/FileInput/styles.js +14 -14
- package/esm/core/GoogleButton/styles.js +1 -1
- package/esm/core/Header/styles.js +7 -7
- package/esm/core/HighlightText/styles.js +1 -1
- package/esm/core/Html/styles.js +6 -6
- package/esm/core/Image/styles.js +6 -6
- package/esm/core/ImagePicker/IconWithBackground.js +1 -1
- package/esm/core/ImagePicker/UploadButton.js +1 -1
- package/esm/core/ImagePicker/styles.js +11 -11
- package/esm/core/ImageViewer/index.js +1 -1
- package/esm/core/ImageViewer/styles.js +7 -7
- package/esm/core/InfoButton/styles.js +9 -9
- package/esm/core/Input/index.js +1 -1
- package/esm/core/Input/styles.js +18 -18
- package/esm/core/Link/styles.js +10 -10
- package/esm/core/List/Item.js +1 -1
- package/esm/core/List/styles.js +11 -11
- package/esm/core/ListPager/styles.js +3 -3
- package/esm/core/MediaCarousel/styles.js +6 -6
- package/esm/core/Modal/ActionButtons/index.js +1 -1
- package/esm/core/Modal/styles.js +8 -8
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
- package/esm/core/NoticeCard/styles.js +4 -4
- package/esm/core/NotificationCounter/styles.js +1 -1
- package/esm/core/NotificationsMenu/NotificationRow/styles.js +3 -3
- package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +3 -1
- package/esm/core/NotificationsMenu/index.js +33 -17
- package/esm/core/NotificationsMenu/styles.js +3 -3
- package/esm/core/PieChart/styles.js +2 -2
- package/esm/core/PreemptionCard/styles.js +3 -3
- package/esm/core/PreemptionCardLoading/styles.js +3 -3
- package/esm/core/Radio/styles.js +4 -4
- package/esm/core/SearchFilter/index.js +1 -1
- package/esm/core/SearchFilter/styles.js +14 -14
- package/esm/core/SearchSelect/styles.js +5 -5
- package/esm/core/Select/index.js +1 -1
- package/esm/core/Select/styles.js +18 -18
- package/esm/core/SimpleBarChart/styles.js +1 -1
- package/esm/core/SimpleLineChart/styles.js +1 -1
- package/esm/core/Skeleton/styles.js +4 -4
- package/esm/core/Spinner/styles.js +5 -5
- package/esm/core/Stepper/MobileStep/styles.js +7 -7
- package/esm/core/Stepper/Step/index.js +1 -1
- package/esm/core/Stepper/Step/styles.js +5 -5
- package/esm/core/Stepper/styles.js +3 -3
- package/esm/core/TabBar/TabItem/styles.js +1 -1
- package/esm/core/TabBar/styles.js +1 -1
- package/esm/core/TabNav/TabNavItem/styles.js +5 -5
- package/esm/core/TabNav/styles.js +8 -8
- package/esm/core/Table/styles.js +16 -16
- package/esm/core/Tag/styles.js +13 -13
- package/esm/core/Text/styles.js +16 -16
- package/esm/core/Textarea/styles.js +7 -7
- package/esm/core/Timeline/TimelineStep/styles.js +6 -6
- package/esm/core/Timeline/styles.js +1 -1
- package/esm/core/Timepicker/index.js +3 -3
- package/esm/core/Timepicker/styles.js +7 -7
- package/esm/core/Tooltip/styles.js +2 -2
- package/esm/core/UnitIllustration/index.js +9 -9
- package/esm/core/UserMenu/styles.js +7 -7
- package/esm/core/Video/styles.js +1 -1
- package/esm/core/YearWheel/styles.js +3 -3
- package/esm/enums/Keyboard.js +2 -2
- package/esm/globals/styles/styles.js +1 -1
- package/esm/illustrations/styles.js +2 -2
- package/esm/layout/Footer/FooterButton/styles.js +1 -1
- package/esm/layout/Footer/FooterCol/styles.js +1 -1
- package/esm/layout/Footer/FooterGroup/styles.js +1 -1
- package/esm/layout/Footer/FooterLabel/styles.js +1 -1
- package/esm/layout/Footer/FooterLink/styles.js +1 -1
- package/esm/layout/Footer/styles.js +2 -2
- package/esm/layout/Layout/styles.js +1 -1
- package/esm/layout/LayoutShell/styles.js +8 -8
- package/esm/layout/Menu/AppPicker/styles.js +5 -5
- package/esm/layout/Menu/MainMenu/styles.js +1 -1
- package/esm/layout/Menu/MenuItem/styles.js +2 -2
- package/esm/layout/Menu/MenuSpacer/styles.js +1 -1
- package/esm/layout/Menu/MenuTop/styles.js +3 -3
- package/esm/layout/Menu/SecondaryMenu/styles.js +4 -4
- package/esm/layout/Menu/SecondaryMenuItem/styles.js +1 -1
- package/esm/layout/Menu/styles.js +1 -1
- package/esm/layout/Submenu/SubmenuItem/styles.js +3 -3
- package/esm/layout/Submenu/styles.js +10 -10
- package/esm/layout/Topbar/styles.js +1 -1
- package/esm/shared/components/SbIconGrid/index.js +1 -1
- package/esm/shared/components/VisuallyHidden/index.js +4 -4
- package/esm/shared/recharts/CustomLegend/styles.js +2 -2
- package/esm/shared/recharts/CustomTooltip/styles.js +3 -3
- package/esm/utils/time.js +14 -14
- package/infrastructure/azure-pipelines.yml +34 -34
- package/jest.config.js +29 -29
- package/lib/app-shell/index.d.ts +13 -13
- package/lib/app-shell/index.js +2 -2
- package/lib/app-shell/theme.d.ts +187 -187
- package/lib/core/Alert/Alert.stories.d.ts +10 -10
- package/lib/core/Alert/index.d.ts +25 -25
- package/lib/core/Alert/styles.d.ts +11 -11
- package/lib/core/Alert/styles.js +6 -6
- package/lib/core/AppLoader/AppLoader.stories.d.ts +6 -6
- package/lib/core/AppLoader/index.d.ts +8 -8
- package/lib/core/AppLoader/styles.d.ts +6 -6
- package/lib/core/AppLoader/styles.js +1 -1
- package/lib/core/Autocomplete/Autocomplete.stories.d.ts +70 -70
- package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts +20 -20
- package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts +7 -7
- package/lib/core/Autocomplete/index.d.ts +6 -6
- package/lib/core/Autocomplete/index.interfaces.d.ts +82 -82
- package/lib/core/Autocomplete/styles.d.ts +64 -64
- package/lib/core/Autocomplete/styles.js +18 -18
- package/lib/core/Banner/Banner.stories.d.ts +11 -11
- package/lib/core/Banner/index.d.ts +18 -18
- package/lib/core/Banner/styles.d.ts +17 -17
- package/lib/core/Banner/styles.js +4 -4
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +8 -8
- package/lib/core/BarAndLineComposedChart/index.d.ts +58 -58
- package/lib/core/BarAndLineComposedChart/styles.d.ts +8 -8
- package/lib/core/BarAndLineComposedChart/styles.js +1 -1
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +14 -14
- package/lib/core/BarChartWithCustomizedEvent/index.d.ts +56 -56
- package/lib/core/BarChartWithCustomizedEvent/styles.d.ts +10 -10
- package/lib/core/BarChartWithCustomizedEvent/styles.js +1 -1
- package/lib/core/Box/Box.stories.d.ts +14 -14
- package/lib/core/Box/index.d.ts +30 -30
- package/lib/core/Box/styles.d.ts +61 -61
- package/lib/core/Box/styles.js +7 -7
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts +35 -35
- package/lib/core/BoxedTable/DraggableRow/index.d.ts +16 -16
- package/lib/core/BoxedTable/DraggableRow/styles.d.ts +21 -21
- package/lib/core/BoxedTable/DraggableRow/styles.js +5 -5
- package/lib/core/BoxedTable/HeaderCell/index.d.ts +24 -24
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts +3 -3
- package/lib/core/BoxedTable/HeaderCell/styles.js +2 -2
- package/lib/core/BoxedTable/RowCell/index.d.ts +26 -26
- package/lib/core/BoxedTable/RowCell/index.js +1 -1
- package/lib/core/BoxedTable/RowCell/styles.d.ts +12 -12
- package/lib/core/BoxedTable/RowCell/styles.js +9 -9
- package/lib/core/BoxedTable/TableHeader/index.d.ts +7 -7
- package/lib/core/BoxedTable/TableHeader/styles.d.ts +5 -5
- package/lib/core/BoxedTable/TableHeader/styles.js +1 -1
- package/lib/core/BoxedTable/TableRow/index.d.ts +19 -19
- package/lib/core/BoxedTable/TableRow/styles.d.ts +25 -25
- package/lib/core/BoxedTable/TableRow/styles.js +8 -8
- package/lib/core/BoxedTable/index.d.ts +18 -18
- package/lib/core/BoxedTable/models.d.ts +5 -5
- package/lib/core/BoxedTable/styles.d.ts +15 -15
- package/lib/core/BoxedTable/styles.js +11 -11
- package/lib/core/Button/Button.stories.d.ts +20 -20
- package/lib/core/Button/index.d.ts +85 -85
- package/lib/core/Button/styles.d.ts +25 -25
- package/lib/core/Button/styles.js +19 -19
- package/lib/core/Calendar/Calendar.stories.d.ts +15 -15
- package/lib/core/Calendar/CalendarEvent/index.d.ts +9 -9
- package/lib/core/Calendar/CalendarEvent/styles.d.ts +18 -18
- package/lib/core/Calendar/CalendarEvent/styles.js +5 -5
- package/lib/core/Calendar/CalendarSmallEvent/index.d.ts +9 -9
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +18 -18
- package/lib/core/Calendar/CalendarSmallEvent/styles.js +5 -5
- package/lib/core/Calendar/index.d.ts +14 -14
- package/lib/core/Calendar/styles.d.ts +20 -20
- package/lib/core/Calendar/styles.js +5 -5
- package/lib/core/Calendar/util.d.ts +2 -2
- package/lib/core/Card/Card.stories.d.ts +34 -34
- package/lib/core/Card/index.d.ts +32 -32
- package/lib/core/Card/styles.d.ts +16 -16
- package/lib/core/Card/styles.js +11 -11
- package/lib/core/Checkbox/Checkbox.stories.d.ts +10 -10
- package/lib/core/Checkbox/index.d.ts +32 -32
- package/lib/core/Checkbox/styles.d.ts +10 -10
- package/lib/core/Checkbox/styles.js +5 -5
- package/lib/core/CollapseList/CollapseList.stories.d.ts +7 -7
- package/lib/core/CollapseList/Item.d.ts +11 -11
- package/lib/core/CollapseList/index.d.ts +8 -8
- package/lib/core/CollapseList/styles.d.ts +46 -46
- package/lib/core/CollapseList/styles.js +2 -2
- package/lib/core/CommentsTimeline/CommentLine/index.d.ts +23 -23
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts +14 -14
- package/lib/core/CommentsTimeline/CommentLine/styles.js +4 -4
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +7 -7
- package/lib/core/CommentsTimeline/index.d.ts +7 -7
- package/lib/core/CommentsTimeline/styles.d.ts +5 -5
- package/lib/core/CommentsTimeline/styles.js +1 -1
- package/lib/core/CustomText/CustomText.stories.d.ts +9 -9
- package/lib/core/CustomText/index.d.ts +24 -24
- package/lib/core/CustomText/styles.d.ts +6 -6
- package/lib/core/CustomText/styles.js +2 -2
- package/lib/core/Datepicker/Datepicker.stories.d.ts +27 -27
- package/lib/core/Datepicker/index.d.ts +30 -30
- package/lib/core/Datepicker/styles.d.ts +38 -28
- package/lib/core/Datepicker/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/styles.js +9 -9
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +6 -6
- package/lib/core/DatepickerRange/index.d.ts +49 -49
- package/lib/core/DatepickerRange/styles.d.ts +28 -28
- package/lib/core/DatepickerRange/styles.js +9 -9
- package/lib/core/Divider/index.d.ts +21 -21
- package/lib/core/Divider/styles.d.ts +10 -10
- package/lib/core/Divider/styles.js +5 -5
- package/lib/core/Dropdown/Dropdown.stories.d.ts +10 -10
- package/lib/core/Dropdown/index.d.ts +25 -25
- package/lib/core/Dropdown/styles.d.ts +8 -8
- package/lib/core/Dropdown/styles.js +3 -3
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +8 -8
- package/lib/core/DropdownMenu/DropdownMenuOption.d.ts +12 -12
- package/lib/core/DropdownMenu/index.d.ts +11 -11
- package/lib/core/DropdownMenu/styles.d.ts +11 -11
- package/lib/core/DropdownMenu/styles.js +3 -3
- package/lib/core/Editor/Editor.stories.d.ts +10 -10
- package/lib/core/Editor/config.d.ts +5 -5
- package/lib/core/Editor/index.d.ts +40 -40
- package/lib/core/Editor/styles.d.ts +14 -14
- package/lib/core/Editor/styles.js +4 -4
- package/lib/core/FileInput/FileInput.stories.d.ts +15 -15
- package/lib/core/FileInput/index.d.ts +37 -37
- package/lib/core/FileInput/styles.d.ts +91 -91
- package/lib/core/FileInput/styles.js +14 -14
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts +6 -6
- package/lib/core/GoogleButton/index.d.ts +8 -8
- package/lib/core/GoogleButton/styles.d.ts +5 -5
- package/lib/core/GoogleButton/styles.js +1 -1
- package/lib/core/Header/Header.stories.d.ts +13 -13
- package/lib/core/Header/index.d.ts +24 -24
- package/lib/core/Header/styles.d.ts +12 -12
- package/lib/core/Header/styles.js +7 -7
- package/lib/core/HighlightText/HighlightText.stories.d.ts +7 -7
- package/lib/core/HighlightText/index.d.ts +11 -11
- package/lib/core/HighlightText/styles.d.ts +5 -5
- package/lib/core/HighlightText/styles.js +1 -1
- package/lib/core/Html/Html.stories.d.ts +9 -9
- package/lib/core/Html/index.d.ts +20 -20
- package/lib/core/Html/styles.d.ts +11 -11
- package/lib/core/Html/styles.js +6 -6
- package/lib/core/Image/Image.stories.d.ts +10 -10
- package/lib/core/Image/index.d.ts +29 -29
- package/lib/core/Image/styles.d.ts +11 -11
- package/lib/core/Image/styles.js +6 -6
- package/lib/core/ImagePicker/IconWithBackground.d.ts +8 -8
- package/lib/core/ImagePicker/IconWithBackground.js +1 -1
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts +6 -6
- package/lib/core/ImagePicker/UploadButton.d.ts +9 -9
- package/lib/core/ImagePicker/UploadButton.js +1 -1
- package/lib/core/ImagePicker/index.d.ts +14 -14
- package/lib/core/ImagePicker/styles.d.ts +19 -19
- package/lib/core/ImagePicker/styles.js +11 -11
- package/lib/core/ImageViewer/ImageViewer.stories.d.ts +6 -6
- package/lib/core/ImageViewer/index.d.ts +10 -10
- package/lib/core/ImageViewer/index.js +1 -1
- package/lib/core/ImageViewer/styles.d.ts +9 -9
- package/lib/core/ImageViewer/styles.js +7 -7
- package/lib/core/InfoButton/InfoButton.stories.d.ts +10 -10
- package/lib/core/InfoButton/index.d.ts +22 -22
- package/lib/core/InfoButton/styles.d.ts +58 -58
- package/lib/core/InfoButton/styles.js +9 -9
- package/lib/core/Input/Input.stories.d.ts +22 -22
- package/lib/core/Input/index.d.ts +59 -59
- package/lib/core/Input/index.js +1 -1
- package/lib/core/Input/styles.d.ts +23 -23
- package/lib/core/Input/styles.js +18 -18
- package/lib/core/Link/Link.stories.d.ts +14 -14
- package/lib/core/Link/index.d.ts +25 -25
- package/lib/core/Link/styles.d.ts +15 -15
- package/lib/core/Link/styles.js +10 -10
- package/lib/core/List/Item.d.ts +6 -6
- package/lib/core/List/Item.js +1 -1
- package/lib/core/List/List.stories.d.ts +14 -14
- package/lib/core/List/index.d.ts +35 -35
- package/lib/core/List/styles.d.ts +34 -34
- package/lib/core/List/styles.js +11 -11
- package/lib/core/ListPager/ListPager.stories.d.ts +6 -6
- package/lib/core/ListPager/index.d.ts +15 -15
- package/lib/core/ListPager/styles.d.ts +10 -10
- package/lib/core/ListPager/styles.js +3 -3
- package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts +7 -7
- package/lib/core/MediaCarousel/index.d.ts +28 -28
- package/lib/core/MediaCarousel/styles.d.ts +27 -27
- package/lib/core/MediaCarousel/styles.js +6 -6
- package/lib/core/Modal/ActionButtons/index.d.ts +9 -9
- package/lib/core/Modal/ActionButtons/index.js +1 -1
- package/lib/core/Modal/Modal.stories.d.ts +11 -11
- package/lib/core/Modal/index.d.ts +52 -52
- package/lib/core/Modal/styles.d.ts +42 -42
- package/lib/core/Modal/styles.js +8 -8
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts +11 -11
- package/lib/core/NoticeCard/index.d.ts +22 -22
- package/lib/core/NoticeCard/models.d.ts +30 -30
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.d.ts +9 -9
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts +19 -19
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.d.ts +8 -8
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts +5 -5
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts +11 -11
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts +13 -13
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
- package/lib/core/NoticeCard/styles.d.ts +19 -19
- package/lib/core/NoticeCard/styles.js +4 -4
- package/lib/core/NoticeCard/utils.d.ts +3 -3
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +11 -11
- package/lib/core/NotificationCounter/index.d.ts +12 -12
- package/lib/core/NotificationCounter/styles.d.ts +4 -4
- package/lib/core/NotificationCounter/styles.js +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.d.ts +17 -17
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts +52 -52
- package/lib/core/NotificationsMenu/NotificationRow/styles.js +3 -3
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +7 -7
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +3 -1
- package/lib/core/NotificationsMenu/index.d.ts +17 -15
- package/lib/core/NotificationsMenu/index.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/index.js +33 -17
- package/lib/core/NotificationsMenu/styles.d.ts +15 -15
- package/lib/core/NotificationsMenu/styles.js +3 -3
- package/lib/core/PieChart/ActiveShape/index.d.ts +4 -4
- package/lib/core/PieChart/PieChart.stories.d.ts +20 -20
- package/lib/core/PieChart/index.d.ts +30 -30
- package/lib/core/PieChart/renderTextContent/index.d.ts +4 -4
- package/lib/core/PieChart/styles.d.ts +14 -14
- package/lib/core/PieChart/styles.js +2 -2
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +6 -6
- package/lib/core/PreemptionCard/index.d.ts +9 -9
- package/lib/core/PreemptionCard/models.d.ts +115 -115
- package/lib/core/PreemptionCard/styles.d.ts +10 -10
- package/lib/core/PreemptionCard/styles.js +3 -3
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +7 -7
- package/lib/core/PreemptionCardLoading/index.d.ts +5 -5
- package/lib/core/PreemptionCardLoading/styles.d.ts +13 -13
- package/lib/core/PreemptionCardLoading/styles.js +3 -3
- package/lib/core/Radio/Radio.stories.d.ts +19 -19
- package/lib/core/Radio/index.d.ts +24 -24
- package/lib/core/Radio/styles.d.ts +9 -9
- package/lib/core/Radio/styles.js +4 -4
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts +19 -19
- package/lib/core/SearchFilter/index.d.ts +29 -29
- package/lib/core/SearchFilter/index.js +1 -1
- package/lib/core/SearchFilter/styles.d.ts +33 -33
- package/lib/core/SearchFilter/styles.js +14 -14
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts +12 -12
- package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts +10 -10
- package/lib/core/SearchSelect/index.d.ts +5 -5
- package/lib/core/SearchSelect/interface/IProps.d.ts +38 -38
- package/lib/core/SearchSelect/styles.d.ts +20 -20
- package/lib/core/SearchSelect/styles.js +5 -5
- package/lib/core/Select/Option.d.ts +22 -22
- package/lib/core/Select/Select.stories.d.ts +47 -47
- package/lib/core/Select/index.d.ts +53 -53
- package/lib/core/Select/index.js +1 -1
- package/lib/core/Select/styles.d.ts +32 -32
- package/lib/core/Select/styles.js +18 -18
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +29 -29
- package/lib/core/SimpleBarChart/index.d.ts +56 -56
- package/lib/core/SimpleBarChart/styles.d.ts +8 -8
- package/lib/core/SimpleBarChart/styles.js +1 -1
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +8 -8
- package/lib/core/SimpleLineChart/index.d.ts +65 -65
- package/lib/core/SimpleLineChart/styles.d.ts +8 -8
- package/lib/core/SimpleLineChart/styles.js +1 -1
- package/lib/core/Skeleton/Skeleton.stories.d.ts +36 -36
- package/lib/core/Skeleton/index.d.ts +15 -15
- package/lib/core/Skeleton/styles.d.ts +20 -20
- package/lib/core/Skeleton/styles.js +4 -4
- package/lib/core/Spinner/Spinner.stories.d.ts +19 -19
- package/lib/core/Spinner/index.d.ts +11 -11
- package/lib/core/Spinner/styles.d.ts +10 -10
- package/lib/core/Spinner/styles.js +5 -5
- package/lib/core/Stepper/MobileStep/index.d.ts +8 -8
- package/lib/core/Stepper/MobileStep/styles.d.ts +31 -31
- package/lib/core/Stepper/MobileStep/styles.js +7 -7
- package/lib/core/Stepper/Step/index.d.ts +11 -11
- package/lib/core/Stepper/Step/index.js +1 -1
- package/lib/core/Stepper/Step/styles.d.ts +27 -27
- package/lib/core/Stepper/Step/styles.js +5 -5
- package/lib/core/Stepper/Stepper.stories.d.ts +6 -6
- package/lib/core/Stepper/index.d.ts +17 -17
- package/lib/core/Stepper/styles.d.ts +13 -13
- package/lib/core/Stepper/styles.js +3 -3
- package/lib/core/TabBar/TabBar.stories.d.ts +7 -7
- package/lib/core/TabBar/TabItem/index.d.ts +13 -13
- package/lib/core/TabBar/TabItem/styles.d.ts +5 -5
- package/lib/core/TabBar/TabItem/styles.js +1 -1
- package/lib/core/TabBar/index.d.ts +7 -7
- package/lib/core/TabBar/styles.d.ts +5 -5
- package/lib/core/TabBar/styles.js +1 -1
- package/lib/core/TabNav/TabContext.d.ts +18 -18
- package/lib/core/TabNav/TabNav.stories.d.ts +47 -47
- package/lib/core/TabNav/TabNavItem/index.d.ts +34 -34
- package/lib/core/TabNav/TabNavItem/styles.d.ts +26 -26
- package/lib/core/TabNav/TabNavItem/styles.js +5 -5
- package/lib/core/TabNav/index.d.ts +30 -30
- package/lib/core/TabNav/styles.d.ts +24 -24
- package/lib/core/TabNav/styles.js +8 -8
- package/lib/core/TabNav/utils/useContainerDimensions.d.ts +7 -7
- package/lib/core/Table/Cell.d.ts +22 -22
- package/lib/core/Table/Row.d.ts +21 -21
- package/lib/core/Table/Table.stories.d.ts +11 -11
- package/lib/core/Table/index.d.ts +14 -14
- package/lib/core/Table/styles.d.ts +26 -26
- package/lib/core/Table/styles.js +16 -16
- package/lib/core/Tag/Tag.stories.d.ts +20 -20
- package/lib/core/Tag/index.d.ts +48 -48
- package/lib/core/Tag/styles.d.ts +18 -18
- package/lib/core/Tag/styles.js +13 -13
- package/lib/core/Text/Text.stories.d.ts +20 -20
- package/lib/core/Text/index.d.ts +47 -47
- package/lib/core/Text/styles.d.ts +20 -20
- package/lib/core/Text/styles.js +16 -16
- package/lib/core/Textarea/Textarea.stories.d.ts +10 -10
- package/lib/core/Textarea/index.d.ts +28 -28
- package/lib/core/Textarea/styles.d.ts +17 -17
- package/lib/core/Textarea/styles.js +7 -7
- package/lib/core/Timeline/Timeline.stories.d.ts +7 -7
- package/lib/core/Timeline/TimelineStep/index.d.ts +14 -14
- package/lib/core/Timeline/TimelineStep/styles.d.ts +16 -16
- package/lib/core/Timeline/TimelineStep/styles.js +6 -6
- package/lib/core/Timeline/index.d.ts +7 -7
- package/lib/core/Timeline/styles.d.ts +5 -5
- package/lib/core/Timeline/styles.js +1 -1
- package/lib/core/Timepicker/Timepicker.stories.d.ts +31 -31
- package/lib/core/Timepicker/index.d.ts +38 -38
- package/lib/core/Timepicker/index.js +3 -3
- package/lib/core/Timepicker/styles.d.ts +19 -19
- package/lib/core/Timepicker/styles.js +7 -7
- package/lib/core/Tooltip/Tooptip.stories.d.ts +7 -7
- package/lib/core/Tooltip/index.d.ts +11 -11
- package/lib/core/Tooltip/styles.d.ts +5 -5
- package/lib/core/Tooltip/styles.js +2 -2
- package/lib/core/UnitIllustration/index.d.ts +6 -6
- package/lib/core/UnitIllustration/index.js +9 -9
- package/lib/core/UserMenu/UserMenu.stories.d.ts +19 -19
- package/lib/core/UserMenu/UserMenuOption.d.ts +10 -10
- package/lib/core/UserMenu/index.d.ts +25 -25
- package/lib/core/UserMenu/styles.d.ts +34 -34
- package/lib/core/UserMenu/styles.js +7 -7
- package/lib/core/Video/Video.stories.d.ts +15 -15
- package/lib/core/Video/index.d.ts +31 -31
- package/lib/core/Video/styles.d.ts +5 -5
- package/lib/core/Video/styles.js +1 -1
- package/lib/core/YearWheel/YearWheel.stories.d.ts +11 -11
- package/lib/core/YearWheel/index.d.ts +10 -10
- package/lib/core/YearWheel/styles.d.ts +8 -8
- package/lib/core/YearWheel/styles.js +3 -3
- package/lib/core/private/ButtonOrLink.d.ts +91 -91
- package/lib/core/private/preemption.d.ts +5 -5
- package/lib/core/utils/debounce.d.ts +2 -2
- package/lib/enums/Keyboard.d.ts +14 -14
- package/lib/enums/Keyboard.js +2 -2
- package/lib/globals/styles/breakpoints.d.ts +9 -9
- package/lib/globals/styles/paddings.d.ts +8 -8
- package/lib/globals/styles/styles.d.ts +1 -1
- package/lib/globals/styles/styles.js +1 -1
- package/lib/globals/validation/regularExpressions.d.ts +10 -10
- package/lib/hooks/useIsMobile.d.ts +1 -1
- package/lib/hooks/useScreenOrientation.d.ts +2 -2
- package/lib/icons/General/IconApartment.d.ts +3 -3
- package/lib/icons/General/IconArchives.d.ts +3 -3
- package/lib/icons/General/IconArea.d.ts +3 -3
- package/lib/icons/General/IconArrowDown.d.ts +3 -3
- package/lib/icons/General/IconArrowLeft.d.ts +3 -3
- package/lib/icons/General/IconArrowRight.d.ts +3 -3
- package/lib/icons/General/IconArrowUp.d.ts +3 -3
- package/lib/icons/General/IconAttachment.d.ts +3 -3
- package/lib/icons/General/IconAuditorFilled.d.ts +3 -3
- package/lib/icons/General/IconAuditorOutline.d.ts +3 -3
- package/lib/icons/General/IconBack.d.ts +3 -3
- package/lib/icons/General/IconBath.d.ts +3 -3
- package/lib/icons/General/IconBblFlame.d.ts +3 -3
- package/lib/icons/General/IconBblShield.d.ts +3 -3
- package/lib/icons/General/IconBblWater.d.ts +3 -3
- package/lib/icons/General/IconBellFilled.d.ts +3 -3
- package/lib/icons/General/IconBellOutline.d.ts +3 -3
- package/lib/icons/General/IconBlock.d.ts +3 -3
- package/lib/icons/General/IconBoard.d.ts +3 -3
- package/lib/icons/General/IconBookmarkFilled.d.ts +3 -3
- package/lib/icons/General/IconBookmarkOutline.d.ts +3 -3
- package/lib/icons/General/IconBus.d.ts +3 -3
- package/lib/icons/General/IconCalendar.d.ts +3 -3
- package/lib/icons/General/IconCamera.d.ts +3 -3
- package/lib/icons/General/IconCar.d.ts +3 -3
- package/lib/icons/General/IconCaretDown.d.ts +3 -3
- package/lib/icons/General/IconCaretLeft.d.ts +3 -3
- package/lib/icons/General/IconCaretRight.d.ts +3 -3
- package/lib/icons/General/IconCaretUp.d.ts +3 -3
- package/lib/icons/General/IconCases.d.ts +3 -3
- package/lib/icons/General/IconCheck.d.ts +3 -3
- package/lib/icons/General/IconCheckedFilled.d.ts +3 -3
- package/lib/icons/General/IconCheckedOutline.d.ts +3 -3
- package/lib/icons/General/IconChevronDown.d.ts +3 -3
- package/lib/icons/General/IconChevronLeft.d.ts +3 -3
- package/lib/icons/General/IconChevronRight.d.ts +3 -3
- package/lib/icons/General/IconChoice.d.ts +3 -3
- package/lib/icons/General/IconClose.d.ts +3 -3
- package/lib/icons/General/IconCloseAlt.d.ts +3 -3
- package/lib/icons/General/IconComment.d.ts +3 -3
- package/lib/icons/General/IconCommunication.d.ts +3 -3
- package/lib/icons/General/IconCommunicationFilled.d.ts +3 -3
- package/lib/icons/General/IconCompanyBuilding.d.ts +3 -3
- package/lib/icons/General/IconCompanyBuildingFilled.d.ts +3 -3
- package/lib/icons/General/IconCompanyBuildingOutline.d.ts +3 -3
- package/lib/icons/General/IconDashboard.d.ts +3 -3
- package/lib/icons/General/IconDashboardFilled.d.ts +3 -3
- package/lib/icons/General/IconDelete.d.ts +3 -3
- package/lib/icons/General/IconDocument.d.ts +3 -3
- package/lib/icons/General/IconDocumentFilled.d.ts +3 -3
- package/lib/icons/General/IconDoor.d.ts +3 -3
- package/lib/icons/General/IconDotFilled.d.ts +3 -3
- package/lib/icons/General/IconDotOutline.d.ts +3 -3
- package/lib/icons/General/IconDownload.d.ts +3 -3
- package/lib/icons/General/IconDraft.d.ts +3 -3
- package/lib/icons/General/IconEarth.d.ts +3 -3
- package/lib/icons/General/IconEconomy.d.ts +3 -3
- package/lib/icons/General/IconEconomyFilled.d.ts +3 -3
- package/lib/icons/General/IconEdit.d.ts +3 -3
- package/lib/icons/General/IconElevator.d.ts +3 -3
- package/lib/icons/General/IconErrorFilled.d.ts +3 -3
- package/lib/icons/General/IconErrorOutline.d.ts +3 -3
- package/lib/icons/General/IconExternalLink.d.ts +3 -3
- package/lib/icons/General/IconEye.d.ts +3 -3
- package/lib/icons/General/IconEyeDeny.d.ts +3 -3
- package/lib/icons/General/IconFamily.d.ts +3 -3
- package/lib/icons/General/IconFerry.d.ts +3 -3
- package/lib/icons/General/IconFile.d.ts +3 -3
- package/lib/icons/General/IconFileAdd.d.ts +3 -3
- package/lib/icons/General/IconFileCopy.d.ts +3 -3
- package/lib/icons/General/IconFileEdit.d.ts +3 -3
- package/lib/icons/General/IconFileExcel.d.ts +3 -3
- package/lib/icons/General/IconFilePDF.d.ts +3 -3
- package/lib/icons/General/IconFileWord.d.ts +3 -3
- package/lib/icons/General/IconFillOut.d.ts +3 -3
- package/lib/icons/General/IconFilterList.d.ts +3 -3
- package/lib/icons/General/IconFloor.d.ts +3 -3
- package/lib/icons/General/IconForward.d.ts +3 -3
- package/lib/icons/General/IconFullscreenClose.d.ts +3 -3
- package/lib/icons/General/IconFullscreenOpen.d.ts +3 -3
- package/lib/icons/General/IconGarage.d.ts +3 -3
- package/lib/icons/General/IconGrid.d.ts +3 -3
- package/lib/icons/General/IconGym.d.ts +3 -3
- package/lib/icons/General/IconHearth.d.ts +3 -3
- package/lib/icons/General/IconHearthOutline.d.ts +3 -3
- package/lib/icons/General/IconHelp.d.ts +3 -3
- package/lib/icons/General/IconHistory.d.ts +3 -3
- package/lib/icons/General/IconHomeFilled.d.ts +3 -3
- package/lib/icons/General/IconHomeOutline.d.ts +3 -3
- package/lib/icons/General/IconHouse.d.ts +3 -3
- package/lib/icons/General/IconHouseBlockFilled.d.ts +3 -3
- package/lib/icons/General/IconHouseBlockOutline.d.ts +3 -3
- package/lib/icons/General/IconHouseOutline.d.ts +3 -3
- package/lib/icons/General/IconHumans.d.ts +3 -3
- package/lib/icons/General/IconImage.d.ts +3 -3
- package/lib/icons/General/IconImportantComment.d.ts +3 -3
- package/lib/icons/General/IconInbox.d.ts +3 -3
- package/lib/icons/General/IconInfoFilled.d.ts +3 -3
- package/lib/icons/General/IconInfoOutline.d.ts +3 -3
- package/lib/icons/General/IconJanitorFilled.d.ts +3 -3
- package/lib/icons/General/IconJanitorOutline.d.ts +3 -3
- package/lib/icons/General/IconJointcost.d.ts +3 -3
- package/lib/icons/General/IconJointcost2.d.ts +3 -3
- package/lib/icons/General/IconKey.d.ts +3 -3
- package/lib/icons/General/IconKitchen.d.ts +3 -3
- package/lib/icons/General/IconLabel.d.ts +3 -3
- package/lib/icons/General/IconLeafFilled.d.ts +3 -3
- package/lib/icons/General/IconLeafOutline.d.ts +3 -3
- package/lib/icons/General/IconLeisureTime.d.ts +3 -3
- package/lib/icons/General/IconLock.d.ts +3 -3
- package/lib/icons/General/IconLockLocked.d.ts +3 -3
- package/lib/icons/General/IconLockOpen.d.ts +3 -3
- package/lib/icons/General/IconLookup.d.ts +3 -3
- package/lib/icons/General/IconLookupFilled.d.ts +3 -3
- package/lib/icons/General/IconMail.d.ts +3 -3
- package/lib/icons/General/IconMap.d.ts +3 -3
- package/lib/icons/General/IconMembership.d.ts +3 -3
- package/lib/icons/General/IconMembershipFilled.d.ts +3 -3
- package/lib/icons/General/IconMenu.d.ts +3 -3
- package/lib/icons/General/IconMinus.d.ts +3 -3
- package/lib/icons/General/IconMinusAlt.d.ts +3 -3
- package/lib/icons/General/IconMinusAltFilled.d.ts +3 -3
- package/lib/icons/General/IconMoney.d.ts +3 -3
- package/lib/icons/General/IconParking.d.ts +3 -3
- package/lib/icons/General/IconPaymentCard.d.ts +3 -3
- package/lib/icons/General/IconPhone.d.ts +3 -3
- package/lib/icons/General/IconPinned.d.ts +3 -3
- package/lib/icons/General/IconPlus.d.ts +3 -3
- package/lib/icons/General/IconPlusAlt.d.ts +3 -3
- package/lib/icons/General/IconPortalUser.d.ts +3 -3
- package/lib/icons/General/IconPrint.d.ts +3 -3
- package/lib/icons/General/IconProfile.d.ts +3 -3
- package/lib/icons/General/IconProfileFilled.d.ts +3 -3
- package/lib/icons/General/IconRearrange.d.ts +3 -3
- package/lib/icons/General/IconReciept.d.ts +3 -3
- package/lib/icons/General/IconRedo.d.ts +3 -3
- package/lib/icons/General/IconRefresh.d.ts +3 -3
- package/lib/icons/General/IconReply.d.ts +3 -3
- package/lib/icons/General/IconReplyAll.d.ts +3 -3
- package/lib/icons/General/IconRoom.d.ts +3 -3
- package/lib/icons/General/IconSave.d.ts +3 -3
- package/lib/icons/General/IconSearch.d.ts +3 -3
- package/lib/icons/General/IconSend.d.ts +3 -3
- package/lib/icons/General/IconSettings.d.ts +3 -3
- package/lib/icons/General/IconShopping.d.ts +3 -3
- package/lib/icons/General/IconSign.d.ts +3 -3
- package/lib/icons/General/IconSliders.d.ts +3 -3
- package/lib/icons/General/IconSort.d.ts +3 -3
- package/lib/icons/General/IconStarFilled.d.ts +3 -3
- package/lib/icons/General/IconStarHalf.d.ts +3 -3
- package/lib/icons/General/IconStarOutline.d.ts +3 -3
- package/lib/icons/General/IconStore.d.ts +3 -3
- package/lib/icons/General/IconSubway.d.ts +3 -3
- package/lib/icons/General/IconSwitch.d.ts +3 -3
- package/lib/icons/General/IconTrain.d.ts +3 -3
- package/lib/icons/General/IconTram.d.ts +3 -3
- package/lib/icons/General/IconTransport.d.ts +3 -3
- package/lib/icons/General/IconTypeOfBuilding.d.ts +3 -3
- package/lib/icons/General/IconTypeOfBuildingOutline.d.ts +3 -3
- package/lib/icons/General/IconUndo.d.ts +3 -3
- package/lib/icons/General/IconUpload.d.ts +3 -3
- package/lib/icons/General/IconUser.d.ts +3 -3
- package/lib/icons/General/IconUserThin.d.ts +3 -3
- package/lib/icons/General/IconVote.d.ts +3 -3
- package/lib/icons/General/IconWalk.d.ts +3 -3
- package/lib/icons/General/IconWarning.d.ts +3 -3
- package/lib/icons/General/IconWarningBell.d.ts +3 -3
- package/lib/icons/General/IconWork.d.ts +3 -3
- package/lib/icons/General/IconWorkFilled.d.ts +3 -3
- package/lib/icons/General/IconZip.d.ts +3 -3
- package/lib/icons/Icon.stories.d.ts +60 -60
- package/lib/icons/Logos/IconAmericanExpress.d.ts +3 -3
- package/lib/icons/Logos/IconBankAxept.d.ts +3 -3
- package/lib/icons/Logos/IconGmail.d.ts +3 -3
- package/lib/icons/Logos/IconMasterCard.d.ts +3 -3
- package/lib/icons/Logos/IconOffice365.d.ts +3 -3
- package/lib/icons/Logos/IconVisa.d.ts +3 -3
- package/lib/icons/withIcon.d.ts +29 -29
- package/lib/illustrations/Backgrounds/IllustrationHousesBackground.d.ts +3 -3
- package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationBudget.d.ts +3 -3
- package/lib/illustrations/General/IllustrationError.d.ts +3 -3
- package/lib/illustrations/General/IllustrationErrorGeneric.d.ts +3 -3
- package/lib/illustrations/General/IllustrationHighHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationHighHouseComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationHouseComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationHouseMissing.d.ts +3 -3
- package/lib/illustrations/General/IllustrationLowHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationLowHouseComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationPaperCompleted.d.ts +3 -3
- package/lib/illustrations/General/IllustrationPaperMissing.d.ts +3 -3
- package/lib/illustrations/General/IllustrationSemiDetachedHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationServiceMessage.d.ts +5 -5
- package/lib/illustrations/General/IllustrationSmallHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationSmallHouseComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts +5 -5
- package/lib/illustrations/General/IllustrationTerraceBlock.d.ts +3 -3
- package/lib/illustrations/General/IllustrationTerraceBlockComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationTownHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationTownHouseComposition.d.ts +3 -3
- package/lib/illustrations/Illustration.stories.d.ts +26 -26
- package/lib/illustrations/MySite/IllustrationMySiteAssociation.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteBuilding.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteComputer.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteCooperative.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteDashboard.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteGift.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteMailbox.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySitePapers.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySitePiggyBank.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteTransfer.d.ts +3 -3
- package/lib/illustrations/styles.d.ts +3 -3
- package/lib/illustrations/styles.js +2 -2
- package/lib/illustrations/withIllustration.d.ts +24 -24
- package/lib/index.d.ts +323 -323
- package/lib/layout/Footer/Footer.stories.d.ts +11 -11
- package/lib/layout/Footer/FooterButton/index.d.ts +15 -15
- package/lib/layout/Footer/FooterButton/styles.d.ts +38 -38
- package/lib/layout/Footer/FooterButton/styles.js +1 -1
- package/lib/layout/Footer/FooterCol/index.d.ts +7 -7
- package/lib/layout/Footer/FooterCol/styles.d.ts +5 -5
- package/lib/layout/Footer/FooterCol/styles.js +1 -1
- package/lib/layout/Footer/FooterGroup/index.d.ts +7 -7
- package/lib/layout/Footer/FooterGroup/styles.d.ts +5 -5
- package/lib/layout/Footer/FooterGroup/styles.js +1 -1
- package/lib/layout/Footer/FooterLabel/index.d.ts +7 -7
- package/lib/layout/Footer/FooterLabel/styles.d.ts +5 -5
- package/lib/layout/Footer/FooterLabel/styles.js +1 -1
- package/lib/layout/Footer/FooterLink/index.d.ts +19 -19
- package/lib/layout/Footer/FooterLink/styles.d.ts +38 -38
- package/lib/layout/Footer/FooterLink/styles.js +1 -1
- package/lib/layout/Footer/index.d.ts +8 -8
- package/lib/layout/Footer/styles.d.ts +7 -7
- package/lib/layout/Footer/styles.js +2 -2
- package/lib/layout/Layout/Layout.stories.d.ts +7 -7
- package/lib/layout/Layout/index.d.ts +8 -8
- package/lib/layout/Layout/styles.d.ts +7 -7
- package/lib/layout/Layout/styles.js +1 -1
- package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +15 -15
- package/lib/layout/LayoutShell/index.d.ts +22 -22
- package/lib/layout/LayoutShell/styles.d.ts +24 -24
- package/lib/layout/LayoutShell/styles.js +8 -8
- package/lib/layout/Menu/AppPicker/index.d.ts +19 -19
- package/lib/layout/Menu/AppPicker/styles.d.ts +7 -7
- package/lib/layout/Menu/AppPicker/styles.js +5 -5
- package/lib/layout/Menu/MainMenu/index.d.ts +9 -9
- package/lib/layout/Menu/MainMenu/styles.d.ts +2 -2
- package/lib/layout/Menu/MainMenu/styles.js +1 -1
- package/lib/layout/Menu/MenuItem/index.d.ts +17 -17
- package/lib/layout/Menu/MenuItem/styles.d.ts +3 -3
- package/lib/layout/Menu/MenuItem/styles.js +2 -2
- package/lib/layout/Menu/MenuSpacer/index.d.ts +7 -7
- package/lib/layout/Menu/MenuSpacer/styles.d.ts +5 -5
- package/lib/layout/Menu/MenuSpacer/styles.js +1 -1
- package/lib/layout/Menu/MenuTop/index.d.ts +13 -13
- package/lib/layout/Menu/MenuTop/styles.d.ts +43 -43
- package/lib/layout/Menu/MenuTop/styles.js +3 -3
- package/lib/layout/Menu/SecondaryMenu/index.d.ts +15 -15
- package/lib/layout/Menu/SecondaryMenu/styles.d.ts +11 -11
- package/lib/layout/Menu/SecondaryMenu/styles.js +4 -4
- package/lib/layout/Menu/SecondaryMenuItem/index.d.ts +15 -15
- package/lib/layout/Menu/SecondaryMenuItem/styles.d.ts +1 -1
- package/lib/layout/Menu/SecondaryMenuItem/styles.js +1 -1
- package/lib/layout/Menu/Sidemenu.stories.d.ts +19 -19
- package/lib/layout/Menu/index.d.ts +11 -11
- package/lib/layout/Menu/styles.d.ts +12 -12
- package/lib/layout/Menu/styles.js +1 -1
- package/lib/layout/Submenu/Submenu.stories.d.ts +27 -27
- package/lib/layout/Submenu/SubmenuItem/index.d.ts +20 -20
- package/lib/layout/Submenu/SubmenuItem/styles.d.ts +4 -4
- package/lib/layout/Submenu/SubmenuItem/styles.js +3 -3
- package/lib/layout/Submenu/SubmenuLightThemeBg/index.d.ts +7 -7
- package/lib/layout/Submenu/index.d.ts +16 -16
- package/lib/layout/Submenu/styles.d.ts +29 -29
- package/lib/layout/Submenu/styles.js +10 -10
- package/lib/layout/Topbar/Topbar.stories.d.ts +11 -11
- package/lib/layout/Topbar/index.d.ts +11 -11
- package/lib/layout/Topbar/styles.d.ts +2 -2
- package/lib/layout/Topbar/styles.js +1 -1
- package/lib/shared/components/SbIconGrid/index.d.ts +6 -6
- package/lib/shared/components/SbIconGrid/index.js +1 -1
- package/lib/shared/components/VisuallyHidden/index.d.ts +10 -10
- package/lib/shared/components/VisuallyHidden/index.js +4 -4
- package/lib/shared/recharts/CustomLegend/index.d.ts +3 -3
- package/lib/shared/recharts/CustomLegend/styles.d.ts +13 -13
- package/lib/shared/recharts/CustomLegend/styles.js +2 -2
- package/lib/shared/recharts/CustomTooltip/index.d.ts +10 -10
- package/lib/shared/recharts/CustomTooltip/styles.d.ts +16 -16
- package/lib/shared/recharts/CustomTooltip/styles.js +3 -3
- package/lib/shared/types/LoadedType.d.ts +6 -6
- package/lib/utils/accountNumber.d.ts +3 -3
- package/lib/utils/alpha.d.ts +2 -2
- package/lib/utils/array.d.ts +2 -2
- package/lib/utils/dates.d.ts +15 -15
- package/lib/utils/file.d.ts +2 -2
- package/lib/utils/format.d.ts +21 -21
- package/lib/utils/formatGraphPrice.d.ts +2 -2
- package/lib/utils/image.d.ts +2 -2
- package/lib/utils/pagination.d.ts +6 -6
- package/lib/utils/phone.d.ts +2 -2
- package/lib/utils/removeFocusOnMouseUp.d.ts +2 -2
- package/lib/utils/time.d.ts +32 -32
- package/lib/utils/time.js +14 -14
- package/lib/utils/url.d.ts +3 -3
- package/lib/utils/useSnorreTheme.d.ts +11 -11
- package/package.json +2 -1
- package/rollup.config.js +13 -13
- package/theme-bbls.js +467 -467
- package/theme-generator.js +448 -448
- package/theme-helpers.js +62 -62
- package/esm/core/Autocomplete/utils/useHandleOptionsHeight.js +0 -16
- package/esm/core/CheckboxController/index.js +0 -22
- package/esm/core/Datepicker/yearMonthForm.js +0 -56
- package/esm/core/EditorOld/config.js +0 -69
- package/esm/core/EditorOld/index.js +0 -147
- package/esm/core/EditorOld/styles.js +0 -65
- package/esm/core/ImageCarousel/index.js +0 -70
- package/esm/core/ImageCarousel/styles.js +0 -58
- package/esm/core/NotificationsMenu/NotificationBell/index.js +0 -19
- package/esm/core/NotificationsMenu/NotificationBell/styles.js +0 -21
- package/esm/enums/ModifierKey.js +0 -13
- package/esm/shared/types/Accessibility.js +0 -1
- package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts +0 -7
- package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts.map +0 -1
- package/lib/core/Autocomplete/utils/useHandleOptionsHeight.js +0 -16
- package/lib/core/CheckboxController/index.d.ts +0 -1
- package/lib/core/CheckboxController/index.d.ts.map +0 -1
- package/lib/core/CheckboxController/index.js +0 -22
- package/lib/core/Datepicker/yearMonthForm.d.ts +0 -10
- package/lib/core/Datepicker/yearMonthForm.d.ts.map +0 -1
- package/lib/core/Datepicker/yearMonthForm.js +0 -56
- package/lib/core/EditorOld/config.d.ts +0 -56
- package/lib/core/EditorOld/config.d.ts.map +0 -1
- package/lib/core/EditorOld/config.js +0 -69
- package/lib/core/EditorOld/index.d.ts +0 -39
- package/lib/core/EditorOld/index.d.ts.map +0 -1
- package/lib/core/EditorOld/index.js +0 -147
- package/lib/core/EditorOld/styles.d.ts +0 -23
- package/lib/core/EditorOld/styles.d.ts.map +0 -1
- package/lib/core/EditorOld/styles.js +0 -65
- package/lib/core/ImageCarousel/index.d.ts +0 -11
- package/lib/core/ImageCarousel/index.d.ts.map +0 -1
- package/lib/core/ImageCarousel/index.js +0 -70
- package/lib/core/ImageCarousel/styles.d.ts +0 -26
- package/lib/core/ImageCarousel/styles.d.ts.map +0 -1
- package/lib/core/ImageCarousel/styles.js +0 -58
- package/lib/core/NotificationsMenu/NotificationBell/index.d.ts +0 -8
- package/lib/core/NotificationsMenu/NotificationBell/index.d.ts.map +0 -1
- package/lib/core/NotificationsMenu/NotificationBell/index.js +0 -19
- package/lib/core/NotificationsMenu/NotificationBell/styles.d.ts +0 -7
- package/lib/core/NotificationsMenu/NotificationBell/styles.d.ts.map +0 -1
- package/lib/core/NotificationsMenu/NotificationBell/styles.js +0 -21
- package/lib/enums/ModifierKey.d.ts +0 -12
- package/lib/enums/ModifierKey.d.ts.map +0 -1
- package/lib/enums/ModifierKey.js +0 -13
- package/lib/shared/types/Accessibility.d.ts +0 -55
- package/lib/shared/types/Accessibility.d.ts.map +0 -1
- package/lib/shared/types/Accessibility.js +0 -1
@@ -1,58 +0,0 @@
|
|
1
|
-
import _styled from "@emotion/styled/base";
|
2
|
-
|
3
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
4
|
-
|
5
|
-
import { css } from '@emotion/react';
|
6
|
-
const background = 'rgba(0, 0, 0, 0.5)';
|
7
|
-
export const CarouselWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
|
8
|
-
target: "e104918b3"
|
9
|
-
} : {
|
10
|
-
target: "e104918b3",
|
11
|
-
label: "CarouselWrapper"
|
12
|
-
})(({
|
13
|
-
height,
|
14
|
-
theme
|
15
|
-
}) => /*#__PURE__*/css("box-shadow:", theme.shadowSmall, ";width:100%;height:100%;max-height:", height, ";display:flex;align-items:baseline;border-radius:4px;overflow:hidden;" + (process.env.NODE_ENV === "production" ? "" : ";label:CarouselWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU04RCIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9JbWFnZUNhcm91c2VsL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcywgVGhlbWUgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5jb25zdCBiYWNrZ3JvdW5kID0gJ3JnYmEoMCwgMCwgMCwgMC41KSdcblxuZXhwb3J0IGNvbnN0IENhcm91c2VsV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gICh7IGhlaWdodCwgdGhlbWUgfTogeyBoZWlnaHQ6IHN0cmluZzsgdGhlbWU6IFRoZW1lIH0pID0+IGNzc2BcbiAgICBib3gtc2hhZG93OiAke3RoZW1lLnNoYWRvd1NtYWxsfTtcblxuICAgIHdpZHRoOiAxMDAlO1xuICAgIGhlaWdodDogMTAwJTtcbiAgICBtYXgtaGVpZ2h0OiAke2hlaWdodH07XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1pdGVtczogYmFzZWxpbmU7XG4gICAgYm9yZGVyLXJhZGl1czogNHB4O1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG4gIGBcbilcblxuZXhwb3J0IGNvbnN0IENvbnRyb2xCdXR0b24gPSBzdHlsZWQuYnV0dG9uKFxuICAoeyBkaXJlY3Rpb24gfTogeyBkaXJlY3Rpb246ICdsZWZ0JyB8ICdyaWdodCcgfSkgPT4gY3NzYFxuICAgIGJhY2tncm91bmQtY29sb3I6ICR7YmFja2dyb3VuZH07XG4gICAgYm9yZGVyOiBub25lO1xuICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgICBwYWRkaW5nOiAwLjc1ZW07XG4gICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICR7ZGlyZWN0aW9uID09PSAnbGVmdCdcbiAgICAgID8gY3NzYFxuICAgICAgICAgIG1hcmdpbi1sZWZ0OiAzcHg7XG4gICAgICAgIGBcbiAgICAgIDogY3NzYFxuICAgICAgICAgIG1hcmdpbi1yaWdodDogM3B4O1xuICAgICAgICBgfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBCb3R0b21DYXJvdXNlbFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgcGFkZGluZzogMC4yNWVtIDFlbTtcbiAgYm9yZGVyLXJhZGl1czogNXB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAke2JhY2tncm91bmR9O1xuYFxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHsgaGVpZ2h0IH06IHsgaGVpZ2h0OiBzdHJpbmcgfSkgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgaGVpZ2h0OiAxMDAlO1xuXG4gICAgJiBpbWcge1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICBtYXgtaGVpZ2h0OiAke2hlaWdodH07XG4gICAgICBzY2FsZTogMS4wMTU7XG4gICAgfVxuICBgXG4pXG4iXX0= */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4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Y3Vyc29yOiBwb2ludGVyO1xuICAgICR7ZGlyZWN0aW9uID09PSAnbGVmdCdcbiAgICAgID8gY3NzYFxuICAgICAgICAgIG1hcmdpbi1sZWZ0OiAzcHg7XG4gICAgICAgIGBcbiAgICAgIDogY3NzYFxuICAgICAgICAgIG1hcmdpbi1yaWdodDogM3B4O1xuICAgICAgICBgfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBCb3R0b21DYXJvdXNlbFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgcGFkZGluZzogMC4yNWVtIDFlbTtcbiAgYm9yZGVyLXJhZGl1czogNXB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAke2JhY2tncm91bmR9O1xuYFxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHsgaGVpZ2h0IH06IHsgaGVpZ2h0OiBzdHJpbmcgfSkgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgaGVpZ2h0OiAxMDAlO1xuXG4gICAgJiBpbWcge1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICBtYXgtaGVpZ2h0OiAke2hlaWdodH07XG4gICAgICBzY2FsZTogMS4wMTU7XG4gICAgfVxuICBgXG4pXG4iXX0= */");
|
16
|
-
|
17
|
-
var _ref = process.env.NODE_ENV === "production" ? {
|
18
|
-
name: "1pt2o8x",
|
19
|
-
styles: "margin-right:3px"
|
20
|
-
} : {
|
21
|
-
name: "9g5zwe-ControlButton",
|
22
|
-
styles: "margin-right:3px;label:ControlButton;",
|
23
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0s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8gY3NzYFxuICAgICAgICAgIG1hcmdpbi1sZWZ0OiAzcHg7XG4gICAgICAgIGBcbiAgICAgIDogY3NzYFxuICAgICAgICAgIG1hcmdpbi1yaWdodDogM3B4O1xuICAgICAgICBgfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBCb3R0b21DYXJvdXNlbFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgcGFkZGluZzogMC4yNWVtIDFlbTtcbiAgYm9yZGVyLXJhZGl1czogNXB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAke2JhY2tncm91bmR9O1xuYFxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHsgaGVpZ2h0IH06IHsgaGVpZ2h0OiBzdHJpbmcgfSkgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgaGVpZ2h0OiAxMDAlO1xuXG4gICAgJiBpbWcge1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICBtYXgtaGVpZ2h0OiAke2hlaWdodH07XG4gICAgICBzY2FsZTogMS4wMTU7XG4gICAgfVxuICBgXG4pXG4iXX0= */",
|
24
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
25
|
-
};
|
26
|
-
|
27
|
-
var _ref2 = process.env.NODE_ENV === "production" ? {
|
28
|
-
name: "1i7v2bx",
|
29
|
-
styles: "margin-left:3px"
|
30
|
-
} : {
|
31
|
-
name: "1arqgkz-ControlButton",
|
32
|
-
styles: "margin-left:3px;label:ControlButton;",
|
33
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSw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AgICAgIG1hcmdpbi1sZWZ0OiAzcHg7XG4gICAgICAgIGBcbiAgICAgIDogY3NzYFxuICAgICAgICAgIG1hcmdpbi1yaWdodDogM3B4O1xuICAgICAgICBgfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBCb3R0b21DYXJvdXNlbFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgcGFkZGluZzogMC4yNWVtIDFlbTtcbiAgYm9yZGVyLXJhZGl1czogNXB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAke2JhY2tncm91bmR9O1xuYFxuXG5leHBvcnQgY29uc3QgSW1hZ2VXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHsgaGVpZ2h0IH06IHsgaGVpZ2h0OiBzdHJpbmcgfSkgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgaGVpZ2h0OiAxMDAlO1xuXG4gICAgJiBpbWcge1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICBtYXgtaGVpZ2h0OiAke2hlaWdodH07XG4gICAgICBzY2FsZTogMS4wMTU7XG4gICAgfVxuICBgXG4pXG4iXX0= */",
|
34
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
35
|
-
};
|
36
|
-
|
37
|
-
export const ControlButton = _styled("button", process.env.NODE_ENV === "production" ? {
|
38
|
-
target: "e104918b2"
|
39
|
-
} : {
|
40
|
-
target: "e104918b2",
|
41
|
-
label: "ControlButton"
|
42
|
-
})(({
|
43
|
-
direction
|
44
|
-
}) => /*#__PURE__*/css("background-color:", background, ";border:none;border-radius:50%;padding:0.75em;cursor:pointer;", direction === 'left' ? _ref2 : _ref, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:ControlButton;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJz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aXVzOiA1MCU7XG4gICAgcGFkZGluZzogMC43NWVtO1xuICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAke2RpcmVjdGlvbiA9PT0gJ2xlZnQnXG4gICAgICA/IGNzc2BcbiAgICAgICAgICBtYXJnaW4tbGVmdDogM3B4O1xuICAgICAgICBgXG4gICAgICA6IGNzc2BcbiAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDNweDtcbiAgICAgICAgYH1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgQm90dG9tQ2Fyb3VzZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIHBhZGRpbmc6IDAuMjVlbSAxZW07XG4gIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgYmFja2dyb3VuZC1jb2xvcjogJHtiYWNrZ3JvdW5kfTtcbmBcblxuZXhwb3J0IGNvbnN0IEltYWdlV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gICh7IGhlaWdodCB9OiB7IGhlaWdodDogc3RyaW5nIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGhlaWdodDogMTAwJTtcblxuICAgICYgaW1nIHtcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgbWF4LWhlaWdodDogJHtoZWlnaHR9O1xuICAgICAgc2NhbGU6IDEuMDE1O1xuICAgIH1cbiAgYFxuKVxuIl19 */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1CNkIiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvSW1hZ2VDYXJvdXN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ICAgICBtYXJnaW4tcmlnaHQ6IDNweDtcbiAgICAgICAgYH1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgQm90dG9tQ2Fyb3VzZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIHBhZGRpbmc6IDAuMjVlbSAxZW07XG4gIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgYmFja2dyb3VuZC1jb2xvcjogJHtiYWNrZ3JvdW5kfTtcbmBcblxuZXhwb3J0IGNvbnN0IEltYWdlV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gICh7IGhlaWdodCB9OiB7IGhlaWdodDogc3RyaW5nIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGhlaWdodDogMTAwJTtcblxuICAgICYgaW1nIHtcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgbWF4LWhlaWdodDogJHtoZWlnaHR9O1xuICAgICAgc2NhbGU6IDEuMDE1O1xuICAgIH1cbiAgYFxuKVxuIl19 */");
|
45
|
-
export const BottomCarouselWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
|
46
|
-
target: "e104918b1"
|
47
|
-
} : {
|
48
|
-
target: "e104918b1",
|
49
|
-
label: "BottomCarouselWrapper"
|
50
|
-
})("display:flex;justify-content:center;padding:0.25em 1em;border-radius:5px;background-color:", background, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9DK0MiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvSW1hZ2VDYXJvdXNlbC9zdHlsZXMudHMiL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naHQ6IDNweDtcbiAgICAgICAgYH1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgQm90dG9tQ2Fyb3VzZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIHBhZGRpbmc6IDAuMjVlbSAxZW07XG4gIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgYmFja2dyb3VuZC1jb2xvcjogJHtiYWNrZ3JvdW5kfTtcbmBcblxuZXhwb3J0IGNvbnN0IEltYWdlV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gICh7IGhlaWdodCB9OiB7IGhlaWdodDogc3RyaW5nIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGhlaWdodDogMTAwJTtcblxuICAgICYgaW1nIHtcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgbWF4LWhlaWdodDogJHtoZWlnaHR9O1xuICAgICAgc2NhbGU6IDEuMDE1O1xuICAgIH1cbiAgYFxuKVxuIl19 */"));
|
51
|
-
export const ImageWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
|
52
|
-
target: "e104918b0"
|
53
|
-
} : {
|
54
|
-
target: "e104918b0",
|
55
|
-
label: "ImageWrapper"
|
56
|
-
})(({
|
57
|
-
height
|
58
|
-
}) => /*#__PURE__*/css("display:flex;height:100%;& img{width:100%;max-height:", height, ";scale:1.015;}" + (process.env.NODE_ENV === "production" ? "" : ";label:ImageWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZDeUMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL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4gICAgICA6IGNzc2BcbiAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDNweDtcbiAgICAgICAgYH1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgQm90dG9tQ2Fyb3VzZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIHBhZGRpbmc6IDAuMjVlbSAxZW07XG4gIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgYmFja2dyb3VuZC1jb2xvcjogJHtiYWNrZ3JvdW5kfTtcbmBcblxuZXhwb3J0IGNvbnN0IEltYWdlV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gICh7IGhlaWdodCB9OiB7IGhlaWdodDogc3RyaW5nIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGhlaWdodDogMTAwJTtcblxuICAgICYgaW1nIHtcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgbWF4LWhlaWdodDogJHtoZWlnaHR9O1xuICAgICAgc2NhbGU6IDEuMDE1O1xuICAgIH1cbiAgYFxuKVxuIl19 */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0ltYWdlQ2Fyb3VzZWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRDNEIiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvSW1hZ2VDYXJvdXNlbC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MsIFRoZW1lIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuY29uc3QgYmFja2dy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jZW50ZXI7XG4gIHBhZGRpbmc6IDAuMjVlbSAxZW07XG4gIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgYmFja2dyb3VuZC1jb2xvcjogJHtiYWNrZ3JvdW5kfTtcbmBcblxuZXhwb3J0IGNvbnN0IEltYWdlV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gICh7IGhlaWdodCB9OiB7IGhlaWdodDogc3RyaW5nIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGhlaWdodDogMTAwJTtcblxuICAgICYgaW1nIHtcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgbWF4LWhlaWdodDogJHtoZWlnaHR9O1xuICAgICAgc2NhbGU6IDEuMDE1O1xuICAgIH1cbiAgYFxuKVxuIl19 */");
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { useTheme } from '@emotion/react';
|
2
|
-
import React from 'react';
|
3
|
-
import IconBellOutline from '../../../icons/General/IconBellOutline';
|
4
|
-
import { UnreadMark, Wrapper } from './styles';
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
6
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
7
|
-
const NotificationBell = ({
|
8
|
-
unread
|
9
|
-
}) => {
|
10
|
-
const theme = useTheme();
|
11
|
-
return /*#__PURE__*/_jsxs(Wrapper, {
|
12
|
-
children: [/*#__PURE__*/_jsx(IconBellOutline, {
|
13
|
-
secondary: true
|
14
|
-
}), unread && /*#__PURE__*/_jsx(UnreadMark, {
|
15
|
-
color: theme.primary
|
16
|
-
})]
|
17
|
-
});
|
18
|
-
};
|
19
|
-
export default NotificationBell;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import _styled from "@emotion/styled/base";
|
2
|
-
export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
3
|
-
target: "e1vzi48j1"
|
4
|
-
} : {
|
5
|
-
target: "e1vzi48j1",
|
6
|
-
label: "Wrapper"
|
7
|
-
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L05vdGlmaWNhdGlvbkJlbGwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVpQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpZmljYXRpb25zTWVudS9Ob3RpZmljYXRpb25CZWxsL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgYFxuXG5leHBvcnQgY29uc3QgVW5yZWFkTWFyayA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBgXG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAtMnB4O1xuICBsZWZ0OiAxMHB4O1xuICBiYWNrZ3JvdW5kOiAke3Byb3BzLmNvbG9yfTtcbiAgaGVpZ2h0OiAxMHB4O1xuICB3aWR0aDogMTBweDtcbiAgYm9yZGVyLXJhZGl1czogMTBweDtcbmBcbilcbiJdfQ== */");
|
8
|
-
export const UnreadMark = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
9
|
-
target: "e1vzi48j0"
|
10
|
-
} : {
|
11
|
-
target: "e1vzi48j0",
|
12
|
-
label: "UnreadMark"
|
13
|
-
})(props => `
|
14
|
-
position: absolute;
|
15
|
-
top: -2px;
|
16
|
-
left: 10px;
|
17
|
-
background: ${props.color};
|
18
|
-
height: 10px;
|
19
|
-
width: 10px;
|
20
|
-
border-radius: 10px;
|
21
|
-
`, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L05vdGlmaWNhdGlvbkJlbGwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUkwQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpZmljYXRpb25zTWVudS9Ob3RpZmljYXRpb25CZWxsL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgYFxuXG5leHBvcnQgY29uc3QgVW5yZWFkTWFyayA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBgXG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAtMnB4O1xuICBsZWZ0OiAxMHB4O1xuICBiYWNrZ3JvdW5kOiAke3Byb3BzLmNvbG9yfTtcbiAgaGVpZ2h0OiAxMHB4O1xuICB3aWR0aDogMTBweDtcbiAgYm9yZGVyLXJhZGl1czogMTBweDtcbmBcbilcbiJdfQ== */");
|
package/esm/enums/ModifierKey.js
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
export let ModifierKey;
|
2
|
-
|
3
|
-
(function (ModifierKey) {
|
4
|
-
ModifierKey["enter"] = "Enter";
|
5
|
-
ModifierKey["tab"] = "Tab";
|
6
|
-
ModifierKey["space"] = " ";
|
7
|
-
ModifierKey["escape"] = "Escape";
|
8
|
-
ModifierKey["shift"] = "Shift";
|
9
|
-
ModifierKey["right"] = "ArrowRight";
|
10
|
-
ModifierKey["left"] = "ArrowLeft";
|
11
|
-
ModifierKey["up"] = "ArrowUp";
|
12
|
-
ModifierKey["down"] = "ArrowDown";
|
13
|
-
})(ModifierKey || (ModifierKey = {}));
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useHandleOptionsHeight.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/Autocomplete/utils/useHandleOptionsHeight.ts"],"names":[],"mappings":";AAEA,QAAA,MAAM,sBAAsB;;;CAW3B,CAAA;AAED,eAAe,sBAAsB,CAAA"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { createRef, useEffect, useState } from 'react';
|
2
|
-
|
3
|
-
const useHandleOptionsHeight = () => {
|
4
|
-
const [optionsHeight, setOptionsHeight] = useState(0);
|
5
|
-
const optionsRef = /*#__PURE__*/createRef();
|
6
|
-
useEffect(() => {
|
7
|
-
const rect = optionsRef.current?.getBoundingClientRect();
|
8
|
-
setOptionsHeight(rect?.height || 0); // eslint-disable-next-line react-hooks/exhaustive-deps
|
9
|
-
}, [optionsRef.current]);
|
10
|
-
return {
|
11
|
-
optionsHeight,
|
12
|
-
optionsRef
|
13
|
-
};
|
14
|
-
};
|
15
|
-
|
16
|
-
export default useHandleOptionsHeight;
|
@@ -1 +0,0 @@
|
|
1
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/CheckboxController/index.tsx"],"names":[],"mappings":""}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
// import React from 'react'
|
2
|
-
// interface IProps {
|
3
|
-
// /** Function children in which CheckBox components can be rendered. */
|
4
|
-
// children: (component: React.ComponentType, values: string[], id: string) => void;
|
5
|
-
// /** Unique name of the field. */
|
6
|
-
// name: string,;
|
7
|
-
// /** Callback that is triggered when a child CheckBox is clicked. */
|
8
|
-
// onChange: (values: string[], event: React.ChangeEvent<HTMLInputElement>) => void;
|
9
|
-
// /** Default checked values. */
|
10
|
-
// value?: string,[];
|
11
|
-
// }
|
12
|
-
// const CheckboxController: React.FC<IProps> = props => {
|
13
|
-
// const type: string = 'checkbox'
|
14
|
-
// const onChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
15
|
-
// if (props.onChange) {
|
16
|
-
// props.onChange(e.target.checked)
|
17
|
-
// }
|
18
|
-
// }
|
19
|
-
// return (
|
20
|
-
// )
|
21
|
-
// }
|
22
|
-
// export default Checkbox
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"yearMonthForm.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Datepicker/yearMonthForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,UAAU,MAAM;IACd,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;IAC3B,QAAQ,EAAE,IAAI,CAAA;IACd,MAAM,EAAE,IAAI,CAAA;CACb;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAmDnC,CAAA;AAED,eAAe,aAAa,CAAA"}
|
@@ -1,56 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { MONTHS } from '../../utils/dates';
|
3
|
-
import { StyledSelect, Div } from './styles';
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
5
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
6
|
-
|
7
|
-
const YearMonthForm = ({
|
8
|
-
onChange,
|
9
|
-
date,
|
10
|
-
fromDate,
|
11
|
-
toDate
|
12
|
-
}) => {
|
13
|
-
const months = MONTHS;
|
14
|
-
const years = [];
|
15
|
-
|
16
|
-
for (let i = fromDate.getFullYear(); i <= toDate.getFullYear(); i += 1) {
|
17
|
-
years.push(i);
|
18
|
-
}
|
19
|
-
|
20
|
-
const changeMonth = e => {
|
21
|
-
let newDate = date;
|
22
|
-
newDate.setMonth(e.target.value);
|
23
|
-
if (newDate > toDate) newDate = toDate;
|
24
|
-
onChange(newDate);
|
25
|
-
};
|
26
|
-
|
27
|
-
const changeYear = e => {
|
28
|
-
let newDate = date;
|
29
|
-
newDate.setFullYear(e.target.value);
|
30
|
-
if (newDate > toDate) newDate = toDate;
|
31
|
-
onChange(newDate);
|
32
|
-
};
|
33
|
-
|
34
|
-
return /*#__PURE__*/_jsxs(Div, {
|
35
|
-
className: "DayPicker-Caption",
|
36
|
-
children: [/*#__PURE__*/_jsx(StyledSelect, {
|
37
|
-
name: "month",
|
38
|
-
onChange: changeMonth,
|
39
|
-
value: date.getMonth(),
|
40
|
-
children: months.map((month, i) => /*#__PURE__*/_jsx("option", {
|
41
|
-
value: i,
|
42
|
-
children: month
|
43
|
-
}, month))
|
44
|
-
}), /*#__PURE__*/_jsx(StyledSelect, {
|
45
|
-
name: "year",
|
46
|
-
onChange: changeYear,
|
47
|
-
value: date.getFullYear(),
|
48
|
-
children: years.map(year => /*#__PURE__*/_jsx("option", {
|
49
|
-
value: year,
|
50
|
-
children: year
|
51
|
-
}, year))
|
52
|
-
})]
|
53
|
-
});
|
54
|
-
};
|
55
|
-
|
56
|
-
export default YearMonthForm;
|
@@ -1,56 +0,0 @@
|
|
1
|
-
import { ExtendedHTMLElement } from 'draft-convert';
|
2
|
-
export declare const basicToolbar: {
|
3
|
-
options: string[];
|
4
|
-
inline: {
|
5
|
-
options: string[];
|
6
|
-
};
|
7
|
-
};
|
8
|
-
export declare const richToolbar: {
|
9
|
-
options: string[];
|
10
|
-
inline: {
|
11
|
-
options: string[];
|
12
|
-
};
|
13
|
-
textAlign: {
|
14
|
-
options: string[];
|
15
|
-
};
|
16
|
-
blockType: {
|
17
|
-
inDropdown: boolean;
|
18
|
-
options: string[];
|
19
|
-
};
|
20
|
-
link: {
|
21
|
-
showOpenOptionOnHover: boolean;
|
22
|
-
defaultTargetOption: string;
|
23
|
-
options: string[];
|
24
|
-
};
|
25
|
-
};
|
26
|
-
export declare const htmlToEntity: (nodeName: string, node: ExtendedHTMLElement<DOMStringMap>, createEntity: any) => any;
|
27
|
-
export declare const getStrippedHtml: (html: string) => string;
|
28
|
-
export declare const editorLabels: {
|
29
|
-
'generic.add': string;
|
30
|
-
'generic.cancel': string;
|
31
|
-
'components.controls.inline.bold': string;
|
32
|
-
'components.controls.inline.italic': string;
|
33
|
-
'components.controls.inline.underline': string;
|
34
|
-
'components.controls.list.unordered': string;
|
35
|
-
'components.controls.list.ordered': string;
|
36
|
-
'components.controls.list.indent': string;
|
37
|
-
'components.controls.list.outdent': string;
|
38
|
-
'components.controls.textAlign.left': string;
|
39
|
-
'components.controls.textAlign.center': string;
|
40
|
-
'components.controls.textAlign.right': string;
|
41
|
-
'components.controls.textAlign.justify': string;
|
42
|
-
'components.controls.blocktype.normal': string;
|
43
|
-
'components.controls.blocktype.h1': string;
|
44
|
-
'components.controls.blocktype.h2': string;
|
45
|
-
'components.controls.blocktype.h3': string;
|
46
|
-
'components.controls.blocktype.h4': string;
|
47
|
-
'components.controls.blocktype.h5': string;
|
48
|
-
'components.controls.blocktype.h6': string;
|
49
|
-
'components.controls.link.linkTitle': string;
|
50
|
-
'components.controls.link.linkTarget': string;
|
51
|
-
'components.controls.link.linkTargetOption': string;
|
52
|
-
'components.controls.link.link': string;
|
53
|
-
'components.controls.link.unlink': string;
|
54
|
-
'components.controls.remove.remove': string;
|
55
|
-
};
|
56
|
-
//# sourceMappingURL=config.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/packages/core/EditorOld/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAEnD,eAAO,MAAM,YAAY;;;;;CAKxB,CAAA;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;CAiBvB,CAAA;AAED,eAAO,MAAM,YAAY,aACb,MAAM,QACV,oBAAoB,YAAY,CAAC,gBACzB,GAAG,QAKlB,CAAA;AAED,eAAO,MAAM,eAAe,SAAU,MAAM,WAE3C,CAAA;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCxB,CAAA"}
|
@@ -1,69 +0,0 @@
|
|
1
|
-
export const basicToolbar = {
|
2
|
-
options: ['inline', 'list'],
|
3
|
-
inline: {
|
4
|
-
options: ['bold', 'italic', 'underline']
|
5
|
-
}
|
6
|
-
};
|
7
|
-
export const richToolbar = {
|
8
|
-
options: ['blockType', 'inline', 'list', 'textAlign', 'link'],
|
9
|
-
inline: {
|
10
|
-
options: ['bold', 'italic', 'underline']
|
11
|
-
},
|
12
|
-
textAlign: {
|
13
|
-
options: ['left', 'center', 'right', 'justify']
|
14
|
-
},
|
15
|
-
blockType: {
|
16
|
-
inDropdown: true,
|
17
|
-
options: ['Normal', 'H1', 'H2', 'H3', 'H4', 'H5', 'H6']
|
18
|
-
},
|
19
|
-
link: {
|
20
|
-
showOpenOptionOnHover: true,
|
21
|
-
defaultTargetOption: '_blank',
|
22
|
-
options: ['link', 'unlink']
|
23
|
-
}
|
24
|
-
};
|
25
|
-
export const htmlToEntity = (nodeName, node, createEntity) => {
|
26
|
-
if (nodeName === 'a') {
|
27
|
-
return createEntity('LINK', 'MUTABLE', {
|
28
|
-
url: node.href
|
29
|
-
});
|
30
|
-
}
|
31
|
-
};
|
32
|
-
export const getStrippedHtml = html => {
|
33
|
-
return html.replace(/<img[^>]*>/g, '');
|
34
|
-
};
|
35
|
-
export const editorLabels = {
|
36
|
-
// Generic
|
37
|
-
'generic.add': 'Legg til',
|
38
|
-
'generic.cancel': 'Avbryt',
|
39
|
-
// Inline
|
40
|
-
'components.controls.inline.bold': 'Fet',
|
41
|
-
'components.controls.inline.italic': 'Kursiv',
|
42
|
-
'components.controls.inline.underline': 'Understrek',
|
43
|
-
// List
|
44
|
-
'components.controls.list.unordered': 'Punktliste',
|
45
|
-
'components.controls.list.ordered': 'Nummerliste',
|
46
|
-
'components.controls.list.indent': 'Innrykk',
|
47
|
-
'components.controls.list.outdent': 'Utrykk',
|
48
|
-
// Text align
|
49
|
-
'components.controls.textAlign.left': 'Venstrejuster',
|
50
|
-
'components.controls.textAlign.center': 'Midtstill',
|
51
|
-
'components.controls.textAlign.right': 'Høyrejuster',
|
52
|
-
'components.controls.textAlign.justify': 'Blokkjuster',
|
53
|
-
// Block type
|
54
|
-
'components.controls.blocktype.normal': 'Avsnitt',
|
55
|
-
'components.controls.blocktype.h1': 'Overskrift 1',
|
56
|
-
'components.controls.blocktype.h2': 'Overskrift 2',
|
57
|
-
'components.controls.blocktype.h3': 'Overskrift 3',
|
58
|
-
'components.controls.blocktype.h4': 'Overskrift 4',
|
59
|
-
'components.controls.blocktype.h5': 'Overskrift 5',
|
60
|
-
'components.controls.blocktype.h6': 'Overskrift 6',
|
61
|
-
// Link
|
62
|
-
'components.controls.link.linkTitle': 'Tittel',
|
63
|
-
'components.controls.link.linkTarget': 'URL',
|
64
|
-
'components.controls.link.linkTargetOption': 'Åpne i ny fane',
|
65
|
-
'components.controls.link.link': 'Legg til lenke',
|
66
|
-
'components.controls.link.unlink': 'Fjern lenke',
|
67
|
-
// Remove
|
68
|
-
'components.controls.remove.remove': 'Fjern'
|
69
|
-
};
|
@@ -1,39 +0,0 @@
|
|
1
|
-
/** @jsxImportSource @emotion/react */
|
2
|
-
import React from 'react';
|
3
|
-
import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
|
4
|
-
interface IProps {
|
5
|
-
/** Input text */
|
6
|
-
initialValue?: string;
|
7
|
-
/** Editor type, defaults to basic */
|
8
|
-
type?: 'basic' | 'rich' | 'custom';
|
9
|
-
/** Adds a custom toolbar if type is set to custom */
|
10
|
-
customToolbar?: object;
|
11
|
-
/** Height of textarea */
|
12
|
-
label?: string;
|
13
|
-
/** Deafult height of texteditor */
|
14
|
-
height?: number;
|
15
|
-
/** Max resize height of texteditor */
|
16
|
-
maxHeight?: number;
|
17
|
-
/** Maxlength of input */
|
18
|
-
maxlength?: number;
|
19
|
-
/** Specifies whether maxlength should include html or not, defaults to 'plaintext' */
|
20
|
-
maxlengthType?: 'plaintext' | 'html';
|
21
|
-
/** Adds an error message if text is too long */
|
22
|
-
maxlengthText?: string;
|
23
|
-
/** Adds a counter of characters compared to maxlength, if maxlength is specified */
|
24
|
-
withCounter?: boolean;
|
25
|
-
/** Error message */
|
26
|
-
invalidMessage?: string;
|
27
|
-
/** Cb on blur */
|
28
|
-
onBlur?: () => void;
|
29
|
-
/** Cb on change */
|
30
|
-
onChange: (value: string) => void;
|
31
|
-
}
|
32
|
-
/**
|
33
|
-
*
|
34
|
-
* TODO: REMOVE AND CLEANUP PACKAGES
|
35
|
-
*
|
36
|
-
*/
|
37
|
-
declare const EditorOld: React.FC<IProps>;
|
38
|
-
export default EditorOld;
|
39
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/EditorOld/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAmB,MAAM,OAAO,CAAA;AAIvC,OAAO,kDAAkD,CAAA;AAqBzD,UAAU,MAAM;IACd,iBAAiB;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAA;IAClC,sDAAsD;IACtD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mCAAmC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sFAAsF;IACtF,aAAa,CAAC,EAAE,WAAW,GAAG,MAAM,CAAA;IACpC,gDAAgD;IAChD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,oFAAoF;IACpF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,iBAAiB;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,mBAAmB;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED;;;;GAIG;AAEH,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA8I/B,CAAA;AAED,eAAe,SAAS,CAAA"}
|
@@ -1,147 +0,0 @@
|
|
1
|
-
/** @jsxImportSource @emotion/react */
|
2
|
-
import React, { useState } from 'react';
|
3
|
-
import { Editor as Wysiwyg } from 'react-draft-wysiwyg';
|
4
|
-
import { convertToRaw, EditorState, Modifier } from 'draft-js';
|
5
|
-
import { stateFromHTML } from 'draft-js-import-html';
|
6
|
-
import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
|
7
|
-
import { CounterWrapper, ErrorWrapper, Label, RelativeDiv, styles } from './styles';
|
8
|
-
import { basicToolbar, editorLabels, getStrippedHtml, htmlToEntity, richToolbar } from './config';
|
9
|
-
import { convertToHTML, convertFromHTML } from 'draft-convert';
|
10
|
-
import Text from '../Text';
|
11
|
-
import { useTheme } from '@emotion/react';
|
12
|
-
import IconErrorOutline from '../../icons/General/IconErrorOutline';
|
13
|
-
import draftToHtml from 'draftjs-to-html';
|
14
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
15
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
16
|
-
|
17
|
-
/**
|
18
|
-
*
|
19
|
-
* TODO: REMOVE AND CLEANUP PACKAGES
|
20
|
-
*
|
21
|
-
*/
|
22
|
-
const EditorOld = ({
|
23
|
-
initialValue,
|
24
|
-
height = 300,
|
25
|
-
maxHeight,
|
26
|
-
maxlength,
|
27
|
-
maxlengthType = 'plaintext',
|
28
|
-
maxlengthText,
|
29
|
-
withCounter,
|
30
|
-
invalidMessage,
|
31
|
-
label,
|
32
|
-
customToolbar,
|
33
|
-
type = 'basic',
|
34
|
-
onChange,
|
35
|
-
onBlur
|
36
|
-
}) => {
|
37
|
-
const theme = useTheme();
|
38
|
-
const [maxlengthError, setMaxlengthError] = useState(null);
|
39
|
-
const [charCount, setCharCount] = useState(0);
|
40
|
-
const [editorState, setEditorState] = useState(initialValue ? EditorState.createWithContent(convertFromHTML({
|
41
|
-
htmlToEntity
|
42
|
-
})(initialValue)) : EditorState.createEmpty());
|
43
|
-
|
44
|
-
const handleEditorChange = state => {
|
45
|
-
handleValidity(state);
|
46
|
-
setEditorState(state);
|
47
|
-
const plainText = state.getCurrentContent().getPlainText();
|
48
|
-
const html = draftToHtml(convertToRaw(state.getCurrentContent()));
|
49
|
-
onChange(plainText.length > 0 ? html : ''); // return empty if no content
|
50
|
-
|
51
|
-
if (withCounter && maxlength) {
|
52
|
-
setCharCount(maxlengthType === 'html' ? html.length : plainText.length);
|
53
|
-
}
|
54
|
-
};
|
55
|
-
|
56
|
-
const handleValidity = state => {
|
57
|
-
if (!maxlength) {
|
58
|
-
setMaxlengthError(null);
|
59
|
-
return;
|
60
|
-
}
|
61
|
-
|
62
|
-
const plaintext = state.getCurrentContent().getPlainText();
|
63
|
-
const html = convertToHTML(state.getCurrentContent());
|
64
|
-
|
65
|
-
if (maxlengthType === 'html' && html.length > maxlength) {
|
66
|
-
setMaxlengthError(maxlengthText ? maxlengthText : 'Text is too long');
|
67
|
-
return;
|
68
|
-
}
|
69
|
-
|
70
|
-
if (maxlengthType === 'plaintext' && plaintext.length > maxlength) {
|
71
|
-
setMaxlengthError(maxlengthText ? maxlengthText : 'Text is too long');
|
72
|
-
return;
|
73
|
-
}
|
74
|
-
|
75
|
-
setMaxlengthError(null);
|
76
|
-
};
|
77
|
-
|
78
|
-
const Counter = _jsx(CounterWrapper, {
|
79
|
-
children: _jsxs(Text, {
|
80
|
-
children: [charCount, "/", maxlength]
|
81
|
-
})
|
82
|
-
});
|
83
|
-
|
84
|
-
const handlePaste = (text, html, editorState, onChange) => {
|
85
|
-
if (!html) return false;
|
86
|
-
const strippedHtml = getStrippedHtml(html);
|
87
|
-
const blockMap = stateFromHTML(strippedHtml).blockMap;
|
88
|
-
const newState = Modifier.replaceWithFragment(editorState.getCurrentContent(), editorState.getSelection(), blockMap);
|
89
|
-
onChange(EditorState.push(editorState, newState, 'insert-fragment'));
|
90
|
-
return true;
|
91
|
-
};
|
92
|
-
|
93
|
-
const getToolbar = () => {
|
94
|
-
switch (type) {
|
95
|
-
case 'basic':
|
96
|
-
return basicToolbar;
|
97
|
-
|
98
|
-
case 'rich':
|
99
|
-
return richToolbar;
|
100
|
-
|
101
|
-
case 'custom':
|
102
|
-
return customToolbar;
|
103
|
-
|
104
|
-
default:
|
105
|
-
return undefined;
|
106
|
-
}
|
107
|
-
};
|
108
|
-
|
109
|
-
return _jsxs("div", {
|
110
|
-
css: theme => [styles.default(theme, height), maxHeight && styles.maxHeight(maxHeight)],
|
111
|
-
children: [label && _jsx(Label, {
|
112
|
-
children: label
|
113
|
-
}), _jsxs(RelativeDiv, {
|
114
|
-
children: [_jsx(Wysiwyg, {
|
115
|
-
editorState: editorState,
|
116
|
-
toolbarClassName: "toolbar-wrapper",
|
117
|
-
wrapperClassName: "editor-wrapper",
|
118
|
-
editorClassName: "content-wrapper",
|
119
|
-
onEditorStateChange: handleEditorChange,
|
120
|
-
toolbar: getToolbar(),
|
121
|
-
localization: {
|
122
|
-
locale: 'nb_NO',
|
123
|
-
translations: editorLabels
|
124
|
-
},
|
125
|
-
stripPastedStyles: type !== 'rich',
|
126
|
-
onBlur: () => onBlur && onBlur(),
|
127
|
-
handlePastedText: handlePaste
|
128
|
-
}), maxlength && withCounter && Counter]
|
129
|
-
}), (maxlengthError || invalidMessage) && _jsxs(ErrorWrapper, {
|
130
|
-
children: [maxlengthError && _jsxs(Text, {
|
131
|
-
color: theme.alert,
|
132
|
-
children: [_jsx(IconErrorOutline, {
|
133
|
-
size: "16px",
|
134
|
-
color: theme.alert
|
135
|
-
}), ' ', maxlengthError]
|
136
|
-
}), invalidMessage && _jsxs(Text, {
|
137
|
-
color: theme.alert,
|
138
|
-
children: [_jsx(IconErrorOutline, {
|
139
|
-
size: "16px",
|
140
|
-
color: theme.alert
|
141
|
-
}), ' ', invalidMessage]
|
142
|
-
})]
|
143
|
-
})]
|
144
|
-
});
|
145
|
-
};
|
146
|
-
|
147
|
-
export default EditorOld;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { IAppTheme } from '../../app-shell/theme';
|
3
|
-
export declare const styles: {
|
4
|
-
default: (theme: IAppTheme, height: number) => import("@emotion/react").SerializedStyles;
|
5
|
-
maxHeight: (height: number) => import("@emotion/react").SerializedStyles;
|
6
|
-
};
|
7
|
-
export declare const RelativeDiv: import("@emotion/styled").StyledComponent<{
|
8
|
-
theme?: import("@emotion/react").Theme | undefined;
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
10
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
11
|
-
export declare const Label: import("@emotion/styled").StyledComponent<{
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
13
|
-
as?: import("react").ElementType<any> | undefined;
|
14
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
15
|
-
export declare const ErrorWrapper: import("@emotion/styled").StyledComponent<{
|
16
|
-
theme?: import("@emotion/react").Theme | undefined;
|
17
|
-
as?: import("react").ElementType<any> | undefined;
|
18
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
19
|
-
export declare const CounterWrapper: import("@emotion/styled").StyledComponent<{
|
20
|
-
theme?: import("@emotion/react").Theme | undefined;
|
21
|
-
as?: import("react").ElementType<any> | undefined;
|
22
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
23
|
-
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/EditorOld/styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,eAAO,MAAM,MAAM;qBACA,SAAS,UAAU,MAAM;wBAkItB,MAAM;CAK3B,CAAA;AAED,eAAO,MAAM,WAAW;;;yGAEvB,CAAA;AAED,eAAO,MAAM,KAAK;;;2GAKjB,CAAA;AAED,eAAO,MAAM,YAAY;;;yGASxB,CAAA;AAED,eAAO,MAAM,cAAc;;;yGAI1B,CAAA"}
|