@govbr-ds/tokens 4.0.0-next.13 → 4.0.0-next.14

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.
@@ -4500,6 +4500,254 @@
4500
4500
  }
4501
4501
  }
4502
4502
  }
4503
+ },
4504
+ "formlabel": {
4505
+ "spacing": {
4506
+ "gap": {
4507
+ "$type": "spacing",
4508
+ "$value": "{spacing.layout.01}"
4509
+ }
4510
+ },
4511
+ "color": {
4512
+ "main": {
4513
+ "helpertext": {
4514
+ "$type": "color",
4515
+ "$value": "{color.read.main.alternative}"
4516
+ }
4517
+ },
4518
+ "contrast": {
4519
+ "helpertext": {
4520
+ "$type": "color",
4521
+ "$value": "{color.read.contrast.alternative}"
4522
+ }
4523
+ }
4524
+ },
4525
+ "fontStyle": {
4526
+ "helpertext": {
4527
+ "$type": "typography",
4528
+ "$value": {
4529
+ "fontFamily": "{typography.fontFamily.primary}",
4530
+ "fontWeight": "{typography.fontWeight.regular}",
4531
+ "fontSize": "{typography.fontSize.down.02}",
4532
+ "lineHeight": "{typography.lineHeight.small}"
4533
+ }
4534
+ }
4535
+ }
4536
+ },
4537
+ "divider": {
4538
+ "borderStyle": {
4539
+ "small": {
4540
+ "solid": {
4541
+ "$type": "border",
4542
+ "$value": {
4543
+ "color": "{color.border.base}",
4544
+ "width": "{surface.borderWidth.small}",
4545
+ "style": "solid"
4546
+ }
4547
+ },
4548
+ "dashed": {
4549
+ "$type": "border",
4550
+ "$value": {
4551
+ "color": "{color.border.base}",
4552
+ "width": "{surface.borderWidth.small}",
4553
+ "style": "dashed"
4554
+ }
4555
+ }
4556
+ },
4557
+ "medium": {
4558
+ "solid": {
4559
+ "$type": "border",
4560
+ "$value": {
4561
+ "color": "{color.border.base}",
4562
+ "width": "{surface.borderWidth.medium}",
4563
+ "style": "solid"
4564
+ }
4565
+ },
4566
+ "dashed": {
4567
+ "$type": "border",
4568
+ "$value": {
4569
+ "color": "{color.border.base}",
4570
+ "width": "{surface.borderWidth.medium}",
4571
+ "style": "dashed"
4572
+ }
4573
+ }
4574
+ },
4575
+ "large": {
4576
+ "solid": {
4577
+ "$type": "border",
4578
+ "$value": {
4579
+ "color": "{color.border.base}",
4580
+ "width": "{surface.borderWidth.large}",
4581
+ "style": "solid"
4582
+ }
4583
+ },
4584
+ "dashed": {
4585
+ "$type": "border",
4586
+ "$value": {
4587
+ "color": "{color.border.base}",
4588
+ "width": "{surface.borderWidth.large}",
4589
+ "style": "dashed"
4590
+ }
4591
+ }
4592
+ }
4593
+ },
4594
+ "spacing": {
4595
+ "gap": {
4596
+ "$value": "{spacing.layout.01}",
4597
+ "$type": "spacing"
4598
+ }
4599
+ },
4600
+ "density": {
4601
+ "compact": {
4602
+ "$value": "{spacing.layout.02}",
4603
+ "$type": "spacing"
4604
+ },
4605
+ "regular": {
4606
+ "$value": "{spacing.layout.05}",
4607
+ "$type": "spacing"
4608
+ },
4609
+ "spacious": {
4610
+ "$value": "{spacing.layout.07}",
4611
+ "$type": "spacing"
4612
+ }
4613
+ }
4614
+ },
4615
+ "message": {
4616
+ "neutral": {
4617
+ "color": {
4618
+ "surface": {
4619
+ "$type": "color",
4620
+ "$value": "{color.surface.main.alternative}"
4621
+ },
4622
+ "read": {
4623
+ "$type": "color",
4624
+ "$value": "{color.read.main.base}"
4625
+ }
4626
+ }
4627
+ },
4628
+ "shadowStyle": {
4629
+ "global": {
4630
+ "$type": "boxShadow",
4631
+ "$value": "{elevation.shadowStyle.level.1}"
4632
+ },
4633
+ "toast": {
4634
+ "$type": "boxShadow",
4635
+ "$value": "{elevation.shadowStyle.level.4}"
4636
+ }
4637
+ },
4638
+ "fontStyle": {
4639
+ "description": {
4640
+ "global": {
4641
+ "$type": "typography",
4642
+ "$value": {
4643
+ "fontFamily": "{typography.fontFamily.primary}",
4644
+ "fontWeight": "{typography.fontWeight.regular}",
4645
+ "fontSize": "{typography.fontSize.default}",
4646
+ "lineHeight": "{typography.lineHeight.medium}"
4647
+ }
4648
+ },
4649
+ "toast": {
4650
+ "$type": "typography",
4651
+ "$value": {
4652
+ "fontFamily": "{typography.fontFamily.primary}",
4653
+ "fontWeight": "{typography.fontWeight.regular}",
4654
+ "fontSize": "{typography.fontSize.default}",
4655
+ "lineHeight": "{typography.lineHeight.medium}"
4656
+ }
4657
+ },
4658
+ "contextual": {
4659
+ "$type": "typography",
4660
+ "$value": {
4661
+ "fontFamily": "{typography.fontFamily.primary}",
4662
+ "fontWeight": "{typography.fontWeight.regular}",
4663
+ "fontSize": "{typography.fontSize.down.01}",
4664
+ "lineHeight": "{typography.lineHeight.medium}"
4665
+ }
4666
+ }
4667
+ }
4668
+ },
4669
+ "alert": {
4670
+ "color": {
4671
+ "surface": {
4672
+ "$type": "color",
4673
+ "$value": "{state.alert.color.main}"
4674
+ },
4675
+ "read": {
4676
+ "$type": "color",
4677
+ "$value": "{state.alert.color.read.main}"
4678
+ }
4679
+ }
4680
+ },
4681
+ "success": {
4682
+ "color": {
4683
+ "surface": {
4684
+ "$type": "color",
4685
+ "$value": "{state.success.color.main}"
4686
+ },
4687
+ "read": {
4688
+ "$type": "color",
4689
+ "$value": "{state.success.color.read.main}"
4690
+ }
4691
+ }
4692
+ },
4693
+ "error": {
4694
+ "color": {
4695
+ "surface": {
4696
+ "$type": "color",
4697
+ "$value": "{state.error.color.main}"
4698
+ },
4699
+ "read": {
4700
+ "$type": "color",
4701
+ "$value": "{state.error.color.read.main}"
4702
+ }
4703
+ }
4704
+ },
4705
+ "global": {
4706
+ "gap": {
4707
+ "spacing": {
4708
+ "$type": "spacing",
4709
+ "$value": "{spacing.layout.01}"
4710
+ }
4711
+ },
4712
+ "padding": {
4713
+ "spacing": {
4714
+ "$type": "spacing",
4715
+ "$value": "{spacing.layout.02}"
4716
+ }
4717
+ }
4718
+ },
4719
+ "rounder": {
4720
+ "$type": "borderRadius",
4721
+ "$value": "{surface.rounder.small}"
4722
+ },
4723
+ "contextual": {
4724
+ "gap": {
4725
+ "spacing": {
4726
+ "$type": "spacing",
4727
+ "$value": "{spacing.adjust.01}"
4728
+ }
4729
+ },
4730
+ "padding": {
4731
+ "spacing": {
4732
+ "$type": "spacing",
4733
+ "$value": "{spacing.adjust.01}"
4734
+ }
4735
+ }
4736
+ },
4737
+ "toast": {
4738
+ "gap": {
4739
+ "spacing": {
4740
+ "$type": "spacing",
4741
+ "$value": "{spacing.layout.01}"
4742
+ }
4743
+ },
4744
+ "padding": {
4745
+ "spacing": {
4746
+ "$type": "spacing",
4747
+ "$value": "{spacing.layout.01}"
4748
+ }
4749
+ }
4750
+ }
4503
4751
  }
