@dialpad/dialtone-vue 2.121.0 → 2.122.1

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 (38) hide show
  1. package/CHANGELOG.json +1 -1
  2. package/CHANGELOG.md +21 -0
  3. package/dist/component-documentation.json +1 -1
  4. package/dist/dialtone-vue.cjs +3 -3
  5. package/dist/dialtone-vue.js +64 -15
  6. package/dist/directives.cjs +1 -1
  7. package/dist/directives.js +1 -1
  8. package/dist/emoji.cjs +1 -1
  9. package/dist/emoji.js +4 -4
  10. package/dist/{emoji_picker-pzXZS6X7.cjs → emoji_picker-F8BRxcT4.cjs} +1 -1
  11. package/dist/{emoji_picker-oRqwDR1h.js → emoji_picker-eZhVMcsq.js} +2 -2
  12. package/dist/{emoji_text_wrapper-V-Qf4XZv.js → emoji_text_wrapper-D8sO5OFj.js} +2 -2
  13. package/dist/{emoji_text_wrapper-6Yl5NIEJ.cjs → emoji_text_wrapper-Rk9EMvo8.cjs} +1 -1
  14. package/dist/{index-74FmkvkN.js → index-5kIwGgwp.js} +180 -179
  15. package/dist/index-FZJBS_ti.cjs +1 -0
  16. package/dist/message_input.cjs +1 -1
  17. package/dist/message_input.js +4 -4
  18. package/dist/{rich_text_editor-QsHU2mru.js → rich_text_editor-750LBgdo.js} +861 -861
  19. package/dist/{rich_text_editor-OOdKm54S.cjs → rich_text_editor-q9e-ZDwe.cjs} +2 -2
  20. package/dist/style.css +1 -1
  21. package/dist/{tooltip-mMe9F6C6.js → tooltip-88U5vFMA.js} +3 -3
  22. package/dist/{tooltip-sE12R_AU.cjs → tooltip-i2wxFIIi.cjs} +1 -1
  23. package/dist/types/components/banner/banner.vue.d.ts +20 -1
  24. package/dist/types/components/banner/banner.vue.d.ts.map +1 -1
  25. package/dist/types/components/link/link.vue.d.ts +3 -2
  26. package/dist/types/components/link/link.vue.d.ts.map +1 -1
  27. package/dist/types/components/link/link_constants.d.ts +2 -0
  28. package/dist/types/components/link/link_constants.d.ts.map +1 -1
  29. package/dist/types/components/notice/notice.vue.d.ts +34 -0
  30. package/dist/types/components/notice/notice.vue.d.ts.map +1 -1
  31. package/dist/types/components/notice/notice_action.vue.d.ts +17 -0
  32. package/dist/types/components/notice/notice_action.vue.d.ts.map +1 -1
  33. package/dist/types/components/toast/toast.vue.d.ts +34 -0
  34. package/dist/types/components/toast/toast.vue.d.ts.map +1 -1
  35. package/dist/types/components/tooltip/tooltip.vue.d.ts +0 -1
  36. package/dist/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  37. package/package.json +3 -3
  38. package/dist/index-dsfPzyLy.cjs +0 -1
