@sk-web-gui/core 0.1.33 → 0.1.34

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.
@@ -1,40 +1,37 @@
1
1
  function fieldOutline(colors) {
2
2
  return {
3
- "&-outline": {
4
- "@apply border shadow-sm border-gray-stroke": {},
5
- "@apply text-gray bg-white": {},
3
+ '&-outline': {
4
+ '@apply border shadow-sm border-gray-stroke': {},
5
+ '@apply text-gray bg-white': {},
6
6
  //"@apply hover:border-neutral-300": {},
7
7
 
8
- "&[aria-invalid=true]": {
9
- "--tw-border-opacity": "1",
10
- borderColor: "rgba(220, 38, 38, var(--tw-border-opacity))",
11
- "--tw-ring-offset-shadow":
12
- "var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)",
13
- "--tw-ring-shadow":
14
- "var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)",
15
- boxShadow:
16
- "var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)",
17
- "--tw-ring-opacity": "1",
18
- "--tw-ring-color": "rgba(220, 38, 38, var(--tw-ring-opacity))",
8
+ '&[aria-invalid=true]': {
9
+ '--tw-border-opacity': '1',
10
+ borderColor: 'rgba(220, 38, 38, var(--tw-border-opacity))',
11
+ '--tw-ring-offset-shadow': 'var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)',
12
+ '--tw-ring-shadow': 'var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)',
13
+ boxShadow: 'var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)',
14
+ '--tw-ring-opacity': '1',
15
+ '--tw-ring-color': 'rgba(220, 38, 38, var(--tw-ring-opacity))',
19
16
  },
20
- "focus-visible:ring-4": {},
17
+ 'focus-visible:ring-4': {},
21
18
  /* dark mode */
22
- "@apply dark:border-neutral-700": {},
23
- "@apply dark:text-neutral-100 dark:bg-base": {},
24
- "@apply dark:hover:border-neutral-600": {},
25
-
26
- ".dark &[aria-invalid=true]": {
27
- "--tw-border-opacity": "1",
28
- borderColor: "rgba(248, 113, 113, var(--tw-border-opacity))",
29
- "--tw-ring-opacity": "1",
30
- "--tw-ring-color": "rgba(248, 113, 113, var(--tw-ring-opacity))",
19
+ '@apply dark:border-neutral-700': {},
20
+ '@apply dark:text-neutral-100 dark:bg-base': {},
21
+ '@apply dark:hover:border-neutral-600': {},
22
+
23
+ '.dark &[aria-invalid=true]': {
24
+ '--tw-border-opacity': '1',
25
+ borderColor: 'rgba(248, 113, 113, var(--tw-border-opacity))',
26
+ '--tw-ring-opacity': '1',
27
+ '--tw-ring-color': 'rgba(248, 113, 113, var(--tw-ring-opacity))',
31
28
  },
32
- "@media (prefers-color-scheme: dark)": {
33
- "&[aria-invalid=true]": {
34
- "--tw-border-opacity": "1",
35
- borderColor: "rgba(248, 113, 113, var(--tw-border-opacity))",
36
- "--tw-ring-opacity": "1",
37
- "--tw-ring-color": "rgba(248, 113, 113, var(--tw-ring-opacity))",
29
+ '@media (prefers-color-scheme: dark)': {
30
+ '&[aria-invalid=true]': {
31
+ '--tw-border-opacity': '1',
32
+ borderColor: 'rgba(248, 113, 113, var(--tw-border-opacity))',
33
+ '--tw-ring-opacity': '1',
34
+ '--tw-ring-color': 'rgba(248, 113, 113, var(--tw-ring-opacity))',
38
35
  },
39
36
  },
40
37
 
@@ -54,39 +51,36 @@ function fieldOutline(colors) {
54
51
 
55
52
  function fieldSolid(colors) {
56
53
  return {
57
- "&-solid": {
58
- "@apply border border-transparent": {},
59
- "@apply text-black bg-gray-light": {},
54
+ '&-solid': {
55
+ '@apply border border-transparent': {},
56
+ '@apply text-black bg-gray-light': {},
60
57
  //"@apply hover:bg-gray-200": {},
61
58
 
62
- "&[aria-invalid=true]": {
63
- "--tw-border-opacity": "1",
64
- borderColor: "rgba(220, 38, 38, var(--tw-border-opacity))",
65
- "--tw-ring-offset-shadow":
66
- "var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)",
67
- "--tw-ring-shadow":
68
- "var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)",
69
- boxShadow:
70
- "var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)",
71
- "--tw-ring-opacity": "1",
72
- "--tw-ring-color": "rgba(220, 38, 38, var(--tw-ring-opacity))",
59
+ '&[aria-invalid=true]': {
60
+ '--tw-border-opacity': '1',
61
+ borderColor: 'rgba(220, 38, 38, var(--tw-border-opacity))',
62
+ '--tw-ring-offset-shadow': 'var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)',
63
+ '--tw-ring-shadow': 'var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)',
64
+ boxShadow: 'var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)',
65
+ '--tw-ring-opacity': '1',
66
+ '--tw-ring-color': 'rgba(220, 38, 38, var(--tw-ring-opacity))',
73
67
  },
74
- "focus-visible:ring-4": {},
68
+ 'focus-visible:ring-4': {},
75
69
  /* dark mode */
76
- "@apply dark:text-neutral-100 dark:bg-white/50": {},
77
- "@apply dark:hover:bg-white/100": {},
78
- ".dark &[aria-invalid=true]": {
79
- "--tw-border-opacity": "1",
80
- borderColor: "rgba(248, 113, 113, var(--tw-border-opacity))",
81
- "--tw-ring-opacity": "1",
82
- "--tw-ring-color": "rgba(248, 113, 113, var(--tw-ring-opacity))",
70
+ '@apply dark:text-neutral-100 dark:bg-white/50': {},
71
+ '@apply dark:hover:bg-white/100': {},
72
+ '.dark &[aria-invalid=true]': {
73
+ '--tw-border-opacity': '1',
74
+ borderColor: 'rgba(248, 113, 113, var(--tw-border-opacity))',
75
+ '--tw-ring-opacity': '1',
76
+ '--tw-ring-color': 'rgba(248, 113, 113, var(--tw-ring-opacity))',
83
77
  },
84
- "@media (prefers-color-scheme: dark)": {
85
- "&[aria-invalid=true]": {
86
- "--tw-border-opacity": "1",
87
- borderColor: "rgba(248, 113, 113, var(--tw-border-opacity))",
88
- "--tw-ring-opacity": "1",
89
- "--tw-ring-color": "rgba(248, 113, 113, var(--tw-ring-opacity))",
78
+ '@media (prefers-color-scheme: dark)': {
79
+ '&[aria-invalid=true]': {
80
+ '--tw-border-opacity': '1',
81
+ borderColor: 'rgba(248, 113, 113, var(--tw-border-opacity))',
82
+ '--tw-ring-opacity': '1',
83
+ '--tw-ring-color': 'rgba(248, 113, 113, var(--tw-ring-opacity))',
90
84
  },
91
85
  },
92
86
 
@@ -106,122 +100,120 @@ function fieldSolid(colors) {
106
100
 
107
101
  function formControl() {
108
102
  return {
109
- ".form-control": {
110
- "@apply w-full relative": {},
103
+ '.form-control': {
104
+ '@apply w-full relative': {},
111
105
  },
112
- ".form-helper-text": {
113
- "@apply mt-1.5 leading-none text-gray dark:text-white/60": {},
106
+ '.form-helper-text': {
107
+ '@apply mt-1.5 leading-none text-gray dark:text-white/60': {},
114
108
  },
115
- ".form-error-message": {
116
- "@apply mt-1.5 leading-none flex items-center text-sm": {},
117
- "--tw-text-opacity": "1",
118
- color: "rgba(239, 68, 68, var(--tw-text-opacity))",
119
- ".dark &": {
120
- "--tw-text-opacity": "1",
121
- color: "rgba(252, 165, 165, var(--tw-text-opacity))",
122
- }
109
+ '.form-error-message': {
110
+ '@apply mt-1.5 leading-none flex items-center text-sm': {},
111
+ '--tw-text-opacity': '1',
112
+ color: 'rgba(239, 68, 68, var(--tw-text-opacity))',
113
+ '.dark &': {
114
+ '--tw-text-opacity': '1',
115
+ color: 'rgba(252, 165, 165, var(--tw-text-opacity))',
116
+ },
123
117
  },
124
- ".form-label": {
125
- "@apply text-sm font-medium text-left align-middle block mb-1.5": {},
118
+ '.form-label': {
119
+ '@apply text-sm font-medium text-left align-middle block mb-1.5': {},
126
120
 
127
- "&-disabled": {
121
+ '&-disabled': {
128
122
  //"@apply opacity-60": {},
129
123
  },
130
124
  },
131
- ".form-required-indicator": {
132
- "@apply ml-1 text-sm": {},
133
- "--tw-text-opacity": "1",
134
- color: "rgba(239, 68, 68, var(--tw-text-opacity))",
135
- ".dark &": {
136
- "--tw-text-opacity": "1",
137
- color: "rgba(252, 165, 165, var(--tw-text-opacity))",
138
- }
139
- }
125
+ '.form-required-indicator': {
126
+ '@apply ml-1 text-sm': {},
127
+ '--tw-text-opacity': '1',
128
+ color: 'rgba(239, 68, 68, var(--tw-text-opacity))',
129
+ '.dark &': {
130
+ '--tw-text-opacity': '1',
131
+ color: 'rgba(252, 165, 165, var(--tw-text-opacity))',
132
+ },
133
+ },
140
134
  };
141
135
  }
142
136
 
143
137
  function formInputGroup() {
144
138
  return {
145
- ".form-input-group": {
146
- "@apply flex relative": {},
139
+ '.form-input-group': {
140
+ '@apply flex relative': {},
147
141
  },
148
142
 
149
- ".form-input-element": {
150
- "@apply flex items-center justify-center absolute z-base top-0": {},
143
+ '.form-input-element': {
144
+ '@apply flex items-center justify-center absolute z-base top-0': {},
151
145
 
152
- "&-sm": {
153
- "@apply text-xs h-7 w-7": {},
146
+ '&-sm': {
147
+ '@apply text-xs h-7 w-7': {},
154
148
  },
155
149
 
156
- "&-md": {
157
- "@apply text-sm h-8 w-8": {},
150
+ '&-md': {
151
+ '@apply text-sm h-8 w-8': {},
158
152
  },
159
153
 
160
- "&-lg": {
161
- "@apply text-base h-10 w-10": {},
154
+ '&-lg': {
155
+ '@apply text-base h-10 w-10': {},
162
156
  },
163
-
164
157
  },
165
158
 
166
- ".form-input-addon": {
167
- "@apply flex items-center w-auto rounded-base shadow-sm whitespace-nowrap": {},
168
- "@apply border border-neutral-300": {},
169
- "@apply text-neutral-600 bg-neutral-50": {},
159
+ '.form-input-addon': {
160
+ '@apply flex items-center w-auto rounded-base shadow-sm whitespace-nowrap': {},
161
+ '@apply border border-neutral-300': {},
162
+ '@apply text-neutral-600 bg-neutral-50': {},
170
163
  // dark colors
171
- "@apply dark:border-neutral-700": {},
172
- "@apply dark:text-neutral-100 dark:bg-white/30": {},
164
+ '@apply dark:border-neutral-700': {},
165
+ '@apply dark:text-neutral-100 dark:bg-white/30': {},
173
166
 
174
- "&-sm": {
175
- "@apply px-3 text-xs": {},
167
+ '&-sm': {
168
+ '@apply px-3 text-xs': {},
176
169
  },
177
170
 
178
- "&-md": {
179
- "@apply px-4 text-sm": {},
171
+ '&-md': {
172
+ '@apply px-4 text-sm': {},
180
173
  },
181
174
 
182
- "&-lg": {
183
- "@apply px-4 text-base": {},
175
+ '&-lg': {
176
+ '@apply px-4 text-base': {},
184
177
  },
185
178
 
186
- "&-left": {
187
- "@apply -mr-1 rounded-r-none": {},
179
+ '&-left': {
180
+ '@apply -mr-1 rounded-r-none': {},
188
181
  },
189
182
 
190
- "&-right": {
191
- "@apply -ml-1 rounded-l-none": {},
183
+ '&-right': {
184
+ '@apply -ml-1 rounded-l-none': {},
192
185
  },
193
186
  },
194
187
  };
195
188
  }
196
189
 
197
190
  module.exports = Forms = (colors) => ({
198
- ".form-field": {
199
- "@apply placeholder-gray-stroke": {},
200
- "@apply relative w-full min-w-0 inline-flex items-center appearance-none focus-visible:outline-none": {},
201
- "@apply transition-colors duration-75 ease-out": {},
202
-
203
- "&-sm": {
204
- "@apply text-sm leading-sm": {},
205
- borderRadius: "0.2rem",
206
- padding: "1.08rem 1.44rem",
191
+ '.form-field': {
192
+ '@apply placeholder-gray-stroke': {},
193
+ '@apply relative w-full min-w-0 inline-flex items-center appearance-none focus-visible:outline-none': {},
194
+ '@apply transition-colors duration-75 ease-out': {},
195
+
196
+ '&-sm': {
197
+ '@apply text-sm leading-sm': {},
198
+ borderRadius: '0.2rem',
199
+ padding: '1.08rem 1.44rem',
207
200
  },
208
201
 
209
- "&-md": {
210
- "@apply text-base leading-base": {},
211
- borderRadius: "0.2rem",
212
- padding: "1.2rem 1.6rem",
202
+ '&-md': {
203
+ '@apply text-base leading-base': {},
204
+ borderRadius: '0.2rem',
205
+ padding: '1.2rem 1.6rem',
213
206
  },
214
207
 
215
- "&-lg": {
216
- "@apply text-lg leading-lg": {},
217
- borderRadius: "0.2rem",
218
- padding: "1.32rem 1.76rem",
208
+ '&-lg': {
209
+ '@apply text-lg leading-lg': {},
210
+ borderRadius: '0.2rem',
211
+ padding: '1.32rem 1.76rem',
219
212
  },
220
213
 
221
-
222
- "&-disabled": {
223
- "@apply disabled:cursor-not-allowed": {},
224
- "@apply disabled:bg-gray-lighter": {},
214
+ '&-disabled': {
215
+ '@apply disabled:cursor-not-allowed': {},
216
+ '@apply disabled:bg-gray-lighter': {},
225
217
  //"@apply disabled:shadow-none disabled:cursor-not-allowed disabled:opacity-60": {},
226
218
  //"@apply disabled:border-neutral-200 disabled:bg-neutral-200": {},
227
219
  //"@apply dark:disabled:border-transparent dark:disabled:bg-white/20": {},
@@ -232,30 +224,31 @@ module.exports = Forms = (colors) => ({
232
224
  ...fieldSolid(colors),
233
225
  },
234
226
 
235
- ".form-textarea": {
227
+ '.form-textarea': {
236
228
  //"@apply leading-tight": {},
237
- minHeight: "5rem",
229
+ minHeight: '5rem',
238
230
 
239
- "&-counter": {
240
- "@apply mt-xs text-right": {},
231
+ '&-counter': {
232
+ '@apply mt-xs text-right': {},
241
233
  },
242
234
  },
243
235
 
244
- ".form-select": {
245
- "@apply min-h-[50px] text-body bg-white caret-transparent select-none cursor-pointer border-gray-stroke":{},
246
- "background-image": "none",
236
+ '.form-select': {
237
+ '@apply min-h-[50px] text-body bg-white caret-transparent select-none cursor-pointer border-gray-stroke': {},
238
+ 'background-image': 'none',
247
239
 
248
- "&-list": {
249
- "@apply z-10 absolute w-full bg-white mt-0 border border-gray-stroke border-t-0": {},
240
+ '&-list': {
241
+ '@apply z-10 absolute w-full bg-white mt-0 border border-gray-stroke border-t-0': {},
250
242
  },
251
243
 
252
- "&-option": {
253
- "@apply rounded-none cursor-default hover:text-white focus-visible:text-white hover:bg-primary focus-visible:bg-primary": {},
254
-
255
- "&.active": {
256
- "@apply bg-primary text-white": {},
257
- }
258
- }
244
+ '&-option': {
245
+ '@apply rounded-none cursor-default hover:text-white focus-visible:text-white hover:bg-primary focus-visible:bg-primary':
246
+ {},
247
+
248
+ '&.active': {
249
+ '@apply bg-primary text-white': {},
250
+ },
251
+ },
259
252
  },
260
253
 
261
254
  ...formInputGroup(),
@@ -1,37 +1,35 @@
1
1
  module.exports = Header = (colors) => ({
2
- ".header": {
3
- "@apply lg:border-t-8 lg:border-primary lg:static lg:w-auto lg:h-auto lg:min-h-0": {},
4
-
5
- ...colors.reduce(
6
- (styles, color) => ({
7
- ...styles,
8
- [`&[data-color="${color}"]`]: {
9
- [`@apply border-${color}`]: {},
10
- },
11
- }),
12
- {}
13
- ),
14
-
15
- [`&[data-color="none"]`]: {
16
- [`@apply border-none`]: {},
17
- },
18
-
19
- "&-container": {
20
- "@apply flex lg:h-[112px] shadow-lg relative mx-auto px-7 pt-[22px] pb-[8px] z-10": {},
21
- },
22
-
23
- "&-content": {
24
- "@apply flex items-center w-full justify-between m-auto flex-shrink-0 text-body max-w-[140rem]": {},
2
+ '.header': {
3
+ '@apply lg:border-t-8 lg:border-primary lg:static lg:w-auto lg:h-auto lg:min-h-0': {},
4
+
5
+ ...colors.reduce(
6
+ (styles, color) => ({
7
+ ...styles,
8
+ [`&[data-color="${color}"]`]: {
9
+ [`@apply border-${color}`]: {},
25
10
  },
26
-
27
- "&-usermenu": {
28
- "@apply lg:-mr-lg block flex-shrink lg:flex lg:items-center lg:w-auto": {},
29
-
30
- "&-content": {
31
- "@apply flex flex-grow lg:flex justify-end items-center lg:w-auto": {},
32
- },
33
- },
34
-
35
- }
36
-
37
- });
11
+ }),
12
+ {}
13
+ ),
14
+
15
+ [`&[data-color="none"]`]: {
16
+ [`@apply border-none`]: {},
17
+ },
18
+
19
+ '&-container': {
20
+ '@apply flex lg:h-[112px] shadow-lg relative mx-auto px-7 pt-[22px] pb-[8px] z-10': {},
21
+ },
22
+
23
+ '&-content': {
24
+ '@apply flex items-center w-full justify-between m-auto flex-shrink-0 text-body max-w-[140rem]': {},
25
+ },
26
+
27
+ '&-usermenu': {
28
+ '@apply lg:-mr-lg block flex-shrink lg:flex lg:items-center lg:w-auto': {},
29
+
30
+ '&-content': {
31
+ '@apply flex flex-grow lg:flex justify-end items-center lg:w-auto': {},
32
+ },
33
+ },
34
+ },
35
+ });
@@ -1,5 +1,5 @@
1
1
  module.exports = IconButton = () => ({
2
- ".btn-icon": {
3
- "@apply p-0": {},
2
+ '.btn-icon': {
3
+ '@apply p-0': {},
4
4
  },
5
5
  });
@@ -1,9 +1,9 @@
1
1
  module.exports = Icon = () => ({
2
- ".icon-inline": {
3
- "@apply inline-block align-middle": {},
2
+ '.icon-inline': {
3
+ '@apply inline-block align-middle': {},
4
4
  },
5
5
 
6
- ".icon-block": {
7
- "@apply block": {},
6
+ '.icon-block': {
7
+ '@apply block': {},
8
8
  },
9
9
  });
@@ -1,9 +1,9 @@
1
1
  module.exports = Kbd = () => ({
2
- ".kbd": {
3
- "@apply inline-flex justify-center items-center capitalize text-xs p-1 rounded h-5 whitespace-nowrap font-sans": {},
4
- "minWidth": "1.25rem",
5
- "@apply bg-blackAlpha-100 text-body": {},
2
+ '.kbd': {
3
+ '@apply inline-flex justify-center items-center capitalize text-xs p-1 rounded h-5 whitespace-nowrap font-sans': {},
4
+ minWidth: '1.25rem',
5
+ '@apply bg-blackAlpha-100 text-body': {},
6
6
  // dark
7
- "@apply dark:bg-white/30 dark:text-neutral-300": {},
7
+ '@apply dark:bg-white/30 dark:text-neutral-300': {},
8
8
  },
9
9
  });
@@ -1,20 +1,20 @@
1
1
  module.exports = Link = () => ({
2
- ".link": {
3
- "@apply cursor-base underline outline-none hover:underline": {},
4
- "@apply text-primary dark:text-primary": {},
5
- "@apply focus-visible:ring-4 focus-visible:ring-primary": {},
2
+ '.link': {
3
+ '@apply cursor-base underline outline-none hover:underline': {},
4
+ '@apply text-primary dark:text-primary': {},
5
+ '@apply focus-visible:ring-4 focus-visible:ring-primary': {},
6
6
 
7
- "@apply hover:text-primary-active": {},
7
+ '@apply hover:text-primary-active': {},
8
8
 
9
- "&-external-icon": {
10
- fontSize: "0.875em !important",
11
- lineHeight: "1",
12
- marginLeft: ".25em",
13
- verticalAlign: "text-top",
9
+ '&-external-icon': {
10
+ fontSize: '0.875em !important',
11
+ lineHeight: '1',
12
+ marginLeft: '.25em',
13
+ verticalAlign: 'text-top',
14
14
  },
15
15
 
16
- "&-disabled": {
17
- "@apply disabled:opacity-60 disabled:cursor-not-allowed disabled:no-underline": {},
16
+ '&-disabled': {
17
+ '@apply disabled:opacity-60 disabled:cursor-not-allowed disabled:no-underline': {},
18
18
  },
19
19
  },
20
20
  });
@@ -1,62 +1,62 @@
1
1
  module.exports = Message = () => ({
2
- ".message": {
3
- "@apply max-w-2xl flex items-center font-bold text-sm sm:text-base px-6 py-6 m-2 shadow-lg w-max break-words": {},
4
- "@apply text-body bg-white border-l-4": {},
2
+ '.message': {
3
+ '@apply max-w-2xl flex items-center font-bold text-sm sm:text-base px-6 py-6 m-2 shadow-lg w-max break-words': {},
4
+ '@apply text-body bg-white border-l-4': {},
5
5
  // dark
6
- "@apply dark:text-neutral-100 dark:bg-neutral-700 dark:border-neutral-600": {},
6
+ '@apply dark:text-neutral-100 dark:bg-neutral-700 dark:border-neutral-600': {},
7
7
 
8
- "&-text": {
9
- "@apply text-left flex-grow": {},
8
+ '&-text': {
9
+ '@apply text-left flex-grow': {},
10
10
  },
11
11
 
12
- "&-info": {
13
- "@apply border-info": {},
12
+ '&-info': {
13
+ '@apply border-info': {},
14
14
 
15
- ".message-icon": {
16
- "@apply text-info": {},
15
+ '.message-icon': {
16
+ '@apply text-info': {},
17
17
  },
18
-
19
18
  },
20
- "&-success": {
21
- "@apply border-success": {},
19
+ '&-success': {
20
+ '@apply border-success': {},
22
21
 
23
- ".message-icon": {
24
- "@apply text-success": {},
22
+ '.message-icon': {
23
+ '@apply text-success': {},
25
24
  },
26
25
  },
27
- "&-error": {
28
- "@apply border-error": {},
26
+ '&-error': {
27
+ '@apply border-error': {},
29
28
 
30
- ".message-icon": {
31
- "@apply text-error": {},
29
+ '.message-icon': {
30
+ '@apply text-error': {},
32
31
  },
33
32
  },
34
- "&-warning": {
35
- "@apply border-warning": {},
33
+ '&-warning': {
34
+ '@apply border-warning': {},
36
35
 
37
- ".message-icon": {
38
- "@apply text-warning": {},
36
+ '.message-icon': {
37
+ '@apply text-warning': {},
39
38
  },
40
39
  },
41
40
  },
42
41
 
43
- ".message-icon": {
44
- "@apply mr-4 flex-shrink-0 w-10 h-10": {},
42
+ '.message-icon': {
43
+ '@apply mr-4 flex-shrink-0 w-10 h-10': {},
45
44
  },
46
45
 
47
- ".message-close-button": {
48
- "@apply text-body border-transparent flex items-center justify-center transition-all duration-150 rounded-full outline-none cursor-base": {},
49
- fontSize: "1.2em",
50
- padding: "0.36em",
51
- marginLeft: "0.25em",
52
- marginRight: "-0.55em",
46
+ '.message-close-button': {
47
+ '@apply text-body border-transparent flex items-center justify-center transition-all duration-150 rounded-full outline-none cursor-base':
48
+ {},
49
+ fontSize: '1.2em',
50
+ padding: '0.36em',
51
+ marginLeft: '0.25em',
52
+ marginRight: '-0.55em',
53
53
 
54
- "&-icon": {
55
- "@apply !text-xl": {},
54
+ '&-icon': {
55
+ '@apply !text-xl': {},
56
56
  },
57
57
 
58
- "&-disabled": {
59
- "@apply disabled:opacity-40 disabled:cursor-not-allowed disabled:shadow-none": {},
58
+ '&-disabled': {
59
+ '@apply disabled:opacity-40 disabled:cursor-not-allowed disabled:shadow-none': {},
60
60
  },
61
61
  },
62
62
  });