@bbl-digital/snorre 4.1.0-beta.2 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +2325 -941
- package/esm/app-shell/index.js +1 -2
- package/esm/core/Alert/index.js +1 -2
- package/esm/core/AppLoader/index.js +1 -2
- package/esm/core/Autocomplete/Autocomplete.stories.js +1 -2
- package/esm/core/Autocomplete/index.js +1 -3
- package/esm/core/Banner/index.js +1 -2
- package/esm/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +88 -0
- package/esm/core/BarAndLineComposedChart/index.js +19 -9
- package/esm/core/BarChartWithCustomizedEvent/index.js +1 -2
- package/esm/core/Box/index.js +1 -2
- package/esm/core/BoxedTable/BoxedTable.stories.js +304 -409
- package/esm/core/BoxedTable/DraggableRow/index.js +14 -17
- package/esm/core/BoxedTable/DraggableRow/styles.js +14 -20
- package/esm/core/BoxedTable/HeaderCell/styles.js +3 -3
- package/esm/core/BoxedTable/RowCell/index.js +4 -14
- package/esm/core/BoxedTable/RowCell/styles.js +23 -7
- package/esm/core/BoxedTable/TableHeader/index.js +3 -5
- package/esm/core/BoxedTable/TableHeader/styles.js +3 -18
- package/esm/core/BoxedTable/TableRow/index.js +9 -7
- package/esm/core/BoxedTable/TableRow/styles.js +24 -30
- package/esm/core/BoxedTable/index.js +7 -19
- package/esm/core/BoxedTable/styles.js +19 -25
- package/esm/core/Calendar/CalendarEvent/index.js +3 -3
- package/esm/core/Calendar/CalendarSmallEvent/index.js +1 -2
- package/esm/core/Calendar/index.js +5 -4
- package/esm/core/Card/Card.stories.js +1 -2
- package/esm/core/Checkbox/index.js +1 -2
- package/esm/core/CollapseList/CollapseList.stories.js +1 -2
- package/esm/core/CollapseList/Item.js +1 -3
- package/esm/core/CommentsTimeline/CommentLine/index.js +1 -2
- package/esm/core/CommentsTimeline/CommentsTimeline.stories.js +1 -2
- package/esm/core/Datepicker/index.js +16 -7
- package/esm/core/Datepicker/styles.js +13 -13
- package/esm/core/DatepickerRange/index.js +2 -2
- package/esm/core/Dropdown/index.js +1 -2
- package/esm/core/DropdownMenu/DropdownMenu.stories.js +1 -3
- package/esm/core/DropdownMenu/index.js +1 -2
- package/esm/core/Editor/Editor.stories.js +1 -0
- package/esm/core/Editor/index.js +5 -3
- package/esm/core/EditorQuillReact/EditorQuillReact.stories.js +59 -0
- package/esm/core/EditorQuillReact/IndentAttributor.js +15 -0
- package/esm/core/EditorQuillReact/config.js +31 -0
- package/esm/core/EditorQuillReact/index.js +103 -0
- package/esm/core/EditorQuillReact/styles.js +34 -0
- package/esm/core/FileInput/index.js +1 -2
- package/esm/core/GoogleButton/index.js +2 -2
- package/esm/core/Html/Html.stories.js +2 -3
- package/esm/core/Html/index.js +3 -1
- package/esm/core/Html/styles.js +6 -9
- package/esm/core/ImagePicker/UploadButton.js +1 -2
- package/esm/core/ImagePicker/index.js +1 -2
- package/esm/core/ImageViewer/index.js +1 -2
- package/esm/core/InfoButton/index.js +1 -2
- package/esm/core/Input/Input.stories.js +20 -1
- package/esm/core/Input/index.js +45 -27
- package/esm/core/Input/styles.js +20 -18
- package/esm/core/Link/index.js +1 -2
- package/esm/core/List/Item.js +5 -5
- package/esm/core/List/List.stories.js +1 -3
- package/esm/core/List/index.js +1 -1
- package/esm/core/ListPager/index.js +3 -22
- package/esm/core/MediaCarousel/index.js +7 -4
- package/esm/core/Modal/Modal.stories.js +1 -2
- package/esm/core/Modal/index.js +8 -3
- package/esm/core/Modal/styles.js +8 -8
- package/esm/core/NoticeCard/NoticeCard.stories.js +1 -4
- package/esm/core/NoticeCard/index.js +1 -5
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +1 -2
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +4 -16
- package/esm/core/NotificationCounter/styles.js +1 -1
- package/esm/core/NotificationsMenu/NotificationRow/index.js +2 -2
- package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +4 -4
- package/esm/core/NotificationsMenu/index.js +34 -17
- package/esm/core/NotificationsMenu/styles.js +3 -3
- package/esm/core/PieChart/ActiveShape/index.js +1 -2
- package/esm/core/PieChart/index.js +9 -4
- package/esm/core/PieChart/renderTextContent/index.js +3 -2
- package/esm/core/PreemptionCard/PreemptionCard.stories.js +12 -9
- package/esm/core/PreemptionCard/index.js +3 -4
- package/esm/core/PreemptionCardLoading/index.js +1 -2
- package/esm/core/QuillEditor/Attributors/IndentAttributor.js +15 -0
- package/esm/core/QuillEditor/Attributors/ListContainer.js +20 -0
- package/esm/core/QuillEditor/Attributors/ListItem.js +24 -0
- package/esm/core/QuillEditor/QuillEditor.stories.js +56 -0
- package/esm/core/QuillEditor/classes/IndentAttributor.js +15 -0
- package/esm/core/QuillEditor/classes/LinkSanitizer.js +21 -0
- package/esm/core/QuillEditor/classes/ListContainer.js +20 -0
- package/esm/core/QuillEditor/classes/ListItem.js +24 -0
- package/esm/core/QuillEditor/config.js +28 -0
- package/esm/core/QuillEditor/index.js +278 -0
- package/esm/core/QuillEditor/styles.js +34 -0
- package/esm/core/Radio/Radio.stories.js +1 -2
- package/esm/core/Radio/index.js +1 -2
- package/esm/core/SearchFilter/SearchFilter.stories.js +1 -2
- package/esm/core/SearchFilter/index.js +4 -4
- package/esm/core/SearchSelect/index.js +1 -3
- package/esm/core/Select/Select.stories.js +1 -2
- package/esm/core/Select/index.js +1 -2
- package/esm/core/SimpleBarChart/index.js +1 -2
- package/esm/core/SimpleLineChart/index.js +1 -2
- package/esm/core/Stepper/MobileStep/index.js +33 -0
- package/esm/core/Stepper/MobileStep/styles.js +90 -0
- package/esm/core/Stepper/Step/index.js +83 -0
- package/esm/core/Stepper/Step/styles.js +49 -0
- package/esm/core/Stepper/Stepper.stories.js +29 -0
- package/esm/core/Stepper/index.js +47 -0
- package/esm/core/Stepper/styles.js +24 -0
- package/esm/core/TabBar/TabBar.stories.js +1 -2
- package/esm/core/TabBar/TabItem/index.js +2 -2
- package/esm/core/TabNav/TabNav.stories.js +1 -2
- package/esm/core/TabNav/TabNavItem/index.js +1 -2
- package/esm/core/TabNav/index.js +1 -2
- package/esm/core/Table/Table.stories.js +1 -2
- package/esm/core/Tag/index.js +1 -3
- package/esm/core/Textarea/index.js +6 -5
- package/esm/core/Timeline/Timeline.stories.js +1 -2
- package/esm/core/Timeline/TimelineStep/index.js +1 -2
- package/esm/core/Timepicker/index.js +1 -2
- package/esm/core/Tooltip/index.js +1 -2
- package/esm/core/UserMenu/UserMenu.stories.js +1 -2
- package/esm/core/UserMenu/index.js +1 -2
- package/esm/core/YearWheel/index.js +1 -2
- package/esm/core/private/ButtonOrLink.js +1 -2
- package/esm/core/private/preemption.js +5 -1
- package/esm/globals/validation/regularExpressions.js +1 -1
- package/esm/icons/General/IconAuditorFilled.js +1 -2
- package/esm/icons/General/IconAuditorOutline.js +1 -2
- package/esm/icons/General/IconCamera.js +1 -2
- package/esm/icons/General/IconCases.js +1 -2
- package/esm/icons/General/IconDocument.js +1 -2
- package/esm/icons/General/IconDocumentFilled.js +1 -2
- package/esm/icons/General/IconEmailMarkAsRead.js +12 -0
- package/esm/icons/General/IconFillOut.js +1 -2
- package/esm/icons/General/IconHomeFilled.js +1 -2
- package/esm/icons/General/IconHomeOutline.js +1 -2
- package/esm/icons/General/IconHouseBlockFilled.js +1 -2
- package/esm/icons/General/IconHouseBlockOutline.js +1 -2
- package/esm/icons/General/IconImage.js +1 -2
- package/esm/icons/General/IconJanitorFilled.js +1 -2
- package/esm/icons/General/IconJanitorOutline.js +1 -2
- package/esm/icons/General/IconLeafFilled.js +1 -2
- package/esm/icons/General/IconLeafOutline.js +1 -2
- package/esm/icons/General/IconRearrange.js +1 -2
- package/esm/icons/Icon.stories.js +4 -2
- package/esm/icons/Logos/IconBankAxept.js +1 -2
- package/esm/icons/Logos/IconGmail.js +1 -2
- package/esm/icons/Logos/IconMasterCard.js +1 -2
- package/esm/icons/Logos/IconOffice365.js +1 -2
- package/esm/icons/Logos/IconVisa.js +1 -2
- package/esm/illustrations/Backgrounds/IllustrationHousesBackground.js +1 -2
- package/esm/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1 -2
- package/esm/illustrations/General/IllustrationBudget.js +185 -0
- package/esm/illustrations/General/IllustrationError.js +1 -2
- package/esm/illustrations/General/IllustrationErrorGeneric.js +1 -2
- package/esm/illustrations/General/IllustrationHighHouse.js +1 -2
- package/esm/illustrations/General/IllustrationHighHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationHouse.js +1 -2
- package/esm/illustrations/General/IllustrationHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationHouseMissing.js +1 -2
- package/esm/illustrations/General/IllustrationLowHouse.js +1 -2
- package/esm/illustrations/General/IllustrationLowHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationPaperCompleted.js +1 -2
- package/esm/illustrations/General/IllustrationPaperMissing.js +1 -2
- package/esm/illustrations/General/IllustrationSemiDetachedHouse.js +1 -2
- package/esm/illustrations/General/IllustrationSemiDetachedHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationServiceMessage.js +40 -0
- package/esm/illustrations/General/IllustrationSmallHouse.js +1 -2
- package/esm/illustrations/General/IllustrationSmallHouseComposition.js +1 -2
- package/esm/illustrations/General/IllustrationTechninalDifficulties.js +119 -0
- package/esm/illustrations/General/IllustrationTerraceBlock.js +1 -2
- package/esm/illustrations/General/IllustrationTerraceBlockComposition.js +1 -2
- package/esm/illustrations/General/IllustrationTownHouse.js +1 -2
- package/esm/illustrations/General/IllustrationTownHouseComposition.js +1 -2
- package/esm/illustrations/Illustration.stories.js +18 -3
- package/esm/illustrations/MySite/IllustrationMySiteAssociation.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteBenefits.js +180 -0
- package/esm/illustrations/MySite/IllustrationMySiteBuilding.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteCoffeeBook.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteComputer.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteCooperative.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteDashboard.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteGift.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteLetterSent.js +77 -0
- package/esm/illustrations/MySite/IllustrationMySiteMailbox.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySitePapers.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySitePiggyBank.js +1 -2
- package/esm/illustrations/MySite/IllustrationMySiteTransfer.js +1 -2
- package/esm/index.js +9 -2
- package/esm/layout/Footer/Footer.stories.js +1 -2
- package/esm/layout/LayoutShell/index.js +1 -2
- package/esm/layout/Menu/AppPicker/index.js +3 -4
- package/esm/layout/Menu/AppPicker/styles.js +7 -7
- package/esm/layout/Menu/MainMenu/index.js +10 -6
- package/esm/layout/Menu/MainMenu/styles.js +8 -2
- package/esm/layout/Menu/MenuItem/index.js +23 -19
- package/esm/layout/Menu/MenuItem/styles.js +17 -2
- package/esm/layout/Menu/MenuTop/index.js +1 -2
- package/esm/layout/Menu/MenuTop/styles.js +3 -3
- package/esm/layout/Menu/SecondaryMenu/index.js +1 -2
- package/esm/layout/Menu/SecondaryMenuItem/index.js +1 -2
- package/esm/layout/Menu/Sidemenu.stories.js +10 -7
- package/esm/layout/Submenu/Submenu.stories.js +1 -2
- package/esm/layout/Submenu/SubmenuItem/index.js +23 -19
- package/esm/layout/Submenu/SubmenuLightThemeBg/index.js +1 -2
- package/esm/layout/Submenu/index.js +13 -10
- package/esm/layout/Submenu/styles.js +26 -12
- package/esm/shared/recharts/CustomLegend/index.js +1 -2
- package/esm/shared/recharts/CustomTooltip/index.js +1 -2
- package/esm/utils/dates.js +5 -0
- package/esm/utils/format.js +4 -8
- package/jest.config.js +5 -0
- package/lib/app-shell/index.js +1 -2
- package/lib/app-shell/theme.d.ts +1 -1
- package/lib/app-shell/theme.d.ts.map +1 -1
- package/lib/core/Alert/Alert.stories.d.ts +1 -1
- package/lib/core/Alert/Alert.stories.d.ts.map +1 -1
- package/lib/core/Alert/index.js +1 -2
- package/lib/core/Alert/styles.d.ts +6 -6
- package/lib/core/AppLoader/AppLoader.stories.d.ts +1 -1
- package/lib/core/AppLoader/AppLoader.stories.d.ts.map +1 -1
- package/lib/core/AppLoader/index.js +1 -2
- package/lib/core/AppLoader/styles.d.ts +1 -1
- package/lib/core/Autocomplete/Autocomplete.stories.d.ts +0 -1
- package/lib/core/Autocomplete/Autocomplete.stories.d.ts.map +1 -1
- package/lib/core/Autocomplete/Autocomplete.stories.js +1 -2
- package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts +0 -1
- package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts.map +1 -1
- package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts +0 -1
- package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts.map +1 -1
- package/lib/core/Autocomplete/index.d.ts +1 -1
- package/lib/core/Autocomplete/index.d.ts.map +1 -1
- package/lib/core/Autocomplete/index.js +1 -3
- package/lib/core/Autocomplete/styles.d.ts +48 -49
- package/lib/core/Autocomplete/styles.d.ts.map +1 -1
- package/lib/core/Banner/Banner.stories.d.ts +1 -1
- package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
- package/lib/core/Banner/index.js +1 -2
- package/lib/core/Banner/styles.d.ts +8 -9
- package/lib/core/Banner/styles.d.ts.map +1 -1
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +6 -2
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts.map +1 -1
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +88 -0
- package/lib/core/BarAndLineComposedChart/index.d.ts +10 -1
- package/lib/core/BarAndLineComposedChart/index.d.ts.map +1 -1
- package/lib/core/BarAndLineComposedChart/index.js +19 -9
- package/lib/core/BarAndLineComposedChart/styles.d.ts +2 -3
- package/lib/core/BarAndLineComposedChart/styles.d.ts.map +1 -1
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +2 -2
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts.map +1 -1
- package/lib/core/BarChartWithCustomizedEvent/index.js +1 -2
- package/lib/core/BarChartWithCustomizedEvent/styles.d.ts +2 -3
- package/lib/core/BarChartWithCustomizedEvent/styles.d.ts.map +1 -1
- package/lib/core/Box/Box.stories.d.ts +1 -1
- package/lib/core/Box/Box.stories.d.ts.map +1 -1
- package/lib/core/Box/index.d.ts +1 -1
- package/lib/core/Box/index.d.ts.map +1 -1
- package/lib/core/Box/index.js +1 -2
- package/lib/core/Box/styles.d.ts +39 -40
- package/lib/core/Box/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts +35 -14
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts.map +1 -1
- package/lib/core/BoxedTable/BoxedTable.stories.js +304 -409
- package/lib/core/BoxedTable/DraggableRow/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/DraggableRow/index.js +14 -17
- package/lib/core/BoxedTable/DraggableRow/styles.d.ts +11 -16
- package/lib/core/BoxedTable/DraggableRow/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/DraggableRow/styles.js +14 -20
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts +2 -8
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/HeaderCell/styles.js +3 -3
- package/lib/core/BoxedTable/RowCell/index.d.ts +0 -2
- package/lib/core/BoxedTable/RowCell/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/RowCell/index.js +4 -14
- package/lib/core/BoxedTable/RowCell/styles.d.ts +9 -7
- package/lib/core/BoxedTable/RowCell/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/RowCell/styles.js +23 -7
- package/lib/core/BoxedTable/TableHeader/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableHeader/index.js +3 -5
- package/lib/core/BoxedTable/TableHeader/styles.d.ts +3 -8
- package/lib/core/BoxedTable/TableHeader/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableHeader/styles.js +3 -18
- package/lib/core/BoxedTable/TableRow/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableRow/index.js +9 -7
- package/lib/core/BoxedTable/TableRow/styles.d.ts +17 -22
- package/lib/core/BoxedTable/TableRow/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/TableRow/styles.js +24 -30
- package/lib/core/BoxedTable/index.d.ts +0 -6
- package/lib/core/BoxedTable/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/index.js +7 -19
- package/lib/core/BoxedTable/styles.d.ts +4 -12
- package/lib/core/BoxedTable/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/styles.js +19 -25
- package/lib/core/Button/Button.stories.d.ts +1 -1
- package/lib/core/Button/Button.stories.d.ts.map +1 -1
- package/lib/core/Button/index.d.ts +31 -31
- package/lib/core/Button/index.d.ts.map +1 -1
- package/lib/core/Button/styles.d.ts +18 -19
- package/lib/core/Button/styles.d.ts.map +1 -1
- package/lib/core/Calendar/Calendar.stories.d.ts +2 -2
- package/lib/core/Calendar/Calendar.stories.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/index.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/index.js +3 -3
- package/lib/core/Calendar/CalendarEvent/styles.d.ts +8 -9
- package/lib/core/Calendar/CalendarEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarSmallEvent/index.js +1 -2
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +8 -9
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/index.d.ts.map +1 -1
- package/lib/core/Calendar/index.js +5 -4
- package/lib/core/Calendar/styles.d.ts +9 -10
- package/lib/core/Calendar/styles.d.ts.map +1 -1
- package/lib/core/Card/Card.stories.d.ts +1 -2
- package/lib/core/Card/Card.stories.d.ts.map +1 -1
- package/lib/core/Card/Card.stories.js +1 -2
- package/lib/core/Card/index.d.ts +12 -12
- package/lib/core/Card/index.d.ts.map +1 -1
- package/lib/core/Card/styles.d.ts +11 -11
- package/lib/core/Checkbox/Checkbox.stories.d.ts +1 -1
- package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/lib/core/Checkbox/index.js +1 -2
- package/lib/core/Checkbox/styles.d.ts +5 -5
- package/lib/core/Checkbox/styles.d.ts.map +1 -1
- package/lib/core/CollapseList/CollapseList.stories.d.ts +1 -1
- package/lib/core/CollapseList/CollapseList.stories.d.ts.map +1 -1
- package/lib/core/CollapseList/CollapseList.stories.js +1 -2
- package/lib/core/CollapseList/Item.js +1 -3
- package/lib/core/CollapseList/styles.d.ts +32 -33
- package/lib/core/CollapseList/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentLine/index.js +1 -2
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts +6 -7
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +1 -1
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +1 -2
- package/lib/core/CommentsTimeline/styles.d.ts +2 -3
- package/lib/core/CommentsTimeline/styles.d.ts.map +1 -1
- package/lib/core/CustomText/CustomText.stories.d.ts +1 -1
- package/lib/core/CustomText/CustomText.stories.d.ts.map +1 -1
- package/lib/core/CustomText/styles.d.ts +3 -4
- package/lib/core/CustomText/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/Datepicker.stories.d.ts +1 -2
- package/lib/core/Datepicker/Datepicker.stories.d.ts.map +1 -1
- package/lib/core/Datepicker/index.d.ts +4 -4
- package/lib/core/Datepicker/index.d.ts.map +1 -1
- package/lib/core/Datepicker/index.js +16 -7
- package/lib/core/Datepicker/styles.d.ts +14 -15
- package/lib/core/Datepicker/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/styles.js +13 -13
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +1 -1
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts.map +1 -1
- package/lib/core/DatepickerRange/index.d.ts +0 -1
- package/lib/core/DatepickerRange/index.d.ts.map +1 -1
- package/lib/core/DatepickerRange/index.js +2 -2
- package/lib/core/DatepickerRange/styles.d.ts +14 -15
- package/lib/core/DatepickerRange/styles.d.ts.map +1 -1
- package/lib/core/Divider/styles.d.ts +5 -5
- package/lib/core/Dropdown/Dropdown.stories.d.ts +1 -1
- package/lib/core/Dropdown/Dropdown.stories.d.ts.map +1 -1
- package/lib/core/Dropdown/index.js +1 -2
- package/lib/core/Dropdown/styles.d.ts +3 -3
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
- package/lib/core/DropdownMenu/DropdownMenu.stories.js +1 -3
- package/lib/core/DropdownMenu/index.js +1 -2
- package/lib/core/DropdownMenu/styles.d.ts +5 -6
- package/lib/core/DropdownMenu/styles.d.ts.map +1 -1
- package/lib/core/Editor/Editor.stories.d.ts +1 -1
- package/lib/core/Editor/Editor.stories.d.ts.map +1 -1
- package/lib/core/Editor/Editor.stories.js +1 -0
- package/lib/core/Editor/index.d.ts +3 -0
- package/lib/core/Editor/index.d.ts.map +1 -1
- package/lib/core/Editor/index.js +5 -3
- package/lib/core/Editor/styles.d.ts +6 -7
- package/lib/core/Editor/styles.d.ts.map +1 -1
- package/lib/core/EditorQuillReact/EditorQuillReact.stories.d.ts +8 -0
- package/lib/core/EditorQuillReact/EditorQuillReact.stories.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/EditorQuillReact.stories.js +59 -0
- package/lib/core/EditorQuillReact/IndentAttributor.d.ts +7 -0
- package/lib/core/EditorQuillReact/IndentAttributor.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/IndentAttributor.js +15 -0
- package/lib/core/EditorQuillReact/config.d.ts +30 -0
- package/lib/core/EditorQuillReact/config.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/config.js +31 -0
- package/lib/core/EditorQuillReact/index.d.ts +23 -0
- package/lib/core/EditorQuillReact/index.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/index.js +103 -0
- package/lib/core/EditorQuillReact/styles.d.ts +13 -0
- package/lib/core/EditorQuillReact/styles.d.ts.map +1 -0
- package/lib/core/EditorQuillReact/styles.js +34 -0
- package/lib/core/FileInput/FileInput.stories.d.ts +1 -1
- package/lib/core/FileInput/FileInput.stories.d.ts.map +1 -1
- package/lib/core/FileInput/index.js +1 -2
- package/lib/core/FileInput/styles.d.ts +55 -56
- package/lib/core/FileInput/styles.d.ts.map +1 -1
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts +1 -1
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts.map +1 -1
- package/lib/core/GoogleButton/index.d.ts +1 -1
- package/lib/core/GoogleButton/index.d.ts.map +1 -1
- package/lib/core/GoogleButton/index.js +2 -2
- package/lib/core/GoogleButton/styles.d.ts +2 -3
- package/lib/core/GoogleButton/styles.d.ts.map +1 -1
- package/lib/core/Header/Header.stories.d.ts +1 -1
- package/lib/core/Header/Header.stories.d.ts.map +1 -1
- package/lib/core/Header/styles.d.ts +7 -7
- package/lib/core/HighlightText/HighlightText.stories.d.ts +1 -1
- package/lib/core/HighlightText/HighlightText.stories.d.ts.map +1 -1
- package/lib/core/HighlightText/styles.d.ts +2 -3
- package/lib/core/HighlightText/styles.d.ts.map +1 -1
- package/lib/core/Html/Html.stories.d.ts +1 -1
- package/lib/core/Html/Html.stories.d.ts.map +1 -1
- package/lib/core/Html/Html.stories.js +2 -3
- package/lib/core/Html/index.d.ts +1 -0
- package/lib/core/Html/index.d.ts.map +1 -1
- package/lib/core/Html/index.js +3 -1
- package/lib/core/Html/styles.d.ts +6 -6
- package/lib/core/Html/styles.d.ts.map +1 -1
- package/lib/core/Html/styles.js +6 -9
- package/lib/core/Image/Image.stories.d.ts +1 -1
- package/lib/core/Image/Image.stories.d.ts.map +1 -1
- package/lib/core/Image/styles.d.ts +6 -6
- package/lib/core/ImagePicker/IconWithBackground.d.ts +1 -1
- package/lib/core/ImagePicker/IconWithBackground.d.ts.map +1 -1
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts +1 -1
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts.map +1 -1
- package/lib/core/ImagePicker/UploadButton.d.ts +1 -1
- package/lib/core/ImagePicker/UploadButton.d.ts.map +1 -1
- package/lib/core/ImagePicker/UploadButton.js +1 -2
- package/lib/core/ImagePicker/index.d.ts +1 -1
- package/lib/core/ImagePicker/index.d.ts.map +1 -1
- package/lib/core/ImagePicker/index.js +1 -2
- package/lib/core/ImagePicker/styles.d.ts +11 -11
- package/lib/core/ImageViewer/ImageViewer.stories.d.ts +1 -1
- package/lib/core/ImageViewer/ImageViewer.stories.d.ts.map +1 -1
- package/lib/core/ImageViewer/index.d.ts +1 -1
- package/lib/core/ImageViewer/index.d.ts.map +1 -1
- package/lib/core/ImageViewer/index.js +1 -2
- package/lib/core/ImageViewer/styles.d.ts +6 -6
- package/lib/core/InfoButton/InfoButton.stories.d.ts +1 -1
- package/lib/core/InfoButton/InfoButton.stories.d.ts.map +1 -1
- package/lib/core/InfoButton/index.js +1 -2
- package/lib/core/InfoButton/styles.d.ts +41 -42
- package/lib/core/InfoButton/styles.d.ts.map +1 -1
- package/lib/core/Input/Input.stories.d.ts +3 -1
- package/lib/core/Input/Input.stories.d.ts.map +1 -1
- package/lib/core/Input/Input.stories.js +20 -1
- package/lib/core/Input/index.d.ts +8 -2
- package/lib/core/Input/index.d.ts.map +1 -1
- package/lib/core/Input/index.js +45 -27
- package/lib/core/Input/styles.d.ts +19 -17
- package/lib/core/Input/styles.d.ts.map +1 -1
- package/lib/core/Input/styles.js +20 -18
- package/lib/core/Link/Link.stories.d.ts +1 -1
- package/lib/core/Link/Link.stories.d.ts.map +1 -1
- package/lib/core/Link/index.d.ts +1 -1
- package/lib/core/Link/index.d.ts.map +1 -1
- package/lib/core/Link/index.js +1 -2
- package/lib/core/Link/styles.d.ts +11 -12
- package/lib/core/Link/styles.d.ts.map +1 -1
- package/lib/core/List/Item.d.ts +1 -1
- package/lib/core/List/Item.d.ts.map +1 -1
- package/lib/core/List/Item.js +5 -5
- package/lib/core/List/List.stories.d.ts +1 -1
- package/lib/core/List/List.stories.d.ts.map +1 -1
- package/lib/core/List/List.stories.js +1 -3
- package/lib/core/List/index.d.ts +1 -1
- package/lib/core/List/index.d.ts.map +1 -1
- package/lib/core/List/index.js +1 -1
- package/lib/core/List/styles.d.ts +11 -11
- package/lib/core/ListPager/ListPager.stories.d.ts +1 -1
- package/lib/core/ListPager/ListPager.stories.d.ts.map +1 -1
- package/lib/core/ListPager/index.d.ts +0 -2
- package/lib/core/ListPager/index.d.ts.map +1 -1
- package/lib/core/ListPager/index.js +3 -22
- package/lib/core/ListPager/styles.d.ts +5 -6
- package/lib/core/ListPager/styles.d.ts.map +1 -1
- package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts +1 -1
- package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts.map +1 -1
- package/lib/core/MediaCarousel/index.d.ts +5 -3
- package/lib/core/MediaCarousel/index.d.ts.map +1 -1
- package/lib/core/MediaCarousel/index.js +7 -4
- package/lib/core/MediaCarousel/styles.d.ts +11 -12
- package/lib/core/MediaCarousel/styles.d.ts.map +1 -1
- package/lib/core/Modal/ActionButtons/index.d.ts +1 -1
- package/lib/core/Modal/ActionButtons/index.d.ts.map +1 -1
- package/lib/core/Modal/Modal.stories.d.ts +1 -1
- package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
- package/lib/core/Modal/Modal.stories.js +1 -2
- package/lib/core/Modal/index.d.ts +5 -3
- package/lib/core/Modal/index.d.ts.map +1 -1
- package/lib/core/Modal/index.js +8 -3
- package/lib/core/Modal/styles.d.ts +14 -15
- package/lib/core/Modal/styles.d.ts.map +1 -1
- package/lib/core/Modal/styles.js +8 -8
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts +2 -2
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts.map +1 -1
- package/lib/core/NoticeCard/NoticeCard.stories.js +1 -4
- package/lib/core/NoticeCard/index.d.ts.map +1 -1
- package/lib/core/NoticeCard/index.js +1 -5
- package/lib/core/NoticeCard/models.d.ts +0 -2
- package/lib/core/NoticeCard/models.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +1 -2
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts +6 -7
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts +2 -3
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts +0 -2
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts.map +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +4 -16
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts +6 -7
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts.map +1 -1
- package/lib/core/NoticeCard/styles.d.ts +8 -9
- package/lib/core/NoticeCard/styles.d.ts.map +1 -1
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +2 -2
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts.map +1 -1
- package/lib/core/NotificationCounter/styles.d.ts +1 -1
- package/lib/core/NotificationCounter/styles.d.ts.map +1 -1
- package/lib/core/NotificationCounter/styles.js +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.d.ts +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.js +2 -2
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts +36 -37
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +4 -4
- package/lib/core/NotificationsMenu/index.d.ts +4 -2
- package/lib/core/NotificationsMenu/index.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/index.js +34 -17
- package/lib/core/NotificationsMenu/styles.d.ts +7 -8
- package/lib/core/NotificationsMenu/styles.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/styles.js +3 -3
- package/lib/core/PieChart/ActiveShape/index.js +1 -2
- package/lib/core/PieChart/PieChart.stories.d.ts +2 -2
- package/lib/core/PieChart/PieChart.stories.d.ts.map +1 -1
- package/lib/core/PieChart/index.d.ts +2 -0
- package/lib/core/PieChart/index.d.ts.map +1 -1
- package/lib/core/PieChart/index.js +9 -4
- package/lib/core/PieChart/renderTextContent/index.d.ts +1 -1
- package/lib/core/PieChart/renderTextContent/index.d.ts.map +1 -1
- package/lib/core/PieChart/renderTextContent/index.js +3 -2
- package/lib/core/PieChart/styles.d.ts +4 -5
- package/lib/core/PieChart/styles.d.ts.map +1 -1
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +6 -7
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCard/PreemptionCard.stories.js +12 -9
- package/lib/core/PreemptionCard/index.d.ts.map +1 -1
- package/lib/core/PreemptionCard/index.js +3 -4
- package/lib/core/PreemptionCard/styles.d.ts +4 -5
- package/lib/core/PreemptionCard/styles.d.ts.map +1 -1
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +2 -2
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCardLoading/index.js +1 -2
- package/lib/core/PreemptionCardLoading/styles.d.ts +6 -7
- package/lib/core/PreemptionCardLoading/styles.d.ts.map +1 -1
- package/lib/core/QuillEditor/Attributors/IndentAttributor.d.ts +7 -0
- package/lib/core/QuillEditor/Attributors/IndentAttributor.d.ts.map +1 -0
- package/lib/core/QuillEditor/Attributors/IndentAttributor.js +15 -0
- package/lib/core/QuillEditor/Attributors/ListContainer.d.ts +10 -0
- package/lib/core/QuillEditor/Attributors/ListContainer.d.ts.map +1 -0
- package/lib/core/QuillEditor/Attributors/ListContainer.js +20 -0
- package/lib/core/QuillEditor/Attributors/ListItem.d.ts +10 -0
- package/lib/core/QuillEditor/Attributors/ListItem.d.ts.map +1 -0
- package/lib/core/QuillEditor/Attributors/ListItem.js +24 -0
- package/lib/core/QuillEditor/QuillEditor.stories.d.ts +28 -0
- package/lib/core/QuillEditor/QuillEditor.stories.d.ts.map +1 -0
- package/lib/core/QuillEditor/QuillEditor.stories.js +56 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.d.ts +7 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.js +15 -0
- package/lib/core/QuillEditor/classes/LinkSanitizer.d.ts +6 -0
- package/lib/core/QuillEditor/classes/LinkSanitizer.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/LinkSanitizer.js +21 -0
- package/lib/core/QuillEditor/classes/ListContainer.d.ts +10 -0
- package/lib/core/QuillEditor/classes/ListContainer.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/ListContainer.js +20 -0
- package/lib/core/QuillEditor/classes/ListItem.d.ts +10 -0
- package/lib/core/QuillEditor/classes/ListItem.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/ListItem.js +24 -0
- package/lib/core/QuillEditor/config.d.ts +19 -0
- package/lib/core/QuillEditor/config.d.ts.map +1 -0
- package/lib/core/QuillEditor/config.js +28 -0
- package/lib/core/QuillEditor/index.d.ts +5 -0
- package/lib/core/QuillEditor/index.d.ts.map +1 -0
- package/lib/core/QuillEditor/index.js +278 -0
- package/lib/core/QuillEditor/models.d.ts +78 -0
- package/lib/core/QuillEditor/models.d.ts.map +1 -0
- package/lib/core/QuillEditor/styles.d.ts +13 -0
- package/lib/core/QuillEditor/styles.d.ts.map +1 -0
- package/lib/core/QuillEditor/styles.js +34 -0
- package/lib/core/Radio/Radio.stories.d.ts +2 -2
- package/lib/core/Radio/Radio.stories.d.ts.map +1 -1
- package/lib/core/Radio/Radio.stories.js +1 -2
- package/lib/core/Radio/index.d.ts +1 -1
- package/lib/core/Radio/index.d.ts.map +1 -1
- package/lib/core/Radio/index.js +1 -2
- package/lib/core/Radio/styles.d.ts +4 -4
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts +2 -2
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts.map +1 -1
- package/lib/core/SearchFilter/SearchFilter.stories.js +1 -2
- package/lib/core/SearchFilter/index.d.ts.map +1 -1
- package/lib/core/SearchFilter/index.js +4 -4
- package/lib/core/SearchFilter/styles.d.ts +14 -15
- package/lib/core/SearchFilter/styles.d.ts.map +1 -1
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts +2 -2
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts.map +1 -1
- package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts +0 -1
- package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts.map +1 -1
- package/lib/core/SearchSelect/index.js +1 -3
- package/lib/core/SearchSelect/styles.d.ts +9 -10
- package/lib/core/SearchSelect/styles.d.ts.map +1 -1
- package/lib/core/Select/Select.stories.d.ts +2 -2
- package/lib/core/Select/Select.stories.d.ts.map +1 -1
- package/lib/core/Select/Select.stories.js +1 -2
- package/lib/core/Select/index.js +1 -2
- package/lib/core/Select/styles.d.ts +19 -20
- package/lib/core/Select/styles.d.ts.map +1 -1
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +2 -2
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts.map +1 -1
- package/lib/core/SimpleBarChart/index.js +1 -2
- package/lib/core/SimpleBarChart/styles.d.ts +2 -3
- package/lib/core/SimpleBarChart/styles.d.ts.map +1 -1
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +2 -2
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts.map +1 -1
- package/lib/core/SimpleLineChart/index.js +1 -2
- package/lib/core/SimpleLineChart/styles.d.ts +2 -3
- package/lib/core/SimpleLineChart/styles.d.ts.map +1 -1
- package/lib/core/Skeleton/Skeleton.stories.d.ts +1 -1
- package/lib/core/Skeleton/Skeleton.stories.d.ts.map +1 -1
- package/lib/core/Skeleton/styles.d.ts +9 -10
- package/lib/core/Skeleton/styles.d.ts.map +1 -1
- package/lib/core/Spinner/Spinner.stories.d.ts +2 -2
- package/lib/core/Spinner/Spinner.stories.d.ts.map +1 -1
- package/lib/core/Spinner/styles.d.ts +5 -5
- package/lib/core/Spinner/styles.d.ts.map +1 -1
- package/lib/core/Stepper/MobileStep/index.d.ts +8 -0
- package/lib/core/Stepper/MobileStep/index.d.ts.map +1 -0
- package/lib/core/Stepper/MobileStep/index.js +33 -0
- package/lib/core/Stepper/MobileStep/styles.d.ts +31 -0
- package/lib/core/Stepper/MobileStep/styles.d.ts.map +1 -0
- package/lib/core/Stepper/MobileStep/styles.js +90 -0
- package/lib/core/Stepper/Step/index.d.ts +12 -0
- package/lib/core/Stepper/Step/index.d.ts.map +1 -0
- package/lib/core/Stepper/Step/index.js +83 -0
- package/lib/core/Stepper/Step/styles.d.ts +27 -0
- package/lib/core/Stepper/Step/styles.d.ts.map +1 -0
- package/lib/core/Stepper/Step/styles.js +49 -0
- package/lib/core/Stepper/Stepper.stories.d.ts +7 -0
- package/lib/core/Stepper/Stepper.stories.d.ts.map +1 -0
- package/lib/core/Stepper/Stepper.stories.js +29 -0
- package/lib/core/Stepper/index.d.ts +18 -0
- package/lib/core/Stepper/index.d.ts.map +1 -0
- package/lib/core/Stepper/index.js +47 -0
- package/lib/core/Stepper/styles.d.ts +13 -0
- package/lib/core/Stepper/styles.d.ts.map +1 -0
- package/lib/core/Stepper/styles.js +24 -0
- package/lib/core/TabBar/TabBar.stories.d.ts +2 -2
- package/lib/core/TabBar/TabBar.stories.d.ts.map +1 -1
- package/lib/core/TabBar/TabBar.stories.js +1 -2
- package/lib/core/TabBar/TabItem/index.js +2 -2
- package/lib/core/TabBar/TabItem/styles.d.ts +2 -3
- package/lib/core/TabBar/TabItem/styles.d.ts.map +1 -1
- package/lib/core/TabBar/styles.d.ts +2 -3
- package/lib/core/TabBar/styles.d.ts.map +1 -1
- package/lib/core/TabNav/TabNav.stories.d.ts +2 -2
- package/lib/core/TabNav/TabNav.stories.d.ts.map +1 -1
- package/lib/core/TabNav/TabNav.stories.js +1 -2
- package/lib/core/TabNav/TabNavItem/index.js +1 -2
- package/lib/core/TabNav/TabNavItem/styles.d.ts +10 -11
- package/lib/core/TabNav/TabNavItem/styles.d.ts.map +1 -1
- package/lib/core/TabNav/index.js +1 -2
- package/lib/core/TabNav/styles.d.ts +12 -13
- package/lib/core/TabNav/styles.d.ts.map +1 -1
- package/lib/core/TabNav/utils/useContainerDimensions.d.ts.map +1 -1
- package/lib/core/Table/Cell.d.ts +1 -1
- package/lib/core/Table/Cell.d.ts.map +1 -1
- package/lib/core/Table/Row.d.ts +1 -1
- package/lib/core/Table/Row.d.ts.map +1 -1
- package/lib/core/Table/Table.stories.d.ts +2 -2
- package/lib/core/Table/Table.stories.d.ts.map +1 -1
- package/lib/core/Table/Table.stories.js +1 -2
- package/lib/core/Table/index.d.ts +1 -1
- package/lib/core/Table/index.d.ts.map +1 -1
- package/lib/core/Table/styles.d.ts +18 -19
- package/lib/core/Table/styles.d.ts.map +1 -1
- package/lib/core/Tag/Tag.stories.d.ts +1 -1
- package/lib/core/Tag/Tag.stories.d.ts.map +1 -1
- package/lib/core/Tag/index.js +1 -3
- package/lib/core/Tag/styles.d.ts +13 -13
- package/lib/core/Text/Text.stories.d.ts +1 -1
- package/lib/core/Text/Text.stories.d.ts.map +1 -1
- package/lib/core/Text/index.d.ts +1 -1
- package/lib/core/Text/index.d.ts.map +1 -1
- package/lib/core/Text/styles.d.ts +15 -15
- package/lib/core/Textarea/Textarea.stories.d.ts +1 -1
- package/lib/core/Textarea/Textarea.stories.d.ts.map +1 -1
- package/lib/core/Textarea/index.d.ts +3 -5
- package/lib/core/Textarea/index.d.ts.map +1 -1
- package/lib/core/Textarea/index.js +6 -5
- package/lib/core/Textarea/styles.d.ts +8 -9
- package/lib/core/Textarea/styles.d.ts.map +1 -1
- package/lib/core/Timeline/Timeline.stories.d.ts +2 -2
- package/lib/core/Timeline/Timeline.stories.d.ts.map +1 -1
- package/lib/core/Timeline/Timeline.stories.js +1 -2
- package/lib/core/Timeline/TimelineStep/index.js +1 -2
- package/lib/core/Timeline/TimelineStep/styles.d.ts +7 -8
- package/lib/core/Timeline/TimelineStep/styles.d.ts.map +1 -1
- package/lib/core/Timeline/styles.d.ts +2 -3
- package/lib/core/Timeline/styles.d.ts.map +1 -1
- package/lib/core/Timepicker/Timepicker.stories.d.ts +2 -2
- package/lib/core/Timepicker/Timepicker.stories.d.ts.map +1 -1
- package/lib/core/Timepicker/index.d.ts +1 -1
- package/lib/core/Timepicker/index.d.ts.map +1 -1
- package/lib/core/Timepicker/index.js +1 -2
- package/lib/core/Timepicker/styles.d.ts +9 -10
- package/lib/core/Timepicker/styles.d.ts.map +1 -1
- package/lib/core/Tooltip/Tooptip.stories.d.ts +2 -2
- package/lib/core/Tooltip/Tooptip.stories.d.ts.map +1 -1
- package/lib/core/Tooltip/index.js +1 -2
- package/lib/core/Tooltip/styles.d.ts +2 -2
- package/lib/core/UserMenu/UserMenu.stories.d.ts +2 -2
- package/lib/core/UserMenu/UserMenu.stories.d.ts.map +1 -1
- package/lib/core/UserMenu/UserMenu.stories.js +1 -2
- package/lib/core/UserMenu/index.js +1 -2
- package/lib/core/UserMenu/styles.d.ts +14 -15
- package/lib/core/UserMenu/styles.d.ts.map +1 -1
- package/lib/core/Video/Video.stories.d.ts +2 -1
- package/lib/core/Video/Video.stories.d.ts.map +1 -1
- package/lib/core/Video/index.d.ts +0 -1
- package/lib/core/Video/index.d.ts.map +1 -1
- package/lib/core/Video/styles.d.ts +2 -3
- package/lib/core/Video/styles.d.ts.map +1 -1
- package/lib/core/YearWheel/YearWheel.stories.d.ts +2 -2
- package/lib/core/YearWheel/YearWheel.stories.d.ts.map +1 -1
- package/lib/core/YearWheel/index.js +1 -2
- package/lib/core/YearWheel/styles.d.ts +4 -5
- package/lib/core/YearWheel/styles.d.ts.map +1 -1
- package/lib/core/private/ButtonOrLink.d.ts +18 -18
- package/lib/core/private/ButtonOrLink.d.ts.map +1 -1
- package/lib/core/private/ButtonOrLink.js +1 -2
- package/lib/core/private/preemption.d.ts.map +1 -1
- package/lib/core/private/preemption.js +5 -1
- package/lib/globals/styles/styles.d.ts +1 -1
- package/lib/globals/validation/regularExpressions.js +1 -1
- package/lib/hooks/useIsMobile.d.ts +1 -1
- package/lib/hooks/useIsMobile.d.ts.map +1 -1
- package/lib/icons/General/IconAuditorFilled.js +1 -2
- package/lib/icons/General/IconAuditorOutline.js +1 -2
- package/lib/icons/General/IconCamera.js +1 -2
- package/lib/icons/General/IconCases.js +1 -2
- package/lib/icons/General/IconDocument.js +1 -2
- package/lib/icons/General/IconDocumentFilled.js +1 -2
- package/lib/icons/General/IconEmailMarkAsRead.d.ts +3 -0
- package/lib/icons/General/IconEmailMarkAsRead.d.ts.map +1 -0
- package/lib/icons/General/IconEmailMarkAsRead.js +12 -0
- package/lib/icons/General/IconFillOut.js +1 -2
- package/lib/icons/General/IconHomeFilled.js +1 -2
- package/lib/icons/General/IconHomeOutline.js +1 -2
- package/lib/icons/General/IconHouseBlockFilled.js +1 -2
- package/lib/icons/General/IconHouseBlockOutline.js +1 -2
- package/lib/icons/General/IconImage.js +1 -2
- package/lib/icons/General/IconJanitorFilled.js +1 -2
- package/lib/icons/General/IconJanitorOutline.js +1 -2
- package/lib/icons/General/IconLeafFilled.js +1 -2
- package/lib/icons/General/IconLeafOutline.js +1 -2
- package/lib/icons/General/IconRearrange.js +1 -2
- package/lib/icons/Icon.stories.d.ts +0 -1
- package/lib/icons/Icon.stories.d.ts.map +1 -1
- package/lib/icons/Icon.stories.js +4 -2
- package/lib/icons/Logos/IconBankAxept.js +1 -2
- package/lib/icons/Logos/IconGmail.js +1 -2
- package/lib/icons/Logos/IconMasterCard.js +1 -2
- package/lib/icons/Logos/IconOffice365.js +1 -2
- package/lib/icons/Logos/IconVisa.js +1 -2
- package/lib/icons/withIcon.d.ts +2 -2
- package/lib/icons/withIcon.d.ts.map +1 -1
- package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +1 -2
- package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +1 -2
- package/lib/illustrations/General/IllustrationBudget.d.ts +4 -0
- package/lib/illustrations/General/IllustrationBudget.d.ts.map +1 -0
- package/lib/illustrations/General/IllustrationBudget.js +185 -0
- package/lib/illustrations/General/IllustrationError.js +1 -2
- package/lib/illustrations/General/IllustrationErrorGeneric.js +1 -2
- package/lib/illustrations/General/IllustrationHighHouse.js +1 -2
- package/lib/illustrations/General/IllustrationHighHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationHouse.js +1 -2
- package/lib/illustrations/General/IllustrationHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationHouseMissing.js +1 -2
- package/lib/illustrations/General/IllustrationLowHouse.js +1 -2
- package/lib/illustrations/General/IllustrationLowHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationPaperCompleted.js +1 -2
- package/lib/illustrations/General/IllustrationPaperMissing.js +1 -2
- package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +1 -2
- package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationServiceMessage.d.ts +5 -0
- package/lib/illustrations/General/IllustrationServiceMessage.d.ts.map +1 -0
- package/lib/illustrations/General/IllustrationServiceMessage.js +40 -0
- package/lib/illustrations/General/IllustrationSmallHouse.js +1 -2
- package/lib/illustrations/General/IllustrationSmallHouseComposition.js +1 -2
- package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts +5 -0
- package/lib/illustrations/General/IllustrationTechninalDifficulties.d.ts.map +1 -0
- package/lib/illustrations/General/IllustrationTechninalDifficulties.js +119 -0
- package/lib/illustrations/General/IllustrationTerraceBlock.js +1 -2
- package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +1 -2
- package/lib/illustrations/General/IllustrationTownHouse.js +1 -2
- package/lib/illustrations/General/IllustrationTownHouseComposition.js +1 -2
- package/lib/illustrations/Illustration.stories.d.ts +0 -1
- package/lib/illustrations/Illustration.stories.d.ts.map +1 -1
- package/lib/illustrations/Illustration.stories.js +18 -3
- package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts +4 -0
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.d.ts.map +1 -0
- package/lib/illustrations/MySite/IllustrationMySiteBenefits.js +180 -0
- package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteComputer.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteGift.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts +4 -0
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.d.ts.map +1 -0
- package/lib/illustrations/MySite/IllustrationMySiteLetterSent.js +77 -0
- package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySitePapers.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +1 -2
- package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +1 -2
- package/lib/illustrations/styles.d.ts +2 -2
- package/lib/illustrations/withIllustration.d.ts +2 -2
- package/lib/illustrations/withIllustration.d.ts.map +1 -1
- package/lib/index.d.ts +9 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -2
- package/lib/layout/Footer/Footer.stories.d.ts +2 -2
- package/lib/layout/Footer/Footer.stories.d.ts.map +1 -1
- package/lib/layout/Footer/Footer.stories.js +1 -2
- package/lib/layout/Footer/FooterButton/styles.d.ts +27 -28
- package/lib/layout/Footer/FooterButton/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterCol/styles.d.ts +2 -3
- package/lib/layout/Footer/FooterCol/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterGroup/styles.d.ts +2 -3
- package/lib/layout/Footer/FooterGroup/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterLabel/styles.d.ts +2 -3
- package/lib/layout/Footer/FooterLabel/styles.d.ts.map +1 -1
- package/lib/layout/Footer/FooterLink/styles.d.ts +27 -28
- package/lib/layout/Footer/FooterLink/styles.d.ts.map +1 -1
- package/lib/layout/Footer/styles.d.ts +3 -4
- package/lib/layout/Footer/styles.d.ts.map +1 -1
- package/lib/layout/Layout/Layout.stories.d.ts +2 -2
- package/lib/layout/Layout/Layout.stories.d.ts.map +1 -1
- package/lib/layout/Layout/styles.d.ts +3 -4
- package/lib/layout/Layout/styles.d.ts.map +1 -1
- package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +2 -2
- package/lib/layout/LayoutShell/LayoutShell.stories.d.ts.map +1 -1
- package/lib/layout/LayoutShell/index.js +1 -2
- package/lib/layout/LayoutShell/styles.d.ts +9 -10
- package/lib/layout/LayoutShell/styles.d.ts.map +1 -1
- package/lib/layout/Menu/AppPicker/index.d.ts +2 -2
- package/lib/layout/Menu/AppPicker/index.d.ts.map +1 -1
- package/lib/layout/Menu/AppPicker/index.js +3 -4
- package/lib/layout/Menu/AppPicker/styles.d.ts +2 -3
- package/lib/layout/Menu/AppPicker/styles.d.ts.map +1 -1
- package/lib/layout/Menu/AppPicker/styles.js +7 -7
- package/lib/layout/Menu/MainMenu/index.d.ts +1 -1
- package/lib/layout/Menu/MainMenu/index.d.ts.map +1 -1
- package/lib/layout/Menu/MainMenu/index.js +10 -6
- package/lib/layout/Menu/MainMenu/styles.d.ts +5 -2
- package/lib/layout/Menu/MainMenu/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MainMenu/styles.js +8 -2
- package/lib/layout/Menu/MenuItem/index.d.ts +1 -1
- package/lib/layout/Menu/MenuItem/index.d.ts.map +1 -1
- package/lib/layout/Menu/MenuItem/index.js +23 -19
- package/lib/layout/Menu/MenuItem/styles.d.ts +4 -1
- package/lib/layout/Menu/MenuItem/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuItem/styles.js +17 -2
- package/lib/layout/Menu/MenuSpacer/styles.d.ts +2 -3
- package/lib/layout/Menu/MenuSpacer/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuTop/index.js +1 -2
- package/lib/layout/Menu/MenuTop/styles.d.ts +29 -30
- package/lib/layout/Menu/MenuTop/styles.d.ts.map +1 -1
- package/lib/layout/Menu/MenuTop/styles.js +3 -3
- package/lib/layout/Menu/SecondaryMenu/index.js +1 -2
- package/lib/layout/Menu/SecondaryMenu/styles.d.ts +4 -5
- package/lib/layout/Menu/SecondaryMenu/styles.d.ts.map +1 -1
- package/lib/layout/Menu/SecondaryMenuItem/index.js +1 -2
- package/lib/layout/Menu/Sidemenu.stories.d.ts +2 -2
- package/lib/layout/Menu/Sidemenu.stories.d.ts.map +1 -1
- package/lib/layout/Menu/Sidemenu.stories.js +10 -7
- package/lib/layout/Menu/styles.d.ts +2 -3
- package/lib/layout/Menu/styles.d.ts.map +1 -1
- package/lib/layout/Submenu/Submenu.stories.d.ts +2 -2
- package/lib/layout/Submenu/Submenu.stories.d.ts.map +1 -1
- package/lib/layout/Submenu/Submenu.stories.js +1 -2
- package/lib/layout/Submenu/SubmenuItem/index.d.ts.map +1 -1
- package/lib/layout/Submenu/SubmenuItem/index.js +23 -19
- package/lib/layout/Submenu/SubmenuItem/styles.d.ts +2 -3
- package/lib/layout/Submenu/SubmenuItem/styles.d.ts.map +1 -1
- package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +1 -2
- package/lib/layout/Submenu/index.d.ts.map +1 -1
- package/lib/layout/Submenu/index.js +13 -10
- package/lib/layout/Submenu/styles.d.ts +20 -17
- package/lib/layout/Submenu/styles.d.ts.map +1 -1
- package/lib/layout/Submenu/styles.js +26 -12
- package/lib/layout/Topbar/Topbar.stories.d.ts +2 -2
- package/lib/layout/Topbar/Topbar.stories.d.ts.map +1 -1
- package/lib/layout/Topbar/styles.d.ts +0 -1
- package/lib/layout/Topbar/styles.d.ts.map +1 -1
- package/lib/shared/components/VisuallyHidden/index.d.ts +2 -3
- package/lib/shared/components/VisuallyHidden/index.d.ts.map +1 -1
- package/lib/shared/recharts/CustomLegend/index.js +1 -2
- package/lib/shared/recharts/CustomLegend/styles.d.ts +5 -6
- package/lib/shared/recharts/CustomLegend/styles.d.ts.map +1 -1
- package/lib/shared/recharts/CustomTooltip/index.js +1 -2
- package/lib/shared/recharts/CustomTooltip/styles.d.ts +6 -7
- package/lib/shared/recharts/CustomTooltip/styles.d.ts.map +1 -1
- package/lib/utils/accountNumber.d.ts +1 -1
- package/lib/utils/accountNumber.d.ts.map +1 -1
- package/lib/utils/dates.d.ts +3 -2
- package/lib/utils/dates.d.ts.map +1 -1
- package/lib/utils/dates.js +5 -0
- package/lib/utils/file.d.ts +1 -1
- package/lib/utils/file.d.ts.map +1 -1
- package/lib/utils/format.d.ts +4 -4
- package/lib/utils/format.d.ts.map +1 -1
- package/lib/utils/format.js +4 -8
- package/lib/utils/removeFocusOnMouseUp.d.ts +0 -1
- package/lib/utils/removeFocusOnMouseUp.d.ts.map +1 -1
- package/lib/utils/time.d.ts +6 -6
- package/lib/utils/time.d.ts.map +1 -1
- package/lib/utils/useSnorreTheme.d.ts +1 -1
- package/lib/utils/useSnorreTheme.d.ts.map +1 -1
- package/package.json +7 -2
- package/theme-bbls.js +2 -2
- package/lib/shared/types/Accessibility.d.ts +0 -55
- package/lib/shared/types/Accessibility.d.ts.map +0 -1
- package/lib/shared/types/Accessibility.js +0 -1
- package/lib/shared/types/LoadedType.d.ts +0 -7
- package/lib/shared/types/LoadedType.d.ts.map +0 -1
- package/lib/shared/types/LoadedType.js +0 -1
- /package/esm/{shared/types/Accessibility.js → core/QuillEditor/models.js} +0 -0
- /package/{esm/shared/types/LoadedType.js → lib/core/QuillEditor/models.js} +0 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
import EditorQuillReact from '.';
|
2
|
+
const meta = {
|
3
|
+
title: 'Core/EditorQuillReact',
|
4
|
+
component: EditorQuillReact
|
5
|
+
};
|
6
|
+
export default meta;
|
7
|
+
export const Default = {
|
8
|
+
args: {
|
9
|
+
label: 'Editor-label',
|
10
|
+
onChange: e => console.log(e),
|
11
|
+
invalidMessage: 'Memes are not allowed'
|
12
|
+
},
|
13
|
+
name: 'Default'
|
14
|
+
};
|
15
|
+
export const Rich = {
|
16
|
+
args: {
|
17
|
+
label: 'Editor-label',
|
18
|
+
onChange: e => console.log(e),
|
19
|
+
type: 'rich',
|
20
|
+
allowImages: true
|
21
|
+
},
|
22
|
+
name: 'Rich'
|
23
|
+
};
|
24
|
+
|
25
|
+
// export const ValidElements: Story = {
|
26
|
+
// args: {
|
27
|
+
// label: 'Editor-label',
|
28
|
+
// onChange: (e) => console.log(e),
|
29
|
+
// type: 'custom',
|
30
|
+
// customToolbar: 'bold italic underline',
|
31
|
+
// validElements: 'strong,p,span,em',
|
32
|
+
// },
|
33
|
+
// name: 'Valid elements',
|
34
|
+
// }
|
35
|
+
|
36
|
+
// export const InvalidElements: Story = {
|
37
|
+
// args: {
|
38
|
+
// label: 'Editor-label',
|
39
|
+
// onChange: (e) => console.log(e),
|
40
|
+
// type: 'custom',
|
41
|
+
// customToolbar: 'bold italic underline',
|
42
|
+
// invalidElements: 'button,a,h1,h2,h3,h4,h5,h6',
|
43
|
+
// },
|
44
|
+
// name: 'Invalid elements',
|
45
|
+
// }
|
46
|
+
|
47
|
+
// export const AllProps: Story = {
|
48
|
+
// args: {
|
49
|
+
// label: 'Editor-label',
|
50
|
+
// onChange: (e) => console.log(e),
|
51
|
+
// type: 'rich',
|
52
|
+
// allowImages: true,
|
53
|
+
// invalidElements: 'button,a,h1,h2,h3,h4,h5,h6',
|
54
|
+
// invalidMessage: 'Memes are not allowed',
|
55
|
+
// height: 400,
|
56
|
+
// maxHeight: 600,
|
57
|
+
// },
|
58
|
+
// name: 'All props',
|
59
|
+
// }
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Quill } from 'react-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,31 @@
|
|
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
|
+
const clean = 'clean';
|
27
|
+
// const image = 'image'
|
28
|
+
|
29
|
+
export const basicToolbar = [decorations, lists];
|
30
|
+
export const richToolbar = [sizes, decorations, lists, alignments, [link]];
|
31
|
+
export const fullToolbar = [sizes, decorations, lists, alignments, [link, image], [clean]];
|
@@ -0,0 +1,103 @@
|
|
1
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
2
|
+
/** @jsxImportSource @emotion/react */
|
3
|
+
import { useState, useEffect } from 'react';
|
4
|
+
import Text from '../Text';
|
5
|
+
import IconErrorOutline from '../../icons/General/IconErrorOutline';
|
6
|
+
import { useTheme } from '@emotion/react';
|
7
|
+
import { ErrorWrapper, Label, styles } from './styles';
|
8
|
+
import ReactQuill, { Quill } from 'react-quill';
|
9
|
+
import 'react-quill/dist/quill.snow.css';
|
10
|
+
import { basicToolbar, richToolbar } from './config';
|
11
|
+
import { IndentAttributor } from './IndentAttributor';
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
13
|
+
const Parchment = Quill.import('parchment');
|
14
|
+
|
15
|
+
//Text direction
|
16
|
+
Quill.register(Quill.import('attributors/style/direction'), true);
|
17
|
+
//Alignment
|
18
|
+
Quill.register(Quill.import('attributors/style/align'), true);
|
19
|
+
// Text sizes
|
20
|
+
const Size = Quill.import('attributors/style/size');
|
21
|
+
Size.whitelist = ['0.75em', '1em', '1.5em', '2.5em'];
|
22
|
+
Quill.register(Size, true);
|
23
|
+
let IndentStyle = new IndentAttributor('indent', 'text-indent', {
|
24
|
+
scope: Parchment.Scope.BLOCK,
|
25
|
+
whitelist: ['1em', '2em', '3em', '4em', '5em', '6em', '7em', '8em', '9em']
|
26
|
+
});
|
27
|
+
Quill.register(IndentStyle, true);
|
28
|
+
var _ref = process.env.NODE_ENV === "production" ? {
|
29
|
+
name: "1fttcpj",
|
30
|
+
styles: "display:flex;flex-direction:column"
|
31
|
+
} : {
|
32
|
+
name: "beovm0-EditorQuillReact",
|
33
|
+
styles: "display:flex;flex-direction:column;label:EditorQuillReact;",
|
34
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0VkaXRvclF1aWxsUmVhY3QvaW5kZXgudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFHUSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9FZGl0b3JRdWlsbFJlYWN0L2luZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4SW1wb3J0U291cmNlIEBlbW90aW9uL3JlYWN0ICovXG5pbXBvcnQgeyB1c2VTdGF0ZSwgdXNlRWZmZWN0IH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgVGV4dCBmcm9tICcuLi9UZXh0J1xuaW1wb3J0IEljb25FcnJvck91dGxpbmUgZnJvbSAnLi4vLi4vaWNvbnMvR2VuZXJhbC9JY29uRXJyb3JPdXRsaW5lJ1xuaW1wb3J0IHsgdXNlVGhlbWUgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IEVycm9yV3JhcHBlciwgTGFiZWwsIHN0eWxlcyB9IGZyb20gJy4vc3R5bGVzJ1xuaW1wb3J0IFJlYWN0UXVpbGwsIHsgUXVpbGwgfSBmcm9tICdyZWFjdC1xdWlsbCdcbmltcG9ydCAncmVhY3QtcXVpbGwvZGlzdC9xdWlsbC5zbm93LmNzcydcbmltcG9ydCB7IGJhc2ljVG9vbGJhciwgcmljaFRvb2xiYXIgfSBmcm9tICcuL2NvbmZpZydcbmltcG9ydCB7IEluZGVudEF0dHJpYnV0b3IgfSBmcm9tICcuL0luZGVudEF0dHJpYnV0b3InXG5cbnR5cGUgUHJvcHMgPSB7XG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sXG4gICAgICAgIH19XG4gICAgICAgIHRoZW1lPVwic25vd1wiXG4gICAgICAgIHJlYWRPbmx5PXtkaXNhYmxlZH1cbiAgICAgICAgZm9ybWF0cz17W1xuICAgICAgICAgICdoZWFkZXInLFxuICAgICAgICAgICdzaXplJyxcbiAgICAgICAgICAnYm9sZCcsXG4gICAgICAgICAgJ2l0YWxpYycsXG4gICAgICAgICAgJ3VuZGVybGluZScsXG4gICAgICAgICAgJ2xpc3QnLFxuICAgICAgICAgICdpbmRlbnQnLFxuICAgICAgICAgICdsaW5rJyxcbiAgICAgICAgICAnaW1hZ2UnLFxuICAgICAgICAgICdhbGlnbicsXG4gICAgICAgIF19XG4gICAgICAgIG1vZHVsZXM9e2N1c3RvbU1vZHVsZXN9XG4gICAgICAgIHZhbHVlPXt2YWx1ZX1cbiAgICAgICAgb25DaGFuZ2U9e2hhbmRsZUNoYW5nZX1cbiAgICAgICAgb25CbHVyPXsoKSA9PiBvbkJsdXI/Lih2YWx1ZSl9XG4gICAgICAvPlxuXG4gICAgICB7aW52YWxpZE1lc3NhZ2UgJiYgKFxuICAgICAgICA8RXJyb3JXcmFwcGVyPlxuICAgICAgICAgIHtpbnZhbGlkTWVzc2FnZSAmJiAoXG4gICAgICAgICAgICA8VGV4dCBjb2xvcj17YWxlcnR9PlxuICAgICAgICAgICAgICA8SWNvbkVycm9yT3V0bGluZSBzaXplPVwiMTZweFwiIGNvbG9yPXthbGVydH0gLz4ge2ludmFsaWRNZXNzYWdlfVxuICAgICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgICl9XG4gICAgICAgIDwvRXJyb3JXcmFwcGVyPlxuICAgICAgKX1cbiAgICA8L2Rpdj5cbiAgKVxufVxuXG5leHBvcnQgZGVmYXVsdCBFZGl0b3JRdWlsbFJlYWN0XG4iXX0= */",
|
35
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
36
|
+
};
|
37
|
+
const EditorQuillReact = ({
|
38
|
+
initialValue,
|
39
|
+
overrideValue,
|
40
|
+
type = 'basic',
|
41
|
+
label,
|
42
|
+
height = 500,
|
43
|
+
// trenger ??
|
44
|
+
maxHeight = 500,
|
45
|
+
maxWidth,
|
46
|
+
customToolbar,
|
47
|
+
invalidMessage,
|
48
|
+
allowImages,
|
49
|
+
// trenger ??
|
50
|
+
pasteAsText,
|
51
|
+
// trenger ??
|
52
|
+
resize = true,
|
53
|
+
// trenger ??
|
54
|
+
validElements,
|
55
|
+
// trenger ??
|
56
|
+
invalidElements = 'button',
|
57
|
+
// trenger ??
|
58
|
+
disabled,
|
59
|
+
onChange,
|
60
|
+
onBlur
|
61
|
+
}) => {
|
62
|
+
const [value, setValue] = useState(initialValue || '');
|
63
|
+
const {
|
64
|
+
alert
|
65
|
+
} = useTheme();
|
66
|
+
const handleChange = (html, _delta, _source, editor) => {
|
67
|
+
setValue(html);
|
68
|
+
onChange(html, editor.getText().trim().length);
|
69
|
+
};
|
70
|
+
const customModules = {
|
71
|
+
toolbar: {
|
72
|
+
container: type === 'basic' ? basicToolbar : type === 'rich' ? richToolbar : customToolbar
|
73
|
+
}
|
74
|
+
};
|
75
|
+
useEffect(() => {
|
76
|
+
if (overrideValue === undefined) return;
|
77
|
+
setValue(() => overrideValue);
|
78
|
+
}, [overrideValue]);
|
79
|
+
return _jsxs("div", {
|
80
|
+
css: theme => [styles.default(theme, maxHeight)],
|
81
|
+
children: [label && _jsx(Label, {
|
82
|
+
children: label
|
83
|
+
}), _jsx(ReactQuill, {
|
84
|
+
css: _ref,
|
85
|
+
theme: "snow",
|
86
|
+
readOnly: disabled,
|
87
|
+
formats: ['header', 'size', 'bold', 'italic', 'underline', 'list', 'indent', 'link', 'image', 'align'],
|
88
|
+
modules: customModules,
|
89
|
+
value: value,
|
90
|
+
onChange: handleChange,
|
91
|
+
onBlur: () => onBlur?.(value)
|
92
|
+
}), invalidMessage && _jsx(ErrorWrapper, {
|
93
|
+
children: invalidMessage && _jsxs(Text, {
|
94
|
+
color: alert,
|
95
|
+
children: [_jsx(IconErrorOutline, {
|
96
|
+
size: "16px",
|
97
|
+
color: alert
|
98
|
+
}), " ", invalidMessage]
|
99
|
+
})
|
100
|
+
})]
|
101
|
+
});
|
102
|
+
};
|
103
|
+
export default EditorQuillReact;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import _styled from "@emotion/styled/base";
|
2
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
3
|
+
import { css } from '@emotion/react';
|
4
|
+
export const styles = {
|
5
|
+
default: (theme, maxHeight) => /*#__PURE__*/css("display:flex;flex-direction:column;gap:4px;.ql-snow .ql-picker.ql-size .ql-picker-label[data-value='0.75em']::before{content:'Small';}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value='1em']::before{content:'Normal';}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value='1.5em']::before{content:'Large';}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value='2.5em']::before{content:'Huge';}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='0.75em']::before{content:'Small';font-size:0.75em!important;}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='1em']::before{content:'Normal';font-size:1em!important;}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='1.5em']::before{content:'Large';font-size:1.5em!important;}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='2.5em']::before{content:'Huge';font-size:2.5em!important;}.ql-toolbar{border:1px solid ", theme.border, ";border-radius:3px 3px 0 0;padding-top:0;padding-bottom:0;.ql-formats{margin-right:0;padding:4px;&:not(:first-of-type){border-left:1px solid ", theme.border, ";}button{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:3px;svg{height:65%;}&:hover{background:rgb(222, 224, 226);}&.ql-active{background:rgb(200, 203, 207);}}}.ql-picker-label{border-color:transparent!important;}.ql-picker-options{border-radius:3px;padding-left:0;padding-right:0;margin-top:3px!important;.ql-picker-item{padding:4px;&:hover{background:rgb(222, 224, 226);}}}}.ql-container{border:1px solid ", theme.border, ";border-top:none;border-radius:0 0 3px 3px;font-size:16px;}", maxHeight && /*#__PURE__*/css(".ql-editor{min-height:150px;max-height:", maxHeight, "px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0VkaXRvclF1aWxsUmVhY3Qvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStHTyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9FZGl0b3JRdWlsbFJlYWN0L3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBJQXBwVGhlbWUgfSBmcm9tICcuLi8uLi9hcHAtc2hlbGwvdGhlbWUnXG5cbmV4cG9ydCBjb25zdCBzdHlsZXMgPSB7XG4gIGRlZmF1bHQ6ICh0aGVtZTogSUFwcFRoZW1lLCBtYXhIZWlnaHQ6IG51bWJlcikgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBnYXA6IDRweDtcblxuICAgIC5xbC1zbm93IC5xbC1waWNrZXIucWwtc2l6ZSAucWwtcGlja2VyLWxhYmVsW2RhdGEtdmFsdWU9JzAuNzVlbSddOjpiZWZvcmUge1xuICAgICAgY29udGVudDogJ1NtYWxsJztcbiAgICB9XG5cbiAgICAucWwtc25vdyAucWwtcGlja2VyLnFsLXNpemUgLnFsLXBpY2tlci1sYW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AgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIC8vIERyb3Bkb3duc1xuICAgICAgLnFsLXBpY2tlci1sYWJlbCB7XG4gICAgICAgIGJvcmRlci1jb2xvcjogdHJhbnNwYXJlbnQgIWltcG9ydGFudDtcbiAgICAgIH1cblxuICAgICAgLy8gRHJvcGRvd24gY29udGVudFxuICAgICAgLnFsLXBpY2tlci1vcHRpb25zIHtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4O1xuICAgICAgICBwYWRkaW5nLWxlZnQ6IDA7XG4gICAgICAgIHBhZGRpbmctcmlnaHQ6IDA7XG4gICAgICAgIG1hcmdpbi10b3A6IDNweCAhaW1wb3J0YW50O1xuXG4gICAgICAgIC5xbC1waWNrZXItaXRlbSB7XG4gICAgICAgICAgcGFkZGluZzogNHB4O1xuXG4gICAgICAgICAgJjpob3ZlciB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiByZ2IoMjIyLCAyMjQsIDIyNik7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICAgIC5xbC1jb250YWluZXIge1xuICAgICAgYm9yZGVyOiAxcHggc29saWQgJHt0aGVtZS5ib3JkZXJ9O1xuICAgICAgYm9yZGVyLXRvcDogbm9uZTtcbiAgICAgIGJvcmRlci1yYWRpdXM6IDAgMCAzcHggM3B4O1xuICAgICAgZm9udC1zaXplOiAxNnB4O1xuICAgIH1cbiAgICAke21heEhlaWdodCAmJlxuICAgIGNzc2BcbiAgICAgIC5xbC1lZGl0b3Ige1xuICAgICAgICBtaW4taGVpZ2h0OiAxNTBweDtcbiAgICAgICAgbWF4LWhlaWdodDogJHttYXhIZWlnaHR9cHg7XG4gICAgICB9XG4gICAgYH1cbiAgYCxcbn1cblxuZXhwb3J0IGNvbnN0IExhYmVsID0gc3R5bGVkLnNwYW5gXG4gIGxpbmUtaGVpZ2h0OiAyMnB4O1xuICBmb250LXNpemU6IDFlbTtcbiAgZm9udC13ZWlnaHQ6IDYwMDtcbiAgbWFyZ2luLWJvdHRvbTogNHB4O1xuYFxuXG5leHBvcnQgY29uc3QgRXJyb3JXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZ3JpZDtcblxuICAmID4gc3BhbiB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIGdhcDogNnB4O1xuICB9XG5gXG4iXX0= */"), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0VkaXRvclF1aWxsUmVhY3Qvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt1RCIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9FZGl0b3JRdWlsbFJlYWN0L3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBJQXBwVGhlbWUgfSBmcm9tICcuLi8uLi9hcHAtc2hlbGwvdGhlbWUnXG5cbmV4cG9ydCBjb25zdCBzdHlsZXMgPSB7XG4gIGRlZmF1bHQ6ICh0aGVtZTogSUFwcFRoZW1lLCBtYXhIZWlnaHQ6IG51bWJlcikgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBnYXA6IDRweDtcblxuICAgIC5xbC1zbm93IC5xbC1waWNrZXIucWwtc2l6ZSAucWwtcGlja2VyLWxhYmVsW2RhdGEtdmFsdWU9JzAuNzVlbSddOjpiZWZvcmUge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GVcbiAgICAgICAgICAmLnFsLWFjdGl2ZSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiByZ2IoMjAwLCAyMDMsIDIwNyk7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIC8vIERyb3Bkb3duc1xuICAgICAgLnFsLXBpY2tlci1sYWJlbCB7XG4gICAgICAgIGJvcmRlci1jb2xvcjogdHJhbnNwYXJlbnQgIWltcG9ydGFudDtcbiAgICAgIH1cblxuICAgICAgLy8gRHJvcGRvd24gY29udGVudFxuICAgICAgLnFsLXBpY2tlci1vcHRpb25zIHtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4O1xuICAgICAgICBwYWRkaW5nLWxlZnQ6IDA7XG4gICAgICAgIHBhZGRpbmctcmlnaHQ6IDA7XG4gICAgICAgIG1hcmdpbi10b3A6IDNweCAhaW1wb3J0YW50O1xuXG4gICAgICAgIC5xbC1waWNrZXItaXRlbSB7XG4gICAgICAgICAgcGFkZGluZzogNHB4O1xuXG4gICAgICAgICAgJjpob3ZlciB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiByZ2IoMjIyLCAyMjQsIDIyNik7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICAgIC5xbC1jb250YWluZXIge1xuICAgICAgYm9yZGVyOiAxcHggc29saWQgJHt0aGVtZS5ib3JkZXJ9O1xuICAgICAgYm9yZGVyLXRvcDogbm9uZTtcbiAgICAgIGJvcmRlci1yYWRpdXM6IDAgMCAzcHggM3B4O1xuICAgICAgZm9udC1zaXplOiAxNnB4O1xuICAgIH1cbiAgICAke21heEhlaWdodCAmJlxuICAgIGNzc2BcbiAgICAgIC5xbC1lZGl0b3Ige1xuICAgICAgICBtaW4taGVpZ2h0OiAxNTBweDtcbiAgICAgICAgbWF4LWhlaWdodDogJHttYXhIZWlnaHR9cHg7XG4gICAgICB9XG4gICAgYH1cbiAgYCxcbn1cblxuZXhwb3J0IGNvbnN0IExhYmVsID0gc3R5bGVkLnNwYW5gXG4gIGxpbmUtaGVpZ2h0OiAyMnB4O1xuICBmb250LXNpemU6IDFlbTtcbiAgZm9udC13ZWlnaHQ6IDYwMDtcbiAgbWFyZ2luLWJvdHRvbTogNHB4O1xuYFxuXG5leHBvcnQgY29uc3QgRXJyb3JXcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogZ3JpZDtcblxuICAmID4gc3BhbiB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIGdhcDogNnB4O1xuICB9XG5gXG4iXX0= */")
|
6
|
+
};
|
7
|
+
export const Label = /*#__PURE__*/_styled("span", process.env.NODE_ENV === "production" ? {
|
8
|
+
target: "e199a0771"
|
9
|
+
} : {
|
10
|
+
target: "e199a0771",
|
11
|
+
label: "Label"
|
12
|
+
})(process.env.NODE_ENV === "production" ? {
|
13
|
+
name: "1ge8ozm",
|
14
|
+
styles: "line-height:22px;font-size:1em;font-weight:600;margin-bottom:4px"
|
15
|
+
} : {
|
16
|
+
name: "1ge8ozm",
|
17
|
+
styles: "line-height:22px;font-size:1em;font-weight:600;margin-bottom:4px",
|
18
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0VkaXRvclF1aWxsUmVhY3Qvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdIZ0MiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvRWRpdG9yUXVpbGxSZWFjdC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3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NpemUgLnFsLXBpY2tlci1pdGVtW2RhdGEtdmFsdWU9JzFlbSddOjpiZWZvcmUge1xuICAgICAgY29udGVudDogJ05vcm1hbCc7XG4gICAgICBmb250LXNpemU6IDFlbSAhaW1wb3J0YW50O1xuICAgIH1cblxuICAgIC5xbC1zbm93IC5xbC1waWNrZXIucWwtc2l6ZSAucWwtcGlja2VyLWl0ZW1bZGF0YS12YWx1ZT0nMS41ZW0nXTo6YmVmb3JlIHtcbiAgICAgIGNvbnRlbnQ6ICdMYXJnZSc7XG4gICAgICBmb250LXNpemU6IDEuNWVtICFpbXBvcnRhbnQ7XG4gICAgfVxuXG4gICAgLnFsLXNub3cgLnFsLXBpY2tlci5xbC1zaXplIC5xbC1waWNrZXItaXRlbVtkYXRhLXZhbHVlPScyLjVlbSddOjpiZWZvcmUge1xuICAgICAgY29udGVudDogJ0h1Z2UnO1xuICAgICAgZm9udC1zaXplOiAyLjVlbSAhaW1wb3J0YW50O1xuICAgIH1cblxuICAgIC5xbC10b29sYmFyIHtcbiAgICAgIGJvcmRlcjogMXB4IHNvbGlkICR7dGhlbWUuYm9yZGVyfTtcbiAgICAgIGJvcmRlci1yYWRpdXM6IDNweCAzcHggMCAwO1xuICAgICAgcGFkZGluZy10b3A6IDA7XG4gICAgICBwYWRkaW5nLWJvdHRvbTogMDtcblxuICAgICAgLnFsLWZvcm1hdHMge1xuICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgIHBhZGRpbmc6IDRweDtcblxuICAgICAgICAvLyBOb3QgdGhlIGxhc3Qgb25lXG4gICAgICAgICY6bm90KDpmaXJzdC1vZi10eXBlKSB7XG4gICAgICAgICAgYm9yZGVyLWxlZnQ6IDFweCBzb2xpZCAke3RoZW1lLmJvcmRlcn07XG4gICAgICAgIH1cblxuICAgICAgICBidXR0b24ge1xuICAgICAgICAgIHdpZHRoOiAzNHB4O1xuICAgICAgICAgIGhlaWdodDogMzRweDtcbiAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4O1xuXG4gICAgICAgICAgc3ZnIHtcbiAgICAgICAgICAgIGhlaWdodDogNjUlO1xuICAgICAgICAgIH1cblxuICAgICAgICAgICY6aG92ZXIge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogcmdiKDIyMiwgMjI0LCAyMjYpO1xuICAgICAgICAgIH1cbiAgICAgICAgICAvLyBBY3RpdmUgYnV0dG9uIHN0YXRlXG4gICAgICAgICAgJi5xbC1hY3RpdmUge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogcmdiKDIwMCwgMjAzLCAyMDcpO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAvLyBEcm9wZG93bnNcbiAgICAgIC5xbC1waWNrZXItbGFiZWwge1xuICAgICAgICBib3JkZXItY29sb3I6IHRyYW5zcGFyZW50ICFpbXBvcnRhbnQ7XG4gICAgICB9XG5cbiAgICAgIC8vIERyb3Bkb3duIGNvbnRlbnRcbiAgICAgIC5xbC1waWNrZXItb3B0aW9ucyB7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDNweDtcbiAgICAgICAgcGFkZGluZy1sZWZ0OiAwO1xuICAgICAgICBwYWRkaW5nLXJpZ2h0OiAwO1xuICAgICAgICBtYXJnaW4tdG9wOiAzcHggIWltcG9ydGFudDtcblxuICAgICAgICAucWwtcGlja2VyLWl0ZW0ge1xuICAgICAgICAgIHBhZGRpbmc6IDRweDtcblxuICAgICAgICAgICY6aG92ZXIge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogcmdiKDIyMiwgMjI0LCAyMjYpO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgICAucWwtY29udGFpbmVyIHtcbiAgICAgIGJvcmRlcjogMXB4IHNvbGlkICR7dGhlbWUuYm9yZGVyfTtcbiAgICAgIGJvcmRlci10b3A6IG5vbmU7XG4gICAgICBib3JkZXItcmFkaXVzOiAwIDAgM3B4IDNweDtcbiAgICAgIGZvbnQtc2l6ZTogMTZweDtcbiAgICB9XG4gICAgJHttYXhIZWlnaHQgJiZcbiAgICBjc3NgXG4gICAgICAucWwtZWRpdG9yIHtcbiAgICAgICAgbWluLWhlaWdodDogMTUwcHg7XG4gICAgICAgIG1heC1oZWlnaHQ6ICR7bWF4SGVpZ2h0fXB4O1xuICAgICAgfVxuICAgIGB9XG4gIGAsXG59XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5zcGFuYFxuICBsaW5lLWhlaWdodDogMjJweDtcbiAgZm9udC1zaXplOiAxZW07XG4gIGZvbnQtd2VpZ2h0OiA2MDA7XG4gIG1hcmdpbi1ib3R0b206IDRweDtcbmBcblxuZXhwb3J0IGNvbnN0IEVycm9yV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIGRpc3BsYXk6IGdyaWQ7XG5cbiAgJiA+IHNwYW4ge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICBnYXA6IDZweDtcbiAgfVxuYFxuIl19 */",
|
19
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
20
|
+
});
|
21
|
+
export const ErrorWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
22
|
+
target: "e199a0770"
|
23
|
+
} : {
|
24
|
+
target: "e199a0770",
|
25
|
+
label: "ErrorWrapper"
|
26
|
+
})(process.env.NODE_ENV === "production" ? {
|
27
|
+
name: "1t3kewc",
|
28
|
+
styles: "display:grid;&>span{display:flex;align-items:center;gap:6px;}"
|
29
|
+
} : {
|
30
|
+
name: "1t3kewc",
|
31
|
+
styles: "display:grid;&>span{display:flex;align-items:center;gap:6px;}",
|
32
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf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lJztcbiAgICB9XG5cbiAgICAucWwtc25vdyAucWwtcGlja2VyLnFsLXNpemUgLnFsLXBpY2tlci1sYWJlbFtkYXRhLXZhbHVlPScyLjVlbSddOjpiZWZvcmUge1xuICAgICAgY29udGVudDogJ0h1Z2UnO1xuICAgIH1cblxuICAgIC5xbC1zbm93IC5xbC1waWNrZXIucWwtc2l6ZSAucWwtcGlja2VyLWl0ZW1bZGF0YS12YWx1ZT0nMC43NWVtJ106OmJlZm9yZSB7XG4gICAgICBjb250ZW50OiAnU21hbGwnO1xuICAgICAgZm9udC1zaXplOiAwLjc1ZW0gIWltcG9ydGFudDtcbiAgICB9XG5cbiAgICAucWwtc25vdyAucWwtcGlja2VyLnFsLXNpemUgLnFsLXBpY2tlci1pdGVtW2RhdGEtdmFsdWU9JzFlbSddOjpiZWZvcmUge1xuICAgICAgY29udGVudDogJ05vcm1hbCc7XG4gICAgICBmb250LXNpemU6IDFlbSAhaW1wb3J0YW50O1xuICAgIH1cblxuICAgIC5xbC1zbm93IC5xbC1waWNrZXIucWwtc2l6ZSAucWwtcGlja2VyLWl0ZW1bZGF0YS12YWx1ZT0nMS41ZW0nXTo6YmVmb3JlIHtcbiAgICAgIGNvbnRlbnQ6ICdMYXJnZSc7XG4gICAgICBmb250LXNpemU6IDEuNWVtICFpbXBvcnRhbnQ7XG4gICAgfVxuXG4gICAgLnFsLXNub3cgLnFsLXBpY2tlci5xbC1zaXplIC5xbC1waWNrZXItaXRlbVtkYXRhLXZhbHVlPScyLjVlbSddOjpiZWZvcmUge1xuICAgICAgY29udGVudDogJ0h1Z2UnO1xuICAgICAgZm9udC1zaXplOiAyLjVlbSAhaW1wb3J0YW50O1xuICAgIH1cblxuICAgIC5xbC10b29sYmFyIHtcbiAgICAgIGJvcmRlcjogMXB4IHNvbGlkICR7dGhlbWUuYm9yZGVyfTtcbiAgICAgIGJvcmRlci1yYWRpdXM6IDNweCAzcHggMCAwO1xuICAgICAgcGFkZGluZy10b3A6IDA7XG4gICAgICBwYWRkaW5nLWJvdHRvbTogMDtcblxuICAgICAgLnFsLWZvcm1hdHMge1xuICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgIHBhZGRpbmc6IDRweDtcblxuICAgICAgICAvLyBOb3QgdGhlIGxhc3Qgb25lXG4gICAgICAgICY6bm90KDpmaXJzdC1vZi10eXBlKSB7XG4gICAgICAgICAgYm9yZGVyLWxlZnQ6IDFweCBzb2xpZCAke3RoZW1lLmJvcmRlcn07XG4gICAgICAgIH1cblxuICAgICAgICBidXR0b24ge1xuICAgICAgICAgIHdpZHRoOiAzNHB4O1xuICAgICAgICAgIGhlaWdodDogMzRweDtcbiAgICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgICAgYm9yZGVyLXJhZGl1czogM3B4O1xuXG4gICAgICAgICAgc3ZnIHtcbiAgICAgICAgICAgIGhlaWdodDogNjUlO1xuICAgICAgICAgIH1cblxuICAgICAgICAgICY6aG92ZXIge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogcmdiKDIyMiwgMjI0LCAyMjYpO1xuICAgICAgICAgIH1cbiAgICAgICAgICAvLyBBY3RpdmUgYnV0dG9uIHN0YXRlXG4gICAgICAgICAgJi5xbC1hY3RpdmUge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogcmdiKDIwMCwgMjAzLCAyMDcpO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICAvLyBEcm9wZG93bnNcbiAgICAgIC5xbC1waWNrZXItbGFiZWwge1xuICAgICAgICBib3JkZXItY29sb3I6IHRyYW5zcGFyZW50ICFpbXBvcnRhbnQ7XG4gICAgICB9XG5cbiAgICAgIC8vIERyb3Bkb3duIGNvbnRlbnRcbiAgICAgIC5xbC1waWNrZXItb3B0aW9ucyB7XG4gICAgICAgIGJvcmRlci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",
|
33
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
34
|
+
});
|
@@ -5,8 +5,7 @@ import { useTheme } from '@emotion/react';
|
|
5
5
|
import Text from '../Text';
|
6
6
|
import Alert from '../Alert';
|
7
7
|
import { formatBytes, isAllFilesValid } from '../../utils/file';
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
9
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
10
9
|
const FileInput = ({
|
11
10
|
multiple,
|
12
11
|
accept,
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import IconGmail from '../../icons/Logos/IconGmail';
|
3
3
|
import { GButton } from './styles';
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
5
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
6
5
|
const GoogleButton = ({
|
7
6
|
disabled,
|
8
7
|
onClick
|
@@ -18,6 +17,7 @@ const GoogleButton = ({
|
|
18
17
|
return /*#__PURE__*/_jsxs(GButton, {
|
19
18
|
disabled: disabled,
|
20
19
|
onClick: handleClick,
|
20
|
+
"aria-label": "Google-button",
|
21
21
|
children: [/*#__PURE__*/_jsx(IconGmail, {}), "Logg p\xE5 med Google"]
|
22
22
|
});
|
23
23
|
};
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import Html from '.';
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
3
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
4
3
|
const meta = {
|
5
4
|
title: 'Core/Html',
|
6
5
|
component: Html
|
@@ -9,7 +8,7 @@ export default meta;
|
|
9
8
|
export const HtmlDefault = {
|
10
9
|
name: 'Html',
|
11
10
|
args: {
|
12
|
-
text: '<
|
11
|
+
text: '<p>Hei dette er et oppslag med quill</p><p><strong>BOld</strong></p><p><strong><em>Bold og kursiv</em></strong></p><p class="ql-align-center"><u>Bare understrek midtstilt</u></p><ul><li><u>Punkt 1 </u></li><li class="ql-indent-1"><u>2</u></li><li class="ql-indent-2"><u>3</u></li></ul>'
|
13
12
|
}
|
14
13
|
};
|
15
14
|
export const ExternalLinks = {
|
package/esm/core/Html/index.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
2
2
|
import { styles } from './styles';
|
3
|
+
import 'react-quill/dist/quill.snow.css';
|
3
4
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
4
5
|
const Html = ({
|
5
6
|
className,
|
@@ -12,7 +13,8 @@ const Html = ({
|
|
12
13
|
whiteSpace
|
13
14
|
}) => _jsx("div", {
|
14
15
|
css: theme => [styles.default(theme), secondary && styles.secondary(theme), dark && styles.dark(theme), size && styles.size(size), styles.whiteSpace(whiteSpace ? whiteSpace : 'pre-wrap'), removeMargins && styles.removeMargins],
|
15
|
-
className: className
|
16
|
+
className: (className || '') + ' ql-editor' // To apply Quill styles
|
17
|
+
,
|
16
18
|
dangerouslySetInnerHTML: {
|
17
19
|
__html: externalLinks ? text.replace(/href/g, "target='_blank' href") : text
|
18
20
|
}
|
package/esm/core/Html/styles.js
CHANGED
@@ -1,27 +1,24 @@
|
|
1
1
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
2
2
|
import { css } from '@emotion/react';
|
3
3
|
const styles = {
|
4
|
-
default: theme => /*#__PURE__*/css(
|
5
|
-
fontSize: '16px',
|
6
|
-
color: theme.defaultText
|
7
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:default;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW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6IDA7XG4gICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgIH1cbiAgYCxcbn1cblxuZXhwb3J0IGRlZmF1bHQgc3R5bGVzXG5cbmV4cG9ydCB7IHN0eWxlcyB9XG4iXX0= */"),
|
4
|
+
default: theme => /*#__PURE__*/css("padding:0px!important;font-size:16px;color:", theme.defaultText, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0h0bWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtPIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0h0bWwvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBJQXBwVGhlbWUgfSBmcm9tICcuLi8uLi9hcHAtc2hlbGwvdGhlbWUnXG5cbmNvbnN0IHN0eWxlcyA9IHtcbiAgZGVmYXVsdDogKHRoZW1lOiBJQXBwVGhlbWUpID0+XG4gICAgY3NzYFxuICAgICAgcGFkZGluZzogMHB4ICFpbXBvcnRhbnQ7XG4gICAgICBmb250LXNpemU6IDE2cHg7XG4gICAgICBjb2xvcjogJHt0aGVtZS5kZWZhdWx0VGV4dH07XG4gICAgYCxcbiAgc2Vjb25kYXJ5OiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3Moe1xuICAgICAgY29sb3I6IHRoZW1lLnNlY29uZGFyeSxcbiAgICB9KSxcbiAgZGFyazogKHRoZW1lOiBJQXBwVGhlbWUpID0+XG4gICAgY3NzKHtcbiAgICAgIGNvbG9yOiB0aGVtZS5zZWNvbmRhcnlEYXJrVGV4dCxcbiAgICB9KSxcbiAgc2l6ZTogKHNpemU6IHN0cmluZykgPT4gY3NzKHsgZm9udFNpemU6IHNpemUgfSksXG4gIHdoaXRlU3BhY2U6ICh2YWx1ZTogc3RyaW5nKSA9PlxuICAgIGNzc2BcbiAgICAgIHdoaXRlLXNwYWNlOiAke3ZhbHVlfTtcbiAgICBgLFxuICByZW1vdmVNYXJnaW5zOiBjc3NgXG4gICAgcCB7XG4gICAgICBtYXJnaW46IDA7XG4gICAgfVxuXG4gICAgaDEsXG4gICAgaDIsXG4gICAgaDMsXG4gICAgaDQsXG4gICAgaDUge1xuICAgICAgbWFyZ2luLXRvcDogMDtcbiAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcblxuZXhwb3J0IHsgc3R5bGVzIH1cbiJdfQ== */"),
|
8
5
|
secondary: theme => /*#__PURE__*/css({
|
9
6
|
color: theme.secondary
|
10
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:secondary;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
7
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:secondary;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0h0bWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVdJIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0h0bWwvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBJQXBwVGhlbWUgfSBmcm9tICcuLi8uLi9hcHAtc2hlbGwvdGhlbWUnXG5cbmNvbnN0IHN0eWxlcyA9IHtcbiAgZGVmYXVsdDogKHRoZW1lOiBJQXBwVGhlbWUpID0+XG4gICAgY3NzYFxuICAgICAgcGFkZGluZzogMHB4ICFpbXBvcnRhbnQ7XG4gICAgICBmb250LXNpemU6IDE2cHg7XG4gICAgICBjb2xvcjogJHt0aGVtZS5kZWZhdWx0VGV4dH07XG4gICAgYCxcbiAgc2Vjb25kYXJ5OiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3Moe1xuICAgICAgY29sb3I6IHRoZW1lLnNlY29uZGFyeSxcbiAgICB9KSxcbiAgZGFyazogKHRoZW1lOiBJQXBwVGhlbWUpID0+XG4gICAgY3NzKHtcbiAgICAgIGNvbG9yOiB0aGVtZS5zZWNvbmRhcnlEYXJrVGV4dCxcbiAgICB9KSxcbiAgc2l6ZTogKHNpemU6IHN0cmluZykgPT4gY3NzKHsgZm9udFNpemU6IHNpemUgfSksXG4gIHdoaXRlU3BhY2U6ICh2YWx1ZTogc3RyaW5nKSA9PlxuICAgIGNzc2BcbiAgICAgIHdoaXRlLXNwYWNlOiAke3ZhbHVlfTtcbiAgICBgLFxuICByZW1vdmVNYXJnaW5zOiBjc3NgXG4gICAgcCB7XG4gICAgICBtYXJnaW46IDA7XG4gICAgfVxuXG4gICAgaDEsXG4gICAgaDIsXG4gICAgaDMsXG4gICAgaDQsXG4gICAgaDUge1xuICAgICAgbWFyZ2luLXRvcDogMDtcbiAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcblxuZXhwb3J0IHsgc3R5bGVzIH1cbiJdfQ== */"),
|
11
8
|
dark: theme => /*#__PURE__*/css({
|
12
9
|
color: theme.secondaryDarkText
|
13
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:dark;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
10
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:dark;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0h0bWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWVJIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0h0bWwvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBJQXBwVGhlbWUgfSBmcm9tICcuLi8uLi9hcHAtc2hlbGwvdGhlbWUnXG5cbmNvbnN0IHN0eWxlcyA9IHtcbiAgZGVmYXVsdDogKHRoZW1lOiBJQXBwVGhlbWUpID0+XG4gICAgY3NzYFxuICAgICAgcGFkZGluZzogMHB4ICFpbXBvcnRhbnQ7XG4gICAgICBmb250LXNpemU6IDE2cHg7XG4gICAgICBjb2xvcjogJHt0aGVtZS5kZWZhdWx0VGV4dH07XG4gICAgYCxcbiAgc2Vjb25kYXJ5OiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3Moe1xuICAgICAgY29sb3I6IHRoZW1lLnNlY29uZGFyeSxcbiAgICB9KSxcbiAgZGFyazogKHRoZW1lOiBJQXBwVGhlbWUpID0+XG4gICAgY3NzKHtcbiAgICAgIGNvbG9yOiB0aGVtZS5zZWNvbmRhcnlEYXJrVGV4dCxcbiAgICB9KSxcbiAgc2l6ZTogKHNpemU6IHN0cmluZykgPT4gY3NzKHsgZm9udFNpemU6IHNpemUgfSksXG4gIHdoaXRlU3BhY2U6ICh2YWx1ZTogc3RyaW5nKSA9PlxuICAgIGNzc2BcbiAgICAgIHdoaXRlLXNwYWNlOiAke3ZhbHVlfTtcbiAgICBgLFxuICByZW1vdmVNYXJnaW5zOiBjc3NgXG4gICAgcCB7XG4gICAgICBtYXJnaW46IDA7XG4gICAgfVxuXG4gICAgaDEsXG4gICAgaDIsXG4gICAgaDMsXG4gICAgaDQsXG4gICAgaDUge1xuICAgICAgbWFyZ2luLXRvcDogMDtcbiAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcblxuZXhwb3J0IHsgc3R5bGVzIH1cbiJdfQ== */"),
|
14
11
|
size: size => /*#__PURE__*/css({
|
15
12
|
fontSize: size
|
16
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:size;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
17
|
-
whiteSpace: value => /*#__PURE__*/css("white-space:", value, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:whiteSpace;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
13
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:size;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0h0bWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCMEIiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvSHRtbC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IElBcHBUaGVtZSB9IGZyb20gJy4uLy4uL2FwcC1zaGVsbC90aGVtZSdcblxuY29uc3Qgc3R5bGVzID0ge1xuICBkZWZhdWx0OiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3NgXG4gICAgICBwYWRkaW5nOiAwcHggIWltcG9ydGFudDtcbiAgICAgIGZvbnQtc2l6ZTogMTZweDtcbiAgICAgIGNvbG9yOiAke3RoZW1lLmRlZmF1bHRUZXh0fTtcbiAgICBgLFxuICBzZWNvbmRhcnk6ICh0aGVtZTogSUFwcFRoZW1lKSA9PlxuICAgIGNzcyh7XG4gICAgICBjb2xvcjogdGhlbWUuc2Vjb25kYXJ5LFxuICAgIH0pLFxuICBkYXJrOiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3Moe1xuICAgICAgY29sb3I6IHRoZW1lLnNlY29uZGFyeURhcmtUZXh0LFxuICAgIH0pLFxuICBzaXplOiAoc2l6ZTogc3RyaW5nKSA9PiBjc3MoeyBmb250U2l6ZTogc2l6ZSB9KSxcbiAgd2hpdGVTcGFjZTogKHZhbHVlOiBzdHJpbmcpID0+XG4gICAgY3NzYFxuICAgICAgd2hpdGUtc3BhY2U6ICR7dmFsdWV9O1xuICAgIGAsXG4gIHJlbW92ZU1hcmdpbnM6IGNzc2BcbiAgICBwIHtcbiAgICAgIG1hcmdpbjogMDtcbiAgICB9XG5cbiAgICBoMSxcbiAgICBoMixcbiAgICBoMyxcbiAgICBoNCxcbiAgICBoNSB7XG4gICAgICBtYXJnaW4tdG9wOiAwO1xuICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICB9XG4gIGAsXG59XG5cbmV4cG9ydCBkZWZhdWx0IHN0eWxlc1xuXG5leHBvcnQgeyBzdHlsZXMgfVxuIl19 */"),
|
14
|
+
whiteSpace: value => /*#__PURE__*/css("white-space:", value, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:whiteSpace;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0h0bWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9CTyIsImZpbGUiOiIuLi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G9ydCB7IHN0eWxlcyB9XG4iXX0= */"),
|
18
15
|
removeMargins: process.env.NODE_ENV === "production" ? {
|
19
16
|
name: "1r5pl5m",
|
20
17
|
styles: "p{margin:0;}h1,h2,h3,h4,h5{margin-top:0;margin-bottom:0;}"
|
21
18
|
} : {
|
22
19
|
name: "zwk3gi-removeMargins",
|
23
20
|
styles: "p{margin:0;}h1,h2,h3,h4,h5{margin-top:0;margin-bottom:0;};label:removeMargins;",
|
24
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
21
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0h0bWwvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCb0IiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvSHRtbC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IElBcHBUaGVtZSB9IGZyb20gJy4uLy4uL2FwcC1zaGVsbC90aGVtZSdcblxuY29uc3Qgc3R5bGVzID0ge1xuICBkZWZhdWx0OiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3NgXG4gICAgICBwYWRkaW5nOiAwcHggIWltcG9ydGFudDtcbiAgICAgIGZvbnQtc2l6ZTogMTZweDtcbiAgICAgIGNvbG9yOiAke3RoZW1lLmRlZmF1bHRUZXh0fTtcbiAgICBgLFxuICBzZWNvbmRhcnk6ICh0aGVtZTogSUFwcFRoZW1lKSA9PlxuICAgIGNzcyh7XG4gICAgICBjb2xvcjogdGhlbWUuc2Vjb25kYXJ5LFxuICAgIH0pLFxuICBkYXJrOiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3Moe1xuICAgICAgY29sb3I6IHRoZW1lLnNlY29uZGFyeURhcmtUZXh0LFxuICAgIH0pLFxuICBzaXplOiAoc2l6ZTogc3RyaW5nKSA9PiBjc3MoeyBmb250U2l6ZTogc2l6ZSB9KSxcbiAgd2hpdGVTcGFjZTogKHZhbHVlOiBzdHJpbmcpID0+XG4gICAgY3NzYFxuICAgICAgd2hpdGUtc3BhY2U6ICR7dmFsdWV9O1xuICAgIGAsXG4gIHJlbW92ZU1hcmdpbnM6IGNzc2BcbiAgICBwIHtcbiAgICAgIG1hcmdpbjogMDtcbiAgICB9XG5cbiAgICBoMSxcbiAgICBoMixcbiAgICBoMyxcbiAgICBoNCxcbiAgICBoNSB7XG4gICAgICBtYXJnaW4tdG9wOiAwO1xuICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICB9XG4gIGAsXG59XG5cbmV4cG9ydCBkZWZhdWx0IHN0eWxlc1xuXG5leHBvcnQgeyBzdHlsZXMgfVxuIl19 */",
|
25
22
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
26
23
|
}
|
27
24
|
};
|
@@ -3,8 +3,7 @@ import IconWithBackground from './IconWithBackground';
|
|
3
3
|
import Text from '../Text';
|
4
4
|
import IconCamera from '../../icons/General/IconCamera';
|
5
5
|
import { uploadButtonStyles as styles } from './styles';
|
6
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
7
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
8
7
|
const UploadButton = ({
|
9
8
|
css,
|
10
9
|
addMore,
|
@@ -8,8 +8,7 @@ import Text from '../Text';
|
|
8
8
|
import IconWithBackground from './IconWithBackground';
|
9
9
|
import { styles } from './styles';
|
10
10
|
import UploadButton from './UploadButton';
|
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
|
const ImagePicker = ({
|
14
13
|
value = [],
|
15
14
|
onChange,
|
@@ -9,8 +9,7 @@ import IconClose from '../../icons/General/IconClose';
|
|
9
9
|
import { useEffect, useState } from 'react';
|
10
10
|
import { Key } from '../../enums/Keyboard';
|
11
11
|
import { VisuallyHidden } from 'react-aria';
|
12
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
13
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
14
13
|
const ImageViewer = ({
|
15
14
|
images,
|
16
15
|
initialImage = 0,
|
@@ -3,8 +3,7 @@ import React, { useState, useEffect, createRef } from 'react';
|
|
3
3
|
import { Tooltip, StyledButton, Wrapper, styles } from './styles';
|
4
4
|
import { CSSTransition } from 'react-transition-group';
|
5
5
|
import Text from '../Text';
|
6
|
-
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
7
|
-
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
8
7
|
const InfoButton = ({
|
9
8
|
trackingName,
|
10
9
|
icon,
|
@@ -22,6 +22,14 @@ export const Focused = {
|
|
22
22
|
},
|
23
23
|
name: 'Focused'
|
24
24
|
};
|
25
|
+
export const Stealth = {
|
26
|
+
args: {
|
27
|
+
type: 'stealth',
|
28
|
+
label: 'Stealth',
|
29
|
+
placeholder: 'Placeholder text'
|
30
|
+
},
|
31
|
+
name: 'Stealth'
|
32
|
+
};
|
25
33
|
export const Disabled = {
|
26
34
|
args: {
|
27
35
|
type: 'text',
|
@@ -44,7 +52,8 @@ export const Search = {
|
|
44
52
|
args: {
|
45
53
|
type: 'search',
|
46
54
|
highlight: true,
|
47
|
-
placeholder: 'Placeholder text'
|
55
|
+
placeholder: 'Placeholder text',
|
56
|
+
label: 'Label'
|
48
57
|
},
|
49
58
|
name: 'Search'
|
50
59
|
};
|
@@ -170,4 +179,14 @@ export const Controls = {
|
|
170
179
|
onFocus: action('on focus..')
|
171
180
|
},
|
172
181
|
name: 'Controls'
|
182
|
+
};
|
183
|
+
export const FormattedNumberOnly = {
|
184
|
+
args: {
|
185
|
+
type: 'text',
|
186
|
+
label: 'Label',
|
187
|
+
placeholder: 'Placeholder text',
|
188
|
+
variant: 'formattedNumber',
|
189
|
+
getFormattedNumber: value => console.log('FormattedNumberOnly', value)
|
190
|
+
},
|
191
|
+
name: 'FormattedNumberOnly'
|
173
192
|
};
|
package/esm/core/Input/index.js
CHANGED
@@ -8,8 +8,7 @@ import { getFormattedPrice } from '../../utils/format';
|
|
8
8
|
import IconErrorOutline from '../../icons/General/IconErrorOutline';
|
9
9
|
import InfoButton from '../InfoButton';
|
10
10
|
import IconHelp from '../../icons/General/IconHelp';
|
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
|
const Input = /*#__PURE__*/React.forwardRef(({
|
14
13
|
onDebounceChange,
|
15
14
|
debounceDelay,
|
@@ -19,6 +18,9 @@ const Input = /*#__PURE__*/React.forwardRef(({
|
|
19
18
|
infoPlacement = 'left',
|
20
19
|
className,
|
21
20
|
cardInput,
|
21
|
+
variant,
|
22
|
+
getFormattedNumber,
|
23
|
+
updateValueOnChange = false,
|
22
24
|
...props
|
23
25
|
}, ref) => {
|
24
26
|
const [value, setValueChanged] = useState(props.value ? props.value : '');
|
@@ -32,9 +34,17 @@ const Input = /*#__PURE__*/React.forwardRef(({
|
|
32
34
|
}
|
33
35
|
return val;
|
34
36
|
};
|
37
|
+
const handleNumberOnlyFormatting = val => {
|
38
|
+
const onlyNumbers = val.replace(/[^\d]/g, '');
|
39
|
+
const formatedNumbersWithSpace = onlyNumbers.replace(/\B(?=(\d{3})+(?!\d))/g, ' ');
|
40
|
+
getFormattedNumber && getFormattedNumber(onlyNumbers);
|
41
|
+
return formatedNumbersWithSpace;
|
42
|
+
};
|
35
43
|
const onInputChange = e => {
|
36
44
|
setInputDirty(true);
|
37
|
-
if (
|
45
|
+
if (variant === 'formattedNumber') {
|
46
|
+
setValueChanged(handleNumberOnlyFormatting(e.target.value));
|
47
|
+
} else if (props.format) {
|
38
48
|
setValueChanged(handleFormatting(e.target.value));
|
39
49
|
} else {
|
40
50
|
setValueChanged(e.target.value);
|
@@ -48,6 +58,11 @@ const Input = /*#__PURE__*/React.forwardRef(({
|
|
48
58
|
setValueChanged('');
|
49
59
|
}
|
50
60
|
}, [props.reset]);
|
61
|
+
useEffect(() => {
|
62
|
+
if (props.value && updateValueOnChange) {
|
63
|
+
setValueChanged(props.value);
|
64
|
+
}
|
65
|
+
}, [props.value]);
|
51
66
|
|
52
67
|
// Handle debounce
|
53
68
|
useEffect(() => {
|
@@ -68,30 +83,33 @@ const Input = /*#__PURE__*/React.forwardRef(({
|
|
68
83
|
children: [props.label && _jsx("span", {
|
69
84
|
css: info && styles.pr4,
|
70
85
|
children: props.label
|
71
|
-
}),
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
86
|
+
}), _jsxs("div", {
|
87
|
+
css: theme => [styles.inputWrapper(theme)],
|
88
|
+
children: [_jsx("input", {
|
89
|
+
id: props.id,
|
90
|
+
type: type === 'stealth' ? 'number' : type,
|
91
|
+
...(type !== 'password' && {
|
92
|
+
value
|
93
|
+
}),
|
94
|
+
placeholder: props.placeholder,
|
95
|
+
disabled: props.disabled,
|
96
|
+
autoFocus: props.focus,
|
97
|
+
onBlur: props.onBlur,
|
98
|
+
onFocus: props.onFocus,
|
99
|
+
onChange: onInputChange,
|
100
|
+
maxLength: maxlength,
|
101
|
+
ref: ref,
|
102
|
+
name: props.name,
|
103
|
+
"aria-describedby": props.invalidMessage ? 'input-error-message' : undefined,
|
104
|
+
css: theme => [type === 'text' && styles.text(theme), type === 'search' && styles.search(theme), type === 'password' && styles.password(theme), type === 'number' && styles.number(theme), type === 'stealth' && styles.stealth(theme), props.disabled && styles.disabled(theme), cardInput && styles.cardInput(theme)],
|
105
|
+
children: React.Children.map(props.children, child => {
|
106
|
+
if (!child) {
|
107
|
+
return null;
|
108
|
+
}
|
109
|
+
return child;
|
110
|
+
})
|
111
|
+
}), type === 'search' && _jsx(IconSearch, {})]
|
112
|
+
}), props.invalidMessage && _jsx(IconErrorOutline, {
|
95
113
|
size: "16px"
|
96
114
|
}), props.invalidMessage && _jsx("span", {
|
97
115
|
id: "input-error-message",
|