@bbl-digital/snorre 4.2.30 → 4.2.31
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +42795 -35806
- package/esm/app-shell/index.js +21 -14
- package/esm/app-shell/theme.js +9 -2
- package/esm/core/Alert/Alert.stories.js +15 -8
- package/esm/core/Alert/index.js +24 -14
- package/esm/core/Alert/styles.js +15 -11
- package/esm/core/AppLoader/AppLoader.stories.js +11 -4
- package/esm/core/AppLoader/index.js +15 -7
- package/esm/core/AppLoader/styles.js +10 -5
- package/esm/core/Autocomplete/Autocomplete.stories.js +80 -73
- package/esm/core/Autocomplete/hooks/useAutocomplete.js +24 -17
- package/esm/core/Autocomplete/hooks/useHandleDimentions.js +12 -6
- package/esm/core/Autocomplete/index.interfaces.js +5 -1
- package/esm/core/Autocomplete/index.js +60 -51
- package/esm/core/Autocomplete/styles.js +32 -29
- package/esm/core/Banner/Banner.stories.js +33 -26
- package/esm/core/Banner/index.js +18 -10
- package/esm/core/Banner/styles.js +16 -10
- package/esm/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +15 -8
- package/esm/core/BarAndLineComposedChart/index.js +30 -23
- package/esm/core/BarAndLineComposedChart/styles.js +9 -2
- package/esm/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +14 -7
- package/esm/core/BarChartWithCustomizedEvent/index.js +31 -22
- package/esm/core/BarChartWithCustomizedEvent/styles.js +11 -4
- package/esm/core/Box/Box.stories.js +26 -19
- package/esm/core/Box/index.js +28 -18
- package/esm/core/Box/styles.js +21 -18
- package/esm/core/BoxedTable/BoxedTable.stories.js +141 -134
- package/esm/core/BoxedTable/DraggableRow/index.js +20 -13
- package/esm/core/BoxedTable/DraggableRow/styles.js +18 -14
- package/esm/core/BoxedTable/HeaderCell/index.js +17 -9
- package/esm/core/BoxedTable/HeaderCell/styles.js +13 -5
- package/esm/core/BoxedTable/RowCell/index.js +14 -6
- package/esm/core/BoxedTable/RowCell/styles.js +21 -18
- package/esm/core/BoxedTable/TableHeader/index.js +12 -5
- package/esm/core/BoxedTable/TableHeader/styles.js +10 -4
- package/esm/core/BoxedTable/TableRow/index.js +27 -18
- package/esm/core/BoxedTable/TableRow/styles.js +19 -16
- package/esm/core/BoxedTable/index.js +18 -11
- package/esm/core/BoxedTable/models.js +5 -1
- package/esm/core/BoxedTable/styles.js +22 -22
- package/esm/core/Button/Button.stories.js +29 -22
- package/esm/core/Button/index.js +22 -14
- package/esm/core/Button/styles.js +30 -32
- package/esm/core/Calendar/Calendar.stories.js +17 -10
- package/esm/core/Calendar/CalendarEvent/index.js +35 -26
- package/esm/core/Calendar/CalendarEvent/styles.js +19 -16
- package/esm/core/Calendar/CalendarSmallEvent/index.js +34 -25
- package/esm/core/Calendar/CalendarSmallEvent/styles.js +19 -16
- package/esm/core/Calendar/index.js +47 -41
- package/esm/core/Calendar/styles.js +22 -18
- package/esm/core/Calendar/util.js +11 -4
- package/esm/core/Card/Card.stories.js +29 -22
- package/esm/core/Card/index.js +17 -9
- package/esm/core/Card/styles.js +20 -21
- package/esm/core/Checkbox/Checkbox.stories.js +15 -8
- package/esm/core/Checkbox/index.js +20 -11
- package/esm/core/Checkbox/styles.js +14 -12
- package/esm/core/CollapseList/CollapseList.stories.js +27 -20
- package/esm/core/CollapseList/Item.js +23 -15
- package/esm/core/CollapseList/index.js +15 -7
- package/esm/core/CollapseList/styles.js +14 -8
- package/esm/core/CommentsTimeline/CommentLine/index.js +25 -18
- package/esm/core/CommentsTimeline/CommentLine/styles.js +18 -12
- package/esm/core/CommentsTimeline/CommentsTimeline.stories.js +32 -25
- package/esm/core/CommentsTimeline/index.js +12 -5
- package/esm/core/CommentsTimeline/styles.js +10 -4
- package/esm/core/CustomText/CustomText.stories.js +14 -7
- package/esm/core/CustomText/index.js +18 -10
- package/esm/core/CustomText/styles.js +13 -8
- package/esm/core/Datepicker/Datepicker.stories.js +22 -15
- package/esm/core/Datepicker/index.js +57 -47
- package/esm/core/Datepicker/styles.js +25 -20
- package/esm/core/DatepickerRange/DatepickerRange.stories.js +14 -7
- package/esm/core/DatepickerRange/index.js +20 -13
- package/esm/core/DatepickerRange/styles.js +21 -15
- package/esm/core/Divider/index.js +13 -6
- package/esm/core/Divider/styles.js +14 -10
- package/esm/core/Dropdown/Dropdown.stories.js +23 -16
- package/esm/core/Dropdown/index.js +29 -19
- package/esm/core/Dropdown/styles.js +12 -7
- package/esm/core/DropdownMenu/DropdownMenu.stories.js +27 -20
- package/esm/core/DropdownMenu/DropdownMenuOption.js +15 -7
- package/esm/core/DropdownMenu/index.js +21 -12
- package/esm/core/DropdownMenu/styles.js +15 -9
- package/esm/core/FileInput/FileInput.stories.js +20 -13
- package/esm/core/FileInput/index.js +42 -33
- package/esm/core/FileInput/styles.js +34 -36
- package/esm/core/GoogleButton/GoogleButton.stories.js +11 -4
- package/esm/core/GoogleButton/index.js +14 -7
- package/esm/core/GoogleButton/styles.js +10 -4
- package/esm/core/Header/Header.stories.js +18 -11
- package/esm/core/Header/index.js +14 -6
- package/esm/core/Header/styles.js +18 -12
- package/esm/core/HighlightText/HighlightText.stories.js +12 -5
- package/esm/core/HighlightText/index.js +16 -9
- package/esm/core/HighlightText/styles.js +10 -4
- package/esm/core/Html/Html.stories.js +18 -11
- package/esm/core/Html/index.js +16 -8
- package/esm/core/Html/styles.js +15 -11
- package/esm/core/Image/Image.stories.js +15 -8
- package/esm/core/Image/index.js +19 -10
- package/esm/core/Image/styles.js +15 -11
- package/esm/core/ImagePicker/IconWithBackground.js +14 -7
- package/esm/core/ImagePicker/ImagePicker.stories.js +17 -10
- package/esm/core/ImagePicker/UploadButton.js +21 -13
- package/esm/core/ImagePicker/index.js +49 -41
- package/esm/core/ImagePicker/styles.js +24 -24
- package/esm/core/ImageViewer/ImageViewer.stories.js +11 -4
- package/esm/core/ImageViewer/index.js +45 -37
- package/esm/core/ImageViewer/styles.js +15 -12
- package/esm/core/InfoButton/InfoButton.stories.js +22 -15
- package/esm/core/InfoButton/index.js +25 -15
- package/esm/core/InfoButton/styles.js +24 -21
- package/esm/core/Input/Input.stories.js +35 -28
- package/esm/core/Input/index.js +47 -38
- package/esm/core/Input/styles.js +28 -27
- package/esm/core/Link/Link.stories.js +19 -12
- package/esm/core/Link/index.js +21 -13
- package/esm/core/Link/styles.js +29 -24
- package/esm/core/List/Item.js +11 -5
- package/esm/core/List/List.stories.js +72 -65
- package/esm/core/List/index.js +23 -10
- package/esm/core/List/styles.js +20 -18
- package/esm/core/ListPager/ListPager.stories.js +11 -4
- package/esm/core/ListPager/index.js +24 -17
- package/esm/core/ListPager/styles.js +15 -9
- package/esm/core/MediaCarousel/MediaCarousel.stories.js +12 -5
- package/esm/core/MediaCarousel/index.js +30 -23
- package/esm/core/MediaCarousel/styles.js +18 -13
- package/esm/core/Modal/ActionButtons/index.js +15 -8
- package/esm/core/Modal/Modal.stories.js +49 -42
- package/esm/core/Modal/index.js +51 -41
- package/esm/core/Modal/styles.js +26 -22
- package/esm/core/NoticeCard/NoticeCard.stories.js +15 -8
- package/esm/core/NoticeCard/index.js +50 -41
- package/esm/core/NoticeCard/models.js +7 -1
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +24 -17
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +16 -10
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +17 -8
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +10 -4
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +23 -16
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +13 -8
- package/esm/core/NoticeCard/styles.js +18 -13
- package/esm/core/NoticeCard/utils.js +20 -11
- package/esm/core/NotificationCounter/NotificationCounter.stories.js +15 -8
- package/esm/core/NotificationCounter/index.js +11 -5
- package/esm/core/NotificationCounter/styles.js +9 -3
- package/esm/core/NotificationsMenu/NotificationRow/index.js +18 -11
- package/esm/core/NotificationsMenu/NotificationRow/styles.js +16 -11
- package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +22 -15
- package/esm/core/NotificationsMenu/index.js +30 -21
- package/esm/core/NotificationsMenu/styles.js +12 -6
- package/esm/core/PieChart/ActiveShape/index.js +14 -9
- package/esm/core/PieChart/PieChart.stories.js +19 -12
- package/esm/core/PieChart/index.js +32 -23
- package/esm/core/PieChart/renderTextContent/index.js +15 -10
- package/esm/core/PieChart/styles.js +13 -7
- package/esm/core/PreemptionCard/PreemptionCard.stories.js +14 -7
- package/esm/core/PreemptionCard/index.js +45 -38
- package/esm/core/PreemptionCard/models.js +7 -1
- package/esm/core/PreemptionCard/styles.js +18 -14
- package/esm/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +14 -7
- package/esm/core/PreemptionCardLoading/index.js +19 -12
- package/esm/core/PreemptionCardLoading/styles.js +14 -10
- package/esm/core/QuillEditor/QuillEditor.stories.js +31 -24
- package/esm/core/QuillEditor/classes/LinkSanitizer.js +12 -4
- package/esm/core/QuillEditor/classes/ListItem.js +10 -3
- package/esm/core/QuillEditor/config.js +8 -2
- package/esm/core/QuillEditor/index.js +61 -54
- package/esm/core/QuillEditor/models.js +5 -1
- package/esm/core/QuillEditor/styles.js +15 -10
- package/esm/core/Radio/Radio.stories.js +27 -20
- package/esm/core/Radio/index.js +16 -8
- package/esm/core/Radio/styles.js +13 -9
- package/esm/core/SearchFilter/SearchFilter.stories.js +36 -29
- package/esm/core/SearchFilter/index.js +53 -43
- package/esm/core/SearchFilter/styles.js +33 -32
- package/esm/core/SearchSelect/SearchSelect.stories.js +18 -11
- package/esm/core/SearchSelect/hooks/useSelectSearch.js +13 -7
- package/esm/core/SearchSelect/index.js +36 -26
- package/esm/core/SearchSelect/interface/IProps.js +5 -1
- package/esm/core/SearchSelect/styles.js +19 -17
- package/esm/core/Select/Option.js +18 -10
- package/esm/core/Select/Select.stories.js +85 -78
- package/esm/core/Select/index.js +46 -31
- package/esm/core/Select/styles.js +33 -33
- package/esm/core/SimpleBarChart/SimpleBarChart.stories.js +21 -14
- package/esm/core/SimpleBarChart/index.js +27 -20
- package/esm/core/SimpleBarChart/styles.js +9 -2
- package/esm/core/SimpleLineChart/SimpleLineChart.stories.js +24 -17
- package/esm/core/SimpleLineChart/index.js +25 -18
- package/esm/core/SimpleLineChart/styles.js +9 -2
- package/esm/core/Skeleton/Skeleton.stories.js +14 -7
- package/esm/core/Skeleton/index.js +14 -7
- package/esm/core/Skeleton/styles.js +14 -7
- package/esm/core/Spinner/Spinner.stories.js +19 -12
- package/esm/core/Spinner/index.js +14 -6
- package/esm/core/Spinner/styles.js +14 -9
- package/esm/core/Stepper/MobileStep/index.js +17 -10
- package/esm/core/Stepper/MobileStep/styles.js +20 -18
- package/esm/core/Stepper/Step/index.js +31 -25
- package/esm/core/Stepper/Step/styles.js +18 -13
- package/esm/core/Stepper/Stepper.stories.js +11 -4
- package/esm/core/Stepper/index.js +27 -18
- package/esm/core/Stepper/styles.js +13 -7
- package/esm/core/TabBar/TabBar.stories.js +19 -12
- package/esm/core/TabBar/TabItem/index.js +14 -7
- package/esm/core/TabBar/TabItem/styles.js +10 -4
- package/esm/core/TabBar/index.js +12 -5
- package/esm/core/TabBar/styles.js +10 -4
- package/esm/core/TabNav/TabContext.js +21 -12
- package/esm/core/TabNav/TabNav.stories.js +85 -78
- package/esm/core/TabNav/TabNavItem/index.js +36 -26
- package/esm/core/TabNav/TabNavItem/styles.js +18 -11
- package/esm/core/TabNav/index.js +38 -28
- package/esm/core/TabNav/styles.js +23 -18
- package/esm/core/TabNav/utils/useContainerDimensions.js +13 -6
- package/esm/core/Table/Cell.js +14 -6
- package/esm/core/Table/Row.js +13 -6
- package/esm/core/Table/Table.stories.js +41 -34
- package/esm/core/Table/index.js +28 -10
- package/esm/core/Table/styles.js +27 -27
- package/esm/core/Tag/Tag.stories.js +28 -21
- package/esm/core/Tag/index.js +22 -14
- package/esm/core/Tag/styles.js +22 -21
- package/esm/core/Text/Text.stories.js +25 -18
- package/esm/core/Text/index.js +14 -6
- package/esm/core/Text/styles.js +25 -28
- package/esm/core/Textarea/Textarea.stories.js +15 -8
- package/esm/core/Textarea/index.js +24 -15
- package/esm/core/Textarea/styles.js +20 -15
- package/esm/core/Timeline/Timeline.stories.js +17 -10
- package/esm/core/Timeline/TimelineStep/index.js +21 -13
- package/esm/core/Timeline/TimelineStep/styles.js +19 -14
- package/esm/core/Timeline/index.js +12 -5
- package/esm/core/Timeline/styles.js +10 -4
- package/esm/core/Timepicker/Timepicker.stories.js +25 -18
- package/esm/core/Timepicker/index.js +35 -27
- package/esm/core/Timepicker/styles.js +19 -16
- package/esm/core/Tooltip/Tooptip.stories.js +13 -6
- package/esm/core/Tooltip/index.js +24 -16
- package/esm/core/Tooltip/styles.js +10 -5
- package/esm/core/UnitIllustration/index.js +25 -19
- package/esm/core/UserMenu/UserMenu.stories.js +33 -26
- package/esm/core/UserMenu/UserMenuOption.js +15 -7
- package/esm/core/UserMenu/index.js +39 -30
- package/esm/core/UserMenu/styles.js +23 -19
- package/esm/core/Video/Video.stories.js +20 -13
- package/esm/core/Video/index.js +19 -11
- package/esm/core/Video/styles.js +10 -4
- package/esm/core/YearWheel/YearWheel.stories.js +15 -8
- package/esm/core/YearWheel/index.js +65 -57
- package/esm/core/YearWheel/styles.js +15 -7
- package/esm/core/private/ButtonOrLink.js +18 -9
- package/esm/core/private/preemption.js +9 -1
- package/esm/core/utils/debounce.js +10 -4
- package/esm/enums/Keyboard.js +7 -2
- package/esm/global.d.js +3 -2
- package/esm/globals/styles/breakpoints.js +7 -1
- package/esm/globals/styles/paddings.js +7 -1
- package/esm/globals/styles/styles.js +9 -4
- package/esm/globals/validation/regularExpressions.js +7 -1
- package/esm/hooks/useIsMobile.js +12 -5
- package/esm/hooks/useScreenOrientation.js +12 -5
- package/esm/icons/General/IconApartment.js +13 -6
- package/esm/icons/General/IconArchives.js +13 -6
- package/esm/icons/General/IconArea.js +13 -6
- package/esm/icons/General/IconArrowDown.js +13 -6
- package/esm/icons/General/IconArrowLeft.js +13 -6
- package/esm/icons/General/IconArrowRight.js +13 -6
- package/esm/icons/General/IconArrowUp.js +13 -6
- package/esm/icons/General/IconAttachment.js +13 -6
- package/esm/icons/General/IconAuditorFilled.js +24 -17
- package/esm/icons/General/IconAuditorOutline.js +24 -17
- package/esm/icons/General/IconBack.js +13 -6
- package/esm/icons/General/IconBath.js +13 -6
- package/esm/icons/General/IconBblFlame.js +13 -6
- package/esm/icons/General/IconBblShield.js +13 -6
- package/esm/icons/General/IconBblWater.js +13 -6
- package/esm/icons/General/IconBellFilled.js +13 -6
- package/esm/icons/General/IconBellOutline.js +13 -6
- package/esm/icons/General/IconBlock.js +13 -6
- package/esm/icons/General/IconBoard.js +13 -6
- package/esm/icons/General/IconBookmarkFilled.js +13 -6
- package/esm/icons/General/IconBookmarkOutline.js +13 -6
- package/esm/icons/General/IconBus.js +13 -6
- package/esm/icons/General/IconCalendar.js +13 -6
- package/esm/icons/General/IconCamera.js +14 -7
- package/esm/icons/General/IconCar.js +13 -6
- package/esm/icons/General/IconCaretDown.js +13 -6
- package/esm/icons/General/IconCaretLeft.js +13 -6
- package/esm/icons/General/IconCaretRight.js +13 -6
- package/esm/icons/General/IconCaretUp.js +13 -6
- package/esm/icons/General/IconCases.js +28 -21
- package/esm/icons/General/IconCheck.js +13 -6
- package/esm/icons/General/IconCheckedFilled.js +13 -6
- package/esm/icons/General/IconCheckedOutline.js +13 -6
- package/esm/icons/General/IconChevronDown.js +13 -6
- package/esm/icons/General/IconChevronLeft.js +13 -6
- package/esm/icons/General/IconChevronRight.js +13 -6
- package/esm/icons/General/IconChoice.js +13 -6
- package/esm/icons/General/IconClose.js +13 -6
- package/esm/icons/General/IconCloseAlt.js +13 -6
- package/esm/icons/General/IconComment.js +13 -6
- package/esm/icons/General/IconCommunication.js +13 -6
- package/esm/icons/General/IconCommunicationFilled.js +13 -6
- package/esm/icons/General/IconCompanyBuilding.js +13 -6
- package/esm/icons/General/IconCompanyBuildingFilled.js +13 -6
- package/esm/icons/General/IconCompanyBuildingOutline.js +13 -6
- package/esm/icons/General/IconDashboard.js +13 -6
- package/esm/icons/General/IconDashboardFilled.js +13 -6
- package/esm/icons/General/IconDelete.js +13 -6
- package/esm/icons/General/IconDocument.js +23 -16
- package/esm/icons/General/IconDocumentFilled.js +23 -16
- package/esm/icons/General/IconDoor.js +13 -6
- package/esm/icons/General/IconDotFilled.js +13 -6
- package/esm/icons/General/IconDotOutline.js +13 -6
- package/esm/icons/General/IconDownload.js +13 -6
- package/esm/icons/General/IconDraft.js +13 -6
- package/esm/icons/General/IconEarth.js +13 -6
- package/esm/icons/General/IconEconomy.js +13 -6
- package/esm/icons/General/IconEconomyFilled.js +13 -6
- package/esm/icons/General/IconEdit.js +13 -6
- package/esm/icons/General/IconElevator.js +13 -6
- package/esm/icons/General/IconEmailMarkAsRead.js +12 -5
- package/esm/icons/General/IconErrorFilled.js +13 -6
- package/esm/icons/General/IconErrorOutline.js +13 -6
- package/esm/icons/General/IconExternalLink.js +13 -6
- package/esm/icons/General/IconEye.js +13 -6
- package/esm/icons/General/IconEyeDeny.js +13 -6
- package/esm/icons/General/IconFamily.js +13 -6
- package/esm/icons/General/IconFerry.js +13 -6
- package/esm/icons/General/IconFile.js +13 -6
- package/esm/icons/General/IconFileAdd.js +13 -6
- package/esm/icons/General/IconFileCopy.js +13 -6
- package/esm/icons/General/IconFileEdit.js +13 -6
- package/esm/icons/General/IconFileExcel.js +13 -6
- package/esm/icons/General/IconFilePDF.js +13 -6
- package/esm/icons/General/IconFileWord.js +13 -6
- package/esm/icons/General/IconFillOut.js +15 -8
- package/esm/icons/General/IconFilterList.js +13 -6
- package/esm/icons/General/IconFloor.js +13 -6
- package/esm/icons/General/IconForward.js +13 -6
- package/esm/icons/General/IconFullscreenClose.js +13 -6
- package/esm/icons/General/IconFullscreenOpen.js +13 -6
- package/esm/icons/General/IconGarage.js +13 -6
- package/esm/icons/General/IconGrid.js +13 -6
- package/esm/icons/General/IconGym.js +13 -6
- package/esm/icons/General/IconHearth.js +13 -6
- package/esm/icons/General/IconHearthOutline.js +13 -6
- package/esm/icons/General/IconHelp.js +13 -6
- package/esm/icons/General/IconHistory.js +13 -6
- package/esm/icons/General/IconHomeFilled.js +20 -13
- package/esm/icons/General/IconHomeOutline.js +20 -13
- package/esm/icons/General/IconHouse.js +13 -6
- package/esm/icons/General/IconHouseBlockFilled.js +20 -13
- package/esm/icons/General/IconHouseBlockOutline.js +20 -13
- package/esm/icons/General/IconHouseOutline.js +13 -6
- package/esm/icons/General/IconHumans.js +13 -6
- package/esm/icons/General/IconImage.js +14 -7
- package/esm/icons/General/IconImportantComment.js +13 -6
- package/esm/icons/General/IconInbox.js +13 -6
- package/esm/icons/General/IconInfoFilled.js +13 -6
- package/esm/icons/General/IconInfoOutline.js +13 -6
- package/esm/icons/General/IconJanitorFilled.js +24 -17
- package/esm/icons/General/IconJanitorOutline.js +24 -17
- package/esm/icons/General/IconJointcost.js +13 -6
- package/esm/icons/General/IconJointcost2.js +13 -6
- package/esm/icons/General/IconKey.js +13 -6
- package/esm/icons/General/IconKitchen.js +13 -6
- package/esm/icons/General/IconLabel.js +13 -6
- package/esm/icons/General/IconLeafFilled.js +23 -16
- package/esm/icons/General/IconLeafOutline.js +25 -18
- package/esm/icons/General/IconLeisureTime.js +13 -6
- package/esm/icons/General/IconLock.js +13 -6
- package/esm/icons/General/IconLockLocked.js +13 -6
- package/esm/icons/General/IconLockOpen.js +13 -6
- package/esm/icons/General/IconLookup.js +13 -6
- package/esm/icons/General/IconLookupFilled.js +13 -6
- package/esm/icons/General/IconMail.js +13 -6
- package/esm/icons/General/IconMap.js +13 -6
- package/esm/icons/General/IconMedal.js +12 -5
- package/esm/icons/General/IconMembership.js +13 -6
- package/esm/icons/General/IconMembershipFilled.js +13 -6
- package/esm/icons/General/IconMenu.js +13 -6
- package/esm/icons/General/IconMinus.js +13 -6
- package/esm/icons/General/IconMinusAlt.js +13 -6
- package/esm/icons/General/IconMinusAltFilled.js +13 -6
- package/esm/icons/General/IconMoney.js +13 -6
- package/esm/icons/General/IconParking.js +13 -6
- package/esm/icons/General/IconPaymentCard.js +13 -6
- package/esm/icons/General/IconPercent.js +12 -5
- package/esm/icons/General/IconPhone.js +13 -6
- package/esm/icons/General/IconPinned.js +13 -6
- package/esm/icons/General/IconPlus.js +13 -6
- package/esm/icons/General/IconPlusAlt.js +13 -6
- package/esm/icons/General/IconPortalUser.js +13 -6
- package/esm/icons/General/IconPrint.js +13 -6
- package/esm/icons/General/IconProfile.js +13 -6
- package/esm/icons/General/IconProfileFilled.js +13 -6
- package/esm/icons/General/IconRearrange.js +23 -16
- package/esm/icons/General/IconReciept.js +13 -6
- package/esm/icons/General/IconRedo.js +13 -6
- package/esm/icons/General/IconRefresh.js +13 -6
- package/esm/icons/General/IconReply.js +13 -6
- package/esm/icons/General/IconReplyAll.js +13 -6
- package/esm/icons/General/IconRoom.js +13 -6
- package/esm/icons/General/IconSave.js +13 -6
- package/esm/icons/General/IconSearch.js +13 -6
- package/esm/icons/General/IconSend.js +13 -6
- package/esm/icons/General/IconSettings.js +13 -6
- package/esm/icons/General/IconShopping.js +13 -6
- package/esm/icons/General/IconSign.js +13 -6
- package/esm/icons/General/IconSliders.js +13 -6
- package/esm/icons/General/IconSort.js +13 -6
- package/esm/icons/General/IconStarFilled.js +13 -6
- package/esm/icons/General/IconStarHalf.js +13 -6
- package/esm/icons/General/IconStarOutline.js +13 -6
- package/esm/icons/General/IconStore.js +13 -6
- package/esm/icons/General/IconSubway.js +13 -6
- package/esm/icons/General/IconSwitch.js +13 -6
- package/esm/icons/General/IconTrain.js +13 -6
- package/esm/icons/General/IconTram.js +13 -6
- package/esm/icons/General/IconTransport.js +13 -6
- package/esm/icons/General/IconTypeOfBuilding.js +13 -6
- package/esm/icons/General/IconTypeOfBuildingOutline.js +13 -6
- package/esm/icons/General/IconUndo.js +13 -6
- package/esm/icons/General/IconUpload.js +13 -6
- package/esm/icons/General/IconUser.js +13 -6
- package/esm/icons/General/IconUserThin.js +13 -6
- package/esm/icons/General/IconVote.js +13 -6
- package/esm/icons/General/IconWalk.js +13 -6
- package/esm/icons/General/IconWarning.js +13 -6
- package/esm/icons/General/IconWarningBell.js +13 -6
- package/esm/icons/General/IconWork.js +13 -6
- package/esm/icons/General/IconWorkFilled.js +13 -6
- package/esm/icons/General/IconZip.js +13 -6
- package/esm/icons/Icon.stories.js +393 -389
- package/esm/icons/Logos/IconAmericanExpress.js +13 -6
- package/esm/icons/Logos/IconBankAxept.js +21 -14
- package/esm/icons/Logos/IconGmail.js +15 -8
- package/esm/icons/Logos/IconMasterCard.js +18 -11
- package/esm/icons/Logos/IconOffice365.js +41 -34
- package/esm/icons/Logos/IconVisa.js +18 -11
- package/esm/icons/withIcon.js +13 -6
- package/esm/illustrations/Backgrounds/IllustrationHousesBackground.js +1228 -1221
- package/esm/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1468 -1459
- package/esm/illustrations/General/IllustrationBudget.js +66 -59
- package/esm/illustrations/General/IllustrationError.js +134 -127
- package/esm/illustrations/General/IllustrationErrorGeneric.js +121 -114
- package/esm/illustrations/General/IllustrationHighHouse.js +46 -39
- package/esm/illustrations/General/IllustrationHighHouseComposition.js +68 -61
- package/esm/illustrations/General/IllustrationHouse.js +26 -19
- package/esm/illustrations/General/IllustrationHouseComposition.js +43 -36
- package/esm/illustrations/General/IllustrationHouseMissing.js +52 -45
- package/esm/illustrations/General/IllustrationLowHouse.js +31 -24
- package/esm/illustrations/General/IllustrationLowHouseComposition.js +53 -46
- package/esm/illustrations/General/IllustrationPaperCompleted.js +71 -64
- package/esm/illustrations/General/IllustrationPaperMissing.js +77 -70
- package/esm/illustrations/General/IllustrationSemiDetachedHouse.js +27 -20
- package/esm/illustrations/General/IllustrationSemiDetachedHouseComposition.js +47 -40
- package/esm/illustrations/General/IllustrationServiceMessage.js +21 -13
- package/esm/illustrations/General/IllustrationSmallHouse.js +21 -14
- package/esm/illustrations/General/IllustrationSmallHouseComposition.js +41 -34
- package/esm/illustrations/General/IllustrationTechninalDifficulties.js +40 -32
- package/esm/illustrations/General/IllustrationTerraceBlock.js +40 -33
- package/esm/illustrations/General/IllustrationTerraceBlockComposition.js +60 -53
- package/esm/illustrations/General/IllustrationTownHouse.js +31 -24
- package/esm/illustrations/General/IllustrationTownHouseComposition.js +53 -46
- package/esm/illustrations/Illustration.stories.js +97 -90
- package/esm/illustrations/MySite/IllustrationMySiteAssociation.js +34 -27
- package/esm/illustrations/MySite/IllustrationMySiteBenefits.js +61 -54
- package/esm/illustrations/MySite/IllustrationMySiteBuilding.js +48 -41
- package/esm/illustrations/MySite/IllustrationMySiteCoffeeBook.js +43 -36
- package/esm/illustrations/MySite/IllustrationMySiteComputer.js +47 -40
- package/esm/illustrations/MySite/IllustrationMySiteCooperative.js +46 -39
- package/esm/illustrations/MySite/IllustrationMySiteDashboard.js +42 -35
- package/esm/illustrations/MySite/IllustrationMySiteGift.js +76 -69
- package/esm/illustrations/MySite/IllustrationMySiteLetterSent.js +30 -23
- package/esm/illustrations/MySite/IllustrationMySiteMailbox.js +38 -31
- package/esm/illustrations/MySite/IllustrationMySitePapers.js +67 -60
- package/esm/illustrations/MySite/IllustrationMySitePiggyBank.js +59 -52
- package/esm/illustrations/MySite/IllustrationMySiteTransfer.js +34 -27
- package/esm/illustrations/styles.js +13 -7
- package/esm/illustrations/withIllustration.js +15 -7
- package/esm/index.js +2396 -326
- package/esm/layout/Footer/Footer.stories.js +34 -27
- package/esm/layout/Footer/FooterButton/index.js +13 -5
- package/esm/layout/Footer/FooterButton/styles.js +11 -5
- package/esm/layout/Footer/FooterCol/index.js +12 -5
- package/esm/layout/Footer/FooterCol/styles.js +10 -4
- package/esm/layout/Footer/FooterGroup/index.js +12 -5
- package/esm/layout/Footer/FooterGroup/styles.js +10 -4
- package/esm/layout/Footer/FooterLabel/index.js +12 -5
- package/esm/layout/Footer/FooterLabel/styles.js +10 -4
- package/esm/layout/Footer/FooterLink/index.js +13 -5
- package/esm/layout/Footer/FooterLink/styles.js +11 -5
- package/esm/layout/Footer/index.js +15 -7
- package/esm/layout/Footer/styles.js +14 -6
- package/esm/layout/Layout/Layout.stories.js +14 -7
- package/esm/layout/Layout/index.js +12 -5
- package/esm/layout/Layout/styles.js +11 -4
- package/esm/layout/LayoutShell/LayoutShell.stories.js +28 -21
- package/esm/layout/LayoutShell/index.js +24 -15
- package/esm/layout/LayoutShell/styles.js +24 -20
- package/esm/layout/Menu/AppPicker/index.js +21 -14
- package/esm/layout/Menu/AppPicker/styles.js +18 -12
- package/esm/layout/Menu/MainMenu/index.js +13 -6
- package/esm/layout/Menu/MainMenu/styles.js +13 -6
- package/esm/layout/Menu/MenuItem/index.js +18 -11
- package/esm/layout/Menu/MenuItem/styles.js +16 -10
- package/esm/layout/Menu/MenuSpacer/index.js +12 -5
- package/esm/layout/Menu/MenuSpacer/styles.js +11 -4
- package/esm/layout/Menu/MenuTop/index.js +16 -8
- package/esm/layout/Menu/MenuTop/styles.js +17 -11
- package/esm/layout/Menu/SecondaryMenu/index.js +21 -14
- package/esm/layout/Menu/SecondaryMenu/styles.js +19 -12
- package/esm/layout/Menu/SecondaryMenuItem/index.js +16 -9
- package/esm/layout/Menu/SecondaryMenuItem/styles.js +12 -5
- package/esm/layout/Menu/Sidemenu.stories.js +93 -86
- package/esm/layout/Menu/index.js +14 -7
- package/esm/layout/Menu/styles.js +12 -5
- package/esm/layout/Submenu/Submenu.stories.js +35 -28
- package/esm/layout/Submenu/SubmenuItem/index.js +32 -22
- package/esm/layout/Submenu/SubmenuItem/styles.js +17 -10
- package/esm/layout/Submenu/SubmenuLightThemeBg/index.js +20 -13
- package/esm/layout/Submenu/index.js +45 -35
- package/esm/layout/Submenu/styles.js +30 -25
- package/esm/layout/Topbar/Topbar.stories.js +15 -8
- package/esm/layout/Topbar/index.js +12 -5
- package/esm/layout/Topbar/styles.js +9 -2
- package/esm/shared/components/SbIconGrid/index.js +15 -9
- package/esm/shared/components/VisuallyHidden/index.js +11 -5
- package/esm/shared/recharts/CustomLegend/index.js +20 -12
- package/esm/shared/recharts/CustomLegend/styles.js +14 -8
- package/esm/shared/recharts/CustomTooltip/index.js +26 -19
- package/esm/shared/recharts/CustomTooltip/styles.js +15 -10
- package/esm/utils/accountNumber.js +8 -1
- package/esm/utils/alpha.js +7 -2
- package/esm/utils/array.js +7 -1
- package/esm/utils/dates.js +25 -15
- package/esm/utils/file.js +11 -3
- package/esm/utils/format.js +18 -4
- package/esm/utils/formatGraphPrice.js +7 -2
- package/esm/utils/image.js +7 -1
- package/esm/utils/pagination.js +11 -1
- package/esm/utils/phone.js +7 -1
- package/esm/utils/removeFocusOnMouseUp.js +7 -1
- package/esm/utils/time.js +25 -12
- package/esm/utils/url.js +8 -1
- package/esm/utils/useSnorreTheme.js +15 -9
- package/esm/v2/Memberbenefits/MemberbenefitsCard/MemberbenefitsCard.stories.js +20 -14
- package/esm/v2/Memberbenefits/MemberbenefitsCard/index.js +43 -34
- package/esm/v2/Memberbenefits/MemberbenefitsCard/model.js +7 -1
- package/esm/v2/Memberbenefits/MemberbenefitsCard/styles.js +31 -35
- package/esm/v2/core/Box/Box.stories.js +31 -24
- package/esm/v2/core/Box/index.js +31 -21
- package/esm/v2/core/Box/styles.js +26 -22
- package/esm/v2/core/BoxedTable/BoxedTable.stories.js +141 -134
- package/esm/v2/core/BoxedTable/DraggableRow/index.js +20 -13
- package/esm/v2/core/BoxedTable/DraggableRow/styles.js +18 -14
- package/esm/v2/core/BoxedTable/HeaderCell/index.js +19 -11
- package/esm/v2/core/BoxedTable/HeaderCell/styles.js +13 -5
- package/esm/v2/core/BoxedTable/RowCell/index.js +14 -6
- package/esm/v2/core/BoxedTable/RowCell/styles.js +21 -18
- package/esm/v2/core/BoxedTable/TableHeader/index.js +12 -5
- package/esm/v2/core/BoxedTable/TableHeader/styles.js +10 -4
- package/esm/v2/core/BoxedTable/TableRow/index.js +27 -18
- package/esm/v2/core/BoxedTable/TableRow/styles.js +19 -16
- package/esm/v2/core/BoxedTable/index.js +24 -15
- package/esm/v2/core/BoxedTable/models.js +5 -1
- package/esm/v2/core/BoxedTable/styles.js +27 -31
- package/esm/v2/core/Button/Button.stories.js +42 -35
- package/esm/v2/core/Button/index.js +22 -14
- package/esm/v2/core/Button/styles.js +30 -31
- package/esm/v2/core/ButtonsFilter/ButtonsFilter.stories.js +13 -6
- package/esm/v2/core/ButtonsFilter/index.js +20 -13
- package/esm/v2/core/ButtonsFilter/styles.js +10 -4
- package/esm/v2/core/Chip/Chip.stories.js +25 -18
- package/esm/v2/core/Chip/index.js +21 -14
- package/esm/v2/core/Chip/styles.js +22 -17
- package/esm/v2/core/TabNav/TabContext.js +21 -12
- package/esm/v2/core/TabNav/TabNav.stories.js +85 -78
- package/esm/v2/core/TabNav/TabNavItem/index.js +36 -26
- package/esm/v2/core/TabNav/TabNavItem/styles.js +19 -13
- package/esm/v2/core/TabNav/index.js +38 -28
- package/esm/v2/core/TabNav/styles.js +21 -17
- package/esm/v2/core/TabNav/utils/useContainerDimensions.js +13 -6
- package/esm/v2/hooks/useOverflow.js +14 -8
- package/esm/v2/index.js +97 -14
- package/jest.config.js +16 -21
- package/lib/app-shell/index.js +21 -14
- package/lib/app-shell/theme.js +9 -2
- package/lib/core/Alert/Alert.stories.js +15 -8
- package/lib/core/Alert/index.js +24 -14
- package/lib/core/Alert/styles.js +15 -11
- package/lib/core/AppLoader/AppLoader.stories.js +11 -4
- package/lib/core/AppLoader/index.js +15 -7
- package/lib/core/AppLoader/styles.js +10 -5
- package/lib/core/Autocomplete/Autocomplete.stories.js +80 -73
- package/lib/core/Autocomplete/hooks/useAutocomplete.js +24 -17
- package/lib/core/Autocomplete/hooks/useHandleDimentions.js +12 -6
- package/lib/core/Autocomplete/index.interfaces.js +5 -1
- package/lib/core/Autocomplete/index.js +60 -51
- package/lib/core/Autocomplete/styles.d.ts.map +1 -1
- package/lib/core/Autocomplete/styles.js +32 -29
- package/lib/core/Banner/Banner.stories.js +33 -26
- package/lib/core/Banner/index.js +18 -10
- package/lib/core/Banner/styles.d.ts.map +1 -1
- package/lib/core/Banner/styles.js +16 -10
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +15 -8
- package/lib/core/BarAndLineComposedChart/index.js +30 -23
- package/lib/core/BarAndLineComposedChart/styles.d.ts.map +1 -1
- package/lib/core/BarAndLineComposedChart/styles.js +9 -2
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +14 -7
- package/lib/core/BarChartWithCustomizedEvent/index.js +31 -22
- package/lib/core/BarChartWithCustomizedEvent/styles.d.ts.map +1 -1
- package/lib/core/BarChartWithCustomizedEvent/styles.js +11 -4
- package/lib/core/Box/Box.stories.js +26 -19
- package/lib/core/Box/index.js +28 -18
- package/lib/core/Box/styles.d.ts.map +1 -1
- package/lib/core/Box/styles.js +21 -18
- package/lib/core/BoxedTable/BoxedTable.stories.js +141 -134
- package/lib/core/BoxedTable/DraggableRow/index.js +20 -13
- package/lib/core/BoxedTable/DraggableRow/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/DraggableRow/styles.js +18 -14
- package/lib/core/BoxedTable/HeaderCell/index.js +17 -9
- package/lib/core/BoxedTable/HeaderCell/styles.js +13 -5
- package/lib/core/BoxedTable/RowCell/index.js +14 -6
- package/lib/core/BoxedTable/RowCell/styles.js +21 -18
- package/lib/core/BoxedTable/TableHeader/index.js +12 -5
- package/lib/core/BoxedTable/TableHeader/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableHeader/styles.js +10 -4
- package/lib/core/BoxedTable/TableRow/index.js +27 -18
- package/lib/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableRow/styles.js +19 -16
- package/lib/core/BoxedTable/index.js +18 -11
- package/lib/core/BoxedTable/models.js +5 -1
- package/lib/core/BoxedTable/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/styles.js +22 -22
- package/lib/core/Button/Button.stories.js +29 -22
- package/lib/core/Button/index.d.ts.map +1 -1
- package/lib/core/Button/index.js +22 -14
- package/lib/core/Button/styles.js +30 -32
- package/lib/core/Calendar/Calendar.stories.js +17 -10
- package/lib/core/Calendar/CalendarEvent/index.js +35 -26
- package/lib/core/Calendar/CalendarEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/styles.js +19 -16
- package/lib/core/Calendar/CalendarSmallEvent/index.js +34 -25
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarSmallEvent/styles.js +19 -16
- package/lib/core/Calendar/index.d.ts +0 -1
- package/lib/core/Calendar/index.d.ts.map +1 -1
- package/lib/core/Calendar/index.js +47 -41
- package/lib/core/Calendar/styles.d.ts.map +1 -1
- package/lib/core/Calendar/styles.js +22 -18
- package/lib/core/Calendar/util.js +11 -4
- package/lib/core/Card/Card.stories.js +29 -22
- package/lib/core/Card/index.js +17 -9
- package/lib/core/Card/styles.js +20 -21
- package/lib/core/Checkbox/Checkbox.stories.js +15 -8
- package/lib/core/Checkbox/index.js +20 -11
- package/lib/core/Checkbox/styles.js +14 -12
- package/lib/core/CollapseList/CollapseList.stories.js +27 -20
- package/lib/core/CollapseList/Item.js +23 -15
- package/lib/core/CollapseList/index.js +15 -7
- package/lib/core/CollapseList/styles.d.ts.map +1 -1
- package/lib/core/CollapseList/styles.js +14 -8
- package/lib/core/CommentsTimeline/CommentLine/index.js +25 -18
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentLine/styles.js +18 -12
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +32 -25
- package/lib/core/CommentsTimeline/index.js +12 -5
- package/lib/core/CommentsTimeline/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/styles.js +10 -4
- package/lib/core/CustomText/CustomText.stories.js +14 -7
- package/lib/core/CustomText/index.js +18 -10
- package/lib/core/CustomText/styles.d.ts.map +1 -1
- package/lib/core/CustomText/styles.js +13 -8
- package/lib/core/Datepicker/Datepicker.stories.js +22 -15
- package/lib/core/Datepicker/index.js +57 -47
- package/lib/core/Datepicker/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/styles.js +25 -20
- package/lib/core/DatepickerRange/DatepickerRange.stories.js +14 -7
- package/lib/core/DatepickerRange/index.js +20 -13
- package/lib/core/DatepickerRange/styles.d.ts.map +1 -1
- package/lib/core/DatepickerRange/styles.js +21 -15
- package/lib/core/Divider/index.js +13 -6
- package/lib/core/Divider/styles.js +14 -10
- package/lib/core/Dropdown/Dropdown.stories.js +23 -16
- package/lib/core/Dropdown/index.js +29 -19
- package/lib/core/Dropdown/styles.js +12 -7
- package/lib/core/DropdownMenu/DropdownMenu.stories.js +27 -20
- package/lib/core/DropdownMenu/DropdownMenuOption.js +15 -7
- package/lib/core/DropdownMenu/index.js +21 -12
- package/lib/core/DropdownMenu/styles.d.ts.map +1 -1
- package/lib/core/DropdownMenu/styles.js +15 -9
- package/lib/core/FileInput/FileInput.stories.js +20 -13
- package/lib/core/FileInput/index.js +42 -33
- package/lib/core/FileInput/styles.d.ts.map +1 -1
- package/lib/core/FileInput/styles.js +34 -36
- package/lib/core/GoogleButton/GoogleButton.stories.js +11 -4
- package/lib/core/GoogleButton/index.js +14 -7
- package/lib/core/GoogleButton/styles.d.ts.map +1 -1
- package/lib/core/GoogleButton/styles.js +10 -4
- package/lib/core/Header/Header.stories.js +18 -11
- package/lib/core/Header/index.js +14 -6
- package/lib/core/Header/styles.js +18 -12
- package/lib/core/HighlightText/HighlightText.stories.js +12 -5
- package/lib/core/HighlightText/index.js +16 -9
- package/lib/core/HighlightText/styles.d.ts.map +1 -1
- package/lib/core/HighlightText/styles.js +10 -4
- package/lib/core/Html/Html.stories.js +18 -11
- package/lib/core/Html/index.js +16 -8
- package/lib/core/Html/styles.js +15 -11
- package/lib/core/Image/Image.stories.js +15 -8
- package/lib/core/Image/index.js +19 -10
- package/lib/core/Image/styles.js +15 -11
- package/lib/core/ImagePicker/IconWithBackground.js +14 -7
- package/lib/core/ImagePicker/ImagePicker.stories.js +17 -10
- package/lib/core/ImagePicker/UploadButton.js +21 -13
- package/lib/core/ImagePicker/index.js +49 -41
- package/lib/core/ImagePicker/styles.js +24 -24
- package/lib/core/ImageViewer/ImageViewer.stories.js +11 -4
- package/lib/core/ImageViewer/index.js +45 -37
- package/lib/core/ImageViewer/styles.js +15 -12
- package/lib/core/InfoButton/InfoButton.stories.js +22 -15
- package/lib/core/InfoButton/index.js +25 -15
- package/lib/core/InfoButton/styles.d.ts.map +1 -1
- package/lib/core/InfoButton/styles.js +24 -21
- package/lib/core/Input/Input.stories.js +35 -28
- package/lib/core/Input/index.js +47 -38
- package/lib/core/Input/styles.js +28 -27
- package/lib/core/Link/Link.stories.js +19 -12
- package/lib/core/Link/index.js +21 -13
- package/lib/core/Link/styles.d.ts.map +1 -1
- package/lib/core/Link/styles.js +29 -24
- package/lib/core/List/Item.js +11 -5
- package/lib/core/List/List.stories.js +72 -65
- package/lib/core/List/index.js +23 -10
- package/lib/core/List/styles.js +20 -18
- package/lib/core/ListPager/ListPager.stories.js +11 -4
- package/lib/core/ListPager/index.js +24 -17
- package/lib/core/ListPager/styles.d.ts.map +1 -1
- package/lib/core/ListPager/styles.js +15 -9
- package/lib/core/MediaCarousel/MediaCarousel.stories.js +12 -5
- package/lib/core/MediaCarousel/index.js +30 -23
- package/lib/core/MediaCarousel/styles.d.ts.map +1 -1
- package/lib/core/MediaCarousel/styles.js +18 -13
- package/lib/core/Modal/ActionButtons/index.js +15 -8
- package/lib/core/Modal/Modal.stories.js +49 -42
- package/lib/core/Modal/index.js +51 -41
- package/lib/core/Modal/styles.d.ts.map +1 -1
- package/lib/core/Modal/styles.js +26 -22
- package/lib/core/NoticeCard/NoticeCard.stories.js +15 -8
- package/lib/core/NoticeCard/index.js +50 -41
- package/lib/core/NoticeCard/models.js +7 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +24 -17
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +16 -10
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +17 -8
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +10 -4
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +23 -16
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +13 -8
- package/lib/core/NoticeCard/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/styles.js +18 -13
- package/lib/core/NoticeCard/utils.js +20 -11
- package/lib/core/NotificationCounter/NotificationCounter.stories.js +15 -8
- package/lib/core/NotificationCounter/index.js +11 -5
- package/lib/core/NotificationCounter/styles.js +9 -3
- package/lib/core/NotificationsMenu/NotificationRow/index.js +18 -11
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/styles.js +16 -11
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +22 -15
- package/lib/core/NotificationsMenu/index.js +30 -21
- package/lib/core/NotificationsMenu/styles.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/styles.js +12 -6
- package/lib/core/PieChart/ActiveShape/index.js +14 -9
- package/lib/core/PieChart/PieChart.stories.js +19 -12
- package/lib/core/PieChart/index.js +32 -23
- package/lib/core/PieChart/renderTextContent/index.js +15 -10
- package/lib/core/PieChart/styles.d.ts.map +1 -1
- package/lib/core/PieChart/styles.js +13 -7
- package/lib/core/PreemptionCard/PreemptionCard.stories.js +14 -7
- package/lib/core/PreemptionCard/index.js +45 -38
- package/lib/core/PreemptionCard/models.js +7 -1
- package/lib/core/PreemptionCard/styles.d.ts.map +1 -1
- package/lib/core/PreemptionCard/styles.js +18 -14
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +14 -7
- package/lib/core/PreemptionCardLoading/index.js +19 -12
- package/lib/core/PreemptionCardLoading/styles.d.ts.map +1 -1
- package/lib/core/PreemptionCardLoading/styles.js +14 -10
- package/lib/core/QuillEditor/QuillEditor.stories.js +31 -24
- package/lib/core/QuillEditor/classes/LinkSanitizer.js +12 -4
- package/lib/core/QuillEditor/classes/ListItem.js +10 -3
- package/lib/core/QuillEditor/config.d.ts +3 -3
- package/lib/core/QuillEditor/config.js +8 -2
- package/lib/core/QuillEditor/index.js +61 -54
- package/lib/core/QuillEditor/models.js +5 -1
- package/lib/core/QuillEditor/styles.d.ts.map +1 -1
- package/lib/core/QuillEditor/styles.js +15 -10
- package/lib/core/Radio/Radio.stories.js +27 -20
- package/lib/core/Radio/index.js +16 -8
- package/lib/core/Radio/styles.js +13 -9
- package/lib/core/SearchFilter/SearchFilter.stories.js +36 -29
- package/lib/core/SearchFilter/index.js +53 -43
- package/lib/core/SearchFilter/styles.d.ts.map +1 -1
- package/lib/core/SearchFilter/styles.js +33 -32
- package/lib/core/SearchSelect/SearchSelect.stories.js +18 -11
- package/lib/core/SearchSelect/hooks/useSelectSearch.js +13 -7
- package/lib/core/SearchSelect/index.js +36 -26
- package/lib/core/SearchSelect/interface/IProps.js +5 -1
- package/lib/core/SearchSelect/styles.d.ts.map +1 -1
- package/lib/core/SearchSelect/styles.js +19 -17
- package/lib/core/Select/Option.js +18 -10
- package/lib/core/Select/Select.stories.js +85 -78
- package/lib/core/Select/index.js +46 -31
- package/lib/core/Select/styles.d.ts.map +1 -1
- package/lib/core/Select/styles.js +33 -33
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.js +21 -14
- package/lib/core/SimpleBarChart/index.js +27 -20
- package/lib/core/SimpleBarChart/styles.d.ts.map +1 -1
- package/lib/core/SimpleBarChart/styles.js +9 -2
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.js +24 -17
- package/lib/core/SimpleLineChart/index.js +25 -18
- package/lib/core/SimpleLineChart/styles.d.ts.map +1 -1
- package/lib/core/SimpleLineChart/styles.js +9 -2
- package/lib/core/Skeleton/Skeleton.stories.js +14 -7
- package/lib/core/Skeleton/index.js +14 -7
- package/lib/core/Skeleton/styles.d.ts.map +1 -1
- package/lib/core/Skeleton/styles.js +14 -7
- package/lib/core/Spinner/Spinner.stories.js +19 -12
- package/lib/core/Spinner/index.js +14 -6
- package/lib/core/Spinner/styles.js +14 -9
- package/lib/core/Stepper/MobileStep/index.js +17 -10
- package/lib/core/Stepper/MobileStep/styles.d.ts.map +1 -1
- package/lib/core/Stepper/MobileStep/styles.js +20 -18
- package/lib/core/Stepper/Step/index.js +31 -25
- package/lib/core/Stepper/Step/styles.d.ts.map +1 -1
- package/lib/core/Stepper/Step/styles.js +18 -13
- package/lib/core/Stepper/Stepper.stories.js +11 -4
- package/lib/core/Stepper/index.js +27 -18
- package/lib/core/Stepper/styles.d.ts.map +1 -1
- package/lib/core/Stepper/styles.js +13 -7
- package/lib/core/TabBar/TabBar.stories.js +19 -12
- package/lib/core/TabBar/TabItem/index.js +14 -7
- package/lib/core/TabBar/TabItem/styles.d.ts.map +1 -1
- package/lib/core/TabBar/TabItem/styles.js +10 -4
- package/lib/core/TabBar/index.js +12 -5
- package/lib/core/TabBar/styles.d.ts.map +1 -1
- package/lib/core/TabBar/styles.js +10 -4
- package/lib/core/TabNav/TabContext.js +21 -12
- package/lib/core/TabNav/TabNav.stories.js +85 -78
- package/lib/core/TabNav/TabNavItem/index.js +36 -26
- package/lib/core/TabNav/TabNavItem/styles.d.ts.map +1 -1
- package/lib/core/TabNav/TabNavItem/styles.js +18 -11
- package/lib/core/TabNav/index.js +38 -28
- package/lib/core/TabNav/styles.d.ts.map +1 -1
- package/lib/core/TabNav/styles.js +23 -18
- package/lib/core/TabNav/utils/useContainerDimensions.js +13 -6
- package/lib/core/Table/Cell.js +14 -6
- package/lib/core/Table/Row.js +13 -6
- package/lib/core/Table/Table.stories.js +41 -34
- package/lib/core/Table/index.js +28 -10
- package/lib/core/Table/styles.d.ts.map +1 -1
- package/lib/core/Table/styles.js +27 -27
- package/lib/core/Tag/Tag.stories.js +28 -21
- package/lib/core/Tag/index.js +22 -14
- package/lib/core/Tag/styles.js +22 -21
- package/lib/core/Text/Text.stories.js +25 -18
- package/lib/core/Text/index.js +14 -6
- package/lib/core/Text/styles.js +25 -28
- package/lib/core/Textarea/Textarea.stories.js +15 -8
- package/lib/core/Textarea/index.js +24 -15
- package/lib/core/Textarea/styles.d.ts.map +1 -1
- package/lib/core/Textarea/styles.js +20 -15
- package/lib/core/Timeline/Timeline.stories.js +17 -10
- package/lib/core/Timeline/TimelineStep/index.js +21 -13
- package/lib/core/Timeline/TimelineStep/styles.d.ts.map +1 -1
- package/lib/core/Timeline/TimelineStep/styles.js +19 -14
- package/lib/core/Timeline/index.js +12 -5
- package/lib/core/Timeline/styles.d.ts.map +1 -1
- package/lib/core/Timeline/styles.js +10 -4
- package/lib/core/Timepicker/Timepicker.stories.js +25 -18
- package/lib/core/Timepicker/index.js +35 -27
- package/lib/core/Timepicker/styles.d.ts.map +1 -1
- package/lib/core/Timepicker/styles.js +19 -16
- package/lib/core/Tooltip/Tooptip.stories.js +13 -6
- package/lib/core/Tooltip/index.js +24 -16
- package/lib/core/Tooltip/styles.js +10 -5
- package/lib/core/UnitIllustration/index.js +25 -19
- package/lib/core/UserMenu/UserMenu.stories.js +33 -26
- package/lib/core/UserMenu/UserMenuOption.js +15 -7
- package/lib/core/UserMenu/index.js +39 -30
- package/lib/core/UserMenu/styles.d.ts.map +1 -1
- package/lib/core/UserMenu/styles.js +23 -19
- package/lib/core/Video/Video.stories.js +20 -13
- package/lib/core/Video/index.js +19 -11
- package/lib/core/Video/styles.d.ts.map +1 -1
- package/lib/core/Video/styles.js +10 -4
- package/lib/core/YearWheel/YearWheel.stories.js +15 -8
- package/lib/core/YearWheel/index.js +65 -57
- package/lib/core/YearWheel/styles.d.ts.map +1 -1
- package/lib/core/YearWheel/styles.js +15 -7
- package/lib/core/private/ButtonOrLink.js +18 -9
- package/lib/core/private/preemption.js +9 -1
- package/lib/core/utils/debounce.js +10 -4
- package/lib/enums/Keyboard.js +7 -2
- package/lib/global.d.js +3 -2
- package/lib/globals/styles/breakpoints.js +7 -1
- package/lib/globals/styles/paddings.js +7 -1
- package/lib/globals/styles/styles.js +9 -4
- package/lib/globals/validation/regularExpressions.js +7 -1
- package/lib/hooks/useIsMobile.js +12 -5
- package/lib/hooks/useScreenOrientation.js +12 -5
- package/lib/icons/General/IconApartment.js +13 -6
- package/lib/icons/General/IconArchives.js +13 -6
- package/lib/icons/General/IconArea.js +13 -6
- package/lib/icons/General/IconArrowDown.js +13 -6
- package/lib/icons/General/IconArrowLeft.js +13 -6
- package/lib/icons/General/IconArrowRight.js +13 -6
- package/lib/icons/General/IconArrowUp.js +13 -6
- package/lib/icons/General/IconAttachment.js +13 -6
- package/lib/icons/General/IconAuditorFilled.js +24 -17
- package/lib/icons/General/IconAuditorOutline.js +24 -17
- package/lib/icons/General/IconBack.js +13 -6
- package/lib/icons/General/IconBath.js +13 -6
- package/lib/icons/General/IconBblFlame.js +13 -6
- package/lib/icons/General/IconBblShield.js +13 -6
- package/lib/icons/General/IconBblWater.js +13 -6
- package/lib/icons/General/IconBellFilled.js +13 -6
- package/lib/icons/General/IconBellOutline.js +13 -6
- package/lib/icons/General/IconBlock.js +13 -6
- package/lib/icons/General/IconBoard.js +13 -6
- package/lib/icons/General/IconBookmarkFilled.js +13 -6
- package/lib/icons/General/IconBookmarkOutline.js +13 -6
- package/lib/icons/General/IconBus.js +13 -6
- package/lib/icons/General/IconCalendar.js +13 -6
- package/lib/icons/General/IconCamera.js +14 -7
- package/lib/icons/General/IconCar.js +13 -6
- package/lib/icons/General/IconCaretDown.js +13 -6
- package/lib/icons/General/IconCaretLeft.js +13 -6
- package/lib/icons/General/IconCaretRight.js +13 -6
- package/lib/icons/General/IconCaretUp.js +13 -6
- package/lib/icons/General/IconCases.js +28 -21
- package/lib/icons/General/IconCheck.js +13 -6
- package/lib/icons/General/IconCheckedFilled.js +13 -6
- package/lib/icons/General/IconCheckedOutline.js +13 -6
- package/lib/icons/General/IconChevronDown.js +13 -6
- package/lib/icons/General/IconChevronLeft.js +13 -6
- package/lib/icons/General/IconChevronRight.js +13 -6
- package/lib/icons/General/IconChoice.js +13 -6
- package/lib/icons/General/IconClose.js +13 -6
- package/lib/icons/General/IconCloseAlt.js +13 -6
- package/lib/icons/General/IconComment.js +13 -6
- package/lib/icons/General/IconCommunication.js +13 -6
- package/lib/icons/General/IconCommunicationFilled.js +13 -6
- package/lib/icons/General/IconCompanyBuilding.js +13 -6
- package/lib/icons/General/IconCompanyBuildingFilled.js +13 -6
- package/lib/icons/General/IconCompanyBuildingOutline.js +13 -6
- package/lib/icons/General/IconDashboard.js +13 -6
- package/lib/icons/General/IconDashboardFilled.js +13 -6
- package/lib/icons/General/IconDelete.js +13 -6
- package/lib/icons/General/IconDocument.js +23 -16
- package/lib/icons/General/IconDocumentFilled.js +23 -16
- package/lib/icons/General/IconDoor.js +13 -6
- package/lib/icons/General/IconDotFilled.js +13 -6
- package/lib/icons/General/IconDotOutline.js +13 -6
- package/lib/icons/General/IconDownload.js +13 -6
- package/lib/icons/General/IconDraft.js +13 -6
- package/lib/icons/General/IconEarth.js +13 -6
- package/lib/icons/General/IconEconomy.js +13 -6
- package/lib/icons/General/IconEconomyFilled.js +13 -6
- package/lib/icons/General/IconEdit.js +13 -6
- package/lib/icons/General/IconElevator.js +13 -6
- package/lib/icons/General/IconEmailMarkAsRead.js +12 -5
- package/lib/icons/General/IconErrorFilled.js +13 -6
- package/lib/icons/General/IconErrorOutline.js +13 -6
- package/lib/icons/General/IconExternalLink.js +13 -6
- package/lib/icons/General/IconEye.js +13 -6
- package/lib/icons/General/IconEyeDeny.js +13 -6
- package/lib/icons/General/IconFamily.js +13 -6
- package/lib/icons/General/IconFerry.js +13 -6
- package/lib/icons/General/IconFile.js +13 -6
- package/lib/icons/General/IconFileAdd.js +13 -6
- package/lib/icons/General/IconFileCopy.js +13 -6
- package/lib/icons/General/IconFileEdit.js +13 -6
- package/lib/icons/General/IconFileExcel.js +13 -6
- package/lib/icons/General/IconFilePDF.js +13 -6
- package/lib/icons/General/IconFileWord.js +13 -6
- package/lib/icons/General/IconFillOut.js +15 -8
- package/lib/icons/General/IconFilterList.js +13 -6
- package/lib/icons/General/IconFloor.js +13 -6
- package/lib/icons/General/IconForward.js +13 -6
- package/lib/icons/General/IconFullscreenClose.js +13 -6
- package/lib/icons/General/IconFullscreenOpen.js +13 -6
- package/lib/icons/General/IconGarage.js +13 -6
- package/lib/icons/General/IconGrid.js +13 -6
- package/lib/icons/General/IconGym.js +13 -6
- package/lib/icons/General/IconHearth.js +13 -6
- package/lib/icons/General/IconHearthOutline.js +13 -6
- package/lib/icons/General/IconHelp.js +13 -6
- package/lib/icons/General/IconHistory.js +13 -6
- package/lib/icons/General/IconHomeFilled.js +20 -13
- package/lib/icons/General/IconHomeOutline.js +20 -13
- package/lib/icons/General/IconHouse.js +13 -6
- package/lib/icons/General/IconHouseBlockFilled.js +20 -13
- package/lib/icons/General/IconHouseBlockOutline.js +20 -13
- package/lib/icons/General/IconHouseOutline.js +13 -6
- package/lib/icons/General/IconHumans.js +13 -6
- package/lib/icons/General/IconImage.js +14 -7
- package/lib/icons/General/IconImportantComment.js +13 -6
- package/lib/icons/General/IconInbox.js +13 -6
- package/lib/icons/General/IconInfoFilled.js +13 -6
- package/lib/icons/General/IconInfoOutline.js +13 -6
- package/lib/icons/General/IconJanitorFilled.js +24 -17
- package/lib/icons/General/IconJanitorOutline.js +24 -17
- package/lib/icons/General/IconJointcost.js +13 -6
- package/lib/icons/General/IconJointcost2.js +13 -6
- package/lib/icons/General/IconKey.js +13 -6
- package/lib/icons/General/IconKitchen.js +13 -6
- package/lib/icons/General/IconLabel.js +13 -6
- package/lib/icons/General/IconLeafFilled.js +23 -16
- package/lib/icons/General/IconLeafOutline.js +25 -18
- package/lib/icons/General/IconLeisureTime.js +13 -6
- package/lib/icons/General/IconLock.js +13 -6
- package/lib/icons/General/IconLockLocked.js +13 -6
- package/lib/icons/General/IconLockOpen.js +13 -6
- package/lib/icons/General/IconLookup.js +13 -6
- package/lib/icons/General/IconLookupFilled.js +13 -6
- package/lib/icons/General/IconMail.js +13 -6
- package/lib/icons/General/IconMap.js +13 -6
- package/lib/icons/General/IconMedal.js +12 -5
- package/lib/icons/General/IconMembership.js +13 -6
- package/lib/icons/General/IconMembershipFilled.js +13 -6
- package/lib/icons/General/IconMenu.js +13 -6
- package/lib/icons/General/IconMinus.js +13 -6
- package/lib/icons/General/IconMinusAlt.js +13 -6
- package/lib/icons/General/IconMinusAltFilled.js +13 -6
- package/lib/icons/General/IconMoney.js +13 -6
- package/lib/icons/General/IconParking.js +13 -6
- package/lib/icons/General/IconPaymentCard.js +13 -6
- package/lib/icons/General/IconPercent.js +12 -5
- package/lib/icons/General/IconPhone.js +13 -6
- package/lib/icons/General/IconPinned.js +13 -6
- package/lib/icons/General/IconPlus.js +13 -6
- package/lib/icons/General/IconPlusAlt.js +13 -6
- package/lib/icons/General/IconPortalUser.js +13 -6
- package/lib/icons/General/IconPrint.js +13 -6
- package/lib/icons/General/IconProfile.js +13 -6
- package/lib/icons/General/IconProfileFilled.js +13 -6
- package/lib/icons/General/IconRearrange.js +23 -16
- package/lib/icons/General/IconReciept.js +13 -6
- package/lib/icons/General/IconRedo.js +13 -6
- package/lib/icons/General/IconRefresh.js +13 -6
- package/lib/icons/General/IconReply.js +13 -6
- package/lib/icons/General/IconReplyAll.js +13 -6
- package/lib/icons/General/IconRoom.js +13 -6
- package/lib/icons/General/IconSave.js +13 -6
- package/lib/icons/General/IconSearch.js +13 -6
- package/lib/icons/General/IconSend.js +13 -6
- package/lib/icons/General/IconSettings.js +13 -6
- package/lib/icons/General/IconShopping.js +13 -6
- package/lib/icons/General/IconSign.js +13 -6
- package/lib/icons/General/IconSliders.js +13 -6
- package/lib/icons/General/IconSort.js +13 -6
- package/lib/icons/General/IconStarFilled.js +13 -6
- package/lib/icons/General/IconStarHalf.js +13 -6
- package/lib/icons/General/IconStarOutline.js +13 -6
- package/lib/icons/General/IconStore.js +13 -6
- package/lib/icons/General/IconSubway.js +13 -6
- package/lib/icons/General/IconSwitch.js +13 -6
- package/lib/icons/General/IconTrain.js +13 -6
- package/lib/icons/General/IconTram.js +13 -6
- package/lib/icons/General/IconTransport.js +13 -6
- package/lib/icons/General/IconTypeOfBuilding.js +13 -6
- package/lib/icons/General/IconTypeOfBuildingOutline.js +13 -6
- package/lib/icons/General/IconUndo.js +13 -6
- package/lib/icons/General/IconUpload.js +13 -6
- package/lib/icons/General/IconUser.js +13 -6
- package/lib/icons/General/IconUserThin.js +13 -6
- package/lib/icons/General/IconVote.js +13 -6
- package/lib/icons/General/IconWalk.js +13 -6
- package/lib/icons/General/IconWarning.js +13 -6
- package/lib/icons/General/IconWarningBell.js +13 -6
- package/lib/icons/General/IconWork.js +13 -6
- package/lib/icons/General/IconWorkFilled.js +13 -6
- package/lib/icons/General/IconZip.js +13 -6
- package/lib/icons/Icon.stories.js +393 -389
- package/lib/icons/Logos/IconAmericanExpress.js +13 -6
- package/lib/icons/Logos/IconBankAxept.js +21 -14
- package/lib/icons/Logos/IconGmail.js +15 -8
- package/lib/icons/Logos/IconMasterCard.js +18 -11
- package/lib/icons/Logos/IconOffice365.js +41 -34
- package/lib/icons/Logos/IconVisa.js +18 -11
- package/lib/icons/withIcon.js +13 -6
- package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +1228 -1221
- package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1468 -1459
- package/lib/illustrations/General/IllustrationBudget.js +66 -59
- package/lib/illustrations/General/IllustrationError.js +134 -127
- package/lib/illustrations/General/IllustrationErrorGeneric.js +121 -114
- package/lib/illustrations/General/IllustrationHighHouse.js +46 -39
- package/lib/illustrations/General/IllustrationHighHouseComposition.js +68 -61
- package/lib/illustrations/General/IllustrationHouse.js +26 -19
- package/lib/illustrations/General/IllustrationHouseComposition.js +43 -36
- package/lib/illustrations/General/IllustrationHouseMissing.js +52 -45
- package/lib/illustrations/General/IllustrationLowHouse.js +31 -24
- package/lib/illustrations/General/IllustrationLowHouseComposition.js +53 -46
- package/lib/illustrations/General/IllustrationPaperCompleted.js +71 -64
- package/lib/illustrations/General/IllustrationPaperMissing.js +77 -70
- package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +27 -20
- package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +47 -40
- package/lib/illustrations/General/IllustrationServiceMessage.js +21 -13
- package/lib/illustrations/General/IllustrationSmallHouse.js +21 -14
- package/lib/illustrations/General/IllustrationSmallHouseComposition.js +41 -34
- package/lib/illustrations/General/IllustrationTechninalDifficulties.js +40 -32
- package/lib/illustrations/General/IllustrationTerraceBlock.js +40 -33
- package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +60 -53
- package/lib/illustrations/General/IllustrationTownHouse.js +31 -24
- package/lib/illustrations/General/IllustrationTownHouseComposition.js +53 -46
- package/lib/illustrations/Illustration.stories.js +97 -90
- package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +34 -27
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.js +61 -54
- package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +48 -41
- package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +43 -36
- package/lib/illustrations/MySite/IllustrationMySiteComputer.js +47 -40
- package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +46 -39
- package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +42 -35
- package/lib/illustrations/MySite/IllustrationMySiteGift.js +76 -69
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.js +30 -23
- package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +38 -31
- package/lib/illustrations/MySite/IllustrationMySitePapers.js +67 -60
- package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +59 -52
- package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +34 -27
- package/lib/illustrations/styles.js +13 -7
- package/lib/illustrations/withIllustration.js +15 -7
- package/lib/index.js +2396 -326
- package/lib/layout/Footer/Footer.stories.js +34 -27
- package/lib/layout/Footer/FooterButton/index.js +13 -5
- package/lib/layout/Footer/FooterButton/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterButton/styles.js +11 -5
- package/lib/layout/Footer/FooterCol/index.js +12 -5
- package/lib/layout/Footer/FooterCol/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterCol/styles.js +10 -4
- package/lib/layout/Footer/FooterGroup/index.js +12 -5
- package/lib/layout/Footer/FooterGroup/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterGroup/styles.js +10 -4
- package/lib/layout/Footer/FooterLabel/index.js +12 -5
- package/lib/layout/Footer/FooterLabel/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterLabel/styles.js +10 -4
- package/lib/layout/Footer/FooterLink/index.js +13 -5
- package/lib/layout/Footer/FooterLink/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterLink/styles.js +11 -5
- package/lib/layout/Footer/index.js +15 -7
- package/lib/layout/Footer/styles.d.ts.map +1 -1
- package/lib/layout/Footer/styles.js +14 -6
- package/lib/layout/Layout/Layout.stories.js +14 -7
- package/lib/layout/Layout/index.js +12 -5
- package/lib/layout/Layout/styles.d.ts.map +1 -1
- package/lib/layout/Layout/styles.js +11 -4
- package/lib/layout/LayoutShell/LayoutShell.stories.js +28 -21
- package/lib/layout/LayoutShell/index.js +24 -15
- package/lib/layout/LayoutShell/styles.d.ts.map +1 -1
- package/lib/layout/LayoutShell/styles.js +24 -20
- package/lib/layout/Menu/AppPicker/index.js +21 -14
- package/lib/layout/Menu/AppPicker/styles.d.ts.map +1 -1
- package/lib/layout/Menu/AppPicker/styles.js +18 -12
- package/lib/layout/Menu/MainMenu/index.js +13 -6
- package/lib/layout/Menu/MainMenu/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MainMenu/styles.js +13 -6
- package/lib/layout/Menu/MenuItem/index.js +18 -11
- package/lib/layout/Menu/MenuItem/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuItem/styles.js +16 -10
- package/lib/layout/Menu/MenuSpacer/index.js +12 -5
- package/lib/layout/Menu/MenuSpacer/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuSpacer/styles.js +11 -4
- package/lib/layout/Menu/MenuTop/index.js +16 -8
- package/lib/layout/Menu/MenuTop/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuTop/styles.js +17 -11
- package/lib/layout/Menu/SecondaryMenu/index.js +21 -14
- package/lib/layout/Menu/SecondaryMenu/styles.d.ts.map +1 -1
- package/lib/layout/Menu/SecondaryMenu/styles.js +19 -12
- package/lib/layout/Menu/SecondaryMenuItem/index.js +16 -9
- package/lib/layout/Menu/SecondaryMenuItem/styles.js +12 -5
- package/lib/layout/Menu/Sidemenu.stories.js +93 -86
- package/lib/layout/Menu/index.js +14 -7
- package/lib/layout/Menu/styles.d.ts.map +1 -1
- package/lib/layout/Menu/styles.js +12 -5
- package/lib/layout/Submenu/Submenu.stories.js +35 -28
- package/lib/layout/Submenu/SubmenuItem/index.js +32 -22
- package/lib/layout/Submenu/SubmenuItem/styles.js +17 -10
- package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +20 -13
- package/lib/layout/Submenu/index.js +45 -35
- package/lib/layout/Submenu/styles.d.ts.map +1 -1
- package/lib/layout/Submenu/styles.js +30 -25
- package/lib/layout/Topbar/Topbar.stories.js +15 -8
- package/lib/layout/Topbar/index.js +12 -5
- package/lib/layout/Topbar/styles.js +9 -2
- package/lib/shared/components/SbIconGrid/index.js +15 -9
- package/lib/shared/components/VisuallyHidden/index.d.ts.map +1 -1
- package/lib/shared/components/VisuallyHidden/index.js +11 -5
- package/lib/shared/recharts/CustomLegend/index.js +20 -12
- package/lib/shared/recharts/CustomLegend/styles.d.ts.map +1 -1
- package/lib/shared/recharts/CustomLegend/styles.js +14 -8
- package/lib/shared/recharts/CustomTooltip/index.js +26 -19
- package/lib/shared/recharts/CustomTooltip/styles.d.ts.map +1 -1
- package/lib/shared/recharts/CustomTooltip/styles.js +15 -10
- package/lib/utils/accountNumber.js +8 -1
- package/lib/utils/alpha.js +7 -2
- package/lib/utils/array.js +7 -1
- package/lib/utils/dates.js +25 -15
- package/lib/utils/file.js +11 -3
- package/lib/utils/format.js +18 -4
- package/lib/utils/formatGraphPrice.js +7 -2
- package/lib/utils/image.js +7 -1
- package/lib/utils/pagination.js +11 -1
- package/lib/utils/phone.js +7 -1
- package/lib/utils/removeFocusOnMouseUp.js +7 -1
- package/lib/utils/time.js +25 -12
- package/lib/utils/url.js +8 -1
- package/lib/utils/useSnorreTheme.js +15 -9
- package/lib/v2/Memberbenefits/MemberbenefitsCard/MemberbenefitsCard.stories.js +20 -14
- package/lib/v2/Memberbenefits/MemberbenefitsCard/index.js +43 -34
- package/lib/v2/Memberbenefits/MemberbenefitsCard/model.js +7 -1
- package/lib/v2/Memberbenefits/MemberbenefitsCard/styles.d.ts.map +1 -1
- package/lib/v2/Memberbenefits/MemberbenefitsCard/styles.js +31 -35
- package/lib/v2/core/Box/Box.stories.js +31 -24
- package/lib/v2/core/Box/index.js +31 -21
- package/lib/v2/core/Box/styles.d.ts.map +1 -1
- package/lib/v2/core/Box/styles.js +26 -22
- package/lib/v2/core/BoxedTable/BoxedTable.stories.js +141 -134
- package/lib/v2/core/BoxedTable/DraggableRow/index.js +20 -13
- package/lib/v2/core/BoxedTable/DraggableRow/styles.d.ts.map +1 -1
- package/lib/v2/core/BoxedTable/DraggableRow/styles.js +18 -14
- package/lib/v2/core/BoxedTable/HeaderCell/index.js +19 -11
- package/lib/v2/core/BoxedTable/HeaderCell/styles.js +13 -5
- package/lib/v2/core/BoxedTable/RowCell/index.js +14 -6
- package/lib/v2/core/BoxedTable/RowCell/styles.js +21 -18
- package/lib/v2/core/BoxedTable/TableHeader/index.js +12 -5
- package/lib/v2/core/BoxedTable/TableHeader/styles.d.ts.map +1 -1
- package/lib/v2/core/BoxedTable/TableHeader/styles.js +10 -4
- package/lib/v2/core/BoxedTable/TableRow/index.js +27 -18
- package/lib/v2/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
- package/lib/v2/core/BoxedTable/TableRow/styles.js +19 -16
- package/lib/v2/core/BoxedTable/index.js +24 -15
- package/lib/v2/core/BoxedTable/models.js +5 -1
- package/lib/v2/core/BoxedTable/styles.d.ts.map +1 -1
- package/lib/v2/core/BoxedTable/styles.js +27 -31
- package/lib/v2/core/Button/Button.stories.js +42 -35
- package/lib/v2/core/Button/index.d.ts.map +1 -1
- package/lib/v2/core/Button/index.js +22 -14
- package/lib/v2/core/Button/styles.js +30 -31
- package/lib/v2/core/ButtonsFilter/ButtonsFilter.stories.js +13 -6
- package/lib/v2/core/ButtonsFilter/index.js +20 -13
- package/lib/v2/core/ButtonsFilter/styles.d.ts.map +1 -1
- package/lib/v2/core/ButtonsFilter/styles.js +10 -4
- package/lib/v2/core/Chip/Chip.stories.js +25 -18
- package/lib/v2/core/Chip/index.js +21 -14
- package/lib/v2/core/Chip/styles.d.ts.map +1 -1
- package/lib/v2/core/Chip/styles.js +22 -17
- package/lib/v2/core/TabNav/TabContext.js +21 -12
- package/lib/v2/core/TabNav/TabNav.stories.js +85 -78
- package/lib/v2/core/TabNav/TabNavItem/index.js +36 -26
- package/lib/v2/core/TabNav/TabNavItem/styles.d.ts.map +1 -1
- package/lib/v2/core/TabNav/TabNavItem/styles.js +19 -13
- package/lib/v2/core/TabNav/index.js +38 -28
- package/lib/v2/core/TabNav/styles.d.ts.map +1 -1
- package/lib/v2/core/TabNav/styles.js +21 -17
- package/lib/v2/core/TabNav/utils/useContainerDimensions.js +13 -6
- package/lib/v2/hooks/useOverflow.js +14 -8
- package/lib/v2/index.js +97 -14
- package/package.json +14 -5
@@ -1,199 +1,207 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
8
|
+
var _styles = require("./styles");
|
9
|
+
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
1
11
|
/** @jsxImportSource @emotion/react */
|
2
|
-
|
3
|
-
import { activepie, pathFill, Wrapper } from './styles';
|
4
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
12
|
+
|
5
13
|
const YearWheel = ({
|
6
14
|
selectedMonth,
|
7
15
|
onMonthClick
|
8
16
|
}) => {
|
9
|
-
return
|
10
|
-
children:
|
17
|
+
return (0, _jsxRuntime.jsx)(_styles.Wrapper, {
|
18
|
+
children: (0, _jsxRuntime.jsx)("svg", {
|
11
19
|
viewBox: "0 0 213 213",
|
12
|
-
children:
|
20
|
+
children: (0, _jsxRuntime.jsx)("g", {
|
13
21
|
stroke: "none",
|
14
22
|
strokeWidth: "1",
|
15
23
|
fill: "none",
|
16
24
|
fillRule: "evenodd",
|
17
|
-
children:
|
25
|
+
children: (0, _jsxRuntime.jsx)("g", {
|
18
26
|
transform: "translate(-2.000000, -2.000000)",
|
19
|
-
children:
|
27
|
+
children: (0, _jsxRuntime.jsxs)("g", {
|
20
28
|
transform: "translate(2.000000, 2.000000)",
|
21
|
-
children: [
|
29
|
+
children: [(0, _jsxRuntime.jsx)("path", {
|
22
30
|
d: "M108,4.59885714 L108,55.5409887 C116.353269,55.7659831 124.216437,57.9253634 131.129587,61.5988571 L157,17.4815562 C142.465139,9.48222647 125.777286,4.83941721 108,4.59885714",
|
23
|
-
css: theme => [pathFill(theme), selectedMonth === 0 && activepie(theme)],
|
31
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 0 && (0, _styles.activepie)(theme)],
|
24
32
|
onClick: () => onMonthClick(0)
|
25
|
-
}),
|
33
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
26
34
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
27
35
|
fontSize: "14",
|
28
36
|
fontWeight: "bold",
|
29
37
|
fill: "#212529",
|
30
38
|
onClick: () => onMonthClick(0),
|
31
|
-
children:
|
39
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
32
40
|
x: "114",
|
33
41
|
y: "37.5988571",
|
34
42
|
children: "Jan"
|
35
43
|
})
|
36
|
-
}),
|
44
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
37
45
|
d: "M134,62.8892721 C140.805047,67.0727056 146.551814,72.8059271 150.757977,79.5988571 L195,54.0223819 C186.294023,39.4776704 174.085512,27.2839207 159.536302,18.5988571 L134,62.8892721 Z",
|
38
|
-
css: theme => [pathFill(theme), selectedMonth === 1 && activepie(theme)],
|
46
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 1 && (0, _styles.activepie)(theme)],
|
39
47
|
onClick: () => onMonthClick(1)
|
40
|
-
}),
|
48
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
41
49
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
42
50
|
fontSize: "14",
|
43
51
|
fontWeight: "bold",
|
44
52
|
fill: "#212529",
|
45
53
|
onClick: () => onMonthClick(1),
|
46
|
-
children:
|
54
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
47
55
|
x: "150",
|
48
56
|
y: "55.5988571",
|
49
57
|
children: "Feb"
|
50
58
|
})
|
51
|
-
}),
|
59
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
52
60
|
d: "M152,81.9206615 C155.709223,88.6907761 157.90001,96.4007155 158.150022,104.598857 L209,104.598857 C208.73445,87.1769267 204.06049,70.8284787 196.030431,56.5988571 L152,81.9206615 Z",
|
53
|
-
css: theme => [pathFill(theme), selectedMonth === 2 && activepie(theme)],
|
61
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 2 && (0, _styles.activepie)(theme)],
|
54
62
|
onClick: () => onMonthClick(2)
|
55
|
-
}),
|
63
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
56
64
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
57
65
|
fontSize: "14",
|
58
66
|
fontWeight: "bold",
|
59
67
|
fill: "#212529",
|
60
68
|
onClick: () => onMonthClick(2),
|
61
|
-
children:
|
69
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
62
70
|
x: "166",
|
63
71
|
y: "91.5988571",
|
64
72
|
children: "Mar"
|
65
73
|
})
|
66
|
-
}),
|
74
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
67
75
|
d: "M209,107.598857 L158.03636,107.598857 C157.836752,115.976286 155.683539,123.859069 152,130.789839 L196.138759,156.598857 C204.148545,142.06632 208.789067,125.375981 209,107.598857",
|
68
|
-
css: theme => [pathFill(theme), selectedMonth === 3 && activepie(theme)],
|
76
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 3 && (0, _styles.activepie)(theme)],
|
69
77
|
onClick: () => onMonthClick(3)
|
70
|
-
}),
|
78
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
71
79
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
72
80
|
fontSize: "14",
|
73
81
|
fontWeight: "bold",
|
74
82
|
fill: "#212529",
|
75
83
|
onClick: () => onMonthClick(3),
|
76
|
-
children:
|
84
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
77
85
|
x: "168",
|
78
86
|
y: "131.598857",
|
79
87
|
children: "Apr"
|
80
88
|
})
|
81
|
-
}),
|
89
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
82
90
|
d: "M150.772801,133.598857 C146.582438,140.435662 140.82459,146.204305 134,150.421705 L159.53937,194.598857 C174.106344,185.892059 186.314288,173.66911 195,159.098753 L150.772801,133.598857 Z",
|
83
|
-
css: theme => [pathFill(theme), selectedMonth === 4 && activepie(theme)],
|
91
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 4 && (0, _styles.activepie)(theme)],
|
84
92
|
onClick: () => onMonthClick(4)
|
85
|
-
}),
|
93
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
86
94
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
87
95
|
fontSize: "14",
|
88
96
|
fontWeight: "bold",
|
89
97
|
fill: "#212529",
|
90
98
|
onClick: () => onMonthClick(4),
|
91
|
-
children:
|
99
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
92
100
|
x: "153",
|
93
101
|
y: "167.598857",
|
94
102
|
children: "Mai"
|
95
103
|
})
|
96
|
-
}),
|
104
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
97
105
|
d: "M131.211884,151.598857 C124.282707,155.316709 116.389233,157.501354 108,157.727449 L108,208.598857 C125.784315,208.358631 142.473946,203.688353 157,195.647844 L131.211884,151.598857 Z",
|
98
|
-
css: theme => [pathFill(theme), selectedMonth === 5 && activepie(theme)],
|
106
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 5 && (0, _styles.activepie)(theme)],
|
99
107
|
onClick: () => onMonthClick(5)
|
100
|
-
}),
|
108
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
101
109
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
102
110
|
fontSize: "14",
|
103
111
|
fontWeight: "bold",
|
104
112
|
fill: "#212529",
|
105
113
|
onClick: () => onMonthClick(5),
|
106
|
-
children:
|
114
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
107
115
|
x: "115",
|
108
116
|
y: "186.598857",
|
109
117
|
children: "Jun"
|
110
118
|
})
|
111
|
-
}),
|
119
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
112
120
|
d: "M106,208.598857 L106,157.724926 C97.6112573,157.500233 89.7168129,155.316894 82.7851754,151.598857 L57,195.648615 C71.5252047,203.689523 88.2167251,208.360032 106,208.598857",
|
113
|
-
css: theme => [pathFill(theme), selectedMonth === 6 && activepie(theme)],
|
121
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 6 && (0, _styles.activepie)(theme)],
|
114
122
|
onClick: () => onMonthClick(6)
|
115
|
-
}),
|
123
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
116
124
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
117
125
|
fontSize: "14",
|
118
126
|
fontWeight: "bold",
|
119
127
|
fill: "#212529",
|
120
128
|
onClick: () => onMonthClick(6),
|
121
|
-
children:
|
129
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
122
130
|
x: "74",
|
123
131
|
y: "186.598857",
|
124
132
|
children: "Jul"
|
125
133
|
})
|
126
|
-
}),
|
134
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
127
135
|
d: "M80,150.42107 C73.1736744,146.204891 67.4141395,140.43598 63.2207442,133.598857 L19,159.097104 C27.6846977,173.668137 39.8946279,185.893072 54.4608605,194.598857 L80,150.42107 Z",
|
128
|
-
css: theme => [pathFill(theme), selectedMonth === 7 && activepie(theme)],
|
136
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 7 && (0, _styles.activepie)(theme)],
|
129
137
|
onClick: () => onMonthClick(7)
|
130
|
-
}),
|
138
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
131
139
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
132
140
|
fontSize: "14",
|
133
141
|
fontWeight: "bold",
|
134
142
|
fill: "#212529",
|
135
143
|
onClick: () => onMonthClick(7),
|
136
|
-
children:
|
144
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
137
145
|
x: "36",
|
138
146
|
y: "167.598857",
|
139
147
|
children: "Aug"
|
140
148
|
})
|
141
|
-
}),
|
149
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
142
150
|
d: "M61,130.795574 C57.312989,123.86337 55.1579849,115.97772 54.9569267,107.598857 L4,107.598857 C4.21238542,125.375981 8.85229898,142.06632 16.8634772,156.598857 L61,130.795574 Z",
|
143
|
-
css: theme => [pathFill(theme), selectedMonth === 8 && activepie(theme)],
|
151
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 8 && (0, _styles.activepie)(theme)],
|
144
152
|
onClick: () => onMonthClick(8)
|
145
|
-
}),
|
153
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
146
154
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
147
155
|
fontSize: "14",
|
148
156
|
fontWeight: "bold",
|
149
157
|
fill: "#212529",
|
150
158
|
onClick: () => onMonthClick(8),
|
151
|
-
children:
|
159
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
152
160
|
x: "21",
|
153
161
|
y: "131.598857",
|
154
162
|
children: "Sep"
|
155
163
|
})
|
156
|
-
}),
|
164
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
157
165
|
d: "M5,104.598857 L55.8407395,104.598857 C56.0921956,96.3990682 58.286079,88.6874959 62,81.9157759 L17.9725892,56.5988571 C9.94012243,70.8274889 5.26558279,87.177823 5,104.598857",
|
158
|
-
css: theme => [pathFill(theme), selectedMonth === 9 && activepie(theme)],
|
166
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 9 && (0, _styles.activepie)(theme)],
|
159
167
|
onClick: () => onMonthClick(9)
|
160
|
-
}),
|
168
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
161
169
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
162
170
|
fontSize: "14",
|
163
171
|
fontWeight: "bold",
|
164
172
|
fill: "#212529",
|
165
173
|
onClick: () => onMonthClick(9),
|
166
|
-
children:
|
174
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
167
175
|
x: "17",
|
168
176
|
y: "91.5988571",
|
169
177
|
children: "Okt"
|
170
178
|
})
|
171
|
-
}),
|
179
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
172
180
|
d: "M63.2345403,79.5988571 C67.4450569,72.8070313 73.1947952,67.0721222 80,62.8899144 L54.4631038,18.5988571 C39.9163934,27.2843252 27.7047606,39.4786429 19,54.0254524 L63.2345403,79.5988571 Z",
|
173
|
-
css: theme => [pathFill(theme), selectedMonth === 10 && activepie(theme)],
|
181
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 10 && (0, _styles.activepie)(theme)],
|
174
182
|
onClick: () => onMonthClick(10)
|
175
|
-
}),
|
183
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
176
184
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
177
185
|
fontSize: "14",
|
178
186
|
fontWeight: "bold",
|
179
187
|
fill: "#212529",
|
180
188
|
onClick: () => onMonthClick(10),
|
181
|
-
children:
|
189
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
182
190
|
x: "36",
|
183
191
|
y: "55.5988571",
|
184
192
|
children: "Nov"
|
185
193
|
})
|
186
|
-
}),
|
194
|
+
}), (0, _jsxRuntime.jsx)("path", {
|
187
195
|
d: "M82.8674586,61.5988571 C89.7830767,57.925181 97.6457838,55.7671086 106,55.5435181 L106,4.59885714 C88.2237571,4.83801402 71.5340079,9.48105382 57,17.4821959 L82.8674586,61.5988571 Z",
|
188
|
-
css: theme => [pathFill(theme), selectedMonth === 11 && activepie(theme)],
|
196
|
+
css: theme => [(0, _styles.pathFill)(theme), selectedMonth === 11 && (0, _styles.activepie)(theme)],
|
189
197
|
onClick: () => onMonthClick(11)
|
190
|
-
}),
|
198
|
+
}), (0, _jsxRuntime.jsx)("text", {
|
191
199
|
fontFamily: "SourceSansPro-Bold, Source Sans Pro",
|
192
200
|
fontSize: "14",
|
193
201
|
fontWeight: "bold",
|
194
202
|
fill: "#212529",
|
195
203
|
onClick: () => onMonthClick(11),
|
196
|
-
children:
|
204
|
+
children: (0, _jsxRuntime.jsx)("tspan", {
|
197
205
|
x: "74",
|
198
206
|
y: "37.5988571",
|
199
207
|
children: "Des"
|
@@ -205,4 +213,4 @@ const YearWheel = ({
|
|
205
213
|
})
|
206
214
|
});
|
207
215
|
};
|
208
|
-
|
216
|
+
var _default = exports.default = YearWheel;
|
@@ -1,7 +1,14 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.pathFill = exports.activepie = exports.Wrapper = void 0;
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
8
|
+
var _react = require("@emotion/react");
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
2
10
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
3
|
-
|
4
|
-
export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
11
|
+
const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
5
12
|
target: "esjpkup0"
|
6
13
|
} : {
|
7
14
|
target: "esjpkup0",
|
@@ -11,9 +18,10 @@ export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "pro
|
|
11
18
|
styles: "display:flex;height:233px;width:233px;svg{height:100%;}svg path,svg text{cursor:pointer;}"
|
12
19
|
} : {
|
13
20
|
name: "t3g4jm",
|
14
|
-
styles: "display:flex;height:233px;width:233px;svg{height:100%;}svg path,svg text{cursor:pointer;}",
|
15
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1llYXJXaGVlbC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR2lDIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1llYXJXaGVlbC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MsIFRoZW1lIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBoZWlnaHQ6IDIzM3B4O1xuICB3aWR0aDogMjMzcHg7XG5cbiAgc3ZnIHtcbiAgICBoZWlnaHQ6IDEwMCU7XG4gIH1cblxuICBzdmcgcGF0aCxcbiAgc3ZnIHRleHQge1xuICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgcGF0aEZpbGwgPSAodGhlbWU6IFRoZW1lKSA9PiBjc3NgXG4gIGZpbGw6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTEwfTtcbmBcblxuZXhwb3J0IGNvbnN0IGFjdGl2ZXBpZSA9ICh0aGVtZTogVGhlbWUpID0+IGNzc2BcbiAgZmlsbDogJHt0aGVtZS5pbGx1c3RyYXRpb25QcmltYXJ5NDB9O1xuYFxuIl19 */",
|
21
|
+
styles: "display:flex;height:233px;width:233px;svg{height:100%;}svg path,svg text{cursor:pointer;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1llYXJXaGVlbC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR2lDIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1llYXJXaGVlbC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MsIFRoZW1lIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuZXhwb3J0IGNvbnN0IFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBoZWlnaHQ6IDIzM3B4O1xuICB3aWR0aDogMjMzcHg7XG5cbiAgc3ZnIHtcbiAgICBoZWlnaHQ6IDEwMCU7XG4gIH1cblxuICBzdmcgcGF0aCxcbiAgc3ZnIHRleHQge1xuICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgcGF0aEZpbGwgPSAodGhlbWU6IFRoZW1lKSA9PiBjc3NgXG4gIGZpbGw6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTEwfTtcbmBcblxuZXhwb3J0IGNvbnN0IGFjdGl2ZXBpZSA9ICh0aGVtZTogVGhlbWUpID0+IGNzc2BcbiAgZmlsbDogJHt0aGVtZS5pbGx1c3RyYXRpb25QcmltYXJ5NDB9O1xuYFxuIl19 */",
|
16
22
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
17
23
|
});
|
18
|
-
|
19
|
-
|
24
|
+
const pathFill = theme => /*#__PURE__*/(0, _react.css)("fill:", theme.illustrationPrimary10, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:pathFill;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1llYXJXaGVlbC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0I2QyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9ZZWFyV2hlZWwvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBUaGVtZSB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAgaGVpZ2h0OiAyMzNweDtcbiAgd2lkdGg6IDIzM3B4O1xuXG4gIHN2ZyB7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICB9XG5cbiAgc3ZnIHBhdGgsXG4gIHN2ZyB0ZXh0IHtcbiAgICBjdXJzb3I6IHBvaW50ZXI7XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IHBhdGhGaWxsID0gKHRoZW1lOiBUaGVtZSkgPT4gY3NzYFxuICBmaWxsOiAke3RoZW1lLmlsbHVzdHJhdGlvblByaW1hcnkxMH07XG5gXG5cbmV4cG9ydCBjb25zdCBhY3RpdmVwaWUgPSAodGhlbWU6IFRoZW1lKSA9PiBjc3NgXG4gIGZpbGw6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTQwfTtcbmBcbiJdfQ== */");
|
25
|
+
exports.pathFill = pathFill;
|
26
|
+
const activepie = theme => /*#__PURE__*/(0, _react.css)("fill:", theme.illustrationPrimary40, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:activepie;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1llYXJXaGVlbC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0I4QyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9ZZWFyV2hlZWwvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBUaGVtZSB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAgaGVpZ2h0OiAyMzNweDtcbiAgd2lkdGg6IDIzM3B4O1xuXG4gIHN2ZyB7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICB9XG5cbiAgc3ZnIHBhdGgsXG4gIHN2ZyB0ZXh0IHtcbiAgICBjdXJzb3I6IHBvaW50ZXI7XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IHBhdGhGaWxsID0gKHRoZW1lOiBUaGVtZSkgPT4gY3NzYFxuICBmaWxsOiAke3RoZW1lLmlsbHVzdHJhdGlvblByaW1hcnkxMH07XG5gXG5cbmV4cG9ydCBjb25zdCBhY3RpdmVwaWUgPSAodGhlbWU6IFRoZW1lKSA9PiBjc3NgXG4gIGZpbGw6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTQwfTtcbmBcbiJdfQ== */");
|
27
|
+
exports.activepie = activepie;
|
@@ -1,7 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
8
|
+
var _removeFocusOnMouseUp = _interopRequireDefault(require("../../utils/removeFocusOnMouseUp"));
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
13
|
+
const ButtonOrLink = /*#__PURE__*/_react.default.forwardRef(({
|
5
14
|
afterIcon,
|
6
15
|
beforeIcon,
|
7
16
|
children,
|
@@ -35,7 +44,7 @@ const ButtonOrLink = /*#__PURE__*/React.forwardRef(({
|
|
35
44
|
|
36
45
|
// Remove outline after click
|
37
46
|
const handleMouseUp = event => {
|
38
|
-
|
47
|
+
(0, _removeFocusOnMouseUp.default)(event);
|
39
48
|
if (onMouseUp) {
|
40
49
|
onMouseUp(event);
|
41
50
|
}
|
@@ -46,7 +55,7 @@ const ButtonOrLink = /*#__PURE__*/React.forwardRef(({
|
|
46
55
|
if (onCustomKeyPress && event.key === onCustomKeyPress.key) onCustomKeyPress.action(event);
|
47
56
|
if (onKeyPress) onKeyPress(event);
|
48
57
|
};
|
49
|
-
useEffect(() => {
|
58
|
+
(0, _react.useEffect)(() => {
|
50
59
|
const hasKeyPressEvents = onEnterKeyPress || onEscapeKeyPress || onKeyPress || onCustomKeyPress;
|
51
60
|
if (!hasKeyPressEvents) return;
|
52
61
|
window.addEventListener('keyup', handleKeyPress);
|
@@ -74,7 +83,7 @@ const ButtonOrLink = /*#__PURE__*/React.forwardRef(({
|
|
74
83
|
props.disabled = disabled || loading || false;
|
75
84
|
props.type = type || 'button';
|
76
85
|
}
|
77
|
-
return /*#__PURE__*/
|
86
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Tag, {
|
78
87
|
...restProps,
|
79
88
|
...props,
|
80
89
|
ref: ref,
|
@@ -84,9 +93,9 @@ const ButtonOrLink = /*#__PURE__*/React.forwardRef(({
|
|
84
93
|
onMouseUp: handleMouseUp,
|
85
94
|
download: download,
|
86
95
|
tabIndex: tabIndex,
|
87
|
-
children: [!loading && beforeIcon ? beforeIcon : null, /*#__PURE__*/
|
96
|
+
children: [!loading && beforeIcon ? beforeIcon : null, /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
88
97
|
children: children
|
89
98
|
}), !loading && afterIcon ? afterIcon : null]
|
90
99
|
});
|
91
100
|
});
|
92
|
-
|
101
|
+
var _default = exports.default = ButtonOrLink;
|
@@ -1,10 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.isDeadlineClosing = exports.getMeldefristText = exports.getAreaTextForPreemptionUnit = void 0;
|
1
7
|
const getAreaTextForPreemptionUnit = unit => unit.subArea ? unit.subArea : unit.area ? unit.area : unit.city;
|
8
|
+
exports.getAreaTextForPreemptionUnit = getAreaTextForPreemptionUnit;
|
2
9
|
const isDeadlineClosing = date => {
|
3
10
|
const date1 = new Date(date);
|
4
11
|
const date2 = new Date();
|
5
12
|
const diffHours = Math.ceil(Math.abs(date1.valueOf() - date2.valueOf()) / 3600000);
|
6
13
|
return diffHours < 72;
|
7
14
|
};
|
15
|
+
exports.isDeadlineClosing = isDeadlineClosing;
|
8
16
|
const getMeldefristText = preemption => {
|
9
17
|
const date1 = new Date(preemption.deadline);
|
10
18
|
const date2 = new Date();
|
@@ -19,4 +27,4 @@ const getMeldefristText = preemption => {
|
|
19
27
|
return ' ' + diffMinutes + ' minutter';
|
20
28
|
}
|
21
29
|
};
|
22
|
-
|
30
|
+
exports.getMeldefristText = getMeldefristText;
|
@@ -1,7 +1,13 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.useDebounce = void 0;
|
7
|
+
var _react = require("react");
|
2
8
|
const useDebounce = (value, delay) => {
|
3
|
-
const [debouncedValue, setDebouncedValue] = useState(value);
|
4
|
-
useEffect(() => {
|
9
|
+
const [debouncedValue, setDebouncedValue] = (0, _react.useState)(value);
|
10
|
+
(0, _react.useEffect)(() => {
|
5
11
|
// Set debouncedValue to value (passed in) after the specified delay
|
6
12
|
const handler = setTimeout(() => {
|
7
13
|
setDebouncedValue(value);
|
@@ -12,4 +18,4 @@ const useDebounce = (value, delay) => {
|
|
12
18
|
}, [value, delay]);
|
13
19
|
return debouncedValue;
|
14
20
|
};
|
15
|
-
|
21
|
+
exports.useDebounce = useDebounce;
|
package/esm/enums/Keyboard.js
CHANGED
@@ -1,8 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.Key = void 0;
|
1
7
|
/**
|
2
8
|
* Incomplete enum for modifier keys used in onKeyDown and onKeyUp
|
3
9
|
*/
|
4
|
-
|
5
|
-
export let Key = /*#__PURE__*/function (Key) {
|
10
|
+
let Key = exports.Key = /*#__PURE__*/function (Key) {
|
6
11
|
Key["enter"] = "Enter";
|
7
12
|
Key["tab"] = "Tab";
|
8
13
|
Key["space"] = " ";
|
package/esm/global.d.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
require("@emotion/react");
|
@@ -1,3 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
1
7
|
const bp = {
|
2
8
|
small: '576px',
|
3
9
|
medium: '768px',
|
@@ -6,4 +12,4 @@ const bp = {
|
|
6
12
|
heightMedium: '800px',
|
7
13
|
heightSmall: '650px'
|
8
14
|
};
|
9
|
-
|
15
|
+
var _default = exports.default = bp;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
1
7
|
const paddings = {
|
2
8
|
p1: '8px',
|
3
9
|
p2: '16px',
|
@@ -5,4 +11,4 @@ const paddings = {
|
|
5
11
|
p4: '32px',
|
6
12
|
p5: '40px'
|
7
13
|
};
|
8
|
-
|
14
|
+
var _default = exports.default = paddings;
|
@@ -1,11 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.defaultOutline = void 0;
|
7
|
+
var _react = require("@emotion/react");
|
1
8
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
2
|
-
|
3
|
-
export const defaultOutline = process.env.NODE_ENV === "production" ? {
|
9
|
+
const defaultOutline = exports.defaultOutline = process.env.NODE_ENV === "production" ? {
|
4
10
|
name: "1d1mls9",
|
5
11
|
styles: "outline:1px dotted #212121;outline:5px auto -webkit-focus-ring-color"
|
6
12
|
} : {
|
7
13
|
name: "1mkmepq-defaultOutline",
|
8
|
-
styles: "outline:1px dotted #212121;outline:5px auto -webkit-focus-ring-color;label:defaultOutline;",
|
9
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9nbG9iYWxzL3N0eWxlcy9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRWlDIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9nbG9iYWxzL3N0eWxlcy9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcblxuZXhwb3J0IGNvbnN0IGRlZmF1bHRPdXRsaW5lID0gY3NzYFxuICBvdXRsaW5lOiAxcHggZG90dGVkICMyMTIxMjE7XG4gIG91dGxpbmU6IDVweCBhdXRvIC13ZWJraXQtZm9jdXMtcmluZy1jb2xvcjtcbmBcbiJdfQ== */",
|
14
|
+
styles: "outline:1px dotted #212121;outline:5px auto -webkit-focus-ring-color;label:defaultOutline;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9nbG9iYWxzL3N0eWxlcy9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRWlDIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9nbG9iYWxzL3N0eWxlcy9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcblxuZXhwb3J0IGNvbnN0IGRlZmF1bHRPdXRsaW5lID0gY3NzYFxuICBvdXRsaW5lOiAxcHggZG90dGVkICMyMTIxMjE7XG4gIG91dGxpbmU6IDVweCBhdXRvIC13ZWJraXQtZm9jdXMtcmluZy1jb2xvcjtcbmBcbiJdfQ== */",
|
10
15
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
11
16
|
};
|
@@ -1,3 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
1
7
|
const regularExpressions = {
|
2
8
|
phonenumber: new RegExp(/(?:^((?!00|[+])|(?:(?:00|[+])47))(\d{8})$)|(?:^(?:00|[+])(?!47)(\d{7,15})$)/),
|
3
9
|
mobilenumber: new RegExp(/(?:^((?!00|[+])|(?:(?:00|[+])47))([49]\d{7})$)|(?:^(?:00|[+])(?!47)([49]\d{7,15})$)/),
|
@@ -7,4 +13,4 @@ const regularExpressions = {
|
|
7
13
|
year: new RegExp(/^[12][0-9]{3}$/),
|
8
14
|
url: new RegExp(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{2,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/)
|
9
15
|
};
|
10
|
-
|
16
|
+
var _default = exports.default = regularExpressions;
|
package/esm/hooks/useIsMobile.js
CHANGED
@@ -1,13 +1,19 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.useIsMobile = void 0;
|
7
|
+
var _react = require("react");
|
8
|
+
const useIsMobile = width => {
|
3
9
|
const getSize = () => {
|
4
10
|
return {
|
5
11
|
width: window.innerWidth,
|
6
12
|
height: window.innerHeight
|
7
13
|
};
|
8
14
|
};
|
9
|
-
const [windowSize, setWindowSize] = useState(getSize);
|
10
|
-
useEffect(() => {
|
15
|
+
const [windowSize, setWindowSize] = (0, _react.useState)(getSize);
|
16
|
+
(0, _react.useEffect)(() => {
|
11
17
|
const handleResize = () => {
|
12
18
|
setWindowSize(getSize());
|
13
19
|
};
|
@@ -15,4 +21,5 @@ export const useIsMobile = width => {
|
|
15
21
|
return () => window.removeEventListener('resize', handleResize);
|
16
22
|
}, []);
|
17
23
|
return windowSize.width <= (width ? width : 768);
|
18
|
-
};
|
24
|
+
};
|
25
|
+
exports.useIsMobile = useIsMobile;
|
@@ -1,4 +1,10 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.useScreenOrientation = exports.default = void 0;
|
7
|
+
var _react = require("react");
|
2
8
|
const getOrientation = () => {
|
3
9
|
const isIOS = navigator?.userAgent.match(/iPhone|iPad|iPod/i);
|
4
10
|
if (Boolean(isIOS)) {
|
@@ -19,12 +25,12 @@ const getOrientation = () => {
|
|
19
25
|
return window?.screen?.orientation?.type ? window.screen.orientation.type : 'portrait-primary';
|
20
26
|
}
|
21
27
|
};
|
22
|
-
|
23
|
-
const [orientation, setOrientation] = useState(getOrientation());
|
28
|
+
const useScreenOrientation = () => {
|
29
|
+
const [orientation, setOrientation] = (0, _react.useState)(getOrientation());
|
24
30
|
const updateOrientation = _ => {
|
25
31
|
setOrientation(getOrientation());
|
26
32
|
};
|
27
|
-
useEffect(() => {
|
33
|
+
(0, _react.useEffect)(() => {
|
28
34
|
window.addEventListener('orientationchange', updateOrientation);
|
29
35
|
return () => {
|
30
36
|
window.removeEventListener('orientationchange', updateOrientation);
|
@@ -32,4 +38,5 @@ export const useScreenOrientation = () => {
|
|
32
38
|
}, []);
|
33
39
|
return orientation;
|
34
40
|
};
|
35
|
-
|
41
|
+
exports.useScreenOrientation = useScreenOrientation;
|
42
|
+
var _default = exports.default = useScreenOrientation;
|
@@ -1,13 +1,20 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
8
|
+
var _withIcon = _interopRequireDefault(require("../withIcon"));
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
4
11
|
const IconApartment = props => {
|
5
|
-
return /*#__PURE__*/
|
12
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
6
13
|
viewBox: "0 0 24 24",
|
7
14
|
...props,
|
8
|
-
children: /*#__PURE__*/
|
15
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
9
16
|
d: "M17,11 L17,3 L7,3 L7,7 L3,7 L3,21 L11,21 L11,17 L13,17 L13,21 L21,21 L21,11 L17,11 Z M7,19 L5,19 L5,17 L7,17 L7,19 Z M7,15 L5,15 L5,13 L7,13 L7,15 Z M7,11 L5,11 L5,9 L7,9 L7,11 Z M11,15 L9,15 L9,13 L11,13 L11,15 Z M11,11 L9,11 L9,9 L11,9 L11,11 Z M11,7 L9,7 L9,5 L11,5 L11,7 Z M15,15 L13,15 L13,13 L15,13 L15,15 Z M15,11 L13,11 L13,9 L15,9 L15,11 Z M15,7 L13,7 L13,5 L15,5 L15,7 Z M19,19 L17,19 L17,17 L19,17 L19,19 Z M19,15 L17,15 L17,13 L19,13 L19,15 Z"
|
10
17
|
})
|
11
18
|
});
|
12
19
|
};
|
13
|
-
|
20
|
+
var _default = exports.default = (0, _withIcon.default)('IconApartment')(IconApartment);
|