@dialpad/dialtone-vue 2.159.0-beta.1 → 2.159.0-beta.2
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/component-documentation.json +1 -1
- package/dist/components/avatar/avatar.vue.cjs +13 -24
- package/dist/components/avatar/avatar.vue.cjs.map +1 -1
- package/dist/components/avatar/avatar.vue.js +13 -24
- package/dist/components/avatar/avatar.vue.js.map +1 -1
- package/dist/components/icon/icon.vue.cjs +2 -2
- package/dist/components/icon/icon.vue.js +2 -2
- package/dist/directives/scrollbar/scrollbar.cjs.map +1 -1
- package/dist/directives/scrollbar/scrollbar.js.map +1 -1
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +7 -6
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -1
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +7 -6
- package/dist/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -1
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.cjs +9 -17
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.cjs.map +1 -1
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.js +9 -17
- package/dist/recipes/conversation_view/feed_pill/feed_item_pill.vue.js.map +1 -1
- package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.cjs +3 -2
- package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.cjs.map +1 -1
- package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.js +4 -3
- package/dist/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.js.map +1 -1
- package/dist/recipes/conversation_view/message_input/message_input.vue.cjs +22 -11
- package/dist/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
- package/dist/recipes/conversation_view/message_input/message_input.vue.js +22 -11
- package/dist/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
- package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs +14 -10
- package/dist/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
- package/dist/recipes/item_layout/contact_info/contact_info.vue.js +14 -10
- package/dist/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
- package/dist/recipes/leftbar/callbox/callbox.vue.cjs +6 -3
- package/dist/recipes/leftbar/callbox/callbox.vue.cjs.map +1 -1
- package/dist/recipes/leftbar/callbox/callbox.vue.js +6 -3
- package/dist/recipes/leftbar/callbox/callbox.vue.js.map +1 -1
- package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs +6 -5
- package/dist/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -1
- package/dist/recipes/leftbar/contact_row/contact_row.vue.js +6 -5
- package/dist/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -1
- package/dist/style.css +65 -62
- package/dist/types/common/sr_only_close_button.vue.d.ts +1 -1
- package/dist/types/components/avatar/avatar.vue.d.ts +5 -35
- package/dist/types/components/avatar/avatar.vue.d.ts.map +1 -1
- package/dist/types/components/badge/badge.vue.d.ts +4 -4
- package/dist/types/components/banner/banner.vue.d.ts +1 -1
- package/dist/types/components/breadcrumbs/breadcrumb_item.vue.d.ts +1 -1
- package/dist/types/components/breadcrumbs/breadcrumbs.vue.d.ts +1 -1
- package/dist/types/components/button/button.vue.d.ts +1 -1
- package/dist/types/components/button_group/button_group.vue.d.ts +1 -1
- package/dist/types/components/button_group/buttons_decorator.vue.d.ts +1 -1
- package/dist/types/components/card/card.vue.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/types/components/checkbox_group/checkbox_group.vue.d.ts +3 -3
- package/dist/types/components/checkbox_group/checkboxes_decorator.vue.d.ts +1 -1
- package/dist/types/components/chip/chip.vue.d.ts +2 -2
- package/dist/types/components/codeblock/codeblock.vue.d.ts +1 -1
- package/dist/types/components/collapsible/collapsible.vue.d.ts +2 -2
- package/dist/types/components/collapsible/collapsible_lazy_show.vue.d.ts +1 -1
- package/dist/types/components/combobox/combobox.vue.d.ts +1 -1
- package/dist/types/components/combobox/combobox_empty-list.vue.d.ts +1 -1
- package/dist/types/components/combobox/combobox_loading-list.vue.d.ts +1 -1
- package/dist/types/components/datepicker/datepicker.vue.d.ts +1 -1
- package/dist/types/components/datepicker/modules/calendar.vue.d.ts +1 -1
- package/dist/types/components/datepicker/modules/month-year-picker.vue.d.ts +1 -1
- package/dist/types/components/description_list/description_list.vue.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.vue.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown_list.vue.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown_separator.vue.d.ts +1 -1
- package/dist/types/components/emoji/emoji.vue.d.ts +1 -1
- package/dist/types/components/emoji_picker/emoji_picker.vue.d.ts +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_description.vue.d.ts +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_search.vue.d.ts +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_selector.vue.d.ts +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_skin_selector.vue.d.ts +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts +1 -1
- package/dist/types/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts +1 -1
- package/dist/types/components/empty_state/empty_state.vue.d.ts +1 -1
- package/dist/types/components/hovercard/hovercard.vue.d.ts +1 -1
- package/dist/types/components/icon/icon.vue.d.ts +1 -1
- package/dist/types/components/illustration/illustration.vue.d.ts +1 -1
- package/dist/types/components/image_viewer/image_viewer.vue.d.ts +1 -1
- package/dist/types/components/input/input.vue.d.ts +1 -1
- package/dist/types/components/input_group/decorators/input.vue.d.ts +1 -1
- package/dist/types/components/input_group/decorators/inputs.vue.d.ts +1 -1
- package/dist/types/components/input_group/input_group.vue.d.ts +2 -2
- package/dist/types/components/item_layout/item_layout.vue.d.ts +1 -1
- package/dist/types/components/keyboard_shortcut/keyboard_shortcut.vue.d.ts +1 -1
- package/dist/types/components/lazy_show/lazy_show.vue.d.ts +1 -1
- package/dist/types/components/link/link.vue.d.ts +1 -1
- package/dist/types/components/list_item/list_item.vue.d.ts +2 -2
- package/dist/types/components/list_item_group/list_item_group.vue.d.ts +1 -1
- package/dist/types/components/modal/modal.vue.d.ts +1 -1
- package/dist/types/components/notice/notice.vue.d.ts +1 -1
- package/dist/types/components/notice/notice_action.vue.d.ts +1 -1
- package/dist/types/components/notice/notice_content.vue.d.ts +1 -1
- package/dist/types/components/notice/notice_icon.vue.d.ts +1 -1
- package/dist/types/components/pagination/pagination.vue.d.ts +1 -1
- package/dist/types/components/popover/popover.vue.d.ts +1 -1
- package/dist/types/components/popover/popover_header_footer.vue.d.ts +1 -1
- package/dist/types/components/presence/presence.vue.d.ts +1 -1
- package/dist/types/components/radio/radio.vue.d.ts +1 -1
- package/dist/types/components/radio_group/radio_group.vue.d.ts +3 -3
- package/dist/types/components/radio_group/radios_decorator.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/extensions/channels/ChannelComponent.vue.d.ts +17 -17
- package/dist/types/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +17 -17
- package/dist/types/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +17 -17
- package/dist/types/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.d.ts +17 -17
- package/dist/types/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +1 -1
- package/dist/types/components/root_layout/root_layout.vue.d.ts +1 -1
- package/dist/types/components/select_menu/select_menu.vue.d.ts +1 -1
- package/dist/types/components/skeleton/skeleton-list-item.vue.d.ts +1 -1
- package/dist/types/components/skeleton/skeleton-paragraph.vue.d.ts +1 -1
- package/dist/types/components/skeleton/skeleton-shape.vue.d.ts +1 -1
- package/dist/types/components/skeleton/skeleton-text.vue.d.ts +1 -1
- package/dist/types/components/skeleton/skeleton.vue.d.ts +1 -1
- package/dist/types/components/split_button/split_button-alpha.vue.d.ts +1 -1
- package/dist/types/components/split_button/split_button-omega.vue.d.ts +2 -2
- package/dist/types/components/split_button/split_button.vue.d.ts +2 -2
- package/dist/types/components/stack/stack.vue.d.ts +1 -1
- package/dist/types/components/tabs/tab.vue.d.ts +1 -1
- package/dist/types/components/tabs/tab_group.vue.d.ts +1 -1
- package/dist/types/components/tabs/tab_panel.vue.d.ts +1 -1
- package/dist/types/components/toast/toast.vue.d.ts +1 -1
- package/dist/types/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.vue.d.ts +2 -2
- package/dist/types/components/validation_messages/validation_messages.vue.d.ts +1 -1
- package/dist/types/directives/scrollbar/scrollbar.d.ts.map +1 -1
- package/dist/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts +2 -2
- package/dist/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +2 -2
- package/dist/types/recipes/cards/ivr_node/ivr_node.vue.d.ts +1 -1
- package/dist/types/recipes/chips/grouped_chip/grouped_chip.vue.d.ts +1 -1
- package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +1 -1
- package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -1
- package/dist/types/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.d.ts +1 -1
- package/dist/types/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.d.ts +1 -1
- package/dist/types/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.d.ts +1 -1
- package/dist/types/recipes/conversation_view/editor/editor.vue.d.ts +1 -1
- package/dist/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts +1 -1
- package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +1 -2
- package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill.vue.d.ts +3 -17
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.d.ts +17 -17
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +5 -7
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/time_pill/time_pill.vue.d.ts +1 -1
- package/dist/types/recipes/header/settings_menu_button/settings_menu_button.vue.d.ts +1 -1
- package/dist/types/recipes/item_layout/contact_info/contact_info.vue.d.ts +4 -17
- package/dist/types/recipes/item_layout/contact_info/contact_info.vue.d.ts.map +1 -1
- package/dist/types/recipes/leftbar/callbox/callbox.vue.d.ts +1 -1
- package/dist/types/recipes/leftbar/callbox/callbox.vue.d.ts.map +1 -1
- package/dist/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +1 -1
- package/dist/types/recipes/leftbar/contact_row/contact_row.vue.d.ts +1 -2
- package/dist/types/recipes/leftbar/contact_row/contact_row.vue.d.ts.map +1 -1
- package/dist/types/recipes/leftbar/general_row/general_row.vue.d.ts +2 -2
- package/dist/types/recipes/leftbar/general_row/leftbar_general_row_icon.vue.d.ts +1 -1
- package/dist/types/recipes/leftbar/group_row/group_row.vue.d.ts +1 -1
- package/dist/types/recipes/leftbar/unread_pill/unread_pill.vue.d.ts +1 -1
- package/dist/types/recipes/notices/top_banner_info/top_banner_info.vue.d.ts +1 -1
- package/package.json +16 -16
- package/dist/common/storybook_utils.cjs +0 -8
- package/dist/common/storybook_utils.cjs.map +0 -1
- package/dist/common/storybook_utils.js +0 -8
- package/dist/common/storybook_utils.js.map +0 -1
- package/dist/types/common/storybook_utils.d.ts +0 -35
- package/dist/types/common/storybook_utils.d.ts.map +0 -1
|
@@ -84,7 +84,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
transitionend: () => void;
|
|
85
85
|
keydown: (event: any) => void;
|
|
86
86
|
};
|
|
87
|
-
iconName(): "user" | null;
|
|
88
87
|
listItemClasses(): (string | {
|
|
89
88
|
'dt-feed-item-row--active': never;
|
|
90
89
|
'dt-feed-item-row--state-transition'?: undefined;
|
|
@@ -106,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
106
105
|
_getFocusableElements(el?: object, includeNegativeTabIndex?: bool): any[];
|
|
107
106
|
focusTrappedTabPress(e: object, el: object): void;
|
|
108
107
|
};
|
|
109
|
-
}, import("vue
|
|
108
|
+
}, import("vue").ComponentOptionsMixin, ("focus" | "keydown" | "hover")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
110
109
|
/**
|
|
111
110
|
* Avatar seed, set this to the user's ID to get the same avatar background gradient each time it is displayed.
|
|
112
111
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed_item_row.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/feed_item_row/feed_item_row.vue.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"feed_item_row.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/feed_item_row/feed_item_row.vue.js"],"names":[],"mappings":";IA2BI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA7EH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
/**
|
|
3
|
-
* Accepts a DtIcon name to be shown in the left
|
|
4
|
-
*/
|
|
5
|
-
iconName: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: () => "";
|
|
8
|
-
};
|
|
9
2
|
/**
|
|
10
3
|
* Bolded primary text
|
|
11
4
|
*/
|
|
@@ -58,19 +51,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
51
|
hover: boolean;
|
|
59
52
|
expanded: any;
|
|
60
53
|
}, {
|
|
61
|
-
|
|
54
|
+
toggleIcon(): any;
|
|
55
|
+
showChevronIcon(): any;
|
|
62
56
|
toggleableClass(): "" | "d-c-pointer";
|
|
63
57
|
borderClass(): any;
|
|
64
58
|
}, {
|
|
65
59
|
onClick(): void;
|
|
66
|
-
}, import("vue
|
|
67
|
-
/**
|
|
68
|
-
* Accepts a DtIcon name to be shown in the left
|
|
69
|
-
*/
|
|
70
|
-
iconName: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: () => "";
|
|
73
|
-
};
|
|
60
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
74
61
|
/**
|
|
75
62
|
* Bolded primary text
|
|
76
63
|
*/
|
|
@@ -121,7 +108,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
108
|
};
|
|
122
109
|
}>>, {
|
|
123
110
|
title: string;
|
|
124
|
-
iconName: string;
|
|
125
111
|
buttonClass: string | Record<string, any> | unknown[];
|
|
126
112
|
wrapperClass: string | Record<string, any> | unknown[];
|
|
127
113
|
toggleable: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed_item_pill.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/feed_pill/feed_item_pill.vue.js"],"names":[],"mappings":";IAaI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG
|
|
1
|
+
{"version":3,"file":"feed_item_pill.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/feed_pill/feed_item_pill.vue.js"],"names":[],"mappings":";IAaI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;IAWH;;;OAGG;;;;;;;;;;;;;;;;;IAhDH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;IAWH;;;OAGG"}
|
package/dist/types/recipes/conversation_view/message_input/meeting_pill/MeetingPill.vue.d.ts
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
editor: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
3
|
-
node: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
4
|
-
decorations: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
5
|
-
selected: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
6
|
-
extension: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
7
|
-
getPos: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
2
|
+
editor: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/core").Editor>;
|
|
3
|
+
node: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/pm/model").Node>;
|
|
4
|
+
decorations: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/vue-2").DecorationWithType[]>;
|
|
5
|
+
selected: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").RequiredPropOptions<boolean>;
|
|
6
|
+
extension: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/vue-2").Node<any, any>>;
|
|
7
|
+
getPos: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").PropOptions<() => number> & {
|
|
8
8
|
required: true;
|
|
9
9
|
} & {
|
|
10
10
|
default?: (() => () => number) | undefined;
|
|
11
11
|
};
|
|
12
|
-
updateAttributes: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
12
|
+
updateAttributes: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").PropOptions<(attributes: Record<string, any>) => void> & {
|
|
13
13
|
required: true;
|
|
14
14
|
} & {
|
|
15
15
|
default?: (() => (attributes: Record<string, any>) => void) | undefined;
|
|
16
16
|
};
|
|
17
|
-
deleteNode: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
17
|
+
deleteNode: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").PropOptions<() => void> & {
|
|
18
18
|
required: true;
|
|
19
19
|
} & {
|
|
20
20
|
default?: (() => () => void) | undefined;
|
|
21
21
|
};
|
|
22
22
|
}, {}, {}, {}, {
|
|
23
23
|
close(e: any): void;
|
|
24
|
-
}, import("vue
|
|
25
|
-
editor: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
26
|
-
node: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
27
|
-
decorations: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
28
|
-
selected: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
29
|
-
extension: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
30
|
-
getPos: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
24
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "meeting-pill-close"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
editor: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/core").Editor>;
|
|
26
|
+
node: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/pm/model").Node>;
|
|
27
|
+
decorations: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/vue-2").DecorationWithType[]>;
|
|
28
|
+
selected: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").RequiredPropOptions<boolean>;
|
|
29
|
+
extension: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").RequiredPropOptions<import("@tiptap/vue-2").Node<any, any>>;
|
|
30
|
+
getPos: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").PropOptions<() => number> & {
|
|
31
31
|
required: true;
|
|
32
32
|
} & {
|
|
33
33
|
default?: (() => () => number) | undefined;
|
|
34
34
|
};
|
|
35
|
-
updateAttributes: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
35
|
+
updateAttributes: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").PropOptions<(attributes: Record<string, any>) => void> & {
|
|
36
36
|
required: true;
|
|
37
37
|
} & {
|
|
38
38
|
default?: (() => (attributes: Record<string, any>) => void) | undefined;
|
|
39
39
|
};
|
|
40
|
-
deleteNode: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.
|
|
40
|
+
deleteNode: import(".pnpm/vue-ts-types@1.6.1_vue@2.7.16/node_modules/vue-ts-types/dist/types").PropOptions<() => void> & {
|
|
41
41
|
required: true;
|
|
42
42
|
} & {
|
|
43
43
|
default?: (() => () => void) | undefined;
|
|
@@ -143,9 +143,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
143
|
*/
|
|
144
144
|
showSend: {
|
|
145
145
|
type: (ObjectConstructor | BooleanConstructor)[];
|
|
146
|
-
default: () => {
|
|
147
|
-
icon: string;
|
|
148
|
-
};
|
|
146
|
+
default: () => {};
|
|
149
147
|
};
|
|
150
148
|
/**
|
|
151
149
|
* Cancel button defaults.
|
|
@@ -259,6 +257,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
259
257
|
emojiPickerFocus: boolean;
|
|
260
258
|
emojiPickerOpened: boolean;
|
|
261
259
|
}, {
|
|
260
|
+
showSendIcon(): boolean;
|
|
262
261
|
inputLength(): any;
|
|
263
262
|
displayCharacterLimitWarning(): boolean;
|
|
264
263
|
characterLimitTooltipEnabled(): any;
|
|
@@ -267,6 +266,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
267
266
|
ariaLabel: string;
|
|
268
267
|
};
|
|
269
268
|
emojiPickerHovered(): boolean;
|
|
269
|
+
sendIconSize(): "300";
|
|
270
270
|
}, {
|
|
271
271
|
onMousedown(e: any): void;
|
|
272
272
|
onDrop(e: any): void;
|
|
@@ -279,7 +279,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
279
279
|
onSend(): void;
|
|
280
280
|
onCancel(): void;
|
|
281
281
|
onInput(event: any): void;
|
|
282
|
-
}, never, import("vue
|
|
282
|
+
}, never, import("vue").ComponentOptionsMixin, ("submit" | "cancel" | "selected-emoji" | "skin-tone" | "selected-command" | "update:value" | "meeting-pill-close" | "select-media" | "add-media" | "paste-media")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
283
283
|
/**
|
|
284
284
|
* Value of the input. The object format should match TipTap's JSON
|
|
285
285
|
* document structure: https://tiptap.dev/guide/output#option-1-json
|
|
@@ -424,9 +424,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
424
424
|
*/
|
|
425
425
|
showSend: {
|
|
426
426
|
type: (ObjectConstructor | BooleanConstructor)[];
|
|
427
|
-
default: () => {
|
|
428
|
-
icon: string;
|
|
429
|
-
};
|
|
427
|
+
default: () => {};
|
|
430
428
|
};
|
|
431
429
|
/**
|
|
432
430
|
* Cancel button defaults.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue.js"],"names":[],"mappings":";IAqCI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;;;;IAYH;;OAEG;;;;;;IAeH;;OAEG;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;IAWH;;OAEG;;;;;IAMH;;OAEG;;;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;OAYG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA1RH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;;;;IAYH;;OAEG;;;;;;IAeH;;OAEG;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;IAWH;;OAEG;;;;;IAMH;;OAEG;;;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;OAYG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
required: true;
|
|
16
16
|
validator: (t: unknown) => boolean;
|
|
17
17
|
};
|
|
18
|
-
}, {}, {}, {}, {}, import("vue
|
|
18
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
/**
|
|
20
20
|
* Date time display value
|
|
21
21
|
*/
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
|
-
}, {}, {}, {}, {}, import("vue
|
|
18
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
/**
|
|
20
20
|
* Determines whether the button should display the update state
|
|
21
21
|
* default is false
|
|
@@ -35,13 +35,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
type: StringConstructor;
|
|
36
36
|
default: string;
|
|
37
37
|
};
|
|
38
|
-
/**
|
|
39
|
-
* Avatar icon to display if `avatarSrc` is empty.
|
|
40
|
-
*/
|
|
41
|
-
avatarIcon: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
default: null;
|
|
44
|
-
};
|
|
45
38
|
/**
|
|
46
39
|
* The size of the avatar
|
|
47
40
|
* @values xs, sm, md, lg, xl
|
|
@@ -89,9 +82,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
82
|
type: ArrayConstructor;
|
|
90
83
|
default: null;
|
|
91
84
|
};
|
|
92
|
-
}, {}, {}, {
|
|
85
|
+
}, {}, {}, {
|
|
86
|
+
hasAvatarIcon(): import("vue/types/vnode").ScopedSlotChildren;
|
|
87
|
+
}, {
|
|
93
88
|
avatarClick(): void;
|
|
94
|
-
}, import("vue
|
|
89
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "avatar-click"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
95
90
|
/**
|
|
96
91
|
* String to use for the item's role.
|
|
97
92
|
*/
|
|
@@ -128,13 +123,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
123
|
type: StringConstructor;
|
|
129
124
|
default: string;
|
|
130
125
|
};
|
|
131
|
-
/**
|
|
132
|
-
* Avatar icon to display if `avatarSrc` is empty.
|
|
133
|
-
*/
|
|
134
|
-
avatarIcon: {
|
|
135
|
-
type: StringConstructor;
|
|
136
|
-
default: null;
|
|
137
|
-
};
|
|
138
126
|
/**
|
|
139
127
|
* The size of the avatar
|
|
140
128
|
* @values xs, sm, md, lg, xl
|
|
@@ -189,7 +177,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
189
177
|
avatarSeed: string;
|
|
190
178
|
showAvatar: boolean;
|
|
191
179
|
avatarFullName: string;
|
|
192
|
-
avatarIcon: string;
|
|
193
180
|
avatarSize: string;
|
|
194
181
|
avatarLabelledBy: string;
|
|
195
182
|
avatarColor: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact_info.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/item_layout/contact_info/contact_info.vue.js"],"names":[],"mappings":";IAoBI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH
|
|
1
|
+
{"version":3,"file":"contact_info.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/item_layout/contact_info/contact_info.vue.js"],"names":[],"mappings":";IAoBI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;;;;;IAvFH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;;;;;;OAUG"}
|
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
borderClass(): any;
|
|
76
76
|
}, {
|
|
77
77
|
handleClick(e: any): void;
|
|
78
|
-
}, import("vue
|
|
78
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
79
79
|
/**
|
|
80
80
|
* Text for the badge element
|
|
81
81
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callbox.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/leftbar/callbox/callbox.vue.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"callbox.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/leftbar/callbox/callbox.vue.js"],"names":[],"mappings":";IAeI;;OAEG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;IAMH;;OAEG;;;;;;;;;;;;IAzEH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;IAMH;;OAEG"}
|
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
showUnreadCount(): boolean;
|
|
53
53
|
}, {
|
|
54
54
|
adjustLabelWidth(): void;
|
|
55
|
-
}, import("vue
|
|
55
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "click-menu")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
56
56
|
/**
|
|
57
57
|
* Will be read out by a screen reader upon focus of this row. If not defined "description" will be read.
|
|
58
58
|
*/
|
|
@@ -120,8 +120,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
120
120
|
}, {}, {}, {
|
|
121
121
|
presenceColorClass(): "d-fc-success" | "d-fc-critical" | "d-fc-warning" | undefined;
|
|
122
122
|
contactDescription(): string;
|
|
123
|
-
|
|
124
|
-
}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("click" | "call")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
123
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "call")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
125
124
|
/**
|
|
126
125
|
* Optional avatar image url.
|
|
127
126
|
* If not provided it will use the initial of the name.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact_row.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/leftbar/contact_row/contact_row.vue.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"contact_row.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/leftbar/contact_row/contact_row.vue.js"],"names":[],"mappings":";IAqBI;;;OAGG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;IAhIH;;;OAGG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
|
|
@@ -162,7 +162,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
162
162
|
}, {
|
|
163
163
|
validateProps(): void;
|
|
164
164
|
adjustLabelWidth(): void;
|
|
165
|
-
}, import("vue
|
|
165
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "call")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
166
166
|
/**
|
|
167
167
|
* Determines the icon to show.
|
|
168
168
|
* If type is contact center, the color prop must be provided and will determine the color of the icon
|
|
@@ -299,9 +299,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
299
299
|
};
|
|
300
300
|
}>>, {
|
|
301
301
|
type: string;
|
|
302
|
-
ariaLabel: string;
|
|
303
302
|
color: string;
|
|
304
303
|
iconSize: string;
|
|
304
|
+
ariaLabel: string;
|
|
305
305
|
muted: boolean;
|
|
306
306
|
selected: boolean;
|
|
307
307
|
unreadCount: string;
|
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
getIconName(): any;
|
|
19
19
|
contactCenterIconClasses(): any[];
|
|
20
20
|
dialbotClasses(): string[];
|
|
21
|
-
}, {}, import("vue
|
|
21
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
type: {
|
|
23
23
|
type: StringConstructor;
|
|
24
24
|
default: null;
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
};
|
|
52
52
|
}, {}, {}, {
|
|
53
53
|
ariaLabel(): string;
|
|
54
|
-
}, {}, import("vue
|
|
54
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
55
55
|
/**
|
|
56
56
|
* Screen reader will read out the number of users in the group using this text. Ex: "2 users"
|
|
57
57
|
*/
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
required: true;
|
|
18
18
|
validator: (dir: unknown) => boolean;
|
|
19
19
|
};
|
|
20
|
-
}, {}, {}, {}, {}, import("vue
|
|
20
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
/**
|
|
22
22
|
* The kind of unread pill which determines the styling
|
|
23
23
|
* @values 'mentions', 'messages'
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
}, {}, {}, {
|
|
11
11
|
bannerInfoClass(): any[];
|
|
12
|
-
}, {}, import("vue
|
|
12
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
/**
|
|
14
14
|
* color of the banner background
|
|
15
15
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dialpad/dialtone-vue",
|
|
3
|
-
"version": "2.159.0-beta.
|
|
3
|
+
"version": "2.159.0-beta.2",
|
|
4
4
|
"description": "Vue component library for Dialpad's design system Dialtone",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
"@faker-js/faker": "8.4.1",
|
|
42
42
|
"@percy/cli": "1.28.2",
|
|
43
43
|
"@percy/storybook": "5.0.3",
|
|
44
|
-
"@storybook/addon-a11y": "
|
|
45
|
-
"@storybook/addon-actions": "
|
|
46
|
-
"@storybook/addon-docs": "
|
|
47
|
-
"@storybook/addon-essentials": "
|
|
48
|
-
"@storybook/addon-links": "
|
|
49
|
-
"@storybook/addon-mdx-gfm": "
|
|
50
|
-
"@storybook/addon-viewport": "
|
|
51
|
-
"@storybook/blocks": "
|
|
52
|
-
"@storybook/manager-api": "
|
|
44
|
+
"@storybook/addon-a11y": "7.6.20",
|
|
45
|
+
"@storybook/addon-actions": "7.6.20",
|
|
46
|
+
"@storybook/addon-docs": "7.6.20",
|
|
47
|
+
"@storybook/addon-essentials": "7.6.20",
|
|
48
|
+
"@storybook/addon-links": "7.6.20",
|
|
49
|
+
"@storybook/addon-mdx-gfm": "7.6.20",
|
|
50
|
+
"@storybook/addon-viewport": "7.6.20",
|
|
51
|
+
"@storybook/blocks": "7.6.20",
|
|
52
|
+
"@storybook/manager-api": "7.6.20",
|
|
53
53
|
"@storybook/test-runner": "^0.16.0",
|
|
54
54
|
"@storybook/testing-library": "^0.2.2",
|
|
55
|
-
"@storybook/theming": "
|
|
56
|
-
"@storybook/vue": "
|
|
57
|
-
"@storybook/vue-vite": "
|
|
55
|
+
"@storybook/theming": "7.6.20",
|
|
56
|
+
"@storybook/vue": "7.6.20",
|
|
57
|
+
"@storybook/vue-vite": "7.6.20",
|
|
58
58
|
"@vitejs/plugin-vue2": "^2.3.1",
|
|
59
59
|
"@vue/test-utils": "1.3",
|
|
60
60
|
"@vue/tsconfig": "^0.4.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"react-dom": "^16.13.1",
|
|
73
73
|
"sinon": "^15.2.0",
|
|
74
74
|
"source-map-support": "^0.5.21",
|
|
75
|
-
"storybook": "
|
|
75
|
+
"storybook": "7.6.20",
|
|
76
76
|
"storybook-dark-mode": "^3.0.3",
|
|
77
77
|
"string-hash": "^1.1.3",
|
|
78
78
|
"typedoc": "^0.25.2",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"vue-tsc": "^1.8.25",
|
|
85
85
|
"yo": "^5.0.0",
|
|
86
86
|
"yorkie": "^2.0.0",
|
|
87
|
-
"@dialpad/dialtone-css": "8.
|
|
87
|
+
"@dialpad/dialtone-css": "8.44.0-beta.1",
|
|
88
88
|
"@dialpad/generator-dialtone": "0.1.0"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"vue": ">=2.6",
|
|
92
|
-
"@dialpad/dialtone-css": "^8.
|
|
92
|
+
"@dialpad/dialtone-css": "^8.44.0-beta.1"
|
|
93
93
|
},
|
|
94
94
|
"bugs": {
|
|
95
95
|
"email": "dialtone@dialpad.com"
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const iconNames = require("@dialpad/dialtone-icons/icons.js");
|
|
4
|
-
function getIconNames() {
|
|
5
|
-
return [void 0, ...iconNames];
|
|
6
|
-
}
|
|
7
|
-
exports.getIconNames = getIconNames;
|
|
8
|
-
//# sourceMappingURL=storybook_utils.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storybook_utils.cjs","sources":["../../common/storybook_utils.js"],"sourcesContent":["import iconNames from '@dialpad/dialtone-icons/icons.js';\nimport illustrationNames from '@dialpad/dialtone-icons/illustrations.js';\n\n/**\n * Will use a Vue SFC to render the template rather than a template string.\n * This is useful for more complex components that are hard to work with and\n * get messy when rendered via a template string. Will pass args and argTypes\n * into the component, so it is able to be live edited with storybook controls addon.\n * @param component this will get the component name\n * @param defaultTemplate we will mount in this component\n * @param argsData storybook control args\n * @returns {component} the template component with props and args added.\n */\n\nexport function createRenderConfig (component, defaultTemplate, argsData) {\n return {\n components: { [component.name]: defaultTemplate },\n props: [...Object.keys(component.props ?? {}), ...Object.keys(argsData)],\n setup (props) {\n return { props };\n },\n template: `<${component.name} v-bind=\"props\" />`,\n };\n}\n\n/**\n * Gets the full list of icon component names from the dialtone package\n * @returns {string[]} icon component names\n */\nexport function getIconNames () {\n return [undefined, ...iconNames];\n}\n\n/**\n * Gets the full list of icon component names from the dialtone package\n * @returns {string[]} icon component names\n */\nexport function getIllustrationNames () {\n return [undefined, ...illustrationNames];\n}\n\nexport const generateTemplate = (component,\n { props = [], excludeProps = [], customProps = [], childTemplate } = {}) => {\n if (!component) {\n console.warn('Generate template: Please provide a component');\n return '';\n }\n\n const { name, props: componentProps } = component;\n const finalProps = props.length ? props : Object.keys(componentProps);\n const normalizedName = name.split(/(?=[A-Z])/).join('-').toLowerCase();\n\n const startFragment = `<${normalizedName}`;\n\n const propFragments = finalProps\n .filter(prop => !excludeProps.includes(prop))\n .map(prop => `:${prop}=\"${prop}\"`);\n\n const endFragment = childTemplate ? `>${childTemplate}</${normalizedName}>` : ' />';\n\n return [startFragment, ...propFragments, ...customProps, endFragment].join(' ');\n};\n\nexport default {\n generateTemplate,\n getIconNames,\n getIllustrationNames,\n createRenderConfig,\n};\n"],"names":[],"mappings":";;;AA6BO,SAAS,eAAgB;AAC9B,SAAO,CAAC,QAAW,GAAG,SAAS;AACjC;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storybook_utils.js","sources":["../../common/storybook_utils.js"],"sourcesContent":["import iconNames from '@dialpad/dialtone-icons/icons.js';\nimport illustrationNames from '@dialpad/dialtone-icons/illustrations.js';\n\n/**\n * Will use a Vue SFC to render the template rather than a template string.\n * This is useful for more complex components that are hard to work with and\n * get messy when rendered via a template string. Will pass args and argTypes\n * into the component, so it is able to be live edited with storybook controls addon.\n * @param component this will get the component name\n * @param defaultTemplate we will mount in this component\n * @param argsData storybook control args\n * @returns {component} the template component with props and args added.\n */\n\nexport function createRenderConfig (component, defaultTemplate, argsData) {\n return {\n components: { [component.name]: defaultTemplate },\n props: [...Object.keys(component.props ?? {}), ...Object.keys(argsData)],\n setup (props) {\n return { props };\n },\n template: `<${component.name} v-bind=\"props\" />`,\n };\n}\n\n/**\n * Gets the full list of icon component names from the dialtone package\n * @returns {string[]} icon component names\n */\nexport function getIconNames () {\n return [undefined, ...iconNames];\n}\n\n/**\n * Gets the full list of icon component names from the dialtone package\n * @returns {string[]} icon component names\n */\nexport function getIllustrationNames () {\n return [undefined, ...illustrationNames];\n}\n\nexport const generateTemplate = (component,\n { props = [], excludeProps = [], customProps = [], childTemplate } = {}) => {\n if (!component) {\n console.warn('Generate template: Please provide a component');\n return '';\n }\n\n const { name, props: componentProps } = component;\n const finalProps = props.length ? props : Object.keys(componentProps);\n const normalizedName = name.split(/(?=[A-Z])/).join('-').toLowerCase();\n\n const startFragment = `<${normalizedName}`;\n\n const propFragments = finalProps\n .filter(prop => !excludeProps.includes(prop))\n .map(prop => `:${prop}=\"${prop}\"`);\n\n const endFragment = childTemplate ? `>${childTemplate}</${normalizedName}>` : ' />';\n\n return [startFragment, ...propFragments, ...customProps, endFragment].join(' ');\n};\n\nexport default {\n generateTemplate,\n getIconNames,\n getIllustrationNames,\n createRenderConfig,\n};\n"],"names":[],"mappings":";AA6BO,SAAS,eAAgB;AAC9B,SAAO,CAAC,QAAW,GAAG,SAAS;AACjC;"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Will use a Vue SFC to render the template rather than a template string.
|
|
3
|
-
* This is useful for more complex components that are hard to work with and
|
|
4
|
-
* get messy when rendered via a template string. Will pass args and argTypes
|
|
5
|
-
* into the component, so it is able to be live edited with storybook controls addon.
|
|
6
|
-
* @param component this will get the component name
|
|
7
|
-
* @param defaultTemplate we will mount in this component
|
|
8
|
-
* @param argsData storybook control args
|
|
9
|
-
* @returns {component} the template component with props and args added.
|
|
10
|
-
*/
|
|
11
|
-
export function createRenderConfig(component: any, defaultTemplate: any, argsData: any): any;
|
|
12
|
-
/**
|
|
13
|
-
* Gets the full list of icon component names from the dialtone package
|
|
14
|
-
* @returns {string[]} icon component names
|
|
15
|
-
*/
|
|
16
|
-
export function getIconNames(): string[];
|
|
17
|
-
/**
|
|
18
|
-
* Gets the full list of icon component names from the dialtone package
|
|
19
|
-
* @returns {string[]} icon component names
|
|
20
|
-
*/
|
|
21
|
-
export function getIllustrationNames(): string[];
|
|
22
|
-
export function generateTemplate(component: any, { props, excludeProps, customProps, childTemplate }?: {
|
|
23
|
-
props?: any[] | undefined;
|
|
24
|
-
excludeProps?: any[] | undefined;
|
|
25
|
-
customProps?: any[] | undefined;
|
|
26
|
-
childTemplate: any;
|
|
27
|
-
}): string;
|
|
28
|
-
declare namespace _default {
|
|
29
|
-
export { generateTemplate };
|
|
30
|
-
export { getIconNames };
|
|
31
|
-
export { getIllustrationNames };
|
|
32
|
-
export { createRenderConfig };
|
|
33
|
-
}
|
|
34
|
-
export default _default;
|
|
35
|
-
//# sourceMappingURL=storybook_utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storybook_utils.d.ts","sourceRoot":"","sources":["../../../common/storybook_utils.js"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AAEH,6FASC;AAED;;;GAGG;AACH,gCAFa,MAAM,EAAE,CAIpB;AAED;;;GAGG;AACH,wCAFa,MAAM,EAAE,CAIpB;AAEM;;;;;WAoBN"}
|