@dialpad/dialtone 9.37.0 → 9.39.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 (315) hide show
  1. package/dist/css/dialtone.css +212 -2
  2. package/dist/css/dialtone.min.css +1 -1
  3. package/dist/tokens/css/variables-dark.css +1 -1
  4. package/dist/tokens/css/variables-expressive-dark.css +1 -1
  5. package/dist/tokens/css/variables-expressive-light.css +1 -1
  6. package/dist/tokens/css/variables-expressive-sm-dark.css +1 -1
  7. package/dist/tokens/css/variables-expressive-sm-light.css +1 -1
  8. package/dist/tokens/css/variables-light.css +1 -1
  9. package/dist/tokens/css/variables-tmo-dark.css +1 -1
  10. package/dist/tokens/css/variables-tmo-light.css +1 -1
  11. package/dist/tokens/less/variables-dark.less +1 -1
  12. package/dist/tokens/less/variables-expressive-dark.less +1 -1
  13. package/dist/tokens/less/variables-expressive-light.less +1 -1
  14. package/dist/tokens/less/variables-expressive-sm-dark.less +1 -1
  15. package/dist/tokens/less/variables-expressive-sm-light.less +1 -1
  16. package/dist/tokens/less/variables-light.less +1 -1
  17. package/dist/tokens/less/variables-tmo-dark.less +1 -1
  18. package/dist/tokens/less/variables-tmo-light.less +1 -1
  19. package/dist/vue2/chunks/link_constants-AfTWrr-n.js +35 -0
  20. package/dist/vue2/chunks/link_constants-AfTWrr-n.js.map +1 -0
  21. package/dist/vue2/chunks/link_constants-x8NwdqmA.js +34 -0
  22. package/dist/vue2/chunks/link_constants-x8NwdqmA.js.map +1 -0
  23. package/dist/vue2/component-documentation.json +1 -1
  24. package/dist/vue2/dialtone-vue.cjs +8 -1
  25. package/dist/vue2/dialtone-vue.cjs.map +1 -1
  26. package/dist/vue2/dialtone-vue.js +8 -1
  27. package/dist/vue2/dialtone-vue.js.map +1 -1
  28. package/dist/vue2/lib/attachment-carousel.cjs +1 -1
  29. package/dist/vue2/lib/attachment-carousel.js +1 -1
  30. package/dist/vue2/lib/avatar.cjs.map +1 -1
  31. package/dist/vue2/lib/avatar.js.map +1 -1
  32. package/dist/vue2/lib/banner.cjs +1 -1
  33. package/dist/vue2/lib/banner.js +1 -1
  34. package/dist/vue2/lib/breadcrumbs.cjs +6 -3
  35. package/dist/vue2/lib/breadcrumbs.cjs.map +1 -1
  36. package/dist/vue2/lib/breadcrumbs.js +6 -3
  37. package/dist/vue2/lib/breadcrumbs.js.map +1 -1
  38. package/dist/vue2/lib/button.cjs +1 -1
  39. package/dist/vue2/lib/button.js +1 -1
  40. package/dist/vue2/lib/callbar-button-with-popover.cjs +1 -1
  41. package/dist/vue2/lib/callbar-button-with-popover.js +1 -1
  42. package/dist/vue2/lib/callbar-button.cjs +2 -2
  43. package/dist/vue2/lib/callbar-button.cjs.map +1 -1
  44. package/dist/vue2/lib/callbar-button.js +2 -2
  45. package/dist/vue2/lib/callbar-button.js.map +1 -1
  46. package/dist/vue2/lib/chip.cjs +1 -1
  47. package/dist/vue2/lib/chip.js +1 -1
  48. package/dist/vue2/lib/collapsible.cjs +1 -1
  49. package/dist/vue2/lib/collapsible.js +1 -1
  50. package/dist/vue2/lib/combobox-multi-select.cjs +1 -1
  51. package/dist/vue2/lib/combobox-multi-select.js +1 -1
  52. package/dist/vue2/lib/combobox-with-popover.cjs +1 -1
  53. package/dist/vue2/lib/combobox-with-popover.js +1 -1
  54. package/dist/vue2/lib/contact-centers-row.cjs +1 -1
  55. package/dist/vue2/lib/contact-centers-row.js +1 -1
  56. package/dist/vue2/lib/contact-row.cjs +1 -1
  57. package/dist/vue2/lib/contact-row.js +1 -1
  58. package/dist/vue2/lib/datepicker.cjs +1 -1
  59. package/dist/vue2/lib/datepicker.js +1 -1
  60. package/dist/vue2/lib/dropdown.cjs +1 -1
  61. package/dist/vue2/lib/dropdown.js +1 -1
  62. package/dist/vue2/lib/editor.cjs +2 -2
  63. package/dist/vue2/lib/editor.cjs.map +1 -1
  64. package/dist/vue2/lib/editor.js +2 -2
  65. package/dist/vue2/lib/editor.js.map +1 -1
  66. package/dist/vue2/lib/emoji-picker.cjs +1 -1
  67. package/dist/vue2/lib/emoji-picker.js +1 -1
  68. package/dist/vue2/lib/emoji-row.cjs +1 -1
  69. package/dist/vue2/lib/emoji-row.js +1 -1
  70. package/dist/vue2/lib/empty-state.cjs +142 -0
  71. package/dist/vue2/lib/empty-state.cjs.map +1 -0
  72. package/dist/vue2/lib/empty-state.js +142 -0
  73. package/dist/vue2/lib/empty-state.js.map +1 -0
  74. package/dist/vue2/lib/feed-pill.cjs +1 -1
  75. package/dist/vue2/lib/feed-pill.js +1 -1
  76. package/dist/vue2/lib/general-row.cjs +1 -1
  77. package/dist/vue2/lib/general-row.js +1 -1
  78. package/dist/vue2/lib/group-row.cjs +1 -1
  79. package/dist/vue2/lib/group-row.js +1 -1
  80. package/dist/vue2/lib/grouped-chip.cjs +1 -1
  81. package/dist/vue2/lib/grouped-chip.js +1 -1
  82. package/dist/vue2/lib/hovercard.cjs +1 -1
  83. package/dist/vue2/lib/hovercard.js +1 -1
  84. package/dist/vue2/lib/illustration.cjs +43 -0
  85. package/dist/vue2/lib/illustration.cjs.map +1 -0
  86. package/dist/vue2/lib/illustration.js +43 -0
  87. package/dist/vue2/lib/illustration.js.map +1 -0
  88. package/dist/vue2/lib/image-viewer.cjs +1 -1
  89. package/dist/vue2/lib/image-viewer.js +1 -1
  90. package/dist/vue2/lib/ivr-node.cjs +1 -1
  91. package/dist/vue2/lib/ivr-node.js +1 -1
  92. package/dist/vue2/lib/link.cjs +20 -6
  93. package/dist/vue2/lib/link.cjs.map +1 -1
  94. package/dist/vue2/lib/link.js +20 -6
  95. package/dist/vue2/lib/link.js.map +1 -1
  96. package/dist/vue2/lib/message-input.cjs +13 -6
  97. package/dist/vue2/lib/message-input.cjs.map +1 -1
  98. package/dist/vue2/lib/message-input.js +13 -6
  99. package/dist/vue2/lib/message-input.js.map +1 -1
  100. package/dist/vue2/lib/modal.cjs +1 -1
  101. package/dist/vue2/lib/modal.js +1 -1
  102. package/dist/vue2/lib/notice.cjs +1 -1
  103. package/dist/vue2/lib/notice.js +1 -1
  104. package/dist/vue2/lib/pagination.cjs +1 -1
  105. package/dist/vue2/lib/pagination.js +1 -1
  106. package/dist/vue2/lib/popover.cjs +1 -1
  107. package/dist/vue2/lib/popover.js +1 -1
  108. package/dist/vue2/lib/rich-text-editor.cjs +53 -20
  109. package/dist/vue2/lib/rich-text-editor.cjs.map +1 -1
  110. package/dist/vue2/lib/rich-text-editor.js +53 -20
  111. package/dist/vue2/lib/rich-text-editor.js.map +1 -1
  112. package/dist/vue2/lib/settings-menu-button.cjs +1 -1
  113. package/dist/vue2/lib/settings-menu-button.js +1 -1
  114. package/dist/vue2/lib/tabs.cjs +1 -1
  115. package/dist/vue2/lib/tabs.js +1 -1
  116. package/dist/vue2/lib/toast.cjs +1 -1
  117. package/dist/vue2/lib/toast.js +1 -1
  118. package/dist/vue2/lib/tooltip.cjs +1 -1
  119. package/dist/vue2/lib/tooltip.cjs.map +1 -1
  120. package/dist/vue2/lib/tooltip.js +1 -1
  121. package/dist/vue2/lib/tooltip.js.map +1 -1
  122. package/dist/vue2/style.css +15 -11
  123. package/dist/vue2/types/common/storybook_utils.d.ts +6 -0
  124. package/dist/vue2/types/common/storybook_utils.d.ts.map +1 -1
  125. package/dist/vue2/types/components/breadcrumbs/breadcrumb_item.vue.d.ts +2 -1
  126. package/dist/vue2/types/components/breadcrumbs/breadcrumb_item.vue.d.ts.map +1 -1
  127. package/dist/vue2/types/components/empty_state/empty_state.vue.d.ts +3 -0
  128. package/dist/vue2/types/components/empty_state/empty_state.vue.d.ts.map +1 -0
  129. package/dist/vue2/types/components/empty_state/empty_state_constants.d.ts +10 -0
  130. package/dist/vue2/types/components/empty_state/empty_state_constants.d.ts.map +1 -0
  131. package/dist/vue2/types/components/empty_state/index.d.ts +3 -0
  132. package/dist/vue2/types/components/empty_state/index.d.ts.map +1 -0
  133. package/dist/vue2/types/components/illustration/illustration.vue.d.ts +23 -0
  134. package/dist/vue2/types/components/illustration/illustration.vue.d.ts.map +1 -0
  135. package/dist/vue2/types/components/illustration/illustration_constants.d.ts +6 -0
  136. package/dist/vue2/types/components/illustration/illustration_constants.d.ts.map +1 -0
  137. package/dist/vue2/types/components/illustration/index.d.ts +3 -0
  138. package/dist/vue2/types/components/illustration/index.d.ts.map +1 -0
  139. package/dist/vue2/types/components/link/link.vue.d.ts +24 -4
  140. package/dist/vue2/types/components/link/link.vue.d.ts.map +1 -1
  141. package/dist/vue2/types/components/link/link_constants.d.ts +2 -2
  142. package/dist/vue2/types/components/link/link_constants.d.ts.map +1 -1
  143. package/dist/vue2/types/components/rich_text_editor/extensions/custom_link/autolink.d.ts.map +1 -0
  144. package/dist/vue2/types/components/rich_text_editor/extensions/custom_link/custom_link.d.ts +3 -0
  145. package/dist/vue2/types/components/rich_text_editor/extensions/custom_link/custom_link.d.ts.map +1 -0
  146. package/dist/vue2/types/components/rich_text_editor/extensions/custom_link/index.d.ts +3 -0
  147. package/dist/vue2/types/components/rich_text_editor/extensions/custom_link/index.d.ts.map +1 -0
  148. package/dist/vue2/types/components/rich_text_editor/extensions/custom_link/utils.d.ts.map +1 -0
  149. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +52 -2
  150. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  151. package/dist/vue2/types/components/toggle/toggle.vue.d.ts +1 -1
  152. package/dist/vue2/types/index.d.ts +2 -0
  153. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +15 -0
  154. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  155. package/dist/vue3/chunks/link_constants-AfTWrr-n.js +35 -0
  156. package/dist/vue3/chunks/link_constants-AfTWrr-n.js.map +1 -0
  157. package/dist/vue3/chunks/link_constants-x8NwdqmA.js +34 -0
  158. package/dist/vue3/chunks/link_constants-x8NwdqmA.js.map +1 -0
  159. package/dist/vue3/component-documentation.json +1 -1
  160. package/dist/vue3/dialtone-vue.cjs +8 -1
  161. package/dist/vue3/dialtone-vue.cjs.map +1 -1
  162. package/dist/vue3/dialtone-vue.js +8 -1
  163. package/dist/vue3/dialtone-vue.js.map +1 -1
  164. package/dist/vue3/lib/attachment-carousel.cjs +1 -1
  165. package/dist/vue3/lib/attachment-carousel.js +1 -1
  166. package/dist/vue3/lib/avatar.cjs.map +1 -1
  167. package/dist/vue3/lib/avatar.js.map +1 -1
  168. package/dist/vue3/lib/banner.cjs +1 -1
  169. package/dist/vue3/lib/banner.js +1 -1
  170. package/dist/vue3/lib/breadcrumbs.cjs +7 -3
  171. package/dist/vue3/lib/breadcrumbs.cjs.map +1 -1
  172. package/dist/vue3/lib/breadcrumbs.js +7 -3
  173. package/dist/vue3/lib/breadcrumbs.js.map +1 -1
  174. package/dist/vue3/lib/button.cjs +1 -1
  175. package/dist/vue3/lib/button.js +1 -1
  176. package/dist/vue3/lib/callbar-button-with-popover.cjs +1 -1
  177. package/dist/vue3/lib/callbar-button-with-popover.js +1 -1
  178. package/dist/vue3/lib/callbar-button.cjs +2 -2
  179. package/dist/vue3/lib/callbar-button.cjs.map +1 -1
  180. package/dist/vue3/lib/callbar-button.js +2 -2
  181. package/dist/vue3/lib/callbar-button.js.map +1 -1
  182. package/dist/vue3/lib/chip.cjs +1 -1
  183. package/dist/vue3/lib/chip.js +1 -1
  184. package/dist/vue3/lib/collapsible.cjs +1 -1
  185. package/dist/vue3/lib/collapsible.js +1 -1
  186. package/dist/vue3/lib/combobox-multi-select.cjs +1 -1
  187. package/dist/vue3/lib/combobox-multi-select.js +1 -1
  188. package/dist/vue3/lib/combobox-with-popover.cjs +1 -1
  189. package/dist/vue3/lib/combobox-with-popover.js +1 -1
  190. package/dist/vue3/lib/contact-centers-row.cjs +1 -1
  191. package/dist/vue3/lib/contact-centers-row.js +1 -1
  192. package/dist/vue3/lib/contact-row.cjs +1 -1
  193. package/dist/vue3/lib/contact-row.js +1 -1
  194. package/dist/vue3/lib/datepicker.cjs +1 -1
  195. package/dist/vue3/lib/datepicker.js +1 -1
  196. package/dist/vue3/lib/dropdown.cjs +1 -1
  197. package/dist/vue3/lib/dropdown.js +1 -1
  198. package/dist/vue3/lib/editor.cjs +2 -2
  199. package/dist/vue3/lib/editor.cjs.map +1 -1
  200. package/dist/vue3/lib/editor.js +2 -2
  201. package/dist/vue3/lib/editor.js.map +1 -1
  202. package/dist/vue3/lib/emoji-picker.cjs +1 -1
  203. package/dist/vue3/lib/emoji-picker.js +1 -1
  204. package/dist/vue3/lib/emoji-row.cjs +1 -1
  205. package/dist/vue3/lib/emoji-row.js +1 -1
  206. package/dist/vue3/lib/empty-state.cjs +136 -0
  207. package/dist/vue3/lib/empty-state.cjs.map +1 -0
  208. package/dist/vue3/lib/empty-state.js +136 -0
  209. package/dist/vue3/lib/empty-state.js.map +1 -0
  210. package/dist/vue3/lib/feed-pill.cjs +1 -1
  211. package/dist/vue3/lib/feed-pill.js +1 -1
  212. package/dist/vue3/lib/general-row.cjs +1 -1
  213. package/dist/vue3/lib/general-row.js +1 -1
  214. package/dist/vue3/lib/group-row.cjs +1 -1
  215. package/dist/vue3/lib/group-row.js +1 -1
  216. package/dist/vue3/lib/grouped-chip.cjs +1 -1
  217. package/dist/vue3/lib/grouped-chip.js +1 -1
  218. package/dist/vue3/lib/hovercard.cjs +1 -1
  219. package/dist/vue3/lib/hovercard.js +1 -1
  220. package/dist/vue3/lib/illustration.cjs +32 -0
  221. package/dist/vue3/lib/illustration.cjs.map +1 -0
  222. package/dist/vue3/lib/illustration.js +32 -0
  223. package/dist/vue3/lib/illustration.js.map +1 -0
  224. package/dist/vue3/lib/image-viewer.cjs +1 -1
  225. package/dist/vue3/lib/image-viewer.js +1 -1
  226. package/dist/vue3/lib/ivr-node.cjs +1 -1
  227. package/dist/vue3/lib/ivr-node.js +1 -1
  228. package/dist/vue3/lib/link.cjs +20 -6
  229. package/dist/vue3/lib/link.cjs.map +1 -1
  230. package/dist/vue3/lib/link.js +20 -6
  231. package/dist/vue3/lib/link.js.map +1 -1
  232. package/dist/vue3/lib/message-input.cjs +14 -6
  233. package/dist/vue3/lib/message-input.cjs.map +1 -1
  234. package/dist/vue3/lib/message-input.js +14 -6
  235. package/dist/vue3/lib/message-input.js.map +1 -1
  236. package/dist/vue3/lib/modal.cjs +1 -1
  237. package/dist/vue3/lib/modal.js +1 -1
  238. package/dist/vue3/lib/notice.cjs +1 -1
  239. package/dist/vue3/lib/notice.js +1 -1
  240. package/dist/vue3/lib/pagination.cjs +1 -1
  241. package/dist/vue3/lib/pagination.js +1 -1
  242. package/dist/vue3/lib/popover.cjs +1 -1
  243. package/dist/vue3/lib/popover.js +1 -1
  244. package/dist/vue3/lib/rich-text-editor.cjs +53 -20
  245. package/dist/vue3/lib/rich-text-editor.cjs.map +1 -1
  246. package/dist/vue3/lib/rich-text-editor.js +53 -20
  247. package/dist/vue3/lib/rich-text-editor.js.map +1 -1
  248. package/dist/vue3/lib/settings-menu-button.cjs +1 -1
  249. package/dist/vue3/lib/settings-menu-button.js +1 -1
  250. package/dist/vue3/lib/tabs.cjs +1 -1
  251. package/dist/vue3/lib/tabs.js +1 -1
  252. package/dist/vue3/lib/toast.cjs +1 -1
  253. package/dist/vue3/lib/toast.js +1 -1
  254. package/dist/vue3/lib/tooltip.cjs +1 -1
  255. package/dist/vue3/lib/tooltip.cjs.map +1 -1
  256. package/dist/vue3/lib/tooltip.js +1 -1
  257. package/dist/vue3/lib/tooltip.js.map +1 -1
  258. package/dist/vue3/style.css +15 -11
  259. package/dist/vue3/types/common/storybook_utils.d.ts +6 -0
  260. package/dist/vue3/types/common/storybook_utils.d.ts.map +1 -1
  261. package/dist/vue3/types/components/breadcrumbs/breadcrumb_item.vue.d.ts +2 -1
  262. package/dist/vue3/types/components/breadcrumbs/breadcrumb_item.vue.d.ts.map +1 -1
  263. package/dist/vue3/types/components/empty_state/empty_state.vue.d.ts +12 -0
  264. package/dist/vue3/types/components/empty_state/empty_state.vue.d.ts.map +1 -0
  265. package/dist/vue3/types/components/empty_state/empty_state_constants.d.ts +10 -0
  266. package/dist/vue3/types/components/empty_state/empty_state_constants.d.ts.map +1 -0
  267. package/dist/vue3/types/components/empty_state/index.d.ts +3 -0
  268. package/dist/vue3/types/components/empty_state/index.d.ts.map +1 -0
  269. package/dist/vue3/types/components/illustration/illustration.vue.d.ts +8 -0
  270. package/dist/vue3/types/components/illustration/illustration.vue.d.ts.map +1 -0
  271. package/dist/vue3/types/components/illustration/illustration_constants.d.ts +6 -0
  272. package/dist/vue3/types/components/illustration/illustration_constants.d.ts.map +1 -0
  273. package/dist/vue3/types/components/illustration/index.d.ts +3 -0
  274. package/dist/vue3/types/components/illustration/index.d.ts.map +1 -0
  275. package/dist/vue3/types/components/link/link.vue.d.ts +24 -4
  276. package/dist/vue3/types/components/link/link.vue.d.ts.map +1 -1
  277. package/dist/vue3/types/components/link/link_constants.d.ts +2 -2
  278. package/dist/vue3/types/components/link/link_constants.d.ts.map +1 -1
  279. package/dist/vue3/types/components/rich_text_editor/extensions/custom_link/autolink.d.ts.map +1 -0
  280. package/dist/vue3/types/components/rich_text_editor/extensions/custom_link/custom_link.d.ts +3 -0
  281. package/dist/vue3/types/components/rich_text_editor/extensions/custom_link/custom_link.d.ts.map +1 -0
  282. package/dist/vue3/types/components/rich_text_editor/extensions/custom_link/index.d.ts +3 -0
  283. package/dist/vue3/types/components/rich_text_editor/extensions/custom_link/index.d.ts.map +1 -0
  284. package/dist/vue3/types/components/rich_text_editor/extensions/custom_link/utils.d.ts.map +1 -0
  285. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +52 -2
  286. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  287. package/dist/vue3/types/components/toggle/toggle.vue.d.ts +1 -1
  288. package/dist/vue3/types/index.d.ts +2 -0
  289. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +15 -0
  290. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  291. package/package.json +2 -2
  292. package/dist/vue2/chunks/link_constants-Huj7D_hm.js +0 -22
  293. package/dist/vue2/chunks/link_constants-Huj7D_hm.js.map +0 -1
  294. package/dist/vue2/chunks/link_constants-nWVlXQBs.js +0 -23
  295. package/dist/vue2/chunks/link_constants-nWVlXQBs.js.map +0 -1
  296. package/dist/vue2/types/components/rich_text_editor/extensions/link/autolink.d.ts.map +0 -1
  297. package/dist/vue2/types/components/rich_text_editor/extensions/link/index.d.ts +0 -4
  298. package/dist/vue2/types/components/rich_text_editor/extensions/link/index.d.ts.map +0 -1
  299. package/dist/vue2/types/components/rich_text_editor/extensions/link/link.d.ts +0 -3
  300. package/dist/vue2/types/components/rich_text_editor/extensions/link/link.d.ts.map +0 -1
  301. package/dist/vue2/types/components/rich_text_editor/extensions/link/utils.d.ts.map +0 -1
  302. package/dist/vue3/chunks/link_constants-Huj7D_hm.js +0 -22
  303. package/dist/vue3/chunks/link_constants-Huj7D_hm.js.map +0 -1
  304. package/dist/vue3/chunks/link_constants-nWVlXQBs.js +0 -23
  305. package/dist/vue3/chunks/link_constants-nWVlXQBs.js.map +0 -1
  306. package/dist/vue3/types/components/rich_text_editor/extensions/link/autolink.d.ts.map +0 -1
  307. package/dist/vue3/types/components/rich_text_editor/extensions/link/index.d.ts +0 -4
  308. package/dist/vue3/types/components/rich_text_editor/extensions/link/index.d.ts.map +0 -1
  309. package/dist/vue3/types/components/rich_text_editor/extensions/link/link.d.ts +0 -3
  310. package/dist/vue3/types/components/rich_text_editor/extensions/link/link.d.ts.map +0 -1
  311. package/dist/vue3/types/components/rich_text_editor/extensions/link/utils.d.ts.map +0 -1
  312. /package/dist/vue2/types/components/rich_text_editor/extensions/{link → custom_link}/autolink.d.ts +0 -0
  313. /package/dist/vue2/types/components/rich_text_editor/extensions/{link → custom_link}/utils.d.ts +0 -0
  314. /package/dist/vue3/types/components/rich_text_editor/extensions/{link → custom_link}/autolink.d.ts +0 -0
  315. /package/dist/vue3/types/components/rich_text_editor/extensions/{link → custom_link}/utils.d.ts +0 -0
