@govbr-ds/tokens 4.0.0-next.32 → 4.0.0-next.33

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,40 @@
1
+
2
+ // Do not edit directly, this file was auto-generated.
3
+
4
+ $br-chat-bubble-width-fixed: 88px;
5
+ $br-chat-bubble-width-maximum: 560px;
6
+ $br-chat-bubble-height-fixed: 66px;
7
+ $br-chat-bubble-density-compact: $br-spacing-adjust-2;
8
+ $br-chat-bubble-density-regular: $br-spacing-layout-2;
9
+ $br-chat-bubble-density-spacious: $br-spacing-adjust-3;
10
+ $br-chat-bubble-padding-sm: $br-spacing-layout-2;
11
+ $br-chat-bubble-padding-md: $br-spacing-adjust-3;
12
+ $br-chat-bubble-padding-lg: $br-spacing-layout-3;
13
+ $br-chat-bubble-padding-xlg: $br-spacing-layout-5;
14
+ $br-chat-bubble-gap-sm: $br-spacing-adjust-1;
15
+ $br-chat-bubble-gap-lg: $br-spacing-layout-1;
16
+ $br-chat-bubble-rounder-indicator: $br-surface-rounder-none;
17
+ $br-chat-bubble-rounder-default: $br-surface-rounder-lg;
18
+ $br-chat-bubble-opacity-overlay: $br-surface-opacity-60;
19
+ $br-chat-bubble-font-style-time-stamp: $br-typography-font-weight-regular $br-typography-font-size-down-2/$br-typography-line-height-sm $br-typography-font-family-primary;
20
+ $br-chat-bubble-icon-name-sending: $br-iconography-icon-name-feedback-sending;
21
+ $br-chat-bubble-icon-name-sent: $br-iconography-icon-name-feedback-success;
22
+ $br-chat-bubble-icon-name-received: $br-iconography-icon-name-feedback-message;
23
+ $br-chat-bubble-icon-name-read: $br-iconography-icon-name-feedback-message-read;
24
+ $br-chat-bubble-icon-name-error: $br-iconography-icon-name-feedback-error;
25
+ $br-chat-bubble-color-background-main-primary: $br-color-background-main-primary;
26
+ $br-chat-bubble-color-background-main-secondary: $br-color-background-main-secondary;
27
+ $br-chat-bubble-color-background-contrast-primary: $br-color-background-contrast-primary;
28
+ $br-chat-bubble-color-background-contrast-secondary: $br-color-background-contrast-secondary;
29
+ $br-chat-bubble-color-foreground-main-primary: $br-color-foreground-main-primary;
30
+ $br-chat-bubble-color-foreground-main-secondary: $br-color-foreground-main-secondary;
31
+ $br-chat-bubble-color-foreground-contrast-primary: $br-color-foreground-contrast-primary;
32
+ $br-chat-bubble-color-foreground-contrast-secondary: $br-color-foreground-contrast-secondary;
33
+ $br-chat-bubble-font-style-default: $br-typography-font-style-default;
34
+ $br-chat-bubble-focus-easing-in: $br-state-focus-easing-in;
35
+ $br-chat-bubble-focus-easing-out: $br-state-focus-easing-out;
36
+ $br-chat-bubble-focus-duration-in: $br-state-focus-duration-in;
37
+ $br-chat-bubble-focus-duration-out: $br-state-focus-duration-out;
38
+ $br-chat-bubble-focus-border-style-low-main: $br-state-focus-border-style-main-low;
39
+ $br-chat-bubble-focus-border-style-low-contrast: $br-state-focus-border-style-contrast-low;
40
+ $br-chat-bubble-border-style-default: $br-form-border-style-default;
@@ -0,0 +1,18 @@
1
+
2
+ // Do not edit directly, this file was auto-generated.
3
+
4
+ $br-rating-icon-name-like: thumbs-up;
5
+ $br-rating-icon-name-dislike: thumbs-down;
6
+ $br-rating-icon-name-score: star;
7
+ $br-rating-icon-name-affinity: heart;
8
+ $br-rating-icon-name-mood-min: face-angry;
9
+ $br-rating-icon-name-mood-low: face-frown;
10
+ $br-rating-icon-name-mood-medium: face-meh;
11
+ $br-rating-icon-name-mood-high: face-smile;
12
+ $br-rating-icon-name-mood-max: face-laugh;
13
+ $br-rating-gap-default: $br-spacing-adjust-1;
14
+ $br-rating-font-style-default: $br-typography-font-weight-regular $br-typography-font-size-down-3/$br-typography-line-height-xsm $br-typography-font-family-primary;
15
+ $br-rating-color-main: $br-color-foreground-main-secondary;
16
+ $br-rating-color-contrast: $br-color-foreground-contrast-secondary;
17
+ $br-rating-selected-color-main: $br-state-selected-color-main;
18
+ $br-rating-selected-color-contrast: $br-state-selected-color-contrast;
@@ -549,6 +549,7 @@ $br-iconography-icon-name-action-search: search !default;
549
549
  $br-iconography-icon-name-action-subtract: minus !default;
