@vinicunca/taman-ui 0.1.2 → 0.1.4

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 (238) hide show
  1. package/dist/_virtual/_/plugin-vue/export-helper.mjs +1 -2
  2. package/dist/components/auth/taman-auth-form.mjs +1 -2
  3. package/dist/components/auth/taman-auth-form.vue.d.ts +0 -2
  4. package/dist/components/back-to-top/taman-back-to-top.mjs +1 -2
  5. package/dist/components/back-to-top/taman-back-to-top.vue.d.ts +0 -2
  6. package/dist/components/button/check-group-selection.mjs +1 -2
  7. package/dist/components/button/taman-button-check-group.mjs +1 -2
  8. package/dist/components/button/taman-button-check-group.types.d.ts +1 -3
  9. package/dist/components/button/taman-button-check-group.vue.d.ts +0 -2
  10. package/dist/components/button/taman-button-icon.mjs +1 -2
  11. package/dist/components/button/taman-button-icon.vue.d.ts +0 -2
  12. package/dist/components/descriptions/taman-description-cell.mjs +1 -2
  13. package/dist/components/descriptions/taman-description-item.mjs +1 -2
  14. package/dist/components/descriptions/taman-description-item.vue.d.ts +0 -2
  15. package/dist/components/descriptions/taman-description-row.mjs +1 -2
  16. package/dist/components/descriptions/taman-description.mjs +1 -2
  17. package/dist/components/descriptions/taman-description.types.d.ts +1 -3
  18. package/dist/components/descriptions/taman-description.vue.d.ts +7 -7
  19. package/dist/components/descriptions/use-taman-description.mjs +1 -2
  20. package/dist/components/file-upload/taman-file-upload.mjs +1 -2
  21. package/dist/components/file-upload/taman-file-upload.types.d.ts +1 -3
  22. package/dist/components/file-upload/taman-file-upload.vue.d.ts +0 -2
  23. package/dist/components/full-screen/full-screen.mjs +1 -2
  24. package/dist/components/full-screen/full-screen.vue.d.ts +0 -2
  25. package/dist/components/icon/icon.mjs +1 -2
  26. package/dist/components/icon/icon.vue.d.ts +0 -2
  27. package/dist/components/index.mjs +10 -10
  28. package/dist/components/input/password-strength.d.ts +1 -3
  29. package/dist/components/input/password-strength.mjs +1 -2
  30. package/dist/components/input/taman-input-currency.mjs +1 -2
  31. package/dist/components/input/taman-input-currency.types.d.ts +1 -3
  32. package/dist/components/input/taman-input-currency.vue.d.ts +0 -2
  33. package/dist/components/input/taman-input-password.mjs +1 -2
  34. package/dist/components/input/taman-input-password.vue.d.ts +0 -2
  35. package/dist/components/input-date/format-calendar-input-value.mjs +1 -2
  36. package/dist/components/input-date/taman-input-date.mjs +1 -2
  37. package/dist/components/input-date/taman-input-date.types.d.ts +1 -3
  38. package/dist/components/input-date/taman-input-date.vue.d.ts +0 -2
  39. package/dist/components/loading/index.d.ts +1 -1
  40. package/dist/components/loading/taman-loading.mjs +1 -2
  41. package/dist/components/loading/taman-loading.vue.d.ts +5 -5
  42. package/dist/components/loading/types.d.ts +1 -3
  43. package/dist/components/logo/taman-logo.mjs +1 -2
  44. package/dist/components/logo/taman-logo.vue.d.ts +5 -5
  45. package/dist/components/render-content/render-content.mjs +1 -2
  46. package/dist/components/render-content/render-content.vue.d.ts +0 -2
  47. package/dist/components/scrollbar/scrollbar.mjs +4 -5
  48. package/dist/components/scrollbar/scrollbar.vue.d.ts +5 -5
  49. package/dist/form/components/form-actions.mjs +1 -2
  50. package/dist/form/components/form-field-array.mjs +3 -4
  51. package/dist/form/components/form-field-array.types.d.ts +1 -3
  52. package/dist/form/form-render/form-render-field-collapsible.mjs +1 -2
  53. package/dist/form/form-render/form-render-field-control.mjs +1 -2
  54. package/dist/form/form-render/form-render-form-field.mjs +1 -2
  55. package/dist/form/form-render/form-render-form-label.mjs +1 -2
  56. package/dist/form/form-render/form-render-form.mjs +4 -5
  57. package/dist/form/form-render/form-render-group.mjs +1 -2
  58. package/dist/form/form-render/form-render.context.mjs +1 -2
  59. package/dist/form/form-render/form-render.dependencies.mjs +1 -2
  60. package/dist/form/form-render/form-render.helper.mjs +1 -2
  61. package/dist/form/form-render/form-render.schema.mjs +1 -2
  62. package/dist/form/form-render/index.mjs +1 -1
  63. package/dist/form/form.api.d.ts +0 -2
  64. package/dist/form/form.api.mjs +2 -3
  65. package/dist/form/form.built-ins.d.ts +1 -3
  66. package/dist/form/form.built-ins.mjs +1 -2
  67. package/dist/form/form.codec.d.ts +0 -2
  68. package/dist/form/form.codec.mjs +1 -2
  69. package/dist/form/form.config.d.ts +1 -3
  70. package/dist/form/form.config.mjs +2 -3
  71. package/dist/form/form.empty-value.d.ts +1 -3
  72. package/dist/form/form.empty-value.mjs +1 -2
  73. package/dist/form/form.field-name.mjs +1 -2
  74. package/dist/form/form.rule-registry.mjs +1 -2
  75. package/dist/form/form.runtime-field.mjs +1 -2
  76. package/dist/form/form.runtime.mjs +1 -2
  77. package/dist/form/form.schema-defaults.mjs +1 -2
  78. package/dist/form/form.types.d.ts +0 -2
  79. package/dist/form/form.use-delayed-flag.mjs +1 -2
  80. package/dist/form/form.use-form-context.mjs +1 -2
  81. package/dist/form/form.use-taman-form.d.ts +0 -2
  82. package/dist/form/form.use-taman-form.mjs +1 -2
  83. package/dist/form/index.d.ts +1 -1
  84. package/dist/form/index.mjs +1 -1
  85. package/dist/form/taman-use-form.mjs +4 -5
  86. package/dist/index.mjs +2 -2
  87. package/dist/layout/components/taman-core-button-collapse.mjs +1 -2
  88. package/dist/layout/components/taman-core-button-fixed.mjs +1 -2
  89. package/dist/layout/components/taman-core-layout-content.mjs +1 -2
  90. package/dist/layout/components/taman-core-layout-footer.mjs +1 -2
  91. package/dist/layout/components/taman-core-layout-header.mjs +1 -2
  92. package/dist/layout/components/taman-core-layout-sidebar.mjs +1 -2
  93. package/dist/layout/components/taman-core-layout-tabbar.mjs +1 -2
  94. package/dist/layout/composables/use-layout.mjs +1 -2
  95. package/dist/layout/composables/use-sidebar-drag.mjs +1 -2
  96. package/dist/layout/header-scroll-state.mjs +1 -2
  97. package/dist/layout/taman-core-layout.d.ts +0 -2
  98. package/dist/layout/taman-core-layout.mjs +1 -2
  99. package/dist/layout/taman-core-layout.vue.d.ts +32 -27
  100. package/dist/menu/components/collapse-transition.mjs +1 -2
  101. package/dist/menu/components/index.mjs +3 -3
  102. package/dist/menu/components/normal-menu/normal-menu.d.ts +0 -2
  103. package/dist/menu/components/normal-menu/normal-menu.mjs +1 -2
  104. package/dist/menu/components/normal-menu/normal-menu.vue.d.ts +0 -2
  105. package/dist/menu/components/taman-menu-badge-dot.mjs +1 -2
  106. package/dist/menu/components/taman-menu-badge.mjs +1 -2
  107. package/dist/menu/components/taman-menu-badge.vue.d.ts +0 -2
  108. package/dist/menu/components/taman-menu-item.mjs +3 -4
  109. package/dist/menu/components/taman-menu-root.mjs +5 -6
  110. package/dist/menu/components/taman-menu-sub-menu-content.mjs +1 -2
  111. package/dist/menu/components/taman-menu-sub-menu.mjs +3 -4
  112. package/dist/menu/composables/use-menu-context.mjs +1 -2
  113. package/dist/menu/composables/use-menu-scroll.mjs +1 -2
  114. package/dist/menu/composables/use-menu.mjs +1 -2
  115. package/dist/menu/menu.constants.mjs +1 -2
  116. package/dist/menu/menu.types.d.ts +0 -2
  117. package/dist/menu/menu.utils.mjs +1 -2
  118. package/dist/menu/taman-menu.mjs +1 -2
  119. package/dist/menu/taman-menu.vue.d.ts +0 -2
  120. package/dist/menu/taman-sub-menu.mjs +1 -2
  121. package/dist/popup/alert/alert-builder.d.ts +1 -3
  122. package/dist/popup/alert/alert-builder.mjs +1 -2
  123. package/dist/popup/alert/alert-overlay.mjs +1 -2
  124. package/dist/popup/alert/alert.d.ts +1 -3
  125. package/dist/popup/alert/alert.mjs +1 -2
  126. package/dist/popup/alert/alert.vue.d.ts +0 -2
  127. package/dist/popup/alert/alert2.mjs +1 -2
  128. package/dist/popup/alert/index.mjs +1 -1
  129. package/dist/popup/dialog/dialog.api.d.ts +1 -3
  130. package/dist/popup/dialog/dialog.api.mjs +1 -2
  131. package/dist/popup/dialog/dialog.mjs +26 -16
  132. package/dist/popup/dialog/dialog.types.d.ts +0 -2
  133. package/dist/popup/dialog/dialog.vue.d.ts +25 -25
  134. package/dist/popup/dialog/use-dialog-draggable.mjs +1 -2
  135. package/dist/popup/dialog/use-taman-dialog.d.ts +0 -2
  136. package/dist/popup/dialog/use-taman-dialog.mjs +2 -3
  137. package/dist/popup/drawer/drawer.api.d.ts +1 -3
  138. package/dist/popup/drawer/drawer.api.mjs +1 -2
  139. package/dist/popup/drawer/drawer.mjs +29 -14
  140. package/dist/popup/drawer/drawer.types.d.ts +0 -2
  141. package/dist/popup/drawer/drawer.vue.d.ts +28 -28
  142. package/dist/popup/drawer/use-taman-drawer.d.ts +0 -2
  143. package/dist/popup/drawer/use-taman-drawer.mjs +2 -3
  144. package/dist/tabs/components/taman-tabs.mjs +1 -2
  145. package/dist/tabs/components/widgets/tool-more.mjs +1 -2
  146. package/dist/tabs/components/widgets/tool-more.vue.d.ts +0 -2
  147. package/dist/tabs/components/widgets/tool-refresh.mjs +1 -2
  148. package/dist/tabs/components/widgets/tool-refresh.vue.d.ts +0 -2
  149. package/dist/tabs/components/widgets/tool-screen.mjs +1 -2
  150. package/dist/tabs/components/widgets/tool-screen.vue.d.ts +0 -2
  151. package/dist/tabs/strict-context-menu.d.ts +0 -2
  152. package/dist/tabs/tabs.types.d.ts +1 -3
  153. package/dist/tabs/taman-tabs-view.mjs +1 -2
  154. package/dist/tabs/taman-tabs-view.vue.d.ts +0 -2
  155. package/dist/tabs/use-tabs-drag.mjs +1 -2
  156. package/dist/tabs/use-tabs-view-scroll.mjs +1 -2
  157. package/dist/ui/alert-dialog/alert-dialog-action.mjs +1 -2
  158. package/dist/ui/alert-dialog/alert-dialog-action.vue.d.ts +5 -5
  159. package/dist/ui/alert-dialog/alert-dialog-cancel.mjs +1 -2
  160. package/dist/ui/alert-dialog/alert-dialog-cancel.vue.d.ts +5 -5
  161. package/dist/ui/alert-dialog/alert-dialog-content.mjs +1 -2
  162. package/dist/ui/alert-dialog/alert-dialog-content.vue.d.ts +5 -5
  163. package/dist/ui/alert-dialog/alert-dialog-description.mjs +1 -2
  164. package/dist/ui/alert-dialog/alert-dialog-description.vue.d.ts +5 -5
  165. package/dist/ui/alert-dialog/alert-dialog-footer.mjs +1 -2
  166. package/dist/ui/alert-dialog/alert-dialog-footer.vue.d.ts +5 -5
  167. package/dist/ui/alert-dialog/alert-dialog-header.mjs +1 -2
  168. package/dist/ui/alert-dialog/alert-dialog-header.vue.d.ts +5 -5
  169. package/dist/ui/alert-dialog/alert-dialog-overlay.mjs +1 -2
  170. package/dist/ui/alert-dialog/alert-dialog-root.mjs +1 -2
  171. package/dist/ui/alert-dialog/alert-dialog-root.vue.d.ts +8 -8
  172. package/dist/ui/alert-dialog/alert-dialog-title.mjs +1 -2
  173. package/dist/ui/alert-dialog/alert-dialog-title.vue.d.ts +5 -5
  174. package/dist/ui/alert-dialog/alert-dialog-trigger.mjs +1 -2
  175. package/dist/ui/alert-dialog/alert-dialog-trigger.vue.d.ts +5 -5
  176. package/dist/ui/dialog/dialog-close.mjs +1 -2
  177. package/dist/ui/dialog/dialog-close.vue.d.ts +5 -5
  178. package/dist/ui/dialog/dialog-content.mjs +10 -6
  179. package/dist/ui/dialog/dialog-content.vue.d.ts +7 -5
  180. package/dist/ui/dialog/dialog-description.mjs +1 -2
  181. package/dist/ui/dialog/dialog-description.vue.d.ts +5 -5
  182. package/dist/ui/dialog/dialog-footer.mjs +1 -2
  183. package/dist/ui/dialog/dialog-footer.vue.d.ts +5 -5
  184. package/dist/ui/dialog/dialog-header.mjs +1 -2
  185. package/dist/ui/dialog/dialog-header.vue.d.ts +5 -5
  186. package/dist/ui/dialog/dialog-overlay.mjs +1 -2
  187. package/dist/ui/dialog/dialog-overlay.vue.d.ts +0 -2
  188. package/dist/ui/dialog/dialog-root.mjs +1 -2
  189. package/dist/ui/dialog/dialog-root.vue.d.ts +8 -8
  190. package/dist/ui/dialog/dialog-title.mjs +1 -2
  191. package/dist/ui/dialog/dialog-title.vue.d.ts +5 -5
  192. package/dist/ui/dialog/dialog-trigger.mjs +1 -2
  193. package/dist/ui/dialog/dialog-trigger.vue.d.ts +5 -5
  194. package/dist/ui/dialog/index.mjs +4 -4
  195. package/dist/ui/dialog/use-dialog-state-events.mjs +1 -2
  196. package/dist/ui/form/form-control.mjs +1 -2
  197. package/dist/ui/form/form-control.vue.d.ts +5 -5
  198. package/dist/ui/form/form-description.mjs +1 -2
  199. package/dist/ui/form/form-description.vue.d.ts +5 -5
  200. package/dist/ui/form/form-field.mjs +1 -2
  201. package/dist/ui/form/form-field.vue.d.ts +5 -5
  202. package/dist/ui/form/form-item.mjs +1 -2
  203. package/dist/ui/form/form-item.vue.d.ts +5 -5
  204. package/dist/ui/form/form-label.mjs +3 -4
  205. package/dist/ui/form/form-label.vue.d.ts +5 -5
  206. package/dist/ui/form/form-message.mjs +1 -2
  207. package/dist/ui/form/form-message.vue.d.ts +0 -2
  208. package/dist/ui/form/injection-keys.d.ts +1 -3
  209. package/dist/ui/form/injection-keys.mjs +1 -2
  210. package/dist/ui/form/use-form-field.mjs +1 -2
  211. package/dist/ui/index.mjs +2 -2
  212. package/dist/ui/label/label.mjs +1 -2
  213. package/dist/ui/label/label.vue.d.ts +5 -5
  214. package/dist/ui/scroll-area/index.mjs +3 -3
  215. package/dist/ui/scroll-area/scroll-area.mjs +1 -2
  216. package/dist/ui/scroll-area/scroll-area.vue.d.ts +5 -5
  217. package/dist/ui/scroll-area/scroll-bar.mjs +1 -2
  218. package/dist/ui/scroll-area/scroll-bar.vue.d.ts +0 -2
  219. package/dist/ui/sheet/sheet-close.mjs +1 -2
  220. package/dist/ui/sheet/sheet-close.vue.d.ts +5 -5
  221. package/dist/ui/sheet/sheet-content.mjs +9 -5
  222. package/dist/ui/sheet/sheet-content.vue.d.ts +7 -5
  223. package/dist/ui/sheet/sheet-description.mjs +1 -2
  224. package/dist/ui/sheet/sheet-description.vue.d.ts +5 -5
  225. package/dist/ui/sheet/sheet-footer.mjs +1 -2
  226. package/dist/ui/sheet/sheet-footer.vue.d.ts +5 -5
  227. package/dist/ui/sheet/sheet-header.mjs +1 -2
  228. package/dist/ui/sheet/sheet-header.vue.d.ts +5 -5
  229. package/dist/ui/sheet/sheet-overlay.mjs +1 -2
  230. package/dist/ui/sheet/sheet-root.mjs +1 -2
  231. package/dist/ui/sheet/sheet-root.vue.d.ts +8 -8
  232. package/dist/ui/sheet/sheet-title.mjs +1 -2
  233. package/dist/ui/sheet/sheet-title.vue.d.ts +5 -5
  234. package/dist/ui/sheet/sheet.variants.d.ts +1 -3
  235. package/dist/ui/sheet/sheet.variants.mjs +1 -2
  236. package/dist/unocss/content.d.ts +1 -3
  237. package/dist/unocss/content.mjs +1 -2
  238. package/package.json +8 -8
