@bbl-digital/snorre 2.2.124 → 2.2.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/_/husky.sh +30 -30
- package/.prettierrc +6 -6
- package/.vscode/settings.json +3 -3
- package/README.md +3 -3
- package/dist/bundle.js +468 -464
- package/esm/app-shell/index.js +1 -1
- package/esm/core/Alert/styles.js +6 -6
- package/esm/core/AppLoader/styles.js +1 -1
- package/esm/core/Autocomplete/styles.js +16 -16
- package/esm/core/Banner/styles.js +4 -4
- package/esm/core/BarAndLineComposedChart/styles.js +1 -1
- package/esm/core/BarChartWithCustomizedEvent/styles.js +1 -1
- package/esm/core/Box/styles.js +7 -7
- package/esm/core/BoxedTable/HeaderCell/styles.js +2 -2
- package/esm/core/BoxedTable/RowCell/index.js +1 -1
- package/esm/core/BoxedTable/RowCell/styles.js +9 -9
- package/esm/core/BoxedTable/TableHeader/styles.js +1 -1
- package/esm/core/BoxedTable/TableRow/styles.js +8 -8
- package/esm/core/BoxedTable/styles.js +8 -8
- package/esm/core/Button/styles.js +18 -18
- package/esm/core/Calendar/CalendarEvent/styles.js +5 -5
- package/esm/core/Calendar/CalendarSmallEvent/styles.js +5 -5
- package/esm/core/Calendar/styles.js +6 -6
- package/esm/core/Card/styles.js +11 -11
- package/esm/core/Checkbox/styles.js +5 -5
- package/esm/core/CollapseList/styles.js +2 -2
- package/esm/core/CommentsTimeline/CommentLine/styles.js +4 -4
- package/esm/core/CommentsTimeline/styles.js +1 -1
- package/esm/core/CustomText/styles.js +2 -2
- package/esm/core/Datepicker/styles.js +8 -8
- package/esm/core/Divider/styles.js +5 -5
- package/esm/core/Dropdown/styles.js +3 -3
- package/esm/core/DropdownMenu/styles.js +3 -3
- package/esm/core/Editor/styles.js +4 -4
- package/esm/core/EditorOld/index.js +4 -4
- package/esm/core/EditorOld/styles.js +6 -6
- package/esm/core/FileInput/styles.js +12 -12
- package/esm/core/Header/styles.js +7 -7
- package/esm/core/HighlightText/styles.js +1 -1
- package/esm/core/Html/styles.js +6 -6
- package/esm/core/Image/styles.js +3 -3
- package/esm/core/InfoButton/styles.js +9 -9
- package/esm/core/Input/styles.js +14 -14
- package/esm/core/Link/styles.js +9 -9
- package/esm/core/List/Item.js +1 -1
- package/esm/core/List/styles.js +11 -11
- package/esm/core/ListPager/styles.js +3 -3
- package/esm/core/Modal/styles.js +8 -8
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
- package/esm/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
- package/esm/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
- package/esm/core/NoticeCard/styles.js +4 -4
- package/esm/core/NotificationsMenu/NotificationBell/styles.js +2 -2
- package/esm/core/NotificationsMenu/NotificationRow/styles.js +1 -1
- package/esm/core/NotificationsMenu/styles.js +2 -2
- package/esm/core/PieChart/styles.js +2 -2
- package/esm/core/PreemptionCard/index.js +1 -1
- package/esm/core/PreemptionCard/styles.js +3 -3
- package/esm/core/PreemptionCardLoading/styles.js +3 -3
- package/esm/core/Radio/styles.js +3 -3
- package/esm/core/Select/index.js +5 -1
- package/esm/core/Select/styles.js +15 -15
- package/esm/core/SimpleBarChart/styles.js +1 -1
- package/esm/core/SimpleLineChart/styles.js +1 -1
- package/esm/core/Skeleton/styles.js +4 -4
- package/esm/core/Spinner/styles.js +5 -5
- package/esm/core/TabBar/TabItem/styles.js +1 -1
- package/esm/core/TabBar/styles.js +1 -1
- package/esm/core/TabNav/TabNavItem/styles.js +2 -2
- package/esm/core/TabNav/styles.js +7 -7
- package/esm/core/Table/styles.js +16 -16
- package/esm/core/Tag/styles.js +12 -12
- package/esm/core/Text/styles.js +14 -14
- package/esm/core/Textarea/styles.js +6 -6
- package/esm/core/Timeline/TimelineStep/styles.js +6 -6
- package/esm/core/Timeline/styles.js +1 -1
- package/esm/core/Timepicker/styles.js +6 -6
- package/esm/core/UnitIllustration/index.js +9 -9
- package/esm/core/UserMenu/styles.js +7 -7
- package/esm/core/YearWheel/styles.js +3 -3
- package/esm/illustrations/styles.js +2 -2
- package/esm/layout/Footer/FooterButton/styles.js +1 -1
- package/esm/layout/Footer/FooterCol/styles.js +1 -1
- package/esm/layout/Footer/FooterGroup/styles.js +1 -1
- package/esm/layout/Footer/FooterLabel/styles.js +1 -1
- package/esm/layout/Footer/FooterLink/styles.js +1 -1
- package/esm/layout/Footer/styles.js +2 -2
- package/esm/layout/Layout/styles.js +1 -1
- package/esm/layout/LayoutShell/styles.js +10 -10
- package/esm/layout/Menu/AppPicker/styles.js +3 -3
- package/esm/layout/Menu/MainMenu/styles.js +1 -1
- package/esm/layout/Menu/MenuItem/styles.js +2 -2
- package/esm/layout/Menu/MenuSpacer/styles.js +1 -1
- package/esm/layout/Menu/MenuTop/styles.js +3 -3
- package/esm/layout/Menu/SecondaryMenu/styles.js +4 -4
- package/esm/layout/Menu/SecondaryMenuItem/styles.js +1 -1
- package/esm/layout/Menu/styles.js +1 -1
- package/esm/layout/Submenu/SubmenuItem/styles.js +3 -3
- package/esm/layout/Submenu/styles.js +10 -10
- package/esm/layout/Topbar/styles.js +1 -1
- package/esm/shared/recharts/CustomLegend/styles.js +2 -2
- package/esm/shared/recharts/CustomTooltip/styles.js +3 -3
- package/esm/utils/format.js +6 -6
- package/esm/utils/time.js +14 -14
- package/infrastructure/azure-pipelines.yml +29 -29
- package/jest.config.js +33 -33
- package/lib/app-shell/index.d.ts +8 -8
- package/lib/app-shell/index.js +1 -1
- package/lib/app-shell/theme.d.ts +122 -122
- package/lib/core/Alert/index.d.ts +21 -21
- package/lib/core/Alert/styles.d.ts +11 -11
- package/lib/core/Alert/styles.js +6 -6
- package/lib/core/AppLoader/index.d.ts +8 -8
- package/lib/core/AppLoader/styles.d.ts +6 -6
- package/lib/core/AppLoader/styles.js +1 -1
- package/lib/core/Autocomplete/index.d.ts +76 -76
- package/lib/core/Autocomplete/styles.d.ts +21 -21
- package/lib/core/Autocomplete/styles.js +16 -16
- package/lib/core/Autocomplete/utils/useHandleOptionsHeight.d.ts +6 -6
- package/lib/core/Banner/index.d.ts +18 -18
- package/lib/core/Banner/styles.d.ts +17 -17
- package/lib/core/Banner/styles.js +4 -4
- package/lib/core/BarAndLineComposedChart/index.d.ts +56 -56
- package/lib/core/BarAndLineComposedChart/styles.d.ts +8 -8
- package/lib/core/BarAndLineComposedChart/styles.js +1 -1
- package/lib/core/BarChartWithCustomizedEvent/index.d.ts +55 -55
- package/lib/core/BarChartWithCustomizedEvent/styles.d.ts +9 -9
- package/lib/core/BarChartWithCustomizedEvent/styles.js +1 -1
- package/lib/core/Box/index.d.ts +25 -25
- package/lib/core/Box/styles.d.ts +39 -39
- package/lib/core/Box/styles.js +7 -7
- package/lib/core/BoxedTable/HeaderCell/index.d.ts +22 -22
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts +3 -3
- package/lib/core/BoxedTable/HeaderCell/styles.js +2 -2
- package/lib/core/BoxedTable/RowCell/index.d.ts +24 -24
- package/lib/core/BoxedTable/RowCell/index.js +1 -1
- package/lib/core/BoxedTable/RowCell/styles.d.ts +12 -12
- package/lib/core/BoxedTable/RowCell/styles.js +9 -9
- package/lib/core/BoxedTable/TableHeader/index.d.ts +5 -5
- package/lib/core/BoxedTable/TableHeader/styles.d.ts +5 -5
- package/lib/core/BoxedTable/TableHeader/styles.js +1 -1
- package/lib/core/BoxedTable/TableRow/index.d.ts +17 -17
- package/lib/core/BoxedTable/TableRow/styles.d.ts +55 -55
- package/lib/core/BoxedTable/TableRow/styles.js +8 -8
- package/lib/core/BoxedTable/index.d.ts +11 -11
- package/lib/core/BoxedTable/styles.d.ts +2 -2
- package/lib/core/BoxedTable/styles.js +8 -8
- package/lib/core/Button/index.d.ts +34 -34
- package/lib/core/Button/styles.d.ts +24 -24
- package/lib/core/Button/styles.js +18 -18
- package/lib/core/Calendar/CalendarEvent/index.d.ts +9 -9
- package/lib/core/Calendar/CalendarEvent/styles.d.ts +18 -18
- package/lib/core/Calendar/CalendarEvent/styles.js +5 -5
- package/lib/core/Calendar/CalendarSmallEvent/index.d.ts +9 -9
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +18 -18
- package/lib/core/Calendar/CalendarSmallEvent/styles.js +5 -5
- package/lib/core/Calendar/index.d.ts +14 -14
- package/lib/core/Calendar/styles.d.ts +12 -12
- package/lib/core/Calendar/styles.js +6 -6
- package/lib/core/Calendar/util.d.ts +2 -2
- package/lib/core/Card/index.d.ts +29 -29
- package/lib/core/Card/styles.d.ts +16 -16
- package/lib/core/Card/styles.js +11 -11
- package/lib/core/Checkbox/index.d.ts +30 -30
- package/lib/core/Checkbox/styles.d.ts +10 -10
- package/lib/core/Checkbox/styles.js +5 -5
- package/lib/core/CollapseList/Item.d.ts +11 -11
- package/lib/core/CollapseList/index.d.ts +4 -4
- package/lib/core/CollapseList/styles.d.ts +24 -24
- package/lib/core/CollapseList/styles.js +2 -2
- package/lib/core/CommentsTimeline/CommentLine/index.d.ts +23 -23
- package/lib/core/CommentsTimeline/CommentLine/styles.d.ts +14 -14
- package/lib/core/CommentsTimeline/CommentLine/styles.js +4 -4
- package/lib/core/CommentsTimeline/index.d.ts +5 -5
- package/lib/core/CommentsTimeline/styles.d.ts +5 -5
- package/lib/core/CommentsTimeline/styles.js +1 -1
- package/lib/core/CustomText/index.d.ts +24 -24
- package/lib/core/CustomText/styles.d.ts +6 -6
- package/lib/core/CustomText/styles.js +2 -2
- package/lib/core/Datepicker/index.d.ts +28 -28
- package/lib/core/Datepicker/styles.d.ts +27 -27
- package/lib/core/Datepicker/styles.js +8 -8
- package/lib/core/Datepicker/yearMonthForm.d.ts +9 -9
- package/lib/core/Divider/index.d.ts +21 -21
- package/lib/core/Divider/styles.d.ts +10 -10
- package/lib/core/Divider/styles.js +5 -5
- package/lib/core/Dropdown/index.d.ts +25 -25
- package/lib/core/Dropdown/styles.d.ts +8 -8
- package/lib/core/Dropdown/styles.js +3 -3
- package/lib/core/DropdownMenu/DropdownMenuOption.d.ts +10 -10
- package/lib/core/DropdownMenu/index.d.ts +9 -9
- package/lib/core/DropdownMenu/styles.d.ts +11 -11
- package/lib/core/DropdownMenu/styles.js +3 -3
- package/lib/core/Editor/config.d.ts +5 -5
- package/lib/core/Editor/index.d.ts +38 -38
- package/lib/core/Editor/styles.d.ts +14 -14
- package/lib/core/Editor/styles.js +4 -4
- package/lib/core/EditorOld/config.d.ts +55 -55
- package/lib/core/EditorOld/index.d.ts +38 -38
- package/lib/core/EditorOld/index.js +4 -4
- package/lib/core/EditorOld/styles.d.ts +22 -22
- package/lib/core/EditorOld/styles.js +6 -6
- package/lib/core/FileInput/index.d.ts +27 -27
- package/lib/core/FileInput/styles.d.ts +66 -66
- package/lib/core/FileInput/styles.js +12 -12
- package/lib/core/Header/index.d.ts +16 -16
- package/lib/core/Header/styles.d.ts +12 -12
- package/lib/core/Header/styles.js +7 -7
- package/lib/core/HighlightText/index.d.ts +11 -11
- package/lib/core/HighlightText/styles.d.ts +5 -5
- package/lib/core/HighlightText/styles.js +1 -1
- package/lib/core/Html/index.d.ts +20 -20
- package/lib/core/Html/styles.d.ts +11 -11
- package/lib/core/Html/styles.js +6 -6
- package/lib/core/Image/index.d.ts +20 -20
- package/lib/core/Image/styles.d.ts +7 -7
- package/lib/core/Image/styles.js +3 -3
- package/lib/core/InfoButton/index.d.ts +18 -18
- package/lib/core/InfoButton/styles.d.ts +36 -36
- package/lib/core/InfoButton/styles.js +9 -9
- package/lib/core/Input/index.d.ts +53 -53
- package/lib/core/Input/styles.d.ts +19 -19
- package/lib/core/Input/styles.js +14 -14
- package/lib/core/Link/index.d.ts +25 -25
- package/lib/core/Link/styles.d.ts +14 -14
- package/lib/core/Link/styles.js +9 -9
- package/lib/core/List/Item.d.ts +3 -3
- package/lib/core/List/Item.js +1 -1
- package/lib/core/List/index.d.ts +32 -32
- package/lib/core/List/styles.d.ts +34 -34
- package/lib/core/List/styles.js +11 -11
- package/lib/core/ListPager/index.d.ts +15 -15
- package/lib/core/ListPager/styles.d.ts +10 -10
- package/lib/core/ListPager/styles.js +3 -3
- package/lib/core/Modal/index.d.ts +39 -39
- package/lib/core/Modal/styles.d.ts +40 -40
- package/lib/core/Modal/styles.js +8 -8
- package/lib/core/NoticeCard/index.d.ts +22 -22
- package/lib/core/NoticeCard/models.d.ts +29 -29
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/index.d.ts +9 -9
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.d.ts +18 -18
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/index.d.ts +8 -8
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.d.ts +5 -5
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/index.d.ts +10 -10
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.d.ts +13 -13
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
- package/lib/core/NoticeCard/styles.d.ts +19 -19
- package/lib/core/NoticeCard/styles.js +4 -4
- package/lib/core/NoticeCard/utils.d.ts +3 -3
- package/lib/core/NotificationsMenu/NotificationBell/index.d.ts +7 -7
- package/lib/core/NotificationsMenu/NotificationBell/styles.d.ts +6 -6
- package/lib/core/NotificationsMenu/NotificationBell/styles.js +2 -2
- package/lib/core/NotificationsMenu/NotificationRow/index.d.ts +15 -15
- package/lib/core/NotificationsMenu/NotificationRow/styles.d.ts +2 -2
- package/lib/core/NotificationsMenu/NotificationRow/styles.js +1 -1
- package/lib/core/NotificationsMenu/index.d.ts +11 -11
- package/lib/core/NotificationsMenu/styles.d.ts +9 -9
- package/lib/core/NotificationsMenu/styles.js +2 -2
- package/lib/core/PieChart/ActiveShape/index.d.ts +4 -4
- package/lib/core/PieChart/index.d.ts +30 -30
- package/lib/core/PieChart/renderTextContent/index.d.ts +4 -4
- package/lib/core/PieChart/styles.d.ts +14 -14
- package/lib/core/PieChart/styles.js +2 -2
- package/lib/core/PreemptionCard/index.d.ts +9 -9
- package/lib/core/PreemptionCard/index.js +1 -1
- package/lib/core/PreemptionCard/models.d.ts +115 -115
- package/lib/core/PreemptionCard/styles.d.ts +10 -10
- package/lib/core/PreemptionCard/styles.js +3 -3
- package/lib/core/PreemptionCardLoading/index.d.ts +5 -5
- package/lib/core/PreemptionCardLoading/styles.d.ts +13 -13
- package/lib/core/PreemptionCardLoading/styles.js +3 -3
- package/lib/core/Radio/index.d.ts +14 -14
- package/lib/core/Radio/styles.d.ts +8 -8
- package/lib/core/Radio/styles.js +3 -3
- package/lib/core/Select/Option.d.ts +16 -16
- package/lib/core/Select/index.d.ts +47 -45
- package/lib/core/Select/index.d.ts.map +1 -1
- package/lib/core/Select/index.js +5 -1
- package/lib/core/Select/styles.d.ts +29 -29
- package/lib/core/Select/styles.js +15 -15
- package/lib/core/SimpleBarChart/index.d.ts +45 -45
- package/lib/core/SimpleBarChart/styles.d.ts +8 -8
- package/lib/core/SimpleBarChart/styles.js +1 -1
- package/lib/core/SimpleLineChart/index.d.ts +61 -61
- package/lib/core/SimpleLineChart/styles.d.ts +8 -8
- package/lib/core/SimpleLineChart/styles.js +1 -1
- package/lib/core/Skeleton/index.d.ts +10 -10
- package/lib/core/Skeleton/styles.d.ts +26 -26
- package/lib/core/Skeleton/styles.js +4 -4
- package/lib/core/Spinner/index.d.ts +11 -11
- package/lib/core/Spinner/styles.d.ts +10 -10
- package/lib/core/Spinner/styles.js +5 -5
- package/lib/core/TabBar/TabItem/index.d.ts +13 -13
- package/lib/core/TabBar/TabItem/styles.d.ts +5 -5
- package/lib/core/TabBar/TabItem/styles.js +1 -1
- package/lib/core/TabBar/index.d.ts +5 -5
- package/lib/core/TabBar/styles.d.ts +5 -5
- package/lib/core/TabBar/styles.js +1 -1
- package/lib/core/TabNav/TabContext.d.ts +17 -17
- package/lib/core/TabNav/TabNavItem/index.d.ts +14 -14
- package/lib/core/TabNav/TabNavItem/styles.d.ts +9 -9
- package/lib/core/TabNav/TabNavItem/styles.js +2 -2
- package/lib/core/TabNav/index.d.ts +24 -24
- package/lib/core/TabNav/styles.d.ts +20 -20
- package/lib/core/TabNav/styles.js +7 -7
- package/lib/core/TabNav/utils/useContainerDimensions.d.ts +4 -4
- package/lib/core/Table/Cell.d.ts +22 -22
- package/lib/core/Table/Row.d.ts +21 -21
- package/lib/core/Table/index.d.ts +10 -10
- package/lib/core/Table/styles.d.ts +26 -26
- package/lib/core/Table/styles.js +16 -16
- package/lib/core/Tag/index.d.ts +38 -38
- package/lib/core/Tag/styles.d.ts +17 -17
- package/lib/core/Tag/styles.js +12 -12
- package/lib/core/Text/index.d.ts +44 -44
- package/lib/core/Text/styles.d.ts +19 -19
- package/lib/core/Text/styles.js +14 -14
- package/lib/core/Textarea/index.d.ts +28 -28
- package/lib/core/Textarea/styles.d.ts +16 -16
- package/lib/core/Textarea/styles.js +6 -6
- package/lib/core/Timeline/TimelineStep/index.d.ts +14 -14
- package/lib/core/Timeline/TimelineStep/styles.d.ts +16 -16
- package/lib/core/Timeline/TimelineStep/styles.js +6 -6
- package/lib/core/Timeline/index.d.ts +3 -3
- package/lib/core/Timeline/styles.d.ts +5 -5
- package/lib/core/Timeline/styles.js +1 -1
- package/lib/core/Timepicker/index.d.ts +34 -34
- package/lib/core/Timepicker/styles.d.ts +18 -18
- package/lib/core/Timepicker/styles.js +6 -6
- package/lib/core/UnitIllustration/index.d.ts +6 -6
- package/lib/core/UnitIllustration/index.js +9 -9
- package/lib/core/UserMenu/UserMenuOption.d.ts +7 -7
- package/lib/core/UserMenu/index.d.ts +17 -17
- package/lib/core/UserMenu/styles.d.ts +27 -27
- package/lib/core/UserMenu/styles.js +7 -7
- package/lib/core/YearWheel/index.d.ts +10 -10
- package/lib/core/YearWheel/styles.d.ts +8 -8
- package/lib/core/YearWheel/styles.js +3 -3
- package/lib/core/private/ButtonOrLink.d.ts +39 -39
- package/lib/core/private/preemption.d.ts +5 -5
- package/lib/core/utils/debounce.d.ts +2 -2
- package/lib/globals/styles/breakpoints.d.ts +9 -9
- package/lib/globals/styles/paddings.d.ts +8 -8
- package/lib/globals/validation/regularExpressions.d.ts +9 -9
- package/lib/hooks/useIsMobile.d.ts +1 -1
- package/lib/hooks/useScreenOrientation.d.ts +2 -2
- package/lib/icons/General/IconApartment.d.ts +3 -3
- package/lib/icons/General/IconArchives.d.ts +3 -3
- package/lib/icons/General/IconArea.d.ts +3 -3
- package/lib/icons/General/IconArrowDown.d.ts +3 -3
- package/lib/icons/General/IconArrowLeft.d.ts +3 -3
- package/lib/icons/General/IconArrowRight.d.ts +3 -3
- package/lib/icons/General/IconArrowUp.d.ts +3 -3
- package/lib/icons/General/IconAttachment.d.ts +3 -3
- package/lib/icons/General/IconBack.d.ts +3 -3
- package/lib/icons/General/IconBath.d.ts +3 -3
- package/lib/icons/General/IconBblFlame.d.ts +3 -3
- package/lib/icons/General/IconBblShield.d.ts +3 -3
- package/lib/icons/General/IconBblWater.d.ts +3 -3
- package/lib/icons/General/IconBellOutline.d.ts +3 -3
- package/lib/icons/General/IconBlock.d.ts +3 -3
- package/lib/icons/General/IconBoard.d.ts +3 -3
- package/lib/icons/General/IconBookmarkFilled.d.ts +3 -3
- package/lib/icons/General/IconBookmarkOutline.d.ts +3 -3
- package/lib/icons/General/IconBus.d.ts +3 -3
- package/lib/icons/General/IconCalendar.d.ts +3 -3
- package/lib/icons/General/IconCar.d.ts +3 -3
- package/lib/icons/General/IconCaretDown.d.ts +3 -3
- package/lib/icons/General/IconCaretLeft.d.ts +3 -3
- package/lib/icons/General/IconCaretRight.d.ts +3 -3
- package/lib/icons/General/IconCaretUp.d.ts +3 -3
- package/lib/icons/General/IconCheck.d.ts +3 -3
- package/lib/icons/General/IconCheckedFilled.d.ts +3 -3
- package/lib/icons/General/IconCheckedOutline.d.ts +3 -3
- package/lib/icons/General/IconChevronDown.d.ts +3 -3
- package/lib/icons/General/IconChevronLeft.d.ts +3 -3
- package/lib/icons/General/IconChevronRight.d.ts +3 -3
- package/lib/icons/General/IconChoice.d.ts +3 -3
- package/lib/icons/General/IconClose.d.ts +3 -3
- package/lib/icons/General/IconCloseAlt.d.ts +3 -3
- package/lib/icons/General/IconComment.d.ts +3 -3
- package/lib/icons/General/IconCommunication.d.ts +3 -3
- package/lib/icons/General/IconCommunicationFilled.d.ts +3 -3
- package/lib/icons/General/IconCompanyBuilding.d.ts +3 -3
- package/lib/icons/General/IconCompanyBuildingFilled.d.ts +3 -3
- package/lib/icons/General/IconCompanyBuildingOutline.d.ts +3 -3
- package/lib/icons/General/IconDashboard.d.ts +3 -3
- package/lib/icons/General/IconDashboardFilled.d.ts +3 -3
- package/lib/icons/General/IconDelete.d.ts +3 -3
- package/lib/icons/General/IconDocument.d.ts +3 -3
- package/lib/icons/General/IconDocumentFilled.d.ts +3 -3
- package/lib/icons/General/IconDoor.d.ts +3 -3
- package/lib/icons/General/IconDotFilled.d.ts +3 -3
- package/lib/icons/General/IconDotOutline.d.ts +3 -3
- package/lib/icons/General/IconDownload.d.ts +3 -3
- package/lib/icons/General/IconDraft.d.ts +3 -3
- package/lib/icons/General/IconEarth.d.ts +3 -3
- package/lib/icons/General/IconEconomy.d.ts +3 -3
- package/lib/icons/General/IconEconomyFilled.d.ts +3 -3
- package/lib/icons/General/IconEdit.d.ts +3 -3
- package/lib/icons/General/IconElevator.d.ts +3 -3
- package/lib/icons/General/IconErrorFilled.d.ts +3 -3
- package/lib/icons/General/IconErrorOutline.d.ts +3 -3
- package/lib/icons/General/IconExternalLink.d.ts +3 -3
- package/lib/icons/General/IconEye.d.ts +3 -3
- package/lib/icons/General/IconEyeDeny.d.ts +3 -3
- package/lib/icons/General/IconFamily.d.ts +3 -3
- package/lib/icons/General/IconFerry.d.ts +3 -3
- package/lib/icons/General/IconFile.d.ts +3 -3
- package/lib/icons/General/IconFileAdd.d.ts +3 -3
- package/lib/icons/General/IconFileCopy.d.ts +3 -3
- package/lib/icons/General/IconFileEdit.d.ts +3 -3
- package/lib/icons/General/IconFileExcel.d.ts +3 -3
- package/lib/icons/General/IconFilePDF.d.ts +3 -3
- package/lib/icons/General/IconFileWord.d.ts +3 -3
- package/lib/icons/General/IconFillOut.d.ts +3 -3
- package/lib/icons/General/IconFilterList.d.ts +3 -3
- package/lib/icons/General/IconFloor.d.ts +3 -3
- package/lib/icons/General/IconForward.d.ts +3 -3
- package/lib/icons/General/IconFullscreenClose.d.ts +3 -3
- package/lib/icons/General/IconFullscreenOpen.d.ts +3 -3
- package/lib/icons/General/IconGarage.d.ts +3 -3
- package/lib/icons/General/IconGrid.d.ts +3 -3
- package/lib/icons/General/IconGym.d.ts +3 -3
- package/lib/icons/General/IconHearth.d.ts +3 -3
- package/lib/icons/General/IconHearthOutline.d.ts +3 -3
- package/lib/icons/General/IconHelp.d.ts +3 -3
- package/lib/icons/General/IconHistory.d.ts +3 -3
- package/lib/icons/General/IconHouse.d.ts +3 -3
- package/lib/icons/General/IconHouseOutline.d.ts +3 -3
- package/lib/icons/General/IconHumans.d.ts +3 -3
- package/lib/icons/General/IconImportantComment.d.ts +3 -3
- package/lib/icons/General/IconInbox.d.ts +3 -3
- package/lib/icons/General/IconInfoFilled.d.ts +3 -3
- package/lib/icons/General/IconInfoOutline.d.ts +3 -3
- package/lib/icons/General/IconJointcost.d.ts +3 -3
- package/lib/icons/General/IconJointcost2.d.ts +3 -3
- package/lib/icons/General/IconKey.d.ts +3 -3
- package/lib/icons/General/IconKitchen.d.ts +3 -3
- package/lib/icons/General/IconLabel.d.ts +3 -3
- package/lib/icons/General/IconLeisureTime.d.ts +3 -3
- package/lib/icons/General/IconLock.d.ts +3 -3
- package/lib/icons/General/IconLockLocked.d.ts +3 -3
- package/lib/icons/General/IconLockOpen.d.ts +3 -3
- package/lib/icons/General/IconLookup.d.ts +3 -3
- package/lib/icons/General/IconLookupFilled.d.ts +3 -3
- package/lib/icons/General/IconMail.d.ts +3 -3
- package/lib/icons/General/IconMap.d.ts +3 -3
- package/lib/icons/General/IconMembership.d.ts +3 -3
- package/lib/icons/General/IconMembershipFilled.d.ts +3 -3
- package/lib/icons/General/IconMenu.d.ts +3 -3
- package/lib/icons/General/IconMinus.d.ts +3 -3
- package/lib/icons/General/IconMinusAlt.d.ts +3 -3
- package/lib/icons/General/IconMinusAltFilled.d.ts +3 -3
- package/lib/icons/General/IconMoney.d.ts +3 -3
- package/lib/icons/General/IconParking.d.ts +3 -3
- package/lib/icons/General/IconPaymentCard.d.ts +3 -3
- package/lib/icons/General/IconPhone.d.ts +3 -3
- package/lib/icons/General/IconPlus.d.ts +3 -3
- package/lib/icons/General/IconPlusAlt.d.ts +3 -3
- package/lib/icons/General/IconPortalUser.d.ts +3 -3
- package/lib/icons/General/IconPrint.d.ts +3 -3
- package/lib/icons/General/IconProfile.d.ts +3 -3
- package/lib/icons/General/IconProfileFilled.d.ts +3 -3
- package/lib/icons/General/IconReciept.d.ts +3 -3
- package/lib/icons/General/IconRedo.d.ts +3 -3
- package/lib/icons/General/IconRefresh.d.ts +3 -3
- package/lib/icons/General/IconReply.d.ts +3 -3
- package/lib/icons/General/IconReplyAll.d.ts +3 -3
- package/lib/icons/General/IconRoom.d.ts +3 -3
- package/lib/icons/General/IconSave.d.ts +3 -3
- package/lib/icons/General/IconSearch.d.ts +3 -3
- package/lib/icons/General/IconSend.d.ts +3 -3
- package/lib/icons/General/IconSettings.d.ts +3 -3
- package/lib/icons/General/IconShopping.d.ts +3 -3
- package/lib/icons/General/IconSign.d.ts +3 -3
- package/lib/icons/General/IconSort.d.ts +3 -3
- package/lib/icons/General/IconStarFilled.d.ts +3 -3
- package/lib/icons/General/IconStarHalf.d.ts +3 -3
- package/lib/icons/General/IconStarOutline.d.ts +3 -3
- package/lib/icons/General/IconStore.d.ts +3 -3
- package/lib/icons/General/IconSubway.d.ts +3 -3
- package/lib/icons/General/IconSwitch.d.ts +3 -3
- package/lib/icons/General/IconTrain.d.ts +3 -3
- package/lib/icons/General/IconTram.d.ts +3 -3
- package/lib/icons/General/IconTransport.d.ts +3 -3
- package/lib/icons/General/IconTypeOfBuilding.d.ts +3 -3
- package/lib/icons/General/IconTypeOfBuildingOutline.d.ts +3 -3
- package/lib/icons/General/IconUndo.d.ts +3 -3
- package/lib/icons/General/IconUpload.d.ts +3 -3
- package/lib/icons/General/IconUser.d.ts +3 -3
- package/lib/icons/General/IconUserThin.d.ts +3 -3
- package/lib/icons/General/IconVote.d.ts +3 -3
- package/lib/icons/General/IconWalk.d.ts +3 -3
- package/lib/icons/General/IconWarning.d.ts +3 -3
- package/lib/icons/General/IconWarningBell.d.ts +3 -3
- package/lib/icons/General/IconWork.d.ts +3 -3
- package/lib/icons/General/IconWorkFilled.d.ts +3 -3
- package/lib/icons/General/IconZip.d.ts +3 -3
- package/lib/icons/Logos/IconAmericanExpress.d.ts +3 -3
- package/lib/icons/Logos/IconBankAxept.d.ts +3 -3
- package/lib/icons/Logos/IconGmail.d.ts +3 -3
- package/lib/icons/Logos/IconMasterCard.d.ts +3 -3
- package/lib/icons/Logos/IconOffice365.d.ts +3 -3
- package/lib/icons/Logos/IconVisa.d.ts +3 -3
- package/lib/icons/withIcon.d.ts +27 -27
- package/lib/illustrations/Backgrounds/IllustrationHousesBackground.d.ts +3 -3
- package/lib/illustrations/Backgrounds/IllustrationHousesBackgroundWithComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationError.d.ts +3 -3
- package/lib/illustrations/General/IllustrationErrorGeneric.d.ts +3 -3
- package/lib/illustrations/General/IllustrationHighHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationHighHouseComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationHouseComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationHouseMissing.d.ts +3 -3
- package/lib/illustrations/General/IllustrationLowHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationLowHouseComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationPaperCompleted.d.ts +3 -3
- package/lib/illustrations/General/IllustrationPaperMissing.d.ts +3 -3
- package/lib/illustrations/General/IllustrationSemiDetachedHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationSemiDetachedHouseComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationSmallHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationSmallHouseComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationTerraceBlock.d.ts +3 -3
- package/lib/illustrations/General/IllustrationTerraceBlockComposition.d.ts +3 -3
- package/lib/illustrations/General/IllustrationTownHouse.d.ts +3 -3
- package/lib/illustrations/General/IllustrationTownHouseComposition.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteBuilding.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteCoffeeBook.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteComputer.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteGift.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySitePapers.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySitePiggyBank.d.ts +3 -3
- package/lib/illustrations/MySite/IllustrationMySiteTransfer.d.ts +3 -3
- package/lib/illustrations/styles.d.ts +3 -3
- package/lib/illustrations/styles.js +2 -2
- package/lib/illustrations/withIllustration.d.ts +24 -24
- package/lib/index.d.ts +286 -286
- package/lib/layout/Footer/FooterButton/index.d.ts +15 -15
- package/lib/layout/Footer/FooterButton/styles.d.ts +16 -16
- package/lib/layout/Footer/FooterButton/styles.js +1 -1
- package/lib/layout/Footer/FooterCol/index.d.ts +5 -5
- package/lib/layout/Footer/FooterCol/styles.d.ts +5 -5
- package/lib/layout/Footer/FooterCol/styles.js +1 -1
- package/lib/layout/Footer/FooterGroup/index.d.ts +5 -5
- package/lib/layout/Footer/FooterGroup/styles.d.ts +5 -5
- package/lib/layout/Footer/FooterGroup/styles.js +1 -1
- package/lib/layout/Footer/FooterLabel/index.d.ts +5 -5
- package/lib/layout/Footer/FooterLabel/styles.d.ts +5 -5
- package/lib/layout/Footer/FooterLabel/styles.js +1 -1
- package/lib/layout/Footer/FooterLink/index.d.ts +19 -19
- package/lib/layout/Footer/FooterLink/styles.d.ts +16 -16
- package/lib/layout/Footer/FooterLink/styles.js +1 -1
- package/lib/layout/Footer/index.d.ts +6 -6
- package/lib/layout/Footer/styles.d.ts +7 -7
- package/lib/layout/Footer/styles.js +2 -2
- package/lib/layout/Layout/index.d.ts +6 -6
- package/lib/layout/Layout/styles.d.ts +5 -5
- package/lib/layout/Layout/styles.js +1 -1
- package/lib/layout/LayoutShell/index.d.ts +15 -15
- package/lib/layout/LayoutShell/styles.d.ts +21 -21
- package/lib/layout/LayoutShell/styles.js +10 -10
- package/lib/layout/Menu/AppPicker/index.d.ts +19 -19
- package/lib/layout/Menu/AppPicker/styles.d.ts +7 -7
- package/lib/layout/Menu/AppPicker/styles.js +3 -3
- package/lib/layout/Menu/MainMenu/index.d.ts +7 -7
- package/lib/layout/Menu/MainMenu/styles.d.ts +2 -2
- package/lib/layout/Menu/MainMenu/styles.js +1 -1
- package/lib/layout/Menu/MenuItem/index.d.ts +17 -17
- package/lib/layout/Menu/MenuItem/styles.d.ts +3 -3
- package/lib/layout/Menu/MenuItem/styles.js +2 -2
- package/lib/layout/Menu/MenuSpacer/index.d.ts +3 -3
- package/lib/layout/Menu/MenuSpacer/styles.d.ts +5 -5
- package/lib/layout/Menu/MenuSpacer/styles.js +1 -1
- package/lib/layout/Menu/MenuTop/index.d.ts +11 -11
- package/lib/layout/Menu/MenuTop/styles.d.ts +21 -21
- package/lib/layout/Menu/MenuTop/styles.js +3 -3
- package/lib/layout/Menu/SecondaryMenu/index.d.ts +13 -13
- package/lib/layout/Menu/SecondaryMenu/styles.d.ts +11 -11
- package/lib/layout/Menu/SecondaryMenu/styles.js +4 -4
- package/lib/layout/Menu/SecondaryMenuItem/index.d.ts +15 -15
- package/lib/layout/Menu/SecondaryMenuItem/styles.d.ts +1 -1
- package/lib/layout/Menu/SecondaryMenuItem/styles.js +1 -1
- package/lib/layout/Menu/index.d.ts +9 -9
- package/lib/layout/Menu/styles.d.ts +2 -2
- package/lib/layout/Menu/styles.js +1 -1
- package/lib/layout/Submenu/SubmenuItem/index.d.ts +18 -18
- package/lib/layout/Submenu/SubmenuItem/styles.d.ts +4 -4
- package/lib/layout/Submenu/SubmenuItem/styles.js +3 -3
- package/lib/layout/Submenu/SubmenuLightThemeBg/index.d.ts +7 -7
- package/lib/layout/Submenu/index.d.ts +16 -16
- package/lib/layout/Submenu/styles.d.ts +29 -29
- package/lib/layout/Submenu/styles.js +10 -10
- package/lib/layout/Topbar/index.d.ts +7 -7
- package/lib/layout/Topbar/styles.d.ts +2 -2
- package/lib/layout/Topbar/styles.js +1 -1
- package/lib/shared/recharts/CustomLegend/index.d.ts +3 -3
- package/lib/shared/recharts/CustomLegend/styles.d.ts +13 -13
- package/lib/shared/recharts/CustomLegend/styles.js +2 -2
- package/lib/shared/recharts/CustomTooltip/index.d.ts +8 -8
- package/lib/shared/recharts/CustomTooltip/styles.d.ts +15 -15
- package/lib/shared/recharts/CustomTooltip/styles.js +3 -3
- package/lib/utils/accountNumber.d.ts +3 -3
- package/lib/utils/alpha.d.ts +2 -2
- package/lib/utils/array.d.ts +2 -2
- package/lib/utils/dates.d.ts +14 -14
- package/lib/utils/file.d.ts +2 -2
- package/lib/utils/format.d.ts +20 -20
- package/lib/utils/format.js +6 -6
- package/lib/utils/formatGraphPrice.d.ts +2 -2
- package/lib/utils/image.d.ts +2 -2
- package/lib/utils/pagination.d.ts +6 -6
- package/lib/utils/phone.d.ts +2 -2
- package/lib/utils/removeFocusOnMouseUp.d.ts +2 -2
- package/lib/utils/time.d.ts +25 -25
- package/lib/utils/time.js +14 -14
- package/lib/utils/url.d.ts +3 -3
- package/package.json +1 -1
- package/rollup.config.js +13 -13
- package/theme-generator.js +599 -599
package/lib/core/Radio/styles.js
CHANGED
@@ -2,17 +2,17 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
2
2
|
|
3
3
|
import { css } from '@emotion/react';
|
4
4
|
const styles = {
|
5
|
-
default: theme => /*#__PURE__*/css("display:inline-block;position:relative;padding-left:25px;margin-right:60px;cursor:pointer;font-size:14px;user-select:none;input{position:absolute;opacity:0;cursor:pointer;&:checked~span:after{display:block;}&:focus-within~span{border-color:", theme.primary, ";}}span{position:absolute;top:0;left:0;height:14px;width:14px;border:1px solid ", theme.border, ";border-radius:50%;&:after{content:'';position:absolute;display:none;top:3px;left:3px;width:8px;height:8px;border-radius:50%;background:", theme.primary, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:styles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
5
|
+
default: theme => /*#__PURE__*/css("display:inline-block;position:relative;padding-left:25px;margin-right:60px;cursor:pointer;font-size:14px;user-select:none;input{position:absolute;opacity:0;cursor:pointer;&:checked~span:after{display:block;}&:focus-within~span{border-color:", theme.primary, ";}}span{position:absolute;top:0;left:0;height:14px;width:14px;border:1px solid ", theme.border, ";border-radius:50%;&:after{content:'';position:absolute;display:none;top:3px;left:3px;width:8px;height:8px;border-radius:50%;background:", theme.primary, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:styles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1JhZGlvL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJb0MiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvUmFkaW8vc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnX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nQ6IDNweDtcbiAgICAgICAgd2lkdGg6IDhweDtcbiAgICAgICAgaGVpZ2h0OiA4cHg7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgICAgICAgYmFja2dyb3VuZDogJHt0aGVtZS5wcmltYXJ5fTtcbiAgICAgIH1cbiAgICB9XG4gIGAsXG4gIHZlcnRpY2FsOiBjc3NgXG4gICAgZGlzcGxheTogYmxvY2s7XG4gICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgIG1hcmdpbi1ib3R0b206IDE1cHg7XG4gIGAsXG4gIGRpc2FibGVkOiAodGhlbWU6IElBcHBUaGVtZSkgPT4gY3NzYFxuICAgIGNvbG9yOiAke3RoZW1lLnN1YnRsZVRleHR9O1xuICAgIGN1cnNvcjogbm90LWFsbG93ZWQ7XG4gICAgc3BhbiB7XG4gICAgICBvcGFjaXR5OiAwLjc7XG4gICAgICBjdXJzb3I6IG5vdC1hbGxvd2VkO1xuICAgIH1cbiAgICBpbnB1dCB7XG4gICAgICBjdXJzb3I6IG5vdC1hbGxvd2VkO1xuICAgIH1cbiAgYCxcbn1cblxuZXhwb3J0IGRlZmF1bHQgc3R5bGVzXG5cbmV4cG9ydCB7IHN0eWxlcyB9XG4iXX0= */"),
|
6
6
|
vertical: process.env.NODE_ENV === "production" ? {
|
7
7
|
name: "fk50fq",
|
8
8
|
styles: "display:block;margin-right:0;margin-bottom:15px"
|
9
9
|
} : {
|
10
10
|
name: "1btkw1a-vertical",
|
11
11
|
styles: "display:block;margin-right:0;margin-bottom:15px;label:vertical;",
|
12
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
12
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1JhZGlvL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFpRGUiLCJmaWxl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dGVyIHtcbiAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgZGlzcGxheTogbm9uZTtcbiAgICAgICAgdG9wOiAzcHg7XG4gICAgICAgIGxlZnQ6IDNweDtcbiAgICAgICAgd2lkdGg6IDhweDtcbiAgICAgICAgaGVpZ2h0OiA4cHg7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgICAgICAgYmFja2dyb3VuZDogJHt0aGVtZS5wcmltYXJ5fTtcbiAgICAgIH1cbiAgICB9XG4gIGAsXG4gIHZlcnRpY2FsOiBjc3NgXG4gICAgZGlzcGxheTogYmxvY2s7XG4gICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgIG1hcmdpbi1ib3R0b206IDE1cHg7XG4gIGAsXG4gIGRpc2FibGVkOiAodGhlbWU6IElBcHBUaGVtZSkgPT4gY3NzYFxuICAgIGNvbG9yOiAke3RoZW1lLnN1YnRsZVRleHR9O1xuICAgIGN1cnNvcjogbm90LWFsbG93ZWQ7XG4gICAgc3BhbiB7XG4gICAgICBvcGFjaXR5OiAwLjc7XG4gICAgICBjdXJzb3I6IG5vdC1hbGxvd2VkO1xuICAgIH1cbiAgICBpbnB1dCB7XG4gICAgICBjdXJzb3I6IG5vdC1hbGxvd2VkO1xuICAgIH1cbiAgYCxcbn1cblxuZXhwb3J0IGRlZmF1bHQgc3R5bGVzXG5cbmV4cG9ydCB7IHN0eWxlcyB9XG4iXX0= */",
|
13
13
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
14
14
|
},
|
15
|
-
disabled: theme => /*#__PURE__*/css("color:", theme.subtleText, ";cursor:not-allowed;span{opacity:0.7;cursor:not-allowed;}input{cursor:not-allowed;}" + (process.env.NODE_ENV === "production" ? "" : ";label:styles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
15
|
+
disabled: theme => /*#__PURE__*/css("color:", theme.subtleText, ";cursor:not-allowed;span{opacity:0.7;cursor:not-allowed;}input{cursor:not-allowed;}" + (process.env.NODE_ENV === "production" ? "" : ";label:styles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1JhZGlvL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzRHFDIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1JhZGlvL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgSUFwcFRoZW1lIH0gZnJvbSAnLi4vLi4vYXBwLXNoZWxsL3RoZW1lJ1xuXG5jb25zdCBzdHlsZXMgPSB7XG4gIGRlZmF1bHQ6ICh0aGVtZTogSUFwcFRoZW1lKSA9PiBjc3NgXG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBwYWRkaW5nLWxlZnQ6IDI1cHg7XG4gICAgbWFyZ2luLXJpZ2h0OiA2MHB4O1xuICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICBmb250LXNpemU6IDE0cHg7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG5cbiAgICBpbnB1dCB7XG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICBvcGFjaXR5OiAwO1xuICAgICAgY3Vyc29yOiBwb2ludGVyO1xuXG4gICAgICAmOmNoZWNrZWQgfiBzcGFuOmFmdGVyIHtcbiAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICB9XG5cbiAgICAgICY6Zm9jdXMtd2l0aGluIH4gc3BhbiB7XG4gICAgICAgIGJvcmRlci1jb2xvcjog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HBvcnQgeyBzdHlsZXMgfVxuIl19 */")
|
16
16
|
};
|
17
17
|
export default styles;
|
18
18
|
export { styles };
|
@@ -1,17 +1,17 @@
|
|
1
|
-
/** @jsxImportSource @emotion/react */
|
2
|
-
import React from 'react';
|
3
|
-
interface IProps {
|
4
|
-
/** Prop for disabled */
|
5
|
-
disabled?: boolean;
|
6
|
-
/** On change callback */
|
7
|
-
onChange?: (e: any) => any;
|
8
|
-
/** CB value */
|
9
|
-
value?: any;
|
10
|
-
/** Key for element */
|
11
|
-
key?: string | number | undefined;
|
12
|
-
/** Option children */
|
13
|
-
children?: React.ReactNode;
|
14
|
-
}
|
15
|
-
declare const Option: React.FC<IProps>;
|
16
|
-
export default Option;
|
1
|
+
/** @jsxImportSource @emotion/react */
|
2
|
+
import React from 'react';
|
3
|
+
interface IProps {
|
4
|
+
/** Prop for disabled */
|
5
|
+
disabled?: boolean;
|
6
|
+
/** On change callback */
|
7
|
+
onChange?: (e: any) => any;
|
8
|
+
/** CB value */
|
9
|
+
value?: any;
|
10
|
+
/** Key for element */
|
11
|
+
key?: string | number | undefined;
|
12
|
+
/** Option children */
|
13
|
+
children?: React.ReactNode;
|
14
|
+
}
|
15
|
+
declare const Option: React.FC<IProps>;
|
16
|
+
export default Option;
|
17
17
|
//# sourceMappingURL=Option.d.ts.map
|
@@ -1,46 +1,48 @@
|
|
1
|
-
/** @jsxImportSource @emotion/react */
|
2
|
-
import React, { ReactNodeArray } from 'react';
|
3
|
-
import { SerializedStyles } from '@emotion/react';
|
4
|
-
import Option from './Option';
|
5
|
-
export { Option };
|
6
|
-
interface IProps {
|
7
|
-
/** Text when no option are selected */
|
8
|
-
text: string;
|
9
|
-
/** Current selected value. Leave empty for default text. */
|
10
|
-
selectedValue?: string;
|
11
|
-
/** Style as an input */
|
12
|
-
input?: boolean;
|
13
|
-
/** Adds a label if input is selected */
|
14
|
-
label?: string;
|
15
|
-
/** Callback handler for when clicking option element. */
|
16
|
-
onChange?: (value: string) => any;
|
17
|
-
/** Option-elements, select list content */
|
18
|
-
children: ReactNodeArray;
|
19
|
-
/** Adds icon to select */
|
20
|
-
icon?: React.ReactNode;
|
21
|
-
/** Type of select, default is transparent, primary10 adds primary background with 10 opacity */
|
22
|
-
type?: 'default' | 'primary10' | 'opacity08';
|
23
|
-
/** Use native selector */
|
24
|
-
native?: boolean;
|
25
|
-
/** Select button width */
|
26
|
-
width?: string;
|
27
|
-
/** Options content width */
|
28
|
-
optionsWidth?: string;
|
29
|
-
/** Options max height. If set will set overflow-y to scroll. */
|
30
|
-
maxHeight?: string;
|
31
|
-
/** Autofocus */
|
32
|
-
focus?: boolean;
|
33
|
-
/** Add custom css to select when in open state */
|
34
|
-
customOpenstyle?: SerializedStyles;
|
35
|
-
/** Override with custom CSS */
|
36
|
-
customStyle?: SerializedStyles;
|
37
|
-
/** Add a data-tracking-event attribute. */
|
38
|
-
trackingEvent?: string;
|
39
|
-
/** Add a data-tracking-name attribute. */
|
40
|
-
trackingName?: string;
|
41
|
-
/** Select is disabled. */
|
42
|
-
disabled?: boolean;
|
43
|
-
|
44
|
-
|
45
|
-
|
1
|
+
/** @jsxImportSource @emotion/react */
|
2
|
+
import React, { ReactNodeArray } from 'react';
|
3
|
+
import { SerializedStyles } from '@emotion/react';
|
4
|
+
import Option from './Option';
|
5
|
+
export { Option };
|
6
|
+
interface IProps {
|
7
|
+
/** Text when no option are selected */
|
8
|
+
text: string;
|
9
|
+
/** Current selected value. Leave empty for default text. */
|
10
|
+
selectedValue?: string;
|
11
|
+
/** Style as an input */
|
12
|
+
input?: boolean;
|
13
|
+
/** Adds a label if input is selected */
|
14
|
+
label?: string;
|
15
|
+
/** Callback handler for when clicking option element. */
|
16
|
+
onChange?: (value: string) => any;
|
17
|
+
/** Option-elements, select list content */
|
18
|
+
children: ReactNodeArray;
|
19
|
+
/** Adds icon to select */
|
20
|
+
icon?: React.ReactNode;
|
21
|
+
/** Type of select, default is transparent, primary10 adds primary background with 10 opacity */
|
22
|
+
type?: 'default' | 'primary10' | 'opacity08';
|
23
|
+
/** Use native selector */
|
24
|
+
native?: boolean;
|
25
|
+
/** Select button width */
|
26
|
+
width?: string;
|
27
|
+
/** Options content width */
|
28
|
+
optionsWidth?: string;
|
29
|
+
/** Options max height. If set will set overflow-y to scroll. */
|
30
|
+
maxHeight?: string;
|
31
|
+
/** Autofocus */
|
32
|
+
focus?: boolean;
|
33
|
+
/** Add custom css to select when in open state */
|
34
|
+
customOpenstyle?: SerializedStyles;
|
35
|
+
/** Override with custom CSS */
|
36
|
+
customStyle?: SerializedStyles;
|
37
|
+
/** Add a data-tracking-event attribute. */
|
38
|
+
trackingEvent?: string;
|
39
|
+
/** Add a data-tracking-name attribute. */
|
40
|
+
trackingName?: string;
|
41
|
+
/** Select is disabled. */
|
42
|
+
disabled?: boolean;
|
43
|
+
/** Manual close by changing closeKey externally */
|
44
|
+
closeKey?: string;
|
45
|
+
}
|
46
|
+
declare const Select: React.FC<IProps>;
|
47
|
+
export default Select;
|
46
48
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Select/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,EAAE,EACZ,cAAc,EAKf,MAAM,OAAO,CAAA;AACd,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,MAAM,MAAM,UAAU,CAAA;AAI7B,OAAO,EAAE,MAAM,EAAE,CAAA;AAEjB,UAAU,MAAM;IACd,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,4DAA4D;IAC5D,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wBAAwB;IACxB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yDAAyD;IACzD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,GAAG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AQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,GAAG,CAAA;IACjC,2CAA2C;IAC3C,QAAQ,EAAE,cAAc,CAAA;IACxB,2BAA2B;IAC3B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,gGAAgG;IAChG,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,WAAW,CAAA;IAC5C,0BAA0B;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4BAA4B;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB;IAChB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,kDAAkD;IAClD,eAAe,CAAC,EAAE,gBAAgB,CAAA;IAClC,+BAA+B;IAC/B,WAAW,CAAC,EAAE,gBAAgB,CAAA;IAC9B,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA8I5B,CAAA;AAED,eAAe,MAAM,CAAA"}
|
package/lib/core/Select/index.js
CHANGED
@@ -22,6 +22,7 @@ const Select = ({
|
|
22
22
|
trackingName,
|
23
23
|
disabled,
|
24
24
|
label,
|
25
|
+
closeKey,
|
25
26
|
...props
|
26
27
|
}) => {
|
27
28
|
const ref = /*#__PURE__*/createRef();
|
@@ -52,6 +53,9 @@ const Select = ({
|
|
52
53
|
document.removeEventListener('mousedown', handleClickOutside);
|
53
54
|
};
|
54
55
|
}, [open, ref]);
|
56
|
+
useEffect(() => {
|
57
|
+
toggleOpen(false); // eslint-disable-next-line react-hooks/exhaustive-deps
|
58
|
+
}, [closeKey]);
|
55
59
|
|
56
60
|
const onChange = value => {
|
57
61
|
if (props.onChange && !disabled) {
|
@@ -81,7 +85,7 @@ const Select = ({
|
|
81
85
|
tabIndex: disabled ? -1 : undefined,
|
82
86
|
children: props.selectedValue ? props.selectedValue : props.text
|
83
87
|
}), _jsx(OptionsWrapper, {
|
84
|
-
css: [input && styles.inputstyle(!!label), optionsWidth && styles.optionsWidth(optionsWidth), process.env.NODE_ENV === "production" ? "" : ";label:NonNative;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
88
|
+
css: [input && styles.inputstyle(!!label), optionsWidth && styles.optionsWidth(optionsWidth), process.env.NODE_ENV === "production" ? "" : ";label:NonNative;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NlbGVjdC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0pRIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NlbGVjdC9pbmRleC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeEltcG9ydFNvdXJjZSBAZW1vdGlvbi9yZWFjdCAqL1xuaW1wb3J0IFJlYWN0LCB7XG4gIFJlYWN0Tm9kZUFycmF5LFxuICBSZWFjdEVsZW1lbnQsXG4gIHVzZVN0YXRlLFxuICBjcmVhdGVSZWYsXG4gIHVzZUVmZmVjdCxcbn0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBTZXJpYWxpemVkU3R5bGVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgT3B0aW9uIGZyb20gJy4vT3B0aW9uJ1xuaW1wb3J0IHsgU2VsZWN0V3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ICAgICAgY3VzdG9tU3R5bGUgJiYgY3VzdG9tU3R5bGUsXG4gICAgICAgIG9wZW4gJiYgY3VzdG9tT3BlbnN0eWxlICYmIGN1c3RvbU9wZW5zdHlsZSxcbiAgICAgICAgZGlzYWJsZWQgJiYgc3R5bGVzLmRpc2FibGVkKHRoZW1lKSxcbiAgICAgIF19XG4gICAgPlxuICAgICAge2lucHV0ICYmIGxhYmVsICYmIExhYmVsfVxuICAgICAgPEJ1dHRvblxuICAgICAgICBub3N0eWxlXG4gICAgICAgIGFmdGVySWNvbj17PEljb25DaGV2cm9uRG93biBmbGlwVmVydGljYWw9e29wZW59IHNpemU9ezE0fSAvPn1cbiAgICAgICAgb25DbGljaz17b25DbGlja31cbiAgICAgICAgYmVmb3JlSWNvbj17aWNvbn1cbiAgICAgICAgYXV0b0ZvY3VzPXtmb2N1c31cbiAgICAgICAgdHJhY2tpbmdOYW1lPXt0cmFja2luZ05hbWV9XG4gICAgICAgIHRyYWNraW5nRXZlbnQ9e3RyYWNraW5nRXZlbnR9XG4gICAgICAgIHRhYkluZGV4PXtkaXNhYmxlZCA/IC0xIDogdW5kZWZpbmVkfVxuICAgICAgPlxuICAgICAgICB7cHJvcHMuc2VsZWN0ZWRWYWx1ZSA/IHByb3BzLnNlbGVjdGVkVmFsdWUgOiBwcm9wcy50ZXh0fVxuICAgICAgPC9CdXR0b24+XG4gICAgICA8T3B0aW9uc1dyYXBwZXJcbiAgICAgICAgY3NzPXtbXG4gICAgICAgICAgaW5wdXQgJiYgc3R5bGVzLmlucHV0c3R5bGUoISFsYWJlbCksXG4gICAgICAgICAgb3B0aW9uc1dpZHRoICYmIHN0eWxlcy5vcHRpb25zV2lkdGgob3B0aW9uc1dpZHRoKSxcbiAgICAgICAgXX1cbiAgICAgID5cbiAgICAgICAge29wZW4gPyAoXG4gICAgICAgICAgPExpc3Qgc2VsZWN0TGlzdD5cbiAgICAgICAgICAgIHtwcm9wcy5jaGlsZHJlblxuICAgICAgICAgICAgICAuZmlsdGVyKCh4KSA9PiB4KVxuICAgICAgICAgICAgICAubWFwKChjaGlsZCwga2V5KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFjaGlsZCkge1xuICAgICAgICAgICAgICAgICAgcmV0dXJuIG51bGxcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIFJlYWN0LmNsb25lRWxlbWVudChjaGlsZCBhcyBSZWFjdEVsZW1lbnQsIHtcbiAgICAgICAgICAgICAgICAgIG9uQ2hhbmdlOiBvbkNoYW5nZSxcbiAgICAgICAgICAgICAgICAgIGtleSxcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICA8L0xpc3Q+XG4gICAgICAgICkgOiBudWxsfVxuICAgICAgPC9PcHRpb25zV3JhcHBlcj5cbiAgICA8L1NlbGVjdFdyYXBwZXI+XG4gIClcblxuICBjb25zdCBOYXRpdmUgPSAoXG4gICAgPHNlbGVjdFxuICAgICAgY3NzPXsodGhlbWUpID0+IFtcbiAgICAgICAgc3R5bGVzLmRlZmF1bHQsXG4gICAgICAgIGlucHV0ICYmIHN0eWxlcy5pbnB1dCh0aGVtZSksXG4gICAgICAgIGlucHV0ICYmIG9wZW4gJiYgc3R5bGVzLm9wZW4odGhlbWUpLFxuICAgICAgICB0eXBlID09PSAncHJpbWFyeTEwJyAmJiBzdHlsZXMucHJpbWFyeTEwKHRoZW1lKSxcbiAgICAgICAgaWNvbiAmJiBzdHlsZXMud2l0aEljb24sXG4gICAgICBdfVxuICAgICAgdmFsdWU9e3Byb3BzLnNlbGVjdGVkVmFsdWUgPyBwcm9wcy5zZWxlY3RlZFZhbHVlIDogcHJvcHMudGV4dH1cbiAgICAgIG9uQ2hhbmdlPXsoZSkgPT4gb25DaGFuZ2UoZS50YXJnZXQudmFsdWUpfVxuICAgID5cbiAgICAgIHtwcm9wcy5jaGlsZHJlblxuICAgICAgICAuZmlsdGVyKCh4KSA9PiB4KVxuICAgICAgICAubWFwKChjaGlsZDogYW55LCBrZXk6IGFueSkgPT4ge1xuICAgICAgICAgIGlmICghY2hpbGQpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsXG4gICAgICAgICAgfVxuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8b3B0aW9uIGtleT17a2V5fSB2YWx1ZT17Y2hpbGQucHJvcHMudmFsdWV9PlxuICAgICAgICAgICAgICB7Y2hpbGQucHJvcHMuY2hpbGRyZW59XG4gICAgICAgICAgICA8L29wdGlvbj5cbiAgICAgICAgICApXG4gICAgICAgIH0pfVxuICAgIDwvc2VsZWN0PlxuICApXG5cbiAgcmV0dXJuIG5hdGl2ZSA/IE5hdGl2ZSA6IE5vbk5hdGl2ZVxufVxuXG5leHBvcnQgZGVmYXVsdCBTZWxlY3RcbiJdfQ== */"],
|
85
89
|
children: open ? _jsx(List, {
|
86
90
|
selectList: true,
|
87
91
|
children: props.children.filter(x => x).map((child, key) => {
|
@@ -1,30 +1,30 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { IAppTheme } from '../../app-shell/theme';
|
3
|
-
declare const optionButton: import("@emotion/react").SerializedStyles;
|
4
|
-
declare const SelectWrapper: import("@emotion/styled").StyledComponent<{
|
5
|
-
theme?: import("@emotion/react").Theme | undefined;
|
6
|
-
as?: import("react").ElementType<any> | undefined;
|
7
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
8
|
-
declare const OptionsWrapper: import("@emotion/styled").StyledComponent<{
|
9
|
-
theme?: import("@emotion/react").Theme | undefined;
|
10
|
-
as?: import("react").ElementType<any> | undefined;
|
11
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
12
|
-
declare const StyledLabel: import("@emotion/styled").StyledComponent<{
|
13
|
-
theme?: import("@emotion/react").Theme | undefined;
|
14
|
-
as?: import("react").ElementType<any> | undefined;
|
15
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
16
|
-
declare const styles: {
|
17
|
-
default: import("@emotion/react").SerializedStyles;
|
18
|
-
optionsWidth: (width: string | undefined) => import("@emotion/react").SerializedStyles;
|
19
|
-
width: (width: string | undefined) => import("@emotion/react").SerializedStyles;
|
20
|
-
input: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
21
|
-
open: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
22
|
-
primary10: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
23
|
-
inputstyle: (hasLabel: boolean) => import("@emotion/react").SerializedStyles;
|
24
|
-
withIcon: import("@emotion/react").SerializedStyles;
|
25
|
-
opacity08: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
26
|
-
maxHeight: (maxHeight: string) => import("@emotion/react").SerializedStyles;
|
27
|
-
disabled: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
28
|
-
};
|
29
|
-
export { optionButton, SelectWrapper, OptionsWrapper, styles, StyledLabel };
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { IAppTheme } from '../../app-shell/theme';
|
3
|
+
declare const optionButton: import("@emotion/react").SerializedStyles;
|
4
|
+
declare const SelectWrapper: import("@emotion/styled").StyledComponent<{
|
5
|
+
theme?: import("@emotion/react").Theme | undefined;
|
6
|
+
as?: import("react").ElementType<any> | undefined;
|
7
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
8
|
+
declare const OptionsWrapper: import("@emotion/styled").StyledComponent<{
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
10
|
+
as?: import("react").ElementType<any> | undefined;
|
11
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
12
|
+
declare const StyledLabel: import("@emotion/styled").StyledComponent<{
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
14
|
+
as?: import("react").ElementType<any> | undefined;
|
15
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
16
|
+
declare const styles: {
|
17
|
+
default: import("@emotion/react").SerializedStyles;
|
18
|
+
optionsWidth: (width: string | undefined) => import("@emotion/react").SerializedStyles;
|
19
|
+
width: (width: string | undefined) => import("@emotion/react").SerializedStyles;
|
20
|
+
input: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
21
|
+
open: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
22
|
+
primary10: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
23
|
+
inputstyle: (hasLabel: boolean) => import("@emotion/react").SerializedStyles;
|
24
|
+
withIcon: import("@emotion/react").SerializedStyles;
|
25
|
+
opacity08: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
26
|
+
maxHeight: (maxHeight: string) => import("@emotion/react").SerializedStyles;
|
27
|
+
disabled: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
28
|
+
};
|
29
|
+
export { optionButton, SelectWrapper, OptionsWrapper, styles, StyledLabel };
|
30
30
|
//# sourceMappingURL=styles.d.ts.map
|