@dialpad/dialtone-vue 2.103.1 → 2.104.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 (46) hide show
  1. package/CHANGELOG.json +1 -1
  2. package/CHANGELOG.md +24 -0
  3. package/dist/component-documentation.json +1 -1
  4. package/dist/dialtone-vue.cjs +6 -6
  5. package/dist/dialtone-vue.js +1848 -3465
  6. package/dist/directives.cjs +1 -1
  7. package/dist/directives.js +4 -3
  8. package/dist/emoji-098966fd.js +911 -0
  9. package/dist/emoji-d5a5af5e.cjs +1 -0
  10. package/dist/emoji.cjs +1 -1
  11. package/dist/emoji.js +26 -24
  12. package/dist/style.css +1 -1
  13. package/dist/tooltip-da61b649.cjs +1 -0
  14. package/dist/tooltip-fceff4af.js +706 -0
  15. package/dist/types/common/storybook_utils.d.ts.map +1 -1
  16. package/dist/types/components/avatar/avatar.vue.d.ts +1 -1
  17. package/dist/types/components/button/button.vue.d.ts +1 -1
  18. package/dist/types/components/chip/chip.vue.d.ts +1 -1
  19. package/dist/types/components/description_list/description_list.vue.d.ts +98 -0
  20. package/dist/types/components/description_list/description_list.vue.d.ts.map +1 -0
  21. package/dist/types/components/description_list/description_list_constants.d.ts +2 -0
  22. package/dist/types/components/description_list/description_list_constants.d.ts.map +1 -0
  23. package/dist/types/components/description_list/description_list_validators.d.ts +2 -0
  24. package/dist/types/components/description_list/description_list_validators.d.ts.map +1 -0
  25. package/dist/types/components/description_list/index.d.ts +3 -0
  26. package/dist/types/components/description_list/index.d.ts.map +1 -0
  27. package/dist/types/components/icon/icon.vue.d.ts +16 -2
  28. package/dist/types/components/icon/icon.vue.d.ts.map +1 -1
  29. package/dist/types/components/icon/icon_constants.d.ts +0 -2
  30. package/dist/types/components/icon/icon_constants.d.ts.map +1 -1
  31. package/dist/types/components/input/input.vue.d.ts +1 -1
  32. package/dist/types/components/modal/modal.vue.d.ts +1 -1
  33. package/dist/types/components/root_layout/root_layout.vue.d.ts +2 -2
  34. package/dist/types/components/toast/toast.vue.d.ts +1 -1
  35. package/dist/types/components/tooltip/tooltip.vue.d.ts +2 -2
  36. package/dist/types/components/tooltip/tooltip_variants.vue.d.ts +1 -1
  37. package/dist/types/index.d.ts +1 -0
  38. package/dist/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts +1 -1
  39. package/dist/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts +1 -1
  40. package/package.json +8 -4
  41. package/dist/emoji-9ef04a92.cjs +0 -1
  42. package/dist/emoji-efd28b85.js +0 -58697
  43. package/dist/tooltip-92c086de.js +0 -2544
  44. package/dist/tooltip-9b93ec5a.cjs +0 -25
  45. package/dist/types/components/plugins/fixDefaultSlot.d.ts +0 -5
  46. package/dist/types/components/plugins/fixDefaultSlot.d.ts.map +0 -1
