@dialpad/dialtone 9.86.1 → 9.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (618) hide show
  1. package/README.md +0 -16
  2. package/dist/css/dialtone-default-theme.css +1133 -4
  3. package/dist/css/dialtone-default-theme.min.css +1 -1
  4. package/dist/css/dialtone.css +1133 -4
  5. package/dist/css/dialtone.min.css +1 -1
  6. package/dist/tokens/doc.json +11269 -11269
  7. package/dist/vue2/_virtual/_plugin-vue2_normalizer.cjs +0 -3
  8. package/dist/vue2/_virtual/_plugin-vue2_normalizer.cjs.map +1 -1
  9. package/dist/vue2/_virtual/_plugin-vue2_normalizer.js +0 -3
  10. package/dist/vue2/_virtual/_plugin-vue2_normalizer.js.map +1 -1
  11. package/dist/vue2/common/sr_only_close_button.vue.cjs +1 -4
  12. package/dist/vue2/common/sr_only_close_button.vue.cjs.map +1 -1
  13. package/dist/vue2/common/sr_only_close_button.vue.js +1 -4
  14. package/dist/vue2/common/sr_only_close_button.vue.js.map +1 -1
  15. package/dist/vue2/component-documentation.json +1 -1
  16. package/dist/vue2/components/avatar/avatar.vue.cjs +1 -4
  17. package/dist/vue2/components/avatar/avatar.vue.cjs.map +1 -1
  18. package/dist/vue2/components/avatar/avatar.vue.js +1 -4
  19. package/dist/vue2/components/avatar/avatar.vue.js.map +1 -1
  20. package/dist/vue2/components/badge/badge.vue.cjs +1 -4
  21. package/dist/vue2/components/badge/badge.vue.cjs.map +1 -1
  22. package/dist/vue2/components/badge/badge.vue.js +1 -4
  23. package/dist/vue2/components/badge/badge.vue.js.map +1 -1
  24. package/dist/vue2/components/banner/banner.vue.cjs +1 -4
  25. package/dist/vue2/components/banner/banner.vue.cjs.map +1 -1
  26. package/dist/vue2/components/banner/banner.vue.js +1 -4
  27. package/dist/vue2/components/banner/banner.vue.js.map +1 -1
  28. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.cjs +1 -4
  29. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.cjs.map +1 -1
  30. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.js +1 -4
  31. package/dist/vue2/components/breadcrumbs/breadcrumb_item.vue.js.map +1 -1
  32. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.cjs +1 -4
  33. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.cjs.map +1 -1
  34. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.js +1 -4
  35. package/dist/vue2/components/breadcrumbs/breadcrumbs.vue.js.map +1 -1
  36. package/dist/vue2/components/button/button.vue.cjs +1 -4
  37. package/dist/vue2/components/button/button.vue.cjs.map +1 -1
  38. package/dist/vue2/components/button/button.vue.js +1 -4
  39. package/dist/vue2/components/button/button.vue.js.map +1 -1
  40. package/dist/vue2/components/button_group/button_group.vue.cjs +1 -4
  41. package/dist/vue2/components/button_group/button_group.vue.cjs.map +1 -1
  42. package/dist/vue2/components/button_group/button_group.vue.js +1 -4
  43. package/dist/vue2/components/button_group/button_group.vue.js.map +1 -1
  44. package/dist/vue2/components/card/card.vue.cjs +1 -4
  45. package/dist/vue2/components/card/card.vue.cjs.map +1 -1
  46. package/dist/vue2/components/card/card.vue.js +1 -4
  47. package/dist/vue2/components/card/card.vue.js.map +1 -1
  48. package/dist/vue2/components/checkbox/checkbox.vue.cjs +1 -4
  49. package/dist/vue2/components/checkbox/checkbox.vue.cjs.map +1 -1
  50. package/dist/vue2/components/checkbox/checkbox.vue.js +1 -4
  51. package/dist/vue2/components/checkbox/checkbox.vue.js.map +1 -1
  52. package/dist/vue2/components/checkbox_group/checkbox_group.vue.cjs +1 -4
  53. package/dist/vue2/components/checkbox_group/checkbox_group.vue.cjs.map +1 -1
  54. package/dist/vue2/components/checkbox_group/checkbox_group.vue.js +1 -4
  55. package/dist/vue2/components/checkbox_group/checkbox_group.vue.js.map +1 -1
  56. package/dist/vue2/components/chip/chip.vue.cjs +1 -4
  57. package/dist/vue2/components/chip/chip.vue.cjs.map +1 -1
  58. package/dist/vue2/components/chip/chip.vue.js +1 -4
  59. package/dist/vue2/components/chip/chip.vue.js.map +1 -1
  60. package/dist/vue2/components/codeblock/codeblock.vue.cjs +1 -4
  61. package/dist/vue2/components/codeblock/codeblock.vue.cjs.map +1 -1
  62. package/dist/vue2/components/codeblock/codeblock.vue.js +1 -4
  63. package/dist/vue2/components/codeblock/codeblock.vue.js.map +1 -1
  64. package/dist/vue2/components/collapsible/collapsible.vue.cjs +1 -4
  65. package/dist/vue2/components/collapsible/collapsible.vue.cjs.map +1 -1
  66. package/dist/vue2/components/collapsible/collapsible.vue.js +1 -4
  67. package/dist/vue2/components/collapsible/collapsible.vue.js.map +1 -1
  68. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.cjs +1 -4
  69. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.cjs.map +1 -1
  70. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.js +1 -4
  71. package/dist/vue2/components/collapsible/collapsible_lazy_show.vue.js.map +1 -1
  72. package/dist/vue2/components/combobox/combobox.vue.cjs +1 -4
  73. package/dist/vue2/components/combobox/combobox.vue.cjs.map +1 -1
  74. package/dist/vue2/components/combobox/combobox.vue.js +1 -4
  75. package/dist/vue2/components/combobox/combobox.vue.js.map +1 -1
  76. package/dist/vue2/components/combobox/combobox_empty-list.vue.cjs +1 -4
  77. package/dist/vue2/components/combobox/combobox_empty-list.vue.cjs.map +1 -1
  78. package/dist/vue2/components/combobox/combobox_empty-list.vue.js +1 -4
  79. package/dist/vue2/components/combobox/combobox_empty-list.vue.js.map +1 -1
  80. package/dist/vue2/components/combobox/combobox_loading-list.vue.cjs +1 -4
  81. package/dist/vue2/components/combobox/combobox_loading-list.vue.cjs.map +1 -1
  82. package/dist/vue2/components/combobox/combobox_loading-list.vue.js +1 -4
  83. package/dist/vue2/components/combobox/combobox_loading-list.vue.js.map +1 -1
  84. package/dist/vue2/components/datepicker/datepicker.vue.cjs +1 -4
  85. package/dist/vue2/components/datepicker/datepicker.vue.cjs.map +1 -1
  86. package/dist/vue2/components/datepicker/datepicker.vue.js +1 -4
  87. package/dist/vue2/components/datepicker/datepicker.vue.js.map +1 -1
  88. package/dist/vue2/components/datepicker/modules/calendar.vue.cjs +1 -4
  89. package/dist/vue2/components/datepicker/modules/calendar.vue.cjs.map +1 -1
  90. package/dist/vue2/components/datepicker/modules/calendar.vue.js +1 -4
  91. package/dist/vue2/components/datepicker/modules/calendar.vue.js.map +1 -1
  92. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.cjs +1 -4
  93. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.cjs.map +1 -1
  94. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.js +1 -4
  95. package/dist/vue2/components/datepicker/modules/month-year-picker.vue.js.map +1 -1
  96. package/dist/vue2/components/description_list/description_list.vue.cjs +1 -4
  97. package/dist/vue2/components/description_list/description_list.vue.cjs.map +1 -1
  98. package/dist/vue2/components/description_list/description_list.vue.js +1 -4
  99. package/dist/vue2/components/description_list/description_list.vue.js.map +1 -1
  100. package/dist/vue2/components/dropdown/dropdown.vue.cjs +1 -4
  101. package/dist/vue2/components/dropdown/dropdown.vue.cjs.map +1 -1
  102. package/dist/vue2/components/dropdown/dropdown.vue.js +1 -4
  103. package/dist/vue2/components/dropdown/dropdown.vue.js.map +1 -1
  104. package/dist/vue2/components/dropdown/dropdown_separator.vue.cjs +1 -4
  105. package/dist/vue2/components/dropdown/dropdown_separator.vue.cjs.map +1 -1
  106. package/dist/vue2/components/dropdown/dropdown_separator.vue.js +1 -4
  107. package/dist/vue2/components/dropdown/dropdown_separator.vue.js.map +1 -1
  108. package/dist/vue2/components/emoji/emoji.vue.cjs +1 -4
  109. package/dist/vue2/components/emoji/emoji.vue.cjs.map +1 -1
  110. package/dist/vue2/components/emoji/emoji.vue.js +1 -4
  111. package/dist/vue2/components/emoji/emoji.vue.js.map +1 -1
  112. package/dist/vue2/components/emoji_picker/emoji_picker.vue.cjs +1 -4
  113. package/dist/vue2/components/emoji_picker/emoji_picker.vue.cjs.map +1 -1
  114. package/dist/vue2/components/emoji_picker/emoji_picker.vue.js +1 -4
  115. package/dist/vue2/components/emoji_picker/emoji_picker.vue.js.map +1 -1
  116. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.cjs +1 -4
  117. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.cjs.map +1 -1
  118. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.js +1 -4
  119. package/dist/vue2/components/emoji_picker/modules/emoji_description.vue.js.map +1 -1
  120. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.cjs +1 -4
  121. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.cjs.map +1 -1
  122. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.js +1 -4
  123. package/dist/vue2/components/emoji_picker/modules/emoji_search.vue.js.map +1 -1
  124. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.cjs +1 -4
  125. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.cjs.map +1 -1
  126. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.js +1 -4
  127. package/dist/vue2/components/emoji_picker/modules/emoji_selector.vue.js.map +1 -1
  128. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.cjs +1 -4
  129. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.cjs.map +1 -1
  130. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.js +1 -4
  131. package/dist/vue2/components/emoji_picker/modules/emoji_skin_selector.vue.js.map +1 -1
  132. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.cjs +1 -4
  133. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.cjs.map +1 -1
  134. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.js +1 -4
  135. package/dist/vue2/components/emoji_picker/modules/emoji_tabset.vue.js.map +1 -1
  136. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs +1 -4
  137. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.cjs.map +1 -1
  138. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.js +1 -4
  139. package/dist/vue2/components/emoji_text_wrapper/emoji_text_wrapper.vue.js.map +1 -1
  140. package/dist/vue2/components/empty_state/empty_state.vue.cjs +1 -4
  141. package/dist/vue2/components/empty_state/empty_state.vue.cjs.map +1 -1
  142. package/dist/vue2/components/empty_state/empty_state.vue.js +1 -4
  143. package/dist/vue2/components/empty_state/empty_state.vue.js.map +1 -1
  144. package/dist/vue2/components/hovercard/hovercard.vue.cjs +1 -4
  145. package/dist/vue2/components/hovercard/hovercard.vue.cjs.map +1 -1
  146. package/dist/vue2/components/hovercard/hovercard.vue.js +1 -4
  147. package/dist/vue2/components/hovercard/hovercard.vue.js.map +1 -1
  148. package/dist/vue2/components/icon/icon.vue.cjs +1 -4
  149. package/dist/vue2/components/icon/icon.vue.cjs.map +1 -1
  150. package/dist/vue2/components/icon/icon.vue.js +1 -4
  151. package/dist/vue2/components/icon/icon.vue.js.map +1 -1
  152. package/dist/vue2/components/illustration/illustration.vue.cjs +1 -4
  153. package/dist/vue2/components/illustration/illustration.vue.cjs.map +1 -1
  154. package/dist/vue2/components/illustration/illustration.vue.js +1 -4
  155. package/dist/vue2/components/illustration/illustration.vue.js.map +1 -1
  156. package/dist/vue2/components/image_viewer/image_viewer.vue.cjs +1 -4
  157. package/dist/vue2/components/image_viewer/image_viewer.vue.cjs.map +1 -1
  158. package/dist/vue2/components/image_viewer/image_viewer.vue.js +1 -4
  159. package/dist/vue2/components/image_viewer/image_viewer.vue.js.map +1 -1
  160. package/dist/vue2/components/input/input.vue.cjs +1 -4
  161. package/dist/vue2/components/input/input.vue.cjs.map +1 -1
  162. package/dist/vue2/components/input/input.vue.js +1 -4
  163. package/dist/vue2/components/input/input.vue.js.map +1 -1
  164. package/dist/vue2/components/input_group/input_group.vue.cjs +1 -4
  165. package/dist/vue2/components/input_group/input_group.vue.cjs.map +1 -1
  166. package/dist/vue2/components/input_group/input_group.vue.js +1 -4
  167. package/dist/vue2/components/input_group/input_group.vue.js.map +1 -1
  168. package/dist/vue2/components/item_layout/item_layout.vue.cjs +2 -5
  169. package/dist/vue2/components/item_layout/item_layout.vue.cjs.map +1 -1
  170. package/dist/vue2/components/item_layout/item_layout.vue.js +2 -5
  171. package/dist/vue2/components/item_layout/item_layout.vue.js.map +1 -1
  172. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.cjs +1 -4
  173. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.cjs.map +1 -1
  174. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.js +1 -4
  175. package/dist/vue2/components/keyboard_shortcut/keyboard_shortcut.vue.js.map +1 -1
  176. package/dist/vue2/components/lazy_show/lazy_show.vue.cjs +1 -4
  177. package/dist/vue2/components/lazy_show/lazy_show.vue.cjs.map +1 -1
  178. package/dist/vue2/components/lazy_show/lazy_show.vue.js +1 -4
  179. package/dist/vue2/components/lazy_show/lazy_show.vue.js.map +1 -1
  180. package/dist/vue2/components/link/link.vue.cjs +1 -4
  181. package/dist/vue2/components/link/link.vue.cjs.map +1 -1
  182. package/dist/vue2/components/link/link.vue.js +1 -4
  183. package/dist/vue2/components/link/link.vue.js.map +1 -1
  184. package/dist/vue2/components/list_item/list_item.vue.cjs +1 -4
  185. package/dist/vue2/components/list_item/list_item.vue.cjs.map +1 -1
  186. package/dist/vue2/components/list_item/list_item.vue.js +1 -4
  187. package/dist/vue2/components/list_item/list_item.vue.js.map +1 -1
  188. package/dist/vue2/components/list_item_group/list_item_group.vue.cjs +1 -4
  189. package/dist/vue2/components/list_item_group/list_item_group.vue.cjs.map +1 -1
  190. package/dist/vue2/components/list_item_group/list_item_group.vue.js +1 -4
  191. package/dist/vue2/components/list_item_group/list_item_group.vue.js.map +1 -1
  192. package/dist/vue2/components/modal/modal.vue.cjs +1 -4
  193. package/dist/vue2/components/modal/modal.vue.cjs.map +1 -1
  194. package/dist/vue2/components/modal/modal.vue.js +1 -4
  195. package/dist/vue2/components/modal/modal.vue.js.map +1 -1
  196. package/dist/vue2/components/notice/notice.vue.cjs +1 -4
  197. package/dist/vue2/components/notice/notice.vue.cjs.map +1 -1
  198. package/dist/vue2/components/notice/notice.vue.js +1 -4
  199. package/dist/vue2/components/notice/notice.vue.js.map +1 -1
  200. package/dist/vue2/components/notice/notice_action.vue.cjs +1 -4
  201. package/dist/vue2/components/notice/notice_action.vue.cjs.map +1 -1
  202. package/dist/vue2/components/notice/notice_action.vue.js +1 -4
  203. package/dist/vue2/components/notice/notice_action.vue.js.map +1 -1
  204. package/dist/vue2/components/notice/notice_content.vue.cjs +1 -4
  205. package/dist/vue2/components/notice/notice_content.vue.cjs.map +1 -1
  206. package/dist/vue2/components/notice/notice_content.vue.js +1 -4
  207. package/dist/vue2/components/notice/notice_content.vue.js.map +1 -1
  208. package/dist/vue2/components/notice/notice_icon.vue.cjs +1 -4
  209. package/dist/vue2/components/notice/notice_icon.vue.cjs.map +1 -1
  210. package/dist/vue2/components/notice/notice_icon.vue.js +1 -4
  211. package/dist/vue2/components/notice/notice_icon.vue.js.map +1 -1
  212. package/dist/vue2/components/pagination/pagination.vue.cjs +1 -4
  213. package/dist/vue2/components/pagination/pagination.vue.cjs.map +1 -1
  214. package/dist/vue2/components/pagination/pagination.vue.js +1 -4
  215. package/dist/vue2/components/pagination/pagination.vue.js.map +1 -1
  216. package/dist/vue2/components/popover/popover.vue.cjs +1 -4
  217. package/dist/vue2/components/popover/popover.vue.cjs.map +1 -1
  218. package/dist/vue2/components/popover/popover.vue.js +1 -4
  219. package/dist/vue2/components/popover/popover.vue.js.map +1 -1
  220. package/dist/vue2/components/popover/popover_header_footer.vue.cjs +1 -4
  221. package/dist/vue2/components/popover/popover_header_footer.vue.cjs.map +1 -1
  222. package/dist/vue2/components/popover/popover_header_footer.vue.js +1 -4
  223. package/dist/vue2/components/popover/popover_header_footer.vue.js.map +1 -1
  224. package/dist/vue2/components/presence/presence.vue.cjs +1 -4
  225. package/dist/vue2/components/presence/presence.vue.cjs.map +1 -1
  226. package/dist/vue2/components/presence/presence.vue.js +1 -4
  227. package/dist/vue2/components/presence/presence.vue.js.map +1 -1
  228. package/dist/vue2/components/radio/radio.vue.cjs +1 -4
  229. package/dist/vue2/components/radio/radio.vue.cjs.map +1 -1
  230. package/dist/vue2/components/radio/radio.vue.js +1 -4
  231. package/dist/vue2/components/radio/radio.vue.js.map +1 -1
  232. package/dist/vue2/components/radio_group/radio_group.vue.cjs +1 -4
  233. package/dist/vue2/components/radio_group/radio_group.vue.cjs.map +1 -1
  234. package/dist/vue2/components/radio_group/radio_group.vue.js +1 -4
  235. package/dist/vue2/components/radio_group/radio_group.vue.js.map +1 -1
  236. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs +1 -4
  237. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.cjs.map +1 -1
  238. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js +1 -4
  239. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelComponent.vue.js.map +1 -1
  240. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs +1 -4
  241. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.cjs.map +1 -1
  242. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js +1 -4
  243. package/dist/vue2/components/rich_text_editor/extensions/channels/ChannelSuggestion.vue.js.map +1 -1
  244. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs +1 -4
  245. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.cjs.map +1 -1
  246. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js +1 -4
  247. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiComponent.vue.js.map +1 -1
  248. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs +1 -4
  249. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.cjs.map +1 -1
  250. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js +1 -4
  251. package/dist/vue2/components/rich_text_editor/extensions/emoji/EmojiSuggestion.vue.js.map +1 -1
  252. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs +1 -4
  253. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.cjs.map +1 -1
  254. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js +1 -4
  255. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionComponent.vue.js.map +1 -1
  256. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs +1 -4
  257. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.cjs.map +1 -1
  258. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js +1 -4
  259. package/dist/vue2/components/rich_text_editor/extensions/mentions/MentionSuggestion.vue.js.map +1 -1
  260. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs +1 -4
  261. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.cjs.map +1 -1
  262. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js +1 -4
  263. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandComponent.vue.js.map +1 -1
  264. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs +1 -4
  265. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.cjs.map +1 -1
  266. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js +1 -4
  267. package/dist/vue2/components/rich_text_editor/extensions/slash_command/SlashCommandSuggestion.vue.js.map +1 -1
  268. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs +1 -4
  269. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.cjs.map +1 -1
  270. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js +1 -4
  271. package/dist/vue2/components/rich_text_editor/extensions/suggestion/SuggestionList.vue.js.map +1 -1
  272. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.cjs +43 -27
  273. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -1
  274. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.js +43 -27
  275. package/dist/vue2/components/rich_text_editor/rich_text_editor.vue.js.map +1 -1
  276. package/dist/vue2/components/root_layout/root_layout.vue.cjs +1 -4
  277. package/dist/vue2/components/root_layout/root_layout.vue.cjs.map +1 -1
  278. package/dist/vue2/components/root_layout/root_layout.vue.js +1 -4
  279. package/dist/vue2/components/root_layout/root_layout.vue.js.map +1 -1
  280. package/dist/vue2/components/select_menu/select_menu.vue.cjs +1 -4
  281. package/dist/vue2/components/select_menu/select_menu.vue.cjs.map +1 -1
  282. package/dist/vue2/components/select_menu/select_menu.vue.js +1 -4
  283. package/dist/vue2/components/select_menu/select_menu.vue.js.map +1 -1
  284. package/dist/vue2/components/skeleton/skeleton-list-item.vue.cjs +1 -4
  285. package/dist/vue2/components/skeleton/skeleton-list-item.vue.cjs.map +1 -1
  286. package/dist/vue2/components/skeleton/skeleton-list-item.vue.js +1 -4
  287. package/dist/vue2/components/skeleton/skeleton-list-item.vue.js.map +1 -1
  288. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.cjs +1 -4
  289. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.cjs.map +1 -1
  290. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.js +1 -4
  291. package/dist/vue2/components/skeleton/skeleton-paragraph.vue.js.map +1 -1
  292. package/dist/vue2/components/skeleton/skeleton-shape.vue.cjs +1 -4
  293. package/dist/vue2/components/skeleton/skeleton-shape.vue.cjs.map +1 -1
  294. package/dist/vue2/components/skeleton/skeleton-shape.vue.js +1 -4
  295. package/dist/vue2/components/skeleton/skeleton-shape.vue.js.map +1 -1
  296. package/dist/vue2/components/skeleton/skeleton-text.vue.cjs +1 -4
  297. package/dist/vue2/components/skeleton/skeleton-text.vue.cjs.map +1 -1
  298. package/dist/vue2/components/skeleton/skeleton-text.vue.js +1 -4
  299. package/dist/vue2/components/skeleton/skeleton-text.vue.js.map +1 -1
  300. package/dist/vue2/components/skeleton/skeleton.vue.cjs +1 -4
  301. package/dist/vue2/components/skeleton/skeleton.vue.cjs.map +1 -1
  302. package/dist/vue2/components/skeleton/skeleton.vue.js +1 -4
  303. package/dist/vue2/components/skeleton/skeleton.vue.js.map +1 -1
  304. package/dist/vue2/components/split_button/split_button-alpha.vue.cjs +1 -4
  305. package/dist/vue2/components/split_button/split_button-alpha.vue.cjs.map +1 -1
  306. package/dist/vue2/components/split_button/split_button-alpha.vue.js +1 -4
  307. package/dist/vue2/components/split_button/split_button-alpha.vue.js.map +1 -1
  308. package/dist/vue2/components/split_button/split_button-omega.vue.cjs +1 -4
  309. package/dist/vue2/components/split_button/split_button-omega.vue.cjs.map +1 -1
  310. package/dist/vue2/components/split_button/split_button-omega.vue.js +1 -4
  311. package/dist/vue2/components/split_button/split_button-omega.vue.js.map +1 -1
  312. package/dist/vue2/components/split_button/split_button.vue.cjs +1 -4
  313. package/dist/vue2/components/split_button/split_button.vue.cjs.map +1 -1
  314. package/dist/vue2/components/split_button/split_button.vue.js +1 -4
  315. package/dist/vue2/components/split_button/split_button.vue.js.map +1 -1
  316. package/dist/vue2/components/stack/stack.vue.cjs +1 -4
  317. package/dist/vue2/components/stack/stack.vue.cjs.map +1 -1
  318. package/dist/vue2/components/stack/stack.vue.js +1 -4
  319. package/dist/vue2/components/stack/stack.vue.js.map +1 -1
  320. package/dist/vue2/components/tab/tab.vue.cjs +1 -4
  321. package/dist/vue2/components/tab/tab.vue.cjs.map +1 -1
  322. package/dist/vue2/components/tab/tab.vue.js +1 -4
  323. package/dist/vue2/components/tab/tab.vue.js.map +1 -1
  324. package/dist/vue2/components/tab/tab_group.vue.cjs +1 -4
  325. package/dist/vue2/components/tab/tab_group.vue.cjs.map +1 -1
  326. package/dist/vue2/components/tab/tab_group.vue.js +1 -4
  327. package/dist/vue2/components/tab/tab_group.vue.js.map +1 -1
  328. package/dist/vue2/components/tab/tab_panel.vue.cjs +1 -4
  329. package/dist/vue2/components/tab/tab_panel.vue.cjs.map +1 -1
  330. package/dist/vue2/components/tab/tab_panel.vue.js +1 -4
  331. package/dist/vue2/components/tab/tab_panel.vue.js.map +1 -1
  332. package/dist/vue2/components/toast/toast.vue.cjs +1 -4
  333. package/dist/vue2/components/toast/toast.vue.cjs.map +1 -1
  334. package/dist/vue2/components/toast/toast.vue.js +1 -4
  335. package/dist/vue2/components/toast/toast.vue.js.map +1 -1
  336. package/dist/vue2/components/toggle/toggle.vue.cjs +1 -4
  337. package/dist/vue2/components/toggle/toggle.vue.cjs.map +1 -1
  338. package/dist/vue2/components/toggle/toggle.vue.js +1 -4
  339. package/dist/vue2/components/toggle/toggle.vue.js.map +1 -1
  340. package/dist/vue2/components/tooltip/tooltip.vue.cjs +1 -4
  341. package/dist/vue2/components/tooltip/tooltip.vue.cjs.map +1 -1
  342. package/dist/vue2/components/tooltip/tooltip.vue.js +1 -4
  343. package/dist/vue2/components/tooltip/tooltip.vue.js.map +1 -1
  344. package/dist/vue2/components/validation_messages/validation_messages.vue.cjs +1 -4
  345. package/dist/vue2/components/validation_messages/validation_messages.vue.cjs.map +1 -1
  346. package/dist/vue2/components/validation_messages/validation_messages.vue.js +1 -4
  347. package/dist/vue2/components/validation_messages/validation_messages.vue.js.map +1 -1
  348. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.cjs +34 -12
  349. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -1
  350. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.js +34 -12
  351. package/dist/vue2/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -1
  352. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +31 -11
  353. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -1
  354. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +31 -11
  355. package/dist/vue2/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -1
  356. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.cjs +6 -10
  357. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -1
  358. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.js +6 -10
  359. package/dist/vue2/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -1
  360. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.cjs +3 -7
  361. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -1
  362. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.js +3 -7
  363. package/dist/vue2/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -1
  364. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +9 -10
  365. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -1
  366. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +9 -10
  367. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -1
  368. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs +1 -4
  369. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs.map +1 -1
  370. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js +1 -4
  371. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js.map +1 -1
  372. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs +4 -8
  373. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs.map +1 -1
  374. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js +4 -8
  375. package/dist/vue2/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js.map +1 -1
  376. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs +2 -6
  377. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs.map +1 -1
  378. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js +2 -6
  379. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js.map +1 -1
  380. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs +2 -6
  381. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs.map +1 -1
  382. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js +2 -6
  383. package/dist/vue2/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js.map +1 -1
  384. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs +22 -26
  385. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  386. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js +22 -26
  387. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  388. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +8 -9
  389. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -1
  390. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.js +8 -9
  391. package/dist/vue2/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -1
  392. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +7 -11
  393. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +1 -1
  394. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +7 -11
  395. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +1 -1
  396. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs +3 -3
  397. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs.map +1 -1
  398. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js +3 -3
  399. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js.map +1 -1
  400. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +10 -14
  401. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -1
  402. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +10 -14
  403. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -1
  404. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs +2 -2
  405. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs.map +1 -1
  406. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.js +2 -2
  407. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row_constants.js.map +1 -1
  408. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs +4 -8
  409. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs.map +1 -1
  410. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js +4 -8
  411. package/dist/vue2/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js.map +1 -1
  412. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.cjs +13 -17
  413. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  414. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.js +13 -17
  415. package/dist/vue2/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  416. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.cjs +2 -6
  417. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.cjs.map +1 -1
  418. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.js +2 -6
  419. package/dist/vue2/recipes/conversation_view/time_pill/time_pill.vue.js.map +1 -1
  420. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.cjs +3 -7
  421. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.cjs.map +1 -1
  422. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.js +3 -7
  423. package/dist/vue2/recipes/header/settings_menu_button/settings_menu_button.vue.js.map +1 -1
  424. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.cjs +3 -7
  425. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
  426. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.js +3 -7
  427. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
  428. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.cjs +4 -8
  429. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.cjs.map +1 -1
  430. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.js +4 -8
  431. package/dist/vue2/recipes/leftbar/callbox/callbox.vue.js.map +1 -1
  432. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.cjs +4 -4
  433. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.cjs.map +1 -1
  434. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.js +4 -4
  435. package/dist/vue2/recipes/leftbar/callbox/callbox_constants.js.map +1 -1
  436. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs +12 -16
  437. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs.map +1 -1
  438. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js +12 -16
  439. package/dist/vue2/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js.map +1 -1
  440. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.cjs +2 -5
  441. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -1
  442. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.js +2 -5
  443. package/dist/vue2/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -1
  444. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.cjs +28 -32
  445. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.cjs.map +1 -1
  446. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.js +28 -32
  447. package/dist/vue2/recipes/leftbar/general_row/general_row.vue.js.map +1 -1
  448. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +2 -5
  449. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -1
  450. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +2 -5
  451. package/dist/vue2/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -1
  452. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.cjs +1 -4
  453. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.cjs.map +1 -1
  454. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.js +1 -4
  455. package/dist/vue2/recipes/leftbar/group_row/group_row.vue.js.map +1 -1
  456. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.cjs +2 -6
  457. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.cjs.map +1 -1
  458. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.js +2 -6
  459. package/dist/vue2/recipes/leftbar/unread_pill/unread_pill.vue.js.map +1 -1
  460. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.cjs +2 -6
  461. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -1
  462. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.js +2 -6
  463. package/dist/vue2/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -1
  464. package/dist/vue2/types/common/emoji/index.d.ts +1904 -16
  465. package/dist/vue2/types/common/emoji/index.d.ts.map +1 -1
  466. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +11 -1
  467. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  468. package/dist/vue2/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts +27 -0
  469. package/dist/vue2/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts.map +1 -1
  470. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +27 -0
  471. package/dist/vue2/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  472. package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  473. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  474. package/dist/vue2/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  475. package/dist/vue2/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +4 -4
  476. package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +2 -2
  477. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +6 -6
  478. package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  479. package/dist/vue3/common/emoji.cjs +1 -1
  480. package/dist/vue3/common/emoji.cjs.map +1 -1
  481. package/dist/vue3/common/emoji.js +1 -1
  482. package/dist/vue3/common/emoji.js.map +1 -1
  483. package/dist/vue3/component-documentation.json +1 -1
  484. package/dist/vue3/components/item_layout/item_layout.vue.cjs +7 -7
  485. package/dist/vue3/components/item_layout/item_layout.vue.cjs.map +1 -1
  486. package/dist/vue3/components/item_layout/item_layout.vue.js +7 -7
  487. package/dist/vue3/components/item_layout/item_layout.vue.js.map +1 -1
  488. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.cjs +41 -22
  489. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.cjs.map +1 -1
  490. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.js +41 -22
  491. package/dist/vue3/components/rich_text_editor/rich_text_editor.vue.js.map +1 -1
  492. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.cjs +35 -8
  493. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.cjs.map +1 -1
  494. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.js +36 -9
  495. package/dist/vue3/recipes/buttons/callbar_button/callbar_button.vue.js.map +1 -1
  496. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs +35 -9
  497. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.cjs.map +1 -1
  498. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js +35 -9
  499. package/dist/vue3/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.js.map +1 -1
  500. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.cjs +7 -8
  501. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.cjs.map +1 -1
  502. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.js +7 -8
  503. package/dist/vue3/recipes/cards/ivr_node/ivr_node.vue.js.map +1 -1
  504. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.cjs +3 -4
  505. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.cjs.map +1 -1
  506. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.js +3 -4
  507. package/dist/vue3/recipes/chips/grouped_chip/grouped_chip.vue.js.map +1 -1
  508. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +13 -11
  509. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -1
  510. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +13 -11
  511. package/dist/vue3/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -1
  512. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs +4 -5
  513. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.cjs.map +1 -1
  514. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js +4 -5
  515. package/dist/vue3/recipes/conversation_view/attachment_carousel/attachment_carousel.vue.js.map +1 -1
  516. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs +5 -6
  517. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.cjs.map +1 -1
  518. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js +5 -6
  519. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/image_carousel.vue.js.map +1 -1
  520. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs +3 -4
  521. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.cjs.map +1 -1
  522. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js +3 -4
  523. package/dist/vue3/recipes/conversation_view/attachment_carousel/media_components/progress_bar.vue.js.map +1 -1
  524. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs +23 -23
  525. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  526. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js +23 -23
  527. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  528. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.cjs +8 -6
  529. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.cjs.map +1 -1
  530. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.js +8 -6
  531. package/dist/vue3/recipes/conversation_view/emoji_row/emoji_row.vue.js.map +1 -1
  532. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +14 -15
  533. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +1 -1
  534. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +14 -15
  535. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +1 -1
  536. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs +3 -3
  537. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.cjs.map +1 -1
  538. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js +3 -3
  539. package/dist/vue3/recipes/conversation_view/feed_item_pill/feed_item_pill_constants.js.map +1 -1
  540. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +28 -29
  541. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -1
  542. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +28 -29
  543. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -1
  544. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs +2 -2
  545. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.cjs.map +1 -1
  546. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.js +2 -2
  547. package/dist/vue3/recipes/conversation_view/feed_item_row/feed_item_row_constants.js.map +1 -1
  548. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs +4 -5
  549. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.cjs.map +1 -1
  550. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js +4 -5
  551. package/dist/vue3/recipes/conversation_view/message_input/extensions/meeting_pill/MeetingPill.vue.js.map +1 -1
  552. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.cjs +21 -22
  553. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.cjs.map +1 -1
  554. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.js +21 -22
  555. package/dist/vue3/recipes/conversation_view/message_input/message_input.vue.js.map +1 -1
  556. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.cjs +2 -3
  557. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.cjs.map +1 -1
  558. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.js +2 -3
  559. package/dist/vue3/recipes/conversation_view/time_pill/time_pill.vue.js.map +1 -1
  560. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.cjs +4 -5
  561. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.cjs.map +1 -1
  562. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.js +4 -5
  563. package/dist/vue3/recipes/header/settings_menu_button/settings_menu_button.vue.js.map +1 -1
  564. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.cjs +10 -11
  565. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
  566. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.js +10 -11
  567. package/dist/vue3/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
  568. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.cjs +24 -25
  569. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.cjs.map +1 -1
  570. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.js +24 -25
  571. package/dist/vue3/recipes/leftbar/callbox/callbox.vue.js.map +1 -1
  572. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.cjs +4 -4
  573. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.cjs.map +1 -1
  574. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.js +4 -4
  575. package/dist/vue3/recipes/leftbar/callbox/callbox_constants.js.map +1 -1
  576. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs +26 -27
  577. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.cjs.map +1 -1
  578. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js +26 -27
  579. package/dist/vue3/recipes/leftbar/contact_centers_row/contact_centers_row.vue.js.map +1 -1
  580. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.cjs +7 -7
  581. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.cjs.map +1 -1
  582. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.js +7 -7
  583. package/dist/vue3/recipes/leftbar/contact_row/contact_row.vue.js.map +1 -1
  584. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.cjs +41 -43
  585. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.cjs.map +1 -1
  586. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.js +42 -44
  587. package/dist/vue3/recipes/leftbar/general_row/general_row.vue.js.map +1 -1
  588. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs +1 -1
  589. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.cjs.map +1 -1
  590. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js +1 -1
  591. package/dist/vue3/recipes/leftbar/general_row/leftbar_general_row_icon.vue.js.map +1 -1
  592. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.cjs +3 -4
  593. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.cjs.map +1 -1
  594. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.js +3 -4
  595. package/dist/vue3/recipes/leftbar/unread_pill/unread_pill.vue.js.map +1 -1
  596. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.cjs +4 -5
  597. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.cjs.map +1 -1
  598. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.js +4 -5
  599. package/dist/vue3/recipes/notices/top_banner_info/top_banner_info.vue.js.map +1 -1
  600. package/dist/vue3/types/common/emoji/index.d.ts +1905 -17
  601. package/dist/vue3/types/common/emoji/index.d.ts.map +1 -1
  602. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +11 -1
  603. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  604. package/dist/vue3/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts +27 -0
  605. package/dist/vue3/types/recipes/buttons/callbar_button/callbar_button.vue.d.ts.map +1 -1
  606. package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts +27 -0
  607. package/dist/vue3/types/recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue.d.ts.map +1 -1
  608. package/dist/vue3/types/recipes/chips/grouped_chip/grouped_chip.vue.d.ts.map +1 -1
  609. package/dist/vue3/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  610. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -1
  611. package/dist/vue3/types/recipes/conversation_view/emoji_row/emoji_row.vue.d.ts.map +1 -1
  612. package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts +4 -4
  613. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +2 -2
  614. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +6 -6
  615. package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts.map +1 -1
  616. package/package.json +10 -10
  617. package/dist/vue2/style.css +0 -1424
  618. package/dist/vue3/style.css +0 -1427
