@bbl-digital/snorre 4.2.71 → 4.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +12 -42955
- package/dist/stats.html +4949 -0
- package/esm/app-shell/index.js +2 -2
- 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/RowCell/styles.js +9 -9
- package/esm/core/BoxedTable/TableHeader/styles.js +1 -1
- package/esm/core/BoxedTable/TableRow/styles.js +8 -8
- package/esm/core/BoxedTable/styles.js +11 -11
- package/esm/core/Button/styles.js +19 -19
- 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/index.js +1 -0
- 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/FileInput/styles.js +14 -14
- 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 +6 -6
- package/esm/core/ImagePicker/IconWithBackground.js +1 -1
- package/esm/core/ImagePicker/UploadButton.js +1 -1
- package/esm/core/ImagePicker/styles.js +11 -11
- package/esm/core/ImageViewer/index.js +1 -1
- package/esm/core/ImageViewer/styles.js +7 -7
- package/esm/core/InfoButton/styles.js +9 -9
- package/esm/core/Input/styles.js +19 -19
- 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/MediaCarousel/styles.js +6 -6
- package/esm/core/Modal/ActionButtons/index.js +1 -1
- 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/NotificationRow/styles.js +3 -3
- package/esm/core/NotificationsMenu/styles.js +3 -3
- package/esm/core/PieChart/styles.js +2 -2
- package/esm/core/PreemptionCard/index.js +1 -1
- package/esm/core/PreemptionCard/styles.js +4 -4
- package/esm/core/PreemptionCardLoading/styles.js +3 -3
- package/esm/core/QuillEditor/index.js +2 -2
- package/esm/core/QuillEditor/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 +14 -14
- package/esm/core/SearchSelect/styles.js +5 -5
- package/esm/core/Select/index.js +1 -1
- package/esm/core/Select/styles.js +18 -18
- package/esm/core/SimpleBarChart/styles.js +1 -1
- package/esm/core/SimpleLineChart/styles.js +1 -1
- package/esm/core/Skeleton/styles.js +4 -4
- package/esm/core/Spinner/styles.js +5 -5
- package/esm/core/Stepper/MobileStep/styles.js +7 -7
- package/esm/core/Stepper/Step/index.js +1 -1
- package/esm/core/Stepper/Step/styles.js +5 -5
- package/esm/core/Stepper/styles.js +3 -3
- 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 +13 -13
- package/esm/core/Text/styles.js +16 -16
- package/esm/core/Textarea/styles.js +7 -7
- package/esm/core/Timeline/TimelineStep/styles.js +6 -6
- package/esm/core/Timeline/styles.js +1 -1
- package/esm/core/Timepicker/styles.js +7 -7
- package/esm/core/Tooltip/styles.js +2 -2
- package/esm/core/UserMenu/styles.js +7 -7
- package/esm/core/Video/styles.js +1 -1
- package/esm/core/YearWheel/styles.js +3 -3
- 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 +8 -8
- package/esm/layout/Menu/AppPicker/styles.js +5 -5
- package/esm/layout/Menu/MainMenu/styles.js +2 -2
- package/esm/layout/Menu/MenuItem/styles.js +3 -3
- package/esm/layout/Menu/MenuSpacer/styles.js +1 -1
- package/esm/layout/Menu/MenuTop/styles.js +3 -3
- package/esm/layout/Menu/SecondaryMenu/styles.js +4 -4
- package/esm/layout/Menu/SecondaryMenuItem/styles.js +1 -1
- package/esm/layout/Menu/styles.js +1 -1
- package/esm/layout/Submenu/SubmenuItem/styles.js +3 -3
- package/esm/layout/Submenu/styles.js +11 -11
- package/esm/layout/Topbar/styles.js +1 -1
- package/esm/shared/components/SbIconGrid/index.js +1 -1
- package/esm/shared/components/VisuallyHidden/index.js +1 -1
- package/esm/shared/recharts/CustomLegend/styles.js +2 -2
- package/esm/shared/recharts/CustomTooltip/styles.js +3 -3
- package/esm/v2/Memberbenefits/MemberbenefitsCard/styles.js +12 -12
- package/esm/v2/core/Box/styles.js +9 -9
- package/esm/v2/core/BoxedTable/DraggableRow/styles.js +5 -5
- package/esm/v2/core/BoxedTable/HeaderCell/styles.js +2 -2
- package/esm/v2/core/BoxedTable/RowCell/index.js +1 -1
- package/esm/v2/core/BoxedTable/RowCell/styles.js +9 -9
- package/esm/v2/core/BoxedTable/TableHeader/styles.js +1 -1
- package/esm/v2/core/BoxedTable/TableRow/styles.js +8 -8
- package/esm/v2/core/BoxedTable/styles.js +16 -16
- package/esm/v2/core/Button/styles.js +19 -19
- package/esm/v2/core/ButtonsFilter/styles.js +1 -1
- package/esm/v2/core/Chip/styles.js +11 -11
- package/esm/v2/core/TabNav/TabNavItem/styles.js +6 -6
- package/esm/v2/core/TabNav/styles.js +7 -7
- package/lib/app-shell/index.js +2 -2
- package/lib/core/Alert/styles.js +6 -6
- package/lib/core/AppLoader/styles.js +1 -1
- package/lib/core/Autocomplete/styles.js +18 -18
- package/lib/core/Banner/styles.js +4 -4
- package/lib/core/BarAndLineComposedChart/styles.js +1 -1
- package/lib/core/BarChartWithCustomizedEvent/styles.js +1 -1
- package/lib/core/Box/styles.js +7 -7
- package/lib/core/BoxedTable/DraggableRow/styles.js +5 -5
- package/lib/core/BoxedTable/HeaderCell/styles.js +2 -2
- package/lib/core/BoxedTable/RowCell/index.js +1 -1
- package/lib/core/BoxedTable/RowCell/styles.js +9 -9
- package/lib/core/BoxedTable/TableHeader/styles.js +1 -1
- package/lib/core/BoxedTable/TableRow/styles.js +8 -8
- package/lib/core/BoxedTable/styles.js +11 -11
- package/lib/core/Button/styles.js +19 -19
- 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/styles.js +11 -11
- package/lib/core/Checkbox/styles.js +5 -5
- package/lib/core/CollapseList/styles.js +2 -2
- package/lib/core/CommentsTimeline/CommentLine/styles.js +4 -4
- package/lib/core/CommentsTimeline/styles.js +1 -1
- package/lib/core/CustomText/styles.js +2 -2
- package/lib/core/Datepicker/index.d.ts +1 -0
- package/lib/core/Datepicker/index.d.ts.map +1 -1
- package/lib/core/Datepicker/index.js +1 -0
- package/lib/core/Datepicker/styles.js +9 -9
- package/lib/core/DatepickerRange/styles.js +9 -9
- package/lib/core/Divider/styles.js +5 -5
- package/lib/core/Dropdown/styles.js +3 -3
- package/lib/core/DropdownMenu/styles.js +3 -3
- package/lib/core/FileInput/styles.js +14 -14
- package/lib/core/GoogleButton/styles.js +1 -1
- package/lib/core/Header/styles.js +7 -7
- package/lib/core/HighlightText/styles.js +1 -1
- package/lib/core/Html/styles.js +6 -6
- package/lib/core/Image/styles.js +6 -6
- package/lib/core/ImagePicker/IconWithBackground.js +1 -1
- package/lib/core/ImagePicker/UploadButton.js +1 -1
- package/lib/core/ImagePicker/styles.js +11 -11
- package/lib/core/ImageViewer/index.js +1 -1
- package/lib/core/ImageViewer/styles.js +7 -7
- package/lib/core/InfoButton/styles.js +9 -9
- package/lib/core/Input/styles.js +19 -19
- package/lib/core/Link/styles.js +10 -10
- package/lib/core/List/Item.js +1 -1
- package/lib/core/List/styles.js +11 -11
- package/lib/core/ListPager/styles.js +3 -3
- package/lib/core/MediaCarousel/styles.js +6 -6
- package/lib/core/Modal/ActionButtons/index.js +1 -1
- package/lib/core/Modal/styles.js +8 -8
- 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 +4 -4
- package/lib/core/NotificationCounter/styles.js +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/styles.js +3 -3
- package/lib/core/NotificationsMenu/styles.js +3 -3
- package/lib/core/PieChart/styles.js +2 -2
- package/lib/core/PreemptionCard/index.js +1 -1
- package/lib/core/PreemptionCard/styles.js +4 -4
- package/lib/core/PreemptionCardLoading/styles.js +3 -3
- package/lib/core/QuillEditor/index.js +2 -2
- package/lib/core/QuillEditor/styles.js +3 -3
- package/lib/core/Radio/styles.js +4 -4
- package/lib/core/SearchFilter/index.js +1 -1
- package/lib/core/SearchFilter/styles.js +14 -14
- package/lib/core/SearchSelect/styles.js +5 -5
- package/lib/core/Select/index.js +1 -1
- package/lib/core/Select/styles.js +18 -18
- package/lib/core/SimpleBarChart/styles.js +1 -1
- package/lib/core/SimpleLineChart/styles.js +1 -1
- package/lib/core/Skeleton/styles.js +4 -4
- package/lib/core/Spinner/styles.js +5 -5
- package/lib/core/Stepper/MobileStep/styles.js +7 -7
- package/lib/core/Stepper/Step/index.js +1 -1
- package/lib/core/Stepper/Step/styles.js +5 -5
- package/lib/core/Stepper/styles.js +3 -3
- package/lib/core/TabBar/TabItem/styles.js +1 -1
- package/lib/core/TabBar/styles.js +1 -1
- package/lib/core/TabNav/TabNavItem/styles.js +5 -5
- package/lib/core/TabNav/styles.js +8 -8
- package/lib/core/Table/styles.js +16 -16
- package/lib/core/Tag/styles.js +13 -13
- package/lib/core/Text/styles.js +16 -16
- package/lib/core/Textarea/styles.js +7 -7
- package/lib/core/Timeline/TimelineStep/styles.js +6 -6
- package/lib/core/Timeline/styles.js +1 -1
- package/lib/core/Timepicker/styles.js +7 -7
- package/lib/core/Tooltip/styles.js +2 -2
- package/lib/core/UserMenu/styles.js +7 -7
- package/lib/core/Video/styles.js +1 -1
- package/lib/core/YearWheel/styles.js +3 -3
- package/lib/globals/styles/styles.js +1 -1
- package/lib/illustrations/styles.js +2 -2
- package/lib/layout/Footer/FooterButton/styles.js +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/FooterLink/styles.js +1 -1
- package/lib/layout/Footer/styles.js +2 -2
- package/lib/layout/Layout/styles.js +1 -1
- package/lib/layout/LayoutShell/styles.js +8 -8
- package/lib/layout/Menu/AppPicker/styles.js +5 -5
- package/lib/layout/Menu/MainMenu/styles.js +2 -2
- package/lib/layout/Menu/MenuItem/styles.js +3 -3
- package/lib/layout/Menu/MenuSpacer/styles.js +1 -1
- package/lib/layout/Menu/MenuTop/styles.js +3 -3
- package/lib/layout/Menu/SecondaryMenu/styles.js +4 -4
- package/lib/layout/Menu/SecondaryMenuItem/styles.js +1 -1
- package/lib/layout/Menu/styles.js +1 -1
- package/lib/layout/Submenu/SubmenuItem/styles.js +3 -3
- package/lib/layout/Submenu/styles.js +11 -11
- package/lib/layout/Topbar/styles.js +1 -1
- package/lib/shared/components/SbIconGrid/index.js +1 -1
- package/lib/shared/components/VisuallyHidden/index.js +1 -1
- package/lib/shared/recharts/CustomLegend/styles.js +2 -2
- package/lib/shared/recharts/CustomTooltip/styles.js +3 -3
- package/lib/v2/Memberbenefits/MemberbenefitsCard/styles.js +12 -12
- package/lib/v2/core/Box/styles.js +9 -9
- package/lib/v2/core/BoxedTable/DraggableRow/styles.js +5 -5
- package/lib/v2/core/BoxedTable/HeaderCell/styles.js +2 -2
- package/lib/v2/core/BoxedTable/RowCell/index.js +1 -1
- package/lib/v2/core/BoxedTable/RowCell/styles.js +9 -9
- package/lib/v2/core/BoxedTable/TableHeader/styles.js +1 -1
- package/lib/v2/core/BoxedTable/TableRow/styles.js +8 -8
- package/lib/v2/core/BoxedTable/styles.js +16 -16
- package/lib/v2/core/Button/styles.js +19 -19
- package/lib/v2/core/ButtonsFilter/styles.js +1 -1
- package/lib/v2/core/Chip/styles.js +11 -11
- package/lib/v2/core/TabNav/TabNavItem/styles.js +6 -6
- package/lib/v2/core/TabNav/styles.js +7 -7
- package/package.json +14 -4
- package/rollup.config.js +10 -1
@@ -13,20 +13,20 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
13
13
|
styles: "padding:2px 6px;font-size:12px;line-height:16px"
|
14
14
|
} : {
|
15
15
|
name: "z9a37m-small",
|
16
|
-
styles: "padding:2px 6px;font-size:12px;line-height:16px;label:small
|
16
|
+
styles: "padding:2px 6px;font-size:12px;line-height:16px;label:small;",
|
17
17
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
18
18
|
};
|
19
19
|
const styles = exports.styles = {
|
20
|
-
default: theme => /*#__PURE__*/(0, _react.css)("display:flex;align-items:center;justify-content:center;gap:4px;padding:3px 8px;border-radius:47px;background-color:", theme.primary, ";color:white;font-size:13px;line-height:18px;font-weight:400;outline:none;border:none;width:fit-content;" + (process.env.NODE_ENV === "production" ? "" : ";label:default;")
|
21
|
-
neutral: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.bgMedium, ";color:", theme.primary, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:neutral;")
|
22
|
-
outline: theme => /*#__PURE__*/(0, _react.css)("color:", theme.primary, ";border:2px solid ", theme.bgLight, ";background-color:white;" + (process.env.NODE_ENV === "production" ? "" : ";label:outline;")
|
23
|
-
'outline-secondary': theme => /*#__PURE__*/(0, _react.css)("color:", theme.defaultText, ";border:2px solid ", theme.bgLight, ";background-color:white;" + (process.env.NODE_ENV === "production" ? "" : ";label:outline-secondary;")
|
24
|
-
success: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.success, ";color:'black';" + (process.env.NODE_ENV === "production" ? "" : ";label:success;")
|
25
|
-
warning: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.infoMedium, ";color:'black';" + (process.env.NODE_ENV === "production" ? "" : ";label:warning;")
|
26
|
-
error: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.alert, ";color:'white';" + (process.env.NODE_ENV === "production" ? "" : ";label:error;")
|
27
|
-
active: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.primary10opa, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:active;")
|
20
|
+
default: theme => /*#__PURE__*/(0, _react.css)("display:flex;align-items:center;justify-content:center;gap:4px;padding:3px 8px;border-radius:47px;background-color:", theme.primary, ";color:white;font-size:13px;line-height:18px;font-weight:400;outline:none;border:none;width:fit-content;" + (process.env.NODE_ENV === "production" ? "" : ";label:default;")),
|
21
|
+
neutral: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.bgMedium, ";color:", theme.primary, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:neutral;")),
|
22
|
+
outline: theme => /*#__PURE__*/(0, _react.css)("color:", theme.primary, ";border:2px solid ", theme.bgLight, ";background-color:white;" + (process.env.NODE_ENV === "production" ? "" : ";label:outline;")),
|
23
|
+
'outline-secondary': theme => /*#__PURE__*/(0, _react.css)("color:", theme.defaultText, ";border:2px solid ", theme.bgLight, ";background-color:white;" + (process.env.NODE_ENV === "production" ? "" : ";label:outline-secondary;")),
|
24
|
+
success: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.success, ";color:'black';" + (process.env.NODE_ENV === "production" ? "" : ";label:success;")),
|
25
|
+
warning: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.infoMedium, ";color:'black';" + (process.env.NODE_ENV === "production" ? "" : ";label:warning;")),
|
26
|
+
error: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.alert, ";color:'white';" + (process.env.NODE_ENV === "production" ? "" : ";label:error;")),
|
27
|
+
active: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.primary10opa, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:active;")),
|
28
28
|
small: () => _ref,
|
29
|
-
clickable: theme => /*#__PURE__*/(0, _react.css)("cursor:pointer;&:hover{background-color:", theme.primary5darker, ";}&:active{background-color:", theme.primary5darker, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:clickable;")
|
29
|
+
clickable: theme => /*#__PURE__*/(0, _react.css)("cursor:pointer;&:hover{background-color:", theme.primary5darker, ";}&:active{background-color:", theme.primary5darker, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:clickable;"))
|
30
30
|
};
|
31
31
|
const CloseButton = exports.CloseButton = /*#__PURE__*/(0, _base.default)("button", process.env.NODE_ENV === "production" ? {
|
32
32
|
target: "erlt5400"
|
@@ -38,6 +38,6 @@ const CloseButton = exports.CloseButton = /*#__PURE__*/(0, _base.default)("butto
|
|
38
38
|
styles: "display:flex;align-items:center;justify-content:center;padding:0;outline:none;border:none;border-radius:0.25rem;height:14px;width:14px;background-color:transparent;cursor:pointer;transition:background-color 0.2s,color 0.2s"
|
39
39
|
} : {
|
40
40
|
name: "1kx4gyb",
|
41
|
-
styles: "display:flex;align-items:center;justify-content:center;padding:0;outline:none;border:none;border-radius:0.25rem;height:14px;width:14px;background-color:transparent;cursor:pointer;transition:background-color 0.2s,color 0.2s
|
41
|
+
styles: "display:flex;align-items:center;justify-content:center;padding:0;outline:none;border:none;border-radius:0.25rem;height:14px;width:14px;background-color:transparent;cursor:pointer;transition:background-color 0.2s,color 0.2s",
|
42
42
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
43
43
|
});
|
@@ -11,20 +11,20 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
11
11
|
const calculateIndent = indent => {
|
12
12
|
const BASE = 8;
|
13
13
|
const INDENT_PADDING_LI = indent === 1 ? BASE * 3 : (indent + 2) * BASE;
|
14
|
-
return /*#__PURE__*/(0, _react.css)("padding-left:", INDENT_PADDING_LI, "px!important;" + (process.env.NODE_ENV === "production" ? "" : ";label:calculateIndent;")
|
14
|
+
return /*#__PURE__*/(0, _react.css)("padding-left:", INDENT_PADDING_LI, "px!important;" + (process.env.NODE_ENV === "production" ? "" : ";label:calculateIndent;"));
|
15
15
|
};
|
16
16
|
const TabNavItemWrapper = exports.TabNavItemWrapper = /*#__PURE__*/(0, _base.default)("button", process.env.NODE_ENV === "production" ? {
|
17
17
|
target: "eucjil52"
|
18
18
|
} : {
|
19
19
|
target: "eucjil52",
|
20
20
|
label: "TabNavItemWrapper"
|
21
|
-
})(props => /*#__PURE__*/(0, _react.css)("display:flex;border:none;background:transparent;cursor:pointer;padding:0.75rem 1rem;position:relative;font-size:16px;font-weight:600;transition:background ease 250ms;border-radius:8px;&:hover{background:", props.theme.primary10opa, ";color:", props.theme.defaultText, ";}&:focus,&:focus-visible{outline:2px solid ", props.theme.primary, ";outline-offset:1px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:TabNavItemWrapper;")
|
21
|
+
})(props => /*#__PURE__*/(0, _react.css)("display:flex;border:none;background:transparent;cursor:pointer;padding:0.75rem 1rem;position:relative;font-size:16px;font-weight:600;transition:background ease 250ms;border-radius:8px;&:hover{background:", props.theme.primary10opa, ";color:", props.theme.defaultText, ";}&:focus,&:focus-visible{outline:2px solid ", props.theme.primary, ";outline-offset:1px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:TabNavItemWrapper;")));
|
22
22
|
const SelectChildrenWrapper = exports.SelectChildrenWrapper = /*#__PURE__*/(0, _base.default)("ul", process.env.NODE_ENV === "production" ? {
|
23
23
|
target: "eucjil51"
|
24
24
|
} : {
|
25
25
|
target: "eucjil51",
|
26
26
|
label: "SelectChildrenWrapper"
|
27
|
-
})(props => /*#__PURE__*/(0, _react.css)("position:absolute;z-index:3;top:calc(", props.bottom, "px - 0.5em);left:", props.left, "px;background:#fff;box-shadow:0px 10px 15px 0px rgba(0, 0, 0, 0.1);list-style:none;margin:0;padding:0;min-width:", props.minWidth, "px;max-width:350px;max-height:40vh;overflow-y:auto;overflow-x:hidden;&>li{word-break:break-all;background:#fff;display:flex;width:calc(100% - 1em);cursor:pointer;list-style:none;padding:0.5em;padding-left:1em;border-top:1px solid ", props.theme.border, ";transition:background 150ms ease-in-out;&:first-of-type{border-top:none;}&:hover,&:focus{background:", props.theme.bgLight, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:SelectChildrenWrapper;")
|
27
|
+
})(props => /*#__PURE__*/(0, _react.css)("position:absolute;z-index:3;top:calc(", props.bottom, "px - 0.5em);left:", props.left, "px;background:#fff;box-shadow:0px 10px 15px 0px rgba(0, 0, 0, 0.1);list-style:none;margin:0;padding:0;min-width:", props.minWidth, "px;max-width:350px;max-height:40vh;overflow-y:auto;overflow-x:hidden;&>li{word-break:break-all;background:#fff;display:flex;width:calc(100% - 1em);cursor:pointer;list-style:none;padding:0.5em;padding-left:1em;border-top:1px solid ", props.theme.border, ";transition:background 150ms ease-in-out;&:first-of-type{border-top:none;}&:hover,&:focus{background:", props.theme.bgLight, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:SelectChildrenWrapper;")));
|
28
28
|
const SelectOption = exports.SelectOption = /*#__PURE__*/(0, _base.default)("li", process.env.NODE_ENV === "production" ? {
|
29
29
|
target: "eucjil50"
|
30
30
|
} : {
|
@@ -34,16 +34,16 @@ const SelectOption = exports.SelectOption = /*#__PURE__*/(0, _base.default)("li"
|
|
34
34
|
disabled,
|
35
35
|
bold,
|
36
36
|
indent
|
37
|
-
}) => /*#__PURE__*/(0, _react.css)("padding:0;padding-left:8px;padding-right:8px;justify-content:flex-start;height:100%;width:100%;opacity:", disabled ? 0.5 : 1, ";font-weight:", bold ? 600 : 400, ";", indent && calculateIndent(indent), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:SelectOption;")
|
37
|
+
}) => /*#__PURE__*/(0, _react.css)("padding:0;padding-left:8px;padding-right:8px;justify-content:flex-start;height:100%;width:100%;opacity:", disabled ? 0.5 : 1, ";font-weight:", bold ? 600 : 400, ";", indent && calculateIndent(indent), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:SelectOption;")));
|
38
38
|
var _ref = process.env.NODE_ENV === "production" ? {
|
39
39
|
name: "m1a2da",
|
40
40
|
styles: "padding:0.5rem"
|
41
41
|
} : {
|
42
42
|
name: "1o6kqfy-small",
|
43
|
-
styles: "padding:0.5rem;label:small
|
43
|
+
styles: "padding:0.5rem;label:small;",
|
44
44
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
45
45
|
};
|
46
46
|
const styles = exports.styles = {
|
47
|
-
active: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.primary5darker, ";color:white;:hover{background-color:", theme.primary5darker, ";color:white;}" + (process.env.NODE_ENV === "production" ? "" : ";label:active;")
|
47
|
+
active: theme => /*#__PURE__*/(0, _react.css)("background-color:", theme.primary5darker, ";color:white;:hover{background-color:", theme.primary5darker, ";color:white;}" + (process.env.NODE_ENV === "production" ? "" : ";label:active;")),
|
48
48
|
small: () => _ref
|
49
49
|
};
|
@@ -14,7 +14,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
14
14
|
styles: "display:flex;gap:0.5rem;width:100%;position:relative;padding:0;margin:0;align-content:space-between;align-items:flex-end"
|
15
15
|
} : {
|
16
16
|
name: "mniq5c-TabNavWrapper",
|
17
|
-
styles: "display:flex;gap:0.5rem;width:100%;position:relative;padding:0;margin:0;align-content:space-between;align-items:flex-end;label:TabNavWrapper
|
17
|
+
styles: "display:flex;gap:0.5rem;width:100%;position:relative;padding:0;margin:0;align-content:space-between;align-items:flex-end;label:TabNavWrapper;",
|
18
18
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
19
19
|
};
|
20
20
|
const TabNavWrapper = exports.TabNavWrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
@@ -22,19 +22,19 @@ const TabNavWrapper = exports.TabNavWrapper = /*#__PURE__*/(0, _base.default)("d
|
|
22
22
|
} : {
|
23
23
|
target: "e2i76m83",
|
24
24
|
label: "TabNavWrapper"
|
25
|
-
})(props => _ref
|
25
|
+
})(props => _ref);
|
26
26
|
const TabNavActions = exports.TabNavActions = /*#__PURE__*/(0, _base.default)("span", process.env.NODE_ENV === "production" ? {
|
27
27
|
target: "e2i76m82"
|
28
28
|
} : {
|
29
29
|
target: "e2i76m82",
|
30
30
|
label: "TabNavActions"
|
31
|
-
})("position:absolute;right:0;bottom:1em;@media (max-width: ", _breakpoints.default.medium, "){bottom:0;padding:1em;&:after{display:none;}}"
|
31
|
+
})("position:absolute;right:0;bottom:1em;@media (max-width: ", _breakpoints.default.medium, "){bottom:0;padding:1em;&:after{display:none;}}");
|
32
32
|
const SelectLinkWrapper = exports.SelectLinkWrapper = /*#__PURE__*/(0, _base.default)("li", process.env.NODE_ENV === "production" ? {
|
33
33
|
target: "e2i76m81"
|
34
34
|
} : {
|
35
35
|
target: "e2i76m81",
|
36
36
|
label: "SelectLinkWrapper"
|
37
|
-
})(
|
37
|
+
})();
|
38
38
|
const SelectWrapper = exports.SelectWrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
39
39
|
target: "e2i76m80"
|
40
40
|
} : {
|
@@ -45,17 +45,17 @@ const SelectWrapper = exports.SelectWrapper = /*#__PURE__*/(0, _base.default)("d
|
|
45
45
|
styles: "display:flex;flex-direction:column;gap:0.5em;&>span>div>ul>li>button{word-break:break-all;text-align:left;}"
|
46
46
|
} : {
|
47
47
|
name: "1cickod",
|
48
|
-
styles: "display:flex;flex-direction:column;gap:0.5em;&>span>div>ul>li>button{word-break:break-all;text-align:left;}
|
48
|
+
styles: "display:flex;flex-direction:column;gap:0.5em;&>span>div>ul>li>button{word-break:break-all;text-align:left;}",
|
49
49
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
50
50
|
});
|
51
51
|
const styles = exports.styles = {
|
52
|
-
maxWidth: width => /*#__PURE__*/(0, _react.css)("max-width:", width, "px;" + (process.env.NODE_ENV === "production" ? "" : ";label:maxWidth;")
|
52
|
+
maxWidth: width => /*#__PURE__*/(0, _react.css)("max-width:", width, "px;" + (process.env.NODE_ENV === "production" ? "" : ";label:maxWidth;")),
|
53
53
|
vertical: process.env.NODE_ENV === "production" ? {
|
54
54
|
name: "1yrkr6r",
|
55
55
|
styles: "flex-direction:column;align-items:flex-start;&:after{left:0;top:0;width:4px;height:100%;}& button::after,& button:hover::after{height:100%;width:4px;top:0;}"
|
56
56
|
} : {
|
57
57
|
name: "qxb6uv-vertical",
|
58
|
-
styles: "flex-direction:column;align-items:flex-start;&:after{left:0;top:0;width:4px;height:100%;}& button::after,& button:hover::after{height:100%;width:4px;top:0;};label:vertical
|
58
|
+
styles: "flex-direction:column;align-items:flex-start;&:after{left:0;top:0;width:4px;height:100%;}& button::after,& button:hover::after{height:100%;width:4px;top:0;};label:vertical;",
|
59
59
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
60
60
|
}
|
61
61
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bbl-digital/snorre",
|
3
|
-
"version": "4.2.
|
3
|
+
"version": "4.2.72",
|
4
4
|
"description": "Design library for BBL Digital",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "./lib/index.js",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"quill": "^2.0.2",
|
35
35
|
"react-aria": "^3.23.0",
|
36
36
|
"react-beautiful-dnd": "^13.1.0",
|
37
|
-
"react-day-picker": "^9.
|
37
|
+
"react-day-picker": "^9.6.1",
|
38
38
|
"react-images-uploading": "^3.1.7",
|
39
39
|
"react-player": "^2.12.0",
|
40
40
|
"react-stately": "^3.21.0",
|
@@ -123,10 +123,13 @@
|
|
123
123
|
"react-transition-group": "^4.4.2",
|
124
124
|
"rimraf": "^3.0.2",
|
125
125
|
"rollup": "^2.75.7",
|
126
|
+
"rollup-plugin-terser": "^7.0.2",
|
127
|
+
"rollup-plugin-visualizer": "^5.14.0",
|
126
128
|
"storybook": "^8.2.9",
|
127
129
|
"storybook-addon-emotion-theme": "^2.1.1",
|
128
130
|
"ts-jest": "^27.0.3",
|
129
|
-
"typescript": "^5.1.6"
|
131
|
+
"typescript": "^5.1.6",
|
132
|
+
"vite-bundle-visualizer": "^1.2.1"
|
130
133
|
},
|
131
134
|
"babel": {
|
132
135
|
"presets": [
|
@@ -147,7 +150,14 @@
|
|
147
150
|
"@babel/preset-typescript"
|
148
151
|
],
|
149
152
|
"plugins": [
|
150
|
-
|
153
|
+
[
|
154
|
+
"@emotion/babel-plugin",
|
155
|
+
{
|
156
|
+
"sourceMap": false,
|
157
|
+
"autoLabel": "dev-only",
|
158
|
+
"cssPropOptimization": true
|
159
|
+
}
|
160
|
+
]
|
151
161
|
]
|
152
162
|
},
|
153
163
|
"husky": {
|
package/rollup.config.js
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
import commonjs from '@rollup/plugin-commonjs'
|
2
|
+
import { visualizer } from 'rollup-plugin-visualizer'
|
3
|
+
import { terser } from 'rollup-plugin-terser'
|
2
4
|
|
3
5
|
const config = {
|
4
6
|
input: 'esm/index.js',
|
@@ -7,7 +9,14 @@ const config = {
|
|
7
9
|
format: 'umd',
|
8
10
|
name: 'Snorre',
|
9
11
|
},
|
10
|
-
plugins: [
|
12
|
+
plugins: [
|
13
|
+
commonjs(),
|
14
|
+
terser(),
|
15
|
+
visualizer({
|
16
|
+
filename: './dist/stats.html',
|
17
|
+
open: true,
|
18
|
+
}),
|
19
|
+
],
|
11
20
|
}
|
12
21
|
|
13
22
|
export default config
|