@dialpad/dialtone 9.64.1 → 9.65.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 (132) hide show
  1. package/dist/chunks/tokens-base-dark--ozK7f0P.js +4 -0
  2. package/dist/chunks/tokens-base-dark-V8E4WaJI.js +1 -0
  3. package/dist/chunks/tokens-base-light-LYlvM3eZ.js +1 -0
  4. package/dist/chunks/tokens-base-light-ljPrpLe2.js +4 -0
  5. package/dist/css/dialtone-default-theme.css +178 -92
  6. package/dist/css/dialtone-default-theme.min.css +1 -1
  7. package/dist/css/dialtone.css +129 -43
  8. package/dist/css/dialtone.min.css +1 -1
  9. package/dist/css/tokens/tokens-base-dark.css +5 -5
  10. package/dist/css/tokens/tokens-base-light.css +5 -5
  11. package/dist/css/tokens/tokens-dp-dark.css +44 -44
  12. package/dist/css/tokens/tokens-dp-light.css +44 -44
  13. package/dist/css/tokens/tokens-expressive-dark.css +50 -50
  14. package/dist/css/tokens/tokens-expressive-light.css +50 -50
  15. package/dist/css/tokens/tokens-expressive-sm-dark.css +50 -50
  16. package/dist/css/tokens/tokens-expressive-sm-light.css +50 -50
  17. package/dist/css/tokens/tokens-tmo-dark.css +44 -44
  18. package/dist/css/tokens/tokens-tmo-light.css +44 -44
  19. package/dist/themes/dp-dark.cjs +1 -1
  20. package/dist/themes/dp-dark.js +2 -2
  21. package/dist/themes/dp-light.cjs +1 -1
  22. package/dist/themes/dp-light.js +2 -2
  23. package/dist/themes/expressive-dark.cjs +1 -1
  24. package/dist/themes/expressive-dark.js +2 -2
  25. package/dist/themes/expressive-light.cjs +1 -1
  26. package/dist/themes/expressive-light.js +2 -2
  27. package/dist/themes/expressive-sm-dark.cjs +1 -1
  28. package/dist/themes/expressive-sm-dark.js +2 -2
  29. package/dist/themes/expressive-sm-light.cjs +1 -1
  30. package/dist/themes/expressive-sm-light.js +2 -2
  31. package/dist/themes/tmo-dark.cjs +1 -1
  32. package/dist/themes/tmo-dark.js +2 -2
  33. package/dist/themes/tmo-light.cjs +1 -1
  34. package/dist/themes/tmo-light.js +2 -2
  35. package/dist/tokens/css/tokens-base-dark.css +5 -5
  36. package/dist/tokens/css/tokens-base-light.css +5 -5
  37. package/dist/tokens/css/tokens-dp-dark.css +44 -44
  38. package/dist/tokens/css/tokens-dp-light.css +44 -44
  39. package/dist/tokens/css/tokens-expressive-dark.css +50 -50
  40. package/dist/tokens/css/tokens-expressive-light.css +50 -50
  41. package/dist/tokens/css/tokens-expressive-sm-dark.css +50 -50
  42. package/dist/tokens/css/tokens-expressive-sm-light.css +50 -50
  43. package/dist/tokens/css/tokens-tmo-dark.css +44 -44
  44. package/dist/tokens/css/tokens-tmo-light.css +44 -44
  45. package/dist/tokens/doc.json +8314 -8314
  46. package/dist/tokens/less/tokens-base-dark.less +5 -5
  47. package/dist/tokens/less/tokens-base-light.less +5 -5
  48. package/dist/tokens/less/tokens-dp-dark.less +44 -44
  49. package/dist/tokens/less/tokens-dp-light.less +44 -44
  50. package/dist/tokens/less/tokens-expressive-dark.less +50 -50
  51. package/dist/tokens/less/tokens-expressive-light.less +50 -50
  52. package/dist/tokens/less/tokens-expressive-sm-dark.less +50 -50
  53. package/dist/tokens/less/tokens-expressive-sm-light.less +50 -50
  54. package/dist/tokens/less/tokens-tmo-dark.less +44 -44
  55. package/dist/tokens/less/tokens-tmo-light.less +44 -44
  56. package/dist/tokens/tokens-base-dark.json +5 -5
  57. package/dist/tokens/tokens-base-light.json +5 -5
  58. package/dist/tokens/tokens-dp-dark.json +44 -44
  59. package/dist/tokens/tokens-dp-light.json +44 -44
  60. package/dist/tokens/tokens-expressive-dark.json +50 -50
  61. package/dist/tokens/tokens-expressive-light.json +50 -50
  62. package/dist/tokens/tokens-expressive-sm-dark.json +50 -50
  63. package/dist/tokens/tokens-expressive-sm-light.json +50 -50
  64. package/dist/tokens/tokens-tmo-dark.json +44 -44
  65. package/dist/tokens/tokens-tmo-light.json +44 -44
  66. package/dist/vue2/component-documentation.json +1 -1
  67. package/dist/vue2/dialtone-vue.cjs +1 -1
  68. package/dist/vue2/dialtone-vue.js +1 -1
  69. package/dist/vue2/lib/contact-centers-row.cjs +17 -9
  70. package/dist/vue2/lib/contact-centers-row.cjs.map +1 -1
  71. package/dist/vue2/lib/contact-centers-row.js +17 -9
  72. package/dist/vue2/lib/contact-centers-row.js.map +1 -1
  73. package/dist/vue2/lib/message-input.cjs +13 -6
  74. package/dist/vue2/lib/message-input.cjs.map +1 -1
  75. package/dist/vue2/lib/message-input.js +13 -6
  76. package/dist/vue2/lib/message-input.js.map +1 -1
  77. package/dist/vue2/lib/rich-text-editor.cjs +8 -14
  78. package/dist/vue2/lib/rich-text-editor.cjs.map +1 -1
  79. package/dist/vue2/lib/rich-text-editor.js +8 -14
  80. package/dist/vue2/lib/rich-text-editor.js.map +1 -1
  81. package/dist/vue2/lib/stack.cjs +51 -14
  82. package/dist/vue2/lib/stack.cjs.map +1 -1
  83. package/dist/vue2/lib/stack.js +52 -15
  84. package/dist/vue2/lib/stack.js.map +1 -1
  85. package/dist/vue2/style.css +62 -57
  86. package/dist/vue2/types/components/rich_text_editor/extensions/custom_link/custom_link.d.ts.map +1 -1
  87. package/dist/vue2/types/components/rich_text_editor/mention_suggestion.d.ts.map +1 -1
  88. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +4 -2
  89. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  90. package/dist/vue2/types/components/stack/utils.d.ts +2 -2
  91. package/dist/vue2/types/components/stack/utils.d.ts.map +1 -1
  92. package/dist/vue2/types/components/stack/validators.d.ts +1 -1
  93. package/dist/vue2/types/components/stack/validators.d.ts.map +1 -1
  94. package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +1 -1
  95. package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +15 -0
  96. package/dist/vue2/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
  97. package/dist/vue3/component-documentation.json +1 -1
  98. package/dist/vue3/dialtone-vue.cjs +1 -1
  99. package/dist/vue3/dialtone-vue.js +1 -1
  100. package/dist/vue3/lib/contact-centers-row.cjs +21 -10
  101. package/dist/vue3/lib/contact-centers-row.cjs.map +1 -1
  102. package/dist/vue3/lib/contact-centers-row.js +21 -10
  103. package/dist/vue3/lib/contact-centers-row.js.map +1 -1
  104. package/dist/vue3/lib/message-input.cjs +13 -14
  105. package/dist/vue3/lib/message-input.cjs.map +1 -1
  106. package/dist/vue3/lib/message-input.js +14 -15
  107. package/dist/vue3/lib/message-input.js.map +1 -1
  108. package/dist/vue3/lib/rich-text-editor.cjs +11 -16
  109. package/dist/vue3/lib/rich-text-editor.cjs.map +1 -1
  110. package/dist/vue3/lib/rich-text-editor.js +11 -16
  111. package/dist/vue3/lib/rich-text-editor.js.map +1 -1
  112. package/dist/vue3/lib/stack.cjs +51 -14
  113. package/dist/vue3/lib/stack.cjs.map +1 -1
  114. package/dist/vue3/lib/stack.js +52 -15
  115. package/dist/vue3/lib/stack.js.map +1 -1
  116. package/dist/vue3/style.css +62 -57
  117. package/dist/vue3/types/components/rich_text_editor/extensions/custom_link/custom_link.d.ts.map +1 -1
  118. package/dist/vue3/types/components/rich_text_editor/mention_suggestion.d.ts.map +1 -1
  119. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +4 -2
  120. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  121. package/dist/vue3/types/components/stack/utils.d.ts +2 -2
  122. package/dist/vue3/types/components/stack/utils.d.ts.map +1 -1
  123. package/dist/vue3/types/components/stack/validators.d.ts +1 -1
  124. package/dist/vue3/types/components/stack/validators.d.ts.map +1 -1
  125. package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +1 -1
  126. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts +15 -0
  127. package/dist/vue3/types/recipes/leftbar/contact_centers_row/contact_centers_row.vue.d.ts.map +1 -1
  128. package/package.json +2 -2
  129. package/dist/chunks/tokens-base-dark-BC3U5KoN.js +0 -4
  130. package/dist/chunks/tokens-base-dark-zbBpWlfP.js +0 -1
  131. package/dist/chunks/tokens-base-light-PCrr7t8W.js +0 -4
  132. package/dist/chunks/tokens-base-light-dvWvBHbM.js +0 -1