@@ -3,7 +3,6 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const callbar_button_constants = require("./callbar_button_constants.cjs");
4
4
  const common_utils = require("../../../common/utils.cjs");
5
5
  const vue = require("vue");
6
- ;/* empty css */
7
6
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.cjs");
8
7
  const button = require("../../../components/button/button.vue.cjs");
9
8
  const tooltip = require("../../../components/tooltip/tooltip.vue.cjs");
@@ -98,6 +97,30 @@ const _sfc_main = {
98
97
  importance: {
99
98
  type: String,
100
99
  default: ""
100
+ },
101
+ /**
102
+ * Whether the tooltip has an inverted background color.
103
+ * @values true, false
104
+ */
105
+ invertedTooltip: {
106
+ type: Boolean,
107
+ default: false
108
+ },
109
+ /**
110
+ * Use this if you would like to manually override the logic for when the tooltip shows.
111
+ * Otherwise it will just show on hover/focus.
112
+ * @values null, true, false
113
+ */
114
+ showTooltip: {
115
+ type: Boolean,
116
+ default: null
117
+ },
118
+ /**
119
+ * The message that displays in the tooltip. This will be overridden by the tooltip slot.
120
+ */
121
+ tooltipText: {
122
+ type: String,
123
+ default: void 0
101
124
  }
102
125
  },