@@ -6,7 +6,7 @@ import { emojisGrouped } from "@dialpad/dialtone-emojis";
6
6
  import { DtTooltip } from "./tooltip.js";
7
7
  import "./button.js";
8
8
  import "vue";
9
- import "../chunks/link_constants-nWVlXQBs.js";
9
+ import "../chunks/link_constants-AfTWrr-n.js";
10
10
  import "@dialpad/dialtone-icons/vue2";
11
11
  import "../chunks/icon_constants-Dy4MEUJL.js";
12
12
  import "@dialpad/dialtone-icons/icons.json";
@@ -10,7 +10,7 @@ require("tippy.js");
10
10
  require("../common/utils.cjs");
11
11
  require("../common/constants.cjs");
12
12
  require("vue");
13
- require("../chunks/link_constants-Huj7D_hm.js");
13
+ require("../chunks/link_constants-x8NwdqmA.js");
14
14
  require("../common/emoji.cjs");
15
15
  require("emoji-regex");
16
16
  require("emoji-toolkit/emoji_strategy.json");
@@ -8,7 +8,7 @@ import "tippy.js";
8
8
  import "../common/utils.js";
9
9
  import "../common/constants.js";
10
10
  import "vue";
11
- import "../chunks/link_constants-nWVlXQBs.js";
11
+ import "../chunks/link_constants-AfTWrr-n.js";
12
12
  import "../common/emoji.js";
