@bbl-digital/snorre 4.0.0-beta.8 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +604 -354
- package/esm/app-shell/index.js +6 -4
- 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 +2 -2
- package/esm/core/BoxedTable/DraggableRow/styles.js +5 -5
- package/esm/core/BoxedTable/HeaderCell/styles.js +1 -1
- package/esm/core/BoxedTable/RowCell/styles.js +1 -1
- package/esm/core/BoxedTable/TableHeader/styles.js +1 -1
- package/esm/core/BoxedTable/TableRow/styles.js +6 -6
- package/esm/core/BoxedTable/styles.js +2 -2
- package/esm/core/Button/styles.js +1 -1
- 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/CommentsTimeline/CommentLine/styles.js +4 -4
- package/esm/core/CommentsTimeline/styles.js +1 -1
- package/esm/core/CustomText/styles.js +1 -1
- package/esm/core/Datepicker/styles.js +6 -6
- package/esm/core/DatepickerRange/styles.js +6 -6
- package/esm/core/DropdownMenu/styles.js +2 -2
- package/esm/core/Editor/styles.js +2 -2
- package/esm/core/FileInput/styles.js +11 -11
- package/esm/core/GoogleButton/styles.js +1 -1
- package/esm/core/HighlightText/styles.js +1 -1
- package/esm/core/InfoButton/styles.js +2 -2
- package/esm/core/Link/styles.js +1 -1
- package/esm/core/List/Item.js +1 -1
- package/esm/core/ListPager/styles.js +2 -2
- package/esm/core/MediaCarousel/MediaCarousel.stories.js +34 -0
- package/esm/core/MediaCarousel/index.js +87 -0
- package/esm/core/MediaCarousel/styles.js +55 -0
- package/esm/core/Modal/ActionButtons/index.js +1 -1
- package/esm/core/Modal/styles.js +7 -7
- package/esm/core/NoticeCard/models.js +3 -3
- 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 +5 -5
- 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/models.js +3 -3
- package/esm/core/PreemptionCard/styles.js +2 -2
- package/esm/core/PreemptionCardLoading/styles.js +3 -3
- package/esm/core/SearchFilter/styles.js +6 -6
- package/esm/core/SearchSelect/styles.js +4 -4
- package/esm/core/Select/styles.js +3 -3
- package/esm/core/SimpleBarChart/styles.js +1 -1
- package/esm/core/SimpleLineChart/styles.js +1 -1
- package/esm/core/Skeleton/styles.js +1 -1
- package/esm/core/TabBar/TabItem/styles.js +1 -1
- package/esm/core/TabBar/styles.js +1 -1
- package/esm/core/TabNav/TabNavItem/styles.js +3 -3
- package/esm/core/TabNav/styles.js +4 -4
- package/esm/core/Table/styles.js +2 -2
- package/esm/core/Text/Text.stories.js +100 -71
- package/esm/core/Text/index.js +3 -2
- package/esm/core/Text/styles.js +24 -14
- package/esm/core/Textarea/styles.js +3 -3
- package/esm/core/Timeline/TimelineStep/styles.js +3 -3
- package/esm/core/Timeline/styles.js +1 -1
- package/esm/core/Timepicker/styles.js +2 -2
- package/esm/core/UserMenu/styles.js +6 -6
- package/esm/core/Video/Video.stories.js +31 -0
- package/esm/core/Video/index.js +87 -0
- package/esm/core/Video/styles.js +16 -0
- package/esm/core/YearWheel/styles.js +1 -1
- package/esm/enums/Keyboard.js +3 -3
- package/esm/index.js +3 -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/styles.js +1 -1
- package/esm/layout/Layout/styles.js +1 -1
- package/esm/layout/LayoutShell/styles.js +5 -5
- package/esm/layout/Menu/AppPicker/index.js +2 -1
- package/esm/layout/Menu/AppPicker/styles.js +2 -2
- 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 +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 +1 -1
- package/esm/layout/Submenu/styles.js +6 -6
- package/esm/layout/Topbar/styles.js +1 -1
- package/esm/shared/components/SbIconGrid/index.js +1 -1
- package/esm/shared/recharts/CustomLegend/styles.js +2 -2
- package/esm/shared/recharts/CustomTooltip/styles.js +3 -3
- package/esm/utils/useSnorreTheme.js +3 -2
- package/infrastructure/azure-pipelines.yml +2 -2
- package/lib/app-shell/index.d.ts +2 -0
- package/lib/app-shell/index.d.ts.map +1 -1
- package/lib/app-shell/index.js +6 -4
- package/lib/core/Alert/Alert.stories.d.ts +7 -6
- package/lib/core/Alert/Alert.stories.d.ts.map +1 -1
- package/lib/core/Alert/styles.d.ts +6 -6
- package/lib/core/AppLoader/AppLoader.stories.d.ts +3 -2
- package/lib/core/AppLoader/AppLoader.stories.d.ts.map +1 -1
- package/lib/core/AppLoader/styles.d.ts +1 -1
- package/lib/core/Autocomplete/Autocomplete.stories.d.ts +16 -16
- package/lib/core/Autocomplete/styles.d.ts +18 -18
- package/lib/core/Banner/Banner.stories.d.ts +7 -6
- package/lib/core/Banner/Banner.stories.d.ts.map +1 -1
- package/lib/core/Banner/styles.js +4 -4
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +3 -2
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts.map +1 -1
- package/lib/core/BarAndLineComposedChart/styles.js +1 -1
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts +3 -2
- package/lib/core/BarChartWithCustomizedEvent/BarChartWithCustomizedEvent.stories.d.ts.map +1 -1
- package/lib/core/BarChartWithCustomizedEvent/styles.js +1 -1
- package/lib/core/Box/Box.stories.d.ts +11 -10
- package/lib/core/Box/Box.stories.d.ts.map +1 -1
- package/lib/core/Box/styles.d.ts +5 -5
- package/lib/core/Box/styles.js +2 -2
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts +10 -9
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts.map +1 -1
- package/lib/core/BoxedTable/DraggableRow/styles.js +5 -5
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts +1 -1
- package/lib/core/BoxedTable/HeaderCell/styles.js +1 -1
- package/lib/core/BoxedTable/RowCell/styles.d.ts +8 -8
- package/lib/core/BoxedTable/RowCell/styles.js +1 -1
- package/lib/core/BoxedTable/TableHeader/styles.js +1 -1
- package/lib/core/BoxedTable/TableRow/styles.js +6 -6
- package/lib/core/BoxedTable/styles.js +2 -2
- package/lib/core/Button/Button.stories.d.ts +17 -16
- package/lib/core/Button/Button.stories.d.ts.map +1 -1
- package/lib/core/Button/styles.d.ts +18 -18
- package/lib/core/Button/styles.js +1 -1
- package/lib/core/Calendar/Calendar.stories.d.ts +5 -4
- package/lib/core/Calendar/Calendar.stories.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/styles.js +5 -5
- package/lib/core/Calendar/CalendarSmallEvent/styles.js +5 -5
- package/lib/core/Calendar/styles.js +5 -5
- package/lib/core/Card/Card.stories.d.ts +8 -8
- package/lib/core/Card/styles.d.ts +11 -11
- package/lib/core/Checkbox/Checkbox.stories.d.ts +7 -6
- package/lib/core/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/lib/core/Checkbox/styles.d.ts +5 -5
- package/lib/core/CollapseList/CollapseList.stories.d.ts +4 -3
- package/lib/core/CollapseList/CollapseList.stories.d.ts.map +1 -1
- package/lib/core/CollapseList/styles.d.ts +2 -2
- package/lib/core/CommentsTimeline/CommentLine/styles.js +4 -4
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts +4 -3
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts.map +1 -1
- package/lib/core/CommentsTimeline/styles.js +1 -1
- package/lib/core/CustomText/CustomText.stories.d.ts +6 -5
- package/lib/core/CustomText/CustomText.stories.d.ts.map +1 -1
- package/lib/core/CustomText/styles.d.ts +1 -1
- package/lib/core/CustomText/styles.js +1 -1
- package/lib/core/Datepicker/Datepicker.stories.d.ts +8 -7
- package/lib/core/Datepicker/Datepicker.stories.d.ts.map +1 -1
- package/lib/core/Datepicker/styles.d.ts +4 -4
- package/lib/core/Datepicker/styles.js +6 -6
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts +3 -2
- package/lib/core/DatepickerRange/DatepickerRange.stories.d.ts.map +1 -1
- package/lib/core/DatepickerRange/styles.d.ts +4 -4
- package/lib/core/DatepickerRange/styles.js +6 -6
- package/lib/core/Divider/styles.d.ts +5 -5
- package/lib/core/Dropdown/Dropdown.stories.d.ts +7 -6
- package/lib/core/Dropdown/Dropdown.stories.d.ts.map +1 -1
- package/lib/core/Dropdown/styles.d.ts +3 -3
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts +5 -4
- package/lib/core/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
- package/lib/core/DropdownMenu/styles.d.ts +1 -1
- package/lib/core/DropdownMenu/styles.js +2 -2
- package/lib/core/Editor/Editor.stories.d.ts +7 -6
- package/lib/core/Editor/Editor.stories.d.ts.map +1 -1
- package/lib/core/Editor/styles.d.ts +2 -2
- package/lib/core/Editor/styles.js +2 -2
- package/lib/core/FileInput/index.d.ts +1 -1
- package/lib/core/FileInput/index.d.ts.map +1 -1
- package/lib/core/FileInput/styles.d.ts +1 -1
- package/lib/core/FileInput/styles.js +11 -11
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts +3 -2
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts.map +1 -1
- package/lib/core/GoogleButton/styles.js +1 -1
- package/lib/core/Header/Header.stories.d.ts +10 -9
- package/lib/core/Header/Header.stories.d.ts.map +1 -1
- package/lib/core/Header/styles.d.ts +7 -7
- package/lib/core/HighlightText/HighlightText.stories.d.ts +4 -3
- package/lib/core/HighlightText/HighlightText.stories.d.ts.map +1 -1
- package/lib/core/HighlightText/styles.js +1 -1
- package/lib/core/Html/Html.stories.d.ts +6 -5
- package/lib/core/Html/Html.stories.d.ts.map +1 -1
- package/lib/core/Html/styles.d.ts +6 -6
- package/lib/core/Image/Image.stories.d.ts +5 -4
- package/lib/core/Image/Image.stories.d.ts.map +1 -1
- package/lib/core/Image/styles.d.ts +4 -4
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts +2 -1
- package/lib/core/ImagePicker/ImagePicker.stories.d.ts.map +1 -1
- package/lib/core/ImagePicker/styles.d.ts +11 -11
- package/lib/core/InfoButton/InfoButton.stories.d.ts +7 -6
- package/lib/core/InfoButton/InfoButton.stories.d.ts.map +1 -1
- package/lib/core/InfoButton/styles.d.ts +7 -7
- package/lib/core/InfoButton/styles.js +2 -2
- package/lib/core/Input/styles.d.ts +16 -16
- package/lib/core/Link/Link.stories.d.ts +11 -10
- package/lib/core/Link/Link.stories.d.ts.map +1 -1
- package/lib/core/Link/styles.d.ts +9 -9
- package/lib/core/Link/styles.js +1 -1
- package/lib/core/List/Item.js +1 -1
- package/lib/core/List/List.stories.d.ts +11 -10
- package/lib/core/List/List.stories.d.ts.map +1 -1
- package/lib/core/List/styles.d.ts +11 -11
- package/lib/core/ListPager/ListPager.stories.d.ts +3 -2
- package/lib/core/ListPager/ListPager.stories.d.ts.map +1 -1
- package/lib/core/ListPager/styles.d.ts +1 -1
- package/lib/core/ListPager/styles.js +2 -2
- package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts +12 -0
- package/lib/core/MediaCarousel/MediaCarousel.stories.d.ts.map +1 -0
- package/lib/core/MediaCarousel/MediaCarousel.stories.js +34 -0
- package/lib/core/MediaCarousel/index.d.ts +27 -0
- package/lib/core/MediaCarousel/index.d.ts.map +1 -0
- package/lib/core/MediaCarousel/index.js +87 -0
- package/lib/core/MediaCarousel/styles.d.ts +28 -0
- package/lib/core/MediaCarousel/styles.d.ts.map +1 -0
- package/lib/core/MediaCarousel/styles.js +55 -0
- package/lib/core/Modal/ActionButtons/index.d.ts +1 -1
- package/lib/core/Modal/ActionButtons/index.d.ts.map +1 -1
- package/lib/core/Modal/ActionButtons/index.js +1 -1
- package/lib/core/Modal/Modal.stories.d.ts +7 -6
- package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
- package/lib/core/Modal/index.d.ts +1 -1
- package/lib/core/Modal/styles.js +7 -7
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts +4 -3
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts.map +1 -1
- package/lib/core/NoticeCard/models.js +3 -3
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentBlock/styles.js +4 -4
- package/lib/core/NoticeCard/privateComponents/NoticeAttachmentList/styles.js +1 -1
- package/lib/core/NoticeCard/privateComponents/NoticeMetaInfo/styles.js +3 -3
- package/lib/core/NoticeCard/styles.js +5 -5
- package/lib/core/NoticeCard/utils.d.ts +2 -1
- package/lib/core/NoticeCard/utils.d.ts.map +1 -1
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts +4 -3
- package/lib/core/NotificationCounter/NotificationCounter.stories.d.ts.map +1 -1
- package/lib/core/NotificationCounter/styles.d.ts +1 -1
- package/lib/core/NotificationsMenu/NotificationBell/styles.js +2 -2
- package/lib/core/NotificationsMenu/NotificationRow/styles.js +1 -1
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts +4 -3
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/styles.js +2 -2
- package/lib/core/PieChart/ActiveShape/index.d.ts +2 -1
- package/lib/core/PieChart/ActiveShape/index.d.ts.map +1 -1
- package/lib/core/PieChart/PieChart.stories.d.ts +6 -5
- package/lib/core/PieChart/PieChart.stories.d.ts.map +1 -1
- package/lib/core/PieChart/renderTextContent/index.d.ts +2 -1
- package/lib/core/PieChart/renderTextContent/index.d.ts.map +1 -1
- package/lib/core/PieChart/styles.js +2 -2
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts +3 -2
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCard/models.js +3 -3
- package/lib/core/PreemptionCard/styles.js +2 -2
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +3 -2
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCardLoading/styles.js +3 -3
- package/lib/core/Radio/Radio.stories.d.ts +6 -5
- package/lib/core/Radio/Radio.stories.d.ts.map +1 -1
- package/lib/core/Radio/styles.d.ts +4 -4
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts +6 -5
- package/lib/core/SearchFilter/SearchFilter.stories.d.ts.map +1 -1
- package/lib/core/SearchFilter/styles.d.ts +2 -2
- package/lib/core/SearchFilter/styles.js +6 -6
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts +4 -3
- package/lib/core/SearchSelect/SearchSelect.stories.d.ts.map +1 -1
- package/lib/core/SearchSelect/styles.d.ts +1 -1
- package/lib/core/SearchSelect/styles.js +4 -4
- package/lib/core/Select/Select.stories.d.ts +13 -12
- package/lib/core/Select/Select.stories.d.ts.map +1 -1
- package/lib/core/Select/styles.d.ts +13 -13
- package/lib/core/Select/styles.js +3 -3
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts +6 -5
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts.map +1 -1
- package/lib/core/SimpleBarChart/styles.js +1 -1
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts +3 -2
- package/lib/core/SimpleLineChart/SimpleLineChart.stories.d.ts.map +1 -1
- package/lib/core/SimpleLineChart/styles.js +1 -1
- package/lib/core/Skeleton/styles.js +1 -1
- package/lib/core/Spinner/Spinner.stories.d.ts +6 -5
- package/lib/core/Spinner/Spinner.stories.d.ts.map +1 -1
- package/lib/core/Spinner/styles.d.ts +5 -5
- package/lib/core/TabBar/TabBar.stories.d.ts +3 -2
- package/lib/core/TabBar/TabBar.stories.d.ts.map +1 -1
- package/lib/core/TabBar/TabItem/styles.js +1 -1
- package/lib/core/TabBar/styles.js +1 -1
- package/lib/core/TabNav/TabNav.stories.d.ts +13 -12
- package/lib/core/TabNav/TabNav.stories.d.ts.map +1 -1
- package/lib/core/TabNav/TabNavItem/styles.d.ts +1 -1
- package/lib/core/TabNav/TabNavItem/styles.js +3 -3
- package/lib/core/TabNav/styles.d.ts +4 -4
- package/lib/core/TabNav/styles.js +4 -4
- package/lib/core/Table/Table.stories.d.ts +4 -3
- package/lib/core/Table/Table.stories.d.ts.map +1 -1
- package/lib/core/Table/styles.d.ts +14 -14
- package/lib/core/Table/styles.js +2 -2
- package/lib/core/Tag/Tag.stories.d.ts +16 -15
- package/lib/core/Tag/Tag.stories.d.ts.map +1 -1
- package/lib/core/Tag/styles.d.ts +12 -12
- package/lib/core/Text/Text.stories.d.ts +20 -58
- package/lib/core/Text/Text.stories.d.ts.map +1 -1
- package/lib/core/Text/Text.stories.js +100 -71
- package/lib/core/Text/index.d.ts +3 -1
- package/lib/core/Text/index.d.ts.map +1 -1
- package/lib/core/Text/index.js +3 -2
- package/lib/core/Text/styles.d.ts +15 -14
- package/lib/core/Text/styles.d.ts.map +1 -1
- package/lib/core/Text/styles.js +24 -14
- package/lib/core/Textarea/Textarea.stories.d.ts +6 -5
- package/lib/core/Textarea/Textarea.stories.d.ts.map +1 -1
- package/lib/core/Textarea/styles.d.ts +3 -3
- package/lib/core/Textarea/styles.js +3 -3
- package/lib/core/Timeline/Timeline.stories.d.ts +3 -2
- package/lib/core/Timeline/Timeline.stories.d.ts.map +1 -1
- package/lib/core/Timeline/TimelineStep/styles.d.ts +3 -3
- package/lib/core/Timeline/TimelineStep/styles.js +3 -3
- package/lib/core/Timeline/styles.js +1 -1
- package/lib/core/Timepicker/Timepicker.stories.d.ts +9 -8
- package/lib/core/Timepicker/Timepicker.stories.d.ts.map +1 -1
- package/lib/core/Timepicker/styles.d.ts +5 -5
- package/lib/core/Timepicker/styles.js +2 -2
- package/lib/core/Tooltip/Tooptip.stories.d.ts +3 -2
- package/lib/core/Tooltip/Tooptip.stories.d.ts.map +1 -1
- package/lib/core/Tooltip/styles.d.ts +2 -2
- package/lib/core/UserMenu/UserMenu.stories.d.ts +6 -5
- package/lib/core/UserMenu/UserMenu.stories.d.ts.map +1 -1
- package/lib/core/UserMenu/styles.d.ts +1 -1
- package/lib/core/UserMenu/styles.js +6 -6
- package/lib/core/Video/Video.stories.d.ts +16 -0
- package/lib/core/Video/Video.stories.d.ts.map +1 -0
- package/lib/core/Video/Video.stories.js +31 -0
- package/lib/core/Video/index.d.ts +32 -0
- package/lib/core/Video/index.d.ts.map +1 -0
- package/lib/core/Video/index.js +87 -0
- package/lib/core/Video/styles.d.ts +6 -0
- package/lib/core/Video/styles.d.ts.map +1 -0
- package/lib/core/Video/styles.js +16 -0
- package/lib/core/YearWheel/YearWheel.stories.d.ts +4 -3
- package/lib/core/YearWheel/YearWheel.stories.d.ts.map +1 -1
- package/lib/core/YearWheel/styles.d.ts +2 -2
- package/lib/core/YearWheel/styles.js +1 -1
- package/lib/enums/Keyboard.js +3 -3
- package/lib/globals/styles/styles.d.ts +1 -1
- package/lib/icons/Icon.stories.d.ts +13 -12
- package/lib/icons/Icon.stories.d.ts.map +1 -1
- package/lib/illustrations/Illustration.stories.d.ts +5 -5
- package/lib/illustrations/styles.d.ts +2 -2
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -1
- package/lib/layout/Footer/Footer.stories.d.ts +4 -3
- package/lib/layout/Footer/Footer.stories.d.ts.map +1 -1
- package/lib/layout/Footer/FooterCol/styles.js +1 -1
- package/lib/layout/Footer/FooterGroup/styles.js +1 -1
- package/lib/layout/Footer/FooterLabel/styles.js +1 -1
- package/lib/layout/Footer/styles.d.ts +1 -1
- package/lib/layout/Footer/styles.js +1 -1
- package/lib/layout/Layout/Layout.stories.d.ts +3 -2
- package/lib/layout/Layout/Layout.stories.d.ts.map +1 -1
- package/lib/layout/Layout/styles.js +1 -1
- package/lib/layout/LayoutShell/LayoutShell.stories.d.ts +5 -4
- package/lib/layout/LayoutShell/LayoutShell.stories.d.ts.map +1 -1
- package/lib/layout/LayoutShell/styles.d.ts +1 -1
- package/lib/layout/LayoutShell/styles.js +5 -5
- package/lib/layout/Menu/AppPicker/index.d.ts.map +1 -1
- package/lib/layout/Menu/AppPicker/index.js +2 -1
- package/lib/layout/Menu/AppPicker/styles.js +2 -2
- package/lib/layout/Menu/MainMenu/styles.js +1 -1
- package/lib/layout/Menu/MenuItem/styles.js +2 -2
- package/lib/layout/Menu/MenuSpacer/styles.js +1 -1
- package/lib/layout/Menu/MenuTop/styles.js +2 -2
- package/lib/layout/Menu/SecondaryMenu/styles.js +4 -4
- package/lib/layout/Menu/Sidemenu.stories.d.ts +6 -5
- package/lib/layout/Menu/Sidemenu.stories.d.ts.map +1 -1
- package/lib/layout/Menu/styles.js +1 -1
- package/lib/layout/Submenu/Submenu.stories.d.ts +8 -7
- package/lib/layout/Submenu/Submenu.stories.d.ts.map +1 -1
- package/lib/layout/Submenu/SubmenuItem/styles.d.ts +2 -2
- package/lib/layout/Submenu/SubmenuItem/styles.js +1 -1
- package/lib/layout/Submenu/styles.d.ts +4 -4
- package/lib/layout/Submenu/styles.js +6 -6
- package/lib/layout/Topbar/Topbar.stories.d.ts +4 -3
- package/lib/layout/Topbar/Topbar.stories.d.ts.map +1 -1
- package/lib/layout/Topbar/styles.js +1 -1
- package/lib/shared/components/SbIconGrid/index.js +1 -1
- package/lib/shared/recharts/CustomLegend/styles.js +2 -2
- package/lib/shared/recharts/CustomTooltip/styles.js +3 -3
- package/lib/utils/useSnorreTheme.d.ts +2 -1
- package/lib/utils/useSnorreTheme.d.ts.map +1 -1
- package/lib/utils/useSnorreTheme.js +3 -2
- package/package.json +8 -5
@@ -2,25 +2,25 @@ import _styled from "@emotion/styled/base";
|
|
2
2
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
3
3
|
import { css } from '@emotion/react';
|
4
4
|
import bp from '../../globals/styles/breakpoints';
|
5
|
-
export const TabNavWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
|
5
|
+
export const TabNavWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
6
6
|
target: "evtutk53"
|
7
7
|
} : {
|
8
8
|
target: "evtutk53",
|
9
9
|
label: "TabNavWrapper"
|
10
10
|
})(props => /*#__PURE__*/css("display:flex;width:100%;position:relative;padding:0;margin:0;align-content:space-between;align-items:flex-end;&:after{content:'';display:block;width:100%;position:absolute;bottom:0;height:4px;background:", props.theme.border, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:TabNavWrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS2dCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZy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fQ== */"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSTZCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IGJwIGZyb20gJy4uLy4uL2dsb2JhbHMvc3R5bGVzL2JyZWFrcG9pbnRzJ1xuXG5leHBvcnQgY29uc3QgVGFiTmF2V3JhcHBlciA9IHN0eWxlZC5kaXYoXG4gIChwcm9wcykgPT4gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgbWFyZ2luOiAwO1xuICAgIGFsaWduLWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gICAgYWxpZ24taXRlbXM6IGZsZXgtZW5kO1xuXG4gICAgJjphZnRlciB7XG4gICAgICBjb250ZW50OiAnJztcbiAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICBib3R0b206IDA7XG4gICAgICBoZWlnaHQ6IDRweDtcbiAgICAgIGJhY2tncm91bmQ6ICR7cHJvcHMudGhlbWUuYm9yZGVyfTtcbiAgICB9XG4gIGBcbilcblxuZXhwb3J0IGNvbnN0IFRhYk5hdkFjdGlvbnMgPSBzdHlsZWQu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AgdmVydGljYWw6IGNzc2BcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAgIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xuXG4gICAgJjphZnRlciB7XG4gICAgICBsZWZ0OiAwO1xuICAgICAgdG9wOiAwO1xuICAgICAgd2lkdGg6IDRweDtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICB9XG5cbiAgICAmIGJ1dHRvbjo6YWZ0ZXIsXG4gICAgJiBidXR0b246aG92ZXI6OmFmdGVyIHtcbiAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgIHdpZHRoOiA0cHg7XG4gICAgICB0b3A6IDA7XG4gICAgfVxuICBgLFxufVxuXG5leHBvcnQgZGVmYXVsdCBzdHlsZXNcbiJdfQ== */");
|
11
|
-
export const TabNavActions = _styled("span", process.env.NODE_ENV === "production" ? {
|
11
|
+
export const TabNavActions = /*#__PURE__*/_styled("span", process.env.NODE_ENV === "production" ? {
|
12
12
|
target: "evtutk52"
|
13
13
|
} : {
|
14
14
|
target: "evtutk52",
|
15
15
|
label: "TabNavActions"
|
16
16
|
})("position:absolute;right:0;bottom:1em;@media (max-width: ", bp.medium, "){bottom:0;padding:1em;&:after{display:none;}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEJ3QyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9UYWJOYXYvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCBicCB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XX0= */"));
|
17
|
-
export const SelectLinkWrapper = _styled("li", process.env.NODE_ENV === "production" ? {
|
17
|
+
export const SelectLinkWrapper = /*#__PURE__*/_styled("li", process.env.NODE_ENV === "production" ? {
|
18
18
|
target: "evtutk51"
|
19
19
|
} : {
|
20
20
|
target: "evtutk51",
|
21
21
|
label: "SelectLinkWrapper"
|
22
22
|
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYk5hdi9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeUMwQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvcGFja2FnZXMvY29yZS9UYWJOYXYvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCBicCBmcm9tICcuLi8uLi9nbG9iYWxzL3N0eWxlcy9icmVha3BvaW50cydcblxuZXhwb3J0IGNvbnN0IFRhYk5hdldyYXBwZXIgPSBzdHlsZWQuZGl2KFxuICAocHJvcHMpID0+IGNzc2BcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICBwYWRkaW5nOiAwO1xuICAgIG1hcmdpbjogMDtcbiAgICBhbGlnbi1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgIGFsaWduLWl0ZW1zOiBmbGV4LWVuZDtcblxuICAgICY6YWZ0ZXIge1xuICAgICAgY29udGVudDogJyc7XG4gICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgcG9zaXRpb246IGFic29s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IH1cbiAgYCxcbiAgdW5kZXJsaW5lQ29sb3I6IChjb2xvcjogc3RyaW5nKSA9PiBjc3NgXG4gICAgJiBidXR0b246OmFmdGVyLFxuICAgICYgYnV0dG9uOmhvdmVyOjphZnRlciB7XG4gICAgICBiYWNrZ3JvdW5kOiAke2NvbG9yfTtcbiAgICB9XG4gIGAsXG4gIHZlcnRpY2FsOiBjc3NgXG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcblxuICAgICY6YWZ0ZXIge1xuICAgICAgbGVmdDogMDtcbiAgICAgIHRvcDogMDtcbiAgICAgIHdpZHRoOiA0cHg7XG4gICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgfVxuXG4gICAgJiBidXR0b246OmFmdGVyLFxuICAgICYgYnV0dG9uOmhvdmVyOjphZnRlciB7XG4gICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgICB3aWR0aDogNHB4O1xuICAgICAgdG9wOiAwO1xuICAgIH1cbiAgYCxcbn1cblxuZXhwb3J0IGRlZmF1bHQgc3R5bGVzXG4iXX0= */");
|
23
|
-
export const SelectWrapper = _styled("div", process.env.NODE_ENV === "production" ? {
|
23
|
+
export const SelectWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
24
24
|
target: "evtutk50"
|
25
25
|
} : {
|
26
26
|
target: "evtutk50",
|
@@ -1,11 +1,12 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const _default;
|
2
3
|
export default _default;
|
3
4
|
export declare const Default: {
|
4
|
-
render: () => JSX.Element;
|
5
|
+
render: () => import("react").JSX.Element;
|
5
6
|
name: string;
|
6
7
|
};
|
7
8
|
export declare const SeveralArgsTable: {
|
8
|
-
render: () => JSX.Element;
|
9
|
+
render: () => import("react").JSX.Element;
|
9
10
|
name: string;
|
10
11
|
};
|
11
12
|
//# sourceMappingURL=Table.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Table/Table.stories.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Table.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Table/Table.stories.tsx"],"names":[],"mappings":";;AAKA,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAqBnB,CAAA;AAED,eAAO,MAAM,gBAAgB;;;CA0B5B,CAAA"}
|
@@ -9,19 +9,19 @@ export declare const TableBodyWrapper: import("@emotion/styled").StyledComponent
|
|
9
9
|
as?: import("react").ElementType<any> | undefined;
|
10
10
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, {}>;
|
11
11
|
export declare const styles: {
|
12
|
-
cell_defaults: import("@emotion/
|
13
|
-
row_defaults: import("@emotion/
|
14
|
-
row_border: (theme: IAppTheme) => import("@emotion/
|
15
|
-
row_danger: (theme: IAppTheme) => import("@emotion/
|
16
|
-
row_info: (theme: IAppTheme) => import("@emotion/
|
17
|
-
row_muted: (theme: IAppTheme) => import("@emotion/
|
18
|
-
row_notice: (theme: IAppTheme) => import("@emotion/
|
19
|
-
row_success: (theme: IAppTheme) => import("@emotion/
|
20
|
-
row_warning: (theme: IAppTheme) => import("@emotion/
|
21
|
-
cell_right: import("@emotion/
|
22
|
-
cell_left: import("@emotion/
|
23
|
-
cell_center: import("@emotion/
|
24
|
-
cell_truncate: import("@emotion/
|
25
|
-
cell_wrap: import("@emotion/
|
12
|
+
cell_defaults: import("@emotion/utils").SerializedStyles;
|
13
|
+
row_defaults: import("@emotion/utils").SerializedStyles;
|
14
|
+
row_border: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
15
|
+
row_danger: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
16
|
+
row_info: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
17
|
+
row_muted: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
18
|
+
row_notice: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
19
|
+
row_success: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
20
|
+
row_warning: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
21
|
+
cell_right: import("@emotion/utils").SerializedStyles;
|
22
|
+
cell_left: import("@emotion/utils").SerializedStyles;
|
23
|
+
cell_center: import("@emotion/utils").SerializedStyles;
|
24
|
+
cell_truncate: import("@emotion/utils").SerializedStyles;
|
25
|
+
cell_wrap: import("@emotion/utils").SerializedStyles;
|
26
26
|
};
|
27
27
|
//# sourceMappingURL=styles.d.ts.map
|
package/lib/core/Table/styles.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
2
2
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
3
3
|
import { css } from '@emotion/react';
|
4
|
-
export const TableWrapper = _styled("table", process.env.NODE_ENV === "production" ? {
|
4
|
+
export const TableWrapper = /*#__PURE__*/_styled("table", process.env.NODE_ENV === "production" ? {
|
5
5
|
target: "e1hlre5g1"
|
6
6
|
} : {
|
7
7
|
target: "e1hlre5g1",
|
@@ -15,7 +15,7 @@ export const TableWrapper = _styled("table", process.env.NODE_ENV === "productio
|
|
15
15
|
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYWNrYWdlcy9jb3JlL1RhYmxlL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJd0MiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3BhY2thZ2VzL2NvcmUvVGFibGUvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmc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Jvd19ub3RpY2U6ICh0aGVtZTogSUFwcFRoZW1lKSA9PiBjc3NgXG4gICAgYmFja2dyb3VuZC1jb2xvcjogJHt0aGVtZS5ncmF5MTB9O1xuICBgLFxuICByb3dfc3VjY2VzczogKHRoZW1lOiBJQXBwVGhlbWUpID0+IGNzc2BcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLnN1Y2Nlc3N9O1xuICBgLFxuICByb3dfd2FybmluZzogKHRoZW1lOiBJQXBwVGhlbWUpID0+IGNzc2BcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAke3RoZW1lLmFsZXJ0TGlnaHR9O1xuICBgLFxuICBjZWxsX3JpZ2h0OiBjc3NgXG4gICAgdGV4dC1hbGlnbjogcmlnaHQ7XG4gIGAsXG4gIGNlbGxfbGVmdDogY3NzYFxuICAgIHRleHQtYWxpZ246IGxlZnQ7XG4gIGAsXG4gIGNlbGxfY2VudGVyOiBjc3NgXG4gICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBgLFxuICBjZWxsX3RydW5jYXRlOiBjc3NgXG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xuXG4gICAgJjpob3ZlciB7XG4gICAgICBtYXgtd2lkdGg6IG5vbmU7XG4gICAgICBvdmVyZmxvdzogaW5oZXJpdDtcbiAgICAgIHdoaXRlLXNwYWNlOiBpbmhlcml0O1xuICAgICAgd29yZC13cmFwOiBicmVhay13b3JkO1xuICAgIH1cbiAgYCxcbiAgY2VsbF93cmFwOiBjc3NgXG4gICAgd2hpdGUtc3BhY2U6IG5vcm1hbDtcbiAgICB3b3JkLXdyYXA6IGJyZWFrLXdvcmQ7XG4gIGAsXG59XG4iXX0= */",
|
16
16
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
17
17
|
});
|
18
|
-
export const TableBodyWrapper = _styled("tbody", process.env.NODE_ENV === "production" ? {
|
18
|
+
export const TableBodyWrapper = /*#__PURE__*/_styled("tbody", process.env.NODE_ENV === "production" ? {
|
19
19
|
target: "e1hlre5g0"
|
20
20
|
} : {
|
21
21
|
target: "e1hlre5g0",
|
@@ -1,59 +1,60 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const _default;
|
2
3
|
export default _default;
|
3
4
|
export declare const Default: {
|
4
|
-
render: () => JSX.Element;
|
5
|
+
render: () => import("react").JSX.Element;
|
5
6
|
name: string;
|
6
7
|
};
|
7
8
|
export declare const Neutral: {
|
8
|
-
render: () => JSX.Element;
|
9
|
+
render: () => import("react").JSX.Element;
|
9
10
|
name: string;
|
10
11
|
};
|
11
12
|
export declare const Success: {
|
12
|
-
render: () => JSX.Element;
|
13
|
+
render: () => import("react").JSX.Element;
|
13
14
|
name: string;
|
14
15
|
};
|
15
16
|
export declare const Info: {
|
16
|
-
render: () => JSX.Element;
|
17
|
+
render: () => import("react").JSX.Element;
|
17
18
|
name: string;
|
18
19
|
};
|
19
20
|
export declare const Danger: {
|
20
|
-
render: () => JSX.Element;
|
21
|
+
render: () => import("react").JSX.Element;
|
21
22
|
name: string;
|
22
23
|
};
|
23
24
|
export declare const Dark: {
|
24
|
-
render: () => JSX.Element;
|
25
|
+
render: () => import("react").JSX.Element;
|
25
26
|
name: string;
|
26
27
|
};
|
27
28
|
export declare const Light: {
|
28
|
-
render: () => JSX.Element;
|
29
|
+
render: () => import("react").JSX.Element;
|
29
30
|
name: string;
|
30
31
|
};
|
31
32
|
export declare const Outline: {
|
32
|
-
render: () => JSX.Element;
|
33
|
+
render: () => import("react").JSX.Element;
|
33
34
|
name: string;
|
34
35
|
};
|
35
36
|
export declare const TagWithClose: {
|
36
|
-
render: () => JSX.Element;
|
37
|
+
render: () => import("react").JSX.Element;
|
37
38
|
name: string;
|
38
39
|
};
|
39
40
|
export declare const TagWithLoading: {
|
40
|
-
render: () => JSX.Element;
|
41
|
+
render: () => import("react").JSX.Element;
|
41
42
|
name: string;
|
42
43
|
};
|
43
44
|
export declare const TagWithCloseAndStrictClick: {
|
44
|
-
render: () => JSX.Element;
|
45
|
+
render: () => import("react").JSX.Element;
|
45
46
|
name: string;
|
46
47
|
};
|
47
48
|
export declare const TagWithCloseLoadingAndStrictClick: {
|
48
|
-
render: () => JSX.Element;
|
49
|
+
render: () => import("react").JSX.Element;
|
49
50
|
name: string;
|
50
51
|
};
|
51
52
|
export declare const TagWithCloseAndStrictClickWithColor: {
|
52
|
-
render: () => JSX.Element;
|
53
|
+
render: () => import("react").JSX.Element;
|
53
54
|
name: string;
|
54
55
|
};
|
55
56
|
export declare const WithIcon: {
|
56
|
-
render: () => JSX.Element;
|
57
|
+
render: () => import("react").JSX.Element;
|
57
58
|
name: string;
|
58
59
|
};
|
59
60
|
//# sourceMappingURL=Tag.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Tag/Tag.stories.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Tag/Tag.stories.tsx"],"names":[],"mappings":";;AAIA,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,IAAI;;;CAGhB,CAAA;AAED,eAAO,MAAM,MAAM;;;CAGlB,CAAA;AAED,eAAO,MAAM,IAAI;;;CAGhB,CAAA;AAED,eAAO,MAAM,KAAK;;;CAGjB,CAAA;AAED,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,YAAY;;;CAOxB,CAAA;AAED,eAAO,MAAM,cAAc;;;CAG1B,CAAA;AAED,eAAO,MAAM,0BAA0B;;;CAOtC,CAAA;AAED,eAAO,MAAM,iCAAiC;;;CAO7C,CAAA;AAED,eAAO,MAAM,mCAAmC;;;CAO/C,CAAA;AAED,eAAO,MAAM,QAAQ;;;CAGpB,CAAA"}
|
package/lib/core/Tag/styles.d.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
import { IAppTheme } from '../../app-shell/theme';
|
2
2
|
declare const styles: {
|
3
|
-
default: (theme: IAppTheme) => import("@emotion/
|
4
|
-
neutral: (theme: IAppTheme) => import("@emotion/
|
5
|
-
success: (theme: IAppTheme) => import("@emotion/
|
6
|
-
info: (theme: IAppTheme) => import("@emotion/
|
7
|
-
danger: (theme: IAppTheme) => import("@emotion/
|
8
|
-
dark: (theme: IAppTheme) => import("@emotion/
|
9
|
-
light: (theme: IAppTheme) => import("@emotion/
|
10
|
-
outline: (theme: IAppTheme) => import("@emotion/
|
11
|
-
withclose: import("@emotion/
|
12
|
-
strictClose: import("@emotion/
|
13
|
-
loading: import("@emotion/
|
14
|
-
withicon: import("@emotion/
|
3
|
+
default: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
4
|
+
neutral: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
5
|
+
success: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
6
|
+
info: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
7
|
+
danger: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
8
|
+
dark: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
9
|
+
light: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
10
|
+
outline: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
11
|
+
withclose: import("@emotion/utils").SerializedStyles;
|
12
|
+
strictClose: import("@emotion/utils").SerializedStyles;
|
13
|
+
loading: import("@emotion/utils").SerializedStyles;
|
14
|
+
withicon: import("@emotion/utils").SerializedStyles;
|
15
15
|
};
|
16
16
|
export default styles;
|
17
17
|
export { styles };
|
@@ -1,59 +1,21 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
export declare const Paragraph:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
export declare const
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
export declare const
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
export declare const
|
20
|
-
|
21
|
-
name: string;
|
22
|
-
};
|
23
|
-
export declare const Customcolor: {
|
24
|
-
render: () => JSX.Element;
|
25
|
-
name: string;
|
26
|
-
};
|
27
|
-
export declare const Primary: {
|
28
|
-
render: () => JSX.Element;
|
29
|
-
name: string;
|
30
|
-
};
|
31
|
-
export declare const Secondary: {
|
32
|
-
render: () => JSX.Element;
|
33
|
-
name: string;
|
34
|
-
};
|
35
|
-
export declare const Title: {
|
36
|
-
render: () => JSX.Element;
|
37
|
-
name: string;
|
38
|
-
};
|
39
|
-
export declare const Italic: {
|
40
|
-
render: () => JSX.Element;
|
41
|
-
name: string;
|
42
|
-
};
|
43
|
-
export declare const Align: {
|
44
|
-
render: () => JSX.Element;
|
45
|
-
name: string;
|
46
|
-
};
|
47
|
-
export declare const WordBreak: {
|
48
|
-
render: () => JSX.Element;
|
49
|
-
name: string;
|
50
|
-
};
|
51
|
-
export declare const WhiteSpace: {
|
52
|
-
render: () => JSX.Element;
|
53
|
-
name: string;
|
54
|
-
};
|
55
|
-
export declare const Subtle: {
|
56
|
-
render: () => JSX.Element;
|
57
|
-
name: string;
|
58
|
-
};
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Text from '.';
|
3
|
+
declare const meta: Meta<typeof Text>;
|
4
|
+
export default meta;
|
5
|
+
declare type Story = StoryObj<typeof Text>;
|
6
|
+
export declare const Default: Story;
|
7
|
+
export declare const Paragraph: Story;
|
8
|
+
export declare const Intro: Story;
|
9
|
+
export declare const Small: Story;
|
10
|
+
export declare const Semibold: Story;
|
11
|
+
export declare const Customcolor: Story;
|
12
|
+
export declare const Primary: Story;
|
13
|
+
export declare const Secondary: Story;
|
14
|
+
export declare const Title: Story;
|
15
|
+
export declare const Italic: Story;
|
16
|
+
export declare const Align: Story;
|
17
|
+
export declare const WordBreak: Story;
|
18
|
+
export declare const WhiteSpace: Story;
|
19
|
+
export declare const Subtle: Story;
|
20
|
+
export declare const LineClamp: Story;
|
59
21
|
//# sourceMappingURL=Text.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Text.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Text/Text.stories.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"Text.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Text/Text.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,IAAI,MAAM,GAAG,CAAA;AAEpB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAGnB,CAAA;AAET,eAAe,IAAI,CAAA;AAEnB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAA"}
|
@@ -1,103 +1,132 @@
|
|
1
1
|
import Text from '.';
|
2
|
-
|
3
|
-
export default {
|
2
|
+
const meta = {
|
4
3
|
title: 'Core/Text',
|
5
4
|
component: Text
|
6
5
|
};
|
6
|
+
export default meta;
|
7
7
|
export const Default = {
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
name: 'Default',
|
9
|
+
args: {
|
10
|
+
children: 'Default'
|
11
|
+
}
|
12
12
|
};
|
13
13
|
export const Paragraph = {
|
14
|
-
|
15
|
-
|
16
|
-
children:
|
17
|
-
|
18
|
-
|
14
|
+
name: 'Paragraph',
|
15
|
+
args: {
|
16
|
+
children: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. In placerat neque
|
17
|
+
dapibus diam feugiat pretium. Aliquam blandit massa a massa consectetur
|
18
|
+
fringilla. Fusce convallis euismod erat, sit amet rhoncus justo tempor
|
19
|
+
vel. Ut nec ipsum risus. Integer sapien felis, pellentesque sit amet ante
|
20
|
+
at, commodo efficitur tellus. Vivamus facilisis aliquet arcu in ornare.
|
21
|
+
Vestibulum elementum volutpat nisl ac bibendum. Duis ac quam vulputate,
|
22
|
+
pulvinar libero sit amet, mattis massa. Aenean non libero eu ex lacinia
|
23
|
+
suscipit id eu nisi. Praesent vitae gravida neque. Vestibulum ante ipsum
|
24
|
+
primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nunc
|
25
|
+
suscipit tempor nunc venenatis eleifend. Donec ipsum urna, rutrum quis
|
26
|
+
facilisis non, varius non urna. Integer laoreet, nulla non rhoncus rutrum,
|
27
|
+
sapien elit pretium turpis, sit amet commodo ex augue a leo.`,
|
28
|
+
paragraph: true
|
29
|
+
}
|
19
30
|
};
|
20
31
|
export const Intro = {
|
21
|
-
|
22
|
-
|
23
|
-
children:
|
24
|
-
|
25
|
-
|
32
|
+
name: 'Intro',
|
33
|
+
args: {
|
34
|
+
children: 'Intro text',
|
35
|
+
intro: true
|
36
|
+
}
|
26
37
|
};
|
27
38
|
export const Small = {
|
28
|
-
|
29
|
-
|
30
|
-
children:
|
31
|
-
|
32
|
-
|
39
|
+
name: 'Small',
|
40
|
+
args: {
|
41
|
+
children: 'Small',
|
42
|
+
small: true
|
43
|
+
}
|
33
44
|
};
|
34
45
|
export const Semibold = {
|
35
|
-
|
36
|
-
|
37
|
-
children:
|
38
|
-
|
39
|
-
|
46
|
+
name: 'Semibold',
|
47
|
+
args: {
|
48
|
+
children: 'Semibold',
|
49
|
+
semibold: true
|
50
|
+
}
|
40
51
|
};
|
41
52
|
export const Customcolor = {
|
42
|
-
|
43
|
-
|
44
|
-
children:
|
45
|
-
|
46
|
-
|
53
|
+
name: 'Customcolor',
|
54
|
+
args: {
|
55
|
+
children: 'Im red',
|
56
|
+
color: 'red'
|
57
|
+
}
|
47
58
|
};
|
48
59
|
export const Primary = {
|
49
|
-
|
50
|
-
|
51
|
-
children:
|
52
|
-
|
53
|
-
|
60
|
+
name: 'Primary',
|
61
|
+
args: {
|
62
|
+
children: 'Primary',
|
63
|
+
primary: true
|
64
|
+
}
|
54
65
|
};
|
55
66
|
export const Secondary = {
|
56
|
-
|
57
|
-
|
58
|
-
children:
|
59
|
-
|
60
|
-
|
67
|
+
name: 'Secondary',
|
68
|
+
args: {
|
69
|
+
children: 'Secondary',
|
70
|
+
secondary: true
|
71
|
+
}
|
61
72
|
};
|
62
73
|
export const Title = {
|
63
|
-
|
64
|
-
|
65
|
-
children:
|
66
|
-
|
67
|
-
|
74
|
+
name: 'Title',
|
75
|
+
args: {
|
76
|
+
children: 'Hover me!',
|
77
|
+
title: 'Hello there'
|
78
|
+
}
|
68
79
|
};
|
69
80
|
export const Italic = {
|
70
|
-
|
71
|
-
|
72
|
-
children:
|
73
|
-
|
74
|
-
|
81
|
+
name: 'Italic',
|
82
|
+
args: {
|
83
|
+
children: 'Italic font style',
|
84
|
+
italic: true
|
85
|
+
}
|
75
86
|
};
|
76
87
|
export const Align = {
|
77
|
-
|
78
|
-
|
79
|
-
children:
|
80
|
-
|
81
|
-
|
88
|
+
name: 'Align',
|
89
|
+
args: {
|
90
|
+
children: 'Text align right',
|
91
|
+
align: 'right'
|
92
|
+
}
|
82
93
|
};
|
83
94
|
export const WordBreak = {
|
84
|
-
|
85
|
-
|
86
|
-
children:
|
87
|
-
|
88
|
-
|
95
|
+
name: 'WordBreak',
|
96
|
+
args: {
|
97
|
+
children: 'Really_long_word_being_broken_up__Really_long_word_being_broken_up__Really_long_word_being_broken_up__Really_long_word_being_broken_up__',
|
98
|
+
wordBreak: 'break-all'
|
99
|
+
}
|
89
100
|
};
|
90
101
|
export const WhiteSpace = {
|
91
|
-
|
92
|
-
|
93
|
-
children: 'Text with\nnewline'
|
94
|
-
|
95
|
-
|
102
|
+
name: 'WhiteSpace',
|
103
|
+
args: {
|
104
|
+
children: 'Text with\nnewline',
|
105
|
+
whiteSpace: 'pre-wrap'
|
106
|
+
}
|
96
107
|
};
|
97
108
|
export const Subtle = {
|
98
|
-
|
99
|
-
|
100
|
-
children:
|
101
|
-
|
102
|
-
|
109
|
+
name: 'subtle',
|
110
|
+
args: {
|
111
|
+
children: 'Subtle text',
|
112
|
+
subtle: true
|
113
|
+
}
|
114
|
+
};
|
115
|
+
export const LineClamp = {
|
116
|
+
name: 'Line clamp',
|
117
|
+
args: {
|
118
|
+
children: `Lorem ipsum dolor sit amet, consectetur adipiscing elit. In placerat neque
|
119
|
+
dapibus diam feugiat pretium. Aliquam blandit massa a massa consectetur
|
120
|
+
fringilla. Fusce convallis euismod erat, sit amet rhoncus justo tempor
|
121
|
+
vel. Ut nec ipsum risus. Integer sapien felis, pellentesque sit amet ante
|
122
|
+
at, commodo efficitur tellus. Vivamus facilisis aliquet arcu in ornare.
|
123
|
+
Vestibulum elementum volutpat nisl ac bibendum. Duis ac quam vulputate,
|
124
|
+
pulvinar libero sit amet, mattis massa. Aenean non libero eu ex lacinia
|
125
|
+
suscipit id eu nisi. Praesent vitae gravida neque. Vestibulum ante ipsum
|
126
|
+
primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nunc
|
127
|
+
suscipit tempor nunc venenatis eleifend. Donec ipsum urna, rutrum quis
|
128
|
+
facilisis non, varius non urna. Integer laoreet, nulla non rhoncus rutrum,
|
129
|
+
sapien elit pretium turpis, sit amet commodo ex augue a leo.`,
|
130
|
+
lineClamp: 2
|
131
|
+
}
|
103
132
|
};
|
package/lib/core/Text/index.d.ts
CHANGED
@@ -32,9 +32,11 @@ interface IProps {
|
|
32
32
|
/** Text alignment */
|
33
33
|
align?: string;
|
34
34
|
/** Apply word-break style */
|
35
|
-
wordBreak?: string;
|
35
|
+
wordBreak?: 'break-word' | string;
|
36
36
|
/** Apply white-space style */
|
37
37
|
whiteSpace?: string;
|
38
|
+
/** Adds ellipsis after given amount of lines*/
|
39
|
+
lineClamp?: number;
|
38
40
|
/** CB fired on click */
|
39
41
|
onClick?: () => any;
|
40
42
|
/** The text to be displayed */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Text/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,UAAU,MAAM;IACd,+BAA+B;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,kBAAkB;IAClB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,iBAAiB;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,uBAAuB;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,wBAAwB;IACxB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,iCAAiC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mCAAmC;IACnC,OA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,CAAA;IAChB,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6BAA6B;IAC7B,SAAS,CAAC,EAAE,YAAY,GAAG,MAAM,CAAA;IACjC,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,wBAAwB;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,CAAA;IACnB,+BAA+B;IAC/B,QAAQ,EAAE,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;CACvC;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAmD1B,CAAA;AAED,eAAe,IAAI,CAAA"}
|
package/lib/core/Text/index.js
CHANGED
@@ -21,11 +21,12 @@ const Text = ({
|
|
21
21
|
italic,
|
22
22
|
align,
|
23
23
|
wordBreak,
|
24
|
-
whiteSpace
|
24
|
+
whiteSpace,
|
25
|
+
lineClamp
|
25
26
|
}) => {
|
26
27
|
const Tag = paragraph ? 'p' : 'span';
|
27
28
|
return _jsx(Tag, {
|
28
|
-
css: theme => [styles.default(theme, color), intro && styles.intro, small && styles.small, extrasmall && styles.extrasmall, bold && styles.bold, semibold && styles.semiBold, subtle && styles.subtle(theme), paragraph && styles.paragraph, size && styles.size(size), primary && styles.setColor(theme.primary), secondary && styles.setColor(theme.secondary), italic && styles.italic, align && styles.align(align), dark && styles.setColor(theme.secondaryDarkText), wordBreak && styles.setWordBreak(wordBreak), whiteSpace && styles.setWhiteSpace(whiteSpace)],
|
29
|
+
css: theme => [styles.default(theme, color), intro && styles.intro, small && styles.small, extrasmall && styles.extrasmall, bold && styles.bold, semibold && styles.semiBold, subtle && styles.subtle(theme), paragraph && styles.paragraph, size && styles.size(size), primary && styles.setColor(theme.primary), secondary && styles.setColor(theme.secondary), italic && styles.italic, align && styles.align(align), dark && styles.setColor(theme.secondaryDarkText), wordBreak && styles.setWordBreak(wordBreak), whiteSpace && styles.setWhiteSpace(whiteSpace), lineClamp && styles.setLineClamp(lineClamp)],
|
29
30
|
onClick: onClick,
|
30
31
|
title: title,
|
31
32
|
children: children
|
@@ -1,19 +1,20 @@
|
|
1
1
|
import { IAppTheme } from '../../app-shell/theme';
|
2
2
|
declare const styles: {
|
3
|
-
default: (theme: IAppTheme, color: string | undefined) => import("@emotion/
|
4
|
-
paragraph: import("@emotion/
|
5
|
-
intro: import("@emotion/
|
6
|
-
small: import("@emotion/
|
7
|
-
extrasmall: import("@emotion/
|
8
|
-
bold: import("@emotion/
|
9
|
-
semiBold: import("@emotion/
|
10
|
-
size: (size: string) => import("@emotion/
|
11
|
-
subtle: (theme: IAppTheme) => import("@emotion/
|
12
|
-
setColor: (color: string) => import("@emotion/
|
13
|
-
italic: import("@emotion/
|
14
|
-
align: (align: string) => import("@emotion/
|
15
|
-
setWordBreak: (value: string) => import("@emotion/
|
16
|
-
setWhiteSpace: (value: string) => import("@emotion/
|
3
|
+
default: (theme: IAppTheme, color: string | undefined) => import("@emotion/utils").SerializedStyles;
|
4
|
+
paragraph: import("@emotion/utils").SerializedStyles;
|
5
|
+
intro: import("@emotion/utils").SerializedStyles;
|
6
|
+
small: import("@emotion/utils").SerializedStyles;
|
7
|
+
extrasmall: import("@emotion/utils").SerializedStyles;
|
8
|
+
bold: import("@emotion/utils").SerializedStyles;
|
9
|
+
semiBold: import("@emotion/utils").SerializedStyles;
|
10
|
+
size: (size: string) => import("@emotion/utils").SerializedStyles;
|
11
|
+
subtle: (theme: IAppTheme) => import("@emotion/utils").SerializedStyles;
|
12
|
+
setColor: (color: string) => import("@emotion/utils").SerializedStyles;
|
13
|
+
italic: import("@emotion/utils").SerializedStyles;
|
14
|
+
align: (align: string) => import("@emotion/utils").SerializedStyles;
|
15
|
+
setWordBreak: (value: 'break-word' | string) => import("@emotion/utils").SerializedStyles;
|
16
|
+
setWhiteSpace: (value: string) => import("@emotion/utils").SerializedStyles;
|
17
|
+
setLineClamp: (lines: number) => import("@emotion/utils").SerializedStyles;
|
17
18
|
};
|
18
19
|
export default styles;
|
19
20
|
export { styles };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Text/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,MAAM;qBACO,SAAS,SAAS,MAAM,GAAG,SAAS;;;;;;;iBAuBxC,MAAM;oBAGH,SAAS;sBAIP,MAAM;;mBAOT,MAAM;0BAGC,MAAM;
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Text/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,QAAA,MAAM,MAAM;qBACO,SAAS,SAAS,MAAM,GAAG,SAAS;;;;;;;iBAuBxC,MAAM;oBAGH,SAAS;sBAIP,MAAM;;mBAOT,MAAM;0BAGC,YAAY,GAAG,MAAM;2BAQpB,MAAM;0BAGP,MAAM;CAO7B,CAAA;AAED,eAAe,MAAM,CAAA;AAErB,OAAO,EAAE,MAAM,EAAE,CAAA"}
|