@sikka/hawa 0.1.61 → 0.1.63
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/package.json +3 -3
- package/src/elements/Button.tsx +0 -4
- package/vercel.json +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sikka/hawa",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.63",
|
|
4
4
|
"description": "Modern UI Kit made with Tailwind & Radix Primitives",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"storybook": "start-storybook -p 6006 -s public",
|
|
35
35
|
"generate-css": "postcss src/tailwind.css -o src/styles.css && mkdir -p dist && cp src/styles.css dist/",
|
|
36
36
|
"deploy-storybook": "storybook-to-ghpages",
|
|
37
|
-
"build-storybook": "build-storybook -o ./docs
|
|
37
|
+
"build-storybook": "build-storybook -o ./docs",
|
|
38
38
|
"build-up": "tsup src/index.ts --format cjs,esm --dts",
|
|
39
39
|
"build-lib": "rollup -c",
|
|
40
40
|
"build:styles": " node tools/build-styles",
|
|
41
|
-
"chromatic": "npx chromatic --project-token=chpt_9c33d11ef14064f --output-dir ./docs
|
|
41
|
+
"chromatic": "npx chromatic --project-token=chpt_9c33d11ef14064f --output-dir ./docs"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@babel/core": "^7.12.10",
|
package/src/elements/Button.tsx
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
// "use client"
|
|
2
|
-
|
|
3
1
|
import * as React from "react"
|
|
4
|
-
// import { Slot } from "@radix-ui/react-slot"
|
|
5
2
|
import { cva, type VariantProps } from "class-variance-authority"
|
|
6
3
|
|
|
7
4
|
import { cn } from "../util"
|
|
@@ -61,7 +58,6 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
|
|
|
61
58
|
},
|
|
62
59
|
ref
|
|
63
60
|
) => {
|
|
64
|
-
// const Comp = asChild ? Slot : "button"
|
|
65
61
|
const Comp = "button"
|
|
66
62
|
return (
|
|
67
63
|
<Comp
|