@bbl-digital/snorre 3.1.58 → 3.1.59
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bundle.js +9 -9
- package/esm/core/MediaCarousel/MediaCarousel.stories.js +34 -0
- package/esm/core/MediaCarousel/index.js +2 -2
- package/esm/core/MediaCarousel/styles.js +6 -6
- package/esm/core/Video/Video.stories.js +17 -9
- package/esm/core/Video/index.js +1 -1
- package/esm/shared/components/SbIconGrid/index.js +1 -1
- 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/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts +3 -2
- package/lib/core/BarAndLineComposedChart/BarAndLineComposedChart.stories.d.ts.map +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/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/BoxedTable/BoxedTable.stories.d.ts +10 -9
- package/lib/core/BoxedTable/BoxedTable.stories.d.ts.map +1 -1
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts +1 -1
- package/lib/core/BoxedTable/RowCell/styles.d.ts +8 -8
- 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/Calendar/Calendar.stories.d.ts +5 -4
- package/lib/core/Calendar/Calendar.stories.d.ts.map +1 -1
- package/lib/core/Card/Card.stories.d.ts +7 -7
- 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/CommentsTimeline.stories.d.ts +4 -3
- package/lib/core/CommentsTimeline/CommentsTimeline.stories.d.ts.map +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/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/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/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/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/FileInput/styles.d.ts +1 -1
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts +3 -2
- package/lib/core/GoogleButton/GoogleButton.stories.d.ts.map +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/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/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/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/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 +3 -2
- package/lib/core/MediaCarousel/index.d.ts.map +1 -1
- package/lib/core/MediaCarousel/index.js +2 -2
- package/lib/core/MediaCarousel/styles.d.ts.map +1 -1
- package/lib/core/MediaCarousel/styles.js +6 -6
- package/lib/core/Modal/Modal.stories.d.ts +7 -6
- package/lib/core/Modal/Modal.stories.d.ts.map +1 -1
- package/lib/core/NoticeCard/NoticeCard.stories.d.ts +4 -3
- package/lib/core/NoticeCard/NoticeCard.stories.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/NotificationsMenu.stories.d.ts +4 -3
- package/lib/core/NotificationsMenu/NotificationsMenu.stories.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/PreemptionCard/PreemptionCard.stories.d.ts +3 -2
- package/lib/core/PreemptionCard/PreemptionCard.stories.d.ts.map +1 -1
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts +3 -2
- package/lib/core/PreemptionCardLoading/PreemptionCardLoading.stories.d.ts.map +1 -1
- 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/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/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/SimpleBarChart/SimpleBarChart.stories.d.ts +6 -5
- package/lib/core/SimpleBarChart/SimpleBarChart.stories.d.ts.map +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/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/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/styles.d.ts +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/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/styles.d.ts +14 -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/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/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/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/Video/Video.stories.d.ts +10 -9
- package/lib/core/Video/Video.stories.d.ts.map +1 -1
- package/lib/core/Video/Video.stories.js +17 -9
- package/lib/core/Video/index.js +1 -1
- package/lib/core/Video/styles.d.ts +2 -2
- 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/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/layout/Footer/Footer.stories.d.ts +4 -3
- package/lib/layout/Footer/Footer.stories.d.ts.map +1 -1
- package/lib/layout/Footer/styles.d.ts +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/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/Menu/Sidemenu.stories.d.ts +6 -5
- package/lib/layout/Menu/Sidemenu.stories.d.ts.map +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/styles.d.ts +4 -4
- package/lib/layout/Topbar/Topbar.stories.d.ts +4 -3
- package/lib/layout/Topbar/Topbar.stories.d.ts.map +1 -1
- package/lib/shared/components/SbIconGrid/index.js +1 -1
- package/package.json +1 -1
@@ -1,8 +1,8 @@
|
|
1
1
|
declare const styles: {
|
2
|
-
height: (height: string) => import("@emotion/
|
3
|
-
width: (width: string) => import("@emotion/
|
4
|
-
objectFit: (value: string) => import("@emotion/
|
5
|
-
responsive: import("@emotion/
|
2
|
+
height: (height: string) => import("@emotion/react").SerializedStyles;
|
3
|
+
width: (width: string) => import("@emotion/react").SerializedStyles;
|
4
|
+
objectFit: (value: string) => import("@emotion/react").SerializedStyles;
|
5
|
+
responsive: import("@emotion/react").SerializedStyles;
|
6
6
|
};
|
7
7
|
export default styles;
|
8
8
|
export { styles };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import type { ImageType } from 'react-images-uploading';
|
2
3
|
declare const _default: {
|
3
4
|
title: string;
|
@@ -11,7 +12,7 @@ declare const _default: {
|
|
11
12
|
};
|
12
13
|
export default _default;
|
13
14
|
export declare const Default: {
|
14
|
-
render: () => JSX.Element;
|
15
|
+
render: () => import("react").JSX.Element;
|
15
16
|
name: string;
|
16
17
|
};
|
17
18
|
//# sourceMappingURL=ImagePicker.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ImagePicker.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/ImagePicker/ImagePicker.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;;;;;;;;;;;AAMvD,wBAGC;AAED,eAAO,MAAM,OAAO;;;CAiBnB,CAAA"}
|
1
|
+
{"version":3,"file":"ImagePicker.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/ImagePicker/ImagePicker.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;;;;;;;;;;;AAMvD,wBAGC;AAED,eAAO,MAAM,OAAO;;;CAiBnB,CAAA"}
|
@@ -1,20 +1,20 @@
|
|
1
1
|
import { IAppTheme } from '../../app-shell/theme';
|
2
2
|
export declare const imageBorderRadius = "8px";
|
3
3
|
export declare const styles: {
|
4
|
-
grid: import("@emotion/
|
5
|
-
deleteButton: import("@emotion/
|
6
|
-
pinButton: import("@emotion/
|
4
|
+
grid: import("@emotion/react").SerializedStyles;
|
5
|
+
deleteButton: import("@emotion/react").SerializedStyles;
|
6
|
+
pinButton: import("@emotion/react").SerializedStyles;
|
7
7
|
};
|
8
8
|
export declare const withBackGroundStyles: {
|
9
|
-
default: import("@emotion/
|
10
|
-
setMainImage: import("@emotion/
|
11
|
-
isMainImage: (theme: IAppTheme) => import("@emotion/
|
12
|
-
delete: (theme: IAppTheme) => import("@emotion/
|
13
|
-
imageUpload: import("@emotion/
|
9
|
+
default: import("@emotion/react").SerializedStyles;
|
10
|
+
setMainImage: import("@emotion/react").SerializedStyles;
|
11
|
+
isMainImage: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
12
|
+
delete: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
13
|
+
imageUpload: import("@emotion/react").SerializedStyles;
|
14
14
|
};
|
15
15
|
export declare const uploadButtonStyles: {
|
16
|
-
default: import("@emotion/
|
17
|
-
addImage: import("@emotion/
|
18
|
-
addMore: import("@emotion/
|
16
|
+
default: import("@emotion/react").SerializedStyles;
|
17
|
+
addImage: import("@emotion/react").SerializedStyles;
|
18
|
+
addMore: import("@emotion/react").SerializedStyles;
|
19
19
|
};
|
20
20
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -1,23 +1,24 @@
|
|
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 Right: {
|
8
|
-
render: () => JSX.Element;
|
9
|
+
render: () => import("react").JSX.Element;
|
9
10
|
name: string;
|
10
11
|
};
|
11
12
|
export declare const Bottom: {
|
12
|
-
render: () => JSX.Element;
|
13
|
+
render: () => import("react").JSX.Element;
|
13
14
|
name: string;
|
14
15
|
};
|
15
16
|
export declare const Left: {
|
16
|
-
render: () => JSX.Element;
|
17
|
+
render: () => import("react").JSX.Element;
|
17
18
|
name: string;
|
18
19
|
};
|
19
20
|
export declare const Width: {
|
20
|
-
render: () => JSX.Element;
|
21
|
+
render: () => import("react").JSX.Element;
|
21
22
|
name: string;
|
22
23
|
};
|
23
24
|
//# sourceMappingURL=InfoButton.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfoButton.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/InfoButton/InfoButton.stories.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InfoButton.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/InfoButton/InfoButton.stories.tsx"],"names":[],"mappings":";;AAIA,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAOnB,CAAA;AAED,eAAO,MAAM,KAAK;;;CAQjB,CAAA;AAED,eAAO,MAAM,MAAM;;;CAOlB,CAAA;AAED,eAAO,MAAM,IAAI;;;CAOhB,CAAA;AAED,eAAO,MAAM,KAAK;;;CAOjB,CAAA"}
|
@@ -7,7 +7,7 @@ export declare const StyledButton: import("@emotion/styled").StyledComponent<imp
|
|
7
7
|
nostyle?: boolean | undefined;
|
8
8
|
focusable?: boolean | undefined;
|
9
9
|
border?: string | undefined;
|
10
|
-
css?: import("@emotion/
|
10
|
+
css?: import("@emotion/react").SerializedStyles | undefined;
|
11
11
|
loading?: boolean | undefined;
|
12
12
|
back?: boolean | undefined;
|
13
13
|
small?: boolean | undefined;
|
@@ -17,12 +17,12 @@ export declare const StyledButton: import("@emotion/styled").StyledComponent<imp
|
|
17
17
|
theme?: import("@emotion/react").Theme | undefined;
|
18
18
|
}, {}, {}>;
|
19
19
|
export declare const styles: {
|
20
|
-
default: import("@emotion/
|
21
|
-
top: import("@emotion/
|
22
|
-
right: import("@emotion/
|
23
|
-
bottom: import("@emotion/
|
24
|
-
left: import("@emotion/
|
25
|
-
width: (width: string, place: string) => import("@emotion/
|
20
|
+
default: import("@emotion/react").SerializedStyles;
|
21
|
+
top: import("@emotion/react").SerializedStyles;
|
22
|
+
right: import("@emotion/react").SerializedStyles;
|
23
|
+
bottom: import("@emotion/react").SerializedStyles;
|
24
|
+
left: import("@emotion/react").SerializedStyles;
|
25
|
+
width: (width: string, place: string) => import("@emotion/react").SerializedStyles;
|
26
26
|
};
|
27
27
|
export declare const Tooltip: import("@emotion/styled").StyledComponent<{
|
28
28
|
theme?: import("@emotion/react").Theme | undefined;
|
@@ -1,21 +1,21 @@
|
|
1
1
|
import { IAppTheme } from '../../app-shell/theme';
|
2
2
|
declare const styles: {
|
3
|
-
default: (theme: IAppTheme) => import("@emotion/
|
4
|
-
highligted: (height?: string | undefined) => import("@emotion/
|
5
|
-
number: (theme: IAppTheme) => import("@emotion/
|
6
|
-
text: (theme: IAppTheme) => import("@emotion/
|
7
|
-
password: (theme: IAppTheme) => import("@emotion/
|
8
|
-
search: (theme: IAppTheme) => import("@emotion/
|
9
|
-
searchLabel: (theme: IAppTheme) => import("@emotion/
|
10
|
-
file: import("@emotion/
|
11
|
-
disabled: (theme: IAppTheme) => import("@emotion/
|
12
|
-
cardInput: import("@emotion/
|
13
|
-
invalid: (theme: IAppTheme) => import("@emotion/
|
14
|
-
height: (height: string) => import("@emotion/
|
15
|
-
errorMessage: (theme: IAppTheme) => import("@emotion/
|
16
|
-
pr4: import("@emotion/
|
17
|
-
infoButton: import("@emotion/
|
18
|
-
relative: import("@emotion/
|
3
|
+
default: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
4
|
+
highligted: (height?: string | undefined) => import("@emotion/react").SerializedStyles;
|
5
|
+
number: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
6
|
+
text: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
7
|
+
password: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
8
|
+
search: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
9
|
+
searchLabel: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
10
|
+
file: import("@emotion/react").SerializedStyles;
|
11
|
+
disabled: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
12
|
+
cardInput: import("@emotion/react").SerializedStyles;
|
13
|
+
invalid: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
14
|
+
height: (height: string) => import("@emotion/react").SerializedStyles;
|
15
|
+
errorMessage: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
16
|
+
pr4: import("@emotion/react").SerializedStyles;
|
17
|
+
infoButton: import("@emotion/react").SerializedStyles;
|
18
|
+
relative: import("@emotion/react").SerializedStyles;
|
19
19
|
};
|
20
20
|
export default styles;
|
21
21
|
export { styles };
|
@@ -1,39 +1,40 @@
|
|
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 ButtonLink: {
|
8
|
-
render: () => JSX.Element;
|
9
|
+
render: () => import("react").JSX.Element;
|
9
10
|
name: string;
|
10
11
|
};
|
11
12
|
export declare const NoStyle: {
|
12
|
-
render: () => JSX.Element;
|
13
|
+
render: () => import("react").JSX.Element;
|
13
14
|
name: string;
|
14
15
|
};
|
15
16
|
export declare const ExternalLink: {
|
16
|
-
render: () => JSX.Element;
|
17
|
+
render: () => import("react").JSX.Element;
|
17
18
|
name: string;
|
18
19
|
};
|
19
20
|
export declare const TargetBlank: {
|
20
|
-
render: () => JSX.Element;
|
21
|
+
render: () => import("react").JSX.Element;
|
21
22
|
name: string;
|
22
23
|
};
|
23
24
|
export declare const DangerLink: {
|
24
|
-
render: () => JSX.Element;
|
25
|
+
render: () => import("react").JSX.Element;
|
25
26
|
name: string;
|
26
27
|
};
|
27
28
|
export declare const DisabledLink: {
|
28
|
-
render: () => JSX.Element;
|
29
|
+
render: () => import("react").JSX.Element;
|
29
30
|
name: string;
|
30
31
|
};
|
31
32
|
export declare const NoPadding: {
|
32
|
-
render: () => JSX.Element;
|
33
|
+
render: () => import("react").JSX.Element;
|
33
34
|
name: string;
|
34
35
|
};
|
35
36
|
export declare const WordBreak: {
|
36
|
-
render: () => JSX.Element;
|
37
|
+
render: () => import("react").JSX.Element;
|
37
38
|
name: string;
|
38
39
|
};
|
39
40
|
//# sourceMappingURL=Link.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Link.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Link/Link.stories.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Link.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Link/Link.stories.tsx"],"names":[],"mappings":";;AAGA,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAGnB,CAAA;AAED,eAAO,MAAM,UAAU;;;CAGtB,CAAA;AAED,eAAO,MAAM,OAAO;;;CAOnB,CAAA;AAED,eAAO,MAAM,YAAY;;;CAOxB,CAAA;AAED,eAAO,MAAM,WAAW;;;CAOvB,CAAA;AAED,eAAO,MAAM,UAAU;;;CAOtB,CAAA;AAED,eAAO,MAAM,YAAY;;;CAOxB,CAAA;AAED,eAAO,MAAM,SAAS;;;CAGrB,CAAA;AAED,eAAO,MAAM,SAAS;;;CAOrB,CAAA"}
|
@@ -4,13 +4,13 @@ export declare const IconLinkWrapper: import("@emotion/styled").StyledComponent<
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
5
5
|
as?: import("react").ElementType<any> | undefined;
|
6
6
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
7
|
-
export declare const NoStyle: import("@emotion/
|
8
|
-
export declare const LinkStyle: import("@emotion/
|
9
|
-
export declare const dangerStyles: (theme: IAppTheme) => import("@emotion/
|
10
|
-
export declare const noPadding: import("@emotion/
|
11
|
-
export declare const setAlign: (align: string) => import("@emotion/
|
12
|
-
export declare const smallText: import("@emotion/
|
13
|
-
export declare const underlineNone: import("@emotion/
|
14
|
-
export declare const setWordBreak: (value: string) => import("@emotion/
|
15
|
-
export declare const setDisabled: (theme: IAppTheme) => import("@emotion/
|
7
|
+
export declare const NoStyle: import("@emotion/react").SerializedStyles;
|
8
|
+
export declare const LinkStyle: import("@emotion/react").SerializedStyles;
|
9
|
+
export declare const dangerStyles: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
10
|
+
export declare const noPadding: import("@emotion/react").SerializedStyles;
|
11
|
+
export declare const setAlign: (align: string) => import("@emotion/react").SerializedStyles;
|
12
|
+
export declare const smallText: import("@emotion/react").SerializedStyles;
|
13
|
+
export declare const underlineNone: import("@emotion/react").SerializedStyles;
|
14
|
+
export declare const setWordBreak: (value: string) => import("@emotion/react").SerializedStyles;
|
15
|
+
export declare const setDisabled: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
16
16
|
//# sourceMappingURL=styles.d.ts.map
|
@@ -1,39 +1,40 @@
|
|
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 ListWithLinks: {
|
8
|
-
render: () => JSX.Element;
|
9
|
+
render: () => import("react").JSX.Element;
|
9
10
|
name: string;
|
10
11
|
};
|
11
12
|
export declare const AlternativeListWithLinks: {
|
12
|
-
render: () => JSX.Element;
|
13
|
+
render: () => import("react").JSX.Element;
|
13
14
|
name: string;
|
14
15
|
};
|
15
16
|
export declare const Pointlist: {
|
16
|
-
render: () => JSX.Element;
|
17
|
+
render: () => import("react").JSX.Element;
|
17
18
|
name: string;
|
18
19
|
};
|
19
20
|
export declare const Numberedlist: {
|
20
|
-
render: () => JSX.Element;
|
21
|
+
render: () => import("react").JSX.Element;
|
21
22
|
name: string;
|
22
23
|
};
|
23
24
|
export declare const NumberedlistHighlighted: {
|
24
|
-
render: () => JSX.Element;
|
25
|
+
render: () => import("react").JSX.Element;
|
25
26
|
name: string;
|
26
27
|
};
|
27
28
|
export declare const Darktheme: {
|
28
|
-
render: () => JSX.Element;
|
29
|
+
render: () => import("react").JSX.Element;
|
29
30
|
name: string;
|
30
31
|
};
|
31
32
|
export declare const NostyleList: {
|
32
|
-
render: () => JSX.Element;
|
33
|
+
render: () => import("react").JSX.Element;
|
33
34
|
name: string;
|
34
35
|
};
|
35
36
|
export declare const WithPadding: {
|
36
|
-
render: () => JSX.Element;
|
37
|
+
render: () => import("react").JSX.Element;
|
37
38
|
name: string;
|
38
39
|
};
|
39
40
|
//# sourceMappingURL=List.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"List.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/List/List.stories.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"List.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/List/List.stories.tsx"],"names":[],"mappings":";;AAMA,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAiBnB,CAAA;AAED,eAAO,MAAM,aAAa;;;CAwBzB,CAAA;AAED,eAAO,MAAM,wBAAwB;;;CAwBpC,CAAA;AAED,eAAO,MAAM,SAAS;;;CAUrB,CAAA;AAED,eAAO,MAAM,YAAY;;;CAUxB,CAAA;AAED,eAAO,MAAM,uBAAuB;;;CAUnC,CAAA;AAED,eAAO,MAAM,SAAS;;;CAUrB,CAAA;AAED,eAAO,MAAM,WAAW;;;CAUvB,CAAA;AAED,eAAO,MAAM,WAAW;;;CAevB,CAAA"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { IAppTheme } from '../../app-shell/theme';
|
2
2
|
declare const styles: {
|
3
|
-
default: (theme: IAppTheme) => import("@emotion/
|
4
|
-
points: (theme: IAppTheme) => import("@emotion/
|
5
|
-
links: (theme: IAppTheme) => import("@emotion/
|
6
|
-
linksAlternate: (theme: IAppTheme) => import("@emotion/
|
3
|
+
default: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
4
|
+
points: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
5
|
+
links: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
6
|
+
linksAlternate: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
7
7
|
ordered: {};
|
8
8
|
numbers: {
|
9
9
|
listStyle: string;
|
@@ -22,13 +22,13 @@ declare const styles: {
|
|
22
22
|
marginRight: string;
|
23
23
|
};
|
24
24
|
};
|
25
|
-
numbersHighlighted: (theme: IAppTheme) => import("@emotion/
|
26
|
-
selectList: (theme: IAppTheme) => import("@emotion/
|
27
|
-
nostyle: import("@emotion/
|
28
|
-
rowHeight: (height: string) => import("@emotion/
|
29
|
-
minRowHeight: (height: string) => import("@emotion/
|
30
|
-
darkTheme: (theme: IAppTheme) => import("@emotion/
|
31
|
-
setPadding: (padding: string) => import("@emotion/
|
25
|
+
numbersHighlighted: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
26
|
+
selectList: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
27
|
+
nostyle: import("@emotion/react").SerializedStyles;
|
28
|
+
rowHeight: (height: string) => import("@emotion/react").SerializedStyles;
|
29
|
+
minRowHeight: (height: string) => import("@emotion/react").SerializedStyles;
|
30
|
+
darkTheme: (theme: IAppTheme) => import("@emotion/react").SerializedStyles;
|
31
|
+
setPadding: (padding: string) => import("@emotion/react").SerializedStyles;
|
32
32
|
};
|
33
33
|
export default styles;
|
34
34
|
export { styles };
|
@@ -1,7 +1,8 @@
|
|
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
|
//# sourceMappingURL=ListPager.stories.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ListPager.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/ListPager/ListPager.stories.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ListPager.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/ListPager/ListPager.stories.tsx"],"names":[],"mappings":";;AAGA,wBAGS;AAET,eAAO,MAAM,OAAO;;;CAYnB,CAAA"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export declare const PageStyle: (active: boolean, primary: string) => import("@emotion/
|
2
|
+
export declare const PageStyle: (active: boolean, primary: string) => import("@emotion/react").SerializedStyles;
|
3
3
|
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
5
5
|
as?: import("react").ElementType<any> | undefined;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare const _default;
|
3
|
+
export default _default;
|
4
|
+
export declare const DefaultWithImages: {
|
5
|
+
render: () => React.JSX.Element;
|
6
|
+
name: string;
|
7
|
+
};
|
8
|
+
export declare const CarouselWithVideosAndImages: {
|
9
|
+
render: () => React.JSX.Element;
|
10
|
+
name: string;
|
11
|
+
};
|
12
|
+
//# sourceMappingURL=MediaCarousel.stories.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MediaCarousel.stories.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/MediaCarousel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;;AAIzB,wBAGS;AAET,eAAO,MAAM,iBAAiB;;;CAgB7B,CAAA;AAED,eAAO,MAAM,2BAA2B;;;CAoBvC,CAAA"}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import MediaCarousel from '.';
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
+
export default {
|
5
|
+
title: 'Core/MediaCarousel',
|
6
|
+
component: MediaCarousel
|
7
|
+
};
|
8
|
+
export const DefaultWithImages = {
|
9
|
+
render: () => /*#__PURE__*/_jsx(MediaCarousel, {
|
10
|
+
media: [{
|
11
|
+
src: 'https://via.placeholder.com/150',
|
12
|
+
mimeType: 'image/png'
|
13
|
+
}, {
|
14
|
+
src: 'https://via.placeholder.com/150',
|
15
|
+
mimeType: 'image/png'
|
16
|
+
}]
|
17
|
+
}),
|
18
|
+
name: 'Carousel with images'
|
19
|
+
};
|
20
|
+
export const CarouselWithVideosAndImages = {
|
21
|
+
render: () => /*#__PURE__*/_jsx(MediaCarousel, {
|
22
|
+
media: [{
|
23
|
+
src: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQOi0mWLRO2c4favdUBtcHm8KiB9pAtWnkihu4-e8nY0g&s',
|
24
|
+
mimeType: 'image/jpeg'
|
25
|
+
}, {
|
26
|
+
src: 'https://via.placeholder.com/150',
|
27
|
+
mimeType: 'image/jpeg'
|
28
|
+
}, {
|
29
|
+
src: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4',
|
30
|
+
mimeType: 'video/mp4'
|
31
|
+
}]
|
32
|
+
}),
|
33
|
+
name: 'Carousel with videos and images'
|
34
|
+
};
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
2
2
|
declare type CarouselMedia = {
|
3
3
|
/** Media source */
|
4
4
|
src: string;
|
5
|
-
/** Media type */
|
6
|
-
mimeType
|
5
|
+
/** Media type is highly recommended. If no media type is specified, we assume it is an image. */
|
6
|
+
mimeType?: string;
|
7
7
|
};
|
8
8
|
declare type Props = {
|
9
9
|
/** The media */
|
@@ -20,5 +20,6 @@ declare type Props = {
|
|
20
20
|
objectFit?: 'fill' | 'contain' | 'cover' | 'non' | 'scale-down' | 'initial' | 'inherit';
|
21
21
|
};
|
22
22
|
declare const MediaCarousel: ({ media, objectFit, height, className, radius, withShadow, }: Props) => React.JSX.Element;
|
23
|
+
export type { CarouselMedia };
|
23
24
|
export default MediaCarousel;
|
24
25
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,aAAK,aAAa,GAAG;IACnB,mBAAmB;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,aAAK,aAAa,GAAG;IACnB,mBAAmB;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,iGAAiG;IACjG,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,aAAK,KAAK,GAAG;IACX,gBAAgB;IAChB,KAAK,EAAE,aAAa,EAAE,CAAA;IACtB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,kCAAkC;IAClC,SAAS,CAAC,EACN,MAAM,GACN,SAAS,GACT,OAAO,GACP,KAAK,GACL,YAAY,GACZ,SAAS,GACT,SAAS,CAAA;CACd,CAAA;AAED,QAAA,MAAM,aAAa,iEAOhB,KAAK,sBAiEP,CAAA;AACD,YAAY,EAAE,aAAa,EAAE,CAAA;AAC7B,eAAe,aAAa,CAAA"}
|
@@ -10,7 +10,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
11
11
|
const MediaCarousel = ({
|
12
12
|
media,
|
13
|
-
objectFit,
|
13
|
+
objectFit = 'contain',
|
14
14
|
height = '100%',
|
15
15
|
className,
|
16
16
|
radius,
|
@@ -21,7 +21,7 @@ const MediaCarousel = ({
|
|
21
21
|
const Media = ({
|
22
22
|
mediaItem
|
23
23
|
}) => {
|
24
|
-
const isVideo = mediaItem.mimeType
|
24
|
+
const isVideo = Boolean(mediaItem.mimeType?.includes('video'));
|
25
25
|
return /*#__PURE__*/_jsx(ImageWrapper, {
|
26
26
|
height: height,
|
27
27
|
children: isVideo ? /*#__PURE__*/_jsx(Video, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/styles.ts"],"names":[],"mappings":";AAAA,OAAO,EAAO,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAK3C,eAAO,MAAM,eAAe;;;;YAOhB,MAAM;WACP,KAAK;;;yGAqBf,CAAA;AAED,eAAO,MAAM,aAAa;;;;eACK,MAAM,GAAG,OAAO;qHAc9C,CAAA;AAED,eAAO,MAAM,qBAAqB;;;yGAMjC,CAAA;AAED,eAAO,MAAM,YAAY;;;;YACA,MAAM;
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/MediaCarousel/styles.ts"],"names":[],"mappings":";AAAA,OAAO,EAAO,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAK3C,eAAO,MAAM,eAAe;;;;YAOhB,MAAM;WACP,KAAK;;;yGAqBf,CAAA;AAED,eAAO,MAAM,aAAa;;;;eACK,MAAM,GAAG,OAAO;qHAc9C,CAAA;AAED,eAAO,MAAM,qBAAqB;;;yGAMjC,CAAA;AAED,eAAO,MAAM,YAAY;;;;YACA,MAAM;yGAgB9B,CAAA"}
|