@nswds/tokens 3.0.1 → 3.2.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 (77) 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/css/typography/global.css +32 -0
  13. package/dist/index.cjs +999 -31
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +417 -0
  16. package/dist/index.d.ts +417 -0
  17. package/dist/index.js +999 -31
  18. package/dist/index.js.map +1 -1
  19. package/dist/js/breakpoints/global.js +7 -0
  20. package/dist/js/radius/global.js +7 -0
  21. package/dist/js/space/global.js +14 -0
  22. package/dist/js/typography/global.js +42 -0
  23. package/dist/json/breakpoints/global.json +9 -0
  24. package/dist/json/radius/global.json +9 -0
  25. package/dist/json/space/global.json +16 -0
  26. package/dist/json/typography/global.json +42 -0
  27. package/dist/less/breakpoints/global.less +5 -0
  28. package/dist/less/colors/semantic/hex.less +76 -76
  29. package/dist/less/colors/semantic/hsl.less +76 -76
  30. package/dist/less/colors/semantic/oklch.less +76 -76
  31. package/dist/less/colors/semantic/rgb.less +76 -76
  32. package/dist/less/colors/themes/masterbrand/hex.less +57 -57
  33. package/dist/less/colors/themes/masterbrand/hsl.less +57 -57
  34. package/dist/less/colors/themes/masterbrand/oklch.less +57 -57
  35. package/dist/less/colors/themes/masterbrand/rgb.less +57 -57
  36. package/dist/less/radius/global.less +5 -0
  37. package/dist/less/space/global.less +12 -0
  38. package/dist/less/typography/global.less +30 -0
  39. package/dist/scss/breakpoints/global.scss +5 -0
  40. package/dist/scss/colors/semantic/hex.scss +76 -76
  41. package/dist/scss/colors/semantic/hsl.scss +76 -76
  42. package/dist/scss/colors/semantic/oklch.scss +76 -76
  43. package/dist/scss/colors/semantic/rgb.scss +76 -76
  44. package/dist/scss/colors/themes/masterbrand/hex.scss +57 -57
  45. package/dist/scss/colors/themes/masterbrand/hsl.scss +57 -57
  46. package/dist/scss/colors/themes/masterbrand/oklch.scss +57 -57
  47. package/dist/scss/colors/themes/masterbrand/rgb.scss +57 -57
  48. package/dist/scss/radius/global.scss +5 -0
  49. package/dist/scss/space/global.scss +12 -0
  50. package/dist/scss/typography/global.scss +30 -0
  51. package/dist/tailwind/breakpoints/global.css +7 -0
  52. package/dist/tailwind/radius/global.css +7 -0
  53. package/dist/tailwind/space/global.css +14 -0
  54. package/dist/tailwind/typography/global.css +32 -0
  55. package/dist/tokens/breakpoints.base.json +44 -0
  56. package/dist/tokens/global/breakpoints/canonical.json +44 -0
  57. package/dist/tokens/global/radius/canonical.json +44 -0
  58. package/dist/tokens/global/space/canonical.json +100 -0
  59. package/dist/tokens/global/typography/canonical.json +240 -0
  60. package/dist/tokens/radius.base.json +44 -0
  61. package/dist/tokens/semantic/color/canonical.json +76 -0
  62. package/dist/tokens/semantic/color/hex.json +76 -0
  63. package/dist/tokens/semantic/color/hsl.json +76 -0
  64. package/dist/tokens/semantic/color/oklch.json +76 -0
  65. package/dist/tokens/semantic/color/rgb.json +76 -0
  66. package/dist/tokens/space.base.json +100 -0
  67. package/dist/tokens/themes/color/masterbrand/canonical.json +57 -0
  68. package/dist/tokens/themes/color/masterbrand/hex.json +57 -0
  69. package/dist/tokens/themes/color/masterbrand/hsl.json +57 -0
  70. package/dist/tokens/themes/color/masterbrand/oklch.json +57 -0
  71. package/dist/tokens/themes/color/masterbrand/rgb.json +57 -0
  72. package/dist/tokens/typography.base.json +240 -0
  73. package/dist/ts/breakpoints/global.ts +7 -0
  74. package/dist/ts/radius/global.ts +7 -0
  75. package/dist/ts/space/global.ts +14 -0
  76. package/dist/ts/typography/global.ts +42 -0
  77. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -94,6 +94,22 @@ 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