13
13
  import "emoji-regex";
14
14
  import "emoji-toolkit/emoji_strategy.json";
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const _pluginVue2_normalizer = require("../chunks/_plugin-vue2_normalizer-1aBeR4AK.js");
4
+ const lib_illustration = require("./illustration.cjs");
5
+ const lib_icon = require("./icon.cjs");
6
+ const icon_constants = require("../chunks/icon_constants-QYpmdE0R.js");
7
+ require("@dialpad/dialtone-icons/vue2");
8
+ require("@dialpad/dialtone-icons/illustrations.json");
9
+ require("@dialpad/dialtone-icons/icons.json");
10
+ const EMPTY_STATE_SIZE_MODIFIERS = {
11
+ sm: "d-empty-state--size-sm",
12
+ md: "d-empty-state--size-md",
13
+ lg: "d-empty-state--size-lg"
14
+ };
15
+ const _sfc_main = {
16
+ name: "DtEmptyState",
17
+ components: {
18
+ DtIllustration: lib_illustration.DtIllustration,
19
+ DtIcon: lib_icon.DtIcon
20
+ },
21
+ props: {
22
+ /**
23
+ * The empty state size.
24
+ * @values 'sm', 'md', 'lg'
25
+ */
26
+ size: {
27
+ type: String,
28
+ default: "lg",
29
+ validator: (s) => Object.keys(EMPTY_STATE_SIZE_MODIFIERS).includes(s)
30
+ },
31
+ /**
32
+ * The illustration name in kebab-case
33
+ * This only displays when size is 'lg' or 'md'
34
+ * This has priority over icon.
35
+ * @type {String}
36
+ */
37
+ illustrationName: {
38
+ type: String,
39
+ default: null,
40
+ validator: (name) => lib_illustration.ILLUSTRATION_NAMES.includes(name)
41
+ },
42
+ /**
43
+ * The icon name in kebab-case
44
+ * This will be shown in 'lg' and 'md' size only if illustrationName prop is not provided and
45
+ * Will always be shown in 'sm' size.
46
+ * @type {String}
47
+ */
48
+ iconName: {
49
+ type: String,
50
+ default: null,
51
+ validator: (name) => icon_constants.ICON_NAMES.includes(name)
52
+ },
53
+ /**
54
+ * Header text
55
+ * @type {String}
56
+ */
57
+ headerText: {
58
+ type: String,
59
+ required: true
60
+ },
61
+ /**
62
+ * Body text
63
+ * @type {String}
64
+ */
65
+ bodyText: {
66
+ type: String,
67
+ default: null
68
+ },
69
+ /**
70
+ * Whether to show the illustration
71
+ * @type {Boolean}
72
+ */
73
+ showIllustration: {
74
+ type: Boolean,
75
+ default: true
76
+ }
77
+ },
78
+ computed: {
79
+ /**
80
+ * Illustration will always be shown in lg and md size
81
+ * Illustration will not be shown in sm size
82
+ */
83
+ showIllustrationComponent() {
84
+ return this.illustrationName && this.notSmSize;
85
+ },
86
+ /**
87
+ * Icon will be shown in lg and md size only if illustration is not provided
88
+ * Icon will always be shown in sm size
89
+ */
90
+ showIcon() {
91
+ if (!this.iconName) {
92
+ return false;
93
+ }
94
+ return !(this.illustrationName && this.notSmSize);
95
+ },
96
+ notSmSize() {
97
+ return this.size !== "sm";
98
+ },
99
+ sizeClass() {
100
+ return EMPTY_STATE_SIZE_MODIFIERS[this.size];
101
+ },
102
+ emptyStateClasses() {
103
+ return ["d-empty-state", this.sizeClass];
104
+ },
105
+ emptyStateContentSpacing() {
106
+ switch (this.size) {
107
+ case "sm":
108
+ return "d-p16";
109
+ case "md":
110
+ return "d-p32";
111
+ case "lg":
112
+ return "d-p32";
113
+ default:
114
+ return "d-p32";
115
+ }
116
+ }
117
+ },
118
+ mounted() {
119
+ if (!this.bodyText && !this.$slots.body) {
120
+ console.warn("Dialtone Empty State component: You should provide either bodyText or content on body slot.");
121
+ }
122
+ }
123
+ };
124
+ var _sfc_render = function render() {
125
+ var _vm = this, _c = _vm._self._c;
126
+ return _c("div", { class: _vm.emptyStateClasses }, [_vm.showIllustration ? [_vm.showIcon ? _c("dt-icon", { attrs: { "name": _vm.iconName, "size": "800" } }) : _vm._e(), _vm.showIllustrationComponent ? _c("dt-illustration", { attrs: { "name": _vm.illustrationName } }) : _vm._e()] : _vm._e(), _c("div", { class: _vm.emptyStateContentSpacing }, [_c("h1", [_vm._v(" " + _vm._s(_vm.headerText) + " ")]), _vm.bodyText ? _c("p", [_vm._v(" " + _vm._s(_vm.bodyText) + " ")]) : _vm._e()]), _vm._t("body")], 2);
127
+ };
128
+ var _sfc_staticRenderFns = [];
129
+ var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
130
+ _sfc_main,
131
+ _sfc_render,
132
+ _sfc_staticRenderFns,
133
+ false,
134
+ null,
135
+ null,
136
+ null,
137
+ null
138
+ );
139
+ const empty_state = __component__.exports;
140
+ exports.DtEmptyState = empty_state;
141
+ exports.EMPTY_STATE_SIZE_MODIFIERS = EMPTY_STATE_SIZE_MODIFIERS;
142
+ //# sourceMappingURL=empty-state.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty-state.cjs","sources":["../../components/empty_state/empty_state_constants.js","../../components/empty_state/empty_state.vue"],"sourcesContent":["export const EMPTY_STATE_SIZE_MODIFIERS = {\n sm: 'd-empty-state--size-sm',\n md: 'd-empty-state--size-md',\n lg: 'd-empty-state--size-lg',\n};\n\nexport default {\n EMPTY_STATE_SIZE_MODIFIERS,\n};\n","<template>\n <div :class=\"emptyStateClasses\">\n <template v-if=\"showIllustration\">\n <dt-icon\n v-if=\"showIcon\"\n :name=\"iconName\"\n size=\"800\"\n />\n\n <dt-illustration\n v-if=\"showIllustrationComponent\"\n :name=\"illustrationName\"\n />\n </template>\n\n <div :class=\"emptyStateContentSpacing\">\n <h1>\n {{ headerText }}\n </h1>\n\n <p v-if=\"bodyText\">\n {{ bodyText }}\n </p>\n </div>\n\n <slot name=\"body\" />\n </div>\n</template>\n\n<script>\nimport { EMPTY_STATE_SIZE_MODIFIERS } from './empty_state_constants.js';\nimport { DtIllustration, ILLUSTRATION_NAMES } from '@/components/illustration';\nimport { DtIcon, ICON_NAMES } from '@/components/icon';\n\nexport default {\n name: 'DtEmptyState',\n\n components: {\n DtIllustration,\n DtIcon,\n },\n\n props: {\n /**\n * The empty state size.\n * @values 'sm', 'md', 'lg'\n */\n size: {\n type: String,\n default: 'lg',\n validator: (s) => Object.keys(EMPTY_STATE_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * The illustration name in kebab-case\n * This only displays when size is 'lg' or 'md'\n * This has priority over icon.\n * @type {String}\n */\n illustrationName: {\n type: String,\n default: null,\n validator: (name) => ILLUSTRATION_NAMES.includes(name),\n },\n\n /**\n * The icon name in kebab-case\n * This will be shown in 'lg' and 'md' size only if illustrationName prop is not provided and\n * Will always be shown in 'sm' size.\n * @type {String}\n */\n iconName: {\n type: String,\n default: null,\n validator: (name) => ICON_NAMES.includes(name),\n },\n\n /**\n * Header text\n * @type {String}\n */\n headerText: {\n type: String,\n required: true,\n },\n\n /**\n * Body text\n * @type {String}\n */\n bodyText: {\n type: String,\n default: null,\n },\n\n /**\n * Whether to show the illustration\n * @type {Boolean}\n */\n showIllustration: {\n type: Boolean,\n default: true,\n },\n },\n\n computed: {\n /**\n * Illustration will always be shown in lg and md size\n * Illustration will not be shown in sm size\n */\n showIllustrationComponent () {\n return this.illustrationName && this.notSmSize;\n },\n\n /**\n * Icon will be shown in lg and md size only if illustration is not provided\n * Icon will always be shown in sm size\n */\n showIcon () {\n if (!this.iconName) {\n return false;\n }\n\n return !(this.illustrationName && this.notSmSize);\n },\n\n notSmSize () {\n return this.size !== 'sm';\n },\n\n sizeClass () {\n return EMPTY_STATE_SIZE_MODIFIERS[this.size];\n },\n\n emptyStateClasses () {\n return ['d-empty-state', this.sizeClass];\n },\n\n emptyStateContentSpacing () {\n switch (this.size) {\n case 'sm':\n return 'd-p16';\n case 'md':\n return 'd-p32';\n case 'lg':\n return 'd-p32';\n default:\n return 'd-p32';\n }\n },\n },\n\n mounted () {\n if (!this.bodyText && !this.$slots.body) {\n console.warn('Dialtone Empty State component: You should provide either bodyText or content on body slot.');\n }\n },\n};\n</script>\n"],"names":["DtIllustration","DtIcon","ILLUSTRATION_NAMES","ICON_NAMES"],"mappings":";;;;;;;;;AAAY,MAAC,6BAA6B;AAAA,EACxC,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AC8BA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,gBAAAA,iBAAA;AAAA,IACA,QAAAC,SAAA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAA,MAAA,OAAA,KAAA,0BAAA,EAAA,SAAA,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAA,SAAAC,oCAAA,SAAA,IAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAA,SAAAC,0BAAA,SAAA,IAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,YAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,4BAAA;AACA,aAAA,KAAA,oBAAA,KAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,WAAA;AACA,UAAA,CAAA,KAAA,UAAA;AACA,eAAA;AAAA,MACA;AAEA,aAAA,EAAA,KAAA,oBAAA,KAAA;AAAA,IACA;AAAA,IAEA,YAAA;AACA,aAAA,KAAA,SAAA;AAAA,IACA;AAAA,IAEA,YAAA;AACA,aAAA,2BAAA,KAAA,IAAA;AAAA,IACA;AAAA,IAEA,oBAAA;AACA,aAAA,CAAA,iBAAA,KAAA,SAAA;AAAA,IACA;AAAA,IAEA,2BAAA;AACA,cAAA,KAAA,MAAA;AAAA,QACA,KAAA;AACA,iBAAA;AAAA,QACA,KAAA;AACA,iBAAA;AAAA,QACA,KAAA;AACA,iBAAA;AAAA,QACA;AACA,iBAAA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,QAAA,CAAA,KAAA,YAAA,CAAA,KAAA,OAAA,MAAA;AACA,cAAA,KAAA,6FAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,142 @@
1
+ import { normalizeComponent } from "../chunks/_plugin-vue2_normalizer-sOSkiPF3.js";
2
+ import { DtIllustration, ILLUSTRATION_NAMES } from "./illustration.js";
3
+ import { DtIcon } from "./icon.js";
4
+ import { ICON_NAMES } from "../chunks/icon_constants-Dy4MEUJL.js";
5
+ import "@dialpad/dialtone-icons/vue2";
6
+ import "@dialpad/dialtone-icons/illustrations.json";
7
+ import "@dialpad/dialtone-icons/icons.json";
8
+ const EMPTY_STATE_SIZE_MODIFIERS = {
9
+ sm: "d-empty-state--size-sm",
10
+ md: "d-empty-state--size-md",
11
+ lg: "d-empty-state--size-lg"
12
+ };
13
+ const _sfc_main = {
14
+ name: "DtEmptyState",
15
+ components: {
16
+ DtIllustration,
17
+ DtIcon
18
+ },
19
+ props: {
20
+ /**
21
+ * The empty state size.
22
+ * @values 'sm', 'md', 'lg'
23
+ */
24
+ size: {
25
+ type: String,
26
+ default: "lg",
27
+ validator: (s) => Object.keys(EMPTY_STATE_SIZE_MODIFIERS).includes(s)
28
+ },
29
+ /**
30
+ * The illustration name in kebab-case
31
+ * This only displays when size is 'lg' or 'md'
32
+ * This has priority over icon.
33
+ * @type {String}
34
+ */
35
+ illustrationName: {
36
+ type: String,
37
+ default: null,
38
+ validator: (name) => ILLUSTRATION_NAMES.includes(name)
39
+ },
40
+ /**
41
+ * The icon name in kebab-case
42
+ * This will be shown in 'lg' and 'md' size only if illustrationName prop is not provided and
43
+ * Will always be shown in 'sm' size.
44
+ * @type {String}
45
+ */
46
+ iconName: {
47
+ type: String,
48
+ default: null,
49
+ validator: (name) => ICON_NAMES.includes(name)
50
+ },
51
+ /**
52
+ * Header text
53
+ * @type {String}
54
+ */
55
+ headerText: {
56
+ type: String,
57
+ required: true
58
+ },
59
+ /**
60
+ * Body text
61
+ * @type {String}
62
+ */
63
+ bodyText: {
64
+ type: String,
65
+ default: null
66
+ },
67
+ /**
68
+ * Whether to show the illustration
69
+ * @type {Boolean}
70
+ */
71
+ showIllustration: {
72
+ type: Boolean,
73
+ default: true
74
+ }
75
+ },
76
+ computed: {
77
+ /**
78
+ * Illustration will always be shown in lg and md size
79
+ * Illustration will not be shown in sm size
80
+ */
81
+ showIllustrationComponent() {
82
+ return this.illustrationName && this.notSmSize;
83
+ },
84
+ /**
85
+ * Icon will be shown in lg and md size only if illustration is not provided
86
+ * Icon will always be shown in sm size
87
+ */
88
+ showIcon() {
89
+ if (!this.iconName) {
90
+ return false;
91
+ }
92
+ return !(this.illustrationName && this.notSmSize);
93
+ },
94
+ notSmSize() {
95
+ return this.size !== "sm";
96
+ },
97
+ sizeClass() {
98
+ return EMPTY_STATE_SIZE_MODIFIERS[this.size];
99
+ },
100
+ emptyStateClasses() {
101
+ return ["d-empty-state", this.sizeClass];
102
+ },
103
+ emptyStateContentSpacing() {
104
+ switch (this.size) {
105
+ case "sm":
106
+ return "d-p16";
107
+ case "md":
108
+ return "d-p32";
109
+ case "lg":
110
+ return "d-p32";
111
+ default:
112
+ return "d-p32";
113
+ }
114
+ }
115
+ },
116
+ mounted() {
117
+ if (!this.bodyText && !this.$slots.body) {
118
+ console.warn("Dialtone Empty State component: You should provide either bodyText or content on body slot.");
119
+ }
120
+ }
121
+ };
122
+ var _sfc_render = function render() {
123
+ var _vm = this, _c = _vm._self._c;
124
+ return _c("div", { class: _vm.emptyStateClasses }, [_vm.showIllustration ? [_vm.showIcon ? _c("dt-icon", { attrs: { "name": _vm.iconName, "size": "800" } }) : _vm._e(), _vm.showIllustrationComponent ? _c("dt-illustration", { attrs: { "name": _vm.illustrationName } }) : _vm._e()] : _vm._e(), _c("div", { class: _vm.emptyStateContentSpacing }, [_c("h1", [_vm._v(" " + _vm._s(_vm.headerText) + " ")]), _vm.bodyText ? _c("p", [_vm._v(" " + _vm._s(_vm.bodyText) + " ")]) : _vm._e()]), _vm._t("body")], 2);
125
+ };
126
+ var _sfc_staticRenderFns = [];
127
+ var __component__ = /* @__PURE__ */ normalizeComponent(
128
+ _sfc_main,
129
+ _sfc_render,
130
+ _sfc_staticRenderFns,
131
+ false,
132
+ null,
133
+ null,
134
+ null,
135
+ null
136
+ );
137
+ const empty_state = __component__.exports;
138
+ export {
139
+ empty_state as DtEmptyState,
140
+ EMPTY_STATE_SIZE_MODIFIERS
141
+ };
142
+ //# sourceMappingURL=empty-state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty-state.js","sources":["../../components/empty_state/empty_state_constants.js","../../components/empty_state/empty_state.vue"],"sourcesContent":["export const EMPTY_STATE_SIZE_MODIFIERS = {\n sm: 'd-empty-state--size-sm',\n md: 'd-empty-state--size-md',\n lg: 'd-empty-state--size-lg',\n};\n\nexport default {\n EMPTY_STATE_SIZE_MODIFIERS,\n};\n","<template>\n <div :class=\"emptyStateClasses\">\n <template v-if=\"showIllustration\">\n <dt-icon\n v-if=\"showIcon\"\n :name=\"iconName\"\n size=\"800\"\n />\n\n <dt-illustration\n v-if=\"showIllustrationComponent\"\n :name=\"illustrationName\"\n />\n </template>\n\n <div :class=\"emptyStateContentSpacing\">\n <h1>\n {{ headerText }}\n </h1>\n\n <p v-if=\"bodyText\">\n {{ bodyText }}\n </p>\n </div>\n\n <slot name=\"body\" />\n </div>\n</template>\n\n<script>\nimport { EMPTY_STATE_SIZE_MODIFIERS } from './empty_state_constants.js';\nimport { DtIllustration, ILLUSTRATION_NAMES } from '@/components/illustration';\nimport { DtIcon, ICON_NAMES } from '@/components/icon';\n\nexport default {\n name: 'DtEmptyState',\n\n components: {\n DtIllustration,\n DtIcon,\n },\n\n props: {\n /**\n * The empty state size.\n * @values 'sm', 'md', 'lg'\n */\n size: {\n type: String,\n default: 'lg',\n validator: (s) => Object.keys(EMPTY_STATE_SIZE_MODIFIERS).includes(s),\n },\n\n /**\n * The illustration name in kebab-case\n * This only displays when size is 'lg' or 'md'\n * This has priority over icon.\n * @type {String}\n */\n illustrationName: {\n type: String,\n default: null,\n validator: (name) => ILLUSTRATION_NAMES.includes(name),\n },\n\n /**\n * The icon name in kebab-case\n * This will be shown in 'lg' and 'md' size only if illustrationName prop is not provided and\n * Will always be shown in 'sm' size.\n * @type {String}\n */\n iconName: {\n type: String,\n default: null,\n validator: (name) => ICON_NAMES.includes(name),\n },\n\n /**\n * Header text\n * @type {String}\n */\n headerText: {\n type: String,\n required: true,\n },\n\n /**\n * Body text\n * @type {String}\n */\n bodyText: {\n type: String,\n default: null,\n },\n\n /**\n * Whether to show the illustration\n * @type {Boolean}\n */\n showIllustration: {\n type: Boolean,\n default: true,\n },\n },\n\n computed: {\n /**\n * Illustration will always be shown in lg and md size\n * Illustration will not be shown in sm size\n */\n showIllustrationComponent () {\n return this.illustrationName && this.notSmSize;\n },\n\n /**\n * Icon will be shown in lg and md size only if illustration is not provided\n * Icon will always be shown in sm size\n */\n showIcon () {\n if (!this.iconName) {\n return false;\n }\n\n return !(this.illustrationName && this.notSmSize);\n },\n\n notSmSize () {\n return this.size !== 'sm';\n },\n\n sizeClass () {\n return EMPTY_STATE_SIZE_MODIFIERS[this.size];\n },\n\n emptyStateClasses () {\n return ['d-empty-state', this.sizeClass];\n },\n\n emptyStateContentSpacing () {\n switch (this.size) {\n case 'sm':\n return 'd-p16';\n case 'md':\n return 'd-p32';\n case 'lg':\n return 'd-p32';\n default:\n return 'd-p32';\n }\n },\n },\n\n mounted () {\n if (!this.bodyText && !this.$slots.body) {\n console.warn('Dialtone Empty State component: You should provide either bodyText or content on body slot.');\n }\n },\n};\n</script>\n"],"names":[],"mappings":";;;;;;;AAAY,MAAC,6BAA6B;AAAA,EACxC,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AC8BA,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAA,MAAA,OAAA,KAAA,0BAAA,EAAA,SAAA,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAA,SAAA,mBAAA,SAAA,IAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,MACA,WAAA,CAAA,SAAA,WAAA,SAAA,IAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,YAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,UAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA,4BAAA;AACA,aAAA,KAAA,oBAAA,KAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,WAAA;AACA,UAAA,CAAA,KAAA,UAAA;AACA,eAAA;AAAA,MACA;AAEA,aAAA,EAAA,KAAA,oBAAA,KAAA;AAAA,IACA;AAAA,IAEA,YAAA;AACA,aAAA,KAAA,SAAA;AAAA,IACA;AAAA,IAEA,YAAA;AACA,aAAA,2BAAA,KAAA,IAAA;AAAA,IACA;AAAA,IAEA,oBAAA;AACA,aAAA,CAAA,iBAAA,KAAA,SAAA;AAAA,IACA;AAAA,IAEA,2BAAA;AACA,cAAA,KAAA,MAAA;AAAA,QACA,KAAA;AACA,iBAAA;AAAA,QACA,KAAA;AACA,iBAAA;AAAA,QACA,KAAA;AACA,iBAAA;AAAA,QACA;AACA,iBAAA;AAAA,MACA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AACA,QAAA,CAAA,KAAA,YAAA,CAAA,KAAA,OAAA,MAAA;AACA,cAAA,KAAA,6FAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;"}
@@ -11,7 +11,7 @@ require("../common/utils.cjs");
11
11
  require("../common/constants.cjs");
