@dialpad/dialtone 9.43.0 → 9.45.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 (56) hide show
  1. package/dist/css/dialtone.css +55 -24
  2. package/dist/css/dialtone.min.css +1 -1
  3. package/dist/tokens/css/variables-dark.css +5 -1
  4. package/dist/tokens/css/variables-expressive-dark.css +5 -1
  5. package/dist/tokens/css/variables-expressive-light.css +5 -1
  6. package/dist/tokens/css/variables-expressive-sm-dark.css +5 -1
  7. package/dist/tokens/css/variables-expressive-sm-light.css +5 -1
  8. package/dist/tokens/css/variables-light.css +5 -1
  9. package/dist/tokens/css/variables-tmo-dark.css +5 -1
  10. package/dist/tokens/css/variables-tmo-light.css +5 -1
  11. package/dist/tokens/doc.json +416 -0
  12. package/dist/tokens/less/variables-dark.less +5 -1
  13. package/dist/tokens/less/variables-expressive-dark.less +5 -1
  14. package/dist/tokens/less/variables-expressive-light.less +5 -1
  15. package/dist/tokens/less/variables-expressive-sm-dark.less +5 -1
  16. package/dist/tokens/less/variables-expressive-sm-light.less +5 -1
  17. package/dist/tokens/less/variables-light.less +5 -1
  18. package/dist/tokens/less/variables-tmo-dark.less +5 -1
  19. package/dist/tokens/less/variables-tmo-light.less +5 -1
  20. package/dist/tokens/tokens-dark.json +4 -0
  21. package/dist/tokens/tokens-light.json +4 -0
  22. package/dist/vue2/component-documentation.json +1 -1
  23. package/dist/vue2/lib/general-row.cjs +2 -3
  24. package/dist/vue2/lib/general-row.cjs.map +1 -1
  25. package/dist/vue2/lib/general-row.js +2 -3
  26. package/dist/vue2/lib/general-row.js.map +1 -1
  27. package/dist/vue2/lib/tooltip-directive.cjs +1 -0
  28. package/dist/vue2/lib/tooltip-directive.cjs.map +1 -1
  29. package/dist/vue2/lib/tooltip-directive.js +1 -0
  30. package/dist/vue2/lib/tooltip-directive.js.map +1 -1
  31. package/dist/vue2/lib/tooltip.cjs +8 -1
  32. package/dist/vue2/lib/tooltip.cjs.map +1 -1
  33. package/dist/vue2/lib/tooltip.js +8 -1
  34. package/dist/vue2/lib/tooltip.js.map +1 -1
  35. package/dist/vue2/style.css +56 -64
  36. package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts +16 -1
  37. package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  38. package/dist/vue2/types/directives/tooltip/tooltip.d.ts.map +1 -1
  39. package/dist/vue3/component-documentation.json +1 -1
  40. package/dist/vue3/lib/general-row.cjs +2 -3
  41. package/dist/vue3/lib/general-row.cjs.map +1 -1
  42. package/dist/vue3/lib/general-row.js +2 -3
  43. package/dist/vue3/lib/general-row.js.map +1 -1
  44. package/dist/vue3/lib/tooltip-directive.cjs +1 -0
  45. package/dist/vue3/lib/tooltip-directive.cjs.map +1 -1
  46. package/dist/vue3/lib/tooltip-directive.js +1 -0
  47. package/dist/vue3/lib/tooltip-directive.js.map +1 -1
  48. package/dist/vue3/lib/tooltip.cjs +8 -1
  49. package/dist/vue3/lib/tooltip.cjs.map +1 -1
  50. package/dist/vue3/lib/tooltip.js +8 -1
  51. package/dist/vue3/lib/tooltip.js.map +1 -1
  52. package/dist/vue3/style.css +56 -64
  53. package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts +15 -0
  54. package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  55. package/dist/vue3/types/directives/tooltip/tooltip.d.ts.map +1 -1
  56. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","sources":["../../components/tooltip/tooltip.vue"],"sourcesContent":["<template>\n <div data-qa=\"dt-tooltip-container\">\n <!-- disabling as the below events are for capturing events from interactive\n elements within the span rather than on the span itself -->\n <!-- eslint-disable-next-line vuejs-accessibility/no-static-element-interactions -->\n <span\n v-if=\"!externalAnchor\"\n ref=\"anchor\"\n data-qa=\"dt-tooltip-anchor\"\n @focusin=\"onEnterAnchor\"\n @focusout=\"onLeaveAnchor\"\n @mouseenter=\"onEnterAnchor\"\n @mouseleave=\"onLeaveAnchor\"\n @keydown.esc=\"onLeaveAnchor\"\n >\n <!-- @slot Slot for the anchor element -->\n <slot\n name=\"anchor\"\n />\n </span>\n <div\n :id=\"id\"\n ref=\"content\"\n data-qa=\"dt-tooltip\"\n :class=\"[\n 'd-tooltip',\n {\n [ TOOLTIP_KIND_MODIFIERS.inverted ]: inverted,\n },\n contentClass,\n ]\"\n >\n <!-- In case when transitionend event doesn't work correct (for ex. tooltip component with custom trigger) -->\n <!-- after-leave event can be used instead of transitionend -->\n <!-- @slot Slot for the content, defaults to message prop -->\n <slot>\n {{ message }}\n </slot>\n </div>\n </div>\n</template>\n\n<script>\nimport {\n TOOLTIP_KIND_MODIFIERS,\n TOOLTIP_DIRECTIONS,\n TOOLTIP_STICKY_VALUES,\n TOOLTIP_DELAY_MS,\n} from './tooltip_constants.js';\nimport {\n POPOVER_APPEND_TO_VALUES,\n} from '../popover/popover_constants';\nimport { getUniqueString, hasSlotContent } from '@/common/utils';\nimport {\n createTippy,\n getAnchor,\n getPopperOptions,\n} from '@/components/popover/tippy_utils';\n\n/**\n * A tooltip is a floating label that briefly explains an action, function, or an element.\n * Its content is exclusively text and shouldn't be vital information for users.\n * If richer media is desired, consider using a popover instead.\n * @see https://dialtone.dialpad.com/components/tooltip.html\n */\nexport default {\n name: 'DtTooltip',\n\n props: {\n /**\n * The id of the tooltip\n */\n id: {\n type: String,\n default () { return getUniqueString(); },\n },\n\n /**\n * If the popover does not fit in the direction described by \"placement\",\n * it will attempt to change its direction to the \"fallbackPlacements\"\n * if defined, otherwise it will automatically position to a new location\n * as it sees best fit. See\n * <a\n * class=\"d-link\"\n * href=\"https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements\"\n * target=\"_blank\"\n * >\n * Popper.js docs\n * </a>\n * */\n fallbackPlacements: {\n type: Array,\n default: () => ['auto'],\n },\n\n /**\n * If true, applies inverted styles to the tooltip\n * @values true, false\n */\n inverted: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Displaces the tooltip from its reference element\n * by the specified number of pixels. See\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, 12],\n },\n\n /**\n * The direction the popover displays relative to the anchor. See\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#placement\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n * @values top, top-start, top-end,\n * right, right-start, right-end,\n * left, left-start, left-end,\n * bottom, bottom-start, bottom-end,\n * auto, auto-start, auto-end\n */\n placement: {\n type: String,\n default: 'top',\n validator (placement) {\n return TOOLTIP_DIRECTIONS.includes(placement);\n },\n },\n\n /**\n * If the tooltip sticks to the anchor. This is usually not needed, but can be needed\n * if the reference element's position is animating, or to automatically update the popover\n * position in those cases the DOM layout changes the reference element's position.\n * `true` enables it, `reference` only checks the \"reference\" rect for changes and `popper` only\n * checks the \"popper\" rect for changes. See\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#sticky\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n * @values true, false, reference, popper\n */\n sticky: {\n type: [Boolean, String],\n default: true,\n validator: (sticky) => {\n return TOOLTIP_STICKY_VALUES.includes(sticky);\n },\n },\n\n /**\n * Sets the element to which the tooltip is going to append to.\n * 'body' will append to the nearest body (supports shadow DOM).\n * This prop is not reactive, must be set on initial render.\n * @values 'body', 'parent', HTMLElement,\n */\n appendTo: {\n type: [HTMLElement, String],\n default: 'body',\n validator: appendTo => {\n return POPOVER_APPEND_TO_VALUES.includes(appendTo) ||\n (appendTo instanceof HTMLElement);\n },\n },\n\n /**\n * Additional css classes for the tooltip content element.\n * Can accept all of String, Object, and Array, i.e. has the\n * same api as Vue's built-in handling of the class attribute.\n */\n contentClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * A provided message for the tooltip content\n */\n message: {\n type: String,\n default: '',\n },\n\n /**\n * Controls whether hover/focus causes the tooltip to appear.\n * Cannot be combined with the show prop. show value will be ignored.\n * by default this is true, if you override with false, the tooltip will never show up.\n */\n enabled: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Controls whether the tooltip is shown. Leaving this null will have the tooltip trigger on mouseover by default.\n * If you set this value, the default mouseover behavior will be disabled and you can control it as you need.\n * Supports .sync modifier\n * @values null, true, false\n */\n show: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Whether the tooltip should have a transition effect (fade).\n */\n transition: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the tooltip will have a delay when being focused or moused over.\n * @values true, false\n */\n delay: {\n type: Boolean,\n default: true,\n },\n\n /**\n * External anchor id to use in those cases the anchor can't be provided via the slot.\n * For instance, using the combobox's input as the anchor for the popover.\n */\n externalAnchor: {\n type: String,\n default: null,\n },\n },\n\n emits: [\n /**\n * Emitted when tooltip is shown or hidden\n *\n * @event shown\n * @type {Boolean}\n */\n 'shown',\n\n /**\n * Sync show value\n *\n * @event update:show\n */\n 'update:show',\n ],\n\n data () {\n return {\n TOOLTIP_KIND_MODIFIERS,\n hasSlotContent,\n tip: null,\n\n inTimer: null,\n\n // Internal state for whether the tooltip is shown. Changing the prop\n // will update this.\n internalShow: false,\n\n // this is where the placement currently is, this can be different than\n // the placement prop when there is not enough available room for the tip\n // to display and it uses a fallback placement.\n currentPlacement: this.placement,\n };\n },\n\n computed: {\n // eslint-disable-next-line complexity\n tippyProps () {\n return {\n offset: this.offset,\n delay: this.delay ? TOOLTIP_DELAY_MS : false,\n placement: this.placement,\n sticky: this.sticky,\n theme: this.inverted ? 'inverted' : undefined,\n animation: this.transition ? 'fade' : false,\n // onShown only triggers when transition is truthy\n onShown: (tooltipInstance) => this.onShow(tooltipInstance, 'onShown'),\n // onShown will always be called, but it will be called before the animation is complete\n onShow: (tooltipInstance) => this.onShow(tooltipInstance, 'onShow'),\n onHidden: this.onHide,\n\n popperOptions: getPopperOptions({\n fallbackPlacements: this.fallbackPlacements,\n hasHideModifierEnabled: true,\n onChangePlacement: this.onChangePlacement,\n }),\n };\n },\n\n anchor () {\n return this.externalAnchor ? document.body.querySelector(this.externalAnchor) : getAnchor(this.$refs.anchor);\n },\n },\n\n watch: {\n\n tippyProps: {\n handler: 'setProps',\n deep: true,\n },\n\n show: {\n handler: function (show) {\n if (show !== null) {\n this.internalShow = show;\n }\n },\n\n immediate: true,\n },\n\n internalShow (value) {\n if (value) {\n this.setProps();\n this.tip.show();\n } else {\n this.tip.hide();\n }\n },\n\n sticky (sticky) {\n this.tip.setProps({\n sticky,\n });\n },\n },\n\n mounted () {\n if (!this.enabled && this.show != null) {\n console.warn('Tooltip: You cannot use both the enabled and show props at the same time.');\n console.warn('The show prop will be ignored.');\n }\n\n this.externalAnchor && this.addExternalAnchorEventListeners();\n this.tip = createTippy(this.anchor, this.initOptions());\n },\n\n beforeUnmount () {\n this.externalAnchor && this.removeExternalAnchorEventListeners();\n\n if (this.tip) {\n this.tip?.destroy();\n }\n },\n\n methods: {\n calculateAnchorZindex () {\n // if a modal is currently active render at modal-element z-index, otherwise at tooltip z-index\n if (this.$el.getRootNode()\n .querySelector('.d-modal[aria-hidden=\"false\"], .d-modal--transparent[aria-hidden=\"false\"]') ||\n // Special case because we don't have any dialtone drawer component yet. Render at 651 when\n // anchor of popover is within a drawer.\n this.$el.closest('.d-zi-drawer')) {\n return 651;\n } else {\n return 400;\n }\n },\n\n hasVisibleFocus () {\n return this.anchor.matches(':focus-visible');\n },\n\n onEnterAnchor (e) {\n if (this.delay && this.inTimer === null) {\n this.inTimer = setTimeout(() => {\n this.triggerShow(e);\n }, TOOLTIP_DELAY_MS);\n } else {\n this.triggerShow(e);\n }\n },\n\n triggerShow (e) {\n if (e.type === 'focusin') {\n // only show tooltips on visible focus when triggered via focus.\n // when the user is using the mouse they only want tooltips to display\n // on mouseover.\n //\n // Example: anchor of a popover is a button with tooltip.\n // closing it with the mouse would trigger the tooltip to display as\n // the anchor is focused on close. Not what we want.\n if (this.show === null && this.hasVisibleFocus()) {\n this.internalShow = true;\n }\n } else {\n if (this.show === null) this.internalShow = true;\n }\n },\n\n onLeaveAnchor (e) {\n if (e.type === 'keydown' && e.code !== 'Escape') return;\n\n clearTimeout(this.inTimer);\n this.inTimer = null;\n this.triggerHide();\n },\n\n triggerHide () {\n if (this.show === null) this.internalShow = false;\n },\n\n onChangePlacement (placement) {\n this.currentPlacement = placement;\n },\n\n onHide () {\n this.tip?.unmount();\n this.$emit('shown', false);\n if (this.show !== null) {\n this.$emit('update:show', false);\n }\n },\n\n onShow (tooltipInstance, callingMethod) {\n if (!this.tooltipHasContent(tooltipInstance)) {\n return false;\n }\n if (this.transition && callingMethod === 'onShow') {\n return;\n }\n this.$emit('shown', true);\n if (this.show !== null) {\n this.$emit('update:show', true);\n }\n },\n\n setProps () {\n if (this.tip && this.tip.setProps) {\n this.tip.setProps({\n ...this.tippyProps,\n // these need to be set here rather than in tippyProps because they are non-reactive\n appendTo: this.appendTo === 'body' ? this.anchor?.getRootNode()?.querySelector('body') : this.appendTo,\n zIndex: this.calculateAnchorZindex(),\n });\n }\n },\n\n onMount () {\n this.setProps();\n },\n\n tooltipHasContent (tooltipInstance) {\n // don't show tooltip when no content\n if (tooltipInstance.props.content.textContent.trim().length === 0) {\n return false;\n }\n return true;\n },\n\n // set initial options here. If any of the options need to dynamically change, they should be put in\n // tippyProps instead.\n initOptions () {\n const template = this.$refs.content;\n return {\n content: template,\n arrow: '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"7\"><path d=\"M 14.5,7 8,0 1.5,7 Z\"/></svg>',\n // transition duration - same as our custom fade delay in dialtone-globals.less\n duration: 180,\n interactive: false,\n trigger: 'manual',\n hideOnClick: false,\n // disable tooltip from displaying on touch devices\n touch: false,\n onMount: this.onMount,\n showOnCreate: this.internalShow,\n popperOptions: getPopperOptions({\n hasHideModifierEnabled: true,\n }),\n };\n },\n\n addExternalAnchorEventListeners () {\n ['focusin', 'mouseenter'].forEach(listener => {\n this.anchor.addEventListener(listener, (event) => this.onEnterAnchor(event));\n });\n ['focusout', 'mouseleave', 'keydown'].forEach(listener => {\n this.anchor.addEventListener(listener, (event) => this.onLeaveAnchor(event));\n });\n },\n\n removeExternalAnchorEventListeners () {\n ['focusin', 'mouseenter'].forEach(listener => {\n this.anchor.removeEventListener(listener, (event) => this.onEnterAnchor(event));\n });\n ['focusout', 'mouseleave', 'keydown'].forEach(listener => {\n this.anchor.removeEventListener(listener, (event) => this.onLeaveAnchor(event));\n });\n },\n },\n};\n</script>\n\n<style lang=\"less\">\n@import 'tippy.js/dist/svg-arrow.css';\n\n.tippy-box[data-reference-hidden] {\n visibility: hidden;\n pointer-events: none;\n}\n\n.tippy-box > .tippy-svg-arrow {\n fill: var(--dt-color-surface-contrast);\n}\n\n.tippy-box[data-theme~='inverted'] > .tippy-svg-arrow {\n fill: var(--dt-color-surface-moderate);\n}\n\n.tippy-box[data-animation='fade'][data-state='hidden'] {\n opacity: 0;\n}\n</style>\n"],"names":["_openBlock","_createElementBlock","_renderSlot","_createElementVNode","_normalizeClass"],"mappings":";;;;;;;AAiEA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AAAE,eAAO,gBAAe;AAAA,MAAK;AAAA,IACzC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAeD,oBAAoB;AAAA,MAClB,MAAM;AAAA,MACN,SAAS,MAAM,CAAC,MAAM;AAAA,IACvB;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAaD,QAAQ;AAAA,MACN,MA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,cAAA,GAAA,IAAA;AAAA,MACvB,qDAAY,SAAa,iBAAA,SAAA,cAAA,GAAA,IAAA;AAAA,MACzB,qDAAY,SAAa,iBAAA,SAAA,cAAA,GAAA,IAAA;AAAA,MACzB,2DAAa,SAAa,iBAAA,SAAA,cAAA,GAAA,IAAA,GAAA,CAAA,KAAA,CAAA;AAAA;MAG3BC,WAEE,KAAA,QAAA,QAAA;AAAA;IAEJC,mBAkBM,OAAA;AAAA,MAjBH,IAAI,OAAE;AAAA,MACP,KAAI;AAAA,MACJ,WAAQ;AAAA,MACP,OAAKC,eAAA;AAAA;;WAA+C,MAAsB,uBAAC,QAAQ,GAAI,OAAQ;AAAA;QAAqB,OAAY;AAAA;;MAWjIF,WAEO,4BAFP,MAEO;AAAA,wCADF,OAAO,OAAA,GAAA,CAAA;AAAA;;;;;"}
