@qualtrics/ui-react 2.33.1 → 2.34.1
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/CHANGELOG.md +22 -0
- package/dist/__shared/cjs/{index-eabb2673.js → index-58d2165f.js} +154 -144
- package/dist/__shared/cjs/{index-dda93aba.js → index-6ae70787.js} +5 -5
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +2 -1
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField.js +5 -5
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/components/UserIcon.js +2 -2
- package/dist/icons/index.js +2 -2
- package/dist/index.d.ts +7 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +1 -1
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/Chat/Chat.css.js +5 -0
- package/dist/next/Chat/Chat.css.ts.vanilla.js +8 -0
- package/dist/next/Chat/Chat.js +31 -0
- package/dist/next/Chat/ChatContext.js +9 -0
- package/dist/next/Chat/ChatInput.css.js +9 -0
- package/dist/next/Chat/ChatInput.css.ts.vanilla.js +8 -0
- package/dist/next/Chat/ChatInput.js +82 -0
- package/dist/next/Chat/ChatMessage.css.js +17 -0
- package/dist/next/Chat/ChatMessage.css.ts.vanilla.js +8 -0
- package/dist/next/Chat/ChatMessage.js +70 -0
- package/dist/next/Chat/ChatMessageList.css.js +7 -0
- package/dist/next/Chat/ChatMessageList.css.ts.vanilla.js +8 -0
- package/dist/next/Chat/ChatMessageList.js +90 -0
- package/dist/next/Chat/ChatMessageText.js +16 -0
- package/dist/next/Chat/Loader.css.js +9 -0
- package/dist/next/Chat/Loader.css.ts.vanilla.js +8 -0
- package/dist/next/Chat/Loader.js +66 -0
- package/dist/next/Chat/MessageContext.js +9 -0
- package/dist/next/Chat/index.js +4 -0
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/FormFieldWrapper.js +7 -5
- package/dist/next/Form/FormFields/InputField.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +67 -0
- package/dist/next/index.es.js +5 -0
- package/dist/next/index.js +420 -54
- package/dist/translations-en.js +7 -0
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/next/package.json +1 -1
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"numberStepperContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._L-jtE{display:inline-flex}._8qegn{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._8qegn:hover:not(._Zm47P){cursor:pointer;background:#f5f5f5}._8qegn._p23yC{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._8qegn._Zm47P{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._8qegn._Zm47P>svg{opacity:.4}._8qegn::-webkit-inner-spin-button,._8qegn::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._8qegn:focus{z-index:0;border:none;border-radius:4px}._8qegn:focus:not(._p23yC){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._8qegn:focus:not(._Zm47P),._K4kOV{background:#fafafa}._K4kOV{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._K4kOV:hover:not(._Zm47P){cursor:pointer;background:#f5f5f5}._K4kOV:active:not(._Zm47P){background:#e5e5e5}._K4kOV._Zm47P{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._K4kOV._Zm47P>svg{opacity:.4}._QPFhA{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._QPFhA:hover:not(._Zm47P){cursor:pointer;background:#f5f5f5}._QPFhA:active:not(._Zm47P){background:#e5e5e5}._QPFhA._Zm47P{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._QPFhA._Zm47P>svg{opacity:.4}._gh-jm{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
4
|
+
var styles = {"numberStepperContainer":"_L-jtE","numberStepperInput":"_8qegn","disabled":"_Zm47P","invalid":"_p23yC","decrementBtn":"_K4kOV","incrementBtn":"_QPFhA","inputValueAlert":"_gh-jm"};
|
|
5
|
+
var stylesheet="._L-jtE{display:inline-flex}._8qegn{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._8qegn:hover:not(._Zm47P){cursor:pointer;background:#f5f5f5}._8qegn._p23yC{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._8qegn._Zm47P{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._8qegn._Zm47P>svg{opacity:.4}._8qegn::-webkit-inner-spin-button,._8qegn::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._8qegn:focus{z-index:0;border:none;border-radius:4px}._8qegn:focus:not(._p23yC){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._8qegn:focus:not(._Zm47P),._K4kOV{background:#fafafa}._K4kOV{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._K4kOV:hover:not(._Zm47P){cursor:pointer;background:#f5f5f5}._K4kOV:active:not(._Zm47P){background:#e5e5e5}._K4kOV._Zm47P{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._K4kOV._Zm47P>svg{opacity:.4}._QPFhA{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._QPFhA:hover:not(._Zm47P){cursor:pointer;background:#f5f5f5}._QPFhA:active:not(._Zm47P){background:#e5e5e5}._QPFhA._Zm47P{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._QPFhA._Zm47P>svg{opacity:.4}._gh-jm{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"tabs":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._C-CBQ{display:block}._JU5vh{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._WCRUl{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._WCRUl:hover{color:#32363a}._WCRUl:focus{outline:none}._WCRUl._-hx4I{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._I4vnS{padding-top:32px}._I4vnS._AKLzL{display:none}._WCRUl.focus-visible,._WCRUl:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"tabs":"_C-CBQ","bar":"_JU5vh","tab":"_WCRUl","active":"_-hx4I","panel":"_I4vnS","inactive":"_AKLzL"};
|
|
5
|
+
var stylesheet="._C-CBQ{display:block}._JU5vh{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._WCRUl{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._WCRUl:hover{color:#32363a}._WCRUl:focus{outline:none}._WCRUl._-hx4I{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._I4vnS{padding-top:32px}._I4vnS._AKLzL{display:none}._WCRUl.focus-visible,._WCRUl:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"toolbar":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._cWFBK,._nDUqM{display:flex}._cWFBK{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._IqZ13{width:69px;min-width:auto;max-width:none}._wiPXx{width:100%}._NT8Pr{margin-bottom:12px;background-color:transparent!important}._NT8Pr:hover{background-color:rgba(11,110,208,.08)!important}._NT8Pr:hover>svg{fill:#085caf}._NT8Pr:hover>span{color:#085caf}._NT8Pr:active{background-color:rgba(11,110,208,.12)!important}._NT8Pr:active>svg{fill:#0854a1}._NT8Pr:active>span{color:#0854a1}._NT8Pr._R9she{background-color:rgba(11,110,208,.08)!important}._NT8Pr._R9she>svg{fill:#0b6ed0}._NT8Pr._R9she>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._NT8Pr._R9she:hover{background-color:rgba(11,110,208,.08)!important}._NT8Pr._R9she:hover>svg{fill:#085caf}._NT8Pr._R9she:hover>span{color:#085caf}._NT8Pr._R9she:active{background-color:rgba(11,110,208,.12)!important}._NT8Pr._R9she:active>svg{fill:#0854a1}._NT8Pr._R9she:active>span{color:#0854a1}._8ja3U{border-radius:6px}._8ja3U>._pIzFN{display:block;fill:#515559}._TlVVy{margin-top:auto;margin-bottom:0}._xgJcI{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._xgJcI:hover>._QsnqC{opacity:1}._UBEzz{width:0;border-width:0;padding:0}._Z7-Qh{border-radius:4px;min-width:100%;min-height:100%;outline:none}._1ij-1{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._QsnqC{opacity:0}._1ij-1._Pm-7K._Pm-7K,._LA0X6,._QsnqC:hover{opacity:1}._1ij-1._wZFFz._wZFFz{opacity:0}._1ij-1>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._1ij-1>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._1ij-1>span:hover>svg{fill:#fff}._1ij-1>span:active{background-color:#0854a1;border-color:#0854a1}._1ij-1>span:active>svg{fill:#fff}._1ij-1>span>svg{fill:#515559;border-radius:50%}._Z7-Qh._-S-l7{display:none!important}._WAV7i{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._Lm3GM{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._sn9x7{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._18EwQ{fill:#515559}._IrJkh{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._sn9x7.focus-visible,._sn9x7:focus-visible,._WAV7i.focus-visible,._WAV7i:focus-visible,._Z7-Qh.focus-visible,._Z7-Qh:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1ij-1.focus-visible,._1ij-1:focus-visible{border-color:#0a3f88}._1ij-1:active>span{background-color:#0854a1;border-color:#0854a1}._1ij-1:active>span>svg{fill:#fff}._QsnqC.focus-visible,._QsnqC:focus-visible{opacity:1}";
|
|
4
|
+
var styles = {"toolbar":"_nDUqM","toolbarNav":"_cWFBK","toolbarNavCollapsed":"_IqZ13","toolbarTabs":"_wiPXx","toolbarTab":"_NT8Pr","selected":"_R9she","toolbarTabIconButton":"_8ja3U","icon":"_pIzFN","tabsExpandCollapseButton":"_TlVVy","toolbarPanels":"_xgJcI","toolbarPanelExpandCollapseButtonDefaultHidden":"_QsnqC","toolbarPanelsCollapsed":"_UBEzz","toolbarPanel":"_Z7-Qh","toolbarPanelExpandCollapseButton":"_1ij-1","toolbarPanelExpandCollapseButtonDefaultShown":"_LA0X6","overrideShow":"_Pm-7K","overrideHide":"_wZFFz","notSelected":"_-S-l7","buttonWithLabel":"_WAV7i","buttonWithLabelLabel":"_Lm3GM","iconButtonWithLabel":"_sn9x7","iconButtonWithLabelIcon":"_18EwQ","iconButtonWithLabelLabel":"_IrJkh"};
|
|
5
|
+
var stylesheet="._cWFBK,._nDUqM{display:flex}._cWFBK{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._IqZ13{width:69px;min-width:auto;max-width:none}._wiPXx{width:100%}._NT8Pr{margin-bottom:12px;background-color:transparent!important}._NT8Pr:hover{background-color:rgba(11,110,208,.08)!important}._NT8Pr:hover>svg{fill:#085caf}._NT8Pr:hover>span{color:#085caf}._NT8Pr:active{background-color:rgba(11,110,208,.12)!important}._NT8Pr:active>svg{fill:#0854a1}._NT8Pr:active>span{color:#0854a1}._NT8Pr._R9she{background-color:rgba(11,110,208,.08)!important}._NT8Pr._R9she>svg{fill:#0b6ed0}._NT8Pr._R9she>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._NT8Pr._R9she:hover{background-color:rgba(11,110,208,.08)!important}._NT8Pr._R9she:hover>svg{fill:#085caf}._NT8Pr._R9she:hover>span{color:#085caf}._NT8Pr._R9she:active{background-color:rgba(11,110,208,.12)!important}._NT8Pr._R9she:active>svg{fill:#0854a1}._NT8Pr._R9she:active>span{color:#0854a1}._8ja3U{border-radius:6px}._8ja3U>._pIzFN{display:block;fill:#515559}._TlVVy{margin-top:auto;margin-bottom:0}._xgJcI{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._xgJcI:hover>._QsnqC{opacity:1}._UBEzz{width:0;border-width:0;padding:0}._Z7-Qh{border-radius:4px;min-width:100%;min-height:100%;outline:none}._1ij-1{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._QsnqC{opacity:0}._1ij-1._Pm-7K._Pm-7K,._LA0X6,._QsnqC:hover{opacity:1}._1ij-1._wZFFz._wZFFz{opacity:0}._1ij-1>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._1ij-1>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._1ij-1>span:hover>svg{fill:#fff}._1ij-1>span:active{background-color:#0854a1;border-color:#0854a1}._1ij-1>span:active>svg{fill:#fff}._1ij-1>span>svg{fill:#515559;border-radius:50%}._Z7-Qh._-S-l7{display:none!important}._WAV7i{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._Lm3GM{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._sn9x7{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._18EwQ{fill:#515559}._IrJkh{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._sn9x7.focus-visible,._sn9x7:focus-visible,._WAV7i.focus-visible,._WAV7i:focus-visible,._Z7-Qh.focus-visible,._Z7-Qh:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1ij-1.focus-visible,._1ij-1:focus-visible{border-color:#0a3f88}._1ij-1:active>span{background-color:#0854a1;border-color:#0854a1}._1ij-1:active>span>svg{fill:#fff}._QsnqC.focus-visible,._QsnqC:focus-visible{opacity:1}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"overlay":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._ZGJs-{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._YMjYt{visibility:hidden}._dFGtx{position:fixed}";
|
|
4
|
+
var styles = {"overlay":"_ZGJs-","hidden":"_YMjYt","anchoredToBody":"_dFGtx"};
|
|
5
|
+
var stylesheet="._ZGJs-{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._YMjYt{visibility:hidden}._dFGtx{position:fixed}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var classes = {"ariaLiveElement":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._XsqwG{position:absolute;top:-10000px;left:-10000px}";
|
|
4
|
+
var classes = {"ariaLiveElement":"_XsqwG"};
|
|
5
|
+
var stylesheet="._XsqwG{position:absolute;top:-10000px;left:-10000px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { classes as default, stylesheet };
|
package/dist/icons/Icon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"icon":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._dZPhZ{flex-shrink:0}";
|
|
4
|
+
var styles = {"icon":"_dZPhZ"};
|
|
5
|
+
var stylesheet="._dZPhZ{flex-shrink:0}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import createIconComponent from '../createIconComponent.js';
|
|
2
2
|
|
|
3
3
|
/* THIS FILE IS AUTO-GENERATED */
|
|
4
|
-
var
|
|
4
|
+
var RawUserIcon = /*#__PURE__*/createIconComponent('User', '<path fill-rule="evenodd" clip-rule="evenodd" d="M7.2375 7.4125C7.2375 4.87199 9.29699 2.8125 11.8375 2.8125C14.378 2.8125 16.4375 4.87199 16.4375 7.4125C16.4375 9.95301 14.378 12.0125 11.8375 12.0125C9.29699 12.0125 7.2375 9.95301 7.2375 7.4125ZM11.8375 4.3125C10.1254 4.3125 8.7375 5.70042 8.7375 7.4125C8.7375 9.12458 10.1254 10.5125 11.8375 10.5125C13.5496 10.5125 14.9375 9.12458 14.9375 7.4125C14.9375 5.70042 13.5496 4.3125 11.8375 4.3125Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.8375 13.6625C8.30288 13.6625 5.4375 16.5279 5.4375 20.0625C5.4375 20.4767 5.10171 20.8125 4.6875 20.8125C4.27329 20.8125 3.9375 20.4767 3.9375 20.0625C3.9375 15.6995 7.47445 12.1625 11.8375 12.1625C16.2006 12.1625 19.7375 15.6995 19.7375 20.0625C19.7375 20.4767 19.4017 20.8125 18.9875 20.8125C18.5733 20.8125 18.2375 20.4767 18.2375 20.0625C18.2375 16.5279 15.3721 13.6625 11.8375 13.6625Z"/>');
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { RawUserIcon as default };
|
package/dist/icons/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var icons_index = require('../__shared/cjs/index-
|
|
5
|
+
var icons_index = require('../__shared/cjs/index-6ae70787.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/extends');
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
|
@@ -500,7 +500,7 @@ exports.UpperCaseIcon = icons_index.UpperCaseIcon;
|
|
|
500
500
|
exports.UpvoteFilledIcon = icons_index.UpvoteFilledIcon;
|
|
501
501
|
exports.UpvoteIcon = icons_index.UpvoteIcon;
|
|
502
502
|
exports.UserGroupIcon = icons_index.UserGroupIcon;
|
|
503
|
-
exports.UserIcon = icons_index.
|
|
503
|
+
exports.UserIcon = icons_index.RawUserIcon;
|
|
504
504
|
exports.UserLockedIcon = icons_index.UserLockedIcon;
|
|
505
505
|
exports.ValidationIcon = icons_index.ValidationIcon;
|
|
506
506
|
exports.VariableNamingIcon = icons_index.VariableNamingIcon;
|
package/dist/index.d.ts
CHANGED
|
@@ -502,6 +502,13 @@ export declare interface ConfigPaneProps {
|
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
declare const _default: {
|
|
505
|
+
"chat.inputLabel": string;
|
|
506
|
+
"chat.sendMessageButtonLabel": string;
|
|
507
|
+
"chat.botLabel": string;
|
|
508
|
+
"chat.userLabel": string;
|
|
509
|
+
"chat.loaderLabel": string;
|
|
510
|
+
"chat.cancelButtonLabel": string;
|
|
511
|
+
"chat.accessibleMessageLabel": string;
|
|
505
512
|
"filePicker.single": string;
|
|
506
513
|
"filePicker.multiple": string;
|
|
507
514
|
"logicEditor.all": string;
|
package/dist/index.es.js
CHANGED
|
@@ -102,6 +102,6 @@ export { default as deprecated_ToolbarPanel } from './components/deprecated_Tool
|
|
|
102
102
|
|
|
103
103
|
/* eslint-disable camelcase */
|
|
104
104
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
105
|
-
const version = '2.
|
|
105
|
+
const version = '2.34.1';
|
|
106
106
|
|
|
107
107
|
export { version };
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./__shared/cjs/index-
|
|
5
|
+
var index = require('./__shared/cjs/index-58d2165f.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('./__shared/cjs/index-
|
|
8
|
+
require('./__shared/cjs/index-6ae70787.js');
|
|
9
9
|
require('@babel/runtime-corejs3/helpers/extends');
|
|
10
10
|
require('react-popper');
|
|
11
11
|
require('@popperjs/core');
|
|
@@ -21,7 +21,7 @@ require('throttle-debounce');
|
|
|
21
21
|
|
|
22
22
|
/* eslint-disable camelcase */
|
|
23
23
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
24
|
-
const version = '2.
|
|
24
|
+
const version = '2.34.1';
|
|
25
25
|
|
|
26
26
|
exports.Accordion = index.Accordion;
|
|
27
27
|
exports.AccordionHeader = index.AccordionHeader;
|
|
@@ -547,7 +547,7 @@ const AdvancedTable = _ref => {
|
|
|
547
547
|
const getExpandableRowsSpacer = function (width, inHeader) {
|
|
548
548
|
let children = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
549
549
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
550
|
-
className: classNames(styles.advancedTableExpandRowSpacer, {
|
|
550
|
+
className: classNames(styles.advancedTableExpandRowSpacer, styles.advancedTableRowChild, {
|
|
551
551
|
[styles.header]: inHeader
|
|
552
552
|
}),
|
|
553
553
|
style: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"advancedTable":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._o8sfA{overflow:auto;position:relative;max-width:100%;max-height:100%}._7Z7En,._o8sfA{background-color:#fff}._7Z7En{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._4B5xD{margin-bottom:4px}._rJFQx{position:-webkit-sticky;position:sticky;top:0;z-index:100}._qNnv3{display:flex}._qNnv3:focus{outline:none}._qNnv3.focus-visible ._ukqni:after,._qNnv3:focus-visible ._ukqni:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._qNnv3.focus-visible ._ukqni:last-of-type:after,._qNnv3:focus-visible ._ukqni:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._qNnv3.focus-visible ._ukqni:first-of-type:after,._qNnv3:focus-visible ._ukqni:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._qNnv3.focus-visible ._ukqni._5dO3L:after,._qNnv3:focus-visible ._ukqni._5dO3L:after{right:-3px;bottom:1px}._x4v9S{padding-right:3px}._5Y-Wo{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._lKC-4{display:flex}._lKC-4._nmPSE ._ukqni,._lKC-4._nmPSE ._zEVlR{cursor:pointer}._lKC-4._tMFfP ._ukqni,._lKC-4._tMFfP ._zEVlR{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._lKC-4._tMFfP ._ukqni._5dO3L,._lKC-4._tMFfP ._zEVlR._5dO3L{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._lKC-4._tMFfP ._ukqni._5dO3L ._hiLog,._lKC-4._tMFfP ._ukqni._5dO3L ._pYhwk,._lKC-4._tMFfP ._ukqni._5dO3L ._zEVlR,._lKC-4._tMFfP ._zEVlR._5dO3L ._hiLog,._lKC-4._tMFfP ._zEVlR._5dO3L ._pYhwk,._lKC-4._tMFfP ._zEVlR._5dO3L ._zEVlR{background-color:rgba(11,110,208,.08)}._lKC-4._nmPSE:hover:not(._tMFfP) ._ukqni,._lKC-4._nmPSE:hover:not(._tMFfP) ._zEVlR{background-color:#f9f9f9}._lKC-4._nmPSE:active:not(._tMFfP):not(._lKC-4._nmPSE:active:not(._tMFfP):has(._pYhwk:active)) ._ukqni,._lKC-4._nmPSE:active:not(._tMFfP):not(._lKC-4._nmPSE:active:not(._tMFfP):has(._pYhwk:active)) ._zEVlR{background-color:#f3f3f3}._lKC-4:focus{outline:none}._lKC-4.focus-visible ._ukqni:after,._lKC-4:focus-visible ._ukqni:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._lKC-4.focus-visible ._ukqni:last-of-type:after,._lKC-4:focus-visible ._ukqni:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._lKC-4.focus-visible ._ukqni:first-of-type:after,._lKC-4:focus-visible ._ukqni:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._lKC-4.focus-visible ._ukqni._5dO3L:after,._lKC-4:focus-visible ._ukqni._5dO3L:after{right:-3px;bottom:0}._lKC-4:last-of-type:focus{outline:none}._lKC-4:last-of-type.focus-visible ._ukqni:after,._lKC-4:last-of-type:focus-visible ._ukqni:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._lKC-4:last-of-type.focus-visible ._ukqni:last-of-type:after,._lKC-4:last-of-type:focus-visible ._ukqni:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._lKC-4:last-of-type.focus-visible ._ukqni:first-of-type:after,._lKC-4:last-of-type:focus-visible ._ukqni:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._lKC-4:last-of-type.focus-visible ._ukqni._5dO3L:after,._lKC-4:last-of-type:focus-visible ._ukqni._5dO3L:after{right:-3px;bottom:1px}._lKC-4:last-of-type ._hiLog:focus{outline:none}._lKC-4:last-of-type ._hiLog._PAL6l.focus-visible:after,._lKC-4:last-of-type ._hiLog._PAL6l:focus-visible:after,._lKC-4:last-of-type ._hiLog.focus-visible:after,._lKC-4:last-of-type ._hiLog:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._lKC-4:first-of-type:focus{outline:none}._lKC-4:first-of-type.focus-visible ._ukqni:after,._lKC-4:first-of-type:focus-visible ._ukqni:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._lKC-4:first-of-type.focus-visible ._ukqni:last-of-type:after,._lKC-4:first-of-type:focus-visible ._ukqni:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._lKC-4:first-of-type.focus-visible ._ukqni:first-of-type:after,._lKC-4:first-of-type:focus-visible ._ukqni:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._lKC-4:first-of-type.focus-visible ._ukqni._5dO3L:after,._lKC-4:first-of-type:focus-visible ._ukqni._5dO3L:after{right:-3px;bottom:0}._lKC-4:first-of-type ._hiLog:focus{outline:none}._lKC-4:first-of-type ._hiLog._PAL6l.focus-visible:after,._lKC-4:first-of-type ._hiLog._PAL6l:focus-visible:after,._lKC-4:first-of-type ._hiLog.focus-visible:after,._lKC-4:first-of-type ._hiLog:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._x63Rv{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._x63Rv._dqG31{flex-grow:1}._x63Rv._AKDGK{cursor:pointer}._x63Rv._AKDGK:hover:not(._cecwP){background-color:#f9f9f9;border-bottom-color:#6a6d70}._x63Rv._AKDGK:active:not(._cecwP){background-color:#f3f3f3}._x63Rv._sSNKn:not(._cecwP){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._x63Rv._cecwP{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._x63Rv ._gsWD6{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._x63Rv ._gsWD6._zX5hv{left:-1px}._x63Rv ._gsWD6._lu-jG{right:0}._x63Rv ._8Ke6v{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._x63Rv ._8Ke6v._zX5hv{left:-2px}._x63Rv ._8Ke6v._lu-jG{right:-1px}._x63Rv:first-of-type ._zX5hv._gsWD6{left:0;width:2px;border-left:1px solid #fff}._x63Rv:first-of-type ._zX5hv._8Ke6v{left:0}._x63Rv:last-of-type ._lu-jG._gsWD6{right:0;width:2px;border-right:1px solid #fff}._x63Rv:last-of-type ._lu-jG._8Ke6v{right:0}._x63Rv ._iqxs2{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._x63Rv ._iqxs2 ._MBc4E{position:absolute;width:2px;right:2px;top:0;bottom:0}._x63Rv ._iqxs2 ._MBc4E._b9Uk7{background-color:#0a6ed1}._x63Rv ._iqxs2:hover ._MBc4E:not(._b9Uk7){background-color:#d9d9d9}._x63Rv ._9CApC{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._x63Rv ._9CApC._SOrnc{flex-direction:row-reverse;justify-content:flex-start}._x63Rv ._9CApC._SOrnc ._9tseh{margin:1px 7px 1px 1px}._x63Rv ._9CApC ._LAqn-{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._x63Rv ._9CApC ._9tseh{margin:1px 1px 1px 7px;flex-shrink:0}._x63Rv ._kXYxe{margin-left:6px;margin-right:4px;flex-shrink:0}._x63Rv ._XqR19{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._x63Rv:focus{outline:none}._x63Rv._PAL6l.focus-visible:after,._x63Rv._PAL6l:focus-visible:after,._x63Rv.focus-visible:after,._x63Rv:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._xykJV{margin-right:6px}._5dO3L{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._5dO3L[focus-within]{z-index:30}._5dO3L:focus-within{z-index:30}._hiLog{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._hiLog ._Ckwtn{width:100%;padding:12px 12px 11px;overflow:hidden}._hiLog._cecwP{background-color:#efefef;border-bottom-color:#dfdfe1}._hiLog._dqG31{flex-grow:1}._hiLog:focus{outline:none}._hiLog._PAL6l.focus-visible:after,._hiLog._PAL6l:focus-visible:after,._hiLog.focus-visible:after,._hiLog:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._zEVlR{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._zEVlR._jnJZb{border-bottom-color:#d9d9d9;background-color:#fff}._pYhwk{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._pYhwk._jnJZb{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._pYhwk:focus input~span,._pYhwk:hover input~span{border-color:#0b6ed0}._sPj6H{justify-content:flex-start}._Of8yi{justify-content:center;text-align:center}._SOrnc{justify-content:flex-end;text-align:right}._CHf8W{display:none}._W2ca7{opacity:0;height:0;width:0;overflow:hidden}._bVaiM,._W2ca7{position:absolute}._bVaiM{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._WR8dg{max-width:250px;min-width:150px!important}";
|
|
4
|
+
var styles = {"advancedTable":"_o8sfA","advancedTablePaginationContainer":"_7Z7En","advancedTablePagination":"_4B5xD","advancedTableColumnHeadersRowGroup":"_rJFQx","advancedTableColumnHeaders":"_qNnv3","advancedTableRowChild":"_ukqni","pinnedContainer":"_5dO3L","advancedTableRowGroup":"_x4v9S","advancedTableRowRestrictedWidth":"_5Y-Wo","advancedTableRow":"_lKC-4","hasRowAction":"_nmPSE","advancedTableExpandRowSpacer":"_zEVlR","isSelected":"_tMFfP","advancedTableCheckbox":"_pYhwk","advancedTableCell":"_hiLog","showFocusRing":"_PAL6l","advancedTableColumnHeader":"_x63Rv","fillRemainingSpace":"_dqG31","isSortable":"_AKDGK","isDragging":"_cecwP","isSorted":"_sSNKn","dropTargetLine":"_gsWD6","dropTargetLeft":"_zX5hv","dropTargetRight":"_lu-jG","dropTargetMarker":"_8Ke6v","resizeHandle":"_iqxs2","resizeLine":"_MBc4E","isResizing":"_b9Uk7","advancedTableColumnHeaderLabel":"_9CApC","rightAligned":"_SOrnc","sortIcon":"_9tseh","advancedTableColumnHeaderLabelText":"_LAqn-","advancedTableColumnHeaderMenu":"_kXYxe","advancedTableColumnHeaderMenuHiddenAnchor":"_XqR19","advancedTableColumnHeaderMenuItemIcon":"_xykJV","advancedTableCellContainer":"_Ckwtn","header":"_jnJZb","leftAligned":"_sPj6H","centerAligned":"_Of8yi","hiddenDescription":"_CHf8W","hiddenLiveRegion":"_W2ca7","dragPreview":"_bVaiM","rowActionMenuPane":"_WR8dg"};
|
|
5
|
+
var stylesheet="._o8sfA{overflow:auto;position:relative;max-width:100%;max-height:100%}._7Z7En,._o8sfA{background-color:#fff}._7Z7En{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._4B5xD{margin-bottom:4px}._rJFQx{position:-webkit-sticky;position:sticky;top:0;z-index:100}._qNnv3{display:flex}._qNnv3:focus{outline:none}._qNnv3.focus-visible ._ukqni:after,._qNnv3:focus-visible ._ukqni:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._qNnv3.focus-visible ._ukqni:last-of-type:after,._qNnv3:focus-visible ._ukqni:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._qNnv3.focus-visible ._ukqni:first-of-type:after,._qNnv3:focus-visible ._ukqni:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._qNnv3.focus-visible ._ukqni._5dO3L:after,._qNnv3:focus-visible ._ukqni._5dO3L:after{right:-3px;bottom:1px}._x4v9S{padding-right:3px}._5Y-Wo{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._lKC-4{display:flex}._lKC-4._nmPSE ._ukqni,._lKC-4._nmPSE ._zEVlR{cursor:pointer}._lKC-4._tMFfP ._ukqni,._lKC-4._tMFfP ._zEVlR{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._lKC-4._tMFfP ._ukqni._5dO3L,._lKC-4._tMFfP ._zEVlR._5dO3L{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._lKC-4._tMFfP ._ukqni._5dO3L ._hiLog,._lKC-4._tMFfP ._ukqni._5dO3L ._pYhwk,._lKC-4._tMFfP ._ukqni._5dO3L ._zEVlR,._lKC-4._tMFfP ._zEVlR._5dO3L ._hiLog,._lKC-4._tMFfP ._zEVlR._5dO3L ._pYhwk,._lKC-4._tMFfP ._zEVlR._5dO3L ._zEVlR{background-color:rgba(11,110,208,.08)}._lKC-4._nmPSE:hover:not(._tMFfP) ._ukqni,._lKC-4._nmPSE:hover:not(._tMFfP) ._zEVlR{background-color:#f9f9f9}._lKC-4._nmPSE:active:not(._tMFfP):not(._lKC-4._nmPSE:active:not(._tMFfP):has(._pYhwk:active)) ._ukqni,._lKC-4._nmPSE:active:not(._tMFfP):not(._lKC-4._nmPSE:active:not(._tMFfP):has(._pYhwk:active)) ._zEVlR{background-color:#f3f3f3}._lKC-4:focus{outline:none}._lKC-4.focus-visible ._ukqni:after,._lKC-4:focus-visible ._ukqni:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._lKC-4.focus-visible ._ukqni:last-of-type:after,._lKC-4:focus-visible ._ukqni:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._lKC-4.focus-visible ._ukqni:first-of-type:after,._lKC-4:focus-visible ._ukqni:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._lKC-4.focus-visible ._ukqni._5dO3L:after,._lKC-4:focus-visible ._ukqni._5dO3L:after{right:-3px;bottom:0}._lKC-4:last-of-type:focus{outline:none}._lKC-4:last-of-type.focus-visible ._ukqni:after,._lKC-4:last-of-type:focus-visible ._ukqni:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._lKC-4:last-of-type.focus-visible ._ukqni:last-of-type:after,._lKC-4:last-of-type:focus-visible ._ukqni:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._lKC-4:last-of-type.focus-visible ._ukqni:first-of-type:after,._lKC-4:last-of-type:focus-visible ._ukqni:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._lKC-4:last-of-type.focus-visible ._ukqni._5dO3L:after,._lKC-4:last-of-type:focus-visible ._ukqni._5dO3L:after{right:-3px;bottom:1px}._lKC-4:last-of-type ._hiLog:focus{outline:none}._lKC-4:last-of-type ._hiLog._PAL6l.focus-visible:after,._lKC-4:last-of-type ._hiLog._PAL6l:focus-visible:after,._lKC-4:last-of-type ._hiLog.focus-visible:after,._lKC-4:last-of-type ._hiLog:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._lKC-4:first-of-type:focus{outline:none}._lKC-4:first-of-type.focus-visible ._ukqni:after,._lKC-4:first-of-type:focus-visible ._ukqni:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._lKC-4:first-of-type.focus-visible ._ukqni:last-of-type:after,._lKC-4:first-of-type:focus-visible ._ukqni:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._lKC-4:first-of-type.focus-visible ._ukqni:first-of-type:after,._lKC-4:first-of-type:focus-visible ._ukqni:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._lKC-4:first-of-type.focus-visible ._ukqni._5dO3L:after,._lKC-4:first-of-type:focus-visible ._ukqni._5dO3L:after{right:-3px;bottom:0}._lKC-4:first-of-type ._hiLog:focus{outline:none}._lKC-4:first-of-type ._hiLog._PAL6l.focus-visible:after,._lKC-4:first-of-type ._hiLog._PAL6l:focus-visible:after,._lKC-4:first-of-type ._hiLog.focus-visible:after,._lKC-4:first-of-type ._hiLog:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._x63Rv{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._x63Rv._dqG31{flex-grow:1}._x63Rv._AKDGK{cursor:pointer}._x63Rv._AKDGK:hover:not(._cecwP){background-color:#f9f9f9;border-bottom-color:#6a6d70}._x63Rv._AKDGK:active:not(._cecwP){background-color:#f3f3f3}._x63Rv._sSNKn:not(._cecwP){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._x63Rv._cecwP{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._x63Rv ._gsWD6{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._x63Rv ._gsWD6._zX5hv{left:-1px}._x63Rv ._gsWD6._lu-jG{right:0}._x63Rv ._8Ke6v{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._x63Rv ._8Ke6v._zX5hv{left:-2px}._x63Rv ._8Ke6v._lu-jG{right:-1px}._x63Rv:first-of-type ._zX5hv._gsWD6{left:0;width:2px;border-left:1px solid #fff}._x63Rv:first-of-type ._zX5hv._8Ke6v{left:0}._x63Rv:last-of-type ._lu-jG._gsWD6{right:0;width:2px;border-right:1px solid #fff}._x63Rv:last-of-type ._lu-jG._8Ke6v{right:0}._x63Rv ._iqxs2{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._x63Rv ._iqxs2 ._MBc4E{position:absolute;width:2px;right:2px;top:0;bottom:0}._x63Rv ._iqxs2 ._MBc4E._b9Uk7{background-color:#0a6ed1}._x63Rv ._iqxs2:hover ._MBc4E:not(._b9Uk7){background-color:#d9d9d9}._x63Rv ._9CApC{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._x63Rv ._9CApC._SOrnc{flex-direction:row-reverse;justify-content:flex-start}._x63Rv ._9CApC._SOrnc ._9tseh{margin:1px 7px 1px 1px}._x63Rv ._9CApC ._LAqn-{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._x63Rv ._9CApC ._9tseh{margin:1px 1px 1px 7px;flex-shrink:0}._x63Rv ._kXYxe{margin-left:6px;margin-right:4px;flex-shrink:0}._x63Rv ._XqR19{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._x63Rv:focus{outline:none}._x63Rv._PAL6l.focus-visible:after,._x63Rv._PAL6l:focus-visible:after,._x63Rv.focus-visible:after,._x63Rv:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._xykJV{margin-right:6px}._5dO3L{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._5dO3L[focus-within]{z-index:30}._5dO3L:focus-within{z-index:30}._hiLog{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._hiLog ._Ckwtn{width:100%;padding:12px 12px 11px;overflow:hidden}._hiLog._cecwP{background-color:#efefef;border-bottom-color:#dfdfe1}._hiLog._dqG31{flex-grow:1}._hiLog:focus{outline:none}._hiLog._PAL6l.focus-visible:after,._hiLog._PAL6l:focus-visible:after,._hiLog.focus-visible:after,._hiLog:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._zEVlR{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._zEVlR._jnJZb{border-bottom-color:#d9d9d9;background-color:#fff}._pYhwk{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._pYhwk._jnJZb{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._pYhwk:focus input~span,._pYhwk:hover input~span{border-color:#0b6ed0}._sPj6H{justify-content:flex-start}._Of8yi{justify-content:center;text-align:center}._SOrnc{justify-content:flex-end;text-align:right}._CHf8W{display:none}._W2ca7{opacity:0;height:0;width:0;overflow:hidden}._bVaiM,._W2ca7{position:absolute}._bVaiM{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._WR8dg{max-width:250px;min-width:150px!important}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".Chat_default__5suibh0{width:100%;height:100%;display:flex;flex-direction:column}";
|
|
4
|
+
var Chat_css_ts_vanilla = {"Chat_default__5suibh0":"Chat_default__5suibh0"};
|
|
5
|
+
var stylesheet=".Chat_default__5suibh0{width:100%;height:100%;display:flex;flex-direction:column}";
|
|
6
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
|
+
|
|
8
|
+
export { Chat_css_ts_vanilla as default, stylesheet };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React__default, { forwardRef, useRef } from 'react';
|
|
2
|
+
import __default__ from './Chat.css.js';
|
|
3
|
+
import { ChatProvider } from './ChatContext.js';
|
|
4
|
+
|
|
5
|
+
const Chat = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
6
|
+
let {
|
|
7
|
+
children,
|
|
8
|
+
onMessageCancel: externalOnMessageCancel,
|
|
9
|
+
isLoading = false,
|
|
10
|
+
'data-testid': dataTestId
|
|
11
|
+
} = _ref;
|
|
12
|
+
const chatInputRef = useRef(null);
|
|
13
|
+
const onMessageCancel = () => {
|
|
14
|
+
var _chatInputRef$current;
|
|
15
|
+
externalOnMessageCancel === null || externalOnMessageCancel === void 0 || externalOnMessageCancel();
|
|
16
|
+
(_chatInputRef$current = chatInputRef.current) === null || _chatInputRef$current === void 0 || _chatInputRef$current.focus();
|
|
17
|
+
};
|
|
18
|
+
return /*#__PURE__*/React__default.createElement(ChatProvider, {
|
|
19
|
+
value: {
|
|
20
|
+
isLoading,
|
|
21
|
+
onMessageCancel,
|
|
22
|
+
chatInputRef
|
|
23
|
+
}
|
|
24
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
25
|
+
className: __default__,
|
|
26
|
+
ref: ref,
|
|
27
|
+
"data-testid": dataTestId
|
|
28
|
+
}, children));
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export { Chat as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import '../../utils/index.js';
|
|
2
|
+
import createContextUtilities from '../../utils/createContextUtilities/createContextUtilities.js';
|
|
3
|
+
|
|
4
|
+
const {
|
|
5
|
+
Provider: ChatProvider,
|
|
6
|
+
useContext: useChatContext
|
|
7
|
+
} = createContextUtilities();
|
|
8
|
+
|
|
9
|
+
export { ChatProvider, useChatContext };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import './ChatInput.css.ts.vanilla.js';
|
|
2
|
+
|
|
3
|
+
var sendButton = 'ChatInput_sendButton__1k9xlz94';
|
|
4
|
+
var sizer = 'ChatInput_sizer__1k9xlz92';
|
|
5
|
+
var textArea = 'ChatInput_textArea__1k9xlz93';
|
|
6
|
+
var textAreaAndButtonContainer = 'ChatInput_textAreaAndButtonContainer__1k9xlz91';
|
|
7
|
+
var wrapper = 'ChatInput_wrapper__1k9xlz90';
|
|
8
|
+
|
|
9
|
+
export { sendButton, sizer, textArea, textAreaAndButtonContainer, wrapper };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".ChatInput_wrapper__1k9xlz90{flex:0 0;padding:20px 12px}.ChatInput_textAreaAndButtonContainer__1k9xlz91{position:relative;width:100%}.ChatInput_sizer__1k9xlz92{width:100%;max-height:187px;min-height:44px;padding:13px 58px 13px 14px!important;border:1px solid transparent;line-height:18px;font-size:14px;overflow-wrap:break-word;visibility:hidden}.ChatInput_textArea__1k9xlz93{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px!important;border:1px solid #085caf;resize:none;padding:13px 58px 13px 14px!important;line-height:18px!important}.ChatInput_textArea__1k9xlz93:disabled{border-color:#898989}.ChatInput_sendButton__1k9xlz94{position:absolute;right:5px;bottom:5px;fill:#fff!important;background-color:#0b6ed0!important}.ChatInput_sendButton__1k9xlz94[aria-disabled=true]{opacity:.4}.ChatInput_sendButton__1k9xlz94:hover:not([aria-disabled=true]){background-color:#085caf}";
|
|
4
|
+
var ChatInput_css_ts_vanilla = {"ChatInput_wrapper__1k9xlz90":"ChatInput_wrapper__1k9xlz90","ChatInput_textAreaAndButtonContainer__1k9xlz91":"ChatInput_textAreaAndButtonContainer__1k9xlz91","ChatInput_sizer__1k9xlz92":"ChatInput_sizer__1k9xlz92","ChatInput_textArea__1k9xlz93":"ChatInput_textArea__1k9xlz93","ChatInput_sendButton__1k9xlz94":"ChatInput_sendButton__1k9xlz94"};
|
|
5
|
+
var stylesheet=".ChatInput_wrapper__1k9xlz90{flex:0 0;padding:20px 12px}.ChatInput_textAreaAndButtonContainer__1k9xlz91{position:relative;width:100%}.ChatInput_sizer__1k9xlz92{width:100%;max-height:187px;min-height:44px;padding:13px 58px 13px 14px!important;border:1px solid transparent;line-height:18px;font-size:14px;overflow-wrap:break-word;visibility:hidden}.ChatInput_textArea__1k9xlz93{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px!important;border:1px solid #085caf;resize:none;padding:13px 58px 13px 14px!important;line-height:18px!important}.ChatInput_textArea__1k9xlz93:disabled{border-color:#898989}.ChatInput_sendButton__1k9xlz94{position:absolute;right:5px;bottom:5px;fill:#fff!important;background-color:#0b6ed0!important}.ChatInput_sendButton__1k9xlz94[aria-disabled=true]{opacity:.4}.ChatInput_sendButton__1k9xlz94:hover:not([aria-disabled=true]){background-color:#085caf}";
|
|
6
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
|
+
|
|
8
|
+
export { ChatInput_css_ts_vanilla as default, stylesheet };
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import React__default, { forwardRef } from 'react';
|
|
2
|
+
import '../../components/index.js';
|
|
3
|
+
import '../../icons/index.es.js';
|
|
4
|
+
import { wrapper, textAreaAndButtonContainer, sizer, textArea, sendButton } from './ChatInput.css.js';
|
|
5
|
+
import { useChatContext } from './ChatContext.js';
|
|
6
|
+
import ChatMessageText from './ChatMessageText.js';
|
|
7
|
+
import '../../hooks/index.js';
|
|
8
|
+
import '../../utils/index.js';
|
|
9
|
+
import useTranslation from '../../utils/Translation/useTranslation.js';
|
|
10
|
+
import useControllableState from '../../hooks/useControllableState/useControllableState.js';
|
|
11
|
+
import useEventCallback from '../../hooks/useEventCallback/useEventCallback.js';
|
|
12
|
+
import Input from '../../components/Input/Input.js';
|
|
13
|
+
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
14
|
+
import Tooltip from '../../components/Tooltip/Tooltip.js';
|
|
15
|
+
import IconButton from '../../components/IconButton/IconButton.js';
|
|
16
|
+
import SendIcon from '../../icons/components/SendIcon.js';
|
|
17
|
+
|
|
18
|
+
const ChatInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
19
|
+
let {
|
|
20
|
+
onMessageSend,
|
|
21
|
+
isDisabled = false,
|
|
22
|
+
value: externalValue,
|
|
23
|
+
onChange: externalOnChange,
|
|
24
|
+
'data-testid': dataTestId
|
|
25
|
+
} = _ref;
|
|
26
|
+
const {
|
|
27
|
+
translate
|
|
28
|
+
} = useTranslation();
|
|
29
|
+
const [value, setValue] = useControllableState('', externalOnChange, externalValue);
|
|
30
|
+
const handleChange = useEventCallback(e => {
|
|
31
|
+
const newValue = e.target.value;
|
|
32
|
+
setValue(newValue);
|
|
33
|
+
});
|
|
34
|
+
const {
|
|
35
|
+
isLoading,
|
|
36
|
+
chatInputRef
|
|
37
|
+
} = useChatContext();
|
|
38
|
+
const sendMessageAndClearInput = () => {
|
|
39
|
+
if (!value || isDisabled || isLoading) return;
|
|
40
|
+
onMessageSend === null || onMessageSend === void 0 || onMessageSend(value);
|
|
41
|
+
setValue('');
|
|
42
|
+
};
|
|
43
|
+
const handleKeyDown = useEventCallback(e => {
|
|
44
|
+
if (e.key === 'Enter' && !(e.shiftKey || e.ctrlKey || e.altKey)) {
|
|
45
|
+
e.preventDefault();
|
|
46
|
+
sendMessageAndClearInput();
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
const inputLabel = translate('chat.inputLabel');
|
|
50
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
51
|
+
className: wrapper
|
|
52
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
53
|
+
className: textAreaAndButtonContainer
|
|
54
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
55
|
+
className: sizer
|
|
56
|
+
}, /*#__PURE__*/React__default.createElement(ChatMessageText, {
|
|
57
|
+
text: value
|
|
58
|
+
})), /*#__PURE__*/React__default.createElement(Input, {
|
|
59
|
+
ref: mergeRefs(ref, chatInputRef),
|
|
60
|
+
multiline: true,
|
|
61
|
+
className: textArea,
|
|
62
|
+
onKeyDown: handleKeyDown,
|
|
63
|
+
disabled: isDisabled,
|
|
64
|
+
value: value,
|
|
65
|
+
onChange: handleChange,
|
|
66
|
+
"aria-label": inputLabel,
|
|
67
|
+
placeholder: inputLabel,
|
|
68
|
+
"data-testid": dataTestId ? "".concat(dataTestId, "-input") : undefined
|
|
69
|
+
}), /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
70
|
+
content: translate('chat.sendMessageButtonLabel'),
|
|
71
|
+
delayMs: 500,
|
|
72
|
+
lightTheme: true,
|
|
73
|
+
disabled: isDisabled || isLoading
|
|
74
|
+
}, /*#__PURE__*/React__default.createElement(IconButton, {
|
|
75
|
+
className: sendButton,
|
|
76
|
+
onClick: sendMessageAndClearInput,
|
|
77
|
+
disabled: isDisabled || isLoading,
|
|
78
|
+
"data-testid": dataTestId ? "".concat(dataTestId, "-button") : undefined
|
|
79
|
+
}, /*#__PURE__*/React__default.createElement(SendIcon, null)))));
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
export { ChatInput as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import './ChatMessageList.css.ts.vanilla.js';
|
|
2
|
+
import './ChatMessage.css.ts.vanilla.js';
|
|
3
|
+
|
|
4
|
+
var content = 'ChatMessage_content__t6bzr55';
|
|
5
|
+
var iconVariants = {
|
|
6
|
+
bot: 'ChatMessage_iconVariants_bot__t6bzr53',
|
|
7
|
+
user: 'ChatMessage_iconVariants_user__t6bzr54'
|
|
8
|
+
};
|
|
9
|
+
var message = 'ChatMessage_message__t6bzr50';
|
|
10
|
+
var messageLabel = 'ChatMessage_messageLabel__t6bzr52';
|
|
11
|
+
var messageLabelContainer = 'ChatMessage_messageLabelContainer__t6bzr51';
|
|
12
|
+
var messageVariant = {
|
|
13
|
+
bot: 'ChatMessage_messageVariant_bot__t6bzr56 ChatMessage_message__t6bzr50',
|
|
14
|
+
user: 'ChatMessage_messageVariant_user__t6bzr57 ChatMessage_message__t6bzr50'
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { content, iconVariants, message, messageLabel, messageLabelContainer, messageVariant };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".ChatMessage_message__t6bzr50{outline:none;display:flex;padding:20px;flex-direction:column;align-items:flex-start;color:#515559;font-family:\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;line-height:21px;grid-gap:8px;gap:8px;border-top:1px solid #e5e5e5}.ChatMessage_message__t6bzr50:focus{box-shadow:inset 0 0 0 2px #0a3f88;border-color:transparent}.ChatMessageList_messageList__70ppzb2>li+.ChatMessage_message__t6bzr50{margin-top:0}.ChatMessage_message__t6bzr50:last-child{border-bottom:1px solid #e5e5e5}.ChatMessage_messageLabelContainer__t6bzr51{display:flex;grid-gap:8px;gap:8px;align-items:center}.ChatMessage_messageLabel__t6bzr52{font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}.ChatMessage_iconVariants_bot__t6bzr53{fill:#0b6ed0}.ChatMessage_iconVariants_user__t6bzr54{fill:#515559}.ChatMessage_content__t6bzr55{width:100%;padding-top:2px}.ChatMessage_messageVariant_bot__t6bzr56{background-color:#fafafa}.ChatMessage_messageVariant_user__t6bzr57{background-color:#fff}";
|
|
4
|
+
var ChatMessage_css_ts_vanilla = {"ChatMessage_message__t6bzr50":"ChatMessage_message__t6bzr50","ChatMessageList_messageList__70ppzb2":"ChatMessageList_messageList__70ppzb2","ChatMessage_messageLabelContainer__t6bzr51":"ChatMessage_messageLabelContainer__t6bzr51","ChatMessage_messageLabel__t6bzr52":"ChatMessage_messageLabel__t6bzr52","ChatMessage_iconVariants_bot__t6bzr53":"ChatMessage_iconVariants_bot__t6bzr53","ChatMessage_iconVariants_user__t6bzr54":"ChatMessage_iconVariants_user__t6bzr54","ChatMessage_content__t6bzr55":"ChatMessage_content__t6bzr55","ChatMessage_messageVariant_bot__t6bzr56":"ChatMessage_messageVariant_bot__t6bzr56","ChatMessage_messageVariant_user__t6bzr57":"ChatMessage_messageVariant_user__t6bzr57"};
|
|
5
|
+
var stylesheet=".ChatMessage_message__t6bzr50{outline:none;display:flex;padding:20px;flex-direction:column;align-items:flex-start;color:#515559;font-family:\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;line-height:21px;grid-gap:8px;gap:8px;border-top:1px solid #e5e5e5}.ChatMessage_message__t6bzr50:focus{box-shadow:inset 0 0 0 2px #0a3f88;border-color:transparent}.ChatMessageList_messageList__70ppzb2>li+.ChatMessage_message__t6bzr50{margin-top:0}.ChatMessage_message__t6bzr50:last-child{border-bottom:1px solid #e5e5e5}.ChatMessage_messageLabelContainer__t6bzr51{display:flex;grid-gap:8px;gap:8px;align-items:center}.ChatMessage_messageLabel__t6bzr52{font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}.ChatMessage_iconVariants_bot__t6bzr53{fill:#0b6ed0}.ChatMessage_iconVariants_user__t6bzr54{fill:#515559}.ChatMessage_content__t6bzr55{width:100%;padding-top:2px}.ChatMessage_messageVariant_bot__t6bzr56{background-color:#fafafa}.ChatMessage_messageVariant_user__t6bzr57{background-color:#fff}";
|
|
6
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
|
+
|
|
8
|
+
export { ChatMessage_css_ts_vanilla as default, stylesheet };
|