@unergy-dev/gandalf 0.3.0 → 0.6.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 (224) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/components/gandalf/base/accordion/GAccordion.vue.d.ts +10 -6
  3. package/dist/components/gandalf/base/accordion/GAccordion.vue_vue_type_script_setup_true_lang.js +36 -21
  4. package/dist/components/gandalf/base/accordion/GAccordionContent.vue_vue_type_script_setup_true_lang.js +1 -1
  5. package/dist/components/gandalf/base/accordion/GAccordionItem.vue.d.ts +9 -1
  6. package/dist/components/gandalf/base/accordion/GAccordionItem.vue_vue_type_script_setup_true_lang.js +32 -14
  7. package/dist/components/gandalf/base/accordion/GAccordionTrigger.vue.d.ts +21 -8
  8. package/dist/components/gandalf/base/accordion/GAccordionTrigger.vue_vue_type_script_setup_true_lang.js +58 -8
  9. package/dist/components/gandalf/base/accordion/index.d.ts +22 -9
  10. package/dist/components/gandalf/base/accordion/index.js +89 -24
  11. package/dist/components/gandalf/base/alert-dialog/GAlertDialog.vue.d.ts +4 -1
  12. package/dist/components/gandalf/base/alert-dialog/GAlertDialog.vue_vue_type_script_setup_true_lang.js +8 -2
  13. package/dist/components/gandalf/base/alert-dialog/GAlertDialogAction.vue.d.ts +8 -1
  14. package/dist/components/gandalf/base/alert-dialog/GAlertDialogAction.vue_vue_type_script_setup_true_lang.js +18 -9
  15. package/dist/components/gandalf/base/alert-dialog/GAlertDialogBody.js +4 -0
  16. package/dist/components/gandalf/base/alert-dialog/GAlertDialogBody.vue.d.ts +17 -0
  17. package/dist/components/gandalf/base/alert-dialog/GAlertDialogBody.vue_vue_type_script_setup_true_lang.js +24 -0
  18. package/dist/components/gandalf/base/alert-dialog/GAlertDialogCancel.vue.d.ts +8 -1
  19. package/dist/components/gandalf/base/alert-dialog/GAlertDialogCancel.vue_vue_type_script_setup_true_lang.js +18 -9
  20. package/dist/components/gandalf/base/alert-dialog/GAlertDialogContent.vue_vue_type_script_setup_true_lang.js +2 -1
  21. package/dist/components/gandalf/base/alert-dialog/GAlertDialogDescription.vue_vue_type_script_setup_true_lang.js +2 -1
  22. package/dist/components/gandalf/base/alert-dialog/GAlertDialogFooter.vue_vue_type_script_setup_true_lang.js +4 -5
  23. package/dist/components/gandalf/base/alert-dialog/GAlertDialogHeader.vue.d.ts +10 -3
  24. package/dist/components/gandalf/base/alert-dialog/GAlertDialogHeader.vue_vue_type_script_setup_true_lang.js +25 -13
  25. package/dist/components/gandalf/base/alert-dialog/GAlertDialogTitle.vue_vue_type_script_setup_true_lang.js +2 -1
  26. package/dist/components/gandalf/base/alert-dialog/index.d.ts +1 -0
  27. package/dist/components/gandalf/base/avatar/GAvatar.vue.d.ts +12 -3
  28. package/dist/components/gandalf/base/avatar/GAvatar.vue_vue_type_script_setup_true_lang.js +32 -15
  29. package/dist/components/gandalf/base/avatar/GAvatarFallback.vue.d.ts +3 -2
  30. package/dist/components/gandalf/base/avatar/GAvatarFallback.vue_vue_type_script_setup_true_lang.js +9 -9
  31. package/dist/components/gandalf/base/avatar/GAvatarImage.vue.d.ts +7 -2
  32. package/dist/components/gandalf/base/avatar/GAvatarImage.vue_vue_type_script_setup_true_lang.js +11 -6
  33. package/dist/components/gandalf/base/avatar/index.d.ts +16 -3
  34. package/dist/components/gandalf/base/avatar/index.js +31 -7
  35. package/dist/components/gandalf/base/badge/index.d.ts +1 -1
  36. package/dist/components/gandalf/base/breadcrumb/GBreadcrumb.vue.d.ts +6 -1
  37. package/dist/components/gandalf/base/breadcrumb/GBreadcrumb.vue_vue_type_script_setup_true_lang.js +21 -10
  38. package/dist/components/gandalf/base/breadcrumb/GBreadcrumbEllipsis.vue_vue_type_script_setup_true_lang.js +4 -2
  39. package/dist/components/gandalf/base/breadcrumb/GBreadcrumbItem.vue_vue_type_script_setup_true_lang.js +4 -2
  40. package/dist/components/gandalf/base/breadcrumb/GBreadcrumbLink.vue_vue_type_script_setup_true_lang.js +4 -2
  41. package/dist/components/gandalf/base/breadcrumb/GBreadcrumbList.vue_vue_type_script_setup_true_lang.js +4 -2
  42. package/dist/components/gandalf/base/breadcrumb/GBreadcrumbPage.vue_vue_type_script_setup_true_lang.js +2 -1
  43. package/dist/components/gandalf/base/breadcrumb/GBreadcrumbSeparator.vue_vue_type_script_setup_true_lang.js +4 -2
  44. package/dist/components/gandalf/base/breadcrumb/index.d.ts +21 -0
  45. package/dist/components/gandalf/base/breadcrumb/index.js +47 -0
  46. package/dist/components/gandalf/base/button/index.d.ts +1 -1
  47. package/dist/components/gandalf/base/details-panel/index.js +1 -1
  48. package/dist/components/gandalf/base/dialog/GDialog.vue.d.ts +5 -1
  49. package/dist/components/gandalf/base/dialog/GDialog.vue_vue_type_script_setup_true_lang.js +12 -3
  50. package/dist/components/gandalf/base/dialog/GDialogBody.js +4 -0
  51. package/dist/components/gandalf/base/dialog/GDialogBody.vue.d.ts +17 -0
  52. package/dist/components/gandalf/base/dialog/GDialogBody.vue_vue_type_script_setup_true_lang.js +24 -0
  53. package/dist/components/gandalf/base/dialog/GDialogContent.vue.d.ts +1 -5
  54. package/dist/components/gandalf/base/dialog/GDialogContent.vue_vue_type_script_setup_true_lang.js +10 -15
  55. package/dist/components/gandalf/base/dialog/GDialogDescription.vue_vue_type_script_setup_true_lang.js +2 -1
  56. package/dist/components/gandalf/base/dialog/GDialogFooter.vue.d.ts +6 -3
  57. package/dist/components/gandalf/base/dialog/GDialogFooter.vue_vue_type_script_setup_true_lang.js +21 -10
  58. package/dist/components/gandalf/base/dialog/GDialogHeader.vue.d.ts +15 -3
  59. package/dist/components/gandalf/base/dialog/GDialogHeader.vue_vue_type_script_setup_true_lang.js +51 -13
  60. package/dist/components/gandalf/base/dialog/GDialogScrollContent.vue_vue_type_script_setup_true_lang.js +2 -1
  61. package/dist/components/gandalf/base/dialog/GDialogTitle.vue_vue_type_script_setup_true_lang.js +2 -1
  62. package/dist/components/gandalf/base/dialog/index.d.ts +13 -0
  63. package/dist/components/gandalf/base/dialog/index.js +27 -0
  64. package/dist/components/gandalf/base/dropdown/GDropdown.vue_vue_type_script_setup_true_lang.js +1 -1
  65. package/dist/components/gandalf/base/input/GInput.vue.d.ts +13 -1
  66. package/dist/components/gandalf/base/input/GInput.vue_vue_type_script_setup_true_lang.js +23 -5
  67. package/dist/components/gandalf/base/input/index.d.ts +6 -1
  68. package/dist/components/gandalf/base/input/index.js +11 -1
  69. package/dist/components/gandalf/base/input-group/GInputGroupButton.vue.d.ts +2 -2
  70. package/dist/components/gandalf/base/menu/GMenu.js +4 -0
  71. package/dist/components/gandalf/base/menu/GMenu.vue.d.ts +20 -0
  72. package/dist/components/gandalf/base/menu/GMenu.vue_vue_type_script_setup_true_lang.js +24 -0
  73. package/dist/components/gandalf/base/menu/GMenuContent.js +4 -0
  74. package/dist/components/gandalf/base/menu/GMenuContent.vue.d.ts +34 -0
  75. package/dist/components/gandalf/base/menu/GMenuContent.vue_vue_type_script_setup_true_lang.js +65 -0
  76. package/dist/components/gandalf/base/menu/GMenuItem.js +4 -0
  77. package/dist/components/gandalf/base/menu/GMenuItem.vue.d.ts +27 -0
  78. package/dist/components/gandalf/base/menu/GMenuItem.vue_vue_type_script_setup_true_lang.js +43 -0
  79. package/dist/components/gandalf/base/menu/GMenuLabel.js +4 -0
  80. package/dist/components/gandalf/base/menu/GMenuLabel.vue.d.ts +18 -0
  81. package/dist/components/gandalf/base/menu/GMenuLabel.vue_vue_type_script_setup_true_lang.js +31 -0
  82. package/dist/components/gandalf/base/menu/GMenuSeparator.js +4 -0
  83. package/dist/components/gandalf/base/{sonner/GToastCard.vue.d.ts → menu/GMenuSeparator.vue.d.ts} +4 -6
  84. package/dist/components/gandalf/base/menu/GMenuSeparator.vue_vue_type_script_setup_true_lang.js +28 -0
  85. package/dist/components/gandalf/base/menu/GMenuTrigger.js +4 -0
  86. package/dist/components/gandalf/base/menu/GMenuTrigger.vue.d.ts +16 -0
  87. package/dist/components/gandalf/base/menu/GMenuTrigger.vue_vue_type_script_setup_true_lang.js +24 -0
  88. package/dist/components/gandalf/base/menu/index.d.ts +16 -2
  89. package/dist/components/gandalf/base/menu/index.js +19 -3
  90. package/dist/components/gandalf/base/navigation-button/GNavigationButton.vue_vue_type_script_setup_true_lang.js +1 -1
  91. package/dist/components/gandalf/base/navigation-button/index.d.ts +1 -1
  92. package/dist/components/gandalf/base/pagination/GPaginationFirst.vue.d.ts +1 -1
  93. package/dist/components/gandalf/base/pagination/GPaginationItem.vue.d.ts +1 -1
  94. package/dist/components/gandalf/base/pagination/GPaginationLast.vue.d.ts +1 -1
  95. package/dist/components/gandalf/base/pagination/GPaginationNext.vue.d.ts +1 -1
  96. package/dist/components/gandalf/base/pagination/GPaginationPrevious.vue.d.ts +1 -1
  97. package/dist/components/gandalf/base/popover/GPopover.vue.d.ts +5 -1
  98. package/dist/components/gandalf/base/popover/GPopover.vue_vue_type_script_setup_true_lang.js +12 -3
  99. package/dist/components/gandalf/base/segmented-button/index.js +1 -0
  100. package/dist/components/gandalf/base/select/GSelect.vue.d.ts +7 -1
  101. package/dist/components/gandalf/base/select/GSelect.vue_vue_type_script_setup_true_lang.js +21 -6
  102. package/dist/components/gandalf/base/sidebar/GSidebar.vue.d.ts +1 -1
  103. package/dist/components/gandalf/base/sonner/GToast.js +4 -0
  104. package/dist/components/gandalf/base/sonner/GToast.vue.d.ts +19 -0
  105. package/dist/components/gandalf/base/sonner/GToast.vue_vue_type_script_setup_true_lang.js +63 -0
  106. package/dist/components/gandalf/base/sonner/GToaster.vue_vue_type_script_setup_true_lang.js +5 -2
  107. package/dist/components/gandalf/base/sonner/index.d.ts +12 -4
  108. package/dist/components/gandalf/base/sonner/index.js +26 -14
  109. package/dist/components/gandalf/base/table/GTable.vue.d.ts +5 -1
  110. package/dist/components/gandalf/base/table/GTable.vue_vue_type_script_setup_true_lang.js +24 -11
  111. package/dist/components/gandalf/base/table/GTableCell.vue.d.ts +7 -1
  112. package/dist/components/gandalf/base/table/GTableCell.vue_vue_type_script_setup_true_lang.js +18 -10
  113. package/dist/components/gandalf/base/table/GTableFooter.vue_vue_type_script_setup_true_lang.js +2 -1
  114. package/dist/components/gandalf/base/table/GTableHead.vue.d.ts +9 -1
  115. package/dist/components/gandalf/base/table/GTableHead.vue_vue_type_script_setup_true_lang.js +26 -10
  116. package/dist/components/gandalf/base/table/index.d.ts +5 -0
  117. package/dist/components/gandalf/base/table/index.js +12 -6
  118. package/dist/components/gandalf/base/tabs/GTabsList.vue_vue_type_script_setup_true_lang.js +1 -1
  119. package/dist/components/gandalf/base/tabs/index.d.ts +4 -4
  120. package/dist/components/gandalf/base/tabs/index.js +32 -24
  121. package/dist/components/gandalf/base/tooltip/GTooltip.vue.d.ts +10 -3
  122. package/dist/components/gandalf/base/tooltip/GTooltip.vue_vue_type_script_setup_true_lang.js +30 -10
  123. package/dist/components/gandalf/base/tooltip/index.js +1 -1
  124. package/dist/components/gandalf/kit/avatar/Avatar.vue.d.ts +7 -2
  125. package/dist/components/gandalf/kit/avatar/Avatar.vue_vue_type_script_setup_true_lang.js +12 -3
  126. package/dist/components/gandalf/kit/avatar/AvatarGroup.vue.d.ts +13 -1
  127. package/dist/components/gandalf/kit/avatar/AvatarGroup.vue_vue_type_script_setup_true_lang.js +37 -9
  128. package/dist/components/gandalf/kit/avatar/AvatarRol.js +4 -0
  129. package/dist/components/gandalf/kit/avatar/AvatarRol.vue.d.ts +23 -0
  130. package/dist/components/gandalf/kit/avatar/AvatarRol.vue_vue_type_script_setup_true_lang.js +75 -0
  131. package/dist/components/gandalf/kit/avatar/index.d.ts +12 -0
  132. package/dist/components/gandalf/kit/avatar/index.js +35 -0
  133. package/dist/components/gandalf/kit/card-toggle/index.d.ts +1 -1
  134. package/dist/components/gandalf/kit/date-picker/DatePicker.vue.d.ts +1 -1
  135. package/dist/components/gandalf/kit/files-card/FilesCard.vue.d.ts +3 -3
  136. package/dist/components/gandalf/kit/files-card/FilesCard.vue_vue_type_script_setup_true_lang.js +5 -8
  137. package/dist/components/gandalf/kit/header/Header.js +4 -0
  138. package/dist/components/gandalf/kit/header/Header.vue.d.ts +26 -0
  139. package/dist/components/gandalf/kit/header/Header.vue_vue_type_script_setup_true_lang.js +45 -0
  140. package/dist/components/gandalf/kit/header/UnergyLogo.js +4 -0
  141. package/dist/components/gandalf/kit/header/UnergyLogo.vue.d.ts +3 -0
  142. package/dist/components/gandalf/kit/header/UnergyLogo.vue_vue_type_script_setup_true_lang.js +26 -0
  143. package/dist/components/gandalf/kit/header/index.d.ts +8 -0
  144. package/dist/components/gandalf/kit/header/index.js +11 -0
  145. package/dist/components/gandalf/kit/input-chat/InputChat.js +4 -0
  146. package/dist/components/gandalf/kit/input-chat/InputChat.vue.d.ts +52 -0
  147. package/dist/components/gandalf/kit/input-chat/InputChat.vue_vue_type_script_setup_true_lang.js +121 -0
  148. package/dist/components/gandalf/kit/input-chat/index.d.ts +2 -0
  149. package/dist/components/gandalf/kit/input-chat/index.js +5 -0
  150. package/dist/components/gandalf/kit/layout/Layout.js +4 -0
  151. package/dist/components/gandalf/kit/layout/Layout.vue.d.ts +49 -0
  152. package/dist/components/gandalf/kit/layout/Layout.vue_vue_type_script_setup_true_lang.js +86 -0
  153. package/dist/components/gandalf/kit/layout/LayoutBreadcrumbs.js +4 -0
  154. package/dist/components/gandalf/kit/layout/LayoutBreadcrumbs.vue.d.ts +31 -0
  155. package/dist/components/gandalf/kit/layout/LayoutBreadcrumbs.vue_vue_type_script_setup_true_lang.js +56 -0
  156. package/dist/components/gandalf/kit/layout/LayoutTitle.js +4 -0
  157. package/dist/components/gandalf/kit/layout/LayoutTitle.vue.d.ts +39 -0
  158. package/dist/components/gandalf/kit/layout/LayoutTitle.vue_vue_type_script_setup_true_lang.js +50 -0
  159. package/dist/components/gandalf/kit/layout/index.d.ts +37 -0
  160. package/dist/components/gandalf/kit/layout/index.js +45 -0
  161. package/dist/components/gandalf/kit/message-card/MessageCard.js +4 -0
  162. package/dist/components/gandalf/kit/message-card/MessageCard.vue.d.ts +52 -0
  163. package/dist/components/gandalf/kit/message-card/MessageCard.vue_vue_type_script_setup_true_lang.js +97 -0
  164. package/dist/components/gandalf/kit/message-card/index.d.ts +4 -0
  165. package/dist/components/gandalf/kit/message-card/index.js +5 -0
  166. package/dist/components/gandalf/kit/miniatures/Miniatures.js +4 -0
  167. package/dist/components/gandalf/kit/miniatures/Miniatures.vue.d.ts +42 -0
  168. package/dist/components/gandalf/kit/miniatures/Miniatures.vue_vue_type_script_setup_true_lang.js +75 -0
  169. package/dist/components/gandalf/kit/miniatures/index.d.ts +7 -0
  170. package/dist/components/gandalf/kit/miniatures/index.js +11 -0
  171. package/dist/components/gandalf/kit/report/AvatarReport.js +4 -0
  172. package/dist/components/gandalf/kit/report/AvatarReport.vue.d.ts +15 -0
  173. package/dist/components/gandalf/kit/report/AvatarReport.vue_vue_type_script_setup_true_lang.js +47 -0
  174. package/dist/components/gandalf/kit/report/CircleReport.js +4 -0
  175. package/dist/components/gandalf/kit/report/CircleReport.vue.d.ts +15 -0
  176. package/dist/components/gandalf/kit/report/CircleReport.vue_vue_type_script_setup_true_lang.js +41 -0
  177. package/dist/components/gandalf/kit/report/Icons.js +4 -0
  178. package/dist/components/gandalf/kit/report/Icons.vue.d.ts +15 -0
  179. package/dist/components/gandalf/kit/report/Icons.vue_vue_type_script_setup_true_lang.js +170 -0
  180. package/dist/components/gandalf/kit/report/PickerItem.js +4 -0
  181. package/dist/components/gandalf/kit/report/PickerItem.vue.d.ts +56 -0
  182. package/dist/components/gandalf/kit/report/PickerItem.vue_vue_type_script_setup_true_lang.js +92 -0
  183. package/dist/components/gandalf/kit/report/Pin.js +4 -0
  184. package/dist/components/gandalf/kit/report/Pin.vue.d.ts +31 -0
  185. package/dist/components/gandalf/kit/report/Pin.vue_vue_type_script_setup_true_lang.js +51 -0
  186. package/dist/components/gandalf/kit/report/index.d.ts +24 -0
  187. package/dist/components/gandalf/kit/report/index.js +77 -0
  188. package/dist/components/gandalf/kit/search-field/index.d.ts +1 -1
  189. package/dist/components/gandalf/kit/sidebar/Sidebar.js +4 -0
  190. package/dist/components/gandalf/kit/sidebar/Sidebar.vue.d.ts +53 -0
  191. package/dist/components/gandalf/kit/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +140 -0
  192. package/dist/components/gandalf/kit/sidebar/index.d.ts +2 -0
  193. package/dist/components/gandalf/kit/sidebar/types.d.ts +25 -0
  194. package/dist/components/gandalf/kit/star/Star.vue.d.ts +1 -1
  195. package/dist/components/gandalf/kit/star/index.d.ts +1 -1
  196. package/dist/components/gandalf/kit/upload-box/UploadBox.vue.d.ts +3 -3
  197. package/dist/components/gandalf/kit/upload-box/index.d.ts +1 -1
  198. package/dist/components/gandalf/kit/upload-card/UploadCard.vue.d.ts +1 -1
  199. package/dist/components/ui/badge/index.d.ts +1 -1
  200. package/dist/components/ui/button/Button.vue.d.ts +2 -2
  201. package/dist/components/ui/button/index.d.ts +2 -2
  202. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +2 -2
  203. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +2 -2
  204. package/dist/components/ui/chart/ChartLegendContent.vue.d.ts +1 -1
  205. package/dist/components/ui/combobox/ComboboxList.vue.d.ts +1 -1
  206. package/dist/components/ui/drawer/Drawer.vue.d.ts +2 -2
  207. package/dist/components/ui/input-group/InputGroupButton.vue.d.ts +2 -2
  208. package/dist/components/ui/input-group/index.d.ts +1 -1
  209. package/dist/components/ui/menubar/MenubarContent.vue.d.ts +1 -1
  210. package/dist/components/ui/pagination/PaginationFirst.vue.d.ts +1 -1
  211. package/dist/components/ui/pagination/PaginationItem.vue.d.ts +1 -1
  212. package/dist/components/ui/pagination/PaginationLast.vue.d.ts +1 -1
  213. package/dist/components/ui/pagination/PaginationNext.vue.d.ts +1 -1
  214. package/dist/components/ui/pagination/PaginationPrevious.vue.d.ts +1 -1
  215. package/dist/components/ui/popover/PopoverContent.vue.d.ts +1 -1
  216. package/dist/components/ui/sidebar/Sidebar.vue.d.ts +1 -1
  217. package/dist/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
  218. package/dist/index.d.ts +7 -0
  219. package/dist/index.js +52 -20
  220. package/dist/nuxt/components.json +1 -1
  221. package/dist/styles/tokens.css +23 -0
  222. package/package.json +1 -1
  223. package/dist/components/gandalf/base/sonner/GToastCard.js +0 -4
  224. package/dist/components/gandalf/base/sonner/GToastCard.vue_vue_type_script_setup_true_lang.js +0 -43
