@dialpad/dialtone-vue 3.123.3 → 3.124.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.
package/dist/style.css CHANGED
@@ -494,6 +494,25 @@
494
494
  line-height: var(--dt-font-line-height-400);
495
495
  font-weight: var(--dt-font-weight-medium);
496
496
  }
497
+ .dt-leftbar-row__container--off-duty[data-v-49d75ce6] {
498
+ border-radius: var(--dt-size-radius-500);
499
+ background-color: var(--dt-badge-color-background-critical);
500
+ border: var(--dt-size-100) solid var(--dt-color-border-subtle);
501
+ }
502
+ .dt-leftbar-row__container--off-duty[data-v-49d75ce6] .dt-leftbar-row__primary {
503
+ margin: calc(var(--dt-size-100) * -1);
504
+ }
505
+ .dt-leftbar-row--contact-centers[data-v-49d75ce6] .dt-leftbar-row__alpha {
506
+ padding-right: var(--dt-space-450);
507
+ padding-left: var(--dt-space-450);
508
+ }
509
+ .dt-leftbar-row--contact-centers .dt-leftbar-row__action-container[data-v-49d75ce6] {
510
+ display: inline-flex;
511
+ align-items: center;
512
+ justify-content: flex-end;
513
+ min-width: var(--dt-size-600);
514
+ height: var(--dt-size-500);
515
+ }
497
516
  .dt-leftbar-row[data-v-49d75ce6] .dt-leftbar-row__description {
498
517
  display: block;
499
518
  font-weight: var(--leftbar-row-description-font-weight);
@@ -575,6 +594,297 @@
575
594
  opacity: 90%;
576
595
  }
577
596
  }
