@bbl-digital/snorre 4.1.0-beta.2 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +2325 -941
- package/esm/app-shell/index.js +1 -2
- package/esm/core/Alert/index.js +1 -2
- package/esm/core/AppLoader/index.js +1 -2
- package/esm/core/Autocomplete/Autocomplete.stories.js +1 -2
- package/esm/core/Autocomplete/index.js +1 -3
- package/esm/core/Banner/index.js +1 -2
- package/esm/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +88 -0
- package/esm/core/BarAndLineComposedChart/index.js +19 -9
- package/esm/core/BarChartWithCustomizedEvent/index.js +1 -2
- package/esm/core/Box/index.js +1 -2
- package/esm/core/BoxedTable/BoxedTable.stories.js +304 -409
- package/esm/core/BoxedTable/DraggableRow/index.js +14 -17
- package/esm/core/BoxedTable/DraggableRow/styles.js +14 -20
- package/esm/core/BoxedTable/HeaderCell/styles.js +3 -3
- package/esm/core/BoxedTable/RowCell/index.js +4 -14
- package/esm/core/BoxedTable/RowCell/styles.js +23 -7
- package/esm/core/BoxedTable/TableHeader/index.js +3 -5
- package/esm/core/BoxedTable/TableHeader/styles.js +3 -18
- package/esm/core/BoxedTable/TableRow/index.js +9 -7
- package/esm/core/BoxedTable/TableRow/styles.js +24 -30
- package/esm/core/BoxedTable/index.js +7 -19
- package/esm/core/BoxedTable/styles.js +19 -25
- package/esm/core/Calendar/CalendarEvent/index.js +3 -3
- package/esm/core/Calendar/CalendarSmallEvent/index.js +1 -2
- package/esm/core/Calendar/index.js +5 -4
- package/esm/core/Card/Card.stories.js +1 -2
- package/esm/core/Checkbox/index.js +1 -2
- package/esm/core/CollapseList/CollapseList.stories.js +1 -2
- package/esm/core/CollapseList/Item.js +1 -3
- package/esm/core/CommentsTimeline/CommentLine/index.js +1 -2
- package/esm/core/CommentsTimeline/CommentsTimeline.stories.js +1 -2
- package/esm/core/Datepicker/index.js +16 -7
- package/esm/core/Datepicker/styles.js +13 -13
- package/esm/core/DatepickerRange/index.js +2 -2
- package/esm/core/Dropdown/index.js +1 -2
- package/esm/core/DropdownMenu/DropdownMenu.stories.js +1 -3
- package/esm/core/DropdownMenu/index.js +1 -2
- package/esm/core/Editor/Editor.stories.js +1 -0
- package/esm/core/Editor/index.js +5 -3
- package/esm/core/EditorQuillReact/EditorQuillReact.stories.js +59 -0
- package/esm/core/EditorQuillReact/IndentAttributor.js +15 -0
- package/esm/core/EditorQuillReact/config.js +31 -0
- package/esm/core/EditorQuillReact/index.js +103 -0
- package/esm/core/EditorQuillReact/styles.js +34 -0
- package/esm/core/FileInput/index.js +1 -2
- package/esm/core/GoogleButton/index.js +2 -2
- package/esm/core/Html/Html.stories.js +2 -3
- package/esm/core/Html/index.js +3 -1
- package/esm/core/Html/styles.js +6 -9
- package/esm/core/ImagePicker/UploadButton.js +1 -2
- package/esm/core/ImagePicker/index.js +1 -2
- package/esm/core/ImageViewer/index.js +1 -2
- package/esm/core/InfoButton/index.js +1 -2
- package/esm/core/Input/Input.stories.js +20 -1
- package/esm/core/Input/index.js +45 -27
- package/esm/core/Input/styles.js +20 -18
- package/esm/core/Link/index.js +1 -2
- package/esm/core/List/Item.js +5 -5
- package/esm/core/List/List.stories.js +1 -3
- package/esm/core/List/index.js +1 -1
- package/esm/core/ListPager/index.js +3 -22
- package/esm/core/MediaCarousel/index.js +7 -4
- package/esm/core/Modal/Modal.stories.js +1 -2
- package/esm/core/Modal/index.js +8 -3
- package/esm/core/Modal/styles.js +8 -8
- package/esm/core/NoticeCard/NoticeCard.stories.js +1 -4
- package/esm/core/NoticeCard/index.js +1 -5
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +1 -2
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +4 -16
- package/esm/core/NotificationCounter/styles.js +1 -1
- package/esm/core/NotificationsMenu/NotificationRow/index.js +2 -2
- package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +4 -4
- package/esm/core/NotificationsMenu/index.js +34 -17
- package/esm/core/NotificationsMenu/styles.js +3 -3
- package/esm/core/PieChart/ActiveShape/index.js +1 -2
- package/esm/core/PieChart/index.js +9 -4
- package/esm/core/PieChart/renderTextContent/index.js +3 -2
- package/esm/core/PreemptionCard/PreemptionCard.stories.js +12 -9
- package/esm/core/PreemptionCard/index.js +3 -4
- package/esm/core/PreemptionCardLoading/index.js +1 -2
- package/esm/core/QuillEditor/Attributors/IndentAttributor.js +15 -0
- package/esm/core/QuillEditor/Attributors/ListContainer.js +20 -0
- package/esm/core/QuillEditor/Attributors/ListItem.js +24 -0
- package/esm/core/QuillEditor/QuillEditor.stories.js +56 -0
- package/esm/core/QuillEditor/classes/IndentAttributor.js +15 -0
- package/esm/core/QuillEditor/classes/LinkSanitizer.js +21 -0
- package/esm/core/QuillEditor/classes/ListContainer.js +20 -0
- package/esm/core/QuillEditor/classes/ListItem.js +24 -0
- package/esm/core/QuillEditor/config.js +28 -0
- package/esm/core/QuillEditor/index.js +278 -0
- package/esm/core/QuillEditor/styles.js +34 -0
- package/esm/core/Radio/Radio.stories.js +1 -2
- package/esm/core/Radio/index.js +1 -2
- package/esm/core/SearchFilter/SearchFilter.stories.js +1 -2
- package/esm/core/SearchFilter/index.js +4 -4
- package/esm/core/SearchSelect/index.js +1 -3
- package/esm/core/Select/Select.stories.js +1 -2
- package/esm/core/Select/index.js +1 -2
- package/esm/core/SimpleBarChart/index.js +1 -2
- package/esm/core/SimpleLineChart/index.js +1 -2
- package/esm/core/Stepper/MobileStep/index.js +33 -0
- package/esm/core/Stepper/MobileStep/styles.js +90 -0
- package/esm/core/Stepper/Step/index.js +83 -0
- package/esm/core/Stepper/Step/styles.js +49 -0
- package/esm/core/Stepper/Stepper.stories.js +29 -0
- package/esm/core/Stepper/index.js +47 -0
- package/esm/core/Stepper/styles.js +24 -0
- package/esm/core/TabBar/TabBar.stories.js +1 -2
- package/esm/core/TabBar/TabItem/index.js +2 -2
- package/esm/core/TabNav/TabNav.stories.js +1 -2
- package/esm/core/TabNav/TabNavItem/index.js +1 -2
- package/esm/core/TabNav/index.js +1 -2
- package/esm/core/Table/Table.stories.js +1 -2
- package/esm/core/Tag/index.js +1 -3
- package/esm/core/Textarea/index.js +6 -5
- package/esm/core/Timeline/Timeline.stories.js +1 -2
- package/esm/core/Timeline/TimelineStep/index.js +1 -2
- package/esm/core/Timepicker/index.js +1 -2
- package/esm/core/Tooltip/index.js +1 -2
- package/esm/core/UserMenu/UserMenu.stories.js +1 -2
- package/esm/core/UserMenu/index.js +1 -2
- package/esm/core/YearWheel/index.js +1 -2
- package/esm/core/private/ButtonOrLink.js +1 -2
- package/esm/core/private/preemption.js +5 -1
- package/esm/globals/validation/regularExpressions.js +1 -1
- package/esm/icons/General/IconAuditorFilled.js +1 -2
- package/esm/icons/General/IconAuditorOutline.js +1 -2
- package/esm/icons/General/IconCamera.js +1 -2
- package/esm/icons/General/IconCases.js +1 -2
- package/esm/icons/General/IconDocument.js +1 -2
- package/esm/icons/General/IconDocumentFilled.js +1 -2
- package/esm/icons/General/IconEmailMarkAsRead.js +12 -0
- package/esm/icons/General/IconFillOut.js +1 -2
- package/esm/icons/General/IconHomeFilled.js +1 -2
- package/esm/icons/General/IconHomeOutline.js +1 -2
- package/esm/icons/General/IconHouseBlockFilled.js +1 -2
- package/esm/icons/General/IconHouseBlockOutline.js +1 -2
- package/esm/icons/General/IconImage.js +1 -2
- package/esm/icons/General/IconJanitorFilled.js +1 -2
- package/esm/icons/General/IconJanitorOutline.js +1 -2
- package/esm/icons/General/IconLeafFilled.js +1 -2
- package/esm/icons/General/IconLeafOutline.js +1 -2
- package/esm/icons/General/IconRearrange.js +1 -2
- package/esm/icons/Icon.stories.js +4 -2
- package/esm/icons/Logos/IconBankAxept.js +1 -2
- package/esm/icons/Logos/IconGmail.js +1 -2
- package/esm/icons/Logos/IconMasterCard.js +1 -2
- package/esm/icons/Logos/IconOffice365.js +1 -2
- package/esm/icons/Logos/IconVisa.js +1 -2
- package/esm/illustrations/Backgrounds/IllustrationHousesBackground.js +1 -2
- package/esm/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1 -2
- package/esm/illustrations/General/IllustrationBudget.js +185 -0
- package/esm/illustrations/General/IllustrationError.js +1 -2
- package/esm/illustrations/General/IllustrationErrorGeneric.js +1 -2
- package/esm/illustrations/General/IllustrationHighHouse.js +1 -2
- package/esm/illustrations/General/IllustrationHighHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationHouse.js +1 -2
- package/esm/illustrations/General/IllustrationHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationHouseMissing.js +1 -2
- package/esm/illustrations/General/IllustrationLowHouse.js +1 -2
- package/esm/illustrations/General/IllustrationLowHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationPaperCompleted.js +1 -2
- package/esm/illustrations/General/IllustrationPaperMissing.js +1 -2
- package/esm/illustrations/General/IllustrationSemiDetachedHouse.js +1 -2
- package/esm/illustrations/General/IllustrationSemiDetachedHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationServiceMessage.js +40 -0
- package/esm/illustrations/General/IllustrationSmallHouse.js +1 -2
- package/esm/illustrations/General/IllustrationSmallHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationTechninalDifficulties.js +119 -0
- package/esm/illustrations/General/IllustrationTerraceBlock.js +1 -2
- package/esm/illustrations/General/IllustrationTerraceBlockComposition.js +1 -2
- package/esm/illustrations/General/IllustrationTownHouse.js +1 -2
- package/esm/illustrations/General/IllustrationTownHouseComposition.js +1 -2
- package/esm/illustrations/Illustration.stories.js +18 -3
- package/esm/illustrations/MySite/IllustrationMySiteAssociation.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteBenefits.js +180 -0
- package/esm/illustrations/MySite/IllustrationMySiteBuilding.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteCoffeeBook.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteComputer.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteCooperative.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteDashboard.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteGift.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteLetterSent.js +77 -0
- package/esm/illustrations/MySite/IllustrationMySiteMailbox.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySitePapers.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySitePiggyBank.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteTransfer.js +1 -2
- package/esm/index.js +9 -2
- package/esm/layout/Footer/Footer.stories.js +1 -2
- package/esm/layout/LayoutShell/index.js +1 -2
- package/esm/layout/Menu/AppPicker/index.js +3 -4
- package/esm/layout/Menu/AppPicker/styles.js +7 -7
- package/esm/layout/Menu/MainMenu/index.js +10 -6
- package/esm/layout/Menu/MainMenu/styles.js +8 -2
- package/esm/layout/Menu/MenuItem/index.js +23 -19
- package/esm/layout/Menu/MenuItem/styles.js +17 -2
- package/esm/layout/Menu/MenuTop/index.js +1 -2
- package/esm/layout/Menu/MenuTop/styles.js +3 -3
- package/esm/layout/Menu/SecondaryMenu/index.js +1 -2
- package/esm/layout/Menu/SecondaryMenuItem/index.js +1 -2
- package/esm/layout/Menu/Sidemenu.stories.js +10 -7
- package/esm/layout/Submenu/Submenu.stories.js +1 -2
- package/esm/layout/Submenu/SubmenuItem/index.js +23 -19
- package/esm/layout/Submenu/SubmenuLightThemeBg/index.js +1 -2
- package/esm/layout/Submenu/index.js +13 -10
- package/esm/layout/Submenu/styles.js +26 -12
- package/esm/shared/recharts/CustomLegend/index.js +1 -2
- package/esm/shared/recharts/CustomTooltip/index.js +1 -2
- package/esm/utils/dates.js +5 -0
- package/esm/utils/format.js +4 -8
- package/jest.config.js +5 -0
- package/lib/app-shell/index.js +1 -2
- package/lib/app-shell/theme.d.ts +1 -1
- package/lib/app-shell/theme.d.ts.map +1 -1
- package/lib/core/Alert/Alert.stories.d.ts +1 -1
- package/lib/core/Alert/Alert.stories.d.ts.map +1 -1
- package/lib/core/Alert/index.js +1 -2
- package/lib/core/Alert/styles.d.ts +6 -6
- package/lib/core/AppLoader/AppLoader.stories.d.ts +1 -1
- package/lib/core/AppLoader/AppLoader.stories.d.ts.map +1 -1
- package/lib/core/AppLoader/index.js +1 -2
- package/lib/core/AppLoader/styles.d.ts +1 -1
- package/lib/core/Autocomplete/Autocomplete.stories.d.ts +0 -1
- package/lib/core/Autocomplete/Autocomplete.stories.d.ts.map +1 -1
- package/lib/core/Autocomplete/Autocomplete.stories.js +1 -2
- package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts +0 -1
- package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts.map +1 -1
- package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts +0 -1
- package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts.map +1 -1
- package/lib/core/Autocomplete/index.d.ts +1 -1
- package/lib/core/Autocomplete/index.d.ts.map +1 -1
- package/lib/core/Autocomplete/index.js +1 -3
- package/lib/core/Autocomplete/styles.d.ts +48 -49
- package/lib/core/Autocomplete/styles.d.ts.map +1 -1
- package/lib/core/Banner/Banner.stories.d.ts +1 -1
- package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
- package/lib/core/Banner/index.js +1 -2
- package/lib/core/Banner/styles.d.ts +8 -9
- package/lib/core/Banner/styles.d.ts.map +1 -1
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +6 -2
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts.map +1 -1
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +88 -0
- package/lib/core/BarAndLineComposedChart/index.d.ts +10 -1
- package/lib/core/BarAndLineComposedChart/index.d.ts.map +1 -1
- package/lib/core/BarAndLineComposedChart/index.js +19 -9
- package/lib/core/BarAndLineComposedChart/styles.d.ts +2 -3
- package/lib/core/BarAndLineComposedChart/styles.d.ts.map +1 -1
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +2 -2
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts.map +1 -1
- package/lib/core/BarChartWithCustomizedEvent/index.js +1 -2
- package/lib/core/BarChartWithCustomizedEvent/styles.d.ts +2 -3
- package/lib/core/BarChartWithCustomizedEvent/styles.d.ts.map +1 -1
- package/lib/core/Box/Box.stories.d.ts +1 -1
- package/lib/core/Box/Box.stories.d.ts.map +1 -1
- package/lib/core/Box/index.d.ts +1 -1
- package/lib/core/Box/index.d.ts.map +1 -1
- package/lib/core/Box/index.js +1 -2
- package/lib/core/Box/styles.d.ts +39 -40
- package/lib/core/Box/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts +35 -14
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts.map +1 -1
- package/lib/core/BoxedTable/BoxedTable.stories.js +304 -409
- package/lib/core/BoxedTable/DraggableRow/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/DraggableRow/index.js +14 -17
- package/lib/core/BoxedTable/DraggableRow/styles.d.ts +11 -16
- package/lib/core/BoxedTable/DraggableRow/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/DraggableRow/styles.js +14 -20
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts +2 -8
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/HeaderCell/styles.js +3 -3
- package/lib/core/BoxedTable/RowCell/index.d.ts +0 -2
- package/lib/core/BoxedTable/RowCell/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/RowCell/index.js +4 -14
- package/lib/core/BoxedTable/RowCell/styles.d.ts +9 -7
- package/lib/core/BoxedTable/RowCell/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/RowCell/styles.js +23 -7
- package/lib/core/BoxedTable/TableHeader/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableHeader/index.js +3 -5
- package/lib/core/BoxedTable/TableHeader/styles.d.ts +3 -8
- package/lib/core/BoxedTable/TableHeader/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableHeader/styles.js +3 -18
- package/lib/core/BoxedTable/TableRow/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableRow/index.js +9 -7
- package/lib/core/BoxedTable/TableRow/styles.d.ts +17 -22
- package/lib/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableRow/styles.js +24 -30
- package/lib/core/BoxedTable/index.d.ts +0 -6
- package/lib/core/BoxedTable/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/index.js +7 -19
- package/lib/core/BoxedTable/styles.d.ts +4 -12
- package/lib/core/BoxedTable/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/styles.js +19 -25
- package/lib/core/Button/Button.stories.d.ts +1 -1
- package/lib/core/Button/Button.stories.d.ts.map +1 -1
- package/lib/core/Button/index.d.ts +31 -31
- package/lib/core/Button/index.d.ts.map +1 -1
- package/lib/core/Button/styles.d.ts +18 -19
- package/lib/core/Button/styles.d.ts.map +1 -1
- package/lib/core/Calendar/Calendar.stories.d.ts +2 -2
- package/lib/core/Calendar/Calendar.stories.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/index.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/index.js +3 -3
- package/lib/core/Calendar/CalendarEvent/styles.d.ts +8 -9
- package/lib/core/Calendar/CalendarEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarSmallEvent/index.js +1 -2
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +8 -9
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/index.d.ts.map +1 -1
- package/lib/core/Calendar/index.js +5 -4
- package/lib/core/Calendar/styles.d.ts +9 -10
- package/lib/core/Calendar/styles.d.ts.map +1 -1
- package/lib/core/Card/Card.stories.d.ts +1 -2
- package/lib/core/Card/Card.stories.d.ts.map +1 -1
- package/lib/core/Card/Card.stories.js +1 -2
- package/lib/core/Card/index.d.ts +12 -12
- package/lib/core/Card/index.d.ts.map +1 -1
- package/lib/core/Card/styles.d.ts +11 -11
- package/lib/core/Checkbox/Checkbox.stories.d.ts +1 -1
- package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/lib/core/Checkbox/index.js +1 -2
- package/lib/core/Checkbox/styles.d.ts +5 -5
- package/lib/core/Checkbox/styles.d.ts.map +1 -1
- package/lib/core/CollapseList/CollapseList.stories.d.ts +1 -1
- package/lib/core/CollapseList/CollapseList.stories.d.ts.map +1 -1
- package/lib/core/CollapseList/CollapseList.stories.js +1 -2
- package/lib/core/CollapseList/Item.js +1 -3
- package/lib/core/CollapseList/styles.d.ts +32 -33
- package/lib/core/CollapseList/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentLine/index.js +1 -2
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts +6 -7
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +1 -1
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +1 -2
- package/lib/core/CommentsTimeline/styles.d.ts +2 -3
- package/lib/core/CommentsTimeline/styles.d.ts.map +1 -1
- package/lib/core/CustomText/CustomText.stories.d.ts +1 -1
- package/lib/core/CustomText/CustomText.stories.d.ts.map +1 -1
- package/lib/core/CustomText/styles.d.ts +3 -4
- package/lib/core/CustomText/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/Datepicker.stories.d.ts +1 -2
- package/lib/core/Datepicker/Datepicker.stories.d.ts.map +1 -1
- package/lib/core/Datepicker/index.d.ts +4 -4
- package/lib/core/Datepicker/index.d.ts.map +1 -1
- package/lib/core/Datepicker/index.js +16 -7
- package/lib/core/Datepicker/styles.d.ts +14 -15
- package/lib/core/Datepicker/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/styles.js +13 -13
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +1 -1
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts.map +1 -1
- package/lib/core/DatepickerRange/index.d.ts +0 -1
- package/lib/core/DatepickerRange/index.d.ts.map +1 -1
- package/lib/core/DatepickerRange/index.js +2 -2
- package/lib/core/DatepickerRange/styles.d.ts +14 -15
- package/lib/core/DatepickerRange/styles.d.ts.map +1 -1
- package/lib/core/Divider/styles.d.ts +5 -5
- package/lib/core/Dropdown/Dropdown.stories.d.ts +1 -1
- package/lib/core/Dropdown/Dropdown.stories.d.ts.map +1 -1
- package/lib/core/Dropdown/index.js +1 -2
- package/lib/core/Dropdown/styles.d.ts +3 -3
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
- package/lib/core/DropdownMenu/DropdownMenu.stories.js +1 -3
- package/lib/core/DropdownMenu/index.js +1 -2
- package/lib/core/DropdownMenu/styles.d.ts +5 -6
- package/lib/core/DropdownMenu/styles.d.ts.map +1 -1
- package/lib/core/Editor/Editor.stories.d.ts +1 -1
- package/lib/core/Editor/Editor.stories.d.ts.map +1 -1
- package/lib/core/Editor/Editor.stories.js +1 -0
- package/lib/core/Editor/index.d.ts +3 -0
- package/lib/core/Editor/index.d.ts.map +1 -1
- package/lib/core/Editor/index.js +5 -3
- package/lib/core/Editor/styles.d.ts +6 -7
- package/lib/core/Editor/styles.d.ts.map +1 -1
- package/lib/core/EditorQuillReact/EditorQuillReact.stories.d.ts +8 -0
- package/lib/core/EditorQuillReact/EditorQuillReact.stories.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/EditorQuillReact.stories.js +59 -0
- package/lib/core/EditorQuillReact/IndentAttributor.d.ts +7 -0
- package/lib/core/EditorQuillReact/IndentAttributor.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/IndentAttributor.js +15 -0
- package/lib/core/EditorQuillReact/config.d.ts +30 -0
- package/lib/core/EditorQuillReact/config.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/config.js +31 -0
- package/lib/core/EditorQuillReact/index.d.ts +23 -0
- package/lib/core/EditorQuillReact/index.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/index.js +103 -0
- package/lib/core/EditorQuillReact/styles.d.ts +13 -0
- package/lib/core/EditorQuillReact/styles.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/styles.js +34 -0
- package/lib/core/FileInput/FileInput.stories.d.ts +1 -1
- package/lib/core/FileInput/FileInput.stories.d.ts.map +1 -1
- package/lib/core/FileInput/index.js +1 -2
- package/lib/core/FileInput/styles.d.ts +55 -56
- package/lib/core/FileInput/styles.d.ts.map +1 -1
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts +1 -1
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts.map +1 -1
- package/lib/core/GoogleButton/index.d.ts +1 -1
- package/lib/core/GoogleButton/index.d.ts.map +1 -1
- package/lib/core/GoogleButton/index.js +2 -2
- package/lib/core/GoogleButton/styles.d.ts +2 -3
- package/lib/core/GoogleButton/styles.d.ts.map +1 -1
- package/lib/core/Header/Header.stories.d.ts +1 -1
- package/lib/core/Header/Header.stories.d.ts.map +1 -1
- package/lib/core/Header/styles.d.ts +7 -7
- package/lib/core/HighlightText/HighlightText.stories.d.ts +1 -1
- package/lib/core/HighlightText/HighlightText.stories.d.ts.map +1 -1
- package/lib/core/HighlightText/styles.d.ts +2 -3
- package/lib/core/HighlightText/styles.d.ts.map +1 -1
- package/lib/core/Html/Html.stories.d.ts +1 -1
- package/lib/core/Html/Html.stories.d.ts.map +1 -1
- package/lib/core/Html/Html.stories.js +2 -3
- package/lib/core/Html/index.d.ts +1 -0
- package/lib/core/Html/index.d.ts.map +1 -1
- package/lib/core/Html/index.js +3 -1
- package/lib/core/Html/styles.d.ts +6 -6
- package/lib/core/Html/styles.d.ts.map +1 -1
- package/lib/core/Html/styles.js +6 -9
- package/lib/core/Image/Image.stories.d.ts +1 -1
- package/lib/core/Image/Image.stories.d.ts.map +1 -1
- package/lib/core/Image/styles.d.ts +6 -6
- package/lib/core/ImagePicker/IconWithBackground.d.ts +1 -1
- package/lib/core/ImagePicker/IconWithBackground.d.ts.map +1 -1
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts +1 -1
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts.map +1 -1
- package/lib/core/ImagePicker/UploadButton.d.ts +1 -1
- package/lib/core/ImagePicker/UploadButton.d.ts.map +1 -1
- package/lib/core/ImagePicker/UploadButton.js +1 -2
- package/lib/core/ImagePicker/index.d.ts +1 -1
- package/lib/core/ImagePicker/index.d.ts.map +1 -1
- package/lib/core/ImagePicker/index.js +1 -2
- package/lib/core/ImagePicker/styles.d.ts +11 -11
- package/lib/core/ImageViewer/ImageViewer.stories.d.ts +1 -1
- package/lib/core/ImageViewer/ImageViewer.stories.d.ts.map +1 -1
- package/lib/core/ImageViewer/index.d.ts +1 -1
- package/lib/core/ImageViewer/index.d.ts.map +1 -1
- package/lib/core/ImageViewer/index.js +1 -2
- package/lib/core/ImageViewer/styles.d.ts +6 -6
- package/lib/core/InfoButton/InfoButton.stories.d.ts +1 -1
- package/lib/core/InfoButton/InfoButton.stories.d.ts.map +1 -1
- package/lib/core/InfoButton/index.js +1 -2
- package/lib/core/InfoButton/styles.d.ts +41 -42
- package/lib/core/InfoButton/styles.d.ts.map +1 -1
- package/lib/core/Input/Input.stories.d.ts +3 -1
- package/lib/core/Input/Input.stories.d.ts.map +1 -1
- package/lib/core/Input/Input.stories.js +20 -1
- package/lib/core/Input/index.d.ts +8 -2
- package/lib/core/Input/index.d.ts.map +1 -1
- package/lib/core/Input/index.js +45 -27
- package/lib/core/Input/styles.d.ts +19 -17
- package/lib/core/Input/styles.d.ts.map +1 -1
- package/lib/core/Input/styles.js +20 -18
- package/lib/core/Link/Link.stories.d.ts +1 -1
- package/lib/core/Link/Link.stories.d.ts.map +1 -1
- package/lib/core/Link/index.d.ts +1 -1
- package/lib/core/Link/index.d.ts.map +1 -1
- package/lib/core/Link/index.js +1 -2
- package/lib/core/Link/styles.d.ts +11 -12
- package/lib/core/Link/styles.d.ts.map +1 -1
- package/lib/core/List/Item.d.ts +1 -1
- package/lib/core/List/Item.d.ts.map +1 -1
- package/lib/core/List/Item.js +5 -5
- package/lib/core/List/List.stories.d.ts +1 -1
- package/lib/core/List/List.stories.d.ts.map +1 -1
- package/lib/core/List/List.stories.js +1 -3
- package/lib/core/List/index.d.ts +1 -1
- package/lib/core/List/index.d.ts.map +1 -1
- package/lib/core/List/index.js +1 -1
- package/lib/core/List/styles.d.ts +11 -11
- package/lib/core/ListPager/ListPager.stories.d.ts +1 -1
- package/lib/core/ListPager/ListPager.stories.d.ts.map +1 -1
- package/lib/core/ListPager/index.d.ts +0 -2
- package/lib/core/ListPager/index.d.ts.map +1 -1
- package/lib/core/ListPager/index.js +3 -22
- package/lib/core/ListPager/styles.d.ts +5 -6
- package/lib/core/ListPager/styles.d.ts.map +1 -1
- package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts +1 -1
- package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts.map +1 -1
- package/lib/core/MediaCarousel/index.d.ts +5 -3
- package/lib/core/MediaCarousel/index.d.ts.map +1 -1
- package/lib/core/MediaCarousel/index.js +7 -4
- package/lib/core/MediaCarousel/styles.d.ts +11 -12
- package/lib/core/MediaCarousel/styles.d.ts.map +1 -1
- package/lib/core/Modal/ActionButtons/index.d.ts +1 -1
- package/lib/core/Modal/ActionButtons/index.d.ts.map +1 -1
- package/lib/core/Modal/Modal.stories.d.ts +1 -1
- package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
- package/lib/core/Modal/Modal.stories.js +1 -2
- package/lib/core/Modal/index.d.ts +5 -3
- package/lib/core/Modal/index.d.ts.map +1 -1
- package/lib/core/Modal/index.js +8 -3
- package/lib/core/Modal/styles.d.ts +14 -15
- package/lib/core/Modal/styles.d.ts.map +1 -1
- package/lib/core/Modal/styles.js +8 -8
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts +2 -2
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts.map +1 -1
- package/lib/core/NoticeCard/NoticeCard.stories.js +1 -4
- package/lib/core/NoticeCard/index.d.ts.map +1 -1
- package/lib/core/NoticeCard/index.js +1 -5
- package/lib/core/NoticeCard/models.d.ts +0 -2
- package/lib/core/NoticeCard/models.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +1 -2
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts +6 -7
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts +2 -3
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts +0 -2
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +4 -16
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts +6 -7
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/styles.d.ts +8 -9
- package/lib/core/NoticeCard/styles.d.ts.map +1 -1
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +2 -2
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts.map +1 -1
- package/lib/core/NotificationCounter/styles.d.ts +1 -1
- package/lib/core/NotificationCounter/styles.d.ts.map +1 -1
- package/lib/core/NotificationCounter/styles.js +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.d.ts +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.js +2 -2
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts +36 -37
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +4 -4
- package/lib/core/NotificationsMenu/index.d.ts +4 -2
- package/lib/core/NotificationsMenu/index.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/index.js +34 -17
- package/lib/core/NotificationsMenu/styles.d.ts +7 -8
- package/lib/core/NotificationsMenu/styles.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/styles.js +3 -3
- package/lib/core/PieChart/ActiveShape/index.js +1 -2
- package/lib/core/PieChart/PieChart.stories.d.ts +2 -2
- package/lib/core/PieChart/PieChart.stories.d.ts.map +1 -1
- package/lib/core/PieChart/index.d.ts +2 -0
- package/lib/core/PieChart/index.d.ts.map +1 -1
- package/lib/core/PieChart/index.js +9 -4
- package/lib/core/PieChart/renderTextContent/index.d.ts +1 -1
- package/lib/core/PieChart/renderTextContent/index.d.ts.map +1 -1
- package/lib/core/PieChart/renderTextContent/index.js +3 -2
- package/lib/core/PieChart/styles.d.ts +4 -5
- package/lib/core/PieChart/styles.d.ts.map +1 -1
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +6 -7
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCard/PreemptionCard.stories.js +12 -9
- package/lib/core/PreemptionCard/index.d.ts.map +1 -1
- package/lib/core/PreemptionCard/index.js +3 -4
- package/lib/core/PreemptionCard/styles.d.ts +4 -5
- package/lib/core/PreemptionCard/styles.d.ts.map +1 -1
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +2 -2
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCardLoading/index.js +1 -2
- package/lib/core/PreemptionCardLoading/styles.d.ts +6 -7
- package/lib/core/PreemptionCardLoading/styles.d.ts.map +1 -1
- package/lib/core/QuillEditor/Attributors/IndentAttributor.d.ts +7 -0
- package/lib/core/QuillEditor/Attributors/IndentAttributor.d.ts.map +1 -0
- package/lib/core/QuillEditor/Attributors/IndentAttributor.js +15 -0
- package/lib/core/QuillEditor/Attributors/ListContainer.d.ts +10 -0
- package/lib/core/QuillEditor/Attributors/ListContainer.d.ts.map +1 -0
- package/lib/core/QuillEditor/Attributors/ListContainer.js +20 -0
- package/lib/core/QuillEditor/Attributors/ListItem.d.ts +10 -0
- package/lib/core/QuillEditor/Attributors/ListItem.d.ts.map +1 -0
- package/lib/core/QuillEditor/Attributors/ListItem.js +24 -0
- package/lib/core/QuillEditor/QuillEditor.stories.d.ts +28 -0
- package/lib/core/QuillEditor/QuillEditor.stories.d.ts.map +1 -0
- package/lib/core/QuillEditor/QuillEditor.stories.js +56 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.d.ts +7 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.js +15 -0
- package/lib/core/QuillEditor/classes/LinkSanitizer.d.ts +6 -0
- package/lib/core/QuillEditor/classes/LinkSanitizer.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/LinkSanitizer.js +21 -0
- package/lib/core/QuillEditor/classes/ListContainer.d.ts +10 -0
- package/lib/core/QuillEditor/classes/ListContainer.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/ListContainer.js +20 -0
- package/lib/core/QuillEditor/classes/ListItem.d.ts +10 -0
- package/lib/core/QuillEditor/classes/ListItem.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/ListItem.js +24 -0
- package/lib/core/QuillEditor/config.d.ts +19 -0
- package/lib/core/QuillEditor/config.d.ts.map +1 -0
- package/lib/core/QuillEditor/config.js +28 -0
- package/lib/core/QuillEditor/index.d.ts +5 -0
- package/lib/core/QuillEditor/index.d.ts.map +1 -0
- package/lib/core/QuillEditor/index.js +278 -0
- package/lib/core/QuillEditor/models.d.ts +78 -0
- package/lib/core/QuillEditor/models.d.ts.map +1 -0
- package/lib/core/QuillEditor/styles.d.ts +13 -0
- package/lib/core/QuillEditor/styles.d.ts.map +1 -0
- package/lib/core/QuillEditor/styles.js +34 -0
- package/lib/core/Radio/Radio.stories.d.ts +2 -2
- package/lib/core/Radio/Radio.stories.d.ts.map +1 -1
- package/lib/core/Radio/Radio.stories.js +1 -2
- package/lib/core/Radio/index.d.ts +1 -1
- package/lib/core/Radio/index.d.ts.map +1 -1
- package/lib/core/Radio/index.js +1 -2
- package/lib/core/Radio/styles.d.ts +4 -4
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts +2 -2
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts.map +1 -1
- package/lib/core/SearchFilter/SearchFilter.stories.js +1 -2
- package/lib/core/SearchFilter/index.d.ts.map +1 -1
- package/lib/core/SearchFilter/index.js +4 -4
- package/lib/core/SearchFilter/styles.d.ts +14 -15
- package/lib/core/SearchFilter/styles.d.ts.map +1 -1
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts +2 -2
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts.map +1 -1
- package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts +0 -1
- package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts.map +1 -1
- package/lib/core/SearchSelect/index.js +1 -3
- package/lib/core/SearchSelect/styles.d.ts +9 -10
- package/lib/core/SearchSelect/styles.d.ts.map +1 -1
- package/lib/core/Select/Select.stories.d.ts +2 -2
- package/lib/core/Select/Select.stories.d.ts.map +1 -1
- package/lib/core/Select/Select.stories.js +1 -2
- package/lib/core/Select/index.js +1 -2
- package/lib/core/Select/styles.d.ts +19 -20
- package/lib/core/Select/styles.d.ts.map +1 -1
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +2 -2
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts.map +1 -1
- package/lib/core/SimpleBarChart/index.js +1 -2
- package/lib/core/SimpleBarChart/styles.d.ts +2 -3
- package/lib/core/SimpleBarChart/styles.d.ts.map +1 -1
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +2 -2
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts.map +1 -1
- package/lib/core/SimpleLineChart/index.js +1 -2
- package/lib/core/SimpleLineChart/styles.d.ts +2 -3
- package/lib/core/SimpleLineChart/styles.d.ts.map +1 -1
- package/lib/core/Skeleton/Skeleton.stories.d.ts +1 -1
- package/lib/core/Skeleton/Skeleton.stories.d.ts.map +1 -1
- package/lib/core/Skeleton/styles.d.ts +9 -10
- package/lib/core/Skeleton/styles.d.ts.map +1 -1
- package/lib/core/Spinner/Spinner.stories.d.ts +2 -2
- package/lib/core/Spinner/Spinner.stories.d.ts.map +1 -1
- package/lib/core/Spinner/styles.d.ts +5 -5
- package/lib/core/Spinner/styles.d.ts.map +1 -1
- package/lib/core/Stepper/MobileStep/index.d.ts +8 -0
- package/lib/core/Stepper/MobileStep/index.d.ts.map +1 -0
- package/lib/core/Stepper/MobileStep/index.js +33 -0
- package/lib/core/Stepper/MobileStep/styles.d.ts +31 -0
- package/lib/core/Stepper/MobileStep/styles.d.ts.map +1 -0
- package/lib/core/Stepper/MobileStep/styles.js +90 -0
- package/lib/core/Stepper/Step/index.d.ts +12 -0
- package/lib/core/Stepper/Step/index.d.ts.map +1 -0
- package/lib/core/Stepper/Step/index.js +83 -0
- package/lib/core/Stepper/Step/styles.d.ts +27 -0
- package/lib/core/Stepper/Step/styles.d.ts.map +1 -0
- package/lib/core/Stepper/Step/styles.js +49 -0
- package/lib/core/Stepper/Stepper.stories.d.ts +7 -0
- package/lib/core/Stepper/Stepper.stories.d.ts.map +1 -0
- package/lib/core/Stepper/Stepper.stories.js +29 -0
- package/lib/core/Stepper/index.d.ts +18 -0
- package/lib/core/Stepper/index.d.ts.map +1 -0
- package/lib/core/Stepper/index.js +47 -0
- package/lib/core/Stepper/styles.d.ts +13 -0
- package/lib/core/Stepper/styles.d.ts.map +1 -0
- package/lib/core/Stepper/styles.js +24 -0
- package/lib/core/TabBar/TabBar.stories.d.ts +2 -2
- package/lib/core/TabBar/TabBar.stories.d.ts.map +1 -1
- package/lib/core/TabBar/TabBar.stories.js +1 -2
- package/lib/core/TabBar/TabItem/index.js +2 -2
- package/lib/core/TabBar/TabItem/styles.d.ts +2 -3
- package/lib/core/TabBar/TabItem/styles.d.ts.map +1 -1
- package/lib/core/TabBar/styles.d.ts +2 -3
- package/lib/core/TabBar/styles.d.ts.map +1 -1
- package/lib/core/TabNav/TabNav.stories.d.ts +2 -2
- package/lib/core/TabNav/TabNav.stories.d.ts.map +1 -1
- package/lib/core/TabNav/TabNav.stories.js +1 -2
- package/lib/core/TabNav/TabNavItem/index.js +1 -2
- package/lib/core/TabNav/TabNavItem/styles.d.ts +10 -11
- package/lib/core/TabNav/TabNavItem/styles.d.ts.map +1 -1
- package/lib/core/TabNav/index.js +1 -2
- package/lib/core/TabNav/styles.d.ts +12 -13
- package/lib/core/TabNav/styles.d.ts.map +1 -1
- package/lib/core/TabNav/utils/useContainerDimensions.d.ts.map +1 -1
- package/lib/core/Table/Cell.d.ts +1 -1
- package/lib/core/Table/Cell.d.ts.map +1 -1
- package/lib/core/Table/Row.d.ts +1 -1
- package/lib/core/Table/Row.d.ts.map +1 -1
- package/lib/core/Table/Table.stories.d.ts +2 -2
- package/lib/core/Table/Table.stories.d.ts.map +1 -1
- package/lib/core/Table/Table.stories.js +1 -2
- package/lib/core/Table/index.d.ts +1 -1
- package/lib/core/Table/index.d.ts.map +1 -1
- package/lib/core/Table/styles.d.ts +18 -19
- package/lib/core/Table/styles.d.ts.map +1 -1
- package/lib/core/Tag/Tag.stories.d.ts +1 -1
- package/lib/core/Tag/Tag.stories.d.ts.map +1 -1
- package/lib/core/Tag/index.js +1 -3
- package/lib/core/Tag/styles.d.ts +13 -13
- package/lib/core/Text/Text.stories.d.ts +1 -1
- package/lib/core/Text/Text.stories.d.ts.map +1 -1
- package/lib/core/Text/index.d.ts +1 -1
- package/lib/core/Text/index.d.ts.map +1 -1
- package/lib/core/Text/styles.d.ts +15 -15
- package/lib/core/Textarea/Textarea.stories.d.ts +1 -1
- package/lib/core/Textarea/Textarea.stories.d.ts.map +1 -1
- package/lib/core/Textarea/index.d.ts +3 -5
- package/lib/core/Textarea/index.d.ts.map +1 -1
- package/lib/core/Textarea/index.js +6 -5
- package/lib/core/Textarea/styles.d.ts +8 -9
- package/lib/core/Textarea/styles.d.ts.map +1 -1
- package/lib/core/Timeline/Timeline.stories.d.ts +2 -2
- package/lib/core/Timeline/Timeline.stories.d.ts.map +1 -1
- package/lib/core/Timeline/Timeline.stories.js +1 -2
- package/lib/core/Timeline/TimelineStep/index.js +1 -2
- package/lib/core/Timeline/TimelineStep/styles.d.ts +7 -8
- package/lib/core/Timeline/TimelineStep/styles.d.ts.map +1 -1
- package/lib/core/Timeline/styles.d.ts +2 -3
- package/lib/core/Timeline/styles.d.ts.map +1 -1
- package/lib/core/Timepicker/Timepicker.stories.d.ts +2 -2
- package/lib/core/Timepicker/Timepicker.stories.d.ts.map +1 -1
- package/lib/core/Timepicker/index.d.ts +1 -1
- package/lib/core/Timepicker/index.d.ts.map +1 -1
- package/lib/core/Timepicker/index.js +1 -2
- package/lib/core/Timepicker/styles.d.ts +9 -10
- package/lib/core/Timepicker/styles.d.ts.map +1 -1
- package/lib/core/Tooltip/Tooptip.stories.d.ts +2 -2
- package/lib/core/Tooltip/Tooptip.stories.d.ts.map +1 -1
- package/lib/core/Tooltip/index.js +1 -2
- package/lib/core/Tooltip/styles.d.ts +2 -2
- package/lib/core/UserMenu/UserMenu.stories.d.ts +2 -2
- package/lib/core/UserMenu/UserMenu.stories.d.ts.map +1 -1
- package/lib/core/UserMenu/UserMenu.stories.js +1 -2
- package/lib/core/UserMenu/index.js +1 -2
- package/lib/core/UserMenu/styles.d.ts +14 -15
- package/lib/core/UserMenu/styles.d.ts.map +1 -1
- package/lib/core/Video/Video.stories.d.ts +2 -1
- package/lib/core/Video/Video.stories.d.ts.map +1 -1
- package/lib/core/Video/index.d.ts +0 -1
- package/lib/core/Video/index.d.ts.map +1 -1
- package/lib/core/Video/styles.d.ts +2 -3
- package/lib/core/Video/styles.d.ts.map +1 -1
- package/lib/core/YearWheel/YearWheel.stories.d.ts +2 -2
- package/lib/core/YearWheel/YearWheel.stories.d.ts.map +1 -1
- package/lib/core/YearWheel/index.js +1 -2
- package/lib/core/YearWheel/styles.d.ts +4 -5
- package/lib/core/YearWheel/styles.d.ts.map +1 -1
- package/lib/core/private/ButtonOrLink.d.ts +18 -18
- package/lib/core/private/ButtonOrLink.d.ts.map +1 -1
- package/lib/core/private/ButtonOrLink.js +1 -2
- package/lib/core/private/preemption.d.ts.map +1 -1
- package/lib/core/private/preemption.js +5 -1
- package/lib/globals/styles/styles.d.ts +1 -1
- package/lib/globals/validation/regularExpressions.js +1 -1
- package/lib/hooks/useIsMobile.d.ts +1 -1
- package/lib/hooks/useIsMobile.d.ts.map +1 -1
- package/lib/icons/General/IconAuditorFilled.js +1 -2
- package/lib/icons/General/IconAuditorOutline.js +1 -2
- package/lib/icons/General/IconCamera.js +1 -2
- package/lib/icons/General/IconCases.js +1 -2
- package/lib/icons/General/IconDocument.js +1 -2
- package/lib/icons/General/IconDocumentFilled.js +1 -2
- package/lib/icons/General/IconEmailMarkAsRead.d.ts +3 -0
- package/lib/icons/General/IconEmailMarkAsRead.d.ts.map +1 -0
- package/lib/icons/General/IconEmailMarkAsRead.js +12 -0
- package/lib/icons/General/IconFillOut.js +1 -2
- package/lib/icons/General/IconHomeFilled.js +1 -2
- package/lib/icons/General/IconHomeOutline.js +1 -2
- package/lib/icons/General/IconHouseBlockFilled.js +1 -2
- package/lib/icons/General/IconHouseBlockOutline.js +1 -2
- package/lib/icons/General/IconImage.js +1 -2
- package/lib/icons/General/IconJanitorFilled.js +1 -2
- package/lib/icons/General/IconJanitorOutline.js +1 -2
- package/lib/icons/General/IconLeafFilled.js +1 -2
- package/lib/icons/General/IconLeafOutline.js +1 -2
- package/lib/icons/General/IconRearrange.js +1 -2
- package/lib/icons/Icon.stories.d.ts +0 -1
- package/lib/icons/Icon.stories.d.ts.map +1 -1
- package/lib/icons/Icon.stories.js +4 -2
- package/lib/icons/Logos/IconBankAxept.js +1 -2
- package/lib/icons/Logos/IconGmail.js +1 -2
- package/lib/icons/Logos/IconMasterCard.js +1 -2
- package/lib/icons/Logos/IconOffice365.js +1 -2
- package/lib/icons/Logos/IconVisa.js +1 -2
- package/lib/icons/withIcon.d.ts +2 -2
- package/lib/icons/withIcon.d.ts.map +1 -1
- package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +1 -2
- package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1 -2
- package/lib/illustrations/General/IllustrationBudget.d.ts +4 -0
- package/lib/illustrations/General/IllustrationBudget.d.ts.map +1 -0
- package/lib/illustrations/General/IllustrationBudget.js +185 -0
- package/lib/illustrations/General/IllustrationError.js +1 -2
- package/lib/illustrations/General/IllustrationErrorGeneric.js +1 -2
- package/lib/illustrations/General/IllustrationHighHouse.js +1 -2
- package/lib/illustrations/General/IllustrationHighHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationHouse.js +1 -2
- package/lib/illustrations/General/IllustrationHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationHouseMissing.js +1 -2
- package/lib/illustrations/General/IllustrationLowHouse.js +1 -2
- package/lib/illustrations/General/IllustrationLowHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationPaperCompleted.js +1 -2
- package/lib/illustrations/General/IllustrationPaperMissing.js +1 -2
- package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +1 -2
- package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationServiceMessage.d.ts +5 -0
- package/lib/illustrations/General/IllustrationServiceMessage.d.ts.map +1 -0
- package/lib/illustrations/General/IllustrationServiceMessage.js +40 -0
- package/lib/illustrations/General/IllustrationSmallHouse.js +1 -2
- package/lib/illustrations/General/IllustrationSmallHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts +5 -0
- package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts.map +1 -0
- package/lib/illustrations/General/IllustrationTechninalDifficulties.js +119 -0
- package/lib/illustrations/General/IllustrationTerraceBlock.js +1 -2
- package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +1 -2
- package/lib/illustrations/General/IllustrationTownHouse.js +1 -2
- package/lib/illustrations/General/IllustrationTownHouseComposition.js +1 -2
- package/lib/illustrations/Illustration.stories.d.ts +0 -1
- package/lib/illustrations/Illustration.stories.d.ts.map +1 -1
- package/lib/illustrations/Illustration.stories.js +18 -3
- package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts +4 -0
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts.map +1 -0
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.js +180 -0
- package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteComputer.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteGift.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts +4 -0
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts.map +1 -0
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.js +77 -0
- package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySitePapers.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +1 -2
- package/lib/illustrations/styles.d.ts +2 -2
- package/lib/illustrations/withIllustration.d.ts +2 -2
- package/lib/illustrations/withIllustration.d.ts.map +1 -1
- package/lib/index.d.ts +9 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -2
- package/lib/layout/Footer/Footer.stories.d.ts +2 -2
- package/lib/layout/Footer/Footer.stories.d.ts.map +1 -1
- package/lib/layout/Footer/Footer.stories.js +1 -2
- package/lib/layout/Footer/FooterButton/styles.d.ts +27 -28
- package/lib/layout/Footer/FooterButton/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterCol/styles.d.ts +2 -3
- package/lib/layout/Footer/FooterCol/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterGroup/styles.d.ts +2 -3
- package/lib/layout/Footer/FooterGroup/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterLabel/styles.d.ts +2 -3
- package/lib/layout/Footer/FooterLabel/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterLink/styles.d.ts +27 -28
- package/lib/layout/Footer/FooterLink/styles.d.ts.map +1 -1
- package/lib/layout/Footer/styles.d.ts +3 -4
- package/lib/layout/Footer/styles.d.ts.map +1 -1
- package/lib/layout/Layout/Layout.stories.d.ts +2 -2
- package/lib/layout/Layout/Layout.stories.d.ts.map +1 -1
- package/lib/layout/Layout/styles.d.ts +3 -4
- package/lib/layout/Layout/styles.d.ts.map +1 -1
- package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +2 -2
- package/lib/layout/LayoutShell/LayoutShell.stories.d.ts.map +1 -1
- package/lib/layout/LayoutShell/index.js +1 -2
- package/lib/layout/LayoutShell/styles.d.ts +9 -10
- package/lib/layout/LayoutShell/styles.d.ts.map +1 -1
- package/lib/layout/Menu/AppPicker/index.d.ts +2 -2
- package/lib/layout/Menu/AppPicker/index.d.ts.map +1 -1
- package/lib/layout/Menu/AppPicker/index.js +3 -4
- package/lib/layout/Menu/AppPicker/styles.d.ts +2 -3
- package/lib/layout/Menu/AppPicker/styles.d.ts.map +1 -1
- package/lib/layout/Menu/AppPicker/styles.js +7 -7
- package/lib/layout/Menu/MainMenu/index.d.ts +1 -1
- package/lib/layout/Menu/MainMenu/index.d.ts.map +1 -1
- package/lib/layout/Menu/MainMenu/index.js +10 -6
- package/lib/layout/Menu/MainMenu/styles.d.ts +5 -2
- package/lib/layout/Menu/MainMenu/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MainMenu/styles.js +8 -2
- package/lib/layout/Menu/MenuItem/index.d.ts +1 -1
- package/lib/layout/Menu/MenuItem/index.d.ts.map +1 -1
- package/lib/layout/Menu/MenuItem/index.js +23 -19
- package/lib/layout/Menu/MenuItem/styles.d.ts +4 -1
- package/lib/layout/Menu/MenuItem/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuItem/styles.js +17 -2
- package/lib/layout/Menu/MenuSpacer/styles.d.ts +2 -3
- package/lib/layout/Menu/MenuSpacer/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuTop/index.js +1 -2
- package/lib/layout/Menu/MenuTop/styles.d.ts +29 -30
- package/lib/layout/Menu/MenuTop/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuTop/styles.js +3 -3
- package/lib/layout/Menu/SecondaryMenu/index.js +1 -2
- package/lib/layout/Menu/SecondaryMenu/styles.d.ts +4 -5
- package/lib/layout/Menu/SecondaryMenu/styles.d.ts.map +1 -1
- package/lib/layout/Menu/SecondaryMenuItem/index.js +1 -2
- package/lib/layout/Menu/Sidemenu.stories.d.ts +2 -2
- package/lib/layout/Menu/Sidemenu.stories.d.ts.map +1 -1
- package/lib/layout/Menu/Sidemenu.stories.js +10 -7
- package/lib/layout/Menu/styles.d.ts +2 -3
- package/lib/layout/Menu/styles.d.ts.map +1 -1
- package/lib/layout/Submenu/Submenu.stories.d.ts +2 -2
- package/lib/layout/Submenu/Submenu.stories.d.ts.map +1 -1
- package/lib/layout/Submenu/Submenu.stories.js +1 -2
- package/lib/layout/Submenu/SubmenuItem/index.d.ts.map +1 -1
- package/lib/layout/Submenu/SubmenuItem/index.js +23 -19
- package/lib/layout/Submenu/SubmenuItem/styles.d.ts +2 -3
- package/lib/layout/Submenu/SubmenuItem/styles.d.ts.map +1 -1
- package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +1 -2
- package/lib/layout/Submenu/index.d.ts.map +1 -1
- package/lib/layout/Submenu/index.js +13 -10
- package/lib/layout/Submenu/styles.d.ts +20 -17
- package/lib/layout/Submenu/styles.d.ts.map +1 -1
- package/lib/layout/Submenu/styles.js +26 -12
- package/lib/layout/Topbar/Topbar.stories.d.ts +2 -2
- package/lib/layout/Topbar/Topbar.stories.d.ts.map +1 -1
- package/lib/layout/Topbar/styles.d.ts +0 -1
- package/lib/layout/Topbar/styles.d.ts.map +1 -1
- package/lib/shared/components/VisuallyHidden/index.d.ts +2 -3
- package/lib/shared/components/VisuallyHidden/index.d.ts.map +1 -1
- package/lib/shared/recharts/CustomLegend/index.js +1 -2
- package/lib/shared/recharts/CustomLegend/styles.d.ts +5 -6
- package/lib/shared/recharts/CustomLegend/styles.d.ts.map +1 -1
- package/lib/shared/recharts/CustomTooltip/index.js +1 -2
- package/lib/shared/recharts/CustomTooltip/styles.d.ts +6 -7
- package/lib/shared/recharts/CustomTooltip/styles.d.ts.map +1 -1
- package/lib/utils/accountNumber.d.ts +1 -1
- package/lib/utils/accountNumber.d.ts.map +1 -1
- package/lib/utils/dates.d.ts +3 -2
- package/lib/utils/dates.d.ts.map +1 -1
- package/lib/utils/dates.js +5 -0
- package/lib/utils/file.d.ts +1 -1
- package/lib/utils/file.d.ts.map +1 -1
- package/lib/utils/format.d.ts +4 -4
- package/lib/utils/format.d.ts.map +1 -1
- package/lib/utils/format.js +4 -8
- package/lib/utils/removeFocusOnMouseUp.d.ts +0 -1
- package/lib/utils/removeFocusOnMouseUp.d.ts.map +1 -1
- package/lib/utils/time.d.ts +6 -6
- package/lib/utils/time.d.ts.map +1 -1
- package/lib/utils/useSnorreTheme.d.ts +1 -1
- package/lib/utils/useSnorreTheme.d.ts.map +1 -1
- package/package.json +7 -2
- package/theme-bbls.js +2 -2
- package/lib/shared/types/Accessibility.d.ts +0 -55
- package/lib/shared/types/Accessibility.d.ts.map +0 -1
- package/lib/shared/types/Accessibility.js +0 -1
- package/lib/shared/types/LoadedType.d.ts +0 -7
- package/lib/shared/types/LoadedType.d.ts.map +0 -1
- package/lib/shared/types/LoadedType.js +0 -1
- /package/esm/{shared/types/Accessibility.js → core/QuillEditor/models.js} +0 -0
- /package/{esm/shared/types/LoadedType.js → lib/core/QuillEditor/models.js} +0 -0
@@ -0,0 +1,83 @@
|
|
1
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
2
|
+
import React from 'react';
|
3
|
+
import { useTheme } from '@emotion/react';
|
4
|
+
import { Circle, FlexWrapper, StepWrapper, SubTitleWrapper } from './styles';
|
5
|
+
import Button from '../../Button';
|
6
|
+
import Text from '../../Text';
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
8
|
+
var _ref = process.env.NODE_ENV === "production" ? {
|
9
|
+
name: "mmvz9h",
|
10
|
+
styles: "font-weight:400"
|
11
|
+
} : {
|
12
|
+
name: "bhv4vb-buttonstep",
|
13
|
+
styles: "font-weight:400;label:buttonstep;",
|
14
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvU3RlcC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBOEMwQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9TdGVwcGVyL1N0ZXAvaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiO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VsZWN0ZWQ9e3NlbGVjdGVkfSBjb2xvcj17dGhlbWUucHJpbWFyeX0gYmc9e3RoZW1lLmJnTGlnaHR9PlxuICAgICAgICAgICAgPFRleHRcbiAgICAgICAgICAgICAgc2l6ZT1cIjE0cHhcIlxuICAgICAgICAgICAgICBjb2xvcj17c2VsZWN0ZWQgPyB0aGVtZS5idG5EZWZhdWx0Rm9udENvbG9yIDogdGhlbWUuZGVmYXVsdFRleHR9XG4gICAgICAgICAgICAgIHNlbWlib2xkXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIHtucn1cbiAgICAgICAgICAgIDwvVGV4dD5cbiAgICAgICAgICA8L0NpcmNsZT5cbiAgICAgICAgICA8VGV4dCBzZW1pYm9sZD57dGl0bGV9PC9UZXh0PlxuICAgICAgICAgIHtzdWJUaXRsZSAmJiAoXG4gICAgICAgICAgICA8U3ViVGl0bGVXcmFwcGVyPlxuICAgICAgICAgICAgICA8VGV4dCBzbWFsbCBjc3M9e3sgZm9udFdlaWdodDogNDAwIH19PlxuICAgICAgICAgICAgICAgIHtzdWJUaXRsZX1cbiAgICAgICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgICAgPC9TdWJUaXRsZVdyYXBwZXI+XG4gICAgICAgICAgKX1cbiAgICAgICAgPC9GbGV4V3JhcHBlcj5cbiAgICAgIDwvQnV0dG9uPlxuICAgIDwvU3RlcFdyYXBwZXI+XG4gIClcblxuICBjb25zdCBzdGVwID0gKFxuICAgIDxTdGVwV3JhcHBlciBjb2xvcj17dGhlbWUucHJpbWFyeX0+XG4gICAgICA8RmxleFdyYXBwZXI+XG4gICAgICAgIDxDaXJjbGUgc2VsZWN0ZWQ9e3NlbGVjdGVkfSBjb2xvcj17dGhlbWUucHJpbWFyeX0gYmc9e3RoZW1lLmJnTGlnaHR9PlxuICAgICAgICAgIDxUZXh0XG4gICAgICAgICAgICBzaXplPVwiMTRweFwiXG4gICAgICAgICAgICBjb2xvcj17c2VsZWN0ZWQgPyB0aGVtZS5idG5EZWZhdWx0Rm9udENvbG9yIDogdGhlbWUuZGVmYXVsdFRleHR9XG4gICAgICAgICAgICBzZW1pYm9sZFxuICAgICAgICAgID5cbiAgICAgICAgICAgIHtucn1cbiAgICAgICAgICA8L1RleHQ+XG4gICAgICAgIDwvQ2lyY2xlPlxuICAgICAgICA8VGV4dCBzZW1pYm9sZD57dGl0bGV9PC9UZXh0PlxuICAgICAgICB7c3ViVGl0bGUgJiYgKFxuICAgICAgICAgIDxTdWJUaXRsZVdyYXBwZXI+XG4gICAgICAgICAgICA8VGV4dCBzbWFsbD57c3ViVGl0bGV9PC9UZXh0PlxuICAgICAgICAgIDwvU3ViVGl0bGVXcmFwcGVyPlxuICAgICAgICApfVxuICAgICAgPC9GbGV4V3JhcHBlcj5cbiAgICA8L1N0ZXBXcmFwcGVyPlxuICApXG5cbiAgcmV0dXJuIHNlbGVjdGVkID8gYnV0dG9uc3RlcCA6IGJpZGlyZWN0aW9uYWwgPyBidXR0b25zdGVwIDogc3RlcFxufVxuXG5leHBvcnQgZGVmYXVsdCBTdGVwXG4iXX0= */",
|
15
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
16
|
+
};
|
17
|
+
const Step = ({
|
18
|
+
nr,
|
19
|
+
selected,
|
20
|
+
bidirectional,
|
21
|
+
title,
|
22
|
+
subTitle,
|
23
|
+
onClick
|
24
|
+
}) => {
|
25
|
+
const theme = useTheme();
|
26
|
+
const buttonstep = /*#__PURE__*/_jsx(StepWrapper, {
|
27
|
+
color: theme.primary,
|
28
|
+
children: /*#__PURE__*/_jsx(Button, {
|
29
|
+
nostyle: true,
|
30
|
+
onClick: () => onClick(nr),
|
31
|
+
trackingName: "Bolig",
|
32
|
+
trackingEvent: "S\xF8k om utleie click: Stepper",
|
33
|
+
children: /*#__PURE__*/_jsxs(FlexWrapper, {
|
34
|
+
children: [/*#__PURE__*/_jsx(Circle, {
|
35
|
+
selected: selected,
|
36
|
+
color: theme.primary,
|
37
|
+
bg: theme.bgLight,
|
38
|
+
children: /*#__PURE__*/_jsx(Text, {
|
39
|
+
size: "14px",
|
40
|
+
color: selected ? theme.btnDefaultFontColor : theme.defaultText,
|
41
|
+
semibold: true,
|
42
|
+
children: nr
|
43
|
+
})
|
44
|
+
}), /*#__PURE__*/_jsx(Text, {
|
45
|
+
semibold: true,
|
46
|
+
children: title
|
47
|
+
}), subTitle && /*#__PURE__*/_jsx(SubTitleWrapper, {
|
48
|
+
children: /*#__PURE__*/_jsx(Text, {
|
49
|
+
small: true,
|
50
|
+
css: _ref,
|
51
|
+
children: subTitle
|
52
|
+
})
|
53
|
+
})]
|
54
|
+
})
|
55
|
+
})
|
56
|
+
});
|
57
|
+
const step = /*#__PURE__*/_jsx(StepWrapper, {
|
58
|
+
color: theme.primary,
|
59
|
+
children: /*#__PURE__*/_jsxs(FlexWrapper, {
|
60
|
+
children: [/*#__PURE__*/_jsx(Circle, {
|
61
|
+
selected: selected,
|
62
|
+
color: theme.primary,
|
63
|
+
bg: theme.bgLight,
|
64
|
+
children: /*#__PURE__*/_jsx(Text, {
|
65
|
+
size: "14px",
|
66
|
+
color: selected ? theme.btnDefaultFontColor : theme.defaultText,
|
67
|
+
semibold: true,
|
68
|
+
children: nr
|
69
|
+
})
|
70
|
+
}), /*#__PURE__*/_jsx(Text, {
|
71
|
+
semibold: true,
|
72
|
+
children: title
|
73
|
+
}), subTitle && /*#__PURE__*/_jsx(SubTitleWrapper, {
|
74
|
+
children: /*#__PURE__*/_jsx(Text, {
|
75
|
+
small: true,
|
76
|
+
children: subTitle
|
77
|
+
})
|
78
|
+
})]
|
79
|
+
})
|
80
|
+
});
|
81
|
+
return selected ? buttonstep : bidirectional ? buttonstep : step;
|
82
|
+
};
|
83
|
+
export default Step;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import _styled from "@emotion/styled/base";
|
2
|
+
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
|
+
import { css } from '@emotion/react';
|
4
|
+
export const Circle = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
5
|
+
target: "e7lmlwf4"
|
6
|
+
} : {
|
7
|
+
target: "e7lmlwf4",
|
8
|
+
label: "Circle"
|
9
|
+
})(props => /*#__PURE__*/css("position:relative;display:flex;margin:auto;justify-content:center;align-items:center;height:32px;width:32px;border-radius:50%;border:2px solid ", props.color, ";background-color:", props.selected ? props.color : props.bg, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:Circle;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvU3RlcC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSWtFIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvU3RlcC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgQ2lyY2xlID0gc3R5bGVkLmRpdihcbiAgKHByb3BzOiB7IGNvbG9yOiBzdHJpbmc7IGJnOiBzdHJpbmc7IHNlbGVjdGVkOiBib29sZWFuIH0pID0+IGNzc2BcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBtYXJnaW46IGF1dG87XG4gICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBoZWlnaHQ6IDMycHg7XG4gICAgd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9XG4gICAgJjpub3QoOmxhc3Qtb2YtdHlwZSkge1xuICAgICAgOjphZnRlciB7XG4gICAgICAgIGNvbnRlbnQ6ICcnO1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIGxlZnQ6IGNhbGMoNTAlICsgMjRweCk7XG4gICAgICAgIHRvcDogMTZweDtcbiAgICAgICAgd2lkdGg6IGNhbGMoNTAlIC0gMjRweCk7XG4gICAgICAgIGhlaWdodDogM3B4O1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3Byb3BzLmNvbG9yfTtcbiAgICAgIH1cbiAgICB9XG4gIGBcbilcblxuZXhwb3J0IGNvbnN0IEZsZXhXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgZ2FwOiAwLjVyZW07XG5gXG5cbmV4cG9ydCBjb25zdCBMYWJlbFdyYXBwZXIgPSBzdHlsZWQuZGl2YGBcbiJdfQ== */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvU3RlcC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR3NCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvU3RlcC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuXG5leHBvcnQgY29uc3QgQ2lyY2xlID0gc3R5bGVkLmRpdihcbiAgKHByb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Y29udGVudDogJyc7XG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgcmlnaHQ6IGNhbGMoNTAlICsgMjRweCk7XG4gICAgICAgIHRvcDogMTZweDtcbiAgICAgICAgd2lkdGg6IGNhbGMoNTAlIC0gMjRweCk7XG4gICAgICAgIGhlaWdodDogM3B4O1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3Byb3BzLmNvbG9yfTtcbiAgICAgIH1cbiAgICB9XG4gICAgJjpub3QoOmxhc3Qtb2YtdHlwZSkge1xuICAgICAgOjphZnRlciB7XG4gICAgICAgIGNvbnRlbnQ6ICcnO1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIGxlZnQ6IGNhbGMoNTAlICsgMjRweCk7XG4gICAgICAgIHRvcDogMTZweDtcbiAgICAgICAgd2lkdGg6IGNhbGMoNTAlIC0gMjRweCk7XG4gICAgICAgIGhlaWdodDogM3B4O1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3Byb3BzLmNvbG9yfTtcbiAgICAgIH1cbiAgICB9XG4gIGBcbilcblxuZXhwb3J0IGNvbnN0IEZsZXhXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgZ2FwOiAwLjVyZW07XG5gXG5cbmV4cG9ydCBjb25zdCBMYWJlbFdyYXBwZXIgPSBzdHlsZWQuZGl2YGBcbiJdfQ== */");
|
10
|
+
export const SubTitleWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
11
|
+
target: "e7lmlwf3"
|
12
|
+
} : {
|
13
|
+
target: "e7lmlwf3",
|
14
|
+
label: "SubTitleWrapper"
|
15
|
+
})(process.env.NODE_ENV === "production" ? {
|
16
|
+
name: "1d3lfkp",
|
17
|
+
styles: "display:flex;text-align:center;justify-content:center;max-width:350px"
|
18
|
+
} : {
|
19
|
+
name: "1d3lfkp",
|
20
|
+
styles: "display:flex;text-align:center;justify-content:center;max-width:350px",
|
21
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvU3RlcC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0J5QyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9TdGVwcGVyL1N0ZXAvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuZXhwb3J0IGNvbnN0IENpcmNsZSA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBjb2xvcjogc3RyaW5nOyBiZzogc3RyaW5nOyBzZWxlY3RlZDogYm9vbGVhbiB9KSA9PiBjc3NgXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgbWFyZ2luOiBhdXRvO1xuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgaGVpZ2h0OiAzMnB4O1xuICAgIHdpZHRoOiAzMnB4O1xuICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgICBib3JkZXI6IDJweCBzb2xpZCAke3Byb3BzLmNvbG9yfTtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3Byb3BzLnNlbGVjdGVkID8gcHJvcHMuY29sb3IgOiBwcm9wcy5iZ307XG4gIGBcbilcblxuZXhwb3J0IGNvbnN0IFN1YlRpdGxlV3JhcHBlciA9IHN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HQ6IDNweDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJHtwcm9wcy5jb2xvcn07XG4gICAgICB9XG4gICAgfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBGbGV4V3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGdhcDogMC41cmVtO1xuYFxuXG5leHBvcnQgY29uc3QgTGFiZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBgXG4iXX0= */",
|
22
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
23
|
+
});
|
24
|
+
export const StepWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
25
|
+
target: "e7lmlwf2"
|
26
|
+
} : {
|
27
|
+
target: "e7lmlwf2",
|
28
|
+
label: "StepWrapper"
|
29
|
+
})(props => /*#__PURE__*/css("position:relative;display:flex;flex-grow:1;flex-basis:0;justify-content:center;padding:0 1rem;&>button{align-items:start;}&:not(:first-of-type){::before{content:'';position:absolute;right:calc(50% + 24px);top:16px;width:calc(50% - 24px);height:3px;background-color:", props.color, ";}}&:not(:last-of-type){::after{content:'';position:absolute;left:calc(50% + 24px);top:16px;width:calc(50% - 24px);height:3px;background-color:", props.color, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:StepWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvU3RlcC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeUJtQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9TdGVwcGVyL1N0ZXAvc3R5bGVzL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ZW50OiBjZW50ZXI7XG4gICAgcGFkZGluZzogMCAxcmVtO1xuXG4gICAgJiA+IGJ1dHRvbiB7XG4gICAgICBhbGlnbi1pdGVtczogc3RhcnQ7XG4gICAgfVxuICAgICY6bm90KDpmaXJzdC1vZi10eXBlKSB7XG4gICAgICA6OmJlZm9yZSB7XG4gICAgICAgIGNvbnRlbnQ6ICcnO1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIHJpZ2h0OiBjYWxjKDUwJSArIDI0cHgpO1xuICAgICAgICB0b3A6IDE2cHg7XG4gICAgICAgIHdpZHRoOiBjYWxjKDUwJSAtIDI0cHgpO1xuICAgICAgICBoZWlnaHQ6IDNweDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJHtwcm9wcy5jb2xvcn07XG4gICAgICB9XG4gICAgfVxuICAgICY6bm90KDpsYXN0LW9mLXR5cGUpIHtcbiAgICAgIDo6YWZ0ZXIge1xuICAgICAgICBjb250ZW50OiAnJztcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBsZWZ0OiBjYWxjKDUwJSArIDI0cHgpO1xuICAgICAgICB0b3A6IDE2cHg7XG4gICAgICAgIHdpZHRoOiBjYWxjKDUwJSAtIDI0cHgpO1xuICAgICAgICBoZWlnaHQ6IDNweDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJHtwcm9wcy5jb2xvcn07XG4gICAgICB9XG4gICAgfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBGbGV4V3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGdhcDogMC41cmVtO1xuYFxuXG5leHBvcnQgY29uc3QgTGFiZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBgXG4iXX0= */"), process.env.NODE_ENV === "production" ? "" : "/*#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ydCBjb25zdCBGbGV4V3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGdhcDogMC41cmVtO1xuYFxuXG5leHBvcnQgY29uc3QgTGFiZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBgXG4iXX0= */");
|
30
|
+
export const FlexWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
31
|
+
target: "e7lmlwf1"
|
32
|
+
} : {
|
33
|
+
target: "e7lmlwf1",
|
34
|
+
label: "FlexWrapper"
|
35
|
+
})(process.env.NODE_ENV === "production" ? {
|
36
|
+
name: "9gxvy4",
|
37
|
+
styles: "display:flex;flex-direction:column;align-items:center;gap:0.5rem"
|
38
|
+
} : {
|
39
|
+
name: "9gxvy4",
|
40
|
+
styles: "display:flex;flex-direction:column;align-items:center;gap:0.5rem",
|
41
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvU3RlcC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNkRxQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9TdGVwcGVyL1N0ZXAvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuZXhwb3J0IGNvbnN0IENpcmNsZSA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBjb2xvcjogc3RyaW5nOyBiZzogc3RyaW5nOyBzZWxlY3RlZDogYm9vbGVhbiB9KSA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iBjYWxjKDUwJSArIDI0cHgpO1xuICAgICAgICB0b3A6IDE2cHg7XG4gICAgICAgIHdpZHRoOiBjYWxjKDUwJSAtIDI0cHgpO1xuICAgICAgICBoZWlnaHQ6IDNweDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJHtwcm9wcy5jb2xvcn07XG4gICAgICB9XG4gICAgfVxuICAgICY6bm90KDpsYXN0LW9mLXR5cGUpIHtcbiAgICAgIDo6YWZ0ZXIge1xuICAgICAgICBjb250ZW50OiAnJztcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBsZWZ0OiBjYWxjKDUwJSArIDI0cHgpO1xuICAgICAgICB0b3A6IDE2cHg7XG4gICAgICAgIHdpZHRoOiBjYWxjKDUwJSAtIDI0cHgpO1xuICAgICAgICBoZWlnaHQ6IDNweDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJHtwcm9wcy5jb2xvcn07XG4gICAgICB9XG4gICAgfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBGbGV4V3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGdhcDogMC41cmVtO1xuYFxuXG5leHBvcnQgY29uc3QgTGFiZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBgXG4iXX0= */",
|
42
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
43
|
+
});
|
44
|
+
export const LabelWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
45
|
+
target: "e7lmlwf0"
|
46
|
+
} : {
|
47
|
+
target: "e7lmlwf0",
|
48
|
+
label: "LabelWrapper"
|
49
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4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7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGdhcDogMC41cmVtO1xuYFxuXG5leHBvcnQgY29uc3QgTGFiZWxXcmFwcGVyID0gc3R5bGVkLmRpdmBgXG4iXX0= */");
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import Stepper from '.';
|
2
|
+
const meta = {
|
3
|
+
title: 'Core/Stepper',
|
4
|
+
component: Stepper
|
5
|
+
};
|
6
|
+
export default meta;
|
7
|
+
export const Default = {
|
8
|
+
name: 'Default',
|
9
|
+
args: {
|
10
|
+
selected: 2,
|
11
|
+
steps: [{
|
12
|
+
nr: 1,
|
13
|
+
title: 'Introduksjon til budsjett',
|
14
|
+
subTitle: 'Forklaring til budsjettforslaget og hva som har endret seg siden sist.'
|
15
|
+
}, {
|
16
|
+
nr: 2,
|
17
|
+
title: 'Spesifikasjon',
|
18
|
+
subTitle: 'Se hvordan kostnader og utgifter fordeler seg på de forskjellige underpostene.'
|
19
|
+
}, {
|
20
|
+
nr: 3,
|
21
|
+
title: 'Fullstendig budsjett',
|
22
|
+
subTitle: 'Fullfør budsjettet ved å se over og justere resterende budsjettposter.'
|
23
|
+
}],
|
24
|
+
withMobileLayout: true,
|
25
|
+
bidirectional: true,
|
26
|
+
boxType: 'mysite',
|
27
|
+
onStepSelected: val => console.log('selected ' + val)
|
28
|
+
}
|
29
|
+
};
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import React, { Fragment } from 'react';
|
2
|
+
import { StepperWrapper } from './styles';
|
3
|
+
import Step from './Step';
|
4
|
+
import MobileStep from './MobileStep';
|
5
|
+
import { useIsMobile } from '../../hooks/useIsMobile';
|
6
|
+
import Box from '../Box';
|
7
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
8
|
+
const Stepper = ({
|
9
|
+
selected,
|
10
|
+
steps,
|
11
|
+
withMobileLayout = true,
|
12
|
+
bidirectional = false,
|
13
|
+
withBox = true,
|
14
|
+
boxType,
|
15
|
+
onStepSelected
|
16
|
+
}) => {
|
17
|
+
const isMobile = useIsMobile();
|
18
|
+
const DesktopStepper = () => /*#__PURE__*/_jsx(StepperWrapper, {
|
19
|
+
steps: steps.length,
|
20
|
+
children: steps.map((step, index) => {
|
21
|
+
return /*#__PURE__*/_jsx(Fragment, {
|
22
|
+
children: /*#__PURE__*/_jsx(Step, {
|
23
|
+
nr: step.nr,
|
24
|
+
title: step.title,
|
25
|
+
subTitle: step.subTitle,
|
26
|
+
bidirectional: bidirectional,
|
27
|
+
selected: step.nr <= selected,
|
28
|
+
onClick: onStepSelected
|
29
|
+
})
|
30
|
+
}, index);
|
31
|
+
})
|
32
|
+
});
|
33
|
+
const PolyStepper = () => /*#__PURE__*/_jsxs(_Fragment, {
|
34
|
+
children: [!isMobile && /*#__PURE__*/_jsx(DesktopStepper, {}), isMobile && /*#__PURE__*/_jsx(MobileStep, {
|
35
|
+
steps: steps,
|
36
|
+
selected: selected
|
37
|
+
})]
|
38
|
+
});
|
39
|
+
if (!withBox) return /*#__PURE__*/_jsx(_Fragment, {
|
40
|
+
children: withMobileLayout ? /*#__PURE__*/_jsx(PolyStepper, {}) : /*#__PURE__*/_jsx(DesktopStepper, {})
|
41
|
+
});
|
42
|
+
return /*#__PURE__*/_jsx(Box, {
|
43
|
+
type: boxType,
|
44
|
+
children: withMobileLayout ? /*#__PURE__*/_jsx(PolyStepper, {}) : /*#__PURE__*/_jsx(DesktopStepper, {})
|
45
|
+
});
|
46
|
+
};
|
47
|
+
export default Stepper;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import _styled from "@emotion/styled/base";
|
2
|
+
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
|
+
import { css } from '@emotion/react';
|
4
|
+
export const StepDivider = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
5
|
+
target: "egvzgek1"
|
6
|
+
} : {
|
7
|
+
target: "egvzgek1",
|
8
|
+
label: "StepDivider"
|
9
|
+
})(props => /*#__PURE__*/css("height:3px;width:30px;margin-top:1rem;background-color:", props.color, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:StepDivider;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUltQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9TdGVwcGVyL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBTdGVwRGl2aWRlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBjb2xvcjogc3RyaW5nIH0pID0+IGNzc2BcbiAgICBoZWlnaHQ6IDNweDtcbiAgICB3aWR0aDogMzBweDtcbiAgICBtYXJnaW4tdG9wOiAxcmVtO1xuICAgIGJhY2tncm91bmQtY29sb3I6ICR7cHJvcHMuY29sb3J9O1xuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBTdGVwcGVyV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBzdGVwczogbnVtYmVyIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgICBwYWRkaW5nOiAwIDIuNWVtO1xuICAgIGFsaWduLWl0ZW1zOiB0b3A7XG4gICAgbWFyZ2luLWJvdHRvbTogMS41ZW07XG5cbiAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA3NjhweCkge1xuICAgICAgcGFkZGluZzogMCAwLjVlbTtcblxuICAgICAgc3BhbiB7XG4gICAgICAgIGZvbnQtc2l6ZTogMTJweDtcbiAgICAgIH1cbiAgICB9XG4gIGBcbilcbiJdfQ== */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUcyQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9TdGVwcGVyL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBTdGVwRGl2aWRlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBjb2xvcjogc3RyaW5nIH0pID0+IGNzc2BcbiAgICBoZWlnaHQ6IDNweDtcbiAgICB3aWR0aDogMzBweDtcbiAgICBtYXJnaW4tdG9wOiAxcmVtO1xuICAgIGJhY2tncm91bmQtY29sb3I6ICR7cHJvcHMuY29sb3J9O1xuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBTdGVwcGVyV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBzdGVwczogbnVtYmVyIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgICBwYWRkaW5nOiAwIDIuNWVtO1xuICAgIGFsaWduLWl0ZW1zOiB0b3A7XG4gICAgbWFyZ2luLWJvdHRvbTogMS41ZW07XG5cbiAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA3NjhweCkge1xuICAgICAgcGFkZGluZzogMCAwLjVlbTtcblxuICAgICAgc3BhbiB7XG4gICAgICAgIGZvbnQtc2l6ZTogMTJweDtcbiAgICAgIH1cbiAgICB9XG4gIGBcbilcbiJdfQ== */");
|
10
|
+
var _ref = process.env.NODE_ENV === "production" ? {
|
11
|
+
name: "jpgenn",
|
12
|
+
styles: "display:flex;justify-content:space-between;padding:0 2.5em;align-items:top;margin-bottom:1.5em;@media screen and (max-width: 768px){padding:0 0.5em;span{font-size:12px;}}"
|
13
|
+
} : {
|
14
|
+
name: "9i9w2h-StepperWrapper",
|
15
|
+
styles: "display:flex;justify-content:space-between;padding:0 2.5em;align-items:top;margin-bottom:1.5em;@media screen and (max-width: 768px){padding:0 0.5em;span{font-size:12px;}};label:StepperWrapper;",
|
16
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFtQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9TdGVwcGVyL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBTdGVwRGl2aWRlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBjb2xvcjogc3RyaW5nIH0pID0+IGNzc2BcbiAgICBoZWlnaHQ6IDNweDtcbiAgICB3aWR0aDogMzBweDtcbiAgICBtYXJnaW4tdG9wOiAxcmVtO1xuICAgIGJhY2tncm91bmQtY29sb3I6ICR7cHJvcHMuY29sb3J9O1xuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBTdGVwcGVyV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBzdGVwczogbnVtYmVyIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgICBwYWRkaW5nOiAwIDIuNWVtO1xuICAgIGFsaWduLWl0ZW1zOiB0b3A7XG4gICAgbWFyZ2luLWJvdHRvbTogMS41ZW07XG5cbiAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA3NjhweCkge1xuICAgICAgcGFkZGluZzogMCAwLjVlbTtcblxuICAgICAgc3BhbiB7XG4gICAgICAgIGZvbnQtc2l6ZTogMTJweDtcbiAgICAgIH1cbiAgICB9XG4gIGBcbilcbiJdfQ== */",
|
17
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
18
|
+
};
|
19
|
+
export const StepperWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
20
|
+
target: "egvzgek0"
|
21
|
+
} : {
|
22
|
+
target: "egvzgek0",
|
23
|
+
label: "StepperWrapper"
|
24
|
+
})(props => _ref, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1N0ZXBwZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVk4QiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9TdGVwcGVyL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5cbmV4cG9ydCBjb25zdCBTdGVwRGl2aWRlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBjb2xvcjogc3RyaW5nIH0pID0+IGNzc2BcbiAgICBoZWlnaHQ6IDNweDtcbiAgICB3aWR0aDogMzBweDtcbiAgICBtYXJnaW4tdG9wOiAxcmVtO1xuICAgIGJhY2tncm91bmQtY29sb3I6ICR7cHJvcHMuY29sb3J9O1xuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBTdGVwcGVyV3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wczogeyBzdGVwczogbnVtYmVyIH0pID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgICBwYWRkaW5nOiAwIDIuNWVtO1xuICAgIGFsaWduLWl0ZW1zOiB0b3A7XG4gICAgbWFyZ2luLWJvdHRvbTogMS41ZW07XG5cbiAgICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA3NjhweCkge1xuICAgICAgcGFkZGluZzogMCAwLjVlbTtcblxuICAgICAgc3BhbiB7XG4gICAgICAgIGZvbnQtc2l6ZTogMTJweDtcbiAgICAgIH1cbiAgICB9XG4gIGBcbilcbiJdfQ== */");
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import TabBar from '.';
|
2
2
|
import TabItem from './TabItem';
|
3
3
|
import IconMembership from '../../icons/General/IconMembership';
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
5
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
6
5
|
export default {
|
7
6
|
title: 'Core/TabBar',
|
8
7
|
component: TabBar,
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { TabWrapper } from './styles';
|
3
3
|
import Text from '../../Text';
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
5
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
6
5
|
const TabItem = ({
|
7
6
|
text,
|
8
7
|
icon,
|
@@ -11,6 +10,7 @@ const TabItem = ({
|
|
11
10
|
}) => {
|
12
11
|
return /*#__PURE__*/_jsxs(TabWrapper, {
|
13
12
|
onClick: onClick,
|
13
|
+
"aria-label": `Tab knapp for ${text}`,
|
14
14
|
children: [icon, /*#__PURE__*/_jsx(Text, {
|
15
15
|
primary: active,
|
16
16
|
secondary: !active,
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import TabNav from '.';
|
2
2
|
import TabNavItem from './TabNavItem';
|
3
3
|
import Button from '../Button';
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
5
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
6
5
|
export default {
|
7
6
|
title: 'Core/TabNav',
|
8
7
|
component: TabNav
|
@@ -6,8 +6,7 @@ import Link from '../../Link';
|
|
6
6
|
import { TabContext } from '../TabContext';
|
7
7
|
import { useContainerDimensions } from '../utils/useContainerDimensions';
|
8
8
|
import { TabNavItemWrapper, styles, SelectChildrenWrapper, SelectOption } from './styles';
|
9
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
10
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
11
10
|
const TabNavItem = ({
|
12
11
|
value,
|
13
12
|
displayText,
|
package/esm/core/TabNav/index.js
CHANGED
@@ -7,8 +7,7 @@ import { useContainerDimensions } from './utils/useContainerDimensions';
|
|
7
7
|
import Select, { Option } from '../Select';
|
8
8
|
import Link from '../Link';
|
9
9
|
import { useIsMobile } from '../../hooks/useIsMobile';
|
10
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
11
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
12
11
|
const TabNav = ({
|
13
12
|
value,
|
14
13
|
children,
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import Table from '.';
|
2
2
|
import Cell from './Cell';
|
3
3
|
import Row from './Row';
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
5
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
6
5
|
export default {
|
7
6
|
title: 'Core/Table',
|
8
7
|
component: Table
|
package/esm/core/Tag/index.js
CHANGED
@@ -4,9 +4,7 @@ import { styles } from './styles';
|
|
4
4
|
import IconClose from '../../icons/General/IconClose';
|
5
5
|
import Button from '../Button';
|
6
6
|
import Spinner from '../Spinner';
|
7
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
8
|
-
import { Fragment as _Fragment } from "@emotion/react/jsx-runtime";
|
9
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
7
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
10
8
|
const Tag = ({
|
11
9
|
icon,
|
12
10
|
trackingEvent,
|
@@ -3,8 +3,7 @@ import React, { useEffect, useState } from 'react';
|
|
3
3
|
import { Label, styles, Wrapper, ErrorMessage } from './styles';
|
4
4
|
import { IconErrorOutline } from '../..';
|
5
5
|
import { useTheme } from '@emotion/react';
|
6
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
7
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
8
7
|
const Textarea = ({
|
9
8
|
label,
|
10
9
|
value = '',
|
@@ -17,7 +16,7 @@ const Textarea = ({
|
|
17
16
|
maxHeight,
|
18
17
|
disabled,
|
19
18
|
onChange,
|
20
|
-
|
19
|
+
...restProps
|
21
20
|
}) => {
|
22
21
|
const theme = useTheme();
|
23
22
|
const [inputValue, setInputValue] = useState(value);
|
@@ -38,14 +37,16 @@ const Textarea = ({
|
|
38
37
|
}), _jsx("textarea", {
|
39
38
|
id: aria,
|
40
39
|
css: theme => [styles.default(theme), styles.resize(resize), maxHeight && styles.maxHeight(maxHeight), disabled && styles.disabled(theme)],
|
40
|
+
"aria-label": label,
|
41
|
+
"aria-invalid": !!invalidMessage,
|
41
42
|
value: inputValue,
|
42
43
|
rows: rows,
|
43
44
|
placeholder: placeholder,
|
44
45
|
onChange: e => handleChange(e),
|
45
|
-
onBlur: onBlur,
|
46
46
|
maxLength: maxLength,
|
47
47
|
autoFocus: focus,
|
48
|
-
disabled: disabled
|
48
|
+
disabled: disabled,
|
49
|
+
...restProps
|
49
50
|
}), invalidMessage && _jsxs(ErrorMessage, {
|
50
51
|
theme: theme,
|
51
52
|
children: [_jsx(IconErrorOutline, {
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import Timeline from '.';
|
2
2
|
import TimelineStep from './TimelineStep';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
export default {
|
6
5
|
title: 'Core/Timeline',
|
7
6
|
component: Timeline
|
@@ -3,8 +3,7 @@ import React from 'react';
|
|
3
3
|
import { useTheme } from '@emotion/react';
|
4
4
|
import Text from '../../Text';
|
5
5
|
import { TextWrapper, Wrapper, Circle, styles } from './styles';
|
6
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
7
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
8
7
|
const TimelineStep = ({
|
9
8
|
title,
|
10
9
|
text,
|
@@ -4,8 +4,7 @@ import React, { useState } from 'react';
|
|
4
4
|
import { IconErrorOutline } from '../..';
|
5
5
|
import { DEFAULT_DIVIDER, DEFAULT_VALUE_FULL, DEFAULT_VALUE_FULL_NULLABLE, DEFAULT_VALUE_SHORT, DEFAULT_VALUE_SHORT_NULLABLE, handleDateToStringConvertion, handleStringToDateConvertion, isNumber, validateTimeAndCursor } from '../../utils/time';
|
6
6
|
import styles, { ErrorMessage, Label } from './styles';
|
7
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
8
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
9
8
|
const TimePicker = /*#__PURE__*/React.forwardRef(({
|
10
9
|
label,
|
11
10
|
value,
|
@@ -3,8 +3,7 @@ import { mergeProps, useTooltip, useTooltipTrigger } from 'react-aria';
|
|
3
3
|
import React from 'react';
|
4
4
|
import { useTooltipTriggerState } from 'react-stately';
|
5
5
|
import { styles } from './styles';
|
6
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
7
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
8
7
|
const TooltipChild = ({
|
9
8
|
state,
|
10
9
|
...props
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import UserMenu from '.';
|
2
2
|
import UserMenuOption from './UserMenuOption';
|
3
3
|
import Button from '../Button';
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
5
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
6
5
|
export default {
|
7
6
|
title: 'Core/UserMenu',
|
8
7
|
component: UserMenu
|
@@ -5,8 +5,7 @@ import Button from '../Button';
|
|
5
5
|
import IconUser from '../../icons/General/IconUser';
|
6
6
|
import { useTheme } from '@emotion/react';
|
7
7
|
import IconUserThin from '../../icons/General/IconUserThin';
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
9
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
10
9
|
const UserMenu = ({
|
11
10
|
name,
|
12
11
|
firstname,
|
@@ -1,8 +1,7 @@
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
2
2
|
import React from 'react';
|
3
3
|
import { activepie, pathFill, Wrapper } from './styles';
|
4
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
5
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
6
5
|
const YearWheel = ({
|
7
6
|
selectedMonth,
|
8
7
|
onMonthClick
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React, { useEffect } from 'react';
|
2
2
|
import removeFocusOnMouseUp from '../../utils/removeFocusOnMouseUp';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
const ButtonOrLink = /*#__PURE__*/React.forwardRef(({
|
6
5
|
afterIcon,
|
7
6
|
beforeIcon,
|
@@ -11,8 +11,12 @@ const getMeldefristText = preemption => {
|
|
11
11
|
const diffHours = Math.ceil(Math.abs(date1.valueOf() - date2.valueOf()) / 3600000);
|
12
12
|
if (diffHours > 36) {
|
13
13
|
return ' ' + Math.ceil(diffHours / 24) + ' dager';
|
14
|
-
} else {
|
14
|
+
} else if (diffHours > 1) {
|
15
15
|
return ' ' + diffHours + ' timer';
|
16
|
+
} else {
|
17
|
+
// Legge denne her for at den ikke regnes ut hver gang
|
18
|
+
const diffMinutes = Math.ceil(Math.abs(date1.valueOf() - date2.valueOf()) / (1000 * 60));
|
19
|
+
return ' ' + diffMinutes + ' minutter';
|
16
20
|
}
|
17
21
|
};
|
18
22
|
export { getAreaTextForPreemptionUnit, isDeadlineClosing, getMeldefristText };
|
@@ -3,7 +3,7 @@ const regularExpressions = {
|
|
3
3
|
mobilenumber: new RegExp(/(?:^((?!00|[+])|(?:(?:00|[+])47))([49]\d{7})$)|(?:^(?:00|[+])(?!47)([49]\d{7,15})$)/),
|
4
4
|
exclusiveNumbers: new RegExp(/^\d+$/),
|
5
5
|
date: new RegExp(/^(0[1-9]|[12][0-9]|3[01])[\.](0[1-9]|1[012])[\.]\d{4}|(0[1-9]|[1-2][0-9]|31(?!(?:0[2469]|11))|30(?!02))(0[1-9]|1[0-2])([12]\d{3})|([01][0-9]|2[0-8])(0[0-9]|1[0-2])[0-9][0-9]|30(0[013-9]|1[0-2])[0-9][0-9]|31(0[13578]|1[02])[0-9][0-9]|29((0[013-9]|1[0-2])[0-9][0-9]|02([0246][048]|[13579][26]))|(0[1-9]|[12][0-9]|3[01])[\.](0[1-9]|1[012])[\.]\d{2}$/),
|
6
|
-
email: new RegExp(
|
6
|
+
email: new RegExp(/(?:[^<>()\[\]\\.,;:\s@"]+(?:\.[^<>()\[\]\\.,;:\s@"]+)*@(?:[a-zA-ZæÆøØåÅ0-9-]+\.)+[a-zA-Z]{2,}(?:\s?[;,:\s]\s?)?)+/),
|
7
7
|
year: new RegExp(/^[12][0-9]{3}$/),
|
8
8
|
url: new RegExp(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{2,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/)
|
9
9
|
};
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import withIcon from '../withIcon';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
const IconAuditorFilled = props => {
|
6
5
|
return /*#__PURE__*/_jsxs("svg", {
|
7
6
|
viewBox: "0 0 24 24",
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import withIcon from '../withIcon';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
const IconAuditorOutline = props => {
|
6
5
|
return /*#__PURE__*/_jsxs("svg", {
|
7
6
|
viewBox: "0 0 24 24",
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import withIcon from '../withIcon';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
const IconCamera = props => /*#__PURE__*/_jsxs("svg", {
|
6
5
|
stroke: "currentColor",
|
7
6
|
strokeWidth: "2",
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import withIcon from '../withIcon';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
const IconCases = props => {
|
6
5
|
return /*#__PURE__*/_jsxs("svg", {
|
7
6
|
viewBox: "0 0 24 24",
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import withIcon from '../withIcon';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
const IconDocument = props => {
|
6
5
|
return /*#__PURE__*/_jsxs("svg", {
|
7
6
|
viewBox: "0 0 16 20",
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import withIcon from '../withIcon';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
const IconDocumentFilled = props => {
|
6
5
|
return /*#__PURE__*/_jsxs("svg", {
|
7
6
|
viewBox: "0 0 16 20",
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import withIcon from '../withIcon';
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
3
|
+
const IconEmailMarkAsRead = props => {
|
4
|
+
return /*#__PURE__*/_jsx("svg", {
|
5
|
+
viewBox: "0 -960 960 960",
|
6
|
+
...props,
|
7
|
+
children: /*#__PURE__*/_jsx("path", {
|
8
|
+
d: "M638-80 468-250l56-56 114 114 226-226 56 56L638-80ZM480-520l320-200H160l320 200Zm0 80L160-640v400h206l80 80H160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v174l-80 80v-174L480-440Zm0 0Zm0-80Zm0 80Z"
|
9
|
+
})
|
10
|
+
});
|
11
|
+
};
|
12
|
+
export default withIcon('IconEmailMarkAsRead')(IconEmailMarkAsRead);
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import withIcon from '../withIcon';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
const IconFillOut = props => {
|
6
5
|
return /*#__PURE__*/_jsx("svg", {
|
7
6
|
viewBox: "0 0 24 24",
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import withIcon from '../withIcon';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
const IconHomeFilled = props => /*#__PURE__*/_jsxs("svg", {
|
6
5
|
viewBox: "0 0 20 20",
|
7
6
|
...props,
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import withIcon from '../withIcon';
|
3
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
5
4
|
const IconHomeOutline = props => /*#__PURE__*/_jsxs("svg", {
|
6
5
|
viewBox: "0 0 20 20",
|
7
6
|
...props,
|