@govbr-ds/tokens 4.0.0-next.29 → 4.0.0-next.30

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 (29) hide show
  1. package/README.md +43 -138
  2. package/dist/css/components/breadcrumbs/tokens.css +34 -0
  3. package/dist/css/components/footer/tokens.css +48 -0
  4. package/dist/css/components/header/tokens.css +38 -0
  5. package/dist/css/components/tooltip/tokens.css +18 -0
  6. package/dist/css/contrast-mode.css +41 -0
  7. package/dist/css/theme/dark/{tokens-prefers-color-scheme.css → prefers-color-scheme.css} +1 -0
  8. package/dist/css/theme/dark/tokens.css +1 -0
  9. package/dist/css/theme/light/{tokens-prefers-color-scheme.css → prefers-color-scheme.css} +1 -0
  10. package/dist/css/theme/light/tokens.css +1 -0
  11. package/dist/js/components/breadcrumbs/tokens.js +36 -0
  12. package/dist/js/components/footer/tokens.js +47 -0
  13. package/dist/js/components/header/tokens.js +39 -0
  14. package/dist/js/components/tooltip/tokens.js +17 -0
  15. package/dist/js/tokens.js +4 -4
  16. package/dist/json/components/breadcrumbs/tokens.json +877 -0
  17. package/dist/json/components/footer/tokens.json +1345 -0
  18. package/dist/json/components/header/tokens.json +1050 -0
  19. package/dist/json/components/tooltip/tokens.json +383 -0
  20. package/dist/json/tokens.json +4 -4
  21. package/dist/scss/components/breadcrumbs/tokens.scss +31 -0
  22. package/dist/scss/components/footer/tokens.scss +45 -0
  23. package/dist/scss/components/header/tokens.scss +35 -0
  24. package/dist/scss/components/tooltip/tokens.scss +15 -0
  25. package/dist/tokens-studio/tokens.json +569 -0
  26. package/package.json +3 -3
  27. package/src/temp/style-dictionary/core/component.json +569 -0
  28. package/src/temp/tokens-studio/core/component.json +569 -0
  29. package/src/tokens.json +570 -1
@@ -2090,6 +2090,575 @@
2090
2090
  }
2091
2091
  }
2092
2092
  }
