@liner-fe/prism 2.6.7 → 2.6.9
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/lib/index.css +162 -127
- package/lib/index.d.ts +3 -1
- package/lib/index.js +118 -80
- package/package.json +1 -1
package/lib/index.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
|
|
3
3
|
/* esbuild-sass-plugin:css-chunk:src/components/Button/style.module.scss */
|
|
4
|
-
.
|
|
4
|
+
._button_60r7l_1 {
|
|
5
5
|
position: relative;
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
@@ -16,189 +16,192 @@
|
|
|
16
16
|
overflow: hidden;
|
|
17
17
|
cursor: pointer;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._button_60r7l_1:disabled {
|
|
20
20
|
background: var(--neutral-fill-overlay-mid);
|
|
21
21
|
color: var(--neutral-label-tertiary);
|
|
22
22
|
cursor: not-allowed;
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
._button_60r7l_1:disabled span svg path:not([fill=white]) {
|
|
25
25
|
fill: var(--neutral-label-tertiary) !important;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
._button_60r7l_1:disabled span svg path[fill=white] {
|
|
28
28
|
fill: var(--inverse-label-primary) !important;
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
._default_60r7l_28 {
|
|
31
31
|
color: var(--inverse-label-primary);
|
|
32
32
|
background: var(--lp-pri-achromatic-white);
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
._default_60r7l_28 svg path {
|
|
35
35
|
fill: var(--inverse-label-primary);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
._primary_60r7l_36 {
|
|
38
38
|
color: var(--inverse-label-static-primary);
|
|
39
39
|
background: var(--brand-container-mid);
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._primary_60r7l_36:not(:disabled):hover {
|
|
42
42
|
background: var(--brand-container-mid-hover);
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._secondary_60r7l_44 {
|
|
45
45
|
color: var(--inverse-label-static-primary);
|
|
46
46
|
background: var(--brand-container-mid);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
._secondary_60r7l_44:not(:disabled):hover {
|
|
49
49
|
background: var(--brand-container-mid-hover);
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
._tertiary_60r7l_52 {
|
|
52
52
|
color: var(--neutral-label-primary);
|
|
53
53
|
background: var(--neutral-fill-overlay-mid);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
._tertiary_60r7l_52:not(:disabled):hover {
|
|
56
56
|
background: var(--neutral-fill-overlay-mid-hover);
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
._quaternary_60r7l_60 {
|
|
59
59
|
color: var(--neutral-label-primary);
|
|
60
60
|
border: 1px solid var(--neutral-border-overlay-normal);
|
|
61
61
|
background: var(--neutral-fill-overlay-lowest);
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._quaternary_60r7l_60:not(:disabled):hover {
|
|
64
64
|
background: var(--neutral-fill-overlay-lowest-hover);
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._quaternary_60r7l_60:disabled {
|
|
67
67
|
background: var(--neutral-fill-overlay-lowest);
|
|
68
68
|
color: var(--neutral-label-tertiary);
|
|
69
69
|
opacity: 0.4;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
._quaternary_60r7l_60:disabled svg path {
|
|
72
72
|
fill: var(--neutral-label-tertiary) !important;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
._quinary_60r7l_77 {
|
|
75
75
|
color: var(--neutral-label-primary);
|
|
76
76
|
background: var(--neutral-container-lowest);
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
._quinary_60r7l_77:not(:disabled):hover {
|
|
79
|
+
background: var(--neutral-fill-overlay-lowest-hover);
|
|
80
|
+
}
|
|
81
|
+
._quinary_60r7l_77:disabled {
|
|
79
82
|
background: var(--neutral-fill-overlay-mid);
|
|
80
83
|
color: var(--neutral-label-tertiary);
|
|
81
84
|
}
|
|
82
|
-
.
|
|
85
|
+
._quinary_60r7l_77:disabled svg path {
|
|
83
86
|
fill: var(--neutral-label-tertiary) !important;
|
|
84
87
|
}
|
|
85
|
-
.
|
|
88
|
+
._negative_60r7l_92 {
|
|
86
89
|
color: var(--inverse-label-static-primary);
|
|
87
90
|
background: var(--function-fill-negative-mid);
|
|
88
91
|
}
|
|
89
|
-
.
|
|
92
|
+
._negative_60r7l_92:not(:disabled):hover {
|
|
90
93
|
background: var(--function-fill-negative-mid-hover);
|
|
91
94
|
}
|
|
92
|
-
.
|
|
95
|
+
._static_60r7l_100 {
|
|
93
96
|
background: var(--neutral-container-static-lowest);
|
|
94
97
|
color: var(--neutral-label-static-primary);
|
|
95
98
|
}
|
|
96
|
-
.
|
|
99
|
+
._static_60r7l_100:not(:disabled):hover {
|
|
97
100
|
background: var(--neutral-container-static-lowest-hover);
|
|
98
101
|
}
|
|
99
|
-
._inverse-
|
|
102
|
+
._inverse-static_60r7l_108 {
|
|
100
103
|
background: var(--inverse-container-static-high);
|
|
101
104
|
color: var(--inverse-label-static-primary);
|
|
102
105
|
}
|
|
103
|
-
._inverse-
|
|
106
|
+
._inverse-static_60r7l_108:not(:disabled):hover {
|
|
104
107
|
background: var(--inverse-container-static-high-hover);
|
|
105
108
|
}
|
|
106
|
-
.
|
|
109
|
+
._ghost_60r7l_116._primary_60r7l_36 {
|
|
107
110
|
background: var(--inverse-fill-lowest);
|
|
108
111
|
color: var(--neutral-label-primary);
|
|
109
112
|
}
|
|
110
|
-
.
|
|
113
|
+
._ghost_60r7l_116._primary_60r7l_36:not(:disabled):hover {
|
|
111
114
|
background: var(--neutral-fill-overlay-lowest-hover);
|
|
112
115
|
}
|
|
113
|
-
.
|
|
116
|
+
._ghost_60r7l_116._primary_60r7l_36:disabled {
|
|
114
117
|
background: var(--neutral-fill-overlay-lowest);
|
|
115
118
|
color: var(--neutral-label-tertiary);
|
|
116
119
|
}
|
|
117
|
-
.
|
|
120
|
+
._ghost_60r7l_116._primary_60r7l_36:disabled span svg path:not([fill=white]) {
|
|
118
121
|
fill: var(--neutral-label-tertiary);
|
|
119
122
|
}
|
|
120
|
-
.
|
|
123
|
+
._ghost_60r7l_116._primary_60r7l_36:disabled span svg path[fill=white] {
|
|
121
124
|
fill: var(--inverse-label-primary);
|
|
122
125
|
}
|
|
123
|
-
.
|
|
126
|
+
._ghost_60r7l_116._secondary_60r7l_44 {
|
|
124
127
|
background: var(--inverse-fill-lowest);
|
|
125
128
|
color: var(--neutral-label-primary);
|
|
126
129
|
}
|
|
127
|
-
.
|
|
130
|
+
._ghost_60r7l_116._secondary_60r7l_44:not(:disabled):hover {
|
|
128
131
|
background: var(--neutral-fill-overlay-lowest-hover);
|
|
129
132
|
}
|
|
130
|
-
.
|
|
133
|
+
._ghost_60r7l_116._secondary_60r7l_44:disabled {
|
|
131
134
|
background: var(--neutral-fill-overlay-lowest);
|
|
132
135
|
color: var(--neutral-label-tertiary);
|
|
133
136
|
}
|
|
134
|
-
.
|
|
137
|
+
._ghost_60r7l_116._secondary_60r7l_44:disabled span svg path:not([fill=white]) {
|
|
135
138
|
fill: var(--neutral-label-tertiary);
|
|
136
139
|
}
|
|
137
|
-
.
|
|
140
|
+
._ghost_60r7l_116._secondary_60r7l_44:disabled span svg path[fill=white] {
|
|
138
141
|
fill: var(--inverse-label-primary);
|
|
139
142
|
}
|
|
140
|
-
.
|
|
143
|
+
._cta_60r7l_151 {
|
|
141
144
|
border-radius: var(--lp-sys-radius-m);
|
|
142
145
|
width: fit-content;
|
|
143
146
|
height: 52px;
|
|
144
147
|
gap: 8px;
|
|
145
148
|
min-width: 52px;
|
|
146
149
|
}
|
|
147
|
-
.
|
|
150
|
+
._l_60r7l_159 {
|
|
148
151
|
border-radius: var(--lp-sys-radius-s);
|
|
149
152
|
width: fit-content;
|
|
150
153
|
height: 44px;
|
|
151
154
|
min-width: 44px;
|
|
152
155
|
}
|
|
153
|
-
.
|
|
156
|
+
._m_60r7l_166 {
|
|
154
157
|
border-radius: var(--lp-sys-radius-s);
|
|
155
158
|
width: fit-content;
|
|
156
159
|
height: 36px;
|
|
157
160
|
min-width: 36px;
|
|
158
161
|
}
|
|
159
|
-
.
|
|
162
|
+
._s_60r7l_44 {
|
|
160
163
|
border-radius: var(--lp-sys-radius-s);
|
|
161
164
|
width: fit-content;
|
|
162
165
|
height: 28px;
|
|
163
166
|
min-width: 28px;
|
|
164
167
|
}
|
|
165
|
-
._align-
|
|
168
|
+
._align-center_60r7l_180 > span {
|
|
166
169
|
width: 100%;
|
|
167
170
|
justify-content: center;
|
|
168
171
|
}
|
|
169
|
-
._align-space-
|
|
172
|
+
._align-space-between_60r7l_185 > span {
|
|
170
173
|
width: 100%;
|
|
171
174
|
justify-content: space-between;
|
|
172
175
|
}
|
|
173
|
-
.
|
|
176
|
+
._content_60r7l_190 {
|
|
174
177
|
flex-shrink: 0;
|
|
175
178
|
line-height: 0;
|
|
176
179
|
padding: 0px var(--lp-sys-padding-component-100);
|
|
177
180
|
}
|
|
178
|
-
.
|
|
181
|
+
._full_60r7l_196 {
|
|
179
182
|
width: 100%;
|
|
180
183
|
}
|
|
181
|
-
._fit-
|
|
184
|
+
._fit-content_60r7l_200 {
|
|
182
185
|
width: fit-content;
|
|
183
186
|
}
|
|
184
|
-
.
|
|
187
|
+
._children_60r7l_204 {
|
|
185
188
|
display: flex;
|
|
186
189
|
align-items: center;
|
|
187
190
|
justify-content: center;
|
|
188
191
|
}
|
|
189
|
-
._cta-
|
|
192
|
+
._cta-children_60r7l_210 {
|
|
190
193
|
padding: 0 var(--lp-sys-gap-positive-300);
|
|
191
194
|
gap: var(--lp-sys-gap-positive-100);
|
|
192
195
|
}
|
|
193
|
-
._l-
|
|
196
|
+
._l-children_60r7l_215 {
|
|
194
197
|
padding: 0 var(--lp-sys-gap-positive-200);
|
|
195
198
|
gap: var(--lp-sys-gap-positive-50);
|
|
196
199
|
}
|
|
197
|
-
._m-
|
|
200
|
+
._m-children_60r7l_220 {
|
|
198
201
|
padding: 0 var(--lp-sys-gap-positive-150);
|
|
199
202
|
gap: var(--lp-sys-gap-positive-50);
|
|
200
203
|
}
|
|
201
|
-
._s-
|
|
204
|
+
._s-children_60r7l_225 {
|
|
202
205
|
padding: 0 var(--lp-sys-gap-positive-150);
|
|
203
206
|
gap: var(--lp-sys-gap-positive-50);
|
|
204
207
|
}
|
|
@@ -1372,25 +1375,46 @@
|
|
|
1372
1375
|
}
|
|
1373
1376
|
|
|
1374
1377
|
/* esbuild-sass-plugin:css-chunk:src/components/Textfield/style.module.scss */
|
|
1375
|
-
._textfield-
|
|
1378
|
+
._textfield-container_qi63h_1 {
|
|
1376
1379
|
display: flex;
|
|
1377
1380
|
flex-direction: column;
|
|
1378
1381
|
gap: var(--lp-sys-gap-positive-200);
|
|
1379
1382
|
width: 100%;
|
|
1380
1383
|
}
|
|
1381
|
-
._textfield-
|
|
1384
|
+
._textfield-container_qi63h_1 > ._textfield_qi63h_1:focus-within {
|
|
1385
|
+
outline: 2px solid var(--neutral-border-opaque-strong) !important;
|
|
1386
|
+
}
|
|
1387
|
+
._textfield-container_qi63h_1:hover > ._textfield_qi63h_1 {
|
|
1382
1388
|
outline: 1px solid var(--neutral-border-opaque-strong);
|
|
1383
1389
|
}
|
|
1384
|
-
._textfield-
|
|
1390
|
+
._textfield-container_qi63h_1[data-disabled=true] {
|
|
1385
1391
|
cursor: not-allowed;
|
|
1386
1392
|
}
|
|
1387
|
-
._textfield-
|
|
1393
|
+
._textfield-container_qi63h_1[data-disabled=true] > * {
|
|
1388
1394
|
cursor: not-allowed !important;
|
|
1389
1395
|
}
|
|
1390
|
-
._textfield-
|
|
1391
|
-
outline: 1px solid var(--neutral-border-opaque-normal)
|
|
1396
|
+
._textfield-container_qi63h_1[data-disabled=true] > ._textfield_qi63h_1 {
|
|
1397
|
+
outline: 1px solid var(--neutral-border-opaque-normal);
|
|
1398
|
+
}
|
|
1399
|
+
._textfield-container_qi63h_1[data-error=true] > ._textfield_qi63h_1 {
|
|
1400
|
+
outline: 2px solid var(--function-label-negative);
|
|
1401
|
+
}
|
|
1402
|
+
._textfield-container_qi63h_1[data-error=true] > ._textfield_qi63h_1 > ._input_qi63h_25 + ._label_qi63h_25 {
|
|
1403
|
+
color: var(--function-label-negative);
|
|
1404
|
+
}
|
|
1405
|
+
._textfield-container_qi63h_1[data-error=true] > ._textfield_qi63h_1:hover {
|
|
1406
|
+
outline: 2px solid var(--function-label-negative);
|
|
1407
|
+
}
|
|
1408
|
+
._textfield-container_qi63h_1[data-error=true] > ._textfield_qi63h_1:focus-within {
|
|
1409
|
+
outline: 2px solid var(--function-label-negative) !important;
|
|
1410
|
+
}
|
|
1411
|
+
._textfield-container_qi63h_1[data-error=true] > ._textfield_qi63h_1:focus-within > ._label_qi63h_25 {
|
|
1412
|
+
color: var(--function-label-negative);
|
|
1392
1413
|
}
|
|
1393
|
-
.
|
|
1414
|
+
._textfield-container_qi63h_1[data-error=true] > ._footer_qi63h_37 > ._error-wrapper_qi63h_37 > ._error-message_qi63h_37 {
|
|
1415
|
+
color: var(--function-label-negative);
|
|
1416
|
+
}
|
|
1417
|
+
._textfield_qi63h_1 {
|
|
1394
1418
|
box-sizing: border-box;
|
|
1395
1419
|
position: relative;
|
|
1396
1420
|
width: 100%;
|
|
@@ -1401,43 +1425,40 @@
|
|
|
1401
1425
|
cursor: text;
|
|
1402
1426
|
transition: ease-out all 0.1s;
|
|
1403
1427
|
}
|
|
1404
|
-
.
|
|
1405
|
-
outline: 2px solid var(--neutral-border-opaque-strong);
|
|
1406
|
-
}
|
|
1407
|
-
._textfield_ogykf_1:disabled {
|
|
1428
|
+
._textfield_qi63h_1:disabled {
|
|
1408
1429
|
outline: 1px solid var(--neutral-border-opaque-subtle);
|
|
1409
1430
|
cursor: not-allowed;
|
|
1410
1431
|
}
|
|
1411
|
-
.
|
|
1432
|
+
._textfield_qi63h_1:disabled > ._label_qi63h_25 {
|
|
1412
1433
|
color: var(--neutral-label-tertiary);
|
|
1413
1434
|
cursor: not-allowed;
|
|
1414
1435
|
}
|
|
1415
|
-
.
|
|
1436
|
+
._textfield_qi63h_1._label-out-textfield_qi63h_60 {
|
|
1416
1437
|
height: 52px;
|
|
1417
1438
|
margin-top: 24px;
|
|
1418
1439
|
}
|
|
1419
|
-
.
|
|
1440
|
+
._textfield_qi63h_1._white_qi63h_64 {
|
|
1420
1441
|
background: var(--neutral-container-lowest);
|
|
1421
1442
|
}
|
|
1422
|
-
.
|
|
1443
|
+
._textfield_qi63h_1._gray_qi63h_67 {
|
|
1423
1444
|
background: var(--neutral-container-mid);
|
|
1424
1445
|
}
|
|
1425
|
-
.
|
|
1446
|
+
._label_qi63h_25 {
|
|
1426
1447
|
position: absolute;
|
|
1427
1448
|
left: 0;
|
|
1428
1449
|
top: 0;
|
|
1429
1450
|
color: var(--neutral-label-secondary);
|
|
1430
1451
|
cursor: text;
|
|
1431
1452
|
}
|
|
1432
|
-
._label-
|
|
1453
|
+
._label-in_qi63h_79 {
|
|
1433
1454
|
transform-origin: left top;
|
|
1434
1455
|
transform: translate(var(--lp-sys-padding-component-400), 100%) scale(1);
|
|
1435
1456
|
transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
|
|
1436
1457
|
}
|
|
1437
|
-
._label-
|
|
1458
|
+
._label-out_qi63h_60 {
|
|
1438
1459
|
transform: translateY(-150%);
|
|
1439
1460
|
}
|
|
1440
|
-
._label-visually-
|
|
1461
|
+
._label-visually-hidden_qi63h_89 {
|
|
1441
1462
|
position: absolute;
|
|
1442
1463
|
width: 1px;
|
|
1443
1464
|
height: 1px;
|
|
@@ -1447,7 +1468,7 @@
|
|
|
1447
1468
|
white-space: nowrap;
|
|
1448
1469
|
border: 0;
|
|
1449
1470
|
}
|
|
1450
|
-
._input-
|
|
1471
|
+
._input-wrapper_qi63h_100 {
|
|
1451
1472
|
display: flex;
|
|
1452
1473
|
align-items: center;
|
|
1453
1474
|
justify-content: space-between;
|
|
@@ -1455,7 +1476,7 @@
|
|
|
1455
1476
|
height: 100%;
|
|
1456
1477
|
gap: var(--lp-sys-gap-positive-300);
|
|
1457
1478
|
}
|
|
1458
|
-
.
|
|
1479
|
+
._input_qi63h_25 {
|
|
1459
1480
|
background: transparent;
|
|
1460
1481
|
border: none;
|
|
1461
1482
|
outline: none;
|
|
@@ -1469,68 +1490,49 @@
|
|
|
1469
1490
|
font-weight: var(--lp-pri-font-weight-400);
|
|
1470
1491
|
line-height: 130%;
|
|
1471
1492
|
}
|
|
1472
|
-
.
|
|
1473
|
-
.
|
|
1493
|
+
._input_qi63h_25:focus + ._label-in_qi63h_79,
|
|
1494
|
+
._input_qi63h_25:not(:placeholder-shown) + ._label-in_qi63h_79 {
|
|
1474
1495
|
transform: translate(var(--lp-sys-padding-component-400), 60%) scale(0.8);
|
|
1475
1496
|
font-weight: var(--lp-pri-font-weight-500);
|
|
1476
1497
|
color: var(--neutral-label-primary);
|
|
1477
1498
|
}
|
|
1478
|
-
.
|
|
1499
|
+
._input_qi63h_25::placeholder {
|
|
1479
1500
|
color: var(--neutral-label-tertiary);
|
|
1480
1501
|
font-size: var(--lp-pri-font-size-15);
|
|
1481
1502
|
font-style: normal;
|
|
1482
1503
|
font-weight: var(--lp-pri-font-weight-400);
|
|
1483
1504
|
line-height: 130%;
|
|
1484
1505
|
}
|
|
1485
|
-
._label-out-
|
|
1506
|
+
._label-out-input_qi63h_136 {
|
|
1486
1507
|
transform: translateY(0);
|
|
1487
1508
|
}
|
|
1488
|
-
._input-action-
|
|
1509
|
+
._input-action-buttons_qi63h_140 {
|
|
1489
1510
|
display: flex;
|
|
1490
1511
|
align-items: center;
|
|
1491
1512
|
gap: var(--lp-sys-gap-positive-50);
|
|
1492
1513
|
}
|
|
1493
|
-
._action-
|
|
1514
|
+
._action-button_qi63h_146 {
|
|
1494
1515
|
margin-right: var(--lp-sys-padding-component-100);
|
|
1495
1516
|
}
|
|
1496
|
-
._action-
|
|
1517
|
+
._action-button_qi63h_146 > svg > circle {
|
|
1497
1518
|
fill: var(--neutral-label-secondary);
|
|
1498
1519
|
}
|
|
1499
|
-
.
|
|
1500
|
-
display: block;
|
|
1501
|
-
outline: 2px solid var(--function-label-negative);
|
|
1502
|
-
}
|
|
1503
|
-
._error_ogykf_135 > ._input_ogykf_82 + ._label_ogykf_38 {
|
|
1504
|
-
color: var(--function-label-negative);
|
|
1505
|
-
}
|
|
1506
|
-
._error_ogykf_135:hover {
|
|
1507
|
-
outline: 2px solid var(--function-label-negative);
|
|
1508
|
-
}
|
|
1509
|
-
._error_ogykf_135:focus-within {
|
|
1510
|
-
outline: 2px solid var(--function-label-negative);
|
|
1511
|
-
}
|
|
1512
|
-
._error_ogykf_135:focus-within > ._label_ogykf_38 {
|
|
1513
|
-
color: var(--function-label-negative);
|
|
1514
|
-
}
|
|
1515
|
-
._error_ogykf_135 > div > ._error-message_ogykf_151 {
|
|
1516
|
-
color: var(--function-label-negative);
|
|
1517
|
-
}
|
|
1518
|
-
._error-wrapper_ogykf_155 {
|
|
1520
|
+
._error-wrapper_qi63h_37 {
|
|
1519
1521
|
display: flex;
|
|
1520
1522
|
align-items: flex-end;
|
|
1521
1523
|
gap: 4px;
|
|
1522
1524
|
}
|
|
1523
|
-
._error-
|
|
1525
|
+
._error-wrapper_qi63h_37 > ._error-message_qi63h_37 {
|
|
1524
1526
|
color: var(--function-label-negative);
|
|
1525
1527
|
}
|
|
1526
|
-
.
|
|
1528
|
+
._footer_qi63h_37 {
|
|
1527
1529
|
display: flex;
|
|
1528
1530
|
justify-content: space-between;
|
|
1529
1531
|
align-items: center;
|
|
1530
1532
|
gap: 8px;
|
|
1531
1533
|
min-height: var(--lp-sys-icon-size-xs);
|
|
1532
1534
|
}
|
|
1533
|
-
.
|
|
1535
|
+
._character_qi63h_170 {
|
|
1534
1536
|
color: var(--neutral-label-secondary);
|
|
1535
1537
|
}
|
|
1536
1538
|
|
|
@@ -1951,11 +1953,10 @@
|
|
|
1951
1953
|
}
|
|
1952
1954
|
|
|
1953
1955
|
/* esbuild-sass-plugin:css-chunk:src/components/Snackbar/style.module.scss */
|
|
1954
|
-
.
|
|
1956
|
+
._Viewport_1q9l5_1 {
|
|
1955
1957
|
--viewport-padding: 25px;
|
|
1956
1958
|
position: fixed;
|
|
1957
1959
|
bottom: 0;
|
|
1958
|
-
right: 0;
|
|
1959
1960
|
display: flex;
|
|
1960
1961
|
flex-direction: column;
|
|
1961
1962
|
padding: var(--viewport-padding);
|
|
@@ -1967,82 +1968,97 @@
|
|
|
1967
1968
|
outline: none;
|
|
1968
1969
|
}
|
|
1969
1970
|
@media (max-width: 500px) {
|
|
1970
|
-
.
|
|
1971
|
+
._Viewport_1q9l5_1 {
|
|
1971
1972
|
max-width: calc(100vw - 50px);
|
|
1972
1973
|
}
|
|
1973
1974
|
}
|
|
1974
|
-
.
|
|
1975
|
+
._ViewportRight_1q9l5_21 {
|
|
1976
|
+
right: var(--right-distance, 0px);
|
|
1977
|
+
}
|
|
1978
|
+
._ViewportLeft_1q9l5_25 {
|
|
1979
|
+
left: var(--left-distance, 0px);
|
|
1980
|
+
}
|
|
1981
|
+
._extendedContainer_1q9l5_29 {
|
|
1982
|
+
min-width: 320px;
|
|
1983
|
+
}
|
|
1984
|
+
._NavigationWrapper_1q9l5_33 {
|
|
1975
1985
|
display: flex;
|
|
1976
1986
|
align-items: center;
|
|
1977
1987
|
justify-content: space-between;
|
|
1978
1988
|
cursor: pointer;
|
|
1979
1989
|
}
|
|
1980
|
-
.
|
|
1990
|
+
._Wrapper_1q9l5_40 {
|
|
1981
1991
|
display: flex;
|
|
1982
1992
|
align-items: center;
|
|
1983
1993
|
justify-content: space-between;
|
|
1984
1994
|
}
|
|
1985
|
-
.
|
|
1995
|
+
._Root_1q9l5_46 {
|
|
1986
1996
|
padding: var(--lp-sys-padding-component-400);
|
|
1987
1997
|
border-radius: var(--lp-sys-radius-m);
|
|
1988
1998
|
background: var(--inverse-container-static-high);
|
|
1989
1999
|
position: relative;
|
|
1990
2000
|
}
|
|
1991
|
-
.
|
|
2001
|
+
._Root_1q9l5_46:hover ._CloseButton_1q9l5_52 {
|
|
1992
2002
|
display: flex !important;
|
|
1993
2003
|
}
|
|
1994
|
-
.
|
|
2004
|
+
._CloseButton_1q9l5_52 {
|
|
1995
2005
|
position: absolute;
|
|
1996
2006
|
top: -8px;
|
|
1997
2007
|
right: -8px;
|
|
1998
2008
|
display: none !important;
|
|
1999
2009
|
}
|
|
2000
|
-
.
|
|
2010
|
+
._Content_1q9l5_63 {
|
|
2001
2011
|
display: flex;
|
|
2002
2012
|
flex-direction: column;
|
|
2003
2013
|
gap: var(--lp-sys-gap-positive-100);
|
|
2004
2014
|
}
|
|
2005
|
-
.
|
|
2015
|
+
._MarginRight12_1q9l5_69 {
|
|
2006
2016
|
margin-right: var(--lp-pri-size-12);
|
|
2007
2017
|
}
|
|
2008
|
-
.
|
|
2018
|
+
._ContentWrapper_1q9l5_73 {
|
|
2009
2019
|
display: flex;
|
|
2010
2020
|
align-items: center;
|
|
2011
2021
|
gap: var(--lp-sys-gap-positive-200);
|
|
2012
2022
|
}
|
|
2013
|
-
.
|
|
2023
|
+
._gap300_1q9l5_79 {
|
|
2014
2024
|
display: flex;
|
|
2015
2025
|
flex-direction: column;
|
|
2016
2026
|
gap: var(--lp-sys-gap-positive-300);
|
|
2017
2027
|
}
|
|
2018
|
-
.
|
|
2028
|
+
._minWidth32_1q9l5_85 {
|
|
2019
2029
|
min-width: 32px;
|
|
2020
2030
|
min-height: 32px;
|
|
2021
2031
|
}
|
|
2022
|
-
.
|
|
2032
|
+
._minWidth24_1q9l5_90 {
|
|
2023
2033
|
min-width: 24px;
|
|
2024
2034
|
min-height: 24px;
|
|
2025
2035
|
}
|
|
2026
|
-
.
|
|
2036
|
+
._JustifyEnd_1q9l5_95 {
|
|
2027
2037
|
justify-content: end;
|
|
2028
2038
|
}
|
|
2029
|
-
.
|
|
2030
|
-
animation:
|
|
2039
|
+
._Root_1q9l5_46[data-state=open] {
|
|
2040
|
+
animation: _slideIn_1q9l5_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
2031
2041
|
}
|
|
2032
|
-
.
|
|
2033
|
-
animation:
|
|
2042
|
+
._Root_1q9l5_46[data-state=closed] {
|
|
2043
|
+
animation: _hide_1q9l5_1 100ms ease-in;
|
|
2034
2044
|
}
|
|
2035
|
-
.
|
|
2045
|
+
._Root_1q9l5_46[data-swipe=move] {
|
|
2036
2046
|
transform: translateX(var(--radix-toast-swipe-move-x));
|
|
2037
2047
|
}
|
|
2038
|
-
.
|
|
2048
|
+
._Root_1q9l5_46[data-swipe=cancel] {
|
|
2039
2049
|
transform: translateX(0);
|
|
2040
2050
|
transition: transform 200ms ease-out;
|
|
2041
2051
|
}
|
|
2042
|
-
.
|
|
2043
|
-
animation:
|
|
2052
|
+
._Root_1q9l5_46[data-swipe=end] {
|
|
2053
|
+
animation: _swipeOut_1q9l5_1 100ms ease-out;
|
|
2054
|
+
}
|
|
2055
|
+
._ViewportLeft_1q9l5_25 ._Root_1q9l5_46[data-state=open] {
|
|
2056
|
+
animation: _slideInLeft_1q9l5_1 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
2044
2057
|
}
|
|
2045
|
-
|
|
2058
|
+
._ViewportLeft_1q9l5_25 ._Root_1q9l5_46[data-swipe=end] {
|
|
2059
|
+
animation: _swipeOutLeft_1q9l5_1 100ms ease-out;
|
|
2060
|
+
}
|
|
2061
|
+
@keyframes _hide_1q9l5_1 {
|
|
2046
2062
|
from {
|
|
2047
2063
|
opacity: 1;
|
|
2048
2064
|
}
|
|
@@ -2050,7 +2066,7 @@
|
|
|
2050
2066
|
opacity: 0;
|
|
2051
2067
|
}
|
|
2052
2068
|
}
|
|
2053
|
-
@keyframes
|
|
2069
|
+
@keyframes _slideIn_1q9l5_1 {
|
|
2054
2070
|
from {
|
|
2055
2071
|
transform: translateX(calc(100% + var(--viewport-padding)));
|
|
2056
2072
|
}
|
|
@@ -2058,7 +2074,15 @@
|
|
|
2058
2074
|
transform: translateX(0);
|
|
2059
2075
|
}
|
|
2060
2076
|
}
|
|
2061
|
-
@keyframes
|
|
2077
|
+
@keyframes _slideInLeft_1q9l5_1 {
|
|
2078
|
+
from {
|
|
2079
|
+
transform: translateX(calc(-100% - var(--viewport-padding)));
|
|
2080
|
+
}
|
|
2081
|
+
to {
|
|
2082
|
+
transform: translateX(0);
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
2085
|
+
@keyframes _swipeOut_1q9l5_1 {
|
|
2062
2086
|
from {
|
|
2063
2087
|
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
2064
2088
|
}
|
|
@@ -2066,6 +2090,14 @@
|
|
|
2066
2090
|
transform: translateX(calc(100% + var(--viewport-padding)));
|
|
2067
2091
|
}
|
|
2068
2092
|
}
|
|
2093
|
+
@keyframes _swipeOutLeft_1q9l5_1 {
|
|
2094
|
+
from {
|
|
2095
|
+
transform: translateX(var(--radix-toast-swipe-end-x));
|
|
2096
|
+
}
|
|
2097
|
+
to {
|
|
2098
|
+
transform: translateX(calc(-100% - var(--viewport-padding)));
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2069
2101
|
|
|
2070
2102
|
/* esbuild-sass-plugin:css-chunk:src/components/Snackbar/SnackbarIcon/style.module.scss */
|
|
2071
2103
|
._container_1witc_1 {
|
|
@@ -2073,12 +2105,15 @@
|
|
|
2073
2105
|
}
|
|
2074
2106
|
|
|
2075
2107
|
/* esbuild-sass-plugin:css-chunk:src/components/Snackbar/SnackbarButton/style.module.scss */
|
|
2076
|
-
.
|
|
2108
|
+
._Container_1e1eo_1 {
|
|
2077
2109
|
display: flex;
|
|
2078
2110
|
align-items: center;
|
|
2079
2111
|
gap: var(--lp-sys-gap-positive-400);
|
|
2080
2112
|
padding: 0 4px;
|
|
2081
2113
|
}
|
|
2114
|
+
._button_1e1eo_8 p {
|
|
2115
|
+
margin: 0;
|
|
2116
|
+
}
|
|
2082
2117
|
|
|
2083
2118
|
/* esbuild-sass-plugin:css-chunk:src/components/coach-mark/primitive/style.module.scss */
|
|
2084
2119
|
._anchor_1pmfi_1 {
|
package/lib/index.d.ts
CHANGED
|
@@ -503,7 +503,9 @@ type SnackbarPropWithId = SnackbarProp & {
|
|
|
503
503
|
};
|
|
504
504
|
|
|
505
505
|
declare const Snackbar: () => react_jsx_runtime.JSX.Element;
|
|
506
|
-
declare const SingleSnackbar: (props: SnackbarPropWithId
|
|
506
|
+
declare const SingleSnackbar: (props: SnackbarPropWithId & {
|
|
507
|
+
position: "left" | "right";
|
|
508
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
507
509
|
|
|
508
510
|
declare const snackbarAtom: recoil.RecoilState<SnackbarPropWithId[]>;
|
|
509
511
|
declare const useSnackbar: () => {
|
package/lib/index.js
CHANGED
|
@@ -13695,31 +13695,31 @@ var import_react2 = require("react");
|
|
|
13695
13695
|
|
|
13696
13696
|
// src/components/Button/style.module.scss
|
|
13697
13697
|
var style_module_default = {
|
|
13698
|
-
"button": "
|
|
13699
|
-
"default": "
|
|
13700
|
-
"primary": "
|
|
13701
|
-
"secondary": "
|
|
13702
|
-
"tertiary": "
|
|
13703
|
-
"quaternary": "
|
|
13704
|
-
"quinary": "
|
|
13705
|
-
"negative": "
|
|
13706
|
-
"static": "
|
|
13707
|
-
"inverse-static": "_inverse-
|
|
13708
|
-
"ghost": "
|
|
13709
|
-
"cta": "
|
|
13710
|
-
"l": "
|
|
13711
|
-
"m": "
|
|
13712
|
-
"s": "
|
|
13713
|
-
"align-center": "_align-
|
|
13714
|
-
"align-space-between": "_align-space-
|
|
13715
|
-
"content": "
|
|
13716
|
-
"full": "
|
|
13717
|
-
"fit-content": "_fit-
|
|
13718
|
-
"children": "
|
|
13719
|
-
"cta-children": "_cta-
|
|
13720
|
-
"l-children": "_l-
|
|
13721
|
-
"m-children": "_m-
|
|
13722
|
-
"s-children": "_s-
|
|
13698
|
+
"button": "_button_60r7l_1",
|
|
13699
|
+
"default": "_default_60r7l_28",
|
|
13700
|
+
"primary": "_primary_60r7l_36",
|
|
13701
|
+
"secondary": "_secondary_60r7l_44",
|
|
13702
|
+
"tertiary": "_tertiary_60r7l_52",
|
|
13703
|
+
"quaternary": "_quaternary_60r7l_60",
|
|
13704
|
+
"quinary": "_quinary_60r7l_77",
|
|
13705
|
+
"negative": "_negative_60r7l_92",
|
|
13706
|
+
"static": "_static_60r7l_100",
|
|
13707
|
+
"inverse-static": "_inverse-static_60r7l_108",
|
|
13708
|
+
"ghost": "_ghost_60r7l_116",
|
|
13709
|
+
"cta": "_cta_60r7l_151",
|
|
13710
|
+
"l": "_l_60r7l_159",
|
|
13711
|
+
"m": "_m_60r7l_166",
|
|
13712
|
+
"s": "_s_60r7l_44",
|
|
13713
|
+
"align-center": "_align-center_60r7l_180",
|
|
13714
|
+
"align-space-between": "_align-space-between_60r7l_185",
|
|
13715
|
+
"content": "_content_60r7l_190",
|
|
13716
|
+
"full": "_full_60r7l_196",
|
|
13717
|
+
"fit-content": "_fit-content_60r7l_200",
|
|
13718
|
+
"children": "_children_60r7l_204",
|
|
13719
|
+
"cta-children": "_cta-children_60r7l_210",
|
|
13720
|
+
"l-children": "_l-children_60r7l_215",
|
|
13721
|
+
"m-children": "_m-children_60r7l_220",
|
|
13722
|
+
"s-children": "_s-children_60r7l_225"
|
|
13723
13723
|
};
|
|
13724
13724
|
|
|
13725
13725
|
// src/components/Button/index.tsx
|
|
@@ -17127,25 +17127,24 @@ var import_react19 = require("react");
|
|
|
17127
17127
|
|
|
17128
17128
|
// src/components/Textfield/style.module.scss
|
|
17129
17129
|
var style_module_default13 = {
|
|
17130
|
-
"textfield-container": "_textfield-
|
|
17131
|
-
"textfield": "
|
|
17132
|
-
"
|
|
17133
|
-
"label
|
|
17134
|
-
"
|
|
17135
|
-
"
|
|
17136
|
-
"
|
|
17137
|
-
"label-out": "_label-
|
|
17138
|
-
"
|
|
17139
|
-
"
|
|
17140
|
-
"
|
|
17141
|
-
"label-out
|
|
17142
|
-
"
|
|
17143
|
-
"
|
|
17144
|
-
"
|
|
17145
|
-
"
|
|
17146
|
-
"
|
|
17147
|
-
"
|
|
17148
|
-
"character": "_character_ogykf_172"
|
|
17130
|
+
"textfield-container": "_textfield-container_qi63h_1",
|
|
17131
|
+
"textfield": "_textfield_qi63h_1",
|
|
17132
|
+
"input": "_input_qi63h_25",
|
|
17133
|
+
"label": "_label_qi63h_25",
|
|
17134
|
+
"footer": "_footer_qi63h_37",
|
|
17135
|
+
"error-wrapper": "_error-wrapper_qi63h_37",
|
|
17136
|
+
"error-message": "_error-message_qi63h_37",
|
|
17137
|
+
"label-out-textfield": "_label-out-textfield_qi63h_60",
|
|
17138
|
+
"white": "_white_qi63h_64",
|
|
17139
|
+
"gray": "_gray_qi63h_67",
|
|
17140
|
+
"label-in": "_label-in_qi63h_79",
|
|
17141
|
+
"label-out": "_label-out_qi63h_60",
|
|
17142
|
+
"label-visually-hidden": "_label-visually-hidden_qi63h_89",
|
|
17143
|
+
"input-wrapper": "_input-wrapper_qi63h_100",
|
|
17144
|
+
"label-out-input": "_label-out-input_qi63h_136",
|
|
17145
|
+
"input-action-buttons": "_input-action-buttons_qi63h_140",
|
|
17146
|
+
"action-button": "_action-button_qi63h_146",
|
|
17147
|
+
"character": "_character_qi63h_170"
|
|
17149
17148
|
};
|
|
17150
17149
|
|
|
17151
17150
|
// src/components/Textfield/index.tsx
|
|
@@ -17221,12 +17220,11 @@ var Textfield = (0, import_react19.forwardRef)((props, ref) => {
|
|
|
17221
17220
|
}
|
|
17222
17221
|
}, "handleDeidentify");
|
|
17223
17222
|
(0, import_react19.useImperativeHandle)(ref, () => inputRef.current);
|
|
17224
|
-
return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)("div", { className: style_module_default13["textfield-container"], "data-disabled": disabled, children: [
|
|
17223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)("div", { className: style_module_default13["textfield-container"], "data-disabled": disabled, "data-error": !!error, children: [
|
|
17225
17224
|
/* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
|
|
17226
17225
|
"div",
|
|
17227
17226
|
{
|
|
17228
17227
|
className: (0, import_clsx15.default)(defaultTextfieldVariants({ color }), {
|
|
17229
|
-
[style_module_default13.error]: !!error,
|
|
17230
17228
|
[style_module_default13["label-out-textfield"]]: !label || labelType === "out"
|
|
17231
17229
|
}),
|
|
17232
17230
|
onClick: handleTextfieldClick,
|
|
@@ -17607,21 +17605,26 @@ var List = Object.assign(ListRoot, { Item });
|
|
|
17607
17605
|
|
|
17608
17606
|
// src/components/Snackbar/style.module.scss
|
|
17609
17607
|
var style_module_default17 = {
|
|
17610
|
-
"Viewport": "
|
|
17611
|
-
"
|
|
17612
|
-
"
|
|
17613
|
-
"
|
|
17614
|
-
"
|
|
17615
|
-
"
|
|
17616
|
-
"
|
|
17617
|
-
"
|
|
17618
|
-
"
|
|
17619
|
-
"
|
|
17620
|
-
"
|
|
17621
|
-
"
|
|
17622
|
-
"
|
|
17623
|
-
"
|
|
17624
|
-
"
|
|
17608
|
+
"Viewport": "_Viewport_1q9l5_1",
|
|
17609
|
+
"ViewportRight": "_ViewportRight_1q9l5_21",
|
|
17610
|
+
"ViewportLeft": "_ViewportLeft_1q9l5_25",
|
|
17611
|
+
"extendedContainer": "_extendedContainer_1q9l5_29",
|
|
17612
|
+
"NavigationWrapper": "_NavigationWrapper_1q9l5_33",
|
|
17613
|
+
"Wrapper": "_Wrapper_1q9l5_40",
|
|
17614
|
+
"Root": "_Root_1q9l5_46",
|
|
17615
|
+
"CloseButton": "_CloseButton_1q9l5_52",
|
|
17616
|
+
"Content": "_Content_1q9l5_63",
|
|
17617
|
+
"MarginRight12": "_MarginRight12_1q9l5_69",
|
|
17618
|
+
"ContentWrapper": "_ContentWrapper_1q9l5_73",
|
|
17619
|
+
"gap300": "_gap300_1q9l5_79",
|
|
17620
|
+
"minWidth32": "_minWidth32_1q9l5_85",
|
|
17621
|
+
"minWidth24": "_minWidth24_1q9l5_90",
|
|
17622
|
+
"JustifyEnd": "_JustifyEnd_1q9l5_95",
|
|
17623
|
+
"slideIn": "_slideIn_1q9l5_1",
|
|
17624
|
+
"hide": "_hide_1q9l5_1",
|
|
17625
|
+
"swipeOut": "_swipeOut_1q9l5_1",
|
|
17626
|
+
"slideInLeft": "_slideInLeft_1q9l5_1",
|
|
17627
|
+
"swipeOutLeft": "_swipeOutLeft_1q9l5_1"
|
|
17625
17628
|
};
|
|
17626
17629
|
|
|
17627
17630
|
// src/components/Snackbar/index.tsx
|
|
@@ -17676,22 +17679,28 @@ var import_clsx19 = __toESM(require("clsx"));
|
|
|
17676
17679
|
// src/components/Snackbar/SnackbarClose/index.tsx
|
|
17677
17680
|
var import_jsx_runtime214 = require("react/jsx-runtime");
|
|
17678
17681
|
var SnackbarClose = /* @__PURE__ */ __name(({ onCloseSnackbar, className }) => {
|
|
17679
|
-
return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
|
|
17682
|
+
return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { className, children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
|
|
17680
17683
|
IconButton,
|
|
17681
17684
|
{
|
|
17682
|
-
icon: {
|
|
17685
|
+
icon: {
|
|
17686
|
+
name: "close-fill",
|
|
17687
|
+
fill: true,
|
|
17688
|
+
thick: true,
|
|
17689
|
+
type: "neutral-label-static-secondary",
|
|
17690
|
+
fillType: "inverse-label-static-primary"
|
|
17691
|
+
},
|
|
17683
17692
|
level: "static",
|
|
17684
17693
|
size: "xs",
|
|
17685
|
-
className,
|
|
17686
17694
|
fill: false,
|
|
17687
17695
|
onClick: onCloseSnackbar
|
|
17688
17696
|
}
|
|
17689
|
-
);
|
|
17697
|
+
) });
|
|
17690
17698
|
}, "SnackbarClose");
|
|
17691
17699
|
|
|
17692
17700
|
// src/components/Snackbar/SnackbarButton/style.module.scss
|
|
17693
17701
|
var style_module_default19 = {
|
|
17694
|
-
"Container": "
|
|
17702
|
+
"Container": "_Container_1e1eo_1",
|
|
17703
|
+
"button": "_button_1e1eo_8"
|
|
17695
17704
|
};
|
|
17696
17705
|
|
|
17697
17706
|
// src/components/Snackbar/SnackbarButton/index.tsx
|
|
@@ -17700,8 +17709,18 @@ var import_jsx_runtime215 = require("react/jsx-runtime");
|
|
|
17700
17709
|
var SnackbarButton = /* @__PURE__ */ __name(({ button, containerStyle }) => {
|
|
17701
17710
|
if (button?.text || button?.basic) {
|
|
17702
17711
|
return /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)("div", { className: (0, import_clsx18.default)(style_module_default19.Container, containerStyle), children: [
|
|
17703
|
-
button?.text && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
|
|
17704
|
-
|
|
17712
|
+
button?.text && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
|
|
17713
|
+
TextButton,
|
|
17714
|
+
{
|
|
17715
|
+
size: "s",
|
|
17716
|
+
onClick: button.text.onClick,
|
|
17717
|
+
level: "inverse-static",
|
|
17718
|
+
thick: false,
|
|
17719
|
+
className: style_module_default19.button,
|
|
17720
|
+
children: button.text.text
|
|
17721
|
+
}
|
|
17722
|
+
),
|
|
17723
|
+
button?.basic && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Button, { size: "s", onClick: button.basic.onClick, fill: true, level: "static", children: button.basic.text })
|
|
17705
17724
|
] });
|
|
17706
17725
|
}
|
|
17707
17726
|
return null;
|
|
@@ -17716,9 +17735,20 @@ var import_react24 = (
|
|
|
17716
17735
|
var { Provider: Provider2, Root: Root3, Viewport: Viewport2 } = import_radix_ui10.Toast;
|
|
17717
17736
|
var Snackbar = /* @__PURE__ */ __name(() => {
|
|
17718
17737
|
const list = (0, import_recoil4.useRecoilValue)(snackbarAtom);
|
|
17719
|
-
|
|
17720
|
-
|
|
17721
|
-
|
|
17738
|
+
const rightSnackbars = list.filter((snackbar) => snackbar.position !== "left");
|
|
17739
|
+
const leftSnackbars = list.filter((snackbar) => snackbar.position === "left");
|
|
17740
|
+
return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(import_jsx_runtime216.Fragment, { children: [
|
|
17741
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(Provider2, { children: [
|
|
17742
|
+
rightSnackbars.map((props) => /* @__PURE__ */ (0, import_react24.createElement)(SingleSnackbar, { ...props, key: props.snackbarId, position: "right" })),
|
|
17743
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Viewport2, { className: (0, import_clsx19.default)(style_module_default17.Viewport, style_module_default17.ViewportRight) })
|
|
17744
|
+
] }),
|
|
17745
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(Provider2, { children: [
|
|
17746
|
+
leftSnackbars.map((props) => (
|
|
17747
|
+
// eslint-disable-next-line react/prop-types
|
|
17748
|
+
/* @__PURE__ */ (0, import_react24.createElement)(SingleSnackbar, { ...props, key: props.snackbarId, position: "left" })
|
|
17749
|
+
)),
|
|
17750
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Viewport2, { className: (0, import_clsx19.default)(style_module_default17.Viewport, style_module_default17.ViewportLeft) })
|
|
17751
|
+
] })
|
|
17722
17752
|
] });
|
|
17723
17753
|
}, "Snackbar");
|
|
17724
17754
|
var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
@@ -17746,7 +17776,7 @@ var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
|
17746
17776
|
name: "arrow-forward",
|
|
17747
17777
|
fill: true,
|
|
17748
17778
|
thick: true,
|
|
17749
|
-
type: "inverse-label-primary",
|
|
17779
|
+
type: "inverse-label-static-primary",
|
|
17750
17780
|
className: description ? style_module_default17.minWidth32 : style_module_default17.minWidth24,
|
|
17751
17781
|
size: description ? "l" : "m"
|
|
17752
17782
|
}
|
|
@@ -17757,14 +17787,22 @@ var SingleSnackbar = /* @__PURE__ */ __name((props) => {
|
|
|
17757
17787
|
);
|
|
17758
17788
|
}
|
|
17759
17789
|
if (props.kind === "extended") {
|
|
17760
|
-
return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(
|
|
17761
|
-
|
|
17762
|
-
|
|
17763
|
-
|
|
17764
|
-
|
|
17765
|
-
|
|
17766
|
-
|
|
17767
|
-
|
|
17790
|
+
return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(
|
|
17791
|
+
Root3,
|
|
17792
|
+
{
|
|
17793
|
+
onSwipeEnd: onCloseSnackbar,
|
|
17794
|
+
className: (0, import_clsx19.default)(style_module_default17.Root, style_module_default17.gap300, style_module_default17.extendedContainer),
|
|
17795
|
+
open: true,
|
|
17796
|
+
children: [
|
|
17797
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className: style_module_default17.Content, children: [
|
|
17798
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarTitle, { title }),
|
|
17799
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarDescription, { description })
|
|
17800
|
+
] }),
|
|
17801
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarButton, { button: props.button, containerStyle: style_module_default17.JustifyEnd }),
|
|
17802
|
+
/* @__PURE__ */ (0, import_jsx_runtime216.jsx)(SnackbarClose, { onCloseSnackbar, className: style_module_default17.CloseButton })
|
|
17803
|
+
]
|
|
17804
|
+
}
|
|
17805
|
+
);
|
|
17768
17806
|
}
|
|
17769
17807
|
return /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)(Root3, { onSwipeEnd: onCloseSnackbar, className: (0, import_clsx19.default)(style_module_default17.Root, style_module_default17.Wrapper), open: true, children: [
|
|
17770
17808
|
/* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { className: style_module_default17.ContentWrapper, children: [
|