@baseline-ui/tokens 0.38.0 → 0.39.1

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.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _vanilla_extract_sprinkles from '@vanilla-extract/sprinkles';
2
2
  import * as _vanilla_extract_css from '@vanilla-extract/css';
3
- import { StyleRule } from '@vanilla-extract/css';
3
+ import { GlobalStyleRule, StyleRule } from '@vanilla-extract/css';
4
4
  import React from 'react';
5
5
 
6
6
  declare const Layers: {
@@ -924,15 +924,14 @@ declare const breakpoints: {
924
924
  desktop: number;
925
925
  };
926
926
  type Breakpoint = keyof typeof breakpoints;
927
- type CSSProps = Omit<StyleRule, "@media" | "@supports">;
928
927
  declare const queries: {
929
928
  tablet: string;
930
929
  desktop: string;
931
930
  };
932
931
  interface ResponsiveStyle {
933
- mobile?: CSSProps;
934
- tablet?: CSSProps;
935
- desktop?: CSSProps;
932
+ mobile?: GlobalStyleRule;
933
+ tablet?: GlobalStyleRule;
934
+ desktop?: GlobalStyleRule;
936
935
  }
937
936
  declare const responsiveStyle: ({ mobile, tablet, desktop, }: ResponsiveStyle) => StyleRule;
938
937
 
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _vanilla_extract_sprinkles from '@vanilla-extract/sprinkles';
2
2
  import * as _vanilla_extract_css from '@vanilla-extract/css';
3
- import { StyleRule } from '@vanilla-extract/css';
3
+ import { GlobalStyleRule, StyleRule } from '@vanilla-extract/css';
4
4
  import React from 'react';
5
5
 
6
6
  declare const Layers: {
@@ -924,15 +924,14 @@ declare const breakpoints: {
924
924
  desktop: number;
925
925
  };
926
926
  type Breakpoint = keyof typeof breakpoints;
927
- type CSSProps = Omit<StyleRule, "@media" | "@supports">;
928
927
  declare const queries: {
929
928
  tablet: string;
930
929
  desktop: string;
931
930
  };
932
931
  interface ResponsiveStyle {
933
- mobile?: CSSProps;
934
- tablet?: CSSProps;
935
- desktop?: CSSProps;
932
+ mobile?: GlobalStyleRule;
933
+ tablet?: GlobalStyleRule;
934
+ desktop?: GlobalStyleRule;
936
935
  }
937
936
  declare const responsiveStyle: ({ mobile, tablet, desktop, }: ResponsiveStyle) => StyleRule;
938
937