@rinzai/zen 0.1.4 → 0.1.5
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/badge/index.d.ts +1 -1
- package/dist/badge/index.d.ts.map +1 -1
- package/dist/button/index.d.ts +1 -1
- package/dist/button/index.d.ts.map +1 -1
- package/dist/dropdown/index.d.ts +1 -1
- package/dist/dropdown/index.d.ts.map +1 -1
- package/dist/input/index.d.ts +1 -1
- package/dist/input/index.d.ts.map +1 -1
- package/dist/toggle/index.d.ts +1 -1
- package/dist/toggle/index.d.ts.map +1 -1
- package/package.json +8 -22
- package/dist/zen/index.d.ts +0 -11
- package/dist/zen/index.d.ts.map +0 -1
- /package/dist/{index.css → zen.css} +0 -0
- /package/dist/{index.js → zen.js} +0 -0
package/dist/badge/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from '../utils/cva';
|
|
2
|
-
import { ComponentProps } from '
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
3
|
export default function Badge({ variant, className, ...rest }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const badgeVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/badge/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAO,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/badge/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAO,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,UAAU,2CAExE;AACD,QAAA,MAAM,aAAa;;;;;;;;;;;0BAelB,CAAC;AACF,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG"}
|
package/dist/button/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from '../utils/cva';
|
|
2
|
-
import { ComponentProps } from '
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
3
|
export default function Button({ className, variant, size, ...rest }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const buttonVariants: (props?: ({
|
|
5
5
|
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | "icon" | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,WAAW,2CAEhF;AACD,QAAA,MAAM,cAAc;;;;;;;;;;;;0BAyBnB,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC;CAAG"}
|
package/dist/dropdown/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps } from '
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
2
|
export default function Dropdown(props: (MultiSelectProps | SingleSelectProps) & (MutableDropdownProps | ImmutableDropdownProps) & DropdownProps & Omit<ComponentProps<'input'>, 'onChange'>): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export interface SingleSelectProps {
|
|
4
4
|
selected: DropdownItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/dropdown/index.tsx"],"names":[],"mappings":"AAOA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/dropdown/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAe,cAAc,EAA6B,MAAM,OAAO,CAAC;AAE/E,MAAM,CAAC,OAAO,UAAU,QAAQ,CAC5B,KAAK,EAAE,CAAC,gBAAgB,GAAG,iBAAiB,CAAC,GACzC,CAAC,oBAAoB,GAAG,sBAAsB,CAAC,GAC/C,aAAa,GACb,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,2CA2FhD;AACD,MAAM,WAAW,iBAAiB;IAC9B,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB;AACD,MAAM,WAAW,gBAAgB;IAC7B,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,IAAI,CAAC;CAClB;AACD,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB;AACD,MAAM,WAAW,oBAAoB;IACjC,OAAO,EAAE,IAAI,CAAC;IACd,KAAK,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;CACvC;AACD,MAAM,WAAW,sBAAsB;IACnC,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB;AACD,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACf,CAAC"}
|
package/dist/input/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/input/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/input/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,UAAU,2CAe9C;AAED,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC"}
|
package/dist/toggle/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/toggle/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/toggle/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC;IAC1E,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,WAAW,2CAsBhD"}
|
package/package.json
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rinzai/zen",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
|
-
"module": "./dist/
|
|
6
|
+
"module": "./dist/zen.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
|
-
"import": "./dist/
|
|
14
|
-
"require": "./dist/index.js"
|
|
13
|
+
"import": "./dist/zen.js"
|
|
15
14
|
},
|
|
16
15
|
"./css": {
|
|
17
|
-
"import": "./dist/
|
|
18
|
-
"require": "./dist/index.css"
|
|
16
|
+
"import": "./dist/zen.css"
|
|
19
17
|
}
|
|
20
18
|
},
|
|
21
19
|
"scripts": {
|
|
@@ -23,16 +21,13 @@
|
|
|
23
21
|
"lint": "eslint packages/**/*.{ts,tsx}",
|
|
24
22
|
"lint:fix": "eslint --fix packages/**/*.{ts,tsx}",
|
|
25
23
|
"format": "prettier --write packages/**/*.{ts,tsx,css} --config ./.prettierrc",
|
|
26
|
-
"prepare": "husky",
|
|
27
24
|
"dev": "storybook dev -p 6006",
|
|
28
25
|
"build-storybook": "storybook build",
|
|
29
26
|
"prepublishOnly": "npm run build"
|
|
30
27
|
},
|
|
31
28
|
"dependencies": {
|
|
32
29
|
"@floating-ui/react-dom": "^2.1.2",
|
|
33
|
-
"@tanstack/react-virtual": "^3.11.1"
|
|
34
|
-
"react": "^19.0.0",
|
|
35
|
-
"react-dom": "^19.0.0"
|
|
30
|
+
"@tanstack/react-virtual": "^3.11.1"
|
|
36
31
|
},
|
|
37
32
|
"devDependencies": {
|
|
38
33
|
"@eslint/js": "^9.16.0",
|
|
@@ -66,21 +61,12 @@
|
|
|
66
61
|
"typescript-eslint": "^8.18.0",
|
|
67
62
|
"vite": "^6",
|
|
68
63
|
"vite-plugin-dts": "^4",
|
|
69
|
-
"vite-tsconfig-paths": "^5"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"hooks": {
|
|
73
|
-
"pre-commit": "lint-staged"
|
|
74
|
-
}
|
|
64
|
+
"vite-tsconfig-paths": "^5",
|
|
65
|
+
"react": "^19.0.0",
|
|
66
|
+
"react-dom": "^19.0.0"
|
|
75
67
|
},
|
|
76
68
|
"peerDependencies": {
|
|
77
69
|
"react": "^19.0.0",
|
|
78
70
|
"react-dom": "^19.0.0"
|
|
79
|
-
},
|
|
80
|
-
"lint-staged": {
|
|
81
|
-
"components/**/*.{js,jsx,ts,tsx}": [
|
|
82
|
-
"npx eslint",
|
|
83
|
-
"npm run format"
|
|
84
|
-
]
|
|
85
71
|
}
|
|
86
72
|
}
|
package/dist/zen/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
type TagProp<Tag extends React.ElementType> = {
|
|
3
|
-
tag?: Tag;
|
|
4
|
-
asChild?: boolean;
|
|
5
|
-
};
|
|
6
|
-
export type ComponentProps<Tag extends React.ElementType> = React.PropsWithChildren<TagProp<Tag>> & Omit<React.ComponentPropsWithRef<Tag>, keyof TagProp<Tag>> & {
|
|
7
|
-
visible?: boolean;
|
|
8
|
-
};
|
|
9
|
-
export type BaseType = <Tag extends React.ElementType = 'div'>(props: ComponentProps<Tag>) => React.ReactNode;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/zen/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../packages/zen/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,OAAO,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI;IAC1C,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAC7F,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG;IACzD,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AACN,MAAM,MAAM,QAAQ,GAAG,CAAC,GAAG,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,KAAK,EAAE,cAAc,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC"}
|
|
File without changes
|
|
File without changes
|