@govbr-ds/tokens 4.0.0-next.11 → 4.0.0-next.13

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.
Files changed (41) hide show
  1. package/dist/css/component/button.css +57 -0
  2. package/dist/css/component/icon.css +35 -0
  3. package/dist/css/component/text.css +17 -0
  4. package/dist/css/themes/dark.css +10 -10
  5. package/dist/css/themes/light.css +10 -10
  6. package/dist/css/tokens.css +111 -25
  7. package/dist/js/component/button.js +56 -0
  8. package/dist/js/component/icon.js +33 -0
  9. package/dist/js/component/text.js +15 -0
  10. package/dist/js/themes/dark.js +10 -10
  11. package/dist/js/themes/light.js +10 -10
  12. package/dist/js/tokens.js +101 -15
  13. package/dist/json/component/button.json +1447 -0
  14. package/dist/json/component/icon.json +911 -0
  15. package/dist/json/component/text.json +455 -0
  16. package/dist/json/themes/dark.json +170 -170
  17. package/dist/json/themes/light.json +168 -168
  18. package/dist/json/tokens.json +3055 -215
  19. package/dist/scss/component/button.scss +55 -0
  20. package/dist/scss/component/icon.scss +33 -0
  21. package/dist/scss/component/text.scss +15 -0
  22. package/dist/scss/themes/dark.scss +10 -10
  23. package/dist/scss/themes/light.scss +10 -10
  24. package/dist/scss/tokens.scss +111 -25
  25. package/dist/tokens-studio/tokens.json +853 -79
  26. package/package.json +1 -1
  27. package/src/figma/component/base14.json +64 -0
  28. package/src/figma/component/button.json +266 -0
  29. package/src/figma/component/icon.json +142 -0
  30. package/src/figma/component/manifest.json +12 -2
  31. package/src/figma/component/text.json +22 -12
  32. package/src/figma/dark.json +2 -2
  33. package/src/figma/iconography.json +335 -1
  34. package/src/figma/light.json +2 -2
  35. package/src/figma/manifest.json +19 -4
  36. package/src/figma/state.json +30 -2
  37. package/src/temp/component.json +479 -67
  38. package/src/temp/core.json +371 -9
  39. package/src/temp/dark.json +1 -1
  40. package/src/temp/light.json +1 -1
  41. package/src/tokens.json +853 -79
@@ -2321,6 +2321,340 @@
2321
2321
  "lineHeight": "{typography.lineHeight.xsmall}"
2322
2322
  }
2323
2323
  }
