@qualtrics/ui-react 2.39.1 → 2.41.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 +29 -0
- package/dist/__shared/cjs/{index-b634ed40.js → index-de17a028.js} +268 -195
- package/dist/__shared/cjs/{index-f5328e70.js → index-ef29a7f6.js} +4 -4
- 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/Checkbox.js +6 -2
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox.js +4 -5
- 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 +12 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownOption.js +8 -5
- package/dist/components/Dropdown/DropdownSearch.js +7 -31
- 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/BaseMenu.js +2 -1
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +4 -3
- package/dist/components/NewMenu/parts/MenuSpinner.js +2 -1
- 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/QuickSearch.js +2 -1
- 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 +4 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/UIProvider/A11yHelpersContext.js +81 -0
- package/dist/components/UIProvider/UIProvider.js +4 -2
- 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/AISpinningTopFilledIcon.js +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.es.js +1 -1
- package/dist/index.js +4 -4
- package/dist/next/AdvancedTable/AdvancedTable.js +15 -8
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/Chat/ChatMessage.js +4 -3
- 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/Hooks/usePaneSearch.js +2 -1
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuItem.js +3 -5
- package/dist/next/Menu/MenuPane.js +4 -3
- package/dist/next/Menu/SubMenu.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput.js +1 -1
- 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 +8 -4
- package/dist/next/index.js +67 -59
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +2 -1
- package/next/package.json +3 -2
- package/package.json +11 -10
|
@@ -2,7 +2,6 @@ import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
|
2
2
|
import React__default, { useState, useRef, useCallback, useMemo, useEffect } from 'react';
|
|
3
3
|
import { Sub, SubTrigger, SubContent, Item } from '@radix-ui/react-dropdown-menu';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
|
-
import { useFocusVisible } from '@react-aria/interactions';
|
|
6
5
|
import styles from './Menu2.js';
|
|
7
6
|
import '../../icons/index.es.js';
|
|
8
7
|
import { useItemContext, usePaneContext, useMenuContext, PaneContextProvider } from './MenuContext.js';
|
|
@@ -18,6 +17,7 @@ import PaneChildren from './PaneChildren.js';
|
|
|
18
17
|
import useFocusVirtualBoundary from './Hooks/useFocusVirtualBoundary.js';
|
|
19
18
|
import useIsVirtualized from './Hooks/useIsVirtualized.js';
|
|
20
19
|
import useMaskDimensions from './Hooks/useMaskDimensions.js';
|
|
20
|
+
import { conditionalA11yHelpersWrapper, useIsFocusVisible } from '../../components/UIProvider/A11yHelpersContext.js';
|
|
21
21
|
import useId from '../../hooks/useId/useId.js';
|
|
22
22
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
23
23
|
import { useDidUpdate } from '../../hooks/useDidUpdate/useDidUpdate.js';
|
|
@@ -79,7 +79,7 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
79
79
|
} = useMenuContext();
|
|
80
80
|
const {
|
|
81
81
|
isFocusVisible
|
|
82
|
-
} =
|
|
82
|
+
} = useIsFocusVisible();
|
|
83
83
|
const zIndex = useMemo(() => paneContainingTriggerZIndex + 1, [paneContainingTriggerZIndex]);
|
|
84
84
|
const thisPanesDepth = (_submenuDepths$intern = submenuDepths[internalId]) !== null && _submenuDepths$intern !== void 0 ? _submenuDepths$intern : Number.MAX_SAFE_INTEGER;
|
|
85
85
|
const [isPaneInDOM, setIsPaneInDOM] = useState(false);
|
|
@@ -253,6 +253,6 @@ const SubMenu = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
253
253
|
className: styles.backIcon
|
|
254
254
|
}), label)), noSearchResultsNode, /*#__PURE__*/React__default.createElement(PaneChildren, null, filteredChildren))));
|
|
255
255
|
});
|
|
256
|
-
var SubMenu$1 = SubMenu;
|
|
256
|
+
var SubMenu$1 = conditionalA11yHelpersWrapper(SubMenu);
|
|
257
257
|
|
|
258
258
|
export { SubMenu$1 as default };
|
|
@@ -62,7 +62,7 @@ const PhoneNumberInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
62
62
|
}
|
|
63
63
|
try {
|
|
64
64
|
const phoneNumber = parsePhoneNumber(value, countryCode);
|
|
65
|
-
internationalNumber = phoneNumber.
|
|
65
|
+
internationalNumber = phoneNumber.number;
|
|
66
66
|
isValidLength = phoneNumber.isPossible();
|
|
67
67
|
} catch (e) {
|
|
68
68
|
// `parsePhoneNumber` throws an error if the inputs are invalid.
|
|
@@ -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 = {"input":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._J47qA input{padding-left:76px!important}._JSVX- input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._JSVX- input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._JSVX- input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._-eVoI{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._-eVoI,._-eVoI._JSVX-:hover{background-color:transparent!important}._-eVoI:hover{background-color:rgba(50,54,58,.08)!important}._-eVoI:active{background-color:rgba(50,54,58,.11)!important}._-eVoI svg{top:2px!important}._AnREP{position:relative}._wftPS{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
4
|
+
var styles = {"input":"_J47qA","disabled":"_JSVX-","dropdown":"_-eVoI","container":"_AnREP","countryCode":"_wftPS"};
|
|
5
|
+
var stylesheet="._J47qA input{padding-left:76px!important}._JSVX- input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._JSVX- input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._JSVX- input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._-eVoI{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._-eVoI,._-eVoI._JSVX-:hover{background-color:transparent!important}._-eVoI:hover{background-color:rgba(50,54,58,.08)!important}._-eVoI:active{background-color:rgba(50,54,58,.11)!important}._-eVoI svg{top:2px!important}._AnREP{position:relative}._wftPS{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
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 = {"isInvalid":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._CbDm-{box-shadow:inset 0 0 0 1px #b00!important}._-0sD7{margin-right:7px}._ic2z6{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
4
|
+
var styles = {"isInvalid":"_CbDm-","checkbox":"_-0sD7","selectedItem":"_ic2z6"};
|
|
5
|
+
var stylesheet="._CbDm-{box-shadow:inset 0 0 0 1px #b00!important}._-0sD7{margin-right:7px}._ic2z6{background-color:rgba(11,110,208,.08);font-weight:500}";
|
|
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 = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._xeEYl{display:flex}._oLfob{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._oLfob._6voBr{background-color:#fff}._oLfob._6voBr._glHIk.focus-visible:not(._Lh6a0),._oLfob._6voBr._glHIk:focus-visible:not(._Lh6a0),._oLfob._6voBr._YWWmn:not(._oLfob._6voBr._wkGAq),._oLfob._maHty{background-color:#0b6ed0}._oLfob._maHty._Lh6a0._glHIk,._oLfob._maHty._Lh6a0._wkGAq,._oLfob._maHty._wkGAq._YWWmn{opacity:.4}._C8P3H{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._C8P3H:focus{z-index:1}._CbnUK{border-radius:0 4px 4px 0;transition:border .2s,background .2s,color .2s;border-left:none;min-width:35px!important;padding:0!important;justify-content:center!important}._CbnUK svg{margin-left:1px}._CbnUK._6voBr{background-color:#0b6ed0;border-color:transparent}._CbnUK._6voBr svg{fill:#fff!important}._CbnUK._6voBr:not(._dNjkd):hover{background-color:#085caf!important}._CbnUK._6voBr:not(._dNjkd):active{background-color:#0854a1!important}._CbnUK._6voBr._dNjkd{opacity:.4}._CbnUK._6voBr._dNjkd svg{background-color:transparent}._CbnUK._maHty{border-color:#0b6ed0;background-color:#fff}._CbnUK._maHty svg{fill:#0b6ed0!important}._CbnUK._maHty:not(._dNjkd):hover{background-color:#eef5fc!important}._CbnUK._maHty:not(._dNjkd):active{background-color:#e1edf9!important}._CbnUK._maHty._dNjkd{opacity:.4}._CbnUK._maHty._dNjkd svg{background-color:transparent}._tBnDg{width:260px}";
|
|
4
|
+
var styles = {"container":"_xeEYl","divider":"_oLfob","primary":"_6voBr","mainButtonFocus":"_glHIk","mainButtonDisabled":"_Lh6a0","dropdownButtonFocus":"_YWWmn","dropdownButtonDisabled":"_wkGAq","secondary":"_maHty","mainButton":"_C8P3H","dropdownButton":"_CbnUK","disabled":"_dNjkd","dropdownOption":"_tBnDg"};
|
|
5
|
+
var stylesheet="._xeEYl{display:flex}._oLfob{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._oLfob._6voBr{background-color:#fff}._oLfob._6voBr._glHIk.focus-visible:not(._Lh6a0),._oLfob._6voBr._glHIk:focus-visible:not(._Lh6a0),._oLfob._6voBr._YWWmn:not(._oLfob._6voBr._wkGAq),._oLfob._maHty{background-color:#0b6ed0}._oLfob._maHty._Lh6a0._glHIk,._oLfob._maHty._Lh6a0._wkGAq,._oLfob._maHty._wkGAq._YWWmn{opacity:.4}._C8P3H{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._C8P3H:focus{z-index:1}._CbnUK{border-radius:0 4px 4px 0;transition:border .2s,background .2s,color .2s;border-left:none;min-width:35px!important;padding:0!important;justify-content:center!important}._CbnUK svg{margin-left:1px}._CbnUK._6voBr{background-color:#0b6ed0;border-color:transparent}._CbnUK._6voBr svg{fill:#fff!important}._CbnUK._6voBr:not(._dNjkd):hover{background-color:#085caf!important}._CbnUK._6voBr:not(._dNjkd):active{background-color:#0854a1!important}._CbnUK._6voBr._dNjkd{opacity:.4}._CbnUK._6voBr._dNjkd svg{background-color:transparent}._CbnUK._maHty{border-color:#0b6ed0;background-color:#fff}._CbnUK._maHty svg{fill:#0b6ed0!important}._CbnUK._maHty:not(._dNjkd):hover{background-color:#eef5fc!important}._CbnUK._maHty:not(._dNjkd):active{background-color:#e1edf9!important}._CbnUK._maHty._dNjkd{opacity:.4}._CbnUK._maHty._dNjkd svg{background-color:transparent}._tBnDg{width:260px}";
|
|
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 = {"timePickerContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._k-17P{display:inline-block;position:relative}._k-17P ._wJO5S{width:120px}._k-17P ._wJO5S ._6IQQN._oL3Qs{transform:rotate(-180deg)}._k-17P ._wJO5S ._6IQQN._-BWTJ{fill:#9d9fa1;opacity:.4}._k-17P ._iLokg>input:focus{box-shadow:none!important;border:1px solid #898989!important}._k-17P ._6IQQN{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._k-17P ._6IQQN._oL3Qs{transform:rotate(-180deg)}._AT0Sk{width:120px}._AT0Sk ._lmbVR._03HGc{background-color:#efefef;border-radius:6px}";
|
|
4
|
+
var styles = {"timePickerContainer":"_k-17P","input":"_wJO5S","icon":"_6IQQN","open":"_oL3Qs","disabled":"_-BWTJ","ignoreFocusStyle":"_iLokg","timePickerFlyout":"_AT0Sk","option":"_lmbVR","exactMatch":"_03HGc"};
|
|
5
|
+
var stylesheet="._k-17P{display:inline-block;position:relative}._k-17P ._wJO5S{width:120px}._k-17P ._wJO5S ._6IQQN._oL3Qs{transform:rotate(-180deg)}._k-17P ._wJO5S ._6IQQN._-BWTJ{fill:#9d9fa1;opacity:.4}._k-17P ._iLokg>input:focus{box-shadow:none!important;border:1px solid #898989!important}._k-17P ._6IQQN{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._k-17P ._6IQQN._oL3Qs{transform:rotate(-180deg)}._AT0Sk{width:120px}._AT0Sk ._lmbVR._03HGc{background-color:#efefef;border-radius:6px}";
|
|
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 = {"default":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._ZJiJk{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._IjMBG{background-color:rgba(50,54,58,.08)}._Jb90W{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._xH1C9{color:rgba(81,85,89,.4);cursor:not-allowed}._Wp-u3{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._QKNKL{color:#085caf;border-color:#085caf}._jKywo,._QKNKL{background:rgba(11,110,208,.11)}._jKywo{color:#0854a1;border-color:#0854a1}._d4xBJ{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._Ricv-{position:relative;display:inline-grid}._Ricv- svg{fill:currentColor}._Ricv- ._MLrYY{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._Ricv- ._MLrYY+._O-xb-{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;border-radius:4px;grid-column:1;grid-row:1;padding:0;min-width:76px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._Ricv- ._MLrYY+._O-xb-._6ew9M{padding:5px;max-width:36px;min-width:36px}._Ricv- ._MLrYY+._O-xb-._mWj9b{padding:0 16px}._Ricv- ._MLrYY+._O-xb-._ow61A{padding:0 16px 0 12px}._Ricv- ._MLrYY:hover+._O-xb-{background-color:rgba(50,54,58,.08)}._Ricv- ._MLrYY:disabled+._O-xb-{color:rgba(81,85,89,.4);cursor:not-allowed}._Ricv- ._MLrYY:active+._O-xb-,._Ricv- ._MLrYY:focus:active+._O-xb-{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._Ricv- ._MLrYY:checked+._O-xb-{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._Ricv- ._MLrYY:checked:hover+._O-xb-{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._Ricv- ._MLrYY:checked:disabled+._O-xb-{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._Ricv- ._MLrYY:checked:active+._O-xb-,._Ricv- ._MLrYY:checked:focus:active+._O-xb-{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._Fe-3A{display:inline-flex;position:relative}._Fe-3A:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._Fe-3A>*{flex-shrink:0;flex-grow:0}._WtBJn{border:none;margin:0;padding:0}._WtBJn legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._Ricv- ._MLrYY.focus-visible,._Ricv- ._MLrYY:focus-visible{outline:none}._Ricv- ._MLrYY.focus-visible+._O-xb-,._Ricv- ._MLrYY:focus-visible+._O-xb-{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"default":"_ZJiJk","hovered":"_IjMBG","pressed":"_Jb90W","disabled":"_xH1C9","selectedDefault":"_Wp-u3","selectedHovered":"_QKNKL","selectedPressed":"_jKywo","selectedDisabled":"_d4xBJ","toggleContainer":"_Ricv-","toggleInput":"_MLrYY","toggleButton":"_O-xb-","iconOnly":"_6ew9M","text":"_mWj9b","iconText":"_ow61A","toggleButtonGroup":"_Fe-3A","toggleButtonGroupFieldset":"_WtBJn"};
|
|
5
|
+
var stylesheet="._ZJiJk{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._IjMBG{background-color:rgba(50,54,58,.08)}._Jb90W{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._xH1C9{color:rgba(81,85,89,.4);cursor:not-allowed}._Wp-u3{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._QKNKL{color:#085caf;border-color:#085caf}._jKywo,._QKNKL{background:rgba(11,110,208,.11)}._jKywo{color:#0854a1;border-color:#0854a1}._d4xBJ{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._Ricv-{position:relative;display:inline-grid}._Ricv- svg{fill:currentColor}._Ricv- ._MLrYY{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._Ricv- ._MLrYY+._O-xb-{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;border-radius:4px;grid-column:1;grid-row:1;padding:0;min-width:76px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._Ricv- ._MLrYY+._O-xb-._6ew9M{padding:5px;max-width:36px;min-width:36px}._Ricv- ._MLrYY+._O-xb-._mWj9b{padding:0 16px}._Ricv- ._MLrYY+._O-xb-._ow61A{padding:0 16px 0 12px}._Ricv- ._MLrYY:hover+._O-xb-{background-color:rgba(50,54,58,.08)}._Ricv- ._MLrYY:disabled+._O-xb-{color:rgba(81,85,89,.4);cursor:not-allowed}._Ricv- ._MLrYY:active+._O-xb-,._Ricv- ._MLrYY:focus:active+._O-xb-{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._Ricv- ._MLrYY:checked+._O-xb-{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._Ricv- ._MLrYY:checked:hover+._O-xb-{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._Ricv- ._MLrYY:checked:disabled+._O-xb-{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._Ricv- ._MLrYY:checked:active+._O-xb-,._Ricv- ._MLrYY:checked:focus:active+._O-xb-{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._Fe-3A{display:inline-flex;position:relative}._Fe-3A:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._Fe-3A>*{flex-shrink:0;flex-grow:0}._WtBJn{border:none;margin:0;padding:0}._WtBJn legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._Ricv- ._MLrYY.focus-visible,._Ricv- ._MLrYY:focus-visible{outline:none}._Ricv- ._MLrYY.focus-visible+._O-xb-,._Ricv- ._MLrYY:focus-visible+._O-xb-{z-index:20;outline:none;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 };
|
package/dist/next/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare interface AdvancedTableAction {
|
|
|
25
25
|
label: React_2.ReactNode | ((row?: AdvancedTableRow) => React_2.ReactNode);
|
|
26
26
|
action: (row?: AdvancedTableRow) => void;
|
|
27
27
|
isDisabled?: (row?: AdvancedTableRow) => boolean | boolean;
|
|
28
|
+
actionId?: string;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
declare interface AdvancedTableActionGroup {
|
|
@@ -165,6 +166,9 @@ export declare interface AdvancedTableProps {
|
|
|
165
166
|
* - sort: `-Sort-<index>-<direction>`
|
|
166
167
|
* - row: `-row-<rowId>`
|
|
167
168
|
* - row checkbox: `-row-<rowId>-Checkbox`
|
|
169
|
+
* - row action button: `-row-<rowId>-RowActionButton`
|
|
170
|
+
* - row action menu: `-row-<rowId>-RowActionMenu`
|
|
171
|
+
* - action: `-action-<actionId>`
|
|
168
172
|
* - gridcell: `-cell-<rowId>-<columnId>`
|
|
169
173
|
* - pagination: `-TablePagination`
|
|
170
174
|
* - previous button: `-PreviousButton`
|
|
@@ -227,7 +231,7 @@ export declare interface ChatInputProps {
|
|
|
227
231
|
placeholderText?: string;
|
|
228
232
|
}
|
|
229
233
|
|
|
230
|
-
export declare const ChatMessage: React_2.ForwardRefExoticComponent<ChatMessageProps & React_2.RefAttributes<HTMLLIElement>>;
|
|
234
|
+
export declare const ChatMessage: React_2.ForwardRefExoticComponent<ChatMessageProps & React_2.RefAttributes<HTMLLIElement> & React_2.RefAttributes<unknown>>;
|
|
231
235
|
|
|
232
236
|
export declare const ChatMessageList: React_2.ForwardRefExoticComponent<ChatMessageListProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
233
237
|
|
|
@@ -711,7 +715,7 @@ export declare interface MenuButtonProps extends Omit<AllHTMLAttributes<HTMLButt
|
|
|
711
715
|
children: React_2.ReactNode;
|
|
712
716
|
}
|
|
713
717
|
|
|
714
|
-
export declare const MenuItem: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
718
|
+
export declare const MenuItem: React_2.ForwardRefExoticComponent<MenuItemProps & React_2.RefAttributes<HTMLDivElement> & React_2.RefAttributes<unknown>>;
|
|
715
719
|
|
|
716
720
|
export declare interface MenuItemProps extends AllHTMLAttributes<HTMLDivElement> {
|
|
717
721
|
/** Disables the item
|
|
@@ -730,7 +734,7 @@ export declare interface MenuItemProps extends AllHTMLAttributes<HTMLDivElement>
|
|
|
730
734
|
label?: string;
|
|
731
735
|
}
|
|
732
736
|
|
|
733
|
-
export declare const MenuPane: React_2.ForwardRefExoticComponent<MenuPaneProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
737
|
+
export declare const MenuPane: React_2.ForwardRefExoticComponent<MenuPaneProps & React_2.RefAttributes<HTMLDivElement> & React_2.RefAttributes<unknown>>;
|
|
734
738
|
|
|
735
739
|
export declare interface MenuPaneProps extends AllHTMLAttributes<HTMLDivElement> {
|
|
736
740
|
/** Defines where to prioritize placement of the pane. A demo of this behavior is available [here](https://popper.js.org/).
|
|
@@ -1095,7 +1099,7 @@ export declare interface StackItemProps {
|
|
|
1095
1099
|
'data-testid'?: string;
|
|
1096
1100
|
}
|
|
1097
1101
|
|
|
1098
|
-
export declare const SubMenu: React_2.ForwardRefExoticComponent<SubMenuProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1102
|
+
export declare const SubMenu: React_2.ForwardRefExoticComponent<SubMenuProps & React_2.RefAttributes<HTMLDivElement> & React_2.RefAttributes<unknown>>;
|
|
1099
1103
|
|
|
1100
1104
|
export declare interface SubMenuProps extends Omit<AllHTMLAttributes<HTMLDivElement>, 'label'> {
|
|
1101
1105
|
/** The label used on the trigger */
|