@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,8 +1,15 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.styles = exports.CollapseButton = void 0;
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
8
|
+
var _react = require("@emotion/react");
|
9
|
+
var _Button = _interopRequireDefault(require("../Button"));
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
2
11
|
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
|
-
import Button from '../Button';
|
5
|
-
export const CollapseButton = /*#__PURE__*/_styled(Button, process.env.NODE_ENV === "production" ? {
|
12
|
+
const CollapseButton = exports.CollapseButton = /*#__PURE__*/(0, _base.default)(_Button.default, process.env.NODE_ENV === "production" ? {
|
6
13
|
target: "ehtrwig0"
|
7
14
|
} : {
|
8
15
|
target: "ehtrwig0",
|
@@ -12,10 +19,9 @@ export const CollapseButton = /*#__PURE__*/_styled(Button, process.env.NODE_ENV
|
|
12
19
|
styles: "position:relative;display:block;width:100%;font-weight:unset;text-align:unset"
|
13
20
|
} : {
|
14
21
|
name: "1dg5z9o",
|
15
|
-
styles: "position:relative;display:block;width:100%;font-weight:unset;text-align:unset",
|
16
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0NvbGxhcHNlTGlzdC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSzRDIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0NvbGxhcHNlTGlzdC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgSUFwcFRoZW1lIH0gZnJvbSAnLi4vLi4vYXBwLXNoZWxsL3RoZW1lJ1xuaW1wb3J0IEJ1dHRvbiBmcm9tICcuLi9CdXR0b24nXG5cbmV4cG9ydCBjb25zdCBDb2xsYXBzZUJ1dHRvbiA9IHN0eWxlZChCdXR0b24pYFxuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICB3aWR0aDogMTAwJTtcbiAgZm9udC13ZWlnaHQ6IHVuc2V0O1xuICB0ZXh0LWFsaWduOiB1bnNldDtcbmBcblxuZXhwb3J0IGNvbnN0IHN0eWxlcyA9IHtcbiAgZGVmYXVsdDogKHRoZW1lOiBJQXBwVGhlbWUpID0+XG4gICAgY3NzYFxuICAgICAgLml0ZW0ge1xuICAgICAgICBwYWRkaW5nOiAyZW0gMDtcbiAgICAgICAgYm9yZGVyLXRvcDogMXB4IHNvbGlkICR7dGhlbWUuYm9yZGVyfTtcblxuICAgICAgICAuaGVhZGVyIHtcbiAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgICAgICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuXG4gICAgICAgICAgJiA+IHN2ZyB7XG4gICAgICAgICAgICBtaW4td2lkdGg6IDE0cHg7XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLmNvbnRlbnQge1xuICAgICAgICAgIHBhZGRpbmctdG9wOiAyZW07XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgLml0ZW06bGFzdC1vZi10eXBlIHtcbiAgICAgICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICR7dGhlbWUuYm9yZGVyfTtcbiAgICAgIH1cbiAgICBgLFxufVxuIl19 */",
|
22
|
+
styles: "position:relative;display:block;width:100%;font-weight:unset;text-align:unset/*# sourceMappingURL=data:application/json;charset=utf-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XG4gICAgICAgICAgICBtaW4td2lkdGg6IDE0cHg7XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLmNvbnRlbnQge1xuICAgICAgICAgIHBhZGRpbmctdG9wOiAyZW07XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgLml0ZW06bGFzdC1vZi10eXBlIHtcbiAgICAgICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICR7dGhlbWUuYm9yZGVyfTtcbiAgICAgIH1cbiAgICBgLFxufVxuIl19 */",
|
17
23
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
18
24
|
});
|
19
|
-
|
20
|
-
default: theme => /*#__PURE__*/css(".item{padding:2em 0;border-top:1px solid ", theme.border, ";.header{display:flex;justify-content:space-between;align-items:center;&>svg{min-width:14px;}}.content{padding-top:2em;}}.item:last-of-type{border-bottom:1px solid ", theme.border, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0NvbGxhcHNlTGlzdC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZU8iLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvQ29sbGFwc2VMaXN0L3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBJQXBwVGhlbWUgfSBmcm9tICcuLi8uLi9hcHAtc2hlbGwvdGhlbWUnXG5pbXBvcnQgQnV0dG9uIGZyb20gJy4uL0J1dHRvbidcblxuZXhwb3J0IGNvbnN0IENvbGxhcHNlQnV0dG9uID0gc3R5bGVkKEJ1dHRvbilgXG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIHdpZHRoOiAxMDAlO1xuICBmb250LXdlaWdodDogdW5zZXQ7XG4gIHRleHQtYWxpZ246IHVuc2V0O1xuYFxuXG5leHBvcnQgY29uc3Qgc3R5bGVzID0ge1xuICBkZWZhdWx0OiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3NgXG4gICAgICAuaXRlbSB7XG4gICAgICAgIHBhZGRpbmc6IDJlbSAwO1xuICAgICAgICBib3JkZXItdG9wOiAxcHggc29saWQgJHt0aGVtZS5ib3JkZXJ9O1xuXG4gICAgICAgIC5oZWFkZXIge1xuICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG5cbiAgICAgICAgICAmID4gc3ZnIHtcbiAgICAgICAgICAgIG1pbi13aWR0aDogMTRweDtcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAuY29udGVudCB7XG4gICAgICAgICAgcGFkZGluZy10b3A6IDJlbTtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAuaXRlbTpsYXN0LW9mLXR5cGUge1xuICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgJHt0aGVtZS5ib3JkZXJ9O1xuICAgICAgfVxuICAgIGAsXG59XG4iXX0= */")
|
25
|
+
const styles = exports.styles = {
|
26
|
+
default: theme => /*#__PURE__*/(0, _react.css)(".item{padding:2em 0;border-top:1px solid ", theme.border, ";.header{display:flex;justify-content:space-between;align-items:center;&>svg{min-width:14px;}}.content{padding-top:2em;}}.item:last-of-type{border-bottom:1px solid ", theme.border, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data: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biAgICAgICAgICAgIG1pbi13aWR0aDogMTRweDtcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAuY29udGVudCB7XG4gICAgICAgICAgcGFkZGluZy10b3A6IDJlbTtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAuaXRlbTpsYXN0LW9mLXR5cGUge1xuICAgICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgJHt0aGVtZS5ib3JkZXJ9O1xuICAgICAgfVxuICAgIGAsXG59XG4iXX0= */")
|
21
27
|
};
|
@@ -1,9 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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 _react2 = require("@emotion/react");
|
10
|
+
var _Text = _interopRequireDefault(require("../../Text"));
|
11
|
+
var _ = require("../../..");
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
7
14
|
const CommentLine = ({
|
8
15
|
date = '',
|
9
16
|
time = '',
|
@@ -16,40 +23,40 @@ const CommentLine = ({
|
|
16
23
|
customContent,
|
17
24
|
...restProps
|
18
25
|
}) => {
|
19
|
-
const theme = useTheme();
|
20
|
-
const isMobile = useIsMobile();
|
26
|
+
const theme = (0, _react2.useTheme)();
|
27
|
+
const isMobile = (0, _.useIsMobile)();
|
21
28
|
const ariaLabel = `kommentar ${date} klokken ${time}`;
|
22
|
-
return /*#__PURE__*/
|
29
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Wrapper, {
|
23
30
|
theme: theme,
|
24
31
|
"data-testid": "comment-line",
|
25
32
|
role: "article",
|
26
33
|
"aria-label": ariaLabel,
|
27
34
|
...restProps,
|
28
|
-
children: [/*#__PURE__*/
|
29
|
-
children: [/*#__PURE__*/
|
35
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.DateWrapper, {
|
36
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.default, {
|
30
37
|
subtle: true,
|
31
38
|
size: "14px",
|
32
39
|
children: time
|
33
|
-
}), /*#__PURE__*/
|
40
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.default, {
|
34
41
|
size: isMobile ? '14px' : '16px',
|
35
42
|
children: date
|
36
43
|
})]
|
37
|
-
}), /*#__PURE__*/
|
44
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.IconWrapper, {
|
38
45
|
"aria-hidden": true,
|
39
46
|
children: icon
|
40
|
-
}), /*#__PURE__*/
|
47
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.TextWrapper, {
|
41
48
|
tabIndex: 0,
|
42
|
-
children: [/*#__PURE__*/
|
49
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_.Header, {
|
43
50
|
level: 5,
|
44
51
|
size: "16px",
|
45
52
|
children: header
|
46
|
-
}), /*#__PURE__*/
|
53
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.default, {
|
47
54
|
italic: italic,
|
48
55
|
subtle: subtle,
|
49
56
|
size: "14px",
|
50
57
|
paragraph: true,
|
51
58
|
children: comment
|
52
|
-
}), commentInfo && /*#__PURE__*/
|
59
|
+
}), commentInfo && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.default, {
|
53
60
|
italic: true,
|
54
61
|
subtle: true,
|
55
62
|
size: "14px",
|
@@ -58,4 +65,4 @@ const CommentLine = ({
|
|
58
65
|
})]
|
59
66
|
});
|
60
67
|
};
|
61
|
-
|
68
|
+
var _default = exports.default = CommentLine;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/CommentsTimeline/CommentLine/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,uJAyBnB,CAAA;AAED,eAAO,MAAM,WAAW;;
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/CommentsTimeline/CommentLine/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,uJAyBnB,CAAA;AAED,eAAO,MAAM,WAAW;;SAVqB,MACvC,WAAO;yGAaZ,CAAA;AACD,eAAO,MAAM,WAAW;;SAfqB,MACvC,WAAO;yGA6BZ,CAAA;AAED,eAAO,MAAM,WAAW;;SAhCqB,MACvC,WAAO;yGA0CZ,CAAA"}
|
@@ -1,14 +1,21 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.Wrapper = exports.TextWrapper = exports.IconWrapper = exports.DateWrapper = void 0;
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
8
|
+
var _react = require("@emotion/react");
|
9
|
+
var _breakpoints = _interopRequireDefault(require("../../../globals/styles/breakpoints"));
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
2
11
|
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
|
-
import bp from '../../../globals/styles/breakpoints';
|
5
|
-
export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
12
|
+
const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
6
13
|
target: "e1gdadix3"
|
7
14
|
} : {
|
8
15
|
target: "e1gdadix3",
|
9
16
|
label: "Wrapper"
|
10
|
-
})(props => /*#__PURE__*/css("display:grid;grid-template-columns:75px 45px 1fr;grid-column-gap:1em;position:relative;&:after{content:'';position:absolute;width:1px;background-color:", props.theme.border, ";top:5px;bottom:calc(-1em - 5px);left:calc(75px + 1em + (45px / 2));}@media screen and (max-width: ",
|
11
|
-
|
17
|
+
})(props => /*#__PURE__*/(0, _react.css)("display:grid;grid-template-columns:75px 45px 1fr;grid-column-gap:1em;position:relative;&:after{content:'';position:absolute;width:1px;background-color:", props.theme.border, ";top:5px;bottom:calc(-1em - 5px);left:calc(75px + 1em + (45px / 2));}@media screen and (max-width: ", _breakpoints.default.medium, "){grid-template-columns:65px 40px 1fr;grid-column-gap:0.5em;&:after{left:calc(65px + 0.5em + (40px / 2));}}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0NvbW1lbnRzVGltZWxpbmUvQ29tbWVudExpbmUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtxQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Db21tZW50c1RpbWVsaW5lL0NvbW1lbnRMaW5lL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgYnAgZnJvbSAnLi4vLi4vLi4vZ2xvYmFscy9zdHlsZXMvYnJlYWtwb2ludHMnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdihcbiAgKHByb3BzOiBhbnkpID0+IGNzc2BcbiAgICBkaXNwbGF5OiBncmlkO1xuICAgIGdyaWQtdGVtcGxhdGUtY29sdW1u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gwLCAwLCAwLCAwLjEpO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmZmZmO1xuICB6LWluZGV4OiAxO1xuXG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6ICR7YnAubWVkaXVtfSkge1xuICAgIHdpZHRoOiA0MHB4O1xuICAgIGhlaWdodDogNDBweDtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgVGV4dFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBncmlkO1xuICBncmlkLXJvdy1nYXA6IDAuNWVtO1xuICBib3gtc2hhZG93OiAwIDJweCA0cHggMCByZ2JhKDAsIDAsIDAsIDAuMSk7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgcGFkZGluZzogMS41ZW07XG4gIHdvcmQtYnJlYWs6IGJyZWFrLXdvcmQ7XG5cbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogJHticC5tZWRpdW19KSB7XG4gICAgcGFkZGluZzogMWVtO1xuICB9XG5gXG4iXX0= */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0NvbW1lbnRzVGltZWxpbmUvQ29tbWVudExpbmUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUl1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Db21tZW50c1RpbWVsaW5lL0NvbW1lbnRMaW5lL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgYnAgZnJvbSAnLi4vLi4vLi4vZ2x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1jb250ZW50OiBjZW50ZXI7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIHdpZHRoOiA0NXB4O1xuICBoZWlnaHQ6IDQ1cHg7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgYm94LXNoYWRvdzogMCAycHggNHB4IDAgcmdiYSgwLCAwLCAwLCAwLjEpO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmZmZmO1xuICB6LWluZGV4OiAxO1xuXG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6ICR7YnAubWVkaXVtfSkge1xuICAgIHdpZHRoOiA0MHB4O1xuICAgIGhlaWdodDogNDBweDtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3QgVGV4dFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBncmlkO1xuICBncmlkLXJvdy1nYXA6IDAuNWVtO1xuICBib3gtc2hhZG93OiAwIDJweCA0cHggMCByZ2JhKDAsIDAsIDAsIDAuMSk7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgcGFkZGluZzogMS41ZW07XG4gIHdvcmQtYnJlYWs6IGJyZWFrLXdvcmQ7XG5cbiAgQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogJHticC5tZWRpdW19KSB7XG4gICAgcGFkZGluZzogMWVtO1xuICB9XG5gXG4iXX0= */");
|
18
|
+
const DateWrapper = exports.DateWrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
12
19
|
target: "e1gdadix2"
|
13
20
|
} : {
|
14
21
|
target: "e1gdadix2",
|
@@ -18,19 +25,18 @@ export const DateWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV ===
|
|
18
25
|
styles: "display:grid;text-align:right;height:min-content"
|
19
26
|
} : {
|
20
27
|
name: "84ppmq",
|
21
|
-
styles: "display:grid;text-align:right;height:min-content",
|
22
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;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kLWJyZWFrOiBicmVhay13b3JkO1xuXG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6ICR7YnAubWVkaXVtfSkge1xuICAgIHBhZGRpbmc6IDFlbTtcbiAgfVxuYFxuIl19 */",
|
28
|
+
styles: "display:grid;text-align:right;height:min-content/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0NvbW1lbnRzVGltZWxpbmUvQ29tbWVudExpbmUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStCcUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvQ29tbWVudHNUaW1lbGluZS9Db21tZW50TGluZS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBjc3NgXG4gICAgZGlzcGxheTogZ3JpZDtcbiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IDc1cHggNDVweCAxZnI7XG4gICAgZ3JpZC1jb2x1bW4tZ2FwOiAxZW07XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuXG4gICAgJjphZnRlciB7XG4gICAgICBjb250ZW50OiAnJztcbiAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgIHdpZHRoOiAxcHg7XG4gICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3Byb3BzLnRoZW1lLmJvcm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GVkLmRpdmBcbiAgZGlzcGxheTogZ3JpZDtcbiAgZ3JpZC1yb3ctZ2FwOiAwLjVlbTtcbiAgYm94LXNoYWRvdzogMCAycHggNHB4IDAgcmdiYSgwLCAwLCAwLCAwLjEpO1xuICBib3JkZXItcmFkaXVzOiA0cHg7XG4gIHBhZGRpbmc6IDEuNWVtO1xuICB3b3JkLWJyZWFrOiBicmVhay13b3JkO1xuXG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6ICR7YnAubWVkaXVtfSkge1xuICAgIHBhZGRpbmc6IDFlbTtcbiAgfVxuYFxuIl19 */",
|
23
29
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
24
30
|
});
|
25
|
-
|
31
|
+
const IconWrapper = exports.IconWrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
26
32
|
target: "e1gdadix1"
|
27
33
|
} : {
|
28
34
|
target: "e1gdadix1",
|
29
35
|
label: "IconWrapper"
|
30
|
-
})("display:flex;justify-content:center;align-items:center;width:45px;height:45px;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);background-color:#ffffff;z-index:1;@media screen and (max-width: ",
|
31
|
-
|
36
|
+
})("display:flex;justify-content:center;align-items:center;width:45px;height:45px;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);background-color:#ffffff;z-index:1;@media screen and (max-width: ", _breakpoints.default.medium, "){width:40px;height:40px;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0NvbW1lbnRzVGltZWxpbmUvQ29tbWVudExpbmUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9DcUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2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uKVxuXG5leHBvcnQgY29uc3QgRGF0ZVdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBncmlkO1xuICB0ZXh0LWFsaWduOiByaWdodDtcbiAgaGVpZ2h0OiBtaW4tY29udGVudDtcbmBcbmV4cG9ydCBjb25zdCBJY29uV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICB3aWR0aDogNDVweDtcbiAgaGVpZ2h0OiA0NXB4O1xuICBib3JkZXItcmFkaXVzOiA1MCU7XG4gIGJveC1zaGFkb3c6IDAgMnB4IDRweCAwIHJnYmEoMCwgMCwgMCwgMC4xKTtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZmZmZjtcbiAgei1pbmRleDogMTtcblxuICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiAke2JwLm1lZGl1bX0pIHtcbiAgICB3aWR0aDogNDBweDtcbiAgICBoZWlnaHQ6IDQwcHg7XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IFRleHRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZ3JpZDtcbiAgZ3JpZC1yb3ctZ2FwOiAwLjVlbTtcbiAgYm94LXNoYWRvdzogMCAycHggNHB4IDAgcmdiYSgwLCAwLCAwLCAwLjEpO1xuICBib3JkZXItcmFkaXVzOiA0cHg7XG4gIHBhZGRpbmc6IDEuNWVtO1xuICB3b3JkLWJyZWFrOiBicmVhay13b3JkO1xuXG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6ICR7YnAubWVkaXVtfSkge1xuICAgIHBhZGRpbmc6IDFlbTtcbiAgfVxuYFxuIl19 */"));
|
37
|
+
const TextWrapper = exports.TextWrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
32
38
|
target: "e1gdadix0"
|
33
39
|
} : {
|
34
40
|
target: "e1gdadix0",
|
35
41
|
label: "TextWrapper"
|
36
|
-
})("display:grid;grid-row-gap:0.5em;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);border-radius:4px;padding:1.5em;word-break:break-word;@media screen and (max-width: ",
|
42
|
+
})("display:grid;grid-row-gap:0.5em;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);border-radius:4px;padding:1.5em;word-break:break-word;@media screen and (max-width: ", _breakpoints.default.medium, "){padding:1em;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0NvbW1lbnRzVGltZWxpbmUvQ29tbWVudExpbmUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFEcUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvQ29tbWVudHNUaW1lbGluZS9Db21tZW50TGluZS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogYW55KSA9PiBjc3NgXG4gICAgZGlzcGxheTogZ3JpZDtcbiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IDc1cHggNDVweCAxZnI7XG4gICAgZ3JpZC1jb2x1bW4tZ2FwOiAxZW07XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuXG4gICAgJjphZnRlciB7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uZCAobWF4LXdpZHRoOiAke2JwLm1lZGl1bX0pIHtcbiAgICB3aWR0aDogNDBweDtcbiAgICBoZWlnaHQ6IDQwcHg7XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IFRleHRXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZ3JpZDtcbiAgZ3JpZC1yb3ctZ2FwOiAwLjVlbTtcbiAgYm94LXNoYWRvdzogMCAycHggNHB4IDAgcmdiYSgwLCAwLCAwLCAwLjEpO1xuICBib3JkZXItcmFkaXVzOiA0cHg7XG4gIHBhZGRpbmc6IDEuNWVtO1xuICB3b3JkLWJyZWFrOiBicmVhay13b3JkO1xuXG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6ICR7YnAubWVkaXVtfSkge1xuICAgIHBhZGRpbmc6IDFlbTtcbiAgfVxuYFxuIl19 */"));
|
@@ -1,52 +1,59 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = exports.CustomContent = exports.CommentsTimeline = void 0;
|
7
|
+
var _ = _interopRequireDefault(require("."));
|
8
|
+
var _CommentLine = _interopRequireDefault(require("./CommentLine"));
|
9
|
+
var _IconComment = _interopRequireDefault(require("../../icons/General/IconComment"));
|
10
|
+
var _Button = _interopRequireDefault(require("../Button"));
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
6
13
|
const meta = {
|
7
14
|
title: 'Core/CommentsTimeline',
|
8
|
-
component:
|
15
|
+
component: _.default
|
9
16
|
};
|
10
|
-
|
11
|
-
|
17
|
+
var _default = exports.default = meta;
|
18
|
+
const CommentsTimeline = exports.CommentsTimeline = {
|
12
19
|
args: {
|
13
|
-
children: /*#__PURE__*/
|
14
|
-
children: [/*#__PURE__*/
|
20
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_.default, {
|
21
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CommentLine.default, {
|
15
22
|
time: "11:40",
|
16
23
|
date: "20.08.2020",
|
17
|
-
icon: /*#__PURE__*/
|
24
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconComment.default, {
|
18
25
|
primary: true
|
19
26
|
}),
|
20
27
|
header: "Test Person",
|
21
28
|
comment: "This is a comment"
|
22
|
-
}), /*#__PURE__*/
|
29
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CommentLine.default, {
|
23
30
|
time: "11:30",
|
24
31
|
date: "20.08.2020",
|
25
|
-
icon: /*#__PURE__*/
|
32
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconComment.default, {
|
26
33
|
primary: true
|
27
34
|
}),
|
28
35
|
header: "Test Person",
|
29
36
|
comment: "This is a comment"
|
30
|
-
}), /*#__PURE__*/
|
37
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CommentLine.default, {
|
31
38
|
time: "11:10",
|
32
39
|
date: "21.02.2001",
|
33
|
-
icon: /*#__PURE__*/
|
40
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconComment.default, {
|
34
41
|
primary: true
|
35
42
|
}),
|
36
43
|
header: "Test Person",
|
37
44
|
comment: "This is a comment"
|
38
|
-
}), /*#__PURE__*/
|
45
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CommentLine.default, {
|
39
46
|
time: "11:40",
|
40
47
|
date: "22.12.2000",
|
41
|
-
icon: /*#__PURE__*/
|
48
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconComment.default, {
|
42
49
|
primary: true
|
43
50
|
}),
|
44
51
|
header: "Kristian Gr\xF8nvold",
|
45
52
|
comment: "This is a also comment"
|
46
|
-
}), /*#__PURE__*/
|
53
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CommentLine.default, {
|
47
54
|
time: "11:40",
|
48
55
|
date: "22.12.2000",
|
49
|
-
icon: /*#__PURE__*/
|
56
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconComment.default, {
|
50
57
|
primary: true
|
51
58
|
}),
|
52
59
|
header: "Kristian Gr\xF8nvold",
|
@@ -59,20 +66,20 @@ export const CommentsTimeline = {
|
|
59
66
|
},
|
60
67
|
name: 'CommentsTimeline'
|
61
68
|
};
|
62
|
-
|
69
|
+
const CustomContent = exports.CustomContent = {
|
63
70
|
args: {
|
64
|
-
children: /*#__PURE__*/
|
65
|
-
children: /*#__PURE__*/
|
71
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
72
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CommentLine.default, {
|
66
73
|
time: "11:40",
|
67
74
|
date: "20.08.2020",
|
68
|
-
icon: /*#__PURE__*/
|
75
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconComment.default, {
|
69
76
|
primary: true
|
70
77
|
}),
|
71
78
|
header: "Test Person",
|
72
79
|
comment: "This is a comment",
|
73
80
|
commentInfo: "Comment info",
|
74
|
-
customContent: /*#__PURE__*/
|
75
|
-
children: ["This is some custom content where you can add", /*#__PURE__*/
|
81
|
+
customContent: /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
|
82
|
+
children: ["This is some custom content where you can add", /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
|
76
83
|
children: "stuff"
|
77
84
|
})]
|
78
85
|
})
|
@@ -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 _styles = require("./styles");
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
4
11
|
const CommentsTimeline = ({
|
5
12
|
children
|
6
13
|
}) => {
|
7
|
-
return /*#__PURE__*/
|
14
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Wrapper, {
|
8
15
|
"aria-label": "Tidslinje Kommentarer",
|
9
16
|
tabIndex: 0,
|
10
17
|
children: children
|
11
18
|
});
|
12
19
|
};
|
13
|
-
|
20
|
+
var _default = exports.default = CommentsTimeline;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/CommentsTimeline/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/CommentsTimeline/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;SASwW,MAAO,WAAW;yGAD7Y,CAAA"}
|
@@ -1,6 +1,13 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.Wrapper = void 0;
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
2
9
|
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
|
-
|
10
|
+
const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
4
11
|
target: "ew4oa5v0"
|
5
12
|
} : {
|
6
13
|
target: "ew4oa5v0",
|
@@ -10,7 +17,6 @@ export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "pro
|
|
10
17
|
styles: "display:grid;grid-row-gap:1em;&>div:last-of-type::after{display:none;width:5px;}"
|
11
18
|
} : {
|
12
19
|
name: "cutfhu",
|
13
|
-
styles: "display:grid;grid-row-gap:1em;&>div:last-of-type::after{display:none;width:5px;}",
|
14
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0NvbW1lbnRzVGltZWxpbmUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVpQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Db21tZW50c1RpbWVsaW5lL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGdyaWQ7XG4gIGdyaWQtcm93LWdhcDogMWVtO1xuXG4gICYgPiBkaXY6bGFzdC1vZi10eXBlOjphZnRlciB7XG4gICAgZGlzcGxheTogbm9uZTtcbiAgICB3aWR0aDogNXB4O1xuICB9XG5gXG4iXX0= */",
|
20
|
+
styles: "display:grid;grid-row-gap:1em;&>div:last-of-type::after{display:none;width:5px;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0NvbW1lbnRzVGltZWxpbmUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVpQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9Db21tZW50c1RpbWVsaW5lL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGdyaWQ7XG4gIGdyaWQtcm93LWdhcDogMWVtO1xuXG4gICYgPiBkaXY6bGFzdC1vZi10eXBlOjphZnRlciB7XG4gICAgZGlzcGxheTogbm9uZTtcbiAgICB3aWR0aDogNXB4O1xuICB9XG5gXG4iXX0= */",
|
15
21
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
16
22
|
});
|
@@ -1,29 +1,36 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = exports.Plain = exports.LoadingCenter = exports.Loading = exports.Html = void 0;
|
7
|
+
var _ = _interopRequireDefault(require("."));
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
2
9
|
const meta = {
|
3
10
|
title: 'Core/CustomText',
|
4
|
-
component:
|
11
|
+
component: _.default
|
5
12
|
};
|
6
|
-
|
7
|
-
|
13
|
+
var _default = exports.default = meta;
|
14
|
+
const Html = exports.Html = {
|
8
15
|
args: {
|
9
16
|
text: '<ul><li>Html</li><li><strong>Text</strong></li></ul>'
|
10
17
|
},
|
11
18
|
name: 'Html'
|
12
19
|
};
|
13
|
-
|
20
|
+
const Plain = exports.Plain = {
|
14
21
|
args: {
|
15
22
|
text: 'Supports plain text with\r linebreak'
|
16
23
|
},
|
17
24
|
name: 'Plain'
|
18
25
|
};
|
19
|
-
|
26
|
+
const Loading = exports.Loading = {
|
20
27
|
args: {
|
21
28
|
loading: true,
|
22
29
|
lines: 3
|
23
30
|
},
|
24
31
|
name: 'Loading'
|
25
32
|
};
|
26
|
-
|
33
|
+
const LoadingCenter = exports.LoadingCenter = {
|
27
34
|
args: {
|
28
35
|
loading: true,
|
29
36
|
lines: 3,
|
@@ -1,9 +1,17 @@
|
|
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 _Skeleton = _interopRequireDefault(require("../Skeleton"));
|
9
|
+
var _Html = _interopRequireDefault(require("../Html"));
|
10
|
+
var _styles = require("./styles");
|
11
|
+
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
1
13
|
/** @jsxImportSource @emotion/react */
|
2
|
-
|
3
|
-
import Skeleton from '../Skeleton';
|
4
|
-
import Html from '../Html';
|
5
|
-
import { Wrapper, center } from './styles';
|
6
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
14
|
+
|
7
15
|
const CustomText = props => {
|
8
16
|
if (props.error) {
|
9
17
|
return null;
|
@@ -12,17 +20,17 @@ const CustomText = props => {
|
|
12
20
|
const lines = props.lines ? props.lines : 1;
|
13
21
|
const skeletonRows = [];
|
14
22
|
for (var i = 0; i < lines; i++) {
|
15
|
-
skeletonRows.push(
|
23
|
+
skeletonRows.push((0, _jsxRuntime.jsx)(_Skeleton.default, {
|
16
24
|
"aria-hidden": "true"
|
17
25
|
}, i));
|
18
26
|
}
|
19
|
-
return
|
20
|
-
css: () => props.centerloader && center,
|
27
|
+
return (0, _jsxRuntime.jsx)(_styles.Wrapper, {
|
28
|
+
css: () => props.centerloader && _styles.center,
|
21
29
|
"aria-busy": "true",
|
22
30
|
children: skeletonRows
|
23
31
|
});
|
24
32
|
}
|
25
|
-
return
|
33
|
+
return (0, _jsxRuntime.jsx)(_Html.default, {
|
26
34
|
text: props.text,
|
27
35
|
secondary: props.secondary,
|
28
36
|
dark: props.dark,
|
@@ -30,4 +38,4 @@ const CustomText = props => {
|
|
30
38
|
whiteSpace: props.whiteSpace
|
31
39
|
});
|
32
40
|
};
|
33
|
-
|
41
|
+
var _default = exports.default = CustomText;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/CustomText/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/CustomText/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;SASuT,MAAO,WAAW;yGAL5V,CAAA;AAED,eAAO,MAAM,MAAM,2CAElB,CAAA"}
|
@@ -1,7 +1,14 @@
|
|
1
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.center = 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: "ei0607b0"
|
6
13
|
} : {
|
7
14
|
target: "ei0607b0",
|
@@ -11,16 +18,14 @@ export const Wrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "pro
|
|
11
18
|
styles: "display:grid;grid-template-rows:1fr;grid-row-gap:0.3em"
|
12
19
|
} : {
|
13
20
|
name: "1593lot",
|
14
|
-
styles: "display:grid;grid-template-rows:1fr;grid-row-gap:0.3em",
|
15
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLC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JpZC10ZW1wbGF0ZS1yb3dzOiAxZnI7XG4gIGdyaWQtcm93LWdhcDogMC4zZW07XG5gXG5cbmV4cG9ydCBjb25zdCBjZW50ZXIgPSBjc3NgXG4gIGp1c3RpZnktaXRlbXM6IGNlbnRlcjtcbmBcbiJdfQ== */",
|
16
22
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
17
23
|
});
|
18
|
-
|
24
|
+
const center = exports.center = process.env.NODE_ENV === "production" ? {
|
19
25
|
name: "1wg53za",
|
20
26
|
styles: "justify-items:center"
|
21
27
|
} : {
|
22
28
|
name: "2nn238-center",
|
23
|
-
styles: "justify-items:center;label:center;",
|
24
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0N1c3RvbVRleHQvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVN5QiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9DdXN0b21UZXh0L3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZ3JpZDtcbiAgZ3JpZC10ZW1wbGF0ZS1yb3dzOiAxZnI7XG4gIGdyaWQtcm93LWdhcDogMC4zZW07XG5gXG5cbmV4cG9ydCBjb25zdCBjZW50ZXIgPSBjc3NgXG4gIGp1c3RpZnktaXRlbXM6IGNlbnRlcjtcbmBcbiJdfQ== */",
|
29
|
+
styles: "justify-items:center;label:center;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0N1c3RvbVRleHQvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVN5QiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9DdXN0b21UZXh0L3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZ3JpZDtcbiAgZ3JpZC10ZW1wbGF0ZS1yb3dzOiAxZnI7XG4gIGdyaWQtcm93LWdhcDogMC4zZW07XG5gXG5cbmV4cG9ydCBjb25zdCBjZW50ZXIgPSBjc3NgXG4gIGp1c3RpZnktaXRlbXM6IGNlbnRlcjtcbmBcbiJdfQ== */",
|
25
30
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
26
31
|
};
|
@@ -1,11 +1,18 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = exports.WithValue = exports.WithError = exports.NonInput = exports.LimitValues = exports.Disabled = exports.Default = void 0;
|
7
|
+
var _ = _interopRequireDefault(require("."));
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
3
10
|
const meta = {
|
4
11
|
title: 'Core/Datepicker',
|
5
|
-
component:
|
12
|
+
component: _.default
|
6
13
|
};
|
7
|
-
|
8
|
-
|
14
|
+
var _default = exports.default = meta;
|
15
|
+
const Default = exports.Default = {
|
9
16
|
args: {
|
10
17
|
onChange: e => console.log(e),
|
11
18
|
onBlur: () => console.log('blur'),
|
@@ -13,8 +20,8 @@ export const Default = {
|
|
13
20
|
},
|
14
21
|
name: 'Default'
|
15
22
|
};
|
16
|
-
|
17
|
-
render: () => /*#__PURE__*/
|
23
|
+
const WithError = exports.WithError = {
|
24
|
+
render: () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
18
25
|
onChange: e => console.log(e),
|
19
26
|
label: "With error",
|
20
27
|
validation: true,
|
@@ -22,16 +29,16 @@ export const WithError = {
|
|
22
29
|
}),
|
23
30
|
name: 'With error'
|
24
31
|
};
|
25
|
-
|
26
|
-
render: () => /*#__PURE__*/
|
32
|
+
const WithValue = exports.WithValue = {
|
33
|
+
render: () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
27
34
|
onChange: e => console.log('change', e),
|
28
35
|
label: "With value",
|
29
36
|
value: new Date(1995, 7, 20)
|
30
37
|
}),
|
31
38
|
name: 'With value'
|
32
39
|
};
|
33
|
-
|
34
|
-
render: () => /*#__PURE__*/
|
40
|
+
const LimitValues = exports.LimitValues = {
|
41
|
+
render: () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
35
42
|
label: "With min and max date",
|
36
43
|
withYearMonthForm: false,
|
37
44
|
minDate: new Date(2020, 10, 10),
|
@@ -40,8 +47,8 @@ export const LimitValues = {
|
|
40
47
|
}),
|
41
48
|
name: 'Limit values'
|
42
49
|
};
|
43
|
-
|
44
|
-
render: () => /*#__PURE__*/
|
50
|
+
const Disabled = exports.Disabled = {
|
51
|
+
render: () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
45
52
|
label: "Disabled",
|
46
53
|
onChange: e => console.log('change', e),
|
47
54
|
disabled: true,
|
@@ -49,8 +56,8 @@ export const Disabled = {
|
|
49
56
|
}),
|
50
57
|
name: 'Disabled'
|
51
58
|
};
|
52
|
-
|
53
|
-
render: () => /*#__PURE__*/
|
59
|
+
const NonInput = exports.NonInput = {
|
60
|
+
render: () => /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
54
61
|
onChange: e => console.log('change', e),
|
55
62
|
nonInput: true,
|
56
63
|
withYearMonthForm: false
|