@roku-ui/vue 0.28.0 → 0.30.0

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.
Files changed (51) hide show
  1. package/dist/components/AppShell.vue.d.ts +0 -3
  2. package/dist/components/AppShellAside.vue.d.ts +26 -0
  3. package/dist/components/AppShellFooter.vue.d.ts +26 -0
  4. package/dist/components/AppShellHeader.vue.d.ts +26 -0
  5. package/dist/components/AppShellMain.vue.d.ts +26 -0
  6. package/dist/components/AppShellNavbar.vue.d.ts +26 -0
  7. package/dist/components/Avatar.vue.d.ts +0 -3
  8. package/dist/components/Btn.vue.d.ts +0 -2
  9. package/dist/components/BtnGroup.vue.d.ts +2 -1
  10. package/dist/components/Calendar.vue.d.ts +0 -5
  11. package/dist/components/ColorInput.vue.d.ts +1 -1
  12. package/dist/components/Menu.vue.d.ts +10 -2
  13. package/dist/components/Notification.vue.d.ts +2 -5
  14. package/dist/components/NotificationSystem.vue.d.ts +1 -1
  15. package/dist/components/NumberField.vue.d.ts +49 -0
  16. package/dist/components/Paper.vue.d.ts +2 -1
  17. package/dist/components/PinInput.vue.d.ts +9 -4
  18. package/dist/components/Popover.vue.d.ts +2 -0
  19. package/dist/components/Rating.vue.d.ts +16 -14
  20. package/dist/components/SelectArea.vue.d.ts +10 -1
  21. package/dist/components/Step.vue.d.ts +4 -2
  22. package/dist/components/Switch.vue.d.ts +0 -2
  23. package/dist/components/TextField.vue.d.ts +14 -1
  24. package/dist/components/TreeList.vue.d.ts +1 -21
  25. package/dist/components/index.d.ts +6 -0
  26. package/dist/composables/index.d.ts +8 -9
  27. package/dist/index.css +2 -1
  28. package/dist/index.d.ts +2 -1
  29. package/dist/index.js +10035 -9626
  30. package/dist/index.umd.cjs +4 -4
  31. package/dist/shared/color-helpers.d.ts +9 -0
  32. package/dist/shared/color-system.d.ts +10 -61
  33. package/dist/shared/constants.d.ts +79 -21
  34. package/dist/shared/container-styles.d.ts +8 -0
  35. package/dist/shared/style-recipes.d.ts +20 -0
  36. package/dist/shared/theme.d.ts +40 -36
  37. package/dist/test/demo/CSSVarDemo.vue.d.ts +2 -0
  38. package/dist/test/demo/MenuDemo.vue.d.ts +2 -0
  39. package/dist/test/demo/NumberFieldDemo.vue.d.ts +2 -0
  40. package/dist/test/demoPages.d.ts +140 -0
  41. package/dist/test/router.d.ts +3 -0
  42. package/dist/test.d.ts +0 -1
  43. package/dist/types/index.d.ts +25 -3
  44. package/dist/utils/index.d.ts +17 -7
  45. package/dist/utils/modals.d.ts +0 -5
  46. package/dist/utils/notifications.d.ts +2 -1
  47. package/dist/utils/symbols.d.ts +0 -1
  48. package/dist/utils/tailwindPalettes.d.ts +22 -0
  49. package/dist/vite/index.d.ts +11 -0
  50. package/package.json +25 -23
  51. package/dist/vite.svg +0 -1
@@ -8,7 +8,6 @@ export interface AppShellProps {
8
8
  footerSpansNav?: boolean;
9
9
  footerSpansAside?: boolean;
10
10
  padding?: string | number;
11
- gap?: string | number;
12
11
  }
