@nswds/tokens 3.1.0 → 3.3.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.
package/dist/index.d.ts CHANGED
@@ -106,6 +106,14 @@ declare namespace breakpointsCssGlobal {
106
106
  export { };
107
107
  }
108
108
 
109
+ declare namespace typographyCssGlobal {
110
+ export { };
111
+ }
112
+
113
+ declare namespace typographyCssSemantic {
114
+ export { };
115
+ }
116
+
109
117
  declare const nswGrey$7: {
110
118
  50: string;
111
119
  100: string;
@@ -3777,6 +3785,161 @@ declare namespace breakpointsJsGlobal {
3777
3785
  export { breakpoint$1 as breakpoint };
3778
3786
  }
3779
3787
 
3788
+ declare namespace fontFamily$1 {
3789
+ let sans: string;
3790
+ let display: string;
3791
+ let system: string;
3792
+ let mono: string;
3793
+ }
3794
+ declare const fontSize$1: {
3795
+ 12: string;
3796
+ 14: string;
3797
+ 16: string;
3798
+ 18: string;
3799
+ 20: string;
3800
+ 22: string;
3801
+ 24: string;
3802
+ 30: string;
3803
+ 36: string;
3804
+ 48: string;
3805
+ 56: string;
3806
+ 64: string;
3807
+ };
3808
+ declare namespace fontWeight$1 {
3809
+ let light: number;
3810
+ let regular: number;
3811
+ let medium: number;
3812
+ let semibold: number;
3813
+ let bold: number;
3814
+ let extrabold: number;
3815
+ }
3816
+ declare namespace lineHeight$1 {
3817
+ let none: number;
3818
+ let tight: number;
3819
+ let snug: number;
3820
+ let base: number;
3821
+ let relaxed: number;
3822
+ let loose: number;
3823
+ }
3824
+ declare namespace letterSpacing$1 {
3825
+ let tight_1: string;
3826
+ export { tight_1 as tight };
3827
+ export let normal: string;
3828
+ export let wide: string;
3829
+ }
3830
+
3831
+ declare namespace typographyJsGlobal {
3832
+ export { fontFamily$1 as fontFamily, fontSize$1 as fontSize, fontWeight$1 as fontWeight, letterSpacing$1 as letterSpacing, lineHeight$1 as lineHeight };
3833
+ }
3834
+
3835
+ declare namespace heading1$1 {
3836
+ let fontFamily: string;
3837
+ let fontSize: string;
3838
+ let fontWeight: number;
3839
+ let lineHeight: number;
3840
+ let letterSpacing: string;
3841
+ }
3842
+ declare namespace heading2$1 {
3843
+ let fontFamily_1: string;
3844
+ export { fontFamily_1 as fontFamily };
3845
+ let fontSize_1: string;
3846
+ export { fontSize_1 as fontSize };
3847
+ let fontWeight_1: number;
3848
+ export { fontWeight_1 as fontWeight };
3849
+ let lineHeight_1: number;
3850
+ export { lineHeight_1 as lineHeight };
3851
+ let letterSpacing_1: string;
3852
+ export { letterSpacing_1 as letterSpacing };
3853
+ }
3854
+ declare namespace heading3$1 {
3855
+ let fontFamily_2: string;
3856
+ export { fontFamily_2 as fontFamily };
3857
+ let fontSize_2: string;
3858
+ export { fontSize_2 as fontSize };
3859
+ let fontWeight_2: number;
3860
+ export { fontWeight_2 as fontWeight };
3861
+ let lineHeight_2: number;
3862
+ export { lineHeight_2 as lineHeight };
3863
+ let letterSpacing_2: string;
3864
+ export { letterSpacing_2 as letterSpacing };
3865
+ }
3866
+ declare namespace heading4$1 {
3867
+ let fontFamily_3: string;
3868
+ export { fontFamily_3 as fontFamily };
3869
+ let fontSize_3: string;
3870
+ export { fontSize_3 as fontSize };
3871
+ let fontWeight_3: number;
3872
+ export { fontWeight_3 as fontWeight };
3873
+ let lineHeight_3: number;
3874
+ export { lineHeight_3 as lineHeight };
3875
+ let letterSpacing_3: string;
3876
+ export { letterSpacing_3 as letterSpacing };
3877
+ }
3878
+ declare namespace body$1 {
3879
+ let fontFamily_4: string;
3880
+ export { fontFamily_4 as fontFamily };
3881
+ let fontSize_4: string;
3882
+ export { fontSize_4 as fontSize };
3883
+ let fontWeight_4: number;
3884
+ export { fontWeight_4 as fontWeight };
3885
+ let lineHeight_4: number;
3886
+ export { lineHeight_4 as lineHeight };
3887
+ let letterSpacing_4: string;
3888
+ export { letterSpacing_4 as letterSpacing };
3889
+ }
3890
+ declare namespace bodySm$1 {
3891
+ let fontFamily_5: string;
3892
+ export { fontFamily_5 as fontFamily };
3893
+ let fontSize_5: string;
3894
+ export { fontSize_5 as fontSize };
3895
+ let fontWeight_5: number;
3896
+ export { fontWeight_5 as fontWeight };
3897
+ let lineHeight_5: number;
3898
+ export { lineHeight_5 as lineHeight };
3899
+ let letterSpacing_5: string;
3900
+ export { letterSpacing_5 as letterSpacing };
3901
+ }
3902
+ declare namespace lead$1 {
3903
+ let fontFamily_6: string;
3904
+ export { fontFamily_6 as fontFamily };
3905
+ let fontSize_6: string;
3906
+ export { fontSize_6 as fontSize };
3907
+ let fontWeight_6: number;
3908
+ export { fontWeight_6 as fontWeight };
3909
+ let lineHeight_6: number;
3910
+ export { lineHeight_6 as lineHeight };
3911
+ let letterSpacing_6: string;
3912
+ export { letterSpacing_6 as letterSpacing };
3913
+ }
3914
+ declare namespace caption$1 {
3915
+ let fontFamily_7: string;
3916
+ export { fontFamily_7 as fontFamily };
3917
+ let fontSize_7: string;
3918
+ export { fontSize_7 as fontSize };
3919
+ let fontWeight_7: number;
3920
+ export { fontWeight_7 as fontWeight };
3921
+ let lineHeight_7: number;
3922
+ export { lineHeight_7 as lineHeight };
3923
+ let letterSpacing_7: string;
3924
+ export { letterSpacing_7 as letterSpacing };
3925
+ }
3926
+ declare namespace code$1 {
3927
+ let fontFamily_8: string;
3928
+ export { fontFamily_8 as fontFamily };
3929
+ let fontSize_8: string;
3930
+ export { fontSize_8 as fontSize };
3931
+ let fontWeight_8: number;
3932
+ export { fontWeight_8 as fontWeight };
3933
+ let lineHeight_8: number;
3934
+ export { lineHeight_8 as lineHeight };
3935
+ let letterSpacing_8: string;
3936
+ export { letterSpacing_8 as letterSpacing };
3937
+ }
3938
+
3939
+ declare namespace typographyJsSemantic {
3940
+ export { body$1 as body, bodySm$1 as bodySm, caption$1 as caption, code$1 as code, heading1$1 as heading1, heading2$1 as heading2, heading3$1 as heading3, heading4$1 as heading4, lead$1 as lead };
3941
+ }
3942
+
3780
3943
  declare namespace globalLessHex {
3781
3944
  export { };
3782
3945
  }
@@ -3885,6 +4048,14 @@ declare namespace breakpointsLessGlobal {
3885
4048
  export { };
3886
4049
  }
3887
4050
 
4051
+ declare namespace typographyLessGlobal {
4052
+ export { };
4053
+ }
4054
+
4055
+ declare namespace typographyLessSemantic {
4056
+ export { };
4057
+ }
4058
+
3888
4059
  declare namespace globalScssHex {
3889
4060
  export { };
3890
4061
  }
@@ -3993,6 +4164,14 @@ declare namespace breakpointsScssGlobal {
3993
4164
  export { };
3994
4165
  }
3995
4166
 
4167
+ declare namespace typographyScssGlobal {
4168
+ export { };
4169
+ }
4170
+
4171
+ declare namespace typographyScssSemantic {
4172
+ export { };
4173
+ }
4174
+
3996
4175
  declare namespace globalTailwindHex {
3997
4176
  export { };
3998
4177
  }
@@ -4101,6 +4280,10 @@ declare namespace breakpointsTailwindGlobal {
4101
4280
  export { };
4102
4281
  }
4103
4282
 
4283
+ declare namespace typographyTailwindGlobal {
4284
+ export { };
4285
+ }
4286
+
4104
4287
  declare const nswGrey$3: {
4105
4288
  '50': string;
4106
4289
  '100': string;
@@ -7810,6 +7993,134 @@ declare namespace breakpointsTsGlobal {
7810
7993
  export { breakpointsTsGlobal_breakpoint as breakpoint };
7811
7994
  }
7812
7995
 
7996
+ declare const fontFamily: {
7997
+ sans: string;
7998
+ display: string;
7999
+ system: string;
8000
+ mono: string;
8001
+ };
8002
+ declare const fontSize: {
8003
+ '12': string;
8004
+ '14': string;
8005
+ '16': string;
8006
+ '18': string;
8007
+ '20': string;
8008
+ '22': string;
8009
+ '24': string;
8010
+ '30': string;
8011
+ '36': string;
8012
+ '48': string;
8013
+ '56': string;
8014
+ '64': string;
8015
+ };
8016
+ declare const fontWeight: {
8017
+ light: number;
8018
+ regular: number;
8019
+ medium: number;
8020
+ semibold: number;
8021
+ bold: number;
8022
+ extrabold: number;
8023
+ };
8024
+ declare const lineHeight: {
8025
+ none: number;
8026
+ tight: number;
8027
+ snug: number;
8028
+ base: number;
8029
+ relaxed: number;
8030
+ loose: number;
8031
+ };
8032
+ declare const letterSpacing: {
8033
+ tight: string;
8034
+ normal: string;
8035
+ wide: string;
8036
+ };
8037
+
8038
+ declare const typographyTsGlobal_fontFamily: typeof fontFamily;
8039
+ declare const typographyTsGlobal_fontSize: typeof fontSize;
8040
+ declare const typographyTsGlobal_fontWeight: typeof fontWeight;
8041
+ declare const typographyTsGlobal_letterSpacing: typeof letterSpacing;
8042
+ declare const typographyTsGlobal_lineHeight: typeof lineHeight;
8043
+ declare namespace typographyTsGlobal {
8044
+ export { typographyTsGlobal_fontFamily as fontFamily, typographyTsGlobal_fontSize as fontSize, typographyTsGlobal_fontWeight as fontWeight, typographyTsGlobal_letterSpacing as letterSpacing, typographyTsGlobal_lineHeight as lineHeight };
8045
+ }
8046
+
8047
+ declare const heading1: {
8048
+ fontFamily: string;
8049
+ fontSize: string;
8050
+ fontWeight: number;
8051
+ lineHeight: number;
8052
+ letterSpacing: string;
8053
+ };
8054
+ declare const heading2: {
8055
+ fontFamily: string;
8056
+ fontSize: string;
8057
+ fontWeight: number;
8058
+ lineHeight: number;
8059
+ letterSpacing: string;
8060
+ };
8061
+ declare const heading3: {
8062
+ fontFamily: string;
8063
+ fontSize: string;
8064
+ fontWeight: number;
8065
+ lineHeight: number;
8066
+ letterSpacing: string;
8067
+ };
8068
+ declare const heading4: {
8069
+ fontFamily: string;
8070
+ fontSize: string;
8071
+ fontWeight: number;
8072
+ lineHeight: number;
8073
+ letterSpacing: string;
8074
+ };
8075
+ declare const body: {
8076
+ fontFamily: string;
8077
+ fontSize: string;
8078
+ fontWeight: number;
8079
+ lineHeight: number;
8080
+ letterSpacing: string;
8081
+ };
8082
+ declare const bodySm: {
8083
+ fontFamily: string;
8084
+ fontSize: string;
8085
+ fontWeight: number;
8086
+ lineHeight: number;
8087
+ letterSpacing: string;
8088
+ };
8089
+ declare const lead: {
8090
+ fontFamily: string;
8091
+ fontSize: string;
8092
+ fontWeight: number;
8093
+ lineHeight: number;
8094
+ letterSpacing: string;
8095
+ };
8096
+ declare const caption: {
8097
+ fontFamily: string;
8098
+ fontSize: string;
8099
+ fontWeight: number;
8100
+ lineHeight: number;
8101
+ letterSpacing: string;
8102
+ };
8103
+ declare const code: {
8104
+ fontFamily: string;
8105
+ fontSize: string;
8106
+ fontWeight: number;
8107
+ lineHeight: number;
8108
+ letterSpacing: string;
8109
+ };
8110
+
8111
+ declare const typographyTsSemantic_body: typeof body;
8112
+ declare const typographyTsSemantic_bodySm: typeof bodySm;
8113
+ declare const typographyTsSemantic_caption: typeof caption;
8114
+ declare const typographyTsSemantic_code: typeof code;
8115
+ declare const typographyTsSemantic_heading1: typeof heading1;
8116
+ declare const typographyTsSemantic_heading2: typeof heading2;
8117
+ declare const typographyTsSemantic_heading3: typeof heading3;
8118
+ declare const typographyTsSemantic_heading4: typeof heading4;
8119
+ declare const typographyTsSemantic_lead: typeof lead;
8120
+ declare namespace typographyTsSemantic {
8121
+ export { typographyTsSemantic_body as body, typographyTsSemantic_bodySm as bodySm, typographyTsSemantic_caption as caption, typographyTsSemantic_code as code, typographyTsSemantic_heading1 as heading1, typographyTsSemantic_heading2 as heading2, typographyTsSemantic_heading3 as heading3, typographyTsSemantic_heading4 as heading4, typographyTsSemantic_lead as lead };
8122
+ }
8123
+
7813
8124
  declare const tokens: {
7814
8125
  colors: {
7815
8126
  global: {
@@ -7899,6 +8210,10 @@ declare const tokens: {
7899
8210
  breakpoints: {
7900
8211
  global: typeof breakpointsCssGlobal;
7901
8212
  };
8213
+ typography: {
8214
+ global: typeof typographyCssGlobal;
8215
+ semantic: typeof typographyCssSemantic;
8216
+ };
7902
8217
  };
7903
8218
  js: {
7904
8219
  global: {
@@ -7948,6 +8263,10 @@ declare const tokens: {
7948
8263
  breakpoints: {
7949
8264
  global: typeof breakpointsJsGlobal;
7950
8265
  };
8266
+ typography: {
8267
+ global: typeof typographyJsGlobal;
8268
+ semantic: typeof typographyJsSemantic;
8269
+ };
7951
8270
  };
7952
8271
  json: {
7953
8272
  global: {
@@ -7997,6 +8316,10 @@ declare const tokens: {
7997
8316
  breakpoints: {
7998
8317
  global: any;
7999
8318
  };
8319
+ typography: {
8320
+ global: any;
8321
+ semantic: any;
8322
+ };
8000
8323
  };
8001
8324
  less: {
8002
8325
  global: {
@@ -8046,6 +8369,10 @@ declare const tokens: {
8046
8369
  breakpoints: {
8047
8370
  global: typeof breakpointsLessGlobal;
8048
8371
  };
8372
+ typography: {
8373
+ global: typeof typographyLessGlobal;
8374
+ semantic: typeof typographyLessSemantic;
8375
+ };
8049
8376
  };
8050
8377
  scss: {
8051
8378
  global: {
@@ -8095,6 +8422,10 @@ declare const tokens: {
8095
8422
  breakpoints: {
8096
8423
  global: typeof breakpointsScssGlobal;
8097
8424
  };
8425
+ typography: {
8426
+ global: typeof typographyScssGlobal;
8427
+ semantic: typeof typographyScssSemantic;
8428
+ };
8098
8429
  };
8099
8430
  tailwind: {
8100
8431
  global: {
@@ -8144,6 +8475,9 @@ declare const tokens: {
8144
8475
  breakpoints: {
8145
8476
  global: typeof breakpointsTailwindGlobal;
8146
8477
  };
8478
+ typography: {
8479
+ global: typeof typographyTailwindGlobal;
8480
+ };
8147
8481
  };
8148
8482
  ts: {
8149
8483
  global: {
@@ -8193,6 +8527,10 @@ declare const tokens: {
8193
8527
  breakpoints: {
8194
8528
  global: typeof breakpointsTsGlobal;
8195
8529
  };
8530
+ typography: {
8531
+ global: typeof typographyTsGlobal;
8532
+ semantic: typeof typographyTsSemantic;
8533
+ };
8196
8534
  };
8197
8535
  };
8198
8536
  declare const colorTokens: {
@@ -8283,6 +8621,10 @@ declare const cssTokens: {
8283
8621
  breakpoints: {
8284
8622
  global: typeof breakpointsCssGlobal;
8285
8623
  };
8624
+ typography: {
8625
+ global: typeof typographyCssGlobal;
8626
+ semantic: typeof typographyCssSemantic;
8627
+ };
8286
8628
  };
8287
8629
  declare const jsTokens: {
8288
8630
  global: {
@@ -8332,6 +8674,10 @@ declare const jsTokens: {
8332
8674
  breakpoints: {
8333
8675
  global: typeof breakpointsJsGlobal;
8334
8676
  };
8677
+ typography: {
8678
+ global: typeof typographyJsGlobal;
8679
+ semantic: typeof typographyJsSemantic;
8680
+ };
8335
8681
  };
8336
8682
  declare const jsonTokens: {
8337
8683
  global: {
@@ -8381,6 +8727,10 @@ declare const jsonTokens: {
8381
8727
  breakpoints: {
8382
8728
  global: any;
8383
8729
  };
8730
+ typography: {
8731
+ global: any;
8732
+ semantic: any;
8733
+ };
8384
8734
  };
8385
8735
  declare const lessTokens: {
8386
8736
  global: {
@@ -8430,6 +8780,10 @@ declare const lessTokens: {
8430
8780
  breakpoints: {
8431
8781
  global: typeof breakpointsLessGlobal;
8432
8782
  };
8783
+ typography: {
8784
+ global: typeof typographyLessGlobal;
8785
+ semantic: typeof typographyLessSemantic;
8786
+ };
8433
8787
  };
8434
8788
  declare const scssTokens: {
8435
8789
  global: {
@@ -8479,6 +8833,10 @@ declare const scssTokens: {
8479
8833
  breakpoints: {
8480
8834
  global: typeof breakpointsScssGlobal;
8481
8835
  };
8836
+ typography: {
8837
+ global: typeof typographyScssGlobal;
8838
+ semantic: typeof typographyScssSemantic;
8839
+ };
8482
8840
  };
8483
8841
  declare const tailwindTokens: {
8484
8842
  global: {
@@ -8528,6 +8886,9 @@ declare const tailwindTokens: {
8528
8886
  breakpoints: {
8529
8887
  global: typeof breakpointsTailwindGlobal;
8530
8888
  };
8889
+ typography: {
8890
+ global: typeof typographyTailwindGlobal;
8891
+ };
8531
8892
  };
8532
8893
  declare const tsTokens: {
8533
8894
  global: {
@@ -8577,6 +8938,10 @@ declare const tsTokens: {
8577
8938
  breakpoints: {
8578
8939
  global: typeof breakpointsTsGlobal;
8579
8940
  };
8941
+ typography: {
8942
+ global: typeof typographyTsGlobal;
8943
+ semantic: typeof typographyTsSemantic;
8944
+ };
8580
8945
  };
8581
8946
  declare const brand: {
8582
8947
  iconDark: {