@dialpad/dialtone-vue 3.96.0 → 3.96.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/CHANGELOG.json +1 -1
- package/CHANGELOG.md +19 -0
- package/README.md +3 -3
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +5 -5
- package/dist/dialtone-vue.js +2503 -2601
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +1 -1
- package/dist/{emoji-zsImd-qD.js → emoji-64scMQZS.js} +6280 -7196
- package/dist/emoji-zMlz3b9J.cjs +1 -0
- package/dist/emoji.cjs +1 -1
- package/dist/emoji.js +33 -113
- package/dist/emoji_picker-MrGLDXUn.js +921 -0
- package/dist/emoji_picker-gkXbSV3i.cjs +1 -0
- package/dist/emoji_text_wrapper-5mWcPQ4m.cjs +1 -0
- package/dist/emoji_text_wrapper-GCssca4o.js +86 -0
- package/dist/message_input.cjs +92 -1
- package/dist/message_input.js +13903 -5
- package/dist/stack-_FIkvuMY.cjs +2 -0
- package/dist/stack-q9VLdD1J.js +2722 -0
- package/dist/style.css +1 -1
- package/dist/tooltip-H27s49LR.js +2476 -0
- package/dist/tooltip-gZ2LW6l0.cjs +21 -0
- package/dist/types/common/constants.d.ts +31 -31
- package/dist/types/common/mixins/input.d.ts +38 -38
- package/dist/types/common/mixins/input_group.d.ts +19 -19
- package/dist/types/common/mixins/sr_only_close_button.d.ts +6 -6
- package/dist/types/components/avatar/avatar.vue.d.ts +1 -1
- package/dist/types/components/avatar/avatar_constants.d.ts +20 -20
- package/dist/types/components/badge/badge.vue.d.ts +9 -2
- package/dist/types/components/badge/badge.vue.d.ts.map +1 -1
- package/dist/types/components/badge/badge_constants.d.ts +9 -9
- package/dist/types/components/button/button.vue.d.ts +1 -1
- package/dist/types/components/button/button_constants.d.ts +21 -21
- package/dist/types/components/button/index.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox.vue.d.ts +6 -1
- package/dist/types/components/checkbox/checkbox.vue.d.ts.map +1 -1
- package/dist/types/components/checkbox/checkbox_constants.d.ts +3 -3
- package/dist/types/components/checkbox_group/checkbox_group.vue.d.ts +9 -2
- package/dist/types/components/checkbox_group/checkbox_group.vue.d.ts.map +1 -1
- package/dist/types/components/chip/chip_constants.d.ts +10 -9
- package/dist/types/components/chip/index.d.ts +1 -1
- package/dist/types/components/combobox/combobox.vue.d.ts +16 -8
- package/dist/types/components/combobox/combobox.vue.d.ts.map +1 -1
- package/dist/types/components/combobox/combobox_constants.d.ts +9 -5
- package/dist/types/components/combobox/index.d.ts +1 -0
- package/dist/types/components/datepicker/{DtDatepicker.vue.d.ts → datepicker.vue.d.ts} +2 -2
- package/dist/types/components/datepicker/datepicker.vue.d.ts.map +1 -0
- package/dist/types/components/datepicker/formatUtils.d.ts +8 -0
- package/dist/types/components/datepicker/index.d.ts +1 -1
- package/dist/types/components/datepicker/modules/calendar.vue.d.ts +4 -1
- package/dist/types/components/datepicker/modules/month-year-picker.vue.d.ts +7 -1
- package/dist/types/components/dropdown/dropdown.vue.d.ts +27 -1
- package/dist/types/components/dropdown/dropdown.vue.d.ts.map +1 -1
- package/dist/types/components/dropdown/dropdown_constants.d.ts +7 -3
- package/dist/types/components/dropdown/index.d.ts +1 -0
- package/dist/types/components/emoji_picker/composables/useKeyboardNavigation.d.ts.map +1 -1
- package/dist/types/components/emoji_picker/{DtEmojiPicker.vue.d.ts → emoji_picker.vue.d.ts} +2 -2
- package/dist/types/components/emoji_picker/emoji_picker.vue.d.ts.map +1 -0
- package/dist/types/components/emoji_picker/emoji_picker_constants.d.ts +22 -17
- package/dist/types/components/emoji_picker/index.d.ts +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_description.vue.d.ts +1 -0
- package/dist/types/components/emoji_picker/modules/emoji_search.vue.d.ts +3 -1
- package/dist/types/components/emoji_picker/modules/emoji_search.vue.d.ts.map +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_selector.vue.d.ts +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_selector.vue.d.ts.map +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_skin_selector.vue.d.ts.map +1 -1
- package/dist/types/components/emoji_picker/modules/emoji_tabset.vue.d.ts +1 -1
- package/dist/types/components/input/input.vue.d.ts +2 -2
- package/dist/types/components/input/input_constants.d.ts +13 -13
- package/dist/types/components/input_group/input_group.vue.d.ts +3 -1
- package/dist/types/components/input_group/input_group.vue.d.ts.map +1 -1
- package/dist/types/components/link/link_constants.d.ts +11 -6
- package/dist/types/components/list_item/index.d.ts +1 -0
- package/dist/types/components/list_item/list_item.vue.d.ts +1 -1
- package/dist/types/components/list_item/list_item_constants.d.ts +5 -5
- package/dist/types/components/modal/modal_constants.d.ts +9 -9
- package/dist/types/components/popover/index.d.ts +1 -1
- package/dist/types/components/popover/popover.vue.d.ts +1 -1
- package/dist/types/components/popover/popover_constants.d.ts +19 -8
- package/dist/types/components/presence/presence_constants.d.ts +4 -4
- package/dist/types/components/radio/index.d.ts +1 -0
- package/dist/types/components/radio/radio.vue.d.ts +3 -7
- package/dist/types/components/radio/radio.vue.d.ts.map +1 -1
- package/dist/types/components/radio/radio_constants.d.ts +3 -3
- package/dist/types/components/radio_group/radio_group.vue.d.ts +1 -3
- package/dist/types/components/radio_group/radio_group.vue.d.ts.map +1 -1
- package/dist/types/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.d.ts +2 -2
- package/dist/types/components/rich_text_editor/extensions/link/utils.d.ts +5 -1
- package/dist/types/components/rich_text_editor/extensions/link/utils.d.ts.map +1 -1
- package/dist/types/components/rich_text_editor/extensions/mentions/MentionComponent.vue.d.ts +2 -2
- package/dist/types/components/rich_text_editor/rich_text_editor.vue.d.ts +1 -1
- package/dist/types/components/rich_text_editor/rich_text_editor_constants.d.ts +5 -0
- package/dist/types/components/root_layout/root_layout_constants.d.ts +2 -2
- package/dist/types/components/scroller/DtScroller.vue.d.ts +11 -1
- package/dist/types/components/scroller/DtScroller.vue.d.ts.map +1 -1
- package/dist/types/components/scroller/modules/core_scroller.vue.d.ts +13 -1
- package/dist/types/components/scroller/modules/core_scroller.vue.d.ts.map +1 -1
- package/dist/types/components/scroller/modules/scroller_item.vue.d.ts.map +1 -1
- package/dist/types/components/select_menu/select_menu.vue.d.ts +1 -1
- package/dist/types/components/select_menu/select_menu_constants.d.ts +8 -8
- package/dist/types/components/skeleton/skeleton_constants.d.ts +8 -8
- package/dist/types/components/stack/index.d.ts +1 -0
- package/dist/types/components/stack/stack_constants.d.ts +6 -0
- package/dist/types/components/tabs/tabs_constants.d.ts +4 -4
- package/dist/types/components/toast/toast.vue.d.ts +4 -1
- package/dist/types/components/toast/toast.vue.d.ts.map +1 -1
- package/dist/types/components/toggle/index.d.ts +1 -0
- package/dist/types/components/toggle/toggle_constants.d.ts +3 -2
- package/dist/types/components/tooltip/tooltip_constants.d.ts +4 -4
- package/dist/types/directives/tooltip/tooltip.d.ts +1 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/message_input.d.ts +1 -0
- package/dist/types/recipes/cards/ivr_node/ivr_node_constants.d.ts +22 -22
- package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +2 -2
- package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.d.ts +25 -0
- package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.d.ts.map +1 -0
- package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select_story_constants.d.ts +0 -18
- package/dist/types/recipes/comboboxes/combobox_multi_select/index.d.ts +1 -1
- package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -1
- package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
- package/dist/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +13 -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_item_row/feed_item_row_constants.d.ts +3 -3
- package/dist/types/recipes/conversation_view/feed_item_row/index.d.ts +1 -0
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill_constants.d.ts +3 -3
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +14 -62
- package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
- package/dist/types/recipes/leftbar/callbox/callbox_constants.d.ts +4 -4
- package/dist/types/recipes/leftbar/general_row/general_row.vue.d.ts +1 -1
- package/dist/types/recipes/leftbar/general_row/general_row_constants.d.ts +12 -12
- package/dist/types/recipes/leftbar/general_row/leftbar_general_row_icon.vue.d.ts +1 -1
- package/dist/types/recipes/list_items/contact_info/contact_info.vue.d.ts +1 -1
- package/package.json +51 -51
- package/dist/emoji-5anz0QgY.cjs +0 -1
- package/dist/message_input-JdPf8pn2.js +0 -16500
- package/dist/message_input-s1pJ2P6G.cjs +0 -93
- package/dist/tooltip-3LC0ejIh.cjs +0 -25
- package/dist/tooltip-laZwfd56.js +0 -2574
- package/dist/types/components/datepicker/DtDatepicker.vue.d.ts.map +0 -1
- package/dist/types/components/emoji_picker/DtEmojiPicker.vue.d.ts.map +0 -1
- package/dist/types/components/list_section/index.d.ts +0 -2
- package/dist/types/components/list_section/index.d.ts.map +0 -1
- package/dist/types/components/list_section/list_section.vue.d.ts +0 -71
- package/dist/types/components/list_section/list_section.vue.d.ts.map +0 -1
- package/dist/types/components/tooltip/tooltip_variants.vue.d.ts +0 -7
- package/dist/types/components/tooltip/tooltip_variants.vue.d.ts.map +0 -1
|
@@ -7,31 +7,31 @@ export const IVR_NODE_BRANCH: "branch";
|
|
|
7
7
|
export const IVR_NODE_TRANSFER: "transfer";
|
|
8
8
|
export const IVR_NODE_HANGUP: "hangup";
|
|
9
9
|
export namespace IVR_NODE_ICON_TYPES {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
let promptmenu: string;
|
|
11
|
+
let promptcollect: string;
|
|
12
|
+
let promptplay: string;
|
|
13
|
+
let gotoexpert: string;
|
|
14
|
+
let branch: string;
|
|
15
|
+
let goto: string;
|
|
16
|
+
let transfer: string;
|
|
17
|
+
let hangup: string;
|
|
18
18
|
}
|
|
19
19
|
export namespace IVR_NODE_LABELS {
|
|
20
|
-
|
|
20
|
+
let promptmenu_1: string;
|
|
21
21
|
export { promptmenu_1 as promptmenu };
|
|
22
|
-
|
|
22
|
+
let promptcollect_1: string;
|
|
23
23
|
export { promptcollect_1 as promptcollect };
|
|
24
|
-
|
|
24
|
+
let promptplay_1: string;
|
|
25
25
|
export { promptplay_1 as promptplay };
|
|
26
|
-
|
|
26
|
+
let gotoexpert_1: string;
|
|
27
27
|
export { gotoexpert_1 as gotoexpert };
|
|
28
|
-
|
|
28
|
+
let branch_1: string;
|
|
29
29
|
export { branch_1 as branch };
|
|
30
|
-
|
|
30
|
+
let goto_1: string;
|
|
31
31
|
export { goto_1 as goto };
|
|
32
|
-
|
|
32
|
+
let transfer_1: string;
|
|
33
33
|
export { transfer_1 as transfer };
|
|
34
|
-
|
|
34
|
+
let hangup_1: string;
|
|
35
35
|
export { hangup_1 as hangup };
|
|
36
36
|
}
|
|
37
37
|
export namespace IVR_NODE_COLOR_MAPPING {
|
|
@@ -54,19 +54,19 @@ export namespace IVR_NODE_COLOR_MAPPING {
|
|
|
54
54
|
}
|
|
55
55
|
declare namespace IVR_NODE_COLORS {
|
|
56
56
|
namespace PROMPT {
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
let normal: string;
|
|
58
|
+
let selected: string;
|
|
59
59
|
}
|
|
60
60
|
namespace LOGIC {
|
|
61
|
-
|
|
61
|
+
let normal_1: string;
|
|
62
62
|
export { normal_1 as normal };
|
|
63
|
-
|
|
63
|
+
let selected_1: string;
|
|
64
64
|
export { selected_1 as selected };
|
|
65
65
|
}
|
|
66
66
|
namespace TERMINAL {
|
|
67
|
-
|
|
67
|
+
let normal_2: string;
|
|
68
68
|
export { normal_2 as normal };
|
|
69
|
-
|
|
69
|
+
let selected_2: string;
|
|
70
70
|
export { selected_2 as selected };
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -347,14 +347,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
347
347
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
348
348
|
"onMax-selected"?: ((...args: any[]) => any) | undefined;
|
|
349
349
|
}, {
|
|
350
|
-
placeholder: string;
|
|
351
350
|
size: string;
|
|
352
351
|
loading: boolean;
|
|
353
|
-
description: string;
|
|
354
352
|
transition: string;
|
|
355
353
|
showList: boolean;
|
|
356
354
|
labelVisible: boolean;
|
|
355
|
+
description: string;
|
|
357
356
|
appendTo: string | HTMLElement;
|
|
357
|
+
placeholder: string;
|
|
358
358
|
hasSuggestionList: boolean;
|
|
359
359
|
selectedItems: unknown[];
|
|
360
360
|
inputMessages: unknown[];
|
package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export namespace MULTI_SELECT_SIZES {
|
|
2
|
+
let EXTRA_SMALL: string;
|
|
3
|
+
let SMALL: string;
|
|
4
|
+
let DEFAULT: string;
|
|
5
|
+
}
|
|
6
|
+
export namespace CHIP_SIZES {
|
|
7
|
+
let xs: string;
|
|
8
|
+
let sm: string;
|
|
9
|
+
let md: string;
|
|
10
|
+
}
|
|
11
|
+
export namespace CHIP_TOP_POSITION {
|
|
12
|
+
let xs_1: number;
|
|
13
|
+
export { xs_1 as xs };
|
|
14
|
+
let sm_1: number;
|
|
15
|
+
export { sm_1 as sm };
|
|
16
|
+
let md_1: number;
|
|
17
|
+
export { md_1 as md };
|
|
18
|
+
}
|
|
19
|
+
declare namespace _default {
|
|
20
|
+
export { MULTI_SELECT_SIZES };
|
|
21
|
+
export { CHIP_SIZES };
|
|
22
|
+
export { CHIP_TOP_POSITION };
|
|
23
|
+
}
|
|
24
|
+
export default _default;
|
|
25
|
+
//# sourceMappingURL=combobox_multi_select_constants.d.ts.map
|
package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox_multi_select_constants.d.ts","sourceRoot":"","sources":["../../../../../recipes/comboboxes/combobox_multi_select/combobox_multi_select_constants.js"],"names":[],"mappings":""}
|
|
@@ -3,22 +3,4 @@ export const ITEMS_LIST_DATA: {
|
|
|
3
3
|
value: string;
|
|
4
4
|
type: string;
|
|
5
5
|
}[];
|
|
6
|
-
export namespace MULTI_SELECT_SIZES {
|
|
7
|
-
const EXTRA_SMALL: string;
|
|
8
|
-
const SMALL: string;
|
|
9
|
-
const DEFAULT: string;
|
|
10
|
-
}
|
|
11
|
-
export namespace CHIP_SIZES {
|
|
12
|
-
const xs: string;
|
|
13
|
-
const sm: string;
|
|
14
|
-
const md: string;
|
|
15
|
-
}
|
|
16
|
-
export namespace CHIP_TOP_POSITION {
|
|
17
|
-
const xs_1: number;
|
|
18
|
-
export { xs_1 as xs };
|
|
19
|
-
const sm_1: number;
|
|
20
|
-
export { sm_1 as sm };
|
|
21
|
-
const md_1: number;
|
|
22
|
-
export { md_1 as md };
|
|
23
|
-
}
|
|
24
6
|
//# sourceMappingURL=combobox_multi_select_story_constants.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as DtRecipeComboboxMultiSelect } from "./combobox_multi_select.vue";
|
|
2
|
-
export { MULTI_SELECT_SIZES } from "./
|
|
2
|
+
export { MULTI_SELECT_SIZES, CHIP_SIZES, CHIP_TOP_POSITION } from "./combobox_multi_select_constants.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -412,12 +412,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
412
412
|
}, {
|
|
413
413
|
size: string;
|
|
414
414
|
loading: boolean;
|
|
415
|
-
description: string;
|
|
416
415
|
transition: string;
|
|
417
416
|
maxHeight: string;
|
|
418
417
|
maxWidth: string;
|
|
419
418
|
showList: boolean;
|
|
420
419
|
labelVisible: boolean;
|
|
420
|
+
description: string;
|
|
421
421
|
listId: string;
|
|
422
422
|
onBeginningOfList: Function;
|
|
423
423
|
onEndOfList: Function;
|
package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox_with_popover.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"combobox_with_popover.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js"],"names":[],"mappings":";IAuBI;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IAOH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;;IASH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;;;;;IAUH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAlMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IAOH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;;IASH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;;;;;IAUH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAnNyC,gBAAgB"}
|
|
@@ -66,13 +66,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
mouseleave: () => void;
|
|
67
67
|
focusin: () => void;
|
|
68
68
|
focusout: () => void;
|
|
69
|
+
keydown: (event: any) => void;
|
|
69
70
|
};
|
|
70
71
|
listItemClasses(): any[];
|
|
71
72
|
}, {
|
|
73
|
+
trapFocus(e: any): void;
|
|
72
74
|
setFocus(bool: any): void;
|
|
73
75
|
setHover(bool: any): void;
|
|
74
76
|
fade(): void;
|
|
75
|
-
},
|
|
77
|
+
}, {
|
|
78
|
+
methods: {
|
|
79
|
+
getFirstFocusableElement(el: object): Promise<any>;
|
|
80
|
+
focusFirstElement(el: object): Promise<void>;
|
|
81
|
+
_getFirstFocusElement(focusableElements: any): any;
|
|
82
|
+
_getFocusableElements(el?: object, includeNegativeTabIndex?: bool): any[];
|
|
83
|
+
focusTrappedTabPress(e: object, el: object): void;
|
|
84
|
+
};
|
|
85
|
+
}, import("vue").ComponentOptionsMixin, ("focus" | "keydown" | "hover")[], "focus" | "keydown" | "hover", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
86
|
/**
|
|
77
87
|
* Avatar seed, set this to the user's ID to get the same avatar background gradient each time it is displayed.
|
|
78
88
|
*/
|
|
@@ -134,15 +144,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
134
144
|
};
|
|
135
145
|
}>> & {
|
|
136
146
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
137
148
|
onHover?: ((...args: any[]) => any) | undefined;
|
|
138
149
|
}, {
|
|
139
150
|
time: string;
|
|
140
151
|
isActive: boolean;
|
|
141
152
|
state: string;
|
|
142
|
-
displayName: string;
|
|
143
153
|
avatarSeed: string;
|
|
144
154
|
showHeader: boolean;
|
|
145
155
|
avatarImageUrl: string;
|
|
156
|
+
displayName: string;
|
|
146
157
|
shortTime: string;
|
|
147
158
|
}, {}>;
|
|
148
159
|
export default _default;
|
|
@@ -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":";IAsBI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA5DH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export namespace FEED_ROW_STATE_BACKGROUND_COLOR {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
let NORMAL: string;
|
|
3
|
+
let SEARCHED: string;
|
|
4
|
+
let ERROR: string;
|
|
5
5
|
}
|
|
6
6
|
export const DEFAULT_FEED_ROW_STATE: "NORMAL";
|
|
7
7
|
declare namespace _default {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export namespace FEED_ITEM_PILL_BORDER_COLORS {
|
|
2
|
-
|
|
2
|
+
let _default: string;
|
|
3
3
|
export { _default as default };
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export let ai: string;
|
|
5
|
+
export let critical: string;
|
|
6
6
|
}
|
|
7
7
|
declare namespace _default {
|
|
8
8
|
export { FEED_ITEM_PILL_BORDER_COLORS };
|
|
@@ -140,27 +140,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
140
|
default: string;
|
|
141
141
|
};
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* Props to pass into the emoji picker.
|
|
144
144
|
*/
|
|
145
|
-
|
|
146
|
-
type:
|
|
147
|
-
default: () =>
|
|
148
|
-
|
|
149
|
-
emojiSkinSelectorButtonTooltipLabel: {
|
|
150
|
-
type: StringConstructor;
|
|
151
|
-
default: string;
|
|
152
|
-
};
|
|
153
|
-
emojiSearchNoResultsLabel: {
|
|
154
|
-
type: StringConstructor;
|
|
155
|
-
default: string;
|
|
156
|
-
};
|
|
157
|
-
emojiSearchResultsLabel: {
|
|
158
|
-
type: StringConstructor;
|
|
159
|
-
default: string;
|
|
160
|
-
};
|
|
161
|
-
emojiSearchPlaceholderLabel: {
|
|
162
|
-
type: StringConstructor;
|
|
163
|
-
default: string;
|
|
145
|
+
emojiPickerProps: {
|
|
146
|
+
type: ObjectConstructor;
|
|
147
|
+
default: () => {};
|
|
148
|
+
validate(emojiPickerProps: any): boolean;
|
|
164
149
|
};
|
|
165
150
|
/**
|
|
166
151
|
* Emoji button tooltip label
|
|
@@ -226,13 +211,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
211
|
type: StringConstructor;
|
|
227
212
|
default: string;
|
|
228
213
|
};
|
|
229
|
-
/**
|
|
230
|
-
* Skin tone to display in the emoji picker
|
|
231
|
-
*/
|
|
232
|
-
skinTone: {
|
|
233
|
-
type: StringConstructor;
|
|
234
|
-
default: string;
|
|
235
|
-
};
|
|
236
214
|
}, any, {
|
|
237
215
|
internalInputValue: string | Record<string, any>;
|
|
238
216
|
hasFocus: boolean;
|
|
@@ -262,7 +240,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
262
240
|
onCancel(): void;
|
|
263
241
|
noticeClose(): void;
|
|
264
242
|
focus(): void;
|
|
265
|
-
}, never, import("vue").ComponentOptionsMixin, ("submit" | "cancel" | "skin-tone" | "select-media" | "add-media" | "notice-close")[], "submit" | "cancel" | "skin-tone" | "select-media" | "add-media" | "notice-close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
243
|
+
}, never, import("vue").ComponentOptionsMixin, ("submit" | "cancel" | "selected-emoji" | "skin-tone" | "select-media" | "add-media" | "notice-close")[], "submit" | "cancel" | "selected-emoji" | "skin-tone" | "select-media" | "add-media" | "notice-close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
266
244
|
/**
|
|
267
245
|
* Value of the input. The object format should match TipTap's JSON
|
|
268
246
|
* document structure: https://tiptap.dev/guide/output#option-1-json
|
|
@@ -404,27 +382,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
404
382
|
default: string;
|
|
405
383
|
};
|
|
406
384
|
/**
|
|
407
|
-
*
|
|
385
|
+
* Props to pass into the emoji picker.
|
|
408
386
|
*/
|
|
409
|
-
|
|
410
|
-
type:
|
|
411
|
-
default: () =>
|
|
412
|
-
|
|
413
|
-
emojiSkinSelectorButtonTooltipLabel: {
|
|
414
|
-
type: StringConstructor;
|
|
415
|
-
default: string;
|
|
416
|
-
};
|
|
417
|
-
emojiSearchNoResultsLabel: {
|
|
418
|
-
type: StringConstructor;
|
|
419
|
-
default: string;
|
|
420
|
-
};
|
|
421
|
-
emojiSearchResultsLabel: {
|
|
422
|
-
type: StringConstructor;
|
|
423
|
-
default: string;
|
|
424
|
-
};
|
|
425
|
-
emojiSearchPlaceholderLabel: {
|
|
426
|
-
type: StringConstructor;
|
|
427
|
-
default: string;
|
|
387
|
+
emojiPickerProps: {
|
|
388
|
+
type: ObjectConstructor;
|
|
389
|
+
default: () => {};
|
|
390
|
+
validate(emojiPickerProps: any): boolean;
|
|
428
391
|
};
|
|
429
392
|
/**
|
|
430
393
|
* Emoji button tooltip label
|
|
@@ -490,27 +453,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
490
453
|
type: StringConstructor;
|
|
491
454
|
default: string;
|
|
492
455
|
};
|
|
493
|
-
/**
|
|
494
|
-
* Skin tone to display in the emoji picker
|
|
495
|
-
*/
|
|
496
|
-
skinTone: {
|
|
497
|
-
type: StringConstructor;
|
|
498
|
-
default: string;
|
|
499
|
-
};
|
|
500
456
|
}>> & {
|
|
501
457
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
502
458
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
459
|
+
"onSelected-emoji"?: ((...args: any[]) => any) | undefined;
|
|
503
460
|
"onSkin-tone"?: ((...args: any[]) => any) | undefined;
|
|
504
461
|
"onSelect-media"?: ((...args: any[]) => any) | undefined;
|
|
505
462
|
"onAdd-media"?: ((...args: any[]) => any) | undefined;
|
|
506
463
|
"onNotice-close"?: ((...args: any[]) => any) | undefined;
|
|
507
464
|
}, {
|
|
508
465
|
link: boolean | Record<string, any>;
|
|
509
|
-
placeholder: string;
|
|
510
466
|
maxHeight: string;
|
|
511
467
|
modelValue: string | Record<string, any>;
|
|
512
468
|
inputClass: string;
|
|
513
|
-
|
|
469
|
+
placeholder: string;
|
|
514
470
|
editable: boolean;
|
|
515
471
|
inputAriaLabel: string;
|
|
516
472
|
autoFocus: string | number | boolean;
|
|
@@ -523,11 +479,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
523
479
|
showNotice: boolean;
|
|
524
480
|
noticeMessage: string;
|
|
525
481
|
noticeKind: string;
|
|
526
|
-
|
|
527
|
-
emojiSkinSelectorButtonTooltipLabel: string;
|
|
528
|
-
emojiSearchNoResultsLabel: string;
|
|
529
|
-
emojiSearchResultsLabel: string;
|
|
530
|
-
emojiSearchPlaceholderLabel: string;
|
|
482
|
+
emojiPickerProps: Record<string, any>;
|
|
531
483
|
emojiTooltipMessage: string;
|
|
532
484
|
emojiButtonAriaLabel: string;
|
|
533
485
|
imageButtonAriaLabel: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue.js"],"names":[],"mappings":";IAmCI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAQH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAQH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IASH;;;OAGG;;;;;IAQH;;OAEG
|
|
1
|
+
{"version":3,"file":"message_input.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/conversation_view/message_input/message_input.vue.js"],"names":[],"mappings":";IAmCI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAQH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAQH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IASH;;;OAGG;;;;;IAQH;;OAEG;;;;;;IAeH;;OAEG;;;;;IAQH;;OAEG;;;;;;;;;IAWH;;OAEG;;;;;;;;;IAWH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;MAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAnQF;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAQH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAQH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IASH;;;OAGG;;;;;IAQH;;OAEG;;;;;;IAeH;;OAEG;;;;;IAQH;;OAEG;;;;;;;;;IAWH;;OAEG;;;;;;;;;IAWH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;MAEE"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export namespace CALLBOX_BADGE_COLORS {
|
|
2
|
-
|
|
2
|
+
let warning: string;
|
|
3
3
|
}
|
|
4
4
|
export namespace CALLBOX_BORDER_COLORS {
|
|
5
|
-
|
|
5
|
+
let _default: string;
|
|
6
6
|
export { _default as default };
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export let ai: string;
|
|
8
|
+
export let critical: string;
|
|
9
9
|
}
|
|
10
10
|
declare namespace _default {
|
|
11
11
|
export { CALLBOX_BADGE_COLORS };
|
|
@@ -264,9 +264,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
264
264
|
onCall?: ((...args: any[]) => any) | undefined;
|
|
265
265
|
}, {
|
|
266
266
|
type: string;
|
|
267
|
-
color: string;
|
|
268
267
|
ariaLabel: string;
|
|
269
268
|
iconSize: string;
|
|
269
|
+
color: string;
|
|
270
270
|
muted: boolean;
|
|
271
271
|
selected: boolean;
|
|
272
272
|
hasUnreads: boolean;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export namespace LEFTBAR_GENERAL_ROW_TYPES {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
let INBOX: string;
|
|
3
|
+
let CONTACTS: string;
|
|
4
|
+
let CHANNELS: string;
|
|
5
|
+
let THREADS: string;
|
|
6
|
+
let LOCKED_CHANNEL: string;
|
|
7
|
+
let CONTACT_CENTER: string;
|
|
8
|
+
let QUICK_START: string;
|
|
9
|
+
let COACHING_GROUP: string;
|
|
10
|
+
let COACHING_CENTER: string;
|
|
11
|
+
let DIALBOT: string;
|
|
12
|
+
let ASSIGNED: string;
|
|
13
|
+
let DIGITAL: string;
|
|
14
14
|
}
|
|
15
15
|
export const LEFTBAR_GENERAL_ROW_ICON_MAPPING: {
|
|
16
16
|
[x: string]: string;
|
|
@@ -186,8 +186,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
186
186
|
"onAvatar-click"?: ((...args: any[]) => any) | undefined;
|
|
187
187
|
}, {
|
|
188
188
|
presence: string;
|
|
189
|
-
id: string;
|
|
190
189
|
role: string;
|
|
190
|
+
id: string;
|
|
191
191
|
avatarSrc: string;
|
|
192
192
|
avatarSeed: string;
|
|
193
193
|
avatarFullName: string;
|
package/package.json
CHANGED
|
@@ -1,33 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dialpad/dialtone-vue",
|
|
3
|
-
"version": "3.96.
|
|
3
|
+
"version": "3.96.2",
|
|
4
4
|
"description": "Vue component library for Dialpad's design system Dialtone",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "run-s clean build:main build:typescript build:documentation",
|
|
7
|
-
"build:typescript": "vue-tsc",
|
|
8
|
-
"build:main": "vite build",
|
|
9
|
-
"lint": "run-s lint:code lint:docs",
|
|
10
|
-
"build:documentation": "node scripts/build-docs.js",
|
|
11
|
-
"build:documentation:functions": "npx typedoc --plugin typedoc-plugin-markdown",
|
|
12
|
-
"clean": "rm -rf ./dist",
|
|
13
|
-
"install:all": "npm install && npm install --prefix generator-dialtone-vue",
|
|
14
|
-
"lint-staged:code": "eslint --ext .js,.vue --ignore-path .gitignore --fix",
|
|
15
|
-
"lint-staged:docs": "markdownlint --fix",
|
|
16
|
-
"lint:code": "eslint --ext .js,.vue --ignore-path .gitignore",
|
|
17
|
-
"lint:docs": "markdownlint '**/*.mdx'",
|
|
18
|
-
"prepublishOnly": "npm run build",
|
|
19
|
-
"pretest": "npm run clean",
|
|
20
|
-
"release": "./scripts/release.sh",
|
|
21
|
-
"start": "npm run storybook",
|
|
22
|
-
"storybook": "STORYBOOK_ENV=development storybook dev -p 9010",
|
|
23
|
-
"storybook:clean": "rm -rf ./storybook-static",
|
|
24
|
-
"storybook:build": "npm run build:documentation:functions && npm run storybook:clean && STORYBOOK_ENV=production storybook build && touch ./storybook-static/.nojekyll",
|
|
25
|
-
"storybook:build:docs-only": "STORYBOOK_ENV=production && build:documentation:functions && storybook build --docs",
|
|
26
|
-
"storybook:test": "test-storybook --url http://localhost:9010/",
|
|
27
|
-
"test": "vitest run --test-timeout=10000",
|
|
28
|
-
"test:one": "vitest related --run",
|
|
29
|
-
"test:watch": "vitest"
|
|
30
|
-
},
|
|
31
5
|
"files": [
|
|
32
6
|
"dist",
|
|
33
7
|
"types",
|
|
@@ -35,7 +9,7 @@
|
|
|
35
9
|
"CHANGELOG.json"
|
|
36
10
|
],
|
|
37
11
|
"dependencies": {
|
|
38
|
-
"@
|
|
12
|
+
"@tiptap/core": "^2.0.3",
|
|
39
13
|
"@tiptap/extension-code-block": "^2.0.3",
|
|
40
14
|
"@tiptap/extension-document": "^2.0.3",
|
|
41
15
|
"@tiptap/extension-hard-break": "^2.0.3",
|
|
@@ -49,29 +23,33 @@
|
|
|
49
23
|
"date-fns": "^2.30.0",
|
|
50
24
|
"emoji-regex": "^10.2.1",
|
|
51
25
|
"emoji-toolkit": "^6.6.0",
|
|
52
|
-
"tippy.js": "^6.3.7"
|
|
26
|
+
"tippy.js": "^6.3.7",
|
|
27
|
+
"@dialpad/dialtone-icons": "^4.1.1"
|
|
53
28
|
},
|
|
54
29
|
"devDependencies": {
|
|
55
30
|
"@commitlint/cli": "^17.6.6",
|
|
56
31
|
"@commitlint/config-conventional": "^17.6.6",
|
|
57
32
|
"@dialpad/conventional-changelog-angular": "^1.1.1",
|
|
58
|
-
"@dialpad/dialtone": "^8.21.4",
|
|
59
33
|
"@dialpad/semantic-release-changelog-json": "^1.0.0",
|
|
60
34
|
"@percy/cli": "^1.27.4",
|
|
61
|
-
"@percy/storybook": "^5.0.
|
|
35
|
+
"@percy/storybook": "^5.0.1",
|
|
62
36
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
63
37
|
"@semantic-release/changelog": "^6.0.3",
|
|
64
38
|
"@semantic-release/git": "^10.0.1",
|
|
65
|
-
"@storybook/addon-a11y": "^7.
|
|
66
|
-
"@storybook/addon-
|
|
67
|
-
"@storybook/addon-
|
|
68
|
-
"@storybook/
|
|
69
|
-
"@storybook/
|
|
70
|
-
"@storybook/
|
|
39
|
+
"@storybook/addon-a11y": "^7.6.1",
|
|
40
|
+
"@storybook/addon-actions": "^7.6.1",
|
|
41
|
+
"@storybook/addon-docs": "^7.6.1",
|
|
42
|
+
"@storybook/addon-essentials": "^7.6.1",
|
|
43
|
+
"@storybook/addon-links": "^7.6.1",
|
|
44
|
+
"@storybook/addon-mdx-gfm": "^7.6.1",
|
|
45
|
+
"@storybook/addon-viewport": "^7.6.1",
|
|
46
|
+
"@storybook/blocks": "^7.6.1",
|
|
47
|
+
"@storybook/manager-api": "^7.6.1",
|
|
48
|
+
"@storybook/test-runner": "^0.16.0",
|
|
71
49
|
"@storybook/testing-library": "^0.2.2",
|
|
72
|
-
"@storybook/theming": "^7.
|
|
73
|
-
"@storybook/vue3": "^7.
|
|
74
|
-
"@storybook/vue3-vite": "^7.
|
|
50
|
+
"@storybook/theming": "^7.6.1",
|
|
51
|
+
"@storybook/vue3": "^7.6.1",
|
|
52
|
+
"@storybook/vue3-vite": "^7.6.1",
|
|
75
53
|
"@vitejs/plugin-vue": "^4.5.0",
|
|
76
54
|
"@vue/test-utils": "^2.4.0",
|
|
77
55
|
"@vue/tsconfig": "^0.4.0",
|
|
@@ -103,9 +81,10 @@
|
|
|
103
81
|
"semantic-release": "^21.0.6",
|
|
104
82
|
"sinon": "^15.2.0",
|
|
105
83
|
"source-map-support": "^0.5.21",
|
|
106
|
-
"storybook": "^7.
|
|
107
|
-
"storybook-dark-mode": "^3.0.
|
|
84
|
+
"storybook": "^7.6.1",
|
|
85
|
+
"storybook-dark-mode": "^3.0.3",
|
|
108
86
|
"string-hash": "^1.1.3",
|
|
87
|
+
"tippy.js": "^6.3.7",
|
|
109
88
|
"typedoc": "^0.25.2",
|
|
110
89
|
"typedoc-plugin-markdown": "^3.16.0",
|
|
111
90
|
"vite": "^5.0.0",
|
|
@@ -116,7 +95,8 @@
|
|
|
116
95
|
"vue-docgen-api": "^4.73.0",
|
|
117
96
|
"vue-tsc": "^1.8.8",
|
|
118
97
|
"yo": "^4.3.1",
|
|
119
|
-
"yorkie": "^2.0.0"
|
|
98
|
+
"yorkie": "^2.0.0",
|
|
99
|
+
"@dialpad/dialtone": "^8.22.1"
|
|
120
100
|
},
|
|
121
101
|
"peerDependencies": {
|
|
122
102
|
"@dialpad/dialtone": "^7.30.0 || ^8.21.2",
|
|
@@ -205,11 +185,7 @@
|
|
|
205
185
|
"style": "./dist/style.css"
|
|
206
186
|
}
|
|
207
187
|
},
|
|
208
|
-
"
|
|
209
|
-
"pre-commit": "lint-staged",
|
|
210
|
-
"commit-msg": "./scripts/commit-msg"
|
|
211
|
-
},
|
|
212
|
-
"homepage": "https://vue.dialpad.design",
|
|
188
|
+
"homepage": "https://dialtone.dialpad.com/vue3",
|
|
213
189
|
"keywords": [
|
|
214
190
|
"Dialpad",
|
|
215
191
|
"Dialtone",
|
|
@@ -217,8 +193,32 @@
|
|
|
217
193
|
"Design System",
|
|
218
194
|
"Components",
|
|
219
195
|
"Component Library",
|
|
220
|
-
"Vue"
|
|
196
|
+
"Vue",
|
|
197
|
+
"Storybook"
|
|
221
198
|
],
|
|
222
199
|
"license": "MIT",
|
|
223
|
-
"
|
|
224
|
-
|
|
200
|
+
"scripts": {
|
|
201
|
+
"build": "run-s clean build:main build:typescript build:documentation",
|
|
202
|
+
"build:main": "vite build",
|
|
203
|
+
"build:typescript": "vue-tsc",
|
|
204
|
+
"lint": "run-s lint:code lint:docs",
|
|
205
|
+
"build:documentation": "node scripts/build-docs.js",
|
|
206
|
+
"build:documentation:functions": "pnpm exec typedoc --plugin typedoc-plugin-markdown",
|
|
207
|
+
"clean": "rm -rf ./dist",
|
|
208
|
+
"lint-staged:code": "pnpm run lint:code --fix",
|
|
209
|
+
"lint-staged:docs": "pnpm run lint:docs --fix",
|
|
210
|
+
"lint:code": "eslint . --ext .js,.vue --ignore-path .gitignore",
|
|
211
|
+
"lint:docs": "markdownlint '**/*.mdx'",
|
|
212
|
+
"pretest": "pnpm run clean",
|
|
213
|
+
"start": "pnpm run storybook",
|
|
214
|
+
"storybook": "STORYBOOK_ENV=development storybook dev -p 9010",
|
|
215
|
+
"storybook:clean": "rm -rf ./storybook-static",
|
|
216
|
+
"storybook:build": "pnpm run storybook:clean && pnpm run build:documentation:functions && STORYBOOK_ENV=production pnpm exec storybook build",
|
|
217
|
+
"storybook:build:docs-only": "pnpm run storybook:build --docs",
|
|
218
|
+
"test:a11y": "pnpm exec test-storybook --url http://localhost:9010/",
|
|
219
|
+
"test:visual": "pnpm exec percy storybook --disable-cache --config ./percy.config.cjs --verbose ./storybook-static",
|
|
220
|
+
"test": "pnpm exec vitest run --test-timeout=10000",
|
|
221
|
+
"test:one": "pnpm exec vitest related --run",
|
|
222
|
+
"test:watch": "pnpm exec vitest"
|
|
223
|
+
}
|
|
224
|
+
}
|