@bbl-digital/snorre 4.1.0-beta.1 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +2325 -916
- package/esm/app-shell/index.js +1 -2
- package/esm/core/Alert/index.js +1 -2
- package/esm/core/AppLoader/index.js +1 -2
- package/esm/core/Autocomplete/Autocomplete.stories.js +1 -2
- package/esm/core/Autocomplete/index.js +1 -3
- package/esm/core/Banner/index.js +1 -2
- package/esm/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +88 -0
- package/esm/core/BarAndLineComposedChart/index.js +19 -9
- package/esm/core/BarChartWithCustomizedEvent/index.js +1 -2
- package/esm/core/Box/index.js +1 -2
- package/esm/core/BoxedTable/BoxedTable.stories.js +304 -409
- package/esm/core/BoxedTable/DraggableRow/index.js +14 -17
- package/esm/core/BoxedTable/DraggableRow/styles.js +14 -20
- package/esm/core/BoxedTable/HeaderCell/styles.js +3 -3
- package/esm/core/BoxedTable/RowCell/index.js +4 -14
- package/esm/core/BoxedTable/RowCell/styles.js +23 -7
- package/esm/core/BoxedTable/TableHeader/index.js +3 -5
- package/esm/core/BoxedTable/TableHeader/styles.js +3 -18
- package/esm/core/BoxedTable/TableRow/index.js +9 -7
- package/esm/core/BoxedTable/TableRow/styles.js +24 -30
- package/esm/core/BoxedTable/index.js +7 -19
- package/esm/core/BoxedTable/styles.js +19 -25
- package/esm/core/Calendar/CalendarEvent/index.js +3 -3
- package/esm/core/Calendar/CalendarSmallEvent/index.js +1 -2
- package/esm/core/Calendar/index.js +5 -4
- package/esm/core/Card/Card.stories.js +1 -2
- package/esm/core/Checkbox/index.js +1 -2
- package/esm/core/CollapseList/CollapseList.stories.js +1 -2
- package/esm/core/CollapseList/Item.js +1 -3
- package/esm/core/CommentsTimeline/CommentLine/index.js +1 -2
- package/esm/core/CommentsTimeline/CommentsTimeline.stories.js +1 -2
- package/esm/core/Datepicker/index.js +16 -7
- package/esm/core/Datepicker/styles.js +13 -13
- package/esm/core/DatepickerRange/index.js +2 -2
- package/esm/core/Dropdown/index.js +1 -2
- package/esm/core/DropdownMenu/DropdownMenu.stories.js +1 -3
- package/esm/core/DropdownMenu/index.js +1 -2
- package/esm/core/Editor/Editor.stories.js +1 -0
- package/esm/core/Editor/index.js +5 -3
- package/esm/core/EditorQuillReact/EditorQuillReact.stories.js +59 -0
- package/esm/core/EditorQuillReact/IndentAttributor.js +15 -0
- package/esm/core/EditorQuillReact/config.js +31 -0
- package/esm/core/EditorQuillReact/index.js +103 -0
- package/esm/core/EditorQuillReact/styles.js +34 -0
- package/esm/core/FileInput/index.js +1 -2
- package/esm/core/GoogleButton/index.js +2 -2
- package/esm/core/Html/Html.stories.js +2 -3
- package/esm/core/Html/index.js +3 -1
- package/esm/core/Html/styles.js +6 -9
- package/esm/core/ImagePicker/UploadButton.js +1 -2
- package/esm/core/ImagePicker/index.js +1 -2
- package/esm/core/ImageViewer/index.js +1 -2
- package/esm/core/InfoButton/index.js +1 -2
- package/esm/core/Input/Input.stories.js +20 -1
- package/esm/core/Input/index.js +45 -27
- package/esm/core/Input/styles.js +20 -18
- package/esm/core/Link/index.js +1 -2
- package/esm/core/List/Item.js +5 -5
- package/esm/core/List/List.stories.js +1 -3
- package/esm/core/List/index.js +1 -1
- package/esm/core/ListPager/index.js +3 -22
- package/esm/core/MediaCarousel/index.js +7 -4
- package/esm/core/Modal/Modal.stories.js +1 -2
- package/esm/core/Modal/index.js +8 -3
- package/esm/core/Modal/styles.js +8 -8
- package/esm/core/NoticeCard/NoticeCard.stories.js +1 -4
- package/esm/core/NoticeCard/index.js +1 -5
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +1 -2
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +4 -16
- package/esm/core/NotificationCounter/styles.js +1 -1
- package/esm/core/NotificationsMenu/NotificationRow/index.js +2 -2
- package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +4 -4
- package/esm/core/NotificationsMenu/index.js +34 -17
- package/esm/core/NotificationsMenu/styles.js +3 -3
- package/esm/core/PieChart/ActiveShape/index.js +1 -2
- package/esm/core/PieChart/index.js +9 -4
- package/esm/core/PieChart/renderTextContent/index.js +3 -2
- package/esm/core/PreemptionCard/PreemptionCard.stories.js +12 -9
- package/esm/core/PreemptionCard/index.js +3 -4
- package/esm/core/PreemptionCardLoading/index.js +1 -2
- package/esm/core/QuillEditor/Attributors/IndentAttributor.js +15 -0
- package/esm/core/QuillEditor/Attributors/ListContainer.js +20 -0
- package/esm/core/QuillEditor/Attributors/ListItem.js +24 -0
- package/esm/core/QuillEditor/QuillEditor.stories.js +56 -0
- package/esm/core/QuillEditor/classes/IndentAttributor.js +15 -0
- package/esm/core/QuillEditor/classes/LinkSanitizer.js +21 -0
- package/esm/core/QuillEditor/classes/ListContainer.js +20 -0
- package/esm/core/QuillEditor/classes/ListItem.js +24 -0
- package/esm/core/QuillEditor/config.js +28 -0
- package/esm/core/QuillEditor/index.js +278 -0
- package/esm/core/QuillEditor/styles.js +34 -0
- package/esm/core/Radio/Radio.stories.js +1 -2
- package/esm/core/Radio/index.js +1 -2
- package/esm/core/SearchFilter/SearchFilter.stories.js +1 -2
- package/esm/core/SearchFilter/index.js +4 -4
- package/esm/core/SearchSelect/index.js +1 -3
- package/esm/core/Select/Select.stories.js +1 -2
- package/esm/core/Select/index.js +1 -2
- package/esm/core/SimpleBarChart/index.js +1 -2
- package/esm/core/SimpleLineChart/index.js +1 -2
- package/esm/core/Stepper/MobileStep/index.js +33 -0
- package/esm/core/Stepper/MobileStep/styles.js +90 -0
- package/esm/core/Stepper/Step/index.js +83 -0
- package/esm/core/Stepper/Step/styles.js +49 -0
- package/esm/core/Stepper/Stepper.stories.js +29 -0
- package/esm/core/Stepper/index.js +47 -0
- package/esm/core/Stepper/styles.js +24 -0
- package/esm/core/TabBar/TabBar.stories.js +1 -2
- package/esm/core/TabBar/TabItem/index.js +2 -2
- package/esm/core/TabNav/TabNav.stories.js +1 -2
- package/esm/core/TabNav/TabNavItem/index.js +1 -2
- package/esm/core/TabNav/index.js +1 -2
- package/esm/core/Table/Table.stories.js +1 -2
- package/esm/core/Tag/index.js +1 -3
- package/esm/core/Textarea/index.js +6 -5
- package/esm/core/Timeline/Timeline.stories.js +1 -2
- package/esm/core/Timeline/TimelineStep/index.js +1 -2
- package/esm/core/Timepicker/index.js +1 -2
- package/esm/core/Tooltip/index.js +1 -2
- package/esm/core/UserMenu/UserMenu.stories.js +1 -2
- package/esm/core/UserMenu/index.js +1 -2
- package/esm/core/YearWheel/index.js +1 -2
- package/esm/core/private/ButtonOrLink.js +1 -2
- package/esm/core/private/preemption.js +5 -1
- package/esm/globals/validation/regularExpressions.js +1 -1
- package/esm/icons/General/IconAuditorFilled.js +1 -2
- package/esm/icons/General/IconAuditorOutline.js +1 -2
- package/esm/icons/General/IconCamera.js +1 -2
- package/esm/icons/General/IconCases.js +1 -2
- package/esm/icons/General/IconDocument.js +1 -2
- package/esm/icons/General/IconDocumentFilled.js +1 -2
- package/esm/icons/General/IconEmailMarkAsRead.js +12 -0
- package/esm/icons/General/IconFillOut.js +1 -2
- package/esm/icons/General/IconHomeFilled.js +1 -2
- package/esm/icons/General/IconHomeOutline.js +1 -2
- package/esm/icons/General/IconHouseBlockFilled.js +1 -2
- package/esm/icons/General/IconHouseBlockOutline.js +1 -2
- package/esm/icons/General/IconImage.js +1 -2
- package/esm/icons/General/IconJanitorFilled.js +1 -2
- package/esm/icons/General/IconJanitorOutline.js +1 -2
- package/esm/icons/General/IconLeafFilled.js +1 -2
- package/esm/icons/General/IconLeafOutline.js +1 -2
- package/esm/icons/General/IconRearrange.js +1 -2
- package/esm/icons/Icon.stories.js +4 -2
- package/esm/icons/Logos/IconBankAxept.js +1 -2
- package/esm/icons/Logos/IconGmail.js +1 -2
- package/esm/icons/Logos/IconMasterCard.js +1 -2
- package/esm/icons/Logos/IconOffice365.js +1 -2
- package/esm/icons/Logos/IconVisa.js +1 -2
- package/esm/illustrations/Backgrounds/IllustrationHousesBackground.js +1 -2
- package/esm/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1 -2
- package/esm/illustrations/General/IllustrationBudget.js +185 -0
- package/esm/illustrations/General/IllustrationError.js +1 -2
- package/esm/illustrations/General/IllustrationErrorGeneric.js +1 -2
- package/esm/illustrations/General/IllustrationHighHouse.js +1 -2
- package/esm/illustrations/General/IllustrationHighHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationHouse.js +1 -2
- package/esm/illustrations/General/IllustrationHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationHouseMissing.js +1 -2
- package/esm/illustrations/General/IllustrationLowHouse.js +1 -2
- package/esm/illustrations/General/IllustrationLowHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationPaperCompleted.js +1 -2
- package/esm/illustrations/General/IllustrationPaperMissing.js +1 -2
- package/esm/illustrations/General/IllustrationSemiDetachedHouse.js +1 -2
- package/esm/illustrations/General/IllustrationSemiDetachedHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationServiceMessage.js +40 -0
- package/esm/illustrations/General/IllustrationSmallHouse.js +1 -2
- package/esm/illustrations/General/IllustrationSmallHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationTechninalDifficulties.js +119 -0
- package/esm/illustrations/General/IllustrationTerraceBlock.js +1 -2
- package/esm/illustrations/General/IllustrationTerraceBlockComposition.js +1 -2
- package/esm/illustrations/General/IllustrationTownHouse.js +1 -2
- package/esm/illustrations/General/IllustrationTownHouseComposition.js +1 -2
- package/esm/illustrations/Illustration.stories.js +18 -3
- package/esm/illustrations/MySite/IllustrationMySiteAssociation.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteBenefits.js +180 -0
- package/esm/illustrations/MySite/IllustrationMySiteBuilding.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteCoffeeBook.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteComputer.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteCooperative.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteDashboard.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteGift.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteLetterSent.js +77 -0
- package/esm/illustrations/MySite/IllustrationMySiteMailbox.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySitePapers.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySitePiggyBank.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteTransfer.js +1 -2
- package/esm/index.js +9 -1
- 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/TableBody/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableHeader/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableHeader/index.js +3 -5
- package/lib/core/BoxedTable/TableHeader/styles.d.ts +3 -8
- package/lib/core/BoxedTable/TableHeader/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableHeader/styles.js +3 -18
- package/lib/core/BoxedTable/TableRow/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableRow/index.js +9 -7
- package/lib/core/BoxedTable/TableRow/styles.d.ts +17 -22
- package/lib/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableRow/styles.js +24 -30
- package/lib/core/BoxedTable/index.d.ts +0 -6
- package/lib/core/BoxedTable/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/index.js +7 -19
- package/lib/core/BoxedTable/styles.d.ts +4 -12
- package/lib/core/BoxedTable/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/styles.js +19 -25
- package/lib/core/Button/Button.stories.d.ts +1 -1
- package/lib/core/Button/Button.stories.d.ts.map +1 -1
- package/lib/core/Button/index.d.ts +31 -31
- package/lib/core/Button/index.d.ts.map +1 -1
- package/lib/core/Button/styles.d.ts +18 -19
- package/lib/core/Button/styles.d.ts.map +1 -1
- package/lib/core/Calendar/Calendar.stories.d.ts +2 -2
- package/lib/core/Calendar/Calendar.stories.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/index.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/index.js +3 -3
- package/lib/core/Calendar/CalendarEvent/styles.d.ts +8 -9
- package/lib/core/Calendar/CalendarEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarSmallEvent/index.js +1 -2
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +8 -9
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/index.d.ts.map +1 -1
- package/lib/core/Calendar/index.js +5 -4
- package/lib/core/Calendar/styles.d.ts +9 -10
- package/lib/core/Calendar/styles.d.ts.map +1 -1
- package/lib/core/Card/Card.stories.d.ts +1 -2
- package/lib/core/Card/Card.stories.d.ts.map +1 -1
- package/lib/core/Card/Card.stories.js +1 -2
- package/lib/core/Card/index.d.ts +12 -12
- package/lib/core/Card/index.d.ts.map +1 -1
- package/lib/core/Card/styles.d.ts +11 -11
- package/lib/core/Checkbox/Checkbox.stories.d.ts +1 -1
- package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/lib/core/Checkbox/index.js +1 -2
- package/lib/core/Checkbox/styles.d.ts +5 -5
- package/lib/core/Checkbox/styles.d.ts.map +1 -1
- package/lib/core/CollapseList/CollapseList.stories.d.ts +1 -1
- package/lib/core/CollapseList/CollapseList.stories.d.ts.map +1 -1
- package/lib/core/CollapseList/CollapseList.stories.js +1 -2
- package/lib/core/CollapseList/Item.js +1 -3
- package/lib/core/CollapseList/styles.d.ts +32 -33
- package/lib/core/CollapseList/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentLine/index.js +1 -2
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts +6 -7
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +1 -1
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +1 -2
- package/lib/core/CommentsTimeline/styles.d.ts +2 -3
- package/lib/core/CommentsTimeline/styles.d.ts.map +1 -1
- package/lib/core/CustomText/CustomText.stories.d.ts +1 -1
- package/lib/core/CustomText/CustomText.stories.d.ts.map +1 -1
- package/lib/core/CustomText/styles.d.ts +3 -4
- package/lib/core/CustomText/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/Datepicker.stories.d.ts +1 -2
- package/lib/core/Datepicker/Datepicker.stories.d.ts.map +1 -1
- package/lib/core/Datepicker/index.d.ts +4 -4
- package/lib/core/Datepicker/index.d.ts.map +1 -1
- package/lib/core/Datepicker/index.js +16 -7
- package/lib/core/Datepicker/styles.d.ts +14 -15
- package/lib/core/Datepicker/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/styles.js +13 -13
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +1 -1
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts.map +1 -1
- package/lib/core/DatepickerRange/index.d.ts +0 -1
- package/lib/core/DatepickerRange/index.d.ts.map +1 -1
- package/lib/core/DatepickerRange/index.js +2 -2
- package/lib/core/DatepickerRange/styles.d.ts +14 -15
- package/lib/core/DatepickerRange/styles.d.ts.map +1 -1
- package/lib/core/Divider/styles.d.ts +5 -5
- package/lib/core/Dropdown/Dropdown.stories.d.ts +1 -1
- package/lib/core/Dropdown/Dropdown.stories.d.ts.map +1 -1
- package/lib/core/Dropdown/index.js +1 -2
- package/lib/core/Dropdown/styles.d.ts +3 -3
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
- package/lib/core/DropdownMenu/DropdownMenu.stories.js +1 -3
- package/lib/core/DropdownMenu/index.js +1 -2
- package/lib/core/DropdownMenu/styles.d.ts +5 -6
- package/lib/core/DropdownMenu/styles.d.ts.map +1 -1
- package/lib/core/Editor/Editor.stories.d.ts +1 -1
- package/lib/core/Editor/Editor.stories.d.ts.map +1 -1
- package/lib/core/Editor/Editor.stories.js +1 -0
- package/lib/core/Editor/index.d.ts +3 -0
- package/lib/core/Editor/index.d.ts.map +1 -1
- package/lib/core/Editor/index.js +5 -3
- package/lib/core/Editor/styles.d.ts +6 -7
- package/lib/core/Editor/styles.d.ts.map +1 -1
- package/lib/core/EditorQuillReact/EditorQuillReact.stories.d.ts +8 -0
- package/lib/core/EditorQuillReact/EditorQuillReact.stories.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/EditorQuillReact.stories.js +59 -0
- package/lib/core/EditorQuillReact/IndentAttributor.d.ts +7 -0
- package/lib/core/EditorQuillReact/IndentAttributor.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/IndentAttributor.js +15 -0
- package/lib/core/EditorQuillReact/config.d.ts +30 -0
- package/lib/core/EditorQuillReact/config.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/config.js +31 -0
- package/lib/core/EditorQuillReact/index.d.ts +23 -0
- package/lib/core/EditorQuillReact/index.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/index.js +103 -0
- package/lib/core/EditorQuillReact/styles.d.ts +13 -0
- package/lib/core/EditorQuillReact/styles.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/styles.js +34 -0
- package/lib/core/FileInput/FileInput.stories.d.ts +1 -1
- package/lib/core/FileInput/FileInput.stories.d.ts.map +1 -1
- package/lib/core/FileInput/index.js +1 -2
- package/lib/core/FileInput/styles.d.ts +55 -56
- package/lib/core/FileInput/styles.d.ts.map +1 -1
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts +1 -1
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts.map +1 -1
- package/lib/core/GoogleButton/index.d.ts +1 -1
- package/lib/core/GoogleButton/index.d.ts.map +1 -1
- package/lib/core/GoogleButton/index.js +2 -2
- package/lib/core/GoogleButton/styles.d.ts +2 -3
- package/lib/core/GoogleButton/styles.d.ts.map +1 -1
- package/lib/core/Header/Header.stories.d.ts +1 -1
- package/lib/core/Header/Header.stories.d.ts.map +1 -1
- package/lib/core/Header/styles.d.ts +7 -7
- package/lib/core/HighlightText/HighlightText.stories.d.ts +1 -1
- package/lib/core/HighlightText/HighlightText.stories.d.ts.map +1 -1
- package/lib/core/HighlightText/styles.d.ts +2 -3
- package/lib/core/HighlightText/styles.d.ts.map +1 -1
- package/lib/core/Html/Html.stories.d.ts +1 -1
- package/lib/core/Html/Html.stories.d.ts.map +1 -1
- package/lib/core/Html/Html.stories.js +2 -3
- package/lib/core/Html/index.d.ts +1 -0
- package/lib/core/Html/index.d.ts.map +1 -1
- package/lib/core/Html/index.js +3 -1
- package/lib/core/Html/styles.d.ts +6 -6
- package/lib/core/Html/styles.d.ts.map +1 -1
- package/lib/core/Html/styles.js +6 -9
- package/lib/core/Image/Image.stories.d.ts +1 -1
- package/lib/core/Image/Image.stories.d.ts.map +1 -1
- package/lib/core/Image/styles.d.ts +6 -6
- package/lib/core/ImagePicker/IconWithBackground.d.ts +1 -1
- package/lib/core/ImagePicker/IconWithBackground.d.ts.map +1 -1
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts +1 -1
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts.map +1 -1
- package/lib/core/ImagePicker/UploadButton.d.ts +1 -1
- package/lib/core/ImagePicker/UploadButton.d.ts.map +1 -1
- package/lib/core/ImagePicker/UploadButton.js +1 -2
- package/lib/core/ImagePicker/index.d.ts +1 -1
- package/lib/core/ImagePicker/index.d.ts.map +1 -1
- package/lib/core/ImagePicker/index.js +1 -2
- package/lib/core/ImagePicker/styles.d.ts +11 -11
- package/lib/core/ImageViewer/ImageViewer.stories.d.ts +1 -1
- package/lib/core/ImageViewer/ImageViewer.stories.d.ts.map +1 -1
- package/lib/core/ImageViewer/index.d.ts +1 -1
- package/lib/core/ImageViewer/index.d.ts.map +1 -1
- package/lib/core/ImageViewer/index.js +1 -2
- package/lib/core/ImageViewer/styles.d.ts +6 -6
- package/lib/core/InfoButton/InfoButton.stories.d.ts +1 -1
- package/lib/core/InfoButton/InfoButton.stories.d.ts.map +1 -1
- package/lib/core/InfoButton/index.js +1 -2
- package/lib/core/InfoButton/styles.d.ts +41 -42
- package/lib/core/InfoButton/styles.d.ts.map +1 -1
- package/lib/core/Input/Input.stories.d.ts +3 -1
- package/lib/core/Input/Input.stories.d.ts.map +1 -1
- package/lib/core/Input/Input.stories.js +20 -1
- package/lib/core/Input/index.d.ts +8 -2
- package/lib/core/Input/index.d.ts.map +1 -1
- package/lib/core/Input/index.js +45 -27
- package/lib/core/Input/styles.d.ts +19 -17
- package/lib/core/Input/styles.d.ts.map +1 -1
- package/lib/core/Input/styles.js +20 -18
- package/lib/core/Link/Link.stories.d.ts +1 -1
- package/lib/core/Link/Link.stories.d.ts.map +1 -1
- package/lib/core/Link/index.d.ts +1 -1
- package/lib/core/Link/index.d.ts.map +1 -1
- package/lib/core/Link/index.js +1 -2
- package/lib/core/Link/styles.d.ts +11 -12
- package/lib/core/Link/styles.d.ts.map +1 -1
- package/lib/core/List/Item.d.ts +1 -1
- package/lib/core/List/Item.d.ts.map +1 -1
- package/lib/core/List/Item.js +5 -5
- package/lib/core/List/List.stories.d.ts +1 -1
- package/lib/core/List/List.stories.d.ts.map +1 -1
- package/lib/core/List/List.stories.js +1 -3
- package/lib/core/List/index.d.ts +1 -1
- package/lib/core/List/index.d.ts.map +1 -1
- package/lib/core/List/index.js +1 -1
- package/lib/core/List/styles.d.ts +11 -11
- package/lib/core/ListPager/ListPager.stories.d.ts +1 -1
- package/lib/core/ListPager/ListPager.stories.d.ts.map +1 -1
- package/lib/core/ListPager/index.d.ts +0 -2
- package/lib/core/ListPager/index.d.ts.map +1 -1
- package/lib/core/ListPager/index.js +3 -22
- package/lib/core/ListPager/styles.d.ts +5 -6
- package/lib/core/ListPager/styles.d.ts.map +1 -1
- package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts +1 -1
- package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts.map +1 -1
- package/lib/core/MediaCarousel/index.d.ts +5 -3
- package/lib/core/MediaCarousel/index.d.ts.map +1 -1
- package/lib/core/MediaCarousel/index.js +7 -4
- package/lib/core/MediaCarousel/styles.d.ts +11 -12
- package/lib/core/MediaCarousel/styles.d.ts.map +1 -1
- package/lib/core/Modal/ActionButtons/index.d.ts +1 -1
- package/lib/core/Modal/ActionButtons/index.d.ts.map +1 -1
- package/lib/core/Modal/Modal.stories.d.ts +1 -1
- package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
- package/lib/core/Modal/Modal.stories.js +1 -2
- package/lib/core/Modal/index.d.ts +5 -3
- package/lib/core/Modal/index.d.ts.map +1 -1
- package/lib/core/Modal/index.js +8 -3
- package/lib/core/Modal/styles.d.ts +14 -15
- package/lib/core/Modal/styles.d.ts.map +1 -1
- package/lib/core/Modal/styles.js +8 -8
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts +2 -2
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts.map +1 -1
- package/lib/core/NoticeCard/NoticeCard.stories.js +1 -4
- package/lib/core/NoticeCard/index.d.ts.map +1 -1
- package/lib/core/NoticeCard/index.js +1 -5
- package/lib/core/NoticeCard/models.d.ts +0 -2
- package/lib/core/NoticeCard/models.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +1 -2
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts +6 -7
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts +2 -3
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts +0 -2
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +4 -16
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts +6 -7
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/styles.d.ts +8 -9
- package/lib/core/NoticeCard/styles.d.ts.map +1 -1
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +2 -2
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts.map +1 -1
- package/lib/core/NotificationCounter/styles.d.ts +1 -1
- package/lib/core/NotificationCounter/styles.d.ts.map +1 -1
- package/lib/core/NotificationCounter/styles.js +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.d.ts +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.js +2 -2
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts +36 -37
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +4 -4
- package/lib/core/NotificationsMenu/index.d.ts +4 -2
- package/lib/core/NotificationsMenu/index.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/index.js +34 -17
- package/lib/core/NotificationsMenu/styles.d.ts +7 -8
- package/lib/core/NotificationsMenu/styles.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/styles.js +3 -3
- package/lib/core/PieChart/ActiveShape/index.js +1 -2
- package/lib/core/PieChart/PieChart.stories.d.ts +2 -2
- package/lib/core/PieChart/PieChart.stories.d.ts.map +1 -1
- package/lib/core/PieChart/index.d.ts +2 -0
- package/lib/core/PieChart/index.d.ts.map +1 -1
- package/lib/core/PieChart/index.js +9 -4
- package/lib/core/PieChart/renderTextContent/index.d.ts +1 -1
- package/lib/core/PieChart/renderTextContent/index.d.ts.map +1 -1
- package/lib/core/PieChart/renderTextContent/index.js +3 -2
- package/lib/core/PieChart/styles.d.ts +4 -5
- package/lib/core/PieChart/styles.d.ts.map +1 -1
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +6 -7
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCard/PreemptionCard.stories.js +12 -9
- package/lib/core/PreemptionCard/index.d.ts.map +1 -1
- package/lib/core/PreemptionCard/index.js +3 -4
- package/lib/core/PreemptionCard/styles.d.ts +4 -5
- package/lib/core/PreemptionCard/styles.d.ts.map +1 -1
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +2 -2
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCardLoading/index.js +1 -2
- package/lib/core/PreemptionCardLoading/styles.d.ts +6 -7
- package/lib/core/PreemptionCardLoading/styles.d.ts.map +1 -1
- package/lib/core/QuillEditor/Attributors/IndentAttributor.d.ts +7 -0
- package/lib/core/QuillEditor/Attributors/IndentAttributor.d.ts.map +1 -0
- package/lib/core/QuillEditor/Attributors/IndentAttributor.js +15 -0
- package/lib/core/QuillEditor/Attributors/ListContainer.d.ts +10 -0
- package/lib/core/QuillEditor/Attributors/ListContainer.d.ts.map +1 -0
- package/lib/core/QuillEditor/Attributors/ListContainer.js +20 -0
- package/lib/core/QuillEditor/Attributors/ListItem.d.ts +10 -0
- package/lib/core/QuillEditor/Attributors/ListItem.d.ts.map +1 -0
- package/lib/core/QuillEditor/Attributors/ListItem.js +24 -0
- package/lib/core/QuillEditor/QuillEditor.stories.d.ts +28 -0
- package/lib/core/QuillEditor/QuillEditor.stories.d.ts.map +1 -0
- package/lib/core/QuillEditor/QuillEditor.stories.js +56 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.d.ts +7 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.js +15 -0
- package/lib/core/QuillEditor/classes/LinkSanitizer.d.ts +6 -0
- package/lib/core/QuillEditor/classes/LinkSanitizer.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/LinkSanitizer.js +21 -0
- package/lib/core/QuillEditor/classes/ListContainer.d.ts +10 -0
- package/lib/core/QuillEditor/classes/ListContainer.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/ListContainer.js +20 -0
- package/lib/core/QuillEditor/classes/ListItem.d.ts +10 -0
- package/lib/core/QuillEditor/classes/ListItem.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/ListItem.js +24 -0
- package/lib/core/QuillEditor/config.d.ts +19 -0
- package/lib/core/QuillEditor/config.d.ts.map +1 -0
- package/lib/core/QuillEditor/config.js +28 -0
- package/lib/core/QuillEditor/index.d.ts +5 -0
- package/lib/core/QuillEditor/index.d.ts.map +1 -0
- package/lib/core/QuillEditor/index.js +278 -0
- package/lib/core/QuillEditor/models.d.ts +78 -0
- package/lib/core/QuillEditor/models.d.ts.map +1 -0
- package/lib/core/QuillEditor/styles.d.ts +13 -0
- package/lib/core/QuillEditor/styles.d.ts.map +1 -0
- package/lib/core/QuillEditor/styles.js +34 -0
- package/lib/core/Radio/Radio.stories.d.ts +2 -2
- package/lib/core/Radio/Radio.stories.d.ts.map +1 -1
- package/lib/core/Radio/Radio.stories.js +1 -2
- package/lib/core/Radio/index.d.ts +1 -1
- package/lib/core/Radio/index.d.ts.map +1 -1
- package/lib/core/Radio/index.js +1 -2
- package/lib/core/Radio/styles.d.ts +4 -4
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts +2 -2
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts.map +1 -1
- package/lib/core/SearchFilter/SearchFilter.stories.js +1 -2
- package/lib/core/SearchFilter/index.d.ts.map +1 -1
- package/lib/core/SearchFilter/index.js +4 -4
- package/lib/core/SearchFilter/styles.d.ts +14 -15
- package/lib/core/SearchFilter/styles.d.ts.map +1 -1
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts +2 -2
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts.map +1 -1
- package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts +0 -1
- package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts.map +1 -1
- package/lib/core/SearchSelect/index.js +1 -3
- package/lib/core/SearchSelect/styles.d.ts +9 -10
- package/lib/core/SearchSelect/styles.d.ts.map +1 -1
- package/lib/core/Select/Select.stories.d.ts +2 -2
- package/lib/core/Select/Select.stories.d.ts.map +1 -1
- package/lib/core/Select/Select.stories.js +1 -2
- package/lib/core/Select/index.js +1 -2
- package/lib/core/Select/styles.d.ts +19 -20
- package/lib/core/Select/styles.d.ts.map +1 -1
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +2 -2
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts.map +1 -1
- package/lib/core/SimpleBarChart/index.js +1 -2
- package/lib/core/SimpleBarChart/styles.d.ts +2 -3
- package/lib/core/SimpleBarChart/styles.d.ts.map +1 -1
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +2 -2
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts.map +1 -1
- package/lib/core/SimpleLineChart/index.js +1 -2
- package/lib/core/SimpleLineChart/styles.d.ts +2 -3
- package/lib/core/SimpleLineChart/styles.d.ts.map +1 -1
- package/lib/core/Skeleton/Skeleton.stories.d.ts +1 -1
- package/lib/core/Skeleton/Skeleton.stories.d.ts.map +1 -1
- package/lib/core/Skeleton/styles.d.ts +9 -10
- package/lib/core/Skeleton/styles.d.ts.map +1 -1
- package/lib/core/Spinner/Spinner.stories.d.ts +2 -2
- package/lib/core/Spinner/Spinner.stories.d.ts.map +1 -1
- package/lib/core/Spinner/styles.d.ts +5 -5
- package/lib/core/Spinner/styles.d.ts.map +1 -1
- package/lib/core/Stepper/MobileStep/index.d.ts +8 -0
- package/lib/core/Stepper/MobileStep/index.d.ts.map +1 -0
- package/lib/core/Stepper/MobileStep/index.js +33 -0
- package/lib/core/Stepper/MobileStep/styles.d.ts +31 -0
- package/lib/core/Stepper/MobileStep/styles.d.ts.map +1 -0
- package/lib/core/Stepper/MobileStep/styles.js +90 -0
- package/lib/core/Stepper/Step/index.d.ts +12 -0
- package/lib/core/Stepper/Step/index.d.ts.map +1 -0
- package/lib/core/Stepper/Step/index.js +83 -0
- package/lib/core/Stepper/Step/styles.d.ts +27 -0
- package/lib/core/Stepper/Step/styles.d.ts.map +1 -0
- package/lib/core/Stepper/Step/styles.js +49 -0
- package/lib/core/Stepper/Stepper.stories.d.ts +7 -0
- package/lib/core/Stepper/Stepper.stories.d.ts.map +1 -0
- package/lib/core/Stepper/Stepper.stories.js +29 -0
- package/lib/core/Stepper/index.d.ts +18 -0
- package/lib/core/Stepper/index.d.ts.map +1 -0
- package/lib/core/Stepper/index.js +47 -0
- package/lib/core/Stepper/styles.d.ts +13 -0
- package/lib/core/Stepper/styles.d.ts.map +1 -0
- package/lib/core/Stepper/styles.js +24 -0
- package/lib/core/TabBar/TabBar.stories.d.ts +2 -2
- package/lib/core/TabBar/TabBar.stories.d.ts.map +1 -1
- package/lib/core/TabBar/TabBar.stories.js +1 -2
- package/lib/core/TabBar/TabItem/index.js +2 -2
- package/lib/core/TabBar/TabItem/styles.d.ts +2 -3
- package/lib/core/TabBar/TabItem/styles.d.ts.map +1 -1
- package/lib/core/TabBar/styles.d.ts +2 -3
- package/lib/core/TabBar/styles.d.ts.map +1 -1
- package/lib/core/TabNav/TabNav.stories.d.ts +2 -2
- package/lib/core/TabNav/TabNav.stories.d.ts.map +1 -1
- package/lib/core/TabNav/TabNav.stories.js +1 -2
- package/lib/core/TabNav/TabNavItem/index.js +1 -2
- package/lib/core/TabNav/TabNavItem/styles.d.ts +10 -11
- package/lib/core/TabNav/TabNavItem/styles.d.ts.map +1 -1
- package/lib/core/TabNav/index.js +1 -2
- package/lib/core/TabNav/styles.d.ts +12 -13
- package/lib/core/TabNav/styles.d.ts.map +1 -1
- package/lib/core/TabNav/utils/useContainerDimensions.d.ts.map +1 -1
- package/lib/core/Table/Cell.d.ts +1 -1
- package/lib/core/Table/Cell.d.ts.map +1 -1
- package/lib/core/Table/Row.d.ts +1 -1
- package/lib/core/Table/Row.d.ts.map +1 -1
- package/lib/core/Table/Table.stories.d.ts +2 -2
- package/lib/core/Table/Table.stories.d.ts.map +1 -1
- package/lib/core/Table/Table.stories.js +1 -2
- package/lib/core/Table/index.d.ts +1 -1
- package/lib/core/Table/index.d.ts.map +1 -1
- package/lib/core/Table/styles.d.ts +18 -19
- package/lib/core/Table/styles.d.ts.map +1 -1
- package/lib/core/Tag/Tag.stories.d.ts +1 -1
- package/lib/core/Tag/Tag.stories.d.ts.map +1 -1
- package/lib/core/Tag/index.js +1 -3
- package/lib/core/Tag/styles.d.ts +13 -13
- package/lib/core/Text/Text.stories.d.ts +1 -1
- package/lib/core/Text/Text.stories.d.ts.map +1 -1
- package/lib/core/Text/index.d.ts +1 -1
- package/lib/core/Text/index.d.ts.map +1 -1
- package/lib/core/Text/styles.d.ts +15 -15
- package/lib/core/Textarea/Textarea.stories.d.ts +1 -1
- package/lib/core/Textarea/Textarea.stories.d.ts.map +1 -1
- package/lib/core/Textarea/index.d.ts +3 -5
- package/lib/core/Textarea/index.d.ts.map +1 -1
- package/lib/core/Textarea/index.js +6 -5
- package/lib/core/Textarea/styles.d.ts +8 -9
- package/lib/core/Textarea/styles.d.ts.map +1 -1
- package/lib/core/Timeline/Timeline.stories.d.ts +2 -2
- package/lib/core/Timeline/Timeline.stories.d.ts.map +1 -1
- package/lib/core/Timeline/Timeline.stories.js +1 -2
- package/lib/core/Timeline/TimelineStep/index.js +1 -2
- package/lib/core/Timeline/TimelineStep/styles.d.ts +7 -8
- package/lib/core/Timeline/TimelineStep/styles.d.ts.map +1 -1
- package/lib/core/Timeline/styles.d.ts +2 -3
- package/lib/core/Timeline/styles.d.ts.map +1 -1
- package/lib/core/Timepicker/Timepicker.stories.d.ts +2 -2
- package/lib/core/Timepicker/Timepicker.stories.d.ts.map +1 -1
- package/lib/core/Timepicker/index.d.ts +1 -1
- package/lib/core/Timepicker/index.d.ts.map +1 -1
- package/lib/core/Timepicker/index.js +1 -2
- package/lib/core/Timepicker/styles.d.ts +9 -10
- package/lib/core/Timepicker/styles.d.ts.map +1 -1
- package/lib/core/Tooltip/Tooptip.stories.d.ts +2 -2
- package/lib/core/Tooltip/Tooptip.stories.d.ts.map +1 -1
- package/lib/core/Tooltip/index.js +1 -2
- package/lib/core/Tooltip/styles.d.ts +2 -2
- package/lib/core/UserMenu/UserMenu.stories.d.ts +2 -2
- package/lib/core/UserMenu/UserMenu.stories.d.ts.map +1 -1
- package/lib/core/UserMenu/UserMenu.stories.js +1 -2
- package/lib/core/UserMenu/index.js +1 -2
- package/lib/core/UserMenu/styles.d.ts +14 -15
- package/lib/core/UserMenu/styles.d.ts.map +1 -1
- package/lib/core/Video/Video.stories.d.ts +2 -1
- package/lib/core/Video/Video.stories.d.ts.map +1 -1
- package/lib/core/Video/index.d.ts +0 -1
- package/lib/core/Video/index.d.ts.map +1 -1
- package/lib/core/Video/styles.d.ts +2 -3
- package/lib/core/Video/styles.d.ts.map +1 -1
- package/lib/core/YearWheel/YearWheel.stories.d.ts +2 -2
- package/lib/core/YearWheel/YearWheel.stories.d.ts.map +1 -1
- package/lib/core/YearWheel/index.js +1 -2
- package/lib/core/YearWheel/styles.d.ts +4 -5
- package/lib/core/YearWheel/styles.d.ts.map +1 -1
- package/lib/core/private/ButtonOrLink.d.ts +18 -18
- package/lib/core/private/ButtonOrLink.d.ts.map +1 -1
- package/lib/core/private/ButtonOrLink.js +1 -2
- package/lib/core/private/preemption.d.ts.map +1 -1
- package/lib/core/private/preemption.js +5 -1
- package/lib/globals/styles/styles.d.ts +1 -1
- package/lib/globals/validation/regularExpressions.js +1 -1
- package/lib/hooks/useIsMobile.d.ts +1 -1
- package/lib/hooks/useIsMobile.d.ts.map +1 -1
- package/lib/icons/General/IconAuditorFilled.js +1 -2
- package/lib/icons/General/IconAuditorOutline.js +1 -2
- package/lib/icons/General/IconCamera.js +1 -2
- package/lib/icons/General/IconCases.js +1 -2
- package/lib/icons/General/IconDocument.js +1 -2
- package/lib/icons/General/IconDocumentFilled.js +1 -2
- package/lib/icons/General/IconEmailMarkAsRead.d.ts +3 -0
- package/lib/icons/General/IconEmailMarkAsRead.d.ts.map +1 -0
- package/lib/icons/General/IconEmailMarkAsRead.js +12 -0
- package/lib/icons/General/IconFillOut.js +1 -2
- package/lib/icons/General/IconHomeFilled.js +1 -2
- package/lib/icons/General/IconHomeOutline.js +1 -2
- package/lib/icons/General/IconHouseBlockFilled.js +1 -2
- package/lib/icons/General/IconHouseBlockOutline.js +1 -2
- package/lib/icons/General/IconImage.js +1 -2
- package/lib/icons/General/IconJanitorFilled.js +1 -2
- package/lib/icons/General/IconJanitorOutline.js +1 -2
- package/lib/icons/General/IconLeafFilled.js +1 -2
- package/lib/icons/General/IconLeafOutline.js +1 -2
- package/lib/icons/General/IconRearrange.js +1 -2
- package/lib/icons/Icon.stories.d.ts +0 -1
- package/lib/icons/Icon.stories.d.ts.map +1 -1
- package/lib/icons/Icon.stories.js +4 -2
- package/lib/icons/Logos/IconBankAxept.js +1 -2
- package/lib/icons/Logos/IconGmail.js +1 -2
- package/lib/icons/Logos/IconMasterCard.js +1 -2
- package/lib/icons/Logos/IconOffice365.js +1 -2
- package/lib/icons/Logos/IconVisa.js +1 -2
- package/lib/icons/withIcon.d.ts +2 -2
- package/lib/icons/withIcon.d.ts.map +1 -1
- package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +1 -2
- package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1 -2
- package/lib/illustrations/General/IllustrationBudget.d.ts +4 -0
- package/lib/illustrations/General/IllustrationBudget.d.ts.map +1 -0
- package/lib/illustrations/General/IllustrationBudget.js +185 -0
- package/lib/illustrations/General/IllustrationError.js +1 -2
- package/lib/illustrations/General/IllustrationErrorGeneric.js +1 -2
- package/lib/illustrations/General/IllustrationHighHouse.js +1 -2
- package/lib/illustrations/General/IllustrationHighHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationHouse.js +1 -2
- package/lib/illustrations/General/IllustrationHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationHouseMissing.js +1 -2
- package/lib/illustrations/General/IllustrationLowHouse.js +1 -2
- package/lib/illustrations/General/IllustrationLowHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationPaperCompleted.js +1 -2
- package/lib/illustrations/General/IllustrationPaperMissing.js +1 -2
- package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +1 -2
- package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationServiceMessage.d.ts +5 -0
- package/lib/illustrations/General/IllustrationServiceMessage.d.ts.map +1 -0
- package/lib/illustrations/General/IllustrationServiceMessage.js +40 -0
- package/lib/illustrations/General/IllustrationSmallHouse.js +1 -2
- package/lib/illustrations/General/IllustrationSmallHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts +5 -0
- package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts.map +1 -0
- package/lib/illustrations/General/IllustrationTechninalDifficulties.js +119 -0
- package/lib/illustrations/General/IllustrationTerraceBlock.js +1 -2
- package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +1 -2
- package/lib/illustrations/General/IllustrationTownHouse.js +1 -2
- package/lib/illustrations/General/IllustrationTownHouseComposition.js +1 -2
- package/lib/illustrations/Illustration.stories.d.ts +0 -1
- package/lib/illustrations/Illustration.stories.d.ts.map +1 -1
- package/lib/illustrations/Illustration.stories.js +18 -3
- package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts +4 -0
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts.map +1 -0
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.js +180 -0
- package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteComputer.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteGift.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts +4 -0
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts.map +1 -0
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.js +77 -0
- package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySitePapers.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +1 -2
- package/lib/illustrations/styles.d.ts +2 -2
- package/lib/illustrations/withIllustration.d.ts +2 -2
- package/lib/illustrations/withIllustration.d.ts.map +1 -1
- package/lib/index.d.ts +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -1
- 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
@@ -1,8 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
export
|
5
|
-
|
6
|
-
|
7
|
-
};
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import PreemptionCard from '.';
|
3
|
+
declare const meta: Meta<typeof PreemptionCard>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof PreemptionCard>;
|
6
|
+
export declare const Default: Story;
|
8
7
|
//# sourceMappingURL=PreemptionCard.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PreemptionCard.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCard/PreemptionCard.stories.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"PreemptionCard.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCard/PreemptionCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,cAAc,MAAM,GAAG,CAAA;AAG9B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAG7B,CAAA;AAET,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA;AAmD5C,eAAO,MAAM,OAAO,EAAE,KAarB,CAAA"}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import PreemptionCard from '.';
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
3
|
-
|
3
|
+
const meta = {
|
4
4
|
title: 'Core/PreemptionCard',
|
5
5
|
component: PreemptionCard
|
6
6
|
};
|
7
|
+
export default meta;
|
7
8
|
const dummypreemption = {
|
8
9
|
accept: null,
|
9
10
|
advertisement: null,
|
@@ -18,7 +19,7 @@ const dummypreemption = {
|
|
18
19
|
addedJointCost: '200.0',
|
19
20
|
addedJointDebt: '300.0',
|
20
21
|
askingPrice: '100000.0',
|
21
|
-
fixedPrice:
|
22
|
+
fixedPrice: '200000.0',
|
22
23
|
jointCosts: '0.0',
|
23
24
|
jointDebt: '0.0',
|
24
25
|
preemptionFee: '4300.0',
|
@@ -52,17 +53,19 @@ const dummypreemption = {
|
|
52
53
|
telephone: '22225555',
|
53
54
|
text: 'tilknyttet uten forvaltning',
|
54
55
|
url: null
|
55
|
-
}
|
56
|
+
},
|
57
|
+
clarificationInAdvance: true
|
56
58
|
};
|
57
59
|
export const Default = {
|
58
|
-
|
60
|
+
args: {
|
61
|
+
preemption: dummypreemption,
|
62
|
+
onClick: () => console.log('clicked preemption')
|
63
|
+
},
|
64
|
+
decorators: [Story => /*#__PURE__*/_jsx("div", {
|
59
65
|
style: {
|
60
66
|
maxWidth: '300px'
|
61
67
|
},
|
62
|
-
children: /*#__PURE__*/_jsx(
|
63
|
-
|
64
|
-
onClick: () => console.log('clicked preemption')
|
65
|
-
})
|
66
|
-
}),
|
68
|
+
children: /*#__PURE__*/_jsx(Story, {})
|
69
|
+
})],
|
67
70
|
name: 'Default'
|
68
71
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCard/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAetC,UAAU,MAAM;IACd,UAAU,EAAE,WAAW,CAAA;IACvB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCard/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAetC,UAAU,MAAM;IACd,UAAU,EAAE,WAAW,CAAA;IACvB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA4EpC,CAAA;AAED,eAAe,cAAc,CAAA"}
|
@@ -10,8 +10,7 @@ import { getAreaTextForPreemptionUnit, getMeldefristText, isDeadlineClosing } fr
|
|
10
10
|
import Divider from '../Divider';
|
11
11
|
import Header from '../Header';
|
12
12
|
import { getPriceWithLabel, getFormattedPrice, getFormattedDate } from '../../utils/format';
|
13
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
14
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
15
14
|
const PreemptionCard = ({
|
16
15
|
preemption,
|
17
16
|
onClick
|
@@ -27,7 +26,7 @@ const PreemptionCard = ({
|
|
27
26
|
children: [_jsx(SvgHead, {
|
28
27
|
css: /*#__PURE__*/_css({
|
29
28
|
background: 'linear-gradient(' + theme.backgroundColor + ', ' + theme.backgroundColor + '), linear-gradient(' + theme.primary20opa + ', ' + theme.primary20opa + ')'
|
30
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:PreemptionCard;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1ByZWVtcHRpb25DYXJkL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtQ1EiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvUHJlZW1wdGlvbkNhcmQvaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3hJbXBvcnRTb3VyY2UgQGVtb3Rpb24vcmVhY3QgKi9cbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCdcbmltcG9ydCB7IHVzZVRoZW1lIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBTdmdIZWFkLCBVbml0SW5mbywgU3R5bGVkVGFnIH0gZnJvbSAnLi9zdHlsZXMnXG5pbXBvcnQgQ2FyZCBmcm9tICcuLi9DYXJkJ1xuaW1wb3J0IFRleHQgZnJvbSAnLi4vVGV4dCdcbmltcG9ydCB7IElQcmVlbXB0aW9uIH0gZnJvbSAnLi9tb2RlbHMnXG5pbXBvcnQgVW5pdElsbHVzdHJhdGlvbiBmcm9tICcuLi9Vbml0SWxsdXN0cmF0aW9uJ1xuaW1wb3J0IHtcbiAgZ2V0QXJlYVRleHRGb3JQcmVlbXB0aW9uVW5pdCxcbiAgZ2V0TWVsZGVmcmlzdFRleHQsXG4gIGlzRGVhZGxpbmVDbG9zaW5nLFxufSBmcm9tICcuLi9wcml2YXRlL3ByZWVtcHRpb24nXG5pbXBvcnQgRGl2aWRlciBmcm9tICcuLi9EaXZpZGVyJ1xuaW1wb3J0IEhlYWRlciBmcm9tICcuLi9IZWFkZXInXG5pbXBvcnQge1xuICBnZXRQcmljZVdpdGhMYWJlbCxcbiAgZ2V0Rm9ybWF0dGVkUHJpY2UsXG4gIGdldEZvcm1hdHRlZERhdGUsXG59IGZyb20gJy4uLy4uL3V0aWxzL2Zvcm1hdCdcblxuaW50ZXJmYWNlIElQcm9wcyB7XG4gIHByZWVtcHRpb246IElQcmVlbXB0aW9uXG4gIG9uQ2xpY2s6IChpZDogc3RyaW5nKSA9PiB2b2lkXG59XG5cbmNvbnN0IFByZWVtcHRpb25DYXJkOiBSZWFjdC5GQzxJUHJvcHM+ID0gKHsgcHJlZW1wdGlvbiwgb25DbGljayB9KSA9PiB7XG4gIGNvbnN0IHRoZW1lOiBhbnkgPSB1c2VUaGVtZSgpXG5cbiAgY29uc3QgS3ZtID0gPHN1cD4yPC9zdXA+XG5cbiAgcmV0dXJuIChcbiAgICA8Q2FyZCBvbkNsaWNrPXsoKSA9PiBvbkNsaWNrKHByZWVtcHRpb24uaWQpfSB3aXRoaG92ZXIgc2hhZG93PlxuICAgICAgey8qKiBUT0RPIGNoYW5nZSB3aXRoIGNvbXBvbmVudCAqL31cbiAgICAgIDxTdmdIZWFkXG4gICAgICAgIGNzcz17e1xuICAgICAgICAgIGJhY2tncm91bmQ6XG4gICAgICAgICAgICAnbGluZWFyLWdyYWRpZW50KCcgK1xuICAgICAgICAgICAgdGhlbWUuYmFja2dyb3VuZENvbG9yICtcbiAgICAgICAgICAgICcsICcgK1xuICAgICAgICAgICAgdGhlbWUuYmFja2dyb3VuZENvbG9yICtcbiAgICAgICAgICAgICcpLCBsaW5lYXItZ3JhZGllbnQoJyArXG4gICAgICAgICAgICB0aGVtZS5wcmltYXJ5MjBvcGEgK1xuICAgICAgICAgICAgJywgJyArXG4gICAgICAgICAgICB0aGVtZS5wcmltYXJ5MjBvcGEgK1xuICAgICAgICAgICAgJyknLFxuICAgICAgICB9fVxuICAgICAgPlxuICAgICAgICA8VW5pdElsbHVzdHJhdGlvblxuICAgICAgICAgIHR5cGU9e1xuICAgICAgICAgICAgcHJlZW1wdGlvbi51bml0LmJ1aWxkaW5nPy5idWlsZGluZ0NvZGUgfHxcbiAgICAgICAgICAgIHByZWVtcHRpb24udW5pdC5idWlsZGluZ0NvZGVcbiAgICAgICAgICB9XG4gICAgICAgIC8+XG4gICAgICA8L1N2Z0hlYWQ+XG5cbiAgICAgIHsvKiogVE9ETyBjaGFuZ2Ugd2l0aCBjb21wb25lbnQgKi99XG4gICAgICA8VW5pdEluZm8+XG4gICAgICAgIDxUZXh0IHNtYWxsIHN1YnRsZT5cbiAgICAgICAgICB7Z2V0QXJlYVRleHRGb3JQcmVlbXB0aW9uVW5pdChwcmVlbXB0aW9uLnVuaXQpfSAteycgJ31cbiAgICAgICAgICB7cHJlZW1wdGlvbi51bml0LmJ1aWxkaW5nPy5idWlsZGluZ0NvZGUgfHxcbiAgICAgICAgICAgIHByZWVtcHRpb24udW5pdC5idWlsZGluZ0NvZGV9XG4gICAgICAgICAge3ByZWVtcHRpb24udW5pdC5udW1iZXJPZlJvb21zXG4gICAgICAgICAgICA/ICcgLyAnICsgcHJlZW1wdGlvbi51bml0Lm51bWJlck9mUm9vbXMgKyAnLXJvbXMnXG4gICAgICAgICAgICA6IG51bGx9XG4gICAgICAgICAge3ByZWVtcHRpb24udW5pdC5wcmltYXJ5Um9vbVxuICAgICAgICAgICAgPyAnIC8gJyArIHByZWVtcHRpb24udW5pdC5wcmltYXJ5Um9vbSArICcgbSdcbiAgICAgICAgICAgIDogbnVsbH1cbiAgICAgICAgICB7cHJlZW1wdGlvbi51bml0LnByaW1hcnlSb29tID8gS3ZtIDogbnVsbH1cbiAgICAgICAgPC9UZXh0PlxuICAgICAgICA8VGV4dCBib2xkPntwcmVlbXB0aW9uLnVuaXQuYWRkcmVzc308L1RleHQ+
|
29
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:PreemptionCard;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1ByZWVtcHRpb25DYXJkL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtQ1EiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvUHJlZW1wdGlvbkNhcmQvaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3hJbXBvcnRTb3VyY2UgQGVtb3Rpb24vcmVhY3QgKi9cbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCdcbmltcG9ydCB7IHVzZVRoZW1lIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBTdmdIZWFkLCBVbml0SW5mbywgU3R5bGVkVGFnIH0gZnJvbSAnLi9zdHlsZXMnXG5pbXBvcnQgQ2FyZCBmcm9tICcuLi9DYXJkJ1xuaW1wb3J0IFRleHQgZnJvbSAnLi4vVGV4dCdcbmltcG9ydCB7IElQcmVlbXB0aW9uIH0gZnJvbSAnLi9tb2RlbHMnXG5pbXBvcnQgVW5pdElsbHVzdHJhdGlvbiBmcm9tICcuLi9Vbml0SWxsdXN0cmF0aW9uJ1xuaW1wb3J0IHtcbiAgZ2V0QXJlYVRleHRGb3JQcmVlbXB0aW9uVW5pdCxcbiAgZ2V0TWVsZGVmcmlzdFRleHQsXG4gIGlzRGVhZGxpbmVDbG9zaW5nLFxufSBmcm9tICcuLi9wcml2YXRlL3ByZWVtcHRpb24nXG5pbXBvcnQgRGl2aWRlciBmcm9tICcuLi9EaXZpZGVyJ1xuaW1wb3J0IEhlYWRlciBmcm9tICcuLi9IZWFkZXInXG5pbXBvcnQge1xuICBnZXRQcmljZVdpdGhMYWJlbCxcbiAgZ2V0Rm9ybWF0dGVkUHJpY2UsXG4gIGdldEZvcm1hdHRlZERhdGUsXG59IGZyb20gJy4uLy4uL3V0aWxzL2Zvcm1hdCdcblxuaW50ZXJmYWNlIElQcm9wcyB7XG4gIHByZWVtcHRpb246IElQcmVlbXB0aW9uXG4gIG9uQ2xpY2s6IChpZDogc3RyaW5nKSA9PiB2b2lkXG59XG5cbmNvbnN0IFByZWVtcHRpb25DYXJkOiBSZWFjdC5GQzxJUHJvcHM+ID0gKHsgcHJlZW1wdGlvbiwgb25DbGljayB9KSA9PiB7XG4gIGNvbnN0IHRoZW1lOiBhbnkgPSB1c2VUaGVtZSgpXG5cbiAgY29uc3QgS3ZtID0gPHN1cD4yPC9zdXA+XG5cbiAgcmV0dXJuIChcbiAgICA8Q2FyZCBvbkNsaWNrPXsoKSA9PiBvbkNsaWNrKHByZWVtcHRpb24uaWQpfSB3aXRoaG92ZXIgc2hhZG93PlxuICAgICAgey8qKiBUT0RPIGNoYW5nZSB3aXRoIGNvbXBvbmVudCAqL31cbiAgICAgIDxTdmdIZWFkXG4gICAgICAgIGNzcz17e1xuICAgICAgICAgIGJhY2tncm91bmQ6XG4gICAgICAgICAgICAnbGluZWFyLWdyYWRpZW50KCcgK1xuICAgICAgICAgICAgdGhlbWUuYmFja2dyb3VuZENvbG9yICtcbiAgICAgICAgICAgICcsICcgK1xuICAgICAgICAgICAgdGhlbWUuYmFja2dyb3VuZENvbG9yICtcbiAgICAgICAgICAgICcpLCBsaW5lYXItZ3JhZGllbnQoJyArXG4gICAgICAgICAgICB0aGVtZS5wcmltYXJ5MjBvcGEgK1xuICAgICAgICAgICAgJywgJyArXG4gICAgICAgICAgICB0aGVtZS5wcmltYXJ5MjBvcGEgK1xuICAgICAgICAgICAgJyknLFxuICAgICAgICB9fVxuICAgICAgPlxuICAgICAgICA8VW5pdElsbHVzdHJhdGlvblxuICAgICAgICAgIHR5cGU9e1xuICAgICAgICAgICAgcHJlZW1wdGlvbi51bml0LmJ1aWxkaW5nPy5idWlsZGluZ0NvZGUgfHxcbiAgICAgICAgICAgIHByZWVtcHRpb24udW5pdC5idWlsZGluZ0NvZGVcbiAgICAgICAgICB9XG4gICAgICAgIC8+XG4gICAgICA8L1N2Z0hlYWQ+XG5cbiAgICAgIHsvKiogVE9ETyBjaGFuZ2Ugd2l0aCBjb21wb25lbnQgKi99XG4gICAgICA8VW5pdEluZm8+XG4gICAgICAgIDxUZXh0IHNtYWxsIHN1YnRsZT5cbiAgICAgICAgICB7Z2V0QXJlYVRleHRGb3JQcmVlbXB0aW9uVW5pdChwcmVlbXB0aW9uLnVuaXQpfSAteycgJ31cbiAgICAgICAgICB7cHJlZW1wdGlvbi51bml0LmJ1aWxkaW5nPy5idWlsZGluZ0NvZGUgfHxcbiAgICAgICAgICAgIHByZWVtcHRpb24udW5pdC5idWlsZGluZ0NvZGV9XG4gICAgICAgICAge3ByZWVtcHRpb24udW5pdC5udW1iZXJPZlJvb21zXG4gICAgICAgICAgICA/ICcgLyAnICsgcHJlZW1wdGlvbi51bml0Lm51bWJlck9mUm9vbXMgKyAnLXJvbXMnXG4gICAgICAgICAgICA6IG51bGx9XG4gICAgICAgICAge3ByZWVtcHRpb24udW5pdC5wcmltYXJ5Um9vbVxuICAgICAgICAgICAgPyAnIC8gJyArIHByZWVtcHRpb24udW5pdC5wcmltYXJ5Um9vbSArICcgbSdcbiAgICAgICAgICAgIDogbnVsbH1cbiAgICAgICAgICB7cHJlZW1wdGlvbi51bml0LnByaW1hcnlSb29tID8gS3ZtIDogbnVsbH1cbiAgICAgICAgPC9UZXh0PlxuICAgICAgICA8VGV4dCBib2xkPntwcmVlbXB0aW9uLnVuaXQuYWRkcmVzc308L1RleHQ+XG5cbiAgICAgICAgPERpdmlkZXIgLz5cblxuICAgICAgICA8SGVhZGVyIGxldmVsPXs1fT5cbiAgICAgICAgICB7Z2V0UHJpY2VXaXRoTGFiZWwoXG4gICAgICAgICAgICBwcmVlbXB0aW9uLmNsYXJpZmljYXRpb25JbkFkdmFuY2UsXG4gICAgICAgICAgICBwcmVlbXB0aW9uLnByaWNpbmdcbiAgICAgICAgICApfVxuICAgICAgICA8L0hlYWRlcj5cbiAgICAgICAgPFRleHQgc21hbGwgc3VidGxlPlxuICAgICAgICAgIFRvdGFscHJpcyB7Z2V0Rm9ybWF0dGVkUHJpY2UocHJlZW1wdGlvbi5wcmljaW5nLnRvdGFsUHJpY2UpfVxuICAgICAgICA8L1RleHQ+XG4gICAgICAgIDxUZXh0IHNtYWxsIHN1YnRsZT5cbiAgICAgICAgICBGZWxsZXNrb3N0bmFkIHtnZXRGb3JtYXR0ZWRQcmljZShwcmVlbXB0aW9uLnByaWNpbmcuam9pbnRDb3N0cyl9XG4gICAgICAgIDwvVGV4dD5cblxuICAgICAgICA8U3R5bGVkVGFnXG4gICAgICAgICAgaW5mbz17aXNEZWFkbGluZUNsb3NpbmcocHJlZW1wdGlvbi5kZWFkbGluZSl9XG4gICAgICAgICAgbGlnaHQ9eyFpc0RlYWRsaW5lQ2xvc2luZyhwcmVlbXB0aW9uLmRlYWRsaW5lKX1cbiAgICAgICAgICB0aXRsZT17Z2V0Rm9ybWF0dGVkRGF0ZShwcmVlbXB0aW9uLmRlYWRsaW5lKX1cbiAgICAgICAgPlxuICAgICAgICAgIDxUZXh0IGV4dHJhc21hbGw+XG4gICAgICAgICAgICBNRUxERUZSSVNUOiZuYnNwO1xuICAgICAgICAgICAgPFRleHQgZXh0cmFzbWFsbCBib2xkPlxuICAgICAgICAgICAgICB7Z2V0TWVsZGVmcmlzdFRleHQocHJlZW1wdGlvbil9XG4gICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgPC9UZXh0PlxuICAgICAgICA8L1N0eWxlZFRhZz5cbiAgICAgIDwvVW5pdEluZm8+XG4gICAgPC9DYXJkPlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IFByZWVtcHRpb25DYXJkXG4iXX0= */"),
|
31
30
|
children: _jsx(UnitIllustration, {
|
32
31
|
type: preemption.unit.building?.buildingCode || preemption.unit.buildingCode
|
33
32
|
})
|
@@ -41,7 +40,7 @@ const PreemptionCard = ({
|
|
41
40
|
children: preemption.unit.address
|
42
41
|
}), _jsx(Divider, {}), _jsx(Header, {
|
43
42
|
level: 5,
|
44
|
-
children: getPriceWithLabel(preemption.pricing)
|
43
|
+
children: getPriceWithLabel(preemption.clarificationInAdvance, preemption.pricing)
|
45
44
|
}), _jsxs(Text, {
|
46
45
|
small: true,
|
47
46
|
subtle: true,
|
@@ -1,11 +1,10 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
export declare const SvgHead: import("@emotion/styled").StyledComponent<{
|
3
|
-
theme?: import("@emotion/react").Theme
|
4
|
-
as?:
|
2
|
+
theme?: import("@emotion/react").Theme;
|
3
|
+
as?: React.ElementType;
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
6
5
|
export declare const UnitInfo: import("@emotion/styled").StyledComponent<{
|
7
|
-
theme?: import("@emotion/react").Theme
|
8
|
-
as?:
|
6
|
+
theme?: import("@emotion/react").Theme;
|
7
|
+
as?: React.ElementType;
|
9
8
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
10
9
|
export declare const StyledTag: any;
|
11
10
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCard/styles.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCard/styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO;;eAgClB,WAAQ;yGAhBT,CAAA;AAED,eAAO,MAAM,QAAQ;;eAcnB,WAAQ;yGAJT,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,GAOvB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PreemptionCardLoading.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCardLoading/PreemptionCardLoading.stories.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"PreemptionCardLoading.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCardLoading/PreemptionCardLoading.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;wBAMlC,IAAI;AAHT,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAYnB,CAAA"}
|
@@ -3,8 +3,7 @@ import Card from '../Card';
|
|
3
3
|
import Divider from '../Divider';
|
4
4
|
import Skeleton from '../Skeleton';
|
5
5
|
import { WrapperUnitInformation, WrapperHeader } from './styles';
|
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 PreemptionCardLoading = () => {
|
9
8
|
return /*#__PURE__*/_jsxs(Card, {
|
10
9
|
shadow: true,
|
@@ -1,14 +1,13 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
3
|
-
theme?: import("@emotion/react").Theme
|
4
|
-
as?:
|
2
|
+
theme?: import("@emotion/react").Theme;
|
3
|
+
as?: React.ElementType;
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
6
5
|
export declare const WrapperHeader: import("@emotion/styled").StyledComponent<{
|
7
|
-
theme?: import("@emotion/react").Theme
|
8
|
-
as?:
|
6
|
+
theme?: import("@emotion/react").Theme;
|
7
|
+
as?: React.ElementType;
|
9
8
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
10
9
|
export declare const WrapperUnitInformation: import("@emotion/styled").StyledComponent<{
|
11
|
-
theme?: import("@emotion/react").Theme
|
12
|
-
as?:
|
10
|
+
theme?: import("@emotion/react").Theme;
|
11
|
+
as?: React.ElementType;
|
13
12
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
14
13
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCardLoading/styles.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/PreemptionCardLoading/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;eA4B0B,WAAW;yGArBxD,CAAA;AAED,eAAO,MAAM,aAAa;;eAmBoB,WAAW;yGANxD,CAAA;AAED,eAAO,MAAM,sBAAsB;;eAIW,WAAW;yGADxD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IndentAttributor.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/Attributors/IndentAttributor.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS,EAAgC,GAAG,CAAA;AAClD,qBAAa,gBAAiB,SAAQ,SAAS,CAAC,eAAe;gBACjD,GAAG,IAAI,EAAE,GAAG;IAGxB,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;CAQ1B"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import Quill from 'quill';
|
2
|
+
const Parchment = Quill.import('parchment');
|
3
|
+
export class IndentAttributor extends Parchment.StyleAttributor {
|
4
|
+
constructor(...args) {
|
5
|
+
super(...args);
|
6
|
+
}
|
7
|
+
add(node, value) {
|
8
|
+
if (value === 0) {
|
9
|
+
this.remove(node);
|
10
|
+
return true;
|
11
|
+
} else {
|
12
|
+
return super.add(node, `${value}em`);
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare const ListContainer: any;
|
2
|
+
export declare class MyListContainer extends ListContainer {
|
3
|
+
static tagName: string[];
|
4
|
+
static defaultTag: string;
|
5
|
+
static create(value: 'bullet' | 'ordered'): HTMLElement;
|
6
|
+
static getTag(val: 'bullet' | 'ordered'): string;
|
7
|
+
checkMerge(): any;
|
8
|
+
}
|
9
|
+
export {};
|
10
|
+
//# sourceMappingURL=ListContainer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListContainer.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/Attributors/ListContainer.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa,EAA6C,GAAG,CAAA;AACnE,qBAAa,eAAgB,SAAQ,aAAa;IAChD,MAAM,CAAC,OAAO,WAAe;IAC7B,MAAM,CAAC,UAAU,SAAO;IAExB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,GAAG,SAAS;IAIzC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,QAAQ,GAAG,SAAS;IAQvC,UAAU;CAMX"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import Quill from 'quill';
|
2
|
+
const ListContainer = Quill.import('formats/list-container');
|
3
|
+
export class MyListContainer extends ListContainer {
|
4
|
+
static tagName = ['OL', 'UL'];
|
5
|
+
static defaultTag = 'OL';
|
6
|
+
static create(value) {
|
7
|
+
return document.createElement(this.getTag(value));
|
8
|
+
}
|
9
|
+
static getTag(val) {
|
10
|
+
const map = {
|
11
|
+
bullet: 'UL',
|
12
|
+
ordered: 'OL'
|
13
|
+
};
|
14
|
+
return map[val] || this.defaultTag;
|
15
|
+
}
|
16
|
+
checkMerge() {
|
17
|
+
// Only merge if the next list is the same type as this one
|
18
|
+
return super.checkMerge() && this.domNode.tagName === this.next?.domNode.tagName;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { MyListContainer } from './ListContainer';
|
2
|
+
declare const ListItem: any;
|
3
|
+
declare class MyListItem extends ListItem {
|
4
|
+
static requiredContainer: typeof MyListContainer;
|
5
|
+
static register(): void;
|
6
|
+
optimize(context: any): void;
|
7
|
+
format(name: any, value: any): void;
|
8
|
+
}
|
9
|
+
export { MyListItem as default };
|
10
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/Attributors/ListItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,QAAA,MAAM,QAAQ,EAAmC,GAAG,CAAA;AACpD,cAAM,UAAW,SAAQ,QAAQ;IAC/B,MAAM,CAAC,iBAAiB,yBAAkB;IAE1C,MAAM,CAAC,QAAQ;IAIf,QAAQ,CAAC,OAAO,EAAE,GAAG;IAcrB,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;CAU7B;AAED,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,CAAA"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import Quill from 'quill';
|
2
|
+
import { MyListContainer } from './ListContainer';
|
3
|
+
const ListItem = Quill.import('formats/list');
|
4
|
+
class MyListItem extends ListItem {
|
5
|
+
static requiredContainer = MyListContainer;
|
6
|
+
static register() {
|
7
|
+
Quill.register(MyListContainer, true);
|
8
|
+
}
|
9
|
+
optimize(context) {
|
10
|
+
if (this.statics.requiredContainer && !(this.parent instanceof this.statics.requiredContainer)) {
|
11
|
+
// Insert the format value (bullet, ordered) into wrap arguments
|
12
|
+
this.wrap(this.statics.requiredContainer.blotName, MyListItem.formats(this.domNode));
|
13
|
+
}
|
14
|
+
super.optimize(context);
|
15
|
+
}
|
16
|
+
format(name, value) {
|
17
|
+
// If the list type is different, wrap this list item in a new MyListContainer of that type
|
18
|
+
if (name === ListItem.blotName && value !== MyListItem.formats(this.domNode)) {
|
19
|
+
this.wrap(this.statics.requiredContainer.blotName, value);
|
20
|
+
}
|
21
|
+
super.format(name, value);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
export { MyListItem as default };
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { Meta } from '@storybook/react';
|
2
|
+
declare const _default: Meta;
|
3
|
+
export default _default;
|
4
|
+
export declare const Default: {
|
5
|
+
render: () => import("react").JSX.Element;
|
6
|
+
name: string;
|
7
|
+
};
|
8
|
+
export declare const Rich: {
|
9
|
+
render: () => import("react").JSX.Element;
|
10
|
+
name: string;
|
11
|
+
};
|
12
|
+
export declare const Readonly: {
|
13
|
+
render: () => import("react").JSX.Element;
|
14
|
+
name: string;
|
15
|
+
};
|
16
|
+
export declare const CustomSize: {
|
17
|
+
render: () => import("react").JSX.Element;
|
18
|
+
name: string;
|
19
|
+
};
|
20
|
+
export declare const Placeholder: {
|
21
|
+
render: () => import("react").JSX.Element;
|
22
|
+
name: string;
|
23
|
+
};
|
24
|
+
export declare const WithError: {
|
25
|
+
render: () => import("react").JSX.Element;
|
26
|
+
name: string;
|
27
|
+
};
|
28
|
+
//# sourceMappingURL=QuillEditor.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QuillEditor.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/QuillEditor/QuillEditor.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;wBAKlC,IAAI;AAHT,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAgBnB,CAAA;AAED,eAAO,MAAM,IAAI;;;CAGhB,CAAA;AAED,eAAO,MAAM,QAAQ;;;CAGpB,CAAA;AAED,eAAO,MAAM,UAAU;;;CAKtB,CAAA;AAED,eAAO,MAAM,WAAW;;;CAKvB,CAAA;AAED,eAAO,MAAM,SAAS;;;CAQrB,CAAA"}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import QuillEditor from '.';
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
3
|
+
export default {
|
4
|
+
title: 'Core/QuillEditor',
|
5
|
+
component: QuillEditor
|
6
|
+
};
|
7
|
+
export const Default = {
|
8
|
+
render: () => {
|
9
|
+
return /*#__PURE__*/_jsx(QuillEditor, {
|
10
|
+
onChange: e => console.log(e),
|
11
|
+
onBlur: () => console.log('blur'),
|
12
|
+
onFocus: () => console.log('focus'),
|
13
|
+
initialValue: "<p>Initial value</p>",
|
14
|
+
pasteAsText: true,
|
15
|
+
onSelectionChange: (range, source, quill) => console.log(range, source, quill)
|
16
|
+
});
|
17
|
+
},
|
18
|
+
name: 'Default'
|
19
|
+
};
|
20
|
+
export const Rich = {
|
21
|
+
render: () => /*#__PURE__*/_jsx(QuillEditor, {
|
22
|
+
type: "rich",
|
23
|
+
onChange: e => console.log(e)
|
24
|
+
}),
|
25
|
+
name: 'Rich'
|
26
|
+
};
|
27
|
+
export const Readonly = {
|
28
|
+
render: () => /*#__PURE__*/_jsx(QuillEditor, {
|
29
|
+
resize: true,
|
30
|
+
readOnly: true,
|
31
|
+
initialValue: "Readonly"
|
32
|
+
}),
|
33
|
+
name: 'Readonly'
|
34
|
+
};
|
35
|
+
export const CustomSize = {
|
36
|
+
render: () => /*#__PURE__*/_jsx(QuillEditor, {
|
37
|
+
height: 300,
|
38
|
+
width: 400,
|
39
|
+
onChange: e => console.log(e)
|
40
|
+
}),
|
41
|
+
name: 'Custom size'
|
42
|
+
};
|
43
|
+
export const Placeholder = {
|
44
|
+
render: () => /*#__PURE__*/_jsx(QuillEditor, {
|
45
|
+
placeholder: "Placeholder",
|
46
|
+
onChange: e => console.log(e)
|
47
|
+
}),
|
48
|
+
name: 'Placeholder'
|
49
|
+
};
|
50
|
+
export const WithError = {
|
51
|
+
render: () => /*#__PURE__*/_jsx(QuillEditor, {
|
52
|
+
invalidMessage: "Memes are not allowed",
|
53
|
+
onChange: e => console.log(e)
|
54
|
+
}),
|
55
|
+
name: 'With error'
|
56
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IndentAttributor.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/classes/IndentAttributor.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS,EAAgC,GAAG,CAAA;AAClD,qBAAa,gBAAiB,SAAQ,SAAS,CAAC,eAAe;gBACjD,GAAG,IAAI,EAAE,GAAG;IAGxB,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;CAQ1B"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import Quill from 'quill';
|
2
|
+
const Parchment = Quill.import('parchment');
|
3
|
+
export class IndentAttributor extends Parchment.StyleAttributor {
|
4
|
+
constructor(...args) {
|
5
|
+
super(...args);
|
6
|
+
}
|
7
|
+
add(node, value) {
|
8
|
+
if (value === 0) {
|
9
|
+
this.remove(node);
|
10
|
+
return true;
|
11
|
+
} else {
|
12
|
+
return super.add(node, `${value}em`);
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LinkSanitizer.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/classes/LinkSanitizer.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,IAAI,EAAmC,GAAG,CAAA;AAYhD,qBAAa,mBAAoB,SAAQ,IAAI;IAC3C,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,MAAM;CAmB5B"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import Quill from 'quill';
|
2
|
+
const Link = Quill.import('formats/link');
|
3
|
+
Link.PROTOCOL_WHITELIST = ['http', 'https', 'mailto', 'tel', 'radar', 'rdar', 'smb', 'sms'];
|
4
|
+
export class CustomLinkSanitizer extends Link {
|
5
|
+
static sanitize(url) {
|
6
|
+
// Run default sanitize method from Quill
|
7
|
+
const sanitizedUrl = super.sanitize(url);
|
8
|
+
|
9
|
+
// Not whitelisted URL based on protocol so, let's return `blank`
|
10
|
+
if (!sanitizedUrl || sanitizedUrl === 'about:blank') return sanitizedUrl;
|
11
|
+
|
12
|
+
// Verify if the URL already have a whitelisted protocol
|
13
|
+
const hasWhitelistedProtocol = this.PROTOCOL_WHITELIST.some(function (protocol) {
|
14
|
+
return sanitizedUrl.startsWith(protocol);
|
15
|
+
});
|
16
|
+
if (hasWhitelistedProtocol) return sanitizedUrl;
|
17
|
+
|
18
|
+
// if not, then append only 'http' to not to be a relative URL
|
19
|
+
return `http://${sanitizedUrl}`;
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare const ListContainer: any;
|
2
|
+
export declare class MyListContainer extends ListContainer {
|
3
|
+
static tagName: string[];
|
4
|
+
static defaultTag: string;
|
5
|
+
static create(value: 'bullet' | 'ordered'): HTMLElement;
|
6
|
+
static getTag(val: 'bullet' | 'ordered'): string;
|
7
|
+
checkMerge(): any;
|
8
|
+
}
|
9
|
+
export {};
|
10
|
+
//# sourceMappingURL=ListContainer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListContainer.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/classes/ListContainer.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa,EAA6C,GAAG,CAAA;AACnE,qBAAa,eAAgB,SAAQ,aAAa;IAChD,MAAM,CAAC,OAAO,WAAe;IAC7B,MAAM,CAAC,UAAU,SAAO;IAExB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,GAAG,SAAS;IAIzC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,QAAQ,GAAG,SAAS;IAQvC,UAAU;CAMX"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import Quill from 'quill';
|
2
|
+
const ListContainer = Quill.import('formats/list-container');
|
3
|
+
export class MyListContainer extends ListContainer {
|
4
|
+
static tagName = ['OL', 'UL'];
|
5
|
+
static defaultTag = 'OL';
|
6
|
+
static create(value) {
|
7
|
+
return document.createElement(this.getTag(value));
|
8
|
+
}
|
9
|
+
static getTag(val) {
|
10
|
+
const map = {
|
11
|
+
bullet: 'UL',
|
12
|
+
ordered: 'OL'
|
13
|
+
};
|
14
|
+
return map[val] || this.defaultTag;
|
15
|
+
}
|
16
|
+
checkMerge() {
|
17
|
+
// Only merge if the next list is the same type as this one
|
18
|
+
return super.checkMerge() && this.domNode.tagName === this.next?.domNode.tagName;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { MyListContainer } from './ListContainer';
|
2
|
+
declare const ListItem: any;
|
3
|
+
declare class MyListItem extends ListItem {
|
4
|
+
static requiredContainer: typeof MyListContainer;
|
5
|
+
static register(): void;
|
6
|
+
optimize(context: any): void;
|
7
|
+
format(name: any, value: any): void;
|
8
|
+
}
|
9
|
+
export { MyListItem as default };
|
10
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/QuillEditor/classes/ListItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,QAAA,MAAM,QAAQ,EAAmC,GAAG,CAAA;AACpD,cAAM,UAAW,SAAQ,QAAQ;IAC/B,MAAM,CAAC,iBAAiB,yBAAkB;IAE1C,MAAM,CAAC,QAAQ;IAIf,QAAQ,CAAC,OAAO,EAAE,GAAG;IAcrB,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG;CAU7B;AAED,OAAO,EAAE,UAAU,IAAI,OAAO,EAAE,CAAA"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import Quill from 'quill';
|
2
|
+
import { MyListContainer } from './ListContainer';
|
3
|
+
const ListItem = Quill.import('formats/list');
|
4
|
+
class MyListItem extends ListItem {
|
5
|
+
static requiredContainer = MyListContainer;
|
6
|
+
static register() {
|
7
|
+
Quill.register(MyListContainer, true);
|
8
|
+
}
|
9
|
+
optimize(context) {
|
10
|
+
if (this.statics.requiredContainer && !(this.parent instanceof this.statics.requiredContainer)) {
|
11
|
+
// Insert the format value (bullet, ordered) into wrap arguments
|
12
|
+
this.wrap(this.statics.requiredContainer.blotName, MyListItem.formats(this.domNode));
|
13
|
+
}
|
14
|
+
super.optimize(context);
|
15
|
+
}
|
16
|
+
format(name, value) {
|
17
|
+
// If the list type is different, wrap this list item in a new MyListContainer of that type
|
18
|
+
if (name === ListItem.blotName && value !== MyListItem.formats(this.domNode)) {
|
19
|
+
this.wrap(this.statics.requiredContainer.blotName, value);
|
20
|
+
}
|
21
|
+
super.format(name, value);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
export { MyListItem as default };
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare const basicToolbar: (string[] | ({
|
2
|
+
list: string;
|
3
|
+
indent?: undefined;
|
4
|
+
} | {
|
5
|
+
indent: string;
|
6
|
+
list?: undefined;
|
7
|
+
})[])[];
|
8
|
+
export declare const richToolbar: (string[] | ({
|
9
|
+
list: string;
|
10
|
+
indent?: undefined;
|
11
|
+
} | {
|
12
|
+
indent: string;
|
13
|
+
list?: undefined;
|
14
|
+
})[] | {
|
15
|
+
header: (number | boolean)[];
|
16
|
+
}[] | {
|
17
|
+
align: string;
|
18
|
+
}[])[];
|
19
|
+
//# sourceMappingURL=config.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/packages/core/QuillEditor/config.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,YAAY;;;;;;OAAuB,CAAA;AAEhD,eAAO,MAAM,WAAW;;;;;;;;;;MAAkD,CAAA"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
// Toolbar options
|
2
|
+
const sizes = [{
|
3
|
+
header: [false, 1, 2, 3, 4, 5, 6]
|
4
|
+
}];
|
5
|
+
const decorations = ['bold', 'italic', 'underline'];
|
6
|
+
const lists = [{
|
7
|
+
list: 'bullet'
|
8
|
+
}, {
|
9
|
+
list: 'ordered'
|
10
|
+
}, {
|
11
|
+
indent: '+1'
|
12
|
+
}, {
|
13
|
+
indent: '-1'
|
14
|
+
}];
|
15
|
+
const alignments = [{
|
16
|
+
align: ''
|
17
|
+
}, {
|
18
|
+
align: 'center'
|
19
|
+
}, {
|
20
|
+
align: 'right'
|
21
|
+
}, {
|
22
|
+
align: 'justify'
|
23
|
+
}];
|
24
|
+
const link = 'link';
|
25
|
+
// const image = 'image'
|
26
|
+
|
27
|
+
export const basicToolbar = [decorations, lists];
|
28
|
+
export const richToolbar = [sizes, decorations, lists, alignments, [link]];
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/QuillEditor/index.tsx"],"names":[],"mappings":"AAGA,OAAO,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AA+D3C,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA0P3C,CAAA;AAED,eAAe,WAAW,CAAA"}
|