13
12
  declare function __VLS_template(): {
14
13
  attrs: Partial<{}>;
@@ -43,8 +42,6 @@ declare const __VLS_component: import('vue').DefineComponent<AppShellProps, {},
43
42
  headerSpansAside: boolean;
44
43
  footerSpansNav: boolean;
45
44
  footerSpansAside: boolean;
46
- padding: string | number;
47
- gap: string | number;
48
45
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
49
46
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
50
47
  export default _default;
@@ -0,0 +1,26 @@
1
+ export interface AppShellAsideProps {
2
+ padding?: string | number;
3
+ bordered?: boolean;
4
+ gap?: string | number;
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<AppShellAsideProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AppShellAsideProps> & Readonly<{}>, {
16
+ padding: string | number;
17
+ bordered: boolean;
18
+ gap: string | number;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,26 @@
1
+ export interface AppShellFooterProps {
2
+ padding?: string | number;
3
+ bordered?: boolean;
4
+ align?: 'start' | 'center' | 'end' | 'between';
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<AppShellFooterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AppShellFooterProps> & Readonly<{}>, {
16
+ padding: string | number;
17
+ bordered: boolean;
18
+ align: "start" | "center" | "end" | "between";
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,26 @@
1
+ export interface AppShellHeaderProps {
2
+ padding?: string | number;
3
+ bordered?: boolean;
4
+ align?: 'start' | 'center' | 'end' | 'between';
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<AppShellHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AppShellHeaderProps> & Readonly<{}>, {
16
+ padding: string | number;
17
+ bordered: boolean;
18
+ align: "start" | "center" | "end" | "between";
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,26 @@
1
+ export interface AppShellMainProps {
2
+ padding?: string | number;
3
+ gap?: string | number;
4
+ scrollable?: boolean;
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<AppShellMainProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AppShellMainProps> & Readonly<{}>, {
16
+ padding: string | number;
17
+ gap: string | number;
18
+ scrollable: boolean;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,26 @@
1
+ export interface AppShellNavbarProps {
2
+ padding?: string | number;
3
+ bordered?: boolean;
4
+ gap?: string | number;
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<AppShellNavbarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AppShellNavbarProps> & Readonly<{}>, {
16
+ padding: string | number;
17
+ bordered: boolean;
18
+ gap: string | number;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -22,10 +22,7 @@ declare function __VLS_template(): {
22
22
  };
23
23
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
24
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
- color: Color;
26
- size: "sm" | "md" | "lg" | string | number;
27
25
  variant: ContainerVariant;
28
- rounded: Rounded;
29
26
  is: string | Component;
30
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
28
  img: unknown;
@@ -30,8 +30,6 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
30
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
31
31
  type: "button" | "submit" | "reset";
32
32
  icon: boolean;
33
- size: "sm" | "md" | "lg";
34
- rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
35
33
  pressEffect: "translate" | "scale";
36
34
  is: string | Component;
37
35
  disabled: boolean;
@@ -1,7 +1,8 @@
1
+ import { IconSource } from '../types';
1
2
  type T = string | {
2
3
  value: string;
3
4
  label?: string;
4
- icon?: string;
5
+ icon?: IconSource;
5
6
  };
6
7
  type __VLS_Props = {
7
8
  selections: T[];
@@ -15,7 +15,6 @@ type __VLS_Props = {
15
15
  color?: Color;
16
16
  variant?: 'default' | 'filled' | 'light';
17
17
  rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
18
- animate?: boolean;
19
18
  };
20
19
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
20
  "update:modelValue": (value: Date | Date[] | {
@@ -28,12 +27,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
28
27
  end: Date;
29
28
  } | undefined) => any) | undefined;
30
29
  }>, {
31
- animate: boolean;
32
30
  mode: CalendarMode;
33
- color: Color;
34
- size: "sm" | "md" | "lg";
35
31
  variant: "default" | "filled" | "light";
36
- rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
37
32
  firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
38
33
  locale: string;
39
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -35,9 +35,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
35
35
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
36
36
  }>, {
37
37
  color: "primary" | "secondary" | "tertiary" | "error";
38
+ format: "hex" | "rgb" | "hsl";
38
39
  size: "sm" | "md" | "lg";
39
40
  rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
40
- format: "hex" | "rgb" | "hsl";
41
41
  showSwatch: boolean;
42
42
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
43
43
  colorPicker: HTMLInputElement;
@@ -1,13 +1,21 @@
1
1
  import { VNodeChild } from 'vue';
2
- import { Rounded, Size } from '../types';
2
+ import { IconSource, Rounded, Size } from '../types';
3
3
  export type MenuData = MenuItemData | MenuDividerData | MenuLabelData;
4
4
  export interface MenuItemData {
5
5
  title?: string;
6
6
  value?: number | string | symbol;
7
- icon?: string;
7
+ icon?: IconSource;
8
8
  render?: () => VNodeChild;
9
9
  children?: MenuData[];
10
10
  size?: Size;
11
+ disabled?: boolean;
12
+ closeOnSelect?: boolean;
13
+ onSelect?: (context: MenuItemSelectContext) => void;
14
+ }
15
+ export interface MenuItemSelectContext {
16
+ value?: number | string | symbol;
17
+ event: Event;
18
+ data: MenuItemData;
11
19
  }
12
20
  export interface MenuDividerData {
13
21
  role: 'divider';
@@ -1,8 +1,8 @@
1
- import { Size } from '../types';
1
+ import { IconSource, Size } from '../types';
2
2
  type __VLS_Props = {
3
3
  title?: string;
4
4
  message?: string;
5
- icon?: string;
5
+ icon?: IconSource;
6
6
  loading?: boolean;
7
7
  withBorder?: boolean;
8
8
  closeable?: boolean;
@@ -32,9 +32,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
32
32
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
33
33
  onClose?: ((...args: any[]) => any) | undefined;
34
34
  }>, {
35
- color: string;
36
- size: Size;
37
- rounded: "sm" | "md" | "lg" | "none" | string | number;
38
35
  block: boolean;
39
36
  total: number;
40
37
  showLeftIndicator: boolean;
@@ -10,8 +10,8 @@ type __VLS_Props = {
10
10
  pb?: number;
11
11
  };
12
12
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
- gap: number;
14
13
  progress: boolean;
14
+ gap: number;
15
15
  position: NotificationPosition;
16
16
  topN: number;
17
17
  pt: number;
@@ -0,0 +1,49 @@
1
+ import { TextFieldFormat } from './TextField.vue';
2
+ import { Color } from '../types';
3
+ interface Props {
4
+ modelValue?: number | string;
5
+ min?: number;
6
+ max?: number;
7
+ step?: number;
8
+ color?: Color;
9
+ error?: boolean;
10
+ disabled?: boolean;
11
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
12
+ size?: 'sm' | 'md' | 'lg';
13
+ placeholder?: string;
14
+ label?: string;
15
+ format?: TextFieldFormat;
16
+ incrementAriaLabel?: string;
17
+ decrementAriaLabel?: string;
18
+ }
19
+ type __VLS_Props = Props;
20
+ type __VLS_PublicProps = {
21
+ modelValue?: number | string;
22
+ } & __VLS_Props;
23
+ declare function __VLS_template(): {
24
+ attrs: Partial<{}>;
25
+ slots: {
26
+ leftSection?(_: {}): any;
27
+ incrementIcon?(_: {}): any;
28
+ decrementIcon?(_: {}): any;
29
+ };
30
+ refs: {};
31
+ rootEl: HTMLDivElement;
32
+ };
33
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
34
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
+ "update:modelValue": (value: string | number) => any;
36
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
37
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
38
+ }>, {
39
+ step: number;
40
+ incrementAriaLabel: string;
41
+ decrementAriaLabel: string;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
43
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
+ export default _default;
45
+ type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
@@ -1,10 +1,11 @@
1
1
  import { Component } from 'vue';
2
- import { Color, Rounded } from '../types';
2
+ import { Color, ContainerVariant, Rounded } from '../types';
3
3
  type __VLS_Props = {
4
4
  rounded?: Rounded;
5
5
  loading?: boolean;
6
6
  is?: string | Component;
7
7
  color?: Color;
8
+ variant?: ContainerVariant;
8
9
  traceAnimate?: boolean;
9
10
  withBorder?: boolean;
10
11
  noPadding?: boolean;
@@ -18,10 +18,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
18
18
  readonly disabled?: boolean | undefined;
19
19
  readonly rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number | undefined;
20
20
  readonly size?: "sm" | "md" | "lg" | undefined;
21
+ readonly type?: string | undefined;
21
22
  readonly password?: boolean | undefined;
22
23
  readonly placeholder?: string | undefined;
23
24
  readonly label?: string | undefined;
24
- readonly format?: ((value: string) => string) | undefined;
25
+ readonly format?: import('./TextField.vue').TextFieldFormat | undefined;
25
26
  readonly partialVisible?: boolean | undefined;
26
27
  readonly visibleStart?: number | undefined;
27
28
  readonly visibleEnd?: number | undefined;
@@ -52,10 +53,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
52
53
  disabled?: boolean;
53
54
  rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
54
55
  size?: "sm" | "md" | "lg";
56
+ type?: string;
55
57
  password?: boolean;
56
58
  placeholder?: string;
57
59
  label?: string;
58
- format?: (value: string) => string;
60
+ format?: import('./TextField.vue').TextFieldFormat;
59
61
  partialVisible?: boolean;
60
62
  visibleStart?: number;
61
63
  visibleEnd?: number;
@@ -66,6 +68,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
66
68
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
67
69
  "update:modelValue": (value: string | number) => any;
68
70
  }, string, {
71
+ type: string;
69
72
  color: "primary" | "secondary" | "tertiary" | "error";
70
73
  size: "sm" | "md" | "lg";
71
74
  rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
@@ -92,6 +95,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
92
95
  $nextTick: typeof import('vue').nextTick;
93
96
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
94
97
  } & Readonly<{
98
+ type: string;
95
99
  color: "primary" | "secondary" | "tertiary" | "error";
96
100
  size: "sm" | "md" | "lg";
97
101
  rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
@@ -106,16 +110,17 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
106
110
  disabled?: boolean;
107
111
  rounded?: "none" | "sm" | "md" | "lg" | "full" | string | number;
108
112
  size?: "sm" | "md" | "lg";
113
+ type?: string;
109
114
  password?: boolean;
110
115
  placeholder?: string;
111
116
  label?: string;
112
- format?: (value: string) => string;
117
+ format?: import('./TextField.vue').TextFieldFormat;
113
118
  partialVisible?: boolean;
114
119
  visibleStart?: number;
115
120
  visibleEnd?: number;
116
121
  }> & Readonly<{
117
122
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
118
- }>, "el" | ("color" | "size" | "rounded" | "visibleStart" | "visibleEnd")> & import('vue').ShallowUnwrapRef<{
123
+ }>, "el" | ("type" | "color" | "size" | "rounded" | "visibleStart" | "visibleEnd")> & import('vue').ShallowUnwrapRef<{
119
124
  el: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
120
125
  }> & {} & import('vue').ComponentCustomProperties & {} & {
121
126
  $slots: {
@@ -1,6 +1,8 @@
1
+ import { ContainerVariant } from '../types';
1
2
  type Position = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end' | 'top' | 'bottom' | 'left' | 'right';
2
3
  type __VLS_Props = {
3
4
  trigger?: 'hover' | 'click';
5
+ variant?: ContainerVariant;
4
6
  position?: Position;
5
7
  zIndex?: number;
6
8
  offset?: number;
@@ -1,24 +1,22 @@
1
- import { Size } from '../types';
1
+ import { Component } from 'vue';
2
+ import { Color, Size } from '../types';
3
+ type IconValue = string | Component;
4
+ type IconSingle = IconValue | {
5
+ active: IconValue;
6
+ normal: IconValue;
7
+ };
8
+ type IconType = IconSingle | IconSingle[] | undefined;
2
9
  type __VLS_Props = {
3
10
  count?: number;
4
11
  icons?: IconType;
5
- color?: string[] | string;
12
+ color?: (Color | string) | (Color | string)[];
6
13
  highlightSelectedOnly?: boolean;
7
14
  unselectable?: boolean;
8
15
  size?: Size;
9
- };
10
- type IconType = string | {
11
- active: string;
12
- normal: string;
13
- } | (string | {
14
- active: string;
15
- normal: string;
16
- })[] | undefined;
17
- declare const __VLS_defaults: {
18
- modelValue: number;
16
+ allowHalf?: boolean;
19
17
  };
20
18
  type __VLS_PublicProps = {
21
- modelValue?: typeof __VLS_defaults['modelValue'];
19
+ modelValue?: number;
22
20
  } & __VLS_Props;
23
21
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
22
  select: (args_0: number) => any;
@@ -27,6 +25,10 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
27
25
  onSelect?: ((args_0: number) => any) | undefined;
28
26
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
29
27
  }>, {
30
- color: string[] | string;
28
+ color: (Color | string) | (Color | string)[];
29
+ unselectable: boolean;
30
+ count: number;
31
+ highlightSelectedOnly: boolean;
32
+ allowHalf: boolean;
31
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
32
34
  export default _default;
@@ -1,5 +1,9 @@
1
1
  type __VLS_Props = {
2
2
  target?: HTMLElement | null;
3
+ borderColor?: string;
4
+ backgroundColor?: string;
5
+ borderWidth?: number;
6
+ borderStyle?: 'solid' | 'dashed' | 'dotted';
3
7
  };
4
8
  export interface Area {
5
9
  left: number;
@@ -39,5 +43,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
39
43
  shift: boolean;
40
44
  ctrl: boolean;
41
45
  }) => any) | undefined;
42
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
46
+ }>, {
47
+ backgroundColor: string;
48
+ borderColor: string;
49
+ borderWidth: number;
50
+ borderStyle: "solid" | "dashed" | "dotted";
51
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
43
52
  export default _default;
@@ -1,8 +1,8 @@
1
- import { Color } from '../types';
1
+ import { IconSource, Color, Rounded } from '../types';
2
2
  export interface StepItem {
3
3
  title: string;
4
4
  description?: string;
5
- icon?: string;
5
+ icon?: IconSource;
6
6
  status?: 'wait' | 'process' | 'finish' | 'error';
7
7
  disabled?: boolean;
8
8
  }
@@ -20,6 +20,7 @@ type __VLS_Props = {
20
20
  responsive?: boolean;
21
21
  progressDot?: boolean;
22
22
  labelPlacement?: 'horizontal' | 'vertical';
23
+ iconRounded?: Rounded;
23
24
  };
24
25
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
26
  "update:modelValue": (value: number) => any;
@@ -42,6 +43,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
42
43
  responsive: boolean;
43
44
  progressDot: boolean;
44
45
  labelPlacement: "horizontal" | "vertical";
46
+ iconRounded: Rounded;
45
47
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
48
  stepRef: HTMLDivElement;
47
49
  }, HTMLDivElement>;
@@ -26,8 +26,6 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
26
26
  onChange?: ((args_0: boolean) => any) | undefined;
27
27
  }>, {
28
28
  animate: boolean;
29
- color: Color;
30
- size: "sm" | "md" | "lg";
31
29
  rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
32
30
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
31
  wrapperRef: HTMLDivElement;
@@ -1,3 +1,14 @@
1
+ export type TextFieldFormatFn = (value: string) => string;
2
+ export interface TextFieldParseContext {
3
+ event?: Event;
4
+ previousDisplay: string;
5
+ previousValue: string;
6
+ }
7
+ export interface TextFieldFormatConfig {
8
+ format: TextFieldFormatFn;
9
+ parse?: (value: string, context: TextFieldParseContext) => string;
10
+ }
11
+ export type TextFieldFormat = TextFieldFormatFn | TextFieldFormatConfig;
1
12
  type __VLS_Props = {
2
13
  onChange?: (value: string) => void;
3
14
  color?: 'primary' | 'secondary' | 'tertiary' | 'error';
@@ -5,10 +16,11 @@ type __VLS_Props = {
5
16
  disabled?: boolean;
6
17
  rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' | string | number;
7
18
  size?: 'sm' | 'md' | 'lg';
19
+ type?: string;
8
20
  password?: boolean;
9
21
  placeholder?: string;
10
22
  label?: string;
11
- format?: (value: string) => string;
23
+ format?: TextFieldFormat;
12
24
  partialVisible?: boolean;
13
25
  visibleStart?: number;
14
26
  visibleEnd?: number;
@@ -36,6 +48,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
36
48
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
37
49
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
38
50
  }>, {
51
+ type: string;
39
52
  color: "primary" | "secondary" | "tertiary" | "error";
40
53
  size: "sm" | "md" | "lg";
41
54
  rounded: "none" | "sm" | "md" | "lg" | "full" | string | number;
@@ -1,24 +1,4 @@
1
- import { VNode } from 'vue';
2
- import { Rounded } from '../types';
3
- export interface TreeListLeafData {
4
- icon?: string | VNode;
5
- title: string;
6
- value: string;
7
- attrs?: Record<string, any>;
8
- is?: string | VNode;
9
- }
10
- export interface TreeListHeaderData {
11
- icon?: string | VNode;
12
- title: string;
13
- }
14
- export interface TreeListCollapseData {
15
- title: string;
16
- icon?: string | VNode;
17
- value?: string;
18
- children?: TreeListItemData[];
19
- open?: boolean;
20
- }
21
- export type TreeListItemData = TreeListLeafData | TreeListHeaderData | TreeListCollapseData;
1
+ import { Rounded, TreeListCollapseData, TreeListHeaderData, TreeListItemData, TreeListLeafData } from '../types';
22
2
  type __VLS_Props = {
23
3
  items: TreeListItemData[];
24
4
  rounded?: Rounded;
@@ -1,4 +1,9 @@
1
1
  export { default as AppShell } from './AppShell.vue';
2
+ export { default as AppShellAside } from './AppShellAside.vue';
3
+ export { default as AppShellFooter } from './AppShellFooter.vue';
4
+ export { default as AppShellHeader } from './AppShellHeader.vue';
5
+ export { default as AppShellMain } from './AppShellMain.vue';
6
+ export { default as AppShellNavbar } from './AppShellNavbar.vue';
2
7
  export { default as AspectRatio } from './AspectRatio.vue';
3
8
  export { default as AutoHeightTransition } from './AutoHeightTransition.vue';
4
9
  export { default as Avatar } from './Avatar.vue';
@@ -24,6 +29,7 @@ export { default as Modal } from './Modal.vue';
24
29
  export { default as ModalSystem } from './ModalSystem.vue';
25
30
  export { default as Notification } from './Notification.vue';
26
31
  export { default as NotificationSystem } from './NotificationSystem.vue';
32
+ export { default as NumberField } from './NumberField.vue';
27
33
  export { default as Overlay } from './Overlay.vue';
28
34
  export { default as Paper } from './Paper.vue';
29
35
  export { default as PinInput } from './PinInput.vue';
@@ -2,15 +2,14 @@ import { RemovableRef } from '@vueuse/core';
2
2
  export { generateEditorFriendlyColors, generateOKLCHString } from '../utils';
3
3
  export * from './dom';
4
4
  export declare const COLOR_LIGHTNESS_MAP: number[];
5
- export declare const SURFACE_LIGHTNESS_MAP: number[];
6
- export declare function useThemeStyles(theme: import('../shared').ThemeData): {
7
- backgroundColor: string;
8
- color: string;
9
- '--un-default-border-color': string;
10
- };
11
- export declare function useEditorFriendlyThemeStyles(theme: import('../shared').ThemeData): {
12
- backgroundColor: string;
13
- color: string;
5
+ /**
6
+ * Build CSS variable style object for a theme.
7
+ * When editorFriendly=true, embeds original color string as a comment for easier inspection in DevTools / inline styles.
8
+ * Usage: useThemeStyles(theme) or useThemeStyles(theme, { editorFriendly: true })
9
+ */
10
+ export declare function useThemeStyles(theme: import('../shared').ThemeData, options?: {
11
+ editorFriendly?: boolean;
12
+ }): {
14
13
  '--un-default-border-color': string;
15
14
  };
16
15
  export declare function useId(props: {