103
126
  emits: [
@@ -113,12 +136,12 @@ const _sfc_main = {
113
136
  callbarButtonClass() {
114
137
  return [
115
138
  this.buttonClass,
116
- "dt-recipe-callbar-button",
139
+ "d-recipe-callbar-button",
117
140
  "d-px0",
118
141
  {
119
- "dt-recipe-callbar-button--circle": this.circle,
120
- "dt-recipe-callbar-button--active": this.active,
121
- "dt-recipe-callbar-button--danger": this.danger,
142
+ "d-recipe-callbar-button--circle": this.circle,
143
+ "d-recipe-callbar-button--active": this.active,
144
+ "d-recipe-callbar-button--danger": this.danger,
122
145
  "d-btn--disabled d-bgc-transparent": this.disabled,
123
146
  "d-fc-primary": !this.disabled
124
147
  }
@@ -159,11 +182,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
159
182
  const _component_dt_tooltip = vue.resolveComponent("dt-tooltip");
160
183
  return vue.openBlock(), vue.createBlock(_component_dt_tooltip, {
161
184
  id: $props.id,
185
+ inverted: $props.invertedTooltip,
186
+ show: $props.showTooltip,
162
187
  offset: [0, 24]
163
188
  }, {
164
189
  anchor: vue.withCtx(() => [
165
190
  vue.createElementVNode("span", {
166
- class: vue.normalizeClass({ "dt-recipe-callbar-button--disabled": $props.disabled })
191
+ class: vue.normalizeClass({ "d-recipe-callbar-button--disabled": $props.disabled })
167
192
  }, [
168
193
  vue.createVNode(_component_dt_button, vue.mergeProps({
169
194
  importance: $options.buttonImportance,
@@ -186,10 +211,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
186
211
  ], 2)
187
212
  ]),
188
213
  default: vue.withCtx(() => [
189
- vue.renderSlot(_ctx.$slots, "tooltip")
214
+ vue.renderSlot(_ctx.$slots, "tooltip", {}, () => [
215
+ vue.createTextVNode(vue.toDisplayString($props.tooltipText), 1)
216
+ ])
190
217
  ]),
191
218
  _: 3
192
- }, 8, ["id"]);
219
+ }, 8, ["id", "inverted", "show"]);
193
220
  }
194
221
  const DtRecipeCallbarButton = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render]]);
195
222
  exports.default = DtRecipeCallbarButton;
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button.vue.cjs","sources":["../../../../recipes/buttons/callbar_button/callbar_button.vue"],"sourcesContent":["<template>\n <dt-tooltip\n :id=\"id\"\n :offset=\"[0, 24]\"\n >\n <template #anchor>\n <span\n :class=\"{ 'dt-recipe-callbar-button--disabled': disabled }\"\n >\n <dt-button\n :importance=\"buttonImportance\"\n kind=\"muted\"\n icon-position=\"top\"\n :aria-disabled=\"disabled\"\n :aria-label=\"ariaLabel\"\n :label-class=\"callbarButtonTextClass\"\n :width=\"buttonWidth\"\n :class=\"callbarButtonClass\"\n v-bind=\"$attrs\"\n v-on=\"callbarButtonListeners\"\n >\n <slot />\n <template #icon>\n <slot name=\"icon\" />\n </template>\n </dt-button>\n </span>\n </template>\n <slot name=\"tooltip\" />\n </dt-tooltip>\n</template>\n\n<script>\nimport { CALLBAR_BUTTON_VALID_WIDTH_SIZE } from './callbar_button_constants';\nimport { DtButton } from '@/components/button';\nimport { DtTooltip } from '@/components/tooltip';\nimport utils, { extractVueListeners } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButton',\n\n components: { DtButton, DtTooltip },\n\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the button is a circle or not.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n circle: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * The fill and outline of the button associated with its visual importance.\n * @values clear, outlined, primary\n */\n importance: {\n type: String,\n default: '',\n },\n\n },\n\n emits: [\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n ],\n\n computed: {\n callbarButtonClass () {\n return [\n this.buttonClass,\n 'dt-recipe-callbar-button',\n 'd-px0',\n {\n 'dt-recipe-callbar-button--circle': this.circle,\n 'dt-recipe-callbar-button--active': this.active,\n 'dt-recipe-callbar-button--danger': this.danger,\n 'd-btn--disabled d-bgc-transparent': this.disabled,\n 'd-fc-primary': !this.disabled,\n }];\n },\n\n callbarButtonTextClass () {\n return [\n 'd-fs-100 lg:d-d-none md:d-d-none sm:d-d-none',\n this.textClass,\n ];\n },\n\n buttonWidth () {\n switch (this.buttonWidthSize) {\n case 'sm':\n return '4.5rem';\n case 'md':\n return '6rem';\n default:\n return '8.4rem';\n }\n },\n\n buttonImportance () {\n if (this.importance) {\n return this.importance;\n }\n return this.circle ? 'outlined' : 'clear';\n },\n\n callbarButtonListeners () {\n return {\n ...extractVueListeners(this.$attrs),\n click: (event) => this.$emit('click', event),\n };\n },\n },\n};\n</script>\n\n<style lang=\"less\">\n.dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle) {\n line-height: var(--dt-font-line-height-300);\n}\n\n.dt-recipe-callbar-button--circle {\n border-radius: var(--dt-size-radius-circle);\n}\n\n.dt-recipe-callbar-button.d-btn[disabled] {\n background-color: unset;\n opacity: .5;\n}\n\n.dt-recipe-callbar-button--circle.d-btn[disabled] {\n border-color: unset;\n}\n\n.dt-recipe-callbar-button--active,\n.dt-recipe-callbar-button--active:hover {\n .base-button__icon {\n color: var(--primary-color);\n }\n}\n\n.dt-recipe-callbar-button--disabled {\n cursor: not-allowed;\n}\n</style>\n"],"names":["DtButton","DtTooltip","utils","this","CALLBAR_BUTTON_VALID_WIDTH_SIZE","extractVueListeners","_createBlock","_createElementVNode","_normalizeClass","_createVNode","_mergeProps","_toHandlers","_renderSlot","_withCtx"],"mappings":";;;;;;;;;AAsCA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAA,UAAEA,OAAQ,SAAA,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AsB,sBAAA,CAAA,GAAA;AAAA,UAGjB,kBACT,MAAoB;AAAA,YAApBC,eAAoB,KAAA,QAAA,MAAA;AAAA;UAvBhC,SAAAC,IAAA,QAqBU,MAAQ;AAAA,YAARD,eAAQ,KAAA,QAAA,SAAA;AAAA;UArBlB,GAAA;AAAA;;;IAAA,SAAAC,IAAA,QA4BI,MAAuB;AAAA,MAAvBD,eAAuB,KAAA,QAAA,SAAA;AAAA;IA5B3B,GAAA;AAAA;;;;"}
1
+ {"version":3,"file":"callbar_button.vue.cjs","sources":["../../../../recipes/buttons/callbar_button/callbar_button.vue"],"sourcesContent":["<template>\n <dt-tooltip\n :id=\"id\"\n :inverted=\"invertedTooltip\"\n :show=\"showTooltip\"\n :offset=\"[0, 24]\"\n >\n <template #anchor>\n <span\n :class=\"{ 'd-recipe-callbar-button--disabled': disabled }\"\n >\n <dt-button\n :importance=\"buttonImportance\"\n kind=\"muted\"\n icon-position=\"top\"\n :aria-disabled=\"disabled\"\n :aria-label=\"ariaLabel\"\n :label-class=\"callbarButtonTextClass\"\n :width=\"buttonWidth\"\n :class=\"callbarButtonClass\"\n v-bind=\"$attrs\"\n v-on=\"callbarButtonListeners\"\n >\n <slot />\n <template #icon>\n <slot name=\"icon\" />\n </template>\n </dt-button>\n </span>\n </template>\n <slot name=\"tooltip\">\n {{ tooltipText }}\n </slot>\n </dt-tooltip>\n</template>\n\n<script>\nimport { CALLBAR_BUTTON_VALID_WIDTH_SIZE } from './callbar_button_constants';\nimport { DtButton } from '@/components/button';\nimport { DtTooltip } from '@/components/tooltip';\nimport utils, { extractVueListeners } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButton',\n\n components: { DtButton, DtTooltip },\n\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the button is a circle or not.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n circle: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * The fill and outline of the button associated with its visual importance.\n * @values clear, outlined, primary\n */\n importance: {\n type: String,\n default: '',\n },\n\n /**\n * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n },\n\n emits: [\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n ],\n\n computed: {\n callbarButtonClass () {\n return [\n this.buttonClass,\n 'd-recipe-callbar-button',\n 'd-px0',\n {\n 'd-recipe-callbar-button--circle': this.circle,\n 'd-recipe-callbar-button--active': this.active,\n 'd-recipe-callbar-button--danger': this.danger,\n 'd-btn--disabled d-bgc-transparent': this.disabled,\n 'd-fc-primary': !this.disabled,\n }];\n },\n\n callbarButtonTextClass () {\n return [\n 'd-fs-100 lg:d-d-none md:d-d-none sm:d-d-none',\n this.textClass,\n ];\n },\n\n buttonWidth () {\n switch (this.buttonWidthSize) {\n case 'sm':\n return '4.5rem';\n case 'md':\n return '6rem';\n default:\n return '8.4rem';\n }\n },\n\n buttonImportance () {\n if (this.importance) {\n return this.importance;\n }\n return this.circle ? 'outlined' : 'clear';\n },\n\n callbarButtonListeners () {\n return {\n ...extractVueListeners(this.$attrs),\n click: (event) => this.$emit('click', event),\n };\n },\n },\n};\n</script>\n"],"names":["DtButton","DtTooltip","utils","this","CALLBAR_BUTTON_VALID_WIDTH_SIZE","extractVueListeners","_createBlock","_createElementVNode","_normalizeClass","_createVNode","_mergeProps","_toHandlers","_renderSlot","_withCtx","_createTextVNode","_toDisplayString"],"mappings":";;;;;;;;AA0CA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAA,UAAEA,OAAQ,SAAA,WAAEC,gBAAW;AAAA,EAEnC,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AACT,eAAOC,aAAAA,QAAM;MACd;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA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AEO,4BAFP,MAEO;AAAA,QAhCXE,IAAAA,gBAAAC,IAAAA,gBA+BS,OAAW,WAAA,GAAA,CAAA;AAAA;;IA/BpB,GAAA;AAAA;;;;"}
@@ -1,7 +1,6 @@
1
1
  import { CALLBAR_BUTTON_VALID_WIDTH_SIZE } from "./callbar_button_constants.js";
