@govbr-ds/tokens 4.0.0-next.12 → 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.
- package/dist/css/component/button.css +57 -0
- package/dist/css/component/icon.css +35 -0
- package/dist/css/component/text.css +17 -0
- package/dist/css/themes/dark.css +10 -10
- package/dist/css/themes/light.css +10 -10
- package/dist/css/tokens.css +101 -96
- package/dist/js/component/button.js +56 -0
- package/dist/js/component/icon.js +33 -0
- package/dist/js/component/text.js +15 -0
- package/dist/js/themes/dark.js +10 -10
- package/dist/js/themes/light.js +10 -10
- package/dist/js/tokens.js +101 -96
- package/dist/json/component/button.json +1447 -0
- package/dist/json/component/icon.json +911 -0
- package/dist/json/component/text.json +455 -0
- package/dist/json/themes/dark.json +170 -170
- package/dist/json/themes/light.json +168 -168
- package/dist/json/tokens.json +782 -625
- package/dist/scss/component/button.scss +55 -0
- package/dist/scss/component/icon.scss +33 -0
- package/dist/scss/component/text.scss +15 -0
- package/dist/scss/themes/dark.scss +10 -10
- package/dist/scss/themes/light.scss +10 -10
- package/dist/scss/tokens.scss +101 -96
- package/dist/tokens-studio/tokens.json +412 -236
- package/package.json +1 -1
- package/src/figma/component/button.json +266 -0
- package/src/figma/component/icon.json +50 -110
- package/src/figma/component/manifest.json +3 -1
- package/src/figma/dark.json +2 -2
- package/src/figma/iconography.json +68 -68
- package/src/figma/light.json +2 -2
- package/src/figma/state.json +30 -2
- package/src/temp/component.json +307 -159
- package/src/temp/core.json +105 -77
- package/src/temp/dark.json +1 -1
- package/src/temp/light.json +1 -1
- package/src/tokens.json +412 -236
package/src/temp/core.json
CHANGED
|
@@ -2322,37 +2322,37 @@
|
|
|
2322
2322
|
}
|
|
2323
2323
|
}
|
|
2324
2324
|
},
|
|
2325
|
-
"
|
|
2325
|
+
"iconName": {
|
|
2326
2326
|
"action": {
|
|
2327
|
-
"
|
|
2327
|
+
"add": {
|
|
2328
2328
|
"$type": "text",
|
|
2329
2329
|
"$value": "plus"
|
|
2330
2330
|
},
|
|
2331
|
-
"
|
|
2331
|
+
"attach": {
|
|
2332
2332
|
"$type": "text",
|
|
2333
2333
|
"$value": "paperclip"
|
|
2334
2334
|
},
|
|
2335
|
-
"
|
|
2335
|
+
"update": {
|
|
2336
2336
|
"$type": "text",
|
|
2337
2337
|
"$value": "sync"
|
|
2338
2338
|
},
|
|
2339
|
-
"
|
|
2339
|
+
"share": {
|
|
2340
2340
|
"$type": "text",
|
|
2341
|
-
"$value": "share-
|
|
2341
|
+
"$value": "share-alt"
|
|
2342
2342
|
},
|
|
2343
|
-
"
|
|
2343
|
+
"confirm": {
|
|
2344
2344
|
"$type": "text",
|
|
2345
2345
|
"$value": "check"
|
|
2346
2346
|
},
|
|
2347
|
-
"
|
|
2347
|
+
"contrast": {
|
|
2348
2348
|
"$type": "text",
|
|
2349
2349
|
"$value": "adjust"
|
|
2350
2350
|
},
|
|
2351
|
-
"
|
|
2351
|
+
"copy": {
|
|
2352
2352
|
"$type": "text",
|
|
2353
2353
|
"$value": "copy"
|
|
2354
2354
|
},
|
|
2355
|
-
"
|
|
2355
|
+
"cut": {
|
|
2356
2356
|
"$type": "text",
|
|
2357
2357
|
"$value": "cut"
|
|
2358
2358
|
},
|
|
@@ -2360,51 +2360,51 @@
|
|
|
2360
2360
|
"$type": "text",
|
|
2361
2361
|
"$value": "download"
|
|
2362
2362
|
},
|
|
2363
|
-
"
|
|
2363
|
+
"edit": {
|
|
2364
2364
|
"$type": "text",
|
|
2365
2365
|
"$value": "edit"
|
|
2366
2366
|
},
|
|
2367
|
-
"
|
|
2367
|
+
"send": {
|
|
2368
2368
|
"$type": "text",
|
|
2369
2369
|
"$value": "share"
|
|
2370
2370
|
},
|
|
2371
|
-
"
|
|
2371
|
+
"delete": {
|
|
2372
2372
|
"$type": "text",
|
|
2373
2373
|
"$value": "trash-alt"
|
|
2374
2374
|
},
|
|
2375
|
-
"
|
|
2375
|
+
"export": {
|
|
2376
2376
|
"$type": "text",
|
|
2377
2377
|
"$value": "share-square"
|
|
2378
2378
|
},
|
|
2379
|
-
"
|
|
2379
|
+
"close": {
|
|
2380
2380
|
"$type": "text",
|
|
2381
2381
|
"$value": "times"
|
|
2382
2382
|
},
|
|
2383
|
-
"
|
|
2383
|
+
"filter": {
|
|
2384
2384
|
"$type": "text",
|
|
2385
2385
|
"$value": "filter"
|
|
2386
2386
|
},
|
|
2387
|
-
"
|
|
2387
|
+
"print": {
|
|
2388
2388
|
"$type": "text",
|
|
2389
2389
|
"$value": "print"
|
|
2390
2390
|
},
|
|
2391
|
-
"
|
|
2391
|
+
"image": {
|
|
2392
2392
|
"$type": "text",
|
|
2393
2393
|
"$value": "image"
|
|
2394
2394
|
},
|
|
2395
|
-
"
|
|
2395
|
+
"clean": {
|
|
2396
2396
|
"$type": "text",
|
|
2397
2397
|
"$value": "eraser"
|
|
2398
2398
|
},
|
|
2399
|
-
"
|
|
2399
|
+
"hide": {
|
|
2400
2400
|
"$type": "text",
|
|
2401
2401
|
"$value": "eye-slash"
|
|
2402
2402
|
},
|
|
2403
|
-
"
|
|
2403
|
+
"search": {
|
|
2404
2404
|
"$type": "text",
|
|
2405
2405
|
"$value": "search"
|
|
2406
2406
|
},
|
|
2407
|
-
"
|
|
2407
|
+
"subtract": {
|
|
2408
2408
|
"$type": "text",
|
|
2409
2409
|
"$value": "minus"
|
|
2410
2410
|
},
|
|
@@ -2412,65 +2412,65 @@
|
|
|
2412
2412
|
"$type": "text",
|
|
2413
2413
|
"$value": "upload"
|
|
2414
2414
|
},
|
|
2415
|
-
"
|
|
2415
|
+
"view": {
|
|
2416
2416
|
"$type": "text",
|
|
2417
2417
|
"$value": "eye"
|
|
2418
2418
|
}
|
|
2419
2419
|
},
|
|
2420
2420
|
"navigation": {
|
|
2421
|
-
"
|
|
2421
|
+
"next": {
|
|
2422
2422
|
"$type": "text",
|
|
2423
|
-
"$value": "circle-right"
|
|
2423
|
+
"$value": "arrow-alt-circle-right"
|
|
2424
2424
|
},
|
|
2425
|
-
"
|
|
2425
|
+
"collapsedown": {
|
|
2426
2426
|
"$type": "text",
|
|
2427
2427
|
"$value": "chevron-down"
|
|
2428
2428
|
},
|
|
2429
|
-
"
|
|
2429
|
+
"collapseup": {
|
|
2430
2430
|
"$type": "text",
|
|
2431
2431
|
"$value": "chevron-up"
|
|
2432
2432
|
},
|
|
2433
|
-
"
|
|
2433
|
+
"collapseright": {
|
|
2434
2434
|
"$type": "text",
|
|
2435
2435
|
"$value": "chevron-right"
|
|
2436
2436
|
},
|
|
2437
|
-
"
|
|
2437
|
+
"collapseleft": {
|
|
2438
2438
|
"$type": "text",
|
|
2439
2439
|
"$value": "chevron-left"
|
|
2440
2440
|
},
|
|
2441
|
-
"
|
|
2441
|
+
"setting": {
|
|
2442
2442
|
"$type": "text",
|
|
2443
2443
|
"$value": "sliders-h"
|
|
2444
2444
|
},
|
|
2445
|
-
"
|
|
2445
|
+
"date": {
|
|
2446
2446
|
"$type": "text",
|
|
2447
2447
|
"$value": "calendar-alt"
|
|
2448
2448
|
},
|
|
2449
|
-
"
|
|
2449
|
+
"folder": {
|
|
2450
2450
|
"$type": "text",
|
|
2451
2451
|
"$value": "folder"
|
|
2452
2452
|
},
|
|
2453
|
-
"
|
|
2453
|
+
"dropdownopen": {
|
|
2454
2454
|
"$type": "text",
|
|
2455
2455
|
"$value": "caret-down"
|
|
2456
2456
|
},
|
|
2457
|
-
"
|
|
2457
|
+
"dropdownopenh": {
|
|
2458
2458
|
"$type": "text",
|
|
2459
2459
|
"$value": "caret-right"
|
|
2460
2460
|
},
|
|
2461
|
-
"
|
|
2461
|
+
"dropdownclose": {
|
|
2462
2462
|
"$type": "text",
|
|
2463
2463
|
"$value": "caret-up"
|
|
2464
2464
|
},
|
|
2465
|
-
"
|
|
2465
|
+
"dropdowncloseh": {
|
|
2466
2466
|
"$type": "text",
|
|
2467
2467
|
"$value": "caret-left"
|
|
2468
2468
|
},
|
|
2469
|
-
"
|
|
2469
|
+
"externallink": {
|
|
2470
2470
|
"$type": "text",
|
|
2471
|
-
"$value": "
|
|
2471
|
+
"$value": "external-link-alt"
|
|
2472
2472
|
},
|
|
2473
|
-
"
|
|
2473
|
+
"home": {
|
|
2474
2474
|
"$type": "text",
|
|
2475
2475
|
"$value": "home"
|
|
2476
2476
|
},
|
|
@@ -2478,69 +2478,69 @@
|
|
|
2478
2478
|
"$type": "text",
|
|
2479
2479
|
"$value": "bars"
|
|
2480
2480
|
},
|
|
2481
|
-
"
|
|
2481
|
+
"options": {
|
|
2482
2482
|
"$type": "text",
|
|
2483
2483
|
"$value": "ellipsis-v"
|
|
2484
2484
|
},
|
|
2485
|
-
"
|
|
2485
|
+
"user": {
|
|
2486
2486
|
"$type": "text",
|
|
2487
2487
|
"$value": "user"
|
|
2488
2488
|
},
|
|
2489
|
-
"
|
|
2489
|
+
"back": {
|
|
2490
2490
|
"$type": "text",
|
|
2491
|
-
"$value": "circle-left"
|
|
2491
|
+
"$value": "arrow-alt-circle-left"
|
|
2492
2492
|
}
|
|
2493
2493
|
},
|
|
2494
2494
|
"feedback": {
|
|
2495
|
-
"
|
|
2495
|
+
"help": {
|
|
2496
2496
|
"$type": "text",
|
|
2497
2497
|
"$value": "question-circle"
|
|
2498
2498
|
},
|
|
2499
|
-
"
|
|
2499
|
+
"alert": {
|
|
2500
2500
|
"$type": "text",
|
|
2501
2501
|
"$value": "exclamation-triangle"
|
|
2502
2502
|
},
|
|
2503
|
-
"
|
|
2503
|
+
"drag": {
|
|
2504
2504
|
"$type": "text",
|
|
2505
2505
|
"$value": "grip-vertical"
|
|
2506
2506
|
},
|
|
2507
|
-
"
|
|
2507
|
+
"volumeon": {
|
|
2508
2508
|
"$type": "text",
|
|
2509
2509
|
"$value": "volume-up"
|
|
2510
2510
|
},
|
|
2511
|
-
"
|
|
2511
|
+
"volumeoff": {
|
|
2512
2512
|
"$type": "text",
|
|
2513
2513
|
"$value": "volume-mute"
|
|
2514
2514
|
},
|
|
2515
|
-
"
|
|
2515
|
+
"lock": {
|
|
2516
2516
|
"$type": "text",
|
|
2517
2517
|
"$value": "lock"
|
|
2518
2518
|
},
|
|
2519
|
-
"
|
|
2519
|
+
"highdensity": {
|
|
2520
2520
|
"$type": "text",
|
|
2521
|
-
"$value": "
|
|
2521
|
+
"$value": "th"
|
|
2522
2522
|
},
|
|
2523
|
-
"
|
|
2523
|
+
"lowdensity": {
|
|
2524
2524
|
"$type": "text",
|
|
2525
|
-
"$value": "
|
|
2525
|
+
"$value": "th-large"
|
|
2526
2526
|
},
|
|
2527
|
-
"
|
|
2527
|
+
"unlock": {
|
|
2528
2528
|
"$type": "text",
|
|
2529
2529
|
"$value": "unlock"
|
|
2530
2530
|
},
|
|
2531
|
-
"
|
|
2531
|
+
"folderopen": {
|
|
2532
2532
|
"$type": "text",
|
|
2533
2533
|
"$value": "folder-open"
|
|
2534
2534
|
},
|
|
2535
|
-
"
|
|
2535
|
+
"error": {
|
|
2536
2536
|
"$type": "text",
|
|
2537
2537
|
"$value": "times-circle"
|
|
2538
2538
|
},
|
|
2539
|
-
"
|
|
2539
|
+
"time": {
|
|
2540
2540
|
"$type": "text",
|
|
2541
2541
|
"$value": "clock"
|
|
2542
2542
|
},
|
|
2543
|
-
"
|
|
2543
|
+
"info": {
|
|
2544
2544
|
"$type": "text",
|
|
2545
2545
|
"$value": "info-circle"
|
|
2546
2546
|
},
|
|
@@ -2548,39 +2548,39 @@
|
|
|
2548
2548
|
"$type": "text",
|
|
2549
2549
|
"$value": "sign-language"
|
|
2550
2550
|
},
|
|
2551
|
-
"
|
|
2551
|
+
"message": {
|
|
2552
2552
|
"$type": "text",
|
|
2553
2553
|
"$value": "envelope"
|
|
2554
2554
|
},
|
|
2555
|
-
"
|
|
2555
|
+
"messageread": {
|
|
2556
2556
|
"$type": "text",
|
|
2557
2557
|
"$value": "envelope-open"
|
|
2558
2558
|
},
|
|
2559
|
-
"
|
|
2559
|
+
"notification": {
|
|
2560
2560
|
"$type": "text",
|
|
2561
2561
|
"$value": "bell"
|
|
2562
2562
|
},
|
|
2563
|
-
"
|
|
2563
|
+
"notificationoff": {
|
|
2564
2564
|
"$type": "text",
|
|
2565
2565
|
"$value": "bell-slash"
|
|
2566
2566
|
},
|
|
2567
|
-
"
|
|
2567
|
+
"sortup": {
|
|
2568
2568
|
"$type": "text",
|
|
2569
2569
|
"$value": "sort-up"
|
|
2570
2570
|
},
|
|
2571
|
-
"
|
|
2571
|
+
"sortdown": {
|
|
2572
2572
|
"$type": "text",
|
|
2573
2573
|
"$value": "sort-down"
|
|
2574
2574
|
},
|
|
2575
|
-
"
|
|
2575
|
+
"sort": {
|
|
2576
2576
|
"$type": "text",
|
|
2577
2577
|
"$value": "sort"
|
|
2578
2578
|
},
|
|
2579
|
-
"
|
|
2579
|
+
"selected": {
|
|
2580
2580
|
"$type": "text",
|
|
2581
2581
|
"$value": "check"
|
|
2582
2582
|
},
|
|
2583
|
-
"
|
|
2583
|
+
"success": {
|
|
2584
2584
|
"$type": "text",
|
|
2585
2585
|
"$value": "check-circle"
|
|
2586
2586
|
}
|
|
@@ -2616,7 +2616,7 @@
|
|
|
2616
2616
|
},
|
|
2617
2617
|
"fontawesome": {
|
|
2618
2618
|
"$type": "text",
|
|
2619
|
-
"$value": "font-awesome"
|
|
2619
|
+
"$value": "font-awesome-flag"
|
|
2620
2620
|
},
|
|
2621
2621
|
"github": {
|
|
2622
2622
|
"$type": "text",
|
|
@@ -3719,9 +3719,13 @@
|
|
|
3719
3719
|
"$type": "duration",
|
|
3720
3720
|
"$value": "{motion.duration.fast.02}"
|
|
3721
3721
|
}
|
|
3722
|
+
},
|
|
3723
|
+
"iconName": {
|
|
3724
|
+
"$type": "text",
|
|
3725
|
+
"$value": "{iconography.iconName.feedback.selected}"
|
|
3722
3726
|
}
|
|
3723
3727
|
},
|
|
3724
|
-
"
|
|
3728
|
+
"dragging": {
|
|
3725
3729
|
"borderWidth": {
|
|
3726
3730
|
"$type": "borderWidth",
|
|
3727
3731
|
"$value": "{surface.borderWidth.medium}"
|
|
@@ -3742,7 +3746,7 @@
|
|
|
3742
3746
|
"x": "{elevation.level.4.offsetX.cast}",
|
|
3743
3747
|
"y": "{elevation.level.4.offsetY.cast}",
|
|
3744
3748
|
"blur": "{elevation.level.4.blur.cast}",
|
|
3745
|
-
"color": "rgba({state.
|
|
3749
|
+
"color": "rgba({state.dragging.color.main},{elevation.opacity.shadow})",
|
|
3746
3750
|
"spread": 0,
|
|
3747
3751
|
"type": "dropShadow"
|
|
3748
3752
|
},
|
|
@@ -3750,7 +3754,7 @@
|
|
|
3750
3754
|
"x": "{elevation.level.4.offsetX.occlusion}",
|
|
3751
3755
|
"y": "{elevation.level.4.offsetY.occlusion}",
|
|
3752
3756
|
"blur": "{elevation.level.4.blur.occlusion}",
|
|
3753
|
-
"color": "rgba({state.
|
|
3757
|
+
"color": "rgba({state.dragging.color.main},{elevation.opacity.shadow})",
|
|
3754
3758
|
"spread": 0,
|
|
3755
3759
|
"type": "dropShadow"
|
|
3756
3760
|
}
|
|
@@ -3763,7 +3767,7 @@
|
|
|
3763
3767
|
"x": "{elevation.level.4.offsetX.cast}",
|
|
3764
3768
|
"y": "{elevation.level.4.offsetY.cast}",
|
|
3765
3769
|
"blur": "{elevation.level.4.blur.cast}",
|
|
3766
|
-
"color": "rgba({state.
|
|
3770
|
+
"color": "rgba({state.dragging.color.contrast},{elevation.opacity.shadow})",
|
|
3767
3771
|
"spread": 0,
|
|
3768
3772
|
"type": "dropShadow"
|
|
3769
3773
|
},
|
|
@@ -3771,7 +3775,7 @@
|
|
|
3771
3775
|
"x": "{elevation.level.4.offsetX.occlusion}",
|
|
3772
3776
|
"y": "{elevation.level.4.offsetY.occlusion}",
|
|
3773
3777
|
"blur": "{elevation.level.4.blur.occlusion}",
|
|
3774
|
-
"color": "rgba({state.
|
|
3778
|
+
"color": "rgba({state.dragging.color.contrast},{elevation.opacity.shadow})",
|
|
3775
3779
|
"spread": 0,
|
|
3776
3780
|
"type": "dropShadow"
|
|
3777
3781
|
}
|
|
@@ -3782,21 +3786,27 @@
|
|
|
3782
3786
|
"main": {
|
|
3783
3787
|
"$type": "border",
|
|
3784
3788
|
"$value": {
|
|
3785
|
-
"color": "{state.
|
|
3786
|
-
"width": "{state.
|
|
3789
|
+
"color": "{state.dragging.color.main}",
|
|
3790
|
+
"width": "{state.dragging.borderWidth}",
|
|
3787
3791
|
"style": "solid"
|
|
3788
3792
|
}
|
|
3789
3793
|
},
|
|
3790
3794
|
"contrast": {
|
|
3791
3795
|
"$type": "border",
|
|
3792
3796
|
"$value": {
|
|
3793
|
-
"color": "{state.
|
|
3794
|
-
"width": "{state.
|
|
3797
|
+
"color": "{state.dragging.color.contrast}",
|
|
3798
|
+
"width": "{state.dragging.borderWidth}",
|
|
3795
3799
|
"style": "solid"
|
|
3796
3800
|
}
|
|
3797
3801
|
}
|
|
3798
3802
|
}
|
|
3799
3803
|
},
|
|
3804
|
+
"drag": {
|
|
3805
|
+
"iconName": {
|
|
3806
|
+
"$type": "text",
|
|
3807
|
+
"$value": "{iconography.iconName.feedback.drag}"
|
|
3808
|
+
}
|
|
3809
|
+
},
|
|
3800
3810
|
"dropzone": {
|
|
3801
3811
|
"borderWidth": {
|
|
3802
3812
|
"$type": "borderWidth",
|
|
@@ -3846,6 +3856,24 @@
|
|
|
3846
3856
|
"$type": "duration",
|
|
3847
3857
|
"$value": "{motion.duration.fast.04}"
|
|
3848
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
|
+
}
|
|
3849
3877
|
}
|
|
3850
3878
|
}
|
|
3851
3879
|
}
|
package/src/temp/dark.json
CHANGED