597
+ .dt-leftbar-row[data-v-094eaef1] {
598
+ --leftbar-row-color-foreground: var(--dt-theme-sidebar-color-foreground);
599
+ --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background);
600
+ --leftbar-row-radius: var(--dt-size-radius-pill);
601
+ --leftbar-row-opacity: 100%;
602
+ --leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-icon-color-foreground);
603
+ --leftbar-row-alpha-width: calc(var(--dt-size-300) * 10);
604
+ --leftbar-row-alpha-height: calc(var(--dt-size-300) * 9);
605
+ --leftbar-row-omega-height: var(--leftbar-row-alpha-height);
606
+ --leftbar-row-unread-badge-display: inline-flex;
607
+ --leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground);
608
+ --leftbar-row-description-font-weight: var(--dt-font-weight-normal);
609
+ --leftbar-row-description-font-size: var(--dt-font-size-200);
610
+ --leftbar-row-description-line-height: var(--dt-font-line-height-200);
611
+ --leftbar-row-status-color-foreground: var(--dt-theme-sidebar-status-color-foreground);
612
+ --leftbar-row-status-font-size: var(--dt-font-size-100);
613
+ --leftbar-row-status-line-height: var(--dt-font-line-height-100);
614
+ --leftbar-row-action-position-right: var(--dt-size-400);
615
+ --leftbar-row-action-position-bottom: 50%;
616
+ --leftbar-row-action-width: var(--dt-size-550);
617
+ --leftbar-row-action-height: var(--leftbar-row-action-width);
618
+ position: relative;
619
+ opacity: var(--leftbar-row-opacity);
620
+ display: flex;
621
+ background-color: var(--dt-theme-sidebar-row-color-background);
622
+ border-radius: var(--leftbar-row-radius);
623
+ transition-duration: var(--td200);
624
+ transition-property: background-color, border, box-shadow;
625
+ transition-timing-function: var(--ttf-out-quint);
626
+ cursor: pointer;
627
+ }
628
+ .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):hover,
629
+ .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):focus-within {
630
+ --leftbar-row-unread-badge-display: none;
631
+ }
632
+ .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action,
633
+ .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action {
634
+ display: inline-flex;
635
+ }
636
+ .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):hover .dt-leftbar-row__action-button,
637
+ .dt-leftbar-row[data-v-094eaef1]:not(.dt-leftbar-row--no-action):focus-within .dt-leftbar-row__action-button {
638
+ opacity: 1;
639
+ }
640
+ .dt-leftbar-row[data-v-094eaef1]:hover,
641
+ .dt-leftbar-row[data-v-094eaef1]:focus-within {
642
+ --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-hover);
643
+ }
644
+ .dt-leftbar-row[data-v-094eaef1]:hover .d-presence,
645
+ .dt-leftbar-row[data-v-094eaef1]:focus-within .d-presence {
646
+ --presence-color-border-base: var(--dt-color-black-200);
647
+ }
648
+ .dt-leftbar-row[data-v-094eaef1]:hover .d-avatar__count,
649
+ .dt-leftbar-row[data-v-094eaef1]:focus-within .d-avatar__count {
650
+ --avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background);
651
+ }
652
+ .dt-leftbar-row--has-unread[data-v-094eaef1] {
653
+ --leftbar-row-description-font-weight: var(--dt-font-weight-bold);
654
+ --leftbar-row-description-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);
655
+ --leftbar-row-alpha-color-foreground: var(--dt-theme-sidebar-color-foreground-unread);
656
+ }
657
+ .dt-leftbar-row--unread-count[data-v-094eaef1] .dt-leftbar-row__action {
658
+ display: none;
659
+ }
660
+ .dt-leftbar-row--muted[data-v-094eaef1] {
661
+ --leftbar-row-opacity: 60%;
662
+ }
663
+ .dt-leftbar-row--selected[data-v-094eaef1] {
664
+ --leftbar-row-color-background: var(--dt-theme-sidebar-selected-row-color-background);
665
+ --leftbar-row-description-color-foreground: var(--dt-theme-sidebar-selected-row-color-foreground);
666
+ }
667
+ .dt-leftbar-row--selected[data-v-094eaef1] .d-presence {
668
+ --presence-color-border-base: var(--dt-color-black-200);
669
+ }
670
+ .dt-leftbar-row--selected[data-v-094eaef1] .d-avatar__count {
671
+ --avatar-count-color-shadow: var(--dt-theme-sidebar-selected-row-color-background);
672
+ }
673
+ .dt-leftbar-row__is-typing[data-v-094eaef1] {
674
+ --is-typing-size-shape: var(--dt-size-550);
675
+ height: var(--is-typing-size-shape);
676
+ width: var(--is-typing-size-shape);
677
+ position: absolute;
678
+ display: flex;
679
+ align-items: center;
680
+ justify-content: center;
681
+ gap: 2px;
682
+ border-radius: var(--dt-size-radius-pill);
683
+ opacity: 0.75;
684
+ }
685
+ .dt-leftbar-row__is-typing span[data-v-094eaef1] {
686
+ transition: all 500ms ease;
687
+ background: var(--dt-color-surface-strong);
688
+ height: 4px;
689
+ width: 4px;
690
+ display: inline-block;
691
+ padding: 0;
692
+ opacity: 0.3;
693
+ border-radius: var(--dt-size-radius-pill);
694
+ animation: wave-094eaef1 1.5s ease infinite;
695
+ }
696
+ .dt-leftbar-row__is-typing span[data-v-094eaef1]:nth-child(1) {
697
+ animation-delay: 0ms;
698
+ }
699
+ .dt-leftbar-row__is-typing span[data-v-094eaef1]:nth-child(2) {
700
+ animation-delay: var(--td100);
701
+ }
702
+ .dt-leftbar-row__is-typing span[data-v-094eaef1]:nth-child(3) {
703
+ animation-delay: var(--td200);
704
+ }
705
+ .dt-leftbar-row__primary[data-v-094eaef1] {
706
+ display: flex;
707
+ align-items: center;
708
+ flex: 1;
709
+ width: 100%;
710
+ text-align: left;
711
+ background-color: var(--leftbar-row-color-background);
712
+ color: var(--leftbar-row-color-foreground);
713
+ text-decoration: none;
714
+ appearance: none;
715
+ font-size: inherit;
716
+ line-height: inherit;
717
+ margin: 0;
718
+ border: 0;
719
+ padding: 0;
720
+ border-radius: var(--leftbar-row-radius);
721
+ }
722
+ .dt-leftbar-row__primary[data-v-094eaef1]:active {
723
+ --leftbar-row-color-background: var(--dt-theme-sidebar-row-color-background-active);
724
+ }
725
+ .dt-leftbar-row__primary[data-v-094eaef1]:focus-visible {
726
+ box-shadow: var(--dt-shadow-focus-inset);
727
+ }
728
+ .dt-leftbar-row__action-button[data-v-094eaef1] {
729
+ opacity: 0;
730
+ width: var(--leftbar-row-action-width);
731
+ height: var(--leftbar-row-action-height);
732
+ }
733
+ .dt-leftbar-row__alpha[data-v-094eaef1] {
734
+ color: var(--leftbar-row-alpha-color-foreground);
735
+ display: flex;
736
+ box-sizing: border-box;
737
+ justify-content: center;
738
+ align-items: center;
739
+ padding-left: var(--dt-space-400);
740
+ padding-right: var(--dt-space-400);
741
+ width: var(--leftbar-row-alpha-width);
742
+ height: var(--leftbar-row-alpha-height);
743
+ border-radius: var(--leftbar-row-radius) 0 0 var(--leftbar-row-radius);
744
+ }
745
+ .dt-leftbar-row__label[data-v-094eaef1] {
746
+ flex: 0 1;
747
+ min-width: 0;
748
+ }
749
+ .dt-leftbar-row__omega[data-v-094eaef1] {
750
+ position: absolute;
751
+ display: flex;
752
+ right: var(--leftbar-row-action-position-right);
753
+ top: var(--leftbar-row-action-position-bottom);
754
+ transform: translateY(calc(var(--leftbar-row-action-position-bottom) * -1));
755
+ gap: var(--dt-space-300);
756
+ justify-content: flex-end;
757
+ align-items: center;
758
+ box-sizing: border-box;
759
+ border-radius: var(--leftbar-row-radius);
760
+ }
761
+ .dt-leftbar-row__unread-badge[data-v-094eaef1] {
762
+ display: var(--leftbar-row-unread-badge-display);
763
+ }
764
+ .dt-leftbar-row__active-voice[data-v-094eaef1] {
765
+ color: var(--dt-color-purple-400);
766
+ display: inline-flex;
767
+ -webkit-animation-name: opacity-pulsate-094eaef1;
768
+ -webkit-animation-duration: 1s;
769
+ -webkit-animation-iteration-count: infinite;
770
+ -webkit-animation-fill-mode: both;
771
+ -moz-animation-name: opacity-pulsate-094eaef1;
772
+ -moz-animation-duration: 1s;
773
+ -moz-animation-iteration-count: infinite;
774
+ -moz-animation-fill-mode: both;
775
+ animation-name: opacity-pulsate-094eaef1;
776
+ animation-duration: 1s;
777
+ animation-iteration-count: infinite;
778
+ animation-fill-mode: both;
779
+ }
780
+ .dt-leftbar-row__dnd[data-v-094eaef1] {
781
+ padding-top: var(--dt-space-200);
782
+ padding-right: var(--dt-space-300);
783
+ color: var(--dt-color-foreground-tertiary);
784
+ font-size: var(--dt-font-size-100);
785
+ line-height: var(--dt-font-line-height-400);
786
+ font-weight: var(--dt-font-weight-medium);
787
+ }
788
+ .dt-leftbar-row__container--off-duty[data-v-094eaef1] {
789
+ border-radius: var(--dt-size-radius-500);
790
+ background-color: var(--dt-badge-color-background-critical);
791
+ border: var(--dt-size-100) solid var(--dt-color-border-subtle);
792
+ }
793
+ .dt-leftbar-row__container--off-duty[data-v-094eaef1] .dt-leftbar-row__primary {
794
+ margin: calc(var(--dt-size-100) * -1);
795
+ }
796
+ .dt-leftbar-row--contact-centers[data-v-094eaef1] .dt-leftbar-row__alpha {
797
+ padding-right: var(--dt-space-450);
798
+ padding-left: var(--dt-space-450);
799
+ }
800
+ .dt-leftbar-row--contact-centers .dt-leftbar-row__action-container[data-v-094eaef1] {
801
+ display: inline-flex;
802
+ align-items: center;
803
+ justify-content: flex-end;
804
+ min-width: var(--dt-size-600);
805
+ height: var(--dt-size-500);
806
+ }
807
+ .dt-leftbar-row[data-v-094eaef1] .dt-leftbar-row__description {
808
+ display: block;
809
+ font-weight: var(--leftbar-row-description-font-weight);
810
+ font-size: var(--leftbar-row-description-font-size);
811
+ line-height: var(--leftbar-row-description-line-height);
812
+ color: var(--leftbar-row-description-color-foreground);
813
+ overflow: hidden;
814
+ text-overflow: ellipsis;
815
+ white-space: nowrap;
816
+ }
817
+ .dt-leftbar-row[data-v-094eaef1] .dt-leftbar-row__status {
818
+ display: block;
819
+ color: var(--leftbar-row-status-color-foreground);
820
+ font-size: var(--leftbar-row-status-font-size);
821
+ line-height: var(--leftbar-row-status-line-height);
822
+ padding-bottom: var(--dt-space-100);
823
+ overflow: hidden;
824
+ text-overflow: ellipsis;
825
+ white-space: nowrap;
826
+ }
827
+ .dt-leftbar-row[data-v-094eaef1] .dt-leftbar-row__meta-context ~ .dt-leftbar-row__meta-custom:not(:empty):before {
828
+ content: ' • ';
829
+ color: var(--dt-theme-sidebar-status-color-foreground);
830
+ }
831
+ .dt-leftbar-row__icon-cc[data-v-094eaef1] {
832
+ border-radius: var(--dt-size-200);
833
+ width: calc(var(--dt-size-300) * 3.5);
834
+ height: calc(var(--dt-size-300) * 3.5);
835
+ }
836
+ .opacity-pulsate[data-v-094eaef1] {
837
+ -webkit-animation-name: opacity-pulsate-094eaef1;
838
+ -webkit-animation-duration: 1s;
839
+ -webkit-animation-iteration-count: infinite;
840
+ -webkit-animation-fill-mode: both;
841
+ -moz-animation-name: opacity-pulsate-094eaef1;
842
+ -moz-animation-duration: 1s;
843
+ -moz-animation-iteration-count: infinite;
844
+ -moz-animation-fill-mode: both;
845
+ animation-name: opacity-pulsate-094eaef1;
846
+ animation-duration: 1s;
847
+ animation-iteration-count: infinite;
848
+ animation-fill-mode: both;
849
+ }
850
+ @-webkit-keyframes opacity-pulsate-094eaef1 {
851
+ 0%,
852
+ 100% {
853
+ opacity: 0.2;
854
+ }
855
+ 50% {
856
+ opacity: 1;
857
+ }
858
+ }
859
+ @-moz-keyframes opacity-pulsate-094eaef1 {
860
+ 0%,
861
+ 100% {
862
+ opacity: 0.2;
863
+ }
864
+ 50% {
865
+ opacity: 1;
866
+ }
867
+ }
868
+ @keyframes opacity-pulsate-094eaef1 {
869
+ 0%,
870
+ 100% {
871
+ opacity: 0.2;
872
+ }
873
+ 50% {
874
+ opacity: 1;
875
+ }
876
+ }
877
+ @keyframes wave-094eaef1 {
878
+ 0%,
879
+ 50%,
880
+ 100% {
881
+ transform: translate(0, 0);
882
+ }
883
+ 10% {
884
+ transform: translate(0, -5px);
885
+ opacity: 90%;
886
+ }
887
+ }
578
888
  .dt-recipe-callbox[data-v-ef08f46e] {
579
889
  padding: 0;
580
890
  color: var(--dt-color-foreground-primary);
@@ -66,6 +66,7 @@ export * from "./recipes/conversation_view/time_pill";
66
66
  export * from "./recipes/header/settings_menu_button";
67
67
  export * from "./recipes/item_layout/contact_info";
68
68
  export * from "./recipes/leftbar/callbox";
69
+ export * from "./recipes/leftbar/contact_centers_row";
69
70
  export * from "./recipes/leftbar/contact_row";
70
71
  export * from "./recipes/leftbar/general_row";
71
72
  export * from "./recipes/leftbar/group_row";
@@ -0,0 +1,96 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ /**
3
+ * Will be read out by a screen reader upon focus of this row. If not defined "description" will be read.
4
+ */
5
+ ariaLabel: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ /**
10
+ * Text displayed next to the icon. Required.
11
+ */
12
+ description: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ };
16
+ /**
17
+ * Determines if the row is selected
18
+ */
19
+ selected: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ /**
24
+ * Number of unread messages
25
+ */
26
+ unreadCount: {
27
+ type: NumberConstructor;
28
+ default: number;
29
+ };
30
+ /**
31
+ * Aria label for the menu button.
32
+ */
33
+ menuButtonAriaLabel: {
34
+ type: StringConstructor;
35
+ required: true;
36
+ };
37
+ }, any, {
38
+ labelWidth: string;
39
+ }, {
40
+ leftbarContactCentersRowClasses(): (string | {
41
+ 'dt-leftbar-row--unread-count': boolean;
42
+ 'dt-leftbar-row--selected': boolean;
43
+ })[];
44
+ getAriaLabel(): string;
45
+ contactRowListeners(): {
46
+ [k: string]: any;
47
+ };
48
+ showUnreadCount(): boolean;
49
+ }, {
50
+ adjustLabelWidth(): void;
51
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "click-menu")[], "click" | "click-menu", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
+ /**
53
+ * Will be read out by a screen reader upon focus of this row. If not defined "description" will be read.
54
+ */
55
+ ariaLabel: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ /**
60
+ * Text displayed next to the icon. Required.
61
+ */
62
+ description: {
63
+ type: StringConstructor;
64
+ required: true;
65
+ };
66
+ /**
67
+ * Determines if the row is selected
68
+ */
69
+ selected: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ /**
74
+ * Number of unread messages
75
+ */
76
+ unreadCount: {
77
+ type: NumberConstructor;
78
+ default: number;
79
+ };
80
+ /**
81
+ * Aria label for the menu button.
82
+ */
83
+ menuButtonAriaLabel: {
84
+ type: StringConstructor;
85
+ required: true;
86
+ };
87
+ }>> & {
88
+ onClick?: ((...args: any[]) => any) | undefined;
89
+ "onClick-menu"?: ((...args: any[]) => any) | undefined;
90
+ }, {
91
+ ariaLabel: string;
92
+ selected: boolean;
93
+ unreadCount: number;
94
+ }, {}>;
95
+ export default _default;
96
+ //# sourceMappingURL=contact_centers_row.vue.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,2 @@
1
+ export { default as DtRecipeContactCentersRow } from "./contact_centers_row.vue";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../recipes/leftbar/contact_centers_row/index.js"],"names":[],"mappings":""}
@@ -236,9 +236,9 @@ declare const _default: import("vue").DefineComponent<{
236
236
  selected: boolean;
237
237
  avatarSrc: string;
238
238
  avatarSeed: string;
239
- hasUnreads: boolean;
240
239
  unreadCount: string;
241
240
  unreadCountTooltip: string;
241
+ hasUnreads: boolean;
242
242
  hasCallButton: boolean;
243
243
  callButtonTooltip: string;
244
244
  isTyping: boolean;
@@ -269,9 +269,9 @@ declare const _default: import("vue").DefineComponent<{
269
269
  iconSize: string;
270
270
  muted: boolean;
271
271
  selected: boolean;
272
- hasUnreads: boolean;
273
272
  unreadCount: string;
274
273
  unreadCountTooltip: string;
274
+ hasUnreads: boolean;
275
275
  activeVoiceChat: boolean;
276
276
  dndText: string;
277
277
  dndTextTooltip: string;
@@ -107,9 +107,9 @@ declare const _default: import("vue").DefineComponent<{
107
107
  };
108
108
  }>> & {}, {
109
109
  selected: boolean;
110
- hasUnreads: boolean;
111
110
  unreadCount: string;
112
111
  unreadCountTooltip: string;
112
+ hasUnreads: boolean;
113
113
  isTyping: boolean;
114
114
  groupCountText: string;
115
115
  }, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone-vue",
3
- "version": "3.123.3",
3
+ "version": "3.124.0",
4
4
  "description": "Vue component library for Dialpad's design system Dialtone",
5
5
  "files": [
6
6
  "dist"