@soybeanjs/ui 0.0.5 → 0.0.6-beta.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.
Files changed (92) hide show
  1. package/README.md +6 -0
  2. package/README.zh-CN.md +6 -0
  3. package/dist/components/accordion/accordion.vue.d.ts +3 -3
  4. package/dist/components/alert/alert.vue.d.ts +4 -4
  5. package/dist/components/alert-dialog/alert-dialog-action.vue.d.ts +3 -3
  6. package/dist/components/alert-dialog/alert-dialog-cancel.vue.d.ts +4 -4
  7. package/dist/components/alert-dialog/alert-dialog.vue.d.ts +4 -4
  8. package/dist/components/avatar/avatar.vue.d.ts +7 -7
  9. package/dist/components/badge/badge.vue.d.ts +4 -4
  10. package/dist/components/breadcrumb/breadcrumb.vue.d.ts +3 -3
  11. package/dist/components/button/button-group.vue.d.ts +6 -6
  12. package/dist/components/button/button-icon.vue.d.ts +3 -3
  13. package/dist/components/button/button-link.vue.d.ts +7 -5
  14. package/dist/components/button/button-loading.vue.d.ts +3 -3
  15. package/dist/components/button/button.vue.d.ts +4 -4
  16. package/dist/components/card/card.vue.d.ts +3 -3
  17. package/dist/components/checkbox/checkbox-card-group.vue.d.ts +3 -3
  18. package/dist/components/checkbox/checkbox-card.vue.d.ts +8 -8
  19. package/dist/components/checkbox/checkbox-group.vue.d.ts +3 -3
  20. package/dist/components/checkbox/checkbox.vue.d.ts +12 -12
  21. package/dist/components/collapsible/collapsible.vue.d.ts +5 -5
  22. package/dist/components/command/command.js +1 -1
  23. package/dist/components/command/command.vue.d.ts +8 -8
  24. package/dist/components/config-provider/config-provider.vue.d.ts +5 -5
  25. package/dist/components/context-menu/context-menu-checkbox.vue.d.ts +10 -10
  26. package/dist/components/context-menu/context-menu-radio.vue.d.ts +10 -10
  27. package/dist/components/context-menu/context-menu-wrapper.vue.d.ts +13 -13
  28. package/dist/components/context-menu/context-menu.vue.d.ts +9 -9
  29. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  30. package/dist/components/dialog/dialog-pure.vue.d.ts +12 -12
  31. package/dist/components/dialog/dialog.vue.d.ts +12 -12
  32. package/dist/components/drawer/drawer-close.vue.d.ts +2 -2
  33. package/dist/components/drawer/drawer.vue.d.ts +13 -13
  34. package/dist/components/dropdown-menu/dropdown-menu-checkbox.vue.d.ts +10 -10
  35. package/dist/components/dropdown-menu/dropdown-menu-radio.vue.d.ts +10 -10
  36. package/dist/components/dropdown-menu/dropdown-menu-wrapper.vue.d.ts +13 -13
  37. package/dist/components/dropdown-menu/dropdown-menu.vue.d.ts +9 -9
  38. package/dist/components/form/form-field-array.vue.d.ts +2 -2
  39. package/dist/components/form/form-field.vue.d.ts +2 -2
  40. package/dist/components/form/form.vue.d.ts +2 -2
  41. package/dist/components/icon/icon.vue.d.ts +4 -4
  42. package/dist/components/input/input.vue.d.ts +4 -4
  43. package/dist/components/kbd/kbd.vue.d.ts +3 -3
  44. package/dist/components/label/label.vue.d.ts +2 -2
  45. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  46. package/dist/components/layout/layout.vue.d.ts +4 -4
  47. package/dist/components/link/link.js +1 -1
  48. package/dist/components/link/link.vue.d.ts +6 -4
  49. package/dist/components/list/list-item.vue.d.ts +2 -2
  50. package/dist/components/list/list.vue.d.ts +2 -2
  51. package/dist/components/menu/menu-checkbox-options.vue.d.ts +3 -3
  52. package/dist/components/menu/menu-option.js +1 -1
  53. package/dist/components/menu/menu-option.vue.d.ts +9 -9
  54. package/dist/components/menu/menu-options.vue.d.ts +9 -9
  55. package/dist/components/menu/menu-radio-options.vue.d.ts +3 -3
  56. package/dist/components/navigation-menu/navigation-menu-option.js +1 -1
  57. package/dist/components/navigation-menu/navigation-menu.vue.d.ts +13 -13
  58. package/dist/components/number-input/number-input.vue.d.ts +4 -4
  59. package/dist/components/pagination/pagination.vue.d.ts +4 -4
  60. package/dist/components/password/password.vue.d.ts +4 -4
  61. package/dist/components/popover/popover.vue.d.ts +11 -11
  62. package/dist/components/radio-group/radio-card-group.vue.d.ts +3 -3
  63. package/dist/components/radio-group/radio-card.vue.d.ts +2 -2
  64. package/dist/components/radio-group/radio-group.vue.d.ts +3 -3
  65. package/dist/components/radio-group/radio.vue.d.ts +2 -2
  66. package/dist/components/segment/segment.vue.d.ts +3 -3
  67. package/dist/components/select/select.vue.d.ts +8 -8
  68. package/dist/components/separator/separator.vue.d.ts +5 -5
  69. package/dist/components/switch/switch.vue.d.ts +19 -19
  70. package/dist/components/tabs/tabs.vue.d.ts +3 -3
  71. package/dist/components/tag/tag.vue.d.ts +4 -4
  72. package/dist/components/textarea/textarea.vue.d.ts +4 -4
  73. package/dist/components/tooltip/tooltip.vue.d.ts +7 -7
  74. package/dist/components/tree/tree-virtualizer.vue.d.ts +5 -5
  75. package/dist/components/tree/tree.vue.d.ts +5 -5
  76. package/dist/components/tree-menu/tree-menu-item-wrapper.vue.d.ts +2 -2
  77. package/dist/components/tree-menu/tree-menu-item.js +1 -1
  78. package/dist/components/tree-menu/tree-menu.vue.d.ts +3 -3
  79. package/dist/components/virtualizer/virtualizer.vue.d.ts +3 -3
  80. package/dist/variants/alert.d.ts +3 -3
  81. package/dist/variants/badge.d.ts +3 -3
  82. package/dist/variants/button.d.ts +3 -3
  83. package/dist/variants/checkbox.d.ts +3 -3
  84. package/dist/variants/kbd.d.ts +3 -3
  85. package/dist/variants/pagination.d.ts +3 -3
  86. package/dist/variants/radio-group.d.ts +3 -3
  87. package/dist/variants/separator.d.ts +3 -3
  88. package/dist/variants/switch.d.ts +3 -3
  89. package/dist/variants/tabs.d.ts +3 -3
  90. package/dist/variants/tag.d.ts +3 -3
  91. package/dist/variants/textarea.d.ts +3 -3
  92. package/package.json +10 -10