2324
+ },
2325
+ "iconName": {
2326
+ "action": {
2327
+ "add": {
2328
+ "$type": "text",
2329
+ "$value": "plus"
2330
+ },
2331
+ "attach": {
2332
+ "$type": "text",
2333
+ "$value": "paperclip"
2334
+ },
2335
+ "update": {
2336
+ "$type": "text",
2337
+ "$value": "sync"
2338
+ },
2339
+ "share": {
2340
+ "$type": "text",
2341
+ "$value": "share-alt"
2342
+ },
2343
+ "confirm": {
2344
+ "$type": "text",
2345
+ "$value": "check"
2346
+ },
2347
+ "contrast": {
2348
+ "$type": "text",
2349
+ "$value": "adjust"
2350
+ },
2351
+ "copy": {
2352
+ "$type": "text",
2353
+ "$value": "copy"
2354
+ },
2355
+ "cut": {
2356
+ "$type": "text",
2357
+ "$value": "cut"
2358
+ },
2359
+ "download": {
2360
+ "$type": "text",
2361
+ "$value": "download"
2362
+ },
2363
+ "edit": {
2364
+ "$type": "text",
2365
+ "$value": "edit"
2366
+ },
2367
+ "send": {
2368
+ "$type": "text",
2369
+ "$value": "share"
2370
+ },
2371
+ "delete": {
2372
+ "$type": "text",
2373
+ "$value": "trash-alt"
2374
+ },
2375
+ "export": {
2376
+ "$type": "text",
2377
+ "$value": "share-square"
2378
+ },
2379
+ "close": {
2380
+ "$type": "text",
2381
+ "$value": "times"
2382
+ },
2383
+ "filter": {
2384
+ "$type": "text",
2385
+ "$value": "filter"
2386
+ },
2387
+ "print": {
2388
+ "$type": "text",
2389
+ "$value": "print"
2390
+ },
2391
+ "image": {
2392
+ "$type": "text",
2393
+ "$value": "image"
2394
+ },
2395
+ "clean": {
2396
+ "$type": "text",
2397
+ "$value": "eraser"
2398
+ },
2399
+ "hide": {
2400
+ "$type": "text",
2401
+ "$value": "eye-slash"
2402
+ },
2403
+ "search": {
2404
+ "$type": "text",
2405
+ "$value": "search"
2406
+ },
2407
+ "subtract": {
2408
+ "$type": "text",
2409
+ "$value": "minus"
2410
+ },
2411
+ "upload": {
2412
+ "$type": "text",
2413
+ "$value": "upload"
2414
+ },
2415
+ "view": {
2416
+ "$type": "text",
2417
+ "$value": "eye"
2418
+ }
2419
+ },
2420
+ "navigation": {
2421
+ "next": {
2422
+ "$type": "text",
2423
+ "$value": "arrow-alt-circle-right"
2424
+ },
2425
+ "collapsedown": {
2426
+ "$type": "text",
2427
+ "$value": "chevron-down"
2428
+ },
2429
+ "collapseup": {
2430
+ "$type": "text",
2431
+ "$value": "chevron-up"
2432
+ },
2433
+ "collapseright": {
2434
+ "$type": "text",
2435
+ "$value": "chevron-right"
2436
+ },
2437
+ "collapseleft": {
2438
+ "$type": "text",
2439
+ "$value": "chevron-left"
2440
+ },
2441
+ "setting": {
2442
+ "$type": "text",
2443
+ "$value": "sliders-h"
2444
+ },
2445
+ "date": {
2446
+ "$type": "text",
2447
+ "$value": "calendar-alt"
2448
+ },
2449
+ "folder": {
2450
+ "$type": "text",
2451
+ "$value": "folder"
2452
+ },
2453
+ "dropdownopen": {
2454
+ "$type": "text",
2455
+ "$value": "caret-down"
2456
+ },
2457
+ "dropdownopenh": {
2458
+ "$type": "text",
2459
+ "$value": "caret-right"
2460
+ },
2461
+ "dropdownclose": {
2462
+ "$type": "text",
2463
+ "$value": "caret-up"
2464
+ },
2465
+ "dropdowncloseh": {
2466
+ "$type": "text",
2467
+ "$value": "caret-left"
2468
+ },
2469
+ "externallink": {
2470
+ "$type": "text",
2471
+ "$value": "external-link-alt"
2472
+ },
2473
+ "home": {
2474
+ "$type": "text",
2475
+ "$value": "home"
2476
+ },
2477
+ "menu": {
2478
+ "$type": "text",
2479
+ "$value": "bars"
2480
+ },
2481
+ "options": {
2482
+ "$type": "text",
2483
+ "$value": "ellipsis-v"
2484
+ },
2485
+ "user": {
2486
+ "$type": "text",
2487
+ "$value": "user"
2488
+ },
2489
+ "back": {
2490
+ "$type": "text",
2491
+ "$value": "arrow-alt-circle-left"
2492
+ }
2493
+ },
2494
+ "feedback": {
2495
+ "help": {
2496
+ "$type": "text",
2497
+ "$value": "question-circle"
2498
+ },
2499
+ "alert": {
2500
+ "$type": "text",
2501
+ "$value": "exclamation-triangle"
2502
+ },
2503
+ "drag": {
2504
+ "$type": "text",
2505
+ "$value": "grip-vertical"
2506
+ },
2507
+ "volumeon": {
2508
+ "$type": "text",
2509
+ "$value": "volume-up"
2510
+ },
2511
+ "volumeoff": {
2512
+ "$type": "text",
2513
+ "$value": "volume-mute"
2514
+ },
2515
+ "lock": {
2516
+ "$type": "text",
2517
+ "$value": "lock"
2518
+ },
2519
+ "highdensity": {
2520
+ "$type": "text",
2521
+ "$value": "th"
2522
+ },
2523
+ "lowdensity": {
2524
+ "$type": "text",
2525
+ "$value": "th-large"
2526
+ },
2527
+ "unlock": {
2528
+ "$type": "text",
2529
+ "$value": "unlock"
2530
+ },
2531
+ "folderopen": {
2532
+ "$type": "text",
2533
+ "$value": "folder-open"
2534
+ },
2535
+ "error": {
2536
+ "$type": "text",
2537
+ "$value": "times-circle"
2538
+ },
2539
+ "time": {
2540
+ "$type": "text",
2541
+ "$value": "clock"
2542
+ },
2543
+ "info": {
2544
+ "$type": "text",
2545
+ "$value": "info-circle"
2546
+ },
2547
+ "libras": {
2548
+ "$type": "text",
2549
+ "$value": "sign-language"
2550
+ },
2551
+ "message": {
2552
+ "$type": "text",
2553
+ "$value": "envelope"
2554
+ },
2555
+ "messageread": {
2556
+ "$type": "text",
2557
+ "$value": "envelope-open"
2558
+ },
2559
+ "notification": {
2560
+ "$type": "text",
2561
+ "$value": "bell"
2562
+ },
2563
+ "notificationoff": {
2564
+ "$type": "text",
2565
+ "$value": "bell-slash"
2566
+ },
2567
+ "sortup": {
2568
+ "$type": "text",
2569
+ "$value": "sort-up"
2570
+ },
2571
+ "sortdown": {
2572
+ "$type": "text",
2573
+ "$value": "sort-down"
2574
+ },
2575
+ "sort": {
2576
+ "$type": "text",
2577
+ "$value": "sort"
2578
+ },
2579
+ "selected": {
2580
+ "$type": "text",
2581
+ "$value": "check"
2582
+ },
2583
+ "success": {
2584
+ "$type": "text",
2585
+ "$value": "check-circle"
2586
+ }
2587
+ },
2588
+ "brand": {
2589
+ "angular": {
2590
+ "$type": "text",
2591
+ "$value": "angular"
2592
+ },
2593
+ "codepen": {
2594
+ "$type": "text",
2595
+ "$value": "codepen"
2596
+ },
2597
+ "creativecommons": {
2598
+ "$type": "text",
2599
+ "$value": "creative-commons"
2600
+ },
2601
+ "css": {
2602
+ "$type": "text",
2603
+ "$value": "css3-alt"
2604
+ },
2605
+ "discord": {
2606
+ "$type": "text",
2607
+ "$value": "discord"
2608
+ },
2609
+ "facebook": {
2610
+ "$type": "text",
2611
+ "$value": "facebook"
2612
+ },
2613
+ "figma": {
2614
+ "$type": "text",
2615
+ "$value": "figma"
2616
+ },
2617
+ "fontawesome": {
2618
+ "$type": "text",
2619
+ "$value": "font-awesome-flag"
2620
+ },
2621
+ "github": {
2622
+ "$type": "text",
2623
+ "$value": "github"
2624
+ },
2625
+ "gitlab": {
2626
+ "$type": "text",
2627
+ "$value": "gitlab"
2628
+ },
2629
+ "html": {
2630
+ "$type": "text",
2631
+ "$value": "html5"
2632
+ },
2633
+ "javascript": {
2634
+ "$type": "text",
2635
+ "$value": "js"
2636
+ },
2637
+ "linkedin": {
2638
+ "$type": "text",
2639
+ "$value": "linkedin"
2640
+ },
2641
+ "npm": {
2642
+ "$type": "text",
2643
+ "$value": "npm"
2644
+ },
2645
+ "react": {
2646
+ "$type": "text",
2647
+ "$value": "react"
2648
+ },
2649
+ "vue": {
2650
+ "$type": "text",
2651
+ "$value": "vuejs"
2652
+ },
2653
+ "youtube": {
2654
+ "$type": "text",
2655
+ "$value": "youtube"
2656
+ }
2657
+ }
2324
2658
  }
