botframework-webchat-fluent-theme 4.18.1-main.20250423.6c68093 → 4.18.1-main.20250423.8c9cf52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "botframework-webchat-fluent-theme",
3
- "version": "4.18.1-main.20250423.6c68093",
3
+ "version": "4.18.1-main.20250423.8c9cf52",
4
4
  "description": "Fluent theme for Bot Framework Web Chat",
5
5
  "main": "./dist/botframework-webchat-fluent-theme.js",
6
6
  "types": "./dist/botframework-webchat-fluent-theme.d.ts",
@@ -72,15 +72,15 @@
72
72
  "@types/math-random": "^1.0.2",
73
73
  "@types/node": "^22.13.4",
74
74
  "@types/react": "^16.14.62",
75
- "botframework-webchat-base": "4.18.1-main.20250423.6c68093",
76
- "botframework-webchat-styles": "4.18.1-main.20250423.6c68093",
75
+ "botframework-webchat-base": "4.18.1-main.20250423.8c9cf52",
76
+ "botframework-webchat-styles": "4.18.1-main.20250423.8c9cf52",
77
77
  "tsup": "^8.3.6",
78
78
  "typescript": "^5.7.3"
79
79
  },
80
80
  "dependencies": {
81
- "botframework-webchat-api": "4.18.1-main.20250423.6c68093",
82
- "botframework-webchat-component": "4.18.1-main.20250423.6c68093",
83
- "botframework-webchat-core": "4.18.1-main.20250423.6c68093",
81
+ "botframework-webchat-api": "4.18.1-main.20250423.8c9cf52",
82
+ "botframework-webchat-component": "4.18.1-main.20250423.8c9cf52",
83
+ "botframework-webchat-core": "4.18.1-main.20250423.8c9cf52",
84
84
  "classnames": "2.5.1",
85
85
  "inject-meta-tag": "0.0.1",
86
86
  "math-random": "2.0.1",
@@ -21,6 +21,8 @@
21
21
  --webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);
