@nuxt/ui 4.5.1 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/README.md +1 -1
  2. package/dist/module.d.mts +7 -0
  3. package/dist/module.json +2 -2
  4. package/dist/module.mjs +79 -67
  5. package/dist/runtime/components/Avatar.vue +10 -12
  6. package/dist/runtime/components/Banner.vue +1 -1
  7. package/dist/runtime/components/BlogPost.vue +3 -2
  8. package/dist/runtime/components/Calendar.d.vue.ts +4 -4
  9. package/dist/runtime/components/Calendar.vue.d.ts +4 -4
  10. package/dist/runtime/components/ChangelogVersion.vue +3 -2
  11. package/dist/runtime/components/ChangelogVersions.vue +1 -1
  12. package/dist/runtime/components/ChatMessage.d.vue.ts +4 -1
  13. package/dist/runtime/components/ChatMessage.vue +5 -0
  14. package/dist/runtime/components/ChatMessage.vue.d.ts +4 -1
  15. package/dist/runtime/components/ChatMessages.vue +14 -1
  16. package/dist/runtime/components/ChatPrompt.vue +6 -1
  17. package/dist/runtime/components/ChatReasoning.d.vue.ts +78 -0
  18. package/dist/runtime/components/ChatReasoning.vue +162 -0
  19. package/dist/runtime/components/ChatReasoning.vue.d.ts +78 -0
  20. package/dist/runtime/components/ChatShimmer.d.vue.ts +34 -0
  21. package/dist/runtime/components/ChatShimmer.vue +37 -0
  22. package/dist/runtime/components/ChatShimmer.vue.d.ts +34 -0
  23. package/dist/runtime/components/ChatTool.d.vue.ts +88 -0
  24. package/dist/runtime/components/ChatTool.vue +105 -0
  25. package/dist/runtime/components/ChatTool.vue.d.ts +88 -0
  26. package/dist/runtime/components/Checkbox.d.vue.ts +22 -19
  27. package/dist/runtime/components/Checkbox.vue +9 -8
  28. package/dist/runtime/components/Checkbox.vue.d.ts +22 -19
  29. package/dist/runtime/components/DashboardGroup.d.vue.ts +1 -1
  30. package/dist/runtime/components/DashboardGroup.vue.d.ts +1 -1
  31. package/dist/runtime/components/DashboardSearchButton.vue +2 -2
  32. package/dist/runtime/components/DashboardSidebar.vue +6 -3
  33. package/dist/runtime/components/Drawer.vue +6 -4
  34. package/dist/runtime/components/DropdownMenu.d.vue.ts +29 -3
  35. package/dist/runtime/components/DropdownMenu.vue +9 -0
  36. package/dist/runtime/components/DropdownMenu.vue.d.ts +29 -3
  37. package/dist/runtime/components/DropdownMenuContent.d.vue.ts +9 -3
  38. package/dist/runtime/components/DropdownMenuContent.vue +62 -9
  39. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +9 -3
  40. package/dist/runtime/components/EditorDragHandle.d.vue.ts +4 -4
  41. package/dist/runtime/components/EditorDragHandle.vue.d.ts +4 -4
  42. package/dist/runtime/components/Error.vue +5 -5
  43. package/dist/runtime/components/FileUpload.d.vue.ts +6 -0
  44. package/dist/runtime/components/FileUpload.vue +11 -7
  45. package/dist/runtime/components/FileUpload.vue.d.ts +6 -0
  46. package/dist/runtime/components/Icon.d.vue.ts +2 -1
  47. package/dist/runtime/components/Icon.vue +3 -3
  48. package/dist/runtime/components/Icon.vue.d.ts +2 -1
  49. package/dist/runtime/components/InputDate.d.vue.ts +4 -4
  50. package/dist/runtime/components/InputDate.vue.d.ts +4 -4
  51. package/dist/runtime/components/InputMenu.d.vue.ts +7 -1
  52. package/dist/runtime/components/InputMenu.vue +67 -48
  53. package/dist/runtime/components/InputMenu.vue.d.ts +7 -1
  54. package/dist/runtime/components/InputTime.d.vue.ts +53 -27
  55. package/dist/runtime/components/InputTime.vue +52 -27
  56. package/dist/runtime/components/InputTime.vue.d.ts +53 -27
  57. package/dist/runtime/components/Kbd.vue +1 -1
  58. package/dist/runtime/components/Modal.vue +6 -4
  59. package/dist/runtime/components/NavigationMenu.vue +1 -0
  60. package/dist/runtime/components/Popover.vue +1 -1
  61. package/dist/runtime/components/Progress.d.vue.ts +1 -1
  62. package/dist/runtime/components/Progress.vue.d.ts +1 -1
  63. package/dist/runtime/components/SelectMenu.d.vue.ts +1 -1
  64. package/dist/runtime/components/SelectMenu.vue +1 -1
  65. package/dist/runtime/components/SelectMenu.vue.d.ts +1 -1
  66. package/dist/runtime/components/Sidebar.d.vue.ts +131 -0
  67. package/dist/runtime/components/Sidebar.vue +222 -0
  68. package/dist/runtime/components/Sidebar.vue.d.ts +131 -0
  69. package/dist/runtime/components/Slideover.vue +6 -4
  70. package/dist/runtime/components/Switch.d.vue.ts +22 -19
  71. package/dist/runtime/components/Switch.vue +7 -6
  72. package/dist/runtime/components/Switch.vue.d.ts +22 -19
  73. package/dist/runtime/components/Table.d.vue.ts +1 -1
  74. package/dist/runtime/components/Table.vue +12 -4
  75. package/dist/runtime/components/Table.vue.d.ts +1 -1
  76. package/dist/runtime/components/Tooltip.d.vue.ts +2 -0
  77. package/dist/runtime/components/Tooltip.vue +3 -2
  78. package/dist/runtime/components/Tooltip.vue.d.ts +2 -0
  79. package/dist/runtime/components/color-mode/ColorModeSelect.d.vue.ts +1 -1
  80. package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
  81. package/dist/runtime/components/color-mode/ColorModeSwitch.vue +3 -1
  82. package/dist/runtime/components/content/ContentNavigation.vue +9 -2
  83. package/dist/runtime/components/content/ContentSurround.vue +6 -2
  84. package/dist/runtime/components/content/ContentToc.d.vue.ts +5 -0
  85. package/dist/runtime/components/content/ContentToc.vue +57 -11
  86. package/dist/runtime/components/content/ContentToc.vue.d.ts +5 -0
  87. package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +1 -1
  88. package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -1
  89. package/dist/runtime/components/prose/Pre.vue +0 -4
  90. package/dist/runtime/composables/index.d.ts +12 -0
  91. package/dist/runtime/composables/index.js +12 -0
  92. package/dist/runtime/composables/useEditorMenu.js +1 -1
  93. package/dist/runtime/composables/useFileUpload.d.ts +2 -2
  94. package/dist/runtime/composables/useFileUpload.js +3 -3
  95. package/dist/runtime/composables/{internal/useFilter.js → useFilter.js} +1 -1
  96. package/dist/runtime/composables/useIMEGuard.d.ts +10 -0
  97. package/dist/runtime/composables/useIMEGuard.js +22 -0
  98. package/dist/runtime/composables/useScrollShadow.d.ts +23 -0
  99. package/dist/runtime/composables/useScrollShadow.js +36 -0
  100. package/dist/runtime/index.css +1 -1
  101. package/dist/runtime/keyframes.css +1 -1
  102. package/dist/runtime/locale/ar.js +13 -0
  103. package/dist/runtime/locale/az.js +13 -0
  104. package/dist/runtime/locale/be.js +13 -0
  105. package/dist/runtime/locale/bg.js +13 -0
  106. package/dist/runtime/locale/bn.js +13 -0
  107. package/dist/runtime/locale/ca.js +13 -0
  108. package/dist/runtime/locale/ckb.js +13 -0
  109. package/dist/runtime/locale/cs.js +13 -0
  110. package/dist/runtime/locale/da.js +13 -0
  111. package/dist/runtime/locale/de.js +13 -0
  112. package/dist/runtime/locale/de_ch.js +13 -0
  113. package/dist/runtime/locale/el.js +13 -0
  114. package/dist/runtime/locale/en.js +13 -0
  115. package/dist/runtime/locale/es.js +13 -0
  116. package/dist/runtime/locale/et.js +13 -0
  117. package/dist/runtime/locale/eu.js +13 -0
  118. package/dist/runtime/locale/fa_ir.js +13 -0
  119. package/dist/runtime/locale/fi.js +13 -0
  120. package/dist/runtime/locale/fr.js +13 -0
  121. package/dist/runtime/locale/gl.js +13 -0
  122. package/dist/runtime/locale/he.js +13 -0
  123. package/dist/runtime/locale/hi.js +13 -0
  124. package/dist/runtime/locale/hr.js +13 -0
  125. package/dist/runtime/locale/hu.js +13 -0
  126. package/dist/runtime/locale/hy.js +13 -0
  127. package/dist/runtime/locale/id.js +13 -0
  128. package/dist/runtime/locale/index.d.ts +1 -0
  129. package/dist/runtime/locale/index.js +1 -0
  130. package/dist/runtime/locale/is.d.ts +3 -0
  131. package/dist/runtime/locale/is.js +142 -0
  132. package/dist/runtime/locale/it.js +13 -0
  133. package/dist/runtime/locale/ja.js +13 -0
  134. package/dist/runtime/locale/ka.js +13 -0
  135. package/dist/runtime/locale/kk.js +13 -0
  136. package/dist/runtime/locale/km.js +13 -0
  137. package/dist/runtime/locale/ko.js +13 -0
  138. package/dist/runtime/locale/ky.js +13 -0
  139. package/dist/runtime/locale/lb.js +13 -0
  140. package/dist/runtime/locale/lo.js +13 -0
  141. package/dist/runtime/locale/lt.js +13 -0
  142. package/dist/runtime/locale/mn.js +13 -0
  143. package/dist/runtime/locale/ms.js +13 -0
  144. package/dist/runtime/locale/nb_no.js +13 -0
  145. package/dist/runtime/locale/nl.js +13 -0
  146. package/dist/runtime/locale/pl.js +13 -0
  147. package/dist/runtime/locale/pt.js +13 -0
  148. package/dist/runtime/locale/pt_br.js +13 -0
  149. package/dist/runtime/locale/ro.js +13 -0
  150. package/dist/runtime/locale/ru.js +13 -0
  151. package/dist/runtime/locale/sk.js +13 -0
  152. package/dist/runtime/locale/sl.js +13 -0
  153. package/dist/runtime/locale/sq.js +13 -0
  154. package/dist/runtime/locale/sv.js +13 -0
  155. package/dist/runtime/locale/th.js +13 -0
  156. package/dist/runtime/locale/tj.js +13 -0
  157. package/dist/runtime/locale/tr.js +13 -0
  158. package/dist/runtime/locale/ug_cn.js +13 -0
  159. package/dist/runtime/locale/uk.js +13 -0
  160. package/dist/runtime/locale/ur.js +13 -0
  161. package/dist/runtime/locale/uz.js +13 -0
  162. package/dist/runtime/locale/vi.js +13 -0
  163. package/dist/runtime/locale/zh_cn.js +13 -0
  164. package/dist/runtime/locale/zh_tw.js +13 -0
  165. package/dist/runtime/types/index.d.ts +4 -0
  166. package/dist/runtime/types/index.js +4 -0
  167. package/dist/runtime/types/locale.d.ts +13 -0
  168. package/dist/runtime/utils/ai.d.ts +23 -0
  169. package/dist/runtime/utils/ai.js +16 -0
  170. package/dist/runtime/utils/editor.js +17 -5
  171. package/dist/runtime/vue/components/Icon.d.vue.ts +1 -4
  172. package/dist/runtime/vue/components/Icon.vue +28 -3
  173. package/dist/runtime/vue/components/Icon.vue.d.ts +1 -4
  174. package/dist/runtime/vue/components/color-mode/ColorModeSelect.d.vue.ts +1 -1
  175. package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
  176. package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +3 -1
  177. package/dist/shared/{ui.DI_ypO2T.mjs → ui.DJUbBpE2.mjs} +298 -39
  178. package/dist/unplugin.d.mts +15 -5
  179. package/dist/unplugin.mjs +53 -30
  180. package/dist/vite.d.mts +1 -0
  181. package/dist/vite.mjs +1 -1
  182. package/package.json +50 -47
  183. /package/dist/runtime/composables/{internal/useFilter.d.ts → useFilter.d.ts} +0 -0
