@qualtrics/ui-react 2.64.0 → 2.65.1
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 +20 -0
- package/dist/__shared/cjs/{index-9309d5c6.js → index-ca690be8.js} +169 -160
- package/dist/__shared/cjs/{index-13126351.js → index-d94c7702.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/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip.js +2 -7
- 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/design-tokens/less/typography.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 +34 -2
- package/dist/index.es.js +4 -1
- package/dist/index.js +5 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +40 -8
- 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/InputField.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- 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/TimePicker.js +2 -1
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +12 -2
- package/dist/next/index.js +84 -52
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/Translation/TranslationProvider.js +28 -18
- package/dist/utils/Translation/index.js +2 -2
- package/dist/utils/Translation/useTranslation.js +8 -6
- package/next/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"toolbar":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._-CWbi,._LXJlb{display:flex}._-CWbi{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._mlsZw{width:69px;min-width:auto;max-width:none}._KEwz6{width:100%}._rVKLl{margin-bottom:12px;background-color:transparent!important}._rVKLl:hover{background-color:rgba(11,110,208,.08)!important}._rVKLl:hover>svg{fill:#085caf}._rVKLl:hover>span{color:#085caf}._rVKLl:active{background-color:rgba(11,110,208,.12)!important}._rVKLl:active>svg{fill:#0854a1}._rVKLl:active>span{color:#0854a1}._rVKLl._Nwsls{background-color:rgba(11,110,208,.08)!important}._rVKLl._Nwsls>svg{fill:#0b6ed0}._rVKLl._Nwsls>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._rVKLl._Nwsls:hover{background-color:rgba(11,110,208,.08)!important}._rVKLl._Nwsls:hover>svg{fill:#085caf}._rVKLl._Nwsls:hover>span{color:#085caf}._rVKLl._Nwsls:active{background-color:rgba(11,110,208,.12)!important}._rVKLl._Nwsls:active>svg{fill:#0854a1}._rVKLl._Nwsls:active>span{color:#0854a1}._uWu8f{border-radius:6px}._uWu8f>._6CFmm{display:block;fill:#515559}._70AoD{margin-top:auto;margin-bottom:0}._eSieh{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._eSieh:hover>._H0PFv{opacity:1}._pF--R{width:0;border-width:0;padding:0}._Upfiu{border-radius:4px;min-width:100%;min-height:100%;outline:none}._Bvgzw{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._H0PFv{opacity:0}._8BJLD,._Bvgzw._6bBD7._6bBD7,._H0PFv:hover{opacity:1}._Bvgzw._DNLMB._DNLMB{opacity:0}._Bvgzw>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._Bvgzw>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._Bvgzw>span:hover>svg{fill:#fff}._Bvgzw>span:active{background-color:#0854a1;border-color:#0854a1}._Bvgzw>span:active>svg{fill:#fff}._Bvgzw>span>svg{fill:#515559;border-radius:50%}._Upfiu._i4Mm5{display:none!important}._hdduI{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._6qeIa{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._EU-r-{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._AVXlf{fill:#515559}._IP--o{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._EU-r-.focus-visible,._EU-r-:focus-visible,._hdduI.focus-visible,._hdduI:focus-visible,._Upfiu.focus-visible,._Upfiu:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Bvgzw.focus-visible,._Bvgzw:focus-visible{border-color:#0a3f88}._Bvgzw:active>span{background-color:#0854a1;border-color:#0854a1}._Bvgzw:active>span>svg{fill:#fff}._H0PFv.focus-visible,._H0PFv:focus-visible{opacity:1}";
|
|
4
|
+
var styles = {"toolbar":"_LXJlb","toolbarNav":"_-CWbi","toolbarNavCollapsed":"_mlsZw","toolbarTabs":"_KEwz6","toolbarTab":"_rVKLl","selected":"_Nwsls","toolbarTabIconButton":"_uWu8f","icon":"_6CFmm","tabsExpandCollapseButton":"_70AoD","toolbarPanels":"_eSieh","toolbarPanelExpandCollapseButtonDefaultHidden":"_H0PFv","toolbarPanelsCollapsed":"_pF--R","toolbarPanel":"_Upfiu","toolbarPanelExpandCollapseButton":"_Bvgzw","toolbarPanelExpandCollapseButtonDefaultShown":"_8BJLD","overrideShow":"_6bBD7","overrideHide":"_DNLMB","notSelected":"_i4Mm5","buttonWithLabel":"_hdduI","buttonWithLabelLabel":"_6qeIa","iconButtonWithLabel":"_EU-r-","iconButtonWithLabelIcon":"_AVXlf","iconButtonWithLabelLabel":"_IP--o"};
|
|
5
|
+
var stylesheet="._-CWbi,._LXJlb{display:flex}._-CWbi{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._mlsZw{width:69px;min-width:auto;max-width:none}._KEwz6{width:100%}._rVKLl{margin-bottom:12px;background-color:transparent!important}._rVKLl:hover{background-color:rgba(11,110,208,.08)!important}._rVKLl:hover>svg{fill:#085caf}._rVKLl:hover>span{color:#085caf}._rVKLl:active{background-color:rgba(11,110,208,.12)!important}._rVKLl:active>svg{fill:#0854a1}._rVKLl:active>span{color:#0854a1}._rVKLl._Nwsls{background-color:rgba(11,110,208,.08)!important}._rVKLl._Nwsls>svg{fill:#0b6ed0}._rVKLl._Nwsls>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._rVKLl._Nwsls:hover{background-color:rgba(11,110,208,.08)!important}._rVKLl._Nwsls:hover>svg{fill:#085caf}._rVKLl._Nwsls:hover>span{color:#085caf}._rVKLl._Nwsls:active{background-color:rgba(11,110,208,.12)!important}._rVKLl._Nwsls:active>svg{fill:#0854a1}._rVKLl._Nwsls:active>span{color:#0854a1}._uWu8f{border-radius:6px}._uWu8f>._6CFmm{display:block;fill:#515559}._70AoD{margin-top:auto;margin-bottom:0}._eSieh{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._eSieh:hover>._H0PFv{opacity:1}._pF--R{width:0;border-width:0;padding:0}._Upfiu{border-radius:4px;min-width:100%;min-height:100%;outline:none}._Bvgzw{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._H0PFv{opacity:0}._8BJLD,._Bvgzw._6bBD7._6bBD7,._H0PFv:hover{opacity:1}._Bvgzw._DNLMB._DNLMB{opacity:0}._Bvgzw>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._Bvgzw>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._Bvgzw>span:hover>svg{fill:#fff}._Bvgzw>span:active{background-color:#0854a1;border-color:#0854a1}._Bvgzw>span:active>svg{fill:#fff}._Bvgzw>span>svg{fill:#515559;border-radius:50%}._Upfiu._i4Mm5{display:none!important}._hdduI{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._6qeIa{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._EU-r-{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._AVXlf{fill:#515559}._IP--o{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._EU-r-.focus-visible,._EU-r-:focus-visible,._hdduI.focus-visible,._hdduI:focus-visible,._Upfiu.focus-visible,._Upfiu:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Bvgzw.focus-visible,._Bvgzw:focus-visible{border-color:#0a3f88}._Bvgzw:active>span{background-color:#0854a1;border-color:#0854a1}._Bvgzw:active>span>svg{fill:#fff}._H0PFv.focus-visible,._H0PFv:focus-visible{opacity:1}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -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 = {"font-size-12":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._oiCP-{font-size:.75rem!important}._0qbh6{font-size:.875rem!important}._1u7O4{font-size:1rem!important}._K1IYH{font-size:1.125rem!important}._f-Oh5{font-size:1.25rem!important}._-zgx7{font-size:1.5rem!important}._juxLj{font-size:1.75rem!important}._pveE7{font-size:2.25rem!important}._QdO8y{font-size:2.5rem!important}._9XwSx{font-size:3rem!important}._nDYuX{font-size:4rem!important}._siRLJ{font-size:4.5rem!important}._8wto7{line-height:1rem!important}._D1oD0{line-height:1.25rem!important}._TjKGP{line-height:1.5rem!important}._MSpVe{line-height:1.75rem!important}._TM25Z{line-height:2rem!important}._v7-7W{line-height:2.188rem!important}._1hWfu{line-height:2.5rem!important}._vM1Rq{line-height:2.75rem!important}._rawjU{line-height:3.125rem!important}._0xl-1{line-height:4.25rem!important}._WCqDB{line-height:4.5rem!important}._Unu63{font-weight:100!important}._XhC6a{font-weight:200!important}._1vIqX{font-weight:300!important}._EhKXS{font-weight:400!important}._KGYX4{font-weight:500!important}._hjuT9{font-weight:600!important}._oK5-v{font-weight:700!important}._E0y0l{font-weight:800!important}._0FlDD{font-weight:900!important}._WJfnX{font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._MxEn2{font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._ckKWF{font-family:\"72Condensed\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._Jn7Yg{font-family:\"72Mono\",monospace!important}._d6Zzs{font-weight:700!important}._d6Zzs,._EkfTU{font-size:1rem!important;line-height:1.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._EkfTU{font-weight:400!important}._fSpO-{font-weight:300!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._fSpO-,._QPcrw{font-size:4.5rem!important;line-height:4.5rem!important;color:#2a2a2a!important}._QPcrw{font-weight:700!important;font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._Yr7D7{font-weight:400!important}._MUqxP,._Yr7D7{font-size:4rem!important;line-height:4.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._MUqxP{font-weight:700!important}._SsgHK{font-weight:400!important}._4f5Yl,._SsgHK{font-size:3rem!important;line-height:3.125rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._4f5Yl{font-weight:700!important}._eLyik{font-weight:400!important}._eLyik,._TBJ8Q{font-size:2.5rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._TBJ8Q{font-weight:700!important}._Zkuo4{font-weight:400!important}._gwtbR,._Zkuo4{font-size:4rem!important;line-height:4.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._gwtbR{font-weight:700!important}._LXhNR{font-weight:400!important}._-H9sK,._LXhNR{font-size:3rem!important;line-height:3.125rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._-H9sK{font-weight:700!important}._3U7Ec{font-weight:400!important}._3U7Ec,._vE-gw{font-size:2.5rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._vE-gw{font-weight:700!important}._Lhq6P{font-weight:400!important}._Lhq6P,._Qrcc5{font-size:2.25rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._Qrcc5{font-weight:700!important}._N7C5S{font-weight:400!important}._MipxQ,._N7C5S{font-size:1.75rem!important;line-height:2.188rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._MipxQ{font-weight:700!important}._emQhL{font-weight:400!important}._emQhL,._KY-jm{font-size:1.5rem!important;line-height:2rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._KY-jm{font-weight:700!important}._Wo1ML{font-weight:400!important}._S21nX,._Wo1ML{font-size:1.25rem!important;line-height:1.75rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._S21nX{font-weight:700!important}._-VXJq{font-weight:400!important}._-VXJq,._ycDXB{font-size:1.125rem!important;line-height:1.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._ycDXB{font-weight:700!important}._zll1z{font-weight:400!important}._MpvhZ,._zll1z{font-size:1rem!important;line-height:1.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._MpvhZ{font-weight:700!important}._Jf-cw{font-weight:400!important}._Jf-cw,._lTlQy{font-size:.75rem!important;line-height:1rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#595959!important}._DPJIn,._lTlQy{font-weight:700!important}._DPJIn{font-size:.875rem!important;font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._3SIPn,._DPJIn{line-height:1.25rem!important;color:#2a2a2a!important}._3SIPn{font-size:1rem!important;font-weight:400!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._KxaOA{color:#ba4f0d!important}._JNnQ4,._KxaOA{font-size:.75rem!important;font-weight:400!important;line-height:1rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._JNnQ4{color:#da1c3d!important}";
|
|
4
|
+
var styles = {"font-size-12":"_oiCP-","font-size-14":"_0qbh6","font-size-16":"_1u7O4","font-size-18":"_K1IYH","font-size-20":"_f-Oh5","font-size-24":"_-zgx7","font-size-28":"_juxLj","font-size-36":"_pveE7","font-size-40":"_QdO8y","font-size-48":"_9XwSx","font-size-64":"_nDYuX","font-size-72":"_siRLJ","line-height-16":"_8wto7","line-height-20":"_D1oD0","line-height-24":"_TjKGP","line-height-28":"_MSpVe","line-height-32":"_TM25Z","line-height-35":"_v7-7W","line-height-40":"_1hWfu","line-height-44":"_vM1Rq","line-height-50":"_rawjU","line-height-68":"_0xl-1","line-height-72":"_WCqDB","font-weight-thin":"_Unu63","font-weight-extralight":"_XhC6a","font-weight-light":"_1vIqX","font-weight-regular":"_EhKXS","font-weight-medium":"_KGYX4","font-weight-demibold":"_hjuT9","font-weight-bold":"_oK5-v","font-weight-extrabold":"_E0y0l","font-weight-black":"_0FlDD","font-family-default":"_WJfnX","font-family-default-duplex":"_MxEn2","font-family-default-condensed":"_ckKWF","font-family-code":"_Jn7Yg","body-text-bold":"_d6Zzs","body-text-regular":"_EkfTU","data-viz-large-number-light":"_fSpO-","data-viz-large-number-semibold":"_QPcrw","display-body-primary-regular":"_Yr7D7","display-body-primary-bold":"_MUqxP","display-body-secondary-regular":"_SsgHK","display-body-secondary-bold":"_4f5Yl","display-body-tertiary-regular":"_eLyik","display-body-tertiary-bold":"_TBJ8Q","display-heading-primary-regular":"_Zkuo4","display-heading-primary-bold":"_gwtbR","display-heading-secondary-regular":"_LXhNR","display-heading-secondary-bold":"_-H9sK","display-heading-tertiary-regular":"_3U7Ec","display-heading-tertiary-bold":"_vE-gw","heading-1-regular":"_Lhq6P","heading-1-bold":"_Qrcc5","heading-2-regular":"_N7C5S","heading-2-bold":"_MipxQ","heading-3-regular":"_emQhL","heading-3-bold":"_KY-jm","heading-4-regular":"_Wo1ML","heading-4-bold":"_S21nX","heading-5-regular":"_-VXJq","heading-5-bold":"_ycDXB","heading-6-regular":"_zll1z","heading-6-bold":"_MpvhZ","helper-text-regular":"_Jf-cw","helper-text-bold":"_lTlQy","input-label-bold":"_DPJIn","input-label-regular":"_3SIPn","warning-text-regular":"_KxaOA","error-text-regular":"_JNnQ4"};
|
|
5
|
+
var stylesheet="._oiCP-{font-size:.75rem!important}._0qbh6{font-size:.875rem!important}._1u7O4{font-size:1rem!important}._K1IYH{font-size:1.125rem!important}._f-Oh5{font-size:1.25rem!important}._-zgx7{font-size:1.5rem!important}._juxLj{font-size:1.75rem!important}._pveE7{font-size:2.25rem!important}._QdO8y{font-size:2.5rem!important}._9XwSx{font-size:3rem!important}._nDYuX{font-size:4rem!important}._siRLJ{font-size:4.5rem!important}._8wto7{line-height:1rem!important}._D1oD0{line-height:1.25rem!important}._TjKGP{line-height:1.5rem!important}._MSpVe{line-height:1.75rem!important}._TM25Z{line-height:2rem!important}._v7-7W{line-height:2.188rem!important}._1hWfu{line-height:2.5rem!important}._vM1Rq{line-height:2.75rem!important}._rawjU{line-height:3.125rem!important}._0xl-1{line-height:4.25rem!important}._WCqDB{line-height:4.5rem!important}._Unu63{font-weight:100!important}._XhC6a{font-weight:200!important}._1vIqX{font-weight:300!important}._EhKXS{font-weight:400!important}._KGYX4{font-weight:500!important}._hjuT9{font-weight:600!important}._oK5-v{font-weight:700!important}._E0y0l{font-weight:800!important}._0FlDD{font-weight:900!important}._WJfnX{font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._MxEn2{font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._ckKWF{font-family:\"72Condensed\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._Jn7Yg{font-family:\"72Mono\",monospace!important}._d6Zzs{font-weight:700!important}._d6Zzs,._EkfTU{font-size:1rem!important;line-height:1.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._EkfTU{font-weight:400!important}._fSpO-{font-weight:300!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._fSpO-,._QPcrw{font-size:4.5rem!important;line-height:4.5rem!important;color:#2a2a2a!important}._QPcrw{font-weight:700!important;font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._Yr7D7{font-weight:400!important}._MUqxP,._Yr7D7{font-size:4rem!important;line-height:4.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._MUqxP{font-weight:700!important}._SsgHK{font-weight:400!important}._4f5Yl,._SsgHK{font-size:3rem!important;line-height:3.125rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._4f5Yl{font-weight:700!important}._eLyik{font-weight:400!important}._eLyik,._TBJ8Q{font-size:2.5rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._TBJ8Q{font-weight:700!important}._Zkuo4{font-weight:400!important}._gwtbR,._Zkuo4{font-size:4rem!important;line-height:4.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._gwtbR{font-weight:700!important}._LXhNR{font-weight:400!important}._-H9sK,._LXhNR{font-size:3rem!important;line-height:3.125rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._-H9sK{font-weight:700!important}._3U7Ec{font-weight:400!important}._3U7Ec,._vE-gw{font-size:2.5rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._vE-gw{font-weight:700!important}._Lhq6P{font-weight:400!important}._Lhq6P,._Qrcc5{font-size:2.25rem!important;line-height:2.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._Qrcc5{font-weight:700!important}._N7C5S{font-weight:400!important}._MipxQ,._N7C5S{font-size:1.75rem!important;line-height:2.188rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._MipxQ{font-weight:700!important}._emQhL{font-weight:400!important}._emQhL,._KY-jm{font-size:1.5rem!important;line-height:2rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._KY-jm{font-weight:700!important}._Wo1ML{font-weight:400!important}._S21nX,._Wo1ML{font-size:1.25rem!important;line-height:1.75rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._S21nX{font-weight:700!important}._-VXJq{font-weight:400!important}._-VXJq,._ycDXB{font-size:1.125rem!important;line-height:1.5rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._ycDXB{font-weight:700!important}._zll1z{font-weight:400!important}._MpvhZ,._zll1z{font-size:1rem!important;line-height:1.25rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#2a2a2a!important}._MpvhZ{font-weight:700!important}._Jf-cw{font-weight:400!important}._Jf-cw,._lTlQy{font-size:.75rem!important;line-height:1rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important;color:#595959!important}._DPJIn,._lTlQy{font-weight:700!important}._DPJIn{font-size:.875rem!important;font-family:\"72Duplex\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._3SIPn,._DPJIn{line-height:1.25rem!important;color:#2a2a2a!important}._3SIPn{font-size:1rem!important;font-weight:400!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._KxaOA{color:#ba4f0d!important}._JNnQ4,._KxaOA{font-size:.75rem!important;font-weight:400!important;line-height:1rem!important;font-family:\"72\",Helvetica Neue,Helvetica,Arial,sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans!important}._JNnQ4{color:#da1c3d!important}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"overlay":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._osV1p{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._l3-Bd{visibility:hidden}._tlCA-{position:fixed}._VXXNY{overflow:hidden!important}";
|
|
4
|
+
var styles = {"overlay":"_osV1p","hidden":"_l3-Bd","anchoredToBody":"_tlCA-","blockedScroll":"_VXXNY"};
|
|
5
|
+
var stylesheet="._osV1p{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._l3-Bd{visibility:hidden}._tlCA-{position:fixed}._VXXNY{overflow:hidden!important}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var classes = {"ariaLiveElement":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._nuDmH{position:absolute;top:-10000px;left:-10000px}";
|
|
4
|
+
var classes = {"ariaLiveElement":"_nuDmH"};
|
|
5
|
+
var stylesheet="._nuDmH{position:absolute;top:-10000px;left:-10000px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { classes as default, stylesheet };
|
package/dist/icons/Icon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"icon":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._-zPWo{flex-shrink:0}";
|
|
4
|
+
var styles = {"icon":"_-zPWo"};
|
|
5
|
+
var stylesheet="._-zPWo{flex-shrink:0}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
package/dist/icons/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var icons_index = require('../__shared/cjs/index-
|
|
5
|
+
var icons_index = require('../__shared/cjs/index-d94c7702.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/extends');
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
package/dist/index.d.ts
CHANGED
|
@@ -509,6 +509,11 @@ export declare interface ConfigPaneProps {
|
|
|
509
509
|
'data-testid'?: string;
|
|
510
510
|
}
|
|
511
511
|
|
|
512
|
+
export declare const createTranslationProvider: <T extends MessageKeyType>() => {
|
|
513
|
+
TranslationProvider: React_2.FunctionComponent<TranslationProviderProps<T>>;
|
|
514
|
+
useTranslationContext: () => TranslationContextType<T>;
|
|
515
|
+
};
|
|
516
|
+
|
|
512
517
|
declare const _default: {
|
|
513
518
|
"chat.inputLabel": string;
|
|
514
519
|
"chat.sendMessageButtonLabel": string;
|
|
@@ -2094,7 +2099,7 @@ export declare interface LoadingSpinnerProps extends Omit<React_2.AllHTMLAttribu
|
|
|
2094
2099
|
[prop: string]: any;
|
|
2095
2100
|
}
|
|
2096
2101
|
|
|
2097
|
-
declare type LocalizedText = Partial<Record<
|
|
2102
|
+
declare type LocalizedText<T extends MessageKeyType> = Partial<Record<T, string>>;
|
|
2098
2103
|
|
|
2099
2104
|
export declare const LogicEditor: React_2.ForwardRefExoticComponent<LogicEditorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2100
2105
|
|
|
@@ -2259,6 +2264,8 @@ export declare interface MenuProps extends Omit<React_2.AllHTMLAttributes<HTMLBu
|
|
|
2259
2264
|
|
|
2260
2265
|
declare type MessageKey = keyof typeof _default | CountryCode;
|
|
2261
2266
|
|
|
2267
|
+
declare type MessageKeyType = string;
|
|
2268
|
+
|
|
2262
2269
|
export declare const Modal: React_2.ForwardRefExoticComponent<ModalProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2263
2270
|
|
|
2264
2271
|
export declare const ModalBody: React_2.ForwardRefExoticComponent<ModalBodyProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -3329,9 +3336,24 @@ export declare interface TooltipProps extends Omit<React_2.AllHTMLAttributes<HTM
|
|
|
3329
3336
|
* @internal
|
|
3330
3337
|
*/
|
|
3331
3338
|
unstable_contentKey?: string;
|
|
3339
|
+
/**
|
|
3340
|
+
* @internal
|
|
3341
|
+
* Internal property to control whether the tooltip should be removed from the DOM when hidden.
|
|
3342
|
+
* @defaultValue true
|
|
3343
|
+
*/
|
|
3344
|
+
persistentInDom?: boolean;
|
|
3332
3345
|
[prop: string]: any;
|
|
3333
3346
|
}
|
|
3334
3347
|
|
|
3348
|
+
declare interface TranslationContextType<T extends MessageKeyType> {
|
|
3349
|
+
localizedText?: LocalizedText<T>;
|
|
3350
|
+
}
|
|
3351
|
+
|
|
3352
|
+
export declare interface TranslationProviderProps<T extends MessageKeyType> {
|
|
3353
|
+
localizedText?: LocalizedText<T>;
|
|
3354
|
+
children?: ReactNode;
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3335
3357
|
export declare const UIProvider: React_2.ForwardRefExoticComponent<UIProviderProps & React_2.RefAttributes<unknown>>;
|
|
3336
3358
|
|
|
3337
3359
|
export declare interface UIProviderProps {
|
|
@@ -3339,7 +3361,7 @@ export declare interface UIProviderProps {
|
|
|
3339
3361
|
portalTarget?: HTMLElement;
|
|
3340
3362
|
/** Config with translated messages to be used for components that require them. See the [Localization Guide](/guides/localization) for more info on configuration. */
|
|
3341
3363
|
config?: {
|
|
3342
|
-
localizedText?: LocalizedText
|
|
3364
|
+
localizedText?: LocalizedText<MessageKey>;
|
|
3343
3365
|
};
|
|
3344
3366
|
/** Your app */
|
|
3345
3367
|
children?: ReactNode;
|
|
@@ -3353,6 +3375,16 @@ export declare function useResponsiveValue<V, C = typeof DEFAULT_BREAKPOINTS>(va
|
|
|
3353
3375
|
[K in keyof V]: K extends keyof C ? V[K] : never;
|
|
3354
3376
|
}, breakpoints?: C, unit?: 'em' | 'px'): V[keyof V];
|
|
3355
3377
|
|
|
3378
|
+
/**
|
|
3379
|
+
* Returns a translate function.
|
|
3380
|
+
* @returns A translate function.
|
|
3381
|
+
*/
|
|
3382
|
+
export declare const useTranslationFactory: <T extends MessageKeyType>(fallback: LocalizedText<T>, useTranslationContextHook: () => TranslationContextType<T>) => {
|
|
3383
|
+
translate: (key: T, placeholders?: {
|
|
3384
|
+
[key: string]: string | number;
|
|
3385
|
+
}) => string;
|
|
3386
|
+
};
|
|
3387
|
+
|
|
3356
3388
|
declare type ValuesOf<T> = T extends {
|
|
3357
3389
|
[K in keyof T]: infer U;
|
|
3358
3390
|
} ? U : never;
|
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import './components/index.js';
|
|
2
2
|
import './hooks/index.js';
|
|
3
3
|
export { DEFAULT_BREAKPOINTS } from './utils/constants.js';
|
|
4
|
+
import './utils/Translation/index.js';
|
|
4
5
|
export { default as useBreakpoints } from './hooks/useBreakpoints/useBreakpoints.js';
|
|
5
6
|
export { default as useResponsiveValue } from './hooks/useResponsiveValue/useResponsiveValue.js';
|
|
6
7
|
export { default as useIsTruncated } from './hooks/useIsTruncated/useIsTruncated.js';
|
|
8
|
+
export { useTranslationFactory } from './utils/Translation/useTranslation.js';
|
|
9
|
+
export { createTranslationProvider } from './utils/Translation/TranslationProvider.js';
|
|
7
10
|
export { Accordion } from './components/Accordion/Accordion.js';
|
|
8
11
|
export { AccordionSection } from './components/Accordion/AccordionSection.js';
|
|
9
12
|
export { AccordionHeader } from './components/Accordion/AccordionHeader.js';
|
|
@@ -102,6 +105,6 @@ export { default as deprecated_ToolbarPanel } from './components/deprecated_Tool
|
|
|
102
105
|
|
|
103
106
|
/* eslint-disable camelcase */
|
|
104
107
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
105
|
-
const version = '2.
|
|
108
|
+
const version = '2.65.1';
|
|
106
109
|
|
|
107
110
|
export { version };
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./__shared/cjs/index-
|
|
5
|
+
var index = require('./__shared/cjs/index-ca690be8.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('./__shared/cjs/index-
|
|
8
|
+
require('./__shared/cjs/index-d94c7702.js');
|
|
9
9
|
require('@babel/runtime-corejs3/helpers/extends');
|
|
10
10
|
require('react-popper');
|
|
11
11
|
require('@popperjs/core');
|
|
@@ -21,7 +21,7 @@ require('throttle-debounce');
|
|
|
21
21
|
|
|
22
22
|
/* eslint-disable camelcase */
|
|
23
23
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
24
|
-
const version = '2.
|
|
24
|
+
const version = '2.65.1';
|
|
25
25
|
|
|
26
26
|
exports.Accordion = index.Accordion;
|
|
27
27
|
exports.AccordionHeader = index.AccordionHeader;
|
|
@@ -112,6 +112,7 @@ exports.TableRow = index.TableRow;
|
|
|
112
112
|
exports.Tabs = index.Tabs;
|
|
113
113
|
exports.Tooltip = index.Tooltip;
|
|
114
114
|
exports.UIProvider = index.UIProvider;
|
|
115
|
+
exports.createTranslationProvider = index.createTranslationProvider;
|
|
115
116
|
exports.deprecated_ColorPicker = index.ColorPicker$1;
|
|
116
117
|
exports.deprecated_DEFAULT_SWATCH_COLORS = index.DEFAULT_SWATCH_COLORS;
|
|
117
118
|
exports.deprecated_NumberStepper = index.NumberStepper$1;
|
|
@@ -128,4 +129,5 @@ exports.deprecated_ToolbarTabs = index.ToolbarTabs;
|
|
|
128
129
|
exports.useBreakpoints = index.useBreakpoints;
|
|
129
130
|
exports.useIsTruncated = index.useIsTruncated;
|
|
130
131
|
exports.useResponsiveValue = index.useResponsiveValue;
|
|
132
|
+
exports.useTranslationFactory = index.useTranslationFactory;
|
|
131
133
|
exports.version = version;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"advancedTable":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._07QbE{overflow:auto;position:relative;max-width:100%;max-height:100%}._07QbE,._p7zRT{background-color:#fff}._p7zRT{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._Pnd5n{margin-bottom:4px}._rLANI{position:-webkit-sticky;position:sticky;top:0;z-index:100}._msJoE{display:flex}._msJoE:focus{outline:none}._msJoE.focus-visible ._IY8Lx:after,._msJoE:focus-visible ._IY8Lx:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._msJoE.focus-visible ._IY8Lx:last-of-type:after,._msJoE:focus-visible ._IY8Lx:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._msJoE.focus-visible ._IY8Lx:first-of-type:after,._msJoE:focus-visible ._IY8Lx:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._msJoE.focus-visible ._IY8Lx._3b35X:after,._msJoE:focus-visible ._IY8Lx._3b35X:after{right:-3px;bottom:1px}._WfMwk{padding-right:3px}._Rwuh6{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._LN5rt{display:flex}._LN5rt._Hxt-k ._IY8Lx,._LN5rt._Hxt-k ._serVJ{cursor:pointer}._LN5rt._iykZ7 ._IY8Lx,._LN5rt._iykZ7 ._serVJ{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._LN5rt._iykZ7 ._IY8Lx._3b35X,._LN5rt._iykZ7 ._serVJ._3b35X{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._LN5rt._iykZ7 ._IY8Lx._3b35X ._3IpZF,._LN5rt._iykZ7 ._IY8Lx._3b35X ._-7Qhe,._LN5rt._iykZ7 ._IY8Lx._3b35X ._serVJ,._LN5rt._iykZ7 ._serVJ._3b35X ._3IpZF,._LN5rt._iykZ7 ._serVJ._3b35X ._-7Qhe,._LN5rt._iykZ7 ._serVJ._3b35X ._serVJ{background-color:rgba(11,110,208,.08)}._LN5rt._Hxt-k:hover:not(._iykZ7) ._IY8Lx,._LN5rt._Hxt-k:hover:not(._iykZ7) ._serVJ{background-color:#f9f9f9}._LN5rt._Hxt-k:active:not(._iykZ7):not(._LN5rt._Hxt-k:active:not(._iykZ7):has(._-7Qhe:active)) ._IY8Lx,._LN5rt._Hxt-k:active:not(._iykZ7):not(._LN5rt._Hxt-k:active:not(._iykZ7):has(._-7Qhe:active)) ._serVJ{background-color:#f3f3f3}._LN5rt:focus{outline:none}._LN5rt.focus-visible ._IY8Lx:after,._LN5rt:focus-visible ._IY8Lx:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._LN5rt.focus-visible ._IY8Lx:last-of-type:after,._LN5rt:focus-visible ._IY8Lx:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._LN5rt.focus-visible ._IY8Lx:first-of-type:after,._LN5rt:focus-visible ._IY8Lx:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._LN5rt.focus-visible ._IY8Lx._3b35X:after,._LN5rt:focus-visible ._IY8Lx._3b35X:after{right:-3px;bottom:0}._LN5rt:last-of-type:focus{outline:none}._LN5rt:last-of-type.focus-visible ._IY8Lx:after,._LN5rt:last-of-type:focus-visible ._IY8Lx:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._LN5rt:last-of-type.focus-visible ._IY8Lx:last-of-type:after,._LN5rt:last-of-type:focus-visible ._IY8Lx:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._LN5rt:last-of-type.focus-visible ._IY8Lx:first-of-type:after,._LN5rt:last-of-type:focus-visible ._IY8Lx:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._LN5rt:last-of-type.focus-visible ._IY8Lx._3b35X:after,._LN5rt:last-of-type:focus-visible ._IY8Lx._3b35X:after{right:-3px;bottom:1px}._LN5rt:last-of-type ._3IpZF:focus{outline:none}._LN5rt:last-of-type ._3IpZF._iQpiK.focus-visible:after,._LN5rt:last-of-type ._3IpZF._iQpiK:focus-visible:after,._LN5rt:last-of-type ._3IpZF.focus-visible:after,._LN5rt:last-of-type ._3IpZF:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._LN5rt:first-of-type:focus{outline:none}._LN5rt:first-of-type.focus-visible ._IY8Lx:after,._LN5rt:first-of-type:focus-visible ._IY8Lx:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._LN5rt:first-of-type.focus-visible ._IY8Lx:last-of-type:after,._LN5rt:first-of-type:focus-visible ._IY8Lx:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._LN5rt:first-of-type.focus-visible ._IY8Lx:first-of-type:after,._LN5rt:first-of-type:focus-visible ._IY8Lx:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._LN5rt:first-of-type.focus-visible ._IY8Lx._3b35X:after,._LN5rt:first-of-type:focus-visible ._IY8Lx._3b35X:after{right:-3px;bottom:0}._LN5rt:first-of-type ._3IpZF:focus{outline:none}._LN5rt:first-of-type ._3IpZF._iQpiK.focus-visible:after,._LN5rt:first-of-type ._3IpZF._iQpiK:focus-visible:after,._LN5rt:first-of-type ._3IpZF.focus-visible:after,._LN5rt:first-of-type ._3IpZF:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._hJkhv{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._hJkhv._SCCfL{flex-grow:1}._hJkhv._C5kBD{cursor:pointer}._hJkhv._C5kBD:hover:not(._vs4sT){background-color:#f9f9f9;border-bottom-color:#6a6d70}._hJkhv._C5kBD:active:not(._vs4sT){background-color:#f3f3f3}._hJkhv._VjAst:not(._vs4sT){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._hJkhv._vs4sT{cursor:move!important;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._hJkhv ._F02bt{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._hJkhv ._F02bt._QCbmv{left:-1px}._hJkhv ._F02bt._MPpRc{right:0}._hJkhv ._Cj0b3{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._hJkhv ._Cj0b3._QCbmv{left:-2px}._hJkhv ._Cj0b3._MPpRc{right:-1px}._hJkhv:first-of-type ._QCbmv._F02bt{left:0;width:2px;border-left:1px solid #fff}._hJkhv:first-of-type ._QCbmv._Cj0b3{left:0}._hJkhv:last-of-type ._MPpRc._F02bt{right:0;width:2px;border-right:1px solid #fff}._hJkhv:last-of-type ._MPpRc._Cj0b3{right:0}._hJkhv ._E-zz9{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._hJkhv ._E-zz9 ._JIuWY{position:absolute;width:2px;right:2px;top:0;bottom:0}._hJkhv ._E-zz9 ._JIuWY._ZEYU5{background-color:#0a6ed1}._hJkhv ._E-zz9:hover ._JIuWY:not(._ZEYU5){background-color:#d9d9d9}._hJkhv ._Nwol0{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._hJkhv ._Nwol0._Vin3C{flex-direction:row-reverse;justify-content:flex-start}._hJkhv ._Nwol0._Vin3C ._JY-X6{margin:1px 7px 1px 1px}._hJkhv ._Nwol0 ._-OiGD{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._hJkhv ._Nwol0 ._JY-X6{margin:1px 1px 1px 7px;flex-shrink:0}._hJkhv ._sdpR5{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._hJkhv ._Sg5y-{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._hJkhv:focus{outline:none}._hJkhv._iQpiK.focus-visible:after,._hJkhv._iQpiK:focus-visible:after,._hJkhv.focus-visible:after,._hJkhv:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._mLhqo{margin-right:6px}._3b35X{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._3b35X[focus-within]{z-index:30}._3b35X:focus-within{z-index:30}._3IpZF{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._3IpZF ._KaW0H{width:100%;padding:12px 12px 11px;overflow:hidden}._3IpZF._vs4sT{background-color:#efefef;border-bottom-color:#dfdfe1}._3IpZF._SCCfL{flex-grow:1}._3IpZF:focus{outline:none}._3IpZF._iQpiK.focus-visible:after,._3IpZF._iQpiK:focus-visible:after,._3IpZF.focus-visible:after,._3IpZF:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._serVJ{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._serVJ._Udyza{border-bottom-color:#d9d9d9;background-color:#fff}._-7Qhe{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._-7Qhe._Udyza{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._-7Qhe:focus input~span,._-7Qhe:hover input~span{border-color:#0b6ed0}._67Y0e{justify-content:flex-start}._jfnd8{justify-content:center;text-align:center}._Vin3C{justify-content:flex-end;text-align:right}._Y3kKp{display:none}._8RF9s{opacity:0;height:0;width:0;overflow:hidden}._8RF9s,._oErIW{position:absolute}._oErIW{background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000}._oErIW,._ucyKO{cursor:move;pointer-events:none}._HDuQE{max-width:250px;min-width:150px!important}";
|
|
4
|
+
var styles = {"advancedTable":"_07QbE","advancedTablePaginationContainer":"_p7zRT","advancedTablePagination":"_Pnd5n","advancedTableColumnHeadersRowGroup":"_rLANI","advancedTableColumnHeaders":"_msJoE","advancedTableRowChild":"_IY8Lx","pinnedContainer":"_3b35X","advancedTableRowGroup":"_WfMwk","advancedTableRowRestrictedWidth":"_Rwuh6","advancedTableRow":"_LN5rt","hasRowAction":"_Hxt-k","advancedTableExpandRowSpacer":"_serVJ","isSelected":"_iykZ7","advancedTableCheckbox":"_-7Qhe","advancedTableCell":"_3IpZF","showFocusRing":"_iQpiK","advancedTableColumnHeader":"_hJkhv","fillRemainingSpace":"_SCCfL","isSortable":"_C5kBD","isDragging":"_vs4sT","isSorted":"_VjAst","dropTargetLine":"_F02bt","dropTargetLeft":"_QCbmv","dropTargetRight":"_MPpRc","dropTargetMarker":"_Cj0b3","resizeHandle":"_E-zz9","resizeLine":"_JIuWY","isResizing":"_ZEYU5","advancedTableColumnHeaderLabel":"_Nwol0","rightAligned":"_Vin3C","sortIcon":"_JY-X6","advancedTableColumnHeaderLabelText":"_-OiGD","advancedTableColumnHeaderMenu":"_sdpR5","advancedTableColumnHeaderMenuHiddenAnchor":"_Sg5y-","advancedTableColumnHeaderMenuItemIcon":"_mLhqo","advancedTableCellContainer":"_KaW0H","header":"_Udyza","leftAligned":"_67Y0e","centerAligned":"_jfnd8","hiddenDescription":"_Y3kKp","hiddenLiveRegion":"_8RF9s","dragPreview":"_oErIW","isColumnDragging":"_ucyKO","rowActionMenuPane":"_HDuQE"};
|
|
5
|
+
var stylesheet="._07QbE{overflow:auto;position:relative;max-width:100%;max-height:100%}._07QbE,._p7zRT{background-color:#fff}._p7zRT{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._Pnd5n{margin-bottom:4px}._rLANI{position:-webkit-sticky;position:sticky;top:0;z-index:100}._msJoE{display:flex}._msJoE:focus{outline:none}._msJoE.focus-visible ._IY8Lx:after,._msJoE:focus-visible ._IY8Lx:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._msJoE.focus-visible ._IY8Lx:last-of-type:after,._msJoE:focus-visible ._IY8Lx:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._msJoE.focus-visible ._IY8Lx:first-of-type:after,._msJoE:focus-visible ._IY8Lx:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._msJoE.focus-visible ._IY8Lx._3b35X:after,._msJoE:focus-visible ._IY8Lx._3b35X:after{right:-3px;bottom:1px}._WfMwk{padding-right:3px}._Rwuh6{max-width:100%;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}._LN5rt{display:flex}._LN5rt._Hxt-k ._IY8Lx,._LN5rt._Hxt-k ._serVJ{cursor:pointer}._LN5rt._iykZ7 ._IY8Lx,._LN5rt._iykZ7 ._serVJ{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._LN5rt._iykZ7 ._IY8Lx._3b35X,._LN5rt._iykZ7 ._serVJ._3b35X{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._LN5rt._iykZ7 ._IY8Lx._3b35X ._3IpZF,._LN5rt._iykZ7 ._IY8Lx._3b35X ._-7Qhe,._LN5rt._iykZ7 ._IY8Lx._3b35X ._serVJ,._LN5rt._iykZ7 ._serVJ._3b35X ._3IpZF,._LN5rt._iykZ7 ._serVJ._3b35X ._-7Qhe,._LN5rt._iykZ7 ._serVJ._3b35X ._serVJ{background-color:rgba(11,110,208,.08)}._LN5rt._Hxt-k:hover:not(._iykZ7) ._IY8Lx,._LN5rt._Hxt-k:hover:not(._iykZ7) ._serVJ{background-color:#f9f9f9}._LN5rt._Hxt-k:active:not(._iykZ7):not(._LN5rt._Hxt-k:active:not(._iykZ7):has(._-7Qhe:active)) ._IY8Lx,._LN5rt._Hxt-k:active:not(._iykZ7):not(._LN5rt._Hxt-k:active:not(._iykZ7):has(._-7Qhe:active)) ._serVJ{background-color:#f3f3f3}._LN5rt:focus{outline:none}._LN5rt.focus-visible ._IY8Lx:after,._LN5rt:focus-visible ._IY8Lx:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._LN5rt.focus-visible ._IY8Lx:last-of-type:after,._LN5rt:focus-visible ._IY8Lx:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._LN5rt.focus-visible ._IY8Lx:first-of-type:after,._LN5rt:focus-visible ._IY8Lx:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._LN5rt.focus-visible ._IY8Lx._3b35X:after,._LN5rt:focus-visible ._IY8Lx._3b35X:after{right:-3px;bottom:0}._LN5rt:last-of-type:focus{outline:none}._LN5rt:last-of-type.focus-visible ._IY8Lx:after,._LN5rt:last-of-type:focus-visible ._IY8Lx:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._LN5rt:last-of-type.focus-visible ._IY8Lx:last-of-type:after,._LN5rt:last-of-type:focus-visible ._IY8Lx:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._LN5rt:last-of-type.focus-visible ._IY8Lx:first-of-type:after,._LN5rt:last-of-type:focus-visible ._IY8Lx:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._LN5rt:last-of-type.focus-visible ._IY8Lx._3b35X:after,._LN5rt:last-of-type:focus-visible ._IY8Lx._3b35X:after{right:-3px;bottom:1px}._LN5rt:last-of-type ._3IpZF:focus{outline:none}._LN5rt:last-of-type ._3IpZF._iQpiK.focus-visible:after,._LN5rt:last-of-type ._3IpZF._iQpiK:focus-visible:after,._LN5rt:last-of-type ._3IpZF.focus-visible:after,._LN5rt:last-of-type ._3IpZF:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._LN5rt:first-of-type:focus{outline:none}._LN5rt:first-of-type.focus-visible ._IY8Lx:after,._LN5rt:first-of-type:focus-visible ._IY8Lx:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._LN5rt:first-of-type.focus-visible ._IY8Lx:last-of-type:after,._LN5rt:first-of-type:focus-visible ._IY8Lx:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._LN5rt:first-of-type.focus-visible ._IY8Lx:first-of-type:after,._LN5rt:first-of-type:focus-visible ._IY8Lx:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._LN5rt:first-of-type.focus-visible ._IY8Lx._3b35X:after,._LN5rt:first-of-type:focus-visible ._IY8Lx._3b35X:after{right:-3px;bottom:0}._LN5rt:first-of-type ._3IpZF:focus{outline:none}._LN5rt:first-of-type ._3IpZF._iQpiK.focus-visible:after,._LN5rt:first-of-type ._3IpZF._iQpiK:focus-visible:after,._LN5rt:first-of-type ._3IpZF.focus-visible:after,._LN5rt:first-of-type ._3IpZF:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._hJkhv{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._hJkhv._SCCfL{flex-grow:1}._hJkhv._C5kBD{cursor:pointer}._hJkhv._C5kBD:hover:not(._vs4sT){background-color:#f9f9f9;border-bottom-color:#6a6d70}._hJkhv._C5kBD:active:not(._vs4sT){background-color:#f3f3f3}._hJkhv._VjAst:not(._vs4sT){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._hJkhv._vs4sT{cursor:move!important;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._hJkhv ._F02bt{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._hJkhv ._F02bt._QCbmv{left:-1px}._hJkhv ._F02bt._MPpRc{right:0}._hJkhv ._Cj0b3{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._hJkhv ._Cj0b3._QCbmv{left:-2px}._hJkhv ._Cj0b3._MPpRc{right:-1px}._hJkhv:first-of-type ._QCbmv._F02bt{left:0;width:2px;border-left:1px solid #fff}._hJkhv:first-of-type ._QCbmv._Cj0b3{left:0}._hJkhv:last-of-type ._MPpRc._F02bt{right:0;width:2px;border-right:1px solid #fff}._hJkhv:last-of-type ._MPpRc._Cj0b3{right:0}._hJkhv ._E-zz9{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._hJkhv ._E-zz9 ._JIuWY{position:absolute;width:2px;right:2px;top:0;bottom:0}._hJkhv ._E-zz9 ._JIuWY._ZEYU5{background-color:#0a6ed1}._hJkhv ._E-zz9:hover ._JIuWY:not(._ZEYU5){background-color:#d9d9d9}._hJkhv ._Nwol0{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 46px 13px 12px}._hJkhv ._Nwol0._Vin3C{flex-direction:row-reverse;justify-content:flex-start}._hJkhv ._Nwol0._Vin3C ._JY-X6{margin:1px 7px 1px 1px}._hJkhv ._Nwol0 ._-OiGD{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._hJkhv ._Nwol0 ._JY-X6{margin:1px 1px 1px 7px;flex-shrink:0}._hJkhv ._sdpR5{position:absolute;right:4px;top:calc(50% - 18px);flex-shrink:0}._hJkhv ._Sg5y-{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._hJkhv:focus{outline:none}._hJkhv._iQpiK.focus-visible:after,._hJkhv._iQpiK:focus-visible:after,._hJkhv.focus-visible:after,._hJkhv:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._mLhqo{margin-right:6px}._3b35X{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._3b35X[focus-within]{z-index:30}._3b35X:focus-within{z-index:30}._3IpZF{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._3IpZF ._KaW0H{width:100%;padding:12px 12px 11px;overflow:hidden}._3IpZF._vs4sT{background-color:#efefef;border-bottom-color:#dfdfe1}._3IpZF._SCCfL{flex-grow:1}._3IpZF:focus{outline:none}._3IpZF._iQpiK.focus-visible:after,._3IpZF._iQpiK:focus-visible:after,._3IpZF.focus-visible:after,._3IpZF:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._serVJ{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0;position:relative}._serVJ._Udyza{border-bottom-color:#d9d9d9;background-color:#fff}._-7Qhe{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._-7Qhe._Udyza{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._-7Qhe:focus input~span,._-7Qhe:hover input~span{border-color:#0b6ed0}._67Y0e{justify-content:flex-start}._jfnd8{justify-content:center;text-align:center}._Vin3C{justify-content:flex-end;text-align:right}._Y3kKp{display:none}._8RF9s{opacity:0;height:0;width:0;overflow:hidden}._8RF9s,._oErIW{position:absolute}._oErIW{background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000}._oErIW,._ucyKO{cursor:move;pointer-events:none}._HDuQE{max-width:250px;min-width:150px!important}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _extends from '@babel/runtime-corejs3/helpers/extends';
|
|
2
|
-
import React__default, { forwardRef, useRef, useState, useEffect
|
|
2
|
+
import React__default, { forwardRef, useRef, useState, useEffect } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import AdvancedTableColumnHeaderMenu from './AdvancedTableColumnHeaderMenu.js';
|
|
5
5
|
import useDragAndDrop from './useAdvancedTableDragAndDrop.js';
|
|
@@ -12,6 +12,7 @@ import '../../hooks/index.js';
|
|
|
12
12
|
import useComputedWidth from './useComputedWidth.js';
|
|
13
13
|
import { useAdvancedTableDnDContext } from './AdvancedTableDnDContext.js';
|
|
14
14
|
import useEventListener from '../../hooks/useEventListener/useEventListener.js';
|
|
15
|
+
import useId from '../../hooks/useId/useId.js';
|
|
15
16
|
import useTranslation from '../../utils/Translation/useTranslation.js';
|
|
16
17
|
import Tooltip from '../../components/Tooltip/Tooltip.js';
|
|
17
18
|
import mergeRefs from '../../utils/mergeRefs/mergeRefs.js';
|
|
@@ -244,13 +245,38 @@ const AdvancedTableColumnHeader = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
244
245
|
}
|
|
245
246
|
}, [isResizing]);
|
|
246
247
|
const computedWidth = useComputedWidth(widthBuffer, width);
|
|
247
|
-
const [
|
|
248
|
+
const [focusSource, setFocusSource] = useState(null);
|
|
249
|
+
const mouseDownRef = useRef(false);
|
|
250
|
+
const contentId = useId();
|
|
251
|
+
useEffect(() => {
|
|
252
|
+
if (isMenuOpen || isHiddenMenuOpen) {
|
|
253
|
+
setFocusSource(null);
|
|
254
|
+
}
|
|
255
|
+
}, [isMenuOpen, isHiddenMenuOpen]);
|
|
248
256
|
const {
|
|
249
257
|
translate
|
|
250
258
|
} = useTranslation();
|
|
251
|
-
const buttonAriaLabel =
|
|
259
|
+
const [buttonAriaLabel, setButtonAriaLabel] = useState(undefined);
|
|
260
|
+
useEffect(() => {
|
|
261
|
+
if (!labelRef.current) {
|
|
262
|
+
setButtonAriaLabel(undefined);
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
let baseLabel = typeof label === 'string' ? label : undefined;
|
|
266
|
+
if (!baseLabel) {
|
|
267
|
+
baseLabel = labelRef.current.textContent ? labelRef.current.textContent.trim() : undefined;
|
|
268
|
+
}
|
|
269
|
+
setButtonAriaLabel(baseLabel ? "".concat(baseLabel, ", ").concat(translate('buttonLabel')) : undefined);
|
|
270
|
+
}, [label, translate]);
|
|
271
|
+
const isLabelFunction = typeof label === 'function';
|
|
272
|
+
const content = isLabelFunction ? /*#__PURE__*/React__default.createElement(label, {
|
|
273
|
+
sortIndicator: selectedSortIcon,
|
|
274
|
+
focusSource,
|
|
275
|
+
contentId
|
|
276
|
+
}) : label;
|
|
277
|
+
const tooltipContent = isLabelFunction ? undefined : label;
|
|
252
278
|
return /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
253
|
-
content:
|
|
279
|
+
content: tooltipContent,
|
|
254
280
|
disabled: !ellipsisShown
|
|
255
281
|
}, /*#__PURE__*/React__default.createElement("div", _extends({
|
|
256
282
|
role: "columnheader",
|
|
@@ -259,14 +285,20 @@ const AdvancedTableColumnHeader = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
259
285
|
"aria-colindex": columnIndex + 1 // aria-colindex is one-indexed
|
|
260
286
|
,
|
|
261
287
|
"aria-sort": isSortable ? isSorted ? selectedSortOption.direction : 'none' : undefined,
|
|
288
|
+
"aria-describedby": isLabelFunction ? contentId : undefined,
|
|
262
289
|
onClick: isSortable ? handleClick : undefined,
|
|
263
290
|
onKeyDown: handleKeyDown,
|
|
291
|
+
onMouseDown: () => {
|
|
292
|
+
mouseDownRef.current = true;
|
|
293
|
+
},
|
|
264
294
|
onFocus: e => {
|
|
265
|
-
|
|
295
|
+
// If there was a mousedown, it's mouse focus, otherwise keyboard
|
|
296
|
+
setFocusSource(mouseDownRef.current ? 'mouse' : 'keyboard');
|
|
297
|
+
mouseDownRef.current = false; // Reset for next interaction
|
|
266
298
|
onFocus(e);
|
|
267
299
|
},
|
|
268
300
|
onBlur: () => {
|
|
269
|
-
|
|
301
|
+
setFocusSource(null);
|
|
270
302
|
},
|
|
271
303
|
tabIndex: isFocused ? 0 : -1,
|
|
272
304
|
className: classNames(styles.advancedTableColumnHeader, {
|
|
@@ -298,8 +330,8 @@ const AdvancedTableColumnHeader = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
298
330
|
WebkitLineClamp: headerMaxLines
|
|
299
331
|
},
|
|
300
332
|
ref: labelRef,
|
|
301
|
-
"aria-label": hasMenu &&
|
|
302
|
-
},
|
|
333
|
+
"aria-label": hasMenu && focusSource ? buttonAriaLabel : undefined
|
|
334
|
+
}, content), isLabelFunction ? null : selectedSortIcon), hasMenu && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(AdvancedTableColumnHeaderMenu, _extends({}, commonMenuProps, {
|
|
303
335
|
isOpen: isMenuOpen,
|
|
304
336
|
setIsOpen: setIsMenuOpen,
|
|
305
337
|
anchor: /*#__PURE__*/React__default.createElement(IconButton, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"collapsibleSearchInput":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._nddFJ{display:inline-block;width:36px;transition:width .25s ease-out}._CCYk-{width:100%}._z91xm>input{padding-right:0!important}._Pnann>svg{fill:#515559}";
|
|
4
|
+
var styles = {"collapsibleSearchInput":"_nddFJ","searchInput":"_CCYk-","searchInputCollapsed":"_z91xm","iconButton":"_Pnann"};
|
|
5
|
+
var stylesheet="._nddFJ{display:inline-block;width:36px;transition:width .25s ease-out}._CCYk-{width:100%}._z91xm>input{padding-right:0!important}._Pnann>svg{fill:#515559}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|