@govbr-ds/tokens 4.0.0-next.14 → 4.0.0-next.15
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/dist/css/component/input.css +37 -0
- package/dist/css/component/message.css +14 -19
- package/dist/css/component/text.css +3 -3
- package/dist/css/tokens.css +2 -2
- package/dist/js/component/input.js +35 -0
- package/dist/js/component/message.js +15 -21
- package/dist/js/component/text.js +4 -4
- package/dist/js/tokens.js +1 -2
- package/dist/json/component/input.json +907 -0
- package/dist/json/component/message.json +213 -373
- package/dist/json/component/text.json +7 -7
- package/dist/json/tokens.json +22 -22
- package/dist/scss/component/input.scss +35 -0
- package/dist/scss/component/message.scss +14 -19
- package/dist/scss/component/text.scss +4 -4
- package/dist/scss/tokens.scss +2 -2
- package/dist/tokens-studio/tokens.json +219 -88
- package/package.json +1 -1
- package/src/figma/component/divider.json +24 -0
- package/src/figma/component/input.json +156 -0
- package/src/figma/component/manifest.json +7 -1
- package/src/figma/component/message.json +70 -0
- package/src/figma/component/text.json +3 -3
- package/src/temp/component.json +212 -81
- package/src/temp/core.json +7 -7
- package/src/tokens.json +219 -88
package/src/tokens.json
CHANGED
|
@@ -2237,29 +2237,29 @@
|
|
|
2237
2237
|
"lineHeight": "{typography.lineHeight.medium}"
|
|
2238
2238
|
}
|
|
2239
2239
|
},
|
|
2240
|
-
"
|
|
2240
|
+
"paragraph": {
|
|
2241
2241
|
"$type": "typography",
|
|
2242
2242
|
"$value": {
|
|
2243
2243
|
"fontFamily": "{typography.fontFamily.primary}",
|
|
2244
|
-
"fontWeight": "
|
|
2245
|
-
"fontSize": "{typography.fontSize.
|
|
2244
|
+
"fontWeight": "{typography.fontWeight.regular}",
|
|
2245
|
+
"fontSize": "{typography.fontSize.default}",
|
|
2246
2246
|
"lineHeight": "{typography.lineHeight.medium}"
|
|
2247
2247
|
}
|
|
2248
2248
|
},
|
|
2249
|
-
"
|
|
2249
|
+
"input": {
|
|
2250
2250
|
"$type": "typography",
|
|
2251
2251
|
"$value": {
|
|
2252
2252
|
"fontFamily": "{typography.fontFamily.primary}",
|
|
2253
|
-
"fontWeight": "{typography.fontWeight.
|
|
2253
|
+
"fontWeight": "{typography.fontWeight.medium}",
|
|
2254
2254
|
"fontSize": "{typography.fontSize.default}",
|
|
2255
2255
|
"lineHeight": "{typography.lineHeight.medium}"
|
|
2256
2256
|
}
|
|
2257
2257
|
},
|
|
2258
|
-
"
|
|
2258
|
+
"placeholder": {
|
|
2259
2259
|
"$type": "typography",
|
|
2260
2260
|
"$value": {
|
|
2261
2261
|
"fontFamily": "{typography.fontFamily.primary}",
|
|
2262
|
-
"fontWeight": "
|
|
2262
|
+
"fontWeight": "Italic",
|
|
2263
2263
|
"fontSize": "{typography.fontSize.default}",
|
|
2264
2264
|
"lineHeight": "{typography.lineHeight.medium}"
|
|
2265
2265
|
}
|
|
@@ -4010,15 +4010,15 @@
|
|
|
4010
4010
|
"title": {
|
|
4011
4011
|
"small": {
|
|
4012
4012
|
"$type": "fontSizes",
|
|
4013
|
-
"$value": "{typography.fontSize.
|
|
4013
|
+
"$value": "{typography.fontSize.up.01}"
|
|
4014
4014
|
},
|
|
4015
4015
|
"medium": {
|
|
4016
4016
|
"$type": "fontSizes",
|
|
4017
|
-
"$value": "{typography.fontSize.up.
|
|
4017
|
+
"$value": "{typography.fontSize.up.02}"
|
|
4018
4018
|
},
|
|
4019
4019
|
"large": {
|
|
4020
4020
|
"$type": "fontSizes",
|
|
4021
|
-
"$value": "{typography.fontSize.up.
|
|
4021
|
+
"$value": "{typography.fontSize.up.03}"
|
|
4022
4022
|
}
|
|
4023
4023
|
}
|
|
4024
4024
|
},
|
|
@@ -4613,140 +4613,271 @@
|
|
|
4613
4613
|
}
|
|
4614
4614
|
},
|
|
4615
4615
|
"message": {
|
|
4616
|
-
"
|
|
4617
|
-
"
|
|
4618
|
-
"
|
|
4616
|
+
"color": {
|
|
4617
|
+
"surface": {
|
|
4618
|
+
"base": {
|
|
4619
4619
|
"$type": "color",
|
|
4620
|
-
"$value": "{color.surface.main.
|
|
4620
|
+
"$value": "{color.surface.main.base}"
|
|
4621
4621
|
},
|
|
4622
|
-
"
|
|
4622
|
+
"alternative": {
|
|
4623
|
+
"$type": "color",
|
|
4624
|
+
"$value": "{color.surface.main.alternative}"
|
|
4625
|
+
}
|
|
4626
|
+
},
|
|
4627
|
+
"read": {
|
|
4628
|
+
"description": {
|
|
4623
4629
|
"$type": "color",
|
|
4624
4630
|
"$value": "{color.read.main.base}"
|
|
4625
4631
|
}
|
|
4626
4632
|
}
|
|
4627
4633
|
},
|
|
4634
|
+
"rounder": {
|
|
4635
|
+
"global": {
|
|
4636
|
+
"$type": "borderRadius",
|
|
4637
|
+
"$value": "{surface.rounder.none}"
|
|
4638
|
+
},
|
|
4639
|
+
"contextual": {
|
|
4640
|
+
"$type": "borderRadius",
|
|
4641
|
+
"$value": "{surface.rounder.small}"
|
|
4642
|
+
}
|
|
4643
|
+
},
|
|
4628
4644
|
"shadowStyle": {
|
|
4629
4645
|
"global": {
|
|
4630
4646
|
"$type": "boxShadow",
|
|
4631
4647
|
"$value": "{elevation.shadowStyle.level.1}"
|
|
4632
4648
|
},
|
|
4633
|
-
"
|
|
4649
|
+
"contextual": {
|
|
4634
4650
|
"$type": "boxShadow",
|
|
4635
|
-
"$value": "{elevation.shadowStyle.level.
|
|
4651
|
+
"$value": "{elevation.shadowStyle.level.0}"
|
|
4636
4652
|
}
|
|
4637
4653
|
},
|
|
4638
4654
|
"fontStyle": {
|
|
4639
4655
|
"description": {
|
|
4656
|
+
"$type": "typography",
|
|
4657
|
+
"$value": "{typography.fontStyle.paragraph}"
|
|
4658
|
+
}
|
|
4659
|
+
},
|
|
4660
|
+
"spacing": {
|
|
4661
|
+
"gap": {
|
|
4640
4662
|
"global": {
|
|
4641
|
-
"$type": "
|
|
4642
|
-
"$value": {
|
|
4643
|
-
"fontFamily": "{typography.fontFamily.primary}",
|
|
4644
|
-
"fontWeight": "{typography.fontWeight.regular}",
|
|
4645
|
-
"fontSize": "{typography.fontSize.default}",
|
|
4646
|
-
"lineHeight": "{typography.lineHeight.medium}"
|
|
4647
|
-
}
|
|
4663
|
+
"$type": "spacing",
|
|
4664
|
+
"$value": "{spacing.layout.01}"
|
|
4648
4665
|
},
|
|
4649
|
-
"
|
|
4650
|
-
"$type": "
|
|
4651
|
-
"$value": {
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4666
|
+
"contextual": {
|
|
4667
|
+
"$type": "spacing",
|
|
4668
|
+
"$value": "{spacing.adjust.01}"
|
|
4669
|
+
}
|
|
4670
|
+
},
|
|
4671
|
+
"padding": {
|
|
4672
|
+
"global": {
|
|
4673
|
+
"$type": "spacing",
|
|
4674
|
+
"$value": "{spacing.layout.02}"
|
|
4657
4675
|
},
|
|
4658
4676
|
"contextual": {
|
|
4659
|
-
"$type": "
|
|
4660
|
-
"$value": {
|
|
4661
|
-
"fontFamily": "{typography.fontFamily.primary}",
|
|
4662
|
-
"fontWeight": "{typography.fontWeight.regular}",
|
|
4663
|
-
"fontSize": "{typography.fontSize.down.01}",
|
|
4664
|
-
"lineHeight": "{typography.lineHeight.medium}"
|
|
4665
|
-
}
|
|
4677
|
+
"$type": "spacing",
|
|
4678
|
+
"$value": "{spacing.adjust.01}"
|
|
4666
4679
|
}
|
|
4667
4680
|
}
|
|
4668
4681
|
},
|
|
4669
|
-
"
|
|
4682
|
+
"hover": {
|
|
4670
4683
|
"color": {
|
|
4671
|
-
"
|
|
4684
|
+
"success": {
|
|
4672
4685
|
"$type": "color",
|
|
4673
|
-
"$value": "{state.
|
|
4686
|
+
"$value": "rgba({color.greenVivid.80}, {state.hover.opacity.bright})"
|
|
4674
4687
|
},
|
|
4675
|
-
"
|
|
4688
|
+
"alert": {
|
|
4676
4689
|
"$type": "color",
|
|
4677
|
-
"$value": "{state.
|
|
4690
|
+
"$value": "rgba({color.yellowVivid.10}, {state.hover.opacity.dim})"
|
|
4691
|
+
},
|
|
4692
|
+
"error": {
|
|
4693
|
+
"$type": "color",
|
|
4694
|
+
"$value": "rgba({color.redVivid.80}, {state.hover.opacity.bright})"
|
|
4678
4695
|
}
|
|
4679
4696
|
}
|
|
4680
|
-
}
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4697
|
+
}
|
|
4698
|
+
},
|
|
4699
|
+
"input": {
|
|
4700
|
+
"color": {
|
|
4701
|
+
"read": {
|
|
4702
|
+
"placeholder": {
|
|
4684
4703
|
"$type": "color",
|
|
4685
|
-
"$value": "{
|
|
4704
|
+
"$value": "{color.read.main.alternative}"
|
|
4686
4705
|
},
|
|
4687
|
-
"
|
|
4706
|
+
"input": {
|
|
4688
4707
|
"$type": "color",
|
|
4689
|
-
"$value": "{
|
|
4708
|
+
"$value": "{color.read.main.base}"
|
|
4709
|
+
}
|
|
4710
|
+
},
|
|
4711
|
+
"surface": {
|
|
4712
|
+
"base": {
|
|
4713
|
+
"$type": "color",
|
|
4714
|
+
"$value": "{color.surface.main.base}"
|
|
4715
|
+
},
|
|
4716
|
+
"alternative": {
|
|
4717
|
+
"$type": "color",
|
|
4718
|
+
"$value": "{color.surface.main.alternative}"
|
|
4690
4719
|
}
|
|
4691
4720
|
}
|
|
4692
4721
|
},
|
|
4693
|
-
"
|
|
4722
|
+
"rounder": {
|
|
4723
|
+
"$type": "borderRadius",
|
|
4724
|
+
"$value": "{surface.rounder.small}"
|
|
4725
|
+
},
|
|
4726
|
+
"spacing": {
|
|
4727
|
+
"padding": {
|
|
4728
|
+
"$type": "spacing",
|
|
4729
|
+
"$value": "{spacing.layout.01}"
|
|
4730
|
+
},
|
|
4731
|
+
"gap": {
|
|
4732
|
+
"$type": "spacing",
|
|
4733
|
+
"$value": "{spacing.layout.01}"
|
|
4734
|
+
}
|
|
4735
|
+
},
|
|
4736
|
+
"borderStyle": {
|
|
4737
|
+
"$type": "border",
|
|
4738
|
+
"$value": {
|
|
4739
|
+
"color": "{color.border.base}",
|
|
4740
|
+
"width": "{surface.borderWidth.small}",
|
|
4741
|
+
"style": "solid"
|
|
4742
|
+
}
|
|
4743
|
+
},
|
|
4744
|
+
"fontStyle": {
|
|
4745
|
+
"placeholder": {
|
|
4746
|
+
"$type": "typography",
|
|
4747
|
+
"$value": "{typography.fontStyle.placeholder}"
|
|
4748
|
+
},
|
|
4749
|
+
"input": {
|
|
4750
|
+
"$type": "typography",
|
|
4751
|
+
"$value": "{typography.fontStyle.input}"
|
|
4752
|
+
}
|
|
4753
|
+
},
|
|
4754
|
+
"lineHeight": {
|
|
4755
|
+
"$type": "lineHeights",
|
|
4756
|
+
"$value": "{typography.lineHeight.xlarge}"
|
|
4757
|
+
},
|
|
4758
|
+
"density": {
|
|
4759
|
+
"compact": {
|
|
4760
|
+
"$type": "spacing",
|
|
4761
|
+
"$value": "{spacing.none}"
|
|
4762
|
+
},
|
|
4763
|
+
"regular": {
|
|
4764
|
+
"$type": "spacing",
|
|
4765
|
+
"$value": "{spacing.adjust.01}"
|
|
4766
|
+
},
|
|
4767
|
+
"spacious": {
|
|
4768
|
+
"$type": "spacing",
|
|
4769
|
+
"$value": "{spacing.layout.01}"
|
|
4770
|
+
}
|
|
4771
|
+
},
|
|
4772
|
+
"readonly": {
|
|
4694
4773
|
"color": {
|
|
4695
|
-
"surface": {
|
|
4696
|
-
"$type": "color",
|
|
4697
|
-
"$value": "{state.error.color.main}"
|
|
4698
|
-
},
|
|
4699
4774
|
"read": {
|
|
4775
|
+
"main": {
|
|
4776
|
+
"$type": "color",
|
|
4777
|
+
"$value": "{color.read.main.alternative}"
|
|
4778
|
+
},
|
|
4779
|
+
"contrast": {
|
|
4780
|
+
"$type": "color",
|
|
4781
|
+
"$value": "{color.read.contrast.alternative}"
|
|
4782
|
+
}
|
|
4783
|
+
},
|
|
4784
|
+
"surface": {
|
|
4700
4785
|
"$type": "color",
|
|
4701
|
-
"$value": "
|
|
4786
|
+
"$value": "transparent"
|
|
4702
4787
|
}
|
|
4788
|
+
},
|
|
4789
|
+
"borderWidth": {
|
|
4790
|
+
"$type": "borderWidth",
|
|
4791
|
+
"$value": "{surface.borderWidth.none}"
|
|
4703
4792
|
}
|
|
4704
4793
|
},
|
|
4705
|
-
"
|
|
4706
|
-
"
|
|
4707
|
-
"
|
|
4708
|
-
|
|
4709
|
-
|
|
4794
|
+
"hover": {
|
|
4795
|
+
"color": {
|
|
4796
|
+
"$type": "color",
|
|
4797
|
+
"$value": "{state.hover.color.main.read}"
|
|
4798
|
+
},
|
|
4799
|
+
"easing": {
|
|
4800
|
+
"in": {
|
|
4801
|
+
"$type": "easing",
|
|
4802
|
+
"$value": "{state.hover.easing.in}"
|
|
4803
|
+
},
|
|
4804
|
+
"out": {
|
|
4805
|
+
"$type": "easing",
|
|
4806
|
+
"$value": "{state.hover.easing.out}"
|
|
4710
4807
|
}
|
|
4711
4808
|
},
|
|
4712
|
-
"
|
|
4713
|
-
"
|
|
4714
|
-
"$type": "
|
|
4715
|
-
"$value": "{
|
|
4809
|
+
"duration": {
|
|
4810
|
+
"in": {
|
|
4811
|
+
"$type": "duration",
|
|
4812
|
+
"$value": "{state.hover.duration.in}"
|
|
4813
|
+
},
|
|
4814
|
+
"out": {
|
|
4815
|
+
"$type": "duration",
|
|
4816
|
+
"$value": "{state.hover.duration.out}"
|
|
4716
4817
|
}
|
|
4717
4818
|
}
|
|
4718
4819
|
},
|
|
4719
|
-
"
|
|
4720
|
-
"
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
"
|
|
4725
|
-
"
|
|
4726
|
-
"$type": "
|
|
4727
|
-
"$value": "{
|
|
4820
|
+
"pressed": {
|
|
4821
|
+
"shadowStyle": {
|
|
4822
|
+
"$type": "boxShadow",
|
|
4823
|
+
"$value": "{state.pressed.shadowStyle}"
|
|
4824
|
+
},
|
|
4825
|
+
"easing": {
|
|
4826
|
+
"in": {
|
|
4827
|
+
"$type": "easing",
|
|
4828
|
+
"$value": "{state.pressed.easing.in}"
|
|
4829
|
+
},
|
|
4830
|
+
"out": {
|
|
4831
|
+
"$type": "easing",
|
|
4832
|
+
"$value": "{state.pressed.easing.out}"
|
|
4728
4833
|
}
|
|
4729
4834
|
},
|
|
4730
|
-
"
|
|
4731
|
-
"
|
|
4732
|
-
"$type": "
|
|
4733
|
-
"$value": "{
|
|
4835
|
+
"duration": {
|
|
4836
|
+
"in": {
|
|
4837
|
+
"$type": "duration",
|
|
4838
|
+
"$value": "{state.pressed.duration.in}"
|
|
4839
|
+
},
|
|
4840
|
+
"out": {
|
|
4841
|
+
"$type": "duration",
|
|
4842
|
+
"$value": "{state.pressed.duration.out}"
|
|
4734
4843
|
}
|
|
4735
4844
|
}
|
|
4736
4845
|
},
|
|
4737
|
-
"
|
|
4738
|
-
"
|
|
4739
|
-
"
|
|
4740
|
-
|
|
4741
|
-
|
|
4846
|
+
"focus": {
|
|
4847
|
+
"borderStyle": {
|
|
4848
|
+
"$type": "border",
|
|
4849
|
+
"$value": "{state.focus.borderStyle.low.main}"
|
|
4850
|
+
},
|
|
4851
|
+
"easing": {
|
|
4852
|
+
"in": {
|
|
4853
|
+
"$type": "easing",
|
|
4854
|
+
"$value": "{state.focus.easing.in}"
|
|
4855
|
+
},
|
|
4856
|
+
"out": {
|
|
4857
|
+
"$type": "easing",
|
|
4858
|
+
"$value": "{state.focus.easing.out}"
|
|
4742
4859
|
}
|
|
4743
4860
|
},
|
|
4744
|
-
"
|
|
4745
|
-
"
|
|
4746
|
-
"$type": "
|
|
4747
|
-
"$value": "{
|
|
4861
|
+
"duration": {
|
|
4862
|
+
"in": {
|
|
4863
|
+
"$type": "duration",
|
|
4864
|
+
"$value": "{state.focus.duration.in}"
|
|
4865
|
+
},
|
|
4866
|
+
"out": {
|
|
4867
|
+
"$type": "duration",
|
|
4868
|
+
"$value": "{state.focus.duration.out}"
|
|
4748
4869
|
}
|
|
4749
4870
|
}
|
|
4871
|
+
},
|
|
4872
|
+
"disabled": {
|
|
4873
|
+
"color": {
|
|
4874
|
+
"$type": "color",
|
|
4875
|
+
"$value": "{state.disabled.color.main}"
|
|
4876
|
+
},
|
|
4877
|
+
"opacity": {
|
|
4878
|
+
"$type": "opacity",
|
|
4879
|
+
"$value": "{state.disabled.opacity}"
|
|
4880
|
+
}
|
|
4750
4881
|
}
|
|
4751
4882
|
}
|
|
4752
4883
|
},
|