@govbr-ds/tokens 4.0.0-next.15 → 4.0.0-next.16

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.
@@ -0,0 +1,35 @@
1
+ $avatar-color-read-bright: #ffffff !default;
2
+ $avatar-color-read-dim: #000000 !default;
3
+ $avatar-color-surface: #5942d2 !default;
4
+ $avatar-spacing-padding: 4px !default;
5
+ $avatar-rounder-mask: 999999px !default;
6
+ $avatar-font-size-calc-xlarge: 1.125 ^ 12 !default;
7
+ $avatar-font-size-xsmall: 0.624rem !default;
8
+ $avatar-font-size-small: 1rem !default;
9
+ $avatar-font-size-medium: 1.602rem !default;
10
+ $avatar-font-size-large: 2.566rem !default;
11
+ $avatar-font-size-xlarge: 1.125px ^ 12rem !default;
12
+ $avatar-font-style-text: 600 1.602rem/1 'Noto Sans' !default;
13
+ $avatar-size-xsmall: 1.248rem !default;
14
+ $avatar-size-small: 2rem !default;
15
+ $avatar-size-medium: 3.204rem !default;
16
+ $avatar-size-large: 5.132rem !default;
17
+ $avatar-size-xlarge: 1.125px ^ 12rem * 2px !default;
18
+ $avatar-disabled-opacity: 0.3 !default;
19
+ $avatar-hover-color: rgba(12, 50, 111, 0.6) !default;
20
+ $avatar-hover-easing-in: cubic-bezier(0.42, 0, 1, 1) !default;
21
+ $avatar-hover-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
22
+ $avatar-hover-duration-in: 200ms !default;
23
+ $avatar-hover-duration-out: 100ms !default;
24
+ $avatar-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5) !default;
25
+ $avatar-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1) !default;
26
+ $avatar-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
27
+ $avatar-pressed-duration-in: 100ms !default;
28
+ $avatar-pressed-duration-out: 50ms !default;
29
+ $avatar-focus-spacing: 4px !default;
30
+ $avatar-focus-border-style-main: 4px dashed #da680b !default;
31
+ $avatar-focus-border-style-contrast: 4px dashed #ff8c00 !default;
32
+ $avatar-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0) !default;
33
+ $avatar-focus-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
34
+ $avatar-focus-duration-in: 200ms !default;
35
+ $avatar-focus-duration-out: 100ms !default;
@@ -5,6 +5,6 @@ $divider-border-style-medium-dashed: 2px dashed #cccccc !default;
5
5
  $divider-border-style-large-solid: 4px solid #cccccc !default;
6
6
  $divider-border-style-large-dashed: 4px dashed #cccccc !default;
7
7
  $divider-spacing-gap: 8px !default;
8
- $divider-density-compact: 16px !default;
9
- $divider-density-regular: 40px !default;
10
- $divider-density-spacious: 56px !default;
8
+ $divider-density-compact: 4px !default;
9
+ $divider-density-regular: 20px !default;
10
+ $divider-density-spacious: 36px !default;
@@ -0,0 +1,52 @@
1
+ $list-spacing-padding-header: 4px !default;
2
+ $list-spacing-padding-list: 8px !default;
3
+ $list-spacing-padding-item: 16px !default;
4
+ $list-spacing-gap-header: 4px !default;
5
+ $list-spacing-gap-list: 8px !default;
6
+ $list-spacing-gap-item: 16px !default;
7
+ $list-spacing-gap-actions: 8px !default;
8
+ $list-density-compact: 4px !default;
9
+ $list-density-regular: 8px !default;
10
+ $list-density-spacious: 12px !default;
11
+ $list-rounder: 4px !default;
12
+ $list-color-main-base: #fcfcfc !default;
13
+ $list-color-main-alternative: #f0f0f0 !default;
14
+ $list-color-contrast-base: #252f3e !default;
15
+ $list-color-contrast-alternative: #2f4668 !default;
16
+ $list-hover-color-main: rgba(212, 229, 255, 0.5) !default;
17
+ $list-hover-color-contrast: rgba(12, 50, 111, 0.6) !default;
18
+ $list-hover-easing-in: cubic-bezier(0.42, 0, 1, 1) !default;
19
+ $list-hover-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
20
+ $list-hover-duration-in: 200ms !default;
21
+ $list-hover-duration-out: 100ms !default;
22
+ $list-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5) !default;
23
+ $list-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1) !default;
24
+ $list-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
25
+ $list-pressed-duration-in: 100ms !default;
26
+ $list-pressed-duration-out: 50ms !default;
27
+ $list-active-color-main-read: #ffffff !default;
28
+ $list-active-color-main-surface: #0c326f !default;
29
+ $list-active-color-contrast-read: #000000 !default;
30
+ $list-active-color-contrast-surface: #81aefc !default;
31
+ $list-active-easing-in: cubic-bezier(0, 0, 0.58, 1) !default;
32
+ $list-active-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
33
+ $list-active-duration-in: 150ms !default;
34
+ $list-active-duration-out: 100ms !default;
35
+ $list-selected-color-main-read: #ffffff !default;
36
+ $list-selected-color-main-surface: #2670e8 !default;
37
+ $list-selected-color-contrast-read: #000000 !default;
38
+ $list-selected-color-contrast-surface: #5992ed !default;
39
+ $list-selected-easing-in: cubic-bezier(0, 0, 0.58, 1) !default;
40
+ $list-selected-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
41
+ $list-selected-duration-in: 150ms !default;
42
+ $list-selected-duration-out: 100ms !default;
43
+ $list-focus-border-style-main: 4px dashed #da680b !default;
44
+ $list-focus-border-style-contrast: 4px dashed #ff8c00 !default;
45
+ $list-focus-spacing: 4px !default;
46
+ $list-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0) !default;
47
+ $list-focus-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
48
+ $list-focus-duration-in: 200ms !default;
49
+ $list-focus-duration-out: 100ms !default;
50
+ $list-disabled-color-main: #4a4a4a !default;
51
+ $list-disabled-color-contrast: #cccccc !default;
52
+ $list-disabled-opacity: 0.3 !default;
@@ -4599,15 +4599,15 @@
4599
4599
  },
