@bbl-digital/snorre 4.0.0-beta.3 → 4.0.0-beta.5
Sign up to get free protection for your applications and to get access to all the features.
- package/.prettierignore +0 -1
- package/dist/bundle.js +260 -865
- package/esm/app-shell/index.js +0 -3
- package/esm/app-shell/theme.js +3 -2
- package/esm/core/Alert/Alert.stories.js +43 -0
- package/esm/core/Alert/index.js +2 -3
- package/esm/core/Alert/styles.js +6 -7
- package/esm/core/AppLoader/AppLoader.stories.js +10 -0
- package/esm/core/AppLoader/index.js +0 -2
- package/esm/core/Autocomplete/Autocomplete.stories.js +327 -0
- package/esm/core/Autocomplete/hooks/useAutocomplete.js +14 -49
- package/esm/core/Autocomplete/hooks/useHandleDimentions.js +2 -3
- package/esm/core/Autocomplete/index.js +2 -3
- package/esm/core/Autocomplete/styles.js +0 -2
- package/esm/core/Banner/Banner.stories.js +68 -0
- package/esm/core/Banner/index.js +0 -2
- package/esm/core/Banner/styles.js +0 -2
- package/esm/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +94 -0
- package/esm/core/BarAndLineComposedChart/index.js +0 -2
- package/esm/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +80 -0
- package/esm/core/BarChartWithCustomizedEvent/index.js +0 -3
- package/esm/core/Box/Box.stories.js +89 -0
- package/esm/core/Box/index.js +0 -4
- package/esm/core/Box/styles.js +0 -6
- package/esm/core/BoxedTable/BoxedTable.stories.js +351 -0
- package/esm/core/BoxedTable/DraggableRow/index.js +0 -2
- package/esm/core/BoxedTable/DraggableRow/styles.js +0 -2
- package/esm/core/BoxedTable/HeaderCell/index.js +0 -4
- package/esm/core/BoxedTable/RowCell/index.js +0 -2
- package/esm/core/BoxedTable/RowCell/styles.js +0 -2
- package/esm/core/BoxedTable/TableHeader/index.js +0 -2
- package/esm/core/BoxedTable/TableHeader/styles.js +0 -2
- package/esm/core/BoxedTable/TableRow/index.js +0 -7
- package/esm/core/BoxedTable/TableRow/styles.js +0 -2
- package/esm/core/BoxedTable/index.js +2 -5
- package/esm/core/BoxedTable/styles.js +11 -34
- package/esm/core/Button/Button.stories.js +121 -0
- package/esm/core/Button/index.js +0 -4
- package/esm/core/Button/styles.js +0 -4
- package/esm/core/Calendar/Calendar.stories.js +39 -0
- package/esm/core/Calendar/CalendarEvent/index.js +0 -8
- package/esm/core/Calendar/CalendarEvent/styles.js +0 -2
- package/esm/core/Calendar/CalendarSmallEvent/index.js +0 -8
- package/esm/core/Calendar/CalendarSmallEvent/styles.js +0 -2
- package/esm/core/Calendar/index.js +0 -5
- package/esm/core/Calendar/styles.js +0 -2
- package/esm/core/Calendar/util.js +0 -2
- package/esm/core/Card/Card.stories.js +69 -0
- package/esm/core/Card/index.js +0 -3
- package/esm/core/Card/styles.js +0 -1
- package/esm/core/Checkbox/Checkbox.stories.js +43 -0
- package/esm/core/Checkbox/index.js +0 -4
- package/esm/core/Checkbox/styles.js +0 -3
- package/esm/core/CollapseList/CollapseList.stories.js +43 -0
- package/esm/core/CollapseList/Item.js +0 -4
- package/esm/core/CollapseList/index.js +0 -2
- package/esm/core/CollapseList/styles.js +0 -2
- package/esm/core/CommentsTimeline/CommentLine/index.js +0 -2
- package/esm/core/CommentsTimeline/CommentLine/styles.js +0 -2
- package/esm/core/CommentsTimeline/CommentsTimeline.stories.js +79 -0
- package/esm/core/CommentsTimeline/index.js +0 -2
- package/esm/core/CommentsTimeline/styles.js +0 -2
- package/esm/core/CustomText/CustomText.stories.js +33 -0
- package/esm/core/CustomText/index.js +0 -6
- package/esm/core/CustomText/styles.js +0 -2
- package/esm/core/Datepicker/Datepicker.stories.js +58 -0
- package/esm/core/Datepicker/index.js +0 -20
- package/esm/core/Datepicker/styles.js +0 -2
- package/esm/core/DatepickerRange/DatepickerRange.stories.js +21 -0
- package/esm/core/DatepickerRange/index.js +17 -5
- package/esm/core/DatepickerRange/styles.js +0 -2
- package/esm/core/Divider/index.js +1 -2
- package/esm/core/Divider/styles.js +0 -1
- package/esm/core/Dropdown/Dropdown.stories.js +53 -0
- package/esm/core/Dropdown/index.js +0 -8
- package/esm/core/DropdownMenu/DropdownMenu.stories.js +47 -0
- package/esm/core/DropdownMenu/DropdownMenuOption.js +0 -2
- package/esm/core/DropdownMenu/index.js +0 -4
- package/esm/core/DropdownMenu/styles.js +0 -2
- package/esm/core/Editor/Editor.stories.js +54 -0
- package/esm/core/Editor/index.js +2 -6
- package/esm/core/Editor/styles.js +0 -2
- package/esm/core/FileInput/FileInput.stories.js +61 -0
- package/esm/core/FileInput/index.js +2 -12
- package/esm/core/FileInput/styles.js +0 -2
- package/esm/core/GoogleButton/GoogleButton.stories.js +12 -0
- package/esm/core/GoogleButton/index.js +0 -3
- package/esm/core/GoogleButton/styles.js +0 -2
- package/esm/core/Header/Header.stories.js +65 -0
- package/esm/core/Header/index.js +0 -2
- package/esm/core/HighlightText/HighlightText.stories.js +22 -0
- package/esm/core/HighlightText/index.js +0 -2
- package/esm/core/HighlightText/styles.js +0 -2
- package/esm/core/Html/Html.stories.js +43 -0
- package/esm/core/Html/index.js +0 -2
- package/esm/core/Html/styles.js +0 -1
- package/esm/core/Image/Image.stories.js +26 -0
- package/esm/core/Image/index.js +1 -2
- package/esm/core/Image/styles.js +0 -1
- package/esm/core/ImageCarousel/index.js +70 -0
- package/esm/core/ImageCarousel/styles.js +58 -0
- package/esm/core/ImagePicker/IconWithBackground.js +0 -2
- package/esm/core/ImagePicker/ImagePicker.stories.js +28 -0
- package/esm/core/ImagePicker/UploadButton.js +0 -2
- package/esm/core/ImagePicker/index.js +2 -5
- package/esm/core/ImagePicker/styles.js +0 -1
- package/esm/core/InfoButton/InfoButton.stories.js +57 -0
- package/esm/core/InfoButton/index.js +2 -9
- package/esm/core/InfoButton/styles.js +13 -15
- package/esm/core/Input/Input.stories.js +121 -0
- package/esm/core/Input/index.js +4 -10
- package/esm/core/Input/styles.js +0 -1
- package/esm/core/Link/Link.stories.js +75 -0
- package/esm/core/Link/index.js +2 -3
- package/esm/core/Link/styles.js +0 -2
- package/esm/core/List/Item.js +0 -3
- package/esm/core/List/List.stories.js +157 -0
- package/esm/core/List/index.js +0 -3
- package/esm/core/List/styles.js +0 -4
- package/esm/core/ListPager/ListPager.stories.js +16 -0
- package/esm/core/ListPager/index.js +0 -8
- package/esm/core/ListPager/styles.js +0 -2
- package/esm/core/Modal/ActionButtons/index.js +0 -3
- package/esm/core/Modal/Modal.stories.js +117 -0
- package/esm/core/Modal/index.js +1 -12
- package/esm/core/Modal/styles.js +0 -4
- package/esm/core/NoticeCard/NoticeCard.stories.js +61 -0
- package/esm/core/NoticeCard/index.js +0 -4
- package/esm/core/NoticeCard/models.js +0 -1
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +1 -3
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +0 -2
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +0 -2
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +0 -2
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +0 -2
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +0 -2
- package/esm/core/NoticeCard/styles.js +0 -2
- package/esm/core/NoticeCard/utils.js +0 -3
- package/esm/core/NotificationCounter/NotificationCounter.stories.js +19 -0
- package/esm/core/NotificationCounter/index.js +1 -2
- package/esm/core/NotificationCounter/styles.js +0 -4
- package/esm/core/NotificationsMenu/NotificationBell/index.js +0 -2
- package/esm/core/NotificationsMenu/NotificationRow/index.js +0 -2
- package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +33 -0
- package/esm/core/NotificationsMenu/index.js +0 -8
- package/esm/core/NotificationsMenu/styles.js +0 -2
- package/esm/core/PieChart/ActiveShape/index.js +1 -3
- package/esm/core/PieChart/PieChart.stories.js +81 -0
- package/esm/core/PieChart/index.js +6 -7
- package/esm/core/PieChart/renderTextContent/index.js +1 -3
- package/esm/core/PieChart/styles.js +0 -2
- package/esm/core/PreemptionCard/PreemptionCard.stories.js +68 -0
- package/esm/core/PreemptionCard/index.js +0 -5
- package/esm/core/PreemptionCard/models.js +0 -1
- package/esm/core/PreemptionCard/styles.js +0 -2
- package/esm/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +15 -0
- package/esm/core/PreemptionCardLoading/index.js +0 -2
- package/esm/core/PreemptionCardLoading/styles.js +0 -2
- package/esm/core/Radio/Radio.stories.js +66 -0
- package/esm/core/Radio/index.js +0 -2
- package/esm/core/Radio/styles.js +0 -1
- package/esm/core/SearchFilter/SearchFilter.stories.js +113 -0
- package/esm/core/SearchFilter/index.js +2 -10
- package/esm/core/SearchFilter/styles.js +0 -4
- package/esm/core/SearchSelect/SearchSelect.stories.js +52 -0
- package/esm/core/SearchSelect/hooks/useSelectSearch.js +2 -3
- package/esm/core/SearchSelect/index.js +4 -12
- package/esm/core/SearchSelect/styles.js +0 -2
- package/esm/core/Select/Option.js +2 -4
- package/esm/core/Select/Select.stories.js +246 -0
- package/esm/core/Select/index.js +21 -20
- package/esm/core/Select/styles.js +36 -33
- package/esm/core/SimpleBarChart/SimpleBarChart.stories.js +174 -0
- package/esm/core/SimpleBarChart/index.js +0 -3
- package/esm/core/SimpleLineChart/SimpleLineChart.stories.js +53 -0
- package/esm/core/SimpleLineChart/index.js +0 -2
- package/esm/core/Skeleton/Skeleton.stories.js +46 -0
- package/esm/core/Skeleton/index.js +0 -4
- package/esm/core/Skeleton/styles.js +0 -2
- package/esm/core/Spinner/Spinner.stories.js +30 -0
- package/esm/core/Spinner/index.js +0 -2
- package/esm/core/TabBar/TabBar.stories.js +38 -0
- package/esm/core/TabBar/TabItem/index.js +0 -2
- package/esm/core/TabBar/TabItem/styles.js +0 -2
- package/esm/core/TabBar/index.js +0 -2
- package/esm/core/TabBar/styles.js +0 -2
- package/esm/core/TabNav/TabContext.js +8 -5
- package/esm/core/TabNav/TabNav.stories.js +306 -0
- package/esm/core/TabNav/TabNavItem/index.js +2 -6
- package/esm/core/TabNav/TabNavItem/styles.js +0 -2
- package/esm/core/TabNav/index.js +11 -14
- package/esm/core/TabNav/styles.js +0 -2
- package/esm/core/TabNav/utils/useContainerDimensions.js +0 -1
- package/esm/core/Table/Cell.js +2 -3
- package/esm/core/Table/Row.js +2 -3
- package/esm/core/Table/Table.stories.js +83 -0
- package/esm/core/Table/index.js +4 -4
- package/esm/core/Table/styles.js +0 -2
- package/esm/core/Tag/Tag.stories.js +112 -0
- package/esm/core/Tag/index.js +0 -2
- package/esm/core/Tag/styles.js +0 -1
- package/esm/core/Text/Text.stories.js +103 -0
- package/esm/core/Text/index.js +0 -2
- package/esm/core/Text/styles.js +0 -1
- package/esm/core/Textarea/Textarea.stories.js +33 -0
- package/esm/core/Textarea/index.js +0 -5
- package/esm/core/Textarea/styles.js +0 -2
- package/esm/core/Timeline/Timeline.stories.js +25 -0
- package/esm/core/Timeline/TimelineStep/index.js +0 -2
- package/esm/core/Timeline/TimelineStep/styles.js +0 -2
- package/esm/core/Timeline/index.js +0 -2
- package/esm/core/Timeline/styles.js +0 -2
- package/esm/core/Timepicker/Timepicker.stories.js +77 -0
- package/esm/core/Timepicker/index.js +7 -16
- package/esm/core/Timepicker/styles.js +0 -2
- package/esm/core/Tooltip/Tooptip.stories.js +14 -0
- package/esm/core/Tooltip/index.js +0 -3
- package/esm/core/Tooltip/styles.js +0 -1
- package/esm/core/UnitIllustration/index.js +1 -9
- package/esm/core/UserMenu/UserMenu.stories.js +91 -0
- package/esm/core/UserMenu/UserMenuOption.js +0 -2
- package/esm/core/UserMenu/index.js +0 -8
- package/esm/core/UserMenu/styles.js +0 -2
- package/esm/core/YearWheel/YearWheel.stories.js +20 -0
- package/esm/core/YearWheel/index.js +0 -2
- package/esm/core/YearWheel/styles.js +0 -2
- package/esm/core/private/ButtonOrLink.js +8 -13
- package/esm/core/private/preemption.js +0 -4
- package/esm/core/utils/debounce.js +0 -2
- package/esm/enums/Keyboard.js +1 -1
- package/esm/enums/ModifierKey.js +13 -0
- package/esm/globals/styles/styles.js +0 -1
- package/esm/hooks/useIsMobile.js +0 -2
- package/esm/hooks/useScreenOrientation.js +0 -10
- package/esm/icons/General/IconApartment.js +0 -2
- package/esm/icons/General/IconArchives.js +0 -2
- package/esm/icons/General/IconArea.js +0 -2
- package/esm/icons/General/IconArrowDown.js +0 -2
- package/esm/icons/General/IconArrowLeft.js +0 -2
- package/esm/icons/General/IconArrowRight.js +0 -2
- package/esm/icons/General/IconArrowUp.js +0 -2
- package/esm/icons/General/IconAttachment.js +0 -2
- package/esm/icons/General/IconAuditorFilled.js +0 -2
- package/esm/icons/General/IconAuditorOutline.js +0 -2
- package/esm/icons/General/IconBack.js +0 -2
- package/esm/icons/General/IconBath.js +0 -2
- package/esm/icons/General/IconBblFlame.js +2 -3
- package/esm/icons/General/IconBblShield.js +2 -3
- package/esm/icons/General/IconBblWater.js +2 -3
- package/esm/icons/General/IconBellOutline.js +0 -2
- package/esm/icons/General/IconBlock.js +0 -2
- package/esm/icons/General/IconBoard.js +0 -2
- package/esm/icons/General/IconBookmarkFilled.js +0 -2
- package/esm/icons/General/IconBookmarkOutline.js +0 -2
- package/esm/icons/General/IconBus.js +0 -2
- package/esm/icons/General/IconCalendar.js +0 -2
- package/esm/icons/General/IconCamera.js +0 -2
- package/esm/icons/General/IconCar.js +0 -2
- package/esm/icons/General/IconCaretDown.js +0 -2
- package/esm/icons/General/IconCaretLeft.js +0 -2
- package/esm/icons/General/IconCaretRight.js +0 -2
- package/esm/icons/General/IconCaretUp.js +0 -2
- package/esm/icons/General/IconCases.js +0 -2
- package/esm/icons/General/IconCheck.js +0 -2
- package/esm/icons/General/IconCheckedFilled.js +0 -2
- package/esm/icons/General/IconCheckedOutline.js +0 -2
- package/esm/icons/General/IconChevronDown.js +0 -2
- package/esm/icons/General/IconChevronLeft.js +0 -2
- package/esm/icons/General/IconChevronRight.js +0 -2
- package/esm/icons/General/IconChoice.js +0 -2
- package/esm/icons/General/IconClose.js +0 -2
- package/esm/icons/General/IconCloseAlt.js +0 -2
- package/esm/icons/General/IconComment.js +0 -2
- package/esm/icons/General/IconCommunication.js +0 -2
- package/esm/icons/General/IconCommunicationFilled.js +0 -2
- package/esm/icons/General/IconCompanyBuilding.js +0 -2
- package/esm/icons/General/IconCompanyBuildingFilled.js +0 -2
- package/esm/icons/General/IconCompanyBuildingOutline.js +0 -2
- package/esm/icons/General/IconDashboard.js +0 -2
- package/esm/icons/General/IconDashboardFilled.js +0 -2
- package/esm/icons/General/IconDelete.js +0 -2
- package/esm/icons/General/IconDocument.js +0 -2
- package/esm/icons/General/IconDocumentFilled.js +0 -2
- package/esm/icons/General/IconDoor.js +0 -2
- package/esm/icons/General/IconDotFilled.js +0 -2
- package/esm/icons/General/IconDotOutline.js +0 -2
- package/esm/icons/General/IconDownload.js +0 -2
- package/esm/icons/General/IconDraft.js +0 -2
- package/esm/icons/General/IconEarth.js +0 -2
- package/esm/icons/General/IconEconomy.js +0 -2
- package/esm/icons/General/IconEconomyFilled.js +0 -2
- package/esm/icons/General/IconEdit.js +0 -2
- package/esm/icons/General/IconElevator.js +0 -2
- package/esm/icons/General/IconErrorFilled.js +0 -2
- package/esm/icons/General/IconErrorOutline.js +0 -2
- package/esm/icons/General/IconExternalLink.js +0 -2
- package/esm/icons/General/IconEye.js +0 -2
- package/esm/icons/General/IconEyeDeny.js +0 -2
- package/esm/icons/General/IconFamily.js +0 -2
- package/esm/icons/General/IconFerry.js +0 -2
- package/esm/icons/General/IconFile.js +0 -2
- package/esm/icons/General/IconFileAdd.js +0 -2
- package/esm/icons/General/IconFileCopy.js +0 -2
- package/esm/icons/General/IconFileEdit.js +0 -2
- package/esm/icons/General/IconFileExcel.js +0 -2
- package/esm/icons/General/IconFilePDF.js +0 -2
- package/esm/icons/General/IconFileWord.js +0 -2
- package/esm/icons/General/IconFillOut.js +0 -2
- package/esm/icons/General/IconFilterList.js +0 -2
- package/esm/icons/General/IconFloor.js +0 -2
- package/esm/icons/General/IconForward.js +0 -2
- package/esm/icons/General/IconFullscreenClose.js +0 -2
- package/esm/icons/General/IconFullscreenOpen.js +0 -2
- package/esm/icons/General/IconGarage.js +0 -2
- package/esm/icons/General/IconGrid.js +0 -2
- package/esm/icons/General/IconGym.js +0 -2
- package/esm/icons/General/IconHearth.js +0 -2
- package/esm/icons/General/IconHearthOutline.js +0 -2
- package/esm/icons/General/IconHelp.js +0 -2
- package/esm/icons/General/IconHistory.js +0 -2
- package/esm/icons/General/IconHomeFilled.js +0 -2
- package/esm/icons/General/IconHomeOutline.js +0 -2
- package/esm/icons/General/IconHouse.js +0 -2
- package/esm/icons/General/IconHouseBlockFilled.js +0 -2
- package/esm/icons/General/IconHouseBlockOutline.js +0 -2
- package/esm/icons/General/IconHouseOutline.js +0 -2
- package/esm/icons/General/IconHumans.js +0 -2
- package/esm/icons/General/IconImage.js +0 -2
- package/esm/icons/General/IconImportantComment.js +0 -2
- package/esm/icons/General/IconInbox.js +0 -2
- package/esm/icons/General/IconInfoFilled.js +0 -2
- package/esm/icons/General/IconInfoOutline.js +0 -2
- package/esm/icons/General/IconJanitorFilled.js +0 -2
- package/esm/icons/General/IconJanitorOutline.js +0 -2
- package/esm/icons/General/IconJointcost.js +0 -2
- package/esm/icons/General/IconJointcost2.js +0 -2
- package/esm/icons/General/IconKey.js +0 -2
- package/esm/icons/General/IconKitchen.js +0 -2
- package/esm/icons/General/IconLabel.js +0 -2
- package/esm/icons/General/IconLeafFilled.js +0 -2
- package/esm/icons/General/IconLeafOutline.js +0 -2
- package/esm/icons/General/IconLeisureTime.js +0 -2
- package/esm/icons/General/IconLock.js +0 -2
- package/esm/icons/General/IconLockLocked.js +0 -2
- package/esm/icons/General/IconLockOpen.js +0 -2
- package/esm/icons/General/IconLookup.js +0 -2
- package/esm/icons/General/IconLookupFilled.js +0 -2
- package/esm/icons/General/IconMail.js +0 -2
- package/esm/icons/General/IconMap.js +0 -2
- package/esm/icons/General/IconMembership.js +0 -2
- package/esm/icons/General/IconMembershipFilled.js +0 -2
- package/esm/icons/General/IconMenu.js +0 -2
- package/esm/icons/General/IconMinus.js +0 -2
- package/esm/icons/General/IconMinusAlt.js +0 -2
- package/esm/icons/General/IconMinusAltFilled.js +0 -2
- package/esm/icons/General/IconMoney.js +0 -2
- package/esm/icons/General/IconParking.js +0 -2
- package/esm/icons/General/IconPaymentCard.js +0 -2
- package/esm/icons/General/IconPhone.js +0 -2
- package/esm/icons/General/IconPinned.js +0 -2
- package/esm/icons/General/IconPlus.js +0 -2
- package/esm/icons/General/IconPlusAlt.js +0 -2
- package/esm/icons/General/IconPortalUser.js +0 -2
- package/esm/icons/General/IconPrint.js +0 -2
- package/esm/icons/General/IconProfile.js +0 -2
- package/esm/icons/General/IconProfileFilled.js +0 -2
- package/esm/icons/General/IconRearrange.js +0 -2
- package/esm/icons/General/IconReciept.js +0 -2
- package/esm/icons/General/IconRedo.js +0 -2
- package/esm/icons/General/IconRefresh.js +0 -2
- package/esm/icons/General/IconReply.js +0 -2
- package/esm/icons/General/IconReplyAll.js +0 -2
- package/esm/icons/General/IconRoom.js +0 -2
- package/esm/icons/General/IconSave.js +0 -2
- package/esm/icons/General/IconSearch.js +0 -2
- package/esm/icons/General/IconSend.js +0 -2
- package/esm/icons/General/IconSettings.js +0 -2
- package/esm/icons/General/IconShopping.js +0 -2
- package/esm/icons/General/IconSign.js +0 -2
- package/esm/icons/General/IconSliders.js +0 -2
- package/esm/icons/General/IconSort.js +0 -2
- package/esm/icons/General/IconStarFilled.js +0 -2
- package/esm/icons/General/IconStarHalf.js +0 -2
- package/esm/icons/General/IconStarOutline.js +0 -2
- package/esm/icons/General/IconStore.js +0 -2
- package/esm/icons/General/IconSubway.js +0 -2
- package/esm/icons/General/IconSwitch.js +0 -2
- package/esm/icons/General/IconTrain.js +0 -2
- package/esm/icons/General/IconTram.js +0 -2
- package/esm/icons/General/IconTransport.js +0 -2
- package/esm/icons/General/IconTypeOfBuilding.js +0 -2
- package/esm/icons/General/IconTypeOfBuildingOutline.js +0 -2
- package/esm/icons/General/IconUndo.js +0 -2
- package/esm/icons/General/IconUpload.js +0 -2
- package/esm/icons/General/IconUser.js +0 -2
- package/esm/icons/General/IconUserThin.js +0 -2
- package/esm/icons/General/IconVote.js +0 -2
- package/esm/icons/General/IconWalk.js +0 -2
- package/esm/icons/General/IconWarning.js +0 -2
- package/esm/icons/General/IconWarningBell.js +0 -2
- package/esm/icons/General/IconWork.js +0 -2
- package/esm/icons/General/IconWorkFilled.js +0 -2
- package/esm/icons/General/IconZip.js +0 -2
- package/esm/icons/Icon.stories.js +281 -0
- package/esm/icons/Logos/IconAmericanExpress.js +0 -2
- package/esm/icons/Logos/IconBankAxept.js +0 -2
- package/esm/icons/Logos/IconGmail.js +0 -2
- package/esm/icons/Logos/IconMasterCard.js +0 -2
- package/esm/icons/Logos/IconOffice365.js +0 -2
- package/esm/icons/Logos/IconVisa.js +0 -2
- package/esm/icons/withIcon.js +2 -3
- package/esm/illustrations/Backgrounds/IllustrationHousesBackground.js +0 -2
- package/esm/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +0 -2
- package/esm/illustrations/General/IllustrationError.js +0 -2
- package/esm/illustrations/General/IllustrationErrorGeneric.js +0 -2
- package/esm/illustrations/General/IllustrationHighHouse.js +0 -2
- package/esm/illustrations/General/IllustrationHighHouseComposition.js +0 -2
- package/esm/illustrations/General/IllustrationHouse.js +0 -2
- package/esm/illustrations/General/IllustrationHouseComposition.js +0 -2
- package/esm/illustrations/General/IllustrationHouseMissing.js +0 -2
- package/esm/illustrations/General/IllustrationLowHouse.js +0 -2
- package/esm/illustrations/General/IllustrationLowHouseComposition.js +0 -2
- package/esm/illustrations/General/IllustrationPaperCompleted.js +0 -2
- package/esm/illustrations/General/IllustrationPaperMissing.js +0 -2
- package/esm/illustrations/General/IllustrationSemiDetachedHouse.js +0 -2
- package/esm/illustrations/General/IllustrationSemiDetachedHouseComposition.js +0 -2
- package/esm/illustrations/General/IllustrationSmallHouse.js +0 -2
- package/esm/illustrations/General/IllustrationSmallHouseComposition.js +0 -2
- package/esm/illustrations/General/IllustrationTerraceBlock.js +0 -2
- package/esm/illustrations/General/IllustrationTerraceBlockComposition.js +0 -2
- package/esm/illustrations/General/IllustrationTownHouse.js +0 -2
- package/esm/illustrations/General/IllustrationTownHouseComposition.js +0 -2
- package/esm/illustrations/Illustration.stories.js +173 -0
- package/esm/illustrations/MySite/IllustrationMySiteAssociation.js +0 -2
- package/esm/illustrations/MySite/IllustrationMySiteBuilding.js +0 -2
- package/esm/illustrations/MySite/IllustrationMySiteCoffeeBook.js +0 -2
- package/esm/illustrations/MySite/IllustrationMySiteComputer.js +0 -2
- package/esm/illustrations/MySite/IllustrationMySiteCooperative.js +0 -2
- package/esm/illustrations/MySite/IllustrationMySiteDashboard.js +0 -2
- package/esm/illustrations/MySite/IllustrationMySiteGift.js +0 -2
- package/esm/illustrations/MySite/IllustrationMySiteMailbox.js +0 -2
- package/esm/illustrations/MySite/IllustrationMySitePapers.js +0 -2
- package/esm/illustrations/MySite/IllustrationMySitePiggyBank.js +0 -2
- package/esm/illustrations/MySite/IllustrationMySiteTransfer.js +0 -2
- package/esm/illustrations/styles.js +0 -1
- package/esm/illustrations/withIllustration.js +2 -4
- package/esm/layout/Footer/Footer.stories.js +62 -0
- package/esm/layout/Footer/FooterButton/index.js +2 -3
- package/esm/layout/Footer/FooterButton/styles.js +0 -2
- package/esm/layout/Footer/FooterCol/index.js +0 -2
- package/esm/layout/Footer/FooterCol/styles.js +0 -2
- package/esm/layout/Footer/FooterGroup/index.js +0 -2
- package/esm/layout/Footer/FooterGroup/styles.js +0 -2
- package/esm/layout/Footer/FooterLabel/index.js +0 -2
- package/esm/layout/Footer/FooterLabel/styles.js +0 -2
- package/esm/layout/Footer/FooterLink/index.js +2 -3
- package/esm/layout/Footer/FooterLink/styles.js +0 -2
- package/esm/layout/Footer/index.js +0 -2
- package/esm/layout/Layout/Layout.stories.js +14 -0
- package/esm/layout/Layout/index.js +0 -2
- package/esm/layout/LayoutShell/LayoutShell.stories.js +116 -0
- package/esm/layout/LayoutShell/index.js +0 -2
- package/esm/layout/LayoutShell/styles.js +0 -2
- package/esm/layout/Menu/AppPicker/index.js +3 -3
- package/esm/layout/Menu/AppPicker/styles.js +0 -9
- package/esm/layout/Menu/MainMenu/index.js +0 -2
- package/esm/layout/Menu/MenuItem/index.js +0 -2
- package/esm/layout/Menu/MenuSpacer/index.js +0 -2
- package/esm/layout/Menu/MenuTop/index.js +0 -2
- package/esm/layout/Menu/MenuTop/styles.js +0 -2
- package/esm/layout/Menu/SecondaryMenu/index.js +0 -2
- package/esm/layout/Menu/SecondaryMenuItem/index.js +0 -2
- package/esm/layout/Menu/Sidemenu.stories.js +323 -0
- package/esm/layout/Menu/index.js +0 -2
- package/esm/layout/Submenu/Submenu.stories.js +94 -0
- package/esm/layout/Submenu/SubmenuItem/index.js +0 -7
- package/esm/layout/Submenu/SubmenuItem/styles.js +0 -5
- package/esm/layout/Submenu/SubmenuLightThemeBg/index.js +0 -2
- package/esm/layout/Submenu/index.js +0 -11
- package/esm/layout/Submenu/styles.js +0 -2
- package/esm/layout/Topbar/Topbar.stories.js +23 -0
- package/esm/layout/Topbar/index.js +0 -2
- package/esm/shared/components/SbIconGrid/index.js +26 -0
- package/esm/shared/recharts/CustomLegend/styles.js +0 -2
- package/esm/shared/recharts/CustomTooltip/index.js +0 -11
- package/esm/shared/recharts/CustomTooltip/styles.js +0 -2
- package/esm/shared/types/LoadedType.js +1 -0
- package/esm/utils/accountNumber.js +1 -7
- package/esm/utils/alpha.js +0 -1
- package/esm/utils/array.js +1 -3
- package/esm/utils/dates.js +0 -10
- package/esm/utils/file.js +1 -0
- package/esm/utils/format.js +3 -21
- package/esm/utils/formatGraphPrice.js +0 -15
- package/esm/utils/image.js +0 -3
- package/esm/utils/pagination.js +0 -5
- package/esm/utils/phone.js +8 -13
- package/esm/utils/time.js +4 -14
- package/esm/utils/url.js +0 -2
- package/esm/utils/useSnorreTheme.js +0 -3
- package/infrastructure/azure-pipelines.yml +2 -2
- package/lib/app-shell/index.js +0 -3
- package/lib/app-shell/theme.d.ts +93 -1
- package/lib/app-shell/theme.d.ts.map +1 -1
- package/lib/app-shell/theme.js +3 -2
- package/lib/core/Alert/Alert.stories.d.ts +23 -0
- package/lib/core/Alert/Alert.stories.d.ts.map +1 -0
- package/lib/core/Alert/Alert.stories.js +43 -0
- package/lib/core/Alert/index.d.ts +1 -1
- package/lib/core/Alert/index.d.ts.map +1 -1
- package/lib/core/Alert/index.js +2 -3
- package/lib/core/Alert/styles.d.ts +1 -1
- package/lib/core/Alert/styles.d.ts.map +1 -1
- package/lib/core/Alert/styles.js +6 -7
- package/lib/core/AppLoader/AppLoader.stories.d.ts +7 -0
- package/lib/core/AppLoader/AppLoader.stories.d.ts.map +1 -0
- package/lib/core/AppLoader/AppLoader.stories.js +10 -0
- package/lib/core/AppLoader/index.js +0 -2
- package/lib/core/Autocomplete/Autocomplete.stories.d.ts +71 -0
- package/lib/core/Autocomplete/Autocomplete.stories.d.ts.map +1 -0
- package/lib/core/Autocomplete/Autocomplete.stories.js +327 -0
- package/lib/core/Autocomplete/hooks/useAutocomplete.js +14 -49
- package/lib/core/Autocomplete/hooks/useHandleDimentions.js +2 -3
- package/lib/core/Autocomplete/index.js +2 -3
- package/lib/core/Autocomplete/styles.js +0 -2
- package/lib/core/Banner/Banner.stories.d.ts +23 -0
- package/lib/core/Banner/Banner.stories.d.ts.map +1 -0
- package/lib/core/Banner/Banner.stories.js +68 -0
- package/lib/core/Banner/index.js +0 -2
- package/lib/core/Banner/styles.js +0 -2
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +8 -0
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts.map +1 -0
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +94 -0
- package/lib/core/BarAndLineComposedChart/index.js +0 -2
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +14 -0
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts.map +1 -0
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +80 -0
- package/lib/core/BarChartWithCustomizedEvent/index.js +0 -3
- package/lib/core/Box/Box.stories.d.ts +39 -0
- package/lib/core/Box/Box.stories.d.ts.map +1 -0
- package/lib/core/Box/Box.stories.js +89 -0
- package/lib/core/Box/index.js +0 -4
- package/lib/core/Box/styles.js +0 -6
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts +35 -0
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts.map +1 -0
- package/lib/core/BoxedTable/BoxedTable.stories.js +351 -0
- package/lib/core/BoxedTable/DraggableRow/index.js +0 -2
- package/lib/core/BoxedTable/DraggableRow/styles.js +0 -2
- package/lib/core/BoxedTable/HeaderCell/index.js +0 -4
- package/lib/core/BoxedTable/RowCell/index.js +0 -2
- package/lib/core/BoxedTable/RowCell/styles.js +0 -2
- package/lib/core/BoxedTable/TableHeader/index.js +0 -2
- package/lib/core/BoxedTable/TableHeader/styles.js +0 -2
- package/lib/core/BoxedTable/TableRow/index.js +0 -7
- package/lib/core/BoxedTable/TableRow/styles.js +0 -2
- package/lib/core/BoxedTable/index.d.ts.map +1 -1
- package/lib/core/BoxedTable/index.js +2 -5
- package/lib/core/BoxedTable/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/styles.js +11 -34
- package/lib/core/Button/Button.stories.d.ts +63 -0
- package/lib/core/Button/Button.stories.d.ts.map +1 -0
- package/lib/core/Button/Button.stories.js +121 -0
- package/lib/core/Button/index.js +0 -4
- package/lib/core/Button/styles.js +0 -4
- package/lib/core/Calendar/Calendar.stories.d.ts +15 -0
- package/lib/core/Calendar/Calendar.stories.d.ts.map +1 -0
- package/lib/core/Calendar/Calendar.stories.js +39 -0
- package/lib/core/Calendar/CalendarEvent/index.js +0 -8
- package/lib/core/Calendar/CalendarEvent/styles.js +0 -2
- package/lib/core/Calendar/CalendarSmallEvent/index.js +0 -8
- package/lib/core/Calendar/CalendarSmallEvent/styles.js +0 -2
- package/lib/core/Calendar/index.js +0 -5
- package/lib/core/Calendar/styles.js +0 -2
- package/lib/core/Calendar/util.js +0 -2
- package/lib/core/Card/Card.stories.d.ts +49 -0
- package/lib/core/Card/Card.stories.d.ts.map +1 -0
- package/lib/core/Card/Card.stories.js +69 -0
- package/lib/core/Card/index.js +0 -3
- package/lib/core/Card/styles.js +0 -1
- package/lib/core/Checkbox/Checkbox.stories.d.ts +23 -0
- package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/lib/core/Checkbox/Checkbox.stories.js +43 -0
- package/lib/core/Checkbox/index.js +0 -4
- package/lib/core/Checkbox/styles.js +0 -3
- package/lib/core/CollapseList/CollapseList.stories.d.ts +11 -0
- package/lib/core/CollapseList/CollapseList.stories.d.ts.map +1 -0
- package/lib/core/CollapseList/CollapseList.stories.js +43 -0
- package/lib/core/CollapseList/Item.js +0 -4
- package/lib/core/CollapseList/index.js +0 -2
- package/lib/core/CollapseList/styles.js +0 -2
- package/lib/core/CommentsTimeline/CommentLine/index.js +0 -2
- package/lib/core/CommentsTimeline/CommentLine/styles.js +0 -2
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +11 -0
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts.map +1 -0
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.js +79 -0
- package/lib/core/CommentsTimeline/index.js +0 -2
- package/lib/core/CommentsTimeline/styles.js +0 -2
- package/lib/core/CustomText/CustomText.stories.d.ts +19 -0
- package/lib/core/CustomText/CustomText.stories.d.ts.map +1 -0
- package/lib/core/CustomText/CustomText.stories.js +33 -0
- package/lib/core/CustomText/index.js +0 -6
- package/lib/core/CustomText/styles.js +0 -2
- package/lib/core/Datepicker/Datepicker.stories.d.ts +27 -0
- package/lib/core/Datepicker/Datepicker.stories.d.ts.map +1 -0
- package/lib/core/Datepicker/Datepicker.stories.js +58 -0
- package/lib/core/Datepicker/index.js +0 -20
- package/lib/core/Datepicker/styles.js +0 -2
- package/lib/core/Datepicker/yearMonthForm.d.ts.map +1 -1
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +7 -0
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts.map +1 -0
- package/lib/core/DatepickerRange/DatepickerRange.stories.js +21 -0
- package/lib/core/DatepickerRange/index.js +17 -5
- package/lib/core/DatepickerRange/styles.js +0 -2
- package/lib/core/Divider/index.js +1 -2
- package/lib/core/Divider/styles.js +0 -1
- package/lib/core/Dropdown/Dropdown.stories.d.ts +23 -0
- package/lib/core/Dropdown/Dropdown.stories.d.ts.map +1 -0
- package/lib/core/Dropdown/Dropdown.stories.js +53 -0
- package/lib/core/Dropdown/index.js +0 -8
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +15 -0
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -0
- package/lib/core/DropdownMenu/DropdownMenu.stories.js +47 -0
- package/lib/core/DropdownMenu/DropdownMenuOption.js +0 -2
- package/lib/core/DropdownMenu/index.js +0 -4
- package/lib/core/DropdownMenu/styles.js +0 -2
- package/lib/core/Editor/Editor.stories.d.ts +23 -0
- package/lib/core/Editor/Editor.stories.d.ts.map +1 -0
- package/lib/core/Editor/Editor.stories.js +54 -0
- package/lib/core/Editor/index.js +2 -6
- package/lib/core/Editor/styles.js +0 -2
- package/lib/core/FileInput/FileInput.stories.d.ts +31 -0
- package/lib/core/FileInput/FileInput.stories.d.ts.map +1 -0
- package/lib/core/FileInput/FileInput.stories.js +61 -0
- package/lib/core/FileInput/index.js +2 -12
- package/lib/core/FileInput/styles.js +0 -2
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts +7 -0
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts.map +1 -0
- package/lib/core/GoogleButton/GoogleButton.stories.js +12 -0
- package/lib/core/GoogleButton/index.js +0 -3
- package/lib/core/GoogleButton/styles.js +0 -2
- package/lib/core/Header/Header.stories.d.ts +35 -0
- package/lib/core/Header/Header.stories.d.ts.map +1 -0
- package/lib/core/Header/Header.stories.js +65 -0
- package/lib/core/Header/index.js +0 -2
- package/lib/core/HighlightText/HighlightText.stories.d.ts +11 -0
- package/lib/core/HighlightText/HighlightText.stories.d.ts.map +1 -0
- package/lib/core/HighlightText/HighlightText.stories.js +22 -0
- package/lib/core/HighlightText/index.js +0 -2
- package/lib/core/HighlightText/styles.js +0 -2
- package/lib/core/Html/Html.stories.d.ts +19 -0
- package/lib/core/Html/Html.stories.d.ts.map +1 -0
- package/lib/core/Html/Html.stories.js +43 -0
- package/lib/core/Html/index.js +0 -2
- package/lib/core/Html/styles.js +0 -1
- package/lib/core/Image/Image.stories.d.ts +15 -0
- package/lib/core/Image/Image.stories.d.ts.map +1 -0
- package/lib/core/Image/Image.stories.js +26 -0
- package/lib/core/Image/index.js +1 -2
- package/lib/core/Image/styles.js +0 -1
- package/lib/core/ImageCarousel/index.d.ts +11 -0
- package/lib/core/ImageCarousel/index.d.ts.map +1 -0
- package/lib/core/ImageCarousel/index.js +70 -0
- package/lib/core/ImageCarousel/styles.d.ts +26 -0
- package/lib/core/ImageCarousel/styles.d.ts.map +1 -0
- package/lib/core/ImageCarousel/styles.js +58 -0
- package/lib/core/ImagePicker/IconWithBackground.js +0 -2
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts +17 -0
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts.map +1 -0
- package/lib/core/ImagePicker/ImagePicker.stories.js +28 -0
- package/lib/core/ImagePicker/UploadButton.js +0 -2
- package/lib/core/ImagePicker/index.js +2 -5
- package/lib/core/ImagePicker/styles.js +0 -1
- package/lib/core/InfoButton/InfoButton.stories.d.ts +23 -0
- package/lib/core/InfoButton/InfoButton.stories.d.ts.map +1 -0
- package/lib/core/InfoButton/InfoButton.stories.js +57 -0
- package/lib/core/InfoButton/index.d.ts +2 -0
- package/lib/core/InfoButton/index.d.ts.map +1 -1
- package/lib/core/InfoButton/index.js +2 -9
- package/lib/core/InfoButton/styles.d.ts.map +1 -1
- package/lib/core/InfoButton/styles.js +13 -15
- package/lib/core/Input/Input.stories.d.ts +51 -0
- package/lib/core/Input/Input.stories.d.ts.map +1 -0
- package/lib/core/Input/Input.stories.js +121 -0
- package/lib/core/Input/index.js +4 -10
- package/lib/core/Input/styles.js +0 -1
- package/lib/core/Link/Link.stories.d.ts +39 -0
- package/lib/core/Link/Link.stories.d.ts.map +1 -0
- package/lib/core/Link/Link.stories.js +75 -0
- package/lib/core/Link/index.js +2 -3
- package/lib/core/Link/styles.js +0 -2
- package/lib/core/List/Item.js +0 -3
- package/lib/core/List/List.stories.d.ts +39 -0
- package/lib/core/List/List.stories.d.ts.map +1 -0
- package/lib/core/List/List.stories.js +157 -0
- package/lib/core/List/index.js +0 -3
- package/lib/core/List/styles.js +0 -4
- package/lib/core/ListPager/ListPager.stories.d.ts +7 -0
- package/lib/core/ListPager/ListPager.stories.d.ts.map +1 -0
- package/lib/core/ListPager/ListPager.stories.js +16 -0
- package/lib/core/ListPager/index.js +0 -8
- package/lib/core/ListPager/styles.js +0 -2
- package/lib/core/Modal/ActionButtons/index.js +0 -3
- package/lib/core/Modal/Modal.stories.d.ts +23 -0
- package/lib/core/Modal/Modal.stories.d.ts.map +1 -0
- package/lib/core/Modal/Modal.stories.js +117 -0
- package/lib/core/Modal/index.js +1 -12
- package/lib/core/Modal/styles.js +0 -4
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts +11 -0
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts.map +1 -0
- package/lib/core/NoticeCard/NoticeCard.stories.js +61 -0
- package/lib/core/NoticeCard/index.js +0 -4
- package/lib/core/NoticeCard/models.js +0 -1
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +1 -3
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +0 -2
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +0 -2
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +0 -2
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +0 -2
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +0 -2
- package/lib/core/NoticeCard/styles.js +0 -2
- package/lib/core/NoticeCard/utils.js +0 -3
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +11 -0
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts.map +1 -0
- package/lib/core/NotificationCounter/NotificationCounter.stories.js +19 -0
- package/lib/core/NotificationCounter/index.js +1 -2
- package/lib/core/NotificationCounter/styles.js +0 -4
- package/lib/core/NotificationsMenu/NotificationBell/index.js +0 -2
- package/lib/core/NotificationsMenu/NotificationRow/index.js +0 -2
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +11 -0
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts.map +1 -0
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.js +33 -0
- package/lib/core/NotificationsMenu/index.js +0 -8
- package/lib/core/NotificationsMenu/styles.js +0 -2
- package/lib/core/PieChart/ActiveShape/index.js +1 -3
- package/lib/core/PieChart/PieChart.stories.d.ts +20 -0
- package/lib/core/PieChart/PieChart.stories.d.ts.map +1 -0
- package/lib/core/PieChart/PieChart.stories.js +81 -0
- package/lib/core/PieChart/index.js +6 -7
- package/lib/core/PieChart/renderTextContent/index.js +1 -3
- package/lib/core/PieChart/styles.js +0 -2
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +7 -0
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -0
- package/lib/core/PreemptionCard/PreemptionCard.stories.js +68 -0
- package/lib/core/PreemptionCard/index.js +0 -5
- package/lib/core/PreemptionCard/models.js +0 -1
- package/lib/core/PreemptionCard/styles.js +0 -2
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +7 -0
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts.map +1 -0
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +15 -0
- package/lib/core/PreemptionCardLoading/index.js +0 -2
- package/lib/core/PreemptionCardLoading/styles.js +0 -2
- package/lib/core/Radio/Radio.stories.d.ts +19 -0
- package/lib/core/Radio/Radio.stories.d.ts.map +1 -0
- package/lib/core/Radio/Radio.stories.js +66 -0
- package/lib/core/Radio/index.js +0 -2
- package/lib/core/Radio/styles.js +0 -1
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts +19 -0
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts.map +1 -0
- package/lib/core/SearchFilter/SearchFilter.stories.js +113 -0
- package/lib/core/SearchFilter/index.js +2 -10
- package/lib/core/SearchFilter/styles.js +0 -4
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts +12 -0
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts.map +1 -0
- package/lib/core/SearchSelect/SearchSelect.stories.js +52 -0
- package/lib/core/SearchSelect/hooks/useSelectSearch.js +2 -3
- package/lib/core/SearchSelect/index.js +4 -12
- package/lib/core/SearchSelect/styles.js +0 -2
- package/lib/core/Select/Option.d.ts.map +1 -1
- package/lib/core/Select/Option.js +2 -4
- package/lib/core/Select/Select.stories.d.ts +47 -0
- package/lib/core/Select/Select.stories.d.ts.map +1 -0
- package/lib/core/Select/Select.stories.js +246 -0
- package/lib/core/Select/index.d.ts +6 -2
- package/lib/core/Select/index.d.ts.map +1 -1
- package/lib/core/Select/index.js +21 -20
- package/lib/core/Select/styles.d.ts +3 -0
- package/lib/core/Select/styles.d.ts.map +1 -1
- package/lib/core/Select/styles.js +36 -33
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +29 -0
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts.map +1 -0
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.js +174 -0
- package/lib/core/SimpleBarChart/index.js +0 -3
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +8 -0
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts.map +1 -0
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.js +53 -0
- package/lib/core/SimpleLineChart/index.js +0 -2
- package/lib/core/Skeleton/Skeleton.stories.d.ts +37 -0
- package/lib/core/Skeleton/Skeleton.stories.d.ts.map +1 -0
- package/lib/core/Skeleton/Skeleton.stories.js +46 -0
- package/lib/core/Skeleton/index.js +0 -4
- package/lib/core/Skeleton/styles.js +0 -2
- package/lib/core/Spinner/Spinner.stories.d.ts +19 -0
- package/lib/core/Spinner/Spinner.stories.d.ts.map +1 -0
- package/lib/core/Spinner/Spinner.stories.js +30 -0
- package/lib/core/Spinner/index.js +0 -2
- package/lib/core/TabBar/TabBar.stories.d.ts +7 -0
- package/lib/core/TabBar/TabBar.stories.d.ts.map +1 -0
- package/lib/core/TabBar/TabBar.stories.js +38 -0
- package/lib/core/TabBar/TabItem/index.js +0 -2
- package/lib/core/TabBar/TabItem/styles.js +0 -2
- package/lib/core/TabBar/index.js +0 -2
- package/lib/core/TabBar/styles.js +0 -2
- package/lib/core/TabNav/TabContext.js +8 -5
- package/lib/core/TabNav/TabNav.stories.d.ts +47 -0
- package/lib/core/TabNav/TabNav.stories.d.ts.map +1 -0
- package/lib/core/TabNav/TabNav.stories.js +306 -0
- package/lib/core/TabNav/TabNavItem/index.js +2 -6
- package/lib/core/TabNav/TabNavItem/styles.js +0 -2
- package/lib/core/TabNav/index.js +11 -14
- package/lib/core/TabNav/styles.js +0 -2
- package/lib/core/TabNav/utils/useContainerDimensions.js +0 -1
- package/lib/core/Table/Cell.js +2 -3
- package/lib/core/Table/Row.js +2 -3
- package/lib/core/Table/Table.stories.d.ts +11 -0
- package/lib/core/Table/Table.stories.d.ts.map +1 -0
- package/lib/core/Table/Table.stories.js +83 -0
- package/lib/core/Table/index.d.ts +5 -1
- package/lib/core/Table/index.d.ts.map +1 -1
- package/lib/core/Table/index.js +4 -4
- package/lib/core/Table/styles.js +0 -2
- package/lib/core/Tag/Tag.stories.d.ts +59 -0
- package/lib/core/Tag/Tag.stories.d.ts.map +1 -0
- package/lib/core/Tag/Tag.stories.js +112 -0
- package/lib/core/Tag/index.js +0 -2
- package/lib/core/Tag/styles.js +0 -1
- package/lib/core/Text/Text.stories.d.ts +59 -0
- package/lib/core/Text/Text.stories.d.ts.map +1 -0
- package/lib/core/Text/Text.stories.js +103 -0
- package/lib/core/Text/index.js +0 -2
- package/lib/core/Text/styles.js +0 -1
- package/lib/core/Textarea/Textarea.stories.d.ts +19 -0
- package/lib/core/Textarea/Textarea.stories.d.ts.map +1 -0
- package/lib/core/Textarea/Textarea.stories.js +33 -0
- package/lib/core/Textarea/index.js +0 -5
- package/lib/core/Textarea/styles.js +0 -2
- package/lib/core/Timeline/Timeline.stories.d.ts +7 -0
- package/lib/core/Timeline/Timeline.stories.d.ts.map +1 -0
- package/lib/core/Timeline/Timeline.stories.js +25 -0
- package/lib/core/Timeline/TimelineStep/index.js +0 -2
- package/lib/core/Timeline/TimelineStep/styles.js +0 -2
- package/lib/core/Timeline/index.js +0 -2
- package/lib/core/Timeline/styles.js +0 -2
- package/lib/core/Timepicker/Timepicker.stories.d.ts +31 -0
- package/lib/core/Timepicker/Timepicker.stories.d.ts.map +1 -0
- package/lib/core/Timepicker/Timepicker.stories.js +77 -0
- package/lib/core/Timepicker/index.js +7 -16
- package/lib/core/Timepicker/styles.js +0 -2
- package/lib/core/Tooltip/Tooptip.stories.d.ts +7 -0
- package/lib/core/Tooltip/Tooptip.stories.d.ts.map +1 -0
- package/lib/core/Tooltip/Tooptip.stories.js +14 -0
- package/lib/core/Tooltip/index.js +0 -3
- package/lib/core/Tooltip/styles.js +0 -1
- package/lib/core/UnitIllustration/index.js +1 -9
- package/lib/core/UserMenu/UserMenu.stories.d.ts +19 -0
- package/lib/core/UserMenu/UserMenu.stories.d.ts.map +1 -0
- package/lib/core/UserMenu/UserMenu.stories.js +91 -0
- package/lib/core/UserMenu/UserMenuOption.js +0 -2
- package/lib/core/UserMenu/index.js +0 -8
- package/lib/core/UserMenu/styles.js +0 -2
- package/lib/core/YearWheel/YearWheel.stories.d.ts +11 -0
- package/lib/core/YearWheel/YearWheel.stories.d.ts.map +1 -0
- package/lib/core/YearWheel/YearWheel.stories.js +20 -0
- package/lib/core/YearWheel/index.js +0 -2
- package/lib/core/YearWheel/styles.js +0 -2
- package/lib/core/private/ButtonOrLink.js +8 -13
- package/lib/core/private/preemption.js +0 -4
- package/lib/core/utils/debounce.js +0 -2
- package/lib/enums/Keyboard.js +1 -1
- package/lib/enums/ModifierKey.d.ts +12 -0
- package/lib/enums/ModifierKey.d.ts.map +1 -0
- package/lib/enums/ModifierKey.js +13 -0
- package/lib/globals/styles/styles.js +0 -1
- package/lib/hooks/useIsMobile.js +0 -2
- package/lib/hooks/useScreenOrientation.js +0 -10
- package/lib/icons/General/IconApartment.js +0 -2
- package/lib/icons/General/IconArchives.js +0 -2
- package/lib/icons/General/IconArea.js +0 -2
- package/lib/icons/General/IconArrowDown.js +0 -2
- package/lib/icons/General/IconArrowLeft.js +0 -2
- package/lib/icons/General/IconArrowRight.js +0 -2
- package/lib/icons/General/IconArrowUp.js +0 -2
- package/lib/icons/General/IconAttachment.js +0 -2
- package/lib/icons/General/IconAuditorFilled.js +0 -2
- package/lib/icons/General/IconAuditorOutline.js +0 -2
- package/lib/icons/General/IconBack.js +0 -2
- package/lib/icons/General/IconBath.js +0 -2
- package/lib/icons/General/IconBblFlame.js +2 -3
- package/lib/icons/General/IconBblShield.js +2 -3
- package/lib/icons/General/IconBblWater.js +2 -3
- package/lib/icons/General/IconBellOutline.js +0 -2
- package/lib/icons/General/IconBlock.js +0 -2
- package/lib/icons/General/IconBoard.js +0 -2
- package/lib/icons/General/IconBookmarkFilled.js +0 -2
- package/lib/icons/General/IconBookmarkOutline.js +0 -2
- package/lib/icons/General/IconBus.js +0 -2
- package/lib/icons/General/IconCalendar.js +0 -2
- package/lib/icons/General/IconCamera.js +0 -2
- package/lib/icons/General/IconCar.js +0 -2
- package/lib/icons/General/IconCaretDown.js +0 -2
- package/lib/icons/General/IconCaretLeft.js +0 -2
- package/lib/icons/General/IconCaretRight.js +0 -2
- package/lib/icons/General/IconCaretUp.js +0 -2
- package/lib/icons/General/IconCases.js +0 -2
- package/lib/icons/General/IconCheck.js +0 -2
- package/lib/icons/General/IconCheckedFilled.js +0 -2
- package/lib/icons/General/IconCheckedOutline.js +0 -2
- package/lib/icons/General/IconChevronDown.js +0 -2
- package/lib/icons/General/IconChevronLeft.js +0 -2
- package/lib/icons/General/IconChevronRight.js +0 -2
- package/lib/icons/General/IconChoice.js +0 -2
- package/lib/icons/General/IconClose.js +0 -2
- package/lib/icons/General/IconCloseAlt.js +0 -2
- package/lib/icons/General/IconComment.js +0 -2
- package/lib/icons/General/IconCommunication.js +0 -2
- package/lib/icons/General/IconCommunicationFilled.js +0 -2
- package/lib/icons/General/IconCompanyBuilding.js +0 -2
- package/lib/icons/General/IconCompanyBuildingFilled.js +0 -2
- package/lib/icons/General/IconCompanyBuildingOutline.js +0 -2
- package/lib/icons/General/IconDashboard.js +0 -2
- package/lib/icons/General/IconDashboardFilled.js +0 -2
- package/lib/icons/General/IconDelete.js +0 -2
- package/lib/icons/General/IconDocument.js +0 -2
- package/lib/icons/General/IconDocumentFilled.js +0 -2
- package/lib/icons/General/IconDoor.js +0 -2
- package/lib/icons/General/IconDotFilled.js +0 -2
- package/lib/icons/General/IconDotOutline.js +0 -2
- package/lib/icons/General/IconDownload.js +0 -2
- package/lib/icons/General/IconDraft.js +0 -2
- package/lib/icons/General/IconEarth.js +0 -2
- package/lib/icons/General/IconEconomy.js +0 -2
- package/lib/icons/General/IconEconomyFilled.js +0 -2
- package/lib/icons/General/IconEdit.js +0 -2
- package/lib/icons/General/IconElevator.js +0 -2
- package/lib/icons/General/IconErrorFilled.js +0 -2
- package/lib/icons/General/IconErrorOutline.js +0 -2
- package/lib/icons/General/IconExternalLink.js +0 -2
- package/lib/icons/General/IconEye.js +0 -2
- package/lib/icons/General/IconEyeDeny.js +0 -2
- package/lib/icons/General/IconFamily.js +0 -2
- package/lib/icons/General/IconFerry.js +0 -2
- package/lib/icons/General/IconFile.js +0 -2
- package/lib/icons/General/IconFileAdd.js +0 -2
- package/lib/icons/General/IconFileCopy.js +0 -2
- package/lib/icons/General/IconFileEdit.js +0 -2
- package/lib/icons/General/IconFileExcel.js +0 -2
- package/lib/icons/General/IconFilePDF.js +0 -2
- package/lib/icons/General/IconFileWord.js +0 -2
- package/lib/icons/General/IconFillOut.js +0 -2
- package/lib/icons/General/IconFilterList.js +0 -2
- package/lib/icons/General/IconFloor.js +0 -2
- package/lib/icons/General/IconForward.js +0 -2
- package/lib/icons/General/IconFullscreenClose.js +0 -2
- package/lib/icons/General/IconFullscreenOpen.js +0 -2
- package/lib/icons/General/IconGarage.js +0 -2
- package/lib/icons/General/IconGrid.js +0 -2
- package/lib/icons/General/IconGym.js +0 -2
- package/lib/icons/General/IconHearth.js +0 -2
- package/lib/icons/General/IconHearthOutline.js +0 -2
- package/lib/icons/General/IconHelp.js +0 -2
- package/lib/icons/General/IconHistory.js +0 -2
- package/lib/icons/General/IconHomeFilled.js +0 -2
- package/lib/icons/General/IconHomeOutline.js +0 -2
- package/lib/icons/General/IconHouse.js +0 -2
- package/lib/icons/General/IconHouseBlockFilled.js +0 -2
- package/lib/icons/General/IconHouseBlockOutline.js +0 -2
- package/lib/icons/General/IconHouseOutline.js +0 -2
- package/lib/icons/General/IconHumans.js +0 -2
- package/lib/icons/General/IconImage.js +0 -2
- package/lib/icons/General/IconImportantComment.js +0 -2
- package/lib/icons/General/IconInbox.js +0 -2
- package/lib/icons/General/IconInfoFilled.js +0 -2
- package/lib/icons/General/IconInfoOutline.js +0 -2
- package/lib/icons/General/IconJanitorFilled.js +0 -2
- package/lib/icons/General/IconJanitorOutline.js +0 -2
- package/lib/icons/General/IconJointcost.js +0 -2
- package/lib/icons/General/IconJointcost2.js +0 -2
- package/lib/icons/General/IconKey.js +0 -2
- package/lib/icons/General/IconKitchen.js +0 -2
- package/lib/icons/General/IconLabel.js +0 -2
- package/lib/icons/General/IconLeafFilled.js +0 -2
- package/lib/icons/General/IconLeafOutline.js +0 -2
- package/lib/icons/General/IconLeisureTime.js +0 -2
- package/lib/icons/General/IconLock.js +0 -2
- package/lib/icons/General/IconLockLocked.js +0 -2
- package/lib/icons/General/IconLockOpen.js +0 -2
- package/lib/icons/General/IconLookup.js +0 -2
- package/lib/icons/General/IconLookupFilled.js +0 -2
- package/lib/icons/General/IconMail.js +0 -2
- package/lib/icons/General/IconMap.js +0 -2
- package/lib/icons/General/IconMembership.js +0 -2
- package/lib/icons/General/IconMembershipFilled.js +0 -2
- package/lib/icons/General/IconMenu.js +0 -2
- package/lib/icons/General/IconMinus.js +0 -2
- package/lib/icons/General/IconMinusAlt.js +0 -2
- package/lib/icons/General/IconMinusAltFilled.js +0 -2
- package/lib/icons/General/IconMoney.js +0 -2
- package/lib/icons/General/IconParking.js +0 -2
- package/lib/icons/General/IconPaymentCard.js +0 -2
- package/lib/icons/General/IconPhone.js +0 -2
- package/lib/icons/General/IconPinned.js +0 -2
- package/lib/icons/General/IconPlus.js +0 -2
- package/lib/icons/General/IconPlusAlt.js +0 -2
- package/lib/icons/General/IconPortalUser.js +0 -2
- package/lib/icons/General/IconPrint.js +0 -2
- package/lib/icons/General/IconProfile.js +0 -2
- package/lib/icons/General/IconProfileFilled.js +0 -2
- package/lib/icons/General/IconRearrange.js +0 -2
- package/lib/icons/General/IconReciept.js +0 -2
- package/lib/icons/General/IconRedo.js +0 -2
- package/lib/icons/General/IconRefresh.js +0 -2
- package/lib/icons/General/IconReply.js +0 -2
- package/lib/icons/General/IconReplyAll.js +0 -2
- package/lib/icons/General/IconRoom.js +0 -2
- package/lib/icons/General/IconSave.js +0 -2
- package/lib/icons/General/IconSearch.js +0 -2
- package/lib/icons/General/IconSend.js +0 -2
- package/lib/icons/General/IconSettings.js +0 -2
- package/lib/icons/General/IconShopping.js +0 -2
- package/lib/icons/General/IconSign.js +0 -2
- package/lib/icons/General/IconSliders.js +0 -2
- package/lib/icons/General/IconSort.js +0 -2
- package/lib/icons/General/IconStarFilled.js +0 -2
- package/lib/icons/General/IconStarHalf.js +0 -2
- package/lib/icons/General/IconStarOutline.js +0 -2
- package/lib/icons/General/IconStore.js +0 -2
- package/lib/icons/General/IconSubway.js +0 -2
- package/lib/icons/General/IconSwitch.js +0 -2
- package/lib/icons/General/IconTrain.js +0 -2
- package/lib/icons/General/IconTram.js +0 -2
- package/lib/icons/General/IconTransport.js +0 -2
- package/lib/icons/General/IconTypeOfBuilding.js +0 -2
- package/lib/icons/General/IconTypeOfBuildingOutline.js +0 -2
- package/lib/icons/General/IconUndo.js +0 -2
- package/lib/icons/General/IconUpload.js +0 -2
- package/lib/icons/General/IconUser.js +0 -2
- package/lib/icons/General/IconUserThin.js +0 -2
- package/lib/icons/General/IconVote.js +0 -2
- package/lib/icons/General/IconWalk.js +0 -2
- package/lib/icons/General/IconWarning.js +0 -2
- package/lib/icons/General/IconWarningBell.js +0 -2
- package/lib/icons/General/IconWork.js +0 -2
- package/lib/icons/General/IconWorkFilled.js +0 -2
- package/lib/icons/General/IconZip.js +0 -2
- package/lib/icons/Icon.stories.d.ts +60 -0
- package/lib/icons/Icon.stories.d.ts.map +1 -0
- package/lib/icons/Icon.stories.js +281 -0
- package/lib/icons/Logos/IconAmericanExpress.js +0 -2
- package/lib/icons/Logos/IconBankAxept.js +0 -2
- package/lib/icons/Logos/IconGmail.js +0 -2
- package/lib/icons/Logos/IconMasterCard.js +0 -2
- package/lib/icons/Logos/IconOffice365.js +0 -2
- package/lib/icons/Logos/IconVisa.js +0 -2
- package/lib/icons/withIcon.d.ts.map +1 -1
- package/lib/icons/withIcon.js +2 -3
- package/lib/illustrations/Backgrounds/IllustrationHousesBackground.js +0 -2
- package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.js +0 -2
- package/lib/illustrations/General/IllustrationError.js +0 -2
- package/lib/illustrations/General/IllustrationErrorGeneric.js +0 -2
- package/lib/illustrations/General/IllustrationHighHouse.js +0 -2
- package/lib/illustrations/General/IllustrationHighHouseComposition.js +0 -2
- package/lib/illustrations/General/IllustrationHouse.js +0 -2
- package/lib/illustrations/General/IllustrationHouseComposition.js +0 -2
- package/lib/illustrations/General/IllustrationHouseMissing.js +0 -2
- package/lib/illustrations/General/IllustrationLowHouse.js +0 -2
- package/lib/illustrations/General/IllustrationLowHouseComposition.js +0 -2
- package/lib/illustrations/General/IllustrationPaperCompleted.js +0 -2
- package/lib/illustrations/General/IllustrationPaperMissing.js +0 -2
- package/lib/illustrations/General/IllustrationSemiDetachedHouse.js +0 -2
- package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.js +0 -2
- package/lib/illustrations/General/IllustrationSmallHouse.js +0 -2
- package/lib/illustrations/General/IllustrationSmallHouseComposition.js +0 -2
- package/lib/illustrations/General/IllustrationTerraceBlock.js +0 -2
- package/lib/illustrations/General/IllustrationTerraceBlockComposition.js +0 -2
- package/lib/illustrations/General/IllustrationTownHouse.js +0 -2
- package/lib/illustrations/General/IllustrationTownHouseComposition.js +0 -2
- package/lib/illustrations/Illustration.stories.d.ts +27 -0
- package/lib/illustrations/Illustration.stories.d.ts.map +1 -0
- package/lib/illustrations/Illustration.stories.js +173 -0
- package/lib/illustrations/MySite/IllustrationMySiteAssociation.js +0 -2
- package/lib/illustrations/MySite/IllustrationMySiteBuilding.js +0 -2
- package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.js +0 -2
- package/lib/illustrations/MySite/IllustrationMySiteComputer.js +0 -2
- package/lib/illustrations/MySite/IllustrationMySiteCooperative.js +0 -2
- package/lib/illustrations/MySite/IllustrationMySiteDashboard.js +0 -2
- package/lib/illustrations/MySite/IllustrationMySiteGift.js +0 -2
- package/lib/illustrations/MySite/IllustrationMySiteMailbox.js +0 -2
- package/lib/illustrations/MySite/IllustrationMySitePapers.js +0 -2
- package/lib/illustrations/MySite/IllustrationMySitePiggyBank.js +0 -2
- package/lib/illustrations/MySite/IllustrationMySiteTransfer.js +0 -2
- package/lib/illustrations/styles.js +0 -1
- package/lib/illustrations/withIllustration.js +2 -4
- package/lib/layout/Footer/Footer.stories.d.ts +11 -0
- package/lib/layout/Footer/Footer.stories.d.ts.map +1 -0
- package/lib/layout/Footer/Footer.stories.js +62 -0
- package/lib/layout/Footer/FooterButton/index.js +2 -3
- package/lib/layout/Footer/FooterButton/styles.js +0 -2
- package/lib/layout/Footer/FooterCol/index.js +0 -2
- package/lib/layout/Footer/FooterCol/styles.js +0 -2
- package/lib/layout/Footer/FooterGroup/index.js +0 -2
- package/lib/layout/Footer/FooterGroup/styles.js +0 -2
- package/lib/layout/Footer/FooterLabel/index.js +0 -2
- package/lib/layout/Footer/FooterLabel/styles.js +0 -2
- package/lib/layout/Footer/FooterLink/index.js +2 -3
- package/lib/layout/Footer/FooterLink/styles.js +0 -2
- package/lib/layout/Footer/index.js +0 -2
- package/lib/layout/Layout/Layout.stories.d.ts +7 -0
- package/lib/layout/Layout/Layout.stories.d.ts.map +1 -0
- package/lib/layout/Layout/Layout.stories.js +14 -0
- package/lib/layout/Layout/index.js +0 -2
- package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +15 -0
- package/lib/layout/LayoutShell/LayoutShell.stories.d.ts.map +1 -0
- package/lib/layout/LayoutShell/LayoutShell.stories.js +116 -0
- package/lib/layout/LayoutShell/index.js +0 -2
- package/lib/layout/LayoutShell/styles.js +0 -2
- package/lib/layout/Menu/AppPicker/index.js +3 -3
- package/lib/layout/Menu/AppPicker/styles.js +0 -9
- package/lib/layout/Menu/MainMenu/index.js +0 -2
- package/lib/layout/Menu/MenuItem/index.js +0 -2
- package/lib/layout/Menu/MenuSpacer/index.js +0 -2
- package/lib/layout/Menu/MenuTop/index.js +0 -2
- package/lib/layout/Menu/MenuTop/styles.js +0 -2
- package/lib/layout/Menu/SecondaryMenu/index.js +0 -2
- package/lib/layout/Menu/SecondaryMenuItem/index.js +0 -2
- package/lib/layout/Menu/Sidemenu.stories.d.ts +19 -0
- package/lib/layout/Menu/Sidemenu.stories.d.ts.map +1 -0
- package/lib/layout/Menu/Sidemenu.stories.js +323 -0
- package/lib/layout/Menu/index.js +0 -2
- package/lib/layout/Submenu/Submenu.stories.d.ts +27 -0
- package/lib/layout/Submenu/Submenu.stories.d.ts.map +1 -0
- package/lib/layout/Submenu/Submenu.stories.js +94 -0
- package/lib/layout/Submenu/SubmenuItem/index.js +0 -7
- package/lib/layout/Submenu/SubmenuItem/styles.js +0 -5
- package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +0 -2
- package/lib/layout/Submenu/index.js +0 -11
- package/lib/layout/Submenu/styles.js +0 -2
- package/lib/layout/Topbar/Topbar.stories.d.ts +11 -0
- package/lib/layout/Topbar/Topbar.stories.d.ts.map +1 -0
- package/lib/layout/Topbar/Topbar.stories.js +23 -0
- package/lib/layout/Topbar/index.js +0 -2
- package/lib/shared/components/SbIconGrid/index.d.ts +7 -0
- package/lib/shared/components/SbIconGrid/index.d.ts.map +1 -0
- package/lib/shared/components/SbIconGrid/index.js +26 -0
- package/lib/shared/recharts/CustomLegend/styles.js +0 -2
- package/lib/shared/recharts/CustomTooltip/index.js +0 -11
- package/lib/shared/recharts/CustomTooltip/styles.js +0 -2
- package/lib/shared/types/LoadedType.d.ts +7 -0
- package/lib/shared/types/LoadedType.d.ts.map +1 -0
- package/lib/shared/types/LoadedType.js +1 -0
- package/lib/utils/accountNumber.js +1 -7
- package/lib/utils/alpha.js +0 -1
- package/lib/utils/array.js +1 -3
- package/lib/utils/dates.js +0 -10
- package/lib/utils/file.js +1 -0
- package/lib/utils/format.js +3 -21
- package/lib/utils/formatGraphPrice.js +0 -15
- package/lib/utils/image.js +0 -3
- package/lib/utils/pagination.js +0 -5
- package/lib/utils/phone.js +8 -13
- package/lib/utils/time.js +4 -14
- package/lib/utils/url.js +0 -2
- package/lib/utils/useSnorreTheme.js +0 -3
- package/package.json +17 -12
- package/esm/index.d.js +0 -2
- package/esm/layout/Menu/MenuBottom/index.js +0 -37
- package/esm/layout/Menu/MenuBottom/styles.js +0 -15
- package/lib/index.d.js +0 -2
- package/lib/layout/Menu/MenuBottom/index.d.ts +0 -14
- package/lib/layout/Menu/MenuBottom/index.d.ts.map +0 -1
- package/lib/layout/Menu/MenuBottom/index.js +0 -37
- package/lib/layout/Menu/MenuBottom/styles.d.ts +0 -4
- package/lib/layout/Menu/MenuBottom/styles.d.ts.map +0 -1
- package/lib/layout/Menu/MenuBottom/styles.js +0 -15
package/esm/app-shell/index.js
CHANGED
@@ -5,7 +5,6 @@ import AppLoader from '../core/AppLoader';
|
|
5
5
|
import useSnorreTheme from '../utils/useSnorreTheme';
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
7
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
8
|
-
|
9
8
|
const Wrapper = _styled("div", process.env.NODE_ENV === "production" ? {
|
10
9
|
target: "ep4gpb60"
|
11
10
|
} : {
|
@@ -14,7 +13,6 @@ const Wrapper = _styled("div", process.env.NODE_ENV === "production" ? {
|
|
14
13
|
})("min-height:100vh;width:auto;background-color:", ({
|
15
14
|
theme
|
16
15
|
}) => theme.bg, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wYWNrYWdlcy9hcHAtc2hlbGwvaW5kZXgudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU0rQiIsImZpbGUiOiIuLi8uLi9zcmMvcGFja2FnZXMvYXBwLXNoZWxsL2luZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCdcbmltcG9ydCB7IGNzcywgR2xvYmFsLCBUaGVtZVByb3ZpZGVyIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCBBcHBMb2FkZXIgZnJvbSAnLi4vY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oZW1lUHJvdmlkZXI+XG4gICkgOiAoXG4gICAgPEFwcExvYWRlciAvPlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IEFwcFNoZWxsXG4iXX0= */"));
|
17
|
-
|
18
16
|
const AppShell = ({
|
19
17
|
themeUrl,
|
20
18
|
defaultTextColor,
|
@@ -36,5 +34,4 @@ const AppShell = ({
|
|
36
34
|
})]
|
37
35
|
}) : /*#__PURE__*/_jsx(AppLoader, {});
|
38
36
|
};
|
39
|
-
|
40
37
|
export default AppShell;
|
package/esm/app-shell/theme.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
export const initTheme = (values, defaultTextColor) => {
|
2
|
-
const styles = {
|
3
|
-
|
2
|
+
const styles = {
|
3
|
+
...values,
|
4
|
+
defaultText: defaultTextColor || values?.defaultText || '#000'
|
4
5
|
};
|
5
6
|
return styles;
|
6
7
|
};
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import Alert from '.';
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
3
|
+
export default {
|
4
|
+
title: 'Core/Alert',
|
5
|
+
component: Alert
|
6
|
+
};
|
7
|
+
export const Default = {
|
8
|
+
render: () => /*#__PURE__*/_jsx(Alert, {
|
9
|
+
onClose: () => console.log('close'),
|
10
|
+
children: "Here is some general information."
|
11
|
+
}),
|
12
|
+
name: 'Default'
|
13
|
+
};
|
14
|
+
export const Success = {
|
15
|
+
render: () => /*#__PURE__*/_jsx(Alert, {
|
16
|
+
success: true,
|
17
|
+
onClose: () => console.log('close'),
|
18
|
+
children: "Thank you for feedback!"
|
19
|
+
}),
|
20
|
+
name: 'Success'
|
21
|
+
};
|
22
|
+
export const Info = {
|
23
|
+
render: () => /*#__PURE__*/_jsx(Alert, {
|
24
|
+
info: true,
|
25
|
+
onClose: () => console.log('close'),
|
26
|
+
children: "The service is down between 23:00 - 05:00."
|
27
|
+
}),
|
28
|
+
name: 'Info'
|
29
|
+
};
|
30
|
+
export const Danger = {
|
31
|
+
render: () => /*#__PURE__*/_jsx(Alert, {
|
32
|
+
danger: true,
|
33
|
+
onClose: () => console.log('close'),
|
34
|
+
children: "There has been a mistake. Could not reach service."
|
35
|
+
}),
|
36
|
+
name: 'Danger'
|
37
|
+
};
|
38
|
+
export const WithoutClose = {
|
39
|
+
render: () => /*#__PURE__*/_jsx(Alert, {
|
40
|
+
children: "Cannot close this message."
|
41
|
+
}),
|
42
|
+
name: 'Without close'
|
43
|
+
};
|
package/esm/core/Alert/index.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
2
2
|
import React from 'react';
|
3
3
|
import { styles } from './styles';
|
4
|
-
import
|
4
|
+
import Button from '../Button';
|
5
|
+
import IconClose from '../../icons/General/IconClose';
|
5
6
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
6
7
|
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
7
|
-
|
8
8
|
const Alert = ({
|
9
9
|
primary,
|
10
10
|
success,
|
@@ -28,5 +28,4 @@ const Alert = ({
|
|
28
28
|
})]
|
29
29
|
});
|
30
30
|
};
|
31
|
-
|
32
31
|
export default Alert;
|
package/esm/core/Alert/styles.js
CHANGED
@@ -1,19 +1,18 @@
|
|
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
|
-
|
3
2
|
import { css } from '@emotion/react';
|
4
3
|
const styles = {
|
5
|
-
default: theme => /*#__PURE__*/css("position:relative;display:flex;align-items:center;justify-content:space-between;font-size:14px;background-color:", theme.bgLight, ";border:1px solid ", theme.bgMedium, ";color:", theme.bgDark, ";padding:1em;&>button svg polygon{fill:", theme.bgDark, ";opacity:0.25;}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
6
|
-
success: theme => /*#__PURE__*/css("background-color:", theme.successLight, ";color:", theme.defaultText, ";border-color:", theme.successBorder, ";&>button svg polygon{fill:", theme.bgDark, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:success;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
7
|
-
danger: theme => /*#__PURE__*/css("background-color:", theme.alertLight, ";color:", theme.defaultText, ";border-color:", theme.alertBorder, ";&>button svg polygon{fill:", theme.defaultText, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:danger;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
8
|
-
info: theme => /*#__PURE__*/css("background-color:", theme.infoLight, ";color:", theme.defaultText, ";border-color:", theme.infoBorder, ";&>button svg polygon{fill:", theme.defaultText, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:info;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
9
|
-
primary: theme => /*#__PURE__*/css("background-color:", theme.illustrationPrimary10, ";border-color:", theme.illustrationPrimary50, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:primary;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
4
|
+
default: theme => /*#__PURE__*/css("position:relative;display:flex;align-items:center;justify-content:space-between;font-size:14px;background-color:", theme.bgLight, ";border:1px solid ", theme.bgMedium, ";color:", theme.bgDark, ";padding:1em;&>button svg polygon{fill:", theme.bgDark, ";opacity:0.25;}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0FsZXJ0L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLT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G9ydCB7IHN0eWxlcyB9XG4iXX0= */"),
|
5
|
+
success: theme => /*#__PURE__*/css("background-color:", theme.successLight, ";color:", theme.defaultText, ";border-color:", theme.successBorder, ";&>button svg polygon{fill:", theme.bgDark, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:success;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0FsZXJ0L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQk8iLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvQWxlcnQvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgdHlwZSB7IElBcHBUaGVtZSB9IGZyb20gJy4uLy4uL2FwcC1zaGVsbC90aGVtZSdcblxuY29uc3Qgc3R5bGVzID0ge1xuICBkZWZhdWx0OiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3NgXG4gICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgICAgIGZvbnQtc2l6ZTogMTRweDtcbiAgICAgIGJhY2tncm91bmQtY29sb3I6ICR7dGhlbWUuYmdMaWdodH07XG4gICAgICBib3JkZXI6IDFweCBzb2xpZCAke3RoZW1lLmJnTWVkaXVtfTtcbiAgICAgIGNvbG9yOiAke3RoZW1lLmJnRGFya307XG4gICAgICBwYWRkaW5nOiAxZW07XG5cbiAgICAgICYgPiBidXR0b24gc3ZnIHBvbHlnb24ge1xuICAgICAgICBmaWxsOiA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J5OiAodGhlbWU6IElBcHBUaGVtZSkgPT4gY3NzYFxuICAgIGJhY2tncm91bmQtY29sb3I6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTEwfTtcbiAgICBib3JkZXItY29sb3I6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTUwfTtcbiAgYCxcbiAgcm91bmRlZDogY3NzYFxuICAgIGJvcmRlci1yYWRpdXM6IDE2cHg7XG4gICAgcGFkZGluZzogMS41ZW07XG4gIGAsXG59XG5cbmV4cG9ydCBkZWZhdWx0IHN0eWxlc1xuXG5leHBvcnQgeyBzdHlsZXMgfVxuIl19 */"),
|
6
|
+
danger: theme => /*#__PURE__*/css("background-color:", theme.alertLight, ";color:", theme.defaultText, ";border-color:", theme.alertBorder, ";&>button svg polygon{fill:", theme.defaultText, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:danger;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0FsZXJ0L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQ08iLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvQWxlcnQvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgdHlwZSB7IElBcHBUaGVtZSB9IGZyb20gJy4uLy4uL2FwcC1zaGVsbC90aGVtZSdcblxuY29uc3Qgc3R5bGVzID0ge1xuICBkZWZhdWx0OiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3NgXG4gICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgYWxpZ24taXRlbXM6I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bmZvOiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3NgXG4gICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLmluZm9MaWdodH07XG4gICAgICBjb2xvcjogJHt0aGVtZS5kZWZhdWx0VGV4dH07XG4gICAgICBib3JkZXItY29sb3I6ICR7dGhlbWUuaW5mb0JvcmRlcn07XG5cbiAgICAgICYgPiBidXR0b24gc3ZnIHBvbHlnb24ge1xuICAgICAgICBmaWxsOiAke3RoZW1lLmRlZmF1bHRUZXh0fTtcbiAgICAgIH1cbiAgICBgLFxuICBwcmltYXJ5OiAodGhlbWU6IElBcHBUaGVtZSkgPT4gY3NzYFxuICAgIGJhY2tncm91bmQtY29sb3I6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTEwfTtcbiAgICBib3JkZXItY29sb3I6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTUwfTtcbiAgYCxcbiAgcm91bmRlZDogY3NzYFxuICAgIGJvcmRlci1yYWRpdXM6IDE2cHg7XG4gICAgcGFkZGluZzogMS41ZW07XG4gIGAsXG59XG5cbmV4cG9ydCBkZWZhdWx0IHN0eWxlc1xuXG5leHBvcnQgeyBzdHlsZXMgfVxuIl19 */"),
|
7
|
+
info: theme => /*#__PURE__*/css("background-color:", theme.infoLight, ";color:", theme.defaultText, ";border-color:", theme.infoBorder, ";&>button svg polygon{fill:", theme.defaultText, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:info;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0FsZXJ0L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwQ08iLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvQWxlcnQvc3R5bGVzLnR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cjogKHRoZW1lOiBJQXBwVGhlbWUpID0+XG4gICAgY3NzYFxuICAgICAgYmFja2dyb3VuZC1jb2xvcjogJHt0aGVtZS5hbGVydExpZ2h0fTtcbiAgICAgIGNvbG9yOiAke3RoZW1lLmRlZmF1bHRUZXh0fTtcbiAgICAgIGJvcmRlci1jb2xvcjogJHt0aGVtZS5hbGVydEJvcmRlcn07XG5cbiAgICAgICYgPiBidXR0b24gc3ZnIHBvbHlnb24ge1xuICAgICAgICBmaWxsOiAke3RoZW1lLmRlZmF1bHRUZXh0fTtcbiAgICAgIH1cbiAgICBgLFxuICBpbmZvOiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3NgXG4gICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLmluZm9MaWdodH07XG4gICAgICBjb2xvcjogJHt0aGVtZS5kZWZhdWx0VGV4dH07XG4gICAgICBib3JkZXItY29sb3I6ICR7dGhlbWUuaW5mb0JvcmRlcn07XG5cbiAgICAgICYgPiBidXR0b24gc3ZnIHBvbHlnb24ge1xuICAgICAgICBmaWxsOiAke3RoZW1lLmRlZmF1bHRUZXh0fTtcbiAgICAgIH1cbiAgICBgLFxuICBwcmltYXJ5OiAodGhlbWU6IElBcHBUaGVtZSkgPT4gY3NzYFxuICAgIGJhY2tncm91bmQtY29sb3I6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTEwfTtcbiAgICBib3JkZXItY29sb3I6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTUwfTtcbiAgYCxcbiAgcm91bmRlZDogY3NzYFxuICAgIGJvcmRlci1yYWRpdXM6IDE2cHg7XG4gICAgcGFkZGluZzogMS41ZW07XG4gIGAsXG59XG5cbmV4cG9ydCBkZWZhdWx0IHN0eWxlc1xuXG5leHBvcnQgeyBzdHlsZXMgfVxuIl19 */"),
|
8
|
+
primary: theme => /*#__PURE__*/css("background-color:", theme.illustrationPrimary10, ";border-color:", theme.illustrationPrimary50, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:primary;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0FsZXJ0L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtRG9DIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0FsZXJ0L3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHR5cGUgeyBJQXBwVGhlbWUgfSBmcm9tICcuLi8uLi9hcHAtc2hlbGwvdGhlbWUnXG5cbmNvbnN0IHN0eWxlcyA9IHtcbiAgZGVmYXVsdDogKHRoZW1lOiBJQXBwVGhlbWUpID0+XG4gICAgY3NzYFxuICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gICAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gICAgICBmb250LXNpemU6IDE0cHg7XG4gICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLmJnTGlnaHR9O1xuICAgICAgYm9yZGVyOiAxcHggc29saWQgJHt0aGVtZS5iZ01lZGl1bX07XG4gICAgICBjb2xvcjogJHt0aGVtZS5iZ0Rhcmt9O1xuICAgICAgcGFkZGluZzogMWVtO1xuXG4gICAgICAmID4gYnV0dG9uIHN2ZyBwb2x5Z29uIHtcbiAgICAgICAgZmlsbDogJHt0aGVtZS5iZ0Rhcmt9O1xuICAgICAgICBvcGFjaXR5OiAwLjI1O1xuICAgICAgfVxuICAgIGAsXG4gIHN1Y2Nlc3M6ICh0aGVtZTogSUFwcF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dGlvblByaW1hcnkxMH07XG4gICAgYm9yZGVyLWNvbG9yOiAke3RoZW1lLmlsbHVzdHJhdGlvblByaW1hcnk1MH07XG4gIGAsXG4gIHJvdW5kZWQ6IGNzc2BcbiAgICBib3JkZXItcmFkaXVzOiAxNnB4O1xuICAgIHBhZGRpbmc6IDEuNWVtO1xuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcblxuZXhwb3J0IHsgc3R5bGVzIH1cbiJdfQ== */"),
|
10
9
|
rounded: process.env.NODE_ENV === "production" ? {
|
11
10
|
name: "118z35s",
|
12
11
|
styles: "border-radius:16px;padding:1.5em"
|
13
12
|
} : {
|
14
13
|
name: "1q6n14v-rounded",
|
15
14
|
styles: "border-radius:16px;padding:1.5em;label:rounded;",
|
16
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
15
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL0FsZXJ0L3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1RGMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvQWxlcnQvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgdHlwZSB7IElBcHBUaGVtZSB9IGZyb20gJy4uLy4uL2FwcC1zaGVsbC90aGVtZSdcblxuY29uc3Qgc3R5bGVzID0ge1xuICBkZWZhdWx0OiAodGhlbWU6IElBcHBUaGVtZSkgPT5cbiAgICBjc3NgXG4gICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgIGp1c3RpZnktY29udG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cbiAgICBjc3NgXG4gICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLmluZm9MaWdodH07XG4gICAgICBjb2xvcjogJHt0aGVtZS5kZWZhdWx0VGV4dH07XG4gICAgICBib3JkZXItY29sb3I6ICR7dGhlbWUuaW5mb0JvcmRlcn07XG5cbiAgICAgICYgPiBidXR0b24gc3ZnIHBvbHlnb24ge1xuICAgICAgICBmaWxsOiAke3RoZW1lLmRlZmF1bHRUZXh0fTtcbiAgICAgIH1cbiAgICBgLFxuICBwcmltYXJ5OiAodGhlbWU6IElBcHBUaGVtZSkgPT4gY3NzYFxuICAgIGJhY2tncm91bmQtY29sb3I6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTEwfTtcbiAgICBib3JkZXItY29sb3I6ICR7dGhlbWUuaWxsdXN0cmF0aW9uUHJpbWFyeTUwfTtcbiAgYCxcbiAgcm91bmRlZDogY3NzYFxuICAgIGJvcmRlci1yYWRpdXM6IDE2cHg7XG4gICAgcGFkZGluZzogMS41ZW07XG4gIGAsXG59XG5cbmV4cG9ydCBkZWZhdWx0IHN0eWxlc1xuXG5leHBvcnQgeyBzdHlsZXMgfVxuIl19 */",
|
17
16
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
18
17
|
}
|
19
18
|
};
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
3
3
|
import { styles } from './styles';
|
4
4
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
5
5
|
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
6
|
-
|
7
6
|
const AppLoader = ({
|
8
7
|
color
|
9
8
|
}) => {
|
@@ -12,5 +11,4 @@ const AppLoader = ({
|
|
12
11
|
children: [_jsx("div", {}), _jsx("div", {}), _jsx("div", {}), _jsx("div", {})]
|
13
12
|
});
|
14
13
|
};
|
15
|
-
|
16
14
|
export default AppLoader;
|
@@ -0,0 +1,327 @@
|
|
1
|
+
import { action } from '@storybook/addon-actions';
|
2
|
+
import Autocomplete from '.';
|
3
|
+
import Tag from '../Tag';
|
4
|
+
import Card from '../Card';
|
5
|
+
import Text from '../Text';
|
6
|
+
import Button from '../Button';
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
9
|
+
export default {
|
10
|
+
title: 'Core/Autocomplete',
|
11
|
+
component: Autocomplete
|
12
|
+
};
|
13
|
+
export const Default = {
|
14
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
15
|
+
label: "Label",
|
16
|
+
placeholder: "Placeholder text"
|
17
|
+
}),
|
18
|
+
name: 'Default'
|
19
|
+
};
|
20
|
+
export const WithError = {
|
21
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
22
|
+
label: "Label",
|
23
|
+
placeholder: "Placeholder text",
|
24
|
+
validation: true,
|
25
|
+
invalid: true,
|
26
|
+
invalidMessage: "Something went wrong"
|
27
|
+
}),
|
28
|
+
name: 'With error'
|
29
|
+
};
|
30
|
+
export const WithLoading = {
|
31
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
32
|
+
label: "Label",
|
33
|
+
placeholder: "Placeholder text",
|
34
|
+
loading: true
|
35
|
+
}),
|
36
|
+
name: 'With loading'
|
37
|
+
};
|
38
|
+
export const WithSecondaryLabel = {
|
39
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
40
|
+
label: "Label",
|
41
|
+
placeholder: "Placeholder text",
|
42
|
+
labelSecondary: /*#__PURE__*/_jsx(Text, {
|
43
|
+
small: true,
|
44
|
+
italic: true,
|
45
|
+
children: "Secondary label"
|
46
|
+
})
|
47
|
+
}),
|
48
|
+
name: 'With secondary label'
|
49
|
+
};
|
50
|
+
export const WithActions = {
|
51
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
52
|
+
label: "Label",
|
53
|
+
placeholder: "Placeholder text",
|
54
|
+
loading: true,
|
55
|
+
actions: /*#__PURE__*/_jsx(Text, {
|
56
|
+
small: true,
|
57
|
+
primary: true,
|
58
|
+
children: "Hello"
|
59
|
+
})
|
60
|
+
}),
|
61
|
+
name: 'With actions'
|
62
|
+
};
|
63
|
+
export const WithTags = {
|
64
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
65
|
+
label: "Label",
|
66
|
+
placeholder: "Placeholder text",
|
67
|
+
renderOptions: /*#__PURE__*/_jsxs("div", {
|
68
|
+
style: {
|
69
|
+
margin: '5px 0',
|
70
|
+
display: 'flex',
|
71
|
+
gap: '0.25em'
|
72
|
+
},
|
73
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
74
|
+
strictClose: true,
|
75
|
+
children: "Here"
|
76
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
77
|
+
withclose: true,
|
78
|
+
children: "Here"
|
79
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
80
|
+
withclose: true,
|
81
|
+
children: "Here"
|
82
|
+
})]
|
83
|
+
})
|
84
|
+
}),
|
85
|
+
name: 'With tags'
|
86
|
+
};
|
87
|
+
export const WithButtonForLabelText = {
|
88
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
89
|
+
onLabelClick: () => console.log('clicked'),
|
90
|
+
label: "Label",
|
91
|
+
placeholder: "Placeholder text"
|
92
|
+
}),
|
93
|
+
name: 'With button for label text'
|
94
|
+
};
|
95
|
+
export const WithValuesAndTags = {
|
96
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
97
|
+
label: "Label",
|
98
|
+
placeholder: "Placeholder text",
|
99
|
+
validation: true,
|
100
|
+
invalid: true,
|
101
|
+
onSelectItem: action('onChange'),
|
102
|
+
invalidMessage: "Something went wrong",
|
103
|
+
renderOptions: /*#__PURE__*/_jsxs("div", {
|
104
|
+
style: {
|
105
|
+
margin: '5px 0',
|
106
|
+
display: 'flex',
|
107
|
+
gap: '0.25em'
|
108
|
+
},
|
109
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
110
|
+
strictClose: true,
|
111
|
+
children: "Here"
|
112
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
113
|
+
withclose: true,
|
114
|
+
children: "Here"
|
115
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
116
|
+
withclose: true,
|
117
|
+
children: "Here"
|
118
|
+
})]
|
119
|
+
}),
|
120
|
+
values: [{
|
121
|
+
label: 'Here',
|
122
|
+
key: '1'
|
123
|
+
}, {
|
124
|
+
label: 'Here two',
|
125
|
+
key: '2'
|
126
|
+
}, {
|
127
|
+
label: 'Here three',
|
128
|
+
key: '3'
|
129
|
+
}]
|
130
|
+
}),
|
131
|
+
name: 'With values and tags'
|
132
|
+
};
|
133
|
+
export const WithValues = {
|
134
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
135
|
+
label: "Label",
|
136
|
+
placeholder: "Placeholder text",
|
137
|
+
values: [{
|
138
|
+
label: 'Here',
|
139
|
+
key: '1'
|
140
|
+
}, {
|
141
|
+
label: 'Here two',
|
142
|
+
key: '2'
|
143
|
+
}, {
|
144
|
+
label: 'Here three',
|
145
|
+
key: '3'
|
146
|
+
}]
|
147
|
+
}),
|
148
|
+
name: 'With values'
|
149
|
+
};
|
150
|
+
export const WithCustomObjectsValues = {
|
151
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
152
|
+
label: "Label",
|
153
|
+
placeholder: "Placeholder text",
|
154
|
+
labelFromValues: "option",
|
155
|
+
keyFromValues: "id",
|
156
|
+
onSelectItem: action('onChange'),
|
157
|
+
values: [{
|
158
|
+
id: '1',
|
159
|
+
option: 'One'
|
160
|
+
}, {
|
161
|
+
id: '2',
|
162
|
+
option: 'Two'
|
163
|
+
}, {
|
164
|
+
id: '3',
|
165
|
+
option: 'Three'
|
166
|
+
}]
|
167
|
+
}),
|
168
|
+
name: 'With custom objects values'
|
169
|
+
};
|
170
|
+
export const WithNormalValuesAndFuzzy = {
|
171
|
+
render: () => /*#__PURE__*/_jsx("div", {
|
172
|
+
style: {
|
173
|
+
height: '12em'
|
174
|
+
},
|
175
|
+
children: /*#__PURE__*/_jsx(Autocomplete, {
|
176
|
+
fuzzy: true,
|
177
|
+
chevron: true,
|
178
|
+
value: "Hello",
|
179
|
+
placeholder: "Placeholder",
|
180
|
+
onSelectItem: console.log,
|
181
|
+
values: [{
|
182
|
+
key: '1',
|
183
|
+
label: 'Hello'
|
184
|
+
}, {
|
185
|
+
key: '2',
|
186
|
+
label: 'I am '
|
187
|
+
}, {
|
188
|
+
key: '3',
|
189
|
+
label: 'I am north'
|
190
|
+
}, {
|
191
|
+
key: '4',
|
192
|
+
label: 'I am south'
|
193
|
+
}, {
|
194
|
+
key: '5',
|
195
|
+
label: 'I am east'
|
196
|
+
}, {
|
197
|
+
key: '6',
|
198
|
+
label: 'I am west'
|
199
|
+
}, {
|
200
|
+
key: '7',
|
201
|
+
label: 'Testtext'
|
202
|
+
}]
|
203
|
+
})
|
204
|
+
}),
|
205
|
+
name: 'With normal values and fuzzy'
|
206
|
+
};
|
207
|
+
export const WithCustomValueInput = {
|
208
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
209
|
+
label: "Label",
|
210
|
+
placeholder: "Placeholder text",
|
211
|
+
renderCustomValueInput: /*#__PURE__*/_jsx(Card, {
|
212
|
+
withhover: true,
|
213
|
+
children: "Hover me!"
|
214
|
+
})
|
215
|
+
}),
|
216
|
+
name: 'With custom value input'
|
217
|
+
};
|
218
|
+
export const WithCustomValueInputAndTags = {
|
219
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
220
|
+
label: "Label",
|
221
|
+
placeholder: "Placeholder text",
|
222
|
+
renderCustomValueInput: /*#__PURE__*/_jsx(Card, {
|
223
|
+
withhover: true,
|
224
|
+
children: "Hover me!"
|
225
|
+
}),
|
226
|
+
renderOptions: /*#__PURE__*/_jsxs("div", {
|
227
|
+
style: {
|
228
|
+
margin: '5px 0',
|
229
|
+
display: 'flex',
|
230
|
+
gap: '0.25em'
|
231
|
+
},
|
232
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
233
|
+
strictClose: true,
|
234
|
+
children: "Here"
|
235
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
236
|
+
withclose: true,
|
237
|
+
children: "Here"
|
238
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
239
|
+
withclose: true,
|
240
|
+
children: "Here"
|
241
|
+
})]
|
242
|
+
})
|
243
|
+
}),
|
244
|
+
name: 'With custom value input and tags'
|
245
|
+
};
|
246
|
+
export const WithCustomValueInputAndTagsWithCustomValueHeight = {
|
247
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
248
|
+
dynamicallyPlaceInput: true,
|
249
|
+
label: "Label",
|
250
|
+
placeholder: "Placeholder text",
|
251
|
+
renderCustomValueInput: /*#__PURE__*/_jsx(Card, {
|
252
|
+
withhover: true,
|
253
|
+
children: "Hover me!"
|
254
|
+
}),
|
255
|
+
renderOptions: /*#__PURE__*/_jsxs("div", {
|
256
|
+
style: {
|
257
|
+
margin: '5px 0',
|
258
|
+
display: 'flex',
|
259
|
+
gap: '0.25em'
|
260
|
+
},
|
261
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
262
|
+
strictClose: true,
|
263
|
+
children: "Here"
|
264
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
265
|
+
withclose: true,
|
266
|
+
children: "Here"
|
267
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
268
|
+
withclose: true,
|
269
|
+
children: "Here"
|
270
|
+
})]
|
271
|
+
})
|
272
|
+
}),
|
273
|
+
name: 'With custom value input and tags with custom value height'
|
274
|
+
};
|
275
|
+
export const WithCustomOpen = {
|
276
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
277
|
+
label: "Label",
|
278
|
+
placeholder: "Placeholder text",
|
279
|
+
isOpen: true,
|
280
|
+
renderCustomValueInput: /*#__PURE__*/_jsx(Card, {
|
281
|
+
withhover: true,
|
282
|
+
children: "Hover me!"
|
283
|
+
})
|
284
|
+
}),
|
285
|
+
name: 'With custom open'
|
286
|
+
};
|
287
|
+
export const WithAlmostAllProps = {
|
288
|
+
render: () => /*#__PURE__*/_jsx(Autocomplete, {
|
289
|
+
dynamicallyPlaceInput: true,
|
290
|
+
label: "Label",
|
291
|
+
placeholder: "Placeholder text",
|
292
|
+
onSelectItem: v => console.log('action', v),
|
293
|
+
onKeyDown: e => console.log('keydown', e),
|
294
|
+
openCustomValueInputOnKeyPress: true,
|
295
|
+
renderCustomValueInput: /*#__PURE__*/_jsxs(Card, {
|
296
|
+
children: ["Hover me!", /*#__PURE__*/_jsx(Button, {
|
297
|
+
children: "This is here to click on"
|
298
|
+
})]
|
299
|
+
}),
|
300
|
+
renderOptions: /*#__PURE__*/_jsxs("div", {
|
301
|
+
style: {
|
302
|
+
margin: '5px 0',
|
303
|
+
display: 'flex',
|
304
|
+
gap: '0.25em'
|
305
|
+
},
|
306
|
+
children: [/*#__PURE__*/_jsx(Tag, {
|
307
|
+
strictClose: true,
|
308
|
+
children: "Here"
|
309
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
310
|
+
withclose: true,
|
311
|
+
children: "Here"
|
312
|
+
}), /*#__PURE__*/_jsx(Tag, {
|
313
|
+
withclose: true,
|
314
|
+
children: "Here"
|
315
|
+
})]
|
316
|
+
}),
|
317
|
+
validation: true,
|
318
|
+
invalid: true,
|
319
|
+
invalidMessage: "Something went wrong",
|
320
|
+
actions: /*#__PURE__*/_jsx(Text, {
|
321
|
+
small: true,
|
322
|
+
primary: true,
|
323
|
+
children: "Hello"
|
324
|
+
})
|
325
|
+
}),
|
326
|
+
name: 'With almost all props'
|
327
|
+
};
|