@@ -90,6 +90,7 @@ const defaultOptions = {
90
90
  },
91
91
  prefix: void 0
92
92
  },
93
+ prose: false,
93
94
  mdc: false,
94
95
  content: false
95
96
  };
@@ -1235,6 +1236,7 @@ const chatMessage = (options) => ({
1235
1236
  leadingIcon: "shrink-0",
1236
1237
  leadingAvatar: "shrink-0",
1237
1238
  leadingAvatarSize: "",
1239
+ files: "flex items-center gap-1.5 mb-1.5",
1238
1240
  content: "relative text-pretty min-w-0 *:first:mt-0 *:last:mb-0",
1239
1241
  actions: ["opacity-0 group-hover/message:opacity-100 absolute bottom-0 flex items-center", options.theme.transitions && "transition-opacity"]
1240
1242
  },
@@ -1257,11 +1259,10 @@ const chatMessage = (options) => ({
1257
1259
  }
1258
1260
  },
1259
1261
  side: {
1260
- left: {
1261
- container: "rtl:justify-end"
1262
- },
1262
+ left: {},
1263
1263
  right: {
1264
- container: "ltr:justify-end ms-auto max-w-[75%]"
1264
+ container: "justify-end ms-auto max-w-[75%]",
1265
+ files: "justify-end"
1265
1266
  }
1266
1267
  },
1267
1268
  leading: {
@@ -1274,12 +1275,14 @@ const chatMessage = (options) => ({
1274
1275
  true: {
1275
1276
  root: "scroll-mt-3",
1276
1277
  container: "gap-1.5 pb-3",
1278
+ content: "space-y-2",
1277
1279
  leadingIcon: "size-5",
1278
1280
  leadingAvatarSize: "2xs"
1279
1281
  },
1280
1282
  false: {
1281
1283
  root: "scroll-mt-4 sm:scroll-mt-6",
1282
1284
  container: "gap-3 pb-8",
1285
+ content: "space-y-4",
1283
1286
  leadingIcon: "size-8",
1284
1287
  leadingAvatarSize: "md"
1285
1288
  }
@@ -1390,6 +1393,86 @@ const chatPromptSubmit = {
1390
1393
  }
1391
1394
  };
1392
1395
 
1396
+ const chatReasoning = (options) => ({
1397
+ slots: {
1398
+ root: "",
1399
+ trigger: ["group flex w-full items-center gap-1.5 text-muted text-sm disabled:cursor-default disabled:hover:text-muted hover:text-default focus-visible:outline-offset-2 focus-visible:outline-primary min-w-0", options.theme.transitions && "transition-colors"],
1400
+ leading: "relative size-4 shrink-0",
1401
+ leadingIcon: "size-4 shrink-0",
1402
+ chevronIcon: "size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
1403
+ label: "truncate",
1404
+ trailingIcon: "size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
1405
+ content: "data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",
1406
+ body: "max-h-[200px] pt-2 overflow-y-auto text-sm text-dimmed whitespace-pre-wrap"
1407
+ },
1408
+ variants: {
1409
+ chevron: {
1410
+ leading: {
1411
+ leadingIcon: "group-hover:opacity-0"
1412
+ },
1413
+ trailing: ""
1414
+ },
1415
+ alone: {
1416
+ false: {
1417
+ leadingIcon: ["absolute inset-0 group-data-[state=open]:opacity-0", options.theme.transitions && "transition-opacity duration-200"],
1418
+ chevronIcon: ["absolute inset-0 opacity-0 group-hover:opacity-100 group-data-[state=open]:opacity-100", options.theme.transitions && "transition-[rotate,opacity] duration-200"]
1419
+ }
1420
+ }
1421
+ }
1422
+ });
1423
+
1424
+ const chatShimmer = {
1425
+ base: "text-transparent bg-clip-text bg-no-repeat bg-size-[calc(200%+var(--spread)*2+2px)_100%,auto] bg-[image:linear-gradient(90deg,#0000_calc(50%-var(--spread)),var(--ui-text-highlighted),#0000_calc(50%+var(--spread))),linear-gradient(var(--ui-text-muted),var(--ui-text-muted))] animate-[shimmer_var(--duration)_linear_infinite] rtl:animate-[shimmer-rtl_var(--duration)_linear_infinite] will-change-[background-position]"
1426
+ };
1427
+
1428
+ const chatTool = (options) => ({
1429
+ slots: {
1430
+ root: "",
1431
+ trigger: ["group flex w-full items-center gap-1.5 text-muted text-sm disabled:cursor-default disabled:hover:text-muted hover:text-default focus-visible:outline-offset-2 focus-visible:outline-primary min-w-0", options.theme.transitions && "transition-colors"],
1432
+ leading: "relative size-4 shrink-0",
1433
+ leadingIcon: "size-4 shrink-0",
1434
+ chevronIcon: "size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
1435
+ label: "truncate",
1436
+ suffix: "text-dimmed ms-1",
1437
+ trailingIcon: "size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
1438
+ content: "data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",
1439
+ body: "text-sm text-dimmed whitespace-pre-wrap"
1440
+ },
1441
+ variants: {
1442
+ variant: {
1443
+ inline: {
1444
+ body: "pt-2"
1445
+ },
1446
+ card: {
1447
+ root: "rounded-md ring ring-default overflow-hidden",
1448
+ trigger: "px-2 py-1",
1449
+ trailingIcon: "ms-auto",
1450
+ body: "border-t border-default p-2 max-h-[200px] overflow-y-auto"
1451
+ }
1452
+ },
1453
+ chevron: {
1454
+ leading: {
1455
+ leadingIcon: "group-hover:opacity-0"
1456
+ },
1457
+ trailing: ""
1458
+ },
1459
+ loading: {
1460
+ true: {
1461
+ leadingIcon: "animate-spin"
1462
+ }
1463
+ },
1464
+ alone: {
1465
+ false: {
1466
+ leadingIcon: ["absolute inset-0 group-data-[state=open]:opacity-0", options.theme.transitions && "transition-opacity duration-200"],
1467
+ chevronIcon: ["absolute inset-0 opacity-0 group-hover:opacity-100 group-data-[state=open]:opacity-100", options.theme.transitions && "transition-[rotate,opacity] duration-200"]
1468
+ }
1469
+ }
1470
+ },
1471
+ defaultVariants: {
1472
+ variant: "inline"
1473
+ }
1474
+ });
1475
+
1393
1476
  const checkbox = (options) => ({
1394
1477
  slots: {
1395
1478
  root: "relative flex items-start",
@@ -2262,6 +2345,8 @@ const drawer = (options) => ({
2262
2345
  const dropdownMenu = (options) => ({
2263
2346
  slots: {
2264
2347
  content: "min-w-32 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col",
2348
+ input: "border-b border-default",
2349
+ empty: "text-center text-muted",
2265
2350
  viewport: "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
2266
2351
  arrow: "fill-bg stroke-default",
2267
2352
  group: "p-1 isolate",
@@ -2304,6 +2389,7 @@ const dropdownMenu = (options) => ({
2304
2389
  xs: {
2305
2390
  label: "p-1 text-xs gap-1",
2306
2391
  item: "p-1 text-xs gap-1",
2392
+ empty: "p-2 text-xs",
2307
2393
  itemLeadingIcon: "size-4",
2308
2394
  itemLeadingAvatarSize: "3xs",
2309
2395
  itemTrailingIcon: "size-4",
@@ -2313,6 +2399,7 @@ const dropdownMenu = (options) => ({
2313
2399
  sm: {
2314
2400
  label: "p-1.5 text-xs gap-1.5",
2315
2401
  item: "p-1.5 text-xs gap-1.5",
2402
+ empty: "p-2.5 text-xs",
2316
2403
  itemLeadingIcon: "size-4",
2317
2404
  itemLeadingAvatarSize: "3xs",
2318
2405
  itemTrailingIcon: "size-4",
@@ -2322,6 +2409,7 @@ const dropdownMenu = (options) => ({
2322
2409
  md: {
2323
2410
  label: "p-1.5 text-sm gap-1.5",
2324
2411
  item: "p-1.5 text-sm gap-1.5",
2412
+ empty: "p-2.5 text-sm",
2325
2413
  itemLeadingIcon: "size-5",
2326
2414
  itemLeadingAvatarSize: "2xs",
2327
2415
  itemTrailingIcon: "size-5",
@@ -2331,6 +2419,7 @@ const dropdownMenu = (options) => ({
2331
2419
  lg: {
2332
2420
  label: "p-2 text-sm gap-2",
2333
2421
  item: "p-2 text-sm gap-2",
2422
+ empty: "p-3 text-sm",
2334
2423
  itemLeadingIcon: "size-5",
2335
2424
  itemLeadingAvatarSize: "2xs",
2336
2425
  itemTrailingIcon: "size-5",
@@ -2340,6 +2429,7 @@ const dropdownMenu = (options) => ({
2340
2429
  xl: {
2341
2430
  label: "p-2 text-base gap-2",
2342
2431
  item: "p-2 text-base gap-2",
2432
+ empty: "p-3 text-base",
2343
2433
  itemLeadingIcon: "size-6",
2344
2434
  itemLeadingAvatarSize: "xs",
2345
2435
  itemTrailingIcon: "size-6",
@@ -3206,7 +3296,7 @@ const inputMenu = (options) => {
3206
3296
  itemTrailingIcon: "size-4",
3207
3297
  tagsItem: "text-[10px]/3",
3208
3298
  tagsItemDeleteIcon: "size-3",
3209
- empty: "p-1 text-xs"
3299
+ empty: "p-2 text-xs"
3210
3300
  },
3211
3301
  sm: {
3212
3302
  label: "p-1.5 text-[10px]/3 gap-1.5",
@@ -3218,7 +3308,7 @@ const inputMenu = (options) => {
3218
3308
  itemTrailingIcon: "size-4",
3219
3309
  tagsItem: "text-[10px]/3",
3220
3310
  tagsItemDeleteIcon: "size-3",
3221
- empty: "p-1.5 text-xs"
3311
+ empty: "p-2.5 text-xs"
3222
3312
  },
3223
3313
  md: {
3224
3314
  label: "p-1.5 text-xs gap-1.5",
@@ -3230,7 +3320,7 @@ const inputMenu = (options) => {
3230
3320
  itemTrailingIcon: "size-5",
3231
3321
  tagsItem: "text-xs",
3232
3322
  tagsItemDeleteIcon: "size-3.5",
3233
- empty: "p-1.5 text-sm"
3323
+ empty: "p-2.5 text-sm"
3234
3324
  },
3235
3325
  lg: {
3236
3326
  label: "p-2 text-xs gap-2",
@@ -3242,7 +3332,7 @@ const inputMenu = (options) => {
3242
3332
  itemTrailingIcon: "size-5",
3243
3333
  tagsItem: "text-xs",
3244
3334
  tagsItemDeleteIcon: "size-3.5",
3245
- empty: "p-2 text-sm"
3335
+ empty: "p-3 text-sm"
3246
3336
  },
3247
3337
  xl: {
3248
3338
  label: "p-2 text-sm gap-2",
@@ -3254,7 +3344,7 @@ const inputMenu = (options) => {
3254
3344
  itemTrailingIcon: "size-6",
3255
3345
  tagsItem: "text-sm",
3256
3346
  tagsItemDeleteIcon: "size-4",
3257
- empty: "p-2 text-base"
3347
+ empty: "p-3 text-base"
3258
3348
  }
3259
3349
  }
3260
3350
  },
@@ -3473,7 +3563,8 @@ const inputTime = (options) => {
3473
3563
  slots: {
3474
3564
  root: () => void 0,
3475
3565
  base: () => ["group relative inline-flex items-center rounded-md select-none", options.theme.transitions && "transition-colors"],
3476
- segment: ["rounded text-center outline-hidden data-placeholder:text-dimmed data-[segment=literal]:text-muted data-invalid:text-error data-disabled:cursor-not-allowed data-disabled:opacity-75", options.theme.transitions && "transition-colors"]
3566
+ segment: ["rounded text-center outline-hidden data-placeholder:text-dimmed data-[segment=literal]:text-muted data-invalid:text-error data-disabled:cursor-not-allowed data-disabled:opacity-75", options.theme.transitions && "transition-colors"],
3567
+ separatorIcon: "shrink-0 size-4 text-muted"
3477
3568
  },
3478
3569
  variants: {
3479
3570
  ...fieldGroupVariant,
@@ -3671,7 +3762,7 @@ const modal = {
3671
3762
  slots: {
3672
3763
  overlay: "fixed inset-0",
3673
3764
  content: "bg-default divide-y divide-default flex flex-col focus:outline-none",
3674
- header: "flex items-center gap-1.5 p-4 sm:px-6 min-h-16",
3765
+ header: "flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)",
3675
3766
  wrapper: "",
3676
3767
  body: "flex-1 p-4 sm:p-6",
3677
3768
  footer: "flex items-center gap-1.5 p-4 sm:px-6",
@@ -3753,10 +3844,10 @@ const navigationMenu = (options) => ({
3753
3844
  childLinkDescription: "text-muted",
3754
3845
  separator: "px-2 h-px bg-border",
3755
3846
  viewportWrapper: "absolute top-full left-0 flex w-full",
3756
- viewport: "relative overflow-hidden bg-default shadow-lg rounded-md ring ring-default h-(--reka-navigation-menu-viewport-height) w-full transition-[width,height,left] duration-200 origin-[top_center] data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] z-[1]",
3847
+ viewport: "relative overflow-hidden bg-default shadow-lg rounded-md ring ring-default h-(--reka-navigation-menu-viewport-height) w-full transition-[width,height,left,right] duration-200 origin-[top_center] data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] z-1",
3757
3848
  content: "",
3758
- indicator: "absolute data-[state=visible]:animate-[fade-in_100ms_ease-out] data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-[2] w-(--reka-navigation-menu-indicator-size) translate-x-(--reka-navigation-menu-indicator-position) flex h-2.5 items-end justify-center overflow-hidden transition-[translate,width] duration-200",
3759
- arrow: "relative top-[50%] size-2.5 rotate-45 border border-default bg-default z-[1] rounded-xs"
3849
+ indicator: "absolute left-0 data-[state=visible]:animate-[fade-in_100ms_ease-out] data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-2 w-(--reka-navigation-menu-indicator-size) translate-x-(--reka-navigation-menu-indicator-position) flex h-2.5 items-end justify-center overflow-hidden transition-[translate,width] duration-200",
3850
+ arrow: "relative top-[50%] size-2.5 rotate-45 border border-default bg-default z-1 rounded-xs"
3760
3851
  },
3761
3852
  variants: {
3762
3853
  color: {
@@ -3801,7 +3892,7 @@ const navigationMenu = (options) => ({
3801
3892
  content: "data-[motion=from-start]:animate-[enter-from-left_200ms_ease] data-[motion=from-end]:animate-[enter-from-right_200ms_ease] data-[motion=to-start]:animate-[exit-to-left_200ms_ease] data-[motion=to-end]:animate-[exit-to-right_200ms_ease]"
3802
3893
  },
3803
3894
  vertical: {
3804
- viewport: "sm:w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)"
3895
+ viewport: "sm:w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left) rtl:left-auto rtl:right-[calc(100%-var(--reka-navigation-menu-viewport-left)-var(--reka-navigation-menu-viewport-width))]"
3805
3896
  }
3806
3897
  },
3807
3898
  active: {
@@ -5230,7 +5321,7 @@ const select = (options) => {
5230
5321
  itemLeadingChip: "size-4",
5231
5322
  itemLeadingChipSize: "sm",
5232
5323
  itemTrailingIcon: "size-4",
5233
- empty: "p-1 text-xs"
5324
+ empty: "p-2 text-xs"
5234
5325
  },
5235
5326
  sm: {
5236
5327
  base: "px-2.5 py-1.5 text-xs gap-1.5",
@@ -5241,7 +5332,7 @@ const select = (options) => {
5241
5332
  itemLeadingChip: "size-4",
5242
5333
  itemLeadingChipSize: "sm",
5243
5334
  itemTrailingIcon: "size-4",
5244
- empty: "p-1.5 text-xs"
5335
+ empty: "p-2.5 text-xs"
5245
5336
  },
5246
5337
  md: {
5247
5338
  base: "px-2.5 py-1.5 text-sm gap-1.5",
@@ -5252,7 +5343,7 @@ const select = (options) => {
5252
5343
  itemLeadingChip: "size-5",
5253
5344
  itemLeadingChipSize: "md",
5254
5345
  itemTrailingIcon: "size-5",
5255
- empty: "p-1.5 text-sm"
5346
+ empty: "p-2.5 text-sm"
5256
5347
  },
5257
5348
  lg: {
5258
5349
  base: "px-3 py-2 text-sm gap-2",
@@ -5263,7 +5354,7 @@ const select = (options) => {
5263
5354
  itemLeadingChip: "size-5",
5264
5355
  itemLeadingChipSize: "md",
5265
5356
  itemTrailingIcon: "size-5",
5266
- empty: "p-2 text-sm"
5357
+ empty: "p-3 text-sm"
5267
5358
  },
5268
5359
  xl: {
5269
5360
  base: "px-3 py-2 text-base gap-2",
@@ -5274,7 +5365,7 @@ const select = (options) => {
5274
5365
  itemLeadingChip: "size-6",
5275
5366
  itemLeadingChipSize: "lg",
5276
5367
  itemTrailingIcon: "size-6",
5277
- empty: "p-2 text-base"
5368
+ empty: "p-3 text-base"
5278
5369
  }
5279
5370
  }
5280
5371
  },
@@ -5411,6 +5502,133 @@ const separator = (options) => ({
5411
5502
  }
5412
5503
  });
5413
5504
 
5505
+ const sidebar = (options) => ({
5506
+ slots: {
5507
+ root: "peer [--sidebar-width:16rem] [--sidebar-width-icon:4rem]",
5508
+ gap: "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
5509
+ container: "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear lg:flex",
5510
+ inner: "flex size-full flex-col overflow-hidden divide-y divide-default",
5511
+ header: "flex items-center gap-1.5 overflow-hidden px-4 min-h-(--ui-header-height)",
5512
+ wrapper: "min-w-0 flex-1",
5513
+ title: "text-highlighted font-semibold truncate",
5514
+ description: "text-muted text-sm truncate",
5515
+ actions: "flex items-center gap-1.5 shrink-0",
5516
+ close: "",
5517
+ body: "flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto p-4",
5518
+ footer: "flex items-center gap-1.5 overflow-hidden p-4",
5519
+ rail: ["absolute inset-y-0 z-20 hidden w-4 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-px lg:flex hover:after:bg-(--ui-border-accented)", options.theme.transitions && "after:transition-colors"]
5520
+ },
5521
+ variants: {
5522
+ side: {
5523
+ left: {
5524
+ container: "left-0 border-e border-default",
5525
+ rail: "end-0 translate-x-1/2"
5526
+ },
5527
+ right: {
5528
+ container: "right-0 border-s border-default",
5529
+ rail: "-start-px -translate-x-1/2"
5530
+ }
5531
+ },
5532
+ collapsible: {
5533
+ offcanvas: {
5534
+ root: "group/sidebar hidden lg:block",
5535
+ gap: "data-[state=collapsed]:w-0"
5536
+ },
5537
+ icon: {
5538
+ root: "group/sidebar hidden lg:block",
5539
+ gap: "data-[state=collapsed]:w-(--sidebar-width-icon)",
5540
+ container: "data-[state=collapsed]:w-(--sidebar-width-icon)",
5541
+ actions: "group-data-[state=collapsed]/sidebar:hidden",
5542
+ body: "group-data-[state=collapsed]/sidebar:overflow-hidden"
5543
+ },
5544
+ none: {
5545
+ root: "h-full w-(--sidebar-width)"
5546
+ }
5547
+ },
5548
+ variant: {
5549
+ sidebar: {},
5550
+ floating: {
5551
+ container: "p-4 border-transparent",
5552
+ inner: "rounded-lg ring ring-default shadow-lg",
5553
+ rail: "inset-y-4"
5554
+ },
5555
+ inset: {
5556
+ container: "py-4 border-transparent",
5557
+ inner: "divide-transparent",
5558
+ rail: "inset-y-4"
5559
+ }
5560
+ }
5561
+ },
5562
+ compoundVariants: [{
5563
+ side: "left",
5564
+ collapsible: ["offcanvas", "icon"],
5565
+ class: {
5566
+ rail: "cursor-w-resize data-[state=collapsed]:cursor-e-resize"
5567
+ }
5568
+ }, {
5569
+ side: "right",
5570
+ collapsible: ["offcanvas", "icon"],
5571
+ class: {
5572
+ rail: "cursor-e-resize data-[state=collapsed]:cursor-w-resize"
5573
+ }
5574
+ }, {
5575
+ side: "left",
5576
+ collapsible: "none",
5577
+ class: {
5578
+ root: "border-e border-default"
5579
+ }
5580
+ }, {
5581
+ side: "right",
5582
+ collapsible: "none",
5583
+ class: {
5584
+ root: "border-s border-default"
5585
+ }
5586
+ }, {
5587
+ side: "left",
5588
+ collapsible: "offcanvas",
5589
+ class: {
5590
+ container: "data-[state=collapsed]:-left-(--sidebar-width)"
5591
+ }
5592
+ }, {
5593
+ side: "right",
5594
+ collapsible: "offcanvas",
5595
+ class: {
5596
+ container: "data-[state=collapsed]:-right-(--sidebar-width)"
5597
+ }
5598
+ }, {
5599
+ variant: "floating",
5600
+ collapsible: "icon",
5601
+ class: {
5602
+ gap: "data-[state=collapsed]:w-[calc(var(--sidebar-width-icon)+--spacing(8))]",
5603
+ container: "data-[state=collapsed]:w-[calc(var(--sidebar-width-icon)+--spacing(8)+2px)]"
5604
+ }
5605
+ }, {
5606
+ variant: "floating",
5607
+ collapsible: "none",
5608
+ class: {
5609
+ root: "p-4 border-0"
5610
+ }
5611
+ }, {
5612
+ variant: "inset",
5613
+ collapsible: "none",
5614
+ class: {
5615
+ root: "py-4 border-0"
5616
+ }
5617
+ }, {
5618
+ variant: "floating",
5619
+ side: "left",
5620
+ class: {
5621
+ rail: "end-4"
5622
+ }
5623
+ }, {
5624
+ variant: "floating",
5625
+ side: "right",
5626
+ class: {
5627
+ rail: "start-[calc(--spacing(4)-1px)]"
5628
+ }
5629
+ }]
5630
+ });
5631
+
5414
5632
  const skeleton = {
5415
5633
  base: "animate-pulse rounded-md bg-elevated"
5416
5634
  };
@@ -5419,7 +5637,7 @@ const slideover = {
5419
5637
  slots: {
5420
5638
  overlay: "fixed inset-0 bg-elevated/75",
5421
5639
  content: "fixed bg-default divide-y divide-default sm:ring ring-default sm:shadow-lg flex flex-col focus:outline-none",
5422
- header: "flex items-center gap-1.5 p-4 sm:px-6 min-h-16",
5640
+ header: "flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)",
5423
5641
  wrapper: "",
5424
5642
  body: "flex-1 overflow-y-auto p-4 sm:p-6",
5425
5643
  footer: "flex items-center gap-1.5 p-4 sm:px-6",
@@ -6630,6 +6848,9 @@ const theme = {
6630
6848
  chatPalette: chatPalette,
6631
6849
  chatPrompt: chatPrompt,
6632
6850
  chatPromptSubmit: chatPromptSubmit,
6851
+ chatReasoning: chatReasoning,
6852
+ chatShimmer: chatShimmer,
6853
+ chatTool: chatTool,
6633
6854
  checkbox: checkbox,
6634
6855
  checkboxGroup: checkboxGroup,
6635
6856
  chip: chip,
@@ -6704,6 +6925,7 @@ const theme = {
6704
6925
  select: select,
6705
6926
  selectMenu: selectMenu,
6706
6927
  separator: separator,
6928
+ sidebar: sidebar,
6707
6929
  skeleton: skeleton,
6708
6930
  slideover: slideover,
6709
6931
  slider: slider,
@@ -7104,7 +7326,7 @@ const pre = {
7104
7326
  filename: "text-default text-sm/6",
7105
7327
  icon: "size-4 shrink-0",
7106
7328
  copy: "absolute top-[11px] right-[11px] lg:opacity-0 lg:group-hover:opacity-100 transition",
7107
- base: "group font-mono text-sm/6 border border-muted bg-muted rounded-md px-4 py-3 whitespace-pre-wrap break-words overflow-x-auto focus:outline-none"
7329
+ base: "group font-mono text-sm/6 border border-muted bg-muted rounded-md px-4 py-3 whitespace-pre-wrap break-words overflow-x-auto focus:outline-none **:[.line]:block **:[.line.highlight]:-mx-4 **:[.line.highlight]:px-4 **:[.line.highlight]:bg-accented/50!"
7108
7330
  },
7109
7331
  variants: {
7110
7332
  filename: {
@@ -7448,7 +7670,7 @@ const contentSurround = (options) => ({
7448
7670
  linkLeadingIcon: [options.theme.transitions && "group-active:-translate-x-0.5"]
7449
7671
  },
7450
7672
  right: {
7451
- link: "text-right",
7673
+ link: "text-end",
7452
7674
  linkLeadingIcon: [options.theme.transitions && "group-active:translate-x-0.5"]
7453
7675
  }
7454
7676
  }
@@ -7457,7 +7679,7 @@ const contentSurround = (options) => ({
7457
7679
 
7458
7680
  const contentToc = (options) => ({
7459
7681
  slots: {
7460
- root: "sticky top-(--ui-header-height) z-10 bg-default/75 lg:bg-[initial] backdrop-blur -mx-4 px-4 sm:px-6 sm:-mx-6 overflow-y-auto max-h-[calc(100vh-var(--ui-header-height))]",
7682
+ root: "sticky top-(--ui-header-height) z-10 bg-default/75 lg:bg-[initial] backdrop-blur -mx-4 px-4 sm:px-6 sm:-mx-6 lg:ms-0 overflow-y-auto max-h-[calc(100vh-var(--ui-header-height))]",
7461
7683
  container: "pt-4 sm:pt-6 pb-2.5 sm:pb-4.5 lg:py-8 border-b border-dashed border-default lg:border-0 flex flex-col",
7462
7684
  top: "",
7463
7685
  bottom: "hidden lg:flex lg:flex-col gap-6",
@@ -7472,7 +7694,9 @@ const contentToc = (options) => ({
7472
7694
  itemWithChildren: "",
7473
7695
  link: "group relative text-sm flex items-center focus-visible:outline-primary py-1",
7474
7696
  linkText: "truncate",
7475
- indicator: "absolute ms-2.5 transition-[translate,height] duration-200 h-(--indicator-size) translate-y-(--indicator-position) w-px rounded-full"
7697
+ indicator: "",
7698
+ indicatorLine: "",
7699
+ indicatorActive: ""
7476
7700
  },
7477
7701
  variants: {
7478
7702
  color: {
@@ -7481,10 +7705,10 @@ const contentToc = (options) => ({
7481
7705
  },
7482
7706
  highlightColor: {
7483
7707
  ...Object.fromEntries((options.theme.colors || []).map((color) => [color, {
7484
- indicator: `bg-${color}`
7708
+ indicatorActive: `bg-${color}`
7485
7709
  }])),
7486
7710
  neutral: {
7487
- indicator: "bg-inverted"
7711
+ indicatorActive: "bg-inverted"
7488
7712
  }
7489
7713
  },
7490
7714
  active: {
@@ -7493,10 +7717,11 @@ const contentToc = (options) => ({
7493
7717
  }
7494
7718
  },
7495
7719
  highlight: {
7496
- true: {
7497
- list: "ms-2.5 ps-4 border-s border-default",
7498
- item: "-ms-px"
7499
- }
7720
+ true: ""
7721
+ },
7722
+ highlightVariant: {
7723
+ straight: "",
7724
+ circuit: ""
7500
7725
  },
7501
7726
  body: {
7502
7727
  true: {
@@ -7508,20 +7733,40 @@ const contentToc = (options) => ({
7508
7733
  color,
7509
7734
  active: true,
7510
7735
  class: {
7511
- link: `text-${color}`,
7512
- linkLeadingIcon: `text-${color}`
7736
+ link: `text-${color}`
7513
7737
  }
7514
7738
  })), {
7515
7739
  color: "neutral",
7516
7740
  active: true,
7517
7741
  class: {
7518
- link: "text-highlighted",
7519
- linkLeadingIcon: "text-highlighted"
7742
+ link: "text-highlighted"
7743
+ }
7744
+ }, {
7745
+ highlight: true,
7746
+ highlightVariant: "straight",
7747
+ class: {
7748
+ list: "ms-2.5 ps-4 border-s border-default",
7749
+ item: "-ms-px",
7750
+ indicator: "absolute ms-2.5 transition-[translate,height] duration-200 h-(--indicator-size) translate-y-(--indicator-position) w-px rounded-full",
7751
+ indicatorLine: "hidden",
7752
+ indicatorActive: "w-full h-full"
7753
+ }
7754
+ }, {
7755
+ highlight: true,
7756
+ highlightVariant: "circuit",
7757
+ class: {
7758
+ list: "ps-6.5",
7759
+ item: "-ms-px",
7760
+ itemWithChildren: "ps-px",
7761
+ indicator: "absolute ms-2.5 start-0 top-0 rtl:-scale-x-100",
7762
+ indicatorLine: "absolute inset-0 bg-(--ui-border)",
7763
+ indicatorActive: "absolute w-full h-(--indicator-size) translate-y-(--indicator-position) transition-[translate,height] duration-200 ease-out"
7520
7764
  }
7521
7765
  }],
7522
7766
  defaultVariants: {
7523
7767
  color: "primary",
7524
- highlightColor: "primary"
7768
+ highlightColor: "primary",
7769
+ highlightVariant: "straight"
7525
7770
  }
7526
7771
  });
7527
7772
 
@@ -7575,7 +7820,7 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
7575
7820
  });
7576
7821
  }
7577
7822
  }
7578
- if (!!nuxt && (hasNuxtModule("@nuxtjs/mdc") || options.mdc || (hasNuxtModule("@nuxt/content") || options.content))) {
7823
+ if (options.prose || options.mdc || options.content || !!nuxt && (hasNuxtModule("@nuxtjs/mdc") || hasNuxtModule("@nuxt/content"))) {
7579
7824
  hasProse = true;
7580
7825
  const path = "prose";
7581
7826
  writeThemeTemplate(themeProse, path);
@@ -7585,7 +7830,7 @@ function getTemplates(options, uiConfig, nuxt, resolve) {
7585
7830
  getContents: () => Object.keys(themeProse).map((component) => `export { default as ${component} } from './${kebabCase(component)}'`).join("\n")
7586
7831
  });
7587
7832
  }
7588
- if (!!nuxt && (hasNuxtModule("@nuxt/content") || options.content)) {
7833
+ if (options.content || !!nuxt && hasNuxtModule("@nuxt/content")) {
7589
7834
  hasContent = true;
7590
7835
  writeThemeTemplate(themeContent, "content");
7591
7836
  }
@@ -7813,4 +8058,18 @@ function addTemplates(options, nuxt, resolve) {
7813
8058
  }
7814
8059
  }
7815
8060
 
7816
- export { getDefaultConfig as a, addTemplates as b, defaultOptions as d, getTemplates as g, resolveColors as r };
8061
+ const publicComposables = {
8062
+ defineLocale: ["defineLocale", "extendLocale"],
8063
+ defineShortcuts: ["defineShortcuts", "extractShortcuts"],
8064
+ useContentSearch: ["useContentSearch"],
8065
+ useFileUpload: ["useFileUpload"],
8066
+ useFormField: ["useFormField"],
8067
+ useKbd: ["useKbd"],
8068
+ useOverlay: ["useOverlay"],
8069
+ useResizable: ["useResizable"],
8070
+ useScrollShadow: ["useScrollShadow"],
8071
+ useScrollspy: ["useScrollspy"],
8072
+ useToast: ["useToast"]
8073
+ };
8074
+
8075
+ export { getDefaultConfig as a, addTemplates as b, defaultOptions as d, getTemplates as g, publicComposables as p, resolveColors as r };
@@ -2,6 +2,7 @@ import * as unplugin from 'unplugin';
2
2
  import { Options } from 'unplugin-auto-import/types';
3
3
  import { Options as Options$1 } from 'unplugin-vue-components/types';
4
4
  import colors from 'tailwindcss/colors';
5
+ import { RuntimeOptions } from '@nuxt/icon';
5
6
  import * as ui from '#build/ui';
6
7
  import { ModuleOptions } from './module.mjs';
7
8
  import { TVConfig } from '../dist/runtime/types/tv.js';
@@ -62,29 +63,37 @@ type AppConfigUI = {
62
63
  icons?: Partial<typeof _default>;
63
64
  prefix?: string;
64
65
  } & TVConfig<typeof ui>;
65
- interface NuxtUIOptions extends Omit<ModuleOptions, 'fonts' | 'colorMode'> {
66
+ interface NuxtUIOptions extends Omit<ModuleOptions, 'fonts' | 'colorMode' | 'content' | 'experimental'> {
66
67
  /** Whether to generate declaration files for auto-imported components. */
67
68
  dts?: boolean;
68
69
  ui?: AppConfigUI;
70
+ /**
71
+ * Default props for the `Icon` component
72
+ */
73
+ icon?: Pick<RuntimeOptions, 'customize' | 'size' | 'mode'>;
69
74
  /**
70
75
  * Enable or disable `@vueuse/core` color-mode integration
71
76
  * @defaultValue `true`
77
+ * @see https://ui.nuxt.com/docs/getting-started/installation/vue#colormode
72
78
  */
73
79
  colorMode?: boolean;
74
80
  /**
75
- * Override options for `unplugin-auto-import`
81
+ * Override options for `unplugin-auto-import`, or `false` to disable composable auto-imports
82
+ * @see https://ui.nuxt.com/docs/getting-started/installation/vue#autoimport
76
83
  */
77
- autoImport?: Partial<Options>;
84
+ autoImport?: false | Partial<Options>;
78
85
  /**
79
- * Override options for `unplugin-vue-components`
86
+ * Override options for `unplugin-vue-components`, or `false` to disable component auto-imports
87
+ * @see https://ui.nuxt.com/docs/getting-started/installation/vue#components
80
88
  */
81
- components?: Partial<Options$1>;
89
+ components?: false | Partial<Options$1>;
82
90
  /**
83
91
  * Router integration mode
84
92
  * - `true` (default): Use vue-router integration
85
93
  * - `false`: Disable routing, use anchor tags
86
94
  * - `'inertia'`: Use Inertia.js compatibility layer
87
95
  * @defaultValue `true`
96
+ * @see https://ui.nuxt.com/docs/getting-started/installation/vue#router
88
97
  */
89
98
  router?: boolean | 'inertia';
90
99
  /**
@@ -94,6 +103,7 @@ interface NuxtUIOptions extends Omit<ModuleOptions, 'fonts' | 'colorMode'> {
94
103
  inertia?: boolean;
95
104
  /**
96
105
  * Additional packages to scan for components using Nuxt UI
106
+ * @see https://ui.nuxt.com/docs/getting-started/installation/vue#scanpackages
97
107
  */
98
108
  scanPackages?: string[];
99
109
  }