@@ -1,4 +1,4 @@
1
- import { DT_STACK_DIRECTION, DT_STACK_RESPONSIVE_BREAKPOINTS, DT_STACK_GAP } from "../chunks/stack_constants-HraCekPm.js";
1
+ import { DT_STACK_DIRECTION, DT_STACK_GAP, DT_STACK_RESPONSIVE_BREAKPOINTS } from "../chunks/stack_constants-HraCekPm.js";
2
2
  import { openBlock, createBlock, resolveDynamicComponent, normalizeClass, withCtx, renderSlot } from "vue";
3
3
  import { _export_sfc } from "../chunks/_plugin-vue_export-helper-caHeSgYY.js";
4
4
  function _isDefaultDirection(direction) {
@@ -14,25 +14,52 @@ function _getValidDirection(direction) {
14
14
  return null;
15
15
  }
16
16
  }
17
+ function _getValidGap(gap) {
18
+ if (typeof gap === "string") {
19
+ return gap;
20
+ } else if (typeof gap === "object") {
21
+ return gap.default;
22
+ } else {
23
+ return null;
24
+ }
25
+ }
17
26
  function directionPropType(value) {
18
27
  return typeof value;
19
28
  }
20
29
  function getDefaultDirectionClass(direction) {
21
30
  return _getValidDirection(direction) ? `d-stack--${DT_STACK_DIRECTION[_getValidDirection(direction)]}` : null;
22
31
  }
