styled-components 6.0.0-beta.11 → 6.0.0-beta.13
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/base.d.ts +0 -5
- package/dist/constructors/constructWithOptions.d.ts +4 -4
- package/dist/hoc/withTheme.d.ts +1 -1
- package/dist/models/StyleSheetManager.d.ts +3 -3
- package/dist/models/ThemeProvider.d.ts +3 -3
- package/dist/sheet/Sheet.d.ts +3 -3
- package/dist/sheet/types.d.ts +1 -1
- package/dist/styled-components.browser.cjs.js +16 -13
- package/dist/styled-components.browser.cjs.js.map +1 -1
- package/dist/styled-components.browser.esm.js +16 -13
- package/dist/styled-components.browser.esm.js.map +1 -1
- package/dist/styled-components.cjs.js +14 -8
- package/dist/styled-components.cjs.js.map +1 -1
- package/dist/styled-components.esm.js +14 -8
- package/dist/styled-components.esm.js.map +1 -1
- package/dist/styled-components.js +22 -19
- package/dist/styled-components.js.map +1 -1
- package/dist/styled-components.min.js +1 -1
- package/dist/styled-components.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +18 -18
- package/dist/utils/hoist.d.ts +3 -3
- package/dist/utils/stylis.d.ts +1 -1
- package/native/dist/base.d.ts +0 -5
- package/native/dist/constructors/constructWithOptions.d.ts +4 -4
- package/native/dist/hoc/withTheme.d.ts +1 -1
- package/native/dist/models/StyleSheetManager.d.ts +3 -3
- package/native/dist/models/ThemeProvider.d.ts +3 -3
- package/native/dist/sheet/Sheet.d.ts +3 -3
- package/native/dist/sheet/types.d.ts +1 -1
- package/native/dist/styled-components.native.cjs.js +1 -1
- package/native/dist/styled-components.native.esm.js +1 -1
- package/native/dist/types.d.ts +18 -18
- package/native/dist/utils/hoist.d.ts +3 -3
- package/native/dist/utils/stylis.d.ts +1 -1
- package/package.json +20 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "styled-components",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.13",
|
|
4
4
|
"description": "Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/styled-components.cjs.js",
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"./dist/styled-components.esm.js": "./dist/styled-components.browser.esm.js",
|
|
11
11
|
"./dist/styled-components.cjs.js": "./dist/styled-components.browser.cjs.js"
|
|
12
12
|
},
|
|
13
|
-
"sideEffects":
|
|
14
|
-
"./src/base.js"
|
|
15
|
-
],
|
|
13
|
+
"sideEffects": false,
|
|
16
14
|
"scripts": {
|
|
17
15
|
"generateErrors": "node scripts/generateErrorMap.js",
|
|
18
16
|
"prebuild": "rimraf dist && yarn generateErrors",
|
|
@@ -32,10 +30,8 @@
|
|
|
32
30
|
"url": "git+https://github.com/styled-components/styled-components.git"
|
|
33
31
|
},
|
|
34
32
|
"files": [
|
|
35
|
-
"CHANGELOG.md",
|
|
36
|
-
"CODE_OF_CONDUCT.md",
|
|
37
|
-
"CONTRIBUTING.md",
|
|
38
33
|
"LICENSE",
|
|
34
|
+
"README.md",
|
|
39
35
|
"dist",
|
|
40
36
|
"native",
|
|
41
37
|
"test-utils",
|
|
@@ -57,21 +53,21 @@
|
|
|
57
53
|
},
|
|
58
54
|
"homepage": "https://styled-components.com",
|
|
59
55
|
"dependencies": {
|
|
60
|
-
"@babel/cli": "^7.
|
|
61
|
-
"@babel/core": "^7.
|
|
56
|
+
"@babel/cli": "^7.21.0",
|
|
57
|
+
"@babel/core": "^7.21.0",
|
|
62
58
|
"@babel/helper-module-imports": "^7.18.6",
|
|
63
59
|
"@babel/plugin-external-helpers": "^7.18.6",
|
|
64
60
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
65
61
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
|
66
62
|
"@babel/preset-env": "^7.20.2",
|
|
67
63
|
"@babel/preset-react": "^7.18.6",
|
|
68
|
-
"@babel/preset-typescript": "^7.
|
|
69
|
-
"@babel/traverse": "^7.
|
|
64
|
+
"@babel/preset-typescript": "^7.21.0",
|
|
65
|
+
"@babel/traverse": "^7.21.2",
|
|
70
66
|
"@emotion/unitless": "^0.8.0",
|
|
71
|
-
"css-to-react-native": "^3.
|
|
67
|
+
"css-to-react-native": "^3.2.0",
|
|
72
68
|
"shallowequal": "^1.1.0",
|
|
73
69
|
"stylis": "^4.1.3",
|
|
74
|
-
"tslib": "^2.
|
|
70
|
+
"tslib": "^2.5.0"
|
|
75
71
|
},
|
|
76
72
|
"peerDependencies": {
|
|
77
73
|
"babel-plugin-styled-components": ">= 2",
|
|
@@ -96,13 +92,13 @@
|
|
|
96
92
|
}
|
|
97
93
|
},
|
|
98
94
|
"devDependencies": {
|
|
99
|
-
"@babel/plugin-transform-flow-strip-types": "^7.
|
|
100
|
-
"@rollup/plugin-typescript": "^
|
|
95
|
+
"@babel/plugin-transform-flow-strip-types": "^7.21.0",
|
|
96
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
101
97
|
"@types/babel-plugin-macros": "^2.8.4",
|
|
102
98
|
"@types/enzyme": "^3.10.12",
|
|
103
|
-
"@types/jest": "^29.
|
|
99
|
+
"@types/jest": "^29.4.0",
|
|
104
100
|
"@types/js-beautify": "^1.13.1",
|
|
105
|
-
"@types/node": "^18.
|
|
101
|
+
"@types/node": "^18.14.2",
|
|
106
102
|
"@types/react": "^17.0.22",
|
|
107
103
|
"@types/react-dom": "^17.0.9",
|
|
108
104
|
"@types/react-frame-component": "^4.1.3",
|
|
@@ -110,25 +106,25 @@
|
|
|
110
106
|
"@types/react-test-renderer": "^17.0.1",
|
|
111
107
|
"@types/shallowequal": "^1.1.1",
|
|
112
108
|
"@types/stylis": "^4.0.2",
|
|
113
|
-
"babel-jest": "^29.3
|
|
109
|
+
"babel-jest": "^29.4.3",
|
|
114
110
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
115
111
|
"babel-plugin-macros": "^3.1.0",
|
|
116
112
|
"babel-plugin-styled-components": "^2.0.7",
|
|
117
113
|
"babel-plugin-tester": "^10.0.0",
|
|
118
114
|
"bundlewatch": "^0.3.3",
|
|
119
|
-
"jest": "^29.3
|
|
120
|
-
"jest-environment-jsdom": "^29.3
|
|
115
|
+
"jest": "^29.4.3",
|
|
116
|
+
"jest-environment-jsdom": "^29.4.3",
|
|
121
117
|
"jest-serializer-html": "^7.0.0",
|
|
122
|
-
"jest-watch-typeahead": "^2.
|
|
118
|
+
"jest-watch-typeahead": "^2.2.2",
|
|
123
119
|
"js-beautify": "^1.14.7",
|
|
124
|
-
"prettier": "^2.8.
|
|
120
|
+
"prettier": "^2.8.4",
|
|
125
121
|
"prop-types": "^15.8.1",
|
|
126
122
|
"react": "^17.0.2",
|
|
127
123
|
"react-dom": "^17.0.2",
|
|
128
124
|
"react-frame-component": "^4.0.2",
|
|
129
125
|
"react-native": "^0.70.6",
|
|
130
126
|
"react-test-renderer": "^17.0.2",
|
|
131
|
-
"rollup": "^3.
|
|
127
|
+
"rollup": "^3.18.0",
|
|
132
128
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
133
129
|
"rollup-plugin-json": "^4.0.0",
|
|
134
130
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
@@ -136,7 +132,7 @@
|
|
|
136
132
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
137
133
|
"rollup-plugin-terser": "^7.0.2",
|
|
138
134
|
"stylis-plugin-rtl": "^2.1.1",
|
|
139
|
-
"typescript": "^4.
|
|
135
|
+
"typescript": "^4.9.5",
|
|
140
136
|
"utility-types": "^3.10.0"
|
|
141
137
|
},
|
|
142
138
|
"bundlewatch": {
|