@dolanske/vui 1.3.0 → 1.4.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 (100) hide show
  1. package/LICENSE +1 -1
  2. package/package.json +2 -2
  3. package/src/App.vue +8 -0
  4. package/src/components/Accordion/Accordion.vue +10 -3
  5. package/src/components/Accordion/accordion.scss +18 -3
  6. package/src/components/Button/Button.vue +5 -4
  7. package/src/components/Button/button.scss +9 -1
  8. package/src/components/ButtonGroup/button-group.scss +2 -2
  9. package/src/components/Calendar/calendar.scss +5 -0
  10. package/src/components/Card/Card.vue +1 -1
  11. package/src/components/CopyClipboard/copy-clipboard.scss +1 -1
  12. package/src/components/Dropdown/dropdown-item.scss +1 -1
  13. package/src/components/Dropdown/dropdown.scss +2 -2
  14. package/src/components/Grid/Grid.vue +3 -0
  15. package/src/components/Input/input.scss +3 -3
  16. package/src/components/OTP/otp.scss +3 -3
  17. package/src/components/Popout/popout.scss +1 -1
  18. package/src/components/Progress/progress.scss +1 -1
  19. package/src/components/Select/Select.vue +2 -0
  20. package/src/components/Select/select.scss +1 -1
  21. package/src/components/Sidebar/sidebar.scss +1 -1
  22. package/src/components/Table/table.scss +2 -2
  23. package/src/components/Tabs/Tabs.vue +1 -1
  24. package/src/components/Tabs/tabs.scss +2 -2
  25. package/src/examples/ExampleAccordions.vue +17 -4
  26. package/src/examples/ExamplePalette.vue +6 -0
  27. package/src/examples/ExampleTabs.vue +3 -2
  28. package/src/internal/Backdrop/backdrop.scss +2 -2
  29. package/src/style/core.scss +24 -10
  30. package/src/style/fonts.scss +73 -0
  31. package/src/style/layout.scss +8 -4
  32. package/src/style/theme.scss +1 -1
  33. package/src/style/tooltip.scss +4 -4
  34. package/src/style/typography.scss +41 -23
  35. package/src/vite-env.d.ts +1 -1
  36. package/dist/components/Accordion/Accordion.vue.d.ts +0 -47
  37. package/dist/components/Accordion/AccordionGroup.vue.d.ts +0 -21
  38. package/dist/components/Alert/Alert.vue.d.ts +0 -36
  39. package/dist/components/Avatar/Avatar.vue.d.ts +0 -25
  40. package/dist/components/Badge/Badge.vue.d.ts +0 -22
  41. package/dist/components/Breadcrumbs/BreadcrumbItem.vue.d.ts +0 -22
  42. package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +0 -18
  43. package/dist/components/Button/Button.vue.d.ts +0 -32
  44. package/dist/components/ButtonGroup/ButtonGroup.vue.d.ts +0 -22
  45. package/dist/components/Calendar/Calendar.vue.d.ts +0 -27
  46. package/dist/components/Card/Card.vue.d.ts +0 -26
  47. package/dist/components/Checkbox/Checkbox.vue.d.ts +0 -33
  48. package/dist/components/CopyClipboard/CopyClipboard.vue.d.ts +0 -41
  49. package/dist/components/Divider/Divider.vue.d.ts +0 -23
  50. package/dist/components/Drawer/Drawer.vue.d.ts +0 -53
  51. package/dist/components/Dropdown/Dropdown.vue.d.ts +0 -177
  52. package/dist/components/Dropdown/DropdownItem.vue.d.ts +0 -23
  53. package/dist/components/Dropdown/DropdownTitle.vue.d.ts +0 -21
  54. package/dist/components/Flex/Flex.vue.d.ts +0 -41
  55. package/dist/components/Grid/Grid.vue.d.ts +0 -34
  56. package/dist/components/Input/Color.vue.d.ts +0 -11
  57. package/dist/components/Input/Counter.vue.d.ts +0 -19
  58. package/dist/components/Input/Dropzone.vue.d.ts +0 -193
  59. package/dist/components/Input/File.vue.d.ts +0 -8
  60. package/dist/components/Input/Input.vue.d.ts +0 -56
  61. package/dist/components/Input/Password.vue.d.ts +0 -6
  62. package/dist/components/Input/Textarea.vue.d.ts +0 -31
  63. package/dist/components/Kbd/Kbd.vue.d.ts +0 -23
  64. package/dist/components/Kbd/KbdGroup.vue.d.ts +0 -19
  65. package/dist/components/Modal/Confirm.vue.d.ts +0 -43
  66. package/dist/components/Modal/Modal.vue.d.ts +0 -58
  67. package/dist/components/OTP/OTP.vue.d.ts +0 -44
  68. package/dist/components/OTP/OTPItem.vue.d.ts +0 -5
  69. package/dist/components/Pagination/Pagination.vue.d.ts +0 -46
  70. package/dist/components/Pagination/pagination.d.ts +0 -12
  71. package/dist/components/Popout/Popout.vue.d.ts +0 -36
  72. package/dist/components/Progress/Progress.vue.d.ts +0 -33
  73. package/dist/components/Radio/Radio.vue.d.ts +0 -29
  74. package/dist/components/Radio/RadioGroup.vue.d.ts +0 -27
  75. package/dist/components/Select/Select.vue.d.ts +0 -35
  76. package/dist/components/Sheet/Sheet.vue.d.ts +0 -47
  77. package/dist/components/Sidebar/Sidebar.vue.d.ts +0 -70
  78. package/dist/components/Skeleton/Skeleton.vue.d.ts +0 -8
  79. package/dist/components/Spinner/Spinner.vue.d.ts +0 -6
  80. package/dist/components/Switch/Switch.vue.d.ts +0 -28
  81. package/dist/components/Table/Cell.vue.d.ts +0 -22
  82. package/dist/components/Table/Head.vue.d.ts +0 -30
  83. package/dist/components/Table/Root.vue.d.ts +0 -41
  84. package/dist/components/Table/SelectAll.vue.d.ts +0 -2
  85. package/dist/components/Table/SelectRow.vue.d.ts +0 -6
  86. package/dist/components/Table/index.d.ts +0 -6
  87. package/dist/components/Table/table.d.ts +0 -68
  88. package/dist/components/Tabs/Tab.vue.d.ts +0 -22
  89. package/dist/components/Tabs/Tabs.vue.d.ts +0 -34
  90. package/dist/components/Toast/Toasts.vue.d.ts +0 -2
  91. package/dist/components/Toast/toast.d.ts +0 -287
  92. package/dist/components/Tooltip/Tooltip.vue.d.ts +0 -33
  93. package/dist/index.d.ts +0 -56
  94. package/dist/internal/Backdrop/Backdrop.vue.d.ts +0 -21
  95. package/dist/shared/helpers.d.ts +0 -34
  96. package/dist/shared/slots.d.ts +0 -20
  97. package/dist/shared/theme.d.ts +0 -3
  98. package/dist/shared/types.d.ts +0 -24
  99. package/dist/vui.css +0 -1
  100. package/dist/vui.js +0 -16220