@@ -1,6 +1,6 @@
1
1
  import { FORM_FIELD_INJECTION_KEY, FORM_ITEM_INJECTION_KEY } from "./injection-keys.mjs";
2
2
  import { computed, inject } from "vue";
3
- //#region src/ui/form/use-form-field.ts
3
+ // src/ui/form/use-form-field.ts
4
4
  function useFormField() {
5
5
  const fieldContext = inject(FORM_FIELD_INJECTION_KEY);
6
6
  const fieldItemContext = inject(FORM_ITEM_INJECTION_KEY);
@@ -23,5 +23,4 @@ function useFormField() {
23
23
  ...fieldState
24
24
  };
25
25
  }
26
- //#endregion
27
26
  export { useFormField };
package/dist/ui/index.mjs CHANGED
@@ -24,10 +24,10 @@ import _sfc_main$15 from "./form/form-description.mjs";
24
24
  import _sfc_main$16 from "./form/form-field.mjs";
25
25
  import _sfc_main$17 from "./form/form-item.mjs";
26
26
  import _sfc_main$18 from "./label/label.mjs";
27
- import "./label/index.mjs";
27
+ import "./form/index.mjs";
28
28
  import _sfc_main$19 from "./form/form-label.mjs";
29
29
  import _sfc_main$20 from "./form/form-message.mjs";
