@byyuurin/ui 0.1.0 → 0.3.0

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 (140) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +5 -3
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +2 -2
  5. package/dist/runtime/components/Accordion.vue +41 -41
  6. package/dist/runtime/components/Accordion.vue.d.ts +11 -7
  7. package/dist/runtime/components/Alert.vue +63 -63
  8. package/dist/runtime/components/Alert.vue.d.ts +4 -4
  9. package/dist/runtime/components/App.vue +11 -10
  10. package/dist/runtime/components/App.vue.d.ts +11 -7
  11. package/dist/runtime/components/Avatar.vue +29 -29
  12. package/dist/runtime/components/Avatar.vue.d.ts +4 -3
  13. package/dist/runtime/components/AvatarGroup.vue +4 -4
  14. package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
  15. package/dist/runtime/components/Badge.vue +32 -32
  16. package/dist/runtime/components/Badge.vue.d.ts +2 -2
  17. package/dist/runtime/components/Breadcrumb.vue +49 -49
  18. package/dist/runtime/components/Breadcrumb.vue.d.ts +10 -6
  19. package/dist/runtime/components/Button.vue +52 -51
  20. package/dist/runtime/components/Button.vue.d.ts +1 -1
  21. package/dist/runtime/components/Calendar.vue +75 -77
  22. package/dist/runtime/components/Calendar.vue.d.ts +16 -12
  23. package/dist/runtime/components/Card.vue +41 -41
  24. package/dist/runtime/components/Card.vue.d.ts +1 -1
  25. package/dist/runtime/components/Carousel.vue +85 -66
  26. package/dist/runtime/components/Carousel.vue.d.ts +14 -10
  27. package/dist/runtime/components/Checkbox.vue +46 -46
  28. package/dist/runtime/components/Checkbox.vue.d.ts +4 -3
  29. package/dist/runtime/components/CheckboxGroup.vue +131 -0
  30. package/dist/runtime/components/CheckboxGroup.vue.d.ts +93 -0
  31. package/dist/runtime/components/Chip.vue +15 -15
  32. package/dist/runtime/components/Chip.vue.d.ts +2 -2
  33. package/dist/runtime/components/Collapsible.vue +14 -14
  34. package/dist/runtime/components/Collapsible.vue.d.ts +2 -2
  35. package/dist/runtime/components/Drawer.vue +76 -76
  36. package/dist/runtime/components/Drawer.vue.d.ts +6 -6
  37. package/dist/runtime/components/DropdownMenu.vue +28 -28
  38. package/dist/runtime/components/DropdownMenu.vue.d.ts +17 -9
  39. package/dist/runtime/components/DropdownMenuContent.vue +152 -153
  40. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +11 -7
  41. package/dist/runtime/components/FieldGroup.vue +3 -3
  42. package/dist/runtime/components/FieldGroup.vue.d.ts +2 -2
  43. package/dist/runtime/components/Form.vue +9 -9
  44. package/dist/runtime/components/Form.vue.d.ts +13 -8
  45. package/dist/runtime/components/FormField.vue +39 -38
  46. package/dist/runtime/components/FormField.vue.d.ts +7 -2
  47. package/dist/runtime/components/Icon.vue +2 -2
  48. package/dist/runtime/components/Icon.vue.d.ts +1 -1
  49. package/dist/runtime/components/Input.vue +48 -48
  50. package/dist/runtime/components/Input.vue.d.ts +16 -12
  51. package/dist/runtime/components/InputNumber.vue +48 -50
  52. package/dist/runtime/components/InputNumber.vue.d.ts +128 -129
  53. package/dist/runtime/components/InputTags.vue +156 -0
  54. package/dist/runtime/components/InputTags.vue.d.ts +90 -0
  55. package/dist/runtime/components/Kbd.vue +3 -3
  56. package/dist/runtime/components/Kbd.vue.d.ts +2 -2
  57. package/dist/runtime/components/Link.vue +26 -25
  58. package/dist/runtime/components/Link.vue.d.ts +16 -6
  59. package/dist/runtime/components/LinkBase.vue +3 -3
  60. package/dist/runtime/components/LinkBase.vue.d.ts +2 -2
  61. package/dist/runtime/components/Marquee.vue +38 -0
  62. package/dist/runtime/components/Marquee.vue.d.ts +54 -0
  63. package/dist/runtime/components/Modal.vue +74 -74
  64. package/dist/runtime/components/Modal.vue.d.ts +6 -6
  65. package/dist/runtime/components/NavigationMenu.vue +243 -234
  66. package/dist/runtime/components/NavigationMenu.vue.d.ts +53 -14
  67. package/dist/runtime/components/OverlayProvider.vue +9 -9
  68. package/dist/runtime/components/Pagination.vue +47 -47
  69. package/dist/runtime/components/Pagination.vue.d.ts +4 -4
  70. package/dist/runtime/components/PinInput.vue +23 -23
  71. package/dist/runtime/components/PinInput.vue.d.ts +14 -10
  72. package/dist/runtime/components/Popover.vue +22 -22
  73. package/dist/runtime/components/Popover.vue.d.ts +11 -7
  74. package/dist/runtime/components/Progress.vue +25 -25
  75. package/dist/runtime/components/Progress.vue.d.ts +2 -2
  76. package/dist/runtime/components/RadioGroup.vue +50 -50
  77. package/dist/runtime/components/RadioGroup.vue.d.ts +13 -9
  78. package/dist/runtime/components/ScrollArea.vue +32 -32
  79. package/dist/runtime/components/ScrollArea.vue.d.ts +2 -2
  80. package/dist/runtime/components/Select.vue +299 -148
  81. package/dist/runtime/components/Select.vue.d.ts +103 -123
  82. package/dist/runtime/components/Separator.vue +30 -30
  83. package/dist/runtime/components/Separator.vue.d.ts +2 -2
  84. package/dist/runtime/components/Skeleton.vue +11 -11
  85. package/dist/runtime/components/Skeleton.vue.d.ts +2 -2
  86. package/dist/runtime/components/Slider.vue +25 -25
  87. package/dist/runtime/components/Slider.vue.d.ts +11 -7
  88. package/dist/runtime/components/Stepper.vue +116 -0
  89. package/dist/runtime/components/Stepper.vue.d.ts +83 -0
  90. package/dist/runtime/components/Switch.vue +30 -30
  91. package/dist/runtime/components/Switch.vue.d.ts +4 -3
  92. package/dist/runtime/components/Table.vue +188 -166
  93. package/dist/runtime/components/Table.vue.d.ts +27 -22
  94. package/dist/runtime/components/Tabs.vue +74 -74
  95. package/dist/runtime/components/Tabs.vue.d.ts +12 -8
  96. package/dist/runtime/components/Textarea.vue +47 -47
  97. package/dist/runtime/components/Textarea.vue.d.ts +16 -11
  98. package/dist/runtime/components/Timeline.vue +102 -0
  99. package/dist/runtime/components/Timeline.vue.d.ts +78 -0
  100. package/dist/runtime/components/Toast.vue +93 -93
  101. package/dist/runtime/components/Toast.vue.d.ts +5 -5
  102. package/dist/runtime/components/ToastProvider.vue +29 -29
  103. package/dist/runtime/components/ToastProvider.vue.d.ts +3 -3
  104. package/dist/runtime/components/Tooltip.vue +24 -25
  105. package/dist/runtime/components/Tooltip.vue.d.ts +2 -2
  106. package/dist/runtime/components/Tree.vue +241 -0
  107. package/dist/runtime/components/Tree.vue.d.ts +121 -0
  108. package/dist/runtime/composables/defineShortcuts.d.ts +1 -0
  109. package/dist/runtime/composables/defineShortcuts.js +44 -8
  110. package/dist/runtime/composables/useLocale.d.ts +12 -0
  111. package/dist/runtime/locale/en.d.ts +6 -0
  112. package/dist/runtime/locale/en.js +6 -0
  113. package/dist/runtime/locale/zh_tw.d.ts +6 -0
  114. package/dist/runtime/locale/zh_tw.js +6 -0
  115. package/dist/runtime/types/html.d.ts +8 -0
  116. package/dist/runtime/types/html.js +0 -0
  117. package/dist/runtime/types/index.d.ts +7 -0
  118. package/dist/runtime/types/index.js +7 -0
  119. package/dist/runtime/types/input.d.ts +5 -5
  120. package/dist/runtime/types/locale.d.ts +6 -0
  121. package/dist/runtime/types/unocss.d.ts +4 -4
  122. package/dist/runtime/types/utils.d.ts +9 -6
  123. package/dist/runtime/utils/index.d.ts +3 -3
  124. package/dist/runtime/utils/link.d.ts +2 -1
  125. package/dist/runtime/utils/link.js +40 -29
  126. package/dist/runtime/vue/components/Icon.vue +2 -2
  127. package/dist/runtime/vue/components/Icon.vue.d.ts +1 -1
  128. package/dist/runtime/vue/components/Link.vue +7 -12
  129. package/dist/runtime/vue/components/Link.vue.d.ts +11 -40
  130. package/dist/setup.d.mts +1 -1
  131. package/dist/shared/{ui.CzIlLITK.mjs → ui.9kQouwss.mjs} +5 -3
  132. package/dist/shared/{ui.DpbffTXs.d.mts → ui.D8Bg1HWt.d.mts} +2 -0
  133. package/dist/shared/{ui.DSyJHSTk.mjs → ui.DpkP12cX.mjs} +784 -84
  134. package/dist/unocss.mjs +1 -1
  135. package/dist/unplugin.d.mts +1 -1
  136. package/dist/unplugin.mjs +2 -2
  137. package/dist/vite.d.mts +1 -1
  138. package/dist/vite.mjs +2 -2
  139. package/package.json +29 -29
  140. package/vue-plugin.d.ts +5 -5
