@qualtrics/ui-react 2.27.0 → 2.29.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 +23 -0
- package/dist/__shared/cjs/{index-88aa3bce.js → index-c2d2f188.js} +707 -451
- package/dist/__shared/cjs/{index-e6893573.js → index-c9e48360.js} +3 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox.js +54 -10
- 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/Dropdown.js +59 -7
- 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/ConditionSet.js +3 -4
- package/dist/components/LogicEditor/Controls.js +66 -48
- package/dist/components/LogicEditor/LogicEditor.js +34 -8
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/LogicEditor/utils.js +4 -1
- 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/Radio.js +25 -5
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/Radio/RadioGroup.js +16 -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/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 +12 -2
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +54 -78
- 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/Form/FormFields/FormFieldWrapper.js +36 -0
- package/dist/next/Form/FormFields/InputField.js +8 -0
- package/dist/next/Form/index.js +2 -0
- package/dist/next/Form/useForm.js +298 -0
- package/dist/next/Form/useFormField.js +25 -0
- package/dist/next/Form/utils/createFormInstance.js +32 -0
- package/dist/next/Form/utils/useFormContext.js +9 -0
- package/dist/next/Input/Input.js +47 -7
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuPane.js +2 -2
- package/dist/next/Pagination/Pagination.css.js +9 -0
- package/dist/next/Pagination/Pagination.css.ts.vanilla.js +8 -0
- package/dist/next/Pagination/Pagination.js +166 -0
- package/dist/next/Pagination/RowDisplayCount.js +46 -0
- package/dist/next/Pagination/index.js +2 -0
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimeDropdown.js +9 -3
- package/dist/next/TimePicker/TimePicker.js +1 -1
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/ToggleButton.js +2 -2
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +170 -4
- package/dist/next/index.es.js +29 -23
- package/dist/next/index.js +1968 -1474
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +1 -1
- package/next/package.json +2 -2
- package/package.json +3 -3
|
@@ -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 = "._V3qPb{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._5GODT,._V3qPb{display:flex;overflow:auto}._5GODT{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(._rKp0X)._gQQPX{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._rKp0X)._gQQPX{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._rKp0X)._0Gh8N{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._rKp0X)._0Gh8N{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._rKp0X)._0Gh8N{max-width:700px}}:not(._rKp0X)._Smjij{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._rKp0X)._Smjij{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._rKp0X)._Smjij{max-width:700px}}@media screen and (min-width:1024px){:not(._rKp0X)._Smjij{max-width:1000px}}:not(._rKp0X)._OKXB6{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._rKp0X)._OKXB6{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._rKp0X)._OKXB6{max-width:700px}}@media screen and (min-width:1024px){:not(._rKp0X)._OKXB6{max-width:1000px}}@media screen and (min-width:1632px){:not(._rKp0X)._OKXB6{max-width:1600px;max-height:calc(100vh - 32px)}}._rKp0X{min-width:200px;width:calc(100% - 48px)}._rKp0X,._rKp0X._gQQPX{max-height:calc(100vh - 80px)}._rKp0X._gQQPX{max-width:480px;border-radius:8px}._rKp0X._0Gh8N{max-width:700px}._rKp0X._Smjij{max-width:1000px}._rKp0X._OKXB6{max-width:1600px;max-height:calc(100vh - 32px)}._SuS5-{height:calc(100vh - 80px)}@media screen and (max-width:479px){._SuS5-{height:100vh}}@media screen and (min-width:1632px){._SuS5-{height:calc(100vh - 32px)}}._7ctTe{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}._FU7uc{padding-right:64px}._iAH8y{position:absolute;top:14px;right:14px}._06HeD{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._06HeD,._7pkWS{padding:20px 24px}._7pkWS{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._7pkWS>*{margin:0 4px}._7pkWS>:first-child{margin-left:0}._7pkWS>:last-child{margin-right:0}@keyframes _aC9dQ{0%{opacity:0}}._aC9dQ{animation:_aC9dQ ease-in both;animation-duration:.2s}@keyframes _KZOAf{to{opacity:0}}._KZOAf{animation:_KZOAf ease-out both;animation-duration:.2s}@keyframes _5q2aR{0%{transform:scale3d(.7,.7,.7);opacity:0}}._5q2aR{animation:_5q2aR both;animation-duration:.2s}@keyframes _2Yn3T{to{transform:scale3d(.7,.7,.7);opacity:0}}._2Yn3T{animation:_2Yn3T both;animation-duration:.2s}";
|
|
4
|
+
var styles = {"backdrop":"_V3qPb","modal":"_5GODT","responsive":"_rKp0X","dialogSmall":"_gQQPX","dialogMedium":"_0Gh8N","dialogLarge":"_Smjij","dialogExtraLarge":"_OKXB6","growToMaxHeight":"_SuS5-","modalHeader":"_7ctTe","modalHeaderWithCloseButton":"_FU7uc","modalHeaderCloseButton":"_iAH8y","modalBody":"_06HeD","modalFooter":"_7pkWS","fadeEnter":"_aC9dQ","fadeLeave":"_KZOAf","zoomEnter":"_5q2aR","zoomLeave":"_2Yn3T"};
|
|
5
|
+
var stylesheet="._V3qPb{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._5GODT,._V3qPb{display:flex;overflow:auto}._5GODT{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(._rKp0X)._gQQPX{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._rKp0X)._gQQPX{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._rKp0X)._0Gh8N{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._rKp0X)._0Gh8N{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._rKp0X)._0Gh8N{max-width:700px}}:not(._rKp0X)._Smjij{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._rKp0X)._Smjij{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._rKp0X)._Smjij{max-width:700px}}@media screen and (min-width:1024px){:not(._rKp0X)._Smjij{max-width:1000px}}:not(._rKp0X)._OKXB6{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._rKp0X)._OKXB6{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._rKp0X)._OKXB6{max-width:700px}}@media screen and (min-width:1024px){:not(._rKp0X)._OKXB6{max-width:1000px}}@media screen and (min-width:1632px){:not(._rKp0X)._OKXB6{max-width:1600px;max-height:calc(100vh - 32px)}}._rKp0X{min-width:200px;width:calc(100% - 48px)}._rKp0X,._rKp0X._gQQPX{max-height:calc(100vh - 80px)}._rKp0X._gQQPX{max-width:480px;border-radius:8px}._rKp0X._0Gh8N{max-width:700px}._rKp0X._Smjij{max-width:1000px}._rKp0X._OKXB6{max-width:1600px;max-height:calc(100vh - 32px)}._SuS5-{height:calc(100vh - 80px)}@media screen and (max-width:479px){._SuS5-{height:100vh}}@media screen and (min-width:1632px){._SuS5-{height:calc(100vh - 32px)}}._7ctTe{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}._FU7uc{padding-right:64px}._iAH8y{position:absolute;top:14px;right:14px}._06HeD{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._06HeD,._7pkWS{padding:20px 24px}._7pkWS{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._7pkWS>*{margin:0 4px}._7pkWS>:first-child{margin-left:0}._7pkWS>:last-child{margin-right:0}@keyframes _aC9dQ{0%{opacity:0}}._aC9dQ{animation:_aC9dQ ease-in both;animation-duration:.2s}@keyframes _KZOAf{to{opacity:0}}._KZOAf{animation:_KZOAf ease-out both;animation-duration:.2s}@keyframes _5q2aR{0%{transform:scale3d(.7,.7,.7);opacity:0}}._5q2aR{animation:_5q2aR both;animation-duration:.2s}@keyframes _2Yn3T{to{transform:scale3d(.7,.7,.7);opacity:0}}._2Yn3T{animation:_2Yn3T both;animation-duration:.2s}";
|
|
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 = {"menuBtn":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._PZf1x._PZf1x{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}._PZf1x._PZf1x,._PZf1x._PZf1x ._r7SPP{display:inline-flex;align-items:center}._PZf1x._PZf1x ._r7SPP{overflow:hidden;text-overflow:ellipsis}._PZf1x._PZf1x._hCbep{min-height:26px;height:26px}._PZf1x._PZf1x._lfOMI{color:#32363a}._PZf1x._PZf1x:hover:not([aria-disabled=true]){background-color:#f5f5f5}._PZf1x._PZf1x:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._PZf1x._PZf1x[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._PZf1x._PZf1x[aria-disabled=true]>svg{fill:#515559;opacity:.4}._PZf1x._PZf1x[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._PZf1x._PZf1x._--4FG{padding-left:0}._PZf1x._PZf1x._IGshM{margin-top:4px}._PZf1x._PZf1x ._y2jWE{fill:#515559}._PZf1x._PZf1x ._y2jWE._hCbep{top:0}._PZf1x._PZf1x ._y2jWE._Qm5Ia{transform:rotate(-180deg)}._-usD-{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}._-usD-::-webkit-scrollbar,._-usD-::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._-usD-::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._-usD-::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._-usD-:hover::-webkit-scrollbar,._-usD-:hover::-webkit-scrollbar-thumb,._-usD-[focus-within]::-webkit-scrollbar,._-usD-[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._-usD-:focus-within::-webkit-scrollbar,._-usD-:focus-within::-webkit-scrollbar-thumb,._-usD-:hover::-webkit-scrollbar,._-usD-:hover::-webkit-scrollbar-thumb{visibility:visible}._lIZ2j{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._lIZ2j[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._lIZ2j._eO5Ic{background-color:#efefef}._lIZ2j._kbVjR{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._lIZ2j._lfOMI{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._lIZ2j._lfOMI._eO5Ic{background-color:#e4effa}._lIZ2j._--oTI{cursor:default}._lIZ2j:active:not(._NuQ5d):not(._lfOMI):not([aria-disabled=true]):not(._--oTI){background-color:#e8e9e9}._NuQ5d{padding-right:32px}._NuQ5d ._y2jWE{position:absolute;top:8px;right:3px;fill:#515559}._Y4bTu{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}._PDE29{position:absolute;top:13px;left:13px}._IeByb._IeByb{padding-left:32px}._eAud-{margin:2px 12px 2px 0;flex-shrink:0}._eAud-._9mbUi>svg{border-color:#0b6ed0}._9hTZS{display:flex;justify-self:center;margin:8px}";
|
|
4
|
+
var styles = {"menuBtn":"_PZf1x","menuBtnLabel":"_r7SPP","small":"_hCbep","selected":"_lfOMI","unlabelledButton":"_--4FG","formLabelled":"_IGshM","rightIcon":"_y2jWE","open":"_Qm5Ia","contentPane":"_-usD-","menuItem":"_lIZ2j","active":"_eO5Ic","focus":"_kbVjR","noMenuItems":"_--oTI","subMenu":"_NuQ5d","searchBox":"_Y4bTu","searchBoxIcon":"_PDE29","searchBoxInput":"_IeByb","checkbox":"_eAud-","highlighted":"_9mbUi","menuSpinner":"_9hTZS"};
|
|
5
|
+
var stylesheet="._PZf1x._PZf1x{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}._PZf1x._PZf1x,._PZf1x._PZf1x ._r7SPP{display:inline-flex;align-items:center}._PZf1x._PZf1x ._r7SPP{overflow:hidden;text-overflow:ellipsis}._PZf1x._PZf1x._hCbep{min-height:26px;height:26px}._PZf1x._PZf1x._lfOMI{color:#32363a}._PZf1x._PZf1x:hover:not([aria-disabled=true]){background-color:#f5f5f5}._PZf1x._PZf1x:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._PZf1x._PZf1x[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._PZf1x._PZf1x[aria-disabled=true]>svg{fill:#515559;opacity:.4}._PZf1x._PZf1x[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._PZf1x._PZf1x._--4FG{padding-left:0}._PZf1x._PZf1x._IGshM{margin-top:4px}._PZf1x._PZf1x ._y2jWE{fill:#515559}._PZf1x._PZf1x ._y2jWE._hCbep{top:0}._PZf1x._PZf1x ._y2jWE._Qm5Ia{transform:rotate(-180deg)}._-usD-{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}._-usD-::-webkit-scrollbar,._-usD-::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._-usD-::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._-usD-::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._-usD-:hover::-webkit-scrollbar,._-usD-:hover::-webkit-scrollbar-thumb,._-usD-[focus-within]::-webkit-scrollbar,._-usD-[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._-usD-:focus-within::-webkit-scrollbar,._-usD-:focus-within::-webkit-scrollbar-thumb,._-usD-:hover::-webkit-scrollbar,._-usD-:hover::-webkit-scrollbar-thumb{visibility:visible}._lIZ2j{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._lIZ2j[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._lIZ2j._eO5Ic{background-color:#efefef}._lIZ2j._kbVjR{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._lIZ2j._lfOMI{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._lIZ2j._lfOMI._eO5Ic{background-color:#e4effa}._lIZ2j._--oTI{cursor:default}._lIZ2j:active:not(._NuQ5d):not(._lfOMI):not([aria-disabled=true]):not(._--oTI){background-color:#e8e9e9}._NuQ5d{padding-right:32px}._NuQ5d ._y2jWE{position:absolute;top:8px;right:3px;fill:#515559}._Y4bTu{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}._PDE29{position:absolute;top:13px;left:13px}._IeByb._IeByb{padding-left:32px}._eAud-{margin:2px 12px 2px 0;flex-shrink:0}._eAud-._9mbUi>svg{border-color:#0b6ed0}._9hTZS{display:flex;justify-self:center;margin:8px}";
|
|
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 = {"numberStepperContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._hAFPd{display:inline-flex;width:127px}._k2mDd{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}._k2mDd:hover:not(._yhkBu){cursor:pointer;background:#f5f5f5}._k2mDd._L1sp4{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._k2mDd._yhkBu{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._k2mDd._yhkBu>svg{opacity:.4}._k2mDd::-webkit-inner-spin-button,._k2mDd::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._k2mDd:focus{z-index:0;border:none;border-radius:4px}._k2mDd:focus:not(._L1sp4){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._9pJQi,._k2mDd:focus:not(._yhkBu){background:#fafafa}._9pJQi{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}._9pJQi:hover:not(._yhkBu){cursor:pointer;background:#f5f5f5}._9pJQi:active:not(._yhkBu){background:#e5e5e5}._9pJQi._yhkBu{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._9pJQi._yhkBu>svg{opacity:.4}._w2Bvy{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}._w2Bvy:hover:not(._yhkBu){cursor:pointer;background:#f5f5f5}._w2Bvy:active:not(._yhkBu){background:#e5e5e5}._w2Bvy._yhkBu{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._w2Bvy._yhkBu>svg{opacity:.4}";
|
|
4
|
+
var styles = {"numberStepperContainer":"_hAFPd","numberStepperInput":"_k2mDd","disabled":"_yhkBu","invalid":"_L1sp4","decrementBtn":"_9pJQi","incrementBtn":"_w2Bvy"};
|
|
5
|
+
var stylesheet="._hAFPd{display:inline-flex;width:127px}._k2mDd{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}._k2mDd:hover:not(._yhkBu){cursor:pointer;background:#f5f5f5}._k2mDd._L1sp4{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._k2mDd._yhkBu{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._k2mDd._yhkBu>svg{opacity:.4}._k2mDd::-webkit-inner-spin-button,._k2mDd::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._k2mDd:focus{z-index:0;border:none;border-radius:4px}._k2mDd:focus:not(._L1sp4){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._9pJQi,._k2mDd:focus:not(._yhkBu){background:#fafafa}._9pJQi{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}._9pJQi:hover:not(._yhkBu){cursor:pointer;background:#f5f5f5}._9pJQi:active:not(._yhkBu){background:#e5e5e5}._9pJQi._yhkBu{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._9pJQi._yhkBu>svg{opacity:.4}._w2Bvy{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}._w2Bvy:hover:not(._yhkBu){cursor:pointer;background:#f5f5f5}._w2Bvy:active:not(._yhkBu){background:#e5e5e5}._w2Bvy._yhkBu{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._w2Bvy._yhkBu>svg{opacity:.4}";
|
|
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 = {"pageContainer":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._hvSNQ{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\"}._06XcI{grid-area:pageHeader}._gk-lg{grid-area:mainContent;height:100%;overflow:auto}";
|
|
4
|
+
var styles = {"pageContainer":"_hvSNQ","pageHeader":"_06XcI","mainContent":"_gk-lg"};
|
|
5
|
+
var stylesheet="._hvSNQ{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\"}._06XcI{grid-area:pageHeader}._gk-lg{grid-area:mainContent;height:100%;overflow:auto}";
|
|
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 = {"pagination":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._SbiWt{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._A1Kb-{margin-right:8px}._CvqC6{margin-left:8px}._-4aPH{margin:-10px -15px}._oMr81{width:100%;text-align:center}";
|
|
4
|
+
var styles = {"pagination":"_SbiWt","previousButton":"_A1Kb-","nextButton":"_CvqC6","btnIcon":"_-4aPH","input":"_oMr81"};
|
|
5
|
+
var stylesheet="._SbiWt{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._A1Kb-{margin-right:8px}._CvqC6{margin-left:8px}._-4aPH{margin:-10px -15px}._oMr81{width:100%;text-align:center}";
|
|
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 = {"popover":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._jzx8E{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._jzx8E:focus{outline:none}._zcjGa,._zcjGa>div{position:absolute;width:8px;height:8px;background:inherit}._zcjGa{visibility:hidden;z-index:1000}._zcjGa>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._zcjGa{bottom:-4px}[data-popper-placement^=top]>._zcjGa>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._zcjGa{left:-5px}[data-popper-placement^=right]>._zcjGa>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._zcjGa{top:-5px}[data-popper-placement^=bottom]>._zcjGa>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._zcjGa{right:-4px}[data-popper-placement^=left]>._zcjGa>div{border-bottom-color:transparent;border-left-color:transparent}";
|
|
4
|
+
var styles = {"popover":"_jzx8E","arrow":"_zcjGa"};
|
|
5
|
+
var stylesheet="._jzx8E{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._jzx8E:focus{outline:none}._zcjGa,._zcjGa>div{position:absolute;width:8px;height:8px;background:inherit}._zcjGa{visibility:hidden;z-index:1000}._zcjGa>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._zcjGa{bottom:-4px}[data-popper-placement^=top]>._zcjGa>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._zcjGa{left:-5px}[data-popper-placement^=right]>._zcjGa>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._zcjGa{top:-5px}[data-popper-placement^=bottom]>._zcjGa>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._zcjGa{right:-4px}[data-popper-placement^=left]>._zcjGa>div{border-bottom-color:transparent;border-left-color:transparent}";
|
|
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 = "._Tgrh-{display:flex;height:32px}";
|
|
4
|
+
var styles = {"loadingSpinner":"_Tgrh-"};
|
|
5
|
+
var stylesheet="._Tgrh-{display:flex;height:32px}";
|
|
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 };
|
|
@@ -4,11 +4,12 @@ import classNames from 'classnames';
|
|
|
4
4
|
import styles from './Radio2.js';
|
|
5
5
|
import { useRadioGroupContext } from './RadioGroupContext.js';
|
|
6
6
|
import { useFormFieldContext } from '../FormField/FormFieldContext.js';
|
|
7
|
+
import useFormField from '../../next/Form/useFormField.js';
|
|
7
8
|
import '../../utils/index.js';
|
|
8
9
|
import concatIds from '../../utils/concatIds/concatIds.js';
|
|
9
10
|
|
|
10
11
|
const Radio = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
11
|
-
var _ref2;
|
|
12
|
+
var _ref2, _ref3, _ref5;
|
|
12
13
|
let {
|
|
13
14
|
id,
|
|
14
15
|
className,
|
|
@@ -18,6 +19,7 @@ const Radio = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
18
19
|
'aria-labelledby': ariaLabelledBy,
|
|
19
20
|
'aria-describedby': externalAriaDescribedBy,
|
|
20
21
|
onChange: radioOnChange,
|
|
22
|
+
onBlur: externalOnBlur,
|
|
21
23
|
checked: radioChecked,
|
|
22
24
|
defaultChecked: radioDefaultChecked,
|
|
23
25
|
inputProps,
|
|
@@ -29,14 +31,30 @@ const Radio = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
29
31
|
groupDefaultValue,
|
|
30
32
|
groupValue
|
|
31
33
|
} = useRadioGroupContext();
|
|
34
|
+
const {
|
|
35
|
+
register
|
|
36
|
+
} = useFormField();
|
|
37
|
+
const registerProps = name && register ? register === null || register === void 0 ? void 0 : register(name, {
|
|
38
|
+
type: 'radio',
|
|
39
|
+
radioValue: value
|
|
40
|
+
}) : undefined;
|
|
32
41
|
const {
|
|
33
42
|
helperTextId: formFieldHelperTextId,
|
|
34
43
|
errorTextId: formFieldErrorTextId
|
|
35
44
|
} = useFormFieldContext();
|
|
36
45
|
const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
|
|
37
|
-
const checked = groupValue !== undefined ? value === groupValue : radioChecked !== null &&
|
|
46
|
+
const checked = (_ref2 = (_ref3 = groupValue !== undefined ? value === groupValue : radioChecked) !== null && _ref3 !== void 0 ? _ref3 : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked) !== null && _ref2 !== void 0 ? _ref2 : registerProps === null || registerProps === void 0 ? void 0 : registerProps.checked;
|
|
38
47
|
const defaultChecked = groupDefaultValue !== undefined ? value === groupDefaultValue : radioDefaultChecked !== null && radioDefaultChecked !== void 0 ? radioDefaultChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.defaultChecked;
|
|
39
|
-
const onChange =
|
|
48
|
+
const onChange = e => {
|
|
49
|
+
var _ref4;
|
|
50
|
+
const externalOnChange = (_ref4 = radioGroupOnChange !== null && radioGroupOnChange !== void 0 ? radioGroupOnChange : radioOnChange) !== null && _ref4 !== void 0 ? _ref4 : inputProps === null || inputProps === void 0 ? void 0 : inputProps.onChange;
|
|
51
|
+
registerProps === null || registerProps === void 0 || registerProps.onChange(e);
|
|
52
|
+
externalOnChange === null || externalOnChange === void 0 || externalOnChange(e);
|
|
53
|
+
};
|
|
54
|
+
const onBlur = e => {
|
|
55
|
+
registerProps === null || registerProps === void 0 || registerProps.onBlur(e);
|
|
56
|
+
externalOnBlur === null || externalOnBlur === void 0 || externalOnBlur(e);
|
|
57
|
+
};
|
|
40
58
|
return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
|
|
41
59
|
ref: ref,
|
|
42
60
|
className: classNames(className, styles.radio)
|
|
@@ -48,11 +66,13 @@ const Radio = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
48
66
|
defaultChecked: defaultChecked,
|
|
49
67
|
disabled: disabled !== null && disabled !== void 0 ? disabled : inputProps === null || inputProps === void 0 ? void 0 : inputProps.disabled,
|
|
50
68
|
name: name !== null && name !== void 0 ? name : inputProps === null || inputProps === void 0 ? void 0 : inputProps.name,
|
|
51
|
-
value: value !== null && value !== void 0 ? value : inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
|
|
69
|
+
value: (_ref5 = value !== null && value !== void 0 ? value : inputProps === null || inputProps === void 0 ? void 0 : inputProps.value) !== null && _ref5 !== void 0 ? _ref5 : registerProps === null || registerProps === void 0 ? void 0 : registerProps.value,
|
|
52
70
|
onChange: disabled ? undefined : onChange,
|
|
71
|
+
onBlur: onBlur,
|
|
53
72
|
"aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-label'],
|
|
54
73
|
"aria-labelledby": ariaLabelledBy !== null && ariaLabelledBy !== void 0 ? ariaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
|
|
55
|
-
"aria-describedby": internalAriaDescribedby
|
|
74
|
+
"aria-describedby": internalAriaDescribedby,
|
|
75
|
+
ref: registerProps === null || registerProps === void 0 ? void 0 : registerProps.ref
|
|
56
76
|
})), /*#__PURE__*/React__default.createElement("span", {
|
|
57
77
|
className: styles.check
|
|
58
78
|
}));
|
|
@@ -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 = {"radio":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._LJSE-{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._-peew,._LJSE-{cursor:pointer;height:16px;width:16px}._-peew{position:absolute;opacity:0;z-index:10}._-peew:checked~._4ea5A>._fePoV{fill-opacity:1}._-peew:checked:enabled~._4ea5A{border-color:transparent;background-color:#0b6ed0}._-peew:checked:enabled~._4ea5A>._fePoV{fill:#fff}._-peew:checked:enabled:hover~._4ea5A{background-color:#085caf}._-peew:not(:checked):enabled:hover~._4ea5A{border-color:#0b6ed0}._-peew:disabled{cursor:not-allowed}._-peew:disabled~._4ea5A{opacity:.4}._-peew:checked~._4ea5A:after{content:\"\"}._s3jc-{color:#32363a;display:flex;align-items:center;cursor:pointer}._s3jc-:has(input:disabled){color:rgba(50,54,58,.4)}._0LUab{margin-right:12px;flex-shrink:0}._4ea5A{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._fePoV{fill:#0b6ed0;fill-opacity:0}._4ea5A:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._vVxov{border:none;padding:0;margin:0}._MRwa1{padding:0;margin:0 0 14px;color:#01213f}._-peew.focus-visible~._4ea5A,._-peew:focus-visible~._4ea5A{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"radio":"_LJSE-","input":"_-peew","check":"_4ea5A","checkIcon":"_fePoV","label":"_s3jc-","wrappedInput":"_0LUab","radioGroup":"_vVxov","legend":"_MRwa1"};
|
|
5
|
+
var stylesheet="._LJSE-{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._-peew,._LJSE-{cursor:pointer;height:16px;width:16px}._-peew{position:absolute;opacity:0;z-index:10}._-peew:checked~._4ea5A>._fePoV{fill-opacity:1}._-peew:checked:enabled~._4ea5A{border-color:transparent;background-color:#0b6ed0}._-peew:checked:enabled~._4ea5A>._fePoV{fill:#fff}._-peew:checked:enabled:hover~._4ea5A{background-color:#085caf}._-peew:not(:checked):enabled:hover~._4ea5A{border-color:#0b6ed0}._-peew:disabled{cursor:not-allowed}._-peew:disabled~._4ea5A{opacity:.4}._-peew:checked~._4ea5A:after{content:\"\"}._s3jc-{color:#32363a;display:flex;align-items:center;cursor:pointer}._s3jc-:has(input:disabled){color:rgba(50,54,58,.4)}._0LUab{margin-right:12px;flex-shrink:0}._4ea5A{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._fePoV{fill:#0b6ed0;fill-opacity:0}._4ea5A:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._vVxov{border:none;padding:0;margin:0}._MRwa1{padding:0;margin:0 0 14px;color:#01213f}._-peew.focus-visible~._4ea5A,._-peew:focus-visible~._4ea5A{border-color:#0b6ed0;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 };
|
|
@@ -3,6 +3,8 @@ import React__default from 'react';
|
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import styles from './Radio2.js';
|
|
5
5
|
import { RadioGroupContextProvider } from './RadioGroupContext.js';
|
|
6
|
+
import FormFieldWrapper from '../../next/Form/FormFields/FormFieldWrapper.js';
|
|
7
|
+
import useFormField from '../../next/Form/useFormField.js';
|
|
6
8
|
|
|
7
9
|
const RadioGroup = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
8
10
|
let {
|
|
@@ -13,8 +15,14 @@ const RadioGroup = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
13
15
|
value,
|
|
14
16
|
onChange,
|
|
15
17
|
children,
|
|
18
|
+
helperText,
|
|
19
|
+
errorText,
|
|
20
|
+
'data-testid': dataTestId,
|
|
16
21
|
...rest
|
|
17
22
|
} = _ref;
|
|
23
|
+
const {
|
|
24
|
+
fieldErrors
|
|
25
|
+
} = useFormField();
|
|
18
26
|
const classes = classNames(className, styles.radioGroup);
|
|
19
27
|
return /*#__PURE__*/React__default.createElement(RadioGroupContextProvider, {
|
|
20
28
|
value: {
|
|
@@ -25,10 +33,15 @@ const RadioGroup = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
|
25
33
|
}
|
|
26
34
|
}, /*#__PURE__*/React__default.createElement("fieldset", _extends({}, rest, {
|
|
27
35
|
ref: ref,
|
|
28
|
-
className: classes
|
|
29
|
-
|
|
36
|
+
className: classes,
|
|
37
|
+
"data-testid": dataTestId
|
|
38
|
+
}), /*#__PURE__*/React__default.createElement(FormFieldWrapper, {
|
|
39
|
+
helperText: helperText,
|
|
40
|
+
errorText: errorText !== null && errorText !== void 0 ? errorText : name && (fieldErrors === null || fieldErrors === void 0 ? void 0 : fieldErrors[name]),
|
|
41
|
+
"data-testid": dataTestId
|
|
42
|
+
}, /*#__PURE__*/React__default.createElement("legend", {
|
|
30
43
|
className: styles.legend
|
|
31
|
-
}, label), children));
|
|
44
|
+
}, label), children)));
|
|
32
45
|
});
|
|
33
46
|
|
|
34
47
|
export { RadioGroup as default };
|
|
@@ -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 = {"searchInput":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._QXNGb{display:inline-block;position:relative}._MqcBu._MqcBu{padding-left:36px;padding-right:36px;width:100%}._MqcBu._MqcBu:disabled+._ii2pk{fill-opacity:.6}._ii2pk{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._ii2pk._D6C02{z-index:20}._QJycW{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._QJycW:hover{cursor:pointer}._QJycW:hover>._O5NKv{fill:#32363a}._QJycW:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._O5NKv{fill:#515559}";
|
|
4
|
+
var styles = {"searchInput":"_QXNGb","searchInputInput":"_MqcBu","searchInputSearchIcon":"_ii2pk","usedWithinInputGroup":"_D6C02","searchInputClearButton":"_QJycW","searchInputClearButtonIcon":"_O5NKv"};
|
|
5
|
+
var stylesheet="._QXNGb{display:inline-block;position:relative}._MqcBu._MqcBu{padding-left:36px;padding-right:36px;width:100%}._MqcBu._MqcBu:disabled+._ii2pk{fill-opacity:.6}._ii2pk{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._ii2pk._D6C02{z-index:20}._QJycW{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._QJycW:hover{cursor:pointer}._QJycW:hover>._O5NKv{fill:#32363a}._QJycW:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._O5NKv{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 = {"sideBarNav":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._PaI0m{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._PaI0m._h9mty{width:69px;min-width:auto;max-width:none}._Ony9o{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._p7D4q{margin-bottom:12px;background-color:transparent!important}._p7D4q:hover{background-color:#efefef!important}._p7D4q:hover ._5gHxd{fill:#32363a}._p7D4q:hover ._uBJ0b{color:#32363a}._p7D4q:active{background-color:rgba(11,110,208,.12)!important}._p7D4q:active ._5gHxd{fill:#0854a1}._p7D4q:active ._uBJ0b{color:#0854a1}._p7D4q._XDOph{background-color:rgba(11,110,208,.08)!important}._p7D4q._XDOph ._5gHxd{fill:#0b6ed0}._p7D4q._XDOph ._uBJ0b{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._p7D4q._XDOph:hover{background-color:rgba(11,110,208,.15)!important}._p7D4q._XDOph:hover ._5gHxd{fill:#085caf}._p7D4q._XDOph:hover ._uBJ0b{color:#085caf}._p7D4q._XDOph:active{background-color:rgba(11,110,208,.12)!important}._p7D4q._XDOph:active ._5gHxd{fill:#0854a1}._p7D4q._XDOph:active ._uBJ0b{color:#0854a1}._sAMzq{border-radius:6px}._sAMzq ._5gHxd{display:block;fill:#515559}._yV6P-{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._q0gyY,._qOR6q{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._q0gyY ._5gHxd,._qOR6q ._5gHxd{fill:#515559}._q0gyY ._uBJ0b,._qOR6q ._uBJ0b{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._p7D4q.focus-visible,._p7D4q:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"sideBarNav":"_PaI0m","collapsed":"_h9mty","navItems":"_Ony9o","sidebarNavItem":"_p7D4q","icon":"_5gHxd","label":"_uBJ0b","selected":"_XDOph","sidebarNavItemIconButton":"_sAMzq","expandCollapseButtonContainer":"_yV6P-","navLink":"_qOR6q","iconButtonWithLabel":"_q0gyY"};
|
|
5
|
+
var stylesheet="._PaI0m{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._PaI0m._h9mty{width:69px;min-width:auto;max-width:none}._Ony9o{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._p7D4q{margin-bottom:12px;background-color:transparent!important}._p7D4q:hover{background-color:#efefef!important}._p7D4q:hover ._5gHxd{fill:#32363a}._p7D4q:hover ._uBJ0b{color:#32363a}._p7D4q:active{background-color:rgba(11,110,208,.12)!important}._p7D4q:active ._5gHxd{fill:#0854a1}._p7D4q:active ._uBJ0b{color:#0854a1}._p7D4q._XDOph{background-color:rgba(11,110,208,.08)!important}._p7D4q._XDOph ._5gHxd{fill:#0b6ed0}._p7D4q._XDOph ._uBJ0b{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._p7D4q._XDOph:hover{background-color:rgba(11,110,208,.15)!important}._p7D4q._XDOph:hover ._5gHxd{fill:#085caf}._p7D4q._XDOph:hover ._uBJ0b{color:#085caf}._p7D4q._XDOph:active{background-color:rgba(11,110,208,.12)!important}._p7D4q._XDOph:active ._5gHxd{fill:#0854a1}._p7D4q._XDOph:active ._uBJ0b{color:#0854a1}._sAMzq{border-radius:6px}._sAMzq ._5gHxd{display:block;fill:#515559}._yV6P-{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._q0gyY,._qOR6q{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._q0gyY ._5gHxd,._qOR6q ._5gHxd{fill:#515559}._q0gyY ._uBJ0b,._qOR6q ._uBJ0b{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._p7D4q.focus-visible,._p7D4q: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 styles = {"slider":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._Oa7X0{height:auto;width:200px;padding:5px 10px}._zI2gv{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._z8nV1{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._3HQTW,._z8nV1{position:absolute}._3HQTW{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._3HQTW:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._3HQTW.focus-visible,._3HQTW:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"slider":"_Oa7X0","track":"_zI2gv","fill":"_z8nV1","button":"_3HQTW"};
|
|
5
|
+
var stylesheet="._Oa7X0{height:auto;width:200px;padding:5px 10px}._zI2gv{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._z8nV1{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._3HQTW,._z8nV1{position:absolute}._3HQTW{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._3HQTW:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._3HQTW.focus-visible,._3HQTW: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 styles = {"switch":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._mT9Rg{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._mT9Rg._FlBru{cursor:not-allowed}._FZDQ9{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._FZDQ9:disabled{cursor:not-allowed}._FZDQ9:disabled~._MRs3M{opacity:.4}._FZDQ9:checked~._MRs3M{background-color:#0b6ed0}._FZDQ9:checked~._MRs3M:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._FZDQ9:hover:not(:disabled):not(:checked)~._MRs3M{background-color:#6a6a6a}._FZDQ9:hover:not(:disabled):checked~._MRs3M{background-color:#085caf}._FZDQ9:hover:not(:disabled):checked~._MRs3M:before{border-color:#085caf}._MRs3M{width:32px;background-color:#898989;border-radius:34px}._MRs3M,._MRs3M:before{height:16px;transition:.2s}._MRs3M:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._W18rG{color:#32363a;display:flex;align-items:center;cursor:pointer}._Ttmcl{cursor:auto;color:hsla(0,0%,53.7%,.4)}._uTOO7{margin-right:12px;flex-shrink:0}._FZDQ9.focus-visible~._MRs3M,._FZDQ9:focus-visible~._MRs3M{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"switch":"_mT9Rg","disabled":"_FlBru","input":"_FZDQ9","slider":"_MRs3M","label":"_W18rG","labelDisabled":"_Ttmcl","wrappedInput":"_uTOO7"};
|
|
5
|
+
var stylesheet="._mT9Rg{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._mT9Rg._FlBru{cursor:not-allowed}._FZDQ9{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._FZDQ9:disabled{cursor:not-allowed}._FZDQ9:disabled~._MRs3M{opacity:.4}._FZDQ9:checked~._MRs3M{background-color:#0b6ed0}._FZDQ9:checked~._MRs3M:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._FZDQ9:hover:not(:disabled):not(:checked)~._MRs3M{background-color:#6a6a6a}._FZDQ9:hover:not(:disabled):checked~._MRs3M{background-color:#085caf}._FZDQ9:hover:not(:disabled):checked~._MRs3M:before{border-color:#085caf}._MRs3M{width:32px;background-color:#898989;border-radius:34px}._MRs3M,._MRs3M:before{height:16px;transition:.2s}._MRs3M:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._W18rG{color:#32363a;display:flex;align-items:center;cursor:pointer}._Ttmcl{cursor:auto;color:hsla(0,0%,53.7%,.4)}._uTOO7{margin-right:12px;flex-shrink:0}._FZDQ9.focus-visible~._MRs3M,._FZDQ9:focus-visible~._MRs3M{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 styles = {"table":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._rU779{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._rU779 ._MhP6s:first-child,._rU779 ._MYyff:first-child{padding-left:16px}._UzE3I{font-size:12px}._MYyff{padding:12px 8px;text-align:left;font-weight:700}._-jJ85 ._YVmU8{border-top:1px solid #ededed}._-jJ85 ._YVmU8:hover{background-color:#fafafa}._YVmU8{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._MhP6s{padding:16px 8px;word-break:break-word;text-align:left}";
|
|
4
|
+
var styles = {"table":"_rU779","tableCell":"_MhP6s","tableHeaderCell":"_MYyff","tableHead":"_UzE3I","tableBody":"_-jJ85","tableRow":"_YVmU8"};
|
|
5
|
+
var stylesheet="._rU779{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._rU779 ._MhP6s:first-child,._rU779 ._MYyff:first-child{padding-left:16px}._UzE3I{font-size:12px}._MYyff{padding:12px 8px;text-align:left;font-weight:700}._-jJ85 ._YVmU8{border-top:1px solid #ededed}._-jJ85 ._YVmU8:hover{background-color:#fafafa}._YVmU8{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._MhP6s{padding:16px 8px;word-break:break-word;text-align:left}";
|
|
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 = {"tablist":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._gGgSs{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._gGgSs._jHoWx ._YlpOC{flex:1 1 0px;max-width:none}._YlpOC{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._YlpOC:hover{color:#32363a}._YlpOC._oZjTV{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._mOvxm{padding-top:32px}._mOvxm._BcF47{display:none}._YlpOC.focus-visible,._YlpOC:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4
|
+
var styles = {"tablist":"_gGgSs","grow":"_jHoWx","tab":"_YlpOC","selected":"_oZjTV","tabpanel":"_mOvxm","inactive":"_BcF47"};
|
|
5
|
+
var stylesheet="._gGgSs{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._gGgSs._jHoWx ._YlpOC{flex:1 1 0px;max-width:none}._YlpOC{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._YlpOC:hover{color:#32363a}._YlpOC._oZjTV{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._mOvxm{padding-top:32px}._mOvxm._BcF47{display:none}._YlpOC.focus-visible,._YlpOC: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 styles = {"tooltip":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._ZpqTy{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._ZpqTy._LvJe-{color:#32363a;background-color:#fff}._ulULt{opacity:1;pointer-events:all}._shk3e,._shk3e>div{position:absolute;width:8px;height:8px;background:inherit}._shk3e{visibility:hidden;z-index:2000}._shk3e>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._shk3e{bottom:-4px}[data-popper-placement^=top]>._shk3e>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._shk3e{left:-5px}[data-popper-placement^=right]>._shk3e>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._shk3e{top:-5px}[data-popper-placement^=bottom]>._shk3e>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._shk3e{right:-4px}[data-popper-placement^=left]>._shk3e>div{border-bottom-color:transparent;border-left-color:transparent}._VEUgZ{position:absolute}[data-popper-placement^=top]>._VEUgZ{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._VEUgZ{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._VEUgZ{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._VEUgZ{top:0;right:-13px;width:17px;height:100%}";
|
|
4
|
+
var styles = {"tooltip":"_ZpqTy","lightTheme":"_LvJe-","visible":"_ulULt","arrow":"_shk3e","offsetBackplate":"_VEUgZ"};
|
|
5
|
+
var stylesheet="._ZpqTy{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._ZpqTy._LvJe-{color:#32363a;background-color:#fff}._ulULt{opacity:1;pointer-events:all}._shk3e,._shk3e>div{position:absolute;width:8px;height:8px;background:inherit}._shk3e{visibility:hidden;z-index:2000}._shk3e>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._shk3e{bottom:-4px}[data-popper-placement^=top]>._shk3e>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._shk3e{left:-5px}[data-popper-placement^=right]>._shk3e>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._shk3e{top:-5px}[data-popper-placement^=bottom]>._shk3e>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._shk3e{right:-4px}[data-popper-placement^=left]>._shk3e>div{border-bottom-color:transparent;border-left-color:transparent}._VEUgZ{position:absolute}[data-popper-placement^=top]>._VEUgZ{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._VEUgZ{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._VEUgZ{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._VEUgZ{top:0;right:-13px;width:17px;height:100%}";
|
|
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 = {"colorPickerBtnColor":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._uSOtz{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._J3SGm{margin-right:-12px;margin-left:4px}._AllgN{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._HiUUv{margin:8px 8px 0;display:flex}._4yaC-,._RPME-{margin-left:4px}._iJjIP{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._-K59S{margin:0 4px 4px 0}._-K59S:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._kus1P{margin:4px 8px 8px}._rRtLn{position:relative;width:96px;height:96px;outline:0}._rRtLn.focus-visible ._-LeCI,._rRtLn:focus-visible ._-LeCI{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._vVFlc{background:linear-gradient(90deg,#fff,transparent)}._edhZm,._vVFlc{position:absolute;top:0;right:0;bottom:0;left:0}._edhZm{background:linear-gradient(0deg,#000,transparent)}._-LeCI{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._Bj-1R{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._Bj-1R.focus-visible ._0icRB,._Bj-1R:focus-visible ._0icRB{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._0icRB{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._OKQbt{position:relative;width:16px;height:96px}._sN9AP{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._hMs4v,._sN9AP{position:absolute}._hMs4v{top:0;right:0;bottom:0;left:0;outline:0}._hMs4v.focus-visible ._sN9AP,._hMs4v:focus-visible ._sN9AP{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2nzJj{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._g28kj{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._g28kj.focus-visible,._g28kj:focus-visible{outline:none}._g28kj.focus-visible,._g28kj:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._fnmR5{display:flex}._fnmR5 ._t0Q63{position:relative;flex-shrink:0;width:26px;height:26px}._fnmR5 ._hCPVa{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._fnmR5 ._kYRiW{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
|
|
4
|
+
var styles = {"colorPickerBtnColor":"_uSOtz","colorPickerBtnIcon":"_J3SGm","colorPicker":"_AllgN","colorPickerSliderContainer":"_HiUUv","colorPickerHue":"_4yaC-","colorPickerAlpha":"_RPME-","colorPickerSwatches":"_iJjIP","colorPickerSwatch":"_-K59S","colorPickerHex":"_kus1P","saturation":"_rRtLn","saturationCircle":"_-LeCI","saturationWhite":"_vVFlc","saturationBlack":"_edhZm","hue":"_Bj-1R","hueSlider":"_0icRB","alpha":"_OKQbt","alphaSlider":"_sN9AP","alphaGradient":"_hMs4v","alphaCheckerboard":"_2nzJj","swatch":"_g28kj","hex":"_fnmR5","hexSwatch":"_t0Q63","hexSwatchColor":"_hCPVa","hexInput":"_kYRiW"};
|
|
5
|
+
var stylesheet="._uSOtz{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._J3SGm{margin-right:-12px;margin-left:4px}._AllgN{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._HiUUv{margin:8px 8px 0;display:flex}._4yaC-,._RPME-{margin-left:4px}._iJjIP{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._-K59S{margin:0 4px 4px 0}._-K59S:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._kus1P{margin:4px 8px 8px}._rRtLn{position:relative;width:96px;height:96px;outline:0}._rRtLn.focus-visible ._-LeCI,._rRtLn:focus-visible ._-LeCI{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._vVFlc{background:linear-gradient(90deg,#fff,transparent)}._edhZm,._vVFlc{position:absolute;top:0;right:0;bottom:0;left:0}._edhZm{background:linear-gradient(0deg,#000,transparent)}._-LeCI{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._Bj-1R{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._Bj-1R.focus-visible ._0icRB,._Bj-1R:focus-visible ._0icRB{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._0icRB{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._OKQbt{position:relative;width:16px;height:96px}._sN9AP{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._hMs4v,._sN9AP{position:absolute}._hMs4v{top:0;right:0;bottom:0;left:0;outline:0}._hMs4v.focus-visible ._sN9AP,._hMs4v:focus-visible ._sN9AP{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2nzJj{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._g28kj{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._g28kj.focus-visible,._g28kj:focus-visible{outline:none}._g28kj.focus-visible,._g28kj:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._fnmR5{display:flex}._fnmR5 ._t0Q63{position:relative;flex-shrink:0;width:26px;height:26px}._fnmR5 ._hCPVa{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._fnmR5 ._kYRiW{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius: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 };
|