botframework-webchat 4.15.10-main.20230911.d62393e → 4.15.10-main.20230915.155aecd

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.
@@ -457,207 +457,207 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
457
457
  };
458
458
  };
459
459
  options: {
460
- accent: string;
461
- backgroundColor: string;
462
- subtle: string;
463
- paddingRegular: number;
464
- paddingWide: number;
465
- transitionDuration: string;
466
- fontSizeSmall: string | number;
467
- monospaceFont: string;
468
- primaryFont: string;
469
- rootHeight: string | number;
470
- rootWidth: string | number;
471
- rootZIndex: number;
472
- avatarBorderRadius: string | number;
473
- avatarSize: number;
474
- botAvatarBackgroundColor: string;
475
- botAvatarImage: string;
476
- botAvatarInitials: string;
477
- userAvatarBackgroundColor: string;
478
- userAvatarImage: string;
479
- userAvatarInitials: string;
480
- showAvatarInGroup: true | "sender" | "status";
481
- bubbleBackground: string;
482
- bubbleBorderColor: string;
483
- bubbleBorderRadius: number;
484
- bubbleBorderStyle: string;
485
- bubbleBorderWidth: number;
486
- bubbleFromUserBackground: string;
487
- bubbleFromUserBorderColor: string;
488
- bubbleFromUserBorderRadius: number;
489
- bubbleFromUserBorderStyle: string;
490
- bubbleFromUserBorderWidth: number;
491
- bubbleFromUserNubOffset: number;
492
- bubbleFromUserNubSize: number;
493
- bubbleFromUserTextColor: string;
494
- bubbleImageHeight: number;
495
- bubbleMaxWidth: number;
496
- bubbleMinHeight: number;
497
- bubbleMinWidth: number;
498
- bubbleNubOffset: number;
499
- bubbleNubSize: number;
500
- bubbleTextColor: string;
501
- messageActivityWordBreak: "normal" | "break-all" | "break-word" | "keep-all";
502
- connectivityIconPadding: number;
503
- connectivityMarginLeftRight: number;
504
- connectivityMarginTopBottom: number;
505
- connectivityTextSize: string | number;
506
- failedConnectivity: string | number;
507
- slowConnectivity: string;
508
- notificationText: string;
509
- slowConnectionAfter: number;
510
- emojiSet: (boolean | Record<string, string>) & (false | Record<string, string>);
511
- internalLiveRegionFadeAfter: number;
512
- markdownRespectCRLF: boolean;
513
- markdownExternalLinkIconImage: string;
514
- autoScrollSnapOnActivity: number | boolean;
515
- autoScrollSnapOnActivityOffset: number;
516
- autoScrollSnapOnPage: number | boolean;
517
- autoScrollSnapOnPageOffset: number;
518
- hideSendBox: boolean;
519
- hideUploadButton: boolean;
520
- microphoneButtonColorOnDictate: string;
521
- sendBoxBackground: string;
522
- sendBoxButtonColor: string;
523
- sendBoxButtonShadeBorderRadius: number;
524
- sendBoxButtonShadeColor: string;
525
- sendBoxButtonShadeInset: number;
526
- sendBoxButtonColorOnActive: string;
527
- sendBoxButtonShadeColorOnActive: string;
528
- sendBoxButtonColorOnDisabled: string;
529
- sendBoxButtonShadeColorOnDisabled: string;
530
- sendBoxButtonColorOnFocus: string;
531
- sendBoxButtonShadeColorOnFocus: string;
532
- sendBoxButtonColorOnHover: string;
533
- sendBoxButtonShadeColorOnHover: string;
534
- sendBoxButtonKeyboardFocusIndicatorBorderColor: string;
535
- sendBoxButtonKeyboardFocusIndicatorBorderRadius: string | number;
536
- sendBoxButtonKeyboardFocusIndicatorBorderStyle: string;
537
- sendBoxButtonKeyboardFocusIndicatorBorderWidth: number;
538
- sendBoxButtonKeyboardFocusIndicatorInset: number;
539
- sendBoxDisabledTextColor: string;
540
- sendBoxHeight: string | number;
541
- sendBoxMaxHeight: string | number;
542
- sendBoxTextColor: string;
543
- sendBoxBorderBottom: string | number;
544
- sendBoxBorderLeft: string | number;
545
- sendBoxBorderRight: string | number;
546
- sendBoxBorderTop: string | number;
547
- sendBoxPlaceholderColor: string;
548
- sendBoxTextWrap: boolean;
549
- sendBoxButtonAlignment: "stretch" | "bottom" | "top";
550
- showSpokenText: boolean;
551
- spinnerAnimationBackgroundImage: string;
552
- spinnerAnimationHeight: string | number;
553
- spinnerAnimationWidth: string | number;
554
- spinnerAnimationPadding: string | number;
555
- suggestedActionBorderRadius: string | number;
556
- suggestedActionBackground: string;
557
- suggestedActionBackgroundColor: string;
558
- suggestedActionBorderColor: string;
559
- suggestedActionBorderStyle: string;
560
- suggestedActionBorderWidth: number;
561
- suggestedActionTextColor: string;
562
- suggestedActionBackgroundColorOnDisabled: string;
563
- suggestedActionBorderColorOnDisabled: string;
564
- suggestedActionBorderStyleOnDisabled: string;
565
- suggestedActionBorderWidthOnDisabled: number;
566
- suggestedActionTextColorOnDisabled: string;
567
- suggestedActionBackgroundColorOnActive: string;
568
- suggestedActionBorderColorOnActive: string;
569
- suggestedActionBorderStyleOnActive: string;
570
- suggestedActionBorderWidthOnActive: number;
571
- suggestedActionTextColorOnActive: string;
572
- suggestedActionBackgroundColorOnFocus: string;
573
- suggestedActionBorderColorOnFocus: string;
574
- suggestedActionBorderStyleOnFocus: string;
575
- suggestedActionBorderWidthOnFocus: number;
576
- suggestedActionTextColorOnFocus: string;
577
- suggestedActionBackgroundColorOnHover: string;
578
- suggestedActionBorderColorOnHover: string;
579
- suggestedActionBorderStyleOnHover: string;
580
- suggestedActionBorderWidthOnHover: number;
581
- suggestedActionTextColorOnHover: string;
582
- suggestedActionDisabledBackground: string;
583
- suggestedActionDisabledBorderColor: string;
584
- suggestedActionDisabledBorderStyle: string;
585
- suggestedActionDisabledBorderWidth: number;
586
- suggestedActionDisabledTextColor: string;
587
- suggestedActionHeight: string | number;
588
- suggestedActionImageHeight: string | number;
589
- suggestedActionLayout: "carousel" | "flow" | "stacked";
590
- suggestedActionKeyboardFocusIndicatorBorderColor: string;
591
- suggestedActionKeyboardFocusIndicatorBorderRadius: string | number;
592
- suggestedActionKeyboardFocusIndicatorBorderStyle: string;
593
- suggestedActionKeyboardFocusIndicatorBorderWidth: number;
594
- suggestedActionKeyboardFocusIndicatorInset: number;
595
- suggestedActionActiveBackground: string;
596
- suggestedActionFocusBackground: string;
597
- suggestedActionHoverBackground: string;
598
- suggestedActionsCarouselFlipperCursor: string;
599
- suggestedActionsCarouselFlipperBoxWidth: number;
600
- suggestedActionsCarouselFlipperSize: number;
601
- suggestedActionsFlowMaxHeight: undefined;
602
- suggestedActionsStackedHeight: number | "auto";
603
- suggestedActionsStackedOverflow: "auto" | "scroll" | "hidden" | "visible";
604
- suggestedActionsStackedLayoutButtonMaxHeight: string | number;
605
- suggestedActionsStackedLayoutButtonTextWrap: boolean;
606
- suggestedActionsVisualKeyboardIndicatorColor: string;
607
- suggestedActionsVisualKeyboardIndicatorStyle: string;
608
- suggestedActionsVisualKeyboardIndicatorWidth: number;
609
- groupTimestamp: number | boolean;
610
- sendTimeout: number | ((activity: import("botframework-webchat-core/lib/types/WebChatActivity").WebChatActivity) => number);
611
- sendTimeoutForAttachments: number;
612
- timestampColor: string;
613
- timestampFormat: "absolute" | "relative";
614
- transcriptTerminatorBackgroundColor: string;
615
- transcriptTerminatorBorderRadius: string | number;
616
- transcriptTerminatorColor: string;
617
- transcriptTerminatorFontSize: string | number;
618
- transcriptActivityVisualKeyboardIndicatorColor: string;
619
- transcriptActivityVisualKeyboardIndicatorStyle: string;
620
- transcriptActivityVisualKeyboardIndicatorWidth: string | number;
621
- transcriptVisualKeyboardIndicatorColor: string;
622
- transcriptVisualKeyboardIndicatorStyle: string;
623
- transcriptVisualKeyboardIndicatorWidth: string | number;
624
- scrollToEndButtonBehavior: false | "any" | "unread";
625
- scrollToEndButtonFontSize: string | number;
626
- transcriptOverlayButtonBackground: string;
627
- transcriptOverlayButtonBackgroundOnDisabled: string;
628
- transcriptOverlayButtonBackgroundOnFocus: string;
629
- transcriptOverlayButtonBackgroundOnHover: string;
630
- transcriptOverlayButtonColor: string;
631
- transcriptOverlayButtonColorOnDisabled: string;
632
- transcriptOverlayButtonColorOnFocus: string;
633
- transcriptOverlayButtonColorOnHover: string;
634
- notificationDebounceTimeout: number;
635
- hideToaster: boolean;
636
- toasterHeight: string | number;
637
- toasterMaxHeight: string | number;
638
- toasterSingularMaxHeight: string | number;
639
- toastFontSize: string | number;
640
- toastIconWidth: string | number;
641
- toastSeparatorColor: string;
642
- toastTextPadding: string | number;
643
- toastErrorBackgroundColor: string;
644
- toastErrorColor: string;
645
- toastInfoBackgroundColor: string;
646
- toastInfoColor: string;
647
- toastSuccessBackgroundColor: string;
648
- toastSuccessColor: string;
649
- toastWarnBackgroundColor: string;
650
- toastWarnColor: string;
651
- typingAnimationBackgroundImage: string;
652
- typingAnimationDuration: number;
653
- typingAnimationHeight: string | number;
654
- typingAnimationWidth: string | number;
655
- enableUploadThumbnail: boolean;
656
- uploadThumbnailContentType: string;
657
- uploadThumbnailHeight: string | number;
658
- uploadThumbnailQuality: number;
659
- uploadThumbnailWidth: string | number;
660
- videoHeight: string | number;
460
+ readonly accent: string;
461
+ readonly backgroundColor: string;
462
+ readonly subtle: string;
463
+ readonly paddingRegular: number;
464
+ readonly paddingWide: number;
465
+ readonly transitionDuration: string;
466
+ readonly fontSizeSmall: string | number;
467
+ readonly monospaceFont: string;
468
+ readonly primaryFont: string;
469
+ readonly rootHeight: string | number;
470
+ readonly rootWidth: string | number;
471
+ readonly rootZIndex: number;
472
+ readonly avatarBorderRadius: string | number;
473
+ readonly avatarSize: number;
474
+ readonly botAvatarBackgroundColor: string;
475
+ readonly botAvatarImage: string;
476
+ readonly botAvatarInitials: string;
477
+ readonly userAvatarBackgroundColor: string;
478
+ readonly userAvatarImage: string;
479
+ readonly userAvatarInitials: string;
480
+ readonly showAvatarInGroup: true | "sender" | "status";
481
+ readonly bubbleBackground: string;
482
+ readonly bubbleBorderColor: string;
483
+ readonly bubbleBorderRadius: number;
484
+ readonly bubbleBorderStyle: string;
485
+ readonly bubbleBorderWidth: number;
486
+ readonly bubbleFromUserBackground: string;
487
+ readonly bubbleFromUserBorderColor: string;
488
+ readonly bubbleFromUserBorderRadius: number;
489
+ readonly bubbleFromUserBorderStyle: string;
490
+ readonly bubbleFromUserBorderWidth: number;
491
+ readonly bubbleFromUserNubOffset: number;
492
+ readonly bubbleFromUserNubSize: number;
493
+ readonly bubbleFromUserTextColor: string;
494
+ readonly bubbleImageHeight: number;
495
+ readonly bubbleMaxWidth: number;
496
+ readonly bubbleMinHeight: number;
497
+ readonly bubbleMinWidth: number;
498
+ readonly bubbleNubOffset: number;
499
+ readonly bubbleNubSize: number;
500
+ readonly bubbleTextColor: string;
501
+ readonly messageActivityWordBreak: "normal" | "break-all" | "break-word" | "keep-all";
502
+ readonly connectivityIconPadding: number;
503
+ readonly connectivityMarginLeftRight: number;
504
+ readonly connectivityMarginTopBottom: number;
505
+ readonly connectivityTextSize: string | number;
506
+ readonly failedConnectivity: string | number;
507
+ readonly slowConnectivity: string;
508
+ readonly notificationText: string;
509
+ readonly slowConnectionAfter: number;
510
+ readonly emojiSet: (boolean | Record<string, string>) & (false | Record<string, string>);
511
+ readonly internalLiveRegionFadeAfter: number;
512
+ readonly markdownRespectCRLF: boolean;
513
+ readonly markdownExternalLinkIconImage: string;
514
+ readonly autoScrollSnapOnActivity: number | boolean;
515
+ readonly autoScrollSnapOnActivityOffset: number;
516
+ readonly autoScrollSnapOnPage: number | boolean;
517
+ readonly autoScrollSnapOnPageOffset: number;
518
+ readonly hideSendBox: boolean;
519
+ readonly hideUploadButton: boolean;
520
+ readonly microphoneButtonColorOnDictate: string;
521
+ readonly sendBoxBackground: string;
522
+ readonly sendBoxButtonColor: string;
523
+ readonly sendBoxButtonShadeBorderRadius: number;
524
+ readonly sendBoxButtonShadeColor: string;
525
+ readonly sendBoxButtonShadeInset: number;
526
+ readonly sendBoxButtonColorOnActive: string;
527
+ readonly sendBoxButtonShadeColorOnActive: string;
528
+ readonly sendBoxButtonColorOnDisabled: string;
529
+ readonly sendBoxButtonShadeColorOnDisabled: string;
530
+ readonly sendBoxButtonColorOnFocus: string;
531
+ readonly sendBoxButtonShadeColorOnFocus: string;
532
+ readonly sendBoxButtonColorOnHover: string;
533
+ readonly sendBoxButtonShadeColorOnHover: string;
534
+ readonly sendBoxButtonKeyboardFocusIndicatorBorderColor: string;
535
+ readonly sendBoxButtonKeyboardFocusIndicatorBorderRadius: string | number;
536
+ readonly sendBoxButtonKeyboardFocusIndicatorBorderStyle: string;
537
+ readonly sendBoxButtonKeyboardFocusIndicatorBorderWidth: number;
538
+ readonly sendBoxButtonKeyboardFocusIndicatorInset: number;
539
+ readonly sendBoxDisabledTextColor: string;
540
+ readonly sendBoxHeight: string | number;
541
+ readonly sendBoxMaxHeight: string | number;
542
+ readonly sendBoxTextColor: string;
543
+ readonly sendBoxBorderBottom: string | number;
544
+ readonly sendBoxBorderLeft: string | number;
545
+ readonly sendBoxBorderRight: string | number;
546
+ readonly sendBoxBorderTop: string | number;
547
+ readonly sendBoxPlaceholderColor: string;
548
+ readonly sendBoxTextWrap: boolean;
549
+ readonly sendBoxButtonAlignment: "stretch" | "bottom" | "top";
550
+ readonly showSpokenText: boolean;
551
+ readonly spinnerAnimationBackgroundImage: string;
552
+ readonly spinnerAnimationHeight: string | number;
553
+ readonly spinnerAnimationWidth: string | number;
554
+ readonly spinnerAnimationPadding: string | number;
555
+ readonly suggestedActionBorderRadius: string | number;
556
+ readonly suggestedActionBackground: string;
557
+ readonly suggestedActionBackgroundColor: string;
558
+ readonly suggestedActionBorderColor: string;
559
+ readonly suggestedActionBorderStyle: string;
560
+ readonly suggestedActionBorderWidth: number;
561
+ readonly suggestedActionTextColor: string;
562
+ readonly suggestedActionBackgroundColorOnDisabled: string;
563
+ readonly suggestedActionBorderColorOnDisabled: string;
564
+ readonly suggestedActionBorderStyleOnDisabled: string;
565
+ readonly suggestedActionBorderWidthOnDisabled: number;
566
+ readonly suggestedActionTextColorOnDisabled: string;
567
+ readonly suggestedActionBackgroundColorOnActive: string;
568
+ readonly suggestedActionBorderColorOnActive: string;
569
+ readonly suggestedActionBorderStyleOnActive: string;
570
+ readonly suggestedActionBorderWidthOnActive: number;
571
+ readonly suggestedActionTextColorOnActive: string;
572
+ readonly suggestedActionBackgroundColorOnFocus: string;
573
+ readonly suggestedActionBorderColorOnFocus: string;
574
+ readonly suggestedActionBorderStyleOnFocus: string;
575
+ readonly suggestedActionBorderWidthOnFocus: number;
576
+ readonly suggestedActionTextColorOnFocus: string;
577
+ readonly suggestedActionBackgroundColorOnHover: string;
578
+ readonly suggestedActionBorderColorOnHover: string;
579
+ readonly suggestedActionBorderStyleOnHover: string;
580
+ readonly suggestedActionBorderWidthOnHover: number;
581
+ readonly suggestedActionTextColorOnHover: string;
582
+ readonly suggestedActionDisabledBackground: string;
583
+ readonly suggestedActionDisabledBorderColor: string;
584
+ readonly suggestedActionDisabledBorderStyle: string;
585
+ readonly suggestedActionDisabledBorderWidth: number;
586
+ readonly suggestedActionDisabledTextColor: string;
587
+ readonly suggestedActionHeight: string | number;
588
+ readonly suggestedActionImageHeight: string | number;
589
+ readonly suggestedActionLayout: "carousel" | "flow" | "stacked";
590
+ readonly suggestedActionKeyboardFocusIndicatorBorderColor: string;
591
+ readonly suggestedActionKeyboardFocusIndicatorBorderRadius: string | number;
592
+ readonly suggestedActionKeyboardFocusIndicatorBorderStyle: string;
593
+ readonly suggestedActionKeyboardFocusIndicatorBorderWidth: number;
594
+ readonly suggestedActionKeyboardFocusIndicatorInset: number;
595
+ readonly suggestedActionActiveBackground: string;
596
+ readonly suggestedActionFocusBackground: string;
597
+ readonly suggestedActionHoverBackground: string;
598
+ readonly suggestedActionsCarouselFlipperCursor: string;
599
+ readonly suggestedActionsCarouselFlipperBoxWidth: number;
600
+ readonly suggestedActionsCarouselFlipperSize: number;
601
+ readonly suggestedActionsFlowMaxHeight: undefined;
602
+ readonly suggestedActionsStackedHeight: number | "auto";
603
+ readonly suggestedActionsStackedOverflow: "auto" | "scroll" | "hidden" | "visible";
604
+ readonly suggestedActionsStackedLayoutButtonMaxHeight: string | number;
605
+ readonly suggestedActionsStackedLayoutButtonTextWrap: boolean;
606
+ readonly suggestedActionsVisualKeyboardIndicatorColor: string;
607
+ readonly suggestedActionsVisualKeyboardIndicatorStyle: string;
608
+ readonly suggestedActionsVisualKeyboardIndicatorWidth: number;
609
+ readonly groupTimestamp: number | boolean;
610
+ readonly sendTimeout: number | ((activity: import("botframework-webchat-core/lib/types/WebChatActivity").WebChatActivity) => number);
611
+ readonly sendTimeoutForAttachments: number;
612
+ readonly timestampColor: string;
613
+ readonly timestampFormat: "absolute" | "relative";
614
+ readonly transcriptTerminatorBackgroundColor: string;
615
+ readonly transcriptTerminatorBorderRadius: string | number;
616
+ readonly transcriptTerminatorColor: string;
617
+ readonly transcriptTerminatorFontSize: string | number;
618
+ readonly transcriptActivityVisualKeyboardIndicatorColor: string;
619
+ readonly transcriptActivityVisualKeyboardIndicatorStyle: string;
620
+ readonly transcriptActivityVisualKeyboardIndicatorWidth: string | number;
621
+ readonly transcriptVisualKeyboardIndicatorColor: string;
622
+ readonly transcriptVisualKeyboardIndicatorStyle: string;
623
+ readonly transcriptVisualKeyboardIndicatorWidth: string | number;
624
+ readonly scrollToEndButtonBehavior: false | "any" | "unread";
625
+ readonly scrollToEndButtonFontSize: string | number;
626
+ readonly transcriptOverlayButtonBackground: string;
627
+ readonly transcriptOverlayButtonBackgroundOnDisabled: string;
628
+ readonly transcriptOverlayButtonBackgroundOnFocus: string;
629
+ readonly transcriptOverlayButtonBackgroundOnHover: string;
630
+ readonly transcriptOverlayButtonColor: string;
631
+ readonly transcriptOverlayButtonColorOnDisabled: string;
632
+ readonly transcriptOverlayButtonColorOnFocus: string;
633
+ readonly transcriptOverlayButtonColorOnHover: string;
634
+ readonly notificationDebounceTimeout: number;
635
+ readonly hideToaster: boolean;
636
+ readonly toasterHeight: string | number;
637
+ readonly toasterMaxHeight: string | number;
638
+ readonly toasterSingularMaxHeight: string | number;
639
+ readonly toastFontSize: string | number;
640
+ readonly toastIconWidth: string | number;
641
+ readonly toastSeparatorColor: string;
642
+ readonly toastTextPadding: string | number;
643
+ readonly toastErrorBackgroundColor: string;
644
+ readonly toastErrorColor: string;
645
+ readonly toastInfoBackgroundColor: string;
646
+ readonly toastInfoColor: string;
647
+ readonly toastSuccessBackgroundColor: string;
648
+ readonly toastSuccessColor: string;
649
+ readonly toastWarnBackgroundColor: string;
650
+ readonly toastWarnColor: string;
651
+ readonly typingAnimationBackgroundImage: string;
652
+ readonly typingAnimationDuration: number;
653
+ readonly typingAnimationHeight: string | number;
654
+ readonly typingAnimationWidth: string | number;
655
+ readonly enableUploadThumbnail: boolean;
656
+ readonly uploadThumbnailContentType: string;
657
+ readonly uploadThumbnailHeight: string | number;
658
+ readonly uploadThumbnailQuality: number;
659
+ readonly uploadThumbnailWidth: string | number;
660
+ readonly videoHeight: string | number;
661
661
  };