+
109
+ declare namespace typographyCssGlobal {
110
+ export { };
111
+ }
112
+
97
113
  declare const nswGrey$7: {
98
114
  50: string;
99
115
  100: string;
@@ -3722,6 +3738,95 @@ declare namespace dataVisualisationJsRgb {
3722
3738
  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
3739
  }
3724
3740
 
3741
+ declare const space$1: {
3742
+ 0: string;
3743
+ 1: string;
3744
+ 2: string;
3745
+ 3: string;
3746
+ 4: string;
3747
+ 5: string;
3748
+ 6: string;
3749
+ 8: string;
3750
+ 10: string;
3751
+ 12: string;
3752
+ 14: string;
3753
+ 16: string;
3754
+ };
3755
+
3756
+ declare namespace spaceJsGlobal {
3757
+ export { space$1 as space };
3758
+ }
3759
+
3760
+ declare namespace radius$1 {
3761
+ let none: string;
3762
+ let sm: string;
3763
+ let md: string;
3764
+ let lg: string;
3765
+ let pill: string;
3766
+ }
3767
+
3768
+ declare namespace radiusJsGlobal {
3769
+ export { radius$1 as radius };
3770
+ }
3771
+
3772
+ declare namespace breakpoint$1 {
3773
+ let xs: string;
3774
+ let sm: string;
3775
+ let md: string;
3776
+ let lg: string;
3777
+ let xl: string;
3778
+ }
3779
+
3780
+ declare namespace breakpointsJsGlobal {
3781
+ export { breakpoint$1 as breakpoint };
3782
+ }
3783
+
3784
+ declare namespace fontFamily$1 {
3785
+ let sans: string;
3786
+ let display: string;
3787
+ let system: string;
3788
+ let mono: string;
3789
+ }
3790
+ declare const fontSize$1: {
3791
+ 12: string;
3792
+ 14: string;
3793
+ 16: string;
3794
+ 18: string;
3795
+ 20: string;
3796
+ 22: string;
3797
+ 24: string;
3798
+ 30: string;
3799
+ 36: string;
3800
+ 48: string;
3801
+ 56: string;
3802
+ 64: string;
3803
+ };
3804
+ declare namespace fontWeight$1 {
3805
+ let light: number;
3806
+ let regular: number;
3807
+ let medium: number;
3808
+ let semibold: number;
3809
+ let bold: number;
3810
+ }
3811
+ declare namespace lineHeight$1 {
3812
+ let none: number;
3813
+ let tight: number;
3814
+ let snug: number;
3815
+ let base: number;
3816
+ let relaxed: number;
3817
+ let loose: number;
3818
+ }
3819
+ declare namespace letterSpacing$1 {
3820
+ let tight_1: string;
3821
+ export { tight_1 as tight };
3822
+ export let normal: string;
3823
+ export let wide: string;
3824
+ }
3825
+
3826
+ declare namespace typographyJsGlobal {
3827
+ export { fontFamily$1 as fontFamily, fontSize$1 as fontSize, fontWeight$1 as fontWeight, letterSpacing$1 as letterSpacing, lineHeight$1 as lineHeight };
3828
+ }
3829
+
3725
3830
  declare namespace globalLessHex {
3726
3831
  export { };
3727
3832
  }
@@ -3818,6 +3923,22 @@ declare namespace dataVisualisationLessRgb {
3818
3923
  export { };
3819
3924
  }
3820
3925
 
3926
+ declare namespace spaceLessGlobal {
3927
+ export { };
3928
+ }
3929
+
3930
+ declare namespace radiusLessGlobal {
3931
+ export { };
3932
+ }
3933
+
3934
+ declare namespace breakpointsLessGlobal {
3935
+ export { };
3936
+ }
3937
+
3938
+ declare namespace typographyLessGlobal {
3939
+ export { };
3940
+ }
3941
+
3821
3942
  declare namespace globalScssHex {
3822
3943
  export { };
3823
3944
  }
@@ -3914,6 +4035,22 @@ declare namespace dataVisualisationScssRgb {
3914
4035
  export { };
3915
4036
  }
3916
4037
 
4038
+ declare namespace spaceScssGlobal {
4039
+ export { };
4040
+ }
4041
+
4042
+ declare namespace radiusScssGlobal {
4043
+ export { };
4044
+ }
4045
+
4046
+ declare namespace breakpointsScssGlobal {
4047
+ export { };
4048
+ }
4049
+
4050
+ declare namespace typographyScssGlobal {
4051
+ export { };
4052
+ }
4053
+
3917
4054
  declare namespace globalTailwindHex {
3918
4055
  export { };
3919
4056
  }
@@ -4010,6 +4147,22 @@ declare namespace dataVisualisationTailwindRgb {
4010
4147
  export { };
4011
4148
  }
4012
4149
 
4150
+ declare namespace spaceTailwindGlobal {
4151
+ export { };
4152
+ }
4153
+
4154
+ declare namespace radiusTailwindGlobal {
4155
+ export { };
4156
+ }
4157
+
4158
+ declare namespace breakpointsTailwindGlobal {
4159
+ export { };
4160
+ }
4161
+
4162
+ declare namespace typographyTailwindGlobal {
4163
+ export { };
4164
+ }
4165
+
4013
4166
  declare const nswGrey$3: {
4014
4167
  '50': string;
4015
4168
  '100': string;
@@ -7673,6 +7826,102 @@ declare namespace dataVisualisationTsRgb {
7673
7826
  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
7827
  }
7675
7828
 
7829
+ declare const space: {
7830
+ '0': string;
7831
+ '1': string;
7832
+ '2': string;
7833
+ '3': string;
7834
+ '4': string;
7835
+ '5': string;
7836
+ '6': string;
7837
+ '8': string;
7838
+ '10': string;
7839
+ '12': string;
7840
+ '14': string;
7841
+ '16': string;
7842
+ };
7843
+
7844
+ declare const spaceTsGlobal_space: typeof space;
7845
+ declare namespace spaceTsGlobal {
7846
+ export { spaceTsGlobal_space as space };
7847
+ }
7848
+
7849
+ declare const radius: {
7850
+ none: string;
7851
+ sm: string;
7852
+ md: string;
7853
+ lg: string;
7854
+ pill: string;
7855
+ };
7856
+
7857
+ declare const radiusTsGlobal_radius: typeof radius;
7858
+ declare namespace radiusTsGlobal {
7859
+ export { radiusTsGlobal_radius as radius };
7860
+ }
7861
+
7862
+ declare const breakpoint: {
7863
+ xs: string;
7864
+ sm: string;
7865
+ md: string;
7866
+ lg: string;
7867
+ xl: string;
7868
+ };
7869
+
7870
+ declare const breakpointsTsGlobal_breakpoint: typeof breakpoint;
7871
+ declare namespace breakpointsTsGlobal {
7872
+ export { breakpointsTsGlobal_breakpoint as breakpoint };
7873
+ }
7874
+
7875
+ declare const fontFamily: {
7876
+ sans: string;
7877
+ display: string;
7878
+ system: string;
7879
+ mono: string;
7880
+ };
7881
+ declare const fontSize: {
7882
+ '12': string;
7883
+ '14': string;
7884
+ '16': string;
7885
+ '18': string;
7886
+ '20': string;
7887
+ '22': string;
7888
+ '24': string;
7889
+ '30': string;
7890
+ '36': string;
7891
+ '48': string;
7892
+ '56': string;
7893
+ '64': string;
7894
+ };
7895
+ declare const fontWeight: {
7896
+ light: number;
7897
+ regular: number;
7898
+ medium: number;
7899
+ semibold: number;
7900
+ bold: number;
7901
+ };
7902
+ declare const lineHeight: {
7903
+ none: number;
7904
+ tight: number;
7905
+ snug: number;
7906
+ base: number;
7907
+ relaxed: number;
7908
+ loose: number;
7909
+ };
7910
+ declare const letterSpacing: {
7911
+ tight: string;
7912
+ normal: string;
7913
+ wide: string;
7914
+ };
7915
+
7916
+ declare const typographyTsGlobal_fontFamily: typeof fontFamily;
7917
+ declare const typographyTsGlobal_fontSize: typeof fontSize;
7918
+ declare const typographyTsGlobal_fontWeight: typeof fontWeight;
7919
+ declare const typographyTsGlobal_letterSpacing: typeof letterSpacing;
7920
+ declare const typographyTsGlobal_lineHeight: typeof lineHeight;
7921
+ declare namespace typographyTsGlobal {
7922
+ export { typographyTsGlobal_fontFamily as fontFamily, typographyTsGlobal_fontSize as fontSize, typographyTsGlobal_fontWeight as fontWeight, typographyTsGlobal_letterSpacing as letterSpacing, typographyTsGlobal_lineHeight as lineHeight };
7923
+ }
7924
+
7676
7925
  declare const tokens: {
7677
7926
  colors: {
7678
7927
  global: {
@@ -7753,6 +8002,18 @@ declare const tokens: {
7753
8002
  rgb: typeof dataVisualisationCssRgb;
7754
8003
  };
7755
8004
  };
8005
+ space: {
8006
+ global: typeof spaceCssGlobal;
8007
+ };
8008
+ radius: {
8009
+ global: typeof radiusCssGlobal;
8010
+ };
8011
+ breakpoints: {
8012
+ global: typeof breakpointsCssGlobal;
8013
+ };
8014
+ typography: {
8015
+ global: typeof typographyCssGlobal;
8016
+ };
7756
8017
  };
7757
8018
  js: {
7758
8019
  global: {
@@ -7793,6 +8054,18 @@ declare const tokens: {
7793
8054
  rgb: typeof dataVisualisationJsRgb;
7794
8055
  };
7795
8056
  };
8057
+ space: {
8058
+ global: typeof spaceJsGlobal;
8059
+ };
8060
+ radius: {
8061
+ global: typeof radiusJsGlobal;
8062
+ };
8063
+ breakpoints: {
8064
+ global: typeof breakpointsJsGlobal;
8065
+ };
8066
+ typography: {
8067
+ global: typeof typographyJsGlobal;
8068
+ };
7796
8069
  };
7797
8070
  json: {
7798
8071
  global: {
@@ -7833,6 +8106,18 @@ declare const tokens: {
7833
8106
  rgb: any;
7834
8107
  };
7835
8108
  };
8109
+ space: {
8110
+ global: any;
8111
+ };
8112
+ radius: {
8113
+ global: any;
8114
+ };
8115
+ breakpoints: {
8116
+ global: any;
8117
+ };
8118
+ typography: {
8119
+ global: any;
8120
+ };
7836
8121
  };
7837
8122
  less: {
7838
8123
  global: {
@@ -7873,6 +8158,18 @@ declare const tokens: {
7873
8158
  rgb: typeof dataVisualisationLessRgb;
7874
8159
  };
7875
8160
  };
8161
+ space: {
8162
+ global: typeof spaceLessGlobal;
8163
+ };
8164
+ radius: {
8165
+ global: typeof radiusLessGlobal;
8166
+ };
8167
+ breakpoints: {
8168
+ global: typeof breakpointsLessGlobal;
8169
+ };
8170
+ typography: {
8171
+ global: typeof typographyLessGlobal;
8172
+ };
7876
8173
  };
7877
8174
  scss: {
7878
8175
  global: {
@@ -7913,6 +8210,18 @@ declare const tokens: {
7913
8210
  rgb: typeof dataVisualisationScssRgb;
7914
8211
  };
7915
8212
  };
8213
+ space: {
8214
+ global: typeof spaceScssGlobal;
8215
+ };
8216
+ radius: {
8217
+ global: typeof radiusScssGlobal;
8218
+ };
8219
+ breakpoints: {
8220
+ global: typeof breakpointsScssGlobal;
8221
+ };
8222
+ typography: {
8223
+ global: typeof typographyScssGlobal;
8224
+ };
7916
8225
  };
7917
8226
  tailwind: {
7918
8227
  global: {
@@ -7953,6 +8262,18 @@ declare const tokens: {
7953
8262
  rgb: typeof dataVisualisationTailwindRgb;
7954
8263
  };
7955
8264
  };
8265
+ space: {
8266
+ global: typeof spaceTailwindGlobal;
8267
+ };
8268
+ radius: {
8269
+ global: typeof radiusTailwindGlobal;
8270
+ };
8271
+ breakpoints: {
8272
+ global: typeof breakpointsTailwindGlobal;
8273
+ };
8274
+ typography: {
8275
+ global: typeof typographyTailwindGlobal;
8276
+ };
7956
8277
  };
7957
8278
  ts: {
7958
8279
  global: {
@@ -7993,6 +8314,18 @@ declare const tokens: {
7993
8314
  rgb: typeof dataVisualisationTsRgb;
7994
8315
  };
7995
8316
  };
8317
+ space: {
8318
+ global: typeof spaceTsGlobal;
8319
+ };
8320
+ radius: {
8321
+ global: typeof radiusTsGlobal;
8322
+ };
8323
+ breakpoints: {
8324
+ global: typeof breakpointsTsGlobal;
8325
+ };
8326
+ typography: {
8327
+ global: typeof typographyTsGlobal;
8328
+ };
7996
8329
  };
7997
8330
  };
7998
8331
  declare const colorTokens: {
@@ -8074,6 +8407,18 @@ declare const cssTokens: {
8074
8407
  rgb: typeof dataVisualisationCssRgb;
8075
8408
  };
8076
8409
  };
8410
+ space: {
8411
+ global: typeof spaceCssGlobal;
8412
+ };
8413
+ radius: {
8414
+ global: typeof radiusCssGlobal;
8415
+ };
8416
+ breakpoints: {
8417
+ global: typeof breakpointsCssGlobal;
8418
+ };
8419
+ typography: {
8420
+ global: typeof typographyCssGlobal;
8421
+ };
8077
8422
  };
8078
8423
  declare const jsTokens: {
8079
8424
  global: {
@@ -8114,6 +8459,18 @@ declare const jsTokens: {
8114
8459
  rgb: typeof dataVisualisationJsRgb;
8115
8460
  };
8116
8461
  };
8462
+ space: {
8463
+ global: typeof spaceJsGlobal;
8464
+ };
8465
+ radius: {
8466
+ global: typeof radiusJsGlobal;
8467
+ };
8468
+ breakpoints: {
8469
+ global: typeof breakpointsJsGlobal;
8470
+ };
8471
+ typography: {
8472
+ global: typeof typographyJsGlobal;
8473
+ };
8117
8474
  };
8118
8475
  declare const jsonTokens: {
8119
8476
  global: {
@@ -8154,6 +8511,18 @@ declare const jsonTokens: {
8154
8511
  rgb: any;
8155
8512
  };
8156
8513
  };
8514
+ space: {
8515
+ global: any;
8516
+ };
8517
+ radius: {
8518
+ global: any;
8519
+ };
8520
+ breakpoints: {
8521
+ global: any;
8522
+ };
8523
+ typography: {
8524
+ global: any;
8525
+ };
8157
8526
  };
8158
8527
  declare const lessTokens: {
8159
8528
  global: {
@@ -8194,6 +8563,18 @@ declare const lessTokens: {
8194
8563
  rgb: typeof dataVisualisationLessRgb;
8195
8564
  };
8196
8565
  };
8566
+ space: {
8567
+ global: typeof spaceLessGlobal;
8568
+ };
8569
+ radius: {
8570
+ global: typeof radiusLessGlobal;
8571
+ };
8572
+ breakpoints: {
8573
+ global: typeof breakpointsLessGlobal;
8574
+ };
8575
+ typography: {
8576
+ global: typeof typographyLessGlobal;
8577
+ };
8197
8578
  };
8198
8579
  declare const scssTokens: {
8199
8580
  global: {
@@ -8234,6 +8615,18 @@ declare const scssTokens: {
8234
8615
  rgb: typeof dataVisualisationScssRgb;
8235
8616
  };
8236
8617
  };
8618
+ space: {
8619
+ global: typeof spaceScssGlobal;
8620
+ };
8621
+ radius: {
8622
+ global: typeof radiusScssGlobal;
8623
+ };
8624
+ breakpoints: {
8625
+ global: typeof breakpointsScssGlobal;
8626
+ };
8627
+ typography: {
8628
+ global: typeof typographyScssGlobal;
8629
+ };
8237
8630
  };
8238
8631
  declare const tailwindTokens: {
8239
8632
  global: {
@@ -8274,6 +8667,18 @@ declare const tailwindTokens: {
8274
8667
  rgb: typeof dataVisualisationTailwindRgb;
8275
8668
  };
8276
8669
  };
8670
+ space: {
8671
+ global: typeof spaceTailwindGlobal;
8672
+ };
8673
+ radius: {
8674
+ global: typeof radiusTailwindGlobal;
8675
+ };
8676
+ breakpoints: {
8677
+ global: typeof breakpointsTailwindGlobal;
8678
+ };
8679
+ typography: {
8680
+ global: typeof typographyTailwindGlobal;
8681
+ };
8277
8682
  };
8278
8683
  declare const tsTokens: {
8279
8684
  global: {
@@ -8314,6 +8719,18 @@ declare const tsTokens: {
8314
8719
  rgb: typeof dataVisualisationTsRgb;
8315
8720
  };
8316
8721
  };
8722
+ space: {
8723
+ global: typeof spaceTsGlobal;
8724
+ };
8725
+ radius: {
8726
+ global: typeof radiusTsGlobal;
8727
+ };
8728
+ breakpoints: {
8729
+ global: typeof breakpointsTsGlobal;
8730
+ };
8731
+ typography: {
8732
+ global: typeof typographyTsGlobal;
8733
+ };
8317
8734
  };
8318
8735
  declare const brand: {
8319
8736
  iconDark: {