550
550
  $br-iconography-icon-name-action-upload: upload !default;
551
551
  $br-iconography-icon-name-action-view: eye !default;
552
+ $br-iconography-icon-name-action-ai: magic-wand-sparkles !default;
552
553
  $br-iconography-icon-name-action-voice: microphone !default;
553
554
  $br-iconography-icon-name-action-play: play !default;
554
555
  $br-iconography-icon-name-action-pause: pause !default;
@@ -575,6 +576,8 @@ $br-iconography-icon-name-navigation-more: ellipsis-h !default;
575
576
  $br-iconography-icon-name-navigation-user: user !default;
576
577
  $br-iconography-icon-name-navigation-signin: sign-in-alt !default;
577
578
  $br-iconography-icon-name-navigation-back: arrow-left !default;
579
+ $br-iconography-icon-name-navigation-comment: commenting !default;
580
+ $br-iconography-icon-name-navigation-chat: comments !default;
578
581
  $br-iconography-icon-name-feedback-help: question-circle !default;
579
582
  $br-iconography-icon-name-feedback-alert: exclamation-triangle !default;
580
583
  $br-iconography-icon-name-feedback-drag: grip-vertical !default;
@@ -598,6 +601,7 @@ $br-iconography-icon-name-feedback-sort-down: sort-down !default;
598
601
  $br-iconography-icon-name-feedback-sort: sort !default;
599
602
  $br-iconography-icon-name-feedback-selected: check !default;
600
603
  $br-iconography-icon-name-feedback-success: check-circle !default;
604
+ $br-iconography-icon-name-feedback-sending: circle !default;
601
605
  $br-iconography-icon-name-brand-angular: angular !default;
602
606
  $br-iconography-icon-name-brand-codepen: codepen !default;
603
607
  $br-iconography-icon-name-brand-creative-commons: creative-commons !default;
