@itamarshdev/reactwind 0.1.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/README.md +106 -0
- package/dist/chunk-WXTVOZ4W.js +161 -0
- package/dist/index.cjs +187 -0
- package/dist/index.d.cts +61 -0
- package/dist/index.d.ts +61 -0
- package/dist/index.js +6 -0
- package/dist/jsx-dev-runtime.cjs +193 -0
- package/dist/jsx-dev-runtime.d.cts +9 -0
- package/dist/jsx-dev-runtime.d.ts +9 -0
- package/dist/jsx-dev-runtime.js +11 -0
- package/dist/jsx-runtime.cjs +196 -0
- package/dist/jsx-runtime.d.cts +9 -0
- package/dist/jsx-runtime.d.ts +9 -0
- package/dist/jsx-runtime.js +13 -0
- package/dist/tailwind.types-BSQudz76.d.cts +7 -0
- package/dist/tailwind.types-BSQudz76.d.ts +7 -0
- package/dist/types-CvNsUSZP.d.cts +123 -0
- package/dist/types-DDH_n69B.d.ts +123 -0
- package/package.json +329 -0
package/package.json
ADDED
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@itamarshdev/reactwind",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "JSX runtime wrapper that adds a classNames prop to React elements.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"tailwind",
|
|
8
|
+
"tailwindcss",
|
|
9
|
+
"jsx",
|
|
10
|
+
"runtime",
|
|
11
|
+
"styling",
|
|
12
|
+
"css-in-js",
|
|
13
|
+
"shorthand"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://itamarshdev.github.io/reactwind/storybook/",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/itamarshdev/reactwind/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/itamarshdev/reactwind.git"
|
|
22
|
+
},
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"author": "itamarshdev",
|
|
25
|
+
"type": "module",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"import": "./dist/index.js",
|
|
30
|
+
"require": "./dist/index.cjs"
|
|
31
|
+
},
|
|
32
|
+
"./jsx-runtime": {
|
|
33
|
+
"types": "./dist/jsx-runtime.d.ts",
|
|
34
|
+
"import": "./dist/jsx-runtime.js",
|
|
35
|
+
"require": "./dist/jsx-runtime.cjs"
|
|
36
|
+
},
|
|
37
|
+
"./jsx-dev-runtime": {
|
|
38
|
+
"types": "./dist/jsx-dev-runtime.d.ts",
|
|
39
|
+
"import": "./dist/jsx-dev-runtime.js",
|
|
40
|
+
"require": "./dist/jsx-dev-runtime.cjs"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"main": "./dist/index.cjs",
|
|
44
|
+
"types": "./dist/index.d.ts",
|
|
45
|
+
"directories": {
|
|
46
|
+
"doc": "docs",
|
|
47
|
+
"example": "examples",
|
|
48
|
+
"test": "tests"
|
|
49
|
+
},
|
|
50
|
+
"files": [
|
|
51
|
+
"dist"
|
|
52
|
+
],
|
|
53
|
+
"scripts": {
|
|
54
|
+
"build": "tsup src/index.ts src/jsx-runtime.ts src/jsx-dev-runtime.ts --format esm,cjs --dts",
|
|
55
|
+
"prepublishOnly": "bun run build && bun run test",
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"test:storybook": "vitest run --project storybook",
|
|
58
|
+
"lint": "oxlint",
|
|
59
|
+
"format": "oxfmt --write src",
|
|
60
|
+
"check": "oxfmt --check src",
|
|
61
|
+
"test:watch": "vitest",
|
|
62
|
+
"storybook": "storybook dev -p 6006",
|
|
63
|
+
"build-storybook": "storybook build"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"acorn": "^8.15.0",
|
|
67
|
+
"ansi-regex": "^5.0.1",
|
|
68
|
+
"ansi-styles": "^4.3.0",
|
|
69
|
+
"any-promise": "^1.3.0",
|
|
70
|
+
"argparse": "^2.0.1",
|
|
71
|
+
"aria-query": "^5.3.0",
|
|
72
|
+
"assertion-error": "^2.0.1",
|
|
73
|
+
"ast-types": "^0.16.1",
|
|
74
|
+
"available-typed-arrays": "^1.0.7",
|
|
75
|
+
"balanced-match": "^1.0.2",
|
|
76
|
+
"baseline-browser-mapping": "^2.9.19",
|
|
77
|
+
"better-opn": "^3.0.2",
|
|
78
|
+
"brace-expansion": "^2.0.2",
|
|
79
|
+
"browser-assert": "^1.2.1",
|
|
80
|
+
"browserslist": "^4.28.1",
|
|
81
|
+
"bundle-name": "^4.1.0",
|
|
82
|
+
"bundle-require": "^5.1.0",
|
|
83
|
+
"cac": "^6.7.14",
|
|
84
|
+
"call-bind": "^1.0.8",
|
|
85
|
+
"call-bind-apply-helpers": "^1.0.2",
|
|
86
|
+
"call-bound": "^1.0.4",
|
|
87
|
+
"caniuse-lite": "^1.0.30001766",
|
|
88
|
+
"chai": "^5.3.3",
|
|
89
|
+
"chalk": "^4.1.2",
|
|
90
|
+
"check-error": "^2.1.3",
|
|
91
|
+
"chokidar": "^4.0.3",
|
|
92
|
+
"color-convert": "^2.0.1",
|
|
93
|
+
"color-name": "^1.1.4",
|
|
94
|
+
"commander": "^4.1.1",
|
|
95
|
+
"confbox": "^0.1.8",
|
|
96
|
+
"consola": "^3.4.2",
|
|
97
|
+
"convert-source-map": "^2.0.0",
|
|
98
|
+
"cross-spawn": "^7.0.6",
|
|
99
|
+
"css.escape": "^1.5.1",
|
|
100
|
+
"csstype": "^3.2.3",
|
|
101
|
+
"debug": "^4.4.3",
|
|
102
|
+
"deep-eql": "^5.0.2",
|
|
103
|
+
"default-browser": "^5.4.0",
|
|
104
|
+
"default-browser-id": "^5.0.1",
|
|
105
|
+
"define-data-property": "^1.1.4",
|
|
106
|
+
"define-lazy-prop": "^3.0.0",
|
|
107
|
+
"dequal": "^2.0.3",
|
|
108
|
+
"detect-libc": "^2.1.2",
|
|
109
|
+
"doctrine": "^3.0.0",
|
|
110
|
+
"dom-accessibility-api": "^0.6.3",
|
|
111
|
+
"dunder-proto": "^1.0.1",
|
|
112
|
+
"eastasianwidth": "^0.2.0",
|
|
113
|
+
"electron-to-chromium": "^1.5.282",
|
|
114
|
+
"emoji-regex": "^9.2.2",
|
|
115
|
+
"empathic": "^2.0.0",
|
|
116
|
+
"enhanced-resolve": "^5.18.4",
|
|
117
|
+
"entities": "^4.5.0",
|
|
118
|
+
"es-define-property": "^1.0.1",
|
|
119
|
+
"es-errors": "^1.3.0",
|
|
120
|
+
"es-module-lexer": "^1.7.0",
|
|
121
|
+
"es-object-atoms": "^1.1.1",
|
|
122
|
+
"esbuild": "^0.27.2",
|
|
123
|
+
"esbuild-register": "^3.6.0",
|
|
124
|
+
"escalade": "^3.2.0",
|
|
125
|
+
"esprima": "^4.0.1",
|
|
126
|
+
"estree-walker": "^2.0.2",
|
|
127
|
+
"esutils": "^2.0.3",
|
|
128
|
+
"expect-type": "^1.3.0",
|
|
129
|
+
"fdir": "^6.5.0",
|
|
130
|
+
"find-up": "^7.0.0",
|
|
131
|
+
"fix-dts-default-cjs-exports": "^1.0.1",
|
|
132
|
+
"for-each": "^0.3.5",
|
|
133
|
+
"foreground-child": "^3.3.1",
|
|
134
|
+
"fraction.js": "^5.3.4",
|
|
135
|
+
"fsevents": "^2.3.3",
|
|
136
|
+
"function-bind": "^1.1.2",
|
|
137
|
+
"generator-function": "^2.0.1",
|
|
138
|
+
"gensync": "^1.0.0-beta.2",
|
|
139
|
+
"get-intrinsic": "^1.3.0",
|
|
140
|
+
"get-proto": "^1.0.1",
|
|
141
|
+
"glob": "^11.1.0",
|
|
142
|
+
"gopd": "^1.2.0",
|
|
143
|
+
"graceful-fs": "^4.2.11",
|
|
144
|
+
"has-flag": "^4.0.0",
|
|
145
|
+
"has-property-descriptors": "^1.0.2",
|
|
146
|
+
"has-symbols": "^1.1.0",
|
|
147
|
+
"has-tostringtag": "^1.0.2",
|
|
148
|
+
"hasown": "^2.0.2",
|
|
149
|
+
"indent-string": "^4.0.0",
|
|
150
|
+
"inherits": "^2.0.4",
|
|
151
|
+
"is-arguments": "^1.2.0",
|
|
152
|
+
"is-callable": "^1.2.7",
|
|
153
|
+
"is-core-module": "^2.16.1",
|
|
154
|
+
"is-docker": "^3.0.0",
|
|
155
|
+
"is-fullwidth-code-point": "^3.0.0",
|
|
156
|
+
"is-generator-function": "^1.1.2",
|
|
157
|
+
"is-inside-container": "^1.0.0",
|
|
158
|
+
"is-regex": "^1.2.1",
|
|
159
|
+
"is-typed-array": "^1.1.15",
|
|
160
|
+
"is-wsl": "^3.1.0",
|
|
161
|
+
"isexe": "^2.0.0",
|
|
162
|
+
"jackspeak": "^4.1.1",
|
|
163
|
+
"jiti": "^2.6.1",
|
|
164
|
+
"joycon": "^3.1.1",
|
|
165
|
+
"js-tokens": "^4.0.0",
|
|
166
|
+
"jsdoc-type-pratt-parser": "^4.8.0",
|
|
167
|
+
"jsesc": "^3.1.0",
|
|
168
|
+
"json5": "^2.2.3",
|
|
169
|
+
"lightningcss": "^1.30.2",
|
|
170
|
+
"lightningcss-darwin-x64": "^1.30.2",
|
|
171
|
+
"lilconfig": "^3.1.3",
|
|
172
|
+
"lines-and-columns": "^1.2.4",
|
|
173
|
+
"linkify-it": "^5.0.0",
|
|
174
|
+
"load-tsconfig": "^0.2.5",
|
|
175
|
+
"locate-path": "^7.2.0",
|
|
176
|
+
"lodash": "^4.17.23",
|
|
177
|
+
"loose-envify": "^1.4.0",
|
|
178
|
+
"loupe": "^3.2.1",
|
|
179
|
+
"lru-cache": "^11.2.5",
|
|
180
|
+
"lunr": "^2.3.9",
|
|
181
|
+
"lz-string": "^1.5.0",
|
|
182
|
+
"magic-string": "^0.30.21",
|
|
183
|
+
"map-or-similar": "^1.5.0",
|
|
184
|
+
"markdown-it": "^14.1.0",
|
|
185
|
+
"math-intrinsics": "^1.1.0",
|
|
186
|
+
"mdurl": "^2.0.0",
|
|
187
|
+
"memoizerific": "^1.11.3",
|
|
188
|
+
"min-indent": "^1.0.1",
|
|
189
|
+
"minimatch": "^9.0.5",
|
|
190
|
+
"minimist": "^1.2.8",
|
|
191
|
+
"minipass": "^7.1.2",
|
|
192
|
+
"mlly": "^1.8.0",
|
|
193
|
+
"mrmime": "^2.0.1",
|
|
194
|
+
"ms": "^2.1.3",
|
|
195
|
+
"mz": "^2.7.0",
|
|
196
|
+
"nanoid": "^3.3.11",
|
|
197
|
+
"node-releases": "^2.0.27",
|
|
198
|
+
"object-assign": "^4.1.1",
|
|
199
|
+
"obug": "^2.1.1",
|
|
200
|
+
"open": "^10.2.0",
|
|
201
|
+
"p-limit": "^4.0.0",
|
|
202
|
+
"p-locate": "^6.0.0",
|
|
203
|
+
"package-json-from-dist": "^1.0.1",
|
|
204
|
+
"path-exists": "^5.0.0",
|
|
205
|
+
"path-key": "^3.1.1",
|
|
206
|
+
"path-parse": "^1.0.7",
|
|
207
|
+
"path-scurry": "^2.0.1",
|
|
208
|
+
"pathe": "^2.0.3",
|
|
209
|
+
"pathval": "^2.0.1",
|
|
210
|
+
"picocolors": "^1.1.1",
|
|
211
|
+
"picomatch": "^4.0.3",
|
|
212
|
+
"pirates": "^4.0.7",
|
|
213
|
+
"pixelmatch": "^7.1.0",
|
|
214
|
+
"pkg-types": "^1.3.1",
|
|
215
|
+
"playwright": "^1.58.0",
|
|
216
|
+
"playwright-core": "^1.58.0",
|
|
217
|
+
"pngjs": "^7.0.0",
|
|
218
|
+
"polished": "^4.3.1",
|
|
219
|
+
"possible-typed-array-names": "^1.1.0",
|
|
220
|
+
"postcss": "^8.5.6",
|
|
221
|
+
"postcss-load-config": "^6.0.1",
|
|
222
|
+
"postcss-value-parser": "^4.2.0",
|
|
223
|
+
"prettier": "^3.8.1",
|
|
224
|
+
"pretty-format": "^27.5.1",
|
|
225
|
+
"process": "^0.11.10",
|
|
226
|
+
"punycode.js": "^2.3.1",
|
|
227
|
+
"react-docgen": "^8.0.2",
|
|
228
|
+
"react-docgen-typescript": "^2.4.0",
|
|
229
|
+
"react-is": "^17.0.2",
|
|
230
|
+
"readdirp": "^4.1.2",
|
|
231
|
+
"recast": "^0.23.11",
|
|
232
|
+
"redent": "^3.0.0",
|
|
233
|
+
"resolve": "^1.22.11",
|
|
234
|
+
"resolve-from": "^5.0.0",
|
|
235
|
+
"rollup": "^4.57.0",
|
|
236
|
+
"run-applescript": "^7.1.0",
|
|
237
|
+
"safe-regex-test": "^1.1.0",
|
|
238
|
+
"scheduler": "^0.27.0",
|
|
239
|
+
"semver": "^7.7.3",
|
|
240
|
+
"set-function-length": "^1.2.2",
|
|
241
|
+
"shebang-command": "^2.0.0",
|
|
242
|
+
"shebang-regex": "^3.0.0",
|
|
243
|
+
"siginfo": "^2.0.0",
|
|
244
|
+
"signal-exit": "^4.1.0",
|
|
245
|
+
"sirv": "^3.0.2",
|
|
246
|
+
"source-map": "^0.7.6",
|
|
247
|
+
"source-map-js": "^1.2.1",
|
|
248
|
+
"stackback": "^0.0.2",
|
|
249
|
+
"std-env": "^3.10.0",
|
|
250
|
+
"string-width": "^5.1.2",
|
|
251
|
+
"string-width-cjs": "^4.2.3",
|
|
252
|
+
"strip-ansi": "^7.1.2",
|
|
253
|
+
"strip-ansi-cjs": "^6.0.1",
|
|
254
|
+
"strip-bom": "^3.0.0",
|
|
255
|
+
"strip-indent": "^4.1.1",
|
|
256
|
+
"sucrase": "^3.35.1",
|
|
257
|
+
"supports-color": "^7.2.0",
|
|
258
|
+
"supports-preserve-symlinks-flag": "^1.0.0",
|
|
259
|
+
"tapable": "^2.3.0",
|
|
260
|
+
"thenify": "^3.3.1",
|
|
261
|
+
"thenify-all": "^1.6.0",
|
|
262
|
+
"tiny-invariant": "^1.3.3",
|
|
263
|
+
"tinybench": "^2.9.0",
|
|
264
|
+
"tinyexec": "^0.3.2",
|
|
265
|
+
"tinyglobby": "^0.2.15",
|
|
266
|
+
"tinypool": "^2.0.0",
|
|
267
|
+
"tinyrainbow": "^3.0.3",
|
|
268
|
+
"tinyspy": "^4.0.4",
|
|
269
|
+
"totalist": "^3.0.1",
|
|
270
|
+
"tree-kill": "^1.2.2",
|
|
271
|
+
"ts-dedent": "^2.2.0",
|
|
272
|
+
"ts-interface-checker": "^0.1.13",
|
|
273
|
+
"tsconfig-paths": "^4.2.0",
|
|
274
|
+
"tslib": "^2.8.1",
|
|
275
|
+
"type-fest": "^2.19.0",
|
|
276
|
+
"uc.micro": "^2.1.0",
|
|
277
|
+
"ufo": "^1.6.3",
|
|
278
|
+
"undici-types": "^7.16.0",
|
|
279
|
+
"unicorn-magic": "^0.1.0",
|
|
280
|
+
"unplugin": "^2.3.11",
|
|
281
|
+
"update-browserslist-db": "^1.2.3",
|
|
282
|
+
"use-sync-external-store": "^1.6.0",
|
|
283
|
+
"util": "^0.12.5",
|
|
284
|
+
"uuid": "^9.0.1",
|
|
285
|
+
"vite": "^7.3.1",
|
|
286
|
+
"webpack-virtual-modules": "^0.6.2",
|
|
287
|
+
"whatwg-mimetype": "^3.0.0",
|
|
288
|
+
"which": "^2.0.2",
|
|
289
|
+
"which-typed-array": "^1.1.20",
|
|
290
|
+
"why-is-node-running": "^2.3.0",
|
|
291
|
+
"wrap-ansi": "^8.1.0",
|
|
292
|
+
"wrap-ansi-cjs": "^7.0.0",
|
|
293
|
+
"ws": "^8.19.0",
|
|
294
|
+
"wsl-utils": "^0.1.0",
|
|
295
|
+
"yallist": "^3.1.1",
|
|
296
|
+
"yaml": "^2.8.2",
|
|
297
|
+
"yocto-queue": "^1.2.2"
|
|
298
|
+
},
|
|
299
|
+
"devDependencies": {
|
|
300
|
+
"@storybook/addon-docs": "10.2.1",
|
|
301
|
+
"@storybook/addon-vitest": "^10.2.1",
|
|
302
|
+
"@storybook/react-vite": "10.2.1",
|
|
303
|
+
"@tailwindcss/postcss": "^4.1.18",
|
|
304
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
305
|
+
"@types/node": "^25.1.0",
|
|
306
|
+
"@types/react": "^19.2.10",
|
|
307
|
+
"@vitest/browser": "^4.0.18",
|
|
308
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
309
|
+
"autoprefixer": "^10.4.23",
|
|
310
|
+
"happy-dom": "^20.4.0",
|
|
311
|
+
"oxfmt": "^0.27.0",
|
|
312
|
+
"oxlint": "^1.42.0",
|
|
313
|
+
"react": "^19.2.4",
|
|
314
|
+
"react-dom": "^19.2.4",
|
|
315
|
+
"storybook": "10.2.1",
|
|
316
|
+
"tailwindcss": "^4.1.18",
|
|
317
|
+
"tsup": "^8.5.1",
|
|
318
|
+
"typedoc": "^0.28.16",
|
|
319
|
+
"typedoc-plugin-markdown": "^4.9.0",
|
|
320
|
+
"typescript": "^5.9.3",
|
|
321
|
+
"vitest": "^4.0.18"
|
|
322
|
+
},
|
|
323
|
+
"peerDependencies": {
|
|
324
|
+
"react": ">=17.0.0",
|
|
325
|
+
"react-dom": ">=17.0.0"
|
|
326
|
+
},
|
|
327
|
+
"packageManager": "bun@1.3.2",
|
|
328
|
+
"module": "./dist/index.js"
|
|
329
|
+
}
|