@govbr-ds/tokens 4.0.0-next.18 → 4.0.0-next.19

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,44 @@
1
+ $checkbox-color-surface-main-base: #fcfcfc !default;
2
+ $checkbox-color-surface-main-alternative: #f0f0f0 !default;
3
+ $checkbox-gap: 8px !default;
4
+ $checkbox-icon-name-selected: check !default;
5
+ $checkbox-icon-name-intermediary: minus !default;
6
+ $checkbox-rounder: 4px !default;
7
+ $checkbox-density-compact: 0 !default;
8
+ $checkbox-density-regular: 4px !default;
9
+ $checkbox-density-spacious: 8px !default;
10
+ $checkbox-border-style-main-base: 1px solid #cccccc !default;
11
+ $checkbox-hover-color-main-read: rgba(212, 229, 255, 0.5) !default;
12
+ $checkbox-hover-color-main-surface: rgba(12, 50, 111, 0.6) !default;
13
+ $checkbox-hover-easing-in: cubic-bezier(0.42, 0, 1, 1) !default;
14
+ $checkbox-hover-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
15
+ $checkbox-hover-duration-in: 200ms !default;
16
+ $checkbox-hover-duration-out: 100ms !default;
17
+ $checkbox-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5) !default;
18
+ $checkbox-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1) !default;
19
+ $checkbox-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
20
+ $checkbox-pressed-duration-in: 100ms !default;
21
+ $checkbox-pressed-duration-out: 50ms !default;
22
+ $checkbox-selected-color-main-read: #ffffff !default;
23
+ $checkbox-selected-color-main-surface: #2670e8 !default;
24
+ $checkbox-selected-border-style-main: 1px solid #2670e8 !default;
25
+ $checkbox-selected-easing-in: cubic-bezier(0, 0, 0.58, 1) !default;
26
+ $checkbox-selected-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
27
+ $checkbox-selected-duration-in: 150ms !default;
28
+ $checkbox-selected-duration-out: 100ms !default;
29
+ $checkbox-intermediary-color-main-read: #2670e8 !default;
30
+ $checkbox-intermediary-border-style-main: 1px solid #2670e8 !default;
31
+ $checkbox-intermediary-easing-in: cubic-bezier(0, 0, 0.58, 1) !default;
32
+ $checkbox-intermediary-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
33
+ $checkbox-intermediary-duration-in: 150ms !default;
34
+ $checkbox-intermediary-duration-out: 100ms !default;
35
+ $checkbox-focus-border-style-main: 2px solid #da680b !default;
36
+ $checkbox-focus-border-style-contrast: 2px solid #ff8c00 !default;
37
+ $checkbox-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0) !default;
38
+ $checkbox-focus-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
39
+ $checkbox-focus-duration-in: 200ms !default;
40
+ $checkbox-focus-duration-out: 100ms !default;
41
+ $checkbox-disabled-opacity: 0.3 !default;
42
+ $checkbox-disabled-color-main: #4a4a4a !default;
43
+ $checkbox-read-only-color-read: #636363 !default;
44
+ $checkbox-read-only-border-width: 0 !default;
@@ -0,0 +1,4 @@
1
+ $checkbox-group-gap-vertical-itens: 8px !default;
2
+ $checkbox-group-gap-vertical-group: 24px !default;
3
+ $checkbox-group-gap-horizontal-itens: 24px !default;
4
+ $checkbox-group-padding: 8px !default;
@@ -0,0 +1,39 @@
1
+ $radio-group-color-surface-main-base: #fcfcfc !default;
2
+ $radio-group-color-surface-main-alternative: #f0f0f0 !default;
3
+ $radio-group-gap-item: 8px !default;
4
+ $radio-group-gap-vertical: 8px !default;
5
+ $radio-group-gap-horizontal: 24px !default;
6
+ $radio-group-icon-name-selected: circle !default;
7
+ $radio-group-rounder: 999999px !default;
8
+ $radio-group-density-compact: 4px !default;
9
+ $radio-group-density-regular: 8px !default;
10
+ $radio-group-density-spacious: 12px !default;
11
+ $radio-group-border-style-main-base: 1px solid #cccccc !default;
12
+ $radio-group-hover-color-main-read: rgba(212, 229, 255, 0.5) !default;
13
+ $radio-group-hover-color-main-surface: rgba(12, 50, 111, 0.6) !default;
14
+ $radio-group-hover-easing-in: cubic-bezier(0.42, 0, 1, 1) !default;
15
+ $radio-group-hover-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
16
+ $radio-group-hover-duration-in: 200ms !default;
17
+ $radio-group-hover-duration-out: 100ms !default;
18
+ $radio-group-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5) !default;
19
+ $radio-group-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1) !default;
20
+ $radio-group-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
21
+ $radio-group-pressed-duration-in: 100ms !default;
22
+ $radio-group-pressed-duration-out: 50ms !default;
23
+ $radio-group-selected-color-main-read: #ffffff !default;
24
+ $radio-group-selected-color-main-surface: #2670e8 !default;
25
+ $radio-group-selected-border-style-main: 1px solid #2670e8 !default;
26
+ $radio-group-selected-easing-in: cubic-bezier(0, 0, 0.58, 1) !default;
27
+ $radio-group-selected-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
28
+ $radio-group-selected-duration-in: 150ms !default;
29
+ $radio-group-selected-duration-out: 100ms !default;
30
+ $radio-group-focus-border-style-main: 2px solid #da680b !default;
31
+ $radio-group-focus-border-style-contrast: 2px solid #ff8c00 !default;
32
+ $radio-group-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0) !default;
33
+ $radio-group-focus-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
34
+ $radio-group-focus-duration-in: 200ms !default;
35
+ $radio-group-focus-duration-out: 100ms !default;
36
+ $radio-group-disabled-opacity: 0.3 !default;
37
+ $radio-group-disabled-color-main: #4a4a4a !default;
38
+ $radio-group-read-only-color-read: #636363 !default;
39
+ $radio-group-read-only-border-width: 0 !default;
@@ -3953,6 +3953,516 @@
3953
3953
  }
