@qasa/qds-ui 0.15.2 → 0.16.0-next.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,9 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as _emotion_react from '@emotion/react';
3
+ import { EmotionCache, CSSObject } from '@emotion/react';
2
4
  import * as react from 'react';
3
5
  import { ElementType, ComponentPropsWithoutRef, ReactNode, SVGAttributes, ReactElement, useLayoutEffect } from 'react';
4
- import { Options } from '@emotion/cache';
5
- import * as _emotion_react from '@emotion/react';
6
- import { CSSObject } from '@emotion/react';
7
6
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
8
7
  import * as DropdownPrimitive from '@radix-ui/react-dropdown-menu';
9
8
  import * as _emotion_styled from '@emotion/styled';
@@ -849,10 +848,10 @@ type LanguageCode = (typeof SUPPORTED_LANGUAGE_CODES)[number];
849
848
  interface QdsProviderProps {
850
849
  children: ReactNode;
851
850
  themeOverrides?: ThemeOverrides;
852
- cacheOptions?: Partial<Options>;
851
+ emotionCache?: EmotionCache;
853
852
  locale: LanguageCode;
854
853
  }
855
- declare function QdsProvider({ children, themeOverrides, cacheOptions, locale }: QdsProviderProps): react_jsx_runtime.JSX.Element;
854
+ declare function QdsProvider({ children, themeOverrides, emotionCache, locale }: QdsProviderProps): react_jsx_runtime.JSX.Element;
856
855
 
857
856
  type BreakpointsConfig$1<T> = PartialRecord<keyof Theme['breakpoints'], T> & {
858
857
  base: T;
package/dist/index.d.ts CHANGED
@@ -1,9 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as _emotion_react from '@emotion/react';
3
+ import { EmotionCache, CSSObject } from '@emotion/react';
2
4
  import * as react from 'react';
3
5
  import { ElementType, ComponentPropsWithoutRef, ReactNode, SVGAttributes, ReactElement, useLayoutEffect } from 'react';
4
- import { Options } from '@emotion/cache';
5
- import * as _emotion_react from '@emotion/react';
6
- import { CSSObject } from '@emotion/react';
7
6
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
8
7
  import * as DropdownPrimitive from '@radix-ui/react-dropdown-menu';
9
8
  import * as _emotion_styled from '@emotion/styled';
@@ -849,10 +848,10 @@ type LanguageCode = (typeof SUPPORTED_LANGUAGE_CODES)[number];
849
848
  interface QdsProviderProps {
850
849
  children: ReactNode;
851
850
  themeOverrides?: ThemeOverrides;
852
- cacheOptions?: Partial<Options>;
851
+ emotionCache?: EmotionCache;
853
852
  locale: LanguageCode;
854
853
  }
855
- declare function QdsProvider({ children, themeOverrides, cacheOptions, locale }: QdsProviderProps): react_jsx_runtime.JSX.Element;
854
+ declare function QdsProvider({ children, themeOverrides, emotionCache, locale }: QdsProviderProps): react_jsx_runtime.JSX.Element;
856
855
 
857
856
  type BreakpointsConfig$1<T> = PartialRecord<keyof Theme['breakpoints'], T> & {
858
857
  base: T;