@dialpad/dialtone 9.99.0-beta.1 → 9.99.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 (60) hide show
  1. package/dist/css/dialtone-default-theme.css +85 -92
  2. package/dist/css/dialtone-default-theme.min.css +1 -1
  3. package/dist/css/dialtone.css +85 -92
  4. package/dist/css/dialtone.min.css +1 -1
  5. package/dist/tokens/doc.json +9300 -9300
  6. package/dist/vue2/component-documentation.json +1 -1
  7. package/dist/vue2/components/item_layout/item_layout.vue.cjs +1 -63
  8. package/dist/vue2/components/item_layout/item_layout.vue.cjs.map +1 -1
  9. package/dist/vue2/components/item_layout/item_layout.vue.js +1 -63
  10. package/dist/vue2/components/item_layout/item_layout.vue.js.map +1 -1
  11. package/dist/vue2/components/list_item/list_item.vue.cjs +13 -12
  12. package/dist/vue2/components/list_item/list_item.vue.cjs.map +1 -1
  13. package/dist/vue2/components/list_item/list_item.vue.js +13 -12
  14. package/dist/vue2/components/list_item/list_item.vue.js.map +1 -1
  15. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs +1 -1
  16. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.cjs.map +1 -1
  17. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js +1 -1
  18. package/dist/vue2/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.js.map +1 -1
  19. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs +1 -5
  20. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.cjs.map +1 -1
  21. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js +1 -5
  22. package/dist/vue2/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.js.map +1 -1
  23. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs +0 -7
  24. package/dist/vue2/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  25. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js +0 -7
  26. package/dist/vue2/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  27. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs +10 -10
  28. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.cjs.map +1 -1
  29. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js +10 -10
  30. package/dist/vue2/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.js.map +1 -1
  31. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs +4 -2
  32. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.cjs.map +1 -1
  33. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.js +4 -2
  34. package/dist/vue2/recipes/conversation_view/feed_item_row/feed_item_row.vue.js.map +1 -1
  35. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.cjs +4 -4
  36. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.cjs.map +1 -1
  37. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.js +4 -4
  38. package/dist/vue2/recipes/item_layout/contact_info/contact_info.vue.js.map +1 -1
  39. package/dist/vue2/types/components/item_layout/item_layout.vue.d.ts +1 -66
  40. package/dist/vue2/types/components/item_layout/item_layout.vue.d.ts.map +1 -1
  41. package/dist/vue2/types/components/list_item/list_item.vue.d.ts +22 -1
  42. package/dist/vue2/types/components/list_item/list_item.vue.d.ts.map +1 -1
  43. package/dist/vue2/types/recipes/comboboxes/combobox_multi_select/combobox_multi_select.vue.d.ts.map +1 -1
  44. package/dist/vue2/types/recipes/comboboxes/combobox_with_popover/combobox_with_popover.vue.d.ts.map +1 -1
  45. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts +0 -9
  46. package/dist/vue2/types/recipes/conversation_view/feed_item_pill/feed_item_pill.vue.d.ts.map +1 -1
  47. package/dist/vue2/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts.map +1 -1
  48. package/dist/vue2/types/recipes/item_layout/contact_info/contact_info.vue.d.ts.map +1 -1
  49. package/dist/vue3/component-documentation.json +1 -1
  50. package/dist/vue3/components/button/button.vue.cjs +1 -2
  51. package/dist/vue3/components/button/button.vue.cjs.map +1 -1
  52. package/dist/vue3/components/button/button.vue.js +1 -2
  53. package/dist/vue3/components/button/button.vue.js.map +1 -1
  54. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs +0 -7
  55. package/dist/vue3/recipes/conversation_view/editor/editor.vue.cjs.map +1 -1
  56. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js +0 -7
  57. package/dist/vue3/recipes/conversation_view/editor/editor.vue.js.map +1 -1
  58. package/dist/vue3/types/components/button/button.vue.d.ts.map +1 -1
  59. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts +0 -9
  60. package/package.json +2 -6
@@ -811,48 +811,71 @@ template {
811
811
  font-size: var(--dt-font-size-200);
812
812
  line-height: var(--dt-font-line-height-300);
813
813
  }