12
12
  require("vue");
13
13
  require("./button.cjs");
14
- require("../chunks/link_constants-Huj7D_hm.js");
14
+ require("../chunks/link_constants-x8NwdqmA.js");
15
15
  require("./lazy-show.cjs");
16
16
  const FEED_ITEM_PILL_BORDER_COLORS = {
17
17
  default: "dt-recipe-feed-item-pill__border-default",
@@ -9,7 +9,7 @@ import "../common/utils.js";
9
9
  import "../common/constants.js";
10
10
  import "vue";
11
11
  import "./button.js";
12
- import "../chunks/link_constants-nWVlXQBs.js";
12
+ import "../chunks/link_constants-AfTWrr-n.js";
13
13
  import "./lazy-show.js";
14
14
  const FEED_ITEM_PILL_BORDER_COLORS = {
15
15
  default: "dt-recipe-feed-item-pill__border-default",
@@ -17,7 +17,7 @@ require("./skeleton.cjs");
17
17
  require("@dialpad/dialtone-icons/vue2");
18
18
  require("../common/constants.cjs");
19
19
  require("vue");
20
- require("../chunks/link_constants-Huj7D_hm.js");
20
+ require("../chunks/link_constants-x8NwdqmA.js");
21
21
  require("../chunks/popover_constants-qUYTzsS3.js");
22
22
  require("tippy.js");
23
23
  const LEFTBAR_GENERAL_ROW_TYPES = {
@@ -15,7 +15,7 @@ import "./skeleton.js";
15
15
  import "@dialpad/dialtone-icons/vue2";
16
16
  import "../common/constants.js";
17
17
  import "vue";
18
- import "../chunks/link_constants-nWVlXQBs.js";
18
+ import "../chunks/link_constants-AfTWrr-n.js";
19
19
  import "../chunks/popover_constants-kQaX7G4a.js";
20
20
  import "tippy.js";
21
21
  const LEFTBAR_GENERAL_ROW_TYPES = {
@@ -17,7 +17,7 @@ require("./emoji.cjs");
17
17
  require("./skeleton.cjs");
18
18
  require("./badge.cjs");
19
19
  require("./button.cjs");
20
- require("../chunks/link_constants-Huj7D_hm.js");
20
+ require("../chunks/link_constants-x8NwdqmA.js");
21
21
  require("./tooltip.cjs");
22
22
  require("../chunks/popover_constants-qUYTzsS3.js");
23
23
  require("tippy.js");
@@ -15,7 +15,7 @@ import "./emoji.js";
15
15
  import "./skeleton.js";
16
16
  import "./badge.js";
17
17
  import "./button.js";
18
- import "../chunks/link_constants-nWVlXQBs.js";
18
+ import "../chunks/link_constants-AfTWrr-n.js";
19
19
  import "./tooltip.js";
20
20
  import "../chunks/popover_constants-kQaX7G4a.js";
21
21
  import "tippy.js";
@@ -6,7 +6,7 @@ require("../common/utils.cjs");
6
6
  require("../common/constants.cjs");
7
7
  require("vue");
8
8
  require("./button.cjs");
9
- require("../chunks/link_constants-Huj7D_hm.js");
9
+ require("../chunks/link_constants-x8NwdqmA.js");
10
10
  require("./icon.cjs");
11
11
  require("@dialpad/dialtone-icons/vue2");
12
12
  require("../chunks/icon_constants-QYpmdE0R.js");
@@ -4,7 +4,7 @@ import "../common/utils.js";
4
4
  import "../common/constants.js";
5
5
  import "vue";
6
6
  import "./button.js";
7
- import "../chunks/link_constants-nWVlXQBs.js";
7
+ import "../chunks/link_constants-AfTWrr-n.js";
8
8
  import "./icon.js";
9
9
  import "@dialpad/dialtone-icons/vue2";
10
10
  import "../chunks/icon_constants-Dy4MEUJL.js";
@@ -10,7 +10,7 @@ require("tippy.js");
10
10
  require("@linusborg/vue-simple-portal");
11
11
  require("../chunks/modal-VgxXAQFP.js");
12
12
  require("./button.cjs");
13
- require("../chunks/link_constants-Huj7D_hm.js");
13
+ require("../chunks/link_constants-x8NwdqmA.js");
14
14
  require("./icon.cjs");
15
15
  require("@dialpad/dialtone-icons/vue2");
16
16
  require("../chunks/icon_constants-QYpmdE0R.js");
@@ -8,7 +8,7 @@ import "tippy.js";
8
8
  import "@linusborg/vue-simple-portal";
9
9
  import "../chunks/modal-XOr4kiNZ.js";
10
10
  import "./button.js";
11
- import "../chunks/link_constants-nWVlXQBs.js";
11
+ import "../chunks/link_constants-AfTWrr-n.js";
12
12
  import "./icon.js";
13
13
  import "@dialpad/dialtone-icons/vue2";
14
14
  import "../chunks/icon_constants-Dy4MEUJL.js";
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const vue2 = require("@dialpad/dialtone-icons/vue2");
4
+ const illustrationNames = require("@dialpad/dialtone-icons/illustrations.json");
5
+ const _pluginVue2_normalizer = require("../chunks/_plugin-vue2_normalizer-1aBeR4AK.js");
6
+ const ILLUSTRATION_NAMES = illustrationNames;
7
+ const _sfc_main = {
8
+ name: "DtIllustration",
9
+ props: {
10
+ /**
11
+ * The illustration name in kebab-case
12
+ */
13
+ name: {
14
+ type: String,
15
+ required: true,
16
+ validator: (name) => ILLUSTRATION_NAMES.includes(name)
17
+ }
18
+ },
19
+ computed: {
20
+ illustration() {
21
+ return vue2.illustrations[`./src/illustrations/${this.name}.vue`];
22
+ }
23
+ }
24
+ };
25
+ var _sfc_render = function render() {
26
+ var _vm = this, _c = _vm._self._c;
27
+ return _vm.illustration ? _c(_vm.illustration, { tag: "component", attrs: { "data-qa": _vm.$attrs["data-qa"] ?? "dt-illustration" } }) : _vm._e();
28
+ };
29
+ var _sfc_staticRenderFns = [];
30
+ var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
31
+ _sfc_main,
32
+ _sfc_render,
33
+ _sfc_staticRenderFns,
34
+ false,
35
+ null,
36
+ null,
37
+ null,
38
+ null
39
+ );
40
+ const DtIllustration = __component__.exports;
41
+ exports.DtIllustration = DtIllustration;
42
+ exports.ILLUSTRATION_NAMES = ILLUSTRATION_NAMES;
43
+ //# sourceMappingURL=illustration.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"illustration.cjs","sources":["../../components/illustration/illustration_constants.js","../../components/illustration/illustration.vue"],"sourcesContent":["import illustrationNames from '@dialpad/dialtone-icons/illustrations.json';\n\nexport const ILLUSTRATION_NAMES = illustrationNames;\n\nexport default {\n ILLUSTRATION_NAMES,\n};\n","<template>\n <component\n :is=\"illustration\"\n v-if=\"illustration\"\n :data-qa=\"$attrs['data-qa'] ?? 'dt-illustration'\"\n />\n</template>\n\n<script>\nimport { illustrations } from '@dialpad/dialtone-icons/vue2';\nimport { ILLUSTRATION_NAMES } from './illustration_constants';\n\nexport default {\n name: 'DtIllustration',\n\n props: {\n /**\n * The illustration name in kebab-case\n */\n name: {\n type: String,\n required: true,\n validator: (name) => ILLUSTRATION_NAMES.includes(name),\n },\n },\n\n computed: {\n illustration () {\n return illustrations[`./src/illustrations/${this.name}.vue`];\n },\n },\n};\n</script>\n"],"names":["illustrations"],"mappings":";;;;;AAEY,MAAC,qBAAqB;ACUlC,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,WAAA,CAAA,SAAA,mBAAA,SAAA,IAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,eAAA;AACA,aAAAA,KAAAA,cAAA,uBAAA,KAAA,IAAA,MAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,43 @@
1
+ import { illustrations } from "@dialpad/dialtone-icons/vue2";
2
+ import illustrationNames from "@dialpad/dialtone-icons/illustrations.json";
3
+ import { normalizeComponent } from "../chunks/_plugin-vue2_normalizer-sOSkiPF3.js";
4
+ const ILLUSTRATION_NAMES = illustrationNames;
5
+ const _sfc_main = {
6
+ name: "DtIllustration",
7
+ props: {
8
+ /**
9
+ * The illustration name in kebab-case
10
+ */
11
+ name: {
12
+ type: String,
13
+ required: true,
14
+ validator: (name) => ILLUSTRATION_NAMES.includes(name)
15
+ }
16
+ },
17
+ computed: {
18
+ illustration() {
19
+ return illustrations[`./src/illustrations/${this.name}.vue`];
20
+ }
21
+ }
22
+ };
23
+ var _sfc_render = function render() {
24
+ var _vm = this, _c = _vm._self._c;
25
+ return _vm.illustration ? _c(_vm.illustration, { tag: "component", attrs: { "data-qa": _vm.$attrs["data-qa"] ?? "dt-illustration" } }) : _vm._e();
26
+ };
27
+ var _sfc_staticRenderFns = [];
28
+ var __component__ = /* @__PURE__ */ normalizeComponent(
29
+ _sfc_main,
30
+ _sfc_render,
31
+ _sfc_staticRenderFns,
32
+ false,
33
+ null,
34
+ null,
35
+ null,
36
+ null
37
+ );
38
+ const DtIllustration = __component__.exports;
39
+ export {
40
+ DtIllustration,
41
+ ILLUSTRATION_NAMES
42
+ };
43
+ //# sourceMappingURL=illustration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"illustration.js","sources":["../../components/illustration/illustration_constants.js","../../components/illustration/illustration.vue"],"sourcesContent":["import illustrationNames from '@dialpad/dialtone-icons/illustrations.json';\n\nexport const ILLUSTRATION_NAMES = illustrationNames;\n\nexport default {\n ILLUSTRATION_NAMES,\n};\n","<template>\n <component\n :is=\"illustration\"\n v-if=\"illustration\"\n :data-qa=\"$attrs['data-qa'] ?? 'dt-illustration'\"\n />\n</template>\n\n<script>\nimport { illustrations } from '@dialpad/dialtone-icons/vue2';\nimport { ILLUSTRATION_NAMES } from './illustration_constants';\n\nexport default {\n name: 'DtIllustration',\n\n props: {\n /**\n * The illustration name in kebab-case\n */\n name: {\n type: String,\n required: true,\n validator: (name) => ILLUSTRATION_NAMES.includes(name),\n },\n },\n\n computed: {\n illustration () {\n return illustrations[`./src/illustrations/${this.name}.vue`];\n },\n },\n};\n</script>\n"],"names":[],"mappings":";;;AAEY,MAAC,qBAAqB;ACUlC,MAAA,YAAA;AAAA,EACA,MAAA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,WAAA,CAAA,SAAA,mBAAA,SAAA,IAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,UAAA;AAAA,IACA,eAAA;AACA,aAAA,cAAA,uBAAA,KAAA,IAAA,MAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;"}
@@ -7,7 +7,7 @@ const _pluginVue2_normalizer = require("../chunks/_plugin-vue2_normalizer-1aBeR4
7
7
  const lib_button = require("./button.cjs");
8
8
  const lib_icon = require("./icon.cjs");
9
9
  require("vue");
10
- require("../chunks/link_constants-Huj7D_hm.js");
10
+ require("../chunks/link_constants-x8NwdqmA.js");
11
11
  require("@dialpad/dialtone-icons/vue2");
12
12
  require("../chunks/icon_constants-QYpmdE0R.js");
13
13
  require("@dialpad/dialtone-icons/icons.json");
@@ -5,7 +5,7 @@ import { normalizeComponent } from "../chunks/_plugin-vue2_normalizer-sOSkiPF3.j
5
5
  import { DtButton } from "./button.js";
6
6
  import { DtIcon } from "./icon.js";
7
7
  import "vue";
8
- import "../chunks/link_constants-nWVlXQBs.js";
8
+ import "../chunks/link_constants-AfTWrr-n.js";
9
9
  import "@dialpad/dialtone-icons/vue2";
10
10
  import "../chunks/icon_constants-Dy4MEUJL.js";
11
11
  import "@dialpad/dialtone-icons/icons.json";
@@ -6,7 +6,7 @@ const lib_button = require("./button.cjs");
6
6
  const dropdown = require("../chunks/dropdown-2D4i6Qkg.js");
7
7
  const lib_icon = require("./icon.cjs");
8
8
  require("vue");
9
- require("../chunks/link_constants-Huj7D_hm.js");
9
+ require("../chunks/link_constants-x8NwdqmA.js");
10
10
  require("../chunks/keyboard_list_navigation-fJnl_Iox.js");
11
11
  require("../chunks/dropdown_constants-2pGCXy7m.js");
12
12
  require("../common/utils.cjs");
@@ -4,7 +4,7 @@ import { DtButton } from "./button.js";
4
4
  import { DtDropdown } from "../chunks/dropdown-8L_PePwv.js";
5
5
  import { DtIcon } from "./icon.js";
6
6
  import "vue";
7
- import "../chunks/link_constants-nWVlXQBs.js";
7
+ import "../chunks/link_constants-AfTWrr-n.js";
8
8
  import "../chunks/keyboard_list_navigation-ScXhrxya.js";
9
9
  import "../chunks/dropdown_constants-w1MXGC3Z.js";
10
10
  import "../common/utils.js";
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const link_constants = require("../chunks/link_constants-Huj7D_hm.js");
3
+ const link_constants = require("../chunks/link_constants-x8NwdqmA.js");
4
4
  const _pluginVue2_normalizer = require("../chunks/_plugin-vue2_normalizer-1aBeR4AK.js");
5
5
  const _sfc_main = {
6
6
  name: "DtLink",
7
7
  props: {
8
8
  /**
9
9
  * Applies the link variant styles
10
- * @values null, danger, warning, success, muted, inverted, mention
10
+ * @values null, danger, warning, success, muted, mention
11
11
  */
12
12
  kind: {
13
13
  type: String,
@@ -15,6 +15,15 @@ const _sfc_main = {
15
15
  validator(kind) {
16
16
  return link_constants.LINK_VARIANTS.includes(kind);
17
17
  }
18
+ },
19
+ /**
20
+ * Determines whether the link should have inverted styling
21
+ * default is false.
22
+ * @values true, false
23
+ */
24
+ inverted: {
25
+ type: Boolean,
26
+ default: false
18
27
  }
19
28
  },
20
29
  emits: [
@@ -44,14 +53,19 @@ const _sfc_main = {
44
53
  return {
45
54
  LINK_KIND_MODIFIERS: link_constants.LINK_KIND_MODIFIERS
46
55
  };
56
+ },
57
+ methods: {
58
+ getLinkClasses() {
59
+ return [
60
+ "d-link",
61
+ link_constants.getLinkKindModifier(this.kind, this.inverted)
62
+ ];
63
+ }
47
64
  }
48
65
  };
49
66
  var _sfc_render = function render() {
50
67
  var _vm = this, _c = _vm._self._c;
51
- return _c("a", _vm._g({ class: [
52
- "d-link",
53
- _vm.LINK_KIND_MODIFIERS[_vm.kind]
54
- ], attrs: { "data-qa": "dt-link", "href": "href" in _vm.$attrs ? _vm.$attrs.href : "javascript:void(0)" } }, _vm.$listeners), [_vm._t("default")], 2);
68
+ return _c("a", _vm._g({ class: _vm.getLinkClasses(), attrs: { "data-qa": "dt-link", "href": "href" in _vm.$attrs ? _vm.$attrs.href : "javascript:void(0)" } }, _vm.$listeners), [_vm._t("default")], 2);
55
69
  };
56
70
  var _sfc_staticRenderFns = [];
57
71
  var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(