@qualtrics/ui-react 2.45.0 → 2.46.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 +16 -0
- package/dist/__shared/cjs/{index-f8b54e99.js → index-235c4662.js} +3 -3
- package/dist/__shared/cjs/{index-c817066f.js → index-a294bba7.js} +142 -136
- 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 +5 -1
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownButton.js +3 -1
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- 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/Tooltip.js +1 -1
- 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/index.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +59 -65
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableCell.js +32 -17
- package/dist/next/Chat/ChatInput.js +6 -4
- 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/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 +14 -4
- package/dist/next/index.js +132 -122
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/next/package.json +1 -1
- package/package.json +1 -1
|
@@ -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 = "._FUZ09{display:block}._rSqvs{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._WPuA1{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}._WPuA1:hover{color:#32363a}._WPuA1:focus{outline:none}._WPuA1._MMA6M{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._rgfBz{padding-top:32px}._rgfBz._lO9Hv{display:none}._WPuA1.focus-visible,._WPuA1:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"tabs":"_FUZ09","bar":"_rSqvs","tab":"_WPuA1","active":"_MMA6M","panel":"_rgfBz","inactive":"_lO9Hv"};
|
|
5
|
+
var stylesheet="._FUZ09{display:block}._rSqvs{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._WPuA1{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}._WPuA1:hover{color:#32363a}._WPuA1:focus{outline:none}._WPuA1._MMA6M{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._rgfBz{padding-top:32px}._rgfBz._lO9Hv{display:none}._WPuA1.focus-visible,._WPuA1: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 = "._ImUCY,._pyEts{display:flex}._ImUCY{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._4dvQ1{width:69px;min-width:auto;max-width:none}._gv4ME{width:100%}._T4Fe9{margin-bottom:12px;background-color:transparent!important}._T4Fe9:hover{background-color:rgba(11,110,208,.08)!important}._T4Fe9:hover>svg{fill:#085caf}._T4Fe9:hover>span{color:#085caf}._T4Fe9:active{background-color:rgba(11,110,208,.12)!important}._T4Fe9:active>svg{fill:#0854a1}._T4Fe9:active>span{color:#0854a1}._T4Fe9._SZv2K{background-color:rgba(11,110,208,.08)!important}._T4Fe9._SZv2K>svg{fill:#0b6ed0}._T4Fe9._SZv2K>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._T4Fe9._SZv2K:hover{background-color:rgba(11,110,208,.08)!important}._T4Fe9._SZv2K:hover>svg{fill:#085caf}._T4Fe9._SZv2K:hover>span{color:#085caf}._T4Fe9._SZv2K:active{background-color:rgba(11,110,208,.12)!important}._T4Fe9._SZv2K:active>svg{fill:#0854a1}._T4Fe9._SZv2K:active>span{color:#0854a1}._2AkUy{border-radius:6px}._2AkUy>._7X1lP{display:block;fill:#515559}._p19VH{margin-top:auto;margin-bottom:0}._JEaeG{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._JEaeG:hover>._eueoZ{opacity:1}._g2p0E{width:0;border-width:0;padding:0}._opNjW{border-radius:4px;min-width:100%;min-height:100%;outline:none}._nzYdh{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}._eueoZ{opacity:0}._b6mpZ,._eueoZ:hover,._nzYdh._MymrV._MymrV{opacity:1}._nzYdh._tQ8zU._tQ8zU{opacity:0}._nzYdh>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._nzYdh>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._nzYdh>span:hover>svg{fill:#fff}._nzYdh>span:active{background-color:#0854a1;border-color:#0854a1}._nzYdh>span:active>svg{fill:#fff}._nzYdh>span>svg{fill:#515559;border-radius:50%}._opNjW._tDcns{display:none!important}._A98PF{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._q0GsB{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._MEIPL{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._9irW6{fill:#515559}._pz9FS{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._A98PF.focus-visible,._A98PF:focus-visible,._MEIPL.focus-visible,._MEIPL:focus-visible,._opNjW.focus-visible,._opNjW:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._nzYdh.focus-visible,._nzYdh:focus-visible{border-color:#0a3f88}._nzYdh:active>span{background-color:#0854a1;border-color:#0854a1}._nzYdh:active>span>svg{fill:#fff}._eueoZ.focus-visible,._eueoZ:focus-visible{opacity:1}";
|
|
4
|
+
var styles = {"toolbar":"_pyEts","toolbarNav":"_ImUCY","toolbarNavCollapsed":"_4dvQ1","toolbarTabs":"_gv4ME","toolbarTab":"_T4Fe9","selected":"_SZv2K","toolbarTabIconButton":"_2AkUy","icon":"_7X1lP","tabsExpandCollapseButton":"_p19VH","toolbarPanels":"_JEaeG","toolbarPanelExpandCollapseButtonDefaultHidden":"_eueoZ","toolbarPanelsCollapsed":"_g2p0E","toolbarPanel":"_opNjW","toolbarPanelExpandCollapseButton":"_nzYdh","toolbarPanelExpandCollapseButtonDefaultShown":"_b6mpZ","overrideShow":"_MymrV","overrideHide":"_tQ8zU","notSelected":"_tDcns","buttonWithLabel":"_A98PF","buttonWithLabelLabel":"_q0GsB","iconButtonWithLabel":"_MEIPL","iconButtonWithLabelIcon":"_9irW6","iconButtonWithLabelLabel":"_pz9FS"};
|
|
5
|
+
var stylesheet="._ImUCY,._pyEts{display:flex}._ImUCY{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._4dvQ1{width:69px;min-width:auto;max-width:none}._gv4ME{width:100%}._T4Fe9{margin-bottom:12px;background-color:transparent!important}._T4Fe9:hover{background-color:rgba(11,110,208,.08)!important}._T4Fe9:hover>svg{fill:#085caf}._T4Fe9:hover>span{color:#085caf}._T4Fe9:active{background-color:rgba(11,110,208,.12)!important}._T4Fe9:active>svg{fill:#0854a1}._T4Fe9:active>span{color:#0854a1}._T4Fe9._SZv2K{background-color:rgba(11,110,208,.08)!important}._T4Fe9._SZv2K>svg{fill:#0b6ed0}._T4Fe9._SZv2K>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._T4Fe9._SZv2K:hover{background-color:rgba(11,110,208,.08)!important}._T4Fe9._SZv2K:hover>svg{fill:#085caf}._T4Fe9._SZv2K:hover>span{color:#085caf}._T4Fe9._SZv2K:active{background-color:rgba(11,110,208,.12)!important}._T4Fe9._SZv2K:active>svg{fill:#0854a1}._T4Fe9._SZv2K:active>span{color:#0854a1}._2AkUy{border-radius:6px}._2AkUy>._7X1lP{display:block;fill:#515559}._p19VH{margin-top:auto;margin-bottom:0}._JEaeG{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._JEaeG:hover>._eueoZ{opacity:1}._g2p0E{width:0;border-width:0;padding:0}._opNjW{border-radius:4px;min-width:100%;min-height:100%;outline:none}._nzYdh{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}._eueoZ{opacity:0}._b6mpZ,._eueoZ:hover,._nzYdh._MymrV._MymrV{opacity:1}._nzYdh._tQ8zU._tQ8zU{opacity:0}._nzYdh>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._nzYdh>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._nzYdh>span:hover>svg{fill:#fff}._nzYdh>span:active{background-color:#0854a1;border-color:#0854a1}._nzYdh>span:active>svg{fill:#fff}._nzYdh>span>svg{fill:#515559;border-radius:50%}._opNjW._tDcns{display:none!important}._A98PF{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._q0GsB{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._MEIPL{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._9irW6{fill:#515559}._pz9FS{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._A98PF.focus-visible,._A98PF:focus-visible,._MEIPL.focus-visible,._MEIPL:focus-visible,._opNjW.focus-visible,._opNjW:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._nzYdh.focus-visible,._nzYdh:focus-visible{border-color:#0a3f88}._nzYdh:active>span{background-color:#0854a1;border-color:#0854a1}._nzYdh:active>span>svg{fill:#fff}._eueoZ.focus-visible,._eueoZ: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 = "._Ji6OK{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}._Fn5XN{visibility:hidden}._1mXox{position:fixed}._xa9G5{overflow:hidden!important}";
|
|
4
|
+
var styles = {"overlay":"_Ji6OK","hidden":"_Fn5XN","anchoredToBody":"_1mXox","blockedScroll":"_xa9G5"};
|
|
5
|
+
var stylesheet="._Ji6OK{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}._Fn5XN{visibility:hidden}._1mXox{position:fixed}._xa9G5{overflow:hidden!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 };
|
|
@@ -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 = "._5VdpO{position:absolute;top:-10000px;left:-10000px}";
|
|
4
|
+
var classes = {"ariaLiveElement":"_5VdpO"};
|
|
5
|
+
var stylesheet="._5VdpO{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 = "._qaY9x{flex-shrink:0}";
|
|
4
|
+
var styles = {"icon":"_qaY9x"};
|
|
5
|
+
var stylesheet="._qaY9x{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 };
|
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-235c4662.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/extends');
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
package/dist/index.d.ts
CHANGED
|
@@ -3253,8 +3253,8 @@ export declare interface TooltipProps extends Omit<React_2.AllHTMLAttributes<HTM
|
|
|
3253
3253
|
* @defaultValue false
|
|
3254
3254
|
*/
|
|
3255
3255
|
isArrowRemoved?: boolean;
|
|
3256
|
-
/** Themes the tooltip to a light color.
|
|
3257
|
-
* @defaultValue
|
|
3256
|
+
/** Themes the tooltip to a light color. We recommend using tooltip with lightTheme set to true. This property will be **deprecated** in the next major version.
|
|
3257
|
+
* @defaultValue false
|
|
3258
3258
|
*/
|
|
3259
3259
|
lightTheme?: boolean;
|
|
3260
3260
|
/** The z-index of the tooltip content.
|
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.46.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-a294bba7.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('./__shared/cjs/index-
|
|
8
|
+
require('./__shared/cjs/index-235c4662.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.46.0';
|
|
25
25
|
|
|
26
26
|
exports.Accordion = index.Accordion;
|
|
27
27
|
exports.AccordionHeader = index.AccordionHeader;
|
|
@@ -113,63 +113,64 @@ const AdvancedTable = _ref => {
|
|
|
113
113
|
if (currentPage > pageCount) setCurrentPage(Math.max(pageCount, 1));
|
|
114
114
|
}
|
|
115
115
|
}, [rows, rowsPerPage, paginatedRows, currentPage]);
|
|
116
|
+
const renderRowActionCellContent = useCallback(_ref2 => {
|
|
117
|
+
let {
|
|
118
|
+
rowIndex,
|
|
119
|
+
isEditing,
|
|
120
|
+
focusCell,
|
|
121
|
+
focusableElementRef,
|
|
122
|
+
rowId
|
|
123
|
+
} = _ref2;
|
|
124
|
+
const rowDataTestId = getRowTestId(dataTestId, rowId);
|
|
125
|
+
const rowActionMenuDataTestId = getSubDataTestId(rowDataTestId, 'RowActionMenu');
|
|
126
|
+
return /*#__PURE__*/React__default.createElement(Dropdown, {
|
|
127
|
+
value: 0
|
|
128
|
+
}, /*#__PURE__*/React__default.createElement(DropdownButton, null, /*#__PURE__*/React__default.createElement(IconButton, {
|
|
129
|
+
"aria-label": rowActionsButtonAriaLabel,
|
|
130
|
+
tabIndex: isEditing ? 0 : -1,
|
|
131
|
+
ref: focusableElementRef,
|
|
132
|
+
onKeyDown: e => {
|
|
133
|
+
if (e.key === 'Escape') {
|
|
134
|
+
focusCell();
|
|
135
|
+
e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"data-testid": getSubDataTestId(rowDataTestId, 'RowActionButton')
|
|
139
|
+
}, /*#__PURE__*/React__default.createElement(EllipsisHorizontalIcon, null))), /*#__PURE__*/React__default.createElement(DropdownList, {
|
|
140
|
+
className: styles.rowActionMenuPane,
|
|
141
|
+
placement: rowActionsPlacement,
|
|
142
|
+
"data-testid": rowActionMenuDataTestId
|
|
143
|
+
}, !rows ? [] : rowActions === null || rowActions === void 0 ? void 0 : rowActions.map((actionGroup, groupIndex) => {
|
|
144
|
+
var _actionGroup$actions;
|
|
145
|
+
const row = rows[rowIndex];
|
|
146
|
+
const actions = !row ? [] : (_actionGroup$actions = actionGroup.actions) === null || _actionGroup$actions === void 0 ? void 0 : _actionGroup$actions.map((action, actionIndex) => /*#__PURE__*/React__default.createElement(DropdownOption
|
|
147
|
+
// React Docs: "We don't recommend using indexes for keys if the order of items may change." These will not change; the alternative is to require an id from the consumer.
|
|
148
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
149
|
+
, {
|
|
150
|
+
key: "".concat(groupIndex, "-").concat(actionIndex),
|
|
151
|
+
disabled: typeof action.isDisabled === 'function' ? action.isDisabled(row && row.rowPropReference) : action.isDisabled,
|
|
152
|
+
onSelect: () => action.action(row && row.rowPropReference),
|
|
153
|
+
value: "",
|
|
154
|
+
label: "",
|
|
155
|
+
"data-testid": action.actionId && getSubDataTestId(rowActionMenuDataTestId, "action-".concat(action.actionId))
|
|
156
|
+
}, typeof action.label === 'function' ? action.label(row.rowPropReference) : action.label));
|
|
157
|
+
if (actionGroup.header) {
|
|
158
|
+
return /*#__PURE__*/React__default.createElement(DropdownHeader
|
|
159
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
160
|
+
, {
|
|
161
|
+
key: groupIndex,
|
|
162
|
+
title: actionGroup.header
|
|
163
|
+
}, actions);
|
|
164
|
+
}
|
|
165
|
+
return actions;
|
|
166
|
+
})));
|
|
167
|
+
}, [dataTestId, rowActions, rowActionsButtonAriaLabel, rowActionsPlacement, rows]);
|
|
116
168
|
if (rowActions && columnConfigs[columnConfigs.length - 1].id !== rowActionsColumnConfigId) {
|
|
117
169
|
rowActionsColumnConfig = {
|
|
118
170
|
id: rowActionsColumnConfigId,
|
|
119
171
|
width: '44px',
|
|
120
172
|
alignment: 'center',
|
|
121
|
-
renderCellContent:
|
|
122
|
-
let {
|
|
123
|
-
rowIndex,
|
|
124
|
-
isEditing,
|
|
125
|
-
focusCell,
|
|
126
|
-
focusableElementRef,
|
|
127
|
-
rowId
|
|
128
|
-
} = _ref2;
|
|
129
|
-
const rowDataTestId = getRowTestId(dataTestId, rowId);
|
|
130
|
-
const rowActionMenuDataTestId = getSubDataTestId(rowDataTestId, 'RowActionMenu');
|
|
131
|
-
return /*#__PURE__*/React__default.createElement(Dropdown, {
|
|
132
|
-
value: 0
|
|
133
|
-
}, /*#__PURE__*/React__default.createElement(DropdownButton, null, /*#__PURE__*/React__default.createElement(IconButton, {
|
|
134
|
-
"aria-label": rowActionsButtonAriaLabel,
|
|
135
|
-
tabIndex: isEditing ? 0 : -1,
|
|
136
|
-
ref: focusableElementRef,
|
|
137
|
-
onKeyDown: e => {
|
|
138
|
-
if (e.key === 'Escape') {
|
|
139
|
-
focusCell();
|
|
140
|
-
e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"data-testid": getSubDataTestId(rowDataTestId, 'RowActionButton')
|
|
144
|
-
}, /*#__PURE__*/React__default.createElement(EllipsisHorizontalIcon, null))), /*#__PURE__*/React__default.createElement(DropdownList, {
|
|
145
|
-
className: styles.rowActionMenuPane,
|
|
146
|
-
placement: rowActionsPlacement,
|
|
147
|
-
"data-testid": rowActionMenuDataTestId
|
|
148
|
-
}, !rows ? [] : rowActions === null || rowActions === void 0 ? void 0 : rowActions.map((actionGroup, groupIndex) => {
|
|
149
|
-
var _actionGroup$actions;
|
|
150
|
-
const row = rows[rowIndex];
|
|
151
|
-
const actions = !row ? [] : (_actionGroup$actions = actionGroup.actions) === null || _actionGroup$actions === void 0 ? void 0 : _actionGroup$actions.map((action, actionIndex) => /*#__PURE__*/React__default.createElement(DropdownOption
|
|
152
|
-
// React Docs: "We don't recommend using indexes for keys if the order of items may change." These will not change; the alternative is to require an id from the consumer.
|
|
153
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
154
|
-
, {
|
|
155
|
-
key: "".concat(groupIndex, "-").concat(actionIndex),
|
|
156
|
-
disabled: typeof action.isDisabled === 'function' ? action.isDisabled(row && row.rowPropReference) : action.isDisabled,
|
|
157
|
-
onSelect: () => action.action(row && row.rowPropReference),
|
|
158
|
-
value: "",
|
|
159
|
-
label: "",
|
|
160
|
-
"data-testid": action.actionId && getSubDataTestId(rowActionMenuDataTestId, "action-".concat(action.actionId))
|
|
161
|
-
}, typeof action.label === 'function' ? action.label(row.rowPropReference) : action.label));
|
|
162
|
-
if (actionGroup.header) {
|
|
163
|
-
return /*#__PURE__*/React__default.createElement(DropdownHeader
|
|
164
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
165
|
-
, {
|
|
166
|
-
key: groupIndex,
|
|
167
|
-
title: actionGroup.header
|
|
168
|
-
}, actions);
|
|
169
|
-
}
|
|
170
|
-
return actions;
|
|
171
|
-
})));
|
|
172
|
-
},
|
|
173
|
+
renderCellContent: renderRowActionCellContent,
|
|
173
174
|
headerLabel: ''
|
|
174
175
|
};
|
|
175
176
|
columnConfigs.push(rowActionsColumnConfig);
|
|
@@ -577,17 +578,6 @@ const AdvancedTable = _ref => {
|
|
|
577
578
|
const value = data[columnId];
|
|
578
579
|
return {
|
|
579
580
|
value,
|
|
580
|
-
setValue: newValue => {
|
|
581
|
-
const updatedRow = {
|
|
582
|
-
...rowPropReference,
|
|
583
|
-
data: {
|
|
584
|
-
...rowPropReference.data,
|
|
585
|
-
[columnId]: newValue
|
|
586
|
-
}
|
|
587
|
-
};
|
|
588
|
-
const newRows = getExternalRowsWithUpdatedRow(rowsProp, rowId, depth, updatedRow);
|
|
589
|
-
onRowsChange === null || onRowsChange === void 0 || onRowsChange(newRows);
|
|
590
|
-
},
|
|
591
581
|
renderCellContent,
|
|
592
582
|
isCellContentInteractive,
|
|
593
583
|
width: (_columnWidths$columnI = columnWidths[columnId]) !== null && _columnWidths$columnI !== void 0 ? _columnWidths$columnI : width,
|
|
@@ -603,7 +593,11 @@ const AdvancedTable = _ref => {
|
|
|
603
593
|
onKeyDown: onKeyDown(rowIndex),
|
|
604
594
|
isDragging: columnId === dragSource,
|
|
605
595
|
key: columnId,
|
|
606
|
-
ref: createRef(rowIndex, columnIndex)
|
|
596
|
+
ref: createRef(rowIndex, columnIndex),
|
|
597
|
+
rowPropReference,
|
|
598
|
+
rowsProp,
|
|
599
|
+
depth,
|
|
600
|
+
onRowsChange
|
|
607
601
|
};
|
|
608
602
|
};
|
|
609
603
|
|
|
@@ -965,4 +959,4 @@ function getExternalRowsWithUpdatedRow(extRows, rowId, depth, updatedRow) {
|
|
|
965
959
|
});
|
|
966
960
|
}
|
|
967
961
|
|
|
968
|
-
export { AdvancedTable };
|
|
962
|
+
export { AdvancedTable, getExternalRowsWithUpdatedRow };
|
|
@@ -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 = "._8StAJ{overflow:auto;position:relative;max-width:100%;max-height:100%}._8StAJ,._9TNl8{background-color:#fff}._9TNl8{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._NsqMx{margin-bottom:4px}._vJ1-u{position:-webkit-sticky;position:sticky;top:0;z-index:100}._pWBcl{display:flex}._pWBcl:focus{outline:none}._pWBcl.focus-visible ._HqhXi:after,._pWBcl:focus-visible ._HqhXi: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}._pWBcl.focus-visible ._HqhXi:last-of-type:after,._pWBcl:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._pWBcl.focus-visible ._HqhXi:first-of-type:after,._pWBcl:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._pWBcl.focus-visible ._HqhXi._Hdgdk:after,._pWBcl:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:1px}._-A9Pq{padding-right:3px}._SF20a{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._ZHTsZ{display:flex}._ZHTsZ._clvHU ._H8Ixq,._ZHTsZ._clvHU ._HqhXi{cursor:pointer}._ZHTsZ._di5wj ._H8Ixq,._ZHTsZ._di5wj ._HqhXi{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._ZHTsZ._di5wj ._H8Ixq._Hdgdk,._ZHTsZ._di5wj ._HqhXi._Hdgdk{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._H8Ixq,._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._qoIp4,._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._xhe9b,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._H8Ixq,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._qoIp4,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._xhe9b{background-color:rgba(11,110,208,.08)}._ZHTsZ._clvHU:hover:not(._di5wj) ._H8Ixq,._ZHTsZ._clvHU:hover:not(._di5wj) ._HqhXi{background-color:#f9f9f9}._ZHTsZ._clvHU:active:not(._di5wj):not(._ZHTsZ._clvHU:active:not(._di5wj):has(._xhe9b:active)) ._H8Ixq,._ZHTsZ._clvHU:active:not(._di5wj):not(._ZHTsZ._clvHU:active:not(._di5wj):has(._xhe9b:active)) ._HqhXi{background-color:#f3f3f3}._ZHTsZ:focus{outline:none}._ZHTsZ.focus-visible ._HqhXi:after,._ZHTsZ:focus-visible ._HqhXi: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}._ZHTsZ.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:0}._ZHTsZ:last-of-type:focus{outline:none}._ZHTsZ:last-of-type.focus-visible ._HqhXi:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi: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}._ZHTsZ:last-of-type.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ:last-of-type.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ:last-of-type.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:1px}._ZHTsZ:last-of-type ._qoIp4:focus{outline:none}._ZHTsZ:last-of-type ._qoIp4._HFXDK.focus-visible:after,._ZHTsZ:last-of-type ._qoIp4._HFXDK:focus-visible:after,._ZHTsZ:last-of-type ._qoIp4.focus-visible:after,._ZHTsZ:last-of-type ._qoIp4: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}._ZHTsZ:first-of-type:focus{outline:none}._ZHTsZ:first-of-type.focus-visible ._HqhXi:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi: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}._ZHTsZ:first-of-type.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ:first-of-type.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ:first-of-type.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:0}._ZHTsZ:first-of-type ._qoIp4:focus{outline:none}._ZHTsZ:first-of-type ._qoIp4._HFXDK.focus-visible:after,._ZHTsZ:first-of-type ._qoIp4._HFXDK:focus-visible:after,._ZHTsZ:first-of-type ._qoIp4.focus-visible:after,._ZHTsZ:first-of-type ._qoIp4: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}._Q3ZW2{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}._Q3ZW2._mubdL{flex-grow:1}._Q3ZW2._ZMY1g{cursor:pointer}._Q3ZW2._ZMY1g:hover:not(._7lcB4){background-color:#f9f9f9;border-bottom-color:#6a6d70}._Q3ZW2._ZMY1g:active:not(._7lcB4){background-color:#f3f3f3}._Q3ZW2._kn-rs:not(._7lcB4){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._Q3ZW2._7lcB4{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._Q3ZW2 ._Cw8fo{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._Q3ZW2 ._Cw8fo._7gsSB{left:-1px}._Q3ZW2 ._Cw8fo._f6296{right:0}._Q3ZW2 ._x2SvC{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._Q3ZW2 ._x2SvC._7gsSB{left:-2px}._Q3ZW2 ._x2SvC._f6296{right:-1px}._Q3ZW2:first-of-type ._7gsSB._Cw8fo{left:0;width:2px;border-left:1px solid #fff}._Q3ZW2:first-of-type ._7gsSB._x2SvC{left:0}._Q3ZW2:last-of-type ._f6296._Cw8fo{right:0;width:2px;border-right:1px solid #fff}._Q3ZW2:last-of-type ._f6296._x2SvC{right:0}._Q3ZW2 ._7PlgN{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._Q3ZW2 ._7PlgN ._4m-5B{position:absolute;width:2px;right:2px;top:0;bottom:0}._Q3ZW2 ._7PlgN ._4m-5B._9LfzU{background-color:#0a6ed1}._Q3ZW2 ._7PlgN:hover ._4m-5B:not(._9LfzU){background-color:#d9d9d9}._Q3ZW2 ._2VTjY{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._Q3ZW2 ._2VTjY._jT93m{flex-direction:row-reverse;justify-content:flex-start}._Q3ZW2 ._2VTjY._jT93m ._jQsdJ{margin:1px 7px 1px 1px}._Q3ZW2 ._2VTjY ._ekPE9{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._Q3ZW2 ._2VTjY ._jQsdJ{margin:1px 1px 1px 7px;flex-shrink:0}._Q3ZW2 ._hHacL{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._Q3ZW2 ._-HdYi{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._Q3ZW2:focus{outline:none}._Q3ZW2._HFXDK.focus-visible:after,._Q3ZW2._HFXDK:focus-visible:after,._Q3ZW2.focus-visible:after,._Q3ZW2: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}._dcGVu{margin-right:6px}._Hdgdk{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._Hdgdk[focus-within]{z-index:30}._Hdgdk:focus-within{z-index:30}._qoIp4{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}._qoIp4 ._Phdi-{width:100%;padding:12px 12px 11px;overflow:hidden}._qoIp4._7lcB4{background-color:#efefef;border-bottom-color:#dfdfe1}._qoIp4._mubdL{flex-grow:1}._qoIp4:focus{outline:none}._qoIp4._HFXDK.focus-visible:after,._qoIp4._HFXDK:focus-visible:after,._qoIp4.focus-visible:after,._qoIp4: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}._H8Ixq{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._H8Ixq._RgxgU{border-bottom-color:#d9d9d9;background-color:#fff}._xhe9b{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}._xhe9b._RgxgU{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._xhe9b:focus input~span,._xhe9b:hover input~span{border-color:#0b6ed0}._iUQzy{justify-content:flex-start}._AcZIH{justify-content:center;text-align:center}._jT93m{justify-content:flex-end;text-align:right}._c-C-a{display:none}._Wnrsm{opacity:0;height:0;width:0;overflow:hidden}._8U91N,._Wnrsm{position:absolute}._8U91N{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._NjjBj{max-width:250px;min-width:150px!important}";
|
|
4
|
+
var styles = {"advancedTable":"_8StAJ","advancedTablePaginationContainer":"_9TNl8","advancedTablePagination":"_NsqMx","advancedTableColumnHeadersRowGroup":"_vJ1-u","advancedTableColumnHeaders":"_pWBcl","advancedTableRowChild":"_HqhXi","pinnedContainer":"_Hdgdk","advancedTableRowGroup":"_-A9Pq","advancedTableRowRestrictedWidth":"_SF20a","advancedTableRow":"_ZHTsZ","hasRowAction":"_clvHU","advancedTableExpandRowSpacer":"_H8Ixq","isSelected":"_di5wj","advancedTableCheckbox":"_xhe9b","advancedTableCell":"_qoIp4","showFocusRing":"_HFXDK","advancedTableColumnHeader":"_Q3ZW2","fillRemainingSpace":"_mubdL","isSortable":"_ZMY1g","isDragging":"_7lcB4","isSorted":"_kn-rs","dropTargetLine":"_Cw8fo","dropTargetLeft":"_7gsSB","dropTargetRight":"_f6296","dropTargetMarker":"_x2SvC","resizeHandle":"_7PlgN","resizeLine":"_4m-5B","isResizing":"_9LfzU","advancedTableColumnHeaderLabel":"_2VTjY","rightAligned":"_jT93m","sortIcon":"_jQsdJ","advancedTableColumnHeaderLabelText":"_ekPE9","advancedTableColumnHeaderMenu":"_hHacL","advancedTableColumnHeaderMenuHiddenAnchor":"_-HdYi","advancedTableColumnHeaderMenuItemIcon":"_dcGVu","advancedTableCellContainer":"_Phdi-","header":"_RgxgU","leftAligned":"_iUQzy","centerAligned":"_AcZIH","hiddenDescription":"_c-C-a","hiddenLiveRegion":"_Wnrsm","dragPreview":"_8U91N","rowActionMenuPane":"_NjjBj"};
|
|
5
|
+
var stylesheet="._8StAJ{overflow:auto;position:relative;max-width:100%;max-height:100%}._8StAJ,._9TNl8{background-color:#fff}._9TNl8{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._NsqMx{margin-bottom:4px}._vJ1-u{position:-webkit-sticky;position:sticky;top:0;z-index:100}._pWBcl{display:flex}._pWBcl:focus{outline:none}._pWBcl.focus-visible ._HqhXi:after,._pWBcl:focus-visible ._HqhXi: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}._pWBcl.focus-visible ._HqhXi:last-of-type:after,._pWBcl:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._pWBcl.focus-visible ._HqhXi:first-of-type:after,._pWBcl:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._pWBcl.focus-visible ._HqhXi._Hdgdk:after,._pWBcl:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:1px}._-A9Pq{padding-right:3px}._SF20a{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._ZHTsZ{display:flex}._ZHTsZ._clvHU ._H8Ixq,._ZHTsZ._clvHU ._HqhXi{cursor:pointer}._ZHTsZ._di5wj ._H8Ixq,._ZHTsZ._di5wj ._HqhXi{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._ZHTsZ._di5wj ._H8Ixq._Hdgdk,._ZHTsZ._di5wj ._HqhXi._Hdgdk{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._H8Ixq,._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._qoIp4,._ZHTsZ._di5wj ._H8Ixq._Hdgdk ._xhe9b,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._H8Ixq,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._qoIp4,._ZHTsZ._di5wj ._HqhXi._Hdgdk ._xhe9b{background-color:rgba(11,110,208,.08)}._ZHTsZ._clvHU:hover:not(._di5wj) ._H8Ixq,._ZHTsZ._clvHU:hover:not(._di5wj) ._HqhXi{background-color:#f9f9f9}._ZHTsZ._clvHU:active:not(._di5wj):not(._ZHTsZ._clvHU:active:not(._di5wj):has(._xhe9b:active)) ._H8Ixq,._ZHTsZ._clvHU:active:not(._di5wj):not(._ZHTsZ._clvHU:active:not(._di5wj):has(._xhe9b:active)) ._HqhXi{background-color:#f3f3f3}._ZHTsZ:focus{outline:none}._ZHTsZ.focus-visible ._HqhXi:after,._ZHTsZ:focus-visible ._HqhXi: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}._ZHTsZ.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:0}._ZHTsZ:last-of-type:focus{outline:none}._ZHTsZ:last-of-type.focus-visible ._HqhXi:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi: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}._ZHTsZ:last-of-type.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ:last-of-type.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ:last-of-type.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:last-of-type:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:1px}._ZHTsZ:last-of-type ._qoIp4:focus{outline:none}._ZHTsZ:last-of-type ._qoIp4._HFXDK.focus-visible:after,._ZHTsZ:last-of-type ._qoIp4._HFXDK:focus-visible:after,._ZHTsZ:last-of-type ._qoIp4.focus-visible:after,._ZHTsZ:last-of-type ._qoIp4: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}._ZHTsZ:first-of-type:focus{outline:none}._ZHTsZ:first-of-type.focus-visible ._HqhXi:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi: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}._ZHTsZ:first-of-type.focus-visible ._HqhXi:last-of-type:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._ZHTsZ:first-of-type.focus-visible ._HqhXi:first-of-type:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._ZHTsZ:first-of-type.focus-visible ._HqhXi._Hdgdk:after,._ZHTsZ:first-of-type:focus-visible ._HqhXi._Hdgdk:after{right:-3px;bottom:0}._ZHTsZ:first-of-type ._qoIp4:focus{outline:none}._ZHTsZ:first-of-type ._qoIp4._HFXDK.focus-visible:after,._ZHTsZ:first-of-type ._qoIp4._HFXDK:focus-visible:after,._ZHTsZ:first-of-type ._qoIp4.focus-visible:after,._ZHTsZ:first-of-type ._qoIp4: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}._Q3ZW2{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}._Q3ZW2._mubdL{flex-grow:1}._Q3ZW2._ZMY1g{cursor:pointer}._Q3ZW2._ZMY1g:hover:not(._7lcB4){background-color:#f9f9f9;border-bottom-color:#6a6d70}._Q3ZW2._ZMY1g:active:not(._7lcB4){background-color:#f3f3f3}._Q3ZW2._kn-rs:not(._7lcB4){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._Q3ZW2._7lcB4{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._Q3ZW2 ._Cw8fo{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._Q3ZW2 ._Cw8fo._7gsSB{left:-1px}._Q3ZW2 ._Cw8fo._f6296{right:0}._Q3ZW2 ._x2SvC{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._Q3ZW2 ._x2SvC._7gsSB{left:-2px}._Q3ZW2 ._x2SvC._f6296{right:-1px}._Q3ZW2:first-of-type ._7gsSB._Cw8fo{left:0;width:2px;border-left:1px solid #fff}._Q3ZW2:first-of-type ._7gsSB._x2SvC{left:0}._Q3ZW2:last-of-type ._f6296._Cw8fo{right:0;width:2px;border-right:1px solid #fff}._Q3ZW2:last-of-type ._f6296._x2SvC{right:0}._Q3ZW2 ._7PlgN{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._Q3ZW2 ._7PlgN ._4m-5B{position:absolute;width:2px;right:2px;top:0;bottom:0}._Q3ZW2 ._7PlgN ._4m-5B._9LfzU{background-color:#0a6ed1}._Q3ZW2 ._7PlgN:hover ._4m-5B:not(._9LfzU){background-color:#d9d9d9}._Q3ZW2 ._2VTjY{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._Q3ZW2 ._2VTjY._jT93m{flex-direction:row-reverse;justify-content:flex-start}._Q3ZW2 ._2VTjY._jT93m ._jQsdJ{margin:1px 7px 1px 1px}._Q3ZW2 ._2VTjY ._ekPE9{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._Q3ZW2 ._2VTjY ._jQsdJ{margin:1px 1px 1px 7px;flex-shrink:0}._Q3ZW2 ._hHacL{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._Q3ZW2 ._-HdYi{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._Q3ZW2:focus{outline:none}._Q3ZW2._HFXDK.focus-visible:after,._Q3ZW2._HFXDK:focus-visible:after,._Q3ZW2.focus-visible:after,._Q3ZW2: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}._dcGVu{margin-right:6px}._Hdgdk{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._Hdgdk[focus-within]{z-index:30}._Hdgdk:focus-within{z-index:30}._qoIp4{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}._qoIp4 ._Phdi-{width:100%;padding:12px 12px 11px;overflow:hidden}._qoIp4._7lcB4{background-color:#efefef;border-bottom-color:#dfdfe1}._qoIp4._mubdL{flex-grow:1}._qoIp4:focus{outline:none}._qoIp4._HFXDK.focus-visible:after,._qoIp4._HFXDK:focus-visible:after,._qoIp4.focus-visible:after,._qoIp4: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}._H8Ixq{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._H8Ixq._RgxgU{border-bottom-color:#d9d9d9;background-color:#fff}._xhe9b{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}._xhe9b._RgxgU{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._xhe9b:focus input~span,._xhe9b:hover input~span{border-color:#0b6ed0}._iUQzy{justify-content:flex-start}._AcZIH{justify-content:center;text-align:center}._jT93m{justify-content:flex-end;text-align:right}._c-C-a{display:none}._Wnrsm{opacity:0;height:0;width:0;overflow:hidden}._8U91N,._Wnrsm{position:absolute}._8U91N{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._NjjBj{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 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
-
import React__default, { forwardRef, useRef, useState } from 'react';
|
|
2
|
+
import React__default, { forwardRef, useRef, useState, useCallback, useMemo } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import styles from './AdvancedTable2.js';
|
|
5
5
|
import { Alignments } from './AdvancedTableTypes.js';
|
|
6
6
|
import '../../utils/index.js';
|
|
7
7
|
import useComputedWidth from './useComputedWidth.js';
|
|
8
|
+
import { getExternalRowsWithUpdatedRow } from './AdvancedTable.js';
|
|
8
9
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
9
10
|
|
|
10
11
|
const AdvancedTableCell = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
11
12
|
let {
|
|
12
13
|
value,
|
|
13
|
-
setValue,
|
|
14
14
|
renderCellContent,
|
|
15
15
|
isCellContentInteractive = true,
|
|
16
16
|
width,
|
|
@@ -27,6 +27,10 @@ const AdvancedTableCell = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
27
27
|
onFocus,
|
|
28
28
|
isDragging,
|
|
29
29
|
className,
|
|
30
|
+
rowPropReference,
|
|
31
|
+
rowsProp,
|
|
32
|
+
depth,
|
|
33
|
+
onRowsChange,
|
|
30
34
|
...rest
|
|
31
35
|
} = _ref;
|
|
32
36
|
const cellRef = useRef(null);
|
|
@@ -61,11 +65,32 @@ const AdvancedTableCell = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
61
65
|
setIsEditing(false);
|
|
62
66
|
}
|
|
63
67
|
} : undefined;
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
const setValue = useCallback(newValue => {
|
|
69
|
+
const updatedRow = {
|
|
70
|
+
...rowPropReference,
|
|
71
|
+
data: {
|
|
72
|
+
...rowPropReference.data,
|
|
73
|
+
[columnId]: newValue
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
const newRows = getExternalRowsWithUpdatedRow(rowsProp, rowId, depth, updatedRow);
|
|
77
|
+
onRowsChange === null || onRowsChange === void 0 || onRowsChange(newRows);
|
|
78
|
+
}, [columnId, depth, onRowsChange, rowId, rowPropReference, rowsProp]);
|
|
68
79
|
const computedWidth = useComputedWidth(widthBuffer, width);
|
|
80
|
+
const cellContent = useMemo(() => typeof renderCellContent === 'function' ? renderCellContent({
|
|
81
|
+
value,
|
|
82
|
+
setValue,
|
|
83
|
+
focusCell: () => {
|
|
84
|
+
var _cellRef$current;
|
|
85
|
+
return (_cellRef$current = cellRef.current) === null || _cellRef$current === void 0 ? void 0 : _cellRef$current.focus();
|
|
86
|
+
},
|
|
87
|
+
focusableElementRef,
|
|
88
|
+
isEditing,
|
|
89
|
+
rowId,
|
|
90
|
+
columnId,
|
|
91
|
+
rowIndex,
|
|
92
|
+
columnIndex
|
|
93
|
+
}) : value, [columnId, columnIndex, isEditing, renderCellContent, rowId, rowIndex, setValue, value]);
|
|
69
94
|
return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
|
|
70
95
|
role: "gridcell",
|
|
71
96
|
"data-testid": dataTestId,
|
|
@@ -87,17 +112,7 @@ const AdvancedTableCell = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
87
112
|
ref: mergeRefs(ref, cellRef)
|
|
88
113
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
89
114
|
className: styles.advancedTableCellContainer
|
|
90
|
-
},
|
|
91
|
-
value,
|
|
92
|
-
setValue,
|
|
93
|
-
focusCell,
|
|
94
|
-
focusableElementRef,
|
|
95
|
-
isEditing,
|
|
96
|
-
rowId,
|
|
97
|
-
columnId,
|
|
98
|
-
rowIndex,
|
|
99
|
-
columnIndex
|
|
100
|
-
}) : value));
|
|
115
|
+
}, cellContent));
|
|
101
116
|
});
|
|
102
117
|
|
|
103
118
|
export { AdvancedTableCell as default };
|
|
@@ -26,6 +26,7 @@ const ChatInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
26
26
|
onChange: externalOnChange,
|
|
27
27
|
'data-testid': dataTestId,
|
|
28
28
|
placeholderText,
|
|
29
|
+
id,
|
|
29
30
|
characterLimit: externalCharacterLimit,
|
|
30
31
|
helperText
|
|
31
32
|
} = _ref;
|
|
@@ -47,11 +48,11 @@ const ChatInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
47
48
|
const newValue = e.target.value;
|
|
48
49
|
setValue(newValue);
|
|
49
50
|
});
|
|
50
|
-
const helperIds = useId();
|
|
51
51
|
const {
|
|
52
52
|
isLoading,
|
|
53
53
|
chatInputRef
|
|
54
54
|
} = useChatContext();
|
|
55
|
+
const chatInputID = useId(id);
|
|
55
56
|
const sendMessageAndClearInput = () => {
|
|
56
57
|
if (!value || isDisabled || isLoading || isMaxCharactersExceeded) return;
|
|
57
58
|
onMessageSend === null || onMessageSend === void 0 || onMessageSend(value);
|
|
@@ -74,6 +75,7 @@ const ChatInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
74
75
|
text: value
|
|
75
76
|
})), /*#__PURE__*/React__default.createElement(Input, {
|
|
76
77
|
ref: mergeRefs(ref, chatInputRef),
|
|
78
|
+
id: "".concat(chatInputID, "-chat-input"),
|
|
77
79
|
multiline: true,
|
|
78
80
|
className: textArea,
|
|
79
81
|
onKeyDown: handleKeyDown,
|
|
@@ -81,7 +83,7 @@ const ChatInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
81
83
|
value: value,
|
|
82
84
|
onChange: handleChange,
|
|
83
85
|
"aria-label": inputLabel,
|
|
84
|
-
"aria-describedby": characterLimit && isMaxCharactersExceeded ? "".concat(
|
|
86
|
+
"aria-describedby": characterLimit && isMaxCharactersExceeded ? "".concat(chatInputID, "-error-text") : "".concat(chatInputID, "-helper-text"),
|
|
85
87
|
placeholder: inputLabel,
|
|
86
88
|
"data-testid": dataTestId ? "".concat(dataTestId, "-input") : undefined,
|
|
87
89
|
invalid: isMaxCharactersExceeded
|
|
@@ -99,14 +101,14 @@ const ChatInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
99
101
|
}, /*#__PURE__*/React__default.createElement(SendIcon, null)))), /*#__PURE__*/React__default.createElement("div", {
|
|
100
102
|
className: characterCountMessage
|
|
101
103
|
}, isMaxCharactersExceeded && /*#__PURE__*/React__default.createElement(ErrorText, {
|
|
102
|
-
id: "".concat(
|
|
104
|
+
id: "".concat(chatInputID, "-error-text"),
|
|
103
105
|
"data-testid": dataTestId && "".concat(dataTestId, "-input-error-text")
|
|
104
106
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
105
107
|
className: inputHelpInformationMessage
|
|
106
108
|
}, translate('chat.maxCharacterLimit')), /*#__PURE__*/React__default.createElement("span", {
|
|
107
109
|
className: inputHelpInformationCounter
|
|
108
110
|
}, value.length, " / ", characterLimit)), characterLimit && /*#__PURE__*/React__default.createElement(HelperText, {
|
|
109
|
-
id: "".concat(
|
|
111
|
+
id: "".concat(chatInputID, "-helper-text"),
|
|
110
112
|
"data-testid": dataTestId && "".concat(dataTestId, "-input-helper-text")
|
|
111
113
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
112
114
|
className: inputHelpInformationMessage
|
|
@@ -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 = {"collapsibleSearchInput":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._-sBEd{display:inline-block;width:36px;transition:width .25s ease-out}._rszjO{width:100%}._z9f83>input{padding-right:0!important}._RNrSr>svg{fill:#515559}";
|
|
4
|
+
var styles = {"collapsibleSearchInput":"_-sBEd","searchInput":"_rszjO","searchInputCollapsed":"_z9f83","iconButton":"_RNrSr"};
|
|
5
|
+
var stylesheet="._-sBEd{display:inline-block;width:36px;transition:width .25s ease-out}._rszjO{width:100%}._z9f83>input{padding-right:0!important}._RNrSr>svg{fill:#515559}";
|
|
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 };
|