30
- import "./form/index.mjs";
30
+ import "./label/index.mjs";
31
31
  import _sfc_main$21 from "./scroll-area/scroll-bar.mjs";
32
32
  import _sfc_main$22 from "./scroll-area/scroll-area.mjs";
33
33
  import "./scroll-area/index.mjs";
@@ -1,7 +1,7 @@
1
1
  import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { Label } from "akar";
4
- //#region src/ui/label/label.vue
4
+ // src/ui/label/label.vue
5
5
  const _sfc_main = /*@__PURE__*/ defineComponent({
6
6
  __name: "label",
7
7
  props: {
@@ -27,5 +27,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
27
27
  };
28
28
  }
29
29
  });
30
- //#endregion
31
30
  export { _sfc_main as default };
@@ -1,13 +1,14 @@
1
1
  import { HTMLAttributes } from "vue";
2
2
  import { LabelProps } from "akar";
3
- //#region src/ui/label/label.vue.d.ts
4
3
  type __VLS_Props = LabelProps & {
5
4
  class?: HTMLAttributes['class'];
6
5
  };
7
- declare var __VLS_7: {};
8
- type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_7) => any;
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
10
10
  };
11
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
12
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
14
  declare const _default: typeof __VLS_export;
@@ -16,5 +17,4 @@ type __VLS_WithSlots<T, S> = T & {
16
17
  $slots: S;
17
18
  };