2
2
  import utils, { extractVueListeners } from "../../../common/utils.js";
3
- import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, createVNode, mergeProps, toHandlers, renderSlot } from "vue";
4
- /* empty css */
3
+ import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, createVNode, mergeProps, toHandlers, renderSlot, createTextVNode, toDisplayString } from "vue";
5
4
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
6
5
  import DtButton from "../../../components/button/button.vue.js";
7
6
  import DtTooltip from "../../../components/tooltip/tooltip.vue.js";
@@ -96,6 +95,30 @@ const _sfc_main = {
96
95
  importance: {
97
96
  type: String,
98
97
  default: ""
98
+ },
99
+ /**
100
+ * Whether the tooltip has an inverted background color.
101
+ * @values true, false
102
+ */
103
+ invertedTooltip: {
104
+ type: Boolean,
105
+ default: false
106
+ },
107
+ /**
108
+ * Use this if you would like to manually override the logic for when the tooltip shows.
109
+ * Otherwise it will just show on hover/focus.
110
+ * @values null, true, false
111
+ */
112
+ showTooltip: {
113
+ type: Boolean,
114
+ default: null
115
+ },
116
+ /**
117
+ * The message that displays in the tooltip. This will be overridden by the tooltip slot.
118
+ */
119
+ tooltipText: {
120
+ type: String,
121
+ default: void 0
99
122
  }
100
123
  },
