@rescui/textarea 0.7.10 → 0.7.11
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/_virtual/index.css.js +7 -7
- package/lib/index.css +96 -96
- package/lib/textarea.p.module.css.js +19 -19
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
2
|
+
"icon": "_icon_afka1x_4",
|
|
3
|
+
"sizeXS": "_sizeXS_afka1x_14",
|
|
4
|
+
"sizeS": "_sizeS_afka1x_18",
|
|
5
|
+
"sizeM": "_sizeM_afka1x_22",
|
|
6
|
+
"sizeL": "_sizeL_afka1x_26",
|
|
7
|
+
"light": "_light_afka1x_30",
|
|
8
|
+
"dark": "_dark_afka1x_34"
|
|
9
9
|
};
|
|
10
10
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_afka1x_4{
|
|
2
2
|
--_rs-theme-dark:var(
|
|
3
3
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
4
4
|
var(--rs-theme-dark, 0)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
9
9
|
}
|
|
10
10
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
11
|
-
.
|
|
11
|
+
._icon_afka1x_4{
|
|
12
12
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
13
13
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
14
14
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
20
|
-
.
|
|
20
|
+
._icon_afka1x_4{
|
|
21
21
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
22
22
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
23
23
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -25,30 +25,30 @@
|
|
|
25
25
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
._icon_afka1x_4{
|
|
29
29
|
|
|
30
30
|
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
31
31
|
|
|
32
32
|
width:auto;
|
|
33
33
|
height:var(--_rs-icons-height);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
._sizeXS_afka1x_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_afka1x_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_afka1x_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_afka1x_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_afka1x_30{
|
|
48
48
|
--rs-theme-dark:0;
|
|
49
49
|
--_rs-icons-themed-fill-or-initial:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
._dark_afka1x_34{
|
|
52
52
|
--rs-theme-dark:1;
|
|
53
53
|
--_rs-icons-themed-fill-or-initial:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
54
54
|
}
|
|
@@ -60,21 +60,21 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._themeLight_1qjctqj_8{
|
|
64
64
|
--rs-theme-dark:0;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._themeDark_1qjctqj_11{
|
|
67
67
|
--rs-theme-dark:1;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
._sizeS_1qjctqj_15{
|
|
70
70
|
--_rs-textarea-vertical-padding:6px;
|
|
71
71
|
--_rs-textarea-horizontal-padding:8px;
|
|
72
72
|
--_rs-textarea-parts-offset:4px;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
._sizeS_1qjctqj_15 [data-rs-internal='textarea__busy-icon']:not(html){
|
|
75
75
|
--_rs-icons-height:20px;
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
._sizeS_1qjctqj_15 [data-rs-internal='textarea__inner']::-moz-placeholder{
|
|
78
78
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
79
79
|
--_rs-typography-text-transform:initial;
|
|
80
80
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
109
109
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
110
110
|
}
|
|
111
|
-
.
|
|
112
|
-
.
|
|
113
|
-
.
|
|
114
|
-
.
|
|
111
|
+
._sizeS_1qjctqj_15 [data-rs-internal='textarea__label'],
|
|
112
|
+
._sizeS_1qjctqj_15 [data-rs-internal='textarea__inner'],
|
|
113
|
+
._sizeS_1qjctqj_15 [data-rs-internal='textarea__inner']::placeholder,
|
|
114
|
+
._sizeS_1qjctqj_15 [data-rs-internal='textarea__suffix']{
|
|
115
115
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
116
116
|
--_rs-typography-text-transform:initial;
|
|
117
117
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
146
146
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
147
147
|
}
|
|
148
|
-
.
|
|
148
|
+
._sizeS_1qjctqj_15 [data-rs-internal='textarea__bold-label']{
|
|
149
149
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
150
150
|
--_rs-typography-text-transform:initial;
|
|
151
151
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
177
177
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
178
178
|
}
|
|
179
|
-
.
|
|
179
|
+
._sizeS_1qjctqj_15 [data-rs-internal='textarea__note']{
|
|
180
180
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
181
181
|
--_rs-typography-text-transform:initial;
|
|
182
182
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
211
211
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
212
212
|
}
|
|
213
|
-
.
|
|
213
|
+
._sizeS_1qjctqj_15 [data-rs-internal='textarea__error-message']{
|
|
214
214
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
215
215
|
--_rs-typography-text-transform:initial;
|
|
216
216
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -241,18 +241,18 @@
|
|
|
241
241
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
242
242
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
243
243
|
}
|
|
244
|
-
.
|
|
244
|
+
._sizeS_1qjctqj_15 [data-rs-internal='textarea__error-icon']:not(html){
|
|
245
245
|
--_rs-icons-height:20px;
|
|
246
246
|
}
|
|
247
|
-
.
|
|
247
|
+
._sizeM_1qjctqj_18{
|
|
248
248
|
--_rs-textarea-vertical-padding:8px;
|
|
249
249
|
--_rs-textarea-horizontal-padding:8px;
|
|
250
250
|
--_rs-textarea-parts-offset:8px;
|
|
251
251
|
}
|
|
252
|
-
.
|
|
252
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__busy-icon']:not(html){
|
|
253
253
|
--_rs-icons-height:24px;
|
|
254
254
|
}
|
|
255
|
-
.
|
|
255
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__inner']::-moz-placeholder{
|
|
256
256
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
257
257
|
--_rs-typography-text-transform:initial;
|
|
258
258
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -290,14 +290,14 @@
|
|
|
290
290
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
291
291
|
}
|
|
292
292
|
@media screen and (max-width: 640px){
|
|
293
|
-
.
|
|
293
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__inner']::-moz-placeholder{
|
|
294
294
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
|
-
.
|
|
298
|
-
.
|
|
299
|
-
.
|
|
300
|
-
.
|
|
297
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__label'],
|
|
298
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__inner'],
|
|
299
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__inner']::placeholder,
|
|
300
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__suffix']{
|
|
301
301
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
302
302
|
--_rs-typography-text-transform:initial;
|
|
303
303
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -335,14 +335,14 @@
|
|
|
335
335
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
336
336
|
}
|
|
337
337
|
@media screen and (max-width: 640px){
|
|
338
|
-
.
|
|
339
|
-
.
|
|
340
|
-
.
|
|
341
|
-
.
|
|
338
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__label'],
|
|
339
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__inner'],
|
|
340
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__inner']::placeholder,
|
|
341
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__suffix']{
|
|
342
342
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
|
-
.
|
|
345
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__bold-label']{
|
|
346
346
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
347
347
|
--_rs-typography-text-transform:initial;
|
|
348
348
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
374
374
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
375
375
|
}
|
|
376
|
-
.
|
|
376
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__note']{
|
|
377
377
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
378
378
|
--_rs-typography-text-transform:initial;
|
|
379
379
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
408
408
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
409
409
|
}
|
|
410
|
-
.
|
|
410
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__error-message']{
|
|
411
411
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
412
412
|
--_rs-typography-text-transform:initial;
|
|
413
413
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -438,18 +438,18 @@
|
|
|
438
438
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
439
439
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
440
440
|
}
|
|
441
|
-
.
|
|
441
|
+
._sizeM_1qjctqj_18 [data-rs-internal='textarea__error-icon']:not(html){
|
|
442
442
|
--_rs-icons-height:20px;
|
|
443
443
|
}
|
|
444
|
-
.
|
|
444
|
+
._sizeL_1qjctqj_21{
|
|
445
445
|
--_rs-textarea-vertical-padding:12px;
|
|
446
446
|
--_rs-textarea-horizontal-padding:16px;
|
|
447
447
|
--_rs-textarea-parts-offset:8px;
|
|
448
448
|
}
|
|
449
|
-
.
|
|
449
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__busy-icon']:not(html){
|
|
450
450
|
--_rs-icons-height:28px;
|
|
451
451
|
}
|
|
452
|
-
.
|
|
452
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__inner']::-moz-placeholder{
|
|
453
453
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
454
454
|
--_rs-typography-text-transform:initial;
|
|
455
455
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -487,14 +487,14 @@
|
|
|
487
487
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
488
488
|
}
|
|
489
489
|
@media screen and (max-width: 640px){
|
|
490
|
-
.
|
|
490
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__inner']::-moz-placeholder{
|
|
491
491
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
.
|
|
495
|
-
.
|
|
496
|
-
.
|
|
497
|
-
.
|
|
494
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__label'],
|
|
495
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__inner'],
|
|
496
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__inner']::placeholder,
|
|
497
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__suffix']{
|
|
498
498
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
499
499
|
--_rs-typography-text-transform:initial;
|
|
500
500
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -532,14 +532,14 @@
|
|
|
532
532
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
533
533
|
}
|
|
534
534
|
@media screen and (max-width: 640px){
|
|
535
|
-
.
|
|
536
|
-
.
|
|
537
|
-
.
|
|
538
|
-
.
|
|
535
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__label'],
|
|
536
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__inner'],
|
|
537
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__inner']::placeholder,
|
|
538
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__suffix']{
|
|
539
539
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
.
|
|
542
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__bold-label']{
|
|
543
543
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
544
544
|
--_rs-typography-text-transform:initial;
|
|
545
545
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
571
571
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
572
572
|
}
|
|
573
|
-
.
|
|
573
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__note']{
|
|
574
574
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
575
575
|
--_rs-typography-text-transform:initial;
|
|
576
576
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -608,11 +608,11 @@
|
|
|
608
608
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
609
609
|
}
|
|
610
610
|
@media screen and (max-width: 640px){
|
|
611
|
-
.
|
|
611
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__note']{
|
|
612
612
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
|
-
.
|
|
615
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__error-message']{
|
|
616
616
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
617
617
|
--_rs-typography-text-transform:initial;
|
|
618
618
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -643,10 +643,10 @@
|
|
|
643
643
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
644
644
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
645
645
|
}
|
|
646
|
-
.
|
|
646
|
+
._sizeL_1qjctqj_21 [data-rs-internal='textarea__error-icon']:not(html){
|
|
647
647
|
--_rs-icons-height:24px;
|
|
648
648
|
}
|
|
649
|
-
.
|
|
649
|
+
._classic_1qjctqj_25{
|
|
650
650
|
--_rs-textarea-focused-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
651
651
|
--_rs-textarea-focused-background-color:rgb(
|
|
652
652
|
calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*182)
|
|
@@ -663,7 +663,7 @@
|
|
|
663
663
|
calc(232 - var(--_rs-theme-dark-coefficient, 0)*138), calc(232 - var(--_rs-theme-dark-coefficient, 0)*138), calc(232 - var(--_rs-theme-dark-coefficient, 0)*136)
|
|
664
664
|
);
|
|
665
665
|
}
|
|
666
|
-
.
|
|
666
|
+
._rock_1qjctqj_28{
|
|
667
667
|
--_rs-textarea-focused-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
668
668
|
--_rs-textarea-focused-background-color:rgb(
|
|
669
669
|
calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227)
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
calc(94 + var(--_rs-theme-dark-coefficient, 0)*138), calc(94 + var(--_rs-theme-dark-coefficient, 0)*138), calc(96 + var(--_rs-theme-dark-coefficient, 0)*136)
|
|
681
681
|
);
|
|
682
682
|
}
|
|
683
|
-
.
|
|
683
|
+
._labelWrapper_1qjctqj_32{
|
|
684
684
|
--_rs-theme-dark:var(
|
|
685
685
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
686
686
|
var(--rs-theme-dark, 0)
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
691
691
|
}
|
|
692
692
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
693
|
-
.
|
|
693
|
+
._labelWrapper_1qjctqj_32{
|
|
694
694
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
695
695
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
696
696
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -699,7 +699,7 @@
|
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
701
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
702
|
-
.
|
|
702
|
+
._labelWrapper_1qjctqj_32{
|
|
703
703
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
704
704
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
705
705
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -707,11 +707,11 @@
|
|
|
707
707
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
.
|
|
710
|
+
._labelWrapper_1qjctqj_32 {
|
|
711
711
|
|
|
712
712
|
display:block;
|
|
713
713
|
}
|
|
714
|
-
.
|
|
714
|
+
._wrapper_1qjctqj_39{
|
|
715
715
|
position:relative;
|
|
716
716
|
|
|
717
717
|
display:flex;
|
|
@@ -719,10 +719,10 @@
|
|
|
719
719
|
|
|
720
720
|
cursor:text;
|
|
721
721
|
}
|
|
722
|
-
.
|
|
722
|
+
._disabled_1qjctqj_47 ._wrapper_1qjctqj_39{
|
|
723
723
|
cursor:default;
|
|
724
724
|
}
|
|
725
|
-
.
|
|
725
|
+
._inner_1qjctqj_52{
|
|
726
726
|
letter-spacing:var(
|
|
727
727
|
--rs-text-base-letter-spacing,
|
|
728
728
|
var(--_rs-typography-letter-spacing)
|
|
@@ -754,25 +754,25 @@
|
|
|
754
754
|
background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*207), calc(255 - var(--_rs-theme-dark-coefficient, 0)*207), calc(255 - var(--_rs-theme-dark-coefficient, 0)*204));
|
|
755
755
|
}
|
|
756
756
|
@media (hover: hover){
|
|
757
|
-
.
|
|
757
|
+
._inner_1qjctqj_52{
|
|
758
758
|
scrollbar-color:#A3A3A4 rgb(calc(232 - var(--_rs-theme-dark-coefficient, 0)*138), calc(232 - var(--_rs-theme-dark-coefficient, 0)*138), calc(232 - var(--_rs-theme-dark-coefficient, 0)*136));
|
|
759
759
|
scrollbar-width:thin
|
|
760
760
|
}
|
|
761
761
|
|
|
762
|
-
.
|
|
762
|
+
._inner_1qjctqj_52::-webkit-scrollbar{
|
|
763
763
|
width:7px;
|
|
764
764
|
height:8px;
|
|
765
765
|
}
|
|
766
766
|
|
|
767
|
-
.
|
|
767
|
+
._inner_1qjctqj_52::-webkit-scrollbar-corner{
|
|
768
768
|
background-color:transparent;
|
|
769
769
|
}
|
|
770
770
|
|
|
771
|
-
.
|
|
771
|
+
._inner_1qjctqj_52::-webkit-scrollbar-track{
|
|
772
772
|
background-color:rgb(calc(232 - var(--_rs-theme-dark-coefficient, 0)*138), calc(232 - var(--_rs-theme-dark-coefficient, 0)*138), calc(232 - var(--_rs-theme-dark-coefficient, 0)*136));
|
|
773
773
|
}
|
|
774
774
|
|
|
775
|
-
.
|
|
775
|
+
._inner_1qjctqj_52::-webkit-scrollbar-thumb{
|
|
776
776
|
width:7px;
|
|
777
777
|
|
|
778
778
|
border-radius:7px;
|
|
@@ -780,66 +780,66 @@
|
|
|
780
780
|
background:#A3A3A4;
|
|
781
781
|
}
|
|
782
782
|
|
|
783
|
-
.
|
|
783
|
+
._focused_1qjctqj_104 ._inner_1qjctqj_52{
|
|
784
784
|
scrollbar-color:#A3A3A4 var(--_rs-textarea-focused-scrollbar-track-color);
|
|
785
785
|
}
|
|
786
786
|
|
|
787
|
-
.
|
|
787
|
+
._focused_1qjctqj_104 ._inner_1qjctqj_52::-webkit-scrollbar-track{
|
|
788
788
|
background-color:var(--_rs-textarea-focused-scrollbar-track-color);
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
|
-
.
|
|
791
|
+
._inner_1qjctqj_52:focus{
|
|
792
792
|
outline:none;
|
|
793
793
|
}
|
|
794
|
-
.
|
|
794
|
+
._inner_1qjctqj_52::-moz-placeholder{
|
|
795
795
|
opacity:1;
|
|
796
796
|
|
|
797
797
|
color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.5);
|
|
798
798
|
}
|
|
799
|
-
.
|
|
799
|
+
._focused_1qjctqj_104 ._inner_1qjctqj_52::-moz-placeholder{
|
|
800
800
|
color:var(--_rs-textarea-focused-placeholder-color);
|
|
801
801
|
}
|
|
802
|
-
.
|
|
802
|
+
._inner_1qjctqj_52::placeholder{
|
|
803
803
|
opacity:1;
|
|
804
804
|
|
|
805
805
|
color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.5);
|
|
806
806
|
}
|
|
807
|
-
.
|
|
807
|
+
._focused_1qjctqj_104 ._inner_1qjctqj_52::placeholder{
|
|
808
808
|
color:var(--_rs-textarea-focused-placeholder-color);
|
|
809
809
|
}
|
|
810
|
-
.
|
|
811
|
-
.
|
|
810
|
+
._focused_1qjctqj_104 ._inner_1qjctqj_52,
|
|
811
|
+
._error_1qjctqj_129 ._inner_1qjctqj_52{
|
|
812
812
|
--_rs-textarea-border-width:2px;
|
|
813
813
|
}
|
|
814
|
-
.
|
|
814
|
+
._inner_1qjctqj_52._filled_1qjctqj_133{
|
|
815
815
|
border-color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.3);
|
|
816
816
|
}
|
|
817
817
|
@media (hover: hover){
|
|
818
|
-
.
|
|
818
|
+
._inner_1qjctqj_52:hover{
|
|
819
819
|
border-color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.5);
|
|
820
820
|
|
|
821
821
|
background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*184), calc(255 - var(--_rs-theme-dark-coefficient, 0)*182));
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
|
-
.
|
|
824
|
+
._focused_1qjctqj_104 ._inner_1qjctqj_52{
|
|
825
825
|
border-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
826
826
|
|
|
827
827
|
color:var(--_rs-textarea-focused-color);
|
|
828
828
|
background-color:var(--_rs-textarea-focused-background-color);
|
|
829
829
|
}
|
|
830
|
-
.
|
|
830
|
+
._disabled_1qjctqj_47 ._inner_1qjctqj_52{
|
|
831
831
|
border-color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.2);
|
|
832
832
|
|
|
833
833
|
color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.5);
|
|
834
834
|
|
|
835
835
|
background-color:rgb(calc(244 - var(--_rs-theme-dark-coefficient, 0)*219), calc(244 - var(--_rs-theme-dark-coefficient, 0)*219), calc(244 - var(--_rs-theme-dark-coefficient, 0)*216));
|
|
836
836
|
}
|
|
837
|
-
.
|
|
838
|
-
.
|
|
839
|
-
.
|
|
837
|
+
._labelWrapper_1qjctqj_32._error_1qjctqj_129 ._inner_1qjctqj_52,
|
|
838
|
+
._labelWrapper_1qjctqj_32._error_1qjctqj_129 ._inner_1qjctqj_52:hover,
|
|
839
|
+
._labelWrapper_1qjctqj_32._error_1qjctqj_129._focused_1qjctqj_104 ._inner_1qjctqj_52{
|
|
840
840
|
border-color:#F45C4A;
|
|
841
841
|
}
|
|
842
|
-
.
|
|
842
|
+
._busyIcon_1qjctqj_167{
|
|
843
843
|
position:absolute;
|
|
844
844
|
right:calc(var(--_rs-textarea-horizontal-padding) - 1px);
|
|
845
845
|
bottom:calc(var(--_rs-textarea-vertical-padding) - 1px);
|
|
@@ -850,13 +850,13 @@
|
|
|
850
850
|
|
|
851
851
|
color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7);
|
|
852
852
|
}
|
|
853
|
-
.
|
|
853
|
+
._focused_1qjctqj_104 ._busyIcon_1qjctqj_167{
|
|
854
854
|
color:var(--_rs-textarea-focused-busy-icon-color);
|
|
855
855
|
}
|
|
856
|
-
.
|
|
856
|
+
._disabled_1qjctqj_47 ._busyIcon_1qjctqj_167{
|
|
857
857
|
color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.5);
|
|
858
858
|
}
|
|
859
|
-
.
|
|
859
|
+
._errorMessage_1qjctqj_187{
|
|
860
860
|
letter-spacing:var(
|
|
861
861
|
--rs-text-base-letter-spacing,
|
|
862
862
|
var(--_rs-typography-letter-spacing)
|
|
@@ -878,12 +878,12 @@
|
|
|
878
878
|
-moz-column-gap:8px;
|
|
879
879
|
column-gap:8px;
|
|
880
880
|
}
|
|
881
|
-
.
|
|
881
|
+
._errorIcon_1qjctqj_199{
|
|
882
882
|
flex:0 0 auto;
|
|
883
883
|
|
|
884
884
|
color:#F45C4A;
|
|
885
885
|
}
|
|
886
|
-
.
|
|
886
|
+
._note_1qjctqj_205{
|
|
887
887
|
letter-spacing:var(
|
|
888
888
|
--rs-text-base-letter-spacing,
|
|
889
889
|
var(--_rs-typography-letter-spacing)
|
|
@@ -902,16 +902,16 @@
|
|
|
902
902
|
|
|
903
903
|
margin-top:var(--_rs-textarea-parts-offset);
|
|
904
904
|
}
|
|
905
|
-
.
|
|
905
|
+
._disabled_1qjctqj_47 ._note_1qjctqj_205{
|
|
906
906
|
color:var(
|
|
907
907
|
--rs-color-pale,
|
|
908
908
|
rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.5)
|
|
909
909
|
);
|
|
910
910
|
}
|
|
911
|
-
.
|
|
911
|
+
._errorMessage_1qjctqj_187 + ._note_1qjctqj_205{
|
|
912
912
|
margin-top:calc(var(--_rs-textarea-parts-offset) - 4px);
|
|
913
913
|
}
|
|
914
|
-
.
|
|
914
|
+
._label_1qjctqj_32{
|
|
915
915
|
letter-spacing:var(
|
|
916
916
|
--rs-text-base-letter-spacing,
|
|
917
917
|
var(--_rs-typography-letter-spacing)
|
|
@@ -930,7 +930,7 @@
|
|
|
930
930
|
|
|
931
931
|
margin-bottom:var(--_rs-textarea-parts-offset);
|
|
932
932
|
}
|
|
933
|
-
.
|
|
933
|
+
._disabled_1qjctqj_47 ._label_1qjctqj_32{
|
|
934
934
|
color:var(
|
|
935
935
|
--rs-color-pale,
|
|
936
936
|
rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.5)
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"classic": "
|
|
8
|
-
"rock": "
|
|
9
|
-
"labelWrapper": "
|
|
10
|
-
"wrapper": "
|
|
11
|
-
"disabled": "
|
|
12
|
-
"inner": "
|
|
13
|
-
"focused": "
|
|
14
|
-
"error": "
|
|
15
|
-
"filled": "
|
|
16
|
-
"busyIcon": "
|
|
17
|
-
"errorMessage": "
|
|
18
|
-
"errorIcon": "
|
|
19
|
-
"note": "
|
|
20
|
-
"label": "
|
|
2
|
+
"themeLight": "_themeLight_1qjctqj_8",
|
|
3
|
+
"themeDark": "_themeDark_1qjctqj_11",
|
|
4
|
+
"sizeS": "_sizeS_1qjctqj_15",
|
|
5
|
+
"sizeM": "_sizeM_1qjctqj_18",
|
|
6
|
+
"sizeL": "_sizeL_1qjctqj_21",
|
|
7
|
+
"classic": "_classic_1qjctqj_25",
|
|
8
|
+
"rock": "_rock_1qjctqj_28",
|
|
9
|
+
"labelWrapper": "_labelWrapper_1qjctqj_32",
|
|
10
|
+
"wrapper": "_wrapper_1qjctqj_39",
|
|
11
|
+
"disabled": "_disabled_1qjctqj_47",
|
|
12
|
+
"inner": "_inner_1qjctqj_52",
|
|
13
|
+
"focused": "_focused_1qjctqj_104",
|
|
14
|
+
"error": "_error_1qjctqj_129",
|
|
15
|
+
"filled": "_filled_1qjctqj_133",
|
|
16
|
+
"busyIcon": "_busyIcon_1qjctqj_167",
|
|
17
|
+
"errorMessage": "_errorMessage_1qjctqj_187",
|
|
18
|
+
"errorIcon": "_errorIcon_1qjctqj_199",
|
|
19
|
+
"note": "_note_1qjctqj_205",
|
|
20
|
+
"label": "_label_1qjctqj_32"
|
|
21
21
|
};
|
|
22
22
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/textarea",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@rescui/colors": "^0.2.7",
|
|
29
29
|
"@rescui/scripts": "^0.3.5",
|
|
30
|
-
"@rescui/typography": "^0.
|
|
30
|
+
"@rescui/typography": "^0.23.0",
|
|
31
31
|
"@rescui/visual-regression": "^0.1.2",
|
|
32
32
|
"@types/classnames": "^2.2.11"
|
|
33
33
|
},
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
37
37
|
},
|
|
38
38
|
"nx": {},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "f9a0228790b099e343e9017980e7635c12815bda"
|
|
40
40
|
}
|