18
19
  };
19
- //#endregion
20
20
  export { _default as default };
@@ -1,3 +1,3 @@
1
- import _sfc_main from "./scroll-bar.mjs";
2
- import _sfc_main$1 from "./scroll-area.mjs";
3
- export { _sfc_main$1 as AScrollArea, _sfc_main as AScrollBar };
1
+ import _sfc_main from "./scroll-area.mjs";
2
+ import _sfc_main$1 from "./scroll-bar.mjs";
3
+ export { _sfc_main as AScrollArea, _sfc_main$1 as AScrollBar };
@@ -2,7 +2,7 @@ import _sfc_main$1 from "./scroll-bar.mjs";
2
2
  import { createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
3
3
  import { reactiveOmit } from "@vueuse/core";
4
4
  import { ScrollAreaCorner, ScrollAreaRoot, ScrollAreaViewport } from "akar";
5
- //#region src/ui/scroll-area/scroll-area.vue
5
+ // src/ui/scroll-area/scroll-area.vue
6
6
  const _sfc_main = /*@__PURE__*/ defineComponent({
7
7
  __name: "scroll-area",
8
8
  props: {
@@ -43,5 +43,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
43
43
  };
44
44
  }
45
45
  });
46
- //#endregion
47
46
  export { _sfc_main as default };
