diff --git a/10119-cca781480d6d1f602abd.css b/10119-cca781480d6d1f602abd.css new file mode 100644 index 000000000..cba009f74 --- /dev/null +++ b/10119-cca781480d6d1f602abd.css @@ -0,0 +1 @@ +.Badges-module__badge___vex-\+{color:#fff;font-family:Verdana,DejaVu Sans,sans-serif;font-size:.7857rem;text-decoration:none}[dir=ltr] .Badges-module__badge___vex-\+{margin-right:.5em}[dir=rtl] .Badges-module__badge___vex-\+{margin-left:.5em}[dir] .Badges-module__badge-container___B13Mv{margin-bottom:.4em}[dir] .Badges-module__badge-name___jkN0m, [dir] .Badges-module__badge-version___agZ\+P{padding:.232rem .357rem}[dir=ltr] .Badges-module__badge-name___jkN0m, [dir=ltr] .Badges-module__badge-version___agZ\+P{text-shadow:1px 1px rgba(0,0,0,.3)}[dir=rtl] .Badges-module__badge-name___jkN0m, [dir=rtl] .Badges-module__badge-version___agZ\+P{text-shadow:-1px 1px rgba(0,0,0,.3)}[dir] .Badges-module__badge-name___jkN0m{background-color:#555}[dir=ltr] .Badges-module__badge-name___jkN0m{border-radius:3px 0 0 3px}[dir=rtl] .Badges-module__badge-name___jkN0m{border-radius:0 3px 3px 0}[dir] .Badges-module__badge-version___agZ\+P{background-color:#007acc}[dir=ltr] .Badges-module__badge-version___agZ\+P{border-radius:0 3px 3px 0}[dir=rtl] .Badges-module__badge-version___agZ\+P{border-radius:3px 0 0 3px} diff --git a/10119-cca781480d6d1f602abd.js b/10119-cca781480d6d1f602abd.js new file mode 100644 index 000000000..74426023d --- /dev/null +++ b/10119-cca781480d6d1f602abd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_ui=self.webpackChunkterra_ui||[]).push([[10119,17711,40092,72949,95330,7235,29616,62473,84854,38663,61044,92260,69879,47498,25117,81784,59403,37022],{55713:function(e,n,a){var r=a(24994);n.A=void 0;var t=r(a(96540)),o=r(a(5556)),s=r(a(67967)),l=r(a(25642)),i=s.default.bind(l.default),d={name:o.default.string.isRequired,src:o.default.string,url:o.default.string,version:o.default.string.isRequired},p=function(e){var n=e.src,a=e.name,r=e.url,o=e.version,s=t.default.createElement("a",{className:i("badge"),href:r||"https://www.npmjs.org/package/".concat(a,"/v/").concat(o)},t.default.createElement("span",{className:i("badge-name")},r?"package":"npm"),t.default.createElement("span",{className:i("badge-version")},"v".concat(o))),l=n?t.default.createElement("a",{className:i("badge"),href:n},t.default.createElement("span",{className:i("badge-name")},"github"),t.default.createElement("span",{className:i("badge-version")},"source")):void 0;return t.default.createElement("div",{className:i("badge-container")},s,l)};p.propTypes=d;n.A=p},10119:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});a(96540);var r=a(36665),t=a(44403);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n (\n+ const MyDisclosureComponent = withDisclosureManager(({ disclosureManager }) => (\n { \n- app.closeDisclosure();\n+ disclosureManager.closeDisclosure();\n }}\n />\n- );\n+ ));\n\n MyDisclosureComponent.propType = {\n- app: AppDelegate.propType,\n+ disclosureManager: disclosureManagerShape,\n };\n\n- const MyComponent = ({ app }) => (\n+ const MyComponent = withDisclosureManager(({ disclosureManager }) => (\n { \n- app.disclose({\n+ disclosureManager.disclose({\n preferredType: 'panel',\n content: {\n key: 'MY-PANEL-DISCLOSURE',\n component: ,\n }\n });\n }}\n />\n- );\n+ ));\n \n MyComponent.propType = {\n- app: AppDelegate.propType,\n+ disclosureManager: disclosureManagerShape,\n };\n\n const MyApp = () => (\n \n \n \n \n \n );\n")))}i.isMDXComponent=!0},44403:function(e,n,a){a.d(n,{E:function(){return o}});var r=a(96540),t=a(55713);const o=({url:e})=>r.createElement(t.A,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-slide-panel-manager",name:"terra-slide-panel-manager",version:"5.105.0",url:e})},25642:function(e,n,a){a.r(n),n.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}}}]); \ No newline at end of file diff --git a/12735-245705fa4d10c32bcbb6.css b/12735-245705fa4d10c32bcbb6.css new file mode 100644 index 000000000..ef2713e26 --- /dev/null +++ b/12735-245705fa4d10c32bcbb6.css @@ -0,0 +1,8 @@ +.Badges-module__badge___vex-\+{color:#fff;font-family:Verdana,DejaVu Sans,sans-serif;font-size:.7857rem;text-decoration:none}[dir=ltr] .Badges-module__badge___vex-\+{margin-right:.5em}[dir=rtl] .Badges-module__badge___vex-\+{margin-left:.5em}[dir] .Badges-module__badge-container___B13Mv{margin-bottom:.4em}[dir] .Badges-module__badge-name___jkN0m, [dir] .Badges-module__badge-version___agZ\+P{padding:.232rem .357rem}[dir=ltr] .Badges-module__badge-name___jkN0m, [dir=ltr] .Badges-module__badge-version___agZ\+P{text-shadow:1px 1px rgba(0,0,0,.3)}[dir=rtl] .Badges-module__badge-name___jkN0m, [dir=rtl] .Badges-module__badge-version___agZ\+P{text-shadow:-1px 1px rgba(0,0,0,.3)}[dir] .Badges-module__badge-name___jkN0m{background-color:#555}[dir=ltr] .Badges-module__badge-name___jkN0m{border-radius:3px 0 0 3px}[dir=rtl] .Badges-module__badge-name___jkN0m{border-radius:0 3px 3px 0}[dir] .Badges-module__badge-version___agZ\+P{background-color:#007acc}[dir=ltr] .Badges-module__badge-version___agZ\+P{border-radius:0 3px 3px 0}[dir=rtl] .Badges-module__badge-version___agZ\+P{border-radius:3px 0 0 3px} +.Table-module__clinical-lowlight-theme___PqYJ8{--terra-html-table-background-color: #383f42;--terra-html-table-border: 1px solid #585a5c;--terra-html-table-border-radius: 0;--terra-html-table-body-background-color: none;--terra-html-table-header-cell-color: #1c1f21;--terra-html-table-header-cell-font-size: 1rem;--terra-html-table-header-cell-font-weight: bold;--terra-html-table-header-cell-border-right: 1px solid #585a5c;--terra-html-table-first-header-cell-border-left: 1px solid #585a5c;--terra-html-table-last-header-cell-border-right: 1px solid #585a5c;--terra-html-table-header-background-color: #909496;--terra-html-table-header-box-shadow: 0 4px 4px -3.5px #1c1f21, inset 0 0 0 1px #585a5c;--terra-html-table-header-row-border-bottom: 1px solid #585a5c;--terra-html-table-header-row-border-top: 1px solid #585a5c;--terra-html-table-cell-border-left: 0;--terra-html-table-cell-color: #b2b5b6;--terra-html-table-cell-font-size: 1rem;--terra-html-table-first-cell-border-left: 1px solid #585a5c;--terra-html-table-last-cell-border-right: 1px solid #585a5c;--terra-html-table-header-cell-standard-padding-bottom: 0.5rem;--terra-html-table-header-cell-standard-padding-left: 0.7142857143rem;--terra-html-table-header-cell-standard-padding-right: 0.7142857143rem;--terra-html-table-header-cell-standard-padding-top: 0.5rem;--terra-html-table-header-cell-compact-padding-bottom: 0.25rem;--terra-html-table-header-cell-compact-padding-left: 0.7142857143rem;--terra-html-table-header-cell-compact-padding-right: 0.7142857143rem;--terra-html-table-header-cell-compact-padding-top: 0.25rem;--terra-html-table-cell-standard-padding-bottom: 0.5rem;--terra-html-table-cell-standard-padding-left: 0.7142857143rem;--terra-html-table-cell-standard-padding-right: 0.7142857143rem;--terra-html-table-cell-standard-padding-top: 0.5rem;--terra-html-table-cell-compact-padding-bottom: 0.25rem;--terra-html-table-cell-compact-padding-left: 0.7142857143rem;--terra-html-table-cell-compact-padding-right: 0.7142857143rem;--terra-html-table-cell-compact-padding-top: 0.25rem;--terra-html-table-row-border-top: 1px solid #585a5c;--terra-html-table-last-row-border-bottom: 1px solid #585a5c;--terra-html-table-row-background-color: transparent;--terra-html-table-row-striped-background-color: #2d3539}.Table-module__orion-fusion-theme___d9rxf{--terra-html-table-background-color: transparent;--terra-html-table-border: 0;--terra-html-table-border-radius: 0;--terra-html-table-body-background-color: transparent;--terra-html-table-header-cell-color: #64696c;--terra-html-table-header-cell-font-size: 0.857142857rem;--terra-html-table-header-cell-font-weight: normal;--terra-html-table-header-cell-border-right: 1px solid #c8cacb;--terra-html-table-first-header-cell-border-left: 1px solid #c8cacb;--terra-html-table-last-header-cell-border-right: 1px solid #c8cacb;--terra-html-table-header-background-color: #f4f4f4;--terra-html-table-header-box-shadow: none;--terra-html-table-header-row-border-bottom: 2px solid #64696c;--terra-html-table-header-row-border-top: 1px solid #c8cacb;--terra-html-table-cell-border-left: 0;--terra-html-table-cell-color: #1c1f21;--terra-html-table-cell-font-size: 0.857142857rem;--terra-html-table-first-cell-border-left: 1px solid #c8cacb;--terra-html-table-last-cell-border-right: 1px solid #c8cacb;--terra-html-table-header-cell-standard-padding-bottom: 0.428571429rem;--terra-html-table-header-cell-standard-padding-left: 0.3571428571rem;--terra-html-table-header-cell-standard-padding-right: 0.3571428571rem;--terra-html-table-header-cell-standard-padding-top: 0.428571429rem;--terra-html-table-header-cell-compact-padding-bottom: 0.428571429rem;--terra-html-table-header-cell-compact-padding-left: 0.3571428571rem;--terra-html-table-header-cell-compact-padding-right: 0.3571428571rem;--terra-html-table-header-cell-compact-padding-top: 0.428571429rem;--terra-html-table-cell-standard-padding-bottom: 0.8571428571rem;--terra-html-table-cell-standard-padding-left: 0.3571428571rem;--terra-html-table-cell-standard-padding-right: 0.3571428571rem;--terra-html-table-cell-standard-padding-top: 0.8571428571rem;--terra-html-table-cell-compact-padding-bottom: 0.8571428571rem;--terra-html-table-cell-compact-padding-left: 0.3571428571rem;--terra-html-table-cell-compact-padding-right: 0.3571428571rem;--terra-html-table-cell-compact-padding-top: 0.8571428571rem;--terra-html-table-row-border-top: 0;--terra-html-table-last-row-border-bottom: 1px solid #c8cacb;--terra-html-table-row-background-color: transparent;--terra-html-table-row-striped-background-color: #f4f4f4}.Table-module__table___eg2Mi{border-collapse:collapse;border-spacing:0;max-width:100%;width:100%}[dir] .Table-module__table___eg2Mi{background-color:transparent;background-color:var(--terra-html-table-background-color, transparent);border:0;border:var(--terra-html-table-border, 0);border-radius:0;border-radius:var(--terra-html-table-border-radius, 0)}[dir] .Table-module__table___eg2Mi caption{padding-bottom:.5em}.Table-module__table___eg2Mi tr{display:table-row}[dir] .Table-module__table___eg2Mi tr{margin-bottom:0}.Table-module__table___eg2Mi td,.Table-module__table___eg2Mi th{color:#1c1f21;color:var(--terra-html-table-cell-color, #1c1f21);display:table-cell;font-size:1rem;font-size:var(--terra-html-table-cell-font-size, 1rem);font-weight:normal;vertical-align:top}[dir] .Table-module__table___eg2Mi td, [dir] .Table-module__table___eg2Mi th{border:0}[dir=ltr] .Table-module__table___eg2Mi td, [dir=ltr] .Table-module__table___eg2Mi th{border-left:0;border-left:var(--terra-html-table-cell-border-left, 0);text-align:left}[dir=rtl] .Table-module__table___eg2Mi td, [dir=rtl] .Table-module__table___eg2Mi th{border-right:0;border-right:var(--terra-html-table-cell-border-left, 0);text-align:right}[dir=ltr] .Table-module__table___eg2Mi td:first-child, [dir=ltr] .Table-module__table___eg2Mi th:first-child{border-left:1px solid #dedfe0;border-left:var(--terra-html-table-first-cell-border-left, 1px solid #dedfe0)}[dir=rtl] .Table-module__table___eg2Mi td:first-child, [dir=rtl] .Table-module__table___eg2Mi th:first-child{border-right:1px solid #dedfe0;border-right:var(--terra-html-table-first-cell-border-left, 1px solid #dedfe0)}[dir=ltr] .Table-module__table___eg2Mi td:last-child, [dir=ltr] .Table-module__table___eg2Mi th:last-child{border-right:1px solid #dedfe0;border-right:var(--terra-html-table-last-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Table-module__table___eg2Mi td:last-child, [dir=rtl] .Table-module__table___eg2Mi th:last-child{border-left:1px solid #dedfe0;border-left:var(--terra-html-table-last-cell-border-right, 1px solid #dedfe0)}.Table-module__table___eg2Mi thead th,.Table-module__table___eg2Mi thead td{display:table-cell;vertical-align:top}[dir] .Table-module__table___eg2Mi thead th, [dir] .Table-module__table___eg2Mi thead td{border:0}[dir=ltr] .Table-module__table___eg2Mi thead th, [dir=ltr] .Table-module__table___eg2Mi thead td{border-right:1px solid rgba(200, 202, 203, 0.5);border-right:var(--terra-html-table-header-cell-border-right, 1px solid rgba(200, 202, 203, 0.5));text-align:left}[dir=rtl] .Table-module__table___eg2Mi thead th, [dir=rtl] .Table-module__table___eg2Mi thead td{border-left:1px solid rgba(200, 202, 203, 0.5);border-left:var(--terra-html-table-header-cell-border-right, 1px solid rgba(200, 202, 203, 0.5));text-align:right}[dir=ltr] .Table-module__table___eg2Mi thead th:first-child, [dir=ltr] .Table-module__table___eg2Mi thead td:first-child{border-left:1px solid #dedfe0;border-left:var(--terra-html-table-first-header-cell-border-left, 1px solid #dedfe0)}[dir=rtl] .Table-module__table___eg2Mi thead th:first-child, [dir=rtl] .Table-module__table___eg2Mi thead td:first-child{border-right:1px solid #dedfe0;border-right:var(--terra-html-table-first-header-cell-border-left, 1px solid #dedfe0)}[dir=ltr] .Table-module__table___eg2Mi thead th:last-child, [dir=ltr] .Table-module__table___eg2Mi thead td:last-child{border-right:1px solid #dedfe0;border-right:var(--terra-html-table-last-header-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Table-module__table___eg2Mi thead th:last-child, [dir=rtl] .Table-module__table___eg2Mi thead td:last-child{border-left:1px solid #dedfe0;border-left:var(--terra-html-table-last-header-cell-border-right, 1px solid #dedfe0)}.Table-module__table___eg2Mi thead{display:table-header-group}[dir] .Table-module__table___eg2Mi thead{background-color:#f1f1f2;background-color:var(--terra-html-table-header-background-color, #f1f1f2);box-shadow:0 4px 4px -3.5px rgba(134, 138, 140, 0.75), inset 0 0 0 1px #fff, inset 0.5px 0.5px 0 2px rgba(255, 255, 255, 0.5);box-shadow:var(--terra-html-table-header-box-shadow, 0 4px 4px -3.5px rgba(134, 138, 140, 0.75), inset 0 0 0 1px #fff, inset 0.5px 0.5px 0 2px rgba(255, 255, 255, 0.5))}[dir] .Table-module__table___eg2Mi thead tr{border-bottom:1px solid #b9bbbc;border-bottom:var(--terra-html-table-header-row-border-bottom, 1px solid #b9bbbc);border-top:1px solid #dedfe0;border-top:var(--terra-html-table-header-row-border-top, 1px solid #dedfe0)}.Table-module__table___eg2Mi thead th,.Table-module__table___eg2Mi thead td{color:#1c1f21;color:var(--terra-html-table-header-cell-color, #1c1f21);font-size:1rem;font-size:var(--terra-html-table-header-cell-font-size, 1rem);font-weight:bold;font-weight:var(--terra-html-table-header-cell-font-weight, bold);vertical-align:bottom}[dir] .Table-module__table___eg2Mi tbody{background-color:var(--terra-html-table-body-background-color)}[dir] .Table-module__table___eg2Mi tbody tr{background-color:transparent;background-color:var(--terra-html-table-row-background-color, transparent);border-top:1px solid #dedfe0;border-top:var(--terra-html-table-row-border-top, 1px solid #dedfe0)}[dir] .Table-module__table___eg2Mi tbody tr:first-of-type{border-top:0}[dir] .Table-module__table___eg2Mi tbody tr:last-of-type{border-bottom:1px solid #dedfe0;border-bottom:var(--terra-html-table-last-row-border-bottom, 1px solid #dedfe0)}[dir] .Table-module__padding-standard___BfbC- th{padding-bottom:0.5rem;padding-bottom:var(--terra-html-table-header-cell-standard-padding-bottom, 0.5rem);padding-top:0.5rem;padding-top:var(--terra-html-table-header-cell-standard-padding-top, 0.5rem)}[dir=ltr] .Table-module__padding-standard___BfbC- th{padding-left:0.75rem;padding-left:var(--terra-html-table-header-cell-standard-padding-left, 0.75rem);padding-right:0.75rem;padding-right:var(--terra-html-table-header-cell-standard-padding-right, 0.75rem)}[dir=rtl] .Table-module__padding-standard___BfbC- th{padding-right:0.75rem;padding-right:var(--terra-html-table-header-cell-standard-padding-left, 0.75rem);padding-left:0.75rem;padding-left:var(--terra-html-table-header-cell-standard-padding-right, 0.75rem)}[dir] .Table-module__padding-compact___Yus6Z th{padding-bottom:0.25rem;padding-bottom:var(--terra-html-table-header-cell-compact-padding-bottom, 0.25rem);padding-top:0.25rem;padding-top:var(--terra-html-table-header-cell-compact-padding-top, 0.25rem)}[dir=ltr] .Table-module__padding-compact___Yus6Z th{padding-left:0.75rem;padding-left:var(--terra-html-table-header-cell-compact-padding-left, 0.75rem);padding-right:0.75rem;padding-right:var(--terra-html-table-header-cell-compact-padding-right, 0.75rem)}[dir=rtl] .Table-module__padding-compact___Yus6Z th{padding-right:0.75rem;padding-right:var(--terra-html-table-header-cell-compact-padding-left, 0.75rem);padding-left:0.75rem;padding-left:var(--terra-html-table-header-cell-compact-padding-right, 0.75rem)}[dir] .Table-module__padding-standard___BfbC- td{padding-bottom:0.5rem;padding-bottom:var(--terra-html-table-cell-standard-padding-bottom, 0.5rem);padding-top:0.5rem;padding-top:var(--terra-html-table-cell-standard-padding-top, 0.5rem)}[dir=ltr] .Table-module__padding-standard___BfbC- td{padding-left:0.75rem;padding-left:var(--terra-html-table-cell-standard-padding-left, 0.75rem);padding-right:0.75rem;padding-right:var(--terra-html-table-cell-standard-padding-right, 0.75rem)}[dir=rtl] .Table-module__padding-standard___BfbC- td{padding-right:0.75rem;padding-right:var(--terra-html-table-cell-standard-padding-left, 0.75rem);padding-left:0.75rem;padding-left:var(--terra-html-table-cell-standard-padding-right, 0.75rem)}[dir] .Table-module__padding-compact___Yus6Z td{padding-bottom:0.25rem;padding-bottom:var(--terra-html-table-cell-compact-padding-bottom, 0.25rem);padding-top:0.25rem;padding-top:var(--terra-html-table-cell-compact-padding-top, 0.25rem)}[dir=ltr] .Table-module__padding-compact___Yus6Z td{padding-left:0.75rem;padding-left:var(--terra-html-table-cell-compact-padding-left, 0.75rem);padding-right:0.75rem;padding-right:var(--terra-html-table-cell-compact-padding-right, 0.75rem)}[dir=rtl] .Table-module__padding-compact___Yus6Z td{padding-right:0.75rem;padding-right:var(--terra-html-table-cell-compact-padding-left, 0.75rem);padding-left:0.75rem;padding-left:var(--terra-html-table-cell-compact-padding-right, 0.75rem)}[dir] .Table-module__striped___n8xJe tbody tr:nth-of-type(even){background-color:#f6f7f8;background-color:var(--terra-html-table-row-striped-background-color, #f6f7f8)}@media print{.Table-module__table___eg2Mi thead{display:table-header-group}.Table-module__table___eg2Mi tr{page-break-inside:avoid}} +.PropsTable-module__clinical-lowlight-theme___3pa8J{--terra-dev-site-props-table-table-required-color: #d53040}.PropsTable-module__orion-fusion-theme___FtP5r{--terra-dev-site-props-table-table-required-color: #d42b3c}.PropsTable-module__bold___-z9Sz{font-weight:600 !important}.PropsTable-module__table___rzW-v{border-collapse:collapse;border-spacing:0;display:block;overflow:auto;width:100%}[dir] .PropsTable-module__table___rzW-v{margin-bottom:1.143rem;margin-top:0}table .PropsTable-module__required___ev190{color:#d53040;color:var(--terra-dev-site-props-table-table-required-color, #d53040)}table .PropsTable-module__code-block-override___fF0JK pre{max-width:35.71rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}[dir] table .PropsTable-module__code-block-override___fF0JK pre{padding:.2857rem} +.ItemDisplay-module__clinical-lowlight-theme___WSueU{--terra-clinical-item-display-attention-color: #fb4c4c;--terra-clinical-item-display-disabled-icon-color: #404344;--terra-clinical-item-display-disabled-opacity: 0.3;--terra-clinical-item-display-secondary-color: rgba(221, 224, 225, 0.41);--terra-clinical-item-display-strong-color: #b2b5b6;--terra-clinical-item-display-strike-through-color: #b2b5b6;--terra-clinical-item-display-attention-font-weight: 700;--terra-clinical-item-display-strong-font-weight: 700;--terra-clinical-item-display-inline-icon-padding-right: 0.35714rem;--terra-clinical-item-display-disabled-inline-icon-color: #404344;--terra-clinical-item-display-disabled-inline-icon-opacity: 0.3}.ItemDisplay-module__orion-fusion-theme___8tnBi{--terra-clinical-item-display-inline-icon-padding-right: 0.25rem;--terra-clinical-item-display-disabled-icon-color: #9b9fa1;--terra-clinical-item-display-disabled-opacity: 0.3;--terra-clinical-item-display-secondary-color: rgba(28, 35, 40, 0.73);--terra-clinical-item-display-attention-color: #c00;--terra-clinical-item-display-attention-font-weight: 700;--terra-clinical-item-display-strong-color: #1c1f21;--terra-clinical-item-display-strong-font-weight: 700;--terra-clinical-item-display-strike-through-color: #1c1f21;--terra-clinical-item-display-disabled-inline-icon-color: #9b9fa1;--terra-clinical-item-display-disabled-inline-icon-opacity: 0.3}.ItemDisplay-module__item-display___zzQHA{font-size:1rem;line-height:1.4285714286;display:-ms-flexbox;display:flex;max-width:100%;overflow:hidden}.ItemDisplay-module__text___8kzzL{-ms-flex:1 1 auto;flex:1 1 auto;min-width:10px}.ItemDisplay-module__icon___QFsen{-ms-flex:0 0 auto;flex:0 0 auto;overflow:hidden}[dir=ltr] .ItemDisplay-module__icon___QFsen{padding-right:0.35714rem;padding-right:var(--terra-clinical-item-display-inline-icon-padding-right, 0.35714rem)}[dir=rtl] .ItemDisplay-module__icon___QFsen{padding-left:0.35714rem;padding-left:var(--terra-clinical-item-display-inline-icon-padding-right, 0.35714rem)}.ItemDisplay-module__icon___QFsen>*{min-height:1em;min-width:1em}.ItemDisplay-module__icon-center___yNnaA{-ms-flex-align:center;align-items:center}.ItemDisplay-module__icon-top___le\+7t{-ms-flex-align:start;align-items:flex-start}.ItemDisplay-module__icon-inline___7-6dl{display:inline}.ItemDisplay-module__icon-inline___7-6dl .ItemDisplay-module__text___8kzzL{display:inline}.ItemDisplay-module__icon-inline___7-6dl .ItemDisplay-module__icon___QFsen{display:inline}.ItemDisplay-module__is-truncated___5xS0r{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:normal;word-wrap:normal}.ItemDisplay-module__is-disabled___LmVej{opacity:0.2;opacity:var(--terra-clinical-item-display-disabled-opacity, 0.2)}.ItemDisplay-module__is-disabled___LmVej .ItemDisplay-module__icon___QFsen{color:rgb(117, 118, 125);color:var(--terra-clinical-item-display-disabled-icon-color, rgb(117, 118, 125))}.ItemDisplay-module__secondary___ObdZe{color:rgba(28, 31, 33, 0.65);color:var(--terra-clinical-item-display-secondary-color, rgba(28, 31, 33, 0.65))}.ItemDisplay-module__attention___W1BMa{color:#c00;color:var(--terra-clinical-item-display-attention-color, #c00);font-weight:700;font-weight:var(--terra-clinical-item-display-attention-font-weight, 700)}.ItemDisplay-module__strong___OPiqQ{color:#1c1f21;color:var(--terra-clinical-item-display-strong-color, #1c1f21);font-weight:700;font-weight:var(--terra-clinical-item-display-strong-font-weight, 700)}.ItemDisplay-module__strike-through___yJ7fk{color:#1c1f21;color:var(--terra-clinical-item-display-strike-through-color, #1c1f21);text-decoration:line-through} +.ExampleTemplate-module__clinical-lowlight-theme___rBbtD{--terra-dev-site-example-template-hover-selected-code-toggle-background-color: #505a5f;--terra-dev-site-example-template-selected-code-toggle-background-color: #3f474b;--terra-dev-site-example-template-hover-code-toggle-background-color: #373d41;--terra-dev-site-example-template-code-toggle-background-color: #2e3539;--terra-dev-site-example-template-selected-code-toggle-color: #ebebeb;--terra-dev-site-example-template-code-background-color: #1d2427;--terra-dev-site-example-template-keyboard-focus-outline: #fff;--terra-dev-site-example-template-code-toggle-color: #b2b5b6;--terra-dev-site-example-template-footer-background-color: #262b2e;--terra-dev-site-example-template-header-background-color: #262b2e;--terra-dev-site-example-template-content-background-color: #1b2326}.ExampleTemplate-module__orion-fusion-theme___GzA23{--terra-dev-site-example-template-hover-selected-code-toggle-background-color: #424141;--terra-dev-site-example-template-selected-code-toggle-background-color: #666565;--terra-dev-site-example-template-hover-code-toggle-background-color: #b8b8b8;--terra-dev-site-example-template-code-toggle-background-color: #ddd;--terra-dev-site-example-template-selected-code-toggle-color: #ebebeb;--terra-dev-site-example-template-code-background-color: #f6f8fa;--terra-dev-site-example-template-keyboard-focus-outline: #000;--terra-dev-site-example-template-code-toggle-color: #000;--terra-dev-site-example-template-footer-background-color: #f4f4f4;--terra-dev-site-example-template-header-background-color: #f4f4f4;--terra-dev-site-example-template-template-content-background-color: #fff}.ExampleTemplate-module__template___a4uPk{overflow:hidden}[dir] .ExampleTemplate-module__template___a4uPk{border:1px solid #e8e8e8;border-radius:3px;margin-bottom:.9375rem}[dir] .ExampleTemplate-module__header___iFXV3{background-color:var(--terra-dev-site-example-template-header-background-color);border-bottom:1px solid #e8e8e8;padding:.625rem}[dir] .ExampleTemplate-module__content___48m4Q{background-color:var(--terra-dev-site-example-template-content-background-color);padding:.625rem}[dir] .ExampleTemplate-module__description___NwBJo{padding-bottom:.625rem}.ExampleTemplate-module__footer___GpSoG{overflow:hidden}[dir] .ExampleTemplate-module__footer___GpSoG{background-color:var(--terra-dev-site-example-template-footer-background-color)}.ExampleTemplate-module__button-container___rAD11{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.ExampleTemplate-module__css___\+jtk1,.ExampleTemplate-module__code___7rC6C{height:100%}[dir] .ExampleTemplate-module__css___\+jtk1, [dir] .ExampleTemplate-module__code___7rC6C{background-color:#f6f8fa;background-color:var(--terra-dev-site-example-template-code-background-color, #f6f8fa)}.ExampleTemplate-module__css-toggle___chHK7,.ExampleTemplate-module__code-toggle___TGlE-{-ms-flex-align:center;align-items:center;color:#000;color:var(--terra-dev-site-example-template-code-toggle-color, #000);display:-ms-flexbox;display:flex;outline:none}[dir] .ExampleTemplate-module__css-toggle___chHK7, [dir] .ExampleTemplate-module__code-toggle___TGlE-{background-color:#ddd;background-color:var(--terra-dev-site-example-template-code-toggle-background-color, #ddd);border:0;cursor:pointer;padding:.625rem}.ExampleTemplate-module__css-toggle___chHK7.ExampleTemplate-module__is-selected___0BYwS,.ExampleTemplate-module__code-toggle___TGlE-.ExampleTemplate-module__is-selected___0BYwS{color:#ebebeb;color:var(--terra-dev-site-example-template-selected-code-toggle-color, #ebebeb)}[dir] .ExampleTemplate-module__css-toggle___chHK7.ExampleTemplate-module__is-selected___0BYwS, [dir] .ExampleTemplate-module__code-toggle___TGlE-.ExampleTemplate-module__is-selected___0BYwS{background-color:#666565;background-color:var(--terra-dev-site-example-template-selected-code-toggle-background-color, #666565)}[dir] .ExampleTemplate-module__css-toggle___chHK7:hover, [dir] .ExampleTemplate-module__code-toggle___TGlE-:hover{background-color:#b8b8b8;background-color:var(--terra-dev-site-example-template-hover-code-toggle-background-color, #b8b8b8)}[dir] .ExampleTemplate-module__css-toggle___chHK7:hover.ExampleTemplate-module__is-selected___0BYwS, [dir] .ExampleTemplate-module__code-toggle___TGlE-:hover.ExampleTemplate-module__is-selected___0BYwS{background-color:#424141;background-color:var(--terra-dev-site-example-template-hover-selected-code-toggle-background-color, #424141)}.ExampleTemplate-module__item___8FTQq[data-focus-styles-enabled=true]:focus{outline:2px dashed #000;outline:2px dashed var(--terra-dev-site-example-template-keyboard-focus-outline, #000);outline-offset:-2px}.ExampleTemplate-module__chevron___VbY7N{display:inline-block;height:.875rem;width:.875rem}.ExampleTemplate-module__title___r\+nbJ{font-size:1rem;font-weight:500}[dir] .ExampleTemplate-module__title___r\+nbJ{margin:0;padding:0}[dir] .ExampleTemplate-module__dynamic-content___k\+1H7{background-color:rgba(0,0,0,0)} +.ItemComment-module__clinical-lowlight-theme___lM\+Lt{--terra-clinical-item-display-item-comment-color: rgba(221, 224, 225, 0.41);--terra-clinical-item-display-item-comment-inline-icon-color: rgba(221, 224, 225, 0.41)}.ItemComment-module__orion-fusion-theme___dtZma{--terra-clinical-item-display-item-comment-color: rgba(28, 35, 40, 0.73);--terra-clinical-item-display-item-comment-inline-icon-color: rgba(28, 35, 40, 0.73)}.ItemComment-module__item-comment___ESQjD{font-size:1rem;line-height:1.4285714286;color:rgba(28, 31, 33, 0.65);color:var(--terra-clinical-item-display-item-comment-color, rgba(28, 31, 33, 0.65))}.ItemComment-module__item-comment___ESQjD .ItemComment-module__inline-icon___znks3{color:rgba(117, 118, 125, 0.3);color:var(--terra-clinical-item-display-item-comment-inline-icon-color, rgba(117, 118, 125, 0.3))} +.Toggle-module__toggle___7F95e[aria-hidden=true]{opacity:0;transition:visibility 0s linear .5s,opacity .5s linear;visibility:hidden}.Toggle-module__toggle___7F95e[aria-hidden=false]{opacity:1;visibility:visible}[dir] .Toggle-module__toggle___7F95e[aria-hidden=false]{transition-delay:0s} +.ToggleButton-module__toggle-button___eo1aB{display:block}.ToggleButton-module__icon___mFdVK{display:inline-block;line-height:1}[dir] .ToggleButton-module__icon___mFdVK{transform:rotate(0deg)}.ToggleButton-module__icon___mFdVK svg{font-size:.8em;position:relative;top:-0.14em}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ToggleButton-module__icon___mFdVK svg{top:-0.07em}}[dir=ltr] .ToggleButton-module__is-open___W1RlO .ToggleButton-module__icon___mFdVK{transform:rotate(90deg)}[dir=rtl] .ToggleButton-module__is-open___W1RlO .ToggleButton-module__icon___mFdVK{transform:rotate(-90deg)}.ToggleButton-module__is-icon-animated___4e24X .ToggleButton-module__icon___mFdVK{transition:transform .15s ease-in}.ToggleButton-module__is-open___W1RlO.ToggleButton-module__is-icon-animated___4e24X .ToggleButton-module__icon___mFdVK{transition:transform .15s ease-in}[dir=ltr] .ToggleButton-module__button-text___\+N0CK{padding-left:.3rem}[dir=rtl] .ToggleButton-module__button-text___\+N0CK{padding-right:.3rem} diff --git a/12735-245705fa4d10c32bcbb6.js b/12735-245705fa4d10c32bcbb6.js new file mode 100644 index 000000000..1d6969d55 --- /dev/null +++ b/12735-245705fa4d10c32bcbb6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_ui=self.webpackChunkterra_ui||[]).push([[12735,17711,52947,4645,47115,40092,72949,75328,8185,95330,24087,7235,29616,62473,30566,63423,84854,38663,61044,69496,2353,92260,69879,24734,57591,47498,25117,79972,85804,81784,59403,37022,12829,85785,8166,30547],{201:function(e,t,n){var r=n(24994),a=n(73738);t.A=void 0;var l=r(n(85715)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var i=l?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(96540)),i=r(n(5556)),u=r(n(67967)),d=n(92912),c=r(n(49558)),s=r(n(53665)),m=n(25966),p=r(n(89986));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var y=u.default.bind(p.default),x={example:i.default.element,exampleSrc:i.default.element,exampleCssSrc:i.default.element,title:i.default.string,description:i.default.node,isExpanded:i.default.bool},b=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},_=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},g=function(e){var t=e.example,n=e.exampleSrc,r=e.exampleCssSrc,a=e.title,i=e.description,u=e.isExpanded,p=(0,o.useState)(u),f=(0,l.default)(p,2),x=f[0],g=f[1],h=(0,o.useState)(!1),v=(0,l.default)(h,2),O=v[0],T=v[1],E=o.default.useContext(d.ThemeContext),N=void 0!==r,S=function(){T(!O),x&&g(!x)},j=function(){g(!x),O&&T(!O)},w=function(e,t){e.nativeEvent.keyCode!==m.KEY_SPACE&&e.nativeEvent.keyCode!==m.KEY_RETURN||(e.preventDefault(),t())};return o.default.createElement("div",{className:y("template",E.className)},o.default.createElement("div",{className:y("header")},a&&o.default.createElement("h2",{className:y("title")},a)),o.default.createElement("div",{className:y("content")},i&&o.default.createElement("div",{className:y("description")},i),t),o.default.createElement("div",{className:y("footer")},n?o.default.createElement("div",{className:y("button-container")},N&&o.default.createElement("button",{type:"button",className:y("css-toggle","item",{"is-selected":O}),onClick:S,onKeyDown:function(e){return w(e,S)},onBlur:b,onMouseDown:_,tabIndex:0,"data-focus-styles-enabled":!0},o.default.createElement(c.default,{className:y("chevron")}),o.default.createElement("span",null,"CSS"),o.default.createElement(s.default,{className:y("chevron")})),o.default.createElement("button",{type:"button",className:y("code-toggle","item",{"is-selected":x}),onClick:j,onKeyDown:function(e){return w(e,j)},onBlur:b,onMouseDown:_,tabIndex:0,"data-focus-styles-enabled":!0},o.default.createElement(c.default,{className:y("chevron")}),o.default.createElement("span",null,"Code"),o.default.createElement(s.default,{className:y("chevron")}))):null,o.default.createElement("div",null,O&&o.default.createElement("div",{className:y("css")},r),x&&o.default.createElement("div",{className:y("code")},n))))};g.propTypes=x,g.defaultProps={isExpanded:!1};t.A=g},12883:function(e,t,n){var r=n(24994),a=n(73738);t.YZ=t.dt=t.Hd=t.NZ=void 0,Object.defineProperty(t,"fI",{enumerable:!0,get:function(){return d.Row}}),t.Ay=t.$d=void 0;var l=m(n(96540)),o=r(n(5556)),i=r(n(67967)),u=n(92912),d=m(n(26984)),c=r(n(89744));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var i=l?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}var p=i.default.bind(c.default),f={children:o.default.node},y={isRequired:o.default.bool};(t.dt=function(e){var t=e.children;return l.default.createElement(d.Cell,{className:p("bold")},t)}).propTypes=f,(t.$d=function(e){var t=e.children;return l.default.createElement(d.Cell,{className:p("code-block-override")},t)}).propTypes=f,(t.YZ=function(e){var t=e.isRequired;return l.default.createElement(d.Cell,{className:p([t?["required"]:[]])},t?"required":"optional")}).propTypes=y,(t.NZ=function(e){var t=e.children;return l.default.createElement(d.Cell,{className:p("code-block-override")},t)}).propTypes=f,(t.Hd=function(e){var t=e.children;return l.default.createElement(d.Cell,null,t)}).propTypes=f;var x=function(e){var t=e.children,n=(0,l.useContext)(u.ThemeContext);return l.default.createElement(d.default,{paddingStyle:"compact",className:p("table",n.className)},l.default.createElement(d.Header,{className:p("header")},l.default.createElement(d.HeaderCell,null,"Prop"),l.default.createElement(d.HeaderCell,null,"Type"),l.default.createElement(d.HeaderCell,null,"Required"),l.default.createElement(d.HeaderCell,null,"Default"),l.default.createElement(d.HeaderCell,null,"Description")),l.default.createElement(d.Body,null,t))};x.propTypes=f;t.Ay=x},86159:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(96540)),a=d(n(5556)),l=d(n(67967)),o=d(n(52103)),i=d(n(36605)),u=["children"];function d(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var m=l.default.bind(i.default),p=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},f=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},y={children:a.default.string},x=function(e){var t=e.children,n=s(e,u),a=r.default.useContext(o.default),i=(0,l.default)(m(["button",a.className]),n.className);return r.default.createElement("button",c({},n,{type:"button",className:i,onBlur:p,onMouseDown:f,"data-focus-styles-enabled":!0}),t)};x.propTypes=y;t.default=x},20999:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(96540)),a=u(n(5556)),l=u(n(67967)),o=u(n(52103)),i=u(n(17269));function u(e){return e&&e.__esModule?e:{default:e}}var d=l.default.bind(i.default),c={ariaLevel:a.default.oneOf(["2","3","4","5","6"]),children:a.default.node,variant:a.default.oneOf(["ux-recommendation","caution","deprecation","maintenance","important","not-supported"])},s=function(e){var t=e.ariaLevel,n=e.variant,a=e.children,l=r.default.useContext(o.default);return r.default.createElement("div",{className:d("notice",n,l.className)},r.default.createElement("div",{className:d("accessory"),"aria-hidden":"true",focusable:"false"}),r.default.createElement("div",{role:"heading",className:d("title"),"aria-level":t},r.default.createElement("span",null,function(e){return"ux-recommendation"===e?"UX Recommendation":"caution"===e?"Caution":"deprecation"===e?"Deprecation Notice":"maintenance"===e?"In Maintenance":"important"===e?"Important":"not-supported"===e?"Hazards for Incorrect Usage":"error"}(n))),r.default.createElement("div",{className:d("children")},function(e){return"not-supported"===e?r.default.createElement(r.default.Fragment,null,r.default.createElement("p",{className:d("paragraph")},"This component was designed and tested according to the documented implementation."),r.default.createElement("p",{className:d("paragraph")},"Using the component incorrectly:",r.default.createElement("ul",{className:d("list")},r.default.createElement("li",null,"will likely result in improper composition and create accessibility issues"),r.default.createElement("li",null,"may cause erratic or broken behaviors and styles"),r.default.createElement("li",null,r.default.createElement("strong",null,"will not be supported "),"or enhanced to allow for incorrect use")))):null}(n),r.default.Children.map(a,(function(e){return"string"==typeof e?r.default.createElement("p",null,e):e}))))};s.propTypes=c,s.defaultProps={ariaLevel:"2",variant:"important"};t.default=s},18778:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(96540)),a=c(n(5556)),l=c(n(46942)),o=c(n(67967)),i=c(n(52103)),u=c(n(16576)),d=["title"];function c(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var p=o.default.bind(u.default),f={title:a.default.string},y=function(e){var t=e.title,n=m(e,d),a=r.default.useContext(i.default),o=(0,l.default)(p(["placeholder",a.className]),n.className),u=p(["inner"]);return r.default.createElement("div",s({},n,{className:o}),r.default.createElement("div",{className:u},r.default.createElement("p",{className:p("title")},t)))};y.propTypes=f,y.defaultProps={title:""};t.default=y},74647:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Notice",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return a.default}});var r=o(n(20999)),a=o(n(18778)),l=o(n(86159));function o(e){return e&&e.__esModule?e:{default:e}}},93791:function(e,t,n){n.r(t),n.d(t,{default:function(){return K}});var r=n(96540),a=n(36665),l=n(21567),o=n(74647),i=n(12883);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t (\n \n \n \n \n \n \n \n);\n\nexport default component;\n\n')))}g.isMDXComponent=!0;var h=n(201),v=({title:e,description:t,isExpanded:n})=>r.createElement(h.A,{title:e||"Text Styles",description:t,example:r.createElement(x.A,null),exampleSrc:r.createElement(g,null),isExpanded:n});n(15996);var O=n(32824);function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t (} />);\n\nexport default component;\n\n")))}N.isMDXComponent=!0;var S=({title:e,description:t,isExpanded:n})=>r.createElement(h.A,{title:e||"Icon",description:t,example:r.createElement(O.A,null),exampleSrc:r.createElement(N,null),isExpanded:n}),j=n(13075);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t (\n \n } />\n
\n } iconAlignment=\"top\" />\n
\n } iconAlignment=\"inline\" />\n
\n
\n);\n\nexport default component;\n\n")))}P.isMDXComponent=!0;var I=({title:e,description:t,isExpanded:n})=>r.createElement(h.A,{title:e||"Icon Text",description:t,example:r.createElement(j.A,null),exampleSrc:r.createElement(P,null),isExpanded:n}),D=n(98419);function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t (\n \n \n \n);\n\nexport default component;\n\n")))}k.isMDXComponent=!0;var R=({title:e,description:t,isExpanded:n})=>r.createElement(h.A,{title:e||"Default Comment",description:t,example:r.createElement(D.A,null),exampleSrc:r.createElement(k,null),isExpanded:n}),q=n(45862);function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t (\n \n \n

Screen reader reads: “Important”, “Attention”, “Important End”

\n
\n \n

Screen reader reads: “Deletion”, “Strike-through (Default)”, “Deletion End”

\n
\n \n

Screen reader reads: “Update”, “Strike-through”, “Update End”

\n
\n);\n\nexport default component;\n\n')))}L.isMDXComponent=!0;var Z=({title:e,description:t,isExpanded:n})=>r.createElement(h.A,{title:e||"Text Style Meaning",description:t,example:r.createElement(q.A,null),exampleSrc:r.createElement(L,null),isExpanded:n}),W=n(28204);function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t {\n const [popupOpen, setPopupOpen] = useState(false);\n const popupRef = useRef(null);\n\n const setButtonNode = (node) => {\n popupRef.current = node;\n };\n\n const handleButtonClick = () => {\n if (!popupOpen) {\n document.querySelector('#root').setAttribute('inert', 'true');\n }\n setPopupOpen(true);\n };\n\n const handleRequestClose = () => {\n setPopupOpen(false);\n document.querySelector('#root').removeAttribute('inert');\n popupRef.current.focus();\n };\n\n const FullTextModalContent = () => {\n const disclosureManager = useContext(DisclosureManagerContext);\n\n const disclose = () => {\n disclosureManager.disclose({\n preferredType: 'modal',\n size: 'tiny',\n content: {\n key: 'text-key',\n component: (\n <>\n \n \n \n ),\n },\n });\n };\n\n return (\n \n \n );\n};\n\nForm.propTypes = {\n title: PropTypes.string,\n ariaLabel: PropTypes.string,\n};\n\nconst FormSwitcher = () => {\n const [activeForm, setActiveForm] = useState('Form 1');\n const [activePrompts, setActivePrompts] = useState([]);\n\n function onSwitchForm(formKey) {\n setActiveForm(formKey);\n }\n\n return (\n
\n

