@dialpad/dialtone 9.65.1 → 9.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +17 -0
  2. package/dist/tokens/doc.json +9436 -9436
  3. package/dist/vue2/component-documentation.json +1 -1
  4. package/dist/vue2/lib/contact-info.cjs +9 -2
  5. package/dist/vue2/lib/contact-info.cjs.map +1 -1
  6. package/dist/vue2/lib/contact-info.js +9 -2
  7. package/dist/vue2/lib/contact-info.js.map +1 -1
  8. package/dist/vue2/lib/image-viewer.cjs +11 -1
  9. package/dist/vue2/lib/image-viewer.cjs.map +1 -1
  10. package/dist/vue2/lib/image-viewer.js +11 -1
  11. package/dist/vue2/lib/image-viewer.js.map +1 -1
  12. package/dist/vue2/lib/input.cjs +8 -2
  13. package/dist/vue2/lib/input.cjs.map +1 -1
  14. package/dist/vue2/lib/input.js +8 -2
  15. package/dist/vue2/lib/input.js.map +1 -1
  16. package/dist/vue2/lib/scrollbar-directive.cjs +422 -388
  17. package/dist/vue2/lib/scrollbar-directive.cjs.map +1 -1
  18. package/dist/vue2/lib/scrollbar-directive.js +422 -388
  19. package/dist/vue2/lib/scrollbar-directive.js.map +1 -1
  20. package/dist/vue2/style.css +9 -9
  21. package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts +21 -0
  22. package/dist/vue2/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  23. package/dist/vue2/types/components/input/input.vue.d.ts +2 -1
  24. package/dist/vue2/types/components/input/input.vue.d.ts.map +1 -1
  25. package/dist/vue2/types/recipes/item_layout/contact_info/contact_info.vue.d.ts +15 -0
  26. package/dist/vue2/types/recipes/item_layout/contact_info/contact_info.vue.d.ts.map +1 -1
  27. package/dist/vue3/component-documentation.json +1 -1
  28. package/dist/vue3/lib/contact-info.cjs +10 -2
  29. package/dist/vue3/lib/contact-info.cjs.map +1 -1
  30. package/dist/vue3/lib/contact-info.js +10 -2
  31. package/dist/vue3/lib/contact-info.js.map +1 -1
  32. package/dist/vue3/lib/image-viewer.cjs +12 -2
  33. package/dist/vue3/lib/image-viewer.cjs.map +1 -1
  34. package/dist/vue3/lib/image-viewer.js +12 -2
  35. package/dist/vue3/lib/image-viewer.js.map +1 -1
  36. package/dist/vue3/lib/input.cjs +11 -2
  37. package/dist/vue3/lib/input.cjs.map +1 -1
  38. package/dist/vue3/lib/input.js +11 -2
  39. package/dist/vue3/lib/input.js.map +1 -1
  40. package/dist/vue3/lib/scrollbar-directive.cjs +422 -388
  41. package/dist/vue3/lib/scrollbar-directive.cjs.map +1 -1
  42. package/dist/vue3/lib/scrollbar-directive.js +422 -388
  43. package/dist/vue3/lib/scrollbar-directive.js.map +1 -1
  44. package/dist/vue3/style.css +9 -9
  45. package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts +21 -0
  46. package/dist/vue3/types/components/image_viewer/image_viewer.vue.d.ts.map +1 -1
  47. package/dist/vue3/types/components/input/input.vue.d.ts +2 -1
  48. package/dist/vue3/types/components/input/input.vue.d.ts.map +1 -1
  49. package/dist/vue3/types/recipes/item_layout/contact_info/contact_info.vue.d.ts +15 -0
  50. package/dist/vue3/types/recipes/item_layout/contact_info/contact_info.vue.d.ts.map +1 -1
  51. package/package.json +4 -3
@@ -273,7 +273,7 @@
273
273
  }
274
274
  /*!
275
275
  * OverlayScrollbars
276
- * Version: 2.9.1
276
+ * Version: 2.10.0
277
277
  *
278
278
  * Copyright (c) Rene Haas | KingSora.
279
279
  * https://github.com/KingSora
@@ -1666,20 +1666,20 @@ body > .os-scrollbar {
1666
1666
  .dt-recipe-callbox .dt-recipe-callbox-badge--warning[data-v-ef08f46e] {
1667
1667
  background-color: var(--dt-color-surface-warning);
1668
1668
  }
1669
- .dt-contact-info[data-v-a3c913d1] {
1669
+ .dt-contact-info[data-v-7b60b2d6] {
1670
1670
  --contact-info-avatar-border-color: var(--dt-color-surface-primary);
1671
1671
  display: flex;
1672
1672
  }
1673
- .dt-contact-info[data-v-a3c913d1] .dt-item-layout {
1673
+ .dt-contact-info[data-v-7b60b2d6] .dt-item-layout {
1674
1674
  flex: 1 1 0;
1675
1675
  }
1676
- .dt-contact-info[data-v-a3c913d1] .dt-item-layout--content {
1676
+ .dt-contact-info[data-v-7b60b2d6] .dt-item-layout--content {
1677
1677
  /*
1678
1678
  DP-74536: Add `min-width` to make the width of "contact info" adjustable.
1679
1679
  */