@@ -1,14 +1,15 @@
1
1
  import { HTMLAttributes } from "vue";
2
2
  import { ScrollAreaRootProps } from "akar";
3
- //#region src/ui/scroll-area/scroll-area.vue.d.ts
4
3
  type __VLS_Props = ScrollAreaRootProps & {
5
4
  class?: HTMLAttributes['class'];
6
5
  onScroll?: (event: Event) => void;
7
6
  };
8
- declare var __VLS_15: {};
9
- type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_15) => any;
7
+ declare const __VLS_template: () => {
8
+ __VLS_Slots: {
9
+ default?: (props: {}) => any;
10
+ };
11
11
  };
12
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
12
13
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
15
  declare const _default: typeof __VLS_export;
@@ -17,5 +18,4 @@ type __VLS_WithSlots<T, S> = T & {
17
18
  $slots: S;
18
19
  };
19
20
  };
20
- //#endregion
21
21
  export { _default as default };
@@ -1,7 +1,7 @@
1
1
  import { createBlock, createVNode, defineComponent, mergeProps, openBlock, unref, withCtx } from "vue";
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { ScrollAreaScrollbar, ScrollAreaThumb } from "akar";
4
- //#region src/ui/scroll-area/scroll-bar.vue
4
+ // src/ui/scroll-area/scroll-bar.vue
5
5
  const _sfc_main = /*@__PURE__*/ defineComponent({
6
6
  __name: "scroll-bar",
7
7
  props: {
@@ -34,5 +34,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
34
34
  };
35
35
  }
36
36
  });
37
- //#endregion
38
37
  export { _sfc_main as default };
@@ -1,6 +1,5 @@
1
1
  import { HTMLAttributes } from "vue";
2
2
  import { ScrollAreaScrollbarProps } from "akar";
3
- //#region src/ui/scroll-area/scroll-bar.vue.d.ts
4
3
  type __VLS_Props = ScrollAreaScrollbarProps & {
5
4
  class?: HTMLAttributes['class'];
6
5
  };
@@ -8,5 +7,4 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
8
7
  orientation: "horizontal" | "vertical";
9
8
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
9
  declare const _default: typeof __VLS_export;
11
- //#endregion
12
10
  export { _default as default };
@@ -1,6 +1,6 @@
1
1
  import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
2
2
  import { DialogClose } from "akar";
3
- //#region src/ui/sheet/sheet-close.vue
3
+ // src/ui/sheet/sheet-close.vue
4
4
  const _sfc_main = /*@__PURE__*/ defineComponent({
5
5
  __name: "sheet-close",
6
6
  props: {
@@ -17,5 +17,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
17
17
  };
18
18
  }
19
19
  });
20
- //#endregion
21
20
  export { _sfc_main as default };
@@ -1,9 +1,10 @@
1
1
  import { DialogCloseProps } from "akar";
2
- //#region src/ui/sheet/sheet-close.vue.d.ts
3
- declare var __VLS_7: {};
4
- type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_7) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {}) => any;
5
+ };
6
6
  };
7
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
7
8
  declare const __VLS_base: import("vue").DefineComponent<DialogCloseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
