@qualtrics/ui-react 2.16.0 → 2.18.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 +40 -0
- package/dist/__shared/cjs/{index-74e60b70.js → index-00992312.js} +203 -157
- package/dist/__shared/cjs/{index-8f2648af.js → index-615ed9b2.js} +11 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +6 -54
- package/dist/components/Button/Button2.js +54 -6
- package/dist/components/Button/index.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/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/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/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/Icon/IconTypes.js +2 -0
- 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/LoadingSpinner.js +1 -1
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/ConditionSet.js +4 -5
- package/dist/components/LogicEditor/Controls.js +19 -4
- package/dist/components/LogicEditor/LogicEditor.js +9 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/LogicEditor/utils.js +20 -1
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +9 -7
- 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/Pagination/PaginationNextButton.js +1 -1
- package/dist/components/Pagination/PaginationPreviousButton.js +1 -1
- 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/Tooltip.js +8 -6
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker.js +1 -1
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/components/RecordIcon.js +6 -0
- package/dist/icons/components/StopRecordingIcon.js +6 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.es.js +2 -0
- package/dist/icons/index.js +3 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +2 -2
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -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 +29 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuButton.js +7 -4
- package/dist/next/Menu/MenuContext.js +2 -2
- package/dist/next/Menu/MenuItem.js +36 -5
- package/dist/next/Menu/MenuPane.js +111 -21
- package/dist/next/Menu/MenuSearch.js +29 -35
- package/dist/next/Menu/SubMenu.js +165 -31
- package/dist/next/Menu/constants.js +8 -2
- package/dist/next/Menu/index.js +5 -5
- package/dist/next/Menu/usePaneSearch.js +25 -0
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton.js +1 -1
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/ToggleButton.js +79 -0
- package/dist/next/ToggleButton/ToggleButtonGroup.js +39 -0
- package/dist/next/ToggleButton/ToggleButtonGroupContext.js +9 -0
- package/dist/next/ToggleButton/index.js +2 -0
- package/dist/next/ToggleButton/styles.js +8 -0
- package/dist/next/index.d.ts +28 -0
- package/dist/next/index.es.js +8 -5
- package/dist/next/index.js +651 -250
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +2 -2
- package/next/package.json +2 -2
- package/package.json +4 -4
|
@@ -323,6 +323,7 @@ var IconTypes = {
|
|
|
323
323
|
RageClick: 'RageClick',
|
|
324
324
|
Rainy: 'Rainy',
|
|
325
325
|
RecodedValues: 'RecodedValues',
|
|
326
|
+
Record: 'Record',
|
|
326
327
|
Redo: 'Redo',
|
|
327
328
|
ReferenceBlock: 'ReferenceBlock',
|
|
328
329
|
Refresh: 'Refresh',
|
|
@@ -384,6 +385,7 @@ var IconTypes = {
|
|
|
384
385
|
StarOutlined: 'StarOutlined',
|
|
385
386
|
StarRanking: 'StarRanking',
|
|
386
387
|
StatsAnalysis: 'StatsAnalysis',
|
|
388
|
+
StopRecording: 'StopRecording',
|
|
387
389
|
Stormy: 'Stormy',
|
|
388
390
|
StrategicAccounts: 'StrategicAccounts',
|
|
389
391
|
Student: 'Student',
|
|
@@ -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 = "._1IcB_{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._1IcB_:focus{outline:none}._1IcB_:hover:not(._3MnNf){background-color:rgba(50,54,58,.08)}._1IcB_:active:not(._3MnNf){background-color:rgba(50,54,58,.11);stroke-width:2}._1IcB_._3MnNf{cursor:not-allowed;fill:rgba(81,85,89,.6)}body.keyboard-user ._1IcB_:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"button":"_1IcB_","disabled":"_3MnNf"};
|
|
5
|
+
var stylesheet="._1IcB_{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._1IcB_:focus{outline:none}._1IcB_:hover:not(._3MnNf){background-color:rgba(50,54,58,.08)}._1IcB_:active:not(._3MnNf){background-color:rgba(50,54,58,.11);stroke-width:2}._1IcB_._3MnNf{cursor:not-allowed;fill:rgba(81,85,89,.6)}body.keyboard-user ._1IcB_:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"container":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._1MmFR{display:inline-block}._1qxpQ{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._1qxpQ::-moz-selection{background-color:rgba(11,110,208,.11)}._1qxpQ::selection{background-color:rgba(11,110,208,.11)}._1qxpQ:focus,._1qxpQ:hover{background-color:#f5f5f5}._1qxpQ:focus{border:2px solid #0a3f88;padding:3px}._1qxpQ:focus._1nmX4{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
|
|
4
|
+
var styles = {"container":"_1MmFR","inlineInput":"_1qxpQ","isEditing":"_1nmX4"};
|
|
5
|
+
var stylesheet="._1MmFR{display:inline-block}._1qxpQ{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._1qxpQ::-moz-selection{background-color:rgba(11,110,208,.11)}._1qxpQ::selection{background-color:rgba(11,110,208,.11)}._1qxpQ:focus,._1qxpQ:hover{background-color:#f5f5f5}._1qxpQ:focus{border:2px solid #0a3f88;padding:3px}._1qxpQ:focus._1nmX4{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"input":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._1q8qy{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._1q8qy::-moz-placeholder{color:#515559;opacity:1}._1q8qy::placeholder{color:#515559;opacity:1}._1q8qy:hover{cursor:pointer;background-color:#f5f5f5}._1q8qy:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._1q8qy._2coW2{border-color:#b00}._1q8qy._2coW2:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._1q8qy:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._1q8qy:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._1q8qy:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._1q8qy._1Gy-9{height:auto}._1q8qy._1Gy-9::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._1q8qy._t8Ssw{display:block;width:100%}._1q8qy._FFwI4{padding:4px 8px}input._1q8qy._FFwI4{height:26px;min-height:26px}[type=number]._1q8qy{-moz-appearance:textfield}[type=number]._1q8qy::-webkit-inner-spin-button,[type=number]._1q8qy::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._28TXc{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._28TXc:hover{cursor:pointer}._28TXc._NEbPn{color:#0b6ed0}._3QlbK{margin-top:4px}";
|
|
4
|
+
var styles = {"input":"_1q8qy","invalid":"_2coW2","multiline":"_1Gy-9","full":"_t8Ssw","small":"_FFwI4","label":"_28TXc","focused":"_NEbPn","wrappedInput":"_3QlbK"};
|
|
5
|
+
var stylesheet="._1q8qy{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._1q8qy::-moz-placeholder{color:#515559;opacity:1}._1q8qy::placeholder{color:#515559;opacity:1}._1q8qy:hover{cursor:pointer;background-color:#f5f5f5}._1q8qy:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._1q8qy._2coW2{border-color:#b00}._1q8qy._2coW2:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._1q8qy:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._1q8qy:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._1q8qy:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._1q8qy._1Gy-9{height:auto}._1q8qy._1Gy-9::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._1q8qy._t8Ssw{display:block;width:100%}._1q8qy._FFwI4{padding:4px 8px}input._1q8qy._FFwI4{height:26px;min-height:26px}[type=number]._1q8qy{-moz-appearance:textfield}[type=number]._1q8qy::-webkit-inner-spin-button,[type=number]._1q8qy::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._28TXc{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._28TXc:hover{cursor:pointer}._28TXc._NEbPn{color:#0b6ed0}._3QlbK{margin-top:4px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"addon":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._5CIQh{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._5CIQh._31ZOn{height:26px;min-height:26px;padding:5px 8px}._1or8z{display:flex;align-items:stretch}._1or8z._qHZj8{width:100%}._1or8z ._3ve1a{margin:0;position:relative;flex-shrink:0;z-index:10}._1or8z ._3ve1a:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._1or8z ._3ve1a:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._1or8z ._3ve1a:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._1or8z ._3ve1a:last-child,._1or8z ._3ve1a:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._1or8z ._3ve1a:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._1or8z ._3ve1a._1Z6jp{flex-shrink:1;min-width:40px;z-index:0}._1or8z ._3ve1a._1Z6jp._qHZj8{flex-grow:1}._1or8z ._3ve1a:focus{z-index:20}";
|
|
4
|
+
var styles = {"addon":"_5CIQh","small":"_31ZOn","inputGroup":"_1or8z","full":"_qHZj8","inputGroupElement":"_3ve1a","input":"_1Z6jp"};
|
|
5
|
+
var stylesheet="._5CIQh{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._5CIQh._31ZOn{height:26px;min-height:26px;padding:5px 8px}._1or8z{display:flex;align-items:stretch}._1or8z._qHZj8{width:100%}._1or8z ._3ve1a{margin:0;position:relative;flex-shrink:0;z-index:10}._1or8z ._3ve1a:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._1or8z ._3ve1a:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._1or8z ._3ve1a:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._1or8z ._3ve1a:last-child,._1or8z ._3ve1a:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._1or8z ._3ve1a:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._1or8z ._3ve1a._1Z6jp{flex-shrink:1;min-width:40px;z-index:0}._1or8z ._3ve1a._1Z6jp._qHZj8{flex-grow:1}._1or8z ._3ve1a:focus{z-index:20}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"label":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._QknTR{font-size:14px}._2-T4D{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._1Nw18{color:#0b6ed0}";
|
|
4
|
+
var styles = {"label":"_QknTR","control":"_2-T4D","focused":"_1Nw18"};
|
|
5
|
+
var stylesheet="._QknTR{font-size:14px}._2-T4D{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._1Nw18{color:#0b6ed0}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"link":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._2_iSx{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._2_iSx:active:focus,._2_iSx:focus{outline:none}._2_iSx:visited{color:#0854a1}._2_iSx:hover{color:#085caf}._2_iSx:active{color:#0854a1}body.keyboard-user ._2_iSx:active:focus,body.keyboard-user ._2_iSx:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"link":"_2_iSx"};
|
|
5
|
+
var stylesheet="._2_iSx{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._2_iSx:active:focus,._2_iSx:focus{outline:none}._2_iSx:visited{color:#0854a1}._2_iSx:hover{color:#085caf}._2_iSx:active{color:#0854a1}body.keyboard-user ._2_iSx:active:focus,body.keyboard-user ._2_iSx:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -36,7 +36,7 @@ const LoadingSpinner = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
36
36
|
}),
|
|
37
37
|
"data-loadingspinner": show || undefined,
|
|
38
38
|
role: role,
|
|
39
|
-
"aria-label":
|
|
39
|
+
"aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : ariaLabelledby ? undefined : defaultAriaLabel,
|
|
40
40
|
"aria-labelledby": ariaLabelledby,
|
|
41
41
|
"aria-live": ariaLive,
|
|
42
42
|
"aria-hidden": ariaHidden
|
|
@@ -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 = {"spinnerContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._2GEdQ{position:relative;display:inline-block}._2GEdQ._3f2EV{min-height:20px;min-width:20px}._2GEdQ._1vWli{min-height:25px;min-width:25px}._2GEdQ._-It4N{min-height:40px;min-width:40px}._2GEdQ._3UiZ6{min-height:64px;min-width:64px}._2GEdQ ._9Npx4{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._2GEdQ ._9Npx4._2T5UX{visibility:hidden}._2GEdQ ._9Npx4 div{position:absolute;transform:rotate(20deg)}._2GEdQ ._9Npx4 div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;-webkit-animation:_9Npx4 .8s linear infinite;animation:_9Npx4 .8s linear infinite}._2GEdQ ._9Npx4 div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._2GEdQ ._9Npx4 div div:first-child{transform:rotate(20deg);-webkit-animation-delay:-.8s;animation-delay:-.8s}._2GEdQ ._9Npx4 div div:nth-child(2){transform:rotate(60deg);-webkit-animation-delay:-.7s;animation-delay:-.7s}._2GEdQ ._9Npx4 div div:nth-child(3){transform:rotate(100deg);-webkit-animation-delay:-.6s;animation-delay:-.6s}._2GEdQ ._9Npx4 div div:nth-child(4){transform:rotate(140deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}._2GEdQ ._9Npx4 div div:nth-child(5){transform:rotate(180deg);-webkit-animation-delay:-.4s;animation-delay:-.4s}._2GEdQ ._9Npx4 div div:nth-child(6){transform:rotate(220deg);-webkit-animation-delay:-.3s;animation-delay:-.3s}._2GEdQ ._9Npx4 div div:nth-child(7){transform:rotate(260deg);-webkit-animation-delay:-.2s;animation-delay:-.2s}._2GEdQ ._9Npx4 div div:nth-child(8){transform:rotate(300deg);-webkit-animation-delay:-.1s;animation-delay:-.1s}._2GEdQ ._9Npx4 div div:nth-child(9){transform:rotate(340deg);-webkit-animation-delay:0s;animation-delay:0s}._2GEdQ ._3UiZ6 div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._2GEdQ ._3f2EV div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._2GEdQ ._1vWli div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._2GEdQ ._2UOk6 div div:nth-child(-n+9):after{background:#fff}._2GEdQ ._mTXYt{width:100%;height:100%}._2GEdQ ._mTXYt._ondNL{pointer-events:none}._2GEdQ ._mTXYt._2T5UX{opacity:0}._2GEdQ ._mTXYt._2eOR2{opacity:.5}@-webkit-keyframes _9Npx4{0%{opacity:1}to{opacity:0}}@keyframes _9Npx4{0%{opacity:1}to{opacity:0}}";
|
|
4
|
+
var styles = {"spinnerContainer":"_2GEdQ","xs":"_3f2EV","small":"_1vWli","medium":"_-It4N","large":"_3UiZ6","spinnerComponent":"_9Npx4","hide":"_2T5UX","inverted":"_2UOk6","spinnerContent":"_mTXYt","disablePointerEvents":"_ondNL","fade":"_2eOR2"};
|
|
5
|
+
var stylesheet="._2GEdQ{position:relative;display:inline-block}._2GEdQ._3f2EV{min-height:20px;min-width:20px}._2GEdQ._1vWli{min-height:25px;min-width:25px}._2GEdQ._-It4N{min-height:40px;min-width:40px}._2GEdQ._3UiZ6{min-height:64px;min-width:64px}._2GEdQ ._9Npx4{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._2GEdQ ._9Npx4._2T5UX{visibility:hidden}._2GEdQ ._9Npx4 div{position:absolute;transform:rotate(20deg)}._2GEdQ ._9Npx4 div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;-webkit-animation:_9Npx4 .8s linear infinite;animation:_9Npx4 .8s linear infinite}._2GEdQ ._9Npx4 div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._2GEdQ ._9Npx4 div div:first-child{transform:rotate(20deg);-webkit-animation-delay:-.8s;animation-delay:-.8s}._2GEdQ ._9Npx4 div div:nth-child(2){transform:rotate(60deg);-webkit-animation-delay:-.7s;animation-delay:-.7s}._2GEdQ ._9Npx4 div div:nth-child(3){transform:rotate(100deg);-webkit-animation-delay:-.6s;animation-delay:-.6s}._2GEdQ ._9Npx4 div div:nth-child(4){transform:rotate(140deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}._2GEdQ ._9Npx4 div div:nth-child(5){transform:rotate(180deg);-webkit-animation-delay:-.4s;animation-delay:-.4s}._2GEdQ ._9Npx4 div div:nth-child(6){transform:rotate(220deg);-webkit-animation-delay:-.3s;animation-delay:-.3s}._2GEdQ ._9Npx4 div div:nth-child(7){transform:rotate(260deg);-webkit-animation-delay:-.2s;animation-delay:-.2s}._2GEdQ ._9Npx4 div div:nth-child(8){transform:rotate(300deg);-webkit-animation-delay:-.1s;animation-delay:-.1s}._2GEdQ ._9Npx4 div div:nth-child(9){transform:rotate(340deg);-webkit-animation-delay:0s;animation-delay:0s}._2GEdQ ._3UiZ6 div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._2GEdQ ._3f2EV div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._2GEdQ ._1vWli div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._2GEdQ ._2UOk6 div div:nth-child(-n+9):after{background:#fff}._2GEdQ ._mTXYt{width:100%;height:100%}._2GEdQ ._mTXYt._ondNL{pointer-events:none}._2GEdQ ._mTXYt._2T5UX{opacity:0}._2GEdQ ._mTXYt._2eOR2{opacity:.5}@-webkit-keyframes _9Npx4{0%{opacity:1}to{opacity:0}}@keyframes _9Npx4{0%{opacity:1}to{opacity:0}}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -25,7 +25,6 @@ const ConditionSet = function ConditionSet(_ref) {
|
|
|
25
25
|
} = _ref;
|
|
26
26
|
const {
|
|
27
27
|
fixedSet,
|
|
28
|
-
onDelete,
|
|
29
28
|
onNewLogicItem,
|
|
30
29
|
onSetChange,
|
|
31
30
|
translations,
|
|
@@ -100,16 +99,16 @@ const ConditionSet = function ConditionSet(_ref) {
|
|
|
100
99
|
return getSubDataTestId(rootDataTestId, "".concat(prefix, "-").concat(indices.join('-')));
|
|
101
100
|
}, [fixedSet, rootDataTestId]);
|
|
102
101
|
|
|
103
|
-
function renderControls(itemType, itemPosition, itemIndex, itemLevel, numberOfSetItems) {
|
|
102
|
+
function renderControls(itemType, itemPosition, itemIndex, itemLevel, numberOfSetItems, itemId) {
|
|
104
103
|
return /*#__PURE__*/React__default.createElement(Controls, {
|
|
105
104
|
handleNewLogicItem: handleNewLogicItem,
|
|
106
105
|
level: level,
|
|
107
|
-
onDelete: onDelete,
|
|
108
106
|
itemType: itemType,
|
|
109
107
|
itemPosition: itemPosition,
|
|
110
108
|
itemIndex: itemIndex,
|
|
111
109
|
itemLevel: itemLevel,
|
|
112
110
|
numberOfSetItems: numberOfSetItems,
|
|
111
|
+
itemId: itemId,
|
|
113
112
|
"data-testid": getDataTestId('condition-actions', itemPosition)
|
|
114
113
|
});
|
|
115
114
|
}
|
|
@@ -146,7 +145,7 @@ const ConditionSet = function ConditionSet(_ref) {
|
|
|
146
145
|
position: conditionPosition,
|
|
147
146
|
condition: item,
|
|
148
147
|
firstFocusableElementRef: fixedSet && firstFocusableElementRef && i === 0 ? firstFocusableElementRef : undefined,
|
|
149
|
-
conditionControls: !readOnly ? renderControls(LOGIC_TYPE_CONDITION, conditionPosition, i + 1, level + 1, value.conditions.length) : undefined
|
|
148
|
+
conditionControls: !readOnly ? renderControls(LOGIC_TYPE_CONDITION, conditionPosition, i + 1, level + 1, value.conditions.length, item.id) : undefined
|
|
150
149
|
}));
|
|
151
150
|
}
|
|
152
151
|
|
|
@@ -191,7 +190,7 @@ const ConditionSet = function ConditionSet(_ref) {
|
|
|
191
190
|
}), /*#__PURE__*/React__default.createElement(DropdownOption, {
|
|
192
191
|
value: SET_VALUE_ALL,
|
|
193
192
|
label: String(translations.all)
|
|
194
|
-
}))), !readOnly && renderControls(LOGIC_TYPE_SET, position, index, level, value.conditions.length)), /*#__PURE__*/React__default.createElement("div", {
|
|
193
|
+
}))), !readOnly && renderControls(LOGIC_TYPE_SET, position, index, level, value.conditions.length, value.id)), /*#__PURE__*/React__default.createElement("div", {
|
|
195
194
|
role: "group",
|
|
196
195
|
ref: conditionRef
|
|
197
196
|
}, renderSetChildren()));
|
|
@@ -17,21 +17,23 @@ import RemoveItemIcon from '../../icons/components/RemoveItemIcon.js';
|
|
|
17
17
|
const Controls = function Controls(_ref) {
|
|
18
18
|
let {
|
|
19
19
|
handleNewLogicItem,
|
|
20
|
-
onDelete,
|
|
21
20
|
level,
|
|
22
21
|
itemType,
|
|
23
22
|
itemPosition,
|
|
24
23
|
itemIndex,
|
|
25
24
|
itemLevel,
|
|
25
|
+
itemId,
|
|
26
26
|
numberOfSetItems,
|
|
27
27
|
'data-testid': dataTestId
|
|
28
28
|
} = _ref;
|
|
29
29
|
const {
|
|
30
30
|
translations,
|
|
31
31
|
fixedSet,
|
|
32
|
+
onDelete,
|
|
32
33
|
defaultSetValue,
|
|
33
34
|
maxNestedSets,
|
|
34
|
-
maxConditions
|
|
35
|
+
maxConditions,
|
|
36
|
+
controlsRef
|
|
35
37
|
} = useLogicEditorContext();
|
|
36
38
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
37
39
|
className: classNames({
|
|
@@ -42,7 +44,14 @@ const Controls = function Controls(_ref) {
|
|
|
42
44
|
"aria-label": translations.conditionActions,
|
|
43
45
|
className: styles.controls,
|
|
44
46
|
"data-testid": dataTestId
|
|
45
|
-
}, /*#__PURE__*/React__default.createElement(EllipsisHorizontalIcon, null))
|
|
47
|
+
}, /*#__PURE__*/React__default.createElement(EllipsisHorizontalIcon, null)),
|
|
48
|
+
ref: node => {
|
|
49
|
+
if (node) {
|
|
50
|
+
controlsRef.current[itemId] = node;
|
|
51
|
+
} else {
|
|
52
|
+
controlsRef.current[itemId] = null;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
46
55
|
}, !(fixedSet && maxConditions && numberOfSetItems >= maxConditions) && /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
47
56
|
value: "add-condition",
|
|
48
57
|
onSelect: handleNewLogicItem(newCondition(), itemType === LOGIC_TYPE_SET ? 0 : itemIndex)
|
|
@@ -59,7 +68,13 @@ const Controls = function Controls(_ref) {
|
|
|
59
68
|
className: styles.controlMenuItem
|
|
60
69
|
}, translations.insertSetBelow)), (fixedSet && numberOfSetItems > 1 || !fixedSet && itemLevel > 0) && /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
61
70
|
value: "delete",
|
|
62
|
-
onSelect:
|
|
71
|
+
onSelect: e => {
|
|
72
|
+
onDelete(itemPosition); // We want to move focus to the previous control
|
|
73
|
+
// item when this one is deleted, so we need to
|
|
74
|
+
// prevent Menu's default focus behavior
|
|
75
|
+
|
|
76
|
+
e.preventDefault();
|
|
77
|
+
}
|
|
63
78
|
}, /*#__PURE__*/React__default.createElement(RemoveItemIcon, {
|
|
64
79
|
"aria-hidden": "true"
|
|
65
80
|
}), /*#__PURE__*/React__default.createElement("span", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
-
import React__default from 'react';
|
|
2
|
+
import React__default, { useRef } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import styles from './LogicEditor2.js';
|
|
5
5
|
import ConditionSet from './ConditionSet.js';
|
|
6
|
-
import { SET_VALUE_ANY, constructValidDefaultState, shallowCopy, getParentSet } from './utils.js';
|
|
6
|
+
import { SET_VALUE_ANY, constructValidDefaultState, shallowCopy, getParentSet, getPreviousItemId } from './utils.js';
|
|
7
7
|
import { LogicEditorContextProvider } from './LogicEditorContext.js';
|
|
8
8
|
import '../../utils/index.js';
|
|
9
9
|
import useTranslation from '../../utils/Translation/useTranslation.js';
|
|
@@ -75,15 +75,20 @@ const LogicEditor = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
75
75
|
update(newState);
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
+
const controlsRef = useRef({});
|
|
79
|
+
|
|
78
80
|
const handleDelete = position => {
|
|
81
|
+
let previousItemId = getPreviousItemId(state, position);
|
|
79
82
|
const newState = shallowCopy(state);
|
|
80
83
|
const parent = getParentSet(newState, position);
|
|
81
84
|
parent.conditions.splice(position.index, 1); // If the last condition in a set was deleted, also delete the set.
|
|
82
85
|
|
|
83
86
|
if (parent.conditions.length === 0) {
|
|
87
|
+
previousItemId = getPreviousItemId(newState, position.parent);
|
|
84
88
|
getParentSet(newState, position.parent).conditions.splice(position.parent.index, 1);
|
|
85
89
|
}
|
|
86
90
|
|
|
91
|
+
controlsRef.current[previousItemId].focus();
|
|
87
92
|
update(newState);
|
|
88
93
|
};
|
|
89
94
|
|
|
@@ -105,7 +110,8 @@ const LogicEditor = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
105
110
|
maxNestedSets,
|
|
106
111
|
maxConditions,
|
|
107
112
|
readOnly,
|
|
108
|
-
rootDataTestId: dataTestId
|
|
113
|
+
rootDataTestId: dataTestId,
|
|
114
|
+
controlsRef
|
|
109
115
|
}
|
|
110
116
|
}, /*#__PURE__*/React__default.createElement(ConditionSet, {
|
|
111
117
|
value: state,
|
|
@@ -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 = {"set":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._2xISR{width:100%}._3Pm_L{display:flex;align-items:center}._1_SBc{display:flex;flex-wrap:wrap;grid-gap:4px}._1_SBc :nth-last-child(2){margin-right:42px}._3omLg{position:relative;padding-left:32px;padding-top:16px;display:flex}._3Qs5P ._3omLg{padding-top:0;padding-left:16px}._3Qs5P ._3omLg+._3omLg{margin-top:16px}._1ldxC{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._3Qs5P ._3omLg:first-of-type ._1ldxC{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._3Qs5P ._1ldxC{top:-16px;left:0}._3Qs5P ._3omLg:not(:first-of-type):not(:last-of-type) ._1ldxC{border-bottom-left-radius:0}._3Chk6{margin-left:-46px}._xbBPj{margin:0 2px 0 4px}body._2i8gG ._xbBPj{outline-width:2px}._3aRce{margin-left:4px}";
|
|
4
|
+
var styles = {"set":"_2xISR","setWrapper":"_3Pm_L","condition":"_1_SBc","branch":"_3omLg","fixedSet":"_3Qs5P","connection":"_1ldxC","conditionControlsContainer":"_3Chk6","controls":"_xbBPj","keyboard-user":"_2i8gG","controlMenuItem":"_3aRce"};
|
|
5
|
+
var stylesheet="._2xISR{width:100%}._3Pm_L{display:flex;align-items:center}._1_SBc{display:flex;flex-wrap:wrap;grid-gap:4px}._1_SBc :nth-last-child(2){margin-right:42px}._3omLg{position:relative;padding-left:32px;padding-top:16px;display:flex}._3Qs5P ._3omLg{padding-top:0;padding-left:16px}._3Qs5P ._3omLg+._3omLg{margin-top:16px}._1ldxC{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._3Qs5P ._3omLg:first-of-type ._1ldxC{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._3Qs5P ._1ldxC{top:-16px;left:0}._3Qs5P ._3omLg:not(:first-of-type):not(:last-of-type) ._1ldxC{border-bottom-left-radius:0}._3Chk6{margin-left:-46px}._xbBPj{margin:0 2px 0 4px}body._2i8gG ._xbBPj{outline-width:2px}._3aRce{margin-left:4px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -129,6 +129,25 @@ function walkToRoot(position) {
|
|
|
129
129
|
return root;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
function getPreviousItemId(conditionRoot, position) {
|
|
133
|
+
const parentSet = getParentSet(conditionRoot, position);
|
|
134
|
+
|
|
135
|
+
if (position.index === 0) {
|
|
136
|
+
// The previous item is the parent
|
|
137
|
+
return parentSet.id;
|
|
138
|
+
} // The previous item is the previous sibling's deepest child
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
let previousIndex = position.index - 1;
|
|
142
|
+
let previousItem = parentSet.conditions[previousIndex];
|
|
143
|
+
|
|
144
|
+
while (previousItem.conditions) {
|
|
145
|
+
previousIndex = previousItem.conditions.length - 1;
|
|
146
|
+
previousItem = previousItem.conditions[previousIndex];
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
return previousItem.id;
|
|
150
|
+
}
|
|
132
151
|
function getParentSet(conditionRoot, position) {
|
|
133
152
|
const positionFromRoot = walkToRoot(position);
|
|
134
153
|
let set = conditionRoot;
|
|
@@ -142,4 +161,4 @@ function getParentSet(conditionRoot, position) {
|
|
|
142
161
|
return set;
|
|
143
162
|
}
|
|
144
163
|
|
|
145
|
-
export { LOGIC_TYPE_CONDITION, LOGIC_TYPE_SET, SET_VALUE_ALL, SET_VALUE_ANY, assignIdentifiersAndSetValues, constructValidDefaultState, getParentSet, newCondition, newConditionSet, shallowCopy };
|
|
164
|
+
export { LOGIC_TYPE_CONDITION, LOGIC_TYPE_SET, SET_VALUE_ALL, SET_VALUE_ANY, assignIdentifiersAndSetValues, constructValidDefaultState, getParentSet, getPreviousItemId, newCondition, newConditionSet, shallowCopy };
|
|
@@ -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 = {"backdrop":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._2jDDD{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._2jDDD,._249As{display:flex;overflow:auto}._249As{flex-direction:column;box-shadow:0 12px 35px -8px rgba(0,0,0,.12);border-radius:8px;background-color:#fff;min-width:450px;min-height:198px;max-width:85%;max-height:85%;margin:auto;outline:none}:not(._2GFcN)._26vsx{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._2GFcN)._26vsx{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._2GFcN)._34HBe{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._2GFcN)._34HBe{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._2GFcN)._34HBe{max-width:700px}}:not(._2GFcN)._2Hs6X{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._2GFcN)._2Hs6X{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._2GFcN)._2Hs6X{max-width:700px}}@media screen and (min-width:1024px){:not(._2GFcN)._2Hs6X{max-width:1000px}}:not(._2GFcN)._3Lleh{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._2GFcN)._3Lleh{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._2GFcN)._3Lleh{max-width:700px}}@media screen and (min-width:1024px){:not(._2GFcN)._3Lleh{max-width:1000px}}@media screen and (min-width:1632px){:not(._2GFcN)._3Lleh{max-width:1600px;max-height:calc(100vh - 32px)}}._2GFcN{min-width:200px;width:calc(100% - 48px)}._2GFcN,._2GFcN._26vsx{max-height:calc(100vh - 80px)}._2GFcN._26vsx{max-width:480px;border-radius:8px}._2GFcN._34HBe{max-width:700px}._2GFcN._2Hs6X{max-width:1000px}._2GFcN._3Lleh{max-width:1600px;max-height:calc(100vh - 32px)}._uvISV{height:calc(100vh - 80px)}@media screen and (max-width:479px){._uvISV{height:100vh}}@media screen and (min-width:1632px){._uvISV{height:calc(100vh - 32px)}}._169Ko{position:relative;display:flex;flex-direction:row;flex-shrink:0;min-height:65px;padding:20px 24px;align-items:center;font-size:18px;font-weight:400;line-height:24px;color:#32363a;border-bottom:1px solid #eee}._2OCax{padding-right:64px}._1Mqkr{position:absolute;top:14px;right:14px}._1UFN5{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._1baK3,._1UFN5{padding:20px 24px}._1baK3{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._1baK3>*{margin:0 4px}._1baK3>:first-child{margin-left:0}._1baK3>:last-child{margin-right:0}@-webkit-keyframes _3iD6V{0%{opacity:0}}@keyframes _3iD6V{0%{opacity:0}}._3iD6V{-webkit-animation:_3iD6V ease-in both;animation:_3iD6V ease-in both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes _2SRrv{to{opacity:0}}@keyframes _2SRrv{to{opacity:0}}._2SRrv{-webkit-animation:_2SRrv ease-out both;animation:_2SRrv ease-out both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes _34Vcq{0%{transform:scale3d(.7,.7,.7);opacity:0}}@keyframes _34Vcq{0%{transform:scale3d(.7,.7,.7);opacity:0}}._34Vcq{-webkit-animation:_34Vcq both;animation:_34Vcq both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes _25Rle{to{transform:scale3d(.7,.7,.7);opacity:0}}@keyframes _25Rle{to{transform:scale3d(.7,.7,.7);opacity:0}}._25Rle{-webkit-animation:_25Rle both;animation:_25Rle both;-webkit-animation-duration:.2s;animation-duration:.2s}";
|
|
4
|
+
var styles = {"backdrop":"_2jDDD","modal":"_249As","responsive":"_2GFcN","dialogSmall":"_26vsx","dialogMedium":"_34HBe","dialogLarge":"_2Hs6X","dialogExtraLarge":"_3Lleh","growToMaxHeight":"_uvISV","modalHeader":"_169Ko","modalHeaderWithCloseButton":"_2OCax","modalHeaderCloseButton":"_1Mqkr","modalBody":"_1UFN5","modalFooter":"_1baK3","fadeEnter":"_3iD6V","fadeLeave":"_2SRrv","zoomEnter":"_34Vcq","zoomLeave":"_25Rle"};
|
|
5
|
+
var stylesheet="._2jDDD{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._2jDDD,._249As{display:flex;overflow:auto}._249As{flex-direction:column;box-shadow:0 12px 35px -8px rgba(0,0,0,.12);border-radius:8px;background-color:#fff;min-width:450px;min-height:198px;max-width:85%;max-height:85%;margin:auto;outline:none}:not(._2GFcN)._26vsx{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._2GFcN)._26vsx{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._2GFcN)._34HBe{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._2GFcN)._34HBe{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._2GFcN)._34HBe{max-width:700px}}:not(._2GFcN)._2Hs6X{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._2GFcN)._2Hs6X{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._2GFcN)._2Hs6X{max-width:700px}}@media screen and (min-width:1024px){:not(._2GFcN)._2Hs6X{max-width:1000px}}:not(._2GFcN)._3Lleh{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._2GFcN)._3Lleh{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._2GFcN)._3Lleh{max-width:700px}}@media screen and (min-width:1024px){:not(._2GFcN)._3Lleh{max-width:1000px}}@media screen and (min-width:1632px){:not(._2GFcN)._3Lleh{max-width:1600px;max-height:calc(100vh - 32px)}}._2GFcN{min-width:200px;width:calc(100% - 48px)}._2GFcN,._2GFcN._26vsx{max-height:calc(100vh - 80px)}._2GFcN._26vsx{max-width:480px;border-radius:8px}._2GFcN._34HBe{max-width:700px}._2GFcN._2Hs6X{max-width:1000px}._2GFcN._3Lleh{max-width:1600px;max-height:calc(100vh - 32px)}._uvISV{height:calc(100vh - 80px)}@media screen and (max-width:479px){._uvISV{height:100vh}}@media screen and (min-width:1632px){._uvISV{height:calc(100vh - 32px)}}._169Ko{position:relative;display:flex;flex-direction:row;flex-shrink:0;min-height:65px;padding:20px 24px;align-items:center;font-size:18px;font-weight:400;line-height:24px;color:#32363a;border-bottom:1px solid #eee}._2OCax{padding-right:64px}._1Mqkr{position:absolute;top:14px;right:14px}._1UFN5{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._1baK3,._1UFN5{padding:20px 24px}._1baK3{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._1baK3>*{margin:0 4px}._1baK3>:first-child{margin-left:0}._1baK3>:last-child{margin-right:0}@-webkit-keyframes _3iD6V{0%{opacity:0}}@keyframes _3iD6V{0%{opacity:0}}._3iD6V{-webkit-animation:_3iD6V ease-in both;animation:_3iD6V ease-in both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes _2SRrv{to{opacity:0}}@keyframes _2SRrv{to{opacity:0}}._2SRrv{-webkit-animation:_2SRrv ease-out both;animation:_2SRrv ease-out both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes _34Vcq{0%{transform:scale3d(.7,.7,.7);opacity:0}}@keyframes _34Vcq{0%{transform:scale3d(.7,.7,.7);opacity:0}}._34Vcq{-webkit-animation:_34Vcq both;animation:_34Vcq both;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes _25Rle{to{transform:scale3d(.7,.7,.7);opacity:0}}@keyframes _25Rle{to{transform:scale3d(.7,.7,.7);opacity:0}}._25Rle{-webkit-animation:_25Rle both;animation:_25Rle both;-webkit-animation-duration:.2s;animation-duration:.2s}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"menuBtn":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._20tPY._20tPY{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._20tPY._20tPY,._20tPY._20tPY ._gbphO{display:inline-flex;align-items:center}._20tPY._20tPY ._gbphO{overflow:hidden;text-overflow:ellipsis}._20tPY._20tPY._1x7Wy{min-height:26px;height:26px}._20tPY._20tPY._26sai{color:#32363a}._20tPY._20tPY:hover:not([aria-disabled=true]){background-color:#f5f5f5}._20tPY._20tPY:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._20tPY._20tPY[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._20tPY._20tPY[aria-disabled=true]>svg{fill:#515559;opacity:.4}._20tPY._20tPY[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._20tPY._20tPY._1eMZP{padding-left:0}._20tPY._20tPY._2EEoC{margin-top:4px}._20tPY._20tPY ._2pzfk{fill:#515559}._20tPY._20tPY ._2pzfk._1x7Wy{top:0}._20tPY._20tPY ._2pzfk._3M63v{transform:rotate(-180deg)}._LjmHP{margin:0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#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}._LjmHP::-webkit-scrollbar,._LjmHP::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._LjmHP::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._LjmHP::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._LjmHP:hover::-webkit-scrollbar,._LjmHP:hover::-webkit-scrollbar-thumb,._LjmHP[focus-within]::-webkit-scrollbar,._LjmHP[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._LjmHP:focus-within::-webkit-scrollbar,._LjmHP:focus-within::-webkit-scrollbar-thumb,._LjmHP:hover::-webkit-scrollbar,._LjmHP:hover::-webkit-scrollbar-thumb{visibility:visible}._1ud6Y{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._1ud6Y[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._1ud6Y._1lQ5h{background-color:#efefef}._1ud6Y._3dt8R{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1ud6Y._26sai{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._1ud6Y._26sai._1lQ5h{background-color:#e4effa}._1ud6Y._sDfsM{cursor:default}._1ud6Y:active:not(._3A9LL):not(._26sai):not([aria-disabled=true]):not(._sDfsM){background-color:#e8e9e9}._3A9LL{padding-right:32px}._3A9LL ._2pzfk{position:absolute;top:8px;right:3px;fill:#515559}._24cj8{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:-webkit-sticky;position:sticky;top:0;z-index:20;background-color:#fff}._1ID_Q{position:absolute;top:13px;left:13px}._35BDh._35BDh{padding-left:32px}._1agYp{margin:2px 12px 2px 0;flex-shrink:0}._1agYp._1K-NE>svg{border-color:#0b6ed0}._PEZk4{display:flex;justify-self:center;margin:8px}";
|
|
4
|
+
var styles = {"menuBtn":"_20tPY","menuBtnLabel":"_gbphO","small":"_1x7Wy","selected":"_26sai","unlabelledButton":"_1eMZP","formLabelled":"_2EEoC","rightIcon":"_2pzfk","open":"_3M63v","contentPane":"_LjmHP","menuItem":"_1ud6Y","active":"_1lQ5h","focus":"_3dt8R","noMenuItems":"_sDfsM","subMenu":"_3A9LL","searchBox":"_24cj8","searchBoxIcon":"_1ID_Q","searchBoxInput":"_35BDh","checkbox":"_1agYp","highlighted":"_1K-NE","menuSpinner":"_PEZk4"};
|
|
5
|
+
var stylesheet="._20tPY._20tPY{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._20tPY._20tPY,._20tPY._20tPY ._gbphO{display:inline-flex;align-items:center}._20tPY._20tPY ._gbphO{overflow:hidden;text-overflow:ellipsis}._20tPY._20tPY._1x7Wy{min-height:26px;height:26px}._20tPY._20tPY._26sai{color:#32363a}._20tPY._20tPY:hover:not([aria-disabled=true]){background-color:#f5f5f5}._20tPY._20tPY:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._20tPY._20tPY[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._20tPY._20tPY[aria-disabled=true]>svg{fill:#515559;opacity:.4}._20tPY._20tPY[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._20tPY._20tPY._1eMZP{padding-left:0}._20tPY._20tPY._2EEoC{margin-top:4px}._20tPY._20tPY ._2pzfk{fill:#515559}._20tPY._20tPY ._2pzfk._1x7Wy{top:0}._20tPY._20tPY ._2pzfk._3M63v{transform:rotate(-180deg)}._LjmHP{margin:0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#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}._LjmHP::-webkit-scrollbar,._LjmHP::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._LjmHP::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._LjmHP::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._LjmHP:hover::-webkit-scrollbar,._LjmHP:hover::-webkit-scrollbar-thumb,._LjmHP[focus-within]::-webkit-scrollbar,._LjmHP[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._LjmHP:focus-within::-webkit-scrollbar,._LjmHP:focus-within::-webkit-scrollbar-thumb,._LjmHP:hover::-webkit-scrollbar,._LjmHP:hover::-webkit-scrollbar-thumb{visibility:visible}._1ud6Y{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._1ud6Y[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._1ud6Y._1lQ5h{background-color:#efefef}._1ud6Y._3dt8R{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._1ud6Y._26sai{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._1ud6Y._26sai._1lQ5h{background-color:#e4effa}._1ud6Y._sDfsM{cursor:default}._1ud6Y:active:not(._3A9LL):not(._26sai):not([aria-disabled=true]):not(._sDfsM){background-color:#e8e9e9}._3A9LL{padding-right:32px}._3A9LL ._2pzfk{position:absolute;top:8px;right:3px;fill:#515559}._24cj8{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:-webkit-sticky;position:sticky;top:0;z-index:20;background-color:#fff}._1ID_Q{position:absolute;top:13px;left:13px}._35BDh._35BDh{padding-left:32px}._1agYp{margin:2px 12px 2px 0;flex-shrink:0}._1agYp._1K-NE>svg{border-color:#0b6ed0}._PEZk4{display:flex;justify-self:center;margin:8px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -57,7 +57,6 @@ const ArrowNav = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
57
57
|
} = _ref;
|
|
58
58
|
const [isKeyboardUser, setIsKeyboardUser] = useState(false);
|
|
59
59
|
const containerRef = useRef(null);
|
|
60
|
-
const menuItemContainerRef = useRef(null);
|
|
61
60
|
const menuId = useId();
|
|
62
61
|
const [refs, allChildren] = useChildrenRefs(children, (child, index) => ({
|
|
63
62
|
tabIndex: -1,
|
|
@@ -73,15 +72,16 @@ const ArrowNav = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
73
72
|
if (refs.current[highlightedIndex]) {
|
|
74
73
|
// Scroll the item into view when navigating with a keyboard
|
|
75
74
|
const element = refs.current[highlightedIndex];
|
|
75
|
+
const searchInputSize = searchable ? 53 : 0;
|
|
76
76
|
|
|
77
|
-
if (isKeyboardUserRef.current &&
|
|
78
|
-
const scrollBottom =
|
|
77
|
+
if (isKeyboardUserRef.current && containerRef.current) {
|
|
78
|
+
const scrollBottom = containerRef.current.clientHeight + containerRef.current.scrollTop;
|
|
79
79
|
const elementBottom = element.offsetTop + element.offsetHeight;
|
|
80
80
|
|
|
81
81
|
if (elementBottom > scrollBottom) {
|
|
82
|
-
|
|
83
|
-
} else if (element.offsetTop <
|
|
84
|
-
|
|
82
|
+
containerRef.current.scrollTop = elementBottom - containerRef.current.clientHeight;
|
|
83
|
+
} else if (element.offsetTop - searchInputSize < containerRef.current.scrollTop) {
|
|
84
|
+
containerRef.current.scrollTop = element.offsetTop - searchInputSize;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
/* preventScroll isn't strictly needed.
|
|
@@ -167,7 +167,9 @@ const ArrowNav = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
167
167
|
id: menuId,
|
|
168
168
|
role: role,
|
|
169
169
|
"aria-labelledby": ariaLabelledBy,
|
|
170
|
-
|
|
170
|
+
style: {
|
|
171
|
+
padding: '4px 0'
|
|
172
|
+
}
|
|
171
173
|
}, allChildren))
|
|
172
174
|
);
|
|
173
175
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"numberStepperContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._tIMqZ{display:inline-flex;width:127px}._1vkWx{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._1vkWx:hover:not(._2MVJz){cursor:pointer;background:#f5f5f5}._1vkWx._2uOmE{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._1vkWx._2MVJz{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._1vkWx._2MVJz>svg{opacity:.4}._1vkWx::-webkit-inner-spin-button,._1vkWx::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._1vkWx:focus{z-index:0;border:none;border-radius:4px}._1vkWx:focus:not(._2uOmE){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1LPxn,._1vkWx:focus:not(._2MVJz){background:#fafafa}._1LPxn{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._1LPxn:hover:not(._2MVJz){cursor:pointer;background:#f5f5f5}._1LPxn:active:not(._2MVJz){background:#e5e5e5}._1LPxn._2MVJz{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._1LPxn._2MVJz>svg{opacity:.4}._2smth{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._2smth:hover:not(._2MVJz){cursor:pointer;background:#f5f5f5}._2smth:active:not(._2MVJz){background:#e5e5e5}._2smth._2MVJz{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._2smth._2MVJz>svg{opacity:.4}";
|
|
4
|
+
var styles = {"numberStepperContainer":"_tIMqZ","numberStepperInput":"_1vkWx","disabled":"_2MVJz","invalid":"_2uOmE","decrementBtn":"_1LPxn","incrementBtn":"_2smth"};
|
|
5
|
+
var stylesheet="._tIMqZ{display:inline-flex;width:127px}._1vkWx{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._1vkWx:hover:not(._2MVJz){cursor:pointer;background:#f5f5f5}._1vkWx._2uOmE{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._1vkWx._2MVJz{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._1vkWx._2MVJz>svg{opacity:.4}._1vkWx::-webkit-inner-spin-button,._1vkWx::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._1vkWx:focus{z-index:0;border:none;border-radius:4px}._1vkWx:focus:not(._2uOmE){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._1LPxn,._1vkWx:focus:not(._2MVJz){background:#fafafa}._1LPxn{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._1LPxn:hover:not(._2MVJz){cursor:pointer;background:#f5f5f5}._1LPxn:active:not(._2MVJz){background:#e5e5e5}._1LPxn._2MVJz{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._1LPxn._2MVJz>svg{opacity:.4}._2smth{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._2smth:hover:not(._2MVJz){cursor:pointer;background:#f5f5f5}._2smth:active:not(._2MVJz){background:#e5e5e5}._2smth._2MVJz{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._2smth._2MVJz>svg{opacity:.4}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"pageContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._3hE8J{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._hR9K1{grid-area:pageHeader}._1ZN0a{grid-area:mainContent;height:100%;overflow:auto}";
|
|
4
|
+
var styles = {"pageContainer":"_3hE8J","pageHeader":"_hR9K1","mainContent":"_1ZN0a"};
|
|
5
|
+
var stylesheet="._3hE8J{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._hR9K1{grid-area:pageHeader}._1ZN0a{grid-area:mainContent;height:100%;overflow:auto}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"pagination":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._17WNW{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._b-IrC{margin-right:8px}._2eBS3{margin-left:8px}._3IDaE{margin:-10px -15px}._2As2B{width:100%;text-align:center}";
|
|
4
|
+
var styles = {"pagination":"_17WNW","previousButton":"_b-IrC","nextButton":"_2eBS3","btnIcon":"_3IDaE","input":"_2As2B"};
|
|
5
|
+
var stylesheet="._17WNW{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._b-IrC{margin-right:8px}._2eBS3{margin-left:8px}._3IDaE{margin:-10px -15px}._2As2B{width:100%;text-align:center}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|