@rescui/textarea 0.7.6 → 0.7.7-RUI-226-Update-card-cn-baacc2f1.68

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.
@@ -8,7 +8,7 @@
8
8
  --_rs-icons-height:20px;
9
9
  }
10
10
  &:not(html) [data-rs-internal='textarea__inner']::-moz-placeholder{
11
- --_rs-typography-letter-spacing:0.0045em;
11
+ --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
12
12
  --_rs-typography-text-transform:initial;
13
13
  --_rs-typography-font-variant-numeric:initial;
14
14
  --_rs-typography-font-family:var(
@@ -45,7 +45,7 @@
45
45
  &:not(html) [data-rs-internal='textarea__inner'],
46
46
  &:not(html) [data-rs-internal='textarea__inner']::placeholder,
47
47
  &:not(html) [data-rs-internal='textarea__suffix']{
48
- --_rs-typography-letter-spacing:0.0045em;
48
+ --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
49
49
  --_rs-typography-text-transform:initial;
50
50
  --_rs-typography-font-variant-numeric:initial;
51
51
  --_rs-typography-font-family:var(
@@ -79,7 +79,7 @@
79
79
  --_rs-typography-link-border-bottom-width-from-text:1px;
80
80
  }
81
81
  &:not(html) [data-rs-internal='textarea__bold-label']{
82
- --_rs-typography-letter-spacing:normal;
82
+ --_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
83
83
  --_rs-typography-text-transform:initial;
84
84
  --_rs-typography-font-variant-numeric:initial;
85
85
  --_rs-typography-font-family:var(
@@ -110,7 +110,7 @@
110
110
  --_rs-typography-link-border-bottom-width-from-text:2px;
111
111
  }
112
112
  &:not(html) [data-rs-internal='textarea__note']{
113
- --_rs-typography-letter-spacing:0.0045em;
113
+ --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
114
114
  --_rs-typography-text-transform:initial;
115
115
  --_rs-typography-font-variant-numeric:initial;
116
116
  --_rs-typography-font-family:var(
@@ -144,7 +144,7 @@
144
144
  --_rs-typography-link-border-bottom-width-from-text:1px;
145
145
  }
146
146
  &:not(html) [data-rs-internal='textarea__error-message']{
147
- --_rs-typography-letter-spacing:normal;
147
+ --_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
148
148
  --_rs-typography-text-transform:initial;
149
149
  --_rs-typography-font-variant-numeric:initial;
150
150
  --_rs-typography-font-family:var(
@@ -188,7 +188,7 @@
188
188
  --_rs-icons-height:24px;
189
189
  }
190
190
  &:not(html) [data-rs-internal='textarea__inner']::-moz-placeholder{
191
- --_rs-typography-letter-spacing:0.0015em;
191
+ --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
192
192
  --_rs-typography-text-transform:initial;
193
193
  --_rs-typography-font-variant-numeric:initial;
194
194
  --_rs-typography-font-family:var(
@@ -216,21 +216,24 @@
216
216
  --_rs-typography-text-auto-offset:16px;
217
217
  --_rs-typography-ul-list-li-padding-left:22px;
218
218
  --_rs-typography-ol-list-li-padding-left:26px;
219
- --_rs-typography-list-li-margin-top-from-text:16px;
219
+ --_rs-typography-list-li-margin-top-from-text:var(
220
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text,
221
+ 16px
222
+ );
220
223
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
221
224
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
222
225
  --_rs-typography-link-border-bottom-width-from-text:1px;
223
226
  }
224
227
  @media screen and (max-width: 640px){
225
228
  &:not(html) [data-rs-internal='textarea__inner']::-moz-placeholder{
226
- --_rs-typography-list-li-margin-top-from-text:12px;
229
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
227
230
  }
228
231
  }
229
232
  &:not(html) [data-rs-internal='textarea__label'],
230
233
  &:not(html) [data-rs-internal='textarea__inner'],
231
234
  &:not(html) [data-rs-internal='textarea__inner']::placeholder,
232
235
  &:not(html) [data-rs-internal='textarea__suffix']{
233
- --_rs-typography-letter-spacing:0.0015em;
236
+ --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
234
237
  --_rs-typography-text-transform:initial;
235
238
  --_rs-typography-font-variant-numeric:initial;
236
239
  --_rs-typography-font-family:var(
@@ -258,7 +261,10 @@
258
261
  --_rs-typography-text-auto-offset:16px;
259
262
  --_rs-typography-ul-list-li-padding-left:22px;
260
263
  --_rs-typography-ol-list-li-padding-left:26px;
261
- --_rs-typography-list-li-margin-top-from-text:16px;
264
+ --_rs-typography-list-li-margin-top-from-text:var(
265
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text,
266
+ 16px
267
+ );
262
268
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
263
269
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
264
270
  --_rs-typography-link-border-bottom-width-from-text:1px;
@@ -268,11 +274,11 @@
268
274
  &:not(html) [data-rs-internal='textarea__inner'],
269
275
  &:not(html) [data-rs-internal='textarea__inner']::placeholder,
270
276
  &:not(html) [data-rs-internal='textarea__suffix']{
271
- --_rs-typography-list-li-margin-top-from-text:12px;
277
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
272
278
  }
273
279
  }
274
280
  &:not(html) [data-rs-internal='textarea__bold-label']{
275
- --_rs-typography-letter-spacing:normal;
281
+ --_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
276
282
  --_rs-typography-text-transform:initial;
277
283
  --_rs-typography-font-variant-numeric:initial;
278
284
  --_rs-typography-font-family:var(
@@ -303,7 +309,7 @@
303
309
  --_rs-typography-link-border-bottom-width-from-text:2px;
304
310
  }
305
311
  &:not(html) [data-rs-internal='textarea__note']{
306
- --_rs-typography-letter-spacing:0.0045em;
312
+ --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
307
313
  --_rs-typography-text-transform:initial;
308
314
  --_rs-typography-font-variant-numeric:initial;
309
315
  --_rs-typography-font-family:var(
@@ -337,7 +343,7 @@
337
343
  --_rs-typography-link-border-bottom-width-from-text:1px;
338
344
  }
339
345
  &:not(html) [data-rs-internal='textarea__error-message']{
340
- --_rs-typography-letter-spacing:normal;
346
+ --_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
341
347
  --_rs-typography-text-transform:initial;
342
348
  --_rs-typography-font-variant-numeric:initial;
343
349
  --_rs-typography-font-family:var(
@@ -381,7 +387,7 @@
381
387
  --_rs-icons-height:28px;
382
388
  }
383
389
  &:not(html) [data-rs-internal='textarea__inner']::-moz-placeholder{
384
- --_rs-typography-letter-spacing:normal;
390
+ --_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
385
391
  --_rs-typography-text-transform:initial;
386
392
  --_rs-typography-font-variant-numeric:initial;
387
393
  --_rs-typography-font-family:var(
@@ -409,21 +415,24 @@
409
415
  --_rs-typography-text-auto-offset:32px;
410
416
  --_rs-typography-ul-list-li-padding-left:26px;
411
417
  --_rs-typography-ol-list-li-padding-left:32px;
412
- --_rs-typography-list-li-margin-top-from-text:24px;
418
+ --_rs-typography-list-li-margin-top-from-text:var(
419
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text,
420
+ 24px
421
+ );
413
422
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
414
423
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
415
424
  --_rs-typography-link-border-bottom-width-from-text:1px;
416
425
  }
417
426
  @media screen and (max-width: 640px){
418
427
  &:not(html) [data-rs-internal='textarea__inner']::-moz-placeholder{
419
- --_rs-typography-list-li-margin-top-from-text:16px;
428
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
420
429
  }
421
430
  }
422
431
  &:not(html) [data-rs-internal='textarea__label'],
423
432
  &:not(html) [data-rs-internal='textarea__inner'],
424
433
  &:not(html) [data-rs-internal='textarea__inner']::placeholder,
425
434
  &:not(html) [data-rs-internal='textarea__suffix']{
426
- --_rs-typography-letter-spacing:normal;
435
+ --_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
427
436
  --_rs-typography-text-transform:initial;
428
437
  --_rs-typography-font-variant-numeric:initial;
429
438
  --_rs-typography-font-family:var(
@@ -451,7 +460,10 @@
451
460
  --_rs-typography-text-auto-offset:32px;
452
461
  --_rs-typography-ul-list-li-padding-left:26px;
453
462
  --_rs-typography-ol-list-li-padding-left:32px;
454
- --_rs-typography-list-li-margin-top-from-text:24px;
463
+ --_rs-typography-list-li-margin-top-from-text:var(
464
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text,
465
+ 24px
466
+ );
455
467
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
456
468
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
457
469
  --_rs-typography-link-border-bottom-width-from-text:1px;
@@ -461,11 +473,11 @@
461
473
  &:not(html) [data-rs-internal='textarea__inner'],
462
474
  &:not(html) [data-rs-internal='textarea__inner']::placeholder,
463
475
  &:not(html) [data-rs-internal='textarea__suffix']{
464
- --_rs-typography-list-li-margin-top-from-text:16px;
476
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
465
477
  }
466
478
  }
467
479
  &:not(html) [data-rs-internal='textarea__bold-label']{
468
- --_rs-typography-letter-spacing:normal;
480
+ --_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
469
481
  --_rs-typography-text-transform:initial;
470
482
  --_rs-typography-font-variant-numeric:initial;
471
483
  --_rs-typography-font-family:var(
@@ -496,7 +508,7 @@
496
508
  --_rs-typography-link-border-bottom-width-from-text:2px;
497
509
  }
498
510
  &:not(html) [data-rs-internal='textarea__note']{
499
- --_rs-typography-letter-spacing:0.0015em;
511
+ --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
500
512
  --_rs-typography-text-transform:initial;
501
513
  --_rs-typography-font-variant-numeric:initial;
502
514
  --_rs-typography-font-family:var(
@@ -524,18 +536,21 @@
524
536
  --_rs-typography-text-auto-offset:16px;
525
537
  --_rs-typography-ul-list-li-padding-left:22px;
526
538
  --_rs-typography-ol-list-li-padding-left:26px;
527
- --_rs-typography-list-li-margin-top-from-text:16px;
539
+ --_rs-typography-list-li-margin-top-from-text:var(
540
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text,
541
+ 16px
542
+ );
528
543
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
529
544
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
530
545
  --_rs-typography-link-border-bottom-width-from-text:1px;
531
546
  }
532
547
  @media screen and (max-width: 640px){
533
548
  &:not(html) [data-rs-internal='textarea__note']{
534
- --_rs-typography-list-li-margin-top-from-text:12px;
549
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
535
550
  }
536
551
  }
537
552
  &:not(html) [data-rs-internal='textarea__error-message']{
538
- --_rs-typography-letter-spacing:normal;
553
+ --_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
539
554
  --_rs-typography-text-transform:initial;
540
555
  --_rs-typography-font-variant-numeric:initial;
541
556
  --_rs-typography-font-family:var(
@@ -8,7 +8,7 @@
8
8
  --_rs-icons-height:20px;
9
9
  }
10
10
  &:not(html) [data-rs-internal='textarea__inner']::-moz-placeholder{
11
- --_rs-typography-letter-spacing:0.0045em;
11
+ --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
12
12
  --_rs-typography-text-transform:initial;
13
13
  --_rs-typography-font-variant-numeric:initial;
14
14
  --_rs-typography-font-family:var(
@@ -45,7 +45,7 @@
45
45
  &:not(html) [data-rs-internal='textarea__inner'],
46
46
  &:not(html) [data-rs-internal='textarea__inner']::placeholder,
47
47
  &:not(html) [data-rs-internal='textarea__suffix']{
48
- --_rs-typography-letter-spacing:0.0045em;
48
+ --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
49
49
  --_rs-typography-text-transform:initial;
50
50
  --_rs-typography-font-variant-numeric:initial;
51
51
  --_rs-typography-font-family:var(
@@ -79,7 +79,7 @@
79
79
  --_rs-typography-link-border-bottom-width-from-text:1px;
80
80
  }
81
81
  &:not(html) [data-rs-internal='textarea__bold-label']{
82
- --_rs-typography-letter-spacing:normal;
82
+ --_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
83
83
  --_rs-typography-text-transform:initial;
84
84
  --_rs-typography-font-variant-numeric:initial;
85
85
  --_rs-typography-font-family:var(
@@ -110,7 +110,7 @@
110
110
  --_rs-typography-link-border-bottom-width-from-text:2px;
111
111
  }
112
112
  &:not(html) [data-rs-internal='textarea__note']{
113
- --_rs-typography-letter-spacing:0.0045em;
113
+ --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
114
114
  --_rs-typography-text-transform:initial;
115
115
  --_rs-typography-font-variant-numeric:initial;
116
116
  --_rs-typography-font-family:var(
@@ -144,7 +144,7 @@
144
144
  --_rs-typography-link-border-bottom-width-from-text:1px;
145
145
  }
146
146
  &:not(html) [data-rs-internal='textarea__error-message']{
147
- --_rs-typography-letter-spacing:normal;
147
+ --_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
148
148
  --_rs-typography-text-transform:initial;
149
149
  --_rs-typography-font-variant-numeric:initial;
150
150
  --_rs-typography-font-family:var(
@@ -188,7 +188,7 @@
188
188
  --_rs-icons-height:24px;
189
189
  }
190
190
  &:not(html) [data-rs-internal='textarea__inner']::-moz-placeholder{
191
- --_rs-typography-letter-spacing:0.0015em;
191
+ --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
192
192
  --_rs-typography-text-transform:initial;
193
193
  --_rs-typography-font-variant-numeric:initial;
194
194
  --_rs-typography-font-family:var(
@@ -216,21 +216,24 @@
216
216
  --_rs-typography-text-auto-offset:16px;
217
217
  --_rs-typography-ul-list-li-padding-left:22px;
218
218
  --_rs-typography-ol-list-li-padding-left:26px;
219
- --_rs-typography-list-li-margin-top-from-text:16px;
219
+ --_rs-typography-list-li-margin-top-from-text:var(
220
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text,
221
+ 16px
222
+ );
220
223
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
221
224
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
222
225
  --_rs-typography-link-border-bottom-width-from-text:1px;
223
226
  }
224
227
  @media screen and (max-width: 640px){
225
228
  &:not(html) [data-rs-internal='textarea__inner']::-moz-placeholder{
226
- --_rs-typography-list-li-margin-top-from-text:12px;
229
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
227
230
  }
228
231
  }
229
232
  &:not(html) [data-rs-internal='textarea__label'],
230
233
  &:not(html) [data-rs-internal='textarea__inner'],
231
234
  &:not(html) [data-rs-internal='textarea__inner']::placeholder,
232
235
  &:not(html) [data-rs-internal='textarea__suffix']{
233
- --_rs-typography-letter-spacing:0.0015em;
236
+ --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
234
237
  --_rs-typography-text-transform:initial;
235
238
  --_rs-typography-font-variant-numeric:initial;
236
239
  --_rs-typography-font-family:var(
@@ -258,7 +261,10 @@
258
261
  --_rs-typography-text-auto-offset:16px;
259
262
  --_rs-typography-ul-list-li-padding-left:22px;
260
263
  --_rs-typography-ol-list-li-padding-left:26px;
261
- --_rs-typography-list-li-margin-top-from-text:16px;
264
+ --_rs-typography-list-li-margin-top-from-text:var(
265
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text,
266
+ 16px
267
+ );
262
268
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
263
269
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
264
270
  --_rs-typography-link-border-bottom-width-from-text:1px;
@@ -268,11 +274,11 @@
268
274
  &:not(html) [data-rs-internal='textarea__inner'],
269
275
  &:not(html) [data-rs-internal='textarea__inner']::placeholder,
270
276
  &:not(html) [data-rs-internal='textarea__suffix']{
271
- --_rs-typography-list-li-margin-top-from-text:12px;
277
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
272
278
  }
273
279
  }
274
280
  &:not(html) [data-rs-internal='textarea__bold-label']{
275
- --_rs-typography-letter-spacing:normal;
281
+ --_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
276
282
  --_rs-typography-text-transform:initial;
277
283
  --_rs-typography-font-variant-numeric:initial;
278
284
  --_rs-typography-font-family:var(
@@ -303,7 +309,7 @@
303
309
  --_rs-typography-link-border-bottom-width-from-text:2px;
304
310
  }
305
311
  &:not(html) [data-rs-internal='textarea__note']{
306
- --_rs-typography-letter-spacing:0.0045em;
312
+ --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
307
313
  --_rs-typography-text-transform:initial;
308
314
  --_rs-typography-font-variant-numeric:initial;
309
315
  --_rs-typography-font-family:var(
@@ -337,7 +343,7 @@
337
343
  --_rs-typography-link-border-bottom-width-from-text:1px;
338
344
  }
339
345
  &:not(html) [data-rs-internal='textarea__error-message']{
340
- --_rs-typography-letter-spacing:normal;
346
+ --_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
341
347
  --_rs-typography-text-transform:initial;
342
348
  --_rs-typography-font-variant-numeric:initial;
343
349
  --_rs-typography-font-family:var(
@@ -381,7 +387,7 @@
381
387
  --_rs-icons-height:28px;
382
388
  }
383
389
  &:not(html) [data-rs-internal='textarea__inner']::-moz-placeholder{
384
- --_rs-typography-letter-spacing:normal;
390
+ --_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
385
391
  --_rs-typography-text-transform:initial;
386
392
  --_rs-typography-font-variant-numeric:initial;
387
393
  --_rs-typography-font-family:var(
@@ -409,21 +415,24 @@
409
415
  --_rs-typography-text-auto-offset:32px;
410
416
  --_rs-typography-ul-list-li-padding-left:26px;
411
417
  --_rs-typography-ol-list-li-padding-left:32px;
412
- --_rs-typography-list-li-margin-top-from-text:24px;
418
+ --_rs-typography-list-li-margin-top-from-text:var(
419
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text,
420
+ 24px
421
+ );
413
422
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
414
423
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
415
424
  --_rs-typography-link-border-bottom-width-from-text:1px;
416
425
  }
417
426
  @media screen and (max-width: 640px){
418
427
  &:not(html) [data-rs-internal='textarea__inner']::-moz-placeholder{
419
- --_rs-typography-list-li-margin-top-from-text:16px;
428
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
420
429
  }
421
430
  }
422
431
  &:not(html) [data-rs-internal='textarea__label'],
423
432
  &:not(html) [data-rs-internal='textarea__inner'],
424
433
  &:not(html) [data-rs-internal='textarea__inner']::placeholder,
425
434
  &:not(html) [data-rs-internal='textarea__suffix']{
426
- --_rs-typography-letter-spacing:normal;
435
+ --_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
427
436
  --_rs-typography-text-transform:initial;
428
437
  --_rs-typography-font-variant-numeric:initial;
429
438
  --_rs-typography-font-family:var(
@@ -451,7 +460,10 @@
451
460
  --_rs-typography-text-auto-offset:32px;
452
461
  --_rs-typography-ul-list-li-padding-left:26px;
453
462
  --_rs-typography-ol-list-li-padding-left:32px;
454
- --_rs-typography-list-li-margin-top-from-text:24px;
463
+ --_rs-typography-list-li-margin-top-from-text:var(
464
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text,
465
+ 24px
466
+ );
455
467
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
456
468
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
457
469
  --_rs-typography-link-border-bottom-width-from-text:1px;
@@ -461,11 +473,11 @@
461
473
  &:not(html) [data-rs-internal='textarea__inner'],
462
474
  &:not(html) [data-rs-internal='textarea__inner']::placeholder,
463
475
  &:not(html) [data-rs-internal='textarea__suffix']{
464
- --_rs-typography-list-li-margin-top-from-text:16px;
476
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
465
477
  }
466
478
  }
467
479
  &:not(html) [data-rs-internal='textarea__bold-label']{
468
- --_rs-typography-letter-spacing:normal;
480
+ --_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
469
481
  --_rs-typography-text-transform:initial;
470
482
  --_rs-typography-font-variant-numeric:initial;
471
483
  --_rs-typography-font-family:var(
@@ -496,7 +508,7 @@
496
508
  --_rs-typography-link-border-bottom-width-from-text:2px;
497
509
  }
498
510
  &:not(html) [data-rs-internal='textarea__note']{
499
- --_rs-typography-letter-spacing:0.0015em;
511
+ --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
500
512
  --_rs-typography-text-transform:initial;
501
513
  --_rs-typography-font-variant-numeric:initial;
502
514
  --_rs-typography-font-family:var(
@@ -524,18 +536,21 @@
524
536
  --_rs-typography-text-auto-offset:16px;
525
537
  --_rs-typography-ul-list-li-padding-left:22px;
526
538
  --_rs-typography-ol-list-li-padding-left:26px;
527
- --_rs-typography-list-li-margin-top-from-text:16px;
539
+ --_rs-typography-list-li-margin-top-from-text:var(
540
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text,
541
+ 16px
542
+ );
528
543
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
529
544
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
530
545
  --_rs-typography-link-border-bottom-width-from-text:1px;
531
546
  }
532
547
  @media screen and (max-width: 640px){
533
548
  &:not(html) [data-rs-internal='textarea__note']{
534
- --_rs-typography-list-li-margin-top-from-text:12px;
549
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
535
550
  }
536
551
  }
537
552
  &:not(html) [data-rs-internal='textarea__error-message']{
538
- --_rs-typography-letter-spacing:normal;
553
+ --_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
539
554
  --_rs-typography-text-transform:initial;
540
555
  --_rs-typography-font-variant-numeric:initial;
541
556
  --_rs-typography-font-family:var(
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,
@@ -69,14 +69,16 @@ const Textarea = /*#__PURE__*/React.forwardRef( // eslint-disable-next-line comp
69
69
  className: styles.busyIcon
70
70
  }, /*#__PURE__*/React.createElement(LoadingIcon, {
71
71
  "data-test": "textarea__busy-icon",
72
- "data-rs-internal": "textarea__busy-icon"
72
+ "data-rs-internal": "textarea__busy-icon",
73
+ "data-render-all-sizes": true
73
74
  }))), error && typeof error !== 'boolean' && /*#__PURE__*/React.createElement("div", {
74
75
  className: styles.errorMessage,
75
76
  "data-test": 'textarea__error',
76
77
  "data-rs-internal": "textarea__error-message"
77
78
  }, /*#__PURE__*/React.createElement(WarningIcon, {
78
79
  className: styles.errorIcon,
79
- "data-rs-internal": "textarea__error-icon"
80
+ "data-rs-internal": "textarea__error-icon",
81
+ "data-render-all-sizes": true
80
82
  }), /*#__PURE__*/React.createElement("span", null, error)), note && /*#__PURE__*/React.createElement("div", {
81
83
  className: styles.note,
82
84
  "data-test": 'textarea__note',
@@ -1,22 +1,22 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_1ba6uld_8",
3
- "themeDark": "_themeDark_1ba6uld_11",
4
- "sizeS": "_sizeS_1ba6uld_15",
5
- "sizeM": "_sizeM_1ba6uld_18",
6
- "sizeL": "_sizeL_1ba6uld_21",
7
- "classic": "_classic_1ba6uld_25",
8
- "rock": "_rock_1ba6uld_28",
9
- "labelWrapper": "_labelWrapper_1ba6uld_32",
10
- "wrapper": "_wrapper_1ba6uld_39",
11
- "disabled": "_disabled_1ba6uld_47",
12
- "inner": "_inner_1ba6uld_52",
13
- "focused": "_focused_1ba6uld_104",
14
- "error": "_error_1ba6uld_129",
15
- "filled": "_filled_1ba6uld_133",
16
- "busyIcon": "_busyIcon_1ba6uld_167",
17
- "errorMessage": "_errorMessage_1ba6uld_187",
18
- "errorIcon": "_errorIcon_1ba6uld_199",
19
- "note": "_note_1ba6uld_205",
20
- "label": "_label_1ba6uld_32"
2
+ "themeLight": "_themeLight_1aq2t7t_8",
3
+ "themeDark": "_themeDark_1aq2t7t_11",
4
+ "sizeS": "_sizeS_1aq2t7t_15",
5
+ "sizeM": "_sizeM_1aq2t7t_18",
6
+ "sizeL": "_sizeL_1aq2t7t_21",
7
+ "classic": "_classic_1aq2t7t_25",
8
+ "rock": "_rock_1aq2t7t_28",
9
+ "labelWrapper": "_labelWrapper_1aq2t7t_32",
10
+ "wrapper": "_wrapper_1aq2t7t_39",
11
+ "disabled": "_disabled_1aq2t7t_47",
12
+ "inner": "_inner_1aq2t7t_52",
13
+ "focused": "_focused_1aq2t7t_104",
14
+ "error": "_error_1aq2t7t_129",
15
+ "filled": "_filled_1aq2t7t_133",
16
+ "busyIcon": "_busyIcon_1aq2t7t_167",
17
+ "errorMessage": "_errorMessage_1aq2t7t_187",
18
+ "errorIcon": "_errorIcon_1aq2t7t_199",
19
+ "note": "_note_1aq2t7t_205",
20
+ "label": "_label_1aq2t7t_32"
21
21
  };
22
22
  export { styles as default };
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@rescui/textarea",
3
- "version": "0.7.6",
3
+ "version": "0.7.7-RUI-226-Update-card-cn-baacc2f1.68+baacc2f1",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
7
7
  "main": "lib/index.js",
8
+ "module": "lib/index.js",
8
9
  "src:main": "src/index.ts",
9
10
  "files": [
10
11
  "lib",
@@ -24,10 +25,10 @@
24
25
  "react": ">=16.8.0 <19"
25
26
  },
26
27
  "devDependencies": {
27
- "@rescui/colors": "^0.2.6",
28
- "@rescui/scripts": "^0.3.5",
29
- "@rescui/typography": "^0.19.1",
30
- "@rescui/visual-regression": "^0.1.2",
28
+ "@rescui/colors": "0.2.7-RUI-226-Update-card-cn-baacc2f1.68+baacc2f1",
29
+ "@rescui/scripts": "0.4.0",
30
+ "@rescui/typography": "0.19.2-RUI-226-Update-card-cn-baacc2f1.68+baacc2f1",
31
+ "@rescui/visual-regression": "0.1.2",
31
32
  "@types/classnames": "^2.2.11"
32
33
  },
33
34
  "scripts": {
@@ -35,5 +36,5 @@
35
36
  "build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
36
37
  },
37
38
  "nx": {},
38
- "gitHead": "67627f69be3de4b4c6a21244fd7de36e841f01f0"
39
+ "gitHead": "baacc2f1a9fe296e6d64d62b8b3143d09cdb70fb"
39
40
  }