@bbl-digital/snorre 4.1.0-beta.2 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +2331 -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 +284 -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 +284 -0
- package/lib/core/QuillEditor/models.d.ts +80 -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
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
import Link from '.';
|
3
3
|
declare const meta: Meta<typeof Link>;
|
4
4
|
export default meta;
|
5
|
-
|
5
|
+
type Story = StoryObj<typeof Link>;
|
6
6
|
export declare const Default: Story;
|
7
7
|
export declare const ButtonLink: Story;
|
8
8
|
export declare const NoStyle: Story;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Link.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Link/Link.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,IAAI,MAAM,GAAG,CAAA;AAEpB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAGnB,CAAA;AAET,eAAe,IAAI,CAAA;AAEnB,
|
1
|
+
{"version":3,"file":"Link.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Link/Link.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,IAAI,MAAM,GAAG,CAAA;AAEpB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAGnB,CAAA;AAET,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAOzB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAO1B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAA"}
|
package/lib/core/Link/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
2
2
|
import React from 'react';
|
3
3
|
import { Props as ButtonOrLinkProps } from '../private/ButtonOrLink';
|
4
|
-
|
4
|
+
type IProps = ButtonOrLinkProps & {
|
5
5
|
/** Prop for external link, adds icon to link */
|
6
6
|
external?: boolean;
|
7
7
|
/** Link target */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Link/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAqB,EACnB,KAAK,IAAI,iBAAiB,EAC3B,MAAM,yBAAyB,CAAA;AAgBhC,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Link/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAqB,EACnB,KAAK,IAAI,iBAAiB,EAC3B,MAAM,yBAAyB,CAAA;AAgBhC,KAAK,MAAM,GAAG,iBAAiB,GAAG;IAChC,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kBAAkB;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,4BAA4B;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,gCAAgC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,sBAAsB;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,wBAAwB;IACxB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA4C1B,CAAA;AAED,eAAe,IAAI,CAAA"}
|
package/lib/core/Link/index.js
CHANGED
@@ -4,8 +4,7 @@ import ButtonOrLink from '../private/ButtonOrLink';
|
|
4
4
|
import IconExternalLink from '../../icons/General/IconExternalLink';
|
5
5
|
import { IconLinkWrapper, NoStyle, LinkStyle, dangerStyles, noPadding, setAlign, smallText, underlineNone, setWordBreak, setDisabled } from './styles';
|
6
6
|
import { VisuallyHidden } from 'react-aria';
|
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 Link = props => {
|
10
9
|
const {
|
11
10
|
disabled,
|
@@ -1,16 +1,15 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { IAppTheme } from '../../app-shell/theme';
|
3
2
|
export declare const IconLinkWrapper: import("@emotion/styled").StyledComponent<{
|
4
|
-
theme?: import("@emotion/react").Theme
|
5
|
-
as?:
|
3
|
+
theme?: import("@emotion/react").Theme;
|
4
|
+
as?: React.ElementType;
|
6
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
7
|
-
export declare const NoStyle: import("@emotion/
|
8
|
-
export declare const LinkStyle: import("@emotion/
|
9
|
-
export declare const dangerStyles: (theme: IAppTheme) => import("@emotion/
|
10
|
-
export declare const noPadding: import("@emotion/
|
11
|
-
export declare const setAlign: (align: string) => import("@emotion/
|
12
|
-
export declare const smallText: import("@emotion/
|
13
|
-
export declare const underlineNone: import("@emotion/
|
14
|
-
export declare const setWordBreak: (value: string) => import("@emotion/
|
15
|
-
export declare const setDisabled: (theme: IAppTheme) => import("@emotion/
|
6
|
+
export declare const NoStyle: import("@emotion/react").SerializedStyles;
|
7
|
+
export declare const LinkStyle: import("@emotion/react").SerializedStyles;
|
8
|
+
export declare const dangerStyles: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
9
|
+
export declare const noPadding: import("@emotion/react").SerializedStyles;
|
10
|
+
export declare const setAlign: (align: string) => import("@emotion/react").SerializedStyles;
|
11
|
+
export declare const smallText: import("@emotion/react").SerializedStyles;
|
12
|
+
export declare const underlineNone: import("@emotion/react").SerializedStyles;
|
13
|
+
export declare const setWordBreak: (value: string) => import("@emotion/react").SerializedStyles;
|
14
|
+
export declare const setDisabled: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
16
15
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Link/styles.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Link/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,eAAO,MAAM,eAAe;;eAyBtB,WAAW;2GAtBhB,CAAA;AAED,eAAO,MAAM,OAAO,2CAQnB,CAAA;AAED,eAAO,MAAM,SAAS,2CAsBrB,CAAA;AAED,eAAO,MAAM,YAAY,UAAW,SAAS,8CAE5C,CAAA;AAED,eAAO,MAAM,SAAS,2CAErB,CAAA;AAED,eAAO,MAAM,QAAQ,UAAW,MAAM,8CAErC,CAAA;AAED,eAAO,MAAM,SAAS,2CAErB,CAAA;AAED,eAAO,MAAM,aAAa,2CAOzB,CAAA;AAED,eAAO,MAAM,YAAY,UAAW,MAAM,8CAEzC,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,SAAS,8CAG3C,CAAA"}
|
package/lib/core/List/Item.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../src/packages/core/List/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,
|
1
|
+
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../src/packages/core/List/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAO,SAAQ,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC;IAC1D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAG7B,CAAA;AAEF,eAAe,QAAQ,CAAA"}
|
package/lib/core/List/Item.js
CHANGED
@@ -6,12 +6,12 @@ const ListItem = /*#__PURE__*/_styled("li", process.env.NODE_ENV === "production
|
|
6
6
|
target: "e8hjcxt0",
|
7
7
|
label: "ListItem"
|
8
8
|
})(process.env.NODE_ENV === "production" ? {
|
9
|
-
name: "
|
10
|
-
styles: "padding:0"
|
9
|
+
name: "n1lsvi",
|
10
|
+
styles: "padding:0;list-style:none"
|
11
11
|
} : {
|
12
|
-
name: "
|
13
|
-
styles: "padding:0",
|
14
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
12
|
+
name: "n1lsvi",
|
13
|
+
styles: "padding:0;list-style:none",
|
14
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0xpc3QvSXRlbS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT21DIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0xpc3QvSXRlbS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuaW50ZXJmYWNlIElQcm9wcyBleHRlbmRzIFJlYWN0LkhUTUxBdHRyaWJ1dGVzPEhUTUxMSUVsZW1lbnQ+IHtcbiAgY2hpbGRyZW4/OiBSZWFjdC5SZWFjdE5vZGVcbn1cblxuY29uc3QgTGlzdEl0ZW06IFJlYWN0LkZDPElQcm9wcz4gPSBzdHlsZWQubGkoe1xuICBwYWRkaW5nOiAwLFxuICBsaXN0U3R5bGU6ICdub25lJyxcbn0pXG5cbmV4cG9ydCBkZWZhdWx0IExpc3RJdGVtXG4iXX0= */",
|
15
15
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
16
16
|
});
|
17
17
|
export default ListItem;
|
@@ -2,7 +2,7 @@ import List from '.';
|
|
2
2
|
import { Meta, StoryObj } from '@storybook/react';
|
3
3
|
declare const meta: Meta<typeof List>;
|
4
4
|
export default meta;
|
5
|
-
|
5
|
+
type Story = StoryObj<typeof List>;
|
6
6
|
export declare const Default: Story;
|
7
7
|
export declare const ListWithLinks: Story;
|
8
8
|
export declare const AlternativeListWithLinks: Story;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"List.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/List/List.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,GAAG,CAAA;AAIpB,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAG3B,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,
|
1
|
+
{"version":3,"file":"List.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/List/List.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,GAAG,CAAA;AAIpB,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAG3B,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KA0B3B,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,KA2BtC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAYvB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAY1B,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,KAarC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAYvB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAazB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAmBzB,CAAA"}
|
@@ -2,9 +2,7 @@ import List from '.';
|
|
2
2
|
import ListItem from './Item';
|
3
3
|
import Link from '../Link';
|
4
4
|
import IconArrowRight from '../../icons/General/IconArrowRight';
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
6
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
7
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
5
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
8
6
|
const meta = {
|
9
7
|
title: 'Core/List',
|
10
8
|
component: List
|
package/lib/core/List/index.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
import React from 'react';
|
3
3
|
import Item from './Item';
|
4
4
|
export { Item };
|
5
|
-
|
5
|
+
type ListType = React.HTMLAttributes<HTMLUListElement | HTMLOListElement>;
|
6
6
|
interface IProps extends ListType {
|
7
7
|
/** Ordered list */
|
8
8
|
ordered?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/List/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,IAAI,MAAM,QAAQ,CAAA;AAGzB,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/List/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,IAAI,MAAM,QAAQ,CAAA;AAGzB,OAAO,EAAE,IAAI,EAAE,CAAA;AAEf,KAAK,QAAQ,GAAG,KAAK,CAAC,cAAc,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,CAAA;AAEzE,UAAU,MAAO,SAAQ,QAAQ;IAC/B,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2CAA2C;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,uBAAuB;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,6CAA6C;IAC7C,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,0BAA0B;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iCAAiC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;CAC/C;AAED,QAAA,MAAM,IAAI,4EAyCT,CAAA;AAED,eAAe,IAAI,CAAA"}
|
package/lib/core/List/index.js
CHANGED
@@ -11,7 +11,7 @@ const List = /*#__PURE__*/React.forwardRef(({
|
|
11
11
|
...props
|
12
12
|
}, ref) => {
|
13
13
|
const Tag = props.ordered || props.numbers || props.numbersHighlighted ? 'ol' : 'ul';
|
14
|
-
const role = props.selectList ? 'listbox' : 'list';
|
14
|
+
const role = props?.role ? props.role : props.selectList ? 'listbox' : 'list';
|
15
15
|
return _jsx(Tag, {
|
16
16
|
role: role,
|
17
17
|
css: theme => [styles.default(theme), props.ordered && styles.ordered, props.links && styles.links(theme), props.points && styles.points(theme), props.numbers && styles.numbers, props.numbersHighlighted && styles.numbersHighlighted(theme), props.selectList && styles.selectList(theme), props.nostyle && styles.nostyle, props.rowHeight && styles.rowHeight(props.rowHeight), props.minRowHeight && styles.minRowHeight(props.minRowHeight), darkTheme && styles.darkTheme(theme), padding && styles.setPadding(padding), linksAlternate && styles.linksAlternate(theme)],
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { IAppTheme } from '../../app-shell/theme';
|
2
2
|
declare const styles: {
|
3
|
-
default: (theme: IAppTheme) => import("@emotion/
|
4
|
-
points: (theme: IAppTheme) => import("@emotion/
|
5
|
-
links: (theme: IAppTheme) => import("@emotion/
|
6
|
-
linksAlternate: (theme: IAppTheme) => import("@emotion/
|
3
|
+
default: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
4
|
+
points: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
5
|
+
links: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
6
|
+
linksAlternate: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
7
7
|
ordered: {};
|
8
8
|
numbers: {
|
9
9
|
listStyle: string;
|
@@ -22,13 +22,13 @@ declare const styles: {
|
|
22
22
|
marginRight: string;
|
23
23
|
};
|
24
24
|
};
|
25
|
-
numbersHighlighted: (theme: IAppTheme) => import("@emotion/
|
26
|
-
selectList: (theme: IAppTheme) => import("@emotion/
|
27
|
-
nostyle: import("@emotion/
|
28
|
-
rowHeight: (height: string) => import("@emotion/
|
29
|
-
minRowHeight: (height: string) => import("@emotion/
|
30
|
-
darkTheme: (theme: IAppTheme) => import("@emotion/
|
31
|
-
setPadding: (padding: string) => import("@emotion/
|
25
|
+
numbersHighlighted: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
26
|
+
selectList: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
27
|
+
nostyle: import("@emotion/react").SerializedStyles;
|
28
|
+
rowHeight: (height: string) => import("@emotion/react").SerializedStyles;
|
29
|
+
minRowHeight: (height: string) => import("@emotion/react").SerializedStyles;
|
30
|
+
darkTheme: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
31
|
+
setPadding: (padding: string) => import("@emotion/react").SerializedStyles;
|
32
32
|
};
|
33
33
|
export default styles;
|
34
34
|
export { styles };
|
@@ -2,6 +2,6 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
import ListPager from '.';
|
3
3
|
declare const meta: Meta<typeof ListPager>;
|
4
4
|
export default meta;
|
5
|
-
|
5
|
+
type Story = StoryObj<typeof ListPager>;
|
6
6
|
export declare const Default: Story;
|
7
7
|
//# sourceMappingURL=ListPager.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ListPager.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/ListPager/ListPager.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,SAAS,MAAM,GAAG,CAAA;AAEzB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAGhC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,
|
1
|
+
{"version":3,"file":"ListPager.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/ListPager/ListPager.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,SAAS,MAAM,GAAG,CAAA;AAEzB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAGhC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAA;AAEvC,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAA"}
|
@@ -10,8 +10,6 @@ interface IProps {
|
|
10
10
|
onLastClick?: (page: number) => void;
|
11
11
|
/** CB on page number click */
|
12
12
|
onPageClick?: (page: number) => void;
|
13
|
-
/** Sets the wrapper tag. Should be tfoot when used with a table. Default is div. */
|
14
|
-
as?: 'div' | 'tfoot';
|
15
13
|
}
|
16
14
|
declare const ListPager: React.FC<IProps>;
|
17
15
|
export default ListPager;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/ListPager/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/ListPager/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,UAAU,MAAM;IACd,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wBAAwB;IACxB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IACzB,uBAAuB;IACvB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,8BAA8B;IAC9B,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CACrC;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAmD/B,CAAA;AAED,eAAe,SAAS,CAAA"}
|
@@ -1,36 +1,17 @@
|
|
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
1
|
import React from 'react';
|
4
2
|
import { useTheme } from '@emotion/react';
|
5
|
-
import { DotWrapper, PageStyle } from './styles';
|
3
|
+
import { DotWrapper, PageStyle, Wrapper } from './styles';
|
6
4
|
import { getHasPreviousPages, getHasMorePages, getFirstButtonIndex } from '../../utils/pagination';
|
7
5
|
import Button from '../Button';
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
9
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
10
7
|
const ListPager = ({
|
11
8
|
totalPageCount,
|
12
9
|
currentPage,
|
13
10
|
onFirstClick,
|
14
11
|
onLastClick,
|
15
|
-
onPageClick
|
16
|
-
as = 'div'
|
12
|
+
onPageClick
|
17
13
|
}) => {
|
18
14
|
const theme = useTheme();
|
19
|
-
const Tag = as;
|
20
|
-
const Wrapper = /*#__PURE__*/_styled(Tag, process.env.NODE_ENV === "production" ? {
|
21
|
-
target: "e1xwlxp30"
|
22
|
-
} : {
|
23
|
-
target: "e1xwlxp30",
|
24
|
-
label: "Wrapper"
|
25
|
-
})(process.env.NODE_ENV === "production" ? {
|
26
|
-
name: "1o2oc08",
|
27
|
-
styles: "display:grid;grid-column-gap:1em;grid-auto-flow:column;width:min-content"
|
28
|
-
} : {
|
29
|
-
name: "1o2oc08",
|
30
|
-
styles: "display:grid;grid-column-gap:1em;grid-auto-flow:column;width:min-content",
|
31
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0xpc3RQYWdlci9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUM2QiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9MaXN0UGFnZXIvaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHsgdXNlVGhlbWUgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IERvdFdyYXBwZXIsIFBhZ2VTdHlsZSB9IGZyb20gJy4vc3R5bGVzJ1xuaW1wb3J0IHtcbiAgZ2V0SGFzUHJldmlvdXNQYWdlcyxcbiAgZ2V0SGFzTW9yZVBhZ2VzLFxuICBnZXRGaXJzdEJ1dHRvbkluZGV4LFxufSBmcm9tICcuLi8uLi91dGlscy9wYWdpbmF0aW9uJ1xuaW1wb3J0IEJ1dHRvbiBmcm9tICcuLi9CdXR0b24nXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuaW50ZXJmYWNlIElQcm9wcyB7XG4gIC8qKiBBbW91bnQgb2YgcGFnZXMgKi9cbiAgdG90YWxQYWdlQ291bnQ/OiBudW1iZXJcbiAgLyoqIEN1cnJlbnQgcGFnZSBudW1iZXIgKi9cbiAgY3VycmVudFBhZ2U/OiBudW1iZXJcbiAgLyoqIENCIG9uIGZpcnN0IGNsaWNrICovXG4gIG9uRmlyc3RDbGljaz86ICgpID0+IHZvaWRcbiAgLyoqIENCIG9uIGxhc3QgY2xpY2sgKi9cbiAgb25MYXN0Q2xpY2s/OiAocGFnZTogbnVtYmVyKSA9PiB2b2lkXG4gIC8qKiBDQiBvbiBwYWdlIG51bWJlciBjbGljayAqL1xuICBvblBhZ2VDbGljaz86IChwYWdlOiBudW1iZXIpID0+IHZvaWRcbiAgLyoqIFNldHMgdGhlIHdyYXBwZXIgdGFnLiBTaG91bGQgYmUgdGZvb3Qgd2hlbiB1c2VkIHdpdGggYSB0YWJsZS4gRGVmYXVsdCBpcyBkaXYuICAqL1xuICBhcz86ICdkaXYnIHwgJ3Rmb290J1xufVxuXG5jb25zdCBMaXN0UGFnZXI6IFJlYWN0LkZDPElQcm9wcz4gPSAoe1xuICB0b3RhbFBhZ2VDb3VudCxcbiAgY3VycmVudFBhZ2UsXG4gIG9uRmlyc3RDbGljayxcbiAgb25MYXN0Q2xpY2ssXG4gIG9uUGFnZUNsaWNrLFxuICBhcyA9ICdkaXYnLFxufSkgPT4ge1xuICBjb25zdCB0aGVtZSA9IHVzZVRoZW1lKClcbiAgY29uc3QgVGFnID0gYXNcblxuICBjb25zdCBXcmFwcGVyID0gc3R5bGVkKFRhZylgXG4gICAgZGlzcGxheTogZ3JpZDtcbiAgICBncmlkLWNvbHVtbi1nYXA6IDFlbTtcbiAgICBncmlkLWF1dG8tZmxvdzogY29sdW1uO1xuICAgIHdpZHRoOiBtaW4tY29udGVudDtcbiAgYFxuICBpZiAoISh0b3RhbFBhZ2VDb3VudCAmJiB0b3RhbFBhZ2VDb3VudCA+IDAgJiYgY3VycmVudFBhZ2UpKSB7XG4gICAgcmV0dXJuIG51bGxcbiAgfVxuXG4gIGNvbnN0IHRvdGFsQnV0dG9ucyA9IHRvdGFsUGFnZUNvdW50ID4gNSA/IDUgOiB0b3RhbFBhZ2VDb3VudFxuICBjb25zdCBoYXNQcmV2aW91c1BhZ2VzID0gZ2V0SGFzUHJldmlvdXNQYWdlcyhjdXJyZW50UGFnZSwgdG90YWxQYWdlQ291bnQpXG4gIGNvbnN0IGhhc01vcmVQYWdlcyA9IGdldEhhc01vcmVQYWdlcyhjdXJyZW50UGFnZSwgdG90YWxQYWdlQ291bnQpXG4gIGNvbnN0IGZpcnN0QnV0dG9uSW5kZXggPSBnZXRGaXJzdEJ1dHRvbkluZGV4KGN1cnJlbnRQYWdlLCB0b3RhbFBhZ2VDb3VudClcblxuICBjb25zdCBEb3RzID0gPERvdFdyYXBwZXIgYXJpYS1oaWRkZW49XCJ0cnVlXCI+Li4uPC9Eb3RXcmFwcGVyPlxuXG4gIGxldCBwYWdlczogYW55ID0gW11cbiAgZm9yIChsZXQgaSA9IGZpcnN0QnV0dG9uSW5kZXg7IGkgPCBmaXJzdEJ1dHRvbkluZGV4ICsgdG90YWxCdXR0b25zOyBpKyspIHtcbiAgICBwYWdlcy5wdXNoKFxuICAgICAgPEJ1dHRvblxuICAgICAgICBrZXk9e2l9XG4gICAgICAgIG5vc3R5bGVcbiAgICAgICAgb25DbGljaz17KCkgPT4gb25QYWdlQ2xpY2sgJiYgb25QYWdlQ2xpY2soaSArIDEpfVxuICAgICAgICBjc3M9e1BhZ2VTdHlsZShjdXJyZW50UGFnZSA9PT0gaSArIDEsIHRoZW1lLnByaW1hcnkpfVxuICAgICAgPlxuICAgICAgICB7aSArIDF9XG4gICAgICA8L0J1dHRvbj5cbiAgICApXG4gIH1cbiAgcmV0dXJuIChcbiAgICA8V3JhcHBlciBhcmlhLWxhYmVsPVwiTmF2aWdhdGlvblwiPlxuICAgICAgPEJ1dHRvbiBub3N0eWxlIG9uQ2xpY2s9e29uRmlyc3RDbGlja30gYXJpYS1sYWJlbD1cIkfDpSB0aWwgZsO4cnN0ZSBzaWRlXCI+XG4gICAgICAgIEbDuHJzdGVcbiAgICAgIDwvQnV0dG9uPlxuICAgICAge2hhc1ByZXZpb3VzUGFnZXMgJiYgRG90c31cbiAgICAgIHtwYWdlc31cbiAgICAgIHtoYXNNb3JlUGFnZXMgJiYgRG90c31cbiAgICAgIDxCdXR0b25cbiAgICAgICAgYXJpYS1sYWJlbD1cIkfDpSB0aWwgc2lzdGUgc2lkZVwiXG4gICAgICAgIG5vc3R5bGVcbiAgICAgICAgb25DbGljaz17KCkgPT5cbiAgICAgICAgICBvbkxhc3RDbGljayAmJiB0b3RhbFBhZ2VDb3VudCAmJiBvbkxhc3RDbGljayh0b3RhbFBhZ2VDb3VudClcbiAgICAgICAgfVxuICAgICAgPlxuICAgICAgICBTaXN0ZVxuICAgICAgPC9CdXR0b24+XG4gICAgPC9XcmFwcGVyPlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IExpc3RQYWdlclxuIl19 */",
|
32
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
33
|
-
});
|
34
15
|
if (!(totalPageCount && totalPageCount > 0 && currentPage)) {
|
35
16
|
return null;
|
36
17
|
}
|
@@ -1,11 +1,10 @@
|
|
1
|
-
|
2
|
-
export declare const PageStyle: (active: boolean, primary: string) => import("@emotion/utils").SerializedStyles;
|
1
|
+
export declare const PageStyle: (active: boolean, primary: string) => import("@emotion/react").SerializedStyles;
|
3
2
|
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
4
|
-
theme?: import("@emotion/react").Theme
|
5
|
-
as?:
|
3
|
+
theme?: import("@emotion/react").Theme;
|
4
|
+
as?: React.ElementType;
|
6
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
7
6
|
export declare const DotWrapper: import("@emotion/styled").StyledComponent<{
|
8
|
-
theme?: import("@emotion/react").Theme
|
9
|
-
as?:
|
7
|
+
theme?: import("@emotion/react").Theme;
|
8
|
+
as?: React.ElementType;
|
10
9
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
11
10
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/ListPager/styles.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/ListPager/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,WAAY,OAAO,WAAW,MAAM,8CAOzD,CAAA;AACD,eAAO,MAAM,OAAO;;eAW6H,WAAW;mGAN3J,CAAA;AAED,eAAO,MAAM,UAAU;;eAI0H,WAAW;2GAD3J,CAAA"}
|
@@ -2,7 +2,7 @@ import MediaCarousel from '.';
|
|
2
2
|
import { Meta, StoryObj } from '@storybook/react';
|
3
3
|
declare const meta: Meta<typeof MediaCarousel>;
|
4
4
|
export default meta;
|
5
|
-
|
5
|
+
type Story = StoryObj<typeof MediaCarousel>;
|
6
6
|
export declare const DefaultWithImages: Story;
|
7
7
|
export declare const CarouselWithVideosAndImages: Story;
|
8
8
|
//# sourceMappingURL=MediaCarousel.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MediaCarousel.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/MediaCarousel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,GAAG,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAGpC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,
|
1
|
+
{"version":3,"file":"MediaCarousel.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/MediaCarousel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,GAAG,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CAGpC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAA;AAE3C,eAAO,MAAM,iBAAiB,EAAE,KAc/B,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,KAkBzC,CAAA"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
|
2
|
+
type CarouselMedia = {
|
3
3
|
/** Media source */
|
4
4
|
src: string;
|
5
5
|
/** Media type is highly recommended. If no media type is specified, we assume it is an image. */
|
6
6
|
mimeType?: string;
|
7
7
|
};
|
8
|
-
|
8
|
+
type Props = {
|
9
9
|
/** The media */
|
10
10
|
media: CarouselMedia[];
|
11
11
|
/** Sets autoplay for media that is playable */
|
@@ -20,8 +20,10 @@ declare type Props = {
|
|
20
20
|
radius?: string;
|
21
21
|
/** The object fit of the image */
|
22
22
|
objectFit?: 'fill' | 'contain' | 'cover' | 'non' | 'scale-down' | 'initial' | 'inherit';
|
23
|
+
/** Alt text for the image */
|
24
|
+
altText?: string;
|
23
25
|
};
|
24
|
-
declare const MediaCarousel: ({ media, autoPlay, objectFit, height, className, radius, withShadow, }: Props) => React.JSX.Element;
|
26
|
+
declare const MediaCarousel: ({ media, autoPlay, objectFit, height, className, radius, withShadow, altText, }: Props) => React.JSX.Element;
|
25
27
|
export type { CarouselMedia };
|
26
28
|
export default MediaCarousel;
|
27
29
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,KAAK,aAAa,GAAG;IACnB,mBAAmB;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,iGAAiG;IACjG,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,KAAK,KAAK,GAAG;IACX,gBAAgB;IAChB,KAAK,EAAE,aAAa,EAAE,CAAA;IACtB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,kCAAkC;IAClC,SAAS,CAAC,EACN,MAAM,GACN,SAAS,GACT,OAAO,GACP,KAAK,GACL,YAAY,GACZ,SAAS,GACT,SAAS,CAAA;IACb,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,QAAA,MAAM,aAAa,oFAShB,KAAK,sBA2EP,CAAA;AACD,YAAY,EAAE,aAAa,EAAE,CAAA;AAC7B,eAAe,aAAa,CAAA"}
|
@@ -6,8 +6,7 @@ import Carousel from 'nuka-carousel';
|
|
6
6
|
import React from 'react';
|
7
7
|
import Text from '../Text';
|
8
8
|
import IconChevronLeft from '../../icons/General/IconChevronLeft';
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
10
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
11
10
|
const MediaCarousel = ({
|
12
11
|
media,
|
13
12
|
autoPlay = false,
|
@@ -15,7 +14,8 @@ const MediaCarousel = ({
|
|
15
14
|
height = '100%',
|
16
15
|
className,
|
17
16
|
radius,
|
18
|
-
withShadow
|
17
|
+
withShadow,
|
18
|
+
altText = 'Karusellbilde'
|
19
19
|
}) => {
|
20
20
|
const theme = useTheme();
|
21
21
|
const hasMultipleImages = Boolean(media?.length > 1);
|
@@ -31,7 +31,7 @@ const MediaCarousel = ({
|
|
31
31
|
intersectionObserver: true
|
32
32
|
}) : /*#__PURE__*/_jsx(Image, {
|
33
33
|
src: mediaItem.src,
|
34
|
-
alt:
|
34
|
+
alt: altText,
|
35
35
|
objectFit: objectFit
|
36
36
|
})
|
37
37
|
});
|
@@ -42,6 +42,7 @@ const MediaCarousel = ({
|
|
42
42
|
className: className,
|
43
43
|
radius: radius,
|
44
44
|
withShadow: withShadow,
|
45
|
+
"aria-label": "Mediakarusell",
|
45
46
|
children: /*#__PURE__*/_jsx(Carousel, {
|
46
47
|
enableKeyboardControls: true,
|
47
48
|
swiping: hasMultipleImages,
|
@@ -53,6 +54,7 @@ const MediaCarousel = ({
|
|
53
54
|
}) => hasMultipleImages && /*#__PURE__*/_jsx(ControlButton, {
|
54
55
|
onClick: nextSlide,
|
55
56
|
direction: "right",
|
57
|
+
"aria-label": "Neste bilde",
|
56
58
|
children: /*#__PURE__*/_jsx(IconChevronLeft, {
|
57
59
|
size: 18,
|
58
60
|
color: theme.btnDefaultFontColor,
|
@@ -64,6 +66,7 @@ const MediaCarousel = ({
|
|
64
66
|
}) => hasMultipleImages && /*#__PURE__*/_jsx(ControlButton, {
|
65
67
|
onClick: previousSlide,
|
66
68
|
direction: "left",
|
69
|
+
"aria-label": "Forrige bilde",
|
67
70
|
children: /*#__PURE__*/_jsx(IconChevronLeft, {
|
68
71
|
size: 18,
|
69
72
|
color: theme.btnDefaultFontColor
|
@@ -1,27 +1,26 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import { Theme } from '@emotion/react';
|
3
2
|
export declare const CarouselWrapper: import("@emotion/styled").StyledComponent<{
|
4
|
-
theme?: Theme
|
5
|
-
as?:
|
3
|
+
theme?: Theme;
|
4
|
+
as?: React.ElementType;
|
6
5
|
} & {
|
7
6
|
height: string;
|
8
7
|
theme: Theme;
|
9
|
-
radius?: string
|
10
|
-
withShadow?: boolean
|
8
|
+
radius?: string;
|
9
|
+
withShadow?: boolean;
|
11
10
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
12
11
|
export declare const ControlButton: import("@emotion/styled").StyledComponent<{
|
13
|
-
theme?: Theme
|
14
|
-
as?:
|
12
|
+
theme?: Theme;
|
13
|
+
as?: React.ElementType;
|
15
14
|
} & {
|
16
|
-
direction:
|
15
|
+
direction: "left" | "right";
|
17
16
|
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
18
17
|
export declare const BottomCarouselWrapper: import("@emotion/styled").StyledComponent<{
|
19
|
-
theme?: Theme
|
20
|
-
as?:
|
18
|
+
theme?: Theme;
|
19
|
+
as?: React.ElementType;
|
21
20
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
22
21
|
export declare const ImageWrapper: import("@emotion/styled").StyledComponent<{
|
23
|
-
theme?: Theme
|
24
|
-
as?:
|
22
|
+
theme?: Theme;
|
23
|
+
as?: React.ElementType;
|
25
24
|
} & {
|
26
25
|
height: string;
|
27
26
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/styles.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAK3C,eAAO,MAAM,eAAe;;eA0BP,WAElB;;YArBS,MAAM;WACP,KAAK;aACH,MAAM;iBACF,OAAO;yGAmBvB,CAAA;AAED,eAAO,MAAM,aAAa;;eALL,WAElB;;eAI4B,MAAM,GAAG,OAAO;qHAc9C,CAAA;AAED,eAAO,MAAM,qBAAqB;;eAtBb,WAElB;yGA0BF,CAAA;AAED,eAAO,MAAM,YAAY;;eA9BJ,WAElB;;YA6BsB,MAAM;yGAgB9B,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/Modal/ActionButtons/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/Modal/ActionButtons/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC7C,0DAA0D;IAC1D,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAWD,QAAA,MAAM,aAAa,0CAAkD,KAAK,sBAIzE,CAAA;AAED,eAAe,aAAa,CAAA"}
|
@@ -2,7 +2,7 @@ import Modal from '.';
|
|
2
2
|
import { Meta, StoryObj } from '@storybook/react';
|
3
3
|
declare const meta: Meta<typeof Modal>;
|
4
4
|
export default meta;
|
5
|
-
|
5
|
+
type Story = StoryObj<typeof Modal>;
|
6
6
|
export declare const Default: Story;
|
7
7
|
export declare const Collapse: Story;
|
8
8
|
export declare const Dynamic: Story;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Modal/Modal.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,GAAG,CAAA;AACrB,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAGpB,CAAA;AACT,eAAe,IAAI,CAAA;AAEnB,
|
1
|
+
{"version":3,"file":"Modal.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Modal/Modal.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,GAAG,CAAA;AACrB,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAGjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAGpB,CAAA;AACT,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;AAEnC,eAAO,MAAM,OAAO,EAAE,KAoBrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAoBrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAsIxB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAUxB,CAAA"}
|
@@ -3,8 +3,7 @@ import Text from '../Text';
|
|
3
3
|
import Button from '../Button';
|
4
4
|
import Modal from '.';
|
5
5
|
import { Fragment } from 'react';
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
7
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
8
7
|
const meta = {
|
9
8
|
title: 'Core/Modal',
|
10
9
|
component: Modal
|
@@ -36,15 +36,17 @@ interface IProps extends React.HTMLAttributes<HTMLDialogElement> {
|
|
36
36
|
onClose?: () => void;
|
37
37
|
/** Renders collapse button with callback */
|
38
38
|
onCollapse?: () => void;
|
39
|
+
/** Optional callback fired when fullscreen is toggled */
|
40
|
+
onFullscreenToggle?: (isFullscreen: boolean) => void;
|
39
41
|
/** Children */
|
40
42
|
children?: React.ReactNode | React.ReactNode[];
|
41
43
|
}
|
42
|
-
declare function Modal({ open, header, actionButton, width, children, disableOutsideClick, hideCloseButton, disableScroll, targetRefs, disableScrollableContent, headerCss, contentCss, disableLocalClose, toggleFullscreen, defaultFullscreen, disableFocusTrap, onClose, onCollapse, ...restProps }: IProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
44
|
+
declare function Modal({ open, header, actionButton, width, children, disableOutsideClick, hideCloseButton, disableScroll, targetRefs, disableScrollableContent, headerCss, contentCss, disableLocalClose, toggleFullscreen, defaultFullscreen, disableFocusTrap, onClose, onCollapse, onFullscreenToggle, ...restProps }: IProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
43
45
|
declare namespace Modal {
|
44
46
|
var Actions: ({ children, className, spaceBetween }: {
|
45
47
|
children: React.ReactNode | React.ReactNode[];
|
46
|
-
spaceBetween?: boolean
|
47
|
-
className?: string
|
48
|
+
spaceBetween?: boolean;
|
49
|
+
className?: string;
|
48
50
|
}) => React.JSX.Element;
|
49
51
|
}
|
50
52
|
export default Modal;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Modal/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAsD,MAAM,OAAO,CAAA;AAkB1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAKjD,UAAU,MAAO,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IAC9D,8BAA8B;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,sCAAsC;IACtC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,+FAA+F;IAC/F,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC9B,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qCAAqC;IACrC,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,wBAAwB;IACxB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,kCAAkC;IAClC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAA;IAClB,6CAA6C;IAC7C,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,8HAA8H;IAC9H,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC,2BAA2B;IAC3B,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAC7B,0BAA0B;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,wCAAwC;IACxC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,+CAA+C;IAC/C,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,0CAA0C;IAC1C,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,0BAA0B;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;CAC/C;AAED,iBAAS,KAAK,CAAC,EACb,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,KAAe,EACf,QAAQ,EACR,mBAA0B,EAC1B,eAAe,EACf,aAAoB,EACpB,UAAU,EACV,wBAAwB,EACxB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,GAAG,SAAS,EACb,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Modal/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAsD,MAAM,OAAO,CAAA;AAkB1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAKjD,UAAU,MAAO,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IAC9D,8BAA8B;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,sCAAsC;IACtC,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,+FAA+F;IAC/F,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC9B,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qCAAqC;IACrC,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,wBAAwB;IACxB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,kCAAkC;IAClC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAA;IAClB,6CAA6C;IAC7C,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,8HAA8H;IAC9H,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAClC,2BAA2B;IAC3B,UAAU,CAAC,EAAE,gBAAgB,CAAA;IAC7B,0BAA0B;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,wCAAwC;IACxC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,+CAA+C;IAC/C,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,0CAA0C;IAC1C,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,0BAA0B;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,0DAA0D;IAC1D,kBAAkB,CAAC,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK,IAAI,CAAA;IACpD,eAAe;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;CAC/C;AAED,iBAAS,KAAK,CAAC,EACb,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,KAAe,EACf,QAAQ,EACR,mBAA0B,EAC1B,eAAe,EACf,aAAoB,EACpB,UAAU,EACV,wBAAwB,EACxB,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,kBAAkB,EAClB,GAAG,SAAS,EACb,EAAE,MAAM,oDAkLR;kBAvMQ,KAAK;;;;;;;AA2Md,eAAe,KAAK,CAAA"}
|
package/lib/core/Modal/index.js
CHANGED
@@ -8,8 +8,7 @@ import { Button, IconFullscreenClose } from '../..';
|
|
8
8
|
import IconMinus from '../../icons/General/IconMinus';
|
9
9
|
import IconFullscreenOpen from '../../icons/General/IconFullscreenOpen';
|
10
10
|
import ActionButtons from './ActionButtons';
|
11
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
12
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
13
12
|
function Modal({
|
14
13
|
open,
|
15
14
|
header,
|
@@ -29,6 +28,7 @@ function Modal({
|
|
29
28
|
disableFocusTrap,
|
30
29
|
onClose,
|
31
30
|
onCollapse,
|
31
|
+
onFullscreenToggle,
|
32
32
|
...restProps
|
33
33
|
}) {
|
34
34
|
const modalRef = /*#__PURE__*/createRef();
|
@@ -44,6 +44,11 @@ function Modal({
|
|
44
44
|
onClose();
|
45
45
|
}
|
46
46
|
};
|
47
|
+
const handleToggleFullscreen = () => {
|
48
|
+
const newValue = !isFullscreen;
|
49
|
+
setIsFullscreen(newValue);
|
50
|
+
onFullscreenToggle && onFullscreenToggle(newValue);
|
51
|
+
};
|
47
52
|
|
48
53
|
// Capture escape
|
49
54
|
const handleKeyDown = useCallback(event => {
|
@@ -111,7 +116,7 @@ function Modal({
|
|
111
116
|
children: _jsx(IconMinus, {})
|
112
117
|
}), toggleFullscreen && _jsx(Button, {
|
113
118
|
nostyle: true,
|
114
|
-
onClick:
|
119
|
+
onClick: handleToggleFullscreen,
|
115
120
|
focusable: true,
|
116
121
|
"aria-label": isFullscreen ? 'Lukk fullskjerm' : 'Fullskjerm',
|
117
122
|
title: isFullscreen ? 'Lukk fullskjerm' : 'Fullskjerm',
|