@qualtrics/ui-react 2.24.2 → 2.25.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 +10 -0
- package/dist/__shared/cjs/{index-8f52588d.js → index-5b3b3406.js} +3 -3
- package/dist/__shared/cjs/{index-b7a35c2e.js → index-610a1e02.js} +133 -133
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/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/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useOverlay/useOverlay.js +1 -1
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +9 -7
- package/dist/index.es.js +2 -1
- package/dist/index.js +4 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +6 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu.js +4 -1
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuButton.js +5 -2
- package/dist/next/Menu/MenuItem.js +19 -4
- package/dist/next/Menu/MenuPane.js +48 -32
- package/dist/next/Menu/SubMenu.js +49 -21
- package/dist/next/Menu/useCSSVariable.js +1 -1
- package/dist/next/Menu/usePaneSearch.js +20 -15
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select.js +114 -0
- package/dist/next/Select/Select2.js +8 -0
- package/dist/next/Select/SelectButton.js +46 -0
- package/dist/next/Select/SelectContext.js +16 -0
- package/dist/next/Select/SelectItem.js +46 -0
- package/dist/next/Select/SelectPane.js +43 -0
- package/dist/next/Select/SelectedItems.js +45 -0
- package/dist/next/Select/SubSelect.js +90 -0
- package/dist/next/Select/constants.js +13 -0
- package/dist/next/Select/index.js +5 -0
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +54 -6
- package/dist/next/index.es.js +6 -0
- package/dist/next/index.js +680 -255
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/next/package.json +1 -1
- package/package.json +3 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"toolbar":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._4H-5Y,._kq-K9{display:flex}._kq-K9{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._8IaWe{width:69px;min-width:auto;max-width:none}._nL2js{width:100%}._VfnSr{margin-bottom:12px;background-color:transparent!important}._VfnSr:hover{background-color:rgba(11,110,208,.08)!important}._VfnSr:hover>svg{fill:#085caf}._VfnSr:hover>span{color:#085caf}._VfnSr:active{background-color:rgba(11,110,208,.12)!important}._VfnSr:active>svg{fill:#0854a1}._VfnSr:active>span{color:#0854a1}._VfnSr._Uvbhp{background-color:rgba(11,110,208,.08)!important}._VfnSr._Uvbhp>svg{fill:#0b6ed0}._VfnSr._Uvbhp>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._VfnSr._Uvbhp:hover{background-color:rgba(11,110,208,.08)!important}._VfnSr._Uvbhp:hover>svg{fill:#085caf}._VfnSr._Uvbhp:hover>span{color:#085caf}._VfnSr._Uvbhp:active{background-color:rgba(11,110,208,.12)!important}._VfnSr._Uvbhp:active>svg{fill:#0854a1}._VfnSr._Uvbhp:active>span{color:#0854a1}._TGDdq{border-radius:6px}._TGDdq>._sE4LE{display:block;fill:#515559}._NERUx{margin-top:auto;margin-bottom:0}._BMUiH{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._BMUiH:hover>._AUNqC{opacity:1}._uWziR{width:0;border-width:0;padding:0}._DbbZt{border-radius:4px;min-width:100%;min-height:100%;outline:none}._IxZGt{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._AUNqC{opacity:0}._AUNqC:hover,._e60Or,._IxZGt._BiEVV._BiEVV{opacity:1}._IxZGt._B6fh9._B6fh9{opacity:0}._IxZGt>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._IxZGt>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._IxZGt>span:hover>svg{fill:#fff}._IxZGt>span:active{background-color:#0854a1;border-color:#0854a1}._IxZGt>span:active>svg{fill:#fff}._IxZGt>span>svg{fill:#515559;border-radius:50%}._DbbZt._owWpf{display:none!important}._mkTWR{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._IvGta{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._R-OZS{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._0WJ4Y{fill:#515559}._wUADW{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._DbbZt.focus-visible,._DbbZt:focus-visible,._mkTWR.focus-visible,._mkTWR:focus-visible,._R-OZS.focus-visible,._R-OZS:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._IxZGt.focus-visible,._IxZGt:focus-visible{border-color:#0a3f88}._IxZGt:active>span{background-color:#0854a1;border-color:#0854a1}._IxZGt:active>span>svg{fill:#fff}._AUNqC.focus-visible,._AUNqC:focus-visible{opacity:1}";
|
|
4
|
+
var styles = {"toolbar":"_4H-5Y","toolbarNav":"_kq-K9","toolbarNavCollapsed":"_8IaWe","toolbarTabs":"_nL2js","toolbarTab":"_VfnSr","selected":"_Uvbhp","toolbarTabIconButton":"_TGDdq","icon":"_sE4LE","tabsExpandCollapseButton":"_NERUx","toolbarPanels":"_BMUiH","toolbarPanelExpandCollapseButtonDefaultHidden":"_AUNqC","toolbarPanelsCollapsed":"_uWziR","toolbarPanel":"_DbbZt","toolbarPanelExpandCollapseButton":"_IxZGt","toolbarPanelExpandCollapseButtonDefaultShown":"_e60Or","overrideShow":"_BiEVV","overrideHide":"_B6fh9","notSelected":"_owWpf","buttonWithLabel":"_mkTWR","buttonWithLabelLabel":"_IvGta","iconButtonWithLabel":"_R-OZS","iconButtonWithLabelIcon":"_0WJ4Y","iconButtonWithLabelLabel":"_wUADW"};
|
|
5
|
+
var stylesheet="._4H-5Y,._kq-K9{display:flex}._kq-K9{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._8IaWe{width:69px;min-width:auto;max-width:none}._nL2js{width:100%}._VfnSr{margin-bottom:12px;background-color:transparent!important}._VfnSr:hover{background-color:rgba(11,110,208,.08)!important}._VfnSr:hover>svg{fill:#085caf}._VfnSr:hover>span{color:#085caf}._VfnSr:active{background-color:rgba(11,110,208,.12)!important}._VfnSr:active>svg{fill:#0854a1}._VfnSr:active>span{color:#0854a1}._VfnSr._Uvbhp{background-color:rgba(11,110,208,.08)!important}._VfnSr._Uvbhp>svg{fill:#0b6ed0}._VfnSr._Uvbhp>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._VfnSr._Uvbhp:hover{background-color:rgba(11,110,208,.08)!important}._VfnSr._Uvbhp:hover>svg{fill:#085caf}._VfnSr._Uvbhp:hover>span{color:#085caf}._VfnSr._Uvbhp:active{background-color:rgba(11,110,208,.12)!important}._VfnSr._Uvbhp:active>svg{fill:#0854a1}._VfnSr._Uvbhp:active>span{color:#0854a1}._TGDdq{border-radius:6px}._TGDdq>._sE4LE{display:block;fill:#515559}._NERUx{margin-top:auto;margin-bottom:0}._BMUiH{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._BMUiH:hover>._AUNqC{opacity:1}._uWziR{width:0;border-width:0;padding:0}._DbbZt{border-radius:4px;min-width:100%;min-height:100%;outline:none}._IxZGt{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._AUNqC{opacity:0}._AUNqC:hover,._e60Or,._IxZGt._BiEVV._BiEVV{opacity:1}._IxZGt._B6fh9._B6fh9{opacity:0}._IxZGt>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._IxZGt>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._IxZGt>span:hover>svg{fill:#fff}._IxZGt>span:active{background-color:#0854a1;border-color:#0854a1}._IxZGt>span:active>svg{fill:#fff}._IxZGt>span>svg{fill:#515559;border-radius:50%}._DbbZt._owWpf{display:none!important}._mkTWR{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._IvGta{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._R-OZS{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._0WJ4Y{fill:#515559}._wUADW{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._DbbZt.focus-visible,._DbbZt:focus-visible,._mkTWR.focus-visible,._mkTWR:focus-visible,._R-OZS.focus-visible,._R-OZS:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._IxZGt.focus-visible,._IxZGt:focus-visible{border-color:#0a3f88}._IxZGt:active>span{background-color:#0854a1;border-color:#0854a1}._IxZGt:active>span>svg{fill:#fff}._AUNqC.focus-visible,._AUNqC:focus-visible{opacity:1}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -41,7 +41,7 @@ const useOverlay = _ref => {
|
|
|
41
41
|
containerNode.style.position = 'static';
|
|
42
42
|
containerNode.removeChild(overlay);
|
|
43
43
|
};
|
|
44
|
-
}, [containerRef, overlayId, isVisible, onClick, dataTestId, zIndex]);
|
|
44
|
+
}, [containerRef, overlayId, isVisible, onClick, dataTestId, zIndex, opacity]);
|
|
45
45
|
useEffect(() => {
|
|
46
46
|
var _containerRef$current2;
|
|
47
47
|
const containerNode = (_containerRef$current2 = containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) !== null && _containerRef$current2 !== void 0 ? _containerRef$current2 : document.body;
|
|
@@ -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 = "._lYQJ9{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}._M796L{visibility:hidden}";
|
|
4
|
+
var styles = {"overlay":"_lYQJ9","hidden":"_M796L"};
|
|
5
|
+
var stylesheet="._lYQJ9{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}._M796L{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 };
|
|
@@ -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 = "._hxz0E{position:absolute;top:-10000px;left:-10000px}";
|
|
4
|
+
var classes = {"ariaLiveElement":"_hxz0E"};
|
|
5
|
+
var stylesheet="._hxz0E{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 = "._UNSp7{flex-shrink:0}";
|
|
4
|
+
var styles = {"icon":"_UNSp7"};
|
|
5
|
+
var stylesheet="._UNSp7{flex-shrink:0}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
package/dist/icons/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var icons_index = require('../__shared/cjs/index-
|
|
5
|
+
var icons_index = require('../__shared/cjs/index-5b3b3406.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/extends');
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
package/dist/index.d.ts
CHANGED
|
@@ -52,11 +52,11 @@ export declare interface AccordionSectionProps {
|
|
|
52
52
|
children: React_2.ReactNode;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export declare const Banner: ({ onClose, icon, status, "data-testid": dataTestId, children, }: BannerProps) =>
|
|
55
|
+
export declare const Banner: ({ onClose, icon, status, "data-testid": dataTestId, children, }: BannerProps) => JSX.Element;
|
|
56
56
|
|
|
57
57
|
export declare const BannerBody: ({ children }: {
|
|
58
58
|
children: React_2.ReactNode;
|
|
59
|
-
}) =>
|
|
59
|
+
}) => JSX.Element;
|
|
60
60
|
|
|
61
61
|
export declare interface BannerBodyProps {
|
|
62
62
|
/** The contents of the banner body. The `BannerBody` component is expected inside `Banner`. */
|
|
@@ -65,7 +65,7 @@ export declare interface BannerBodyProps {
|
|
|
65
65
|
|
|
66
66
|
export declare const BannerFooter: ({ children }: {
|
|
67
67
|
children: React_2.ReactNode;
|
|
68
|
-
}) =>
|
|
68
|
+
}) => JSX.Element;
|
|
69
69
|
|
|
70
70
|
export declare interface BannerFooterProps {
|
|
71
71
|
/**
|
|
@@ -91,7 +91,7 @@ export declare interface BannerProps {
|
|
|
91
91
|
|
|
92
92
|
export declare const BannerTitle: ({ children }: {
|
|
93
93
|
children: React_2.ReactNode;
|
|
94
|
-
}) =>
|
|
94
|
+
}) => JSX.Element;
|
|
95
95
|
|
|
96
96
|
export declare interface BannerTitleProps {
|
|
97
97
|
/** The contents of the banner title. The `BannerTitle` component is optional inside `Banner`. */
|
|
@@ -114,7 +114,7 @@ export declare interface BreakpointProps {
|
|
|
114
114
|
size: DefaultBreakpoints;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export declare function BreakpointSwitch({ children
|
|
117
|
+
export declare function BreakpointSwitch({ children }: BreakpointSwitchProps): JSX.Element;
|
|
118
118
|
|
|
119
119
|
export declare interface BreakpointSwitchProps {
|
|
120
120
|
/** List of `Breakpoint` components */
|
|
@@ -201,7 +201,7 @@ export declare interface Color {
|
|
|
201
201
|
name?: string;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
export declare function ColorPicker({ color: externalColor, onChange, palette, isAlphaEnabled, hideHSVSelector, hideFlyoutInputs, isDisabled, id, buttonRef: externalButtonRef, inputRef: externalInputRef, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, zIndex, 'data-testid': dataTestId, }: ColorPickerProps):
|
|
204
|
+
export declare function ColorPicker({ color: externalColor, onChange, palette, isAlphaEnabled, hideHSVSelector, hideFlyoutInputs, isDisabled, id, buttonRef: externalButtonRef, inputRef: externalInputRef, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, zIndex, 'data-testid': dataTestId, }: ColorPickerProps): JSX.Element;
|
|
205
205
|
|
|
206
206
|
export declare interface ColorPickerProps {
|
|
207
207
|
color: Color;
|
|
@@ -1757,7 +1757,7 @@ export declare interface PopoverProps extends Omit<React_2.AllHTMLAttributes<HTM
|
|
|
1757
1757
|
[prop: string]: any;
|
|
1758
1758
|
}
|
|
1759
1759
|
|
|
1760
|
-
export declare const PortalTargetProvider: ({ target, children, }: PortalTargetProviderProps) =>
|
|
1760
|
+
export declare const PortalTargetProvider: ({ target, children, }: PortalTargetProviderProps) => JSX.Element;
|
|
1761
1761
|
|
|
1762
1762
|
export declare interface PortalTargetProviderProps {
|
|
1763
1763
|
target?: HTMLElement | null;
|
|
@@ -2087,6 +2087,8 @@ export declare interface UIProviderProps {
|
|
|
2087
2087
|
|
|
2088
2088
|
export declare function useBreakpoints<T extends Record<string, number> | undefined = undefined>(breakpoints?: T, unit?: 'em' | 'px'): T extends Record<string, number> ? Record<keyof T, boolean> : Record<DefaultBreakpoints, boolean>;
|
|
2089
2089
|
|
|
2090
|
+
export declare const useIsTruncated: (target: React.RefObject<HTMLElement> | null) => boolean;
|
|
2091
|
+
|
|
2090
2092
|
export declare function useResponsiveValue<V, C = typeof DEFAULT_BREAKPOINTS>(values: {
|
|
2091
2093
|
[K in keyof V]: K extends keyof C ? V[K] : never;
|
|
2092
2094
|
}, breakpoints?: C, unit?: 'em' | 'px'): V[keyof V];
|
package/dist/index.es.js
CHANGED
|
@@ -3,6 +3,7 @@ import './hooks/index.js';
|
|
|
3
3
|
export { DEFAULT_BREAKPOINTS } from './utils/constants.js';
|
|
4
4
|
export { default as useBreakpoints } from './hooks/useBreakpoints/useBreakpoints.js';
|
|
5
5
|
export { default as useResponsiveValue } from './hooks/useResponsiveValue/useResponsiveValue.js';
|
|
6
|
+
export { default as useIsTruncated } from './hooks/useIsTruncated/useIsTruncated.js';
|
|
6
7
|
export { Accordion } from './components/Accordion/Accordion.js';
|
|
7
8
|
export { AccordionSection } from './components/Accordion/AccordionSection.js';
|
|
8
9
|
export { AccordionHeader } from './components/Accordion/AccordionHeader.js';
|
|
@@ -101,6 +102,6 @@ export { default as deprecated_ToolbarPanel } from './components/deprecated_Tool
|
|
|
101
102
|
|
|
102
103
|
/* eslint-disable camelcase */
|
|
103
104
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
104
|
-
const version = '2.
|
|
105
|
+
const version = '2.25.0';
|
|
105
106
|
|
|
106
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-610a1e02.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('./__shared/cjs/index-
|
|
8
|
+
require('./__shared/cjs/index-5b3b3406.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.25.0';
|
|
23
23
|
|
|
24
24
|
exports.Accordion = index.Accordion;
|
|
25
25
|
exports.AccordionHeader = index.AccordionHeader;
|
|
@@ -124,5 +124,6 @@ exports.deprecated_ToolbarPanels = index.ToolbarPanels;
|
|
|
124
124
|
exports.deprecated_ToolbarTab = index.ToolbarTab;
|
|
125
125
|
exports.deprecated_ToolbarTabs = index.ToolbarTabs;
|
|
126
126
|
exports.useBreakpoints = index.useBreakpoints;
|
|
127
|
+
exports.useIsTruncated = index.useIsTruncated;
|
|
127
128
|
exports.useResponsiveValue = index.useResponsiveValue;
|
|
128
129
|
exports.version = version;
|
|
@@ -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 = "._XLrxO{overflow:auto;position:relative;max-width:100%;max-height:100%}._B10Xi,._XLrxO{background-color:#fff}._B10Xi{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._6Lrkh{margin-bottom:4px}._tUuUA{position:-webkit-sticky;position:sticky;top:0;z-index:100}._RJZ5K{display:flex}._RJZ5K:focus{outline:none}._RJZ5K.focus-visible ._emEqO:after,._RJZ5K:focus-visible ._emEqO: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}._RJZ5K.focus-visible ._emEqO:last-of-type:after,._RJZ5K:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RJZ5K.focus-visible ._emEqO:first-of-type:after,._RJZ5K:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RJZ5K.focus-visible ._emEqO._MIMNv:after,._RJZ5K:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:1px}._BZpvE{padding-right:3px}._RgYrf{display:flex}._RgYrf._UVZyy ._emEqO,._RgYrf._UVZyy ._IDnsP{cursor:pointer}._RgYrf._dr-n4 ._emEqO,._RgYrf._dr-n4 ._IDnsP{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._RgYrf._dr-n4 ._emEqO._MIMNv,._RgYrf._dr-n4 ._IDnsP._MIMNv{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._RgYrf._dr-n4 ._emEqO._MIMNv ._IDnsP,._RgYrf._dr-n4 ._emEqO._MIMNv ._IK1gY,._RgYrf._dr-n4 ._emEqO._MIMNv ._Z1s-8,._RgYrf._dr-n4 ._IDnsP._MIMNv ._IDnsP,._RgYrf._dr-n4 ._IDnsP._MIMNv ._IK1gY,._RgYrf._dr-n4 ._IDnsP._MIMNv ._Z1s-8{background-color:rgba(11,110,208,.08)}._RgYrf._UVZyy:hover:not(._dr-n4) ._emEqO,._RgYrf._UVZyy:hover:not(._dr-n4) ._IDnsP{background-color:#f9f9f9}._RgYrf._UVZyy:active:not(._dr-n4)[\\:not-has\\(._IK1gY\\:active\\)] ._emEqO,._RgYrf._UVZyy:active:not(._dr-n4)[\\:not-has\\(._IK1gY\\:active\\)] ._IDnsP{background-color:#f3f3f3}._RgYrf._UVZyy:active:not(._dr-n4):not(._RgYrf._UVZyy:active:not(._dr-n4):has(._IK1gY:active)) ._emEqO,._RgYrf._UVZyy:active:not(._dr-n4):not(._RgYrf._UVZyy:active:not(._dr-n4):has(._IK1gY:active)) ._IDnsP{background-color:#f3f3f3}._RgYrf:focus{outline:none}._RgYrf.focus-visible ._emEqO:after,._RgYrf:focus-visible ._emEqO: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}._RgYrf.focus-visible ._emEqO:last-of-type:after,._RgYrf:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf.focus-visible ._emEqO:first-of-type:after,._RgYrf:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf.focus-visible ._emEqO._MIMNv:after,._RgYrf:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:0}._RgYrf:last-of-type:focus{outline:none}._RgYrf:last-of-type.focus-visible ._emEqO:after,._RgYrf:last-of-type:focus-visible ._emEqO: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}._RgYrf:last-of-type.focus-visible ._emEqO:last-of-type:after,._RgYrf:last-of-type:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf:last-of-type.focus-visible ._emEqO:first-of-type:after,._RgYrf:last-of-type:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf:last-of-type.focus-visible ._emEqO._MIMNv:after,._RgYrf:last-of-type:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:1px}._RgYrf:last-of-type ._Z1s-8:focus{outline:none}._RgYrf:last-of-type ._Z1s-8._-Wbvz.focus-visible:after,._RgYrf:last-of-type ._Z1s-8._-Wbvz:focus-visible:after,._RgYrf:last-of-type ._Z1s-8.focus-visible:after,._RgYrf:last-of-type ._Z1s-8: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}._RgYrf:first-of-type:focus{outline:none}._RgYrf:first-of-type.focus-visible ._emEqO:after,._RgYrf:first-of-type:focus-visible ._emEqO: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}._RgYrf:first-of-type.focus-visible ._emEqO:last-of-type:after,._RgYrf:first-of-type:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf:first-of-type.focus-visible ._emEqO:first-of-type:after,._RgYrf:first-of-type:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf:first-of-type.focus-visible ._emEqO._MIMNv:after,._RgYrf:first-of-type:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:0}._RgYrf:first-of-type ._Z1s-8:focus{outline:none}._RgYrf:first-of-type ._Z1s-8._-Wbvz.focus-visible:after,._RgYrf:first-of-type ._Z1s-8._-Wbvz:focus-visible:after,._RgYrf:first-of-type ._Z1s-8.focus-visible:after,._RgYrf:first-of-type ._Z1s-8: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}._-rIFE{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}._-rIFE._sHukS{flex-grow:1}._-rIFE._YCbKv{cursor:pointer}._-rIFE._YCbKv:hover:not(._6XuZm){background-color:#f9f9f9;border-bottom-color:#6a6d70}._-rIFE._YCbKv:active:not(._6XuZm){background-color:#f3f3f3}._-rIFE._btc1W:not(._6XuZm){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._-rIFE._6XuZm{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._-rIFE ._BGfCg{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._-rIFE ._BGfCg._I-1M9{left:-1px}._-rIFE ._BGfCg._1DzLK{right:0}._-rIFE ._kbhqO{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._-rIFE ._kbhqO._I-1M9{left:-2px}._-rIFE ._kbhqO._1DzLK{right:-1px}._-rIFE:first-of-type ._I-1M9._BGfCg{left:0;width:2px;border-left:1px solid #fff}._-rIFE:first-of-type ._I-1M9._kbhqO{left:0}._-rIFE:last-of-type ._1DzLK._BGfCg{right:0;width:2px;border-right:1px solid #fff}._-rIFE:last-of-type ._1DzLK._kbhqO{right:0}._-rIFE ._jcoB8{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._-rIFE ._jcoB8 ._NJaGa{position:absolute;width:2px;right:2px;top:0;bottom:0}._-rIFE ._jcoB8 ._NJaGa._TDlFD{background-color:#0a6ed1}._-rIFE ._jcoB8:hover ._NJaGa:not(._TDlFD){background-color:#d9d9d9}._-rIFE ._hmV2T{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._-rIFE ._hmV2T._szN8q{flex-direction:row-reverse;justify-content:flex-start}._-rIFE ._hmV2T._szN8q ._TDaC6{margin:1px 7px 1px 1px}._-rIFE ._hmV2T ._LRDDY{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._-rIFE ._hmV2T ._TDaC6{margin:1px 1px 1px 7px;flex-shrink:0}._-rIFE ._iJXYL{margin-left:6px;margin-right:4px;flex-shrink:0}._-rIFE ._4NBuh{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._-rIFE:focus{outline:none}._-rIFE._-Wbvz.focus-visible:after,._-rIFE._-Wbvz:focus-visible:after,._-rIFE.focus-visible:after,._-rIFE: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}._-6p7E{margin-right:6px}._MIMNv{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._MIMNv[focus-within]{z-index:30}._MIMNv:focus-within{z-index:30}._Z1s-8{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}._Z1s-8 ._zkwgB{width:100%;padding:12px 12px 11px;overflow:hidden}._Z1s-8._6XuZm{background-color:#efefef;border-bottom-color:#dfdfe1}._Z1s-8._sHukS{flex-grow:1}._Z1s-8:focus{outline:none}._Z1s-8._-Wbvz.focus-visible:after,._Z1s-8._-Wbvz:focus-visible:after,._Z1s-8.focus-visible:after,._Z1s-8: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}._IDnsP{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._IDnsP._4uXbD{border-bottom-color:#d9d9d9;background-color:#fff}._IK1gY{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}._IK1gY._4uXbD{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._IK1gY:focus input~span,._IK1gY:hover input~span{border-color:#0b6ed0}._IK1gY ._loWEJ{position:relative;display:inline-flex}._IK1gY ._loWEJ ._RZzpO{margin:0!important}._IK1gY ._loWEJ ._3kyKA{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._iet0L{justify-content:flex-start}._2HYkh{justify-content:center;text-align:center}._szN8q{justify-content:flex-end;text-align:right}._Jg5-k{display:none}._5TH-E{opacity:0;height:0;width:0;overflow:hidden}._5TH-E,._a1dhE{position:absolute}._a1dhE{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._iCIyt{width:246px}";
|
|
4
|
+
var styles = {"advancedTable":"_XLrxO","advancedTablePaginationContainer":"_B10Xi","advancedTablePagination":"_6Lrkh","advancedTableColumnHeadersRowGroup":"_tUuUA","advancedTableColumnHeaders":"_RJZ5K","advancedTableRowChild":"_emEqO","pinnedContainer":"_MIMNv","advancedTableRowGroup":"_BZpvE","advancedTableRow":"_RgYrf","hasRowAction":"_UVZyy","advancedTableExpandRowSpacer":"_IDnsP","isSelected":"_dr-n4","advancedTableCheckbox":"_IK1gY","advancedTableCell":"_Z1s-8","showFocusRing":"_-Wbvz","advancedTableColumnHeader":"_-rIFE","fillRemainingSpace":"_sHukS","isSortable":"_YCbKv","isDragging":"_6XuZm","isSorted":"_btc1W","dropTargetLine":"_BGfCg","dropTargetLeft":"_I-1M9","dropTargetRight":"_1DzLK","dropTargetMarker":"_kbhqO","resizeHandle":"_jcoB8","resizeLine":"_NJaGa","isResizing":"_TDlFD","advancedTableColumnHeaderLabel":"_hmV2T","rightAligned":"_szN8q","sortIcon":"_TDaC6","advancedTableColumnHeaderLabelText":"_LRDDY","advancedTableColumnHeaderMenu":"_iJXYL","advancedTableColumnHeaderMenuHiddenAnchor":"_4NBuh","advancedTableColumnHeaderMenuItemIcon":"_-6p7E","advancedTableCellContainer":"_zkwgB","header":"_4uXbD","checkboxContainer":"_loWEJ","checkbox":"_RZzpO","mixed":"_3kyKA","leftAligned":"_iet0L","centerAligned":"_2HYkh","hiddenDescription":"_Jg5-k","hiddenLiveRegion":"_5TH-E","dragPreview":"_a1dhE","rowActionMenuPane":"_iCIyt"};
|
|
5
|
+
var stylesheet="._XLrxO{overflow:auto;position:relative;max-width:100%;max-height:100%}._B10Xi,._XLrxO{background-color:#fff}._B10Xi{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._6Lrkh{margin-bottom:4px}._tUuUA{position:-webkit-sticky;position:sticky;top:0;z-index:100}._RJZ5K{display:flex}._RJZ5K:focus{outline:none}._RJZ5K.focus-visible ._emEqO:after,._RJZ5K:focus-visible ._emEqO: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}._RJZ5K.focus-visible ._emEqO:last-of-type:after,._RJZ5K:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RJZ5K.focus-visible ._emEqO:first-of-type:after,._RJZ5K:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RJZ5K.focus-visible ._emEqO._MIMNv:after,._RJZ5K:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:1px}._BZpvE{padding-right:3px}._RgYrf{display:flex}._RgYrf._UVZyy ._emEqO,._RgYrf._UVZyy ._IDnsP{cursor:pointer}._RgYrf._dr-n4 ._emEqO,._RgYrf._dr-n4 ._IDnsP{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._RgYrf._dr-n4 ._emEqO._MIMNv,._RgYrf._dr-n4 ._IDnsP._MIMNv{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._RgYrf._dr-n4 ._emEqO._MIMNv ._IDnsP,._RgYrf._dr-n4 ._emEqO._MIMNv ._IK1gY,._RgYrf._dr-n4 ._emEqO._MIMNv ._Z1s-8,._RgYrf._dr-n4 ._IDnsP._MIMNv ._IDnsP,._RgYrf._dr-n4 ._IDnsP._MIMNv ._IK1gY,._RgYrf._dr-n4 ._IDnsP._MIMNv ._Z1s-8{background-color:rgba(11,110,208,.08)}._RgYrf._UVZyy:hover:not(._dr-n4) ._emEqO,._RgYrf._UVZyy:hover:not(._dr-n4) ._IDnsP{background-color:#f9f9f9}._RgYrf._UVZyy:active:not(._dr-n4)[\\:not-has\\(._IK1gY\\:active\\)] ._emEqO,._RgYrf._UVZyy:active:not(._dr-n4)[\\:not-has\\(._IK1gY\\:active\\)] ._IDnsP{background-color:#f3f3f3}._RgYrf._UVZyy:active:not(._dr-n4):not(._RgYrf._UVZyy:active:not(._dr-n4):has(._IK1gY:active)) ._emEqO,._RgYrf._UVZyy:active:not(._dr-n4):not(._RgYrf._UVZyy:active:not(._dr-n4):has(._IK1gY:active)) ._IDnsP{background-color:#f3f3f3}._RgYrf:focus{outline:none}._RgYrf.focus-visible ._emEqO:after,._RgYrf:focus-visible ._emEqO: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}._RgYrf.focus-visible ._emEqO:last-of-type:after,._RgYrf:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf.focus-visible ._emEqO:first-of-type:after,._RgYrf:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf.focus-visible ._emEqO._MIMNv:after,._RgYrf:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:0}._RgYrf:last-of-type:focus{outline:none}._RgYrf:last-of-type.focus-visible ._emEqO:after,._RgYrf:last-of-type:focus-visible ._emEqO: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}._RgYrf:last-of-type.focus-visible ._emEqO:last-of-type:after,._RgYrf:last-of-type:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf:last-of-type.focus-visible ._emEqO:first-of-type:after,._RgYrf:last-of-type:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf:last-of-type.focus-visible ._emEqO._MIMNv:after,._RgYrf:last-of-type:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:1px}._RgYrf:last-of-type ._Z1s-8:focus{outline:none}._RgYrf:last-of-type ._Z1s-8._-Wbvz.focus-visible:after,._RgYrf:last-of-type ._Z1s-8._-Wbvz:focus-visible:after,._RgYrf:last-of-type ._Z1s-8.focus-visible:after,._RgYrf:last-of-type ._Z1s-8: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}._RgYrf:first-of-type:focus{outline:none}._RgYrf:first-of-type.focus-visible ._emEqO:after,._RgYrf:first-of-type:focus-visible ._emEqO: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}._RgYrf:first-of-type.focus-visible ._emEqO:last-of-type:after,._RgYrf:first-of-type:focus-visible ._emEqO:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._RgYrf:first-of-type.focus-visible ._emEqO:first-of-type:after,._RgYrf:first-of-type:focus-visible ._emEqO:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._RgYrf:first-of-type.focus-visible ._emEqO._MIMNv:after,._RgYrf:first-of-type:focus-visible ._emEqO._MIMNv:after{right:-3px;bottom:0}._RgYrf:first-of-type ._Z1s-8:focus{outline:none}._RgYrf:first-of-type ._Z1s-8._-Wbvz.focus-visible:after,._RgYrf:first-of-type ._Z1s-8._-Wbvz:focus-visible:after,._RgYrf:first-of-type ._Z1s-8.focus-visible:after,._RgYrf:first-of-type ._Z1s-8: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}._-rIFE{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}._-rIFE._sHukS{flex-grow:1}._-rIFE._YCbKv{cursor:pointer}._-rIFE._YCbKv:hover:not(._6XuZm){background-color:#f9f9f9;border-bottom-color:#6a6d70}._-rIFE._YCbKv:active:not(._6XuZm){background-color:#f3f3f3}._-rIFE._btc1W:not(._6XuZm){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._-rIFE._6XuZm{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._-rIFE ._BGfCg{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._-rIFE ._BGfCg._I-1M9{left:-1px}._-rIFE ._BGfCg._1DzLK{right:0}._-rIFE ._kbhqO{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._-rIFE ._kbhqO._I-1M9{left:-2px}._-rIFE ._kbhqO._1DzLK{right:-1px}._-rIFE:first-of-type ._I-1M9._BGfCg{left:0;width:2px;border-left:1px solid #fff}._-rIFE:first-of-type ._I-1M9._kbhqO{left:0}._-rIFE:last-of-type ._1DzLK._BGfCg{right:0;width:2px;border-right:1px solid #fff}._-rIFE:last-of-type ._1DzLK._kbhqO{right:0}._-rIFE ._jcoB8{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._-rIFE ._jcoB8 ._NJaGa{position:absolute;width:2px;right:2px;top:0;bottom:0}._-rIFE ._jcoB8 ._NJaGa._TDlFD{background-color:#0a6ed1}._-rIFE ._jcoB8:hover ._NJaGa:not(._TDlFD){background-color:#d9d9d9}._-rIFE ._hmV2T{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._-rIFE ._hmV2T._szN8q{flex-direction:row-reverse;justify-content:flex-start}._-rIFE ._hmV2T._szN8q ._TDaC6{margin:1px 7px 1px 1px}._-rIFE ._hmV2T ._LRDDY{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._-rIFE ._hmV2T ._TDaC6{margin:1px 1px 1px 7px;flex-shrink:0}._-rIFE ._iJXYL{margin-left:6px;margin-right:4px;flex-shrink:0}._-rIFE ._4NBuh{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._-rIFE:focus{outline:none}._-rIFE._-Wbvz.focus-visible:after,._-rIFE._-Wbvz:focus-visible:after,._-rIFE.focus-visible:after,._-rIFE: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}._-6p7E{margin-right:6px}._MIMNv{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._MIMNv[focus-within]{z-index:30}._MIMNv:focus-within{z-index:30}._Z1s-8{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}._Z1s-8 ._zkwgB{width:100%;padding:12px 12px 11px;overflow:hidden}._Z1s-8._6XuZm{background-color:#efefef;border-bottom-color:#dfdfe1}._Z1s-8._sHukS{flex-grow:1}._Z1s-8:focus{outline:none}._Z1s-8._-Wbvz.focus-visible:after,._Z1s-8._-Wbvz:focus-visible:after,._Z1s-8.focus-visible:after,._Z1s-8: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}._IDnsP{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._IDnsP._4uXbD{border-bottom-color:#d9d9d9;background-color:#fff}._IK1gY{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}._IK1gY._4uXbD{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._IK1gY:focus input~span,._IK1gY:hover input~span{border-color:#0b6ed0}._IK1gY ._loWEJ{position:relative;display:inline-flex}._IK1gY ._loWEJ ._RZzpO{margin:0!important}._IK1gY ._loWEJ ._3kyKA{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._iet0L{justify-content:flex-start}._2HYkh{justify-content:center;text-align:center}._szN8q{justify-content:flex-end;text-align:right}._Jg5-k{display:none}._5TH-E{opacity:0;height:0;width:0;overflow:hidden}._5TH-E,._a1dhE{position:absolute}._a1dhE{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._iCIyt{width:246px}";
|
|
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 };
|
|
@@ -13,7 +13,9 @@ const AdvancedTableCheckbox = _ref => {
|
|
|
13
13
|
state,
|
|
14
14
|
onClick,
|
|
15
15
|
variant = 'cell',
|
|
16
|
-
isRowFocused
|
|
16
|
+
isRowFocused,
|
|
17
|
+
className,
|
|
18
|
+
isDisabled
|
|
17
19
|
} = _ref;
|
|
18
20
|
const {
|
|
19
21
|
translate
|
|
@@ -34,7 +36,7 @@ const AdvancedTableCheckbox = _ref => {
|
|
|
34
36
|
}, [isRowFocused, announceToScreenReader, label]);
|
|
35
37
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
36
38
|
onClick: onClick,
|
|
37
|
-
className: classNames(styles.advancedTableCheckbox, {
|
|
39
|
+
className: classNames(styles.advancedTableCheckbox, className, {
|
|
38
40
|
[styles.header]: variant === 'header'
|
|
39
41
|
}),
|
|
40
42
|
role: "presentation"
|
|
@@ -42,7 +44,8 @@ const AdvancedTableCheckbox = _ref => {
|
|
|
42
44
|
className: styles.checkboxContainer
|
|
43
45
|
}, /*#__PURE__*/React__default.createElement(VisualCheckbox, {
|
|
44
46
|
className: styles.checkbox,
|
|
45
|
-
checked: state === 'true'
|
|
47
|
+
checked: state === 'true',
|
|
48
|
+
disabled: isDisabled
|
|
46
49
|
}), state === 'mixed' && /*#__PURE__*/React__default.createElement("div", {
|
|
47
50
|
className: styles.mixed
|
|
48
51
|
})));
|
|
@@ -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 = "._9eges{display:inline-block;width:36px;transition:width .25s ease-out}._Pv368{width:100%}._mBNFa>input{padding-right:0!important}._tnxZ0>svg{fill:#515559}";
|
|
4
|
+
var styles = {"collapsibleSearchInput":"_9eges","searchInput":"_Pv368","searchInputCollapsed":"_mBNFa","iconButton":"_tnxZ0"};
|
|
5
|
+
var stylesheet="._9eges{display:inline-block;width:36px;transition:width .25s ease-out}._Pv368{width:100%}._mBNFa>input{padding-right:0!important}._tnxZ0>svg{fill:#515559}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -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 = "._cp947 :after{background-color:#515559!important}._ujjjX>input:focus{box-shadow:none!important;border:1px solid #898989!important}._dqRZX{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}._dqRZX ._fiiAS ._Hx3Ix{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}._dqRZX ._fiiAS:first-child ._brnAc{display:none}._dqRZX ._AbT11{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._dqRZX ._AbT11:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._dqRZX ._AbT11:hover._cbqy2{background-color:#e4effa}._dqRZX ._AbT11._cbqy2{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._dqRZX ._AbT11:active:not(._cbqy2){background-color:#e8e9e9}";
|
|
4
|
+
var styles = {"loadingSpinner":"_cp947","ignoreFocusStyle":"_ujjjX","flyout":"_dqRZX","group":"_fiiAS","header":"_Hx3Ix","divider":"_brnAc","option":"_AbT11","selected":"_cbqy2"};
|
|
5
|
+
var stylesheet="._cp947 :after{background-color:#515559!important}._ujjjX>input:focus{box-shadow:none!important;border:1px solid #898989!important}._dqRZX{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}._dqRZX ._fiiAS ._Hx3Ix{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}._dqRZX ._fiiAS:first-child ._brnAc{display:none}._dqRZX ._AbT11{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._dqRZX ._AbT11:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._dqRZX ._AbT11:hover._cbqy2{background-color:#e4effa}._dqRZX ._AbT11._cbqy2{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._dqRZX ._AbT11:active:not(._cbqy2){background-color:#e8e9e9}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"drawer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._Qteuj{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._-ET4f{visibility:hidden}._8egja{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._CMPTJ{padding-top:8px}._c64Qn{margin-left:12px}";
|
|
4
|
+
var styles = {"drawer":"_Qteuj","hidden":"_-ET4f","header":"_8egja","title":"_CMPTJ","closeButton":"_c64Qn"};
|
|
5
|
+
var stylesheet="._Qteuj{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._-ET4f{visibility:hidden}._8egja{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._CMPTJ{padding-top:8px}._c64Qn{margin-left:12px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"button":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._m5ztD{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}._m5ztD:hover:not(._aZl-s){background-color:rgba(50,54,58,.08)}._m5ztD:hover:not(._aZl-s)._fwwx7{border-color:#085caf;background-color:rgba(11,110,208,.04)}._m5ztD:hover:not(._aZl-s)._fwwx7 ._748kD{color:#32363a}._m5ztD:hover:not(._aZl-s)._fwwx7 ._Sr5--{fill:#32363a}._m5ztD:hover:not(._aZl-s)._fwwx7 ._GwLBi{fill:#085caf}._m5ztD:hover:not(._aZl-s)._fwwx7 ._whzW2{background-color:rgba(11,110,208,.11)}._m5ztD:hover:not(._aZl-s)._fwwx7 ._whzW2 ._a-qvX{color:#085caf}._m5ztD:active:not(._aZl-s){background-color:#e8e9e9}._m5ztD:active:not(._aZl-s)._fwwx7{background-color:rgba(11,110,208,.11);border-color:#0854a1}._m5ztD:active:not(._aZl-s)._fwwx7 ._GwLBi{fill:#0854a1}._m5ztD:active:not(._aZl-s)._fwwx7 ._whzW2{background-color:rgba(11,110,208,.11)}._m5ztD:active:not(._aZl-s)._fwwx7 ._whzW2 ._a-qvX{color:#0854a1}._m5ztD._aZl-s{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._m5ztD._fwwx7{border-color:#0b6ed0}._Sr5--{fill:#515559;margin-right:4px}._748kD{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._748kD+._whzW2{margin-left:6px}._748kD._aZl-s{color:#74777a}._whzW2{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}._a-qvX{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._GwLBi{fill:#515559}._GwLBi._aZl-s,._GwLBi._aZl-s._fwwx7{fill:rgba(116,119,122,.4)}._GwLBi._fwwx7{fill:#0b6ed0}._GwLBi._ilHGO{transform:rotate(-180deg)}._m5ztD.focus-visible,._m5ztD:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"button":"_m5ztD","disabled":"_aZl-s","selected":"_fwwx7","label":"_748kD","lockIcon":"_Sr5--","chevronIcon":"_GwLBi","selectedFiltersContainer":"_whzW2","selectedFilters":"_a-qvX","open":"_ilHGO"};
|
|
5
|
+
var stylesheet="._m5ztD{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}._m5ztD:hover:not(._aZl-s){background-color:rgba(50,54,58,.08)}._m5ztD:hover:not(._aZl-s)._fwwx7{border-color:#085caf;background-color:rgba(11,110,208,.04)}._m5ztD:hover:not(._aZl-s)._fwwx7 ._748kD{color:#32363a}._m5ztD:hover:not(._aZl-s)._fwwx7 ._Sr5--{fill:#32363a}._m5ztD:hover:not(._aZl-s)._fwwx7 ._GwLBi{fill:#085caf}._m5ztD:hover:not(._aZl-s)._fwwx7 ._whzW2{background-color:rgba(11,110,208,.11)}._m5ztD:hover:not(._aZl-s)._fwwx7 ._whzW2 ._a-qvX{color:#085caf}._m5ztD:active:not(._aZl-s){background-color:#e8e9e9}._m5ztD:active:not(._aZl-s)._fwwx7{background-color:rgba(11,110,208,.11);border-color:#0854a1}._m5ztD:active:not(._aZl-s)._fwwx7 ._GwLBi{fill:#0854a1}._m5ztD:active:not(._aZl-s)._fwwx7 ._whzW2{background-color:rgba(11,110,208,.11)}._m5ztD:active:not(._aZl-s)._fwwx7 ._whzW2 ._a-qvX{color:#0854a1}._m5ztD._aZl-s{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._m5ztD._fwwx7{border-color:#0b6ed0}._Sr5--{fill:#515559;margin-right:4px}._748kD{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._748kD+._whzW2{margin-left:6px}._748kD._aZl-s{color:#74777a}._whzW2{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}._a-qvX{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._GwLBi{fill:#515559}._GwLBi._aZl-s,._GwLBi._aZl-s._fwwx7{fill:rgba(116,119,122,.4)}._GwLBi._fwwx7{fill:#0b6ed0}._GwLBi._ilHGO{transform:rotate(-180deg)}._m5ztD.focus-visible,._m5ztD:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var inputClasses = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._jyJDP{position:relative;display:inline-block;height:36px}._D5DoN{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}._D5DoN:hover{cursor:pointer;background-color:#f5f5f5}._D5DoN:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._D5DoN:disabled,._D5DoN[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._D5DoN:disabled::-moz-placeholder,._D5DoN[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._D5DoN:disabled::placeholder,._D5DoN[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._D5DoN:invalid,._D5DoN[aria-invalid=true]{border-color:#b00}._D5DoN:invalid:focus,._D5DoN[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._D5DoN[type=number]{-moz-appearance:textfield}._D5DoN[type=number]::-webkit-inner-spin-button,._D5DoN[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._D5DoN::-moz-placeholder{color:#515559;opacity:1}._D5DoN::placeholder{color:#515559;opacity:1}._du0tJ{pointer-events:none;color:#515559;fill:#515559}._f02ri{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._utFGg{color:#515559;font-size:16px}._ZEkot{left:0;margin-left:6px}._wm8FI,._ZEkot{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._wm8FI{right:0;margin-right:6px}";
|
|
4
|
+
var inputClasses = {"container":"_jyJDP","input":"_D5DoN","addOn":"_du0tJ","addOnVerticalCenter":"_f02ri","addOnTextNode":"_utFGg","leftAddOn":"_ZEkot","rightAddOn":"_wm8FI"};
|
|
5
|
+
var stylesheet="._jyJDP{position:relative;display:inline-block;height:36px}._D5DoN{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}._D5DoN:hover{cursor:pointer;background-color:#f5f5f5}._D5DoN:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._D5DoN:disabled,._D5DoN[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._D5DoN:disabled::-moz-placeholder,._D5DoN[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._D5DoN:disabled::placeholder,._D5DoN[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._D5DoN:invalid,._D5DoN[aria-invalid=true]{border-color:#b00}._D5DoN:invalid:focus,._D5DoN[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._D5DoN[type=number]{-moz-appearance:textfield}._D5DoN[type=number]::-webkit-inner-spin-button,._D5DoN[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._D5DoN::-moz-placeholder{color:#515559;opacity:1}._D5DoN::placeholder{color:#515559;opacity:1}._du0tJ{pointer-events:none;color:#515559;fill:#515559}._f02ri{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._utFGg{color:#515559;font-size:16px}._ZEkot{left:0;margin-left:6px}._wm8FI,._ZEkot{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._wm8FI{right:0;margin-right:6px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { inputClasses as default, stylesheet };
|
package/dist/next/Menu/Menu.js
CHANGED
|
@@ -21,6 +21,7 @@ const Menu = _ref => {
|
|
|
21
21
|
}
|
|
22
22
|
const [open, setOpen] = useControllableState(isOpen, onIsOpenChange, isOpen);
|
|
23
23
|
const [maskHeight, setMaskHeight] = useState(null);
|
|
24
|
+
const [maskWidth, setMaskWidth] = useState(null);
|
|
24
25
|
const [submenus, setSubmenus] = useState(new Set());
|
|
25
26
|
const triggerRef = useRef(null);
|
|
26
27
|
const registerSubmenu = (submenuId, submenuIsOpen) => {
|
|
@@ -47,7 +48,9 @@ const Menu = _ref => {
|
|
|
47
48
|
open,
|
|
48
49
|
triggerRef,
|
|
49
50
|
searchBarConfigs,
|
|
50
|
-
setSearchBarConfigs
|
|
51
|
+
setSearchBarConfigs,
|
|
52
|
+
maskWidth,
|
|
53
|
+
setMaskWidth
|
|
51
54
|
}
|
|
52
55
|
}, /*#__PURE__*/React__default.createElement(Root, {
|
|
53
56
|
open: open,
|
package/dist/next/Menu/Menu2.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 = {"buttonContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._OOjwY{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._OOjwY>._MJORL{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._OOjwY>._MJORL:hover:not([aria-disabled=true]){background-color:#f5f5f5}._OOjwY>._MJORL.focus-visible,._OOjwY>._MJORL:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._OOjwY>._MJORL+._9F5ii{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._OOjwY>._MJORL[data-state=open]+._9F5ii{transform:rotate(-180deg) translateY(50%)}._OOjwY>._MJORL[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._OOjwY>._MJORL[aria-disabled=true]+._9F5ii{fill:#515559;opacity:.4}._eyhD7>[data-radix-popper-content-wrapper]{overflow:hidden;background-color:#fff;max-width:350px;min-width:200px!important;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._eyhD7>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._beR38{margin:0;padding:4px 0;background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;overflow:auto;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:350px}._beR38._OGYj7{margin-left:30px;opacity:0}._beR38._fEwts{margin-left:-30px}._36S-T{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._36S-T._qorZv{cursor:unset}._36S-T ._VwLua{fill:#32363a;margin-right:4px}._36S-T:focus,._36S-T:hover:not(._36S-T._qorZv){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._36S-T[aria-disabled=true]{cursor:not-allowed;opacity:.65}._36S-T._rREbu{padding-right:32px}._36S-T._rREbu ._9F5ii{position:absolute;height:100%;right:3px;fill:#515559}._36S-T._7Kqdd{pointer-events:none}._YbkmX{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._YbkmX._owA61{padding-top:49px}._3YM-n{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._ldYt-{position:absolute;background-color:#fff;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;overflow:hidden;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._ldYt-._fEwts{opacity:0}._ldYt-._fEwts>._Cbvl2{margin-left:-30px}._ldYt-._OGYj7{opacity:0}._ldYt-._OGYj7>._Cbvl2{margin-left:30px}._ldYt->._Cbvl2{transition:margin-left .35s;width:100%}._ldYt-._7Kqdd{pointer-events:none}body.keyboard-user ._36S-T:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
4
|
+
var styles = {"buttonContainer":"_OOjwY","button":"_MJORL","rightIcon":"_9F5ii","maskContainer":"_eyhD7","flyout":"_beR38","animatedRight":"_OGYj7","animatedLeft":"_fEwts","menuItem":"_36S-T","noItems":"_qorZv","backIcon":"_VwLua","subMenu":"_rREbu","unresponsive":"_7Kqdd","stickyBox":"_YbkmX","isSearchable":"_owA61","searchBoxesContainer":"_3YM-n","searchBox":"_ldYt-","searchInput":"_Cbvl2"};
|
|
5
|
+
var stylesheet="._OOjwY{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._OOjwY>._MJORL{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._OOjwY>._MJORL:hover:not([aria-disabled=true]){background-color:#f5f5f5}._OOjwY>._MJORL.focus-visible,._OOjwY>._MJORL:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._OOjwY>._MJORL+._9F5ii{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._OOjwY>._MJORL[data-state=open]+._9F5ii{transform:rotate(-180deg) translateY(50%)}._OOjwY>._MJORL[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._OOjwY>._MJORL[aria-disabled=true]+._9F5ii{fill:#515559;opacity:.4}._eyhD7>[data-radix-popper-content-wrapper]{overflow:hidden;background-color:#fff;max-width:350px;min-width:200px!important;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important;width:var(--mask-width);height:var(--mask-height);transition:height .35s,width .35s}._eyhD7>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._beR38{margin:0;padding:4px 0;background:#fff;transition:margin-left .35s,opacity .35s,height .35s,width .35s;opacity:1;overflow:auto;max-width:350px;width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:200px;max-height:350px}._beR38._OGYj7{margin-left:30px;opacity:0}._beR38._fEwts{margin-left:-30px}._36S-T{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._36S-T._qorZv{cursor:unset}._36S-T ._VwLua{fill:#32363a;margin-right:4px}._36S-T:focus,._36S-T:hover:not(._36S-T._qorZv){background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._36S-T[aria-disabled=true]{cursor:not-allowed;opacity:.65}._36S-T._rREbu{padding-right:32px}._36S-T._rREbu ._9F5ii{position:absolute;height:100%;right:3px;fill:#515559}._36S-T._7Kqdd{pointer-events:none}._YbkmX{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._YbkmX._owA61{padding-top:49px}._3YM-n{pointer-events:none;position:fixed;left:0;top:0;transition:width .35s;min-width:200px;width:var(--mask-width);max-width:350px}._ldYt-{position:absolute;background-color:#fff;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;overflow:hidden;opacity:1;width:100%;transition:opacity .35s,margin-left .35s}._ldYt-._fEwts{opacity:0}._ldYt-._fEwts>._Cbvl2{margin-left:-30px}._ldYt-._OGYj7{opacity:0}._ldYt-._OGYj7>._Cbvl2{margin-left:30px}._ldYt->._Cbvl2{transition:margin-left .35s;width:100%}._ldYt-._7Kqdd{pointer-events:none}body.keyboard-user ._36S-T:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|