@@ -1,56 +0,0 @@
1
- export type InputType = 'text' | 'password' | 'color' | 'date' | 'email' | 'number' | 'range' | 'search' | 'tel' | 'time' | 'url' | 'file';
2
- export interface InputProps {
3
- type?: InputType;
4
- label?: string;
5
- hint?: string;
6
- limit?: number | string;
7
- expand?: boolean;
8
- placeholder?: string;
9
- required?: boolean;
10
- modelValue?: string | number;
11
- readonly?: boolean;
12
- focus?: boolean;
13
- errors?: string[];
14
- accept?: string;
15
- multiple?: boolean;
16
- min?: number;
17
- max?: number;
18
- disabled?: boolean;
19
- }
20
- type __VLS_Props = InputProps;
21
- type __VLS_PublicProps = {
22
- modelValue?: string | number;
23
- } & __VLS_Props;
24
- declare function __VLS_template(): {
25
- attrs: Partial<{}>;
26
- slots: {
27
- before?(_: {}): any;
28
- start?(_: {}): any;
29
- __internal_replace_input?(_: {
30
- inputId: string;
31
- }): any;
32
- end?(_: {}): any;
33
- after?(_: {}): any;
34
- };
35
- refs: {
36
- input: HTMLInputElement;
37
- };
38
- rootEl: HTMLDivElement;
39
- };
40
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
41
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
42
- focus: () => void;
43
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
- "update:modelValue": (value: string | number) => any;
45
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
46
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
47
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
48
- input: HTMLInputElement;
49
- }, HTMLDivElement>;
50
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
- export default _default;
52
- type __VLS_WithTemplateSlots<T, S> = T & {
53
- new (): {
54
- $slots: S;
55
- };
56
- };
@@ -1,6 +0,0 @@
1
- import { InputProps } from './Input.vue';
2
- type Props = Omit<InputProps, 'type'> & {
3
- showPassword?: boolean;
4
- };
5
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
- export default _default;
@@ -1,31 +0,0 @@
1
- import { InputProps } from './Input.vue';
2
- type Props = Omit<InputProps, 'type'> & {
3
- resize?: boolean | 'vertical' | 'horizontal';
4
- autoResize?: boolean;
5
- };
6
- type __VLS_Props = Props;
7
- type __VLS_PublicProps = {
8
- modelValue?: string;
9
- } & __VLS_Props;
10
- declare function __VLS_template(): {
11
- attrs: Partial<{}>;
12
- slots: {
13
- before?(_: {}): any;
14
- after?(_: {}): any;
15
- };
16
- refs: {};
17
- rootEl: HTMLDivElement;
18
- };
19
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
- "update:modelValue": (value: string) => any;
22
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
24
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
25
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
- export default _default;
27
- type __VLS_WithTemplateSlots<T, S> = T & {
28
- new (): {
29
- $slots: S;
30
- };
31
- };
@@ -1,23 +0,0 @@
1
- interface Props {
2
- /**
3
- * Specify the key or the combination of keys connected with "+". Make sure
4
- * there are no white spaces between letters.
5
- *
6
- * keys="Escape" keys="Ctrl+A"
7
- */
8
- keys: string;
9
- /**
10
- * Display custom label instead of the automatically formatted keys.
11
- */
12
- label?: string;
13
- /**
14
- * Show active state when this combination of keys is pressed.
15
- */
16
- highlight?: boolean;
17
- }
18
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
- trigger: () => any;
20
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
21
- onTrigger?: (() => any) | undefined;
22
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
23
- export default _default;
@@ -1,19 +0,0 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: Readonly<Record<string, any>> & Record<string, any>;
4
- refs: {};
5
- rootEl: any;
6
- };
7
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- trigger: () => any;
10
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
11
- onTrigger?: (() => any) | undefined;
12
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
- export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
@@ -1,43 +0,0 @@
1
- import { Variants } from '../Button/Button.vue';
2
- import { ModalProps } from './Modal.vue';
3
- type Props = {
4
- title?: string;
5
- content?: string;
6
- confirmText?: string;
7
- confirmVariant?: Variants;
8
- cancelText?: string;
9
- showCancel?: boolean;
10
- } & Partial<ModalProps>;
11
- declare function __VLS_template(): {
12
- attrs: Partial<{}>;
13
- slots: {
14
- default?(_: {}): any;
15
- };
16
- refs: {};
17
- rootEl: any;
18
- };
19
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
- close: () => any;
22
- confirm: () => any;
23
- cancel: () => any;
24
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
25
- onClose?: (() => any) | undefined;
26
- onConfirm?: (() => any) | undefined;
27
- onCancel?: (() => any) | undefined;
28
- }>, {
29
- open: boolean;
30
- size: import('../../shared/types').Sizes | "full" | "screen";
31
- cancelText: string;
32
- canDismiss: boolean;
33
- confirmText: string;
34
- confirmVariant: Variants;
35
- showCancel: boolean;
36
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
- export default _default;
39
- type __VLS_WithTemplateSlots<T, S> = T & {
40
- new (): {
41
- $slots: S;
42
- };
43
- };
@@ -1,58 +0,0 @@
1
- import { Sizes } from '../../shared/types';
2
- import { Props as CardProps } from '../Card/Card.vue';
3
- export interface ModalProps {
4
- /**
5
- * Controls the visibility of the modal
6
- */
7
- open?: boolean;
8
- /**
9
- * Controls the width of the modal
10
- */
11
- size?: Sizes | 'full' | 'screen';
12
- /**
13
- * Modal wraps a floating card. You can optinally pass in any props you'd pass
14
- * into the <Card /> component.
15
- */
16
- card?: CardProps;
17
- /**
18
- * Modal will not overflow the screen, but its card's content will be scrollable instead.
19
- */
20
- scrollable?: boolean;
21
- /**
22
- * Modal appears in the center of the screen
23
- */
24
- centered?: boolean;
25
- /**
26
- * Wether modal can be closed by clicking the X button
27
- */
28
- canDismiss?: boolean;
29
- }
30
- declare function __VLS_template(): {
31
- attrs: Partial<{}>;
32
- slots: {
33
- header?(_: {
34
- close: () => void;
35
- }): any;
36
- default?(_: {
37
- close: () => void;
38
- }): any;
39
- footer?(_: {
40
- close: () => void;
41
- }): any;
42
- };
43
- refs: {};
44
- rootEl: any;
45
- };
46
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
47
- declare const __VLS_component: import('vue').DefineComponent<ModalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
- close: () => any;
49
- }, string, import('vue').PublicProps, Readonly<ModalProps> & Readonly<{
50
- onClose?: (() => any) | undefined;
51
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
52
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
53
- export default _default;
54
- type __VLS_WithTemplateSlots<T, S> = T & {
55
- new (): {
56
- $slots: S;
57
- };
58
- };
@@ -1,44 +0,0 @@
1
- import { ModelRef, Ref } from 'vue';
2
- export interface OtpContext {
3
- otpValue: ModelRef<string>;
4
- cursorIndex: Ref<number>;
5
- redacted: Ref<boolean>;
6
- register: () => void;
7
- }
8
- interface Props {
9
- mode?: 'num' | 'char' | 'both';
10
- redacted?: boolean;
11
- }
12
- type __VLS_Props = Props;
13
- type __VLS_PublicProps = {
14
- modelValue?: string;
15
- } & __VLS_Props;
16
- declare function __VLS_template(): {
17
- attrs: Partial<{}>;
18
- slots: {
19
- default?(_: {}): any;
20
- };
21
- refs: {
22
- inputRef: HTMLInputElement;
23
- };
24
- rootEl: HTMLDivElement;
25
- };
26
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
- change: (value?: string | undefined) => any;
29
- "update:modelValue": (value: string) => any;
30
- complete: (value: string) => any;
31
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
32
- onChange?: ((value?: string | undefined) => any) | undefined;
33
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
34
- onComplete?: ((value: string) => any) | undefined;
35
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
36
- inputRef: HTMLInputElement;
37
- }, HTMLDivElement>;
38
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
- export default _default;
40
- type __VLS_WithTemplateSlots<T, S> = T & {
41
- new (): {
42
- $slots: S;
43
- };
44
- };
@@ -1,5 +0,0 @@
1
- interface Props {
2
- i: number;
3
- }
4
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
- export default _default;
@@ -1,46 +0,0 @@
1
- import { Variants } from '../Button/Button.vue';
2
- import { Pagination } from './pagination';
3
- interface Props {
4
- numbers?: boolean;
5
- pagination: Pagination;
6
- prevNext?: boolean;
7
- firstLast?: boolean;
8
- variant?: Variants;
9
- }
10
- declare function setNext(): void;
11
- declare function setPrev(): void;
12
- declare function __VLS_template(): {
13
- attrs: Partial<{}>;
14
- slots: {
15
- start?(_: {}): any;
16
- prev?(_: {
17
- disabled: boolean;
18
- setPage: typeof setPrev;
19
- }): any;
20
- next?(_: {
21
- disabled: boolean;
22
- setPage: typeof setNext;
23
- }): any;
24
- end?(_: {}): any;
25
- };
26
- refs: {};
27
- rootEl: HTMLDivElement;
28
- };
29
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
- change: (page: number) => any;
32
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
33
- onChange?: ((page: number) => any) | undefined;
34
- }>, {
35
- variant: Variants;
36
- numbers: boolean;
37
- prevNext: boolean;
38
- firstLast: boolean;
39
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
40
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
41
- export default _default;
42
- type __VLS_WithTemplateSlots<T, S> = T & {
43
- new (): {
44
- $slots: S;
45
- };
46
- };
@@ -1,12 +0,0 @@
1
- export interface Pagination {
2
- totalItems: number;
3
- currentPage: number;
4
- perPage: number;
5
- totalPages: number;
6
- startPage: number;
7
- endPage: number;
8
- startIndex: number;
9
- endIndex: number;
10
- pages: number[];
11
- }
12
- export declare function paginate(totalItems: number, currentPage?: number, perPage?: number, maxPages?: number): Pagination;
@@ -1,36 +0,0 @@
1
- import { Placement, PopoutMaybeElement } from '../../shared/types';
2
- export interface Props {
3
- /**
4
- * Reference to the HTML element the Popout is anchored to
5
- */
6
- anchor: PopoutMaybeElement<HTMLElement>;
7
- /**
8
- * Override the autoPlacement option
9
- */
10
- placement?: Placement;
11
- /**
12
- * Distance between the anchor and the rendered tooltip
13
- */
14
- offset?: number;
15
- /**
16
- * Set the visibility of the dropdown
17
- */
18
- visible: boolean;
19
- }
20
- declare function __VLS_template(): any;
21
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
- clickOutside: () => any;
24
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
25
- onClickOutside?: (() => any) | undefined;
26
- }>, {
27
- offset: number;
28
- placement: Placement;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, any, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
- export default _default;
32
- type __VLS_WithTemplateSlots<T, S> = T & {
33
- new (): {
34
- $slots: S;
35
- };
36
- };
@@ -1,33 +0,0 @@
1
- interface Props {
2
- /**
3
- * Will randomly increment but never actually reach the end
4
- */
5
- fake?: boolean;
6
- /**
7
- * Indicator color. Use CSS color values or variables
8
- */
9
- color?: string;
10
- /**
11
- * Displays loader at the top of the page. It is only displayed when the
12
- * progress is between 0 and 100 (exclusive).
13
- */
14
- fixed?: boolean;
15
- /**
16
- * Height
17
- */
18
- height?: number | string;
19
- }
20
- type __VLS_Props = Props;
21
- type __VLS_PublicProps = {
22
- modelValue?: number;
23
- } & __VLS_Props;
24
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
- done: () => any;
26
- "update:modelValue": (value: number) => any;
27
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
- onDone?: (() => any) | undefined;
29
- "onUpdate:modelValue"?: ((value: number) => any) | undefined;
30
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
- progress: HTMLDivElement;
32
- }, HTMLDivElement>;
33
- export default _default;
@@ -1,29 +0,0 @@
1
- export interface RadioProps {
2
- label?: string;
3
- disabled?: boolean;
4
- value: any;
5
- accent?: boolean;
6
- }
7
- type __VLS_Props = RadioProps;
8
- type __VLS_PublicProps = {
9
- modelValue?: any;
10
- } & __VLS_Props;
11
- declare function __VLS_template(): {
12
- attrs: Partial<{}>;
13
- slots: Readonly<Record<string, any>> & Record<string, any>;
14
- refs: {};
15
- rootEl: HTMLDivElement;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
- "update:modelValue": (value: any) => any;
20
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
22
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
- export default _default;
25
- type __VLS_WithTemplateSlots<T, S> = T & {
26
- new (): {
27
- $slots: S;
28
- };
29
- };
@@ -1,27 +0,0 @@
1
- import { FlexProps } from '../Flex/Flex.vue';
2
- interface Props extends FlexProps {
3
- disabled?: boolean;
4
- }
5
- type __VLS_Props = Props;
6
- type __VLS_PublicProps = {
7
- modelValue?: any;
8
- } & __VLS_Props;
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: Readonly<Record<string, any>> & Record<string, any>;
12
- refs: {};
13
- rootEl: HTMLDivElement;
14
- };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
- "update:modelValue": (value: any) => any;
18
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
20
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
21
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
- export default _default;
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
@@ -1,35 +0,0 @@
1
- export type SelectOption = {
2
- value: any;
3
- label: string;
4
- };
5
- declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
7
- readonly "onUpdate:modelValue"?: ((value: SelectOption[] | undefined) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
9
- modelValue?: SelectOption[] | undefined;
10
- } & {
11
- single?: boolean;
12
- readonly?: boolean;
13
- options: SelectOption[];
14
- label?: string;
15
- placeholder?: string;
16
- required?: boolean;
17
- expand?: boolean;
18
- hint?: string;
19
- search?: boolean;
20
- maxActiveOptions?: number;
21
- showClear?: boolean;
22
- disabled?: boolean;
23
- errors?: string[];
24
- }) & Partial<{}>> & import('vue').PublicProps;
25
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
26
- attrs: any;
27
- slots: {};
28
- emit: (evt: "update:modelValue", value: SelectOption[] | undefined) => void;
29
- }>) => import('vue').VNode & {
30
- __ctx?: Awaited<typeof __VLS_setup>;
31
- };
32
- export default _default;
33
- type __VLS_PrettifyLocal<T> = {
34
- [K in keyof T]: T[K];
35
- } & {};
@@ -1,47 +0,0 @@
1
- interface Props {
2
- /**
3
- * Controls the visibility of the sheet
4
- */
5
- open?: boolean;
6
- /**
7
- * Controls the position of the sheet
8
- */
9
- position?: 'left' | 'right' | 'top' | 'bottom';
10
- /**
11
- * Sets the width of the sheet
12
- */
13
- size?: number | string;
14
- /**
15
- * Wether to show a divider between header and content
16
- */
17
- separator?: boolean;
18
- }
19
- declare function __VLS_template(): {
20
- attrs: Partial<{}>;
21
- slots: {
22
- header?(_: {
23
- close: () => void;
24
- }): any;
25
- default?(_: {
26
- close: () => void;
27
- }): any;
28
- footer?(_: {
29
- close: () => void;
30
- }): any;
31
- };
32
- refs: {};
33
- rootEl: any;
34
- };
35
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
- close: () => any;
38
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
39
- onClose?: (() => any) | undefined;
40
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
- export default _default;
43
- type __VLS_WithTemplateSlots<T, S> = T & {
44
- new (): {
45
- $slots: S;
46
- };
47
- };
@@ -1,70 +0,0 @@
1
- type __VLS_Props = Props;
2
- interface Props {
3
- width?: number;
4
- /**
5
- * Controls wether the sidebar is displayed in full size, or a small version
6
- */
7
- mini?: boolean;
8
- /**
9
- * Allow sidebar showing up, when user hovers at very left of the screen. The
10
- * sidebar will apear over content, not pushing anything over
11
- */
12
- appear?: boolean;
13
- /**
14
- * Add edges of background around sidebar
15
- */
16
- floaty?: boolean;
17
- }
18
- type __VLS_PublicProps = {
19
- modelValue?: boolean;
20
- } & __VLS_Props;
21
- declare function __VLS_template(): {
22
- attrs: Partial<{}>;
23
- slots: {
24
- header?(_: {
25
- mini: boolean;
26
- floaty: boolean;
27
- width: number;
28
- open: import('vue').ModelRef<boolean, string, boolean, boolean>;
29
- close: () => false;
30
- }): any;
31
- default?(_: {
32
- mini: boolean;
33
- floaty: boolean;
34
- width: number;
35
- open: import('vue').ModelRef<boolean, string, boolean, boolean>;
36
- close: () => false;
37
- }): any;
38
- footer?(_: {
39
- mini: boolean;
40
- floaty: boolean;
41
- width: number;
42
- open: import('vue').ModelRef<boolean, string, boolean, boolean>;
43
- close: () => false;
44
- }): any;
45
- };
46
- refs: {
47
- wrap: HTMLDivElement;
48
- sidebar: HTMLElement;
49
- };
50
- rootEl: HTMLDivElement;
51
- };
52
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
53
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
54
- "update:modelValue": (value: boolean) => any;
55
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
56
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
57
- }>, {
58
- width: number;
59
- mini: boolean;
60
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
61
- wrap: HTMLDivElement;
62
- sidebar: HTMLElement;
63
- }, HTMLDivElement>;
64
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
65
- export default _default;
66
- type __VLS_WithTemplateSlots<T, S> = T & {
67
- new (): {
68
- $slots: S;
69
- };
70
- };
@@ -1,8 +0,0 @@
1
- interface Props {
2
- radius?: string | number;
3
- width?: string | number;
4
- height?: string | number;
5
- circle?: boolean;
6
- }
7
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
- export default _default;
@@ -1,6 +0,0 @@
1
- import { Sizes } from '../../shared/types';
2
- interface Props {
3
- size?: Sizes;
4
- }
5
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
- export default _default;