23
- function getResponsiveClasses(direction) {
32
+ function getResposiveDirectionClasses(direction) {
24
33
  if (directionPropType(direction) === "object") {
25
34
  return [
26
35
  ...DT_STACK_RESPONSIVE_BREAKPOINTS.map((breakpoint) => {
27
- return direction[breakpoint] ? `d-stack--${breakpoint}--${direction[breakpoint]}` : null;
36
+ return direction[breakpoint] ? `d-stack--${breakpoint}-${direction[breakpoint]}` : null;
28
37
  })
29
38
  ];
30
39
  } else {
31
- return null;
40
+ return [];
32
41
  }
33
42
  }
34
- function getGapClass(gap) {
35
- return DT_STACK_GAP.includes(gap) ? `d-stack--gap-${gap}` : null;
43
+ function getResposiveGapClasses(gap) {
44
+ if (typeof gap === "object") {
45
+ return [
46
+ ...DT_STACK_RESPONSIVE_BREAKPOINTS.map((breakpoint) => {
47
+ return DT_STACK_GAP.includes(gap[breakpoint]) ? `d-stack--${breakpoint}-gap-${gap[breakpoint]}` : null;
48
+ })
49
+ ];
50
+ } else {
51
+ return [];
52
+ }
53
+ }
54
+ function getResponsiveClasses(direction, gap) {
55
+ return [
56
+ ...getResposiveDirectionClasses(direction),
57
+ ...getResposiveGapClasses(gap)
58
+ ];
59
+ }
60
+ function getDefaultGapClass(gap) {
61
+ const validGap = _getValidGap(gap);
62
+ return DT_STACK_GAP.includes(validGap) ? `d-stack--gap-${validGap}` : null;
36
63
  }
37
64
  function directionValidator(direction) {
38
65
  if (directionPropType(direction) === "string") {
@@ -45,7 +72,13 @@ function directionValidator(direction) {
45
72
  }
46
73
  }
47
74
  function gapValidator(gap) {
48
- return DT_STACK_GAP.includes(gap);
75
+ if (typeof gap === "string") {
76
+ return DT_STACK_GAP.includes(gap);
77
+ }
78
+ if (typeof gap === "object") {
79
+ const { default: defaultStyle } = gap;
80
+ return DT_STACK_GAP.includes(defaultStyle);
81
+ }
49
82
  }
50
83
  const _sfc_main = {
51
84
  name: "DtStack",
@@ -71,11 +104,15 @@ const _sfc_main = {
71
104
  default: "div"
72
105
  },
73
106
  /**
74
- * Set this prop to have the space between each stack item
75
- * @values 0, 100, 200, 300, 400, 500, 600
107
+ * The gap property controls the spacing between items in the stack.
108
+ * The gap can be set to a string, or object with breakpoints.
109
+ * All the undefined breakpoints will have the 'default' value.
110
+ * You can override the default gap with 'default' key.
111
+ * In case of string, it will be applied to all the breakpoints.
112
+ * Valid values are '0', '100', '200', '300', '400', '450', '500', '600'.
76
113
  */
77
114
  gap: {
78
- type: String,
115
+ type: [String, Object],
79
116
  default: "0",
80
117
  validator: (gap) => gapValidator(gap)
81
118
  }
@@ -88,14 +125,14 @@ const _sfc_main = {
88
125
  };
89
126
  },
90
127
  computed: {
91
- stackGap() {
92
- return getGapClass(this.gap);
128
+ defaultGap() {
129
+ return getDefaultGapClass(this.gap);
93
130
  },
94
131
  defaultDirection() {
95
132
  return getDefaultDirectionClass(this.direction);
96
133
  },
97
134
  stackResponsive() {
98
- return getResponsiveClasses(this.direction);
135
+ return getResponsiveClasses(this.direction, this.gap);
99
136
  }
100
137
  }
101
138
  };
@@ -104,8 +141,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
104
141
  class: normalizeClass([
105
142
  "d-stack",
106
143
  $options.defaultDirection,
107
- $options.stackResponsive,
108
- $options.stackGap
144
+ $options.defaultGap,
145
+ $options.stackResponsive
109
146
  ])
110
147
  }, {
111
148
  default: withCtx(() => [
@@ -1 +1 @@
1
- {"version":3,"file":"stack.js","sources":["../../components/stack/utils.js","../../components/stack/validators.js","../../components/stack/stack.vue"],"sourcesContent":["import { DT_STACK_DIRECTION, DT_STACK_GAP, DT_STACK_RESPONSIVE_BREAKPOINTS } from '@/components/stack/stack_constants';\n\nfunction _isDefaultDirection (direction) {\n return direction === DT_STACK_DIRECTION.default;\n}\n\nfunction _getValidDirection (direction) {\n if (directionPropType(direction) === 'string') {\n return !_isDefaultDirection(direction) ? DT_STACK_DIRECTION[direction] : null;\n } else if (directionPropType(direction) === 'object') {\n const { default: defaultStyle } = direction;\n\n return !_isDefaultDirection(defaultStyle) ? DT_STACK_DIRECTION[defaultStyle] : null;\n } else { return null; }\n}\n\nexport function directionPropType (value) {\n return typeof value;\n}\n\nexport function getDefaultDirectionClass (direction) {\n return _getValidDirection(direction)\n ? `d-stack--${DT_STACK_DIRECTION[_getValidDirection(direction)]}`\n : null;\n}\n\nexport function getResponsiveClasses (direction) {\n if (directionPropType(direction) === 'object') {\n return [\n ...DT_STACK_RESPONSIVE_BREAKPOINTS.map((breakpoint) => {\n return direction[breakpoint]\n ? `d-stack--${breakpoint}--${direction[breakpoint]}`\n : null;\n })];\n } else { return null; }\n}\n\nexport function getGapClass (gap) {\n return DT_STACK_GAP.includes(gap) ? `d-stack--gap-${gap}` : null;\n}\n","import { DT_STACK_DIRECTION, DT_STACK_GAP } from '@/components/stack/stack_constants';\nimport { directionPropType } from './utils';\n\nexport function directionValidator (direction) {\n if (directionPropType(direction) === 'string') {\n return Object.keys(DT_STACK_DIRECTION).includes(direction);\n } else if (directionPropType(direction) === 'object') {\n const { default: defaultStyle } = direction;\n\n return Object.keys(DT_STACK_DIRECTION).includes(defaultStyle);\n } else { return null; }\n}\n\nexport function gapValidator (gap) {\n return DT_STACK_GAP.includes(gap);\n}\n","<template>\n <component\n :is=\"as\"\n :class=\"[\n 'd-stack',\n defaultDirection,\n stackResponsive,\n stackGap,\n ]\"\n >\n <!-- @slot Slot for main content -->\n <slot />\n </component>\n</template>\n\n<script>\nimport { DT_STACK_DIRECTION, DT_STACK_GAP, DT_STACK_RESPONSIVE_BREAKPOINTS } from './stack_constants';\nimport { directionValidator, gapValidator } from './validators';\nimport { getDefaultDirectionClass, getResponsiveClasses, getGapClass } from './utils';\n\nexport default {\n name: 'DtStack',\n\n props: {\n /**\n * Set this prop to the direction to stack the items.\n * You can override the default direction with 'default' key.\n * All the undefined breakpoints will have 'default' value.\n * By default, for the column direction it will have `justify-content: flex-start`\n * and for the row direction `align-items: center`. This can be overriden\n * by utility classes.\n */\n direction: {\n type: [String, Object],\n default: 'column',\n validator: (direction) => directionValidator(direction),\n },\n\n /**\n * Set this prop to render stack as a specific HTML element.\n */\n as: {\n type: String,\n default: 'div',\n },\n\n /**\n * Set this prop to have the space between each stack item\n * @values 0, 100, 200, 300, 400, 500, 600\n */\n gap: {\n type: String,\n default: '0',\n validator: (gap) => gapValidator(gap),\n },\n },\n\n data () {\n return {\n DT_STACK_DIRECTION,\n DT_STACK_GAP,\n DT_STACK_RESPONSIVE_BREAKPOINTS,\n };\n },\n\n computed: {\n stackGap () {\n return getGapClass(this.gap);\n },\n\n defaultDirection () {\n return getDefaultDirectionClass(this.direction);\n },\n\n stackResponsive () {\n return getResponsiveClasses(this.direction);\n },\n },\n};\n</script>\n"],"names":["_openBlock","_createBlock","_resolveDynamicComponent","_normalizeClass","_renderSlot"],"mappings":";;;AAEA,SAAS,oBAAqB,WAAW;AACvC,SAAO,cAAc,mBAAmB;AAC1C;AAEA,SAAS,mBAAoB,WAAW;AACtC,MAAI,kBAAkB,SAAS,MAAM,UAAU;AAC7C,WAAO,CAAC,oBAAoB,SAAS,IAAI,mBAAmB,SAAS,IAAI;AAAA,EAC1E,WAAU,kBAAkB,SAAS,MAAM,UAAU;AACpD,UAAM,EAAE,SAAS,aAAc,IAAG;AAElC,WAAO,CAAC,oBAAoB,YAAY,IAAI,mBAAmB,YAAY,IAAI;AAAA,EACnF,OAAS;AAAE,WAAO;AAAA,EAAO;AACzB;AAEO,SAAS,kBAAmB,OAAO;AACxC,SAAO,OAAO;AAChB;AAEO,SAAS,yBAA0B,WAAW;AACnD,SAAO,mBAAmB,SAAS,IAC/B,YAAY,mBAAmB,mBAAmB,SAAS,CAAC,CAAC,KAC7D;AACN;AAEO,SAAS,qBAAsB,WAAW;AAC/C,MAAI,kBAAkB,SAAS,MAAM,UAAU;AAC7C,WAAO;AAAA,MACL,GAAG,gCAAgC,IAAI,CAAC,eAAe;AACrD,eAAO,UAAU,UAAU,IACvB,YAAY,UAAU,KAAK,UAAU,UAAU,CAAC,KAChD;AAAA,MACL,CAAA;AAAA,IAAC;AAAA,EACR,OAAS;AAAE,WAAO;AAAA,EAAO;AACzB;AAEO,SAAS,YAAa,KAAK;AAChC,SAAO,aAAa,SAAS,GAAG,IAAI,gBAAgB,GAAG,KAAK;AAC9D;ACpCO,SAAS,mBAAoB,WAAW;AAC7C,MAAI,kBAAkB,SAAS,MAAM,UAAU;AAC7C,WAAO,OAAO,KAAK,kBAAkB,EAAE,SAAS,SAAS;AAAA,EAC1D,WAAU,kBAAkB,SAAS,MAAM,UAAU;AACpD,UAAM,EAAE,SAAS,aAAc,IAAG;AAElC,WAAO,OAAO,KAAK,kBAAkB,EAAE,SAAS,YAAY;AAAA,EAChE,OAAS;AAAE,WAAO;AAAA,EAAO;AACzB;AAEO,SAAS,aAAc,KAAK;AACjC,SAAO,aAAa,SAAS,GAAG;AAClC;ACKA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EAEN,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASL,WAAW;AAAA,MACT,MAAM,CAAC,QAAQ,MAAM;AAAA,MACrB,SAAS;AAAA,MACT,WAAW,CAAC,cAAc,mBAAmB,SAAS;AAAA,IACvD;AAAA;AAAA;AAAA;AAAA,IAKD,IAAI;AAAA,MACF,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA;AAAA;AAAA;AAAA;AAAA,IAMD,KAAK;AAAA,MACH,MAAM;AAAA,MACN,SAAS;AAAA,MACT,WAAW,CAAC,QAAQ,aAAa,GAAG;AAAA,IACrC;AAAA,EACF;AAAA,EAED,OAAQ;AACN,WAAO;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA;EAEH;AAAA,EAED,UAAU;AAAA,IACR,WAAY;AACV,aAAO,YAAY,KAAK,GAAG;AAAA,IAC5B;AAAA,IAED,mBAAoB;AAClB,aAAO,yBAAyB,KAAK,SAAS;AAAA,IAC/C;AAAA,IAED,kBAAmB;AACjB,aAAO,qBAAqB,KAAK,SAAS;AAAA,IAC3C;AAAA,EACF;AACH;;AA7EE,SAAAA,UAAA,GAAAC,YAWYC,wBAVL,OAAE,EAAA,GAAA;AAAA,IACN,OAAKC,eAAA;AAAA;MAA2B,SAAgB;AAAA,MAAQ,SAAe;AAAA,MAAQ,SAAQ;AAAA;;qBAQxF,MAAQ;AAAA,MAARC,WAAQ,KAAA,QAAA,SAAA;AAAA;;;;;"}
1
+ {"version":3,"file":"stack.js","sources":["../../components/stack/utils.js","../../components/stack/validators.js","../../components/stack/stack.vue"],"sourcesContent":["import { DT_STACK_DIRECTION, DT_STACK_GAP, DT_STACK_RESPONSIVE_BREAKPOINTS } from '@/components/stack/stack_constants';\n\nfunction _isDefaultDirection (direction) {\n return direction === DT_STACK_DIRECTION.default;\n}\n\nfunction _getValidDirection (direction) {\n if (directionPropType(direction) === 'string') {\n return !_isDefaultDirection(direction) ? DT_STACK_DIRECTION[direction] : null;\n } else if (directionPropType(direction) === 'object') {\n const { default: defaultStyle } = direction;\n\n return !_isDefaultDirection(defaultStyle) ? DT_STACK_DIRECTION[defaultStyle] : null;\n } else { return null; }\n}\n\nfunction _getValidGap (gap) {\n if (typeof gap === 'string') {\n return gap;\n } else if (typeof gap === 'object') {\n return gap.default;\n } else { return null; }\n}\n\nexport function directionPropType (value) {\n return typeof value;\n}\n\nexport function getDefaultDirectionClass (direction) {\n return _getValidDirection(direction)\n ? `d-stack--${DT_STACK_DIRECTION[_getValidDirection(direction)]}`\n : null;\n}\n\nfunction getResposiveDirectionClasses (direction) {\n if (directionPropType(direction) === 'object') {\n return [\n ...DT_STACK_RESPONSIVE_BREAKPOINTS.map((breakpoint) => {\n return direction[breakpoint]\n ? `d-stack--${breakpoint}-${direction[breakpoint]}`\n : null;\n })];\n } else { return []; }\n}\n\nfunction getResposiveGapClasses (gap) {\n if (typeof gap === 'object') {\n return [\n ...DT_STACK_RESPONSIVE_BREAKPOINTS.map((breakpoint) => {\n return DT_STACK_GAP.includes(gap[breakpoint])\n ? `d-stack--${breakpoint}-gap-${gap[breakpoint]}`\n : null;\n })];\n } else { return []; }\n}\n\nexport function getResponsiveClasses (direction, gap) {\n return [\n ...getResposiveDirectionClasses(direction),\n ...getResposiveGapClasses(gap),\n ];\n}\n\nexport function getDefaultGapClass (gap) {\n const validGap = _getValidGap(gap);\n return DT_STACK_GAP.includes(validGap) ? `d-stack--gap-${validGap}` : null;\n}\n","import { DT_STACK_DIRECTION, DT_STACK_GAP } from '@/components/stack/stack_constants';\nimport { directionPropType } from './utils';\n\nexport function directionValidator (direction) {\n if (directionPropType(direction) === 'string') {\n return Object.keys(DT_STACK_DIRECTION).includes(direction);\n } else if (directionPropType(direction) === 'object') {\n const { default: defaultStyle } = direction;\n\n return Object.keys(DT_STACK_DIRECTION).includes(defaultStyle);\n } else { return null; }\n}\n\nexport function gapValidator (gap) {\n if (typeof gap === 'string') {\n return DT_STACK_GAP.includes(gap);\n }\n if (typeof gap === 'object') {\n const { default: defaultStyle } = gap;\n\n return DT_STACK_GAP.includes(defaultStyle);\n }\n}\n","<template>\n <component\n :is=\"as\"\n :class=\"[\n 'd-stack',\n defaultDirection,\n defaultGap,\n stackResponsive,\n ]\"\n >\n <!-- @slot Slot for main content -->\n <slot />\n </component>\n</template>\n\n<script>\nimport { DT_STACK_DIRECTION, DT_STACK_GAP, DT_STACK_RESPONSIVE_BREAKPOINTS } from './stack_constants';\nimport { directionValidator, gapValidator } from './validators';\nimport { getDefaultDirectionClass, getResponsiveClasses, getDefaultGapClass } from './utils';\n\nexport default {\n name: 'DtStack',\n\n props: {\n /**\n * Set this prop to the direction to stack the items.\n * You can override the default direction with 'default' key.\n * All the undefined breakpoints will have 'default' value.\n * By default, for the column direction it will have `justify-content: flex-start`\n * and for the row direction `align-items: center`. This can be overriden\n * by utility classes.\n */\n direction: {\n type: [String, Object],\n default: 'column',\n validator: (direction) => directionValidator(direction),\n },\n\n /**\n * Set this prop to render stack as a specific HTML element.\n */\n as: {\n type: String,\n default: 'div',\n },\n\n /**\n * The gap property controls the spacing between items in the stack.\n * The gap can be set to a string, or object with breakpoints.\n * All the undefined breakpoints will have the 'default' value.\n * You can override the default gap with 'default' key.\n * In case of string, it will be applied to all the breakpoints.\n * Valid values are '0', '100', '200', '300', '400', '450', '500', '600'.\n */\n gap: {\n type: [String, Object],\n default: '0',\n validator: (gap) => gapValidator(gap),\n },\n },\n\n data () {\n return {\n DT_STACK_DIRECTION,\n DT_STACK_GAP,\n DT_STACK_RESPONSIVE_BREAKPOINTS,\n };\n },\n\n computed: {\n defaultGap () {\n return getDefaultGapClass(this.gap);\n },\n\n defaultDirection () {\n return getDefaultDirectionClass(this.direction);\n },\n\n stackResponsive () {\n return getResponsiveClasses(this.direction, this.gap);\n },\n },\n};\n</script>\n"],"names":["_openBlock","_createBlock","_resolveDynamicComponent","_normalizeClass","_renderSlot"],"mappings":"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"}
@@ -172,6 +172,11 @@
172
172
  .dt-suggestion-list--item {
173
173
  border: var(--dt-size-100) solid transparent;
174
174
  }
175
+ .mention-suggestion-name[data-v-65bcbd51] {
176
+ overflow: hidden;
177
+ text-overflow: ellipsis;
178
+ white-space: nowrap;
179
+ }
175
180
  .dt-rich-text-editor--code-block {
176
181
  background: var(--dt-color-surface-secondary);
177
182
  padding: var(--dt-space-400);
@@ -1265,7 +1270,7 @@ body > .os-scrollbar {
1265
1270
  }
1266
1271
  }
1267
1272
  /* stylelint-disable selector-pseudo-class-no-unknown */
1268
- .dt-leftbar-row[data-v-094eaef1] {
1273
+ .dt-leftbar-row[data-v-cc2f5ae8] {
1269
1274
  --leftbar-row-color-foreground: var(--dt-theme-sidebar-color-foreground);
1270
1275
  --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background);
1271
1276
  --leftbar-row-radius: var(--dt-size-radius-pill);
@@ -1296,49 +1301,49 @@ body > .os-scrollbar {
1296
1301
  transition-duration: var(--td200);
1297
1302
  transition-property: background-color, border, box-shadow;
1298
1303
  }
1299
- .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):hover,
1300
- .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):focus-within {
1304
+ .dt-leftbar-row[data-v-cc2f5ae8]:not(.dt-leftbar-row--no-action):hover,
1305
+ .dt-leftbar-row[data-v-cc2f5ae8]:not(.dt-leftbar-row--no-action):focus-within {
1301
1306
  --leftbar-row-unread-badge-display: none;
1302
1307
  }
1303
- .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action,
1304
- .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action {
1308
+ .dt-leftbar-row[data-v-cc2f5ae8]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action,
1309
+ .dt-leftbar-row[data-v-cc2f5ae8]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action {
1305
1310
  display: inline-flex;
1306
1311
  }
1307
- .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action-button,
1308
- .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action-button {
1312
+ .dt-leftbar-row[data-v-cc2f5ae8]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action-button,
1313
+ .dt-leftbar-row[data-v-cc2f5ae8]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action-button {
1309
1314
  opacity: 1;
1310
1315
  }
1311
- .dt-leftbar-row[data-v-094eaef1]:hover,
1312
- .dt-leftbar-row[data-v-094eaef1]:focus-within {
1316
+ .dt-leftbar-row[data-v-cc2f5ae8]:hover,
1317
+ .dt-leftbar-row[data-v-cc2f5ae8]:focus-within {
1313
1318
  --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-hover);
1314
1319
  }
1315
- .dt-leftbar-row[data-v-094eaef1]:hover .d-presence,
1316
- .dt-leftbar-row[data-v-094eaef1]:focus-within .d-presence {
1320
+ .dt-leftbar-row[data-v-cc2f5ae8]:hover .d-presence,
1321
+ .dt-leftbar-row[data-v-cc2f5ae8]:focus-within .d-presence {
1317
1322
  --presence-color-border-base: var(--dt-color-black-200);
1318
1323
  }
1319
- .dt-leftbar-row[data-v-094eaef1]:hover .d-avatar__count,
1320
- .dt-leftbar-row[data-v-094eaef1]:focus-within .d-avatar__count {
1324
+ .dt-leftbar-row[data-v-cc2f5ae8]:hover .d-avatar__count,
1325
+ .dt-leftbar-row[data-v-cc2f5ae8]:focus-within .d-avatar__count {
1321
1326
  --avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background);
1322
1327
  }
1323
- .dt-leftbar-row--has-unread[data-v-094eaef1] {
1328
+ .dt-leftbar-row--has-unread[data-v-cc2f5ae8] {
1324
1329
  --leftbar-row-description-font-weight: var(--dt-font-weight-bold);
1325
1330
  --leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);
1326
1331
  --leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);
1327
1332
  }
1328
- .dt-leftbar-row--muted[data-v-094eaef1] {
1333
+ .dt-leftbar-row--muted[data-v-cc2f5ae8] {
1329
1334
  --leftbar-row-opacity: 60%;
1330
1335
  }
1331
- .dt-leftbar-row--selected[data-v-094eaef1] {
1336
+ .dt-leftbar-row--selected[data-v-cc2f5ae8] {
1332
1337
  --leftbar-row-color-background: var(--dt-theme-sidebar-selected-row-color-background);
1333
1338
  --leftbar-row-description-color-foreground: var(--dt-theme-sidebar-selected-row-color-foreground);
1334
1339
  }
1335
- .dt-leftbar-row--selected[data-v-094eaef1] .d-presence {
1340
+ .dt-leftbar-row--selected[data-v-cc2f5ae8] .d-presence {
1336
1341
  --presence-color-border-base: var(--dt-color-black-200);
1337
1342
  }
1338
- .dt-leftbar-row--selected[data-v-094eaef1] .d-avatar__count {
1343
+ .dt-leftbar-row--selected[data-v-cc2f5ae8] .d-avatar__count {
1339
1344
  --avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background);
1340
1345
  }
1341
- .dt-leftbar-row__is-typing[data-v-094eaef1] {
1346
+ .dt-leftbar-row__is-typing[data-v-cc2f5ae8] {
1342
1347
  --is-typing-size-shape: var(--dt-size-550);
1343
1348
  position: absolute;
1344
1349
  display: flex;
@@ -1350,7 +1355,7 @@ body > .os-scrollbar {
1350
1355
  border-radius: var(--dt-size-radius-pill);
1351
1356
  opacity: 0.75;
1352
1357
  }
1353
- .dt-leftbar-row__is-typing span[data-v-094eaef1] {
1358
+ .dt-leftbar-row__is-typing span[data-v-cc2f5ae8] {
1354
1359
  display: inline-block;
1355
1360
  width: var(--dt-size-300);
1356
1361
  height: var(--dt-size-300);
@@ -1359,18 +1364,18 @@ body > .os-scrollbar {
1359
1364
  border-radius: var(--dt-size-radius-pill);
1360
1365
  opacity: 0.3;
1361
1366
  transition: all 500ms ease;
1362
- animation: wave-094eaef1 1.5s ease infinite;
1367
+ animation: wave-cc2f5ae8 1.5s ease infinite;
1363
1368
  }
1364
- .dt-leftbar-row__is-typing span[data-v-094eaef1]:nth-child(1) {
1369
+ .dt-leftbar-row__is-typing span[data-v-cc2f5ae8]:nth-child(1) {
1365
1370
  animation-delay: 0ms;
1366
1371
  }
1367
- .dt-leftbar-row__is-typing span[data-v-094eaef1]:nth-child(2) {
1372
+ .dt-leftbar-row__is-typing span[data-v-cc2f5ae8]:nth-child(2) {
1368
1373
  animation-delay: var(--td100);
1369
1374
  }
1370
- .dt-leftbar-row__is-typing span[data-v-094eaef1]:nth-child(3) {
1375
+ .dt-leftbar-row__is-typing span[data-v-cc2f5ae8]:nth-child(3) {
1371
1376
  animation-delay: var(--td200);
1372
1377
  }
1373
- .dt-leftbar-row__primary[data-v-094eaef1] {
1378
+ .dt-leftbar-row__primary[data-v-cc2f5ae8] {
1374
1379
  display: flex;
1375
1380
  flex: 1;
1376
1381
  align-items: center;
@@ -1387,18 +1392,18 @@ body > .os-scrollbar {
1387
1392
  border-radius: var(--leftbar-row-radius);
1388
1393
  appearance: none;
1389
1394
  }
1390
- .dt-leftbar-row__primary[data-v-094eaef1]:active {
1395
+ .dt-leftbar-row__primary[data-v-cc2f5ae8]:active {
1391
1396
  --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-active);
1392
1397
  }
1393
- .dt-leftbar-row__primary[data-v-094eaef1]:focus-visible {
1398
+ .dt-leftbar-row__primary[data-v-cc2f5ae8]:focus-visible {
1394
1399
  box-shadow: var(--dt-shadow-focus-inset);
1395
1400
  }
1396
- .dt-leftbar-row__action-button[data-v-094eaef1] {
1401
+ .dt-leftbar-row__action-button[data-v-cc2f5ae8] {
1397
1402
  width: var(--leftbar-row-action-width);
1398
1403
  height: var(--leftbar-row-action-height);
1399
1404
  opacity: 0;
1400
1405
  }
1401
- .dt-leftbar-row__alpha[data-v-094eaef1] {
1406
+ .dt-leftbar-row__alpha[data-v-cc2f5ae8] {
1402
1407
  display: flex;
1403
1408
  align-items: center;
1404
1409
  justify-content: center;
@@ -1410,11 +1415,11 @@ body > .os-scrollbar {
1410
1415
  color: var(--leftbar-row-alpha-color-foreground);
1411
1416
  border-radius: var(--leftbar-row-radius) 0 0 var(--leftbar-row-radius);
1412
1417
  }
1413
- .dt-leftbar-row__label[data-v-094eaef1] {
1418
+ .dt-leftbar-row__label[data-v-cc2f5ae8] {
1414
1419
  flex: 0 1;
1415
1420
  min-width: 0;
1416
1421
  }
1417
- .dt-leftbar-row__omega[data-v-094eaef1] {
1422
+ .dt-leftbar-row__omega[data-v-cc2f5ae8] {
1418
1423
  position: absolute;
1419
1424
  top: var(--leftbar-row-action-position-bottom);
1420
1425
  right: var(--leftbar-row-action-position-right);
@@ -1426,34 +1431,34 @@ body > .os-scrollbar {
1426
1431
  border-radius: var(--leftbar-row-radius);
1427
1432
  transform: translateY(calc(var(--leftbar-row-action-position-bottom) * -1));
1428
1433
  }
1429
- .dt-leftbar-row__unread-badge[data-v-094eaef1] {
1434
+ .dt-leftbar-row__unread-badge[data-v-cc2f5ae8] {
1430
1435
  display: var(--leftbar-row-unread-badge-display);
1431
1436
  color: var(--dt-theme-mention-color-foreground);
1432
1437
  background-color: var(--dt-theme-mention-color-background);
1433
1438
  }
1434
- .dt-leftbar-row--unread-count[data-v-094eaef1] .dt-leftbar-row__action {
1439
+ .dt-leftbar-row--unread-count[data-v-cc2f5ae8] .dt-leftbar-row__action {
1435
1440
  display: none;
1436
1441
  }
1437
- .dt-leftbar-row__unread-count-badge[data-v-094eaef1] {
1442
+ .dt-leftbar-row__unread-count-badge[data-v-cc2f5ae8] {
1438
1443
  border-top-right-radius: var(--dt-size-radius-0);
1439
1444
  border-bottom-right-radius: var(--dt-size-radius-0);
1440
1445
  }
1441
- .dt-leftbar-row__unread-mention-count-badge[data-v-094eaef1] {
1446
+ .dt-leftbar-row__unread-mention-count-badge[data-v-cc2f5ae8] {
1442
1447
  color: var(--dt-theme-mention-color-foreground-strong);
1443
1448
  background-color: var(--dt-theme-mention-color-background-strong);
1444
1449
  border-top-left-radius: var(--dt-size-radius-0);
1445
1450
  border-bottom-left-radius: var(--dt-size-radius-0);
1446
1451
  }
1447
- .dt-leftbar-row__unread-mention-only-count-badge[data-v-094eaef1] {
1452
+ .dt-leftbar-row__unread-mention-only-count-badge[data-v-cc2f5ae8] {
1448
1453
  color: var(--dt-theme-mention-color-foreground-strong);
1449
1454
  background-color: var(--dt-theme-mention-color-background-strong);
1450
1455
  }
1451
- .dt-leftbar-row__active-voice[data-v-094eaef1] {
1456
+ .dt-leftbar-row__active-voice[data-v-cc2f5ae8] {
1452
1457
  display: inline-flex;
1453
1458
  color: var(--dt-color-purple-400);
1454
- -webkit-animation-name: opacity-pulsate-094eaef1;
1455
- -moz-animation-name: opacity-pulsate-094eaef1;
1456
- animation-name: opacity-pulsate-094eaef1;
1459
+ -webkit-animation-name: opacity-pulsate-cc2f5ae8;
1460
+ -moz-animation-name: opacity-pulsate-cc2f5ae8;
1461
+ animation-name: opacity-pulsate-cc2f5ae8;
1457
1462
  -webkit-animation-duration: 1s;
1458
1463
  -moz-animation-duration: 1s;
1459
1464
  animation-duration: 1s;
@@ -1464,7 +1469,7 @@ body > .os-scrollbar {
1464
1469
  -moz-animation-fill-mode: both;
1465
1470
  animation-fill-mode: both;
1466
1471
  }
1467
- .dt-leftbar-row__dnd[data-v-094eaef1] {
1472
+ .dt-leftbar-row__dnd[data-v-cc2f5ae8] {
1468
1473
  padding-top: var(--dt-space-200);
1469
1474
  padding-right: var(--dt-space-300);
1470
1475
  color: var(--dt-color-foreground-tertiary);
@@ -1472,26 +1477,26 @@ body > .os-scrollbar {
1472
1477
  font-size: var(--dt-font-size-100);
1473
1478
  line-height: var(--dt-font-line-height-400);
1474
1479
  }
1475
- .dt-leftbar-row__container--off-duty[data-v-094eaef1] {
1480
+ .dt-leftbar-row__container--off-duty[data-v-cc2f5ae8] {
1476
1481
  background-color: var(--dt-badge-color-background-critical);
1477
1482
  border: var(--dt-size-100) solid var(--dt-color-border-subtle);
1478
1483
  border-radius: var(--dt-size-radius-500);
1479
1484
  }
1480
- .dt-leftbar-row__container--off-duty[data-v-094eaef1] .dt-leftbar-row__primary {
1485
+ .dt-leftbar-row__container--off-duty[data-v-cc2f5ae8] .dt-leftbar-row__primary {
1481
1486
  margin: calc(var(--dt-size-100) * -1);
1482
1487
  }
1483
- .dt-leftbar-row--contact-centers[data-v-094eaef1] .dt-leftbar-row__alpha {
1488
+ .dt-leftbar-row--contact-centers[data-v-cc2f5ae8] .dt-leftbar-row__alpha {
1484
1489
  padding-right: var(--dt-space-450);
1485
1490
  padding-left: var(--dt-space-450);
1486
1491
  }
1487
- .dt-leftbar-row--contact-centers .dt-leftbar-row__action-container[data-v-094eaef1] {
1492
+ .dt-leftbar-row--contact-centers .dt-leftbar-row__action-container[data-v-cc2f5ae8] {
1488
1493
  display: inline-flex;
1489
1494
  align-items: center;
1490
1495
  justify-content: flex-end;
1491
1496
  min-width: var(--dt-size-600);
1492
1497
  height: var(--dt-size-500);
1493
1498
  }
1494
- .dt-leftbar-row[data-v-094eaef1] .dt-leftbar-row__description {
1499
+ .dt-leftbar-row[data-v-cc2f5ae8] .dt-leftbar-row__description {
1495
1500
  overflow: hidden;
1496
1501
  color: var(--leftbar-row-description-color-foreground);
1497
1502
  font-weight: var(--leftbar-row-description-font-weight);
@@ -1500,7 +1505,7 @@ body > .os-scrollbar {
1500
1505
  white-space: nowrap;
1501
1506
  text-overflow: ellipsis;
1502
1507
  }
1503
- .dt-leftbar-row[data-v-094eaef1] .dt-leftbar-row__status {
1508
+ .dt-leftbar-row[data-v-cc2f5ae8] .dt-leftbar-row__status {
1504
1509
  padding-bottom: var(--dt-space-100);
1505
1510
  overflow: hidden;
1506
1511
  color: var(--leftbar-row-status-color-foreground);
@@ -1509,19 +1514,19 @@ body > .os-scrollbar {
1509
1514
  white-space: nowrap;
1510
1515
  text-overflow: ellipsis;
1511
1516
  }
1512
- .dt-leftbar-row[data-v-094eaef1] .dt-leftbar-row__meta-context ~ .dt-leftbar-row__meta-custom:not(:empty)::before {
1517
+ .dt-leftbar-row[data-v-cc2f5ae8] .dt-leftbar-row__meta-context ~ .dt-leftbar-row__meta-custom:not(:empty)::before {
1513
1518
  color: var(--dt-theme-sidebar-status-color-foreground);
1514
1519
  content: " • ";
1515
1520
  }
1516
- .dt-leftbar-row__icon-cc[data-v-094eaef1] {
1521
+ .dt-leftbar-row__icon-cc[data-v-cc2f5ae8] {
1517
1522
  width: calc(var(--dt-size-300) * 3.5);
1518
1523
  height: calc(var(--dt-size-300) * 3.5);
1519
1524
  border-radius: var(--dt-size-200);
1520
1525
  }
1521
- .opacity-pulsate[data-v-094eaef1] {
1522
- -webkit-animation-name: opacity-pulsate-094eaef1;
1523
- -moz-animation-name: opacity-pulsate-094eaef1;
1524
- animation-name: opacity-pulsate-094eaef1;
1526
+ .opacity-pulsate[data-v-cc2f5ae8] {
1527
+ -webkit-animation-name: opacity-pulsate-cc2f5ae8;
1528
+ -moz-animation-name: opacity-pulsate-cc2f5ae8;
1529
+ animation-name: opacity-pulsate-cc2f5ae8;
1525
1530
  -webkit-animation-duration: 1s;
1526
1531
  -moz-animation-duration: 1s;
1527
1532
  animation-duration: 1s;
@@ -1532,7 +1537,7 @@ body > .os-scrollbar {
1532
1537
  -moz-animation-fill-mode: both;
1533
1538
  animation-fill-mode: both;
1534
1539
  }
1535
- @keyframes opacity-pulsate-094eaef1 {
1540
+ @keyframes opacity-pulsate-cc2f5ae8 {
1536
1541
  0%,
1537
1542
  100% {
1538
1543
  opacity: 0.2;
@@ -1541,7 +1546,7 @@ body > .os-scrollbar {
1541
1546
  opacity: 1;
1542
1547
  }
1543
1548
  }
1544
- @keyframes opacity-pulsate-094eaef1 {
1549
+ @keyframes opacity-pulsate-cc2f5ae8 {
1545
1550
  0%,
1546
1551
  100% {
1547
1552
  opacity: 0.2;
@@ -1550,7 +1555,7 @@ body > .os-scrollbar {
1550
1555
  opacity: 1;
1551
1556
  }
1552
1557
  }
1553
- @keyframes opacity-pulsate-094eaef1 {
1558
+ @keyframes opacity-pulsate-cc2f5ae8 {
1554
1559
  0%,
1555
1560
  100% {
1556
1561
  opacity: 0.2;
@@ -1559,7 +1564,7 @@ body > .os-scrollbar {
1559
1564
  opacity: 1;
1560
1565
  }
1561
1566
  }
1562
- @keyframes wave-094eaef1 {
1567
+ @keyframes wave-cc2f5ae8 {
1563
1568
  0%,
1564
1569
  50%,
1565
1570
  100% {
@@ -1 +1 @@
1
- {"version":3,"file":"custom_link.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/custom_link/custom_link.js"],"names":[],"mappings":"AAsBA,wCAwBG;qBAlCI,cAAc"}
1
+ {"version":3,"file":"custom_link.d.ts","sourceRoot":"","sources":["../../../../../../components/rich_text_editor/extensions/custom_link/custom_link.js"],"names":[],"mappings":"AAsBA,wCAuBG;qBAjCI,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"mention_suggestion.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/mention_suggestion.js"],"names":[],"mappings":";IA6CE;;;;;;SAMC"}
1
+ {"version":3,"file":"mention_suggestion.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/mention_suggestion.js"],"names":[],"mappings":";IAuDE;;;;;;SAMC"}
@@ -22,7 +22,8 @@ declare const _default: import("vue").DefineComponent<{
22
22
  default: boolean;
23
23
  };
24
24
  /**
25
- * Whether the input allows for line breaks to be introduced in the text.
25
+ * Whether the input allows for line breaks to be introduced in the text by pressing enter. If this is disabled,
26
+ * line breaks can still be entered by pressing shift+enter.
26
27
  */
27
28
  allowLineBreaks: {
28
29
  type: BooleanConstructor;
@@ -256,7 +257,8 @@ declare const _default: import("vue").DefineComponent<{
256
257
  default: boolean;
257
258
  };
258
259
  /**
259
- * Whether the input allows for line breaks to be introduced in the text.
260
+ * Whether the input allows for line breaks to be introduced in the text by pressing enter. If this is disabled,
261
+ * line breaks can still be entered by pressing shift+enter.
260
262
  */
261
263
  allowLineBreaks: {
262
264
  type: BooleanConstructor;
@@ -1 +1 @@
1
- {"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue.js"],"names":[],"mappings":";IA4CI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;OAaG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;IAsQH;;;OAGG;;;;;;;IA/eH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;OAaG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
1
+ {"version":3,"file":"rich_text_editor.vue.d.ts","sourceRoot":"","sources":["../../../../components/rich_text_editor/rich_text_editor.vue.js"],"names":[],"mappings":";IA4CI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;OAaG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;IAgQH;;;OAGG;;;;;;;IA1eH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;IAYH;;;;;OAKG;;;;;;IASH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;OAUG;;;;;IAMH;;;;;;;;;;;;;OAaG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;MAEE;;;;;IAMF;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
@@ -1,5 +1,5 @@
1
1
  export function directionPropType(value: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
2
2
  export function getDefaultDirectionClass(direction: any): string | null;
3
- export function getResponsiveClasses(direction: any): (string | null)[] | null;
4
- export function getGapClass(gap: any): string | null;
3
+ export function getResponsiveClasses(direction: any, gap: any): (string | null)[];
4
+ export function getDefaultGapClass(gap: any): string | null;
5
5
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../components/stack/utils.js"],"names":[],"mappings":"AAgBA,2IAEC;AAED,wEAIC;AAED,+EASC;AAED,qDAEC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../components/stack/utils.js"],"names":[],"mappings":"AAwBA,2IAEC;AAED,wEAIC;AAwBD,kFAKC;AAED,4DAGC"}
@@ -1,3 +1,3 @@
1
1
  export function directionValidator(direction: any): boolean | null;
2
- export function gapValidator(gap: any): boolean;
2
+ export function gapValidator(gap: any): boolean | undefined;
3
3
  //# sourceMappingURL=validators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../components/stack/validators.js"],"names":[],"mappings":"AAGA,mEAQC;AAED,gDAEC"}
1
+ {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../components/stack/validators.js"],"names":[],"mappings":"AAGA,mEAQC;AAED,4DASC"}
@@ -268,7 +268,7 @@ declare const _default: import("vue").DefineComponent<{
268
268
  };
269
269
  emojiPickerHovered(): boolean;
270
270
  }, {
271
- onDrag(e: any): void;
271
+ onMousedown(e: any): void;
272
272
  onDrop(e: any): void;
273
273
  onPaste(e: any): void;
274
274
  onSkinTone(skinTone: any): void;
@@ -20,6 +20,13 @@ declare const _default: import("vue").DefineComponent<{
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
+ /**
24
+ * Making this true will hide the unread count badge, the chevron button, and the right slot
25
+ */
26
+ hideActions: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
23
30
  /**
24
31
  * Number of unread messages
25
32
  */
@@ -70,6 +77,13 @@ declare const _default: import("vue").DefineComponent<{
70
77
  type: BooleanConstructor;
71
78
  default: boolean;
72
79
  };
80
+ /**
81
+ * Making this true will hide the unread count badge, the chevron button, and the right slot
82
+ */
83
+ hideActions: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
73
87
  /**
74
88
  * Number of unread messages
75
89
  */
@@ -90,6 +104,7 @@ declare const _default: import("vue").DefineComponent<{
90
104
  }, {
91
105
  ariaLabel: string;
92
106
  selected: boolean;
107
+ hideActions: boolean;
93
108
  unreadCount: number;
94
109
  }, {}>;
95
110
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"contact_centers_row.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/leftbar/contact_centers_row/contact_centers_row.vue.js"],"names":[],"mappings":";IAuBI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;IAlCH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
1
+ {"version":3,"file":"contact_centers_row.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/leftbar/contact_centers_row/contact_centers_row.vue.js"],"names":[],"mappings":";IAuBI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;IA1CH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone",
3
- "version": "9.64.1",
3
+ "version": "9.65.1",
4
4
  "description": "Dialpad's Dialtone design system monorepo",
5
5
  "type": "module",
6
6
  "files": [
@@ -70,7 +70,7 @@
70
70
  "stylelint": "15.11.0",
71
71
  "tippy.js": "6.3.7",
72
72
  "@dialpad/dialtone-emojis": "1.0.7",
73
- "@dialpad/dialtone-tokens": "1.34.0",
73
+ "@dialpad/dialtone-tokens": "1.34.1",
74
74
  "@dialpad/dialtone-icons": "4.26.1"
75
75
  },
76
76
  "devDependencies": {