Form Switcher

\n

Custom logic has been implemented to prevent navigation altogether when NavigationPrompts are present.

\n \n Switch to Form 1\n \n \n Switch to Form 2\n \n {\n setActivePrompts(prompts);\n }}\n >\n
\n \n
\n );\n};\n\nexport default FormSwitcher;\n\n")))}u.isMDXComponent=!0;var c=n(201),p=({title:e,description:t,isExpanded:n})=>a.createElement(c.A,{title:e||"Implementation Guide Part 2",description:t,example:a.createElement(l.A,null),exampleSrc:a.createElement(u,null),isExpanded:n});function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t {\n const [inputValue, setInputValue] = useState('');\n\n return (\n
\n

{title}

\n {inputValue.length ? : undefined}\n {\n setInputValue(event.target.value);\n }}\n value={inputValue}\n />\n {\n setInputValue('');\n }}\n >\n Submit\n \n
\n );\n};\n\nconst FormSwitcher = () => {\n const [activeForm, setActiveForm] = useState('Form 1');\n+ const [activePrompts, setActivePrompts] = useState([]);\n\n function onSwitchForm(formKey) {\n- formCheckpointRef.current.resolvePrompts({\n- title: 'Descriptive Notification Prompt Title',\n- startMessage: 'Descriptive Notification Prompt Message',\n- rejectButtonText: `Descriptive Reject Button Action`,\n- acceptButtonText: 'Descriptive Accept Button Action',\n- buttonOrder: 'acceptFirst',\n- }).then(() => {\n setActiveForm(formKey);\n- });\n }\n\n return (\n
\n

Form Switcher

\n-

The user will be prompted with the provided messaging when Forms are switched with unsaved changes present.

\n+

Custom logic has been implemented to prevent navigation altogether when NavigationPrompts are present.

\n \n Switch to Form 1\n \n \n Switch to Form 2\n \n {\n+ setActivePrompts(prompts);\n+ }}\n >\n \n \n
\n );\n};\n")),(0,o.mdx)("p",null,"We remove the ",(0,o.mdx)("inlineCode",{parentName:"p"},"ref")," from the NavigationPromptCheckpoint and instead implement ",(0,o.mdx)("inlineCode",{parentName:"p"},"onPromptChange")," to store the currently rendered NavigationPrompt's in the FormSwitcher's state. We disable the 'Switch to' buttons altogether if a NavigationPrompt is detected. We could also use this state to control other navigation-capable components, like client-side routers."),(0,o.mdx)("h2",{id:"examples"},"Examples"),(0,o.mdx)(p,{title:"Part 2 - Implementing a Custom Prompt Handler",mdxType:"ImplementationGuidePart2"}))}v.isMDXComponent=!0},12514:function(e,t,n){n.d(t,{E:function(){return r}});var a=n(96540),o=n(55713);const r=({url:e})=>a.createElement(o.A,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-navigation-prompt",name:"terra-navigation-prompt",version:"1.93.0",url:e})},25642:function(e,t,n){n.r(t),t.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}},89986:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},49558:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),o=r(n(25365));function r(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=Object.assign({},e);return a.default.createElement(o.default,t,a.default.createElement("path",{d:"M10.3 24 33.8 0l3.9 3.8L18 24l19.7 20.2-3.9 3.8z"}))};l.displayName="IconChevronLeft",l.defaultProps={viewBox:"0 0 48 48","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg"};t.default=l}}]); \ No newline at end of file diff --git a/16162-0a6132dfc6dbd0f4a06a.css b/16162-0a6132dfc6dbd0f4a06a.css new file mode 100644 index 000000000..5e128050e --- /dev/null +++ b/16162-0a6132dfc6dbd0f4a06a.css @@ -0,0 +1,8 @@ +.Arrange-module__arrange___hY0Ml{display:-ms-flexbox;display:flex}.Arrange-module__fill___m88eq{-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}.Arrange-module__fit___tv8j-{-ms-flex-item-align:start;align-self:flex-start;-ms-flex:0 0 auto;flex:0 0 auto}.Arrange-module__center___9qfhG{-ms-flex-item-align:center;align-self:center;max-height:100%}.Arrange-module__bottom___8beod{-ms-flex-item-align:end;align-self:flex-end;max-height:100%}.Arrange-module__stretch___eQF-k{-ms-flex-item-align:stretch;align-self:stretch}.Arrange-module__default___z\+O29{-ms-flex-item-align:start;align-self:flex-start} +.placeholder-list{list-style:none}[dir] .placeholder-list{border-bottom:1px solid #dedfe0;border-top:1px solid #dedfe0;margin:0;padding:0}[dir] .is-padded .placeholder-list-item{padding:.7rem}.placeholder-list-item{overflow:hidden}[dir] .placeholder-list-item{border-bottom:1px solid #dedfe0;margin:0}[dir] .placeholder-list-item:last-of-type{border-bottom:0}[dir] .placeholder-list-item:focus{background-color:#ebf6fd}[dir] .placeholder-list-item.is-selected{background-color:#cbe7fa} +[dir] .AggregatorItem-module__readonly-modal-content___90fCW{padding:15px}.AggregatorItem-module__header-arrange___uCJ-m{font-size:1.285rem}[dir] .AggregatorItem-module__header-arrange___uCJ-m{background:#f4f4f4;padding:.71429rem .5rem}[dir=ltr] .AggregatorItem-module__header-arrange-content___k1GfD{margin-right:.7rem}[dir=rtl] .AggregatorItem-module__header-arrange-content___k1GfD{margin-left:.7rem} +.Input-module__clinical-lowlight-theme___clY96{--terra-form-input-background-color: #222a2e;--terra-form-input-border: 1px solid #181b1d;--terra-form-input-border-radius: 3px;--terra-form-input-box-shadow: none;--terra-form-input-color: #b2b5b6;--terra-form-input-font-size: 1.14285714rem;--terra-form-input-height: 2.14285714rem;--terra-form-input-hover-border: 1px solid #181b1d;--terra-form-input-line-height: 1.25;--terra-form-input-padding-bottom: 0.28571rem;--terra-form-input-padding-left: 0.28571rem;--terra-form-input-padding-right: 0.28571rem;--terra-form-input-padding-top: 0.28571rem;--terra-form-input-transition-duration: 0s;--terra-form-input-transition-timing-function: ease;--terra-form-input-disabled-background-color: #1d2529;--terra-form-input-disabled-border: 1px solid #242b2b;--terra-form-input-disabled-color: #404344;--terra-form-input-disabled-opacity: 0.25;--terra-form-input-focus-background-color: #222a2e;--terra-form-input-focus-border: 1px solid #004c76;--terra-form-input-error-border: 1px solid #181b1d;--terra-form-input-error-disabled-background-color: #1d2529;--terra-form-input-error-disabled-border: 1px solid #242b2b;--terra-form-input-error-disabled-color: #404344;--terra-form-input-error-disabled-opacity: 0.25;--terra-form-input-error-focus-background-color: #222a2e;--terra-form-input-error-focus-border: 1px solid #004c76;--terra-form-input-error-hover-border: 1px solid #181b1d;--terra-form-input-background-image: none;--terra-form-input-background-size: auto;--terra-form-input-focus-background-size: auto;--terra-form-input-focus-box-shadow: 0 0 1px 3px #004c76, 0 0 7px 4px #004c76;--terra-form-input-focus-color: #b2b5b6;--terra-form-input-focus-ltr-box-shadow: none;--terra-form-input-focus-rtl-box-shadow: none;--terra-form-input-hover-background-color: #222a2e;--terra-form-input-hover-color: #b2b5b6;--terra-form-input-error-background-color: #222a2e;--terra-form-input-error-background-image: none;--terra-form-input-error-box-shadow: 0 0 0 1px #fb4c4c;--terra-form-input-error-focus-box-shadow: 0 0 1px 3px #004c76, 0 0 7px 4px #004c76;--terra-form-input-error-focus-background-size: auto;--terra-form-input-error-focus-ltr-box-shadow: 0 0 0 1px #004c76;--terra-form-input-error-focus-rtl-box-shadow: 0 0 0 1px #004c76;--terra-form-input-error-hover-background-color: #222a2e;--terra-form-input-incomplete-background-color: #464232;--terra-form-input-incomplete-hover-background-color: #464232;--terra-form-input-incomplete-disabled-background-color: #464232;--terra-form-input-incomplete-focus-background-color: #464232}.Input-module__orion-fusion-theme___phvH5{--terra-form-input-background-color: #fff;--terra-form-input-border: 1px solid #dedfe0;--terra-form-input-border-radius: 3px;--terra-form-input-box-shadow: none;--terra-form-input-color: #1c1f21;--terra-form-input-font-size: 1rem;--terra-form-input-height: 2.16667rem;--terra-form-input-line-height: 1.25;--terra-form-input-padding-bottom: 0.25rem;--terra-form-input-padding-left: 0.25rem;--terra-form-input-padding-right: 0.25rem;--terra-form-input-padding-top: 0.25rem;--terra-form-input-transition-duration: 0s;--terra-form-input-transition-timing-function: ease;--terra-form-input-background-image: none;--terra-form-input-background-size: auto;--terra-form-input-hover-background-color: #fff;--terra-form-input-hover-border: 1px solid #dedfe0;--terra-form-input-hover-color: #1c1f21;--terra-form-input-focus-background-color: #fff;--terra-form-input-focus-border: 1px solid #4cb2e9;--terra-form-input-focus-box-shadow: 0 0 8px #a6d9f4;--terra-form-input-focus-color: #1c1f21;--terra-form-input-focus-background-size: auto;--terra-form-input-focus-ltr-box-shadow: 0 0 8px #a6d9f4;--terra-form-input-focus-rtl-box-shadow: 0 0 8px #a6d9f4;--terra-form-input-disabled-background-color: #f4f4f4;--terra-form-input-disabled-border: 1px solid #b2b5b6;--terra-form-input-disabled-color: #9b9fa1;--terra-form-input-disabled-opacity: 1;--terra-form-input-error-background-image: none;--terra-form-input-error-background-color: #fff;--terra-form-input-error-border: 1px solid #dedfe0;--terra-form-input-error-box-shadow: none;--terra-form-input-error-hover-background-color: #fff;--terra-form-input-error-hover-border: 1px solid #dedfe0;--terra-form-input-error-focus-background-color: #fff;--terra-form-input-error-focus-border: 1px solid #dedfe0;--terra-form-input-error-focus-box-shadow: 0 0 8px #a6d9f4;--terra-form-input-error-focus-background-size: auto;--terra-form-input-error-focus-ltr-box-shadow: 0 0 8px #a6d9f4;--terra-form-input-error-focus-rtl-box-shadow: 0 0 8px #a6d9f4;--terra-form-input-error-disabled-background-color: #f4f4f4;--terra-form-input-error-disabled-border: 1px solid #b2b5b6;--terra-form-input-error-disabled-color: #9b9fa1;--terra-form-input-error-disabled-opacity: 1;--terra-form-input-incomplete-background-color: #fefd9a;--terra-form-input-incomplete-hover-background-color: #fefd9a;--terra-form-input-incomplete-focus-background-color: #fefd9a;--terra-form-input-incomplete-disabled-background-color: #f4f4f4}.Input-module__form-input___Fk8kb{color:#1c1f21;color:var(--terra-form-input-color, #1c1f21);font-family:inherit;font-size:1.142857rem;font-size:var(--terra-form-input-font-size, 1.142857rem);height:2.142857rem;height:var(--terra-form-input-height, 2.142857rem);line-height:1.25;line-height:var(--terra-form-input-line-height, 1.25);width:100%}[dir] .Input-module__form-input___Fk8kb{background-color:#fff;background-color:var(--terra-form-input-background-color, #fff);background-image:var(--terra-form-input-background-image);background-repeat:no-repeat;background-size:var(--terra-form-input-background-size);border:1px solid #dedfe0;border:var(--terra-form-input-border, 1px solid #dedfe0);border-radius:3px;border-radius:var(--terra-form-input-border-radius, 3px);box-shadow:var(--terra-form-input-box-shadow);padding-bottom:0.28571rem;padding-bottom:var(--terra-form-input-padding-bottom, 0.28571rem);padding-top:0.28571rem;padding-top:var(--terra-form-input-padding-top, 0.28571rem);transition-duration:0s;transition-duration:var(--terra-form-input-transition-duration, 0s);transition-property:background-size;transition-timing-function:ease;transition-timing-function:var(--terra-form-input-transition-timing-function, ease)}[dir=ltr] .Input-module__form-input___Fk8kb{background-position:0 100%;padding-left:0.28571rem;padding-left:var(--terra-form-input-padding-left, 0.28571rem);padding-right:0.28571rem;padding-right:var(--terra-form-input-padding-right, 0.28571rem)}[dir=rtl] .Input-module__form-input___Fk8kb{background-position:100% 100%;padding-right:0.28571rem;padding-right:var(--terra-form-input-padding-left, 0.28571rem);padding-left:0.28571rem;padding-left:var(--terra-form-input-padding-right, 0.28571rem)}.Input-module__form-input___Fk8kb:hover{color:var(--terra-form-input-hover-color)}[dir] .Input-module__form-input___Fk8kb:hover{background-color:#fff;background-color:var(--terra-form-input-hover-background-color, #fff);border:1px solid #dedfe0;border:var(--terra-form-input-hover-border, 1px solid #dedfe0)}[dir] .Input-module__form-input___Fk8kb[required]{box-shadow:none}.Input-module__form-input___Fk8kb[disabled]{color:#1c1f21;color:var(--terra-form-input-disabled-color, #1c1f21);opacity:0.25;opacity:var(--terra-form-input-disabled-opacity, 0.25);pointer-events:none}[dir] .Input-module__form-input___Fk8kb[disabled]{background-color:rgba(111, 116, 119, 0.2);background-color:var(--terra-form-input-disabled-background-color, rgba(111, 116, 119, 0.2));border:1px solid #868a8c;border:var(--terra-form-input-disabled-border, 1px solid #868a8c);cursor:default}.Input-module__form-input___Fk8kb:focus{color:var(--terra-form-input-focus-color);outline:none}[dir] .Input-module__form-input___Fk8kb:focus{background-color:#fff;background-color:var(--terra-form-input-focus-background-color, #fff);background-size:var(--terra-form-input-focus-background-size);border:1px solid #4cb2e9;border:var(--terra-form-input-focus-border, 1px solid #4cb2e9);box-shadow:var(--terra-form-input-focus-box-shadow)}[dir=ltr] .Input-module__form-input___Fk8kb:focus{box-shadow:var(--terra-form-input-focus-ltr-box-shadow)}[dir=rtl] .Input-module__form-input___Fk8kb:focus{box-shadow:var(--terra-form-input-focus-rtl-box-shadow)}[dir] .Input-module__form-error___aU4hq{background-color:#fff;background-color:var(--terra-form-input-error-background-color, #fff);background-image:var(--terra-form-input-error-background-image);border:1px solid #e50000;border:var(--terra-form-input-error-border, 1px solid #e50000);box-shadow:0 0 0 1px #e50000;box-shadow:var(--terra-form-input-error-box-shadow, 0 0 0 1px #e50000)}[dir] .Input-module__form-error___aU4hq:hover{background-color:#fff;background-color:var(--terra-form-input-error-hover-background-color, #fff);border:1px solid #e50000;border:var(--terra-form-input-error-hover-border, 1px solid #e50000)}.Input-module__form-error___aU4hq[disabled]{color:#1c1f21;color:var(--terra-form-input-error-disabled-color, #1c1f21);opacity:0.25;opacity:var(--terra-form-input-error-disabled-opacity, 0.25)}[dir] .Input-module__form-error___aU4hq[disabled]{background-color:rgba(111, 116, 119, 0.2);background-color:var(--terra-form-input-error-disabled-background-color, rgba(111, 116, 119, 0.2));border:1px solid #e50000;border:var(--terra-form-input-error-disabled-border, 1px solid #e50000)}[dir] .Input-module__form-error___aU4hq[required]{box-shadow:0 0 0 1px #e50000;box-shadow:var(--terra-form-input-error-box-shadow, 0 0 0 1px #e50000)}[dir] .Input-module__form-error___aU4hq:focus{background-color:#fff;background-color:var(--terra-form-input-error-focus-background-color, #fff);background-size:var(--terra-form-input-error-focus-background-size);border:1px solid #e50000;border:var(--terra-form-input-error-focus-border, 1px solid #e50000);box-shadow:0 0 0 1px #e50000;box-shadow:var(--terra-form-input-error-focus-box-shadow, 0 0 0 1px #e50000)}[dir=ltr] .Input-module__form-error___aU4hq:focus{box-shadow:0 0 0 1px #e50000;box-shadow:var(--terra-form-input-error-focus-ltr-box-shadow, 0 0 0 1px #e50000)}[dir=rtl] .Input-module__form-error___aU4hq:focus{box-shadow:0 0 0 1px #e50000;box-shadow:var(--terra-form-input-error-focus-rtl-box-shadow, 0 0 0 1px #e50000)}[dir] .Input-module__form-incomplete___h4I7H{background-color:#ffc;background-color:var(--terra-form-input-incomplete-background-color, #ffc)}[dir] .Input-module__form-incomplete___h4I7H:hover{background-color:#ffc;background-color:var(--terra-form-input-incomplete-hover-background-color, #ffc)}[dir] .Input-module__form-incomplete___h4I7H[disabled]{background-color:#ffc;background-color:var(--terra-form-input-incomplete-disabled-background-color, #ffc)}[dir] .Input-module__form-incomplete___h4I7H:focus{background-color:#ffc;background-color:var(--terra-form-input-incomplete-focus-background-color, #ffc)} +.example-styles-module__example-wrapper___BDtGd{height:28rem}[dir] .example-styles-module__example-wrapper___BDtGd{border:1px solid #d3d3d3}[dir] .example-styles-module__content-wrapper___aVyh0{padding:.7rem} +.ExampleTemplate-module__clinical-lowlight-theme___rBbtD{--terra-dev-site-example-template-hover-selected-code-toggle-background-color: #505a5f;--terra-dev-site-example-template-selected-code-toggle-background-color: #3f474b;--terra-dev-site-example-template-hover-code-toggle-background-color: #373d41;--terra-dev-site-example-template-code-toggle-background-color: #2e3539;--terra-dev-site-example-template-selected-code-toggle-color: #ebebeb;--terra-dev-site-example-template-code-background-color: #1d2427;--terra-dev-site-example-template-keyboard-focus-outline: #fff;--terra-dev-site-example-template-code-toggle-color: #b2b5b6;--terra-dev-site-example-template-footer-background-color: #262b2e;--terra-dev-site-example-template-header-background-color: #262b2e;--terra-dev-site-example-template-content-background-color: #1b2326}.ExampleTemplate-module__orion-fusion-theme___GzA23{--terra-dev-site-example-template-hover-selected-code-toggle-background-color: #424141;--terra-dev-site-example-template-selected-code-toggle-background-color: #666565;--terra-dev-site-example-template-hover-code-toggle-background-color: #b8b8b8;--terra-dev-site-example-template-code-toggle-background-color: #ddd;--terra-dev-site-example-template-selected-code-toggle-color: #ebebeb;--terra-dev-site-example-template-code-background-color: #f6f8fa;--terra-dev-site-example-template-keyboard-focus-outline: #000;--terra-dev-site-example-template-code-toggle-color: #000;--terra-dev-site-example-template-footer-background-color: #f4f4f4;--terra-dev-site-example-template-header-background-color: #f4f4f4;--terra-dev-site-example-template-template-content-background-color: #fff}.ExampleTemplate-module__template___a4uPk{overflow:hidden}[dir] .ExampleTemplate-module__template___a4uPk{border:1px solid #e8e8e8;border-radius:3px;margin-bottom:.9375rem}[dir] .ExampleTemplate-module__header___iFXV3{background-color:var(--terra-dev-site-example-template-header-background-color);border-bottom:1px solid #e8e8e8;padding:.625rem}[dir] .ExampleTemplate-module__content___48m4Q{background-color:var(--terra-dev-site-example-template-content-background-color);padding:.625rem}[dir] .ExampleTemplate-module__description___NwBJo{padding-bottom:.625rem}.ExampleTemplate-module__footer___GpSoG{overflow:hidden}[dir] .ExampleTemplate-module__footer___GpSoG{background-color:var(--terra-dev-site-example-template-footer-background-color)}.ExampleTemplate-module__button-container___rAD11{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.ExampleTemplate-module__css___\+jtk1,.ExampleTemplate-module__code___7rC6C{height:100%}[dir] .ExampleTemplate-module__css___\+jtk1, [dir] .ExampleTemplate-module__code___7rC6C{background-color:#f6f8fa;background-color:var(--terra-dev-site-example-template-code-background-color, #f6f8fa)}.ExampleTemplate-module__css-toggle___chHK7,.ExampleTemplate-module__code-toggle___TGlE-{-ms-flex-align:center;align-items:center;color:#000;color:var(--terra-dev-site-example-template-code-toggle-color, #000);display:-ms-flexbox;display:flex;outline:none}[dir] .ExampleTemplate-module__css-toggle___chHK7, [dir] .ExampleTemplate-module__code-toggle___TGlE-{background-color:#ddd;background-color:var(--terra-dev-site-example-template-code-toggle-background-color, #ddd);border:0;cursor:pointer;padding:.625rem}.ExampleTemplate-module__css-toggle___chHK7.ExampleTemplate-module__is-selected___0BYwS,.ExampleTemplate-module__code-toggle___TGlE-.ExampleTemplate-module__is-selected___0BYwS{color:#ebebeb;color:var(--terra-dev-site-example-template-selected-code-toggle-color, #ebebeb)}[dir] .ExampleTemplate-module__css-toggle___chHK7.ExampleTemplate-module__is-selected___0BYwS, [dir] .ExampleTemplate-module__code-toggle___TGlE-.ExampleTemplate-module__is-selected___0BYwS{background-color:#666565;background-color:var(--terra-dev-site-example-template-selected-code-toggle-background-color, #666565)}[dir] .ExampleTemplate-module__css-toggle___chHK7:hover, [dir] .ExampleTemplate-module__code-toggle___TGlE-:hover{background-color:#b8b8b8;background-color:var(--terra-dev-site-example-template-hover-code-toggle-background-color, #b8b8b8)}[dir] .ExampleTemplate-module__css-toggle___chHK7:hover.ExampleTemplate-module__is-selected___0BYwS, [dir] .ExampleTemplate-module__code-toggle___TGlE-:hover.ExampleTemplate-module__is-selected___0BYwS{background-color:#424141;background-color:var(--terra-dev-site-example-template-hover-selected-code-toggle-background-color, #424141)}.ExampleTemplate-module__item___8FTQq[data-focus-styles-enabled=true]:focus{outline:2px dashed #000;outline:2px dashed var(--terra-dev-site-example-template-keyboard-focus-outline, #000);outline-offset:-2px}.ExampleTemplate-module__chevron___VbY7N{display:inline-block;height:.875rem;width:.875rem}.ExampleTemplate-module__title___r\+nbJ{font-size:1rem;font-weight:500}[dir] .ExampleTemplate-module__title___r\+nbJ{margin:0;padding:0}[dir] .ExampleTemplate-module__dynamic-content___k\+1H7{background-color:rgba(0,0,0,0)} +.Grid-module__clinical-lowlight-theme___iBVVg{--terra-grid-gutter-margin-left: 1rem;--terra-grid-gutter-padding-left: 1rem}.Grid-module__orion-fusion-theme___hxBQz{--terra-grid-gutter-margin-left: 1rem;--terra-grid-gutter-padding-left: 1rem}.Grid-module__grid___Os-i8{box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:1;flex-shrink:1;-ms-flex-wrap:wrap;flex-wrap:wrap}[dir=ltr] .Grid-module__grid___Os-i8{margin-left:calc(1rem*-1);margin-left:calc(var(--terra-grid-gutter-margin-left, 1rem)*-1)}[dir=rtl] .Grid-module__grid___Os-i8{margin-right:calc(1rem*-1);margin-right:calc(var(--terra-grid-gutter-margin-left, 1rem)*-1)}.Grid-module__column___zXP7v{box-sizing:border-box;-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;max-width:100%}[dir=ltr] .Grid-module__column___zXP7v{padding-left:1rem;padding-left:var(--terra-grid-gutter-padding-left, 1rem)}[dir=rtl] .Grid-module__column___zXP7v{padding-right:1rem;padding-right:var(--terra-grid-gutter-padding-left, 1rem)}@media screen and (min-width: 0px){.Grid-module__column-tiny-1___\+1wfL{-ms-flex-preferred-size:8.3333333333%;flex-basis:8.3333333333%;max-width:8.3333333333%}.Grid-module__column-tiny-2___PrgO4{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.Grid-module__column-tiny-3___9YJit{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.Grid-module__column-tiny-4___jIRz\+{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%;max-width:33.3333333333%}.Grid-module__column-tiny-5___IOG0q{-ms-flex-preferred-size:41.6666666667%;flex-basis:41.6666666667%;max-width:41.6666666667%}.Grid-module__column-tiny-6___htaH4{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.Grid-module__column-tiny-7___a33iE{-ms-flex-preferred-size:58.3333333333%;flex-basis:58.3333333333%;max-width:58.3333333333%}.Grid-module__column-tiny-8___-yY3y{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%;max-width:66.6666666667%}.Grid-module__column-tiny-9___zy187{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.Grid-module__column-tiny-10___xGjO7{-ms-flex-preferred-size:83.3333333333%;flex-basis:83.3333333333%;max-width:83.3333333333%}.Grid-module__column-tiny-11___jmS1E{-ms-flex-preferred-size:91.6666666667%;flex-basis:91.6666666667%;max-width:91.6666666667%}.Grid-module__column-tiny-12___-6WVA{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}}@media screen and (min-width: 544px){.Grid-module__column-small-1___xxAEw{-ms-flex-preferred-size:8.3333333333%;flex-basis:8.3333333333%;max-width:8.3333333333%}.Grid-module__column-small-2___h46ZG{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.Grid-module__column-small-3___cGpOb{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.Grid-module__column-small-4___sD5fv{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%;max-width:33.3333333333%}.Grid-module__column-small-5___GIPIh{-ms-flex-preferred-size:41.6666666667%;flex-basis:41.6666666667%;max-width:41.6666666667%}.Grid-module__column-small-6___v9PQi{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.Grid-module__column-small-7___3tEtM{-ms-flex-preferred-size:58.3333333333%;flex-basis:58.3333333333%;max-width:58.3333333333%}.Grid-module__column-small-8___v5Aqd{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%;max-width:66.6666666667%}.Grid-module__column-small-9___EQWCI{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.Grid-module__column-small-10___m0tGE{-ms-flex-preferred-size:83.3333333333%;flex-basis:83.3333333333%;max-width:83.3333333333%}.Grid-module__column-small-11___2pWbr{-ms-flex-preferred-size:91.6666666667%;flex-basis:91.6666666667%;max-width:91.6666666667%}.Grid-module__column-small-12___5JnEA{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}}@media screen and (min-width: 768px){.Grid-module__column-medium-1___Yz235{-ms-flex-preferred-size:8.3333333333%;flex-basis:8.3333333333%;max-width:8.3333333333%}.Grid-module__column-medium-2___9jJQg{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.Grid-module__column-medium-3___li0pW{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.Grid-module__column-medium-4___J\+DGa{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%;max-width:33.3333333333%}.Grid-module__column-medium-5___NpRnE{-ms-flex-preferred-size:41.6666666667%;flex-basis:41.6666666667%;max-width:41.6666666667%}.Grid-module__column-medium-6___i5TZS{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.Grid-module__column-medium-7___FPmRH{-ms-flex-preferred-size:58.3333333333%;flex-basis:58.3333333333%;max-width:58.3333333333%}.Grid-module__column-medium-8___pVJuv{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%;max-width:66.6666666667%}.Grid-module__column-medium-9___9R-eZ{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.Grid-module__column-medium-10___IdHZl{-ms-flex-preferred-size:83.3333333333%;flex-basis:83.3333333333%;max-width:83.3333333333%}.Grid-module__column-medium-11___R53Lk{-ms-flex-preferred-size:91.6666666667%;flex-basis:91.6666666667%;max-width:91.6666666667%}.Grid-module__column-medium-12___nisE\+{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}}@media screen and (min-width: 992px){.Grid-module__column-large-1___iu56a{-ms-flex-preferred-size:8.3333333333%;flex-basis:8.3333333333%;max-width:8.3333333333%}.Grid-module__column-large-2___xmnS6{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.Grid-module__column-large-3___lcwn6{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.Grid-module__column-large-4___DAqhR{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%;max-width:33.3333333333%}.Grid-module__column-large-5___FY8vE{-ms-flex-preferred-size:41.6666666667%;flex-basis:41.6666666667%;max-width:41.6666666667%}.Grid-module__column-large-6___htHJ\+{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.Grid-module__column-large-7___V01cK{-ms-flex-preferred-size:58.3333333333%;flex-basis:58.3333333333%;max-width:58.3333333333%}.Grid-module__column-large-8___yv14\+{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%;max-width:66.6666666667%}.Grid-module__column-large-9___IZJLb{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.Grid-module__column-large-10___Yq3R8{-ms-flex-preferred-size:83.3333333333%;flex-basis:83.3333333333%;max-width:83.3333333333%}.Grid-module__column-large-11___fz98K{-ms-flex-preferred-size:91.6666666667%;flex-basis:91.6666666667%;max-width:91.6666666667%}.Grid-module__column-large-12___qedSp{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}}@media screen and (min-width: 1216px){.Grid-module__column-huge-1___Y7ydw{-ms-flex-preferred-size:8.3333333333%;flex-basis:8.3333333333%;max-width:8.3333333333%}.Grid-module__column-huge-2___RekuK{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.Grid-module__column-huge-3___sO6jv{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.Grid-module__column-huge-4___C3Zti{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%;max-width:33.3333333333%}.Grid-module__column-huge-5___YOTc5{-ms-flex-preferred-size:41.6666666667%;flex-basis:41.6666666667%;max-width:41.6666666667%}.Grid-module__column-huge-6___0je45{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.Grid-module__column-huge-7___iHY-G{-ms-flex-preferred-size:58.3333333333%;flex-basis:58.3333333333%;max-width:58.3333333333%}.Grid-module__column-huge-8___hwq18{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%;max-width:66.6666666667%}.Grid-module__column-huge-9___XkrI1{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.Grid-module__column-huge-10___kk\+IW{-ms-flex-preferred-size:83.3333333333%;flex-basis:83.3333333333%;max-width:83.3333333333%}.Grid-module__column-huge-11___izwwH{-ms-flex-preferred-size:91.6666666667%;flex-basis:91.6666666667%;max-width:91.6666666667%}.Grid-module__column-huge-12___VTALE{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}}@media screen and (min-width: 1440px){.Grid-module__column-enormous-1___7jaM7{-ms-flex-preferred-size:8.3333333333%;flex-basis:8.3333333333%;max-width:8.3333333333%}.Grid-module__column-enormous-2___XJH79{-ms-flex-preferred-size:16.6666666667%;flex-basis:16.6666666667%;max-width:16.6666666667%}.Grid-module__column-enormous-3___bcPxR{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.Grid-module__column-enormous-4___fAqEp{-ms-flex-preferred-size:33.3333333333%;flex-basis:33.3333333333%;max-width:33.3333333333%}.Grid-module__column-enormous-5___0QWBj{-ms-flex-preferred-size:41.6666666667%;flex-basis:41.6666666667%;max-width:41.6666666667%}.Grid-module__column-enormous-6___4WMSd{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.Grid-module__column-enormous-7___Bvt0l{-ms-flex-preferred-size:58.3333333333%;flex-basis:58.3333333333%;max-width:58.3333333333%}.Grid-module__column-enormous-8___1rQyt{-ms-flex-preferred-size:66.6666666667%;flex-basis:66.6666666667%;max-width:66.6666666667%}.Grid-module__column-enormous-9___2n6pM{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.Grid-module__column-enormous-10___HcDD6{-ms-flex-preferred-size:83.3333333333%;flex-basis:83.3333333333%;max-width:83.3333333333%}.Grid-module__column-enormous-11___CvLx0{-ms-flex-preferred-size:91.6666666667%;flex-basis:91.6666666667%;max-width:91.6666666667%}.Grid-module__column-enormous-12___ifU5q{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}} +.SectionHeader-module__clinical-lowlight-theme___M-5zo{--terra-section-header-padding-end: 0.7142857143rem;--terra-section-header-padding-start: 0.7142857143rem;--terra-section-header-background: #141719;--terra-section-header-border-bottom: 1px solid #08090a;--terra-section-header-border-left: 0 none;--terra-section-header-border-right: 0 none;--terra-section-header-border-top: 0 none;--terra-section-header-box-shadow: none;--terra-section-header-color: #b2b5b6;--terra-section-header-min-height: 2.5rem;--terra-section-header-padding-bottom: 0.5rem;--terra-section-header-padding-top: 0.5rem;--terra-section-header-font-size: 1rem;--terra-section-header-font-weight: bold;--terra-section-header-line-height: 1.4285714286;--terra-section-header-text-transform: none;--terra-section-header-transparent-min-height: 2.42857rem;--terra-section-header-accordion-padding-start: 0.5rem;--terra-section-header-active-background: #000;--terra-section-header-active-border-bottom: 1px solid #08090a;--terra-section-header-active-border-left: 0 none;--terra-section-header-active-border-right: 0 none;--terra-section-header-active-border-top: 0 none;--terra-section-header-active-box-shadow: none;--terra-section-header-active-color: #b2b5b6;--terra-section-header-focus-background: #08090a;--terra-section-header-focus-color: #b2b5b6;--terra-section-header-focus-within-outline: 3px dashed #fff;--terra-section-header-focus-within-outline-offset: -2px;--terra-section-header-hover-background: #08090a;--terra-section-header-hover-border-bottom: 1px solid #08090a;--terra-section-header-hover-border-left: 0 none;--terra-section-header-hover-border-right: 0 none;--terra-section-header-hover-border-top: 0 none;--terra-section-header-hover-box-shadow: none;--terra-section-header-hover-color: #b2b5b6;--terra-section-header-transparent-active-background: #191d20;--terra-section-header-transparent-active-border-bottom: 1px solid #08090a;--terra-section-header-transparent-active-border-left: 0 none;--terra-section-header-transparent-active-border-right: 0 none;--terra-section-header-transparent-active-border-top: 0 none;--terra-section-header-transparent-active-box-shadow: none;--terra-section-header-transparent-active-color: #b2b5b6;--terra-section-header-transparent-focus-background: #222a2e;--terra-section-header-transparent-hover-background: #1e272b;--terra-section-header-transparent-hover-border-bottom: 1px solid #08090a;--terra-section-header-transparent-hover-border-left: 0 none;--terra-section-header-transparent-hover-border-right: 0 none;--terra-section-header-transparent-hover-border-top: 0 none;--terra-section-header-transparent-hover-box-shadow: none;--terra-section-header-transparent-hover-color: #9b9b9b;--terra-section-header-accordion-icon-margin-start: 0;--terra-section-header-accordion-icon-margin-end: 0.38rem;--terra-section-header-accordion-icon-padding-start: 0;--terra-section-header-accordion-icon-padding-end: 0;--terra-section-header-accordion-icon-padding-bottom: 0;--terra-section-header-accordion-icon-padding-top: 0.38rem;--terra-section-header-accordion-icon-height: 0.83593rem;--terra-section-header-accordion-icon-width: 0.83593rem;--terra-section-header-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;--terra-section-header-accordion-icon-background:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20fill%3D%22%23b2b5b6%22%20d%3D%22M12%2C0l24%2C24L12%2C48V0z%22%2F%3E%3C%2Fsvg%3E")}.SectionHeader-module__orion-fusion-theme___MGUT7{--terra-section-header-padding-end: 0.83333rem;--terra-section-header-padding-start: 0.83333rem;--terra-section-header-background: #dedfe0;--terra-section-header-border-bottom: 1px solid #9b9fa1;--terra-section-header-border-left: 0 none;--terra-section-header-border-right: 0 none;--terra-section-header-border-top: 0 none;--terra-section-header-box-shadow: none;--terra-section-header-color: #1c1f21;--terra-section-header-min-height: 2.25rem;--terra-section-header-padding-bottom: 0.25rem;--terra-section-header-padding-top: 0.25rem;--terra-section-header-font-size: 1rem;--terra-section-header-font-weight: normal;--terra-section-header-line-height: 1.41666667;--terra-section-header-text-transform: none;--terra-section-header-transparent-min-height: 2.16667rem;--terra-section-header-accordion-padding-start: 0.83333rem;--terra-section-header-active-background: #c8cacb;--terra-section-header-active-border-bottom: 1px solid #9b9fa1;--terra-section-header-active-border-left: 0 none;--terra-section-header-active-border-right: 0 none;--terra-section-header-active-border-top: 0 none;--terra-section-header-active-box-shadow: none;--terra-section-header-active-color: #1c1f21;--terra-section-header-focus-background: #dedfe0;--terra-section-header-focus-color: #1c1f21;--terra-section-header-focus-within-outline: none;--terra-section-header-focus-within-outline-offset: 0;--terra-section-header-hover-background: #c8cacb;--terra-section-header-hover-border-bottom: 1px solid #9b9fa1;--terra-section-header-hover-border-left: 0 none;--terra-section-header-hover-border-right: 0 none;--terra-section-header-hover-border-top: 0 none;--terra-section-header-hover-box-shadow: none;--terra-section-header-hover-color: #1c1f21;--terra-section-header-transparent-active-background: rgba(0, 0, 0, 0.07);--terra-section-header-transparent-active-border-bottom: 0 none;--terra-section-header-transparent-active-border-left: 0 none;--terra-section-header-transparent-active-border-right: 0 none;--terra-section-header-transparent-active-border-top: 0 none;--terra-section-header-transparent-active-box-shadow: none;--terra-section-header-transparent-active-color: #1c1f21;--terra-section-header-transparent-focus-background: rgba(0, 0, 0, 0.07);--terra-section-header-transparent-hover-background: rgba(0, 0, 0, 0.07);--terra-section-header-transparent-hover-border-bottom: 0 none;--terra-section-header-transparent-hover-border-left: 0 none;--terra-section-header-transparent-hover-border-right: 0 none;--terra-section-header-transparent-hover-border-top: 0 none;--terra-section-header-transparent-hover-box-shadow: none;--terra-section-header-transparent-hover-color: #1c1f21;--terra-section-header-accordion-icon-margin-start: 0;--terra-section-header-accordion-icon-margin-end: 0.41667rem;--terra-section-header-accordion-icon-padding-start: 0;--terra-section-header-accordion-icon-padding-end: 0;--terra-section-header-accordion-icon-padding-bottom: 0;--terra-section-header-accordion-icon-padding-top: 0.33333rem;--terra-section-header-accordion-icon-height: 0.66667rem;--terra-section-header-accordion-icon-width: 0.66667rem;--terra-section-header-font-family: Tahoma, "Geneva", Verdana, "Trebuchet MS", sans-serif;--terra-section-header-accordion-icon-background:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20fill%3D%22%231c1f21%22%20d%3D%22M12%2C0l24%2C24L12%2C48V0z%22%2F%3E%3C%2Fsvg%3E")}[dir] .SectionHeader-module__orion-fusion-theme___MGUT7:focus-within{border-bottom:1px solid #c8cacb;box-shadow:0 0 1px 3px rgba(76,178,233,.5),0 0 7px 4px rgba(76,178,233,.35)}.SectionHeader-module__section-header___wbdJQ{-ms-flex-align:center;align-items:center;color:#1c1f21;color:var(--terra-section-header-color, #1c1f21);display:-ms-flexbox;display:flex;min-height:2.5rem;min-height:var(--terra-section-header-min-height, 2.5rem);width:100%}[dir] .SectionHeader-module__section-header___wbdJQ{background:#e8e9ea;background:var(--terra-section-header-background, #e8e9ea);border-bottom:1px solid #c8cacb;border-bottom:var(--terra-section-header-border-bottom, 1px solid #c8cacb);border-top:0 none;border-top:var(--terra-section-header-border-top, 0 none);box-shadow:none;box-shadow:var(--terra-section-header-box-shadow, none);margin:0;padding-bottom:0.5rem;padding-bottom:var(--terra-section-header-padding-bottom, 0.5rem);padding-top:0.5rem;padding-top:var(--terra-section-header-padding-top, 0.5rem)}[dir=ltr] .SectionHeader-module__section-header___wbdJQ{padding-right:0.7142857143rem;padding-right:var(--terra-section-header-padding-end, 0.7142857143rem);padding-left:0.7142857143rem;padding-left:var(--terra-section-header-padding-start, 0.7142857143rem);border-left:0 none;border-left:var(--terra-section-header-border-left, 0 none);border-right:0 none;border-right:var(--terra-section-header-border-right, 0 none)}[dir=rtl] .SectionHeader-module__section-header___wbdJQ{padding-left:0.7142857143rem;padding-left:var(--terra-section-header-padding-end, 0.7142857143rem);padding-right:0.7142857143rem;padding-right:var(--terra-section-header-padding-start, 0.7142857143rem);border-right:0 none;border-right:var(--terra-section-header-border-left, 0 none);border-left:0 none;border-left:var(--terra-section-header-border-right, 0 none)}.SectionHeader-module__section-header___wbdJQ:focus-within{color:#1c1f21;color:var(--terra-section-header-focus-color, #1c1f21);outline:3px dashed #000;outline:var(--terra-section-header-focus-within-outline, 3px dashed #000);outline-offset:-2px;outline-offset:var(--terra-section-header-focus-within-outline-offset, -2px)}[dir] .SectionHeader-module__section-header___wbdJQ:focus-within{background:#e8e9ea;background:var(--terra-section-header-focus-background, #e8e9ea)}[dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-transparent___3L6Q5:focus-within{background:rgba(0, 0, 0, 0.07);background:var(--terra-section-header-transparent-focus-background, rgba(0, 0, 0, 0.07))}[dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z{cursor:pointer}[dir=ltr] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z{padding-left:0.5rem;padding-left:var(--terra-section-header-accordion-padding-start, 0.5rem)}[dir=rtl] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z{padding-right:0.5rem;padding-right:var(--terra-section-header-accordion-padding-start, 0.5rem)}.SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:hover{color:#1c1f21;color:var(--terra-section-header-hover-color, #1c1f21)}[dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:hover{background:#d7d8d9;background:var(--terra-section-header-hover-background, #d7d8d9);border-bottom:1px solid #c8cacb;border-bottom:var(--terra-section-header-hover-border-bottom, 1px solid #c8cacb);border-top:0 none;border-top:var(--terra-section-header-hover-border-top, 0 none);box-shadow:none;box-shadow:var(--terra-section-header-hover-box-shadow, none)}[dir=ltr] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:hover{border-left:var(--terra-section-header-hover-border-left),0 none;border-right:0 none;border-right:var(--terra-section-header-hover-border-right, 0 none)}[dir=rtl] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:hover{border-right:var(--terra-section-header-hover-border-left),0 none;border-left:0 none;border-left:var(--terra-section-header-hover-border-right, 0 none)}.SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:active,.SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-active___Qfdbq{color:#1c1f21;color:var(--terra-section-header-active-color, #1c1f21)}[dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:active, [dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-active___Qfdbq{background:#d7d8d9;background:var(--terra-section-header-active-background, #d7d8d9);border-bottom:1px solid #c8cacb;border-bottom:var(--terra-section-header-active-border-bottom, 1px solid #c8cacb);border-top:0 none;border-top:var(--terra-section-header-active-border-top, 0 none);box-shadow:none;box-shadow:var(--terra-section-header-active-box-shadow, none)}[dir=ltr] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:active, [dir=ltr] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-active___Qfdbq{border-left:0 none;border-left:var(--terra-section-header-active-border-left, 0 none);border-right:0 none;border-right:var(--terra-section-header-active-border-right, 0 none)}[dir=rtl] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:active, [dir=rtl] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-active___Qfdbq{border-right:0 none;border-right:var(--terra-section-header-active-border-left, 0 none);border-left:0 none;border-left:var(--terra-section-header-active-border-right, 0 none)}.SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-transparent___3L6Q5{min-height:2.42857rem;min-height:var(--terra-section-header-transparent-min-height, 2.42857rem)}[dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-transparent___3L6Q5{background:rgba(0,0,0,0);border-bottom:0}.SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:hover{color:#1c1f21;color:var(--terra-section-header-transparent-hover-color, #1c1f21)}[dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:hover{background:rgba(0, 0, 0, 0);background:var(--terra-section-header-transparent-hover-background, rgba(0, 0, 0, 0));border-bottom:0 none;border-bottom:var(--terra-section-header-transparent-hover-border-bottom, 0 none);border-top:0 none;border-top:var(--terra-section-header-transparent-hover-border-top, 0 none);box-shadow:none;box-shadow:var(--terra-section-header-transparent-hover-box-shadow, none)}[dir=ltr] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:hover{border-left:0 none;border-left:var(--terra-section-header-transparent-hover-border-left, 0 none);border-right:0 none;border-right:var(--terra-section-header-transparent-hover-border-right, 0 none)}[dir=rtl] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:hover{border-right:0 none;border-right:var(--terra-section-header-transparent-hover-border-left, 0 none);border-left:0 none;border-left:var(--terra-section-header-transparent-hover-border-right, 0 none)}.SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:active,.SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5.SectionHeader-module__is-active___Qfdbq{color:#1c1f21;color:var(--terra-section-header-transparent-active-color, #1c1f21)}[dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:active, [dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5.SectionHeader-module__is-active___Qfdbq{background:rgba(0, 0, 0, 0.07);background:var(--terra-section-header-transparent-active-background, rgba(0, 0, 0, 0.07));border-bottom:0 none;border-bottom:var(--terra-section-header-transparent-active-border-bottom, 0 none);border-top:0 none;border-top:var(--terra-section-header-transparent-active-border-top, 0 none);box-shadow:none;box-shadow:var(--terra-section-header-transparent-active-box-shadow, none)}[dir=ltr] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:active, [dir=ltr] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5.SectionHeader-module__is-active___Qfdbq{border-left:0 none;border-left:var(--terra-section-header-transparent-active-border-left, 0 none);border-right:0 none;border-right:var(--terra-section-header-transparent-active-border-right, 0 none)}[dir=rtl] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:active, [dir=rtl] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5.SectionHeader-module__is-active___Qfdbq{border-right:0 none;border-right:var(--terra-section-header-transparent-active-border-left, 0 none);border-left:0 none;border-left:var(--terra-section-header-transparent-active-border-right, 0 none)}.SectionHeader-module__section-header___wbdJQ button{color:inherit;font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;font-family:var(--terra-section-header-font-family, "Helvetica Neue", Helvetica, Arial, sans-serif)}[dir] .SectionHeader-module__section-header___wbdJQ button{background:none;border:0;cursor:pointer;padding:0}[dir=ltr] .SectionHeader-module__section-header___wbdJQ button{text-align:left}[dir=rtl] .SectionHeader-module__section-header___wbdJQ button{text-align:right}.SectionHeader-module__title-arrange___t4JW1{-ms-flex:0 1 auto;flex:0 1 auto}.SectionHeader-module__title___EPyaG{display:block;font-size:1rem;font-size:var(--terra-section-header-font-size, 1rem);font-weight:bold;font-weight:var(--terra-section-header-font-weight, bold);line-height:1.4285714286;line-height:var(--terra-section-header-line-height, 1.4285714286);text-transform:none;text-transform:var(--terra-section-header-text-transform, none)}[dir] .SectionHeader-module__title___EPyaG{margin:0}.SectionHeader-module__accordion-icon-wrapper___BOHqG{display:-ms-inline-flexbox;display:inline-flex}[dir] .SectionHeader-module__accordion-icon-wrapper___BOHqG{padding-bottom:0;padding-bottom:var(--terra-section-header-accordion-icon-padding-bottom, 0);padding-top:0.38rem;padding-top:var(--terra-section-header-accordion-icon-padding-top, 0.38rem)}[dir=ltr] .SectionHeader-module__accordion-icon-wrapper___BOHqG{margin-left:0;margin-left:var(--terra-section-header-accordion-icon-margin-start, 0);margin-right:0.38rem;margin-right:var(--terra-section-header-accordion-icon-margin-end, 0.38rem);padding-left:0;padding-left:var(--terra-section-header-accordion-icon-padding-start, 0);padding-right:0;padding-right:var(--terra-section-header-accordion-icon-padding-end, 0)}[dir=rtl] .SectionHeader-module__accordion-icon-wrapper___BOHqG{margin-right:0;margin-right:var(--terra-section-header-accordion-icon-margin-start, 0);margin-left:0.38rem;margin-left:var(--terra-section-header-accordion-icon-margin-end, 0.38rem);padding-right:0;padding-right:var(--terra-section-header-accordion-icon-padding-start, 0);padding-left:0;padding-left:var(--terra-section-header-accordion-icon-padding-end, 0)}.SectionHeader-module__accordion-icon___VQmOf{display:inline-block;height:0.83593rem;height:var(--terra-section-header-accordion-icon-height, 0.83593rem);vertical-align:middle;width:0.83593rem;width:var(--terra-section-header-accordion-icon-width, 0.83593rem)}[dir] .SectionHeader-module__accordion-icon___VQmOf{background:url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20fill%3D%22%231c1f21%22%20d%3D%22M12%2C0l24%2C24L12%2C48V0z%22%2F%3E%3C%2Fsvg%3E");background:var(--terra-section-header-accordion-icon-background, url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20fill%3D%22%231c1f21%22%20d%3D%22M12%2C0l24%2C24L12%2C48V0z%22%2F%3E%3C%2Fsvg%3E"));background-repeat:no-repeat;background-size:contain;transform:rotate(0deg)}[dir=rtl] .SectionHeader-module__accordion-icon___VQmOf{transform:scaleX(-1)}[dir] .SectionHeader-module__accordion-icon___VQmOf.SectionHeader-module__is-open___naqpt{transform:rotate(90deg)}.SectionHeader-module__arrange-wrapper___jwEJm{width:100%}[dir] .SectionHeader-module__arrange-wrapper___jwEJm{margin:0}.SectionHeader-module__arrange-wrapper___jwEJm:focus{outline:none}.SectionHeader-module__arrange-wrapper___jwEJm.SectionHeader-module__title-fixed___U8DzW{position:absolute}.SectionHeader-module__arrange-wrapper___jwEJm.SectionHeader-module__title-sticky___ZSkrv{position:-webkit-sticky;position:sticky}[dir=ltr] .SectionHeader-module__arrange-wrapper___jwEJm.SectionHeader-module__title-sticky___ZSkrv{left:12px}[dir=rtl] .SectionHeader-module__arrange-wrapper___jwEJm.SectionHeader-module__title-sticky___ZSkrv{right:12px} diff --git a/16162-0a6132dfc6dbd0f4a06a.js b/16162-0a6132dfc6dbd0f4a06a.js new file mode 100644 index 000000000..fa27358a2 --- /dev/null +++ b/16162-0a6132dfc6dbd0f4a06a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_ui=self.webpackChunkterra_ui||[]).push([[16162],{201:function(e,t,n){var a=n(24994),l=n(73738);t.A=void 0;var r=a(n(85715)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=l(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var u=r?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(a,o,u):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(n(96540)),u=a(n(5556)),i=a(n(67967)),d=n(92912),c=a(n(49558)),s=a(n(53665)),m=n(25966),p=a(n(89986));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var g=i.default.bind(p.default),_={example:u.default.element,exampleSrc:u.default.element,exampleCssSrc:u.default.element,title:u.default.string,description:u.default.node,isExpanded:u.default.bool},h=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},y=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},v=function(e){var t=e.example,n=e.exampleSrc,a=e.exampleCssSrc,l=e.title,u=e.description,i=e.isExpanded,p=(0,o.useState)(i),f=(0,r.default)(p,2),_=f[0],v=f[1],x=(0,o.useState)(!1),b=(0,r.default)(x,2),E=b[0],S=b[1],O=o.default.useContext(d.ThemeContext),A=void 0!==a,M=function(){S(!E),_&&v(!_)},w=function(){v(!_),E&&S(!E)},C=function(e,t){e.nativeEvent.keyCode!==m.KEY_SPACE&&e.nativeEvent.keyCode!==m.KEY_RETURN||(e.preventDefault(),t())};return o.default.createElement("div",{className:g("template",O.className)},o.default.createElement("div",{className:g("header")},l&&o.default.createElement("h2",{className:g("title")},l)),o.default.createElement("div",{className:g("content")},u&&o.default.createElement("div",{className:g("description")},u),t),o.default.createElement("div",{className:g("footer")},n?o.default.createElement("div",{className:g("button-container")},A&&o.default.createElement("button",{type:"button",className:g("css-toggle","item",{"is-selected":E}),onClick:M,onKeyDown:function(e){return C(e,M)},onBlur:h,onMouseDown:y,tabIndex:0,"data-focus-styles-enabled":!0},o.default.createElement(c.default,{className:g("chevron")}),o.default.createElement("span",null,"CSS"),o.default.createElement(s.default,{className:g("chevron")})),o.default.createElement("button",{type:"button",className:g("code-toggle","item",{"is-selected":_}),onClick:w,onKeyDown:function(e){return C(e,w)},onBlur:h,onMouseDown:y,tabIndex:0,"data-focus-styles-enabled":!0},o.default.createElement(c.default,{className:g("chevron")}),o.default.createElement("span",null,"Code"),o.default.createElement(s.default,{className:g("chevron")}))):null,o.default.createElement("div",null,E&&o.default.createElement("div",{className:g("css")},a),_&&o.default.createElement("div",{className:g("code")},n))))};v.propTypes=_,v.defaultProps={isExpanded:!1};t.A=v},22288:function(e,t,n){var a=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(94634)),r=a(n(91847)),o=a(n(17383)),u=a(n(34579)),i=a(n(28452)),d=a(n(63072)),c=a(n(29511)),s=a(n(96540)),m=a(n(5556)),p=a(n(23986)),f=a(n(54495)),g=a(n(39496)),_=a(n(82941)),h=n(12411),y=a(n(67967)),v=a(n(69076)),x=a(n(967)),b=a(n(52146)),E=a(n(71772)),S=["name","disclosureType","aggregatorDelegate","discloseOnSelect","customDisclose"];function O(e,t,n){return t=(0,d.default)(t),(0,i.default)(e,A()?Reflect.construct(t,n||[],(0,d.default)(e).constructor):t.apply(e,n))}function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(A=function(){return!!e})()}var M=y.default.bind(b.default),w=(0,h.withDisclosureManager)((function(e){var t=e.disclosureManager;return s.default.createElement(f.default,{header:s.default.createElement(_.default,{title:"Info Modal",onClose:t.closeDisclosure,onBack:t.goBack})},s.default.createElement("div",{className:M("readonly-modal-content")},s.default.createElement("p",null,"This modal was not presented through the Aggregator. The Aggregator state was maintained.")))}));w.propTypes={disclosureManager:h.disclosureManagerShape};var C={aggregatorDelegate:m.default.object,name:m.default.string,disclosureType:m.default.string,discloseOnSelect:m.default.bool,customDisclose:m.default.func},N=function(e){function t(e){var n;return(0,o.default)(this,t),(n=O(this,t,[e])).handleSelection=n.handleSelection.bind(n),n.launchModal=n.launchModal.bind(n),n}return(0,c.default)(t,e),(0,u.default)(t,[{key:"handleSelection",value:function(e,t){var n=this,a=this.props,l=a.aggregatorDelegate,r=a.name,o=a.discloseOnSelect,u={0:"tiny",1:"small",2:"medium",3:"large",4:"huge",5:"fullscreen"};l.hasFocus&&l.itemState.selectedIndex===t?l.releaseFocus().catch((function(){console.log("Section - Focus release failed. Something must be locked.")})):l.requestFocus({selectedIndex:t}).then((function(e){var a=e.disclose;o&&a({preferredType:n.props.disclosureType,size:u[t],content:{key:"Nested ".concat(r),component:s.default.createElement(E.default,{name:"Nested ".concat(r),disclosureType:n.props.disclosureType})}})})).catch((function(e){console.log("Section - Selection denied - ".concat(e))}))}},{key:"launchModal",value:function(){(0,this.props.customDisclose)({preferredType:"modal",size:"small",content:{key:"ModalContent-".concat(Date.now()),component:s.default.createElement(w,null)}})}},{key:"render",value:function(){var e,t=this,n=this.props,a=n.name,o=(n.disclosureType,n.aggregatorDelegate),u=(n.discloseOnSelect,n.customDisclose),i=(0,r.default)(n,S);return o.hasFocus&&o.itemState&&void 0!==o.itemState.selectedIndex&&(e=o.itemState.selectedIndex),s.default.createElement(f.default,(0,l.default)({},i,{header:s.default.createElement(g.default,{className:M("header-arrange"),fitStart:s.default.createElement("div",{className:M("header-arrange-content")},u?s.default.createElement(p.default,{text:"Modal (Without Requesting Focus)",onClick:this.launchModal}):null),fill:s.default.createElement("div",null,a)})}),s.default.createElement(v.default,{isPadded:!0},s.default.createElement(x.default,{isSelected:0===e,onSelect:function(e){return t.handleSelection(e,0)}},s.default.createElement("div",null,"Row 0")),s.default.createElement(x.default,{isSelected:1===e,onSelect:function(e){return t.handleSelection(e,1)}},s.default.createElement("div",null,"Row 1")),s.default.createElement(x.default,{isSelected:2===e,onSelect:function(e){return t.handleSelection(e,2)}},s.default.createElement("div",null,"Row 2")),s.default.createElement(x.default,{isSelected:3===e,onSelect:function(e){return t.handleSelection(e,3)}},s.default.createElement("div",null,"Row 3")),s.default.createElement(x.default,{isSelected:4===e,onSelect:function(e){return t.handleSelection(e,4)}},s.default.createElement("div",null,"Row 4")),s.default.createElement(x.default,{isSelected:5===e,onSelect:function(e){return t.handleSelection(e,5)}},s.default.createElement("div",null,"Row 5"))))}}])}(s.default.Component);N.propTypes=C;t.default=N},71772:function(e,t,n){var a=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(17383)),r=a(n(34579)),o=a(n(28452)),u=a(n(63072)),i=a(n(29511)),d=a(n(96540)),c=a(n(5556)),s=a(n(67967)),m=a(n(23986)),p=a(n(54495)),f=a(n(45947)),g=a(n(82941)),_=n(12411),h=a(n(27805));function y(e,t,n){return t=(0,u.default)(t),(0,o.default)(e,v()?Reflect.construct(t,n||[],(0,u.default)(e).constructor):t.apply(e,n))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}var x=s.default.bind(h.default),b={name:c.default.string,disclosureType:c.default.string,disclosureManager:_.disclosureManagerShape},E=function(e){function t(e){var n;return(0,l.default)(this,t),(n=y(this,t,[e])).checkLockState=n.checkLockState.bind(n),n.state={text:void 0},n}return(0,i.default)(t,e),(0,r.default)(t,[{key:"componentDidMount",value:function(){var e=this.props.disclosureManager;e&&e.registerDismissCheck&&e.registerDismissCheck(this.checkLockState)}},{key:"checkLockState",value:function(){var e=this;return this.state.text&&this.state.text.length?new Promise((function(t,n){confirm("".concat(e.props.name," has unsaved changes that will be lost. Do you wish to continue?"))?t():n()})):Promise.resolve()}},{key:"render",value:function(){var e=this,t=this.props,n=t.disclosureManager,a=t.name,l=t.disclosureType;return d.default.createElement(p.default,{fill:!0,header:d.default.createElement(g.default,{title:"Disclosure - ".concat(a),onClose:n.closeDisclosure,onBack:n.goBack,onMaximize:n.maximize,onMinimize:n.minimize})},d.default.createElement("div",{className:x("content-wrapper")},d.default.createElement("h3",null,a),d.default.createElement("p",null,"The disclosed component can disclose content within the same panel."),d.default.createElement("p",null,"It can also render a header (like above) that implements the various DisclosureManager control functions."),d.default.createElement(m.default,{text:"Dismiss",onClick:function(){n.dismiss().catch((function(){console.log("Dismiss failed. A lock must be in place.")}))}}),d.default.createElement(m.default,{text:"Disclose Again",onClick:function(){n.disclose({preferredType:l,size:"small",content:{key:"Nested ".concat(a),component:d.default.createElement(S,{name:"Nested ".concat(a),disclosureType:l})}})}}),d.default.createElement("br",null),d.default.createElement("br",null),d.default.createElement("p",null,"The disclosed component can register a dismiss check function that can interrupt and prevent dismissal. This component will prompt the user if text is detected in the input field below."),d.default.createElement(f.default,{value:this.state.text||"",onChange:function(t){e.setState({text:t.target.value})}}),this.state.text&&this.state.text.length?d.default.createElement("p",null,"Component has unsaved changes!"):null))}}])}(d.default.Component);E.propTypes=b,E.defaultProps={name:"Disclosure Component"};var S=(0,_.withDisclosureManager)(E);t.default=S},85556:function(e,t,n){var a=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(96540)),r=a(n(54495)),o=a(n(82941)),u=n(12411),i=a(n(73688)),d=a(n(22288)),c=a(n(94150)),s=Object.freeze([{key:"SECTION_0",component:l.default.createElement(d.default,{name:"Slide Panel Section",disclosureType:"panel",discloseOnSelect:!0})},{key:"SECTION_1",component:l.default.createElement(d.default,{name:"Modal Section",disclosureType:"modal",discloseOnSelect:!0})},{key:"SECTION_2",component:l.default.createElement(c.default,{name:"No Disclosure Section"})}]),m=function(e){var t=e.disclosureManager;return l.default.createElement(r.default,{fill:!0,header:l.default.createElement(o.default,{onClose:t.closeDisclosure,onBack:t.goBack})},l.default.createElement(i.default,{items:s,disclose:t.disclose}))};m.propTypes={disclosureManager:u.disclosureManagerShape};t.default=(0,u.withDisclosureManager)(m)},94150:function(e,t,n){var a=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(94634)),r=a(n(91847)),o=a(n(96540)),u=a(n(5556)),i=a(n(54495)),d=a(n(29489)),c=["name","aggregatorDelegate"],s={aggregatorDelegate:u.default.object,name:u.default.string},m=function(e){var t=e.name,n=e.aggregatorDelegate,a=(0,r.default)(e,c);return o.default.createElement(i.default,(0,l.default)({},a,{header:o.default.createElement(d.default,{title:t})}),n.hasFocus?o.default.createElement("button",{type:"button",onClick:function(){n.releaseFocus()}},"Release Focus"):o.default.createElement("button",{type:"button",onClick:function(){n.requestFocus()}},"Get Focus"),n.hasFocus?o.default.createElement("h4",null,"Section has focus!"):null)};m.propTypes=s;t.default=m},69076:function(e,t,n){var a=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(96540));n(43934);t.default=function(e){var t=e.children,n=e.isPadded;return l.default.createElement("ul",{"aria-label":"Placeholder List",role:"tablist",className:n?"placeholder-list is-padded":"placeholder-list "},t)}},967:function(e,t,n){var a=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(94634)),r=a(n(91847)),o=a(n(96540));n(43934);var u=["children","isSelected","onSelect"];t.default=function(e){var t=e.children,n=e.isSelected,a=e.onSelect,i=(0,r.default)(e,u),d=n?"placeholder-list-item is-selected":"placeholder-list-item ";return o.default.createElement("li",(0,l.default)({},i,{"aria-selected":n,tabIndex:"0",className:d,onClick:a,onKeyDown:function(e){13!==e.nativeEvent.keyCode&&32!==e.nativeEvent.keyCode||(e.preventDefault(),a(e))},role:"tab"}),t)}},8754:function(e,t,n){var a=n(24994);t.A=void 0;var l=a(n(96540)),r=n(12411),o=a(n(62619)),u=a(n(85556)),i=(0,r.withDisclosureManager)((function(e){var t=e.disclosureManager;return l.default.createElement("button",{type:"button",onClick:function(){t.disclose({preferredType:"modal",size:"large",content:{key:"MODAL_EXAMPLE",component:l.default.createElement(u.default,{identifier:"MODAL_EXAMPLE"})}})}},"Launch Modal")}));i.propTypes={disclosureManager:r.disclosureManagerShape};t.A=function(){return l.default.createElement("div",null,l.default.createElement(o.default,null,l.default.createElement(i,null)))}},22033:function(e,t,n){var a=n(24994);t.A=void 0;var l=a(n(96540)),r=a(n(62619)),o=a(n(13108)),u=n(12411),i=a(n(73688)),d=a(n(22288)),c=a(n(94150)),s=Object.freeze([{key:"SECTION_0",component:l.default.createElement(d.default,{name:"Slide Panel Section",disclosureType:"panel",discloseOnSelect:!0})},{key:"SECTION_1",component:l.default.createElement(d.default,{name:"Modal Section",disclosureType:"modal",discloseOnSelect:!0})},{key:"SECTION_2",component:l.default.createElement(c.default,{name:"No Disclosure Section"})}]),m=(0,u.withDisclosureManager)((function(e){var t=e.disclosureManager;return l.default.createElement(i.default,{items:s,disclose:t.disclose})}));t.A=function(){return l.default.createElement("div",null,l.default.createElement(r.default,null,l.default.createElement(o.default,null,l.default.createElement(m,null))))}},11365:function(e,t,n){var a=n(24994);t.A=void 0;var l=a(n(96540)),r=a(n(58582)),o=a(n(73688)),u=a(n(22288)),i=Object.freeze([{key:"SECTION_0",component:l.default.createElement(u.default,{name:"Section 0"})},{key:"SECTION_1",component:l.default.createElement(u.default,{name:"Section 1"})},{key:"SECTION_2",component:l.default.createElement(u.default,{name:"Section 2"})},{key:"SECTION_3",component:l.default.createElement(u.default,{name:"Section 3"})}]);t.A=function(){return l.default.createElement("div",null,l.default.createElement(o.default,{items:i,render:function(e){return l.default.createElement(r.default,null,l.default.createElement(r.default.Row,null,l.default.createElement(r.default.Column,{tiny:6},e.items[0]),l.default.createElement(r.default.Column,{tiny:6},e.items[1])),l.default.createElement(r.default.Row,null,l.default.createElement(r.default.Column,{tiny:6},e.items[2]),l.default.createElement(r.default.Column,{tiny:6},e.items[3])))}}))}},41332:function(e,t,n){var a=n(24994);t.A=void 0;var l=a(n(96540)),r=a(n(62619)),o=a(n(13108)),u=a(n(73688)),i=n(12411),d=a(n(22288)),c=(0,i.withDisclosureManager)((function(e){var t=e.items,n=e.disclosureManager;return l.default.createElement(u.default,{items:t,disclose:n.disclose})})),s=(0,i.withDisclosureManager)((function(e){var t=e.disclosureManager,n=Object.freeze([{key:"SECTION_0",component:l.default.createElement(d.default,{name:"Section 0",disclosureType:"panel",key:"SECTION_0",customDisclose:t.disclose,discloseOnSelect:!0})},{key:"SECTION_1",component:l.default.createElement(d.default,{name:"Section 1",disclosureType:"panel",key:"SECTION_1",customDisclose:t.disclose,discloseOnSelect:!0})}]);return l.default.createElement(o.default,null,l.default.createElement(c,{items:n}))}));t.A=function(){return l.default.createElement("div",null,l.default.createElement("p",null,"In this example, the Aggregator items are provided with the ModalManager disclosure function directly. Calling that function does not require Aggregator focus and will bypass the Aggregator entirely. This can be useful for simple Modal workflows that should not impact Aggregator state."),l.default.createElement(r.default,null,l.default.createElement(s,null)))}},65597:function(e,t,n){var a=n(24994);t.A=void 0;var l=a(n(94634)),r=a(n(17383)),o=a(n(34579)),u=a(n(28452)),i=a(n(63072)),d=a(n(29511)),c=a(n(96540)),s=a(n(73688)),m=a(n(22288));function p(e,t,n){return t=(0,i.default)(t),(0,u.default)(e,f()?Reflect.construct(t,n||[],(0,i.default)(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}var g=Object.freeze([{key:"SECTION_0",component:c.default.createElement(m.default,{name:"Section 0"})},{key:"SECTION_1",component:c.default.createElement(m.default,{name:"Section 1"})},{key:"SECTION_2",component:c.default.createElement(m.default,{name:"Section 2"})},{key:"SECTION_3",component:c.default.createElement(m.default,{name:"Section 3"})}]),_=function(e){function t(e){var n;return(0,r.default)(this,t),(n=p(this,t,[e])).state={flip:!1},n}return(0,d.default)(t,e),(0,o.default)(t,[{key:"render",value:function(){var e=this;return c.default.createElement("div",null,c.default.createElement("button",{type:"button",onClick:function(){e.setState((function(e){return{flip:!e.flip}}))}},"Flip Section Order"),c.default.createElement("button",{type:"button",onClick:function(){e.forceUpdate()}},"Force Aggregator Render"),c.default.createElement(s.default,{items:this.state.flip?(0,l.default)([],g).reverse():g}))}}])}(c.default.Component);t.A=_},60762:function(e,t,n){n.r(t),n.d(t,{default:function(){return L}});var a=n(96540),l=n(36665),r=n(8758),o=n(65597);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t,\n}, {\n key: 'SECTION_1',\n component: ,\n}, {\n key: 'SECTION_2',\n component: ,\n}, {\n key: 'SECTION_3',\n component: ,\n}]);\n\nclass StandaloneAggregatorExample extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n flip: false,\n };\n }\n\n render() {\n const body = (\n
\n \n \n \n
\n );\n\n return body;\n }\n}\n\nexport default StandaloneAggregatorExample;\n\n")))}d.isMDXComponent=!0;var c=n(201),s=({title:e,description:t,isExpanded:n})=>a.createElement(c.A,{title:e||"Standalone Aggregator Example",description:t,example:a.createElement(o.A,null),exampleSrc:a.createElement(d,null),isExpanded:n}),m=n(11365);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t,\n}, {\n key: 'SECTION_1',\n component: ,\n}, {\n key: 'SECTION_2',\n component: ,\n}, {\n key: 'SECTION_3',\n component: ,\n}]);\n\nconst CustomRenderAggregatorExample = () => (\n
\n (\n \n \n \n {renderData.items[0]}\n \n \n {renderData.items[1]}\n \n \n \n \n {renderData.items[2]}\n \n \n {renderData.items[3]}\n \n \n \n )}\n />\n
\n);\n\nexport default CustomRenderAggregatorExample;\n\n")))}g.isMDXComponent=!0;var _=({title:e,description:t,isExpanded:n})=>a.createElement(c.A,{title:e||"Custom Render Aggregator Example",description:t,example:a.createElement(m.A,null),exampleSrc:a.createElement(g,null),isExpanded:n}),h=n(8754);function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t (\n {\n disclosureManager.disclose({\n preferredType: 'modal',\n size: 'large',\n content: {\n key: 'MODAL_EXAMPLE',\n component: ,\n },\n });\n }}\n >\n Launch Modal\n \n));\n\nModalButton.propTypes = {\n disclosureManager: disclosureManagerShape,\n};\n\nconst SimpleAggregatorExample = () => (\n
\n \n \n \n
\n);\n\nexport default SimpleAggregatorExample;\n\n")))}x.isMDXComponent=!0;var b=({title:e,description:t,isExpanded:n})=>a.createElement(c.A,{title:e||"Aggregator In Modal Example",description:t,example:a.createElement(h.A,null),exampleSrc:a.createElement(x,null),isExpanded:n}),E=n(22033);function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t,\n}, {\n key: 'SECTION_1',\n component: ,\n}, {\n key: 'SECTION_2',\n component: ,\n}]);\n\nconst Wrapper = withDisclosureManager(({ disclosureManager }) => (\n \n));\n\nconst CombinedDisclosureExample = () => (\n
\n \n \n \n \n \n
\n);\n\nexport default CombinedDisclosureExample;\n\n")))}A.isMDXComponent=!0;var M=({title:e,description:t,isExpanded:n})=>a.createElement(c.A,{title:e||"Combined Disclosure Example",description:t,example:a.createElement(E.A,null),exampleSrc:a.createElement(A,null),isExpanded:n}),w=n(41332);function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t (\n \n));\n\nconst ModalManagerBypass = withDisclosureManager(({ disclosureManager }) => {\n const items = Object.freeze([{\n key: 'SECTION_0',\n component: ,\n }, {\n key: 'SECTION_1',\n component: ,\n }]);\n\n return (\n \n \n \n );\n});\n\nconst ModalBypassExample = () => (\n
\n

