@una-ui/nuxt 0.4.0-beta.5 → 0.6.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/module.json +5 -1
  2. package/dist/module.mjs +2 -1
  3. package/dist/runtime/components/elements/Accordion.vue +3 -2
  4. package/dist/runtime/components/elements/Alert.vue +1 -1
  5. package/dist/runtime/components/elements/Avatar.vue +2 -0
  6. package/dist/runtime/components/elements/Badge.vue +1 -1
  7. package/dist/runtime/components/elements/Link.vue.d.ts +1 -1
  8. package/dist/runtime/components/elements/Progress.vue +45 -0
  9. package/dist/runtime/components/forms/Input.vue +1 -1
  10. package/dist/runtime/components/forms/Slider.vue +63 -0
  11. package/dist/runtime/components/misc/ThemeSwitcher.vue +3 -3
  12. package/dist/runtime/components/navigation/NavLink.vue +2 -0
  13. package/dist/runtime/components/slots/AvatarGroupDefault.d.ts +2 -2
  14. package/dist/runtime/components/slots/FormGroupDefault.d.ts +1 -1
  15. package/dist/runtime/components/slots/FormGroupLabel.d.ts +6 -5
  16. package/dist/runtime/composables/{useUnaSettings.mjs → useUnaSettings.js} +1 -1
  17. package/dist/runtime/composables/useUnaThemes.d.ts +1 -1
  18. package/dist/runtime/composables/{useUnaThemes.mjs → useUnaThemes.js} +1 -1
  19. package/dist/runtime/plugins/{theme.client.mjs → theme.client.js} +1 -1
  20. package/dist/runtime/plugins/{theme.server.mjs → theme.server.js} +1 -1
  21. package/dist/runtime/types/accordion.d.ts +6 -1
  22. package/dist/runtime/types/avatar-group.d.ts +1 -1
  23. package/dist/runtime/types/avatar.d.ts +4 -0
  24. package/dist/runtime/types/form-group.d.ts +3 -3
  25. package/dist/runtime/types/index.d.ts +19 -17
  26. package/dist/runtime/types/index.js +19 -0
  27. package/dist/runtime/types/nav-link-group.d.ts +1 -1
  28. package/dist/runtime/types/nav-link.d.ts +2 -2
  29. package/dist/runtime/types/progress.d.ts +35 -0
  30. package/dist/runtime/types/slider.d.ts +37 -0
  31. package/dist/runtime/types/slider.js +0 -0
  32. package/dist/runtime/types/switch.js +0 -0
  33. package/dist/runtime/utils/cn.d.ts +2 -0
  34. package/dist/runtime/utils/cn.js +5 -0
  35. package/dist/runtime/utils/index.d.ts +1 -0
  36. package/dist/runtime/utils/{index.mjs → index.js} +1 -0
  37. package/dist/types.d.mts +1 -16
  38. package/dist/types.d.ts +1 -16
  39. package/package.json +25 -19
  40. package/playground/.nuxt/components.d.ts +134 -94
  41. package/playground/.nuxt/imports.d.ts +12 -5
  42. package/playground/.nuxt/nuxt.d.ts +5 -4
  43. package/playground/.nuxt/types/app-defaults.d.ts +7 -0
  44. package/playground/.nuxt/types/app.config.d.ts +2 -4
  45. package/playground/.nuxt/types/build.d.ts +22 -0
  46. package/playground/.nuxt/types/imports.d.ts +1142 -1042
  47. package/playground/.nuxt/types/middleware.d.ts +6 -0
  48. package/playground/.nuxt/types/nitro-config.d.ts +1 -1
  49. package/playground/.nuxt/types/nitro-imports.d.ts +128 -119
  50. package/playground/.nuxt/types/nitro-nuxt.d.ts +4 -1
  51. package/playground/.nuxt/types/nitro-routes.d.ts +1 -1
  52. package/playground/.nuxt/types/plugins.d.ts +19 -11
  53. package/playground/.nuxt/types/schema.d.ts +13 -8
  54. package/playground/.nuxt/types/vue-shim.d.ts +0 -5
  55. package/dist/runtime/types/index.mjs +0 -17
  56. package/playground/.nuxt/vue-router-stub.d.ts +0 -1
  57. /package/dist/runtime/components/slots/{AvatarGroupDefault.mjs → AvatarGroupDefault.js} +0 -0
  58. /package/dist/runtime/components/slots/{FormGroupDefault.mjs → FormGroupDefault.js} +0 -0
  59. /package/dist/runtime/components/slots/{FormGroupLabel.mjs → FormGroupLabel.js} +0 -0
  60. /package/dist/runtime/types/{accordion.mjs → accordion.js} +0 -0
  61. /package/dist/runtime/types/{alert.mjs → alert.js} +0 -0
  62. /package/dist/runtime/types/{avatar-group.mjs → avatar-group.js} +0 -0
  63. /package/dist/runtime/types/{avatar.mjs → avatar.js} +0 -0
  64. /package/dist/runtime/types/{badge.mjs → badge.js} +0 -0
  65. /package/dist/runtime/types/{button.mjs → button.js} +0 -0
  66. /package/dist/runtime/types/{checkbox.mjs → checkbox.js} +0 -0
  67. /package/dist/runtime/types/{form-group.mjs → form-group.js} +0 -0
  68. /package/dist/runtime/types/{icon.mjs → icon.js} +0 -0
  69. /package/dist/runtime/types/{indicator.mjs → indicator.js} +0 -0
  70. /package/dist/runtime/types/{input.mjs → input.js} +0 -0
  71. /package/dist/runtime/types/{kbd.mjs → kbd.js} +0 -0
  72. /package/dist/runtime/types/{link.mjs → link.js} +0 -0
  73. /package/dist/runtime/types/{nav-link-group.mjs → nav-link-group.js} +0 -0
  74. /package/dist/runtime/types/{nav-link.mjs → nav-link.js} +0 -0
  75. /package/dist/runtime/types/{radio.mjs → progress.js} +0 -0
  76. /package/dist/runtime/types/{switch.mjs → radio.js} +0 -0