9
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
10
  declare const _default: typeof __VLS_export;
@@ -12,5 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
12
13
  $slots: S;
13
14
  };
14
15
  };
15
- //#endregion
16
16
  export { _default as default };
@@ -3,7 +3,7 @@ import _sfc_main$1 from "./sheet-overlay.mjs";
3
3
  import { sheetVariants } from "./sheet.variants.mjs";
4
4
  import { Transition, computed, createBlock, createCommentVNode, createVNode, defineComponent, mergeProps, openBlock, ref, renderSlot, unref, withCtx } from "vue";
5
5
  import { DialogContent, DialogPortal, useForwardPropsEmits } from "akar";
6
- //#region src/ui/sheet/sheet-content.vue
6
+ // src/ui/sheet/sheet-content.vue
7
7
  const _sfc_main = /*@__PURE__*/ defineComponent({
8
8
  inheritAttrs: false,
9
9
  __name: "sheet-content",
@@ -14,6 +14,10 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
14
14
  as: {},
15
15
  appendTo: { default: "body" },
16
16
  class: {},
17
+ inactive: {
18
+ type: Boolean,
19
+ default: false
20
+ },
17
21
  modal: { type: Boolean },
18
22
  open: { type: Boolean },
19
23
  overlayBlur: {},
@@ -35,7 +39,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
35
39
  const props = __props;
36
40
  const emits = __emit;
37
41
  const delegatedProps = computed(() => {
38
- const { class: _, modal: _modal, open: _open, side: _side, ...delegated } = props;
42
+ const { class: _, inactive: _inactive, modal: _modal, open: _open, side: _side, ...delegated } = props;
39
43
  return delegated;
40
44
  });
41
45
  function isAppendToBody() {
@@ -54,7 +58,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
54
58
  });
55
59
  return (_ctx, _cache) => {
56
60
  return openBlock(), createBlock(unref(DialogPortal), { to: __props.appendTo }, {
57
- default: withCtx(() => [createVNode(Transition, {
61
+ default: withCtx(() => [!__props.inactive ? (openBlock(), createBlock(Transition, {
62
+ key: 0,
58
63
  "enter-active-class": "transition-opacity-300",
59
64
  "leave-active-class": "transition-opacity-300",
60
65
  "enter-from-class": "opacity-0",
@@ -72,7 +77,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
72
77
  "z-index"
73
78
  ])) : createCommentVNode("v-if", true)]),
74
79
  _: 1
75
- }), createVNode(unref(DialogContent), mergeProps({
80
+ })) : createCommentVNode("v-if", true), createVNode(unref(DialogContent), mergeProps({
76
81
  ref_key: "contentRef",
77
82
  ref: contentRef,
78
83
  style: {
@@ -101,5 +106,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
101
106
  };
102
107
  }
103
108
  });
104
- //#endregion
105
109
  export { _sfc_main as default };
@@ -1,19 +1,21 @@
1
1
  import { SheetVariants } from "./sheet.variants.js";
2
2
  import { DialogContentProps } from "akar";
3
- //#region src/ui/sheet/sheet-content.vue.d.ts
4
3
  type __VLS_Props = DialogContentProps & {
5
4
  appendTo?: HTMLElement | string;
6
5
  class?: any;
6
+ inactive?: boolean;
7
7
  modal?: boolean;
8
8
  open?: boolean;
9
9
  overlayBlur?: number;
10
10
  side?: SheetVariants['side'];
11
11
  zIndex?: number;
12
12
  };
13
- declare var __VLS_29: {};
14
- type __VLS_Slots = {} & {
15
- default?: (props: typeof __VLS_29) => any;
13
+ declare const __VLS_template: () => {
14
+ __VLS_Slots: {
15
+ default?: (props: {}) => any;
16
+ };
16
17
  };
18
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
17
19
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
20
  close: () => any;
19
21
  openAutoFocus: (event: Event) => any;
@@ -36,6 +38,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
36
38
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
37
39
  }>, {
38
40
  appendTo: string | HTMLElement;
41
+ inactive: boolean;
39
42
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
43
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
41
44
  declare const _default: typeof __VLS_export;
@@ -44,5 +47,4 @@ type __VLS_WithSlots<T, S> = T & {
44
47
  $slots: S;
45
48
  };
46
49
  };
47
- //#endregion
48
50
  export { _default as default };
@@ -1,7 +1,7 @@
1
1
  import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { DialogDescription } from "akar";
4
- //#region src/ui/sheet/sheet-description.vue
4
+ // src/ui/sheet/sheet-description.vue
5
5
  const _sfc_main = /*@__PURE__*/ defineComponent({
6
6
  __name: "sheet-description",
7
7
  props: {
@@ -26,5 +26,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
26
26
  };
27
27
  }
28
28
  });
29
- //#endregion
30
29
  export { _sfc_main as default };
@@ -1,13 +1,14 @@
1
1
  import { HTMLAttributes } from "vue";
2
2
  import { DialogDescriptionProps } from "akar";
3
- //#region src/ui/sheet/sheet-description.vue.d.ts
4
3
  type __VLS_Props = DialogDescriptionProps & {
5
4
  class?: HTMLAttributes['class'];
6
5
  };
7
- declare var __VLS_7: {};
8
- type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_7) => any;
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
10
10
  };
11
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
12
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
14
  declare const _default: typeof __VLS_export;
@@ -16,5 +17,4 @@ type __VLS_WithSlots<T, S> = T & {
16
17
  $slots: S;
17
18
  };
18
19
  };
19
- //#endregion
20
20
  export { _default as default };
@@ -1,6 +1,6 @@
1
1
  import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.mjs";
2
2
  import { createElementBlock, openBlock, renderSlot } from "vue";
3
- //#region src/ui/sheet/sheet-footer.vue
3
+ // src/ui/sheet/sheet-footer.vue
4
4
  const _sfc_main = {};
5
5
  const _hoisted_1 = {
6
6
  "data-slot": "sheet-footer",
@@ -10,5 +10,4 @@ function _sfc_render(_ctx, _cache) {
10
10
  return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")]);
11
11
  }
12
12
  var sheet_footer_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render]]);