662
662
  root: {
663
663
  backgroundColor: string;
@@ -1383,17 +1383,17 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1383
1383
  height: string | number;
1384
1384
  width: string;
1385
1385
  };
1386
- cssVariables: {
1387
- '&.webchat__css-variables': {
1386
+ cssCustomProperties: {
1387
+ '&.webchat__css-custom-properties': {
1388
1388
  display: string;
1389
- '--webchat__color--accent': string;
1390
- '--webchat__color--timestamp': string;
1391
- '--webchat__font--primary': string;
1392
- '--webchat__font-size--small': string | number;
1393
- '--webchat__icon-url--external-link': string;
1394
- '--webchat__max-width--bubble': string;
1395
- '--webchat__min-height--bubble': string;
1396
- '--webchat__padding--regular': string;
1389
+ "--webchat__color--accent": string;
1390
+ "--webchat__color--timestamp": string;
1391
+ "--webchat__font--primary": string;
1392
+ "--webchat__font-size--small": string | number;
1393
+ "--webchat__icon-url--external-link": string;
1394
+ "--webchat__max-width--bubble": string;
1395
+ "--webchat__min-height--bubble": string;
1396
+ "--webchat__padding--regular": string;
1397
1397
  };
1398
1398
  };
1399
1399
  linkDefinitions: {
@@ -1494,7 +1494,7 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1494
1494
  gap: number;
1495
1495
  padding: number;
1496
1496
  "@media (forced-colors: none)": {
1497
- color: string;
1497
+ color: "var(--webchat__color--accent)";
1498
1498
  };
1499
1499
  };
1500
1500
  '.webchat__link-definitions__list-item-text': {
@@ -1511,7 +1511,7 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1511
1511
  };
1512
1512
  modalDialog: {
1513
1513
  '&.webchat__modal-dialog': {
1514
- fontFamily: string;
1514
+ fontFamily: "var(--webchat__font--primary)";
1515
1515
  width: string;
1516
1516
  "@media (forced-colors: none)": {
1517
1517
  backgroundColor: string;
@@ -1541,7 +1541,7 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1541
1541
  };
1542
1542
  '& .webchat__modal-dialog__close-button-layout': {
1543
1543
  float: string;
1544
- padding: string;
1544
+ padding: "var(--webchat__padding--regular)";
1545
1545
  };
1546
1546
  '& .webchat__modal-dialog__close-button': {
1547
1547
  height: number;
@@ -1598,7 +1598,7 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1598
1598
  renderMarkdown: {
1599
1599
  '&.webchat__render-markdown': {
1600
1600
  '& .webchat__render-markdown__external-link-icon': {
1601
- backgroundImage: string;
1601
+ backgroundImage: "var(--webchat__icon-url--external-link)";
1602
1602
  height: string;
1603
1603
  marginLeft: string;
1604
1604
  };
@@ -1613,7 +1613,7 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1613
1613
  color: string;
1614
1614
  };
1615
1615
  "@media (forced-colors: none)": {
1616
- color: string;
1616
+ color: "var(--webchat__color--accent)";
1617
1617
  };
1618
1618
  };
1619
1619
  '& .webchat__render-markdown__pure-identifier::after': {
@@ -1626,9 +1626,9 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1626
1626
  };
1627
1627
  sendStatus: {
1628
1628
  '&.webchat__activity-status': {
1629
- color: string;
1630
- fontFamily: string;
1631
- fontSize: string;
1629
+ color: "var(--webchat__color--timestamp)";
1630
+ fontFamily: "var(--webchat__font--primary)";
1631
+ fontSize: "var(--webchat__font-size--small)";
1632
1632
  marginTop: string;
1633
1633
  };
1634
1634
  '&.webchat__activity-status--slotted': {
@@ -1638,7 +1638,7 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1638
1638
  '& .webchat__activity-status__originator': {
1639
1639
  alignItems: string;
1640
1640
  '&.webchat__activity-status__originator--has-link': {
1641
- color: string;
1641
+ color: "var(--webchat__color--accent)";
1642
1642
  };
1643
1643
  };
1644
1644
  };
@@ -1649,20 +1649,20 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1649
1649
  gap: number;
1650
1650
  marginTop: string;
1651
1651
  '& .webchat__slotted-activity-status__pipe': {
1652
- fontSize: string;
1652
+ fontSize: "var(--webchat__font-size--small)";
1653
1653
  };
1654
1654
  };
1655
1655
  };
1656
1656
  textContent: {
1657
1657
  '&.webchat__text-content': {
1658
- fontFamily: string;
1658
+ fontFamily: "var(--webchat__font--primary)";
1659
1659
  margin: number;
1660
1660
  minHeight: string;
1661
- padding: string;
1661
+ padding: "var(--webchat__padding--regular)";
1662
1662
  '&.webchat__text-content--is-markdown': {
1663
1663
  display: string;
1664
1664
  flexDirection: string;
1665
- gap: string;
1665
+ gap: "var(--webchat__padding--regular)";
1666
1666
  };
1667
1667
  '& .webchat__text-content__markdown > :first-child': {
1668
1668
  marginTop: number;
@@ -1671,7 +1671,7 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1671
1671
  marginBottom: number;
1672
1672
  };
1673
1673
  '& .webchat__text-content__markdown img:not(.webchat__render-markdown__external-link-icon)': {
1674
- maxWidth: string;
1674
+ maxWidth: "var(--webchat__max-width--bubble)";
1675
1675
  width: string;
1676
1676
  };
1677
1677
  '& .webchat__text-content__markdown pre': {
@@ -1699,7 +1699,7 @@ export default function createFullStyleSet(options: FullBundleStyleOptions): {
1699
1699
  outline: string;
1700
1700
  };
1701
1701
  '& .webchat__thumb-button__image': {
1702
- color: string;
1702
+ color: "var(--webchat__color--accent)";
1703
1703
  width: number;
1704
1704
  };
1705
1705
  '&:hover .webchat__thumb-button__image:not(.webchat__thumb-button__image--is-filled)': {
@@ -0,0 +1,6 @@
1
+ import type AdaptiveCardsStyleSet from '../adaptiveCards/AdaptiveCardsStyleSet';
2
+ declare const useMinimalStyleSet: typeof import("botframework-webchat-component/lib/hooks").useStyleSet;
3
+ type MinimalStyleSet = ReturnType<typeof useMinimalStyleSet>[0];
4
+ export default function useStyleSet(): readonly [MinimalStyleSet & AdaptiveCardsStyleSet];
5
+ export {};
6
+ //# sourceMappingURL=useStyleSet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStyleSet.d.ts","sourceRoot":"","sources":["../../src/hooks/useStyleSet.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,qBAAqB,MAAM,wCAAwC,CAAC;AAEhF,QAAA,MAAM,kBAAkB,uEAAoB,CAAC;AAE7C,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;AAEhE,MAAM,CAAC,OAAO,UAAU,WAAW,IAAI,SAAS,CAAC,eAAe,GAAG,qBAAqB,CAAC,CAIxF"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = useStyleSet;
9
+
10
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
+
12
+ var _botframeworkWebchatComponent = require("botframework-webchat-component");
13
+
14
+ var useMinimalStyleSet = _botframeworkWebchatComponent.hooks.useStyleSet;
15
+
16
+ function useStyleSet() {
17
+ var _useMinimalStyleSet = useMinimalStyleSet(),
18
+ _useMinimalStyleSet2 = (0, _slicedToArray2.default)(_useMinimalStyleSet, 1),
19
+ styleOptions = _useMinimalStyleSet2[0];
20
+
21
+ return Object.freeze([styleOptions]);
22
+ }
23
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJ1c2VNaW5pbWFsU3R5bGVTZXQiLCJob29rcyIsInVzZVN0eWxlU2V0Iiwic3R5bGVPcHRpb25zIiwiT2JqZWN0IiwiZnJlZXplIl0sInNvdXJjZVJvb3QiOiJidW5kbGU6Ly8vIiwic291cmNlcyI6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Markdown from './markdown/renderMarkdown';
13
13
  import useAdaptiveCardsHostConfig from './adaptiveCards/hooks/useAdaptiveCardsHostConfig';
14
14
  import useAdaptiveCardsPackage from './adaptiveCards/hooks/useAdaptiveCardsPackage';
15
15
  import useStyleOptions from './hooks/useStyleOptions';
16
+ import useStyleSet from './hooks/useStyleSet';
16
17
  declare const renderWebChat: any;
17
18
  export declare const createDirectLine: (options: Omit<Parameters<typeof defaultCreateDirectLine>[0], 'botAgent'>) => import("botframework-directlinejs").DirectLine;
18
19
  export declare const createDirectLineAppServiceExtension: (options: Omit<Parameters<typeof defaultCreateDirectLineAppServiceExtension>[0], 'botAgent'>) => Promise<any>;
@@ -20,6 +21,7 @@ declare const patchedHooks: {
20
21
  useAdaptiveCardsHostConfig: typeof useAdaptiveCardsHostConfig;
21
22
  useAdaptiveCardsPackage: typeof useAdaptiveCardsPackage;
22
23
  useStyleOptions: typeof useStyleOptions;
24
+ useStyleSet: typeof useStyleSet;
23
25
  useDictateAbortable: typeof import("botframework-webchat-component/lib/hooks").useDictateAbortable;
24
26
  useFocus: typeof import("botframework-webchat-component/lib/hooks").useFocus;
25
27
  useFocusSendBox: typeof import("botframework-webchat-component/lib/hooks").useFocusSendBox;
@@ -34,7 +36,6 @@ declare const patchedHooks: {
34
36
  useScrollUp: typeof import("botframework-webchat-component/lib/hooks").useScrollUp;
35
37
  useSendBoxSpeechInterimsVisible: typeof import("botframework-webchat-component/lib/BasicSendBox").useSendBoxSpeechInterimsVisible;
36
38
  useSendFiles: typeof import("botframework-webchat-component/lib/hooks").useSendFiles;
37
- useStyleSet: typeof import("botframework-webchat-component/lib/hooks").useStyleSet;
38
39
  useTextBoxSubmit: typeof import("botframework-webchat-component/lib/SendBox/TextBox").useTextBoxSubmit;
39
40
  useTextBoxValue: typeof import("botframework-webchat-component/lib/SendBox/TextBox").useTextBoxValue;
40
41
  useTypingIndicatorVisible: typeof import("botframework-webchat-component/lib/BasicTypingIndicator").useTypingIndicatorVisible;
@@ -1 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