@qualtrics/ui-react 2.33.1 → 2.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/__shared/cjs/{index-eabb2673.js → index-3f588c2b.js} +154 -144
- package/dist/__shared/cjs/{index-dda93aba.js → index-d25f60b6.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 = "._h98td{display:inline-flex}._JwNnS{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}._JwNnS:hover:not(._IKrSq){cursor:pointer;background:#f5f5f5}._JwNnS._5qwDP{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._JwNnS._IKrSq{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._JwNnS._IKrSq>svg{opacity:.4}._JwNnS::-webkit-inner-spin-button,._JwNnS::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._JwNnS:focus{z-index:0;border:none;border-radius:4px}._JwNnS:focus:not(._5qwDP){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2HsJZ,._JwNnS:focus:not(._IKrSq){background:#fafafa}._2HsJZ{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}._2HsJZ:hover:not(._IKrSq){cursor:pointer;background:#f5f5f5}._2HsJZ:active:not(._IKrSq){background:#e5e5e5}._2HsJZ._IKrSq{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._2HsJZ._IKrSq>svg{opacity:.4}._f3Eaq{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}._f3Eaq:hover:not(._IKrSq){cursor:pointer;background:#f5f5f5}._f3Eaq:active:not(._IKrSq){background:#e5e5e5}._f3Eaq._IKrSq{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._f3Eaq._IKrSq>svg{opacity:.4}._MzfDI{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
4
|
+
var styles = {"numberStepperContainer":"_h98td","numberStepperInput":"_JwNnS","disabled":"_IKrSq","invalid":"_5qwDP","decrementBtn":"_2HsJZ","incrementBtn":"_f3Eaq","inputValueAlert":"_MzfDI"};
|
|
5
|
+
var stylesheet="._h98td{display:inline-flex}._JwNnS{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}._JwNnS:hover:not(._IKrSq){cursor:pointer;background:#f5f5f5}._JwNnS._5qwDP{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._JwNnS._IKrSq{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._JwNnS._IKrSq>svg{opacity:.4}._JwNnS::-webkit-inner-spin-button,._JwNnS::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._JwNnS:focus{z-index:0;border:none;border-radius:4px}._JwNnS:focus:not(._5qwDP){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2HsJZ,._JwNnS:focus:not(._IKrSq){background:#fafafa}._2HsJZ{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}._2HsJZ:hover:not(._IKrSq){cursor:pointer;background:#f5f5f5}._2HsJZ:active:not(._IKrSq){background:#e5e5e5}._2HsJZ._IKrSq{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._2HsJZ._IKrSq>svg{opacity:.4}._f3Eaq{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}._f3Eaq:hover:not(._IKrSq){cursor:pointer;background:#f5f5f5}._f3Eaq:active:not(._IKrSq){background:#e5e5e5}._f3Eaq._IKrSq{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._f3Eaq._IKrSq>svg{opacity:.4}._MzfDI{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 = "._u3yWu{display:block}._tSpC7{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._NCYTS{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}._NCYTS:hover{color:#32363a}._NCYTS:focus{outline:none}._NCYTS._7W-d-{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._Wdw2R{padding-top:32px}._Wdw2R._gTG6N{display:none}._NCYTS.focus-visible,._NCYTS:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"tabs":"_u3yWu","bar":"_tSpC7","tab":"_NCYTS","active":"_7W-d-","panel":"_Wdw2R","inactive":"_gTG6N"};
|
|
5
|
+
var stylesheet="._u3yWu{display:block}._tSpC7{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._NCYTS{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}._NCYTS:hover{color:#32363a}._NCYTS:focus{outline:none}._NCYTS._7W-d-{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._Wdw2R{padding-top:32px}._Wdw2R._gTG6N{display:none}._NCYTS.focus-visible,._NCYTS: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 = "._-rM40,._xFbko{display:flex}._xFbko{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._ekzcZ{width:69px;min-width:auto;max-width:none}._Ywulg{width:100%}._tFgwc{margin-bottom:12px;background-color:transparent!important}._tFgwc:hover{background-color:rgba(11,110,208,.08)!important}._tFgwc:hover>svg{fill:#085caf}._tFgwc:hover>span{color:#085caf}._tFgwc:active{background-color:rgba(11,110,208,.12)!important}._tFgwc:active>svg{fill:#0854a1}._tFgwc:active>span{color:#0854a1}._tFgwc._d6RUz{background-color:rgba(11,110,208,.08)!important}._tFgwc._d6RUz>svg{fill:#0b6ed0}._tFgwc._d6RUz>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._tFgwc._d6RUz:hover{background-color:rgba(11,110,208,.08)!important}._tFgwc._d6RUz:hover>svg{fill:#085caf}._tFgwc._d6RUz:hover>span{color:#085caf}._tFgwc._d6RUz:active{background-color:rgba(11,110,208,.12)!important}._tFgwc._d6RUz:active>svg{fill:#0854a1}._tFgwc._d6RUz:active>span{color:#0854a1}._-UbVa{border-radius:6px}._-UbVa>._5TNV1{display:block;fill:#515559}._1wecv{margin-top:auto;margin-bottom:0}._juZ--{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._juZ--:hover>._x7Go3{opacity:1}._00ZE9{width:0;border-width:0;padding:0}._73jmk{border-radius:4px;min-width:100%;min-height:100%;outline:none}._0sRJq{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}._x7Go3{opacity:0}._0sRJq._yHSYS._yHSYS,._SsXAA,._x7Go3:hover{opacity:1}._0sRJq._ckPtC._ckPtC{opacity:0}._0sRJq>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._0sRJq>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._0sRJq>span:hover>svg{fill:#fff}._0sRJq>span:active{background-color:#0854a1;border-color:#0854a1}._0sRJq>span:active>svg{fill:#fff}._0sRJq>span>svg{fill:#515559;border-radius:50%}._73jmk._yh-hX{display:none!important}._3vUog{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._wRnCB{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._ngNlW{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._DAE3H{fill:#515559}._SbfnV{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._3vUog.focus-visible,._3vUog:focus-visible,._73jmk.focus-visible,._73jmk:focus-visible,._ngNlW.focus-visible,._ngNlW:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._0sRJq.focus-visible,._0sRJq:focus-visible{border-color:#0a3f88}._0sRJq:active>span{background-color:#0854a1;border-color:#0854a1}._0sRJq:active>span>svg{fill:#fff}._x7Go3.focus-visible,._x7Go3:focus-visible{opacity:1}";
|
|
4
|
+
var styles = {"toolbar":"_-rM40","toolbarNav":"_xFbko","toolbarNavCollapsed":"_ekzcZ","toolbarTabs":"_Ywulg","toolbarTab":"_tFgwc","selected":"_d6RUz","toolbarTabIconButton":"_-UbVa","icon":"_5TNV1","tabsExpandCollapseButton":"_1wecv","toolbarPanels":"_juZ--","toolbarPanelExpandCollapseButtonDefaultHidden":"_x7Go3","toolbarPanelsCollapsed":"_00ZE9","toolbarPanel":"_73jmk","toolbarPanelExpandCollapseButton":"_0sRJq","toolbarPanelExpandCollapseButtonDefaultShown":"_SsXAA","overrideShow":"_yHSYS","overrideHide":"_ckPtC","notSelected":"_yh-hX","buttonWithLabel":"_3vUog","buttonWithLabelLabel":"_wRnCB","iconButtonWithLabel":"_ngNlW","iconButtonWithLabelIcon":"_DAE3H","iconButtonWithLabelLabel":"_SbfnV"};
|
|
5
|
+
var stylesheet="._-rM40,._xFbko{display:flex}._xFbko{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._ekzcZ{width:69px;min-width:auto;max-width:none}._Ywulg{width:100%}._tFgwc{margin-bottom:12px;background-color:transparent!important}._tFgwc:hover{background-color:rgba(11,110,208,.08)!important}._tFgwc:hover>svg{fill:#085caf}._tFgwc:hover>span{color:#085caf}._tFgwc:active{background-color:rgba(11,110,208,.12)!important}._tFgwc:active>svg{fill:#0854a1}._tFgwc:active>span{color:#0854a1}._tFgwc._d6RUz{background-color:rgba(11,110,208,.08)!important}._tFgwc._d6RUz>svg{fill:#0b6ed0}._tFgwc._d6RUz>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._tFgwc._d6RUz:hover{background-color:rgba(11,110,208,.08)!important}._tFgwc._d6RUz:hover>svg{fill:#085caf}._tFgwc._d6RUz:hover>span{color:#085caf}._tFgwc._d6RUz:active{background-color:rgba(11,110,208,.12)!important}._tFgwc._d6RUz:active>svg{fill:#0854a1}._tFgwc._d6RUz:active>span{color:#0854a1}._-UbVa{border-radius:6px}._-UbVa>._5TNV1{display:block;fill:#515559}._1wecv{margin-top:auto;margin-bottom:0}._juZ--{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._juZ--:hover>._x7Go3{opacity:1}._00ZE9{width:0;border-width:0;padding:0}._73jmk{border-radius:4px;min-width:100%;min-height:100%;outline:none}._0sRJq{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}._x7Go3{opacity:0}._0sRJq._yHSYS._yHSYS,._SsXAA,._x7Go3:hover{opacity:1}._0sRJq._ckPtC._ckPtC{opacity:0}._0sRJq>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._0sRJq>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._0sRJq>span:hover>svg{fill:#fff}._0sRJq>span:active{background-color:#0854a1;border-color:#0854a1}._0sRJq>span:active>svg{fill:#fff}._0sRJq>span>svg{fill:#515559;border-radius:50%}._73jmk._yh-hX{display:none!important}._3vUog{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._wRnCB{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._ngNlW{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._DAE3H{fill:#515559}._SbfnV{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._3vUog.focus-visible,._3vUog:focus-visible,._73jmk.focus-visible,._73jmk:focus-visible,._ngNlW.focus-visible,._ngNlW:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._0sRJq.focus-visible,._0sRJq:focus-visible{border-color:#0a3f88}._0sRJq:active>span{background-color:#0854a1;border-color:#0854a1}._0sRJq:active>span>svg{fill:#fff}._x7Go3.focus-visible,._x7Go3: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 = "._MVppa{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}._0TocL{visibility:hidden}._iB7HO{position:fixed}";
|
|
4
|
+
var styles = {"overlay":"_MVppa","hidden":"_0TocL","anchoredToBody":"_iB7HO"};
|
|
5
|
+
var stylesheet="._MVppa{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}._0TocL{visibility:hidden}._iB7HO{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 = "._M3hb4{position:absolute;top:-10000px;left:-10000px}";
|
|
4
|
+
var classes = {"ariaLiveElement":"_M3hb4"};
|
|
5
|
+
var stylesheet="._M3hb4{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 = "._HKnhN{flex-shrink:0}";
|
|
4
|
+
var styles = {"icon":"_HKnhN"};
|
|
5
|
+
var stylesheet="._HKnhN{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-d25f60b6.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.0';
|
|
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-3f588c2b.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('./__shared/cjs/index-
|
|
8
|
+
require('./__shared/cjs/index-d25f60b6.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.0';
|
|
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 = "._50-qg{overflow:auto;position:relative;max-width:100%;max-height:100%}._50-qg,._J-mU1{background-color:#fff}._J-mU1{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._zynbA{margin-bottom:4px}._UwM-j{position:-webkit-sticky;position:sticky;top:0;z-index:100}._QORJD{display:flex}._QORJD:focus{outline:none}._QORJD.focus-visible ._Qq9w3:after,._QORJD:focus-visible ._Qq9w3: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}._QORJD.focus-visible ._Qq9w3:last-of-type:after,._QORJD:focus-visible ._Qq9w3:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._QORJD.focus-visible ._Qq9w3:first-of-type:after,._QORJD:focus-visible ._Qq9w3:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._QORJD.focus-visible ._Qq9w3._XUOWR:after,._QORJD:focus-visible ._Qq9w3._XUOWR:after{right:-3px;bottom:1px}._IcIc9{padding-right:3px}._cqwzO{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._IVFLn{display:flex}._IVFLn._f6gWU ._pyYpd,._IVFLn._f6gWU ._Qq9w3{cursor:pointer}._IVFLn._QslD6 ._pyYpd,._IVFLn._QslD6 ._Qq9w3{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._IVFLn._QslD6 ._pyYpd._XUOWR,._IVFLn._QslD6 ._Qq9w3._XUOWR{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._IVFLn._QslD6 ._pyYpd._XUOWR ._pyYpd,._IVFLn._QslD6 ._pyYpd._XUOWR ._S6wrW,._IVFLn._QslD6 ._pyYpd._XUOWR ._zvDvg,._IVFLn._QslD6 ._Qq9w3._XUOWR ._pyYpd,._IVFLn._QslD6 ._Qq9w3._XUOWR ._S6wrW,._IVFLn._QslD6 ._Qq9w3._XUOWR ._zvDvg{background-color:rgba(11,110,208,.08)}._IVFLn._f6gWU:hover:not(._QslD6) ._pyYpd,._IVFLn._f6gWU:hover:not(._QslD6) ._Qq9w3{background-color:#f9f9f9}._IVFLn._f6gWU:active:not(._QslD6):not(._IVFLn._f6gWU:active:not(._QslD6):has(._zvDvg:active)) ._pyYpd,._IVFLn._f6gWU:active:not(._QslD6):not(._IVFLn._f6gWU:active:not(._QslD6):has(._zvDvg:active)) ._Qq9w3{background-color:#f3f3f3}._IVFLn:focus{outline:none}._IVFLn.focus-visible ._Qq9w3:after,._IVFLn:focus-visible ._Qq9w3: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}._IVFLn.focus-visible ._Qq9w3:last-of-type:after,._IVFLn:focus-visible ._Qq9w3:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._IVFLn.focus-visible ._Qq9w3:first-of-type:after,._IVFLn:focus-visible ._Qq9w3:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._IVFLn.focus-visible ._Qq9w3._XUOWR:after,._IVFLn:focus-visible ._Qq9w3._XUOWR:after{right:-3px;bottom:0}._IVFLn:last-of-type:focus{outline:none}._IVFLn:last-of-type.focus-visible ._Qq9w3:after,._IVFLn:last-of-type:focus-visible ._Qq9w3: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}._IVFLn:last-of-type.focus-visible ._Qq9w3:last-of-type:after,._IVFLn:last-of-type:focus-visible ._Qq9w3:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._IVFLn:last-of-type.focus-visible ._Qq9w3:first-of-type:after,._IVFLn:last-of-type:focus-visible ._Qq9w3:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._IVFLn:last-of-type.focus-visible ._Qq9w3._XUOWR:after,._IVFLn:last-of-type:focus-visible ._Qq9w3._XUOWR:after{right:-3px;bottom:1px}._IVFLn:last-of-type ._S6wrW:focus{outline:none}._IVFLn:last-of-type ._S6wrW._0CexF.focus-visible:after,._IVFLn:last-of-type ._S6wrW._0CexF:focus-visible:after,._IVFLn:last-of-type ._S6wrW.focus-visible:after,._IVFLn:last-of-type ._S6wrW: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}._IVFLn:first-of-type:focus{outline:none}._IVFLn:first-of-type.focus-visible ._Qq9w3:after,._IVFLn:first-of-type:focus-visible ._Qq9w3: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}._IVFLn:first-of-type.focus-visible ._Qq9w3:last-of-type:after,._IVFLn:first-of-type:focus-visible ._Qq9w3:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._IVFLn:first-of-type.focus-visible ._Qq9w3:first-of-type:after,._IVFLn:first-of-type:focus-visible ._Qq9w3:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._IVFLn:first-of-type.focus-visible ._Qq9w3._XUOWR:after,._IVFLn:first-of-type:focus-visible ._Qq9w3._XUOWR:after{right:-3px;bottom:0}._IVFLn:first-of-type ._S6wrW:focus{outline:none}._IVFLn:first-of-type ._S6wrW._0CexF.focus-visible:after,._IVFLn:first-of-type ._S6wrW._0CexF:focus-visible:after,._IVFLn:first-of-type ._S6wrW.focus-visible:after,._IVFLn:first-of-type ._S6wrW: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}._1nZwF{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}._1nZwF._7-vuM{flex-grow:1}._1nZwF._23Ip4{cursor:pointer}._1nZwF._23Ip4:hover:not(._RXeQ7){background-color:#f9f9f9;border-bottom-color:#6a6d70}._1nZwF._23Ip4:active:not(._RXeQ7){background-color:#f3f3f3}._1nZwF._wdP2C:not(._RXeQ7){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._1nZwF._RXeQ7{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._1nZwF ._k2CQK{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._1nZwF ._k2CQK._tf-SR{left:-1px}._1nZwF ._k2CQK._Lf9Uw{right:0}._1nZwF ._Uhr-p{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._1nZwF ._Uhr-p._tf-SR{left:-2px}._1nZwF ._Uhr-p._Lf9Uw{right:-1px}._1nZwF:first-of-type ._tf-SR._k2CQK{left:0;width:2px;border-left:1px solid #fff}._1nZwF:first-of-type ._tf-SR._Uhr-p{left:0}._1nZwF:last-of-type ._Lf9Uw._k2CQK{right:0;width:2px;border-right:1px solid #fff}._1nZwF:last-of-type ._Lf9Uw._Uhr-p{right:0}._1nZwF ._tbcvx{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._1nZwF ._tbcvx ._6lZhR{position:absolute;width:2px;right:2px;top:0;bottom:0}._1nZwF ._tbcvx ._6lZhR._r1lMz{background-color:#0a6ed1}._1nZwF ._tbcvx:hover ._6lZhR:not(._r1lMz){background-color:#d9d9d9}._1nZwF ._aIiVt{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._1nZwF ._aIiVt._ZjdRD{flex-direction:row-reverse;justify-content:flex-start}._1nZwF ._aIiVt._ZjdRD ._XfTvj{margin:1px 7px 1px 1px}._1nZwF ._aIiVt ._Dw9Ha{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._1nZwF ._aIiVt ._XfTvj{margin:1px 1px 1px 7px;flex-shrink:0}._1nZwF ._8WoRo{margin-left:6px;margin-right:4px;flex-shrink:0}._1nZwF ._Bipoh{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._1nZwF:focus{outline:none}._1nZwF._0CexF.focus-visible:after,._1nZwF._0CexF:focus-visible:after,._1nZwF.focus-visible:after,._1nZwF: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}._9ffLB{margin-right:6px}._XUOWR{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._XUOWR[focus-within]{z-index:30}._XUOWR:focus-within{z-index:30}._S6wrW{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}._S6wrW ._UbnHG{width:100%;padding:12px 12px 11px;overflow:hidden}._S6wrW._RXeQ7{background-color:#efefef;border-bottom-color:#dfdfe1}._S6wrW._7-vuM{flex-grow:1}._S6wrW:focus{outline:none}._S6wrW._0CexF.focus-visible:after,._S6wrW._0CexF:focus-visible:after,._S6wrW.focus-visible:after,._S6wrW: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}._pyYpd{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._pyYpd._U7ACj{border-bottom-color:#d9d9d9;background-color:#fff}._zvDvg{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}._zvDvg._U7ACj{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._zvDvg:focus input~span,._zvDvg:hover input~span{border-color:#0b6ed0}._vyk7G{justify-content:flex-start}._T1Ocs{justify-content:center;text-align:center}._ZjdRD{justify-content:flex-end;text-align:right}._df2TS{display:none}._3dFR-{opacity:0;height:0;width:0;overflow:hidden}._3dFR-,._TgTuX{position:absolute}._TgTuX{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._YZEH2{max-width:250px;min-width:150px!important}";
|
|
4
|
+
var styles = {"advancedTable":"_50-qg","advancedTablePaginationContainer":"_J-mU1","advancedTablePagination":"_zynbA","advancedTableColumnHeadersRowGroup":"_UwM-j","advancedTableColumnHeaders":"_QORJD","advancedTableRowChild":"_Qq9w3","pinnedContainer":"_XUOWR","advancedTableRowGroup":"_IcIc9","advancedTableRowRestrictedWidth":"_cqwzO","advancedTableRow":"_IVFLn","hasRowAction":"_f6gWU","advancedTableExpandRowSpacer":"_pyYpd","isSelected":"_QslD6","advancedTableCheckbox":"_zvDvg","advancedTableCell":"_S6wrW","showFocusRing":"_0CexF","advancedTableColumnHeader":"_1nZwF","fillRemainingSpace":"_7-vuM","isSortable":"_23Ip4","isDragging":"_RXeQ7","isSorted":"_wdP2C","dropTargetLine":"_k2CQK","dropTargetLeft":"_tf-SR","dropTargetRight":"_Lf9Uw","dropTargetMarker":"_Uhr-p","resizeHandle":"_tbcvx","resizeLine":"_6lZhR","isResizing":"_r1lMz","advancedTableColumnHeaderLabel":"_aIiVt","rightAligned":"_ZjdRD","sortIcon":"_XfTvj","advancedTableColumnHeaderLabelText":"_Dw9Ha","advancedTableColumnHeaderMenu":"_8WoRo","advancedTableColumnHeaderMenuHiddenAnchor":"_Bipoh","advancedTableColumnHeaderMenuItemIcon":"_9ffLB","advancedTableCellContainer":"_UbnHG","header":"_U7ACj","leftAligned":"_vyk7G","centerAligned":"_T1Ocs","hiddenDescription":"_df2TS","hiddenLiveRegion":"_3dFR-","dragPreview":"_TgTuX","rowActionMenuPane":"_YZEH2"};
|
|
5
|
+
var stylesheet="._50-qg{overflow:auto;position:relative;max-width:100%;max-height:100%}._50-qg,._J-mU1{background-color:#fff}._J-mU1{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._zynbA{margin-bottom:4px}._UwM-j{position:-webkit-sticky;position:sticky;top:0;z-index:100}._QORJD{display:flex}._QORJD:focus{outline:none}._QORJD.focus-visible ._Qq9w3:after,._QORJD:focus-visible ._Qq9w3: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}._QORJD.focus-visible ._Qq9w3:last-of-type:after,._QORJD:focus-visible ._Qq9w3:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._QORJD.focus-visible ._Qq9w3:first-of-type:after,._QORJD:focus-visible ._Qq9w3:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._QORJD.focus-visible ._Qq9w3._XUOWR:after,._QORJD:focus-visible ._Qq9w3._XUOWR:after{right:-3px;bottom:1px}._IcIc9{padding-right:3px}._cqwzO{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._IVFLn{display:flex}._IVFLn._f6gWU ._pyYpd,._IVFLn._f6gWU ._Qq9w3{cursor:pointer}._IVFLn._QslD6 ._pyYpd,._IVFLn._QslD6 ._Qq9w3{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._IVFLn._QslD6 ._pyYpd._XUOWR,._IVFLn._QslD6 ._Qq9w3._XUOWR{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._IVFLn._QslD6 ._pyYpd._XUOWR ._pyYpd,._IVFLn._QslD6 ._pyYpd._XUOWR ._S6wrW,._IVFLn._QslD6 ._pyYpd._XUOWR ._zvDvg,._IVFLn._QslD6 ._Qq9w3._XUOWR ._pyYpd,._IVFLn._QslD6 ._Qq9w3._XUOWR ._S6wrW,._IVFLn._QslD6 ._Qq9w3._XUOWR ._zvDvg{background-color:rgba(11,110,208,.08)}._IVFLn._f6gWU:hover:not(._QslD6) ._pyYpd,._IVFLn._f6gWU:hover:not(._QslD6) ._Qq9w3{background-color:#f9f9f9}._IVFLn._f6gWU:active:not(._QslD6):not(._IVFLn._f6gWU:active:not(._QslD6):has(._zvDvg:active)) ._pyYpd,._IVFLn._f6gWU:active:not(._QslD6):not(._IVFLn._f6gWU:active:not(._QslD6):has(._zvDvg:active)) ._Qq9w3{background-color:#f3f3f3}._IVFLn:focus{outline:none}._IVFLn.focus-visible ._Qq9w3:after,._IVFLn:focus-visible ._Qq9w3: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}._IVFLn.focus-visible ._Qq9w3:last-of-type:after,._IVFLn:focus-visible ._Qq9w3:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._IVFLn.focus-visible ._Qq9w3:first-of-type:after,._IVFLn:focus-visible ._Qq9w3:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._IVFLn.focus-visible ._Qq9w3._XUOWR:after,._IVFLn:focus-visible ._Qq9w3._XUOWR:after{right:-3px;bottom:0}._IVFLn:last-of-type:focus{outline:none}._IVFLn:last-of-type.focus-visible ._Qq9w3:after,._IVFLn:last-of-type:focus-visible ._Qq9w3: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}._IVFLn:last-of-type.focus-visible ._Qq9w3:last-of-type:after,._IVFLn:last-of-type:focus-visible ._Qq9w3:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._IVFLn:last-of-type.focus-visible ._Qq9w3:first-of-type:after,._IVFLn:last-of-type:focus-visible ._Qq9w3:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._IVFLn:last-of-type.focus-visible ._Qq9w3._XUOWR:after,._IVFLn:last-of-type:focus-visible ._Qq9w3._XUOWR:after{right:-3px;bottom:1px}._IVFLn:last-of-type ._S6wrW:focus{outline:none}._IVFLn:last-of-type ._S6wrW._0CexF.focus-visible:after,._IVFLn:last-of-type ._S6wrW._0CexF:focus-visible:after,._IVFLn:last-of-type ._S6wrW.focus-visible:after,._IVFLn:last-of-type ._S6wrW: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}._IVFLn:first-of-type:focus{outline:none}._IVFLn:first-of-type.focus-visible ._Qq9w3:after,._IVFLn:first-of-type:focus-visible ._Qq9w3: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}._IVFLn:first-of-type.focus-visible ._Qq9w3:last-of-type:after,._IVFLn:first-of-type:focus-visible ._Qq9w3:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._IVFLn:first-of-type.focus-visible ._Qq9w3:first-of-type:after,._IVFLn:first-of-type:focus-visible ._Qq9w3:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._IVFLn:first-of-type.focus-visible ._Qq9w3._XUOWR:after,._IVFLn:first-of-type:focus-visible ._Qq9w3._XUOWR:after{right:-3px;bottom:0}._IVFLn:first-of-type ._S6wrW:focus{outline:none}._IVFLn:first-of-type ._S6wrW._0CexF.focus-visible:after,._IVFLn:first-of-type ._S6wrW._0CexF:focus-visible:after,._IVFLn:first-of-type ._S6wrW.focus-visible:after,._IVFLn:first-of-type ._S6wrW: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}._1nZwF{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}._1nZwF._7-vuM{flex-grow:1}._1nZwF._23Ip4{cursor:pointer}._1nZwF._23Ip4:hover:not(._RXeQ7){background-color:#f9f9f9;border-bottom-color:#6a6d70}._1nZwF._23Ip4:active:not(._RXeQ7){background-color:#f3f3f3}._1nZwF._wdP2C:not(._RXeQ7){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._1nZwF._RXeQ7{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._1nZwF ._k2CQK{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._1nZwF ._k2CQK._tf-SR{left:-1px}._1nZwF ._k2CQK._Lf9Uw{right:0}._1nZwF ._Uhr-p{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._1nZwF ._Uhr-p._tf-SR{left:-2px}._1nZwF ._Uhr-p._Lf9Uw{right:-1px}._1nZwF:first-of-type ._tf-SR._k2CQK{left:0;width:2px;border-left:1px solid #fff}._1nZwF:first-of-type ._tf-SR._Uhr-p{left:0}._1nZwF:last-of-type ._Lf9Uw._k2CQK{right:0;width:2px;border-right:1px solid #fff}._1nZwF:last-of-type ._Lf9Uw._Uhr-p{right:0}._1nZwF ._tbcvx{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._1nZwF ._tbcvx ._6lZhR{position:absolute;width:2px;right:2px;top:0;bottom:0}._1nZwF ._tbcvx ._6lZhR._r1lMz{background-color:#0a6ed1}._1nZwF ._tbcvx:hover ._6lZhR:not(._r1lMz){background-color:#d9d9d9}._1nZwF ._aIiVt{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._1nZwF ._aIiVt._ZjdRD{flex-direction:row-reverse;justify-content:flex-start}._1nZwF ._aIiVt._ZjdRD ._XfTvj{margin:1px 7px 1px 1px}._1nZwF ._aIiVt ._Dw9Ha{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._1nZwF ._aIiVt ._XfTvj{margin:1px 1px 1px 7px;flex-shrink:0}._1nZwF ._8WoRo{margin-left:6px;margin-right:4px;flex-shrink:0}._1nZwF ._Bipoh{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._1nZwF:focus{outline:none}._1nZwF._0CexF.focus-visible:after,._1nZwF._0CexF:focus-visible:after,._1nZwF.focus-visible:after,._1nZwF: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}._9ffLB{margin-right:6px}._XUOWR{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._XUOWR[focus-within]{z-index:30}._XUOWR:focus-within{z-index:30}._S6wrW{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}._S6wrW ._UbnHG{width:100%;padding:12px 12px 11px;overflow:hidden}._S6wrW._RXeQ7{background-color:#efefef;border-bottom-color:#dfdfe1}._S6wrW._7-vuM{flex-grow:1}._S6wrW:focus{outline:none}._S6wrW._0CexF.focus-visible:after,._S6wrW._0CexF:focus-visible:after,._S6wrW.focus-visible:after,._S6wrW: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}._pyYpd{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._pyYpd._U7ACj{border-bottom-color:#d9d9d9;background-color:#fff}._zvDvg{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}._zvDvg._U7ACj{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._zvDvg:focus input~span,._zvDvg:hover input~span{border-color:#0b6ed0}._vyk7G{justify-content:flex-start}._T1Ocs{justify-content:center;text-align:center}._ZjdRD{justify-content:flex-end;text-align:right}._df2TS{display:none}._3dFR-{opacity:0;height:0;width:0;overflow:hidden}._3dFR-,._TgTuX{position:absolute}._TgTuX{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._YZEH2{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 };
|