@bbl-digital/snorre 4.2.70 → 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/classes/IndentAttributor.js +49 -0
- package/esm/core/QuillEditor/classes/ListContainer.js +20 -0
- 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/index.js +1 -1
- 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/quill.module.js +1 -0
- package/esm/globals/styles/styles.js +1 -1
- package/esm/illustrations/styles.js +2 -2
- package/esm/layout/Footer/FooterButton/styles.js +1 -1
- package/esm/layout/Footer/FooterCol/styles.js +1 -1
- package/esm/layout/Footer/FooterGroup/styles.js +1 -1
- package/esm/layout/Footer/FooterLabel/styles.js +1 -1
- package/esm/layout/Footer/FooterLink/styles.js +1 -1
- package/esm/layout/Footer/styles.js +2 -2
- package/esm/layout/Layout/styles.js +1 -1
- package/esm/layout/LayoutShell/styles.js +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/utils/getContrastColor.js +20 -0
- 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 +4 -3
- 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/classes/IndentAttributor.d.ts +10 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/IndentAttributor.js +49 -0
- package/lib/core/QuillEditor/classes/ListContainer.d.ts +10 -0
- package/lib/core/QuillEditor/classes/ListContainer.d.ts.map +1 -0
- package/lib/core/QuillEditor/classes/ListContainer.js +20 -0
- 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/index.d.ts +3 -3
- package/lib/core/Textarea/index.d.ts.map +1 -1
- package/lib/core/Textarea/index.js +1 -1
- 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/quill.module.d.ts +2 -0
- package/lib/globals/styles/quill.module.d.ts.map +1 -0
- package/lib/globals/styles/quill.module.js +1 -0
- 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/utils/getContrastColor.d.ts +2 -0
- package/lib/utils/getContrastColor.d.ts.map +1 -0
- package/lib/utils/getContrastColor.js +20 -0
- 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
package/lib/core/Tag/styles.js
CHANGED
@@ -25,39 +25,39 @@ const styles = exports.styles = {
|
|
25
25
|
'&:focus': {
|
26
26
|
textDecoration: 'underline'
|
27
27
|
}
|
28
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:default;"
|
28
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:default;"),
|
29
29
|
neutral: theme => /*#__PURE__*/(0, _react.css)({
|
30
30
|
color: theme.defaultText,
|
31
31
|
backgroundColor: theme.gray20
|
32
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:neutral;"
|
32
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:neutral;"),
|
33
33
|
success: theme => /*#__PURE__*/(0, _react.css)({
|
34
34
|
color: theme.defaultText,
|
35
35
|
backgroundColor: theme.successMedium
|
36
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:success;"
|
36
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:success;"),
|
37
37
|
info: theme => /*#__PURE__*/(0, _react.css)({
|
38
38
|
color: theme.bgDark,
|
39
39
|
backgroundColor: theme.infoMedium
|
40
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:info;"
|
40
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:info;"),
|
41
41
|
danger: theme => /*#__PURE__*/(0, _react.css)({
|
42
42
|
color: 'white',
|
43
43
|
backgroundColor: theme.alert
|
44
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:danger;"
|
44
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:danger;"),
|
45
45
|
dark: theme => /*#__PURE__*/(0, _react.css)({
|
46
46
|
color: 'white',
|
47
47
|
backgroundColor: theme.bgDark
|
48
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:dark;"
|
48
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:dark;"),
|
49
49
|
light: theme => /*#__PURE__*/(0, _react.css)({
|
50
50
|
color: theme.bgDark,
|
51
51
|
backgroundColor: theme.bgLight
|
52
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:light;"
|
53
|
-
outline: theme => /*#__PURE__*/(0, _react.css)("color:", theme.defaultText, ";min-height:20px;line-height:20px;border:2px solid ", theme.bgLight, ";background-color:white;" + (process.env.NODE_ENV === "production" ? "" : ";label:outline;")
|
54
|
-
dotted: theme => /*#__PURE__*/(0, _react.css)("color:", theme.defaultText, ";min-height:20px;line-height:20px;border:2px dotted ", theme.border, ";background-color:transparent;" + (process.env.NODE_ENV === "production" ? "" : ";label:dotted;")
|
52
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:light;"),
|
53
|
+
outline: theme => /*#__PURE__*/(0, _react.css)("color:", theme.defaultText, ";min-height:20px;line-height:20px;border:2px solid ", theme.bgLight, ";background-color:white;" + (process.env.NODE_ENV === "production" ? "" : ";label:outline;")),
|
54
|
+
dotted: theme => /*#__PURE__*/(0, _react.css)("color:", theme.defaultText, ";min-height:20px;line-height:20px;border:2px dotted ", theme.border, ";background-color:transparent;" + (process.env.NODE_ENV === "production" ? "" : ";label:dotted;")),
|
55
55
|
withclose: process.env.NODE_ENV === "production" ? {
|
56
56
|
name: "aymhac",
|
57
57
|
styles: "display:flex;align-items:center;min-height:24px;line-height:unset;&>svg{margin-left:0.5em;}"
|
58
58
|
} : {
|
59
59
|
name: "1eravii-withclose",
|
60
|
-
styles: "display:flex;align-items:center;min-height:24px;line-height:unset;&>svg{margin-left:0.5em;};label:withclose
|
60
|
+
styles: "display:flex;align-items:center;min-height:24px;line-height:unset;&>svg{margin-left:0.5em;};label:withclose;",
|
61
61
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
62
62
|
},
|
63
63
|
strictClose: process.env.NODE_ENV === "production" ? {
|
@@ -65,7 +65,7 @@ const styles = exports.styles = {
|
|
65
65
|
styles: "display:flex;width:fit-content;align-items:center;min-height:24px;line-height:unset;&>button{margin-left:0.5em;}"
|
66
66
|
} : {
|
67
67
|
name: "v4s7sa-strictClose",
|
68
|
-
styles: "display:flex;width:fit-content;align-items:center;min-height:24px;line-height:unset;&>button{margin-left:0.5em;};label:strictClose
|
68
|
+
styles: "display:flex;width:fit-content;align-items:center;min-height:24px;line-height:unset;&>button{margin-left:0.5em;};label:strictClose;",
|
69
69
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
70
70
|
},
|
71
71
|
loading: process.env.NODE_ENV === "production" ? {
|
@@ -73,7 +73,7 @@ const styles = exports.styles = {
|
|
73
73
|
styles: "display:flex;width:fit-content;align-items:center;min-height:24px;line-height:unset;gap:0.5em;&>div{margin-right:0.5em;}"
|
74
74
|
} : {
|
75
75
|
name: "10cwrar-loading",
|
76
|
-
styles: "display:flex;width:fit-content;align-items:center;min-height:24px;line-height:unset;gap:0.5em;&>div{margin-right:0.5em;};label:loading
|
76
|
+
styles: "display:flex;width:fit-content;align-items:center;min-height:24px;line-height:unset;gap:0.5em;&>div{margin-right:0.5em;};label:loading;",
|
77
77
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
78
78
|
},
|
79
79
|
withicon: process.env.NODE_ENV === "production" ? {
|
@@ -81,7 +81,7 @@ const styles = exports.styles = {
|
|
81
81
|
styles: "display:flex;align-items:center;gap:5px;width:fit-content"
|
82
82
|
} : {
|
83
83
|
name: "4g9093-withicon",
|
84
|
-
styles: "display:flex;align-items:center;gap:5px;width:fit-content;label:withicon
|
84
|
+
styles: "display:flex;align-items:center;gap:5px;width:fit-content;label:withicon;",
|
85
85
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
86
86
|
}
|
87
87
|
};
|
package/lib/core/Text/styles.js
CHANGED
@@ -11,20 +11,20 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
11
11
|
styles: "overflow-wrap:break-word"
|
12
12
|
} : {
|
13
13
|
name: "23r345-setWordBreak",
|
14
|
-
styles: "overflow-wrap:break-word;label:setWordBreak
|
14
|
+
styles: "overflow-wrap:break-word;label:setWordBreak;",
|
15
15
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
16
16
|
};
|
17
17
|
const styles = exports.styles = {
|
18
18
|
default: (theme, color) => /*#__PURE__*/(0, _react.css)({
|
19
19
|
fontSize: '16px',
|
20
20
|
color: color ? color : theme.defaultText
|
21
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:default;"
|
21
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:default;"),
|
22
22
|
paragraph: process.env.NODE_ENV === "production" ? {
|
23
23
|
name: "ti75j2",
|
24
24
|
styles: "margin:0"
|
25
25
|
} : {
|
26
26
|
name: "174a9lt-paragraph",
|
27
|
-
styles: "margin:0;label:paragraph
|
27
|
+
styles: "margin:0;label:paragraph;",
|
28
28
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
29
29
|
},
|
30
30
|
intro: process.env.NODE_ENV === "production" ? {
|
@@ -32,7 +32,7 @@ const styles = exports.styles = {
|
|
32
32
|
styles: "font-size:22px"
|
33
33
|
} : {
|
34
34
|
name: "uvrfec-intro",
|
35
|
-
styles: "font-size:22px;label:intro
|
35
|
+
styles: "font-size:22px;label:intro;",
|
36
36
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
37
37
|
},
|
38
38
|
small: process.env.NODE_ENV === "production" ? {
|
@@ -40,7 +40,7 @@ const styles = exports.styles = {
|
|
40
40
|
styles: "font-size:14px"
|
41
41
|
} : {
|
42
42
|
name: "g50f1t-small",
|
43
|
-
styles: "font-size:14px;label:small
|
43
|
+
styles: "font-size:14px;label:small;",
|
44
44
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
45
45
|
},
|
46
46
|
extrasmall: process.env.NODE_ENV === "production" ? {
|
@@ -48,7 +48,7 @@ const styles = exports.styles = {
|
|
48
48
|
styles: "font-size:12px"
|
49
49
|
} : {
|
50
50
|
name: "1qg05pr-extrasmall",
|
51
|
-
styles: "font-size:12px;label:extrasmall
|
51
|
+
styles: "font-size:12px;label:extrasmall;",
|
52
52
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
53
53
|
},
|
54
54
|
bold: process.env.NODE_ENV === "production" ? {
|
@@ -56,7 +56,7 @@ const styles = exports.styles = {
|
|
56
56
|
styles: "font-weight:bold"
|
57
57
|
} : {
|
58
58
|
name: "138uarv-bold",
|
59
|
-
styles: "font-weight:bold;label:bold
|
59
|
+
styles: "font-weight:bold;label:bold;",
|
60
60
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
61
61
|
},
|
62
62
|
semiBold: process.env.NODE_ENV === "production" ? {
|
@@ -64,27 +64,27 @@ const styles = exports.styles = {
|
|
64
64
|
styles: "font-weight:600"
|
65
65
|
} : {
|
66
66
|
name: "1spfyku-semiBold",
|
67
|
-
styles: "font-weight:600;label:semiBold
|
67
|
+
styles: "font-weight:600;label:semiBold;",
|
68
68
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
69
69
|
},
|
70
|
-
size: size => /*#__PURE__*/(0, _react.css)("font-size:", size, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:size;")
|
70
|
+
size: size => /*#__PURE__*/(0, _react.css)("font-size:", size, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:size;")),
|
71
71
|
subtle: theme => /*#__PURE__*/(0, _react.css)({
|
72
72
|
color: theme.subtleText
|
73
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:subtle;"
|
73
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:subtle;"),
|
74
74
|
setColor: color => /*#__PURE__*/(0, _react.css)({
|
75
75
|
color: color
|
76
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:setColor;"
|
76
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:setColor;"),
|
77
77
|
italic: process.env.NODE_ENV === "production" ? {
|
78
78
|
name: "1jwcxx3",
|
79
79
|
styles: "font-style:italic"
|
80
80
|
} : {
|
81
81
|
name: "2acfoi-italic",
|
82
|
-
styles: "font-style:italic;label:italic
|
82
|
+
styles: "font-style:italic;label:italic;",
|
83
83
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
84
84
|
},
|
85
|
-
align: align => /*#__PURE__*/(0, _react.css)("text-align:", align, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:align;")
|
86
|
-
setWordBreak: value => value === 'break-word' ? _ref : /*#__PURE__*/(0, _react.css)("word-break:", value, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:setWordBreak;")
|
87
|
-
setWhiteSpace: value => /*#__PURE__*/(0, _react.css)("white-space:", value, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:setWhiteSpace;")
|
88
|
-
setLineClamp: lines => /*#__PURE__*/(0, _react.css)("display:-webkit-box;-webkit-line-clamp:", lines, ";-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;" + (process.env.NODE_ENV === "production" ? "" : ";label:setLineClamp;")
|
85
|
+
align: align => /*#__PURE__*/(0, _react.css)("text-align:", align, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:align;")),
|
86
|
+
setWordBreak: value => value === 'break-word' ? _ref : /*#__PURE__*/(0, _react.css)("word-break:", value, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:setWordBreak;")),
|
87
|
+
setWhiteSpace: value => /*#__PURE__*/(0, _react.css)("white-space:", value, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:setWhiteSpace;")),
|
88
|
+
setLineClamp: lines => /*#__PURE__*/(0, _react.css)("display:-webkit-box;-webkit-line-clamp:", lines, ";-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;" + (process.env.NODE_ENV === "production" ? "" : ";label:setLineClamp;"))
|
89
89
|
};
|
90
90
|
var _default = exports.default = styles;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
2
|
-
import React
|
3
|
-
interface IProps extends React.HTMLAttributes<HTMLTextAreaElement> {
|
2
|
+
import React from 'react';
|
3
|
+
interface IProps extends Omit<React.HTMLAttributes<HTMLTextAreaElement>, 'onChange'> {
|
4
4
|
/** Label of textarea */
|
5
5
|
label?: string;
|
6
6
|
/** Default value */
|
@@ -22,7 +22,7 @@ interface IProps extends React.HTMLAttributes<HTMLTextAreaElement> {
|
|
22
22
|
/** Disable textarea */
|
23
23
|
disabled?: boolean;
|
24
24
|
/** Callback fired on changes */
|
25
|
-
onChange?:
|
25
|
+
onChange?: (value: string) => void;
|
26
26
|
}
|
27
27
|
declare const Textarea: React.FC<IProps>;
|
28
28
|
export default Textarea;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Textarea/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Textarea/index.tsx"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,OAAO,KAA8B,MAAM,OAAO,CAAA;AAMlD,UAAU,MACR,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAE,UAAU,CAAC;IACnE,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,yCAAyC;IACzC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB;IAChB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uBAAuB;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAEnC;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA6D9B,CAAA;AAED,eAAe,QAAQ,CAAA"}
|
@@ -9,10 +9,10 @@ var _react = require("@emotion/react");
|
|
9
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
10
10
|
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)."; }
|
11
11
|
const styles = exports.styles = {
|
12
|
-
default: theme => /*#__PURE__*/(0, _react.css)("width:100%;padding:0.75em;border:1px solid #d7d7d7;border-radius:3px;font-size:16px;box-sizing:border-box;outline:0;min-height:50px;&:focus{border:2px solid ", theme.border, ";padding:calc(0.75em - 1px);}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;")
|
13
|
-
resize: resize => /*#__PURE__*/(0, _react.css)("resize:", resize, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:resize;")
|
14
|
-
maxHeight: value => /*#__PURE__*/(0, _react.css)("max-height:", value, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:maxHeight;")
|
15
|
-
disabled: theme => /*#__PURE__*/(0, _react.css)("cursor:'not-allowed';background-color:", theme.disabled, ";border-color:", theme.disabled, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:disabled;")
|
12
|
+
default: theme => /*#__PURE__*/(0, _react.css)("width:100%;padding:0.75em;border:1px solid #d7d7d7;border-radius:3px;font-size:16px;box-sizing:border-box;outline:0;min-height:50px;&:focus{border:2px solid ", theme.border, ";padding:calc(0.75em - 1px);}" + (process.env.NODE_ENV === "production" ? "" : ";label:default;")),
|
13
|
+
resize: resize => /*#__PURE__*/(0, _react.css)("resize:", resize, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:resize;")),
|
14
|
+
maxHeight: value => /*#__PURE__*/(0, _react.css)("max-height:", value, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:maxHeight;")),
|
15
|
+
disabled: theme => /*#__PURE__*/(0, _react.css)("cursor:'not-allowed';background-color:", theme.disabled, ";border-color:", theme.disabled, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:disabled;"))
|
16
16
|
};
|
17
17
|
const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
18
18
|
target: "eb6f8862"
|
@@ -24,7 +24,7 @@ const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)("div", process
|
|
24
24
|
styles: "display:grid;grid-row-gap:0.5em"
|
25
25
|
} : {
|
26
26
|
name: "1iq60ec",
|
27
|
-
styles: "display:grid;grid-row-gap:0.5em
|
27
|
+
styles: "display:grid;grid-row-gap:0.5em",
|
28
28
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
29
29
|
});
|
30
30
|
const Label = exports.Label = /*#__PURE__*/(0, _base.default)("label", process.env.NODE_ENV === "production" ? {
|
@@ -37,7 +37,7 @@ const Label = exports.Label = /*#__PURE__*/(0, _base.default)("label", process.e
|
|
37
37
|
styles: "font-size:16px;font-weight:600;height:20px;line-height:20px"
|
38
38
|
} : {
|
39
39
|
name: "tr7v0r",
|
40
|
-
styles: "font-size:16px;font-weight:600;height:20px;line-height:20px
|
40
|
+
styles: "font-size:16px;font-weight:600;height:20px;line-height:20px",
|
41
41
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
42
42
|
});
|
43
43
|
const ErrorMessage = exports.ErrorMessage = /*#__PURE__*/(0, _base.default)("span", process.env.NODE_ENV === "production" ? {
|
@@ -45,4 +45,4 @@ const ErrorMessage = exports.ErrorMessage = /*#__PURE__*/(0, _base.default)("spa
|
|
45
45
|
} : {
|
46
46
|
target: "eb6f8860",
|
47
47
|
label: "ErrorMessage"
|
48
|
-
})(props => /*#__PURE__*/(0, _react.css)("font-size:14px;padding-left:25px;margin-bottom:0;color:", props.theme.alert, ";position:relative;svg{position:absolute;left:3px;path{fill:", props.theme.alert, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:ErrorMessage;")
|
48
|
+
})(props => /*#__PURE__*/(0, _react.css)("font-size:14px;padding-left:25px;margin-bottom:0;color:", props.theme.alert, ";position:relative;svg{position:absolute;left:3px;path{fill:", props.theme.alert, ";}}" + (process.env.NODE_ENV === "production" ? "" : ";label:ErrorMessage;")));
|
@@ -13,7 +13,7 @@ const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)("div", process
|
|
13
13
|
} : {
|
14
14
|
target: "e1iuee1r2",
|
15
15
|
label: "Wrapper"
|
16
|
-
})(props => /*#__PURE__*/(0, _react.css)("display:grid;grid-template-columns:16px 1fr;grid-column-gap:1em;position:relative;&:after{content:'';position:absolute;width:2px;background-color:", props.theme.border, ";top:16px;bottom:-1.5em;left:calc((16px / 2) - 1px);}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;")
|
16
|
+
})(props => /*#__PURE__*/(0, _react.css)("display:grid;grid-template-columns:16px 1fr;grid-column-gap:1em;position:relative;&:after{content:'';position:absolute;width:2px;background-color:", props.theme.border, ";top:16px;bottom:-1.5em;left:calc((16px / 2) - 1px);}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;")));
|
17
17
|
const Circle = exports.Circle = /*#__PURE__*/(0, _base.default)("span", process.env.NODE_ENV === "production" ? {
|
18
18
|
target: "e1iuee1r1"
|
19
19
|
} : {
|
@@ -24,7 +24,7 @@ const Circle = exports.Circle = /*#__PURE__*/(0, _base.default)("span", process.
|
|
24
24
|
styles: "display:flex;justify-content:center;align-items:center;width:12px;height:12px;border-radius:50%;z-index:1"
|
25
25
|
} : {
|
26
26
|
name: "tpvfx3",
|
27
|
-
styles: "display:flex;justify-content:center;align-items:center;width:12px;height:12px;border-radius:50%;z-index:1
|
27
|
+
styles: "display:flex;justify-content:center;align-items:center;width:12px;height:12px;border-radius:50%;z-index:1",
|
28
28
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
29
29
|
});
|
30
30
|
const TextWrapper = exports.TextWrapper = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
@@ -37,11 +37,11 @@ const TextWrapper = exports.TextWrapper = /*#__PURE__*/(0, _base.default)("div",
|
|
37
37
|
styles: "display:grid;grid-row-gap:0.4em;word-break:break-word"
|
38
38
|
} : {
|
39
39
|
name: "1io3jmd",
|
40
|
-
styles: "display:grid;grid-row-gap:0.4em;word-break:break-word
|
40
|
+
styles: "display:grid;grid-row-gap:0.4em;word-break:break-word",
|
41
41
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
42
42
|
});
|
43
43
|
const styles = exports.styles = {
|
44
|
-
defaultCircle: theme => /*#__PURE__*/(0, _react.css)("border:2px solid ", theme.border, ";background-color:transparent;" + (process.env.NODE_ENV === "production" ? "" : ";label:defaultCircle;")
|
45
|
-
active: theme => /*#__PURE__*/(0, _react.css)("border:2px solid ", theme.primary, ";background-color:", theme.primary, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:active;")
|
46
|
-
complete: theme => /*#__PURE__*/(0, _react.css)("border:2px solid ", theme.border, ";background-color:", theme.border, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:complete;")
|
44
|
+
defaultCircle: theme => /*#__PURE__*/(0, _react.css)("border:2px solid ", theme.border, ";background-color:transparent;" + (process.env.NODE_ENV === "production" ? "" : ";label:defaultCircle;")),
|
45
|
+
active: theme => /*#__PURE__*/(0, _react.css)("border:2px solid ", theme.primary, ";background-color:", theme.primary, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:active;")),
|
46
|
+
complete: theme => /*#__PURE__*/(0, _react.css)("border:2px solid ", theme.border, ";background-color:", theme.border, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:complete;"))
|
47
47
|
};
|
@@ -17,6 +17,6 @@ const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)("div", process
|
|
17
17
|
styles: "display:grid;grid-row-gap:1.5em;&>div:last-of-type::after{display:none;width:5px;}"
|
18
18
|
} : {
|
19
19
|
name: "k7tw9m",
|
20
|
-
styles: "display:grid;grid-row-gap:1.5em;&>div:last-of-type::after{display:none;width:5px;}
|
20
|
+
styles: "display:grid;grid-row-gap:1.5em;&>div:last-of-type::after{display:none;width:5px;}",
|
21
21
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
22
22
|
});
|