4504
4752
  },
4505
4753
  "light": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govbr-ds/tokens",
3
- "version": "4.0.0-next.13",
3
+ "version": "4.0.0-next.14",
4
4
  "type": "module",
5
5
  "description": "Tokens do Padrão Digital de Governo",
6
6
  "keywords": [
@@ -0,0 +1,24 @@
1
+ {
2
+ "formlabel": {
3
+ "spacing": {
4
+ "gap": {
5
+ "$type": "number",
6
+ "$value": "{spacing.layout.01}"
7
+ }
8
+ },
9
+ "color": {
10
+ "main": {
11
+ "helpertext": {
12
+ "$type": "color",
13
+ "$value": "{color.read.main.alternative}"
14
+ }
15
+ },
16
+ "contrast": {
17
+ "helpertext": {
18
+ "$type": "color",
19
+ "$value": "{color.read.contrast.alternative}"
20
+ }
21
+ }
22
+ }
23
+ }
24
+ }
@@ -6,12 +6,14 @@
6
6
  "Base16": [
7
7
  "text.json",
8
8
  "icon.json",
9
- "button.json"
9
+ "button.json",
10
+ "formlabel.json"
10
11
  ],
11
12
  "Base14": [
12
13
  "text.json",
13
14
  "icon.json",
14
15
  "button.json",
16
+ "formlabel.json",
15
17
  "base14.json"
16
18
  ]
17
19
  }
