devextreme-themebuilder 25.1.7 → 25.2.2-beta

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 (110) hide show
  1. package/data/metadata/dx-theme-builder-metadata.js +35 -24
  2. package/data/scss/widgets/base/_fileUploader.scss +22 -2
  3. package/data/scss/widgets/base/_form.scss +10 -0
  4. package/data/scss/widgets/base/_gridBase.scss +26 -10
  5. package/data/scss/widgets/base/_icons.scss +51 -1
  6. package/data/scss/widgets/base/_progressBar.scss +0 -1
  7. package/data/scss/widgets/base/chat/_index.scss +1 -1
  8. package/data/scss/widgets/base/chat/_mixins.scss +1 -1
  9. package/data/scss/widgets/base/chat/layout/chat/_index.scss +3 -2
  10. package/data/scss/widgets/base/chat/layout/chat-fileview/_index.scss +43 -0
  11. package/data/scss/widgets/base/chat/layout/chat-fileview/_mixins.scss +60 -0
  12. package/data/scss/widgets/base/chat/layout/chat-messagebox/_index.scss +41 -2
  13. package/data/scss/widgets/base/chat/layout/chat-messagebox/_mixins.scss +46 -11
  14. package/data/scss/widgets/base/chat/layout/chat-messagebubble/_index.scss +6 -0
  15. package/data/scss/widgets/base/chat/layout/chat-messagebubble/_mixins.scss +2 -0
  16. package/data/scss/widgets/base/chat/layout/chat-messagelist/_index.scss +1 -0
  17. package/data/scss/widgets/base/dataGrid/_index.scss +4 -0
  18. package/data/scss/widgets/base/diagram/_index.scss +6 -11
  19. package/data/scss/widgets/base/dropDownEditor/_index.scss +7 -0
  20. package/data/scss/widgets/base/scheduler/_common.scss +19 -12
  21. package/data/scss/widgets/base/scheduler/_index.scss +189 -0
  22. package/data/scss/widgets/base/speechToText/_index.scss +17 -0
  23. package/data/scss/widgets/base/textArea/_mixins.scss +1 -1
  24. package/data/scss/widgets/base/treeList/_index.scss +4 -0
  25. package/data/scss/widgets/fluent/_colors.scss +1 -1
  26. package/data/scss/widgets/fluent/_index.scss +1 -1
  27. package/data/scss/widgets/fluent/chat/_colors.scss +13 -0
  28. package/data/scss/widgets/fluent/chat/_index.scss +31 -2
  29. package/data/scss/widgets/fluent/chat/_sizes.scss +26 -3
  30. package/data/scss/widgets/fluent/colorBox/_colors.scss +1 -0
  31. package/data/scss/widgets/fluent/colorBox/_index.scss +10 -7
  32. package/data/scss/widgets/fluent/colorView/_colors.scss +0 -10
  33. package/data/scss/widgets/fluent/common/_mixins.scss +0 -1
  34. package/data/scss/widgets/fluent/dateRangeBox/_index.scss +1 -1
  35. package/data/scss/widgets/fluent/diagram/_index.scss +2 -2
  36. package/data/scss/widgets/fluent/fileUploader/_colors.scss +1 -0
  37. package/data/scss/widgets/fluent/fileUploader/_index.scss +16 -2
  38. package/data/scss/widgets/fluent/fileUploader/_sizes.scss +4 -0
  39. package/data/scss/widgets/fluent/gridBase/_colors.scss +3 -0
  40. package/data/scss/widgets/fluent/gridBase/_index.scss +30 -5
  41. package/data/scss/widgets/fluent/gridBase/_sizes.scss +10 -0
  42. package/data/scss/widgets/fluent/htmlEditor/_index.scss +8 -2
  43. package/data/scss/widgets/fluent/htmlEditor/_sizes.scss +11 -8
  44. package/data/scss/widgets/fluent/loadIndicator/_colors.scss +9 -9
  45. package/data/scss/widgets/fluent/progressBar/_index.scss +1 -2
  46. package/data/scss/widgets/fluent/progressBar/_sizes.scss +3 -1
  47. package/data/scss/widgets/fluent/scheduler/_colors.scss +1 -0
  48. package/data/scss/widgets/fluent/scheduler/_index.scss +112 -15
  49. package/data/scss/widgets/fluent/scheduler/_sizes.scss +49 -6
  50. package/data/scss/widgets/fluent/speechToText/_colors.scss +4 -0
  51. package/data/scss/widgets/fluent/speechToText/_index.scss +5 -0
  52. package/data/scss/widgets/fluent/speechToText/_sizes.scss +4 -0
  53. package/data/scss/widgets/generic/_colors.scss +1 -1
  54. package/data/scss/widgets/generic/_index.scss +1 -1
  55. package/data/scss/widgets/generic/chat/_colors.scss +23 -0
  56. package/data/scss/widgets/generic/chat/_index.scss +42 -2
  57. package/data/scss/widgets/generic/chat/_sizes.scss +31 -2
  58. package/data/scss/widgets/generic/colorBox/_colors.scss +1 -0
  59. package/data/scss/widgets/generic/colorBox/_index.scss +5 -8
  60. package/data/scss/widgets/generic/colorView/_colors.scss +0 -9
  61. package/data/scss/widgets/generic/dateRangeBox/_index.scss +1 -1
  62. package/data/scss/widgets/generic/diagram/_index.scss +2 -2
  63. package/data/scss/widgets/generic/fileUploader/_colors.scss +1 -0
  64. package/data/scss/widgets/generic/fileUploader/_index.scss +5 -0
  65. package/data/scss/widgets/generic/fileUploader/_sizes.scss +3 -0
  66. package/data/scss/widgets/generic/gridBase/_colors.scss +4 -0
  67. package/data/scss/widgets/generic/gridBase/_index.scss +43 -0
  68. package/data/scss/widgets/generic/gridBase/_sizes.scss +13 -0
  69. package/data/scss/widgets/generic/loadIndicator/_colors.scss +24 -24
  70. package/data/scss/widgets/generic/progressBar/_index.scss +8 -0
  71. package/data/scss/widgets/generic/progressBar/_sizes.scss +9 -0
  72. package/data/scss/widgets/generic/scheduler/_colors.scss +1 -0
  73. package/data/scss/widgets/generic/scheduler/_index.scss +162 -6
  74. package/data/scss/widgets/generic/scheduler/_sizes.scss +64 -3
  75. package/data/scss/widgets/generic/speechToText/_colors.scss +4 -0
  76. package/data/scss/widgets/generic/speechToText/_index.scss +5 -0
  77. package/data/scss/widgets/generic/speechToText/_sizes.scss +4 -0
  78. package/data/scss/widgets/material/_colors.scss +1 -1
  79. package/data/scss/widgets/material/_index.scss +1 -1
  80. package/data/scss/widgets/material/chat/_colors.scss +9 -0
  81. package/data/scss/widgets/material/chat/_index.scss +45 -2
  82. package/data/scss/widgets/material/chat/_sizes.scss +25 -4
  83. package/data/scss/widgets/material/colorBox/_colors.scss +1 -0
  84. package/data/scss/widgets/material/colorBox/_index.scss +5 -6
  85. package/data/scss/widgets/material/colorView/_colors.scss +0 -10
  86. package/data/scss/widgets/material/dateRangeBox/_index.scss +1 -1
  87. package/data/scss/widgets/material/diagram/_index.scss +2 -2
  88. package/data/scss/widgets/material/fileUploader/_colors.scss +1 -0
  89. package/data/scss/widgets/material/fileUploader/_index.scss +15 -0
  90. package/data/scss/widgets/material/fileUploader/_sizes.scss +4 -0
  91. package/data/scss/widgets/material/gridBase/_colors.scss +3 -0
  92. package/data/scss/widgets/material/gridBase/_index.scss +34 -5
  93. package/data/scss/widgets/material/gridBase/_sizes.scss +10 -0
  94. package/data/scss/widgets/material/htmlEditor/_index.scss +4 -0
  95. package/data/scss/widgets/material/htmlEditor/_sizes.scss +11 -10
  96. package/data/scss/widgets/material/loadIndicator/_colors.scss +6 -6
  97. package/data/scss/widgets/material/scheduler/_colors.scss +1 -0
  98. package/data/scss/widgets/material/scheduler/_index.scss +170 -14
  99. package/data/scss/widgets/material/scheduler/_sizes.scss +69 -3
  100. package/data/scss/widgets/material/speechToText/_colors.scss +4 -0
  101. package/data/scss/widgets/material/speechToText/_index.scss +5 -0
  102. package/data/scss/widgets/material/speechToText/_sizes.scss +4 -0
  103. package/data/scss/widgets/material/typography/_index.scss +4 -4
  104. package/package.json +2 -2
  105. package/data/scss/widgets/base/_deferRendering.scss +0 -18
  106. package/data/scss/widgets/base/chat/layout/chat-header/_index.scss +0 -4
  107. package/data/scss/widgets/base/chat/layout/chat-header/_mixins.scss +0 -5
  108. package/data/scss/widgets/fluent/deferRendering/_index.scss +0 -7
  109. package/data/scss/widgets/generic/deferRendering/_index.scss +0 -7
  110. package/data/scss/widgets/material/deferRendering/_index.scss +0 -7