1680
1680
  min-width: var(--dt-space-825);
1681
1681
  }
1682
- .dt-contact-info[data-v-a3c913d1] .dt-item-layout--left {
1682
+ .dt-contact-info[data-v-7b60b2d6] .dt-item-layout--left {
1683
1683
  /*
1684
1684
  DP-74536: To make 'Avatar' in fixed position when resizing the window.
1685
1685
  */
@@ -1687,26 +1687,26 @@ body > .os-scrollbar {
1687
1687
  justify-content: flex-start;
1688
1688
  align-items: center;
1689
1689
  }
1690
- .dt-contact-info[data-v-a3c913d1] .dt-item-layout--right {
1690
+ .dt-contact-info[data-v-7b60b2d6] .dt-item-layout--right {
1691
1691
  /*
1692
1692
  DP-74536: Remove `min-width` which cause extra unused empty space on the right of "contact info".
1693
1693
  */
1694
1694
  min-width: 0;
1695
1695
  align-items: center;
1696
1696
  }
1697
- .dt-contact-info__left[data-v-a3c913d1] {
1697
+ .dt-contact-info__left[data-v-7b60b2d6] {
1698
1698
  position: relative;
1699
1699
  background-color: transparent;
1700
1700
  background-image: none;
1701
1701
  border-width: 0;
1702
1702
  cursor: pointer;
1703
1703
  }
1704
- .dt-contact-info--avatars[data-v-a3c913d1] {
1704
+ .dt-contact-info--avatars[data-v-7b60b2d6] {
1705
1705
  margin-right: var(--dt-space-300-negative);
1706
1706
  display: flex;
1707
1707
  flex-direction: row;
1708
1708
  }
1709
- .dt-contact-info--avatars .d-avatar[data-v-a3c913d1] {
1709
+ .dt-contact-info--avatars .d-avatar[data-v-7b60b2d6] {
1710
1710
  border-radius: var(--dt-size-radius-pill);
1711
1711
  border: var(--dt-size-300) solid var(--contact-info-avatar-border-color);
1712
1712
  box-sizing: unset;
@@ -1,4 +1,14 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
+ /**
3
+ * By default the portal appends to the body of the root parent. We can modify
4
+ * this behaviour by passing an appendTo prop that points to an id or an html tag from the root of the parent.
5
+ * The appendTo prop expects a CSS selector string or an actual DOM node.
6
+ * type: string | HTMLElement, default: 'body'
7
+ */
8
+ appendTo: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
2
12
  /**
3
13
  * Controls whether the image modal is shown. Leaving this null will have the image modal
4
14
  * trigger on click by default.
@@ -69,6 +79,16 @@ declare const _default: import("vue").DefineComponent<{
69
79
  focusTrappedTabPress(e: object, el: object): void;
70
80
  };
71
81
  }, import("vue").ComponentOptionsMixin, ("update:open" | "opened")[], "update:open" | "opened", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
82
+ /**
83
+ * By default the portal appends to the body of the root parent. We can modify
84
+ * this behaviour by passing an appendTo prop that points to an id or an html tag from the root of the parent.
85
+ * The appendTo prop expects a CSS selector string or an actual DOM node.
86
+ * type: string | HTMLElement, default: 'body'
87
+ */
88
+ appendTo: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
72
92
  /**
73
93
  * Controls whether the image modal is shown. Leaving this null will have the image modal
74
94
  * trigger on click by default.
@@ -121,6 +141,7 @@ declare const _default: import("vue").DefineComponent<{
121
141
  onOpened?: ((...args: any[]) => any) | undefined;
122
142
  }, {
123
143
  open: boolean;
144
+ appendTo: string;
124
145
  imageButtonClass: string;
125
146
  }, {}>;
126
147
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"image_viewer.vue.d.ts","sourceRoot":"","sources":["../../../../components/image_viewer/image_viewer.vue.js"],"names":[],"mappings":";IAkBI;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA/CH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG"}
1
+ {"version":3,"file":"image_viewer.vue.d.ts","sourceRoot":"","sources":["../../../../components/image_viewer/image_viewer.vue.js"],"names":[],"mappings":";IAkBI;;;;;MAKE;;;;;IAKF;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAzDH;;;;;MAKE;;;;;IAKF;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG"}
@@ -164,12 +164,13 @@ declare const _default: import("vue").DefineComponent<{
164
164
  type: string | null;
165
165
  };
166
166
  onBlur(e: any): void;
167
- clear(): void;
167
+ emitClearEvents(): void;
168
168
  blur(): void;
169
169
  focus(): void;
170
170
  select(): void;
171
171
  getMessageKey(type: any, index: any): string;
172
172
  validateLength(length: any): void;
173
+ clearInput(): void;
173
174
  }, {
174
175
  props: {
175
176
  messagesClass: {
@@ -1 +1 @@
1
- {"version":3,"file":"input.vue.d.ts","sourceRoot":"","sources":["../../../../components/input/input.vue.js"],"names":[],"mappings":";IAsCI;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IAOH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;;OAIG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA5HH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IAOH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;;OAIG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAjJA,gBAAgB"}
1
+ {"version":3,"file":"input.vue.d.ts","sourceRoot":"","sources":["../../../../components/input/input.vue.js"],"names":[],"mappings":";IAsCI;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IAOH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;;OAIG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA5HH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;;IAOH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;;OAIG;;;;;IAMH;;;;OAIG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;OAEG;;;;;IAMH;;;;OAIG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAjJA,gBAAgB"}
@@ -57,6 +57,13 @@ declare const _default: import("vue").DefineComponent<{
57
57
  type: StringConstructor;
58
58
  default: string;
59
59
  };
60
+ /**
61
+ * Avatar color to display if `avatarSrc` is empty.
62
+ */
63
+ avatarColor: {
64
+ type: StringConstructor;
65
+ default: null;
66
+ };
60
67
  /**
61
68
  * Determines whether to show the presence indicator for
62
69
  * Avatar - accepts PRESENCE_STATES values: 'busy', 'away', 'offline',
@@ -143,6 +150,13 @@ declare const _default: import("vue").DefineComponent<{
143
150
  type: StringConstructor;
144
151
  default: string;
145
152
  };
153
+ /**
154
+ * Avatar color to display if `avatarSrc` is empty.
155
+ */
156
+ avatarColor: {
157
+ type: StringConstructor;
158
+ default: null;
159
+ };
146
160
  /**
147
161
  * Determines whether to show the presence indicator for
148
162
  * Avatar - accepts PRESENCE_STATES values: 'busy', 'away', 'offline',
@@ -180,6 +194,7 @@ declare const _default: import("vue").DefineComponent<{
180
194
  avatarIcon: string;
181
195
  avatarSize: string;
182
196
  avatarLabelledBy: string;
197
+ avatarColor: string;
183
198
  avatarList: unknown[];
184
199
  }, {}>;
185
200
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"contact_info.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/item_layout/contact_info/contact_info.vue.js"],"names":[],"mappings":";IAoBI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;;;IAvFH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;;;;;;OAUG"}
1
+ {"version":3,"file":"contact_info.vue.d.ts","sourceRoot":"","sources":["../../../../../recipes/item_layout/contact_info/contact_info.vue.js"],"names":[],"mappings":";IAoBI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;;;;;;OAUG;;;;;;;;IA/FH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;;;;;;OAUG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone",
3
- "version": "9.65.1",
3
+ "version": "9.67.0",
4
4
  "description": "Dialpad's Dialtone design system monorepo",
5
5
  "type": "module",
6
6
  "files": [
@@ -66,12 +66,13 @@
66
66
  "docopt": "0.6.2",
67
67
  "emoji-regex": "10.3.0",
68
68
  "emoji-toolkit": "8.0.0",
69
+ "overlayscrollbars": "2.10.0",
69
70
  "requireindex": "1.2.0",
70
71
  "stylelint": "15.11.0",
71
72
  "tippy.js": "6.3.7",
72
73
  "@dialpad/dialtone-emojis": "1.0.7",
73
- "@dialpad/dialtone-tokens": "1.34.1",
74
- "@dialpad/dialtone-icons": "4.26.1"
74
+ "@dialpad/dialtone-icons": "4.26.3",
75
+ "@dialpad/dialtone-tokens": "1.34.1"
75
76
  },
76
77
  "devDependencies": {
77
78
  "@commitlint/cli": "^18.4.3",