@madebywild/wvk 0.1.1 → 0.1.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.
- package/README.md +13 -0
- package/bin/wvk.mjs +134 -8
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -4
- package/package.json +6 -2
- package/templates/next-app/README.md +55 -0
- package/templates/next-app/eslint.config.mjs +11 -0
- package/templates/next-app/gitignore +41 -0
- package/templates/next-app/next.config.ts +5 -0
- package/templates/next-app/package.json +28 -0
- package/templates/next-app/postcss.config.mjs +7 -0
- package/templates/next-app/src/app/globals.css +8 -0
- package/templates/next-app/src/app/layout.tsx +48 -0
- package/templates/next-app/src/app/page.tsx +48 -0
- package/templates/next-app/src/components/header.tsx +17 -0
- package/templates/next-app/tsconfig.json +29 -0
package/dist/index.js
CHANGED
|
@@ -7192,6 +7192,9 @@ var TextInput = React24.forwardRef(
|
|
|
7192
7192
|
"data-wvk-input": "shell",
|
|
7193
7193
|
style: { cursor: disabled ? "not-allowed" : "var(--wvk-cursor-text)" },
|
|
7194
7194
|
className: cn(textInputShellVariants({ inputStyle, size }), className),
|
|
7195
|
+
onClick: () => {
|
|
7196
|
+
if (!disabled) innerRef.current?.focus();
|
|
7197
|
+
},
|
|
7195
7198
|
children: [
|
|
7196
7199
|
leadingIcon ? /* @__PURE__ */ jsx208(
|
|
7197
7200
|
"span",
|