@qualtrics/ui-react 2.7.1 → 2.9.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 +38 -0
- package/dist/__shared/cjs/{index-68af2c28.js → index-38a79098.js} +198 -551
- package/dist/__shared/cjs/{index-7f94d375.js → index-3e5149c9.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/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/Combobox/ComboboxInput.js +3 -1
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/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/Controls.js +4 -4
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/{SelectMenu → NewMenu}/BaseMenu.js +2 -1
- package/dist/components/NewMenu/Menu/Menu.js +24 -0
- package/dist/components/NewMenu/Menu/index.js +1 -0
- package/dist/components/NewMenu/NewMenu.js +8 -0
- package/dist/components/{SelectMenu → NewMenu/SelectMenu}/SelectMenu.js +1 -1
- package/dist/components/NewMenu/SelectMenu/index.js +1 -0
- package/dist/components/{SelectMenu → NewMenu}/index.js +2 -1
- package/dist/components/{SelectMenu → NewMenu}/parts/MenuAnchor.js +1 -1
- package/dist/components/NewMenu/parts/MenuItem.js +65 -0
- package/dist/components/{SelectMenu → NewMenu}/parts/MenuSearchBox.js +1 -1
- package/dist/components/{SelectMenu → NewMenu}/parts/MenuSpinner.js +1 -1
- package/dist/components/{SelectMenu → NewMenu}/parts/SubmenuAnchor.js +1 -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/Popover.js +1 -1
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch.js +4 -4
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/QuickSearch/QuickSearchInput.js +1 -1
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/components/index.js +1 -2
- 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.es.js +4 -4
- package/dist/index.js +107 -204
- package/dist/next/AdvancedTable/AdvancedTable.js +5 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox.js +4 -1
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Combobox/ComboboxInput.js +6 -2
- package/dist/next/Combobox/ComboboxOption.js +4 -1
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput.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 -0
- package/dist/next/index.js +38 -28
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/package.json +1 -1
- package/dist/components/Menu/Menu.js +0 -112
- package/dist/components/Menu/MenuContext.js +0 -11
- package/dist/components/Menu/index.js +0 -1
- package/dist/components/SelectMenu/SelectMenu2.js +0 -8
- package/dist/components/SelectMenu/parts/MenuItem.js +0 -76
- package/dist/next/Menu/Menu.js +0 -28
- package/dist/next/Menu/Menu2.js +0 -8
- package/dist/next/Menu/MenuButton.js +0 -44
- package/dist/next/Menu/MenuContext.js +0 -41
- package/dist/next/Menu/MenuItem.js +0 -55
- package/dist/next/Menu/MenuPane.js +0 -72
- package/dist/next/Menu/MenuSearch.js +0 -105
- package/dist/next/Menu/SubMenu.js +0 -84
- package/dist/next/Menu/constants.js +0 -9
- package/dist/next/Menu/index.js +0 -5
- /package/dist/components/{SelectMenu → NewMenu}/parts/ArrowNav/ArrowNav.js +0 -0
- /package/dist/components/{SelectMenu → NewMenu}/parts/ArrowNav/index.js +0 -0
- /package/dist/components/{SelectMenu → NewMenu}/parts/MenuContext.js +0 -0
- /package/dist/components/{SelectMenu → NewMenu}/parts/index.js +0 -0
|
@@ -257,6 +257,7 @@ const AdvancedTable = _ref => {
|
|
|
257
257
|
depthSize,
|
|
258
258
|
depthIndex,
|
|
259
259
|
isExpanded: row.isExpanded,
|
|
260
|
+
rowProps: row.unsafe_rowProps,
|
|
260
261
|
rowPropReference: row
|
|
261
262
|
});
|
|
262
263
|
|
|
@@ -771,7 +772,8 @@ const AdvancedTable = _ref => {
|
|
|
771
772
|
depthSize,
|
|
772
773
|
depthIndex,
|
|
773
774
|
rowPropReference,
|
|
774
|
-
parentId
|
|
775
|
+
parentId,
|
|
776
|
+
rowProps
|
|
775
777
|
} = row;
|
|
776
778
|
const hasChildRows = rowPropReference.childRows && rowPropReference.childRows.length > 0;
|
|
777
779
|
const paginatedRowIndex = getPaginatedRowIndex(rowIndex);
|
|
@@ -794,7 +796,7 @@ const AdvancedTable = _ref => {
|
|
|
794
796
|
}
|
|
795
797
|
};
|
|
796
798
|
|
|
797
|
-
return /*#__PURE__*/React__default.createElement(AdvancedTableRow, {
|
|
799
|
+
return /*#__PURE__*/React__default.createElement(AdvancedTableRow, _extends({}, rowProps, {
|
|
798
800
|
"aria-rowindex": hasExpandableRows ? undefined : paginatedRowIndex + 2 // aria-rowindex is one-indexed + the column headers row is the first row in the table
|
|
799
801
|
,
|
|
800
802
|
"data-testid": dataTestId && rowId ? "".concat(dataTestId, "-row-").concat(rowId) : undefined,
|
|
@@ -813,7 +815,7 @@ const AdvancedTable = _ref => {
|
|
|
813
815
|
"aria-setsize": hasExpandableRows ? depthSize : undefined,
|
|
814
816
|
"aria-posinset": hasExpandableRows ? depthIndex + 1 : undefined // aria-posinset is one-indexed
|
|
815
817
|
|
|
816
|
-
}, hasCheckboxColumn || pinnedColumnConfigs.length ? /*#__PURE__*/React__default.createElement("div", {
|
|
818
|
+
}), hasCheckboxColumn || pinnedColumnConfigs.length ? /*#__PURE__*/React__default.createElement("div", {
|
|
817
819
|
className: classNames(styles.pinnedContainer, styles.advancedTableRowChild),
|
|
818
820
|
ref: createPinnedContainerRef(paginatedRowIndex)
|
|
819
821
|
}, hasCheckboxColumn && /*#__PURE__*/React__default.createElement(AdvancedTableCheckbox, {
|
|
@@ -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 = "._3Kllh{overflow:auto;position:relative;max-width:100%;max-height:100%}._3Kllh,._3QZX7{background-color:#fff}._3QZX7{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._OAncC{margin-bottom:4px}._1h6kw{position:-webkit-sticky;position:sticky;top:0;z-index:100}._Dla5_{display:flex}._Dla5_:focus{outline:none}body.keyboard-user ._Dla5_:focus ._2_rMU: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}body.keyboard-user ._Dla5_:focus ._2_rMU:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._Dla5_:focus ._2_rMU:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._Dla5_:focus ._2_rMU._3EeRN:after{right:-3px;bottom:1px}._1gHNv{padding-right:3px}._GwHWr{display:flex}._GwHWr._8aFY_ ._2_rMU,._GwHWr._8aFY_ ._2z3Gm{cursor:pointer}._GwHWr._3JWAT ._2_rMU,._GwHWr._3JWAT ._2z3Gm{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._GwHWr._3JWAT ._2_rMU._3EeRN,._GwHWr._3JWAT ._2z3Gm._3EeRN{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._GwHWr._3JWAT ._2_rMU._3EeRN ._2z3Gm,._GwHWr._3JWAT ._2_rMU._3EeRN ._TnqCO,._GwHWr._3JWAT ._2_rMU._3EeRN ._ZhqV4,._GwHWr._3JWAT ._2z3Gm._3EeRN ._2z3Gm,._GwHWr._3JWAT ._2z3Gm._3EeRN ._TnqCO,._GwHWr._3JWAT ._2z3Gm._3EeRN ._ZhqV4{background-color:rgba(11,110,208,.08)}._GwHWr._8aFY_:hover:not(._3JWAT):not(._3NHFE) ._2_rMU,._GwHWr._8aFY_:hover:not(._3JWAT):not(._3NHFE) ._2z3Gm{background-color:#f9f9f9}._GwHWr._8aFY_:active:not(._3JWAT):not(._3NHFE) ._2_rMU,._GwHWr._8aFY_:active:not(._3JWAT):not(._3NHFE) ._2z3Gm{background-color:#f3f3f3}._GwHWr:focus{outline:none}body.keyboard-user ._GwHWr:focus ._2_rMU: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}body.keyboard-user ._GwHWr:focus ._2_rMU:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._GwHWr:focus ._2_rMU:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._GwHWr:focus ._2_rMU._3EeRN:after{right:-3px;bottom:0}._GwHWr:last-of-type:focus{outline:none}body.keyboard-user ._GwHWr:last-of-type:focus ._2_rMU: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}body.keyboard-user ._GwHWr:last-of-type:focus ._2_rMU:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._GwHWr:last-of-type:focus ._2_rMU:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._GwHWr:last-of-type:focus ._2_rMU._3EeRN:after{right:-3px;bottom:1px}._GwHWr:last-of-type ._TnqCO:focus{outline:none}body.keyboard-user ._GwHWr:last-of-type ._TnqCO._3OhqL:after,body.keyboard-user ._GwHWr:last-of-type ._TnqCO:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._GwHWr:first-of-type:focus{outline:none}body.keyboard-user ._GwHWr:first-of-type:focus ._2_rMU: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}body.keyboard-user ._GwHWr:first-of-type:focus ._2_rMU:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._GwHWr:first-of-type:focus ._2_rMU:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._GwHWr:first-of-type:focus ._2_rMU._3EeRN:after{right:-3px;bottom:0}._GwHWr:first-of-type ._TnqCO:focus{outline:none}body.keyboard-user ._GwHWr:first-of-type ._TnqCO._3OhqL:after,body.keyboard-user ._GwHWr:first-of-type ._TnqCO:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._3WqHC{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}._3WqHC._3xBFj{flex-grow:1}._3WqHC._GG5DA{cursor:pointer}._3WqHC._GG5DA:hover:not(._38Pr6){background-color:#f9f9f9;border-bottom-color:#6a6d70}._3WqHC._GG5DA:active:not(._38Pr6){background-color:#f3f3f3}._3WqHC._357Nw:not(._38Pr6){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._3WqHC._38Pr6{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._3WqHC ._2Pjd6{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._3WqHC ._2Pjd6._1Z3mG{left:-1px}._3WqHC ._2Pjd6._2sAS6{right:0}._3WqHC ._3fIJn{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._3WqHC ._3fIJn._1Z3mG{left:-2px}._3WqHC ._3fIJn._2sAS6{right:-1px}._3WqHC:first-of-type ._1Z3mG._2Pjd6{left:0;width:2px;border-left:1px solid #fff}._3WqHC:first-of-type ._1Z3mG._3fIJn{left:0}._3WqHC:last-of-type ._2sAS6._2Pjd6{right:0;width:2px;border-right:1px solid #fff}._3WqHC:last-of-type ._2sAS6._3fIJn{right:0}._3WqHC ._f76zx{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._3WqHC ._f76zx ._15QIt{position:absolute;width:2px;right:2px;top:0;bottom:0}._3WqHC ._f76zx ._15QIt._3yXgQ{background-color:#0a6ed1}._3WqHC ._f76zx:hover ._15QIt:not(._3yXgQ){background-color:#d9d9d9}._3WqHC ._1E8YP{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._3WqHC ._1E8YP._1RHuS{flex-direction:row-reverse;justify-content:flex-start}._3WqHC ._1E8YP._1RHuS ._2v7HA{margin:1px 7px 1px 1px}._3WqHC ._1E8YP ._2qk-q{text-overflow:ellipsis;overflow:hidden;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._3WqHC ._1E8YP ._2v7HA{margin:1px 1px 1px 7px;flex-shrink:0}._3WqHC ._1yy8C{margin-left:6px;margin-right:4px;flex-shrink:0}._3WqHC ._1USBR{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._3WqHC:focus{outline:none}body.keyboard-user ._3WqHC._3OhqL:after,body.keyboard-user ._3WqHC:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._3gvjS{margin-right:6px}._3EeRN{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._3EeRN[focus-within]{z-index:30}._3EeRN:focus-within{z-index:30}._TnqCO{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}._TnqCO ._2Yxxe{width:100%;padding:12px 12px 11px;overflow:hidden}._TnqCO._38Pr6{background-color:#efefef;border-bottom-color:#dfdfe1}._TnqCO._3xBFj{flex-grow:1}._TnqCO:focus{outline:none}body.keyboard-user ._TnqCO._3OhqL:after,body.keyboard-user ._TnqCO:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._2z3Gm{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._2z3Gm._1qF0F{border-bottom-color:#d9d9d9;background-color:#fff}._ZhqV4{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}._ZhqV4._1qF0F{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._ZhqV4:focus input~span,._ZhqV4:hover input~span{border-color:#0b6ed0}._ZhqV4 ._fQouP{position:relative;display:inline-flex}._ZhqV4 ._fQouP ._1jeIG{margin:0!important}._ZhqV4 ._fQouP ._9FlFK{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._3X-rY{justify-content:flex-start}._1wtji{justify-content:center;text-align:center}._1RHuS{justify-content:flex-end;text-align:right}._1Igzz{display:none}._G6pyg{opacity:0;height:0;width:0;overflow:hidden}._2LGUd,._G6pyg{position:absolute}._2LGUd{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._1sEvA{width:246px}";
|
|
4
|
+
var styles = {"advancedTable":"_3Kllh","advancedTablePaginationContainer":"_3QZX7","advancedTablePagination":"_OAncC","advancedTableColumnHeadersRowGroup":"_1h6kw","advancedTableColumnHeaders":"_Dla5_","advancedTableRowChild":"_2_rMU","pinnedContainer":"_3EeRN","advancedTableRowGroup":"_1gHNv","advancedTableRow":"_GwHWr","hasRowAction":"_8aFY_","advancedTableExpandRowSpacer":"_2z3Gm","isSelected":"_3JWAT","advancedTableCheckbox":"_ZhqV4","advancedTableCell":"_TnqCO","isCheckboxHovered":"_3NHFE","showFocusRing":"_3OhqL","advancedTableColumnHeader":"_3WqHC","fillRemainingSpace":"_3xBFj","isSortable":"_GG5DA","isDragging":"_38Pr6","isSorted":"_357Nw","dropTargetLine":"_2Pjd6","dropTargetLeft":"_1Z3mG","dropTargetRight":"_2sAS6","dropTargetMarker":"_3fIJn","resizeHandle":"_f76zx","resizeLine":"_15QIt","isResizing":"_3yXgQ","advancedTableColumnHeaderLabel":"_1E8YP","rightAligned":"_1RHuS","sortIcon":"_2v7HA","advancedTableColumnHeaderLabelText":"_2qk-q","advancedTableColumnHeaderMenu":"_1yy8C","advancedTableColumnHeaderMenuHiddenAnchor":"_1USBR","advancedTableColumnHeaderMenuItemIcon":"_3gvjS","advancedTableCellContainer":"_2Yxxe","header":"_1qF0F","checkboxContainer":"_fQouP","checkbox":"_1jeIG","mixed":"_9FlFK","leftAligned":"_3X-rY","centerAligned":"_1wtji","hiddenDescription":"_1Igzz","hiddenLiveRegion":"_G6pyg","dragPreview":"_2LGUd","rowActionMenuPane":"_1sEvA"};
|
|
5
|
+
var stylesheet="._3Kllh{overflow:auto;position:relative;max-width:100%;max-height:100%}._3Kllh,._3QZX7{background-color:#fff}._3QZX7{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._OAncC{margin-bottom:4px}._1h6kw{position:-webkit-sticky;position:sticky;top:0;z-index:100}._Dla5_{display:flex}._Dla5_:focus{outline:none}body.keyboard-user ._Dla5_:focus ._2_rMU: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}body.keyboard-user ._Dla5_:focus ._2_rMU:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._Dla5_:focus ._2_rMU:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._Dla5_:focus ._2_rMU._3EeRN:after{right:-3px;bottom:1px}._1gHNv{padding-right:3px}._GwHWr{display:flex}._GwHWr._8aFY_ ._2_rMU,._GwHWr._8aFY_ ._2z3Gm{cursor:pointer}._GwHWr._3JWAT ._2_rMU,._GwHWr._3JWAT ._2z3Gm{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._GwHWr._3JWAT ._2_rMU._3EeRN,._GwHWr._3JWAT ._2z3Gm._3EeRN{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._GwHWr._3JWAT ._2_rMU._3EeRN ._2z3Gm,._GwHWr._3JWAT ._2_rMU._3EeRN ._TnqCO,._GwHWr._3JWAT ._2_rMU._3EeRN ._ZhqV4,._GwHWr._3JWAT ._2z3Gm._3EeRN ._2z3Gm,._GwHWr._3JWAT ._2z3Gm._3EeRN ._TnqCO,._GwHWr._3JWAT ._2z3Gm._3EeRN ._ZhqV4{background-color:rgba(11,110,208,.08)}._GwHWr._8aFY_:hover:not(._3JWAT):not(._3NHFE) ._2_rMU,._GwHWr._8aFY_:hover:not(._3JWAT):not(._3NHFE) ._2z3Gm{background-color:#f9f9f9}._GwHWr._8aFY_:active:not(._3JWAT):not(._3NHFE) ._2_rMU,._GwHWr._8aFY_:active:not(._3JWAT):not(._3NHFE) ._2z3Gm{background-color:#f3f3f3}._GwHWr:focus{outline:none}body.keyboard-user ._GwHWr:focus ._2_rMU: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}body.keyboard-user ._GwHWr:focus ._2_rMU:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._GwHWr:focus ._2_rMU:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._GwHWr:focus ._2_rMU._3EeRN:after{right:-3px;bottom:0}._GwHWr:last-of-type:focus{outline:none}body.keyboard-user ._GwHWr:last-of-type:focus ._2_rMU: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}body.keyboard-user ._GwHWr:last-of-type:focus ._2_rMU:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._GwHWr:last-of-type:focus ._2_rMU:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._GwHWr:last-of-type:focus ._2_rMU._3EeRN:after{right:-3px;bottom:1px}._GwHWr:last-of-type ._TnqCO:focus{outline:none}body.keyboard-user ._GwHWr:last-of-type ._TnqCO._3OhqL:after,body.keyboard-user ._GwHWr:last-of-type ._TnqCO:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._GwHWr:first-of-type:focus{outline:none}body.keyboard-user ._GwHWr:first-of-type:focus ._2_rMU: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}body.keyboard-user ._GwHWr:first-of-type:focus ._2_rMU:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}body.keyboard-user ._GwHWr:first-of-type:focus ._2_rMU:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}body.keyboard-user ._GwHWr:first-of-type:focus ._2_rMU._3EeRN:after{right:-3px;bottom:0}._GwHWr:first-of-type ._TnqCO:focus{outline:none}body.keyboard-user ._GwHWr:first-of-type ._TnqCO._3OhqL:after,body.keyboard-user ._GwHWr:first-of-type ._TnqCO:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._3WqHC{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}._3WqHC._3xBFj{flex-grow:1}._3WqHC._GG5DA{cursor:pointer}._3WqHC._GG5DA:hover:not(._38Pr6){background-color:#f9f9f9;border-bottom-color:#6a6d70}._3WqHC._GG5DA:active:not(._38Pr6){background-color:#f3f3f3}._3WqHC._357Nw:not(._38Pr6){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._3WqHC._38Pr6{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._3WqHC ._2Pjd6{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._3WqHC ._2Pjd6._1Z3mG{left:-1px}._3WqHC ._2Pjd6._2sAS6{right:0}._3WqHC ._3fIJn{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._3WqHC ._3fIJn._1Z3mG{left:-2px}._3WqHC ._3fIJn._2sAS6{right:-1px}._3WqHC:first-of-type ._1Z3mG._2Pjd6{left:0;width:2px;border-left:1px solid #fff}._3WqHC:first-of-type ._1Z3mG._3fIJn{left:0}._3WqHC:last-of-type ._2sAS6._2Pjd6{right:0;width:2px;border-right:1px solid #fff}._3WqHC:last-of-type ._2sAS6._3fIJn{right:0}._3WqHC ._f76zx{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._3WqHC ._f76zx ._15QIt{position:absolute;width:2px;right:2px;top:0;bottom:0}._3WqHC ._f76zx ._15QIt._3yXgQ{background-color:#0a6ed1}._3WqHC ._f76zx:hover ._15QIt:not(._3yXgQ){background-color:#d9d9d9}._3WqHC ._1E8YP{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._3WqHC ._1E8YP._1RHuS{flex-direction:row-reverse;justify-content:flex-start}._3WqHC ._1E8YP._1RHuS ._2v7HA{margin:1px 7px 1px 1px}._3WqHC ._1E8YP ._2qk-q{text-overflow:ellipsis;overflow:hidden;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._3WqHC ._1E8YP ._2v7HA{margin:1px 1px 1px 7px;flex-shrink:0}._3WqHC ._1yy8C{margin-left:6px;margin-right:4px;flex-shrink:0}._3WqHC ._1USBR{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._3WqHC:focus{outline:none}body.keyboard-user ._3WqHC._3OhqL:after,body.keyboard-user ._3WqHC:focus:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._3gvjS{margin-right:6px}._3EeRN{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._3EeRN[focus-within]{z-index:30}._3EeRN:focus-within{z-index:30}._TnqCO{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}._TnqCO ._2Yxxe{width:100%;padding:12px 12px 11px;overflow:hidden}._TnqCO._38Pr6{background-color:#efefef;border-bottom-color:#dfdfe1}._TnqCO._3xBFj{flex-grow:1}._TnqCO:focus{outline:none}body.keyboard-user ._TnqCO._3OhqL:after,body.keyboard-user ._TnqCO:focus:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._2z3Gm{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._2z3Gm._1qF0F{border-bottom-color:#d9d9d9;background-color:#fff}._ZhqV4{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}._ZhqV4._1qF0F{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._ZhqV4:focus input~span,._ZhqV4:hover input~span{border-color:#0b6ed0}._ZhqV4 ._fQouP{position:relative;display:inline-flex}._ZhqV4 ._fQouP ._1jeIG{margin:0!important}._ZhqV4 ._fQouP ._9FlFK{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._3X-rY{justify-content:flex-start}._1wtji{justify-content:center;text-align:center}._1RHuS{justify-content:flex-end;text-align:right}._1Igzz{display:none}._G6pyg{opacity:0;height:0;width:0;overflow:hidden}._2LGUd,._G6pyg{position:absolute}._2LGUd{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._1sEvA{width:246px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -2,18 +2,18 @@ import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { SortDirections } from './AdvancedTableTypes.js';
|
|
4
4
|
import styles from './AdvancedTable2.js';
|
|
5
|
-
import '../../components/
|
|
5
|
+
import '../../components/NewMenu/index.js';
|
|
6
6
|
import '../../components/Divider/index.js';
|
|
7
7
|
import '../../icons/index.es.js';
|
|
8
8
|
import '../../utils/index.js';
|
|
9
9
|
import '../../hooks/index.js';
|
|
10
10
|
import useTranslation from '../../utils/Translation/useTranslation.js';
|
|
11
11
|
import useId from '../../hooks/useId/useId.js';
|
|
12
|
-
import MenuItem from '../../components/
|
|
12
|
+
import MenuItem from '../../components/NewMenu/parts/MenuItem.js';
|
|
13
13
|
import UnpinIcon from '../../icons/components/UnpinIcon.js';
|
|
14
14
|
import PinIcon from '../../icons/components/PinIcon.js';
|
|
15
15
|
import getSubDataTestId from '../../utils/getSubDataTestId/getSubDataTestId.js';
|
|
16
|
-
import SelectMenu from '../../components/SelectMenu/SelectMenu.js';
|
|
16
|
+
import SelectMenu from '../../components/NewMenu/SelectMenu/SelectMenu.js';
|
|
17
17
|
import ArrowUpIcon from '../../icons/components/ArrowUpIcon.js';
|
|
18
18
|
import ArrowDownIcon from '../../icons/components/ArrowDownIcon.js';
|
|
19
19
|
import Divider from '../../components/Divider/Divider.js';
|
|
@@ -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 = "._3Vej3{display:inline-block;width:36px;transition:width .25s ease-out}._sTvRc{width:100%}._5KVk->input{padding-right:0!important}._1ISlu>svg{fill:#515559}";
|
|
4
|
+
var styles = {"collapsibleSearchInput":"_3Vej3","searchInput":"_sTvRc","searchInputCollapsed":"_5KVk-","iconButton":"_1ISlu"};
|
|
5
|
+
var stylesheet="._3Vej3{display:inline-block;width:36px;transition:width .25s ease-out}._sTvRc{width:100%}._5KVk->input{padding-right:0!important}._1ISlu>svg{fill:#515559}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -28,6 +28,7 @@ function Combobox(_ref) {
|
|
|
28
28
|
const flyoutRef = useRef(null);
|
|
29
29
|
const flyoutId = useId();
|
|
30
30
|
const [isOpen, setIsOpen] = useState(false);
|
|
31
|
+
const [hoveredOption, setHoveredOption] = useState(null);
|
|
31
32
|
const [inputFocusRef, isComponentFocused] = useIsFocused();
|
|
32
33
|
const {
|
|
33
34
|
rawInputValue,
|
|
@@ -74,7 +75,9 @@ function Combobox(_ref) {
|
|
|
74
75
|
focusLast,
|
|
75
76
|
focusNext,
|
|
76
77
|
focusPrevious,
|
|
77
|
-
activeDescendantElement
|
|
78
|
+
activeDescendantElement,
|
|
79
|
+
hoveredOption,
|
|
80
|
+
setHoveredOption
|
|
78
81
|
}
|
|
79
82
|
}, children);
|
|
80
83
|
}
|
|
@@ -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 = {"loadingSpinner":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = ".__Zy41 :after{background-color:#515559!important}._28TPo>input:focus{box-shadow:none!important;border:1px solid #898989!important}._1sspi{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._1sspi ._2INhH ._3WSMI{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._1sspi ._2INhH:first-child ._2QftN{display:none}._1sspi ._305Xt{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._1sspi ._305Xt:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1sspi ._305Xt:hover._E5k18{background-color:#e4effa}._1sspi ._305Xt._E5k18{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1sspi ._305Xt:active:not(._E5k18){background-color:#e8e9e9}";
|
|
4
|
+
var styles = {"loadingSpinner":"__Zy41","ignoreFocusStyle":"_28TPo","flyout":"_1sspi","group":"_2INhH","header":"_3WSMI","divider":"_2QftN","option":"_305Xt","selected":"_E5k18"};
|
|
5
|
+
var stylesheet=".__Zy41 :after{background-color:#515559!important}._28TPo>input:focus{box-shadow:none!important;border:1px solid #898989!important}._1sspi{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._1sspi ._2INhH ._3WSMI{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._1sspi ._2INhH:first-child ._2QftN{display:none}._1sspi ._305Xt{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._1sspi ._305Xt:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1sspi ._305Xt:hover._E5k18{background-color:#e4effa}._1sspi ._305Xt._E5k18{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1sspi ._305Xt:active:not(._E5k18){background-color:#e8e9e9}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React__default, { forwardRef, useEffect } from 'react';
|
|
2
|
+
import classNames from 'classnames';
|
|
2
3
|
import { useComboboxContext } from './ComboboxContext.js';
|
|
3
4
|
import '../../components/LoadingSpinner/index.js';
|
|
4
5
|
import '../../utils/index.js';
|
|
@@ -42,7 +43,8 @@ const ComboboxInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
42
43
|
isInvalid,
|
|
43
44
|
rootAriaLabel,
|
|
44
45
|
rootAriaLabelledBy,
|
|
45
|
-
flyoutId
|
|
46
|
+
flyoutId,
|
|
47
|
+
hoveredOption
|
|
46
48
|
} = useComboboxContext();
|
|
47
49
|
/*
|
|
48
50
|
* Creates a variation of selection follows focus.
|
|
@@ -120,7 +122,9 @@ const ComboboxInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
120
122
|
|
|
121
123
|
return /*#__PURE__*/React__default.createElement(Input, {
|
|
122
124
|
role: "combobox",
|
|
123
|
-
className: className,
|
|
125
|
+
className: classNames(className, {
|
|
126
|
+
[styles.ignoreFocusStyle]: hoveredOption || activeDescendantElement
|
|
127
|
+
}),
|
|
124
128
|
style: style,
|
|
125
129
|
id: id,
|
|
126
130
|
placeholder: placeholder,
|
|
@@ -22,7 +22,8 @@ function ComboboxOption(_ref) {
|
|
|
22
22
|
activeDescendantElement,
|
|
23
23
|
committedInputValue,
|
|
24
24
|
setCommittedInputValue,
|
|
25
|
-
rootDataTestId
|
|
25
|
+
rootDataTestId,
|
|
26
|
+
setHoveredOption
|
|
26
27
|
} = useComboboxContext();
|
|
27
28
|
const {
|
|
28
29
|
registerOption: registerGroupOption,
|
|
@@ -62,6 +63,8 @@ function ComboboxOption(_ref) {
|
|
|
62
63
|
setCommittedInputValue(label);
|
|
63
64
|
setIsOpen(false);
|
|
64
65
|
},
|
|
66
|
+
onMouseOver: () => setHoveredOption(containerElementRef.current),
|
|
67
|
+
onMouseLeave: () => setHoveredOption(null),
|
|
65
68
|
onMouseDown: e => e.preventDefault() // Prevents the input from getting blurred
|
|
66
69
|
,
|
|
67
70
|
"aria-selected": isOptionSelected,
|
|
@@ -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 = {"button":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._2z5eQ{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._2z5eQ:hover:not(._BQ5pJ){background-color:rgba(50,54,58,.08)}._2z5eQ:hover:not(._BQ5pJ)._2ah8K{border-color:#085caf;background-color:rgba(11,110,208,.04)}._2z5eQ:hover:not(._BQ5pJ)._2ah8K ._4zzrq{color:#32363a}._2z5eQ:hover:not(._BQ5pJ)._2ah8K ._Bo-7I{fill:#32363a}._2z5eQ:hover:not(._BQ5pJ)._2ah8K ._1gCcS{fill:#085caf}._2z5eQ:hover:not(._BQ5pJ)._2ah8K ._25Im-{background-color:rgba(11,110,208,.11)}._2z5eQ:hover:not(._BQ5pJ)._2ah8K ._25Im- ._3FJuP{color:#085caf}._2z5eQ:active:not(._BQ5pJ){background-color:#e8e9e9}._2z5eQ:active:not(._BQ5pJ)._2ah8K{background-color:rgba(11,110,208,.11);border-color:#0854a1}._2z5eQ:active:not(._BQ5pJ)._2ah8K ._1gCcS{fill:#0854a1}._2z5eQ:active:not(._BQ5pJ)._2ah8K ._25Im-{background-color:rgba(11,110,208,.11)}._2z5eQ:active:not(._BQ5pJ)._2ah8K ._25Im- ._3FJuP{color:#0854a1}._2z5eQ._BQ5pJ{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._2z5eQ._2ah8K{border-color:#0b6ed0}._Bo-7I{fill:#515559;margin-right:4px}._4zzrq{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._4zzrq+._25Im-{margin-left:6px}._4zzrq._BQ5pJ{color:#74777a}._25Im-{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._3FJuP{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._1gCcS{fill:#515559}._1gCcS._BQ5pJ,._1gCcS._BQ5pJ._2ah8K{fill:rgba(116,119,122,.4)}._1gCcS._2ah8K{fill:#0b6ed0}._1gCcS._2S8fg{transform:rotate(-180deg)}body.keyboard-user ._2z5eQ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"button":"_2z5eQ","disabled":"_BQ5pJ","selected":"_2ah8K","label":"_4zzrq","lockIcon":"_Bo-7I","chevronIcon":"_1gCcS","selectedFiltersContainer":"_25Im-","selectedFilters":"_3FJuP","open":"_2S8fg"};
|
|
5
|
+
var stylesheet="._2z5eQ{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._2z5eQ:hover:not(._BQ5pJ){background-color:rgba(50,54,58,.08)}._2z5eQ:hover:not(._BQ5pJ)._2ah8K{border-color:#085caf;background-color:rgba(11,110,208,.04)}._2z5eQ:hover:not(._BQ5pJ)._2ah8K ._4zzrq{color:#32363a}._2z5eQ:hover:not(._BQ5pJ)._2ah8K ._Bo-7I{fill:#32363a}._2z5eQ:hover:not(._BQ5pJ)._2ah8K ._1gCcS{fill:#085caf}._2z5eQ:hover:not(._BQ5pJ)._2ah8K ._25Im-{background-color:rgba(11,110,208,.11)}._2z5eQ:hover:not(._BQ5pJ)._2ah8K ._25Im- ._3FJuP{color:#085caf}._2z5eQ:active:not(._BQ5pJ){background-color:#e8e9e9}._2z5eQ:active:not(._BQ5pJ)._2ah8K{background-color:rgba(11,110,208,.11);border-color:#0854a1}._2z5eQ:active:not(._BQ5pJ)._2ah8K ._1gCcS{fill:#0854a1}._2z5eQ:active:not(._BQ5pJ)._2ah8K ._25Im-{background-color:rgba(11,110,208,.11)}._2z5eQ:active:not(._BQ5pJ)._2ah8K ._25Im- ._3FJuP{color:#0854a1}._2z5eQ._BQ5pJ{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._2z5eQ._2ah8K{border-color:#0b6ed0}._Bo-7I{fill:#515559;margin-right:4px}._4zzrq{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._4zzrq+._25Im-{margin-left:6px}._4zzrq._BQ5pJ{color:#74777a}._25Im-{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._3FJuP{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._1gCcS{fill:#515559}._1gCcS._BQ5pJ,._1gCcS._BQ5pJ._2ah8K{fill:rgba(116,119,122,.4)}._1gCcS._2ah8K{fill:#0b6ed0}._1gCcS._2S8fg{transform:rotate(-180deg)}body.keyboard-user ._2z5eQ: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 inputClasses = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._15sew{position:relative;display:inline-block;height:36px}._3E3NP{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._3E3NP:hover{cursor:pointer;background-color:#f5f5f5}._3E3NP:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._3E3NP:disabled,._3E3NP[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._3E3NP:disabled::-moz-placeholder,._3E3NP[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3E3NP:disabled::placeholder,._3E3NP[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3E3NP:invalid,._3E3NP[aria-invalid=true]{border-color:#b00}._3E3NP:invalid:focus,._3E3NP[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._3E3NP[type=number]{-moz-appearance:textfield}._3E3NP[type=number]::-webkit-inner-spin-button,._3E3NP[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._3E3NP::-moz-placeholder{color:#515559;opacity:1}._3E3NP::placeholder{color:#515559;opacity:1}._tBTWk{pointer-events:none;color:#515559;fill:#515559}._12B_H{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._1KGEO{color:#515559;font-size:16px}._1b5mR{left:0;margin-left:6px}._1b5mR,._2bzFg{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._2bzFg{right:0;margin-right:6px}";
|
|
4
|
+
var inputClasses = {"container":"_15sew","input":"_3E3NP","addOn":"_tBTWk","addOnVerticalCenter":"_12B_H","addOnTextNode":"_1KGEO","leftAddOn":"_1b5mR","rightAddOn":"_2bzFg"};
|
|
5
|
+
var stylesheet="._15sew{position:relative;display:inline-block;height:36px}._3E3NP{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._3E3NP:hover{cursor:pointer;background-color:#f5f5f5}._3E3NP:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._3E3NP:disabled,._3E3NP[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._3E3NP:disabled::-moz-placeholder,._3E3NP[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3E3NP:disabled::placeholder,._3E3NP[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3E3NP:invalid,._3E3NP[aria-invalid=true]{border-color:#b00}._3E3NP:invalid:focus,._3E3NP[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._3E3NP[type=number]{-moz-appearance:textfield}._3E3NP[type=number]::-webkit-inner-spin-button,._3E3NP[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._3E3NP::-moz-placeholder{color:#515559;opacity:1}._3E3NP::placeholder{color:#515559;opacity:1}._tBTWk{pointer-events:none;color:#515559;fill:#515559}._12B_H{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._1KGEO{color:#515559;font-size:16px}._1b5mR{left:0;margin-left:6px}._1b5mR,._2bzFg{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._2bzFg{right:0;margin-right:6px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { inputClasses as default, stylesheet };
|
|
@@ -2,13 +2,13 @@ import React__default, { forwardRef, useState, useCallback, useEffect, useMemo }
|
|
|
2
2
|
import { Metadata, getCountryCallingCode, parsePhoneNumber, getCountries, isSupportedCountry } from 'libphonenumber-js';
|
|
3
3
|
import InputMask from 'react-input-mask';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
|
-
import '../../components/
|
|
5
|
+
import '../../components/NewMenu/index.js';
|
|
6
6
|
import '../Input/index.js';
|
|
7
7
|
import styles from './PhoneNumberInput2.js';
|
|
8
8
|
import '../../utils/index.js';
|
|
9
9
|
import useTranslation from '../../utils/Translation/useTranslation.js';
|
|
10
|
-
import SelectMenu from '../../components/SelectMenu/SelectMenu.js';
|
|
11
|
-
import MenuItem from '../../components/
|
|
10
|
+
import SelectMenu from '../../components/NewMenu/SelectMenu/SelectMenu.js';
|
|
11
|
+
import MenuItem from '../../components/NewMenu/parts/MenuItem.js';
|
|
12
12
|
import Input from '../Input/Input.js';
|
|
13
13
|
|
|
14
14
|
const PhoneNumberInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -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 = "._3RxeH input{padding-left:76px!important}._3hI4d input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._3hI4d input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3hI4d input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3Ay6l{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._3Ay6l,._3Ay6l._3hI4d:hover{background-color:transparent!important}._3Ay6l:hover{background-color:rgba(50,54,58,.08)!important}._3Ay6l:active{background-color:rgba(50,54,58,.11)!important}._3Ay6l svg{top:2px!important}._c5dJN{position:relative}._JB4D2{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
4
|
+
var styles = {"input":"_3RxeH","disabled":"_3hI4d","dropdown":"_3Ay6l","container":"_c5dJN","countryCode":"_JB4D2"};
|
|
5
|
+
var stylesheet="._3RxeH input{padding-left:76px!important}._3hI4d input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._3hI4d input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3hI4d input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._3Ay6l{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._3Ay6l,._3Ay6l._3hI4d:hover{background-color:transparent!important}._3Ay6l:hover{background-color:rgba(50,54,58,.08)!important}._3Ay6l:active{background-color:rgba(50,54,58,.11)!important}._3Ay6l svg{top:2px!important}._c5dJN{position:relative}._JB4D2{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
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 = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._bVxT2{display:flex}._28Qzd{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._28Qzd._2giZK{background-color:#fff}._28Qzd._2giZK._36HjH:not(._28Qzd._2giZK._1oExY),._28Qzd._3XNz7,body.keyboard-user ._28Qzd._2giZK._25s2E:not(._1CRGF){background-color:#0b6ed0}._28Qzd._3XNz7._1CRGF._1oExY,._28Qzd._3XNz7._1CRGF._25s2E,._28Qzd._3XNz7._1oExY._36HjH{opacity:.4}._uFgDl{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._uFgDl:focus{z-index:1}._1Hp0V{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}._1Hp0V svg{margin-left:1px}._1Hp0V._2giZK{background-color:#0b6ed0;border-color:transparent}._1Hp0V._2giZK svg{fill:#fff!important}._1Hp0V._2giZK:not(._3Da_1):hover{background-color:#085caf!important}._1Hp0V._2giZK:not(._3Da_1):active{background-color:#0854a1!important}._1Hp0V._2giZK._3Da_1{opacity:.4}._1Hp0V._2giZK._3Da_1 svg{background-color:transparent}._1Hp0V._3XNz7{border-color:#0b6ed0;background-color:#fff}._1Hp0V._3XNz7 svg{fill:#0b6ed0!important}._1Hp0V._3XNz7:not(._3Da_1):hover{background-color:#eef5fc!important}._1Hp0V._3XNz7:not(._3Da_1):active{background-color:#e1edf9!important}._1Hp0V._3XNz7._3Da_1{opacity:.4}._1Hp0V._3XNz7._3Da_1 svg{background-color:transparent}._2671W{width:260px}";
|
|
4
|
+
var styles = {"container":"_bVxT2","divider":"_28Qzd","primary":"_2giZK","mainButtonFocus":"_25s2E","mainButtonDisabled":"_1CRGF","dropdownButtonFocus":"_36HjH","dropdownButtonDisabled":"_1oExY","secondary":"_3XNz7","mainButton":"_uFgDl","dropdownButton":"_1Hp0V","disabled":"_3Da_1","dropdownOption":"_2671W"};
|
|
5
|
+
var stylesheet="._bVxT2{display:flex}._28Qzd{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._28Qzd._2giZK{background-color:#fff}._28Qzd._2giZK._36HjH:not(._28Qzd._2giZK._1oExY),._28Qzd._3XNz7,body.keyboard-user ._28Qzd._2giZK._25s2E:not(._1CRGF){background-color:#0b6ed0}._28Qzd._3XNz7._1CRGF._1oExY,._28Qzd._3XNz7._1CRGF._25s2E,._28Qzd._3XNz7._1oExY._36HjH{opacity:.4}._uFgDl{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._uFgDl:focus{z-index:1}._1Hp0V{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}._1Hp0V svg{margin-left:1px}._1Hp0V._2giZK{background-color:#0b6ed0;border-color:transparent}._1Hp0V._2giZK svg{fill:#fff!important}._1Hp0V._2giZK:not(._3Da_1):hover{background-color:#085caf!important}._1Hp0V._2giZK:not(._3Da_1):active{background-color:#0854a1!important}._1Hp0V._2giZK._3Da_1{opacity:.4}._1Hp0V._2giZK._3Da_1 svg{background-color:transparent}._1Hp0V._3XNz7{border-color:#0b6ed0;background-color:#fff}._1Hp0V._3XNz7 svg{fill:#0b6ed0!important}._1Hp0V._3XNz7:not(._3Da_1):hover{background-color:#eef5fc!important}._1Hp0V._3XNz7:not(._3Da_1):active{background-color:#e1edf9!important}._1Hp0V._3XNz7._3Da_1{opacity:.4}._1Hp0V._3XNz7._3Da_1 svg{background-color:transparent}._2671W{width:260px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
package/dist/next/index.d.ts
CHANGED
|
@@ -121,6 +121,7 @@ export declare interface AdvancedTableRow {
|
|
|
121
121
|
data: Record<string, string | number>;
|
|
122
122
|
childRows?: AdvancedTableRow[];
|
|
123
123
|
isExpanded?: boolean;
|
|
124
|
+
unsafe_rowProps?: Record<string, any>;
|
|
124
125
|
}
|
|
125
126
|
|
|
126
127
|
export declare interface AdvancedTableSelectedSortOption {
|