@nexdom/uimed-vue 2.0.0-beta.2 → 2.0.0-beta.3

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.
package/AGENTS.md CHANGED
@@ -72,6 +72,18 @@ import { Root } from "@nexdom/uimed-vue/components";
72
72
 
73
73
  Never write CSS, classes or any kind of styling. Always use component props.
74
74
 
75
+ The library doesn't export prop types. Derive them with `ComponentProps` from `vue-component-type-helpers`:
76
+
77
+ ```ts
78
+ import type { ComponentProps } from "vue-component-type-helpers";
79
+ import { UMain, USection } from "@nexdom/uimed-vue/components";
80
+
81
+ type MainProps = ComponentProps<typeof UMain>;
82
+ type AppBar = NonNullable<MainProps["appBar"]>;
83
+ type NavigationMenu = NonNullable<MainProps["navigationMenu"]>;
84
+ type SectionAction = NonNullable<ComponentProps<typeof USection>["actions"]>[number];
85
+ ```
86
+
75
87
  Available entry points: `@nexdom/uimed-vue` (root), `@nexdom/uimed-vue/components`, `@nexdom/uimed-vue/composables`, `@nexdom/uimed-vue/plugins`, `@nexdom/uimed-vue/unit-test` (test helpers, e.g. `vueTestUtilsPluginUimed()` for mounting components with Vuetify in Vitest).
76
88
 
77
89
  Full component/composable reference lives in the [docs](https://nexdom-healthtech.github.io/uimed-vue/).
package/README.md CHANGED
@@ -50,7 +50,7 @@ plugins: [vue(), vitePluginUimed()];
50
50
  // ...
51
51
  ```
52
52
 
53
- Use Uimed inside the Vue app:
53
+ Use UIMed inside the Vue app:
54
54
 
55
55
  ```ts
56
56
  // main.js or main.ts
@@ -349,8 +349,8 @@ declare const __VLS_export$7: import("vue", { with: { "resolution-mode": "import
349
349
  }> & Readonly<{
350
350
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
351
351
  }>, {
352
- variant: TextFieldVariant;
353
352
  type: TextFieldType;
353
+ variant: TextFieldVariant;
354
354
  clearable: boolean;
355
355
  }, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
356
356
  //#endregion
@@ -704,4 +704,4 @@ type TableProps = {
704
704
  declare const _default$8: typeof __VLS_export;
705
705
  declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<TableProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<TableProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
706
706
  //#endregion
707
- export { type AppBarProps as AppBarConfig, type AppBarUserProps as AppBarUserConfig, type NavigationMenuProps as NavigationMenuConfig, type SectionAction, type TableProps, _default as UButton, _default$1 as UColumn, _default$2 as UContainer, _default$3 as UForm, _default$4 as UMain, _default$5 as URow, _default$6 as USection, _default$7 as USectionContent, _default$8 as UTable, _default$9 as UTextField };
707
+ export { _default as UButton, _default$1 as UColumn, _default$2 as UContainer, _default$3 as UForm, _default$4 as UMain, _default$5 as URow, _default$6 as USection, _default$7 as USectionContent, _default$8 as UTable, _default$9 as UTextField };
package/dist/plugins.d.ts CHANGED
@@ -2,11 +2,11 @@ import vitePluginVuetify from "vite-plugin-vuetify";
2
2
  import { UserConfig } from "vite-plus";
3
3
  //#region src/plugins.d.ts
4
4
  /**
5
- * Vite plugin for Uimed.
5
+ * Vite plugin for UIMed.
6
6
  */
7
7
  declare function vitePluginUimed(): ReturnType<typeof vitePluginVuetify>;
8
8
  /**
9
- * Vitest Server plugin for Uimed.
9
+ * Vitest Server plugin for UIMed.
10
10
  */
11
11
  declare function vitestServerPluginUimed(): NonNullable<NonNullable<UserConfig["test"]>["server"]>;
12
12
  //#endregion
package/dist/plugins.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import vitePluginVuetify from "vite-plugin-vuetify";
2
2
  //#region src/plugins.ts
3
3
  /**
4
- * Vite plugin for Uimed.
4
+ * Vite plugin for UIMed.
5
5
  */
6
6
  function vitePluginUimed() {
7
7
  return vitePluginVuetify({ autoImport: false });
8
8
  }
9
9
  /**
10
- * Vitest Server plugin for Uimed.
10
+ * Vitest Server plugin for UIMed.
11
11
  */
12
12
  function vitestServerPluginUimed() {
13
13
  return { deps: { inline: ["vuetify"] } };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexdom/uimed-vue",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.3",
4
4
  "description": "A ui framework for NEXDOM applications.",
5
5
  "keywords": [
6
6
  "lib",
@@ -81,6 +81,7 @@
81
81
  "vitepress": "2.0.0-alpha.19",
82
82
  "vitepress-plugin-group-icons": "^1.7.6",
83
83
  "vue": "^3.5.40",
84
+ "vue-component-type-helpers": "^3.3.11",
84
85
  "vue-router": "^5.3.1",
85
86
  "vue-tsc": "^3.3.9",
86
87
  "vuetify": "^4.2.0"
@@ -93,6 +94,7 @@
93
94
  "vite-plugin-vuetify": "^2.1.3",
94
95
  "vite-plus": "^0.2.7",
95
96
  "vue": "^3.5.40",
97
+ "vue-component-type-helpers": "^3.3.11",
96
98
  "vue-router": "^5.3.1",
97
99
  "vuetify": "^4.2.0"
98
100
  },