@@ -18,4 +18,4 @@
18
18
  `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
19
19
 
20
20
  `,`1) content: element.innerHTML
21
- `,"2) content: () => element.cloneNode(true)"].join(" "))}var l=o.reduce(function(a,f){var p=f&&ro(f,r);return p&&a.push(p),a},[]);return Fe(e)?l[0]:l}_e.defaultProps=H;_e.setDefaultProps=Ji;_e.currentInput=J;Object.assign({},En,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});var io={name:"sticky",defaultValue:!1,fn:function(t){var n=t.reference,r=t.popper;function o(){return t.popperInstance?t.popperInstance.state.elements.reference:n}function s(f){return t.props.sticky===!0||t.props.sticky===f}var c=null,l=null;function a(){var f=s("reference")?o().getBoundingClientRect():null,p=s("popper")?r.getBoundingClientRect():null;(f&&en(c,f)||p&&en(l,p))&&t.popperInstance&&t.popperInstance.update(),c=f,l=p,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function en(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}_e.setDefaultProps({render:kn});const oo=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),jn=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Bn=[!0,!1,"reference","popper"],Un=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,_e(e,{...t,plugins:[io],render:()=>uo(n)})},Fn=({boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=()=>{},hasHideModifierEnabled:r=!1,tether:o=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:r},{name:"preventOverflow",options:{altAxis:!o,tether:o}},oo(({state:s})=>{n(s.placement)})]}),ao=e=>{const t=document.createElement("span");return t.innerText=e.innerText||"",e.innerText="",e.appendChild(t),t},so=e=>{const t=e==null?void 0:e.children[0];return t||ao(e)},uo=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},co={none:void 0,small:"d-p4",medium:"d-p8",large:"d-p16"},lo={none:void 0,small:"d-pl4",medium:"d-pl8",large:"d-pl16"},po=["dialog","menu","listbox","tree","grid"],fo=["","anchor"],vo=["none","dialog","first"],Hn=["parent","body"],ho=[...Bn],mo=[...jn],Wn=[...jn],zn=300,Yn={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},qn=[...Bn],go=[!0,!1,"toggle"],yo={name:"DtTooltip",components:{DtLazyShow:gn},props:{id:{type:String,default(){return wt()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(e){return Wn.includes(e)}},sticky:{type:[Boolean,String],default:!1,validator:e=>qn.includes(e)},appendTo:{type:[HTMLElement,String],default:"body",validator:e=>Hn.includes(e)||e instanceof HTMLElement},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},enabled:{type:Boolean,default:!0},show:{type:Boolean,default:null},transition:{type:String,default:"fade"},delay:{type:Boolean,default:!0},externalAnchor:{type:String,default:null}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:Yn,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement,isTouchDevice:!1}},computed:{isVisible(){var o,s;const e=!!((o=this.message)!=null&&o.trim()),t=!!((s=this.$slots)!=null&&s.default),n=!this.isTouchDevice;return this.isShown&&this.enabled&&(e||t)&&n},tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:Fn({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}},anchor(){return this.externalAnchor?document.body.querySelector(this.externalAnchor):so(this.$refs.anchor)}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(e){e!==null&&(this.isShown=e)},immediate:!0},isShown(e){e?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(e){this.tip.setProps({sticky:e})}},mounted(){!this.enabled&&this.show!=null&&(console.warn("Tooltip: You cannot use both the enabled and show props at the same time."),console.warn("The show prop will be ignored.")),this.externalAnchor&&this.addExternalAnchorEventListeners(),this.tip=Un(this.anchor,this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var e;this.externalAnchor&&this.removeExternalAnchorEventListeners(),this.tip&&((e=this.tip)==null||e.destroy())},methods:{calculateAnchorZindex(){return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||this.$el.closest(".d-zi-drawer")?651:400},hasVisibleFocus(){return this.anchor.matches(":focus-visible")},onEnterAnchor(e){this.isTouchDevice&&!e.relatedTarget||(this.delay?this.inTimer=setTimeout((function(t){this.triggerShow(t)}).bind(this,e),zn):this.triggerShow(e),this.isTouchDevice=!1)},triggerShow(e){e.type==="focusin"?this.show===null&&this.hasVisibleFocus()&&(this.isShown=!0):this.show===null&&(this.isShown=!0)},onLeaveAnchor(e){e.type==="keydown"&&e.code!=="Escape"||(clearTimeout(this.inTimer),this.triggerHide())},triggerHide(){this.show===null&&(this.isShown=!1)},onChangePlacement(e){this.currentPlacement=e},onLeaveTransitionComplete(){var e;(e=this.tip)==null||e.unmount(),this.$emit("shown",!1),this.show!==null&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),this.show!==null&&this.$emit("update:show",!0)},setProps(){this.tip&&this.tip.setProps&&this.tip.setProps({...this.tippyProps,zIndex:this.calculateAnchorZindex()})},onMount(){this.setProps()},initOptions(){var e,t;return{contentElement:this.$refs.content.$el,allowHTML:!0,appendTo:this.appendTo==="body"?(t=(e=this.anchor)==null?void 0:e.getRootNode())==null?void 0:t.querySelector("body"):this.appendTo,zIndex:this.calculateAnchorZindex(),onMount:this.onMount,...this.tippyProps}},addExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onLeaveAnchor(t))})},removeExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onLeaveAnchor(t))})},onTouchStart(){this.isTouchDevice=!0}}};var bo=function(){var t=this,n=t._self._c;return n("div",{attrs:{"data-qa":"dt-tooltip-container"}},[t.externalAnchor?t._e():n("span",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:t.onEnterAnchor,focusout:t.onLeaveAnchor,mouseenter:t.onEnterAnchor,mouseleave:t.onLeaveAnchor,keydown:function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"esc",27,r.key,["Esc","Escape"])?null:t.onLeaveAnchor.apply(null,arguments)},touchstart:t.onTouchStart}},[t._t("anchor")],2),n("dt-lazy-show",t._g({ref:"content",class:["d-tooltip",`d-tooltip__arrow-tippy--${t.currentPlacement}`,{[t.TOOLTIP_KIND_MODIFIERS.inverted]:t.inverted},t.contentClass],attrs:{id:t.id,show:t.isVisible,role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:t.transition}},t.tooltipListeners),[t._t("default",function(){return[t._v(" "+t._s(t.message)+" ")]})],2)],1)},Eo=[],wo=At(yo,bo,Eo,!1,null,null,null,null);const Oo=wo.exports;exports.DEFAULT_VALIDATION_MESSAGE_TYPE=tn;exports.DESCRIPTION_SIZE_MODIFIERS=nr;exports.DESCRIPTION_SIZE_TYPES=tr;exports.DtLazyShow=gn;exports.DtTooltip=Oo;exports.EVENT_KEYNAMES=ir;exports.LABEL_SIZE_MODIFIERS=rr;exports.POPOVER_APPEND_TO_VALUES=Hn;exports.POPOVER_CONTENT_WIDTHS=fo;exports.POPOVER_DIRECTIONS=mo;exports.POPOVER_HEADER_FOOTER_PADDING_CLASSES=lo;exports.POPOVER_INITIAL_FOCUS_STRINGS=vo;exports.POPOVER_PADDING_CLASSES=co;exports.POPOVER_ROLES=po;exports.POPOVER_STICKY_VALUES=ho;exports.TOOLTIP_DELAY_MS=zn;exports.TOOLTIP_DIRECTIONS=Wn;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=go;exports.TOOLTIP_KIND_MODIFIERS=Yn;exports.TOOLTIP_STICKY_VALUES=qn;exports.VALIDATION_MESSAGE_TYPES=le;exports.capitalizeFirstLetter=mn;exports.createTippy=Un;exports.filterFormattedMessages=an;exports.formatMessages=on;exports.getPhoneNumberRegex=Tt;exports.getPopperOptions=Fn;exports.getRandomElement=nn;exports.getUniqueString=wt;exports.getValidationState=Ot;exports.isOutOfViewPort=sn;exports.linkRegex=vn;exports.normalizeComponent=At;exports.safeConcatStrings=hn;exports.tippy=_e;exports.utils=Er;
21
+ `,"2) content: () => element.cloneNode(true)"].join(" "))}var l=o.reduce(function(a,f){var p=f&&ro(f,r);return p&&a.push(p),a},[]);return Fe(e)?l[0]:l}_e.defaultProps=H;_e.setDefaultProps=Ji;_e.currentInput=J;Object.assign({},En,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});var io={name:"sticky",defaultValue:!1,fn:function(t){var n=t.reference,r=t.popper;function o(){return t.popperInstance?t.popperInstance.state.elements.reference:n}function s(f){return t.props.sticky===!0||t.props.sticky===f}var c=null,l=null;function a(){var f=s("reference")?o().getBoundingClientRect():null,p=s("popper")?r.getBoundingClientRect():null;(f&&en(c,f)||p&&en(l,p))&&t.popperInstance&&t.popperInstance.update(),c=f,l=p,t.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){t.props.sticky&&a()}}}};function en(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}_e.setDefaultProps({render:kn});const oo=e=>({name:"arrowDetected",enabled:!0,phase:"main",fn:e,requiresIfExists:["offset"]}),jn=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Bn=[!0,!1,"reference","popper"],Un=(e,t)=>{const{contentElement:n}={...t};return delete t.contentElement,_e(e,{...t,plugins:[io],render:()=>uo(n)})},Fn=({boundary:e="clippingParents",fallbackPlacements:t=[],onChangePlacement:n=()=>{},hasHideModifierEnabled:r=!1,tether:o=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:t,boundary:e}},{name:"hide",enabled:r},{name:"preventOverflow",options:{altAxis:!o,tether:o}},oo(({state:s})=>{n(s.placement)})]}),ao=e=>{const t=document.createElement("span");return t.innerText=e.innerText||"",e.innerText="",e.appendChild(t),t},so=e=>{const t=e==null?void 0:e.children[0];return t||ao(e)},uo=e=>{const t=document.createElement("div");return t.className="tippy-box d-ps-absolute",t.appendChild(e),{popper:t}},co={none:void 0,small:"d-p4",medium:"d-p8",large:"d-p16"},lo={none:void 0,small:"d-pl4",medium:"d-pl8",large:"d-pl16"},po=["dialog","menu","listbox","tree","grid"],fo=["","anchor"],vo=["none","dialog","first"],Hn=["parent","body"],ho=[...Bn],mo=[...jn],Wn=[...jn],zn=300,Yn={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},qn=[...Bn],go=[!0,!1,"toggle"],yo={name:"DtTooltip",components:{DtLazyShow:gn},props:{id:{type:String,default(){return wt()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(e){return Wn.includes(e)}},sticky:{type:[Boolean,String],default:!1,validator:e=>qn.includes(e)},appendTo:{type:[HTMLElement,String],default:"body",validator:e=>Hn.includes(e)||e instanceof HTMLElement},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},enabled:{type:Boolean,default:!0},show:{type:Boolean,default:null},transition:{type:String,default:"fade"},delay:{type:Boolean,default:!0},externalAnchor:{type:String,default:null}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:Yn,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement,isTouchDevice:!1}},computed:{isVisible(){var o,s;const e=!!((o=this.message)!=null&&o.trim()),t=!!((s=this.$slots)!=null&&s.default),n=!this.isTouchDevice;return this.isShown&&this.enabled&&(e||t)&&n},tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:Fn({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}},anchor(){return this.externalAnchor?document.body.querySelector(this.externalAnchor):so(this.$refs.anchor)}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(e){e!==null&&(this.isShown=e)},immediate:!0},isShown(e){e?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(e){this.tip.setProps({sticky:e})}},mounted(){!this.enabled&&this.show!=null&&(console.warn("Tooltip: You cannot use both the enabled and show props at the same time."),console.warn("The show prop will be ignored.")),this.externalAnchor&&this.addExternalAnchorEventListeners(),this.tip=Un(this.anchor,this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var e;this.externalAnchor&&this.removeExternalAnchorEventListeners(),this.tip&&((e=this.tip)==null||e.destroy())},methods:{calculateAnchorZindex(){return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||this.$el.closest(".d-zi-drawer")?651:400},hasVisibleFocus(){return this.anchor.matches(":focus-visible")},onEnterAnchor(e){this.isTouchDevice&&!e.relatedTarget||(this.delay?this.inTimer=setTimeout((function(t){this.triggerShow(t)}).bind(this,e),zn):this.triggerShow(e),this.isTouchDevice=!1)},triggerShow(e){e.type==="focusin"?this.show===null&&this.hasVisibleFocus()&&(this.isShown=!0):this.show===null&&(this.isShown=!0)},onLeaveAnchor(e){e.type==="keydown"&&e.code!=="Escape"||(clearTimeout(this.inTimer),this.triggerHide())},triggerHide(){this.show===null&&(this.isShown=!1)},onChangePlacement(e){this.currentPlacement=e},onLeaveTransitionComplete(){var e;(e=this.tip)==null||e.unmount(),this.$emit("shown",!1),this.show!==null&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),this.show!==null&&this.$emit("update:show",!0)},setProps(){var e,t;this.tip&&this.tip.setProps&&this.tip.setProps({...this.tippyProps,zIndex:this.calculateAnchorZindex(),appendTo:this.appendTo==="body"?(t=(e=this.anchor)==null?void 0:e.getRootNode())==null?void 0:t.querySelector("body"):this.appendTo})},onMount(){this.setProps()},initOptions(){return{contentElement:this.$refs.content.$el,allowHTML:!0,zIndex:this.calculateAnchorZindex(),onMount:this.onMount,...this.tippyProps}},addExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.addEventListener(e,t=>this.onLeaveAnchor(t))})},removeExternalAnchorEventListeners(){["focusin","mouseenter"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onEnterAnchor(t))}),["focusout","mouseleave","keydown"].forEach(e=>{this.anchor.removeEventListener(e,t=>this.onLeaveAnchor(t))})},onTouchStart(){this.isTouchDevice=!0}}};var bo=function(){var t=this,n=t._self._c;return n("div",{attrs:{"data-qa":"dt-tooltip-container"}},[t.externalAnchor?t._e():n("span",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:t.onEnterAnchor,focusout:t.onLeaveAnchor,mouseenter:t.onEnterAnchor,mouseleave:t.onLeaveAnchor,keydown:function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"esc",27,r.key,["Esc","Escape"])?null:t.onLeaveAnchor.apply(null,arguments)},touchstart:t.onTouchStart}},[t._t("anchor")],2),n("dt-lazy-show",t._g({ref:"content",class:["d-tooltip",`d-tooltip__arrow-tippy--${t.currentPlacement}`,{[t.TOOLTIP_KIND_MODIFIERS.inverted]:t.inverted},t.contentClass],attrs:{id:t.id,show:t.isVisible,role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:t.transition}},t.tooltipListeners),[t._t("default",function(){return[t._v(" "+t._s(t.message)+" ")]})],2)],1)},Eo=[],wo=At(yo,bo,Eo,!1,null,null,null,null);const Oo=wo.exports;exports.DEFAULT_VALIDATION_MESSAGE_TYPE=tn;exports.DESCRIPTION_SIZE_MODIFIERS=nr;exports.DESCRIPTION_SIZE_TYPES=tr;exports.DtLazyShow=gn;exports.DtTooltip=Oo;exports.EVENT_KEYNAMES=ir;exports.LABEL_SIZE_MODIFIERS=rr;exports.POPOVER_APPEND_TO_VALUES=Hn;exports.POPOVER_CONTENT_WIDTHS=fo;exports.POPOVER_DIRECTIONS=mo;exports.POPOVER_HEADER_FOOTER_PADDING_CLASSES=lo;exports.POPOVER_INITIAL_FOCUS_STRINGS=vo;exports.POPOVER_PADDING_CLASSES=co;exports.POPOVER_ROLES=po;exports.POPOVER_STICKY_VALUES=ho;exports.TOOLTIP_DELAY_MS=zn;exports.TOOLTIP_DIRECTIONS=Wn;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=go;exports.TOOLTIP_KIND_MODIFIERS=Yn;exports.TOOLTIP_STICKY_VALUES=qn;exports.VALIDATION_MESSAGE_TYPES=le;exports.capitalizeFirstLetter=mn;exports.createTippy=Un;exports.filterFormattedMessages=an;exports.formatMessages=on;exports.getPhoneNumberRegex=Tt;exports.getPopperOptions=Fn;exports.getRandomElement=nn;exports.getUniqueString=wt;exports.getValidationState=Ot;exports.isOutOfViewPort=sn;exports.linkRegex=vn;exports.normalizeComponent=At;exports.safeConcatStrings=hn;exports.tippy=_e;exports.utils=Er;
@@ -58,6 +58,7 @@ declare const _default: import("vue").DefineComponent<{
58
58
  };
59
59
  /**
60
60
  * Hides the close button from the notice
61
+ * @values true, false
61
62
  */
62
63
  hideClose: {
63
64
  type: BooleanConstructor;
@@ -71,6 +72,14 @@ declare const _default: import("vue").DefineComponent<{
71
72
  type: BooleanConstructor;
72
73
  default: boolean;
73
74
  };
75
+ /**
76
+ * Hides the action from the notice
77
+ * @values true, false
78
+ */
79
+ hideAction: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
74
83
  /**
75
84
  * Inner dialog class
76
85
  */
@@ -197,6 +206,7 @@ declare const _default: import("vue").DefineComponent<{
197
206
  };
198
207
  /**
199
208
  * Hides the close button from the notice
209
+ * @values true, false
200
210
  */
201
211
  hideClose: {
202
212
  type: BooleanConstructor;
@@ -210,6 +220,14 @@ declare const _default: import("vue").DefineComponent<{
210
220
  type: BooleanConstructor;
211
221
  default: boolean;
212
222
  };
223
+ /**
224
+ * Hides the action from the notice
225
+ * @values true, false
226
+ */
227
+ hideAction: {
228
+ type: BooleanConstructor;
229
+ default: boolean;
230
+ };
213
231
  /**
214
232
  * Inner dialog class
215
233
  */
@@ -241,9 +259,10 @@ declare const _default: import("vue").DefineComponent<{
241
259
  contentId: string;
242
260
  closeButtonProps: Record<string, any>;
243
261
  hideClose: boolean;
262
+ hideAction: boolean;
244
263
  important: boolean;
245
- pinned: boolean;
246
264
  hideIcon: boolean;
265
+ pinned: boolean;
247
266
  dialogClass: string;
248
267
  backgroundImage: string;
249
268
  backgroundSize: string;
@@ -1 +1 @@
1
- {"version":3,"file":"banner.vue.d.ts","sourceRoot":"","sources":["../../../../components/banner/banner.vue.js"],"names":[],"mappings":";IAwBI;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAxGH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG"}
1
+ {"version":3,"file":"banner.vue.d.ts","sourceRoot":"","sources":["../../../../components/banner/banner.vue.js"],"names":[],"mappings":";IAwBI;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAlHH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG"}
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  /**
3
3
  * Applies the link variant styles
4
- * @values null, danger, warning, success, muted, inverted
4
+ * @values null, danger, warning, success, muted, inverted, mention
5
5
  */
6
6
  kind: {
7
7
  type: StringConstructor;
@@ -16,11 +16,12 @@ declare const _default: import("vue").DefineComponent<{
16
16
  success: string;
17
17
  muted: string;
18
18
  inverted: string;
19
+ mention: string;
19
20
  };
20
21
  }, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("click" | "focusin" | "focusout")[], string, Readonly<import("vue").ExtractPropTypes<{
21
22
  /**
22
23
  * Applies the link variant styles
23
- * @values null, danger, warning, success, muted, inverted
24
+ * @values null, danger, warning, success, muted, inverted, mention
24
25
  */
25
26
  kind: {
26
27
  type: StringConstructor;
@@ -1 +1 @@
1
- {"version":3,"file":"link.vue.d.ts","sourceRoot":"","sources":["../../../../components/link/link.vue.js"],"names":[],"mappings":";IAcI;;;OAGG;;;;;;;;;;;;;;;;IAHH;;;OAGG"}
1
+ {"version":3,"file":"link.vue.d.ts","sourceRoot":"","sources":["../../../../components/link/link.vue.js"],"names":[],"mappings":";IAcI;;;OAGG;;;;;;;;;;;;;;;;;IAHH;;;OAGG"}
@@ -3,6 +3,7 @@ export const WARNING: "warning";
3
3
  export const SUCCESS: "success";
4
4
  export const MUTED: "muted";
5
5
  export const INVERTED: "inverted";
6
+ export const MENTION: "mention";
6
7
  export const LINK_VARIANTS: string[];
7
8
  export namespace LINK_KIND_MODIFIERS {
8
9
  let _default: string;
@@ -12,6 +13,7 @@ export namespace LINK_KIND_MODIFIERS {
12
13
  export let success: string;
13
14
  export let muted: string;
14
15
  export let inverted: string;
16
+ export let mention: string;
15
17
  }
16
18
  declare namespace _default {
17
19
  export { LINK_VARIANTS };
@@ -1 +1 @@
1
- {"version":3,"file":"link_constants.d.ts","sourceRoot":"","sources":["../../../../components/link/link_constants.js"],"names":[],"mappings":"AAAA,8BAA+B;AAC/B,gCAAiC;AACjC,gCAAiC;AACjC,4BAA6B;AAC7B,kCAAmC;AACnC,qCAA6E"}
1
+ {"version":3,"file":"link_constants.d.ts","sourceRoot":"","sources":["../../../../components/link/link_constants.js"],"names":[],"mappings":"AAAA,8BAA+B;AAC/B,gCAAiC;AACjC,gCAAiC;AACjC,4BAA6B;AAC7B,kCAAmC;AACnC,gCAAiC;AACjC,qCAAsF"}
@@ -66,6 +66,22 @@ declare const _default: import("vue").DefineComponent<{
66
66
  type: BooleanConstructor;
67
67
  default: boolean;
68
68
  };
69
+ /**
70
+ * Hides the icon from the notice
71
+ * @values true, false
72
+ */
73
+ hideIcon: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ /**
78
+ * Hides the action from the notice
79
+ * @values true, false
80
+ */
81
+ hideAction: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
69
85
  }, {}, {}, {
70
86
  noticeClass(): any[];
71
87
  }, {}, {
@@ -160,6 +176,22 @@ declare const _default: import("vue").DefineComponent<{
160
176
  type: BooleanConstructor;
161
177
  default: boolean;
162
178
  };
179
+ /**
180
+ * Hides the icon from the notice
181
+ * @values true, false
182
+ */
183
+ hideIcon: {
184
+ type: BooleanConstructor;
185
+ default: boolean;
186
+ };
187
+ /**
188
+ * Hides the action from the notice
189
+ * @values true, false
190
+ */
191
+ hideAction: {
192
+ type: BooleanConstructor;
193
+ default: boolean;
194
+ };
163
195
  }>>, {
164
196
  title: string;
165
197
  role: string;
@@ -168,7 +200,9 @@ declare const _default: import("vue").DefineComponent<{
168
200
  contentId: string;
169
201
  closeButtonProps: Record<string, any>;
170
202
  hideClose: boolean;
203
+ hideAction: boolean;
171
204
  important: boolean;
205
+ hideIcon: boolean;
172
206
  }>;
173
207
  export default _default;
174
208
  //# sourceMappingURL=notice.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notice.vue.d.ts","sourceRoot":"","sources":["../../../../components/notice/notice.vue.js"],"names":[],"mappings":";IAwBI;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IASH;;;;OAIG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAzEH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IASH;;;;OAIG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;;OAGG"}
1
+ {"version":3,"file":"notice.vue.d.ts","sourceRoot":"","sources":["../../../../components/notice/notice.vue.js"],"names":[],"mappings":";IAwBI;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IASH;;;;OAIG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA3FH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IASH;;;;OAIG;;;;;IAMH;;;OAGG;;;;;;IASH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
@@ -14,6 +14,14 @@ declare const _default: import("vue").DefineComponent<{
14
14
  type: BooleanConstructor;
15
15
  default: boolean;
16
16
  };
17
+ /**
18
+ * Hides the action from the notice
19
+ * @values true, false
20
+ */
21
+ hideAction: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
17
25
  }, {}, {}, {
18
26
  noticeActionListeners(): {
19
27
  click: (event: any) => void;
@@ -60,9 +68,18 @@ declare const _default: import("vue").DefineComponent<{
60
68
  type: BooleanConstructor;
61
69
  default: boolean;
62
70
  };
71
+ /**
72
+ * Hides the action from the notice
73
+ * @values true, false
74
+ */
75
+ hideAction: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
63
79
  }>>, {
64
80
  closeButtonProps: Record<string, any>;
65
81
  hideClose: boolean;
82
+ hideAction: boolean;
66
83
  }>;
67
84
  export default _default;
68
85
  //# sourceMappingURL=notice_action.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notice_action.vue.d.ts","sourceRoot":"","sources":["../../../../components/notice/notice_action.vue.js"],"names":[],"mappings":";IAmBI;;OAEG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAXH;;OAEG;;;;;IAMH;;;OAGG"}
1
+ {"version":3,"file":"notice_action.vue.d.ts","sourceRoot":"","sources":["../../../../components/notice/notice_action.vue.js"],"names":[],"mappings":";IAmBI;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IApBH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
@@ -82,6 +82,22 @@ declare const _default: import("vue").DefineComponent<{
82
82
  type: BooleanConstructor;
83
83
  default: boolean;
84
84
  };
85
+ /**
86
+ * Hides the icon from the notice
87
+ * @values true, false
88
+ */
89
+ hideIcon: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
93
+ /**
94
+ * Hides the action from the notice
95
+ * @values true, false
96
+ */
97
+ hideAction: {
98
+ type: BooleanConstructor;
99
+ default: boolean;
100
+ };
85
101
  /**
86
102
  * The duration in ms the toast will display before disappearing.
87
103
  * The toast won't disappear if the duration is not provided.
@@ -211,6 +227,22 @@ declare const _default: import("vue").DefineComponent<{
211
227
  type: BooleanConstructor;
212
228
  default: boolean;
213
229
  };
230
+ /**
231
+ * Hides the icon from the notice
232
+ * @values true, false
233
+ */
234
+ hideIcon: {
235
+ type: BooleanConstructor;
236
+ default: boolean;
237
+ };
238
+ /**
239
+ * Hides the action from the notice
240
+ * @values true, false
241
+ */
242
+ hideAction: {
243
+ type: BooleanConstructor;
244
+ default: boolean;
245
+ };
214
246
  /**
215
247
  * The duration in ms the toast will display before disappearing.
216
248
  * The toast won't disappear if the duration is not provided.
@@ -230,7 +262,9 @@ declare const _default: import("vue").DefineComponent<{
230
262
  contentId: string;
231
263
  closeButtonProps: Record<string, any>;
232
264
  hideClose: boolean;
265
+ hideAction: boolean;
233
266
  important: boolean;
267
+ hideIcon: boolean;
234
268
  show: boolean;
235
269
  duration: number;
236
270
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"toast.vue.d.ts","sourceRoot":"","sources":["../../../../components/toast/toast.vue.js"],"names":[],"mappings":";IAwBI;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;;IASH;;;OAGG;;;;;;IASH;;;OAGG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IArGH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;;IASH;;;OAGG;;;;;;IASH;;;OAGG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;;OAIG"}
1
+ {"version":3,"file":"toast.vue.d.ts","sourceRoot":"","sources":["../../../../components/toast/toast.vue.js"],"names":[],"mappings":";IAwBI;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;;IASH;;;OAGG;;;;;;IASH;;;OAGG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvHH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;;IASH;;;OAGG;;;;;;IASH;;;OAGG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;;OAIG"}
@@ -267,7 +267,6 @@ declare const _default: import("vue").DefineComponent<{
267
267
  };
268
268
  contentElement: any;
269
269
  allowHTML: boolean;
270
- appendTo: any;
271
270
  zIndex: number;
272
271
  onMount: () => void;
273
272
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip.vue.js"],"names":[],"mappings":";IAgCI;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;OAKG;;;;;;;;;IAUH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA5KH;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;OAKG;;;;;;;;;IAUH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
1
+ {"version":3,"file":"tooltip.vue.d.ts","sourceRoot":"","sources":["../../../../components/tooltip/tooltip.vue.js"],"names":[],"mappings":";IAgCI;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;OAKG;;;;;;;;;IAUH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA5KH;;OAEG;;;;;IAMH;;;;;;;;;;;;SAYK;;;;;IAML;;;OAGG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;;;;;;;;;;OAcG;;;;;;IASH;;;;;OAKG;;;;;;;;;IAUH;;;;OAIG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone-vue",
3
- "version": "2.121.0",
3
+ "version": "2.122.1",
4
4
  "description": "Vue component library for Dialpad's design system Dialtone",
5
5
  "files": [
6
6
  "dist",
@@ -83,9 +83,9 @@
83
83
  "vue-tsc": "^1.8.25",
84
84
  "yo": "^5.0.0",
85
85
  "yorkie": "^2.0.0",
86
+ "@dialpad/dialtone-css": "8.28.1",
86
87
  "@dialpad/dialtone-icons": "4.11.0",
87
- "@dialpad/generator-dialtone": "0.1.0",
88
- "@dialpad/dialtone-css": "8.27.1"
88
+ "@dialpad/generator-dialtone": "0.1.0"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "@dialpad/dialtone-css": "7.30.0 || workspace:*",