windly-ui 1.0.6 → 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/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windly-ui",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "builder": {
5
5
  "@nuxt/module-builder": "1.0.2",
6
6
  "unbuild": "3.6.1"
@@ -123,9 +123,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
123
123
  textColor: string;
124
124
  disable: boolean;
125
125
  color: string;
126
- backgroundColor: string;
127
126
  flat: boolean;
128
127
  bordered: boolean;
128
+ backgroundColor: string;
129
129
  borderRadius: string;
130
130
  multiDate: boolean;
131
131
  rangeDate: boolean;
@@ -123,9 +123,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
123
123
  textColor: string;
124
124
  disable: boolean;
125
125
  color: string;
126
- backgroundColor: string;
127
126
  flat: boolean;
128
127
  bordered: boolean;
128
+ backgroundColor: string;
129
129
  borderRadius: string;
130
130
  multiDate: boolean;
131
131
  rangeDate: boolean;
@@ -2,15 +2,15 @@ import type { ExtractPropTypes } from "vue";
2
2
  import { uiProps } from "./uiProps.js";
3
3
  type UiProps = ExtractPropTypes<typeof uiProps>;
4
4
  export declare function useUiClasses(props: Partial<UiProps>): {
5
- contentClass: import("vue").Ref<string, string>;
6
- contentStyle: import("vue").Ref<string, string>;
7
- textColor: import("vue").Ref<string, string>;
8
- disable: import("vue").Ref<boolean, boolean>;
9
- loading: import("vue").Ref<boolean, boolean>;
10
- color: import("vue").Ref<string, string>;
11
- rounded: import("vue").Ref<string, string>;
12
- size: import("vue").Ref<string, string>;
13
- iconSize: import("vue").Ref<string, string>;
5
+ contentClass: any;
6
+ contentStyle: any;
7
+ textColor: any;
8
+ disable: any;
9
+ loading: any;
10
+ color: any;
11
+ rounded: any;
12
+ size: any;
13
+ iconSize: any;
14
14
  roundedClass: {
15
15
  none: string;
16
16
  xs: string;
@@ -32,8 +32,8 @@ export declare function useUiClasses(props: Partial<UiProps>): {
32
32
  lg: string;
33
33
  xl: string;
34
34
  };
35
- colorClass: import("vue").ComputedRef<string>;
36
- computedContentClass: import("vue").ComputedRef<string>;
35
+ colorClass: import("vue").ComputedRef<any>;
36
+ computedContentClass: import("vue").ComputedRef<any>;
37
37
  isColorDark: (color: string) => boolean;
38
38
  isHex: (color: string) => boolean;
39
39
  isTailwindColor: (color: string) => boolean;
@@ -1,6 +1,6 @@
1
- import { computed, toRefs } from "vue";
1
+ import { computed, reactive, toRefs } from "vue";
2
2
  export function useUiClasses(props) {
3
- const safeProps = {
3
+ const safeProps = reactive({
4
4
  contentClass: "",
5
5
  contentStyle: "",
6
6
  textColor: "",
@@ -11,7 +11,7 @@ export function useUiClasses(props) {
11
11
  size: "md",
12
12
  iconSize: "md",
13
13
  ...props
14
- };
14
+ });
15
15
  const {
16
16
  contentClass,
17
17
  contentStyle,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windly-ui",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "type": "module",
5
5
  "main": "./dist/module.mjs",
6
6
  "exports": {