@bbl-digital/snorre 3.1.57 → 3.1.58
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +657 -1111
- package/esm/app-shell/index.js +1 -4
- package/esm/app-shell/theme.js +2 -1
- package/esm/core/Alert/Alert.stories.js +43 -0
- package/esm/core/Alert/index.js +0 -2
- package/esm/core/Alert/styles.js +0 -1
- 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 +4 -6
- package/esm/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.js +94 -0
- package/esm/core/BarAndLineComposedChart/index.js +0 -2
- package/esm/core/BarAndLineComposedChart/styles.js +1 -1
- package/esm/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.js +80 -0
- package/esm/core/BarChartWithCustomizedEvent/index.js +0 -3
- package/esm/core/BarChartWithCustomizedEvent/styles.js +1 -1
- package/esm/core/Box/Box.stories.js +89 -0
- package/esm/core/Box/index.js +0 -4
- package/esm/core/Box/styles.js +2 -8
- 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 +5 -7
- package/esm/core/BoxedTable/HeaderCell/index.js +0 -4
- package/esm/core/BoxedTable/HeaderCell/styles.js +1 -1
- package/esm/core/BoxedTable/RowCell/index.js +0 -2
- package/esm/core/BoxedTable/RowCell/styles.js +1 -3
- package/esm/core/BoxedTable/TableHeader/index.js +0 -2
- package/esm/core/BoxedTable/TableHeader/styles.js +1 -3
- package/esm/core/BoxedTable/TableRow/index.js +0 -7
- package/esm/core/BoxedTable/TableRow/styles.js +6 -8
- package/esm/core/BoxedTable/index.js +2 -5
- package/esm/core/BoxedTable/styles.js +2 -9
- package/esm/core/Button/Button.stories.js +121 -0
- package/esm/core/Button/index.js +0 -4
- package/esm/core/Button/styles.js +1 -5
- 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 +5 -7
- package/esm/core/Calendar/CalendarSmallEvent/index.js +0 -8
- package/esm/core/Calendar/CalendarSmallEvent/styles.js +5 -7
- package/esm/core/Calendar/index.js +0 -5
- package/esm/core/Calendar/styles.js +5 -7
- 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/CheckboxController/index.js +6 -0
- 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 +4 -6
- package/esm/core/CommentsTimeline/CommentsTimeline.stories.js +79 -0
- package/esm/core/CommentsTimeline/index.js +0 -2
- package/esm/core/CommentsTimeline/styles.js +1 -3
- package/esm/core/CustomText/CustomText.stories.js +33 -0
- package/esm/core/CustomText/index.js +0 -6
- package/esm/core/CustomText/styles.js +1 -3
- package/esm/core/Datepicker/Datepicker.stories.js +58 -0
- package/esm/core/Datepicker/index.js +0 -20
- package/esm/core/Datepicker/styles.js +6 -8
- package/esm/core/DatepickerRange/DatepickerRange.stories.js +21 -0
- package/esm/core/DatepickerRange/index.js +17 -5
- package/esm/core/DatepickerRange/styles.js +6 -8
- 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 +2 -4
- package/esm/core/Editor/Editor.stories.js +54 -0
- package/esm/core/Editor/index.js +2 -6
- package/esm/core/Editor/styles.js +2 -4
- package/esm/core/FileInput/FileInput.stories.js +77 -0
- package/esm/core/FileInput/index.js +2 -12
- package/esm/core/FileInput/styles.js +11 -13
- package/esm/core/GoogleButton/GoogleButton.stories.js +12 -0
- package/esm/core/GoogleButton/index.js +0 -3
- package/esm/core/GoogleButton/styles.js +1 -3
- 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 +1 -3
- 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/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 +0 -8
- package/esm/core/InfoButton/styles.js +2 -4
- package/esm/core/Input/Input.stories.js +158 -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 +1 -3
- package/esm/core/List/Item.js +1 -4
- 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 +2 -4
- package/esm/core/{ImageCarousel → MediaCarousel}/index.js +36 -22
- package/esm/core/MediaCarousel/styles.js +55 -0
- package/esm/core/Modal/ActionButtons/index.js +1 -4
- package/esm/core/Modal/Modal.stories.js +117 -0
- package/esm/core/Modal/index.js +1 -12
- package/esm/core/Modal/styles.js +7 -11
- package/esm/core/NoticeCard/NoticeCard.stories.js +61 -0
- package/esm/core/NoticeCard/index.js +0 -4
- package/esm/core/NoticeCard/models.js +3 -4
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +0 -2
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -6
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +0 -2
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -3
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +0 -2
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -5
- package/esm/core/NoticeCard/styles.js +5 -7
- 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/NotificationBell/styles.js +2 -2
- package/esm/core/NotificationsMenu/NotificationRow/index.js +0 -2
- package/esm/core/NotificationsMenu/NotificationRow/styles.js +1 -1
- package/esm/core/NotificationsMenu/NotificationsMenu.stories.js +33 -0
- package/esm/core/NotificationsMenu/index.js +0 -8
- package/esm/core/NotificationsMenu/styles.js +2 -4
- 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 +2 -4
- package/esm/core/PreemptionCard/PreemptionCard.stories.js +68 -0
- package/esm/core/PreemptionCard/index.js +0 -5
- package/esm/core/PreemptionCard/models.js +3 -4
- package/esm/core/PreemptionCard/styles.js +2 -4
- package/esm/core/PreemptionCardLoading/PreemptionCardLoading.stories.js +15 -0
- package/esm/core/PreemptionCardLoading/index.js +0 -2
- package/esm/core/PreemptionCardLoading/styles.js +3 -5
- 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 +6 -10
- 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 +4 -6
- package/esm/core/Select/Option.js +0 -3
- package/esm/core/Select/Select.stories.js +246 -0
- package/esm/core/Select/index.js +2 -17
- package/esm/core/Select/styles.js +3 -13
- package/esm/core/SimpleBarChart/SimpleBarChart.stories.js +174 -0
- package/esm/core/SimpleBarChart/index.js +0 -3
- package/esm/core/SimpleBarChart/styles.js +1 -1
- package/esm/core/SimpleLineChart/SimpleLineChart.stories.js +53 -0
- package/esm/core/SimpleLineChart/index.js +0 -2
- package/esm/core/SimpleLineChart/styles.js +1 -1
- package/esm/core/Skeleton/Skeleton.stories.js +46 -0
- package/esm/core/Skeleton/index.js +0 -4
- package/esm/core/Skeleton/styles.js +1 -3
- 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 +1 -3
- package/esm/core/TabBar/index.js +0 -2
- package/esm/core/TabBar/styles.js +1 -3
- 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 +3 -5
- package/esm/core/TabNav/index.js +11 -14
- package/esm/core/TabNav/styles.js +4 -6
- 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 +0 -2
- package/esm/core/Table/styles.js +2 -4
- 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 +132 -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 +3 -5
- 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 +3 -5
- package/esm/core/Timeline/index.js +0 -2
- package/esm/core/Timeline/styles.js +1 -3
- package/esm/core/Timepicker/Timepicker.stories.js +77 -0
- package/esm/core/Timepicker/index.js +7 -16
- package/esm/core/Timepicker/styles.js +2 -4
- 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 +6 -8
- package/esm/core/Video/Video.stories.js +23 -0
- package/esm/core/Video/index.js +28 -0
- package/esm/core/Video/styles.js +7 -0
- package/esm/core/YearWheel/YearWheel.stories.js +20 -0
- package/esm/core/YearWheel/index.js +0 -2
- package/esm/core/YearWheel/styles.js +1 -3
- 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 +3 -3
- 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 +629 -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/index.js +3 -1
- 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 +1 -3
- package/esm/layout/Footer/FooterGroup/index.js +0 -2
- package/esm/layout/Footer/FooterGroup/styles.js +1 -3
- package/esm/layout/Footer/FooterLabel/index.js +0 -2
- package/esm/layout/Footer/FooterLabel/styles.js +1 -3
- 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/Footer/styles.js +1 -1
- package/esm/layout/Layout/Layout.stories.js +14 -0
- package/esm/layout/Layout/index.js +0 -2
- package/esm/layout/Layout/styles.js +1 -1
- package/esm/layout/LayoutShell/LayoutShell.stories.js +116 -0
- package/esm/layout/LayoutShell/index.js +0 -2
- package/esm/layout/LayoutShell/styles.js +5 -7
- package/esm/layout/Menu/AppPicker/index.js +3 -3
- package/esm/layout/Menu/AppPicker/styles.js +2 -11
- package/esm/layout/Menu/MainMenu/index.js +0 -2
- package/esm/layout/Menu/MainMenu/styles.js +1 -1
- package/esm/layout/Menu/MenuItem/index.js +0 -2
- package/esm/layout/Menu/MenuItem/styles.js +2 -2
- package/esm/layout/Menu/MenuSpacer/index.js +0 -2
- package/esm/layout/Menu/MenuSpacer/styles.js +1 -1
- package/esm/layout/Menu/MenuTop/index.js +0 -2
- package/esm/layout/Menu/MenuTop/styles.js +2 -4
- package/esm/layout/Menu/SecondaryMenu/index.js +0 -2
- package/esm/layout/Menu/SecondaryMenu/styles.js +4 -4
- 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/Menu/styles.js +1 -1
- 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 +1 -6
- package/esm/layout/Submenu/SubmenuLightThemeBg/index.js +0 -2
- package/esm/layout/Submenu/index.js +0 -11
- package/esm/layout/Submenu/styles.js +6 -8
- package/esm/layout/Topbar/Topbar.stories.js +23 -0
- package/esm/layout/Topbar/index.js +0 -2
- package/esm/layout/Topbar/styles.js +1 -1
- package/esm/shared/components/SbIconGrid/index.js +27 -0
- package/esm/shared/recharts/CustomLegend/styles.js +2 -4
- package/esm/shared/recharts/CustomTooltip/index.js +0 -11
- package/esm/shared/recharts/CustomTooltip/styles.js +3 -5
- 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 +31 -0
- package/lib/app-shell/index.js +1 -4
- package/lib/app-shell/theme.js +2 -1
- 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.js +0 -2
- package/lib/core/Alert/styles.d.ts +6 -6
- package/lib/core/Alert/styles.js +0 -1
- 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/AppLoader/styles.d.ts +1 -1
- 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.d.ts +18 -18
- 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 +4 -6
- 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/BarAndLineComposedChart/styles.js +1 -1
- 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/BarChartWithCustomizedEvent/styles.js +1 -1
- 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.d.ts +5 -5
- package/lib/core/Box/styles.js +2 -8
- 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 +5 -7
- package/lib/core/BoxedTable/HeaderCell/index.js +0 -4
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts +1 -1
- package/lib/core/BoxedTable/HeaderCell/styles.js +1 -1
- package/lib/core/BoxedTable/RowCell/index.js +0 -2
- package/lib/core/BoxedTable/RowCell/styles.d.ts +8 -8
- package/lib/core/BoxedTable/RowCell/styles.js +1 -3
- package/lib/core/BoxedTable/TableHeader/index.js +0 -2
- package/lib/core/BoxedTable/TableHeader/styles.js +1 -3
- package/lib/core/BoxedTable/TableRow/index.js +0 -7
- package/lib/core/BoxedTable/TableRow/styles.js +6 -8
- package/lib/core/BoxedTable/index.js +2 -5
- package/lib/core/BoxedTable/styles.js +2 -9
- 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.d.ts +18 -18
- package/lib/core/Button/styles.js +1 -5
- 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 +5 -7
- package/lib/core/Calendar/CalendarSmallEvent/index.js +0 -8
- package/lib/core/Calendar/CalendarSmallEvent/styles.js +5 -7
- package/lib/core/Calendar/index.js +0 -5
- package/lib/core/Calendar/styles.js +5 -7
- 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.d.ts +11 -11
- 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.d.ts +5 -5
- package/lib/core/Checkbox/styles.js +0 -3
- package/lib/core/CheckboxController/index.js +6 -0
- 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.d.ts +2 -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 +4 -6
- 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 +1 -3
- 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.d.ts +1 -1
- package/lib/core/CustomText/styles.js +1 -3
- 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.d.ts +4 -4
- package/lib/core/Datepicker/styles.js +6 -8
- 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.d.ts +4 -4
- package/lib/core/DatepickerRange/styles.js +6 -8
- package/lib/core/Divider/index.js +1 -2
- package/lib/core/Divider/styles.d.ts +5 -5
- 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/Dropdown/styles.d.ts +3 -3
- 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.d.ts +1 -1
- package/lib/core/DropdownMenu/styles.js +2 -4
- 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.d.ts +2 -2
- package/lib/core/Editor/styles.js +2 -4
- package/lib/core/FileInput/FileInput.stories.d.ts +15 -0
- package/lib/core/FileInput/FileInput.stories.d.ts.map +1 -0
- package/lib/core/FileInput/FileInput.stories.js +77 -0
- package/lib/core/FileInput/index.js +2 -12
- package/lib/core/FileInput/styles.d.ts +1 -1
- package/lib/core/FileInput/styles.js +11 -13
- 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 +1 -3
- 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/Header/styles.d.ts +7 -7
- 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 +1 -3
- 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.d.ts +6 -6
- 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.d.ts +4 -4
- package/lib/core/Image/styles.js +0 -1
- 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.d.ts +11 -11
- 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.js +0 -8
- package/lib/core/InfoButton/styles.d.ts +7 -7
- package/lib/core/InfoButton/styles.js +2 -4
- package/lib/core/Input/Input.stories.d.ts +20 -0
- package/lib/core/Input/Input.stories.d.ts.map +1 -0
- package/lib/core/Input/Input.stories.js +158 -0
- package/lib/core/Input/index.js +4 -10
- package/lib/core/Input/styles.d.ts +16 -16
- 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.d.ts +9 -9
- package/lib/core/Link/styles.js +1 -3
- package/lib/core/List/Item.js +1 -4
- 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.d.ts +11 -11
- 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.d.ts +1 -1
- package/lib/core/ListPager/styles.js +2 -4
- package/lib/core/MediaCarousel/index.d.ts +24 -0
- package/lib/core/MediaCarousel/index.d.ts.map +1 -0
- package/lib/core/{ImageCarousel → MediaCarousel}/index.js +36 -22
- package/lib/core/{ImageCarousel → MediaCarousel}/styles.d.ts +2 -0
- package/lib/core/MediaCarousel/styles.d.ts.map +1 -0
- package/lib/core/MediaCarousel/styles.js +55 -0
- 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/ActionButtons/index.js +1 -4
- 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.d.ts +1 -1
- package/lib/core/Modal/index.js +1 -12
- package/lib/core/Modal/styles.js +7 -11
- 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 +3 -4
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.js +0 -2
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -6
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.js +0 -2
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -3
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.js +0 -2
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -5
- package/lib/core/NoticeCard/styles.js +5 -7
- package/lib/core/NoticeCard/utils.d.ts +2 -1
- package/lib/core/NoticeCard/utils.d.ts.map +1 -1
- 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.d.ts +1 -1
- package/lib/core/NotificationCounter/styles.js +0 -4
- package/lib/core/NotificationsMenu/NotificationBell/index.js +0 -2
- package/lib/core/NotificationsMenu/NotificationBell/styles.js +2 -2
- package/lib/core/NotificationsMenu/NotificationRow/index.js +0 -2
- package/lib/core/NotificationsMenu/NotificationRow/styles.js +1 -1
- 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 +2 -4
- package/lib/core/PieChart/ActiveShape/index.d.ts +2 -1
- package/lib/core/PieChart/ActiveShape/index.d.ts.map +1 -1
- 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.d.ts +2 -1
- package/lib/core/PieChart/renderTextContent/index.d.ts.map +1 -1
- package/lib/core/PieChart/renderTextContent/index.js +1 -3
- package/lib/core/PieChart/styles.js +2 -4
- 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 +3 -4
- package/lib/core/PreemptionCard/styles.js +2 -4
- 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 +3 -5
- 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.d.ts +4 -4
- 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.d.ts +2 -2
- package/lib/core/SearchFilter/styles.js +6 -10
- 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.d.ts +1 -1
- package/lib/core/SearchSelect/styles.js +4 -6
- package/lib/core/Select/Option.js +0 -3
- 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.js +2 -17
- package/lib/core/Select/styles.d.ts +13 -13
- package/lib/core/Select/styles.js +3 -13
- 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/SimpleBarChart/styles.js +1 -1
- 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/SimpleLineChart/styles.js +1 -1
- 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 +1 -3
- 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/Spinner/styles.d.ts +5 -5
- 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 +1 -3
- package/lib/core/TabBar/index.js +0 -2
- package/lib/core/TabBar/styles.js +1 -3
- 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.d.ts +1 -1
- package/lib/core/TabNav/TabNavItem/styles.js +3 -5
- package/lib/core/TabNav/index.js +11 -14
- package/lib/core/TabNav/styles.d.ts +4 -4
- package/lib/core/TabNav/styles.js +4 -6
- 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.js +0 -2
- package/lib/core/Table/styles.d.ts +14 -14
- package/lib/core/Table/styles.js +2 -4
- 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.d.ts +12 -12
- package/lib/core/Tag/styles.js +0 -1
- package/lib/core/Text/Text.stories.d.ts +21 -0
- package/lib/core/Text/Text.stories.d.ts.map +1 -0
- package/lib/core/Text/Text.stories.js +132 -0
- package/lib/core/Text/index.js +0 -2
- package/lib/core/Text/styles.d.ts +14 -14
- 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.d.ts +3 -3
- package/lib/core/Textarea/styles.js +3 -5
- 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.d.ts +3 -3
- package/lib/core/Timeline/TimelineStep/styles.js +3 -5
- package/lib/core/Timeline/index.js +0 -2
- package/lib/core/Timeline/styles.js +1 -3
- 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.d.ts +5 -5
- package/lib/core/Timepicker/styles.js +2 -4
- 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.d.ts +2 -2
- 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.d.ts +1 -1
- package/lib/core/UserMenu/styles.js +6 -8
- package/lib/core/Video/Video.stories.d.ts +15 -0
- package/lib/core/Video/Video.stories.d.ts.map +1 -0
- package/lib/core/Video/Video.stories.js +23 -0
- package/lib/core/Video/index.d.ts +24 -0
- package/lib/core/Video/index.d.ts.map +1 -0
- package/lib/core/Video/index.js +28 -0
- package/lib/core/Video/styles.d.ts +7 -0
- package/lib/core/Video/styles.d.ts.map +1 -0
- package/lib/core/Video/styles.js +7 -0
- 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.d.ts +2 -2
- package/lib/core/YearWheel/styles.js +1 -3
- 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 +3 -3
- package/lib/globals/styles/styles.d.ts +1 -1
- 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 +629 -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.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.d.ts +2 -2
- package/lib/illustrations/styles.js +0 -1
- package/lib/illustrations/withIllustration.js +2 -4
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -1
- 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 +1 -3
- package/lib/layout/Footer/FooterGroup/index.js +0 -2
- package/lib/layout/Footer/FooterGroup/styles.js +1 -3
- package/lib/layout/Footer/FooterLabel/index.js +0 -2
- package/lib/layout/Footer/FooterLabel/styles.js +1 -3
- 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/Footer/styles.d.ts +1 -1
- package/lib/layout/Footer/styles.js +1 -1
- 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/Layout/styles.js +1 -1
- 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.d.ts +1 -1
- package/lib/layout/LayoutShell/styles.js +5 -7
- package/lib/layout/Menu/AppPicker/index.js +3 -3
- package/lib/layout/Menu/AppPicker/styles.js +2 -11
- package/lib/layout/Menu/MainMenu/index.js +0 -2
- package/lib/layout/Menu/MainMenu/styles.js +1 -1
- package/lib/layout/Menu/MenuItem/index.js +0 -2
- package/lib/layout/Menu/MenuItem/styles.js +2 -2
- package/lib/layout/Menu/MenuSpacer/index.js +0 -2
- package/lib/layout/Menu/MenuSpacer/styles.js +1 -1
- package/lib/layout/Menu/MenuTop/index.js +0 -2
- package/lib/layout/Menu/MenuTop/styles.js +2 -4
- package/lib/layout/Menu/SecondaryMenu/index.js +0 -2
- package/lib/layout/Menu/SecondaryMenu/styles.js +4 -4
- 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/Menu/styles.js +1 -1
- 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.d.ts +2 -2
- package/lib/layout/Submenu/SubmenuItem/styles.js +1 -6
- package/lib/layout/Submenu/SubmenuLightThemeBg/index.js +0 -2
- package/lib/layout/Submenu/index.js +0 -11
- package/lib/layout/Submenu/styles.d.ts +4 -4
- package/lib/layout/Submenu/styles.js +6 -8
- 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/layout/Topbar/styles.js +1 -1
- 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 +27 -0
- package/lib/shared/recharts/CustomLegend/styles.js +2 -4
- package/lib/shared/recharts/CustomTooltip/index.js +0 -11
- package/lib/shared/recharts/CustomTooltip/styles.js +3 -5
- 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.d.ts +11 -0
- package/lib/utils/useSnorreTheme.d.ts.map +1 -0
- package/lib/utils/useSnorreTheme.js +31 -0
- package/package.json +2 -1
- package/esm/core/Autocomplete/utils/useHandleOptionsHeight.js +0 -16
- package/esm/core/Datepicker/yearMonthForm.js +0 -56
- package/esm/core/EditorOld/config.js +0 -69
- package/esm/core/EditorOld/index.js +0 -147
- package/esm/core/EditorOld/styles.js +0 -65
- package/esm/core/ImageCarousel/styles.js +0 -58
- package/esm/enums/ModifierKey.js +0 -13
- package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts +0 -7
- package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts.map +0 -1
- package/lib/core/Autocomplete/utils/useHandleOptionsHeight.js +0 -16
- package/lib/core/Datepicker/yearMonthForm.d.ts +0 -10
- package/lib/core/Datepicker/yearMonthForm.d.ts.map +0 -1
- package/lib/core/Datepicker/yearMonthForm.js +0 -56
- package/lib/core/EditorOld/config.d.ts +0 -56
- package/lib/core/EditorOld/config.d.ts.map +0 -1
- package/lib/core/EditorOld/config.js +0 -69
- package/lib/core/EditorOld/index.d.ts +0 -39
- package/lib/core/EditorOld/index.d.ts.map +0 -1
- package/lib/core/EditorOld/index.js +0 -147
- package/lib/core/EditorOld/styles.d.ts +0 -23
- package/lib/core/EditorOld/styles.d.ts.map +0 -1
- package/lib/core/EditorOld/styles.js +0 -65
- package/lib/core/ImageCarousel/index.d.ts +0 -11
- package/lib/core/ImageCarousel/index.d.ts.map +0 -1
- package/lib/core/ImageCarousel/styles.d.ts.map +0 -1
- package/lib/core/ImageCarousel/styles.js +0 -58
- package/lib/enums/ModifierKey.d.ts +0 -12
- package/lib/enums/ModifierKey.d.ts.map +0 -1
- package/lib/enums/ModifierKey.js +0 -13
@@ -1,25 +1,23 @@
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
2
2
|
import { css } from '@emotion/react';
|
3
|
-
|
4
3
|
const calculateIndent = indent => {
|
5
4
|
const BASE = 8;
|
6
5
|
const INDENT_PADDING_LI = indent === 1 ? BASE * 3 : (indent + 2) * BASE;
|
7
6
|
return /*#__PURE__*/css("padding-left:", INDENT_PADDING_LI, "px!important;" + (process.env.NODE_ENV === "production" ? "" : ";label:calculateIndent;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9UYWJOYXZJdGVtL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFRWSIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9UYWJOYXYvVGFiTmF2SXRlbS9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgSUFwcFRoZW1lIH0gZnJvbSAnLi4vLi4vLi4vYXBwLXNoZWxsL3RoZW1lJ1xuXG5jb25zdCBjYWxjdWxhdGVJbmRlbnQgPSAoaW5kZW50OiBudW1iZXIpID0+IHtcbiAgY29uc3QgQkFTRSA9IDhcbiAgY29uc3QgSU5ERU5UX1BBRERJTkdfTEkgPSBpbmRlbnQgPT09IDEgPyBCQVNFICogMyA6IChpbmRlbnQgKyAyKSAqIEJBU0VcblxuICByZXR1cm4gY3NzYFxuICAgIHBhZGRpbmctbGVmdDogJHtJTkRFTlRfUEFERElOR19MSX1weCAhaW1wb3J0YW50O1xuICBgXG59XG5cbmV4cG9ydCBjb25zdCBUYWJOYXZJdGVtV3JhcHBlciA9IHN0eWxlZC5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29sZWFuXG4gICAgYm9sZD86IGJvb2xlYW5cbiAgICBpbmRlbnQ/OiBudW1iZXJcbiAgfSkgPT4gY3NzYFxuICAgIHBhZGRpbmc6IDA7XG4gICAgcGFkZGluZy1sZWZ0OiA4cHg7XG4gICAgcGFkZGluZy1yaWdodDogOHB4O1xuICAgIGp1c3RpZnktY29udGVudDogZmxleC1zdGFydDtcbiAgICBoZWlnaHQ6IDEwMCU7XG4gICAgd2lkdGg6IDEwMCU7XG5cbiAgICBvcGFjaXR5OiAke2Rpc2FibGVkID8gMC41IDogMX07XG5cbiAgICBmb250LXdlaWdodDogJHtib2xkID8gNjAwIDogNDAwfTtcblxuICAgICR7aW5kZW50ICYmIGNhbGN1bGF0ZUluZGVudChpbmRlbnQpfVxuICBgXG4pXG5cbmV4cG9ydCBjb25zdCBzdHlsZXMgPSB7XG4gIGFjdGl2ZTogKHRoZW1lOiBJQXBwVGhlbWUpID0+XG4gICAgY3NzYFxuICAgICAgJjo6YWZ0ZXIge1xuICAgICAgICB0cmFuc2l0aW9uOiBhbGwgZWFzZSAyNTBtcztcbiAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICBjb250ZW50OiAnJztcbiAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgIGhlaWdodDogNHB4O1xuICAgICAgICBib3R0b206IDA7XG4gICAgICAgIGxlZnQ6IDA7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6ICR7dGhlbWUucHJpbWFyeX07XG4gICAgICAgIHotaW5kZXg6IDE7XG4gICAgICB9XG4gICAgYCxcbn1cbiJdfQ== */");
|
8
7
|
};
|
9
|
-
|
10
|
-
export const TabNavItemWrapper = _styled("button", process.env.NODE_ENV === "production" ? {
|
8
|
+
export const TabNavItemWrapper = /*#__PURE__*/_styled("button", process.env.NODE_ENV === "production" ? {
|
11
9
|
target: "e169sb432"
|
12
10
|
} : {
|
13
11
|
target: "e169sb432",
|
14
12
|
label: "TabNavItemWrapper"
|
15
13
|
})(props => /*#__PURE__*/css("display:flex;border:none;background:transparent;cursor:pointer;padding:1rem;position:relative;font-size:16px;font-weight:bold;transition:all ease 250ms;&:hover{&::after{position:absolute;content:'';width:100%;height:4px;bottom:0;left:0;background-color:", props.theme.primary, ";z-index:1;opacity:0.4;}}" + (process.env.NODE_ENV === "production" ? "" : ";label:TabNavItemWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9UYWJOYXZJdGVtL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjZ0IiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvVGFiTmF2L1RhYk5hdkl0ZW0vc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IElBcHBUaGVtZSB9IGZyb20gJy4uLy4uLy4uL2FwcC1zaGVsbC90aGVtZSdcblxuY29uc3QgY2FsY3VsYXRlSW5kZW50ID0gKGluZGVudDogbnVtYmVyKSA9PiB7XG4gIGNvbnN0IEJBU0UgPSA4XG4gIGNvbnN0IElOREVOVF9QQURESU5HX0xJID0gaW5kZW50ID09PSAxID8gQkFTRSAqIDMgOiAoaW5kZW50ICsgMikgKiBCQVNFXG5cbiAgcmV0dXJuIGNzc2BcbiAgICBwYWRkaW5nLWxlZnQ6ICR7SU5ERU5UX1BBRERJTkdfTEl9cHggIWltcG9ydGFudDtcbiAgYFxufVxuXG5leHBvcnQgY29uc3QgVGFiTmF2SXRlbVdyYXBwZXIgPSBzdHlsZWQuYnV0dG9uKFxuICAocHJvcHMpID0+I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GQ/OiBib29sZWFuXG4gICAgaW5kZW50PzogbnVtYmVyXG4gIH0pID0+IGNzc2BcbiAgICBwYWRkaW5nOiAwO1xuICAgIHBhZGRpbmctbGVmdDogOHB4O1xuICAgIHBhZGRpbmctcmlnaHQ6IDhweDtcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtc3RhcnQ7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgIHdpZHRoOiAxMDAlO1xuXG4gICAgb3BhY2l0eTogJHtkaXNhYmxlZCA/IDAuNSA6IDF9O1xuXG4gICAgZm9udC13ZWlnaHQ6ICR7Ym9sZCA/IDYwMCA6IDQwMH07XG5cbiAgICAke2luZGVudCAmJiBjYWxjdWxhdGVJbmRlbnQoaW5kZW50KX1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3Qgc3R5bGVzID0ge1xuICBhY3RpdmU6ICh0aGVtZTogSUFwcFRoZW1lKSA9PlxuICAgIGNzc2BcbiAgICAgICY6OmFmdGVyIHtcbiAgICAgICAgdHJhbnNpdGlvbjogYWxsIGVhc2UgMjUwbXM7XG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICBoZWlnaHQ6IDRweDtcbiAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICBsZWZ0OiAwO1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLnByaW1hcnl9O1xuICAgICAgICB6LWluZGV4OiAxO1xuICAgICAgfVxuICAgIGAsXG59XG4iXX0= */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9UYWJOYXZJdGVtL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIj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bnQoaW5kZW50KX1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3Qgc3R5bGVzID0ge1xuICBhY3RpdmU6ICh0aGVtZTogSUFwcFRoZW1lKSA9PlxuICAgIGNzc2BcbiAgICAgICY6OmFmdGVyIHtcbiAgICAgICAgdHJhbnNpdGlvbjogYWxsIGVhc2UgMjUwbXM7XG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICBoZWlnaHQ6IDRweDtcbiAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICBsZWZ0OiAwO1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLnByaW1hcnl9O1xuICAgICAgICB6LWluZGV4OiAxO1xuICAgICAgfVxuICAgIGAsXG59XG4iXX0= */");
|
16
|
-
export const SelectChildrenWrapper = _styled("ul", process.env.NODE_ENV === "production" ? {
|
14
|
+
export const SelectChildrenWrapper = /*#__PURE__*/_styled("ul", process.env.NODE_ENV === "production" ? {
|
17
15
|
target: "e169sb431"
|
18
16
|
} : {
|
19
17
|
target: "e169sb431",
|
20
18
|
label: "SelectChildrenWrapper"
|
21
19
|
})(props => /*#__PURE__*/css("position:absolute;z-index:3;top:calc(", props.bottom, "px - 0.5em);left:", props.left, "px;background:#fff;box-shadow:0px 10px 15px 0px rgba(0, 0, 0, 0.1);list-style:none;margin:0;padding:0;min-width:", props.minWidth, "px;max-width:350px;max-height:40vh;overflow-y:auto;overflow-x:hidden;&>li{word-break:break-all;background:#fff;display:flex;width:calc(100% - 1em);cursor:pointer;list-style:none;padding:0.5em;padding-left:1em;border-top:1px solid ", props.theme.border, ";transition:background 150ms ease-in-out;&:first-of-type{border-top:none;}&:hover,&:focus{background:", props.theme.bgLight, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:SelectChildrenWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/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oOiAxMDAlO1xuXG4gICAgb3BhY2l0eTogJHtkaXNhYmxlZCA/IDAuNSA6IDF9O1xuXG4gICAgZm9udC13ZWlnaHQ6ICR7Ym9sZCA/IDYwMCA6IDQwMH07XG5cbiAgICAke2luZGVudCAmJiBjYWxjdWxhdGVJbmRlbnQoaW5kZW50KX1cbiAgYFxuKVxuXG5leHBvcnQgY29uc3Qgc3R5bGVzID0ge1xuICBhY3RpdmU6ICh0aGVtZTogSUFwcFRoZW1lKSA9PlxuICAgIGNzc2BcbiAgICAgICY6OmFmdGVyIHtcbiAgICAgICAgdHJhbnNpdGlvbjogYWxsIGVhc2UgMjUwbXM7XG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICBoZWlnaHQ6IDRweDtcbiAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICBsZWZ0OiAwO1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLnByaW1hcnl9O1xuICAgICAgICB6LWluZGV4OiAxO1xuICAgICAgfVxuICAgIGAsXG59XG4iXX0= */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9UYWJOYXZJdGVtL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5Q3FDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9UYWJOYXZJdGVtL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5p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ICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgaGVpZ2h0OiA0cHg7XG4gICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgbGVmdDogMDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJHt0aGVtZS5wcmltYXJ5fTtcbiAgICAgICAgei1pbmRleDogMTtcbiAgICAgIH1cbiAgICBgLFxufVxuIl19 */");
|
22
|
-
export const SelectOption = _styled("li", process.env.NODE_ENV === "production" ? {
|
20
|
+
export const SelectOption = /*#__PURE__*/_styled("li", process.env.NODE_ENV === "production" ? {
|
23
21
|
target: "e169sb430"
|
24
22
|
} : {
|
25
23
|
target: "e169sb430",
|
package/lib/core/TabNav/index.js
CHANGED
@@ -9,7 +9,6 @@ import Link from '../Link';
|
|
9
9
|
import { useIsMobile } from '../../hooks/useIsMobile';
|
10
10
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
11
11
|
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
12
|
-
|
13
12
|
const TabNav = ({
|
14
13
|
value,
|
15
14
|
children,
|
@@ -24,46 +23,45 @@ const TabNav = ({
|
|
24
23
|
breakpoint
|
25
24
|
}) => {
|
26
25
|
const isMobile = useIsMobile(breakpoint);
|
27
|
-
const theme = useTheme();
|
26
|
+
const theme = useTheme();
|
28
27
|
|
28
|
+
// Container dimensions
|
29
29
|
const ref = React.useRef(null);
|
30
30
|
const {
|
31
31
|
width: containerWidth
|
32
|
-
} = useContainerDimensions(ref);
|
32
|
+
} = useContainerDimensions(ref);
|
33
33
|
|
34
|
+
// Button dimensions
|
34
35
|
const buttonRef = React.useRef(null);
|
35
36
|
const {
|
36
37
|
width: actionsWidth
|
37
38
|
} = useContainerDimensions(buttonRef);
|
38
39
|
const values = React.Children.map(children, child => child !== null && child.props)?.filter(Boolean) || [];
|
39
|
-
|
40
40
|
const displayNameFromValue = value => {
|
41
41
|
const item = values.find(item => item.value === value);
|
42
42
|
return item?.displayText || String(value);
|
43
43
|
};
|
44
|
-
|
45
44
|
const valueWithSelectItemIndex = values.findIndex(item => item.selectItems?.length);
|
46
|
-
|
47
45
|
const listOfSelectedItems = items => {
|
48
46
|
if (!items) return [];
|
49
|
-
return items.map(prop => ({
|
47
|
+
return items.map(prop => ({
|
48
|
+
...prop
|
50
49
|
}));
|
51
50
|
};
|
52
|
-
|
53
51
|
if (valueWithSelectItemIndex > -1) {
|
54
|
-
const selectedItems = values[valueWithSelectItemIndex].selectItems;
|
52
|
+
const selectedItems = values[valueWithSelectItemIndex].selectItems;
|
55
53
|
|
54
|
+
// If we have no actual selectedItems, dont show any label while in the mobile/dropdown version
|
56
55
|
const isEverySelectedItemDisabledOrLink = Number(selectedItems?.length) >= 1 && selectedItems?.every(item => item.disabled || item.onClick);
|
57
|
-
|
58
56
|
if (isEverySelectedItemDisabledOrLink) {
|
59
|
-
const itemsWithOnClick = selectedItems?.filter(item => item.onClick) || [];
|
57
|
+
const itemsWithOnClick = selectedItems?.filter(item => item.onClick) || [];
|
60
58
|
|
59
|
+
// Remove valueWithSelectItemIndex from the values array, but add on itemsWithOnClick in the list
|
61
60
|
values.splice(valueWithSelectItemIndex, 1, ...listOfSelectedItems(itemsWithOnClick));
|
62
61
|
} else {
|
63
62
|
values.splice(valueWithSelectItemIndex + 1, 0, ...listOfSelectedItems(selectedItems));
|
64
63
|
}
|
65
64
|
}
|
66
|
-
|
67
65
|
return _jsx(TabContextProvider, {
|
68
66
|
onChange: onChange,
|
69
67
|
value: value || values?.[0].value,
|
@@ -75,6 +73,7 @@ const TabNav = ({
|
|
75
73
|
}) => {
|
76
74
|
if (breakpoint && isMobile || !breakpoint && actionsWidth + childrenTotalWidth > containerWidth) {
|
77
75
|
// Render dropdown instead of tabs
|
76
|
+
|
78
77
|
return _jsxs(SelectWrapper, {
|
79
78
|
children: [_jsx(Select, {
|
80
79
|
input: true,
|
@@ -109,7 +108,6 @@ const TabNav = ({
|
|
109
108
|
}), actions]
|
110
109
|
});
|
111
110
|
}
|
112
|
-
|
113
111
|
return _jsxs(TabNavWrapper, {
|
114
112
|
ref: ref,
|
115
113
|
theme: theme,
|
@@ -124,6 +122,5 @@ const TabNav = ({
|
|
124
122
|
})
|
125
123
|
});
|
126
124
|
};
|
127
|
-
|
128
125
|
export { TabNav };
|
129
126
|
export default TabNav;
|
@@ -16,10 +16,10 @@ export declare const SelectWrapper: import("@emotion/styled").StyledComponent<{
|
|
16
16
|
as?: import("react").ElementType<any> | undefined;
|
17
17
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
18
18
|
export declare const styles: {
|
19
|
-
maxWidth: (width: number) => import("@emotion/
|
20
|
-
color: (color: string) => import("@emotion/
|
21
|
-
underlineColor: (color: string) => import("@emotion/
|
22
|
-
vertical: import("@emotion/
|
19
|
+
maxWidth: (width: number) => import("@emotion/utils").SerializedStyles;
|
20
|
+
color: (color: string) => import("@emotion/utils").SerializedStyles;
|
21
|
+
underlineColor: (color: string) => import("@emotion/utils").SerializedStyles;
|
22
|
+
vertical: import("@emotion/utils").SerializedStyles;
|
23
23
|
};
|
24
24
|
export default styles;
|
25
25
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -1,28 +1,26 @@
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
2
|
-
|
3
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)."; }
|
4
|
-
|
5
3
|
import { css } from '@emotion/react';
|
6
4
|
import bp from '../../globals/styles/breakpoints';
|
7
|
-
export const TabNavWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
|
5
|
+
export const TabNavWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
8
6
|
target: "evtutk53"
|
9
7
|
} : {
|
10
8
|
target: "evtutk53",
|
11
9
|
label: "TabNavWrapper"
|
12
10
|
})(props => /*#__PURE__*/css("display:flex;width:100%;position:relative;padding:0;margin:0;align-content:space-between;align-items:flex-end;&:after{content:'';display:block;width:100%;position:absolute;bottom:0;height:4px;background:", props.theme.border, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:TabNavWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS2dCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuXG5leHBvcnQgY29uc3QgVGFiTmF2V3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wcykgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgbWFyZ2luOiAwO1xuICAgIGFsaWduLWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gICAgYWxpZ24taXRlbXM6IGZsZXgtZW5kO1xuXG4gICAgJjphZnRlciB7XG4gICAgICBjb250ZW50OiAnJztcbiAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICBib3R0b206IDA7XG4gICAgICBoZWlnaHQ6I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GNzc2BcbiAgICAmIGJ1dHRvbjo6YWZ0ZXIsXG4gICAgJiBidXR0b246aG92ZXI6OmFmdGVyIHtcbiAgICAgIGJhY2tncm91bmQ6ICR7Y29sb3J9O1xuICAgIH1cbiAgYCxcbiAgdmVydGljYWw6IGNzc2BcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuXG4gICAgJjphZnRlciB7XG4gICAgICBsZWZ0OiAwO1xuICAgICAgdG9wOiAwO1xuICAgICAgd2lkdGg6IDRweDtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5cbiAgICAmIGJ1dHRvbjo6YWZ0ZXIsXG4gICAgJiBidXR0b246aG92ZXI6OmFmdGVyIHtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgIHdpZHRoOiA0cHg7XG4gICAgICB0b3A6IDA7XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcbiJdfQ== */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSTZCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuXG5leHBvcnQgY29uc3QgVGFiTmF2V3JhcHBlciA9IHN0eWx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uICAmID4gc3BhbiA+IGRpdiA+IHVsID4gbGkgPiBidXR0b24ge1xuICAgIHdvcmQtYnJlYWs6IGJyZWFrLWFsbDtcbiAgICB0ZXh0LWFsaWduOiBsZWZ0O1xuICB9XG5gXG5cbmV4cG9ydCBjb25zdCBzdHlsZXMgPSB7XG4gIG1heFdpZHRoOiAod2lkdGg6IG51bWJlcikgPT4gY3NzYFxuICAgIG1heC13aWR0aDogJHt3aWR0aH1weDtcbiAgYCxcblxuICBjb2xvcjogKGNvbG9yOiBzdHJpbmcpID0+IGNzc2BcbiAgICAmIGJ1dHRvbiB7XG4gICAgICBjb2xvcjogJHtjb2xvcn07XG4gICAgfVxuICBgLFxuICB1bmRlcmxpbmVDb2xvcjogKGNvbG9yOiBzdHJpbmcpID0+IGNzc2BcbiAgICAmIGJ1dHRvbjo6YWZ0ZXIsXG4gICAgJiBidXR0b246aG92ZXI6OmFmdGVyIHtcbiAgICAgIGJhY2tncm91bmQ6ICR7Y29sb3J9O1xuICAgIH1cbiAgYCxcbiAgdmVydGljYWw6IGNzc2BcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuXG4gICAgJjphZnRlciB7XG4gICAgICBsZWZ0OiAwO1xuICAgICAgdG9wOiAwO1xuICAgICAgd2lkdGg6IDRweDtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5cbiAgICAmIGJ1dHRvbjo6YWZ0ZXIsXG4gICAgJiBidXR0b246aG92ZXI6OmFmdGVyIHtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgIHdpZHRoOiA0cHg7XG4gICAgICB0b3A6IDA7XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcbiJdfQ== */");
|
13
|
-
export const TabNavActions = _styled("span", process.env.NODE_ENV === "production" ? {
|
11
|
+
export const TabNavActions = /*#__PURE__*/_styled("span", process.env.NODE_ENV === "production" ? {
|
14
12
|
target: "evtutk52"
|
15
13
|
} : {
|
16
14
|
target: "evtutk52",
|
17
15
|
label: "TabNavActions"
|
18
16
|
})("position:absolute;right:0;bottom:1em;@media (max-width: ", bp.medium, "){bottom:0;padding:1em;&:after{display:none;}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEJ3QyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9UYWJOYXYvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCBicCBmcm9tICcuLi8uLi9nbG9iYWxzL3N0eWxlcy9icmVha3BvaW50cydcblxuZXhwb3J0IGNvbnN0IFRhYk5hdldyYXBwZXIgPSBzdHlsZWQuZGl2KFxuICAocHJvcHMpID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBwYWRkaW5nOiAwO1xuICAgIG1hcmdpbjogMDtcbiAgICBhbGlnbi1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgIGFsaWduLWl0ZW1zOiBmbGV4LWVuZDtcblxuICAgICY6YWZ0ZXIge1xuICAgICAgY29udGVudDogJyc7XG4gICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgYm90dG9tOiAwO1xuICAgICAgaGVpZ2h0OiA0c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yaW5nKSA9PiBjc3NgXG4gICAgJiBidXR0b246OmFmdGVyLFxuICAgICYgYnV0dG9uOmhvdmVyOjphZnRlciB7XG4gICAgICBiYWNrZ3JvdW5kOiAke2NvbG9yfTtcbiAgICB9XG4gIGAsXG4gIHZlcnRpY2FsOiBjc3NgXG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcblxuICAgICY6YWZ0ZXIge1xuICAgICAgbGVmdDogMDtcbiAgICAgIHRvcDogMDtcbiAgICAgIHdpZHRoOiA0cHg7XG4gICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgfVxuXG4gICAgJiBidXR0b246OmFmdGVyLFxuICAgICYgYnV0dG9uOmhvdmVyOjphZnRlciB7XG4gICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgICB3aWR0aDogNHB4O1xuICAgICAgdG9wOiAwO1xuICAgIH1cbiAgYCxcbn1cblxuZXhwb3J0IGRlZmF1bHQgc3R5bGVzXG4iXX0= */"));
|
19
|
-
export const SelectLinkWrapper = _styled("li", process.env.NODE_ENV === "production" ? {
|
17
|
+
export const SelectLinkWrapper = /*#__PURE__*/_styled("li", process.env.NODE_ENV === "production" ? {
|
20
18
|
target: "evtutk51"
|
21
19
|
} : {
|
22
20
|
target: "evtutk51",
|
23
21
|
label: "SelectLinkWrapper"
|
24
22
|
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeUMwQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9UYWJOYXYvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGV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ogNHB4O1xuICAgICAgdG9wOiAwO1xuICAgIH1cbiAgYCxcbn1cblxuZXhwb3J0IGRlZmF1bHQgc3R5bGVzXG4iXX0= */");
|
25
|
-
export const SelectWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
|
23
|
+
export const SelectWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
26
24
|
target: "evtutk50"
|
27
25
|
} : {
|
28
26
|
target: "evtutk50",
|
@@ -16,7 +16,6 @@ export const useContainerDimensions = ref => {
|
|
16
16
|
}), [ref]);
|
17
17
|
useEffect(() => {
|
18
18
|
const handleResize = () => setDimensions(getDimensions());
|
19
|
-
|
20
19
|
if (ref.current) setDimensions(getDimensions());
|
21
20
|
window.addEventListener('resize', handleResize);
|
22
21
|
return () => {
|
package/lib/core/Table/Cell.js
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
import React from 'react';
|
3
3
|
import { styles } from './styles';
|
4
4
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
5
|
-
|
6
5
|
const Cell = ({
|
7
6
|
startAlign,
|
8
7
|
centerAlign,
|
@@ -15,10 +14,10 @@ const Cell = ({
|
|
15
14
|
...props
|
16
15
|
}) => {
|
17
16
|
const Tag = header ? 'th' : 'td';
|
18
|
-
return _jsx(Tag, {
|
17
|
+
return _jsx(Tag, {
|
18
|
+
...props,
|
19
19
|
css: () => [styles.cell_defaults, startAlign && styles.cell_left, centerAlign && styles.cell_center, endAlign && styles.cell_right, truncate && styles.cell_truncate, wrap && styles.cell_wrap],
|
20
20
|
children: children
|
21
21
|
});
|
22
22
|
};
|
23
|
-
|
24
23
|
export default Cell;
|
package/lib/core/Table/Row.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { styles } from './styles';
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
-
|
5
4
|
const Row = ({
|
6
5
|
children,
|
7
6
|
danger,
|
@@ -13,10 +12,10 @@ const Row = ({
|
|
13
12
|
border,
|
14
13
|
...props
|
15
14
|
}) => {
|
16
|
-
return /*#__PURE__*/_jsx("tr", {
|
15
|
+
return /*#__PURE__*/_jsx("tr", {
|
16
|
+
...props,
|
17
17
|
css: theme => [border && styles.row_border(theme), danger && styles.row_danger(theme), info && styles.row_info(theme), muted && styles.row_muted(theme), notice && styles.row_notice(theme), success && styles.row_success(theme), warning && styles.row_warning(theme)],
|
18
18
|
children: children
|
19
19
|
});
|
20
20
|
};
|
21
|
-
|
22
21
|
export default Row;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
2
|
+
export default _default;
|
3
|
+
export declare const Default: {
|
4
|
+
render: () => JSX.Element;
|
5
|
+
name: string;
|
6
|
+
};
|
7
|
+
export declare const SeveralArgsTable: {
|
8
|
+
render: () => JSX.Element;
|
9
|
+
name: string;
|
10
|
+
};
|
11
|
+
//# sourceMappingURL=Table.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Table/Table.stories.tsx"],"names":[],"mappings":";AAKA,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAqBnB,CAAA;AAED,eAAO,MAAM,gBAAgB;;;CA0B5B,CAAA"}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import Table from '.';
|
2
|
+
import Cell from './Cell';
|
3
|
+
import Row from './Row';
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
5
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
6
|
+
export default {
|
7
|
+
title: 'Core/Table',
|
8
|
+
component: Table
|
9
|
+
};
|
10
|
+
export const Default = {
|
11
|
+
render: () => /*#__PURE__*/_jsxs(Table, {
|
12
|
+
children: [/*#__PURE__*/_jsx("thead", {
|
13
|
+
children: /*#__PURE__*/_jsxs(Row, {
|
14
|
+
children: [/*#__PURE__*/_jsx(Cell, {
|
15
|
+
header: true,
|
16
|
+
children: "Header 1"
|
17
|
+
}), /*#__PURE__*/_jsx(Cell, {
|
18
|
+
header: true,
|
19
|
+
children: "Header 2"
|
20
|
+
}), /*#__PURE__*/_jsx(Cell, {
|
21
|
+
header: true,
|
22
|
+
children: "Header 3"
|
23
|
+
})]
|
24
|
+
})
|
25
|
+
}), /*#__PURE__*/_jsx("tbody", {
|
26
|
+
children: /*#__PURE__*/_jsxs(Row, {
|
27
|
+
children: [/*#__PURE__*/_jsx(Cell, {
|
28
|
+
centerAlign: true,
|
29
|
+
children: "Content"
|
30
|
+
}), /*#__PURE__*/_jsx(Cell, {
|
31
|
+
children: "Content"
|
32
|
+
}), /*#__PURE__*/_jsx(Cell, {
|
33
|
+
children: "Content"
|
34
|
+
})]
|
35
|
+
})
|
36
|
+
})]
|
37
|
+
}),
|
38
|
+
name: 'Default'
|
39
|
+
};
|
40
|
+
export const SeveralArgsTable = {
|
41
|
+
render: () => /*#__PURE__*/_jsxs(Table, {
|
42
|
+
children: [/*#__PURE__*/_jsx("thead", {
|
43
|
+
children: /*#__PURE__*/_jsxs(Row, {
|
44
|
+
border: true,
|
45
|
+
children: [/*#__PURE__*/_jsx(Cell, {
|
46
|
+
header: true,
|
47
|
+
children: "Header 1"
|
48
|
+
}), /*#__PURE__*/_jsx(Cell, {
|
49
|
+
header: true,
|
50
|
+
children: "Header 2"
|
51
|
+
}), /*#__PURE__*/_jsx(Cell, {
|
52
|
+
header: true,
|
53
|
+
children: "Header 3"
|
54
|
+
})]
|
55
|
+
})
|
56
|
+
}), /*#__PURE__*/_jsxs("tbody", {
|
57
|
+
children: [/*#__PURE__*/_jsxs(Row, {
|
58
|
+
danger: true,
|
59
|
+
children: [/*#__PURE__*/_jsx(Cell, {
|
60
|
+
startAlign: true,
|
61
|
+
children: "Content"
|
62
|
+
}), /*#__PURE__*/_jsx(Cell, {
|
63
|
+
centerAlign: true,
|
64
|
+
children: "Content"
|
65
|
+
}), /*#__PURE__*/_jsx(Cell, {
|
66
|
+
endAlign: true,
|
67
|
+
children: "Content"
|
68
|
+
})]
|
69
|
+
}), /*#__PURE__*/_jsxs(Row, {
|
70
|
+
success: true,
|
71
|
+
children: [/*#__PURE__*/_jsx(Cell, {
|
72
|
+
truncate: true,
|
73
|
+
children: "Alot of content goes here, is it to much??"
|
74
|
+
}), /*#__PURE__*/_jsx(Cell, {
|
75
|
+
children: "Content"
|
76
|
+
}), /*#__PURE__*/_jsx(Cell, {
|
77
|
+
children: "Content"
|
78
|
+
})]
|
79
|
+
})]
|
80
|
+
})]
|
81
|
+
}),
|
82
|
+
name: 'Several ArgsTable'
|
83
|
+
};
|
package/lib/core/Table/index.js
CHANGED
@@ -3,12 +3,10 @@ import { TableWrapper } from './styles';
|
|
3
3
|
import Cell from './Cell';
|
4
4
|
import Row from './Row';
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
6
|
-
|
7
6
|
const Table = props => {
|
8
7
|
return /*#__PURE__*/_jsx(TableWrapper, {
|
9
8
|
children: props.children
|
10
9
|
});
|
11
10
|
};
|
12
|
-
|
13
11
|
export { Cell, Row };
|
14
12
|
export default Table;
|
@@ -9,19 +9,19 @@ export declare const TableBodyWrapper: import("@emotion/styled").StyledComponent
|
|
9
9
|
as?: import("react").ElementType<any> | undefined;
|
10
10
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, {}>;
|
11
11
|
export declare const styles: {
|
12
|
-
cell_defaults: import("@emotion/
|
13
|
-
row_defaults: import("@emotion/
|
14
|
-
row_border: (theme: IAppTheme) => import("@emotion/
|
15
|
-
row_danger: (theme: IAppTheme) => import("@emotion/
|
16
|
-
row_info: (theme: IAppTheme) => import("@emotion/
|
17
|
-
row_muted: (theme: IAppTheme) => import("@emotion/
|
18
|
-
row_notice: (theme: IAppTheme) => import("@emotion/
|
19
|
-
row_success: (theme: IAppTheme) => import("@emotion/
|
20
|
-
row_warning: (theme: IAppTheme) => import("@emotion/
|
21
|
-
cell_right: import("@emotion/
|
22
|
-
cell_left: import("@emotion/
|
23
|
-
cell_center: import("@emotion/
|
24
|
-
cell_truncate: import("@emotion/
|
25
|
-
cell_wrap: import("@emotion/
|
12
|
+
cell_defaults: import("@emotion/utils").SerializedStyles;
|
13
|
+
row_defaults: import("@emotion/utils").SerializedStyles;
|
14
|
+
row_border: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
15
|
+
row_danger: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
16
|
+
row_info: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
17
|
+
row_muted: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
18
|
+
row_notice: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
19
|
+
row_success: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
20
|
+
row_warning: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
21
|
+
cell_right: import("@emotion/utils").SerializedStyles;
|
22
|
+
cell_left: import("@emotion/utils").SerializedStyles;
|
23
|
+
cell_center: import("@emotion/utils").SerializedStyles;
|
24
|
+
cell_truncate: import("@emotion/utils").SerializedStyles;
|
25
|
+
cell_wrap: import("@emotion/utils").SerializedStyles;
|
26
26
|
};
|
27
27
|
//# sourceMappingURL=styles.d.ts.map
|
package/lib/core/Table/styles.js
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
2
|
-
|
3
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)."; }
|
4
|
-
|
5
3
|
import { css } from '@emotion/react';
|
6
|
-
export const TableWrapper = _styled("table", process.env.NODE_ENV === "production" ? {
|
4
|
+
export const TableWrapper = /*#__PURE__*/_styled("table", process.env.NODE_ENV === "production" ? {
|
7
5
|
target: "e1hlre5g1"
|
8
6
|
} : {
|
9
7
|
target: "e1hlre5g1",
|
@@ -17,7 +15,7 @@ export const TableWrapper = _styled("table", process.env.NODE_ENV === "productio
|
|
17
15
|
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYmxlL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJd0MiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvVGFibGUvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IElBcHBUaGVtZSB9IGZyb20gJy4uLy4uL2FwcC1zaGVsbC90aGVtZSdcblxuZXhwb3J0IGNvbnN0IFRhYmxlV3JhcHBlciA9IHN0eWxlZC50YWJsZWBcbiAgYm9yZGVyLWNvbGxhcHNlOiBjb2xsYXBzZTtcbmBcblxuZXhwb3J0IGNvbnN0IFRhYmxlQm9keVdyYXBwZXIgPSBzdHlsZWQudGJvZHlgYFxuXG5leHBvcnQgY29uc3Qgc3R5bGVzID0ge1xuICBjZWxsX2RlZmF1bHRzOiBjc3NgXG4gICAgdGV4dC1hbGlnbjogbGVmdDtcbiAgICBsaW5lLWhlaWdodDogMjRweDtcbiAgICBwYWRkaW5nOiA1cHggMDtcbiAgICBwYWRkaW5nLXJpZ2h0OiAxNnB4O1xuICBgLFxuICByb3dfZGVmYXVsdHM6IGNzc2BgLFxuICByb3dfYm9yZGVyOiAodGhlbWU6IElBcHBUaGVtZSkgPT4gY3NzYFxuICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCAke3RoZW1lLnByaW1hcnl9O1xuICAgIGJvc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mZsb3c6IGVsbGlwc2lzO1xuXG4gICAgJjpob3ZlciB7XG4gICAgICBtYXgtd2lkdGg6IG5vbmU7XG4gICAgICBvdmVyZmxvdzogaW5oZXJpdDtcbiAgICAgIHdoaXRlLXNwYWNlOiBpbmhlcml0O1xuICAgICAgd29yZC13cmFwOiBicmVhay13b3JkO1xuICAgIH1cbiAgYCxcbiAgY2VsbF93cmFwOiBjc3NgXG4gICAgd2hpdGUtc3BhY2U6IG5vcm1hbDtcbiAgICB3b3JkLXdyYXA6IGJyZWFrLXdvcmQ7XG4gIGAsXG59XG4iXX0= */",
|
18
16
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
19
17
|
});
|
20
|
-
export const TableBodyWrapper = _styled("tbody", process.env.NODE_ENV === "production" ? {
|
18
|
+
export const TableBodyWrapper = /*#__PURE__*/_styled("tbody", process.env.NODE_ENV === "production" ? {
|
21
19
|
target: "e1hlre5g0"
|
22
20
|
} : {
|
23
21
|
target: "e1hlre5g0",
|
@@ -0,0 +1,59 @@
|
|
1
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
|
2
|
+
export default _default;
|
3
|
+
export declare const Default: {
|
4
|
+
render: () => JSX.Element;
|
5
|
+
name: string;
|
6
|
+
};
|
7
|
+
export declare const Neutral: {
|
8
|
+
render: () => JSX.Element;
|
9
|
+
name: string;
|
10
|
+
};
|
11
|
+
export declare const Success: {
|
12
|
+
render: () => JSX.Element;
|
13
|
+
name: string;
|
14
|
+
};
|
15
|
+
export declare const Info: {
|
16
|
+
render: () => JSX.Element;
|
17
|
+
name: string;
|
18
|
+
};
|
19
|
+
export declare const Danger: {
|
20
|
+
render: () => JSX.Element;
|
21
|
+
name: string;
|
22
|
+
};
|
23
|
+
export declare const Dark: {
|
24
|
+
render: () => JSX.Element;
|
25
|
+
name: string;
|
26
|
+
};
|
27
|
+
export declare const Light: {
|
28
|
+
render: () => JSX.Element;
|
29
|
+
name: string;
|
30
|
+
};
|
31
|
+
export declare const Outline: {
|
32
|
+
render: () => JSX.Element;
|
33
|
+
name: string;
|
34
|
+
};
|
35
|
+
export declare const TagWithClose: {
|
36
|
+
render: () => JSX.Element;
|
37
|
+
name: string;
|
38
|
+
};
|
39
|
+
export declare const TagWithLoading: {
|
40
|
+
render: () => JSX.Element;
|
41
|
+
name: string;
|
42
|
+
};
|
43
|
+
export declare const TagWithCloseAndStrictClick: {
|
44
|
+
render: () => JSX.Element;
|
45
|
+
name: string;
|
46
|
+
};
|
47
|
+
export declare const TagWithCloseLoadingAndStrictClick: {
|
48
|
+
render: () => JSX.Element;
|
49
|
+
name: string;
|
50
|
+
};
|
51
|
+
export declare const TagWithCloseAndStrictClickWithColor: {
|
52
|
+
render: () => JSX.Element;
|
53
|
+
name: string;
|
54
|
+
};
|
55
|
+
export declare const WithIcon: {
|
56
|
+
render: () => JSX.Element;
|
57
|
+
name: string;
|
58
|
+
};
|
59
|
+
//# sourceMappingURL=Tag.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Tag/Tag.stories.tsx"],"names":[],"mappings":";AAIA,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,IAAI;;;CAGhB,CAAA;AAED,eAAO,MAAM,MAAM;;;CAGlB,CAAA;AAED,eAAO,MAAM,IAAI;;;CAGhB,CAAA;AAED,eAAO,MAAM,KAAK;;;CAGjB,CAAA;AAED,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,YAAY;;;CAOxB,CAAA;AAED,eAAO,MAAM,cAAc;;;CAG1B,CAAA;AAED,eAAO,MAAM,0BAA0B;;;CAOtC,CAAA;AAED,eAAO,MAAM,iCAAiC;;;CAO7C,CAAA;AAED,eAAO,MAAM,mCAAmC;;;CAO/C,CAAA;AAED,eAAO,MAAM,QAAQ;;;CAGpB,CAAA"}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
import Tag from '.';
|
2
|
+
import IconComment from '../../icons/General/IconComment';
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
+
export default {
|
5
|
+
title: 'Core/Tag',
|
6
|
+
component: Tag
|
7
|
+
};
|
8
|
+
export const Default = {
|
9
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
10
|
+
children: "Here"
|
11
|
+
}),
|
12
|
+
name: 'Default'
|
13
|
+
};
|
14
|
+
export const Neutral = {
|
15
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
16
|
+
neutral: true,
|
17
|
+
children: "Here"
|
18
|
+
}),
|
19
|
+
name: 'Neutral'
|
20
|
+
};
|
21
|
+
export const Success = {
|
22
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
23
|
+
success: true,
|
24
|
+
children: "Here"
|
25
|
+
}),
|
26
|
+
name: 'Success'
|
27
|
+
};
|
28
|
+
export const Info = {
|
29
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
30
|
+
info: true,
|
31
|
+
children: "Here"
|
32
|
+
}),
|
33
|
+
name: 'Info'
|
34
|
+
};
|
35
|
+
export const Danger = {
|
36
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
37
|
+
danger: true,
|
38
|
+
children: "Here"
|
39
|
+
}),
|
40
|
+
name: 'Danger'
|
41
|
+
};
|
42
|
+
export const Dark = {
|
43
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
44
|
+
dark: true,
|
45
|
+
children: "Here"
|
46
|
+
}),
|
47
|
+
name: 'Dark'
|
48
|
+
};
|
49
|
+
export const Light = {
|
50
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
51
|
+
light: true,
|
52
|
+
children: "Here"
|
53
|
+
}),
|
54
|
+
name: 'Light'
|
55
|
+
};
|
56
|
+
export const Outline = {
|
57
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
58
|
+
outline: true,
|
59
|
+
children: "There"
|
60
|
+
}),
|
61
|
+
name: 'Outline'
|
62
|
+
};
|
63
|
+
export const TagWithClose = {
|
64
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
65
|
+
withclose: true,
|
66
|
+
onClick: () => console.log('close'),
|
67
|
+
children: "Here"
|
68
|
+
}),
|
69
|
+
name: 'Tag with close'
|
70
|
+
};
|
71
|
+
export const TagWithLoading = {
|
72
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
73
|
+
loading: true,
|
74
|
+
children: "Here"
|
75
|
+
}),
|
76
|
+
name: 'Tag with loading'
|
77
|
+
};
|
78
|
+
export const TagWithCloseAndStrictClick = {
|
79
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
80
|
+
strictClose: true,
|
81
|
+
onClick: () => console.log('close'),
|
82
|
+
children: "Here"
|
83
|
+
}),
|
84
|
+
name: 'Tag with close and strict click'
|
85
|
+
};
|
86
|
+
export const TagWithCloseLoadingAndStrictClick = {
|
87
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
88
|
+
strictClose: true,
|
89
|
+
loading: true,
|
90
|
+
onClick: () => console.log('close'),
|
91
|
+
children: "Here"
|
92
|
+
}),
|
93
|
+
name: 'Tag with close, loading and strict click'
|
94
|
+
};
|
95
|
+
export const TagWithCloseAndStrictClickWithColor = {
|
96
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
97
|
+
strictClose: true,
|
98
|
+
closeColor: "red",
|
99
|
+
onClick: () => console.log('close'),
|
100
|
+
children: "Here"
|
101
|
+
}),
|
102
|
+
name: 'Tag with close and strict click with color'
|
103
|
+
};
|
104
|
+
export const WithIcon = {
|
105
|
+
render: () => /*#__PURE__*/_jsx(Tag, {
|
106
|
+
icon: /*#__PURE__*/_jsx(IconComment, {
|
107
|
+
size: 14
|
108
|
+
}),
|
109
|
+
children: "3"
|
110
|
+
}),
|
111
|
+
name: 'With icon'
|
112
|
+
};
|
package/lib/core/Tag/index.js
CHANGED
@@ -7,7 +7,6 @@ import Spinner from '../Spinner';
|
|
7
7
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
8
8
|
import { Fragment as _Fragment } from "@emotion/react/jsx-runtime";
|
9
9
|
import { jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
10
|
-
|
11
10
|
const Tag = ({
|
12
11
|
icon,
|
13
12
|
trackingEvent,
|
@@ -41,5 +40,4 @@ const Tag = ({
|
|
41
40
|
})]
|
42
41
|
});
|
43
42
|
};
|
44
|
-
|
45
43
|
export default Tag;
|