@@ -1,8 +1,8 @@
1
- import * as tailwind_variants23 from "tailwind-variants";
1
+ import * as tailwind_variants19 from "tailwind-variants";
2
2
  import { VariantProps } from "tailwind-variants";
3
3
 
4
4
  //#region src/variants/separator.d.ts
5
- declare const separatorVariants: tailwind_variants23.TVReturnType<{
5
+ declare const separatorVariants: tailwind_variants19.TVReturnType<{
6
6
  size: {
7
7
  xs: {
8
8
  label: string;
@@ -114,7 +114,7 @@ declare const separatorVariants: tailwind_variants23.TVReturnType<{
114
114
  }, {
115
115
  root: string;
116
116
  label: string;
117
- }, tailwind_variants23.TVReturnType<{
117
+ }, tailwind_variants19.TVReturnType<{
118
118
  size: {
119
119
  xs: {
120
120
  label: string;
@@ -1,8 +1,8 @@
1
- import * as tailwind_variants9 from "tailwind-variants";
1
+ import * as tailwind_variants31 from "tailwind-variants";
2
2
  import { VariantProps } from "tailwind-variants";
3
3
 
4
4
  //#region src/variants/switch.d.ts
5
- declare const switchVariants: tailwind_variants9.TVReturnType<{
5
+ declare const switchVariants: tailwind_variants31.TVReturnType<{
6
6
  color: {
7
7
  primary: {
8
8
  control: string;
@@ -136,7 +136,7 @@ declare const switchVariants: tailwind_variants9.TVReturnType<{
136
136
  root: string;
137
137
  control: string[];
138
138
  thumb: string;
139
- }, tailwind_variants9.TVReturnType<{
139
+ }, tailwind_variants31.TVReturnType<{
140
140
  color: {
141
141
  primary: {
142
142
  control: string;
@@ -1,8 +1,8 @@
1
- import * as tailwind_variants5 from "tailwind-variants";
1
+ import * as tailwind_variants1 from "tailwind-variants";
2
2
  import { VariantProps } from "tailwind-variants";
3
3
 
4
4
  //#region src/variants/tabs.d.ts
5
- declare const tabsVariants: tailwind_variants5.TVReturnType<{
5
+ declare const tabsVariants: tailwind_variants1.TVReturnType<{
6
6
  size: {
7
7
  xs: {
8
8
  root: string;
@@ -148,7 +148,7 @@ declare const tabsVariants: tailwind_variants5.TVReturnType<{
148
148
  indicator: string;
149
149
  indicatorContent: string;
150
150
  content: string;
151
- }, tailwind_variants5.TVReturnType<{
151
+ }, tailwind_variants1.TVReturnType<{
152
152
  size: {
153
153
  xs: {
154
154
  root: string;
@@ -1,8 +1,8 @@
1
- import * as tailwind_variants7 from "tailwind-variants";
1
+ import * as tailwind_variants3 from "tailwind-variants";
2
2
  import { VariantProps } from "tailwind-variants";
3
3
 
4
4
  //#region src/variants/tag.d.ts
5
- declare const tagVariants: tailwind_variants7.TVReturnType<{
5
+ declare const tagVariants: tailwind_variants3.TVReturnType<{
6
6
  color: {
7
7
  primary: string;
8
8
  destructive: string;
@@ -64,7 +64,7 @@ declare const tagVariants: tailwind_variants7.TVReturnType<{
64
64
  auto: string;
65
65
  rounded: string;
66
66
  };
67
- }, undefined, tailwind_variants7.TVReturnType<{
67
+ }, undefined, tailwind_variants3.TVReturnType<{
68
68
  color: {
69
69
  primary: string;
70
70
  destructive: string;
@@ -1,8 +1,8 @@
1
- import * as tailwind_variants0 from "tailwind-variants";
1
+ import * as tailwind_variants29 from "tailwind-variants";
2
2
  import { VariantProps } from "tailwind-variants";
3
3
 
4
4
  //#region src/variants/textarea.d.ts
5
- declare const textareaVariants: tailwind_variants0.TVReturnType<{
5
+ declare const textareaVariants: tailwind_variants29.TVReturnType<{
6
6
  size: {
7
7
  xs: {
8
8
  root: string;
@@ -118,7 +118,7 @@ declare const textareaVariants: tailwind_variants0.TVReturnType<{
118
118
  control: string[];
119
119
  counter: string;
120
120
  clearable: string;
121
- }, tailwind_variants0.TVReturnType<{
121
+ }, tailwind_variants29.TVReturnType<{
122
122
  size: {
123
123
  xs: {
124
124
  root: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soybeanjs/ui",
3
3
  "type": "module",
4
- "version": "0.0.5",
4
+ "version": "0.0.6-beta.1",
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",
@@ -52,32 +52,32 @@
52
52
  "fuse.js": "^7.1.0",
53
53
  "tailwind-merge": "^3.4.0",
54
54
  "tailwind-variants": "^3.1.1",
55
- "@soybeanjs/headless": "^0.0.5"
55
+ "@soybeanjs/headless": "^0.0.6-beta.1"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@soybeanjs/cli": "^1.4.1",
59
59
  "@soybeanjs/eslint-config": "^1.7.4",
60
60
  "@soybeanjs/unocss-preset": "^0.1.7",
61
61
  "@types/node": "^24.10.1",
62
- "@unocss/cli": "^66.5.7",
63
- "@vitest/coverage-v8": "^4.0.10",
62
+ "@unocss/cli": "^66.5.9",
63
+ "@vitest/coverage-v8": "^4.0.13",
64
64
  "@vue/test-utils": "^2.4.6",
65
65
  "eslint": "^9.39.1",
66
- "eslint-plugin-vue": "^10.5.1",
66
+ "eslint-plugin-vue": "^10.6.0",
67
67
  "happy-dom": "^20.0.10",
68
- "lint-staged": "^16.2.6",
68
+ "lint-staged": "^16.2.7",
69
69
  "simple-git-hooks": "^2.13.1",
70
- "tsdown": "^0.16.5",
70
+ "tsdown": "^0.16.6",
71
71
  "tsx": "^4.20.6",
72
72
  "typescript": "^5.9.3",
73
- "unocss": "^66.5.7",
73
+ "unocss": "^66.5.9",
74
74
  "unocss-preset-animations": "^1.3.0",
75
75
  "unplugin-vue": "^7.0.8",
76
76
  "unplugin-vue-components": "^30.0.0",
77
77
  "unplugin-vue-jsx": "^0.8.1",
78
- "vite": "^7.2.2",
78
+ "vite": "^7.2.4",
79
79
  "vite-plugin-vue-devtools": "^8.0.5",
80
- "vitest": "^4.0.10",
80
+ "vitest": "^4.0.13",
81
81
  "vue": "^3.5.24",
82
82
  "vue-eslint-parser": "^10.2.0",
83
83
  "vue-router": "^4.6.3",