@qualtrics/ui-react 2.3.0 → 2.4.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 +20 -0
- package/dist/__shared/cjs/{index-e19e8077.js → index-855cdd36.js} +62 -62
- package/dist/__shared/cjs/{index-d46ed4d4.js → index-ffc51fcd.js} +3 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button2.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/ConfigPane.js +2 -1
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownButton.js +3 -3
- package/dist/components/Dropdown/DropdownList.js +3 -3
- package/dist/components/Dropdown/DropdownSearch.js +2 -2
- 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/Modal.js +7 -1
- 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/SearchInput.js +2 -2
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav.js +4 -4
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/SidebarNav/SidebarNavLink.js +4 -4
- 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/components/deprecated_Toolbar/ToolbarPanel.js +2 -2
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.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 +1 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +106 -99
- package/dist/next/AdvancedTable/AdvancedTable.js +1 -1
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +4 -4
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/index.d.ts +1 -1
- package/dist/next/index.js +25 -25
- package/dist/utils/Flyout/Flyout2.js +3 -3
- 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 = {"colorPickerBtnColor":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._3lXLv{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._2pVub{margin-right:-12px;margin-left:4px}._15Ybb{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._2-0jR{margin:8px 8px 0;display:flex}._2A0Kh,._2zxAl{margin-left:4px}._3IszD{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._DR97A{margin:0 4px 4px 0}._DR97A:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._3U6DS{margin:4px 8px 8px}._eIOwC{position:relative;width:96px;height:96px;outline:0}body.keyboard-user ._eIOwC:active:focus ._1tHV8,body.keyboard-user ._eIOwC:focus ._1tHV8{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1fl2X{background:linear-gradient(90deg,#fff,transparent)}._1fl2X,._x8Ceq{position:absolute;top:0;right:0;bottom:0;left:0}._x8Ceq{background:linear-gradient(0deg,#000,transparent)}._1tHV8{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._13TqE{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}body.keyboard-user ._13TqE:active:focus ._2_Oc_,body.keyboard-user ._13TqE:focus ._2_Oc_{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2_Oc_{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._1VwgC{position:relative;width:16px;height:96px}._3zm07{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._3zm07,._22nFU{position:absolute}._22nFU{top:0;right:0;bottom:0;left:0;outline:0}body.keyboard-user ._22nFU:active:focus ._3zm07,body.keyboard-user ._22nFU:focus ._3zm07{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2fb3O{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._2HXYJ{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._2HXYJ:active:focus,._2HXYJ:focus{outline:none}body.keyboard-user ._2HXYJ:active:focus,body.keyboard-user ._2HXYJ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1Yx0t{display:flex}._1Yx0t ._BEOqm{position:relative;flex-shrink:0;width:26px;height:26px}._1Yx0t ._3Efk2{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._1Yx0t ._25ObV{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
|
|
4
|
+
var styles = {"colorPickerBtnColor":"_3lXLv","colorPickerBtnIcon":"_2pVub","colorPicker":"_15Ybb","colorPickerSliderContainer":"_2-0jR","colorPickerHue":"_2zxAl","colorPickerAlpha":"_2A0Kh","colorPickerSwatches":"_3IszD","colorPickerSwatch":"_DR97A","colorPickerHex":"_3U6DS","saturation":"_eIOwC","saturationCircle":"_1tHV8","saturationWhite":"_1fl2X","saturationBlack":"_x8Ceq","hue":"_13TqE","hueSlider":"_2_Oc_","alpha":"_1VwgC","alphaSlider":"_3zm07","alphaGradient":"_22nFU","alphaCheckerboard":"_2fb3O","swatch":"_2HXYJ","hex":"_1Yx0t","hexSwatch":"_BEOqm","hexSwatchColor":"_3Efk2","hexInput":"_25ObV"};
|
|
5
|
+
var stylesheet="._3lXLv{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._2pVub{margin-right:-12px;margin-left:4px}._15Ybb{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._2-0jR{margin:8px 8px 0;display:flex}._2A0Kh,._2zxAl{margin-left:4px}._3IszD{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._DR97A{margin:0 4px 4px 0}._DR97A:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._3U6DS{margin:4px 8px 8px}._eIOwC{position:relative;width:96px;height:96px;outline:0}body.keyboard-user ._eIOwC:active:focus ._1tHV8,body.keyboard-user ._eIOwC:focus ._1tHV8{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1fl2X{background:linear-gradient(90deg,#fff,transparent)}._1fl2X,._x8Ceq{position:absolute;top:0;right:0;bottom:0;left:0}._x8Ceq{background:linear-gradient(0deg,#000,transparent)}._1tHV8{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._13TqE{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}body.keyboard-user ._13TqE:active:focus ._2_Oc_,body.keyboard-user ._13TqE:focus ._2_Oc_{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2_Oc_{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._1VwgC{position:relative;width:16px;height:96px}._3zm07{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._3zm07,._22nFU{position:absolute}._22nFU{top:0;right:0;bottom:0;left:0;outline:0}body.keyboard-user ._22nFU:active:focus ._3zm07,body.keyboard-user ._22nFU:focus ._3zm07{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2fb3O{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._2HXYJ{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._2HXYJ:active:focus,._2HXYJ:focus{outline:none}body.keyboard-user ._2HXYJ:active:focus,body.keyboard-user ._2HXYJ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1Yx0t{display:flex}._1Yx0t ._BEOqm{position:relative;flex-shrink:0;width:26px;height:26px}._1Yx0t ._3Efk2{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._1Yx0t ._25ObV{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
|
|
6
6
|
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 = {"numberStepperContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._13758{display:inline-flex}._2RU5D{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}._2RU5D:hover:not(._3xUtx){cursor:pointer;background:#f5f5f5}._2RU5D._2B9SZ{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._2RU5D._3xUtx{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._2RU5D._3xUtx>svg{opacity:.4}._2RU5D::-webkit-inner-spin-button,._2RU5D::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._2RU5D:focus{z-index:0;border:none;border-radius:4px}._2RU5D:focus:not(._2B9SZ){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1E2Zn,._2RU5D:focus:not(._3xUtx){background:#fafafa}._1E2Zn{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}._1E2Zn:hover:not(._3xUtx){cursor:pointer;background:#f5f5f5}._1E2Zn:active:not(._3xUtx){background:#e5e5e5}._1E2Zn._3xUtx{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._1E2Zn._3xUtx>svg{opacity:.4}._2Qaek{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}._2Qaek:hover:not(._3xUtx){cursor:pointer;background:#f5f5f5}._2Qaek:active:not(._3xUtx){background:#e5e5e5}._2Qaek._3xUtx{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._2Qaek._3xUtx>svg{opacity:.4}._1mrm1{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
4
|
+
var styles = {"numberStepperContainer":"_13758","numberStepperInput":"_2RU5D","disabled":"_3xUtx","invalid":"_2B9SZ","decrementBtn":"_1E2Zn","incrementBtn":"_2Qaek","inputValueAlert":"_1mrm1"};
|
|
5
|
+
var stylesheet="._13758{display:inline-flex}._2RU5D{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}._2RU5D:hover:not(._3xUtx){cursor:pointer;background:#f5f5f5}._2RU5D._2B9SZ{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._2RU5D._3xUtx{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._2RU5D._3xUtx>svg{opacity:.4}._2RU5D::-webkit-inner-spin-button,._2RU5D::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._2RU5D:focus{z-index:0;border:none;border-radius:4px}._2RU5D:focus:not(._2B9SZ){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1E2Zn,._2RU5D:focus:not(._3xUtx){background:#fafafa}._1E2Zn{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}._1E2Zn:hover:not(._3xUtx){cursor:pointer;background:#f5f5f5}._1E2Zn:active:not(._3xUtx){background:#e5e5e5}._1E2Zn._3xUtx{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._1E2Zn._3xUtx>svg{opacity:.4}._2Qaek{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}._2Qaek:hover:not(._3xUtx){cursor:pointer;background:#f5f5f5}._2Qaek:active:not(._3xUtx){background:#e5e5e5}._2Qaek._3xUtx{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._2Qaek._3xUtx>svg{opacity:.4}._1mrm1{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
6
6
|
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 = "._dV2C7{display:block}._5nHsG{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._1XDQf{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}._1XDQf:hover{color:#32363a}._1XDQf:focus{outline:none}._1XDQf._39DEk{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a}._3xX5g{padding-top:32px}._3xX5g._3DCM1{display:none}body.keyboard-user ._1XDQf:active:focus,body.keyboard-user ._1XDQf:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"tabs":"_dV2C7","bar":"_5nHsG","tab":"_1XDQf","active":"_39DEk","panel":"_3xX5g","inactive":"_3DCM1"};
|
|
5
|
+
var stylesheet="._dV2C7{display:block}._5nHsG{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._1XDQf{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}._1XDQf:hover{color:#32363a}._1XDQf:focus{outline:none}._1XDQf._39DEk{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a}._3xX5g{padding-top:32px}._3xX5g._3DCM1{display:none}body.keyboard-user ._1XDQf:active:focus,body.keyboard-user ._1XDQf:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
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 = "._1XaCe,._343MD{display:flex}._1XaCe{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._4KqDD{width:69px;min-width:auto;max-width:none}._3Wqs8{width:100%}._1ngkN{margin-bottom:12px;background-color:transparent!important}._1ngkN:hover{background-color:rgba(11,110,208,.08)!important}._1ngkN:hover>svg{fill:#085caf}._1ngkN:hover>span{color:#085caf}._1ngkN:active{background-color:rgba(11,110,208,.12)!important}._1ngkN:active>svg{fill:#0854a1}._1ngkN:active>span{color:#0854a1}._1ngkN._16Zsm{background-color:rgba(11,110,208,.08)!important}._1ngkN._16Zsm>svg{fill:#0b6ed0}._1ngkN._16Zsm>span{color:#0b6ed0}._1ngkN._16Zsm:hover{background-color:rgba(11,110,208,.08)!important}._1ngkN._16Zsm:hover>svg{fill:#085caf}._1ngkN._16Zsm:hover>span{color:#085caf}._1ngkN._16Zsm:active{background-color:rgba(11,110,208,.12)!important}._1ngkN._16Zsm:active>svg{fill:#0854a1}._1ngkN._16Zsm:active>span{color:#0854a1}._2s-fu{border-radius:6px}._2s-fu>._QGcEG{display:block;fill:#515559}._2RtO1{margin-top:auto;margin-bottom:0}._22njm{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._22njm:hover>._1xo_G{opacity:1}._2q6XK{width:0;border-width:0;padding:0}._2wBqy{border-radius:4px;min-width:100%;min-height:100%;outline:none}._3XVEv{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}._1xo_G{opacity:0}._1xo_G:hover,._3XVEv._3IlPV._3IlPV,._37-eK{opacity:1}._3XVEv._29bFc._29bFc{opacity:0}._3XVEv>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._3XVEv>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._3XVEv>span:hover>svg{fill:#fff}._3XVEv>span:active{background-color:#0854a1;border-color:#0854a1}._3XVEv>span:active>svg{fill:#fff}._3XVEv>span>svg{fill:#515559;border-radius:50%}._2wBqy._3HHsK{display:none!important}._396K2{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._RGOlQ{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._2tCr9{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._329IK{fill:#515559}._8p_R8{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}body.keyboard-user ._2tCr9:active:focus,body.keyboard-user ._2tCr9:focus,body.keyboard-user ._2wBqy:active:focus,body.keyboard-user ._2wBqy:focus,body.keyboard-user ._396K2:active:focus,body.keyboard-user ._396K2:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}body.keyboard-user ._3XVEv:focus{border-color:#0a3f88}body.keyboard-user ._3XVEv:active>span{background-color:#0854a1;border-color:#0854a1}body.keyboard-user ._3XVEv:active>span>svg{fill:#fff}body.keyboard-user ._1xo_G:focus{opacity:1}";
|
|
4
|
+
var styles = {"toolbar":"_343MD","toolbarNav":"_1XaCe","toolbarNavCollapsed":"_4KqDD","toolbarTabs":"_3Wqs8","toolbarTab":"_1ngkN","selected":"_16Zsm","toolbarTabIconButton":"_2s-fu","icon":"_QGcEG","tabsExpandCollapseButton":"_2RtO1","toolbarPanels":"_22njm","toolbarPanelExpandCollapseButtonDefaultHidden":"_1xo_G","toolbarPanelsCollapsed":"_2q6XK","toolbarPanel":"_2wBqy","toolbarPanelExpandCollapseButton":"_3XVEv","toolbarPanelExpandCollapseButtonDefaultShown":"_37-eK","overrideShow":"_3IlPV","overrideHide":"_29bFc","notSelected":"_3HHsK","buttonWithLabel":"_396K2","buttonWithLabelLabel":"_RGOlQ","iconButtonWithLabel":"_2tCr9","iconButtonWithLabelIcon":"_329IK","iconButtonWithLabelLabel":"_8p_R8"};
|
|
5
|
+
var stylesheet="._1XaCe,._343MD{display:flex}._1XaCe{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._4KqDD{width:69px;min-width:auto;max-width:none}._3Wqs8{width:100%}._1ngkN{margin-bottom:12px;background-color:transparent!important}._1ngkN:hover{background-color:rgba(11,110,208,.08)!important}._1ngkN:hover>svg{fill:#085caf}._1ngkN:hover>span{color:#085caf}._1ngkN:active{background-color:rgba(11,110,208,.12)!important}._1ngkN:active>svg{fill:#0854a1}._1ngkN:active>span{color:#0854a1}._1ngkN._16Zsm{background-color:rgba(11,110,208,.08)!important}._1ngkN._16Zsm>svg{fill:#0b6ed0}._1ngkN._16Zsm>span{color:#0b6ed0}._1ngkN._16Zsm:hover{background-color:rgba(11,110,208,.08)!important}._1ngkN._16Zsm:hover>svg{fill:#085caf}._1ngkN._16Zsm:hover>span{color:#085caf}._1ngkN._16Zsm:active{background-color:rgba(11,110,208,.12)!important}._1ngkN._16Zsm:active>svg{fill:#0854a1}._1ngkN._16Zsm:active>span{color:#0854a1}._2s-fu{border-radius:6px}._2s-fu>._QGcEG{display:block;fill:#515559}._2RtO1{margin-top:auto;margin-bottom:0}._22njm{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._22njm:hover>._1xo_G{opacity:1}._2q6XK{width:0;border-width:0;padding:0}._2wBqy{border-radius:4px;min-width:100%;min-height:100%;outline:none}._3XVEv{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}._1xo_G{opacity:0}._1xo_G:hover,._3XVEv._3IlPV._3IlPV,._37-eK{opacity:1}._3XVEv._29bFc._29bFc{opacity:0}._3XVEv>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._3XVEv>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._3XVEv>span:hover>svg{fill:#fff}._3XVEv>span:active{background-color:#0854a1;border-color:#0854a1}._3XVEv>span:active>svg{fill:#fff}._3XVEv>span>svg{fill:#515559;border-radius:50%}._2wBqy._3HHsK{display:none!important}._396K2{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._RGOlQ{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._2tCr9{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._329IK{fill:#515559}._8p_R8{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}body.keyboard-user ._2tCr9:active:focus,body.keyboard-user ._2tCr9:focus,body.keyboard-user ._2wBqy:active:focus,body.keyboard-user ._2wBqy:focus,body.keyboard-user ._396K2:active:focus,body.keyboard-user ._396K2:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}body.keyboard-user ._3XVEv:focus{border-color:#0a3f88}body.keyboard-user ._3XVEv:active>span{background-color:#0854a1;border-color:#0854a1}body.keyboard-user ._3XVEv:active>span>svg{fill:#fff}body.keyboard-user ._1xo_G:focus{opacity:1}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -19,7 +19,7 @@ const ToolbarPanel = _ref => {
|
|
|
19
19
|
className,
|
|
20
20
|
'aria-labelledby': ariaLabelledby,
|
|
21
21
|
id,
|
|
22
|
-
'data-testid':
|
|
22
|
+
'data-testid': dataTestId,
|
|
23
23
|
...rest
|
|
24
24
|
} = _ref;
|
|
25
25
|
const {
|
|
@@ -39,7 +39,7 @@ const ToolbarPanel = _ref => {
|
|
|
39
39
|
tabIndex: isFocusable && isContainerInTabOrder ? 0 : -1,
|
|
40
40
|
"aria-labelledby": ariaLabelledby || "toolbar-".concat(toolbarId, "-tab-").concat(index),
|
|
41
41
|
id: id || "toolbar-".concat(toolbarId, "-panel-").concat(index),
|
|
42
|
-
"data-testid":
|
|
42
|
+
"data-testid": dataTestId || getSubDataTestId(rootDataTestId, "panel-".concat(index))
|
|
43
43
|
}), isFocusable ? children : null);
|
|
44
44
|
};
|
|
45
45
|
|
|
@@ -36,12 +36,12 @@ function useScreenReaderAnnouncement(politeness) {
|
|
|
36
36
|
const oldestMessage = messageQueue[0];
|
|
37
37
|
let delay;
|
|
38
38
|
|
|
39
|
-
if (((_ariaLiveElementRef$c2 = ariaLiveElementRef.current) === null || _ariaLiveElementRef$c2 === void 0 ? void 0 : _ariaLiveElementRef$c2.
|
|
39
|
+
if (((_ariaLiveElementRef$c2 = ariaLiveElementRef.current) === null || _ariaLiveElementRef$c2 === void 0 ? void 0 : _ariaLiveElementRef$c2.textContent) === oldestMessage) {
|
|
40
40
|
/*
|
|
41
41
|
* If the message to be announced is the same as the previous message, the message needs to be reset.
|
|
42
42
|
* The screen reader won't read the change unless the text has changed.
|
|
43
43
|
*/
|
|
44
|
-
ariaLiveElementRef.current.
|
|
44
|
+
ariaLiveElementRef.current.textContent = '';
|
|
45
45
|
delay = 200; // Gives the screen reader time to detect the new message (this number was chosen arbitrarily)
|
|
46
46
|
} else {
|
|
47
47
|
// If the message to be announced is different from the previous message, there is no need for a delay
|
|
@@ -49,7 +49,7 @@ function useScreenReaderAnnouncement(politeness) {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
setTimeout(() => {
|
|
52
|
-
if (ariaLiveElementRef.current !== undefined) ariaLiveElementRef.current.
|
|
52
|
+
if (ariaLiveElementRef.current !== undefined) ariaLiveElementRef.current.textContent = oldestMessage;
|
|
53
53
|
setMessageQueue(currentMessageQueue => currentMessageQueue.slice(1)); // Removes the oldest message (i.e. first item) from the message queue since it was just announced
|
|
54
54
|
|
|
55
55
|
setIsAnnouncingMessage(false);
|
|
@@ -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 = "._bHm7Q{position:absolute;top:-10000px;left:-10000px}";
|
|
4
|
+
var classes = {"ariaLiveElement":"_bHm7Q"};
|
|
5
|
+
var stylesheet="._bHm7Q{position:absolute;top:-10000px;left:-10000px}";
|
|
6
6
|
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 = "._3jgNS{flex-shrink:0}";
|
|
4
|
+
var styles = {"icon":"_3jgNS"};
|
|
5
|
+
var stylesheet="._3jgNS{flex-shrink:0}";
|
|
6
6
|
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-ffc51fcd.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/extends');
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
package/dist/index.d.ts
CHANGED
|
@@ -1445,6 +1445,7 @@ export declare interface ModalProps extends React_2.AllHTMLAttributes<HTMLDivEle
|
|
|
1445
1445
|
* This prop is no longer unstable; use the `maxSize` prop instead
|
|
1446
1446
|
*/
|
|
1447
1447
|
unstable_maxSize?: 'small' | 'medium' | 'large' | 'xl';
|
|
1448
|
+
isResponsive?: boolean;
|
|
1448
1449
|
open?: boolean;
|
|
1449
1450
|
elementRefToFocusOnOpen?: React_2.RefObject<HTMLElement>;
|
|
1450
1451
|
unstable_isHeightExpandedToMaxSize?: boolean;
|