3954
3954
  },
3955
3955
  "component": {
3956
+ "radioGroup": {
3957
+ "color": {
3958
+ "surface": {
3959
+ "main": {
3960
+ "base": {
3961
+ "$type": "color",
3962
+ "$value": "{color.surface.main.base}"
3963
+ },
3964
+ "alternative": {
3965
+ "$type": "color",
3966
+ "$value": "{color.surface.main.alternative}"
3967
+ }
3968
+ }
3969
+ }
3970
+ },
3971
+ "gap": {
3972
+ "item": {
3973
+ "$type": "spacing",
3974
+ "$value": "{spacing.layout.01}"
3975
+ },
3976
+ "vertical": {
3977
+ "$type": "spacing",
3978
+ "$value": "{spacing.layout.01}"
3979
+ },
3980
+ "horizontal": {
3981
+ "$type": "spacing",
3982
+ "$value": "{spacing.layout.03}"
3983
+ }
3984
+ },
3985
+ "iconName": {
3986
+ "selected": {
3987
+ "$type": "text",
3988
+ "$value": "circle"
3989
+ }
3990
+ },
3991
+ "rounder": {
3992
+ "$type": "borderRadius",
3993
+ "$value": "{surface.rounder.full}"
3994
+ },
3995
+ "density": {
3996
+ "compact": {
3997
+ "$type": "spacing",
3998
+ "$value": "{spacing.adjust.01}"
3999
+ },
4000
+ "regular": {
4001
+ "$type": "spacing",
4002
+ "$value": "{spacing.layout.01}"
4003
+ },
4004
+ "spacious": {
4005
+ "$type": "spacing",
4006
+ "$value": "{spacing.adjust.02}"
4007
+ }
4008
+ },
4009
+ "borderStyle": {
4010
+ "main": {
4011
+ "base": {
4012
+ "$type": "border",
4013
+ "$value": {
4014
+ "color": "{color.border.base}",
4015
+ "width": "{surface.borderWidth.small}",
4016
+ "style": "solid"
4017
+ }
4018
+ }
4019
+ }
4020
+ },
4021
+ "hover": {
4022
+ "color": {
4023
+ "main": {
4024
+ "read": {
4025
+ "$type": "color",
4026
+ "$value": "{state.hover.color.main.read}"
4027
+ },
4028
+ "surface": {
4029
+ "$type": "color",
4030
+ "$value": "{state.hover.color.main.surface}"
4031
+ }
4032
+ }
4033
+ },
4034
+ "easing": {
4035
+ "in": {
4036
+ "$type": "easing",
4037
+ "$value": "{state.hover.easing.in}"
4038
+ },
4039
+ "out": {
4040
+ "$type": "easing",
4041
+ "$value": "{state.hover.easing.out}"
4042
+ }
4043
+ },
4044
+ "duration": {
4045
+ "in": {
4046
+ "$type": "duration",
4047
+ "$value": "{state.hover.duration.in}"
4048
+ },
4049
+ "out": {
4050
+ "$type": "duration",
4051
+ "$value": "{state.hover.duration.out}"
4052
+ }
4053
+ }
4054
+ },
4055
+ "pressed": {
4056
+ "shadowStyle": {
4057
+ "$type": "boxShadow",
4058
+ "$value": "{state.pressed.shadowStyle}"
4059
+ },
4060
+ "easing": {
4061
+ "in": {
4062
+ "$type": "easing",
4063
+ "$value": "{state.pressed.easing.in}"
4064
+ },
4065
+ "out": {
4066
+ "$type": "easing",
4067
+ "$value": "{state.pressed.easing.out}"
4068
+ }
4069
+ },
4070
+ "duration": {
4071
+ "in": {
4072
+ "$type": "duration",
4073
+ "$value": "{state.pressed.duration.in}"
4074
+ },
4075
+ "out": {
4076
+ "$type": "duration",
4077
+ "$value": "{state.pressed.duration.out}"
4078
+ }
4079
+ }
4080
+ },
4081
+ "selected": {
4082
+ "color": {
4083
+ "main": {
4084
+ "read": {
4085
+ "$type": "color",
4086
+ "$value": "{state.selected.color.read.main}"
4087
+ },
4088
+ "surface": {
4089
+ "$type": "color",
4090
+ "$value": "{state.selected.color.main}"
4091
+ }
4092
+ }
4093
+ },
4094
+ "borderStyle": {
4095
+ "main": {
4096
+ "$type": "border",
4097
+ "$value": {
4098
+ "color": "{state.selected.color.main}",
4099
+ "width": "{surface.borderWidth.small}",
4100
+ "style": "solid"
4101
+ }
4102
+ }
4103
+ },
4104
+ "easing": {
4105
+ "in": {
4106
+ "$type": "easing",
4107
+ "$value": "{state.selected.easing.in}"
4108
+ },
4109
+ "out": {
4110
+ "$type": "easing",
4111
+ "$value": "{state.selected.easing.out}"
4112
+ }
4113
+ },
4114
+ "duration": {
4115
+ "in": {
4116
+ "$type": "duration",
4117
+ "$value": "{state.selected.duration.in}"
4118
+ },
4119
+ "out": {
4120
+ "$type": "duration",
4121
+ "$value": "{state.selected.duration.out}"
4122
+ }
4123
+ }
4124
+ },
4125
+ "focus": {
4126
+ "borderStyle": {
4127
+ "main": {
4128
+ "$type": "border",
4129
+ "$value": "{state.focus.borderStyle.low.main}"
4130
+ },
4131
+ "contrast": {
4132
+ "$type": "border",
4133
+ "$value": "{state.focus.borderStyle.low.contrast}"
4134
+ }
4135
+ },
4136
+ "easing": {
4137
+ "in": {
4138
+ "$type": "easing",
4139
+ "$value": "{state.focus.easing.in}"
4140
+ },
4141
+ "out": {
4142
+ "$type": "easing",
4143
+ "$value": "{state.focus.easing.out}"
4144
+ }
4145
+ },
4146
+ "duration": {
4147
+ "in": {
4148
+ "$type": "duration",
4149
+ "$value": "{state.focus.duration.in}"
4150
+ },
4151
+ "out": {
4152
+ "$type": "duration",
4153
+ "$value": "{state.focus.duration.out}"
4154
+ }
4155
+ }
4156
+ },
4157
+ "disabled": {
4158
+ "opacity": {
4159
+ "$type": "opacity",
4160
+ "$value": "{state.disabled.opacity}"
4161
+ },
4162
+ "color": {
4163
+ "main": {
4164
+ "$type": "color",
4165
+ "$value": "{state.disabled.color.main}"
4166
+ }
4167
+ }
4168
+ },
4169
+ "readOnly": {
4170
+ "color": {
4171
+ "read": {
4172
+ "$type": "color",
4173
+ "$value": "{color.read.main.alternative}"
4174
+ }
4175
+ },
4176
+ "borderWidth": {
4177
+ "$type": "border",
4178
+ "$value": "{surface.borderWidth.none}"
4179
+ }
4180
+ }
4181
+ },
4182
+ "checkboxGroup": {
4183
+ "gap": {
4184
+ "vertical": {
4185
+ "itens": {
4186
+ "$type": "spacing",
4187
+ "$value": "{spacing.layout.01}"
4188
+ },
4189
+ "group": {
4190
+ "$type": "spacing",
4191
+ "$value": "{spacing.layout.03}"
4192
+ }
4193
+ },
4194
+ "horizontal": {
4195
+ "itens": {
4196
+ "$type": "spacing",
4197
+ "$value": "{spacing.layout.03}"
4198
+ }
4199
+ }
4200
+ },
4201
+ "padding": {
4202
+ "$type": "spacing",
4203
+ "$value": "{spacing.layout.01}"
4204
+ }
4205
+ },
4206
+ "checkbox": {
4207
+ "color": {
4208
+ "surface": {
4209
+ "main": {
4210
+ "base": {
4211
+ "$type": "color",
4212
+ "$value": "{color.surface.main.base}"
4213
+ },
4214
+ "alternative": {
4215
+ "$type": "color",
4216
+ "$value": "{color.surface.main.alternative}"
4217
+ }
4218
+ }
4219
+ }
4220
+ },
4221
+ "gap": {
4222
+ "$type": "spacing",
4223
+ "$value": "{spacing.layout.01}"
4224
+ },
4225
+ "iconName": {
4226
+ "selected": {
4227
+ "$type": "text",
4228
+ "$value": "check"
4229
+ },
4230
+ "intermediary": {
4231
+ "$type": "text",
4232
+ "$value": "minus"
4233
+ }
4234
+ },
4235
+ "rounder": {
4236
+ "$type": "borderRadius",
4237
+ "$value": "{surface.rounder.small}"
4238
+ },
4239
+ "density": {
4240
+ "compact": {
4241
+ "$type": "spacing",
4242
+ "$value": "{spacing.none}"
4243
+ },
4244
+ "regular": {
4245
+ "$type": "spacing",
4246
+ "$value": "{spacing.adjust.01}"
4247
+ },
4248
+ "spacious": {
4249
+ "$type": "spacing",
4250
+ "$value": "{spacing.layout.01}"
4251
+ }
4252
+ },
4253
+ "borderStyle": {
4254
+ "main": {
4255
+ "base": {
4256
+ "$type": "border",
4257
+ "$value": {
4258
+ "color": "{color.border.base}",
4259
+ "width": "{surface.borderWidth.small}",
4260
+ "style": "solid"
4261
+ }
4262
+ }
4263
+ }
4264
+ },
4265
+ "hover": {
4266
+ "color": {
4267
+ "main": {
4268
+ "read": {
4269
+ "$type": "color",
4270
+ "$value": "{state.hover.color.main.read}"
4271
+ },
4272
+ "surface": {
4273
+ "$type": "color",
4274
+ "$value": "{state.hover.color.main.surface}"
4275
+ }
4276
+ }
4277
+ },
4278
+ "easing": {
4279
+ "in": {
4280
+ "$type": "easing",
4281
+ "$value": "{state.hover.easing.in}"
4282
+ },
4283
+ "out": {
4284
+ "$type": "easing",
4285
+ "$value": "{state.hover.easing.out}"
4286
+ }
4287
+ },
4288
+ "duration": {
4289
+ "in": {
4290
+ "$type": "duration",
4291
+ "$value": "{state.hover.duration.in}"
4292
+ },
4293
+ "out": {
4294
+ "$type": "duration",
4295
+ "$value": "{state.hover.duration.out}"
4296
+ }
4297
+ }
4298
+ },
4299
+ "pressed": {
4300
+ "shadowStyle": {
4301
+ "$type": "boxShadow",
4302
+ "$value": "{state.pressed.shadowStyle}"
4303
+ },
4304
+ "easing": {
4305
+ "in": {
4306
+ "$type": "easing",
4307
+ "$value": "{state.pressed.easing.in}"
4308
+ },
4309
+ "out": {
4310
+ "$type": "easing",
4311
+ "$value": "{state.pressed.easing.out}"
4312
+ }
4313
+ },
4314
+ "duration": {
4315
+ "in": {
4316
+ "$type": "duration",
4317
+ "$value": "{state.pressed.duration.in}"
4318
+ },
4319
+ "out": {
4320
+ "$type": "duration",
4321
+ "$value": "{state.pressed.duration.out}"
4322
+ }
4323
+ }
4324
+ },
4325
+ "selected": {
4326
+ "color": {
4327
+ "main": {
4328
+ "read": {
4329
+ "$type": "color",
4330
+ "$value": "{state.selected.color.read.main}"
4331
+ },
4332
+ "surface": {
4333
+ "$type": "color",
4334
+ "$value": "{state.selected.color.main}"
4335
+ }
4336
+ }
4337
+ },
4338
+ "borderStyle": {
4339
+ "main": {
4340
+ "$type": "border",
4341
+ "$value": {
4342
+ "color": "{state.selected.color.main}",
4343
+ "width": "{surface.borderWidth.small}",
4344
+ "style": "solid"
4345
+ }
4346
+ }
4347
+ },
4348
+ "easing": {
4349
+ "in": {
4350
+ "$type": "easing",
4351
+ "$value": "{state.selected.easing.in}"
4352
+ },
4353
+ "out": {
4354
+ "$type": "easing",
4355
+ "$value": "{state.selected.easing.out}"
4356
+ }
4357
+ },
4358
+ "duration": {
4359
+ "in": {
4360
+ "$type": "duration",
4361
+ "$value": "{state.selected.duration.in}"
4362
+ },
4363
+ "out": {
4364
+ "$type": "duration",
4365
+ "$value": "{state.selected.duration.out}"
4366
+ }
4367
+ }
4368
+ },
4369
+ "intermediary": {
4370
+ "color": {
4371
+ "main": {
4372
+ "read": {
4373
+ "$type": "color",
4374
+ "$value": "{state.selected.color.main}"
4375
+ }
4376
+ }
4377
+ },
4378
+ "borderStyle": {
4379
+ "main": {
4380
+ "$type": "border",
4381
+ "$value": {
4382
+ "color": "{state.selected.color.main}",
4383
+ "width": "{surface.borderWidth.small}",
4384
+ "style": "solid"
4385
+ }
4386
+ }
4387
+ },
4388
+ "easing": {
4389
+ "in": {
4390
+ "$type": "easing",
4391
+ "$value": "{state.selected.easing.in}"
4392
+ },
4393
+ "out": {
4394
+ "$type": "easing",
4395
+ "$value": "{state.selected.easing.out}"
4396
+ }
4397
+ },
4398
+ "duration": {
4399
+ "in": {
4400
+ "$type": "duration",
4401
+ "$value": "{state.selected.duration.in}"
4402
+ },
4403
+ "out": {
4404
+ "$type": "duration",
4405
+ "$value": "{state.selected.duration.out}"
4406
+ }
4407
+ }
4408
+ },
4409
+ "focus": {
4410
+ "borderStyle": {
4411
+ "main": {
4412
+ "$type": "border",
4413
+ "$value": "{state.focus.borderStyle.low.main}"
4414
+ },
4415
+ "contrast": {
4416
+ "$type": "border",
4417
+ "$value": "{state.focus.borderStyle.low.contrast}"
4418
+ }
4419
+ },
4420
+ "easing": {
4421
+ "in": {
4422
+ "$type": "easing",
4423
+ "$value": "{state.focus.easing.in}"
4424
+ },
4425
+ "out": {
4426
+ "$type": "easing",
4427
+ "$value": "{state.focus.easing.out}"
4428
+ }
4429
+ },
4430
+ "duration": {
4431
+ "in": {
4432
+ "$type": "duration",
4433
+ "$value": "{state.focus.duration.in}"
4434
+ },
4435
+ "out": {
4436
+ "$type": "duration",
4437
+ "$value": "{state.focus.duration.out}"
4438
+ }
4439
+ }
4440
+ },
4441
+ "disabled": {
4442
+ "opacity": {
4443
+ "$type": "opacity",
4444
+ "$value": "{state.disabled.opacity}"
4445
+ },
4446
+ "color": {
4447
+ "main": {
4448
+ "$type": "color",
4449
+ "$value": "{state.disabled.color.main}"
4450
+ }
4451
+ }
4452
+ },
4453
+ "readOnly": {
4454
+ "color": {
4455
+ "read": {
4456
+ "$type": "color",
4457
+ "$value": "{color.read.main.alternative}"
4458
+ }
4459
+ },
4460
+ "borderWidth": {
4461
+ "$type": "border",
4462
+ "$value": "{surface.borderWidth.none}"
4463
+ }
4464
+ }
4465
+ },
3956
4466
  "text": {
3957
4467
  "color": {
3958
4468
  "main": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govbr-ds/tokens",
3
- "version": "4.0.0-next.18",
3
+ "version": "4.0.0-next.19",
4
4
  "type": "module",
5
5
  "description": "Tokens do Padrão Digital de Governo",
6
6
  "keywords": [