101
124
  emits: [
@@ -111,12 +134,12 @@ const _sfc_main = {
111
134
  callbarButtonClass() {
112
135
  return [
113
136
  this.buttonClass,
114
- "dt-recipe-callbar-button",
137
+ "d-recipe-callbar-button",
115
138
  "d-px0",
116
139
  {
117
- "dt-recipe-callbar-button--circle": this.circle,
118
- "dt-recipe-callbar-button--active": this.active,
119
- "dt-recipe-callbar-button--danger": this.danger,
140
+ "d-recipe-callbar-button--circle": this.circle,
141
+ "d-recipe-callbar-button--active": this.active,
142
+ "d-recipe-callbar-button--danger": this.danger,
120
143
  "d-btn--disabled d-bgc-transparent": this.disabled,
121
144
  "d-fc-primary": !this.disabled
122
145
  }
@@ -157,11 +180,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
157
180
  const _component_dt_tooltip = resolveComponent("dt-tooltip");
158
181
  return openBlock(), createBlock(_component_dt_tooltip, {
159
182
  id: $props.id,
183
+ inverted: $props.invertedTooltip,
184
+ show: $props.showTooltip,
160
185
  offset: [0, 24]
161
186
  }, {
162
187
  anchor: withCtx(() => [
163
188
  createElementVNode("span", {
164
- class: normalizeClass({ "dt-recipe-callbar-button--disabled": $props.disabled })
189
+ class: normalizeClass({ "d-recipe-callbar-button--disabled": $props.disabled })
165
190
  }, [
166
191
  createVNode(_component_dt_button, mergeProps({
167
192
  importance: $options.buttonImportance,
@@ -184,10 +209,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
184
209
  ], 2)
185
210
  ]),
186
211
  default: withCtx(() => [
187
- renderSlot(_ctx.$slots, "tooltip")
212
+ renderSlot(_ctx.$slots, "tooltip", {}, () => [
213
+ createTextVNode(toDisplayString($props.tooltipText), 1)
214
+ ])
188
215
  ]),
189
216
  _: 3
190
- }, 8, ["id"]);
217
+ }, 8, ["id", "inverted", "show"]);
191
218
  }
192
219
  const DtRecipeCallbarButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
193
220
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button.vue.js","sources":["../../../../recipes/buttons/callbar_button/callbar_button.vue"],"sourcesContent":["<template>\n <dt-tooltip\n :id=\"id\"\n :offset=\"[0, 24]\"\n >\n <template #anchor>\n <span\n :class=\"{ 'dt-recipe-callbar-button--disabled': disabled }\"\n >\n <dt-button\n :importance=\"buttonImportance\"\n kind=\"muted\"\n icon-position=\"top\"\n :aria-disabled=\"disabled\"\n :aria-label=\"ariaLabel\"\n :label-class=\"callbarButtonTextClass\"\n :width=\"buttonWidth\"\n :class=\"callbarButtonClass\"\n v-bind=\"$attrs\"\n v-on=\"callbarButtonListeners\"\n >\n <slot />\n <template #icon>\n <slot name=\"icon\" />\n </template>\n </dt-button>\n </span>\n </template>\n <slot name=\"tooltip\" />\n </dt-tooltip>\n</template>\n\n<script>\nimport { CALLBAR_BUTTON_VALID_WIDTH_SIZE } from './callbar_button_constants';\nimport { DtButton } from '@/components/button';\nimport { DtTooltip } from '@/components/tooltip';\nimport utils, { extractVueListeners } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButton',\n\n components: { DtButton, DtTooltip },\n\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the button is a circle or not.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n circle: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * The fill and outline of the button associated with its visual importance.\n * @values clear, outlined, primary\n */\n importance: {\n type: String,\n default: '',\n },\n\n },\n\n emits: [\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n ],\n\n computed: {\n callbarButtonClass () {\n return [\n this.buttonClass,\n 'dt-recipe-callbar-button',\n 'd-px0',\n {\n 'dt-recipe-callbar-button--circle': this.circle,\n 'dt-recipe-callbar-button--active': this.active,\n 'dt-recipe-callbar-button--danger': this.danger,\n 'd-btn--disabled d-bgc-transparent': this.disabled,\n 'd-fc-primary': !this.disabled,\n }];\n },\n\n callbarButtonTextClass () {\n return [\n 'd-fs-100 lg:d-d-none md:d-d-none sm:d-d-none',\n this.textClass,\n ];\n },\n\n buttonWidth () {\n switch (this.buttonWidthSize) {\n case 'sm':\n return '4.5rem';\n case 'md':\n return '6rem';\n default:\n return '8.4rem';\n }\n },\n\n buttonImportance () {\n if (this.importance) {\n return this.importance;\n }\n return this.circle ? 'outlined' : 'clear';\n },\n\n callbarButtonListeners () {\n return {\n ...extractVueListeners(this.$attrs),\n click: (event) => this.$emit('click', event),\n };\n },\n },\n};\n</script>\n\n<style lang=\"less\">\n.dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle) {\n line-height: var(--dt-font-line-height-300);\n}\n\n.dt-recipe-callbar-button--circle {\n border-radius: var(--dt-size-radius-circle);\n}\n\n.dt-recipe-callbar-button.d-btn[disabled] {\n background-color: unset;\n opacity: .5;\n}\n\n.dt-recipe-callbar-button--circle.d-btn[disabled] {\n border-color: unset;\n}\n\n.dt-recipe-callbar-button--active,\n.dt-recipe-callbar-button--active:hover {\n .base-button__icon {\n color: var(--primary-color);\n }\n}\n\n.dt-recipe-callbar-button--disabled {\n cursor: not-allowed;\n}\n</style>\n"],"names":["this","_createBlock","_createElementVNode","_normalizeClass","_createVNode","_mergeProps","_toHandlers","_renderSlot","_withCtx"],"mappings":";;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QACdC,WAAM,SAAsB,sBAAA,CAAA,GAAA;AAAA,UAGjB,cACT,MAAoB;AAAA,YAApBC,WAAoB,KAAA,QAAA,MAAA;AAAA;UAvBhC,SAAAC,QAqBU,MAAQ;AAAA,YAARD,WAAQ,KAAA,QAAA,SAAA;AAAA;UArBlB,GAAA;AAAA;;;IAAA,SAAAC,QA4BI,MAAuB;AAAA,MAAvBD,WAAuB,KAAA,QAAA,SAAA;AAAA;IA5B3B,GAAA;AAAA;;;"}
1
+ {"version":3,"file":"callbar_button.vue.js","sources":["../../../../recipes/buttons/callbar_button/callbar_button.vue"],"sourcesContent":["<template>\n <dt-tooltip\n :id=\"id\"\n :inverted=\"invertedTooltip\"\n :show=\"showTooltip\"\n :offset=\"[0, 24]\"\n >\n <template #anchor>\n <span\n :class=\"{ 'd-recipe-callbar-button--disabled': disabled }\"\n >\n <dt-button\n :importance=\"buttonImportance\"\n kind=\"muted\"\n icon-position=\"top\"\n :aria-disabled=\"disabled\"\n :aria-label=\"ariaLabel\"\n :label-class=\"callbarButtonTextClass\"\n :width=\"buttonWidth\"\n :class=\"callbarButtonClass\"\n v-bind=\"$attrs\"\n v-on=\"callbarButtonListeners\"\n >\n <slot />\n <template #icon>\n <slot name=\"icon\" />\n </template>\n </dt-button>\n </span>\n </template>\n <slot name=\"tooltip\">\n {{ tooltipText }}\n </slot>\n </dt-tooltip>\n</template>\n\n<script>\nimport { CALLBAR_BUTTON_VALID_WIDTH_SIZE } from './callbar_button_constants';\nimport { DtButton } from '@/components/button';\nimport { DtTooltip } from '@/components/tooltip';\nimport utils, { extractVueListeners } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButton',\n\n components: { DtButton, DtTooltip },\n\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the button is a circle or not.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n circle: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * The fill and outline of the button associated with its visual importance.\n * @values clear, outlined, primary\n */\n importance: {\n type: String,\n default: '',\n },\n\n /**\n * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n\n },\n\n emits: [\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n ],\n\n computed: {\n callbarButtonClass () {\n return [\n this.buttonClass,\n 'd-recipe-callbar-button',\n 'd-px0',\n {\n 'd-recipe-callbar-button--circle': this.circle,\n 'd-recipe-callbar-button--active': this.active,\n 'd-recipe-callbar-button--danger': this.danger,\n 'd-btn--disabled d-bgc-transparent': this.disabled,\n 'd-fc-primary': !this.disabled,\n }];\n },\n\n callbarButtonTextClass () {\n return [\n 'd-fs-100 lg:d-d-none md:d-d-none sm:d-d-none',\n this.textClass,\n ];\n },\n\n buttonWidth () {\n switch (this.buttonWidthSize) {\n case 'sm':\n return '4.5rem';\n case 'md':\n return '6rem';\n default:\n return '8.4rem';\n }\n },\n\n buttonImportance () {\n if (this.importance) {\n return this.importance;\n }\n return this.circle ? 'outlined' : 'clear';\n },\n\n callbarButtonListeners () {\n return {\n ...extractVueListeners(this.$attrs),\n click: (event) => this.$emit('click', event),\n };\n },\n },\n};\n</script>\n"],"names":["this","_createBlock","_createElementVNode","_normalizeClass","_createVNode","_mergeProps","_toHandlers","_renderSlot","_withCtx","_createTextVNode","_toDisplayString"],"mappings":";;;;;;AA0CA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAE,UAAU,UAAW;AAAA,EAEnC,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AACT,eAAO,MAAM;MACd;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,UAAU;AACpB,eAA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bol.toString
3
3
  const vue3 = require("@dialpad/dialtone-icons/vue3");
4
4
  const common_utils = require("../../../common/utils.cjs");
5
5
  const vue = require("vue");
6
- ;/* empty css */
7
6
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.cjs");
8
7
  const callbar_button = require("../callbar_button/callbar_button.vue.cjs");
9
8
  const popover = require("../../../components/popover/popover.vue.cjs");
@@ -178,6 +177,30 @@ const _sfc_main = {
178
177
  openPopover: {
179
178
  type: Boolean,
180
179
  default: false
180
+ },
181
+ /**
182
+ * Whether the tooltip has an inverted background color.
183
+ * @values true, false
184
+ */
185
+ invertedTooltip: {
186
+ type: Boolean,
187
+ default: false
188
+ },
189
+ /**
190
+ * Use this if you would like to manually override the logic for when the tooltip shows.
191
+ * Otherwise it will just show on hover/focus.
192
+ * @values null, true, false
193
+ */
194
+ showTooltip: {
195
+ type: Boolean,
196
+ default: null
197
+ },
198
+ /**
199
+ * The message that displays in the tooltip. This will be overridden by the tooltip slot.
200
+ */
201
+ tooltipText: {
202
+ type: String,
203
+ default: void 0
181
204
  }
182
205
  },
183
206
  emits: [
@@ -244,7 +267,7 @@ const _sfc_main = {
244
267
  }
245
268
  }
246
269
  };
247
- const _hoisted_1 = { class: "dt-recipe--callbar-button-with-popover" };
270
+ const _hoisted_1 = { class: "d-recipe-callbar-button-with-popover" };
248
271
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
249
272
  const _component_dt_recipe_callbar_button = vue.resolveComponent("dt-recipe-callbar-button");
250
273
  const _component_dt_icon_chevron_up = vue.resolveComponent("dt-icon-chevron-up");
@@ -259,7 +282,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
259
282
  "button-class": $props.buttonClass,
260
283
  "button-width-size": $props.buttonWidthSize,
261
284
  "text-class": $props.textClass,
262
- class: "dt-recipe--callbar-button-with-popover--main-button",
285
+ "inverted-tooltip": $props.invertedTooltip,
286
+ "show-tooltip": $props.showTooltip,
287
+ "tooltip-text": $props.tooltipText,
288
+ class: "d-recipe-callbar-button-with-popover--main-button",
263
289
  onClick: $options.buttonClick
264
290
  }, {
265
291
  icon: vue.withCtx(() => [
@@ -272,7 +298,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
272
298
  vue.renderSlot(_ctx.$slots, "default")
273
299
  ]),
274
300
  _: 3
275
- }, 8, ["aria-label", "disabled", "active", "danger", "button-class", "button-width-size", "text-class", "onClick"]),
301
+ }, 8, ["aria-label", "disabled", "active", "danger", "button-class", "button-width-size", "text-class", "inverted-tooltip", "show-tooltip", "tooltip-text", "onClick"]),
276
302
  $options.showArrowButton ? (vue.openBlock(), vue.createBlock(_component_dt_popover, vue.mergeProps({
277
303
  key: 0,
278
304
  id: $props.id,
@@ -283,8 +309,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
283
309
  "show-close-button": $props.showCloseButton,
284
310
  offset: $props.offset,
285
311
  padding: "none",
286
- class: "dt-recipe--callbar-button-with-popover--popover-wrapper",
287
- "dialog-class": ["dt-recipe--callbar-button-with-popover--popover", $props.contentClass],
312
+ class: "d-recipe-callbar-button-with-popover__popover-wrapper",
313
+ "dialog-class": ["d-recipe-callbar-button-with-popover__popover", $props.contentClass],
288
314
  "header-class": "d-d-flex d-ai-center d-fw-normal d-px12"
289
315
  }, _ctx.$attrs, {
290
316
  "open-popover": $options.showPopover,
@@ -296,8 +322,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
296
322
  importance: "clear",
297
323
  size: "lg",
298
324
  class: vue.normalizeClass([
299
- "dt-recipe--callbar-button-with-popover--arrow",
300
- { "dt-recipe--callbar-button-with-popover--arrow--large": !$options.isCompactMode }
325
+ "d-recipe-callbar-button-with-popover__arrow",
326
+ { "d-recipe-callbar-button-with-popover__arrow--large": !$options.isCompactMode }
301
327
  ]),
302
328
  width: "2rem",
303
329
  "aria-label": $props.arrowButtonLabel,
@@ -306,7 +332,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
306
332
  }, {
307
333
  icon: vue.withCtx(() => [
308
334
  vue.createVNode(_component_dt_icon_chevron_up, {
309
- class: "dt-recipe--callbar-button-with-popover--arrow__icon",
335
+ class: "d-recipe-callbar-button-with-popover__arrow-icon",
310
336
  size: "200"
311
337
  })
312
338
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button_with_popover.vue.cjs","sources":["../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe--callbar-button-with-popover\"\n >\n <dt-recipe-callbar-button\n :aria-label=\"ariaLabel\"\n :disabled=\"disabled\"\n :active=\"active\"\n :danger=\"danger\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :text-class=\"textClass\"\n class=\"dt-recipe--callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <template #icon>\n <slot name=\"icon\" />\n </template>\n <template #tooltip>\n <slot name=\"tooltip\" />\n </template>\n <slot />\n </dt-recipe-callbar-button>\n <dt-popover\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :open=\"open\"\n :placement=\"placement\"\n :initial-focus-element=\"initialFocusElement\"\n :show-close-button=\"showCloseButton\"\n :offset=\"offset\"\n padding=\"none\"\n class=\"dt-recipe--callbar-button-with-popover--popover-wrapper\"\n :dialog-class=\"['dt-recipe--callbar-button-with-popover--popover', contentClass]\"\n header-class=\"d-d-flex d-ai-center d-fw-normal d-px12\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n circle\n importance=\"clear\"\n size=\"lg\"\n :class=\"['dt-recipe--callbar-button-with-popover--arrow',\n { 'dt-recipe--callbar-button-with-popover--arrow--large': !isCompactMode }]\"\n width=\"2rem\"\n :aria-label=\"arrowButtonLabel\"\n :active=\"open\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"dt-recipe--callbar-button-with-popover--arrow__icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtPopover } from '@/components/popover';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue3';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithPopover',\n\n components: { DtRecipeCallbarButton, DtPopover, DtButton, DtIconChevronUp },\n\n /* inheritAttrs: false is generally an option we want to set on library\n components. This allows any attributes passed in that are not recognized\n as props to be passed down to another element or component using v-bind:$attrs\n more info: https://vuejs.org/v2/api/#inheritAttrs */\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Aria label for the arrow. Cannot be empty.\n */\n arrowButtonLabel: {\n type: String,\n required: true,\n validator: (label) => {\n return !!label;\n },\n },\n\n /**\n * The direction the popover displays relative to the anchor.\n * @values 'bottom', 'bottom-start', 'bottom-end',\n * 'right', 'right-start', 'right-end',\n * 'left', 'left-start', 'left-end',\n * 'top', 'top-start', 'top-end'\n * @default 'top'\n */\n placement: {\n type: String,\n default: 'top',\n },\n\n /**\n * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The element that is focused when the popover is opened. This can be an\n * HTMLElement within the popover, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: String,\n default: 'first',\n },\n\n /**\n * Determines visibility for close button\n */\n showCloseButton: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Forces showing the arrow, even if the button is disabled.\n * default is false\n * @values true, false\n */\n forceShowArrow: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * We need this declaration because of how Vue3 informs the component about a listener.\n * Spoiler alert: it doesn't.\n * Vue3 intends to work as a real pub-sub, meaning the publisher has not a clue of who the subscribers are.\n * This makes it impossible from the regular declaration (emits: ['click']) to check whether\n * we actually have a click handler or not.\n * We're hacking it by adding an onClick prop: https://github.com/vuejs/core/issues/5220\n */\n /* eslint-disable-next-line vue/no-unused-properties */\n onClick: {\n type: Function,\n default: null,\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * Additional class name for the popover content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * To auto open the modal popover.\n */\n openPopover: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Emitted when the arrow is clicked\n */\n 'arrow-click',\n\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Emitted when modal popover is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n };\n },\n\n computed: {\n showArrowButton () {\n return this.forceShowArrow || !this.disabled;\n },\n\n isCompactMode () {\n return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';\n },\n\n showPopover () {\n if (!this.openPopover || this.open) {\n this.syncOpenState();\n return false;\n }\n\n return this.toggleOpen();\n },\n },\n\n mounted () {\n warnIfUnmounted(this.$el, this.$options.name);\n },\n\n methods: {\n arrowClick (ev) {\n this.$emit('arrow-click', ev);\n return this.toggleOpen();\n },\n\n toggleOpen () {\n return (this.open = !this.open);\n },\n\n syncOpenState () {\n this.open = this.openPopover;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the popover\n // the same as if the arrow was clicked.\n if (!this.$props.onClick) {\n this.arrowClick(ev);\n } else {\n this.$emit('click', ev);\n }\n },\n\n onModalIsOpened (isOpened) {\n this.open = isOpened;\n this.$emit('opened', isOpened);\n },\n },\n\n};\n</script>\n\n<style lang=\"less\">\n.dt-recipe--callbar-button-with-popover--arrow {\n margin-top: var(--dt-space-450);\n margin-left: calc(var(--dt-space-300-negative) * 5);\n width: var(--dt-size-500);\n height: var(--dt-size-500);\n padding: var(--dt-space-400);\n border-radius: var(--dt-size-300);\n\n &.d-btn--active {\n background: var(--dt-color-surface-moderate-opaque);\n }\n\n &--large {\n margin-left: var(--dt-space-550-negative);\n }\n\n &__icon {\n color: var(--dt-color-black-800);\n }\n}\n\n.dt-recipe--callbar-button-with-popover--popover {\n .d-popover__header {\n background: var(--dt-color-surface-contrast);\n color: var(--dt-color-foreground-primary-inverted);\n\n .d-btn {\n color: var(--dt-color-foreground-primary-inverted);\n }\n }\n}\n\n.dt-recipe--callbar-button-with-popover--button .d-tab--selected::after,\n.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover::after {\n --tab--bgc: var(--dt-color-surface-contrast);\n}\n.dt-recipe--callbar-button-with-popover--button .tab-group {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.dt-recipe--callbar-button-with-popover--button .tab-content {\n flex: 1 1 100%;\n overflow-y: auto;\n}\n\n.dt-recipe--callbar-button-with-popover {\n display: flex;\n align-items: flex-start;\n}\n</style>\n"],"names":["DtRecipeCallbarButton","DtPopover","DtButton","DtIconChevronUp","utils","this","CALLBAR_BUTTON_VALID_WIDTH_SIZE","warnIfUnmounted","_openBlock","_createElementBlock","_createVNode","_renderSlot","_withCtx","_createBlock","_mergeProps","_normalizeClass","_createCommentVNode"],"mappings":";;;;;;;;;;;AAgFA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAA,uBAAEA,eAAqB,SAAA,WAAEC,iBAAWC,UAAAA,OAAAA,SAAUC,iBAAAA,KAAAA,gBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,EAM3E,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AACT,eAAOC,aAAAA,QAAM;MACd;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,UAAU;AACpB,eAAO,SAASC,SAAK,OAAO;AAAA,MAC7B;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,kBAAkB;AAAA,MAChB,MAAM;AAAA,MACN,UAAU;AAAA,MACV,WAAW,CAAC,UAAU;AACpB,eAAO,CAAC,CAAC;AAAA,MACV;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACV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,MAAI;AAAA,UACZ,SAAO,SAAU;AAAA;UAEP,kBACT,MAGE;AAAA,YAHFL,IAAAA,YAGE,+BAAA;AAAA,cAFA,OAAM;AAAA,cACN,MAAK;AAAA;;UAvDnB,GAAA;AAAA;;MA4DiB,qBACT,MAAuB;AAAA,QAAvBC,eAAuB,KAAA,QAAA,SAAA;AAAA;MAEd,2BACT,MAA6B;AAAA,QAA7BA,eAA6B,KAAA,QAAA,eAAA;AAAA;MAEpB,2BACT,MAA6B;AAAA,QAA7BA,eAA6B,KAAA,QAAA,eAAA;AAAA;MAnErC,GAAA;AAAA,+IAAAK,IAAA,mBAAA,IAAA,IAAA;AAAA;;;;"}
1
+ {"version":3,"file":"callbar_button_with_popover.vue.cjs","sources":["../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"d-recipe-callbar-button-with-popover\"\n >\n <dt-recipe-callbar-button\n :aria-label=\"ariaLabel\"\n :disabled=\"disabled\"\n :active=\"active\"\n :danger=\"danger\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :text-class=\"textClass\"\n :inverted-tooltip=\"invertedTooltip\"\n :show-tooltip=\"showTooltip\"\n :tooltip-text=\"tooltipText\"\n class=\"d-recipe-callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <template #icon>\n <slot name=\"icon\" />\n </template>\n <template #tooltip>\n <slot name=\"tooltip\" />\n </template>\n <slot />\n </dt-recipe-callbar-button>\n <dt-popover\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :open=\"open\"\n :placement=\"placement\"\n :initial-focus-element=\"initialFocusElement\"\n :show-close-button=\"showCloseButton\"\n :offset=\"offset\"\n padding=\"none\"\n class=\"d-recipe-callbar-button-with-popover__popover-wrapper\"\n :dialog-class=\"['d-recipe-callbar-button-with-popover__popover', contentClass]\"\n header-class=\"d-d-flex d-ai-center d-fw-normal d-px12\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n circle\n importance=\"clear\"\n size=\"lg\"\n :class=\"['d-recipe-callbar-button-with-popover__arrow',\n { 'd-recipe-callbar-button-with-popover__arrow--large': !isCompactMode }]\"\n width=\"2rem\"\n :aria-label=\"arrowButtonLabel\"\n :active=\"open\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"d-recipe-callbar-button-with-popover__arrow-icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtPopover } from '@/components/popover';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue3';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithPopover',\n\n components: { DtRecipeCallbarButton, DtPopover, DtButton, DtIconChevronUp },\n\n /* inheritAttrs: false is generally an option we want to set on library\n components. This allows any attributes passed in that are not recognized\n as props to be passed down to another element or component using v-bind:$attrs\n more info: https://vuejs.org/v2/api/#inheritAttrs */\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Aria label for the arrow. Cannot be empty.\n */\n arrowButtonLabel: {\n type: String,\n required: true,\n validator: (label) => {\n return !!label;\n },\n },\n\n /**\n * The direction the popover displays relative to the anchor.\n * @values 'bottom', 'bottom-start', 'bottom-end',\n * 'right', 'right-start', 'right-end',\n * 'left', 'left-start', 'left-end',\n * 'top', 'top-start', 'top-end'\n * @default 'top'\n */\n placement: {\n type: String,\n default: 'top',\n },\n\n /**\n * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The element that is focused when the popover is opened. This can be an\n * HTMLElement within the popover, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: String,\n default: 'first',\n },\n\n /**\n * Determines visibility for close button\n */\n showCloseButton: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Forces showing the arrow, even if the button is disabled.\n * default is false\n * @values true, false\n */\n forceShowArrow: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * We need this declaration because of how Vue3 informs the component about a listener.\n * Spoiler alert: it doesn't.\n * Vue3 intends to work as a real pub-sub, meaning the publisher has not a clue of who the subscribers are.\n * This makes it impossible from the regular declaration (emits: ['click']) to check whether\n * we actually have a click handler or not.\n * We're hacking it by adding an onClick prop: https://github.com/vuejs/core/issues/5220\n */\n /* eslint-disable-next-line vue/no-unused-properties */\n onClick: {\n type: Function,\n default: null,\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * Additional class name for the popover content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * To auto open the modal popover.\n */\n openPopover: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n },\n\n emits: [\n /**\n * Emitted when the arrow is clicked\n */\n 'arrow-click',\n\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Emitted when modal popover is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n };\n },\n\n computed: {\n showArrowButton () {\n return this.forceShowArrow || !this.disabled;\n },\n\n isCompactMode () {\n return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';\n },\n\n showPopover () {\n if (!this.openPopover || this.open) {\n this.syncOpenState();\n return false;\n }\n\n return this.toggleOpen();\n },\n },\n\n mounted () {\n warnIfUnmounted(this.$el, this.$options.name);\n },\n\n methods: {\n arrowClick (ev) {\n this.$emit('arrow-click', ev);\n return this.toggleOpen();\n },\n\n toggleOpen () {\n return (this.open = !this.open);\n },\n\n syncOpenState () {\n this.open = this.openPopover;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the popover\n // the same as if the arrow was clicked.\n if (!this.$props.onClick) {\n this.arrowClick(ev);\n } else {\n this.$emit('click', ev);\n }\n },\n\n onModalIsOpened (isOpened) {\n this.open = isOpened;\n this.$emit('opened', isOpened);\n },\n },\n\n};\n</script>\n"],"names":["DtRecipeCallbarButton","DtPopover","DtButton","DtIconChevronUp","utils","this","CALLBAR_BUTTON_VALID_WIDTH_SIZE","warnIfUnmounted","_openBlock","_createElementBlock","_createVNode","_renderSlot","_withCtx","_createBlock","_mergeProps","_normalizeClass","_createCommentVNode"],"mappings":";;;;;;;;;;AAmFA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAA,uBAAEA,eAAqB,SAAA,WAAEC,iBAAWC,UAAAA,OAAAA,SAAUC,iBAAAA,KAAAA,gBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,EAM3E,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AACT,eAAOC,aAAAA,QAAM;MACd;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,UAAU;AACpB,eAAO,SAASC,SAAK,OAAO;AAAA,MAC7B;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,kBAAkB;AAAA,MAChB,MAAM;AAAA,MACN,UAAU;AAAA,MACV,WAAW,CAAC,UAAU;AACpB,eAAO,CAAC,CAAC;AAAA,MACV;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAaD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS,MAAM,CAAC,GAAG,EAAE;AAAA,IACtB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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hDXK,IAAA,eAAA;AAAA,YAAA;AAAA,qEAgD8I,SAAa,cAAA;AAAA,UAAA,CAAA;AAAA,UAEjJ,OAAM;AAAA,UACL,cAAY,OAAgB;AAAA,UAC5B,QAAQ,MAAI;AAAA,UACZ,SAAO,SAAU;AAAA;UAEP,kBACT,MAGE;AAAA,YAHFL,IAAAA,YAGE,+BAAA;AAAA,cAFA,OAAM;AAAA,cACN,MAAK;AAAA;;UA1DnB,GAAA;AAAA;;MA+DiB,qBACT,MAAuB;AAAA,QAAvBC,eAAuB,KAAA,QAAA,SAAA;AAAA;MAEd,2BACT,MAA6B;AAAA,QAA7BA,eAA6B,KAAA,QAAA,eAAA;AAAA;MAEpB,2BACT,MAA6B;AAAA,QAA7BA,eAA6B,KAAA,QAAA,eAAA;AAAA;MAtErC,GAAA;AAAA,+IAAAK,IAAA,mBAAA,IAAA,IAAA;AAAA;;;;"}
@@ -1,7 +1,6 @@
1
1
  import { DtIconChevronUp } from "@dialpad/dialtone-icons/vue3";
2
2
  import utils, { warnIfUnmounted } from "../../../common/utils.js";
3
3
  import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, renderSlot, createBlock, mergeProps, normalizeClass, createCommentVNode } from "vue";
4
- /* empty css */
5
4
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
6
5
  import DtRecipeCallbarButton from "../callbar_button/callbar_button.vue.js";
7
6
  import DtPopover from "../../../components/popover/popover.vue.js";
@@ -176,6 +175,30 @@ const _sfc_main = {
176
175
  openPopover: {
177
176
  type: Boolean,
178
177
  default: false
178
+ },
179
+ /**
180
+ * Whether the tooltip has an inverted background color.
181
+ * @values true, false
182
+ */
183
+ invertedTooltip: {
184
+ type: Boolean,
185
+ default: false
186
+ },
187
+ /**
188
+ * Use this if you would like to manually override the logic for when the tooltip shows.
189
+ * Otherwise it will just show on hover/focus.
190
+ * @values null, true, false
191
+ */
192
+ showTooltip: {
193
+ type: Boolean,
194
+ default: null
195
+ },
196
+ /**
197
+ * The message that displays in the tooltip. This will be overridden by the tooltip slot.
198
+ */
199
+ tooltipText: {
200
+ type: String,
201
+ default: void 0
179
202
  }
180
203
  },
181
204
  emits: [
@@ -242,7 +265,7 @@ const _sfc_main = {
242
265
  }
243
266
  }
244
267
  };
245
- const _hoisted_1 = { class: "dt-recipe--callbar-button-with-popover" };
268
+ const _hoisted_1 = { class: "d-recipe-callbar-button-with-popover" };
246
269
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
247
270
  const _component_dt_recipe_callbar_button = resolveComponent("dt-recipe-callbar-button");
248
271
  const _component_dt_icon_chevron_up = resolveComponent("dt-icon-chevron-up");
@@ -257,7 +280,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
257
280
  "button-class": $props.buttonClass,
258
281
  "button-width-size": $props.buttonWidthSize,
259
282
  "text-class": $props.textClass,
260
- class: "dt-recipe--callbar-button-with-popover--main-button",
283
+ "inverted-tooltip": $props.invertedTooltip,
284
+ "show-tooltip": $props.showTooltip,
285
+ "tooltip-text": $props.tooltipText,
286
+ class: "d-recipe-callbar-button-with-popover--main-button",
261
287
  onClick: $options.buttonClick
262
288
  }, {
263
289
  icon: withCtx(() => [
@@ -270,7 +296,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
270
296
  renderSlot(_ctx.$slots, "default")
271
297
  ]),
272
298
  _: 3
273
- }, 8, ["aria-label", "disabled", "active", "danger", "button-class", "button-width-size", "text-class", "onClick"]),
299
+ }, 8, ["aria-label", "disabled", "active", "danger", "button-class", "button-width-size", "text-class", "inverted-tooltip", "show-tooltip", "tooltip-text", "onClick"]),
274
300
  $options.showArrowButton ? (openBlock(), createBlock(_component_dt_popover, mergeProps({
275
301
  key: 0,
276
302
  id: $props.id,
@@ -281,8 +307,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
281
307
  "show-close-button": $props.showCloseButton,
282
308
  offset: $props.offset,
283
309
  padding: "none",
284
- class: "dt-recipe--callbar-button-with-popover--popover-wrapper",
285
- "dialog-class": ["dt-recipe--callbar-button-with-popover--popover", $props.contentClass],
310
+ class: "d-recipe-callbar-button-with-popover__popover-wrapper",
311
+ "dialog-class": ["d-recipe-callbar-button-with-popover__popover", $props.contentClass],
286
312
  "header-class": "d-d-flex d-ai-center d-fw-normal d-px12"
287
313
  }, _ctx.$attrs, {
288
314
  "open-popover": $options.showPopover,
@@ -294,8 +320,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
294
320
  importance: "clear",
295
321
  size: "lg",
296
322
  class: normalizeClass([
297
- "dt-recipe--callbar-button-with-popover--arrow",
298
- { "dt-recipe--callbar-button-with-popover--arrow--large": !$options.isCompactMode }
323
+ "d-recipe-callbar-button-with-popover__arrow",
324
+ { "d-recipe-callbar-button-with-popover__arrow--large": !$options.isCompactMode }
299
325
  ]),
300
326
  width: "2rem",
301
327
  "aria-label": $props.arrowButtonLabel,
@@ -304,7 +330,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
304
330
  }, {
305
331
  icon: withCtx(() => [
306
332
  createVNode(_component_dt_icon_chevron_up, {
307
- class: "dt-recipe--callbar-button-with-popover--arrow__icon",
333
+ class: "d-recipe-callbar-button-with-popover__arrow-icon",
308
334
  size: "200"
309
335
  })
310
336
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"callbar_button_with_popover.vue.js","sources":["../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"dt-recipe--callbar-button-with-popover\"\n >\n <dt-recipe-callbar-button\n :aria-label=\"ariaLabel\"\n :disabled=\"disabled\"\n :active=\"active\"\n :danger=\"danger\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :text-class=\"textClass\"\n class=\"dt-recipe--callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <template #icon>\n <slot name=\"icon\" />\n </template>\n <template #tooltip>\n <slot name=\"tooltip\" />\n </template>\n <slot />\n </dt-recipe-callbar-button>\n <dt-popover\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :open=\"open\"\n :placement=\"placement\"\n :initial-focus-element=\"initialFocusElement\"\n :show-close-button=\"showCloseButton\"\n :offset=\"offset\"\n padding=\"none\"\n class=\"dt-recipe--callbar-button-with-popover--popover-wrapper\"\n :dialog-class=\"['dt-recipe--callbar-button-with-popover--popover', contentClass]\"\n header-class=\"d-d-flex d-ai-center d-fw-normal d-px12\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n circle\n importance=\"clear\"\n size=\"lg\"\n :class=\"['dt-recipe--callbar-button-with-popover--arrow',\n { 'dt-recipe--callbar-button-with-popover--arrow--large': !isCompactMode }]\"\n width=\"2rem\"\n :aria-label=\"arrowButtonLabel\"\n :active=\"open\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"dt-recipe--callbar-button-with-popover--arrow__icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtPopover } from '@/components/popover';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue3';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithPopover',\n\n components: { DtRecipeCallbarButton, DtPopover, DtButton, DtIconChevronUp },\n\n /* inheritAttrs: false is generally an option we want to set on library\n components. This allows any attributes passed in that are not recognized\n as props to be passed down to another element or component using v-bind:$attrs\n more info: https://vuejs.org/v2/api/#inheritAttrs */\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Aria label for the arrow. Cannot be empty.\n */\n arrowButtonLabel: {\n type: String,\n required: true,\n validator: (label) => {\n return !!label;\n },\n },\n\n /**\n * The direction the popover displays relative to the anchor.\n * @values 'bottom', 'bottom-start', 'bottom-end',\n * 'right', 'right-start', 'right-end',\n * 'left', 'left-start', 'left-end',\n * 'top', 'top-start', 'top-end'\n * @default 'top'\n */\n placement: {\n type: String,\n default: 'top',\n },\n\n /**\n * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The element that is focused when the popover is opened. This can be an\n * HTMLElement within the popover, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: String,\n default: 'first',\n },\n\n /**\n * Determines visibility for close button\n */\n showCloseButton: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Forces showing the arrow, even if the button is disabled.\n * default is false\n * @values true, false\n */\n forceShowArrow: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * We need this declaration because of how Vue3 informs the component about a listener.\n * Spoiler alert: it doesn't.\n * Vue3 intends to work as a real pub-sub, meaning the publisher has not a clue of who the subscribers are.\n * This makes it impossible from the regular declaration (emits: ['click']) to check whether\n * we actually have a click handler or not.\n * We're hacking it by adding an onClick prop: https://github.com/vuejs/core/issues/5220\n */\n /* eslint-disable-next-line vue/no-unused-properties */\n onClick: {\n type: Function,\n default: null,\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * Additional class name for the popover content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * To auto open the modal popover.\n */\n openPopover: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n /**\n * Emitted when the arrow is clicked\n */\n 'arrow-click',\n\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Emitted when modal popover is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n };\n },\n\n computed: {\n showArrowButton () {\n return this.forceShowArrow || !this.disabled;\n },\n\n isCompactMode () {\n return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';\n },\n\n showPopover () {\n if (!this.openPopover || this.open) {\n this.syncOpenState();\n return false;\n }\n\n return this.toggleOpen();\n },\n },\n\n mounted () {\n warnIfUnmounted(this.$el, this.$options.name);\n },\n\n methods: {\n arrowClick (ev) {\n this.$emit('arrow-click', ev);\n return this.toggleOpen();\n },\n\n toggleOpen () {\n return (this.open = !this.open);\n },\n\n syncOpenState () {\n this.open = this.openPopover;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the popover\n // the same as if the arrow was clicked.\n if (!this.$props.onClick) {\n this.arrowClick(ev);\n } else {\n this.$emit('click', ev);\n }\n },\n\n onModalIsOpened (isOpened) {\n this.open = isOpened;\n this.$emit('opened', isOpened);\n },\n },\n\n};\n</script>\n\n<style lang=\"less\">\n.dt-recipe--callbar-button-with-popover--arrow {\n margin-top: var(--dt-space-450);\n margin-left: calc(var(--dt-space-300-negative) * 5);\n width: var(--dt-size-500);\n height: var(--dt-size-500);\n padding: var(--dt-space-400);\n border-radius: var(--dt-size-300);\n\n &.d-btn--active {\n background: var(--dt-color-surface-moderate-opaque);\n }\n\n &--large {\n margin-left: var(--dt-space-550-negative);\n }\n\n &__icon {\n color: var(--dt-color-black-800);\n }\n}\n\n.dt-recipe--callbar-button-with-popover--popover {\n .d-popover__header {\n background: var(--dt-color-surface-contrast);\n color: var(--dt-color-foreground-primary-inverted);\n\n .d-btn {\n color: var(--dt-color-foreground-primary-inverted);\n }\n }\n}\n\n.dt-recipe--callbar-button-with-popover--button .d-tab--selected::after,\n.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover::after {\n --tab--bgc: var(--dt-color-surface-contrast);\n}\n.dt-recipe--callbar-button-with-popover--button .tab-group {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.dt-recipe--callbar-button-with-popover--button .tab-content {\n flex: 1 1 100%;\n overflow-y: auto;\n}\n\n.dt-recipe--callbar-button-with-popover {\n display: flex;\n align-items: flex-start;\n}\n</style>\n"],"names":["this","_openBlock","_createElementBlock","_createVNode","_renderSlot","_withCtx","_createBlock","_mergeProps","_normalizeClass","_createCommentVNode"],"mappings":";;;;;;;;;AAgFA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAE,uBAAuB,WAAW,UAAU,gBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,EAM3E,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,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SAAQ;AAAA,MACR,OAAM;AAAA,MACL,oEAAkE,OAAY,YAAA;AAAA,MAC/E,gBAAa;AAAA,OACL,KAAM,QAAA;AAAA,MACb,gBAAc,SAAW;AAAA,MACzB,UAAQ,SAAe;AAAA;MAEb,gBACT,MAiBY;AAAA,QAjBZJ,YAiBY,sBAAA;AAAA,UAhBV,QAAA;AAAA,UACA,YAAW;AAAA,UACX,MAAK;AAAA,UACJ,OA7CXK,eAAA;AAAA,YAAA;AAAA,uEA6CkJ,SAAa,cAAA;AAAA,UAAA,CAAA;AAAA,UAErJ,OAAM;AAAA,UACL,cAAY,OAAgB;AAAA,UAC5B,QAAQ,MAAI;AAAA,UACZ,SAAO,SAAU;AAAA;UAEP,cACT,MAGE;AAAA,YAHFL,YAGE,+BAAA;AAAA,cAFA,OAAM;AAAA,cACN,MAAK;AAAA;;UAvDnB,GAAA;AAAA;;MA4DiB,iBACT,MAAuB;AAAA,QAAvBC,WAAuB,KAAA,QAAA,SAAA;AAAA;MAEd,uBACT,MAA6B;AAAA,QAA7BA,WAA6B,KAAA,QAAA,eAAA;AAAA;MAEpB,uBACT,MAA6B;AAAA,QAA7BA,WAA6B,KAAA,QAAA,eAAA;AAAA;MAnErC,GAAA;AAAA,+IAAAK,mBAAA,IAAA,IAAA;AAAA;;;"}
1
+ {"version":3,"file":"callbar_button_with_popover.vue.js","sources":["../../../../recipes/buttons/callbar_button_with_popover/callbar_button_with_popover.vue"],"sourcesContent":["<template>\n <div\n class=\"d-recipe-callbar-button-with-popover\"\n >\n <dt-recipe-callbar-button\n :aria-label=\"ariaLabel\"\n :disabled=\"disabled\"\n :active=\"active\"\n :danger=\"danger\"\n :button-class=\"buttonClass\"\n :button-width-size=\"buttonWidthSize\"\n :text-class=\"textClass\"\n :inverted-tooltip=\"invertedTooltip\"\n :show-tooltip=\"showTooltip\"\n :tooltip-text=\"tooltipText\"\n class=\"d-recipe-callbar-button-with-popover--main-button\"\n @click=\"buttonClick\"\n >\n <template #icon>\n <slot name=\"icon\" />\n </template>\n <template #tooltip>\n <slot name=\"tooltip\" />\n </template>\n <slot />\n </dt-recipe-callbar-button>\n <dt-popover\n v-if=\"showArrowButton\"\n :id=\"id\"\n :modal=\"false\"\n :open=\"open\"\n :placement=\"placement\"\n :initial-focus-element=\"initialFocusElement\"\n :show-close-button=\"showCloseButton\"\n :offset=\"offset\"\n padding=\"none\"\n class=\"d-recipe-callbar-button-with-popover__popover-wrapper\"\n :dialog-class=\"['d-recipe-callbar-button-with-popover__popover', contentClass]\"\n header-class=\"d-d-flex d-ai-center d-fw-normal d-px12\"\n v-bind=\"$attrs\"\n :open-popover=\"showPopover\"\n @opened=\"onModalIsOpened\"\n >\n <template #anchor>\n <dt-button\n circle\n importance=\"clear\"\n size=\"lg\"\n :class=\"['d-recipe-callbar-button-with-popover__arrow',\n { 'd-recipe-callbar-button-with-popover__arrow--large': !isCompactMode }]\"\n width=\"2rem\"\n :aria-label=\"arrowButtonLabel\"\n :active=\"open\"\n @click=\"arrowClick\"\n >\n <template #icon>\n <dt-icon-chevron-up\n class=\"d-recipe-callbar-button-with-popover__arrow-icon\"\n size=\"200\"\n />\n </template>\n </dt-button>\n </template>\n <template #content>\n <slot name=\"content\" />\n </template>\n <template #headerContent>\n <slot name=\"headerContent\" />\n </template>\n <template #footerContent>\n <slot name=\"footerContent\" />\n </template>\n </dt-popover>\n </div>\n</template>\n\n<script>\nimport { DtButton } from '@/components/button';\nimport { DtPopover } from '@/components/popover';\nimport { DtIconChevronUp } from '@dialpad/dialtone-icons/vue3';\nimport { DtRecipeCallbarButton, CALLBAR_BUTTON_VALID_WIDTH_SIZE } from '../callbar_button';\nimport utils, { warnIfUnmounted } from '@/common/utils';\n\nexport default {\n name: 'DtRecipeCallbarButtonWithPopover',\n\n components: { DtRecipeCallbarButton, DtPopover, DtButton, DtIconChevronUp },\n\n /* inheritAttrs: false is generally an option we want to set on library\n components. This allows any attributes passed in that are not recognized\n as props to be passed down to another element or component using v-bind:$attrs\n more info: https://vuejs.org/v2/api/#inheritAttrs */\n inheritAttrs: false,\n\n props: {\n /**\n * Id for the item.\n */\n id: {\n type: String,\n default () {\n return utils.getUniqueString();\n },\n },\n\n /**\n * Aria label for the button. If empty, it takes its value from the default slot.\n */\n ariaLabel: {\n type: String,\n default: null,\n validator: (label) => {\n return label || this.$slots.default;\n },\n },\n\n /**\n * Aria label for the arrow. Cannot be empty.\n */\n arrowButtonLabel: {\n type: String,\n required: true,\n validator: (label) => {\n return !!label;\n },\n },\n\n /**\n * The direction the popover displays relative to the anchor.\n * @values 'bottom', 'bottom-start', 'bottom-end',\n * 'right', 'right-start', 'right-end',\n * 'left', 'left-start', 'left-end',\n * 'top', 'top-start', 'top-end'\n * @default 'top'\n */\n placement: {\n type: String,\n default: 'top',\n },\n\n /**\n * Displaces the content box from its anchor element\n * by the specified number of pixels.\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#offset\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n */\n offset: {\n type: Array,\n default: () => [0, 16],\n },\n\n /**\n * The element that is focused when the popover is opened. This can be an\n * HTMLElement within the popover, a string starting with '#' which will\n * find the element by ID. 'first' which will automatically focus\n * the first element, or 'dialog' which will focus the dialog window itself.\n * If the dialog is modal this prop cannot be 'none'.\n */\n initialFocusElement: {\n type: String,\n default: 'first',\n },\n\n /**\n * Determines visibility for close button\n */\n showCloseButton: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Determines whether the button should be disabled\n * default is false.\n * @values true, false\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Forces showing the arrow, even if the button is disabled.\n * default is false\n * @values true, false\n */\n forceShowArrow: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have active styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Determines whether the button should have danger styling\n * default is false.\n * @values true, false\n * @see https://dialtone.dialpad.com/components/button/\n */\n danger: {\n type: Boolean,\n default: false,\n },\n\n /**\n * We need this declaration because of how Vue3 informs the component about a listener.\n * Spoiler alert: it doesn't.\n * Vue3 intends to work as a real pub-sub, meaning the publisher has not a clue of who the subscribers are.\n * This makes it impossible from the regular declaration (emits: ['click']) to check whether\n * we actually have a click handler or not.\n * We're hacking it by adding an onClick prop: https://github.com/vuejs/core/issues/5220\n */\n /* eslint-disable-next-line vue/no-unused-properties */\n onClick: {\n type: Function,\n default: null,\n },\n\n /**\n * Additional class name for the button wrapper element.\n */\n buttonClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * Additional class name for the button text.\n */\n textClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /*\n * Width size. Valid values are: 'xl', 'lg', 'md' and 'sm'.\n */\n buttonWidthSize: {\n type: String,\n default: 'xl',\n validator: size => CALLBAR_BUTTON_VALID_WIDTH_SIZE.includes(size),\n },\n\n /**\n * Additional class name for the popover content wrapper element.\n */\n contentClass: {\n type: [String, Array, Object],\n default: '',\n },\n\n /**\n * To auto open the modal popover.\n */\n openPopover: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Whether the tooltip has an inverted background color.\n * @values true, false\n */\n invertedTooltip: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Use this if you would like to manually override the logic for when the tooltip shows.\n * Otherwise it will just show on hover/focus.\n * @values null, true, false\n */\n showTooltip: {\n type: Boolean,\n default: null,\n },\n\n /**\n * The message that displays in the tooltip. This will be overridden by the tooltip slot.\n */\n tooltipText: {\n type: String,\n default: undefined,\n },\n },\n\n emits: [\n /**\n * Emitted when the arrow is clicked\n */\n 'arrow-click',\n\n /**\n * Native click event\n *\n * @event click\n * @type {PointerEvent | KeyboardEvent}\n */\n 'click',\n\n /**\n * Emitted when modal popover is opened or closed.\n */\n 'opened',\n ],\n\n data () {\n return {\n open: false,\n };\n },\n\n computed: {\n showArrowButton () {\n return this.forceShowArrow || !this.disabled;\n },\n\n isCompactMode () {\n return this.buttonWidthSize === 'sm' || this.buttonWidthSize === 'md';\n },\n\n showPopover () {\n if (!this.openPopover || this.open) {\n this.syncOpenState();\n return false;\n }\n\n return this.toggleOpen();\n },\n },\n\n mounted () {\n warnIfUnmounted(this.$el, this.$options.name);\n },\n\n methods: {\n arrowClick (ev) {\n this.$emit('arrow-click', ev);\n return this.toggleOpen();\n },\n\n toggleOpen () {\n return (this.open = !this.open);\n },\n\n syncOpenState () {\n this.open = this.openPopover;\n },\n\n buttonClick (ev) {\n // If no listener for the click event, the button click opens the popover\n // the same as if the arrow was clicked.\n if (!this.$props.onClick) {\n this.arrowClick(ev);\n } else {\n this.$emit('click', ev);\n }\n },\n\n onModalIsOpened (isOpened) {\n this.open = isOpened;\n this.$emit('opened', isOpened);\n },\n },\n\n};\n</script>\n"],"names":["this","_openBlock","_createElementBlock","_createVNode","_renderSlot","_withCtx","_createBlock","_mergeProps","_normalizeClass","_createCommentVNode"],"mappings":";;;;;;;;AAmFA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,YAAY,EAAE,uBAAuB,WAAW,UAAU,gBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,EAM3E,cAAc;AAAA,EAEd,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AACT,eAAO,MAAM;MACd;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,UAAU;AACpB,eAAO,SAASA,SAAK,OAAO;AAAA,MAC7B;AAAA,IACF;AAAA;AAAA;AAAA;AAAA,IAKD,kBAAkB;AAAA,MAChB,MAAM;AAAA,MACN,UAAU;AAAA,MACV,WAAW,CAAC,UAAU;AACpB,eAAO,CAAC,CAAC;AAAA,MACV;AAAA,IACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAUD,WAAW;AAAA,MACT,MAAM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