package/dist/unocss.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { colors } from '@unocss/preset-wind4/colors';
2
2
  import { parseColor } from '@unocss/preset-wind4/utils';
3
- import { r as resolveColors } from './shared/ui.CzIlLITK.mjs';
3
+ import { r as resolveColors } from './shared/ui.9kQouwss.mjs';
4
4
  import '../dist/runtime/utils/index.js';
5
5
 
6
6
  function createUnoPreset(options = {}) {
@@ -2,7 +2,7 @@ import 'unplugin';
2
2
  import 'unplugin-auto-import/types';
3
3
  import 'unplugin-vue-components/types';
4
4
  import './shared/ui.IulR-OYx.mjs';
5
- export { U as UIOptions, r as runtimeDir, u as unplugin } from './shared/ui.DpbffTXs.mjs';
5
+ export { U as UIOptions, r as runtimeDir, u as unplugin } from './shared/ui.D8Bg1HWt.mjs';
6
6
  import '@nuxt/schema';
7
7
  import '@unocss/preset-wind4/colors';
8
8
  import '../dist/runtime/types/index.js';
package/dist/unplugin.mjs CHANGED
@@ -2,8 +2,8 @@ import { fileURLToPath } from 'node:url';
2
2
  import { defu } from 'defu';
3
3
  import { join, normalize } from 'pathe';
4
4
  import { createUnplugin } from 'unplugin';
5
- import { g as getTemplates, n as name } from './shared/ui.DSyJHSTk.mjs';
6
- import { d as defaultOptions, r as resolveColors, g as getDefaultUIConfig } from './shared/ui.CzIlLITK.mjs';
5
+ import { g as getTemplates, n as name } from './shared/ui.DpkP12cX.mjs';
6
+ import { d as defaultOptions, r as resolveColors, g as getDefaultUIConfig } from './shared/ui.9kQouwss.mjs';
7
7
  import AutoImport from 'unplugin-auto-import';
8
8
  import { globSync } from 'tinyglobby';
9
9
  import AutoImportComponents from 'unplugin-vue-components';
package/dist/vite.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as vite from 'vite';
2
- import { U as UIOptions } from './shared/ui.DpbffTXs.mjs';
2
+ import { U as UIOptions } from './shared/ui.D8Bg1HWt.mjs';
3
3
  import 'unplugin';
4
4
  import 'unplugin-auto-import/types';
5
5
  import 'unplugin-vue-components/types';
package/dist/vite.mjs CHANGED
@@ -3,13 +3,13 @@ import 'node:url';
3
3
  import 'defu';
4
4
  import 'pathe';
5
5
  import 'unplugin';
6
- import './shared/ui.DSyJHSTk.mjs';
6
+ import './shared/ui.DpkP12cX.mjs';
7
7
  import 'node:process';
8
8
  import '@nuxt/kit';
9
9
  import '@unocss/config';
10
10
  import 'knitwork';
11
11
  import 'scule';
12
- import './shared/ui.CzIlLITK.mjs';
12
+ import './shared/ui.9kQouwss.mjs';
13
13
  import '../dist/runtime/utils/index.js';
14
14
  import '@byyuurin/ui-kit';
15
15
  import 'unplugin-auto-import';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@byyuurin/ui",
3
3
  "type": "module",
4
- "version": "0.1.0",
4
+ "version": "0.3.0",
5
5
  "description": "",
6
6
  "author": "Yuurin <byyuurin@gmail.com>",
7
7
  "license": "MIT",
@@ -129,17 +129,17 @@
129
129
  "@byyuurin/ui-kit": "^0.7.2",
130
130
  "@byyuurin/uno-merge": "^0.2.1",
131
131
  "@iconify/vue": "^5.0.0",
132
- "@internationalized/date": "^3.10.0",
132
+ "@internationalized/date": "^3.10.1",
133
133
  "@nuxt/fonts": "^0.11.4",
134
134
  "@nuxt/icon": "^1.15.0",
135
- "@nuxt/kit": "^4.2.1",
135
+ "@nuxt/kit": "^4.2.2",
136
136
  "@nuxtjs/color-mode": "^3.5.2",
137
- "@standard-schema/spec": "^1.0.0",
137
+ "@standard-schema/spec": "^1.1.0",
138
138
  "@tanstack/vue-table": "^8.21.3",
139
- "@tanstack/vue-virtual": "^3.13.12",
140
- "@unhead/vue": "^2.0.19",
141
- "@unocss/nuxt": "^66.5.5",
142
- "@vue/shared": "^3.5.24",
139
+ "@tanstack/vue-virtual": "^3.13.13",
140
+ "@unhead/vue": "^2.1.1",
141
+ "@unocss/nuxt": "^66.5.10",
142
+ "@vue/shared": "^3.5.26",
143
143
  "@vueuse/core": "^13.9.0",
144
144
  "defu": "^6.1.4",
145
145
  "embla-carousel": "^8.6.0",
@@ -150,47 +150,47 @@
150
150
  "embla-carousel-fade": "^8.6.0",
151
151
  "embla-carousel-vue": "^8.6.0",
152
152
  "embla-carousel-wheel-gestures": "^8.1.0",
153
- "knitwork": "^1.2.0",
153
+ "knitwork": "^1.3.0",
154
154
  "magic-string": "^0.30.21",
155
155
  "mlly": "^1.8.0",
156
156
  "ohash": "^2.0.11",
157
157
  "pathe": "^2.0.3",
158
- "reka-ui": "^2.6.0",
158
+ "reka-ui": "^2.7.0",
159
159
  "scule": "^1.3.0",
160
160
  "tinyglobby": "^0.2.15",
161
161
  "ufo": "^1.6.1",
162
- "unplugin": "^2.3.10",
163
- "unplugin-auto-import": "^20.2.0",
162
+ "unplugin": "^2.3.11",
163
+ "unplugin-auto-import": "^20.3.0",
164
164
  "unplugin-vue-components": "^30.0.0",
165
- "vue-component-type-helpers": "^3.1.3"
165
+ "vue-component-type-helpers": "^3.2.1"
166
166
  },
