@bbl-digital/snorre 4.1.70 → 4.1.72
Sign up to get free protection for your applications and to get access to all the features.
- package/.husky/_/husky.sh +30 -30
- package/.prettierrc +6 -6
- package/.vscode/settings.json +3 -3
- package/README.md +3 -3
- package/dist/bundle.js +573 -573
- package/esm/app-shell/index.js +2 -2
- package/esm/core/Alert/styles.js +6 -6
- package/esm/core/AppLoader/styles.js +1 -1
- package/esm/core/Autocomplete/styles.js +18 -18
- package/esm/core/Banner/styles.js +4 -4
- package/esm/core/BarAndLineComposedChart/styles.js +1 -1
- package/esm/core/BarChartWithCustomizedEvent/styles.js +1 -1
- package/esm/core/Box/styles.js +7 -7
- package/esm/core/BoxedTable/DraggableRow/styles.js +5 -5
- package/esm/core/BoxedTable/HeaderCell/styles.js +2 -2
- package/esm/core/BoxedTable/RowCell/index.js +1 -1
- package/esm/core/BoxedTable/RowCell/styles.js +9 -9
- package/esm/core/BoxedTable/TableHeader/styles.js +1 -1
- package/esm/core/BoxedTable/TableRow/styles.js +8 -8
- package/esm/core/BoxedTable/styles.js +11 -11
- package/esm/core/Button/styles.js +19 -19
- package/esm/core/Calendar/CalendarEvent/styles.js +5 -5
- package/esm/core/Calendar/CalendarSmallEvent/styles.js +5 -5
- package/esm/core/Calendar/styles.js +5 -5
- package/esm/core/Card/styles.js +11 -11
- package/esm/core/Checkbox/styles.js +5 -5
- package/esm/core/CollapseList/styles.js +2 -2
- package/esm/core/CommentsTimeline/CommentLine/styles.js +4 -4
- package/esm/core/CommentsTimeline/styles.js +1 -1
- package/esm/core/CustomText/styles.js +2 -2
- package/esm/core/Datepicker/styles.js +9 -9
- package/esm/core/DatepickerRange/styles.js +9 -9
- package/esm/core/Divider/styles.js +5 -5
- package/esm/core/Dropdown/styles.js +3 -3
- package/esm/core/DropdownMenu/styles.js +3 -3
- package/esm/core/Editor/Editor.stories.js +56 -0
- package/esm/core/Editor/config.js +7 -0
- package/esm/core/Editor/index.js +113 -0
- package/esm/core/Editor/styles.js +43 -0
- 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/styles.js +14 -14
- package/esm/core/GoogleButton/styles.js +1 -1
- package/esm/core/Header/styles.js +7 -7
- package/esm/core/HighlightText/styles.js +1 -1
- package/esm/core/Html/styles.js +11 -11
- package/esm/core/Image/styles.js +6 -6
- package/esm/core/ImagePicker/IconWithBackground.js +1 -1
- package/esm/core/ImagePicker/UploadButton.js +1 -1
- package/esm/core/ImagePicker/styles.js +11 -11
- package/esm/core/ImageViewer/index.js +1 -1
- package/esm/core/ImageViewer/styles.js +7 -7
- package/esm/core/InfoButton/styles.js +9 -9
- package/esm/core/Input/styles.js +19 -19
- package/esm/core/Link/styles.js +10 -10
- package/esm/core/List/Item.js +1 -1
- package/esm/core/List/styles.js +11 -11
- package/esm/core/ListPager/styles.js +3 -3
- package/esm/core/Modal/ActionButtons/index.js +1 -1
- package/esm/core/Modal/styles.js +8 -8
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
- package/esm/core/NoticeCard/styles.js +4 -4
- package/esm/core/NotificationCounter/styles.js +1 -1
- package/esm/core/NotificationsMenu/NotificationRow/styles.js +3 -3
- package/esm/core/NotificationsMenu/styles.js +3 -3
- package/esm/core/PieChart/styles.js +2 -2
- package/esm/core/PreemptionCard/styles.js +3 -3
- package/esm/core/PreemptionCardLoading/styles.js +3 -3
- package/esm/core/QuillEditor/styles.js +3 -3
- package/esm/core/Radio/styles.js +4 -4
- package/esm/core/SearchFilter/index.js +1 -1
- package/esm/core/SearchFilter/styles.js +14 -14
- package/esm/core/SearchSelect/styles.js +5 -5
- package/esm/core/Select/index.js +1 -1
- package/esm/core/Select/styles.js +18 -18
- package/esm/core/SimpleBarChart/styles.js +1 -1
- package/esm/core/SimpleLineChart/styles.js +1 -1
- package/esm/core/Skeleton/styles.js +4 -4
- package/esm/core/Spinner/styles.js +5 -5
- package/esm/core/Stepper/MobileStep/styles.js +7 -7
- package/esm/core/Stepper/Step/index.js +1 -1
- package/esm/core/Stepper/Step/styles.js +5 -5
- package/esm/core/Stepper/styles.js +3 -3
- package/esm/core/TabBar/TabItem/styles.js +1 -1
- package/esm/core/TabBar/styles.js +1 -1
- package/esm/core/TabNav/TabNavItem/styles.js +5 -5
- package/esm/core/TabNav/styles.js +8 -8
- package/esm/core/Table/styles.js +16 -16
- package/esm/core/Tag/styles.js +13 -13
- package/esm/core/Text/styles.js +16 -16
- package/esm/core/Textarea/styles.js +7 -7
- package/esm/core/Timeline/TimelineStep/styles.js +6 -6
- package/esm/core/Timeline/styles.js +1 -1
- package/esm/core/Timepicker/index.js +3 -3
- package/esm/core/Timepicker/styles.js +7 -7
- package/esm/core/Tooltip/styles.js +2 -2
- package/esm/core/UnitIllustration/index.js +9 -9
- package/esm/core/UserMenu/styles.js +7 -7
- package/esm/core/Video/styles.js +1 -1
- package/esm/core/YearWheel/styles.js +3 -3
- package/esm/enums/Keyboard.js +2 -2
- package/esm/globals/styles/styles.js +1 -1
- package/esm/illustrations/styles.js +2 -2
- package/esm/layout/Footer/FooterButton/styles.js +1 -1
- package/esm/layout/Footer/FooterCol/styles.js +1 -1
- package/esm/layout/Footer/FooterGroup/styles.js +1 -1
- package/esm/layout/Footer/FooterLabel/styles.js +1 -1
- package/esm/layout/Footer/FooterLink/styles.js +1 -1
- package/esm/layout/Footer/styles.js +2 -2
- package/esm/layout/Layout/styles.js +1 -1
- package/esm/layout/LayoutShell/styles.js +8 -8
- package/esm/layout/Menu/AppPicker/styles.js +5 -5
- package/esm/layout/Menu/MainMenu/styles.js +2 -2
- package/esm/layout/Menu/MenuItem/styles.js +3 -3
- package/esm/layout/Menu/MenuSpacer/styles.js +1 -1
- package/esm/layout/Menu/MenuTop/styles.js +3 -3
- package/esm/layout/Menu/SecondaryMenu/styles.js +4 -4
- package/esm/layout/Menu/SecondaryMenuItem/styles.js +1 -1
- package/esm/layout/Menu/styles.js +1 -1
- package/esm/layout/Submenu/SubmenuItem/styles.js +3 -3
- package/esm/layout/Submenu/styles.js +11 -11
- package/esm/layout/Topbar/styles.js +1 -1
- package/esm/shared/components/SbIconGrid/index.js +1 -1
- package/esm/shared/components/VisuallyHidden/index.js +4 -4
- package/esm/shared/recharts/CustomLegend/styles.js +2 -2
- package/esm/shared/recharts/CustomTooltip/styles.js +3 -3
- package/esm/shared/types/LoadedType.js +1 -0
- package/esm/utils/time.js +14 -14
- package/esm/v2/core/Box/Box.stories.js +109 -0
- package/esm/v2/core/Box/index.js +73 -0
- package/esm/v2/core/Box/styles.js +54 -0
- package/esm/v2/core/Button/styles.js +19 -19
- package/esm/v2/core/ButtonsFilter/styles.js +1 -1
- package/esm/v2/core/Chip/styles.js +11 -11
- package/esm/v2/core/TabNav/TabContext.js +52 -0
- package/esm/v2/core/TabNav/TabNav.stories.js +304 -0
- package/esm/v2/core/TabNav/TabNavItem/index.js +101 -0
- package/esm/v2/core/TabNav/TabNavItem/styles.js +43 -0
- package/esm/v2/core/TabNav/index.js +123 -0
- package/esm/v2/core/TabNav/styles.js +58 -0
- package/esm/v2/core/TabNav/utils/useContainerDimensions.js +26 -0
- package/esm/v2/index.js +4 -1
- package/infrastructure/azure-pipelines.yml +34 -34
- package/jest.config.js +34 -34
- package/lib/app-shell/index.js +2 -2
- package/lib/core/Alert/styles.js +6 -6
- package/lib/core/AppLoader/styles.js +1 -1
- package/lib/core/Autocomplete/styles.d.ts.map +1 -1
- package/lib/core/Autocomplete/styles.js +18 -18
- package/lib/core/Banner/styles.d.ts.map +1 -1
- package/lib/core/Banner/styles.js +4 -4
- package/lib/core/BarAndLineComposedChart/styles.d.ts.map +1 -1
- package/lib/core/BarAndLineComposedChart/styles.js +1 -1
- package/lib/core/BarChartWithCustomizedEvent/styles.d.ts.map +1 -1
- package/lib/core/BarChartWithCustomizedEvent/styles.js +1 -1
- package/lib/core/Box/styles.d.ts.map +1 -1
- package/lib/core/Box/styles.js +7 -7
- package/lib/core/BoxedTable/DraggableRow/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/DraggableRow/styles.js +5 -5
- package/lib/core/BoxedTable/HeaderCell/styles.js +2 -2
- package/lib/core/BoxedTable/RowCell/index.js +1 -1
- package/lib/core/BoxedTable/RowCell/styles.js +9 -9
- package/lib/core/BoxedTable/TableHeader/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableHeader/styles.js +1 -1
- package/lib/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableRow/styles.js +8 -8
- package/lib/core/BoxedTable/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/styles.js +11 -11
- package/lib/core/Button/index.d.ts.map +1 -1
- package/lib/core/Button/styles.js +19 -19
- package/lib/core/Calendar/CalendarEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/styles.js +5 -5
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarSmallEvent/styles.js +5 -5
- package/lib/core/Calendar/styles.d.ts.map +1 -1
- package/lib/core/Calendar/styles.js +5 -5
- package/lib/core/Card/styles.js +11 -11
- package/lib/core/Checkbox/styles.js +5 -5
- package/lib/core/CollapseList/styles.d.ts.map +1 -1
- package/lib/core/CollapseList/styles.js +2 -2
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentLine/styles.js +4 -4
- package/lib/core/CommentsTimeline/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/styles.js +1 -1
- package/lib/core/CustomText/styles.d.ts.map +1 -1
- package/lib/core/CustomText/styles.js +2 -2
- package/lib/core/Datepicker/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/styles.js +9 -9
- package/lib/core/DatepickerRange/styles.d.ts.map +1 -1
- package/lib/core/DatepickerRange/styles.js +9 -9
- package/lib/core/Divider/styles.js +5 -5
- package/lib/core/Dropdown/styles.js +3 -3
- package/lib/core/DropdownMenu/styles.d.ts.map +1 -1
- package/lib/core/DropdownMenu/styles.js +3 -3
- package/lib/core/Editor/Editor.stories.d.ts +11 -0
- package/lib/core/Editor/Editor.stories.d.ts.map +1 -0
- package/lib/core/Editor/Editor.stories.js +56 -0
- package/lib/core/Editor/config.d.ts +6 -0
- package/lib/core/Editor/config.d.ts.map +1 -0
- package/lib/core/Editor/config.js +7 -0
- package/lib/core/Editor/index.d.ts +44 -0
- package/lib/core/Editor/index.d.ts.map +1 -0
- package/lib/core/Editor/index.js +113 -0
- package/lib/core/Editor/styles.d.ts +14 -0
- package/lib/core/Editor/styles.d.ts.map +1 -0
- package/lib/core/Editor/styles.js +43 -0
- 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/styles.d.ts.map +1 -1
- package/lib/core/FileInput/styles.js +14 -14
- package/lib/core/GoogleButton/styles.d.ts.map +1 -1
- package/lib/core/GoogleButton/styles.js +1 -1
- package/lib/core/Header/styles.js +7 -7
- package/lib/core/HighlightText/styles.d.ts.map +1 -1
- package/lib/core/HighlightText/styles.js +1 -1
- package/lib/core/Html/index.d.ts +1 -1
- package/lib/core/Html/index.d.ts.map +1 -1
- package/lib/core/Html/styles.js +11 -11
- package/lib/core/Image/styles.js +6 -6
- package/lib/core/ImagePicker/IconWithBackground.js +1 -1
- package/lib/core/ImagePicker/UploadButton.js +1 -1
- package/lib/core/ImagePicker/styles.js +11 -11
- package/lib/core/ImageViewer/index.js +1 -1
- package/lib/core/ImageViewer/styles.js +7 -7
- package/lib/core/InfoButton/styles.d.ts.map +1 -1
- package/lib/core/InfoButton/styles.js +9 -9
- package/lib/core/Input/styles.js +19 -19
- package/lib/core/Link/styles.d.ts.map +1 -1
- package/lib/core/Link/styles.js +10 -10
- package/lib/core/List/Item.js +1 -1
- package/lib/core/List/styles.js +11 -11
- package/lib/core/ListPager/styles.d.ts.map +1 -1
- package/lib/core/ListPager/styles.js +3 -3
- package/lib/core/Modal/ActionButtons/index.js +1 -1
- package/lib/core/Modal/index.d.ts.map +1 -1
- package/lib/core/Modal/styles.d.ts.map +1 -1
- package/lib/core/Modal/styles.js +8 -8
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
- package/lib/core/NoticeCard/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/styles.js +4 -4
- package/lib/core/NotificationCounter/styles.js +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/styles.js +3 -3
- package/lib/core/NotificationsMenu/styles.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/styles.js +3 -3
- package/lib/core/PieChart/styles.d.ts.map +1 -1
- package/lib/core/PieChart/styles.js +2 -2
- package/lib/core/PreemptionCard/styles.d.ts.map +1 -1
- package/lib/core/PreemptionCard/styles.js +3 -3
- package/lib/core/PreemptionCardLoading/styles.d.ts.map +1 -1
- package/lib/core/PreemptionCardLoading/styles.js +3 -3
- package/lib/core/QuillEditor/config.d.ts +3 -3
- package/lib/core/QuillEditor/styles.d.ts.map +1 -1
- package/lib/core/QuillEditor/styles.js +3 -3
- package/lib/core/Radio/styles.js +4 -4
- package/lib/core/SearchFilter/index.js +1 -1
- package/lib/core/SearchFilter/styles.d.ts.map +1 -1
- package/lib/core/SearchFilter/styles.js +14 -14
- package/lib/core/SearchSelect/styles.d.ts.map +1 -1
- package/lib/core/SearchSelect/styles.js +5 -5
- package/lib/core/Select/index.js +1 -1
- package/lib/core/Select/styles.d.ts.map +1 -1
- package/lib/core/Select/styles.js +18 -18
- package/lib/core/SimpleBarChart/styles.d.ts.map +1 -1
- package/lib/core/SimpleBarChart/styles.js +1 -1
- package/lib/core/SimpleLineChart/styles.d.ts.map +1 -1
- package/lib/core/SimpleLineChart/styles.js +1 -1
- package/lib/core/Skeleton/styles.d.ts.map +1 -1
- package/lib/core/Skeleton/styles.js +4 -4
- package/lib/core/Spinner/styles.js +5 -5
- package/lib/core/Stepper/MobileStep/styles.d.ts.map +1 -1
- package/lib/core/Stepper/MobileStep/styles.js +7 -7
- package/lib/core/Stepper/Step/index.js +1 -1
- package/lib/core/Stepper/Step/styles.d.ts.map +1 -1
- package/lib/core/Stepper/Step/styles.js +5 -5
- package/lib/core/Stepper/styles.d.ts.map +1 -1
- package/lib/core/Stepper/styles.js +3 -3
- package/lib/core/TabBar/TabItem/styles.d.ts.map +1 -1
- package/lib/core/TabBar/TabItem/styles.js +1 -1
- package/lib/core/TabBar/styles.d.ts.map +1 -1
- package/lib/core/TabBar/styles.js +1 -1
- package/lib/core/TabNav/TabNavItem/styles.d.ts.map +1 -1
- package/lib/core/TabNav/TabNavItem/styles.js +5 -5
- package/lib/core/TabNav/styles.d.ts.map +1 -1
- package/lib/core/TabNav/styles.js +8 -8
- package/lib/core/Table/styles.d.ts.map +1 -1
- package/lib/core/Table/styles.js +16 -16
- package/lib/core/Tag/styles.js +13 -13
- package/lib/core/Text/styles.js +16 -16
- package/lib/core/Textarea/styles.d.ts.map +1 -1
- package/lib/core/Textarea/styles.js +7 -7
- package/lib/core/Timeline/TimelineStep/styles.d.ts.map +1 -1
- package/lib/core/Timeline/TimelineStep/styles.js +6 -6
- package/lib/core/Timeline/styles.d.ts.map +1 -1
- package/lib/core/Timeline/styles.js +1 -1
- package/lib/core/Timepicker/index.js +3 -3
- package/lib/core/Timepicker/styles.d.ts.map +1 -1
- package/lib/core/Timepicker/styles.js +7 -7
- package/lib/core/Tooltip/styles.js +2 -2
- package/lib/core/UnitIllustration/index.js +9 -9
- package/lib/core/UserMenu/styles.d.ts.map +1 -1
- package/lib/core/UserMenu/styles.js +7 -7
- package/lib/core/Video/styles.d.ts.map +1 -1
- package/lib/core/Video/styles.js +1 -1
- package/lib/core/YearWheel/styles.d.ts.map +1 -1
- package/lib/core/YearWheel/styles.js +3 -3
- package/lib/enums/Keyboard.js +2 -2
- package/lib/globals/styles/styles.js +1 -1
- package/lib/illustrations/styles.js +2 -2
- package/lib/layout/Footer/FooterButton/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterButton/styles.js +1 -1
- package/lib/layout/Footer/FooterCol/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterCol/styles.js +1 -1
- package/lib/layout/Footer/FooterGroup/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterGroup/styles.js +1 -1
- package/lib/layout/Footer/FooterLabel/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterLabel/styles.js +1 -1
- package/lib/layout/Footer/FooterLink/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterLink/styles.js +1 -1
- package/lib/layout/Footer/styles.d.ts.map +1 -1
- package/lib/layout/Footer/styles.js +2 -2
- package/lib/layout/Layout/styles.d.ts.map +1 -1
- package/lib/layout/Layout/styles.js +1 -1
- package/lib/layout/LayoutShell/styles.d.ts.map +1 -1
- package/lib/layout/LayoutShell/styles.js +8 -8
- package/lib/layout/Menu/AppPicker/styles.d.ts.map +1 -1
- package/lib/layout/Menu/AppPicker/styles.js +5 -5
- package/lib/layout/Menu/MainMenu/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MainMenu/styles.js +2 -2
- package/lib/layout/Menu/MenuItem/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuItem/styles.js +3 -3
- package/lib/layout/Menu/MenuSpacer/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuSpacer/styles.js +1 -1
- 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/styles.d.ts.map +1 -1
- package/lib/layout/Menu/SecondaryMenu/styles.js +4 -4
- package/lib/layout/Menu/SecondaryMenuItem/styles.js +1 -1
- package/lib/layout/Menu/styles.d.ts.map +1 -1
- package/lib/layout/Menu/styles.js +1 -1
- package/lib/layout/Submenu/SubmenuItem/styles.js +3 -3
- package/lib/layout/Submenu/styles.d.ts.map +1 -1
- package/lib/layout/Submenu/styles.js +11 -11
- package/lib/layout/Topbar/styles.js +1 -1
- package/lib/shared/components/SbIconGrid/index.js +1 -1
- package/lib/shared/components/VisuallyHidden/index.d.ts.map +1 -1
- package/lib/shared/components/VisuallyHidden/index.js +4 -4
- package/lib/shared/recharts/CustomLegend/styles.d.ts.map +1 -1
- package/lib/shared/recharts/CustomLegend/styles.js +2 -2
- package/lib/shared/recharts/CustomTooltip/styles.d.ts.map +1 -1
- package/lib/shared/recharts/CustomTooltip/styles.js +3 -3
- package/lib/shared/types/LoadedType.d.ts +7 -0
- package/lib/shared/types/LoadedType.d.ts.map +1 -0
- package/lib/shared/types/LoadedType.js +1 -0
- package/lib/utils/time.js +14 -14
- package/lib/v2/Memberbenefits/MemberbenefitsCard/MemberbenefitsCard.stories.d.ts +1 -1
- package/lib/v2/Memberbenefits/MemberbenefitsCard/MemberbenefitsCard.stories.d.ts.map +1 -1
- package/lib/v2/core/Box/Box.stories.d.ts +16 -0
- package/lib/v2/core/Box/Box.stories.d.ts.map +1 -0
- package/lib/v2/core/Box/Box.stories.js +109 -0
- package/lib/v2/core/Box/index.d.ts +37 -0
- package/lib/v2/core/Box/index.d.ts.map +1 -0
- package/lib/v2/core/Box/index.js +73 -0
- package/lib/v2/core/Box/styles.d.ts +71 -0
- package/lib/v2/core/Box/styles.d.ts.map +1 -0
- package/lib/v2/core/Box/styles.js +54 -0
- package/lib/v2/core/Button/index.d.ts.map +1 -1
- package/lib/v2/core/Button/styles.js +19 -19
- package/lib/v2/core/ButtonsFilter/ButtonsFilter.stories.d.ts +1 -1
- package/lib/v2/core/ButtonsFilter/ButtonsFilter.stories.d.ts.map +1 -1
- package/lib/v2/core/ButtonsFilter/styles.d.ts.map +1 -1
- package/lib/v2/core/ButtonsFilter/styles.js +1 -1
- package/lib/v2/core/Chip/Chip.stories.d.ts +1 -1
- package/lib/v2/core/Chip/Chip.stories.d.ts.map +1 -1
- package/lib/v2/core/Chip/styles.d.ts.map +1 -1
- package/lib/v2/core/Chip/styles.js +11 -11
- package/lib/v2/core/TabNav/TabContext.d.ts +19 -0
- package/lib/v2/core/TabNav/TabContext.d.ts.map +1 -0
- package/lib/v2/core/TabNav/TabContext.js +52 -0
- package/lib/v2/core/TabNav/TabNav.stories.d.ts +48 -0
- package/lib/v2/core/TabNav/TabNav.stories.d.ts.map +1 -0
- package/lib/v2/core/TabNav/TabNav.stories.js +304 -0
- package/lib/v2/core/TabNav/TabNavItem/index.d.ts +37 -0
- package/lib/v2/core/TabNav/TabNavItem/index.d.ts.map +1 -0
- package/lib/v2/core/TabNav/TabNavItem/index.js +101 -0
- package/lib/v2/core/TabNav/TabNavItem/styles.d.ts +27 -0
- package/lib/v2/core/TabNav/TabNavItem/styles.d.ts.map +1 -0
- package/lib/v2/core/TabNav/TabNavItem/styles.js +43 -0
- package/lib/v2/core/TabNav/index.d.ts +29 -0
- package/lib/v2/core/TabNav/index.d.ts.map +1 -0
- package/lib/v2/core/TabNav/index.js +123 -0
- package/lib/v2/core/TabNav/styles.d.ts +22 -0
- package/lib/v2/core/TabNav/styles.d.ts.map +1 -0
- package/lib/v2/core/TabNav/styles.js +58 -0
- package/lib/v2/core/TabNav/utils/useContainerDimensions.d.ts +8 -0
- package/lib/v2/core/TabNav/utils/useContainerDimensions.d.ts.map +1 -0
- package/lib/v2/core/TabNav/utils/useContainerDimensions.js +26 -0
- package/lib/v2/index.d.ts +4 -1
- package/lib/v2/index.d.ts.map +1 -1
- package/lib/v2/index.js +4 -1
- package/package.json +1 -1
- package/rollup.config.js +13 -13
- package/theme-bbls.js +467 -467
- package/theme-generator.js +448 -448
- package/theme-helpers.js +62 -62
- package/vite.config.js +6 -6
- package/esm/globals/styles/quill.module.js +0 -1
- package/lib/globals/styles/quill.module.d.ts +0 -2
- package/lib/globals/styles/quill.module.d.ts.map +0 -1
- package/lib/globals/styles/quill.module.js +0 -1
@@ -0,0 +1,123 @@
|
|
1
|
+
/** @jsxImportSource @emotion/react */
|
2
|
+
import React from 'react';
|
3
|
+
import { useTheme } from '@emotion/react';
|
4
|
+
import { TabContextProvider, TabContext } from './TabContext';
|
5
|
+
import { styles, TabNavWrapper, TabNavActions, SelectWrapper, SelectLinkWrapper } from './styles';
|
6
|
+
import { useContainerDimensions } from './utils/useContainerDimensions';
|
7
|
+
import { useIsMobile } from '../../../hooks/useIsMobile';
|
8
|
+
import Select, { Option } from '../../../core/Select';
|
9
|
+
import Link from '../../../core/Link';
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
11
|
+
const TabNav = ({
|
12
|
+
value,
|
13
|
+
children,
|
14
|
+
onChange,
|
15
|
+
css,
|
16
|
+
maxWidth,
|
17
|
+
vertical,
|
18
|
+
actions,
|
19
|
+
className,
|
20
|
+
breakpoint
|
21
|
+
}) => {
|
22
|
+
const isMobile = useIsMobile(breakpoint);
|
23
|
+
const theme = useTheme();
|
24
|
+
|
25
|
+
// Container dimensions
|
26
|
+
const ref = React.useRef(null);
|
27
|
+
const {
|
28
|
+
width: containerWidth
|
29
|
+
} = useContainerDimensions(ref);
|
30
|
+
|
31
|
+
// Button dimensions
|
32
|
+
const buttonRef = React.useRef(null);
|
33
|
+
const {
|
34
|
+
width: actionsWidth
|
35
|
+
} = useContainerDimensions(buttonRef);
|
36
|
+
const values = React.Children.map(children, child => child !== null && child.props)?.filter(Boolean) || [];
|
37
|
+
const displayNameFromValue = value => {
|
38
|
+
const item = values.find(item => item.value === value);
|
39
|
+
return item?.displayText || String(value);
|
40
|
+
};
|
41
|
+
const valueWithSelectItemIndex = values.findIndex(item => item.selectItems?.length);
|
42
|
+
const listOfSelectedItems = items => {
|
43
|
+
if (!items) return [];
|
44
|
+
return items.map(prop => ({
|
45
|
+
...prop
|
46
|
+
}));
|
47
|
+
};
|
48
|
+
if (valueWithSelectItemIndex > -1) {
|
49
|
+
const selectedItems = values[valueWithSelectItemIndex].selectItems;
|
50
|
+
|
51
|
+
// If we have no actual selectedItems, dont show any label while in the mobile/dropdown version
|
52
|
+
const isEverySelectedItemDisabledOrLink = Number(selectedItems?.length) >= 1 && selectedItems?.every(item => item.disabled || item.onClick);
|
53
|
+
if (isEverySelectedItemDisabledOrLink) {
|
54
|
+
const itemsWithOnClick = selectedItems?.filter(item => item.onClick) || [];
|
55
|
+
|
56
|
+
// Remove valueWithSelectItemIndex from the values array, but add on itemsWithOnClick in the list
|
57
|
+
values.splice(valueWithSelectItemIndex, 1, ...listOfSelectedItems(itemsWithOnClick));
|
58
|
+
} else {
|
59
|
+
values.splice(valueWithSelectItemIndex + 1, 0, ...listOfSelectedItems(selectedItems));
|
60
|
+
}
|
61
|
+
}
|
62
|
+
return _jsx(TabContextProvider, {
|
63
|
+
onChange: onChange,
|
64
|
+
value: value || values?.[0].value,
|
65
|
+
children: _jsx(TabContext.Consumer, {
|
66
|
+
children: ({
|
67
|
+
width: childrenTotalWidth,
|
68
|
+
setActive,
|
69
|
+
active
|
70
|
+
}) => {
|
71
|
+
if (breakpoint && isMobile || !breakpoint && actionsWidth + childrenTotalWidth > containerWidth) {
|
72
|
+
// Render dropdown instead of tabs
|
73
|
+
|
74
|
+
return _jsxs(SelectWrapper, {
|
75
|
+
children: [_jsx(Select, {
|
76
|
+
input: true,
|
77
|
+
width: "auto",
|
78
|
+
text: "Velg",
|
79
|
+
selectedValue: displayNameFromValue(String(active)) || '0',
|
80
|
+
onChange: ({
|
81
|
+
value
|
82
|
+
}) => value && setActive(value),
|
83
|
+
className: className,
|
84
|
+
maxHeight: "40vh",
|
85
|
+
children: values.map(({
|
86
|
+
displayText,
|
87
|
+
value: v,
|
88
|
+
selectItems,
|
89
|
+
onClick,
|
90
|
+
indent,
|
91
|
+
disabled
|
92
|
+
}) => onClick ? _jsx(SelectLinkWrapper, {
|
93
|
+
children: _jsx(Link, {
|
94
|
+
nopadding: true,
|
95
|
+
small: true,
|
96
|
+
onClick: onClick,
|
97
|
+
children: displayText || v
|
98
|
+
})
|
99
|
+
}, v) : _jsx(Option, {
|
100
|
+
value: v,
|
101
|
+
indent: indent,
|
102
|
+
disabled: disabled || Boolean(selectItems?.length),
|
103
|
+
children: displayText || v
|
104
|
+
}, v))
|
105
|
+
}), actions]
|
106
|
+
});
|
107
|
+
}
|
108
|
+
return _jsxs(TabNavWrapper, {
|
109
|
+
ref: ref,
|
110
|
+
theme: theme,
|
111
|
+
className: className,
|
112
|
+
css: () => [vertical && styles.vertical, maxWidth && styles.maxWidth(maxWidth), css],
|
113
|
+
children: [children, actions && _jsx(TabNavActions, {
|
114
|
+
ref: buttonRef,
|
115
|
+
children: actions
|
116
|
+
})]
|
117
|
+
});
|
118
|
+
}
|
119
|
+
})
|
120
|
+
});
|
121
|
+
};
|
122
|
+
export { TabNav };
|
123
|
+
export default TabNav;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
export declare const TabNavWrapper: import("@emotion/styled").StyledComponent<{
|
2
|
+
theme?: import("@emotion/react").Theme;
|
3
|
+
as?: React.ElementType;
|
4
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
5
|
+
export declare const TabNavActions: import("@emotion/styled").StyledComponent<{
|
6
|
+
theme?: import("@emotion/react").Theme;
|
7
|
+
as?: React.ElementType;
|
8
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
9
|
+
export declare const SelectLinkWrapper: import("@emotion/styled").StyledComponent<{
|
10
|
+
theme?: import("@emotion/react").Theme;
|
11
|
+
as?: React.ElementType;
|
12
|
+
}, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
13
|
+
export declare const SelectWrapper: import("@emotion/styled").StyledComponent<{
|
14
|
+
theme?: import("@emotion/react").Theme;
|
15
|
+
as?: React.ElementType;
|
16
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
17
|
+
export declare const styles: {
|
18
|
+
maxWidth: (width: number) => import("@emotion/react").SerializedStyles;
|
19
|
+
vertical: import("@emotion/react").SerializedStyles;
|
20
|
+
};
|
21
|
+
export default styles;
|
22
|
+
//# sourceMappingURL=styles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/v2/core/TabNav/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;eA8BvB,WAAW;yGAnBb,CAAA;AAED,eAAO,MAAM,aAAa;;eAiBvB,WAAW;2GAJb,CAAA;AAED,eAAO,MAAM,iBAAiB;;eAE3B,WAAW;yGAF8B,CAAA;AAE5C,eAAO,MAAM,aAAa;;eAAvB,WAAW;yGAUb,CAAA;AAED,eAAO,MAAM,MAAM;sBACC,MAAM;;CAsBzB,CAAA;AAED,eAAe,MAAM,CAAA"}
|
@@ -0,0 +1,58 @@
|
|
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
|
+
import bp from '../../../globals/styles/breakpoints';
|
5
|
+
var _ref = process.env.NODE_ENV === "production" ? {
|
6
|
+
name: "1qytrcl",
|
7
|
+
styles: "display:flex;gap:0.5rem;width:100%;position:relative;padding:0;margin:0;align-content:space-between;align-items:flex-end"
|
8
|
+
} : {
|
9
|
+
name: "mniq5c-TabNavWrapper",
|
10
|
+
styles: "display:flex;gap:0.5rem;width:100%;position:relative;padding:0;margin:0;align-content:space-between;align-items:flex-end;label:TabNavWrapper;",
|
11
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy92Mi9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS2dCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy92Mi9jb3JlL1RhYk5hdi9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ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7XG4gICAgdGV4dC1hbGlnbjogbGVmdDtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3Qgc3R5bGVzID0ge1xuICBtYXhXaWR0aDogKHdpZHRoOiBudW1iZXIpID0+IGNzc2BcbiAgICBtYXgtd2lkdGg6ICR7d2lkdGh9cHg7XG4gIGAsXG5cbiAgdmVydGljYWw6IGNzc2BcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuXG4gICAgJjphZnRlciB7XG4gICAgICBsZWZ0OiAwO1xuICAgICAgdG9wOiAwO1xuICAgICAgd2lkdGg6IDRweDtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5cbiAgICAmIGJ1dHRvbjo6YWZ0ZXIsXG4gICAgJiBidXR0b246aG92ZXI6OmFmdGVyIHtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgIHdpZHRoOiA0cHg7XG4gICAgICB0b3A6IDA7XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcbiJdfQ== */",
|
12
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
13
|
+
};
|
14
|
+
export const TabNavWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
15
|
+
target: "e2i76m83"
|
16
|
+
} : {
|
17
|
+
target: "e2i76m83",
|
18
|
+
label: "TabNavWrapper"
|
19
|
+
})(props => _ref, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy92Mi9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSTZCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy92Mi9jb3JlL1RhYk5hdi9zdH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CBhbGlnbiBjb3JyZWN0bHkgYW5kIG5vdCBvdmVyZmxvdy5cbiAgJiA+IHNwYW4gPiBkaXYgPiB1bCA+IGxpID4gYnV0dG9uIHtcbiAgICB3b3JkLWJyZWFrOiBicmVhay1hbGw7XG4gICAgdGV4dC1hbGlnbjogbGVmdDtcbiAgfVxuYFxuXG5leHBvcnQgY29uc3Qgc3R5bGVzID0ge1xuICBtYXhXaWR0aDogKHdpZHRoOiBudW1iZXIpID0+IGNzc2BcbiAgICBtYXgtd2lkdGg6ICR7d2lkdGh9cHg7XG4gIGAsXG5cbiAgdmVydGljYWw6IGNzc2BcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuXG4gICAgJjphZnRlciB7XG4gICAgICBsZWZ0OiAwO1xuICAgICAgdG9wOiAwO1xuICAgICAgd2lkdGg6IDRweDtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5cbiAgICAmIGJ1dHRvbjo6YWZ0ZXIsXG4gICAgJiBidXR0b246aG92ZXI6OmFmdGVyIHtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgIHdpZHRoOiA0cHg7XG4gICAgICB0b3A6IDA7XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcbiJdfQ== */");
|
20
|
+
export const TabNavActions = /*#__PURE__*/_styled("span", process.env.NODE_ENV === "production" ? {
|
21
|
+
target: "e2i76m82"
|
22
|
+
} : {
|
23
|
+
target: "e2i76m82",
|
24
|
+
label: "TabNavActions"
|
25
|
+
})("position:absolute;right:0;bottom:1em;@media (max-width: ", bp.medium, "){bottom:0;padding:1em;&:after{display:none;}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy92Mi9jb3Jl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lsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICBnYXA6IDAuNWVtO1xuXG4gIC8vIFRvIG1ha2UgdGhlIHRlc3QgYWxpZ24gY29ycmVjdGx5IGFuZCBub3Qgb3ZlcmZsb3cuXG4gICYgPiBzcGFuID4gZGl2ID4gdWwgPiBsaSA+IGJ1dHRvbiB7XG4gICAgd29yZC1icmVhazogYnJlYWstYWxsO1xuICAgIHRleHQtYWxpZ246IGxlZnQ7XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IHN0eWxlcyA9IHtcbiAgbWF4V2lkdGg6ICh3aWR0aDogbnVtYmVyKSA9PiBjc3NgXG4gICAgbWF4LXdpZHRoOiAke3dpZHRofXB4O1xuICBgLFxuXG4gIHZlcnRpY2FsOiBjc3NgXG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcblxuICAgICY6YWZ0ZXIge1xuICAgICAgbGVmdDogMDtcbiAgICAgIHRvcDogMDtcbiAgICAgIHdpZHRoOiA0cHg7XG4gICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgfVxuXG4gICAgJiBidXR0b246OmFmdGVyLFxuICAgICYgYnV0dG9uOmhvdmVyOjphZnRlciB7XG4gICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgICB3aWR0aDogNHB4O1xuICAgICAgdG9wOiAwO1xuICAgIH1cbiAgYCxcbn1cblxuZXhwb3J0IGRlZmF1bHQgc3R5bGVzXG4iXX0= */"));
|
26
|
+
export const SelectLinkWrapper = /*#__PURE__*/_styled("li", process.env.NODE_ENV === "production" ? {
|
27
|
+
target: "e2i76m81"
|
28
|
+
} : {
|
29
|
+
target: "e2i76m81",
|
30
|
+
label: "SelectLinkWrapper"
|
31
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uI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gc3R5bGVkLmxpYGBcblxuZXhwb3J0IGNvbnN0IFNlbGVjdFdyYXBwZXIgPSBzdHlsZWQuZGl2YFxuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICBnYXA6IDAuNWVtO1xuXG4gIC8vIFRvIG1ha2UgdGhlIHRlc3QgYWxpZ24gY29ycmVjdGx5IGFuZCBub3Qgb3ZlcmZsb3cuXG4gICYgPiBzcGFuID4gZGl2ID4gdWwgPiBsaSA+IGJ1dHRvbiB7XG4gICAgd29yZC1icmVhazogYnJlYWstYWxsO1xuICAgIHRleHQtYWxpZ246IGxlZnQ7XG4gIH1cbmBcblxuZXhwb3J0IGNvbnN0IHN0eWxlcyA9IHtcbiAgbWF4V2lkdGg6ICh3aWR0aDogbnVtYmVyKSA9PiBjc3NgXG4gICAgbWF4LXdpZHRoOiAke3dpZHRofXB4O1xuICBgLFxuXG4gIHZlcnRpY2FsOiBjc3NgXG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcblxuICAgICY6YWZ0ZXIge1xuICAgICAgbGVmdDogMDtcbiAgICAgIHRvcDogMDtcbiAgICAgIHdpZHRoOiA0cHg7XG4gICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgfVxuXG4gICAgJiBidXR0b246OmFmdGVyLFxuICAgICYgYnV0dG9uOmhvdmVyOjphZnRlciB7XG4gICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgICB3aWR0aDogNHB4O1xuICAgICAgdG9wOiAwO1xuICAgIH1cbiAgYCxcbn1cblxuZXhwb3J0IGRlZmF1bHQgc3R5bGVzXG4iXX0= */");
|
32
|
+
export const SelectWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
33
|
+
target: "e2i76m80"
|
34
|
+
} : {
|
35
|
+
target: "e2i76m80",
|
36
|
+
label: "SelectWrapper"
|
37
|
+
})(process.env.NODE_ENV === "production" ? {
|
38
|
+
name: "1cickod",
|
39
|
+
styles: "display:flex;flex-direction:column;gap:0.5em;&>span>div>ul>li>button{word-break:break-all;text-align:left;}"
|
40
|
+
} : {
|
41
|
+
name: "1cickod",
|
42
|
+
styles: "display:flex;flex-direction:column;gap:0.5em;&>span>div>ul>li>button{word-break:break-all;text-align:left;}",
|
43
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy92Mi9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0N1QyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvdjIvY29yZS9UYWJOYXYvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCBicCBmcm9tICcuLi8uLi8uLi9nbG9iYWxzL3N0eWxlcy9icmVha3BvaW50cydcblxuZXhwb3J0IGNvbnN0IFRhYk5hdldyYXBwZXIgPSBzdHlsZWQuZGl2KFxuICAocHJvcHMpID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGdhcDogMC41cmVtO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBwYWRkaW5nOiAwO1xuICAgIG1hcmdpbjogMDtcbiAgICBhbGlnbi1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgIGFsaWduLWl0ZW1zOiBmbGV4LWVuZDtcbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgVGFiTmF2QWN0aW9ucyA9IHN0eWxlZC5zcGFuYFxuICBwb3NpdGlvbjogYWJzb2x1dGU7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R0aDogNHB4O1xuICAgICAgdG9wOiAwO1xuICAgIH1cbiAgYCxcbn1cblxuZXhwb3J0IGRlZmF1bHQgc3R5bGVzXG4iXX0= */",
|
44
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
45
|
+
});
|
46
|
+
export const styles = {
|
47
|
+
maxWidth: width => /*#__PURE__*/css("max-width:", width, "px;" + (process.env.NODE_ENV === "production" ? "" : ";label:maxWidth;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy92Mi9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBK0NrQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvdjIvY29yZS9UYWJOYXYvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCBicCBmcm9tICcuLi8uLi8uLi9nbG9iYWxzL3N0eWxlcy9icmVha3BvaW50cydcblxuZXhwb3J0IGNvbnN0IFRhYk5hdldyYXBwZXIgPSBzdHlsZWQuZGl2KFxuICAocHJvcHMpID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGdhcDogMC41cmVtO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBwYWRkaW5nOiAwO1xuICAgIG1hcmdpbjogMDtcbiAgICBhbGlnbi1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgIGFsaWduLWl0ZW1zOiBmbGV4LWVuZDtcbiAgYFxuKVxuXG5leHBvcnQgY29uc3QgVGFiTmF2QW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mhvdmVyOjphZnRlciB7XG4gICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgICB3aWR0aDogNHB4O1xuICAgICAgdG9wOiAwO1xuICAgIH1cbiAgYCxcbn1cblxuZXhwb3J0IGRlZmF1bHQgc3R5bGVzXG4iXX0= */"),
|
48
|
+
vertical: process.env.NODE_ENV === "production" ? {
|
49
|
+
name: "1yrkr6r",
|
50
|
+
styles: "flex-direction:column;align-items:flex-start;&:after{left:0;top:0;width:4px;height:100%;}& button::after,& button:hover::after{height:100%;width:4px;top:0;}"
|
51
|
+
} : {
|
52
|
+
name: "qxb6uv-vertical",
|
53
|
+
styles: "flex-direction:column;align-items:flex-start;&:after{left:0;top:0;width:4px;height:100%;}& button::after,& button:hover::after{height:100%;width:4px;top:0;};label:vertical;",
|
54
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy92Mi9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbURlIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy92Mi9jb3JlL1RhYk5hdi9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuXG5leHBvcnQgY29uc3QgVGFiTmF2V3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wcykgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZ2FwOiAwLjVyZW07XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgcG9zaXRpb246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ZW1zOiBmbGV4LXN0YXJ0O1xuXG4gICAgJjphZnRlciB7XG4gICAgICBsZWZ0OiAwO1xuICAgICAgdG9wOiAwO1xuICAgICAgd2lkdGg6IDRweDtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5cbiAgICAmIGJ1dHRvbjo6YWZ0ZXIsXG4gICAgJiBidXR0b246aG92ZXI6OmFmdGVyIHtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgIHdpZHRoOiA0cHg7XG4gICAgICB0b3A6IDA7XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcbiJdfQ== */",
|
55
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
56
|
+
}
|
57
|
+
};
|
58
|
+
export default styles;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare const useContainerDimensions: (ref: React.RefObject<HTMLButtonElement | HTMLDivElement | HTMLSpanElement>) => {
|
2
|
+
width: number;
|
3
|
+
height: number;
|
4
|
+
top: number;
|
5
|
+
left: number;
|
6
|
+
bottom: number;
|
7
|
+
};
|
8
|
+
//# sourceMappingURL=useContainerDimensions.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useContainerDimensions.d.ts","sourceRoot":"","sources":["../../../../../src/packages/v2/core/TabNav/utils/useContainerDimensions.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,QAC5B,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,cAAc,GAAG,eAAe,CAAC;;;;;;CAkC3E,CAAA"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { useCallback, useEffect, useState } from 'react';
|
2
|
+
export const useContainerDimensions = ref => {
|
3
|
+
const [dimensions, setDimensions] = useState({
|
4
|
+
width: 0,
|
5
|
+
height: 0,
|
6
|
+
top: 0,
|
7
|
+
left: 0,
|
8
|
+
bottom: 0
|
9
|
+
});
|
10
|
+
const getDimensions = useCallback(() => ({
|
11
|
+
width: ref.current?.offsetWidth || 0,
|
12
|
+
height: ref.current?.offsetHeight || 0,
|
13
|
+
top: ref.current?.offsetTop || 0,
|
14
|
+
left: ref.current?.offsetLeft || 0,
|
15
|
+
bottom: Number(ref.current?.offsetTop) + Number(ref.current?.offsetHeight) || 0
|
16
|
+
}), [ref]);
|
17
|
+
useEffect(() => {
|
18
|
+
const handleResize = () => setDimensions(getDimensions());
|
19
|
+
if (ref.current) setDimensions(getDimensions());
|
20
|
+
window.addEventListener('resize', handleResize);
|
21
|
+
return () => {
|
22
|
+
window.removeEventListener('resize', handleResize);
|
23
|
+
};
|
24
|
+
}, [getDimensions, ref]);
|
25
|
+
return dimensions;
|
26
|
+
};
|
package/lib/v2/index.d.ts
CHANGED
@@ -2,5 +2,8 @@ import Chip from './core/Chip';
|
|
2
2
|
import Button from './core/Button';
|
3
3
|
import ButtonsFilter from './core/ButtonsFilter';
|
4
4
|
import { MemberBenefitsCard } from './Memberbenefits/MemberbenefitsCard';
|
5
|
-
|
5
|
+
import Box from './core/Box';
|
6
|
+
import TabNav from './core/TabNav';
|
7
|
+
import TabNavItem from './core/TabNav';
|
8
|
+
export { Chip, Button, ButtonsFilter, MemberBenefitsCard, Box, TabNav, TabNavItem, };
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/v2/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/packages/v2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,aAAa,CAAA;AAC9B,OAAO,MAAM,MAAM,eAAe,CAAA;AAClC,OAAO,aAAa,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/packages/v2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,aAAa,CAAA;AAC9B,OAAO,MAAM,MAAM,eAAe,CAAA;AAClC,OAAO,aAAa,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AACxE,OAAO,GAAG,MAAM,YAAY,CAAA;AAC5B,OAAO,MAAM,MAAM,eAAe,CAAA;AAClC,OAAO,UAAU,MAAM,eAAe,CAAA;AAEtC,OAAO,EACL,IAAI,EACJ,MAAM,EACN,aAAa,EACb,kBAAkB,EAClB,GAAG,EACH,MAAM,EACN,UAAU,GACX,CAAA"}
|
package/lib/v2/index.js
CHANGED
@@ -2,4 +2,7 @@ import Chip from './core/Chip';
|
|
2
2
|
import Button from './core/Button';
|
3
3
|
import ButtonsFilter from './core/ButtonsFilter';
|
4
4
|
import { MemberBenefitsCard } from './Memberbenefits/MemberbenefitsCard';
|
5
|
-
|
5
|
+
import Box from './core/Box';
|
6
|
+
import TabNav from './core/TabNav';
|
7
|
+
import TabNavItem from './core/TabNav';
|
8
|
+
export { Chip, Button, ButtonsFilter, MemberBenefitsCard, Box, TabNav, TabNavItem };
|
package/package.json
CHANGED
package/rollup.config.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
import commonjs from '@rollup/plugin-commonjs'
|
2
|
-
|
3
|
-
const config = {
|
4
|
-
input: 'esm/index.js',
|
5
|
-
output: {
|
6
|
-
file: 'dist/bundle.js',
|
7
|
-
format: 'umd',
|
8
|
-
name: 'Snorre',
|
9
|
-
},
|
10
|
-
plugins: [commonjs()],
|
11
|
-
}
|
12
|
-
|
13
|
-
export default config
|
1
|
+
import commonjs from '@rollup/plugin-commonjs'
|
2
|
+
|
3
|
+
const config = {
|
4
|
+
input: 'esm/index.js',
|
5
|
+
output: {
|
6
|
+
file: 'dist/bundle.js',
|
7
|
+
format: 'umd',
|
8
|
+
name: 'Snorre',
|
9
|
+
},
|
10
|
+
plugins: [commonjs()],
|
11
|
+
}
|
12
|
+
|
13
|
+
export default config
|