1
+ {"version":3,"file":"tooltip.js","sources":["../../components/tooltip/tooltip.vue"],"sourcesContent":["<template>\n <div data-qa=\"dt-tooltip-container\">\n <!-- disabling as the below events are for capturing events from interactive\n elements within the span rather than on the span itself -->\n <!-- eslint-disable-next-line vuejs-accessibility/no-static-element-interactions -->\n <span\n v-if=\"!externalAnchor\"\n ref=\"anchor\"\n data-qa=\"dt-tooltip-anchor\"\n @focusin=\"onEnterAnchor\"\n @focusout=\"onLeaveAnchor\"\n @mouseenter=\"onEnterAnchor\"\n @mouseleave=\"onLeaveAnchor\"\n @keydown.esc=\"onLeaveAnchor\"\n >\n <!-- @slot Slot for the anchor element -->\n <slot\n name=\"anchor\"\n />\n </span>\n <div\n :id=\"id\"\n ref=\"content\"\n data-qa=\"dt-tooltip\"\n :class=\"[\n 'd-tooltip',\n {\n [ TOOLTIP_KIND_MODIFIERS.inverted ]: inverted,\n },\n contentClass,\n ]\"\n >\n <!-- In case when transitionend event doesn't work correct (for ex. tooltip component with custom trigger) -->\n <!-- after-leave event can be used instead of transitionend -->\n <!-- @slot Slot for the content, defaults to message prop -->\n <slot>\n {{ message }}\n </slot>\n </div>\n </div>\n</template>\n\n<script>\nimport {\n TOOLTIP_KIND_MODIFIERS,\n TOOLTIP_DIRECTIONS,\n TOOLTIP_STICKY_VALUES,\n TOOLTIP_DELAY_MS,\n} from './tooltip_constants.js';\nimport {\n POPOVER_APPEND_TO_VALUES,\n} from '../popover/popover_constants';\nimport { getUniqueString, hasSlotContent } from '@/common/utils';\nimport {\n createTippy,\n getAnchor,\n getPopperOptions,\n} from '@/components/popover/tippy_utils';\n\n/**\n * A tooltip is a floating label that briefly explains an action, function, or an element.\n * Its content is exclusively text and shouldn't be vital information for users.\n * If richer media is desired, consider using a popover instead.\n * @see https://dialtone.dialpad.com/components/tooltip.html\n */\nexport default {\n name: 'DtTooltip',\n\n props: {\n /**\n * The id of the tooltip\n */\n id: {\n type: String,\n default () { return getUniqueString(); },\n },\n\n /**\n * If the popover does not fit in the direction described by \"placement\",\n * it will attempt to change its direction to the \"fallbackPlacements\"\n * if defined, otherwise it will automatically position to a new location\n * as it sees best fit. See\n * <a\n * class=\"d-link\"\n * href=\"https://popper.js.org/docs/v2/modifiers/flip/#fallbackplacements\"\n * target=\"_blank\"\n * >\n * Popper.js docs\n * </a>\n * */\n fallbackPlacements: {\n type: Array,\n default: () => ['auto'],\n },\n\n /**\n * If true, applies inverted styles to the tooltip\n * @values true, false\n */\n inverted: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Displaces the tooltip from its reference element\n * by the specified number of pixels. See\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, 12],\n },\n\n /**\n * The direction the popover displays relative to the anchor. See\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#placement\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n * @values top, top-start, top-end,\n * right, right-start, right-end,\n * left, left-start, left-end,\n * bottom, bottom-start, bottom-end,\n * auto, auto-start, auto-end\n */\n placement: {\n type: String,\n default: 'top',\n validator (placement) {\n return TOOLTIP_DIRECTIONS.includes(placement);\n },\n },\n\n /**\n * If the tooltip sticks to the anchor. This is usually not needed, but can be needed\n * if the reference element's position is animating, or to automatically update the popover\n * position in those cases the DOM layout changes the reference element's position.\n * `true` enables it, `reference` only checks the \"reference\" rect for changes and `popper` only\n * checks the \"popper\" rect for changes. See\n * <a\n * class=\"d-link\"\n * href=\"https://atomiks.github.io/tippyjs/v6/all-props/#sticky\"\n * target=\"_blank\"\n * >\n * Tippy.js docs\n * </a>\n * @values true, false, reference, popper\n */\n sticky: {\n type: [Boolean, String],\n default: true,\n validator: (sticky) => {\n return TOOLTIP_STICKY_VALUES.includes(sticky);\n },\n },\n\n /**\n * Sets the element to which the tooltip is going to append to.\n * 'body' will append to the nearest body (supports shadow DOM).\n * This prop is not reactive, must be set on initial render.\n * @values 'body', 'parent', HTMLElement,\n */\n appendTo: {\n type: [HTMLElement, String],\n default: 'body',\n validator: appendTo => {\n return POPOVER_APPEND_TO_VALUES.includes(appendTo) ||\n (appendTo instanceof HTMLElement);\n },\n },\n\n /**\n * Additional css classes for the tooltip content element.\n * Can accept all of String, Object, and Array, i.e. has the\n * same api as Vue's built-in handling of the class attribute.\n */\n contentClass: {\n type: [String, Object, Array],\n default: '',\n },\n\n /**\n * A provided message for the tooltip content\n */\n message: {\n type: String,\n default: '',\n },\n\n /**\n * Controls whether hover/focus causes the tooltip to appear.\n * Cannot be combined with the show prop. show value will be ignored.\n * by default this is true, if you override with false, the tooltip will never show up.\n */\n enabled: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Controls whether the tooltip is shown. Leaving this null will have the tooltip trigger on mouseover by default.\n * If you set this value, the default mouseover behavior will be disabled and you can control it as you need.\n * Supports .sync modifier\n * @values null, true, false\n */\n show: {\n type: Boolean,\n default: null,\n },\n\n /**\n * Whether the tooltip should have a transition effect (fade).\n */\n transition: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Whether the tooltip will have a delay when being focused or moused over.\n * @values true, false\n */\n delay: {\n type: Boolean,\n default: true,\n },\n\n /**\n * Set a custom theme on the tooltip. See https://atomiks.github.io/tippyjs/v6/themes/\n */\n theme: {\n type: String,\n default: undefined,\n },\n\n /**\n * External anchor id to use in those cases the anchor can't be provided via the slot.\n * For instance, using the combobox's input as the anchor for the popover.\n */\n externalAnchor: {\n type: String,\n default: null,\n },\n },\n\n emits: [\n /**\n * Emitted when tooltip is shown or hidden\n *\n * @event shown\n * @type {Boolean}\n */\n 'shown',\n\n /**\n * Sync show value\n *\n * @event update:show\n */\n 'update:show',\n ],\n\n data () {\n return {\n TOOLTIP_KIND_MODIFIERS,\n hasSlotContent,\n tip: null,\n\n inTimer: null,\n\n // Internal state for whether the tooltip is shown. Changing the prop\n // will update this.\n internalShow: false,\n\n // this is where the placement currently is, this can be different than\n // the placement prop when there is not enough available room for the tip\n // to display and it uses a fallback placement.\n currentPlacement: this.placement,\n };\n },\n\n computed: {\n // eslint-disable-next-line complexity\n tippyProps () {\n return {\n offset: this.offset,\n delay: this.delay ? TOOLTIP_DELAY_MS : false,\n placement: this.placement,\n sticky: this.sticky,\n theme: this.inverted ? 'inverted' : this.theme,\n animation: this.transition ? 'fade' : false,\n // onShown only triggers when transition is truthy\n onShown: (tooltipInstance) => this.onShow(tooltipInstance, 'onShown'),\n // onShown will always be called, but it will be called before the animation is complete\n onShow: (tooltipInstance) => this.onShow(tooltipInstance, 'onShow'),\n onHidden: this.onHide,\n\n popperOptions: getPopperOptions({\n fallbackPlacements: this.fallbackPlacements,\n hasHideModifierEnabled: true,\n onChangePlacement: this.onChangePlacement,\n }),\n };\n },\n\n anchor () {\n return this.externalAnchor ? document.body.querySelector(this.externalAnchor) : getAnchor(this.$refs.anchor);\n },\n },\n\n watch: {\n\n tippyProps: {\n handler: 'setProps',\n deep: true,\n },\n\n show: {\n handler: function (show) {\n if (show !== null) {\n this.internalShow = show;\n }\n },\n\n immediate: true,\n },\n\n internalShow (value) {\n if (value) {\n this.setProps();\n this.tip.show();\n } else {\n this.tip.hide();\n }\n },\n\n sticky (sticky) {\n this.tip.setProps({\n sticky,\n });\n },\n },\n\n mounted () {\n if (!this.enabled && this.show != null) {\n console.warn('Tooltip: You cannot use both the enabled and show props at the same time.');\n console.warn('The show prop will be ignored.');\n }\n\n this.externalAnchor && this.addExternalAnchorEventListeners();\n this.tip = createTippy(this.anchor, this.initOptions());\n },\n\n beforeUnmount () {\n this.externalAnchor && this.removeExternalAnchorEventListeners();\n\n if (this.tip) {\n this.tip?.destroy();\n }\n },\n\n methods: {\n calculateAnchorZindex () {\n // if a modal is currently active render at modal-element z-index, otherwise at tooltip z-index\n if (this.$el.getRootNode()\n .querySelector('.d-modal[aria-hidden=\"false\"], .d-modal--transparent[aria-hidden=\"false\"]') ||\n // Special case because we don't have any dialtone drawer component yet. Render at 651 when\n // anchor of popover is within a drawer.\n this.$el.closest('.d-zi-drawer')) {\n return 651;\n } else {\n return 400;\n }\n },\n\n hasVisibleFocus () {\n return this.anchor.matches(':focus-visible');\n },\n\n onEnterAnchor (e) {\n if (this.delay && this.inTimer === null) {\n this.inTimer = setTimeout(() => {\n this.triggerShow(e);\n }, TOOLTIP_DELAY_MS);\n } else {\n this.triggerShow(e);\n }\n },\n\n triggerShow (e) {\n if (e.type === 'focusin') {\n // only show tooltips on visible focus when triggered via focus.\n // when the user is using the mouse they only want tooltips to display\n // on mouseover.\n //\n // Example: anchor of a popover is a button with tooltip.\n // closing it with the mouse would trigger the tooltip to display as\n // the anchor is focused on close. Not what we want.\n if (this.show === null && this.hasVisibleFocus()) {\n this.internalShow = true;\n }\n } else {\n if (this.show === null) this.internalShow = true;\n }\n },\n\n onLeaveAnchor (e) {\n if (e.type === 'keydown' && e.code !== 'Escape') return;\n\n clearTimeout(this.inTimer);\n this.inTimer = null;\n this.triggerHide();\n },\n\n triggerHide () {\n if (this.show === null) this.internalShow = false;\n },\n\n onChangePlacement (placement) {\n this.currentPlacement = placement;\n },\n\n onHide () {\n this.tip?.unmount();\n this.$emit('shown', false);\n if (this.show !== null) {\n this.$emit('update:show', false);\n }\n },\n\n onShow (tooltipInstance, callingMethod) {\n if (!this.tooltipHasContent(tooltipInstance)) {\n return false;\n }\n if (this.transition && callingMethod === 'onShow') {\n return;\n }\n this.$emit('shown', true);\n if (this.show !== null) {\n this.$emit('update:show', true);\n }\n },\n\n setProps () {\n if (this.tip && this.tip.setProps) {\n this.tip.setProps({\n ...this.tippyProps,\n // these need to be set here rather than in tippyProps because they are non-reactive\n appendTo: this.appendTo === 'body' ? this.anchor?.getRootNode()?.querySelector('body') : this.appendTo,\n zIndex: this.calculateAnchorZindex(),\n });\n }\n },\n\n onMount () {\n this.setProps();\n },\n\n tooltipHasContent (tooltipInstance) {\n // don't show tooltip when no content\n if (tooltipInstance.props.content.textContent.trim().length === 0) {\n return false;\n }\n return true;\n },\n\n // set initial options here. If any of the options need to dynamically change, they should be put in\n // tippyProps instead.\n initOptions () {\n const template = this.$refs.content;\n return {\n content: template,\n arrow: '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"7\"><path d=\"M 14.5,7 8,0 1.5,7 Z\"/></svg>',\n // transition duration - same as our custom fade delay in dialtone-globals.less\n duration: 180,\n interactive: false,\n trigger: 'manual',\n hideOnClick: false,\n // disable tooltip from displaying on touch devices\n touch: false,\n onMount: this.onMount,\n showOnCreate: this.internalShow,\n popperOptions: getPopperOptions({\n hasHideModifierEnabled: true,\n }),\n };\n },\n\n addExternalAnchorEventListeners () {\n ['focusin', 'mouseenter'].forEach(listener => {\n this.anchor.addEventListener(listener, (event) => this.onEnterAnchor(event));\n });\n ['focusout', 'mouseleave', 'keydown'].forEach(listener => {\n this.anchor.addEventListener(listener, (event) => this.onLeaveAnchor(event));\n });\n },\n\n removeExternalAnchorEventListeners () {\n ['focusin', 'mouseenter'].forEach(listener => {\n this.anchor.removeEventListener(listener, (event) => this.onEnterAnchor(event));\n });\n ['focusout', 'mouseleave', 'keydown'].forEach(listener => {\n this.anchor.removeEventListener(listener, (event) => this.onLeaveAnchor(event));\n });\n },\n },\n};\n</script>\n\n<style lang=\"less\">\n@import 'tippy.js/dist/svg-arrow.css';\n\n.tippy-box[data-reference-hidden] {\n visibility: hidden;\n pointer-events: none;\n}\n\n.tippy-box > .tippy-svg-arrow {\n fill: var(--dt-color-surface-contrast);\n}\n\n.tippy-box[data-theme~='inverted'] > .tippy-svg-arrow {\n fill: var(--dt-color-surface-moderate);\n}\n\n.tippy-box[data-animation='fade'][data-state='hidden'] {\n opacity: 0;\n}\n</style>\n"],"names":["_openBlock","_createElementBlock","_renderSlot","_createElementVNode","_normalizeClass"],"mappings":";;;;;;;AAiEA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,OAAO;AAAA;AAAA;AAAA;AAAA,IAIL,IAAI;AAAA,MACF,MAAM;AAAA,MACN,UAAW;AAAE,eAAO,gBAAe;AAAA,MAAK;AAAA,IACzC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAeD,oBAAoB;AAAA,MAClB,MAAM;AAAA,MACN,SAAS,MAAM,CAAC,MAAM;AAAA,IACvB;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,UAAU;AAAA,MACR,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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAiBD,WAAW;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,MACT,UAAW,WAAW;AACpB,eAAO,mBAAmB,SAAS,SAAS;AAAA,MAC7C;AAAA,IACF;AAAA;AAAA;AAAA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AA;AAAA;MAG3BC,WAEE,KAAA,QAAA,QAAA;AAAA;IAEJC,mBAkBM,OAAA;AAAA,MAjBH,IAAI,OAAE;AAAA,MACP,KAAI;AAAA,MACJ,WAAQ;AAAA,MACP,OAAKC,eAAA;AAAA;;WAA+C,MAAsB,uBAAC,QAAQ,GAAI,OAAQ;AAAA;QAAqB,OAAY;AAAA;;MAWjIF,WAEO,4BAFP,MAEO;AAAA,wCADF,OAAO,OAAA,GAAA,CAAA;AAAA;;;;;"}
@@ -313,7 +313,7 @@
313
313
  background-color: var(--dt-color-surface-contrast);
