adata-ui 3.1.21 → 3.1.22

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/module.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "nuxt": ">=3.16.0"
6
6
  },
7
7
  "failOnWarn": false,
8
- "version": "3.1.21",
8
+ "version": "3.1.22",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "1.0.1",
11
11
  "unbuild": "3.5.0"
@@ -1,5 +1,4 @@
1
1
  <script setup>
2
- import AToggle from "./Toggle.vue";
3
2
  import Sun from "#icons/color-mode/sun.vue";
4
3
  import Moon from "#icons/color-mode/moon.vue";
5
4
  import { useColorMode, computed, onMounted } from "#imports";
@@ -32,7 +31,7 @@ onMounted(() => {
32
31
 
33
32
  <template>
34
33
  <client-only>
35
- <a-toggle
34
+ <adt-toggle
36
35
  v-model="mode"
37
36
  size="2xl"
38
37
  :on-icon="Moon"
@@ -20,12 +20,12 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
20
20
  size: "sm" | "md" | "lg" | "xl";
21
21
  view: "default" | "outline" | "transparent";
22
22
  disabled: boolean;
23
- active: boolean;
24
23
  variant: "primary" | "success" | "danger" | "gray" | "ghost";
25
24
  form: "icon" | "button";
26
25
  iconClass: string;
27
26
  loading: boolean;
28
27
  block: boolean;
28
+ active: boolean;
29
29
  to: string;
30
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -25,8 +25,8 @@ type __VLS_Slots = {} & {
25
25
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
26
26
  name: string;
27
27
  size: "lg" | "sm";
28
- modelValue: string | number | Array<any> | object | boolean | null;
29
28
  value: string | number | object | null;
29
+ modelValue: string | number | Array<any> | object | boolean | null;
30
30
  side: "right" | "left" | null;
31
31
  masterControl: boolean;
32
32
  emptyCheckboxClass: string;
@@ -24,9 +24,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
24
24
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
25
25
  }>, {
26
26
  size: "sm" | "md";
27
+ error: string | boolean;
27
28
  disabled: boolean;
28
29
  required: boolean;
29
- error: string | boolean;
30
30
  label: string;
31
31
  readonly: boolean;
32
32
  clearable: boolean;
@@ -22,8 +22,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
22
22
  } & {
23
23
  change: () => any;
24
24
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
- "onUpdate:modelValue"?: ((value: string | number | boolean | null | undefined) => any) | undefined;
26
25
  onChange?: (() => any) | undefined;
26
+ "onUpdate:modelValue"?: ((value: string | number | boolean | null | undefined) => any) | undefined;
27
27
  }>, {
28
28
  name: string;
29
29
  size: "lg" | "sm";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "3.1.21",
3
+ "version": "3.1.22",
4
4
  "description": "Adata UI",
5
5
  "repository": "your-org/my-module",
6
6
  "license": "MIT",