@qualtrics/ui-react 2.25.0 → 2.27.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 +32 -0
- package/dist/__shared/cjs/{index-610a1e02.js → index-88aa3bce.js} +267 -256
- package/dist/__shared/cjs/{index-5b3b3406.js → index-e6893573.js} +23 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/Button/Button2.js +1 -1
- 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/Alpha.js +1 -1
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/ColorPicker/Hue.js +1 -1
- package/dist/components/ColorPicker/Palette.js +1 -1
- package/dist/components/ColorPicker/Saturation.js +1 -1
- package/dist/components/Combobox/Combobox.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/Combobox/ComboboxIcon.js +1 -1
- package/dist/components/Combobox/ComboboxInput.js +1 -1
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +4 -4
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownButton.js +6 -6
- package/dist/components/Dropdown/DropdownList.js +1 -1
- package/dist/components/Dropdown/DropdownOption.js +2 -2
- package/dist/components/Dropdown/DropdownSearch.js +2 -2
- package/dist/components/FilePicker/FilePicker.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/FormField/FormFieldContext.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover.js +2 -2
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/Icon/IconTypes.js +5 -0
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput.js +7 -7
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/Input/InputField.js +2 -2
- 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/LogicEditor.js +1 -1
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal.js +6 -6
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/SelectMenu/SelectMenu.js +2 -2
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +3 -3
- package/dist/components/NumberStepper/NumberStepper.js +2 -2
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/NumberStepper/NumberStepperDecrement.js +1 -1
- package/dist/components/NumberStepper/NumberStepperIncrement.js +1 -1
- package/dist/components/NumberStepper/NumberStepperInput.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Pagination/PaginationNextButton.js +3 -3
- package/dist/components/Pagination/PaginationPageInput.js +8 -8
- package/dist/components/Pagination/PaginationPreviousButton.js +3 -3
- package/dist/components/Popover/Popover.js +5 -5
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/QuickSearch/QuickSearchInput.js +4 -4
- 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 +1 -1
- 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/Alpha.js +2 -2
- package/dist/components/deprecated_ColorPicker/ColorPicker.js +1 -1
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_ColorPicker/HexInput.js +1 -1
- package/dist/components/deprecated_ColorPicker/Hue.js +2 -2
- package/dist/components/deprecated_ColorPicker/Saturation.js +2 -2
- package/dist/components/deprecated_ColorPicker/Swatch.js +1 -1
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +1 -1
- package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +1 -1
- package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs.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/ToolbarPanels.js +1 -1
- package/dist/components/deprecated_Toolbar/ToolbarTab.js +5 -5
- package/dist/components/deprecated_Toolbar/ToolbarTabs.js +3 -3
- package/dist/hooks/useControllableState/useControllableState.js +1 -1
- package/dist/hooks/useOverlay/useOverlay.js +2 -2
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +1 -1
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/components/AIChatbotIcon.js +6 -0
- package/dist/icons/components/LinesIcon.js +6 -0
- package/dist/icons/components/RobotConversationalIcon.js +6 -0
- package/dist/icons/components/ScatterPlotIcon.js +6 -0
- package/dist/icons/components/UnmoderatedUserTestingIcon.js +6 -0
- package/dist/icons/index.d.ts +10 -0
- package/dist/icons/index.es.js +5 -0
- package/dist/icons/index.js +6 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +36 -8
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableCell.js +4 -4
- package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +2 -2
- package/dist/next/AdvancedTable/AdvancedTablePagination.js +1 -1
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/CollectionGrid/CollectionGrid.js +34 -0
- package/dist/next/CollectionGrid/CollectionGridItem.js +18 -0
- package/dist/next/CollectionGrid/index.js +2 -0
- package/dist/next/Combobox/Combobox.js +2 -0
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Combobox/ComboboxInput.js +2 -0
- package/dist/next/Combobox/ComboboxOption.js +2 -0
- package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +1 -1
- package/dist/next/Drawer/Drawer.js +2 -2
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor.js +2 -2
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/LayoutGrid/LayoutGrid.js +38 -0
- package/dist/next/LayoutGrid/LayoutGridItem.js +23 -0
- package/dist/next/LayoutGrid/index.js +2 -0
- package/dist/next/Menu/Hooks/useFocusVirtualBoundary.js +41 -0
- package/dist/next/Menu/Hooks/useIsVirtualized.js +8 -0
- package/dist/next/Menu/Hooks/useMaskDimensions.js +59 -0
- package/dist/next/Menu/{useMutationObserver.js → Hooks/useMutationObserver.js} +1 -1
- package/dist/next/Menu/{usePaneSearch.js → Hooks/usePaneSearch.js} +61 -24
- package/dist/next/Menu/Menu.js +19 -24
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuContext.js +5 -1
- package/dist/next/Menu/MenuItem.js +21 -14
- package/dist/next/Menu/MenuPane.js +73 -54
- package/dist/next/Menu/PaneChildren.js +47 -0
- package/dist/next/Menu/SubMenu.js +57 -39
- package/dist/next/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select.js +10 -6
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/Select/SubSelect.js +2 -2
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/Stack/Stack.js +1 -18
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/TimePicker/TimePickerIcon.js +1 -1
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +57 -3
- package/dist/next/index.es.js +6 -0
- package/dist/next/index.js +614 -268
- package/dist/translations-en.js +7 -1
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/GridChildrenWrapper/GridChildrenWrapper.js +30 -0
- package/dist/utils/GridChildrenWrapper/index.js +1 -0
- package/dist/utils/Popper/Popper.js +2 -2
- package/dist/utils/mediaQueryManager/mediaQueryManager.js +1 -1
- package/dist/utils/wrapEvent/wrapEvent.js +1 -1
- package/icons/package.json +3 -1
- package/next/package.json +4 -2
- package/package.json +5 -3
- /package/dist/next/Menu/{useCSSVariable.js → Hooks/useCSSVariable.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"overlay":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._Z8duO{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._Zzbgz{visibility:hidden}";
|
|
4
|
+
var styles = {"overlay":"_Z8duO","hidden":"_Zzbgz"};
|
|
5
|
+
var stylesheet="._Z8duO{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._Zzbgz{visibility:hidden}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -25,7 +25,7 @@ function useScreenReaderAnnouncement(politeness) {
|
|
|
25
25
|
// Sets the politeness of `aria-live`
|
|
26
26
|
useEffect(() => {
|
|
27
27
|
var _ariaLiveElementRef$c;
|
|
28
|
-
if (politeness !== undefined) (_ariaLiveElementRef$c = ariaLiveElementRef.current) === null || _ariaLiveElementRef$c === void 0
|
|
28
|
+
if (politeness !== undefined) (_ariaLiveElementRef$c = ariaLiveElementRef.current) === null || _ariaLiveElementRef$c === void 0 || _ariaLiveElementRef$c.setAttribute('aria-live', politeness);
|
|
29
29
|
}, [politeness]);
|
|
30
30
|
|
|
31
31
|
// Announces oldest message in the queue
|
|
@@ -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 = "._xY6Is{position:absolute;top:-10000px;left:-10000px}";
|
|
4
|
+
var classes = {"ariaLiveElement":"_xY6Is"};
|
|
5
|
+
var stylesheet="._xY6Is{position:absolute;top:-10000px;left:-10000px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { classes as default, stylesheet };
|
package/dist/icons/Icon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"icon":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._xmPUT{flex-shrink:0}";
|
|
4
|
+
var styles = {"icon":"_xmPUT"};
|
|
5
|
+
var stylesheet="._xmPUT{flex-shrink:0}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import createIconComponent from '../createIconComponent.js';
|
|
2
|
+
|
|
3
|
+
/* THIS FILE IS AUTO-GENERATED */
|
|
4
|
+
var AIChatbotIcon = /*#__PURE__*/createIconComponent('AIChatbot', '<path fill-rule="evenodd" clip-rule="evenodd" d="M7 3.375C7.32158 3.375 7.59067 3.61902 7.62202 3.93907C7.72656 5.00622 7.92801 5.6731 8.2665 6.09994C8.58066 6.49611 9.0908 6.77894 10.0635 6.87823C10.3824 6.91079 10.625 7.1794 10.625 7.5C10.625 7.8206 10.3824 8.08921 10.0635 8.12177C9.0908 8.22106 8.58066 8.50389 8.2665 8.90006C7.92801 9.3269 7.72656 9.99378 7.62202 11.0609C7.59067 11.381 7.32158 11.625 7 11.625C6.67842 11.625 6.40933 11.381 6.37798 11.0609C6.27344 9.99378 6.07199 9.3269 5.7335 8.90006C5.41934 8.50389 4.9092 8.22106 3.93653 8.12177C3.61758 8.08921 3.375 7.8206 3.375 7.5C3.375 7.1794 3.61758 6.91079 3.93653 6.87823C4.9092 6.77894 5.41934 6.49611 5.7335 6.09994C6.07199 5.6731 6.27344 5.00622 6.37798 3.93907C6.40933 3.61902 6.67842 3.375 7 3.375ZM6.03198 7.5C6.2899 7.66983 6.51687 7.87614 6.71292 8.12338C6.82026 8.25873 6.91545 8.40295 7 8.55534C7.08455 8.40295 7.17974 8.25873 7.28708 8.12338C7.48313 7.87614 7.7101 7.66983 7.96803 7.5C7.7101 7.33017 7.48313 7.12386 7.28708 6.87662C7.17974 6.74127 7.08455 6.59705 7 6.44466C6.91545 6.59705 6.82026 6.74127 6.71292 6.87662C6.51687 7.12386 6.2899 7.33017 6.03198 7.5Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.3846 8.375C11.7298 8.375 12.0096 8.65482 12.0096 9C12.0096 9.27608 12.0243 9.4536 12.0497 9.57135C12.0651 9.64277 12.0805 9.67321 12.0864 9.6828C12.096 9.68878 12.1265 9.70417 12.1979 9.71958C12.3156 9.74498 12.4931 9.75962 12.7692 9.75962C13.1144 9.75962 13.3942 10.0394 13.3942 10.3846C13.3942 10.7298 13.1144 11.0096 12.7692 11.0096C12.4931 11.0096 12.3156 11.0243 12.1979 11.0497C12.1265 11.0651 12.096 11.0805 12.0864 11.0864C12.0805 11.096 12.0651 11.1265 12.0497 11.1979C12.0243 11.3156 12.0096 11.4931 12.0096 11.7692C12.0096 12.1144 11.7298 12.3942 11.3846 12.3942C11.0394 12.3942 10.7596 12.1144 10.7596 11.7692C10.7596 11.4931 10.745 11.3156 10.7196 11.1979C10.7042 11.1265 10.6888 11.096 10.6828 11.0864C10.6732 11.0805 10.6428 11.0651 10.5714 11.0497C10.4536 11.0243 10.2761 11.0096 10 11.0096C9.65482 11.0096 9.375 10.7298 9.375 10.3846C9.375 10.0394 9.65482 9.75962 10 9.75962C10.2735 9.75962 10.4495 9.74368 10.5654 9.7175C10.6427 9.70003 10.6722 9.68265 10.6798 9.67721C10.685 9.66983 10.7025 9.63981 10.7197 9.56036C10.745 9.44378 10.7596 9.26929 10.7596 9C10.7596 8.65482 11.0394 8.375 11.3846 8.375ZM10.6782 9.67915C10.6782 9.6791 10.6786 9.67852 10.6795 9.67754C10.6787 9.67871 10.6782 9.6792 10.6782 9.67915ZM10.6801 9.67699C10.6811 9.67593 10.6818 9.67545 10.6818 9.67548C10.6819 9.67551 10.6814 9.67603 10.6801 9.67699ZM10.6864 11.089C10.6863 11.0891 10.6856 11.0886 10.6845 11.0875C10.6859 11.0885 10.6865 11.089 10.6864 11.089ZM10.6817 11.0848C10.6807 11.0836 10.6802 11.0829 10.6802 11.0828C10.6802 11.0828 10.6808 11.0834 10.6817 11.0848ZM12.089 11.0828C12.0891 11.0829 12.0886 11.0836 12.0875 11.0848C12.0885 11.0834 12.089 11.0828 12.089 11.0828ZM12.0848 11.0875C12.0836 11.0886 12.0829 11.0891 12.0828 11.089C12.0828 11.089 12.0834 11.0885 12.0848 11.0875ZM12.0828 9.6802C12.0829 9.68017 12.0836 9.68065 12.0848 9.68172C12.0834 9.68076 12.0828 9.68023 12.0828 9.6802ZM12.0875 9.68446C12.0886 9.68564 12.0891 9.68635 12.089 9.6864C12.089 9.68646 12.0885 9.68587 12.0875 9.68446Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 14.75C11.8619 14.75 11.75 14.8619 11.75 15V17.5C11.75 17.6381 11.8619 17.75 12 17.75H13C13.1381 17.75 13.25 17.6381 13.25 17.5V15C13.25 14.8619 13.1381 14.75 13 14.75H12ZM10.25 15C10.25 14.0335 11.0335 13.25 12 13.25H13C13.9665 13.25 14.75 14.0335 14.75 15V17.5C14.75 18.4665 13.9665 19.25 13 19.25H12C11.0335 19.25 10.25 18.4665 10.25 17.5V15Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14 2.25C14.4142 2.25 14.75 2.58579 14.75 3V7C14.75 7.41421 14.4142 7.75 14 7.75C13.5858 7.75 13.25 7.41421 13.25 7V3C13.25 2.58579 13.5858 2.25 14 2.25Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13.25 7C13.25 6.58579 13.5858 6.25 14 6.25C17.7279 6.25 20.75 9.27208 20.75 13V21C20.75 21.4142 20.4142 21.75 20 21.75H8C7.58579 21.75 7.25 21.4142 7.25 21V14C7.25 13.5858 7.58579 13.25 8 13.25C8.41421 13.25 8.75 13.5858 8.75 14V20.25H19.25V13C19.25 10.1005 16.8995 7.75 14 7.75C13.5858 7.75 13.25 7.41421 13.25 7Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16.75 17.5C16.75 17.0858 17.0858 16.75 17.5 16.75H20C20.4142 16.75 20.75 17.0858 20.75 17.5C20.75 17.9142 20.4142 18.25 20 18.25H17.5C17.0858 18.25 16.75 17.9142 16.75 17.5Z"/><path d="M18.5 13.25C18.5 13.9404 17.9404 14.5 17.25 14.5C16.5596 14.5 16 13.9404 16 13.25C16 12.5596 16.5596 12 17.25 12C17.9404 12 18.5 12.5596 18.5 13.25Z"/>');
|
|
5
|
+
|
|
6
|
+
export { AIChatbotIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import createIconComponent from '../createIconComponent.js';
|
|
2
|
+
|
|
3
|
+
/* THIS FILE IS AUTO-GENERATED */
|
|
4
|
+
var LinesIcon = /*#__PURE__*/createIconComponent('Lines', '<path fill-rule="evenodd" clip-rule="evenodd" d="M20.7912 2.30897C21.173 2.46971 21.3522 2.90948 21.1914 3.29124L17.3671 12.3741C17.0618 13.0992 16.0774 13.204 15.6262 12.5595L13.1645 9.04273L9.86047 16.8898C9.56085 17.6014 8.60209 17.7194 8.13883 17.1017L6.20092 14.5178L3.69656 20.7787C3.54272 21.1633 3.10624 21.3504 2.72166 21.1966C2.33707 21.0427 2.15001 20.6062 2.30384 20.2217L5.13863 13.1347C5.42837 12.4103 6.39902 12.282 6.86711 12.9061L8.8161 15.5047L12.1333 7.62632C12.4386 6.90121 13.423 6.79637 13.8742 7.44091L16.3359 10.9577L19.809 2.70915C19.9697 2.3274 20.4095 2.14823 20.7912 2.30897Z"/>');
|
|
5
|
+
|
|
6
|
+
export { LinesIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import createIconComponent from '../createIconComponent.js';
|
|
2
|
+
|
|
3
|
+
/* THIS FILE IS AUTO-GENERATED */
|
|
4
|
+
var RobotConversationalIcon = /*#__PURE__*/createIconComponent('RobotConversational', '<path d="M16.5 13.25C16.5 13.9404 15.9404 14.5 15.25 14.5C14.5596 14.5 14 13.9404 14 13.25C14 12.5596 14.5596 12 15.25 12C15.9404 12 16.5 12.5596 16.5 13.25Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.75787 11.75C8.79138 11.75 8.00787 12.5335 8.00787 13.5V16C8.00787 16.9665 8.79138 17.75 9.75787 17.75H10.7579C11.7244 17.75 12.5079 16.9665 12.5079 16V13.5C12.5079 12.5335 11.7244 11.75 10.7579 11.75H9.75787ZM9.50787 13.5C9.50787 13.3619 9.6198 13.25 9.75787 13.25H10.7579C10.8959 13.25 11.0079 13.3619 11.0079 13.5V16C11.0079 16.1381 10.8959 16.25 10.7579 16.25H9.75787C9.6198 16.25 9.50787 16.1381 9.50787 16V13.5Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 2.25C12.4142 2.25 12.75 2.58579 12.75 3V6.2912C16.125 6.66428 18.75 9.52558 18.75 13V21C18.75 21.4142 18.4142 21.75 18 21.75H6C5.58579 21.75 5.25 21.4142 5.25 21V13C5.25 9.52558 7.87504 6.66428 11.25 6.2912V3C11.25 2.58579 11.5858 2.25 12 2.25ZM17.25 16.75H15.5C15.0858 16.75 14.75 17.0858 14.75 17.5C14.75 17.9142 15.0858 18.25 15.5 18.25H17.25V20.25H6.75V13C6.75 10.1005 9.10051 7.75 12 7.75C14.8995 7.75 17.25 10.1005 17.25 13V16.75Z"/>');
|
|
5
|
+
|
|
6
|
+
export { RobotConversationalIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import createIconComponent from '../createIconComponent.js';
|
|
2
|
+
|
|
3
|
+
/* THIS FILE IS AUTO-GENERATED */
|
|
4
|
+
var ScatterPlotIcon = /*#__PURE__*/createIconComponent('ScatterPlot', '<path d="M3 2.25C3.41421 2.25 3.75 2.58579 3.75 3V19.75H20.5C20.9142 19.75 21.25 20.0858 21.25 20.5C21.25 20.9142 20.9142 21.25 20.5 21.25H3C2.58579 21.25 2.25 20.9142 2.25 20.5V3C2.25 2.58579 2.58579 2.25 3 2.25Z"/><path d="M6 16C6 15.4477 6.44772 15 7 15C7.55228 15 8 15.4477 8 16C8 16.5523 7.55228 17 7 17C6.44772 17 6 16.5523 6 16Z"/><path d="M9 13C9 12.4477 9.44772 12 10 12C10.5523 12 11 12.4477 11 13C11 13.5523 10.5523 14 10 14C9.44772 14 9 13.5523 9 13Z"/><path d="M9 9C9 8.44772 9.44772 8 10 8C10.5523 8 11 8.44772 11 9C11 9.55228 10.5523 10 10 10C9.44772 10 9 9.55228 9 9Z"/><path d="M12 11C12 10.4477 12.4477 10 13 10C13.5523 10 14 10.4477 14 11C14 11.5523 13.5523 12 13 12C12.4477 12 12 11.5523 12 11Z"/><path d="M17 7C17 6.44772 17.4477 6 18 6C18.5523 6 19 6.44772 19 7C19 7.55228 18.5523 8 18 8C17.4477 8 17 7.55228 17 7Z"/><path d="M15 14C15 13.4477 15.4477 13 16 13C16.5523 13 17 13.4477 17 14C17 14.5523 16.5523 15 16 15C15.4477 15 15 14.5523 15 14Z"/>');
|
|
5
|
+
|
|
6
|
+
export { ScatterPlotIcon as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import createIconComponent from '../createIconComponent.js';
|
|
2
|
+
|
|
3
|
+
/* THIS FILE IS AUTO-GENERATED */
|
|
4
|
+
var UnmoderatedUserTestingIcon = /*#__PURE__*/createIconComponent('UnmoderatedUserTesting', '<path d="M3.75 5.5C3.75 5.36193 3.86193 5.25 4 5.25H12C12.4142 5.25 12.75 4.91421 12.75 4.5C12.75 4.08579 12.4142 3.75 12 3.75H4C3.0335 3.75 2.25 4.5335 2.25 5.5V16C2.25 16.9665 3.0335 17.75 4 17.75H11.25V19.25H9C8.58579 19.25 8.25 19.5858 8.25 20C8.25 20.4142 8.58579 20.75 9 20.75H15C15.4142 20.75 15.75 20.4142 15.75 20C15.75 19.5858 15.4142 19.25 15 19.25H12.75V17.75H20C20.9665 17.75 21.75 16.9665 21.75 16V11.5C21.75 11.0858 21.4142 10.75 21 10.75C20.5858 10.75 20.25 11.0858 20.25 11.5V16C20.25 16.1381 20.1381 16.25 20 16.25H4C3.86193 16.25 3.75 16.1381 3.75 16V5.5Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13 9C13 10.6569 11.6569 12 10 12C8.34315 12 7 10.6569 7 9C7 7.34315 8.34315 6 10 6C11.6569 6 13 7.34315 13 9ZM11.5 9C11.5 9.82843 10.8284 10.5 10 10.5C9.17157 10.5 8.5 9.82843 8.5 9C8.5 8.17157 9.17157 7.5 10 7.5C10.8284 7.5 11.5 8.17157 11.5 9Z"/><path d="M7.4508 14.5993C8.16105 14.0658 9.04275 13.75 10.0004 13.75C10.8383 13.75 11.6181 13.9918 12.2758 14.4097C12.3697 14.4693 12.4612 14.5326 12.55 14.5993C12.8722 14.8414 13.159 15.1282 13.4011 15.4504C13.6498 15.7816 14.12 15.8484 14.4512 15.5997C14.7824 15.3509 14.8492 14.8808 14.6004 14.5496C14.2734 14.1143 13.8861 13.7269 13.4508 13.4C12.4897 12.6781 11.294 12.25 10.0004 12.25C8.70679 12.25 7.51102 12.6781 6.54993 13.4C6.11462 13.7269 5.72732 14.1143 5.40034 14.5496C5.15157 14.8808 5.21839 15.3509 5.54958 15.5997C5.88077 15.8484 6.35092 15.7816 6.59969 15.4504C6.84174 15.1282 7.12855 14.8414 7.4508 14.5993Z"/><path d="M15 7.25C14.5858 7.25 14.25 7.58579 14.25 8C14.25 8.41421 14.5858 8.75 15 8.75H21C21.4142 8.75 21.75 8.41421 21.75 8C21.75 7.58579 21.4142 7.25 21 7.25H15Z"/><path d="M15 4.25C14.5858 4.25 14.25 4.58579 14.25 5C14.25 5.41421 14.5858 5.75 15 5.75H21C21.4142 5.75 21.75 5.41421 21.75 5C21.75 4.58579 21.4142 4.25 21 4.25H15Z"/><path d="M15 10.25C14.5858 10.25 14.25 10.5858 14.25 11C14.25 11.4142 14.5858 11.75 15 11.75H18C18.4142 11.75 18.75 11.4142 18.75 11C18.75 10.5858 18.4142 10.25 18 10.25H15Z"/>');
|
|
5
|
+
|
|
6
|
+
export { UnmoderatedUserTestingIcon as default };
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ export declare const AgentRightIcon: ForwardRefExoticComponent<NamedIconsProps &
|
|
|
32
32
|
|
|
33
33
|
export declare const AggregateFunctionIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
34
34
|
|
|
35
|
+
export declare const AIChatbotIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
36
|
+
|
|
35
37
|
export declare const AIIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
36
38
|
|
|
37
39
|
export declare const AlignImageBottomIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -512,6 +514,8 @@ export declare const LightningBoltIcon: ForwardRefExoticComponent<NamedIconsProp
|
|
|
512
514
|
|
|
513
515
|
export declare const LineChartIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
514
516
|
|
|
517
|
+
export declare const LinesIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
518
|
+
|
|
515
519
|
export declare const ListBulletsIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
516
520
|
|
|
517
521
|
export declare const ListCheckedIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -731,6 +735,8 @@ export declare const RichTextEditorIcon: ForwardRefExoticComponent<NamedIconsPro
|
|
|
731
735
|
|
|
732
736
|
export declare const RiskIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
733
737
|
|
|
738
|
+
export declare const RobotConversationalIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
739
|
+
|
|
734
740
|
export declare const RobotIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
735
741
|
|
|
736
742
|
export declare const RolesIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -741,6 +747,8 @@ export declare const SatisfactionChartsIcon: ForwardRefExoticComponent<NamedIcon
|
|
|
741
747
|
|
|
742
748
|
export declare const SaveIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
743
749
|
|
|
750
|
+
export declare const ScatterPlotIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
751
|
+
|
|
744
752
|
export declare const ScheduledIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
745
753
|
|
|
746
754
|
export declare const SchemaDataIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
@@ -949,6 +957,8 @@ export declare const UnlinkIcon: ForwardRefExoticComponent<NamedIconsProps & Ref
|
|
|
949
957
|
|
|
950
958
|
export declare const UnlockIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
951
959
|
|
|
960
|
+
export declare const UnmoderatedUserTestingIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
961
|
+
|
|
952
962
|
export declare const UnpinIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
|
953
963
|
|
|
954
964
|
export declare const UpDownIcon: ForwardRefExoticComponent<NamedIconsProps & RefAttributes<SVGSVGElement>>;
|
package/dist/icons/index.es.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as ABCIcon } from './components/ABCIcon.js';
|
|
2
2
|
export { default as AIIcon } from './components/AIIcon.js';
|
|
3
|
+
export { default as AIChatbotIcon } from './components/AIChatbotIcon.js';
|
|
3
4
|
export { default as AccessibilityIcon } from './components/AccessibilityIcon.js';
|
|
4
5
|
export { default as AccountIcon } from './components/AccountIcon.js';
|
|
5
6
|
export { default as AccountsTableIcon } from './components/AccountsTableIcon.js';
|
|
@@ -251,6 +252,7 @@ export { default as LibraryLinkIcon } from './components/LibraryLinkIcon.js';
|
|
|
251
252
|
export { default as LightBulbIcon } from './components/LightBulbIcon.js';
|
|
252
253
|
export { default as LightningBoltIcon } from './components/LightningBoltIcon.js';
|
|
253
254
|
export { default as LineChartIcon } from './components/LineChartIcon.js';
|
|
255
|
+
export { default as LinesIcon } from './components/LinesIcon.js';
|
|
254
256
|
export { default as ListBulletsIcon } from './components/ListBulletsIcon.js';
|
|
255
257
|
export { default as ListCheckedIcon } from './components/ListCheckedIcon.js';
|
|
256
258
|
export { default as ListNumbersIcon } from './components/ListNumbersIcon.js';
|
|
@@ -359,10 +361,12 @@ export { default as RhoIcon } from './components/RhoIcon.js';
|
|
|
359
361
|
export { default as RichTextEditorIcon } from './components/RichTextEditorIcon.js';
|
|
360
362
|
export { default as RiskIcon } from './components/RiskIcon.js';
|
|
361
363
|
export { default as RobotIcon } from './components/RobotIcon.js';
|
|
364
|
+
export { default as RobotConversationalIcon } from './components/RobotConversationalIcon.js';
|
|
362
365
|
export { default as RolesIcon } from './components/RolesIcon.js';
|
|
363
366
|
export { default as SMSIcon } from './components/SMSIcon.js';
|
|
364
367
|
export { default as SatisfactionChartsIcon } from './components/SatisfactionChartsIcon.js';
|
|
365
368
|
export { default as SaveIcon } from './components/SaveIcon.js';
|
|
369
|
+
export { default as ScatterPlotIcon } from './components/ScatterPlotIcon.js';
|
|
366
370
|
export { default as ScheduledIcon } from './components/ScheduledIcon.js';
|
|
367
371
|
export { default as SchemaDataIcon } from './components/SchemaDataIcon.js';
|
|
368
372
|
export { default as SchemaEditorIcon } from './components/SchemaEditorIcon.js';
|
|
@@ -466,6 +470,7 @@ export { default as UnionIcon } from './components/UnionIcon.js';
|
|
|
466
470
|
export { default as UniqueLinkIcon } from './components/UniqueLinkIcon.js';
|
|
467
471
|
export { default as UnlinkIcon } from './components/UnlinkIcon.js';
|
|
468
472
|
export { default as UnlockIcon } from './components/UnlockIcon.js';
|
|
473
|
+
export { default as UnmoderatedUserTestingIcon } from './components/UnmoderatedUserTestingIcon.js';
|
|
469
474
|
export { default as UnpinIcon } from './components/UnpinIcon.js';
|
|
470
475
|
export { default as UpDownIcon } from './components/UpDownIcon.js';
|
|
471
476
|
export { default as UploadIcon } from './components/UploadIcon.js';
|
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-e6893573.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/extends');
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
|
@@ -10,6 +10,7 @@ require('classnames');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
exports.ABCIcon = icons_index.ABCIcon;
|
|
13
|
+
exports.AIChatbotIcon = icons_index.AIChatbotIcon;
|
|
13
14
|
exports.AIIcon = icons_index.AIIcon;
|
|
14
15
|
exports.AccessibilityIcon = icons_index.AccessibilityIcon;
|
|
15
16
|
exports.AccountIcon = icons_index.AccountIcon;
|
|
@@ -262,6 +263,7 @@ exports.LibraryLinkIcon = icons_index.LibraryLinkIcon;
|
|
|
262
263
|
exports.LightBulbIcon = icons_index.LightBulbIcon;
|
|
263
264
|
exports.LightningBoltIcon = icons_index.LightningBoltIcon;
|
|
264
265
|
exports.LineChartIcon = icons_index.LineChartIcon;
|
|
266
|
+
exports.LinesIcon = icons_index.LinesIcon;
|
|
265
267
|
exports.ListBulletsIcon = icons_index.ListBulletsIcon;
|
|
266
268
|
exports.ListCheckedIcon = icons_index.ListCheckedIcon;
|
|
267
269
|
exports.ListNumbersIcon = icons_index.ListNumbersIcon;
|
|
@@ -369,11 +371,13 @@ exports.ReverseIcon = icons_index.ReverseIcon;
|
|
|
369
371
|
exports.RhoIcon = icons_index.RhoIcon;
|
|
370
372
|
exports.RichTextEditorIcon = icons_index.RichTextEditorIcon;
|
|
371
373
|
exports.RiskIcon = icons_index.RiskIcon;
|
|
374
|
+
exports.RobotConversationalIcon = icons_index.RobotConversationalIcon;
|
|
372
375
|
exports.RobotIcon = icons_index.RobotIcon;
|
|
373
376
|
exports.RolesIcon = icons_index.RolesIcon;
|
|
374
377
|
exports.SMSIcon = icons_index.SMSIcon;
|
|
375
378
|
exports.SatisfactionChartsIcon = icons_index.SatisfactionChartsIcon;
|
|
376
379
|
exports.SaveIcon = icons_index.SaveIcon;
|
|
380
|
+
exports.ScatterPlotIcon = icons_index.ScatterPlotIcon;
|
|
377
381
|
exports.ScheduledIcon = icons_index.ScheduledIcon;
|
|
378
382
|
exports.SchemaDataIcon = icons_index.SchemaDataIcon;
|
|
379
383
|
exports.SchemaEditorIcon = icons_index.SchemaEditorIcon;
|
|
@@ -477,6 +481,7 @@ exports.UnionIcon = icons_index.UnionIcon;
|
|
|
477
481
|
exports.UniqueLinkIcon = icons_index.UniqueLinkIcon;
|
|
478
482
|
exports.UnlinkIcon = icons_index.UnlinkIcon;
|
|
479
483
|
exports.UnlockIcon = icons_index.UnlockIcon;
|
|
484
|
+
exports.UnmoderatedUserTestingIcon = icons_index.UnmoderatedUserTestingIcon;
|
|
480
485
|
exports.UnpinIcon = icons_index.UnpinIcon;
|
|
481
486
|
exports.UpDownIcon = icons_index.UpDownIcon;
|
|
482
487
|
exports.UploadIcon = icons_index.UploadIcon;
|
package/dist/index.d.ts
CHANGED
|
@@ -360,6 +360,12 @@ declare const _default: {
|
|
|
360
360
|
newOptionsLoading: string;
|
|
361
361
|
newOptionsLoaded: string;
|
|
362
362
|
locked: string;
|
|
363
|
+
currentPage: string;
|
|
364
|
+
firstPage: string;
|
|
365
|
+
lastPage: string;
|
|
366
|
+
currentPageNumber: string;
|
|
367
|
+
currentPageNumberOf: string;
|
|
368
|
+
rowDisplayCount: string;
|
|
363
369
|
};
|
|
364
370
|
|
|
365
371
|
export declare const DEFAULT_BREAKPOINTS: {
|
|
@@ -823,6 +829,7 @@ export declare interface IconProps extends React_2.SVGProps<SVGSVGElement> {
|
|
|
823
829
|
export declare const IconTypes: {
|
|
824
830
|
readonly ABC: "ABC";
|
|
825
831
|
readonly AI: "AI";
|
|
832
|
+
readonly AIChatbot: "AIChatbot";
|
|
826
833
|
readonly Accessibility: "Accessibility";
|
|
827
834
|
readonly Account: "Account";
|
|
828
835
|
readonly AccountsTable: "AccountsTable";
|
|
@@ -1074,6 +1081,7 @@ export declare const IconTypes: {
|
|
|
1074
1081
|
readonly LightBulb: "LightBulb";
|
|
1075
1082
|
readonly LightningBolt: "LightningBolt";
|
|
1076
1083
|
readonly LineChart: "LineChart";
|
|
1084
|
+
readonly Lines: "Lines";
|
|
1077
1085
|
readonly ListBullets: "ListBullets";
|
|
1078
1086
|
readonly ListChecked: "ListChecked";
|
|
1079
1087
|
readonly ListNumbers: "ListNumbers";
|
|
@@ -1182,10 +1190,12 @@ export declare const IconTypes: {
|
|
|
1182
1190
|
readonly RichTextEditor: "RichTextEditor";
|
|
1183
1191
|
readonly Risk: "Risk";
|
|
1184
1192
|
readonly Robot: "Robot";
|
|
1193
|
+
readonly RobotConversational: "RobotConversational";
|
|
1185
1194
|
readonly Roles: "Roles";
|
|
1186
1195
|
readonly SMS: "SMS";
|
|
1187
1196
|
readonly SatisfactionCharts: "SatisfactionCharts";
|
|
1188
1197
|
readonly Save: "Save";
|
|
1198
|
+
readonly ScatterPlot: "ScatterPlot";
|
|
1189
1199
|
readonly Scheduled: "Scheduled";
|
|
1190
1200
|
readonly SchemaData: "SchemaData";
|
|
1191
1201
|
readonly SchemaEditor: "SchemaEditor";
|
|
@@ -1289,6 +1299,7 @@ export declare const IconTypes: {
|
|
|
1289
1299
|
readonly UniqueLink: "UniqueLink";
|
|
1290
1300
|
readonly Unlink: "Unlink";
|
|
1291
1301
|
readonly Unlock: "Unlock";
|
|
1302
|
+
readonly UnmoderatedUserTesting: "UnmoderatedUserTesting";
|
|
1292
1303
|
readonly Unpin: "Unpin";
|
|
1293
1304
|
readonly UpDown: "UpDown";
|
|
1294
1305
|
readonly Upload: "Upload";
|
package/dist/index.es.js
CHANGED
|
@@ -102,6 +102,6 @@ export { default as deprecated_ToolbarPanel } from './components/deprecated_Tool
|
|
|
102
102
|
|
|
103
103
|
/* eslint-disable camelcase */
|
|
104
104
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
105
|
-
const version = '2.
|
|
105
|
+
const version = '2.27.0';
|
|
106
106
|
|
|
107
107
|
export { version };
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./__shared/cjs/index-
|
|
5
|
+
var index = require('./__shared/cjs/index-88aa3bce.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('./__shared/cjs/index-
|
|
8
|
+
require('./__shared/cjs/index-e6893573.js');
|
|
9
9
|
require('@babel/runtime-corejs3/helpers/extends');
|
|
10
10
|
require('react-popper');
|
|
11
11
|
require('@popperjs/core');
|
|
@@ -19,7 +19,7 @@ require('throttle-debounce');
|
|
|
19
19
|
|
|
20
20
|
/* eslint-disable camelcase */
|
|
21
21
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
22
|
-
const version = '2.
|
|
22
|
+
const version = '2.27.0';
|
|
23
23
|
|
|
24
24
|
exports.Accordion = index.Accordion;
|
|
25
25
|
exports.AccordionHeader = index.AccordionHeader;
|
|
@@ -74,6 +74,7 @@ const AdvancedTable = _ref => {
|
|
|
74
74
|
'data-testid': dataTestId,
|
|
75
75
|
rowActions,
|
|
76
76
|
rowActionsButtonAriaLabel,
|
|
77
|
+
rowActionsPlacement = 'bottom-end',
|
|
77
78
|
headerMaxLines
|
|
78
79
|
} = _ref;
|
|
79
80
|
// This handles an edge case where no rows are passed in
|
|
@@ -107,6 +108,7 @@ const AdvancedTable = _ref => {
|
|
|
107
108
|
const endingRowIndex = startingRowIndex + rowsPerPage;
|
|
108
109
|
return rows.slice(startingRowIndex, endingRowIndex);
|
|
109
110
|
}, [rows, rowsPerPage, currentPage]);
|
|
111
|
+
const paginatedRowIds = useMemo(() => paginatedRows === null || paginatedRows === void 0 ? void 0 : paginatedRows.map(row => row.id), [paginatedRows]);
|
|
110
112
|
useEffect(() => {
|
|
111
113
|
if (rows && rowsPerPage) {
|
|
112
114
|
const pageCount = Math.ceil(rows.length / rowsPerPage);
|
|
@@ -138,7 +140,8 @@ const AdvancedTable = _ref => {
|
|
|
138
140
|
}
|
|
139
141
|
}
|
|
140
142
|
}, /*#__PURE__*/React__default.createElement(EllipsisHorizontalIcon, null))), /*#__PURE__*/React__default.createElement(DropdownList, {
|
|
141
|
-
className: styles.rowActionMenuPane
|
|
143
|
+
className: styles.rowActionMenuPane,
|
|
144
|
+
placement: rowActionsPlacement
|
|
142
145
|
}, !rows ? [] : rowActions === null || rowActions === void 0 ? void 0 : rowActions.map((actionGroup, groupIndex) => {
|
|
143
146
|
var _actionGroup$actions;
|
|
144
147
|
const row = rows[rowIndex];
|
|
@@ -206,7 +209,7 @@ const AdvancedTable = _ref => {
|
|
|
206
209
|
const setColumnOrder = useEventCallback(value => {
|
|
207
210
|
const newColumnOrder = typeof value === 'function' ? value(columnOrder) : value;
|
|
208
211
|
setInternalColumnOrder(newColumnOrder);
|
|
209
|
-
onColumnOrderChange === null || onColumnOrderChange === void 0
|
|
212
|
+
onColumnOrderChange === null || onColumnOrderChange === void 0 || onColumnOrderChange(newColumnOrder);
|
|
210
213
|
});
|
|
211
214
|
const {
|
|
212
215
|
pinnedColumnConfigs,
|
|
@@ -298,7 +301,7 @@ const AdvancedTable = _ref => {
|
|
|
298
301
|
} else if (expand !== false) {
|
|
299
302
|
rowPropReference.isExpanded = true;
|
|
300
303
|
}
|
|
301
|
-
onRowsChange === null || onRowsChange === void 0
|
|
304
|
+
onRowsChange === null || onRowsChange === void 0 || onRowsChange([...rowsProp]);
|
|
302
305
|
};
|
|
303
306
|
const getLastToggledRowIndex = () => {
|
|
304
307
|
const index = rows === null || rows === void 0 ? void 0 : rows.findIndex(_ref4 => {
|
|
@@ -318,9 +321,34 @@ const AdvancedTable = _ref => {
|
|
|
318
321
|
}
|
|
319
322
|
return 'false';
|
|
320
323
|
};
|
|
324
|
+
const columnHeaderCheckboxState = useMemo(() => {
|
|
325
|
+
if (paginatedRowIds) {
|
|
326
|
+
const checkedPaginatedRowIds = paginatedRowIds.filter(rowId => checkedRowIds.includes(rowId));
|
|
327
|
+
if (paginatedRowIds.length === checkedPaginatedRowIds.length) {
|
|
328
|
+
return 'true';
|
|
329
|
+
}
|
|
330
|
+
if (checkedPaginatedRowIds.length) {
|
|
331
|
+
return 'mixed';
|
|
332
|
+
}
|
|
333
|
+
return 'false';
|
|
334
|
+
}
|
|
335
|
+
if (checkedRowIds.length === totalRowsCountWithExpansion) {
|
|
336
|
+
return 'true';
|
|
337
|
+
}
|
|
338
|
+
if (checkedRowIds.length) {
|
|
339
|
+
return 'mixed';
|
|
340
|
+
}
|
|
341
|
+
return 'false';
|
|
342
|
+
}, [checkedRowIds, paginatedRowIds, totalRowsCountWithExpansion]);
|
|
321
343
|
const handleColumnHeaderCheckboxToggle = () => {
|
|
322
344
|
setLastToggledRowId('');
|
|
323
|
-
if (
|
|
345
|
+
if (paginatedRowIds) {
|
|
346
|
+
if (paginatedRowIds !== null && paginatedRowIds !== void 0 && paginatedRowIds.every(rowId => checkedRowIds.includes(rowId))) {
|
|
347
|
+
setCheckedRowIds(checkedRowIds.filter(checkedRowId => !paginatedRowIds.includes(checkedRowId)));
|
|
348
|
+
} else {
|
|
349
|
+
setCheckedRowIds([...checkedRowIds, ...paginatedRowIds]);
|
|
350
|
+
}
|
|
351
|
+
} else if (checkedRowIds.length === totalRowsCountWithExpansion) {
|
|
324
352
|
setCheckedRowIds([]);
|
|
325
353
|
} else {
|
|
326
354
|
setCheckedRowIds(getAllRowIds());
|
|
@@ -569,7 +597,7 @@ const AdvancedTable = _ref => {
|
|
|
569
597
|
setValue: newValue => {
|
|
570
598
|
const newRows = [...rowsProp];
|
|
571
599
|
rowPropReference.data[columnId] = newValue;
|
|
572
|
-
onRowsChange === null || onRowsChange === void 0
|
|
600
|
+
onRowsChange === null || onRowsChange === void 0 || onRowsChange(newRows);
|
|
573
601
|
},
|
|
574
602
|
renderCellContent,
|
|
575
603
|
isCellContentInteractive,
|
|
@@ -637,7 +665,7 @@ const AdvancedTable = _ref => {
|
|
|
637
665
|
className: classNames(styles.pinnedContainer, styles.advancedTableRowChild),
|
|
638
666
|
ref: createPinnedContainerRef(headerRowIndex)
|
|
639
667
|
}, hasCheckboxColumn && /*#__PURE__*/React__default.createElement(AdvancedTableCheckbox, {
|
|
640
|
-
state:
|
|
668
|
+
state: columnHeaderCheckboxState,
|
|
641
669
|
isRowFocused: headerRowIndex === focusedRowIndex,
|
|
642
670
|
onClick: handleColumnHeaderCheckboxToggle,
|
|
643
671
|
variant: "header"
|
|
@@ -667,7 +695,7 @@ const AdvancedTable = _ref => {
|
|
|
667
695
|
const onSelect = e => {
|
|
668
696
|
e.preventDefault(); // stops event from triggering on new target when focus is changed during onSelect
|
|
669
697
|
if (hasOnRowSelect) {
|
|
670
|
-
onRowSelect === null || onRowSelect === void 0
|
|
698
|
+
onRowSelect === null || onRowSelect === void 0 || onRowSelect(row.rowPropReference);
|
|
671
699
|
setSelectedRowId(rowId);
|
|
672
700
|
}
|
|
673
701
|
};
|
|
@@ -848,7 +876,7 @@ function useFocusState(_ref8) {
|
|
|
848
876
|
tableRef.current.scrollLeft -= pinnedContainerPos.left + pinnedContainerPos.width - cellPos.left;
|
|
849
877
|
}
|
|
850
878
|
}
|
|
851
|
-
cell === null || cell === void 0
|
|
879
|
+
cell === null || cell === void 0 || cell.focus();
|
|
852
880
|
});
|
|
853
881
|
|
|
854
882
|
// Focus header cell when the focused column id changes. Used when pinning/unpinning columns since a new DOM element is created.
|
|
@@ -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 = "._DN7Bl{overflow:auto;position:relative;max-width:100%;max-height:100%}._DN7Bl,._U3b4z{background-color:#fff}._U3b4z{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._NrGNP{margin-bottom:4px}._rP1GH{position:-webkit-sticky;position:sticky;top:0;z-index:100}._HL4EO{display:flex}._HL4EO:focus{outline:none}._HL4EO.focus-visible ._ExIaf:after,._HL4EO:focus-visible ._ExIaf: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}._HL4EO.focus-visible ._ExIaf:last-of-type:after,._HL4EO:focus-visible ._ExIaf:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._HL4EO.focus-visible ._ExIaf:first-of-type:after,._HL4EO:focus-visible ._ExIaf:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._HL4EO.focus-visible ._ExIaf._9U8mx:after,._HL4EO:focus-visible ._ExIaf._9U8mx:after{right:-3px;bottom:1px}._vU7wY{padding-right:3px}._Jnqa5{display:flex}._Jnqa5._l9Ogu ._EERTn,._Jnqa5._l9Ogu ._ExIaf{cursor:pointer}._Jnqa5._sW-HY ._EERTn,._Jnqa5._sW-HY ._ExIaf{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._Jnqa5._sW-HY ._EERTn._9U8mx,._Jnqa5._sW-HY ._ExIaf._9U8mx{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._Jnqa5._sW-HY ._EERTn._9U8mx ._EERTn,._Jnqa5._sW-HY ._EERTn._9U8mx ._Exiq3,._Jnqa5._sW-HY ._EERTn._9U8mx ._TDT90,._Jnqa5._sW-HY ._ExIaf._9U8mx ._EERTn,._Jnqa5._sW-HY ._ExIaf._9U8mx ._Exiq3,._Jnqa5._sW-HY ._ExIaf._9U8mx ._TDT90{background-color:rgba(11,110,208,.08)}._Jnqa5._l9Ogu:hover:not(._sW-HY) ._EERTn,._Jnqa5._l9Ogu:hover:not(._sW-HY) ._ExIaf{background-color:#f9f9f9}._Jnqa5._l9Ogu:active:not(._sW-HY)[\\:not-has\\(._Exiq3\\:active\\)] ._EERTn,._Jnqa5._l9Ogu:active:not(._sW-HY)[\\:not-has\\(._Exiq3\\:active\\)] ._ExIaf{background-color:#f3f3f3}._Jnqa5._l9Ogu:active:not(._sW-HY):not(._Jnqa5._l9Ogu:active:not(._sW-HY):has(._Exiq3:active)) ._EERTn,._Jnqa5._l9Ogu:active:not(._sW-HY):not(._Jnqa5._l9Ogu:active:not(._sW-HY):has(._Exiq3:active)) ._ExIaf{background-color:#f3f3f3}._Jnqa5:focus{outline:none}._Jnqa5.focus-visible ._ExIaf:after,._Jnqa5:focus-visible ._ExIaf: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}._Jnqa5.focus-visible ._ExIaf:last-of-type:after,._Jnqa5:focus-visible ._ExIaf:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Jnqa5.focus-visible ._ExIaf:first-of-type:after,._Jnqa5:focus-visible ._ExIaf:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Jnqa5.focus-visible ._ExIaf._9U8mx:after,._Jnqa5:focus-visible ._ExIaf._9U8mx:after{right:-3px;bottom:0}._Jnqa5:last-of-type:focus{outline:none}._Jnqa5:last-of-type.focus-visible ._ExIaf:after,._Jnqa5:last-of-type:focus-visible ._ExIaf: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}._Jnqa5:last-of-type.focus-visible ._ExIaf:last-of-type:after,._Jnqa5:last-of-type:focus-visible ._ExIaf:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Jnqa5:last-of-type.focus-visible ._ExIaf:first-of-type:after,._Jnqa5:last-of-type:focus-visible ._ExIaf:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Jnqa5:last-of-type.focus-visible ._ExIaf._9U8mx:after,._Jnqa5:last-of-type:focus-visible ._ExIaf._9U8mx:after{right:-3px;bottom:1px}._Jnqa5:last-of-type ._TDT90:focus{outline:none}._Jnqa5:last-of-type ._TDT90._7vjr-.focus-visible:after,._Jnqa5:last-of-type ._TDT90._7vjr-:focus-visible:after,._Jnqa5:last-of-type ._TDT90.focus-visible:after,._Jnqa5:last-of-type ._TDT90:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._Jnqa5:first-of-type:focus{outline:none}._Jnqa5:first-of-type.focus-visible ._ExIaf:after,._Jnqa5:first-of-type:focus-visible ._ExIaf: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}._Jnqa5:first-of-type.focus-visible ._ExIaf:last-of-type:after,._Jnqa5:first-of-type:focus-visible ._ExIaf:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Jnqa5:first-of-type.focus-visible ._ExIaf:first-of-type:after,._Jnqa5:first-of-type:focus-visible ._ExIaf:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Jnqa5:first-of-type.focus-visible ._ExIaf._9U8mx:after,._Jnqa5:first-of-type:focus-visible ._ExIaf._9U8mx:after{right:-3px;bottom:0}._Jnqa5:first-of-type ._TDT90:focus{outline:none}._Jnqa5:first-of-type ._TDT90._7vjr-.focus-visible:after,._Jnqa5:first-of-type ._TDT90._7vjr-:focus-visible:after,._Jnqa5:first-of-type ._TDT90.focus-visible:after,._Jnqa5:first-of-type ._TDT90:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._-JXYa{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}._-JXYa._kEOjw{flex-grow:1}._-JXYa._eUB-g{cursor:pointer}._-JXYa._eUB-g:hover:not(._8uGpl){background-color:#f9f9f9;border-bottom-color:#6a6d70}._-JXYa._eUB-g:active:not(._8uGpl){background-color:#f3f3f3}._-JXYa._j0TAb:not(._8uGpl){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._-JXYa._8uGpl{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._-JXYa ._lLNWn{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._-JXYa ._lLNWn._6Ji5o{left:-1px}._-JXYa ._lLNWn._4Loc2{right:0}._-JXYa ._nua8L{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._-JXYa ._nua8L._6Ji5o{left:-2px}._-JXYa ._nua8L._4Loc2{right:-1px}._-JXYa:first-of-type ._6Ji5o._lLNWn{left:0;width:2px;border-left:1px solid #fff}._-JXYa:first-of-type ._6Ji5o._nua8L{left:0}._-JXYa:last-of-type ._4Loc2._lLNWn{right:0;width:2px;border-right:1px solid #fff}._-JXYa:last-of-type ._4Loc2._nua8L{right:0}._-JXYa ._NnFl2{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._-JXYa ._NnFl2 ._-iEpH{position:absolute;width:2px;right:2px;top:0;bottom:0}._-JXYa ._NnFl2 ._-iEpH._w5mNv{background-color:#0a6ed1}._-JXYa ._NnFl2:hover ._-iEpH:not(._w5mNv){background-color:#d9d9d9}._-JXYa ._1t6tN{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._-JXYa ._1t6tN._3bimP{flex-direction:row-reverse;justify-content:flex-start}._-JXYa ._1t6tN._3bimP ._xYKOg{margin:1px 7px 1px 1px}._-JXYa ._1t6tN ._WliAN{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._-JXYa ._1t6tN ._xYKOg{margin:1px 1px 1px 7px;flex-shrink:0}._-JXYa ._oOT4E{margin-left:6px;margin-right:4px;flex-shrink:0}._-JXYa ._ka275{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._-JXYa:focus{outline:none}._-JXYa._7vjr-.focus-visible:after,._-JXYa._7vjr-:focus-visible:after,._-JXYa.focus-visible:after,._-JXYa:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._D6yz1{margin-right:6px}._9U8mx{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._9U8mx[focus-within]{z-index:30}._9U8mx:focus-within{z-index:30}._TDT90{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}._TDT90 ._6H-jN{width:100%;padding:12px 12px 11px;overflow:hidden}._TDT90._8uGpl{background-color:#efefef;border-bottom-color:#dfdfe1}._TDT90._kEOjw{flex-grow:1}._TDT90:focus{outline:none}._TDT90._7vjr-.focus-visible:after,._TDT90._7vjr-:focus-visible:after,._TDT90.focus-visible:after,._TDT90:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._EERTn{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._EERTn._4UwQj{border-bottom-color:#d9d9d9;background-color:#fff}._Exiq3{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}._Exiq3._4UwQj{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._Exiq3:focus input~span,._Exiq3:hover input~span{border-color:#0b6ed0}._Exiq3 ._yZ9e0{position:relative;display:inline-flex}._Exiq3 ._yZ9e0 ._rlX9w{margin:0!important}._Exiq3 ._yZ9e0 ._GfJUb{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._1uf60{justify-content:flex-start}._RZnHu{justify-content:center;text-align:center}._3bimP{justify-content:flex-end;text-align:right}._W2DVP{display:none}._Z-E2S{opacity:0;height:0;width:0;overflow:hidden}._m6Yl4,._Z-E2S{position:absolute}._m6Yl4{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._eks70{max-width:250px;min-width:150px!important}";
|
|
4
|
+
var styles = {"advancedTable":"_DN7Bl","advancedTablePaginationContainer":"_U3b4z","advancedTablePagination":"_NrGNP","advancedTableColumnHeadersRowGroup":"_rP1GH","advancedTableColumnHeaders":"_HL4EO","advancedTableRowChild":"_ExIaf","pinnedContainer":"_9U8mx","advancedTableRowGroup":"_vU7wY","advancedTableRow":"_Jnqa5","hasRowAction":"_l9Ogu","advancedTableExpandRowSpacer":"_EERTn","isSelected":"_sW-HY","advancedTableCheckbox":"_Exiq3","advancedTableCell":"_TDT90","showFocusRing":"_7vjr-","advancedTableColumnHeader":"_-JXYa","fillRemainingSpace":"_kEOjw","isSortable":"_eUB-g","isDragging":"_8uGpl","isSorted":"_j0TAb","dropTargetLine":"_lLNWn","dropTargetLeft":"_6Ji5o","dropTargetRight":"_4Loc2","dropTargetMarker":"_nua8L","resizeHandle":"_NnFl2","resizeLine":"_-iEpH","isResizing":"_w5mNv","advancedTableColumnHeaderLabel":"_1t6tN","rightAligned":"_3bimP","sortIcon":"_xYKOg","advancedTableColumnHeaderLabelText":"_WliAN","advancedTableColumnHeaderMenu":"_oOT4E","advancedTableColumnHeaderMenuHiddenAnchor":"_ka275","advancedTableColumnHeaderMenuItemIcon":"_D6yz1","advancedTableCellContainer":"_6H-jN","header":"_4UwQj","checkboxContainer":"_yZ9e0","checkbox":"_rlX9w","mixed":"_GfJUb","leftAligned":"_1uf60","centerAligned":"_RZnHu","hiddenDescription":"_W2DVP","hiddenLiveRegion":"_Z-E2S","dragPreview":"_m6Yl4","rowActionMenuPane":"_eks70"};
|
|
5
|
+
var stylesheet="._DN7Bl{overflow:auto;position:relative;max-width:100%;max-height:100%}._DN7Bl,._U3b4z{background-color:#fff}._U3b4z{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._NrGNP{margin-bottom:4px}._rP1GH{position:-webkit-sticky;position:sticky;top:0;z-index:100}._HL4EO{display:flex}._HL4EO:focus{outline:none}._HL4EO.focus-visible ._ExIaf:after,._HL4EO:focus-visible ._ExIaf: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}._HL4EO.focus-visible ._ExIaf:last-of-type:after,._HL4EO:focus-visible ._ExIaf:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._HL4EO.focus-visible ._ExIaf:first-of-type:after,._HL4EO:focus-visible ._ExIaf:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._HL4EO.focus-visible ._ExIaf._9U8mx:after,._HL4EO:focus-visible ._ExIaf._9U8mx:after{right:-3px;bottom:1px}._vU7wY{padding-right:3px}._Jnqa5{display:flex}._Jnqa5._l9Ogu ._EERTn,._Jnqa5._l9Ogu ._ExIaf{cursor:pointer}._Jnqa5._sW-HY ._EERTn,._Jnqa5._sW-HY ._ExIaf{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._Jnqa5._sW-HY ._EERTn._9U8mx,._Jnqa5._sW-HY ._ExIaf._9U8mx{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._Jnqa5._sW-HY ._EERTn._9U8mx ._EERTn,._Jnqa5._sW-HY ._EERTn._9U8mx ._Exiq3,._Jnqa5._sW-HY ._EERTn._9U8mx ._TDT90,._Jnqa5._sW-HY ._ExIaf._9U8mx ._EERTn,._Jnqa5._sW-HY ._ExIaf._9U8mx ._Exiq3,._Jnqa5._sW-HY ._ExIaf._9U8mx ._TDT90{background-color:rgba(11,110,208,.08)}._Jnqa5._l9Ogu:hover:not(._sW-HY) ._EERTn,._Jnqa5._l9Ogu:hover:not(._sW-HY) ._ExIaf{background-color:#f9f9f9}._Jnqa5._l9Ogu:active:not(._sW-HY)[\\:not-has\\(._Exiq3\\:active\\)] ._EERTn,._Jnqa5._l9Ogu:active:not(._sW-HY)[\\:not-has\\(._Exiq3\\:active\\)] ._ExIaf{background-color:#f3f3f3}._Jnqa5._l9Ogu:active:not(._sW-HY):not(._Jnqa5._l9Ogu:active:not(._sW-HY):has(._Exiq3:active)) ._EERTn,._Jnqa5._l9Ogu:active:not(._sW-HY):not(._Jnqa5._l9Ogu:active:not(._sW-HY):has(._Exiq3:active)) ._ExIaf{background-color:#f3f3f3}._Jnqa5:focus{outline:none}._Jnqa5.focus-visible ._ExIaf:after,._Jnqa5:focus-visible ._ExIaf: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}._Jnqa5.focus-visible ._ExIaf:last-of-type:after,._Jnqa5:focus-visible ._ExIaf:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Jnqa5.focus-visible ._ExIaf:first-of-type:after,._Jnqa5:focus-visible ._ExIaf:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Jnqa5.focus-visible ._ExIaf._9U8mx:after,._Jnqa5:focus-visible ._ExIaf._9U8mx:after{right:-3px;bottom:0}._Jnqa5:last-of-type:focus{outline:none}._Jnqa5:last-of-type.focus-visible ._ExIaf:after,._Jnqa5:last-of-type:focus-visible ._ExIaf: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}._Jnqa5:last-of-type.focus-visible ._ExIaf:last-of-type:after,._Jnqa5:last-of-type:focus-visible ._ExIaf:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Jnqa5:last-of-type.focus-visible ._ExIaf:first-of-type:after,._Jnqa5:last-of-type:focus-visible ._ExIaf:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Jnqa5:last-of-type.focus-visible ._ExIaf._9U8mx:after,._Jnqa5:last-of-type:focus-visible ._ExIaf._9U8mx:after{right:-3px;bottom:1px}._Jnqa5:last-of-type ._TDT90:focus{outline:none}._Jnqa5:last-of-type ._TDT90._7vjr-.focus-visible:after,._Jnqa5:last-of-type ._TDT90._7vjr-:focus-visible:after,._Jnqa5:last-of-type ._TDT90.focus-visible:after,._Jnqa5:last-of-type ._TDT90:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._Jnqa5:first-of-type:focus{outline:none}._Jnqa5:first-of-type.focus-visible ._ExIaf:after,._Jnqa5:first-of-type:focus-visible ._ExIaf: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}._Jnqa5:first-of-type.focus-visible ._ExIaf:last-of-type:after,._Jnqa5:first-of-type:focus-visible ._ExIaf:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._Jnqa5:first-of-type.focus-visible ._ExIaf:first-of-type:after,._Jnqa5:first-of-type:focus-visible ._ExIaf:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._Jnqa5:first-of-type.focus-visible ._ExIaf._9U8mx:after,._Jnqa5:first-of-type:focus-visible ._ExIaf._9U8mx:after{right:-3px;bottom:0}._Jnqa5:first-of-type ._TDT90:focus{outline:none}._Jnqa5:first-of-type ._TDT90._7vjr-.focus-visible:after,._Jnqa5:first-of-type ._TDT90._7vjr-:focus-visible:after,._Jnqa5:first-of-type ._TDT90.focus-visible:after,._Jnqa5:first-of-type ._TDT90:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._-JXYa{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}._-JXYa._kEOjw{flex-grow:1}._-JXYa._eUB-g{cursor:pointer}._-JXYa._eUB-g:hover:not(._8uGpl){background-color:#f9f9f9;border-bottom-color:#6a6d70}._-JXYa._eUB-g:active:not(._8uGpl){background-color:#f3f3f3}._-JXYa._j0TAb:not(._8uGpl){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._-JXYa._8uGpl{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._-JXYa ._lLNWn{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._-JXYa ._lLNWn._6Ji5o{left:-1px}._-JXYa ._lLNWn._4Loc2{right:0}._-JXYa ._nua8L{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._-JXYa ._nua8L._6Ji5o{left:-2px}._-JXYa ._nua8L._4Loc2{right:-1px}._-JXYa:first-of-type ._6Ji5o._lLNWn{left:0;width:2px;border-left:1px solid #fff}._-JXYa:first-of-type ._6Ji5o._nua8L{left:0}._-JXYa:last-of-type ._4Loc2._lLNWn{right:0;width:2px;border-right:1px solid #fff}._-JXYa:last-of-type ._4Loc2._nua8L{right:0}._-JXYa ._NnFl2{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._-JXYa ._NnFl2 ._-iEpH{position:absolute;width:2px;right:2px;top:0;bottom:0}._-JXYa ._NnFl2 ._-iEpH._w5mNv{background-color:#0a6ed1}._-JXYa ._NnFl2:hover ._-iEpH:not(._w5mNv){background-color:#d9d9d9}._-JXYa ._1t6tN{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._-JXYa ._1t6tN._3bimP{flex-direction:row-reverse;justify-content:flex-start}._-JXYa ._1t6tN._3bimP ._xYKOg{margin:1px 7px 1px 1px}._-JXYa ._1t6tN ._WliAN{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._-JXYa ._1t6tN ._xYKOg{margin:1px 1px 1px 7px;flex-shrink:0}._-JXYa ._oOT4E{margin-left:6px;margin-right:4px;flex-shrink:0}._-JXYa ._ka275{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._-JXYa:focus{outline:none}._-JXYa._7vjr-.focus-visible:after,._-JXYa._7vjr-:focus-visible:after,._-JXYa.focus-visible:after,._-JXYa:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._D6yz1{margin-right:6px}._9U8mx{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._9U8mx[focus-within]{z-index:30}._9U8mx:focus-within{z-index:30}._TDT90{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}._TDT90 ._6H-jN{width:100%;padding:12px 12px 11px;overflow:hidden}._TDT90._8uGpl{background-color:#efefef;border-bottom-color:#dfdfe1}._TDT90._kEOjw{flex-grow:1}._TDT90:focus{outline:none}._TDT90._7vjr-.focus-visible:after,._TDT90._7vjr-:focus-visible:after,._TDT90.focus-visible:after,._TDT90:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._EERTn{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._EERTn._4UwQj{border-bottom-color:#d9d9d9;background-color:#fff}._Exiq3{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}._Exiq3._4UwQj{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._Exiq3:focus input~span,._Exiq3:hover input~span{border-color:#0b6ed0}._Exiq3 ._yZ9e0{position:relative;display:inline-flex}._Exiq3 ._yZ9e0 ._rlX9w{margin:0!important}._Exiq3 ._yZ9e0 ._GfJUb{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._1uf60{justify-content:flex-start}._RZnHu{justify-content:center;text-align:center}._3bimP{justify-content:flex-end;text-align:right}._W2DVP{display:none}._Z-E2S{opacity:0;height:0;width:0;overflow:hidden}._m6Yl4,._Z-E2S{position:absolute}._m6Yl4{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._eks70{max-width:250px;min-width:150px!important}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -41,14 +41,14 @@ const AdvancedTableCell = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
41
41
|
const handleKeyDown = e => {
|
|
42
42
|
if (e.target === e.currentTarget && e.key === 'Enter' && isInteractive) {
|
|
43
43
|
var _focusableElementRef$;
|
|
44
|
-
(_focusableElementRef$ = focusableElementRef.current) === null || _focusableElementRef$ === void 0
|
|
44
|
+
(_focusableElementRef$ = focusableElementRef.current) === null || _focusableElementRef$ === void 0 || _focusableElementRef$.focus();
|
|
45
45
|
e.preventDefault(); // Prevent click event from occurring on the focusable element
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
onKeyDown === null || onKeyDown === void 0
|
|
48
|
+
onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
|
|
49
49
|
};
|
|
50
50
|
const handleFocus = e => {
|
|
51
|
-
onFocus === null || onFocus === void 0
|
|
51
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
52
52
|
if (isInteractive) {
|
|
53
53
|
if (e.target !== e.currentTarget) {
|
|
54
54
|
setIsEditing(true);
|
|
@@ -64,7 +64,7 @@ const AdvancedTableCell = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
64
64
|
} : undefined;
|
|
65
65
|
const focusCell = () => {
|
|
66
66
|
var _cellRef$current;
|
|
67
|
-
(_cellRef$current = cellRef.current) === null || _cellRef$current === void 0
|
|
67
|
+
(_cellRef$current = cellRef.current) === null || _cellRef$current === void 0 || _cellRef$current.focus();
|
|
68
68
|
};
|
|
69
69
|
const computedWidth = useComputedWidth(widthBuffer, width);
|
|
70
70
|
return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
|