@rescui/textarea 0.7.9-RUI-230-Update-icons-0bd4e5fc.9 → 0.7.9-RUI-230-Update-icons-7e73b1a0.23
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.js +1 -1
- package/lib/textarea.p.module.css.js +19 -19
- package/package.json +4 -4
|
@@ -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_132qid1_4",
|
|
3
|
+
"sizeXS": "_sizeXS_132qid1_14",
|
|
4
|
+
"sizeS": "_sizeS_132qid1_18",
|
|
5
|
+
"sizeM": "_sizeM_132qid1_22",
|
|
6
|
+
"sizeL": "_sizeL_132qid1_26",
|
|
7
|
+
"light": "_light_132qid1_30",
|
|
8
|
+
"dark": "_dark_132qid1_34"
|
|
9
9
|
};
|
|
10
10
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_132qid1_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_132qid1_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_132qid1_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_132qid1_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_132qid1_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_132qid1_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_132qid1_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_132qid1_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_132qid1_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_132qid1_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_1juetjv_8{
|
|
64
64
|
--rs-theme-dark:0;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._themeDark_1juetjv_11{
|
|
67
67
|
--rs-theme-dark:1;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
._sizeS_1juetjv_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_1juetjv_15 [data-rs-internal='textarea__busy-icon']:not(html){
|
|
75
75
|
--_rs-icons-height:20px;
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
._sizeS_1juetjv_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_1juetjv_15 [data-rs-internal='textarea__label'],
|
|
112
|
+
._sizeS_1juetjv_15 [data-rs-internal='textarea__inner'],
|
|
113
|
+
._sizeS_1juetjv_15 [data-rs-internal='textarea__inner']::placeholder,
|
|
114
|
+
._sizeS_1juetjv_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_1juetjv_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_1juetjv_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_1juetjv_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_1juetjv_15 [data-rs-internal='textarea__error-icon']:not(html){
|
|
245
245
|
--_rs-icons-height:20px;
|
|
246
246
|
}
|
|
247
|
-
.
|
|
247
|
+
._sizeM_1juetjv_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_1juetjv_18 [data-rs-internal='textarea__busy-icon']:not(html){
|
|
253
253
|
--_rs-icons-height:24px;
|
|
254
254
|
}
|
|
255
|
-
.
|
|
255
|
+
._sizeM_1juetjv_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;
|
|
@@ -287,14 +287,14 @@
|
|
|
287
287
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
288
288
|
}
|
|
289
289
|
@media screen and (max-width: 640px){
|
|
290
|
-
.
|
|
290
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__inner']::-moz-placeholder{
|
|
291
291
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
.
|
|
295
|
-
.
|
|
296
|
-
.
|
|
297
|
-
.
|
|
294
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__label'],
|
|
295
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__inner'],
|
|
296
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__inner']::placeholder,
|
|
297
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__suffix']{
|
|
298
298
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
299
299
|
--_rs-typography-text-transform:initial;
|
|
300
300
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -329,14 +329,14 @@
|
|
|
329
329
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
330
330
|
}
|
|
331
331
|
@media screen and (max-width: 640px){
|
|
332
|
-
.
|
|
333
|
-
.
|
|
334
|
-
.
|
|
335
|
-
.
|
|
332
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__label'],
|
|
333
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__inner'],
|
|
334
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__inner']::placeholder,
|
|
335
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__suffix']{
|
|
336
336
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
.
|
|
339
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__bold-label']{
|
|
340
340
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
341
341
|
--_rs-typography-text-transform:initial;
|
|
342
342
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
368
368
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
369
369
|
}
|
|
370
|
-
.
|
|
370
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__note']{
|
|
371
371
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
372
372
|
--_rs-typography-text-transform:initial;
|
|
373
373
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
402
402
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
403
403
|
}
|
|
404
|
-
.
|
|
404
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__error-message']{
|
|
405
405
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
406
406
|
--_rs-typography-text-transform:initial;
|
|
407
407
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -432,18 +432,18 @@
|
|
|
432
432
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
433
433
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
434
434
|
}
|
|
435
|
-
.
|
|
435
|
+
._sizeM_1juetjv_18 [data-rs-internal='textarea__error-icon']:not(html){
|
|
436
436
|
--_rs-icons-height:20px;
|
|
437
437
|
}
|
|
438
|
-
.
|
|
438
|
+
._sizeL_1juetjv_21{
|
|
439
439
|
--_rs-textarea-vertical-padding:12px;
|
|
440
440
|
--_rs-textarea-horizontal-padding:16px;
|
|
441
441
|
--_rs-textarea-parts-offset:8px;
|
|
442
442
|
}
|
|
443
|
-
.
|
|
443
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__busy-icon']:not(html){
|
|
444
444
|
--_rs-icons-height:28px;
|
|
445
445
|
}
|
|
446
|
-
.
|
|
446
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__inner']::-moz-placeholder{
|
|
447
447
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
448
448
|
--_rs-typography-text-transform:initial;
|
|
449
449
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -478,14 +478,14 @@
|
|
|
478
478
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
479
479
|
}
|
|
480
480
|
@media screen and (max-width: 640px){
|
|
481
|
-
.
|
|
481
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__inner']::-moz-placeholder{
|
|
482
482
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
.
|
|
486
|
-
.
|
|
487
|
-
.
|
|
488
|
-
.
|
|
485
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__label'],
|
|
486
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__inner'],
|
|
487
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__inner']::placeholder,
|
|
488
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__suffix']{
|
|
489
489
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
490
490
|
--_rs-typography-text-transform:initial;
|
|
491
491
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -520,14 +520,14 @@
|
|
|
520
520
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
521
521
|
}
|
|
522
522
|
@media screen and (max-width: 640px){
|
|
523
|
-
.
|
|
524
|
-
.
|
|
525
|
-
.
|
|
526
|
-
.
|
|
523
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__label'],
|
|
524
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__inner'],
|
|
525
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__inner']::placeholder,
|
|
526
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__suffix']{
|
|
527
527
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
.
|
|
530
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__bold-label']{
|
|
531
531
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
532
532
|
--_rs-typography-text-transform:initial;
|
|
533
533
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -558,7 +558,7 @@
|
|
|
558
558
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
559
559
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
560
560
|
}
|
|
561
|
-
.
|
|
561
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__note']{
|
|
562
562
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
563
563
|
--_rs-typography-text-transform:initial;
|
|
564
564
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -593,11 +593,11 @@
|
|
|
593
593
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
594
594
|
}
|
|
595
595
|
@media screen and (max-width: 640px){
|
|
596
|
-
.
|
|
596
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__note']{
|
|
597
597
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
.
|
|
600
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__error-message']{
|
|
601
601
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
602
602
|
--_rs-typography-text-transform:initial;
|
|
603
603
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -628,10 +628,10 @@
|
|
|
628
628
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
629
629
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
630
630
|
}
|
|
631
|
-
.
|
|
631
|
+
._sizeL_1juetjv_21 [data-rs-internal='textarea__error-icon']:not(html){
|
|
632
632
|
--_rs-icons-height:24px;
|
|
633
633
|
}
|
|
634
|
-
.
|
|
634
|
+
._classic_1juetjv_25{
|
|
635
635
|
--_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));
|
|
636
636
|
--_rs-textarea-focused-background-color:rgb(
|
|
637
637
|
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)
|
|
@@ -648,7 +648,7 @@
|
|
|
648
648
|
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)
|
|
649
649
|
);
|
|
650
650
|
}
|
|
651
|
-
.
|
|
651
|
+
._rock_1juetjv_28{
|
|
652
652
|
--_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));
|
|
653
653
|
--_rs-textarea-focused-background-color:rgb(
|
|
654
654
|
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)
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
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)
|
|
666
666
|
);
|
|
667
667
|
}
|
|
668
|
-
.
|
|
668
|
+
._labelWrapper_1juetjv_32{
|
|
669
669
|
--_rs-theme-dark:var(
|
|
670
670
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
671
671
|
var(--rs-theme-dark, 0)
|
|
@@ -675,7 +675,7 @@
|
|
|
675
675
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
676
676
|
}
|
|
677
677
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
678
|
-
.
|
|
678
|
+
._labelWrapper_1juetjv_32{
|
|
679
679
|
--_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)));
|
|
680
680
|
--_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)));
|
|
681
681
|
--_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)));
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
686
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
687
|
-
.
|
|
687
|
+
._labelWrapper_1juetjv_32{
|
|
688
688
|
--_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);
|
|
689
689
|
--_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));
|
|
690
690
|
--_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));
|
|
@@ -692,11 +692,11 @@
|
|
|
692
692
|
--_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));
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
|
-
.
|
|
695
|
+
._labelWrapper_1juetjv_32 {
|
|
696
696
|
|
|
697
697
|
display:block;
|
|
698
698
|
}
|
|
699
|
-
.
|
|
699
|
+
._wrapper_1juetjv_39{
|
|
700
700
|
position:relative;
|
|
701
701
|
|
|
702
702
|
display:flex;
|
|
@@ -704,10 +704,10 @@
|
|
|
704
704
|
|
|
705
705
|
cursor:text;
|
|
706
706
|
}
|
|
707
|
-
.
|
|
707
|
+
._disabled_1juetjv_47 ._wrapper_1juetjv_39{
|
|
708
708
|
cursor:default;
|
|
709
709
|
}
|
|
710
|
-
.
|
|
710
|
+
._inner_1juetjv_52{
|
|
711
711
|
letter-spacing:var(
|
|
712
712
|
--rs-text-base-letter-spacing,
|
|
713
713
|
var(--_rs-typography-letter-spacing)
|
|
@@ -739,25 +739,25 @@
|
|
|
739
739
|
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));
|
|
740
740
|
}
|
|
741
741
|
@media (hover: hover){
|
|
742
|
-
.
|
|
742
|
+
._inner_1juetjv_52{
|
|
743
743
|
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));
|
|
744
744
|
scrollbar-width:thin
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
.
|
|
747
|
+
._inner_1juetjv_52::-webkit-scrollbar{
|
|
748
748
|
width:7px;
|
|
749
749
|
height:8px;
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
-
.
|
|
752
|
+
._inner_1juetjv_52::-webkit-scrollbar-corner{
|
|
753
753
|
background-color:transparent;
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
-
.
|
|
756
|
+
._inner_1juetjv_52::-webkit-scrollbar-track{
|
|
757
757
|
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));
|
|
758
758
|
}
|
|
759
759
|
|
|
760
|
-
.
|
|
760
|
+
._inner_1juetjv_52::-webkit-scrollbar-thumb{
|
|
761
761
|
width:7px;
|
|
762
762
|
|
|
763
763
|
border-radius:7px;
|
|
@@ -765,66 +765,66 @@
|
|
|
765
765
|
background:#A3A3A4;
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
.
|
|
768
|
+
._focused_1juetjv_104 ._inner_1juetjv_52{
|
|
769
769
|
scrollbar-color:#A3A3A4 var(--_rs-textarea-focused-scrollbar-track-color);
|
|
770
770
|
}
|
|
771
771
|
|
|
772
|
-
.
|
|
772
|
+
._focused_1juetjv_104 ._inner_1juetjv_52::-webkit-scrollbar-track{
|
|
773
773
|
background-color:var(--_rs-textarea-focused-scrollbar-track-color);
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
|
-
.
|
|
776
|
+
._inner_1juetjv_52:focus{
|
|
777
777
|
outline:none;
|
|
778
778
|
}
|
|
779
|
-
.
|
|
779
|
+
._inner_1juetjv_52::-moz-placeholder{
|
|
780
780
|
opacity:1;
|
|
781
781
|
|
|
782
782
|
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);
|
|
783
783
|
}
|
|
784
|
-
.
|
|
784
|
+
._focused_1juetjv_104 ._inner_1juetjv_52::-moz-placeholder{
|
|
785
785
|
color:var(--_rs-textarea-focused-placeholder-color);
|
|
786
786
|
}
|
|
787
|
-
.
|
|
787
|
+
._inner_1juetjv_52::placeholder{
|
|
788
788
|
opacity:1;
|
|
789
789
|
|
|
790
790
|
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);
|
|
791
791
|
}
|
|
792
|
-
.
|
|
792
|
+
._focused_1juetjv_104 ._inner_1juetjv_52::placeholder{
|
|
793
793
|
color:var(--_rs-textarea-focused-placeholder-color);
|
|
794
794
|
}
|
|
795
|
-
.
|
|
796
|
-
.
|
|
795
|
+
._focused_1juetjv_104 ._inner_1juetjv_52,
|
|
796
|
+
._error_1juetjv_129 ._inner_1juetjv_52{
|
|
797
797
|
--_rs-textarea-border-width:2px;
|
|
798
798
|
}
|
|
799
|
-
.
|
|
799
|
+
._inner_1juetjv_52._filled_1juetjv_133{
|
|
800
800
|
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);
|
|
801
801
|
}
|
|
802
802
|
@media (hover: hover){
|
|
803
|
-
.
|
|
803
|
+
._inner_1juetjv_52:hover{
|
|
804
804
|
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);
|
|
805
805
|
|
|
806
806
|
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));
|
|
807
807
|
}
|
|
808
808
|
}
|
|
809
|
-
.
|
|
809
|
+
._focused_1juetjv_104 ._inner_1juetjv_52{
|
|
810
810
|
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));
|
|
811
811
|
|
|
812
812
|
color:var(--_rs-textarea-focused-color);
|
|
813
813
|
background-color:var(--_rs-textarea-focused-background-color);
|
|
814
814
|
}
|
|
815
|
-
.
|
|
815
|
+
._disabled_1juetjv_47 ._inner_1juetjv_52{
|
|
816
816
|
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);
|
|
817
817
|
|
|
818
818
|
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);
|
|
819
819
|
|
|
820
820
|
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));
|
|
821
821
|
}
|
|
822
|
-
.
|
|
823
|
-
.
|
|
824
|
-
.
|
|
822
|
+
._labelWrapper_1juetjv_32._error_1juetjv_129 ._inner_1juetjv_52,
|
|
823
|
+
._labelWrapper_1juetjv_32._error_1juetjv_129 ._inner_1juetjv_52:hover,
|
|
824
|
+
._labelWrapper_1juetjv_32._error_1juetjv_129._focused_1juetjv_104 ._inner_1juetjv_52{
|
|
825
825
|
border-color:#F45C4A;
|
|
826
826
|
}
|
|
827
|
-
.
|
|
827
|
+
._busyIcon_1juetjv_167{
|
|
828
828
|
position:absolute;
|
|
829
829
|
right:calc(var(--_rs-textarea-horizontal-padding) - 1px);
|
|
830
830
|
bottom:calc(var(--_rs-textarea-vertical-padding) - 1px);
|
|
@@ -835,13 +835,13 @@
|
|
|
835
835
|
|
|
836
836
|
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);
|
|
837
837
|
}
|
|
838
|
-
.
|
|
838
|
+
._focused_1juetjv_104 ._busyIcon_1juetjv_167{
|
|
839
839
|
color:var(--_rs-textarea-focused-busy-icon-color);
|
|
840
840
|
}
|
|
841
|
-
.
|
|
841
|
+
._disabled_1juetjv_47 ._busyIcon_1juetjv_167{
|
|
842
842
|
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);
|
|
843
843
|
}
|
|
844
|
-
.
|
|
844
|
+
._errorMessage_1juetjv_187{
|
|
845
845
|
letter-spacing:var(
|
|
846
846
|
--rs-text-base-letter-spacing,
|
|
847
847
|
var(--_rs-typography-letter-spacing)
|
|
@@ -863,12 +863,12 @@
|
|
|
863
863
|
-moz-column-gap:8px;
|
|
864
864
|
column-gap:8px;
|
|
865
865
|
}
|
|
866
|
-
.
|
|
866
|
+
._errorIcon_1juetjv_199{
|
|
867
867
|
flex:0 0 auto;
|
|
868
868
|
|
|
869
869
|
color:#F45C4A;
|
|
870
870
|
}
|
|
871
|
-
.
|
|
871
|
+
._note_1juetjv_205{
|
|
872
872
|
letter-spacing:var(
|
|
873
873
|
--rs-text-base-letter-spacing,
|
|
874
874
|
var(--_rs-typography-letter-spacing)
|
|
@@ -887,16 +887,16 @@
|
|
|
887
887
|
|
|
888
888
|
margin-top:var(--_rs-textarea-parts-offset);
|
|
889
889
|
}
|
|
890
|
-
.
|
|
890
|
+
._disabled_1juetjv_47 ._note_1juetjv_205{
|
|
891
891
|
color:var(
|
|
892
892
|
--rs-color-pale,
|
|
893
893
|
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)
|
|
894
894
|
);
|
|
895
895
|
}
|
|
896
|
-
.
|
|
896
|
+
._errorMessage_1juetjv_187 + ._note_1juetjv_205{
|
|
897
897
|
margin-top:calc(var(--_rs-textarea-parts-offset) - 4px);
|
|
898
898
|
}
|
|
899
|
-
.
|
|
899
|
+
._label_1juetjv_32{
|
|
900
900
|
letter-spacing:var(
|
|
901
901
|
--rs-text-base-letter-spacing,
|
|
902
902
|
var(--_rs-typography-letter-spacing)
|
|
@@ -915,7 +915,7 @@
|
|
|
915
915
|
|
|
916
916
|
margin-bottom:var(--_rs-textarea-parts-offset);
|
|
917
917
|
}
|
|
918
|
-
.
|
|
918
|
+
._disabled_1juetjv_47 ._label_1juetjv_32{
|
|
919
919
|
color:var(
|
|
920
920
|
--rs-color-pale,
|
|
921
921
|
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)
|
package/lib/textarea.js
CHANGED
|
@@ -3,8 +3,8 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import TextareaAutosize from 'react-textarea-autosize';
|
|
4
4
|
import { useThemeWithUndefined } from '@rescui/ui-contexts';
|
|
5
5
|
import cn from 'classnames';
|
|
6
|
-
import LoadingIcon from './_virtual/loading.js';
|
|
7
6
|
import WarningIcon from './_virtual/warning.js';
|
|
7
|
+
import LoadingIcon from './_virtual/loading.js';
|
|
8
8
|
import styles from './textarea.p.module.css.js';
|
|
9
9
|
const SIZE_STYLES = {
|
|
10
10
|
s: styles.sizeS,
|
|
@@ -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_1juetjv_8",
|
|
3
|
+
"themeDark": "_themeDark_1juetjv_11",
|
|
4
|
+
"sizeS": "_sizeS_1juetjv_15",
|
|
5
|
+
"sizeM": "_sizeM_1juetjv_18",
|
|
6
|
+
"sizeL": "_sizeL_1juetjv_21",
|
|
7
|
+
"classic": "_classic_1juetjv_25",
|
|
8
|
+
"rock": "_rock_1juetjv_28",
|
|
9
|
+
"labelWrapper": "_labelWrapper_1juetjv_32",
|
|
10
|
+
"wrapper": "_wrapper_1juetjv_39",
|
|
11
|
+
"disabled": "_disabled_1juetjv_47",
|
|
12
|
+
"inner": "_inner_1juetjv_52",
|
|
13
|
+
"focused": "_focused_1juetjv_104",
|
|
14
|
+
"error": "_error_1juetjv_129",
|
|
15
|
+
"filled": "_filled_1juetjv_133",
|
|
16
|
+
"busyIcon": "_busyIcon_1juetjv_167",
|
|
17
|
+
"errorMessage": "_errorMessage_1juetjv_187",
|
|
18
|
+
"errorIcon": "_errorIcon_1juetjv_199",
|
|
19
|
+
"note": "_note_1juetjv_205",
|
|
20
|
+
"label": "_label_1juetjv_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.9-RUI-230-Update-icons-
|
|
3
|
+
"version": "0.7.9-RUI-230-Update-icons-7e73b1a0.23+7e73b1a0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"react": ">=16.8.0 <19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/colors": "0.2.7-RUI-230-Update-icons-
|
|
28
|
+
"@rescui/colors": "0.2.7-RUI-230-Update-icons-7e73b1a0.47+7e73b1a0",
|
|
29
29
|
"@rescui/scripts": "0.3.5",
|
|
30
|
-
"@rescui/typography": "0.21.1-RUI-230-Update-icons-
|
|
30
|
+
"@rescui/typography": "0.21.1-RUI-230-Update-icons-7e73b1a0.23+7e73b1a0",
|
|
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": "7e73b1a086335930a7a71b61e7d6c150a187d045"
|
|
40
40
|
}
|