13
- //#endregion
14
13
  export { sheet_footer_default as default };
@@ -1,8 +1,9 @@
1
- //#region src/ui/sheet/sheet-footer.vue.d.ts
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ default?: (props: {}) => any;
4
+ };
5
5
  };
6
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
6
7
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
8
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
9
  declare const _default: typeof __VLS_export;
@@ -11,5 +12,4 @@ type __VLS_WithSlots<T, S> = T & {
11
12
  $slots: S;
12
13
  };
13
14
  };
14
- //#endregion
15
15
  export { _default as default };
@@ -1,6 +1,6 @@
1
1
  import export_helper_default from "../../_virtual/_/plugin-vue/export-helper.mjs";
2
2
  import { createElementBlock, openBlock, renderSlot } from "vue";
3
- //#region src/ui/sheet/sheet-header.vue
3
+ // src/ui/sheet/sheet-header.vue
4
4
  const _sfc_main = {};
5
5
  const _hoisted_1 = {
6
6
  "data-slot": "sheet-header",
@@ -10,5 +10,4 @@ function _sfc_render(_ctx, _cache) {
10
10
  return openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")]);
11
11
  }
12
12
  var sheet_header_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render]]);
13
- //#endregion
14
13
  export { sheet_header_default as default };
@@ -1,8 +1,9 @@
1
- //#region src/ui/sheet/sheet-header.vue.d.ts
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
1
+ declare const __VLS_template: () => {
2
+ __VLS_Slots: {
3
+ default?: (props: {}) => any;
4
+ };
5
5
  };
6
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
6
7
  declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
8
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
9
  declare const _default: typeof __VLS_export;
@@ -11,5 +12,4 @@ type __VLS_WithSlots<T, S> = T & {
11
12
  $slots: S;
12
13
  };
13
14
  };
14
- //#endregion
15
15
  export { _default as default };
@@ -1,7 +1,7 @@
1
1
  import { createElementBlock, defineComponent, inject, normalizeStyle, openBlock, unref } from "vue";
2
2
  import { useScrollLock } from "@vinicunca/taman-core/composables";
3
3
  import { DISMISSABLE_DRAWER_ID } from "@vinicunca/taman-core/constants";
4
- //#region src/ui/sheet/sheet-overlay.vue
4
+ // src/ui/sheet/sheet-overlay.vue
5
5
  const _hoisted_1 = ["data-dismissable-drawer"];
6
6
  const _sfc_main = /*@__PURE__*/ defineComponent({
7
7
  __name: "sheet-overlay",
@@ -28,5 +28,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
28
28
  };
29
29
  }
30
30
  });
31
- //#endregion
32
31
  export { _sfc_main as default };
@@ -1,6 +1,6 @@
1
1
  import { createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
2
2
  import { DialogRoot, useForwardPropsEmits } from "akar";
3
- //#region src/ui/sheet/sheet-root.vue
3
+ // src/ui/sheet/sheet-root.vue
4
4
  const _sfc_main = /*@__PURE__*/ defineComponent({
5
5
  __name: "sheet-root",
6
6
  props: {
@@ -20,5 +20,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
20
20
  };
21
21
  }
22
22
  });
23
- //#endregion
24
23
  export { _sfc_main as default };
@@ -1,12 +1,13 @@
1
1
  import { DialogRootProps } from "akar";
2
- //#region src/ui/sheet/sheet-root.vue.d.ts
3
- declare var __VLS_7: {
4
- open: boolean;
5
- close: () => void;
6
- };
7
- type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_7) => any;
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {
5
+ open: boolean;
6
+ close: () => void;
7
+ }) => any;
8
+ };
9
9
  };
10
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
10
11
  declare const __VLS_base: import("vue").DefineComponent<DialogRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
12
  "update:open": (value: boolean) => any;
12
13
  }, string, import("vue").PublicProps, Readonly<DialogRootProps> & Readonly<{
@@ -19,5 +20,4 @@ type __VLS_WithSlots<T, S> = T & {
19
20
  $slots: S;
20
21
  };
21
22
  };
22
- //#endregion
23
23
  export { _default as default };
