@nuxt/ui 2.16.0 → 2.18.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.
- package/dist/module.d.mts +3 -1985
- package/dist/module.d.ts +3 -1985
- package/dist/module.json +6 -2
- package/dist/module.mjs +6 -71
- package/dist/runtime/components/data/Table.vue +54 -19
- package/dist/runtime/components/data/Table.vue.d.ts +247 -48
- package/dist/runtime/components/elements/Accordion.vue +1 -2
- package/dist/runtime/components/elements/Accordion.vue.d.ts +140 -14
- package/dist/runtime/components/elements/Alert.vue +12 -10
- package/dist/runtime/components/elements/Alert.vue.d.ts +107 -24
- package/dist/runtime/components/elements/Avatar.vue +1 -1
- package/dist/runtime/components/elements/Avatar.vue.d.ts +153 -32
- package/dist/runtime/components/elements/AvatarGroup.d.ts +17 -8
- package/dist/runtime/components/elements/{AvatarGroup.mjs → AvatarGroup.js} +2 -2
- package/dist/runtime/components/elements/Badge.vue.d.ts +55 -18
- package/dist/runtime/components/elements/Button.vue +1 -2
- package/dist/runtime/components/elements/Button.vue.d.ts +259 -96
- package/dist/runtime/components/elements/ButtonGroup.d.ts +110 -6
- package/dist/runtime/components/elements/{ButtonGroup.mjs → ButtonGroup.js} +3 -3
- package/dist/runtime/components/elements/Carousel.vue.d.ts +75 -20
- package/dist/runtime/components/elements/Chip.vue.d.ts +97 -25
- package/dist/runtime/components/elements/Dropdown.vue +4 -9
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +135 -16
- package/dist/runtime/components/elements/Kbd.vue.d.ts +45 -10
- package/dist/runtime/components/elements/Link.vue.d.ts +73 -73
- package/dist/runtime/components/elements/Meter.vue +1 -1
- package/dist/runtime/components/elements/Meter.vue.d.ts +178 -22
- package/dist/runtime/components/elements/MeterGroup.d.ts +70 -13
- package/dist/runtime/components/elements/{MeterGroup.mjs → MeterGroup.js} +3 -3
- package/dist/runtime/components/elements/Progress.vue +7 -2
- package/dist/runtime/components/elements/Progress.vue.d.ts +187 -31
- package/dist/runtime/components/forms/Checkbox.vue +5 -3
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +76 -35
- package/dist/runtime/components/forms/Form.vue +9 -13
- package/dist/runtime/components/forms/Form.vue.d.ts +14 -18
- package/dist/runtime/components/forms/FormGroup.vue +1 -1
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +80 -27
- package/dist/runtime/components/forms/Input.vue +3 -3
- package/dist/runtime/components/forms/Input.vue.d.ts +276 -59
- package/dist/runtime/components/forms/InputMenu.vue +12 -10
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +434 -84
- package/dist/runtime/components/forms/Radio.vue +5 -3
- package/dist/runtime/components/forms/Radio.vue.d.ts +74 -35
- package/dist/runtime/components/forms/RadioGroup.vue +11 -3
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +85 -27
- package/dist/runtime/components/forms/Range.vue.d.ts +155 -26
- package/dist/runtime/components/forms/Select.vue +4 -4
- package/dist/runtime/components/forms/Select.vue.d.ts +273 -50
- package/dist/runtime/components/forms/SelectMenu.vue +51 -26
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +451 -86
- package/dist/runtime/components/forms/Textarea.vue.d.ts +263 -48
- package/dist/runtime/components/forms/Toggle.vue +1 -1
- package/dist/runtime/components/forms/Toggle.vue.d.ts +153 -26
- package/dist/runtime/components/layout/Card.vue.d.ts +55 -5
- package/dist/runtime/components/layout/Container.vue.d.ts +19 -5
- package/dist/runtime/components/layout/Divider.vue +1 -2
- package/dist/runtime/components/layout/Divider.vue.d.ts +121 -16
- package/dist/runtime/components/layout/Skeleton.vue +5 -1
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +27 -4
- package/dist/runtime/components/navigation/Breadcrumb.vue +2 -3
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +52 -9
- package/dist/runtime/components/navigation/CommandPalette.vue +11 -5
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +198 -40
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue +1 -3
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +5 -7
- package/dist/runtime/components/navigation/HorizontalNavigation.vue +1 -4
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +64 -9
- package/dist/runtime/components/navigation/Pagination.vue +2 -4
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +84 -12
- package/dist/runtime/components/navigation/Tabs.vue +15 -1
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +95 -15
- package/dist/runtime/components/navigation/VerticalNavigation.vue +1 -5
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +78 -9
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +71 -8
- package/dist/runtime/components/overlays/Modal.vue.d.ts +85 -11
- package/dist/runtime/components/overlays/Notification.vue +5 -6
- package/dist/runtime/components/overlays/Notification.vue.d.ts +130 -29
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +31 -16
- package/dist/runtime/components/overlays/Popover.vue +3 -6
- package/dist/runtime/components/overlays/Popover.vue.d.ts +110 -15
- package/dist/runtime/components/overlays/Slideover.vue +43 -6
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +87 -14
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +90 -15
- package/dist/runtime/composables/{defineShortcuts.mjs → defineShortcuts.js} +1 -1
- package/dist/runtime/composables/{useButtonGroup.mjs → useButtonGroup.js} +8 -9
- package/dist/runtime/composables/{useCarouselScroll.mjs → useCarouselScroll.js} +2 -0
- package/dist/runtime/composables/useCopyToClipboard.d.ts +1 -1
- package/dist/runtime/composables/{useCopyToClipboard.mjs → useCopyToClipboard.js} +1 -1
- package/dist/runtime/composables/useFormGroup.d.ts +5 -5
- package/dist/runtime/composables/useFormGroup.js +49 -0
- package/dist/runtime/composables/useModal.d.ts +3 -3
- package/dist/runtime/composables/{useModal.mjs → useModal.js} +2 -4
- package/dist/runtime/composables/usePopper.d.ts +91 -55
- package/dist/runtime/composables/useShortcuts.d.ts +4 -4
- package/dist/runtime/composables/useSlideover.d.ts +3 -3
- package/dist/runtime/composables/{useSlideover.mjs → useSlideover.js} +2 -4
- package/dist/runtime/composables/useTimer.d.ts +1 -1
- package/dist/runtime/composables/useToast.d.ts +11 -11
- package/dist/runtime/composables/useUI.d.ts +1 -1
- package/dist/runtime/composables/{useUI.mjs → useUI.js} +1 -1
- package/dist/runtime/plugins/colors.d.ts +1 -1
- package/dist/runtime/plugins/{colors.mjs → colors.js} +1 -1
- package/dist/runtime/plugins/modals.d.ts +1 -1
- package/dist/runtime/plugins/{modals.mjs → modals.js} +1 -1
- package/dist/runtime/plugins/slideovers.d.ts +1 -1
- package/dist/runtime/plugins/{slideovers.mjs → slideovers.js} +1 -1
- package/dist/runtime/types/accordion.d.ts +6 -7
- package/dist/runtime/types/accordion.js +0 -0
- package/dist/runtime/types/alert.d.ts +8 -10
- package/dist/runtime/types/alert.js +0 -0
- package/dist/runtime/types/avatar.d.ts +13 -15
- package/dist/runtime/types/avatar.js +0 -0
- package/dist/runtime/types/badge.d.ts +11 -13
- package/dist/runtime/types/badge.js +0 -0
- package/dist/runtime/types/breadcrumb.d.ts +6 -8
- package/dist/runtime/types/breadcrumb.js +0 -0
- package/dist/runtime/types/button.d.ts +27 -29
- package/dist/runtime/types/button.js +0 -0
- package/dist/runtime/types/chip.d.ts +11 -13
- package/dist/runtime/types/chip.js +0 -0
- package/dist/runtime/types/clipboard.d.ts +7 -1
- package/dist/runtime/types/clipboard.js +0 -0
- package/dist/runtime/types/command-palette.d.ts +23 -24
- package/dist/runtime/types/command-palette.js +0 -0
- package/dist/runtime/types/component.d.ts +17 -14
- package/dist/runtime/types/component.js +0 -0
- package/dist/runtime/types/divider.d.ts +2 -3
- package/dist/runtime/types/divider.js +0 -0
- package/dist/runtime/types/dropdown.d.ts +12 -13
- package/dist/runtime/types/dropdown.js +0 -0
- package/dist/runtime/types/form-group.d.ts +4 -5
- package/dist/runtime/types/form-group.js +0 -0
- package/dist/runtime/types/form.d.ts +29 -28
- package/dist/runtime/types/form.js +0 -0
- package/dist/runtime/types/horizontal-navigation.d.ts +10 -11
- package/dist/runtime/types/horizontal-navigation.js +0 -0
- package/dist/runtime/types/index.d.ts +31 -31
- package/dist/runtime/types/index.js +31 -0
- package/dist/runtime/types/input.d.ts +7 -8
- package/dist/runtime/types/input.js +0 -0
- package/dist/runtime/types/kbd.d.ts +4 -5
- package/dist/runtime/types/kbd.js +0 -0
- package/dist/runtime/types/link.d.ts +9 -10
- package/dist/runtime/types/link.js +0 -0
- package/dist/runtime/types/meter.d.ts +4 -5
- package/dist/runtime/types/meter.js +0 -0
- package/dist/runtime/types/modal.d.ts +13 -15
- package/dist/runtime/types/modal.js +0 -0
- package/dist/runtime/types/notification.d.ts +17 -20
- package/dist/runtime/types/notification.js +0 -0
- package/dist/runtime/types/popper.d.ts +13 -15
- package/dist/runtime/types/popper.js +0 -0
- package/dist/runtime/types/progress.d.ts +5 -6
- package/dist/runtime/types/progress.js +0 -0
- package/dist/runtime/types/range.d.ts +6 -7
- package/dist/runtime/types/range.js +0 -0
- package/dist/runtime/types/select.d.ts +7 -8
- package/dist/runtime/types/select.js +0 -0
- package/dist/runtime/types/slideover.d.ts +10 -12
- package/dist/runtime/types/slideover.js +0 -0
- package/dist/runtime/types/tabs.d.ts +6 -5
- package/dist/runtime/types/tabs.js +0 -0
- package/dist/runtime/types/textarea.d.ts +7 -8
- package/dist/runtime/types/textarea.js +0 -0
- package/dist/runtime/types/toggle.d.ts +6 -7
- package/dist/runtime/types/toggle.js +0 -0
- package/dist/runtime/types/tooltip.d.ts +5 -5
- package/dist/runtime/types/tooltip.js +0 -0
- package/dist/runtime/types/utils.d.ts +15 -27
- package/dist/runtime/types/utils.js +0 -0
- package/dist/runtime/types/vertical-navigation.d.ts +10 -11
- package/dist/runtime/types/vertical-navigation.js +0 -0
- package/dist/runtime/ui.config/data/table.d.ts +10 -0
- package/dist/runtime/ui.config/data/{table.mjs → table.js} +10 -0
- package/dist/runtime/ui.config/elements/accordion.d.ts +1 -0
- package/dist/runtime/ui.config/elements/{accordion.mjs → accordion.js} +3 -2
- package/dist/runtime/ui.config/elements/alert.d.ts +2 -2
- package/dist/runtime/ui.config/elements/avatar.d.ts +2 -2
- package/dist/runtime/ui.config/elements/{carousel.mjs → carousel.js} +1 -1
- package/dist/runtime/ui.config/elements/{dropdown.mjs → dropdown.js} +1 -1
- package/dist/runtime/ui.config/forms/{inputMenu.mjs → inputMenu.js} +1 -1
- package/dist/runtime/ui.config/forms/{select.mjs → select.js} +1 -1
- package/dist/runtime/ui.config/forms/{selectMenu.mjs → selectMenu.js} +2 -2
- package/dist/runtime/ui.config/forms/{textarea.mjs → textarea.js} +1 -1
- package/dist/runtime/ui.config/forms/toggle.d.ts +2 -2
- package/dist/runtime/ui.config/index.d.ts +43 -43
- package/dist/runtime/ui.config/index.js +43 -0
- package/dist/runtime/ui.config/navigation/{breadcrumb.mjs → breadcrumb.js} +2 -2
- package/dist/runtime/ui.config/navigation/commandPalette.d.ts +1 -1
- package/dist/runtime/ui.config/navigation/tabs.d.ts +1 -0
- package/dist/runtime/ui.config/navigation/{tabs.mjs → tabs.js} +2 -1
- package/dist/runtime/ui.config/overlays/{contextMenu.mjs → contextMenu.js} +1 -1
- package/dist/runtime/ui.config/overlays/{modal.mjs → modal.js} +2 -2
- package/dist/runtime/ui.config/overlays/notification.d.ts +1 -1
- package/dist/runtime/ui.config/overlays/{popover.mjs → popover.js} +1 -1
- package/dist/runtime/ui.config/overlays/slideover.d.ts +3 -0
- package/dist/runtime/ui.config/overlays/{slideover.mjs → slideover.js} +6 -3
- package/dist/runtime/ui.config/overlays/{tooltip.mjs → tooltip.js} +1 -1
- package/dist/runtime/utils/colors.d.ts +2 -2
- package/dist/runtime/utils/{colors.mjs → colors.js} +1 -1
- package/dist/runtime/utils/index.d.ts +4 -4
- package/dist/runtime/utils/{index.mjs → index.js} +2 -2
- package/dist/runtime/utils/link.d.ts +26 -24
- package/dist/runtime/utils/{link.mjs → link.js} +1 -1
- package/dist/types.d.mts +1 -16
- package/dist/types.d.ts +1 -16
- package/package.json +29 -27
- package/dist/runtime/components/elements/Icon.vue +0 -29
- package/dist/runtime/components/elements/Icon.vue.d.ts +0 -24
- package/dist/runtime/composables/useFormGroup.mjs +0 -45
- package/dist/runtime/ui.config/index.mjs +0 -43
- /package/dist/runtime/composables/{usePopper.mjs → usePopper.js} +0 -0
- /package/dist/runtime/composables/{useShortcuts.mjs → useShortcuts.js} +0 -0
- /package/dist/runtime/composables/{useTimer.mjs → useTimer.js} +0 -0
- /package/dist/runtime/composables/{useToast.mjs → useToast.js} +0 -0
- /package/dist/runtime/ui.config/elements/{alert.mjs → alert.js} +0 -0
- /package/dist/runtime/ui.config/elements/{avatar.mjs → avatar.js} +0 -0
- /package/dist/runtime/ui.config/elements/{avatarGroup.mjs → avatarGroup.js} +0 -0
- /package/dist/runtime/ui.config/elements/{badge.mjs → badge.js} +0 -0
- /package/dist/runtime/ui.config/elements/{button.mjs → button.js} +0 -0
- /package/dist/runtime/ui.config/elements/{buttonGroup.mjs → buttonGroup.js} +0 -0
- /package/dist/runtime/ui.config/elements/{chip.mjs → chip.js} +0 -0
- /package/dist/runtime/ui.config/elements/{kbd.mjs → kbd.js} +0 -0
- /package/dist/runtime/ui.config/elements/{meter.mjs → meter.js} +0 -0
- /package/dist/runtime/ui.config/elements/{meterGroup.mjs → meterGroup.js} +0 -0
- /package/dist/runtime/ui.config/elements/{progress.mjs → progress.js} +0 -0
- /package/dist/runtime/ui.config/forms/{checkbox.mjs → checkbox.js} +0 -0
- /package/dist/runtime/ui.config/forms/{formGroup.mjs → formGroup.js} +0 -0
- /package/dist/runtime/ui.config/forms/{input.mjs → input.js} +0 -0
- /package/dist/runtime/ui.config/forms/{radio.mjs → radio.js} +0 -0
- /package/dist/runtime/ui.config/forms/{radioGroup.mjs → radioGroup.js} +0 -0
- /package/dist/runtime/ui.config/forms/{range.mjs → range.js} +0 -0
- /package/dist/runtime/ui.config/forms/{toggle.mjs → toggle.js} +0 -0
- /package/dist/runtime/ui.config/layout/{card.mjs → card.js} +0 -0
- /package/dist/runtime/ui.config/layout/{container.mjs → container.js} +0 -0
- /package/dist/runtime/ui.config/layout/{divider.mjs → divider.js} +0 -0
- /package/dist/runtime/ui.config/layout/{skeleton.mjs → skeleton.js} +0 -0
- /package/dist/runtime/ui.config/navigation/{commandPalette.mjs → commandPalette.js} +0 -0
- /package/dist/runtime/ui.config/navigation/{horizontalNavigation.mjs → horizontalNavigation.js} +0 -0
- /package/dist/runtime/ui.config/navigation/{pagination.mjs → pagination.js} +0 -0
- /package/dist/runtime/ui.config/navigation/{verticalNavigation.mjs → verticalNavigation.js} +0 -0
- /package/dist/runtime/ui.config/overlays/{notification.mjs → notification.js} +0 -0
- /package/dist/runtime/ui.config/overlays/{notifications.mjs → notifications.js} +0 -0
- /package/dist/runtime/ui.config/{popper.mjs → popper.js} +0 -0
- /package/dist/runtime/utils/{lodash.mjs → lodash.js} +0 -0
|
@@ -2,23 +2,23 @@ import type { Ref } from 'vue';
|
|
|
2
2
|
import type { VirtualElement } from '@popperjs/core/lib/popper-lite';
|
|
3
3
|
import type { Instance } from '@popperjs/core';
|
|
4
4
|
import type { MaybeElement } from '@vueuse/core';
|
|
5
|
-
import type { PopperOptions } from '../types/popper';
|
|
6
|
-
export declare const createPopper: <TModifier extends Partial<import("@popperjs/core").Modifier<any, any>>>(reference: Element | VirtualElement, popper: HTMLElement, options?: Partial<import("@popperjs/core").OptionsGeneric<TModifier>>
|
|
5
|
+
import type { PopperOptions } from '../types/popper.js';
|
|
6
|
+
export declare const createPopper: <TModifier extends Partial<import("@popperjs/core").Modifier<any, any>>>(reference: Element | VirtualElement, popper: HTMLElement, options?: Partial<import("@popperjs/core").OptionsGeneric<TModifier>>) => Instance;
|
|
7
7
|
export declare function usePopper({ locked, overflowPadding, offsetDistance, offsetSkid, gpuAcceleration, adaptive, scroll, resize, arrow, placement, strategy }: PopperOptions, virtualReference?: Ref<Element | VirtualElement>): readonly [Ref<MaybeElement>, Ref<MaybeElement>, Ref<{
|
|
8
8
|
state: {
|
|
9
9
|
elements: {
|
|
10
10
|
reference: Element | {
|
|
11
11
|
getBoundingClientRect: () => ClientRect | DOMRect;
|
|
12
|
-
contextElement?: Element
|
|
12
|
+
contextElement?: Element;
|
|
13
13
|
};
|
|
14
14
|
popper: HTMLElement;
|
|
15
|
-
arrow?: HTMLElement
|
|
15
|
+
arrow?: HTMLElement;
|
|
16
16
|
};
|
|
17
17
|
options: {
|
|
18
18
|
placement: import("@popperjs/core").Placement;
|
|
19
19
|
modifiers: any[];
|
|
20
20
|
strategy: import("@popperjs/core").PositioningStrategy;
|
|
21
|
-
onFirstUpdate?: (
|
|
21
|
+
onFirstUpdate?: (arg0: Partial<import("@popperjs/core").State>) => void;
|
|
22
22
|
};
|
|
23
23
|
placement: import("@popperjs/core").Placement;
|
|
24
24
|
strategy: import("@popperjs/core").PositioningStrategy;
|
|
@@ -26,12 +26,12 @@ export declare function usePopper({ locked, overflowPadding, offsetDistance, off
|
|
|
26
26
|
name: any;
|
|
27
27
|
enabled: boolean;
|
|
28
28
|
phase: import("@popperjs/core").ModifierPhases;
|
|
29
|
-
requires?: string
|
|
30
|
-
requiresIfExists?: string
|
|
31
|
-
fn: (arg0: import("@popperjs/core").ModifierArguments<any>) =>
|
|
32
|
-
effect?: (
|
|
33
|
-
options?: Partial<any
|
|
34
|
-
data?: import("@popperjs/core").Obj
|
|
29
|
+
requires?: Array<string>;
|
|
30
|
+
requiresIfExists?: Array<string>;
|
|
31
|
+
fn: (arg0: import("@popperjs/core").ModifierArguments<any>) => import("@popperjs/core").State | void;
|
|
32
|
+
effect?: (arg0: import("@popperjs/core").ModifierArguments<any>) => (() => void) | void;
|
|
33
|
+
options?: Partial<any>;
|
|
34
|
+
data?: import("@popperjs/core").Obj;
|
|
35
35
|
}[];
|
|
36
36
|
rects: {
|
|
37
37
|
reference: {
|
|
@@ -64,20 +64,38 @@ export declare function usePopper({ locked, overflowPadding, offsetDistance, off
|
|
|
64
64
|
toString: () => "[object Window]";
|
|
65
65
|
devicePixelRatio: number;
|
|
66
66
|
visualViewport?: {
|
|
67
|
-
addEventListener:
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
addEventListener: {
|
|
68
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
|
69
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
|
70
|
+
};
|
|
71
|
+
dispatchEvent: {
|
|
72
|
+
(event: Event): boolean;
|
|
73
|
+
(event: Event): boolean;
|
|
74
|
+
};
|
|
75
|
+
removeEventListener: {
|
|
76
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
|
77
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
|
78
|
+
};
|
|
70
79
|
width: number;
|
|
71
80
|
height: number;
|
|
72
81
|
offsetLeft: number;
|
|
73
82
|
offsetTop: number;
|
|
74
83
|
scale: number;
|
|
75
|
-
}
|
|
84
|
+
};
|
|
76
85
|
ShadowRoot: ShadowRoot;
|
|
77
86
|
} | {
|
|
78
|
-
addEventListener:
|
|
79
|
-
|
|
80
|
-
|
|
87
|
+
addEventListener: {
|
|
88
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
|
89
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
|
90
|
+
};
|
|
91
|
+
dispatchEvent: {
|
|
92
|
+
(event: Event): boolean;
|
|
93
|
+
(event: Event): boolean;
|
|
94
|
+
};
|
|
95
|
+
removeEventListener: {
|
|
96
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
|
97
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
|
98
|
+
};
|
|
81
99
|
width: number;
|
|
82
100
|
height: number;
|
|
83
101
|
offsetLeft: number;
|
|
@@ -100,20 +118,38 @@ export declare function usePopper({ locked, overflowPadding, offsetDistance, off
|
|
|
100
118
|
toString: () => "[object Window]";
|
|
101
119
|
devicePixelRatio: number;
|
|
102
120
|
visualViewport?: {
|
|
103
|
-
addEventListener:
|
|
104
|
-
|
|
105
|
-
|
|
121
|
+
addEventListener: {
|
|
122
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
|
123
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
|
124
|
+
};
|
|
125
|
+
dispatchEvent: {
|
|
126
|
+
(event: Event): boolean;
|
|
127
|
+
(event: Event): boolean;
|
|
128
|
+
};
|
|
129
|
+
removeEventListener: {
|
|
130
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
|
131
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
|
132
|
+
};
|
|
106
133
|
width: number;
|
|
107
134
|
height: number;
|
|
108
135
|
offsetLeft: number;
|
|
109
136
|
offsetTop: number;
|
|
110
137
|
scale: number;
|
|
111
|
-
}
|
|
138
|
+
};
|
|
112
139
|
ShadowRoot: ShadowRoot;
|
|
113
140
|
} | {
|
|
114
|
-
addEventListener:
|
|
115
|
-
|
|
116
|
-
|
|
141
|
+
addEventListener: {
|
|
142
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
|
143
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
|
144
|
+
};
|
|
145
|
+
dispatchEvent: {
|
|
146
|
+
(event: Event): boolean;
|
|
147
|
+
(event: Event): boolean;
|
|
148
|
+
};
|
|
149
|
+
removeEventListener: {
|
|
150
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
|
151
|
+
(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
|
152
|
+
};
|
|
117
153
|
width: number;
|
|
118
154
|
height: number;
|
|
119
155
|
offsetLeft: number;
|
|
@@ -132,10 +168,10 @@ export declare function usePopper({ locked, overflowPadding, offsetDistance, off
|
|
|
132
168
|
modifiersData: {
|
|
133
169
|
[x: string]: any;
|
|
134
170
|
arrow?: {
|
|
135
|
-
x?: number
|
|
136
|
-
y?: number
|
|
171
|
+
x?: number;
|
|
172
|
+
y?: number;
|
|
137
173
|
centerOffset: number;
|
|
138
|
-
}
|
|
174
|
+
};
|
|
139
175
|
hide?: {
|
|
140
176
|
isReferenceHidden: boolean;
|
|
141
177
|
hasPopperEscaped: boolean;
|
|
@@ -151,77 +187,77 @@ export declare function usePopper({ locked, overflowPadding, offsetDistance, off
|
|
|
151
187
|
right: number;
|
|
152
188
|
bottom: number;
|
|
153
189
|
};
|
|
154
|
-
}
|
|
190
|
+
};
|
|
155
191
|
offset?: {
|
|
156
192
|
"bottom-end"?: {
|
|
157
193
|
y: number;
|
|
158
194
|
x: number;
|
|
159
|
-
}
|
|
195
|
+
};
|
|
160
196
|
"bottom-start"?: {
|
|
161
197
|
y: number;
|
|
162
198
|
x: number;
|
|
163
|
-
}
|
|
164
|
-
|
|
199
|
+
};
|
|
200
|
+
auto?: {
|
|
165
201
|
y: number;
|
|
166
202
|
x: number;
|
|
167
|
-
}
|
|
168
|
-
|
|
203
|
+
};
|
|
204
|
+
right?: {
|
|
169
205
|
y: number;
|
|
170
206
|
x: number;
|
|
171
|
-
}
|
|
172
|
-
|
|
207
|
+
};
|
|
208
|
+
left?: {
|
|
173
209
|
y: number;
|
|
174
210
|
x: number;
|
|
175
|
-
}
|
|
176
|
-
|
|
211
|
+
};
|
|
212
|
+
"auto-start"?: {
|
|
177
213
|
y: number;
|
|
178
214
|
x: number;
|
|
179
|
-
}
|
|
180
|
-
auto?: {
|
|
215
|
+
};
|
|
216
|
+
"auto-end"?: {
|
|
181
217
|
y: number;
|
|
182
218
|
x: number;
|
|
183
|
-
}
|
|
184
|
-
|
|
219
|
+
};
|
|
220
|
+
top?: {
|
|
185
221
|
y: number;
|
|
186
222
|
x: number;
|
|
187
|
-
}
|
|
188
|
-
|
|
223
|
+
};
|
|
224
|
+
bottom?: {
|
|
189
225
|
y: number;
|
|
190
226
|
x: number;
|
|
191
|
-
}
|
|
227
|
+
};
|
|
192
228
|
"top-start"?: {
|
|
193
229
|
y: number;
|
|
194
230
|
x: number;
|
|
195
|
-
}
|
|
231
|
+
};
|
|
196
232
|
"top-end"?: {
|
|
197
233
|
y: number;
|
|
198
234
|
x: number;
|
|
199
|
-
}
|
|
235
|
+
};
|
|
200
236
|
"right-start"?: {
|
|
201
237
|
y: number;
|
|
202
238
|
x: number;
|
|
203
|
-
}
|
|
239
|
+
};
|
|
204
240
|
"right-end"?: {
|
|
205
241
|
y: number;
|
|
206
242
|
x: number;
|
|
207
|
-
}
|
|
243
|
+
};
|
|
208
244
|
"left-start"?: {
|
|
209
245
|
y: number;
|
|
210
246
|
x: number;
|
|
211
|
-
}
|
|
247
|
+
};
|
|
212
248
|
"left-end"?: {
|
|
213
249
|
y: number;
|
|
214
250
|
x: number;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
251
|
+
};
|
|
252
|
+
};
|
|
217
253
|
preventOverflow?: {
|
|
218
254
|
y: number;
|
|
219
255
|
x: number;
|
|
220
|
-
}
|
|
256
|
+
};
|
|
221
257
|
popperOffsets?: {
|
|
222
258
|
y: number;
|
|
223
259
|
x: number;
|
|
224
|
-
}
|
|
260
|
+
};
|
|
225
261
|
};
|
|
226
262
|
reset: boolean;
|
|
227
263
|
};
|
|
@@ -229,4 +265,4 @@ export declare function usePopper({ locked, overflowPadding, offsetDistance, off
|
|
|
229
265
|
forceUpdate: () => void;
|
|
230
266
|
update: () => Promise<Partial<import("@popperjs/core").State>>;
|
|
231
267
|
setOptions: (setOptionsAction: Partial<import("@popperjs/core").OptionsGeneric<any>> | ((prev: Partial<import("@popperjs/core").OptionsGeneric<any>>) => Partial<import("@popperjs/core").OptionsGeneric<any>>)) => Promise<Partial<import("@popperjs/core").State>>;
|
|
232
|
-
}
|
|
268
|
+
}>];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const _useShortcuts: () => {
|
|
2
|
-
macOS: import("vue").ComputedRef<
|
|
2
|
+
macOS: import("vue").ComputedRef<RegExpMatchArray>;
|
|
3
3
|
metaSymbol: import("vue").Ref<string>;
|
|
4
|
-
activeElement: import("vue").Ref<HTMLElement
|
|
4
|
+
activeElement: import("vue").Ref<HTMLElement>;
|
|
5
5
|
usingInput: import("vue").ComputedRef<string | boolean>;
|
|
6
6
|
};
|
|
7
7
|
export declare const useShortcuts: () => {
|
|
8
|
-
macOS: import("vue").ComputedRef<
|
|
8
|
+
macOS: import("vue").ComputedRef<RegExpMatchArray>;
|
|
9
9
|
metaSymbol: import("vue").Ref<string>;
|
|
10
|
-
activeElement: import("vue").Ref<HTMLElement
|
|
10
|
+
activeElement: import("vue").Ref<HTMLElement>;
|
|
11
11
|
usingInput: import("vue").ComputedRef<string | boolean>;
|
|
12
12
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { ShallowRef, Component, InjectionKey } from 'vue';
|
|
2
|
-
import type { ComponentProps } from '../types/component';
|
|
3
|
-
import type { Slideover, SlideoverState } from '../types/slideover';
|
|
2
|
+
import type { ComponentProps } from '../types/component.js';
|
|
3
|
+
import type { Slideover, SlideoverState } from '../types/slideover.js';
|
|
4
4
|
export declare const slidOverInjectionKey: InjectionKey<ShallowRef<SlideoverState>>;
|
|
5
5
|
declare function _useSlideover(): {
|
|
6
6
|
open: <T extends Component>(component: T, props?: Slideover & ComponentProps<T>) => void;
|
|
7
7
|
close: () => Promise<void>;
|
|
8
8
|
reset: () => void;
|
|
9
|
-
patch: <
|
|
9
|
+
patch: <T extends Component = {}>(props: Partial<Slideover & ComponentProps<T>>) => void;
|
|
10
10
|
isOpen: import("vue").Ref<boolean>;
|
|
11
11
|
};
|
|
12
12
|
export declare const useSlideover: typeof _useSlideover;
|
|
@@ -15,8 +15,7 @@ function _useSlideover() {
|
|
|
15
15
|
isOpen.value = true;
|
|
16
16
|
}
|
|
17
17
|
async function close() {
|
|
18
|
-
if (!slideoverState)
|
|
19
|
-
return;
|
|
18
|
+
if (!slideoverState) return;
|
|
20
19
|
isOpen.value = false;
|
|
21
20
|
}
|
|
22
21
|
function reset() {
|
|
@@ -26,8 +25,7 @@ function _useSlideover() {
|
|
|
26
25
|
};
|
|
27
26
|
}
|
|
28
27
|
function patch(props) {
|
|
29
|
-
if (!slideoverState)
|
|
30
|
-
return;
|
|
28
|
+
if (!slideoverState) return;
|
|
31
29
|
slideoverState.value = {
|
|
32
30
|
...slideoverState.value,
|
|
33
31
|
props: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { Notification } from '../types/notification';
|
|
1
|
+
import type { Notification } from '../types/notification.js';
|
|
2
2
|
export declare function useToast(): {
|
|
3
3
|
add: (notification: Partial<Notification>) => {
|
|
4
4
|
id: string;
|
|
5
|
-
title?: string
|
|
6
|
-
description?: string
|
|
7
|
-
icon?: string
|
|
8
|
-
avatar?: import("../types").Avatar
|
|
9
|
-
closeButton?: import("../types").Button
|
|
10
|
-
timeout?: number
|
|
11
|
-
actions?: import("../types
|
|
12
|
-
click?: Function
|
|
13
|
-
callback?: Function
|
|
14
|
-
color?:
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
avatar?: import("../types").Avatar;
|
|
9
|
+
closeButton?: import("../types").Button;
|
|
10
|
+
timeout?: number;
|
|
11
|
+
actions?: import("../types").NotificationAction[];
|
|
12
|
+
click?: Function;
|
|
13
|
+
callback?: Function;
|
|
14
|
+
color?: import("../types").NotificationColor;
|
|
15
15
|
ui?: any;
|
|
16
16
|
};
|
|
17
17
|
remove: (id: string) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
|
-
import type { Strategy } from '../types';
|
|
2
|
+
import type { Strategy } from '../types.js';
|
|
3
3
|
export declare const useUI: <T>(key: any, $ui?: Ref<(Partial<T> & {
|
|
4
4
|
strategy?: Strategy;
|
|
5
5
|
}) | undefined>, $config?: Ref<T> | T, $wrapperClass?: Ref<string>, withAppConfig?: boolean) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, toValue, useAttrs } from "vue";
|
|
2
2
|
import { useAppConfig } from "#imports";
|
|
3
|
-
import { mergeConfig, omit, get } from "../utils/index.
|
|
3
|
+
import { mergeConfig, omit, get } from "../utils/index.js";
|
|
4
4
|
export const useUI = (key, $ui, $config, $wrapperClass, withAppConfig = false) => {
|
|
5
5
|
const $attrs = useAttrs();
|
|
6
6
|
const appConfig = useAppConfig();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("#app").Plugin<Record<string, unknown>> & import("#app").ObjectPlugin<Record<string, unknown>>;
|
|
2
2
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
|
-
import { hexToRgb } from "../utils/index.
|
|
2
|
+
import { hexToRgb } from "../utils/index.js";
|
|
3
3
|
import { defineNuxtPlugin, useAppConfig, useNuxtApp, useHead } from "#imports";
|
|
4
4
|
import colors from "#tailwind-config/theme/colors";
|
|
5
5
|
export default defineNuxtPlugin(() => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("#app").Plugin<Record<string, unknown>> & import("#app").ObjectPlugin<Record<string, unknown>>;
|
|
2
2
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineNuxtPlugin } from "#imports";
|
|
2
2
|
import { shallowRef } from "vue";
|
|
3
|
-
import { modalInjectionKey } from "../composables/useModal.
|
|
3
|
+
import { modalInjectionKey } from "../composables/useModal.js";
|
|
4
4
|
export default defineNuxtPlugin((nuxtApp) => {
|
|
5
5
|
const modalState = shallowRef({
|
|
6
6
|
component: "div",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("#app").Plugin<Record<string, unknown>> & import("#app").ObjectPlugin<Record<string, unknown>>;
|
|
2
2
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineNuxtPlugin } from "#imports";
|
|
2
2
|
import { shallowRef } from "vue";
|
|
3
|
-
import { slidOverInjectionKey } from "../composables/useSlideover.
|
|
3
|
+
import { slidOverInjectionKey } from "../composables/useSlideover.js";
|
|
4
4
|
export default defineNuxtPlugin((nuxtApp) => {
|
|
5
5
|
const slideoverState = shallowRef({
|
|
6
6
|
component: "div",
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { Button } from './button'
|
|
2
|
-
|
|
1
|
+
import type { Button } from './button.js';
|
|
3
2
|
export interface AccordionItem extends Button {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
slot?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
content?: string;
|
|
6
|
+
defaultOpen?: boolean;
|
|
7
|
+
closeOthers?: boolean;
|
|
9
8
|
}
|
|
File without changes
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { alert } from '../ui.config'
|
|
2
|
-
import type { NestedKeyOf, ExtractDeepKey, ExtractDeepObject } from '.'
|
|
3
|
-
import type { Button } from './button'
|
|
4
|
-
import colors from '#ui-colors'
|
|
5
|
-
import type { AppConfig } from 'nuxt/schema'
|
|
6
|
-
|
|
7
|
-
export type
|
|
8
|
-
export type AlertVariant = keyof typeof alert.variant | ExtractDeepKey<AppConfig, ['ui', 'alert', 'variant']> | NestedKeyOf<typeof alert.color> | NestedKeyOf<ExtractDeepObject<AppConfig, ['ui', 'alert', 'color']>>
|
|
9
|
-
|
|
1
|
+
import { alert } from '../ui.config.js';
|
|
2
|
+
import type { NestedKeyOf, ExtractDeepKey, ExtractDeepObject } from '.';
|
|
3
|
+
import type { Button } from './button.js';
|
|
4
|
+
import colors from '#ui-colors';
|
|
5
|
+
import type { AppConfig } from 'nuxt/schema';
|
|
6
|
+
export type AlertColor = keyof typeof alert.color | ExtractDeepKey<AppConfig, ['ui', 'alert', 'color']> | typeof colors[number];
|
|
7
|
+
export type AlertVariant = keyof typeof alert.variant | ExtractDeepKey<AppConfig, ['ui', 'alert', 'variant']> | NestedKeyOf<typeof alert.color> | NestedKeyOf<ExtractDeepObject<AppConfig, ['ui', 'alert', 'color']>>;
|
|
10
8
|
export interface AlertAction extends Button {
|
|
11
|
-
|
|
9
|
+
click?: Function;
|
|
12
10
|
}
|
|
File without changes
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { avatar } from '../ui.config'
|
|
2
|
-
import type { ExtractDeepKey } from '.'
|
|
3
|
-
import colors from '#ui-colors'
|
|
4
|
-
import type { AppConfig } from 'nuxt/schema'
|
|
5
|
-
|
|
6
|
-
export type
|
|
7
|
-
export type
|
|
8
|
-
export type AvatarChipPosition = keyof typeof avatar.chip.position
|
|
9
|
-
|
|
1
|
+
import { avatar } from '../ui.config.js';
|
|
2
|
+
import type { ExtractDeepKey } from '.';
|
|
3
|
+
import colors from '#ui-colors';
|
|
4
|
+
import type { AppConfig } from 'nuxt/schema';
|
|
5
|
+
export type AvatarSize = keyof typeof avatar.size | ExtractDeepKey<AppConfig, ['ui', 'avatar', 'size']>;
|
|
6
|
+
export type AvatarChipColor = 'gray' | typeof colors[number];
|
|
7
|
+
export type AvatarChipPosition = keyof typeof avatar.chip.position;
|
|
10
8
|
export interface Avatar {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
src?: string | boolean;
|
|
10
|
+
alt?: string;
|
|
11
|
+
text?: string;
|
|
12
|
+
size?: AvatarSize;
|
|
13
|
+
chipColor?: AvatarChipColor;
|
|
14
|
+
chipPosition?: AvatarChipPosition;
|
|
17
15
|
}
|
|
File without changes
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { badge } from '../ui.config'
|
|
2
|
-
import type { NestedKeyOf, ExtractDeepKey, ExtractDeepObject } from '.'
|
|
3
|
-
import colors from '#ui-colors'
|
|
4
|
-
import type { AppConfig } from 'nuxt/schema'
|
|
5
|
-
|
|
6
|
-
export type
|
|
7
|
-
export type
|
|
8
|
-
export type BadgeVariant = keyof typeof badge.variant | ExtractDeepKey<AppConfig, ['ui', 'badge', 'variant']> | NestedKeyOf<typeof badge.color> | NestedKeyOf<ExtractDeepObject<AppConfig, ['ui', 'badge', 'color']>>
|
|
9
|
-
|
|
1
|
+
import { badge } from '../ui.config.js';
|
|
2
|
+
import type { NestedKeyOf, ExtractDeepKey, ExtractDeepObject } from '.';
|
|
3
|
+
import colors from '#ui-colors';
|
|
4
|
+
import type { AppConfig } from 'nuxt/schema';
|
|
5
|
+
export type BadgeSize = keyof typeof badge.size | ExtractDeepKey<AppConfig, ['ui', 'badge', 'size']>;
|
|
6
|
+
export type BadgeColor = keyof typeof badge.color | ExtractDeepKey<AppConfig, ['ui', 'badge', 'color']> | typeof colors[number];
|
|
7
|
+
export type BadgeVariant = keyof typeof badge.variant | ExtractDeepKey<AppConfig, ['ui', 'badge', 'variant']> | NestedKeyOf<typeof badge.color> | NestedKeyOf<ExtractDeepObject<AppConfig, ['ui', 'badge', 'color']>>;
|
|
10
8
|
export interface Badge {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
label?: string;
|
|
10
|
+
size?: BadgeSize;
|
|
11
|
+
color?: BadgeColor;
|
|
12
|
+
variant?: BadgeVariant;
|
|
15
13
|
}
|
|
File without changes
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import type { Link } from './link'
|
|
2
|
-
|
|
1
|
+
import type { Link } from './link.js';
|
|
3
2
|
export interface BreadcrumbLink extends Link {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
[key: string]: any
|
|
3
|
+
label: string;
|
|
4
|
+
labelClass?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
iconClass?: string;
|
|
7
|
+
[key: string]: any;
|
|
10
8
|
}
|
|
File without changes
|
|
@@ -1,31 +1,29 @@
|
|
|
1
|
-
import type { Link } from './link'
|
|
2
|
-
import { button } from '../ui.config'
|
|
3
|
-
import type { NestedKeyOf, ExtractDeepKey, ExtractDeepObject } from '.'
|
|
4
|
-
import colors from '#ui-colors'
|
|
5
|
-
import type { AppConfig } from 'nuxt/schema'
|
|
6
|
-
|
|
7
|
-
export type
|
|
8
|
-
export type
|
|
9
|
-
export type ButtonVariant = keyof typeof button.variant | ExtractDeepKey<AppConfig, ['ui', 'button', 'variant']> | NestedKeyOf<typeof button.color> | NestedKeyOf<ExtractDeepObject<AppConfig, ['ui', 'button', 'color']>>
|
|
10
|
-
|
|
1
|
+
import type { Link } from './link.js';
|
|
2
|
+
import { button } from '../ui.config.js';
|
|
3
|
+
import type { NestedKeyOf, ExtractDeepKey, ExtractDeepObject } from '.';
|
|
4
|
+
import colors from '#ui-colors';
|
|
5
|
+
import type { AppConfig } from 'nuxt/schema';
|
|
6
|
+
export type ButtonSize = keyof typeof button.size | ExtractDeepKey<AppConfig, ['ui', 'button', 'size']>;
|
|
7
|
+
export type ButtonColor = keyof typeof button.color | ExtractDeepKey<AppConfig, ['ui', 'button', 'color']> | typeof colors[number];
|
|
8
|
+
export type ButtonVariant = keyof typeof button.variant | ExtractDeepKey<AppConfig, ['ui', 'button', 'variant']> | NestedKeyOf<typeof button.color> | NestedKeyOf<ExtractDeepObject<AppConfig, ['ui', 'button', 'color']>>;
|
|
11
9
|
export interface Button extends Link {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
10
|
+
type?: string;
|
|
11
|
+
block?: boolean;
|
|
12
|
+
label?: string;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
padded?: boolean;
|
|
16
|
+
size?: ButtonSize;
|
|
17
|
+
color?: ButtonColor;
|
|
18
|
+
variant?: ButtonVariant;
|
|
19
|
+
icon?: string;
|
|
20
|
+
loadingIcon?: string;
|
|
21
|
+
leadingIcon?: string;
|
|
22
|
+
trailingIcon?: string;
|
|
23
|
+
trailing?: boolean;
|
|
24
|
+
leading?: boolean;
|
|
25
|
+
to?: string | object;
|
|
26
|
+
target?: string;
|
|
27
|
+
square?: boolean;
|
|
28
|
+
truncate?: boolean;
|
|
31
29
|
}
|
|
File without changes
|