@pantograph/vue 0.33.7 → 0.33.8
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/Accordion/Accordion.d.ts +10 -0
- package/dist/Accordion/AccordionItem.d.ts +2 -1
- package/dist/Accordion/index.d.ts +3 -3
- package/dist/ActionButton/ActionButton.d.ts +22 -2
- package/dist/ActionButton/index.d.ts +2 -2
- package/dist/Alert/Alert.d.ts +6 -0
- package/dist/Alert/index.d.ts +2 -2
- package/dist/AlertDialog/AlertDialog.d.ts +11 -8
- package/dist/AlertDialog/ConfirmDialog.d.ts +3 -4
- package/dist/AlertDialog/{_index.d.ts → index.d.ts} +2 -2
- package/dist/Avatar/Avatar.d.ts +13 -0
- package/dist/Avatar/index.d.ts +2 -2
- package/dist/AvatarGroup/AvatarGroup.d.ts +6 -0
- package/dist/AvatarGroup/index.d.ts +2 -2
- package/dist/Badge/Badge.d.ts +12 -1
- package/dist/Badge/index.d.ts +2 -2
- package/dist/Base/BaseBadge/BaseBadge.d.ts +7 -0
- package/dist/Base/BaseButton/BaseButton.d.ts +18 -8
- package/dist/Base/BaseInput/BaseInput.d.ts +8 -0
- package/dist/Blanket/Blanket.d.ts +6 -0
- package/dist/Blanket/index.d.ts +2 -2
- package/dist/Breadcrumb/Breadcrumb.d.ts +7 -0
- package/dist/Breadcrumb/index.d.ts +2 -2
- package/dist/Button/Button.d.ts +22 -3
- package/dist/Button/index.d.ts +2 -2
- package/dist/ButtonGroup/ButtonGroup.d.ts +7 -0
- package/dist/ButtonGroup/index.d.ts +2 -2
- package/dist/Card/Card.d.ts +10 -1
- package/dist/Card/index.d.ts +2 -2
- package/dist/Checkbox/Checkbox.d.ts +10 -0
- package/dist/Checkbox/index.d.ts +2 -2
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +7 -0
- package/dist/CheckboxGroup/index.d.ts +2 -2
- package/dist/Chip/Chip.d.ts +20 -4
- package/dist/Chip/index.d.ts +2 -2
- package/dist/ChipGroup/ChipGroup.d.ts +10 -2
- package/dist/ChipGroup/index.d.ts +2 -2
- package/dist/ColorPicker/ColorPicker.d.ts +8 -0
- package/dist/ColorPicker/index.d.ts +3 -3
- package/dist/ColorSwatch/ColorSwatch.d.ts +9 -0
- package/dist/ColorSwatch/index.d.ts +3 -3
- package/dist/ColorSwatch-DcCFGu7M.js +1 -0
- package/dist/ColorSwatch-DgpZI-Os.js +6 -0
- package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +12 -0
- package/dist/ColorSwatchGroup/index.d.ts +2 -2
- package/dist/ColorTrigger/ColorTrigger.d.ts +8 -0
- package/dist/ColorTrigger/index.d.ts +2 -2
- package/dist/Combobox/Combobox.d.ts +10 -13
- package/dist/Combobox/types.d.ts +5 -2
- package/dist/Comment/Comment.d.ts +12 -0
- package/dist/Comment/CommentAction.d.ts +27 -0
- package/dist/Comment/CommentActions.d.ts +36 -16
- package/dist/Comment/CommentEditor.d.ts +83 -27
- package/dist/Comment/CommentMention.d.ts +21 -27
- package/dist/Comment/CommentReaction.d.ts +19 -0
- package/dist/Comment/CommentReactionHoverCard.d.ts +6 -0
- package/dist/Comment/CommentReactionList.d.ts +18 -8
- package/dist/Comment/CommentTrigger.d.ts +8 -1
- package/dist/Comment/index.d.ts +11 -10
- package/dist/{ComponentMap-DU5x6J_u.js → ComponentMap-DfPhrYC-.js} +2 -0
- package/dist/ComponentMap-yKJEBaGH.js +1 -0
- package/dist/ComponentMap.d.ts +1 -1
- package/dist/ConfigProvider/ConfigProvider.d.ts +1 -0
- package/dist/ConfigProvider/index.d.ts +2 -2
- package/dist/DataTable/DataTable.d.ts +13 -0
- package/dist/DataTable/components/DataTableHeaderCell.d.ts +10 -2
- package/dist/DataTable/index.d.ts +2 -2
- package/dist/Dialog/Dialog.d.ts +18 -10
- package/dist/Dialog/index.d.ts +2 -2
- package/dist/Divider/Divider.d.ts +6 -0
- package/dist/Divider/index.d.ts +2 -2
- package/dist/Drawer/Drawer.d.ts +16 -16
- package/dist/Drawer/index.d.ts +2 -2
- package/dist/DropZone/DropZone.d.ts +10 -0
- package/dist/DropZone/index.d.ts +2 -2
- package/dist/Empty/Empty.d.ts +7 -0
- package/dist/Empty/index.d.ts +2 -2
- package/dist/FloatButton/FloatButton.d.ts +20 -2
- package/dist/FloatButton/index.d.ts +2 -2
- package/dist/Form/Form.d.ts +6 -0
- package/dist/Form/FormItem.d.ts +9 -1
- package/dist/Form/index.d.ts +4 -4
- package/dist/FormValidation/FormValidation.d.ts +10 -4
- package/dist/FormValidation/index.d.ts +2 -2
- package/dist/GOPicker/GOPicker.d.ts +31 -1
- package/dist/GraphicalObject/GraphicalObject.d.ts +10 -2
- package/dist/GraphicalObject/index.d.ts +3 -3
- package/dist/GraphicalObjectGroup/GraphicalObjectGroup.d.ts +6 -0
- package/dist/GraphicalObjectGroup/index.d.ts +2 -2
- package/dist/HoverCard/HoverCard.d.ts +15 -1
- package/dist/HoverCard/index.d.ts +2 -2
- package/dist/Icon/Icon.d.ts +9 -2
- package/dist/Icon/index.d.ts +2 -2
- package/dist/IconButton/IconButton.d.ts +24 -4
- package/dist/IconButton/index.d.ts +2 -2
- package/dist/Image/Image.d.ts +14 -0
- package/dist/Image/index.d.ts +2 -2
- package/dist/IndentLevel/IndentLevel.d.ts +8 -0
- package/dist/IndentLevel/index.d.ts +2 -2
- package/dist/Indicator/Indicator.d.ts +16 -1
- package/dist/Indicator/index.d.ts +2 -2
- package/dist/Input/Input.d.ts +9 -1
- package/dist/Input/index.d.ts +2 -2
- package/dist/InputNumber/InputNumber.d.ts +11 -1
- package/dist/InputNumber/index.d.ts +2 -2
- package/dist/Kbd/Kbd.d.ts +10 -0
- package/dist/Kbd/index.d.ts +2 -2
- package/dist/Label/Label.d.ts +6 -0
- package/dist/Label/index.d.ts +2 -2
- package/dist/Link/Link.d.ts +13 -0
- package/dist/Link/index.d.ts +3 -3
- package/dist/Menu/Menu.d.ts +9 -0
- package/dist/Menu/index.d.ts +2 -2
- package/dist/MenuItem/MenuItem.d.ts +13 -0
- package/dist/MenuItem/index.d.ts +2 -2
- package/dist/Modal/Modal.d.ts +16 -16
- package/dist/Modal/index.d.ts +2 -2
- package/dist/PageIndicator/PageIndicator.d.ts +39 -0
- package/dist/PageIndicator/{_index.d.ts → index.d.ts} +2 -2
- package/dist/Pagination/Pagination.d.ts +11 -0
- package/dist/Pagination/index.d.ts +2 -2
- package/dist/Popover/Popover.d.ts +14 -0
- package/dist/Popover/index.d.ts +2 -2
- package/dist/Progress/Progress.d.ts +10 -0
- package/dist/Progress/index.d.ts +2 -2
- package/dist/RadioGroup/RadioGroup.d.ts +8 -0
- package/dist/RadioGroup/index.d.ts +2 -2
- package/dist/ScrollContainer/ScrollContainer.d.ts +11 -1
- package/dist/ScrollContainer/index.d.ts +2 -2
- package/dist/Segmented/Segmented.d.ts +8 -1
- package/dist/Segmented/index.d.ts +2 -2
- package/dist/Select/Select.d.ts +28 -0
- package/dist/Select/index.d.ts +2 -2
- package/dist/Shortcut/Shortcut.d.ts +6 -0
- package/dist/Shortcut/index.d.ts +2 -2
- package/dist/Skeleton/Skeleton.d.ts +9 -1
- package/dist/Skeleton/index.d.ts +2 -2
- package/dist/Spinner/Spinner.d.ts +7 -0
- package/dist/Spinner/index.d.ts +2 -2
- package/dist/Stepper/Stepper.d.ts +90 -0
- package/dist/Stepper/Stepper.model.d.ts +8 -0
- package/dist/Stepper/_index.d.ts +9 -0
- package/dist/Steps/Steps.d.ts +8 -0
- package/dist/Steps/index.d.ts +2 -2
- package/dist/SubMenu/SubMenu.d.ts +17 -0
- package/dist/SubMenu/index.d.ts +2 -2
- package/dist/Switch/Switch.d.ts +10 -0
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Table/Table.d.ts +6 -0
- package/dist/Table/index.d.ts +2 -2
- package/dist/Tabs/TabList.d.ts +422 -0
- package/dist/Tabs/Tabs.d.ts +9 -1
- package/dist/Tabs/index.d.ts +2 -2
- package/dist/Textarea/Textarea.d.ts +9 -2
- package/dist/Textarea/index.d.ts +2 -2
- package/dist/Toast/Toast.d.ts +36 -4
- package/dist/Toast/index.d.ts +2 -2
- package/dist/Tooltip/Tooltip.d.ts +17 -11
- package/dist/Tooltip/index.d.ts +3 -4
- package/dist/Tree/Tree.d.ts +10 -1
- package/dist/Tree/index.d.ts +2 -2
- package/dist/Upload/Upload.d.ts +12 -0
- package/dist/Upload/index.d.ts +2 -2
- package/dist/{index-Co9RCwO0.js → index-71WmyryJ.js} +11798 -10596
- package/dist/index-B4Eac2HI.js +12 -0
- package/dist/{index-Bi4G1sgP.js → index-Bjm2Tj0d.js} +1 -1
- package/dist/{index-CWr03wHq.js → index-CpbHyegg.js} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +373 -284
- package/dist/index.umd.cjs +1 -1
- package/dist/nuxt/index.js +1 -1
- package/dist/nuxt/index.umd.cjs +1 -1
- package/dist/resolver/index.js +1 -1
- package/dist/resolver/index.umd.cjs +1 -1
- package/dist/use/index.js +1 -1
- package/dist/use/index.umd.cjs +1 -1
- package/package.json +3 -3
- package/dist/ColorSwatch-BJzMbIBk.js +0 -1
- package/dist/ColorSwatch-BqeX1Fkj.js +0 -4
- package/dist/ComponentMap-2ebiAJPB.js +0 -1
- package/dist/Tooltip/register.d.ts +0 -6
- package/dist/index-IbcX8-iw.js +0 -12
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { AccordionRootEmits, AccordionRootProps } from 'reka-ui';
|
|
2
2
|
import { AccordionSize, AccordionExpandIconPosition } from './Accordion.model';
|
|
3
3
|
import { ClassValue } from 'clsx';
|
|
4
|
+
/**
|
|
5
|
+
* Default props for the Accordion component
|
|
6
|
+
*/
|
|
7
|
+
export declare const ACCORDION_DEFAULT_PROPS: {
|
|
8
|
+
readonly size: "md";
|
|
9
|
+
readonly collapsible: "header";
|
|
10
|
+
readonly bordered: true;
|
|
11
|
+
readonly accordion: true;
|
|
12
|
+
readonly expandIconPosition: "end";
|
|
13
|
+
};
|
|
4
14
|
/**
|
|
5
15
|
* Props for the Accordion component
|
|
6
16
|
* Provides collapsible content sections with smooth animations
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AccordionItemProps as RekaAccordionItemProps } from 'reka-ui';
|
|
2
1
|
import { AccordionSlots } from './Accordion';
|
|
3
2
|
import { IconSize } from '../Icon';
|
|
4
3
|
import { BadgeProps } from '../Badge';
|
|
5
4
|
import { ClassValue } from 'clsx';
|
|
5
|
+
import { AccordionItemProps as RekaAccordionItemProps } from 'reka-ui';
|
|
6
6
|
/**
|
|
7
7
|
* Props for the AccordionItem component
|
|
8
8
|
* Individual accordion item with smooth expand/collapse animations
|
|
@@ -79,6 +79,7 @@ export interface AccordionItemSlots {
|
|
|
79
79
|
/** Custom badge text content */
|
|
80
80
|
badgeText?: (params: SlotProps) => never;
|
|
81
81
|
}
|
|
82
|
+
export declare const ACCORDION_ITEM_DEFAULT_PROPS: {};
|
|
82
83
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AccordionItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AccordionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<AccordionItemSlots> & AccordionItemSlots>;
|
|
83
84
|
export default _default;
|
|
84
85
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as Accordion, AccordionProps, AccordionSlots, provideAccordionContext, injectAccordionContext, AccordionEmits, accordionPrefix } from './Accordion';
|
|
2
|
-
import { default as AccordionItem, AccordionItemSlots, AccordionItemProps } from './AccordionItem';
|
|
1
|
+
import { default as Accordion, AccordionProps, AccordionSlots, provideAccordionContext, injectAccordionContext, AccordionEmits, accordionPrefix, ACCORDION_DEFAULT_PROPS } from './Accordion';
|
|
2
|
+
import { default as AccordionItem, AccordionItemSlots, AccordionItemProps, ACCORDION_ITEM_DEFAULT_PROPS } from './AccordionItem';
|
|
3
3
|
import { DefineComponent } from '../types';
|
|
4
|
-
export { Accordion, type AccordionProps, type AccordionSlots, provideAccordionContext, injectAccordionContext, type AccordionEmits, accordionPrefix, AccordionItem, type AccordionItemSlots, type AccordionItemProps, };
|
|
4
|
+
export { Accordion, type AccordionProps, type AccordionSlots, provideAccordionContext, injectAccordionContext, type AccordionEmits, accordionPrefix, ACCORDION_DEFAULT_PROPS, AccordionItem, ACCORDION_ITEM_DEFAULT_PROPS, type AccordionItemSlots, type AccordionItemProps, };
|
|
5
5
|
declare module 'vue' {
|
|
6
6
|
interface GlobalComponents {
|
|
7
7
|
Accordion: DefineComponent<AccordionProps, AccordionSlots, AccordionEmits>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseButtonProps, BaseButtonSlots } from '../Base/BaseButton/BaseButton';
|
|
2
2
|
import { ButtonType, ButtonVariant } from '../Base/BaseButton/BaseButton.model';
|
|
3
3
|
/**
|
|
4
4
|
* Props for the ActionButton component
|
|
@@ -13,8 +13,24 @@ export type ActionButtonProps = Partial<Omit<BaseButtonProps, 'color' | 'type' |
|
|
|
13
13
|
*/
|
|
14
14
|
variant?: Exclude<ButtonVariant, 'float'>;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* Slots for the ActionButton component
|
|
18
|
+
*/
|
|
16
19
|
export type ActionButtonSlots = BaseButtonSlots;
|
|
20
|
+
/**
|
|
21
|
+
* Default props for the ActionButton component
|
|
22
|
+
* Excludes 'color' and 'type' as they are omitted from ActionButtonProps
|
|
23
|
+
*/
|
|
24
|
+
export declare const ACTION_BUTTON_DEFAULT_PROPS: {
|
|
25
|
+
readonly type: "outline";
|
|
26
|
+
readonly htmlType: "button";
|
|
27
|
+
readonly disabled: undefined;
|
|
28
|
+
};
|
|
17
29
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ActionButtonProps, {
|
|
30
|
+
/**
|
|
31
|
+
* check is Focused the button element
|
|
32
|
+
*/
|
|
33
|
+
isFocused(): void;
|
|
18
34
|
/**
|
|
19
35
|
* Focus the button element
|
|
20
36
|
*/
|
|
@@ -24,6 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ac
|
|
|
24
40
|
*/
|
|
25
41
|
blur(): void;
|
|
26
42
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ActionButtonProps> & Readonly<{}>, {
|
|
43
|
+
type: "outline" | "ghost";
|
|
44
|
+
htmlType: "button" | "reset" | "submit";
|
|
27
45
|
disabled: boolean;
|
|
28
46
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
47
|
buttonRef: ({
|
|
@@ -115,6 +133,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ac
|
|
|
115
133
|
$options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{
|
|
116
134
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
117
135
|
}>, {
|
|
136
|
+
isFocused(): boolean;
|
|
118
137
|
focus(): void;
|
|
119
138
|
blur(): void;
|
|
120
139
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -151,7 +170,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ac
|
|
|
151
170
|
disabled: boolean;
|
|
152
171
|
}> & Omit<Readonly<BaseButtonProps> & Readonly<{
|
|
153
172
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
154
|
-
}>, "blur" | "focus" | ("type" | "color" | "htmlType" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
173
|
+
}>, "blur" | "focus" | ("type" | "color" | "htmlType" | "disabled") | "isFocused"> & import('vue').ShallowUnwrapRef<{
|
|
174
|
+
isFocused(): boolean;
|
|
155
175
|
focus(): void;
|
|
156
176
|
blur(): void;
|
|
157
177
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as ActionButton, ActionButtonProps, ActionButtonSlots } from './ActionButton';
|
|
1
|
+
import { default as ActionButton, ActionButtonProps, ActionButtonSlots, ACTION_BUTTON_DEFAULT_PROPS } from './ActionButton';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { ActionButton, type ActionButtonProps, type ActionButtonSlots };
|
|
3
|
+
export { ActionButton, type ActionButtonProps, type ActionButtonSlots, ACTION_BUTTON_DEFAULT_PROPS, };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
ActionButton: DefineComponent<ActionButtonProps, ActionButtonSlots>;
|
package/dist/Alert/Alert.d.ts
CHANGED
|
@@ -111,6 +111,12 @@ export interface AlertSlots {
|
|
|
111
111
|
*/
|
|
112
112
|
link: () => never;
|
|
113
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* Default props for the Alert component
|
|
116
|
+
*/
|
|
117
|
+
export declare const ALERT_DEFAULT_PROPS: {
|
|
118
|
+
readonly type: "hint";
|
|
119
|
+
};
|
|
114
120
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
115
121
|
close: (data: Event) => any;
|
|
116
122
|
}, string, import('vue').PublicProps, Readonly<AlertProps> & Readonly<{
|
package/dist/Alert/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as Alert, AlertProps, AlertEmits, AlertSlots } from './Alert';
|
|
1
|
+
import { default as Alert, AlertProps, AlertEmits, AlertSlots, ALERT_DEFAULT_PROPS } from './Alert';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { Alert, type AlertProps, type AlertEmits, type AlertSlots };
|
|
3
|
+
export { Alert, type AlertProps, type AlertEmits, type AlertSlots, ALERT_DEFAULT_PROPS, };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
Alert: DefineComponent<AlertProps, AlertSlots, AlertEmits>;
|
|
@@ -2,16 +2,22 @@ import { IconSize } from '../Icon';
|
|
|
2
2
|
import { AlertDialogType } from './AlertDialog.model';
|
|
3
3
|
import { GraphicalObjectProps } from '../GraphicalObject';
|
|
4
4
|
import { DialogSlots, DialogProps, DialogEmits } from '../Dialog';
|
|
5
|
-
export declare const
|
|
6
|
-
readonly text: "Cancel";
|
|
5
|
+
export declare const ALERT_DIALOG_CANCEL_DEFAULT_PROPS: {
|
|
7
6
|
readonly type: "outline";
|
|
8
7
|
readonly color: "neutral";
|
|
8
|
+
readonly text: "Cancel";
|
|
9
|
+
};
|
|
10
|
+
export declare const ALERT_DIALOG_OK_DEFAULT_PROPS: {
|
|
11
|
+
readonly text: "Submit";
|
|
9
12
|
};
|
|
10
13
|
export declare const ALERT_DIALOG_DEFAULT_PROPS: {
|
|
11
14
|
readonly cancelProps: () => {
|
|
12
|
-
readonly text: "Cancel";
|
|
13
15
|
readonly type: "outline";
|
|
14
16
|
readonly color: "neutral";
|
|
17
|
+
readonly text: "Cancel";
|
|
18
|
+
};
|
|
19
|
+
readonly okProps: () => {
|
|
20
|
+
readonly text: "Submit";
|
|
15
21
|
};
|
|
16
22
|
readonly width: "sm";
|
|
17
23
|
readonly type: "danger";
|
|
@@ -23,9 +29,6 @@ export declare const ALERT_DIALOG_DEFAULT_PROPS: {
|
|
|
23
29
|
readonly zIndex: 1000;
|
|
24
30
|
readonly renderPopupsInContent: true;
|
|
25
31
|
readonly screen: true;
|
|
26
|
-
readonly okProps: () => {
|
|
27
|
-
readonly text: "Submit";
|
|
28
|
-
};
|
|
29
32
|
readonly closeOnClickOutside: false;
|
|
30
33
|
readonly animated: true;
|
|
31
34
|
};
|
|
@@ -194,7 +197,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Al
|
|
|
194
197
|
zIndex: number;
|
|
195
198
|
renderPopupsInContent: boolean;
|
|
196
199
|
screen: boolean;
|
|
200
|
+
trapFocus: boolean;
|
|
197
201
|
keyboard: boolean;
|
|
202
|
+
closeOnClickOutside: boolean;
|
|
198
203
|
okProps: Partial<Omit<import('..').BaseButtonProps, "flipOnDir" | "icon" | "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir">> & {
|
|
199
204
|
text: string;
|
|
200
205
|
hide?: boolean | undefined;
|
|
@@ -203,8 +208,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Al
|
|
|
203
208
|
text: string;
|
|
204
209
|
hide?: boolean | undefined;
|
|
205
210
|
};
|
|
206
|
-
trapFocus: boolean;
|
|
207
|
-
closeOnClickOutside: boolean;
|
|
208
211
|
animated: string | boolean;
|
|
209
212
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<Omit<DialogSlots, "footer" | "trigger" | "beforeFooterActions"> & {
|
|
210
213
|
/**
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AlertDialogProps, AlertDialogSlots } from './AlertDialog';
|
|
2
2
|
import { ConfigProviderProps } from '../ConfigProvider';
|
|
3
|
-
export interface ConfirmDialogProps extends Omit<AlertDialogProps, 'title' | 'description' | '
|
|
4
|
-
to: AlertDialogProps['to'];
|
|
3
|
+
export interface ConfirmDialogProps extends Omit<AlertDialogProps, 'title' | 'description' | 'screen'>, Omit<AlertDialogSlots, 'title' | 'description'> {
|
|
5
4
|
config?: ConfigProviderProps;
|
|
6
5
|
title: AlertDialogProps['title'] | AlertDialogSlots['title'];
|
|
7
6
|
description: AlertDialogProps['description'] | AlertDialogSlots['description'];
|
|
@@ -14,7 +13,9 @@ declare const _default: import('vue').DefineComponent<ConfirmDialogProps, {}, {}
|
|
|
14
13
|
openAutoFocus: boolean;
|
|
15
14
|
zIndex: number;
|
|
16
15
|
renderPopupsInContent: boolean;
|
|
16
|
+
trapFocus: boolean;
|
|
17
17
|
keyboard: boolean;
|
|
18
|
+
closeOnClickOutside: boolean;
|
|
18
19
|
okProps: Partial<Omit<import('..').BaseButtonProps, "flipOnDir" | "icon" | "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir">> & {
|
|
19
20
|
text: string;
|
|
20
21
|
hide?: boolean | undefined;
|
|
@@ -23,8 +24,6 @@ declare const _default: import('vue').DefineComponent<ConfirmDialogProps, {}, {}
|
|
|
23
24
|
text: string;
|
|
24
25
|
hide?: boolean | undefined;
|
|
25
26
|
};
|
|
26
|
-
trapFocus: boolean;
|
|
27
|
-
closeOnClickOutside: boolean;
|
|
28
27
|
animated: string | boolean;
|
|
29
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
29
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as AlertDialog, AlertDialogProps, AlertDialogEmits, AlertDialogSlots, ALERT_DIALOG_DEFAULT_PROPS,
|
|
1
|
+
import { default as AlertDialog, AlertDialogProps, AlertDialogEmits, AlertDialogSlots, ALERT_DIALOG_DEFAULT_PROPS, ALERT_DIALOG_OK_DEFAULT_PROPS, ALERT_DIALOG_CANCEL_DEFAULT_PROPS } from './AlertDialog';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { AlertDialog, ALERT_DIALOG_DEFAULT_PROPS,
|
|
3
|
+
export { AlertDialog, ALERT_DIALOG_DEFAULT_PROPS, ALERT_DIALOG_OK_DEFAULT_PROPS, ALERT_DIALOG_CANCEL_DEFAULT_PROPS, type AlertDialogProps, type AlertDialogEmits, type AlertDialogSlots, };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
AlertDialog: DefineComponent<AlertDialogProps, AlertDialogSlots, AlertDialogEmits>;
|
package/dist/Avatar/Avatar.d.ts
CHANGED
|
@@ -78,7 +78,20 @@ export interface AvatarSlots {
|
|
|
78
78
|
*/
|
|
79
79
|
fallback?: () => never;
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Events emitted by the Avatar component
|
|
83
|
+
*/
|
|
81
84
|
export type AvatarEmits = AvatarImageEmits;
|
|
85
|
+
/**
|
|
86
|
+
* Default props for the Avatar component
|
|
87
|
+
*/
|
|
88
|
+
export declare const AVATAR_DEFAULT_PROPS: {
|
|
89
|
+
readonly src: "";
|
|
90
|
+
readonly onlineColor: "lime";
|
|
91
|
+
readonly onlineAlignment: "start";
|
|
92
|
+
readonly icon: "tabler:user";
|
|
93
|
+
readonly unExtendParent: false;
|
|
94
|
+
};
|
|
82
95
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
83
96
|
loadingStatusChange: (value: "error" | "loading" | "idle" | "loaded") => any;
|
|
84
97
|
}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{
|
package/dist/Avatar/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as Avatar, AvatarProps, AvatarSlots, AvatarEmits } from './Avatar';
|
|
1
|
+
import { default as Avatar, AvatarProps, AvatarSlots, AvatarEmits, AVATAR_DEFAULT_PROPS } from './Avatar';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { Avatar, type AvatarProps, type AvatarSlots, type AvatarEmits };
|
|
3
|
+
export { Avatar, type AvatarProps, type AvatarSlots, type AvatarEmits, AVATAR_DEFAULT_PROPS };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
Avatar: DefineComponent<AvatarProps, AvatarSlots, AvatarEmits>;
|
|
@@ -61,6 +61,12 @@ interface Context {
|
|
|
61
61
|
* Provides and injects the avatar group context
|
|
62
62
|
*/
|
|
63
63
|
export declare const injectAvatarGroupContext: <T extends Context | null | undefined = Context>(fallback?: T | undefined) => T extends null ? Context | null : Context, provideAvatarGroupContext: (contextValue: Context) => Context;
|
|
64
|
+
/**
|
|
65
|
+
* Default props for the AvatarGroup component
|
|
66
|
+
*/
|
|
67
|
+
export declare const AVATAR_GROUP_DEFAULT_PROPS: {
|
|
68
|
+
readonly stroke: "white";
|
|
69
|
+
};
|
|
64
70
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<AvatarGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarGroupProps> & Readonly<{}>, {
|
|
65
71
|
stroke: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "gray-subtle" | "white";
|
|
66
72
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<AvatarGroupSlots> & AvatarGroupSlots>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as AvatarGroup, AvatarGroupProps, injectAvatarGroupContext, provideAvatarGroupContext, AvatarGroupSlots } from './AvatarGroup';
|
|
1
|
+
import { default as AvatarGroup, AvatarGroupProps, injectAvatarGroupContext, provideAvatarGroupContext, AvatarGroupSlots, AVATAR_GROUP_DEFAULT_PROPS } from './AvatarGroup';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { AvatarGroup, type AvatarGroupProps, type AvatarGroupSlots, injectAvatarGroupContext, provideAvatarGroupContext, };
|
|
3
|
+
export { AvatarGroup, type AvatarGroupProps, type AvatarGroupSlots, injectAvatarGroupContext, provideAvatarGroupContext, AVATAR_GROUP_DEFAULT_PROPS, };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
AvatarGroup: DefineComponent<AvatarGroupProps, AvatarGroupSlots>;
|
package/dist/Badge/Badge.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseBadgeProps, BaseBadgeSlots } from '../Base/BaseBadge/BaseBadge';
|
|
2
2
|
import { BadgeColor, BadgeColorSubtle } from '../Base/BaseBadge/BaseBadge.model';
|
|
3
3
|
/**
|
|
4
4
|
* Props for the Badge component
|
|
@@ -14,8 +14,19 @@ export type BadgeProps = Partial<Pick<BaseBadgeProps, 'class' | 'text' | 'icon'
|
|
|
14
14
|
*/
|
|
15
15
|
color?: BadgeColor | BadgeColorSubtle;
|
|
16
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* Slots for the Badge component
|
|
19
|
+
*/
|
|
17
20
|
export type BadgeSlots = BaseBadgeSlots;
|
|
21
|
+
/**
|
|
22
|
+
* Default props for the Badge component
|
|
23
|
+
*/
|
|
24
|
+
export declare const BADGE_DEFAULT_PROPS: {
|
|
25
|
+
readonly color: "primary";
|
|
26
|
+
readonly size: "md";
|
|
27
|
+
};
|
|
18
28
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
29
|
+
size: "2xsm" | "xsm" | "md";
|
|
19
30
|
color: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "primary-subtle" | "red-subtle" | "orange-subtle" | "amber-subtle" | "yellow-subtle" | "lime-subtle" | "green-subtle" | "teal-subtle" | "cyan-subtle" | "sky-subtle" | "blue-subtle" | "ocean-subtle" | "violet-subtle" | "amethyst-subtle" | "fuchsia-subtle" | "pink-subtle" | "gray-subtle" | "mallard-subtle";
|
|
20
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<BaseBadgeSlots> & BaseBadgeSlots>;
|
|
21
32
|
export default _default;
|
package/dist/Badge/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as Badge, BadgeProps, BadgeSlots } from './Badge';
|
|
1
|
+
import { default as Badge, BadgeProps, BadgeSlots, BADGE_DEFAULT_PROPS } from './Badge';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { Badge, type BadgeProps, type BadgeSlots };
|
|
3
|
+
export { Badge, type BadgeProps, type BadgeSlots, BADGE_DEFAULT_PROPS };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
Badge: DefineComponent<BadgeProps, BadgeSlots>;
|
|
@@ -68,6 +68,13 @@ export interface BaseBadgeSlots {
|
|
|
68
68
|
* function icon size based on the badge size
|
|
69
69
|
*/
|
|
70
70
|
export declare const getBadgeIconSize: (size: BadgeSize) => "2xsm" | "xsm" | "sm" | "3xsm";
|
|
71
|
+
/**
|
|
72
|
+
* Default props for the BaseBadge component
|
|
73
|
+
*/
|
|
74
|
+
export declare const BASE_BADGE_DEFAULT_PROPS: {
|
|
75
|
+
readonly size: "md";
|
|
76
|
+
readonly type: "pill";
|
|
77
|
+
};
|
|
71
78
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseBadgeProps> & Readonly<{}>, {
|
|
72
79
|
type: "rect" | "pill" | "minify";
|
|
73
80
|
size: "2xsm" | "xsm" | "sm" | "md" | "tiny" | "tinier";
|
|
@@ -4,6 +4,15 @@ import { ClassValue } from 'clsx';
|
|
|
4
4
|
import { ButtonColor, ButtonSize, ButtonType, ButtonVariant } from './BaseButton.model';
|
|
5
5
|
import { FlipOnDir } from '../../ConfigProvider';
|
|
6
6
|
import { BadgeSize } from '../BaseBadge/BaseBadge.model';
|
|
7
|
+
/**
|
|
8
|
+
* Default props for the BaseButton component
|
|
9
|
+
*/
|
|
10
|
+
export declare const BASE_BUTTON_DEFAULT_PROPS: {
|
|
11
|
+
readonly color: "primary";
|
|
12
|
+
readonly type: "fill";
|
|
13
|
+
readonly htmlType: "button";
|
|
14
|
+
readonly disabled: undefined;
|
|
15
|
+
};
|
|
7
16
|
/**
|
|
8
17
|
* Props for the BaseButton component
|
|
9
18
|
*/
|
|
@@ -186,6 +195,7 @@ export declare const buttonVariantsClass: (props?: ({
|
|
|
186
195
|
noRing?: string | null | undefined;
|
|
187
196
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
188
197
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseButtonProps, {
|
|
198
|
+
isFocused(): boolean;
|
|
189
199
|
focus(): void;
|
|
190
200
|
blur(): void;
|
|
191
201
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -201,14 +211,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
|
|
|
201
211
|
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
202
212
|
asChild: {
|
|
203
213
|
type: BooleanConstructor;
|
|
204
|
-
default: boolean;
|
|
205
|
-
* Icon to display after the text
|
|
206
|
-
*/
|
|
214
|
+
default: boolean;
|
|
207
215
|
};
|
|
208
216
|
as: {
|
|
209
217
|
type: import('vue').PropType<import('vue').Component | import('reka-ui').AsTag>;
|
|
210
218
|
default: string;
|
|
211
|
-
};
|
|
219
|
+
}; /**
|
|
220
|
+
* Whether the button is in an active state
|
|
221
|
+
*/
|
|
212
222
|
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
213
223
|
[key: string]: any;
|
|
214
224
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
@@ -224,14 +234,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ba
|
|
|
224
234
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
225
235
|
asChild: {
|
|
226
236
|
type: BooleanConstructor;
|
|
227
|
-
default: boolean;
|
|
228
|
-
* Icon to display after the text
|
|
229
|
-
*/
|
|
237
|
+
default: boolean;
|
|
230
238
|
};
|
|
231
239
|
as: {
|
|
232
240
|
type: import('vue').PropType<import('vue').Component | import('reka-ui').AsTag>;
|
|
233
241
|
default: string;
|
|
234
|
-
};
|
|
242
|
+
}; /**
|
|
243
|
+
* Whether the button is in an active state
|
|
244
|
+
*/
|
|
235
245
|
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
236
246
|
[key: string]: any;
|
|
237
247
|
}>, {}, {}, {}, {
|
|
@@ -145,6 +145,14 @@ export declare const useInputExposes: (inputRef: Ref<HTMLInputElement | undefine
|
|
|
145
145
|
select: () => void | undefined;
|
|
146
146
|
setSelectionRange: (start: number, end: number, direction?: 'forward' | 'backward' | 'none') => void | undefined;
|
|
147
147
|
};
|
|
148
|
+
/**
|
|
149
|
+
* Default props for the BaseInput component
|
|
150
|
+
*/
|
|
151
|
+
export declare const BASE_INPUT_DEFAULT_PROPS: {
|
|
152
|
+
readonly disabled: undefined;
|
|
153
|
+
readonly bordered: true;
|
|
154
|
+
readonly clearIcon: "tabler:circle-x";
|
|
155
|
+
};
|
|
148
156
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BaseInputProps, {
|
|
149
157
|
adjustWidth: () => void;
|
|
150
158
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -17,6 +17,12 @@ export interface BlanketProps {
|
|
|
17
17
|
*/
|
|
18
18
|
class?: ClassValue;
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Default props for the Blanket component
|
|
22
|
+
*/
|
|
23
|
+
export declare const BLANKET_DEFAULT_PROPS: {
|
|
24
|
+
readonly screen: true;
|
|
25
|
+
};
|
|
20
26
|
declare const _default: import('vue').DefineComponent<BlanketProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BlanketProps> & Readonly<{}>, {
|
|
21
27
|
screen: boolean;
|
|
22
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
package/dist/Blanket/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as Blanket, BlanketProps } from './Blanket';
|
|
1
|
+
import { default as Blanket, BlanketProps, BLANKET_DEFAULT_PROPS } from './Blanket';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { Blanket, type BlanketProps };
|
|
3
|
+
export { Blanket, type BlanketProps, BLANKET_DEFAULT_PROPS };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
Blanket: DefineComponent<BlanketProps>;
|
|
@@ -134,6 +134,13 @@ interface Context {
|
|
|
134
134
|
* Provides and injects the breadcrumb context
|
|
135
135
|
*/
|
|
136
136
|
export declare const injectBreadcrumbContext: <T extends Context | null | undefined = Context>(fallback?: T | undefined) => T extends null ? Context | null : Context, provideBreadcrumbContext: (contextValue: Context) => Context;
|
|
137
|
+
/**
|
|
138
|
+
* Default props for the Breadcrumb component
|
|
139
|
+
*/
|
|
140
|
+
export declare const BREADCRUMB_DEFAULT_PROPS: {
|
|
141
|
+
readonly size: "md";
|
|
142
|
+
readonly truncateIndex: 0;
|
|
143
|
+
};
|
|
137
144
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
138
145
|
click: (item: BreadcrumbItemType, event: PointerEvent) => any;
|
|
139
146
|
}, string, import('vue').PublicProps, Readonly<BreadcrumbProps> & Readonly<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as Breadcrumb, BreadcrumbProps, BreadcrumbEmits, BreadcrumbSlots, breadcrumbPrefix, injectBreadcrumbContext, provideBreadcrumbContext } from './Breadcrumb';
|
|
1
|
+
import { default as Breadcrumb, BreadcrumbProps, BreadcrumbEmits, BreadcrumbSlots, breadcrumbPrefix, injectBreadcrumbContext, provideBreadcrumbContext, BREADCRUMB_DEFAULT_PROPS } from './Breadcrumb';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { Breadcrumb, type BreadcrumbProps, type BreadcrumbEmits, type BreadcrumbSlots, breadcrumbPrefix, injectBreadcrumbContext, provideBreadcrumbContext, };
|
|
3
|
+
export { Breadcrumb, type BreadcrumbProps, type BreadcrumbEmits, type BreadcrumbSlots, breadcrumbPrefix, injectBreadcrumbContext, provideBreadcrumbContext, BREADCRUMB_DEFAULT_PROPS, };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
Breadcrumb: DefineComponent<BreadcrumbProps, BreadcrumbSlots, BreadcrumbEmits>;
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseButtonProps, BaseButtonSlots } from '../Base/BaseButton/BaseButton';
|
|
2
2
|
/**
|
|
3
3
|
* Props for the Button component, excluding variant-related and badge-related properties
|
|
4
4
|
*/
|
|
5
5
|
export type ButtonProps = Partial<Omit<BaseButtonProps, 'variant' | 'action' | 'active' | 'badgeText' | 'badgeIcon' | 'icon' | 'flipOnDir' | 'badgeIconFlipOnDir'>>;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Slots for the Button component, excluding icon and badge-related slots
|
|
8
8
|
*/
|
|
9
9
|
export type ButtonSlots = Omit<BaseButtonSlots, 'icon' | 'badge' | 'badgeText' | 'badgeIcon'>;
|
|
10
|
+
/**
|
|
11
|
+
* Default props for the Button component
|
|
12
|
+
* Uses BASE_BUTTON_DEFAULT_PROPS since none of the omitted props are in the defaults
|
|
13
|
+
*/
|
|
14
|
+
export declare const BUTTON_DEFAULT_PROPS: {
|
|
15
|
+
readonly color: "primary";
|
|
16
|
+
readonly type: "fill";
|
|
17
|
+
readonly htmlType: "button";
|
|
18
|
+
readonly disabled: undefined;
|
|
19
|
+
};
|
|
10
20
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Partial<Omit<BaseButtonProps, "flipOnDir" | "icon" | "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir">>, {
|
|
21
|
+
/**
|
|
22
|
+
* check is Focused the button element
|
|
23
|
+
*/
|
|
24
|
+
isFocused(): void;
|
|
11
25
|
/**
|
|
12
26
|
* Focus the button element
|
|
13
27
|
*/
|
|
@@ -17,6 +31,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pa
|
|
|
17
31
|
*/
|
|
18
32
|
blur(): void;
|
|
19
33
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Partial<Omit<BaseButtonProps, "flipOnDir" | "icon" | "variant" | "action" | "active" | "badgeText" | "badgeIcon" | "badgeIconFlipOnDir">>> & Readonly<{}>, {
|
|
34
|
+
type: "fill" | "outline" | "ghost";
|
|
35
|
+
color: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "primary" | "gray" | "neutral" | "danger" | "success" | "warning";
|
|
36
|
+
htmlType: "button" | "reset" | "submit";
|
|
20
37
|
disabled: boolean;
|
|
21
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
22
39
|
buttonRef: ({
|
|
@@ -108,6 +125,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pa
|
|
|
108
125
|
$options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{
|
|
109
126
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
110
127
|
}>, {
|
|
128
|
+
isFocused(): boolean;
|
|
111
129
|
focus(): void;
|
|
112
130
|
blur(): void;
|
|
113
131
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -144,7 +162,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Pa
|
|
|
144
162
|
disabled: boolean;
|
|
145
163
|
}> & Omit<Readonly<BaseButtonProps> & Readonly<{
|
|
146
164
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
147
|
-
}>, "blur" | "focus" | ("type" | "color" | "htmlType" | "disabled")> & import('vue').ShallowUnwrapRef<{
|
|
165
|
+
}>, "blur" | "focus" | ("type" | "color" | "htmlType" | "disabled") | "isFocused"> & import('vue').ShallowUnwrapRef<{
|
|
166
|
+
isFocused(): boolean;
|
|
148
167
|
focus(): void;
|
|
149
168
|
blur(): void;
|
|
150
169
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as Button, ButtonProps, ButtonSlots } from './Button';
|
|
1
|
+
import { default as Button, ButtonProps, ButtonSlots, BUTTON_DEFAULT_PROPS } from './Button';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { Button, type ButtonProps, type ButtonSlots };
|
|
3
|
+
export { Button, type ButtonProps, type ButtonSlots, BUTTON_DEFAULT_PROPS };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
Button: DefineComponent<ButtonProps, ButtonSlots>;
|
|
@@ -46,6 +46,13 @@ export declare const injectButtonGroupContext: <T extends {
|
|
|
46
46
|
}) => {
|
|
47
47
|
props?: ButtonGroupProps | undefined;
|
|
48
48
|
};
|
|
49
|
+
/**
|
|
50
|
+
* Default props for the ButtonGroup component
|
|
51
|
+
*/
|
|
52
|
+
export declare const BUTTON_GROUP_DEFAULT_PROPS: {
|
|
53
|
+
readonly variant: "simple";
|
|
54
|
+
readonly split: true;
|
|
55
|
+
};
|
|
49
56
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ButtonGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
50
57
|
split: boolean;
|
|
51
58
|
variant: "icon" | "simple" | "float";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as ButtonGroup, provideButtonGroupContext, injectButtonGroupContext, ButtonGroupProps } from './ButtonGroup';
|
|
1
|
+
import { default as ButtonGroup, provideButtonGroupContext, injectButtonGroupContext, ButtonGroupProps, BUTTON_GROUP_DEFAULT_PROPS } from './ButtonGroup';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { ButtonGroup, provideButtonGroupContext, injectButtonGroupContext, type ButtonGroupProps };
|
|
3
|
+
export { ButtonGroup, provideButtonGroupContext, injectButtonGroupContext, type ButtonGroupProps, BUTTON_GROUP_DEFAULT_PROPS, };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
ButtonGroup: DefineComponent<ButtonGroupProps>;
|
package/dist/Card/Card.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CardType, CarResponsiveBreakpoint } from './Card.model';
|
|
2
1
|
import { ClassValue } from 'clsx';
|
|
2
|
+
import { CardType, CarResponsiveBreakpoint } from './Card.model';
|
|
3
3
|
/**
|
|
4
4
|
* Props for the Card component
|
|
5
5
|
*/
|
|
@@ -102,6 +102,15 @@ export interface CardSlots {
|
|
|
102
102
|
*/
|
|
103
103
|
leading: (data?: object) => never;
|
|
104
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* Default props for the Card component
|
|
107
|
+
*/
|
|
108
|
+
export declare const CARD_DEFAULT_PROPS: {
|
|
109
|
+
readonly type: "vertical";
|
|
110
|
+
readonly selected: false;
|
|
111
|
+
readonly showFloatedActionsOnHover: true;
|
|
112
|
+
readonly leadingPadding: true;
|
|
113
|
+
};
|
|
105
114
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
106
115
|
type: "horizontal" | "vertical";
|
|
107
116
|
selected: boolean;
|
package/dist/Card/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as Card, CardProps, CardSlots } from './Card';
|
|
1
|
+
import { default as Card, CardProps, CardSlots, CARD_DEFAULT_PROPS } from './Card';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { Card, type CardProps, type CardSlots };
|
|
3
|
+
export { Card, type CardProps, type CardSlots, CARD_DEFAULT_PROPS };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
Card: DefineComponent<CardProps, CardSlots>;
|
|
@@ -83,6 +83,16 @@ export type CheckboxEmits = CheckboxRootEmits & {
|
|
|
83
83
|
*/
|
|
84
84
|
focus: [event: InputEvent];
|
|
85
85
|
};
|
|
86
|
+
/**
|
|
87
|
+
* Default props for the Checkbox component
|
|
88
|
+
*/
|
|
89
|
+
export declare const CHECKBOX_DEFAULT_PROPS: {
|
|
90
|
+
readonly size: "xsm";
|
|
91
|
+
readonly modelValue: undefined;
|
|
92
|
+
readonly disabled: undefined;
|
|
93
|
+
readonly checked: undefined;
|
|
94
|
+
readonly valueAsLabel: true;
|
|
95
|
+
};
|
|
86
96
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CheckboxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
87
97
|
blur: (event: InputEvent) => any;
|
|
88
98
|
change: (value: boolean) => any;
|
package/dist/Checkbox/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as Checkbox, CheckboxProps, CheckboxSlots, CheckboxEmits } from './Checkbox';
|
|
1
|
+
import { default as Checkbox, CheckboxProps, CheckboxSlots, CheckboxEmits, CHECKBOX_DEFAULT_PROPS } from './Checkbox';
|
|
2
2
|
import { DefineComponent } from '../types';
|
|
3
|
-
export { Checkbox, type CheckboxProps, type CheckboxSlots, type CheckboxEmits };
|
|
3
|
+
export { Checkbox, type CheckboxProps, type CheckboxSlots, type CheckboxEmits, CHECKBOX_DEFAULT_PROPS, };
|
|
4
4
|
declare module 'vue' {
|
|
5
5
|
interface GlobalComponents {
|
|
6
6
|
Checkbox: DefineComponent<CheckboxProps, CheckboxSlots, CheckboxEmits>;
|