167
167
  "devDependencies": {
168
168
  "@byyuurin/eslint-config": "^1.9.0",
169
- "@iconify-json/lucide": "^1.2.72",
170
- "@nuxt/eslint-config": "^1.10.0",
169
+ "@iconify-json/lucide": "^1.2.82",
170
+ "@nuxt/eslint-config": "^1.12.1",
171
171
  "@nuxt/module-builder": "^1.0.2",
172
- "@nuxt/schema": "^4.2.1",
173
- "@nuxt/test-utils": "^3.20.1",
174
- "@types/node": "^22.19.0",
175
- "@unocss/core": "^66.5.5",
176
- "@unocss/preset-wind4": "^66.5.5",
177
- "@unocss/reset": "^66.5.5",
178
- "@vitejs/plugin-vue": "^6.0.1",
179
- "bumpp": "^10.3.1",
180
- "eslint": "^9.39.1",
172
+ "@nuxt/schema": "^4.2.2",
173
+ "@nuxt/test-utils": "^3.21.0",
174
+ "@types/node": "^22.19.3",
175
+ "@unocss/core": "^66.5.10",
176
+ "@unocss/preset-wind4": "^66.5.10",
177
+ "@unocss/reset": "^66.5.10",
178
+ "@vitejs/plugin-vue": "^6.0.3",
179
+ "bumpp": "^10.3.2",
180
+ "eslint": "^9.39.2",
181
181
  "eslint-plugin-format": "1.0.1",
182
182
  "esno": "^4.8.0",
183
- "lint-staged": "^16.2.6",
184
- "nuxt": "^4.2.1",
183
+ "lint-staged": "^16.2.7",
184
+ "nuxt": "^4.2.2",
185
185
  "simple-git-hooks": "^2.13.1",
186
186
  "superstruct": "^2.0.2",
187
187
  "typescript": "^5.9.3",
188
- "unocss": "^66.5.5",
189
- "vite": "^7.2.2",
188
+ "unocss": "^66.5.10",
189
+ "vite": "^7.3.0",
190
190
  "vite-plugin-inspect": "^11.3.3",
191
191
  "vitest": "^3.2.4",
192
192
  "vue": "^3.5.24",
193
- "vue-tsc": "^3.1.3",
193
+ "vue-tsc": "^3.2.1",
194
194
  "zod": "^3.25.76"
195
195
  },
196
196
  "resolutions": {
package/vue-plugin.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { Plugin } from 'vue'
2
-
3
- declare const plugin: Plugin
4
-
5
- export default plugin
1
+ import type { Plugin } from 'vue'
2
+
3
+ declare const plugin: Plugin
4
+
5
+ export default plugin