@dialpad/dialtone-vue 2.92.0 → 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.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +25 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +2 -2
- package/dist/dialtone-vue.js +28 -21
- package/dist/style.css +1 -1
- package/package.json +14 -13
package/dist/dialtone-vue.js
CHANGED
|
@@ -1076,6 +1076,13 @@ const ja = Js.exports, vr = {
|
|
|
1076
1076
|
type: String,
|
|
1077
1077
|
default: void 0,
|
|
1078
1078
|
validator: (t) => Object.keys(gr).includes(t)
|
|
1079
|
+
},
|
|
1080
|
+
/**
|
|
1081
|
+
* Used to customize the label container
|
|
1082
|
+
*/
|
|
1083
|
+
labelClass: {
|
|
1084
|
+
type: [String, Array, Object],
|
|
1085
|
+
default: ""
|
|
1079
1086
|
}
|
|
1080
1087
|
},
|
|
1081
1088
|
data() {
|
|
@@ -1118,7 +1125,7 @@ var to = function() {
|
|
|
1118
1125
|
e.BADGE_TYPE_MODIFIERS[e.type],
|
|
1119
1126
|
e.BADGE_KIND_MODIFIERS[e.kind],
|
|
1120
1127
|
e.BADGE_DECORATION_MODIFIERS[e.decoration]
|
|
1121
|
-
], attrs: { "data-qa": "dt-badge" } }, [e.decoration ? a("span", { staticClass: "d-badge__decorative" }) : e._e(), e.iconLeft || e.type === "ai" ? a("span", { staticClass: "d-badge__icon-left" }, [a("dt-icon", { attrs: { name: e.iconLeft || "dialpad-ai", size: "200" } })], 1) : e._e(), a("span", {
|
|
1128
|
+
], attrs: { "data-qa": "dt-badge" } }, [e.decoration ? a("span", { staticClass: "d-badge__decorative" }) : e._e(), e.iconLeft || e.type === "ai" ? a("span", { staticClass: "d-badge__icon-left" }, [a("dt-icon", { attrs: { name: e.iconLeft || "dialpad-ai", size: "200" } })], 1) : e._e(), a("span", { class: ["d-badge__label", e.labelClass] }, [e._t("default", function() {
|
|
1122
1129
|
return [e._v(" " + e._s(e.text) + " ")];
|
|
1123
1130
|
})], 2), e.iconRight ? a("span", { staticClass: "d-badge__icon-right" }, [a("dt-icon", { attrs: { name: e.iconRight, size: "200" } })], 1) : e._e()]);
|
|
1124
1131
|
}, no = [], ao = /* @__PURE__ */ Bt(
|
|
@@ -10132,7 +10139,7 @@ const iu = {
|
|
|
10132
10139
|
};
|
|
10133
10140
|
var su = function() {
|
|
10134
10141
|
var e = this, a = e._self._c;
|
|
10135
|
-
return a("
|
|
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) {
|
|
10136
10143
|
return !n.type.indexOf("key") && e._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : e.onLeaveAnchor.apply(null, arguments);
|
|
10137
10144
|
} } }, [e._t("anchor")], 2), a("dt-lazy-show", e._g({ ref: "content", class: [
|
|
10138
10145
|
"d-tooltip",
|
|
@@ -12921,9 +12928,8 @@ const Of = xf.exports, Ef = {
|
|
|
12921
12928
|
},
|
|
12922
12929
|
watch: {
|
|
12923
12930
|
selectedItems: {
|
|
12924
|
-
immediate: !0,
|
|
12925
12931
|
async handler() {
|
|
12926
|
-
|
|
12932
|
+
this.initSelectedItems();
|
|
12927
12933
|
}
|
|
12928
12934
|
},
|
|
12929
12935
|
async label() {
|
|
@@ -12937,20 +12943,22 @@ const Of = xf.exports, Ef = {
|
|
|
12937
12943
|
await this.$nextTick();
|
|
12938
12944
|
const t = this.getInput();
|
|
12939
12945
|
this.revertInputPadding(t), this.originalInputSize = t.getBoundingClientRect().height, this.setInputPadding(), this.setChipsTopPosition();
|
|
12940
|
-
}
|
|
12941
|
-
immediate: !0
|
|
12946
|
+
}
|
|
12942
12947
|
}
|
|
12943
12948
|
},
|
|
12944
12949
|
mounted() {
|
|
12945
12950
|
this.resizeWindowObserver = new ResizeObserver(async () => {
|
|
12946
12951
|
this.setChipsTopPosition(), this.setInputPadding();
|
|
12947
|
-
}), this.resizeWindowObserver.observe(document.body);
|
|
12952
|
+
}), this.resizeWindowObserver.observe(document.body), this.initSelectedItems();
|
|
12948
12953
|
},
|
|
12949
12954
|
beforeDestroy() {
|
|
12950
12955
|
var t;
|
|
12951
12956
|
(t = this.resizeWindowObserver) == null || t.unobserve(document.body);
|
|
12952
12957
|
},
|
|
12953
12958
|
methods: {
|
|
12959
|
+
async initSelectedItems() {
|
|
12960
|
+
await this.$nextTick(), this.setInputPadding(), this.setChipsTopPosition(), this.setInputMinWidth(), this.checkMaxSelected();
|
|
12961
|
+
},
|
|
12954
12962
|
onChipRemove(t) {
|
|
12955
12963
|
var e;
|
|
12956
12964
|
this.$emit("remove", t), (e = this.$refs.input) == null || e.focus();
|
|
@@ -13425,7 +13433,8 @@ var Ff = function() {
|
|
|
13425
13433
|
null,
|
|
13426
13434
|
null
|
|
13427
13435
|
);
|
|
13428
|
-
const Bh = qf.exports
|
|
13436
|
+
const Bh = qf.exports;
|
|
13437
|
+
const jf = {
|
|
13429
13438
|
name: "DtRecipeContactInfo",
|
|
13430
13439
|
components: {
|
|
13431
13440
|
DtAvatar: ja,
|
|
@@ -13527,7 +13536,7 @@ const Bh = qf.exports, jf = {
|
|
|
13527
13536
|
};
|
|
13528
13537
|
var Hf = function() {
|
|
13529
13538
|
var e = this, a = e._self._c;
|
|
13530
|
-
return a("dt-list-item", { attrs: { id: e.id, role: e.role, "element-type": "div", "data-qa": "contact-info" }, scopedSlots: e._u([{ key: "left", fn: function() {
|
|
13539
|
+
return a("dt-list-item", { staticClass: "dt-contact-info", attrs: { id: e.id, role: e.role, "element-type": "div", "data-qa": "contact-info" }, scopedSlots: e._u([{ key: "left", fn: function() {
|
|
13531
13540
|
return [e.showAvatar ? a("div", { staticClass: "d-ps-relative", attrs: { "data-qa": "contact-info-left" } }, [e.avatarList ? a("div", { staticClass: "d-mrn4 d-d-flex d-fd-row" }, e._l(e.avatarList, function(n, v) {
|
|
13532
13541
|
return a("div", { key: v }, [a("dt-avatar", { attrs: { size: e.avatarSize, seed: n.seed, initials: n.initials, "overlay-icon": n.icon, "overlay-text": n.text, "overlay-class": "d-mn4 d-ba d-baw4 d-bc-white d-box-unset", "avatar-class": ["d-baw4 d-bc-white d-bar-pill d-ba d-bc-transparent", {
|
|
13533
13542
|
"d-mln24": v > 0,
|
|
@@ -13549,7 +13558,7 @@ var Hf = function() {
|
|
|
13549
13558
|
Wf,
|
|
13550
13559
|
!1,
|
|
13551
13560
|
null,
|
|
13552
|
-
|
|
13561
|
+
"1ca12f49",
|
|
13553
13562
|
null,
|
|
13554
13563
|
null
|
|
13555
13564
|
);
|
|
@@ -14122,6 +14131,7 @@ const x1 = {
|
|
|
14122
14131
|
{
|
|
14123
14132
|
"dt-leftbar-row--no-action": !this.hasCallButton,
|
|
14124
14133
|
"dt-leftbar-row--has-unread": this.hasUnreads,
|
|
14134
|
+
"dt-leftbar-row--unread-count": this.showUnreadCount,
|
|
14125
14135
|
"dt-leftbar-row--selected": this.selected,
|
|
14126
14136
|
"dt-leftbar-row--muted": this.muted,
|
|
14127
14137
|
"dt-leftbar-row--action-focused": this.actionFocused
|
|
@@ -14155,25 +14165,22 @@ const x1 = {
|
|
|
14155
14165
|
$props: {
|
|
14156
14166
|
immediate: !0,
|
|
14157
14167
|
deep: !0,
|
|
14158
|
-
handler() {
|
|
14159
|
-
this.validateProps();
|
|
14168
|
+
async handler() {
|
|
14169
|
+
this.validateProps(), await this.$nextTick(), this.adjustLabelWidth();
|
|
14160
14170
|
}
|
|
14161
14171
|
}
|
|
14162
14172
|
},
|
|
14163
|
-
|
|
14164
|
-
this.
|
|
14165
|
-
},
|
|
14166
|
-
mounted: function() {
|
|
14167
|
-
this.handleResize(), window.addEventListener("resize", this.handleResize);
|
|
14173
|
+
mounted() {
|
|
14174
|
+
this.resizeObserver = new ResizeObserver(this.adjustLabelWidth), this.resizeObserver.observe(this.$el), this.adjustLabelWidth();
|
|
14168
14175
|
},
|
|
14169
14176
|
beforeDestroy: function() {
|
|
14170
|
-
|
|
14177
|
+
this.resizeObserver.disconnect();
|
|
14171
14178
|
},
|
|
14172
14179
|
methods: {
|
|
14173
14180
|
validateProps() {
|
|
14174
14181
|
this.type === un.CONTACT_CENTER && !Object.keys(ca).includes(this.color) && console.error(p1);
|
|
14175
14182
|
},
|
|
14176
|
-
|
|
14183
|
+
adjustLabelWidth() {
|
|
14177
14184
|
var v, S, V, le, we, Oe;
|
|
14178
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;
|
|
14179
14186
|
this.labelWidth = t - (e + a + n) + "px";
|
|
@@ -14207,7 +14214,7 @@ var O1 = function() {
|
|
|
14207
14214
|
E1,
|
|
14208
14215
|
!1,
|
|
14209
14216
|
null,
|
|
14210
|
-
"
|
|
14217
|
+
"be4d0e3f",
|
|
14211
14218
|
null,
|
|
14212
14219
|
null
|
|
14213
14220
|
);
|
|
@@ -14656,7 +14663,7 @@ const j1 = {
|
|
|
14656
14663
|
var H1 = function() {
|
|
14657
14664
|
var e = this, a = e._self._c;
|
|
14658
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() {
|
|
14659
|
-
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) + " ")])];
|
|
14660
14667
|
}, proxy: !0 }, { key: "bottom", fn: function() {
|
|
14661
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")];
|
|
14662
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}.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-16fb2cc2]{--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-omega-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-16fb2cc2]:not(.dt-leftbar-row--no-action):hover{--leftbar-row-omega-display: none}.dt-leftbar-row[data-v-16fb2cc2]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action{display:inline-flex}.dt-leftbar-row[data-v-16fb2cc2]:hover{--leftbar-row-color-background: var(--theme-sidebar-row-color-background-hover)}.dt-leftbar-row[data-v-16fb2cc2]:hover .d-presence{--presence-color-border-base: var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row[data-v-16fb2cc2]:hover .d-avatar__count{--avatar-count-color-shadow: var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--has-unread[data-v-16fb2cc2]{--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-16fb2cc2] .dt-leftbar-row__action{display:none}.dt-leftbar-row--muted[data-v-16fb2cc2]{--leftbar-row-opacity: 60%}.dt-leftbar-row--selected[data-v-16fb2cc2]{--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-16fb2cc2] .d-avatar__count{--avatar-count-color-shadow: var(--theme-sidebar-selected-row-color-background)}.dt-leftbar-row--action-focused[data-v-16fb2cc2]{--leftbar-row-omega-display: none}.dt-leftbar-row__is-typing[data-v-16fb2cc2]{--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-16fb2cc2]{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-16fb2cc2 1.5s ease infinite}.dt-leftbar-row__is-typing span[data-v-16fb2cc2]:nth-child(1){animation-delay:0ms}.dt-leftbar-row__is-typing span[data-v-16fb2cc2]:nth-child(2){animation-delay:var(--td100)}.dt-leftbar-row__is-typing span[data-v-16fb2cc2]:nth-child(3){animation-delay:var(--td200)}.dt-leftbar-row__primary[data-v-16fb2cc2]{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-16fb2cc2]:active{--leftbar-row-color-background: var(--theme-sidebar-row-color-background-active)}.dt-leftbar-row__primary[data-v-16fb2cc2]:focus-visible{box-shadow:var(--bs-focus-ring-inset)}.dt-leftbar-row__action-button[data-v-16fb2cc2]{opacity:0;width:var(--leftbar-row-action-width);height:var(--leftbar-row-action-height)}.dt-leftbar-row:hover .dt-leftbar-row__action-button[data-v-16fb2cc2],.dt-leftbar-row__action-button[data-v-16fb2cc2]:focus-visible{opacity:1}.dt-leftbar-row__alpha[data-v-16fb2cc2]{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-16fb2cc2]{flex:0 1;min-width:0}.dt-leftbar-row__omega[data-v-16fb2cc2]{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-16fb2cc2]{display:var(--leftbar-row-omega-display)}.dt-leftbar-row__active-voice[data-v-16fb2cc2]{color:var(--fc-success);-webkit-animation-name:opacity-pulsate-16fb2cc2;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate-16fb2cc2;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate-16fb2cc2;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}.dt-leftbar-row__dnd[data-v-16fb2cc2]{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__description[data-v-16fb2cc2]{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__status[data-v-16fb2cc2]{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-16fb2cc2]: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-16fb2cc2]{border-radius:var(--size-200);width:calc(var(--size-300) * 3.5);height:calc(var(--size-300) * 3.5)}.opacity-pulsate[data-v-16fb2cc2]{-webkit-animation-name:opacity-pulsate-16fb2cc2;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-fill-mode:both;-moz-animation-name:opacity-pulsate-16fb2cc2;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-fill-mode:both;animation-name:opacity-pulsate-16fb2cc2;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:both}@-webkit-keyframes opacity-pulsate-16fb2cc2{0%,to{opacity:.2}50%{opacity:1}}@-moz-keyframes opacity-pulsate-16fb2cc2{0%,to{opacity:.2}50%{opacity:1}}@keyframes opacity-pulsate-16fb2cc2{0%,to{opacity:.2}50%{opacity:1}}@keyframes wave-16fb2cc2{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.
|
|
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:
|
|
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.
|
|
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
|
|
59
|
-
"@storybook/addon-essentials": "^7.0
|
|
60
|
-
"@storybook/addon-links": "^7.0
|
|
61
|
-
"@storybook/addon-styling": "^1.3.
|
|
62
|
-
"@storybook/blocks": "^7.0
|
|
63
|
-
"@storybook/manager-api": "^7.0
|
|
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
|
|
67
|
-
"@storybook/vue": "^7.0
|
|
68
|
-
"@storybook/vue-vite": "^7.0
|
|
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
|
|
100
|
+
"storybook": "^7.1.0",
|
|
100
101
|
"vite": "^4.3.9",
|
|
101
102
|
"vitest": "^0.32.4",
|
|
102
103
|
"vue": "^2.7.14",
|