2325
2659
  },
2326
2660
  "spacing": {
@@ -3385,9 +3719,13 @@
3385
3719
  "$type": "duration",
3386
3720
  "$value": "{motion.duration.fast.02}"
3387
3721
  }
3722
+ },
3723
+ "iconName": {
3724
+ "$type": "text",
3725
+ "$value": "{iconography.iconName.feedback.selected}"
3388
3726
  }
3389
3727
  },
3390
- "grabbing": {
3728
+ "dragging": {
3391
3729
  "borderWidth": {
3392
3730
  "$type": "borderWidth",
3393
3731
  "$value": "{surface.borderWidth.medium}"
@@ -3408,7 +3746,7 @@
3408
3746
  "x": "{elevation.level.4.offsetX.cast}",
3409
3747
  "y": "{elevation.level.4.offsetY.cast}",
3410
3748
  "blur": "{elevation.level.4.blur.cast}",
3411
- "color": "rgba({state.grabbing.color.main},{elevation.opacity.shadow})",
3749
+ "color": "rgba({state.dragging.color.main},{elevation.opacity.shadow})",
3412
3750
  "spread": 0,
3413
3751
  "type": "dropShadow"
3414
3752
  },
@@ -3416,7 +3754,7 @@
3416
3754
  "x": "{elevation.level.4.offsetX.occlusion}",
3417
3755
  "y": "{elevation.level.4.offsetY.occlusion}",
3418
3756
  "blur": "{elevation.level.4.blur.occlusion}",
3419
- "color": "rgba({state.grabbing.color.main},{elevation.opacity.shadow})",
3757
+ "color": "rgba({state.dragging.color.main},{elevation.opacity.shadow})",
3420
3758
  "spread": 0,
3421
3759
  "type": "dropShadow"
3422
3760
  }
@@ -3429,7 +3767,7 @@
3429
3767
  "x": "{elevation.level.4.offsetX.cast}",
3430
3768
  "y": "{elevation.level.4.offsetY.cast}",
3431
3769
  "blur": "{elevation.level.4.blur.cast}",
3432
- "color": "rgba({state.grabbing.color.contrast},{elevation.opacity.shadow})",
3770
+ "color": "rgba({state.dragging.color.contrast},{elevation.opacity.shadow})",
3433
3771
  "spread": 0,
3434
3772
  "type": "dropShadow"
3435
3773
  },