@@ -1602,6 +1606,7 @@ $tokens: (
1602
1606
  'subtract': $br-iconography-icon-name-action-subtract,
1603
1607
  'upload': $br-iconography-icon-name-action-upload,
1604
1608
  'view': $br-iconography-icon-name-action-view,
1609
+ 'ai': $br-iconography-icon-name-action-ai,
1605
1610
  'voice': $br-iconography-icon-name-action-voice,
1606
1611
  'play': $br-iconography-icon-name-action-play,
1607
1612
  'pause': $br-iconography-icon-name-action-pause,
@@ -1629,7 +1634,9 @@ $tokens: (
1629
1634
  'more': $br-iconography-icon-name-navigation-more,
1630
1635
  'user': $br-iconography-icon-name-navigation-user,
1631
1636
  'signin': $br-iconography-icon-name-navigation-signin,
1632
- 'back': $br-iconography-icon-name-navigation-back
1637
+ 'back': $br-iconography-icon-name-navigation-back,
1638
+ 'comment': $br-iconography-icon-name-navigation-comment,
1639
+ 'chat': $br-iconography-icon-name-navigation-chat
1633
1640
  ),
1634
1641
  'feedback': (
1635
1642
  'help': $br-iconography-icon-name-feedback-help,
@@ -1654,7 +1661,8 @@ $tokens: (
1654
1661
  'sortDown': $br-iconography-icon-name-feedback-sort-down,
1655
1662
  'sort': $br-iconography-icon-name-feedback-sort,
1656
1663
  'selected': $br-iconography-icon-name-feedback-selected,
1657
- 'success': $br-iconography-icon-name-feedback-success
1664
+ 'success': $br-iconography-icon-name-feedback-success,
1665
+ 'sending': $br-iconography-icon-name-feedback-sending
1658
1666
  ),
1659
1667
  'brand': (
1660
1668
  'angular': $br-iconography-icon-name-brand-angular,
@@ -1827,6 +1827,9 @@
1827
1827
  "view": {
1828
1828
  "$value": "eye"
1829
1829
  },
1830
+ "ai": {
1831
+ "$value": "magic-wand-sparkles"
1832
+ },
1830
1833
  "voice": {
1831
1834
  "$value": "microphone"
1832
1835
  },
@@ -1906,6 +1909,12 @@
1906
1909
  },
1907
1910
  "back": {
1908
1911
  "$value": "arrow-left"
1912
+ },
1913
+ "comment": {
1914
+ "$value": "commenting"
1915
+ },
1916
+ "chat": {
1917
+ "$value": "comments"
1909
1918
  }
1910
1919
  },
1911
1920
  "feedback": {
@@ -1977,6 +1986,9 @@
1977
1986
  },
1978
1987
  "success": {
1979
1988
  "$value": "check-circle"
1989
+ },
1990
+ "sending": {
1991
+ "$value": "circle"
1980
1992
  }
1981
1993
  },
1982
1994
  "brand": {
@@ -6309,6 +6321,252 @@
6309
6321
  "$value": "{br.spacing.layout.1}"
6310
6322
  }
6311
6323
  }