@@ -550,5 +550,253 @@
550
550
  }
551
551
  }
552
552
  }
553
+ },
554
+ "formlabel": {
555
+ "spacing": {
556
+ "gap": {
557
+ "$type": "spacing",
558
+ "$value": "{spacing.layout.01}"
559
+ }
560
+ },
561
+ "color": {
562
+ "main": {
563
+ "helpertext": {
564
+ "$type": "color",
565
+ "$value": "{color.read.main.alternative}"
566
+ }
567
+ },
568
+ "contrast": {
569
+ "helpertext": {
570
+ "$type": "color",
571
+ "$value": "{color.read.contrast.alternative}"
572
+ }
573
+ }
574
+ },
575
+ "fontStyle": {
576
+ "helpertext": {
577
+ "$type": "typography",
578
+ "$value": {
579
+ "fontFamily": "{typography.fontFamily.primary}",
580
+ "fontWeight": "{typography.fontWeight.regular}",
581
+ "fontSize": "{typography.fontSize.down.02}",
582
+ "lineHeight": "{typography.lineHeight.small}"
583
+ }
584
+ }
585
+ }
586
+ },
587
+ "divider": {
588
+ "borderStyle": {
589
+ "small": {
590
+ "solid": {
591
+ "$type": "border",
592
+ "$value": {
593
+ "color": "{color.border.base}",
594
+ "width": "{surface.borderWidth.small}",
595
+ "style": "solid"
596
+ }
597
+ },
598
+ "dashed": {
599
+ "$type": "border",
600
+ "$value": {
601
+ "color": "{color.border.base}",
602
+ "width": "{surface.borderWidth.small}",
603
+ "style": "dashed"
604
+ }
605
+ }
606
+ },
607
+ "medium": {
608
+ "solid": {
609
+ "$type": "border",
610
+ "$value": {
611
+ "color": "{color.border.base}",
612
+ "width": "{surface.borderWidth.medium}",
613
+ "style": "solid"
614
+ }
615
+ },
616
+ "dashed": {
617
+ "$type": "border",
618
+ "$value": {
619
+ "color": "{color.border.base}",
620
+ "width": "{surface.borderWidth.medium}",
621
+ "style": "dashed"
622
+ }
623
+ }
624
+ },
625
+ "large": {
626
+ "solid": {
627
+ "$type": "border",
628
+ "$value": {
629
+ "color": "{color.border.base}",
630
+ "width": "{surface.borderWidth.large}",
631
+ "style": "solid"
632
+ }
633
+ },
634
+ "dashed": {
635
+ "$type": "border",
636
+ "$value": {
637
+ "color": "{color.border.base}",
638
+ "width": "{surface.borderWidth.large}",
639
+ "style": "dashed"
640
+ }
641
+ }
642
+ }
643
+ },
644
+ "spacing": {
645
+ "gap": {
646
+ "$value": "{spacing.layout.01}",
647
+ "$type": "spacing"
648
+ }
649
+ },
650
+ "density": {
651
+ "compact": {
652
+ "$value": "{spacing.layout.02}",
653
+ "$type": "spacing"
654
+ },
655
+ "regular": {
656
+ "$value": "{spacing.layout.05}",
657
+ "$type": "spacing"
658
+ },
659
+ "spacious": {
660
+ "$value": "{spacing.layout.07}",
661
+ "$type": "spacing"
662
+ }
663
+ }
664
+ },
665
+ "message": {
666
+ "neutral": {
667
+ "color": {
668
+ "surface": {
669
+ "$type": "color",
670
+ "$value": "{color.surface.main.alternative}"
671
+ },
672
+ "read": {
673
+ "$type": "color",
674
+ "$value": "{color.read.main.base}"
675
+ }
676
+ }
677
+ },
678
+ "shadowStyle": {
679
+ "global": {
680
+ "$type": "boxShadow",
681
+ "$value": "{elevation.shadowStyle.level.1}"
682
+ },
683
+ "toast": {
684
+ "$type": "boxShadow",
685
+ "$value": "{elevation.shadowStyle.level.4}"
686
+ }
687
+ },
688
+ "fontStyle": {
689
+ "description": {
690
+ "global": {
691
+ "$type": "typography",
692
+ "$value": {
693
+ "fontFamily": "{typography.fontFamily.primary}",
694
+ "fontWeight": "{typography.fontWeight.regular}",
695
+ "fontSize": "{typography.fontSize.default}",
696
+ "lineHeight": "{typography.lineHeight.medium}"
697
+ }
698
+ },
699
+ "toast": {
700
+ "$type": "typography",
701
+ "$value": {
702
+ "fontFamily": "{typography.fontFamily.primary}",
703
+ "fontWeight": "{typography.fontWeight.regular}",
704
+ "fontSize": "{typography.fontSize.default}",
705
+ "lineHeight": "{typography.lineHeight.medium}"
706
+ }
707
+ },
708
+ "contextual": {
709
+ "$type": "typography",
710
+ "$value": {
711
+ "fontFamily": "{typography.fontFamily.primary}",
712
+ "fontWeight": "{typography.fontWeight.regular}",
713
+ "fontSize": "{typography.fontSize.down.01}",
714
+ "lineHeight": "{typography.lineHeight.medium}"
715
+ }
716
+ }
717
+ }
718
+ },
719
+ "alert": {
720
+ "color": {
721
+ "surface": {
722
+ "$type": "color",
723
+ "$value": "{state.alert.color.main}"
724
+ },
725
+ "read": {
726
+ "$type": "color",
727
+ "$value": "{state.alert.color.read.main}"
728
+ }
729
+ }
730
+ },
731
+ "success": {
732
+ "color": {
733
+ "surface": {
734
+ "$type": "color",
735
+ "$value": "{state.success.color.main}"
736
+ },
737
+ "read": {
738
+ "$type": "color",
739
+ "$value": "{state.success.color.read.main}"
740
+ }
741
+ }
742
+ },
743
+ "error": {
744
+ "color": {
745
+ "surface": {
746
+ "$type": "color",
747
+ "$value": "{state.error.color.main}"
748
+ },
749
+ "read": {
750
+ "$type": "color",
751
+ "$value": "{state.error.color.read.main}"
752
+ }
753
+ }
754
+ },
755
+ "global": {
756
+ "gap": {
757
+ "spacing": {
758
+ "$type": "spacing",
759
+ "$value": "{spacing.layout.01}"
760
+ }
761
+ },
762
+ "padding": {
763
+ "spacing": {
764
+ "$type": "spacing",
765
+ "$value": "{spacing.layout.02}"
766
+ }
767
+ }
768
+ },
769
+ "rounder": {
770
+ "$type": "borderRadius",
771
+ "$value": "{surface.rounder.small}"
772
+ },
773
+ "contextual": {
774
+ "gap": {
775
+ "spacing": {
776
+ "$type": "spacing",
777
+ "$value": "{spacing.adjust.01}"
778
+ }
779
+ },
780
+ "padding": {
781
+ "spacing": {
782
+ "$type": "spacing",
783
+ "$value": "{spacing.adjust.01}"
784
+ }
785
+ }
786
+ },
787
+ "toast": {
788
+ "gap": {
789
+ "spacing": {
790
+ "$type": "spacing",
791
+ "$value": "{spacing.layout.01}"
792
+ }
793
+ },
794
+ "padding": {
795
+ "spacing": {
796
+ "$type": "spacing",
797
+ "$value": "{spacing.layout.01}"
798
+ }
799
+ }
800
+ }
553
801
  }
554
802
  }