jvetrau-ds 0.2.1 → 0.2.3
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/components/button/button-presentation.cjs +17 -0
- package/components/button/button-presentation.cjs.map +1 -0
- package/components/button/button-presentation.d.ts +1 -0
- package/components/button/button-presentation.js +15 -0
- package/components/button/button-presentation.js.map +1 -0
- package/components/button/button.css +146 -0
- package/components/button/index.cjs +11 -1
- package/components/button/index.d.ts +1 -0
- package/components/button/index.js +1 -0
- package/components/checkbox/checkbox.cjs +3 -1
- package/components/checkbox/checkbox.cjs.map +1 -1
- package/components/checkbox/checkbox.css +24 -1
- package/components/checkbox/checkbox.d.ts +1 -0
- package/components/checkbox/checkbox.js +3 -1
- package/components/checkbox/checkbox.js.map +1 -1
- package/components/field/field.cjs +37 -17
- package/components/field/field.cjs.map +1 -1
- package/components/field/field.css +17 -0
- package/components/field/field.d.ts +2 -2
- package/components/field/field.js +37 -17
- package/components/field/field.js.map +1 -1
- package/components/flip-list/flip-list.cjs +5 -5
- package/components/flip-list/flip-list.cjs.map +1 -1
- package/components/flip-list/flip-list.css +20 -24
- package/components/flip-list/flip-list.js +4 -5
- package/components/flip-list/flip-list.js.map +1 -1
- package/components/index.cjs +5 -1
- package/components/index.d.ts +3 -2
- package/components/index.js +1 -1
- package/components/radio/radio.cjs +3 -1
- package/components/radio/radio.cjs.map +1 -1
- package/components/radio/radio.css +24 -1
- package/components/radio/radio.d.ts +1 -0
- package/components/radio/radio.js +3 -1
- package/components/radio/radio.js.map +1 -1
- package/components/tag/tag.cjs +9 -4
- package/components/tag/tag.cjs.map +1 -1
- package/components/tag/tag.css +40 -27
- package/components/tag/tag.d.ts +2 -1
- package/components/tag/tag.js +9 -4
- package/components/tag/tag.js.map +1 -1
- package/index.cjs +4 -0
- package/index.d.ts +2 -2
- package/index.js +1 -1
- package/package.json +1 -1
- package/styles.css +270 -52
package/styles.css
CHANGED
|
@@ -568,25 +568,69 @@
|
|
|
568
568
|
}
|
|
569
569
|
|
|
570
570
|
.button:hover {
|
|
571
|
+
/* color */
|
|
572
|
+
|
|
573
|
+
/* typography */
|
|
574
|
+
|
|
575
|
+
/* size */
|
|
576
|
+
|
|
577
|
+
/* border */
|
|
578
|
+
|
|
579
|
+
/* depth */
|
|
580
|
+
|
|
581
|
+
/* motion */
|
|
571
582
|
opacity: var(--button-opacity-hover);
|
|
572
583
|
}
|
|
573
584
|
|
|
574
585
|
.button:focus-visible {
|
|
586
|
+
/* color */
|
|
587
|
+
|
|
588
|
+
/* typography */
|
|
589
|
+
|
|
590
|
+
/* size */
|
|
591
|
+
|
|
592
|
+
/* border */
|
|
575
593
|
outline:
|
|
576
594
|
var(--button-focus-width)
|
|
577
595
|
solid
|
|
578
596
|
var(--button-focus-color);
|
|
579
597
|
outline-offset: var(--button-focus-offset);
|
|
598
|
+
|
|
599
|
+
/* depth */
|
|
600
|
+
|
|
601
|
+
/* motion */
|
|
580
602
|
}
|
|
581
603
|
|
|
582
604
|
.button:active {
|
|
605
|
+
/* color */
|
|
606
|
+
|
|
607
|
+
/* typography */
|
|
608
|
+
|
|
609
|
+
/* size */
|
|
610
|
+
|
|
611
|
+
/* border */
|
|
612
|
+
|
|
613
|
+
/* depth */
|
|
614
|
+
|
|
615
|
+
/* motion */
|
|
583
616
|
opacity: var(--button-opacity-active);
|
|
584
617
|
}
|
|
585
618
|
|
|
586
619
|
.button:disabled,
|
|
587
620
|
.button--disabled {
|
|
621
|
+
/* color */
|
|
588
622
|
background: var(--button-bg-disabled);
|
|
589
623
|
color: var(--button-color-disabled);
|
|
624
|
+
|
|
625
|
+
/* typography */
|
|
626
|
+
|
|
627
|
+
/* size */
|
|
628
|
+
|
|
629
|
+
/* border */
|
|
630
|
+
|
|
631
|
+
/* depth */
|
|
632
|
+
|
|
633
|
+
/* motion */
|
|
590
634
|
opacity: var(--button-opacity-disabled);
|
|
591
635
|
cursor: not-allowed;
|
|
592
636
|
}
|
|
@@ -594,25 +638,66 @@
|
|
|
594
638
|
/* Rank */
|
|
595
639
|
|
|
596
640
|
.button--primary {
|
|
641
|
+
/* color */
|
|
597
642
|
--button-bg: var(--color-primary-2);
|
|
598
643
|
--button-color: var(--color-text-primary-2);
|
|
599
644
|
--button-focus-color: var(--color-primary-2);
|
|
645
|
+
|
|
646
|
+
/* typography */
|
|
647
|
+
|
|
648
|
+
/* size */
|
|
649
|
+
|
|
650
|
+
/* border */
|
|
651
|
+
|
|
652
|
+
/* depth */
|
|
653
|
+
|
|
654
|
+
/* motion */
|
|
600
655
|
}
|
|
601
656
|
|
|
602
657
|
.button--link {
|
|
658
|
+
/* color */
|
|
603
659
|
--button-bg: transparent;
|
|
604
660
|
--button-color: var(--color-link);
|
|
605
661
|
--button-focus-color: var(--color-link);
|
|
662
|
+
|
|
663
|
+
/* typography */
|
|
664
|
+
|
|
665
|
+
/* size */
|
|
666
|
+
height: auto;
|
|
667
|
+
min-height: 0;
|
|
668
|
+
padding: 0;
|
|
669
|
+
|
|
670
|
+
/* border */
|
|
671
|
+
|
|
672
|
+
/* depth */
|
|
673
|
+
|
|
674
|
+
/* motion */
|
|
606
675
|
}
|
|
607
676
|
|
|
608
677
|
.button--link:disabled,
|
|
609
678
|
.button--link.button--disabled {
|
|
679
|
+
/* color */
|
|
610
680
|
background: transparent;
|
|
681
|
+
|
|
682
|
+
/* typography */
|
|
683
|
+
|
|
684
|
+
/* size */
|
|
685
|
+
|
|
686
|
+
/* border */
|
|
687
|
+
|
|
688
|
+
/* depth */
|
|
689
|
+
|
|
690
|
+
/* motion */
|
|
611
691
|
}
|
|
612
692
|
|
|
613
693
|
/* Density */
|
|
614
694
|
|
|
615
695
|
.button--compact {
|
|
696
|
+
/* color */
|
|
697
|
+
|
|
698
|
+
/* typography */
|
|
699
|
+
|
|
700
|
+
/* size */
|
|
616
701
|
/*
|
|
617
702
|
* Compact presentation is intentionally left
|
|
618
703
|
* token-driven but visually unfinished.
|
|
@@ -620,27 +705,66 @@
|
|
|
620
705
|
* Add compact control dimensions when the
|
|
621
706
|
* corresponding semantic tokens are available.
|
|
622
707
|
*/
|
|
708
|
+
|
|
709
|
+
/* border */
|
|
710
|
+
|
|
711
|
+
/* depth */
|
|
712
|
+
|
|
713
|
+
/* motion */
|
|
623
714
|
}
|
|
624
715
|
|
|
625
716
|
/* Mode */
|
|
626
717
|
|
|
627
718
|
.button--toolbar {
|
|
719
|
+
/* color */
|
|
628
720
|
--button-bg: transparent;
|
|
629
721
|
--button-color: var(--color-text);
|
|
630
722
|
--button-focus-color: var(--color-text);
|
|
631
723
|
|
|
632
724
|
background: transparent;
|
|
725
|
+
|
|
726
|
+
/* typography */
|
|
727
|
+
|
|
728
|
+
/* size */
|
|
633
729
|
padding-inline: 0;
|
|
730
|
+
|
|
731
|
+
/* border */
|
|
732
|
+
|
|
733
|
+
/* depth */
|
|
734
|
+
|
|
735
|
+
/* motion */
|
|
634
736
|
}
|
|
635
737
|
|
|
636
738
|
.button--toolbar:disabled,
|
|
637
739
|
.button--toolbar.button--disabled {
|
|
740
|
+
/* color */
|
|
638
741
|
background: transparent;
|
|
742
|
+
|
|
743
|
+
/* typography */
|
|
744
|
+
|
|
745
|
+
/* size */
|
|
746
|
+
|
|
747
|
+
/* border */
|
|
748
|
+
|
|
749
|
+
/* depth */
|
|
750
|
+
|
|
751
|
+
/* motion */
|
|
639
752
|
}
|
|
640
753
|
|
|
641
754
|
/* State */
|
|
642
755
|
|
|
643
756
|
.button--loading {
|
|
757
|
+
/* color */
|
|
758
|
+
|
|
759
|
+
/* typography */
|
|
760
|
+
|
|
761
|
+
/* size */
|
|
762
|
+
|
|
763
|
+
/* border */
|
|
764
|
+
|
|
765
|
+
/* depth */
|
|
766
|
+
|
|
767
|
+
/* motion */
|
|
644
768
|
/*
|
|
645
769
|
* Loading behavior is already defined by the
|
|
646
770
|
* component contract:
|
|
@@ -654,11 +778,33 @@
|
|
|
654
778
|
/* Content */
|
|
655
779
|
|
|
656
780
|
.button--icon-only {
|
|
781
|
+
/* color */
|
|
782
|
+
|
|
783
|
+
/* typography */
|
|
784
|
+
|
|
785
|
+
/* size */
|
|
657
786
|
padding-inline: var(--button-padding-icon-only);
|
|
787
|
+
|
|
788
|
+
/* border */
|
|
789
|
+
|
|
790
|
+
/* depth */
|
|
791
|
+
|
|
792
|
+
/* motion */
|
|
658
793
|
}
|
|
659
794
|
|
|
660
795
|
.button--toolbar.button--icon-only {
|
|
796
|
+
/* color */
|
|
797
|
+
|
|
798
|
+
/* typography */
|
|
799
|
+
|
|
800
|
+
/* size */
|
|
661
801
|
padding-inline: 0;
|
|
802
|
+
|
|
803
|
+
/* border */
|
|
804
|
+
|
|
805
|
+
/* depth */
|
|
806
|
+
|
|
807
|
+
/* motion */
|
|
662
808
|
}
|
|
663
809
|
|
|
664
810
|
/* src/components/calendar-month/calendar-month.css */
|
|
@@ -1095,7 +1241,7 @@
|
|
|
1095
1241
|
/* src/components/checkbox/checkbox.css */
|
|
1096
1242
|
.checkbox {
|
|
1097
1243
|
/* color */
|
|
1098
|
-
--checkbox-label-color:
|
|
1244
|
+
--checkbox-label-color: inherit;
|
|
1099
1245
|
|
|
1100
1246
|
color: var(--checkbox-label-color);
|
|
1101
1247
|
|
|
@@ -1129,6 +1275,7 @@
|
|
|
1129
1275
|
|
|
1130
1276
|
.checkbox__input {
|
|
1131
1277
|
/* color */
|
|
1278
|
+
accent-color: var(--color-primary-2);
|
|
1132
1279
|
|
|
1133
1280
|
/* typography */
|
|
1134
1281
|
|
|
@@ -1166,11 +1313,33 @@
|
|
|
1166
1313
|
}
|
|
1167
1314
|
|
|
1168
1315
|
.checkbox--disabled {
|
|
1316
|
+
/* color */
|
|
1317
|
+
|
|
1318
|
+
/* typography */
|
|
1319
|
+
|
|
1320
|
+
/* size */
|
|
1321
|
+
|
|
1322
|
+
/* border */
|
|
1323
|
+
|
|
1324
|
+
/* depth */
|
|
1325
|
+
|
|
1326
|
+
/* motion */
|
|
1169
1327
|
opacity: var(--checkbox-opacity-disabled);
|
|
1170
1328
|
cursor: not-allowed;
|
|
1171
1329
|
}
|
|
1172
1330
|
|
|
1173
1331
|
.checkbox__input:disabled {
|
|
1332
|
+
/* color */
|
|
1333
|
+
|
|
1334
|
+
/* typography */
|
|
1335
|
+
|
|
1336
|
+
/* size */
|
|
1337
|
+
|
|
1338
|
+
/* border */
|
|
1339
|
+
|
|
1340
|
+
/* depth */
|
|
1341
|
+
|
|
1342
|
+
/* motion */
|
|
1174
1343
|
cursor: not-allowed;
|
|
1175
1344
|
}
|
|
1176
1345
|
|
|
@@ -2230,6 +2399,23 @@
|
|
|
2230
2399
|
/* motion */
|
|
2231
2400
|
}
|
|
2232
2401
|
|
|
2402
|
+
.field__action {
|
|
2403
|
+
/* color */
|
|
2404
|
+
|
|
2405
|
+
/* typography */
|
|
2406
|
+
|
|
2407
|
+
/* size */
|
|
2408
|
+
display: flex;
|
|
2409
|
+
align-items: flex-start;
|
|
2410
|
+
width: 100%;
|
|
2411
|
+
|
|
2412
|
+
/* border */
|
|
2413
|
+
|
|
2414
|
+
/* depth */
|
|
2415
|
+
|
|
2416
|
+
/* motion */
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2233
2419
|
.field--disabled {
|
|
2234
2420
|
opacity: var(--field-opacity-disabled);
|
|
2235
2421
|
}
|
|
@@ -2386,7 +2572,6 @@
|
|
|
2386
2572
|
/* typography */
|
|
2387
2573
|
|
|
2388
2574
|
/* size */
|
|
2389
|
-
gap: var(--flip-list-open-content-gap);
|
|
2390
2575
|
|
|
2391
2576
|
/* border */
|
|
2392
2577
|
|
|
@@ -2406,8 +2591,9 @@
|
|
|
2406
2591
|
|
|
2407
2592
|
/* size */
|
|
2408
2593
|
display: flex;
|
|
2409
|
-
|
|
2410
|
-
|
|
2594
|
+
align-items: center;
|
|
2595
|
+
justify-content: space-between;
|
|
2596
|
+
gap: var(--flip-list-trigger-column-gap);
|
|
2411
2597
|
width: 100%;
|
|
2412
2598
|
min-width: 0;
|
|
2413
2599
|
max-width: 100%;
|
|
@@ -2468,27 +2654,6 @@
|
|
|
2468
2654
|
/* motion */
|
|
2469
2655
|
}
|
|
2470
2656
|
|
|
2471
|
-
.flip-list__main {
|
|
2472
|
-
/* color */
|
|
2473
|
-
|
|
2474
|
-
/* typography */
|
|
2475
|
-
|
|
2476
|
-
/* size */
|
|
2477
|
-
display: flex;
|
|
2478
|
-
align-items: flex-start;
|
|
2479
|
-
justify-content: space-between;
|
|
2480
|
-
gap: var(--flip-list-trigger-column-gap);
|
|
2481
|
-
width: 100%;
|
|
2482
|
-
min-width: 0;
|
|
2483
|
-
max-width: 100%;
|
|
2484
|
-
|
|
2485
|
-
/* border */
|
|
2486
|
-
|
|
2487
|
-
/* depth */
|
|
2488
|
-
|
|
2489
|
-
/* motion */
|
|
2490
|
-
}
|
|
2491
|
-
|
|
2492
2657
|
.flip-list__title {
|
|
2493
2658
|
/* color */
|
|
2494
2659
|
color: inherit;
|
|
@@ -2657,6 +2822,23 @@
|
|
|
2657
2822
|
/* motion */
|
|
2658
2823
|
}
|
|
2659
2824
|
|
|
2825
|
+
.flip-list__item--open
|
|
2826
|
+
.flip-list__content {
|
|
2827
|
+
/* color */
|
|
2828
|
+
|
|
2829
|
+
/* typography */
|
|
2830
|
+
|
|
2831
|
+
/* size */
|
|
2832
|
+
margin-top:
|
|
2833
|
+
var(--flip-list-open-content-gap);
|
|
2834
|
+
|
|
2835
|
+
/* border */
|
|
2836
|
+
|
|
2837
|
+
/* depth */
|
|
2838
|
+
|
|
2839
|
+
/* motion */
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2660
2842
|
.flip-list__content[hidden] {
|
|
2661
2843
|
/* color */
|
|
2662
2844
|
|
|
@@ -3396,7 +3578,7 @@
|
|
|
3396
3578
|
/* src/components/radio/radio.css */
|
|
3397
3579
|
.radio {
|
|
3398
3580
|
/* color */
|
|
3399
|
-
--radio-label-color:
|
|
3581
|
+
--radio-label-color: auto;
|
|
3400
3582
|
|
|
3401
3583
|
color: var(--radio-label-color);
|
|
3402
3584
|
|
|
@@ -3436,6 +3618,7 @@
|
|
|
3436
3618
|
|
|
3437
3619
|
.radio__input {
|
|
3438
3620
|
/* color */
|
|
3621
|
+
accent-color: var(--color-primary-2);
|
|
3439
3622
|
|
|
3440
3623
|
/* typography */
|
|
3441
3624
|
|
|
@@ -3467,11 +3650,33 @@
|
|
|
3467
3650
|
}
|
|
3468
3651
|
|
|
3469
3652
|
.radio--disabled {
|
|
3653
|
+
/* color */
|
|
3654
|
+
|
|
3655
|
+
/* typography */
|
|
3656
|
+
|
|
3657
|
+
/* size */
|
|
3658
|
+
|
|
3659
|
+
/* border */
|
|
3660
|
+
|
|
3661
|
+
/* depth */
|
|
3662
|
+
|
|
3663
|
+
/* motion */
|
|
3470
3664
|
opacity: var(--radio-opacity-disabled);
|
|
3471
3665
|
cursor: not-allowed;
|
|
3472
3666
|
}
|
|
3473
3667
|
|
|
3474
3668
|
.radio__input:disabled {
|
|
3669
|
+
/* color */
|
|
3670
|
+
|
|
3671
|
+
/* typography */
|
|
3672
|
+
|
|
3673
|
+
/* size */
|
|
3674
|
+
|
|
3675
|
+
/* border */
|
|
3676
|
+
|
|
3677
|
+
/* depth */
|
|
3678
|
+
|
|
3679
|
+
/* motion */
|
|
3475
3680
|
cursor: not-allowed;
|
|
3476
3681
|
}
|
|
3477
3682
|
|
|
@@ -4008,34 +4213,43 @@
|
|
|
4008
4213
|
--tag-font-family: var(--font-note-family);
|
|
4009
4214
|
--tag-font-weight: var(--font-note-weight);
|
|
4010
4215
|
--tag-font-size: var(--font-note-size);
|
|
4011
|
-
--tag-line-height:
|
|
4012
|
-
|
|
4216
|
+
--tag-line-height:
|
|
4217
|
+
var(--font-note-line-height);
|
|
4218
|
+
--tag-letter-spacing:
|
|
4219
|
+
var(--font-note-letter-spacing);
|
|
4013
4220
|
|
|
4014
4221
|
font-family: var(--tag-font-family);
|
|
4015
4222
|
font-size: var(--tag-font-size);
|
|
4016
4223
|
font-weight: var(--tag-font-weight);
|
|
4017
4224
|
line-height: var(--tag-line-height);
|
|
4018
|
-
letter-spacing:
|
|
4225
|
+
letter-spacing:
|
|
4226
|
+
var(--tag-letter-spacing);
|
|
4019
4227
|
|
|
4020
4228
|
/* size */
|
|
4021
4229
|
--tag-gap: 0;
|
|
4022
4230
|
--tag-height: auto;
|
|
4023
|
-
--tag-padding-x:
|
|
4024
|
-
|
|
4231
|
+
--tag-padding-x:
|
|
4232
|
+
var(--padding-tag-horz);
|
|
4233
|
+
--tag-padding-y:
|
|
4234
|
+
var(--padding-tag-vert);
|
|
4025
4235
|
|
|
4026
4236
|
display: inline-flex;
|
|
4027
4237
|
align-items: center;
|
|
4028
4238
|
gap: var(--tag-gap);
|
|
4029
4239
|
min-height: var(--tag-height);
|
|
4030
|
-
padding:
|
|
4240
|
+
padding:
|
|
4241
|
+
var(--tag-padding-y)
|
|
4242
|
+
var(--tag-padding-x);
|
|
4031
4243
|
|
|
4032
4244
|
/* border */
|
|
4033
4245
|
--tag-border-width: 0;
|
|
4034
|
-
--tag-border-radius:
|
|
4246
|
+
--tag-border-radius:
|
|
4247
|
+
var(--radius-control);
|
|
4035
4248
|
--tag-border-color: transparent;
|
|
4036
4249
|
|
|
4037
4250
|
border: none;
|
|
4038
|
-
border-radius:
|
|
4251
|
+
border-radius:
|
|
4252
|
+
var(--tag-border-radius);
|
|
4039
4253
|
outline: none;
|
|
4040
4254
|
|
|
4041
4255
|
/* depth */
|
|
@@ -4044,14 +4258,23 @@
|
|
|
4044
4258
|
--tag-transition-duration: 0.2s;
|
|
4045
4259
|
|
|
4046
4260
|
transition:
|
|
4047
|
-
border-color
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4261
|
+
border-color
|
|
4262
|
+
var(--tag-transition-duration)
|
|
4263
|
+
ease,
|
|
4264
|
+
background-color
|
|
4265
|
+
var(--tag-transition-duration)
|
|
4266
|
+
ease,
|
|
4267
|
+
color
|
|
4268
|
+
var(--tag-transition-duration)
|
|
4269
|
+
ease,
|
|
4270
|
+
opacity
|
|
4271
|
+
var(--tag-transition-duration)
|
|
4272
|
+
ease;
|
|
4051
4273
|
}
|
|
4052
4274
|
|
|
4053
|
-
.
|
|
4275
|
+
.tag--context-error {
|
|
4054
4276
|
/* color */
|
|
4277
|
+
--tag-bg: var(--color-bad);
|
|
4055
4278
|
|
|
4056
4279
|
/* typography */
|
|
4057
4280
|
|
|
@@ -4064,24 +4287,19 @@
|
|
|
4064
4287
|
/* motion */
|
|
4065
4288
|
}
|
|
4066
4289
|
|
|
4067
|
-
.tag
|
|
4068
|
-
|
|
4290
|
+
.tag--context-warning {
|
|
4291
|
+
/* color */
|
|
4292
|
+
--tag-bg: var(--color-med);
|
|
4069
4293
|
|
|
4070
|
-
|
|
4071
|
-
}
|
|
4294
|
+
/* typography */
|
|
4072
4295
|
|
|
4073
|
-
|
|
4074
|
-
}
|
|
4296
|
+
/* size */
|
|
4075
4297
|
|
|
4076
|
-
|
|
4077
|
-
}
|
|
4298
|
+
/* border */
|
|
4078
4299
|
|
|
4079
|
-
|
|
4080
|
-
--tag-bg: var(--color-bad);
|
|
4081
|
-
}
|
|
4300
|
+
/* depth */
|
|
4082
4301
|
|
|
4083
|
-
|
|
4084
|
-
--tag-bg: var(--color-med);
|
|
4302
|
+
/* motion */
|
|
4085
4303
|
}
|
|
4086
4304
|
|
|
4087
4305
|
/* src/components/textarea/textarea.css */
|