6324
+ },
6325
+ "rating": {
6326
+ "color": {
6327
+ "$type": "color",
6328
+ "main": {
6329
+ "$value": "{br.color.foreground.main.secondary}"
6330
+ },
6331
+ "contrast": {
6332
+ "$value": "{br.color.foreground.contrast.secondary}"
6333
+ }
6334
+ },
6335
+ "gap": {
6336
+ "$type": "spacing",
6337
+ "default": {
6338
+ "$value": "{br.spacing.adjust.1}"
6339
+ }
6340
+ },
6341
+ "iconName": {
6342
+ "$type": "text",
6343
+ "like": {
6344
+ "$value": "thumbs-up"
6345
+ },
6346
+ "dislike": {
6347
+ "$value": "thumbs-down"
6348
+ },
6349
+ "score": {
6350
+ "$value": "star"
6351
+ },
6352
+ "affinity": {
6353
+ "$value": "heart"
6354
+ },
6355
+ "moodMin": {
6356
+ "$value": "face-angry"
6357
+ },
6358
+ "moodLow": {
6359
+ "$value": "face-frown"
6360
+ },
6361
+ "moodMedium": {
6362
+ "$value": "face-meh"
6363
+ },
6364
+ "moodHigh": {
6365
+ "$value": "face-smile"
6366
+ },
6367
+ "moodMax": {
6368
+ "$value": "face-laugh"
6369
+ }
6370
+ },
6371
+ "fontStyle": {
6372
+ "$type": "typography",
6373
+ "default": {
6374
+ "$value": {
6375
+ "fontFamily": "{br.typography.fontFamily.primary}",
6376
+ "fontWeight": "{br.typography.fontWeight.regular}",
6377
+ "fontSize": "{br.typography.fontSize.down.3}",
6378
+ "lineHeight": "{br.typography.lineHeight.xsm}"
6379
+ }
6380
+ }
6381
+ },
6382
+ "selected": {
6383
+ "color": {
6384
+ "$type": "color",
6385
+ "main": {
6386
+ "$value": "{br.state.selected.color.main}"
6387
+ },
6388
+ "contrast": {
6389
+ "$value": "{br.state.selected.color.contrast}"
6390
+ }
6391
+ }
6392
+ }
6393
+ },
6394
+ "chatBubble": {
6395
+ "color": {
6396
+ "$type": "color",
6397
+ "background": {
6398
+ "main": {
6399
+ "primary": {
6400
+ "$value": "{br.color.background.main.primary}"
6401
+ },
6402
+ "secondary": {
6403
+ "$value": "{br.color.background.main.secondary}"
6404
+ }
6405
+ },
6406
+ "contrast": {
6407
+ "primary": {
6408
+ "$value": "{br.color.background.contrast.primary}"
6409
+ },
6410
+ "secondary": {
6411
+ "$value": "{br.color.background.contrast.secondary}"
6412
+ }
6413
+ }
6414
+ },
6415
+ "foreground": {
6416
+ "main": {
6417
+ "primary": {
6418
+ "$value": "{br.color.foreground.main.primary}"
6419
+ },
6420
+ "secondary": {
6421
+ "$value": "{br.color.foreground.main.secondary}"
6422
+ }
6423
+ },
6424
+ "contrast": {
6425
+ "primary": {
6426
+ "$value": "{br.color.foreground.contrast.primary}"
6427
+ },
6428
+ "secondary": {
6429
+ "$value": "{br.color.foreground.contrast.secondary}"
6430
+ }
6431
+ }
6432
+ }
6433
+ },
6434
+ "density": {
6435
+ "$type": "spacing",
6436
+ "compact": {
6437
+ "$value": "{br.spacing.adjust.2}"
6438
+ },
6439
+ "regular": {
6440
+ "$value": "{br.spacing.layout.2}"
6441
+ },
6442
+ "spacious": {
6443
+ "$value": "{br.spacing.adjust.3}"
6444
+ }
6445
+ },
6446
+ "padding": {
6447
+ "$type": "spacing",
6448
+ "sm": {
6449
+ "$value": "{br.spacing.layout.2}"
6450
+ },
6451
+ "md": {
6452
+ "$value": "{br.spacing.adjust.3}"
6453
+ },
6454
+ "lg": {
6455
+ "$value": "{br.spacing.layout.3}"
6456
+ },
6457
+ "xlg": {
6458
+ "$value": "{br.spacing.layout.5}"
6459
+ }
6460
+ },
6461
+ "gap": {
6462
+ "$type": "spacing",
6463
+ "sm": {
6464
+ "$value": "{br.spacing.adjust.1}"
6465
+ },
6466
+ "lg": {
6467
+ "$value": "{br.spacing.layout.1}"
6468
+ }
6469
+ },
6470
+ "rounder": {
6471
+ "$type": "borderRadius",
6472
+ "indicator": {
6473
+ "$value": "{br.surface.rounder.none}"
6474
+ },
6475
+ "default": {
6476
+ "$value": "{br.surface.rounder.lg}"
6477
+ }
6478
+ },
6479
+ "borderStyle": {
6480
+ "default": {
6481
+ "$type": "border",
6482
+ "$value": "{br.form.borderStyle.default}"
6483
+ }
6484
+ },
6485
+ "opacity": {
6486
+ "$type": "opacity",
6487
+ "overlay": {
6488
+ "$value": "{br.surface.opacity.60}"
6489
+ }
6490
+ },
6491
+ "fontStyle": {
6492
+ "default": {
6493
+ "$type": "typography",
6494
+ "$value": "{br.typography.fontStyle.default}"
6495
+ },
6496
+ "timeStamp": {
6497
+ "$type": "typography",
6498
+ "$value": {
6499
+ "fontFamily": "{br.typography.fontFamily.primary}",
6500
+ "fontWeight": "{br.typography.fontWeight.regular}",
6501
+ "fontSize": "{br.typography.fontSize.down.2}",
6502
+ "lineHeight": "{br.typography.lineHeight.sm}"
6503
+ }
6504
+ }
6505
+ },
6506
+ "iconName": {
6507
+ "$type": "text",
6508
+ "sending": {
6509
+ "$value": "{br.iconography.iconName.feedback.sending}"
6510
+ },
6511
+ "sent": {
6512
+ "$value": "{br.iconography.iconName.feedback.success}"
6513
+ },
6514
+ "received": {
6515
+ "$value": "{br.iconography.iconName.feedback.message}"
6516
+ },
6517
+ "read": {
6518
+ "$value": "{br.iconography.iconName.feedback.messageRead}"
6519
+ },
6520
+ "error": {
6521
+ "$value": "{br.iconography.iconName.feedback.error}"
6522
+ }
6523
+ },
6524
+ "width": {
6525
+ "$type": "dimension",
6526
+ "fixed": {
6527
+ "$value": "88"
6528
+ },
6529
+ "maximum": {
6530
+ "$value": "560"
6531
+ }
6532
+ },
6533
+ "height": {
6534
+ "$type": "dimension",
6535
+ "fixed": {
6536
+ "$value": "66"
6537
+ }
6538
+ },
6539
+ "focus": {
6540
+ "borderStyle": {
6541
+ "$type": "border",
6542
+ "low": {
6543
+ "main": {
6544
+ "$value": "{br.state.focus.borderStyle.main.low}"
6545
+ },
6546
+ "contrast": {
6547
+ "$value": "{br.state.focus.borderStyle.contrast.low}"
6548
+ }
6549
+ }
6550
+ },
6551
+ "easing": {
6552
+ "$type": "easing",
6553
+ "in": {
6554
+ "$value": "{br.state.focus.easing.in}"
6555
+ },
6556
+ "out": {
6557
+ "$value": "{br.state.focus.easing.out}"
6558
+ }
6559
+ },
6560
+ "duration": {
6561
+ "$type": "duration",
6562
+ "in": {
6563
+ "$value": "{br.state.focus.duration.in}"
6564
+ },
6565
+ "out": {
6566
+ "$value": "{br.state.focus.duration.out}"
6567
+ }
6568
+ }
6569
+ }
6312
6570
  }
6313
6571
  }
6314
6572
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govbr-ds/tokens",
3
- "version": "4.0.0-next.32",
3
+ "version": "4.0.0-next.33",
4
4
  "description": "Tokens do Padrão Digital de Governo",
5
5
  "keywords": [
6
6
  "design system",
@@ -27,7 +27,7 @@
27
27
  "@tokens-studio/sd-transforms": "^2.0.3",
28
28
  "npm-run-all2": "9.0.3",
29
29
  "rimraf": "6.1.3",
30
- "style-dictionary": "^5.5.0"
30
+ "style-dictionary": "^5.5.1"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
@@ -40,6 +40,9 @@
40
40
  "compile": "node scripts/build.mjs",
41
41
  "make-tokens-studio": "node scripts/make-tokens-studio.mjs",
42
42
  "split-tokens": "node scripts/split-tokens.mjs",
43
- "start": "run-s split-tokens compile make-tokens-studio"
43
+ "start": "run-s split-tokens compile make-tokens-studio",
44
+ "test": "node --test test/**/*.test.mjs",
45
+ "test:contracts": "run-s split-tokens test:contracts:run",
46
+ "test:contracts:run": "node --test test/contracts/**/*.test.mjs"
44
47
  }
45
48
  }