@@ -348,7 +348,6 @@ declare const _default: import("vue").DefineComponent<{
348
348
  color: string;
349
349
  size: string;
350
350
  iconSize: string;
351
- iconName: string;
352
351
  fullName: string;
353
352
  imageSrc: string;
354
353
  seed: string;
@@ -361,6 +360,7 @@ declare const _default: import("vue").DefineComponent<{
361
360
  overlayText: string;
362
361
  overlayClass: string | Record<string, any> | unknown[];
363
362
  imageAlt: string;
363
+ iconName: string;
364
364
  clickable: boolean;
365
365
  }>;
366
366
  export default _default;
@@ -302,6 +302,7 @@ declare const _default: import("vue").DefineComponent<{
302
302
  type: string;
303
303
  circle: boolean;
304
304
  size: string;
305
+ loading: boolean;
305
306
  width: string;
306
307
  kind: string;
307
308
  labelClass: string | Record<string, any> | unknown[];
@@ -309,7 +310,6 @@ declare const _default: import("vue").DefineComponent<{
309
310
  importance: string;
310
311
  linkKind: string;
311
312
  disabled: boolean;
312
- loading: boolean;
313
313
  assertiveOnFocus: boolean;
314
314
  }>;
315
315
  export default _default;
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
76
76
  chipClasses(): any[];
77
77
  chipCloseButtonClasses(): any[];
78
78
  onClose(): void;
79
- }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("click" | "close" | "keyup")[], string, Readonly<import("vue").ExtractPropTypes<{
79
+ }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("close" | "click" | "keyup")[], string, Readonly<import("vue").ExtractPropTypes<{
80
80
  /**
81
81
  * A set of props to be passed into the modal's close button. Requires an 'ariaLabel' property.
82
82
  */
@@ -0,0 +1,98 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ /**
3
+ * The direction for the list
4
+ * @values row, column
5
+ */
6
+ direction: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ validator: (direction: unknown) => boolean;
10
+ };
11
+ /**
12
+ * A list of items that represent the term and the description
13
+ */
14
+ items: {
15
+ type: ArrayConstructor;
16
+ default: () => never[];
17
+ validator: (items: unknown) => boolean;
18
+ required: true;
19
+ };
20
+ /**
21
+ * Set the space between the elements
22
+ * @values 0, 100, 200, 300, 400, 500, 600
23
+ */
24
+ gap: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ validator: (gap: unknown) => boolean;
28
+ };
29
+ /**
30
+ * Used to customize the term element
31
+ */
32
+ termClass: {
33
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
34
+ default: string;
35
+ };
36
+ /**
37
+ * Used to customize the description element
38
+ */
39
+ descriptionClass: {
40
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
41
+ default: string;
42
+ };
43
+ }, {}, {}, {
44
+ dtClass(): any[];
45
+ ddClass(): any[];
46
+ getDirectionClass(): string;
47
+ getGapClass(): string;
48
+ }, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
49
+ /**
50
+ * The direction for the list
51
+ * @values row, column
52
+ */
53
+ direction: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ validator: (direction: unknown) => boolean;
57
+ };
58
+ /**
59
+ * A list of items that represent the term and the description
60
+ */
61
+ items: {
62
+ type: ArrayConstructor;
63
+ default: () => never[];
64
+ validator: (items: unknown) => boolean;
65
+ required: true;
66
+ };
67
+ /**
68
+ * Set the space between the elements
69
+ * @values 0, 100, 200, 300, 400, 500, 600
70
+ */
71
+ gap: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ validator: (gap: unknown) => boolean;
75
+ };
76
+ /**
77
+ * Used to customize the term element
78
+ */
79
+ termClass: {
80
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
81
+ default: string;
82
+ };
83
+ /**
84
+ * Used to customize the description element
85
+ */
86
+ descriptionClass: {
87
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
88
+ default: string;
89
+ };
90
+ }>>, {
91
+ direction: string;
92
+ items: unknown[];
93
+ gap: string;
94
+ termClass: string | Record<string, any> | unknown[];
95
+ descriptionClass: string | Record<string, any> | unknown[];
96
+ }>;
97
+ export default _default;
98
+ //# sourceMappingURL=description_list.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description_list.vue.d.ts","sourceRoot":"","sources":["../../../../components/description_list/description_list.vue.js"],"names":[],"mappings":";IAUI;;;OAGG;;;;;;IAOH;;OAEG;;;;;;;IAQH;;;OAGG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;IAxCH;;;OAGG;;;;;;IAOH;;OAEG;;;;;;;IAQH;;;OAGG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG"}
@@ -0,0 +1,2 @@
1
+ export const DT_DESCRIPTION_LIST_DIRECTION: string[];
2
+ //# sourceMappingURL=description_list_constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description_list_constants.d.ts","sourceRoot":"","sources":["../../../../components/description_list/description_list_constants.js"],"names":[],"mappings":"AAAA,qDAA+D"}
@@ -0,0 +1,2 @@
1
+ export function itemsValidator(items: any): boolean;
2
+ //# sourceMappingURL=description_list_validators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"description_list_validators.d.ts","sourceRoot":"","sources":["../../../../components/description_list/description_list_validators.js"],"names":[],"mappings":"AAgBO,oDAoBN"}
@@ -0,0 +1,3 @@
1
+ export { default as DtDescriptionList } from "./description_list.vue";
2
+ export { DT_DESCRIPTION_LIST_DIRECTION } from "./description_list_constants";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/description_list/index.js"],"names":[],"mappings":""}
@@ -1,4 +1,11 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
+ /**
3
+ * DtIcon identifier
4
+ */
5
+ id: {
6
+ type: StringConstructor;
7
+ default(): string;
8
+ };
2
9
  /**
3
10
  * The size of the icon.
4
11
  * @values 100, 200, 300, 400, 500, 600, 700, 800
@@ -24,9 +31,15 @@ declare const _default: import("vue").DefineComponent<{
24
31
  };
25
32
  }, {}, {}, {
26
33
  iconSize(): any;
27
- iconName(): string;
28
- currentIcon(): any;
34
+ icon(): import("vue").AsyncComponent;
29
35
  }, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
36
+ /**
37
+ * DtIcon identifier
38
+ */
39
+ id: {
40
+ type: StringConstructor;
41
+ default(): string;
42
+ };
30
43
  /**
31
44
  * The size of the icon.
32
45
  * @values 100, 200, 300, 400, 500, 600, 700, 800
@@ -51,6 +64,7 @@ declare const _default: import("vue").DefineComponent<{
51
64
  default: undefined;
52
65
  };
53
66
  }>>, {
67
+ id: string;
54
68
  size: string;
55
69
  ariaLabel: string;
56
70
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"icon.vue.d.ts","sourceRoot":"","sources":["../../../../components/icon/icon.vue.js"],"names":[],"mappings":";IAaI;;;OAGG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;IApBH;;;OAGG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG"}
1
+ {"version":3,"file":"icon.vue.d.ts","sourceRoot":"","sources":["../../../../components/icon/icon.vue.js"],"names":[],"mappings":";IAcI;;OAEG;;;;;IAQH;;;OAGG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;IA9BH;;OAEG;;;;;IAQH;;;OAGG;;;;;;IAOH;;OAEG;;;;;IAMH;;OAEG"}
@@ -8,10 +8,8 @@ export const ICON_SIZE_MODIFIERS: {
8
8
  700: string;
9
9
  800: string;
10
10
  };
11
- export const DIALTONE_ICONS: any;
12
11
  declare namespace _default {
13
12
  export { ICON_SIZE_MODIFIERS };
14
- export { DIALTONE_ICONS };
15
13
  }
16
14
  export default _default;
17
15
  //# sourceMappingURL=icon_constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon_constants.d.ts","sourceRoot":"","sources":["../../../../components/icon/icon_constants.js"],"names":[],"mappings":"AACA;;;;;;;;;EASE;AACF,iCAA4C"}
1
+ {"version":3,"file":"icon_constants.d.ts","sourceRoot":"","sources":["../../../../components/icon/icon_constants.js"],"names":[],"mappings":"AAAA;;;;;;;;;EASE"}
@@ -205,7 +205,7 @@ declare const _default: import("vue").DefineComponent<{
205
205
  computed: {
206
206
  formattedMessages(): any;
207
207
  };
208
- }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "focusin" | "focusout" | "clear" | "focus" | "blur" | "update:length" | "update:invalid")[], string, Readonly<import("vue").ExtractPropTypes<{
208
+ }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, ("input" | "focus" | "focusin" | "focusout" | "clear" | "blur" | "update:length" | "update:invalid")[], string, Readonly<import("vue").ExtractPropTypes<{
209
209
  /**
210
210
  * Name property of the input element
211
211
  */