814
- .d-item-layout > .d-item-layout__content {
814
+ .d-item-layout > .d-item-layout--content {
815
815
  display: flex;
816
816
  flex-direction: column;
817
817
  flex-grow: 1;
818
818
  justify-content: center;
819
819
  min-width: var(--dt-size-0);
820
820
  }
821
- .d-item-layout > .d-item-layout__content > .d-item-layout__subtitle {
821
+ .d-item-layout > .d-item-layout--content > .d-item-layout--subtitle {
822
822
  color: var(--dt-color-foreground-tertiary);
823
823
  font-size: var(--dt-font-size-100);
824
824
  }
825
- .d-item-layout > .d-item-layout__content > .d-item-layout__subtitle-with-title {
825
+ .d-item-layout > .d-item-layout--content > .d-item-layout--subtitle--with-title {
826
826
  margin-top: var(--dt-space-200-negative);
827
827
  }
828
- .d-item-layout > .d-item-layout__content > .d-item-layout__bottom {
828
+ .d-item-layout > .d-item-layout--content > .d-item-layout--bottom {
829
829
  margin-top: var(--dt-space-200);
830
830
  }
831
- .d-item-layout > .d-item-layout__right,
832
- .d-item-layout > .d-item-layout__left {
831
+ .d-item-layout > .d-item-layout--right,
832
+ .d-item-layout > .d-item-layout--left {
833
833
  display: flex;
834
834
  align-items: center;
835
835
  min-width: var(--dt-size-600);
836
836
  min-height: inherit;
837
837
  }
838
- .d-item-layout > .d-item-layout__right {
838
+ .d-item-layout > .d-item-layout--right {
839
839
  flex-shrink: 0;
840
840
  padding-left: var(--dt-space-400);
841
841
  }
842
- .d-item-layout > .d-item-layout__left {
842
+ .d-item-layout > .d-item-layout--left {
843
843
  justify-content: flex-end;
844
844
  padding-right: var(--dt-space-400);
845
845
  }
846
- .d-item-layout > .d-item-layout__selected {
846
+ .d-item-layout > .d-item-layout--selected {
847
847
  display: flex;
848
848
  align-items: center;
849
849
  }
850
850
  .d-item-layout--custom {
851
851
  display: grid;
852
+ grid-template-areas: 'left content right selected';
853
+ grid-template-columns: minmax(0, -webkit-max-content) 1fr minmax(0, -webkit-max-content) minmax(0, -webkit-max-content);
854
+ grid-template-columns: minmax(0, max-content) 1fr minmax(0, max-content) minmax(0, max-content);
852
855
  }
853
- .d-item-layout--custom > .d-item-layout__content {
856
+ .d-item-layout--custom > .d-item-layout--left {
857
+ grid-area: left;
858
+ }
859
+ .d-item-layout--custom > .d-item-layout--right {
860
+ grid-area: right;
861
+ }
862
+ .d-item-layout--custom > .d-item-layout--content {
854
863
  display: grid;
855
- grid-auto-rows: auto;
864
+ grid-area: content;
865
+ grid-template-areas: 'title' 'subtitle' 'bottom';
866
+ grid-template-rows: repeat(auto-fit, minmax(0, auto));
867
+ }
868
+ .d-item-layout--custom > .d-item-layout--content > .d-item-layout--title {
869
+ grid-area: title;
870
+ }
871
+ .d-item-layout--custom > .d-item-layout--content > .d-item-layout--subtitle {
872
+ grid-area: subtitle;
873
+ }
874
+ .d-item-layout--custom > .d-item-layout--content > .d-item-layout--bottom {
875
+ grid-area: bottom;
876
+ }
877
+ .d-item-layout--custom > .d-item-layout--selected {
878
+ grid-area: selected;
856
879
  }
857
880
  .d-avatar {
858
881
  --avatar-color-background: var(--dt-avatar-color-background-000);
@@ -3011,6 +3034,9 @@ legend .d-label--md {
3011
3034
  .d-list-item--highlighted:active {
3012
3035
  background-color: var(--dt-action-color-background-muted-active);
3013
3036
  }
3037
+ .d-list-item--selected-icon {
3038
+ margin-left: var(--dt-space-400);
3039
+ }
3014
3040
  .d-list-item[role="menuitem"] {
3015
3041
  border-radius: var(--dt-size-300);
3016
3042
  }
@@ -3023,29 +3049,6 @@ legend .d-label--md {
3023
3049
  outline: none;
3024
3050
  box-shadow: var(--dt-shadow-focus);
3025
3051
  }
3026
- .d-list-item__wrapper {
3027
- gap: var(--dt-space-400);
3028
- padding: var(--dt-space-300) var(--dt-space-400);
3029
- line-height: var(--dt-font-line-height-300);
3030
- }
3031
- .d-list-item__left,
3032
- .d-list-item__right,
3033
- .d-list-item__selected {
3034
- display: grid;
3035
- place-content: center;
3036
- }
3037
- .d-list-item__title {
3038
- display: grid;
3039
- align-content: center;
3040
- }
3041
- .d-list-item__subtitle {
3042
- margin-top: var(--dt-space-200-negative);
3043
- color: var(--dt-color-foreground-tertiary);
3044
- font-size: var(--dt-font-size-100);
3045
- }
3046
- .d-list-item__bottom {
3047
- margin-top: var(--dt-space-200);
3048
- }
3049
3052
  .d-modal {
3050
3053
  --modal-backdrop-color-background: var(--dt-color-surface-backdrop);
3051
3054
  --modal-dialog-padding: var(--dt-space-600);
@@ -8363,53 +8366,46 @@ ul {
8363
8366
  position: relative;
8364
8367
  display: block;
8365
8368
  }
8366
- .d-recipe-combobox-multi-select__list .d-list-item__title {
8367
- min-height: calc(var(--dt-size-550) + var(--dt-size-300));
8368
- }
8369
8369
  .d-recipe-combobox-multi-select__list--loading {
8370
8370
  padding-top: var(--dt-space-500);
8371
8371
  padding-bottom: var(--dt-space-500);
8372
8372
  text-align: center;
8373
8373
  }
8374
- .d-recipe-combobox-with-popover__list .d-list-item__title {
8375
- min-height: calc(var(--dt-size-550) + var(--dt-size-300));
8376
- }
8377
8374
  .d-recipe-contact-info {
8378
8375
  --contact-info-avatar-border-color: var(--dt-color-surface-primary);
8379
- padding: var(--dt-space-300) var(--dt-space-400);
8380
- -webkit-column-gap: var(--dt-space-400);
8381
- -moz-column-gap: var(--dt-space-400);
8382
- column-gap: var(--dt-space-400);
8383
- }
8384
- .d-recipe-contact-info__left {
8385
- position: relative;
8386
8376
  display: flex;
8377
+ }
8378
+ .d-recipe-contact-info .d-item-layout {
8379
+ flex: 1 1 0;
8380
+ }
8381
+ .d-recipe-contact-info .d-item-layout--content {
8382
+ /*
8383
+ DP-74536: Add `min-width` to make the width of "contact info" adjustable.
8384
+ */
8385
+ min-width: var(--dt-space-825);
8386
+ }
8387
+ .d-recipe-contact-info .d-item-layout--left {
8387
8388
  align-items: center;
8388
8389
  justify-content: flex-start;
8390
+ /*
8391
+ DP-74536: To make 'Avatar' in fixed position when resizing the window.
8392
+ */
8389
8393
  min-width: var(--dt-space-650);
8390
- height: var(--dt-size-100-percent);
8394
+ }
8395
+ .d-recipe-contact-info .d-item-layout--right {
8396
+ align-items: center;
8397
+ /*
8398
+ DP-74536: Remove `min-width` which cause extra unused empty space on the right of "contact info".
8399
+ */
8400
+ min-width: 0;
8401
+ }
8402
+ .d-recipe-contact-info__left {
8403
+ position: relative;
8391
8404
  background-color: transparent;
8392
8405
  background-image: none;
8393
8406
  border-width: 0;
8394
8407
  cursor: pointer;
8395
8408
  }
8396
- .d-recipe-contact-info__content {
8397
- align-content: center;
8398
- line-height: var(--dt-font-line-height-300);
8399
- }
8400
- .d-recipe-contact-info__subtitle {
8401
- margin-top: var(--dt-space-200-negative);
8402
- color: var(--dt-color-foreground-tertiary);
8403
- font-size: var(--dt-font-size-100);
8404
- }
8405
- .d-recipe-contact-info__bottom {
8406
- margin-top: var(--dt-space-200);
8407
- }
8408
- .d-recipe-contact-info__right {
8409
- display: grid;
8410
- align-content: center;
8411
- min-width: 0;
8412
- }
8413
8409
  .d-recipe-contact-info__avatars {
8414
8410
  display: flex;
8415
8411
  flex-direction: row;
@@ -8555,13 +8551,13 @@ ul {
8555
8551
  gap: var(--dt-space-300);
8556
8552
  width: var(--dt-size-100-percent);
8557
8553
  padding: var(--dt-space-400);
8558
- line-height: var(--dt-font-line-height-300);
8554
+ }
8555
+ .d-recipe-feed-item-pill__layout > .d-item-layout--left {
8556
+ justify-content: center;
8557
+ padding-right: var(--dt-space-0);
8559
8558
  }
8560
8559
  .d-recipe-feed-item-pill__icon {
8561
- display: grid;
8562
- place-content: center;
8563
- min-width: var(--dt-size-600);
8564
- height: var(--dt-size-100-percent);
8560
+ display: flex;
8565
8561
  }
8566
8562
  .d-recipe-feed-item-pill__icon svg {
8567
8563
  -webkit-animation: d-recipe-feed-item-pill-fade 0.15s ease-in;
@@ -8572,25 +8568,8 @@ ul {
8572
8568
  justify-content: center;
8573
8569
  }
8574
8570
  .d-recipe-feed-item-pill__title {
8575
- display: grid;
8576
- align-content: center;
8577
- height: var(--dt-size-100-percent);
8578
8571
  font-weight: var(--dt-font-weight-bold);
8579
8572
  }
8580
- .d-recipe-feed-item-pill__subtitle {
8581
- margin-top: var(--dt-space-200-negative);
8582
- color: var(--dt-color-foreground-tertiary);
8583
- font-size: var(--dt-font-size-100);
8584
- }
8585
- .d-recipe-feed-item-pill__bottom {
8586
- margin-top: var(--dt-space-200);
8587
- }
8588
- .d-recipe-feed-item-pill__right {
8589
- display: grid;
8590
- place-content: center;
8591
- min-width: var(--dt-size-600);
8592
- height: var(--dt-size-100-percent);
8593
- }
8594
8573
  .d-recipe-feed-item-pill__border {
8595
8574
  overflow: hidden;
8596
8575
  background-clip: content-box, border-box;
@@ -8636,16 +8615,26 @@ ul {
8636
8615
  .d-recipe-feed-item-row:focus-visible {
8637
8616
  box-shadow: var(--dt-shadow-focus-inset);
8638
8617
  }
8639
- .d-recipe-feed-item-row .d-list-item__left {
8618
+ .d-recipe-feed-item-row > .d-item-layout {
8619
+ min-height: initial;
8620
+ padding: 0;
8621
+ font: var(--dt-typography-body-md-compact);
8622
+ }
8623
+ .d-recipe-feed-item-row > .d-item-layout > .d-item-layout--left {
8640
8624
  display: block;
8641
- align-content: flex-start;
8642
- min-width: var(--dt-size-600);
8625
+ align-self: flex-start;
8626
+ min-width: calc(var(--dt-space-600) + var(--dt-space-300));
8627
+ padding-right: var(--dt-space-300);
8628
+ padding-left: var(--dt-space-0);
8643
8629
  text-align: end;
8644
8630
  }
8645
- .d-recipe-feed-item-row .d-list-item__wrapper {
8631
+ .d-recipe-feed-item-row > .d-item-layout > .d-item-layout--right {
8632
+ min-width: initial;
8646
8633
  padding: 0;
8647
8634
  }
8648
- .d-recipe-feed-item-row .d-list-item__bottom {
8635
+ .d-recipe-feed-item-row > .d-item-layout > .d-item-layout--content > .d-item-layout--bottom {
8636
+ display: flex;
8637
+ flex-direction: column;
8649
8638
  margin-top: 0;
8650
8639
  }
8651
8640
  .d-recipe-feed-item-row__state--searched {
@@ -8664,6 +8653,9 @@ ul {
8664
8653
  padding-top: var(--dt-space-300);
8665
8654
  padding-bottom: var(--dt-space-300);
8666
8655
  }
8656
+ .d-recipe-feed-item-row__content {
8657
+ padding-left: var(--dt-space-300);
8658
+ }
8667
8659
  .d-recipe-feed-item-row__attachment {
8668
8660
  padding-top: var(--dt-space-200);
8669
8661
  padding-bottom: var(--dt-space-300);
@@ -8702,6 +8694,7 @@ ul {
8702
8694
  flex-wrap: wrap;
8703
8695
  padding-top: var(--dt-space-200);
8704
8696
  padding-bottom: var(--dt-space-200);
8697
+ padding-left: var(--dt-space-300);
8705
8698
  }
8706
8699
  .d-recipe-feed-item-row__threading {
8707
8700
  padding-top: var(--dt-space-200);