2093
+ },
2094
+ "tooltip": {
2095
+ "color": {
2096
+ "$type": "color",
2097
+ "background": {
2098
+ "main": {
2099
+ "primary": {
2100
+ "$value": "{br.color.background.main.primary}"
2101
+ },
2102
+ "secondary": {
2103
+ "$value": "{br.color.background.main.secondary}"
2104
+ }
2105
+ },
2106
+ "contrast": {
2107
+ "primary": {
2108
+ "$value": "{br.color.background.contrast.primary}"
2109
+ },
2110
+ "secondary": {
2111
+ "$value": "{br.color.background.contrast.secondary}"
2112
+ }
2113
+ }
2114
+ },
2115
+ "foreground": {
2116
+ "main": {
2117
+ "$value": "{br.color.foreground.main.primary}"
2118
+ },
2119
+ "contrast": {
2120
+ "$value": "{br.color.foreground.contrast.primary}"
2121
+ }
2122
+ }
2123
+ },
2124
+ "rounder": {
2125
+ "$type": "borderRadius",
2126
+ "$value": "{br.surface.rounder.sm}"
2127
+ },
2128
+ "shadowStyle": {
2129
+ "$type": "boxShadow",
2130
+ "$value": "{br.elevation.shadowStyle.level4}"
2131
+ },
2132
+ "fontStyle": {
2133
+ "$type": "typography",
2134
+ "$value": {
2135
+ "fontFamily": "{br.typography.fontFamily.primary}",
2136
+ "fontWeight": "{br.typography.fontWeight.regular}",
2137
+ "fontSize": "{br.typography.fontSize.down.2}",
2138
+ "lineHeight": "{br.typography.lineHeight.sm}"
2139
+ }
2140
+ },
2141
+ "density": {
2142
+ "$type": "spacing",
2143
+ "compact": {
2144
+ "$value": "{br.spacing.adjust.1}"
2145
+ },
2146
+ "regular": {
2147
+ "$value": "{br.spacing.layout.1}"
2148
+ },
2149
+ "spacious": {
2150
+ "$value": "{br.spacing.layout.2}"
2151
+ }
2152
+ }
2153
+ },
2154
+ "header": {
2155
+ "color": {
2156
+ "$type": "color",
2157
+ "background": {
2158
+ "main": {
2159
+ "primary": {
2160
+ "$value": "{br.color.background.main.primary}"
2161
+ },
2162
+ "secondary": {
2163
+ "$value": "{br.color.background.main.secondary}"
2164
+ },
2165
+ "high": {
2166
+ "$value": "{br.state.interactive.color.main}"
2167
+ }
2168
+ },
2169
+ "contrast": {
2170
+ "primary": {
2171
+ "$value": "{br.color.background.contrast.primary}"
2172
+ },
2173
+ "secondary": {
2174
+ "$value": "{br.color.background.contrast.secondary}"
2175
+ },
2176
+ "high": {
2177
+ "$value": "{br.state.interactive.color.contrast}"
2178
+ }
2179
+ },
2180
+ "none": {
2181
+ "$value": "transparent"
2182
+ },
2183
+ "status": {
2184
+ "$value": "{br.color.goldVivid.5}"
2185
+ }
2186
+ },
2187
+ "foreground": {
2188
+ "main": {
2189
+ "subtitle": {
2190
+ "$value": "{br.color.foreground.main.secondary}"
2191
+ },
2192
+ "high": {
2193
+ "$value": "{br.state.interactive.color.foreground.main}"
2194
+ }
2195
+ },
2196
+ "contrast": {
2197
+ "subtitle": {
2198
+ "$value": "{br.color.foreground.contrast.secondary}"
2199
+ },
2200
+ "high": {
2201
+ "$value": "{br.state.interactive.color.foreground.contrast}"
2202
+ }
2203
+ },
2204
+ "status": {
2205
+ "$value": "{br.color.goldVivid.70}"
2206
+ }
2207
+ }
2208
+ },
2209
+ "padding": {
2210
+ "$type": "spacing",
2211
+ "status": {
2212
+ "$value": "{br.spacing.adjust.1}"
2213
+ }
2214
+ },
2215
+ "gap": {
2216
+ "$type": "spacing",
2217
+ "default": {
2218
+ "$value": "{br.spacing.layout.1}"
2219
+ },
2220
+ "identification": {
2221
+ "$value": "{br.spacing.adjust.1}"
2222
+ }
2223
+ },
2224
+ "rounder": {
2225
+ "$type": "borderRadius",
2226
+ "default": {
2227
+ "$value": "{br.surface.rounder.none}"
2228
+ },
2229
+ "status": {
2230
+ "$value": "{br.surface.rounder.sm}"
2231
+ }
2232
+ },
2233
+ "density": {
2234
+ "$type": "spacing",
2235
+ "compact": {
2236
+ "$value": "{br.spacing.layout.1}"
2237
+ },
2238
+ "regular": {
2239
+ "$value": "{br.spacing.layout.2}"
2240
+ },
2241
+ "spacious": {
2242
+ "$value": "{br.spacing.adjust.3}"
2243
+ }
2244
+ },
2245
+ "iconName": {
2246
+ "$type": "text",
2247
+ "menu": {
2248
+ "$value": "{br.iconography.iconName.navigation.menu}"
2249
+ },
2250
+ "back": {
2251
+ "$value": "{br.iconography.iconName.navigation.back}"
2252
+ },
2253
+ "close": {
2254
+ "$value": "{br.iconography.iconName.action.close}"
2255
+ },
2256
+ "search": {
2257
+ "$value": "{br.iconography.iconName.action.search}"
2258
+ },
2259
+ "options": {
2260
+ "$value": "{br.iconography.iconName.navigation.options}"
2261
+ },
2262
+ "signin": {
2263
+ "$value": "{br.iconography.iconName.navigation.signin}"
2264
+ }
2265
+ },
2266
+ "fontStyle": {
2267
+ "$type": "typography",
2268
+ "subtitle": {
2269
+ "$value": {
2270
+ "fontFamily": "{br.typography.fontFamily.primary}",
2271
+ "fontWeight": "{br.typography.fontWeight.medium}",
2272
+ "fontSize": "{br.typography.fontSize.down.2}",
2273
+ "lineHeight": "{br.typography.lineHeight.sm}"
2274
+ }
2275
+ },
2276
+ "status": {
2277
+ "$value": {
2278
+ "fontFamily": "{br.typography.fontFamily.primary}",
2279
+ "fontWeight": "{br.typography.fontWeight.regular}",
2280
+ "fontSize": "{br.typography.fontSize.down.4}",
2281
+ "lineHeight": "{br.typography.lineHeight.xsm}"
2282
+ }
2283
+ }
2284
+ },
2285
+ "shadowStyle": {
2286
+ "$type": "boxShadow",
2287
+ "default": {
2288
+ "$value": "{br.elevation.shadowStyle.level0}"
2289
+ },
2290
+ "fixed": {
2291
+ "$value": "{br.elevation.shadowStyle.level3}"
2292
+ },
2293
+ "dropdown": {
2294
+ "$value": "{br.elevation.shadowStyle.level2}"
2295
+ }
2296
+ }
2297
+ },
2298
+ "footer": {
2299
+ "color": {
2300
+ "$type": "color",
2301
+ "background": {
2302
+ "main": {
2303
+ "primary": {
2304
+ "$value": "{br.color.background.main.primary}"
2305
+ },
2306
+ "secondary": {
2307
+ "$value": "{br.color.background.main.secondary}"
2308
+ }
2309
+ },
2310
+ "contrast": {
2311
+ "primary": {
2312
+ "$value": "{br.color.background.contrast.primary}"
2313
+ },
2314
+ "secondary": {
2315
+ "$value": "{br.color.background.contrast.secondary}"
2316
+ }
2317
+ }
2318
+ },
2319
+ "foreground": {
2320
+ "main": {
2321
+ "default": {
2322
+ "$value": "{br.color.foreground.main.secondary}"
2323
+ }
2324
+ },
2325
+ "contrast": {
2326
+ "default": {
2327
+ "$value": "{br.color.foreground.contrast.secondary}"
2328
+ }
2329
+ }
2330
+ }
2331
+ },
2332
+ "padding": {
2333
+ "$type": "spacing",
2334
+ "default": {
2335
+ "$value": "{br.spacing.layout.1}"
2336
+ },
2337
+ "item": {
2338
+ "$value": "{br.spacing.adjust.1}"
2339
+ },
2340
+ "indentation": {
2341
+ "$value": "{br.spacing.layout.2}"
2342
+ }
2343
+ },
2344
+ "gap": {
2345
+ "$type": "spacing",
2346
+ "default": {
2347
+ "$value": "{br.spacing.layout.1}"
2348
+ }
2349
+ },
2350
+ "rounder": {
2351
+ "$type": "borderRadius",
2352
+ "default": {
2353
+ "$value": "{br.surface.rounder.sm}"
2354
+ }
2355
+ },
2356
+ "width": {
2357
+ "$type": "dimension",
2358
+ "minimum": {
2359
+ "$value": "200"
2360
+ },
2361
+ "maximum": {
2362
+ "$value": "480"
2363
+ }
2364
+ },
2365
+ "iconName": {
2366
+ "$type": "text",
2367
+ "collapseOpen": {
2368
+ "$value": "{br.iconography.iconName.navigation.collapseUp}"
2369
+ },
2370
+ "collapseClose": {
2371
+ "$value": "{br.iconography.iconName.navigation.collapseDown}"
2372
+ },
2373
+ "externallink": {
2374
+ "$value": "{br.iconography.iconName.navigation.externallink}"
2375
+ }
2376
+ },
2377
+ "borderStyle": {
2378
+ "$type": "border",
2379
+ "default": {
2380
+ "$value": {
2381
+ "color": "{br.color.border.primary}",
2382
+ "width": "{br.surface.borderWidth.sm}",
2383
+ "style": "solid"
2384
+ }
2385
+ }
2386
+ },
2387
+ "fontStyle": {
2388
+ "$type": "typography",
2389
+ "identification": {
2390
+ "$value": {
2391
+ "fontFamily": "{br.typography.fontFamily.primary}",
2392
+ "fontWeight": "{br.typography.fontWeight.medium}",
2393
+ "fontSize": "{br.typography.fontSize.down.1}",
2394
+ "lineHeight": "{br.typography.lineHeight.md}"
2395
+ }
2396
+ }
2397
+ },
2398
+ "density": {
2399
+ "$type": "spacing",
2400
+ "compact": {
2401
+ "default": {
2402
+ "$value": "{br.spacing.layout.1}"
2403
+ },
2404
+ "support": {
2405
+ "$value": "{br.spacing.adjust.1}"
2406
+ }
2407
+ },
2408
+ "regular": {
2409
+ "default": {
2410
+ "$value": "{br.spacing.layout.3}"
2411
+ },
2412
+ "support": {
2413
+ "$value": "{br.spacing.layout.2}"
2414
+ }
2415
+ },
2416
+ "spacious": {
2417
+ "default": {
2418
+ "$value": "{br.spacing.layout.4}"
2419
+ },
2420
+ "support": {
2421
+ "$value": "{br.spacing.layout.3}"
2422
+ }
2423
+ }
2424
+ },
2425
+ "hover": {
2426
+ "color": {
2427
+ "$type": "color",
2428
+ "main": {
2429
+ "$value": "{br.state.hover.color.interactiveFg.main}"
2430
+ },
2431
+ "contrast": {
2432
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
2433
+ }
2434
+ },
2435
+ "easing": {
2436
+ "$type": "easing",
2437
+ "in": {
2438
+ "$value": "{br.state.hover.easing.in.default}"
2439
+ },
2440
+ "out": {
2441
+ "$value": "{br.state.hover.easing.out}"
2442
+ }
2443
+ },
2444
+ "duration": {
2445
+ "$type": "duration",
2446
+ "in": {
2447
+ "$value": "{br.state.hover.duration.in.default}"
2448
+ },
2449
+ "out": {
2450
+ "$value": "{br.state.hover.duration.out}"
2451
+ }
2452
+ }
2453
+ },
2454
+ "pressed": {
2455
+ "shadowStyle": {
2456
+ "$type": "boxShadow",
2457
+ "$value": "{br.state.pressed.shadowStyle}"
2458
+ },
2459
+ "easing": {
2460
+ "$type": "easing",
2461
+ "in": {
2462
+ "$value": "{br.state.pressed.easing.in}"
2463
+ },
2464
+ "out": {
2465
+ "$value": "{br.state.pressed.easing.out}"
2466
+ }
2467
+ },
2468
+ "duration": {
2469
+ "$type": "duration",
2470
+ "in": {
2471
+ "$value": "{br.state.pressed.duration.in}"
2472
+ },
2473
+ "out": {
2474
+ "$value": "{br.state.pressed.duration.out}"
2475
+ }
2476
+ }
2477
+ },
2478
+ "focus": {
2479
+ "padding": {
2480
+ "$type": "spacing",
2481
+ "$value": "{br.state.focus.padding}"
2482
+ },
2483
+ "borderStyle": {
2484
+ "$type": "border",
2485
+ "main": {
2486
+ "$value": "{br.state.focus.borderStyle.main.high}"
2487
+ },
2488
+ "contrast": {
2489
+ "$value": "{br.state.focus.borderStyle.contrast.high}"
2490
+ }
2491
+ },
2492
+ "easing": {
2493
+ "$type": "easing",
2494
+ "in": {
2495
+ "$value": "{br.state.focus.easing.in}"
2496
+ },
2497
+ "out": {
2498
+ "$value": "{br.state.focus.easing.out}"
2499
+ }
2500
+ },
2501
+ "duration": {
2502
+ "$type": "duration",
2503
+ "in": {
2504
+ "$value": "{br.state.focus.duration.in}"
2505
+ },
2506
+ "out": {
2507
+ "$value": "{br.state.focus.duration.out}"
2508
+ }
2509
+ }
2510
+ }
2511
+ },
2512
+ "breadcrumbs": {
2513
+ "color": {
2514
+ "$type": "color",
2515
+ "foreground": {
2516
+ "main": {
2517
+ "default": {
2518
+ "$value": "{br.state.interactive.color.main}"
2519
+ }
2520
+ },
2521
+ "contrast": {
2522
+ "default": {
2523
+ "$value": "{br.state.interactive.color.contrast}"
2524
+ }
2525
+ }
2526
+ },
2527
+ "border": {
2528
+ "default": {
2529
+ "$value": "{br.color.border.primary}"
2530
+ }
2531
+ }
2532
+ },
2533
+ "gap": {
2534
+ "default": {
2535
+ "$type": "spacing",
2536
+ "$value": "{br.spacing.adjust.1}"
2537
+ }
2538
+ },
2539
+ "padding": {
2540
+ "default": {
2541
+ "$type": "spacing",
2542
+ "$value": "{br.spacing.adjust.1}"
2543
+ }
2544
+ },
2545
+ "density": {
2546
+ "$type": "spacing",
2547
+ "compact": {
2548
+ "$value": "{br.spacing.adjust.1}"
2549
+ },
2550
+ "regular": {
2551
+ "$value": "{br.spacing.layout.1}"
2552
+ },
2553
+ "spacious": {
2554
+ "$value": "{br.spacing.adjust.2}"
2555
+ }
2556
+ },
2557
+ "fontStyle": {
2558
+ "$type": "typography",
2559
+ "default": {
2560
+ "$value": {
2561
+ "fontFamily": "{br.typography.fontFamily.primary}",
2562
+ "fontWeight": "{br.typography.fontWeight.regular}",
2563
+ "fontSize": "{br.typography.fontSize.down.1}",
2564
+ "lineHeight": "{br.typography.lineHeight.md}"
2565
+ }
2566
+ }
2567
+ },
2568
+ "shadowStyle": {
2569
+ "default": {
2570
+ "$type": "boxShadow",
2571
+ "$value": "{br.elevation.shadowStyle.level2}"
2572
+ }
2573
+ },
2574
+ "hover": {
2575
+ "color": {
2576
+ "$type": "color",
2577
+ "interactiveFg": {
2578
+ "main": {
2579
+ "$value": "{br.state.hover.color.interactiveFg.main}"
2580
+ },
2581
+ "contrast": {
2582
+ "$value": "{br.state.hover.color.interactiveFg.contrast}"
2583
+ }
2584
+ }
2585
+ },
2586
+ "easing": {
2587
+ "$type": "easing",
2588
+ "in": {
2589
+ "$value": "{br.state.hover.easing.in.default}"
2590
+ },
2591
+ "out": {
2592
+ "$value": "{br.state.hover.easing.out}"
2593
+ }
2594
+ },
2595
+ "duration": {
2596
+ "$type": "duration",
2597
+ "in": {
2598
+ "$value": "{br.state.hover.duration.in.default}"
2599
+ },
2600
+ "out": {
2601
+ "$value": "{br.state.hover.duration.out}"
2602
+ }
2603
+ }
2604
+ },
2605
+ "pressed": {
2606
+ "shadowStyle": {
2607
+ "$type": "boxShadow",
2608
+ "$value": "{br.state.pressed.shadowStyle}"
2609
+ },
2610
+ "easing": {
2611
+ "$type": "easing",
2612
+ "in": {
2613
+ "$value": "{br.state.pressed.easing.in}"
2614
+ },
2615
+ "out": {
2616
+ "$value": "{br.state.pressed.easing.out}"
2617
+ }
2618
+ },
2619
+ "duration": {
2620
+ "$type": "duration",
2621
+ "in": {
2622
+ "$value": "{br.state.pressed.duration.in}"
2623
+ },
2624
+ "out": {
2625
+ "$value": "{br.state.pressed.duration.out}"
2626
+ }
2627
+ }
2628
+ },
2629
+ "focus": {
2630
+ "padding": {
2631
+ "$type": "spacing",
2632
+ "$value": "{br.state.focus.padding}"
2633
+ },
2634
+ "borderStyle": {
2635
+ "$type": "border",
2636
+ "main": {
2637
+ "$value": "{br.state.focus.borderStyle.main.high}"
2638
+ },
2639
+ "contrast": {
2640
+ "$value": "{br.state.focus.borderStyle.contrast.high}"
2641
+ }
2642
+ },
2643
+ "easing": {
2644
+ "$type": "easing",
2645
+ "in": {
2646
+ "$value": "{br.state.focus.easing.in}"
2647
+ },
2648
+ "out": {
2649
+ "$value": "{br.state.focus.easing.out}"
2650
+ }
2651
+ },
2652
+ "duration": {
2653
+ "$type": "duration",
2654
+ "in": {
2655
+ "$value": "{br.state.focus.duration.in}"
2656
+ },
2657
+ "out": {
2658
+ "$value": "{br.state.focus.duration.out}"
2659
+ }
2660
+ }
2661
+ }
2093
2662
  }
2094
2663
  }
2095
2664
  }