@bbl-digital/snorre 4.0.44 → 4.0.45
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/.husky/_/husky.sh +30 -30
- package/.prettierrc +6 -6
- package/.vscode/settings.json +3 -3
- package/README.md +3 -3
- package/dist/bundle.js +583 -587
- 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/Autocomplete/utils/useHandleOptionsHeight.js +16 -0
- 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/CheckboxController/index.js +22 -0
- 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/Datepicker/yearMonthForm.js +56 -0
- 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/EditorOld/config.js +69 -0
- package/esm/core/EditorOld/index.js +147 -0
- package/esm/core/EditorOld/styles.js +65 -0
- 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/ImageCarousel/index.js +70 -0
- package/esm/core/ImageCarousel/styles.js +58 -0
- 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/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/NotificationBell/index.js +19 -0
- package/esm/core/NotificationsMenu/NotificationBell/styles.js +21 -0
- package/esm/core/NotificationsMenu/NotificationRow/styles.js +3 -3
- package/esm/core/NotificationsMenu/styles.js +3 -3
- package/esm/core/PieChart/styles.js +2 -2
- package/esm/core/PreemptionCard/PreemptionCard.stories.js +12 -9
- package/esm/core/PreemptionCard/index.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/enums/ModifierKey.js +13 -0
- 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/shared/types/Accessibility.js +1 -0
- package/esm/utils/format.js +10 -14
- 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/Autocomplete/utils/useHandleOptionsHeight.d.ts +7 -0
- package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts.map +1 -0
- package/lib/core/Autocomplete/utils/useHandleOptionsHeight.js +16 -0
- 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/CheckboxController/index.d.ts +1 -0
- package/lib/core/CheckboxController/index.d.ts.map +1 -0
- package/lib/core/CheckboxController/index.js +22 -0
- 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 +28 -38
- package/lib/core/Datepicker/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/styles.js +9 -9
- package/lib/core/Datepicker/yearMonthForm.d.ts +10 -0
- package/lib/core/Datepicker/yearMonthForm.d.ts.map +1 -0
- package/lib/core/Datepicker/yearMonthForm.js +56 -0
- 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/EditorOld/config.d.ts +56 -0
- package/lib/core/EditorOld/config.d.ts.map +1 -0
- package/lib/core/EditorOld/config.js +69 -0
- package/lib/core/EditorOld/index.d.ts +39 -0
- package/lib/core/EditorOld/index.d.ts.map +1 -0
- package/lib/core/EditorOld/index.js +147 -0
- package/lib/core/EditorOld/styles.d.ts +23 -0
- package/lib/core/EditorOld/styles.d.ts.map +1 -0
- package/lib/core/EditorOld/styles.js +65 -0
- 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/ImageCarousel/index.d.ts +11 -0
- package/lib/core/ImageCarousel/index.d.ts.map +1 -0
- package/lib/core/ImageCarousel/index.js +70 -0
- package/lib/core/ImageCarousel/styles.d.ts +26 -0
- package/lib/core/ImageCarousel/styles.d.ts.map +1 -0
- package/lib/core/ImageCarousel/styles.js +58 -0
- 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/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/NotificationBell/index.d.ts +8 -0
- package/lib/core/NotificationsMenu/NotificationBell/index.d.ts.map +1 -0
- package/lib/core/NotificationsMenu/NotificationBell/index.js +19 -0
- package/lib/core/NotificationsMenu/NotificationBell/styles.d.ts +7 -0
- package/lib/core/NotificationsMenu/NotificationBell/styles.d.ts.map +1 -0
- package/lib/core/NotificationsMenu/NotificationBell/styles.js +21 -0
- 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/index.d.ts +15 -15
- 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 -7
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCard/PreemptionCard.stories.js +12 -9
- package/lib/core/PreemptionCard/index.d.ts +9 -9
- package/lib/core/PreemptionCard/index.d.ts.map +1 -1
- package/lib/core/PreemptionCard/index.js +2 -2
- 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/enums/ModifierKey.d.ts +12 -0
- package/lib/enums/ModifierKey.d.ts.map +1 -0
- package/lib/enums/ModifierKey.js +13 -0
- 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/Accessibility.d.ts +55 -0
- package/lib/shared/types/Accessibility.d.ts.map +1 -0
- package/lib/shared/types/Accessibility.js +1 -0
- 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/format.d.ts.map +1 -1
- package/lib/utils/format.js +10 -14
- 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 +1 -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
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Theme } from '@emotion/react';
|
|
3
|
-
export declare const TooltipWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
} & {
|
|
7
|
-
theme: Theme;
|
|
8
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
-
export declare const TooltipPayloadWrapper: import("@emotion/styled").StyledComponent<{
|
|
10
|
-
theme?: Theme | undefined;
|
|
11
|
-
as?: import("react").ElementType<any> | undefined;
|
|
12
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
-
export declare const ItemNameGroup: import("@emotion/styled").StyledComponent<{
|
|
14
|
-
theme?: Theme | undefined;
|
|
15
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Theme } from '@emotion/react';
|
|
3
|
+
export declare const TooltipWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
theme: Theme;
|
|
8
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
+
export declare const TooltipPayloadWrapper: import("@emotion/styled").StyledComponent<{
|
|
10
|
+
theme?: Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
+
export declare const ItemNameGroup: import("@emotion/styled").StyledComponent<{
|
|
14
|
+
theme?: Theme | undefined;
|
|
15
|
+
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
17
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -6,7 +6,7 @@ export const TooltipWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV =
|
|
|
6
6
|
} : {
|
|
7
7
|
target: "e1xnunu72",
|
|
8
8
|
label: "TooltipWrapper"
|
|
9
|
-
})(props => /*#__PURE__*/css("display:flex;flex-direction:column;background-color:white;padding:1rem;box-shadow:", props?.theme && props.theme.shadowBig, ";border-radius:4px;>span:first-of-type{margin-bottom:5px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:TooltipWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
9
|
+
})(props => /*#__PURE__*/css("display:flex;flex-direction:column;background-color:white;padding:1rem;box-shadow:", props?.theme && props.theme.shadowBig, ";border-radius:4px;>span:first-of-type{margin-bottom:5px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:TooltipWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9zaGFyZWQvcmVjaGFydHMvQ3VzdG9tVG9vbHRpcC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSWdCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9zaGFyZWQvcmVjaGFydHMvQ3VzdG9tVG9vbHRpcC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUaGVtZSwgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXBXcmFwcGVyID0gc3R5bGVkLmRpdjx7IHRoZW1lOiBUaGVtZSB9PihcbiAgKHByb3BzKSA9PiBjc3NgXG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xuICAgIHBhZGRpbmc6IDFyZW07XG4gICAgYm94LXNoYWRvdzogJHtwcm9wcz8udGhlbWUgJiYgcHJvcHMudGhlbWUuc2hhZG93QmlnfTtcbiAgICBib3JkZXItcmFkaXVzOiA0cHg7XG4gICAgPiBzcGFuOmZpcnN0LW9mLXR5cGUge1xuICAgICAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICAgIH1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgVG9vbHRpcFBheWxvYWRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICB3aWR0aDogMTAwJTtcbiAgPiA6Zmlyc3Qtb2YtdHlwZSB7XG4gICAgbWFyZ2luLXJpZ2h0OiAwLjVlbTtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgSXRlbU5hbWVHcm91cCA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gID4gOmZpcnN0LW9mLXR5cGUge1xuICAgIG1hcmdpbi1yaWdodDogNXB4O1xuICB9XG5gXG4iXX0= */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9zaGFyZWQvcmVjaGFydHMvQ3VzdG9tVG9vbHRpcC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRzhCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9zaGFyZWQvcmVjaGFydHMvQ3VzdG9tVG9vbHRpcC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUaGVtZSwgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXBXcmFwcGVyID0gc3R5bGVkLmRpdjx7IHRoZW1lOiBUaGVtZSB9PihcbiAgKHByb3BzKSA9PiBjc3NgXG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xuICAgIHBhZGRpbmc6IDFyZW07XG4gICAgYm94LXNoYWRvdzogJHtwcm9wcz8udGhlbWUgJiYgcHJvcHMudGhlbWUuc2hhZG93QmlnfTtcbiAgICBib3JkZXItcmFkaXVzOiA0cHg7XG4gICAgPiBzcGFuOmZpcnN0LW9mLXR5cGUge1xuICAgICAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICAgIH1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgVG9vbHRpcFBheWxvYWRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICB3aWR0aDogMTAwJTtcbiAgPiA6Zmlyc3Qtb2YtdHlwZSB7XG4gICAgbWFyZ2luLXJpZ2h0OiAwLjVlbTtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgSXRlbU5hbWVHcm91cCA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gID4gOmZpcnN0LW9mLXR5cGUge1xuICAgIG1hcmdpbi1yaWdodDogNXB4O1xuICB9XG5gXG4iXX0= */");
|
|
10
10
|
export const TooltipPayloadWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
11
11
|
target: "e1xnunu71"
|
|
12
12
|
} : {
|
|
@@ -18,7 +18,7 @@ export const TooltipPayloadWrapper = /*#__PURE__*/_styled("div", process.env.NOD
|
|
|
18
18
|
} : {
|
|
19
19
|
name: "1y1bc9v",
|
|
20
20
|
styles: "display:flex;justify-content:space-between;align-items:center;width:100%;>:first-of-type{margin-right:0.5em;}",
|
|
21
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
21
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9zaGFyZWQvcmVjaGFydHMvQ3VzdG9tVG9vbHRpcC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUIrQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvc2hhcmVkL3JlY2hhcnRzL0N1c3RvbVRvb2x0aXAvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVGhlbWUsIGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBUb29sdGlwV3JhcHBlciA9IHN0eWxlZC5kaXY8eyB0aGVtZTogVGhlbWUgfT4oXG4gIChwcm9wcykgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcbiAgICBwYWRkaW5nOiAxcmVtO1xuICAgIGJveC1zaGFkb3c6ICR7cHJvcHM/LnRoZW1lICYmIHByb3BzLnRoZW1lLnNoYWRvd0JpZ307XG4gICAgYm9yZGVyLXJhZGl1czogNHB4O1xuICAgID4gc3BhbjpmaXJzdC1vZi10eXBlIHtcbiAgICAgIG1hcmdpbi1ib3R0b206IDVweDtcbiAgICB9XG4gIGBcbilcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXBQYXlsb2FkV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgd2lkdGg6IDEwMCU7XG4gID4gOmZpcnN0LW9mLXR5cGUge1xuICAgIG1hcmdpbi1yaWdodDogMC41ZW07XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IEl0ZW1OYW1lR3JvdXAgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICA+IDpmaXJzdC1vZi10eXBlIHtcbiAgICBtYXJnaW4tcmlnaHQ6IDVweDtcbiAgfVxuYFxuIl19 */",
|
|
22
22
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
23
23
|
});
|
|
24
24
|
export const ItemNameGroup = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
@@ -32,6 +32,6 @@ export const ItemNameGroup = /*#__PURE__*/_styled("div", process.env.NODE_ENV ==
|
|
|
32
32
|
} : {
|
|
33
33
|
name: "zmujkq",
|
|
34
34
|
styles: "display:flex;align-items:center;>:first-of-type{margin-right:5px;}",
|
|
35
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
35
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9zaGFyZWQvcmVjaGFydHMvQ3VzdG9tVG9vbHRpcC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkJ1QyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvc2hhcmVkL3JlY2hhcnRzL0N1c3RvbVRvb2x0aXAvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVGhlbWUsIGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBUb29sdGlwV3JhcHBlciA9IHN0eWxlZC5kaXY8eyB0aGVtZTogVGhlbWUgfT4oXG4gIChwcm9wcykgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcbiAgICBwYWRkaW5nOiAxcmVtO1xuICAgIGJveC1zaGFkb3c6ICR7cHJvcHM/LnRoZW1lICYmIHByb3BzLnRoZW1lLnNoYWRvd0JpZ307XG4gICAgYm9yZGVyLXJhZGl1czogNHB4O1xuICAgID4gc3BhbjpmaXJzdC1vZi10eXBlIHtcbiAgICAgIG1hcmdpbi1ib3R0b206IDVweDtcbiAgICB9XG4gIGBcbilcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXBQYXlsb2FkV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgd2lkdGg6IDEwMCU7XG4gID4gOmZpcnN0LW9mLXR5cGUge1xuICAgIG1hcmdpbi1yaWdodDogMC41ZW07XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IEl0ZW1OYW1lR3JvdXAgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICA+IDpmaXJzdC1vZi10eXBlIHtcbiAgICBtYXJnaW4tcmlnaHQ6IDVweDtcbiAgfVxuYFxuIl19 */",
|
|
36
36
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
37
37
|
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AriaRole } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Refer to the following link for more information on ARIA attributes
|
|
4
|
+
* @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes
|
|
5
|
+
*/
|
|
6
|
+
declare type AccessibilityProps = {
|
|
7
|
+
/** A WAI-ARIA role */
|
|
8
|
+
role?: AriaRole;
|
|
9
|
+
/** A label for screen readers to announce */
|
|
10
|
+
'aria-label'?: string;
|
|
11
|
+
/** A description for screen readers */
|
|
12
|
+
'aria-describedby'?: string;
|
|
13
|
+
/** A description for screen readers */
|
|
14
|
+
'aria-labelledby'?: string;
|
|
15
|
+
/** Indicates that the element is disabled */
|
|
16
|
+
'aria-disabled'?: boolean;
|
|
17
|
+
/** Indicated that the element is busy */
|
|
18
|
+
'aria-busy'?: boolean;
|
|
19
|
+
/** Indicates that the element is pressed. Only relevant for toggle buttons. */
|
|
20
|
+
'aria-pressed'?: boolean;
|
|
21
|
+
/** Indicates that the element is expanded */
|
|
22
|
+
'aria-expanded'?: boolean;
|
|
23
|
+
/** Indicates that the element is selected */
|
|
24
|
+
'aria-selected'?: boolean;
|
|
25
|
+
/** Indicates that the element is checked */
|
|
26
|
+
'aria-checked'?: boolean;
|
|
27
|
+
/** Indicates that the element is hidden */
|
|
28
|
+
'aria-hidden'?: boolean;
|
|
29
|
+
/** Indicates that the element is required */
|
|
30
|
+
'aria-required'?: boolean;
|
|
31
|
+
/** Indicates that the element is invalid */
|
|
32
|
+
'aria-invalid'?: boolean;
|
|
33
|
+
/** Indicates that the element is readonly */
|
|
34
|
+
'aria-readonly'?: boolean;
|
|
35
|
+
/** Indicates that the element is a modal */
|
|
36
|
+
'aria-modal'?: boolean;
|
|
37
|
+
/** indicates that an element will be updated, and describes the type of updates the user agents, assistive technologies, and user can expect from the live region. */
|
|
38
|
+
'aria-live'?: 'off' | 'assertive' | 'polite';
|
|
39
|
+
/** indicates the sort order */
|
|
40
|
+
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other';
|
|
41
|
+
/** indicates the current "value" of a range widget */
|
|
42
|
+
'aria-valuenow'?: number;
|
|
43
|
+
/** indicates the maximum allowed value for a range widget */
|
|
44
|
+
'aria-valuemax'?: number;
|
|
45
|
+
/** indicates the minimum allowed value for a range widget */
|
|
46
|
+
'aria-valuemin'?: number;
|
|
47
|
+
/** indicates the optimal numeric value for a range widget */
|
|
48
|
+
'aria-valuetext'?: string;
|
|
49
|
+
/** indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified */
|
|
50
|
+
'aria-atomic'?: boolean;
|
|
51
|
+
/** indicates what user agent change notifications (additions, removals, etc.) assistive technologies will receive within a live region */
|
|
52
|
+
'aria-relevant'?: 'additions' | 'removals' | 'text' | 'all';
|
|
53
|
+
};
|
|
54
|
+
export type { AccessibilityProps };
|
|
55
|
+
//# sourceMappingURL=Accessibility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accessibility.d.ts","sourceRoot":"","sources":["../../../src/packages/shared/types/Accessibility.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEhC;;;GAGG;AACH,aAAK,kBAAkB,GAAG;IACxB,sBAAsB;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uCAAuC;IACvC,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,uCAAuC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,6CAA6C;IAC7C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,yCAAyC;IACzC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,+EAA+E;IAC/E,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,6CAA6C;IAC7C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,6CAA6C;IAC7C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,2CAA2C;IAC3C,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,6CAA6C;IAC7C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,6CAA6C;IAC7C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,4CAA4C;IAC5C,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,sKAAsK;IACtK,WAAW,CAAC,EAAE,KAAK,GAAG,WAAW,GAAG,QAAQ,CAAA;IAC5C,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,YAAY,GAAG,OAAO,CAAA;IAC3D,sDAAsD;IACtD,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,6DAA6D;IAC7D,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,6DAA6D;IAC7D,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,4HAA4H;IAC5H,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,0IAA0I;IAC1I,eAAe,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,MAAM,GAAG,KAAK,CAAA;CAC5D,CAAA;AAED,YAAY,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type IAppTheme from '../../app-shell/theme';
|
|
2
|
-
export declare type LoadedType = {
|
|
3
|
-
loaded: {
|
|
4
|
-
theme: IAppTheme;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
1
|
+
import type IAppTheme from '../../app-shell/theme';
|
|
2
|
+
export declare type LoadedType = {
|
|
3
|
+
loaded: {
|
|
4
|
+
theme: IAppTheme;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=LoadedType.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const getFormattedAccountNumber: (accountNumber: string) => string;
|
|
2
|
-
declare const isValidAccountNumber: (value?: string | undefined, required?: boolean) => boolean;
|
|
3
|
-
export { getFormattedAccountNumber, isValidAccountNumber };
|
|
1
|
+
declare const getFormattedAccountNumber: (accountNumber: string) => string;
|
|
2
|
+
declare const isValidAccountNumber: (value?: string | undefined, required?: boolean) => boolean;
|
|
3
|
+
export { getFormattedAccountNumber, isValidAccountNumber };
|
|
4
4
|
//# sourceMappingURL=accountNumber.d.ts.map
|
package/lib/utils/alpha.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function alpha(hexColor: string, alphaPercentage: number): string;
|
|
2
|
-
export { alpha };
|
|
1
|
+
declare function alpha(hexColor: string, alphaPercentage: number): string;
|
|
2
|
+
export { alpha };
|
|
3
3
|
//# sourceMappingURL=alpha.d.ts.map
|
package/lib/utils/array.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const getReducedArray: (array: any[], indexesAmount: number) => any[];
|
|
2
|
-
export { getReducedArray };
|
|
1
|
+
declare const getReducedArray: (array: any[], indexesAmount: number) => any[];
|
|
2
|
+
export { getReducedArray };
|
|
3
3
|
//# sourceMappingURL=array.d.ts.map
|
package/lib/utils/dates.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare const MONTHS: string[];
|
|
2
|
-
export declare const MONTHS_SHORT: string[];
|
|
3
|
-
export declare const WEEKDAYS_LONG: string[];
|
|
4
|
-
export declare const WEEKDAYS_SHORT: string[];
|
|
5
|
-
export declare const parseDate: (date: string, format?: string | undefined, locale?: string | undefined, minDate?: string | Date | undefined, maxDate?: string | Date | undefined) => Date | undefined;
|
|
6
|
-
export declare const formatDate: (date: Date, format: string, locale: string) => string;
|
|
7
|
-
export declare const getDateIsValid: (date: Date | string, minDate?: string | Date | undefined, maxDate?: string | Date | undefined) => boolean;
|
|
8
|
-
export declare const datesAreOnSameDay: (first: Date, second: Date) => boolean;
|
|
9
|
-
export declare const ddmmyyyy: Intl.DateTimeFormatOptions;
|
|
10
|
-
export declare const ddMM: Intl.DateTimeFormatOptions;
|
|
11
|
-
export declare const MM: Intl.DateTimeFormatOptions;
|
|
12
|
-
export declare const mmYYYY: Intl.DateTimeFormatOptions;
|
|
13
|
-
export declare const mmyyyy: Intl.DateTimeFormatOptions;
|
|
14
|
-
export declare const hhmm: Intl.DateTimeFormatOptions;
|
|
15
|
-
export declare const DDMMYYYY: Intl.DateTimeFormatOptions;
|
|
1
|
+
export declare const MONTHS: string[];
|
|
2
|
+
export declare const MONTHS_SHORT: string[];
|
|
3
|
+
export declare const WEEKDAYS_LONG: string[];
|
|
4
|
+
export declare const WEEKDAYS_SHORT: string[];
|
|
5
|
+
export declare const parseDate: (date: string, format?: string | undefined, locale?: string | undefined, minDate?: string | Date | undefined, maxDate?: string | Date | undefined) => Date | undefined;
|
|
6
|
+
export declare const formatDate: (date: Date, format: string, locale: string) => string;
|
|
7
|
+
export declare const getDateIsValid: (date: Date | string, minDate?: string | Date | undefined, maxDate?: string | Date | undefined) => boolean;
|
|
8
|
+
export declare const datesAreOnSameDay: (first: Date, second: Date) => boolean;
|
|
9
|
+
export declare const ddmmyyyy: Intl.DateTimeFormatOptions;
|
|
10
|
+
export declare const ddMM: Intl.DateTimeFormatOptions;
|
|
11
|
+
export declare const MM: Intl.DateTimeFormatOptions;
|
|
12
|
+
export declare const mmYYYY: Intl.DateTimeFormatOptions;
|
|
13
|
+
export declare const mmyyyy: Intl.DateTimeFormatOptions;
|
|
14
|
+
export declare const hhmm: Intl.DateTimeFormatOptions;
|
|
15
|
+
export declare const DDMMYYYY: Intl.DateTimeFormatOptions;
|
|
16
16
|
//# sourceMappingURL=dates.d.ts.map
|
package/lib/utils/file.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const formatBytes: (bytes?: number | undefined) => string;
|
|
2
|
-
export declare const isAllFilesValid: (files: File[], maxFileSizeInBytes: number) => boolean;
|
|
1
|
+
export declare const formatBytes: (bytes?: number | undefined) => string;
|
|
2
|
+
export declare const isAllFilesValid: (files: File[], maxFileSizeInBytes: number) => boolean;
|
|
3
3
|
//# sourceMappingURL=file.d.ts.map
|
package/lib/utils/format.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPreemptionPricing } from '../core/PreemptionCard/models';
|
|
2
|
-
/**
|
|
3
|
-
* PRICES
|
|
4
|
-
*/
|
|
5
|
-
declare const getFormattedPrice: (price: any, decimals?: number | undefined, roundDown?: boolean | undefined) => any;
|
|
6
|
-
declare const getPriceWithLabel: (pricing: IPreemptionPricing) => string;
|
|
7
|
-
declare const getFormattedPriceWithEnding: (price: number | string, decimals?: number | undefined) => string;
|
|
8
|
-
/**
|
|
9
|
-
* DATES
|
|
10
|
-
*/
|
|
11
|
-
declare const getFormattedDate: (date: string | Date, opt?: Intl.DateTimeFormatOptions | undefined) => string;
|
|
12
|
-
declare const getFormattedTime: (date: Date) => string;
|
|
13
|
-
declare const getFormattedDateTimePretty: (date: Date, opt?: Intl.DateTimeFormatOptions) => string;
|
|
14
|
-
/**
|
|
15
|
-
* OTHERS
|
|
16
|
-
*/
|
|
17
|
-
declare const getTitleString: (text: string) => string;
|
|
18
|
-
declare const getFormattedCardNumber: (cardNumber: string) => string;
|
|
19
|
-
declare const getFormattedOrganizationNumber: (organizationNumber: string | number) => string;
|
|
20
|
-
declare const getFormattedTimePeriod: (startDate: string | Date | undefined | null, endDate: string | Date | undefined | null) => string;
|
|
21
|
-
export { getFormattedOrganizationNumber, getFormattedPrice, getFormattedPriceWithEnding, getFormattedDate, getTitleString, getFormattedCardNumber, getFormattedTime, getPriceWithLabel, getFormattedDateTimePretty, getFormattedTimePeriod, };
|
|
1
|
+
import { IPreemptionPricing } from '../core/PreemptionCard/models';
|
|
2
|
+
/**
|
|
3
|
+
* PRICES
|
|
4
|
+
*/
|
|
5
|
+
declare const getFormattedPrice: (price: any, decimals?: number | undefined, roundDown?: boolean | undefined) => any;
|
|
6
|
+
declare const getPriceWithLabel: (clarificationInAdvance: boolean, pricing: IPreemptionPricing) => string;
|
|
7
|
+
declare const getFormattedPriceWithEnding: (price: number | string, decimals?: number | undefined) => string;
|
|
8
|
+
/**
|
|
9
|
+
* DATES
|
|
10
|
+
*/
|
|
11
|
+
declare const getFormattedDate: (date: string | Date, opt?: Intl.DateTimeFormatOptions | undefined) => string;
|
|
12
|
+
declare const getFormattedTime: (date: Date) => string;
|
|
13
|
+
declare const getFormattedDateTimePretty: (date: Date, opt?: Intl.DateTimeFormatOptions) => string;
|
|
14
|
+
/**
|
|
15
|
+
* OTHERS
|
|
16
|
+
*/
|
|
17
|
+
declare const getTitleString: (text: string) => string;
|
|
18
|
+
declare const getFormattedCardNumber: (cardNumber: string) => string;
|
|
19
|
+
declare const getFormattedOrganizationNumber: (organizationNumber: string | number) => string;
|
|
20
|
+
declare const getFormattedTimePeriod: (startDate: string | Date | undefined | null, endDate: string | Date | undefined | null) => string;
|
|
21
|
+
export { getFormattedOrganizationNumber, getFormattedPrice, getFormattedPriceWithEnding, getFormattedDate, getTitleString, getFormattedCardNumber, getFormattedTime, getPriceWithLabel, getFormattedDateTimePretty, getFormattedTimePeriod, };
|
|
22
22
|
//# sourceMappingURL=format.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/packages/utils/format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAGlE;;GAEG;AACH,QAAA,MAAM,iBAAiB,UAEd,GAAG,wEA0BX,CAAA;AAED,QAAA,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/packages/utils/format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAGlE;;GAEG;AACH,QAAA,MAAM,iBAAiB,UAEd,GAAG,wEA0BX,CAAA;AAED,QAAA,MAAM,iBAAiB,2BACG,OAAO,WACtB,kBAAkB,WAK5B,CAAA;AAUD,QAAA,MAAM,2BAA2B,UACxB,MAAM,GAAG,MAAM,0CAQvB,CAAA;AAED;;GAEG;AACH,QAAA,MAAM,gBAAgB,SACd,MAAM,GAAG,IAAI,yDAgBpB,CAAA;AAED,QAAA,MAAM,gBAAgB,SAAU,IAAI,WAUnC,CAAA;AAED,QAAA,MAAM,0BAA0B,SAAU,IAAI,6CAG7C,CAAA;AAED;;GAEG;AACH,QAAA,MAAM,cAAc,SAAU,MAAM,WAInC,CAAA;AAED,QAAA,MAAM,sBAAsB,eAAgB,MAAM,WAUjD,CAAA;AAED,QAAA,MAAM,8BAA8B,uBACd,MAAM,GAAG,MAAM,WAQpC,CAAA;AAED,QAAA,MAAM,sBAAsB,cACf,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,WAClC,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,WAa1C,CAAA;AAED,OAAO,EACL,8BAA8B,EAC9B,iBAAiB,EACjB,2BAA2B,EAC3B,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,0BAA0B,EAC1B,sBAAsB,GACvB,CAAA"}
|
package/lib/utils/format.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { datesAreOnSameDay, ddmmyyyy } from './dates';
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* PRICES
|
|
3
|
+
/**
|
|
4
|
+
* PRICES
|
|
5
5
|
*/
|
|
6
6
|
const getFormattedPrice = (price, decimals, roundDown) => {
|
|
7
7
|
if (isNaN(price)) {
|
|
@@ -22,15 +22,11 @@ const getFormattedPrice = (price, decimals, roundDown) => {
|
|
|
22
22
|
}).format(price);
|
|
23
23
|
return decimals ? formatted : formatted.replace(/,/g, '.');
|
|
24
24
|
};
|
|
25
|
-
const getPriceWithLabel = pricing => {
|
|
26
|
-
return `${getPriceLabel(
|
|
27
|
-
};
|
|
28
|
-
const getPriceLabel = pricing => {
|
|
29
|
-
return pricing.fixedPrice ? 'Fastpris' : 'Prisantydning';
|
|
30
|
-
};
|
|
31
|
-
const getPrice = pricing => {
|
|
32
|
-
return pricing.fixedPrice ? pricing.fixedPrice : pricing.askingPrice;
|
|
25
|
+
const getPriceWithLabel = (clarificationInAdvance, pricing) => {
|
|
26
|
+
return `${getPriceLabel(clarificationInAdvance)} ${getFormattedPriceWithEnding(getPrice(clarificationInAdvance, pricing))}`;
|
|
33
27
|
};
|
|
28
|
+
const getPriceLabel = clarificationInAdvance => clarificationInAdvance ? 'Prisantydning' : 'Fastpris';
|
|
29
|
+
const getPrice = (clarificationInAdvance, pricing) => clarificationInAdvance ? pricing.askingPrice : pricing.fixedPrice;
|
|
34
30
|
const getFormattedPriceWithEnding = (price, decimals) => {
|
|
35
31
|
if (price === undefined || price === null) {
|
|
36
32
|
return 'Ikke angitt';
|
|
@@ -39,8 +35,8 @@ const getFormattedPriceWithEnding = (price, decimals) => {
|
|
|
39
35
|
return formattedPrice + ' kr';
|
|
40
36
|
};
|
|
41
37
|
|
|
42
|
-
/**
|
|
43
|
-
* DATES
|
|
38
|
+
/**
|
|
39
|
+
* DATES
|
|
44
40
|
*/
|
|
45
41
|
const getFormattedDate = (date, opt) => {
|
|
46
42
|
const options = opt || {
|
|
@@ -62,8 +58,8 @@ const getFormattedDateTimePretty = (date, opt = ddmmyyyy) => {
|
|
|
62
58
|
return `${getFormattedDate(date, opt)} kl ${getFormattedTime(date)}`;
|
|
63
59
|
};
|
|
64
60
|
|
|
65
|
-
/**
|
|
66
|
-
* OTHERS
|
|
61
|
+
/**
|
|
62
|
+
* OTHERS
|
|
67
63
|
*/
|
|
68
64
|
const getTitleString = text => {
|
|
69
65
|
if (!text) return '';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const formatAxisPrice: (val: any) => string;
|
|
2
|
-
export { formatAxisPrice };
|
|
1
|
+
declare const formatAxisPrice: (val: any) => string;
|
|
2
|
+
export { formatAxisPrice };
|
|
3
3
|
//# sourceMappingURL=formatGraphPrice.d.ts.map
|
package/lib/utils/image.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const convertBlobToObjectUrl: (blob: Blob) => string;
|
|
2
|
-
export { convertBlobToObjectUrl };
|
|
1
|
+
declare const convertBlobToObjectUrl: (blob: Blob) => string;
|
|
2
|
+
export { convertBlobToObjectUrl };
|
|
3
3
|
//# sourceMappingURL=image.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const getCurrentPage: (take: number, skip: number) => number;
|
|
2
|
-
declare const getSkippedItems: (pageNumber: number, take: number) => number;
|
|
3
|
-
declare const getHasPreviousPages: (currentPage: number, totalPages: number) => boolean;
|
|
4
|
-
declare const getHasMorePages: (currentPage: number, totalPages: number) => boolean;
|
|
5
|
-
declare const getFirstButtonIndex: (currentPage: number, totalPages: number) => number;
|
|
6
|
-
export { getCurrentPage, getSkippedItems, getHasPreviousPages, getHasMorePages, getFirstButtonIndex, };
|
|
1
|
+
declare const getCurrentPage: (take: number, skip: number) => number;
|
|
2
|
+
declare const getSkippedItems: (pageNumber: number, take: number) => number;
|
|
3
|
+
declare const getHasPreviousPages: (currentPage: number, totalPages: number) => boolean;
|
|
4
|
+
declare const getHasMorePages: (currentPage: number, totalPages: number) => boolean;
|
|
5
|
+
declare const getFirstButtonIndex: (currentPage: number, totalPages: number) => number;
|
|
6
|
+
export { getCurrentPage, getSkippedItems, getHasPreviousPages, getHasMorePages, getFirstButtonIndex, };
|
|
7
7
|
//# sourceMappingURL=pagination.d.ts.map
|
package/lib/utils/phone.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const getFormatedPhone: (phone: string) => string;
|
|
2
|
-
export { getFormatedPhone };
|
|
1
|
+
declare const getFormatedPhone: (phone: string) => string;
|
|
2
|
+
export { getFormatedPhone };
|
|
3
3
|
//# sourceMappingURL=phone.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export default function removeFocusOnMouseUp<T>(event: React.MouseEvent<T>): void;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export default function removeFocusOnMouseUp<T>(event: React.MouseEvent<T>): void;
|
|
3
3
|
//# sourceMappingURL=removeFocusOnMouseUp.d.ts.map
|
package/lib/utils/time.d.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
export declare const DEFAULT_DIVIDER = ":";
|
|
2
|
-
export declare const DEFAULT_VALUE_SHORT: string;
|
|
3
|
-
export declare const DEFAULT_VALUE_SHORT_NULLABLE: string;
|
|
4
|
-
export declare const DEFAULT_VALUE_FULL: string;
|
|
5
|
-
export declare const DEFAULT_VALUE_FULL_NULLABLE: string;
|
|
6
|
-
/**
|
|
7
|
-
* Checks if input is a number
|
|
8
|
-
*/
|
|
9
|
-
export declare function isNumber<T>(value: T): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Validates time to keep the format:
|
|
12
|
-
* default 00:00 or 00:00:00 if showSeconds is true
|
|
13
|
-
*
|
|
14
|
-
* The function also keeps track of the cursor position
|
|
15
|
-
*/
|
|
16
|
-
export declare const validateTimeAndCursor: (showSeconds?: boolean, value?: string, defaultValue?: string, divider?: string, cursorPosition?: number, isNullable?: boolean) => [string, number];
|
|
17
|
-
/**
|
|
18
|
-
* Converts a Date to String with the format:
|
|
19
|
-
* default 00:00 or 00:00:00 if showSeconds is true
|
|
20
|
-
*/
|
|
21
|
-
export declare const handleDateToStringConvertion: (date: Date, showSeconds?: boolean | undefined) => string;
|
|
22
|
-
/**
|
|
23
|
-
* Converts a String to Date with the format:
|
|
24
|
-
* If value is formatted as 00:00:00 it will return the date with chosen seconds
|
|
25
|
-
* If value is formatted as 00:00 it will return the date with seconds set to 00
|
|
26
|
-
*/
|
|
27
|
-
export declare const handleStringToDateConvertion: (value: string, originalDate?: Date | undefined) => Date;
|
|
28
|
-
export declare const getTimeFromHours: (hours: number) => {
|
|
29
|
-
days: number;
|
|
30
|
-
hours: number;
|
|
31
|
-
};
|
|
32
|
-
export declare const getTimeStringFromHours: (hours: number) => string;
|
|
1
|
+
export declare const DEFAULT_DIVIDER = ":";
|
|
2
|
+
export declare const DEFAULT_VALUE_SHORT: string;
|
|
3
|
+
export declare const DEFAULT_VALUE_SHORT_NULLABLE: string;
|
|
4
|
+
export declare const DEFAULT_VALUE_FULL: string;
|
|
5
|
+
export declare const DEFAULT_VALUE_FULL_NULLABLE: string;
|
|
6
|
+
/**
|
|
7
|
+
* Checks if input is a number
|
|
8
|
+
*/
|
|
9
|
+
export declare function isNumber<T>(value: T): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Validates time to keep the format:
|
|
12
|
+
* default 00:00 or 00:00:00 if showSeconds is true
|
|
13
|
+
*
|
|
14
|
+
* The function also keeps track of the cursor position
|
|
15
|
+
*/
|
|
16
|
+
export declare const validateTimeAndCursor: (showSeconds?: boolean, value?: string, defaultValue?: string, divider?: string, cursorPosition?: number, isNullable?: boolean) => [string, number];
|
|
17
|
+
/**
|
|
18
|
+
* Converts a Date to String with the format:
|
|
19
|
+
* default 00:00 or 00:00:00 if showSeconds is true
|
|
20
|
+
*/
|
|
21
|
+
export declare const handleDateToStringConvertion: (date: Date, showSeconds?: boolean | undefined) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Converts a String to Date with the format:
|
|
24
|
+
* If value is formatted as 00:00:00 it will return the date with chosen seconds
|
|
25
|
+
* If value is formatted as 00:00 it will return the date with seconds set to 00
|
|
26
|
+
*/
|
|
27
|
+
export declare const handleStringToDateConvertion: (value: string, originalDate?: Date | undefined) => Date;
|
|
28
|
+
export declare const getTimeFromHours: (hours: number) => {
|
|
29
|
+
days: number;
|
|
30
|
+
hours: number;
|
|
31
|
+
};
|
|
32
|
+
export declare const getTimeStringFromHours: (hours: number) => string;
|
|
33
33
|
//# sourceMappingURL=time.d.ts.map
|
package/lib/utils/time.js
CHANGED
|
@@ -7,19 +7,19 @@ const formatTimeItem = (value, isNullable = false) => {
|
|
|
7
7
|
return `${value || ''}${isNullable ? '--' : '00'}`.substring(0, 2);
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
/**
|
|
11
|
-
* Checks if input is a number
|
|
10
|
+
/**
|
|
11
|
+
* Checks if input is a number
|
|
12
12
|
*/
|
|
13
13
|
export function isNumber(value) {
|
|
14
14
|
const number = Number(value);
|
|
15
15
|
return !isNaN(number) && String(value) === String(number);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* Validates time to keep the format:
|
|
20
|
-
* default 00:00 or 00:00:00 if showSeconds is true
|
|
21
|
-
*
|
|
22
|
-
* The function also keeps track of the cursor position
|
|
18
|
+
/**
|
|
19
|
+
* Validates time to keep the format:
|
|
20
|
+
* default 00:00 or 00:00:00 if showSeconds is true
|
|
21
|
+
*
|
|
22
|
+
* The function also keeps track of the cursor position
|
|
23
23
|
*/
|
|
24
24
|
export const validateTimeAndCursor = (showSeconds = false, value = '', defaultValue = '', divider = DEFAULT_DIVIDER, cursorPosition = 0, isNullable = false) => {
|
|
25
25
|
const [oldHH, oldMM, oldSS] = defaultValue.split(divider);
|
|
@@ -53,9 +53,9 @@ export const validateTimeAndCursor = (showSeconds = false, value = '', defaultVa
|
|
|
53
53
|
return [validatedValue, newCursorPosition];
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
-
/**
|
|
57
|
-
* Converts a Date to String with the format:
|
|
58
|
-
* default 00:00 or 00:00:00 if showSeconds is true
|
|
56
|
+
/**
|
|
57
|
+
* Converts a Date to String with the format:
|
|
58
|
+
* default 00:00 or 00:00:00 if showSeconds is true
|
|
59
59
|
*/
|
|
60
60
|
export const handleDateToStringConvertion = (date, showSeconds) => {
|
|
61
61
|
const d = new Date(date);
|
|
@@ -65,10 +65,10 @@ export const handleDateToStringConvertion = (date, showSeconds) => {
|
|
|
65
65
|
return `${hours}${DEFAULT_DIVIDER}${minutes}${showSeconds ? `${DEFAULT_DIVIDER}${seconds}` : ''}`;
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
/**
|
|
69
|
-
* Converts a String to Date with the format:
|
|
70
|
-
* If value is formatted as 00:00:00 it will return the date with chosen seconds
|
|
71
|
-
* If value is formatted as 00:00 it will return the date with seconds set to 00
|
|
68
|
+
/**
|
|
69
|
+
* Converts a String to Date with the format:
|
|
70
|
+
* If value is formatted as 00:00:00 it will return the date with chosen seconds
|
|
71
|
+
* If value is formatted as 00:00 it will return the date with seconds set to 00
|
|
72
72
|
*/
|
|
73
73
|
export const handleStringToDateConvertion = (value, originalDate) => {
|
|
74
74
|
const [hours, minutes, seconds] = value.split(DEFAULT_DIVIDER);
|
package/lib/utils/url.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const getDomainFromUrl: (url: string) => string;
|
|
2
|
-
declare const getUrlWithProtocol: (url: string) => string;
|
|
3
|
-
export { getDomainFromUrl, getUrlWithProtocol };
|
|
1
|
+
declare const getDomainFromUrl: (url: string) => string;
|
|
2
|
+
declare const getUrlWithProtocol: (url: string) => string;
|
|
3
|
+
export { getDomainFromUrl, getUrlWithProtocol };
|
|
4
4
|
//# sourceMappingURL=url.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IAppTheme } from '../app-shell/theme';
|
|
2
|
-
declare type Props = {
|
|
3
|
-
themeUrl: string;
|
|
4
|
-
defaultTextColor?: string;
|
|
5
|
-
globalsFolder?: 'portal' | 'mypage';
|
|
6
|
-
};
|
|
7
|
-
declare const useSnorreTheme: ({ themeUrl, defaultTextColor, globalsFolder, }: Props) => {
|
|
8
|
-
appTheme: IAppTheme | undefined;
|
|
9
|
-
globals: string | undefined;
|
|
10
|
-
};
|
|
11
|
-
export default useSnorreTheme;
|
|
1
|
+
import { IAppTheme } from '../app-shell/theme';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
themeUrl: string;
|
|
4
|
+
defaultTextColor?: string;
|
|
5
|
+
globalsFolder?: 'portal' | 'mypage';
|
|
6
|
+
};
|
|
7
|
+
declare const useSnorreTheme: ({ themeUrl, defaultTextColor, globalsFolder, }: Props) => {
|
|
8
|
+
appTheme: IAppTheme | undefined;
|
|
9
|
+
globals: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
export default useSnorreTheme;
|
|
12
12
|
//# sourceMappingURL=useSnorreTheme.d.ts.map
|
package/package.json
CHANGED
package/rollup.config.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import commonjs from '@rollup/plugin-commonjs'
|
|
2
|
-
|
|
3
|
-
const config = {
|
|
4
|
-
input: 'esm/index.js',
|
|
5
|
-
output: {
|
|
6
|
-
file: 'dist/bundle.js',
|
|
7
|
-
format: 'umd',
|
|
8
|
-
name: 'Snorre',
|
|
9
|
-
},
|
|
10
|
-
plugins: [commonjs()],
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export default config
|
|
1
|
+
import commonjs from '@rollup/plugin-commonjs'
|
|
2
|
+
|
|
3
|
+
const config = {
|
|
4
|
+
input: 'esm/index.js',
|
|
5
|
+
output: {
|
|
6
|
+
file: 'dist/bundle.js',
|
|
7
|
+
format: 'umd',
|
|
8
|
+
name: 'Snorre',
|
|
9
|
+
},
|
|
10
|
+
plugins: [commonjs()],
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default config
|