314
314
  color: var(--dt-color-foreground-secondary-inverted);
315
315
  }
316
- .dt-leftbar-row[data-v-6ac4ceaa] {
316
+ .dt-leftbar-row[data-v-ca21dc4b] {
317
317
  --leftbar-row-color-foreground: var(--dt-theme-sidebar-color-foreground);
318
318
  --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background);
319
319
  --leftbar-row-radius: var(--dt-size-radius-pill);
@@ -344,65 +344,61 @@
344
344
  transition-timing-function: var(--ttf-out-quint);
345
345
  cursor: pointer;
346
346
  }
347
- .dt-leftbar-row[data-v-6ac4ceaa]:not(.dt-leftbar-row--no-action):hover,
348
- .dt-leftbar-row[data-v-6ac4ceaa]:not(.dt-leftbar-row--no-action):focus-within {
347
+ .dt-leftbar-row[data-v-ca21dc4b]:not(.dt-leftbar-row--no-action):hover,
348
+ .dt-leftbar-row[data-v-ca21dc4b]:not(.dt-leftbar-row--no-action):focus-within {
349
349
  --leftbar-row-unread-badge-display: none;
350
350
  }
351
- .dt-leftbar-row[data-v-6ac4ceaa]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action,
352
- .dt-leftbar-row[data-v-6ac4ceaa]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action {
351
+ .dt-leftbar-row[data-v-ca21dc4b]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action,
352
+ .dt-leftbar-row[data-v-ca21dc4b]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action {
353
353
  display: inline-flex;
354
354
  }
355
- .dt-leftbar-row[data-v-6ac4ceaa]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action-button,
356
- .dt-leftbar-row[data-v-6ac4ceaa]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action-button {
355
+ .dt-leftbar-row[data-v-ca21dc4b]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action-button,
356
+ .dt-leftbar-row[data-v-ca21dc4b]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action-button {
357
357
  opacity: 1;
358
358
  }
359
- .dt-leftbar-row[data-v-6ac4ceaa]:hover,
360
- .dt-leftbar-row[data-v-6ac4ceaa]:focus-within {
359
+ .dt-leftbar-row[data-v-ca21dc4b]:hover,
360
+ .dt-leftbar-row[data-v-ca21dc4b]:focus-within {
361
361
  --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-hover);
362
362
  }
363
- .dt-leftbar-row[data-v-6ac4ceaa]:hover .d-presence,
364
- .dt-leftbar-row[data-v-6ac4ceaa]:focus-within .d-presence {
363
+ .dt-leftbar-row[data-v-ca21dc4b]:hover .d-presence,
364
+ .dt-leftbar-row[data-v-ca21dc4b]:focus-within .d-presence {
365
365
  --presence-color-border-base: var(--dt-color-black-200);
366
366
  }
367
- .dt-leftbar-row[data-v-6ac4ceaa]:hover .d-avatar__count,
368
- .dt-leftbar-row[data-v-6ac4ceaa]:focus-within .d-avatar__count {
367
+ .dt-leftbar-row[data-v-ca21dc4b]:hover .d-avatar__count,
368
+ .dt-leftbar-row[data-v-ca21dc4b]:focus-within .d-avatar__count {
369
369
  --avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background);
370
370
  }
371
- .dt-leftbar-row--has-unread[data-v-6ac4ceaa] {
371
+ .dt-leftbar-row--has-unread[data-v-ca21dc4b] {
372
372
  --leftbar-row-description-font-weight: var(--dt-font-weight-bold);
373
373
  --leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);
374
374
  --leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);
375
375
  }
376
- .dt-leftbar-row--unread-count[data-v-6ac4ceaa] .dt-leftbar-row__action {
376
+ .dt-leftbar-row--unread-count[data-v-ca21dc4b] .dt-leftbar-row__action {
377
377
  display: none;
378
378
  }
379
- .dt-leftbar-row__unread-count-badge[data-v-6ac4ceaa] {
379
+ .dt-leftbar-row__unread-count-badge[data-v-ca21dc4b] {
380
380
  border-top-right-radius: var(--dt-size-radius-0);
381
381
  border-bottom-right-radius: var(--dt-size-radius-0);
382
382
  }
383
- .dt-leftbar-row__unread-mention-count-badge[data-v-6ac4ceaa] {
383
+ .dt-leftbar-row__unread-mention-count-badge[data-v-ca21dc4b] {
384
384
  border-top-left-radius: var(--dt-size-radius-0);
385
385
  border-bottom-left-radius: var(--dt-size-radius-0);
386
386
  background-color: var(--dt-color-purple-500);
387
387
  }
388
- .dt-leftbar-row__unread-mention-count-only-badge[data-v-6ac4ceaa] {
389
- background-color: var(--dt-color-purple-500);
390
- color: var(--dt-color-foreground-primary-inverted);
391
- }
392
- .dt-leftbar-row--muted[data-v-6ac4ceaa] {
388
+ .dt-leftbar-row--muted[data-v-ca21dc4b] {
393
389
  --leftbar-row-opacity: 60%;
394
390
  }
395
- .dt-leftbar-row--selected[data-v-6ac4ceaa] {
391
+ .dt-leftbar-row--selected[data-v-ca21dc4b] {
396
392
  --leftbar-row-color-background: var(--dt-theme-sidebar-selected-row-color-background);
397
393
  --leftbar-row-description-color-foreground: var(--dt-theme-sidebar-selected-row-color-foreground);
398
394
  }
399
- .dt-leftbar-row--selected[data-v-6ac4ceaa] .d-presence {
395
+ .dt-leftbar-row--selected[data-v-ca21dc4b] .d-presence {
400
396
  --presence-color-border-base: var(--dt-color-black-200);
401
397
  }
402
- .dt-leftbar-row--selected[data-v-6ac4ceaa] .d-avatar__count {
398
+ .dt-leftbar-row--selected[data-v-ca21dc4b] .d-avatar__count {
403
399
  --avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background);
404
400
  }
405
- .dt-leftbar-row__is-typing[data-v-6ac4ceaa] {
401
+ .dt-leftbar-row__is-typing[data-v-ca21dc4b] {
406
402
  --is-typing-size-shape: var(--dt-size-550);
407
403
  height: var(--is-typing-size-shape);
408
404
  width: var(--is-typing-size-shape);
@@ -414,7 +410,7 @@
414
410
  border-radius: var(--dt-size-radius-pill);
415
411
  opacity: 0.75;
416
412
  }
417
- .dt-leftbar-row__is-typing span[data-v-6ac4ceaa] {
413
+ .dt-leftbar-row__is-typing span[data-v-ca21dc4b] {
418
414
  transition: all 500ms ease;
419
415
  background: var(--dt-color-surface-strong);
420
416
  height: 4px;
@@ -423,18 +419,18 @@
423
419
  padding: 0;
424
420
  opacity: 0.3;
425
421
  border-radius: var(--dt-size-radius-pill);
426
- animation: wave-6ac4ceaa 1.5s ease infinite;
422
+ animation: wave-ca21dc4b 1.5s ease infinite;
427
423
  }
428
- .dt-leftbar-row__is-typing span[data-v-6ac4ceaa]:nth-child(1) {
424
+ .dt-leftbar-row__is-typing span[data-v-ca21dc4b]:nth-child(1) {
429
425
  animation-delay: 0ms;
430
426
  }
431
- .dt-leftbar-row__is-typing span[data-v-6ac4ceaa]:nth-child(2) {
427
+ .dt-leftbar-row__is-typing span[data-v-ca21dc4b]:nth-child(2) {
432
428
  animation-delay: var(--td100);
433
429
  }
434
- .dt-leftbar-row__is-typing span[data-v-6ac4ceaa]:nth-child(3) {
430
+ .dt-leftbar-row__is-typing span[data-v-ca21dc4b]:nth-child(3) {
435
431
  animation-delay: var(--td200);
436
432
  }
437
- .dt-leftbar-row__primary[data-v-6ac4ceaa] {
433
+ .dt-leftbar-row__primary[data-v-ca21dc4b] {
438
434
  display: flex;
439
435
  align-items: center;
440
436
  flex: 1;
@@ -451,18 +447,18 @@
451
447
  padding: 0;
452
448
  border-radius: var(--leftbar-row-radius);
453
449
  }
454
- .dt-leftbar-row__primary[data-v-6ac4ceaa]:active {
450
+ .dt-leftbar-row__primary[data-v-ca21dc4b]:active {
455
451
  --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-active);
456
452
  }
457
- .dt-leftbar-row__primary[data-v-6ac4ceaa]:focus-visible {
453
+ .dt-leftbar-row__primary[data-v-ca21dc4b]:focus-visible {
458
454
  box-shadow: var(--dt-shadow-focus-inset);
459
455
  }
460
- .dt-leftbar-row__action-button[data-v-6ac4ceaa] {
456
+ .dt-leftbar-row__action-button[data-v-ca21dc4b] {
461
457
  opacity: 0;
462
458
  width: var(--leftbar-row-action-width);
463
459
  height: var(--leftbar-row-action-height);
464
460
  }
465
- .dt-leftbar-row__alpha[data-v-6ac4ceaa] {
461
+ .dt-leftbar-row__alpha[data-v-ca21dc4b] {
466
462
  color: var(--leftbar-row-alpha-color-foreground);
467
463
  display: flex;
468
464
  box-sizing: border-box;
@@ -474,11 +470,11 @@
474
470
  height: var(--leftbar-row-alpha-height);
475
471
  border-radius: var(--leftbar-row-radius) 0 0 var(--leftbar-row-radius);
476
472
  }
477
- .dt-leftbar-row__label[data-v-6ac4ceaa] {
473
+ .dt-leftbar-row__label[data-v-ca21dc4b] {
478
474
  flex: 0 1;
479
475
  min-width: 0;
480
476
  }
481
- .dt-leftbar-row__omega[data-v-6ac4ceaa] {
477
+ .dt-leftbar-row__omega[data-v-ca21dc4b] {
482
478
  position: absolute;
483
479
  display: flex;
484
480
  right: var(--leftbar-row-action-position-right);
@@ -490,26 +486,26 @@
490
486
  box-sizing: border-box;
491
487
  border-radius: var(--leftbar-row-radius);
492
488
  }
493
- .dt-leftbar-row__unread-badge[data-v-6ac4ceaa] {
489
+ .dt-leftbar-row__unread-badge[data-v-ca21dc4b] {
494
490
  display: var(--leftbar-row-unread-badge-display);
495
491
  }
496
- .dt-leftbar-row__active-voice[data-v-6ac4ceaa] {
492
+ .dt-leftbar-row__active-voice[data-v-ca21dc4b] {
497
493
  color: var(--dt-color-purple-400);
498
494
  display: inline-flex;
499
- -webkit-animation-name: opacity-pulsate-6ac4ceaa;
495
+ -webkit-animation-name: opacity-pulsate-ca21dc4b;
500
496
  -webkit-animation-duration: 1s;
501
497
  -webkit-animation-iteration-count: infinite;
502
498
  -webkit-animation-fill-mode: both;
503
- -moz-animation-name: opacity-pulsate-6ac4ceaa;
499
+ -moz-animation-name: opacity-pulsate-ca21dc4b;
504
500
  -moz-animation-duration: 1s;
505
501
  -moz-animation-iteration-count: infinite;
506
502
  -moz-animation-fill-mode: both;
507
- animation-name: opacity-pulsate-6ac4ceaa;
503
+ animation-name: opacity-pulsate-ca21dc4b;
508
504
  animation-duration: 1s;
509
505
  animation-iteration-count: infinite;
510
506
  animation-fill-mode: both;
511
507
  }
512
- .dt-leftbar-row__dnd[data-v-6ac4ceaa] {
508
+ .dt-leftbar-row__dnd[data-v-ca21dc4b] {
513
509
  padding-top: var(--dt-space-200);
514
510
  padding-right: var(--dt-space-300);
515
511
  color: var(--dt-color-foreground-tertiary);
@@ -517,26 +513,26 @@
517
513
  line-height: var(--dt-font-line-height-400);
518
514
  font-weight: var(--dt-font-weight-medium);
519
515
  }
520
- .dt-leftbar-row__container--off-duty[data-v-6ac4ceaa] {
516
+ .dt-leftbar-row__container--off-duty[data-v-ca21dc4b] {
521
517
  border-radius: var(--dt-size-radius-500);
522
518
  background-color: var(--dt-badge-color-background-critical);
523
519
  border: var(--dt-size-100) solid var(--dt-color-border-subtle);
524
520
  }
525
- .dt-leftbar-row__container--off-duty[data-v-6ac4ceaa] .dt-leftbar-row__primary {
521
+ .dt-leftbar-row__container--off-duty[data-v-ca21dc4b] .dt-leftbar-row__primary {
526
522
  margin: calc(var(--dt-size-100) * -1);
527
523
  }
528
- .dt-leftbar-row--contact-centers[data-v-6ac4ceaa] .dt-leftbar-row__alpha {
524
+ .dt-leftbar-row--contact-centers[data-v-ca21dc4b] .dt-leftbar-row__alpha {
529
525
  padding-right: var(--dt-space-450);
530
526
  padding-left: var(--dt-space-450);
531
527
  }
532
- .dt-leftbar-row--contact-centers .dt-leftbar-row__action-container[data-v-6ac4ceaa] {
528
+ .dt-leftbar-row--contact-centers .dt-leftbar-row__action-container[data-v-ca21dc4b] {
533
529
  display: inline-flex;
534
530
  align-items: center;
535
531
  justify-content: flex-end;
536
532
  min-width: var(--dt-size-600);
537
533
  height: var(--dt-size-500);
538
534
  }
539
- .dt-leftbar-row[data-v-6ac4ceaa] .dt-leftbar-row__description {
535
+ .dt-leftbar-row[data-v-ca21dc4b] .dt-leftbar-row__description {
540
536
  display: block;
541
537
  font-weight: var(--leftbar-row-description-font-weight);
542
538
  font-size: var(--leftbar-row-description-font-size);
@@ -546,7 +542,7 @@
546
542
  text-overflow: ellipsis;
547
543
  white-space: nowrap;
548
544
  }
549
- .dt-leftbar-row[data-v-6ac4ceaa] .dt-leftbar-row__status {
545
+ .dt-leftbar-row[data-v-ca21dc4b] .dt-leftbar-row__status {
550
546
  display: block;
551
547
  color: var(--leftbar-row-status-color-foreground);
552
548
  font-size: var(--leftbar-row-status-font-size);
@@ -556,30 +552,30 @@
556
552
  text-overflow: ellipsis;
557
553
  white-space: nowrap;
558
554
  }
559
- .dt-leftbar-row[data-v-6ac4ceaa] .dt-leftbar-row__meta-context ~ .dt-leftbar-row__meta-custom:not(:empty):before {
555
+ .dt-leftbar-row[data-v-ca21dc4b] .dt-leftbar-row__meta-context ~ .dt-leftbar-row__meta-custom:not(:empty):before {
560
556
  content: ' • ';
561
557
  color: var(--dt-theme-sidebar-status-color-foreground);
562
558
  }
563
- .dt-leftbar-row__icon-cc[data-v-6ac4ceaa] {
559
+ .dt-leftbar-row__icon-cc[data-v-ca21dc4b] {
564
560
  border-radius: var(--dt-size-200);
565
561
  width: calc(var(--dt-size-300) * 3.5);
566
562
  height: calc(var(--dt-size-300) * 3.5);
567
563
  }
568
- .opacity-pulsate[data-v-6ac4ceaa] {
569
- -webkit-animation-name: opacity-pulsate-6ac4ceaa;
564
+ .opacity-pulsate[data-v-ca21dc4b] {
565
+ -webkit-animation-name: opacity-pulsate-ca21dc4b;
570
566
  -webkit-animation-duration: 1s;
571
567
  -webkit-animation-iteration-count: infinite;
572
568
  -webkit-animation-fill-mode: both;
573
- -moz-animation-name: opacity-pulsate-6ac4ceaa;
569
+ -moz-animation-name: opacity-pulsate-ca21dc4b;
574
570
  -moz-animation-duration: 1s;
575
571
  -moz-animation-iteration-count: infinite;
576
572
  -moz-animation-fill-mode: both;
577
- animation-name: opacity-pulsate-6ac4ceaa;
573
+ animation-name: opacity-pulsate-ca21dc4b;
578
574
  animation-duration: 1s;
579
575
  animation-iteration-count: infinite;
580
576
  animation-fill-mode: both;
581
577
  }
582
- @-webkit-keyframes opacity-pulsate-6ac4ceaa {
578
+ @-webkit-keyframes opacity-pulsate-ca21dc4b {
583
579
  0%,
584
580
  100% {
585
581
  opacity: 0.2;
@@ -588,7 +584,7 @@
588
584
  opacity: 1;
589
585
  }
590
586
  }
591
- @-moz-keyframes opacity-pulsate-6ac4ceaa {
587
+ @-moz-keyframes opacity-pulsate-ca21dc4b {
592
588
  0%,
593
589
  100% {
594
590
  opacity: 0.2;
@@ -597,7 +593,7 @@
597
593
  opacity: 1;
598
594
  }
599
595
  }
600
- @keyframes opacity-pulsate-6ac4ceaa {
596
+ @keyframes opacity-pulsate-ca21dc4b {
601
597
  0%,
602
598
  100% {
603
599
  opacity: 0.2;
@@ -606,7 +602,7 @@
606
602
  opacity: 1;
607
603
  }
608
604
  }
609
- @keyframes wave-6ac4ceaa {
605
+ @keyframes wave-ca21dc4b {
610
606
  0%,
611
607
  50%,
612
608
  100% {
@@ -689,10 +685,6 @@
689
685
  border-bottom-left-radius: var(--dt-size-radius-0);
690
686
  background-color: var(--dt-color-purple-500);
691
687
  }
692
- .dt-leftbar-row__unread-mention-count-only-badge[data-v-094eaef1] {
693
- background-color: var(--dt-color-purple-500);
694
- color: var(--dt-color-foreground-primary-inverted);
695
- }
696
688
  .dt-leftbar-row--muted[data-v-094eaef1] {
697
689
  --leftbar-row-opacity: 60%;
698
690
  }
@@ -150,6 +150,13 @@ declare const _default: import("vue").DefineComponent<{
150
150
  type: BooleanConstructor;
151
151
  default: boolean;
152
152
  };
153
+ /**
154
+ * Set a custom theme on the tooltip. See https://atomiks.github.io/tippyjs/v6/themes/
155
+ */
156
+ theme: {
157
+ type: StringConstructor;
158
+ default: undefined;
159
+ };
153
160
  /**
154
161
  * External anchor id to use in those cases the anchor can't be provided via the slot.
155
162
  * For instance, using the combobox's input as the anchor for the popover.
@@ -417,6 +424,13 @@ declare const _default: import("vue").DefineComponent<{
417
424
  type: BooleanConstructor;
418
425
  default: boolean;
419
426
  };
427
+ /**
428
+ * Set a custom theme on the tooltip. See https://atomiks.github.io/tippyjs/v6/themes/
429
+ */
430
+ theme: {
431
+ type: StringConstructor;
432
+ default: undefined;
433
+ };
420
434
  /**
421
435
  * External anchor id to use in those cases the anchor can't be provided via the slot.
422
436
  * For instance, using the combobox's input as the anchor for the popover.
@@ -441,6 +455,7 @@ declare const _default: import("vue").DefineComponent<{
441
455
  delay: boolean;
442
456
  placement: string;
443
457
  sticky: string | boolean;
458
+ theme: string;
444
459
  enabled: boolean;
445
460
  externalAnchor: string;
446
461
  }, {}>;
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip.vue.js"],"names":[],"mappings":";IA4BI;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;OAKG;;;;;;;;;IAUH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAjJH;;;eAGG;;;;;;;;;;;;;;;;;;;;;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IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;+BApMyC,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../directives/tooltip/tooltip.js"],"names":[],"mappings":";;IAME,iCAkFC"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../directives/tooltip/tooltip.js"],"names":[],"mappings":";;IAME,iCAmFC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone",
3
- "version": "9.43.0",
3
+ "version": "9.45.0",
4
4
  "description": "Dialpad's Dialtone design system monorepo",
5
5
  "files": [
6
6
  "dist"
@@ -63,7 +63,7 @@
63
63
  "stylelint": "15.11.0",
64
64
  "tippy.js": "6.3.7",
65
65
  "@dialpad/dialtone-emojis": "1.0.7",
66
- "@dialpad/dialtone-icons": "4.17.0"
66
+ "@dialpad/dialtone-icons": "4.17.1"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@commitlint/cli": "^18.4.3",