@bbl-digital/snorre 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- 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 +970 -933
- 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 +18 -18
- 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/DraggableRow/styles.js +5 -5
- package/esm/core/BoxedTable/HeaderCell/styles.js +2 -2
- package/esm/core/BoxedTable/RowCell/index.js +1 -1
- package/esm/core/BoxedTable/TableHeader/styles.js +1 -1
- package/esm/core/BoxedTable/TableRow/styles.js +8 -8
- package/esm/core/BoxedTable/styles.js +11 -11
- 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 +5 -5
- 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 +9 -9
- package/esm/core/DatepickerRange/styles.js +9 -9
- 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/GoogleButton/styles.js +1 -1
- 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 +10 -10
- 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/NotificationCounter/styles.js +1 -1
- 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/PreemptionCard/index.js +1 -1
- package/esm/core/PreemptionCardLoading/styles.js +3 -3
- package/esm/core/Radio/styles.js +4 -4
- package/esm/core/SearchFilter/index.js +1 -1
- package/esm/core/SearchFilter/styles.js +8 -8
- package/esm/core/SearchSelect/styles.js +5 -5
- package/esm/core/Select/index.js +1 -1
- package/esm/core/Select/styles.js +16 -16
- 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 +5 -5
- package/esm/core/TabNav/styles.js +8 -8
- package/esm/core/Table/styles.js +16 -16
- package/esm/core/Tag/styles.js +12 -12
- package/esm/core/Text/index.js +11 -1
- 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/index.js +29 -15
- package/esm/core/Timepicker/styles.js +15 -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/enums/Keyboard.js +2 -2
- package/esm/enums/ModifierKey.js +13 -0
- package/esm/globals/styles/styles.js +1 -1
- 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 +11 -11
- package/esm/layout/Menu/AppPicker/styles.js +3 -3
- package/esm/layout/Menu/MenuItem/styles.js +2 -2
- package/esm/layout/Menu/SecondaryMenu/styles.js +4 -4
- 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 +25 -20
- package/infrastructure/azure-pipelines.yml +29 -29
- package/jest.config.js +29 -29
- package/lib/app-shell/index.d.ts +11 -11
- package/lib/app-shell/index.js +1 -1
- package/lib/app-shell/theme.d.ts +122 -122
- package/lib/core/Alert/index.d.ts +23 -23
- 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/hooks/useAutocomplete.d.ts +20 -20
- package/lib/core/Autocomplete/hooks/useHandleDimentions.d.ts +7 -7
- package/lib/core/Autocomplete/index.d.ts +6 -6
- package/lib/core/Autocomplete/index.interfaces.d.ts +82 -82
- package/lib/core/Autocomplete/styles.d.ts +39 -39
- package/lib/core/Autocomplete/styles.js +18 -18
- 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 +58 -58
- package/lib/core/BarAndLineComposedChart/styles.d.ts +8 -8
- package/lib/core/BarAndLineComposedChart/styles.js +1 -1
- package/lib/core/BarChartWithCustomizedEvent/index.d.ts +56 -56
- package/lib/core/BarChartWithCustomizedEvent/styles.d.ts +9 -9
- package/lib/core/BarChartWithCustomizedEvent/styles.js +1 -1
- package/lib/core/Box/index.d.ts +30 -30
- package/lib/core/Box/styles.d.ts +37 -37
- package/lib/core/Box/styles.js +7 -7
- package/lib/core/BoxedTable/DraggableRow/index.d.ts +14 -14
- package/lib/core/BoxedTable/DraggableRow/styles.d.ts +21 -21
- package/lib/core/BoxedTable/DraggableRow/styles.js +5 -5
- package/lib/core/BoxedTable/HeaderCell/index.d.ts +24 -24
- 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 +26 -26
- package/lib/core/BoxedTable/RowCell/index.js +1 -1
- package/lib/core/BoxedTable/RowCell/styles.d.ts +12 -12
- package/lib/core/BoxedTable/TableHeader/index.d.ts +7 -7
- 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 +19 -19
- package/lib/core/BoxedTable/TableRow/styles.d.ts +25 -25
- package/lib/core/BoxedTable/TableRow/styles.js +8 -8
- package/lib/core/BoxedTable/index.d.ts +18 -18
- package/lib/core/BoxedTable/models.d.ts +5 -5
- package/lib/core/BoxedTable/styles.d.ts +15 -15
- package/lib/core/BoxedTable/styles.js +11 -11
- 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 +20 -20
- package/lib/core/Calendar/styles.js +5 -5
- package/lib/core/Calendar/util.d.ts +2 -2
- package/lib/core/Card/index.d.ts +31 -31
- package/lib/core/Card/styles.d.ts +16 -16
- package/lib/core/Card/styles.js +11 -11
- package/lib/core/Checkbox/index.d.ts +32 -32
- 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 +8 -8
- package/lib/core/CollapseList/styles.d.ts +21 -21
- 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 +7 -7
- 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 +30 -30
- package/lib/core/Datepicker/styles.d.ts +28 -38
- package/lib/core/Datepicker/styles.d.ts.map +1 -1
- package/lib/core/Datepicker/styles.js +9 -9
- package/lib/core/Datepicker/yearMonthForm.d.ts +9 -9
- package/lib/core/Datepicker/yearMonthForm.d.ts.map +1 -1
- package/lib/core/DatepickerRange/index.d.ts +49 -49
- package/lib/core/DatepickerRange/styles.d.ts +28 -28
- package/lib/core/DatepickerRange/styles.js +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 +12 -12
- package/lib/core/DropdownMenu/index.d.ts +11 -11
- 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 +40 -40
- 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 +64 -64
- package/lib/core/FileInput/styles.js +12 -12
- package/lib/core/GoogleButton/index.d.ts +8 -8
- package/lib/core/GoogleButton/styles.d.ts +5 -5
- package/lib/core/GoogleButton/styles.js +1 -1
- package/lib/core/Header/index.d.ts +20 -20
- 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 +20 -20
- package/lib/core/InfoButton/styles.d.ts +34 -34
- 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 +15 -15
- package/lib/core/Link/styles.js +10 -10
- package/lib/core/List/Item.d.ts +6 -6
- package/lib/core/List/Item.js +1 -1
- package/lib/core/List/index.d.ts +34 -34
- 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 +43 -43
- package/lib/core/Modal/styles.d.ts +42 -42
- package/lib/core/Modal/styles.js +8 -8
- package/lib/core/NoticeCard/index.d.ts +22 -22
- package/lib/core/NoticeCard/models.d.ts +30 -30
- 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 +11 -11
- 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 +2 -2
- package/lib/core/NotificationCounter/index.d.ts +12 -12
- package/lib/core/NotificationCounter/styles.d.ts +4 -4
- package/lib/core/NotificationCounter/styles.js +1 -1
- 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 +13 -13
- 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 +3 -3
- package/lib/core/PieChart/index.d.ts +30 -30
- package/lib/core/PieChart/renderTextContent/index.d.ts +3 -3
- package/lib/core/PieChart/styles.d.ts +14 -14
- 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/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 +24 -24
- package/lib/core/Radio/styles.d.ts +9 -9
- package/lib/core/Radio/styles.js +4 -4
- package/lib/core/SearchFilter/index.d.ts +22 -22
- package/lib/core/SearchFilter/index.js +1 -1
- package/lib/core/SearchFilter/styles.d.ts +30 -30
- package/lib/core/SearchFilter/styles.js +8 -8
- package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts +10 -10
- package/lib/core/SearchSelect/index.d.ts +5 -5
- package/lib/core/SearchSelect/interface/IProps.d.ts +38 -38
- package/lib/core/SearchSelect/styles.d.ts +20 -20
- package/lib/core/SearchSelect/styles.js +5 -5
- package/lib/core/Select/Option.d.ts +22 -22
- package/lib/core/Select/index.d.ts +49 -49
- package/lib/core/Select/index.js +1 -1
- package/lib/core/Select/styles.d.ts +29 -29
- package/lib/core/Select/styles.js +16 -16
- package/lib/core/SimpleBarChart/index.d.ts +56 -56
- package/lib/core/SimpleBarChart/styles.d.ts +8 -8
- package/lib/core/SimpleLineChart/index.d.ts +65 -65
- package/lib/core/SimpleLineChart/styles.d.ts +8 -8
- package/lib/core/SimpleLineChart/styles.js +1 -1
- package/lib/core/Skeleton/index.d.ts +15 -15
- package/lib/core/Skeleton/styles.d.ts +20 -20
- 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 +7 -7
- package/lib/core/TabBar/styles.d.ts +5 -5
- package/lib/core/TabBar/styles.js +1 -1
- package/lib/core/TabNav/TabContext.d.ts +18 -18
- package/lib/core/TabNav/TabNavItem/index.d.ts +34 -34
- package/lib/core/TabNav/TabNavItem/styles.d.ts +26 -26
- package/lib/core/TabNav/TabNavItem/styles.js +5 -5
- package/lib/core/TabNav/index.d.ts +30 -30
- package/lib/core/TabNav/styles.d.ts +24 -24
- package/lib/core/TabNav/styles.js +8 -8
- package/lib/core/TabNav/utils/useContainerDimensions.d.ts +7 -7
- 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 +44 -44
- package/lib/core/Tag/styles.d.ts +17 -17
- package/lib/core/Tag/styles.js +12 -12
- package/lib/core/Text/index.d.ts +45 -44
- package/lib/core/Text/index.d.ts.map +1 -1
- package/lib/core/Text/index.js +11 -1
- 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 +7 -7
- package/lib/core/Timeline/styles.d.ts +5 -5
- package/lib/core/Timeline/styles.js +1 -1
- package/lib/core/Timepicker/index.d.ts +38 -36
- package/lib/core/Timepicker/index.d.ts.map +1 -1
- package/lib/core/Timepicker/index.js +29 -15
- package/lib/core/Timepicker/styles.d.ts +19 -18
- package/lib/core/Timepicker/styles.d.ts.map +1 -1
- package/lib/core/Timepicker/styles.js +15 -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 +10 -10
- package/lib/core/UserMenu/index.d.ts +19 -19
- 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 +48 -48
- package/lib/core/private/preemption.d.ts +5 -5
- package/lib/core/utils/debounce.d.ts +2 -2
- package/lib/enums/Keyboard.d.ts +14 -14
- package/lib/enums/Keyboard.js +2 -2
- package/lib/enums/ModifierKey.d.ts +12 -0
- package/lib/enums/ModifierKey.d.ts.map +1 -0
- package/lib/enums/ModifierKey.js +13 -0
- package/lib/globals/styles/breakpoints.d.ts +9 -9
- package/lib/globals/styles/paddings.d.ts +8 -8
- package/lib/globals/styles/styles.d.ts +1 -1
- package/lib/globals/styles/styles.js +1 -1
- package/lib/globals/validation/regularExpressions.d.ts +10 -10
- 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/IconAuditorFilled.d.ts +3 -3
- package/lib/icons/General/IconAuditorOutline.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/IconCases.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/IconHomeFilled.d.ts +3 -3
- package/lib/icons/General/IconHomeOutline.d.ts +3 -3
- package/lib/icons/General/IconHouse.d.ts +3 -3
- package/lib/icons/General/IconHouseBlockFilled.d.ts +3 -3
- package/lib/icons/General/IconHouseBlockOutline.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/IconJanitorFilled.d.ts +3 -3
- package/lib/icons/General/IconJanitorOutline.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/IconLeafFilled.d.ts +3 -3
- package/lib/icons/General/IconLeafOutline.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/IconPinned.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/IconRearrange.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/IconSliders.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 +305 -305
- package/lib/layout/Footer/FooterButton/index.d.ts +15 -15
- package/lib/layout/Footer/FooterButton/styles.d.ts +13 -13
- package/lib/layout/Footer/FooterButton/styles.js +1 -1
- package/lib/layout/Footer/FooterCol/index.d.ts +7 -7
- 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 +7 -7
- 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 +7 -7
- 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 +13 -13
- package/lib/layout/Footer/FooterLink/styles.js +1 -1
- package/lib/layout/Footer/index.d.ts +8 -8
- package/lib/layout/Footer/styles.d.ts +7 -7
- package/lib/layout/Footer/styles.js +2 -2
- package/lib/layout/Layout/index.d.ts +7 -7
- package/lib/layout/Layout/styles.d.ts +5 -5
- package/lib/layout/Layout/styles.js +1 -1
- package/lib/layout/LayoutShell/index.d.ts +22 -22
- package/lib/layout/LayoutShell/styles.d.ts +23 -23
- package/lib/layout/LayoutShell/styles.js +11 -11
- 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 +9 -9
- package/lib/layout/Menu/MainMenu/styles.d.ts +2 -2
- 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 +7 -7
- package/lib/layout/Menu/MenuSpacer/styles.d.ts +5 -5
- package/lib/layout/Menu/MenuTop/index.d.ts +13 -13
- package/lib/layout/Menu/MenuTop/styles.d.ts +19 -19
- package/lib/layout/Menu/SecondaryMenu/index.d.ts +15 -15
- 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/index.d.ts +11 -11
- 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 +20 -20
- 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 +11 -11
- 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 +10 -10
- 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 +27 -25
- package/lib/utils/time.d.ts.map +1 -1
- package/lib/utils/time.js +25 -20
- package/lib/utils/url.d.ts +3 -3
- package/package.json +1 -1
- package/rollup.config.js +13 -13
- package/theme-generator.js +612 -612
- package/dist/bundle.min.js +0 -29
- package/esm/core/MailMenu/DropdownMenuOption.js +0 -17
- package/esm/core/MailMenu/index.js +0 -42
- package/esm/core/MailMenu/styles.js +0 -34
- package/esm/layout/Menu/MenuBottom/index.js +0 -37
- package/esm/layout/Menu/MenuBottom/styles.js +0 -15
- package/esm/layout/Submenu/SubmenuLightThemeBg/styles.js +0 -10
- package/lib/core/MailMenu/DropdownMenuOption.d.ts +0 -8
- package/lib/core/MailMenu/DropdownMenuOption.d.ts.map +0 -1
- package/lib/core/MailMenu/DropdownMenuOption.js +0 -17
- package/lib/core/MailMenu/index.d.ts +0 -8
- package/lib/core/MailMenu/index.d.ts.map +0 -1
- package/lib/core/MailMenu/index.js +0 -42
- package/lib/core/MailMenu/styles.d.ts +0 -12
- package/lib/core/MailMenu/styles.d.ts.map +0 -1
- package/lib/core/MailMenu/styles.js +0 -34
- package/lib/layout/Menu/MenuBottom/index.d.ts +0 -14
- package/lib/layout/Menu/MenuBottom/index.d.ts.map +0 -1
- package/lib/layout/Menu/MenuBottom/index.js +0 -37
- package/lib/layout/Menu/MenuBottom/styles.d.ts +0 -4
- package/lib/layout/Menu/MenuBottom/styles.d.ts.map +0 -1
- package/lib/layout/Menu/MenuBottom/styles.js +0 -15
- package/lib/layout/Submenu/SubmenuLightThemeBg/styles.d.ts +0 -3
- package/lib/layout/Submenu/SubmenuLightThemeBg/styles.d.ts.map +0 -1
- package/lib/layout/Submenu/SubmenuLightThemeBg/styles.js +0 -10
@@ -1,9 +1,9 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export declare const BarChartContainer: import("@emotion/styled").StyledComponent<{
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
5
|
-
} & {
|
6
|
-
width: string;
|
7
|
-
height: string;
|
8
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const BarChartContainer: import("@emotion/styled").StyledComponent<{
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
5
|
+
} & {
|
6
|
+
width: string;
|
7
|
+
height: string;
|
8
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
9
9
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -1,66 +1,66 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Line } from 'recharts';
|
3
|
-
import { Formatter, NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
4
|
-
import { CurveType } from 'recharts/types/shape/Curve';
|
5
|
-
import { Margin } from 'recharts/types/util/types';
|
6
|
-
interface IProps extends Partial<Line> {
|
7
|
-
/** The source data. Example format: [{name: string, value: string}]. Name is required*/
|
8
|
-
data: any[];
|
9
|
-
/** Array of each bar in the BarChart: e.g [{name: "Kostnad", dataKey: "kostnad", fill: theme.primary}]. value of dataKey correlates to a property in the data source. Fill sets the color of the bar */
|
10
|
-
lines: {
|
11
|
-
name: string;
|
12
|
-
dataKey: string;
|
13
|
-
stroke: string;
|
14
|
-
type: CurveType;
|
15
|
-
strokeWidth?: number;
|
16
|
-
}[];
|
17
|
-
/** xAxisDataKey: Looks at a property in the data source which will provide a name for each entry in the chart */
|
18
|
-
xAxisDataKey: string;
|
19
|
-
/**yAxisDataKey: Looks at a property in the data source which will provide a name for each entry in the chart */
|
20
|
-
yAxisDataKey?: string;
|
21
|
-
/** Height: default to 350px */
|
22
|
-
height?: string;
|
23
|
-
/** Width: defaults to auto */
|
24
|
-
width?: string;
|
25
|
-
/** xAxisLine: Show the xAxisLine, or leave empty. Default is false */
|
26
|
-
xAxisLine?: boolean;
|
27
|
-
/**yAxisLine: Show the yAxisLine, or leave empty. Default is false */
|
28
|
-
yAxisLine?: boolean;
|
29
|
-
/** tickLineX: Show axis tick line. Defaults to false */
|
30
|
-
tickLineX?: boolean;
|
31
|
-
/** tickLineY: Show axis tick line. Defaults to false */
|
32
|
-
tickLineY?: boolean;
|
33
|
-
/**legendHAlign: horizontal position of the caption for the content. Default is left */
|
34
|
-
legendHAlign?: 'left' | 'center' | 'right';
|
35
|
-
/**legendVAlign: vertical position of the caption for the content. Default is bottom */
|
36
|
-
legendVAlign?: 'top' | 'middle' | 'bottom';
|
37
|
-
/** margin: Margins for the BarChart. Default is { top: 0, right: 0, left: 0, bottom: 0 } */
|
38
|
-
margin?: Margin;
|
39
|
-
/** legendPadding: Sets padding for the Legend. Default is top: 10px, right: 0, left: 50px, bottom: 0 */
|
40
|
-
legendPadding?: {
|
41
|
-
top: number;
|
42
|
-
right: number;
|
43
|
-
bottom: number;
|
44
|
-
left: number;
|
45
|
-
};
|
46
|
-
/** xAxisPadding: sets padding for the xAxis. default is {left: 50, right: 50} */
|
47
|
-
xAxisPadding?: {
|
48
|
-
top?: number;
|
49
|
-
right?: number;
|
50
|
-
bottom?: number;
|
51
|
-
left?: number;
|
52
|
-
};
|
53
|
-
/**layout: vertical or horizontal BarChart. Defaults to horizontal. */
|
54
|
-
layout?: 'horizontal' | 'vertical';
|
55
|
-
/** Set to false to disallow decimals in tooltip formatter, defaults to true */
|
56
|
-
allowDecimalsInTooltip?: boolean;
|
57
|
-
/**tickFormatterX: formatter function of X-axis tick */
|
58
|
-
tickFormatterX?: (value: any, index: number) => string;
|
59
|
-
/**tickFormatterY: formatter function of Y-axis tick */
|
60
|
-
tickFormatterY?: (value: any, index: number) => string;
|
61
|
-
/** tooltipFormatter: formatter of the tooltip */
|
62
|
-
tooltipFormatter?: Formatter<ValueType, NameType>;
|
63
|
-
}
|
64
|
-
declare const SimpleLineChart: React.FC<IProps>;
|
65
|
-
export default SimpleLineChart;
|
1
|
+
import React from 'react';
|
2
|
+
import { Line } from 'recharts';
|
3
|
+
import { Formatter, NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
4
|
+
import { CurveType } from 'recharts/types/shape/Curve';
|
5
|
+
import { Margin } from 'recharts/types/util/types';
|
6
|
+
interface IProps extends Partial<Line> {
|
7
|
+
/** The source data. Example format: [{name: string, value: string}]. Name is required*/
|
8
|
+
data: any[];
|
9
|
+
/** Array of each bar in the BarChart: e.g [{name: "Kostnad", dataKey: "kostnad", fill: theme.primary}]. value of dataKey correlates to a property in the data source. Fill sets the color of the bar */
|
10
|
+
lines: {
|
11
|
+
name: string;
|
12
|
+
dataKey: string;
|
13
|
+
stroke: string;
|
14
|
+
type: CurveType;
|
15
|
+
strokeWidth?: number;
|
16
|
+
}[];
|
17
|
+
/** xAxisDataKey: Looks at a property in the data source which will provide a name for each entry in the chart */
|
18
|
+
xAxisDataKey: string;
|
19
|
+
/**yAxisDataKey: Looks at a property in the data source which will provide a name for each entry in the chart */
|
20
|
+
yAxisDataKey?: string;
|
21
|
+
/** Height: default to 350px */
|
22
|
+
height?: string;
|
23
|
+
/** Width: defaults to auto */
|
24
|
+
width?: string;
|
25
|
+
/** xAxisLine: Show the xAxisLine, or leave empty. Default is false */
|
26
|
+
xAxisLine?: boolean;
|
27
|
+
/**yAxisLine: Show the yAxisLine, or leave empty. Default is false */
|
28
|
+
yAxisLine?: boolean;
|
29
|
+
/** tickLineX: Show axis tick line. Defaults to false */
|
30
|
+
tickLineX?: boolean;
|
31
|
+
/** tickLineY: Show axis tick line. Defaults to false */
|
32
|
+
tickLineY?: boolean;
|
33
|
+
/**legendHAlign: horizontal position of the caption for the content. Default is left */
|
34
|
+
legendHAlign?: 'left' | 'center' | 'right';
|
35
|
+
/**legendVAlign: vertical position of the caption for the content. Default is bottom */
|
36
|
+
legendVAlign?: 'top' | 'middle' | 'bottom';
|
37
|
+
/** margin: Margins for the BarChart. Default is { top: 0, right: 0, left: 0, bottom: 0 } */
|
38
|
+
margin?: Margin;
|
39
|
+
/** legendPadding: Sets padding for the Legend. Default is top: 10px, right: 0, left: 50px, bottom: 0 */
|
40
|
+
legendPadding?: {
|
41
|
+
top: number;
|
42
|
+
right: number;
|
43
|
+
bottom: number;
|
44
|
+
left: number;
|
45
|
+
};
|
46
|
+
/** xAxisPadding: sets padding for the xAxis. default is {left: 50, right: 50} */
|
47
|
+
xAxisPadding?: {
|
48
|
+
top?: number;
|
49
|
+
right?: number;
|
50
|
+
bottom?: number;
|
51
|
+
left?: number;
|
52
|
+
};
|
53
|
+
/**layout: vertical or horizontal BarChart. Defaults to horizontal. */
|
54
|
+
layout?: 'horizontal' | 'vertical';
|
55
|
+
/** Set to false to disallow decimals in tooltip formatter, defaults to true */
|
56
|
+
allowDecimalsInTooltip?: boolean;
|
57
|
+
/**tickFormatterX: formatter function of X-axis tick */
|
58
|
+
tickFormatterX?: (value: any, index: number) => string;
|
59
|
+
/**tickFormatterY: formatter function of Y-axis tick */
|
60
|
+
tickFormatterY?: (value: any, index: number) => string;
|
61
|
+
/** tooltipFormatter: formatter of the tooltip */
|
62
|
+
tooltipFormatter?: Formatter<ValueType, NameType>;
|
63
|
+
}
|
64
|
+
declare const SimpleLineChart: React.FC<IProps>;
|
65
|
+
export default SimpleLineChart;
|
66
66
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1,9 +1,9 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export declare const LineChartContainer: import("@emotion/styled").StyledComponent<{
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
5
|
-
} & {
|
6
|
-
width: string;
|
7
|
-
height: string;
|
8
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const LineChartContainer: import("@emotion/styled").StyledComponent<{
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
5
|
+
} & {
|
6
|
+
width: string;
|
7
|
+
height: string;
|
8
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
9
9
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -4,4 +4,4 @@ export const LineChartContainer = _styled("div", process.env.NODE_ENV === "produ
|
|
4
4
|
} : {
|
5
5
|
target: "eqc7n110",
|
6
6
|
label: "LineChartContainer"
|
7
|
-
})("width:", props => props.width && props.width, ";height:", props => props.height && props.height, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
7
|
+
})("width:", props => props.width && props.width, ";height:", props => props.height && props.height, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NpbXBsZUxpbmVDaGFydC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRStFIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NpbXBsZUxpbmVDaGFydC9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuZXhwb3J0IGNvbnN0IExpbmVDaGFydENvbnRhaW5lciA9IHN0eWxlZC5kaXY8eyB3aWR0aDogc3RyaW5nOyBoZWlnaHQ6IHN0cmluZyB9PmBcbiAgd2lkdGg6ICR7KHByb3BzKSA9PiBwcm9wcy53aWR0aCAmJiBwcm9wcy53aWR0aH07XG4gIGhlaWdodDogJHsocHJvcHMpID0+IHByb3BzLmhlaWdodCAmJiBwcm9wcy5oZWlnaHR9O1xuYFxuIl19 */"));
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export interface IProps {
|
3
|
-
/** Style the skeleton as a circle */
|
4
|
-
circle?: boolean;
|
5
|
-
/** Skeleton height */
|
6
|
-
height?: string;
|
7
|
-
/** Skeleton width */
|
8
|
-
width?: string;
|
9
|
-
/** Makes the skeleton a rectangle */
|
10
|
-
rectangle?: boolean;
|
11
|
-
/** Skeleton border radius */
|
12
|
-
borderRadius?: string;
|
13
|
-
}
|
14
|
-
declare const Skeleton: React.FC<IProps>;
|
15
|
-
export default Skeleton;
|
1
|
+
import React from 'react';
|
2
|
+
export interface IProps {
|
3
|
+
/** Style the skeleton as a circle */
|
4
|
+
circle?: boolean;
|
5
|
+
/** Skeleton height */
|
6
|
+
height?: string;
|
7
|
+
/** Skeleton width */
|
8
|
+
width?: string;
|
9
|
+
/** Makes the skeleton a rectangle */
|
10
|
+
rectangle?: boolean;
|
11
|
+
/** Skeleton border radius */
|
12
|
+
borderRadius?: string;
|
13
|
+
}
|
14
|
+
declare const Skeleton: React.FC<IProps>;
|
15
|
+
export default Skeleton;
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1,21 +1,21 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { IProps } from '../Skeleton';
|
3
|
-
export declare const SkeletonRow: import("@emotion/styled").StyledComponent<{
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
6
|
-
} & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
8
|
-
} & IProps, {}, {}>;
|
9
|
-
export declare const SkeletonCircle: import("@emotion/styled").StyledComponent<{
|
10
|
-
theme?: import("@emotion/react").Theme | undefined;
|
11
|
-
as?: import("react").ElementType<any> | undefined;
|
12
|
-
} & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
13
|
-
theme?: import("@emotion/react").Theme | undefined;
|
14
|
-
} & IProps, {}, {}>;
|
15
|
-
export declare const SkeletonRectangle: import("@emotion/styled").StyledComponent<{
|
16
|
-
theme?: import("@emotion/react").Theme | undefined;
|
17
|
-
as?: import("react").ElementType<any> | undefined;
|
18
|
-
} & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
19
|
-
theme?: import("@emotion/react").Theme | undefined;
|
20
|
-
} & IProps, {}, {}>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { IProps } from '../Skeleton';
|
3
|
+
export declare const SkeletonRow: import("@emotion/styled").StyledComponent<{
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
6
|
+
} & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
8
|
+
} & IProps, {}, {}>;
|
9
|
+
export declare const SkeletonCircle: import("@emotion/styled").StyledComponent<{
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
11
|
+
as?: import("react").ElementType<any> | undefined;
|
12
|
+
} & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
14
|
+
} & IProps, {}, {}>;
|
15
|
+
export declare const SkeletonRectangle: import("@emotion/styled").StyledComponent<{
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
17
|
+
as?: import("react").ElementType<any> | undefined;
|
18
|
+
} & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
19
|
+
theme?: import("@emotion/react").Theme | undefined;
|
20
|
+
} & IProps, {}, {}>;
|
21
21
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -12,23 +12,23 @@ const defaultShimmer = _styled("span", process.env.NODE_ENV === "production" ? {
|
|
12
12
|
} : {
|
13
13
|
target: "enirjj93",
|
14
14
|
label: "defaultShimmer"
|
15
|
-
})("display:inline-block;position:relative;overflow:hidden;vertical-align:middle;background-color:", shimmerBg, ";animation:", pulse, " 2s infinite;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
15
|
+
})("display:inline-block;position:relative;overflow:hidden;vertical-align:middle;background-color:", shimmerBg, ";animation:", pulse, " 2s infinite;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NrZWxldG9uL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZa0MiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvU2tlbGV0b24vc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IElQcm9wcyB9IGZyb20gJy4uL1NrZWxldG9uJ1xuXG5jb25zdCBzaGltbWVyQmcgPSAnI2NjYydcblxuY29uc3QgcHVsc2UgPSBrZXlmcmFtZXNgXG4gIDAlIHsgb3BhY2l0eTogMC42OyB9XG4gIDUwJSAgeyBvcGFjaXR5OiAwLjI7IH1cbiAgMTAwJSB7IG9wYWNpdHk6IDAuNjsgfVxuYFxuXG5jb25zdCBkZWZhdWx0U2hpbW1lciA9IHN0eWxlZC5zcGFuYFxuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4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yA6ICcwJyl9O1xuYFxuIl19 */"));
|
16
16
|
|
17
17
|
export const SkeletonRow = /*#__PURE__*/_styled(defaultShimmer, process.env.NODE_ENV === "production" ? {
|
18
18
|
target: "enirjj92"
|
19
19
|
} : {
|
20
20
|
target: "enirjj92",
|
21
21
|
label: "SkeletonRow"
|
22
|
-
})("height:", props => props.height ? props.height : '1em', ";width:", props => props.width ? props.width : '65%', ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
22
|
+
})("height:", props => props.height ? props.height : '1em', ";width:", props => props.width ? props.width : '65%', ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NrZWxldG9uL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFxQnlEIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NrZWxldG9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsga2V5ZnJhbWVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBJUHJvcHMgfSBmcm9tICcuLi9Ta2VsZXRvbidcblxuY29uc3Qgc2hpbW1lckJnID0gJyNjY2MnXG5cbmNvbnN0IHB1bHNlID0ga2V5ZnJhbWVzYFxuICAwJSB7IG9wYWNpdHk6IDAuNjsgfVxuICA1MCUgIHsgb3BhY2l0eTogMC4yOyB9XG4gIDEwMCUgeyBvcGFjaXR5OiAwLjY7IH1cbmBcblxuY29uc3QgZGVmYXVsdFNoaW1tZXIgPSBzdHlsZWQuc3BhbmBcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICBwb3NpdGl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iAnMCcpfTtcbmBcbiJdfQ== */"));
|
23
23
|
export const SkeletonCircle = /*#__PURE__*/_styled(defaultShimmer, process.env.NODE_ENV === "production" ? {
|
24
24
|
target: "enirjj91"
|
25
25
|
} : {
|
26
26
|
target: "enirjj91",
|
27
27
|
label: "SkeletonCircle"
|
28
|
-
})("height:", props => props.height ? props.height : '34px', ";width:", props => props.width ? props.width : '34px', ";border-radius:50%;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
28
|
+
})("height:", props => props.height ? props.height : '34px', ";width:", props => props.width ? props.width : '34px', ";border-radius:50%;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NrZWxldG9uL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwQjREIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NrZWxldG9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsga2V5ZnJhbWVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBJUHJvcHMgfSBmcm9tICcuLi9Ta2VsZXRvbidcblxuY29uc3Qgc2hpbW1lckJnID0gJyNjY2MnXG5cbmNvbnN0IHB1bHNlID0ga2V5ZnJhbWVzYFxuICAwJSB7IG9wYWNpdHk6IDAuNjsgfVxuICA1MCUgIHsgb3BhY2l0eTogMC4yOyB9XG4gIDEwMCUgeyBvcGFjaXR5OiAwLjY7IH1cbmBcblxuY29uc3QgZGVmYXVsdFNoaW1tZXIgPSBzdHlsZWQuc3BhbmBcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuIC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YWRpdXMgOiAnMCcpfTtcbmBcbiJdfQ== */"));
|
29
29
|
export const SkeletonRectangle = /*#__PURE__*/_styled(defaultShimmer, process.env.NODE_ENV === "production" ? {
|
30
30
|
target: "enirjj90"
|
31
31
|
} : {
|
32
32
|
target: "enirjj90",
|
33
33
|
label: "SkeletonRectangle"
|
34
|
-
})("height:", props => props.height ? props.height : '34px', ";width:", props => props.width ? props.width : '34px', ";border-radius:", props => props.borderRadius ? props.borderRadius : '0', ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
34
|
+
})("height:", props => props.height ? props.height : '34px', ";width:", props => props.width ? props.width : '34px', ";border-radius:", props => props.borderRadius ? props.borderRadius : '0', ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NrZWxldG9uL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQytEIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NrZWxldG9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsga2V5ZnJhbWVzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBJUHJvcHMgfSBmcm9tICcuLi9Ta2VsZXRvbidcblxuY29uc3Qgc2hpbW1lckJnID0gJyNjY2MnXG5cbmNvbnN0IHB1bHNlID0ga2V5ZnJhbWVzYFxuICAwJSB7IG9wYWNpdHk6IDAuNjsgfVxuICA1MCUgIHsgb3BhY2l0eTogMC4yOyB9XG4gIDEwMCUgeyBvcGFjaXR5OiAwLjY7IH1cbmBcblxuY29uc3QgZGVmYXVsdFNoaW1tZXI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vcHMpID0+IChwcm9wcy5ib3JkZXJSYWRpdXMgPyBwcm9wcy5ib3JkZXJSYWRpdXMgOiAnMCcpfTtcbmBcbiJdfQ== */"));
|
@@ -1,12 +1,12 @@
|
|
1
|
-
/** @jsxImportSource @emotion/react */
|
2
|
-
import React from 'react';
|
3
|
-
interface IProps {
|
4
|
-
size?: number;
|
5
|
-
margin?: string;
|
6
|
-
color?: string;
|
7
|
-
offsetColor?: string;
|
8
|
-
thickness?: number;
|
9
|
-
}
|
10
|
-
declare const Spinner: React.FC<IProps>;
|
11
|
-
export default Spinner;
|
1
|
+
/** @jsxImportSource @emotion/react */
|
2
|
+
import React from 'react';
|
3
|
+
interface IProps {
|
4
|
+
size?: number;
|
5
|
+
margin?: string;
|
6
|
+
color?: string;
|
7
|
+
offsetColor?: string;
|
8
|
+
thickness?: number;
|
9
|
+
}
|
10
|
+
declare const Spinner: React.FC<IProps>;
|
11
|
+
export default Spinner;
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { IAppTheme } from '../../app-shell/theme';
|
2
|
-
declare const styles: {
|
3
|
-
default: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
4
|
-
size: (size: number) => import("@emotion/react").SerializedStyles;
|
5
|
-
margin: (margin: string) => import("@emotion/react").SerializedStyles;
|
6
|
-
color: (color: string) => import("@emotion/react").SerializedStyles;
|
7
|
-
border: (thickness: number | undefined, offsetColor: string | undefined, borderBottom: string) => import("@emotion/react").SerializedStyles;
|
8
|
-
};
|
9
|
-
export default styles;
|
10
|
-
export { styles };
|
1
|
+
import { IAppTheme } from '../../app-shell/theme';
|
2
|
+
declare const styles: {
|
3
|
+
default: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
4
|
+
size: (size: number) => import("@emotion/react").SerializedStyles;
|
5
|
+
margin: (margin: string) => import("@emotion/react").SerializedStyles;
|
6
|
+
color: (color: string) => import("@emotion/react").SerializedStyles;
|
7
|
+
border: (thickness: number | undefined, offsetColor: string | undefined, borderBottom: string) => import("@emotion/react").SerializedStyles;
|
8
|
+
};
|
9
|
+
export default styles;
|
10
|
+
export { styles };
|
11
11
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { css } from '@emotion/react';
|
2
2
|
const styles = {
|
3
|
-
default: theme => /*#__PURE__*/css("@keyframes spinner{0%{transform:translate3d(-50%, -50%, 0) rotate(0deg);}100%{transform:translate3d(-50%, -50%, 0) rotate(360deg);}}position:relative;&::before{animation:1.5s linear infinite spinner;animation-play-state:inherit;border:solid 3px #cfd0d1;border-bottom-color:", theme.primary, ";border-radius:50%;content:'';height:8px;width:8px;position:absolute;top:10%;left:10%;transform:translate3d(-50%, -50%, 0);will-change:transform;}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
4
|
-
size: size => /*#__PURE__*/css("&::before{width:", size, "px;height:", size, "px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:size;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
5
|
-
margin: margin => /*#__PURE__*/css("margin:", margin, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:margin;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
6
|
-
color: color => /*#__PURE__*/css("&::before{border-bottom-color:", color, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:color;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
7
|
-
border: (thickness = 3, offsetColor = '#cfd0d1', borderBottom) => /*#__PURE__*/css("&::before{border:", thickness, "px solid ", offsetColor, ";border-bottom-color:", borderBottom, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:border;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
3
|
+
default: theme => /*#__PURE__*/css("@keyframes spinner{0%{transform:translate3d(-50%, -50%, 0) rotate(0deg);}100%{transform:translate3d(-50%, -50%, 0) rotate(360deg);}}position:relative;&::before{animation:1.5s linear infinite spinner;animation-play-state:inherit;border:solid 3px #cfd0d1;border-bottom-color:", theme.primary, ";border-radius:50%;content:'';height:8px;width:8px;position:absolute;top:10%;left:10%;transform:translate3d(-50%, -50%, 0);will-change:transform;}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NwaW5uZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlvQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9TcGlubmVyL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgSUFwcFRoZW1lIH0gZnJvbSAnLi4vLi4vYXBwLXNoZWxsL3RoZW1lJ1xuXG5jb25zdCBzdHlsZXMgPSB7XG4gIGRlZmF1bHQ6ICh0aGVtZTogSUFwcFRoZW1lKSA9PiBjc3NgXG4gICAgQGtleWZyYW1lcyBzcGlubmVyIHtcbiAgICAgIDAlIHtcbiAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCgtNTAlLCAtNTAlLCAwKSByb3RhdGUoMGRlZyk7XG4gICAgICB9XG4gICAgICAxMDAlIHtcbiAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCgtNTAlLCAtNTAlLCAwKSByb3RhdGUoMzYwZGVnKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG5cbi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gICAmOjpiZWZvcmUge1xuICAgICAgYm9yZGVyOiAke3RoaWNrbmVzc31weCBzb2xpZCAke29mZnNldENvbG9yfTtcbiAgICAgIGJvcmRlci1ib3R0b20tY29sb3I6ICR7Ym9yZGVyQm90dG9tfTtcbiAgICB9XG4gIGAsXG59XG5cbmV4cG9ydCBkZWZhdWx0IHN0eWxlc1xuZXhwb3J0IHsgc3R5bGVzIH1cbiJdfQ== */"),
|
4
|
+
size: size => /*#__PURE__*/css("&::before{width:", size, "px;height:", size, "px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:size;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NwaW5uZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlDNkIiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvU3Bpbm5lci9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IElBcHBUaGVtZSB9IGZyb20gJy4uLy4uL2FwcC1zaGVsbC90aGVtZSdcblxuY29uc3Qgc3R5bGVzID0ge1xuICBkZWZhdWx0OiAodGhlbWU6IElBcHBUaGVtZSkgPT4gY3NzYFxuICAgIEBrZXlmcmFtZXMgc3Bpbm5lciB7XG4gICAgICAwJSB7XG4gICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoLTUwJSwgLTUwJSwgMCkgcm90YXRlKDBkZWcpO1xuICAgICAgfVxuICAgICAgMTAwJSB7XG4gICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoLTUwJSwgLTUwJSwgMCkgcm90YXRlKDM2MGRlZyk7XG4gICAgICB9XG4gICAgfVxuXG4gIC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JpbmdcbiAgKSA9PiBjc3NgXG4gICAgJjo6YmVmb3JlIHtcbiAgICAgIGJvcmRlcjogJHt0aGlja25lc3N9cHggc29saWQgJHtvZmZzZXRDb2xvcn07XG4gICAgICBib3JkZXItYm90dG9tLWNvbG9yOiAke2JvcmRlckJvdHRvbX07XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcbmV4cG9ydCB7IHN0eWxlcyB9XG4iXX0= */"),
|
5
|
+
margin: margin => /*#__PURE__*/css("margin:", margin, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:margin;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NwaW5uZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdDaUMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvU3Bpbm5lci9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IElBcHBUaGVtZSB9IGZyb20gJy4uLy4uL2FwcC1zaGVsbC90aGVtZSdcblxuY29uc3Qgc3R5bGVzID0ge1xuICBkZWZhdWx0OiAodGhlbWU6IElBcHBUaGVtZSkgPT4gY3NzYFxuICAgIEBrZXlmcmFtZXMgc3Bpbm5lciB7XG4gICAgICAwJSB7XG4gICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoLTUwJSwgLTUwJSwgMCkgcm90YXRlKDBkZWcpO1xuICAgICAgfVxuICAgICAgMTAwJSB7XG4gICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoLTUwJSwgLTUwJSwgMCkgcm90YXRlKDM2MGRlZyk7XG4gICAgICB9XG4g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m90dG9tOiBzdHJpbmdcbiAgKSA9PiBjc3NgXG4gICAgJjo6YmVmb3JlIHtcbiAgICAgIGJvcmRlcjogJHt0aGlja25lc3N9cHggc29saWQgJHtvZmZzZXRDb2xvcn07XG4gICAgICBib3JkZXItYm90dG9tLWNvbG9yOiAke2JvcmRlckJvdHRvbX07XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcbmV4cG9ydCB7IHN0eWxlcyB9XG4iXX0= */"),
|
6
|
+
color: color => /*#__PURE__*/css("&::before{border-bottom-color:", color, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:color;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NwaW5uZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRDK0IiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvU3Bpbm5lci9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IElBcHBUaGVtZSB9IGZyb20gJy4uLy4uL2FwcC1zaGVsbC90aGVtZSdcblxuY29uc3Qgc3R5bGVzID0ge1xuICBkZWZhdWx0OiAodGhlbWU6IElBcHBUaGVtZSkgPT4gY3NzYFxuICAgIEBrZXlmcmFtZXMgc3Bpbm5lciB7XG4gICAgICAwJSB7XG4gICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoLTUwJSwgLTUwJSwgMCkgcm90YXRlKDBkZWcpO1xuICAgICAgfVxuICAgICAgMTAwJSB7XG4gICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoLTUwJSwgLTUwJSwgMCkgcm90YXRlKDM2MGRl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ScsXG4gICAgYm9yZGVyQm90dG9tOiBzdHJpbmdcbiAgKSA9PiBjc3NgXG4gICAgJjo6YmVmb3JlIHtcbiAgICAgIGJvcmRlcjogJHt0aGlja25lc3N9cHggc29saWQgJHtvZmZzZXRDb2xvcn07XG4gICAgICBib3JkZXItYm90dG9tLWNvbG9yOiAke2JvcmRlckJvdHRvbX07XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcbmV4cG9ydCB7IHN0eWxlcyB9XG4iXX0= */"),
|
7
|
+
border: (thickness = 3, offsetColor = '#cfd0d1', borderBottom) => /*#__PURE__*/css("&::before{border:", thickness, "px solid ", offsetColor, ";border-bottom-color:", borderBottom, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:border;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1NwaW5uZXIvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNEVSIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9TcGlubmVyL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgSUFwcFRoZW1lIH0gZnJvbSAnLi4vLi4vYXBwLXNoZWxsL3RoZW1lJ1xuXG5jb25zdCBzdHlsZXMgPSB7XG4gIGRlZmF1bHQ6ICh0aGVtZTogSUFwcFRoZW1lKSA9PiBjc3NgXG4gICAgQGtleWZyYW1lcyBzcGlubmVyIHtcbiAgICAgIDAlIHtcbiAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCgtNTAlLCAtNTAlLCAwKSByb3RhdGUoMGRlZyk7XG4gICAgICB9XG4gICAgICAxMDAlIHtcbiA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I6IChcbiAgICB0aGlja25lc3M6IG51bWJlciA9IDMsXG4gICAgb2Zmc2V0Q29sb3I6IHN0cmluZyA9ICcjY2ZkMGQxJyxcbiAgICBib3JkZXJCb3R0b206IHN0cmluZ1xuICApID0+IGNzc2BcbiAgICAmOjpiZWZvcmUge1xuICAgICAgYm9yZGVyOiAke3RoaWNrbmVzc31weCBzb2xpZCAke29mZnNldENvbG9yfTtcbiAgICAgIGJvcmRlci1ib3R0b20tY29sb3I6ICR7Ym9yZGVyQm90dG9tfTtcbiAgICB9XG4gIGAsXG59XG5cbmV4cG9ydCBkZWZhdWx0IHN0eWxlc1xuZXhwb3J0IHsgc3R5bGVzIH1cbiJdfQ== */")
|
8
8
|
};
|
9
9
|
export default styles;
|
10
10
|
export { styles };
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
/** Text on tab */
|
4
|
-
text: string;
|
5
|
-
/** Tab icon */
|
6
|
-
icon: React.ReactNode;
|
7
|
-
/** Active tab indicator */
|
8
|
-
active: boolean;
|
9
|
-
/** Event fired on click */
|
10
|
-
onClick: () => void;
|
11
|
-
}
|
12
|
-
declare const TabItem: React.FC<IProps>;
|
13
|
-
export default TabItem;
|
1
|
+
import React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
/** Text on tab */
|
4
|
+
text: string;
|
5
|
+
/** Tab icon */
|
6
|
+
icon: React.ReactNode;
|
7
|
+
/** Active tab indicator */
|
8
|
+
active: boolean;
|
9
|
+
/** Event fired on click */
|
10
|
+
onClick: () => void;
|
11
|
+
}
|
12
|
+
declare const TabItem: React.FC<IProps>;
|
13
|
+
export default TabItem;
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export declare const TabWrapper: import("@emotion/styled").StyledComponent<{
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const TabWrapper: import("@emotion/styled").StyledComponent<{
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
6
6
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -13,6 +13,6 @@ export const TabWrapper = _styled("button", process.env.NODE_ENV === "production
|
|
13
13
|
} : {
|
14
14
|
name: "44ia8h",
|
15
15
|
styles: "display:flex;justify-content:center;align-items:center;flex-direction:column;flex:1;background-color:transparent;border:none",
|
16
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
16
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYkJhci9UYWJJdGVtL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFdUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvVGFiQmFyL1RhYkl0ZW0vc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCI7XG5cbmV4cG9ydCBjb25zdCBUYWJXcmFwcGVyID0gc3R5bGVkLmJ1dHRvbmBcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIGZsZXg6IDE7XG4gIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xuICBib3JkZXI6IG5vbmU7XG5gIl19 */",
|
17
17
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
18
18
|
});
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
/** Children */
|
4
|
-
children?: React.ReactNode | React.ReactNode[];
|
5
|
-
}
|
6
|
-
declare const TabBar: React.FC<IProps>;
|
7
|
-
export default TabBar;
|
1
|
+
import React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
/** Children */
|
4
|
+
children?: React.ReactNode | React.ReactNode[];
|
5
|
+
}
|
6
|
+
declare const TabBar: React.FC<IProps>;
|
7
|
+
export default TabBar;
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
6
6
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -13,6 +13,6 @@ export const Wrapper = _styled("div", process.env.NODE_ENV === "production" ? {
|
|
13
13
|
} : {
|
14
14
|
name: "1u0ub29",
|
15
15
|
styles: "position:fixed;left:0;right:0;bottom:0;z-index:2;height:70px;padding-bottom:10px;background-color:white;box-shadow:0 -2px 4px 0 rgba(0,0,0,0.1);display:flex;flex-direction:row;align-items:stretch",
|
16
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
16
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYkJhci9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR2lDIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYkJhci9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcblxuXG5leHBvcnQgY29uc3QgV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgbGVmdDogMDtcbiAgcmlnaHQ6IDA7XG4gIGJvdHRvbTogMDtcbiAgei1pbmRleDogMjtcbiAgaGVpZ2h0OiA3MHB4O1xuICBwYWRkaW5nLWJvdHRvbTogMTBweDtcbiAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XG4gIGJveC1zaGFkb3c6IDAgLTJweCA0cHggMCByZ2JhKDAsMCwwLDAuMSk7XG5cbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgYWxpZ24taXRlbXM6IHN0cmV0Y2g7XG5gIl19 */",
|
17
17
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
18
18
|
});
|
@@ -1,19 +1,19 @@
|
|
1
|
-
import React, { Dispatch, FC, SetStateAction } from 'react';
|
2
|
-
interface IWidthObject {
|
3
|
-
[key: string]: number;
|
4
|
-
}
|
5
|
-
interface IProps {
|
6
|
-
value?: number | string;
|
7
|
-
onChange: (value: number | string) => void;
|
8
|
-
children?: React.ReactNode;
|
9
|
-
}
|
10
|
-
export interface ITabContextProps {
|
11
|
-
active: number | string;
|
12
|
-
width: number;
|
13
|
-
setActive: Dispatch<SetStateAction<string | number>>;
|
14
|
-
setWidth: (obj: IWidthObject) => void;
|
15
|
-
}
|
16
|
-
export declare const TabContext: React.Context<ITabContextProps>;
|
17
|
-
export declare const TabContextProvider: FC<IProps>;
|
18
|
-
export {};
|
1
|
+
import React, { Dispatch, FC, SetStateAction } from 'react';
|
2
|
+
interface IWidthObject {
|
3
|
+
[key: string]: number;
|
4
|
+
}
|
5
|
+
interface IProps {
|
6
|
+
value?: number | string;
|
7
|
+
onChange: (value: number | string) => void;
|
8
|
+
children?: React.ReactNode;
|
9
|
+
}
|
10
|
+
export interface ITabContextProps {
|
11
|
+
active: number | string;
|
12
|
+
width: number;
|
13
|
+
setActive: Dispatch<SetStateAction<string | number>>;
|
14
|
+
setWidth: (obj: IWidthObject) => void;
|
15
|
+
}
|
16
|
+
export declare const TabContext: React.Context<ITabContextProps>;
|
17
|
+
export declare const TabContextProvider: FC<IProps>;
|
18
|
+
export {};
|
19
19
|
//# sourceMappingURL=TabContext.d.ts.map
|