@soybeanjs/ui 0.0.15 → 0.0.17
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/components/accordion/accordion.vue.d.ts +3 -3
- package/dist/components/alert/alert.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
- package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +4 -4
- package/dist/components/alert-dialog/alert-dialog.vue.d.ts +4 -4
- package/dist/components/avatar/avatar.vue.d.ts +7 -7
- package/dist/components/badge/badge.vue.d.ts +4 -4
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
- package/dist/components/button/button-group.vue.d.ts +6 -6
- package/dist/components/button/button-icon.vue.d.ts +3 -3
- package/dist/components/button/button-link.vue.d.ts +4 -4
- package/dist/components/button/button-loading.vue.d.ts +3 -3
- package/dist/components/button/button.vue.d.ts +4 -4
- package/dist/components/card/card.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
- package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
- package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
- package/dist/components/collapsible/collapsible.vue.d.ts +4 -4
- package/dist/components/command/command.vue.d.ts +8 -8
- package/dist/components/config-provider/config-provider.js +1 -1
- package/dist/components/config-provider/config-provider.vue.d.ts +9 -9
- package/dist/components/config-provider/types.d.ts +1 -1
- package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +10 -10
- package/dist/components/context-menu/context-menu-radio.vue.d.ts +10 -10
- package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +13 -13
- package/dist/components/context-menu/context-menu.vue.d.ts +9 -9
- package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
- package/dist/components/dialog/dialog-pure.vue.d.ts +11 -11
- package/dist/components/dialog/dialog.vue.d.ts +11 -11
- package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
- package/dist/components/drawer/drawer.vue.d.ts +11 -11
- package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +10 -10
- package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +10 -10
- package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +13 -13
- package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +9 -9
- package/dist/components/form/form.vue.d.ts +2 -2
- package/dist/components/form/use-form.d.ts +22 -22
- package/dist/components/icon/icon.vue.d.ts +3 -3
- package/dist/components/input/input.vue.d.ts +4 -4
- package/dist/components/kbd/kbd.vue.d.ts +3 -3
- package/dist/components/label/label.vue.d.ts +2 -2
- package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
- package/dist/components/layout/layout.vue.d.ts +4 -4
- package/dist/components/link/link.vue.d.ts +3 -3
- package/dist/components/list/list-item.vue.d.ts +2 -2
- package/dist/components/list/list.vue.d.ts +2 -2
- package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
- package/dist/components/menu/menu-option.vue.d.ts +9 -9
- package/dist/components/menu/menu-options.vue.d.ts +9 -9
- package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
- package/dist/components/navigation-menu/navigation-menu.vue.d.ts +13 -13
- package/dist/components/number-input/number-input.vue.d.ts +4 -4
- package/dist/components/pagination/pagination.vue.d.ts +4 -4
- package/dist/components/password/password.vue.d.ts +4 -4
- package/dist/components/popover/popover.vue.d.ts +12 -12
- package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
- package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
- package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
- package/dist/components/radio-group/radio.vue.d.ts +2 -2
- package/dist/components/segment/segment.vue.d.ts +3 -3
- package/dist/components/select/select-option.js +1 -1
- package/dist/components/select/select.vue.d.ts +16 -16
- package/dist/components/select/types.d.ts +2 -2
- package/dist/components/separator/separator.vue.d.ts +5 -5
- package/dist/components/switch/switch.vue.d.ts +22 -22
- package/dist/components/tabs/tabs.vue.d.ts +3 -3
- package/dist/components/tag/tag.vue.d.ts +4 -4
- package/dist/components/textarea/textarea.vue.d.ts +4 -4
- package/dist/components/tooltip/tooltip.vue.d.ts +8 -8
- package/dist/components/tree/tree-virtualizer.vue.d.ts +5 -5
- package/dist/components/tree/tree.vue.d.ts +5 -5
- package/dist/components/tree-menu/tree-menu-styled-item.vue.d.ts +2 -2
- package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
- package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
- package/dist/styles.css +40 -255
- package/dist/variants/badge.d.ts +3 -3
- package/dist/variants/button.d.ts +3 -3
- package/dist/variants/checkbox.d.ts +3 -3
- package/dist/variants/kbd.d.ts +3 -3
- package/dist/variants/pagination.d.ts +3 -3
- package/dist/variants/radio-group.d.ts +3 -3
- package/dist/variants/select.js +1 -1
- package/dist/variants/separator.d.ts +3 -3
- package/dist/variants/switch.d.ts +3 -3
- package/dist/variants/tabs.d.ts +3 -3
- package/dist/variants/tag.d.ts +3 -3
- package/dist/variants/textarea.d.ts +3 -3
- package/dist/variants/toast.d.ts +3 -3
- package/package.json +12 -9
- package/dist/components/config-provider/shared.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants19 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/textarea.d.ts
|
|
5
|
-
declare const textareaVariants:
|
|
5
|
+
declare const textareaVariants: tailwind_variants19.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
root: string;
|
|
@@ -118,7 +118,7 @@ declare const textareaVariants: tailwind_variants27.TVReturnType<{
|
|
|
118
118
|
control: string[];
|
|
119
119
|
counter: string;
|
|
120
120
|
clearable: string;
|
|
121
|
-
},
|
|
121
|
+
}, tailwind_variants19.TVReturnType<{
|
|
122
122
|
size: {
|
|
123
123
|
xs: {
|
|
124
124
|
root: string;
|
package/dist/variants/toast.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants25 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/variants/toast.d.ts
|
|
5
5
|
|
|
6
|
-
declare const toastViewportVariants:
|
|
6
|
+
declare const toastViewportVariants: tailwind_variants25.TVReturnType<{
|
|
7
7
|
size: {
|
|
8
8
|
xs: string;
|
|
9
9
|
sm: string;
|
|
@@ -37,7 +37,7 @@ declare const toastViewportVariants: tailwind_variants29.TVReturnType<{
|
|
|
37
37
|
'bottom-left': string;
|
|
38
38
|
'bottom-right': string;
|
|
39
39
|
};
|
|
40
|
-
}, undefined,
|
|
40
|
+
}, undefined, tailwind_variants25.TVReturnType<{
|
|
41
41
|
size: {
|
|
42
42
|
xs: string;
|
|
43
43
|
sm: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.17",
|
|
5
5
|
"description": "SoybeanUI is built on top of SoybeanHeadless, providing a collection of styled components for Vue 3.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Soybean",
|
|
@@ -47,35 +47,37 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@formkit/auto-animate": "^0.9.0",
|
|
49
49
|
"@iconify/vue": "^5.0.0",
|
|
50
|
-
"@soybeanjs/
|
|
50
|
+
"@soybeanjs/colord": "^0.3.5",
|
|
51
|
+
"@soybeanjs/shadcn-theme": "^0.1.0",
|
|
51
52
|
"clsx": "^2.1.1",
|
|
52
53
|
"fuse.js": "^7.1.0",
|
|
53
54
|
"tailwind-merge": "^3.4.0",
|
|
54
55
|
"tailwind-variants": "^3.2.2",
|
|
55
56
|
"valibot": "^1.2.0",
|
|
56
57
|
"zod": "^4.3.5",
|
|
57
|
-
"@soybeanjs/headless": "^0.0.
|
|
58
|
+
"@soybeanjs/headless": "^0.0.17"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
60
61
|
"@soybeanjs/cli": "^1.4.4",
|
|
61
62
|
"@soybeanjs/eslint-config": "^1.7.5",
|
|
62
63
|
"@soybeanjs/unocss-preset": "^0.2.0",
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
64
|
+
"@soybeanjs/unocss-shadcn": "^0.3.3",
|
|
65
|
+
"@types/node": "^25.0.9",
|
|
66
|
+
"@unocss/cli": "^66.6.0",
|
|
65
67
|
"@vitest/coverage-v8": "^4.0.17",
|
|
66
68
|
"@vue/test-utils": "^2.4.6",
|
|
67
69
|
"eslint": "^9.39.2",
|
|
68
|
-
"eslint-plugin-vue": "^10.
|
|
69
|
-
"happy-dom": "^20.1
|
|
70
|
+
"eslint-plugin-vue": "^10.7.0",
|
|
71
|
+
"happy-dom": "^20.3.1",
|
|
70
72
|
"lint-staged": "^16.2.7",
|
|
71
73
|
"simple-git-hooks": "^2.13.1",
|
|
72
74
|
"tsdown": "^0.19.0",
|
|
73
75
|
"tsx": "^4.21.0",
|
|
74
76
|
"typescript": "^5.9.3",
|
|
75
|
-
"unocss": "^66.
|
|
77
|
+
"unocss": "^66.6.0",
|
|
76
78
|
"unocss-preset-animations": "^1.3.0",
|
|
77
79
|
"unplugin-vue": "^7.1.0",
|
|
78
|
-
"unplugin-vue-components": "^
|
|
80
|
+
"unplugin-vue-components": "^31.0.0",
|
|
79
81
|
"unplugin-vue-jsx": "^0.8.1",
|
|
80
82
|
"vite": "^7.3.1",
|
|
81
83
|
"vite-plugin-vue-devtools": "^8.0.5",
|
|
@@ -105,6 +107,7 @@
|
|
|
105
107
|
"dev:docs": "pnpm --filter @soybeanjs/ui-docs dev",
|
|
106
108
|
"lint": "eslint . --fix",
|
|
107
109
|
"preview": "vite preview",
|
|
110
|
+
"preview:docs": "pnpm --filter @soybeanjs/ui-docs preview",
|
|
108
111
|
"publish-pkg": "pnpm publish -r --access public",
|
|
109
112
|
"release": "soy release",
|
|
110
113
|
"stub": "tsx scripts/stub.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e={color:`default`,radius:.5,darkSelector:`.dark`};function t(t){return Object.keys(t).every(n=>t[n]===e[n])}function n(e){let t=`default`;return typeof e==`string`&&(t=e),typeof e==`object`&&(t=`base`in e&&e.base||e.name),t}export{n as getThemeName,t as isIncludeByDefaultTheme};
|