@phcdevworks/spectre-tokens 4.13.0 → 4.15.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.cts CHANGED
@@ -1926,6 +1926,11 @@ interface SpectreGeneratedTokens {
1926
1926
  };
1927
1927
  };
1928
1928
  dark: {
1929
+ action: {
1930
+ onPage: string;
1931
+ onSurface: string;
1932
+ rail: string;
1933
+ };
1929
1934
  surface: {
1930
1935
  page: string;
1931
1936
  card: string;
@@ -2787,8 +2792,25 @@ interface SpectreGeneratedTokens {
2787
2792
  grammar: string;
2788
2793
  };
2789
2794
  };
2795
+ link: {
2796
+ default: string;
2797
+ hover: string;
2798
+ active: string;
2799
+ visited: string;
2800
+ underline: string;
2801
+ underlineHover: string;
2802
+ };
2790
2803
  };
2791
2804
  highContrast: {
2805
+ action: {
2806
+ bg: string;
2807
+ bgHover: string;
2808
+ bgActive: string;
2809
+ text: string;
2810
+ onPage: string;
2811
+ onSurface: string;
2812
+ rail: string;
2813
+ };
2792
2814
  surface: {
2793
2815
  page: string;
2794
2816
  card: string;
@@ -4605,6 +4627,21 @@ interface SpectreGeneratedTokens {
4605
4627
  extrabold: number;
4606
4628
  black: number;
4607
4629
  };
4630
+ fontSize: {
4631
+ '12': string;
4632
+ '14': string;
4633
+ '16': string;
4634
+ '18': string;
4635
+ '20': string;
4636
+ '24': string;
4637
+ '30': string;
4638
+ '36': string;
4639
+ '48': string;
4640
+ '60': string;
4641
+ '72': string;
4642
+ '96': string;
4643
+ '128': string;
4644
+ };
4608
4645
  surface: {
4609
4646
  page: string;
4610
4647
  card: string;
@@ -4626,6 +4663,16 @@ interface SpectreGeneratedTokens {
4626
4663
  underline: string;
4627
4664
  underlineHover: string;
4628
4665
  };
4666
+ action: {
4667
+ bg: string;
4668
+ bgHover: string;
4669
+ bgActive: string;
4670
+ text: string;
4671
+ focusRing: string;
4672
+ onPage: string;
4673
+ onSurface: string;
4674
+ rail: string;
4675
+ };
4629
4676
  text: {
4630
4677
  onPage: {
4631
4678
  default: string;
@@ -4841,6 +4888,24 @@ interface SpectreGeneratedTokens {
4841
4888
  weight: number;
4842
4889
  letterSpacing: string;
4843
4890
  };
4891
+ '7xl': {
4892
+ size: string;
4893
+ lineHeight: string;
4894
+ weight: number;
4895
+ letterSpacing: string;
4896
+ };
4897
+ '8xl': {
4898
+ size: string;
4899
+ lineHeight: string;
4900
+ weight: number;
4901
+ letterSpacing: string;
4902
+ };
4903
+ '9xl': {
4904
+ size: string;
4905
+ lineHeight: string;
4906
+ weight: number;
4907
+ letterSpacing: string;
4908
+ };
4844
4909
  };
4845
4910
  typography: {
4846
4911
  families: {
@@ -4909,6 +4974,24 @@ interface SpectreGeneratedTokens {
4909
4974
  fontWeight: number;
4910
4975
  letterSpacing: string;
4911
4976
  };
4977
+ '7xl': {
4978
+ fontSize: string;
4979
+ lineHeight: string;
4980
+ fontWeight: number;
4981
+ letterSpacing: string;
4982
+ };
4983
+ '8xl': {
4984
+ fontSize: string;
4985
+ lineHeight: string;
4986
+ fontWeight: number;
4987
+ letterSpacing: string;
4988
+ };
4989
+ '9xl': {
4990
+ fontSize: string;
4991
+ lineHeight: string;
4992
+ fontWeight: number;
4993
+ letterSpacing: string;
4994
+ };
4912
4995
  };
4913
4996
  heading: {
4914
4997
  h1: {
@@ -5012,6 +5095,46 @@ interface SpectreGeneratedTokens {
5012
5095
  fontWeight: number;
5013
5096
  letterSpacing: string;
5014
5097
  };
5098
+ responsive: {
5099
+ md: {
5100
+ heading: {
5101
+ h1: {
5102
+ fontSize: string;
5103
+ lineHeight: string;
5104
+ };
5105
+ h2: {
5106
+ fontSize: string;
5107
+ lineHeight: string;
5108
+ };
5109
+ h3: {
5110
+ fontSize: string;
5111
+ lineHeight: string;
5112
+ };
5113
+ h4: {
5114
+ fontSize: string;
5115
+ lineHeight: string;
5116
+ };
5117
+ h5: {
5118
+ fontSize: string;
5119
+ lineHeight: string;
5120
+ };
5121
+ };
5122
+ display: {
5123
+ '1': {
5124
+ fontSize: string;
5125
+ lineHeight: string;
5126
+ };
5127
+ '2': {
5128
+ fontSize: string;
5129
+ lineHeight: string;
5130
+ };
5131
+ '3': {
5132
+ fontSize: string;
5133
+ lineHeight: string;
5134
+ };
5135
+ };
5136
+ };
5137
+ };
5015
5138
  };
5016
5139
  }
5017
5140
 
@@ -5039,6 +5162,10 @@ interface TypographyTokens {
5039
5162
  body: TypographyBodyEntry;
5040
5163
  display: Record<string, TypographyRoleEntry>;
5041
5164
  lead: TypographyRoleEntry;
5165
+ responsive: Record<string, {
5166
+ heading?: Record<string, Partial<TypographyRoleEntry>>;
5167
+ display?: Record<string, Partial<TypographyRoleEntry>>;
5168
+ }>;
5042
5169
  }
5043
5170
  interface TransitionTokens {
5044
5171
  duration: TokenScale;
@@ -5341,6 +5468,7 @@ interface SpectreModeTokens {
5341
5468
  invalid?: Record<string, SemanticTokenValue>;
5342
5469
  };
5343
5470
  component: ComponentTokens<SemanticTokenValue>;
5471
+ action?: Record<string, SemanticTokenValue>;
5344
5472
  buttons?: Record<string, Record<string, SemanticTokenValue>>;
5345
5473
  link?: Record<string, SemanticTokenValue>;
5346
5474
  }
@@ -5418,4 +5546,5 @@ declare const generateCssVariables: (tokens: SpectreTokens, options?: CssVariabl
5418
5546
 
5419
5547
  declare const tokens: SpectreTokens;
5420
5548
 
5421
- export { type AccessibilityTokens, type AnimationEntry, type ButtonStateTokens, type ColorScale, type ComponentAccentTokens, type ComponentBadgeTokens, type ComponentFooterTokens, type ComponentIconBoxTokens, type ComponentPricingCardTokens, type ComponentQuoteTokens, type ComponentRatingTokens, type ComponentTestimonialTokens, type ComponentTokens, type ControlSizeTokens, type ControlTokens, type ElevationLevelTokens, type ElevationTokens, type FormStateTokens, type LayoutTokens, type SpectreModeName, type SpectreModeTokens, type SpectreTokens, type TokenScale, type Tokens, type TransitionTokens, type TypographyTokens, tokens as default, generateCssVariables, tokens };
5549
+ export { tokens as default, generateCssVariables, tokens };
5550
+ export type { AccessibilityTokens, AnimationEntry, ButtonStateTokens, ColorScale, ComponentAccentTokens, ComponentBadgeTokens, ComponentFooterTokens, ComponentIconBoxTokens, ComponentPricingCardTokens, ComponentQuoteTokens, ComponentRatingTokens, ComponentTestimonialTokens, ComponentTokens, ControlSizeTokens, ControlTokens, ElevationLevelTokens, ElevationTokens, FormStateTokens, LayoutTokens, SpectreModeName, SpectreModeTokens, SpectreTokens, TokenScale, Tokens, TransitionTokens, TypographyTokens };
package/dist/index.d.ts CHANGED
@@ -1926,6 +1926,11 @@ interface SpectreGeneratedTokens {
1926
1926
  };
1927
1927
  };
1928
1928
  dark: {
1929
+ action: {
1930
+ onPage: string;
1931
+ onSurface: string;
1932
+ rail: string;
1933
+ };
1929
1934
  surface: {
1930
1935
  page: string;
1931
1936
  card: string;
@@ -2787,8 +2792,25 @@ interface SpectreGeneratedTokens {
2787
2792
  grammar: string;
2788
2793
  };
2789
2794
  };
2795
+ link: {
2796
+ default: string;
2797
+ hover: string;
2798
+ active: string;
2799
+ visited: string;
2800
+ underline: string;
2801
+ underlineHover: string;
2802
+ };
2790
2803
  };
2791
2804
  highContrast: {
2805
+ action: {
2806
+ bg: string;
2807
+ bgHover: string;
2808
+ bgActive: string;
2809
+ text: string;
2810
+ onPage: string;
2811
+ onSurface: string;
2812
+ rail: string;
2813
+ };
2792
2814
  surface: {
2793
2815
  page: string;
2794
2816
  card: string;
@@ -4605,6 +4627,21 @@ interface SpectreGeneratedTokens {
4605
4627
  extrabold: number;
4606
4628
  black: number;
4607
4629
  };
4630
+ fontSize: {
4631
+ '12': string;
4632
+ '14': string;
4633
+ '16': string;
4634
+ '18': string;
4635
+ '20': string;
4636
+ '24': string;
4637
+ '30': string;
4638
+ '36': string;
4639
+ '48': string;
4640
+ '60': string;
4641
+ '72': string;
4642
+ '96': string;
4643
+ '128': string;
4644
+ };
4608
4645
  surface: {
4609
4646
  page: string;
4610
4647
  card: string;
@@ -4626,6 +4663,16 @@ interface SpectreGeneratedTokens {
4626
4663
  underline: string;
4627
4664
  underlineHover: string;
4628
4665
  };
4666
+ action: {
4667
+ bg: string;
4668
+ bgHover: string;
4669
+ bgActive: string;
4670
+ text: string;
4671
+ focusRing: string;
4672
+ onPage: string;
4673
+ onSurface: string;
4674
+ rail: string;
4675
+ };
4629
4676
  text: {
4630
4677
  onPage: {
4631
4678
  default: string;
@@ -4841,6 +4888,24 @@ interface SpectreGeneratedTokens {
4841
4888
  weight: number;
4842
4889
  letterSpacing: string;
4843
4890
  };
4891
+ '7xl': {
4892
+ size: string;
4893
+ lineHeight: string;
4894
+ weight: number;
4895
+ letterSpacing: string;
4896
+ };
4897
+ '8xl': {
4898
+ size: string;
4899
+ lineHeight: string;
4900
+ weight: number;
4901
+ letterSpacing: string;
4902
+ };
4903
+ '9xl': {
4904
+ size: string;
4905
+ lineHeight: string;
4906
+ weight: number;
4907
+ letterSpacing: string;
4908
+ };
4844
4909
  };
4845
4910
  typography: {
4846
4911
  families: {
@@ -4909,6 +4974,24 @@ interface SpectreGeneratedTokens {
4909
4974
  fontWeight: number;
4910
4975
  letterSpacing: string;
4911
4976
  };
4977
+ '7xl': {
4978
+ fontSize: string;
4979
+ lineHeight: string;
4980
+ fontWeight: number;
4981
+ letterSpacing: string;
4982
+ };
4983
+ '8xl': {
4984
+ fontSize: string;
4985
+ lineHeight: string;
4986
+ fontWeight: number;
4987
+ letterSpacing: string;
4988
+ };
4989
+ '9xl': {
4990
+ fontSize: string;
4991
+ lineHeight: string;
4992
+ fontWeight: number;
4993
+ letterSpacing: string;
4994
+ };
4912
4995
  };
4913
4996
  heading: {
4914
4997
  h1: {
@@ -5012,6 +5095,46 @@ interface SpectreGeneratedTokens {
5012
5095
  fontWeight: number;
5013
5096
  letterSpacing: string;
5014
5097
  };
5098
+ responsive: {
5099
+ md: {
5100
+ heading: {
5101
+ h1: {
5102
+ fontSize: string;
5103
+ lineHeight: string;
5104
+ };
5105
+ h2: {
5106
+ fontSize: string;
5107
+ lineHeight: string;
5108
+ };
5109
+ h3: {
5110
+ fontSize: string;
5111
+ lineHeight: string;
5112
+ };
5113
+ h4: {
5114
+ fontSize: string;
5115
+ lineHeight: string;
5116
+ };
5117
+ h5: {
5118
+ fontSize: string;
5119
+ lineHeight: string;
5120
+ };
5121
+ };
5122
+ display: {
5123
+ '1': {
5124
+ fontSize: string;
5125
+ lineHeight: string;
5126
+ };
5127
+ '2': {
5128
+ fontSize: string;
5129
+ lineHeight: string;
5130
+ };
5131
+ '3': {
5132
+ fontSize: string;
5133
+ lineHeight: string;
5134
+ };
5135
+ };
5136
+ };
5137
+ };
5015
5138
  };
5016
5139
  }
5017
5140
 
@@ -5039,6 +5162,10 @@ interface TypographyTokens {
5039
5162
  body: TypographyBodyEntry;
5040
5163
  display: Record<string, TypographyRoleEntry>;
5041
5164
  lead: TypographyRoleEntry;
5165
+ responsive: Record<string, {
5166
+ heading?: Record<string, Partial<TypographyRoleEntry>>;
5167
+ display?: Record<string, Partial<TypographyRoleEntry>>;
5168
+ }>;
5042
5169
  }
5043
5170
  interface TransitionTokens {
5044
5171
  duration: TokenScale;
@@ -5341,6 +5468,7 @@ interface SpectreModeTokens {
5341
5468
  invalid?: Record<string, SemanticTokenValue>;
5342
5469
  };
5343
5470
  component: ComponentTokens<SemanticTokenValue>;
5471
+ action?: Record<string, SemanticTokenValue>;
5344
5472
  buttons?: Record<string, Record<string, SemanticTokenValue>>;
5345
5473
  link?: Record<string, SemanticTokenValue>;
5346
5474
  }
@@ -5418,4 +5546,5 @@ declare const generateCssVariables: (tokens: SpectreTokens, options?: CssVariabl
5418
5546
 
5419
5547
  declare const tokens: SpectreTokens;
5420
5548
 
5421
- export { type AccessibilityTokens, type AnimationEntry, type ButtonStateTokens, type ColorScale, type ComponentAccentTokens, type ComponentBadgeTokens, type ComponentFooterTokens, type ComponentIconBoxTokens, type ComponentPricingCardTokens, type ComponentQuoteTokens, type ComponentRatingTokens, type ComponentTestimonialTokens, type ComponentTokens, type ControlSizeTokens, type ControlTokens, type ElevationLevelTokens, type ElevationTokens, type FormStateTokens, type LayoutTokens, type SpectreModeName, type SpectreModeTokens, type SpectreTokens, type TokenScale, type Tokens, type TransitionTokens, type TypographyTokens, tokens as default, generateCssVariables, tokens };
5549
+ export { tokens as default, generateCssVariables, tokens };
5550
+ export type { AccessibilityTokens, AnimationEntry, ButtonStateTokens, ColorScale, ComponentAccentTokens, ComponentBadgeTokens, ComponentFooterTokens, ComponentIconBoxTokens, ComponentPricingCardTokens, ComponentQuoteTokens, ComponentRatingTokens, ComponentTestimonialTokens, ComponentTokens, ControlSizeTokens, ControlTokens, ElevationLevelTokens, ElevationTokens, FormStateTokens, LayoutTokens, SpectreModeName, SpectreModeTokens, SpectreTokens, TokenScale, Tokens, TransitionTokens, TypographyTokens };