@@ -8,6 +8,7 @@
8
8
  $bubble-container-gap,
9
9
  $bubble-delete-gap,
10
10
  $bubble-delete-icon-size,
11
+ $chat-bubble-gap,
11
12
  ) {
12
13
  .dx-chat-messagegroup-content {
13
14
  row-gap: $bubble-container-gap;
@@ -16,6 +17,7 @@
16
17
  .dx-chat-messagebubble {
17
18
  padding: $padding;
18
19
  border-radius: $border-radius;
20
+ gap: $chat-bubble-gap;
19
21
 
20
22
  &.dx-chat-messagebubble-deleted {
21
23
  .dx-chat-messagebubble-content {
@@ -2,6 +2,7 @@
2
2
 
3
3
  .dx-chat-messagelist {
4
4
  flex-grow: 1;
5
+ min-height: 3.57em;
5
6
  overflow: hidden;
6
7
 
7
8
  .dx-scrollable-container {
@@ -457,3 +457,7 @@ $datagrid-text-stub-background-image-path: null !default;
457
457
  outline-offset: -2px;
458
458
  }
459
459
  }
460
+
461
+ .dx-command-ai-header-button .dx-button.dx-state-focused {
462
+ outline: 2px solid $datagrid-focused-border-color;
463
+ }
@@ -240,23 +240,18 @@ $transparent-border: 1px solid transparent;
240
240
  width: auto;
241
241
  }
242
242
 
243
- .dx-dropdowneditor-field-template-wrapper {
243
+ .dx-texteditor-input-container {
244
+ width: 0;
245
+ overflow: hidden;
246
+ }
247
+
248
+ .dx-dropdowneditor-field-before-template-wrapper {
244
249
  display: flex;
245
250
  align-items: center;
246
251
 
247
252
  .dx-diagram-i {
248
253
  display: block;
249
254
  }
250
-
251
- .dx-textbox {
252
- width: 0;
253
- max-width: 0;
254
-
255
- .dx-texteditor-input {
256
- width: 0;
257
- padding-left: 0;
258
- }
259
- }
260
255
  }
261
256
  }
262
257
  }
@@ -51,6 +51,13 @@
51
51
  }
52
52
  }
53
53
 
54
+ .dx-dropdowneditor-field-before-template-wrapper,
55
+ .dx-dropdowneditor-field-after-template-wrapper {
56
+ display: flex;
57
+ flex-grow: 1;
58
+ align-items: center;
59
+ }
60
+
54
61
  .dx-dropdowneditor-active {
55
62
  .dx-dropdowneditor-icon {
56
63
  opacity: 0.35;
@@ -4,7 +4,7 @@
4
4
  // adduse
5
5
 
6
6
  $scheduler-appointment-collector-margin: 3px;
7
- $scheduler-appointment-collector-height: 20px;
7
+ $scheduler-appointment-collector-height: 22px;
8
8
  $scheduler-popup-scrollable-content-padding: 20px;
9
9
 
10
10
  // NOTE: a11y aria-live container must be visible to allow screen readers read it
@@ -16,7 +16,7 @@ $scheduler-popup-scrollable-content-padding: 20px;
16
16
  clip-path: polygon(0 0);
17
17
  }
18
18
 
19
- .dx-scheduler-appointment-popup {
19
+ .dx-scheduler-legacy-appointment-popup {
20
20
  .dx-popup-content {
21
21
  padding-top: 0;
22
22
  padding-bottom: 0;
@@ -50,7 +50,7 @@ $scheduler-popup-scrollable-content-padding: 20px;
50
50
  display: block;
51
51
  height: $scheduler-appointment-collector-height;
52
52
  cursor: pointer;
53
- margin: $scheduler-appointment-collector-margin 0 0 $scheduler-appointment-collector-margin;
53
+ margin: $scheduler-appointment-collector-margin;
54
54
 
55
55
  .dx-scheduler-appointment-collector-content,
56
56
  .dx-button-content {
@@ -72,10 +72,13 @@ $scheduler-popup-scrollable-content-padding: 20px;
72
72
  &.dx-button.dx-button-default {
73
73
  padding: 0;
74
74
  max-width: none;
75
- border-radius: $scheduler-appointment-collector-height;
76
75
  }
77
76
  }
78
77
 
78
+ .dx-scheduler-adaptive .dx-scheduler-appointment-collector {
79
+ margin: 0 3px;
80
+ }
81
+
79
82
  .dx-scheduler-work-space-mouse-selection {
80
83
  .dx-scheduler-fixed-appointments,
81
84
  .dx-scheduler-scrollable-appointments,
@@ -84,12 +87,6 @@ $scheduler-popup-scrollable-content-padding: 20px;
84
87
  }
85
88
  }
86
89
 
87
- .dx-rtl {
88
- .dx-scheduler-appointment-collector {
89
- margin: $scheduler-appointment-collector-margin $scheduler-appointment-collector-margin 0 0;
90
- }
91
- }
92
-
93
90
  .dx-scheduler-view-switcher .dx-toolbar-item-auto-hide {
94
91
  padding: 0;
95
92
  }
@@ -112,7 +109,17 @@ $scheduler-popup-scrollable-content-padding: 20px;
112
109
  line-height: 1.3;
113
110
  }
114
111
 
115
- .dx-scheduler-appointment-collector {
116
- margin: 0;
112
+ .dx-scheduler-appointment-collector,
113
+ .dx-scheduler-appointment-collector.dx-scheduler-appointment-collector-compact {
114
+ height: 28px;
115
+ width: 28px;
116
+ margin: 0 3px;
117
+ }
118
+
119
+ .dx-scheduler-work-space.dx-scheduler-timeline {
120
+ .dx-scheduler-appointment-collector,
121
+ .dx-scheduler-appointment-collector.dx-scheduler-appointment-collector-compact {
122
+ width: auto;
123
+ }
117
124
  }
118
125
  }
@@ -31,6 +31,8 @@ $agenda-appointment-text-color: null !default;
31
31
  $agenda-appointment-title-font-size: null !default;
32
32
 
33
33
  $scheduler-header-panel-table-cell-height: null !default;
34
+ $scheduler-days-of-week-button-size: null !default;
35
+ $scheduler-recurrence-end-item-height: null !default;
34
36
 
35
37
  // Agenda
36
38
  $agenda-appointment-recurrence-icon-color: null !default;
@@ -460,6 +462,189 @@ $scheduler-appointment-form-label-padding: 20px;
460
462
  }
461
463
 
462
464
  .dx-scheduler-appointment-popup {
465
+ .dx-popup-content {
466
+ overflow-x: hidden;
467
+ }
468
+
469
+ .dx-form {
470
+ min-height: 100%;
471
+ position: relative;
472
+ overflow: hidden;
473
+
474
+ .dx-scheduler-form-main-group {
475
+ width: 100%;
476
+ transition: transform 0.3s ease-in-out;
477
+ transform: translateX(0);
478
+ position: relative;
479
+
480
+ &.dx-scheduler-form-main-group-hidden {
481
+ transform: translateX(-110%);
482
+ position: absolute;
483
+ top: 0;
484
+ }
485
+ }
486
+
487
+ .dx-scheduler-form-recurrence-group {
488
+ width: 100%;
489
+ transition: transform 0.3s ease-in-out;
490
+ transform: translateX(0);
491
+ position: relative;
492
+
493
+ &.dx-scheduler-form-recurrence-group-hidden {
494
+ transform: translateX(110%);
495
+ position: absolute;
496
+ top: 0;
497
+ }
498
+ }
499
+ .dx-scheduler-form-group-with-icon .dx-box-item:has(.dx-scheduler-form-icon) {
500
+ flex: 0 1 auto !important; // stylelint-disable-line declaration-no-important
501
+ align-items: end;
502
+ }
503
+
504
+ .dx-scheduler-form-date-range-group .dx-box-item:has(.dx-scheduler-form-icon),
505
+ .dx-scheduler-form-description-group .dx-box-item:has(.dx-scheduler-form-icon),
506
+ .dx-scheduler-form-resources-group .dx-box-item:has(.dx-scheduler-default-resources-icon),
507
+ .dx-scheduler-form-recurrence-settings-group .dx-box-item:has(.dx-scheduler-form-icon),
508
+ .dx-scheduler-form-recurrence-end-group .dx-box-item:has(.dx-scheduler-form-icon) {
509
+ align-items: start;
510
+ }
511
+
512
+ .dx-scheduler-form-icon {
513
+ display: flex;
514
+ align-items: center;
515
+
516
+ > .dx-field-item-content {
517
+ line-height: 1;
518
+ }
519
+ }
520
+ .dx-scheduler-form-all-day-switch.dx-field-item.dx-label-h-align {
521
+ align-items: center;
522
+
523
+ .dx-field-item-content {
524
+ text-align: end;
525
+
526
+ .dx-switch.dx-widget {
527
+ margin: 0;
528
+ }
529
+ }
530
+ }
531
+
532
+ .dx-scheduler-form-start-date-group .dx-item,
533
+ .dx-scheduler-form-end-date-group .dx-item,
534
+ .dx-scheduler-form-recurrence-settings-group .dx-item,
535
+ .dx-scheduler-form-day-of-month-group .dx-item,
536
+ .dx-scheduler-form-day-of-year-group .dx-item {
537
+ align-items: end;
538
+
539
+ .dx-datebox input.dx-texteditor-input {
540
+ padding-inline-end: 0;
541
+ }
542
+ }
543
+
544
+ .dx-scheduler-form-recurrence-end-group .dx-item {
545
+ .dx-texteditor-input-container .dx-texteditor-input {
546
+ padding-inline-end: 0;
547
+ }
548
+ }
549
+ .dx-scheduler-form-recurrence-end-group {
550
+ .dx-field-item-label {
551
+ display: flex;
552
+ align-items: center;
553
+ }
554
+
555
+ > .dx-box-item {
556
+ height: 100%;
557
+ margin: 0;
558
+ padding: 0;
559
+ }
560
+ }
561
+
562
+ // RadioGroup and Inputs columns
563
+ .dx-scheduler-form-recurrence-end-editors {
564
+ .dx-field-item-content {
565
+ height: 100%;
566
+ padding: 0;
567
+ }
568
+
569
+ .dx-radiogroup {
570
+ padding: 0;
571
+ height: 100%;
572
+ }
573
+
574
+ .dx-item.dx-radiobutton {
575
+ margin: 8px 0 0 0;
576
+ padding: 0;
577
+ height: $scheduler-recurrence-end-item-height !important; // stylelint-disable-line declaration-no-important
578
+
579
+ &:first-child {
580
+ margin-top: 0;
581
+ }
582
+ }
583
+
584
+ .dx-radiogroup-item {
585
+ align-items: center;
586
+ }
587
+
588
+ .dx-box-item-content {
589
+ height: 100%;
590
+ padding: 0;
591
+ }
592
+
593
+ .dx-box-item {
594
+ height: $scheduler-recurrence-end-item-height;
595
+ margin: 0;
596
+ padding: 0;
597
+
598
+ &:not(:first-child) {
599
+ margin-top: 8px;
600
+ }
601
+
602
+ .dx-box-item-content {
603
+ height: $scheduler-recurrence-end-item-height;
604
+ padding: 0;
605
+ }
606
+ }
607
+
608
+ .dx-field-item,
609
+ .dx-empty-item {
610
+ height: $scheduler-recurrence-end-item-height;
611
+ margin: 0;
612
+ padding: 0 !important; // stylelint-disable-line declaration-no-important
613
+
614
+ .dx-field-item-content {
615
+ padding: 0 !important; // stylelint-disable-line declaration-no-important
616
+ height: $scheduler-recurrence-end-item-height;
617
+ }
618
+ }
619
+
620
+ .dx-texteditor,
621
+ .dx-numberbox {
622
+ height: $scheduler-recurrence-end-item-height;
623
+ }
624
+ }
625
+ .dx-scheduler-form-repeat-editor .dx-scheduler-form-recurrence-settings-button {
626
+ position: relative;
627
+
628
+ .dx-icon {
629
+ color: $scheduler-workspace-accent-color;
630
+ }
631
+ }
632
+
633
+ .dx-scheduler-form-repeat-editor .dx-selectbox.dx-state-readonly .dx-scheduler-form-recurrence-settings-button {
634
+ margin-right: 0;
635
+ }
636
+ .dx-scheduler-days-of-week-buttons {
637
+ display: flex;
638
+ align-items: center;
639
+
640
+ .dx-button {
641
+ border-radius: 50%;
642
+ }
643
+ }
644
+ }
645
+ }
646
+
647
+ .dx-scheduler-legacy-appointment-popup {
463
648
  .dx-form .dx-field-item.dx-appointment-form-switch > div {
464
649
  flex-grow: 0;
465
650
  width: auto;
@@ -513,6 +698,10 @@ $scheduler-appointment-form-label-padding: 20px;
513
698
  }
514
699
 
515
700
  .dx-scheduler-appointment-collector-compact {
701
+ &.dx-scheduler-appointment-collector {
702
+ width: 24px;
703
+ }
704
+
516
705
  .dx-scheduler-appointment-collector-content,
517
706
  .dx-button-content {
518
707
  span:last-child {
@@ -0,0 +1,17 @@
1
+ .dx-speech-to-text-listening {
2
+ animation: dx-speech-to-text-listening-animation 1.5s ease-in-out 0.5s infinite;
3
+ }
4
+
5
+ @keyframes dx-speech-to-text-listening-animation {
6
+ 0% {
7
+ opacity: 1;
8
+ }
9
+
10
+ 50% {
11
+ opacity: 0.4;
12
+ }
13
+
14
+ 100% {
15
+ opacity: 1;
16
+ }
17
+ }
@@ -8,7 +8,7 @@
8
8
  $underlined-top-padding,
9
9
  ) {
10
10
  .dx-textarea {
11
- .dx-texteditor-input-container {
11
+ > .dx-texteditor-container > .dx-texteditor-input-container {
12
12
  margin: $input-container-margin;
13
13
  }
14
14
 
@@ -410,3 +410,7 @@ $treelist-row-error-color: $datagrid-row-error-color;
410
410
  background-color: color.change($treelist-base-color, $alpha: 0.08);
411
411
  }
412
412
  }
413
+
414
+ .dx-command-ai-header-button .dx-button.dx-state-focused {
415
+ outline: 2px solid $treelist-focused-border-color;
416
+ }
@@ -33,7 +33,7 @@ $base-accent-active: null !default;
33
33
  $base-accent-selected: null !default;
34
34
 
35
35
  $fluent-color-theme-modificator: null !default;
36
- $base-font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif !default; // stylelint-disable-line value-keyword-case
36
+ $base-font-family: 'segoe ui', -apple-system, BlinkMacSystemFont, 'avenir next', avenir, 'helvetica neue', 'adwaita sans', cantarell, ubuntu, roboto, noto, helvetica, arial, sans-serif !default;
37
37
  $base-typography-bg: null !default;
38
38
  $base-bg: null !default;
39
39
  $base-hover-bg: null !default;
@@ -55,11 +55,11 @@
55
55
  @use "./filterBuilder";
56
56
  @use "./drawer";
57
57
  @use "./htmlEditor";
58
+ @use "./speechToText";
58
59
  @use "./speedDialAction";
59
60
  @use "./fileManager";
60
61
  @use "./diagram";
61
62
  @use "./gantt";
62
63
  @use "./sortable";
63
- @use "./deferRendering";
64
64
  @use "./map";
65
65
  @use "./cardView";
@@ -23,11 +23,14 @@ $chat-typingindicator-bubble-bg-color: getCustomVar(("$chat-typingindicator-bubb
23
23
  @use "../sizes" as *;
24
24
  @use "../colors" as *;
25
25
  @use "../textEditor/colors" as *;
26
+ @use "../button/colors" as *;
26
27
 
27
28
  // adduse
28
29
  $chat-background-color: $base-bg !default;
29
30
  $chat-border-color: $base-border-color !default;
30
31
  $chat-messagebox-border-color: $chat-border-color !default;
32
+ $chat-messagebox-file-background-color: $button-normal-text-hover-bg !default;
33
+ $chat-messagebox-file-cancel-button-secondary-color: $button-normal-text-selected-bg !default;
31
34
  $chat-message-editing-preview-accent-color: $base-accent !default;
32
35
  $chat-message-editing-preview-cancel-button-color: $texteditor-label-color !default;
33
36
  $chat-avatar-color: $base-text-color !default;
@@ -48,6 +51,10 @@ $chat-typingindicator-color: null !default;
48
51
  $chat-typingindicator-circle-bg-color-center: null !default;
49
52
  $chat-typingindicator-circle-bg-color: null !default;
50
53
 
54
+ $chat-file-container-background-color: $base-bg !default;
55
+ $chat-file-container-box-shadow: null !default;
56
+ $chat-file-secondary-color: null !default;
57
+
51
58
  @if $mode == "light" {
52
59
  $chat-bubble-background-color-secondary: darken($base-bg, 3.92) !default;
53
60
  $chat-information-author-name-color: darken($base-bg, 56.08) !default;
@@ -62,6 +69,9 @@ $chat-typingindicator-circle-bg-color: null !default;
62
69
  $chat-typingindicator-circle-bg-color: darken($base-bg, 29.16) !default;
63
70
  $chat-typingindicator-circle-bg-color-center: darken($base-bg, 56.08) !default;
64
71
 
72
+ $chat-file-container-box-shadow: 0 0 2px 0 color.change($base-shadow-color, $alpha: 0.12), 0 1px 2px 0 color.change($base-shadow-color, $alpha: 0.14) !default;
73
+ $chat-file-secondary-color: $base-icon-color !default;
74
+
65
75
  @if $color == "blue" {
66
76
  $chat-bubble-background-color-primary: lighten(desaturate(adjust-hue($base-accent, 3.8), 11.4), 55.5) !default;
67
77
  $chat-messagelist-empty-icon-background-color: darken($base-bg, 3.92) !default;
@@ -88,6 +98,9 @@ $chat-typingindicator-circle-bg-color: null !default;
88
98
 
89
99
  $chat-typingindicator-circle-bg-color: lighten($base-bg, 33.92) !default;
90
100
  $chat-typingindicator-circle-bg-color-center: lighten($base-bg, 43.92) !default;
101
+
102
+ $chat-file-container-box-shadow: 0 0 2px 0 color.change($base-shadow-color, $alpha: 0.24), 0 1px 2px 0 color.change($base-shadow-color, $alpha: 0.28) !default;
103
+ $chat-file-secondary-color: $base-icon-color !default;
91
104
  }
92
105
  $chat-typingindicator-bubble-bg-color: $chat-bubble-background-color-secondary !default;
93
106
 
@@ -2,6 +2,7 @@
2
2
  @use "colors" as *;
3
3
  @use "sizes" as *;
4
4
  @use "../../base/chat/mixins" as *;
5
+ @use "../common/mixins" as *;
5
6
 
6
7
  // adduse
7
8
 
@@ -15,7 +16,23 @@
15
16
  $chat-avatar-color,
16
17
  $chat-avatar-background-color,
17
18
  );
18
- @include chat-header($chat-header-padding);
19
+ @include chat-file(
20
+ $chat-file-container-width,
21
+ $chat-file-container-padding,
22
+ $chat-file-container-background-color,
23
+ $chat-file-container-border-radius,
24
+ $chat-file-container-box-shadow,
25
+ $chat-file-button-size,
26
+ $chat-file-secondary-font-size,
27
+ $chat-file-secondary-color,
28
+ $chat-file-base-section-gap,
29
+ $chat-file-size-max-width,
30
+ $chat-file-icon-font-size,
31
+ );
32
+ @include chat-fileview(
33
+ $chat-file-view-items-gap,
34
+ $chat-file-container-width,
35
+ );
19
36
  @include chat-alertlist(
20
37
  $chat-alertlist-color,
21
38
  $chat-alerts-padding-block,
@@ -28,7 +45,14 @@
28
45
  $chat-messagebox-border-color,
29
46
  $chat-messagebox-gap,
30
47
  $chat-messagebox-textarea-border-radius,
31
- $chat-messagebox-buton-gap,
48
+ $chat-messagebox-textarea-padding,
49
+ $chat-messagebox-toolbar-min-height,
50
+ $chat-file-container-width,
51
+ $chat-messagebox-files-container-padding,
52
+ $chat-messagebox-files-container-padding-top,
53
+ $chat-messagebox-file-background-color,
54
+ $chat-messagebox-file-cancel-button-secondary-color,
55
+ $chat-file-container-box-shadow,
32
56
  );
33
57
  @include chat-messagebubble(
34
58
  $chat-bubble-padding,
@@ -40,6 +64,7 @@
40
64
  $chat-bubble-container-gap,
41
65
  $chat-bubble-delete-gap,
42
66
  $chat-bubble-delete-icon-size,
67
+ $chat-bubble-gap,
43
68
  );
44
69
  @include chat-messagegroup(
45
70
  $chat-messagegroup-gap,
@@ -111,3 +136,7 @@
111
136
  $chat-confirmation-popup-toolbar-padding-inline,
112
137
  $chat-confirmation-popup-toolbar-gap,
113
138
  );
139
+
140
+ .dx-chat-file {
141
+ @include dx-base-typography();
142
+ }
@@ -14,9 +14,12 @@ $chat-bubble-container-gap: 4px !default;
14
14
  $chat-bubble-delete-gap: null !default;
15
15
  $chat-bubble-delete-icon-size: null !default;
16
16
  $chat-messagebox-padding: null !default;
17
- $chat-messagebox-textarea-border-radius: $texteditor-input-border-radius !default;
17
+ $chat-messagebox-textarea-padding: null !default;
18
+ $chat-messagebox-textarea-border-radius: null !default;
19
+ $chat-messagebox-toolbar-min-height: null !default;
18
20
  $chat-messagebox-gap: 8px !default;
19
- $chat-messagebox-buton-gap: 2px !default;
21
+ $chat-messagebox-files-container-padding: 3px !default;
22
+ $chat-messagebox-files-container-padding-top: 2px !default;
20
23
  $chat-messagelist-padding: null !default;
21
24
  $chat-messagegroup-gap: 4px !default;
22
25
  $chat-messagegroup-padding: null !default;
@@ -24,7 +27,6 @@ $chat-information-gap: 8px !default;
24
27
  $chat-avatar-size: 32px !default;
25
28
  $chat-messagegroup-alignment-start-template: auto 82.5% 1fr !default;
26
29
  $chat-messagegroup-alignment-start-gap: 12px !default;
27
- $chat-header-padding: 20px !default;
28
30
  $chat-information-font-size: 12px !default;
29
31
  $chat-information-icon-size: 12px !default;
30
32
  $chat-information-edited-gap: 2px !default;
@@ -66,12 +68,26 @@ $chat-confirmation-popup-toolbar-padding-block: $fluent-popup-content-withtitle-
66
68
  $chat-confirmation-popup-toolbar-padding-inline: $fluent-popup-content-withtitle-top-padding !default;
67
69
  $chat-confirmation-popup-toolbar-gap: null !default;
68
70
 
71
+ $chat-file-container-width: 17.14em !default;
72
+ $chat-file-container-padding: 7px 8px !default;
73
+ $chat-file-container-border-radius: $fluent-base-border-radius !default;
74
+ $chat-file-button-size: $fluent-button-height !default;
75
+ $chat-file-secondary-font-size: 10px !default;
76
+ $chat-file-base-section-gap: 4px !default;
77
+ $chat-file-size-max-width: 4em !default;
78
+ $chat-file-icon-font-size: null !default;
79
+ $chat-file-view-items-gap: 8px !default;
80
+ $chat-bubble-gap: 8px !default;
81
+
69
82
  @if $size == "default" {
70
83
  $chat-bubble-border-radius: $fluent-base-border-radius * 3 !default;
71
84
  $chat-bubble-padding: 8px 12px !default;
72
85
  $chat-bubble-delete-gap: 4px !default;
73
86
  $chat-bubble-delete-icon-size: 20px !default;
74
87
  $chat-messagebox-padding: 20px !default;
88
+ $chat-messagebox-textarea-border-radius: 8px !default;
89
+ $chat-messagebox-textarea-padding: 12px !default;
90
+ $chat-messagebox-toolbar-min-height: 32px !default;
75
91
  $chat-messagelist-padding: 20px !default;
76
92
  $chat-messagegroup-padding: 24px !default;
77
93
 
@@ -97,6 +113,8 @@ $chat-confirmation-popup-toolbar-gap: null !default;
97
113
  $chat-typingindicator-bubble-border-radius: $chat-bubble-border-radius !default;
98
114
 
99
115
  $chat-confirmation-popup-toolbar-gap: 8px !default;
116
+
117
+ $chat-file-icon-font-size: 20px !default;
100
118
  }
101
119
 
102
120
  @else if $size == "compact" {
@@ -105,6 +123,9 @@ $chat-confirmation-popup-toolbar-gap: null !default;
105
123
  $chat-bubble-delete-gap: 2px !default;
106
124
  $chat-bubble-delete-icon-size: 16px !default;
107
125
  $chat-messagebox-padding: 16px !default;
126
+ $chat-messagebox-textarea-border-radius: 8px !default;
127
+ $chat-messagebox-textarea-padding: 8px !default;
128
+ $chat-messagebox-toolbar-min-height: 24px !default;
108
129
  $chat-messagelist-padding: 16px !default;
109
130
  $chat-messagegroup-padding: 12px !default;
110
131
 
@@ -130,4 +151,6 @@ $chat-confirmation-popup-toolbar-gap: null !default;
130
151
  $chat-typingindicator-bubble-border-radius: $chat-bubble-border-radius !default;
131
152
 
132
153
  $chat-confirmation-popup-toolbar-gap: 4px !default;
154
+
155
+ $chat-file-icon-font-size: 16px !default;
133
156
  }
@@ -4,3 +4,4 @@
4
4
 
5
5
  // adduse
6
6
 
7
+ $colorbox-preview-icon-color: $base-icon-color !default;
@@ -21,13 +21,6 @@
21
21
  padding-inline-start: $fluent-colorbox-preview-width;
22
22
  }
23
23
 
24
- &.dx-colorbox-color-is-not-defined {
25
- .dx-colorbox-color-result-preview {
26
- background: $colorbox-preview-empty-bg no-repeat 0 0;
27
- background-size: contain;
28
- }
29
- }
30
-
31
24
  &::after {
32
25
  left: $fluent-colorbox-preview-padding + 1;
33
26
  }
@@ -52,6 +45,16 @@
52
45
  inset-inline-start: $fluent-colorbox-preview-padding;
53
46
  border: 1px solid;
54
47
  border-color: $colorview-border-color;
48
+
49
+ .dx-icon-colordismiss {
50
+ color: $colorbox-preview-icon-color;
51
+ }
52
+
53
+ .dx-state-disabled & {
54
+ .dx-icon-colordismiss {
55
+ color: $base-foreground-disabled;
56
+ }
57
+ }
55
58
  }
56
59
 
57
60
  .dx-colorbox-overlay {
@@ -12,16 +12,6 @@ $colorview-border-color: $base-border-color !default;
12
12
  $colorview-label-color: $base-label-color !default;
13
13
  $colorview-handle-color: $base-bg !default;
14
14
  $colorview-handle-border-color: $base-border-color !default;
15
- $colorbox-preview-empty-bg: null !default;
16
-
17
-
18
- @if $mode == "light" {
19
- $colorbox-preview-empty-bg: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAQAAACRZI9xAAAAdElEQVQoU4XR0Q3AIAgFQCarie7UrToMc3QIiyIFFGNe5INcgETAegpQefFCCFPwYZI2qFA/M4EQMQAhKxJgiEcKHFFkwUQY3Q4sBAhUerYzkbaiTUk7Ije0dYoMyeYGi35igUeDzMCiTiKgaPx0BAR1csgHXJxUKOJqsbEAAAAASUVORK5CYII=") !default;
20
- }
21
-
22
- @if $mode == "dark" {
23
- $colorbox-preview-empty-bg: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAQAAACRZI9xAAAAdElEQVQoU4XR0Q3AIAgFQCarie7UrToMc3QIiyIFFGNe5INcgETAegpQefFCCFPwYZI2qFA/M4EQMQAhKxJgiEcKHFFkwUQY3Q4sBAhUerYzkbaiTUk7Ije0dYoMyeYGi35igUeDzMCiTiKgaPx0BAR1csgHXJxUKOJqsbEAAAAASUVORK5CYII=") !default;
24
- }
25
15
  $never-used: collector((
26
16
  "$colorbox-overlay-bg": $colorbox-overlay-bg,
27
17
  ));
@@ -22,7 +22,6 @@ $badge-invalid-bg: $base-invalid-color;
22
22
  @include disabled-widget-mixin($opacity);
23
23
  }
24
24
 
25
-
26
25
  @mixin badge-settings() {
27
26
  pointer-events: none;
28
27
  position: absolute;
@@ -15,7 +15,7 @@
15
15
  $fluent-editor-custom-button-margin: 6px;
16
16
 
17
17
  .dx-daterangebox {
18
- @include dx-dropdowneditor-button-icon-styling(eventall);
18
+ @include dx-dropdowneditor-button-icon-styling(daterangepicker);
19
19
 
20
20
  &.dx-editor-outlined,
21
21
  &.dx-editor-filled {