@bbl-digital/snorre 4.0.45 → 4.0.46
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 +623 -604
- 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/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/PreemptionCard.stories.js +9 -12
- 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/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/format.js +14 -10
- 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/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 +7 -6
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCard/PreemptionCard.stories.js +9 -12
- 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/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/format.d.ts.map +1 -1
- package/lib/utils/format.js +14 -10
- 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
@@ -7,7 +7,7 @@ export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "pro
|
|
7
7
|
} : {
|
8
8
|
target: "exqwsp82",
|
9
9
|
label: "Wrapper"
|
10
|
-
})(props => /*#__PURE__*/css("display:flex;gap:0.5rem;justify-content:start;padding:1rem 0;border-bottom:", props.hideBorderBottom ? 'none' : '1px solid #d8e4f9', ";svg{margin-top:3px;min-width:14px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
10
|
+
})(props => /*#__PURE__*/css("display:flex;gap:0.5rem;justify-content:start;padding:1rem 0;border-bottom:", props.hideBorderBottom ? 'none' : '1px solid #d8e4f9', ";svg{margin-top:3px;min-width:14px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L05vdGlmaWNhdGlvblJvdy9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS2dEIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L05vdGlmaWNhdGlvblJvdy9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcclxuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXHJcbmltcG9ydCBCdXR0b24gZnJvbSAnLi4vLi4vQnV0dG9uJ1xyXG5cclxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2KFxyXG4gIChwcm9wczogeyBoaWRlQm9yZGVyQm90dG9tPzogYm9vbGVhbiB9KSA9PiBjc3NgXHJcbiAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgZ2FwOiAwLjVyZW07XHJcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IHN0YXJ0O1xyXG4gICAgcGFkZGluZzogMXJlbSAwO1xyXG4gICAgYm9yZGVyLWJvdHRvbTogJHtwcm9wcy5oaWRlQm9yZGVyQm90dG9tID8gJ25vbmUnIDogJzFweCBzb2xpZCAjZDhlNGY5J307XHJcblxyXG4gICAgc3ZnIHtcclxuICAgICAgbWFyZ2luLXRvcDogM3B4O1xyXG4gICAgICBtaW4td2lkdGg6IDE0cHg7XHJcbiAgICB9XHJcbiAgYFxyXG4pXHJcblxyXG5leHBvcnQgY29uc3QgVGV4dENvbnRlbnQgPSBzdHlsZWQuc3BhbmBcclxuICBkaXNwbGF5OiBmbGV4O1xyXG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XHJcbiAgdGV4dC1hbGlnbjogbGVmdDtcclxuXHJcbiAgJiA+IHNwYW4ge1xyXG4gICAgbGluZS1oZWlnaHQ6IDEuNWVtO1xyXG4gICAgdGV4dC1hbGlnbjogbGVmdDtcclxuICAgIGZvbnQtd2VpZ2h0OiBub3JtYWw7XHJcbiAgICB0ZXh0LXRyYW5zZm9ybTogbm9uZTtcclxuXHJcbiAgICAmID4gc3BhbiB7XHJcbiAgICAgIGZvbnQtd2VpZ2h0OiA2MDA7XHJcbiAgICAgIHRleHQtdHJhbnNmb3JtOiBub25lO1xyXG4gICAgfVxyXG4gIH1cclxuYFxyXG5cclxuZXhwb3J0IGNvbnN0IFN0eWxlZEJ1dHRvbiA9IHN0eWxlZChCdXR0b24pYFxyXG4gIHdpZHRoOiAxMDAlO1xyXG4gICYgPiBzcGFuIHtcclxuICAgIHdpZHRoOiAxMDAlO1xyXG4gIH1cclxuYFxyXG4iXX0= */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L05vdGlmaWNhdGlvblJvdy9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXVCIiwiZmlsZSI6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5zZm9ybTogbm9uZTtcclxuXHJcbiAgICAmID4gc3BhbiB7XHJcbiAgICAgIGZvbnQtd2VpZ2h0OiA2MDA7XHJcbiAgICAgIHRleHQtdHJhbnNmb3JtOiBub25lO1xyXG4gICAgfVxyXG4gIH1cclxuYFxyXG5cclxuZXhwb3J0IGNvbnN0IFN0eWxlZEJ1dHRvbiA9IHN0eWxlZChCdXR0b24pYFxyXG4gIHdpZHRoOiAxMDAlO1xyXG4gICYgPiBzcGFuIHtcclxuICAgIHdpZHRoOiAxMDAlO1xyXG4gIH1cclxuYFxyXG4iXX0= */");
|
11
11
|
export const TextContent = /*#__PURE__*/_styled("span", process.env.NODE_ENV === "production" ? {
|
12
12
|
target: "exqwsp81"
|
13
13
|
} : {
|
@@ -19,7 +19,7 @@ export const TextContent = /*#__PURE__*/_styled("span", process.env.NODE_ENV ===
|
|
19
19
|
} : {
|
20
20
|
name: "1vmat21",
|
21
21
|
styles: "display:flex;flex-direction:column;text-align:left;&>span{line-height:1.5em;text-align:left;font-weight:normal;text-transform:none;&>span{font-weight:600;text-transform:none;}}",
|
22
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
22
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L05vdGlmaWNhdGlvblJvdy9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbUJzQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpZmljYXRpb25zTWVudS9Ob3RpZmljYXRpb25Sb3cvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXHJcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3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gc3BhbiB7XHJcbiAgICB3aWR0aDogMTAwJTtcclxuICB9XHJcbmBcclxuIl19 */",
|
23
23
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
24
24
|
});
|
25
25
|
export const StyledButton = /*#__PURE__*/_styled(Button, process.env.NODE_ENV === "production" ? {
|
@@ -33,6 +33,6 @@ export const StyledButton = /*#__PURE__*/_styled(Button, process.env.NODE_ENV ==
|
|
33
33
|
} : {
|
34
34
|
name: "13nmmot",
|
35
35
|
styles: "width:100%;&>span{width:100%;}",
|
36
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
36
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L05vdGlmaWNhdGlvblJvdy9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUMwQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Ob3RpZmljYXRpb25zTWVudS9Ob3RpZmljYXRpb25Sb3cvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXHJcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xyXG5pbXBvcnQgQnV0dG9uIGZyb20gJy4uLy4uL0J1dHRvbidcclxuXHJcbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdihcclxuICAocHJvcHM6IHsgaGlkZUJvcmRlckJvdHRvbT86IGJvb2xlYW4gfSkgPT4gY3NzYFxyXG4gICAgZGlzcGxheTogZmxleDtcclxuICAgIGdhcDogMC41cmVtO1xyXG4gICAganVzdGlmeS1jb250ZW50OiBzdGFydDtcclxuICAgIHBhZGRpbmc6IDFyZW0gMDtcclxuICAgIGJvcmRlci1ib3R0b206ICR7cHJvcHMuaGlkZUJvcmRlckJvdHRvbSA/ICdub25lJyA6ICcxcHggc29saWQgI2Q4ZTRmOSd9O1xyXG5cclxuICAgIHN2ZyB7XHJcbiAgICAgIG1hcmdpbi10b3A6IDNweDtcclxuICAgICAgbWluLXdpZHRoOiAxNHB4O1xyXG4gICAgfVxyXG4gIGBcclxuKVxyXG5cclxuZXhwb3J0IGNvbnN0IFRleHRDb250ZW50ID0gc3R5bGVkLnNwYW5gXHJcbiAgZGlzcGxheTogZmxleDtcclxuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xyXG4gIHRleHQtYWxpZ246IGxlZnQ7XHJcblxyXG4gICYgPiBzcGFuIHtcclxuICAgIGxpbmUtaGVpZ2h0OiAxLjVlbTtcclxuICAgIHRleHQtYWxpZ246IGxlZnQ7XHJcbiAgICBmb250LXdlaWdodDogbm9ybWFsO1xyXG4gICAgdGV4dC10cmFuc2Zvcm06IG5vbmU7XHJcblxyXG4gICAgJiA+IHNwYW4ge1xyXG4gICAgICBmb250LXdlaWdodDogNjAwO1xyXG4gICAgICB0ZXh0LXRyYW5zZm9ybTogbm9uZTtcclxuICAgIH1cclxuICB9XHJcbmBcclxuXHJcbmV4cG9ydCBjb25zdCBTdHlsZWRCdXR0b24gPSBzdHlsZWQoQnV0dG9uKWBcclxuICB3aWR0aDogMTAwJTtcclxuICAmID4gc3BhbiB7XHJcbiAgICB3aWR0aDogMTAwJTtcclxuICB9XHJcbmBcclxuIl19 */",
|
37
37
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
38
38
|
});
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import NotificationsMenu from '.';
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
3
|
-
declare const meta: Meta<typeof NotificationsMenu>;
|
4
|
-
export default meta;
|
5
|
-
declare type Story = StoryObj<typeof NotificationsMenu>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const UnreadNotification: Story;
|
1
|
+
import NotificationsMenu from '.';
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
3
|
+
declare const meta: Meta<typeof NotificationsMenu>;
|
4
|
+
export default meta;
|
5
|
+
declare type Story = StoryObj<typeof NotificationsMenu>;
|
6
|
+
export declare const Default: Story;
|
7
|
+
export declare const UnreadNotification: Story;
|
8
8
|
//# sourceMappingURL=NotificationsMenu.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NotificationsMenu.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationsMenu/NotificationsMenu.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,GAAG,CAAA;AAGjC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAGxC,CAAA;AACD,eAAe,IAAI,CAAA;AACnB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"NotificationsMenu.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationsMenu/NotificationsMenu.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,GAAG,CAAA;AAGjC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAGxC,CAAA;AACD,eAAe,IAAI,CAAA;AACnB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KA+BhC,CAAA"}
|
@@ -14,13 +14,15 @@ export const Default = {
|
|
14
14
|
args: {
|
15
15
|
unreadCount: 0,
|
16
16
|
onBellClick: () => console.log('bell click'),
|
17
|
-
children: 'Her kan man legge hva man vil'
|
17
|
+
children: 'Her kan man legge hva man vil',
|
18
|
+
animationActive: false
|
18
19
|
}
|
19
20
|
};
|
20
21
|
export const UnreadNotification = {
|
21
22
|
name: 'Unread notification',
|
22
23
|
args: {
|
23
24
|
unreadCount: 5,
|
25
|
+
animationActive: true,
|
24
26
|
onBellClick: () => console.log('bell click'),
|
25
27
|
children: /*#__PURE__*/_jsxs(_Fragment, {
|
26
28
|
children: [/*#__PURE__*/_jsx(NotificationRow, {
|
@@ -1,16 +1,18 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
/** Unread property for showing marker */
|
4
|
-
unreadCount: number;
|
5
|
-
/** Update value for close dropdown */
|
6
|
-
triggerClose?: any;
|
7
|
-
/** Menu border radius */
|
8
|
-
radius?: '16px' | '10px';
|
9
|
-
/** Children */
|
10
|
-
children?: React.ReactNode;
|
11
|
-
/** Callback on bell click */
|
12
|
-
onBellClick?: () => void;
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
import React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
/** Unread property for showing marker */
|
4
|
+
unreadCount: number;
|
5
|
+
/** Update value for close dropdown */
|
6
|
+
triggerClose?: any;
|
7
|
+
/** Menu border radius */
|
8
|
+
radius?: '16px' | '10px';
|
9
|
+
/** Children */
|
10
|
+
children?: React.ReactNode;
|
11
|
+
/** Callback on bell click */
|
12
|
+
onBellClick?: () => void;
|
13
|
+
/** Animates bell to shake */
|
14
|
+
animationActive?: boolean;
|
15
|
+
}
|
16
|
+
declare const NotificationsMenu: ({ unreadCount, triggerClose, radius, children, animationActive, onBellClick, }: IProps) => React.JSX.Element;
|
17
|
+
export default NotificationsMenu;
|
16
18
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationsMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/NotificationsMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAA;AAY7D,UAAU,MAAM;IACd,yCAAyC;IACzC,WAAW,EAAE,MAAM,CAAA;IACnB,sCAAsC;IACtC,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,6BAA6B;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,QAAA,MAAM,iBAAiB,mFAOpB,MAAM,sBAiFR,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
@@ -4,6 +4,7 @@ import Button from '../Button';
|
|
4
4
|
import IconBellOutline from '../../icons/General/IconBellOutline';
|
5
5
|
import IconBellFilled from '../../icons/General/IconBellFilled';
|
6
6
|
import Text from '../Text';
|
7
|
+
import { motion } from 'framer-motion';
|
7
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
8
9
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
9
10
|
const NotificationsMenu = ({
|
@@ -11,6 +12,7 @@ const NotificationsMenu = ({
|
|
11
12
|
triggerClose,
|
12
13
|
radius,
|
13
14
|
children,
|
15
|
+
animationActive = false,
|
14
16
|
onBellClick
|
15
17
|
}) => {
|
16
18
|
const ref = /*#__PURE__*/createRef();
|
@@ -43,24 +45,38 @@ const NotificationsMenu = ({
|
|
43
45
|
setOpen(!open);
|
44
46
|
onBellClick && onBellClick();
|
45
47
|
};
|
48
|
+
const variant = {
|
49
|
+
initial: {
|
50
|
+
rotate: [0, 10, 0],
|
51
|
+
transition: {
|
52
|
+
duration: 0.2,
|
53
|
+
repeat: Infinity
|
54
|
+
}
|
55
|
+
},
|
56
|
+
none: {}
|
57
|
+
};
|
46
58
|
return /*#__PURE__*/_jsxs(NotificationsWrapper, {
|
47
|
-
children: [/*#__PURE__*/
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
children: /*#__PURE__*/_jsx(
|
59
|
-
|
60
|
-
|
61
|
-
children:
|
62
|
-
|
63
|
-
|
59
|
+
children: [/*#__PURE__*/_jsx(motion.div, {
|
60
|
+
animate: animationActive ? 'initial' : 'none',
|
61
|
+
variants: variant,
|
62
|
+
children: /*#__PURE__*/_jsxs(Button, {
|
63
|
+
nostyle: true,
|
64
|
+
onClick: onClick,
|
65
|
+
focusable: true,
|
66
|
+
"aria-expanded": open,
|
67
|
+
"aria-label": hasUnread ? 'Uleste notifikasjoner' : 'Ingen uleste notifikasjoner',
|
68
|
+
trackingName: "Felles",
|
69
|
+
trackingEvent: "Toggle varselmeny",
|
70
|
+
children: [hasUnread ? /*#__PURE__*/_jsx(IconBellOutline, {
|
71
|
+
secondary: true
|
72
|
+
}) : /*#__PURE__*/_jsx(IconBellFilled, {}), hasUnread && /*#__PURE__*/_jsx(UnreadMark, {
|
73
|
+
children: /*#__PURE__*/_jsx(Text, {
|
74
|
+
size: "12px",
|
75
|
+
color: "white",
|
76
|
+
children: unreadCount <= maxUnreadCount ? unreadCount : maxUnreadCount
|
77
|
+
})
|
78
|
+
})]
|
79
|
+
})
|
64
80
|
}), open && /*#__PURE__*/_jsx("span", {
|
65
81
|
ref: ref,
|
66
82
|
children: /*#__PURE__*/_jsx(NotificationsContent, {
|
@@ -1,16 +1,16 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export declare const NotificationsWrapper: import("@emotion/styled").StyledComponent<{
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
6
|
-
export declare const NotificationsContent: import("@emotion/styled").StyledComponent<{
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
9
|
-
} & {
|
10
|
-
$radius?: string | undefined;
|
11
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
12
|
-
export declare const UnreadMark: import("@emotion/styled").StyledComponent<{
|
13
|
-
theme?: import("@emotion/react").Theme | undefined;
|
14
|
-
as?: import("react").ElementType<any> | undefined;
|
15
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const NotificationsWrapper: import("@emotion/styled").StyledComponent<{
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
6
|
+
export declare const NotificationsContent: import("@emotion/styled").StyledComponent<{
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
9
|
+
} & {
|
10
|
+
$radius?: string | undefined;
|
11
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
12
|
+
export declare const UnreadMark: import("@emotion/styled").StyledComponent<{
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
14
|
+
as?: import("react").ElementType<any> | undefined;
|
15
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
16
16
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -11,7 +11,7 @@ export const NotificationsWrapper = /*#__PURE__*/_styled("div", process.env.NODE
|
|
11
11
|
} : {
|
12
12
|
name: "1ivkyd7",
|
13
13
|
styles: "position:relative;display:flex;flex-direction:row;&>svg{margin-left:0.5em;}",
|
14
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
14
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFOEMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvTm90aWZpY2F0aW9uc01lbnUvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBOb3RpZmljYXRpb25zV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuXG4gICYgPiBzdmcge1xuICAgIG1hcmdpbi1sZWZ0OiAwLjVlbTtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgTm90aWZpY2F0aW9uc0NvbnRlbnQgPSBzdHlsZWQuZGl2PHsgJHJhZGl1cz86IHN0cmluZyB9PmBcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcbiAgcmlnaHQ6IDA7XG4gIHRvcDogMzBweDtcblxuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICB3aWR0aDogMzAwcHg7XG4gIGJvcmRlcjogMXB4IHNvbGlkICNjZmQ5ZWE7XG5cbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZmZmZjtcbiAgYm94LXNoYWRvdzogMCAxMHB4IDE1cHggMCByZ2JhKDAsIDAsIDAsIDAuMSk7XG4gIGJvcmRlci1yYWRpdXM6ICR7KHsgJHJhZGl1cyB9KSA9PiAkcmFkaXVzIHx8ICcxMHB4J307XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIHBhZGRpbmc6IDAuNWVtIDFlbTtcbmBcblxuZXhwb3J0IGNvbnN0IFVucmVhZE1hcmsgPSBzdHlsZWQuZGl2YFxuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICB0b3A6IC02cHg7XG4gIGxlZnQ6IDEwcHg7XG4gIGJhY2tncm91bmQ6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUuYWxlcnR9O1xuICBoZWlnaHQ6IDE4cHg7XG4gIHdpZHRoOiAxOHB4O1xuICBib3JkZXItcmFkaXVzOiAxMHB4O1xuYFxuIl19 */",
|
15
15
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
16
16
|
});
|
17
17
|
export const NotificationsContent = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
@@ -21,7 +21,7 @@ export const NotificationsContent = /*#__PURE__*/_styled("div", process.env.NODE
|
|
21
21
|
label: "NotificationsContent"
|
22
22
|
})("position:absolute;background-color:white;right:0;top:30px;box-sizing:border-box;width:300px;border:1px solid #cfd9ea;background-color:#ffffff;box-shadow:0 10px 15px 0 rgba(0, 0, 0, 0.1);border-radius:", ({
|
23
23
|
$radius
|
24
|
-
}) => $radius || '10px', ";overflow:hidden;padding:0.5em 1em;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
24
|
+
}) => $radius || '10px', ";overflow:hidden;padding:0.5em 1em;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-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WVtIDFlbTtcbmBcblxuZXhwb3J0IGNvbnN0IFVucmVhZE1hcmsgPSBzdHlsZWQuZGl2YFxuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICB0b3A6IC02cHg7XG4gIGxlZnQ6IDEwcHg7XG4gIGJhY2tncm91bmQ6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUuYWxlcnR9O1xuICBoZWlnaHQ6IDE4cHg7XG4gIHdpZHRoOiAxOHB4O1xuICBib3JkZXItcmFkaXVzOiAxMHB4O1xuYFxuIl19 */"));
|
25
25
|
export const UnreadMark = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
26
26
|
target: "ebh5fga0"
|
27
27
|
} : {
|
@@ -29,4 +29,4 @@ export const UnreadMark = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "
|
|
29
29
|
label: "UnreadMark"
|
30
30
|
})("position:absolute;display:flex;align-items:center;justify-content:center;top:-6px;left:10px;background:", ({
|
31
31
|
theme
|
32
|
-
}) => theme.
|
32
|
+
}) => theme.alert, ";height:18px;width:18px;border-radius:10px;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4Qm9DIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL05vdGlmaWNhdGlvbnNNZW51L3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgTm90aW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ZGVyLXJhZGl1czogMTBweDtcbmBcbiJdfQ== */"));
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
/** Renders outer line on the pie chart */
|
3
|
-
declare const ActiveShape: (props: any) => React.JSX.Element;
|
4
|
-
export default ActiveShape;
|
1
|
+
import React from 'react';
|
2
|
+
/** Renders outer line on the pie chart */
|
3
|
+
declare const ActiveShape: (props: any) => React.JSX.Element;
|
4
|
+
export default ActiveShape;
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1,21 +1,21 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { LoadedType } from '../../shared/types/LoadedType';
|
3
|
-
declare const _default;
|
4
|
-
export default _default;
|
5
|
-
export declare const Default: {
|
6
|
-
render: (_args: unknown, { loaded: { theme } }: LoadedType) => import("react").JSX.Element;
|
7
|
-
name: string;
|
8
|
-
};
|
9
|
-
export declare const WithoutPrefix: {
|
10
|
-
render: (_args: unknown, { loaded: { theme } }: LoadedType) => import("react").JSX.Element;
|
11
|
-
name: string;
|
12
|
-
};
|
13
|
-
export declare const Responsive: {
|
14
|
-
render: (_args: unknown, { loaded: { theme } }: LoadedType) => import("react").JSX.Element;
|
15
|
-
name: string;
|
16
|
-
};
|
17
|
-
export declare const Opacity: {
|
18
|
-
render: (_args: unknown, { loaded: { theme } }: LoadedType) => import("react").JSX.Element;
|
19
|
-
name: string;
|
20
|
-
};
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { LoadedType } from '../../shared/types/LoadedType';
|
3
|
+
declare const _default;
|
4
|
+
export default _default;
|
5
|
+
export declare const Default: {
|
6
|
+
render: (_args: unknown, { loaded: { theme } }: LoadedType) => import("react").JSX.Element;
|
7
|
+
name: string;
|
8
|
+
};
|
9
|
+
export declare const WithoutPrefix: {
|
10
|
+
render: (_args: unknown, { loaded: { theme } }: LoadedType) => import("react").JSX.Element;
|
11
|
+
name: string;
|
12
|
+
};
|
13
|
+
export declare const Responsive: {
|
14
|
+
render: (_args: unknown, { loaded: { theme } }: LoadedType) => import("react").JSX.Element;
|
15
|
+
name: string;
|
16
|
+
};
|
17
|
+
export declare const Opacity: {
|
18
|
+
render: (_args: unknown, { loaded: { theme } }: LoadedType) => import("react").JSX.Element;
|
19
|
+
name: string;
|
20
|
+
};
|
21
21
|
//# sourceMappingURL=PieChart.stories.d.ts.map
|
@@ -1,31 +1,31 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Pie } from 'recharts';
|
3
|
-
interface IProps extends Partial<Pie> {
|
4
|
-
/** Data properties, e.g. [{ title: 'name', value: 0 }] */
|
5
|
-
data: ChartDataProps[];
|
6
|
-
/** Pie chart height, default 300px */
|
7
|
-
height?: string;
|
8
|
-
/** Pie chart width, default 100% */
|
9
|
-
width?: string;
|
10
|
-
/** Default subtitle value shown, will join with subtitlePrefix in set e.g. xx + 'beboere' */
|
11
|
-
defaultSubtitle?: string;
|
12
|
-
/** Subtitle prefix, e.g. 'Antall beboere' + value */
|
13
|
-
subtitlePrefix?: string;
|
14
|
-
/** Handles active changes from the outside, takes the index from the data array */
|
15
|
-
active?: number | undefined;
|
16
|
-
/** Handles opacity of the circle, default 70% */
|
17
|
-
opacity?: number | undefined;
|
18
|
-
/** Set function for active index from outside the component */
|
19
|
-
onActiveChange?: (index: number | undefined) => void;
|
20
|
-
}
|
21
|
-
interface ChartDataProps {
|
22
|
-
/** Pie piece title */
|
23
|
-
title: string;
|
24
|
-
/** Pie piece value in number */
|
25
|
-
value: number;
|
26
|
-
/** Pie piece color */
|
27
|
-
color?: string;
|
28
|
-
}
|
29
|
-
declare const PieChart: React.FC<IProps>;
|
30
|
-
export default PieChart;
|
1
|
+
import React from 'react';
|
2
|
+
import { Pie } from 'recharts';
|
3
|
+
interface IProps extends Partial<Pie> {
|
4
|
+
/** Data properties, e.g. [{ title: 'name', value: 0 }] */
|
5
|
+
data: ChartDataProps[];
|
6
|
+
/** Pie chart height, default 300px */
|
7
|
+
height?: string;
|
8
|
+
/** Pie chart width, default 100% */
|
9
|
+
width?: string;
|
10
|
+
/** Default subtitle value shown, will join with subtitlePrefix in set e.g. xx + 'beboere' */
|
11
|
+
defaultSubtitle?: string;
|
12
|
+
/** Subtitle prefix, e.g. 'Antall beboere' + value */
|
13
|
+
subtitlePrefix?: string;
|
14
|
+
/** Handles active changes from the outside, takes the index from the data array */
|
15
|
+
active?: number | undefined;
|
16
|
+
/** Handles opacity of the circle, default 70% */
|
17
|
+
opacity?: number | undefined;
|
18
|
+
/** Set function for active index from outside the component */
|
19
|
+
onActiveChange?: (index: number | undefined) => void;
|
20
|
+
}
|
21
|
+
interface ChartDataProps {
|
22
|
+
/** Pie piece title */
|
23
|
+
title: string;
|
24
|
+
/** Pie piece value in number */
|
25
|
+
value: number;
|
26
|
+
/** Pie piece color */
|
27
|
+
color?: string;
|
28
|
+
}
|
29
|
+
declare const PieChart: React.FC<IProps>;
|
30
|
+
export default PieChart;
|
31
31
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
/** Renders central text in the pie chart*/
|
3
|
-
declare const renderTextContent: (num: number, title?: string | undefined) => (props: any) => React.JSX.Element;
|
4
|
-
export default renderTextContent;
|
1
|
+
import React from 'react';
|
2
|
+
/** Renders central text in the pie chart*/
|
3
|
+
declare const renderTextContent: (num: number, title?: string | undefined) => (props: any) => React.JSX.Element;
|
4
|
+
export default renderTextContent;
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1,15 +1,15 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
interface IPieChartStyleProps {
|
3
|
-
width?: string;
|
4
|
-
height?: string;
|
5
|
-
}
|
6
|
-
export declare const TextContent: import("@emotion/styled").StyledComponent<{
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
9
|
-
}, import("react").SVGProps<SVGGElement>, {}>;
|
10
|
-
export declare const PieChartWrapper: import("@emotion/styled").StyledComponent<{
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
12
|
-
as?: import("react").ElementType<any> | undefined;
|
13
|
-
} & IPieChartStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
14
|
-
export {};
|
1
|
+
/// <reference types="react" />
|
2
|
+
interface IPieChartStyleProps {
|
3
|
+
width?: string;
|
4
|
+
height?: string;
|
5
|
+
}
|
6
|
+
export declare const TextContent: import("@emotion/styled").StyledComponent<{
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
9
|
+
}, import("react").SVGProps<SVGGElement>, {}>;
|
10
|
+
export declare const PieChartWrapper: import("@emotion/styled").StyledComponent<{
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
12
|
+
as?: import("react").ElementType<any> | undefined;
|
13
|
+
} & IPieChartStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
14
|
+
export {};
|
15
15
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -12,7 +12,7 @@ export const TextContent = /*#__PURE__*/_styled("g", process.env.NODE_ENV === "p
|
|
12
12
|
} : {
|
13
13
|
name: "oldbq4",
|
14
14
|
styles: "user-select:none",
|
15
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
15
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1BpZUNoYXJ0L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFRbUMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvUGllQ2hhcnQvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXHJcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xyXG5cclxuaW50ZXJmYWNlIElQaWVDaGFydFN0eWxlUHJvcHMge1xyXG4gIHdpZHRoPzogc3RyaW5nXHJcbiAgaGVpZ2h0Pzogc3RyaW5nXHJcbn1cclxuXHJcbmV4cG9ydCBjb25zdCBUZXh0Q29udGVudCA9IHN0eWxlZC5nYFxyXG4gIHVzZXItc2VsZWN0OiBub25lO1xyXG5gXHJcblxyXG5leHBvcnQgY29uc3QgUGllQ2hhcnRXcmFwcGVyID0gc3R5bGVkLmRpdihcclxuICAoeyB3aWR0aCA9ICcxMDAlJywgaGVpZ2h0ID0gJzMwMHB4JyB9OiBJUGllQ2hhcnRTdHlsZVByb3BzKSA9PiBjc3NgXHJcbiAgICB3aWR0aDogJHt3aWR0aH07XHJcbiAgICBoZWlnaHQ6ICR7aGVpZ2h0fTtcclxuICBgXHJcbilcclxuIl19 */",
|
16
16
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
17
17
|
});
|
18
18
|
export const PieChartWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
@@ -23,4 +23,4 @@ export const PieChartWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV
|
|
23
23
|
})(({
|
24
24
|
width = '100%',
|
25
25
|
height = '300px'
|
26
|
-
}) => /*#__PURE__*/css("width:", width, ";height:", height, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:PieChartWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
26
|
+
}) => /*#__PURE__*/css("width:", width, ";height:", height, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:PieChartWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlc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bSAnQGVtb3Rpb24vcmVhY3QnXHJcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xyXG5cclxuaW50ZXJmYWNlIElQaWVDaGFydFN0eWxlUHJvcHMge1xyXG4gIHdpZHRoPzogc3RyaW5nXHJcbiAgaGVpZ2h0Pzogc3RyaW5nXHJcbn1cclxuXHJcbmV4cG9ydCBjb25zdCBUZXh0Q29udGVudCA9IHN0eWxlZC5nYFxyXG4gIHVzZXItc2VsZWN0OiBub25lO1xyXG5gXHJcblxyXG5leHBvcnQgY29uc3QgUGllQ2hhcnRXcmFwcGVyID0gc3R5bGVkLmRpdihcclxuICAoeyB3aWR0aCA9ICcxMDAlJywgaGVpZ2h0ID0gJzMwMHB4JyB9OiBJUGllQ2hhcnRTdHlsZVByb3BzKSA9PiBjc3NgXHJcbiAgICB3aWR0aDogJHt3aWR0aH07XHJcbiAgICBoZWlnaHQ6ICR7aGVpZ2h0fTtcclxuICBgXHJcbilcclxuIl19 */");
|
@@ -1,7 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
export
|
5
|
-
|
6
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const _default;
|
3
|
+
export default _default;
|
4
|
+
export declare const Default: {
|
5
|
+
render: () => import("react").JSX.Element;
|
6
|
+
name: string;
|
7
|
+
};
|
7
8
|
//# sourceMappingURL=PreemptionCard.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PreemptionCard.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCard/PreemptionCard.stories.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"PreemptionCard.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCard/PreemptionCard.stories.tsx"],"names":[],"mappings":";;AAIA,wBAGS;AAkDT,eAAO,MAAM,OAAO;;;CAenB,CAAA"}
|
@@ -1,10 +1,9 @@
|
|
1
1
|
import PreemptionCard from '.';
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
3
|
-
|
3
|
+
export default {
|
4
4
|
title: 'Core/PreemptionCard',
|
5
5
|
component: PreemptionCard
|
6
6
|
};
|
7
|
-
export default meta;
|
8
7
|
const dummypreemption = {
|
9
8
|
accept: null,
|
10
9
|
advertisement: null,
|
@@ -19,7 +18,7 @@ const dummypreemption = {
|
|
19
18
|
addedJointCost: '200.0',
|
20
19
|
addedJointDebt: '300.0',
|
21
20
|
askingPrice: '100000.0',
|
22
|
-
fixedPrice:
|
21
|
+
fixedPrice: null,
|
23
22
|
jointCosts: '0.0',
|
24
23
|
jointDebt: '0.0',
|
25
24
|
preemptionFee: '4300.0',
|
@@ -53,19 +52,17 @@ const dummypreemption = {
|
|
53
52
|
telephone: '22225555',
|
54
53
|
text: 'tilknyttet uten forvaltning',
|
55
54
|
url: null
|
56
|
-
}
|
57
|
-
clarificationInAdvance: true
|
55
|
+
}
|
58
56
|
};
|
59
57
|
export const Default = {
|
60
|
-
|
61
|
-
preemption: dummypreemption,
|
62
|
-
onClick: () => console.log('clicked preemption')
|
63
|
-
},
|
64
|
-
decorators: [Story => /*#__PURE__*/_jsx("div", {
|
58
|
+
render: () => /*#__PURE__*/_jsx("div", {
|
65
59
|
style: {
|
66
60
|
maxWidth: '300px'
|
67
61
|
},
|
68
|
-
children: /*#__PURE__*/_jsx(
|
69
|
-
|
62
|
+
children: /*#__PURE__*/_jsx(PreemptionCard, {
|
63
|
+
preemption: dummypreemption,
|
64
|
+
onClick: () => console.log('clicked preemption')
|
65
|
+
})
|
66
|
+
}),
|
70
67
|
name: 'Default'
|
71
68
|
};
|
@@ -1,10 +1,10 @@
|
|
1
|
-
/** @jsxImportSource @emotion/react */
|
2
|
-
import React from 'react';
|
3
|
-
import { IPreemption } from './models';
|
4
|
-
interface IProps {
|
5
|
-
preemption: IPreemption;
|
6
|
-
onClick: (id: string) => void;
|
7
|
-
}
|
8
|
-
declare const PreemptionCard: React.FC<IProps>;
|
9
|
-
export default PreemptionCard;
|
1
|
+
/** @jsxImportSource @emotion/react */
|
2
|
+
import React from 'react';
|
3
|
+
import { IPreemption } from './models';
|
4
|
+
interface IProps {
|
5
|
+
preemption: IPreemption;
|
6
|
+
onClick: (id: string) => void;
|
7
|
+
}
|
8
|
+
declare const PreemptionCard: React.FC<IProps>;
|
9
|
+
export default PreemptionCard;
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCard/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAetC,UAAU,MAAM;IACd,UAAU,EAAE,WAAW,CAAA;IACvB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCard/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAetC,UAAU,MAAM;IACd,UAAU,EAAE,WAAW,CAAA;IACvB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAuEpC,CAAA;AAED,eAAe,cAAc,CAAA"}
|
@@ -27,7 +27,7 @@ const PreemptionCard = ({
|
|
27
27
|
children: [_jsx(SvgHead, {
|
28
28
|
css: /*#__PURE__*/_css({
|
29
29
|
background: 'linear-gradient(' + theme.backgroundColor + ', ' + theme.backgroundColor + '), linear-gradient(' + theme.primary20opa + ', ' + theme.primary20opa + ')'
|
30
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:PreemptionCard;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
30
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:PreemptionCard;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1ByZWVtcHRpb25DYXJkL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtQ1EiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvUHJlZW1wdGlvbkNhcmQvaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3hJbXBvcnRTb3VyY2UgQGVtb3Rpb24vcmVhY3QgKi9cclxuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0J1xyXG5pbXBvcnQgeyB1c2VUaGVtZSB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xyXG5pbXBvcnQgeyBTdmdIZWFkLCBVbml0SW5mbywgU3R5bGVkVGFnIH0gZnJvbSAnLi9zdHlsZXMnXHJcbmltcG9ydCBDYXJkIGZyb20gJy4uL0NhcmQnXHJcbmltcG9ydCBUZXh0IGZyb20gJy4uL1RleHQnXHJcbmltcG9ydCB7IElQcmVlbXB0aW9uIH0gZnJvbSAnLi9tb2RlbHMnXHJcbmltcG9ydCBVbml0SWxsdXN0cmF0aW9uIGZyb20gJy4uL1VuaXRJbGx1c3RyYXRpb24nXHJcbmltcG9ydCB7XHJcbiAgZ2V0QXJlYVRleHRGb3JQcmVlbXB0aW9uVW5pdCxcclxuICBnZXRNZWxkZWZyaXN0VGV4dCxcclxuICBpc0RlYWRsaW5lQ2xvc2luZyxcclxufSBmcm9tICcuLi9wcml2YXRlL3By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XJ5MjBvcGEgK1xyXG4gICAgICAgICAgICAnLCAnICtcclxuICAgICAgICAgICAgdGhlbWUucHJpbWFyeTIwb3BhICtcclxuICAgICAgICAgICAgJyknLFxyXG4gICAgICAgIH19XHJcbiAgICAgID5cclxuICAgICAgICA8VW5pdElsbHVzdHJhdGlvblxyXG4gICAgICAgICAgdHlwZT17XHJcbiAgICAgICAgICAgIHByZWVtcHRpb24udW5pdC5idWlsZGluZz8uYnVpbGRpbmdDb2RlIHx8XHJcbiAgICAgICAgICAgIHByZWVtcHRpb24udW5pdC5idWlsZGluZ0NvZGVcclxuICAgICAgICAgIH1cclxuICAgICAgICAvPlxyXG4gICAgICA8L1N2Z0hlYWQ+XHJcblxyXG4gICAgICB7LyoqIFRPRE8gY2hhbmdlIHdpdGggY29tcG9uZW50ICovfVxyXG4gICAgICA8VW5pdEluZm8+XHJcbiAgICAgICAgPFRleHQgc21hbGwgc3VidGxlPlxyXG4gICAgICAgICAge2dldEFyZWFUZXh0Rm9yUHJlZW1wdGlvblVuaXQocHJlZW1wdGlvbi51bml0KX0gLXsnICd9XHJcbiAgICAgICAgICB7cHJlZW1wdGlvbi51bml0LmJ1aWxkaW5nPy5idWlsZGluZ0NvZGUgfHxcclxuICAgICAgICAgICAgcHJlZW1wdGlvbi51bml0LmJ1aWxkaW5nQ29kZX1cclxuICAgICAgICAgIHtwcmVlbXB0aW9uLnVuaXQubnVtYmVyT2ZSb29tc1xyXG4gICAgICAgICAgICA/ICcgLyAnICsgcHJlZW1wdGlvbi51bml0Lm51bWJlck9mUm9vbXMgKyAnLXJvbXMnXHJcbiAgICAgICAgICAgIDogbnVsbH1cclxuICAgICAgICAgIHtwcmVlbXB0aW9uLnVuaXQucHJpbWFyeVJvb21cclxuICAgICAgICAgICAgPyAnIC8gJyArIHByZWVtcHRpb24udW5pdC5wcmltYXJ5Um9vbSArICcgbSdcclxuICAgICAgICAgICAgOiBudWxsfVxyXG4gICAgICAgICAge3ByZWVtcHRpb24udW5pdC5wc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IDwvVGV4dD5cclxuICAgICAgICAgIDwvVGV4dD5cclxuICAgICAgICA8L1N0eWxlZFRhZz5cclxuICAgICAgPC9Vbml0SW5mbz5cclxuICAgIDwvQ2FyZD5cclxuICApXHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IFByZWVtcHRpb25DYXJkXHJcbiJdfQ== */"),
|
31
31
|
children: _jsx(UnitIllustration, {
|
32
32
|
type: preemption.unit.building?.buildingCode || preemption.unit.buildingCode
|
33
33
|
})
|
@@ -41,7 +41,7 @@ const PreemptionCard = ({
|
|
41
41
|
children: preemption.unit.address
|
42
42
|
}), _jsx(Divider, {}), _jsx(Header, {
|
43
43
|
level: 5,
|
44
|
-
children: getPriceWithLabel(preemption.
|
44
|
+
children: getPriceWithLabel(preemption.pricing)
|
45
45
|
}), _jsxs(Text, {
|
46
46
|
small: true,
|
47
47
|
subtle: true,
|