@@ -1,7 +1,7 @@
1
1
  import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
2
2
  import { reactiveOmit } from "@vueuse/core";
3
3
  import { DialogTitle, useForwardProps } from "akar";
4
- //#region src/ui/sheet/sheet-title.vue
4
+ // src/ui/sheet/sheet-title.vue
5
5
  const _sfc_main = /*@__PURE__*/ defineComponent({
6
6
  __name: "sheet-title",
7
7
  props: {
@@ -27,5 +27,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
27
27
  };
28
28
  }
29
29
  });
30
- //#endregion
31
30
  export { _sfc_main as default };
@@ -1,13 +1,14 @@
1
1
  import { HTMLAttributes } from "vue";
2
2
  import { DialogTitleProps } from "akar";
3
- //#region src/ui/sheet/sheet-title.vue.d.ts
4
3
  type __VLS_Props = DialogTitleProps & {
5
4
  class?: HTMLAttributes['class'];
6
5
  };
7
- declare var __VLS_7: {};
8
- type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_7) => any;
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
10
10
  };
11
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
12
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
14
  declare const _default: typeof __VLS_export;
@@ -16,5 +17,4 @@ type __VLS_WithSlots<T, S> = T & {
16
17
  $slots: S;
17
18
  };
18
19
  };
19
- //#endregion
20
20
  export { _default as default };
@@ -1,5 +1,4 @@
1
1
  import { VariantProps } from "unocss-variants";
2
- //#region src/ui/sheet/sheet.variants.d.ts
3
2
  export declare const sheetVariants: import("unocss-variants").UvReturnType<{
4
3
  side: {
5
4
  top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top";
@@ -22,5 +21,4 @@ export declare const sheetVariants: import("unocss-variants").UvReturnType<{
22
21
  left: "inset-y-0 left-0 h-full border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left";
23
22
  };
24
23
  }, undefined>>;
25
- export type SheetVariants = VariantProps<typeof sheetVariants>;
26
- //#endregion
24
+ export type SheetVariants = VariantProps<typeof sheetVariants>;
@@ -1,5 +1,5 @@
1
1
  import { uv } from "unocss-variants";
2
- //#region src/ui/sheet/sheet.variants.ts
2
+ // src/ui/sheet/sheet.variants.ts
3
3
  const sheetVariants = uv({
4
4
  variants: { side: {
5
5
  top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
@@ -9,5 +9,4 @@ const sheetVariants = uv({
9
9
  } },
10
10
  defaultVariants: { side: "right" }
11
11
  });
12
- //#endregion
13
12
  export { sheetVariants };
@@ -1,3 +1 @@
1
- //#region src/unocss/content.d.ts
2
- export declare const TAMAN_UI_CONTENT: RegExp;
3
- //#endregion
1
+ export declare const TAMAN_UI_CONTENT: RegExp;
@@ -1,9 +1,8 @@
1
- //#region src/unocss/content.ts
1
+ // src/unocss/content.ts
2
2
  /**
3
3
  * Matches taman-ui's compiled components in `node_modules`. UnoCSS only
4
4
  * extracts classes from `.vue`-style files by default, so add this to
5
5
  * `content.pipeline.include` or the components' own classes are not generated.
6
6
  */
7
7
  const TAMAN_UI_CONTENT = /@vinicunca[\\/]taman-ui[\\/]dist[\\/].*\.mjs$/;
8
- //#endregion
9
8
  export { TAMAN_UI_CONTENT };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/taman-ui",
3
3
  "type": "module",
4
- "version": "0.1.2",
4
+ "version": "0.1.4",
5
5
  "description": "Unstyled Taman Vue components on pohon-ui: base components, popups, layout, menu, tabs and forms.",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -54,11 +54,11 @@
54
54
  "dependencies": {
55
55
  "@tanstack/store": "^0.11.2",
56
56
  "@tanstack/vue-form": "^1.33.5",
57
- "@vinicunca/taman-core": "^0.1.1",
57
+ "@vinicunca/taman-core": "^0.1.3",
58
58
  "@vueuse/core": "^15.0.0",
59
- "akar": "2.0.23",
60
- "qs": "^6.16.1",
61
- "unocss-variants": "1.6.1",
59
+ "akar": "2.0.26",
60
+ "qs": "^6.17.1",
61
+ "unocss-variants": "1.8.0",
62
62
  "zod": "4.6.7",
63
63
  "zod-defaults": "0.2.3"
64
64
  },
@@ -66,10 +66,10 @@
66
66
  "@internationalized/date": "^3.12.4",
67
67
  "@internationalized/number": "^3.6.9",
68
68
  "@types/qs": "^6.15.1",
69
- "@unocss/core": "66.11.0",
69
+ "@unocss/core": "66.12.0",
70
70
  "@vue/test-utils": "^2.5.1",
71
- "pohon-ui": "2.3.1",
72
- "unplugin-vue": "^8.0.0",
71
+ "pohon-ui": "2.7.1",
72
+ "unplugin-vue": "^8.0.1",
73
73
  "vue": "^3.5.44"
74
74
  },
75
75
  "scripts": {