@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
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
},
|
|
128
128
|
"title": {
|
|
129
129
|
"$type": "typography",
|
|
130
|
-
"$value": "600 1.
|
|
130
|
+
"$value": "600 1.266rem/1.5 'Noto Sans'",
|
|
131
131
|
"filePath": "src/temp/component.json",
|
|
132
132
|
"isSource": true,
|
|
133
133
|
"original": {
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
"title": {
|
|
258
258
|
"small": {
|
|
259
259
|
"$type": "fontSize",
|
|
260
|
-
"$value": "
|
|
260
|
+
"$value": "1.125rem",
|
|
261
261
|
"filePath": "src/temp/component.json",
|
|
262
262
|
"isSource": true,
|
|
263
263
|
"$extensions": {
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
},
|
|
268
268
|
"original": {
|
|
269
269
|
"$type": "fontSize",
|
|
270
|
-
"$value": "{typography.fontSize.
|
|
270
|
+
"$value": "{typography.fontSize.up.01}",
|
|
271
271
|
"$extensions": {
|
|
272
272
|
"studio.tokens": {
|
|
273
273
|
"originalType": "fontSizes"
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
},
|
|
291
291
|
"medium": {
|
|
292
292
|
"$type": "fontSize",
|
|
293
|
-
"$value": "1.
|
|
293
|
+
"$value": "1.266rem",
|
|
294
294
|
"filePath": "src/temp/component.json",
|
|
295
295
|
"isSource": true,
|
|
296
296
|
"$extensions": {
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
},
|
|
301
301
|
"original": {
|
|
302
302
|
"$type": "fontSize",
|
|
303
|
-
"$value": "{typography.fontSize.up.
|
|
303
|
+
"$value": "{typography.fontSize.up.02}",
|
|
304
304
|
"$extensions": {
|
|
305
305
|
"studio.tokens": {
|
|
306
306
|
"originalType": "fontSizes"
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
},
|
|
324
324
|
"large": {
|
|
325
325
|
"$type": "fontSize",
|
|
326
|
-
"$value": "1.
|
|
326
|
+
"$value": "1.424rem",
|
|
327
327
|
"filePath": "src/temp/component.json",
|
|
328
328
|
"isSource": true,
|
|
329
329
|
"$extensions": {
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
},
|
|
334
334
|
"original": {
|
|
335
335
|
"$type": "fontSize",
|
|
336
|
-
"$value": "{typography.fontSize.up.
|
|
336
|
+
"$value": "{typography.fontSize.up.03}",
|
|
337
337
|
"$extensions": {
|
|
338
338
|
"studio.tokens": {
|
|
339
339
|
"originalType": "fontSizes"
|
package/dist/json/tokens.json
CHANGED
|
@@ -11407,83 +11407,83 @@
|
|
|
11407
11407
|
"legend"
|
|
11408
11408
|
]
|
|
11409
11409
|
},
|
|
11410
|
-
"
|
|
11410
|
+
"paragraph": {
|
|
11411
11411
|
"$type": "typography",
|
|
11412
|
-
"$value": "
|
|
11412
|
+
"$value": "400 1rem/1.5 'Noto Sans'",
|
|
11413
11413
|
"filePath": "src/temp/core.json",
|
|
11414
11414
|
"isSource": true,
|
|
11415
11415
|
"original": {
|
|
11416
11416
|
"$type": "typography",
|
|
11417
11417
|
"$value": {
|
|
11418
11418
|
"fontFamily": "{typography.fontFamily.primary}",
|
|
11419
|
-
"fontWeight": "
|
|
11420
|
-
"fontSize": "{typography.fontSize.
|
|
11421
|
-
"lineHeight": "{typography.lineHeight.medium}"
|
|
11422
|
-
"fontStyle": "italic"
|
|
11419
|
+
"fontWeight": "{typography.fontWeight.regular}",
|
|
11420
|
+
"fontSize": "{typography.fontSize.default}",
|
|
11421
|
+
"lineHeight": "{typography.lineHeight.medium}"
|
|
11423
11422
|
}
|
|
11424
11423
|
},
|
|
11425
|
-
"name": "
|
|
11424
|
+
"name": "typographyFontStyleParagraph",
|
|
11426
11425
|
"attributes": {
|
|
11427
11426
|
"category": "typography",
|
|
11428
11427
|
"type": "fontStyle",
|
|
11429
|
-
"item": "
|
|
11428
|
+
"item": "paragraph"
|
|
11430
11429
|
},
|
|
11431
11430
|
"path": [
|
|
11432
11431
|
"typography",
|
|
11433
11432
|
"fontStyle",
|
|
11434
|
-
"
|
|
11433
|
+
"paragraph"
|
|
11435
11434
|
]
|
|
11436
11435
|
},
|
|
11437
|
-
"
|
|
11436
|
+
"input": {
|
|
11438
11437
|
"$type": "typography",
|
|
11439
|
-
"$value": "
|
|
11438
|
+
"$value": "500 1rem/1.5 'Noto Sans'",
|
|
11440
11439
|
"filePath": "src/temp/core.json",
|
|
11441
11440
|
"isSource": true,
|
|
11442
11441
|
"original": {
|
|
11443
11442
|
"$type": "typography",
|
|
11444
11443
|
"$value": {
|
|
11445
11444
|
"fontFamily": "{typography.fontFamily.primary}",
|
|
11446
|
-
"fontWeight": "{typography.fontWeight.
|
|
11445
|
+
"fontWeight": "{typography.fontWeight.medium}",
|
|
11447
11446
|
"fontSize": "{typography.fontSize.default}",
|
|
11448
11447
|
"lineHeight": "{typography.lineHeight.medium}"
|
|
11449
11448
|
}
|
|
11450
11449
|
},
|
|
11451
|
-
"name": "
|
|
11450
|
+
"name": "typographyFontStyleInput",
|
|
11452
11451
|
"attributes": {
|
|
11453
11452
|
"category": "typography",
|
|
11454
11453
|
"type": "fontStyle",
|
|
11455
|
-
"item": "
|
|
11454
|
+
"item": "input"
|
|
11456
11455
|
},
|
|
11457
11456
|
"path": [
|
|
11458
11457
|
"typography",
|
|
11459
11458
|
"fontStyle",
|
|
11460
|
-
"
|
|
11459
|
+
"input"
|
|
11461
11460
|
]
|
|
11462
11461
|
},
|
|
11463
|
-
"
|
|
11462
|
+
"placeholder": {
|
|
11464
11463
|
"$type": "typography",
|
|
11465
|
-
"$value": "
|
|
11464
|
+
"$value": "italic 400 1rem/1.5 'Noto Sans'",
|
|
11466
11465
|
"filePath": "src/temp/core.json",
|
|
11467
11466
|
"isSource": true,
|
|
11468
11467
|
"original": {
|
|
11469
11468
|
"$type": "typography",
|
|
11470
11469
|
"$value": {
|
|
11471
11470
|
"fontFamily": "{typography.fontFamily.primary}",
|
|
11472
|
-
"fontWeight": "
|
|
11471
|
+
"fontWeight": "Regular",
|
|
11473
11472
|
"fontSize": "{typography.fontSize.default}",
|
|
11474
|
-
"lineHeight": "{typography.lineHeight.medium}"
|
|
11473
|
+
"lineHeight": "{typography.lineHeight.medium}",
|
|
11474
|
+
"fontStyle": "italic"
|
|
11475
11475
|
}
|
|
11476
11476
|
},
|
|
11477
|
-
"name": "
|
|
11477
|
+
"name": "typographyFontStylePlaceholder",
|
|
11478
11478
|
"attributes": {
|
|
11479
11479
|
"category": "typography",
|
|
11480
11480
|
"type": "fontStyle",
|
|
11481
|
-
"item": "
|
|
11481
|
+
"item": "placeholder"
|
|
11482
11482
|
},
|
|
11483
11483
|
"path": [
|
|
11484
11484
|
"typography",
|
|
11485
11485
|
"fontStyle",
|
|
11486
|
-
"
|
|
11486
|
+
"placeholder"
|
|
11487
11487
|
]
|
|
11488
11488
|
},
|
|
11489
11489
|
"code": {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
$input-color-read-placeholder: #636363 !default;
|
|
2
|
+
$input-color-read-input: #1b1b1b !default;
|
|
3
|
+
$input-color-surface-base: #fcfcfc !default;
|
|
4
|
+
$input-color-surface-alternative: #f0f0f0 !default;
|
|
5
|
+
$input-rounder: 4px !default;
|
|
6
|
+
$input-spacing-padding: 8px !default;
|
|
7
|
+
$input-spacing-gap: 8px !default;
|
|
8
|
+
$input-border-style: 1px solid #cccccc !default;
|
|
9
|
+
$input-font-style-placeholder: italic 400 1rem/1.5 'Noto Sans' !default;
|
|
10
|
+
$input-font-style-input: 500 1rem/1.5 'Noto Sans' !default;
|
|
11
|
+
$input-line-height: 2.1 !default;
|
|
12
|
+
$input-density-compact: 0 !default;
|
|
13
|
+
$input-density-regular: 4px !default;
|
|
14
|
+
$input-density-spacious: 8px !default;
|
|
15
|
+
$input-readonly-color-read-main: #636363 !default;
|
|
16
|
+
$input-readonly-color-read-contrast: #cccccc !default;
|
|
17
|
+
$input-readonly-color-surface: rgba(0, 0, 0, 0) !default;
|
|
18
|
+
$input-readonly-border-width: 0 !default;
|
|
19
|
+
$input-hover-color: rgba(212, 229, 255, 0.5) !default;
|
|
20
|
+
$input-hover-easing-in: cubic-bezier(0.42, 0, 1, 1) !default;
|
|
21
|
+
$input-hover-easing-out: cubic-bezier(0.42, 0, 1, 1) !default;
|
|
22
|
+
$input-hover-duration-in: 200ms !default;
|
|
23
|
+
$input-hover-duration-out: 100ms !default;
|
|
24
|
+
$input-pressed-shadow-style: inset 1px 1px 8px 0 rgba(0, 0, 0, 0.5) !default;
|
|
25
|
+
$input-pressed-easing-in: cubic-bezier(0.42, 0, 0.58, 1) !default;
|
|
26
|
+
$input-pressed-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
|
|
27
|
+
$input-pressed-duration-in: 100ms !default;
|
|
28
|
+
$input-pressed-duration-out: 50ms !default;
|
|
29
|
+
$input-focus-border-style: 2px solid #da680b !default;
|
|
30
|
+
$input-focus-easing-in: cubic-bezier(0.7, 3.3, 0.3, 0) !default;
|
|
31
|
+
$input-focus-easing-out: cubic-bezier(0, 0, 0.58, 1) !default;
|
|
32
|
+
$input-focus-duration-in: 200ms !default;
|
|
33
|
+
$input-focus-duration-out: 100ms !default;
|
|
34
|
+
$input-disabled-color: #4a4a4a !default;
|
|
35
|
+
$input-disabled-opacity: 0.3 !default;
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
$message-
|
|
2
|
-
$message-
|
|
1
|
+
$message-color-surface-base: #fcfcfc !default;
|
|
2
|
+
$message-color-surface-alternative: #f0f0f0 !default;
|
|
3
|
+
$message-color-read-description: #1b1b1b !default;
|
|
4
|
+
$message-rounder-global: 0 !default;
|
|
5
|
+
$message-rounder-contextual: 4px !default;
|
|
3
6
|
$message-shadow-style-global: 0 1px 1px 0 rgba(0, 0, 0, 0.2), 0 0 4px 0 rgba(0, 0, 0, 0.2) !default;
|
|
4
|
-
$message-shadow-style-
|
|
5
|
-
$message-font-style-description
|
|
6
|
-
$message-
|
|
7
|
-
$message-
|
|
8
|
-
$message-
|
|
9
|
-
$message-
|
|
10
|
-
$message-
|
|
11
|
-
$message-
|
|
12
|
-
$message-
|
|
13
|
-
$message-error-color-read: #ffffff !default;
|
|
14
|
-
$message-global-gap-spacing: 8px !default;
|
|
15
|
-
$message-global-padding-spacing: 16px !default;
|
|
16
|
-
$message-rounder: 4px !default;
|
|
17
|
-
$message-contextual-gap-spacing: 4px !default;
|
|
18
|
-
$message-contextual-padding-spacing: 4px !default;
|
|
19
|
-
$message-toast-gap-spacing: 8px !default;
|
|
20
|
-
$message-toast-padding-spacing: 8px !default;
|
|
7
|
+
$message-shadow-style-contextual: 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2) !default;
|
|
8
|
+
$message-font-style-description: 400 1rem/1.5 'Noto Sans' !default;
|
|
9
|
+
$message-spacing-gap-global: 8px !default;
|
|
10
|
+
$message-spacing-gap-contextual: 4px !default;
|
|
11
|
+
$message-spacing-padding-global: 16px !default;
|
|
12
|
+
$message-spacing-padding-contextual: 4px !default;
|
|
13
|
+
$message-hover-color-success: rgba(36, 52, 19, 0.5) !default;
|
|
14
|
+
$message-hover-color-alert: rgba(254, 230, 133, 0.6) !default;
|
|
15
|
+
$message-hover-color-error: rgba(92, 17, 17, 0.5) !default;
|
|
@@ -3,13 +3,13 @@ $text-color-main-alternative: #636363 !default;
|
|
|
3
3
|
$text-color-contrast-base: #fcfcfc !default;
|
|
4
4
|
$text-color-contrast-alternative: #cccccc !default;
|
|
5
5
|
$text-font-style-label: 600 0.889rem/1.5 'Noto Sans' !default;
|
|
6
|
-
$text-font-style-title: 600 1.
|
|
6
|
+
$text-font-style-title: 600 1.266rem/1.5 'Noto Sans' !default;
|
|
7
7
|
$text-font-size-label-small: 0.79rem !default;
|
|
8
8
|
$text-font-size-label-medium: 0.889rem !default;
|
|
9
9
|
$text-font-size-label-large: 1rem !default;
|
|
10
|
-
$text-font-size-title-small:
|
|
11
|
-
$text-font-size-title-medium: 1.
|
|
12
|
-
$text-font-size-title-large: 1.
|
|
10
|
+
$text-font-size-title-small: 1.125rem !default;
|
|
11
|
+
$text-font-size-title-medium: 1.266rem !default;
|
|
12
|
+
$text-font-size-title-large: 1.424rem !default;
|
|
13
13
|
$text-density-compact: 1.2 !default;
|
|
14
14
|
$text-density-regular: 1.5 !default;
|
|
15
15
|
$text-density-spacious: 2.1 !default;
|
package/dist/scss/tokens.scss
CHANGED
|
@@ -643,10 +643,9 @@ $elevation-color-default: $color-pure-100 !default;
|
|
|
643
643
|
$elevation-opacity-bright: $surface-opacity-20 !default;
|
|
644
644
|
$elevation-opacity-dim: $surface-opacity-60 !default;
|
|
645
645
|
$typography-font-size-default: 1rem !default;
|
|
646
|
-
$typography-font-size-up-01: 1.125rem !default;
|
|
647
|
-
$typography-font-style-placeholder: italic 400 $typography-font-size-up-01/$typography-line-height-medium $typography-font-family-primary !default;
|
|
648
646
|
$typography-font-style-paragraph: $typography-font-weight-regular $typography-font-size-default/$typography-line-height-medium $typography-font-family-primary !default;
|
|
649
647
|
$typography-font-style-input: $typography-font-weight-medium $typography-font-size-default/$typography-line-height-medium $typography-font-family-primary !default;
|
|
648
|
+
$typography-font-style-placeholder: italic 400 $typography-font-size-default/$typography-line-height-medium $typography-font-family-primary !default;
|
|
650
649
|
$typography-font-style-code: $typography-font-weight-regular $typography-font-size-default/$typography-line-height-medium $typography-font-family-secondary !default;
|
|
651
650
|
$typography-font-style-label: $typography-font-weight-semi-bold $typography-font-size-down-01/$typography-line-height-medium $typography-font-family-primary !default;
|
|
652
651
|
$typography-font-style-basic: $typography-font-size-default/$typography-line-height-medium $typography-font-family-primary !default;
|
|
@@ -730,6 +729,7 @@ $state-cta-color-read-main: $color-pure-0 !default;
|
|
|
730
729
|
$state-cta-color-read-contrast: $color-pure-100 !default;
|
|
731
730
|
$state-visited-color-main: $color-blue-warm-70 !default;
|
|
732
731
|
$state-visited-color-contrast: $color-blue-warm-20 !default;
|
|
732
|
+
$typography-font-size-up-01: 1.125rem !default;
|
|
733
733
|
$typography-font-size-up-02: 1.266rem !default;
|
|
734
734
|
$typography-font-size-up-03: 1.424rem !default;
|
|
735
735
|
$typography-font-size-up-04: 1.602rem !default;
|