22
22
  --webchat-colorNeutralForeground5: var(--colorNeutralForeground5, #7e7e7e);
23
23
 
24
+ --webchat-colorNeutralForegroundOnBrand: var(--colorNeutralForegroundOnBrand, #fff);
25
+
24
26
  --webchat-colorNeutralBackgroundDisabled: var(--colorNeutralBackgroundDisabled, #f0f0f0);
25
27
  --webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);
26
28
  --webchat-colorNeutralBackground1Hover: var(--colorNeutralBackground1Hover, #f5f5f5);
@@ -61,6 +63,9 @@
61
63
  --webchat-colorBrandForegroundLinkPressed: var(--colorBrandForegroundLinkPressed, #014259);
62
64
  --webchat-colorBrandForegroundLinkSelected: var(--colorBrandForegroundLinkSelected, #01678c);
63
65
 
66
+ --webchat-colorBrandBackground: var(--colorBrandBackground, #077fab);
67
+ --webchat-colorBrandBackgroundHover: var(--colorBrandBackgroundHover, #06729a);
68
+ --webchat-colorBrandBackgroundPressed: var(--colorBrandBackgroundPressed, #044760);
64
69
  --webchat-colorBrandBackground2: var(--colorBrandBackground2, #def2fc);
65
70
  --webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);
66
71
  --webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);
@@ -206,7 +211,6 @@
206
211
  --webchat__padding--regular: var(--webchat-spacingVerticalS);
207
212
  --webchat__padding--sendbox: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalMNudge)
208
213
  var(--webchat-spacingHorizontalMNudge);
209
-
210
214
  --webchat__border-animation--color-1: #464feb;
211
215
  --webchat__border-animation--color-2: #47cffa;
212
216
  --webchat__border-animation--color-3: #b47cf8;
@@ -231,6 +235,7 @@
231
235
  :global(.webchat-fluent).theme :global(.webchat__basic-transcript .webchat__basic-transcript__scrollable),
232
236
  :global(.webchat-fluent).theme :global(.webchat__view-code-dialog__code-body),
233
237
  :global(.webchat-fluent).theme :global(.webchat__render-markdown [data-math-type='block']),
238
+ :global(.webchat-fluent).theme :global(.webchat__feedback-form-text-area-input--scroll),
234
239
  :global(.webchat-fluent).theme :global(.webchat__view-code-dialog__body) {
235
240
  /* Edge uses -webkit-scrollbar if scrollbar-* is not set */
236
241
  scrollbar-color: unset;
@@ -623,3 +628,99 @@
623
628
  padding: var(--webchat-spacingVerticalSNudge) var(--webchat-spacingHorizontalM);
624
629
  transition: opacity var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);
625
630
  }
631
+
632
+ /* Feedback Form */
633
+ :global(.webchat-fluent).theme :global(.webchat__feedback-form__body1) {
634
+ font-family: var(--webchat-fontFamilyBase);
635
+ color: var(--webchat-colorNeutralForeground1);
636
+ font-size: var(--webchat-fontSizeBase300);
637
+ font-weight: var(--webchat-fontWeightRegular);
638
+ line-height: var(--webchat-lineHeightBase300);
639
+ }
640
+
641
+ :global(.webchat-fluent).theme :global(.webchat__feedback-form__caption1) {
642
+ font-family: var(--webchat-fontFamilyBase);
643
+ color: var(--webchat-colorNeutralForeground1);
644
+ font-size: var(--webchat-fontSizeBase100);
645
+ font-weight: var(--webchat-fontWeightRegular);
646
+ line-height: var(--webchat-lineHeightBase200);
647
+ }
648
+
649
+ :global(.webchat-fluent).theme :global(.webchat__feedback-form__button__submit) {
650
+ background-color: var(--webchat-colorBrandBackground);
651
+ border: var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackground);
652
+ border-radius: var(--webchat-borderRadiusMedium);
653
+ color: var(--webchat-colorNeutralForegroundOnBrand);
654
+ cursor: pointer;
655
+ font-family: var(--webchat-fontFamilyBase);
656
+ font-size: var(--webchat-fontSizeBase300);
657
+ padding: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalS);
658
+ transition: background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);
659
+
660
+ &:hover {
661
+ background-color: var(--webchat-colorBrandBackgroundHover);
662
+ border: var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackgroundHover);
663
+ }
664
+
665
+ &:focus-visible {
666
+ outline: var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);
667
+ outline-offset: calc(var(--webchat-strokeWidthThin) * -1);
668
+ }
669
+
670
+ &:active {
671
+ background-color: var(--webchat-colorBrandBackgroundPressed);
672
+ border: var(--webchat-strokeWidthThin) solid var(--webchat-colorBrandBackgroundPressed);
673
+ }
674
+ }
675
+
676
+ :global(.webchat-fluent).theme :global(.webchat__feedback-form__button__cancel) {
677
+ background-color: var(--webchat-colorNeutralBackground1);
678
+ border: var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);
679
+ border-radius: var(--webchat-borderRadiusMedium);
680
+ color: var(--webchat-colorNeutralForeground1);
681
+ cursor: pointer;
682
+ font-family: var(--webchat-fontFamilyBase);
683
+ font-size: var(--webchat-fontSizeBase300);
684
+ padding: var(--webchat-spacingVerticalNone) var(--webchat-spacingHorizontalS);
685
+ transition: background-color var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);
686
+
687
+ &:hover {
688
+ background-color: var(--webchat-colorNeutralBackground1Hover);
689
+ border: var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Hover);
690
+ }
691
+
692
+ &:focus-visible {
693
+ outline: var(--webchat-strokeWidthThick) solid var(--webchat-colorStrokeFocus2);
694
+ outline-offset: calc(var(--webchat-strokeWidthThin) * -1);
695
+ }
696
+
697
+ &:active {
698
+ background-color: var(--webchat-colorNeutralBackground1Pressed);
699
+ border: var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1Pressed);
700
+ }
701
+ }
702
+
703
+ :global(.webchat-fluent).theme :global(.webchat__feedback-form-text-area) {
704
+ background-color: var(--webchat-colorNeutralBackground1);
705
+ border-radius: var(--webchat-borderRadiusMedium);
706
+ border: var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);
707
+ font-family: var(--webchat-fontFamilyBase);
708
+ font-size: var(--webchat-fontSizeBase300);
709
+ line-height: var(--webchat-lineHeightBase300);
710
+ gap: var(--webchat-spacingVerticalSNudge);
711
+ padding: var(--webchat-spacingVerticalS) var(--webchat-spacingHorizontalM);
712
+ &::after {
713
+ border-bottom-left-radius: var(--webchat-borderRadiusMedium);
714
+ border-bottom-right-radius: var(--webchat-borderRadiusMedium);
715
+ border-bottom: var(--webchat-strokeWidthThicker) solid var(--webchat-colorBrandForeground1);
716
+ clip-path: inset(calc(100% - var(--webchat-strokeWidthThicker)) 50% 0 50%);
717
+ transition: clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);
718
+ }
719
+ &:focus-within {
720
+ border: var(--webchat-strokeWidthThin) solid var(--webchat-colorNeutralStroke1);
721
+ }
722
+ &:focus-within::after {
723
+ clip-path: inset(calc(100% - var(--webchat-strokeWidthThicker)) 0 0 0);
724
+ transition: clip-path var(--webchat-durationNormal) var(--webchat-curveDecelerateMid);
725
+ }
726
+ }