@nswds/tokens 3.0.0 → 3.1.0

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 (68) hide show
  1. package/dist/css/breakpoints/global.css +7 -0
  2. package/dist/css/colors/semantic/hex.css +76 -76
  3. package/dist/css/colors/semantic/hsl.css +76 -76
  4. package/dist/css/colors/semantic/oklch.css +76 -76
  5. package/dist/css/colors/semantic/rgb.css +76 -76
  6. package/dist/css/colors/themes/masterbrand/hex.css +57 -57
  7. package/dist/css/colors/themes/masterbrand/hsl.css +57 -57
  8. package/dist/css/colors/themes/masterbrand/oklch.css +57 -57
  9. package/dist/css/colors/themes/masterbrand/rgb.css +57 -57
  10. package/dist/css/radius/global.css +7 -0
  11. package/dist/css/space/global.css +14 -0
  12. package/dist/index.cjs +815 -31
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +263 -0
  15. package/dist/index.d.ts +263 -0
  16. package/dist/index.js +815 -31
  17. package/dist/index.js.map +1 -1
  18. package/dist/js/breakpoints/global.js +7 -0
  19. package/dist/js/radius/global.js +7 -0
  20. package/dist/js/space/global.js +14 -0
  21. package/dist/json/breakpoints/global.json +9 -0
  22. package/dist/json/radius/global.json +9 -0
  23. package/dist/json/space/global.json +16 -0
  24. package/dist/less/breakpoints/global.less +5 -0
  25. package/dist/less/colors/semantic/hex.less +76 -76
  26. package/dist/less/colors/semantic/hsl.less +76 -76
  27. package/dist/less/colors/semantic/oklch.less +76 -76
  28. package/dist/less/colors/semantic/rgb.less +76 -76
  29. package/dist/less/colors/themes/masterbrand/hex.less +57 -57
  30. package/dist/less/colors/themes/masterbrand/hsl.less +57 -57
  31. package/dist/less/colors/themes/masterbrand/oklch.less +57 -57
  32. package/dist/less/colors/themes/masterbrand/rgb.less +57 -57
  33. package/dist/less/radius/global.less +5 -0
  34. package/dist/less/space/global.less +12 -0
  35. package/dist/scss/breakpoints/global.scss +5 -0
  36. package/dist/scss/colors/semantic/hex.scss +76 -76
  37. package/dist/scss/colors/semantic/hsl.scss +76 -76
  38. package/dist/scss/colors/semantic/oklch.scss +76 -76
  39. package/dist/scss/colors/semantic/rgb.scss +76 -76
  40. package/dist/scss/colors/themes/masterbrand/hex.scss +57 -57
  41. package/dist/scss/colors/themes/masterbrand/hsl.scss +57 -57
  42. package/dist/scss/colors/themes/masterbrand/oklch.scss +57 -57
  43. package/dist/scss/colors/themes/masterbrand/rgb.scss +57 -57
  44. package/dist/scss/radius/global.scss +5 -0
  45. package/dist/scss/space/global.scss +12 -0
  46. package/dist/tailwind/breakpoints/global.css +7 -0
  47. package/dist/tailwind/radius/global.css +7 -0
  48. package/dist/tailwind/space/global.css +14 -0
  49. package/dist/tokens/breakpoints.base.json +44 -0
  50. package/dist/tokens/global/breakpoints/canonical.json +44 -0
  51. package/dist/tokens/global/radius/canonical.json +44 -0
  52. package/dist/tokens/global/space/canonical.json +100 -0
  53. package/dist/tokens/radius.base.json +44 -0
  54. package/dist/tokens/semantic/color/canonical.json +76 -0
  55. package/dist/tokens/semantic/color/hex.json +76 -0
  56. package/dist/tokens/semantic/color/hsl.json +76 -0
  57. package/dist/tokens/semantic/color/oklch.json +76 -0
  58. package/dist/tokens/semantic/color/rgb.json +76 -0
  59. package/dist/tokens/space.base.json +100 -0
  60. package/dist/tokens/themes/color/masterbrand/canonical.json +57 -0
  61. package/dist/tokens/themes/color/masterbrand/hex.json +57 -0
  62. package/dist/tokens/themes/color/masterbrand/hsl.json +57 -0
  63. package/dist/tokens/themes/color/masterbrand/oklch.json +57 -0
  64. package/dist/tokens/themes/color/masterbrand/rgb.json +57 -0
  65. package/dist/ts/breakpoints/global.ts +7 -0
  66. package/dist/ts/radius/global.ts +7 -0
  67. package/dist/ts/space/global.ts +14 -0
  68. package/package.json +20 -1
package/dist/index.d.cts CHANGED
@@ -94,6 +94,18 @@ declare namespace dataVisualisationCssRgb {
94
94
  export { };
95
95
  }