4600
4600
  "density": {
4601
4601
  "compact": {
4602
- "$value": "{spacing.layout.02}",
4602
+ "$value": "{spacing.adjust.01}",
4603
4603
  "$type": "spacing"
4604
4604
  },
4605
4605
  "regular": {
4606
- "$value": "{spacing.layout.05}",
4606
+ "$value": "{spacing.adjust.03}",
4607
4607
  "$type": "spacing"
4608
4608
  },
4609
4609
  "spacious": {
4610
- "$value": "{spacing.layout.07}",
4610
+ "$value": "{spacing.adjust.05}",
4611
4611
  "$type": "spacing"
4612
4612
  }
4613
4613
  }
@@ -4879,6 +4879,466 @@
4879
4879
  "$value": "{state.disabled.opacity}"
4880
4880
  }
4881
4881
  }
4882
+ },
4883
+ "avatar": {
4884
+ "color": {
4885
+ "read": {
4886
+ "bright": {
4887
+ "$type": "color",
4888
+ "$value": "{color.pure.0}"
4889
+ },
4890
+ "dim": {
4891
+ "$type": "color",
4892
+ "$value": "{color.pure.100}"
4893
+ }
4894
+ },
4895
+ "surface": {
4896
+ "$type": "color",
4897
+ "$value": "{color.indigoWarmVivid.60}"
4898
+ }
4899
+ },
4900
+ "spacing": {
4901
+ "padding": {
4902
+ "$type": "spacing",
4903
+ "$value": "{spacing.adjust.01}"
4904
+ }
4905
+ },
4906
+ "rounder": {
4907
+ "mask": {
4908
+ "$type": "borderRadius",
4909
+ "$value": "{surface.rounder.full}"
4910
+ }
4911
+ },
4912
+ "fontSize": {
4913
+ "calc": {
4914
+ "xlarge": {
4915
+ "$type": "calc",
4916
+ "$value": "{typography.fontSize.scale} ^ 12"
4917
+ }
4918
+ },
4919
+ "xsmall": {
4920
+ "$type": "fontSizes",
4921
+ "$value": "{typography.fontSize.down.04}"
4922
+ },
4923
+ "small": {
4924
+ "$type": "fontSizes",
4925
+ "$value": "{typography.fontSize.default}"
4926
+ },
4927
+ "medium": {
4928
+ "$type": "fontSizes",
4929
+ "$value": "{typography.fontSize.up.04}"
4930
+ },
4931
+ "large": {
4932
+ "$type": "fontSizes",
4933
+ "$value": "{typography.fontSize.up.08}"
4934
+ },
4935
+ "xlarge": {
4936
+ "$type": "fontSizes",
4937
+ "$value": "{avatar.fontSize.calc.xlarge}rem"
4938
+ }
4939
+ },
4940
+ "fontStyle": {
4941
+ "text": {
4942
+ "$type": "typography",
4943
+ "$value": {
4944
+ "fontFamily": "{typography.fontFamily.primary}",
4945
+ "fontWeight": "{typography.fontWeight.semiBold}",
4946
+ "fontSize": "{avatar.fontSize.medium}",
4947
+ "lineHeight": "{typography.lineHeight.xsmall}",
4948
+ "textCase": "uppercase"
4949
+ }
4950
+ }
4951
+ },
4952
+ "size": {
4953
+ "xsmall": {
4954
+ "$type": "dimension",
4955
+ "$value": "{avatar.fontSize.xsmall} * 2"
4956
+ },
4957
+ "small": {
4958
+ "$type": "dimension",
4959
+ "$value": "{avatar.fontSize.small} * 2"
4960
+ },
4961
+ "medium": {
4962
+ "$type": "dimension",
4963
+ "$value": "{avatar.fontSize.medium} * 2"
4964
+ },
4965
+ "large": {
4966
+ "$type": "dimension",
4967
+ "$value": "{avatar.fontSize.large} * 2"
4968
+ },
4969
+ "xlarge": {
4970
+ "$type": "dimension",
4971
+ "$value": "{avatar.fontSize.xlarge} * 2"
4972
+ }
4973
+ },
4974
+ "disabled": {
4975
+ "opacity": {
4976
+ "$type": "opacity",
4977
+ "$value": "{state.disabled.opacity}"
4978
+ }
4979
+ },
4980
+ "hover": {
4981
+ "color": {
4982
+ "$type": "color",
4983
+ "$value": "{state.hover.color.main.surface}"
4984
+ },
4985
+ "easing": {
4986
+ "in": {
4987
+ "$type": "easing",
4988
+ "$value": "{state.hover.easing.in}"
4989
+ },
4990
+ "out": {
4991
+ "$type": "easing",
4992
+ "$value": "{state.hover.easing.out}"
4993
+ }
4994
+ },
4995
+ "duration": {
4996
+ "in": {
4997
+ "$type": "duration",
4998
+ "$value": "{state.hover.duration.in}"
4999
+ },
5000
+ "out": {
5001
+ "$type": "duration",
5002
+ "$value": "{state.hover.duration.out}"
5003
+ }
5004
+ }
5005
+ },
5006
+ "pressed": {
5007
+ "shadowStyle": {
5008
+ "$type": "boxShadow",
5009
+ "$value": "{state.pressed.shadowStyle}"
5010
+ },
5011
+ "easing": {
5012
+ "in": {
5013
+ "$type": "easing",
5014
+ "$value": "{state.pressed.easing.in}"
5015
+ },
5016
+ "out": {
5017
+ "$type": "easing",
5018
+ "$value": "{state.pressed.easing.out}"
5019
+ }
5020
+ },
5021
+ "duration": {
5022
+ "in": {
5023
+ "$type": "duration",
5024
+ "$value": "{state.pressed.duration.in}"
5025
+ },
5026
+ "out": {
5027
+ "$type": "duration",
5028
+ "$value": "{state.pressed.duration.out}"
5029
+ }
5030
+ }
5031
+ },
5032
+ "focus": {
5033
+ "spacing": {
5034
+ "$type": "spacing",
5035
+ "$value": "{state.focus.spacing}"
5036
+ },
5037
+ "borderStyle": {
5038
+ "main": {
5039
+ "$type": "border",
5040
+ "$value": "{state.focus.borderStyle.high.main}"
5041
+ },
5042
+ "contrast": {
5043
+ "$type": "border",
5044
+ "$value": "{state.focus.borderStyle.high.contrast}"
5045
+ }
5046
+ },
5047
+ "easing": {
5048
+ "in": {
5049
+ "$type": "easing",
5050
+ "$value": "{state.focus.easing.in}"
5051
+ },
5052
+ "out": {
5053
+ "$type": "easing",
5054
+ "$value": "{state.focus.easing.out}"
5055
+ }
5056
+ },
5057
+ "duration": {
5058
+ "in": {
5059
+ "$type": "duration",
5060
+ "$value": "{state.focus.duration.in}"
5061
+ },
5062
+ "out": {
5063
+ "$type": "duration",
5064
+ "$value": "{state.focus.duration.out}"
5065
+ }
5066
+ }
5067
+ }
5068
+ },
5069
+ "list": {
5070
+ "spacing": {
5071
+ "padding": {
5072
+ "header": {
5073
+ "$value": "{spacing.adjust.01}",
5074
+ "$type": "spacing"
5075
+ },
5076
+ "list": {
5077
+ "$value": "{spacing.layout.01}",
5078
+ "$type": "spacing"
5079
+ },
5080
+ "item": {
5081
+ "$value": "{spacing.layout.02}",
5082
+ "$type": "spacing"
5083
+ }
5084
+ },
5085
+ "gap": {
5086
+ "header": {
5087
+ "$value": "{spacing.adjust.01}",
5088
+ "$type": "spacing"
5089
+ },
5090
+ "list": {
5091
+ "$value": "{spacing.layout.01}",
5092
+ "$type": "spacing"
5093
+ },
5094
+ "item": {
5095
+ "$value": "{spacing.layout.02}",
5096
+ "$type": "spacing"
5097
+ },
5098
+ "actions": {
5099
+ "$value": "{spacing.layout.01}",
5100
+ "$type": "spacing"
5101
+ }
5102
+ }
5103
+ },
5104
+ "density": {
5105
+ "compact": {
5106
+ "$value": "{spacing.adjust.01}",
5107
+ "$type": "spacing"
5108
+ },
5109
+ "regular": {
5110
+ "$value": "{spacing.layout.01}",
5111
+ "$type": "spacing"
5112
+ },
5113
+ "spacious": {
5114
+ "$value": "{spacing.adjust.02}",
5115
+ "$type": "spacing"
5116
+ }
5117
+ },
5118
+ "rounder": {
5119
+ "$value": "{surface.rounder.small}",
5120
+ "$type": "borderRadius"
5121
+ },
5122
+ "color": {
5123
+ "main": {
5124
+ "base": {
5125
+ "$value": "{color.surface.main.base}",
5126
+ "$type": "color"
5127
+ },
5128
+ "alternative": {
5129
+ "$value": "{color.surface.main.alternative}",
5130
+ "$type": "color"
5131
+ }
5132
+ },
5133
+ "contrast": {
5134
+ "base": {
5135
+ "$value": "{color.surface.contrast.base}",
5136
+ "$type": "color"
5137
+ },
5138
+ "alternative": {
5139
+ "$value": "{color.surface.contrast.alternative}",
5140
+ "$type": "color"
5141
+ }
5142
+ }
5143
+ },
5144
+ "hover": {
5145
+ "color": {
5146
+ "main": {
5147
+ "$value": "{state.hover.color.main.read}",
5148
+ "$type": "color"
5149
+ },
5150
+ "contrast": {
5151
+ "$value": "{state.hover.color.contrast.read}",
5152
+ "$type": "color"
5153
+ }
5154
+ },
5155
+ "easing": {
5156
+ "in": {
5157
+ "$type": "easing",
5158
+ "$value": "{state.hover.easing.in}"
5159
+ },
5160
+ "out": {
5161
+ "$type": "easing",
5162
+ "$value": "{state.hover.easing.out}"
5163
+ }
5164
+ },
5165
+ "duration": {
5166
+ "in": {
5167
+ "$type": "duration",
5168
+ "$value": "{state.hover.duration.in}"
5169
+ },
5170
+ "out": {
5171
+ "$type": "duration",
5172
+ "$value": "{state.hover.duration.out}"
5173
+ }
5174
+ }
5175
+ },
5176
+ "pressed": {
5177
+ "shadowStyle": {
5178
+ "$type": "boxShadow",
5179
+ "$value": "{state.pressed.shadowStyle}"
5180
+ },
5181
+ "easing": {
5182
+ "in": {
5183
+ "$type": "easing",
5184
+ "$value": "{state.pressed.easing.in}"
5185
+ },
5186
+ "out": {
5187
+ "$type": "easing",
5188
+ "$value": "{state.pressed.easing.out}"
5189
+ }
5190
+ },
5191
+ "duration": {
5192
+ "in": {
5193
+ "$type": "duration",
5194
+ "$value": "{state.pressed.duration.in}"
5195
+ },
5196
+ "out": {
5197
+ "$type": "duration",
5198
+ "$value": "{state.pressed.duration.out}"
5199
+ }
5200
+ }
5201
+ },
5202
+ "active": {
5203
+ "color": {
5204
+ "main": {
5205
+ "read": {
5206
+ "$value": "{state.active.color.read.main}",
5207
+ "$type": "color"
5208
+ },
5209
+ "surface": {
5210
+ "$value": "{state.active.color.main}",
5211
+ "$type": "color"
5212
+ }
5213
+ },
5214
+ "contrast": {
5215
+ "read": {
5216
+ "$value": "{state.active.color.read.contrast}",
5217
+ "$type": "color"
5218
+ },
5219
+ "surface": {
5220
+ "$value": "{state.active.color.contrast}",
5221
+ "$type": "color"
5222
+ }
5223
+ }
5224
+ },
5225
+ "easing": {
5226
+ "in": {
5227
+ "$type": "easing",
5228
+ "$value": "{state.active.easing.in}"
5229
+ },
5230
+ "out": {
5231
+ "$type": "easing",
5232
+ "$value": "{state.active.easing.out}"
5233
+ }
5234
+ },
5235
+ "duration": {
5236
+ "in": {
5237
+ "$type": "duration",
5238
+ "$value": "{state.active.duration.in}"
5239
+ },
5240
+ "out": {
5241
+ "$type": "duration",
5242
+ "$value": "{state.active.duration.out}"
5243
+ }
5244
+ }
5245
+ },
5246
+ "selected": {
5247
+ "color": {
5248
+ "main": {
5249
+ "read": {
5250
+ "$value": "{state.selected.color.read.main}",
5251
+ "$type": "color"
5252
+ },
5253
+ "surface": {
5254
+ "$value": "{state.selected.color.main}",
5255
+ "$type": "color"
5256
+ }
5257
+ },
5258
+ "contrast": {
5259
+ "read": {
5260
+ "$value": "{state.selected.color.read.contrast}",
5261
+ "$type": "color"
5262
+ },
5263
+ "surface": {
5264
+ "$value": "{state.selected.color.contrast}",
5265
+ "$type": "color"
5266
+ }
5267
+ }
5268
+ },
5269
+ "easing": {
5270
+ "in": {
5271
+ "$type": "easing",
5272
+ "$value": "{state.selected.easing.in}"
5273
+ },
5274
+ "out": {
5275
+ "$type": "easing",
5276
+ "$value": "{state.selected.easing.out}"
5277
+ }
5278
+ },
5279
+ "duration": {
5280
+ "in": {
5281
+ "$type": "duration",
5282
+ "$value": "{state.selected.duration.in}"
5283
+ },
5284
+ "out": {
5285
+ "$type": "duration",
5286
+ "$value": "{state.selected.duration.out}"
5287
+ }
5288
+ }
5289
+ },
5290
+ "focus": {
5291
+ "borderStyle": {
5292
+ "main": {
5293
+ "$value": "{state.focus.borderStyle.high.main}",
5294
+ "$type": "border"
5295
+ },
5296
+ "contrast": {
5297
+ "$value": "{state.focus.borderStyle.high.contrast}",
5298
+ "$type": "border"
5299
+ }
5300
+ },
5301
+ "spacing": {
5302
+ "$value": "{state.focus.spacing}",
5303
+ "$type": "spacing"
5304
+ },
5305
+ "easing": {
5306
+ "in": {
5307
+ "$type": "easing",
5308
+ "$value": "{state.focus.easing.in}"
5309
+ },
5310
+ "out": {
5311
+ "$type": "easing",
5312
+ "$value": "{state.focus.easing.out}"
5313
+ }
5314
+ },
5315
+ "duration": {
5316
+ "in": {
5317
+ "$type": "duration",
5318
+ "$value": "{state.focus.duration.in}"
5319
+ },
5320
+ "out": {
5321
+ "$type": "duration",
5322
+ "$value": "{state.focus.duration.out}"
5323
+ }
5324
+ }
5325
+ },
5326
+ "disabled": {
5327
+ "color": {
5328
+ "main": {
5329
+ "$value": "{state.disabled.color.main}",
5330
+ "$type": "color"
5331
+ },
5332
+ "contrast": {
5333
+ "$value": "{state.disabled.color.contrast}",
5334
+ "$type": "color"
5335
+ }
5336
+ },
5337
+ "opacity": {
5338
+ "$value": "{state.disabled.opacity}",
5339
+ "$type": "opacity"
5340
+ }
5341
+ }
4882
5342
  }
4883
5343
  },
4884
5344
  "light": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govbr-ds/tokens",
3
- "version": "4.0.0-next.15",
3
+ "version": "4.0.0-next.16",
4
4
  "type": "module",
5
5
  "description": "Tokens do Padrão Digital de Governo",
6
6
  "keywords": [