@dialpad/dialtone-vue 2.92.1 → 2.92.3

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.
@@ -10139,7 +10139,7 @@ const iu = {
10139
10139
  };
10140
10140
  var su = function() {
10141
10141
  var e = this, a = e._self._c;
10142
- return a("div", { attrs: { "data-qa": "dt-tooltip-container" } }, [a("a", { ref: "anchor", attrs: { tabindex: "-1", role: "presentation", "data-qa": "dt-tooltip-anchor" }, on: { focusin: e.onEnterAnchor, focusout: e.onLeaveAnchor, mouseenter: e.onEnterAnchor, mouseleave: e.onLeaveAnchor, keydown: function(n) {
10142
+ return a("span", { attrs: { "data-qa": "dt-tooltip-container" } }, [a("span", { ref: "anchor", attrs: { "data-qa": "dt-tooltip-anchor" }, on: { focusin: e.onEnterAnchor, focusout: e.onLeaveAnchor, mouseenter: e.onEnterAnchor, mouseleave: e.onLeaveAnchor, keydown: function(n) {
10143
10143
  return !n.type.indexOf("key") && e._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : e.onLeaveAnchor.apply(null, arguments);
10144
10144
  } } }, [e._t("anchor")], 2), a("dt-lazy-show", e._g({ ref: "content", class: [
10145
10145
  "d-tooltip",
@@ -12928,9 +12928,8 @@ const Of = xf.exports, Ef = {
12928
12928
  },
12929
12929
  watch: {
12930
12930
  selectedItems: {
12931
- immediate: !0,
12932
12931
  async handler() {
12933
- await this.$nextTick(), this.setInputPadding(), this.setChipsTopPosition(), this.setInputMinWidth(), this.checkMaxSelected();
12932
+ this.initSelectedItems();
12934
12933
  }
12935
12934
  },
12936
12935
  async label() {
@@ -12944,20 +12943,22 @@ const Of = xf.exports, Ef = {
12944
12943
  await this.$nextTick();
12945
12944
  const t = this.getInput();
12946
12945
  this.revertInputPadding(t), this.originalInputSize = t.getBoundingClientRect().height, this.setInputPadding(), this.setChipsTopPosition();
12947
- },
12948
- immediate: !0
12946
+ }
12949
12947
  }
12950
12948
  },
12951
12949
  mounted() {
12952
12950
  this.resizeWindowObserver = new ResizeObserver(async () => {
12953
12951
  this.setChipsTopPosition(), this.setInputPadding();
12954
- }), this.resizeWindowObserver.observe(document.body);
12952
+ }), this.resizeWindowObserver.observe(document.body), this.initSelectedItems();
12955
12953
  },
12956
12954
  beforeDestroy() {
12957
12955
  var t;
12958
12956
  (t = this.resizeWindowObserver) == null || t.unobserve(document.body);
12959
12957
  },
12960
12958
  methods: {
12959
+ async initSelectedItems() {
12960
+ await this.$nextTick(), this.setInputPadding(), this.setChipsTopPosition(), this.setInputMinWidth(), this.checkMaxSelected();
12961
+ },
12961
12962
  onChipRemove(t) {
12962
12963
  var e;
12963
12964
  this.$emit("remove", t), (e = this.$refs.input) == null || e.focus();
@@ -14130,6 +14131,7 @@ const x1 = {
14130
14131
  {
14131
14132
  "dt-leftbar-row--no-action": !this.hasCallButton,
14132
14133
  "dt-leftbar-row--has-unread": this.hasUnreads,
14134
+ "dt-leftbar-row--unread-count": this.showUnreadCount,
14133
14135
  "dt-leftbar-row--selected": this.selected,
14134
14136
  "dt-leftbar-row--muted": this.muted,
14135
14137
  "dt-leftbar-row--action-focused": this.actionFocused
@@ -14163,13 +14165,13 @@ const x1 = {
14163
14165
  $props: {
14164
14166
  immediate: !0,
14165
14167
  deep: !0,
14166
- handler() {
14167
- this.validateProps();
14168
+ async handler() {
14169
+ this.validateProps(), await this.$nextTick(), this.adjustLabelWidth();
14168
14170
  }
14169
14171
  }
14170
14172
  },
14171
14173
  mounted() {
14172
- this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.$el);
14174
+ this.resizeObserver = new ResizeObserver(this.adjustLabelWidth), this.resizeObserver.observe(this.$el), this.adjustLabelWidth();
14173
14175
  },
14174
14176
  beforeDestroy: function() {
14175
14177
  this.resizeObserver.disconnect();
@@ -14178,7 +14180,7 @@ const x1 = {
14178
14180
  validateProps() {
14179
14181
  this.type === un.CONTACT_CENTER && !Object.keys(ca).includes(this.color) && console.error(p1);
14180
14182
  },
14181
- async handleResize() {
14183
+ adjustLabelWidth() {
14182
14184
  var v, S, V, le, we, Oe;
14183
14185
  const t = ((S = (v = this.$el) == null ? void 0 : v.querySelector(".dt-leftbar-row__primary")) == null ? void 0 : S.clientWidth) || 0, e = ((le = (V = this.$el) == null ? void 0 : V.querySelector(".dt-leftbar-row__omega")) == null ? void 0 : le.clientWidth) || 0, a = ((Oe = (we = this.$el) == null ? void 0 : we.querySelector(".dt-leftbar-row__alpha")) == null ? void 0 : Oe.clientWidth) || 0, n = 16;
14184
14186
  this.labelWidth = t - (e + a + n) + "px";
@@ -14212,7 +14214,7 @@ var O1 = function() {
14212
14214
  E1,
14213
14215
  !1,
14214
14216
  null,
14215
- "387830b0",
14217
+ "be4d0e3f",
14216
14218
  null,
14217
14219
  null
14218
14220
  );
@@ -14661,7 +14663,7 @@ const j1 = {
14661
14663
  var H1 = function() {
14662
14664
  var e = this, a = e._self._c;
14663
14665
  return a("dt-list-item", e._g(e._b({ ref: "FeedItemRef", class: e.listItemClasses, attrs: { "navigation-type": "none", "data-qa": "feed-item-row" }, scopedSlots: e._u([{ key: "left", fn: function() {
14664
- return [e.showHeader ? a("dt-avatar", { attrs: { "avatar-class": "d-mt4", initials: e.avatarInitials } }, [e.avatarImageUrl ? a("img", { attrs: { "data-qa": "feed-item-row-avatar-img", alt: "", src: e.avatarImageUrl } }) : e._e()]) : e._e(), e.showHeader ? e._e() : a("div", { directives: [{ name: "show", rawName: "v-show", value: e.isActive, expression: "isActive" }], staticClass: "d-fs-100 d-fw-normal d-ws-nowrap d-lh-100 d-fc-tertiary d-mb6", attrs: { "data-qa": "feed-item-row-left-time" } }, [e._v(" " + e._s(e.shortTime) + " ")])];
14666
+ return [e.showHeader ? a("dt-avatar", { attrs: { "avatar-class": "d-mt4", initials: e.avatarInitials, seed: e.avatarInitials } }, [e.avatarImageUrl ? a("img", { attrs: { "data-qa": "feed-item-row-avatar-img", alt: "", src: e.avatarImageUrl } }) : e._e()]) : e._e(), e.showHeader ? e._e() : a("div", { directives: [{ name: "show", rawName: "v-show", value: e.isActive, expression: "isActive" }], staticClass: "d-fs-100 d-fw-normal d-ws-nowrap d-lh-100 d-fc-tertiary d-mb6", attrs: { "data-qa": "feed-item-row-left-time" } }, [e._v(" " + e._s(e.shortTime) + " ")])];
14665
14667
  }, proxy: !0 }, { key: "bottom", fn: function() {
14666
14668
  return [a("div", { staticClass: "d-d-flex d-fw-wrap", attrs: { "data-qa": "feed-item-row-reactions" } }, [e._t("reactions")], 2), e._t("threading")];
14667
14669
  }, proxy: !0 }, { key: "right", fn: function() {
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .d-avatar--image-loaded{background-color:transparent;background-image:unset}.dt-list-item{list-style:none}.dt-list-item:not(.dt-list-item--static){cursor:pointer;border-radius:var(--size-300)}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:var(--bgc-moderate-opaque)}.dt-list-item--highlighted:active{background-color:var(--bgc-bold-opaque)}.dt-list-item--selected-icon{margin-left:var(--space-400)}.dt-list-item :focus-visible{outline:none;box-shadow:var(--bs-focus-ring)}.dt-empty-list-item{display:flex;align-items:center;justify-content:center;font-size:var(--fs-200);line-height:var(--lh4);padding:var(--space-300) var(--space-450)}.enter-active,.leave-active{overflow:hidden;transition:height var(--td300) var(--ttf-quint)}.tippy-box[data-popper-reference-hidden] .d-popover__dialog,.tippy-box[data-popper-escaped] .d-popover__dialog{visibility:hidden;pointer-events:none}.d-context-menu-list{width:var(--size-850)}.dt-list-item[role=menuitem]{border-radius:var(--size-300)}.dt-list-separator{border-top:var(--size-100) solid var(--bc-default);list-style:none}.dt-list-section[tabindex="-1"]:focus{outline:none}.tippy-box[data-popper-reference-hidden] .d-tooltip,.tippy-box[data-popper-escaped] .d-tooltip{visibility:hidden;pointer-events:none}.dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){line-height:var(--lh-300)}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset;opacity:.5}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{margin-top:var(--space-350-negative);margin-left:calc(var(--space-300-negative) * 5);width:var(--size-500);height:var(--size-500);padding:var(--space-400);border-radius:var(--size-300)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--bgc-moderate-opaque)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--bgc-contrast);color:var(--fc-primary-inverted)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header .d-btn{color:var(--fc-primary-inverted)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc: var(--bgc-contrast)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}.dt-contact-info[data-v-1ca12f49] .dt-item-layout--content{min-width:var(--space-825)}.dt-contact-info[data-v-1ca12f49] .dt-item-layout--left{min-width:var(--space-650);justify-content:flex-start}.dt-contact-info[data-v-1ca12f49] .dt-item-layout--right{min-width:0}.d-top-banner-info__left{margin:var(--space-300) 0 var(--space-300) var(--space-500);min-width:20%}.d-top-banner-info__middle{display:flex;align-items:center;gap:var(--size-300)}.d-top-banner-info__right{display:flex;align-items:baseline;justify-content:flex-end;gap:var(--size-300);margin:var(--space-300) var(--space-500) var(--space-300) 0;min-width:20%}.ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}.ivr-connector{z-index:var(--zi-base1);display:flex;justify-content:center;align-items:center;border-color:var(--purple-600);background-color:var(--purple-600)}.dt-chip-content{font-variant-numeric:tabular-nums}.d-btn[data-v-5f15fa46]:active{--bgo: 85% !important}.settings-menu-button[data-v-5f15fa46]:hover{background-color:hsla(var(--theme-topbar-color-hsl) / .05)}.settings-menu-button[data-v-5f15fa46]:focus-visible{color:var(--theme-topbar-color-hsl);box-shadow:0 0 0 var(--size-200) hsla(var(--theme-sidebar-color-hsl) / .15)}.dt-leftbar-row[data-v-387830b0]{--leftbar-row-color-foreground: var(--theme-sidebar-color);--leftbar-row-color-background: var(--theme-sidebar-row-color-background);--leftbar-row-radius: 100em;--leftbar-row-opacity: 100%;--leftbar-row-alpha-color-foreground: var(--theme-sidebar-icon-color);--leftbar-row-alpha-width: calc(var(--size-300) * 10);--leftbar-row-alpha-height: calc(var(--size-300) * 9);--leftbar-row-omega-height: var(--leftbar-row-alpha-height);--leftbar-row-unread-badge-display: inline-flex;--leftbar-row-description-font-weight: var(--fw-normal);--leftbar-row-description-font-size: var(--fs-200);--leftbar-row-description-line-height: var(--lh-200);--leftbar-row-status-color-foreground: var(--theme-sidebar-status-color);--leftbar-row-status-font-size: var(--fs-100);--leftbar-row-status-line-height: var(--lh-100);--leftbar-row-action-position-right: var(--size-400);--leftbar-row-action-position-bottom: 50%;--leftbar-row-action-width: var(--size-550);--leftbar-row-action-height: var(--leftbar-row-action-width);position:relative;opacity:var(--leftbar-row-opacity);display:flex;background-color:var(--theme-sidebar-row-color-background);border-radius:var(--leftbar-row-radius);transition-duration:var(--td200);transition-property:background-color,border,box-shadow;transition-timing-function:var(--ttf-out-quint);cursor:pointer}.dt-leftbar-row[data-v-387830b0]:not(.dt-leftbar-row--no-action):hover,.dt-leftbar-row[data-v-387830b0]:not(.dt-leftbar-row--no-action):focus-within{--leftbar-row-unread-badge-display: none}.dt-leftbar-row[data-v-387830b0]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action,.dt-leftbar-row[data-v-387830b0]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action{display:inline-flex}.dt-leftbar-row[data-v-387830b0]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action-button,.dt-leftbar-row[data-v-387830b0]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action-button{opacity:1}.dt-leftbar-row[data-v-387830b0]:hover,.dt-leftbar-row[data-v-387830b0]:focus-within{--leftbar-row-color-background: var(--theme-sidebar-row-color-background-hover)}.dt-leftbar-row[data-v-387830b0]:hover .d-presence,.dt-leftbar-row[data-v-387830b0]:focus-within .d-presence{--presence-color-border-base: var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row[data-v-387830b0]:hover .d-avatar__count,.dt-leftbar-row[data-v-387830b0]:focus-within .d-avatar__count{--avatar-count-color-shadow: var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--has-unread[data-v-387830b0]{--leftbar-row-description-font-weight: var(--fw-bold);--leftbar-row-alpha-color-foreground: var(--leftbar-row-color-foreground)}.dt-leftbar-row--has-unread[data-v-387830b0] .dt-leftbar-row__action{display:none}.dt-leftbar-row--muted[data-v-387830b0]{--leftbar-row-opacity: 60%}.dt-leftbar-row--selected[data-v-387830b0]{--leftbar-row-color-background: var(--theme-sidebar-selected-row-color-background);--leftbar-row-color-foreground: var(--theme-sidebar-selected-row-color)}.dt-leftbar-row--selected[data-v-387830b0] .d-avatar__count{--avatar-count-color-shadow: var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row__is-typing[data-v-387830b0]{--is-typing-size-shape: var(--size-550);height:var(--is-typing-size-shape);width:var(--is-typing-size-shape);position:absolute;display:flex;align-items:center;justify-content:center;gap:2px;border-radius:var(--br-pill);opacity:.75}.dt-leftbar-row__is-typing span[data-v-387830b0]{transition:all .5s ease;background:var(--bgc-strong);height:4px;width:4px;display:inline-block;padding:0;opacity:.3;border-radius:var(--br-pill);animation:wave-387830b0 1.5s ease infinite}.dt-leftbar-row__is-typing span[data-v-387830b0]:nth-child(1){animation-delay:0ms}.dt-leftbar-row__is-typing span[data-v-387830b0]:nth-child(2){animation-delay:var(--td100)}.dt-leftbar-row__is-typing span[data-v-387830b0]:nth-child(3){animation-delay:var(--td200)}.dt-leftbar-row__primary[data-v-387830b0]{display:flex;align-items:center;flex:1;width:100%;text-align:left;background-color:var(--leftbar-row-color-background);color:var(--leftbar-row-color-foreground);text-decoration:none;appearance:none;font-size:inherit;line-height:inherit;margin:0;border:0;padding:0;border-radius:var(--leftbar-row-radius)}.dt-leftbar-row__primary[data-v-387830b0]:active{--leftbar-row-color-background: var(--theme-sidebar-row-color-background-active)}.dt-leftbar-row__primary[data-v-387830b0]:focus-visible{box-shadow:var(--bs-focus-ring-inset)}.dt-leftbar-row__action-button[data-v-387830b0]{opacity:0;width:var(--leftbar-row-action-width);height:var(--leftbar-row-action-height)}.dt-leftbar-row__alpha[data-v-387830b0]{color:var(--leftbar-row-alpha-color-foreground);display:flex;box-sizing:border-box;justify-content:center;align-items:center;padding-left:var(--space-400);padding-right:var(--space-400);width:var(--leftbar-row-alpha-width);height:var(--leftbar-row-alpha-height);border-radius:var(--leftbar-row-radius) 0 0 var(--leftbar-row-radius)}.dt-leftbar-row__label[data-v-387830b0]{flex:0 1;min-width:0}.dt-leftbar-row__omega[data-v-387830b0]{position:absolute;display:flex;right:var(--leftbar-row-action-position-right);top:var(--leftbar-row-action-position-bottom);transform:translateY(calc(var(--leftbar-row-action-position-bottom) * -1));gap:var(--space-300);justify-content:end;align-items:center;box-sizing:border-box;border-radius:var(--leftbar-row-radius)}.dt-leftbar-row__unread-badge[data-v-387830b0]{display:var(--leftbar-row-unread-badge-display)}.dt-leftbar-row__active-voice[data-v-387830b0]{color:var(--fc-success);display:inline-flex;-webkit-animation-name:opacity-pulsate-387830b0;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate-387830b0;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate-387830b0;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}.dt-leftbar-row__dnd[data-v-387830b0]{padding-top:var(--space-200);padding-right:var(--space-300);color:var(--fc-tertiary);font-size:var(--fs-100);line-height:var(--lh-400);font-weight:var(--fw-medium)}.dt-leftbar-row[data-v-387830b0] .dt-leftbar-row__description{display:block;font-weight:var(--leftbar-row-description-font-weight);font-size:var(--leftbar-row-description-font-size);line-height:var(--leftbar-row-description-line-height);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row[data-v-387830b0] .dt-leftbar-row__status{display:block;color:var(--leftbar-row-status-color-foreground);font-size:var(--leftbar-row-status-font-size);line-height:var(--leftbar-row-status-line-height);padding-bottom:var(--space-100);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row__meta-custom[data-v-387830b0]:not(:empty) .dt-leftbar-row__meta-context~.dt-leftbar-row__meta-custom:not(:empty):before{content:" • ";color:var(--theme-sidebar-status-color)}.dt-leftbar-row__icon-cc[data-v-387830b0]{border-radius:var(--size-200);width:calc(var(--size-300) * 3.5);height:calc(var(--size-300) * 3.5)}.opacity-pulsate[data-v-387830b0]{-webkit-animation-name:opacity-pulsate-387830b0;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate-387830b0;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate-387830b0;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}@-webkit-keyframes opacity-pulsate-387830b0{0%,to{opacity:.2}50%{opacity:1}}@-moz-keyframes opacity-pulsate-387830b0{0%,to{opacity:.2}50%{opacity:1}}@keyframes opacity-pulsate-387830b0{0%,to{opacity:.2}50%{opacity:1}}@keyframes wave-387830b0{0%,50%,to{transform:translate(0)}10%{transform:translateY(-5px);opacity:90%}}.dt-leftbar-unread-pill{display:flex;align-items:center;justify-content:center;padding:var(--space-200) var(--space-500) var(--space-200) var(--space-400);gap:var(--space-300);font-size:var(--fs-100);box-shadow:var(--bs-md);border-radius:var(--br-pill);border:none;line-height:var(--lh-600);cursor:pointer}.dt-leftbar-unread-pill--mentions{font-weight:var(--fw-bold);background-color:var(--theme-mention-color-background);color:var(--theme-mention-color-foreground)}.dt-leftbar-unread-pill--messages{background-color:var(--bgc-primary);color:var(--fc-primary)}content-text-wrapper-class:not(img){line-height:1.6rem}.feed-item-row{transition-duration:2s!important}.skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color, var(--black-300));background:var(--placeholder-from-color, var(--black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color, var(--black-300));background:var(--placeholder-from-color, var(--black-300))}50%{fill:var(--placeholder-to-color, var(--black-100));background:var(--placeholder-to-color, var(--black-100))}90%{fill:var(--placeholder-from-color, var(--black-300));background:var(--placeholder-from-color, var(--black-300))}}
1
+ .d-avatar--image-loaded{background-color:transparent;background-image:unset}.dt-list-item{list-style:none}.dt-list-item:not(.dt-list-item--static){cursor:pointer;border-radius:var(--size-300)}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:var(--bgc-moderate-opaque)}.dt-list-item--highlighted:active{background-color:var(--bgc-bold-opaque)}.dt-list-item--selected-icon{margin-left:var(--space-400)}.dt-list-item :focus-visible{outline:none;box-shadow:var(--bs-focus-ring)}.dt-empty-list-item{display:flex;align-items:center;justify-content:center;font-size:var(--fs-200);line-height:var(--lh4);padding:var(--space-300) var(--space-450)}.enter-active,.leave-active{overflow:hidden;transition:height var(--td300) var(--ttf-quint)}.tippy-box[data-popper-reference-hidden] .d-popover__dialog,.tippy-box[data-popper-escaped] .d-popover__dialog{visibility:hidden;pointer-events:none}.d-context-menu-list{width:var(--size-850)}.dt-list-item[role=menuitem]{border-radius:var(--size-300)}.dt-list-separator{border-top:var(--size-100) solid var(--bc-default);list-style:none}.dt-list-section[tabindex="-1"]:focus{outline:none}.tippy-box[data-popper-reference-hidden] .d-tooltip,.tippy-box[data-popper-escaped] .d-tooltip{visibility:hidden;pointer-events:none}.dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){line-height:var(--lh-300)}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset;opacity:.5}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{margin-top:var(--space-350-negative);margin-left:calc(var(--space-300-negative) * 5);width:var(--size-500);height:var(--size-500);padding:var(--space-400);border-radius:var(--size-300)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--bgc-moderate-opaque)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--bgc-contrast);color:var(--fc-primary-inverted)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header .d-btn{color:var(--fc-primary-inverted)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc: var(--bgc-contrast)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}.dt-contact-info[data-v-1ca12f49] .dt-item-layout--content{min-width:var(--space-825)}.dt-contact-info[data-v-1ca12f49] .dt-item-layout--left{min-width:var(--space-650);justify-content:flex-start}.dt-contact-info[data-v-1ca12f49] .dt-item-layout--right{min-width:0}.d-top-banner-info__left{margin:var(--space-300) 0 var(--space-300) var(--space-500);min-width:20%}.d-top-banner-info__middle{display:flex;align-items:center;gap:var(--size-300)}.d-top-banner-info__right{display:flex;align-items:baseline;justify-content:flex-end;gap:var(--size-300);margin:var(--space-300) var(--space-500) var(--space-300) 0;min-width:20%}.ivr_node__width{width:280px}.ivr_node__goto_icon{transform:rotate(90deg)}.ivr-connector{z-index:var(--zi-base1);display:flex;justify-content:center;align-items:center;border-color:var(--purple-600);background-color:var(--purple-600)}.dt-chip-content{font-variant-numeric:tabular-nums}.d-btn[data-v-5f15fa46]:active{--bgo: 85% !important}.settings-menu-button[data-v-5f15fa46]:hover{background-color:hsla(var(--theme-topbar-color-hsl) / .05)}.settings-menu-button[data-v-5f15fa46]:focus-visible{color:var(--theme-topbar-color-hsl);box-shadow:0 0 0 var(--size-200) hsla(var(--theme-sidebar-color-hsl) / .15)}.dt-leftbar-row[data-v-be4d0e3f]{--leftbar-row-color-foreground: var(--theme-sidebar-color);--leftbar-row-color-background: var(--theme-sidebar-row-color-background);--leftbar-row-radius: 100em;--leftbar-row-opacity: 100%;--leftbar-row-alpha-color-foreground: var(--theme-sidebar-icon-color);--leftbar-row-alpha-width: calc(var(--size-300) * 10);--leftbar-row-alpha-height: calc(var(--size-300) * 9);--leftbar-row-omega-height: var(--leftbar-row-alpha-height);--leftbar-row-unread-badge-display: inline-flex;--leftbar-row-description-font-weight: var(--fw-normal);--leftbar-row-description-font-size: var(--fs-200);--leftbar-row-description-line-height: var(--lh-200);--leftbar-row-status-color-foreground: var(--theme-sidebar-status-color);--leftbar-row-status-font-size: var(--fs-100);--leftbar-row-status-line-height: var(--lh-100);--leftbar-row-action-position-right: var(--size-400);--leftbar-row-action-position-bottom: 50%;--leftbar-row-action-width: var(--size-550);--leftbar-row-action-height: var(--leftbar-row-action-width);position:relative;opacity:var(--leftbar-row-opacity);display:flex;background-color:var(--theme-sidebar-row-color-background);border-radius:var(--leftbar-row-radius);transition-duration:var(--td200);transition-property:background-color,border,box-shadow;transition-timing-function:var(--ttf-out-quint);cursor:pointer}.dt-leftbar-row[data-v-be4d0e3f]:not(.dt-leftbar-row--no-action):hover,.dt-leftbar-row[data-v-be4d0e3f]:not(.dt-leftbar-row--no-action):focus-within{--leftbar-row-unread-badge-display: none}.dt-leftbar-row[data-v-be4d0e3f]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action,.dt-leftbar-row[data-v-be4d0e3f]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action{display:inline-flex}.dt-leftbar-row[data-v-be4d0e3f]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action-button,.dt-leftbar-row[data-v-be4d0e3f]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action-button{opacity:1}.dt-leftbar-row[data-v-be4d0e3f]:hover,.dt-leftbar-row[data-v-be4d0e3f]:focus-within{--leftbar-row-color-background: var(--theme-sidebar-row-color-background-hover)}.dt-leftbar-row[data-v-be4d0e3f]:hover .d-presence,.dt-leftbar-row[data-v-be4d0e3f]:focus-within .d-presence{--presence-color-border-base: var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row[data-v-be4d0e3f]:hover .d-avatar__count,.dt-leftbar-row[data-v-be4d0e3f]:focus-within .d-avatar__count{--avatar-count-color-shadow: var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--has-unread[data-v-be4d0e3f]{--leftbar-row-description-font-weight: var(--fw-bold);--leftbar-row-alpha-color-foreground: var(--leftbar-row-color-foreground)}.dt-leftbar-row--unread-count[data-v-be4d0e3f] .dt-leftbar-row__action{display:none}.dt-leftbar-row--muted[data-v-be4d0e3f]{--leftbar-row-opacity: 60%}.dt-leftbar-row--selected[data-v-be4d0e3f]{--leftbar-row-color-background: var(--theme-sidebar-selected-row-color-background);--leftbar-row-color-foreground: var(--theme-sidebar-selected-row-color)}.dt-leftbar-row--selected[data-v-be4d0e3f] .d-avatar__count{--avatar-count-color-shadow: var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row__is-typing[data-v-be4d0e3f]{--is-typing-size-shape: var(--size-550);height:var(--is-typing-size-shape);width:var(--is-typing-size-shape);position:absolute;display:flex;align-items:center;justify-content:center;gap:2px;border-radius:var(--br-pill);opacity:.75}.dt-leftbar-row__is-typing span[data-v-be4d0e3f]{transition:all .5s ease;background:var(--bgc-strong);height:4px;width:4px;display:inline-block;padding:0;opacity:.3;border-radius:var(--br-pill);animation:wave-be4d0e3f 1.5s ease infinite}.dt-leftbar-row__is-typing span[data-v-be4d0e3f]:nth-child(1){animation-delay:0ms}.dt-leftbar-row__is-typing span[data-v-be4d0e3f]:nth-child(2){animation-delay:var(--td100)}.dt-leftbar-row__is-typing span[data-v-be4d0e3f]:nth-child(3){animation-delay:var(--td200)}.dt-leftbar-row__primary[data-v-be4d0e3f]{display:flex;align-items:center;flex:1;width:100%;text-align:left;background-color:var(--leftbar-row-color-background);color:var(--leftbar-row-color-foreground);text-decoration:none;appearance:none;font-size:inherit;line-height:inherit;margin:0;border:0;padding:0;border-radius:var(--leftbar-row-radius)}.dt-leftbar-row__primary[data-v-be4d0e3f]:active{--leftbar-row-color-background: var(--theme-sidebar-row-color-background-active)}.dt-leftbar-row__primary[data-v-be4d0e3f]:focus-visible{box-shadow:var(--bs-focus-ring-inset)}.dt-leftbar-row__action-button[data-v-be4d0e3f]{opacity:0;width:var(--leftbar-row-action-width);height:var(--leftbar-row-action-height)}.dt-leftbar-row__alpha[data-v-be4d0e3f]{color:var(--leftbar-row-alpha-color-foreground);display:flex;box-sizing:border-box;justify-content:center;align-items:center;padding-left:var(--space-400);padding-right:var(--space-400);width:var(--leftbar-row-alpha-width);height:var(--leftbar-row-alpha-height);border-radius:var(--leftbar-row-radius) 0 0 var(--leftbar-row-radius)}.dt-leftbar-row__label[data-v-be4d0e3f]{flex:0 1;min-width:0}.dt-leftbar-row__omega[data-v-be4d0e3f]{position:absolute;display:flex;right:var(--leftbar-row-action-position-right);top:var(--leftbar-row-action-position-bottom);transform:translateY(calc(var(--leftbar-row-action-position-bottom) * -1));gap:var(--space-300);justify-content:end;align-items:center;box-sizing:border-box;border-radius:var(--leftbar-row-radius)}.dt-leftbar-row__unread-badge[data-v-be4d0e3f]{display:var(--leftbar-row-unread-badge-display)}.dt-leftbar-row__active-voice[data-v-be4d0e3f]{color:var(--fc-success);display:inline-flex;-webkit-animation-name:opacity-pulsate-be4d0e3f;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate-be4d0e3f;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate-be4d0e3f;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}.dt-leftbar-row__dnd[data-v-be4d0e3f]{padding-top:var(--space-200);padding-right:var(--space-300);color:var(--fc-tertiary);font-size:var(--fs-100);line-height:var(--lh-400);font-weight:var(--fw-medium)}.dt-leftbar-row[data-v-be4d0e3f] .dt-leftbar-row__description{display:block;font-weight:var(--leftbar-row-description-font-weight);font-size:var(--leftbar-row-description-font-size);line-height:var(--leftbar-row-description-line-height);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row[data-v-be4d0e3f] .dt-leftbar-row__status{display:block;color:var(--leftbar-row-status-color-foreground);font-size:var(--leftbar-row-status-font-size);line-height:var(--leftbar-row-status-line-height);padding-bottom:var(--space-100);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dt-leftbar-row__meta-custom[data-v-be4d0e3f]:not(:empty) .dt-leftbar-row__meta-context~.dt-leftbar-row__meta-custom:not(:empty):before{content:" • ";color:var(--theme-sidebar-status-color)}.dt-leftbar-row__icon-cc[data-v-be4d0e3f]{border-radius:var(--size-200);width:calc(var(--size-300) * 3.5);height:calc(var(--size-300) * 3.5)}.opacity-pulsate[data-v-be4d0e3f]{-webkit-animation-name:opacity-pulsate-be4d0e3f;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate-be4d0e3f;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate-be4d0e3f;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}@-webkit-keyframes opacity-pulsate-be4d0e3f{0%,to{opacity:.2}50%{opacity:1}}@-moz-keyframes opacity-pulsate-be4d0e3f{0%,to{opacity:.2}50%{opacity:1}}@keyframes opacity-pulsate-be4d0e3f{0%,to{opacity:.2}50%{opacity:1}}@keyframes wave-be4d0e3f{0%,50%,to{transform:translate(0)}10%{transform:translateY(-5px);opacity:90%}}.dt-leftbar-unread-pill{display:flex;align-items:center;justify-content:center;padding:var(--space-200) var(--space-500) var(--space-200) var(--space-400);gap:var(--space-300);font-size:var(--fs-100);box-shadow:var(--bs-md);border-radius:var(--br-pill);border:none;line-height:var(--lh-600);cursor:pointer}.dt-leftbar-unread-pill--mentions{font-weight:var(--fw-bold);background-color:var(--theme-mention-color-background);color:var(--theme-mention-color-foreground)}.dt-leftbar-unread-pill--messages{background-color:var(--bgc-primary);color:var(--fc-primary)}content-text-wrapper-class:not(img){line-height:1.6rem}.feed-item-row{transition-duration:2s!important}.skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color, var(--black-300));background:var(--placeholder-from-color, var(--black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color, var(--black-300));background:var(--placeholder-from-color, var(--black-300))}50%{fill:var(--placeholder-to-color, var(--black-100));background:var(--placeholder-to-color, var(--black-100))}90%{fill:var(--placeholder-from-color, var(--black-300));background:var(--placeholder-from-color, var(--black-300))}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone-vue",
3
- "version": "2.92.1",
3
+ "version": "2.92.3",
4
4
  "description": "Vue component library for Dialpad's design system Dialtone",
5
5
  "scripts": {
6
6
  "build": "npm run clean && npm run build:main && npm run build:documentation",
@@ -18,7 +18,8 @@
18
18
  "release": "semantic-release --no-ci --extends ./release-local.config.cjs",
19
19
  "start": "npm run storybook",
20
20
  "storybook": "STORYBOOK_ENV=development storybook dev -p 9010",
21
- "storybook:build": "STORYBOOK_ENV=production storybook build && touch ./storybook-static/.nojekyll",
21
+ "storybook:clean": "rm -rf ./storybook-static",
22
+ "storybook:build": "npm run storybook:clean && STORYBOOK_ENV=production storybook build && touch ./storybook-static/.nojekyll",
22
23
  "storybook:build:docs-only": "STORYBOOK_ENV=production storybook build --docs",
23
24
  "storybook:test": "test-storybook --url http://localhost:9010/",
24
25
  "test": "vitest run",
@@ -51,21 +52,21 @@
51
52
  "@dialpad/conventional-changelog-angular": "^1.1.1",
52
53
  "@dialpad/dialtone": "^7.30.0",
53
54
  "@dialpad/semantic-release-changelog-json": "^1.0.0",
54
- "@percy/cli": "^1.26.1",
55
+ "@percy/cli": "^1.26.2",
55
56
  "@percy/storybook": "^4.3.6",
56
57
  "@semantic-release/changelog": "^6.0.3",
57
58
  "@semantic-release/git": "^10.0.1",
58
- "@storybook/addon-a11y": "^7.0.25",
59
- "@storybook/addon-essentials": "^7.0.25",
60
- "@storybook/addon-links": "^7.0.25",
61
- "@storybook/addon-styling": "^1.3.2",
62
- "@storybook/blocks": "^7.0.25",
63
- "@storybook/manager-api": "^7.0.25",
59
+ "@storybook/addon-a11y": "^7.1.0",
60
+ "@storybook/addon-essentials": "^7.1.0",
61
+ "@storybook/addon-links": "^7.1.0",
62
+ "@storybook/addon-styling": "^1.3.4",
63
+ "@storybook/blocks": "^7.1.0",
64
+ "@storybook/manager-api": "^7.1.0",
64
65
  "@storybook/test-runner": "^0.11.0",
65
66
  "@storybook/testing-library": "^0.2.0",
66
- "@storybook/theming": "^7.0.25",
67
- "@storybook/vue": "^7.0.25",
68
- "@storybook/vue-vite": "^7.0.25",
67
+ "@storybook/theming": "^7.1.0",
68
+ "@storybook/vue": "^7.1.0",
69
+ "@storybook/vue-vite": "^7.1.0",
69
70
  "@vitejs/plugin-vue2": "^2.2.0",
70
71
  "@vue/test-utils": "1.3",
71
72
  "axe-core": "^4.7.2",
@@ -96,7 +97,7 @@
96
97
  "semantic-release": "^21.0.6",
97
98
  "sinon": "^15.2.0",
98
99
  "source-map-support": "^0.5.21",
99
- "storybook": "^7.0.25",
100
+ "storybook": "^7.1.0",
100
101
  "vite": "^4.3.9",
101
102
  "vitest": "^0.32.4",
102
103
  "vue": "^2.7.14",