@@ -0,0 +1,39 @@
1
+ import { Component, HTMLAttributes } from 'vue';
2
+ import { GandalfLayoutLevel } from './index';
3
+ type __VLS_Props = {
4
+ title?: string;
5
+ /** Brief description under the title (First Level Layout). */
6
+ description?: string;
7
+ /** Icon in the 32px square before the title (First Level Layout). */
8
+ icon?: Component;
9
+ /** "First Level Layout" or "Second Level Layout" in Figma. */
10
+ level?: GandalfLayoutLevel;
11
+ class?: HTMLAttributes['class'];
12
+ };
13
+ declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
14
+ type __VLS_Slots = {} & {
15
+ icon?: (props: typeof __VLS_1) => any;
16
+ } & {
17
+ title?: (props: typeof __VLS_8) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_10) => any;
20
+ } & {
21
+ actions?: (props: typeof __VLS_12) => any;
22
+ } & {
23
+ description?: (props: typeof __VLS_14) => any;
24
+ };
25
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
26
+ class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
27
+ title: string;
28
+ icon: Component;
29
+ description: string;
30
+ level: GandalfLayoutLevel;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
35
+ type __VLS_WithSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,50 @@
1
+ import { cn } from "../../../../lib/utils.js";
2
+ import { gandalfLayoutTitleIconClass, gandalfLayoutTitleTextVariants, gandalfLayoutTitleVariants } from "./index.js";
3
+ import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref } from "vue";
4
+ // src/components/gandalf/kit/layout/LayoutTitle.vue?vue&type=script&setup=true&lang.ts
5
+ var _hoisted_1 = { class: "flex min-w-0 items-center gap-2" };
6
+ var _hoisted_2 = {
7
+ key: 1,
8
+ class: "ml-auto flex shrink-0 items-center gap-2"
9
+ };
10
+ var _hoisted_3 = {
11
+ key: 0,
12
+ class: "text-body-lg text-base-foreground-quiet px-1"
13
+ };
14
+ var LayoutTitle_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
15
+ __name: "LayoutTitle",
16
+ props: {
17
+ title: { default: void 0 },
18
+ description: { default: void 0 },
19
+ icon: { default: void 0 },
20
+ level: { default: "first" },
21
+ class: {
22
+ type: [
23
+ Boolean,
24
+ null,
25
+ String,
26
+ Object,
27
+ Array
28
+ ],
29
+ default: void 0
30
+ }
31
+ },
32
+ setup(__props) {
33
+ const props = __props;
34
+ return (_ctx, _cache) => {
35
+ return openBlock(), createElementBlock("div", {
36
+ "data-slot": "layout-title",
37
+ class: normalizeClass(unref(cn)(unref(gandalfLayoutTitleVariants)({ level: __props.level }), props.class))
38
+ }, [createElementVNode("div", _hoisted_1, [
39
+ __props.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("span", {
40
+ key: 0,
41
+ class: normalizeClass(unref(gandalfLayoutTitleIconClass))
42
+ }, [renderSlot(_ctx.$slots, "icon", {}, () => [(openBlock(), createBlock(resolveDynamicComponent(__props.icon)))])], 2)) : createCommentVNode("", true),
43
+ createElementVNode("h1", { class: normalizeClass(unref(gandalfLayoutTitleTextVariants)({ level: __props.level })) }, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)])], 2),
44
+ renderSlot(_ctx.$slots, "default"),
45
+ _ctx.$slots.actions ? (openBlock(), createElementBlock("div", _hoisted_2, [renderSlot(_ctx.$slots, "actions")])) : createCommentVNode("", true)
46
+ ]), __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("p", _hoisted_3, [renderSlot(_ctx.$slots, "description", {}, () => [createTextVNode(toDisplayString(__props.description), 1)])])) : createCommentVNode("", true)], 2);
47
+ };
48
+ }
49
+ });
50
+ export { LayoutTitle_vue_vue_type_script_setup_true_lang_default as default };
@@ -0,0 +1,37 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ export { default as GLayout } from './Layout.vue';
3
+ export { default as GLayoutBreadcrumbs } from './LayoutBreadcrumbs.vue';
4
+ export { default as GLayoutTitle } from './LayoutTitle.vue';
5
+ /**
6
+ * Layouts › Content: the page area right of the Sidebar. Its background is a loose colour in
7
+ * Figma, #F8F8FF, not a variable.
8
+ */
9
+ export declare const gandalfLayoutContentVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
10
+ /**
11
+ * Layouts › Sidebar: GSidebar is fixed to the viewport; inside the layout it fills the row below
12
+ * the Header instead. Same utilities as shadcn's (`fixed`, `h-svh`) so tailwind-merge replaces them.
13
+ */
14
+ export declare const gandalfLayoutSidebarClass = "absolute h-full";
15
+ /**
16
+ * Layouts › Title. First Level Layout: 24px on top, 16px on the sides, 12px below, 8px between
17
+ * the title row and the description. Second Level Layout: 12px above and below, 24px on the sides.
18
+ */
19
+ export declare const gandalfLayoutTitleVariants: (props?: ({
20
+ level?: "first" | "second" | null | undefined;
21
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
22
+ /**
23
+ * Title text. First Level: 30px semibold `base/foreground-loud`. Second Level: 24px semibold
24
+ * `base/foreground`.
25
+ */
26
+ export declare const gandalfLayoutTitleTextVariants: (props?: ({
27
+ level?: "first" | "second" | null | undefined;
28
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
29
+ /** Layouts › Title › Avatar Item: 32px `card/card` square with a 14px `base/foreground` icon. */
30
+ export declare const gandalfLayoutTitleIconClass = "bg-card text-base-foreground flex size-8 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-3.5";
31
+ /**
32
+ * Second Level Layout › Title (top row): 48px tall, 12px on top, 16px left and 24px right, 8px
33
+ * between the back button, the breadcrumbs and the tools.
34
+ */
35
+ export declare const gandalfLayoutBreadcrumbsVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
36
+ export type GandalfLayoutTitleVariants = VariantProps<typeof gandalfLayoutTitleVariants>;
37
+ export type GandalfLayoutLevel = NonNullable<GandalfLayoutTitleVariants['level']>;
@@ -0,0 +1,45 @@
1
+ import Layout_default from "./Layout.js";
2
+ import LayoutBreadcrumbs_default from "./LayoutBreadcrumbs.js";
3
+ import LayoutTitle_default from "./LayoutTitle.js";
4
+ import { cva } from "class-variance-authority";
5
+ // src/components/gandalf/kit/layout/index.ts
6
+ /**
7
+ * Layouts › Content: the page area right of the Sidebar. Its background is a loose colour in
8
+ * Figma, #F8F8FF, not a variable.
9
+ */
10
+ var gandalfLayoutContentVariants = cva("min-w-0 overflow-y-auto bg-[#F8F8FF]");
11
+ /**
12
+ * Layouts › Sidebar: GSidebar is fixed to the viewport; inside the layout it fills the row below
13
+ * the Header instead. Same utilities as shadcn's (`fixed`, `h-svh`) so tailwind-merge replaces them.
14
+ */
15
+ var gandalfLayoutSidebarClass = "absolute h-full";
16
+ /**
17
+ * Layouts › Title. First Level Layout: 24px on top, 16px on the sides, 12px below, 8px between
18
+ * the title row and the description. Second Level Layout: 12px above and below, 24px on the sides.
19
+ */
20
+ var gandalfLayoutTitleVariants = cva("flex flex-col gap-2", {
21
+ variants: { level: {
22
+ first: "px-4 pt-6 pb-3",
23
+ second: "px-6 py-3"
24
+ } },
25
+ defaultVariants: { level: "first" }
26
+ });
27
+ /**
28
+ * Title text. First Level: 30px semibold `base/foreground-loud`. Second Level: 24px semibold
29
+ * `base/foreground`.
30
+ */
31
+ var gandalfLayoutTitleTextVariants = cva("min-w-0 truncate leading-[normal]", {
32
+ variants: { level: {
33
+ first: "text-heading-lg text-base-foreground-loud",
34
+ second: "text-heading-md text-base-foreground"
35
+ } },
36
+ defaultVariants: { level: "first" }
37
+ });
38
+ /** Layouts › Title › Avatar Item: 32px `card/card` square with a 14px `base/foreground` icon. */
39
+ var gandalfLayoutTitleIconClass = "bg-card text-base-foreground flex size-8 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-3.5";
40
+ /**
41
+ * Second Level Layout › Title (top row): 48px tall, 12px on top, 16px left and 24px right, 8px
42
+ * between the back button, the breadcrumbs and the tools.
43
+ */
44
+ var gandalfLayoutBreadcrumbsVariants = cva("flex items-center gap-2 pt-3 pr-6 pl-4");
45
+ export { Layout_default as GLayout, LayoutBreadcrumbs_default as GLayoutBreadcrumbs, LayoutTitle_default as GLayoutTitle, gandalfLayoutBreadcrumbsVariants, gandalfLayoutContentVariants, gandalfLayoutSidebarClass, gandalfLayoutTitleIconClass, gandalfLayoutTitleTextVariants, gandalfLayoutTitleVariants };
@@ -0,0 +1,4 @@
1
+ import MessageCard_vue_vue_type_script_setup_true_lang_default from "./MessageCard.vue_vue_type_script_setup_true_lang.js";
2
+ // src/components/gandalf/kit/message-card/MessageCard.vue
3
+ var MessageCard_default = MessageCard_vue_vue_type_script_setup_true_lang_default;
4
+ export { MessageCard_default as default };
@@ -0,0 +1,52 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { Option } from '../../base/types';
3
+ import { GandalfMessageCardColor } from './index';
4
+ type __VLS_Props = {
5
+ /** "Commenter Name" in Figma. */
6
+ commenterName: string;
7
+ /** Initials of the "Avatar Item" ("CN" in Figma). */
8
+ initials?: string;
9
+ /** Color of the "Avatar Item". */
10
+ color?: GandalfMessageCardColor;
11
+ /** The comment ("Chat summary" in Figma). The default slot replaces it. */
12
+ comment?: string;
13
+ /** "DD/MM/YYYY" in Figma, shown as given. */
14
+ date?: string;
15
+ /** Options of the menu behind the ⋮ button. Without them, the button is not shown. */
16
+ options?: Option[];
17
+ actionsLabel?: string;
18
+ class?: HTMLAttributes['class'];
19
+ };
20
+ declare var __VLS_7: {}, __VLS_15: {}, __VLS_36: {}, __VLS_38: {}, __VLS_40: {};
21
+ type __VLS_Slots = {} & {
22
+ avatar?: (props: typeof __VLS_7) => any;
23
+ } & {
24
+ actions?: (props: typeof __VLS_15) => any;
25
+ } & {
26
+ media?: (props: typeof __VLS_36) => any;
27
+ } & {
28
+ attachments?: (props: typeof __VLS_38) => any;
29
+ } & {
30
+ default?: (props: typeof __VLS_40) => any;
31
+ };
32
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
33
+ select: (option: Option) => any;
34
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
35
+ onSelect?: ((option: Option) => any) | undefined;
36
+ }>, {
37
+ class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
38
+ color: import('../../base/avatar').GandalfAvatarSemantic;
39
+ date: string;
40
+ options: Option[];
41
+ initials: string;
42
+ comment: string;
43
+ actionsLabel: string;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
45
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
+ declare const _default: typeof __VLS_export;
47
+ export default _default;
48
+ type __VLS_WithSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
@@ -0,0 +1,97 @@
1
+ import { cn } from "../../../../lib/utils.js";
2
+ import GButton_default from "../../base/button/GButton.js";
3
+ import GAvatar_default from "../../base/avatar/GAvatar.js";
4
+ import GAvatarFallback_default from "../../base/avatar/GAvatarFallback.js";
5
+ import GDropdown_default from "../../base/dropdown/GDropdown.js";
6
+ import { gandalfMessageCardVariants } from "./index.js";
7
+ import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
8
+ import { EllipsisVertical } from "lucide-vue-next";
9
+ // src/components/gandalf/kit/message-card/MessageCard.vue?vue&type=script&setup=true&lang.ts
10
+ var _hoisted_1 = { class: "flex items-center justify-between py-3 pr-3 pl-4" };
11
+ var _hoisted_2 = { class: "flex min-w-0 flex-1 items-center gap-2" };
12
+ var _hoisted_3 = { class: "text-base-foreground-loud truncate text-base leading-normal font-semibold" };
13
+ var _hoisted_4 = {
14
+ key: 0,
15
+ class: "flex items-center px-4 pb-3 [&_img]:rounded-lg [&_img]:object-cover"
16
+ };
17
+ var _hoisted_5 = { class: "flex max-w-[708px] flex-col justify-center gap-2 px-4 pb-3 drop-shadow-[0_1px_0_rgb(0_0_0/0.05)]" };
18
+ var _hoisted_6 = {
19
+ key: 0,
20
+ class: "flex w-full flex-wrap items-start gap-1"
21
+ };
22
+ var _hoisted_7 = { class: "text-base-foreground-quiet w-full text-lg leading-[1.3] break-words" };
23
+ var _hoisted_8 = {
24
+ key: 1,
25
+ class: "text-base-foreground-extra-quiet w-full truncate text-right text-base leading-normal"
26
+ };
27
+ var MessageCard_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
28
+ __name: "MessageCard",
29
+ props: {
30
+ commenterName: {},
31
+ initials: { default: void 0 },
32
+ color: { default: "default" },
33
+ comment: { default: void 0 },
34
+ date: { default: void 0 },
35
+ options: { default: void 0 },
36
+ actionsLabel: { default: "Message options" },
37
+ class: {
38
+ type: [
39
+ Boolean,
40
+ null,
41
+ String,
42
+ Object,
43
+ Array
44
+ ],
45
+ default: void 0
46
+ }
47
+ },
48
+ emits: ["select"],
49
+ setup(__props, { emit: __emit }) {
50
+ const props = __props;
51
+ const emit = __emit;
52
+ return (_ctx, _cache) => {
53
+ return openBlock(), createElementBlock("article", {
54
+ "data-slot": "message-card",
55
+ class: normalizeClass(unref(cn)(unref(gandalfMessageCardVariants)(), props.class))
56
+ }, [
57
+ _cache[1] || (_cache[1] = createElementVNode("span", {
58
+ "aria-hidden": "true",
59
+ class: "bg-default pointer-events-none absolute -top-3 -left-3 size-6 rotate-45"
60
+ }, null, -1)),
61
+ createElementVNode("header", _hoisted_1, [createElementVNode("div", _hoisted_2, [createVNode(unref(GAvatar_default), {
62
+ type: "circle",
63
+ size: "sm",
64
+ semantic: __props.color,
65
+ class: "shrink-0"
66
+ }, {
67
+ default: withCtx(() => [renderSlot(_ctx.$slots, "avatar", {}, () => [createVNode(unref(GAvatarFallback_default), { class: normalizeClass(__props.color === "default" && "bg-card") }, {
68
+ default: withCtx(() => [createTextVNode(toDisplayString(__props.initials), 1)]),
69
+ _: 1
70
+ }, 8, ["class"])])]),
71
+ _: 3
72
+ }, 8, ["semantic"]), createElementVNode("span", _hoisted_3, toDisplayString(__props.commenterName), 1)]), renderSlot(_ctx.$slots, "actions", {}, () => [__props.options?.length ? (openBlock(), createBlock(unref(GDropdown_default), {
73
+ key: 0,
74
+ options: __props.options,
75
+ onSelect: _cache[0] || (_cache[0] = ($event) => emit("select", $event))
76
+ }, {
77
+ default: withCtx(() => [createVNode(unref(GButton_default), {
78
+ variant: "ghost-primary",
79
+ size: "md",
80
+ "aria-label": __props.actionsLabel
81
+ }, {
82
+ default: withCtx(() => [createVNode(unref(EllipsisVertical), { class: "size-4" })]),
83
+ _: 1
84
+ }, 8, ["aria-label"])]),
85
+ _: 1
86
+ }, 8, ["options"])) : createCommentVNode("", true)])]),
87
+ _ctx.$slots.media ? (openBlock(), createElementBlock("div", _hoisted_4, [renderSlot(_ctx.$slots, "media")])) : createCommentVNode("", true),
88
+ createElementVNode("div", _hoisted_5, [
89
+ _ctx.$slots.attachments ? (openBlock(), createElementBlock("div", _hoisted_6, [renderSlot(_ctx.$slots, "attachments")])) : createCommentVNode("", true),
90
+ createElementVNode("p", _hoisted_7, [renderSlot(_ctx.$slots, "default", {}, () => [createTextVNode(toDisplayString(__props.comment), 1)])]),
91
+ __props.date ? (openBlock(), createElementBlock("p", _hoisted_8, toDisplayString(__props.date), 1)) : createCommentVNode("", true)
92
+ ])
93
+ ], 2);
94
+ };
95
+ }
96
+ });
97
+ export { MessageCard_vue_vue_type_script_setup_true_lang_default as default };
@@ -0,0 +1,4 @@
1
+ import { GandalfAvatarSemantic } from '../../base/avatar';
2
+ export { default as GMessageCard } from './MessageCard.vue';
3
+ export declare const gandalfMessageCardVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
4
+ export type GandalfMessageCardColor = GandalfAvatarSemantic;
@@ -0,0 +1,5 @@
1
+ import MessageCard_default from "./MessageCard.js";
2
+ import { cva } from "class-variance-authority";
3
+ // src/components/gandalf/kit/message-card/index.ts
4
+ var gandalfMessageCardVariants = cva("bg-card relative flex w-full flex-col overflow-clip rounded-3xl rounded-tl-sm shadow-sm");
5
+ export { MessageCard_default as GMessageCard, gandalfMessageCardVariants };
@@ -0,0 +1,4 @@
1
+ import Miniatures_vue_vue_type_script_setup_true_lang_default from "./Miniatures.vue_vue_type_script_setup_true_lang.js";
2
+ // src/components/gandalf/kit/miniatures/Miniatures.vue
3
+ var Miniatures_default = Miniatures_vue_vue_type_script_setup_true_lang_default;
4
+ export { Miniatures_default as default };
@@ -0,0 +1,42 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { GandalfMiniaturesType } from './index';
3
+ type __VLS_Props = {
4
+ type?: GandalfMiniaturesType;
5
+ /** "File name" in Figma, truncated to one line. */
6
+ fileName?: string;
7
+ /** File type under the name ("PDF" in Figma). */
8
+ fileType?: string;
9
+ /** Image of `variant2`, cropped to fill the square. */
10
+ src?: string;
11
+ alt?: string;
12
+ /** Shows the remove button of the corner. */
13
+ removable?: boolean;
14
+ removeLabel?: string;
15
+ class?: HTMLAttributes['class'];
16
+ };
17
+ declare var __VLS_1: {};
18
+ type __VLS_Slots = {} & {
19
+ icon?: (props: typeof __VLS_1) => any;
20
+ };
21
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
22
+ remove: () => any;
23
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ onRemove?: (() => any) | undefined;
25
+ }>, {
26
+ type: GandalfMiniaturesType;
27
+ class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
28
+ src: string;
29
+ alt: string;
30
+ fileName: string;
31
+ fileType: string;
32
+ removable: boolean;
33
+ removeLabel: string;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
35
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,75 @@
1
+ import { cn } from "../../../../lib/utils.js";
2
+ import { gandalfMiniaturesVariants } from "./index.js";
3
+ import { createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref } from "vue";
4
+ import { File, X } from "lucide-vue-next";
5
+ // src/components/gandalf/kit/miniatures/Miniatures.vue?vue&type=script&setup=true&lang.ts
6
+ var _hoisted_1 = ["data-type"];
7
+ var _hoisted_2 = ["src", "alt"];
8
+ var _hoisted_3 = {
9
+ key: 1,
10
+ class: "flex h-full min-w-0 flex-1 items-center gap-2 px-1 whitespace-nowrap"
11
+ };
12
+ var _hoisted_4 = { class: "text-base-foreground shrink-0 [&_svg]:size-[18px]" };
13
+ var _hoisted_5 = { class: "flex min-w-0 flex-1 flex-col leading-[normal]" };
14
+ var _hoisted_6 = { class: "text-base-foreground truncate text-sm font-semibold" };
15
+ var _hoisted_7 = {
16
+ key: 0,
17
+ class: "text-base-foreground-extra-quiet truncate text-xs"
18
+ };
19
+ var _hoisted_8 = ["aria-label"];
20
+ var Miniatures_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
21
+ __name: "Miniatures",
22
+ props: {
23
+ type: { default: "default" },
24
+ fileName: { default: void 0 },
25
+ fileType: { default: void 0 },
26
+ src: { default: void 0 },
27
+ alt: { default: "" },
28
+ removable: {
29
+ type: Boolean,
30
+ default: true
31
+ },
32
+ removeLabel: { default: "Remove" },
33
+ class: {
34
+ type: [
35
+ Boolean,
36
+ null,
37
+ String,
38
+ Object,
39
+ Array
40
+ ],
41
+ default: void 0
42
+ }
43
+ },
44
+ emits: ["remove"],
45
+ setup(__props, { emit: __emit }) {
46
+ const props = __props;
47
+ const emit = __emit;
48
+ return (_ctx, _cache) => {
49
+ return openBlock(), createElementBlock("div", {
50
+ "data-slot": "miniatures",
51
+ "data-type": __props.type,
52
+ class: normalizeClass(unref(cn)(unref(gandalfMiniaturesVariants)({ type: __props.type }), props.class))
53
+ }, [
54
+ __props.type === "variant2" && __props.src ? (openBlock(), createElementBlock("img", {
55
+ key: 0,
56
+ src: __props.src,
57
+ alt: __props.alt,
58
+ class: "pointer-events-none absolute inset-0 size-full rounded-xl object-cover"
59
+ }, null, 8, _hoisted_2)) : createCommentVNode("", true),
60
+ __props.type === "default" ? (openBlock(), createElementBlock("div", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "icon", {}, () => [createVNode(unref(File))])]), createElementVNode("span", _hoisted_5, [createElementVNode("span", _hoisted_6, toDisplayString(__props.fileName), 1), __props.fileType ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(__props.fileType), 1)) : createCommentVNode("", true)])])) : createCommentVNode("", true),
61
+ __props.removable ? (openBlock(), createElementBlock("button", {
62
+ key: 2,
63
+ type: "button",
64
+ "aria-label": __props.removeLabel,
65
+ class: "bg-base-inverse text-base-base hover:overlay-light-8 active:overlay-light-12 focus-visible:ring-ring relative flex shrink-0 cursor-pointer items-center justify-center rounded-full p-0.5 outline-none focus-visible:ring-2",
66
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("remove"))
67
+ }, [createVNode(unref(X), {
68
+ class: "size-3",
69
+ "aria-hidden": "true"
70
+ })], 8, _hoisted_8)) : createCommentVNode("", true)
71
+ ], 10, _hoisted_1);
72
+ };
73
+ }
74
+ });
75
+ export { Miniatures_vue_vue_type_script_setup_true_lang_default as default };
@@ -0,0 +1,7 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ export { default as GMiniatures } from './Miniatures.vue';
3
+ export declare const gandalfMiniaturesVariants: (props?: ({
4
+ type?: "default" | "variant2" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export type GandalfMiniaturesVariants = VariantProps<typeof gandalfMiniaturesVariants>;
7
+ export type GandalfMiniaturesType = NonNullable<GandalfMiniaturesVariants['type']>;
@@ -0,0 +1,11 @@
1
+ import Miniatures_default from "./Miniatures.js";
2
+ import { cva } from "class-variance-authority";
3
+ // src/components/gandalf/kit/miniatures/index.ts
4
+ var gandalfMiniaturesVariants = cva("relative flex shrink-0 items-start justify-end overflow-clip rounded-xl", {
5
+ variants: { type: {
6
+ default: "border-bni-border bg-base-base h-12 w-36 gap-2 border p-1.5",
7
+ variant2: "bg-base-inverse size-12 p-1"
8
+ } },
9
+ defaultVariants: { type: "default" }
10
+ });
11
+ export { Miniatures_default as GMiniatures, gandalfMiniaturesVariants };
@@ -0,0 +1,4 @@
1
+ import AvatarReport_vue_vue_type_script_setup_true_lang_default from "./AvatarReport.vue_vue_type_script_setup_true_lang.js";
2
+ // src/components/gandalf/kit/report/AvatarReport.vue
3
+ var AvatarReport_default = AvatarReport_vue_vue_type_script_setup_true_lang_default;
4
+ export { AvatarReport_default as default };
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { GandalfAvatarReportType } from './index';
3
+ type __VLS_Props = {
4
+ type?: GandalfAvatarReportType;
5
+ /** Accessible name; without it the avatar is decorative. */
6
+ label?: string;
7
+ class?: HTMLAttributes['class'];
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ type: GandalfAvatarReportType;
11
+ label: string;
12
+ class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,47 @@
1
+ import { cn } from "../../../../lib/utils.js";
2
+ import GAvatar_default from "../../base/avatar/GAvatar.js";
3
+ import { avatarReportIcons, gandalfAvatarReportVariants } from "./index.js";
4
+ import { createBlock, defineComponent, normalizeClass, openBlock, resolveDynamicComponent, unref, withCtx } from "vue";
5
+ // src/components/gandalf/kit/report/AvatarReport.vue?vue&type=script&setup=true&lang.ts
6
+ var AvatarReport_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
7
+ __name: "AvatarReport",
8
+ props: {
9
+ type: { default: "access" },
10
+ label: { default: void 0 },
11
+ class: {
12
+ type: [
13
+ Boolean,
14
+ null,
15
+ String,
16
+ Object,
17
+ Array
18
+ ],
19
+ default: void 0
20
+ }
21
+ },
22
+ setup(__props) {
23
+ const props = __props;
24
+ return (_ctx, _cache) => {
25
+ return openBlock(), createBlock(unref(GAvatar_default), {
26
+ type: "square",
27
+ size: "xs",
28
+ "data-slot": "avatar-report",
29
+ "data-type": __props.type,
30
+ role: __props.label ? "img" : void 0,
31
+ "aria-label": __props.label,
32
+ "aria-hidden": __props.label ? void 0 : "true",
33
+ class: normalizeClass(unref(cn)(unref(gandalfAvatarReportVariants)({ type: __props.type }), props.class))
34
+ }, {
35
+ default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(unref(avatarReportIcons)[__props.type])))]),
36
+ _: 1
37
+ }, 8, [
38
+ "data-type",
39
+ "role",
40
+ "aria-label",
41
+ "aria-hidden",
42
+ "class"
43
+ ]);
44
+ };
45
+ }
46
+ });
47
+ export { AvatarReport_vue_vue_type_script_setup_true_lang_default as default };
@@ -0,0 +1,4 @@
1
+ import CircleReport_vue_vue_type_script_setup_true_lang_default from "./CircleReport.vue_vue_type_script_setup_true_lang.js";
2
+ // src/components/gandalf/kit/report/CircleReport.vue
3
+ var CircleReport_default = CircleReport_vue_vue_type_script_setup_true_lang_default;
4
+ export { CircleReport_default as default };
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { GandalfCircleReportType } from './index';
3
+ type __VLS_Props = {
4
+ type?: GandalfCircleReportType;
5
+ /** Accessible name; without it the circle is decorative. */
6
+ label?: string;
7
+ class?: HTMLAttributes['class'];
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ type: GandalfCircleReportType;
11
+ label: string;
12
+ class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,41 @@
1
+ import { cn } from "../../../../lib/utils.js";
2
+ import { circleReportIcons, gandalfCircleReportVariants } from "./index.js";
3
+ import { createBlock, createElementBlock, defineComponent, normalizeClass, openBlock, resolveDynamicComponent, unref } from "vue";
4
+ // src/components/gandalf/kit/report/CircleReport.vue?vue&type=script&setup=true&lang.ts
5
+ var _hoisted_1 = [
6
+ "data-type",
7
+ "role",
8
+ "aria-label",
9
+ "aria-hidden"
10
+ ];
11
+ var CircleReport_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
12
+ __name: "CircleReport",
13
+ props: {
14
+ type: { default: "access" },
15
+ label: { default: void 0 },
16
+ class: {
17
+ type: [
18
+ Boolean,
19
+ null,
20
+ String,
21
+ Object,
22
+ Array
23
+ ],
24
+ default: void 0
25
+ }
26
+ },
27
+ setup(__props) {
28
+ const props = __props;
29
+ return (_ctx, _cache) => {
30
+ return openBlock(), createElementBlock("span", {
31
+ "data-slot": "circle-report",
32
+ "data-type": __props.type,
33
+ role: __props.label ? "img" : void 0,
34
+ "aria-label": __props.label,
35
+ "aria-hidden": __props.label ? void 0 : "true",
36
+ class: normalizeClass(unref(cn)(unref(gandalfCircleReportVariants)({ type: __props.type }), props.class))
37
+ }, [(openBlock(), createBlock(resolveDynamicComponent(unref(circleReportIcons)[__props.type])))], 10, _hoisted_1);
38
+ };
39
+ }
40
+ });
41
+ export { CircleReport_vue_vue_type_script_setup_true_lang_default as default };
@@ -0,0 +1,4 @@
1
+ import Icons_vue_vue_type_script_setup_true_lang_default from "./Icons.vue_vue_type_script_setup_true_lang.js";
2
+ // src/components/gandalf/kit/report/Icons.vue
3
+ var Icons_default = Icons_vue_vue_type_script_setup_true_lang_default;
4
+ export { Icons_default as default };
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { GandalfIconsType } from './index';
3
+ type __VLS_Props = {
4
+ type?: GandalfIconsType;
5
+ /** Accessible name; without it the icon is decorative. */
6
+ label?: string;
7
+ class?: HTMLAttributes['class'];
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ type: "pole" | "pin" | "tree" | "door";
11
+ label: string;
12
+ class: string | false | Record<string, any> | import('vue').ClassValue[] | null;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;