@soroush.tech/styled-system 5.2.0 → 5.4.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/README.md +11 -6
- package/dist/background.d.cts +3 -2
- package/dist/background.d.mts +3 -2
- package/dist/border.d.cts +3 -2
- package/dist/border.d.mts +3 -2
- package/dist/color.d.cts +3 -2
- package/dist/color.d.mts +3 -2
- package/dist/core.d.cts +1 -1
- package/dist/core.d.mts +1 -1
- package/dist/flexbox.d.cts +3 -2
- package/dist/flexbox.d.mts +3 -2
- package/dist/grid.d.cts +3 -2
- package/dist/grid.d.mts +3 -2
- package/dist/{index-50KH4Mo7.d.cts → index--0QXsrzB.d.mts} +1 -2
- package/dist/{index-8PSQ0vkP.d.cts → index-5FNmSnEI.d.cts} +1 -2
- package/dist/{index-C3_fScux.d.mts → index-B4DiqzRr.d.cts} +1 -2
- package/dist/{index-DZaFk5pk.d.cts → index-BDKAW1u8.d.mts} +1 -2
- package/dist/{index-9ZhIewzy.d.mts → index-BFzj-f22.d.cts} +1 -2
- package/dist/{index-Nc-10syf.d.cts → index-BPHA_boa.d.mts} +1 -2
- package/dist/{index-BS9GuhQN.d.cts → index-Bd7E_7bm.d.cts} +1 -2
- package/dist/{index-CarHCWLQ.d.cts → index-BrXslH97.d.cts} +1 -2
- package/dist/index-BvNoOnuk.d.mts +5 -0
- package/dist/{index-D8EyRZ5p.d.cts → index-C6pWum7i.d.cts} +1 -1
- package/dist/{index-D8EyRZ5p.d.mts → index-C6pWum7i.d.mts} +1 -1
- package/dist/index-CTguR0fU.d.cts +6 -0
- package/dist/index-C_ikENGU.d.mts +6 -0
- package/dist/{index-BBTVE4EM.d.mts → index-CeQ5ox80.d.mts} +1 -2
- package/dist/{index-CrUx2vIP.d.mts → index-Cq-vX0It.d.mts} +1 -2
- package/dist/{index-CsS_gcI9.d.mts → index-CuQx9h4Q.d.cts} +1 -2
- package/dist/{index-DPWkvooj.d.mts → index-CvbdNFVK.d.cts} +1 -2
- package/dist/{index-CX2jWEGJ.d.mts → index-D7-Ctdwn.d.mts} +1 -2
- package/dist/index-D9W3cc9s.d.mts +5 -0
- package/dist/{index-Bx7IxKu-.d.mts → index-DLcnFzWU.d.mts} +1 -2
- package/dist/{index-z86wOHTb.d.cts → index-DS-HZ740.d.cts} +1 -2
- package/dist/index-Dxn97XnB.d.cts +5 -0
- package/dist/{index-BoMacn6F.d.cts → index-Dz8xde7b.d.cts} +1 -2
- package/dist/{index-C13YRARN.d.mts → index-DzPnzx9p.d.mts} +1 -2
- package/dist/{index-DVR6hZCd.d.cts → index-F79chYlR.d.mts} +1 -2
- package/dist/index-HNU5ME-U.d.cts +5 -0
- package/dist/index.cjs +7 -1
- package/dist/index.d.cts +15 -166
- package/dist/index.d.mts +15 -166
- package/dist/index.mjs +2 -1
- package/dist/layout.d.cts +3 -2
- package/dist/layout.d.mts +3 -2
- package/dist/position.d.cts +3 -2
- package/dist/position.d.mts +3 -2
- package/dist/prop-types.cjs +48 -0
- package/dist/prop-types.d.cts +22 -0
- package/dist/prop-types.d.mts +22 -0
- package/dist/prop-types.mjs +40 -0
- package/dist/rolldown-runtime-D6vf50IK.cjs +28 -0
- package/dist/shadow.d.cts +3 -2
- package/dist/shadow.d.mts +3 -2
- package/dist/should-forward-prop.cjs +2 -23
- package/dist/space.d.cts +3 -2
- package/dist/space.d.mts +3 -2
- package/dist/theme-get-CwPt9eDy.mjs +5 -0
- package/dist/theme-get-D0fH7Jrd.cjs +10 -0
- package/dist/theme-get.cjs +3 -6
- package/dist/theme-get.d.cts +1 -5
- package/dist/theme-get.d.mts +1 -5
- package/dist/theme-get.mjs +1 -4
- package/dist/types-CCujn9-2.d.cts +304 -0
- package/dist/types-CCujn9-2.d.mts +304 -0
- package/dist/typography.d.cts +3 -2
- package/dist/typography.d.mts +3 -2
- package/dist/variant.d.cts +3 -2
- package/dist/variant.d.mts +3 -2
- package/package.json +20 -2
- package/dist/index-Ce09s0FQ.d.cts +0 -6
- package/dist/index-D3t1Lyte.d.mts +0 -6
- package/dist/index-J3PebPto.d.mts +0 -6
- package/dist/index-j3E1mxCg.d.cts +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soroush.tech/styled-system",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "Maintained, first-class-TypeScript rewrite of styled-system — responsive, theme-aware style props for CSS-in-JS. Drop-in replacement for styled-system v5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"styled-system",
|
|
@@ -188,6 +188,16 @@
|
|
|
188
188
|
"default": "./dist/props.cjs"
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
|
+
"./prop-types": {
|
|
192
|
+
"import": {
|
|
193
|
+
"types": "./dist/prop-types.d.mts",
|
|
194
|
+
"default": "./dist/prop-types.mjs"
|
|
195
|
+
},
|
|
196
|
+
"require": {
|
|
197
|
+
"types": "./dist/prop-types.d.cts",
|
|
198
|
+
"default": "./dist/prop-types.cjs"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
191
201
|
"./should-forward-prop": {
|
|
192
202
|
"import": {
|
|
193
203
|
"types": "./dist/should-forward-prop.d.mts",
|
|
@@ -210,13 +220,21 @@
|
|
|
210
220
|
"csstype": "^3.1.3"
|
|
211
221
|
},
|
|
212
222
|
"peerDependencies": {
|
|
213
|
-
"@emotion/is-prop-valid": "^1.4.0"
|
|
223
|
+
"@emotion/is-prop-valid": "^1.4.0",
|
|
224
|
+
"prop-types": "^15.8.1"
|
|
225
|
+
},
|
|
226
|
+
"peerDependenciesMeta": {
|
|
227
|
+
"prop-types": {
|
|
228
|
+
"optional": true
|
|
229
|
+
}
|
|
214
230
|
},
|
|
215
231
|
"devDependencies": {
|
|
216
232
|
"@emotion/is-prop-valid": "^1.4.0",
|
|
233
|
+
"@types/prop-types": "^15.7.12",
|
|
217
234
|
"@vitest/coverage-v8": "^4.1.9",
|
|
218
235
|
"eslint": "^10.5.0",
|
|
219
236
|
"globals": "^17.7.0",
|
|
237
|
+
"prop-types": "^15.8.1",
|
|
220
238
|
"tsdown": "^0.22.3",
|
|
221
239
|
"typescript": "~6.0.3",
|
|
222
240
|
"vitest": "^4.1.9",
|