@marigold/system 5.3.0 → 5.5.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
@@ -289,4 +289,14 @@ interface ThemeProviderProps<T extends Theme> {
289
289
  }
290
290
  declare function ThemeProvider<T extends Theme>({ theme, children, }: ThemeProviderProps<T>): JSX.Element;
291
291
 
292
- export { Box, BoxOwnProps, BoxProps, CSSObject, CSSProperties, ComponentState, ComponentStyleParts, ComponentStylesProps, Global, GlobalProps, ResponsiveStyleValue, SVG, SVGProps, Scale, ScaleValue, SizeScale, StateAttrKeyProps, StateAttrProps, StyleObject, Theme, ThemeComponentProps, ThemeExtension, ThemeExtensionsWithParts, ThemeProvider, ThemeProviderProps, UseStateProps, ZeroScale, ZeroSizeScale, __defaultTheme, useComponentStyles, useResponsiveValue, useStateProps, useTheme };
292
+ declare const defaultTheme: {
293
+ screens: {
294
+ sm: string;
295
+ md: string;
296
+ lg: string;
297
+ xl: string;
298
+ '2xl': string;
299
+ };
300
+ };
301
+
302
+ export { Box, BoxOwnProps, BoxProps, CSSObject, CSSProperties, ComponentState, ComponentStyleParts, ComponentStylesProps, Global, GlobalProps, ResponsiveStyleValue, SVG, SVGProps, Scale, ScaleValue, SizeScale, StateAttrKeyProps, StateAttrProps, StyleObject, Theme, ThemeComponentProps, ThemeExtension, ThemeExtensionsWithParts, ThemeProvider, ThemeProviderProps, UseStateProps, ZeroScale, ZeroSizeScale, __defaultTheme, defaultTheme, useComponentStyles, useResponsiveValue, useStateProps, useTheme };
package/dist/index.js CHANGED
@@ -35,6 +35,7 @@ __export(src_exports, {
35
35
  SVG: () => SVG,
36
36
  ThemeProvider: () => ThemeProvider,
37
37
  __defaultTheme: () => __defaultTheme,
38
+ defaultTheme: () => defaultTheme,
38
39
  keyframes: () => import_react12.keyframes,
39
40
  useComponentStyles: () => useComponentStyles,
40
41
  useResponsiveValue: () => useResponsiveValue,
@@ -404,6 +405,17 @@ var SVG = (0, import_react10.forwardRef)(
404
405
 
405
406
  // src/keyframes.ts
406
407
  var import_react12 = require("@emotion/react");
408
+
409
+ // src/defaultTheme.ts
410
+ var defaultTheme = {
411
+ screens: {
412
+ sm: "640px",
413
+ md: "768px",
414
+ lg: "1024px",
415
+ xl: "1280px",
416
+ "2xl": "1536px"
417
+ }
418
+ };
407
419
  // Annotate the CommonJS export names for ESM import in node:
408
420
  0 && (module.exports = {
409
421
  Box,
@@ -411,6 +423,7 @@ var import_react12 = require("@emotion/react");
411
423
  SVG,
412
424
  ThemeProvider,
413
425
  __defaultTheme,
426
+ defaultTheme,
414
427
  keyframes,
415
428
  useComponentStyles,
416
429
  useResponsiveValue,
package/dist/index.mjs CHANGED
@@ -366,12 +366,24 @@ var SVG = forwardRef2(
366
366
 
367
367
  // src/keyframes.ts
368
368
  import { keyframes } from "@emotion/react";
369
+
370
+ // src/defaultTheme.ts
371
+ var defaultTheme = {
372
+ screens: {
373
+ sm: "640px",
374
+ md: "768px",
375
+ lg: "1024px",
376
+ xl: "1280px",
377
+ "2xl": "1536px"
378
+ }
379
+ };
369
380
  export {
370
381
  Box,
371
382
  Global,
372
383
  SVG,
373
384
  ThemeProvider,
374
385
  __defaultTheme,
386
+ defaultTheme,
375
387
  keyframes,
376
388
  useComponentStyles,
377
389
  useResponsiveValue,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/system",
3
- "version": "5.3.0",
3
+ "version": "5.5.0",
4
4
  "description": "Marigold System Library",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -27,20 +27,20 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@emotion/react": "11.10.6",
30
- "@theme-ui/css": "0.15.5",
31
- "csstype": "3.1.1",
30
+ "@theme-ui/css": "0.15.7",
31
+ "csstype": "3.1.2",
32
32
  "deepmerge": "^4.2.2",
33
33
  "react-fast-compare": "^3.2.0",
34
- "@marigold/types": "1.0.0"
34
+ "@marigold/types": "1.0.1"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react": "16.x || 17.x || 18.x",
38
38
  "react-dom": "16.x || 17.x || 18.x"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/core": "7.21.0",
41
+ "@babel/core": "7.21.4",
42
42
  "react": "18.2.0",
43
- "tsup": "6.6.3",
43
+ "tsup": "6.7.0",
44
44
  "@marigold/tsconfig": "0.4.0"
45
45
  },
46
46
  "scripts": {