@defaultusr/dai-ui 1.0.5 → 1.0.7

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/dist/nuxt.js CHANGED
@@ -1,10 +1,11 @@
1
- import { defineNuxtModule as n, addComponent as a } from "@nuxt/kit";
2
- const u = n({
1
+ import { defineNuxtModule as a, addComponent as n } from "@nuxt/kit";
2
+ const s = a({
3
3
  defaults: {
4
4
  prefix: "Dai"
5
5
  },
6
- setup(e) {
7
- const t = [
6
+ setup(t, o) {
7
+ o.options.build ||= {}, o.options.build.transpile ||= [], o.options.build.transpile.push("@defaultusr/dai-ui");
8
+ const i = [
8
9
  "Popover",
9
10
  "Menu",
10
11
  "TabContainer",
@@ -31,14 +32,14 @@ const u = n({
31
32
  "Progressbar",
32
33
  "Modal"
33
34
  ];
34
- for (const o of t)
35
- a({
36
- name: `${e.prefix}${o}`,
37
- export: o,
35
+ for (const e of i)
36
+ n({
37
+ name: `${t.prefix}${e}`,
38
+ export: e,
38
39
  filePath: "@defaultusr/dai-ui"
39
40
  });
40
41
  }
41
42
  });
42
43
  export {
43
- u as default
44
+ s as default
44
45
  };
@@ -8,7 +8,11 @@ type __VLS_Props = {
8
8
  type __VLS_PublicProps = __VLS_Props & {
9
9
  modelValue?: boolean;
10
10
  };
11
- declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ declare var __VLS_5: {};
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_5) => any;
14
+ };
15
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
16
  "update:modelValue": (value: boolean | undefined) => any;
13
17
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
18
  "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
@@ -16,4 +20,10 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, void, {
16
20
  color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
17
21
  showValidationError: boolean;
18
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
24
  export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,15 @@
1
+ type __VLS_Props = {
2
+ text?: string;
3
+ };
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -1,5 +1,5 @@
1
1
  type __VLS_Props = {
2
- text: string;
2
+ text?: string;
3
3
  };
4
4
  declare var __VLS_1: {};
5
5
  type __VLS_Slots = {} & {
@@ -0,0 +1,5 @@
1
+ export { default as Input } from "./input.vue";
2
+ export { default as Textarea } from "./textarea.vue";
3
+ export { default as Select } from "./select.vue";
4
+ export { default as Checkbox } from "./checkbox.vue";
5
+ export { default as Radio } from "./radio.vue";
@@ -1,6 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
3
- icon?: "success" | "info" | "warning" | "error";
3
+ icon?: "success" | "info" | "warning" | "danger";
4
4
  message: string;
5
5
  detail?: string;
6
6
  dismissible?: boolean;
@@ -1,5 +1,5 @@
1
1
  export interface NotificationParams {
2
- type?: "success" | "info" | "warning" | "error";
2
+ type?: "success" | "info" | "warning" | "danger";
3
3
  color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
4
4
  message: string;
5
5
  detail?: string;
@@ -5,8 +5,8 @@ type __VLS_Props = {
5
5
  rounded?: boolean;
6
6
  };
7
7
  declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
- color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
9
8
  rounded: boolean;
9
+ color: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
10
10
  height: number | string;
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;
@@ -1,11 +1,7 @@
1
1
  export { Popover, Menu, TabContainer, TabPanel } from "vue-composable-ui";
2
2
  export { useClassList } from "./composables/classList";
3
+ export * from "./components/form";
3
4
  export { default as Btn } from "./components/btn.vue";
4
- export { default as Input } from "./components/input.vue";
5
- export { default as Textarea } from "./components/textarea.vue";
6
- export { default as Select } from "./components/select.vue";
7
- export { default as Checkbox } from "./components/checkbox.vue";
8
- export { default as Radio } from "./components/radio.vue";
9
5
  export { default as Switch } from "./components/switch.vue";
10
6
  export { default as PopoverDialog } from "./components/popoverDialog.vue";
11
7
  export { default as Combobox } from "./components/combobox/combobox.vue";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defaultusr/dai-ui",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"