@@ -3437,7 +3775,7 @@
3437
3775
  "x": "{elevation.level.4.offsetX.occlusion}",
3438
3776
  "y": "{elevation.level.4.offsetY.occlusion}",
3439
3777
  "blur": "{elevation.level.4.blur.occlusion}",
3440
- "color": "rgba({state.grabbing.color.contrast},{elevation.opacity.shadow})",
3778
+ "color": "rgba({state.dragging.color.contrast},{elevation.opacity.shadow})",
3441
3779
  "spread": 0,
3442
3780
  "type": "dropShadow"
3443
3781
  }
@@ -3448,21 +3786,27 @@
3448
3786
  "main": {
3449
3787
  "$type": "border",
3450
3788
  "$value": {
3451
- "color": "{state.grabbing.color.main}",
3452
- "width": "{state.grabbing.borderWidth}",
3789
+ "color": "{state.dragging.color.main}",
3790
+ "width": "{state.dragging.borderWidth}",
3453
3791
  "style": "solid"
3454
3792
  }
3455
3793
  },
3456
3794
  "contrast": {
3457
3795
  "$type": "border",
3458
3796
  "$value": {
3459
- "color": "{state.grabbing.color.contrast}",
3460
- "width": "{state.grabbing.borderWidth}",
3797
+ "color": "{state.dragging.color.contrast}",
3798
+ "width": "{state.dragging.borderWidth}",
3461
3799
  "style": "solid"
3462
3800
  }
3463
3801
  }
3464
3802
  }
3465
3803
  },
3804
+ "drag": {
3805
+ "iconName": {
3806
+ "$type": "text",
3807
+ "$value": "{iconography.iconName.feedback.drag}"
3808
+ }
3809
+ },
3466
3810
  "dropzone": {
3467
3811
  "borderWidth": {
3468
3812
  "$type": "borderWidth",
@@ -3512,6 +3856,24 @@
3512
3856
  "$type": "duration",
3513
3857
  "$value": "{motion.duration.fast.04}"
3514
3858
  }
3859
+ },
3860
+ "error": {
3861
+ "iconName": {
3862
+ "$type": "text",
3863
+ "$value": "{iconography.iconName.feedback.error}"
3864
+ }
3865
+ },
3866
+ "alert": {
3867
+ "iconName": {
3868
+ "$type": "text",
3869
+ "$value": "{iconography.iconName.feedback.alert}"
3870
+ }
3871
+ },
3872
+ "success": {
3873
+ "iconName": {
3874
+ "$type": "text",
3875
+ "$value": "{iconography.iconName.feedback.success}"
3876
+ }
3515
3877
  }
3516
3878
  }
3517
3879
  }
@@ -226,7 +226,7 @@
226
226
  }
227
227
  }
228
228
  },
229
- "grabbing": {
229
+ "dragging": {
230
230
  "color": {
231
231
  "main": {
232
232
  "$type": "color",
@@ -226,7 +226,7 @@
226
226
  }
227
227
  }
228
228
  },
229
- "grabbing": {
229
+ "dragging": {
230
230
  "color": {
231
231
  "main": {
232
232
  "$type": "color",