@@ -1,17 +1,18 @@
1
1
  // Generated by nuxi
2
2
  /// <reference types="../src/module" />
3
- /// <reference types="@nuxt/devtools" />
4
3
  /// <reference types="@nuxt/telemetry" />
4
+ /// <reference types="@nuxt/devtools" />
5
5
  /// <reference types="nuxt" />
6
+ /// <reference path="types/app-defaults.d.ts" />
6
7
  /// <reference path="types/plugins.d.ts" />
7
- /// <reference path="types/vue-shim.d.ts" />
8
+ /// <reference path="types/build.d.ts" />
8
9
  /// <reference path="types/schema.d.ts" />
9
10
  /// <reference path="types/app.config.d.ts" />
10
11
  /// <reference types="vite/client" />
12
+ /// <reference path="types/middleware.d.ts" />
11
13
  /// <reference path="components.d.ts" />
12
- /// <reference path="types/imports.d.ts" />
13
14
  /// <reference path="imports.d.ts" />
14
- /// <reference path="nuxt-config-schema" />
15
+ /// <reference path="types/imports.d.ts" />
15
16
  /// <reference path="schema/nuxt.schema.d.ts" />
16
17
  /// <reference path="types/nitro.d.ts" />
17
18
 
@@ -0,0 +1,7 @@
1
+
2
+ declare module '#app/defaults' {
3
+ type DefaultAsyncDataErrorValue = null
4
+ type DefaultAsyncDataValue = null
5
+ type DefaultErrorValue = null
6
+ type DedupeOption = boolean | 'cancel' | 'defer'
7
+ }
@@ -1,12 +1,10 @@
1
1
 
2
2
  import type { CustomAppConfig } from 'nuxt/schema'
3
3
  import type { Defu } from 'defu'
4
- import cfg0 from "/Users/phojie/Projects/una-ui/una-ui/packages/nuxt/playground/app.config"
4
+ import cfg0 from "../../app.config"
5
5
 
6
6
  declare const inlineConfig = {
7
- "nuxt": {
8
- "buildId": "dev"
9
- },
7
+ "nuxt": {},
10
8
  "una": {
11
9
  "primary": "yellow",
12
10
  "gray": "stone"
@@ -0,0 +1,22 @@
1
+ declare module "#build/app-component.mjs";
2
+ declare module "#build/nitro.client.mjs";
3
+ declare module "#build/plugins/client.mjs";
4
+ declare module "#build/css.mjs";
5
+ declare module "#build/fetch.mjs";
6
+ declare module "#build/error-component.mjs";
7
+ declare module "#build/layouts.mjs";
8
+ declare module "#build/middleware.mjs";
9
+ declare module "#build/nuxt.config.mjs";
10
+ declare module "#build/paths.mjs";
11
+ declare module "#build/root-component.mjs";
12
+ declare module "#build/plugins/server.mjs";
13
+ declare module "#build/test-component-wrapper.mjs";
14
+ declare module "#build/unocss.mjs";
15
+ declare module "#build/color-mode-options.mjs";
16
+ declare module "#build/devtools/settings.mjs";
17
+ declare module "#build/pages.mjs";
18
+ declare module "#build/unhead-plugins.mjs";
19
+ declare module "#build/unhead.config.mjs";
20
+ declare module "#build/components.plugin.mjs";
21
+ declare module "#build/component-names.mjs";
22
+ declare module "#build/components.islands.mjs";