\n In this example, the Aggregator items are provided with the ModalManager disclosure function directly.\n Calling that function does not require Aggregator focus and will bypass the Aggregator entirely. This can be\n useful for simple Modal workflows that should not impact Aggregator state.\n

\n \n \n \n
\n);\n\nexport default ModalBypassExample;\n\n")))}T.isMDXComponent=!0;var D=({title:e,description:t,isExpanded:n})=>a.createElement(c.A,{title:e||"Disclosure Bypass Example",description:t,example:a.createElement(w.A,null),exampleSrc:a.createElement(T,null),isExpanded:n}),k=n(12883);function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t }, { key: '2', component: }]}\n render={renderData => (\n \n \n \n {renderData.items[0]} // This component is equivalent to: \n \n \n {renderData.items[1]} // This component is equivalent to: \n \n \n \n )}\n/>\n")),(0,l.mdx)("h3",{id:"example"},"Example"),(0,l.mdx)("pre",null,(0,l.mdx)("code",{parentName:"pre",className:"language-jsx"},"import Aggregator from 'terra-aggregator';\n")),(0,l.mdx)("h2",{id:"component-features"},"Component Features"),(0,l.mdx)("ul",null,(0,l.mdx)("li",{parentName:"ul"},(0,l.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,l.mdx)("li",{parentName:"ul"},(0,l.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,l.mdx)("li",{parentName:"ul"},(0,l.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support"))),(0,l.mdx)("h2",{id:"examples"},"Examples"),(0,l.mdx)(s,{title:"Standalone Aggregator",mdxType:"StandaloneAggregatorExample"}),(0,l.mdx)(_,{title:"Custom Render Aggregator",mdxType:"CustomRenderAggregatorExample"}),(0,l.mdx)(M,{title:"Combined Discloure Aggregator",mdxType:"CombinedDisclosureExample"}),(0,l.mdx)(D,{title:"Disclosure Bypass Aggregator",mdxType:"DisclosureBypassExample"}),(0,l.mdx)(b,{title:"Aggregator In Modal",mdxType:"AggregatorInModalExample"}),(0,l.mdx)("h2",{id:"aggregator-props-table"},"Aggregator Props table"),(0,l.mdx)(P,{mdxType:"AggregatorPropsTable"}))}L.isMDXComponent=!0},8758:function(e,t,n){n.d(t,{E:function(){return r}});var a=n(96540),l=n(55713);const r=({url:e})=>a.createElement(l.A,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-aggregator",name:"terra-aggregator",version:"4.77.0",url:e})},89986:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"ExampleTemplate-module__clinical-lowlight-theme___rBbtD","orion-fusion-theme":"ExampleTemplate-module__orion-fusion-theme___GzA23",template:"ExampleTemplate-module__template___a4uPk",header:"ExampleTemplate-module__header___iFXV3",content:"ExampleTemplate-module__content___48m4Q",description:"ExampleTemplate-module__description___NwBJo",footer:"ExampleTemplate-module__footer___GpSoG","button-container":"ExampleTemplate-module__button-container___rAD11",css:"ExampleTemplate-module__css___+jtk1",code:"ExampleTemplate-module__code___7rC6C","css-toggle":"ExampleTemplate-module__css-toggle___chHK7","code-toggle":"ExampleTemplate-module__code-toggle___TGlE-","is-selected":"ExampleTemplate-module__is-selected___0BYwS",item:"ExampleTemplate-module__item___8FTQq",chevron:"ExampleTemplate-module__chevron___VbY7N",title:"ExampleTemplate-module__title___r+nbJ","dynamic-content":"ExampleTemplate-module__dynamic-content___k+1H7"}},52146:function(e,t,n){n.r(t),t.default={"readonly-modal-content":"AggregatorItem-module__readonly-modal-content___90fCW","header-arrange":"AggregatorItem-module__header-arrange___uCJ-m","header-arrange-content":"AggregatorItem-module__header-arrange-content___k1GfD"}},27805:function(e,t,n){n.r(t),t.default={"example-wrapper":"example-styles-module__example-wrapper___BDtGd","content-wrapper":"example-styles-module__content-wrapper___aVyh0"}},43934:function(e,t,n){n.r(t),t.default={}},87030:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Grid-module__clinical-lowlight-theme___iBVVg","orion-fusion-theme":"Grid-module__orion-fusion-theme___hxBQz",grid:"Grid-module__grid___Os-i8",column:"Grid-module__column___zXP7v","column-tiny-1":"Grid-module__column-tiny-1___+1wfL","column-tiny-2":"Grid-module__column-tiny-2___PrgO4","column-tiny-3":"Grid-module__column-tiny-3___9YJit","column-tiny-4":"Grid-module__column-tiny-4___jIRz+","column-tiny-5":"Grid-module__column-tiny-5___IOG0q","column-tiny-6":"Grid-module__column-tiny-6___htaH4","column-tiny-7":"Grid-module__column-tiny-7___a33iE","column-tiny-8":"Grid-module__column-tiny-8___-yY3y","column-tiny-9":"Grid-module__column-tiny-9___zy187","column-tiny-10":"Grid-module__column-tiny-10___xGjO7","column-tiny-11":"Grid-module__column-tiny-11___jmS1E","column-tiny-12":"Grid-module__column-tiny-12___-6WVA","column-small-1":"Grid-module__column-small-1___xxAEw","column-small-2":"Grid-module__column-small-2___h46ZG","column-small-3":"Grid-module__column-small-3___cGpOb","column-small-4":"Grid-module__column-small-4___sD5fv","column-small-5":"Grid-module__column-small-5___GIPIh","column-small-6":"Grid-module__column-small-6___v9PQi","column-small-7":"Grid-module__column-small-7___3tEtM","column-small-8":"Grid-module__column-small-8___v5Aqd","column-small-9":"Grid-module__column-small-9___EQWCI","column-small-10":"Grid-module__column-small-10___m0tGE","column-small-11":"Grid-module__column-small-11___2pWbr","column-small-12":"Grid-module__column-small-12___5JnEA","column-medium-1":"Grid-module__column-medium-1___Yz235","column-medium-2":"Grid-module__column-medium-2___9jJQg","column-medium-3":"Grid-module__column-medium-3___li0pW","column-medium-4":"Grid-module__column-medium-4___J+DGa","column-medium-5":"Grid-module__column-medium-5___NpRnE","column-medium-6":"Grid-module__column-medium-6___i5TZS","column-medium-7":"Grid-module__column-medium-7___FPmRH","column-medium-8":"Grid-module__column-medium-8___pVJuv","column-medium-9":"Grid-module__column-medium-9___9R-eZ","column-medium-10":"Grid-module__column-medium-10___IdHZl","column-medium-11":"Grid-module__column-medium-11___R53Lk","column-medium-12":"Grid-module__column-medium-12___nisE+","column-large-1":"Grid-module__column-large-1___iu56a","column-large-2":"Grid-module__column-large-2___xmnS6","column-large-3":"Grid-module__column-large-3___lcwn6","column-large-4":"Grid-module__column-large-4___DAqhR","column-large-5":"Grid-module__column-large-5___FY8vE","column-large-6":"Grid-module__column-large-6___htHJ+","column-large-7":"Grid-module__column-large-7___V01cK","column-large-8":"Grid-module__column-large-8___yv14+","column-large-9":"Grid-module__column-large-9___IZJLb","column-large-10":"Grid-module__column-large-10___Yq3R8","column-large-11":"Grid-module__column-large-11___fz98K","column-large-12":"Grid-module__column-large-12___qedSp","column-huge-1":"Grid-module__column-huge-1___Y7ydw","column-huge-2":"Grid-module__column-huge-2___RekuK","column-huge-3":"Grid-module__column-huge-3___sO6jv","column-huge-4":"Grid-module__column-huge-4___C3Zti","column-huge-5":"Grid-module__column-huge-5___YOTc5","column-huge-6":"Grid-module__column-huge-6___0je45","column-huge-7":"Grid-module__column-huge-7___iHY-G","column-huge-8":"Grid-module__column-huge-8___hwq18","column-huge-9":"Grid-module__column-huge-9___XkrI1","column-huge-10":"Grid-module__column-huge-10___kk+IW","column-huge-11":"Grid-module__column-huge-11___izwwH","column-huge-12":"Grid-module__column-huge-12___VTALE","column-enormous-1":"Grid-module__column-enormous-1___7jaM7","column-enormous-2":"Grid-module__column-enormous-2___XJH79","column-enormous-3":"Grid-module__column-enormous-3___bcPxR","column-enormous-4":"Grid-module__column-enormous-4___fAqEp","column-enormous-5":"Grid-module__column-enormous-5___0QWBj","column-enormous-6":"Grid-module__column-enormous-6___4WMSd","column-enormous-7":"Grid-module__column-enormous-7___Bvt0l","column-enormous-8":"Grid-module__column-enormous-8___1rQyt","column-enormous-9":"Grid-module__column-enormous-9___2n6pM","column-enormous-10":"Grid-module__column-enormous-10___HcDD6","column-enormous-11":"Grid-module__column-enormous-11___CvLx0","column-enormous-12":"Grid-module__column-enormous-12___ifU5q"}},73688:function(e,t,n){var a=n(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(43693)),r=a(n(91847)),o=a(n(17383)),u=a(n(34579)),i=a(n(28452)),d=a(n(63072)),c=a(n(12475)),s=a(n(29511)),m=a(n(96540)),p=a(n(5556)),f=["afterDismiss","dismissDisclosure"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _(e,t,n){return t=(0,d.default)(t),(0,i.default)(e,h()?Reflect.construct(t,n||[],(0,d.default)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var y={items:p.default.arrayOf(p.default.shape({key:p.default.string.isRequired,component:p.default.element.isRequired})),render:p.default.func,disclose:p.default.func},v=function(e){function t(e){var n;return(0,o.default)(this,t),(n=_(this,t,[e])).requestFocus=n.requestFocus.bind((0,c.default)(n)),n.releaseFocus=n.releaseFocus.bind((0,c.default)(n)),n.setFocusState=n.setFocusState.bind((0,c.default)(n)),n.resetFocusState=n.resetFocusState.bind((0,c.default)(n)),n.renderItems=n.renderItems.bind((0,c.default)(n)),n.state={focusedItemId:void 0,focusedItemState:void 0},n}return(0,s.default)(t,e),(0,u.default)(t,[{key:"componentDidUpdate",value:function(e){var t,n=this.props.items,a=this.state.focusedItemId;this.props.items!==e.items&&(n.forEach((function(e){e.key===a&&(t=!0)})),t||this.releaseFocus(void 0,!0))}},{key:"setFocusState",value:function(e,t){this.setState({focusedItemId:e,focusedItemState:t})}},{key:"resetFocusState",value:function(){this.setFocusState()}},{key:"requestFocus",value:function(e,t){var n=this,a=this.props.disclose,o=this.state.focusedItemId;return new Promise((function(u,i){n.releaseFocus(o).then((function(){n.setFocusState(e,Object.freeze(t||{}));var o={};a&&(o.disclose=function(t){return n.state.focusedItemId!==e?Promise.reject():a(t).then((function(e){var t=e.afterDismiss,a=e.dismissDisclosure,o=(0,r.default)(e,f);return n.forceDismissInstance=a,t.then((function(){n.forceDismissInstance=void 0,n.state.focusedItemId&&n.resetFocusState()})),function(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var g=u.default.bind(d.default),_=function(e,t){if(e[t]){var n=e[t];return n>=1&&n<=12?null:new Error("".concat(t," must be in range 1 to 12 inclusively"))}return null},h={children:r.default.node,className:r.default.string,tiny:_,enormous:_,huge:_,large:_,medium:_,small:_},y=function(e){var t=e.className,n=e.children,a=e.tiny,r=e.small,u=e.medium,d=e.large,s=e.huge,_=e.enormous,h=f(e,c),y=l.default.useContext(i.default),v=(0,o.default)(g(["column",p(p(p(p(p(p({},"column-tiny-".concat(a),a),"column-small-".concat(r),r),"column-medium-".concat(u),u),"column-large-".concat(d),d),"column-huge-".concat(s),s),"column-enormous-".concat(_),_),y.className]),t);return l.default.createElement("div",m({},h,{className:v}),n)};y.propTypes=h;t.default=y},64216:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=c(n(96540)),l=c(n(5556)),r=c(n(46942)),o=c(n(67967)),u=c(n(52103)),i=c(n(87030)),d=["className","children"];function c(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}var p=o.default.bind(i.default),f={children:l.default.node.isRequired,className:l.default.string},g=function(e){var t=e.className,n=e.children,l=m(e,d),o=a.default.useContext(u.default);return a.default.createElement("div",s({},l,{className:(0,r.default)(p("grid",o.className),t)}),n)};g.propTypes=f;t.default=g},49558:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(96540)),l=r(n(25365));function r(e){return e&&e.__esModule?e:{default:e}}var o=function(e){var t=Object.assign({},e);return a.default.createElement(l.default,t,a.default.createElement("path",{d:"M10.3 24 33.8 0l3.9 3.8L18 24l19.7 20.2-3.9 3.8z"}))};o.displayName="IconChevronLeft",o.defaultProps={viewBox:"0 0 48 48","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg"};t.default=o},13108:function(e,t,n){var a=n(24994),l=n(73738);Object.defineProperty(t,"__esModule",{value:!0}),t.disclosureType=t.default=void 0;var r=a(n(94634)),o=a(n(91847)),u=a(n(17383)),i=a(n(34579)),d=a(n(28452)),c=a(n(63072)),s=a(n(29511)),m=a(n(43693)),p=a(n(96540)),f=a(n(5556)),g=a(n(82941)),_=a(n(54495)),h=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=l(e)&&"function"!=typeof e)return{default:e};var n=b(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var u=r?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(a,o,u):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(n(12411)),y=a(n(61583)),v=a(n(14057)),x=["children","level","disclosureAccessory","withDisclosureContainer","mainAriaLabel","panelAriaLabel"];function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(b=function(e){return e?n:t})(e)}function E(e,t,n){return t=(0,c.default)(t),(0,d.default)(e,S()?Reflect.construct(t,n||[],(0,c.default)(e).constructor):t.apply(e,n))}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(S=function(){return!!e})()}var O=t.disclosureType="panel",A={children:f.default.node,level:f.default.oneOf([1,2,3,4,5,6]),panelBehavior:f.default.oneOf(["overlay","squish"]),disclosureAccessory:f.default.element,withDisclosureContainer:f.default.func,panelAriaLabel:f.default.string,mainAriaLabel:f.default.string},M=(0,m.default)((0,m.default)((0,m.default)((0,m.default)((0,m.default)({},h.availableDisclosureSizes.TINY,"small"),h.availableDisclosureSizes.SMALL,"small"),h.availableDisclosureSizes.MEDIUM,"large"),h.availableDisclosureSizes.LARGE,"large"),h.availableDisclosureSizes.HUGE,"large"),w=function(e){function t(e){var n;return(0,u.default)(this,t),(n=E(this,t,[e])).renderSlidePanel=n.renderSlidePanel.bind(n),n.setSlidePanel=n.setSlidePanel.bind(n),n}return(0,s.default)(t,e),(0,i.default)(t,[{key:"setSlidePanel",value:function(e){this.slidePanel=e}},{key:"renderSlidePanel",value:function(e){var t,n,a,l,u=this.props,i=(u.children,u.level),d=u.disclosureAccessory,c=(u.withDisclosureContainer,u.mainAriaLabel),s=u.panelAriaLabel,m=(0,o.default)(u,x);(e.disclosure.size===h.availableDisclosureSizes.FULLSCREEN||e.disclosure.isMaximized)&&(n=!0),a=e.disclosure.dimensions?(l=e.disclosure.dimensions).width>480||l.height>600?"large":"small":M[e.disclosure.size];var f=null!=e&&null!==(t=e.disclosure)&&void 0!==t&&null!==(t=t.typeConfig)&&void 0!==t&&t.panelBehavior?e.disclosure.typeConfig.panelBehavior:m.panelBehavior,b=e.disclosureComponentKeys[e.disclosureComponentKeys.length-1],E=(e.disclosureComponentData[b]||{}).headerAdapterData;return p.default.createElement(v.default,(0,r.default)({},m,{fill:!0,panelBehavior:f,isFullscreen:n,panelSize:a,isOpen:e.disclosure.isOpen,setSlidePanelRef:this.setSlidePanel,panelContent:p.default.createElement(_.default,{fill:!0,header:p.default.createElement(p.default.Fragment,null,E?p.default.createElement(g.default,{text:E.title,onClose:e.closeDisclosure,level:i,onBack:e.disclosureComponentKeys.length>1?e.dismissPresentedComponent:void 0},E.collapsibleMenuView):void 0,d)},p.default.createElement(y.default,{items:e.disclosure.components,isAnimated:!0,focusRef:this.slidePanel,slideAriaLabel:(null==E?void 0:E.title)||s})),panelAriaLabel:(null==E?void 0:E.title)||s,mainAriaLabel:c,mainContent:e.children.components}))}},{key:"render",value:function(){var e=this.props,t=e.withDisclosureContainer,n=e.children;return p.default.createElement(h.default,{withDisclosureContainer:t,supportedDisclosureTypes:[O],render:this.renderSlidePanel},n)}}])}(p.default.Component);w.propTypes=A,w.defaultProps={level:2,panelBehavior:"overlay"};t.default=w}}]); \ No newline at end of file diff --git a/18305-d6c582ba9a73c15de7df.css b/18305-d6c582ba9a73c15de7df.css new file mode 100644 index 000000000..cba009f74 --- /dev/null +++ b/18305-d6c582ba9a73c15de7df.css @@ -0,0 +1 @@ +.Badges-module__badge___vex-\+{color:#fff;font-family:Verdana,DejaVu Sans,sans-serif;font-size:.7857rem;text-decoration:none}[dir=ltr] .Badges-module__badge___vex-\+{margin-right:.5em}[dir=rtl] .Badges-module__badge___vex-\+{margin-left:.5em}[dir] .Badges-module__badge-container___B13Mv{margin-bottom:.4em}[dir] .Badges-module__badge-name___jkN0m, [dir] .Badges-module__badge-version___agZ\+P{padding:.232rem .357rem}[dir=ltr] .Badges-module__badge-name___jkN0m, [dir=ltr] .Badges-module__badge-version___agZ\+P{text-shadow:1px 1px rgba(0,0,0,.3)}[dir=rtl] .Badges-module__badge-name___jkN0m, [dir=rtl] .Badges-module__badge-version___agZ\+P{text-shadow:-1px 1px rgba(0,0,0,.3)}[dir] .Badges-module__badge-name___jkN0m{background-color:#555}[dir=ltr] .Badges-module__badge-name___jkN0m{border-radius:3px 0 0 3px}[dir=rtl] .Badges-module__badge-name___jkN0m{border-radius:0 3px 3px 0}[dir] .Badges-module__badge-version___agZ\+P{background-color:#007acc}[dir=ltr] .Badges-module__badge-version___agZ\+P{border-radius:0 3px 3px 0}[dir=rtl] .Badges-module__badge-version___agZ\+P{border-radius:3px 0 0 3px} diff --git a/18305-d6c582ba9a73c15de7df.js b/18305-d6c582ba9a73c15de7df.js new file mode 100644 index 000000000..571ff02e7 --- /dev/null +++ b/18305-d6c582ba9a73c15de7df.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_ui=self.webpackChunkterra_ui||[]).push([[18305,17711,40092,72949,95330,7235,29616,62473,84854,38663,61044,92260,69879,47498,25117,81784,59403,37022],{55713:function(a,t,r){var e=r(24994);t.A=void 0;var d=e(r(96540)),n=e(r(5556)),l=e(r(67967)),m=e(r(25642)),o=l.default.bind(m.default),u={name:n.default.string.isRequired,src:n.default.string,url:n.default.string,version:n.default.string.isRequired},s=function(a){var t=a.src,r=a.name,e=a.url,n=a.version,l=d.default.createElement("a",{className:o("badge"),href:e||"https://www.npmjs.org/package/".concat(r,"/v/").concat(n)},d.default.createElement("span",{className:o("badge-name")},e?"package":"npm"),d.default.createElement("span",{className:o("badge-version")},"v".concat(n))),m=t?d.default.createElement("a",{className:o("badge"),href:t},d.default.createElement("span",{className:o("badge-name")},"github"),d.default.createElement("span",{className:o("badge-version")},"source")):void 0;return d.default.createElement("div",{className:o("badge-container")},l,m)};s.propTypes=u;t.A=s},18305:function(a,t,r){r.r(t),r.d(t,{default:function(){return o}});r(96540);var e=r(36665),d=r(39053);function n(){return n=Object.assign?Object.assign.bind():function(a){for(var t=1;te.createElement(d.A,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-tabs",name:"terra-tabs",version:"7.30.0",url:a})},25642:function(a,t,r){r.r(t),t.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}}}]); \ No newline at end of file diff --git a/1905-6a39ac46092e757088dc.css b/1905-6a39ac46092e757088dc.css new file mode 100644 index 000000000..cba009f74 --- /dev/null +++ b/1905-6a39ac46092e757088dc.css @@ -0,0 +1 @@ +.Badges-module__badge___vex-\+{color:#fff;font-family:Verdana,DejaVu Sans,sans-serif;font-size:.7857rem;text-decoration:none}[dir=ltr] .Badges-module__badge___vex-\+{margin-right:.5em}[dir=rtl] .Badges-module__badge___vex-\+{margin-left:.5em}[dir] .Badges-module__badge-container___B13Mv{margin-bottom:.4em}[dir] .Badges-module__badge-name___jkN0m, [dir] .Badges-module__badge-version___agZ\+P{padding:.232rem .357rem}[dir=ltr] .Badges-module__badge-name___jkN0m, [dir=ltr] .Badges-module__badge-version___agZ\+P{text-shadow:1px 1px rgba(0,0,0,.3)}[dir=rtl] .Badges-module__badge-name___jkN0m, [dir=rtl] .Badges-module__badge-version___agZ\+P{text-shadow:-1px 1px rgba(0,0,0,.3)}[dir] .Badges-module__badge-name___jkN0m{background-color:#555}[dir=ltr] .Badges-module__badge-name___jkN0m{border-radius:3px 0 0 3px}[dir=rtl] .Badges-module__badge-name___jkN0m{border-radius:0 3px 3px 0}[dir] .Badges-module__badge-version___agZ\+P{background-color:#007acc}[dir=ltr] .Badges-module__badge-version___agZ\+P{border-radius:0 3px 3px 0}[dir=rtl] .Badges-module__badge-version___agZ\+P{border-radius:3px 0 0 3px} diff --git a/1905-6a39ac46092e757088dc.js b/1905-6a39ac46092e757088dc.js new file mode 100644 index 000000000..7f1502572 --- /dev/null +++ b/1905-6a39ac46092e757088dc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_ui=self.webpackChunkterra_ui||[]).push([[1905,17711,40092,72949,95330,7235,29616,62473,84854,38663,61044,92260,69879,47498,25117,81784,59403,37022],{55713:function(r,e,a){var t=a(24994);e.A=void 0;var n=t(a(96540)),p=t(a(5556)),o=t(a(67967)),l=t(a(25642)),d=o.default.bind(l.default),m={name:p.default.string.isRequired,src:p.default.string,url:p.default.string,version:p.default.string.isRequired},i=function(r){var e=r.src,a=r.name,t=r.url,p=r.version,o=n.default.createElement("a",{className:d("badge"),href:t||"https://www.npmjs.org/package/".concat(a,"/v/").concat(p)},n.default.createElement("span",{className:d("badge-name")},t?"package":"npm"),n.default.createElement("span",{className:d("badge-version")},"v".concat(p))),l=e?n.default.createElement("a",{className:d("badge"),href:e},n.default.createElement("span",{className:d("badge-name")},"github"),n.default.createElement("span",{className:d("badge-version")},"source")):void 0;return n.default.createElement("div",{className:d("badge-container")},o,l)};i.propTypes=m;e.A=i},1905:function(r,e,a){a.r(e),a.d(e,{default:function(){return d}});a(96540);var t=a(36665),n=a(63453);function p(){return p=Object.assign?Object.assign.bind():function(r){for(var e=1;et.createElement(n.A,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-popup",name:"terra-popup",version:"6.83.0",url:r})},25642:function(r,e,a){a.r(e),e.default={badge:"Badges-module__badge___vex-+","badge-container":"Badges-module__badge-container___B13Mv","badge-name":"Badges-module__badge-name___jkN0m","badge-version":"Badges-module__badge-version___agZ+P"}}}]); \ No newline at end of file diff --git a/19821-14922e8e901ca74b21ba.css b/19821-14922e8e901ca74b21ba.css new file mode 100644 index 000000000..cba009f74 --- /dev/null +++ b/19821-14922e8e901ca74b21ba.css @@ -0,0 +1 @@ +.Badges-module__badge___vex-\+{color:#fff;font-family:Verdana,DejaVu Sans,sans-serif;font-size:.7857rem;text-decoration:none}[dir=ltr] .Badges-module__badge___vex-\+{margin-right:.5em}[dir=rtl] .Badges-module__badge___vex-\+{margin-left:.5em}[dir] .Badges-module__badge-container___B13Mv{margin-bottom:.4em}[dir] .Badges-module__badge-name___jkN0m, [dir] .Badges-module__badge-version___agZ\+P{padding:.232rem .357rem}[dir=ltr] .Badges-module__badge-name___jkN0m, [dir=ltr] .Badges-module__badge-version___agZ\+P{text-shadow:1px 1px rgba(0,0,0,.3)}[dir=rtl] .Badges-module__badge-name___jkN0m, [dir=rtl] .Badges-module__badge-version___agZ\+P{text-shadow:-1px 1px rgba(0,0,0,.3)}[dir] .Badges-module__badge-name___jkN0m{background-color:#555}[dir=ltr] .Badges-module__badge-name___jkN0m{border-radius:3px 0 0 3px}[dir=rtl] .Badges-module__badge-name___jkN0m{border-radius:0 3px 3px 0}[dir] .Badges-module__badge-version___agZ\+P{background-color:#007acc}[dir=ltr] .Badges-module__badge-version___agZ\+P{border-radius:0 3px 3px 0}[dir=rtl] .Badges-module__badge-version___agZ\+P{border-radius:3px 0 0 3px} diff --git a/19821-14922e8e901ca74b21ba.js b/19821-14922e8e901ca74b21ba.js new file mode 100644 index 000000000..cf0d6fb7b --- /dev/null +++ b/19821-14922e8e901ca74b21ba.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_ui=self.webpackChunkterra_ui||[]).push([[19821,17711,40092,72949,95330,7235,29616,62473,84854,38663,61044,92260,69879,47498,25117,81784,59403,37022],{55713:function(e,a,l){var m=l(24994);a.A=void 0;var d=m(l(96540)),n=m(l(5556)),t=m(l(67967)),i=m(l(25642)),r=t.default.bind(i.default),u={name:n.default.string.isRequired,src:n.default.string,url:n.default.string,version:n.default.string.isRequired},p=function(e){var a=e.src,l=e.name,m=e.url,n=e.version,t=d.default.createElement("a",{className:r("badge"),href:m||"https://www.npmjs.org/package/".concat(l,"/v/").concat(n)},d.default.createElement("span",{className:r("badge-name")},m?"package":"npm"),d.default.createElement("span",{className:r("badge-version")},"v".concat(n))),i=a?d.default.createElement("a",{className:r("badge"),href:a},d.default.createElement("span",{className:r("badge-name")},"github"),d.default.createElement("span",{className:r("badge-version")},"source")):void 0;return d.default.createElement("div",{className:r("badge-container")},t,i)};p.propTypes=u;a.A=p},19821:function(e,a,l){l.r(a),l.d(a,{default:function(){return o}});l(96540);var m=l(36665),d=l(47585);function n(){return n=Object.assign?Object.assign.bind():function(e){for(var a=1;a