@mythpe/quasar-ui-qui 0.1.54 → 0.1.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mythpe/quasar-ui-qui",
3
- "version": "0.1.54",
3
+ "version": "0.1.55",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -13,6 +13,7 @@
13
13
 
14
14
  import { computed } from 'vue'
15
15
  import { useMyth } from '../../composable'
16
+ import type { NamedColor } from 'quasar'
16
17
 
17
18
  interface Props {
18
19
  show?: boolean | undefined;
@@ -20,7 +21,7 @@ interface Props {
20
21
  destroy?: boolean | undefined;
21
22
  clone?: boolean | undefined;
22
23
  tooltip?: string | null | undefined;
23
- color?: string | undefined;
24
+ color?: NamedColor | undefined;
24
25
  icon?: string | undefined;
25
26
  listItem?: boolean | undefined;
26
27
  label?: string | undefined;
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  import type { AxiosResponse } from 'axios'
10
- import type { QAvatarProps, QAvatarSlots, QTableProps, QTableSlots } from 'quasar'
10
+ import type { NamedColor, QAvatarProps, QAvatarSlots, QTableProps, QTableSlots } from 'quasar'
11
11
  import type { ComputedRef, MaybeRef, Ref, UnwrapNestedRefs, UnwrapRef, VNode } from 'vue'
12
12
  import type { RouteLocationRaw } from 'vue-router'
13
13
  import type { GenericFormValues, MBtnProps, MBtnSlots, MFormSlots } from './components'
@@ -117,7 +117,7 @@ export interface MDtBtnProps extends MBtnProps {
117
117
  clone?: boolean;
118
118
  destroy?: boolean;
119
119
  tooltip?: string | undefined;
120
- color?: string;
120
+ color?: NamedColor | undefined;
121
121
  icon?: string;
122
122
  listItem?: boolean;
123
123
  fabMini?: boolean;
@@ -169,7 +169,7 @@ export type GenericMDtBtn<T extends E = E> = Record<string, any> & {
169
169
  multiClick?: (items: T[]) => void;
170
170
  showIf?: boolean | ((item: UnwrapRef<MDatatableDialogsOptions['item']>, index: UnwrapRef<MDatatableDialogsOptions['index']>) => boolean);
171
171
  order?: number;
172
- attr?: Partial<MDtBtnProps> & Partial<{ icon?: string; textColor?: string; color?: string; }>;
172
+ attr?: Partial<MDtBtnProps> & Partial<{ icon?: string; textColor?: NamedColor | undefined; color?: NamedColor | undefined; }>;
173
173
  }
174
174
 
175
175
  type MDatatableFormScope = Parameters<MFormSlots['default']>[0]
@@ -1,4 +1,4 @@
1
- import type { QBtnProps, QInputProps } from 'quasar'
1
+ import type { NamedColor, QBtnProps, QInputProps } from 'quasar'
2
2
 
3
3
  export type ThemeSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'none' | string;
4
4
  export type ThemeShadow = string | number | 'transition' | 'none';
@@ -51,7 +51,7 @@ export type Theme = {
51
51
 
52
52
  export type ButtonLoadingOptions = {
53
53
  type: 'audio' | 'ball' | 'bars' | 'box' | 'clock' | 'comment' | 'cube' | 'dots' | 'facebook' | 'gears' | 'grid' | 'hearts' | 'hourglass' | 'infinity' | 'ios' | 'orbit' | 'oval' | 'pie' | 'puff' | 'radio' | 'rings' | 'tail' | 'spinner';
54
- color?: string | undefined;
54
+ color?: NamedColor | undefined;
55
55
  size?: string | undefined;
56
56
  label?: boolean;
57
57
  }