96
96
 
97
+ declare namespace spaceCssGlobal {
98
+ export { };
99
+ }
100
+
101
+ declare namespace radiusCssGlobal {
102
+ export { };
103
+ }
104
+
105
+ declare namespace breakpointsCssGlobal {
106
+ export { };
107
+ }
108
+
97
109
  declare const nswGrey$7: {
98
110
  50: string;
99
111
  100: string;
@@ -3722,6 +3734,49 @@ declare namespace dataVisualisationJsRgb {
3722
3734
  export { blueOrange$4 as blueOrange, blueRed$4 as blueRed, deepCurrent$4 as deepCurrent, earthfire$4 as earthfire, ember$4 as ember, fuchsiaHeat$4 as fuchsiaHeat, fuchsiaTeal$4 as fuchsiaTeal, glacierPool$4 as glacierPool, polarGlow$4 as polarGlow, purpleYellow$4 as purpleYellow };
3723
3735
  }
3724
3736
 
3737
+ declare const space$1: {
3738
+ 0: string;
3739
+ 1: string;
3740
+ 2: string;
3741
+ 3: string;
3742
+ 4: string;
3743
+ 5: string;
3744
+ 6: string;
3745
+ 8: string;
3746
+ 10: string;
3747
+ 12: string;
3748
+ 14: string;
3749
+ 16: string;
3750
+ };
3751
+
3752
+ declare namespace spaceJsGlobal {
3753
+ export { space$1 as space };
3754
+ }
3755
+
3756
+ declare namespace radius$1 {
3757
+ let none: string;
3758
+ let sm: string;
3759
+ let md: string;
3760
+ let lg: string;
3761
+ let pill: string;
3762
+ }
3763
+
3764
+ declare namespace radiusJsGlobal {
3765
+ export { radius$1 as radius };
3766
+ }
3767
+
3768
+ declare namespace breakpoint$1 {
3769
+ let xs: string;
3770
+ let sm: string;
3771
+ let md: string;
3772
+ let lg: string;
3773
+ let xl: string;
3774
+ }
3775
+
3776
+ declare namespace breakpointsJsGlobal {
3777
+ export { breakpoint$1 as breakpoint };
3778
+ }
3779
+
3725
3780
  declare namespace globalLessHex {
3726
3781
  export { };
3727
3782
  }
@@ -3818,6 +3873,18 @@ declare namespace dataVisualisationLessRgb {
3818
3873
  export { };
3819
3874
  }
3820
3875
 
3876
+ declare namespace spaceLessGlobal {
3877
+ export { };
3878
+ }
3879
+
3880
+ declare namespace radiusLessGlobal {
3881
+ export { };
3882
+ }
3883
+
3884
+ declare namespace breakpointsLessGlobal {
3885
+ export { };
3886
+ }
3887
+
3821
3888
  declare namespace globalScssHex {
3822
3889
  export { };
3823
3890
  }
@@ -3914,6 +3981,18 @@ declare namespace dataVisualisationScssRgb {
3914
3981
  export { };
3915
3982
  }
3916
3983
 
3984
+ declare namespace spaceScssGlobal {
3985
+ export { };
3986
+ }
3987
+
3988
+ declare namespace radiusScssGlobal {
3989
+ export { };
3990
+ }
3991
+
3992
+ declare namespace breakpointsScssGlobal {
3993
+ export { };
3994
+ }
3995
+
3917
3996
  declare namespace globalTailwindHex {
3918
3997
  export { };
3919
3998
  }
@@ -4010,6 +4089,18 @@ declare namespace dataVisualisationTailwindRgb {
4010
4089
  export { };
4011
4090
  }
4012
4091
 
4092
+ declare namespace spaceTailwindGlobal {
4093
+ export { };
4094
+ }
4095
+
4096
+ declare namespace radiusTailwindGlobal {
4097
+ export { };
4098
+ }
4099
+
4100
+ declare namespace breakpointsTailwindGlobal {
4101
+ export { };
4102
+ }
4103
+
4013
4104
  declare const nswGrey$3: {
4014
4105
  '50': string;
4015
4106
  '100': string;
@@ -7673,6 +7764,52 @@ declare namespace dataVisualisationTsRgb {
7673
7764
  export { dataVisualisationTsRgb_blueOrange as blueOrange, dataVisualisationTsRgb_blueRed as blueRed, dataVisualisationTsRgb_deepCurrent as deepCurrent, dataVisualisationTsRgb_earthfire as earthfire, dataVisualisationTsRgb_ember as ember, dataVisualisationTsRgb_fuchsiaHeat as fuchsiaHeat, dataVisualisationTsRgb_fuchsiaTeal as fuchsiaTeal, dataVisualisationTsRgb_glacierPool as glacierPool, dataVisualisationTsRgb_polarGlow as polarGlow, dataVisualisationTsRgb_purpleYellow as purpleYellow };
7674
7765
  }
7675
7766
 
7767
+ declare const space: {
7768
+ '0': string;
7769
+ '1': string;
7770
+ '2': string;
7771
+ '3': string;
7772
+ '4': string;
7773
+ '5': string;
7774
+ '6': string;
7775
+ '8': string;
7776
+ '10': string;
7777
+ '12': string;
7778
+ '14': string;
7779
+ '16': string;
7780
+ };
7781
+
7782
+ declare const spaceTsGlobal_space: typeof space;
7783
+ declare namespace spaceTsGlobal {
7784
+ export { spaceTsGlobal_space as space };
7785
+ }
7786
+
7787
+ declare const radius: {
7788
+ none: string;
7789
+ sm: string;
7790
+ md: string;
7791
+ lg: string;
7792
+ pill: string;
7793
+ };
7794
+
7795
+ declare const radiusTsGlobal_radius: typeof radius;
7796
+ declare namespace radiusTsGlobal {
7797
+ export { radiusTsGlobal_radius as radius };
7798
+ }
7799
+
7800
+ declare const breakpoint: {
7801
+ xs: string;
7802
+ sm: string;
7803
+ md: string;
7804
+ lg: string;
7805
+ xl: string;
7806
+ };
7807
+
7808
+ declare const breakpointsTsGlobal_breakpoint: typeof breakpoint;
7809
+ declare namespace breakpointsTsGlobal {
7810
+ export { breakpointsTsGlobal_breakpoint as breakpoint };
7811
+ }
7812
+
7676
7813
  declare const tokens: {
7677
7814
  colors: {
7678
7815
  global: {
@@ -7753,6 +7890,15 @@ declare const tokens: {
7753
7890
  rgb: typeof dataVisualisationCssRgb;
7754
7891
  };
7755
7892
  };
7893
+ space: {
7894
+ global: typeof spaceCssGlobal;
7895
+ };
7896
+ radius: {
7897
+ global: typeof radiusCssGlobal;
7898
+ };
7899
+ breakpoints: {
7900
+ global: typeof breakpointsCssGlobal;
7901
+ };
7756
7902
  };
7757
7903
  js: {
7758
7904
  global: {
@@ -7793,6 +7939,15 @@ declare const tokens: {
7793
7939
  rgb: typeof dataVisualisationJsRgb;
7794
7940
  };
7795
7941
  };
7942
+ space: {
7943
+ global: typeof spaceJsGlobal;
7944
+ };
7945
+ radius: {
7946
+ global: typeof radiusJsGlobal;
7947
+ };
7948
+ breakpoints: {
7949
+ global: typeof breakpointsJsGlobal;
7950
+ };
7796
7951
  };
7797
7952
  json: {
7798
7953
  global: {
@@ -7833,6 +7988,15 @@ declare const tokens: {
7833
7988
  rgb: any;
7834
7989
  };
7835
7990
  };
7991
+ space: {
7992
+ global: any;
7993
+ };
7994
+ radius: {
7995
+ global: any;
7996
+ };
7997
+ breakpoints: {
7998
+ global: any;
7999
+ };
7836
8000
  };
7837
8001
  less: {
7838
8002
  global: {
@@ -7873,6 +8037,15 @@ declare const tokens: {
7873
8037
  rgb: typeof dataVisualisationLessRgb;
7874
8038
  };
7875
8039
  };
8040
+ space: {
8041
+ global: typeof spaceLessGlobal;
8042
+ };
8043
+ radius: {
8044
+ global: typeof radiusLessGlobal;
8045
+ };
8046
+ breakpoints: {
8047
+ global: typeof breakpointsLessGlobal;
8048
+ };
7876
8049
  };
7877
8050
  scss: {
7878
8051
  global: {
@@ -7913,6 +8086,15 @@ declare const tokens: {
7913
8086
  rgb: typeof dataVisualisationScssRgb;
7914
8087
  };
7915
8088
  };
8089
+ space: {
8090
+ global: typeof spaceScssGlobal;
8091
+ };
8092
+ radius: {
8093
+ global: typeof radiusScssGlobal;
8094
+ };
8095
+ breakpoints: {
8096
+ global: typeof breakpointsScssGlobal;
8097
+ };
7916
8098
  };
7917
8099
  tailwind: {
7918
8100
  global: {
@@ -7953,6 +8135,15 @@ declare const tokens: {
7953
8135
  rgb: typeof dataVisualisationTailwindRgb;
7954
8136
  };
7955
8137
  };
8138
+ space: {
8139
+ global: typeof spaceTailwindGlobal;
8140
+ };
8141
+ radius: {
8142
+ global: typeof radiusTailwindGlobal;
8143
+ };
8144
+ breakpoints: {
8145
+ global: typeof breakpointsTailwindGlobal;
8146
+ };
7956
8147
  };
7957
8148
  ts: {
7958
8149
  global: {
@@ -7993,6 +8184,15 @@ declare const tokens: {
7993
8184
  rgb: typeof dataVisualisationTsRgb;
7994
8185
  };
7995
8186
  };
8187
+ space: {
8188
+ global: typeof spaceTsGlobal;
8189
+ };
8190
+ radius: {
8191
+ global: typeof radiusTsGlobal;
8192
+ };
8193
+ breakpoints: {
8194
+ global: typeof breakpointsTsGlobal;
8195
+ };
7996
8196
  };
7997
8197
  };
7998
8198
  declare const colorTokens: {
@@ -8074,6 +8274,15 @@ declare const cssTokens: {
8074
8274
  rgb: typeof dataVisualisationCssRgb;
8075
8275
  };
8076
8276
  };
8277
+ space: {
8278
+ global: typeof spaceCssGlobal;
8279
+ };
8280
+ radius: {
8281
+ global: typeof radiusCssGlobal;
8282
+ };
8283
+ breakpoints: {
8284
+ global: typeof breakpointsCssGlobal;
8285
+ };
8077
8286
  };
8078
8287
  declare const jsTokens: {
8079
8288
  global: {
@@ -8114,6 +8323,15 @@ declare const jsTokens: {
8114
8323
  rgb: typeof dataVisualisationJsRgb;
8115
8324
  };
8116
8325
  };
8326
+ space: {
8327
+ global: typeof spaceJsGlobal;
8328
+ };
8329
+ radius: {
8330
+ global: typeof radiusJsGlobal;
8331
+ };
8332
+ breakpoints: {
8333
+ global: typeof breakpointsJsGlobal;
8334
+ };
8117
8335
  };
8118
8336
  declare const jsonTokens: {
8119
8337
  global: {
@@ -8154,6 +8372,15 @@ declare const jsonTokens: {
8154
8372
  rgb: any;
8155
8373
  };
8156
8374
  };
8375
+ space: {
8376
+ global: any;
8377
+ };
8378
+ radius: {
8379
+ global: any;
8380
+ };
8381
+ breakpoints: {
8382
+ global: any;
8383
+ };
8157
8384
  };
8158
8385
  declare const lessTokens: {
8159
8386
  global: {
@@ -8194,6 +8421,15 @@ declare const lessTokens: {
8194
8421
  rgb: typeof dataVisualisationLessRgb;
8195
8422
  };
8196
8423
  };
8424
+ space: {
8425
+ global: typeof spaceLessGlobal;
8426
+ };
8427
+ radius: {
8428
+ global: typeof radiusLessGlobal;
8429
+ };
8430
+ breakpoints: {
8431
+ global: typeof breakpointsLessGlobal;
8432
+ };
8197
8433
  };
8198
8434
  declare const scssTokens: {
8199
8435
  global: {
@@ -8234,6 +8470,15 @@ declare const scssTokens: {
8234
8470
  rgb: typeof dataVisualisationScssRgb;
8235
8471
  };
8236
8472
  };
8473
+ space: {
8474
+ global: typeof spaceScssGlobal;
8475
+ };
8476
+ radius: {
8477
+ global: typeof radiusScssGlobal;
8478
+ };
8479
+ breakpoints: {
8480
+ global: typeof breakpointsScssGlobal;
8481
+ };
8237
8482
  };
8238
8483
  declare const tailwindTokens: {
8239
8484
  global: {
@@ -8274,6 +8519,15 @@ declare const tailwindTokens: {
8274
8519
  rgb: typeof dataVisualisationTailwindRgb;
8275
8520
  };
8276
8521
  };
8522
+ space: {
8523
+ global: typeof spaceTailwindGlobal;
8524
+ };
8525
+ radius: {
8526
+ global: typeof radiusTailwindGlobal;
8527
+ };
8528
+ breakpoints: {
8529
+ global: typeof breakpointsTailwindGlobal;
8530
+ };
8277
8531
  };
8278
8532
  declare const tsTokens: {
8279
8533
  global: {
@@ -8314,6 +8568,15 @@ declare const tsTokens: {
8314
8568
  rgb: typeof dataVisualisationTsRgb;
8315
8569
  };
8316
8570
  };
8571
+ space: {
8572
+ global: typeof spaceTsGlobal;
8573
+ };
8574
+ radius: {
8575
+ global: typeof radiusTsGlobal;
8576
+ };
8577
+ breakpoints: {
8578
+ global: typeof breakpointsTsGlobal;
8579
+ };
8317
8580
  };
8318
8581
  declare const brand: {
8319
8582
  iconDark: {