@@ -398,6 +398,7 @@ declare const _default: import("vue").DefineComponent<{
398
398
  }>>, {
399
399
  title: string;
400
400
  size: string;
401
+ copy: string;
401
402
  kind: string;
402
403
  hideClose: boolean;
403
404
  dialogClass: string | Record<string, any> | unknown[];
@@ -405,7 +406,6 @@ declare const _default: import("vue").DefineComponent<{
405
406
  contentClass: string | Record<string, any> | unknown[];
406
407
  show: boolean;
407
408
  initialFocusElement: string | HTMLElement;
408
- copy: string;
409
409
  describedById: string;
410
410
  labelledById: string;
411
411
  bannerTitle: string;
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
45
45
  default: string;
46
46
  };
47
47
  /**
48
- * DEPRECATED: set the min-width of the inner element instead.
48
+ * DEPRECATED: set the width of the inner element instead.
49
49
  */
50
50
  sidebarWidth: {
51
51
  type: StringConstructor;
@@ -133,7 +133,7 @@ declare const _default: import("vue").DefineComponent<{
133
133
  default: string;
134
134
  };
135
135
  /**
136
- * DEPRECATED: set the min-width of the inner element instead.
136
+ * DEPRECATED: set the width of the inner element instead.
137
137
  */
138
138
  sidebarWidth: {
139
139
  type: StringConstructor;
@@ -224,13 +224,13 @@ declare const _default: import("vue").DefineComponent<{
224
224
  }>>, {
225
225
  title: string;
226
226
  role: string;
227
+ message: string;
227
228
  kind: string;
228
229
  titleId: string;
229
230
  contentId: string;
230
231
  closeButtonProps: Record<string, any>;
231
232
  hideClose: boolean;
232
233
  important: boolean;
233
- message: string;
234
234
  show: boolean;
235
235
  duration: number;
236
236
  }>;
@@ -406,14 +406,14 @@ declare const _default: import("vue").DefineComponent<{
406
406
  };
407
407
  }>>, {
408
408
  id: string;
409
+ delay: boolean;
410
+ message: string;
409
411
  transition: string;
410
412
  inverted: boolean;
411
413
  contentClass: string | Record<string, any> | unknown[];
412
- message: string;
413
414
  show: boolean;
414
415
  offset: unknown[];
415
416
  fallbackPlacements: unknown[];
416
- delay: boolean;
417
417
  placement: string;
418
418
  sticky: string | boolean;
419
419
  enabled: boolean;
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, any, {
2
2
  TOOLTIP_DIRECTIONS: any[];
3
3
  localMessage: string;
4
- show1: any;
4
+ show1: string;
5
5
  }, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
6
6
  export default _default;
7
7
  //# sourceMappingURL=tooltip_variants.vue.d.ts.map
@@ -8,6 +8,7 @@ export * from "./components/card";
8
8
  export * from "./components/codeblock";
9
9
  export * from "./components/combobox";
10
10
  export * from "./components/collapsible";
11
+ export * from "./components/description_list";
11
12
  export * from "./components/dropdown";
12
13
  export * from "./components/image_viewer";
13
14
  export * from "./components/input";
@@ -343,8 +343,8 @@ declare const _default: import("vue").DefineComponent<{
343
343
  description: string;
344
344
  placeholder: string;
345
345
  size: string;
346
- transition: string;
347
346
  loading: boolean;
347
+ transition: string;
348
348
  showList: boolean;
349
349
  labelVisible: boolean;
350
350
  appendTo: string | HTMLElement;
@@ -400,8 +400,8 @@ declare const _default: import("vue").DefineComponent<{
400
400
  }>>, {
401
401
  description: string;
402
402
  size: string;
403
- transition: string;
404
403
  loading: boolean;
404
+ transition: string;
405
405
  maxHeight: string;
406
406
  maxWidth: string;
407
407
  showList: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone-vue",
3
- "version": "2.103.1",
3
+ "version": "2.104.0",
4
4
  "description": "Vue component library for Dialpad's design system Dialtone",
5
5
  "scripts": {
6
6
  "build": "run-s clean build:main build:typescript build:documentation",
@@ -35,7 +35,6 @@
35
35
  "CHANGELOG.json"
36
36
  ],
37
37
  "dependencies": {
38
- "@dialpad/dialtone-icons": "^2.4.0",
39
38
  "@linusborg/vue-simple-portal": "^0.1.5",
40
39
  "@tiptap/extension-document": "^2.0.3",
41
40
  "@tiptap/extension-paragraph": "^2.0.3",
@@ -52,10 +51,12 @@
52
51
  "@commitlint/cli": "^17.6.6",
53
52
  "@commitlint/config-conventional": "^17.6.6",
54
53
  "@dialpad/conventional-changelog-angular": "^1.1.1",
55
- "@dialpad/dialtone": "^8.21.2",
54
+ "@dialpad/dialtone": "^8.21.3",
55
+ "@dialpad/dialtone-icons": "^4.1.0",
56
56
  "@dialpad/semantic-release-changelog-json": "^1.0.0",
57
- "@percy/cli": "^1.27.3",
57
+ "@percy/cli": "^1.27.4",
58
58
  "@percy/storybook": "^4.3.7",
59
+ "@rollup/plugin-node-resolve": "^15.2.3",
59
60
  "@semantic-release/changelog": "^6.0.3",
60
61
  "@semantic-release/git": "^10.0.1",
61
62
  "@storybook/addon-a11y": "^7.4.6",
@@ -101,9 +102,11 @@
101
102
  "source-map-support": "^0.5.21",
102
103
  "storybook": "^7.4.6",
103
104
  "storybook-dark-mode": "^3.0.1",
105
+ "string-hash": "^1.1.3",
104
106
  "typedoc": "^0.25.2",
105
107
  "typedoc-plugin-markdown": "^3.16.0",
106
108
  "vite": "^4.4.9",
109
+ "vite-plugin-vue2-svg": "^0.4.0",
107
110
  "vitest": "^0.34.5",
108
111
  "vue": "^2.7.14",
109
112
  "vue-cli-plugin-webpack-bundle-analyzer": "~4.0.0",
@@ -114,6 +117,7 @@
114
117
  },
115
118
  "peerDependencies": {
116
119
  "@dialpad/dialtone": "^7.30.0 || ^8.21.2",
120
+ "@dialpad/dialtone-icons": "^4.1.0",
117
121
  "vue": ">=2.6"
118
122
  },
119
123
  "bugs": {