@nextui-org/react 1.0.2-beta.1 → 1.0.2-beta.2

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.
@@ -20,16 +20,7 @@ const getStitchesTheme = targetTheme => {
20
20
  };
21
21
 
22
22
  exports.getStitchesTheme = getStitchesTheme;
23
- const {
24
- styled,
25
- css,
26
- theme,
27
- createTheme: createThemeBase,
28
- getCssText,
29
- globalCss,
30
- keyframes,
31
- config
32
- } = (0, _react.createStitches)({ ..._common.default,
23
+ const stitches = (0, _react.createStitches)({ ..._common.default,
33
24
  theme: { ..._common.default.theme,
34
25
  shadows: { ..._lightTheme.default.shadows
35
26
  },
@@ -38,14 +29,22 @@ const {
38
29
  }
39
30
  }
40
31
  });
41
- exports.config = config;
42
- exports.keyframes = keyframes;
32
+ const createThemeBase = stitches.createTheme;
33
+ exports.createThemeBase = createThemeBase;
34
+ const styled = stitches.styled;
35
+ exports.styled = styled;
36
+ const css = stitches.css;
37
+ exports.css = css;
38
+ const globalCss = stitches.globalCss;
43
39
  exports.globalCss = globalCss;
40
+ const keyframes = stitches.keyframes;
41
+ exports.keyframes = keyframes;
42
+ const getCssText = stitches.getCssText;
44
43
  exports.getCssText = getCssText;
45
- exports.createThemeBase = createThemeBase;
44
+ const theme = stitches.theme;
46
45
  exports.theme = theme;
47
- exports.css = css;
48
- exports.styled = styled;
46
+ const config = stitches.config;
47
+ exports.config = config;
49
48
  const sharedFocus = css({
50
49
  WebkitTapHighlightColor: 'transparent',
51
50
  '&:focus:not(&:focus-visible)': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/react",
3
- "version": "1.0.2-beta.1",
3
+ "version": "1.0.2-beta.2",
4
4
  "license": "MIT",
5
5
  "description": "🚀 Beautiful and modern React UI library.",
6
6
  "homepage": "https://nextui.org",
@@ -31,7 +31,8 @@
31
31
  "sideEffects": false,
32
32
  "scripts": {},
33
33
  "dependencies": {
34
- "@stitches/react": "^1.2.6"
34
+ "@babel/runtime": "7.9.6",
35
+ "@stitches/react": "1.2.6"
35
36
  },
36
37
  "peerDependencies": {
37
38
  "react": ">=16.8.0",
package/umd/nextui.js CHANGED
@@ -1143,16 +1143,7 @@ function deep_merge_deepMerge(result) {
1143
1143
  const getStitchesTheme = targetTheme => {
1144
1144
  return deepMerge(targetTheme, commonTheme.theme);
1145
1145
  };
1146
- const {
1147
- styled,
1148
- css,
1149
- theme,
1150
- createTheme: createThemeBase,
1151
- getCssText,
1152
- globalCss,
1153
- keyframes,
1154
- config
1155
- } = q({ ...common,
1146
+ const stitches = q({ ...common,
1156
1147
  theme: { ...common.theme,
1157
1148
  shadows: { ...light_theme.shadows
1158
1149
  },
@@ -1161,6 +1152,14 @@ const {
1161
1152
  }
1162
1153
  }
1163
1154
  });
1155
+ const createThemeBase = stitches.createTheme;
1156
+ const styled = stitches.styled;
1157
+ const css = stitches.css;
1158
+ const globalCss = stitches.globalCss;
1159
+ const keyframes = stitches.keyframes;
1160
+ const getCssText = stitches.getCssText;
1161
+ const theme = stitches.theme;
1162
+ const config = stitches.config;
1164
1163
  const sharedFocus = css({
1165
1164
  WebkitTapHighlightColor: 'transparent',
1166
1165
  '&:focus:not(&:focus-visible)': {