@e1011/es-kit 1.1.26 → 1.1.28
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/hooks/esm/index.css +258 -253
- package/dist/hooks/index.css +258 -253
- package/dist/lib/cjs/index.css +5 -0
- package/dist/lib/cjs/src/core/ui/components/atoms/icons.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Headline.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Link.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/text/Text.js.map +1 -1
- package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/TextAndContent.js +2 -0
- package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -0
- package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js +2 -0
- package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js.map +1 -0
- package/dist/lib/cjs/src/core/ui/components/error/propsValidationError.js +2 -0
- package/dist/lib/cjs/src/core/ui/components/error/propsValidationError.js.map +1 -0
- package/dist/lib/cjs/src/index.js +1 -1
- package/dist/lib/esm/index.css +5 -0
- package/dist/lib/esm/src/core/ui/components/atoms/icons.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Headline.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Link.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/text/Text.js.map +1 -1
- package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js +2 -0
- package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -0
- package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js +2 -0
- package/dist/lib/esm/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js.map +1 -0
- package/dist/lib/esm/src/core/ui/components/error/propsValidationError.js +2 -0
- package/dist/lib/esm/src/core/ui/components/error/propsValidationError.js.map +1 -0
- package/dist/lib/esm/src/index.js +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/core/ui/components/atoms/button/button.stories.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/button/button.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/icons.d.ts +5 -0
- package/dist/types/src/core/ui/components/atoms/icons.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/index.d.ts +1 -0
- package/dist/types/src/core/ui/components/atoms/index.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/tag/Tag.d.ts +38 -0
- package/dist/types/src/core/ui/components/atoms/tag/Tag.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/atoms/tag/Tag.test.d.ts +5 -0
- package/dist/types/src/core/ui/components/atoms/tag/Tag.test.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/atoms/tag/tag.stories.d.ts +6 -0
- package/dist/types/src/core/ui/components/atoms/tag/tag.stories.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/atoms/text/Headline.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/text/Headline.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/text/Link.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/text/Link.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/text/Paragraph.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/text/Paragraph.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/text/Text.d.ts +2 -15
- package/dist/types/src/core/ui/components/atoms/text/Text.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.stories.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.types.d.ts +1 -1
- package/dist/types/src/core/ui/components/atoms/text/anchor-link/anchorLink.types.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/text/text.types.d.ts +16 -0
- package/dist/types/src/core/ui/components/atoms/text/text.types.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/atoms/textAndContent/TextAndContent.d.ts +17 -0
- package/dist/types/src/core/ui/components/atoms/textAndContent/TextAndContent.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/atoms/textAndContent/index.d.ts +3 -0
- package/dist/types/src/core/ui/components/atoms/textAndContent/index.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.stories.d.ts +8 -0
- package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.stories.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.test.d.ts +5 -0
- package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.test.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.types.d.ts +24 -0
- package/dist/types/src/core/ui/components/atoms/textAndContent/textAndContent.types.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/error/errorBoundary.stories.d.ts +3 -3
- package/dist/types/src/core/ui/components/error/errorBoundary.stories.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/error/propsValidationError.d.ts +4 -0
- package/dist/types/src/core/ui/components/error/propsValidationError.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/molecules/popup/popup.stories.d.ts +2 -2
- package/dist/types/src/core/ui/components/molecules/popup/popup.stories.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.stories.d.ts +1 -1
- package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.stories.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/store/store.stories.d.ts +1 -1
- package/dist/types/src/core/utils/appState/store/store.stories.d.ts.map +1 -1
- package/dist/ui/esm/index.css +5 -0
- package/dist/ui/esm/src/core/ui/components/atoms/icons.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Headline.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Link.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/text/Text.js.map +1 -1
- package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js +2 -0
- package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -0
- package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js +2 -0
- package/dist/ui/esm/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js.map +1 -0
- package/dist/ui/esm/src/core/ui/components/error/propsValidationError.js +2 -0
- package/dist/ui/esm/src/core/ui/components/error/propsValidationError.js.map +1 -0
- package/dist/ui/esm/src/core/ui/index.js +1 -1
- package/dist/ui/index.css +5 -0
- package/dist/ui/src/core/ui/components/atoms/icons.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Headline.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Link.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Paragraph.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/text/Text.js.map +1 -1
- package/dist/ui/src/core/ui/components/atoms/textAndContent/TextAndContent.js +2 -0
- package/dist/ui/src/core/ui/components/atoms/textAndContent/TextAndContent.js.map +1 -0
- package/dist/ui/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js +2 -0
- package/dist/ui/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js.map +1 -0
- package/dist/ui/src/core/ui/components/error/propsValidationError.js +2 -0
- package/dist/ui/src/core/ui/components/error/propsValidationError.js.map +1 -0
- package/dist/ui/src/core/ui/index.js +1 -1
- package/dist/utils/esm/index.css +258 -253
- package/dist/utils/index.css +258 -253
- package/package.json +19 -11
package/dist/hooks/index.css
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
.icon-module_icon-base-parent__nOMvW {
|
|
2
|
+
line-height: 1px !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.icon-module_icon-base__S0tHf {
|
|
6
|
+
min-width: var(--min-width);
|
|
7
|
+
min-height: var(--min-height);
|
|
8
|
+
width: var(--width) !important;
|
|
9
|
+
height: var(--height) !important;
|
|
10
|
+
line-height: 1px !important;
|
|
11
|
+
background-color: var(--icon-color);
|
|
12
|
+
color: var(--icon-content-color);
|
|
13
|
+
background-repeat: no-repeat;
|
|
14
|
+
mask-image: var(--icon-url);
|
|
15
|
+
-webkit-mask-image: var(--icon-url);
|
|
16
|
+
mask-repeat: no-repeat;
|
|
17
|
+
-webkit-mask-repeat: no-repeat;
|
|
18
|
+
mask-size: contain;
|
|
19
|
+
-webkit-mask-size: contain;
|
|
20
|
+
mask-position: center;
|
|
21
|
+
-webkit-mask-position: center;
|
|
22
|
+
display: inline-block;
|
|
23
|
+
will-change: transform;
|
|
24
|
+
transform: translate3d(0, 0, 0);
|
|
25
|
+
}
|
|
26
|
+
.icon-module_icon-base__S0tHf svg {
|
|
27
|
+
fill: var(--icon-content-color);
|
|
28
|
+
width: var(--height);
|
|
29
|
+
height: var(--width);
|
|
30
|
+
}
|
|
1
31
|
.divider-module_divider-line__6CesR {
|
|
2
32
|
position: relative;
|
|
3
33
|
display: block;
|
|
@@ -26,35 +56,38 @@
|
|
|
26
56
|
.errorBoundary-module_StyledIcon__IYHiU {
|
|
27
57
|
margin-right: 10px;
|
|
28
58
|
}
|
|
29
|
-
.
|
|
30
|
-
|
|
59
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm {
|
|
60
|
+
transform-origin: 0% 0%;
|
|
61
|
+
opacity: 0;
|
|
62
|
+
overflow: clip;
|
|
31
63
|
}
|
|
32
|
-
|
|
33
|
-
.
|
|
34
|
-
|
|
35
|
-
min-height: var(--min-height);
|
|
36
|
-
width: var(--width) !important;
|
|
37
|
-
height: var(--height) !important;
|
|
38
|
-
line-height: 1px !important;
|
|
39
|
-
background-color: var(--icon-color);
|
|
40
|
-
color: var(--icon-content-color);
|
|
41
|
-
background-repeat: no-repeat;
|
|
42
|
-
mask-image: var(--icon-url);
|
|
43
|
-
-webkit-mask-image: var(--icon-url);
|
|
44
|
-
mask-repeat: no-repeat;
|
|
45
|
-
-webkit-mask-repeat: no-repeat;
|
|
46
|
-
mask-size: contain;
|
|
47
|
-
-webkit-mask-size: contain;
|
|
48
|
-
mask-position: center;
|
|
49
|
-
-webkit-mask-position: center;
|
|
50
|
-
display: inline-block;
|
|
51
|
-
will-change: transform;
|
|
52
|
-
transform: translate3d(0, 0, 0);
|
|
64
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN {
|
|
65
|
+
transition: opacity 0.2s ease-in-out, height 0.2s ease-in-out, max-height 0.2s ease-in-out;
|
|
66
|
+
will-change: opacity, height, max-height;
|
|
53
67
|
}
|
|
54
|
-
.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
68
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
69
|
+
height: 0;
|
|
70
|
+
max-height: 0;
|
|
71
|
+
opacity: 0;
|
|
72
|
+
}
|
|
73
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_vertical__w7MVN.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
74
|
+
height: var(--prop-value);
|
|
75
|
+
max-height: var(--prop-value);
|
|
76
|
+
opacity: 1;
|
|
77
|
+
}
|
|
78
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI- {
|
|
79
|
+
transition: opacity 0.2s ease-in-out, width 0.2s ease-in-out, max-width 0.2s ease-in-out;
|
|
80
|
+
will-change: opacity, width, max-width;
|
|
81
|
+
}
|
|
82
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
83
|
+
width: 0;
|
|
84
|
+
max-width: 0;
|
|
85
|
+
opacity: 0;
|
|
86
|
+
}
|
|
87
|
+
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
88
|
+
width: var(--prop-value);
|
|
89
|
+
max-width: var(--prop-value);
|
|
90
|
+
opacity: 1;
|
|
58
91
|
}
|
|
59
92
|
.field-module_field__UfKm3 {
|
|
60
93
|
opacity: 1;
|
|
@@ -130,38 +163,29 @@
|
|
|
130
163
|
.field-module_field__UfKm3 label {
|
|
131
164
|
text-align: left;
|
|
132
165
|
}
|
|
133
|
-
.
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_collapsed__q8fs8 {
|
|
157
|
-
width: 0;
|
|
158
|
-
max-width: 0;
|
|
159
|
-
opacity: 0;
|
|
160
|
-
}
|
|
161
|
-
.CollapsibleContainer-module_collapsible-container__u0Jmm.CollapsibleContainer-module_horizontal__QJWI-.CollapsibleContainer-module_expanded__O6Vh8 {
|
|
162
|
-
width: var(--prop-value);
|
|
163
|
-
max-width: var(--prop-value);
|
|
164
|
-
opacity: 1;
|
|
166
|
+
.layoutBox-module_layout-box__ZIID8 {
|
|
167
|
+
display: flex;
|
|
168
|
+
position: relative;
|
|
169
|
+
flex-direction: row;
|
|
170
|
+
flex: 0;
|
|
171
|
+
flex-grow: 0;
|
|
172
|
+
flex-shrink: 0;
|
|
173
|
+
flex-basis: auto;
|
|
174
|
+
flex-wrap: nowrap;
|
|
175
|
+
gap: 0;
|
|
176
|
+
text-align: left;
|
|
177
|
+
justify-content: flex-start;
|
|
178
|
+
align-items: flex-start;
|
|
179
|
+
align-self: auto;
|
|
180
|
+
margin: 0;
|
|
181
|
+
padding: 0;
|
|
182
|
+
width: auto;
|
|
183
|
+
height: auto;
|
|
184
|
+
max-width: none;
|
|
185
|
+
max-height: none;
|
|
186
|
+
min-width: 0;
|
|
187
|
+
min-height: 0;
|
|
188
|
+
border-radius: initial;
|
|
165
189
|
}
|
|
166
190
|
.lazyComponent-module_loader__brMEW {
|
|
167
191
|
position: relative;
|
|
@@ -206,191 +230,18 @@
|
|
|
206
230
|
stroke-dashoffset: -124;
|
|
207
231
|
}
|
|
208
232
|
}
|
|
209
|
-
.
|
|
210
|
-
|
|
211
|
-
position: relative;
|
|
212
|
-
flex-direction: row;
|
|
213
|
-
flex: 0;
|
|
214
|
-
flex-grow: 0;
|
|
215
|
-
flex-shrink: 0;
|
|
216
|
-
flex-basis: auto;
|
|
217
|
-
flex-wrap: nowrap;
|
|
218
|
-
gap: 0;
|
|
219
|
-
text-align: left;
|
|
220
|
-
justify-content: flex-start;
|
|
221
|
-
align-items: flex-start;
|
|
222
|
-
align-self: auto;
|
|
223
|
-
margin: 0;
|
|
224
|
-
padding: 0;
|
|
225
|
-
width: auto;
|
|
226
|
-
height: auto;
|
|
227
|
-
max-width: none;
|
|
228
|
-
max-height: none;
|
|
229
|
-
min-width: 0;
|
|
230
|
-
min-height: 0;
|
|
231
|
-
border-radius: initial;
|
|
232
|
-
}
|
|
233
|
-
:root {
|
|
234
|
-
--divider-line: #4a4b4b;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.popup-module_overflow-hidden__uimg4, .popup-module_text-truncate__y-5c1 {
|
|
238
|
-
overflow: hidden !important;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.popup-module_text-nowrap__eDCv3, .popup-module_text-truncate__y-5c1 {
|
|
242
|
-
white-space: nowrap !important;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.popup-module_text-ellipsis__yu8nx, .popup-module_text-truncate__y-5c1 {
|
|
246
|
-
text-overflow: ellipsis !important;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.popup-module_popup-container__PJ0oQ {
|
|
250
|
-
--popup-width: 60vw;
|
|
251
|
-
--popup-height: 50vh;
|
|
252
|
-
position: fixed;
|
|
253
|
-
width: var(--popup-width);
|
|
254
|
-
height: var(--popup-height);
|
|
255
|
-
--slideXFrom: 0;
|
|
256
|
-
--slideYFrom: 0;
|
|
257
|
-
will-change: opacity;
|
|
258
|
-
transition: opacity 300ms ease-in-out;
|
|
259
|
-
opacity: 0;
|
|
260
|
-
visibility: hidden;
|
|
261
|
-
pointer-events: none;
|
|
233
|
+
.flowLayout-module_flowLayout__VHpnY {
|
|
234
|
+
overflow: auto;
|
|
262
235
|
}
|
|
263
|
-
.
|
|
264
|
-
|
|
265
|
-
flex-direction: column;
|
|
266
|
-
align-items: start;
|
|
236
|
+
.flowLayout-module_flowLayout__VHpnY .flowLayout-module_beforeContent__rY-mW {
|
|
237
|
+
display: flex;
|
|
267
238
|
width: 100%;
|
|
268
|
-
|
|
269
|
-
overflow-x: clip;
|
|
270
|
-
background-color: #090A0A;
|
|
271
|
-
border-radius: 4px;
|
|
272
|
-
box-shadow: 0px 10px 20px 4px rgba(0, 0, 0, 0.15);
|
|
273
|
-
transition: transform 350ms ease-out;
|
|
274
|
-
will-change: transform;
|
|
275
|
-
transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
|
|
276
|
-
}
|
|
277
|
-
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz button {
|
|
278
|
-
margin-bottom: 0;
|
|
279
|
-
}
|
|
280
|
-
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx {
|
|
281
|
-
cursor: pointer;
|
|
282
|
-
line-height: 1px;
|
|
283
|
-
background-color: rgba(255, 255, 255, 0);
|
|
284
|
-
}
|
|
285
|
-
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx .icon-base {
|
|
286
|
-
background-color: #FDDA0D;
|
|
287
|
-
width: 9px !important;
|
|
288
|
-
height: 9px !important;
|
|
289
|
-
line-height: 1px !important;
|
|
290
|
-
}
|
|
291
|
-
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx:hover .icon-base {
|
|
292
|
-
background-color: #FFEA00;
|
|
239
|
+
min-width: 0;
|
|
293
240
|
}
|
|
294
|
-
.
|
|
295
|
-
width: 100%;
|
|
296
|
-
height: 100%;
|
|
297
|
-
padding: 24px;
|
|
298
|
-
overflow-y: auto;
|
|
241
|
+
.flowLayout-module_flowLayout__VHpnY .flowLayout-module_afterContent__Hlh8v {
|
|
299
242
|
display: flex;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
overflow-y: auto;
|
|
303
|
-
}
|
|
304
|
-
.popup-module_popup-container__PJ0oQ[data-show] {
|
|
305
|
-
opacity: 1;
|
|
306
|
-
visibility: visible;
|
|
307
|
-
pointer-events: all;
|
|
308
|
-
}
|
|
309
|
-
.popup-module_popup-container__PJ0oQ[data-show] .popup-module_popup-container-inner__n83Cz {
|
|
310
|
-
transform: translateX(0) translateY(0);
|
|
311
|
-
}
|
|
312
|
-
.popup-module_popup-container__PJ0oQ[data-show=false] {
|
|
313
|
-
opacity: 0;
|
|
314
|
-
visibility: hidden;
|
|
315
|
-
pointer-events: none;
|
|
316
|
-
}
|
|
317
|
-
.popup-module_popup-container__PJ0oQ[data-show=false] .popup-module_popup-container-inner__n83Cz {
|
|
318
|
-
transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.cui-theme-dark .popup-module_popup-container-inner__n83Cz {
|
|
322
|
-
background-color: #090A0A;
|
|
323
|
-
color: #F4F4F4;
|
|
324
|
-
}
|
|
325
|
-
.cui-theme-light .popup-module_popup-container-inner__n83Cz {
|
|
326
|
-
background-color: #090A0A;
|
|
327
|
-
color: #F4F4F4;
|
|
328
|
-
}
|
|
329
|
-
:root {
|
|
330
|
-
--divider-line: #4a4b4b;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.typography-module_overflow-hidden__UmQ-v, .typography-module_text-truncate__8MgV9 {
|
|
334
|
-
overflow: hidden !important;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.typography-module_text-nowrap__dt3uu, .typography-module_text-truncate__8MgV9 {
|
|
338
|
-
white-space: nowrap !important;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.typography-module_text-ellipsis__iyHeZ, .typography-module_text-truncate__8MgV9 {
|
|
342
|
-
text-overflow: ellipsis !important;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.typography-module_headline__b0XlP {
|
|
346
|
-
font-size: 28px;
|
|
347
|
-
line-height: 32px;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.typography-module_headlineSecondary__IDnhT {
|
|
351
|
-
font-size: 24px;
|
|
352
|
-
line-height: 28px;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.typography-module_headlineTertiary__mlG-v {
|
|
356
|
-
font-size: 18px;
|
|
357
|
-
line-height: 24x;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.typography-module_paragraph__tgBAx, .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY, .typography-module_paragraphSmall__vTMiI {
|
|
361
|
-
font-size: 14px;
|
|
362
|
-
line-height: 18px;
|
|
363
|
-
font-weight: 300;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.typography-module_paragraphSmall__vTMiI, .typography-module_paragraphBoldSmall__qExmY {
|
|
367
|
-
font-size: 12px;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY {
|
|
371
|
-
font-weight: 600;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
.typography-module_link__DWurf {
|
|
375
|
-
overflow: hidden !important;
|
|
376
|
-
white-space: nowrap !important;
|
|
377
|
-
text-overflow: ellipsis !important;
|
|
378
|
-
text-decoration: none;
|
|
379
|
-
color: #65C5F6;
|
|
380
|
-
display: inline;
|
|
381
|
-
gap: 4px;
|
|
382
|
-
flex-grow: 0;
|
|
383
|
-
max-width: 400px;
|
|
384
|
-
position: relative;
|
|
385
|
-
vertical-align: center;
|
|
386
|
-
}
|
|
387
|
-
.typography-module_link__DWurf:hover:not(.typography-module_disabled__hjK8C) {
|
|
388
|
-
text-decoration: underline;
|
|
389
|
-
color: #65C5F6;
|
|
390
|
-
}
|
|
391
|
-
.typography-module_link__DWurf.typography-module_disabled__hjK8C {
|
|
392
|
-
pointer-events: none;
|
|
393
|
-
opacity: 0.6;
|
|
243
|
+
width: 100%;
|
|
244
|
+
min-width: 0;
|
|
394
245
|
}
|
|
395
246
|
:root {
|
|
396
247
|
--divider-line: #4a4b4b;
|
|
@@ -506,19 +357,6 @@
|
|
|
506
357
|
.cui-theme-light .button-module_button__NDMQS {
|
|
507
358
|
color: #090A0A;
|
|
508
359
|
}
|
|
509
|
-
.flowLayout-module_flowLayout__VHpnY {
|
|
510
|
-
overflow: auto;
|
|
511
|
-
}
|
|
512
|
-
.flowLayout-module_flowLayout__VHpnY .flowLayout-module_beforeContent__rY-mW {
|
|
513
|
-
display: flex;
|
|
514
|
-
width: 100%;
|
|
515
|
-
min-width: 0;
|
|
516
|
-
}
|
|
517
|
-
.flowLayout-module_flowLayout__VHpnY .flowLayout-module_afterContent__Hlh8v {
|
|
518
|
-
display: flex;
|
|
519
|
-
width: 100%;
|
|
520
|
-
min-width: 0;
|
|
521
|
-
}
|
|
522
360
|
:root {
|
|
523
361
|
--divider-line: #4a4b4b;
|
|
524
362
|
}
|
|
@@ -660,6 +498,173 @@
|
|
|
660
498
|
--divider-line: #4a4b4b;
|
|
661
499
|
}
|
|
662
500
|
|
|
501
|
+
.popup-module_overflow-hidden__uimg4, .popup-module_text-truncate__y-5c1 {
|
|
502
|
+
overflow: hidden !important;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.popup-module_text-nowrap__eDCv3, .popup-module_text-truncate__y-5c1 {
|
|
506
|
+
white-space: nowrap !important;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.popup-module_text-ellipsis__yu8nx, .popup-module_text-truncate__y-5c1 {
|
|
510
|
+
text-overflow: ellipsis !important;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.popup-module_popup-container__PJ0oQ {
|
|
514
|
+
--popup-width: 60vw;
|
|
515
|
+
--popup-height: 50vh;
|
|
516
|
+
position: fixed;
|
|
517
|
+
width: var(--popup-width);
|
|
518
|
+
height: var(--popup-height);
|
|
519
|
+
--slideXFrom: 0;
|
|
520
|
+
--slideYFrom: 0;
|
|
521
|
+
will-change: opacity;
|
|
522
|
+
transition: opacity 300ms ease-in-out;
|
|
523
|
+
opacity: 0;
|
|
524
|
+
visibility: hidden;
|
|
525
|
+
pointer-events: none;
|
|
526
|
+
}
|
|
527
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz {
|
|
528
|
+
position: relative;
|
|
529
|
+
flex-direction: column;
|
|
530
|
+
align-items: start;
|
|
531
|
+
width: 100%;
|
|
532
|
+
height: 100%;
|
|
533
|
+
overflow-x: clip;
|
|
534
|
+
background-color: #090A0A;
|
|
535
|
+
border-radius: 4px;
|
|
536
|
+
box-shadow: 0px 10px 20px 4px rgba(0, 0, 0, 0.15);
|
|
537
|
+
transition: transform 350ms ease-out;
|
|
538
|
+
will-change: transform;
|
|
539
|
+
transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
|
|
540
|
+
}
|
|
541
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz button {
|
|
542
|
+
margin-bottom: 0;
|
|
543
|
+
}
|
|
544
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx {
|
|
545
|
+
cursor: pointer;
|
|
546
|
+
line-height: 1px;
|
|
547
|
+
background-color: rgba(255, 255, 255, 0);
|
|
548
|
+
}
|
|
549
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx .icon-base {
|
|
550
|
+
background-color: #FDDA0D;
|
|
551
|
+
width: 9px !important;
|
|
552
|
+
height: 9px !important;
|
|
553
|
+
line-height: 1px !important;
|
|
554
|
+
}
|
|
555
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_close-button__-8sZx:hover .icon-base {
|
|
556
|
+
background-color: #FFEA00;
|
|
557
|
+
}
|
|
558
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_popup-container-inner-div__sDNBm {
|
|
559
|
+
width: 100%;
|
|
560
|
+
height: 100%;
|
|
561
|
+
padding: 24px;
|
|
562
|
+
overflow-y: auto;
|
|
563
|
+
display: flex;
|
|
564
|
+
}
|
|
565
|
+
.popup-module_popup-container__PJ0oQ .popup-module_popup-container-inner__n83Cz .popup-module_popup-container-inner-div__sDNBm > * {
|
|
566
|
+
overflow-y: auto;
|
|
567
|
+
}
|
|
568
|
+
.popup-module_popup-container__PJ0oQ[data-show] {
|
|
569
|
+
opacity: 1;
|
|
570
|
+
visibility: visible;
|
|
571
|
+
pointer-events: all;
|
|
572
|
+
}
|
|
573
|
+
.popup-module_popup-container__PJ0oQ[data-show] .popup-module_popup-container-inner__n83Cz {
|
|
574
|
+
transform: translateX(0) translateY(0);
|
|
575
|
+
}
|
|
576
|
+
.popup-module_popup-container__PJ0oQ[data-show=false] {
|
|
577
|
+
opacity: 0;
|
|
578
|
+
visibility: hidden;
|
|
579
|
+
pointer-events: none;
|
|
580
|
+
}
|
|
581
|
+
.popup-module_popup-container__PJ0oQ[data-show=false] .popup-module_popup-container-inner__n83Cz {
|
|
582
|
+
transform: translateX(var(--slideXFrom)) translateY(var(--slideYFrom));
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.cui-theme-dark .popup-module_popup-container-inner__n83Cz {
|
|
586
|
+
background-color: #090A0A;
|
|
587
|
+
color: #F4F4F4;
|
|
588
|
+
}
|
|
589
|
+
.cui-theme-light .popup-module_popup-container-inner__n83Cz {
|
|
590
|
+
background-color: #090A0A;
|
|
591
|
+
color: #F4F4F4;
|
|
592
|
+
}
|
|
593
|
+
:root {
|
|
594
|
+
--divider-line: #4a4b4b;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.typography-module_overflow-hidden__UmQ-v, .typography-module_text-truncate__8MgV9 {
|
|
598
|
+
overflow: hidden !important;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.typography-module_text-nowrap__dt3uu, .typography-module_text-truncate__8MgV9 {
|
|
602
|
+
white-space: nowrap !important;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.typography-module_text-ellipsis__iyHeZ, .typography-module_text-truncate__8MgV9 {
|
|
606
|
+
text-overflow: ellipsis !important;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.typography-module_headline__b0XlP {
|
|
610
|
+
font-size: 28px;
|
|
611
|
+
line-height: 32px;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.typography-module_headlineSecondary__IDnhT {
|
|
615
|
+
font-size: 24px;
|
|
616
|
+
line-height: 28px;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.typography-module_headlineTertiary__mlG-v {
|
|
620
|
+
font-size: 18px;
|
|
621
|
+
line-height: 24x;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.typography-module_paragraph__tgBAx, .typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY, .typography-module_paragraphSmall__vTMiI {
|
|
625
|
+
font-size: 14px;
|
|
626
|
+
line-height: 18px;
|
|
627
|
+
font-weight: 300;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.typography-module_paragraphSmall__vTMiI, .typography-module_paragraphBoldSmall__qExmY {
|
|
631
|
+
font-size: 12px;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.typography-module_paragraphBold__PmcZU, .typography-module_paragraphBoldSmall__qExmY {
|
|
635
|
+
font-weight: 600;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.typography-module_link__DWurf {
|
|
639
|
+
overflow: hidden !important;
|
|
640
|
+
white-space: nowrap !important;
|
|
641
|
+
text-overflow: ellipsis !important;
|
|
642
|
+
text-decoration: none;
|
|
643
|
+
color: #65C5F6;
|
|
644
|
+
display: inline;
|
|
645
|
+
gap: 4px;
|
|
646
|
+
flex-grow: 0;
|
|
647
|
+
max-width: 400px;
|
|
648
|
+
position: relative;
|
|
649
|
+
vertical-align: center;
|
|
650
|
+
}
|
|
651
|
+
.typography-module_link__DWurf:hover:not(.typography-module_disabled__hjK8C) {
|
|
652
|
+
text-decoration: underline;
|
|
653
|
+
color: #65C5F6;
|
|
654
|
+
}
|
|
655
|
+
.typography-module_link__DWurf.typography-module_disabled__hjK8C {
|
|
656
|
+
pointer-events: none;
|
|
657
|
+
opacity: 0.6;
|
|
658
|
+
}
|
|
659
|
+
.textAndContent-module_textAndContent__X5P1n {
|
|
660
|
+
align-items: baseline;
|
|
661
|
+
flex-shrink: 1;
|
|
662
|
+
gap: 8px;
|
|
663
|
+
}
|
|
664
|
+
:root {
|
|
665
|
+
--divider-line: #4a4b4b;
|
|
666
|
+
}
|
|
667
|
+
|
|
663
668
|
.anchorLink-module_overflow-hidden__-MElA, .anchorLink-module_text-truncate__62t8P {
|
|
664
669
|
overflow: hidden !important;
|
|
665
670
|
}
|
package/dist/lib/cjs/index.css
CHANGED
|
@@ -444,6 +444,11 @@
|
|
|
444
444
|
.cui-theme-light .button-module_button__NDMQS {
|
|
445
445
|
color: #090A0A;
|
|
446
446
|
}
|
|
447
|
+
.textAndContent-module_textAndContent__X5P1n {
|
|
448
|
+
align-items: baseline;
|
|
449
|
+
flex-shrink: 1;
|
|
450
|
+
gap: 8px;
|
|
451
|
+
}
|
|
447
452
|
.flowLayout-module_flowLayout__VHpnY {
|
|
448
453
|
overflow: auto;
|
|
449
454
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sources":["../../../../../../../../src/core/ui/components/atoms/icons.tsx"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport React from 'react'\n\nexport const closeIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M336.1 175c-9.375-9.375-24.56-9.375-33.94 0L256 222.1L208.1 175c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l47.03 47.03L175 303c-9.375 9.375-9.375 24.56 0 33.94c9.373 9.373 24.56 9.381 33.94 0L256 289.9l47.03 47.03c9.373 9.373 24.56 9.381 33.94 0c9.375-9.375 9.375-24.56 0-33.94l-47.03-47.03l47.03-47.03C346.3 199.6 346.3 184.4 336.1 175zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z' /></svg>\n)\nexport const infoIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z' /></svg>\n\n)\n"],"names":["closeIconJSX","React","createElement","xmlns","viewBox","default","d","infoIconJSX"],"mappings":"0FAIaA,MAAAA,EACXC,EAAAA,QAAAC,cAAA,MAAA,CAAKC,MAAM,6BAA6BC,QAAQ,eAAcH,EAAAI,QAAAH,cAAA,OAAA,CAAMI,EAAE,ygBAE3DC,EACXN,EAAAA,QAAAC,cAAA,MAAA,CAAKC,MAAM,6BAA6BC,QAAQ,eAAcH,EAAAI,QAAAH,cAAA,OAAA,CAAMI,EAAE"}
|
|
1
|
+
{"version":3,"file":"icons.js","sources":["../../../../../../../../src/core/ui/components/atoms/icons.tsx"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport React from 'react'\n\nexport const closeIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M336.1 175c-9.375-9.375-24.56-9.375-33.94 0L256 222.1L208.1 175c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l47.03 47.03L175 303c-9.375 9.375-9.375 24.56 0 33.94c9.373 9.373 24.56 9.381 33.94 0L256 289.9l47.03 47.03c9.373 9.373 24.56 9.381 33.94 0c9.375-9.375 9.375-24.56 0-33.94l-47.03-47.03l47.03-47.03C346.3 199.6 346.3 184.4 336.1 175zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464z' /></svg>\n)\nexport const infoIconJSX = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z' /></svg>\n\n)\n\n\nexport const appStoreIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z' /></svg>\n)\n\n\nexport const batteryEmptyIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M544 192V160c0-35.35-28.65-64-64-64H64C28.65 96 0 124.7 0 160v192c0 35.35 28.65 64 64 64h416c35.35 0 64-28.65 64-64v-32c17.67 0 32-14.33 32-32V224C576 206.3 561.7 192 544 192zM480 352H64V160h416V352z' /></svg>\n)\n\n\nexport const elementorIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M425.6 32H22.4C10 32 0 42 0 54.4v403.2C0 470 10 480 22.4 480h403.2c12.4 0 22.4-10 22.4-22.4V54.4C448 42 438 32 425.6 32M164.3 355.5h-39.8v-199h39.8v199zm159.3 0H204.1v-39.8h119.5v39.8zm0-79.6H204.1v-39.8h119.5v39.8zm0-79.7H204.1v-39.8h119.5v39.8z' /></svg>\n)\n\nexport const squareCheckIcon = (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path d='M384 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h320c35.35 0 64-28.65 64-64V96C448 60.65 419.3 32 384 32zM400 416c0 8.836-7.164 16-16 16H64c-8.836 0-16-7.164-16-16V96c0-8.838 7.164-16 16-16h320c8.836 0 16 7.162 16 16V416zM303 175L192 286.1L144.1 239c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94l64 64C179.7 341.7 185.8 344 192 344s12.28-2.344 16.97-7.031l128-128c9.375-9.375 9.375-24.56 0-33.94S312.4 165.7 303 175z' /></svg>\n)\n\nexport const pencilIcon = (\n <svg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'>\n <path d='M8.91878 3.38356L6.59333 1.08219L7.35936 0.315069C7.56911 0.105023 7.82682 0 8.13251 0C8.43782 0 8.69536 0.105023 8.9051 0.315069L9.67113 1.08219C9.88088 1.29224 9.99031 1.54575 9.99943 1.84274C10.0086 2.13936 9.90824 2.39269 9.69849 2.60274L8.91878 3.38356ZM8.12539 4.19178L2.32545 10H0V7.67123L5.79994 1.86301L8.12539 4.19178Z' fill='#E2E369' />\n </svg>\n\n)\n"],"names":["closeIconJSX","React","createElement","xmlns","viewBox","default","d","infoIconJSX"],"mappings":"0FAIaA,MAAAA,EACXC,EAAAA,QAAAC,cAAA,MAAA,CAAKC,MAAM,6BAA6BC,QAAQ,eAAcH,EAAAI,QAAAH,cAAA,OAAA,CAAMI,EAAE,ygBAE3DC,EACXN,EAAAA,QAAAC,cAAA,MAAA,CAAKC,MAAM,6BAA6BC,QAAQ,eAAcH,EAAAI,QAAAH,cAAA,OAAA,CAAMI,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headline.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Headline.tsx"],"sourcesContent":["import { memo } from 'react'\n\nimport { ITextProps
|
|
1
|
+
{"version":3,"file":"Headline.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Headline.tsx"],"sourcesContent":["import { memo } from 'react'\n\nimport { ITextProps } from './text.types'\nimport { Text } from './Text'\nimport classes from './typography.module.scss'\n\n\nexport const Headline = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.headline} ${className}`} element='h1'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nHeadline.displayName = 'Headline'\n\n\nexport const HeadlineSecondary = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.headlineSecondary} ${className}`} element='h2'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nHeadlineSecondary.displayName = 'HeadlineSecondary'\n\n\nexport const HeadlineTertiary = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.headlineTertiary} ${className}`} element='h3'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nHeadlineTertiary.displayName = 'HeadlineTertiary'\n"],"names":["Headline","memo","_ref","children","text","className","props","React","createElement","Text","_extends","classes","default","headline","element","displayName","HeadlineSecondary","_ref2","headlineSecondary","HeadlineTertiary","_ref3","headlineTertiary"],"mappings":"yKAOaA,MAAAA,EAAWC,EAAIA,MAC1BC,IAAA,IAACC,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,MAAOC,GAAmBJ,EAAA,OACvDK,MAAAC,cAACC,EAAAA,KAAIC,EAAAA,WAAKJ,EAAK,CAAED,UAAW,GAAGM,EAAOC,QAACC,YAAYR,IAAaS,QAAQ,OACrEX,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXJ,EAASe,YAAc,WAGVC,MAAAA,EAAoBf,EAAIA,MACnCgB,IAAA,IAACd,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,MAAOC,GAAmBW,EAAA,OACvDV,MAAAC,cAACC,EAAAA,KAAIC,EAAAA,WAAKJ,EAAK,CAAED,UAAW,GAAGM,EAAOC,QAACM,qBAAqBb,IAAaS,QAAQ,OAC9EX,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXY,EAAkBD,YAAc,oBAGnBI,MAAAA,EAAmBlB,EAAIA,MAClCmB,IAAA,IAACjB,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,MAAOC,GAAmBc,EAAA,OACvDb,MAAAC,cAACC,EAAAA,KAAIC,EAAAA,WAAKJ,EAAK,CAAED,UAAW,GAAGM,EAAOC,QAACS,oBAAoBhB,IAAaS,QAAQ,OAC7EX,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXe,EAAiBJ,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Link.tsx"],"sourcesContent":["import { memo } from 'react'\n\nimport { ITextProps
|
|
1
|
+
{"version":3,"file":"Link.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Link.tsx"],"sourcesContent":["import { memo } from 'react'\n\nimport { ITextProps } from './text.types'\nimport { Text } from './Text'\nimport classes from './typography.module.scss'\n\n\nexport const Link = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.link} ${className}`} element='a'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nLink.displayName = 'Link'\n\n"],"names":["Link","memo","_ref","children","text","className","props","React","createElement","Text","_extends","classes","default","link","element","displayName"],"mappings":"yKAOaA,MAAAA,EAAOC,EAAIA,MACtBC,IAAA,IAACC,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,MAAOC,GAAmBJ,EAAA,OACvDK,MAAAC,cAACC,EAAAA,KAAIC,EAAAA,WAAKJ,EAAK,CAAED,UAAW,GAAGM,EAAOC,QAACC,QAAQR,IAAaS,QAAQ,MACjEX,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXJ,EAAKe,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paragraph.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Paragraph.tsx"],"sourcesContent":["import { memo } from 'react'\n\nimport { ITextProps
|
|
1
|
+
{"version":3,"file":"Paragraph.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Paragraph.tsx"],"sourcesContent":["import { memo } from 'react'\n\nimport { ITextProps } from './text.types'\nimport { Text } from './Text'\nimport classes from './typography.module.scss'\n\n\nexport const Paragraph = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.paragraph} ${className}`} element='p'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nParagraph.displayName = 'Paragraph'\n\n\nexport const ParagraphSmall = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.paragraphSmall} ${className}`} element='p'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nParagraphSmall.displayName = 'ParagraphSmall'\n\n\nexport const ParagraphBold = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.paragraphBold} ${className}`} element='p'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nParagraphBold.displayName = 'ParagraphBold'\n\n\nexport const ParagraphBoldSmall = memo(\n ({ children, text, className = '', ...props }: ITextProps) => (\n <Text {...props} className={`${classes.paragraphBoldSmall} ${className}`} element='p'>\n {children && children}\n {(!children && text) && text}\n </Text>\n ),\n)\n\nParagraphBoldSmall.displayName = 'ParagraphBoldSmall'\n"],"names":["Paragraph","memo","_ref","children","text","className","props","React","createElement","Text","_extends","classes","default","paragraph","element","displayName","ParagraphSmall","_ref2","paragraphSmall","ParagraphBold","_ref3","paragraphBold","ParagraphBoldSmall","_ref4","paragraphBoldSmall"],"mappings":"yKAOaA,MAAAA,EAAYC,EAAIA,MAC3BC,IAAA,IAACC,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,MAAOC,GAAmBJ,EAAA,OACvDK,MAAAC,cAACC,EAAAA,KAAIC,EAAAA,WAAKJ,EAAK,CAAED,UAAW,GAAGM,EAAOC,QAACC,aAAaR,IAAaS,QAAQ,MACtEX,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXJ,EAAUe,YAAc,YAGXC,MAAAA,EAAiBf,EAAIA,MAChCgB,IAAA,IAACd,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,MAAOC,GAAmBW,EAAA,OACvDV,MAAAC,cAACC,EAAAA,KAAIC,EAAAA,WAAKJ,EAAK,CAAED,UAAW,GAAGM,EAAOC,QAACM,kBAAkBb,IAAaS,QAAQ,MAC3EX,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXY,EAAeD,YAAc,iBAGhBI,MAAAA,EAAgBlB,EAAIA,MAC/BmB,IAAA,IAACjB,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,MAAOC,GAAmBc,EAAA,OACvDb,MAAAC,cAACC,EAAAA,KAAIC,EAAAA,WAAKJ,EAAK,CAAED,UAAW,GAAGM,EAAOC,QAACS,iBAAiBhB,IAAaS,QAAQ,MAC1EX,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXe,EAAcJ,YAAc,gBAGfO,MAAAA,EAAqBrB,EAAIA,MACpCsB,IAAA,IAACpB,SAAEA,EAAQC,KAAEA,EAAIC,UAAEA,EAAY,MAAOC,GAAmBiB,EAAA,OACvDhB,MAAAC,cAACC,EAAAA,KAAIC,EAAAA,WAAKJ,EAAK,CAAED,UAAW,GAAGM,EAAOC,QAACY,sBAAsBnB,IAAaS,QAAQ,MAC/EX,GAAYA,GACVA,GAAYC,GAASA,EACnB,IAIXkB,EAAmBP,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Text.tsx"],"sourcesContent":["import React, { memo,
|
|
1
|
+
{"version":3,"file":"Text.js","sources":["../../../../../../../../../src/core/ui/components/atoms/text/Text.tsx"],"sourcesContent":["import React, { memo, FC, useMemo } from 'react'\n\nimport { composeId } from '../../../../utils'\nimport { useParseProps } from '../../../../hooks'\n\nimport { ITextProps, TextProps } from './text.types'\n\n\nexport const Text: FC<TextProps> = memo<ITextProps>((\n { element = 'span', children, href, target, className = '', id, onClick, text, ...rest }: ITextProps,\n) => {\n const { dataProps, restProps } = useParseProps(rest)\n const textFromChildren: string | undefined = text || children?.toString()\n\n const onClickProps = useMemo(() => (onClick ? ({\n onClick,\n onKeyDown: onClick,\n role: 'button',\n tabIndex: -1,\n }) : {}), [onClick])\n\n return React.createElement<TextProps>(\n element,\n {\n id: `${id || (textFromChildren && composeId(textFromChildren))}`,\n href,\n text,\n target,\n className,\n ...onClickProps,\n style: restProps,\n ...dataProps,\n 'data-testid':\n `${dataProps.dataTestId || dataProps['data-testid'] || id || (textFromChildren && composeId(textFromChildren))}`,\n },\n children,\n )\n})\n\nText.displayName = 'Text'\n"],"names":["Text","memo","_ref","element","children","href","target","className","id","onClick","text","rest","dataProps","restProps","useParseProps","textFromChildren","toString","onClickProps","useMemo","onKeyDown","role","tabIndex","React","default","createElement","composeId","style","dataTestId","displayName"],"mappings":"uMAQaA,EAAsBC,EAAIA,MAAaC,IAE/C,IADHC,QAAEA,EAAU,OAAMC,SAAEA,EAAQC,KAAEA,EAAIC,OAAEA,EAAMC,UAAEA,EAAY,GAAEC,GAAEA,EAAEC,QAAEA,OAASC,KAASC,GAAkBT,EAEpG,MAAMU,UAAEA,EAASC,UAAEA,GAAcC,EAAAA,cAAcH,GACzCI,EAAuCL,GAAQN,GAAUY,WAEzDC,EAAeC,WAAQ,IAAOT,EAAW,CAC7CA,UACAU,UAAWV,EACXW,KAAM,SACNC,UAAW,GACR,CAAG,GAAE,CAACZ,IAEX,OAAOa,EAAKC,QAACC,cACXrB,EACA,CACEK,GAAI,GAAGA,GAAOO,GAAoBU,EAASA,UAACV,KAC5CV,YACAK,EACAJ,SACAC,eACGU,EACHS,MAAOb,KACJD,EACH,cACA,GAAGA,EAAUe,YAAcf,EAAU,gBAAkBJ,GAAOO,GAAoBU,YAAUV,MAE9FX,EACD,IAGHJ,EAAK4B,YAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var e=require("../../../../../../_virtual/_rollupPluginBabelHelpers.js"),t=require("react"),n=require("../../error/propsValidationError.js"),o=require("../text/Text.js"),r=require("./textAndContent.module.scss.js"),c=require("../../container/layoutBox/LayoutBox.js"),i=require("../../icon/IconBase.js");const s=t.memo((t=>{let{text:i,children:s,components:a,leftContent:l,rightContent:x,textProps:d={},className:u="",...m}=t;if(null==i&&!s)throw new n.PropsValidationError("Missing `text or children` property!");const p=a?.TextComponent||o.Text;return React.createElement(c.LayoutBox,e.extends({className:`${r.default.textAndContent} ${u}`},m),l&&l,React.createElement(p,e.extends({className:"text-truncate"},d,{"data-testid":"text-content-text-component"}),i||s),x&&x)}));s.displayName="TextAndContent";const a=t.memo((n=>{let{iconSize:o,iconColor:r,iconLeft:c,iconRight:a,iconLeftUrl:l,iconRightUrl:x,onLeftIconClick:d,onRightIconClick:u,...m}=n;const[p,C]=t.useMemo((()=>{let t,n;if(c||l){const n=d?{onClick:d,onKeyDown:d,role:"button",tabIndex:-1,"data-testid":"text-content-icon-left"}:{};t=React.createElement(i.IconBase,e.extends({iconUrl:l,size:o,color:r},n),c&&c)}if(a||x){const t=u?{onClick:u,onKeyDown:u,role:"button",tabIndex:-1,"data-testid":"text-content-icon-right"}:{};n=React.createElement(i.IconBase,e.extends({iconUrl:x,size:o,color:r},t),a&&a)}return[t,n]}),[r,c,l,a,x,o,d,u]);return React.createElement(s,e.extends({leftContent:p,rightContent:C},m))}));a.displayName="TextAndIcons",exports.TextAndContent=s,exports.TextAndIcons=a;
|
|
2
|
+
//# sourceMappingURL=TextAndContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextAndContent.js","sources":["../../../../../../../../../src/core/ui/components/atoms/textAndContent/TextAndContent.tsx"],"sourcesContent":["import { memo, FC, useMemo } from 'react'\n\nimport { PropsValidationError } from '../../error/propsValidationError'\nimport { IconBase } from '../../icon'\nimport { LayoutBox } from '../../container'\nimport { Text as BodyText } from '../text/Text'\n\nimport type { TextAndContentProps, TextAndIconsProps } from './textAndContent.types'\nimport classes from './textAndContent.module.scss'\n\n\n/**\n * TextAndContent component.\n *\n * @type {React.FC<TextAndContentProps>}\n * @returns {React.ReactElement} The TextAndContent.\n */\nexport const TextAndContent: FC<TextAndContentProps> = memo<TextAndContentProps>(({\n text,\n children,\n components,\n leftContent,\n rightContent,\n textProps = {},\n className = '',\n ...props\n}: TextAndContentProps) => {\n if ((text === undefined || text === null) && !children) {\n throw new PropsValidationError('Missing `text or children` property!')\n }\n\n const TextComponent = components?.TextComponent || BodyText\n\n return (\n <LayoutBox\n className={`${classes.textAndContent} ${className}`}\n {...props}\n >\n {leftContent && leftContent}\n <TextComponent className='text-truncate' {...textProps} data-testid='text-content-text-component'>{text || children}</TextComponent>\n {rightContent && rightContent}\n </LayoutBox>\n )\n})\n\nTextAndContent.displayName = 'TextAndContent'\n\n\n/**\n * TextAndIcons component.\n *\n * @type {React.FC<TextAndIconsProps>}\n * @returns {React.ReactElement} The TextAndIcons.\n */\nexport const TextAndIcons: FC<TextAndIconsProps> = memo<TextAndIconsProps>(({\n iconSize,\n iconColor,\n iconLeft,\n iconRight,\n iconLeftUrl,\n iconRightUrl,\n onLeftIconClick,\n onRightIconClick,\n ...props\n}: TextAndIconsProps) => {\n const [leftContent, rightContent] = useMemo(() => {\n let leftContent\n let rightContent\n\n if (iconLeft || iconLeftUrl) {\n const onLeftIconClickProps = onLeftIconClick ? ({\n onClick: onLeftIconClick,\n onKeyDown: onLeftIconClick,\n role: 'button',\n tabIndex: -1,\n 'data-testid': 'text-content-icon-left',\n }) : {}\n\n leftContent = (\n <IconBase iconUrl={iconLeftUrl} size={iconSize} color={iconColor} {...onLeftIconClickProps}>\n {iconLeft && iconLeft}\n </IconBase>)\n }\n if (iconRight || iconRightUrl) {\n const onRightIconClickProps = onRightIconClick ? ({\n onClick: onRightIconClick,\n onKeyDown: onRightIconClick,\n role: 'button',\n tabIndex: -1,\n 'data-testid': 'text-content-icon-right',\n }) : {}\n\n rightContent = (\n <IconBase iconUrl={iconRightUrl} size={iconSize} color={iconColor} {...onRightIconClickProps}>\n {iconRight && iconRight}\n </IconBase>)\n }\n return [leftContent, rightContent]\n }, [iconColor, iconLeft, iconLeftUrl, iconRight, iconRightUrl, iconSize, onLeftIconClick, onRightIconClick])\n\n\n return (\n <TextAndContent\n leftContent={leftContent}\n rightContent={rightContent}\n {...props}\n />\n )\n})\n\nTextAndIcons.displayName = 'TextAndIcons'\n"],"names":["TextAndContent","memo","_ref","text","children","components","leftContent","rightContent","textProps","className","props","PropsValidationError","TextComponent","BodyText","React","createElement","LayoutBox","_extends","classes","default","textAndContent","displayName","TextAndIcons","_ref2","iconSize","iconColor","iconLeft","iconRight","iconLeftUrl","iconRightUrl","onLeftIconClick","onRightIconClick","useMemo","onLeftIconClickProps","onClick","onKeyDown","role","tabIndex","IconBase","iconUrl","size","color","onRightIconClickProps"],"mappings":"kUAiBaA,EAA0CC,EAAIA,MAAsBC,IAStD,IATuDC,KAChFA,EAAIC,SACJA,EAAQC,WACRA,EAAUC,YACVA,EAAWC,aACXA,EAAYC,UACZA,EAAY,CAAE,EAAAC,UACdA,EAAY,MACTC,GACiBR,EACpB,GAAI,MAACC,IAAyCC,EAC5C,MAAM,IAAIO,EAAAA,qBAAqB,wCAGjC,MAAMC,EAAgBP,GAAYO,eAAiBC,OAEnD,OACEC,MAAAC,cAACC,EAASA,UAAAC,UAAA,CACRR,UAAW,GAAGS,EAAOC,QAACC,kBAAkBX,KACpCC,GAEHJ,GAAeA,EAChBQ,MAAAC,cAACH,EAAaK,UAAA,CAACR,UAAU,iBAAoBD,EAAS,CAAE,cAAY,gCAA+BL,GAAQC,GAC1GG,GAAgBA,EACP,IAIhBP,EAAeqB,YAAc,uBAShBC,EAAsCrB,EAAIA,MAAoBsB,IAUlD,IAVmDC,SAC1EA,EAAQC,UACRA,EAASC,SACTA,EAAQC,UACRA,EAASC,YACTA,EAAWC,aACXA,EAAYC,gBACZA,EAAeC,iBACfA,KACGrB,GACea,EAClB,MAAOjB,EAAaC,GAAgByB,EAAOA,SAAC,KAC1C,IAAI1B,EACAC,EAEJ,GAAImB,GAAYE,EAAa,CAC3B,MAAMK,EAAuBH,EAAmB,CAC9CI,QAASJ,EACTK,UAAWL,EACXM,KAAM,SACNC,UAAW,EACX,cAAe,0BACZ,GAEL/B,EACEQ,MAAAC,cAACuB,EAAAA,SAAQrB,EAAAA,QAAA,CAACsB,QAASX,EAAaY,KAAMhB,EAAUiB,MAAOhB,GAAeQ,GACnEP,GAAYA,EAEnB,CACA,GAAIC,GAAaE,EAAc,CAC7B,MAAMa,EAAwBX,EAAoB,CAChDG,QAASH,EACTI,UAAWJ,EACXK,KAAM,SACNC,UAAW,EACX,cAAe,2BACZ,GAEL9B,EACEO,MAAAC,cAACuB,EAAAA,SAAQrB,EAAAA,QAAA,CAACsB,QAASV,EAAcW,KAAMhB,EAAUiB,MAAOhB,GAAeiB,GACpEf,GAAaA,EAEpB,CACA,MAAO,CAACrB,EAAaC,EAAa,GACjC,CAACkB,EAAWC,EAAUE,EAAaD,EAAWE,EAAcL,EAAUM,EAAiBC,IAG1F,OACEjB,MAAAC,cAACf,EAAciB,UAAA,CACbX,YAAaA,EACbC,aAAcA,GACVG,GACJ,IAINY,EAAaD,YAAc"}
|
package/dist/lib/cjs/src/core/ui/components/atoms/textAndContent/textAndContent.module.scss.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textAndContent.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|