diff --git a/pull/1911/10-18401eb138ab931cf7f5.css b/pull/1911/10-18401eb138ab931cf7f5.css new file mode 100644 index 00000000000..a0b2394d187 --- /dev/null +++ b/pull/1911/10-18401eb138ab931cf7f5.css @@ -0,0 +1 @@ +.ArrowSmallTargetLeftPopup-test-module__test-popup-area___CpuKm{height:200px;position:relative;width:200px}[dir] .ArrowSmallTargetLeftPopup-test-module__test-popup-area___CpuKm{background:#f0f8ff}[dir] .ArrowSmallTargetLeftPopup-test-module__popup-text___yd9Je{padding:5px}.ArrowSmallTargetLeftPopup-test-module__popup-button___I3cy8{height:10px;position:absolute;width:10px}[dir] .ArrowSmallTargetLeftPopup-test-module__popup-button___I3cy8{background-color:#c00}[dir=ltr] .ArrowSmallTargetLeftPopup-test-module__popup-button___I3cy8{left:10px}[dir=rtl] .ArrowSmallTargetLeftPopup-test-module__popup-button___I3cy8{right:10px} diff --git a/pull/1911/10-18401eb138ab931cf7f5.js b/pull/1911/10-18401eb138ab931cf7f5.js new file mode 100644 index 00000000000..f0275d11978 --- /dev/null +++ b/pull/1911/10-18401eb138ab931cf7f5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[10],{10:function(t,e,n){var o=n(64836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(n(56690)),u=o(n(89728)),r=o(n(66115)),l=o(n(61655)),s=o(n(94993)),d=o(n(73808)),f=o(n(67294)),i=o(n(47166)),p=o(n(92306)),c=o(n(29803));function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=(0,d.default)(t);if(e){var a=(0,d.default)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,s.default)(this,n)}}var N=i.default.bind(c.default),m=function(t){(0,l.default)(n,t);var e=h(n);function n(t){var o;return(0,a.default)(this,n),(o=e.call(this,t)).handleButtonClick=o.handleButtonClick.bind((0,r.default)(o)),o.handleRequestClose=o.handleRequestClose.bind((0,r.default)(o)),o.setButtonNode=o.setButtonNode.bind((0,r.default)(o)),o.getButtonNode=o.getButtonNode.bind((0,r.default)(o)),o.setParentNode=o.setParentNode.bind((0,r.default)(o)),o.getParentNode=o.getParentNode.bind((0,r.default)(o)),o.state={open:!0},o}return(0,u.default)(n,[{key:"componentDidMount",value:function(){this.forceUpdate()}},{key:"handleButtonClick",value:function(){this.setState({open:!0})}},{key:"handleRequestClose",value:function(){this.setState({open:!1})}},{key:"setButtonNode",value:function(t){this.buttonNode=t}},{key:"getButtonNode",value:function(){return this.buttonNode}},{key:"setParentNode",value:function(t){this.parentNode=t}},{key:"getParentNode",value:function(){return this.parentNode}},{key:"render",value:function(){return f.default.createElement("div",{id:"test-popup-area",className:N("test-popup-area"),ref:this.setParentNode},f.default.createElement(p.default,{boundingRef:this.getParentNode,classNameArrow:"test-arrow",classNameContent:"test-content",contentAttachment:"top left",contentHeight:"120",contentWidth:"160",isArrowDisplayed:!0,isOpen:this.state.open,onRequestClose:this.handleRequestClose,targetRef:this.getButtonNode},f.default.createElement("p",{className:N("popup-text")},"This popup was adjusted because the target was smaller than the arrow position allowed.")),f.default.createElement("button",{type:"button",id:"offset-button",className:N("popup-button"),onClick:this.handleButtonClick,ref:this.setButtonNode,"aria-label":"Offset button"},""))}}]),n}(f.default.Component);e.default=m},29803:function(t,e,n){n.r(e),e.default={"test-popup-area":"ArrowSmallTargetLeftPopup-test-module__test-popup-area___CpuKm","popup-text":"ArrowSmallTargetLeftPopup-test-module__popup-text___yd9Je","popup-button":"ArrowSmallTargetLeftPopup-test-module__popup-button___I3cy8"}}}]); \ No newline at end of file diff --git a/pull/1911/10077-300e1ea5d7fca376879a.css b/pull/1911/10077-300e1ea5d7fca376879a.css new file mode 100644 index 00000000000..04ff3e55eeb --- /dev/null +++ b/pull/1911/10077-300e1ea5d7fca376879a.css @@ -0,0 +1 @@ +.SizePopupCommon-module__content-wrapper___phf\+F{height:100%;overflow:auto;position:relative;width:100%}.SizePopupCommon-module__popup-area-small___du4g5{height:80px;width:210px}[dir] .SizePopupCommon-module__popup-area-small___du4g5{background:#f0f8ff}.SizePopupCommon-module__popup-area-medium___VhA2D{height:160px;width:350px}[dir] .SizePopupCommon-module__popup-area-medium___VhA2D{background:#f0f8ff}.SizePopupCommon-module__popup-area-invalid___bwGpY{height:300px;width:300px}[dir] .SizePopupCommon-module__popup-area-invalid___bwGpY{background:#f0f8ff} diff --git a/pull/1911/10077-300e1ea5d7fca376879a.js b/pull/1911/10077-300e1ea5d7fca376879a.js new file mode 100644 index 00000000000..78f6a77a2c7 --- /dev/null +++ b/pull/1911/10077-300e1ea5d7fca376879a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[10077],{10077:function(e,t,n){var o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=o(n(56690)),a=o(n(89728)),l=o(n(66115)),r=o(n(61655)),d=o(n(94993)),i=o(n(73808)),s=o(n(67294)),p=o(n(47166)),f=o(n(92306)),c=o(n(72773));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,i.default)(e);if(t){var u=(0,i.default)(this).constructor;n=Reflect.construct(o,arguments,u)}else n=o.apply(this,arguments);return(0,d.default)(this,n)}}var m=p.default.bind(c.default),N=function(e){(0,r.default)(n,e);var t=h(n);function n(e){var o;return(0,u.default)(this,n),(o=t.call(this,e)).handleButtonClick=o.handleButtonClick.bind((0,l.default)(o)),o.handleRequestClose=o.handleRequestClose.bind((0,l.default)(o)),o.setButtonNode=o.setButtonNode.bind((0,l.default)(o)),o.getButtonNode=o.getButtonNode.bind((0,l.default)(o)),o.setParentNode=o.setParentNode.bind((0,l.default)(o)),o.getParentNode=o.getParentNode.bind((0,l.default)(o)),o.state={open:!0},o}return(0,a.default)(n,[{key:"componentDidMount",value:function(){this.forceUpdate()}},{key:"handleButtonClick",value:function(){this.setState({open:!0})}},{key:"handleRequestClose",value:function(){this.setState({open:!1})}},{key:"setButtonNode",value:function(e){this.buttonNode=e}},{key:"getButtonNode",value:function(){return this.buttonNode}},{key:"setParentNode",value:function(e){this.parentNode=e}},{key:"getParentNode",value:function(){return this.parentNode}},{key:"render",value:function(){return s.default.createElement("div",{className:m("content-wrapper")},s.default.createElement("div",{id:"test-popup-area",className:m("popup-area-small"),ref:this.setParentNode},s.default.createElement(f.default,{boundingRef:this.getParentNode,classNameArrow:"test-arrow",classNameContent:"test-content",contentHeight:"40",contentWidth:"160",isOpen:this.state.open,onRequestClose:this.handleRequestClose,targetRef:this.getButtonNode},s.default.createElement("p",null,"This popup is 40h by 160w.")),s.default.createElement("button",{type:"button",id:"dimension-button",onClick:this.handleButtonClick,ref:this.setButtonNode},"Small Popup")))}}]),n}(s.default.Component);t.default=N},72773:function(e,t,n){n.r(t),t.default={"content-wrapper":"SizePopupCommon-module__content-wrapper___phf+F","popup-area-small":"SizePopupCommon-module__popup-area-small___du4g5","popup-area-medium":"SizePopupCommon-module__popup-area-medium___VhA2D","popup-area-invalid":"SizePopupCommon-module__popup-area-invalid___bwGpY"}}}]); \ No newline at end of file diff --git a/pull/1911/10107-31f0bc4af883844ee3a3.css b/pull/1911/10107-31f0bc4af883844ee3a3.css new file mode 100644 index 00000000000..1d7e8a6b2bd --- /dev/null +++ b/pull/1911/10107-31f0bc4af883844ee3a3.css @@ -0,0 +1,12 @@ +.Cell-module__clinical-lowlight-theme___JlIUL{--terra-table-cell-border-bottom: 1px solid #181b1d;--terra-table-cell-border-left: 1px solid #181b1d;--terra-table-cell-border-right: 1px solid #181b1d;--terra-table-cell-selected-background-color: #1e3a49;--terra-table-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-highlight-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-odd-row-hover-background-color: #25282a;--terra-table-even-row-hover-background-color: #1d2225;--terra-table-pinned-columns-cell-border: 1px solid #181b1d}.Cell-module__orion-fusion-theme___HW1Ki{--terra-table-cell-border-bottom: 1px solid #c8cacb;--terra-table-cell-border-left: 1px solid #c8cacb;--terra-table-cell-border-right: 1px solid #c8cacb;--terra-table-cell-selected-background-color: #cbe7fa;--terra-table-odd-row-hover-background-color: #e0f2fb;--terra-table-even-row-hover-background-color: #d6e8f2;--terra-table-pinned-columns-cell-border: 1px solid #c8cacb}.Cell-module__cell___XID6c{font-weight:normal;position:relative}[dir] .Cell-module__cell___XID6c{border-bottom:1px solid #dedfe0;border-bottom:var(--terra-table-cell-border-bottom, 1px solid #dedfe0);padding:7px;padding:var(--terra-table-cell-content-padding, 7px)}[dir=ltr] .Cell-module__cell___XID6c{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=ltr] .Cell-module__cell___XID6c:first-child{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c:first-child{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir] .Cell-module__selected___3WHxU{background-color:#cbe7fa;background-color:var(--terra-table-cell-selected-background-color, #cbe7fa)}[dir=ltr] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=rtl] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=ltr] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}[dir=rtl] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}.Cell-module__cell-content___FhljD{overflow:hidden;overflow-wrap:break-word}[dir=ltr] .Cell-module__cell-content___FhljD{text-align:left}[dir=rtl] .Cell-module__cell-content___FhljD{text-align:right}.Cell-module__cell-content___FhljD .Cell-module__no-data-cell___6er9D{color:rgba(0,0,0,0)}.Cell-module__pinned___y2cJe{position:-webkit-sticky;position:sticky;z-index:1}[dir] .Cell-module__pinned___y2cJe:not(.Cell-module__selected___3WHxU){background-color:inherit}[dir] tr:nth-child(odd) .Cell-module__selectable___BAIg5:hover{background-color:#e0f2fb;background-color:var(--terra-table-odd-row-hover-background-color, #e0f2fb);cursor:pointer}[dir] tr:nth-child(even) .Cell-module__selectable___BAIg5:hover{background-color:#d3e5ee;background-color:var(--terra-table-even-row-hover-background-color, #d3e5ee);cursor:pointer} +.RowSelectionCell-module__input___\+\+BBM{display:-ms-flexbox;display:flex;height:16px;width:16px}[dir] .RowSelectionCell-module__input___\+\+BBM{margin:auto} +.Row-module__clinical-lowlight-theme___LqsJk{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Row-module__orion-fusion-theme___uCwnV{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}[dir] .Row-module__striped-table-row___0o1z0:nth-child(even){background-color:#f0f0f0;background-color:var(--terra-table-row-striped-background-color, #f0f0f0)}[dir] .Row-module__row___kR-J-{background-color:#fff;background-color:var(--terra-table-row-background-color, #fff)}[dir] .Row-module__row___kR-J-.Row-module__selectable___r9jUT:hover{background-color:#e2f2fc;background-color:var(--terra-table-row-hover-background-color, #e2f2fc);cursor:pointer}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP{background-color:#cbe7fa;background-color:var(--terra-table-row-selected-background-color, #cbe7fa)}[dir=ltr] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-right:1px solid #0092e0}[dir=rtl] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-left:1px solid #0092e0}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-bottom:1px solid #0092e0;border-bottom:var(--terra-table-row-highlight-border-bottom, 1px solid #0092e0)}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child th, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-top:1px solid #0092e0;border-top:var(--terra-table-row-highlight-border-top, 1px solid #0092e0)} +.Section-module__clinical-lowlight-theme___CmVbA{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Section-module__orion-fusion-theme___42iAO{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}.Section-module__section___Rf5QD.Section-module__collapsed___M5LcR{display:none}.Section-module__header___Q0nuu{position:relative;z-index:3}[dir=ltr] .Section-module__header___Q0nuu th{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Section-module__header___Q0nuu th{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)} +.ColumnResizeHandle-module__orion-fusion-theme___uvYEY{--terra-table-resize-handle-active-border-color: #517ea5;--terra-table-resize-handle-hover-border-color: #e4f1f7}.ColumnResizeHandle-module__clinical-lowlight-theme___MWieH{--terra-table-resize-handle-active-border-color: rgba(34, 42, 46, 1);--terra-table-resize-handle-hover-border-color: rgba(34, 42, 46, 0.6)}.ColumnResizeHandle-module__resize-handle___rckkL{display:block;height:100%;position:absolute;top:0;width:22px;z-index:1}[dir] .ColumnResizeHandle-module__resize-handle___rckkL{cursor:col-resize}[dir=ltr] .ColumnResizeHandle-module__resize-handle___rckkL{border-right:4px solid rgba(0,0,0,0);right:0}[dir=rtl] .ColumnResizeHandle-module__resize-handle___rckkL{border-left:4px solid rgba(0,0,0,0);left:0}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:active{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important}.ColumnResizeHandle-module__resize-handle___rckkL:focus{outline:0 !important}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:focus{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:hover{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle-selected___-zzct{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important} +.ColumnHeaderCell-module__clinical-lowlight-theme___E4AJx{--terra-table-column-header-text-color: #b2b5b6;--terra-table-column-header-background-color: #151719;--terra-table-column-header-border-bottom: 1px solid #181b1d;--terra-table-column-header-border-left: 1px solid #181b1d;--terra-table-column-header-border-right: 1px solid #181b1d;--terra-table-column-header-border-top: 1px solid #181b1d;--terra-table-pinned-columns-header-border: 1px solid #181b1d;--terra-table-pinned-columns-header-box-shadow: 1px 0 #181b1d;--terra-table-pinned-columns-divider-background-color: #181b1d;--terra-table-pinned-columns-divider-box-shadow: 4px -1px 6px #181b1d;--terra-table-header-hover-background-color: #0c0f10}.ColumnHeaderCell-module__orion-fusion-theme___LLv1A{--terra-table-column-header-text-color: #4e5356;--terra-table-column-header-background-color: #f4f4f4;--terra-table-column-header-border-bottom: 2px solid #9b9fa1;--terra-table-column-header-border-left: 1px solid #c8cacb;--terra-table-column-header-border-right: 1px solid #c8cacb;--terra-table-column-header-border-top: 1px solid #c8cacb;--terra-table-pinned-columns-header-border: 1px solid #c8cacb;--terra-table-pinned-columns-header-box-shadow: 1px 0 #c8cacb;--terra-table-header-hover-background-color: #d5e7f2}.ColumnHeaderCell-module__column-header___oWlRh{color:var(--terra-table-column-header-text-color);position:-webkit-sticky;position:sticky;top:0;z-index:1}[dir] .ColumnHeaderCell-module__column-header___oWlRh{background-color:#dedfe0;background-color:var(--terra-table-column-header-background-color, #dedfe0);border-bottom:1px solid #000;border-bottom:var(--terra-table-column-header-border-bottom, 1px solid #000);border-top:1px solid #000;border-top:var(--terra-table-column-header-border-top, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-left, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-left, 1px solid #000)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{padding:5px;padding:var(--terra-table-header-cell-padding, 5px)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-right:5px;margin-right:var(--terra-table-error-icon-margin-right, 5px)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-left:5px;margin-left:var(--terra-table-error-icon-margin-right, 5px)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{-ms-flex:1;flex:1;font-weight:normal;outline:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{background:rgba(0,0,0,0);border:0}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:left}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:right}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l.ColumnHeaderCell-module__hidden___Tu-Xs{color:rgba(0,0,0,0)}[dir] .ColumnHeaderCell-module__selectable___JFI4E:hover{background-color:#daecf6;background-color:var(--terra-table-header-hover-background-color, #daecf6);cursor:pointer}.ColumnHeaderCell-module__pinned___Qusyo{position:-webkit-sticky;position:sticky;z-index:2 !important}.ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{position:absolute;top:0;width:2px}[dir] .ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{background-color:#808080;background-color:var(--terra-table-pinned-columns-divider-background-color, #808080);box-shadow:4px -1px 6px #808080;box-shadow:var(--terra-table-pinned-columns-divider-box-shadow, 4px -1px 6px #808080)} +.ColumnHeader-module__hidden___I3b7-{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}[dir] .ColumnHeader-module__hidden___I3b7-{border:0;margin:-1px;padding:0} +.Table-module__clinical-lowlight-theme___G2b7R{--terra-table-cell-focus-outline: 3px dashed #fff;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #181b1d}.Table-module__orion-fusion-theme___iu\+p1{--terra-table-cell-focus-outline: 3px dashed #000;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #c8cacb}.Table-module__table-container___g4Byi{height:100%;overflow:auto;width:100%}.Table-module__table___wcFdg{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1px}[dir=ltr] .Table-module__table___wcFdg{margin-right:15px}[dir=rtl] .Table-module__table___wcFdg{margin-left:15px}.Table-module__table___wcFdg :focus{outline:3px dashed #000;outline:var(--terra-table-cell-focus-outline, 3px dashed #000);outline-offset:-2px;outline-offset:var(--terra-table-cell-focus-outline-offset, -2px)}[dir] .Table-module__headerless___eod6K tr:first-child td, [dir] .Table-module__headerless___eod6K tr:first-child th{border-top:1px solid #dedfe0;border-top:var(--terra-table-headerless-first-row-border-top, 1px solid #dedfe0)} +.WorklistDataGrid-module__worklist-data-grid-container___IbMs4{height:100%;width:100%} +.DataGrid-module__data-grid-container___4LJj1{height:100%;width:100%}table{-webkit-user-select:none;-ms-user-select:none;user-select:none} +.FlowsheetDataGrid-module__flowsheet-data-grid-container___O1y8B{height:100%;width:100%} +.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)} diff --git a/pull/1911/10107-31f0bc4af883844ee3a3.js b/pull/1911/10107-31f0bc4af883844ee3a3.js new file mode 100644 index 00000000000..24be523f087 --- /dev/null +++ b/pull/1911/10107-31f0bc4af883844ee3a3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[10107],{49271:function(e,t,n){var l=n(64836),a=n(18698);t.Z=void 0;var o=l(n(27424)),r=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 l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(l,r,c):l[r]=e[r]}l.default=e,n&&n.set(e,l);return l}(n(67294)),c=l(n(45697)),s=l(n(47166)),u=n(21538),d=l(n(33864)),i=l(n(23399)),m=n(51051),p=l(n(53560));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 _=s.default.bind(p.default),E={example:c.default.element,exampleSrc:c.default.element,exampleCssSrc:c.default.element,title:c.default.string,description:c.default.node,isExpanded:c.default.bool},x=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},h=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},v=function(e){var t=e.example,n=e.exampleSrc,l=e.exampleCssSrc,a=e.title,c=e.description,s=e.isExpanded,p=(0,r.useState)(s),f=(0,o.default)(p,2),E=f[0],v=f[1],y=(0,r.useState)(!1),b=(0,o.default)(y,2),g=b[0],C=b[1],N=r.default.useContext(u.ThemeContext),w=void 0!==l,T=function(){C(!g),E&&v(!E)},O=function(){v(!E),g&&C(!g)},D=function(e,t){e.nativeEvent.keyCode!==m.KEY_SPACE&&e.nativeEvent.keyCode!==m.KEY_RETURN||(e.preventDefault(),t())};return r.default.createElement("div",{className:_("template",N.className)},r.default.createElement("div",{className:_("header")},a&&r.default.createElement("h2",{className:_("title")},a)),r.default.createElement("div",{className:_("content")},c&&r.default.createElement("div",{className:_("description")},c),t),r.default.createElement("div",{className:_("footer")},n?r.default.createElement("div",{className:_("button-container")},w&&r.default.createElement("button",{type:"button",className:_("css-toggle","item",{"is-selected":g}),onClick:T,onKeyDown:function(e){return D(e,T)},onBlur:x,onMouseDown:h,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(d.default,{className:_("chevron")}),r.default.createElement("span",null,"CSS"),r.default.createElement(i.default,{className:_("chevron")})),r.default.createElement("button",{type:"button",className:_("code-toggle","item",{"is-selected":E}),onClick:O,onKeyDown:function(e){return D(e,O)},onBlur:x,onMouseDown:h,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(d.default,{className:_("chevron")}),r.default.createElement("span",null,"Code"),r.default.createElement(i.default,{className:_("chevron")}))):null,r.default.createElement("div",null,g&&r.default.createElement("div",{className:_("css")},l),E&&r.default.createElement("div",{className:_("code")},n))))};v.propTypes=E,v.defaultProps={isExpanded:!1};var y=v;t.Z=y},89702:function(e,t,n){n.r(t),n.d(t,{default:function(){return E}});var l=n(87462),a=n(44925),o=n(67294),r=n(81254),c=n(42181),s=["components"],u={};function d(e){var t=e.components,n=(0,a.Z)(e,s);return(0,r.mdx)("wrapper",(0,l.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport { FlowsheetDataGrid } from 'terra-data-grid';\n\nconst gridDataJSON = {\n cols: [\n { id: 'Column-0', displayName: 'Vitals' },\n { id: 'Column-1', displayName: 'March 16' },\n { id: 'Column-2', displayName: 'March 17' },\n { id: 'Column-3', displayName: 'March 18' },\n ],\n rows: [\n {\n id: '1',\n cells: [\n { content: 'Heart Rate Monitored (bpm)' },\n { content: '68' },\n { content: null },\n { content: '67' },\n ],\n },\n {\n id: '2',\n cells: [\n { content: 'Temperature Oral (degC)' },\n { content: null },\n { content: '36.9' },\n { content: null },\n ],\n },\n {\n id: '3',\n cells: [\n { content: 'Cardiac Index (L/min/m2)' },\n { content: '2.25' },\n { content: null },\n { content: null },\n ],\n },\n {\n id: '4',\n cells: [\n { content: 'ICP (mmHg)' },\n { content: null },\n { content: '11' },\n { content: '12' },\n ],\n },\n {\n id: '5',\n cells: [\n { content: 'CPP (mmHg)' },\n { content: '63' },\n { content: null },\n { content: '48' },\n ],\n },\n ],\n};\n\nconst NoResultCells = () => {\n const { cols, rows } = gridDataJSON;\n\n return (\n \n );\n};\n\nexport default NoResultCells;\n\n")))}d.isMDXComponent=!0;var i=n(49271),m=function(e){var t=e.title,n=e.description,l=e.isExpanded;return o.createElement(i.Z,{title:t||"No Result Cells",description:n,example:o.createElement(c.Z,null),exampleSrc:o.createElement(d,null),isExpanded:l})},p=["components"],f={},_="wrapper";function E(e){var t=e.components,n=(0,a.Z)(e,p);return(0,r.mdx)(_,(0,l.Z)({},f,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h1",{id:"no-result-cells"},'"No Result" Cells'),(0,r.mdx)("h3",{id:"description"},"Description"),(0,r.mdx)("p",null,'If the content of a cell is an empty string, "--", or null, it will be represented by a dash and presented to assistive technologies as "No result."'),(0,r.mdx)(m,{title:'Flowsheet Data Grid with "No Result" Cells',mdxType:"NoResultCells"}))}E.isMDXComponent=!0},42181:function(e,t,n){var l=n(64836);t.Z=void 0;var a=l(n(67294)),o=n(55730),r=[{id:"Column-0",displayName:"Vitals"},{id:"Column-1",displayName:"March 16"},{id:"Column-2",displayName:"March 17"},{id:"Column-3",displayName:"March 18"}],c=[{id:"1",cells:[{content:"Heart Rate Monitored (bpm)"},{content:"68"},{content:null},{content:"67"}]},{id:"2",cells:[{content:"Temperature Oral (degC)"},{content:null},{content:"36.9"},{content:null}]},{id:"3",cells:[{content:"Cardiac Index (L/min/m2)"},{content:"2.25"},{content:null},{content:null}]},{id:"4",cells:[{content:"ICP (mmHg)"},{content:null},{content:"11"},{content:"12"}]},{id:"5",cells:[{content:"CPP (mmHg)"},{content:"63"},{content:null},{content:"48"}]}];t.Z=function(){var e=r,t=c;return a.default.createElement(o.FlowsheetDataGrid,{id:"default-terra-flowsheet-data-grid-no-result-cells",columns:e,rows:t,ariaLabel:"Flowsheet Data Grid with No Result Cells"})}},53560: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"}},87462:function(e,t,n){function l(){return l=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 o=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,{Z:function(){return l}})}}]); \ No newline at end of file diff --git a/pull/1911/10279-3310056029387d0fffb4.css b/pull/1911/10279-3310056029387d0fffb4.css new file mode 100644 index 00000000000..c786d95cc8d --- /dev/null +++ b/pull/1911/10279-3310056029387d0fffb4.css @@ -0,0 +1,2 @@ +.ButtonGroup-module__clinical-lowlight-theme___El\+dS{--terra-button-group-button-active-background-color: #1a2023;--terra-button-group-button-active-border-color: #181b1d;--terra-button-group-button-active-color: #9b9b9b;--terra-button-group-button-background-color: #2d3539;--terra-button-group-button-border-color: #181b1d;--terra-button-group-button-box-shadow: none;--terra-button-group-button-color: #b2b5b6;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #1a2023;--terra-button-group-button-focus-border-color: #181b1d;--terra-button-group-button-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-hover-background-color: #1e272b;--terra-button-group-button-hover-color: #9b9b9b;--terra-button-group-button-active-box-shadow: none;--terra-button-group-button-selected-background-color: #1a2023;--terra-button-group-button-selected-border-color: #181b1d;--terra-button-group-button-selected-box-shadow: none;--terra-button-group-button-selected-color: #9b9b9b;--terra-button-group-button-selected-and-focus-background-color: #1a2023;--terra-button-group-button-selected-and-focus-border-color: #181b1d;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-selected-and-focus-color: #9b9b9b;--terra-button-group-button-selected-and-hover-background-color: #121517;--terra-button-group-button-selected-and-hover-border-color: #181b1d;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #9b9b9b;--terra-button-group-button-border-bottom-left-radius: 0.2142em;--terra-button-group-button-border-top-left-radius: 0.2142rem;--terra-button-group-button-border-bottom-right-radius: 0.2142em;--terra-button-group-button-border-top-right-radius: 0.2142rem}.ButtonGroup-module__orion-fusion-theme___BkFFY{--terra-button-group-button-background-color: #dedfe0;--terra-button-group-button-border-color: #6f7477;--terra-button-group-button-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4;--terra-button-group-button-color: #000;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #9b9fa1;--terra-button-group-button-focus-border-color: #6f7477;--terra-button-group-button-focus-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4, 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-hover-background-color: #b2b5b6;--terra-button-group-button-hover-color: #000;--terra-button-group-button-selected-and-hover-background-color: #52585b;--terra-button-group-button-selected-and-hover-border-color: #6f7477;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #fff;--terra-button-group-button-selected-and-focus-background-color: #52585b;--terra-button-group-button-selected-and-focus-border-color: #6f7477;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-selected-and-focus-color: #fff;--terra-button-group-button-selected-background-color: #52585b;--terra-button-group-button-selected-border-color: #6f7477;--terra-button-group-button-selected-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-selected-color: #fff;--terra-button-group-button-active-background-color: #52585b;--terra-button-group-button-active-border-color: #6f7477;--terra-button-group-button-active-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-active-color: #fff;--terra-button-group-button-border-bottom-left-radius: 3px;--terra-button-group-button-border-top-left-radius: 3px;--terra-button-group-button-border-bottom-right-radius: 3px;--terra-button-group-button-border-top-right-radius: 3px}.ButtonGroup-module__button-group___iIAAg{display:-ms-inline-flexbox;display:inline-flex;position:relative;vertical-align:middle;white-space:nowrap}.ButtonGroup-module__button-group-button___YB1ME{color:#1c1f21;color:var(--terra-button-group-button-color, #1c1f21);font-weight:400;font-weight:var(--terra-button-group-button-font-weight, 400);position:relative}[dir] .ButtonGroup-module__button-group-button___YB1ME{background-color:#dedfe0;background-color:var(--terra-button-group-button-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-border-color, #c8cacb);border-radius:0;border-style:solid;border-width:1px;box-shadow:none;box-shadow:var(--terra-button-group-button-box-shadow, none);margin:0}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-disabled___rqrG9,.ButtonGroup-module__button-group-button___YB1ME:disabled{opacity:0.3;opacity:var(--terra-button-group-button-disabled-opacity, 0.3)}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{z-index:1000}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{background-color:#dedfe0;background-color:var(--terra-button-group-button-focus-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-focus-border-color, #c8cacb);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){.ButtonGroup-module__button-group-button___YB1ME:hover{color:#000;color:var(--terra-button-group-button-hover-color, #000)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover{background-color:#b9bbbc;background-color:var(--terra-button-group-button-hover-background-color, #b9bbbc)}.ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-and-hover-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{background-color:#40474a;background-color:var(--terra-button-group-button-selected-and-hover-background-color, #40474a);border-color:#40474a;border-color:var(--terra-button-group-button-selected-and-hover-border-color, #40474a);box-shadow:var(--terra-button-group-button-selected-and-hover-box-shadow)}}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{color:#fff;color:var(--terra-button-group-button-selected-and-focus-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{background-color:#52585b;background-color:var(--terra-button-group-button-selected-and-focus-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-and-focus-border-color, #52585b);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-selected-and-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{background-color:#52585b;background-color:var(--terra-button-group-button-selected-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-border-color, #52585b);box-shadow:var(--terra-button-group-button-selected-box-shadow)}.ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718,.ButtonGroup-module__button-group-button___YB1ME:active{color:#fff;color:var(--terra-button-group-button-active-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718, [dir] .ButtonGroup-module__button-group-button___YB1ME:active{background-color:#52585b;background-color:var(--terra-button-group-button-active-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-active-border-color, #52585b);box-shadow:var(--terra-button-group-button-active-box-shadow)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-left:-1px}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-right:-1px}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}.ButtonGroup-module__is-block___otiJA{width:100%}.ButtonGroup-module__is-block___otiJA .ButtonGroup-module__button-group-button___YB1ME{-ms-flex:1 1 auto;flex:1 1 auto} +.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)} diff --git a/pull/1911/10279-3310056029387d0fffb4.js b/pull/1911/10279-3310056029387d0fffb4.js new file mode 100644 index 00000000000..76b7827f79b --- /dev/null +++ b/pull/1911/10279-3310056029387d0fffb4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[10279],{42361:function(e,t,r){var n=r(64836),o=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=n(r(27424)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=u?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(n,l,a):n[l]=e[l]}return n.default=e,r&&r.set(e,n),n}(r(67294)),a=n(r(43671)),i=n(r(90592));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}t.default=function(){var e=(0,l.useState)("21:22:22"),t=(0,u.default)(e,2),r=t[0],n=t[1];return l.default.createElement("div",null,l.default.createElement("div",{id:"time-input-value"},l.default.createElement("h3",null,"Time Input:",r)),l.default.createElement(a.default,{id:"timeInput",name:"time-input",onChange:function(e,t){n(t)},value:"21:22:22",variant:i.default.FORMAT_12_HOUR,showSeconds:!0}))}},68586:function(e,t,r){r.r(t),t.default={"clinical-lowlight-theme":"Input-module__clinical-lowlight-theme___clY96","orion-fusion-theme":"Input-module__orion-fusion-theme___phvH5","form-input":"Input-module__form-input___Fk8kb","form-error":"Input-module__form-error___aU4hq","form-incomplete":"Input-module__form-incomplete___h4I7H"}},55142:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=p(r(67294)),u=p(r(45697)),l=p(r(94184)),a=p(r(47166)),i=p(r(47341)),f=p(r(68586)),c=["defaultValue","disabled","isIncomplete","isInvalid","onBlur","onChange","onFocus","onInput","name","pattern","refCallback","required","type","ariaLabel","value"];function p(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e,t){for(var r=0;r=0||(l[a]=e[a]);return l}(e,n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}a.d(n,{Z:function(){return d}})}}]); \ No newline at end of file diff --git a/pull/1911/10354-b666e16c436858195a4f.css b/pull/1911/10354-b666e16c436858195a4f.css new file mode 100644 index 00000000000..e21a0227f87 --- /dev/null +++ b/pull/1911/10354-b666e16c436858195a4f.css @@ -0,0 +1 @@ +.Slider-module__orion-fusion-theme___8lFzi{--terra-slider-label-color: #1c1f21;--terra-slider-range-label-font-size: 0.714rem;--terra-slider-track-selected-range: #26a2e5;--terra-slider-track-unselected-range: #d3d4d5;--terra-slider-track-selected-range-hover: #0092e0;--terra-slider-track-unselected-range-hover: #bcbfc0;--terra-slider-thumb-background: #26a2e5;--terra-slider-thumb-border-color: #26a2e5;--terra-slider-thumb-hover-background: #0092e0;--terra-slider-thumb-active-background: #007cc3}.Slider-module__clinical-lowlight-theme___ou4Xa{--terra-slider-label-color: #b3b5b6;--terra-slider-track-selected-range: #004c76;--terra-slider-track-unselected-range: #6f7477;--terra-slider-track-selected-range-hover: #003f61;--terra-slider-track-unselected-range-hover: #595f62;--terra-slider-thumb-background: #004c76;--terra-slider-thumb-border-color: #003f61;--terra-slider-thumb-hover-background: #003f61;--terra-slider-thumb-active-background: #013a5a;--terra-slider-thumb-focus-outline: 0.143rem dashed #fff}.Slider-module__slider___p5WX-{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;min-height:3.143rem}.Slider-module__label___9ub6Z{color:#1c1f21;color:var(--terra-slider-label-color, #1c1f21);font-weight:700;font-weight:var(--terra-slider-label-font-weight, 700);white-space:initial}[dir=ltr] .Slider-module__label___9ub6Z{margin-right:0.5rem;margin-right:var(--terra-slider-label-margin-right, 0.5rem);text-align:left}[dir=rtl] .Slider-module__label___9ub6Z{margin-left:0.5rem;margin-left:var(--terra-slider-label-margin-right, 0.5rem);text-align:right}.Slider-module__slider-label___fdXlu{color:#6f7477;color:var(--terra-slider-sub-label-color, #6f7477);font-size:0.857rem;font-size:var(--terra-slider-sub-label-font-size, 0.857rem);font-weight:400;font-weight:var(--terra-slider-sub-label-font-weight, 400);white-space:initial}[dir=ltr] .Slider-module__slider-label___fdXlu{text-align:left}[dir=rtl] .Slider-module__slider-label___fdXlu{text-align:right}[dir=ltr] .Slider-module__slider-min-label___zedNZ{margin-right:0.5rem;margin-right:var(--terra-slider-min-label-margin-right, 0.5rem)}[dir=rtl] .Slider-module__slider-min-label___zedNZ{margin-left:0.5rem;margin-left:var(--terra-slider-min-label-margin-right, 0.5rem)}[dir=ltr] .Slider-module__slider-max-label___6gGpy{margin-left:0.5rem;margin-left:var(--terra-slider-max-label-margin-left, 0.5rem)}[dir=rtl] .Slider-module__slider-max-label___6gGpy{margin-right:0.5rem;margin-right:var(--terra-slider-max-label-margin-left, 0.5rem)}.Slider-module__input-range___9Lrsz{-webkit-appearance:none;min-height:3.143rem;min-height:var(--terra-slider-input-range-min-height, 3.143rem);min-width:17.143rem;min-width:var(--terra-slider-input-range-min-width, 17.143rem)}[dir] .Slider-module__input-range___9Lrsz{background-color:rgba(0,0,0,0);cursor:pointer}[dir=ltr] .Slider-module__input-range___9Lrsz{margin-left:0.5rem;margin-left:var(--terra-slider-input-range-margin-left, 0.5rem);margin-right:0.5rem;margin-right:var(--terra-slider-input-range-margin-right, 0.5rem)}[dir=rtl] .Slider-module__input-range___9Lrsz{margin-right:0.5rem;margin-right:var(--terra-slider-input-range-margin-left, 0.5rem);margin-left:0.5rem;margin-left:var(--terra-slider-input-range-margin-right, 0.5rem)}.Slider-module__input-range___9Lrsz:disabled{opacity:30%;opacity:var(--terra-slider-input-range-disabled-opacity, 30%)}[dir] .Slider-module__input-range___9Lrsz:disabled{cursor:default}.Slider-module__input-range___9Lrsz:focus{outline:none}.Slider-module__input-range___9Lrsz::-webkit-slider-runnable-track{-webkit-appearance:none;height:0.43rem;height:var(--terra-slider-track-height, 0.43rem)}[dir] .Slider-module__input-range___9Lrsz::-webkit-slider-runnable-track{border-radius:0.214rem;border-radius:var(--terra-slider-track-border-radius, 0.214rem)}[dir=ltr] .Slider-module__input-range___9Lrsz::-webkit-slider-runnable-track{background:linear-gradient(to right, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to right, var(--terra-slider-track-selected-range, #007cc3) 0%, var(--terra-slider-track-selected-range, #007cc3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) 100%)}[dir=rtl] .Slider-module__input-range___9Lrsz::-webkit-slider-runnable-track{background:linear-gradient(to left, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to left, var(--terra-slider-track-selected-range, #007cc3) 0%, var(--terra-slider-track-selected-range, #007cc3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) 100%)}.Slider-module__input-range___9Lrsz::-webkit-slider-thumb{-webkit-appearance:none;height:1.715rem;height:var(--terra-slider-thumb-height, 1.715rem);width:1.715rem;width:var(--terra-slider-thumb-width, 1.715rem)}[dir] .Slider-module__input-range___9Lrsz::-webkit-slider-thumb{background:#007cc3;background:var(--terra-slider-thumb-background, #007cc3);border-color:#0065a3;border-color:var(--terra-slider-thumb-border-color, #0065a3);border-radius:1.715rem;border-radius:var(--terra-slider-thumb-border-radius, 1.715rem);border-style:solid;border-width:0.071rem;border-width:var(--terra-slider-thumb-border-width, 0.071rem);box-shadow:0 0 0.286rem 0 rgba(0, 0, 0, 0.25);box-shadow:var(--terra-slider-thumb-box-shadow, 0 0 0.286rem 0 rgba(0, 0, 0, 0.25));margin-top:-0.57rem;margin-top:var(--terra-slider-thumb-margin-top, -0.57rem)}.Slider-module__input-range___9Lrsz:focus::-webkit-slider-thumb{outline:0.143rem dashed #000;outline:var(--terra-slider-thumb-focus-outline, 0.143rem dashed #000);outline-offset:0.071rem;outline-offset:var(--terra-slider-thumb-focus-outline-offset, 0.071rem)}[dir] .Slider-module__input-range___9Lrsz:hover::-webkit-slider-thumb{background:#0065a3;background:var(--terra-slider-thumb-hover-background, #0065a3)}[dir] .Slider-module__input-range___9Lrsz:active::-webkit-slider-thumb{background:#004c75;background:var(--terra-slider-thumb-active-background, #004c75)}[dir=ltr] .Slider-module__input-range___9Lrsz:hover::-webkit-slider-runnable-track{background:linear-gradient(to right, #0065a3 0%, #0065a3 50%, #bcbfc0 50%, #bcbfc0 100%);background:linear-gradient(to right, var(--terra-slider-track-selected-range-hover, #0065a3) 0%, var(--terra-slider-track-selected-range-hover, #0065a3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) 100%)}[dir=rtl] .Slider-module__input-range___9Lrsz:hover::-webkit-slider-runnable-track{background:linear-gradient(to left, #0065a3 0%, #0065a3 50%, #bcbfc0 50%, #bcbfc0 100%);background:linear-gradient(to left, var(--terra-slider-track-selected-range-hover, #0065a3) 0%, var(--terra-slider-track-selected-range-hover, #0065a3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) 100%)}.Slider-module__input-range___9Lrsz:disabled::-webkit-slider-runnable-track{-webkit-appearance:none}[dir=ltr] .Slider-module__input-range___9Lrsz:disabled::-webkit-slider-runnable-track{background:linear-gradient(to right, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to right, var(--terra-slider-track-disabled-selected-range, #007cc3) 0%, var(--terra-slider-track-disabled-selected-range, #007cc3) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 100%)}[dir=rtl] .Slider-module__input-range___9Lrsz:disabled::-webkit-slider-runnable-track{background:linear-gradient(to left, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to left, var(--terra-slider-track-disabled-selected-range, #007cc3) 0%, var(--terra-slider-track-disabled-selected-range, #007cc3) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 100%)}.Slider-module__input-range___9Lrsz:disabled::-webkit-slider-thumb{-webkit-appearance:none}[dir] .Slider-module__input-range___9Lrsz:disabled::-webkit-slider-thumb{background:#007cc3;background:var(--terra-slider-thumb-disabled-background, #007cc3)}.Slider-module__input-range___9Lrsz::-ms-track{-webkit-appearance:none;height:0.43rem;height:var(--terra-slider-track-height, 0.43rem)}[dir] .Slider-module__input-range___9Lrsz::-ms-track{border-radius:0.214rem;border-radius:var(--terra-slider-track-border-radius, 0.214rem)}[dir=ltr] .Slider-module__input-range___9Lrsz::-ms-track{background:linear-gradient(to right, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to right, var(--terra-slider-track-selected-range, #007cc3) 0%, var(--terra-slider-track-selected-range, #007cc3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) 100%)}[dir=rtl] .Slider-module__input-range___9Lrsz::-ms-track{background:linear-gradient(to left, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to left, var(--terra-slider-track-selected-range, #007cc3) 0%, var(--terra-slider-track-selected-range, #007cc3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) 100%)}.Slider-module__input-range___9Lrsz::-ms-thumb{-webkit-appearance:none;height:1.715rem;height:var(--terra-slider-thumb-height, 1.715rem);width:1.715rem;width:var(--terra-slider-thumb-width, 1.715rem)}[dir] .Slider-module__input-range___9Lrsz::-ms-thumb{background:#007cc3;background:var(--terra-slider-thumb-background, #007cc3);border-color:#0065a3;border-color:var(--terra-slider-thumb-border-color, #0065a3);border-radius:1.715rem;border-radius:var(--terra-slider-thumb-border-radius, 1.715rem);border-style:solid;border-width:0.071rem;border-width:var(--terra-slider-thumb-border-width, 0.071rem);box-shadow:0 0 0.286rem 0 rgba(0, 0, 0, 0.25);box-shadow:var(--terra-slider-thumb-box-shadow, 0 0 0.286rem 0 rgba(0, 0, 0, 0.25));margin-top:-0.57rem;margin-top:var(--terra-slider-thumb-margin-top, -0.57rem)}.Slider-module__input-range___9Lrsz:focus::-ms-thumb{outline:0.143rem dashed #000;outline:var(--terra-slider-thumb-focus-outline, 0.143rem dashed #000);outline-offset:0.071rem;outline-offset:var(--terra-slider-thumb-focus-outline-offset, 0.071rem)}[dir] .Slider-module__input-range___9Lrsz:hover::-ms-thumb{background:#0065a3;background:var(--terra-slider-thumb-hover-background, #0065a3)}[dir] .Slider-module__input-range___9Lrsz:active::-ms-thumb{background:#004c75;background:var(--terra-slider-thumb-active-background, #004c75)}[dir=ltr] .Slider-module__input-range___9Lrsz:hover::-ms-track{background:linear-gradient(to right, #0065a3 0%, #0065a3 50%, #bcbfc0 50%, #bcbfc0 100%);background:linear-gradient(to right, var(--terra-slider-track-selected-range-hover, #0065a3) 0%, var(--terra-slider-track-selected-range-hover, #0065a3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) 100%)}[dir=rtl] .Slider-module__input-range___9Lrsz:hover::-ms-track{background:linear-gradient(to left, #0065a3 0%, #0065a3 50%, #bcbfc0 50%, #bcbfc0 100%);background:linear-gradient(to left, var(--terra-slider-track-selected-range-hover, #0065a3) 0%, var(--terra-slider-track-selected-range-hover, #0065a3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) 100%)}.Slider-module__input-range___9Lrsz:disabled::-ms-track{-webkit-appearance:none}[dir=ltr] .Slider-module__input-range___9Lrsz:disabled::-ms-track{background:linear-gradient(to right, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to right, var(--terra-slider-track-disabled-selected-range, #007cc3) 0%, var(--terra-slider-track-disabled-selected-range, #007cc3) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 100%)}[dir=rtl] .Slider-module__input-range___9Lrsz:disabled::-ms-track{background:linear-gradient(to left, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to left, var(--terra-slider-track-disabled-selected-range, #007cc3) 0%, var(--terra-slider-track-disabled-selected-range, #007cc3) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 100%)}.Slider-module__input-range___9Lrsz:disabled::-ms-thumb{-webkit-appearance:none}[dir] .Slider-module__input-range___9Lrsz:disabled::-ms-thumb{background:#007cc3;background:var(--terra-slider-thumb-disabled-background, #007cc3)}.Slider-module__input-range___9Lrsz::-moz-range-track{-moz-appearance:none;height:0.43rem;height:var(--terra-slider-track-height, 0.43rem)}[dir] .Slider-module__input-range___9Lrsz::-moz-range-track{border-radius:0.214rem;border-radius:var(--terra-slider-track-border-radius, 0.214rem)}[dir=ltr] .Slider-module__input-range___9Lrsz::-moz-range-track{background:linear-gradient(to right, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to right, var(--terra-slider-track-selected-range, #007cc3) 0%, var(--terra-slider-track-selected-range, #007cc3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) 100%)}[dir=rtl] .Slider-module__input-range___9Lrsz::-moz-range-track{background:linear-gradient(to left, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to left, var(--terra-slider-track-selected-range, #007cc3) 0%, var(--terra-slider-track-selected-range, #007cc3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range, #d3d4d5) 100%)}.Slider-module__input-range___9Lrsz::-moz-range-thumb{-moz-appearance:none;height:1.715rem;height:var(--terra-slider-thumb-height, 1.715rem);width:1.715rem;width:var(--terra-slider-thumb-width, 1.715rem)}[dir] .Slider-module__input-range___9Lrsz::-moz-range-thumb{background:#007cc3;background:var(--terra-slider-thumb-background, #007cc3);border-color:#0065a3;border-color:var(--terra-slider-thumb-border-color, #0065a3);border-radius:1.715rem;border-radius:var(--terra-slider-thumb-border-radius, 1.715rem);border-style:solid;border-width:0.071rem;border-width:var(--terra-slider-thumb-border-width, 0.071rem);box-shadow:0 0 0.286rem 0 rgba(0, 0, 0, 0.25);box-shadow:var(--terra-slider-thumb-box-shadow, 0 0 0.286rem 0 rgba(0, 0, 0, 0.25));margin-top:-0.57rem;margin-top:var(--terra-slider-thumb-margin-top, -0.57rem)}.Slider-module__input-range___9Lrsz:focus::-moz-range-thumb{outline:0.143rem dashed #000;outline:var(--terra-slider-thumb-focus-outline, 0.143rem dashed #000);outline-offset:0.071rem;outline-offset:var(--terra-slider-thumb-focus-outline-offset, 0.071rem)}[dir] .Slider-module__input-range___9Lrsz:hover::-moz-range-thumb{background:#0065a3;background:var(--terra-slider-thumb-hover-background, #0065a3)}[dir] .Slider-module__input-range___9Lrsz:active::-moz-range-thumb{background:#004c75;background:var(--terra-slider-thumb-active-background, #004c75)}[dir=ltr] .Slider-module__input-range___9Lrsz:hover::-moz-range-track{background:linear-gradient(to right, #0065a3 0%, #0065a3 50%, #bcbfc0 50%, #bcbfc0 100%);background:linear-gradient(to right, var(--terra-slider-track-selected-range-hover, #0065a3) 0%, var(--terra-slider-track-selected-range-hover, #0065a3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) 100%)}[dir=rtl] .Slider-module__input-range___9Lrsz:hover::-moz-range-track{background:linear-gradient(to left, #0065a3 0%, #0065a3 50%, #bcbfc0 50%, #bcbfc0 100%);background:linear-gradient(to left, var(--terra-slider-track-selected-range-hover, #0065a3) 0%, var(--terra-slider-track-selected-range-hover, #0065a3) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) var(--terra-slider-progress-status, 50%), var(--terra-slider-track-unselected-range-hover, #bcbfc0) 100%)}.Slider-module__input-range___9Lrsz:disabled::-moz-range-track{-moz-appearance:none}[dir=ltr] .Slider-module__input-range___9Lrsz:disabled::-moz-range-track{background:linear-gradient(to right, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to right, var(--terra-slider-track-disabled-selected-range, #007cc3) 0%, var(--terra-slider-track-disabled-selected-range, #007cc3) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 100%)}[dir=rtl] .Slider-module__input-range___9Lrsz:disabled::-moz-range-track{background:linear-gradient(to left, #007cc3 0%, #007cc3 50%, #d3d4d5 50%, #d3d4d5 100%);background:linear-gradient(to left, var(--terra-slider-track-disabled-selected-range, #007cc3) 0%, var(--terra-slider-track-disabled-selected-range, #007cc3) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 50%, var(--terra-slider-track-disabled-unselected-range, #d3d4d5) 100%)}.Slider-module__input-range___9Lrsz:disabled::-moz-range-thumb{-moz-appearance:none}[dir] .Slider-module__input-range___9Lrsz:disabled::-moz-range-thumb{background:#007cc3;background:var(--terra-slider-thumb-disabled-background, #007cc3)} diff --git a/pull/1911/10354-b666e16c436858195a4f.js b/pull/1911/10354-b666e16c436858195a4f.js new file mode 100644 index 00000000000..40c59b4f6a1 --- /dev/null +++ b/pull/1911/10354-b666e16c436858195a4f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[10354],{10354:function(e,a,l){var t=l(64836);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=t(l(67294)),i=t(l(19270));a.default=function(){return r.default.createElement(i.default,{minimumValue:0,maximumValue:100,label:"Label",value:50})}},19270:function(e,a,l){var t=l(64836),r=l(18698);Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=t(l(27424)),u=function(e,a){if(!a&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var l=_(a);if(l&&l.has(e))return l.get(e);var t={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var n=i?Object.getOwnPropertyDescriptor(e,u):null;n&&(n.get||n.set)?Object.defineProperty(t,u,n):t[u]=e[u]}return t.default=e,l&&l.set(e,t),t}(l(67294)),n=t(l(45697)),d=t(l(47166)),m=t(l(47341)),s=t(l(29270)),f=l(25387),o=l(55877),c=t(l(86495));function _(e){if("function"!=typeof WeakMap)return null;var a=new WeakMap,l=new WeakMap;return(_=function(e){return e?l:a})(e)}var b=d.default.bind(c.default),p={label:n.default.string.isRequired,minimumValue:n.default.number.isRequired,maximumValue:n.default.number.isRequired,value:n.default.number.isRequired,isDisabled:n.default.bool,minimumLabel:n.default.string,maximumLabel:n.default.string,onChange:n.default.func,intl:n.default.shape({formatMessage:n.default.func}).isRequired},g=function(e){var a=e.isDisabled,l=e.intl,t=e.minimumValue,r=e.maximumValue,n=e.label,d=e.minimumLabel,f=e.maximumLabel,c=e.onChange,_=e.value,p=(0,u.useContext)(m.default),g=b(["slider",p.className]),v=(0,u.useRef)(),h=d||t,y=f||r,x=d&&f?l.formatMessage({id:"Terra.slider.ariaDescribedByTextWithLabels"},{minimumLabel:d,maximumLabel:f,minimumValue:t,maximumValue:r}):l.formatMessage({id:"Terra.slider.ariaDescribedByTextWithoutLabels"},{minimumValue:t,maximumValue:r}),w=(0,o.v4)(),L=(0,u.useState)(_),O=(0,i.default)(L,2),V=O[0],j=O[1];(0,u.useEffect)((function(){j(_)}),[_]);return u.default.createElement("div",{style:{"--terra-slider-progress-status":"".concat(V,"%")},className:g},u.default.createElement("span",{className:b("label"),"aria-hidden":"true"},n),u.default.createElement("span",{className:b("slider-label","slider-min-label"),"aria-hidden":"true"},h),u.default.createElement("input",{className:b("input-range"),type:"range",ref:v,"aria-label":n,"aria-describedby":w,value:V,disabled:a,min:t,max:r,onChange:function(e){j(e.currentTarget.value),c&&c(e.currentTarget.value)}}),u.default.createElement("span",{className:b("slider-label","slider-max-label"),"aria-hidden":"true"},y),u.default.createElement(s.default,{id:w,text:x}))};g.propTypes=p,g.defaultProps={isDisabled:!1};a.default=(0,f.injectIntl)(g)},86495:function(e,a,l){l.r(a),a.default={"orion-fusion-theme":"Slider-module__orion-fusion-theme___8lFzi","clinical-lowlight-theme":"Slider-module__clinical-lowlight-theme___ou4Xa",slider:"Slider-module__slider___p5WX-",label:"Slider-module__label___9ub6Z","slider-label":"Slider-module__slider-label___fdXlu","slider-min-label":"Slider-module__slider-min-label___zedNZ","slider-max-label":"Slider-module__slider-max-label___6gGpy","input-range":"Slider-module__input-range___9Lrsz"}}}]); \ No newline at end of file diff --git a/pull/1911/10548-62ffb0e5cca8e4515a6e.css b/pull/1911/10548-62ffb0e5cca8e4515a6e.css new file mode 100644 index 00000000000..084ca0c8705 --- /dev/null +++ b/pull/1911/10548-62ffb0e5cca8e4515a6e.css @@ -0,0 +1,2 @@ +.SlidePanel-module__clinical-lowlight-theme___NdNQF{--terra-slide-panel-panel-background-color: #222a2e;--terra-slide-panel-main-background-color: #222a2e;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 5px #181b1d;--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 5px #181b1d;--terra-slide-panel-main-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-border-right-color: #181b1d;--terra-slide-panel-panel-squish-border-left-color: #181b1d;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6}.SlidePanel-module__orion-fusion-theme___aBPYu{--terra-slide-panel-main-background-color: #fff;--terra-slide-panel-panel-background-color: #fff;--terra-slide-panel-main-squish-background-color: #fff;--terra-slide-panel-panel-squish-background-color: #fff;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6;--terra-slide-panel-panel-squish-border-right-color: #d3d4d5;--terra-slide-panel-panel-squish-border-left-color: #d3d4d5}.SlidePanel-module__slide-panel___5vKEK{overflow:hidden;position:relative}.SlidePanel-module__main___Jq40y,.SlidePanel-module__panel___N9gHx{box-sizing:border-box;height:100%;outline:none;-webkit-overflow-scrolling:touch;overflow-y:auto;width:100%}.SlidePanel-module__main___Jq40y{position:relative;z-index:0}[dir] .SlidePanel-module__main___Jq40y{background-color:#fff;background-color:var(--terra-slide-panel-main-background-color, #fff)}.SlidePanel-module__panel___N9gHx{position:absolute;z-index:500}[dir] .SlidePanel-module__panel___N9gHx{background-color:#fff;background-color:var(--terra-slide-panel-panel-background-color, #fff)}.SlidePanel-module__slide-panel___5vKEK .SlidePanel-module__slide-panel___5vKEK>.SlidePanel-module__panel___N9gHx{z-index:499}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___Jq40y{float:right}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___Jq40y{float:left}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{transform:translate3d(-100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{transform:translate3d(100%, 0, 0)}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___Jq40y{float:left}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___Jq40y{float:right}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{left:0;transform:translate3d(-100%, 0, 0)}[dir] .SlidePanel-module__is-open___SU3q3>.SlidePanel-module__panel___N9gHx{transform:translate3d(0, 0, 0)}@media all and (min-width: 768px){[data-slide-panel-panel-size=small]>.SlidePanel-module__panel___N9gHx{width:320px;width:var(--terra-slide-panel-panel-small-width, 320px)}[data-slide-panel-panel-size=large]>.SlidePanel-module__panel___N9gHx{width:calc(100%*0.6);width:calc(100%*var(--terra-slide-panel-panel-width-large-scalar, 0.6))}}@media(max-width: 767px),print{.SlidePanel-module__is-open___SU3q3>.SlidePanel-module__main___Jq40y{visibility:hidden}}@media(min-width: 768px),print{[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}}@media(min-width: 768px),print{[dir] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__main___Jq40y{background-color:#fff;background-color:var(--terra-slide-panel-main-squish-background-color, #fff)}.SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=small]>.SlidePanel-module__main___Jq40y{width:calc(100% - 320px);width:calc(100% - var(--terra-slide-panel-panel-squish-width-small, 320px))}.SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=large]>.SlidePanel-module__main___Jq40y{width:calc(100%*(1 - 0.6));width:calc(100%*(1 - var(--terra-slide-panel-panel-squish-width-large-scalar, 0.6)))}[dir] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__panel___N9gHx{background-color:#fff;background-color:var(--terra-slide-panel-panel-squish-background-color, #fff)}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}}.SlidePanel-module__is-fullscreen___0BQTN[data-slide-panel-panel-size]>.SlidePanel-module__panel___N9gHx{width:100%}.SlidePanel-module__fill___vHC0f{height:100%;width:100%}.SlidePanel-module__panel___N9gHx[aria-hidden=true]{visibility:hidden}.SlidePanel-module__main___Jq40y[aria-hidden=true]{visibility:hidden} +.SlidePanelManager-module__example-wrapper___O3eL3{height:35rem}[dir] .SlidePanelManager-module__example-wrapper___O3eL3{border:1px solid #d3d3d3}[dir] .SlidePanelManager-module__content-wrapper___ztw-M{padding:.7rem}[dir] .SlidePanelManager-module__disclosure-accessory___MW01K{background-color:#add8e6;padding:1rem}.SlidePanelManager-module__form-select___YyZ10{max-width:300px}[dir=ltr] .SlidePanelManager-module__form-select___YyZ10{margin-left:1rem}[dir=rtl] .SlidePanelManager-module__form-select___YyZ10{margin-right:1rem} diff --git a/pull/1911/10548-62ffb0e5cca8e4515a6e.js b/pull/1911/10548-62ffb0e5cca8e4515a6e.js new file mode 100644 index 00000000000..8e12e74ff45 --- /dev/null +++ b/pull/1911/10548-62ffb0e5cca8e4515a6e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[10548],{71812:function(e,n,t){t.r(n),t.d(n,{default:function(){return W}});var a=t(87462),l=t(44925),s=t(67294),r=t(81254),i=t(89708),o=t(78530),c=["components"],d={},u="wrapper";function p(e){var n=e.components,t=(0,l.Z)(e,c);return(0,r.mdx)(u,(0,a.Z)({},d,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(o.ZP,{mdxType:"PropsTable"},(0,r.mdx)(o.X2,{key:"ROW1",mdxType:"Row"},(0,r.mdx)(o.O,{mdxType:"PropNameCell"},"children"),(0,r.mdx)(o.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"node\n"))),(0,r.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The components to be rendered in the body of the SlidePanelManager. These components will receive the\ndisclosure capabilities through the DisclosureManger's context API."))),(0,r.mdx)(o.X2,{key:"ROW2",mdxType:"Row"},(0,r.mdx)(o.O,{mdxType:"PropNameCell"},"level"),(0,r.mdx)(o.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 1\n 2\n 3\n 4\n 5\n 6\n],\n"))),(0,r.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"2\n"))),(0,r.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"Sets the heading level of the disclosed panel. One of ",(0,r.mdx)("inlineCode",{parentName:"p"},"1"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"2"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"3"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"4"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"5"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"6"),". This helps screen readers to announce appropriate heading levels.\nChanging 'level' will not visually change the style of the content."))),(0,r.mdx)(o.X2,{key:"ROW3",mdxType:"Row"},(0,r.mdx)(o.O,{mdxType:"PropNameCell"},"panelBehavior"),(0,r.mdx)(o.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n 'overlay'\n 'squish'\n],\n"))),(0,r.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"'overlay'\n"))),(0,r.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The desired panel behavior. Either 'squish' or 'overlay'."))),(0,r.mdx)(o.X2,{key:"ROW4",mdxType:"Row"},(0,r.mdx)(o.O,{mdxType:"PropNameCell"},"disclosureAccessory"),(0,r.mdx)(o.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"element\n"))),(0,r.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The component to render within the panel above the disclosed content."))),(0,r.mdx)(o.X2,{key:"ROW5",mdxType:"Row"},(0,r.mdx)(o.O,{mdxType:"PropNameCell"},"panelAriaLabel"),(0,r.mdx)(o.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The aria label for the panel region. This should be provided if the header does not contain a title\nto make the panel more accessible to assistive technologies."))),(0,r.mdx)(o.X2,{key:"ROW6",mdxType:"Row"},(0,r.mdx)(o.O,{mdxType:"PropNameCell"},"mainAriaLabel"),(0,r.mdx)(o.Di,{mdxType:"TypeCell"},(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,r.mdx)(o.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,r.mdx)(o.mW,{mdxType:"DefaultValueCell"},(0,r.mdx)("p",null,"none")),(0,r.mdx)(o.Ex,{mdxType:"DescriptionCell"},(0,r.mdx)("p",null,"The aria label for the main region.")))))}p.isMDXComponent=!0;var m=t(91823),h=["components"],f={};function g(e){var n=e.components,t=(0,l.Z)(e,h);return(0,r.mdx)("wrapper",(0,a.Z)({},f,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"/* eslint-disable max-classes-per-file */\n/* Slide Panel Manager example with panel behavior as \"overlay\" */\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames/bind';\nimport ActionHeader from 'terra-action-header';\nimport CollapsibleMenuView from 'terra-collapsible-menu-view';\nimport ContentContainer from 'terra-content-container';\nimport {\n availableDisclosureHeights, availableDisclosureWidths, DisclosureManagerHeaderAdapter, DisclosureManagerContext,\n} from 'terra-disclosure-manager';\nimport NativeSelect from 'terra-form-select/lib/native-select/NativeSelect';\n\nimport SlidePanelManager from 'terra-slide-panel-manager';\nimport styles from './SlidePanelManager.module.scss';\n\nconst cx = classNames.bind(styles);\n\nclass DisclosureComponent extends React.Component {\n constructor(props) {\n super(props);\n\n this.checkLockState = this.checkLockState.bind(this);\n\n this.state = {\n text: undefined,\n };\n }\n\n componentDidMount() {\n const disclosureManager = this.context;\n\n if (disclosureManager && disclosureManager.registerDismissCheck) {\n disclosureManager.registerDismissCheck(this.checkLockState);\n }\n }\n\n checkLockState() {\n if (this.state.text && this.state.text.length) {\n return new Promise((resolve, reject) => {\n // eslint-disable-next-line no-restricted-globals\n if (!confirm(`${this.props.name} has unsaved changes that will be lost. Do you wish to continue?`)) { // eslint-disable-line no-alert\n reject();\n return;\n }\n\n resolve();\n });\n }\n\n return Promise.resolve();\n }\n\n render() {\n const { name, disclosureType } = this.props;\n const disclosureManager = this.context;\n\n return (\n \n \n {\n this.setState({\n selectedHeaderAction: 'Button 1',\n });\n }}\n />\n {\n this.setState({\n selectedHeaderAction: 'Button 2',\n });\n }}\n />\n \n )}\n />\n
\n

{name}

\n

The disclosed component can disclose content within the same panel.

\n

It can also render a header (like above) that implements the various DisclosureManager control functions.

\n {\n disclosureManager.dismiss()\n .catch(() => {\n console.log('Dismiss failed. A lock must be in place.'); // eslint-disable-line no-console\n });\n }}\n >\n Dismiss\n \n {\n disclosureManager.disclose({\n preferredType: disclosureType,\n size: 'small',\n content: {\n key: `Nested ${name}`,\n component: ,\n },\n });\n }}\n >\n Disclose Again\n \n
\n
\n

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.

\n {\n this.setState({\n text: event.target.value,\n });\n }}\n value={this.state.text || ''}\n />\n {this.state.text && this.state.text.length ?

Component has unsaved changes!

: null}\n
\n
\n

\n Selected Header Action:\n {' '}\n {this.state.selectedHeaderAction}\n

\n
\n
\n );\n }\n}\n\nDisclosureComponent.contextType = DisclosureManagerContext;\nDisclosureComponent.propTypes = {\n name: PropTypes.string,\n disclosureType: PropTypes.string,\n};\nDisclosureComponent.defaultProps = {\n name: 'Disclosure Component',\n};\n\nconst HEIGHT_KEYS = Object.keys(availableDisclosureHeights);\nconst WIDTH_KEYS = Object.keys(availableDisclosureWidths);\n\nconst generateDimensionOptions = values => (\n values.map((currentValue, index) => {\n const keyValue = index;\n return ;\n })\n);\n\nclass ContentComponent extends React.Component {\n constructor(props) {\n super(props);\n\n this.renderButton = this.renderButton.bind(this);\n this.handleSelectChange = this.handleSelectChange.bind(this);\n this.getId = this.getId.bind(this);\n\n this.state = { id: 'dimensions', disclosureHeight: HEIGHT_KEYS[0], disclosureWidth: WIDTH_KEYS[0] };\n }\n\n handleSelectChange(event) {\n this.setState({ [event.target.name]: event.target.value });\n }\n\n getId(name) {\n return name + this.state.id;\n }\n\n renderButton(size) {\n const disclosureManager = this.context;\n\n return (\n {\n disclosureManager.disclose({\n preferredType: 'panel',\n size,\n content: {\n key: `Content-Disclosure-${size}`,\n component: ,\n },\n });\n }}\n >\n {`${size.charAt(0).toUpperCase() + size.slice(1)} panel`}\n \n );\n }\n\n renderFormButton() {\n const disclosureManager = this.context;\n\n const name = `Disclose (${this.state.disclosureHeight}) x (${this.state.disclosureWidth})`;\n\n return (\n {\n disclosureManager.disclose({\n preferredType: 'panel',\n typeConfig: { panelBehavior: 'overlay' },\n dimensions: { height: this.state.disclosureHeight, width: this.state.disclosureWidth },\n content: {\n key: 'Content-Disclosure-Dimensions',\n component: ,\n },\n });\n }}\n >\n {name}\n \n );\n }\n\n renderForm() {\n return (\n
\n \n \n
\n
\n \n \n
\n
\n
\n );\n }\n\n render() {\n return (\n \n )}\n >\n
\n {this.renderButton('default')}\n {this.renderButton('tiny')}\n {this.renderButton('small')}\n {this.renderButton('medium')}\n {this.renderButton('large')}\n {this.renderButton('huge')}\n {this.renderButton('fullscreen')}\n
\n

The child components can disclose content in the panel at various sizes.

\n

The sizes available are limited to those of the SlidePanel. The specified size/dimensions will be mapped to the nearest available size.

\n
\n
\n {this.renderForm()}\n {this.renderFormButton()}\n
\n \n );\n }\n}\n\nContentComponent.contextType = DisclosureManagerContext;\n\nconst SlidePanelManagerExample = () => {\n const [level, setLevel] = useState(0);\n\n return (\n
\n \n \n
\n
Select panel heading level:
\n setLevel(Number(event.currentTarget.value))}\n options={[\n { value: '0', display: 'Default' },\n { value: 1, display: '1' },\n { value: 2, display: '2' },\n { value: 3, display: '3' },\n { value: 4, display: '4' },\n { value: 5, display: '5' },\n { value: 6, display: '6' },\n ]}\n value={level}\n />\n
\n
\n );\n};\n\nexport default SlidePanelManagerExample;\n\n")))}g.isMDXComponent=!0;var x=t(49271),v=["components"],y={};function b(e){var n=e.components,t=(0,l.Z)(e,v);return(0,r.mdx)("wrapper",(0,a.Z)({},y,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .example-wrapper {\n border: 1px solid #d3d3d3;\n height: 35rem;\n }\n\n .content-wrapper {\n padding: 0.7rem;\n }\n\n .disclosure-accessory {\n background-color: #add8e6;\n padding: 1rem;\n }\n\n .form-select {\n margin-left: 1rem;\n max-width: 300px;\n }\n}\n\n")))}b.isMDXComponent=!0;var C=function(e){var n=e.title,t=e.description,a=e.isExpanded;return s.createElement(x.Z,{title:n||"Slide Panel Manager Example",description:t,example:s.createElement(m.Z,null),exampleCssSrc:s.createElement(b,null),exampleSrc:s.createElement(g,null),isExpanded:a})},D=t(91710),k=["components"],S={};function T(e){var n=e.components,t=(0,l.Z)(e,k);return(0,r.mdx)("wrapper",(0,a.Z)({},S,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"/* eslint-disable max-classes-per-file */\n/* Slide Panel Manager example with panel behavior as \"squish\" */\nimport React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames/bind';\nimport ActionHeader from 'terra-action-header';\nimport CollapsibleMenuView from 'terra-collapsible-menu-view';\nimport ContentContainer from 'terra-content-container';\nimport {\n availableDisclosureHeights, availableDisclosureWidths, DisclosureManagerHeaderAdapter, DisclosureManagerContext,\n} from 'terra-disclosure-manager';\nimport NativeSelect from 'terra-form-select/lib/native-select/NativeSelect';\n\nimport SlidePanelManager from 'terra-slide-panel-manager';\nimport styles from './SlidePanelManager.module.scss';\n\nconst cx = classNames.bind(styles);\n\nclass DisclosureComponent extends React.Component {\n constructor(props) {\n super(props);\n\n this.checkLockState = this.checkLockState.bind(this);\n\n this.state = {\n text: undefined,\n };\n }\n\n componentDidMount() {\n const disclosureManager = this.context;\n\n if (disclosureManager && disclosureManager.registerDismissCheck) {\n disclosureManager.registerDismissCheck(this.checkLockState);\n }\n }\n\n checkLockState() {\n if (this.state.text && this.state.text.length) {\n return new Promise((resolve, reject) => {\n // eslint-disable-next-line no-restricted-globals\n if (!confirm(`${this.props.name} has unsaved changes that will be lost. Do you wish to continue?`)) { // eslint-disable-line no-alert\n reject();\n return;\n }\n\n resolve();\n });\n }\n\n return Promise.resolve();\n }\n\n render() {\n const { name, disclosureType } = this.props;\n const disclosureManager = this.context;\n\n return (\n \n \n {\n this.setState({\n selectedHeaderAction: 'Button 1',\n });\n }}\n />\n {\n this.setState({\n selectedHeaderAction: 'Button 2',\n });\n }}\n />\n \n )}\n />\n
\n

{name}

\n

The disclosed component can disclose content within the same panel.

\n

It can also render a header (like above) that implements the various DisclosureManager control functions.

\n {\n disclosureManager.dismiss()\n .catch(() => {\n console.log('Dismiss failed. A lock must be in place.'); // eslint-disable-line no-console\n });\n }}\n >\n Dismiss\n \n {\n disclosureManager.disclose({\n preferredType: disclosureType,\n size: 'small',\n content: {\n key: `Nested ${name}`,\n component: ,\n },\n });\n }}\n >\n Disclose Again\n \n
\n
\n

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.

\n {\n this.setState({\n text: event.target.value,\n });\n }}\n value={this.state.text || ''}\n />\n {this.state.text && this.state.text.length ?

Component has unsaved changes!

: null}\n
\n
\n

\n Selected Header Action:\n {' '}\n {this.state.selectedHeaderAction}\n

\n
\n
\n );\n }\n}\n\nDisclosureComponent.contextType = DisclosureManagerContext;\nDisclosureComponent.propTypes = {\n name: PropTypes.string,\n disclosureType: PropTypes.string,\n};\nDisclosureComponent.defaultProps = {\n name: 'Disclosure Component',\n};\n\nconst HEIGHT_KEYS = Object.keys(availableDisclosureHeights);\nconst WIDTH_KEYS = Object.keys(availableDisclosureWidths);\n\nconst generateDimensionOptions = values => (\n values.map((currentValue, index) => {\n const keyValue = index;\n return ;\n })\n);\n\nclass ContentComponent extends React.Component {\n constructor(props) {\n super(props);\n\n this.renderButton = this.renderButton.bind(this);\n this.handleSelectChange = this.handleSelectChange.bind(this);\n this.getId = this.getId.bind(this);\n\n this.state = { id: 'dimensions', disclosureHeight: HEIGHT_KEYS[0], disclosureWidth: WIDTH_KEYS[0] };\n }\n\n handleSelectChange(event) {\n this.setState({ [event.target.name]: event.target.value });\n }\n\n getId(name) {\n return name + this.state.id;\n }\n\n renderButton(size) {\n const disclosureManager = this.context;\n\n return (\n {\n disclosureManager.disclose({\n preferredType: 'panel',\n size,\n typeConfig: { panelBehavior: 'squish' },\n content: {\n key: `Content-Disclosure-${size}`,\n component: ,\n },\n });\n }}\n >\n {`${size.charAt(0).toUpperCase() + size.slice(1)} panel`}\n \n );\n }\n\n renderFormButton() {\n const disclosureManager = this.context;\n\n const name = `Disclose (${this.state.disclosureHeight}) x (${this.state.disclosureWidth})`;\n\n return (\n {\n disclosureManager.disclose({\n preferredType: 'panel',\n dimensions: { height: this.state.disclosureHeight, width: this.state.disclosureWidth },\n content: {\n key: 'Content-Disclosure-Dimensions',\n component: ,\n },\n });\n }}\n >\n {name}\n \n );\n }\n\n renderForm() {\n return (\n
\n \n \n
\n
\n \n \n
\n
\n
\n );\n }\n\n render() {\n return (\n \n )}\n >\n
\n {this.renderButton('default')}\n {this.renderButton('tiny')}\n {this.renderButton('small')}\n {this.renderButton('medium')}\n {this.renderButton('large')}\n {this.renderButton('huge')}\n {this.renderButton('fullscreen')}\n
\n

The child components can disclose content in the panel at various sizes.

\n

The sizes available are limited to those of the SlidePanel. The specified size/dimensions will be mapped to the nearest available size.

\n
\n
\n {this.renderForm()}\n {this.renderFormButton()}\n
\n \n );\n }\n}\n\nContentComponent.contextType = DisclosureManagerContext;\n\nconst SlidePanelManagerExample = () => {\n const [level, setLevel] = useState(0);\n\n return (\n
\n \n \n
\n
Select panel heading level:
\n setLevel(Number(event.currentTarget.value))}\n options={[\n { value: '0', display: 'Default' },\n { value: 1, display: '1' },\n { value: 2, display: '2' },\n { value: 3, display: '3' },\n { value: 4, display: '4' },\n { value: 5, display: '5' },\n { value: 6, display: '6' },\n ]}\n value={level}\n />\n
\n
\n );\n};\n\nexport default SlidePanelManagerExample;\n\n")))}T.isMDXComponent=!0;var E=function(e){var n=e.title,t=e.description,a=e.isExpanded;return s.createElement(x.Z,{title:n||"Slide Panel Manager Squish Example",description:t,example:s.createElement(D.Z,null),exampleCssSrc:s.createElement(b,null),exampleSrc:s.createElement(T,null),isExpanded:a})},M=t(87983),w=["components"],N={};function P(e){var n=e.components,t=(0,l.Z)(e,w);return(0,r.mdx)("wrapper",(0,a.Z)({},N,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"/* eslint-disable max-classes-per-file */\n/* Slide Panel Manager example with panel behavior as \"squish\" */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames/bind';\nimport ActionHeader from 'terra-action-header';\nimport CollapsibleMenuView from 'terra-collapsible-menu-view';\nimport ContentContainer from 'terra-content-container';\nimport {\n availableDisclosureHeights, availableDisclosureWidths, DisclosureManagerHeaderAdapter, DisclosureManagerContext,\n} from 'terra-disclosure-manager';\n\nimport SlidePanelManager from 'terra-slide-panel-manager';\nimport styles from './SlidePanelManager.module.scss';\n\nconst cx = classNames.bind(styles);\n\nclass DisclosureComponent extends React.Component {\n constructor(props) {\n super(props);\n\n this.checkLockState = this.checkLockState.bind(this);\n\n this.state = {\n text: undefined,\n };\n }\n\n componentDidMount() {\n const disclosureManager = this.context;\n\n if (disclosureManager && disclosureManager.registerDismissCheck) {\n disclosureManager.registerDismissCheck(this.checkLockState);\n }\n }\n\n checkLockState() {\n if (this.state.text && this.state.text.length) {\n return new Promise((resolve, reject) => {\n // eslint-disable-next-line no-restricted-globals\n if (!confirm(`${this.props.name} has unsaved changes that will be lost. Do you wish to continue?`)) { // eslint-disable-line no-alert\n reject();\n return;\n }\n\n resolve();\n });\n }\n\n return Promise.resolve();\n }\n\n render() {\n const { name, disclosureType } = this.props;\n const disclosureManager = this.context;\n\n return (\n \n \n {\n this.setState({\n selectedHeaderAction: 'Button 1',\n });\n }}\n />\n {\n this.setState({\n selectedHeaderAction: 'Button 2',\n });\n }}\n />\n \n )}\n />\n
\n

{name}

\n

The disclosed component can disclose content within the same panel.

\n

It can also render a header (like above) that implements the various DisclosureManager control functions.

\n {\n disclosureManager.dismiss()\n .catch(() => {\n console.log('Dismiss failed. A lock must be in place.'); // eslint-disable-line no-console\n });\n }}\n >\n Dismiss\n \n {\n disclosureManager.disclose({\n preferredType: disclosureType,\n size: 'small',\n content: {\n key: `Nested ${name}`,\n component: ,\n },\n });\n }}\n >\n Disclose Again\n \n
\n
\n

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.

\n {\n this.setState({\n text: event.target.value,\n });\n }}\n value={this.state.text || ''}\n />\n {this.state.text && this.state.text.length ?

Component has unsaved changes!

: null}\n
\n
\n

\n Selected Header Action:\n {' '}\n {this.state.selectedHeaderAction}\n

\n
\n
\n );\n }\n}\n\nDisclosureComponent.contextType = DisclosureManagerContext;\nDisclosureComponent.propTypes = {\n name: PropTypes.string,\n disclosureType: PropTypes.string,\n};\nDisclosureComponent.defaultProps = {\n name: 'Disclosure Component',\n};\n\nconst HEIGHT_KEYS = Object.keys(availableDisclosureHeights);\nconst WIDTH_KEYS = Object.keys(availableDisclosureWidths);\n\nconst generateDimensionOptions = values => (\n values.map((currentValue, index) => {\n const keyValue = index;\n return ;\n })\n);\n\nclass ContentComponent extends React.Component {\n constructor(props) {\n super(props);\n\n this.renderButton = this.renderButton.bind(this);\n this.handleSelectChange = this.handleSelectChange.bind(this);\n this.getId = this.getId.bind(this);\n\n this.state = { id: 'dimensions', disclosureHeight: HEIGHT_KEYS[0], disclosureWidth: WIDTH_KEYS[0] };\n }\n\n handleSelectChange(event) {\n this.setState({ [event.target.name]: event.target.value });\n }\n\n getId(name) {\n return name + this.state.id;\n }\n\n renderButton(size) {\n const disclosureManager = this.context;\n\n return (\n {\n disclosureManager.disclose({\n preferredType: 'panel',\n size,\n content: {\n key: `Content-Disclosure-${size}`,\n component: ,\n },\n });\n }}\n >\n {`${size.charAt(0).toUpperCase() + size.slice(1)} panel`}\n \n );\n }\n\n renderFormButton() {\n const disclosureManager = this.context;\n\n const name = `Disclose (${this.state.disclosureHeight}) x (${this.state.disclosureWidth})`;\n\n return (\n {\n disclosureManager.disclose({\n preferredType: 'panel',\n dimensions: { height: this.state.disclosureHeight, width: this.state.disclosureWidth },\n content: {\n key: 'Content-Disclosure-Dimensions',\n component: ,\n },\n });\n }}\n >\n {name}\n \n );\n }\n\n renderForm() {\n return (\n
\n \n \n
\n
\n \n \n
\n
\n
\n );\n }\n\n render() {\n return (\n \n )}\n >\n
\n {this.renderButton('default')}\n {this.renderButton('tiny')}\n {this.renderButton('small')}\n {this.renderButton('medium')}\n {this.renderButton('large')}\n {this.renderButton('huge')}\n {this.renderButton('fullscreen')}\n
\n

The child components can disclose content in the panel at various sizes.

\n

The sizes available are limited to those of the SlidePanel. The specified size/dimensions will be mapped to the nearest available size.

\n
\n
\n {this.renderForm()}\n {this.renderFormButton()}\n
\n \n );\n }\n}\n\nContentComponent.contextType = DisclosureManagerContext;\n\nconst SlidePanelManagerExample = () => (\n
\n \n Disclosure Accessory\n
\n)}\n >\n \n \n \n);\n\nexport default SlidePanelManagerExample;\n\n")))}P.isMDXComponent=!0;var H=function(e){var n=e.title,t=e.description,a=e.isExpanded;return s.createElement(x.Z,{title:n||"Slide Panel Manager Accessory Example",description:t,example:s.createElement(M.Z,null),exampleCssSrc:s.createElement(b,null),exampleSrc:s.createElement(P,null),isExpanded:a})},B=["components"],A={},I="wrapper";function W(e){var n=e.components,t=(0,l.Z)(e,B);return(0,r.mdx)(I,(0,a.Z)({},A,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(i.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-slidepanel-manager"},"Terra SlidePanel Manager"),(0,r.mdx)("p",null,"The SlidePanelManager is a DisclosureManager implementation that presents disclosed content using a SlidePanel."),(0,r.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Install with ",(0,r.mdx)("a",{parentName:"li",href:"https://www.npmjs.com/"},"npmjs"),":",(0,r.mdx)("ul",{parentName:"li"},(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"npm install terra-slide-panel-manager"))))),(0,r.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,r.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,r.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"terra-disclosure-manager"),(0,r.mdx)("td",{parentName:"tr",align:null},"^4.16.0")))),(0,r.mdx)("h2",{id:"usage"},"Usage"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import SlidePanelManager, { disclosureType } from 'terra-slide-panel-manager';\n")),(0,r.mdx)("h2",{id:"implementation-requirements"},"Implementation Requirements"),(0,r.mdx)("p",null,"The SlidePanelManager utilizes the DisclosureManager API to manage disclosure requests. The components provided as children to the SlidePanelManager, and the components disclosed within it, must interface with the SlidePanelManager's context using the ",(0,r.mdx)("inlineCode",{parentName:"p"},"withDisclosureManager()")," higher-order component generator provided by the ",(0,r.mdx)("inlineCode",{parentName:"p"},"terra-disclosure-manager")," package. Alternatively, ",(0,r.mdx)("inlineCode",{parentName:"p"},"DisclosureManagerContext")," can be consumed directly using the ",(0,r.mdx)("inlineCode",{parentName:"p"},"useContext")," hook."),(0,r.mdx)("p",null,"The SlidePanelManager responds to ",(0,r.mdx)("inlineCode",{parentName:"p"},'"panel"')," disclosure type requests. Components that wish to disclose content using the SlidePanelManager should provide a preferred type of ",(0,r.mdx)("inlineCode",{parentName:"p"},'"panel"'),". This value is exported from the package as ",(0,r.mdx)("inlineCode",{parentName:"p"},"disclosureType"),". Please see the ",(0,r.mdx)("a",{parentName:"p",href:"https://engineering.cerner.com/terra-ui/#/components/terra-disclosure-manager/disclosure-manager/disclosure-manager-api"},"DisclosureManager API documentation")," for a full description of the SlidePanelManager's capabilities."),(0,r.mdx)("h2",{id:"disclosuremanagerheaderadapter-support"},"DisclosureManagerHeaderAdapter Support"),(0,r.mdx)("p",null,"If a component disclosed by the SlidePanelManager renders a ",(0,r.mdx)("inlineCode",{parentName:"p"},"DisclosureManagerHeaderAdapter"),", the SlidePanelManager will render an ActionHeader and provide the standard disclosure navigation controls (close, go back, etc.) within it. The disclosed component can use the ",(0,r.mdx)("inlineCode",{parentName:"p"},"DisclosureManagerHeaderAdapter")," to inject its own title and CollapsibleButtonView into the ActionHeader."),(0,r.mdx)("p",null,"If the disclosed component does ",(0,r.mdx)("strong",{parentName:"p"},"not")," render a ",(0,r.mdx)("inlineCode",{parentName:"p"},"DisclosureManagerHeaderAdapter"),", the SlidePanelManager will ",(0,r.mdx)("strong",{parentName:"p"},"not")," render an ActionHeader itself. In this case, it is assumed that the disclosed component is rendering its own header. The disclosed component is responsible for rendering the appropriate controls to navigate the disclosure stack."),(0,r.mdx)("blockquote",null,(0,r.mdx)("p",{parentName:"blockquote"},"Note: The DisclosureManagerHeaderAdapter is the preferred way to present a header within the SlidePanelManager. In a future major release, the SlidePanelManager will ",(0,r.mdx)("strong",{parentName:"p"},"always")," render the header and navigation controls, regardless of the presence of a DisclosureManagerHeaderAdapter.")),(0,r.mdx)("h2",{id:"disclosure-accessory"},"Disclosure Accessory"),(0,r.mdx)("p",null,"The ",(0,r.mdx)("inlineCode",{parentName:"p"},"disclosureAccessory")," prop allows consumers of the SlidePanelManager to render a static component above the disclosed panel content. The provided component will be rendered below the standard ActionHeader and above the disclosed content. This can be used to easily provide additional context to every disclosed component. This component is provided once to the SlidePanelManager instance, not on a per-disclosure basis, and each component in the disclosure stack will be decorated with the same accessory component."),(0,r.mdx)("h2",{id:"component-features"},"Component Features"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support"))),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(C,{title:"Overlay Example",mdxType:"SlidePanelManagerExample"}),(0,r.mdx)(E,{title:"Squish Example",mdxType:"SlidePanelManagerSquishExample"}),(0,r.mdx)(H,{title:"Disclosure Accessory Example",mdxType:"SlidePanelManagerAccessoryExample"}),(0,r.mdx)("h2",{id:"slide-panel-manager-props-table"},"Slide Panel Manager Props Table"),(0,r.mdx)(p,{mdxType:"SlidePanelManagerPropsTable"}))}W.isMDXComponent=!0},89708:function(e,n,t){t.d(n,{C:function(){return s}});var a=t(67294),l=t(22863),s=function(e){var n=e.url;return a.createElement(l.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-slide-panel-manager",name:"terra-slide-panel-manager",version:"5.85.0",url:n})}},87983:function(e,n,t){var a=t(64836);n.Z=void 0;var l=a(t(38416)),s=a(t(56690)),r=a(t(89728)),i=a(t(66115)),o=a(t(61655)),c=a(t(94993)),d=a(t(73808)),u=a(t(67294)),p=a(t(45697)),m=a(t(47166)),h=a(t(17092)),f=a(t(57927)),g=a(t(10027)),x=t(56019),v=a(t(34653)),y=a(t(46765));function b(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,a=(0,d.default)(e);if(n){var l=(0,d.default)(this).constructor;t=Reflect.construct(a,arguments,l)}else t=a.apply(this,arguments);return(0,c.default)(this,t)}}var C=m.default.bind(y.default),D=function(e){(0,o.default)(t,e);var n=b(t);function t(e){var a;return(0,s.default)(this,t),(a=n.call(this,e)).checkLockState=a.checkLockState.bind((0,i.default)(a)),a.state={text:void 0},a}return(0,r.default)(t,[{key:"componentDidMount",value:function(){var e=this.context;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(n,t){confirm("".concat(e.props.name," has unsaved changes that will be lost. Do you wish to continue?"))?n():t()})):Promise.resolve()}},{key:"render",value:function(){var e=this,n=this.props,a=n.name,l=n.disclosureType,s=this.context;return u.default.createElement(g.default,{fill:!0},u.default.createElement(x.DisclosureManagerHeaderAdapter,{title:a,collapsibleMenuView:u.default.createElement(f.default,null,u.default.createElement(f.default.Item,{text:"Button 1",key:"button_1",onClick:function(){e.setState({selectedHeaderAction:"Button 1"})}}),u.default.createElement(f.default.Item,{text:"Button 2",key:"button_2",onClick:function(){e.setState({selectedHeaderAction:"Button 2"})}}))}),u.default.createElement("div",{className:C("content-wrapper")},u.default.createElement("h3",null,a),u.default.createElement("p",null,"The disclosed component can disclose content within the same panel."),u.default.createElement("p",null,"It can also render a header (like above) that implements the various DisclosureManager control functions."),u.default.createElement("button",{type:"button",onClick:function(){s.dismiss().catch((function(){console.log("Dismiss failed. A lock must be in place.")}))}},"Dismiss"),u.default.createElement("button",{type:"button",onClick:function(){s.disclose({preferredType:l,size:"small",content:{key:"Nested ".concat(a),component:u.default.createElement(t,{name:"Nested ".concat(a),disclosureType:l})}})}},"Disclose Again"),u.default.createElement("br",null),u.default.createElement("br",null),u.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."),u.default.createElement("input",{"aria-label":"textArea",type:"text",onChange:function(n){e.setState({text:n.target.value})},value:this.state.text||""}),this.state.text&&this.state.text.length?u.default.createElement("p",null,"Component has unsaved changes!"):null,u.default.createElement("br",null),u.default.createElement("br",null),u.default.createElement("p",null,"Selected Header Action:"," ",u.default.createElement("b",null,this.state.selectedHeaderAction))))}}]),t}(u.default.Component);D.contextType=x.DisclosureManagerContext,D.propTypes={name:p.default.string,disclosureType:p.default.string},D.defaultProps={name:"Disclosure Component"};var k=Object.keys(x.availableDisclosureHeights),S=Object.keys(x.availableDisclosureWidths),T=function(e){return e.map((function(e,n){var t=n;return u.default.createElement("option",{key:t,value:e},e)}))},E=function(e){(0,o.default)(t,e);var n=b(t);function t(e){var a;return(0,s.default)(this,t),(a=n.call(this,e)).renderButton=a.renderButton.bind((0,i.default)(a)),a.handleSelectChange=a.handleSelectChange.bind((0,i.default)(a)),a.getId=a.getId.bind((0,i.default)(a)),a.state={id:"dimensions",disclosureHeight:k[0],disclosureWidth:S[0]},a}return(0,r.default)(t,[{key:"handleSelectChange",value:function(e){this.setState((0,l.default)({},e.target.name,e.target.value))}},{key:"getId",value:function(e){return e+this.state.id}},{key:"renderButton",value:function(e){var n=this.context;return u.default.createElement("button",{type:"button",onClick:function(){n.disclose({preferredType:"panel",size:e,content:{key:"Content-Disclosure-".concat(e),component:u.default.createElement(D,{name:"Disclosure Component",disclosureType:"panel"})}})}},"".concat(e.charAt(0).toUpperCase()+e.slice(1)," panel"))}},{key:"renderFormButton",value:function(){var e=this,n=this.context,t="Disclose (".concat(this.state.disclosureHeight,") x (").concat(this.state.disclosureWidth,")");return u.default.createElement("button",{type:"button",onClick:function(){n.disclose({preferredType:"panel",dimensions:{height:e.state.disclosureHeight,width:e.state.disclosureWidth},content:{key:"Content-Disclosure-Dimensions",component:u.default.createElement(D,{name:"Disclosure Component",disclosureType:"panel"})}})}},t)}},{key:"renderForm",value:function(){return u.default.createElement("form",null,u.default.createElement("label",{htmlFor:this.getId("disclosureHeightSquish")},"Pop Content Height"),u.default.createElement("select",{id:this.getId("disclosureHeightSquish"),name:"disclosureHeight",value:this.state.disclosureHeight,onChange:this.handleSelectChange},T(k)),u.default.createElement("br",null),u.default.createElement("br",null),u.default.createElement("label",{htmlFor:this.getId("disclosureWidthSquish")},"Pop Content Width"),u.default.createElement("select",{id:this.getId("disclosureWidthSquish"),name:"disclosureWidth",value:this.state.disclosureWidth,onChange:this.handleSelectChange},T(S)),u.default.createElement("br",null),u.default.createElement("br",null))}},{key:"render",value:function(){return u.default.createElement(g.default,{header:u.default.createElement(h.default,{text:"SlidePanelManager Child Component"})},u.default.createElement("div",{className:C("content-wrapper")},this.renderButton("default"),this.renderButton("tiny"),this.renderButton("small"),this.renderButton("medium"),this.renderButton("large"),this.renderButton("huge"),this.renderButton("fullscreen"),u.default.createElement("br",null),u.default.createElement("p",null,"The child components can disclose content in the panel at various sizes."),u.default.createElement("p",null,"The sizes available are limited to those of the SlidePanel. The specified size/dimensions will be mapped to the nearest available size.")),u.default.createElement("div",{className:C("content-wrapper")},this.renderForm(),this.renderFormButton()))}}]),t}(u.default.Component);E.contextType=x.DisclosureManagerContext;n.Z=function(){return u.default.createElement("div",{className:C("example-wrapper")},u.default.createElement(v.default,{panelBehavior:"squish",disclosureAccessory:u.default.createElement("div",{className:C("disclosure-accessory")},"Disclosure Accessory")},u.default.createElement(E,null)))}},91823:function(e,n,t){var a=t(64836),l=t(18698);n.Z=void 0;var s=a(t(27424)),r=a(t(38416)),i=a(t(56690)),o=a(t(89728)),c=a(t(66115)),d=a(t(61655)),u=a(t(94993)),p=a(t(73808)),m=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=l(e)&&"function"!=typeof e)return{default:e};var t=k(n);if(t&&t.has(e))return t.get(e);var a={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=s?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(a,r,i):a[r]=e[r]}return a.default=e,t&&t.set(e,a),a}(t(67294)),h=a(t(45697)),f=a(t(47166)),g=a(t(17092)),x=a(t(57927)),v=a(t(10027)),y=t(56019),b=a(t(20251)),C=a(t(34653)),D=a(t(46765));function k(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(k=function(e){return e?t:n})(e)}function S(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,a=(0,p.default)(e);if(n){var l=(0,p.default)(this).constructor;t=Reflect.construct(a,arguments,l)}else t=a.apply(this,arguments);return(0,u.default)(this,t)}}var T=f.default.bind(D.default),E=function(e){(0,d.default)(t,e);var n=S(t);function t(e){var a;return(0,i.default)(this,t),(a=n.call(this,e)).checkLockState=a.checkLockState.bind((0,c.default)(a)),a.state={text:void 0},a}return(0,o.default)(t,[{key:"componentDidMount",value:function(){var e=this.context;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(n,t){confirm("".concat(e.props.name," has unsaved changes that will be lost. Do you wish to continue?"))?n():t()})):Promise.resolve()}},{key:"render",value:function(){var e=this,n=this.props,a=n.name,l=n.disclosureType,s=this.context;return m.default.createElement(v.default,{fill:!0},m.default.createElement(y.DisclosureManagerHeaderAdapter,{title:a,collapsibleMenuView:m.default.createElement(x.default,null,m.default.createElement(x.default.Item,{text:"Button 1",key:"button_1",onClick:function(){e.setState({selectedHeaderAction:"Button 1"})}}),m.default.createElement(x.default.Item,{text:"Button 2",key:"button_2",onClick:function(){e.setState({selectedHeaderAction:"Button 2"})}}))}),m.default.createElement("div",{className:T("content-wrapper")},m.default.createElement("h3",null,a),m.default.createElement("p",null,"The disclosed component can disclose content within the same panel."),m.default.createElement("p",null,"It can also render a header (like above) that implements the various DisclosureManager control functions."),m.default.createElement("button",{type:"button",onClick:function(){s.dismiss().catch((function(){console.log("Dismiss failed. A lock must be in place.")}))}},"Dismiss"),m.default.createElement("button",{type:"button",onClick:function(){s.disclose({preferredType:l,size:"small",content:{key:"Nested ".concat(a),component:m.default.createElement(t,{name:"Nested ".concat(a),disclosureType:l})}})}},"Disclose Again"),m.default.createElement("br",null),m.default.createElement("br",null),m.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."),m.default.createElement("input",{"aria-label":"textArea",type:"text",onChange:function(n){e.setState({text:n.target.value})},value:this.state.text||""}),this.state.text&&this.state.text.length?m.default.createElement("p",null,"Component has unsaved changes!"):null,m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement("p",null,"Selected Header Action:"," ",m.default.createElement("b",null,this.state.selectedHeaderAction))))}}]),t}(m.default.Component);E.contextType=y.DisclosureManagerContext,E.propTypes={name:h.default.string,disclosureType:h.default.string},E.defaultProps={name:"Disclosure Component"};var M=Object.keys(y.availableDisclosureHeights),w=Object.keys(y.availableDisclosureWidths),N=function(e){return e.map((function(e,n){var t=n;return m.default.createElement("option",{key:t,value:e},e)}))},P=function(e){(0,d.default)(t,e);var n=S(t);function t(e){var a;return(0,i.default)(this,t),(a=n.call(this,e)).renderButton=a.renderButton.bind((0,c.default)(a)),a.handleSelectChange=a.handleSelectChange.bind((0,c.default)(a)),a.getId=a.getId.bind((0,c.default)(a)),a.state={id:"dimensions",disclosureHeight:M[0],disclosureWidth:w[0]},a}return(0,o.default)(t,[{key:"handleSelectChange",value:function(e){this.setState((0,r.default)({},e.target.name,e.target.value))}},{key:"getId",value:function(e){return e+this.state.id}},{key:"renderButton",value:function(e){var n=this.context;return m.default.createElement("button",{type:"button",onClick:function(){n.disclose({preferredType:"panel",size:e,content:{key:"Content-Disclosure-".concat(e),component:m.default.createElement(E,{name:"Disclosure Component",disclosureType:"panel"})}})}},"".concat(e.charAt(0).toUpperCase()+e.slice(1)," panel"))}},{key:"renderFormButton",value:function(){var e=this,n=this.context,t="Disclose (".concat(this.state.disclosureHeight,") x (").concat(this.state.disclosureWidth,")");return m.default.createElement("button",{type:"button",onClick:function(){n.disclose({preferredType:"panel",typeConfig:{panelBehavior:"overlay"},dimensions:{height:e.state.disclosureHeight,width:e.state.disclosureWidth},content:{key:"Content-Disclosure-Dimensions",component:m.default.createElement(E,{name:"Disclosure Component",disclosureType:"panel"})}})}},t)}},{key:"renderForm",value:function(){return m.default.createElement("form",null,m.default.createElement("label",{htmlFor:this.getId("disclosureHeightOverlay")},"Pop Content Height"),m.default.createElement("select",{id:this.getId("disclosureHeightOverlay"),name:"disclosureHeight",value:this.state.disclosureHeight,onChange:this.handleSelectChange},N(M)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement("label",{htmlFor:this.getId("disclosureWidthOverlay")},"Pop Content Width"),m.default.createElement("select",{id:this.getId("disclosureWidthOverlay"),name:"disclosureWidth",value:this.state.disclosureWidth,onChange:this.handleSelectChange},N(w)),m.default.createElement("br",null),m.default.createElement("br",null))}},{key:"render",value:function(){return m.default.createElement(v.default,{header:m.default.createElement(g.default,{text:"SlidePanelManager Child Component"})},m.default.createElement("div",{className:T("content-wrapper")},this.renderButton("default"),this.renderButton("tiny"),this.renderButton("small"),this.renderButton("medium"),this.renderButton("large"),this.renderButton("huge"),this.renderButton("fullscreen"),m.default.createElement("br",null),m.default.createElement("p",null,"The child components can disclose content in the panel at various sizes."),m.default.createElement("p",null,"The sizes available are limited to those of the SlidePanel. The specified size/dimensions will be mapped to the nearest available size.")),m.default.createElement("div",{className:T("content-wrapper")},this.renderForm(),this.renderFormButton()))}}]),t}(m.default.Component);P.contextType=y.DisclosureManagerContext;n.Z=function(){var e=(0,m.useState)(0),n=(0,s.default)(e,2),t=n[0],a=n[1];return m.default.createElement("div",{className:T("example-wrapper")},m.default.createElement(C.default,{level:0===t?void 0:t},m.default.createElement(P,null),m.default.createElement("br",null),m.default.createElement("div",{id:"headingLevel",className:T("form-select")},"Select panel heading level:"),m.default.createElement(b.default,{ariaLabel:"Panel heading level",className:T("form-select"),isFilterStyle:!0,onChange:function(e){return a(Number(e.currentTarget.value))},options:[{value:"0",display:"Default"},{value:1,display:"1"},{value:2,display:"2"},{value:3,display:"3"},{value:4,display:"4"},{value:5,display:"5"},{value:6,display:"6"}],value:t})))}},91710:function(e,n,t){var a=t(64836),l=t(18698);n.Z=void 0;var s=a(t(27424)),r=a(t(38416)),i=a(t(56690)),o=a(t(89728)),c=a(t(66115)),d=a(t(61655)),u=a(t(94993)),p=a(t(73808)),m=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=l(e)&&"function"!=typeof e)return{default:e};var t=k(n);if(t&&t.has(e))return t.get(e);var a={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var i=s?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(a,r,i):a[r]=e[r]}return a.default=e,t&&t.set(e,a),a}(t(67294)),h=a(t(45697)),f=a(t(47166)),g=a(t(17092)),x=a(t(57927)),v=a(t(10027)),y=t(56019),b=a(t(20251)),C=a(t(34653)),D=a(t(46765));function k(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(k=function(e){return e?t:n})(e)}function S(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,a=(0,p.default)(e);if(n){var l=(0,p.default)(this).constructor;t=Reflect.construct(a,arguments,l)}else t=a.apply(this,arguments);return(0,u.default)(this,t)}}var T=f.default.bind(D.default),E=function(e){(0,d.default)(t,e);var n=S(t);function t(e){var a;return(0,i.default)(this,t),(a=n.call(this,e)).checkLockState=a.checkLockState.bind((0,c.default)(a)),a.state={text:void 0},a}return(0,o.default)(t,[{key:"componentDidMount",value:function(){var e=this.context;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(n,t){confirm("".concat(e.props.name," has unsaved changes that will be lost. Do you wish to continue?"))?n():t()})):Promise.resolve()}},{key:"render",value:function(){var e=this,n=this.props,a=n.name,l=n.disclosureType,s=this.context;return m.default.createElement(v.default,{fill:!0},m.default.createElement(y.DisclosureManagerHeaderAdapter,{title:a,collapsibleMenuView:m.default.createElement(x.default,null,m.default.createElement(x.default.Item,{text:"Button 1",key:"button_1",onClick:function(){e.setState({selectedHeaderAction:"Button 1"})}}),m.default.createElement(x.default.Item,{text:"Button 2",key:"button_2",onClick:function(){e.setState({selectedHeaderAction:"Button 2"})}}))}),m.default.createElement("div",{className:T("content-wrapper")},m.default.createElement("h3",null,a),m.default.createElement("p",null,"The disclosed component can disclose content within the same panel."),m.default.createElement("p",null,"It can also render a header (like above) that implements the various DisclosureManager control functions."),m.default.createElement("button",{type:"button",onClick:function(){s.dismiss().catch((function(){console.log("Dismiss failed. A lock must be in place.")}))}},"Dismiss"),m.default.createElement("button",{type:"button",onClick:function(){s.disclose({preferredType:l,size:"small",content:{key:"Nested ".concat(a),component:m.default.createElement(t,{name:"Nested ".concat(a),disclosureType:l})}})}},"Disclose Again"),m.default.createElement("br",null),m.default.createElement("br",null),m.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."),m.default.createElement("input",{"aria-label":"textArea",type:"text",onChange:function(n){e.setState({text:n.target.value})},value:this.state.text||""}),this.state.text&&this.state.text.length?m.default.createElement("p",null,"Component has unsaved changes!"):null,m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement("p",null,"Selected Header Action:"," ",m.default.createElement("b",null,this.state.selectedHeaderAction))))}}]),t}(m.default.Component);E.contextType=y.DisclosureManagerContext,E.propTypes={name:h.default.string,disclosureType:h.default.string},E.defaultProps={name:"Disclosure Component"};var M=Object.keys(y.availableDisclosureHeights),w=Object.keys(y.availableDisclosureWidths),N=function(e){return e.map((function(e,n){var t=n;return m.default.createElement("option",{key:t,value:e},e)}))},P=function(e){(0,d.default)(t,e);var n=S(t);function t(e){var a;return(0,i.default)(this,t),(a=n.call(this,e)).renderButton=a.renderButton.bind((0,c.default)(a)),a.handleSelectChange=a.handleSelectChange.bind((0,c.default)(a)),a.getId=a.getId.bind((0,c.default)(a)),a.state={id:"dimensions",disclosureHeight:M[0],disclosureWidth:w[0]},a}return(0,o.default)(t,[{key:"handleSelectChange",value:function(e){this.setState((0,r.default)({},e.target.name,e.target.value))}},{key:"getId",value:function(e){return e+this.state.id}},{key:"renderButton",value:function(e){var n=this.context;return m.default.createElement("button",{type:"button",onClick:function(){n.disclose({preferredType:"panel",size:e,typeConfig:{panelBehavior:"squish"},content:{key:"Content-Disclosure-".concat(e),component:m.default.createElement(E,{name:"Disclosure Component",disclosureType:"panel"})}})}},"".concat(e.charAt(0).toUpperCase()+e.slice(1)," panel"))}},{key:"renderFormButton",value:function(){var e=this,n=this.context,t="Disclose (".concat(this.state.disclosureHeight,") x (").concat(this.state.disclosureWidth,")");return m.default.createElement("button",{type:"button",onClick:function(){n.disclose({preferredType:"panel",dimensions:{height:e.state.disclosureHeight,width:e.state.disclosureWidth},content:{key:"Content-Disclosure-Dimensions",component:m.default.createElement(E,{name:"Disclosure Component",disclosureType:"panel"})}})}},t)}},{key:"renderForm",value:function(){return m.default.createElement("form",null,m.default.createElement("label",{htmlFor:this.getId("disclosureHeightSquish")},"Pop Content Height"),m.default.createElement("select",{id:this.getId("disclosureHeightSquish"),name:"disclosureHeight",value:this.state.disclosureHeight,onChange:this.handleSelectChange},N(M)),m.default.createElement("br",null),m.default.createElement("br",null),m.default.createElement("label",{htmlFor:this.getId("disclosureWidthSquish")},"Pop Content Width"),m.default.createElement("select",{id:this.getId("disclosureWidthSquish"),name:"disclosureWidth",value:this.state.disclosureWidth,onChange:this.handleSelectChange},N(w)),m.default.createElement("br",null),m.default.createElement("br",null))}},{key:"render",value:function(){return m.default.createElement(v.default,{header:m.default.createElement(g.default,{text:"SlidePanelManager Child Component"})},m.default.createElement("div",{className:T("content-wrapper")},this.renderButton("default"),this.renderButton("tiny"),this.renderButton("small"),this.renderButton("medium"),this.renderButton("large"),this.renderButton("huge"),this.renderButton("fullscreen"),m.default.createElement("br",null),m.default.createElement("p",null,"The child components can disclose content in the panel at various sizes."),m.default.createElement("p",null,"The sizes available are limited to those of the SlidePanel. The specified size/dimensions will be mapped to the nearest available size.")),m.default.createElement("div",{className:T("content-wrapper")},this.renderForm(),this.renderFormButton()))}}]),t}(m.default.Component);P.contextType=y.DisclosureManagerContext;n.Z=function(){var e=(0,m.useState)(0),n=(0,s.default)(e,2),t=n[0],a=n[1];return m.default.createElement("div",{className:T("example-wrapper")},m.default.createElement(C.default,{level:0===t?void 0:t},m.default.createElement(P,null),m.default.createElement("br",null),m.default.createElement("div",{id:"headingLevel",className:T("form-select")},"Select panel heading level:"),m.default.createElement(b.default,{ariaLabel:"Panel heading level",className:T("form-select"),isFilterStyle:!0,onChange:function(e){return a(Number(e.currentTarget.value))},options:[{value:"0",display:"Default"},{value:1,display:"1"},{value:2,display:"2"},{value:3,display:"3"},{value:4,display:"4"},{value:5,display:"5"},{value:6,display:"6"}],value:t})))}},46765:function(e,n,t){t.r(n),n.default={"example-wrapper":"SlidePanelManager-module__example-wrapper___O3eL3","content-wrapper":"SlidePanelManager-module__content-wrapper___ztw-M","disclosure-accessory":"SlidePanelManager-module__disclosure-accessory___MW01K","form-select":"SlidePanelManager-module__form-select___YyZ10"}}}]); \ No newline at end of file diff --git a/pull/1911/10601-329422def0c7a9d92f3b.js b/pull/1911/10601-329422def0c7a9d92f3b.js new file mode 100644 index 00000000000..068284bae81 --- /dev/null +++ b/pull/1911/10601-329422def0c7a9d92f3b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[10601],{10601:function(e,t,a){var r=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(a(67294)),u=r(a(8787));t.default=function(){return n.default.createElement(u.default,{value:"2017-08-08"})}},8787:function(e,t,a){var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(a(10434)),l=r(a(27424)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var a=c(t);if(a&&a.has(e))return a.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=u?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(r,l,i):r[l]=e[l]}return r.default=e,a&&a.set(e,r),r}(a(67294)),f=r(a(45697)),o=r(a(44887)),d=r(a(77947));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(c=function(e){return e?a:t})(e)}var p={value:f.default.string,initialTimeZone:f.default.string},v=function(e){var t=e.value,a=d.default.createSafeDate(t,e.initialTimeZone);a&&a.isValid()&&(t=a.format());var r=(0,i.useState)(t),n=(0,l.default)(r,2),f=n[0],c=n[1];return i.default.createElement("div",null,i.default.createElement("p",null,"Selected ISO Date Time:",i.default.createElement("span",{"data-date-time-value":!0},f)),i.default.createElement(o.default,(0,u.default)({name:"date-time-picker-example",onChange:function(e,t){c(t)},initialTimeZone:e.initialTimeZone},e)))};v.propTypes=p,v.defaultProps={value:""};t.default=v}}]); \ No newline at end of file diff --git a/pull/1911/11288-718cfe0f6028450b81e1.css b/pull/1911/11288-718cfe0f6028450b81e1.css new file mode 100644 index 00000000000..edcaef0c66f --- /dev/null +++ b/pull/1911/11288-718cfe0f6028450b81e1.css @@ -0,0 +1,2 @@ +.SlidePanel-module__clinical-lowlight-theme___NdNQF{--terra-slide-panel-panel-background-color: #222a2e;--terra-slide-panel-main-background-color: #222a2e;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 5px #181b1d;--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 5px #181b1d;--terra-slide-panel-main-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-border-right-color: #181b1d;--terra-slide-panel-panel-squish-border-left-color: #181b1d;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6}.SlidePanel-module__orion-fusion-theme___aBPYu{--terra-slide-panel-main-background-color: #fff;--terra-slide-panel-panel-background-color: #fff;--terra-slide-panel-main-squish-background-color: #fff;--terra-slide-panel-panel-squish-background-color: #fff;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6;--terra-slide-panel-panel-squish-border-right-color: #d3d4d5;--terra-slide-panel-panel-squish-border-left-color: #d3d4d5}.SlidePanel-module__slide-panel___5vKEK{overflow:hidden;position:relative}.SlidePanel-module__main___Jq40y,.SlidePanel-module__panel___N9gHx{box-sizing:border-box;height:100%;outline:none;-webkit-overflow-scrolling:touch;overflow-y:auto;width:100%}.SlidePanel-module__main___Jq40y{position:relative;z-index:0}[dir] .SlidePanel-module__main___Jq40y{background-color:#fff;background-color:var(--terra-slide-panel-main-background-color, #fff)}.SlidePanel-module__panel___N9gHx{position:absolute;z-index:500}[dir] .SlidePanel-module__panel___N9gHx{background-color:#fff;background-color:var(--terra-slide-panel-panel-background-color, #fff)}.SlidePanel-module__slide-panel___5vKEK .SlidePanel-module__slide-panel___5vKEK>.SlidePanel-module__panel___N9gHx{z-index:499}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___Jq40y{float:right}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___Jq40y{float:left}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{transform:translate3d(-100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{transform:translate3d(100%, 0, 0)}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___Jq40y{float:left}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___Jq40y{float:right}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{left:0;transform:translate3d(-100%, 0, 0)}[dir] .SlidePanel-module__is-open___SU3q3>.SlidePanel-module__panel___N9gHx{transform:translate3d(0, 0, 0)}@media all and (min-width: 768px){[data-slide-panel-panel-size=small]>.SlidePanel-module__panel___N9gHx{width:320px;width:var(--terra-slide-panel-panel-small-width, 320px)}[data-slide-panel-panel-size=large]>.SlidePanel-module__panel___N9gHx{width:calc(100%*0.6);width:calc(100%*var(--terra-slide-panel-panel-width-large-scalar, 0.6))}}@media(max-width: 767px),print{.SlidePanel-module__is-open___SU3q3>.SlidePanel-module__main___Jq40y{visibility:hidden}}@media(min-width: 768px),print{[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}}@media(min-width: 768px),print{[dir] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__main___Jq40y{background-color:#fff;background-color:var(--terra-slide-panel-main-squish-background-color, #fff)}.SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=small]>.SlidePanel-module__main___Jq40y{width:calc(100% - 320px);width:calc(100% - var(--terra-slide-panel-panel-squish-width-small, 320px))}.SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=large]>.SlidePanel-module__main___Jq40y{width:calc(100%*(1 - 0.6));width:calc(100%*(1 - var(--terra-slide-panel-panel-squish-width-large-scalar, 0.6)))}[dir] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__panel___N9gHx{background-color:#fff;background-color:var(--terra-slide-panel-panel-squish-background-color, #fff)}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}}.SlidePanel-module__is-fullscreen___0BQTN[data-slide-panel-panel-size]>.SlidePanel-module__panel___N9gHx{width:100%}.SlidePanel-module__fill___vHC0f{height:100%;width:100%}.SlidePanel-module__panel___N9gHx[aria-hidden=true]{visibility:hidden}.SlidePanel-module__main___Jq40y[aria-hidden=true]{visibility:hidden} +.SlidePanelDocCommon-test-module__content-wrapper___\+5Bqw{height:200px;overflow:auto}.SlidePanelDocCommon-test-module__content-wrapper-large___4O5B9{height:100vh}.SlidePanelDocCommon-test-module__main-content___KgtfP{height:100%;width:100%}[dir] .SlidePanelDocCommon-test-module__main-content___KgtfP{background-color:#f04769}.SlidePanelDocCommon-test-module__panel-content___mRK\+i{height:100%;width:100%}[dir] .SlidePanelDocCommon-test-module__panel-content___mRK\+i{background-color:blue}.SlidePanelDocCommon-test-module__content-wrapper-toggle___eOcKz{height:768px;position:relative;width:100%}[dir] .SlidePanelDocCommon-test-module__content-wrapper-toggle___eOcKz{border:1px #d3d3d3 solid}[dir] .SlidePanelDocCommon-test-module__button___hxSzl{background-color:#008a00}.SlidePanelDocCommon-test-module__circle-svg___BFboR{overflow:visible}[dir] .SlidePanelDocCommon-test-module__circle-svg___BFboR :hover{cursor:pointer}[dir] .SlidePanelDocCommon-test-module__p-clickable___yicz1:hover{cursor:pointer} diff --git a/pull/1911/11288-718cfe0f6028450b81e1.js b/pull/1911/11288-718cfe0f6028450b81e1.js new file mode 100644 index 00000000000..884ad926f8f --- /dev/null +++ b/pull/1911/11288-718cfe0f6028450b81e1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[11288],{11288:function(e,l,t){var a=t(64836);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(t(67294)),i=a(t(47166)),o=a(t(27662)),s=a(t(69967)),d=i.default.bind(s.default);l.default=function(){return n.default.createElement("div",{className:d("content-wrapper-large")},n.default.createElement(o.default,{mainContent:n.default.createElement("div",{className:d("main-content")}),panelContent:n.default.createElement("div",{className:d("panel-content")}),panelBehavior:"squish",panelSize:"large",isOpen:!0,fill:!0}))}},27662:function(e,l,t){var a=t(64836);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.SlidePanelPositions=void 0;var n=a(t(10434)),i=a(t(70215)),o=a(t(56690)),s=a(t(89728)),d=a(t(66115)),r=a(t(61655)),u=a(t(94993)),c=a(t(73808)),f=a(t(67294)),p=a(t(45697)),m=a(t(94184)),_=a(t(47166)),h=a(t(47341)),v=a(t(29270)),P=t(25387),b=t(55877),g=a(t(1034)),S=["intl","isFullscreen","isOpen","fill","mainAriaLabel","mainContent","panelAriaLabel","panelContent","panelBehavior","panelPosition","panelSize","setSlidePanelRef"];function N(e){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,a=(0,c.default)(e);if(l){var n=(0,c.default)(this).constructor;t=Reflect.construct(a,arguments,n)}else t=a.apply(this,arguments);return(0,u.default)(this,t)}}var C=_.default.bind(g.default),y=l.SlidePanelPositions={START:"start",END:"end"},k={panelAriaLabel:p.default.string,mainAriaLabel:p.default.string,mainContent:p.default.node,panelContent:p.default.node,panelBehavior:p.default.oneOf(["overlay","squish"]),panelPosition:p.default.oneOf(["start","end"]),panelSize:p.default.oneOf(["small","large"]),isFullscreen:p.default.bool,isOpen:p.default.bool,fill:p.default.bool,setSlidePanelRef:p.default.func,intl:p.default.shape({formatMessage:p.default.func,locale:p.default.string})},D={panelBehavior:"overlay",panelPosition:y.END,panelSize:"small"},O=function(e){(0,r.default)(t,e);var l=N(t);function t(e){var a;return(0,o.default)(this,t),(a=l.call(this,e)).setPanelNode=a.setPanelNode.bind((0,d.default)(a)),a.mainNode=f.default.createRef(),a.setLastClicked=a.setLastClicked.bind((0,d.default)(a)),a.setDisclosingNode=a.setDisclosingNode.bind((0,d.default)(a)),a.mainAriaDescribedByID="detail-panel-warning-".concat((0,b.v4)()),a}return(0,s.default)(t,[{key:"componentDidUpdate",value:function(e){if(this.props.isOpen&&this.props.isOpen!==e.isOpen)return this.setDisclosingNode(this.lastClicked),void this.panelNode.focus();if(!this.props.isOpen&&this.props.isOpen!==e.isOpen){var l;if(null!==(l=this.disclosingNode)&&void 0!==l&&l.focus)return this.disclosingNode.setAttribute("aria-expanded","false"),void this.disclosingNode.focus();this.mainNode.current.focus()}}},{key:"setPanelNode",value:function(e){this.props.setSlidePanelRef&&this.props.setSlidePanelRef(e),this.panelNode=e}},{key:"setLastClicked",value:function(e){this.lastClicked=e.target}},{key:"setDisclosingNode",value:function(e){e&&(e.setAttribute("aria-expanded","true"),this.disclosingNode=e)}},{key:"render",value:function(){var e=this.props,l=e.intl,t=e.isFullscreen,a=e.isOpen,o=e.fill,s=e.mainAriaLabel,d=e.mainContent,r=e.panelAriaLabel,u=e.panelContent,c=e.panelBehavior,p=e.panelPosition,_=e.panelSize,h=(e.setSlidePanelRef,(0,i.default)(e,S)),P=this.context,b=(0,m.default)(C("slide-panel",{"is-open":a},{"is-fullscreen":t},{fill:o},P.className),h.className),g=f.default.createElement("div",{className:C(["panel"]),key:"panel",tabIndex:"-1","aria-label":r||l.formatMessage({id:"Terra.slidePanel.defaultPanelLabel"}),"aria-hidden":a?"false":"true",role:"region",ref:this.setPanelNode},f.default.createElement(v.default,{text:r||l.formatMessage({id:"Terra.slidePanel.defaultPanelLabel"})}),u),N=f.default.createElement("div",{className:C("main"),key:"main",tabIndex:"-1","aria-label":s,"aria-describedby":this.mainAriaDescribedByID,"aria-hidden":a&&t?"true":"false",ref:this.mainNode,role:"main",onClick:this.setLastClicked,onKeyUp:this.setLastClicked},f.default.createElement(v.default,{tabIndex:"-1",id:this.mainAriaDescribedByID,text:l.formatMessage({id:"Terra.slidePanel.discloseWarning"})}),d),k=p===y.START?f.default.createElement(f.default.Fragment,null,g,N):f.default.createElement(f.default.Fragment,null,N,g);return f.default.createElement("div",(0,n.default)({},h,{className:b,"data-slide-panel-panel-behavior":c,"data-slide-panel-panel-position":p,"data-slide-panel-panel-size":_}),k)}}]),t}(f.default.Component);O.propTypes=k,O.defaultProps=D,O.contextType=h.default;l.default=(0,P.injectIntl)(O)},69967:function(e,l,t){t.r(l),l.default={"content-wrapper":"SlidePanelDocCommon-test-module__content-wrapper___+5Bqw","content-wrapper-large":"SlidePanelDocCommon-test-module__content-wrapper-large___4O5B9","main-content":"SlidePanelDocCommon-test-module__main-content___KgtfP","panel-content":"SlidePanelDocCommon-test-module__panel-content___mRK+i","content-wrapper-toggle":"SlidePanelDocCommon-test-module__content-wrapper-toggle___eOcKz",button:"SlidePanelDocCommon-test-module__button___hxSzl","circle-svg":"SlidePanelDocCommon-test-module__circle-svg___BFboR","p-clickable":"SlidePanelDocCommon-test-module__p-clickable___yicz1"}},1034:function(e,l,t){t.r(l),l.default={"clinical-lowlight-theme":"SlidePanel-module__clinical-lowlight-theme___NdNQF","orion-fusion-theme":"SlidePanel-module__orion-fusion-theme___aBPYu","slide-panel":"SlidePanel-module__slide-panel___5vKEK",main:"SlidePanel-module__main___Jq40y",panel:"SlidePanel-module__panel___N9gHx","is-open":"SlidePanel-module__is-open___SU3q3","is-fullscreen":"SlidePanel-module__is-fullscreen___0BQTN",fill:"SlidePanel-module__fill___vHC0f"}}}]); \ No newline at end of file diff --git a/pull/1911/11398-f4d2947b8f9c2fe3f219.css b/pull/1911/11398-f4d2947b8f9c2fe3f219.css new file mode 100644 index 00000000000..f3bb78fe4f4 --- /dev/null +++ b/pull/1911/11398-f4d2947b8f9c2fe3f219.css @@ -0,0 +1,2 @@ +.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)} +.CalendarFilter-module__clinical-lowlight-theme___ypjZz{--terra-date-picker-calendar-filter-border: 1px solid #2d3539;--terra-date-picker-calendar-filter-width: 16.78571rem}.CalendarFilter-module__orion-fusion-theme___aZ6J6{--terra-date-picker-calendar-filter-border: 1px solid #aeaeae;--terra-date-picker-calendar-filter-width: 18.75rem}.CalendarFilter-module__calendar-filter___i4i03{-webkit-user-select:none;-ms-user-select:none;user-select:none;width:16.78571rem;width:var(--terra-date-picker-calendar-filter-width, 16.78571rem)}[dir] .CalendarFilter-module__calendar-filter___i4i03{border:1px solid #aeaeae;border:var(--terra-date-picker-calendar-filter-border, 1px solid #aeaeae)}.CalendarFilter-module__calendar-filter___i4i03 [data-navigation-next],.CalendarFilter-module__calendar-filter___i4i03 [data-navigation-previous]{height:1rem;width:1rem} diff --git a/pull/1911/11398-f4d2947b8f9c2fe3f219.js b/pull/1911/11398-f4d2947b8f9c2fe3f219.js new file mode 100644 index 00000000000..c54340cab22 --- /dev/null +++ b/pull/1911/11398-f4d2947b8f9c2fe3f219.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[11398],{72643:function(e,t,a){var l=a(64836),r=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(a(10434)),u=l(a(70215)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var a=_(t);if(a&&a.has(e))return a.get(e);var l={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=n?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(l,u,i):l[u]=e[u]}return l.default=e,a&&a.set(e,l),l}(a(67294)),f=l(a(45697)),d=l(a(47166)),o=l(a(47341)),c=l(a(28411)),s=l(a(80404)),D=["excludeDates","filterDate","includeDates","maxDate","minDate","onChange","selectedDate","value"];function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(_=function(e){return e?a:t})(e)}var p=d.default.bind(s.default),v={excludeDates:f.default.arrayOf(f.default.string),filterDate:f.default.func,includeDates:f.default.arrayOf(f.default.string),maxDate:f.default.string,minDate:f.default.string,onChange:f.default.func,selectedDate:f.default.string,value:f.default.string},m={excludeDates:void 0,filterDate:void 0,includeDates:void 0,maxDate:"2100-12-31",minDate:"1900-01-01",onChange:void 0,selectedDate:void 0},g=function(e){var t=e.excludeDates,a=e.filterDate,l=e.includeDates,r=e.maxDate,f=e.minDate,d=e.onChange,s=e.selectedDate,_=e.value,v=(0,u.default)(e,D),m=(0,i.useContext)(o.default);return i.default.createElement(c.default,(0,n.default)({},v,{name:"terra-calendar-filter",isInline:!0,selectedDate:s,value:_,onChange:function(e,t,a){if(d){var l=a.inputValue;d(e,t,l)}},excludeDates:t,filterDate:a,includeDates:l,maxDate:r,minDate:f,calendarClassName:p("calendar-filter",m.className)}))};g.propTypes=v,g.defaultProps=m;t.default=g},29750:function(e,t,a){var l=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(a(67294)),n=l(a(72643));t.default=function(){return r.default.createElement(n.default,{selectedDate:"2020-04-04"})}},80404:function(e,t,a){a.r(t),t.default={"clinical-lowlight-theme":"CalendarFilter-module__clinical-lowlight-theme___ypjZz","orion-fusion-theme":"CalendarFilter-module__orion-fusion-theme___aZ6J6","calendar-filter":"CalendarFilter-module__calendar-filter___i4i03"}}}]); \ No newline at end of file diff --git a/pull/1911/11592-502307d12ce08884704b.css b/pull/1911/11592-502307d12ce08884704b.css new file mode 100644 index 00000000000..80c47e44d11 --- /dev/null +++ b/pull/1911/11592-502307d12ce08884704b.css @@ -0,0 +1 @@ +.demoStyles-module__demo-header___o5PlN{height:49px;position:relative;width:100%}[dir] .demoStyles-module__demo-header___o5PlN{background-color:#1c5f92;background-color:var(--terra-application-links-demo-header-background-color, #1c5f92)}.demoStyles-module__demo-header-with-icons___Nt1gv{height:72px} diff --git a/pull/1911/11592-502307d12ce08884704b.js b/pull/1911/11592-502307d12ce08884704b.js new file mode 100644 index 00000000000..056c7685326 --- /dev/null +++ b/pull/1911/11592-502307d12ce08884704b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[11592],{11592:function(t,e,a){var s=a(64836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var d=s(a(67294)),r=a(39711),l=s(a(67456)),u=s(a(77567)),o=s(a(50282));e.default=function(){return d.default.createElement(r.MemoryRouter,{initialEntries:u.default.map((function(t){return t.path})),initialIndex:0},d.default.createElement("div",{className:o.default["demo-header"]},d.default.createElement(l.default,{id:"test-tabs",links:u.default})))}},77567:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{path:"/test1",text:"test 1"},{path:"/test2",text:"test 2"},{path:"/test3",text:"test 3"},{path:"/test4",text:"test 4"},{path:"/test5",text:"test 5"},{path:"/test6",text:"test 6"},{path:"/test7",text:"test 7"},{path:"/test8",text:"test 8"},{path:"/test9",text:"test 9"},{path:"/test10",text:"test 10"},{path:"/test11",text:"test 11"},{path:"/test12",text:"test 12"}]},50282:function(t,e,a){a.r(e),e.default={"demo-header":"demoStyles-module__demo-header___o5PlN","demo-header-with-icons":"demoStyles-module__demo-header-with-icons___Nt1gv"}}}]); \ No newline at end of file diff --git a/pull/1911/11817-0bc2e605a173c4c4bc6a.js b/pull/1911/11817-0bc2e605a173c4c4bc6a.js new file mode 100644 index 00000000000..8ab690916f4 --- /dev/null +++ b/pull/1911/11817-0bc2e605a173c4c4bc6a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[11817],{68586:function(e,t,r){r.r(t),t.default={"clinical-lowlight-theme":"Input-module__clinical-lowlight-theme___clY96","orion-fusion-theme":"Input-module__orion-fusion-theme___phvH5","form-input":"Input-module__form-input___Fk8kb","form-error":"Input-module__form-error___aU4hq","form-incomplete":"Input-module__form-incomplete___h4I7H"}},55142:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=c(r(67294)),l=c(r(45697)),a=c(r(94184)),u=c(r(47166)),i=c(r(47341)),f=c(r(68586)),d=["defaultValue","disabled","isIncomplete","isInvalid","onBlur","onChange","onFocus","onInput","name","pattern","refCallback","required","type","ariaLabel","value"];function c(e){return e&&e.__esModule?e:{default:e}}function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function h(e,t){for(var r=0;r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p={inputId:o.default.string.isRequired,label:o.default.string.isRequired,defaultValue:o.default.oneOfType([o.default.string,o.default.number]),disabled:o.default.bool,error:o.default.node,errorIcon:o.default.element,help:o.default.node,hideRequired:o.default.bool,inputAttrs:o.default.object,isIncomplete:o.default.bool,isInline:o.default.bool,isInvalid:o.default.bool,isLabelHidden:o.default.bool,labelAttrs:o.default.object,maxWidth:o.default.string,onChange:o.default.func,onInput:o.default.func,refCallback:o.default.func,required:o.default.bool,showOptional:o.default.bool,type:o.default.string,value:o.default.oneOfType([o.default.string,o.default.number])},s={defaultValue:void 0,disabled:!1,error:null,errorIcon:n.default.createElement(a.default,null),help:null,hideRequired:!1,inputAttrs:{},isIncomplete:!1,isInline:!1,isInvalid:!1,isLabelHidden:!1,labelAttrs:{},onChange:void 0,onInput:void 0,maxWidth:void 0,refCallback:void 0,required:!1,showOptional:!1,type:void 0,value:void 0},b=function(e){var t,r=e.defaultValue,o=e.disabled,a=e.error,f=e.errorIcon,p=e.help,s=e.hideRequired,b=e.inputAttrs,y=e.inputId,h=e.isIncomplete,v=e.isInline,m=e.isInvalid,O=e.isLabelHidden,g=e.label,I=e.labelAttrs,j=e.maxWidth,_=e.onChange,w=e.onInput,P=e.refCallback,C=e.required,k=e.showOptional,q=e.type,S=e.value,x=c(e,i);p&&a&&m?t="".concat(y,"-error ").concat(y,"-help"):(p&&(t="".concat(y,"-help")),a&&m&&(t="".concat(y,"-error")));var E=q||b.type;return x.placeholder&&(x.placeholder=null),n.default.createElement(l.default,d({label:g,labelAttrs:I,error:a,errorIcon:f,help:p,hideRequired:s,required:C,showOptional:k,isInvalid:m,isInline:v,isLabelHidden:O,htmlFor:y,maxWidth:j},x),n.default.createElement(u.default,d({},b,{disabled:b.disabled||o,id:y,isIncomplete:h,type:E,onChange:_,onInput:w,value:S,defaultValue:r,refCallback:P,"aria-describedby":t})))};b.propTypes=p,b.defaultProps=s;t.default=b}}]); \ No newline at end of file diff --git a/pull/1911/11938-269ec318f6928e661f8d.css b/pull/1911/11938-269ec318f6928e661f8d.css new file mode 100644 index 00000000000..cba009f74c3 --- /dev/null +++ b/pull/1911/11938-269ec318f6928e661f8d.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/pull/1911/11938-269ec318f6928e661f8d.js b/pull/1911/11938-269ec318f6928e661f8d.js new file mode 100644 index 00000000000..917d0cb506d --- /dev/null +++ b/pull/1911/11938-269ec318f6928e661f8d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[11938],{22863:function(e,n,t){var a=t(64836);n.Z=void 0;var r=a(t(67294)),i=a(t(45697)),o=a(t(47166)),p=a(t(17422)),l=o.default.bind(p.default),s={name:i.default.string.isRequired,src:i.default.string,url:i.default.string,version:i.default.string.isRequired},m=function(e){var n=e.src,t=e.name,a=e.url,i=e.version,o=r.default.createElement("a",{className:l("badge"),href:a||"https://www.npmjs.org/package/".concat(t,"/v/").concat(i)},r.default.createElement("span",{className:l("badge-name")},a?"package":"npm"),r.default.createElement("span",{className:l("badge-version")},"v".concat(i))),p=n?r.default.createElement("a",{className:l("badge"),href:n},r.default.createElement("span",{className:l("badge-name")},"github"),r.default.createElement("span",{className:l("badge-version")},"source")):void 0;return r.default.createElement("div",{className:l("badge-container")},o,p)};m.propTypes=s;var d=m;n.Z=d},11938:function(e,n,t){t.r(n),t.d(n,{default:function(){return m}});var a=t(87462),r=t(44925),i=(t(67294),t(81254)),o=t(41225),p=["components"],l={},s="wrapper";function m(e){var n=e.components,t=(0,r.Z)(e,p);return(0,i.mdx)(s,(0,a.Z)({},l,t,{components:n,mdxType:"MDXLayout"}),(0,i.mdx)(o.C,{mdxType:"Badge"}),(0,i.mdx)("h1",{id:"terra-application-navigation"},"Terra Application Navigation"),(0,i.mdx)("p",null,"In addition to the ApplicationNavigation component, the package contains additional utility functions that contain a variety of helper functions and prop type declarations. Included are:"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("strong",{parentName:"li"},"propTypes")," - An object containing prop type definitions for the configuration objects used by the ApplicationNavigation."),(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("strong",{parentName:"li"},"helpers")," - An object containing helper functions to aid in the creation of ApplicationNavigation content.")),(0,i.mdx)("h2",{id:"proptypes"},"propTypes"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("strong",{parentName:"li"},"titleConfigPropType")," - Shape for ApplicationNavigation's ",(0,i.mdx)("strong",{parentName:"li"},"titleConfig")," prop."),(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("strong",{parentName:"li"},"userConfigPropType")," - Shape for ApplicationNavigation's ",(0,i.mdx)("strong",{parentName:"li"},"userConfig")," prop."),(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("strong",{parentName:"li"},"navigationItemsPropType")," - Shape for ApplicationNavigation's ",(0,i.mdx)("strong",{parentName:"li"},"navigationItems")," prop."),(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("strong",{parentName:"li"},"utilityItemsPropType")," - Shape for ApplicationNavigation's ",(0,i.mdx)("strong",{parentName:"li"},"utilityItems")," prop."),(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("strong",{parentName:"li"},"extensionItemsPropType")," - Shape for ApplicationNavigation's ",(0,i.mdx)("strong",{parentName:"li"},"extensionItems")," prop.")),(0,i.mdx)("h2",{id:"helpers"},(0,i.mdx)("strong",{parentName:"h2"},"helpers")),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},(0,i.mdx)("strong",{parentName:"li"},"shouldRenderCompactNavigation")," - A function that determines whether or not the given size is considered ",(0,i.mdx)("strong",{parentName:"li"},"compact")," or not. This can be used to synchronize component rendering with responsive changes to the ApplicationNavigation.")))}m.isMDXComponent=!0},41225:function(e,n,t){t.d(n,{C:function(){return i}});var a=t(67294),r=t(22863),i=function(e){var n=e.url;return a.createElement(r.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-application-navigation",name:"terra-application-navigation",version:"1.74.0",url:n})}},17422:function(e,n,t){t.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"}},87462:function(e,n,t){function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}t.d(n,{Z:function(){return a}})}}]); \ No newline at end of file diff --git a/pull/1911/12276-1255a125e7867468bad3.css b/pull/1911/12276-1255a125e7867468bad3.css new file mode 100644 index 00000000000..cb4d8f84554 --- /dev/null +++ b/pull/1911/12276-1255a125e7867468bad3.css @@ -0,0 +1,8 @@ +.Cell-module__clinical-lowlight-theme___JlIUL{--terra-table-cell-border-bottom: 1px solid #181b1d;--terra-table-cell-border-left: 1px solid #181b1d;--terra-table-cell-border-right: 1px solid #181b1d;--terra-table-cell-selected-background-color: #1e3a49;--terra-table-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-highlight-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-odd-row-hover-background-color: #25282a;--terra-table-even-row-hover-background-color: #1d2225;--terra-table-pinned-columns-cell-border: 1px solid #181b1d}.Cell-module__orion-fusion-theme___HW1Ki{--terra-table-cell-border-bottom: 1px solid #c8cacb;--terra-table-cell-border-left: 1px solid #c8cacb;--terra-table-cell-border-right: 1px solid #c8cacb;--terra-table-cell-selected-background-color: #cbe7fa;--terra-table-odd-row-hover-background-color: #e0f2fb;--terra-table-even-row-hover-background-color: #d6e8f2;--terra-table-pinned-columns-cell-border: 1px solid #c8cacb}.Cell-module__cell___XID6c{font-weight:normal;position:relative}[dir] .Cell-module__cell___XID6c{border-bottom:1px solid #dedfe0;border-bottom:var(--terra-table-cell-border-bottom, 1px solid #dedfe0);padding:7px;padding:var(--terra-table-cell-content-padding, 7px)}[dir=ltr] .Cell-module__cell___XID6c{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=ltr] .Cell-module__cell___XID6c:first-child{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c:first-child{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir] .Cell-module__selected___3WHxU{background-color:#cbe7fa;background-color:var(--terra-table-cell-selected-background-color, #cbe7fa)}[dir=ltr] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=rtl] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=ltr] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}[dir=rtl] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}.Cell-module__cell-content___FhljD{overflow:hidden;overflow-wrap:break-word}[dir=ltr] .Cell-module__cell-content___FhljD{text-align:left}[dir=rtl] .Cell-module__cell-content___FhljD{text-align:right}.Cell-module__cell-content___FhljD .Cell-module__no-data-cell___6er9D{color:rgba(0,0,0,0)}.Cell-module__pinned___y2cJe{position:-webkit-sticky;position:sticky;z-index:1}[dir] .Cell-module__pinned___y2cJe:not(.Cell-module__selected___3WHxU){background-color:inherit}[dir] tr:nth-child(odd) .Cell-module__selectable___BAIg5:hover{background-color:#e0f2fb;background-color:var(--terra-table-odd-row-hover-background-color, #e0f2fb);cursor:pointer}[dir] tr:nth-child(even) .Cell-module__selectable___BAIg5:hover{background-color:#d3e5ee;background-color:var(--terra-table-even-row-hover-background-color, #d3e5ee);cursor:pointer} +.RowSelectionCell-module__input___\+\+BBM{display:-ms-flexbox;display:flex;height:16px;width:16px}[dir] .RowSelectionCell-module__input___\+\+BBM{margin:auto} +.Row-module__clinical-lowlight-theme___LqsJk{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Row-module__orion-fusion-theme___uCwnV{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}[dir] .Row-module__striped-table-row___0o1z0:nth-child(even){background-color:#f0f0f0;background-color:var(--terra-table-row-striped-background-color, #f0f0f0)}[dir] .Row-module__row___kR-J-{background-color:#fff;background-color:var(--terra-table-row-background-color, #fff)}[dir] .Row-module__row___kR-J-.Row-module__selectable___r9jUT:hover{background-color:#e2f2fc;background-color:var(--terra-table-row-hover-background-color, #e2f2fc);cursor:pointer}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP{background-color:#cbe7fa;background-color:var(--terra-table-row-selected-background-color, #cbe7fa)}[dir=ltr] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-right:1px solid #0092e0}[dir=rtl] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-left:1px solid #0092e0}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-bottom:1px solid #0092e0;border-bottom:var(--terra-table-row-highlight-border-bottom, 1px solid #0092e0)}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child th, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-top:1px solid #0092e0;border-top:var(--terra-table-row-highlight-border-top, 1px solid #0092e0)} +.Section-module__clinical-lowlight-theme___CmVbA{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Section-module__orion-fusion-theme___42iAO{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}.Section-module__section___Rf5QD.Section-module__collapsed___M5LcR{display:none}.Section-module__header___Q0nuu{position:relative;z-index:3}[dir=ltr] .Section-module__header___Q0nuu th{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Section-module__header___Q0nuu th{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)} +.ColumnResizeHandle-module__orion-fusion-theme___uvYEY{--terra-table-resize-handle-active-border-color: #517ea5;--terra-table-resize-handle-hover-border-color: #e4f1f7}.ColumnResizeHandle-module__clinical-lowlight-theme___MWieH{--terra-table-resize-handle-active-border-color: rgba(34, 42, 46, 1);--terra-table-resize-handle-hover-border-color: rgba(34, 42, 46, 0.6)}.ColumnResizeHandle-module__resize-handle___rckkL{display:block;height:100%;position:absolute;top:0;width:22px;z-index:1}[dir] .ColumnResizeHandle-module__resize-handle___rckkL{cursor:col-resize}[dir=ltr] .ColumnResizeHandle-module__resize-handle___rckkL{border-right:4px solid rgba(0,0,0,0);right:0}[dir=rtl] .ColumnResizeHandle-module__resize-handle___rckkL{border-left:4px solid rgba(0,0,0,0);left:0}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:active{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important}.ColumnResizeHandle-module__resize-handle___rckkL:focus{outline:0 !important}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:focus{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:hover{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle-selected___-zzct{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important} +.ColumnHeaderCell-module__clinical-lowlight-theme___E4AJx{--terra-table-column-header-text-color: #b2b5b6;--terra-table-column-header-background-color: #151719;--terra-table-column-header-border-bottom: 1px solid #181b1d;--terra-table-column-header-border-left: 1px solid #181b1d;--terra-table-column-header-border-right: 1px solid #181b1d;--terra-table-column-header-border-top: 1px solid #181b1d;--terra-table-pinned-columns-header-border: 1px solid #181b1d;--terra-table-pinned-columns-header-box-shadow: 1px 0 #181b1d;--terra-table-pinned-columns-divider-background-color: #181b1d;--terra-table-pinned-columns-divider-box-shadow: 4px -1px 6px #181b1d;--terra-table-header-hover-background-color: #0c0f10}.ColumnHeaderCell-module__orion-fusion-theme___LLv1A{--terra-table-column-header-text-color: #4e5356;--terra-table-column-header-background-color: #f4f4f4;--terra-table-column-header-border-bottom: 2px solid #9b9fa1;--terra-table-column-header-border-left: 1px solid #c8cacb;--terra-table-column-header-border-right: 1px solid #c8cacb;--terra-table-column-header-border-top: 1px solid #c8cacb;--terra-table-pinned-columns-header-border: 1px solid #c8cacb;--terra-table-pinned-columns-header-box-shadow: 1px 0 #c8cacb;--terra-table-header-hover-background-color: #d5e7f2}.ColumnHeaderCell-module__column-header___oWlRh{color:var(--terra-table-column-header-text-color);position:-webkit-sticky;position:sticky;top:0;z-index:1}[dir] .ColumnHeaderCell-module__column-header___oWlRh{background-color:#dedfe0;background-color:var(--terra-table-column-header-background-color, #dedfe0);border-bottom:1px solid #000;border-bottom:var(--terra-table-column-header-border-bottom, 1px solid #000);border-top:1px solid #000;border-top:var(--terra-table-column-header-border-top, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-left, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-left, 1px solid #000)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{padding:5px;padding:var(--terra-table-header-cell-padding, 5px)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-right:5px;margin-right:var(--terra-table-error-icon-margin-right, 5px)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-left:5px;margin-left:var(--terra-table-error-icon-margin-right, 5px)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{-ms-flex:1;flex:1;font-weight:normal;outline:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{background:rgba(0,0,0,0);border:0}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:left}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:right}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l.ColumnHeaderCell-module__hidden___Tu-Xs{color:rgba(0,0,0,0)}[dir] .ColumnHeaderCell-module__selectable___JFI4E:hover{background-color:#daecf6;background-color:var(--terra-table-header-hover-background-color, #daecf6);cursor:pointer}.ColumnHeaderCell-module__pinned___Qusyo{position:-webkit-sticky;position:sticky;z-index:2 !important}.ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{position:absolute;top:0;width:2px}[dir] .ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{background-color:#808080;background-color:var(--terra-table-pinned-columns-divider-background-color, #808080);box-shadow:4px -1px 6px #808080;box-shadow:var(--terra-table-pinned-columns-divider-box-shadow, 4px -1px 6px #808080)} +.ColumnHeader-module__hidden___I3b7-{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}[dir] .ColumnHeader-module__hidden___I3b7-{border:0;margin:-1px;padding:0} +.Table-module__clinical-lowlight-theme___G2b7R{--terra-table-cell-focus-outline: 3px dashed #fff;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #181b1d}.Table-module__orion-fusion-theme___iu\+p1{--terra-table-cell-focus-outline: 3px dashed #000;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #c8cacb}.Table-module__table-container___g4Byi{height:100%;overflow:auto;width:100%}.Table-module__table___wcFdg{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1px}[dir=ltr] .Table-module__table___wcFdg{margin-right:15px}[dir=rtl] .Table-module__table___wcFdg{margin-left:15px}.Table-module__table___wcFdg :focus{outline:3px dashed #000;outline:var(--terra-table-cell-focus-outline, 3px dashed #000);outline-offset:-2px;outline-offset:var(--terra-table-cell-focus-outline-offset, -2px)}[dir] .Table-module__headerless___eod6K tr:first-child td, [dir] .Table-module__headerless___eod6K tr:first-child th{border-top:1px solid #dedfe0;border-top:var(--terra-table-headerless-first-row-border-top, 1px solid #dedfe0)} diff --git a/pull/1911/12276-1255a125e7867468bad3.js b/pull/1911/12276-1255a125e7867468bad3.js new file mode 100644 index 00000000000..2c73de8743b --- /dev/null +++ b/pull/1911/12276-1255a125e7867468bad3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[12276],{10723:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(67294)),c=a(n(12810)),l=a(n(17392));t.default=function(){var e=l.default.cols,t=l.default.rows;return o.default.createElement("div",{style:{height:"200px"}},o.default.createElement(c.default,{id:"table-sticky-header",overflowColumns:e,rows:t,rowHeaderIndex:0,columnWidth:"180px",ariaLabel:"Table"}))}},17392:function(e){e.exports=JSON.parse('{"cols":[{"id":"Column-0","displayName":"Vitals"},{"id":"Column-1","displayName":"March 16"},{"id":"Column-2","displayName":"March 17"},{"id":"Column-3","displayName":"March 18"}],"rows":[{"id":"1","cells":[{"content":"Heart Rate Monitored (bpm)"},{"content":"68"},{"content":"66"},{"content":"67"}]},{"height":"150px","id":"2","cells":[{"content":"Temperature Oral (degC)"},{"content":"36.7","isMasked":true},{"content":"36.9","isMasked":true},{"content":"37","isMasked":true}]},{"id":"3","cells":[{"content":"Cardiac Index (L/min/m2)"},{"content":"2.25"},{"content":"2.28"},{"content":"2.8"}]},{"id":"4","cells":[{"content":"ICP (mmHg)","isMasked":true},{"content":"11"},{"content":"11"},{"content":"12"}]},{"id":"5","cells":[{"content":"CPP (mmHg)"},{"content":"63"},{"content":"47"},{"content":"48"}]}]}')}}]); \ No newline at end of file diff --git a/pull/1911/12301-5d008a4a0dbf5c8d4739.css b/pull/1911/12301-5d008a4a0dbf5c8d4739.css new file mode 100644 index 00000000000..ba0e0de2662 --- /dev/null +++ b/pull/1911/12301-5d008a4a0dbf5c8d4739.css @@ -0,0 +1,3 @@ +.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}@media(max-width: 320px),(max-height: 256px){.Arrange-module__fit___tv8j-{-ms-flex:0 0;flex:0 0}} +.MenuItem-module__clinical-lowlight-theme___GRWU4{--terra-menu-item-active-background-color: #1e3a49;--terra-menu-item-active-text-color: #b2b5b6;--terra-menu-item-chevron-icon-color: #9b9fa1;--terra-menu-item-disabled-chevron-icon-color: rgba(155, 159, 161, 0.2);--terra-menu-item-color: #b2b5b6;--terra-menu-item-text-color: #b2b5b6;--terra-menu-item-disabled-text-opacity: 0.18;--terra-menu-item-disabled-start-icon-opacity: 0.18;--terra-menu-item-chevron-focus-icon-color: #c5c5c6;--terra-menu-item-chevron-hover-icon-color: #c5c5c6;--terra-menu-item-focus-background-color: #1e3a49;--terra-menu-item-focus-outline: #004c76 auto 5px;--terra-menu-item-focus-outline-offset: -2px;--terra-menu-item-hover-background-color: #232a2d;--terra-menu-item-hover-background-image: linear-gradient(to bottom, #122b39 2%, #152933 30%, #1e3a49 80%);--terra-menu-item-hover-box-shadow: inset 0 0 0 1px #04293f;--terra-menu-item-margin: 0;--terra-menu-item-padding: 0.286rem 0;--terra-menu-item-text-font-size: 0.928571429rem;--terra-menu-item-text-font-weight: normal;--terra-menu-item-text-margin-right: 1.714285714rem;--terra-menu-item-text-margin-left: 0.714285714rem;--terra-menu-item-top-level-text-margin-right: 0;--terra-menu-item-chevron-icon-font-size: 0.714285714rem;--terra-menu-item-chevron-icon-margin-left: 0.714285714rem;--terra-menu-item-chevron-icon-margin-right: 0.714285714rem;--terra-menu-item-start-icon-font-size: 0.85714rem;--terra-menu-item-start-icon-margin-left: 0.71428rem;--terra-menu-item-start-icon-margin-right: 0;--terra-menu-item-highlighted-background-color: #1e3a49;--terra-menu-item-highlighted-hover-background-color: #232a2d;--terra-menu-item-highlighted-hover-background-image: linear-gradient(to bottom, #04293f 2%, #053754 30%, #004c76 80%);--terra-menu-item-highlighted-hover-box-shadow: inset 0 0 0 1px #04293f}.MenuItem-module__orion-fusion-theme___OJBfh{--terra-menu-item-color: #595f62;--terra-menu-item-margin: 0;--terra-menu-item-padding: 0.5rem 0.83333rem 0.5rem 2.33333rem;--terra-menu-item-hover-background-color: #f4fafe;--terra-menu-item-hover-background-image: none;--terra-menu-item-hover-box-shadow: none;--terra-menu-item-focus-background-color: #ebf6fd;--terra-menu-item-focus-outline: -webkit-focus-ring-color auto 5px;--terra-menu-item-focus-outline-offset: -1px;--terra-menu-item-chevron-hover-icon-color: #1f1f21;--terra-menu-item-chevron-focus-icon-color: #1f1f21;--terra-menu-item-active-background-color: #e2f2fc;--terra-menu-item-active-text-color: #000;--terra-menu-item-disabled-text-opacity: 0.1;--terra-menu-item-disabled-chevron-icon-color: rgb(187, 188, 189, 0.25);--terra-menu-item-disabled-start-icon-opacity: 0.1;--terra-menu-item-text-color: #000;--terra-menu-item-text-font-size: 1rem;--terra-menu-item-text-margin-right: 2rem;--terra-menu-item-text-margin-left: 0.5rem;--terra-menu-item-top-level-text-margin-right: 0;--terra-menu-item-start-icon-font-size: 1.33333rem;--terra-menu-item-text-font-weight: normal;--terra-menu-item-start-icon-margin-left: -1.33333rem;--terra-menu-item-start-icon-margin-right: 0;--terra-menu-item-chevron-icon-color: #000;--terra-menu-item-chevron-icon-font-size: 1.33333rem;--terra-menu-item-chevron-icon-margin-left: 0.41667rem;--terra-menu-item-chevron-icon-margin-right: 0;--terra-menu-item-highlighted-background-color: #e2f2fc;--terra-menu-item-highlighted-hover-background-color: #cbe7fa;--terra-menu-item-highlighted-hover-background-image: none;--terra-menu-item-highlighted-hover-box-shadow: none}.MenuItem-module__item___d5cbi{color:#1c1f21;color:var(--terra-menu-item-color, #1c1f21)}[dir] .MenuItem-module__item___d5cbi{cursor:default;margin:0;margin:var(--terra-menu-item-margin, 0);padding:0.286rem 0;padding:var(--terra-menu-item-padding, 0.286rem 0)}[dir] .MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d){cursor:pointer}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){[dir] .MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d):hover{background-color:#f4fefe;background-color:var(--terra-menu-item-hover-background-color, #f4fefe);background-image:linear-gradient(to bottom, #e1f2fd 2%, #ebf6fe 30%, #f4fafe 80%);background-image:var(--terra-menu-item-hover-background-image, linear-gradient(to bottom, #e1f2fd 2%, #ebf6fe 30%, #f4fafe 80%));box-shadow:inset 0 0 0 1px #e1f2fd;box-shadow:var(--terra-menu-item-hover-box-shadow, inset 0 0 0 1px #e1f2fd)}[dir] .MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d).MenuItem-module__is-highlighted___2iz9A:hover{background-color:#d1ebfb;background-color:var(--terra-menu-item-highlighted-hover-background-color, #d1ebfb);background-image:linear-gradient(to bottom, #b3ddf8 2%, #c8e9fe 30%, #d1ebfb 80%);background-image:var(--terra-menu-item-highlighted-hover-background-image, linear-gradient(to bottom, #b3ddf8 2%, #c8e9fe 30%, #d1ebfb 80%));box-shadow:inset 0 0 0 1px #e1f3fd;box-shadow:var(--terra-menu-item-highlighted-hover-box-shadow, inset 0 0 0 1px #e1f3fd)}.MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d):hover .MenuItem-module__chevron___KG83f{color:rgba(28, 31, 33, 0.7);color:var(--terra-menu-item-chevron-hover-icon-color, rgba(28, 31, 33, 0.7))}}.MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d):focus{outline:-webkit-focus-ring-color auto 5px;outline:var(--terra-menu-item-focus-outline, -webkit-focus-ring-color auto 5px);outline-offset:-2px;outline-offset:var(--terra-menu-item-focus-outline-offset, -2px)}[dir] .MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d):focus{background-color:#ebf6fd;background-color:var(--terra-menu-item-focus-background-color, #ebf6fd)}.MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d):focus .MenuItem-module__chevron___KG83f{color:rgb(28, 31, 33);color:var(--terra-menu-item-chevron-focus-icon-color, rgb(28, 31, 33))}[dir] .MenuItem-module__item___d5cbi:active:not(.MenuItem-module__is-disabled___pQC5d), [dir] .MenuItem-module__active___JF61u{background-color:#ebf6fd;background-color:var(--terra-menu-item-active-background-color, #ebf6fd)}.MenuItem-module__item___d5cbi:active:not(.MenuItem-module__is-disabled___pQC5d) .MenuItem-module__text___ax0k2,.MenuItem-module__active___JF61u .MenuItem-module__text___ax0k2{color:#1c1f21;color:var(--terra-menu-item-active-text-color, #1c1f21)}.MenuItem-module__is-disabled___pQC5d .MenuItem-module__text___ax0k2{opacity:0.25;opacity:var(--terra-menu-item-disabled-text-opacity, 0.25)}.MenuItem-module__is-disabled___pQC5d .MenuItem-module__chevron___KG83f{color:rgba(155, 159, 161, 0.3);color:var(--terra-menu-item-disabled-chevron-icon-color, rgba(155, 159, 161, 0.3))}.MenuItem-module__is-disabled___pQC5d .MenuItem-module__start-icon___IrbDC{opacity:0.25;opacity:var(--terra-menu-item-disabled-start-icon-opacity, 0.25)}[dir=ltr] .MenuItem-module__is-top-level___TFDcC .MenuItem-module__text___ax0k2{margin-right:0;margin-right:var(--terra-menu-item-top-level-text-margin-right, 0)}[dir=rtl] .MenuItem-module__is-top-level___TFDcC .MenuItem-module__text___ax0k2{margin-left:0;margin-left:var(--terra-menu-item-top-level-text-margin-right, 0)}.MenuItem-module__text___ax0k2{color:#1c1f21;color:var(--terra-menu-item-text-color, #1c1f21);font-size:0.928571429rem;font-size:var(--terra-menu-item-text-font-size, 0.928571429rem);font-weight:normal;font-weight:var(--terra-menu-item-text-font-weight, normal);line-height:1.538;-webkit-user-select:none;-ms-user-select:none;user-select:none}[dir=ltr] .MenuItem-module__text___ax0k2{margin-left:0.714285714rem;margin-left:var(--terra-menu-item-text-margin-left, 0.714285714rem);margin-right:1.714285714rem;margin-right:var(--terra-menu-item-text-margin-right, 1.714285714rem)}[dir=rtl] .MenuItem-module__text___ax0k2{margin-right:0.714285714rem;margin-right:var(--terra-menu-item-text-margin-left, 0.714285714rem);margin-left:1.714285714rem;margin-left:var(--terra-menu-item-text-margin-right, 1.714285714rem)}.MenuItem-module__checkmark___PFCFZ{visibility:hidden}.MenuItem-module__is-toggled___Kl1vs .MenuItem-module__checkmark___PFCFZ{visibility:visible}.MenuItem-module__chevron___KG83f{color:rgba(28, 31, 33, 0.53);color:var(--terra-menu-item-chevron-icon-color, rgba(28, 31, 33, 0.53));font-size:0.714285714rem;font-size:var(--terra-menu-item-chevron-icon-font-size, 0.714285714rem)}[dir=ltr] .MenuItem-module__chevron___KG83f{margin-left:0.714285714rem;margin-left:var(--terra-menu-item-chevron-icon-margin-left, 0.714285714rem);margin-right:0.714285714rem;margin-right:var(--terra-menu-item-chevron-icon-margin-right, 0.714285714rem)}[dir=rtl] .MenuItem-module__chevron___KG83f{margin-right:0.714285714rem;margin-right:var(--terra-menu-item-chevron-icon-margin-left, 0.714285714rem);margin-left:0.714285714rem;margin-left:var(--terra-menu-item-chevron-icon-margin-right, 0.714285714rem)}.MenuItem-module__start-icon___IrbDC{font-size:0.85714rem;font-size:var(--terra-menu-item-start-icon-font-size, 0.85714rem)}[dir=ltr] .MenuItem-module__start-icon___IrbDC{margin-left:0.71428rem;margin-left:var(--terra-menu-item-start-icon-margin-left, 0.71428rem);margin-right:0;margin-right:var(--terra-menu-item-start-icon-margin-right, 0)}[dir=rtl] .MenuItem-module__start-icon___IrbDC{margin-right:0.71428rem;margin-right:var(--terra-menu-item-start-icon-margin-left, 0.71428rem);margin-left:0;margin-left:var(--terra-menu-item-start-icon-margin-right, 0)}[dir] .MenuItem-module__is-highlighted___2iz9A{background-color:#e1f3fd;background-color:var(--terra-menu-item-highlighted-background-color, #e1f3fd)} +.Menu-module__clinical-lowlight-theme___hKzLg{--terra-menu-background-color: #222a2e;--terra-menu-foreground-color: #b2b5b6;--terra-menu-fullscreen-header-background-color: #222a2e;--terra-menu-fullscreen-header-border-bottom: 1px solid #181b1d;--terra-menu-fullscreen-header-title-color: #b2b5b6;--terra-menu-submenu-background-color: #1c2326;--terra-menu-submenu-foreground-color: #b2b5b6;--terra-menu-submenu-header-background-color: #222a2e;--terra-menu-submenu-header-border-bottom: 1px solid #181b1d;--terra-menu-submenu-header-button-outline-offset: -3px;--terra-menu-back-button-focus-outline: #b2b5b6 solid 2px;--terra-menu-submenu-header-buttons-icon-color: #c5c5c6;--terra-menu-submenu-header-buttons-hover-color: #b2b5b6;--terra-menu-submenu-header-title-color: #b2b5b6;--terra-menu-background-image: none;--terra-menu-divider-after-border-color: #282d31;--terra-menu-divider-border-color: #181b1d;--terra-menu-submenu-arrow-after-border-top-color: #1c2326;--terra-menu-submenu-background-image: none;--terra-menu-submenu-divider-after-border-color: #282d31;--terra-menu-divider-margin-top: 2px;--terra-menu-divider-after-border-width: 3px 0 0;--terra-menu-divider-after-margin-bottom: 4px;--terra-menu-submenu-divider-after-border-width: 0;--terra-menu-submenu-divider-after-margin-bottom: 0;--terra-menu-submenu-header-height: auto;--terra-menu-submenu-header-title-font-size: 12px;--terra-menu-submenu-header-title-font-weight: normal;--terra-menu-submenu-header-title-line-height: 1.1667;--terra-menu-submenu-header-title-margin: 7px 7px 7px 0;--terra-menu-header-title-margin-left: 10px;--terra-menu-submenu-header-buttons-icon-font-size: 12px;--terra-menu-submenu-header-buttons-margin: 0;--terra-menu-submenu-header-buttons-padding: 8px;--terra-menu-fullscreen-header-title-font-size: 1rem;--terra-menu-fullscreen-header-title-line-height: 1.2;--terra-menu-fullscreen-header-title-margin: 0.5714rem 0 0.5714rem 0.3571rem;--terra-menu-fullscreen-header-buttons-icon-font-size: 1.45rem;--terra-menu-fullscreen-header-buttons-margin: 0.3571rem 0;--terra-menu-fullscreen-header-buttons-padding: 4px;--terra-menu-list-padding: 6px 0}.Menu-module__orion-fusion-theme___4S\+kd{--terra-menu-divider-border-color: #c8cacb;--terra-menu-divider-margin-top: 0;--terra-menu-divider-after-border-color: transparent;--terra-menu-divider-after-border-width: 0;--terra-menu-divider-after-margin-bottom: 0;--terra-menu-submenu-divider-after-border-color: transparent;--terra-menu-submenu-divider-after-border-width: 0;--terra-menu-submenu-divider-after-margin-bottom: 0;--terra-menu-submenu-header-background-color: #f4f4f4;--terra-menu-submenu-header-border-bottom: 2px solid #9b9fa1;--terra-menu-submenu-header-button-outline-offset: -4px;--terra-menu-back-button-focus-outline: -webkit-focus-ring-color solid 2px;--terra-menu-submenu-header-height: auto;--terra-menu-submenu-header-title-color: #1c1f21;--terra-menu-submenu-header-title-font-size: 1.16667rem;--terra-menu-submenu-header-title-font-weight: normal;--terra-menu-submenu-header-title-line-height: 1.57143;--terra-menu-submenu-header-title-margin: 0.25rem 0.25rem 0.25rem 0;--terra-menu-submenu-header-buttons-icon-color: #1c1f21;--terra-menu-submenu-header-buttons-icon-font-size: 1.16667rem;--terra-menu-submenu-header-buttons-margin: 0;--terra-menu-submenu-header-buttons-padding: 0.375rem 0.58333rem;--terra-menu-submenu-header-buttons-hover-color: #004c76;--terra-menu-header-title-margin-left: 2.33333rem;--terra-menu-fullscreen-header-background-color: #f4f4f4;--terra-menu-fullscreen-header-border-bottom: 2px solid #9b9fa1;--terra-menu-fullscreen-header-title-color: #1c1f21;--terra-menu-fullscreen-header-title-font-size: 1.16667rem;--terra-menu-fullscreen-header-title-line-height: 1.57143;--terra-menu-fullscreen-header-title-margin: 0.5rem 0 0.416667rem 0.25rem;--terra-menu-fullscreen-header-buttons-icon-font-size: 1.16667rem;--terra-menu-fullscreen-header-buttons-margin: 0;--terra-menu-fullscreen-header-buttons-padding: 0.375rem 0.58333rem;--terra-menu-list-padding: 0;--terra-menu-background-color: #fff;--terra-menu-background-image: none;--terra-menu-foreground-color: #1c1f21;--terra-menu-submenu-arrow-after-border-top-color: none;--terra-menu-submenu-background-color: #fff;--terra-menu-submenu-background-image: none;--terra-menu-submenu-foreground-color: #1c1f21}[dir] .Menu-module__submenu___pD8uM.Menu-module__arrow___qDX5\+[data-align-arrow=bottom]::after{border-top-color:#f9f9f9;border-top-color:var(--terra-menu-submenu-arrow-after-border-top-color, #f9f9f9)}.Menu-module__divider___2Yiip{width:100%}[dir] .Menu-module__divider___2Yiip{border-color:#dedfe0;border-color:var(--terra-menu-divider-border-color, #dedfe0);border-style:solid;border-width:1px 0 0;margin-top:2px;margin-top:var(--terra-menu-divider-margin-top, 2px)}.Menu-module__divider___2Yiip::after{content:"";display:block}[dir] .Menu-module__divider___2Yiip::after{border-color:#f9f9f9;border-color:var(--terra-menu-divider-after-border-color, #f9f9f9);border-style:solid;border-width:3px 0 0;border-width:var(--terra-menu-divider-after-border-width, 3px 0 0);margin-bottom:4px;margin-bottom:var(--terra-menu-divider-after-margin-bottom, 4px)}[dir] .Menu-module__submenu___pD8uM .Menu-module__divider___2Yiip::after{border-color:#fff;border-color:var(--terra-menu-submenu-divider-after-border-color, #fff);border-width:var(--terra-menu-submenu-divider-after-border-width);margin-bottom:var(--terra-menu-submenu-divider-after-margin-bottom)}.Menu-module__header___UGEhF{height:var(--terra-menu-submenu-header-height);width:100%}[dir] .Menu-module__header___UGEhF{background-color:#fff;background-color:var(--terra-menu-submenu-header-background-color, #fff);border-bottom:1px solid #dedfe0;border-bottom:var(--terra-menu-submenu-header-border-bottom, 1px solid #dedfe0)}.Menu-module__header___UGEhF *[role=button]{outline-offset:-2px;outline-offset:var(--terra-menu-submenu-header-button-outline-offset, -2px)}.Menu-module__header___UGEhF .Menu-module__header-title___TkZxM{-ms-flex-item-align:center;align-self:center;color:#1c1f21;color:var(--terra-menu-submenu-header-title-color, #1c1f21);-ms-flex:1;flex:1;font-size:12px;font-size:var(--terra-menu-submenu-header-title-font-size, 12px);font-weight:normal;font-weight:var(--terra-menu-submenu-header-title-font-weight, normal);line-height:1.1667;line-height:var(--terra-menu-submenu-header-title-line-height, 1.1667);min-width:0;overflow:hidden;white-space:normal;word-break:normal;word-wrap:break-word}[dir] .Menu-module__header___UGEhF .Menu-module__header-title___TkZxM{margin:7px 7px 7px 0;margin:var(--terra-menu-submenu-header-title-margin, 7px 7px 7px 0)}[dir=ltr] .Menu-module__header___UGEhF .Menu-module__main-header-title___RFIql{margin-left:10px;margin-left:var(--terra-menu-header-title-margin-left, 10px)}[dir=rtl] .Menu-module__header___UGEhF .Menu-module__main-header-title___RFIql{margin-right:10px;margin-right:var(--terra-menu-header-title-margin-left, 10px)}.Menu-module__header___UGEhF .Menu-module__header-button___VFD6H{-ms-flex-item-align:center;align-self:center;color:#1c1f21;color:var(--terra-menu-submenu-header-buttons-icon-color, #1c1f21);font-size:12px;font-size:var(--terra-menu-submenu-header-buttons-icon-font-size, 12px);font-weight:bold}[dir] .Menu-module__header___UGEhF .Menu-module__header-button___VFD6H{background-color:rgba(0,0,0,0);border:0;cursor:pointer;margin:0;margin:var(--terra-menu-submenu-header-buttons-margin, 0);padding:8px;padding:var(--terra-menu-submenu-header-buttons-padding, 8px)}.Menu-module__header___UGEhF .Menu-module__header-button___VFD6H:hover{color:#111;color:var(--terra-menu-submenu-header-buttons-hover-color, #111)}.Menu-module__header___UGEhF .Menu-module__header-button___VFD6H:focus{outline:-webkit-focus-ring-color solid 2px;outline:var(--terra-menu-back-button-focus-outline, -webkit-focus-ring-color solid 2px);outline-offset:-2px;outline-offset:var(--terra-menu-item-focus-outline-offset, -2px)}[dir] .Menu-module__fullscreen___Q66Ry .Menu-module__header___UGEhF{background-color:#fff;background-color:var(--terra-menu-fullscreen-header-background-color, #fff);border-bottom:1px solid #dedfe0;border-bottom:var(--terra-menu-fullscreen-header-border-bottom, 1px solid #dedfe0)}.Menu-module__fullscreen___Q66Ry .Menu-module__header-title___TkZxM{color:#1c1f21;color:var(--terra-menu-fullscreen-header-title-color, #1c1f21);font-size:1rem;font-size:var(--terra-menu-fullscreen-header-title-font-size, 1rem);line-height:1.2;line-height:var(--terra-menu-fullscreen-header-title-line-height, 1.2)}[dir] .Menu-module__fullscreen___Q66Ry .Menu-module__header-title___TkZxM{margin:0.5714rem 0 0.5714rem 0.3571rem;margin:var(--terra-menu-fullscreen-header-title-margin, 0.5714rem 0 0.5714rem 0.3571rem)}.Menu-module__fullscreen___Q66Ry .Menu-module__header-button___VFD6H{font-size:1.45rem;font-size:var(--terra-menu-fullscreen-header-buttons-icon-font-size, 1.45rem)}[dir] .Menu-module__fullscreen___Q66Ry .Menu-module__header-button___VFD6H{margin:0.3571rem 0;margin:var(--terra-menu-fullscreen-header-buttons-margin, 0.3571rem 0);padding:4px;padding:var(--terra-menu-fullscreen-header-buttons-padding, 4px)}[dir] .Menu-module__fullscreen___Q66Ry .Menu-module__header-button___VFD6H:first-child{margin:0}[dir] .Menu-module__list___bRMML{padding:6px 0;padding:var(--terra-menu-list-padding, 6px 0)}.Menu-module__content___F0Uw5{color:#1c1f21;color:var(--terra-menu-foreground-color, #1c1f21);outline:0}[dir] .Menu-module__content___F0Uw5{background-color:#fff;background-color:var(--terra-menu-background-color, #fff);background-image:var(--terra-menu-background-image)}.Menu-module__content___F0Uw5.Menu-module__submenu___pD8uM{color:#1c1f21;color:var(--terra-menu-submenu-foreground-color, #1c1f21)}[dir] .Menu-module__content___F0Uw5.Menu-module__submenu___pD8uM{background-color:#f9f9f9;background-color:var(--terra-menu-submenu-background-color, #f9f9f9);background-image:var(--terra-menu-submenu-background-image)}.Menu-module__hidden-page___M4G7V{display:none}.Menu-module__header-container___KGuP2{display:-ms-flexbox;display:flex} diff --git a/pull/1911/12301-5d008a4a0dbf5c8d4739.js b/pull/1911/12301-5d008a4a0dbf5c8d4739.js new file mode 100644 index 00000000000..b183b9566e0 --- /dev/null +++ b/pull/1911/12301-5d008a4a0dbf5c8d4739.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[12301],{14345:function(t,e,n){var r=n(64836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n(861)),l=r(n(56690)),u=r(n(89728)),o=r(n(66115)),i=r(n(61655)),f=r(n(94993)),c=r(n(73808)),s=r(n(67294)),d=r(n(70419)),m=r(n(55281)),b=r(n(51162));function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=(0,c.default)(t);if(e){var a=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,f.default)(this,n)}}var v=function(t){(0,i.default)(n,t);var e=p(n);function n(t){var r;return(0,l.default)(this,n),(r=e.call(this,t)).handleButtonClick=r.handleButtonClick.bind((0,o.default)(r)),r.handleRequestClose=r.handleRequestClose.bind((0,o.default)(r)),r.setButtonNode=r.setButtonNode.bind((0,o.default)(r)),r.getButtonNode=r.getButtonNode.bind((0,o.default)(r)),r.addMenuItems=r.addMenuItems.bind((0,o.default)(r)),r.removeMenuItems=r.removeMenuItems.bind((0,o.default)(r)),r.state={open:!1,items:[0]},r}return(0,u.default)(n,[{key:"componentDidMount",value:function(){this.forceUpdate()}},{key:"handleButtonClick",value:function(){this.setState({open:!0})}},{key:"handleRequestClose",value:function(){this.setState({open:!1})}},{key:"setButtonNode",value:function(t){this.buttonNode=t}},{key:"getButtonNode",value:function(){return this.buttonNode}},{key:"addMenuItems",value:function(){this.setState((function(t){return{items:[].concat((0,a.default)(t.items),[t.items.length])}}))}},{key:"removeMenuItems",value:function(){this.setState((function(t){var e=t.items.slice();return e.pop(),{items:e}}))}},{key:"render",value:function(){return s.default.createElement("div",null,s.default.createElement(d.default,{isOpen:this.state.open,targetRef:this.getButtonNode,onRequestClose:this.handleRequestClose},this.state.items.map((function(t){return s.default.createElement(d.default.Item,{key:t,text:"Menu Item ".concat(t),id:"TestContent".concat(t)})}))),s.default.createElement(m.default,{id:"default-button",type:"button",onClick:this.handleButtonClick,text:"Default Menu","aria-haspopup":!0,icon:s.default.createElement(b.default,null),isReversed:!0,refCallback:this.setButtonNode}),s.default.createElement("br",null),s.default.createElement("button",{type:"button",id:"add-button",onClick:this.addMenuItems},"Add Menu Item"),s.default.createElement("button",{type:"button",id:"remove-button",onClick:this.removeMenuItems},"Remove Menu Item"))}}]),n}(s.default.Component);e.default=v},66633:function(t,e,n){n.r(e),e.default={arrange:"Arrange-module__arrange___hY0Ml",fill:"Arrange-module__fill___m88eq",fit:"Arrange-module__fit___tv8j-",center:"Arrange-module__center___9qfhG",bottom:"Arrange-module__bottom___8beod",stretch:"Arrange-module__stretch___eQF-k",default:"Arrange-module__default___z+O29"}},78490:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.AlignmentTypes=void 0;var a=f(n(67294)),l=f(n(45697)),u=f(n(47166)),o=f(n(66633)),i=["fitStart","fill","fitEnd","align","alignFitStart","alignFill","alignFitEnd","fitStartAttributes","fillAttributes","fitEndAttributes"];function f(t){return t&&t.__esModule?t:{default:t}}function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}e.AlignmentTypes={CENTER:"center",BOTTOM:"bottom",STRETCH:"stretch"};var p=u.default.bind(o.default),v={fitStart:l.default.element,fill:l.default.element.isRequired,fitEnd:l.default.element,align:l.default.oneOf(["center","bottom","stretch"]),alignFitStart:l.default.oneOf(["center","bottom","stretch"]),alignFitEnd:l.default.oneOf(["center","bottom","stretch"]),alignFill:l.default.oneOf(["center","bottom","stretch"]),fitStartAttributes:l.default.object,fillAttributes:l.default.object,fitEndAttributes:l.default.object},h=function(t){var e=t.fitStart,n=t.fill,r=t.fitEnd,l=t.align,u=t.alignFitStart,o=t.alignFill,f=t.alignFitEnd,s=t.fitStartAttributes,m=t.fillAttributes,v=t.fitEndAttributes,h=b(t,i),y=d({},s),g=d({},m),_=d({},v);return a.default.createElement("span",c({},h,{className:p("arrange",h.className)}),a.default.createElement("span",c({},y,{className:p("fit",l||u,y.className,"fit-block")}),e),a.default.createElement("span",c({},g,{className:p("fill",l||o,g.className,"fill-block")}),n),a.default.createElement("span",c({},_,{className:p("fit",l||f,_.className)}),r))};h.propTypes=v;e.default=h},46379:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=u(n(67294)),a=u(n(99139)),l=n(25387);function u(t){return t&&t.__esModule?t:{default:t}}function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e0&&0===be.current.length)ge(G.formatMessage({id:"Terra.table.all-rows-unselected"}));else if(be.current.length===t.length)ge(G.formatMessage({id:"Terra.table.all-rows-selected"}));else{var n=be.current.filter((function(t){return!e.includes(t)})),l=e.filter((function(e){return!be.current.includes(e)})),a="";if(1===n.length){var r=re.current.querySelector("tr[data-row-id='".concat(n[0],"']")).getAttribute("aria-rowindex");a=G.formatMessage({id:"Terra.table.row-selection-template"},{row:r})}else n.length>1&&(a=G.formatMessage({id:"Terra.table.multiple-rows-selected"},{rowCount:n.length}));if(1===l.length){var i=re.current.querySelector("tr[data-row-id='".concat(l[0],"']")).getAttribute("aria-rowindex");a+=G.formatMessage({id:"Terra.table.row-selection-cleared-template"},{row:i})}else l.length>1&&(a+=G.formatMessage({id:"Terra.table.multiple-rows-unselected"},{rowCount:l.length}));a&&ge(a)}}),[G,ze]),(0,d.useEffect)((function(){Ne(He.map((function(e){return Se(e)})))}),[C,R]),(0,d.useEffect)((function(){var e,t=[],n=0;if(Pe&&0===C.length)return e=0,t.push(n),void le(t);C.length>0&&(t.push(n),e=Pe?C.length:C.length-1,ke.slice(0,e).forEach((function(e){n+=e.width,t.push(n)}))),le(t)}),[ke]),(0,d.useEffect)((function(){var e=new p.default((function(){V(re.current.offsetHeight-1);var e=ae.current;de(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)}));return e.observe(re.current),function(){e.disconnect()}}),[re]);var Le=(0,d.useCallback)((function(e){ce.tableRef&&(ce.tableRef.current=e),re.current=e}),[ce.tableRef]),qe=(0,d.useCallback)((function(e){ce.tableContainerRef&&(ce.tableContainerRef.current=e),ae.current=e}),[ce.tableContainerRef]),Ge=(0,d.useCallback)((function(e){e===Me.id?T&&T():H&&H(e)}),[H,T,Me.id]),Ke=(0,d.useCallback)((function(e,t,n){$.current=re.current.offsetWidth,Q.current=e.pageX,Z.current=n,J(t)}),[]),Ue=function(){x&&x(ke[B].id,ke[B].width),J(null)},Ye=(0,d.useCallback)((function(e,t){var n=ke[e],l=n.minimumWidth,a=n.maximumWidth,r=n.width,i=Math.min(Math.max(r+t,l),a),u=(0,o.default)(ke);u[e].width=i,Ne(u),re.current.style.width="".concat(re.current.offsetWidth+(i-r),"px"),x&&x(ke[e].id,ke[e].width)}),[ke,x]);return d.default.createElement("div",{ref:qe,className:D("table-container"),tabIndex:!fe&&ue?0:void 0},d.default.createElement("table",(0,r.default)({ref:Le,id:t,role:ce.role,"aria-labelledby":n,"aria-label":l,"aria-rowcount":Te,className:D("table",se.className,{headerless:!A}),onKeyDown:fe?void 0:function(e){var t,n=e.target;e.keyCode!==m.KEY_TAB&&(function(e){if("input"===e.tagName.toLowerCase()){var t=e.type;return["text","password","number","email","tel","url","search","date","datetime","datetime-local","time","month","week"].indexOf(t)>=0}return!1}(n)||["textarea","select"].indexOf(n.tagName.toLowerCase())>=0||n.hasAttribute("contentEditable")&&!1!==n.getAttribute("contentEditable"))||(e.keyCode===m.KEY_HOME?(t=(0,S.default)(re.current))&&t[0].focus():e.keyCode===m.KEY_END&&(t=(0,S.default)(re.current))&&t[t.length-1].focus())}},null!=B&&{onMouseUp:Ue,onMouseMove:function(e){if(null!=B){var t=e.pageX-Q.current,n=ke[B],l=n.minimumWidth,a=n.maximumWidth,r=Math.min(Math.max(Z.current+t,l),a),i=(0,o.default)(ke);i[B].width=r,Ne(i),re.current.style.width="".concat($+(r-Z.current),"px")}},onMouseLeave:Ue}),d.default.createElement(w.default.Provider,{value:Ee},d.default.createElement("colgroup",null,ke.map((function(e){return d.default.createElement("col",{key:e.id,style:{width:"".concat(e.width,"px")}})}))),d.default.createElement(v.default,{tableId:t,isActiveColumnResizing:i,activeColumnIndex:a,columns:ke,hasVisibleColumnHeaders:A,headerHeight:E,columnResizeIncrement:s,tableHeight:Y,onResizeMouseDown:Ke,onColumnSelect:Ge,onResizeHandleChange:Ye}),ze.map((function(e){return d.default.createElement(g.default,{id:e.id,tableId:t,key:e.id,sectionRowIndex:e.sectionRowIndex,isCollapsible:e.isCollapsible,isCollapsed:e.isCollapsed,isHidden:e.id===We.current,isTableStriped:L,text:e.text,rows:e.rows,rowHeight:M,rowSelectionMode:P,displayedColumns:He,rowHeaderIndex:q,onCellSelect:fe||P?Ae:void 0,onSectionSelect:W})})))),d.default.createElement(h.default,{className:D("row-selection-mode-region"),"aria-live":"polite",text:Ce}),d.default.createElement(h.default,{className:D("row-selection-region"),"aria-live":"polite",text:he}),d.default.createElement(h.default,{className:D("column-header-region"),"aria-live":"polite","aria-atomic":"true",text:xe}))}W.propTypes=N,W.defaultProps={rowHeaderIndex:0,defaultColumnWidth:200,columnHeaderHeight:"2.5rem",rowHeight:"2.5rem",pinnedColumns:[],overflowColumns:[],rows:[],hasVisibleColumnHeaders:!0};t.default=d.default.memo((0,c.injectIntl)(W))},12810:function(e,t,n){var l=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GridConstants",{enumerable:!0,get:function(){return o.GridConstants}}),Object.defineProperty(t,"GridContext",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"cellShape",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"columnShape",{enumerable:!0,get:function(){return u.default}}),t.default=void 0,Object.defineProperty(t,"rowShape",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"sectionShape",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"validateRowHeaderIndex",{enumerable:!0,get:function(){return c.default}});var r=l(n(87253)),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 l={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(l,o,i):l[o]=e[o]}return l.default=e,n&&n.set(e,l),l}(n(63127)),i=l(n(98526)),u=l(n(65602)),d=l(n(23902)),s=l(n(20318)),c=l(n(15821));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)}t.default=r.default},98526:function(e,t,n){var l=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n(45697)),r=a.default.shape({content:a.default.node,isMasked:a.default.bool,maskedLabel:a.default.string,isSelectable:a.default.bool,isSelected:a.default.bool});t.default=r},65602:function(e,t,n){var l=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SortIndicators=void 0;var a=l(n(45697)),r=t.SortIndicators={ASCENDING:"ascending",DESCENDING:"descending"},o=a.default.shape({id:a.default.string.isRequired,displayName:a.default.string,hasError:a.default.bool,isResizable:a.default.bool,isSelectable:a.default.bool,minimumWidth:a.default.number,maximumWidth:a.default.number,width:a.default.number,sortIndicator:a.default.oneOf(Object.values(r))});t.default=o},23902:function(e,t,n){var l=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n(45697)),r=l(n(98526)),o=a.default.shape({id:a.default.string.isRequired,cells:a.default.arrayOf(r.default),isSelected:a.default.bool,ariaLabel:a.default.string});t.default=o},20318:function(e,t,n){var l=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n(45697)),r=l(n(23902)),o=a.default.shape({id:a.default.string.isRequired,isCollapsible:a.default.bool,isCollapsed:a.default.bool,text:a.default.string,rows:a.default.arrayOf(r.default)});t.default=o},15821:function(e,t,n){var l=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n(412));t.default=function(e){return Number.isInteger(e.rowHeaderIndex)?e.rowHeaderIndex<0?new Error(a.default.ROW_HEADER_INDEX_LESS_THAN_ZERO):e.pinnedColumns.length&&e.rowHeaderIndex>=e.pinnedColumns.length?new Error(a.default.ROW_HEADER_INDEX_EXCEEDS_PINNED):void 0:new Error(a.default.ROW_HEADER_INDEX_NOT_AN_INTEGER)}},4845:function(e,t,n){var l=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(10434)),o=l(n(27424)),i=w(n(67294)),u=w(n(51051)),d=l(n(47166)),s=l(n(54483)),c=n(25387),f=l(n(45697)),m=l(n(47341)),b=l(n(29270)),p=l(n(27876)),_=w(n(63127)),h=l(n(9462)),g=l(n(2981));function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(v=function(e){return e?n:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=v(t);if(n&&n.has(e))return n.get(e);var l={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(l,o,i):l[o]=e[o]}return l.default=e,n&&n.set(e,l),l}var C=d.default.bind(g.default),y={intl:f.default.shape({formatMessage:f.default.func}).isRequired,rowId:f.default.string.isRequired,columnId:f.default.string.isRequired,rowIndex:f.default.number,columnIndex:f.default.number,sectionId:f.default.string,tableId:f.default.string.isRequired,children:f.default.node,isMasked:f.default.bool,maskedLabel:f.default.string,isSelectable:f.default.bool,isSelected:f.default.bool,ariaLabel:f.default.string,isRowHeader:f.default.bool,isHighlighted:f.default.bool,onCellSelect:f.default.func,height:f.default.string};function I(e){var t=e.rowId,n=e.columnId,l=e.rowIndex,a=e.columnIndex,d=e.sectionId,c=e.tableId,f=e.ariaLabel,g=e.isMasked,v=e.maskedLabel,w=e.isRowHeader,y=e.isSelectable,I=e.isSelected,R=e.isHighlighted,x=e.children,O=e.onCellSelect,E=e.height,S=e.intl,M=(0,i.useRef)(),P=(0,i.useContext)(m.default),H=(0,i.useContext)(_.default),j=(0,i.useContext)(p.default),D=(0,i.useState)(!1),k=(0,o.default)(D,2),N=k[0],W=k[1],z=(0,i.useState)(!1),T=(0,o.default)(z,2),A=T[0],L=T[1],q=H.role===_.GridConstants.GRID,G=function(){return(0,h.default)(M.current).length>0};(0,i.useEffect)((function(){q&&W(G())}),[q]);var K,U=function(){L(!1),H.setCellAriaLiveMessage&&H.setCellAriaLiveMessage(S.formatMessage({id:"Terra.table.resume-navigation"}))};K=g?i.default.createElement("span",{className:C("no-data-cell",P.className)},v||S.formatMessage({id:"Terra.table.maskedCell"})):x||i.default.createElement("span",{className:C("no-data-cell",P.className)},S.formatMessage({id:"Terra.table.blank"}));var Y=C("cell",{masked:g,pinned:a=0}return["textarea","select"].indexOf(t.toLowerCase())>=0||!(!e.hasAttribute("contentEditable")||!1===e.getAttribute("contentEditable"))}(o)||e.preventDefault()}},style:{left:V}}),F,N&&i.default.createElement(b.default,{text:S.formatMessage({id:"Terra.table.cell-interactable"})}))}I.propTypes=y,I.defaultProps={isRowHeader:!1,isSelectable:!1,isMasked:!1,sectionId:""};t.default=i.default.memo((0,c.injectIntl)(I))},52075:function(e,t,n){var l=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n(67294)),r=l(n(45697)),o=l(n(47166)),i=l(n(63043)),u=l(n(65602)),d=l(n(59246)),s=o.default.bind(d.default),c={tableId:r.default.string.isRequired,columns:r.default.arrayOf(u.default).isRequired,headerHeight:r.default.string.isRequired,tableHeight:r.default.number,activeColumnIndex:r.default.number,isActiveColumnResizing:r.default.bool,columnResizeIncrement:r.default.number,onColumnSelect:r.default.func,onResizeMouseDown:r.default.func,onResizeHandleChange:r.default.func,hasVisibleColumnHeaders:r.default.bool},f=function(e){var t=e.tableId,n=e.activeColumnIndex,l=e.isActiveColumnResizing,r=e.columnResizeIncrement,o=e.columns,u=e.headerHeight,d=e.tableHeight,c=e.onColumnSelect,f=e.onResizeMouseDown,m=e.onResizeHandleChange,b=e.hasVisibleColumnHeaders;return a.default.createElement("thead",null,a.default.createElement("tr",{"aria-rowindex":1,"data-row-id":"".concat(t,"-header-row"),className:s("column-header-row",{hidden:!b}),height:b?u:void 0},o.map((function(e,o){return a.default.createElement(i.default,{key:e.id,id:e.id,tableId:t,rowIndex:0,columnIndex:o,displayName:e.displayName,isDisplayVisible:e.isDisplayVisible,width:e.width,minimumWidth:e.minimumWidth,maximumWidth:e.maximumWidth,headerHeight:u,isResizable:b&&e.isResizable,isSelectable:b&&e.isSelectable,tableHeight:d,isActive:n===o,isResizeActive:n===o&&l,columnResizeIncrement:r,hasError:e.hasError,sortIndicator:e.sortIndicator,onColumnSelect:c,onResizeMouseDown:f,onResizeHandleChange:m})}))))};f.propTypes=c,f.defaultProps={hasVisibleColumnHeaders:!0};t.default=a.default.memo(f)},63043:function(e,t,n){var l=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(10434)),o=l(n(27424)),i=C(n(67294)),u=l(n(45697)),d=n(25387),s=C(n(51051)),c=l(n(47166)),f=l(n(47341)),m=l(n(29270)),b=n(34614),p=l(n(62225)),_=C(n(63127)),h=n(65602),g=l(n(27876)),v=l(n(23194));function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var l={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(l,o,i):l[o]=e[o]}return l.default=e,n&&n.set(e,l),l}var y=c.default.bind(v.default),I={id:u.default.string.isRequired,tableId:u.default.string.isRequired,displayName:u.default.string,sortIndicator:u.default.oneOf(Object.values(h.SortIndicators)),hasError:u.default.bool,minimumWidth:u.default.number,maximumWidth:u.default.number,isActive:u.default.bool,isDisplayVisible:u.default.bool,isSelectable:u.default.bool,isResizable:u.default.bool,tableHeight:u.default.number,isResizeActive:u.default.bool,columnResizeIncrement:u.default.number,width:u.default.number.isRequired,headerHeight:u.default.string.isRequired,rowIndex:u.default.number,columnIndex:u.default.number,onColumnSelect:u.default.func,onResizeMouseDown:u.default.func,onResizeHandleChange:u.default.func,intl:u.default.shape({formatMessage:u.default.func})},R=function(e){var t=e.id,n=e.tableId,l=e.displayName,a=e.sortIndicator,u=e.hasError,d=e.isActive,c=e.isDisplayVisible,v=e.isSelectable,w=e.isResizable,C=e.tableHeight,I=e.isResizeActive,R=e.columnResizeIncrement,x=e.width,O=e.minimumWidth,E=e.maximumWidth,S=e.headerHeight,M=e.onColumnSelect,P=e.intl,H=e.rowIndex,j=e.columnIndex,D=e.onResizeMouseDown,k=e.onResizeHandleChange,N=(0,i.useContext)(g.default),W=(0,i.useContext)(_.default),z=(0,i.useRef)(),T=(0,i.useState)(!1),A=(0,o.default)(T,2),L=A[0],q=A[1],G=W.role===_.GridConstants.GRID;(0,i.useEffect)((function(){d?w&&I?q(!0):(z.current.focus(),q(!1)):q(!1)}),[d,w,I]);var K,U=(0,i.useCallback)((function(e){e.stopPropagation(),D&&D(e,j,z.current.offsetWidth)}),[j,D]),Y=(0,i.useCallback)((function(){z.current.focus(),q(!1)}),[]),V=u&&i.default.createElement(b.IconError,{className:y("error-icon")}),X="";a===h.SortIndicators.ASCENDING?(K=i.default.createElement(b.IconUp,null),X=P.formatMessage({id:"Terra.table.sort-ascending"})):a===h.SortIndicators.DESCENDING&&(K=i.default.createElement(b.IconDown,null),X=P.formatMessage({id:"Terra.table.sort-descending"}));var F=(0,i.useContext)(f.default),B=j\n \n
\n

Default Modal

\n
\n

You can close the modal by:

\n
    \n
  • - Pressing the ESC key
  • \n
  • - Clicking on the overlay
  • \n
  • - Clicking on the close button
  • \n
\n
\n

On smaller screens, the modal will take up the full screen.

\n

\n
\n \n

\n \n \n \n );\n }\n}\n\nexport default AbstractModalIsOpen;\n\n")))}u.isMDXComponent=!0;var c=n(49271),p=["components"],f={};function x(e){var t=e.components,n=(0,a.Z)(e,p);return(0,d.mdx)("wrapper",(0,l.Z)({},f,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .fixed-size {\n height: 450px;\n width: 450px;\n }\n}\n\n")))}x.isMDXComponent=!0;var h=function(e){var t=e.title,n=e.description,l=e.isExpanded;return o.createElement(c.Z,{title:t||"Abstract Modal Is Opened",description:n,example:o.createElement(s.Z,null),exampleCssSrc:o.createElement(x,null),exampleSrc:o.createElement(u,null),isExpanded:l})},y=n(37230),b=["components"],C={};function g(e){var t=e.components,n=(0,a.Z)(e,b);return(0,d.mdx)("wrapper",(0,l.Z)({},C,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport AbstractModal from 'terra-abstract-modal';\nimport classNames from 'classnames/bind';\nimport styles from './ExampleAbstractSize.module.scss';\nimport generalStyles from './AbstractModalDocCommon.module.scss';\n\nconst cx = classNames.bind(generalStyles);\n\nclass AbstractModalCloseOnOutsideClick extends React.Component {\n constructor() {\n super();\n\n this.state = {\n isOpen: false,\n };\n\n this.handleOpenModal = this.handleOpenModal.bind(this);\n this.handleCloseModal = this.handleCloseModal.bind(this);\n }\n\n handleOpenModal() {\n this.setState({ isOpen: true });\n }\n\n handleCloseModal() {\n this.setState({ isOpen: false });\n }\n\n render() {\n return (\n
\n \n
\n

Modal disable close on outside click

\n
\n

You can close the modal by:

\n
    \n
  • - Pressing the ESC key
  • \n
  • - Clicking on the close button
  • \n
\n
\n \n
\n \n \n
\n );\n }\n}\n\nexport default AbstractModalCloseOnOutsideClick;\n\n")))}g.isMDXComponent=!0;var v=function(e){var t=e.title,n=e.description,l=e.isExpanded;return o.createElement(c.Z,{title:t||"Abstract Modal Close On Outside Click",description:n,example:o.createElement(y.Z,null),exampleCssSrc:o.createElement(x,null),exampleSrc:o.createElement(g,null),isExpanded:l})},M=n(31695),O=["components"],E={};function T(e){var t=e.components,n=(0,a.Z)(e,O);return(0,d.mdx)("wrapper",(0,l.Z)({},E,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport AbstractModal from 'terra-abstract-modal';\nimport classNames from 'classnames/bind';\nimport styles from './AbstractModalDocCommon.module.scss';\n\nconst cx = classNames.bind(styles);\n\nclass AbstractModalIsFullscreen extends React.Component {\n constructor() {\n super();\n\n this.state = {\n isOpen: false,\n };\n\n this.handleOpenModal = this.handleOpenModal.bind(this);\n this.handleCloseModal = this.handleCloseModal.bind(this);\n }\n\n handleOpenModal() {\n this.setState({ isOpen: true });\n }\n\n handleCloseModal() {\n this.setState({ isOpen: false });\n }\n\n render() {\n return (\n
\n \n
\n

Fullscreen Modal

\n
\n

This modal will always take up the full screen.

\n

\n
\n \n

\n \n \n
\n );\n }\n}\n\nexport default AbstractModalIsFullscreen;\n\n")))}T.isMDXComponent=!0;var N=["components"],_={};function k(e){var t=e.components,n=(0,a.Z)(e,N);return(0,d.mdx)("wrapper",(0,l.Z)({},_,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .content-wrapper {\n background-color: #faebd7;\n height: 100%;\n overflow: hidden;\n width: 100%;\n }\n}\n\n")))}k.isMDXComponent=!0;var R=function(e){var t=e.title,n=e.description,l=e.isExpanded;return o.createElement(c.Z,{title:t||"Abstract Modal Is Fullscreen",description:n,example:o.createElement(M.Z,null),exampleCssSrc:o.createElement(k,null),exampleSrc:o.createElement(T,null),isExpanded:l})},w=n(77966),D=["components"],S={};function A(e){var t=e.components,n=(0,a.Z)(e,D);return(0,d.mdx)("wrapper",(0,l.Z)({},S,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React, { useRef, useEffect } from 'react';\nimport AbstractModal from 'terra-abstract-modal';\nimport classNames from 'classnames/bind';\nimport styles from './ExampleAbstractSize.module.scss';\nimport generalStyles from './AbstractModalDocCommon.module.scss';\n\nconst cx = classNames.bind(generalStyles);\n\n/* eslint-disable-next-line react/prop-types */\nconst AlertDialogContent = ({ handleCloseModal }) => {\n const confirmBtn = useRef(null);\n\n useEffect(() => {\n confirmBtn.current.focus();\n }, []);\n\n return (\n
\n

Alert Dialog Modal

\n
\n

\n The abstract modal can be used to create an alert dialog modal. You can use the role,\n {' '}\n alertdialog\n {' '}\n , to create a modal dialog that interrupts the users workflow to get a response, usually some sort of confirmation.\n

\n \n \n
\n );\n};\n\n/* VoiceOver will not read the content of the modal dialog if the role attribute\n is set to `alertdialog` and ariaLabel is defined */\nconst ariaLabel = '';\n\nclass AbstractModalAlertDialog extends React.Component {\n constructor() {\n super();\n\n this.state = {\n isOpen: false,\n };\n\n this.handleOpenModal = this.handleOpenModal.bind(this);\n this.handleCloseModal = this.handleCloseModal.bind(this);\n }\n\n handleOpenModal() {\n this.setState({ isOpen: true });\n }\n\n handleCloseModal() {\n this.setState({ isOpen: false });\n }\n\n render() {\n return (\n
\n \n \n \n \n
\n );\n }\n}\n\nexport default AbstractModalAlertDialog;\n\n")))}A.isMDXComponent=!0;var j=function(e){var t=e.title,n=e.description,l=e.isExpanded;return o.createElement(c.Z,{title:t||"Abstract Modal Alert Dialog",description:n,example:o.createElement(w.Z,null),exampleCssSrc:o.createElement(x,null),exampleSrc:o.createElement(A,null),isExpanded:l})},P=n(78530),q=["components"],Z={},W="wrapper";function X(e){var t=e.components,n=(0,a.Z)(e,q);return(0,d.mdx)(W,(0,l.Z)({},Z,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)(P.ZP,{mdxType:"PropsTable"},(0,d.mdx)(P.X2,{key:"ROW1",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"ariaLabel"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"String that labels the modal for screen readers."))),(0,d.mdx)(P.X2,{key:"ROW2",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"ariaLabelledBy"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"String that labels the modal for screen readers."))),(0,d.mdx)(P.X2,{key:"ROW3",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"ariaDescribedBy"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"String that labels the modal for screen readers."))),(0,d.mdx)(P.X2,{key:"ROW4",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"children"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"node\n"))),(0,d.mdx)(P.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"Content inside the modal dialog."))),(0,d.mdx)(P.X2,{key:"ROW5",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"classNameModal"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"null\n"))),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"CSS classnames that are appended to the modal."))),(0,d.mdx)(P.X2,{key:"ROW6",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"classNameOverlay"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"null\n"))),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"CSS classnames that are appended to the overlay."))),(0,d.mdx)(P.X2,{key:"ROW7",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"closeOnEsc"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"true\n"))),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"If set to true, the modal will close when the esc key is pressed."))),(0,d.mdx)(P.X2,{key:"ROW8",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"closeOnOutsideClick"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"true\n"))),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"If set to true, the modal will close when a mouse click is triggered outside the modal."))),(0,d.mdx)(P.X2,{key:"ROW9",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"isFullscreen"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"false\n"))),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"If set to true, the modal will be fullscreen on all breakpoint sizes."))),(0,d.mdx)(P.X2,{key:"ROW10",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"isOpen"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"bool\n"))),(0,d.mdx)(P.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"If set to true, the modal will rendered as opened."))),(0,d.mdx)(P.X2,{key:"ROW11",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"onRequestClose"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"func\n"))),(0,d.mdx)(P.dS,{isRequired:!0,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("p",null,"none")),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"Callback function indicating a close condition was met, should be combined with isOpen for state management."))),(0,d.mdx)(P.X2,{key:"ROW12",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"role"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"'dialog'\n"))),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"Role attribute on the modal dialog."))),(0,d.mdx)(P.X2,{key:"ROW13",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"rootSelector"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"'#root'\n"))),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"Allows assigning of root element custom data attribute for easy selecting of document base component."))),(0,d.mdx)(P.X2,{key:"ROW14",mdxType:"Row"},(0,d.mdx)(P.O,{mdxType:"PropNameCell"},"zIndex"),(0,d.mdx)(P.Di,{mdxType:"TypeCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"enum: [\n '6000'\n '7000'\n '8000'\n '9000'\n],\n"))),(0,d.mdx)(P.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,d.mdx)(P.mW,{mdxType:"DefaultValueCell"},(0,d.mdx)("pre",null,(0,d.mdx)("code",{parentName:"pre",className:"language-javascript"},"'6000'\n"))),(0,d.mdx)(P.Ex,{mdxType:"DescriptionCell"},(0,d.mdx)("p",null,"Z-Index layer to apply to the ModalContent and ModalOverlay. Valid values are the standard modal layer: '6000', and the max layer: '8000'.")))))}X.isMDXComponent=!0;var B=["components"],L={},z="wrapper";function I(e){var t=e.components,n=(0,a.Z)(e,B);return(0,d.mdx)(z,(0,l.Z)({},L,n,{components:t,mdxType:"MDXLayout"}),(0,d.mdx)(r.C,{mdxType:"Badge"}),(0,d.mdx)("h1",{id:"terra-abstract-modal"},"Terra Abstract Modal"),(0,d.mdx)("p",null,"The abstract modal is a structural component that provides the ability to display portal'd content in a layer above the app. It consists of an overlay and an unstyled absolute positioned div in which content can be placed. The abstract modal is not intended to be consumed directly, but rather wrapped in a higher order component. Higher order components can provide the abstract modal with sizing, visual styles, and content (e.g; header, body, and actionable buttons). The abstract modals maximum size is constrained by the viewport size, so the content placed inside the modal needs to be responsive."),(0,d.mdx)("p",null,"Our recommendation for HOC is the ",(0,d.mdx)("a",{parentName:"p",href:"https://engineering.cerner.com/terra-framework/components/terra-modal-manager/modal-manager/about"},"terra-modal-manager"),", as it provides sizing, responsive behavior, visual styles, and a disclosure stack."),(0,d.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},"Install with ",(0,d.mdx)("a",{parentName:"li",href:"https://www.npmjs.com/"},"npmjs"),":",(0,d.mdx)("ul",{parentName:"li"},(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("inlineCode",{parentName:"li"},"npm install terra-abstract-modal"))))),(0,d.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,d.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,d.mdx)("table",null,(0,d.mdx)("thead",{parentName:"table"},(0,d.mdx)("tr",{parentName:"thead"},(0,d.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,d.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,d.mdx)("tbody",{parentName:"table"},(0,d.mdx)("tr",{parentName:"tbody"},(0,d.mdx)("td",{parentName:"tr",align:null},"react"),(0,d.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,d.mdx)("tr",{parentName:"tbody"},(0,d.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,d.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,d.mdx)("tr",{parentName:"tbody"},(0,d.mdx)("td",{parentName:"tr",align:null},"react-intl"),(0,d.mdx)("td",{parentName:"tr",align:null},"^2.9.0")))),(0,d.mdx)("h2",{id:"component-features"},"Component Features"),(0,d.mdx)("ul",null,(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,d.mdx)("li",{parentName:"ul"},(0,d.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support"))),(0,d.mdx)("h2",{id:"examples"},"Examples"),(0,d.mdx)(h,{title:"Default Modal",mdxType:"AbstractModalIsOpened"}),(0,d.mdx)(v,{title:"\nDisable closing the modal when clicking on the overlay",mdxType:"AbstractModalCloseOnOutsideClick"}),(0,d.mdx)(R,{title:"Fullscreen Modal",mdxType:"AbstractModalIsFullscreen"}),(0,d.mdx)(j,{title:"Alert Dialog Modal",mdxType:"AbstractModalAlertDialog"}),(0,d.mdx)("h2",{id:"abstract-modal-props"},"Abstract Modal Props"),(0,d.mdx)(X,{mdxType:"ModalPropsTable"}))}I.isMDXComponent=!0},64835:function(e,t,n){n.d(t,{C:function(){return o}});var l=n(67294),a=n(22863),o=function(e){var t=e.url;return l.createElement(a.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-abstract-modal",name:"terra-abstract-modal",version:"3.44.0",url:t})}},77966:function(e,t,n){var l=n(64836),a=n(18698);t.Z=void 0;var o=l(n(56690)),d=l(n(89728)),r=l(n(66115)),s=l(n(61655)),i=l(n(94993)),m=l(n(73808)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var l={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in e)if("default"!==d&&Object.prototype.hasOwnProperty.call(e,d)){var r=o?Object.getOwnPropertyDescriptor(e,d):null;r&&(r.get||r.set)?Object.defineProperty(l,d,r):l[d]=e[d]}return l.default=e,n&&n.set(e,l),l}(n(67294)),c=l(n(31501)),p=l(n(47166)),f=l(n(70181)),x=l(n(47787));function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=(0,m.default)(e);if(t){var a=(0,m.default)(this).constructor;n=Reflect.construct(l,arguments,a)}else n=l.apply(this,arguments);return(0,i.default)(this,n)}}var b=p.default.bind(x.default),C=function(e){var t=e.handleCloseModal,n=(0,u.useRef)(null);return(0,u.useEffect)((function(){n.current.focus()}),[]),u.default.createElement("div",{id:"alert-dialog-content",className:b("content-wrapper")},u.default.createElement("h1",null,"Alert Dialog Modal"),u.default.createElement("br",null),u.default.createElement("p",null,"The abstract modal can be used to create an alert dialog modal. You can use the role,"," ",u.default.createElement("code",null,"alertdialog")," ",", to create a modal dialog that interrupts the users workflow to get a response, usually some sort of confirmation."),u.default.createElement("button",{ref:n,type:"button",onClick:t},"Confirm action"),u.default.createElement("button",{type:"button",onClick:t},"Close Modal"))},g=function(e){(0,s.default)(n,e);var t=y(n);function n(){var e;return(0,o.default)(this,n),(e=t.call(this)).state={isOpen:!1},e.handleOpenModal=e.handleOpenModal.bind((0,r.default)(e)),e.handleCloseModal=e.handleCloseModal.bind((0,r.default)(e)),e}return(0,d.default)(n,[{key:"handleOpenModal",value:function(){this.setState({isOpen:!0})}},{key:"handleCloseModal",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){return u.default.createElement("div",null,u.default.createElement(c.default,{ariaLabel:"","aria-labelledby":"alert-dialog-content",isOpen:this.state.isOpen,onRequestClose:this.handleCloseModal,closeOnOutsideClick:!1,classNameModal:f.default["fixed-size"],role:"alertdialog"},u.default.createElement(C,{handleCloseModal:this.handleCloseModal})),u.default.createElement("button",{type:"button",onClick:this.handleOpenModal},"Open Modal"))}}]),n}(u.default.Component);t.Z=g},37230:function(e,t,n){var l=n(64836);t.Z=void 0;var a=l(n(56690)),o=l(n(89728)),d=l(n(66115)),r=l(n(61655)),s=l(n(94993)),i=l(n(73808)),m=l(n(67294)),u=l(n(31501)),c=l(n(47166)),p=l(n(70181)),f=l(n(47787));function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=(0,i.default)(e);if(t){var a=(0,i.default)(this).constructor;n=Reflect.construct(l,arguments,a)}else n=l.apply(this,arguments);return(0,s.default)(this,n)}}var h=c.default.bind(f.default),y=function(e){(0,r.default)(n,e);var t=x(n);function n(){var e;return(0,a.default)(this,n),(e=t.call(this)).state={isOpen:!1},e.handleOpenModal=e.handleOpenModal.bind((0,d.default)(e)),e.handleCloseModal=e.handleCloseModal.bind((0,d.default)(e)),e}return(0,o.default)(n,[{key:"handleOpenModal",value:function(){this.setState({isOpen:!0})}},{key:"handleCloseModal",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){return m.default.createElement("div",null,m.default.createElement(u.default,{ariaLabel:"Modal disable close on outside click",isOpen:this.state.isOpen,closeOnOutsideClick:!1,onRequestClose:this.handleCloseModal,classNameModal:p.default["fixed-size"]},m.default.createElement("div",{className:h("content-wrapper")},m.default.createElement("h1",null,"Modal disable close on outside click"),m.default.createElement("br",null),m.default.createElement("p",null,"You can close the modal by:"),m.default.createElement("ul",null,m.default.createElement("li",null,"- Pressing the ESC key"),m.default.createElement("li",null,"- Clicking on the close button")),m.default.createElement("br",null),m.default.createElement("button",{type:"button",onClick:this.handleCloseModal},"Close Modal"))),m.default.createElement("button",{type:"button",onClick:this.handleOpenModal},"Open Modal"))}}]),n}(m.default.Component);t.Z=y},31695:function(e,t,n){var l=n(64836);t.Z=void 0;var a=l(n(56690)),o=l(n(89728)),d=l(n(66115)),r=l(n(61655)),s=l(n(94993)),i=l(n(73808)),m=l(n(67294)),u=l(n(31501)),c=l(n(47166)),p=l(n(47787));function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=(0,i.default)(e);if(t){var a=(0,i.default)(this).constructor;n=Reflect.construct(l,arguments,a)}else n=l.apply(this,arguments);return(0,s.default)(this,n)}}var x=c.default.bind(p.default),h=function(e){(0,r.default)(n,e);var t=f(n);function n(){var e;return(0,a.default)(this,n),(e=t.call(this)).state={isOpen:!1},e.handleOpenModal=e.handleOpenModal.bind((0,d.default)(e)),e.handleCloseModal=e.handleCloseModal.bind((0,d.default)(e)),e}return(0,o.default)(n,[{key:"handleOpenModal",value:function(){this.setState({isOpen:!0})}},{key:"handleCloseModal",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){return m.default.createElement("div",null,m.default.createElement(u.default,{ariaLabel:"Fullscreen Modal",isOpen:this.state.isOpen,isFullscreen:!0,onRequestClose:this.handleCloseModal},m.default.createElement("div",{className:x("content-wrapper")},m.default.createElement("h1",null,"Fullscreen Modal"),m.default.createElement("br",null),m.default.createElement("p",null,"This modal will always take up the full screen."),m.default.createElement("p",null),m.default.createElement("br",null),m.default.createElement("button",{type:"button",onClick:this.handleCloseModal},"Close Modal"))),m.default.createElement("button",{type:"button",onClick:this.handleOpenModal},"Open Modal"))}}]),n}(m.default.Component);t.Z=h},40539:function(e,t,n){var l=n(64836);t.Z=void 0;var a=l(n(56690)),o=l(n(89728)),d=l(n(66115)),r=l(n(61655)),s=l(n(94993)),i=l(n(73808)),m=l(n(67294)),u=l(n(31501)),c=l(n(47166)),p=l(n(70181)),f=l(n(47787));function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=(0,i.default)(e);if(t){var a=(0,i.default)(this).constructor;n=Reflect.construct(l,arguments,a)}else n=l.apply(this,arguments);return(0,s.default)(this,n)}}var h=c.default.bind(f.default),y=function(e){(0,r.default)(n,e);var t=x(n);function n(){var e;return(0,a.default)(this,n),(e=t.call(this)).state={isOpen:!1},e.handleOpenModal=e.handleOpenModal.bind((0,d.default)(e)),e.handleCloseModal=e.handleCloseModal.bind((0,d.default)(e)),e}return(0,o.default)(n,[{key:"handleOpenModal",value:function(){this.setState({isOpen:!0})}},{key:"handleCloseModal",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){return m.default.createElement("div",null,m.default.createElement(u.default,{ariaLabel:"Default Modal",isOpen:this.state.isOpen,onRequestClose:this.handleCloseModal,classNameModal:p.default["fixed-size"]},m.default.createElement("div",{className:h("content-wrapper")},m.default.createElement("h1",null,"Default Modal"),m.default.createElement("br",null),m.default.createElement("p",null,"You can close the modal by:"),m.default.createElement("ul",null,m.default.createElement("li",null,"- Pressing the ESC key"),m.default.createElement("li",null,"- Clicking on the overlay"),m.default.createElement("li",null,"- Clicking on the close button")),m.default.createElement("br",null),m.default.createElement("p",null,"On smaller screens, the modal will take up the full screen."),m.default.createElement("p",null),m.default.createElement("br",null),m.default.createElement("button",{type:"button",onClick:this.handleCloseModal},"Close Modal"))),m.default.createElement("button",{type:"button",onClick:this.handleOpenModal},"Open Modal"))}}]),n}(m.default.Component);t.Z=y},17422: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"}},53560: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"}},47787:function(e,t,n){n.r(t),t.default={"content-wrapper":"AbstractModalDocCommon-module__content-wrapper___phElL"}},70181:function(e,t,n){n.r(t),t.default={"fixed-size":"ExampleAbstractSize-module__fixed-size___uWh96"}},33864:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=o(n(67294)),a=o(n(99139));function o(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(t[a]=e[a]);return t}(e,n);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}return t}a.d(n,{Z:function(){return r}})}}]); \ No newline at end of file diff --git a/pull/1911/13311-d0992fc7abc4336fc699.css b/pull/1911/13311-d0992fc7abc4336fc699.css new file mode 100644 index 00000000000..bb3837685d7 --- /dev/null +++ b/pull/1911/13311-d0992fc7abc4336fc699.css @@ -0,0 +1,9 @@ +.Cell-module__clinical-lowlight-theme___JlIUL{--terra-table-cell-border-bottom: 1px solid #181b1d;--terra-table-cell-border-left: 1px solid #181b1d;--terra-table-cell-border-right: 1px solid #181b1d;--terra-table-cell-selected-background-color: #1e3a49;--terra-table-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-highlight-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-odd-row-hover-background-color: #25282a;--terra-table-even-row-hover-background-color: #1d2225;--terra-table-pinned-columns-cell-border: 1px solid #181b1d}.Cell-module__orion-fusion-theme___HW1Ki{--terra-table-cell-border-bottom: 1px solid #c8cacb;--terra-table-cell-border-left: 1px solid #c8cacb;--terra-table-cell-border-right: 1px solid #c8cacb;--terra-table-cell-selected-background-color: #cbe7fa;--terra-table-odd-row-hover-background-color: #e0f2fb;--terra-table-even-row-hover-background-color: #d6e8f2;--terra-table-pinned-columns-cell-border: 1px solid #c8cacb}.Cell-module__cell___XID6c{font-weight:normal;position:relative}[dir] .Cell-module__cell___XID6c{border-bottom:1px solid #dedfe0;border-bottom:var(--terra-table-cell-border-bottom, 1px solid #dedfe0);padding:7px;padding:var(--terra-table-cell-content-padding, 7px)}[dir=ltr] .Cell-module__cell___XID6c{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=ltr] .Cell-module__cell___XID6c:first-child{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c:first-child{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir] .Cell-module__selected___3WHxU{background-color:#cbe7fa;background-color:var(--terra-table-cell-selected-background-color, #cbe7fa)}[dir=ltr] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=rtl] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=ltr] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}[dir=rtl] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}.Cell-module__cell-content___FhljD{overflow:hidden;overflow-wrap:break-word}[dir=ltr] .Cell-module__cell-content___FhljD{text-align:left}[dir=rtl] .Cell-module__cell-content___FhljD{text-align:right}.Cell-module__cell-content___FhljD .Cell-module__no-data-cell___6er9D{color:rgba(0,0,0,0)}.Cell-module__pinned___y2cJe{position:-webkit-sticky;position:sticky;z-index:1}[dir] .Cell-module__pinned___y2cJe:not(.Cell-module__selected___3WHxU){background-color:inherit}[dir] tr:nth-child(odd) .Cell-module__selectable___BAIg5:hover{background-color:#e0f2fb;background-color:var(--terra-table-odd-row-hover-background-color, #e0f2fb);cursor:pointer}[dir] tr:nth-child(even) .Cell-module__selectable___BAIg5:hover{background-color:#d3e5ee;background-color:var(--terra-table-even-row-hover-background-color, #d3e5ee);cursor:pointer} +.RowSelectionCell-module__input___\+\+BBM{display:-ms-flexbox;display:flex;height:16px;width:16px}[dir] .RowSelectionCell-module__input___\+\+BBM{margin:auto} +.Row-module__clinical-lowlight-theme___LqsJk{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Row-module__orion-fusion-theme___uCwnV{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}[dir] .Row-module__striped-table-row___0o1z0:nth-child(even){background-color:#f0f0f0;background-color:var(--terra-table-row-striped-background-color, #f0f0f0)}[dir] .Row-module__row___kR-J-{background-color:#fff;background-color:var(--terra-table-row-background-color, #fff)}[dir] .Row-module__row___kR-J-.Row-module__selectable___r9jUT:hover{background-color:#e2f2fc;background-color:var(--terra-table-row-hover-background-color, #e2f2fc);cursor:pointer}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP{background-color:#cbe7fa;background-color:var(--terra-table-row-selected-background-color, #cbe7fa)}[dir=ltr] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-right:1px solid #0092e0}[dir=rtl] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-left:1px solid #0092e0}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-bottom:1px solid #0092e0;border-bottom:var(--terra-table-row-highlight-border-bottom, 1px solid #0092e0)}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child th, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-top:1px solid #0092e0;border-top:var(--terra-table-row-highlight-border-top, 1px solid #0092e0)} +.Section-module__clinical-lowlight-theme___CmVbA{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Section-module__orion-fusion-theme___42iAO{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}.Section-module__section___Rf5QD.Section-module__collapsed___M5LcR{display:none}.Section-module__header___Q0nuu{position:relative;z-index:3}[dir=ltr] .Section-module__header___Q0nuu th{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Section-module__header___Q0nuu th{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)} +.ColumnResizeHandle-module__orion-fusion-theme___uvYEY{--terra-table-resize-handle-active-border-color: #517ea5;--terra-table-resize-handle-hover-border-color: #e4f1f7}.ColumnResizeHandle-module__clinical-lowlight-theme___MWieH{--terra-table-resize-handle-active-border-color: rgba(34, 42, 46, 1);--terra-table-resize-handle-hover-border-color: rgba(34, 42, 46, 0.6)}.ColumnResizeHandle-module__resize-handle___rckkL{display:block;height:100%;position:absolute;top:0;width:22px;z-index:1}[dir] .ColumnResizeHandle-module__resize-handle___rckkL{cursor:col-resize}[dir=ltr] .ColumnResizeHandle-module__resize-handle___rckkL{border-right:4px solid rgba(0,0,0,0);right:0}[dir=rtl] .ColumnResizeHandle-module__resize-handle___rckkL{border-left:4px solid rgba(0,0,0,0);left:0}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:active{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important}.ColumnResizeHandle-module__resize-handle___rckkL:focus{outline:0 !important}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:focus{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:hover{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle-selected___-zzct{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important} +.ColumnHeaderCell-module__clinical-lowlight-theme___E4AJx{--terra-table-column-header-text-color: #b2b5b6;--terra-table-column-header-background-color: #151719;--terra-table-column-header-border-bottom: 1px solid #181b1d;--terra-table-column-header-border-left: 1px solid #181b1d;--terra-table-column-header-border-right: 1px solid #181b1d;--terra-table-column-header-border-top: 1px solid #181b1d;--terra-table-pinned-columns-header-border: 1px solid #181b1d;--terra-table-pinned-columns-header-box-shadow: 1px 0 #181b1d;--terra-table-pinned-columns-divider-background-color: #181b1d;--terra-table-pinned-columns-divider-box-shadow: 4px -1px 6px #181b1d;--terra-table-header-hover-background-color: #0c0f10}.ColumnHeaderCell-module__orion-fusion-theme___LLv1A{--terra-table-column-header-text-color: #4e5356;--terra-table-column-header-background-color: #f4f4f4;--terra-table-column-header-border-bottom: 2px solid #9b9fa1;--terra-table-column-header-border-left: 1px solid #c8cacb;--terra-table-column-header-border-right: 1px solid #c8cacb;--terra-table-column-header-border-top: 1px solid #c8cacb;--terra-table-pinned-columns-header-border: 1px solid #c8cacb;--terra-table-pinned-columns-header-box-shadow: 1px 0 #c8cacb;--terra-table-header-hover-background-color: #d5e7f2}.ColumnHeaderCell-module__column-header___oWlRh{color:var(--terra-table-column-header-text-color);position:-webkit-sticky;position:sticky;top:0;z-index:1}[dir] .ColumnHeaderCell-module__column-header___oWlRh{background-color:#dedfe0;background-color:var(--terra-table-column-header-background-color, #dedfe0);border-bottom:1px solid #000;border-bottom:var(--terra-table-column-header-border-bottom, 1px solid #000);border-top:1px solid #000;border-top:var(--terra-table-column-header-border-top, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-left, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-left, 1px solid #000)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{padding:5px;padding:var(--terra-table-header-cell-padding, 5px)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-right:5px;margin-right:var(--terra-table-error-icon-margin-right, 5px)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-left:5px;margin-left:var(--terra-table-error-icon-margin-right, 5px)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{-ms-flex:1;flex:1;font-weight:normal;outline:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{background:rgba(0,0,0,0);border:0}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:left}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:right}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l.ColumnHeaderCell-module__hidden___Tu-Xs{color:rgba(0,0,0,0)}[dir] .ColumnHeaderCell-module__selectable___JFI4E:hover{background-color:#daecf6;background-color:var(--terra-table-header-hover-background-color, #daecf6);cursor:pointer}.ColumnHeaderCell-module__pinned___Qusyo{position:-webkit-sticky;position:sticky;z-index:2 !important}.ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{position:absolute;top:0;width:2px}[dir] .ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{background-color:#808080;background-color:var(--terra-table-pinned-columns-divider-background-color, #808080);box-shadow:4px -1px 6px #808080;box-shadow:var(--terra-table-pinned-columns-divider-box-shadow, 4px -1px 6px #808080)} +.ColumnHeader-module__hidden___I3b7-{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}[dir] .ColumnHeader-module__hidden___I3b7-{border:0;margin:-1px;padding:0} +.Table-module__clinical-lowlight-theme___G2b7R{--terra-table-cell-focus-outline: 3px dashed #fff;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #181b1d}.Table-module__orion-fusion-theme___iu\+p1{--terra-table-cell-focus-outline: 3px dashed #000;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #c8cacb}.Table-module__table-container___g4Byi{height:100%;overflow:auto;width:100%}.Table-module__table___wcFdg{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1px}[dir=ltr] .Table-module__table___wcFdg{margin-right:15px}[dir=rtl] .Table-module__table___wcFdg{margin-left:15px}.Table-module__table___wcFdg :focus{outline:3px dashed #000;outline:var(--terra-table-cell-focus-outline, 3px dashed #000);outline-offset:-2px;outline-offset:var(--terra-table-cell-focus-outline-offset, -2px)}[dir] .Table-module__headerless___eod6K tr:first-child td, [dir] .Table-module__headerless___eod6K tr:first-child th{border-top:1px solid #dedfe0;border-top:var(--terra-table-headerless-first-row-border-top, 1px solid #dedfe0)} +.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)} diff --git a/pull/1911/13311-d0992fc7abc4336fc699.js b/pull/1911/13311-d0992fc7abc4336fc699.js new file mode 100644 index 00000000000..4edace26ca6 --- /dev/null +++ b/pull/1911/13311-d0992fc7abc4336fc699.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[13311],{49271:function(e,t,n){var l=n(64836),a=n(18698);t.Z=void 0;var o=l(n(27424)),r=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 l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(l,r,c):l[r]=e[r]}l.default=e,n&&n.set(e,l);return l}(n(67294)),c=l(n(45697)),i=l(n(47166)),s=n(21538),u=l(n(33864)),d=l(n(23399)),m=n(51051),p=l(n(53560));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 _=i.default.bind(p.default),w={example:c.default.element,exampleSrc:c.default.element,exampleCssSrc:c.default.element,title:c.default.string,description:c.default.node,isExpanded:c.default.bool},b=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},S=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},v=function(e){var t=e.example,n=e.exampleSrc,l=e.exampleCssSrc,a=e.title,c=e.description,i=e.isExpanded,p=(0,r.useState)(i),f=(0,o.default)(p,2),w=f[0],v=f[1],y=(0,r.useState)(!1),x=(0,o.default)(y,2),E=x[0],T=x[1],h=r.default.useContext(s.ThemeContext),g=void 0!==l,N=function(){T(!E),w&&v(!w)},k=function(){v(!w),E&&T(!E)},C=function(e,t){e.nativeEvent.keyCode!==m.KEY_SPACE&&e.nativeEvent.keyCode!==m.KEY_RETURN||(e.preventDefault(),t())};return r.default.createElement("div",{className:_("template",h.className)},r.default.createElement("div",{className:_("header")},a&&r.default.createElement("h2",{className:_("title")},a)),r.default.createElement("div",{className:_("content")},c&&r.default.createElement("div",{className:_("description")},c),t),r.default.createElement("div",{className:_("footer")},n?r.default.createElement("div",{className:_("button-container")},g&&r.default.createElement("button",{type:"button",className:_("css-toggle","item",{"is-selected":E}),onClick:N,onKeyDown:function(e){return C(e,N)},onBlur:b,onMouseDown:S,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(u.default,{className:_("chevron")}),r.default.createElement("span",null,"CSS"),r.default.createElement(d.default,{className:_("chevron")})),r.default.createElement("button",{type:"button",className:_("code-toggle","item",{"is-selected":w}),onClick:k,onKeyDown:function(e){return C(e,k)},onBlur:b,onMouseDown:S,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(u.default,{className:_("chevron")}),r.default.createElement("span",null,"Code"),r.default.createElement(d.default,{className:_("chevron")}))):null,r.default.createElement("div",null,E&&r.default.createElement("div",{className:_("css")},l),w&&r.default.createElement("div",{className:_("code")},n))))};v.propTypes=w,v.defaultProps={isExpanded:!1};var y=v;t.Z=y},59131:function(e,t,n){n.r(t),n.d(t,{default:function(){return w}});var l=n(87462),a=n(44925),o=n(67294),r=n(81254),c=n(79178),i=["components"],s={};function u(e){var t=e.components,n=(0,a.Z)(e,i);return(0,r.mdx)("wrapper",(0,l.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React, { useState, useCallback } from 'react';\nimport Table from 'terra-table';\n\nconst tableDataJSON = {\n cols: [\n { id: 'Column-0', displayName: 'Patient' },\n { id: 'Column-1', displayName: 'Location' },\n { id: 'Column-2', displayName: 'Illness Severity' },\n ],\n rows: [\n {\n id: '1',\n isSelectable: true,\n cells: [\n { content: 'Fleck, Arthur' },\n { content: '1007-MTN' },\n { content: 'Unstable' },\n ],\n },\n {\n id: '2',\n isSelectable: true,\n cells: [\n { content: 'Wayne, Bruce' },\n { content: '1107-MTN-DR' },\n { content: 'Stable' },\n\n ],\n },\n {\n id: '3',\n isSelectable: true,\n cells: [\n { content: 'Carr, Alicia' },\n { content: '1007-MTN' },\n { content: 'Unstable' },\n\n ],\n },\n {\n id: '4',\n isSelectable: true,\n cells: [\n { content: 'McMurphy, Donald' },\n { content: '1024-MTN', isMasked: true },\n { content: 'Stable' },\n ],\n },\n {\n id: '5',\n isSelectable: true,\n cells: [\n { content: 'Peters, Timothy' },\n { content: '1207-MTN' },\n { content: 'Unstable', isMasked: true },\n ],\n },\n ],\n};\n\nconst TableSingleRowSelection = () => {\n const rowHeaderIndex = 0;\n const { cols, rows } = tableDataJSON;\n const [rowData, setRowData] = useState(rows);\n\n const onRowSelect = useCallback((rowId) => {\n const newRowData = [...rowData];\n\n const dataRowToUpdate = newRowData.find(row => row.id === rowId);\n\n newRowData.forEach((row) => {\n if (row.id !== dataRowToUpdate.id) {\n // eslint-disable-next-line no-return-assign, no-param-reassign\n row.isSelected = false;\n }\n });\n\n dataRowToUpdate.isSelected = !dataRowToUpdate.isSelected;\n\n setRowData(newRowData);\n }, [rowData]);\n\n const onRowSelectionHeaderSelect = useCallback(() => {\n // eslint-disable-next-line no-alert\n alert('Row Selection Header Clicked');\n }, []);\n\n return (\n \n );\n};\n\nexport default TableSingleRowSelection;\n\n")))}u.isMDXComponent=!0;var d=n(49271),m=function(e){var t=e.title,n=e.description,l=e.isExpanded;return o.createElement(d.Z,{title:t||"Table Single Row Selection",description:n,example:o.createElement(c.Z,null),exampleSrc:o.createElement(u,null),isExpanded:l})},p=["components"],f={},_="wrapper";function w(e){var t=e.components,n=(0,a.Z)(e,p);return(0,r.mdx)(_,(0,l.Z)({},f,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(m,{title:"Table With Single Row Selection",mdxType:"TableSingleRowSelection"}))}w.isMDXComponent=!0},79178:function(e,t,n){var l=n(64836),a=n(18698);t.Z=void 0;var o=l(n(861)),r=l(n(27424)),c=function(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 l={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var c=o?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(l,r,c):l[r]=e[r]}return l.default=e,n&&n.set(e,l),l}(n(67294)),i=l(n(12810));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)}var u=[{id:"Column-0",displayName:"Patient"},{id:"Column-1",displayName:"Location"},{id:"Column-2",displayName:"Illness Severity"}],d=[{id:"1",isSelectable:!0,cells:[{content:"Fleck, Arthur"},{content:"1007-MTN"},{content:"Unstable"}]},{id:"2",isSelectable:!0,cells:[{content:"Wayne, Bruce"},{content:"1107-MTN-DR"},{content:"Stable"}]},{id:"3",isSelectable:!0,cells:[{content:"Carr, Alicia"},{content:"1007-MTN"},{content:"Unstable"}]},{id:"4",isSelectable:!0,cells:[{content:"McMurphy, Donald"},{content:"1024-MTN",isMasked:!0},{content:"Stable"}]},{id:"5",isSelectable:!0,cells:[{content:"Peters, Timothy"},{content:"1207-MTN"},{content:"Unstable",isMasked:!0}]}];t.Z=function(){var e=u,t=d,n=(0,c.useState)(t),l=(0,r.default)(n,2),a=l[0],s=l[1],m=(0,c.useCallback)((function(e){var t=(0,o.default)(a),n=t.find((function(t){return t.id===e}));t.forEach((function(e){e.id!==n.id&&(e.isSelected=!1)})),n.isSelected=!n.isSelected,s(t)}),[a]),p=(0,c.useCallback)((function(){alert("Row Selection Header Clicked")}),[]);return c.default.createElement(i.default,{id:"table-with-single-row-selection",overflowColumns:e,rows:a,rowHeaderIndex:0,columnWidth:"180px",ariaLabel:"Table with Single Row Selection",rowSelectionMode:"single",onRowSelect:m,onRowSelectionHeaderSelect:p})}},53560: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"}},87462:function(e,t,n){function l(){return l=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 o=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,{Z:function(){return l}})}}]); \ No newline at end of file diff --git a/pull/1911/13451-d6fbb5daeb83246e84fc.css b/pull/1911/13451-d6fbb5daeb83246e84fc.css new file mode 100644 index 00000000000..c786d95cc8d --- /dev/null +++ b/pull/1911/13451-d6fbb5daeb83246e84fc.css @@ -0,0 +1,2 @@ +.ButtonGroup-module__clinical-lowlight-theme___El\+dS{--terra-button-group-button-active-background-color: #1a2023;--terra-button-group-button-active-border-color: #181b1d;--terra-button-group-button-active-color: #9b9b9b;--terra-button-group-button-background-color: #2d3539;--terra-button-group-button-border-color: #181b1d;--terra-button-group-button-box-shadow: none;--terra-button-group-button-color: #b2b5b6;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #1a2023;--terra-button-group-button-focus-border-color: #181b1d;--terra-button-group-button-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-hover-background-color: #1e272b;--terra-button-group-button-hover-color: #9b9b9b;--terra-button-group-button-active-box-shadow: none;--terra-button-group-button-selected-background-color: #1a2023;--terra-button-group-button-selected-border-color: #181b1d;--terra-button-group-button-selected-box-shadow: none;--terra-button-group-button-selected-color: #9b9b9b;--terra-button-group-button-selected-and-focus-background-color: #1a2023;--terra-button-group-button-selected-and-focus-border-color: #181b1d;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-selected-and-focus-color: #9b9b9b;--terra-button-group-button-selected-and-hover-background-color: #121517;--terra-button-group-button-selected-and-hover-border-color: #181b1d;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #9b9b9b;--terra-button-group-button-border-bottom-left-radius: 0.2142em;--terra-button-group-button-border-top-left-radius: 0.2142rem;--terra-button-group-button-border-bottom-right-radius: 0.2142em;--terra-button-group-button-border-top-right-radius: 0.2142rem}.ButtonGroup-module__orion-fusion-theme___BkFFY{--terra-button-group-button-background-color: #dedfe0;--terra-button-group-button-border-color: #6f7477;--terra-button-group-button-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4;--terra-button-group-button-color: #000;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #9b9fa1;--terra-button-group-button-focus-border-color: #6f7477;--terra-button-group-button-focus-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4, 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-hover-background-color: #b2b5b6;--terra-button-group-button-hover-color: #000;--terra-button-group-button-selected-and-hover-background-color: #52585b;--terra-button-group-button-selected-and-hover-border-color: #6f7477;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #fff;--terra-button-group-button-selected-and-focus-background-color: #52585b;--terra-button-group-button-selected-and-focus-border-color: #6f7477;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-selected-and-focus-color: #fff;--terra-button-group-button-selected-background-color: #52585b;--terra-button-group-button-selected-border-color: #6f7477;--terra-button-group-button-selected-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-selected-color: #fff;--terra-button-group-button-active-background-color: #52585b;--terra-button-group-button-active-border-color: #6f7477;--terra-button-group-button-active-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-active-color: #fff;--terra-button-group-button-border-bottom-left-radius: 3px;--terra-button-group-button-border-top-left-radius: 3px;--terra-button-group-button-border-bottom-right-radius: 3px;--terra-button-group-button-border-top-right-radius: 3px}.ButtonGroup-module__button-group___iIAAg{display:-ms-inline-flexbox;display:inline-flex;position:relative;vertical-align:middle;white-space:nowrap}.ButtonGroup-module__button-group-button___YB1ME{color:#1c1f21;color:var(--terra-button-group-button-color, #1c1f21);font-weight:400;font-weight:var(--terra-button-group-button-font-weight, 400);position:relative}[dir] .ButtonGroup-module__button-group-button___YB1ME{background-color:#dedfe0;background-color:var(--terra-button-group-button-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-border-color, #c8cacb);border-radius:0;border-style:solid;border-width:1px;box-shadow:none;box-shadow:var(--terra-button-group-button-box-shadow, none);margin:0}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-disabled___rqrG9,.ButtonGroup-module__button-group-button___YB1ME:disabled{opacity:0.3;opacity:var(--terra-button-group-button-disabled-opacity, 0.3)}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{z-index:1000}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{background-color:#dedfe0;background-color:var(--terra-button-group-button-focus-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-focus-border-color, #c8cacb);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){.ButtonGroup-module__button-group-button___YB1ME:hover{color:#000;color:var(--terra-button-group-button-hover-color, #000)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover{background-color:#b9bbbc;background-color:var(--terra-button-group-button-hover-background-color, #b9bbbc)}.ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-and-hover-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{background-color:#40474a;background-color:var(--terra-button-group-button-selected-and-hover-background-color, #40474a);border-color:#40474a;border-color:var(--terra-button-group-button-selected-and-hover-border-color, #40474a);box-shadow:var(--terra-button-group-button-selected-and-hover-box-shadow)}}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{color:#fff;color:var(--terra-button-group-button-selected-and-focus-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{background-color:#52585b;background-color:var(--terra-button-group-button-selected-and-focus-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-and-focus-border-color, #52585b);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-selected-and-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{background-color:#52585b;background-color:var(--terra-button-group-button-selected-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-border-color, #52585b);box-shadow:var(--terra-button-group-button-selected-box-shadow)}.ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718,.ButtonGroup-module__button-group-button___YB1ME:active{color:#fff;color:var(--terra-button-group-button-active-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718, [dir] .ButtonGroup-module__button-group-button___YB1ME:active{background-color:#52585b;background-color:var(--terra-button-group-button-active-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-active-border-color, #52585b);box-shadow:var(--terra-button-group-button-active-box-shadow)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-left:-1px}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-right:-1px}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}.ButtonGroup-module__is-block___otiJA{width:100%}.ButtonGroup-module__is-block___otiJA .ButtonGroup-module__button-group-button___YB1ME{-ms-flex:1 1 auto;flex:1 1 auto} +.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)} diff --git a/pull/1911/13451-d6fbb5daeb83246e84fc.js b/pull/1911/13451-d6fbb5daeb83246e84fc.js new file mode 100644 index 00000000000..0fac376f1c1 --- /dev/null +++ b/pull/1911/13451-d6fbb5daeb83246e84fc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[13451],{25011:function(e,t,r){var n=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67294)),u=n(r(43671)),l=n(r(90592));t.default=function(){return o.default.createElement(u.default,{id:"timeInput",name:"time-input",value:"21:22",variant:l.default.FORMAT_12_HOUR})}},68586:function(e,t,r){r.r(t),t.default={"clinical-lowlight-theme":"Input-module__clinical-lowlight-theme___clY96","orion-fusion-theme":"Input-module__orion-fusion-theme___phvH5","form-input":"Input-module__form-input___Fk8kb","form-error":"Input-module__form-error___aU4hq","form-incomplete":"Input-module__form-incomplete___h4I7H"}},55142:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=p(r(67294)),u=p(r(45697)),l=p(r(94184)),a=p(r(47166)),i=p(r(47341)),f=p(r(68586)),c=["defaultValue","disabled","isIncomplete","isInvalid","onBlur","onChange","onFocus","onInput","name","pattern","refCallback","required","type","ariaLabel","value"];function p(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e,t){for(var r=0;r=i.default.enormous&&c?"enormous":e>=i.default.huge&&s?"huge":e>=i.default.large&&u?"large":e>=i.default.medium&&l?"medium":e>=i.default.small&&o?"small":"tiny",this.state.element!==d&&this.setState({element:d}))}},{key:"handleWindowResize",value:function(){this.handleResize(window.innerWidth)}},{key:"setContainer",value:function(e){null!==e&&(this.container="parent"===this.props.responsiveTo?e.parentNode:null)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.responsiveTo;return this.state.element?this.props[this.state.element]||null:r.default.createElement(r.default.Fragment,null,"parent"===n&&!this.container&&r.default.createElement("div",{ref:this.setContainer}),t)}}])&&c(t.prototype,n),a&&c(t,a),Object.defineProperty(t,"prototype",{writable:!1}),u}(r.default.Component);v.propTypes=_,v.defaultProps={responsiveTo:"parent"};var h=v;t.default=h}}]); \ No newline at end of file diff --git a/pull/1911/13581-8df4b65b76e213c3049c.css b/pull/1911/13581-8df4b65b76e213c3049c.css new file mode 100644 index 00000000000..70c28178188 --- /dev/null +++ b/pull/1911/13581-8df4b65b76e213c3049c.css @@ -0,0 +1 @@ +.AutomaticHeightAndResizedContentCommon-module__test-popup-area___rt\+22{height:300px;width:500px}[dir] .AutomaticHeightAndResizedContentCommon-module__test-popup-area___rt\+22{background:#f0f8ff}.AutomaticHeightAndResizedContentCommon-module__popup-text___nezmL{height:400px}.AutomaticHeightAndResizedContentCommon-module__popup-button___A7jTk{position:absolute}[dir=ltr] .AutomaticHeightAndResizedContentCommon-module__popup-button___A7jTk{left:200px}[dir=rtl] .AutomaticHeightAndResizedContentCommon-module__popup-button___A7jTk{right:200px} diff --git a/pull/1911/13581-8df4b65b76e213c3049c.js b/pull/1911/13581-8df4b65b76e213c3049c.js new file mode 100644 index 00000000000..b080067f23c --- /dev/null +++ b/pull/1911/13581-8df4b65b76e213c3049c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[13581],{13581:function(t,e,n){var o=n(64836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=o(n(56690)),a=o(n(89728)),l=o(n(66115)),r=o(n(61655)),i=o(n(94993)),s=o(n(73808)),d=o(n(67294)),c=o(n(47166)),f=o(n(92306)),p=o(n(34296));function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=(0,s.default)(t);if(e){var u=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,u)}else n=o.apply(this,arguments);return(0,i.default)(this,n)}}var m=c.default.bind(p.default),C=function(t){(0,r.default)(n,t);var e=h(n);function n(t){var o;return(0,u.default)(this,n),(o=e.call(this,t)).handleButtonClick=o.handleButtonClick.bind((0,l.default)(o)),o.handleRequestClose=o.handleRequestClose.bind((0,l.default)(o)),o.setButtonNode=o.setButtonNode.bind((0,l.default)(o)),o.getButtonNode=o.getButtonNode.bind((0,l.default)(o)),o.state={open:!0},o}return(0,a.default)(n,[{key:"componentDidMount",value:function(){this.forceUpdate()}},{key:"handleButtonClick",value:function(){this.setState({open:!0})}},{key:"handleRequestClose",value:function(){this.setState({open:!1})}},{key:"setButtonNode",value:function(t){this.buttonNode=t}},{key:"getButtonNode",value:function(){return this.buttonNode}},{key:"render",value:function(){return d.default.createElement("div",{id:"test-popup-area",className:m("test-popup-area")},d.default.createElement(f.default,{classNameArrow:"test-arrow",classNameContent:"test-content",contentHeight:"auto",isOpen:this.state.open,targetRef:this.getButtonNode,onRequestClose:this.handleRequestClose},d.default.createElement("p",{className:m("popup-text")},"This is popup content with a automatic height of 400px.")),d.default.createElement("button",{type:"button",id:"default-button",onClick:this.handleButtonClick,ref:this.setButtonNode},"Default Popup"))}}]),n}(d.default.Component);e.default=C},34296:function(t,e,n){n.r(e),e.default={"test-popup-area":"AutomaticHeightAndResizedContentCommon-module__test-popup-area___rt+22","popup-text":"AutomaticHeightAndResizedContentCommon-module__popup-text___nezmL","popup-button":"AutomaticHeightAndResizedContentCommon-module__popup-button___A7jTk"}}}]); \ No newline at end of file diff --git a/pull/1911/13588-91600a84227254ffa69f.css b/pull/1911/13588-91600a84227254ffa69f.css new file mode 100644 index 00000000000..f9d95c75288 --- /dev/null +++ b/pull/1911/13588-91600a84227254ffa69f.css @@ -0,0 +1,4 @@ +.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}@media(max-width: 320px),(max-height: 256px){.Arrange-module__fit___tv8j-{-ms-flex:0 0;flex:0 0}} +.MenuItem-module__clinical-lowlight-theme___GRWU4{--terra-menu-item-active-background-color: #1e3a49;--terra-menu-item-active-text-color: #b2b5b6;--terra-menu-item-chevron-icon-color: #9b9fa1;--terra-menu-item-disabled-chevron-icon-color: rgba(155, 159, 161, 0.2);--terra-menu-item-color: #b2b5b6;--terra-menu-item-text-color: #b2b5b6;--terra-menu-item-disabled-text-opacity: 0.18;--terra-menu-item-disabled-start-icon-opacity: 0.18;--terra-menu-item-chevron-focus-icon-color: #c5c5c6;--terra-menu-item-chevron-hover-icon-color: #c5c5c6;--terra-menu-item-focus-background-color: #1e3a49;--terra-menu-item-focus-outline: #004c76 auto 5px;--terra-menu-item-focus-outline-offset: -2px;--terra-menu-item-hover-background-color: #232a2d;--terra-menu-item-hover-background-image: linear-gradient(to bottom, #122b39 2%, #152933 30%, #1e3a49 80%);--terra-menu-item-hover-box-shadow: inset 0 0 0 1px #04293f;--terra-menu-item-margin: 0;--terra-menu-item-padding: 0.286rem 0;--terra-menu-item-text-font-size: 0.928571429rem;--terra-menu-item-text-font-weight: normal;--terra-menu-item-text-margin-right: 1.714285714rem;--terra-menu-item-text-margin-left: 0.714285714rem;--terra-menu-item-top-level-text-margin-right: 0;--terra-menu-item-chevron-icon-font-size: 0.714285714rem;--terra-menu-item-chevron-icon-margin-left: 0.714285714rem;--terra-menu-item-chevron-icon-margin-right: 0.714285714rem;--terra-menu-item-start-icon-font-size: 0.85714rem;--terra-menu-item-start-icon-margin-left: 0.71428rem;--terra-menu-item-start-icon-margin-right: 0;--terra-menu-item-highlighted-background-color: #1e3a49;--terra-menu-item-highlighted-hover-background-color: #232a2d;--terra-menu-item-highlighted-hover-background-image: linear-gradient(to bottom, #04293f 2%, #053754 30%, #004c76 80%);--terra-menu-item-highlighted-hover-box-shadow: inset 0 0 0 1px #04293f}.MenuItem-module__orion-fusion-theme___OJBfh{--terra-menu-item-color: #595f62;--terra-menu-item-margin: 0;--terra-menu-item-padding: 0.5rem 0.83333rem 0.5rem 2.33333rem;--terra-menu-item-hover-background-color: #f4fafe;--terra-menu-item-hover-background-image: none;--terra-menu-item-hover-box-shadow: none;--terra-menu-item-focus-background-color: #ebf6fd;--terra-menu-item-focus-outline: -webkit-focus-ring-color auto 5px;--terra-menu-item-focus-outline-offset: -1px;--terra-menu-item-chevron-hover-icon-color: #1f1f21;--terra-menu-item-chevron-focus-icon-color: #1f1f21;--terra-menu-item-active-background-color: #e2f2fc;--terra-menu-item-active-text-color: #000;--terra-menu-item-disabled-text-opacity: 0.1;--terra-menu-item-disabled-chevron-icon-color: rgb(187, 188, 189, 0.25);--terra-menu-item-disabled-start-icon-opacity: 0.1;--terra-menu-item-text-color: #000;--terra-menu-item-text-font-size: 1rem;--terra-menu-item-text-margin-right: 2rem;--terra-menu-item-text-margin-left: 0.5rem;--terra-menu-item-top-level-text-margin-right: 0;--terra-menu-item-start-icon-font-size: 1.33333rem;--terra-menu-item-text-font-weight: normal;--terra-menu-item-start-icon-margin-left: -1.33333rem;--terra-menu-item-start-icon-margin-right: 0;--terra-menu-item-chevron-icon-color: #000;--terra-menu-item-chevron-icon-font-size: 1.33333rem;--terra-menu-item-chevron-icon-margin-left: 0.41667rem;--terra-menu-item-chevron-icon-margin-right: 0;--terra-menu-item-highlighted-background-color: #e2f2fc;--terra-menu-item-highlighted-hover-background-color: #cbe7fa;--terra-menu-item-highlighted-hover-background-image: none;--terra-menu-item-highlighted-hover-box-shadow: none}.MenuItem-module__item___d5cbi{color:#1c1f21;color:var(--terra-menu-item-color, #1c1f21)}[dir] .MenuItem-module__item___d5cbi{cursor:default;margin:0;margin:var(--terra-menu-item-margin, 0);padding:0.286rem 0;padding:var(--terra-menu-item-padding, 0.286rem 0)}[dir] .MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d){cursor:pointer}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){[dir] .MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d):hover{background-color:#f4fefe;background-color:var(--terra-menu-item-hover-background-color, #f4fefe);background-image:linear-gradient(to bottom, #e1f2fd 2%, #ebf6fe 30%, #f4fafe 80%);background-image:var(--terra-menu-item-hover-background-image, linear-gradient(to bottom, #e1f2fd 2%, #ebf6fe 30%, #f4fafe 80%));box-shadow:inset 0 0 0 1px #e1f2fd;box-shadow:var(--terra-menu-item-hover-box-shadow, inset 0 0 0 1px #e1f2fd)}[dir] .MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d).MenuItem-module__is-highlighted___2iz9A:hover{background-color:#d1ebfb;background-color:var(--terra-menu-item-highlighted-hover-background-color, #d1ebfb);background-image:linear-gradient(to bottom, #b3ddf8 2%, #c8e9fe 30%, #d1ebfb 80%);background-image:var(--terra-menu-item-highlighted-hover-background-image, linear-gradient(to bottom, #b3ddf8 2%, #c8e9fe 30%, #d1ebfb 80%));box-shadow:inset 0 0 0 1px #e1f3fd;box-shadow:var(--terra-menu-item-highlighted-hover-box-shadow, inset 0 0 0 1px #e1f3fd)}.MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d):hover .MenuItem-module__chevron___KG83f{color:rgba(28, 31, 33, 0.7);color:var(--terra-menu-item-chevron-hover-icon-color, rgba(28, 31, 33, 0.7))}}.MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d):focus{outline:-webkit-focus-ring-color auto 5px;outline:var(--terra-menu-item-focus-outline, -webkit-focus-ring-color auto 5px);outline-offset:-2px;outline-offset:var(--terra-menu-item-focus-outline-offset, -2px)}[dir] .MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d):focus{background-color:#ebf6fd;background-color:var(--terra-menu-item-focus-background-color, #ebf6fd)}.MenuItem-module__item___d5cbi:not(.MenuItem-module__is-disabled___pQC5d):focus .MenuItem-module__chevron___KG83f{color:rgb(28, 31, 33);color:var(--terra-menu-item-chevron-focus-icon-color, rgb(28, 31, 33))}[dir] .MenuItem-module__item___d5cbi:active:not(.MenuItem-module__is-disabled___pQC5d), [dir] .MenuItem-module__active___JF61u{background-color:#ebf6fd;background-color:var(--terra-menu-item-active-background-color, #ebf6fd)}.MenuItem-module__item___d5cbi:active:not(.MenuItem-module__is-disabled___pQC5d) .MenuItem-module__text___ax0k2,.MenuItem-module__active___JF61u .MenuItem-module__text___ax0k2{color:#1c1f21;color:var(--terra-menu-item-active-text-color, #1c1f21)}.MenuItem-module__is-disabled___pQC5d .MenuItem-module__text___ax0k2{opacity:0.25;opacity:var(--terra-menu-item-disabled-text-opacity, 0.25)}.MenuItem-module__is-disabled___pQC5d .MenuItem-module__chevron___KG83f{color:rgba(155, 159, 161, 0.3);color:var(--terra-menu-item-disabled-chevron-icon-color, rgba(155, 159, 161, 0.3))}.MenuItem-module__is-disabled___pQC5d .MenuItem-module__start-icon___IrbDC{opacity:0.25;opacity:var(--terra-menu-item-disabled-start-icon-opacity, 0.25)}[dir=ltr] .MenuItem-module__is-top-level___TFDcC .MenuItem-module__text___ax0k2{margin-right:0;margin-right:var(--terra-menu-item-top-level-text-margin-right, 0)}[dir=rtl] .MenuItem-module__is-top-level___TFDcC .MenuItem-module__text___ax0k2{margin-left:0;margin-left:var(--terra-menu-item-top-level-text-margin-right, 0)}.MenuItem-module__text___ax0k2{color:#1c1f21;color:var(--terra-menu-item-text-color, #1c1f21);font-size:0.928571429rem;font-size:var(--terra-menu-item-text-font-size, 0.928571429rem);font-weight:normal;font-weight:var(--terra-menu-item-text-font-weight, normal);line-height:1.538;-webkit-user-select:none;-ms-user-select:none;user-select:none}[dir=ltr] .MenuItem-module__text___ax0k2{margin-left:0.714285714rem;margin-left:var(--terra-menu-item-text-margin-left, 0.714285714rem);margin-right:1.714285714rem;margin-right:var(--terra-menu-item-text-margin-right, 1.714285714rem)}[dir=rtl] .MenuItem-module__text___ax0k2{margin-right:0.714285714rem;margin-right:var(--terra-menu-item-text-margin-left, 0.714285714rem);margin-left:1.714285714rem;margin-left:var(--terra-menu-item-text-margin-right, 1.714285714rem)}.MenuItem-module__checkmark___PFCFZ{visibility:hidden}.MenuItem-module__is-toggled___Kl1vs .MenuItem-module__checkmark___PFCFZ{visibility:visible}.MenuItem-module__chevron___KG83f{color:rgba(28, 31, 33, 0.53);color:var(--terra-menu-item-chevron-icon-color, rgba(28, 31, 33, 0.53));font-size:0.714285714rem;font-size:var(--terra-menu-item-chevron-icon-font-size, 0.714285714rem)}[dir=ltr] .MenuItem-module__chevron___KG83f{margin-left:0.714285714rem;margin-left:var(--terra-menu-item-chevron-icon-margin-left, 0.714285714rem);margin-right:0.714285714rem;margin-right:var(--terra-menu-item-chevron-icon-margin-right, 0.714285714rem)}[dir=rtl] .MenuItem-module__chevron___KG83f{margin-right:0.714285714rem;margin-right:var(--terra-menu-item-chevron-icon-margin-left, 0.714285714rem);margin-left:0.714285714rem;margin-left:var(--terra-menu-item-chevron-icon-margin-right, 0.714285714rem)}.MenuItem-module__start-icon___IrbDC{font-size:0.85714rem;font-size:var(--terra-menu-item-start-icon-font-size, 0.85714rem)}[dir=ltr] .MenuItem-module__start-icon___IrbDC{margin-left:0.71428rem;margin-left:var(--terra-menu-item-start-icon-margin-left, 0.71428rem);margin-right:0;margin-right:var(--terra-menu-item-start-icon-margin-right, 0)}[dir=rtl] .MenuItem-module__start-icon___IrbDC{margin-right:0.71428rem;margin-right:var(--terra-menu-item-start-icon-margin-left, 0.71428rem);margin-left:0;margin-left:var(--terra-menu-item-start-icon-margin-right, 0)}[dir] .MenuItem-module__is-highlighted___2iz9A{background-color:#e1f3fd;background-color:var(--terra-menu-item-highlighted-background-color, #e1f3fd)} +.Menu-module__clinical-lowlight-theme___hKzLg{--terra-menu-background-color: #222a2e;--terra-menu-foreground-color: #b2b5b6;--terra-menu-fullscreen-header-background-color: #222a2e;--terra-menu-fullscreen-header-border-bottom: 1px solid #181b1d;--terra-menu-fullscreen-header-title-color: #b2b5b6;--terra-menu-submenu-background-color: #1c2326;--terra-menu-submenu-foreground-color: #b2b5b6;--terra-menu-submenu-header-background-color: #222a2e;--terra-menu-submenu-header-border-bottom: 1px solid #181b1d;--terra-menu-submenu-header-button-outline-offset: -3px;--terra-menu-back-button-focus-outline: #b2b5b6 solid 2px;--terra-menu-submenu-header-buttons-icon-color: #c5c5c6;--terra-menu-submenu-header-buttons-hover-color: #b2b5b6;--terra-menu-submenu-header-title-color: #b2b5b6;--terra-menu-background-image: none;--terra-menu-divider-after-border-color: #282d31;--terra-menu-divider-border-color: #181b1d;--terra-menu-submenu-arrow-after-border-top-color: #1c2326;--terra-menu-submenu-background-image: none;--terra-menu-submenu-divider-after-border-color: #282d31;--terra-menu-divider-margin-top: 2px;--terra-menu-divider-after-border-width: 3px 0 0;--terra-menu-divider-after-margin-bottom: 4px;--terra-menu-submenu-divider-after-border-width: 0;--terra-menu-submenu-divider-after-margin-bottom: 0;--terra-menu-submenu-header-height: auto;--terra-menu-submenu-header-title-font-size: 12px;--terra-menu-submenu-header-title-font-weight: normal;--terra-menu-submenu-header-title-line-height: 1.1667;--terra-menu-submenu-header-title-margin: 7px 7px 7px 0;--terra-menu-header-title-margin-left: 10px;--terra-menu-submenu-header-buttons-icon-font-size: 12px;--terra-menu-submenu-header-buttons-margin: 0;--terra-menu-submenu-header-buttons-padding: 8px;--terra-menu-fullscreen-header-title-font-size: 1rem;--terra-menu-fullscreen-header-title-line-height: 1.2;--terra-menu-fullscreen-header-title-margin: 0.5714rem 0 0.5714rem 0.3571rem;--terra-menu-fullscreen-header-buttons-icon-font-size: 1.45rem;--terra-menu-fullscreen-header-buttons-margin: 0.3571rem 0;--terra-menu-fullscreen-header-buttons-padding: 4px;--terra-menu-list-padding: 6px 0}.Menu-module__orion-fusion-theme___4S\+kd{--terra-menu-divider-border-color: #c8cacb;--terra-menu-divider-margin-top: 0;--terra-menu-divider-after-border-color: transparent;--terra-menu-divider-after-border-width: 0;--terra-menu-divider-after-margin-bottom: 0;--terra-menu-submenu-divider-after-border-color: transparent;--terra-menu-submenu-divider-after-border-width: 0;--terra-menu-submenu-divider-after-margin-bottom: 0;--terra-menu-submenu-header-background-color: #f4f4f4;--terra-menu-submenu-header-border-bottom: 2px solid #9b9fa1;--terra-menu-submenu-header-button-outline-offset: -4px;--terra-menu-back-button-focus-outline: -webkit-focus-ring-color solid 2px;--terra-menu-submenu-header-height: auto;--terra-menu-submenu-header-title-color: #1c1f21;--terra-menu-submenu-header-title-font-size: 1.16667rem;--terra-menu-submenu-header-title-font-weight: normal;--terra-menu-submenu-header-title-line-height: 1.57143;--terra-menu-submenu-header-title-margin: 0.25rem 0.25rem 0.25rem 0;--terra-menu-submenu-header-buttons-icon-color: #1c1f21;--terra-menu-submenu-header-buttons-icon-font-size: 1.16667rem;--terra-menu-submenu-header-buttons-margin: 0;--terra-menu-submenu-header-buttons-padding: 0.375rem 0.58333rem;--terra-menu-submenu-header-buttons-hover-color: #004c76;--terra-menu-header-title-margin-left: 2.33333rem;--terra-menu-fullscreen-header-background-color: #f4f4f4;--terra-menu-fullscreen-header-border-bottom: 2px solid #9b9fa1;--terra-menu-fullscreen-header-title-color: #1c1f21;--terra-menu-fullscreen-header-title-font-size: 1.16667rem;--terra-menu-fullscreen-header-title-line-height: 1.57143;--terra-menu-fullscreen-header-title-margin: 0.5rem 0 0.416667rem 0.25rem;--terra-menu-fullscreen-header-buttons-icon-font-size: 1.16667rem;--terra-menu-fullscreen-header-buttons-margin: 0;--terra-menu-fullscreen-header-buttons-padding: 0.375rem 0.58333rem;--terra-menu-list-padding: 0;--terra-menu-background-color: #fff;--terra-menu-background-image: none;--terra-menu-foreground-color: #1c1f21;--terra-menu-submenu-arrow-after-border-top-color: none;--terra-menu-submenu-background-color: #fff;--terra-menu-submenu-background-image: none;--terra-menu-submenu-foreground-color: #1c1f21}[dir] .Menu-module__submenu___pD8uM.Menu-module__arrow___qDX5\+[data-align-arrow=bottom]::after{border-top-color:#f9f9f9;border-top-color:var(--terra-menu-submenu-arrow-after-border-top-color, #f9f9f9)}.Menu-module__divider___2Yiip{width:100%}[dir] .Menu-module__divider___2Yiip{border-color:#dedfe0;border-color:var(--terra-menu-divider-border-color, #dedfe0);border-style:solid;border-width:1px 0 0;margin-top:2px;margin-top:var(--terra-menu-divider-margin-top, 2px)}.Menu-module__divider___2Yiip::after{content:"";display:block}[dir] .Menu-module__divider___2Yiip::after{border-color:#f9f9f9;border-color:var(--terra-menu-divider-after-border-color, #f9f9f9);border-style:solid;border-width:3px 0 0;border-width:var(--terra-menu-divider-after-border-width, 3px 0 0);margin-bottom:4px;margin-bottom:var(--terra-menu-divider-after-margin-bottom, 4px)}[dir] .Menu-module__submenu___pD8uM .Menu-module__divider___2Yiip::after{border-color:#fff;border-color:var(--terra-menu-submenu-divider-after-border-color, #fff);border-width:var(--terra-menu-submenu-divider-after-border-width);margin-bottom:var(--terra-menu-submenu-divider-after-margin-bottom)}.Menu-module__header___UGEhF{height:var(--terra-menu-submenu-header-height);width:100%}[dir] .Menu-module__header___UGEhF{background-color:#fff;background-color:var(--terra-menu-submenu-header-background-color, #fff);border-bottom:1px solid #dedfe0;border-bottom:var(--terra-menu-submenu-header-border-bottom, 1px solid #dedfe0)}.Menu-module__header___UGEhF *[role=button]{outline-offset:-2px;outline-offset:var(--terra-menu-submenu-header-button-outline-offset, -2px)}.Menu-module__header___UGEhF .Menu-module__header-title___TkZxM{-ms-flex-item-align:center;align-self:center;color:#1c1f21;color:var(--terra-menu-submenu-header-title-color, #1c1f21);-ms-flex:1;flex:1;font-size:12px;font-size:var(--terra-menu-submenu-header-title-font-size, 12px);font-weight:normal;font-weight:var(--terra-menu-submenu-header-title-font-weight, normal);line-height:1.1667;line-height:var(--terra-menu-submenu-header-title-line-height, 1.1667);min-width:0;overflow:hidden;white-space:normal;word-break:normal;word-wrap:break-word}[dir] .Menu-module__header___UGEhF .Menu-module__header-title___TkZxM{margin:7px 7px 7px 0;margin:var(--terra-menu-submenu-header-title-margin, 7px 7px 7px 0)}[dir=ltr] .Menu-module__header___UGEhF .Menu-module__main-header-title___RFIql{margin-left:10px;margin-left:var(--terra-menu-header-title-margin-left, 10px)}[dir=rtl] .Menu-module__header___UGEhF .Menu-module__main-header-title___RFIql{margin-right:10px;margin-right:var(--terra-menu-header-title-margin-left, 10px)}.Menu-module__header___UGEhF .Menu-module__header-button___VFD6H{-ms-flex-item-align:center;align-self:center;color:#1c1f21;color:var(--terra-menu-submenu-header-buttons-icon-color, #1c1f21);font-size:12px;font-size:var(--terra-menu-submenu-header-buttons-icon-font-size, 12px);font-weight:bold}[dir] .Menu-module__header___UGEhF .Menu-module__header-button___VFD6H{background-color:rgba(0,0,0,0);border:0;cursor:pointer;margin:0;margin:var(--terra-menu-submenu-header-buttons-margin, 0);padding:8px;padding:var(--terra-menu-submenu-header-buttons-padding, 8px)}.Menu-module__header___UGEhF .Menu-module__header-button___VFD6H:hover{color:#111;color:var(--terra-menu-submenu-header-buttons-hover-color, #111)}.Menu-module__header___UGEhF .Menu-module__header-button___VFD6H:focus{outline:-webkit-focus-ring-color solid 2px;outline:var(--terra-menu-back-button-focus-outline, -webkit-focus-ring-color solid 2px);outline-offset:-2px;outline-offset:var(--terra-menu-item-focus-outline-offset, -2px)}[dir] .Menu-module__fullscreen___Q66Ry .Menu-module__header___UGEhF{background-color:#fff;background-color:var(--terra-menu-fullscreen-header-background-color, #fff);border-bottom:1px solid #dedfe0;border-bottom:var(--terra-menu-fullscreen-header-border-bottom, 1px solid #dedfe0)}.Menu-module__fullscreen___Q66Ry .Menu-module__header-title___TkZxM{color:#1c1f21;color:var(--terra-menu-fullscreen-header-title-color, #1c1f21);font-size:1rem;font-size:var(--terra-menu-fullscreen-header-title-font-size, 1rem);line-height:1.2;line-height:var(--terra-menu-fullscreen-header-title-line-height, 1.2)}[dir] .Menu-module__fullscreen___Q66Ry .Menu-module__header-title___TkZxM{margin:0.5714rem 0 0.5714rem 0.3571rem;margin:var(--terra-menu-fullscreen-header-title-margin, 0.5714rem 0 0.5714rem 0.3571rem)}.Menu-module__fullscreen___Q66Ry .Menu-module__header-button___VFD6H{font-size:1.45rem;font-size:var(--terra-menu-fullscreen-header-buttons-icon-font-size, 1.45rem)}[dir] .Menu-module__fullscreen___Q66Ry .Menu-module__header-button___VFD6H{margin:0.3571rem 0;margin:var(--terra-menu-fullscreen-header-buttons-margin, 0.3571rem 0);padding:4px;padding:var(--terra-menu-fullscreen-header-buttons-padding, 4px)}[dir] .Menu-module__fullscreen___Q66Ry .Menu-module__header-button___VFD6H:first-child{margin:0}[dir] .Menu-module__list___bRMML{padding:6px 0;padding:var(--terra-menu-list-padding, 6px 0)}.Menu-module__content___F0Uw5{color:#1c1f21;color:var(--terra-menu-foreground-color, #1c1f21);outline:0}[dir] .Menu-module__content___F0Uw5{background-color:#fff;background-color:var(--terra-menu-background-color, #fff);background-image:var(--terra-menu-background-image)}.Menu-module__content___F0Uw5.Menu-module__submenu___pD8uM{color:#1c1f21;color:var(--terra-menu-submenu-foreground-color, #1c1f21)}[dir] .Menu-module__content___F0Uw5.Menu-module__submenu___pD8uM{background-color:#f9f9f9;background-color:var(--terra-menu-submenu-background-color, #f9f9f9);background-image:var(--terra-menu-submenu-background-image)}.Menu-module__hidden-page___M4G7V{display:none}.Menu-module__header-container___KGuP2{display:-ms-flexbox;display:flex} +.MenuItemCommon-module__mimic-menu-container___vxRKf{list-style:none;width:238px}[dir] .MenuItemCommon-module__mimic-menu-container___vxRKf{padding:0}.MenuItemCommon-module__red-color___kgz2x{color:#e50000;color:var(--terra-framework-docs-menu-item-test-red-color, #e50000)}.MenuItemCommon-module__orion-fusion-theme___q04e2{--terra-framework-docs-menu-item-test-red-color: #e50000}.MenuItemCommon-module__clinical-lowlight-theme___iB4N8{--terra-framework-docs-menu-item-test-red-color: #fb4c4c} diff --git a/pull/1911/13588-91600a84227254ffa69f.js b/pull/1911/13588-91600a84227254ffa69f.js new file mode 100644 index 00000000000..da76326e93b --- /dev/null +++ b/pull/1911/13588-91600a84227254ffa69f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[13588],{11082:function(e,t,n){var l=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(56690)),a=l(n(89728)),o=l(n(61655)),u=l(n(94993)),i=l(n(73808)),c=l(n(67294)),f=l(n(45697)),s=l(n(47166)),d=l(n(70419)),m=l(n(3343)),b=l(n(31532)),p=l(n(47341)),g=l(n(82347));function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,l=(0,i.default)(e);if(t){var r=(0,i.default)(this).constructor;n=Reflect.construct(l,arguments,r)}else n=l.apply(this,arguments);return(0,u.default)(this,n)}}var _=s.default.bind(g.default),v={isSelectableMenu:f.default.bool},h=function(e){(0,o.default)(n,e);var t=y(n);function n(){return(0,r.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"getChildContext",value:function(){return{isSelectableMenu:!0}}},{key:"render",value:function(){var e=this.context;return c.default.createElement("div",null,c.default.createElement("p",null,"default icon, themeable, isToggled, isToggleable, and isInstructionsForUse combinations"),c.default.createElement("br",null),c.default.createElement("ul",{className:_("mimic-menu-container"),role:"menu"},c.default.createElement(d.default.Item,{text:"Icon",key:"Icon",icon:c.default.createElement(m.default,null)}),c.default.createElement(d.default.Item,{text:"Icon, themeable",key:"Icon, themeable",icon:c.default.createElement(b.default,{className:_(["red-color",e.className])})}),c.default.createElement(d.default.Item,{text:"Icon, isToggleable",key:"Icon, isToggleable",icon:c.default.createElement(m.default,null),isSelectable:!0}),c.default.createElement(d.default.Item,{text:"Icon, isToggleable, and isToggled",key:"Icon, isToggleable, isToggled",icon:c.default.createElement(m.default,null),isSelectable:!0,isSelected:!0}),c.default.createElement(d.default.Item,{text:"Icon, isToggled, notToggleable",key:"Icon, isToggled, notToggleable",icon:c.default.createElement(m.default,null),isSelected:!0}),c.default.createElement(d.default.Item,{text:"isInstructionsForUse, icon",key:"isInstructionsForUse, icon",isSelected:!0,isSelectable:!0,icon:c.default.createElement(m.default,null),isInstructionsForUse:!0}),c.default.createElement(d.default.Item,{text:"MenuItem - Submenu",key:"MenuItem - Submenu",subMenuItems:[c.default.createElement(d.default.Item,{text:"Not Visible"})]})))}}]),n}(c.default.Component);h.childContextTypes=v,h.contextType=p.default;t.default=h},66633:function(e,t,n){n.r(t),t.default={arrange:"Arrange-module__arrange___hY0Ml",fill:"Arrange-module__fill___m88eq",fit:"Arrange-module__fit___tv8j-",center:"Arrange-module__center___9qfhG",bottom:"Arrange-module__bottom___8beod",stretch:"Arrange-module__stretch___eQF-k",default:"Arrange-module__default___z+O29"}},82347:function(e,t,n){n.r(t),t.default={"mimic-menu-container":"MenuItemCommon-module__mimic-menu-container___vxRKf","red-color":"MenuItemCommon-module__red-color___kgz2x","orion-fusion-theme":"MenuItemCommon-module__orion-fusion-theme___q04e2","clinical-lowlight-theme":"MenuItemCommon-module__clinical-lowlight-theme___iB4N8"}},78490:function(e,t,n){function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AlignmentTypes=void 0;var r=c(n(67294)),a=c(n(45697)),o=c(n(47166)),u=c(n(66633)),i=["fitStart","fill","fitEnd","align","alignFitStart","alignFill","alignFitEnd","fitStartAttributes","fillAttributes","fitEndAttributes"];function c(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}t.AlignmentTypes={CENTER:"center",BOTTOM:"bottom",STRETCH:"stretch"};var p=o.default.bind(u.default),g={fitStart:a.default.element,fill:a.default.element.isRequired,fitEnd:a.default.element,align:a.default.oneOf(["center","bottom","stretch"]),alignFitStart:a.default.oneOf(["center","bottom","stretch"]),alignFitEnd:a.default.oneOf(["center","bottom","stretch"]),alignFill:a.default.oneOf(["center","bottom","stretch"]),fitStartAttributes:a.default.object,fillAttributes:a.default.object,fitEndAttributes:a.default.object},y=function(e){var t=e.fitStart,n=e.fill,l=e.fitEnd,a=e.align,o=e.alignFitStart,u=e.alignFill,c=e.alignFitEnd,s=e.fitStartAttributes,m=e.fillAttributes,g=e.fitEndAttributes,y=b(e,i),_=d({},s),v=d({},m),h=d({},g);return r.default.createElement("span",f({},y,{className:p("arrange",y.className)}),r.default.createElement("span",f({},_,{className:p("fit",a||o,_.className,"fit-block")}),t),r.default.createElement("span",f({},v,{className:p("fill",a||u,v.className,"fill-block")}),n),r.default.createElement("span",f({},h,{className:p("fit",a||c,h.className)}),l))};y.propTypes=g;t.default=y},46379:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=o(n(67294)),r=o(n(99139)),a=n(25387);function o(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(n[r]=t[r]);return n}(t,a);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(e=0;e=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}r.d(a,{Z:function(){return e}})}}]); \ No newline at end of file diff --git a/pull/1911/13e30f227d2d7c11cdb2385b7913b0c1.gif b/pull/1911/13e30f227d2d7c11cdb2385b7913b0c1.gif new file mode 100644 index 00000000000..97d2089a6ad Binary files /dev/null and b/pull/1911/13e30f227d2d7c11cdb2385b7913b0c1.gif differ diff --git a/pull/1911/14065-3232e9bd5bd7b9585131.css b/pull/1911/14065-3232e9bd5bd7b9585131.css new file mode 100644 index 00000000000..2601a657e65 --- /dev/null +++ b/pull/1911/14065-3232e9bd5bd7b9585131.css @@ -0,0 +1 @@ +[dir] .test-background-class{background-color:#fff} diff --git a/pull/1911/14065-3232e9bd5bd7b9585131.js b/pull/1911/14065-3232e9bd5bd7b9585131.js new file mode 100644 index 00000000000..ceb01d6643b --- /dev/null +++ b/pull/1911/14065-3232e9bd5bd7b9585131.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[14065],{14065:function(e,t,l){var a=l(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(l(56690)),u=a(l(89728)),o=a(l(66115)),r=a(l(61655)),d=a(l(94993)),c=a(l(73808)),s=a(l(67294)),f=a(l(31501));function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var l,a=(0,c.default)(e);if(t){var n=(0,c.default)(this).constructor;l=Reflect.construct(a,arguments,n)}else l=a.apply(this,arguments);return(0,d.default)(this,l)}}l(14200);var h=function(e){(0,r.default)(l,e);var t=i(l);function l(){var e;return(0,n.default)(this,l),(e=t.call(this)).state={isOpen:!0},e.handleOpenModal=e.handleOpenModal.bind((0,o.default)(e)),e.handleCloseModal=e.handleCloseModal.bind((0,o.default)(e)),e}return(0,u.default)(l,[{key:"handleOpenModal",value:function(){this.setState({isOpen:!0})}},{key:"handleCloseModal",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){return s.default.createElement("div",null,s.default.createElement(f.default,{ariaLabel:"Terra Modal",isOpen:this.state.isOpen,onRequestClose:this.handleCloseModal,closeOnEsc:!1,classNameModal:"test-background-class"},s.default.createElement("div",null,s.default.createElement("h1",null,"Terra Modal"),s.default.createElement("h2",null,"Subtitle"),s.default.createElement("hr",null),s.default.createElement("p",null,"The Terra Modal is appended to the document body."),s.default.createElement("p",null,"Modal is assigned a role of 'document' for accessibility."),s.default.createElement("button",{id:"focus-button",type:"button",onClick:this.handleCloseModal},"Close Modal"))),s.default.createElement("button",{type:"button",className:"button-open-modal",onClick:this.handleOpenModal},"Open Modal"))}}]),l}(s.default.Component);t.default=h},14200:function(e,t,l){l.r(t),t.default={}}}]); \ No newline at end of file diff --git a/pull/1911/14138-9abd8e54926bdde6e6cb.css b/pull/1911/14138-9abd8e54926bdde6e6cb.css new file mode 100644 index 00000000000..b3aeef9a2c9 --- /dev/null +++ b/pull/1911/14138-9abd8e54926bdde6e6cb.css @@ -0,0 +1,2 @@ +.ButtonGroup-module__clinical-lowlight-theme___El\+dS{--terra-button-group-button-active-background-color: #1a2023;--terra-button-group-button-active-border-color: #181b1d;--terra-button-group-button-active-color: #9b9b9b;--terra-button-group-button-background-color: #2d3539;--terra-button-group-button-border-color: #181b1d;--terra-button-group-button-box-shadow: none;--terra-button-group-button-color: #b2b5b6;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #1a2023;--terra-button-group-button-focus-border-color: #181b1d;--terra-button-group-button-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-hover-background-color: #1e272b;--terra-button-group-button-hover-color: #9b9b9b;--terra-button-group-button-active-box-shadow: none;--terra-button-group-button-selected-background-color: #1a2023;--terra-button-group-button-selected-border-color: #181b1d;--terra-button-group-button-selected-box-shadow: none;--terra-button-group-button-selected-color: #9b9b9b;--terra-button-group-button-selected-and-focus-background-color: #1a2023;--terra-button-group-button-selected-and-focus-border-color: #181b1d;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-selected-and-focus-color: #9b9b9b;--terra-button-group-button-selected-and-hover-background-color: #121517;--terra-button-group-button-selected-and-hover-border-color: #181b1d;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #9b9b9b;--terra-button-group-button-border-bottom-left-radius: 0.2142em;--terra-button-group-button-border-top-left-radius: 0.2142rem;--terra-button-group-button-border-bottom-right-radius: 0.2142em;--terra-button-group-button-border-top-right-radius: 0.2142rem}.ButtonGroup-module__orion-fusion-theme___BkFFY{--terra-button-group-button-background-color: #dedfe0;--terra-button-group-button-border-color: #6f7477;--terra-button-group-button-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4;--terra-button-group-button-color: #000;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #9b9fa1;--terra-button-group-button-focus-border-color: #6f7477;--terra-button-group-button-focus-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4, 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-hover-background-color: #b2b5b6;--terra-button-group-button-hover-color: #000;--terra-button-group-button-selected-and-hover-background-color: #52585b;--terra-button-group-button-selected-and-hover-border-color: #6f7477;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #fff;--terra-button-group-button-selected-and-focus-background-color: #52585b;--terra-button-group-button-selected-and-focus-border-color: #6f7477;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-selected-and-focus-color: #fff;--terra-button-group-button-selected-background-color: #52585b;--terra-button-group-button-selected-border-color: #6f7477;--terra-button-group-button-selected-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-selected-color: #fff;--terra-button-group-button-active-background-color: #52585b;--terra-button-group-button-active-border-color: #6f7477;--terra-button-group-button-active-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-active-color: #fff;--terra-button-group-button-border-bottom-left-radius: 3px;--terra-button-group-button-border-top-left-radius: 3px;--terra-button-group-button-border-bottom-right-radius: 3px;--terra-button-group-button-border-top-right-radius: 3px}.ButtonGroup-module__button-group___iIAAg{display:-ms-inline-flexbox;display:inline-flex;position:relative;vertical-align:middle;white-space:nowrap}.ButtonGroup-module__button-group-button___YB1ME{color:#1c1f21;color:var(--terra-button-group-button-color, #1c1f21);font-weight:400;font-weight:var(--terra-button-group-button-font-weight, 400);position:relative}[dir] .ButtonGroup-module__button-group-button___YB1ME{background-color:#dedfe0;background-color:var(--terra-button-group-button-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-border-color, #c8cacb);border-radius:0;border-style:solid;border-width:1px;box-shadow:none;box-shadow:var(--terra-button-group-button-box-shadow, none);margin:0}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-disabled___rqrG9,.ButtonGroup-module__button-group-button___YB1ME:disabled{opacity:0.3;opacity:var(--terra-button-group-button-disabled-opacity, 0.3)}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{z-index:1000}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{background-color:#dedfe0;background-color:var(--terra-button-group-button-focus-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-focus-border-color, #c8cacb);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){.ButtonGroup-module__button-group-button___YB1ME:hover{color:#000;color:var(--terra-button-group-button-hover-color, #000)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover{background-color:#b9bbbc;background-color:var(--terra-button-group-button-hover-background-color, #b9bbbc)}.ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-and-hover-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{background-color:#40474a;background-color:var(--terra-button-group-button-selected-and-hover-background-color, #40474a);border-color:#40474a;border-color:var(--terra-button-group-button-selected-and-hover-border-color, #40474a);box-shadow:var(--terra-button-group-button-selected-and-hover-box-shadow)}}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{color:#fff;color:var(--terra-button-group-button-selected-and-focus-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{background-color:#52585b;background-color:var(--terra-button-group-button-selected-and-focus-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-and-focus-border-color, #52585b);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-selected-and-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{background-color:#52585b;background-color:var(--terra-button-group-button-selected-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-border-color, #52585b);box-shadow:var(--terra-button-group-button-selected-box-shadow)}.ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718,.ButtonGroup-module__button-group-button___YB1ME:active{color:#fff;color:var(--terra-button-group-button-active-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718, [dir] .ButtonGroup-module__button-group-button___YB1ME:active{background-color:#52585b;background-color:var(--terra-button-group-button-active-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-active-border-color, #52585b);box-shadow:var(--terra-button-group-button-active-box-shadow)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-left:-1px}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-right:-1px}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}.ButtonGroup-module__is-block___otiJA{width:100%}.ButtonGroup-module__is-block___otiJA .ButtonGroup-module__button-group-button___YB1ME{-ms-flex:1 1 auto;flex:1 1 auto} +.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}@media(max-width: 320px),(max-height: 256px){.Arrange-module__fit___tv8j-{-ms-flex:0 0;flex:0 0}} diff --git a/pull/1911/14138-9abd8e54926bdde6e6cb.js b/pull/1911/14138-9abd8e54926bdde6e6cb.js new file mode 100644 index 00000000000..c674dd91299 --- /dev/null +++ b/pull/1911/14138-9abd8e54926bdde6e6cb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[14138],{50668:function(e,t,l){var n=l(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(l(56690)),o=n(l(89728)),u=n(l(66115)),r=n(l(61655)),i=n(l(94993)),c=n(l(73808)),d=n(l(67294)),s=n(l(29690)),f=n(l(68559)),m=n(l(75852)),b=n(l(66053)),g=n(l(87491)),h=n(l(94809)),y=n(l(2396)),p=n(l(57927));function O(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var l,n=(0,c.default)(e);if(t){var a=(0,c.default)(this).constructor;l=Reflect.construct(n,arguments,a)}else l=n.apply(this,arguments);return(0,i.default)(this,l)}}var v=function(e){(0,r.default)(l,e);var t=O(l);function l(e){var n;return(0,a.default)(this,l),(n=t.call(this,e)).handleDisplayTypeChange=n.handleDisplayTypeChange.bind((0,u.default)(n)),n.handleToggleOneOnChange=n.handleToggleOneOnChange.bind((0,u.default)(n)),n.handleToggleTwoOnChange=n.handleToggleTwoOnChange.bind((0,u.default)(n)),n.handleToggleThreeOnChange=n.handleToggleThreeOnChange.bind((0,u.default)(n)),n.handleMenuButtonClick=n.handleMenuButtonClick.bind((0,u.default)(n)),n.state={toggle1Selection:!1,toggle2Selection:!1,toggle3Selection:!1,displayType:"tableView",buttonClickCount:0},n}return(0,o.default)(l,[{key:"handleMenuButtonClick",value:function(){this.setState((function(e){return{buttonClickCount:e.buttonClickCount+1}}))}},{key:"handleToggleOneOnChange",value:function(e,t){this.setState({toggle1Selection:t})}},{key:"handleToggleTwoOnChange",value:function(e,t){this.setState({toggle2Selection:t})}},{key:"handleToggleThreeOnChange",value:function(e,t){this.setState({toggle3Selection:t})}},{key:"handleDisplayTypeChange",value:function(e,t){this.setState({displayType:t})}},{key:"render",value:function(){return d.default.createElement(p.default,{isStartAligned:!0},d.default.createElement(p.default.Toggle,{text:"Toggle Item 1",className:"ToggleItem1",key:"toggle1",shouldCloseOnClick:!1,onChange:this.handleToggleOneOnChange,isSelected:this.state.toggle1Selection}),d.default.createElement(p.default.Toggle,{text:"Toggle Item 2",className:"ToggleItem2",key:"toggle2",shouldCloseOnClick:!1,onChange:this.handleToggleTwoOnChange,isSelected:this.state.toggle2Selection}),d.default.createElement(p.default.Toggle,{text:"Toggle Item 3",className:"ToggleItem3",key:"toggle3",shouldCloseOnClick:!1,onChange:this.handleToggleThreeOnChange,isSelected:this.state.toggle3Selection}),d.default.createElement(p.default.Divider,{key:"Divider1"}),d.default.createElement(p.default.Item,{text:"Menu Button 1",key:"MenuButton1",className:"MenuButton1",onClick:this.handleMenuButtonClick,shouldCloseOnClick:!1,subMenuItems:[d.default.createElement(p.default.Item,{text:"Default Item 1",key:"defaultItem1"}),d.default.createElement(p.default.Item,{text:"Default Item 2",key:"defaultItem2"})]}),d.default.createElement(p.default.Item,{text:"MenuButton 2",key:"MenuButton2",className:"MenuButton2",shouldCloseOnClick:!1,subMenuItems:[d.default.createElement(p.default.Item,{text:"Default Item 1",key:"defaultItem1"}),d.default.createElement(p.default.Item,{text:"Default Item 2",key:"defaultItem2"})]}),d.default.createElement(p.default.Item,{text:"MenuButton 3",key:"MenuButton3",className:"MenuButton3",shouldCloseOnClick:!1,subMenuItems:[d.default.createElement(p.default.Item,{text:"Default Item 1",key:"defaultItem1"}),d.default.createElement(p.default.Item,{text:"Default Item 2",key:"defaultItem2"})]}),d.default.createElement(p.default.Divider,{key:"Divider2"}),d.default.createElement(p.default.ItemGroup,{key:"ViewTypeSelection",className:"ViewTypeGroup",selectedKeys:[this.state.displayType],onChange:this.handleDisplayTypeChange},d.default.createElement(p.default.Item,{icon:d.default.createElement(s.default,null),text:"Table View",className:"TableView",key:"tableView",isIconOnly:!0,shouldCloseOnClick:!1,isSelected:"tableView"===this.state.displayType}),d.default.createElement(p.default.Item,{icon:d.default.createElement(f.default,null),text:"Expanded View",className:"ExpandedView",key:"expandedView",isIconOnly:!0,shouldCloseOnClick:!1,isSelected:"expandedView"===this.state.displayType}),d.default.createElement(p.default.Item,{icon:d.default.createElement(m.default,null),text:"Trending View",className:"TendingView",key:"trendingView",isIconOnly:!0,shouldCloseOnClick:!1,isSelected:"trendingView"===this.state.displayType})),d.default.createElement(p.default.Divider,{key:"Divider3"}),d.default.createElement(p.default.Item,{icon:d.default.createElement(b.default,null),text:"Send Message",className:"SendMessage",key:"send",isIconOnly:!0}),d.default.createElement(p.default.ItemGroup,{className:"MessageActionGroup",key:"messageActionGroup"},d.default.createElement(p.default.Item,{icon:d.default.createElement(g.default,null),text:"Print Message",className:"Print",key:"print",isIconOnly:!0}),d.default.createElement(p.default.Item,{icon:d.default.createElement(h.default,null),text:"Move Message to Folder...",className:"Move",key:"move",isIconOnly:!0}),d.default.createElement(p.default.Item,{icon:d.default.createElement(y.default,null),text:"Trash Message",key:"trash",className:"Trash",isIconOnly:!0})),d.default.createElement(p.default.Divider,{key:"Divider4"}),d.default.createElement(p.default.Item,{text:"Button 1",className:"Button1",key:"button1"}),d.default.createElement(p.default.Item,{text:"Button 2",className:"Button2",key:"button2"}),d.default.createElement(p.default.Item,{text:"Button 3",className:"Button3",key:"button3"}),d.default.createElement(p.default.Item,{text:"Button 4",className:"Button4",key:"button4"}),d.default.createElement(p.default.Item,{text:"Button 5",className:"Button5",key:"button5"}),d.default.createElement(p.default.Item,{text:"Button 6",className:"Button6",key:"button6"}),d.default.createElement(p.default.Item,{text:"Button 7",className:"Button7",key:"button7"}),d.default.createElement(p.default.Item,{text:"Button 8",className:"Button8",key:"button8"}))}}]),l}(d.default.Component);t.default=v},66633:function(e,t,l){l.r(t),t.default={arrange:"Arrange-module__arrange___hY0Ml",fill:"Arrange-module__fill___m88eq",fit:"Arrange-module__fit___tv8j-",center:"Arrange-module__center___9qfhG",bottom:"Arrange-module__bottom___8beod",stretch:"Arrange-module__stretch___eQF-k",default:"Arrange-module__default___z+O29"}},12472:function(e,t,l){l.r(t),t.default={"clinical-lowlight-theme":"Checkbox-module__clinical-lowlight-theme___J4i3C","orion-fusion-theme":"Checkbox-module__orion-fusion-theme___ZTiEC",checkbox:"Checkbox-module__checkbox___pLlkO",label:"Checkbox-module__label___96oeA","is-mobile":"Checkbox-module__is-mobile___HQ1Ax","native-input":"Checkbox-module__native-input___9pZ94","label-text":"Checkbox-module__label-text___NBjgG","is-hidden":"Checkbox-module__is-hidden___q9DyW","is-disabled":"Checkbox-module__is-disabled___pimXj","is-inline":"Checkbox-module__is-inline___8-h-C"}},78490:function(e,t,l){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AlignmentTypes=void 0;var a=c(l(67294)),o=c(l(45697)),u=c(l(47166)),r=c(l(66633)),i=["fitStart","fill","fitEnd","align","alignFitStart","alignFill","alignFitEnd","fitStartAttributes","fillAttributes","fitEndAttributes"];function c(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[l]=e[l]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}t.AlignmentTypes={CENTER:"center",BOTTOM:"bottom",STRETCH:"stretch"};var g=u.default.bind(r.default),h={fitStart:o.default.element,fill:o.default.element.isRequired,fitEnd:o.default.element,align:o.default.oneOf(["center","bottom","stretch"]),alignFitStart:o.default.oneOf(["center","bottom","stretch"]),alignFitEnd:o.default.oneOf(["center","bottom","stretch"]),alignFill:o.default.oneOf(["center","bottom","stretch"]),fitStartAttributes:o.default.object,fillAttributes:o.default.object,fitEndAttributes:o.default.object},y=function(e){var t=e.fitStart,l=e.fill,n=e.fitEnd,o=e.align,u=e.alignFitStart,r=e.alignFill,c=e.alignFitEnd,s=e.fitStartAttributes,m=e.fillAttributes,h=e.fitEndAttributes,y=b(e,i),p=f({},s),O=f({},m),v=f({},h);return a.default.createElement("span",d({},y,{className:g("arrange",y.className)}),a.default.createElement("span",d({},p,{className:g("fit",o||u,p.className,"fit-block")}),t),a.default.createElement("span",d({},O,{className:g("fill",o||r,O.className,"fill-block")}),l),a.default.createElement("span",d({},v,{className:g("fit",o||c,v.className)}),n))};y.propTypes=h;t.default=y},15185:function(e,t,l){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=f(l(67294)),o=f(l(45697)),u=f(l(94184)),r=f(l(47166)),i=f(l(47341)),c=f(l(12472)),d=f(l(84538)),s=["checked","defaultChecked","inputAttrs","id","disabled","isInline","isLabelHidden","labelText","labelTextAttrs","name","onBlur","onChange","onFocus","value"];function f(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[l]=e[l]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(a[l]=e[l])}return a}var y=r.default.bind(c.default),p={checked:o.default.bool,defaultChecked:o.default.bool,id:o.default.string,inputAttrs:o.default.object,disabled:o.default.bool,isInline:o.default.bool,isLabelHidden:o.default.bool,labelText:o.default.string.isRequired,labelTextAttrs:o.default.object,name:o.default.string,onBlur:o.default.func,onChange:o.default.func,onFocus:o.default.func,value:o.default.string},O={checked:void 0,defaultChecked:void 0,id:void 0,inputAttrs:{},disabled:!1,isInline:!1,isLabelHidden:!1,labelTextAttrs:{},name:null,onBlur:void 0,onChange:void 0,onFocus:void 0,value:void 0},v=function(e){var t=e.checked,l=e.defaultChecked,n=e.inputAttrs,o=e.id,r=e.disabled,c=e.isInline,f=e.isLabelHidden,p=e.labelText,O=e.labelTextAttrs,v=e.name,_=e.onBlur,k=e.onChange,C=e.onFocus,E=e.value,T=h(e,s),x=a.default.useContext(i.default),I=function(e){for(var t=1;t0||navigator.msMaxTouchPoints>0)}};e.exports=t}}]); \ No newline at end of file diff --git a/pull/1911/14152-059d053e714863f6395f.js b/pull/1911/14152-059d053e714863f6395f.js new file mode 100644 index 00000000000..3909dc61719 --- /dev/null +++ b/pull/1911/14152-059d053e714863f6395f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[14152,60514,87538,75739,57670],{22863:function(e,t,a){var n=a(64836);t.Z=void 0;var l=n(a(67294)),r=n(a(45697)),o=n(a(47166)),u=n(a(17422)),c=o.default.bind(u.default),d={name:r.default.string.isRequired,src:r.default.string,url:r.default.string,version:r.default.string.isRequired},i=function(e){var t=e.src,a=e.name,n=e.url,r=e.version,o=l.default.createElement("a",{className:c("badge"),href:n||"https://www.npmjs.org/package/".concat(a,"/v/").concat(r)},l.default.createElement("span",{className:c("badge-name")},n?"package":"npm"),l.default.createElement("span",{className:c("badge-version")},"v".concat(r))),u=t?l.default.createElement("a",{className:c("badge"),href:t},l.default.createElement("span",{className:c("badge-name")},"github"),l.default.createElement("span",{className:c("badge-version")},"source")):void 0;return l.default.createElement("div",{className:c("badge-container")},o,u)};i.propTypes=d;var s=i;t.Z=s},49271:function(e,t,a){var n=a(64836),l=a(18698);t.Z=void 0;var r=n(a(27424)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var a=f(t);if(a&&a.has(e))return a.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=r?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(n,o,u):n[o]=e[o]}n.default=e,a&&a.set(e,n);return n}(a(67294)),u=n(a(45697)),c=n(a(47166)),d=a(21538),i=n(a(33864)),s=n(a(23399)),m=a(51051),_=n(a(53560));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(f=function(e){return e?a:t})(e)}var p=c.default.bind(_.default),v={example:u.default.element,exampleSrc:u.default.element,exampleCssSrc:u.default.element,title:u.default.string,description:u.default.node,isExpanded:u.default.bool},b=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},g=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},h=function(e){var t=e.example,a=e.exampleSrc,n=e.exampleCssSrc,l=e.title,u=e.description,c=e.isExpanded,_=(0,o.useState)(c),f=(0,r.default)(_,2),v=f[0],h=f[1],E=(0,o.useState)(!1),y=(0,r.default)(E,2),N=y[0],O=y[1],x=o.default.useContext(d.ThemeContext),w=void 0!==n,j=function(){O(!N),v&&h(!v)},P=function(){h(!v),N&&O(!N)},T=function(e,t){e.nativeEvent.keyCode!==m.KEY_SPACE&&e.nativeEvent.keyCode!==m.KEY_RETURN||(e.preventDefault(),t())};return o.default.createElement("div",{className:p("template",x.className)},o.default.createElement("div",{className:p("header")},l&&o.default.createElement("h2",{className:p("title")},l)),o.default.createElement("div",{className:p("content")},u&&o.default.createElement("div",{className:p("description")},u),t),o.default.createElement("div",{className:p("footer")},a?o.default.createElement("div",{className:p("button-container")},w&&o.default.createElement("button",{type:"button",className:p("css-toggle","item",{"is-selected":N}),onClick:j,onKeyDown:function(e){return T(e,j)},onBlur:b,onMouseDown:g,tabIndex:0,"data-focus-styles-enabled":!0},o.default.createElement(i.default,{className:p("chevron")}),o.default.createElement("span",null,"CSS"),o.default.createElement(s.default,{className:p("chevron")})),o.default.createElement("button",{type:"button",className:p("code-toggle","item",{"is-selected":v}),onClick:P,onKeyDown:function(e){return T(e,P)},onBlur:b,onMouseDown:g,tabIndex:0,"data-focus-styles-enabled":!0},o.default.createElement(i.default,{className:p("chevron")}),o.default.createElement("span",null,"Code"),o.default.createElement(s.default,{className:p("chevron")}))):null,o.default.createElement("div",null,N&&o.default.createElement("div",{className:p("css")},n),v&&o.default.createElement("div",{className:p("code")},a))))};h.propTypes=v,h.defaultProps={isExpanded:!1};var E=h;t.Z=E},40996:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=d(a(67294)),l=d(a(45697)),r=d(a(47166)),o=d(a(47341)),u=d(a(66983)),c=["children"];function d(e){return e&&e.__esModule?e:{default:e}}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(l[a]=e[a]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}var m=r.default.bind(u.default),_=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},f=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},p={children:l.default.string},v=function(e){var t=e.children,a=s(e,c),l=n.default.useContext(o.default),u=(0,r.default)(m(["button",l.className]),a.className);return n.default.createElement("button",i({},a,{type:"button",className:u,onBlur:_,onMouseDown:f,"data-focus-styles-enabled":!0}),t)};v.propTypes=p;var b=v;t.default=b},59278:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(a(67294)),l=c(a(45697)),r=c(a(47166)),o=c(a(47341)),u=c(a(30866));function c(e){return e&&e.__esModule?e:{default:e}}var d=r.default.bind(u.default),i={ariaLevel:l.default.oneOf(["2","3","4","5","6"]),children:l.default.node,variant:l.default.oneOf(["ux-recommendation","caution","deprecation","maintenance","important","not-supported"])},s=function(e){var t=e.ariaLevel,a=e.variant,l=e.children,r=n.default.useContext(o.default);return n.default.createElement("div",{className:d("notice",a,r.className)},n.default.createElement("div",{className:d("accessory"),"aria-hidden":"true",focusable:"false"}),n.default.createElement("div",{role:"heading",className:d("title"),"aria-level":t},n.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"}(a))),n.default.createElement("div",{className:d("children")},function(e){return"not-supported"===e?n.default.createElement(n.default.Fragment,null,n.default.createElement("p",{className:d("paragraph")},"This component was designed and tested according to the documented implementation."),n.default.createElement("p",{className:d("paragraph")},"Using the component incorrectly:",n.default.createElement("ul",{className:d("list")},n.default.createElement("li",null,"will likely result in improper composition and create accessibility issues"),n.default.createElement("li",null,"may cause erratic or broken behaviors and styles"),n.default.createElement("li",null,n.default.createElement("strong",null,"will not be supported "),"or enhanced to allow for incorrect use")))):null}(a),n.default.Children.map(l,(function(e){return"string"==typeof e?n.default.createElement("p",null,e):e}))))};s.propTypes=i,s.defaultProps={ariaLevel:"2",variant:"important"};var m=s;t.default=m},47306:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(a(67294)),l=i(a(45697)),r=i(a(94184)),o=i(a(47166)),u=i(a(47341)),c=i(a(42620)),d=["title"];function i(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[a]=e[a]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}var _=o.default.bind(c.default),f={title:l.default.string},p=function(e){var t=e.title,a=m(e,d),l=n.default.useContext(u.default),o=(0,r.default)(_(["placeholder",l.className]),a.className),c=_(["inner"]);return n.default.createElement("div",s({},a,{className:o}),n.default.createElement("div",{className:c},n.default.createElement("p",{className:_("title")},t)))};p.propTypes=f,p.defaultProps={title:""};var v=p;t.default=v},34261:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Notice",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return l.default}});var n=o(a(59278)),l=o(a(47306)),r=o(a(40996));function o(e){return e&&e.__esModule?e:{default:e}}},17422:function(e,t,a){a.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"}},53560:function(e,t,a){a.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"}},66983:function(e,t,a){a.r(t),t.default={"clinical-lowlight-theme":"Button-module__clinical-lowlight-theme___TyZWB","orion-fusion-theme":"Button-module__orion-fusion-theme___q-FcQ",button:"Button-module__button___QuCn2","is-active":"Button-module__is-active___Z8AuK"}},30866:function(e,t,a){a.r(t),t.default={"clinical-lowlight-theme":"Notice-module__clinical-lowlight-theme___aa5xV","orion-fusion-theme":"Notice-module__orion-fusion-theme___QAE-T",notice:"Notice-module__notice___GWkPA",children:"Notice-module__children___lDYsm",accessory:"Notice-module__accessory___wkLOG",title:"Notice-module__title___6H5tc","ux-recommendation":"Notice-module__ux-recommendation___N8BuK",caution:"Notice-module__caution___hPrVl",deprecation:"Notice-module__deprecation___g1drA",maintenance:"Notice-module__maintenance___kWLIZ",important:"Notice-module__important___p5DiF","not-supported":"Notice-module__not-supported___34bHd",paragraph:"Notice-module__paragraph___5h-w1",list:"Notice-module__list___M2Kxj"}},42620:function(e,t,a){a.r(t),t.default={"clinical-lowlight-theme":"Placeholder-module__clinical-lowlight-theme___Obm9K","orion-fusion-theme":"Placeholder-module__orion-fusion-theme___svHY+",placeholder:"Placeholder-module__placeholder___ZZDXd",inner:"Placeholder-module__inner___fJq9o",title:"Placeholder-module__title___teBSo"}},33864:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(a(67294)),l=r(a(99139));function r(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}l.d(a,{Z:function(){return d}})}}]); \ No newline at end of file diff --git a/pull/1911/14432-6e8d24b4803365cd83fb.css b/pull/1911/14432-6e8d24b4803365cd83fb.css new file mode 100644 index 00000000000..10909ec125a --- /dev/null +++ b/pull/1911/14432-6e8d24b4803365cd83fb.css @@ -0,0 +1 @@ +.SizeLargePopup-test-module__test-popup-area___Lme\+H{height:300px;width:1000px}[dir] .SizeLargePopup-test-module__test-popup-area___Lme\+H{background:#f0f8ff}.SizeLargePopup-test-module__content-wrapper___NhWp5{height:100%;overflow:scroll;position:relative;width:100%} diff --git a/pull/1911/14432-6e8d24b4803365cd83fb.js b/pull/1911/14432-6e8d24b4803365cd83fb.js new file mode 100644 index 00000000000..8a26dd3544d --- /dev/null +++ b/pull/1911/14432-6e8d24b4803365cd83fb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[14432],{14432:function(e,t,n){var o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=o(n(56690)),a=o(n(89728)),r=o(n(66115)),l=o(n(61655)),d=o(n(94993)),s=o(n(73808)),i=o(n(67294)),f=o(n(47166)),c=o(n(92306)),p=o(n(60598));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,s.default)(e);if(t){var u=(0,s.default)(this).constructor;n=Reflect.construct(o,arguments,u)}else n=o.apply(this,arguments);return(0,d.default)(this,n)}}var N=f.default.bind(p.default),v=function(e){(0,l.default)(n,e);var t=h(n);function n(e){var o;return(0,u.default)(this,n),(o=t.call(this,e)).handleButtonClick=o.handleButtonClick.bind((0,r.default)(o)),o.handleRequestClose=o.handleRequestClose.bind((0,r.default)(o)),o.setButtonNode=o.setButtonNode.bind((0,r.default)(o)),o.getButtonNode=o.getButtonNode.bind((0,r.default)(o)),o.setParentNode=o.setParentNode.bind((0,r.default)(o)),o.getParentNode=o.getParentNode.bind((0,r.default)(o)),o.state={open:!0},o}return(0,a.default)(n,[{key:"componentDidMount",value:function(){this.forceUpdate()}},{key:"handleButtonClick",value:function(){this.setState({open:!0})}},{key:"handleRequestClose",value:function(){this.setState({open:!1})}},{key:"setButtonNode",value:function(e){this.buttonNode=e}},{key:"getButtonNode",value:function(){return this.buttonNode}},{key:"setParentNode",value:function(e){this.parentNode=e}},{key:"getParentNode",value:function(){return this.parentNode}},{key:"render",value:function(){return i.default.createElement("div",{className:N("content-wrapper")},i.default.createElement("div",{id:"test-popup-area",className:N("test-popup-area"),ref:this.setParentNode},i.default.createElement(c.default,{boundingRef:this.getParentNode,classNameArrow:"test-arrow",classNameContent:"test-content",contentHeight:"240",contentWidth:"960",isOpen:this.state.open,onRequestClose:this.handleRequestClose,targetRef:this.getButtonNode},i.default.createElement("p",null,"This popup is 240h by 960w.")),i.default.createElement("button",{type:"button",id:"dimension-button",onClick:this.handleButtonClick,ref:this.setButtonNode},"Large Popup")))}}]),n}(i.default.Component);t.default=v},60598:function(e,t,n){n.r(t),t.default={"test-popup-area":"SizeLargePopup-test-module__test-popup-area___Lme+H","content-wrapper":"SizeLargePopup-test-module__content-wrapper___NhWp5"}}}]); \ No newline at end of file diff --git a/pull/1911/1450-d642f3faa99fa1becc7d.css b/pull/1911/1450-d642f3faa99fa1becc7d.css new file mode 100644 index 00000000000..9c63a07e3a4 --- /dev/null +++ b/pull/1911/1450-d642f3faa99fa1becc7d.css @@ -0,0 +1,3 @@ +.ButtonGroup-module__clinical-lowlight-theme___El\+dS{--terra-button-group-button-active-background-color: #1a2023;--terra-button-group-button-active-border-color: #181b1d;--terra-button-group-button-active-color: #9b9b9b;--terra-button-group-button-background-color: #2d3539;--terra-button-group-button-border-color: #181b1d;--terra-button-group-button-box-shadow: none;--terra-button-group-button-color: #b2b5b6;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #1a2023;--terra-button-group-button-focus-border-color: #181b1d;--terra-button-group-button-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-hover-background-color: #1e272b;--terra-button-group-button-hover-color: #9b9b9b;--terra-button-group-button-active-box-shadow: none;--terra-button-group-button-selected-background-color: #1a2023;--terra-button-group-button-selected-border-color: #181b1d;--terra-button-group-button-selected-box-shadow: none;--terra-button-group-button-selected-color: #9b9b9b;--terra-button-group-button-selected-and-focus-background-color: #1a2023;--terra-button-group-button-selected-and-focus-border-color: #181b1d;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-selected-and-focus-color: #9b9b9b;--terra-button-group-button-selected-and-hover-background-color: #121517;--terra-button-group-button-selected-and-hover-border-color: #181b1d;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #9b9b9b;--terra-button-group-button-border-bottom-left-radius: 0.2142em;--terra-button-group-button-border-top-left-radius: 0.2142rem;--terra-button-group-button-border-bottom-right-radius: 0.2142em;--terra-button-group-button-border-top-right-radius: 0.2142rem}.ButtonGroup-module__orion-fusion-theme___BkFFY{--terra-button-group-button-background-color: #dedfe0;--terra-button-group-button-border-color: #6f7477;--terra-button-group-button-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4;--terra-button-group-button-color: #000;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #9b9fa1;--terra-button-group-button-focus-border-color: #6f7477;--terra-button-group-button-focus-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4, 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-hover-background-color: #b2b5b6;--terra-button-group-button-hover-color: #000;--terra-button-group-button-selected-and-hover-background-color: #52585b;--terra-button-group-button-selected-and-hover-border-color: #6f7477;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #fff;--terra-button-group-button-selected-and-focus-background-color: #52585b;--terra-button-group-button-selected-and-focus-border-color: #6f7477;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-selected-and-focus-color: #fff;--terra-button-group-button-selected-background-color: #52585b;--terra-button-group-button-selected-border-color: #6f7477;--terra-button-group-button-selected-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-selected-color: #fff;--terra-button-group-button-active-background-color: #52585b;--terra-button-group-button-active-border-color: #6f7477;--terra-button-group-button-active-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-active-color: #fff;--terra-button-group-button-border-bottom-left-radius: 3px;--terra-button-group-button-border-top-left-radius: 3px;--terra-button-group-button-border-bottom-right-radius: 3px;--terra-button-group-button-border-top-right-radius: 3px}.ButtonGroup-module__button-group___iIAAg{display:-ms-inline-flexbox;display:inline-flex;position:relative;vertical-align:middle;white-space:nowrap}.ButtonGroup-module__button-group-button___YB1ME{color:#1c1f21;color:var(--terra-button-group-button-color, #1c1f21);font-weight:400;font-weight:var(--terra-button-group-button-font-weight, 400);position:relative}[dir] .ButtonGroup-module__button-group-button___YB1ME{background-color:#dedfe0;background-color:var(--terra-button-group-button-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-border-color, #c8cacb);border-radius:0;border-style:solid;border-width:1px;box-shadow:none;box-shadow:var(--terra-button-group-button-box-shadow, none);margin:0}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-disabled___rqrG9,.ButtonGroup-module__button-group-button___YB1ME:disabled{opacity:0.3;opacity:var(--terra-button-group-button-disabled-opacity, 0.3)}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{z-index:1000}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{background-color:#dedfe0;background-color:var(--terra-button-group-button-focus-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-focus-border-color, #c8cacb);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){.ButtonGroup-module__button-group-button___YB1ME:hover{color:#000;color:var(--terra-button-group-button-hover-color, #000)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover{background-color:#b9bbbc;background-color:var(--terra-button-group-button-hover-background-color, #b9bbbc)}.ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-and-hover-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{background-color:#40474a;background-color:var(--terra-button-group-button-selected-and-hover-background-color, #40474a);border-color:#40474a;border-color:var(--terra-button-group-button-selected-and-hover-border-color, #40474a);box-shadow:var(--terra-button-group-button-selected-and-hover-box-shadow)}}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{color:#fff;color:var(--terra-button-group-button-selected-and-focus-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{background-color:#52585b;background-color:var(--terra-button-group-button-selected-and-focus-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-and-focus-border-color, #52585b);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-selected-and-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{background-color:#52585b;background-color:var(--terra-button-group-button-selected-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-border-color, #52585b);box-shadow:var(--terra-button-group-button-selected-box-shadow)}.ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718,.ButtonGroup-module__button-group-button___YB1ME:active{color:#fff;color:var(--terra-button-group-button-active-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718, [dir] .ButtonGroup-module__button-group-button___YB1ME:active{background-color:#52585b;background-color:var(--terra-button-group-button-active-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-active-border-color, #52585b);box-shadow:var(--terra-button-group-button-active-box-shadow)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-left:-1px}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-right:-1px}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}.ButtonGroup-module__is-block___otiJA{width:100%}.ButtonGroup-module__is-block___otiJA .ButtonGroup-module__button-group-button___YB1ME{-ms-flex:1 1 auto;flex:1 1 auto} +.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)} +[dir] .TimeInput-test-module__content-wrapper___9EMnN{margin:10px} diff --git a/pull/1911/1450-d642f3faa99fa1becc7d.js b/pull/1911/1450-d642f3faa99fa1becc7d.js new file mode 100644 index 00000000000..bc6b7310975 --- /dev/null +++ b/pull/1911/1450-d642f3faa99fa1becc7d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[1450],{34505:function(e,t,r){var n=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67294)),u=n(r(47166)),l=n(r(43671)),a=n(r(90592)),i=n(r(7009)),f=u.default.bind(i.default);t.default=function(){return o.default.createElement("div",{className:f("content-wrapper")},o.default.createElement(l.default,{id:"timeInput",name:"time-input",variant:a.default.FORMAT_12_HOUR,required:!0,isIncomplete:!0}))}},68586:function(e,t,r){r.r(t),t.default={"clinical-lowlight-theme":"Input-module__clinical-lowlight-theme___clY96","orion-fusion-theme":"Input-module__orion-fusion-theme___phvH5","form-input":"Input-module__form-input___Fk8kb","form-error":"Input-module__form-error___aU4hq","form-incomplete":"Input-module__form-incomplete___h4I7H"}},7009:function(e,t,r){r.r(t),t.default={"content-wrapper":"TimeInput-test-module__content-wrapper___9EMnN"}},55142:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=p(r(67294)),u=p(r(45697)),l=p(r(94184)),a=p(r(47166)),i=p(r(47341)),f=p(r(68586)),c=["defaultValue","disabled","isIncomplete","isInvalid","onBlur","onChange","onFocus","onInput","name","pattern","refCallback","required","type","ariaLabel","value"];function p(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e,t){for(var r=0;r.Fieldset-module__legend___aExR-:first-child::before{color:#e50000;color:var(--terra-form-fieldset-required-legend-before-color, #e50000);content:"*";display:inline-block}[dir=ltr] .Fieldset-module__fieldset-required___aTps3>.Fieldset-module__legend___aExR-:first-child::before{padding-right:.357em}[dir=rtl] .Fieldset-module__fieldset-required___aTps3>.Fieldset-module__legend___aExR-:first-child::before{padding-left:.357em}.Fieldset-module__legend___aExR-{color:var(--terra-form-fieldset-legend-color);display:block;font-weight:bold;font-weight:var(--terra-form-fieldset-legend-font-weight, bold);max-width:100%;width:auto}[dir] .Fieldset-module__legend___aExR-{border:0;margin-bottom:.357em;padding:0}.Fieldset-module__legend-visually-hidden___70GQh{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;width:1px}[dir] .Fieldset-module__legend-visually-hidden___70GQh{border:0;margin:-1px;padding:0}.Fieldset-module__help-text___IuP4F{color:rgba(0, 0, 0, 0.8);color:var(--terra-form-fieldset-help-text-color, rgba(0, 0, 0, 0.8));display:block;font-size:0.857rem;font-size:var(--terra-form-fieldset-help-text-font-size, 0.857rem);font-weight:normal;font-weight:var(--terra-form-fieldset-help-text-font-weight, normal);line-height:1;outline:0}[dir] .Fieldset-module__help-text___IuP4F{margin-bottom:.357em}[dir] .Fieldset-module__fieldset-children___YkIkm{margin-top:.714em} +.TabsTemplate-module__content-wrapper-default___8tJaQ{height:auto;width:auto}.TabsTemplate-module__content-wrapper-600___FFMST{width:600px}.TabsTemplate-module__content-wrapper-400___\+UWwG{height:400px}.TabsTemplate-module__tab-content___oadEx{height:100%}[dir] .TabsTemplate-module__tab-content___oadEx{padding:20px}.TabsTemplate-module__content-container-vertical___LIDez{height:240px}.TabsTemplate-module__custom-display___7q4FS{color:red} diff --git a/pull/1911/14818-0facaf69862e69b6e2db.js b/pull/1911/14818-0facaf69862e69b6e2db.js new file mode 100644 index 00000000000..bcd4339e12a --- /dev/null +++ b/pull/1911/14818-0facaf69862e69b6e2db.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[14818],{96574:function(e,t,a){var l=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=l(a(861)),r=l(a(27424)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var a=v(t);if(a&&a.has(e))return a.get(e);var l={__proto__:null},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var u=d?Object.getOwnPropertyDescriptor(e,r):null;u&&(u.get||u.set)?Object.defineProperty(l,r,u):l[r]=e[r]}return l.default=e,a&&a.set(e,l),l}(a(67294)),i=l(a(47166)),c=l(a(68766)),o=l(a(50826)),f=l(a(76414)),s=l(a(79029)),b=l(a(47717)),m=l(a(55142)),p=l(a(96388)),_=l(a(66815)),T=l(a(82967));function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(v=function(e){return e?a:t})(e)}var y=i.default.bind(T.default),h=-1;t.default=function(){var e=[],t=(0,u.useState)(e),a=(0,r.default)(t,2),l=a[0],n=a[1],i=(0,u.useState)(),T=(0,r.default)(i,2),v=T[0],E=T[1];return e.push({label:"Patient Information",key:"AddCloseTabInteractiveLabelTab",content:"Patient Information",children:u.default.createElement(u.default.Fragment,null,u.default.createElement(s.default,{id:"default-radio",labelText:"Default Radio",name:"default",disabled:!0}),u.default.createElement(s.default,{id:"default1-radio",labelText:"Default Radio",name:"default"}))}),e.push({label:"Add Patient",icon:u.default.createElement(c.default,null),isIconOnly:!0,key:"AddCloseTabInteractiveIconTab",content:"Add Patient",children:u.default.createElement(u.default.Fragment,null,u.default.createElement("div",null,u.default.createElement(p.default,{type:"checkbox",legend:"Give your full name here",name:"children_present",value:"children_present",error:"All fields must be filled out",required:!0},u.default.createElement(b.default,{label:"First",isInline:!0,required:!0,htmlFor:"first"},u.default.createElement(m.default,{id:"first",type:"text",name:"first",defaultValue:""})),u.default.createElement(b.default,{label:"Middle",isInline:!0,required:!0,htmlFor:"middle"},u.default.createElement(m.default,{id:"middle",type:"text",name:"middle",defaultValue:""})),u.default.createElement(b.default,{label:"Last",isInline:!0,required:!0,htmlFor:"last"},u.default.createElement(m.default,{id:"last",type:"text",name:"last",defaultValue:""})))))}),e.push({label:"TPA & Insurance",customDisplay:u.default.createElement("div",{className:y("custom-display")},"TPA & Insurance"),key:"AddCloseTabInteractiveCustomTab",content:"TPA & Insurance"}),e.push({label:"Disabled Tab",key:"AddCloseTabInteractiveDisabledTab",icon:u.default.createElement(o.default,null),isDisabled:!0}),e.push({label:"List of Out-Patient Details Department Wise",key:"AddCloseTabInteractivelongLabel",content:"List of Out-Patient Details Department Wise"}),e.push({label:"Ambulance Service",key:"AddCloseTabInteractivelastTab",content:"Ambulance Service"}),u.default.createElement("div",{className:y("content-wrapper-default"),id:"tabs-container"},u.default.createElement(f.default,{onChange:function(e,t){t!==v&&E(t)},activeKey:v,isClosable:!0,onSelectAddButton:function(){h+=1;var e=l;e.push({label:"Added New Tab_".concat(h),isIconOnly:!1,key:"AddCloseTabInteractiveTab_".concat(h),content:"Added New Tab_".concat(h),isActive:!0}),E("AddCloseTabInteractiveTab_".concat(h)),n(e)},ariaLabelAddTab:"Add Tab",onTabClose:function(e,t){var a=(0,d.default)(l),r=a.findIndex((function(e){return e.key===t}));-1!==r&&(a.splice(r,1),n(a))}},l.map((function(e){return u.default.createElement(f.default.Pane,{label:e.label,isIconOnly:e.isIconOnly,customDisplay:e.customDisplay,isDisabled:e.isDisabled,icon:e.icon,key:e.key,id:e.key},u.default.createElement(_.default,{label:e.content},e.children))}))))}},66815:function(e,t,a){var l=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(a(67294)),d=l(a(47166)),r=l(a(45697)),u=l(a(82967)),i=d.default.bind(u.default),c={isLabelHidden:r.default.bool,label:r.default.string,children:r.default.node,id:r.default.string},o=function(e){var t=e.isLabelHidden,a=e.label,l=e.id,d=e.children;return n.default.createElement("div",{className:i("tab-content"),id:l},t?n.default.createElement("h3",{className:"truncationHeader"},a):null,d||n.default.createElement("div",null,"Content for"," ",n.default.createElement("i",null,a)))};o.propTypes=c;t.default=o},82967:function(e,t,a){a.r(t),t.default={"content-wrapper-default":"TabsTemplate-module__content-wrapper-default___8tJaQ","content-wrapper-600":"TabsTemplate-module__content-wrapper-600___FFMST","content-wrapper-400":"TabsTemplate-module__content-wrapper-400___+UWwG","tab-content":"TabsTemplate-module__tab-content___oadEx","content-container-vertical":"TabsTemplate-module__content-container-vertical___LIDez","custom-display":"TabsTemplate-module__custom-display___7q4FS"}}}]); \ No newline at end of file diff --git a/pull/1911/14901-e5a67eafbf770e095e6d.css b/pull/1911/14901-e5a67eafbf770e095e6d.css new file mode 100644 index 00000000000..052cf364d65 --- /dev/null +++ b/pull/1911/14901-e5a67eafbf770e095e6d.css @@ -0,0 +1 @@ +.TabsTemplate-module__content-wrapper-default___8tJaQ{height:auto;width:auto}.TabsTemplate-module__content-wrapper-600___FFMST{width:600px}.TabsTemplate-module__content-wrapper-400___\+UWwG{height:400px}.TabsTemplate-module__tab-content___oadEx{height:100%}[dir] .TabsTemplate-module__tab-content___oadEx{padding:20px}.TabsTemplate-module__content-container-vertical___LIDez{height:240px}.TabsTemplate-module__custom-display___7q4FS{color:red} diff --git a/pull/1911/14901-e5a67eafbf770e095e6d.js b/pull/1911/14901-e5a67eafbf770e095e6d.js new file mode 100644 index 00000000000..1a684180871 --- /dev/null +++ b/pull/1911/14901-e5a67eafbf770e095e6d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[14901],{66815:function(e,t,a){var l=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(a(67294)),d=l(a(47166)),u=l(a(45697)),r=l(a(82967)),f=d.default.bind(r.default),o={isLabelHidden:u.default.bool,label:u.default.string,children:u.default.node,id:u.default.string},i=function(e){var t=e.isLabelHidden,a=e.label,l=e.id,d=e.children;return n.default.createElement("div",{className:f("tab-content"),id:l},t?n.default.createElement("h3",{className:"truncationHeader"},a):null,d||n.default.createElement("div",null,"Content for"," ",n.default.createElement("i",null,a)))};i.propTypes=o;t.default=i},45390:function(e,t,a){var l=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(a(56690)),d=l(a(89728)),u=l(a(66115)),r=l(a(61655)),f=l(a(94993)),o=l(a(73808)),i=l(a(67294)),c=l(a(37532));function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=(0,o.default)(e);if(t){var n=(0,o.default)(this).constructor;a=Reflect.construct(l,arguments,n)}else a=l.apply(this,arguments);return(0,f.default)(this,a)}}var s=function(e){(0,r.default)(a,e);var t=b(a);function a(e){var l;return(0,n.default)(this,a),(l=t.call(this,e)).handleOnButtonClick=l.handleOnButtonClick.bind((0,u.default)(l)),l.state={containerClassName:"content-wrapper"},l}return(0,d.default)(a,[{key:"handleOnButtonClick",value:function(){this.setState({containerClassName:"content-wrapper-600"})}},{key:"render",value:function(){return i.default.createElement("div",{id:"responsiveToParent"},i.default.createElement("button",{type:"button",onClick:this.handleOnButtonClick},"Set Container Width to 600 px"),i.default.createElement(c.default,{containerClassName:this.state.containerClassName}))}}]),a}(i.default.Component);t.default=s},37532:function(e,t,a){var l=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(a(67294)),d=l(a(47166)),u=l(a(45697)),r=l(a(76414)),f=l(a(66815)),o=l(a(82967)),i=d.default.bind(o.default),c={id:u.default.string,containerClassName:u.default.string},b=function(e){return n.default.createElement("div",{className:i(e.containerClassName),id:"tabs-container"},n.default.createElement(r.default,{setFocusOnContent:!0,id:e.id},n.default.createElement(r.default.Pane,{label:"Tab 1",key:"Tab1",id:"tab1"},n.default.createElement(f.default,{label:"Tab 1",id:"tab1Content"})),n.default.createElement(r.default.Pane,{label:"Tab 2",key:"Tab2",id:"tab2"},n.default.createElement(f.default,{label:"Tab 2",id:"tab2Content"})),n.default.createElement(r.default.Pane,{label:"Disabled Tab",key:"disabled",id:"disabled",isDisabled:!0}),n.default.createElement(r.default.Pane,{label:"Tab 4",key:"Tab4",id:"tab4"},n.default.createElement(f.default,{label:"Tab 4",id:"tab4Content"})),n.default.createElement(r.default.Pane,{label:"Tab 5",key:"Tab5",id:"tab5"},n.default.createElement(f.default,{label:"Tab 5",id:"tab5Content"})),n.default.createElement(r.default.Pane,{label:"Tab 6",key:"Tab6",id:"tab6"},n.default.createElement(f.default,{label:"Tab 6",id:"tab6Content"})),n.default.createElement(r.default.Pane,{label:"Tab 7",key:"Tab7",id:"tab7"},n.default.createElement(f.default,{label:"Tab 7",id:"tab7Content"})),n.default.createElement(r.default.Pane,{label:"Tab 8 with longer text that should truncate",key:"Tab8",id:"tab8"},n.default.createElement(f.default,{label:"Tab 8",id:"tab8Content"})),n.default.createElement(r.default.Pane,{label:"Tab 9",key:"Tab9",id:"tab9"},n.default.createElement(f.default,{label:"Tab 9",id:"tab9Content"})),n.default.createElement(r.default.Pane,{label:"Tab 10",key:"Tab10",id:"tab10"},n.default.createElement(f.default,{label:"Tab 10",id:"tab10Content"})),n.default.createElement(r.default.Pane,{label:"Tab 11",key:"Tab11",id:"tab11"},n.default.createElement(f.default,{label:"Tab 11",id:"tab11Content"})),n.default.createElement(r.default.Pane,{label:"Tab 12",key:"Tab12",id:"tab12"},n.default.createElement(f.default,{label:"Tab 12",id:"tab12Content"}))))};b.propTypes=c,b.defaultProps={containerClassName:"content-wrapper-default"};t.default=b},82967:function(e,t,a){a.r(t),t.default={"content-wrapper-default":"TabsTemplate-module__content-wrapper-default___8tJaQ","content-wrapper-600":"TabsTemplate-module__content-wrapper-600___FFMST","content-wrapper-400":"TabsTemplate-module__content-wrapper-400___+UWwG","tab-content":"TabsTemplate-module__tab-content___oadEx","content-container-vertical":"TabsTemplate-module__content-container-vertical___LIDez","custom-display":"TabsTemplate-module__custom-display___7q4FS"}},30217:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=d(a(67294)),n=d(a(99139));function d(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(n[e]=a[e]);return n}(a,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(a);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(a,e)&&(n[e]=a[e])}return n}e.d(t,{Z:function(){return r}})}}]); \ No newline at end of file diff --git a/pull/1911/15173-df913ef000064c97e69b.css b/pull/1911/15173-df913ef000064c97e69b.css new file mode 100644 index 00000000000..3a36312df6e --- /dev/null +++ b/pull/1911/15173-df913ef000064c97e69b.css @@ -0,0 +1,9 @@ +.Cell-module__clinical-lowlight-theme___JlIUL{--terra-table-cell-border-bottom: 1px solid #181b1d;--terra-table-cell-border-left: 1px solid #181b1d;--terra-table-cell-border-right: 1px solid #181b1d;--terra-table-cell-selected-background-color: #1e3a49;--terra-table-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-highlight-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-odd-row-hover-background-color: #25282a;--terra-table-even-row-hover-background-color: #1d2225;--terra-table-pinned-columns-cell-border: 1px solid #181b1d}.Cell-module__orion-fusion-theme___HW1Ki{--terra-table-cell-border-bottom: 1px solid #c8cacb;--terra-table-cell-border-left: 1px solid #c8cacb;--terra-table-cell-border-right: 1px solid #c8cacb;--terra-table-cell-selected-background-color: #cbe7fa;--terra-table-odd-row-hover-background-color: #e0f2fb;--terra-table-even-row-hover-background-color: #d6e8f2;--terra-table-pinned-columns-cell-border: 1px solid #c8cacb}.Cell-module__cell___XID6c{font-weight:normal;position:relative}[dir] .Cell-module__cell___XID6c{border-bottom:1px solid #dedfe0;border-bottom:var(--terra-table-cell-border-bottom, 1px solid #dedfe0);padding:7px;padding:var(--terra-table-cell-content-padding, 7px)}[dir=ltr] .Cell-module__cell___XID6c{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=ltr] .Cell-module__cell___XID6c:first-child{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c:first-child{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir] .Cell-module__selected___3WHxU{background-color:#cbe7fa;background-color:var(--terra-table-cell-selected-background-color, #cbe7fa)}[dir=ltr] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=rtl] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=ltr] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}[dir=rtl] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}.Cell-module__cell-content___FhljD{overflow:hidden;overflow-wrap:break-word}[dir=ltr] .Cell-module__cell-content___FhljD{text-align:left}[dir=rtl] .Cell-module__cell-content___FhljD{text-align:right}.Cell-module__cell-content___FhljD .Cell-module__no-data-cell___6er9D{color:rgba(0,0,0,0)}.Cell-module__pinned___y2cJe{position:-webkit-sticky;position:sticky;z-index:1}[dir] .Cell-module__pinned___y2cJe:not(.Cell-module__selected___3WHxU){background-color:inherit}[dir] tr:nth-child(odd) .Cell-module__selectable___BAIg5:hover{background-color:#e0f2fb;background-color:var(--terra-table-odd-row-hover-background-color, #e0f2fb);cursor:pointer}[dir] tr:nth-child(even) .Cell-module__selectable___BAIg5:hover{background-color:#d3e5ee;background-color:var(--terra-table-even-row-hover-background-color, #d3e5ee);cursor:pointer} +.RowSelectionCell-module__input___\+\+BBM{display:-ms-flexbox;display:flex;height:16px;width:16px}[dir] .RowSelectionCell-module__input___\+\+BBM{margin:auto} +.Row-module__clinical-lowlight-theme___LqsJk{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Row-module__orion-fusion-theme___uCwnV{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}[dir] .Row-module__striped-table-row___0o1z0:nth-child(even){background-color:#f0f0f0;background-color:var(--terra-table-row-striped-background-color, #f0f0f0)}[dir] .Row-module__row___kR-J-{background-color:#fff;background-color:var(--terra-table-row-background-color, #fff)}[dir] .Row-module__row___kR-J-.Row-module__selectable___r9jUT:hover{background-color:#e2f2fc;background-color:var(--terra-table-row-hover-background-color, #e2f2fc);cursor:pointer}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP{background-color:#cbe7fa;background-color:var(--terra-table-row-selected-background-color, #cbe7fa)}[dir=ltr] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-right:1px solid #0092e0}[dir=rtl] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-left:1px solid #0092e0}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-bottom:1px solid #0092e0;border-bottom:var(--terra-table-row-highlight-border-bottom, 1px solid #0092e0)}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child th, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-top:1px solid #0092e0;border-top:var(--terra-table-row-highlight-border-top, 1px solid #0092e0)} +.Section-module__clinical-lowlight-theme___CmVbA{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Section-module__orion-fusion-theme___42iAO{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}.Section-module__section___Rf5QD.Section-module__collapsed___M5LcR{display:none}.Section-module__header___Q0nuu{position:relative;z-index:3}[dir=ltr] .Section-module__header___Q0nuu th{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Section-module__header___Q0nuu th{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)} +.ColumnResizeHandle-module__orion-fusion-theme___uvYEY{--terra-table-resize-handle-active-border-color: #517ea5;--terra-table-resize-handle-hover-border-color: #e4f1f7}.ColumnResizeHandle-module__clinical-lowlight-theme___MWieH{--terra-table-resize-handle-active-border-color: rgba(34, 42, 46, 1);--terra-table-resize-handle-hover-border-color: rgba(34, 42, 46, 0.6)}.ColumnResizeHandle-module__resize-handle___rckkL{display:block;height:100%;position:absolute;top:0;width:22px;z-index:1}[dir] .ColumnResizeHandle-module__resize-handle___rckkL{cursor:col-resize}[dir=ltr] .ColumnResizeHandle-module__resize-handle___rckkL{border-right:4px solid rgba(0,0,0,0);right:0}[dir=rtl] .ColumnResizeHandle-module__resize-handle___rckkL{border-left:4px solid rgba(0,0,0,0);left:0}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:active{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important}.ColumnResizeHandle-module__resize-handle___rckkL:focus{outline:0 !important}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:focus{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:hover{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle-selected___-zzct{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important} +.ColumnHeaderCell-module__clinical-lowlight-theme___E4AJx{--terra-table-column-header-text-color: #b2b5b6;--terra-table-column-header-background-color: #151719;--terra-table-column-header-border-bottom: 1px solid #181b1d;--terra-table-column-header-border-left: 1px solid #181b1d;--terra-table-column-header-border-right: 1px solid #181b1d;--terra-table-column-header-border-top: 1px solid #181b1d;--terra-table-pinned-columns-header-border: 1px solid #181b1d;--terra-table-pinned-columns-header-box-shadow: 1px 0 #181b1d;--terra-table-pinned-columns-divider-background-color: #181b1d;--terra-table-pinned-columns-divider-box-shadow: 4px -1px 6px #181b1d;--terra-table-header-hover-background-color: #0c0f10}.ColumnHeaderCell-module__orion-fusion-theme___LLv1A{--terra-table-column-header-text-color: #4e5356;--terra-table-column-header-background-color: #f4f4f4;--terra-table-column-header-border-bottom: 2px solid #9b9fa1;--terra-table-column-header-border-left: 1px solid #c8cacb;--terra-table-column-header-border-right: 1px solid #c8cacb;--terra-table-column-header-border-top: 1px solid #c8cacb;--terra-table-pinned-columns-header-border: 1px solid #c8cacb;--terra-table-pinned-columns-header-box-shadow: 1px 0 #c8cacb;--terra-table-header-hover-background-color: #d5e7f2}.ColumnHeaderCell-module__column-header___oWlRh{color:var(--terra-table-column-header-text-color);position:-webkit-sticky;position:sticky;top:0;z-index:1}[dir] .ColumnHeaderCell-module__column-header___oWlRh{background-color:#dedfe0;background-color:var(--terra-table-column-header-background-color, #dedfe0);border-bottom:1px solid #000;border-bottom:var(--terra-table-column-header-border-bottom, 1px solid #000);border-top:1px solid #000;border-top:var(--terra-table-column-header-border-top, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-left, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-left, 1px solid #000)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{padding:5px;padding:var(--terra-table-header-cell-padding, 5px)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-right:5px;margin-right:var(--terra-table-error-icon-margin-right, 5px)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-left:5px;margin-left:var(--terra-table-error-icon-margin-right, 5px)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{-ms-flex:1;flex:1;font-weight:normal;outline:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{background:rgba(0,0,0,0);border:0}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:left}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:right}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l.ColumnHeaderCell-module__hidden___Tu-Xs{color:rgba(0,0,0,0)}[dir] .ColumnHeaderCell-module__selectable___JFI4E:hover{background-color:#daecf6;background-color:var(--terra-table-header-hover-background-color, #daecf6);cursor:pointer}.ColumnHeaderCell-module__pinned___Qusyo{position:-webkit-sticky;position:sticky;z-index:2 !important}.ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{position:absolute;top:0;width:2px}[dir] .ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{background-color:#808080;background-color:var(--terra-table-pinned-columns-divider-background-color, #808080);box-shadow:4px -1px 6px #808080;box-shadow:var(--terra-table-pinned-columns-divider-box-shadow, 4px -1px 6px #808080)} +.ColumnHeader-module__hidden___I3b7-{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}[dir] .ColumnHeader-module__hidden___I3b7-{border:0;margin:-1px;padding:0} +.Table-module__clinical-lowlight-theme___G2b7R{--terra-table-cell-focus-outline: 3px dashed #fff;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #181b1d}.Table-module__orion-fusion-theme___iu\+p1{--terra-table-cell-focus-outline: 3px dashed #000;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #c8cacb}.Table-module__table-container___g4Byi{height:100%;overflow:auto;width:100%}.Table-module__table___wcFdg{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1px}[dir=ltr] .Table-module__table___wcFdg{margin-right:15px}[dir=rtl] .Table-module__table___wcFdg{margin-left:15px}.Table-module__table___wcFdg :focus{outline:3px dashed #000;outline:var(--terra-table-cell-focus-outline, 3px dashed #000);outline-offset:-2px;outline-offset:var(--terra-table-cell-focus-outline-offset, -2px)}[dir] .Table-module__headerless___eod6K tr:first-child td, [dir] .Table-module__headerless___eod6K tr:first-child th{border-top:1px solid #dedfe0;border-top:var(--terra-table-headerless-first-row-border-top, 1px solid #dedfe0)} +.DataGrid-module__data-grid-container___4LJj1{height:100%;width:100%}table{-webkit-user-select:none;-ms-user-select:none;user-select:none} diff --git a/pull/1911/15173-df913ef000064c97e69b.js b/pull/1911/15173-df913ef000064c97e69b.js new file mode 100644 index 00000000000..3773489327e --- /dev/null +++ b/pull/1911/15173-df913ef000064c97e69b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[15173],{93813:function(e,t,n){var i=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=i(n(27424)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var o=l?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(i,s,o):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i}(n(67294)),o=i(n(99722));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}var c=[{id:"Column-0",displayName:"Patient",isSelectable:!0,isResizable:!0},{id:"Column-1",displayName:"Location",isSelectable:!0,isResizable:!0},{id:"Column-2",displayName:"Illness Severity",isSelectable:!0,isResizable:!0},{id:"Column-3",displayName:"Visit",isSelectable:!0,isResizable:!0},{id:"Column-4",displayName:"Allergy",isSelectable:!0,isResizable:!0},{id:"Column-5",displayName:"Primary Contact",isSelectable:!0,isResizable:!0},{id:"Column-6",displayName:"Generic Order Counts",isSelectable:!0,isResizable:!0},{id:"Column-7",displayName:"Patient Age",isSelectable:!0,isResizable:!0},{id:"Column-8",displayName:"Medication History",isSelectable:!0,isResizable:!0},{id:"Column-9",displayName:"My Relationship",isSelectable:!0,isResizable:!0},{id:"Column-10",displayName:"Not Selectable",isSelectable:!1,isResizable:!0}],u=[{id:"1",cells:[{content:"Fleck, Arthur"},{content:"1007-MTN"},{content:"Unstable"},{content:"Inpatient, 2 months"},{content:""},{content:"Quinzell, Harleen"},{content:""},{isMasked:!0},{isMasked:!0},{content:"Admitting Physician"},{content:"",isSelectable:!1}]},{id:"2",cells:[{content:"Wayne, Bruce"},{content:"1007-MTN-DR"},{content:"Stable"},{content:"Outpatient, 2 days"},{content:"Phytochemicals"},{content:"Grayson, Richard"},{content:""},{content:""},{isMasked:!0},{content:"Admitting Physician"},{content:"",isSelectable:!1}]}];t.default=function(){var e=c,t=(0,s.useState)([]),n=(0,l.default)(t,2),i=n[0],a=n[1];return(0,s.useEffect)((function(){a(u)}),[]),s.default.createElement(o.default,{id:"data-grid-pinned-columns",pinnedColumns:e.slice(0,3),overflowColumns:e.slice(3),rows:i,rowHeaderIndex:0,ariaLabel:"Data Grid"})}}}]); \ No newline at end of file diff --git a/pull/1911/15400-d0bcde552c729604233a.css b/pull/1911/15400-d0bcde552c729604233a.css new file mode 100644 index 00000000000..1d7e8a6b2bd --- /dev/null +++ b/pull/1911/15400-d0bcde552c729604233a.css @@ -0,0 +1,12 @@ +.Cell-module__clinical-lowlight-theme___JlIUL{--terra-table-cell-border-bottom: 1px solid #181b1d;--terra-table-cell-border-left: 1px solid #181b1d;--terra-table-cell-border-right: 1px solid #181b1d;--terra-table-cell-selected-background-color: #1e3a49;--terra-table-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-highlight-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-odd-row-hover-background-color: #25282a;--terra-table-even-row-hover-background-color: #1d2225;--terra-table-pinned-columns-cell-border: 1px solid #181b1d}.Cell-module__orion-fusion-theme___HW1Ki{--terra-table-cell-border-bottom: 1px solid #c8cacb;--terra-table-cell-border-left: 1px solid #c8cacb;--terra-table-cell-border-right: 1px solid #c8cacb;--terra-table-cell-selected-background-color: #cbe7fa;--terra-table-odd-row-hover-background-color: #e0f2fb;--terra-table-even-row-hover-background-color: #d6e8f2;--terra-table-pinned-columns-cell-border: 1px solid #c8cacb}.Cell-module__cell___XID6c{font-weight:normal;position:relative}[dir] .Cell-module__cell___XID6c{border-bottom:1px solid #dedfe0;border-bottom:var(--terra-table-cell-border-bottom, 1px solid #dedfe0);padding:7px;padding:var(--terra-table-cell-content-padding, 7px)}[dir=ltr] .Cell-module__cell___XID6c{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=ltr] .Cell-module__cell___XID6c:first-child{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c:first-child{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir] .Cell-module__selected___3WHxU{background-color:#cbe7fa;background-color:var(--terra-table-cell-selected-background-color, #cbe7fa)}[dir=ltr] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=rtl] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=ltr] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}[dir=rtl] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}.Cell-module__cell-content___FhljD{overflow:hidden;overflow-wrap:break-word}[dir=ltr] .Cell-module__cell-content___FhljD{text-align:left}[dir=rtl] .Cell-module__cell-content___FhljD{text-align:right}.Cell-module__cell-content___FhljD .Cell-module__no-data-cell___6er9D{color:rgba(0,0,0,0)}.Cell-module__pinned___y2cJe{position:-webkit-sticky;position:sticky;z-index:1}[dir] .Cell-module__pinned___y2cJe:not(.Cell-module__selected___3WHxU){background-color:inherit}[dir] tr:nth-child(odd) .Cell-module__selectable___BAIg5:hover{background-color:#e0f2fb;background-color:var(--terra-table-odd-row-hover-background-color, #e0f2fb);cursor:pointer}[dir] tr:nth-child(even) .Cell-module__selectable___BAIg5:hover{background-color:#d3e5ee;background-color:var(--terra-table-even-row-hover-background-color, #d3e5ee);cursor:pointer} +.RowSelectionCell-module__input___\+\+BBM{display:-ms-flexbox;display:flex;height:16px;width:16px}[dir] .RowSelectionCell-module__input___\+\+BBM{margin:auto} +.Row-module__clinical-lowlight-theme___LqsJk{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Row-module__orion-fusion-theme___uCwnV{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}[dir] .Row-module__striped-table-row___0o1z0:nth-child(even){background-color:#f0f0f0;background-color:var(--terra-table-row-striped-background-color, #f0f0f0)}[dir] .Row-module__row___kR-J-{background-color:#fff;background-color:var(--terra-table-row-background-color, #fff)}[dir] .Row-module__row___kR-J-.Row-module__selectable___r9jUT:hover{background-color:#e2f2fc;background-color:var(--terra-table-row-hover-background-color, #e2f2fc);cursor:pointer}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP{background-color:#cbe7fa;background-color:var(--terra-table-row-selected-background-color, #cbe7fa)}[dir=ltr] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-right:1px solid #0092e0}[dir=rtl] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-left:1px solid #0092e0}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-bottom:1px solid #0092e0;border-bottom:var(--terra-table-row-highlight-border-bottom, 1px solid #0092e0)}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child th, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-top:1px solid #0092e0;border-top:var(--terra-table-row-highlight-border-top, 1px solid #0092e0)} +.Section-module__clinical-lowlight-theme___CmVbA{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Section-module__orion-fusion-theme___42iAO{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}.Section-module__section___Rf5QD.Section-module__collapsed___M5LcR{display:none}.Section-module__header___Q0nuu{position:relative;z-index:3}[dir=ltr] .Section-module__header___Q0nuu th{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Section-module__header___Q0nuu th{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)} +.ColumnResizeHandle-module__orion-fusion-theme___uvYEY{--terra-table-resize-handle-active-border-color: #517ea5;--terra-table-resize-handle-hover-border-color: #e4f1f7}.ColumnResizeHandle-module__clinical-lowlight-theme___MWieH{--terra-table-resize-handle-active-border-color: rgba(34, 42, 46, 1);--terra-table-resize-handle-hover-border-color: rgba(34, 42, 46, 0.6)}.ColumnResizeHandle-module__resize-handle___rckkL{display:block;height:100%;position:absolute;top:0;width:22px;z-index:1}[dir] .ColumnResizeHandle-module__resize-handle___rckkL{cursor:col-resize}[dir=ltr] .ColumnResizeHandle-module__resize-handle___rckkL{border-right:4px solid rgba(0,0,0,0);right:0}[dir=rtl] .ColumnResizeHandle-module__resize-handle___rckkL{border-left:4px solid rgba(0,0,0,0);left:0}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:active{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important}.ColumnResizeHandle-module__resize-handle___rckkL:focus{outline:0 !important}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:focus{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:hover{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle-selected___-zzct{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important} +.ColumnHeaderCell-module__clinical-lowlight-theme___E4AJx{--terra-table-column-header-text-color: #b2b5b6;--terra-table-column-header-background-color: #151719;--terra-table-column-header-border-bottom: 1px solid #181b1d;--terra-table-column-header-border-left: 1px solid #181b1d;--terra-table-column-header-border-right: 1px solid #181b1d;--terra-table-column-header-border-top: 1px solid #181b1d;--terra-table-pinned-columns-header-border: 1px solid #181b1d;--terra-table-pinned-columns-header-box-shadow: 1px 0 #181b1d;--terra-table-pinned-columns-divider-background-color: #181b1d;--terra-table-pinned-columns-divider-box-shadow: 4px -1px 6px #181b1d;--terra-table-header-hover-background-color: #0c0f10}.ColumnHeaderCell-module__orion-fusion-theme___LLv1A{--terra-table-column-header-text-color: #4e5356;--terra-table-column-header-background-color: #f4f4f4;--terra-table-column-header-border-bottom: 2px solid #9b9fa1;--terra-table-column-header-border-left: 1px solid #c8cacb;--terra-table-column-header-border-right: 1px solid #c8cacb;--terra-table-column-header-border-top: 1px solid #c8cacb;--terra-table-pinned-columns-header-border: 1px solid #c8cacb;--terra-table-pinned-columns-header-box-shadow: 1px 0 #c8cacb;--terra-table-header-hover-background-color: #d5e7f2}.ColumnHeaderCell-module__column-header___oWlRh{color:var(--terra-table-column-header-text-color);position:-webkit-sticky;position:sticky;top:0;z-index:1}[dir] .ColumnHeaderCell-module__column-header___oWlRh{background-color:#dedfe0;background-color:var(--terra-table-column-header-background-color, #dedfe0);border-bottom:1px solid #000;border-bottom:var(--terra-table-column-header-border-bottom, 1px solid #000);border-top:1px solid #000;border-top:var(--terra-table-column-header-border-top, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-left, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-left, 1px solid #000)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{padding:5px;padding:var(--terra-table-header-cell-padding, 5px)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-right:5px;margin-right:var(--terra-table-error-icon-margin-right, 5px)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-left:5px;margin-left:var(--terra-table-error-icon-margin-right, 5px)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{-ms-flex:1;flex:1;font-weight:normal;outline:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{background:rgba(0,0,0,0);border:0}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:left}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:right}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l.ColumnHeaderCell-module__hidden___Tu-Xs{color:rgba(0,0,0,0)}[dir] .ColumnHeaderCell-module__selectable___JFI4E:hover{background-color:#daecf6;background-color:var(--terra-table-header-hover-background-color, #daecf6);cursor:pointer}.ColumnHeaderCell-module__pinned___Qusyo{position:-webkit-sticky;position:sticky;z-index:2 !important}.ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{position:absolute;top:0;width:2px}[dir] .ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{background-color:#808080;background-color:var(--terra-table-pinned-columns-divider-background-color, #808080);box-shadow:4px -1px 6px #808080;box-shadow:var(--terra-table-pinned-columns-divider-box-shadow, 4px -1px 6px #808080)} +.ColumnHeader-module__hidden___I3b7-{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}[dir] .ColumnHeader-module__hidden___I3b7-{border:0;margin:-1px;padding:0} +.Table-module__clinical-lowlight-theme___G2b7R{--terra-table-cell-focus-outline: 3px dashed #fff;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #181b1d}.Table-module__orion-fusion-theme___iu\+p1{--terra-table-cell-focus-outline: 3px dashed #000;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #c8cacb}.Table-module__table-container___g4Byi{height:100%;overflow:auto;width:100%}.Table-module__table___wcFdg{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1px}[dir=ltr] .Table-module__table___wcFdg{margin-right:15px}[dir=rtl] .Table-module__table___wcFdg{margin-left:15px}.Table-module__table___wcFdg :focus{outline:3px dashed #000;outline:var(--terra-table-cell-focus-outline, 3px dashed #000);outline-offset:-2px;outline-offset:var(--terra-table-cell-focus-outline-offset, -2px)}[dir] .Table-module__headerless___eod6K tr:first-child td, [dir] .Table-module__headerless___eod6K tr:first-child th{border-top:1px solid #dedfe0;border-top:var(--terra-table-headerless-first-row-border-top, 1px solid #dedfe0)} +.WorklistDataGrid-module__worklist-data-grid-container___IbMs4{height:100%;width:100%} +.DataGrid-module__data-grid-container___4LJj1{height:100%;width:100%}table{-webkit-user-select:none;-ms-user-select:none;user-select:none} +.FlowsheetDataGrid-module__flowsheet-data-grid-container___O1y8B{height:100%;width:100%} +.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)} diff --git a/pull/1911/15400-d0bcde552c729604233a.js b/pull/1911/15400-d0bcde552c729604233a.js new file mode 100644 index 00000000000..fcac1eaa88f --- /dev/null +++ b/pull/1911/15400-d0bcde552c729604233a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[15400],{49271:function(e,t,n){var l=n(64836),o=n(18698);t.Z=void 0;var a=l(n(27424)),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=w(t);if(n&&n.has(e))return n.get(e);var l={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var c=a?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(l,r,c):l[r]=e[r]}l.default=e,n&&n.set(e,l);return l}(n(67294)),c=l(n(45697)),d=l(n(47166)),s=n(21538),i=l(n(33864)),u=l(n(23399)),m=n(51051),f=l(n(53560));function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(w=function(e){return e?n:t})(e)}var p=d.default.bind(f.default),_={example:c.default.element,exampleSrc:c.default.element,exampleCssSrc:c.default.element,title:c.default.string,description:c.default.node,isExpanded:c.default.bool},h=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},x=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},S=function(e){var t=e.example,n=e.exampleSrc,l=e.exampleCssSrc,o=e.title,c=e.description,d=e.isExpanded,f=(0,r.useState)(d),w=(0,a.default)(f,2),_=w[0],S=w[1],g=(0,r.useState)(!1),D=(0,a.default)(g,2),v=D[0],C=D[1],b=r.default.useContext(s.ThemeContext),R=void 0!==l,E=function(){C(!v),_&&S(!_)},y=function(){S(!_),v&&C(!v)},I=function(e,t){e.nativeEvent.keyCode!==m.KEY_SPACE&&e.nativeEvent.keyCode!==m.KEY_RETURN||(e.preventDefault(),t())};return r.default.createElement("div",{className:p("template",b.className)},r.default.createElement("div",{className:p("header")},o&&r.default.createElement("h2",{className:p("title")},o)),r.default.createElement("div",{className:p("content")},c&&r.default.createElement("div",{className:p("description")},c),t),r.default.createElement("div",{className:p("footer")},n?r.default.createElement("div",{className:p("button-container")},R&&r.default.createElement("button",{type:"button",className:p("css-toggle","item",{"is-selected":v}),onClick:E,onKeyDown:function(e){return I(e,E)},onBlur:h,onMouseDown:x,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(i.default,{className:p("chevron")}),r.default.createElement("span",null,"CSS"),r.default.createElement(u.default,{className:p("chevron")})),r.default.createElement("button",{type:"button",className:p("code-toggle","item",{"is-selected":_}),onClick:y,onKeyDown:function(e){return I(e,y)},onBlur:h,onMouseDown:x,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(i.default,{className:p("chevron")}),r.default.createElement("span",null,"Code"),r.default.createElement(u.default,{className:p("chevron")}))):null,r.default.createElement("div",null,v&&r.default.createElement("div",{className:p("css")},l),_&&r.default.createElement("div",{className:p("code")},n))))};S.propTypes=_,S.defaultProps={isExpanded:!1};var g=S;t.Z=g},60917:function(e,t,n){n.r(t),n.d(t,{default:function(){return _}});var l=n(87462),o=n(44925),a=n(67294),r=n(81254),c=n(33720),d=["components"],s={};function i(e){var t=e.components,n=(0,o.Z)(e,d);return(0,r.mdx)("wrapper",(0,l.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React, { useState, useCallback } from 'react';\nimport { FlowsheetDataGrid } from 'terra-data-grid';\n\nconst RowSelection = () => {\n const gridDataJSON = {\n cols: [\n { id: 'Column-0', displayName: 'Vitals' },\n { id: 'Column-1', displayName: 'March 16' },\n { id: 'Column-2', displayName: 'March 17' },\n { id: 'Column-3', displayName: 'March 18' },\n ],\n rows: [\n {\n id: '1',\n cells: [\n { content: 'Heart Rate Monitored (bpm)' },\n { content: '68' },\n { content: '66' },\n { content: '67' },\n ],\n },\n {\n id: '2',\n cells: [\n { content: 'Temperature Oral (degC)' },\n { content: '36.7' },\n { content: '36.9' },\n { content: '37' },\n ],\n },\n {\n id: '3',\n cells: [\n { content: 'Cardiac Index (L/min/m2)' },\n { content: '2.25' },\n { content: '2.28' },\n { content: '2.8' },\n ],\n },\n {\n id: '4',\n cells: [\n { content: 'ICP (mmHg)' },\n { content: '11' },\n { content: '11' },\n { content: '12' },\n ],\n },\n {\n id: '5',\n cells: [\n { content: 'CPP (mmHg)' },\n { content: '63' },\n { content: '47' },\n { content: '48' },\n ],\n },\n ],\n };\n\n const { cols, rows } = gridDataJSON;\n const [rowData, setRowData] = useState(rows);\n const [selectedRow, setSelectedRow] = useState(undefined);\n\n const clearSelectedRow = useCallback(() => {\n if (selectedRow) {\n setSelectedRow(undefined);\n }\n }, [selectedRow]);\n\n const onRowSelect = useCallback((rowToSelect) => {\n const { rowId } = rowToSelect; // Contains rowId and sectionId\n if (rowId) {\n const rowIndex = rowData.findIndex(e => e.id === rowId);\n\n const newRowData = [...rowData];\n\n // Remove current selections\n for (let row = 0; row < rowData.length; row += 1) {\n newRowData[row].isSelected = false;\n for (let cell = 0; cell < rowData[row].cells.length; cell += 1) {\n newRowData[row].cells[cell].isSelected = false;\n }\n }\n\n if (selectedRow !== rowId) {\n newRowData[rowIndex].isSelected = true;\n setSelectedRow(rowId);\n } else {\n newRowData[rowIndex].isSelected = false;\n clearSelectedRow();\n }\n\n setRowData(newRowData);\n }\n }, [clearSelectedRow, rowData, selectedRow]);\n\n const onCellSelect = useCallback((rowId, columnId) => {\n if (rowId && columnId) {\n const rowIndex = rowData.findIndex(e => e.id === rowId);\n const columnIndex = cols.findIndex(e => e.id === columnId);\n let otherSelectionsExist = false;\n\n // Remove cell selections, excluding current cell\n const newRowData = [...rowData];\n for (let row = 0; row < rowData.length; row += 1) {\n newRowData[row].isSelected = false;\n for (let cell = 0; cell < rowData[row].cells.length; cell += 1) {\n const currentCell = rowData[row].cells[cell];\n if (currentCell.isSelected && !(row === rowIndex && cell === columnIndex)) {\n currentCell.isSelected = false;\n otherSelectionsExist = true;\n }\n }\n }\n\n // If the current cell is the only selected cell, toggle it to unselected. Otherwise, set it to selected.\n newRowData[rowIndex].cells[columnIndex].isSelected = !rowData[rowIndex].cells[columnIndex].isSelected || otherSelectionsExist;\n clearSelectedRow();\n setRowData(newRowData);\n }\n }, [clearSelectedRow, cols, rowData]);\n\n const onClearSelectedCells = useCallback(() => {\n // Remove current selections\n const newRowData = [...rowData];\n for (let row = 0; row < rowData.length; row += 1) {\n for (let cell = 0; cell < rowData[row].cells.length; cell += 1) {\n newRowData[row].cells[cell].isSelected = false;\n }\n }\n\n clearSelectedRow();\n setRowData(newRowData);\n }, [clearSelectedRow, rowData]);\n\n const onCellRangeSelect = useCallback((cells) => {\n const newRowData = [...rowData];\n\n // Remove current selections\n for (let row = 0; row < rowData.length; row += 1) {\n newRowData[row].isSelected = false;\n for (let cell = 0; cell < rowData[row].cells.length; cell += 1) {\n newRowData[row].cells[cell].isSelected = false;\n }\n }\n\n cells.forEach((cell) => {\n const rowIndex = rowData.findIndex(e => e.id === cell.rowId);\n const columnIndex = cols.findIndex(e => e.id === cell.columnId);\n\n newRowData[rowIndex].cells[columnIndex].isSelected = true;\n });\n\n clearSelectedRow();\n setRowData(newRowData);\n }, [clearSelectedRow, cols, rowData]);\n\n return (\n \n );\n};\n\nexport default RowSelection;\n\n")))}i.isMDXComponent=!0;var u=n(49271),m=function(e){var t=e.title,n=e.description,l=e.isExpanded;return a.createElement(u.Z,{title:t||"Row Selection",description:n,example:a.createElement(c.Z,null),exampleSrc:a.createElement(i,null),isExpanded:l})},f=["components"],w={},p="wrapper";function _(e){var t=e.components,n=(0,o.Z)(e,f);return(0,r.mdx)(p,(0,l.Z)({},w,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h1",{id:"row-selection"},"Row Selection"),(0,r.mdx)("h3",{id:"description"},"Description"),(0,r.mdx)("p",null,"This example demonstrates a Flowsheet Data Grid with row selection support by utilizing the following ",(0,r.mdx)("a",{parentName:"p",href:"/terra-framework/pull/1911/components/cerner-terra-framework-docs/data-grid/flowsheet-data-grid/about"},"properties"),":"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"The ",(0,r.mdx)("strong",{parentName:"li"},"onRowSelect")," callback prop: When the user selects a row header cell (a cell in the pinned first column), this callback will be called with an object containing the ",(0,r.mdx)("inlineCode",{parentName:"li"},"rowId")," and ",(0,r.mdx)("inlineCode",{parentName:"li"},"sectionId")," of the selected row.\nIn this example, the ",(0,r.mdx)("inlineCode",{parentName:"li"},"isSelected")," row property is toggled to true, adding highlighting to the selected row.")),(0,r.mdx)(m,{title:"Flowsheet Data Grid with Row Selection",mdxType:"RowSelection"}))}_.isMDXComponent=!0},33720:function(e,t,n){var l=n(64836),o=n(18698);t.Z=void 0;var a=l(n(861)),r=l(n(27424)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var l={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var c=a?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(l,r,c):l[r]=e[r]}return l.default=e,n&&n.set(e,l),l}(n(67294)),d=n(55730);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)}t.Z=function(){var e=[{id:"Column-0",displayName:"Vitals"},{id:"Column-1",displayName:"March 16"},{id:"Column-2",displayName:"March 17"},{id:"Column-3",displayName:"March 18"}],t=[{id:"1",cells:[{content:"Heart Rate Monitored (bpm)"},{content:"68"},{content:"66"},{content:"67"}]},{id:"2",cells:[{content:"Temperature Oral (degC)"},{content:"36.7"},{content:"36.9"},{content:"37"}]},{id:"3",cells:[{content:"Cardiac Index (L/min/m2)"},{content:"2.25"},{content:"2.28"},{content:"2.8"}]},{id:"4",cells:[{content:"ICP (mmHg)"},{content:"11"},{content:"11"},{content:"12"}]},{id:"5",cells:[{content:"CPP (mmHg)"},{content:"63"},{content:"47"},{content:"48"}]}],n=(0,c.useState)(t),l=(0,r.default)(n,2),o=l[0],s=l[1],i=(0,c.useState)(void 0),u=(0,r.default)(i,2),m=u[0],f=u[1],w=(0,c.useCallback)((function(){m&&f(void 0)}),[m]),p=(0,c.useCallback)((function(e){var t=e.rowId;if(t){for(var n=o.findIndex((function(e){return e.id===t})),l=(0,a.default)(o),r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return l}})}}]); \ No newline at end of file diff --git a/pull/1911/15423-44d4915a6c3a90ee4866.css b/pull/1911/15423-44d4915a6c3a90ee4866.css new file mode 100644 index 00000000000..b1df3bbee3f --- /dev/null +++ b/pull/1911/15423-44d4915a6c3a90ee4866.css @@ -0,0 +1 @@ +.SlidePanel-module__clinical-lowlight-theme___NdNQF{--terra-slide-panel-panel-background-color: #222a2e;--terra-slide-panel-main-background-color: #222a2e;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 5px #181b1d;--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 5px #181b1d;--terra-slide-panel-main-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-border-right-color: #181b1d;--terra-slide-panel-panel-squish-border-left-color: #181b1d;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6}.SlidePanel-module__orion-fusion-theme___aBPYu{--terra-slide-panel-main-background-color: #fff;--terra-slide-panel-panel-background-color: #fff;--terra-slide-panel-main-squish-background-color: #fff;--terra-slide-panel-panel-squish-background-color: #fff;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6;--terra-slide-panel-panel-squish-border-right-color: #d3d4d5;--terra-slide-panel-panel-squish-border-left-color: #d3d4d5}.SlidePanel-module__slide-panel___5vKEK{overflow:hidden;position:relative}.SlidePanel-module__main___Jq40y,.SlidePanel-module__panel___N9gHx{box-sizing:border-box;height:100%;outline:none;-webkit-overflow-scrolling:touch;overflow-y:auto;width:100%}.SlidePanel-module__main___Jq40y{position:relative;z-index:0}[dir] .SlidePanel-module__main___Jq40y{background-color:#fff;background-color:var(--terra-slide-panel-main-background-color, #fff)}.SlidePanel-module__panel___N9gHx{position:absolute;z-index:500}[dir] .SlidePanel-module__panel___N9gHx{background-color:#fff;background-color:var(--terra-slide-panel-panel-background-color, #fff)}.SlidePanel-module__slide-panel___5vKEK .SlidePanel-module__slide-panel___5vKEK>.SlidePanel-module__panel___N9gHx{z-index:499}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___Jq40y{float:right}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___Jq40y{float:left}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{transform:translate3d(-100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{transform:translate3d(100%, 0, 0)}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___Jq40y{float:left}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___Jq40y{float:right}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{left:0;transform:translate3d(-100%, 0, 0)}[dir] .SlidePanel-module__is-open___SU3q3>.SlidePanel-module__panel___N9gHx{transform:translate3d(0, 0, 0)}@media all and (min-width: 768px){[data-slide-panel-panel-size=small]>.SlidePanel-module__panel___N9gHx{width:320px;width:var(--terra-slide-panel-panel-small-width, 320px)}[data-slide-panel-panel-size=large]>.SlidePanel-module__panel___N9gHx{width:calc(100%*0.6);width:calc(100%*var(--terra-slide-panel-panel-width-large-scalar, 0.6))}}@media(max-width: 767px),print{.SlidePanel-module__is-open___SU3q3>.SlidePanel-module__main___Jq40y{visibility:hidden}}@media(min-width: 768px),print{[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}}@media(min-width: 768px),print{[dir] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__main___Jq40y{background-color:#fff;background-color:var(--terra-slide-panel-main-squish-background-color, #fff)}.SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=small]>.SlidePanel-module__main___Jq40y{width:calc(100% - 320px);width:calc(100% - var(--terra-slide-panel-panel-squish-width-small, 320px))}.SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=large]>.SlidePanel-module__main___Jq40y{width:calc(100%*(1 - 0.6));width:calc(100%*(1 - var(--terra-slide-panel-panel-squish-width-large-scalar, 0.6)))}[dir] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__panel___N9gHx{background-color:#fff;background-color:var(--terra-slide-panel-panel-squish-background-color, #fff)}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}}.SlidePanel-module__is-fullscreen___0BQTN[data-slide-panel-panel-size]>.SlidePanel-module__panel___N9gHx{width:100%}.SlidePanel-module__fill___vHC0f{height:100%;width:100%}.SlidePanel-module__panel___N9gHx[aria-hidden=true]{visibility:hidden}.SlidePanel-module__main___Jq40y[aria-hidden=true]{visibility:hidden} diff --git a/pull/1911/15423-44d4915a6c3a90ee4866.js b/pull/1911/15423-44d4915a6c3a90ee4866.js new file mode 100644 index 00000000000..1f3b10e6b22 --- /dev/null +++ b/pull/1911/15423-44d4915a6c3a90ee4866.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[15423],{15423:function(e,l,t){var a=t(64836),n=t(18698);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i=a(t(67294)),u=function(e,l){if(!l&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var t=o(l);if(t&&t.has(e))return t.get(e);var a={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var r=i?Object.getOwnPropertyDescriptor(e,u):null;r&&(r.get||r.set)?Object.defineProperty(a,u,r):a[u]=e[u]}return a.default=e,t&&t.set(e,a),a}(t(27662)),r=a(t(22199)),d=a(t(46868));function o(e){if("function"!=typeof WeakMap)return null;var l=new WeakMap,t=new WeakMap;return(o=function(e){return e?t:l})(e)}l.default=function(){return i.default.createElement(u.default,{mainContent:i.default.createElement(r.default,null),panelContent:i.default.createElement(d.default,null),panelBehavior:"overlay",panelPosition:u.SlidePanelPositions.END,panelSize:"small",isOpen:!0})}},22199:function(e,l,t){var a=t(64836);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(t(67294));l.default=function(){return n.default.createElement("div",null,n.default.createElement("h3",null,"Main Content"),n.default.createElement("p",null,"Lorem ipsum dolor sit amet, mea te odio ludus adipiscing. Cu oporteat temporibus nam, aperiam adipisci mel et, mei no oportere salutatus. Iudico lucilius ei pri. Eleifend philosophia et ius."),n.default.createElement("p",null,"Id elit congue copiosae eam, elitr laboramus mediocritatem nam in, decore propriae et usu. An vix insolens dignissim, novum gloriatur delicatissimi mei ne, ne ancillae tincidunt nec. Iusto expetenda scriptorem mei cu, ne per prima nihil utinam. Cibo ocurreret no nam, nec euismod vivendum te."),n.default.createElement("ul",null,n.default.createElement("li",null,"Item 1"),n.default.createElement("li",null,"Item 2"),n.default.createElement("li",null,"Item 3"),n.default.createElement("li",null,"Item 4"),n.default.createElement("li",null,"Item 5"),n.default.createElement("li",null,"Item 6"),n.default.createElement("li",null,"Item 7"),n.default.createElement("li",null,"Item 8"),n.default.createElement("li",null,"Item 9"),n.default.createElement("li",null,"Item 10"),n.default.createElement("li",null,"Item 11"),n.default.createElement("li",null,"Item 12"),n.default.createElement("li",null,"Item 13"),n.default.createElement("li",null,"Item 14"),n.default.createElement("li",null,"Item 15")))}},46868:function(e,l,t){var a=t(64836);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(t(67294));l.default=function(){return n.default.createElement("div",null,n.default.createElement("h3",null,"Panel Content"),n.default.createElement("p",null,"Lorem ipsum dolor sit amet, mea te odio ludus adipiscing. Cu oporteat temporibus nam, aperiam adipisci mel et, mei no oportere salutatus. Iudico lucilius ei pri. Eleifend philosophia et ius."),n.default.createElement("p",null,"Id elit congue copiosae eam, elitr laboramus mediocritatem nam in, decore propriae et usu. An vix insolens dignissim, novum gloriatur delicatissimi mei ne, ne ancillae tincidunt nec. Iusto expetenda scriptorem mei cu, ne per prima nihil utinam. Cibo ocurreret no nam, nec euismod vivendum te."),n.default.createElement("ul",null,n.default.createElement("li",null,"Item 1"),n.default.createElement("li",null,"Item 2"),n.default.createElement("li",null,"Item 3"),n.default.createElement("li",null,"Item 4"),n.default.createElement("li",null,"Item 5"),n.default.createElement("li",null,"Item 6"),n.default.createElement("li",null,"Item 7"),n.default.createElement("li",null,"Item 8"),n.default.createElement("li",null,"Item 9"),n.default.createElement("li",null,"Item 10"),n.default.createElement("li",null,"Item 11"),n.default.createElement("li",null,"Item 12"),n.default.createElement("li",null,"Item 13"),n.default.createElement("li",null,"Item 14"),n.default.createElement("li",null,"Item 15")))}},27662:function(e,l,t){var a=t(64836);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.SlidePanelPositions=void 0;var n=a(t(10434)),i=a(t(70215)),u=a(t(56690)),r=a(t(89728)),d=a(t(66115)),o=a(t(61655)),s=a(t(94993)),f=a(t(73808)),c=a(t(67294)),m=a(t(45697)),p=a(t(94184)),v=a(t(47166)),h=a(t(47341)),E=a(t(29270)),_=t(25387),b=t(55877),P=a(t(1034)),I=["intl","isFullscreen","isOpen","fill","mainAriaLabel","mainContent","panelAriaLabel","panelContent","panelBehavior","panelPosition","panelSize","setSlidePanelRef"];function g(e){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,a=(0,f.default)(e);if(l){var n=(0,f.default)(this).constructor;t=Reflect.construct(a,arguments,n)}else t=a.apply(this,arguments);return(0,s.default)(this,t)}}var y=v.default.bind(P.default),N=l.SlidePanelPositions={START:"start",END:"end"},C={panelAriaLabel:m.default.string,mainAriaLabel:m.default.string,mainContent:m.default.node,panelContent:m.default.node,panelBehavior:m.default.oneOf(["overlay","squish"]),panelPosition:m.default.oneOf(["start","end"]),panelSize:m.default.oneOf(["small","large"]),isFullscreen:m.default.bool,isOpen:m.default.bool,fill:m.default.bool,setSlidePanelRef:m.default.func,intl:m.default.shape({formatMessage:m.default.func,locale:m.default.string})},O={panelBehavior:"overlay",panelPosition:N.END,panelSize:"small"},k=function(e){(0,o.default)(t,e);var l=g(t);function t(e){var a;return(0,u.default)(this,t),(a=l.call(this,e)).setPanelNode=a.setPanelNode.bind((0,d.default)(a)),a.mainNode=c.default.createRef(),a.setLastClicked=a.setLastClicked.bind((0,d.default)(a)),a.setDisclosingNode=a.setDisclosingNode.bind((0,d.default)(a)),a.mainAriaDescribedByID="detail-panel-warning-".concat((0,b.v4)()),a}return(0,r.default)(t,[{key:"componentDidUpdate",value:function(e){if(this.props.isOpen&&this.props.isOpen!==e.isOpen)return this.setDisclosingNode(this.lastClicked),void this.panelNode.focus();if(!this.props.isOpen&&this.props.isOpen!==e.isOpen){var l;if(null!==(l=this.disclosingNode)&&void 0!==l&&l.focus)return this.disclosingNode.setAttribute("aria-expanded","false"),void this.disclosingNode.focus();this.mainNode.current.focus()}}},{key:"setPanelNode",value:function(e){this.props.setSlidePanelRef&&this.props.setSlidePanelRef(e),this.panelNode=e}},{key:"setLastClicked",value:function(e){this.lastClicked=e.target}},{key:"setDisclosingNode",value:function(e){e&&(e.setAttribute("aria-expanded","true"),this.disclosingNode=e)}},{key:"render",value:function(){var e=this.props,l=e.intl,t=e.isFullscreen,a=e.isOpen,u=e.fill,r=e.mainAriaLabel,d=e.mainContent,o=e.panelAriaLabel,s=e.panelContent,f=e.panelBehavior,m=e.panelPosition,v=e.panelSize,h=(e.setSlidePanelRef,(0,i.default)(e,I)),_=this.context,b=(0,p.default)(y("slide-panel",{"is-open":a},{"is-fullscreen":t},{fill:u},_.className),h.className),P=c.default.createElement("div",{className:y(["panel"]),key:"panel",tabIndex:"-1","aria-label":o||l.formatMessage({id:"Terra.slidePanel.defaultPanelLabel"}),"aria-hidden":a?"false":"true",role:"region",ref:this.setPanelNode},c.default.createElement(E.default,{text:o||l.formatMessage({id:"Terra.slidePanel.defaultPanelLabel"})}),s),g=c.default.createElement("div",{className:y("main"),key:"main",tabIndex:"-1","aria-label":r,"aria-describedby":this.mainAriaDescribedByID,"aria-hidden":a&&t?"true":"false",ref:this.mainNode,role:"main",onClick:this.setLastClicked,onKeyUp:this.setLastClicked},c.default.createElement(E.default,{tabIndex:"-1",id:this.mainAriaDescribedByID,text:l.formatMessage({id:"Terra.slidePanel.discloseWarning"})}),d),C=m===N.START?c.default.createElement(c.default.Fragment,null,P,g):c.default.createElement(c.default.Fragment,null,g,P);return c.default.createElement("div",(0,n.default)({},h,{className:b,"data-slide-panel-panel-behavior":f,"data-slide-panel-panel-position":m,"data-slide-panel-panel-size":v}),C)}}]),t}(c.default.Component);k.propTypes=C,k.defaultProps=O,k.contextType=h.default;l.default=(0,_.injectIntl)(k)},1034:function(e,l,t){t.r(l),l.default={"clinical-lowlight-theme":"SlidePanel-module__clinical-lowlight-theme___NdNQF","orion-fusion-theme":"SlidePanel-module__orion-fusion-theme___aBPYu","slide-panel":"SlidePanel-module__slide-panel___5vKEK",main:"SlidePanel-module__main___Jq40y",panel:"SlidePanel-module__panel___N9gHx","is-open":"SlidePanel-module__is-open___SU3q3","is-fullscreen":"SlidePanel-module__is-fullscreen___0BQTN",fill:"SlidePanel-module__fill___vHC0f"}}}]); \ No newline at end of file diff --git a/pull/1911/15439-42380f4b64f6fc8f8520.css b/pull/1911/15439-42380f4b64f6fc8f8520.css new file mode 100644 index 00000000000..42ae516f5bf --- /dev/null +++ b/pull/1911/15439-42380f4b64f6fc8f8520.css @@ -0,0 +1,4 @@ +.ButtonGroup-module__clinical-lowlight-theme___El\+dS{--terra-button-group-button-active-background-color: #1a2023;--terra-button-group-button-active-border-color: #181b1d;--terra-button-group-button-active-color: #9b9b9b;--terra-button-group-button-background-color: #2d3539;--terra-button-group-button-border-color: #181b1d;--terra-button-group-button-box-shadow: none;--terra-button-group-button-color: #b2b5b6;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #1a2023;--terra-button-group-button-focus-border-color: #181b1d;--terra-button-group-button-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-hover-background-color: #1e272b;--terra-button-group-button-hover-color: #9b9b9b;--terra-button-group-button-active-box-shadow: none;--terra-button-group-button-selected-background-color: #1a2023;--terra-button-group-button-selected-border-color: #181b1d;--terra-button-group-button-selected-box-shadow: none;--terra-button-group-button-selected-color: #9b9b9b;--terra-button-group-button-selected-and-focus-background-color: #1a2023;--terra-button-group-button-selected-and-focus-border-color: #181b1d;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-selected-and-focus-color: #9b9b9b;--terra-button-group-button-selected-and-hover-background-color: #121517;--terra-button-group-button-selected-and-hover-border-color: #181b1d;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #9b9b9b;--terra-button-group-button-border-bottom-left-radius: 0.2142em;--terra-button-group-button-border-top-left-radius: 0.2142rem;--terra-button-group-button-border-bottom-right-radius: 0.2142em;--terra-button-group-button-border-top-right-radius: 0.2142rem}.ButtonGroup-module__orion-fusion-theme___BkFFY{--terra-button-group-button-background-color: #dedfe0;--terra-button-group-button-border-color: #6f7477;--terra-button-group-button-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4;--terra-button-group-button-color: #000;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #9b9fa1;--terra-button-group-button-focus-border-color: #6f7477;--terra-button-group-button-focus-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4, 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-hover-background-color: #b2b5b6;--terra-button-group-button-hover-color: #000;--terra-button-group-button-selected-and-hover-background-color: #52585b;--terra-button-group-button-selected-and-hover-border-color: #6f7477;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #fff;--terra-button-group-button-selected-and-focus-background-color: #52585b;--terra-button-group-button-selected-and-focus-border-color: #6f7477;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-selected-and-focus-color: #fff;--terra-button-group-button-selected-background-color: #52585b;--terra-button-group-button-selected-border-color: #6f7477;--terra-button-group-button-selected-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-selected-color: #fff;--terra-button-group-button-active-background-color: #52585b;--terra-button-group-button-active-border-color: #6f7477;--terra-button-group-button-active-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-active-color: #fff;--terra-button-group-button-border-bottom-left-radius: 3px;--terra-button-group-button-border-top-left-radius: 3px;--terra-button-group-button-border-bottom-right-radius: 3px;--terra-button-group-button-border-top-right-radius: 3px}.ButtonGroup-module__button-group___iIAAg{display:-ms-inline-flexbox;display:inline-flex;position:relative;vertical-align:middle;white-space:nowrap}.ButtonGroup-module__button-group-button___YB1ME{color:#1c1f21;color:var(--terra-button-group-button-color, #1c1f21);font-weight:400;font-weight:var(--terra-button-group-button-font-weight, 400);position:relative}[dir] .ButtonGroup-module__button-group-button___YB1ME{background-color:#dedfe0;background-color:var(--terra-button-group-button-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-border-color, #c8cacb);border-radius:0;border-style:solid;border-width:1px;box-shadow:none;box-shadow:var(--terra-button-group-button-box-shadow, none);margin:0}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-disabled___rqrG9,.ButtonGroup-module__button-group-button___YB1ME:disabled{opacity:0.3;opacity:var(--terra-button-group-button-disabled-opacity, 0.3)}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{z-index:1000}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{background-color:#dedfe0;background-color:var(--terra-button-group-button-focus-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-focus-border-color, #c8cacb);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){.ButtonGroup-module__button-group-button___YB1ME:hover{color:#000;color:var(--terra-button-group-button-hover-color, #000)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover{background-color:#b9bbbc;background-color:var(--terra-button-group-button-hover-background-color, #b9bbbc)}.ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-and-hover-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{background-color:#40474a;background-color:var(--terra-button-group-button-selected-and-hover-background-color, #40474a);border-color:#40474a;border-color:var(--terra-button-group-button-selected-and-hover-border-color, #40474a);box-shadow:var(--terra-button-group-button-selected-and-hover-box-shadow)}}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{color:#fff;color:var(--terra-button-group-button-selected-and-focus-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{background-color:#52585b;background-color:var(--terra-button-group-button-selected-and-focus-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-and-focus-border-color, #52585b);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-selected-and-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{background-color:#52585b;background-color:var(--terra-button-group-button-selected-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-border-color, #52585b);box-shadow:var(--terra-button-group-button-selected-box-shadow)}.ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718,.ButtonGroup-module__button-group-button___YB1ME:active{color:#fff;color:var(--terra-button-group-button-active-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718, [dir] .ButtonGroup-module__button-group-button___YB1ME:active{background-color:#52585b;background-color:var(--terra-button-group-button-active-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-active-border-color, #52585b);box-shadow:var(--terra-button-group-button-active-box-shadow)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-left:-1px}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-right:-1px}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}.ButtonGroup-module__is-block___otiJA{width:100%}.ButtonGroup-module__is-block___otiJA .ButtonGroup-module__button-group-button___YB1ME{-ms-flex:1 1 auto;flex:1 1 auto} +.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}@media(max-width: 320px),(max-height: 256px){.Arrange-module__fit___tv8j-{-ms-flex:0 0;flex:0 0}} +[dir] .DisclosureComponentCommon-test-module__header___zA\+M6{border-bottom:1px solid #000;margin:0}[dir] .DisclosureComponentCommon-test-module__content-form___ZH5Rj{padding:.7rem}.DisclosureComponentCommon-test-module__select-field___eTUIx{max-width:300px} +.ModalManagerCommon-test-module__content-wrapper___fnO38{height:100%}[dir] .ModalManagerCommon-test-module__disclosure-accessory___lBCWz{background-color:#add8e6;padding:1rem}.ModalManagerCommon-test-module__disclosure-container___GqXUT{height:100%}[dir] .ModalManagerCommon-test-module__disclosure-container___GqXUT{background-color:#b899f0;padding:1rem} diff --git a/pull/1911/15439-42380f4b64f6fc8f8520.js b/pull/1911/15439-42380f4b64f6fc8f8520.js new file mode 100644 index 00000000000..0dcc6358356 --- /dev/null +++ b/pull/1911/15439-42380f4b64f6fc8f8520.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[15439],{41882:function(e,t,a){var r=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(67294)),u=r(a(47166)),n=r(a(22266)),d=r(a(51864)),f=r(a(1422)),o=u.default.bind(f.default);t.default=function(){return l.default.createElement("div",{role:"main",className:o("content-wrapper")},l.default.createElement(n.default,null,l.default.createElement(d.default,{identifier:"root-component",disclosureType:"modal"})))}}}]); \ No newline at end of file diff --git a/pull/1911/15465-26a031d5f357fd59a143.css b/pull/1911/15465-26a031d5f357fd59a143.css new file mode 100644 index 00000000000..11f4a215b50 --- /dev/null +++ b/pull/1911/15465-26a031d5f357fd59a143.css @@ -0,0 +1,2 @@ +.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)} +[dir] .DatePicker-test-module__content-wrapper___dH2Rb{margin:10px}.DatePicker-test-module__date-wrapper___c5yjd{display:inline-block} diff --git a/pull/1911/15465-26a031d5f357fd59a143.js b/pull/1911/15465-26a031d5f357fd59a143.js new file mode 100644 index 00000000000..633781ea341 --- /dev/null +++ b/pull/1911/15465-26a031d5f357fd59a143.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[15465],{64233:function(e,t,a){var l=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(a(10434)),n=l(a(38416)),d=l(a(70215)),i=l(a(67294)),o=l(a(45697)),u=l(a(47717)),c=a(25387),s=l(a(51331)),f=l(a(28411)),b=["datePickerId","disabled","inputAttributes","error","errorIcon","excludeDates","filterDate","help","hideRequired","isIncomplete","isInvalid","isInline","isLabelHidden","includeDates","intl","label","labelAttrs","maxDate","minDate","maxWidth","name","onBlur","onChange","onChangeRaw","onClickOutside","onFocus","onRequestClose","onSelect","required","selectedDate","showOptional","value"];function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function m(e){for(var t=1;t=0||(t[r]=e[r]);return t}(e,a);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}r.d(a,{Z:function(){return n}})}}]); \ No newline at end of file diff --git a/pull/1911/1568-85705e05b714a3c13ac7.js b/pull/1911/1568-85705e05b714a3c13ac7.js new file mode 100644 index 00000000000..e9e341372e8 --- /dev/null +++ b/pull/1911/1568-85705e05b714a3c13ac7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[1568],{1568:function(e,t,r){var a=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(67294)),i=a(r(4418));t.default=function(){return n.default.createElement(i.default,{variant:"hazard-medium"})}},4418:function(e,t,r){var a=r(64836),n=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(r(10434)),o=a(r(70215)),u=a(r(27424)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=i?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(a,o,u):a[o]=e[o]}return a.default=e,r&&r.set(e,a),a}(r(67294)),f=a(r(55281)),c=a(r(45697)),d=a(r(850)),p=["variant"];function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}var v={variant:c.default.oneOf(["hazard-high","hazard-medium","hazard-low","error","custom"])},h=function(e){var t=(0,l.useState)(!1),r=(0,u.default)(t,2),a=r[0],n=r[1],c=function(){n(!1)},s=e.variant,v=(0,o.default)(e,p);return l.default.createElement(l.default.Fragment,null,a&&l.default.createElement(d.default,(0,i.default)({},v,{variant:s,dialogTitle:"The title relates directly to the choices.",startMessage:"The Main Instruction is text used to provide more detail or define terminology. Don’t repeat the title verbatim.",acceptAction:{text:"Confirm",onClick:c},rejectAction:{text:"Close",onClick:c},buttonOrder:"acceptFirst",emphasizedAction:"accept"})),l.default.createElement(f.default,{id:"trigger-notification-dialog",text:"Trigger NotificationDialog",onClick:function(){n(!0)}}))};h.propTypes=v;t.default=h}}]); \ No newline at end of file diff --git a/pull/1911/15961-2d4ae8907a8caf142787.css b/pull/1911/15961-2d4ae8907a8caf142787.css new file mode 100644 index 00000000000..04ff3e55eeb --- /dev/null +++ b/pull/1911/15961-2d4ae8907a8caf142787.css @@ -0,0 +1 @@ +.SizePopupCommon-module__content-wrapper___phf\+F{height:100%;overflow:auto;position:relative;width:100%}.SizePopupCommon-module__popup-area-small___du4g5{height:80px;width:210px}[dir] .SizePopupCommon-module__popup-area-small___du4g5{background:#f0f8ff}.SizePopupCommon-module__popup-area-medium___VhA2D{height:160px;width:350px}[dir] .SizePopupCommon-module__popup-area-medium___VhA2D{background:#f0f8ff}.SizePopupCommon-module__popup-area-invalid___bwGpY{height:300px;width:300px}[dir] .SizePopupCommon-module__popup-area-invalid___bwGpY{background:#f0f8ff} diff --git a/pull/1911/15961-2d4ae8907a8caf142787.js b/pull/1911/15961-2d4ae8907a8caf142787.js new file mode 100644 index 00000000000..abb53f64c56 --- /dev/null +++ b/pull/1911/15961-2d4ae8907a8caf142787.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[15961],{15961:function(e,t,n){var o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=o(n(56690)),a=o(n(89728)),l=o(n(66115)),r=o(n(61655)),d=o(n(94993)),i=o(n(73808)),s=o(n(67294)),p=o(n(47166)),f=o(n(92306)),c=o(n(72773));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=(0,i.default)(e);if(t){var u=(0,i.default)(this).constructor;n=Reflect.construct(o,arguments,u)}else n=o.apply(this,arguments);return(0,d.default)(this,n)}}var m=p.default.bind(c.default),N=function(e){(0,r.default)(n,e);var t=h(n);function n(e){var o;return(0,u.default)(this,n),(o=t.call(this,e)).handleButtonClick=o.handleButtonClick.bind((0,l.default)(o)),o.handleRequestClose=o.handleRequestClose.bind((0,l.default)(o)),o.setButtonNode=o.setButtonNode.bind((0,l.default)(o)),o.getButtonNode=o.getButtonNode.bind((0,l.default)(o)),o.setParentNode=o.setParentNode.bind((0,l.default)(o)),o.getParentNode=o.getParentNode.bind((0,l.default)(o)),o.state={open:!0},o}return(0,a.default)(n,[{key:"componentDidMount",value:function(){this.forceUpdate()}},{key:"handleButtonClick",value:function(){this.setState({open:!0})}},{key:"handleRequestClose",value:function(){this.setState({open:!1})}},{key:"setButtonNode",value:function(e){this.buttonNode=e}},{key:"getButtonNode",value:function(){return this.buttonNode}},{key:"setParentNode",value:function(e){this.parentNode=e}},{key:"getParentNode",value:function(){return this.parentNode}},{key:"render",value:function(){return s.default.createElement("div",{className:m("content-wrapper")},s.default.createElement("div",{id:"test-popup-area",className:m("popup-area-invalid"),ref:this.setParentNode},s.default.createElement(f.default,{boundingRef:this.getParentNode,classNameArrow:"test-arrow",classNameContent:"test-content",contentHeight:"test",contentWidth:"NaN",isOpen:this.state.open,onRequestClose:this.handleRequestClose,targetRef:this.getButtonNode},s.default.createElement("p",null,"This popup defaults its size.")),s.default.createElement("button",{type:"button",id:"dimension-button",onClick:this.handleButtonClick,ref:this.setButtonNode},"Invalid Popup")))}}]),n}(s.default.Component);t.default=N},72773:function(e,t,n){n.r(t),t.default={"content-wrapper":"SizePopupCommon-module__content-wrapper___phf+F","popup-area-small":"SizePopupCommon-module__popup-area-small___du4g5","popup-area-medium":"SizePopupCommon-module__popup-area-medium___VhA2D","popup-area-invalid":"SizePopupCommon-module__popup-area-invalid___bwGpY"}}}]); \ No newline at end of file diff --git a/pull/1911/16007-28a4fc737eb7b9c48a3c.js b/pull/1911/16007-28a4fc737eb7b9c48a3c.js new file mode 100644 index 00000000000..aa3257446ad --- /dev/null +++ b/pull/1911/16007-28a4fc737eb7b9c48a3c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[16007],{16007:function(e,t,a){var r=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(a(67294)),u=r(a(8787));t.default=function(){return n.default.createElement(u.default,{isIncomplete:!0,required:!0})}},8787:function(e,t,a){var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(a(10434)),l=r(a(27424)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var a=c(t);if(a&&a.has(e))return a.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=u?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(r,l,i):r[l]=e[l]}return r.default=e,a&&a.set(e,r),r}(a(67294)),f=r(a(45697)),o=r(a(44887)),d=r(a(77947));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(c=function(e){return e?a:t})(e)}var p={value:f.default.string,initialTimeZone:f.default.string},s=function(e){var t=e.value,a=d.default.createSafeDate(t,e.initialTimeZone);a&&a.isValid()&&(t=a.format());var r=(0,i.useState)(t),n=(0,l.default)(r,2),f=n[0],c=n[1];return i.default.createElement("div",null,i.default.createElement("p",null,"Selected ISO Date Time:",i.default.createElement("span",{"data-date-time-value":!0},f)),i.default.createElement(o.default,(0,u.default)({name:"date-time-picker-example",onChange:function(e,t){c(t)},initialTimeZone:e.initialTimeZone},e)))};s.propTypes=p,s.defaultProps={value:""};t.default=s}}]); \ No newline at end of file diff --git a/pull/1911/16060-3569c513febe665b6b0c.css b/pull/1911/16060-3569c513febe665b6b0c.css new file mode 100644 index 00000000000..cba009f74c3 --- /dev/null +++ b/pull/1911/16060-3569c513febe665b6b0c.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/pull/1911/16060-3569c513febe665b6b0c.js b/pull/1911/16060-3569c513febe665b6b0c.js new file mode 100644 index 00000000000..ee1cc2ed798 --- /dev/null +++ b/pull/1911/16060-3569c513febe665b6b0c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[16060],{22863:function(e,a,l){var m=l(64836);a.Z=void 0;var d=m(l(67294)),n=m(l(45697)),r=m(l(47166)),t=m(l(17422)),i=r.default.bind(t.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,r=d.default.createElement("a",{className:i("badge"),href:m||"https://www.npmjs.org/package/".concat(l,"/v/").concat(n)},d.default.createElement("span",{className:i("badge-name")},m?"package":"npm"),d.default.createElement("span",{className:i("badge-version")},"v".concat(n))),t=a?d.default.createElement("a",{className:i("badge"),href:a},d.default.createElement("span",{className:i("badge-name")},"github"),d.default.createElement("span",{className:i("badge-version")},"source")):void 0;return d.default.createElement("div",{className:i("badge-container")},r,t)};p.propTypes=u;var x=p;a.Z=x},16060:function(e,a,l){l.r(a),l.d(a,{default:function(){return s}});var m=l(87462),d=l(44925),n=(l(67294),l(81254)),r=l(41580),t=["components"],i={},u="wrapper";function p(e){var a=e.components,l=(0,d.Z)(e,t);return(0,n.mdx)(u,(0,m.Z)({},i,l,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)("h1",{id:"changelog"},"Changelog"),(0,n.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,n.mdx)("h2",{id:"5410---july-31-2023"},"5.41.0 - (July 31, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"5400---february-14-2023"},"5.40.0 - (February 14, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra and\nterra-functional-testing upgrade.")))),(0,n.mdx)("h2",{id:"5390---march-15-2022"},"5.39.0 - (March 15, 2022)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Migrate docs to terra-framework-docs")))),(0,n.mdx)("h2",{id:"5380---september-20-2021"},"5.38.0 - (September 20, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra sass upgrade.")))),(0,n.mdx)("h2",{id:"5370---july-21-2021"},"5.37.0 - (July 21, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"terra-form-input")," from ",(0,n.mdx)("inlineCode",{parentName:"li"},"v3.7.0")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v4.4.0"),".")))),(0,n.mdx)("h2",{id:"5360---june-8-2021"},"5.36.0 - (June 8, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"keycode-js")," from ",(0,n.mdx)("inlineCode",{parentName:"li"},"v2.0.1")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v3.1.0"),".")))),(0,n.mdx)("h2",{id:"5350---april-6-2021"},"5.35.0 - (April 6, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,n.mdx)("h2",{id:"5340---march-9-2021"},"5.34.0 - (March 9, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use terra-functional-testing")))),(0,n.mdx)("h2",{id:"5330---january-26-2021"},"5.33.0 - (January 26, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed error thrown on resizing the popup due to incorrect variables name.")))),(0,n.mdx)("h2",{id:"5320---december-8-2020"},"5.32.0 - (December 8, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,n.mdx)("h2",{id:"5310---november-10-2020"},"5.31.0 - (November 10, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed build failures due to the react/sort-comp rule")))),(0,n.mdx)("h2",{id:"5300---august-11-2020"},"5.30.0 - (August 11, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"terra-form-input")," from ^v2.3.0 to ^v3.7.0")))),(0,n.mdx)("h2",{id:"5290---august-4-2020"},"5.29.0 - (August 4, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Changelog format")))),(0,n.mdx)("h2",{id:"5280---july-14-2020"},"5.28.0 - (July 14, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor file changes to comply with eslint rules"),(0,n.mdx)("li",{parentName:"ul"},"Replace some empty text with aria-label to comply with eslint")))),(0,n.mdx)("h2",{id:"5270---april-28-2020"},"5.27.0 - (April 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added ",(0,n.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,n.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,n.mdx)("h2",{id:"5260---march-31-2020"},"5.26.0 - (March 31, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme wdio screenshots")))),(0,n.mdx)("h2",{id:"5250---february-25-2020"},"5.25.0 - (February 25, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update docs to use mdx syntax.")))),(0,n.mdx)("h2",{id:"5240---february-18-2020"},"5.24.0 - (February 18, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added generated-themes to .npmignore")))),(0,n.mdx)("h2",{id:"5230---january-28-2020"},"5.23.0 - (January 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,n.mdx)("h2",{id:"5220---december-10-2019"},"5.22.0 - (December 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Added reference wdio screenshots for "orion-fusion-theme".')))),(0,n.mdx)("h2",{id:"5210---november-7-2019"},"5.21.0 - (November 7, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Resolved lint warnings for multiple empty lines")))),(0,n.mdx)("h2",{id:"5200---october-16-2019"},"5.20.0 - (October 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"5190---october-3-2019"},"5.19.0 - (October 3, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"5180---september-26-2019"},"5.18.0 - (September 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"5170---september-19-2019"},"5.17.0 - (September 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed ",(0,n.mdx)("inlineCode",{parentName:"li"},"details")," tag from doc-site."),(0,n.mdx)("li",{parentName:"ul"},"Doc site example module import syntax modified to use package.json name resolution")))),(0,n.mdx)("h2",{id:"5160---september-6-2019"},"5.16.0 - (September 6, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files"),(0,n.mdx)("li",{parentName:"ul"},"Updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"keycode-js")," from ",(0,n.mdx)("inlineCode",{parentName:"li"},"v1.0.4")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"v2.0.1"))))),(0,n.mdx)("h2",{id:"5150---august-21-2019"},"5.15.0 - (August 21, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Cleaned up lint in test files")))),(0,n.mdx)("h2",{id:"5140---august-14-2019"},"5.14.0 - (August 14, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"updated package.json test scripts"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed themeable variable for z-index")))),(0,n.mdx)("h2",{id:"5130---july-30-2019"},"5.13.0 - (July 30, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed DEPENDENCIES.md file")))),(0,n.mdx)("h2",{id:"5120---july-16-2019"},"5.12.0 - (July 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added documentation on required peerDependencies")))),(0,n.mdx)("h2",{id:"5110---july-10-2019"},"5.11.0 - (July 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"5100---july-2-2019"},"5.10.0 - (July 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed all inline styles from Dev-site components and implemented the same styles using external css."),(0,n.mdx)("li",{parentName:"ul"},"Renamed test and example SCSS files to end with ",(0,n.mdx)("inlineCode",{parentName:"li"},".module.scss")," extension")))),(0,n.mdx)("h2",{id:"590---june-19-2019"},"5.9.0 - (June 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"580---june-12-2019"},"5.8.0 - (June 12, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Replaced classList shim with full polyfill to support d3"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update tests for terra-toolkit v5 and terra-dev-site v5 changes"),(0,n.mdx)("li",{parentName:"ul"},"Update wdio specs to use Terra.describeViewports")))),(0,n.mdx)("h2",{id:"570---april-24-2019"},"5.7.0 - (April 24, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved packages we use solely in doc examples and tests to devDependencies")))),(0,n.mdx)("h2",{id:"560---april-16-2019"},"5.6.0 - (April 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated the terra-dev-site documentation examples to use native select and Removed Dependency on terra-form-select.")))),(0,n.mdx)("h2",{id:"550---march-26-2019"},"5.5.0 - (March 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,n.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,n.mdx)("h2",{id:"540---march-12-2019"},"5.4.0 - (March 12, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Replaced local keyCode values with keycode-js npm package")))),(0,n.mdx)("h2",{id:"530---march-5-2019"},"5.3.0 - (March 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Disable outClickOutside if no callback function is passed.")))),(0,n.mdx)("h2",{id:"520---february-26-2019"},"5.2.0 - (February 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated test spec to scroll to bottom of test page before interacting with elements.")))),(0,n.mdx)("h2",{id:"510---february-5-2019"},"5.1.0 - (February 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Vestigial fixed styling removed and default to absolute.")))),(0,n.mdx)("h2",{id:"500---january-25-2019"},"5.0.0 - (January 25, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Breaking Change"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated terra-core dependencies"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed usage of componentWillReceiveProps")))),(0,n.mdx)("h2",{id:"4170---january-5-2019"},"4.17.0 - (January 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"4160---january-2-2019"},"4.16.0 - (January 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated dev site examples to not have duplicate ids."),(0,n.mdx)("li",{parentName:"ul"},"Updated dev site examples to use terra-form-input and terra-form-select to improve accessability.")))),(0,n.mdx)("h2",{id:"4150---december-5-2018"},"4.15.0 - (December 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"4140---december-3-2018"},"4.14.0 - (December 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Lint error")))),(0,n.mdx)("h2",{id:"4131---november-15-2018"},"4.13.1 - (November 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added existence check for SVGElement, fixes issue with older version of jsdom")))),(0,n.mdx)("h2",{id:"4130---november-15-2018"},"4.13.0 - (November 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update react-onclickoutside to ^6.7.1")))),(0,n.mdx)("h2",{id:"4120---september-25-2018"},"4.12.0 - (September 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Broken coordiantes example for setState.")))),(0,n.mdx)("h2",{id:"4110---september-5-2018"},"4.11.0 - (September 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,n.mdx)("h2",{id:"4100---august-30-2018"},"4.10.0 - (August 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,n.mdx)("h2",{id:"490---august-13-2018"},"4.9.0 - (August 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"480---july-25-2018"},"4.8.0 - (July 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Add .module extension to SCSS file(s)")))),(0,n.mdx)("h2",{id:"470---july-10-2018"},"4.7.0 - (July 10, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Clean up dependencies")))),(0,n.mdx)("h2",{id:"460---july-3-2018"},"4.6.0 - (July 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"450---june-29-2018"},"4.5.0 - (June 29, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Introduce targetCoordinates to hookshot functionality."))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Change logs to documentation on terra-dev-site"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Corrected the 'resize observer loop limit reached' error with animation frames.")))),(0,n.mdx)("h2",{id:"440---june-12-2018"},"4.4.0 - (June 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"430---may-30-2018"},"4.3.0 - (May 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,n.mdx)("h2",{id:"420---may-22-2018"},"4.2.0 - (May 22, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"410---april-30-2018"},"4.1.0 - (April 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates"),(0,n.mdx)("li",{parentName:"ul"},"Do not release snapshots to npm")))),(0,n.mdx)("h2",{id:"400---april-20-2018"},"4.0.0 - (April 20, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed the call to preventDefault in onOutsideClick")))),(0,n.mdx)("h2",{id:"310---april-13-2018"},"3.1.0 - (April 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"300---april-10-2018"},"3.0.0 - (April 10, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Attachment behavior ",(0,n.mdx)("inlineCode",{parentName:"li"},"none")," will no longer reposition content relative to a bounding rect. Content will remain statically positioned to the specified attachment target. Update the attachment behavior of ",(0,n.mdx)("inlineCode",{parentName:"li"},"none")," to ",(0,n.mdx)("inlineCode",{parentName:"li"},"push")," to regain previous bounded repositioning.")))),(0,n.mdx)("h2",{id:"230---april-3-2018"},"2.3.0 - (April 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved terra-hookshot to terra-framework repo.")))),(0,n.mdx)("h2",{id:"220---march-6-2018"},"2.2.0 - (March 6, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed props-table script from package.json")))),(0,n.mdx)("h2",{id:"210---february-26-2018"},"2.1.0 - (February 26, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"201---february-13-2018"},"2.0.1 - (February 13, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated peerDependencies")))),(0,n.mdx)("h2",{id:"200---february-12-2018"},"2.0.0 - (February 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use React 16")))),(0,n.mdx)("h2",{id:"180---february-1-2018"},"1.8.0 - (February 1, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"170---january-18-2018"},"1.7.0 - (January 18, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"160---january-5-2018"},"1.6.0 - (January 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"150---december-5-2017"},"1.5.0 - (December 5, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Add preventDefault() to onOutsideClick")))),(0,n.mdx)("h2",{id:"140---november-28-2017"},"1.4.0 - (November 28, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"130---november-16-2017"},"1.3.0 - (November 16, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor version bump")))),(0,n.mdx)("h2",{id:"120---october-31-2017"},"1.2.0 - (October 31, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Height and Width rounding"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Content Resize callback")))),(0,n.mdx)("h2",{id:"110---october-24-2017"},"1.1.0 - (October 24, 2017)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Mobile zoom on safari"),(0,n.mdx)("li",{parentName:"ul"},"Half px value causing blurriness"),(0,n.mdx)("li",{parentName:"ul"},"Disable Listener dependency on target")))),(0,n.mdx)("h2",{id:"100---october-12-2017"},"1.0.0 - (October 12, 2017)"),(0,n.mdx)("p",null,"Initial stable release"))}p.isMDXComponent=!0;var x=["components"],o={},N="wrapper";function s(e){var a=e.components,l=(0,d.Z)(e,x);return(0,n.mdx)(N,(0,m.Z)({},o,l,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)(r.C,{mdxType:"Badge"}),(0,n.mdx)(p,{mdxType:"ChangeLog"}))}s.isMDXComponent=!0},41580:function(e,a,l){l.d(a,{C:function(){return n}});var m=l(67294),d=l(22863),n=function(e){var a=e.url;return m.createElement(d.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-hookshot",name:"terra-hookshot",version:"5.41.0",url:a})}},17422:function(e,a,l){l.r(a),a.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"}},87462:function(e,a,l){function m(){return m=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(d[l]=e[l]);return d}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(m=0;m=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(d[l]=e[l])}return d}l.d(a,{Z:function(){return m}})}}]); \ No newline at end of file diff --git a/pull/1911/16164-36b9fa0b38f9f6b97784.css b/pull/1911/16164-36b9fa0b38f9f6b97784.css new file mode 100644 index 00000000000..c7a186989ab --- /dev/null +++ b/pull/1911/16164-36b9fa0b38f9f6b97784.css @@ -0,0 +1,5 @@ +.SlidePanel-module__clinical-lowlight-theme___NdNQF{--terra-slide-panel-panel-background-color: #222a2e;--terra-slide-panel-main-background-color: #222a2e;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 5px #181b1d;--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 5px #181b1d;--terra-slide-panel-main-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-border-right-color: #181b1d;--terra-slide-panel-panel-squish-border-left-color: #181b1d;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6}.SlidePanel-module__orion-fusion-theme___aBPYu{--terra-slide-panel-main-background-color: #fff;--terra-slide-panel-panel-background-color: #fff;--terra-slide-panel-main-squish-background-color: #fff;--terra-slide-panel-panel-squish-background-color: #fff;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6;--terra-slide-panel-panel-squish-border-right-color: #d3d4d5;--terra-slide-panel-panel-squish-border-left-color: #d3d4d5}.SlidePanel-module__slide-panel___5vKEK{overflow:hidden;position:relative}.SlidePanel-module__main___Jq40y,.SlidePanel-module__panel___N9gHx{box-sizing:border-box;height:100%;outline:none;-webkit-overflow-scrolling:touch;overflow-y:auto;width:100%}.SlidePanel-module__main___Jq40y{position:relative;z-index:0}[dir] .SlidePanel-module__main___Jq40y{background-color:#fff;background-color:var(--terra-slide-panel-main-background-color, #fff)}.SlidePanel-module__panel___N9gHx{position:absolute;z-index:500}[dir] .SlidePanel-module__panel___N9gHx{background-color:#fff;background-color:var(--terra-slide-panel-panel-background-color, #fff)}.SlidePanel-module__slide-panel___5vKEK .SlidePanel-module__slide-panel___5vKEK>.SlidePanel-module__panel___N9gHx{z-index:499}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___Jq40y{float:right}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___Jq40y{float:left}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{transform:translate3d(-100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{transform:translate3d(100%, 0, 0)}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___Jq40y{float:left}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___Jq40y{float:right}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{left:0;transform:translate3d(-100%, 0, 0)}[dir] .SlidePanel-module__is-open___SU3q3>.SlidePanel-module__panel___N9gHx{transform:translate3d(0, 0, 0)}@media all and (min-width: 768px){[data-slide-panel-panel-size=small]>.SlidePanel-module__panel___N9gHx{width:320px;width:var(--terra-slide-panel-panel-small-width, 320px)}[data-slide-panel-panel-size=large]>.SlidePanel-module__panel___N9gHx{width:calc(100%*0.6);width:calc(100%*var(--terra-slide-panel-panel-width-large-scalar, 0.6))}}@media(max-width: 767px),print{.SlidePanel-module__is-open___SU3q3>.SlidePanel-module__main___Jq40y{visibility:hidden}}@media(min-width: 768px),print{[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}}@media(min-width: 768px),print{[dir] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__main___Jq40y{background-color:#fff;background-color:var(--terra-slide-panel-main-squish-background-color, #fff)}.SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=small]>.SlidePanel-module__main___Jq40y{width:calc(100% - 320px);width:calc(100% - var(--terra-slide-panel-panel-squish-width-small, 320px))}.SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=large]>.SlidePanel-module__main___Jq40y{width:calc(100%*(1 - 0.6));width:calc(100%*(1 - var(--terra-slide-panel-panel-squish-width-large-scalar, 0.6)))}[dir] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__panel___N9gHx{background-color:#fff;background-color:var(--terra-slide-panel-panel-squish-background-color, #fff)}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}}.SlidePanel-module__is-fullscreen___0BQTN[data-slide-panel-panel-size]>.SlidePanel-module__panel___N9gHx{width:100%}.SlidePanel-module__fill___vHC0f{height:100%;width:100%}.SlidePanel-module__panel___N9gHx[aria-hidden=true]{visibility:hidden}.SlidePanel-module__main___Jq40y[aria-hidden=true]{visibility:hidden} +.ButtonGroup-module__clinical-lowlight-theme___El\+dS{--terra-button-group-button-active-background-color: #1a2023;--terra-button-group-button-active-border-color: #181b1d;--terra-button-group-button-active-color: #9b9b9b;--terra-button-group-button-background-color: #2d3539;--terra-button-group-button-border-color: #181b1d;--terra-button-group-button-box-shadow: none;--terra-button-group-button-color: #b2b5b6;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #1a2023;--terra-button-group-button-focus-border-color: #181b1d;--terra-button-group-button-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-hover-background-color: #1e272b;--terra-button-group-button-hover-color: #9b9b9b;--terra-button-group-button-active-box-shadow: none;--terra-button-group-button-selected-background-color: #1a2023;--terra-button-group-button-selected-border-color: #181b1d;--terra-button-group-button-selected-box-shadow: none;--terra-button-group-button-selected-color: #9b9b9b;--terra-button-group-button-selected-and-focus-background-color: #1a2023;--terra-button-group-button-selected-and-focus-border-color: #181b1d;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-selected-and-focus-color: #9b9b9b;--terra-button-group-button-selected-and-hover-background-color: #121517;--terra-button-group-button-selected-and-hover-border-color: #181b1d;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #9b9b9b;--terra-button-group-button-border-bottom-left-radius: 0.2142em;--terra-button-group-button-border-top-left-radius: 0.2142rem;--terra-button-group-button-border-bottom-right-radius: 0.2142em;--terra-button-group-button-border-top-right-radius: 0.2142rem}.ButtonGroup-module__orion-fusion-theme___BkFFY{--terra-button-group-button-background-color: #dedfe0;--terra-button-group-button-border-color: #6f7477;--terra-button-group-button-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4;--terra-button-group-button-color: #000;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #9b9fa1;--terra-button-group-button-focus-border-color: #6f7477;--terra-button-group-button-focus-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4, 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-hover-background-color: #b2b5b6;--terra-button-group-button-hover-color: #000;--terra-button-group-button-selected-and-hover-background-color: #52585b;--terra-button-group-button-selected-and-hover-border-color: #6f7477;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #fff;--terra-button-group-button-selected-and-focus-background-color: #52585b;--terra-button-group-button-selected-and-focus-border-color: #6f7477;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-selected-and-focus-color: #fff;--terra-button-group-button-selected-background-color: #52585b;--terra-button-group-button-selected-border-color: #6f7477;--terra-button-group-button-selected-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-selected-color: #fff;--terra-button-group-button-active-background-color: #52585b;--terra-button-group-button-active-border-color: #6f7477;--terra-button-group-button-active-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-active-color: #fff;--terra-button-group-button-border-bottom-left-radius: 3px;--terra-button-group-button-border-top-left-radius: 3px;--terra-button-group-button-border-bottom-right-radius: 3px;--terra-button-group-button-border-top-right-radius: 3px}.ButtonGroup-module__button-group___iIAAg{display:-ms-inline-flexbox;display:inline-flex;position:relative;vertical-align:middle;white-space:nowrap}.ButtonGroup-module__button-group-button___YB1ME{color:#1c1f21;color:var(--terra-button-group-button-color, #1c1f21);font-weight:400;font-weight:var(--terra-button-group-button-font-weight, 400);position:relative}[dir] .ButtonGroup-module__button-group-button___YB1ME{background-color:#dedfe0;background-color:var(--terra-button-group-button-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-border-color, #c8cacb);border-radius:0;border-style:solid;border-width:1px;box-shadow:none;box-shadow:var(--terra-button-group-button-box-shadow, none);margin:0}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-disabled___rqrG9,.ButtonGroup-module__button-group-button___YB1ME:disabled{opacity:0.3;opacity:var(--terra-button-group-button-disabled-opacity, 0.3)}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{z-index:1000}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{background-color:#dedfe0;background-color:var(--terra-button-group-button-focus-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-focus-border-color, #c8cacb);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){.ButtonGroup-module__button-group-button___YB1ME:hover{color:#000;color:var(--terra-button-group-button-hover-color, #000)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover{background-color:#b9bbbc;background-color:var(--terra-button-group-button-hover-background-color, #b9bbbc)}.ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-and-hover-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{background-color:#40474a;background-color:var(--terra-button-group-button-selected-and-hover-background-color, #40474a);border-color:#40474a;border-color:var(--terra-button-group-button-selected-and-hover-border-color, #40474a);box-shadow:var(--terra-button-group-button-selected-and-hover-box-shadow)}}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{color:#fff;color:var(--terra-button-group-button-selected-and-focus-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{background-color:#52585b;background-color:var(--terra-button-group-button-selected-and-focus-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-and-focus-border-color, #52585b);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-selected-and-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{background-color:#52585b;background-color:var(--terra-button-group-button-selected-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-border-color, #52585b);box-shadow:var(--terra-button-group-button-selected-box-shadow)}.ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718,.ButtonGroup-module__button-group-button___YB1ME:active{color:#fff;color:var(--terra-button-group-button-active-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718, [dir] .ButtonGroup-module__button-group-button___YB1ME:active{background-color:#52585b;background-color:var(--terra-button-group-button-active-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-active-border-color, #52585b);box-shadow:var(--terra-button-group-button-active-box-shadow)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-left:-1px}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-right:-1px}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}.ButtonGroup-module__is-block___otiJA{width:100%}.ButtonGroup-module__is-block___otiJA .ButtonGroup-module__button-group-button___YB1ME{-ms-flex:1 1 auto;flex:1 1 auto} +.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}@media(max-width: 320px),(max-height: 256px){.Arrange-module__fit___tv8j-{-ms-flex:0 0;flex:0 0}} +[dir] .DisclosureComponent-module__content-wrapper___bvpSZ{border-bottom:1px solid #000;margin:0}[dir] .DisclosureComponent-module__form-wrapper___96jEd{padding:.7rem} +.SlidePanelManagerDefault-test-module__content-wrapper___6BZ9g{height:100%}[dir] .SlidePanelManagerDefault-test-module__disclosure-accessory___OZMgv{background-color:#add8e6;padding:1rem}.SlidePanelManagerDefault-test-module__disclosure-container___-QHV0{height:100%}[dir] .SlidePanelManagerDefault-test-module__disclosure-container___-QHV0{background-color:#b899f0;padding:1rem} diff --git a/pull/1911/16164-36b9fa0b38f9f6b97784.js b/pull/1911/16164-36b9fa0b38f9f6b97784.js new file mode 100644 index 00000000000..2f2d768155d --- /dev/null +++ b/pull/1911/16164-36b9fa0b38f9f6b97784.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[16164],{65549:function(e,r,a){var t=a(64836);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var l=t(a(67294)),c=t(a(47166)),s=t(a(34653)),d=t(a(73887)),u=t(a(74787)),n=c.default.bind(u.default);r.default=function(){return l.default.createElement("div",{role:"main",className:n("content-wrapper")},l.default.createElement(s.default,{disclosureAccessory:l.default.createElement("div",{className:n("disclosure-accessory")},"Disclosure Accessory")},l.default.createElement(d.default,{identifier:"root-component",disclosureType:"panel",renderHeaderAdapter:!0})))}}}]); \ No newline at end of file diff --git a/pull/1911/16179-d76b80bc362f2064752f.css b/pull/1911/16179-d76b80bc362f2064752f.css new file mode 100644 index 00000000000..9c63a07e3a4 --- /dev/null +++ b/pull/1911/16179-d76b80bc362f2064752f.css @@ -0,0 +1,3 @@ +.ButtonGroup-module__clinical-lowlight-theme___El\+dS{--terra-button-group-button-active-background-color: #1a2023;--terra-button-group-button-active-border-color: #181b1d;--terra-button-group-button-active-color: #9b9b9b;--terra-button-group-button-background-color: #2d3539;--terra-button-group-button-border-color: #181b1d;--terra-button-group-button-box-shadow: none;--terra-button-group-button-color: #b2b5b6;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #1a2023;--terra-button-group-button-focus-border-color: #181b1d;--terra-button-group-button-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-hover-background-color: #1e272b;--terra-button-group-button-hover-color: #9b9b9b;--terra-button-group-button-active-box-shadow: none;--terra-button-group-button-selected-background-color: #1a2023;--terra-button-group-button-selected-border-color: #181b1d;--terra-button-group-button-selected-box-shadow: none;--terra-button-group-button-selected-color: #9b9b9b;--terra-button-group-button-selected-and-focus-background-color: #1a2023;--terra-button-group-button-selected-and-focus-border-color: #181b1d;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);--terra-button-group-button-selected-and-focus-color: #9b9b9b;--terra-button-group-button-selected-and-hover-background-color: #121517;--terra-button-group-button-selected-and-hover-border-color: #181b1d;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #9b9b9b;--terra-button-group-button-border-bottom-left-radius: 0.2142em;--terra-button-group-button-border-top-left-radius: 0.2142rem;--terra-button-group-button-border-bottom-right-radius: 0.2142em;--terra-button-group-button-border-top-right-radius: 0.2142rem}.ButtonGroup-module__orion-fusion-theme___BkFFY{--terra-button-group-button-background-color: #dedfe0;--terra-button-group-button-border-color: #6f7477;--terra-button-group-button-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4;--terra-button-group-button-color: #000;--terra-button-group-button-font-weight: 400;--terra-button-group-button-disabled-opacity: 0.3;--terra-button-group-button-focus-background-color: #9b9fa1;--terra-button-group-button-focus-border-color: #6f7477;--terra-button-group-button-focus-box-shadow: inset 0 3rem 1.5rem -2rem #f4f4f4, 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-hover-background-color: #b2b5b6;--terra-button-group-button-hover-color: #000;--terra-button-group-button-selected-and-hover-background-color: #52585b;--terra-button-group-button-selected-and-hover-border-color: #6f7477;--terra-button-group-button-selected-and-hover-box-shadow: none;--terra-button-group-button-selected-and-hover-color: #fff;--terra-button-group-button-selected-and-focus-background-color: #52585b;--terra-button-group-button-selected-and-focus-border-color: #6f7477;--terra-button-group-button-selected-and-focus-box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.65), 0 0 2px 3px rgba(76, 178, 233, 0.5), 0 0 6px 4px rgba(76, 178, 233, 0.3);--terra-button-group-button-selected-and-focus-color: #fff;--terra-button-group-button-selected-background-color: #52585b;--terra-button-group-button-selected-border-color: #6f7477;--terra-button-group-button-selected-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-selected-color: #fff;--terra-button-group-button-active-background-color: #52585b;--terra-button-group-button-active-border-color: #6f7477;--terra-button-group-button-active-box-shadow: inset 0 3rem 1.5rem -2rem #434a4d;--terra-button-group-button-active-color: #fff;--terra-button-group-button-border-bottom-left-radius: 3px;--terra-button-group-button-border-top-left-radius: 3px;--terra-button-group-button-border-bottom-right-radius: 3px;--terra-button-group-button-border-top-right-radius: 3px}.ButtonGroup-module__button-group___iIAAg{display:-ms-inline-flexbox;display:inline-flex;position:relative;vertical-align:middle;white-space:nowrap}.ButtonGroup-module__button-group-button___YB1ME{color:#1c1f21;color:var(--terra-button-group-button-color, #1c1f21);font-weight:400;font-weight:var(--terra-button-group-button-font-weight, 400);position:relative}[dir] .ButtonGroup-module__button-group-button___YB1ME{background-color:#dedfe0;background-color:var(--terra-button-group-button-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-border-color, #c8cacb);border-radius:0;border-style:solid;border-width:1px;box-shadow:none;box-shadow:var(--terra-button-group-button-box-shadow, none);margin:0}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-disabled___rqrG9,.ButtonGroup-module__button-group-button___YB1ME:disabled{opacity:0.3;opacity:var(--terra-button-group-button-disabled-opacity, 0.3)}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{z-index:1000}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-focused___PsJoG{background-color:#dedfe0;background-color:var(--terra-button-group-button-focus-background-color, #dedfe0);border-color:#c8cacb;border-color:var(--terra-button-group-button-focus-border-color, #c8cacb);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){.ButtonGroup-module__button-group-button___YB1ME:hover{color:#000;color:var(--terra-button-group-button-hover-color, #000)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover{background-color:#b9bbbc;background-color:var(--terra-button-group-button-hover-background-color, #b9bbbc)}.ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-and-hover-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:hover.ButtonGroup-module__is-selected___DM718{background-color:#40474a;background-color:var(--terra-button-group-button-selected-and-hover-background-color, #40474a);border-color:#40474a;border-color:var(--terra-button-group-button-selected-and-hover-border-color, #40474a);box-shadow:var(--terra-button-group-button-selected-and-hover-box-shadow)}}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{color:#fff;color:var(--terra-button-group-button-selected-and-focus-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718.ButtonGroup-module__is-focused___PsJoG{background-color:#52585b;background-color:var(--terra-button-group-button-selected-and-focus-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-and-focus-border-color, #52585b);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-button-group-button-selected-and-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}.ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{color:#fff;color:var(--terra-button-group-button-selected-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME.ButtonGroup-module__is-selected___DM718{background-color:#52585b;background-color:var(--terra-button-group-button-selected-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-selected-border-color, #52585b);box-shadow:var(--terra-button-group-button-selected-box-shadow)}.ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718,.ButtonGroup-module__button-group-button___YB1ME:active{color:#fff;color:var(--terra-button-group-button-active-color, #fff)}[dir] .ButtonGroup-module__button-group-button___YB1ME:active.ButtonGroup-module__is-selected___DM718, [dir] .ButtonGroup-module__button-group-button___YB1ME:active{background-color:#52585b;background-color:var(--terra-button-group-button-active-background-color, #52585b);border-color:#52585b;border-color:var(--terra-button-group-button-active-border-color, #52585b);box-shadow:var(--terra-button-group-button-active-box-shadow)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-left:-1px}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME+.ButtonGroup-module__button-group-button___YB1ME{margin-right:-1px}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:first-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-left-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-left-radius, 0.2142rem)}[dir=ltr] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-right-radius:0.2142rem;border-bottom-right-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-right-radius:0.2142rem;border-top-right-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}[dir=rtl] .ButtonGroup-module__button-group-button___YB1ME:last-child{border-bottom-left-radius:0.2142rem;border-bottom-left-radius:var(--terra-button-group-button-border-bottom-right-radius, 0.2142rem);border-top-left-radius:0.2142rem;border-top-left-radius:var(--terra-button-group-button-border-top-right-radius, 0.2142rem)}.ButtonGroup-module__is-block___otiJA{width:100%}.ButtonGroup-module__is-block___otiJA .ButtonGroup-module__button-group-button___YB1ME{-ms-flex:1 1 auto;flex:1 1 auto} +.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)} +[dir] .TimeInput-test-module__content-wrapper___9EMnN{margin:10px} diff --git a/pull/1911/16179-d76b80bc362f2064752f.js b/pull/1911/16179-d76b80bc362f2064752f.js new file mode 100644 index 00000000000..04a22f2d86e --- /dev/null +++ b/pull/1911/16179-d76b80bc362f2064752f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[16179],{21175:function(e,t,r){var n=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67294)),u=n(r(47166)),a=n(r(43671)),l=n(r(90592)),i=n(r(7009)),f=u.default.bind(i.default);t.default=function(){return o.default.createElement("div",{className:f("content-wrapper")},o.default.createElement(a.default,{id:"timeInput",name:"time-input",variant:l.default.FORMAT_12_HOUR,isInvalidMeridiem:!0}))}},68586:function(e,t,r){r.r(t),t.default={"clinical-lowlight-theme":"Input-module__clinical-lowlight-theme___clY96","orion-fusion-theme":"Input-module__orion-fusion-theme___phvH5","form-input":"Input-module__form-input___Fk8kb","form-error":"Input-module__form-error___aU4hq","form-incomplete":"Input-module__form-incomplete___h4I7H"}},7009:function(e,t,r){r.r(t),t.default={"content-wrapper":"TimeInput-test-module__content-wrapper___9EMnN"}},55142:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=p(r(67294)),u=p(r(45697)),a=p(r(94184)),l=p(r(47166)),i=p(r(47341)),f=p(r(68586)),c=["defaultValue","disabled","isIncomplete","isInvalid","onBlur","onChange","onFocus","onInput","name","pattern","refCallback","required","type","ariaLabel","value"];function p(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e,t){for(var r=0;r=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 s=r.default.bind(u.default),_=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},m=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},p={children:l.default.string},h=function(e){var t=e.children,n=f(e,i),l=a.default.useContext(o.default),u=(0,r.default)(s(["button",l.className]),n.className);return a.default.createElement("button",d({},n,{type:"button",className:u,onBlur:_,onMouseDown:m,"data-focus-styles-enabled":!0}),t)};h.propTypes=p;var b=h;t.default=b},59278:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n(67294)),l=i(n(45697)),r=i(n(47166)),o=i(n(47341)),u=i(n(30866));function i(e){return e&&e.__esModule?e:{default:e}}var c=r.default.bind(u.default),d={ariaLevel:l.default.oneOf(["2","3","4","5","6"]),children:l.default.node,variant:l.default.oneOf(["ux-recommendation","caution","deprecation","maintenance","important","not-supported"])},f=function(e){var t=e.ariaLevel,n=e.variant,l=e.children,r=a.default.useContext(o.default);return a.default.createElement("div",{className:c("notice",n,r.className)},a.default.createElement("div",{className:c("accessory"),"aria-hidden":"true",focusable:"false"}),a.default.createElement("div",{role:"heading",className:c("title"),"aria-level":t},a.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))),a.default.createElement("div",{className:c("children")},function(e){return"not-supported"===e?a.default.createElement(a.default.Fragment,null,a.default.createElement("p",{className:c("paragraph")},"This component was designed and tested according to the documented implementation."),a.default.createElement("p",{className:c("paragraph")},"Using the component incorrectly:",a.default.createElement("ul",{className:c("list")},a.default.createElement("li",null,"will likely result in improper composition and create accessibility issues"),a.default.createElement("li",null,"may cause erratic or broken behaviors and styles"),a.default.createElement("li",null,a.default.createElement("strong",null,"will not be supported "),"or enhanced to allow for incorrect use")))):null}(n),a.default.Children.map(l,(function(e){return"string"==typeof e?a.default.createElement("p",null,e):e}))))};f.propTypes=d,f.defaultProps={ariaLevel:"2",variant:"important"};var s=f;t.default=s},47306:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=d(n(67294)),l=d(n(45697)),r=d(n(94184)),o=d(n(47166)),u=d(n(47341)),i=d(n(42620)),c=["title"];function d(e){return e&&e.__esModule?e:{default:e}}function f(){return f=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 _=o.default.bind(i.default),m={title:l.default.string},p=function(e){var t=e.title,n=s(e,c),l=a.default.useContext(u.default),o=(0,r.default)(_(["placeholder",l.className]),n.className),i=_(["inner"]);return a.default.createElement("div",f({},n,{className:o}),a.default.createElement("div",{className:i},a.default.createElement("p",{className:_("title")},t)))};p.propTypes=m,p.defaultProps={title:""};var h=p;t.default=h},34261:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Notice",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return l.default}});var a=o(n(59278)),l=o(n(47306)),r=o(n(40996));function o(e){return e&&e.__esModule?e:{default:e}}},27152:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(67294)),r=a(n(62307)),o=n(34261),u=l.default.createElement(o.Placeholder,{title:"Test Hero"}),i={name:"Test Name",initials:"TN",detail:"Test Detail"};t.default=function(){return l.default.createElement(r.default,{hero:u,userConfig:i})}},66983:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Button-module__clinical-lowlight-theme___TyZWB","orion-fusion-theme":"Button-module__orion-fusion-theme___q-FcQ",button:"Button-module__button___QuCn2","is-active":"Button-module__is-active___Z8AuK"}},30866:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Notice-module__clinical-lowlight-theme___aa5xV","orion-fusion-theme":"Notice-module__orion-fusion-theme___QAE-T",notice:"Notice-module__notice___GWkPA",children:"Notice-module__children___lDYsm",accessory:"Notice-module__accessory___wkLOG",title:"Notice-module__title___6H5tc","ux-recommendation":"Notice-module__ux-recommendation___N8BuK",caution:"Notice-module__caution___hPrVl",deprecation:"Notice-module__deprecation___g1drA",maintenance:"Notice-module__maintenance___kWLIZ",important:"Notice-module__important___p5DiF","not-supported":"Notice-module__not-supported___34bHd",paragraph:"Notice-module__paragraph___5h-w1",list:"Notice-module__list___M2Kxj"}},42620:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Placeholder-module__clinical-lowlight-theme___Obm9K","orion-fusion-theme":"Placeholder-module__orion-fusion-theme___svHY+",placeholder:"Placeholder-module__placeholder___ZZDXd",inner:"Placeholder-module__inner___fJq9o",title:"Placeholder-module__title___teBSo"}}}]); \ No newline at end of file diff --git a/pull/1911/16772-7ce1801e3b146115f616.css b/pull/1911/16772-7ce1801e3b146115f616.css new file mode 100644 index 00000000000..2d6639cd81f --- /dev/null +++ b/pull/1911/16772-7ce1801e3b146115f616.css @@ -0,0 +1,2 @@ +.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}@media(max-width: 320px),(max-height: 256px){.Arrange-module__fit___tv8j-{-ms-flex:0 0;flex:0 0}} +.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-border-bottom: 1px solid #08090a;--terra-section-header-focus-border-left: 0 none;--terra-section-header-focus-border-right: 0 none;--terra-section-header-focus-border-top: 0 none;--terra-section-header-focus-box-shadow: 0 0 1px 3px #004c76, 0 0 7px 4px #004c76;--terra-section-header-focus-color: #b2b5b6;--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-focus-border-bottom: 1px solid #08090a;--terra-section-header-transparent-focus-border-left: 0 none;--terra-section-header-transparent-focus-border-right: 0 none;--terra-section-header-transparent-focus-border-top: 0 none;--terra-section-header-transparent-focus-box-shadow: 0 0 1px 3px #004c76, 0 0 7px 4px #004c76;--terra-section-header-transparent-focus-color: #b2b5b6;--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-border-bottom: 1px solid #9b9fa1;--terra-section-header-focus-border-left: 0 none;--terra-section-header-focus-border-right: 0 none;--terra-section-header-focus-border-top: 0 none;--terra-section-header-focus-box-shadow: 0 0 1px 3px #4cb2e980, 0 0 7px 4px #4cb2e959;--terra-section-header-focus-color: #1c1f21;--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-focus-border-bottom: 0 none;--terra-section-header-transparent-focus-border-left: 0 none;--terra-section-header-transparent-focus-border-right: 0 none;--terra-section-header-transparent-focus-border-top: 0 none;--terra-section-header-transparent-focus-box-shadow: 0 0 1px 3px #4cb2e980, 0 0 7px 4px #4cb2e959;--terra-section-header-transparent-focus-color: #1c1f21;--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")}.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)}[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:focus{color:#1c1f21;color:var(--terra-section-header-focus-color, #1c1f21);outline:none}[dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:focus{background:#e8e9ea;background:var(--terra-section-header-focus-background, #e8e9ea);border-bottom:1px solid #c8cacb;border-bottom:var(--terra-section-header-focus-border-bottom, 1px solid #c8cacb);border-top:0 none;border-top:var(--terra-section-header-focus-border-top, 0 none);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-section-header-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}[dir=ltr] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:focus{border-left:0 none;border-left:var(--terra-section-header-focus-border-left, 0 none);border-right:0 none;border-right:var(--terra-section-header-focus-border-right, 0 none)}[dir=rtl] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z:focus{border-right:0 none;border-right:var(--terra-section-header-focus-border-left, 0 none);border-left:0 none;border-left:var(--terra-section-header-focus-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:focus{color:#1c1f21;color:var(--terra-section-header-transparent-focus-color, #1c1f21);outline:none}[dir] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:focus{background:rgba(0, 0, 0, 0.07);background:var(--terra-section-header-transparent-focus-background, rgba(0, 0, 0, 0.07));border-bottom:0 none;border-bottom:var(--terra-section-header-transparent-focus-border-bottom, 0 none);border-top:0 none;border-top:var(--terra-section-header-transparent-focus-border-top, 0 none);box-shadow:0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35);box-shadow:var(--terra-section-header-transparent-focus-box-shadow, 0 0 1px 3px rgba(76, 178, 233, 0.5), 0 0 7px 4px rgba(76, 178, 233, 0.35))}[dir=ltr] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:focus{border-left:0 none;border-left:var(--terra-section-header-transparent-focus-border-left, 0 none);border-right:0 none;border-right:var(--terra-section-header-transparent-focus-border-right, 0 none)}[dir=rtl] .SectionHeader-module__section-header___wbdJQ.SectionHeader-module__is-interactable___4Hj3Z.SectionHeader-module__is-transparent___3L6Q5:focus{border-right:0 none;border-right:var(--terra-section-header-transparent-focus-border-left, 0 none);border-left:0 none;border-left:var(--terra-section-header-transparent-focus-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} diff --git a/pull/1911/16772-7ce1801e3b146115f616.js b/pull/1911/16772-7ce1801e3b146115f616.js new file mode 100644 index 00000000000..f340e20fc98 --- /dev/null +++ b/pull/1911/16772-7ce1801e3b146115f616.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[16772],{66633:function(e,t,r){r.r(t),t.default={arrange:"Arrange-module__arrange___hY0Ml",fill:"Arrange-module__fill___m88eq",fit:"Arrange-module__fit___tv8j-",center:"Arrange-module__center___9qfhG",bottom:"Arrange-module__bottom___8beod",stretch:"Arrange-module__stretch___eQF-k",default:"Arrange-module__default___z+O29"}},9197:function(e,t,r){r.r(t),t.default={"clinical-lowlight-theme":"SectionHeader-module__clinical-lowlight-theme___M-5zo","orion-fusion-theme":"SectionHeader-module__orion-fusion-theme___MGUT7","section-header":"SectionHeader-module__section-header___wbdJQ","is-interactable":"SectionHeader-module__is-interactable___4Hj3Z","is-active":"SectionHeader-module__is-active___Qfdbq","is-transparent":"SectionHeader-module__is-transparent___3L6Q5","title-arrange":"SectionHeader-module__title-arrange___t4JW1",title:"SectionHeader-module__title___EPyaG","accordion-icon-wrapper":"SectionHeader-module__accordion-icon-wrapper___BOHqG","accordion-icon":"SectionHeader-module__accordion-icon___VQmOf","is-open":"SectionHeader-module__is-open___naqpt","arrange-wrapper":"SectionHeader-module__arrange-wrapper___jwEJm"}},78490:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AlignmentTypes=void 0;var o=u(r(67294)),i=u(r(45697)),a=u(r(47166)),l=u(r(66633)),c=["fitStart","fill","fitEnd","align","alignFitStart","alignFill","alignFitEnd","fitStartAttributes","fillAttributes","fitEndAttributes"];function u(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.AlignmentTypes={CENTER:"center",BOTTOM:"bottom",STRETCH:"stretch"};var y=a.default.bind(l.default),_={fitStart:i.default.element,fill:i.default.element.isRequired,fitEnd:i.default.element,align:i.default.oneOf(["center","bottom","stretch"]),alignFitStart:i.default.oneOf(["center","bottom","stretch"]),alignFitEnd:i.default.oneOf(["center","bottom","stretch"]),alignFill:i.default.oneOf(["center","bottom","stretch"]),fitStartAttributes:i.default.object,fillAttributes:i.default.object,fitEndAttributes:i.default.object},m=function(e){var t=e.fitStart,r=e.fill,n=e.fitEnd,i=e.align,a=e.alignFitStart,l=e.alignFill,u=e.alignFitEnd,s=e.fitStartAttributes,d=e.fillAttributes,_=e.fitEndAttributes,m=b(e,c),O=p({},s),v=p({},d),g=p({},_);return o.default.createElement("span",f({},m,{className:y("arrange",m.className)}),o.default.createElement("span",f({},O,{className:y("fit",i||a,O.className,"fit-block")}),t),o.default.createElement("span",f({},v,{className:y("fill",i||l,v.className,"fill-block")}),r),o.default.createElement("span",f({},g,{className:y("fit",i||u,g.className)}),n))};m.propTypes=_;t.default=m},16772:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=b(r(67294)),i=b(r(45697)),a=b(r(94184)),l=b(r(47166)),c=b(r(47341)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(o,a,l):o[a]=e[a]}o.default=e,r&&r.set(e,o);return o}(r(51051)),f=b(r(78490)),s=b(r(9197)),p=["text","title","onClick","isOpen","isTransparent","level"];function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function v(e,t){for(var r=0;r=0||(t[a]=e[a]);return t}(e,r);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}return t}a.d(r,{Z:function(){return n}})}}]); \ No newline at end of file diff --git a/pull/1911/17627-5cf223c5c50b282f8652.css b/pull/1911/17627-5cf223c5c50b282f8652.css new file mode 100644 index 00000000000..cba009f74c3 --- /dev/null +++ b/pull/1911/17627-5cf223c5c50b282f8652.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/pull/1911/17627-5cf223c5c50b282f8652.js b/pull/1911/17627-5cf223c5c50b282f8652.js new file mode 100644 index 00000000000..8a86f44c4dd --- /dev/null +++ b/pull/1911/17627-5cf223c5c50b282f8652.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[17627],{22863:function(e,a,l){var d=l(64836);a.Z=void 0;var m=d(l(67294)),n=d(l(45697)),t=d(l(47166)),r=d(l(17422)),u=t.default.bind(r.default),i={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,d=e.url,n=e.version,t=m.default.createElement("a",{className:u("badge"),href:d||"https://www.npmjs.org/package/".concat(l,"/v/").concat(n)},m.default.createElement("span",{className:u("badge-name")},d?"package":"npm"),m.default.createElement("span",{className:u("badge-version")},"v".concat(n))),r=a?m.default.createElement("a",{className:u("badge"),href:a},m.default.createElement("span",{className:u("badge-name")},"github"),m.default.createElement("span",{className:u("badge-version")},"source")):void 0;return m.default.createElement("div",{className:u("badge-container")},t,r)};p.propTypes=i;var x=p;a.Z=x},17627:function(e,a,l){l.r(a),l.d(a,{default:function(){return s}});var d=l(87462),m=l(44925),n=(l(67294),l(81254)),t=l(45968),r=["components"],u={},i="wrapper";function p(e){var a=e.components,l=(0,m.Z)(e,r);return(0,n.mdx)(i,(0,d.Z)({},u,l,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)("h1",{id:"changelog"},"Changelog"),(0,n.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,n.mdx)("h2",{id:"3390---july-31-2023"},"3.39.0 - (July 31, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"3380---february-14-2023"},"3.38.0 - (February 14, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra and\nterra-functional-testing upgrade.")))),(0,n.mdx)("h2",{id:"3370---december-6-2022"},"3.37.0 - (December 6, 2022)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Moved "Skip to Content" button to render first at smallest breakpoint.')))),(0,n.mdx)("h2",{id:"3361---march-15-2022"},"3.36.1 - (March 15, 2022)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"3360---september-20-2021"},"3.36.0 - (September 20, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra sass upgrade.")))),(0,n.mdx)("h2",{id:"3350---june-8-2021"},"3.35.0 - (June 8, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"3340---april-6-2021"},"3.34.0 - (April 6, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,n.mdx)("h2",{id:"3330---march-9-2021"},"3.33.0 - (March 9, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to terra-functional-testing")))),(0,n.mdx)("h2",{id:"3320---january-5-2021"},"3.32.0 - (January 5, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to support a peer dependency of react-intl v2-v5"),(0,n.mdx)("li",{parentName:"ul"},"Removed ",(0,n.mdx)("inlineCode",{parentName:"li"},"intlShape")," import"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed broken links in documentation.")))),(0,n.mdx)("h2",{id:"3310---november-24-2020"},"3.31.0 - (November 24, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,n.mdx)("h2",{id:"3300---august-4-2020"},"3.30.0 - (August 4, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Changelog format")))),(0,n.mdx)("h2",{id:"3290---july-14-2020"},"3.29.0 - (July 14, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"master")," references to ",(0,n.mdx)("inlineCode",{parentName:"li"},"main"),".")))),(0,n.mdx)("h2",{id:"3280---may-26-2020"},"3.28.0 - (May 26, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Apply themes by context and directly include packaged themes.")))),(0,n.mdx)("h2",{id:"3270---april-28-2020"},"3.27.0 - (April 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added ",(0,n.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,n.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,n.mdx)("h2",{id:"3260---march-31-2020"},"3.26.0 - (March 31, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme wdio screenshots")))),(0,n.mdx)("h2",{id:"3250---february-18-2020"},"3.25.0 - (February 18, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme theming files")))),(0,n.mdx)("h2",{id:"3240---february-4-2020"},"3.24.0 - (February 4, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update docs to use MDX syntax.")))),(0,n.mdx)("h2",{id:"3230---january-28-2020"},"3.23.0 - (January 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,n.mdx)("h2",{id:"3220---december-10-2019"},"3.22.0 - (December 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Added reference wdio screenshots for "orion-fusion-theme".')))),(0,n.mdx)("h2",{id:"3210---november-7-2019"},"3.21.0 - (November 7, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"3200---october-16-2019"},"3.20.0 - (October 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"3190---october-3-2019"},"3.19.0 - (October 3, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"3180---september-26-2019"},"3.18.0 - (September 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"3170---september-19-2019"},"3.17.0 - (September 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed ",(0,n.mdx)("inlineCode",{parentName:"li"},"details")," tag from doc-site."),(0,n.mdx)("li",{parentName:"ul"},"Doc site example module import syntax modified to use package.json name resolution"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added en-CA translations.")))),(0,n.mdx)("h2",{id:"3160---september-6-2019"},"3.16.0 - (September 6, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files")))),(0,n.mdx)("h2",{id:"3150---august-14-2019"},"3.15.0 - (August 14, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"updated package.json test scripts")))),(0,n.mdx)("h2",{id:"3140---july-30-2019"},"3.14.0 - (July 30, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed DEPENDENCIES.md file")))),(0,n.mdx)("h2",{id:"3130---july-16-2019"},"3.13.0 - (July 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added documentation for 'Skip to Content' button."),(0,n.mdx)("li",{parentName:"ul"},"Added documentation on required peerDependencies")))),(0,n.mdx)("h2",{id:"3120---july-10-2019"},"3.12.0 - (July 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"3110---july-2-2019"},"3.11.0 - (July 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Renamed test and example SCSS files to end with ",(0,n.mdx)("inlineCode",{parentName:"li"},".module.scss")," extension")))),(0,n.mdx)("h2",{id:"3100---june-19-2019"},"3.10.0 - (June 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use terra-responsive-element v5"),(0,n.mdx)("li",{parentName:"ul"},"Removed all inline styles from Dev-site components and implemented the same styles using external css.")))),(0,n.mdx)("h2",{id:"390---june-12-2019"},"3.9.0 - (June 12, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added ARIA landmark roles"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio spec to use Terra.describeViewports")))),(0,n.mdx)("h2",{id:"380---may-21-2019"},"3.8.0 - (May 21, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update tests for terra-toolkit v5 and terra-dev-site v5 changes"),(0,n.mdx)("li",{parentName:"ul"},"Update tests to use ",(0,n.mdx)("inlineCode",{parentName:"li"},"Terra.should.validateElement()"))))),(0,n.mdx)("h2",{id:"370---may-15-2019"},"3.7.0 - (May 15, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed tabindex on main element to prevent keyboard page scroll bug")))),(0,n.mdx)("h2",{id:"360---april-24-2019"},"3.6.0 - (April 24, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved packages we use solely in doc examples and tests to devDependencies")))),(0,n.mdx)("h2",{id:"350---april-16-2019"},"3.5.0 - (April 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed alignment of the header content.")))),(0,n.mdx)("h2",{id:"340---march-26-2019"},"3.4.0 - (March 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,n.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,n.mdx)("h2",{id:"330---march-20-2019"},"3.3.0 - (March 20, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update Jest tests to use terra-enzyme-intl"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed styling of the header content in IE11.")))),(0,n.mdx)("h2",{id:"320---february-26-2019"},"3.2.0 - (February 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added en-AU translations.")))),(0,n.mdx)("h2",{id:"310---february-5-2019"},"3.1.0 - (February 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"300---january-25-2019"},"3.0.0 - (January 25, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated variable names to match new naming standard"),(0,n.mdx)("li",{parentName:"ul"},"Added new variables for css theming"),(0,n.mdx)("li",{parentName:"ul"},"Updated terra-core dependencies")))),(0,n.mdx)("h2",{id:"2240---january-5-2019"},"2.24.0 - (January 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"2230---january-2-2019"},"2.23.0 - (January 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"2220---december-5-2018"},"2.22.0 - (December 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"2210---december-3-2018"},"2.21.0 - (December 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency bump")))),(0,n.mdx)("h2",{id:"2200---november-15-2018"},"2.20.0 - (November 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency bump")))),(0,n.mdx)("h2",{id:"2190---october-24-2018"},"2.19.0 - (October 24, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Import ",(0,n.mdx)("inlineCode",{parentName:"li"},"injectIntl")," and ",(0,n.mdx)("inlineCode",{parentName:"li"},"intlShape")," from react-intl instead of terra-base")))),(0,n.mdx)("h2",{id:"2180---october-16-2018"},"2.18.0 - (October 16, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added skip to content button")))),(0,n.mdx)("h2",{id:"2170---october-8-2018"},"2.17.0 - (October 8, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated links in docs on supported features")))),(0,n.mdx)("h2",{id:"2160---september-25-2018"},"2.16.0 - (September 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency bump")))),(0,n.mdx)("h2",{id:"2150---september-5-2018"},"2.15.0 - (September 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,n.mdx)("h2",{id:"2140---august-30-2018"},"2.14.0 - (August 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,n.mdx)("h2",{id:"2130---august-14-2018"},"2.13.0 - (August 14, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v4 update"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Lint errors regarding file path resolution")))),(0,n.mdx)("h2",{id:"2120---july-26-2018"},"2.12.0 - (July 26, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"2110---july-25-2018"},"2.11.0 - (July 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Add .module extension to SCSS file(s)")))),(0,n.mdx)("h2",{id:"2100---july-10-2018"},"2.10.0 - (July 10, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Clean up dependencies")))),(0,n.mdx)("h2",{id:"290---july-6-2018"},"2.9.0 - (July 6, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"280---july-3-2018"},"2.8.0 - (July 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Change logs to documentation on terra-dev-site")))),(0,n.mdx)("h2",{id:"270---june-12-2018"},"2.7.0 - (June 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"260---june-12-2018"},"2.6.0 - (June 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"250---may-30-2018"},"2.5.0 - (May 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,n.mdx)("h2",{id:"240---may-22-2018"},"2.4.0 - (May 22, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"230---april-30-2018"},"2.3.0 - (April 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates"),(0,n.mdx)("li",{parentName:"ul"},"Do not release snapshots to npm")))),(0,n.mdx)("h2",{id:"220---march-23-2018"},"2.2.0 - (March 23, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated screenshots"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Css for the application header layout logo's min width")))),(0,n.mdx)("h2",{id:"210---march-6-2018"},"2.1.0 - (March 6, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Css rule to hide overflow in the case of large content."),(0,n.mdx)("li",{parentName:"ul"},"Added npmrc file with package-lock set to false.")))),(0,n.mdx)("h2",{id:"200---february-21-2018"},"2.0.0 - (February 21, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to use React 16")))),(0,n.mdx)("h2",{id:"120---february-15-2018"},"1.2.0 - (February 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"110---january-23-2018"},"1.1.0 - (January 23, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"100---january-8-2018"},"1.0.0 - (January 8, 2018)"),(0,n.mdx)("p",null,"Initial stable release"))}p.isMDXComponent=!0;var x=["components"],o={},N="wrapper";function s(e){var a=e.components,l=(0,m.Z)(e,x);return(0,n.mdx)(N,(0,d.Z)({},o,l,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)(t.C,{mdxType:"Badge"}),(0,n.mdx)(p,{mdxType:"ChangeLog"}))}s.isMDXComponent=!0},45968:function(e,a,l){l.d(a,{C:function(){return n}});var d=l(67294),m=l(22863),n=function(e){var a=e.url;return d.createElement(m.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-application-header-layout",name:"terra-application-header-layout",version:"3.39.0",url:a})}},17422:function(e,a,l){l.r(a),a.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"}},87462:function(e,a,l){function d(){return d=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[l]=e[l]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(m[l]=e[l])}return m}l.d(a,{Z:function(){return d}})}}]); \ No newline at end of file diff --git a/pull/1911/17790-53792b3a3805f0a7ba0e.css b/pull/1911/17790-53792b3a3805f0a7ba0e.css new file mode 100644 index 00000000000..67e59e5e097 --- /dev/null +++ b/pull/1911/17790-53792b3a3805f0a7ba0e.css @@ -0,0 +1,2 @@ +.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)} +.DateInputField-module__orion-fusion-theme___6WeUI{--terra-date-input-field-margin-bottom: 0.5rem;--terra-date-input-field-inline-margin-right: 0.5rem;--terra-date-input-field-legend-font-size: 1rem;--terra-date-input-field-legend-margin-bottom: 0.5em;--terra-date-input-field-legend-color: #1c1f21;--terra-date-input-field-legend-font-weight: bold;--terra-date-input-field-legend-error-icon-display: none;--terra-date-input-field-legend-error-icon-padding-right: 0.25em;--terra-date-input-field-legend-required-color: #e50000;--terra-date-input-field-legend-required-padding-right: 0.25em;--terra-date-input-field-legend-optional-font-style: italic;--terra-date-input-field-legend-optional-padding-left: 0.25em;--terra-date-input-field-help-text-color: rgba(28, 31, 33, 0.65);--terra-date-input-field-help-text-font-size: 0.85rem;--terra-date-input-field-help-text-font-weight: normal;--terra-date-input-field-help-text-margin-top: 0.25em;--terra-date-input-field-error-text-color: #e50000;--terra-date-input-field-error-text-font-size: 0.85rem;--terra-date-input-field-error-text-font-weight: normal;--terra-date-input-field-error-text-margin-top: 0.25em}.DateInputField-module__clinical-lowlight-theme___ZPdZB{--terra-date-input-field-error-text-color: #fb4c4c;--terra-date-input-field-help-text-color: #6f7477;--terra-date-input-field-legend-color: #b2b5b6;--terra-date-input-field-legend-required-color: #fb4c4c;--terra-date-input-field-margin-bottom: 1.428em;--terra-date-input-field-inline-margin-right: 0.7143em;--terra-date-input-field-legend-font-size: 1rem;--terra-date-input-field-legend-margin-bottom: 0.357em;--terra-date-input-field-legend-font-weight: bold;--terra-date-input-field-legend-error-icon-display: none;--terra-date-input-field-legend-error-icon-padding-right: 0;--terra-date-input-field-legend-required-padding-right: 0.357em;--terra-date-input-field-legend-optional-font-style: italic;--terra-date-input-field-legend-optional-padding-left: 0.357em;--terra-date-input-field-help-text-font-size: 0.857rem;--terra-date-input-field-help-text-font-weight: normal;--terra-date-input-field-help-text-margin-top: 0.357em;--terra-date-input-field-error-text-font-size: 0.857rem;--terra-date-input-field-error-text-font-weight: normal;--terra-date-input-field-error-text-margin-top: 0.357em}.DateInputField-module__date-input-field___y3E0d{max-width:72.857rem}[dir] .DateInputField-module__date-input-field___y3E0d{border:0;margin-bottom:1.428em;margin-bottom:var(--terra-date-input-field-margin-bottom, 1.428em);padding:0}.DateInputField-module__date-input-field___y3E0d>div{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.DateInputField-module__is-inline___Y5zYN{display:inline-block;vertical-align:top}[dir=ltr] .DateInputField-module__is-inline___Y5zYN{margin-right:0.7143em;margin-right:var(--terra-date-input-field-inline-margin-right, 0.7143em)}[dir=rtl] .DateInputField-module__is-inline___Y5zYN{margin-left:0.7143em;margin-left:var(--terra-date-input-field-inline-margin-right, 0.7143em)}.DateInputField-module__legend-group___Y8qQh{font-size:1rem;font-size:var(--terra-date-input-field-legend-font-size, 1rem);line-height:1.29}[dir] .DateInputField-module__legend-group___Y8qQh{margin-bottom:0.357em;margin-bottom:var(--terra-date-input-field-legend-margin-bottom, 0.357em)}[dir=ltr] .DateInputField-module__legend-group___Y8qQh{text-align:left}[dir=rtl] .DateInputField-module__legend-group___Y8qQh{text-align:right}.DateInputField-module__legend-group-hidden___NubE\+{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}[dir=ltr] .DateInputField-module__legend-group-hidden___NubE\+{left:-10000px}[dir=rtl] .DateInputField-module__legend-group-hidden___NubE\+{right:-10000px}.DateInputField-module__legend___8v6Uw{color:rgba(0, 0, 0, 0.8);color:var(--terra-date-input-field-legend-color, rgba(0, 0, 0, 0.8));font-weight:bold;font-weight:var(--terra-date-input-field-legend-font-weight, bold)}.DateInputField-module__error-icon___9jalk,.DateInputField-module__error-icon-hidden___7yXqb{display:none;display:var(--terra-date-input-field-legend-error-icon-display, none)}[dir=ltr] .DateInputField-module__error-icon___9jalk, [dir=ltr] .DateInputField-module__error-icon-hidden___7yXqb{padding-right:var(--terra-date-input-field-legend-error-icon-padding-right)}[dir=rtl] .DateInputField-module__error-icon___9jalk, [dir=rtl] .DateInputField-module__error-icon-hidden___7yXqb{padding-left:var(--terra-date-input-field-legend-error-icon-padding-right)}.DateInputField-module__required___c\+zgG,.DateInputField-module__required-hidden___udcsO{color:#e50000;color:var(--terra-date-input-field-legend-required-color, #e50000);display:inline-block}[dir=ltr] .DateInputField-module__required___c\+zgG, [dir=ltr] .DateInputField-module__required-hidden___udcsO{padding-right:0.357em;padding-right:var(--terra-date-input-field-legend-required-padding-right, 0.357em)}[dir=rtl] .DateInputField-module__required___c\+zgG, [dir=rtl] .DateInputField-module__required-hidden___udcsO{padding-left:0.357em;padding-left:var(--terra-date-input-field-legend-required-padding-right, 0.357em)}.DateInputField-module__error-icon-hidden___7yXqb,.DateInputField-module__required-hidden___udcsO{visibility:hidden}.DateInputField-module__optional___Jtg7S{display:inline-block;font-style:italic;font-style:var(--terra-date-input-field-legend-optional-font-style, italic)}[dir=ltr] .DateInputField-module__optional___Jtg7S{padding-left:0.357em;padding-left:var(--terra-date-input-field-legend-optional-padding-left, 0.357em)}[dir=rtl] .DateInputField-module__optional___Jtg7S{padding-right:0.357em;padding-right:var(--terra-date-input-field-legend-optional-padding-left, 0.357em)}.DateInputField-module__help-text___zQnVy{color:rgba(0, 0, 0, 0.55);color:var(--terra-date-input-field-help-text-color, rgba(0, 0, 0, 0.55));font-size:0.857rem;font-size:var(--terra-date-input-field-help-text-font-size, 0.857rem);font-weight:normal;font-weight:var(--terra-date-input-field-help-text-font-weight, normal);line-height:1.25}[dir] .DateInputField-module__help-text___zQnVy{margin-top:0.357em;margin-top:var(--terra-date-input-field-help-text-margin-top, 0.357em)}[dir=ltr] .DateInputField-module__help-text___zQnVy{text-align:left}[dir=rtl] .DateInputField-module__help-text___zQnVy{text-align:right}.DateInputField-module__error-text___D5gK6{color:#e50000;color:var(--terra-date-input-field-error-text-color, #e50000);font-size:0.857rem;font-size:var(--terra-date-input-field-error-text-font-size, 0.857rem);font-weight:normal;font-weight:var(--terra-date-input-field-error-text-font-weight, normal);line-height:1.25}[dir] .DateInputField-module__error-text___D5gK6{margin-top:0.357em;margin-top:var(--terra-date-input-field-error-text-margin-top, 0.357em)}[dir=ltr] .DateInputField-module__error-text___D5gK6{text-align:left}[dir=rtl] .DateInputField-module__error-text___D5gK6{text-align:right} diff --git a/pull/1911/17790-53792b3a3805f0a7ba0e.js b/pull/1911/17790-53792b3a3805f0a7ba0e.js new file mode 100644 index 00000000000..d0ecb0b5795 --- /dev/null +++ b/pull/1911/17790-53792b3a3805f0a7ba0e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[17790],{76313:function(e,t,r){var n=r(64836),a=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(38416)),l=n(r(10434)),i=n(r(70215)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var r=O(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=o?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(n,l,i):n[l]=e[l]}return n.default=e,r&&r.set(e,n),n}(r(67294)),d=n(r(45697)),c=r(25387),f=n(r(94184)),s=n(r(47166)),p=n(r(47341)),b=r(55877),m=n(r(51331)),y=n(r(29270)),_=n(r(91986)),h=n(r(91417)),v=n(r(40873)),g=["dayAttributes","disabled","displayFormat","error","help","hideRequired","isIncomplete","isInline","isInvalid","isLegendHidden","intl","legend","legendAttributes","monthAttributes","maxWidth","name","onBlur","onChange","onFocus","required","showOptional","value","yearAttributes"];function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(O=function(e){return e?r:t})(e)}function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function y(e,t){for(var r=0;r (\n \n);\n\nexport default DefaultTable;\n\n")))}p.isMDXComponent=!0;var s=a(49271),x=function(e){var n=e.title,a=e.description,d=e.isExpanded;return t.createElement(s.Z,{title:n||"Default Table",description:a,example:t.createElement(l.Z,null),exampleSrc:t.createElement(p,null),isExpanded:d})}},61701:function(e,n,a){a.d(n,{C:function(){return d}});var t=a(67294),l=a(22863),d=function(e){var n=e.url;return t.createElement(l.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-table",name:"terra-table",version:"5.2.0",url:n})}},7871:function(e,n,a){var t=a(64836);n.Z=void 0;var l=t(a(67294)),d=t(a(12810)),r={cols:[{id:"Column-0",displayName:"Patient"},{id:"Column-1",displayName:"Location"},{id:"Column-2",displayName:"Illness Severity"},{id:"Column-3",displayName:"Visit"},{id:"Column-4",displayName:"Allergy"},{id:"Column-5",displayName:"Primary Contact"},{id:"Column-6",displayName:"Generic Order Counts"},{id:"Column-7",displayName:"Patient Age"},{id:"Column-8",displayName:"Medication History"},{id:"Column-9",displayName:"My Relationship"}],rows:[{id:"1",cells:[{content:"Fleck, Arthur"},{content:"1007-MTN"},{content:"Unstable"},{content:"Inpatient, 2 months"},{content:""},{content:"Quinzell, Harleen"},{content:""},{isMasked:!0,maskedLabel:"Age Hidden"},{isMasked:!0},{content:"Admitting Physician"}]},{id:"2",cells:[{content:"Wayne, Bruce"},{content:"1007-MTN-DR"},{content:"Stable"},{content:"Outpatient, 2 days"},{content:"Phytochemicals"},{content:"Grayson, Richard"},{content:""},{content:""},{isMasked:!0},{content:"Admitting Physician"}]}]};n.Z=function(){return l.default.createElement(d.default,{id:"my-table-id",overflowColumns:r.cols,rows:r.rows,ariaLabel:"Table"})}}}]); \ No newline at end of file diff --git a/pull/1911/18269-eba735a093689f21b9b2.css b/pull/1911/18269-eba735a093689f21b9b2.css new file mode 100644 index 00000000000..411d9c682c7 --- /dev/null +++ b/pull/1911/18269-eba735a093689f21b9b2.css @@ -0,0 +1,2 @@ +.ApplicationHeaderName-module__clinical-lowlight-theme___cDdoY{--terra-application-name-header-color: #b2b5b6;--terra-application-name-header-title-text-shadow: none;--terra-application-name-header-align-items: center;--terra-application-name-header-font-size: 1.0714285714rem;--terra-application-name-header-letter-spacing: normal;--terra-application-name-header-line-height: 1.53061429rem;--terra-application-name-header-padding-bottom: 0.35714rem;--terra-application-name-header-padding-left: 0.35714rem;--terra-application-name-header-padding-right: 0.35714rem;--terra-application-name-header-padding-top: 0.35714rem;--terra-application-name-header-accessory-display: block;--terra-application-name-header-accessory-padding-right: 0.35714rem;--terra-application-name-header-title-font-weight: bold;--terra-application-name-header-title-overflow: hidden;--terra-application-name-header-title-padding-left: 0;--terra-application-name-header-title-padding-right: 0;--terra-application-name-header-title-text-overflow: ellipsis;--terra-application-name-header-title-white-space: nowrap;--terra-application-name-header-title-word-break: normal;--terra-application-name-header-title-word-wrap: normal}.ApplicationHeaderName-module__orion-fusion-theme___JSra\+{--terra-application-name-header-color: #fff;--terra-application-name-header-title-text-shadow: none;--terra-application-name-header-align-items: center;--terra-application-name-header-font-size: 1.0714285714rem;--terra-application-name-header-letter-spacing: normal;--terra-application-name-header-line-height: 1.53061429rem;--terra-application-name-header-padding-bottom: 0.35714rem;--terra-application-name-header-padding-left: 0.35714rem;--terra-application-name-header-padding-right: 0.35714rem;--terra-application-name-header-padding-top: 0.35714rem;--terra-application-name-header-accessory-display: block;--terra-application-name-header-accessory-padding-right: 0.35714rem;--terra-application-name-header-title-font-weight: bold;--terra-application-name-header-title-overflow: hidden;--terra-application-name-header-title-padding-left: 0;--terra-application-name-header-title-padding-right: 0;--terra-application-name-header-title-text-overflow: ellipsis;--terra-application-name-header-title-white-space: nowrap;--terra-application-name-header-title-word-break: normal;--terra-application-name-header-title-word-wrap: normal}.ApplicationHeaderName-module__application-header-name___zlk-U{-ms-flex-align:center;-ms-flex-align:var(--terra-application-name-header-align-items, center);align-items:center;align-items:var(--terra-application-name-header-align-items, center);box-sizing:border-box;color:#fff;color:var(--terra-application-name-header-color, #fff);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;font-family:inherit;font-size:1.0714285714rem;font-size:var(--terra-application-name-header-font-size, 1.0714285714rem);height:100%;letter-spacing:var(--terra-application-name-header-letter-spacing);line-height:var(--terra-application-name-header-line-height);max-width:100%}[dir] .ApplicationHeaderName-module__application-header-name___zlk-U{padding-bottom:0.357143rem;padding-bottom:var(--terra-application-name-header-padding-bottom, 0.357143rem);padding-top:0.357143rem;padding-top:var(--terra-application-name-header-padding-top, 0.357143rem)}[dir=ltr] .ApplicationHeaderName-module__application-header-name___zlk-U{padding-left:0.357143rem;padding-left:var(--terra-application-name-header-padding-left, 0.357143rem);padding-right:0.357143rem;padding-right:var(--terra-application-name-header-padding-right, 0.357143rem)}[dir=rtl] .ApplicationHeaderName-module__application-header-name___zlk-U{padding-right:0.357143rem;padding-right:var(--terra-application-name-header-padding-left, 0.357143rem);padding-left:0.357143rem;padding-left:var(--terra-application-name-header-padding-right, 0.357143rem)}.ApplicationHeaderName-module__accessory___-89IO{display:block;display:var(--terra-application-name-header-accessory-display, block);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0;max-width:100%}[dir=ltr] .ApplicationHeaderName-module__accessory___-89IO{padding-right:0.357143rem;padding-right:var(--terra-application-name-header-accessory-padding-right, 0.357143rem)}[dir=rtl] .ApplicationHeaderName-module__accessory___-89IO{padding-left:0.357143rem;padding-left:var(--terra-application-name-header-accessory-padding-right, 0.357143rem)}.ApplicationHeaderName-module__title___tfg\+E{-ms-flex:0 1 auto;flex:0 1 auto;font-weight:bold;font-weight:var(--terra-application-name-header-title-font-weight, bold);overflow:hidden;overflow:var(--terra-application-name-header-title-overflow, hidden);text-overflow:ellipsis;text-overflow:var(--terra-application-name-header-title-text-overflow, ellipsis);white-space:nowrap;white-space:var(--terra-application-name-header-title-white-space, nowrap);word-break:normal;word-break:var(--terra-application-name-header-title-word-break, normal);word-wrap:normal;word-wrap:var(--terra-application-name-header-title-word-wrap, normal)}[dir] .ApplicationHeaderName-module__title___tfg\+E{text-shadow:var(--terra-application-name-header-title-text-shadow)}[dir=ltr] .ApplicationHeaderName-module__title___tfg\+E{padding-left:var(--terra-application-name-header-title-padding-left);padding-right:var(--terra-application-name-header-title-padding-right)}[dir=rtl] .ApplicationHeaderName-module__title___tfg\+E{padding-right:var(--terra-application-name-header-title-padding-left);padding-left:var(--terra-application-name-header-title-padding-right)} +.demoStyles-module__clinical-lowlight-theme___XT8Be{--terra-application-name-demo-background-color: #407d17}.demoStyles-module__orion-fusion-theme___K8nA4{--terra-application-name-demo-background-color: #008000}[dir] .demoStyles-module__demo-background-color___RQuTv{background-color:#008000;background-color:var(--terra-application-name-demo-background-color, #008000)}.demoStyles-module__demo-truncate-width___yPHA\+{width:150px}.demoStyles-module__demo-image-container___6c787{height:26px;width:26px}.demoStyles-module__content-wrapper___xDQDx{width:100%} diff --git a/pull/1911/18269-eba735a093689f21b9b2.js b/pull/1911/18269-eba735a093689f21b9b2.js new file mode 100644 index 00000000000..bcff0549f73 --- /dev/null +++ b/pull/1911/18269-eba735a093689f21b9b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[18269],{57920:function(e,t,a){var l=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(a(10434)),d=l(a(70215)),i=l(a(67294)),c=l(a(45697)),n=l(a(94184)),r=l(a(47166)),u=l(a(47341)),m=l(a(54029)),_=["accessory","title"],s=r.default.bind(m.default),f={accessory:c.default.element,title:c.default.node},p=function(e){var t=e.accessory,a=e.title,l=(0,d.default)(e,_),c=i.default.useContext(u.default),r=(0,n.default)(s("application-header-name",c.className),l.className);return i.default.createElement("div",(0,o.default)({},l,{className:r}),t&&i.default.createElement("div",{className:s("accessory")},t),a&&i.default.createElement("div",{className:s("title")},a))};p.propTypes=f;t.default=p},18269:function(e,t,a){var l=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=l(a(67294)),d=l(a(86442)),i=l(a(94184)),c=l(a(47341)),n=l(a(47166)),r=l(a(57920)),u=l(a(9620)),m=l(a(23947)),_=n.default.bind(u.default);t.default=function(){var e=o.default.useContext(c.default),t=(0,i.default)(_("demo-background-color","demo-truncate-width",e.className));return o.default.createElement("div",{className:t},o.default.createElement(r.default,{id:"truncated",title:"TitleTitleTitleTitleTitleTitleTitle",accessory:o.default.createElement(d.default,{alt:"terra accessory",variant:"rounded",src:m.default,className:_("demo-image-container")})}))}},23947:function(e,t,a){a.r(t),t.default=a.p+"3f00041b60141018a3cf3bea7e104e95.png"},54029:function(e,t,a){a.r(t),t.default={"clinical-lowlight-theme":"ApplicationHeaderName-module__clinical-lowlight-theme___cDdoY","orion-fusion-theme":"ApplicationHeaderName-module__orion-fusion-theme___JSra+","application-header-name":"ApplicationHeaderName-module__application-header-name___zlk-U",accessory:"ApplicationHeaderName-module__accessory___-89IO",title:"ApplicationHeaderName-module__title___tfg+E"}},9620:function(e,t,a){a.r(t),t.default={"clinical-lowlight-theme":"demoStyles-module__clinical-lowlight-theme___XT8Be","orion-fusion-theme":"demoStyles-module__orion-fusion-theme___K8nA4","demo-background-color":"demoStyles-module__demo-background-color___RQuTv","demo-truncate-width":"demoStyles-module__demo-truncate-width___yPHA+","demo-image-container":"demoStyles-module__demo-image-container___6c787","content-wrapper":"demoStyles-module__content-wrapper___xDQDx"}}}]); \ No newline at end of file diff --git a/pull/1911/1841-3f824dac0600bd8172ec.css b/pull/1911/1841-3f824dac0600bd8172ec.css new file mode 100644 index 00000000000..3d972e83f6b --- /dev/null +++ b/pull/1911/1841-3f824dac0600bd8172ec.css @@ -0,0 +1,4 @@ +.LayoutSlidePanel-module__clinical-lowlight-theme___q2naq{--terra-layout-slide-panel-overlay-panel-ltr-box-shadow: 1px 0 0 0 #101010, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);--terra-layout-slide-panel-overlay-panel-rtl-box-shadow: -1px 0 0 0 #101010, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);--terra-layout-slide-panel-panel-background-color: #181b1d;--terra-layout-slide-panel-squish-panel-background-color: #383f42;--terra-layout-slide-panel-squish-panel-border-right-color: #383f42;--terra-layout-slide-panel-squish-panel-ltr-box-shadow: none;--terra-layout-slide-panel-squish-panel-rtl-box-shadow: none;--terra-layout-slide-panel-panel-width: 18.571rem;--terra-layout-slide-panel-tiny-panel-width: calc(100% - 3.571rem);--terra-layout-slide-panel-small-panel-width: 22.857rem;--terra-layout-slide-panel-squish-panel-border-right-width: 1px}.LayoutSlidePanel-module__orion-fusion-theme___2KWcp{--terra-layout-slide-panel-overlay-panel-ltr-box-shadow: 1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);--terra-layout-slide-panel-overlay-panel-rtl-box-shadow: -1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);--terra-layout-slide-panel-panel-background-color: #fff;--terra-layout-slide-panel-squish-panel-background-color: #fff;--terra-layout-slide-panel-squish-panel-border-right-color: #d3d4d5;--terra-layout-slide-panel-squish-panel-ltr-box-shadow: none;--terra-layout-slide-panel-squish-panel-rtl-box-shadow: none;--terra-layout-slide-panel-panel-width: 18.571rem;--terra-layout-slide-panel-tiny-panel-width: calc(100% - 3.571rem);--terra-layout-slide-panel-small-panel-width: 22.857rem;--terra-layout-slide-panel-squish-panel-border-right-width: 1px}.LayoutSlidePanel-module__content-container___vB31H{outline:none}.LayoutSlidePanel-module__layout-slide-panel___6Ra3S{height:100%;overflow:hidden;position:relative;width:100%}.LayoutSlidePanel-module__content___Qa4PX,.LayoutSlidePanel-module__panel___xUrqy{box-sizing:border-box;height:100%;overflow:hidden;transition:none}[dir=ltr] .LayoutSlidePanel-module__is-animated___1uvdg{transition:left .15s ease}[dir=rtl] .LayoutSlidePanel-module__is-animated___1uvdg{transition:right .15s ease}.LayoutSlidePanel-module__content___Qa4PX{position:relative;width:100%;z-index:0}[dir=ltr] .LayoutSlidePanel-module__content___Qa4PX{float:right}[dir=rtl] .LayoutSlidePanel-module__content___Qa4PX{float:left}.LayoutSlidePanel-module__panel___xUrqy{position:absolute;width:18.571rem;width:var(--terra-layout-slide-panel-panel-width, 18.571rem);z-index:5000}[dir] .LayoutSlidePanel-module__panel___xUrqy{background-color:#fff;background-color:var(--terra-layout-slide-panel-panel-background-color, #fff)}[dir=ltr] .LayoutSlidePanel-module__panel___xUrqy{left:-100%}[dir=rtl] .LayoutSlidePanel-module__panel___xUrqy{right:-100%}[dir=ltr] .LayoutSlidePanel-module__is-open___eTmJC>.LayoutSlidePanel-module__panel___xUrqy{left:0}[dir=rtl] .LayoutSlidePanel-module__is-open___eTmJC>.LayoutSlidePanel-module__panel___xUrqy{right:0}.LayoutSlidePanel-module__panel___xUrqy.LayoutSlidePanel-module__is-tiny___9Oz70{width:calc(100% - 3.571rem);width:var(--terra-layout-slide-panel-tiny-panel-width, calc(100% - 3.571rem))}.LayoutSlidePanel-module__panel___xUrqy.LayoutSlidePanel-module__is-small___JXknd{width:22.857rem;width:var(--terra-layout-slide-panel-small-panel-width, 22.857rem)}[dir=ltr] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-overlay___s9u4z>.LayoutSlidePanel-module__panel___xUrqy{box-shadow:1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);box-shadow:var(--terra-layout-slide-panel-overlay-panel-ltr-box-shadow, 1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8))}[dir=rtl] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-overlay___s9u4z>.LayoutSlidePanel-module__panel___xUrqy{box-shadow:-1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);box-shadow:var(--terra-layout-slide-panel-overlay-panel-rtl-box-shadow, -1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8))}.LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__content___Qa4PX{width:calc(100% - 18.571rem - 1px);width:calc(100% - var(--terra-layout-slide-panel-panel-width, 18.571rem) - var(--terra-layout-slide-panel-squish-panel-border-right-width, 1px))}.LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{transition:none;width:calc(1px + 18.571rem);width:calc(var(--terra-layout-slide-panel-squish-panel-border-right-width, 1px) + var(--terra-layout-slide-panel-panel-width, 18.571rem))}[dir] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{background-color:#fff;background-color:var(--terra-layout-slide-panel-squish-panel-background-color, #fff)}[dir=ltr] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{border-right-color:#d3d4d5;border-right-color:var(--terra-layout-slide-panel-squish-panel-border-right-color, #d3d4d5);border-right-style:solid;border-right-width:1px;border-right-width:var(--terra-layout-slide-panel-squish-panel-border-right-width, 1px)}[dir=rtl] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{border-left-color:#d3d4d5;border-left-color:var(--terra-layout-slide-panel-squish-panel-border-right-color, #d3d4d5);border-left-style:solid;border-left-width:1px;border-left-width:var(--terra-layout-slide-panel-squish-panel-border-right-width, 1px)}[dir=ltr] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{box-shadow:var(--terra-layout-slide-panel-squish-panel-ltr-box-shadow)}[dir=rtl] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{box-shadow:var(--terra-layout-slide-panel-squish-panel-rtl-box-shadow)}.LayoutSlidePanel-module__panel___xUrqy[aria-hidden=true]{visibility:hidden}.LayoutSlidePanel-module__main-container___xHsZe{display:block;height:100%} +.TestHeader-module__content-wrapper1___cB2aB{display:-ms-flexbox;display:flex;height:60px;position:relative;width:calc(100% - 10px)}[dir] .TestHeader-module__content-wrapper1___cB2aB{border:4px dashed #d3d3d3;margin:5px}.TestHeader-module__content-wrapper2___jQXA-{color:gray;position:absolute;top:15px}[dir=ltr] .TestHeader-module__content-wrapper2___jQXA-{left:50%;transform:translateX(-50%)}[dir=rtl] .TestHeader-module__content-wrapper2___jQXA-{right:50%;transform:translateX(50%)}.TestHeader-module__content-text___Q36xi{display:inline}[dir] .TestHeader-module__content-text___Q36xi{margin:0}.TestHeader-module__test-header-toggle___VMQEj{display:inline;height:25px}[dir] .TestHeader-module__test-header-toggle___VMQEj{border:1px dashed #d3d3d3}[dir=ltr] .TestHeader-module__test-header-toggle___VMQEj{margin-left:5px}[dir=rtl] .TestHeader-module__test-header-toggle___VMQEj{margin-right:5px} +.LayoutTestCommon-module__content-wrapper1___Bg5D6{height:calc(100% - 10px);position:relative;width:calc(100% - 10px)}[dir] .LayoutTestCommon-module__content-wrapper1___Bg5D6{border:4px dashed #d3d3d3;margin:5px}.LayoutTestCommon-module__content-wrapper2___MLV9d{color:gray;position:absolute;top:50%}[dir=ltr] .LayoutTestCommon-module__content-wrapper2___MLV9d{left:50%;transform:translateX(-50%)}[dir=rtl] .LayoutTestCommon-module__content-wrapper2___MLV9d{right:50%;transform:translateX(50%)}[dir] .LayoutTestCommon-module__content-text___aUCzs{margin:0}.LayoutTestCommon-module__test-content-toggle___dqiBK,.LayoutTestCommon-module__test-menu-toggle___KH3eQ{display:inline;height:25px}[dir] .LayoutTestCommon-module__test-content-toggle___dqiBK, [dir] .LayoutTestCommon-module__test-menu-toggle___KH3eQ{border:1px dashed #d3d3d3}[dir=ltr] .LayoutTestCommon-module__test-content-toggle___dqiBK, [dir=ltr] .LayoutTestCommon-module__test-menu-toggle___KH3eQ{margin-left:5px}[dir=rtl] .LayoutTestCommon-module__test-content-toggle___dqiBK, [dir=rtl] .LayoutTestCommon-module__test-menu-toggle___KH3eQ{margin-right:5px} +.TestLayoutCommon-module__panel-content___11P0K,.TestLayoutCommon-module__layout-slide-panel-content___005M-,.TestLayoutCommon-module__content-wrapper___rNhg8{position:relative;width:100%}.TestLayoutCommon-module__panel-content___11P0K{height:100%}[dir] .TestLayoutCommon-module__panel-content___11P0K{background-color:red}.TestLayoutCommon-module__layout-slide-panel-content___005M-{height:100%}[dir] .TestLayoutCommon-module__layout-slide-panel-content___005M-{background-color:blue}.TestLayoutCommon-module__layout-test___vmcFP,.TestLayoutCommon-module__content-wrapper___rNhg8{height:768px} diff --git a/pull/1911/1841-3f824dac0600bd8172ec.js b/pull/1911/1841-3f824dac0600bd8172ec.js new file mode 100644 index 00000000000..d242059ee07 --- /dev/null +++ b/pull/1911/1841-3f824dac0600bd8172ec.js @@ -0,0 +1 @@ +(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[1841],{40320:function(e,t,n){"use strict";var o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(67294)),r=o(n(47166)),u=o(n(4546)),l=o(n(50393)),c=o(n(84104)),d=o(n(41643)),i=r.default.bind(d.default);t.default=function(){return a.default.createElement(u.default,{className:i("layout-test"),key:"layout-no-menu",header:a.default.createElement(l.default,null),id:"test-root"},a.default.createElement(c.default,null))}},84104:function(e,t,n){"use strict";var o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(67294)),r=o(n(45697)),u=o(n(47166)),l=o(n(46186)),c=u.default.bind(l.default),d={layoutConfig:r.default.object},i=function(e){var t=e.layoutConfig;return a.default.createElement("div",{id:"test-content",className:c("content-wrapper1")},a.default.createElement("div",{className:c("content-wrapper2")},a.default.createElement("h2",{className:c("content-text")},"Content"),t.toggleMenu&&a.default.createElement("button",{type:"button",className:c("test-content-toggle"),onClick:t.toggleMenu},"Toggle Menu")))};i.propTypes=d;t.default=i},50393:function(e,t,n){"use strict";var o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(67294)),r=o(n(45697)),u=o(n(47166)),l=o(n(56199)),c=u.default.bind(l.default),d={layoutConfig:r.default.object},i=function(e){var t=e.layoutConfig;return a.default.createElement("div",{id:"test-header",className:c("content-wrapper1")},a.default.createElement("div",{className:c("content-wrapper2")},a.default.createElement("h2",{className:c("content-text")},"Header"),t.toggleMenu&&a.default.createElement("button",{type:"button",className:c("test-header-toggle"),onClick:t.toggleMenu},"Toggle Menu")))};i.propTypes=d;t.default=i},41643:function(e,t,n){"use strict";n.r(t),t.default={"panel-content":"TestLayoutCommon-module__panel-content___11P0K","layout-slide-panel-content":"TestLayoutCommon-module__layout-slide-panel-content___005M-","content-wrapper":"TestLayoutCommon-module__content-wrapper___rNhg8","layout-test":"TestLayoutCommon-module__layout-test___vmcFP"}},46186:function(e,t,n){"use strict";n.r(t),t.default={"content-wrapper1":"LayoutTestCommon-module__content-wrapper1___Bg5D6","content-wrapper2":"LayoutTestCommon-module__content-wrapper2___MLV9d","content-text":"LayoutTestCommon-module__content-text___aUCzs","test-content-toggle":"LayoutTestCommon-module__test-content-toggle___dqiBK","test-menu-toggle":"LayoutTestCommon-module__test-menu-toggle___KH3eQ"}},56199:function(e,t,n){"use strict";n.r(t),t.default={"content-wrapper1":"TestHeader-module__content-wrapper1___cB2aB","content-wrapper2":"TestHeader-module__content-wrapper2___jQXA-","content-text":"TestHeader-module__content-text___Q36xi","test-header-toggle":"TestHeader-module__test-header-toggle___VMQEj"}},15059:function(e){var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),o="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function a(e,t){t=t||{};var a,u,l,i=[],s=[],f=e.querySelectorAll(n);for(t.includeContainer&&o.call(e,n)&&(f=Array.prototype.slice.apply(f)).unshift(e),a=0;a=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}a.d(t,{Z:function(){return n}})}}]); \ No newline at end of file diff --git a/pull/1911/18865-79ed137d20303617b0bc.css b/pull/1911/18865-79ed137d20303617b0bc.css new file mode 100644 index 00000000000..cba009f74c3 --- /dev/null +++ b/pull/1911/18865-79ed137d20303617b0bc.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/pull/1911/18865-79ed137d20303617b0bc.js b/pull/1911/18865-79ed137d20303617b0bc.js new file mode 100644 index 00000000000..ad2eb06352d --- /dev/null +++ b/pull/1911/18865-79ed137d20303617b0bc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[18865],{22863:function(e,t,r){var n=r(64836);t.Z=void 0;var a=n(r(67294)),i=n(r(45697)),m=n(r(47166)),d=n(r(17422)),l=m.default.bind(d.default),o={name:i.default.string.isRequired,src:i.default.string,url:i.default.string,version:i.default.string.isRequired},u=function(e){var t=e.src,r=e.name,n=e.url,i=e.version,m=a.default.createElement("a",{className:l("badge"),href:n||"https://www.npmjs.org/package/".concat(r,"/v/").concat(i)},a.default.createElement("span",{className:l("badge-name")},n?"package":"npm"),a.default.createElement("span",{className:l("badge-version")},"v".concat(i))),d=t?a.default.createElement("a",{className:l("badge"),href:t},a.default.createElement("span",{className:l("badge-name")},"github"),a.default.createElement("span",{className:l("badge-version")},"source")):void 0;return a.default.createElement("div",{className:l("badge-container")},m,d)};u.propTypes=o;var p=u;t.Z=p},18865:function(e,t,r){r.r(t),r.d(t,{default:function(){return u}});var n=r(87462),a=r(44925),i=(r(67294),r(81254)),m=r(99257),d=["components"],l={},o="wrapper";function u(e){var t=e.components,r=(0,a.Z)(e,d);return(0,i.mdx)(o,(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)(m.C,{mdxType:"Badge"}),(0,i.mdx)("h1",{id:"terra-time-input-upgrade-guide"},"Terra Time Input Upgrade Guide"),(0,i.mdx)("h2",{id:"changes-from-version-3-to-version-4"},"Changes from version 3 to version 4"),(0,i.mdx)("h3",{id:"new-props"},"New props"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"Added ",(0,i.mdx)("inlineCode",{parentName:"li"},"onFocus")),(0,i.mdx)("li",{parentName:"ul"},"Added ",(0,i.mdx)("inlineCode",{parentName:"li"},"refCallback"))),(0,i.mdx)("h3",{id:"changes-to-onblur-and-onfocus"},"Changes to onBlur and onFocus"),(0,i.mdx)("p",null,"The ",(0,i.mdx)("inlineCode",{parentName:"p"},"onFocus")," prop previously could be passed down as a custom prop. This prop now becomes a first-class prop. The ",(0,i.mdx)("inlineCode",{parentName:"p"},"onFocus")," prop used to be triggered when focus is moved from the hour input to the minute input or any other elements in the same time-input component. The ",(0,i.mdx)("inlineCode",{parentName:"p"},"onFocus")," prop will still be triggered if the time-input component did not have focus and now just gained focus. However, if the focus is then moved from one time-input element to another time-input element, the ",(0,i.mdx)("inlineCode",{parentName:"p"},"onFocus")," callback now would not be triggered because the focus is still within the time-input container. The ",(0,i.mdx)("inlineCode",{parentName:"p"},"onBlur")," callback now behaves similar to the ",(0,i.mdx)("inlineCode",{parentName:"p"},"onFocus")," callback where ",(0,i.mdx)("inlineCode",{parentName:"p"},"onBlur")," would not be triggered when focus is transfered from one time-input element to another time-input element of the same time-input component. The ",(0,i.mdx)("inlineCode",{parentName:"p"},"onBlur")," callback would be triggered only when focus is lost from the entire time-input component."),(0,i.mdx)("h2",{id:"changes-from-version-2-to-version-3"},"Changes from version 2 to version 3"),(0,i.mdx)("h3",{id:"changes-to-css-custom-properties"},"Changes to CSS Custom Properties"),(0,i.mdx)("h4",{id:"renamed"},"Renamed"),(0,i.mdx)("table",null,(0,i.mdx)("thead",{parentName:"table"},(0,i.mdx)("tr",{parentName:"thead"},(0,i.mdx)("th",{parentName:"tr",align:null},"Previous"),(0,i.mdx)("th",{parentName:"tr",align:null},"New"))),(0,i.mdx)("tbody",{parentName:"table"},(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-keyboard-border-color"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-border-color")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-keyboard-border-style"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-border-style")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-keyboard-border-width"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-border-width")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-keyboard-opacity"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-opacity")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-background"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-background-color")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-animation-background"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-background-image")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-background-start"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-background-size")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-keyboard-animation-size"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-background-size")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-keyboard-box-shadow-ltr"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-ltr-box-shadow")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-keyboard-box-shadow-rtl"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-focus-rtl-box-shadow")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-width-input"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-mobile-min-width")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-input-padding-bottom"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-mobile-padding-bottom")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-input-padding-left"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-mobile-padding-left")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-input-padding-right"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-mobile-padding-right")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-input-padding-top"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-mobile-padding-top")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-desktop-focused-input-background"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-desktop-focused-input-background-color")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-time-spacer-input-margin-top"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-time-spacer-margin-top")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-mobile-label-size"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-mobile-label-font-size")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-border-radius"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-desktop-input-border-radius")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-meridiem-display-left-margin"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-meridiem-display-margin-left")),(0,i.mdx)("tr",{parentName:"tbody"},(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-line-height"),(0,i.mdx)("td",{parentName:"tr",align:null},"--terra-time-input-mobile-line-height")))),(0,i.mdx)("h4",{id:"added"},"Added"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-line-height"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-hover-background-color"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-hover-border"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-hover-color"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-focus-background-color"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-focus-color"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-time-input-group-hour-margin-right"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-time-input-group-minute-margin-left"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-caret-color"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-time-mobile-spacer-margin-top"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-meridiem-button-group-margin-left"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-desktop-background-color"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-color"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-meridiem-button-selected-hover-background-color"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-meridiem-button-selected-hover-border-color"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-meridiem-button-selected-hover-color"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-meridiem-button-font-size")),(0,i.mdx)("h4",{id:"removed"},"Removed"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-time-input-group-margin-left"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-time-input-group-margin-right"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-keyboard-border-style"),(0,i.mdx)("li",{parentName:"ul"},"--terra-time-input-keyboard-border-width")))}u.isMDXComponent=!0},99257:function(e,t,r){r.d(t,{C:function(){return i}});var n=r(67294),a=r(22863),i=function(e){var t=e.url;return n.createElement(a.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-time-input",name:"terra-time-input",version:"4.58.0",url:t})}},17422:function(e,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"}},87462:function(e,t,r){function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}r.d(t,{Z:function(){return n}})}}]); \ No newline at end of file diff --git a/pull/1911/18933-119e578bb37557d05cb0.js b/pull/1911/18933-119e578bb37557d05cb0.js new file mode 100644 index 00000000000..633e04c44b5 --- /dev/null +++ b/pull/1911/18933-119e578bb37557d05cb0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[18933],{18933:function(e,t,a){var r=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(a(67294)),u=r(a(77947)),l=r(a(8787));t.default=function(){return n.default.createElement(l.default,{timeInputAttributes:{className:"time-input-example",readOnly:!0},timeVariant:u.default.FORMAT_12_HOUR})}},8787:function(e,t,a){var r=a(64836),n=a(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(a(10434)),l=r(a(27424)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var a=c(t);if(a&&a.has(e))return a.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=u?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(r,l,i):r[l]=e[l]}return r.default=e,a&&a.set(e,r),r}(a(67294)),f=r(a(45697)),o=r(a(44887)),d=r(a(77947));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,a=new WeakMap;return(c=function(e){return e?a:t})(e)}var p={value:f.default.string,initialTimeZone:f.default.string},s=function(e){var t=e.value,a=d.default.createSafeDate(t,e.initialTimeZone);a&&a.isValid()&&(t=a.format());var r=(0,i.useState)(t),n=(0,l.default)(r,2),f=n[0],c=n[1];return i.default.createElement("div",null,i.default.createElement("p",null,"Selected ISO Date Time:",i.default.createElement("span",{"data-date-time-value":!0},f)),i.default.createElement(o.default,(0,u.default)({name:"date-time-picker-example",onChange:function(e,t){c(t)},initialTimeZone:e.initialTimeZone},e)))};s.propTypes=p,s.defaultProps={value:""};t.default=s}}]); \ No newline at end of file diff --git a/pull/1911/18974-dc6e229113c83a7ec0cd.css b/pull/1911/18974-dc6e229113c83a7ec0cd.css new file mode 100644 index 00000000000..9f674a3a0ea --- /dev/null +++ b/pull/1911/18974-dc6e229113c83a7ec0cd.css @@ -0,0 +1,5 @@ +.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} +.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)} +.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)} diff --git a/pull/1911/18974-dc6e229113c83a7ec0cd.js b/pull/1911/18974-dc6e229113c83a7ec0cd.js new file mode 100644 index 00000000000..97f703dfe9c --- /dev/null +++ b/pull/1911/18974-dc6e229113c83a7ec0cd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[18974,77883,22020],{22863:function(e,t,n){var a=n(64836);t.Z=void 0;var r=a(n(67294)),l=a(n(45697)),o=a(n(47166)),u=a(n(17422)),i=o.default.bind(u.default),c={name:l.default.string.isRequired,src:l.default.string,url:l.default.string,version:l.default.string.isRequired},d=function(e){var t=e.src,n=e.name,a=e.url,l=e.version,o=r.default.createElement("a",{className:i("badge"),href:a||"https://www.npmjs.org/package/".concat(n,"/v/").concat(l)},r.default.createElement("span",{className:i("badge-name")},a?"package":"npm"),r.default.createElement("span",{className:i("badge-version")},"v".concat(l))),u=t?r.default.createElement("a",{className:i("badge"),href:t},r.default.createElement("span",{className:i("badge-name")},"github"),r.default.createElement("span",{className:i("badge-version")},"source")):void 0;return r.default.createElement("div",{className:i("badge-container")},o,u)};d.propTypes=c;var f=d;t.Z=f},49271:function(e,t,n){var a=n(64836),r=n(18698);t.Z=void 0;var l=a(n(27424)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var u=l?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(a,o,u):a[o]=e[o]}a.default=e,n&&n.set(e,a);return a}(n(67294)),u=a(n(45697)),i=a(n(47166)),c=n(21538),d=a(n(33864)),f=a(n(23399)),s=n(51051),p=a(n(53560));function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}var _=i.default.bind(p.default),b={example:u.default.element,exampleSrc:u.default.element,exampleCssSrc:u.default.element,title:u.default.string,description:u.default.node,isExpanded:u.default.bool},v=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},y=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},g=function(e){var t=e.example,n=e.exampleSrc,a=e.exampleCssSrc,r=e.title,u=e.description,i=e.isExpanded,p=(0,o.useState)(i),m=(0,l.default)(p,2),b=m[0],g=m[1],h=(0,o.useState)(!1),E=(0,l.default)(h,2),O=E[0],w=E[1],j=o.default.useContext(c.ThemeContext),x=void 0!==a,P=function(){w(!O),b&&g(!b)},T=function(){g(!b),O&&w(!O)},N=function(e,t){e.nativeEvent.keyCode!==s.KEY_SPACE&&e.nativeEvent.keyCode!==s.KEY_RETURN||(e.preventDefault(),t())};return o.default.createElement("div",{className:_("template",j.className)},o.default.createElement("div",{className:_("header")},r&&o.default.createElement("h2",{className:_("title")},r)),o.default.createElement("div",{className:_("content")},u&&o.default.createElement("div",{className:_("description")},u),t),o.default.createElement("div",{className:_("footer")},n?o.default.createElement("div",{className:_("button-container")},x&&o.default.createElement("button",{type:"button",className:_("css-toggle","item",{"is-selected":O}),onClick:P,onKeyDown:function(e){return N(e,P)},onBlur:v,onMouseDown:y,tabIndex:0,"data-focus-styles-enabled":!0},o.default.createElement(d.default,{className:_("chevron")}),o.default.createElement("span",null,"CSS"),o.default.createElement(f.default,{className:_("chevron")})),o.default.createElement("button",{type:"button",className:_("code-toggle","item",{"is-selected":b}),onClick:T,onKeyDown:function(e){return N(e,T)},onBlur:v,onMouseDown:y,tabIndex:0,"data-focus-styles-enabled":!0},o.default.createElement(d.default,{className:_("chevron")}),o.default.createElement("span",null,"Code"),o.default.createElement(f.default,{className:_("chevron")}))):null,o.default.createElement("div",null,O&&o.default.createElement("div",{className:_("css")},a),b&&o.default.createElement("div",{className:_("code")},n))))};g.propTypes=b,g.defaultProps={isExpanded:!1};var h=g;t.Z=h},17422: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"}},53560: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"}},68586:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Input-module__clinical-lowlight-theme___clY96","orion-fusion-theme":"Input-module__orion-fusion-theme___phvH5","form-input":"Input-module__form-input___Fk8kb","form-error":"Input-module__form-error___aU4hq","form-incomplete":"Input-module__form-incomplete___h4I7H"}},55142:function(e,t,n){function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(67294)),l=f(n(45697)),o=f(n(94184)),u=f(n(47166)),i=f(n(47341)),c=f(n(68586)),d=["defaultValue","disabled","isIncomplete","isInvalid","onBlur","onChange","onFocus","onInput","name","pattern","refCallback","required","type","ariaLabel","value"];function f(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||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function b(e,t){for(var n=0;n")))),(0,m.mdx)(d.X2,{key:"ROW2",mdxType:"Row"},(0,m.mdx)(d.O,{mdxType:"PropNameCell"},"themeName"),(0,m.mdx)(d.Di,{mdxType:"TypeCell"},(0,m.mdx)("pre",null,(0,m.mdx)("code",{parentName:"pre",className:"language-javascript"},"string\n"))),(0,m.mdx)(d.dS,{isRequired:!1,mdxType:"RequiredCell"}),(0,m.mdx)(d.mW,{mdxType:"DefaultValueCell"},(0,m.mdx)("p",null,"none")),(0,m.mdx)(d.Ex,{mdxType:"DescriptionCell"},(0,m.mdx)("p",null,"Name of class for specified theme")))))}c.isMDXComponent=!0;var p=n(49699),f=["components"],h={};function v(e){var t=e.components,n=(0,l.Z)(e,f);return(0,m.mdx)("wrapper",(0,a.Z)({},h,n,{components:t,mdxType:"MDXLayout"}),(0,m.mdx)("pre",null,(0,m.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport classNames from 'classnames/bind';\nimport ThemeProvider from 'terra-theme-provider';\nimport MockThemeComponent from './MockThemeComponent';\nimport styles from './DefaultThemeProvider.module.scss';\n\nconst cx = classNames.bind(styles);\n\nclass DefaultThemeProvider extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n theme: '',\n };\n this.handleThemeChange = this.handleThemeChange.bind(this);\n }\n\n handleThemeChange(e) {\n this.setState({ theme: e.target.value });\n }\n\n render() {\n let themeSwitcher;\n\n function supportsCSSVars() {\n // This eslint rule complains of the lack of .CSS support in IE, which is exactly what this line is intended to detect.\n // eslint-disable-next-line compat/compat\n return window.CSS && window.CSS.supports && window.CSS.supports('(--fake-var: 0)');\n }\n\n if (supportsCSSVars()) {\n themeSwitcher = (\n
\n \n \n
\n );\n } else {\n themeSwitcher = (\n
\n );\n }\n\n return (\n
\n
{themeSwitcher}
\n \n
\n Themable component\n
\n
\n
\n );\n }\n}\n\nexport default DefaultThemeProvider;\n\n")))}v.isMDXComponent=!0;var x=n(49271),_=["components"],g={};function T(e){var t=e.components,n=(0,l.Z)(e,_);return(0,m.mdx)("wrapper",(0,a.Z)({},g,n,{components:t,mdxType:"MDXLayout"}),(0,m.mdx)("pre",null,(0,m.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .theme-switcher-wrapper {\n margin-bottom: 1rem;\n }\n}\n\n")))}T.isMDXComponent=!0;var b=function(e){var t=e.title,n=e.description,a=e.isExpanded;return r.createElement(x.Z,{title:t||"Default Theme Provider",description:n,example:r.createElement(p.Z,null),exampleCssSrc:r.createElement(T,null),exampleSrc:r.createElement(v,null),isExpanded:a})},y=["components"],E={},N="wrapper";function w(e){var t=e.components,n=(0,l.Z)(e,y);return(0,m.mdx)(N,(0,a.Z)({},E,n,{components:t,mdxType:"MDXLayout"}),(0,m.mdx)(o.C,{mdxType:"Badge"}),(0,m.mdx)("h1",{id:"terra-theme-provider"},"Terra Theme Provider"),(0,m.mdx)("p",null,"The theme provider component provides a theme to Terra UI components via CSS custom properties a.k.a CSS variables. This is accomplished by setting a CSS class, generated from the ",(0,m.mdx)("inlineCode",{parentName:"p"},"themeName")," prop, which contains defined CSS custom properties for the specified theme on the ",(0,m.mdx)("inlineCode",{parentName:"p"},"html")," element."),(0,m.mdx)("p",null,(0,m.mdx)("strong",{parentName:"p"},"Note:")),(0,m.mdx)("ul",null,(0,m.mdx)("li",{parentName:"ul"},"The CSS custom properties applied via the theme provided only works in browsers which have native support for CSS custom properties.")),(0,m.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,m.mdx)("ul",null,(0,m.mdx)("li",{parentName:"ul"},"Install with ",(0,m.mdx)("a",{parentName:"li",href:"https://www.npmjs.com/"},"npmjs"),":",(0,m.mdx)("ul",{parentName:"li"},(0,m.mdx)("li",{parentName:"ul"},(0,m.mdx)("inlineCode",{parentName:"li"},"npm install terra-theme-provider"))))),(0,m.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,m.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,m.mdx)("table",null,(0,m.mdx)("thead",{parentName:"table"},(0,m.mdx)("tr",{parentName:"thead"},(0,m.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,m.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,m.mdx)("tbody",{parentName:"table"},(0,m.mdx)("tr",{parentName:"tbody"},(0,m.mdx)("td",{parentName:"tr",align:null},"react"),(0,m.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,m.mdx)("tr",{parentName:"tbody"},(0,m.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,m.mdx)("td",{parentName:"tr",align:null},"^16.8.5")))),(0,m.mdx)("h2",{id:"usage"},"Usage"),(0,m.mdx)("pre",null,(0,m.mdx)("code",{parentName:"pre",className:"language-js"},"import ThemeProvider from 'terra-theme-provider';\n")),(0,m.mdx)("h2",{id:"examples"},"Examples"),(0,m.mdx)(b,{title:"Example Theme Provider",mdxType:"DefaultThemeProvider"}),(0,m.mdx)("h2",{id:"theme-provider-props-table"},"Theme Provider Props Table"),(0,m.mdx)(c,{mdxType:"ThemeProviderPropsTable"}))}w.isMDXComponent=!0},81883:function(e,t,n){n.d(t,{C:function(){return r}});var a=n(67294),l=n(22863),r=function(e){var t=e.url;return a.createElement(l.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-theme-provider",name:"terra-theme-provider",version:"4.13.0",url:t})}},49699:function(e,t,n){var a=n(64836);t.Z=void 0;var l=a(n(56690)),r=a(n(89728)),m=a(n(66115)),o=a(n(61655)),d=a(n(94993)),i=a(n(73808)),u=a(n(67294)),s=a(n(47166)),c=a(n(43666)),p=a(n(99104)),f=a(n(68651));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,i.default)(e);if(t){var l=(0,i.default)(this).constructor;n=Reflect.construct(a,arguments,l)}else n=a.apply(this,arguments);return(0,d.default)(this,n)}}var v=s.default.bind(f.default),x=function(e){(0,o.default)(n,e);var t=h(n);function n(e){var a;return(0,l.default)(this,n),(a=t.call(this,e)).state={theme:""},a.handleThemeChange=a.handleThemeChange.bind((0,m.default)(a)),a}return(0,r.default)(n,[{key:"handleThemeChange",value:function(e){this.setState({theme:e.target.value})}},{key:"render",value:function(){var e;return e=window.CSS&&window.CSS.supports&&window.CSS.supports("(--fake-var: 0)")?u.default.createElement("div",{className:v("theme-switcher-wrapper")},u.default.createElement("label",{htmlFor:"theme"}," Theme: "),u.default.createElement("select",{id:"theme",value:this.state.theme,onChange:this.handleThemeChange},u.default.createElement("option",{value:""},"Default"),u.default.createElement("option",{value:"cerner-mock-theme"},"Mock Theme"))):u.default.createElement("div",null),u.default.createElement("div",null,u.default.createElement("div",null,e),u.default.createElement(c.default,{themeName:this.state.theme},u.default.createElement("div",null,u.default.createElement(p.default,null,"Themable component"))))}}]),n}(u.default.Component);t.Z=x},99104:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(10434)),r=a(n(70215)),m=a(n(67294)),o=a(n(45697)),d=a(n(47166)),i=a(n(38536));n(2890);var u=["children"],s=d.default.bind(i.default),c={children:o.default.node.isRequired},p=function(e){var t=e.children,n=(0,r.default)(e,u);return m.default.createElement("div",(0,l.default)({},n,{className:s("mock-theme-component",n.className)}),t)};p.propTypes=c;t.default=p},17422: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"}},53560: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"}},68651:function(e,t,n){n.r(t),t.default={"theme-switcher-wrapper":"DefaultThemeProvider-module__theme-switcher-wrapper___mXLjt"}},38536:function(e,t,n){n.r(t),t.default={"mock-theme-component":"MockThemeComponent-module__mock-theme-component___42Z5g"}},2890:function(e,t,n){n.r(t),t.default={}},33864:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(67294)),l=r(n(99139));function r(e){return e&&e.__esModule?e:{default:e}}function m(){return m=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}t.AlignmentTypes={CENTER:"center",BOTTOM:"bottom",STRETCH:"stretch"};var _=o.default.bind(i.default),p={fitStart:r.default.element,fill:r.default.element.isRequired,fitEnd:r.default.element,align:r.default.oneOf(["center","bottom","stretch"]),alignFitStart:r.default.oneOf(["center","bottom","stretch"]),alignFitEnd:r.default.oneOf(["center","bottom","stretch"]),alignFill:r.default.oneOf(["center","bottom","stretch"]),fitStartAttributes:r.default.object,fillAttributes:r.default.object,fitEndAttributes:r.default.object},g=function(e){var t=e.fitStart,n=e.fill,a=e.fitEnd,r=e.align,o=e.alignFitStart,i=e.alignFill,c=e.alignFitEnd,s=e.fitStartAttributes,m=e.fillAttributes,p=e.fitEndAttributes,g=b(e,u),v=f({},s),y=f({},m),h=f({},p);return l.default.createElement("span",d({},g,{className:_("arrange",g.className)}),l.default.createElement("span",d({},v,{className:_("fit",r||o,v.className,"fit-block")}),t),l.default.createElement("span",d({},y,{className:_("fill",r||i,y.className,"fill-block")}),n),l.default.createElement("span",d({},h,{className:_("fit",r||c,h.className)}),a))};g.propTypes=p;t.default=g},15185:function(e,t,n){function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=f(n(67294)),r=f(n(45697)),o=f(n(94184)),i=f(n(47166)),u=f(n(47341)),c=f(n(12472)),d=f(n(84538)),s=["checked","defaultChecked","inputAttrs","id","disabled","isInline","isLabelHidden","labelText","labelTextAttrs","name","onBlur","onChange","onFocus","value"];function f(e){return e&&e.__esModule?e:{default:e}}function m(){return m=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 g=i.default.bind(c.default),v={checked:r.default.bool,defaultChecked:r.default.bool,id:r.default.string,inputAttrs:r.default.object,disabled:r.default.bool,isInline:r.default.bool,isLabelHidden:r.default.bool,labelText:r.default.string.isRequired,labelTextAttrs:r.default.object,name:r.default.string,onBlur:r.default.func,onChange:r.default.func,onFocus:r.default.func,value:r.default.string},y={checked:void 0,defaultChecked:void 0,id:void 0,inputAttrs:{},disabled:!1,isInline:!1,isLabelHidden:!1,labelTextAttrs:{},name:null,onBlur:void 0,onChange:void 0,onFocus:void 0,value:void 0},h=function(e){var t=e.checked,n=e.defaultChecked,a=e.inputAttrs,r=e.id,i=e.disabled,c=e.isInline,f=e.isLabelHidden,v=e.labelText,y=e.labelTextAttrs,h=e.name,E=e.onBlur,O=e.onChange,x=e.onFocus,j=e.value,w=p(e,s),k=l.default.useContext(u.default),N=function(e){for(var t=1;t0||navigator.msMaxTouchPoints>0)}};e.exports=t}}]); \ No newline at end of file diff --git a/pull/1911/19729-b40fd0a380c5ec78972b.css b/pull/1911/19729-b40fd0a380c5ec78972b.css new file mode 100644 index 00000000000..bb3837685d7 --- /dev/null +++ b/pull/1911/19729-b40fd0a380c5ec78972b.css @@ -0,0 +1,9 @@ +.Cell-module__clinical-lowlight-theme___JlIUL{--terra-table-cell-border-bottom: 1px solid #181b1d;--terra-table-cell-border-left: 1px solid #181b1d;--terra-table-cell-border-right: 1px solid #181b1d;--terra-table-cell-selected-background-color: #1e3a49;--terra-table-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-highlight-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-odd-row-hover-background-color: #25282a;--terra-table-even-row-hover-background-color: #1d2225;--terra-table-pinned-columns-cell-border: 1px solid #181b1d}.Cell-module__orion-fusion-theme___HW1Ki{--terra-table-cell-border-bottom: 1px solid #c8cacb;--terra-table-cell-border-left: 1px solid #c8cacb;--terra-table-cell-border-right: 1px solid #c8cacb;--terra-table-cell-selected-background-color: #cbe7fa;--terra-table-odd-row-hover-background-color: #e0f2fb;--terra-table-even-row-hover-background-color: #d6e8f2;--terra-table-pinned-columns-cell-border: 1px solid #c8cacb}.Cell-module__cell___XID6c{font-weight:normal;position:relative}[dir] .Cell-module__cell___XID6c{border-bottom:1px solid #dedfe0;border-bottom:var(--terra-table-cell-border-bottom, 1px solid #dedfe0);padding:7px;padding:var(--terra-table-cell-content-padding, 7px)}[dir=ltr] .Cell-module__cell___XID6c{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=ltr] .Cell-module__cell___XID6c:first-child{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c:first-child{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir] .Cell-module__selected___3WHxU{background-color:#cbe7fa;background-color:var(--terra-table-cell-selected-background-color, #cbe7fa)}[dir=ltr] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=rtl] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=ltr] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}[dir=rtl] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}.Cell-module__cell-content___FhljD{overflow:hidden;overflow-wrap:break-word}[dir=ltr] .Cell-module__cell-content___FhljD{text-align:left}[dir=rtl] .Cell-module__cell-content___FhljD{text-align:right}.Cell-module__cell-content___FhljD .Cell-module__no-data-cell___6er9D{color:rgba(0,0,0,0)}.Cell-module__pinned___y2cJe{position:-webkit-sticky;position:sticky;z-index:1}[dir] .Cell-module__pinned___y2cJe:not(.Cell-module__selected___3WHxU){background-color:inherit}[dir] tr:nth-child(odd) .Cell-module__selectable___BAIg5:hover{background-color:#e0f2fb;background-color:var(--terra-table-odd-row-hover-background-color, #e0f2fb);cursor:pointer}[dir] tr:nth-child(even) .Cell-module__selectable___BAIg5:hover{background-color:#d3e5ee;background-color:var(--terra-table-even-row-hover-background-color, #d3e5ee);cursor:pointer} +.RowSelectionCell-module__input___\+\+BBM{display:-ms-flexbox;display:flex;height:16px;width:16px}[dir] .RowSelectionCell-module__input___\+\+BBM{margin:auto} +.Row-module__clinical-lowlight-theme___LqsJk{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Row-module__orion-fusion-theme___uCwnV{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}[dir] .Row-module__striped-table-row___0o1z0:nth-child(even){background-color:#f0f0f0;background-color:var(--terra-table-row-striped-background-color, #f0f0f0)}[dir] .Row-module__row___kR-J-{background-color:#fff;background-color:var(--terra-table-row-background-color, #fff)}[dir] .Row-module__row___kR-J-.Row-module__selectable___r9jUT:hover{background-color:#e2f2fc;background-color:var(--terra-table-row-hover-background-color, #e2f2fc);cursor:pointer}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP{background-color:#cbe7fa;background-color:var(--terra-table-row-selected-background-color, #cbe7fa)}[dir=ltr] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-right:1px solid #0092e0}[dir=rtl] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-left:1px solid #0092e0}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-bottom:1px solid #0092e0;border-bottom:var(--terra-table-row-highlight-border-bottom, 1px solid #0092e0)}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child th, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-top:1px solid #0092e0;border-top:var(--terra-table-row-highlight-border-top, 1px solid #0092e0)} +.Section-module__clinical-lowlight-theme___CmVbA{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Section-module__orion-fusion-theme___42iAO{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}.Section-module__section___Rf5QD.Section-module__collapsed___M5LcR{display:none}.Section-module__header___Q0nuu{position:relative;z-index:3}[dir=ltr] .Section-module__header___Q0nuu th{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Section-module__header___Q0nuu th{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)} +.ColumnResizeHandle-module__orion-fusion-theme___uvYEY{--terra-table-resize-handle-active-border-color: #517ea5;--terra-table-resize-handle-hover-border-color: #e4f1f7}.ColumnResizeHandle-module__clinical-lowlight-theme___MWieH{--terra-table-resize-handle-active-border-color: rgba(34, 42, 46, 1);--terra-table-resize-handle-hover-border-color: rgba(34, 42, 46, 0.6)}.ColumnResizeHandle-module__resize-handle___rckkL{display:block;height:100%;position:absolute;top:0;width:22px;z-index:1}[dir] .ColumnResizeHandle-module__resize-handle___rckkL{cursor:col-resize}[dir=ltr] .ColumnResizeHandle-module__resize-handle___rckkL{border-right:4px solid rgba(0,0,0,0);right:0}[dir=rtl] .ColumnResizeHandle-module__resize-handle___rckkL{border-left:4px solid rgba(0,0,0,0);left:0}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:active{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important}.ColumnResizeHandle-module__resize-handle___rckkL:focus{outline:0 !important}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:focus{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:hover{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle-selected___-zzct{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important} +.ColumnHeaderCell-module__clinical-lowlight-theme___E4AJx{--terra-table-column-header-text-color: #b2b5b6;--terra-table-column-header-background-color: #151719;--terra-table-column-header-border-bottom: 1px solid #181b1d;--terra-table-column-header-border-left: 1px solid #181b1d;--terra-table-column-header-border-right: 1px solid #181b1d;--terra-table-column-header-border-top: 1px solid #181b1d;--terra-table-pinned-columns-header-border: 1px solid #181b1d;--terra-table-pinned-columns-header-box-shadow: 1px 0 #181b1d;--terra-table-pinned-columns-divider-background-color: #181b1d;--terra-table-pinned-columns-divider-box-shadow: 4px -1px 6px #181b1d;--terra-table-header-hover-background-color: #0c0f10}.ColumnHeaderCell-module__orion-fusion-theme___LLv1A{--terra-table-column-header-text-color: #4e5356;--terra-table-column-header-background-color: #f4f4f4;--terra-table-column-header-border-bottom: 2px solid #9b9fa1;--terra-table-column-header-border-left: 1px solid #c8cacb;--terra-table-column-header-border-right: 1px solid #c8cacb;--terra-table-column-header-border-top: 1px solid #c8cacb;--terra-table-pinned-columns-header-border: 1px solid #c8cacb;--terra-table-pinned-columns-header-box-shadow: 1px 0 #c8cacb;--terra-table-header-hover-background-color: #d5e7f2}.ColumnHeaderCell-module__column-header___oWlRh{color:var(--terra-table-column-header-text-color);position:-webkit-sticky;position:sticky;top:0;z-index:1}[dir] .ColumnHeaderCell-module__column-header___oWlRh{background-color:#dedfe0;background-color:var(--terra-table-column-header-background-color, #dedfe0);border-bottom:1px solid #000;border-bottom:var(--terra-table-column-header-border-bottom, 1px solid #000);border-top:1px solid #000;border-top:var(--terra-table-column-header-border-top, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-left, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-left, 1px solid #000)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{padding:5px;padding:var(--terra-table-header-cell-padding, 5px)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-right:5px;margin-right:var(--terra-table-error-icon-margin-right, 5px)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-left:5px;margin-left:var(--terra-table-error-icon-margin-right, 5px)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{-ms-flex:1;flex:1;font-weight:normal;outline:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{background:rgba(0,0,0,0);border:0}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:left}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:right}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l.ColumnHeaderCell-module__hidden___Tu-Xs{color:rgba(0,0,0,0)}[dir] .ColumnHeaderCell-module__selectable___JFI4E:hover{background-color:#daecf6;background-color:var(--terra-table-header-hover-background-color, #daecf6);cursor:pointer}.ColumnHeaderCell-module__pinned___Qusyo{position:-webkit-sticky;position:sticky;z-index:2 !important}.ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{position:absolute;top:0;width:2px}[dir] .ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{background-color:#808080;background-color:var(--terra-table-pinned-columns-divider-background-color, #808080);box-shadow:4px -1px 6px #808080;box-shadow:var(--terra-table-pinned-columns-divider-box-shadow, 4px -1px 6px #808080)} +.ColumnHeader-module__hidden___I3b7-{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}[dir] .ColumnHeader-module__hidden___I3b7-{border:0;margin:-1px;padding:0} +.Table-module__clinical-lowlight-theme___G2b7R{--terra-table-cell-focus-outline: 3px dashed #fff;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #181b1d}.Table-module__orion-fusion-theme___iu\+p1{--terra-table-cell-focus-outline: 3px dashed #000;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #c8cacb}.Table-module__table-container___g4Byi{height:100%;overflow:auto;width:100%}.Table-module__table___wcFdg{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1px}[dir=ltr] .Table-module__table___wcFdg{margin-right:15px}[dir=rtl] .Table-module__table___wcFdg{margin-left:15px}.Table-module__table___wcFdg :focus{outline:3px dashed #000;outline:var(--terra-table-cell-focus-outline, 3px dashed #000);outline-offset:-2px;outline-offset:var(--terra-table-cell-focus-outline-offset, -2px)}[dir] .Table-module__headerless___eod6K tr:first-child td, [dir] .Table-module__headerless___eod6K tr:first-child th{border-top:1px solid #dedfe0;border-top:var(--terra-table-headerless-first-row-border-top, 1px solid #dedfe0)} +.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)} diff --git a/pull/1911/19729-b40fd0a380c5ec78972b.js b/pull/1911/19729-b40fd0a380c5ec78972b.js new file mode 100644 index 00000000000..c912fa9eab5 --- /dev/null +++ b/pull/1911/19729-b40fd0a380c5ec78972b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[19729],{49271:function(e,t,n){var a=n(64836),o=n(18698);t.Z=void 0;var l=a(n(27424)),r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var c=l?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(a,r,c):a[r]=e[r]}a.default=e,n&&n.set(e,a);return a}(n(67294)),c=a(n(45697)),s=a(n(47166)),i=n(21538),u=a(n(33864)),d=a(n(23399)),m=n(51051),p=a(n(53560));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 b=s.default.bind(p.default),h={example:c.default.element,exampleSrc:c.default.element,exampleCssSrc:c.default.element,title:c.default.string,description:c.default.node,isExpanded:c.default.bool},_=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},y=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},w=function(e){var t=e.example,n=e.exampleSrc,a=e.exampleCssSrc,o=e.title,c=e.description,s=e.isExpanded,p=(0,r.useState)(s),f=(0,l.default)(p,2),h=f[0],w=f[1],x=(0,r.useState)(!1),C=(0,l.default)(x,2),v=C[0],g=C[1],E=r.default.useContext(i.ThemeContext),S=void 0!==a,T=function(){g(!v),h&&w(!h)},O=function(){w(!h),v&&g(!v)},N=function(e,t){e.nativeEvent.keyCode!==m.KEY_SPACE&&e.nativeEvent.keyCode!==m.KEY_RETURN||(e.preventDefault(),t())};return r.default.createElement("div",{className:b("template",E.className)},r.default.createElement("div",{className:b("header")},o&&r.default.createElement("h2",{className:b("title")},o)),r.default.createElement("div",{className:b("content")},c&&r.default.createElement("div",{className:b("description")},c),t),r.default.createElement("div",{className:b("footer")},n?r.default.createElement("div",{className:b("button-container")},S&&r.default.createElement("button",{type:"button",className:b("css-toggle","item",{"is-selected":v}),onClick:T,onKeyDown:function(e){return N(e,T)},onBlur:_,onMouseDown:y,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(u.default,{className:b("chevron")}),r.default.createElement("span",null,"CSS"),r.default.createElement(d.default,{className:b("chevron")})),r.default.createElement("button",{type:"button",className:b("code-toggle","item",{"is-selected":h}),onClick:O,onKeyDown:function(e){return N(e,O)},onBlur:_,onMouseDown:y,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(u.default,{className:b("chevron")}),r.default.createElement("span",null,"Code"),r.default.createElement(d.default,{className:b("chevron")}))):null,r.default.createElement("div",null,v&&r.default.createElement("div",{className:b("css")},a),h&&r.default.createElement("div",{className:b("code")},n))))};w.propTypes=h,w.defaultProps={isExpanded:!1};var x=w;t.Z=x},66566:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var a=n(87462),o=n(44925),l=n(67294),r=n(81254),c=n(8113),s=["components"],i={};function u(e){var t=e.components,n=(0,o.Z)(e,s);return(0,r.mdx)("wrapper",(0,a.Z)({},i,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React, { useState } from 'react';\nimport Table from 'terra-table';\n\nconst tableDataJSON = {\n cols: [\n {\n id: 'Column-0', displayName: 'Patient', sortIndicator: 'ascending', hasError: true, isSelectable: true, // This column header will be rendered with a sort indicator and an error icon by default.\n },\n { id: 'Column-1', displayName: 'Location', isSelectable: true },\n { id: 'Column-2', displayName: 'Illness Severity', isSelectable: true },\n { id: 'Column-3', displayName: 'Visit', isSelectable: true },\n { id: 'Column-4', displayName: 'Allergy', hasError: true }, // Use hasError property to display an error icon in the column header\n { id: 'Column-5', displayName: 'Primary Contact', isSelectable: true },\n ],\n rows: [\n {\n id: '1',\n cells: [\n { content: 'Fleck, Arthur' },\n { content: '1007-MTN' },\n { content: 'Unstable' },\n { content: 'Inpatient, 2 months' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n ],\n },\n {\n id: '2',\n cells: [\n { content: 'Wayne, Bruce' },\n { content: '1007-MTN-DR' },\n { content: 'Stable' },\n { content: 'Outpatient, 2 days' },\n { content: 'Phytochemicals' },\n { content: 'Grayson, Richard' },\n ],\n },\n ],\n};\n\nconst TableWithColumnStates = () => {\n const rowHeaderIndex = 0;\n const { cols, rows } = tableDataJSON;\n\n const [tableColumns, setTableColumns] = useState(cols);\n const [tableRows, setTableRows] = useState(rows);\n\n // The onColumnSelect will sort the rows and toggle the current sort indicator.\n const onColumnSelect = (columnId) => {\n const newColumnArray = tableColumns.map((column, columnIndex) => {\n const newColumn = { ...column };\n\n if (column.id === columnId) {\n newColumn.sortIndicator = column.sortIndicator === 'ascending' ? 'descending' : 'ascending';\n\n const newGridRows = [...tableRows];\n newGridRows.sort((rowA, rowB) => {\n const firstRowContent = rowA.cells[columnIndex].content || '';\n const secondRowContent = rowB.cells[columnIndex].content || '';\n\n if (newColumn.sortIndicator === 'ascending') {\n return firstRowContent.localeCompare(secondRowContent);\n }\n return secondRowContent.localeCompare(firstRowContent);\n });\n\n setTableRows(newGridRows);\n } else {\n newColumn.sortIndicator = undefined;\n }\n\n return newColumn;\n });\n\n setTableColumns(newColumnArray);\n };\n\n return (\n \n );\n};\n\nexport default TableWithColumnStates;\n\n")))}u.isMDXComponent=!0;var d=n(49271),m=function(e){var t=e.title,n=e.description,a=e.isExpanded;return l.createElement(d.Z,{title:t||"Table Column States",description:n,example:l.createElement(c.Z,null),exampleSrc:l.createElement(u,null),isExpanded:a})},p=["components"],f={},b="wrapper";function h(e){var t=e.components,n=(0,o.Z)(e,p);return(0,r.mdx)(b,(0,a.Z)({},f,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("h1",{id:"column-states-and-selection"},"Column States and Selection"),(0,r.mdx)("h3",{id:"description"},"Description"),(0,r.mdx)("p",null,"This example demonstrates a ",(0,r.mdx)("a",{parentName:"p",href:"/terra-framework/pull/1911/components/cerner-terra-framework-docs/table/about"},"Table")," that supports column states and sorting.\nA column can be selected by clicking on the column header or tabbing to the column header and pressing the Space key on the focused column header.\nOnly columns that are selectable can be selected."),(0,r.mdx)("p",null,"The Column can display error and sort indicator icons to represent its current state."),(0,r.mdx)("h3",{id:"properties-required"},"Properties required"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"The ",(0,r.mdx)("strong",{parentName:"li"},(0,r.mdx)("em",{parentName:"strong"},"onColumnSelect"))," callback prop: When the user selects a column, this callback will be called with the columnId of the selected column.")),(0,r.mdx)("p",null,"The below example also demonstrates how properties such as ",(0,r.mdx)("em",{parentName:"p"},"isSelectable"),", ",(0,r.mdx)("em",{parentName:"p"},"hasError")," and ",(0,r.mdx)("em",{parentName:"p"},"sortIndicator")," can be provided by the consumer to control if column header is selectable, display error state, and show sort indicator icons respectively."),(0,r.mdx)(m,{title:"Table Column States",mdxType:"TableColumnStates"}))}h.isMDXComponent=!0},8113:function(e,t,n){var a=n(64836),o=n(18698);t.Z=void 0;var l=a(n(861)),r=a(n(38416)),c=a(n(27424)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var a={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var c=l?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(a,r,c):a[r]=e[r]}return a.default=e,n&&n.set(e,a),a}(n(67294)),i=a(n(12810));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(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}var m=[{id:"Column-0",displayName:"Patient",sortIndicator:"ascending",hasError:!0,isSelectable:!0},{id:"Column-1",displayName:"Location",isSelectable:!0},{id:"Column-2",displayName:"Illness Severity",isSelectable:!0},{id:"Column-3",displayName:"Visit",isSelectable:!0},{id:"Column-4",displayName:"Allergy",hasError:!0},{id:"Column-5",displayName:"Primary Contact",isSelectable:!0}],p=[{id:"1",cells:[{content:"Fleck, Arthur"},{content:"1007-MTN"},{content:"Unstable"},{content:"Inpatient, 2 months"},{content:""},{content:"Quinzell, Harleen"}]},{id:"2",cells:[{content:"Wayne, Bruce"},{content:"1007-MTN-DR"},{content:"Stable"},{content:"Outpatient, 2 days"},{content:"Phytochemicals"},{content:"Grayson, Richard"}]}];t.Z=function(){var e=m,t=p,n=(0,s.useState)(e),a=(0,c.default)(n,2),o=a[0],u=a[1],f=(0,s.useState)(t),b=(0,c.default)(f,2),h=b[0],_=b[1];return s.default.createElement(i.default,{id:"terra-table-with-column-states",overflowColumns:o,rows:h,rowHeaderIndex:0,rowHeight:"50px",defaultColumnWidth:100,columnHeaderHeight:"50px",onColumnSelect:function(e){var t=o.map((function(t,n){var a=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return a}})}}]); \ No newline at end of file diff --git a/pull/1911/19838-b2b73ef58f4e9272a128.css b/pull/1911/19838-b2b73ef58f4e9272a128.css new file mode 100644 index 00000000000..0c82fde0649 --- /dev/null +++ b/pull/1911/19838-b2b73ef58f4e9272a128.css @@ -0,0 +1 @@ +.TabPane-test-module__content-wrapper___o3y1w{display:-ms-flexbox;display:flex}[dir=ltr] .TabPane-test-module__custom-display-content___KPU3P{margin-right:15px}[dir=rtl] .TabPane-test-module__custom-display-content___KPU3P{margin-left:15px} diff --git a/pull/1911/19838-b2b73ef58f4e9272a128.js b/pull/1911/19838-b2b73ef58f4e9272a128.js new file mode 100644 index 00000000000..73ff7e22ca9 --- /dev/null +++ b/pull/1911/19838-b2b73ef58f4e9272a128.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[19838],{19838:function(e,t,a){var n=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(a(67294)),r=n(a(47166)),u=n(a(50826)),d=n(a(14091)),o=n(a(81186)),c=r.default.bind(o.default);t.default=function(){return l.default.createElement("div",{role:"tablist",className:c("content-wrapper")},l.default.createElement(d.default,{label:"Icon and Text",id:"iconAndText",icon:l.default.createElement(u.default,null)}))}},81186:function(e,t,a){a.r(t),t.default={"content-wrapper":"TabPane-test-module__content-wrapper___o3y1w","custom-display-content":"TabPane-test-module__custom-display-content___KPU3P"}}}]); \ No newline at end of file diff --git a/pull/1911/19888-60743c7a8b9b7370ceca.css b/pull/1911/19888-60743c7a8b9b7370ceca.css new file mode 100644 index 00000000000..b1df3bbee3f --- /dev/null +++ b/pull/1911/19888-60743c7a8b9b7370ceca.css @@ -0,0 +1 @@ +.SlidePanel-module__clinical-lowlight-theme___NdNQF{--terra-slide-panel-panel-background-color: #222a2e;--terra-slide-panel-main-background-color: #222a2e;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 5px #181b1d;--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 5px #181b1d;--terra-slide-panel-main-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-background-color: #222a2e;--terra-slide-panel-panel-squish-border-right-color: #181b1d;--terra-slide-panel-panel-squish-border-left-color: #181b1d;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6}.SlidePanel-module__orion-fusion-theme___aBPYu{--terra-slide-panel-main-background-color: #fff;--terra-slide-panel-panel-background-color: #fff;--terra-slide-panel-main-squish-background-color: #fff;--terra-slide-panel-panel-squish-background-color: #fff;--terra-slide-panel-panel-small-width: 320px;--terra-slide-panel-panel-width-large-scalar: 0.6;--terra-slide-panel-panel-overlay-position-start-box-shadow: 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-overlay-position-end-box-shadow: -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);--terra-slide-panel-panel-squish-width-small: 320px;--terra-slide-panel-panel-squish-width-large-scalar: 0.6;--terra-slide-panel-panel-squish-border-right-color: #d3d4d5;--terra-slide-panel-panel-squish-border-left-color: #d3d4d5}.SlidePanel-module__slide-panel___5vKEK{overflow:hidden;position:relative}.SlidePanel-module__main___Jq40y,.SlidePanel-module__panel___N9gHx{box-sizing:border-box;height:100%;outline:none;-webkit-overflow-scrolling:touch;overflow-y:auto;width:100%}.SlidePanel-module__main___Jq40y{position:relative;z-index:0}[dir] .SlidePanel-module__main___Jq40y{background-color:#fff;background-color:var(--terra-slide-panel-main-background-color, #fff)}.SlidePanel-module__panel___N9gHx{position:absolute;z-index:500}[dir] .SlidePanel-module__panel___N9gHx{background-color:#fff;background-color:var(--terra-slide-panel-panel-background-color, #fff)}.SlidePanel-module__slide-panel___5vKEK .SlidePanel-module__slide-panel___5vKEK>.SlidePanel-module__panel___N9gHx{z-index:499}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___Jq40y{float:right}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__main___Jq40y{float:left}[dir=ltr] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{transform:translate3d(-100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{transform:translate3d(100%, 0, 0)}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___Jq40y{float:left}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__main___Jq40y{float:right}[dir=ltr] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] [data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{left:0;transform:translate3d(-100%, 0, 0)}[dir] .SlidePanel-module__is-open___SU3q3>.SlidePanel-module__panel___N9gHx{transform:translate3d(0, 0, 0)}@media all and (min-width: 768px){[data-slide-panel-panel-size=small]>.SlidePanel-module__panel___N9gHx{width:320px;width:var(--terra-slide-panel-panel-small-width, 320px)}[data-slide-panel-panel-size=large]>.SlidePanel-module__panel___N9gHx{width:calc(100%*0.6);width:calc(100%*var(--terra-slide-panel-panel-width-large-scalar, 0.6))}}@media(max-width: 767px),print{.SlidePanel-module__is-open___SU3q3>.SlidePanel-module__main___Jq40y{visibility:hidden}}@media(min-width: 768px),print{[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{box-shadow:-1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-end-box-shadow, -1px 0 0 0 #cdced0, 16px 0 16px 14px rgba(77, 87, 92, 0.45), 12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=overlay][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{box-shadow:1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04);box-shadow:var(--terra-slide-panel-panel-overlay-position-start-box-shadow, 1px 0 0 0 #cdced0, -16px 0 16px 14px rgba(77, 87, 92, 0.45), -12px 0 24px 18px rgba(100, 105, 108, 0.06), 0 0 100px 20px rgba(28, 31, 33, 0.04))}}@media(min-width: 768px),print{[dir] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__main___Jq40y{background-color:#fff;background-color:var(--terra-slide-panel-main-squish-background-color, #fff)}.SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=small]>.SlidePanel-module__main___Jq40y{width:calc(100% - 320px);width:calc(100% - var(--terra-slide-panel-panel-squish-width-small, 320px))}.SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-size=large]>.SlidePanel-module__main___Jq40y{width:calc(100%*(1 - 0.6));width:calc(100%*(1 - var(--terra-slide-panel-panel-squish-width-large-scalar, 0.6)))}[dir] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish]>.SlidePanel-module__panel___N9gHx{background-color:#fff;background-color:var(--terra-slide-panel-panel-squish-background-color, #fff)}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=start]>.SlidePanel-module__panel___N9gHx{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-right-color, #d3d4d5)}[dir=ltr] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{border-left:1px solid rgba(0,0,0,0);border-left-color:#d3d4d5;border-left-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}[dir=rtl] .SlidePanel-module__is-open___SU3q3[data-slide-panel-panel-behavior=squish][data-slide-panel-panel-position=end]>.SlidePanel-module__panel___N9gHx{border-right:1px solid rgba(0,0,0,0);border-right-color:#d3d4d5;border-right-color:var(--terra-slide-panel-panel-squish-border-left-color, #d3d4d5)}}.SlidePanel-module__is-fullscreen___0BQTN[data-slide-panel-panel-size]>.SlidePanel-module__panel___N9gHx{width:100%}.SlidePanel-module__fill___vHC0f{height:100%;width:100%}.SlidePanel-module__panel___N9gHx[aria-hidden=true]{visibility:hidden}.SlidePanel-module__main___Jq40y[aria-hidden=true]{visibility:hidden} diff --git a/pull/1911/19888-60743c7a8b9b7370ceca.js b/pull/1911/19888-60743c7a8b9b7370ceca.js new file mode 100644 index 00000000000..e5dab1935ea --- /dev/null +++ b/pull/1911/19888-60743c7a8b9b7370ceca.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[19888],{19888:function(e,l,t){var a=t(64836),n=t(18698);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var i=a(t(67294)),u=function(e,l){if(!l&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var t=o(l);if(t&&t.has(e))return t.get(e);var a={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var r=i?Object.getOwnPropertyDescriptor(e,u):null;r&&(r.get||r.set)?Object.defineProperty(a,u,r):a[u]=e[u]}return a.default=e,t&&t.set(e,a),a}(t(27662)),r=a(t(22199)),d=a(t(46868));function o(e){if("function"!=typeof WeakMap)return null;var l=new WeakMap,t=new WeakMap;return(o=function(e){return e?t:l})(e)}l.default=function(){return i.default.createElement("div",null,i.default.createElement(u.default,{mainContent:i.default.createElement(r.default,null),panelContent:i.default.createElement(d.default,null),panelBehavior:"overlay",panelPosition:u.SlidePanelPositions.START,panelSize:"small",isOpen:!0}),i.default.createElement(u.default,{mainContent:i.default.createElement(r.default,null),panelContent:i.default.createElement(d.default,null),panelBehavior:"overlay",panelPosition:u.SlidePanelPositions.END,panelSize:"small",isOpen:!0}))}},22199:function(e,l,t){var a=t(64836);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(t(67294));l.default=function(){return n.default.createElement("div",null,n.default.createElement("h3",null,"Main Content"),n.default.createElement("p",null,"Lorem ipsum dolor sit amet, mea te odio ludus adipiscing. Cu oporteat temporibus nam, aperiam adipisci mel et, mei no oportere salutatus. Iudico lucilius ei pri. Eleifend philosophia et ius."),n.default.createElement("p",null,"Id elit congue copiosae eam, elitr laboramus mediocritatem nam in, decore propriae et usu. An vix insolens dignissim, novum gloriatur delicatissimi mei ne, ne ancillae tincidunt nec. Iusto expetenda scriptorem mei cu, ne per prima nihil utinam. Cibo ocurreret no nam, nec euismod vivendum te."),n.default.createElement("ul",null,n.default.createElement("li",null,"Item 1"),n.default.createElement("li",null,"Item 2"),n.default.createElement("li",null,"Item 3"),n.default.createElement("li",null,"Item 4"),n.default.createElement("li",null,"Item 5"),n.default.createElement("li",null,"Item 6"),n.default.createElement("li",null,"Item 7"),n.default.createElement("li",null,"Item 8"),n.default.createElement("li",null,"Item 9"),n.default.createElement("li",null,"Item 10"),n.default.createElement("li",null,"Item 11"),n.default.createElement("li",null,"Item 12"),n.default.createElement("li",null,"Item 13"),n.default.createElement("li",null,"Item 14"),n.default.createElement("li",null,"Item 15")))}},46868:function(e,l,t){var a=t(64836);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(t(67294));l.default=function(){return n.default.createElement("div",null,n.default.createElement("h3",null,"Panel Content"),n.default.createElement("p",null,"Lorem ipsum dolor sit amet, mea te odio ludus adipiscing. Cu oporteat temporibus nam, aperiam adipisci mel et, mei no oportere salutatus. Iudico lucilius ei pri. Eleifend philosophia et ius."),n.default.createElement("p",null,"Id elit congue copiosae eam, elitr laboramus mediocritatem nam in, decore propriae et usu. An vix insolens dignissim, novum gloriatur delicatissimi mei ne, ne ancillae tincidunt nec. Iusto expetenda scriptorem mei cu, ne per prima nihil utinam. Cibo ocurreret no nam, nec euismod vivendum te."),n.default.createElement("ul",null,n.default.createElement("li",null,"Item 1"),n.default.createElement("li",null,"Item 2"),n.default.createElement("li",null,"Item 3"),n.default.createElement("li",null,"Item 4"),n.default.createElement("li",null,"Item 5"),n.default.createElement("li",null,"Item 6"),n.default.createElement("li",null,"Item 7"),n.default.createElement("li",null,"Item 8"),n.default.createElement("li",null,"Item 9"),n.default.createElement("li",null,"Item 10"),n.default.createElement("li",null,"Item 11"),n.default.createElement("li",null,"Item 12"),n.default.createElement("li",null,"Item 13"),n.default.createElement("li",null,"Item 14"),n.default.createElement("li",null,"Item 15")))}},27662:function(e,l,t){var a=t(64836);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.SlidePanelPositions=void 0;var n=a(t(10434)),i=a(t(70215)),u=a(t(56690)),r=a(t(89728)),d=a(t(66115)),o=a(t(61655)),s=a(t(94993)),f=a(t(73808)),c=a(t(67294)),m=a(t(45697)),p=a(t(94184)),v=a(t(47166)),h=a(t(47341)),E=a(t(29270)),_=t(25387),P=t(55877),b=a(t(1034)),I=["intl","isFullscreen","isOpen","fill","mainAriaLabel","mainContent","panelAriaLabel","panelContent","panelBehavior","panelPosition","panelSize","setSlidePanelRef"];function g(e){var l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,a=(0,f.default)(e);if(l){var n=(0,f.default)(this).constructor;t=Reflect.construct(a,arguments,n)}else t=a.apply(this,arguments);return(0,s.default)(this,t)}}var y=v.default.bind(b.default),N=l.SlidePanelPositions={START:"start",END:"end"},C={panelAriaLabel:m.default.string,mainAriaLabel:m.default.string,mainContent:m.default.node,panelContent:m.default.node,panelBehavior:m.default.oneOf(["overlay","squish"]),panelPosition:m.default.oneOf(["start","end"]),panelSize:m.default.oneOf(["small","large"]),isFullscreen:m.default.bool,isOpen:m.default.bool,fill:m.default.bool,setSlidePanelRef:m.default.func,intl:m.default.shape({formatMessage:m.default.func,locale:m.default.string})},O={panelBehavior:"overlay",panelPosition:N.END,panelSize:"small"},S=function(e){(0,o.default)(t,e);var l=g(t);function t(e){var a;return(0,u.default)(this,t),(a=l.call(this,e)).setPanelNode=a.setPanelNode.bind((0,d.default)(a)),a.mainNode=c.default.createRef(),a.setLastClicked=a.setLastClicked.bind((0,d.default)(a)),a.setDisclosingNode=a.setDisclosingNode.bind((0,d.default)(a)),a.mainAriaDescribedByID="detail-panel-warning-".concat((0,P.v4)()),a}return(0,r.default)(t,[{key:"componentDidUpdate",value:function(e){if(this.props.isOpen&&this.props.isOpen!==e.isOpen)return this.setDisclosingNode(this.lastClicked),void this.panelNode.focus();if(!this.props.isOpen&&this.props.isOpen!==e.isOpen){var l;if(null!==(l=this.disclosingNode)&&void 0!==l&&l.focus)return this.disclosingNode.setAttribute("aria-expanded","false"),void this.disclosingNode.focus();this.mainNode.current.focus()}}},{key:"setPanelNode",value:function(e){this.props.setSlidePanelRef&&this.props.setSlidePanelRef(e),this.panelNode=e}},{key:"setLastClicked",value:function(e){this.lastClicked=e.target}},{key:"setDisclosingNode",value:function(e){e&&(e.setAttribute("aria-expanded","true"),this.disclosingNode=e)}},{key:"render",value:function(){var e=this.props,l=e.intl,t=e.isFullscreen,a=e.isOpen,u=e.fill,r=e.mainAriaLabel,d=e.mainContent,o=e.panelAriaLabel,s=e.panelContent,f=e.panelBehavior,m=e.panelPosition,v=e.panelSize,h=(e.setSlidePanelRef,(0,i.default)(e,I)),_=this.context,P=(0,p.default)(y("slide-panel",{"is-open":a},{"is-fullscreen":t},{fill:u},_.className),h.className),b=c.default.createElement("div",{className:y(["panel"]),key:"panel",tabIndex:"-1","aria-label":o||l.formatMessage({id:"Terra.slidePanel.defaultPanelLabel"}),"aria-hidden":a?"false":"true",role:"region",ref:this.setPanelNode},c.default.createElement(E.default,{text:o||l.formatMessage({id:"Terra.slidePanel.defaultPanelLabel"})}),s),g=c.default.createElement("div",{className:y("main"),key:"main",tabIndex:"-1","aria-label":r,"aria-describedby":this.mainAriaDescribedByID,"aria-hidden":a&&t?"true":"false",ref:this.mainNode,role:"main",onClick:this.setLastClicked,onKeyUp:this.setLastClicked},c.default.createElement(E.default,{tabIndex:"-1",id:this.mainAriaDescribedByID,text:l.formatMessage({id:"Terra.slidePanel.discloseWarning"})}),d),C=m===N.START?c.default.createElement(c.default.Fragment,null,b,g):c.default.createElement(c.default.Fragment,null,g,b);return c.default.createElement("div",(0,n.default)({},h,{className:P,"data-slide-panel-panel-behavior":f,"data-slide-panel-panel-position":m,"data-slide-panel-panel-size":v}),C)}}]),t}(c.default.Component);S.propTypes=C,S.defaultProps=O,S.contextType=h.default;l.default=(0,_.injectIntl)(S)},1034:function(e,l,t){t.r(l),l.default={"clinical-lowlight-theme":"SlidePanel-module__clinical-lowlight-theme___NdNQF","orion-fusion-theme":"SlidePanel-module__orion-fusion-theme___aBPYu","slide-panel":"SlidePanel-module__slide-panel___5vKEK",main:"SlidePanel-module__main___Jq40y",panel:"SlidePanel-module__panel___N9gHx","is-open":"SlidePanel-module__is-open___SU3q3","is-fullscreen":"SlidePanel-module__is-fullscreen___0BQTN",fill:"SlidePanel-module__fill___vHC0f"}}}]); \ No newline at end of file diff --git a/pull/1911/19998-833bce07a97ef0e3713d.css b/pull/1911/19998-833bce07a97ef0e3713d.css new file mode 100644 index 00000000000..0c82fde0649 --- /dev/null +++ b/pull/1911/19998-833bce07a97ef0e3713d.css @@ -0,0 +1 @@ +.TabPane-test-module__content-wrapper___o3y1w{display:-ms-flexbox;display:flex}[dir=ltr] .TabPane-test-module__custom-display-content___KPU3P{margin-right:15px}[dir=rtl] .TabPane-test-module__custom-display-content___KPU3P{margin-left:15px} diff --git a/pull/1911/19998-833bce07a97ef0e3713d.js b/pull/1911/19998-833bce07a97ef0e3713d.js new file mode 100644 index 00000000000..2964e21a61d --- /dev/null +++ b/pull/1911/19998-833bce07a97ef0e3713d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[19998],{19998:function(e,t,a){var l=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(a(67294)),u=l(a(47166)),s=l(a(50826)),r=l(a(14091)),o=l(a(81186)),c=u.default.bind(o.default);t.default=function(){return n.default.createElement("div",{role:"tablist",className:c("content-wrapper")},n.default.createElement(r.default,{label:"Custom Display",id:"customDisplay",customDisplay:n.default.createElement("div",{id:"customDisplayContent"},n.default.createElement("span",{className:c("custom-display-content")},"Custom Display"),n.default.createElement(s.default,null))}))}},81186:function(e,t,a){a.r(t),t.default={"content-wrapper":"TabPane-test-module__content-wrapper___o3y1w","custom-display-content":"TabPane-test-module__custom-display-content___KPU3P"}}}]); \ No newline at end of file diff --git a/pull/1911/20039-de731a94f0d502d8c6be.css b/pull/1911/20039-de731a94f0d502d8c6be.css new file mode 100644 index 00000000000..43e9c9a36c4 --- /dev/null +++ b/pull/1911/20039-de731a94f0d502d8c6be.css @@ -0,0 +1,2 @@ +.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)} +[dir] .DateInput-test-module__content-wrapper___dgGlU{margin:10px} diff --git a/pull/1911/20039-de731a94f0d502d8c6be.js b/pull/1911/20039-de731a94f0d502d8c6be.js new file mode 100644 index 00000000000..c9853fff103 --- /dev/null +++ b/pull/1911/20039-de731a94f0d502d8c6be.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[20039],{38997:function(e,t,r){var n=r(64836),o=r(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=n(r(27424)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=u?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(n,a,l):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(67294)),l=n(r(91986)),i=n(r(47166)),f=n(r(29405));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}var p=i.default.bind(f.default);t.default=function(){var e=(0,a.useState)(""),t=(0,u.default)(e,2),r=t[0],n=t[1];return a.default.createElement("div",{className:p("content-wrapper")},a.default.createElement(l.default,{id:"dateInput",name:"date-input",value:r,onChange:function(e,t){return n(t)}}),a.default.createElement("p",null,"DateInput Value: ".concat(r)))}},68586:function(e,t,r){r.r(t),t.default={"clinical-lowlight-theme":"Input-module__clinical-lowlight-theme___clY96","orion-fusion-theme":"Input-module__orion-fusion-theme___phvH5","form-input":"Input-module__form-input___Fk8kb","form-error":"Input-module__form-error___aU4hq","form-incomplete":"Input-module__form-incomplete___h4I7H"}},29405:function(e,t,r){r.r(t),t.default={"content-wrapper":"DateInput-test-module__content-wrapper___dgGlU"}},55142:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=p(r(67294)),u=p(r(45697)),a=p(r(94184)),l=p(r(47166)),i=p(r(47341)),f=p(r(68586)),c=["defaultValue","disabled","isIncomplete","isInvalid","onBlur","onChange","onFocus","onInput","name","pattern","refCallback","required","type","ariaLabel","value"];function p(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e,t){for(var r=0;r {\n const [isOpen, setIsOpen] = useState(false);\n\n const handleCloseModal = () => {\n setIsOpen(false);\n };\n\n const handleOpenModal = () => {\n setIsOpen(true);\n };\n\n return (\n <>\n {isOpen && (\n \n )}\n \n \n
\n

\n This is the main content area of the slide panel.\n The overall height of the SlidePanel is determined by\n the intrinsic height of the content in this container.\n

\n

\n {'Focus is moved to the toggle button in the panel container when the panel is opened via the componentDidUpdate lifecycle hook in '}\n the example code\n .\n

\n
    \n
  • Item 1
  • \n
  • Item 2
  • \n
  • Item 3
  • \n
  • Item 4
  • \n
  • Item 5
  • \n
  • Item 6
  • \n
  • Item 7
  • \n
  • Item 8
  • \n
\n
\n
\n);\n\nconst panelContentForSlidePanel = (togglePanelHandler, toggleFullscreenHandler) => (\n
\n
\n

Panel Content

\n \n \n
\n
\n

This is the panel content area of the slide panel.

\n

\n {'Focus is moved to the toggle button in the main container when the panel is closed via the componentDidUpdate lifecycle hook in '}\n the example code\n .\n

\n
    \n
  • Item 1
  • \n
  • Item 2
  • \n
  • Item 3
  • \n
  • Item 4
  • \n
  • Item 5
  • \n
  • Item 6
  • \n
  • Item 7
  • \n
  • Item 8
  • \n
  • Item 9
  • \n
  • Item 10
  • \n
  • Item 11
  • \n
  • Item 12
  • \n
  • Item 13
  • \n
  • Item 14
  • \n
  • Item 15
  • \n
\n
\n
\n);\n\nclass DefaultSlidePanel extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n panelIsOpen: props.isOpen || false,\n panelIsFullscreen: props.isFullscreen || false,\n };\n\n this.handlePanelToggle = this.handlePanelToggle.bind(this);\n this.handleFullscreenToggle = this.handleFullscreenToggle.bind(this);\n }\n\n handlePanelToggle() {\n this.setState(prevState => ({\n panelIsOpen: !prevState.panelIsOpen,\n panelIsFullscreen: prevState.panelIsOpen,\n }));\n }\n\n handleFullscreenToggle() {\n const newState = this.state;\n\n newState.panelIsFullscreen = !this.state.panelIsFullscreen;\n\n this.setState(newState);\n }\n\n render() {\n return (\n
\n
\n \n
\n
\n );\n }\n}\n\nDefaultSlidePanel.propTypes = {\n panelBehavior: PropTypes.oneOf(['overlay', 'squish']),\n panelPosition: PropTypes.oneOf(['start', 'end']),\n panelSize: PropTypes.oneOf(['small', 'large']),\n isFullscreen: PropTypes.bool,\n isOpen: PropTypes.bool,\n fill: PropTypes.bool,\n};\n\nexport default DefaultSlidePanel;\n\n")))}P.isMDXComponent=!0;var h=t(49271),v=["components"],y={};function g(e){var n=e.components,t=(0,a.Z)(e,v);return(0,r.mdx)("wrapper",(0,l.Z)({},y,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .header-content {\n background-color: #d3d3d3;\n }\n\n .header-content h3 {\n display: inline-block;\n margin: 0;\n padding: 5px;\n }\n\n .content-wrapper {\n margin: 5px;\n }\n \n .custom-button {\n display: inline-block;\n }\n\n .container {\n padding: 5px;\n }\n\n .container-attributes {\n border: 1px #d3d3d3 solid; \n }\n}\n\n")))}g.isMDXComponent=!0;var S=function(e){var n=e.title,t=e.description,l=e.isExpanded;return i.createElement(h.Z,{title:n||"Default Slide Panel",description:t,example:i.createElement(c.Z,null),exampleCssSrc:i.createElement(g,null),exampleSrc:i.createElement(P,null),isExpanded:l})},_=t(72297),b=["components"],E={};function C(e){var n=e.components,t=(0,a.Z)(e,b);return(0,r.mdx)("wrapper",(0,l.Z)({},E,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport SlidePanel, { SlidePanelPositions } from 'terra-slide-panel';\nimport SlidePanelMainContent from './common/SlidePanelMainContent';\nimport SlidePanelPanelContent from './common/SlidePanelPanelContent';\n\nconst SlidePanelOverlay = () => (\n }\n panelContent={}\n panelBehavior=\"overlay\"\n panelPosition={SlidePanelPositions.END}\n panelSize=\"small\"\n isOpen\n />\n);\n\nexport default SlidePanelOverlay;\n\n")))}C.isMDXComponent=!0;var N=function(e){var n=e.title,t=e.description,l=e.isExpanded;return i.createElement(h.Z,{title:n||"Slide Panel Overlay Test",description:t,example:i.createElement(_.default,null),exampleSrc:i.createElement(C,null),isExpanded:l})},T=t(43680),O=["components"],w={};function D(e){var n=e.components,t=(0,a.Z)(e,O);return(0,r.mdx)("wrapper",(0,l.Z)({},w,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport SlidePanel, { SlidePanelPositions } from 'terra-slide-panel';\nimport SlidePanelMainContent from './common/SlidePanelMainContent';\nimport SlidePanelPanelContent from './common/SlidePanelPanelContent';\n\nconst SlidePanelSquish = () => (\n }\n panelContent={}\n panelBehavior=\"squish\"\n panelPosition={SlidePanelPositions.END}\n panelSize=\"small\"\n isOpen\n />\n);\n\nexport default SlidePanelSquish;\n\n")))}D.isMDXComponent=!0;var M=function(e){var n=e.title,t=e.description,l=e.isExpanded;return i.createElement(h.Z,{title:n||"Slide Panel Squish Test",description:t,example:i.createElement(T.default,null),exampleSrc:i.createElement(D,null),isExpanded:l})},I=t(58530),j=["components"],k={};function R(e){var n=e.components,t=(0,a.Z)(e,j);return(0,r.mdx)("wrapper",(0,l.Z)({},k,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport SlidePanel, { SlidePanelPositions } from 'terra-slide-panel';\nimport SlidePanelMainContent from './common/SlidePanelMainContent';\nimport SlidePanelPanelContent from './common/SlidePanelPanelContent';\n\nconst SlidePanelStart = () => (\n }\n panelContent={}\n panelBehavior=\"overlay\"\n panelPosition={SlidePanelPositions.START}\n panelSize=\"small\"\n isOpen\n />\n);\n\nexport default SlidePanelStart;\n\n")))}R.isMDXComponent=!0;var F=function(e){var n=e.title,t=e.description,l=e.isExpanded;return i.createElement(h.Z,{title:n||"Slide Panel Start Test",description:t,example:i.createElement(I.default,null),exampleSrc:i.createElement(R,null),isExpanded:l})},B=t(45817),W=["components"],Z={};function q(e){var n=e.components,t=(0,a.Z)(e,W);return(0,r.mdx)("wrapper",(0,l.Z)({},Z,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport SlidePanel, { SlidePanelPositions } from 'terra-slide-panel';\nimport SlidePanelMainContent from './common/SlidePanelMainContent';\nimport SlidePanelPanelContent from './common/SlidePanelPanelContent';\n\nconst SlidePanelEnd = () => (\n }\n panelContent={}\n panelBehavior=\"overlay\"\n panelPosition={SlidePanelPositions.END}\n panelSize=\"small\"\n isOpen\n />\n);\n\nexport default SlidePanelEnd;\n\n")))}q.isMDXComponent=!0;var z=function(e){var n=e.title,t=e.description,l=e.isExpanded;return i.createElement(h.Z,{title:n||"Slide Panel End Test",description:t,example:i.createElement(B.default,null),exampleSrc:i.createElement(q,null),isExpanded:l})},L=t(15423),X=["components"],A={};function V(e){var n=e.components,t=(0,a.Z)(e,X);return(0,r.mdx)("wrapper",(0,l.Z)({},A,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport SlidePanel, { SlidePanelPositions } from 'terra-slide-panel';\nimport SlidePanelMainContent from './common/SlidePanelMainContent';\nimport SlidePanelPanelContent from './common/SlidePanelPanelContent';\n\nconst SlidePanelSmall = () => (\n }\n panelContent={}\n panelBehavior=\"overlay\"\n panelPosition={SlidePanelPositions.END}\n panelSize=\"small\"\n isOpen\n />\n);\n\nexport default SlidePanelSmall;\n\n")))}V.isMDXComponent=!0;var U=function(e){var n=e.title,t=e.description,l=e.isExpanded;return i.createElement(h.Z,{title:n||"Slide Panel Small Test",description:t,example:i.createElement(L.default,null),exampleSrc:i.createElement(V,null),isExpanded:l})},K=t(91342),H=["components"],G={};function Y(e){var n=e.components,t=(0,a.Z)(e,H);return(0,r.mdx)("wrapper",(0,l.Z)({},G,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport SlidePanel, { SlidePanelPositions } from 'terra-slide-panel';\nimport SlidePanelMainContent from './common/SlidePanelMainContent';\nimport SlidePanelPanelContent from './common/SlidePanelPanelContent';\n\nconst SlidePanelLarge = () => (\n }\n panelContent={}\n panelBehavior=\"overlay\"\n panelPosition={SlidePanelPositions.END}\n panelSize=\"large\"\n isOpen\n />\n);\n\nexport default SlidePanelLarge;\n\n")))}Y.isMDXComponent=!0;var J=function(e){var n=e.title,t=e.description,l=e.isExpanded;return i.createElement(h.Z,{title:n||"Slide Panel Large Test",description:t,example:i.createElement(K.default,null),exampleSrc:i.createElement(Y,null),isExpanded:l})},Q=t(85638),$=["components"],ee={};function ne(e){var n=e.components,t=(0,a.Z)(e,$);return(0,r.mdx)("wrapper",(0,l.Z)({},ee,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport SlidePanel, { SlidePanelPositions } from 'terra-slide-panel';\nimport SlidePanelMainContent from './common/SlidePanelMainContent';\nimport SlidePanelPanelContent from './common/SlidePanelPanelContent';\n\nconst SlidePanelFullscreen = () => (\n }\n panelContent={}\n panelBehavior=\"overlay\"\n panelPosition={SlidePanelPositions.END}\n panelSize=\"small\"\n isOpen\n isFullscreen\n />\n);\n\nexport default SlidePanelFullscreen;\n\n")))}ne.isMDXComponent=!0;var te=function(e){var n=e.title,t=e.description,l=e.isExpanded;return i.createElement(h.Z,{title:n||"Slide Panel Fullscreen Test",description:t,example:i.createElement(Q.default,null),exampleSrc:i.createElement(ne,null),isExpanded:l})},le=t(32962),ae=["components"],ie={};function re(e){var n=e.components,t=(0,a.Z)(e,ae);return(0,r.mdx)("wrapper",(0,l.Z)({},ie,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport classNames from 'classnames/bind';\nimport SlidePanel, { SlidePanelPositions } from 'terra-slide-panel';\nimport SlidePanelMainContent from './common/SlidePanelMainContent';\nimport SlidePanelPanelContent from './common/SlidePanelPanelContent';\nimport styles from './SlidePanelDocCommon.test.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst SlidePanelFill = () => (\n
\n }\n panelContent={}\n panelBehavior=\"squish\"\n panelPosition={SlidePanelPositions.END}\n panelSize=\"small\"\n isOpen\n fill\n />\n
\n);\n\nexport default SlidePanelFill;\n\n")))}re.isMDXComponent=!0;var oe=["components"],de={};function ue(e){var n=e.components,t=(0,a.Z)(e,oe);return(0,r.mdx)("wrapper",(0,l.Z)({},de,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .content-wrapper {\n height: 200px;\n overflow: auto;\n }\n\n .content-wrapper-large {\n height: 100vh;\n }\n\n .main-content {\n background-color: #f04769;\n height: 100%;\n width: 100%;\n }\n\n .panel-content {\n background-color: #00f;\n height: 100%;\n width: 100%;\n }\n\n .content-wrapper-toggle {\n border: 1px #d3d3d3 solid;\n height: 768px;\n position: relative;\n width: 100%;\n }\n\n .button {\n background-color: #008a00;\n }\n\n .circle-svg {\n overflow: visible;\n\n :hover {\n cursor: pointer;\n }\n }\n\n .p-clickable:hover {\n cursor: pointer;\n }\n}\n\n")))}ue.isMDXComponent=!0;var se=function(e){var n=e.title,t=e.description,l=e.isExpanded;return i.createElement(h.Z,{title:n||"Slide Panel Fill Test",description:t,example:i.createElement(le.default,null),exampleCssSrc:i.createElement(ue,null),exampleSrc:i.createElement(re,null),isExpanded:l})},me=t(32517),pe=["components"],ce={};function fe(e){var n=e.components,t=(0,a.Z)(e,pe);return(0,r.mdx)("wrapper",(0,l.Z)({},ce,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport classNames from 'classnames/bind';\nimport SlidePanel, { SlidePanelPositions } from 'terra-slide-panel';\nimport SlidePanelMainContent from './common/SlidePanelMainContent';\nimport SlidePanelPanelContent from './common/SlidePanelPanelContent';\nimport styles from './SlidePanelDocCommon.test.module.scss';\n\nconst cx = classNames.bind(styles);\n\nconst SlidePanelNoFill = () => (\n
\n }\n panelContent={}\n panelBehavior=\"squish\"\n panelPosition={SlidePanelPositions.END}\n panelSize=\"small\"\n isOpen\n />\n
\n);\n\nexport default SlidePanelNoFill;\n\n")))}fe.isMDXComponent=!0;var xe=function(e){var n=e.title,t=e.description,l=e.isExpanded;return i.createElement(h.Z,{title:n||"Slide Panel No Fill Test",description:t,example:i.createElement(me.default,null),exampleCssSrc:i.createElement(ue,null),exampleSrc:i.createElement(fe,null),isExpanded:l})},Pe=["components"],he={},ve="wrapper";function ye(e){var n=e.components,t=(0,a.Z)(e,Pe);return(0,r.mdx)(ve,(0,l.Z)({},he,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)(o.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-slide-panel"},"Terra Slide Panel"),(0,r.mdx)("p",null,"The Terra SlidePanel component is a progressive disclosure mechanism that allows additional content to be shown and hidden in a variety of ways."),(0,r.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Install with ",(0,r.mdx)("a",{parentName:"li",href:"https://www.npmjs.com/"},"npmjs"),":",(0,r.mdx)("ul",{parentName:"li"},(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"npm install terra-slide-panel"))))),(0,r.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,r.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,r.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")))),(0,r.mdx)("h2",{id:"usage"},"Usage"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import SlidePanel from 'terra-slide-panel';\n")),(0,r.mdx)("h2",{id:"component-features"},"Component Features"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support"))),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(S,{title:"SlidePanel - Controlled Demo",mdxType:"DefaultSlidePanel"}),(0,r.mdx)(N,{title:"SlidePanel - Behavior - Overlay",mdxType:"SlidePanelOverlay"}),(0,r.mdx)(M,{title:"SlidePanel - Behavior - Squish",mdxType:"SlidePanelSquish"}),(0,r.mdx)(F,{title:"SlidePanel - Position - Start",mdxType:"SlidePanelStart"}),(0,r.mdx)(z,{title:"SlidePanel - Position - End",mdxType:"SlidePanelEnd"}),(0,r.mdx)(U,{title:"SlidePanel - Size - Small",mdxType:"SlidePanelSmall"}),(0,r.mdx)(J,{title:"SlidePanel - Size - Large",mdxType:"SlidePanelLarge"}),(0,r.mdx)(te,{title:"SlidePanel - Fullscreen",mdxType:"SlidePanelFullscreen"}),(0,r.mdx)(se,{title:"SlidePanel - Fill",mdxType:"SlidePanelFill"}),(0,r.mdx)(xe,{title:"SlidePanel - Fill Off",mdxType:"SlidePanelNoFill"}),(0,r.mdx)("h2",{id:"slide-panel-props-table"},"Slide Panel Props Table"),(0,r.mdx)(p,{mdxType:"SlidePanelPropsTable"}),(0,r.mdx)("h2",{id:"testing"},"Testing"),(0,r.mdx)("p",null,"Terra Slide Panel uses ",(0,r.mdx)("inlineCode",{parentName:"p"},"uuid")," to dynamically generate the component's description id. To mock the return value with the Jest testing library, ",(0,r.mdx)("inlineCode",{parentName:"p"},"jest.spyOn")," can be used."),(0,r.mdx)("p",null,"If Enzyme ",(0,r.mdx)("inlineCode",{parentName:"p"},"shallow")," rendering is being used for the tests then the mock may not be required. But if the tests use ",(0,r.mdx)("inlineCode",{parentName:"p"},"mount"),", then the teams must use the mock as given below."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-js"},"import { v4 as uuidv4 } from 'uuid';\n\nlet mockSpyUuid;\n\n// using a variable may result in failures. For best results, mock return value.\nbeforeAll(() => {\n mockSpyUuid = jest.spyOn(uuidv4, 'v4').mockReturnValue('00000000-0000-0000-0000-000000000000');\n});\n\n// restore the mock\nafterAll(() => {\n mockSpyUuid.mockRestore();\n});\n\n")))}ye.isMDXComponent=!0},63865:function(e,n,t){t.d(n,{C:function(){return i}});var l=t(67294),a=t(22863),i=function(e){var n=e.url;return l.createElement(a.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-slide-panel",name:"terra-slide-panel",version:"3.46.0",url:n})}},5951:function(e,n,t){var l=t(64836);n.Z=void 0;var a=l(t(56690)),i=l(t(89728)),r=l(t(66115)),o=l(t(61655)),d=l(t(94993)),u=l(t(73808)),s=l(t(67294)),m=l(t(45697)),p=l(t(27662)),c=l(t(47166)),f=l(t(49546));function x(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,l=(0,u.default)(e);if(n){var a=(0,u.default)(this).constructor;t=Reflect.construct(l,arguments,a)}else t=l.apply(this,arguments);return(0,d.default)(this,t)}}var P=c.default.bind(f.default),h=function(e,n){return s.default.createElement("div",null,s.default.createElement("header",{className:P("header-content")},s.default.createElement("h3",{className:P("heading")},"Panel Content"),s.default.createElement("button",{id:"panelToggleBtn",type:"button",onClick:e,className:P("extension-button")},"Panel Toggle Panel"),s.default.createElement("button",{type:"button",onClick:n,className:P("extension-button")},"Toggle Fullscreen")),s.default.createElement("div",{className:P("content-wrapper")},s.default.createElement("p",null,"This is the panel content area of the slide panel."),s.default.createElement("p",null,"Focus is moved to the toggle button in the main container when the panel is closed via the componentDidUpdate lifecycle hook in ",s.default.createElement("a",{href:"https://github.com/cerner/terra-framework/blob/main/packages/terra-slide-panel/src/terra-dev-site/doc/example/DefaultSlidePanel.jsx"},"the example code"),"."),s.default.createElement("ul",null,s.default.createElement("li",null,"Item 1"),s.default.createElement("li",null,"Item 2"),s.default.createElement("li",null,"Item 3"),s.default.createElement("li",null,"Item 4"),s.default.createElement("li",null,"Item 5"),s.default.createElement("li",null,"Item 6"),s.default.createElement("li",null,"Item 7"),s.default.createElement("li",null,"Item 8"),s.default.createElement("li",null,"Item 9"),s.default.createElement("li",null,"Item 10"),s.default.createElement("li",null,"Item 11"),s.default.createElement("li",null,"Item 12"),s.default.createElement("li",null,"Item 13"),s.default.createElement("li",null,"Item 14"),s.default.createElement("li",null,"Item 15"))))},v=function(e){(0,o.default)(t,e);var n=x(t);function t(e){var l;return(0,a.default)(this,t),(l=n.call(this,e)).state={panelIsOpen:e.isOpen||!1,panelIsFullscreen:e.isFullscreen||!1},l.handlePanelToggle=l.handlePanelToggle.bind((0,r.default)(l)),l.handleFullscreenToggle=l.handleFullscreenToggle.bind((0,r.default)(l)),l}return(0,i.default)(t,[{key:"handlePanelToggle",value:function(){this.setState((function(e){return{panelIsOpen:!e.panelIsOpen,panelIsFullscreen:e.panelIsOpen}}))}},{key:"handleFullscreenToggle",value:function(){var e=this.state;e.panelIsFullscreen=!this.state.panelIsFullscreen,this.setState(e)}},{key:"render",value:function(){return s.default.createElement("div",{className:P("container")},s.default.createElement("div",{className:P("container-attributes")},s.default.createElement(p.default,{mainContent:(e=this.handlePanelToggle,s.default.createElement("div",null,s.default.createElement("header",{className:P("header-content")},s.default.createElement("h3",null,"Main Content"),s.default.createElement("button",{id:"mainToggleBtn",type:"button",onClick:e,className:P("custom-button")},"Main Toggle Panel")),s.default.createElement("div",{className:P("content-wrapper")},s.default.createElement("p",null,"This is the main content area of the slide panel. The overall height of the SlidePanel is determined by the intrinsic height of the content in this container."),s.default.createElement("p",null,"Focus is moved to the toggle button in the panel container when the panel is opened via the componentDidUpdate lifecycle hook in ",s.default.createElement("a",{href:"https://github.com/cerner/terra-framework/blob/main/packages/terra-slide-panel/src/terra-dev-site/doc/example/DefaultSlidePanel.jsx"},"the example code"),"."),s.default.createElement("ul",null,s.default.createElement("li",null,"Item 1"),s.default.createElement("li",null,"Item 2"),s.default.createElement("li",null,"Item 3"),s.default.createElement("li",null,"Item 4"),s.default.createElement("li",null,"Item 5"),s.default.createElement("li",null,"Item 6"),s.default.createElement("li",null,"Item 7"),s.default.createElement("li",null,"Item 8"))))),panelContent:h(this.handlePanelToggle,this.handleFullscreenToggle),panelSize:this.props.panelSize,panelBehavior:this.props.panelBehavior,panelPosition:this.props.panelPosition,isOpen:this.state.panelIsOpen,isFullscreen:this.state.panelIsFullscreen,fill:this.props.fill})));var e}}]),t}(s.default.Component);v.propTypes={panelBehavior:m.default.oneOf(["overlay","squish"]),panelPosition:m.default.oneOf(["start","end"]),panelSize:m.default.oneOf(["small","large"]),isFullscreen:m.default.bool,isOpen:m.default.bool,fill:m.default.bool};n.Z=v},45817:function(e,n,t){var l=t(64836),a=t(18698);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=l(t(67294)),r=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var t=u(n);if(t&&t.has(e))return t.get(e);var l={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(t(27662)),o=l(t(22199)),d=l(t(46868));function u(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(u=function(e){return e?t:n})(e)}n.default=function(){return i.default.createElement(r.default,{mainContent:i.default.createElement(o.default,null),panelContent:i.default.createElement(d.default,null),panelBehavior:"overlay",panelPosition:r.SlidePanelPositions.END,panelSize:"small",isOpen:!0})}},32962:function(e,n,t){var l=t(64836),a=t(18698);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=l(t(67294)),r=l(t(47166)),o=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var t=m(n);if(t&&t.has(e))return t.get(e);var l={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(t(27662)),d=l(t(22199)),u=l(t(46868)),s=l(t(69967));function m(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(m=function(e){return e?t:n})(e)}var p=r.default.bind(s.default);n.default=function(){return i.default.createElement("div",{className:p("content-wrapper")},i.default.createElement(o.default,{mainContent:i.default.createElement(d.default,null),panelContent:i.default.createElement(u.default,null),panelBehavior:"squish",panelPosition:o.SlidePanelPositions.END,panelSize:"small",isOpen:!0,fill:!0}))}},85638:function(e,n,t){var l=t(64836),a=t(18698);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=l(t(67294)),r=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var t=u(n);if(t&&t.has(e))return t.get(e);var l={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(t(27662)),o=l(t(22199)),d=l(t(46868));function u(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(u=function(e){return e?t:n})(e)}n.default=function(){return i.default.createElement(r.default,{mainContent:i.default.createElement(o.default,null),panelContent:i.default.createElement(d.default,null),panelBehavior:"overlay",panelPosition:r.SlidePanelPositions.END,panelSize:"small",isOpen:!0,isFullscreen:!0})}},91342:function(e,n,t){var l=t(64836),a=t(18698);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=l(t(67294)),r=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var t=u(n);if(t&&t.has(e))return t.get(e);var l={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(t(27662)),o=l(t(22199)),d=l(t(46868));function u(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(u=function(e){return e?t:n})(e)}n.default=function(){return i.default.createElement(r.default,{mainContent:i.default.createElement(o.default,null),panelContent:i.default.createElement(d.default,null),panelBehavior:"overlay",panelPosition:r.SlidePanelPositions.END,panelSize:"large",isOpen:!0})}},32517:function(e,n,t){var l=t(64836),a=t(18698);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=l(t(67294)),r=l(t(47166)),o=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var t=m(n);if(t&&t.has(e))return t.get(e);var l={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(t(27662)),d=l(t(22199)),u=l(t(46868)),s=l(t(69967));function m(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(m=function(e){return e?t:n})(e)}var p=r.default.bind(s.default);n.default=function(){return i.default.createElement("div",{className:p("content-wrapper")},i.default.createElement(o.default,{mainContent:i.default.createElement(d.default,null),panelContent:i.default.createElement(u.default,null),panelBehavior:"squish",panelPosition:o.SlidePanelPositions.END,panelSize:"small",isOpen:!0}))}},72297:function(e,n,t){var l=t(64836),a=t(18698);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=l(t(67294)),r=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var t=u(n);if(t&&t.has(e))return t.get(e);var l={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(t(27662)),o=l(t(22199)),d=l(t(46868));function u(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(u=function(e){return e?t:n})(e)}n.default=function(){return i.default.createElement(r.default,{mainContent:i.default.createElement(o.default,null),panelContent:i.default.createElement(d.default,null),panelBehavior:"overlay",panelPosition:r.SlidePanelPositions.END,panelSize:"small",isOpen:!0})}},15423:function(e,n,t){var l=t(64836),a=t(18698);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=l(t(67294)),r=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var t=u(n);if(t&&t.has(e))return t.get(e);var l={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(t(27662)),o=l(t(22199)),d=l(t(46868));function u(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(u=function(e){return e?t:n})(e)}n.default=function(){return i.default.createElement(r.default,{mainContent:i.default.createElement(o.default,null),panelContent:i.default.createElement(d.default,null),panelBehavior:"overlay",panelPosition:r.SlidePanelPositions.END,panelSize:"small",isOpen:!0})}},43680:function(e,n,t){var l=t(64836),a=t(18698);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=l(t(67294)),r=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var t=u(n);if(t&&t.has(e))return t.get(e);var l={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(t(27662)),o=l(t(22199)),d=l(t(46868));function u(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(u=function(e){return e?t:n})(e)}n.default=function(){return i.default.createElement(r.default,{mainContent:i.default.createElement(o.default,null),panelContent:i.default.createElement(d.default,null),panelBehavior:"squish",panelPosition:r.SlidePanelPositions.END,panelSize:"small",isOpen:!0})}},58530:function(e,n,t){var l=t(64836),a=t(18698);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=l(t(67294)),r=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=a(e)&&"function"!=typeof e)return{default:e};var t=u(n);if(t&&t.has(e))return t.get(e);var l={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(l,r,o):l[r]=e[r]}return l.default=e,t&&t.set(e,l),l}(t(27662)),o=l(t(22199)),d=l(t(46868));function u(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(u=function(e){return e?t:n})(e)}n.default=function(){return i.default.createElement(r.default,{mainContent:i.default.createElement(o.default,null),panelContent:i.default.createElement(d.default,null),panelBehavior:"overlay",panelPosition:r.SlidePanelPositions.START,panelSize:"small",isOpen:!0})}},22199:function(e,n,t){var l=t(64836);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(t(67294));n.default=function(){return a.default.createElement("div",null,a.default.createElement("h3",null,"Main Content"),a.default.createElement("p",null,"Lorem ipsum dolor sit amet, mea te odio ludus adipiscing. Cu oporteat temporibus nam, aperiam adipisci mel et, mei no oportere salutatus. Iudico lucilius ei pri. Eleifend philosophia et ius."),a.default.createElement("p",null,"Id elit congue copiosae eam, elitr laboramus mediocritatem nam in, decore propriae et usu. An vix insolens dignissim, novum gloriatur delicatissimi mei ne, ne ancillae tincidunt nec. Iusto expetenda scriptorem mei cu, ne per prima nihil utinam. Cibo ocurreret no nam, nec euismod vivendum te."),a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3"),a.default.createElement("li",null,"Item 4"),a.default.createElement("li",null,"Item 5"),a.default.createElement("li",null,"Item 6"),a.default.createElement("li",null,"Item 7"),a.default.createElement("li",null,"Item 8"),a.default.createElement("li",null,"Item 9"),a.default.createElement("li",null,"Item 10"),a.default.createElement("li",null,"Item 11"),a.default.createElement("li",null,"Item 12"),a.default.createElement("li",null,"Item 13"),a.default.createElement("li",null,"Item 14"),a.default.createElement("li",null,"Item 15")))}},46868:function(e,n,t){var l=t(64836);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=l(t(67294));n.default=function(){return a.default.createElement("div",null,a.default.createElement("h3",null,"Panel Content"),a.default.createElement("p",null,"Lorem ipsum dolor sit amet, mea te odio ludus adipiscing. Cu oporteat temporibus nam, aperiam adipisci mel et, mei no oportere salutatus. Iudico lucilius ei pri. Eleifend philosophia et ius."),a.default.createElement("p",null,"Id elit congue copiosae eam, elitr laboramus mediocritatem nam in, decore propriae et usu. An vix insolens dignissim, novum gloriatur delicatissimi mei ne, ne ancillae tincidunt nec. Iusto expetenda scriptorem mei cu, ne per prima nihil utinam. Cibo ocurreret no nam, nec euismod vivendum te."),a.default.createElement("ul",null,a.default.createElement("li",null,"Item 1"),a.default.createElement("li",null,"Item 2"),a.default.createElement("li",null,"Item 3"),a.default.createElement("li",null,"Item 4"),a.default.createElement("li",null,"Item 5"),a.default.createElement("li",null,"Item 6"),a.default.createElement("li",null,"Item 7"),a.default.createElement("li",null,"Item 8"),a.default.createElement("li",null,"Item 9"),a.default.createElement("li",null,"Item 10"),a.default.createElement("li",null,"Item 11"),a.default.createElement("li",null,"Item 12"),a.default.createElement("li",null,"Item 13"),a.default.createElement("li",null,"Item 14"),a.default.createElement("li",null,"Item 15")))}},27662:function(e,n,t){var l=t(64836);Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.SlidePanelPositions=void 0;var a=l(t(10434)),i=l(t(70215)),r=l(t(56690)),o=l(t(89728)),d=l(t(66115)),u=l(t(61655)),s=l(t(94993)),m=l(t(73808)),p=l(t(67294)),c=l(t(45697)),f=l(t(94184)),x=l(t(47166)),P=l(t(47341)),h=l(t(29270)),v=t(25387),y=t(55877),g=l(t(1034)),S=["intl","isFullscreen","isOpen","fill","mainAriaLabel","mainContent","panelAriaLabel","panelContent","panelBehavior","panelPosition","panelSize","setSlidePanelRef"];function _(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,l=(0,m.default)(e);if(n){var a=(0,m.default)(this).constructor;t=Reflect.construct(l,arguments,a)}else t=l.apply(this,arguments);return(0,s.default)(this,t)}}var b=x.default.bind(g.default),E=n.SlidePanelPositions={START:"start",END:"end"},C={panelAriaLabel:c.default.string,mainAriaLabel:c.default.string,mainContent:c.default.node,panelContent:c.default.node,panelBehavior:c.default.oneOf(["overlay","squish"]),panelPosition:c.default.oneOf(["start","end"]),panelSize:c.default.oneOf(["small","large"]),isFullscreen:c.default.bool,isOpen:c.default.bool,fill:c.default.bool,setSlidePanelRef:c.default.func,intl:c.default.shape({formatMessage:c.default.func,locale:c.default.string})},N={panelBehavior:"overlay",panelPosition:E.END,panelSize:"small"},T=function(e){(0,u.default)(t,e);var n=_(t);function t(e){var l;return(0,r.default)(this,t),(l=n.call(this,e)).setPanelNode=l.setPanelNode.bind((0,d.default)(l)),l.mainNode=p.default.createRef(),l.setLastClicked=l.setLastClicked.bind((0,d.default)(l)),l.setDisclosingNode=l.setDisclosingNode.bind((0,d.default)(l)),l.mainAriaDescribedByID="detail-panel-warning-".concat((0,y.v4)()),l}return(0,o.default)(t,[{key:"componentDidUpdate",value:function(e){if(this.props.isOpen&&this.props.isOpen!==e.isOpen)return this.setDisclosingNode(this.lastClicked),void this.panelNode.focus();if(!this.props.isOpen&&this.props.isOpen!==e.isOpen){var n;if(null!==(n=this.disclosingNode)&&void 0!==n&&n.focus)return this.disclosingNode.setAttribute("aria-expanded","false"),void this.disclosingNode.focus();this.mainNode.current.focus()}}},{key:"setPanelNode",value:function(e){this.props.setSlidePanelRef&&this.props.setSlidePanelRef(e),this.panelNode=e}},{key:"setLastClicked",value:function(e){this.lastClicked=e.target}},{key:"setDisclosingNode",value:function(e){e&&(e.setAttribute("aria-expanded","true"),this.disclosingNode=e)}},{key:"render",value:function(){var e=this.props,n=e.intl,t=e.isFullscreen,l=e.isOpen,r=e.fill,o=e.mainAriaLabel,d=e.mainContent,u=e.panelAriaLabel,s=e.panelContent,m=e.panelBehavior,c=e.panelPosition,x=e.panelSize,P=(e.setSlidePanelRef,(0,i.default)(e,S)),v=this.context,y=(0,f.default)(b("slide-panel",{"is-open":l},{"is-fullscreen":t},{fill:r},v.className),P.className),g=p.default.createElement("div",{className:b(["panel"]),key:"panel",tabIndex:"-1","aria-label":u||n.formatMessage({id:"Terra.slidePanel.defaultPanelLabel"}),"aria-hidden":l?"false":"true",role:"region",ref:this.setPanelNode},p.default.createElement(h.default,{text:u||n.formatMessage({id:"Terra.slidePanel.defaultPanelLabel"})}),s),_=p.default.createElement("div",{className:b("main"),key:"main",tabIndex:"-1","aria-label":o,"aria-describedby":this.mainAriaDescribedByID,"aria-hidden":l&&t?"true":"false",ref:this.mainNode,role:"main",onClick:this.setLastClicked,onKeyUp:this.setLastClicked},p.default.createElement(h.default,{tabIndex:"-1",id:this.mainAriaDescribedByID,text:n.formatMessage({id:"Terra.slidePanel.discloseWarning"})}),d),C=c===E.START?p.default.createElement(p.default.Fragment,null,g,_):p.default.createElement(p.default.Fragment,null,_,g);return p.default.createElement("div",(0,a.default)({},P,{className:y,"data-slide-panel-panel-behavior":m,"data-slide-panel-panel-position":c,"data-slide-panel-panel-size":x}),C)}}]),t}(p.default.Component);T.propTypes=C,T.defaultProps=N,T.contextType=P.default;n.default=(0,v.injectIntl)(T)},17422:function(e,n,t){t.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"}},53560:function(e,n,t){t.r(n),n.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"}},49546:function(e,n,t){t.r(n),n.default={"header-content":"DefaultSlidePanel-module__header-content___XND5F","content-wrapper":"DefaultSlidePanel-module__content-wrapper___DVbNM","custom-button":"DefaultSlidePanel-module__custom-button___oci5i",container:"DefaultSlidePanel-module__container___9Nf1m","container-attributes":"DefaultSlidePanel-module__container-attributes___LCq9h"}},69967:function(e,n,t){t.r(n),n.default={"content-wrapper":"SlidePanelDocCommon-test-module__content-wrapper___+5Bqw","content-wrapper-large":"SlidePanelDocCommon-test-module__content-wrapper-large___4O5B9","main-content":"SlidePanelDocCommon-test-module__main-content___KgtfP","panel-content":"SlidePanelDocCommon-test-module__panel-content___mRK+i","content-wrapper-toggle":"SlidePanelDocCommon-test-module__content-wrapper-toggle___eOcKz",button:"SlidePanelDocCommon-test-module__button___hxSzl","circle-svg":"SlidePanelDocCommon-test-module__circle-svg___BFboR","p-clickable":"SlidePanelDocCommon-test-module__p-clickable___yicz1"}},1034:function(e,n,t){t.r(n),n.default={"clinical-lowlight-theme":"SlidePanel-module__clinical-lowlight-theme___NdNQF","orion-fusion-theme":"SlidePanel-module__orion-fusion-theme___aBPYu","slide-panel":"SlidePanel-module__slide-panel___5vKEK",main:"SlidePanel-module__main___Jq40y",panel:"SlidePanel-module__panel___N9gHx","is-open":"SlidePanel-module__is-open___SU3q3","is-fullscreen":"SlidePanel-module__is-fullscreen___0BQTN",fill:"SlidePanel-module__fill___vHC0f"}},33864:function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var l=i(t(67294)),a=i(t(99139));function i(e){return e&&e.__esModule?e:{default:e}}function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}t.AlignmentTypes={CENTER:"center",BOTTOM:"bottom",STRETCH:"stretch"};var p=o.default.bind(i.default),_={fitStart:a.default.element,fill:a.default.element.isRequired,fitEnd:a.default.element,align:a.default.oneOf(["center","bottom","stretch"]),alignFitStart:a.default.oneOf(["center","bottom","stretch"]),alignFitEnd:a.default.oneOf(["center","bottom","stretch"]),alignFill:a.default.oneOf(["center","bottom","stretch"]),fitStartAttributes:a.default.object,fillAttributes:a.default.object,fitEndAttributes:a.default.object},y=function(e){var t=e.fitStart,n=e.fill,l=e.fitEnd,a=e.align,o=e.alignFitStart,i=e.alignFill,c=e.alignFitEnd,d=e.fitStartAttributes,m=e.fillAttributes,_=e.fitEndAttributes,y=b(e,u),v=f({},d),h=f({},m),g=f({},_);return r.default.createElement("span",s({},y,{className:p("arrange",y.className)}),r.default.createElement("span",s({},v,{className:p("fit",a||o,v.className,"fit-block")}),t),r.default.createElement("span",s({},h,{className:p("fill",a||i,h.className,"fill-block")}),n),r.default.createElement("span",s({},g,{className:p("fit",a||c,g.className)}),l))};y.propTypes=_;t.default=y},15185:function(e,t,n){function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(67294)),a=f(n(45697)),o=f(n(94184)),i=f(n(47166)),u=f(n(47341)),c=f(n(12472)),s=f(n(84538)),d=["checked","defaultChecked","inputAttrs","id","disabled","isInline","isLabelHidden","labelText","labelTextAttrs","name","onBlur","onChange","onFocus","value"];function f(e){return e&&e.__esModule?e:{default:e}}function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var y=i.default.bind(c.default),v={checked:a.default.bool,defaultChecked:a.default.bool,id:a.default.string,inputAttrs:a.default.object,disabled:a.default.bool,isInline:a.default.bool,isLabelHidden:a.default.bool,labelText:a.default.string.isRequired,labelTextAttrs:a.default.object,name:a.default.string,onBlur:a.default.func,onChange:a.default.func,onFocus:a.default.func,value:a.default.string},h={checked:void 0,defaultChecked:void 0,id:void 0,inputAttrs:{},disabled:!1,isInline:!1,isLabelHidden:!1,labelTextAttrs:{},name:null,onBlur:void 0,onChange:void 0,onFocus:void 0,value:void 0},g=function(e){var t=e.checked,n=e.defaultChecked,l=e.inputAttrs,a=e.id,i=e.disabled,c=e.isInline,f=e.isLabelHidden,v=e.labelText,h=e.labelTextAttrs,g=e.name,O=e.onBlur,E=e.onChange,x=e.onFocus,j=e.value,w=_(e,d),k=r.default.useContext(u.default),S=function(e){for(var t=1;t0||navigator.msMaxTouchPoints>0)}};e.exports=t},87462:function(e,t,n){function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,{Z:function(){return l}})}}]); \ No newline at end of file diff --git a/pull/1911/21466-8b46cddcb76255167e09.css b/pull/1911/21466-8b46cddcb76255167e09.css new file mode 100644 index 00000000000..cba009f74c3 --- /dev/null +++ b/pull/1911/21466-8b46cddcb76255167e09.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/pull/1911/21466-8b46cddcb76255167e09.js b/pull/1911/21466-8b46cddcb76255167e09.js new file mode 100644 index 00000000000..0efdf456bca --- /dev/null +++ b/pull/1911/21466-8b46cddcb76255167e09.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[21466],{22863:function(e,a,d){var l=d(64836);a.Z=void 0;var m=l(d(67294)),n=l(d(45697)),r=l(d(47166)),t=l(d(17422)),u=r.default.bind(t.default),i={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,d=e.name,l=e.url,n=e.version,r=m.default.createElement("a",{className:u("badge"),href:l||"https://www.npmjs.org/package/".concat(d,"/v/").concat(n)},m.default.createElement("span",{className:u("badge-name")},l?"package":"npm"),m.default.createElement("span",{className:u("badge-version")},"v".concat(n))),t=a?m.default.createElement("a",{className:u("badge"),href:a},m.default.createElement("span",{className:u("badge-name")},"github"),m.default.createElement("span",{className:u("badge-version")},"source")):void 0;return m.default.createElement("div",{className:u("badge-container")},r,t)};p.propTypes=i;var x=p;a.Z=x},21466:function(e,a,d){d.r(a),d.d(a,{default:function(){return s}});var l=d(87462),m=d(44925),n=(d(67294),d(81254)),r=d(55087),t=["components"],u={},i="wrapper";function p(e){var a=e.components,d=(0,m.Z)(e,t);return(0,n.mdx)(i,(0,l.Z)({},u,d,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)("h1",{id:"changelog"},"Changelog"),(0,n.mdx)("h2",{id:"unreleased"},"Unreleased"),(0,n.mdx)("h2",{id:"3110---july-31-2023"},"3.11.0 - (July 31, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"3100---february-14-2023"},"3.10.0 - (February 14, 2023)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra and\nterra-functional-testing upgrade.")))),(0,n.mdx)("h2",{id:"391---march-15-2022"},"3.9.1 - (March 15, 2022)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"390---october-12-2021"},"3.9.0 - (October 12, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Migrated doc to terra-framework-docs.")))),(0,n.mdx)("h2",{id:"380---september-20-2021"},"3.8.0 - (September 20, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO screenshots due to webpack-config-terra sass upgrade."),(0,n.mdx)("li",{parentName:"ul"},"Updated WDIO snapshots due to terra-functional-testing v2 upgrade.")))),(0,n.mdx)("h2",{id:"370---june-8-2021"},"3.7.0 - (June 8, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"360---april-6-2021"},"3.6.0 - (April 6, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Jest command")))),(0,n.mdx)("h2",{id:"350---march-9-2021"},"3.5.0 - (March 9, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated to terra-functional-testing")))),(0,n.mdx)("h2",{id:"340---january-5-2021"},"3.4.0 - (January 5, 2021)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Fixed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Fixed broken links in documentation.")))),(0,n.mdx)("h2",{id:"330---november-24-2020"},"3.3.0 - (November 24, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio tests to remove deprecated Terra.it helpers")))),(0,n.mdx)("h2",{id:"320---august-18-2020"},"3.2.0 - (August 18, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added an interaction media query to apply ",(0,n.mdx)("inlineCode",{parentName:"li"},"hover")," styles only on non-touch devices."))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Changelog format")))),(0,n.mdx)("h2",{id:"310---august-4-2020"},"3.1.0 - (August 4, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated Changelog format")))),(0,n.mdx)("h2",{id:"300---july-14-2020"},"3.0.0 - (July 14, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Breaking Change"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("inlineCode",{parentName:"li"},"links")," prop has been deprecated, will resolve to ",(0,n.mdx)("inlineCode",{parentName:"li"},"sections"),"."),(0,n.mdx)("li",{parentName:"ul"},"Updated UpgradeGuide."))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"updated ",(0,n.mdx)("inlineCode",{parentName:"li"},"master")," references to ",(0,n.mdx)("inlineCode",{parentName:"li"},"main"),".")))),(0,n.mdx)("h2",{id:"2240---may-26-2020"},"2.24.0 - (May 26, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Apply themes by context and directly include packaged themes.")))),(0,n.mdx)("h2",{id:"2230---april-28-2020"},"2.23.0 - (April 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added ",(0,n.mdx)("inlineCode",{parentName:"li"},"directory")," as a sub attribute to the ",(0,n.mdx)("inlineCode",{parentName:"li"},"repository")," attribute in package.json"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update wdio test configuration to use root wdio config"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},'Removed "View Component Source Code" from docs in favour of source code badge')))),(0,n.mdx)("h2",{id:"2220---march-31-2020"},"2.22.0 - (March 31, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added clinical-lowlight-theme wdio screenshots")))),(0,n.mdx)("h2",{id:"2210---february-18-2020"},"2.21.0 - (February 18, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added generated-themes to .npmignore"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update docs to use MDX syntax")))),(0,n.mdx)("h2",{id:"2200---january-28-2020"},"2.20.0 - (January 28, 2020)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update copyright to include 2020")))),(0,n.mdx)("h2",{id:"2190---december-10-2019"},"2.19.0 - (December 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added orion-fusion-theme and generated the respective reference wdio screenshots.")))),(0,n.mdx)("h2",{id:"2180---november-7-2019"},"2.18.0 - (November 7, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"2170---october-16-2019"},"2.17.0 - (October 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"2160---october-3-2019"},"2.16.0 - (October 3, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"2150---september-26-2019"},"2.15.0 - (September 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"2140---september-19-2019"},"2.14.0 - (September 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed ",(0,n.mdx)("inlineCode",{parentName:"li"},"details")," tag from doc-site."),(0,n.mdx)("li",{parentName:"ul"},"Doc site example module import syntax modified to use package.json name resolution")))),(0,n.mdx)("h2",{id:"2130---september-6-2019"},"2.13.0 - (September 6, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Cleaned up imports in examples and test files")))),(0,n.mdx)("h2",{id:"2120---august-14-2019"},"2.12.0 - (August 14, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"updated package.json test scripts")))),(0,n.mdx)("h2",{id:"2110---july-30-2019"},"2.11.0 - (July 30, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Removed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed DEPENDENCIES.md file")))),(0,n.mdx)("h2",{id:"2100---july-16-2019"},"2.10.0 - (July 16, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added documentation on required peerDependencies")))),(0,n.mdx)("h2",{id:"290---july-10-2019"},"2.9.0 - (July 10, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"280---july-2-2019"},"2.8.0 - (July 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Renamed test and example SCSS files to end with ",(0,n.mdx)("inlineCode",{parentName:"li"},".module.scss")," extension")))),(0,n.mdx)("h2",{id:"270---june-19-2019"},"2.7.0 - (June 19, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency version bump")))),(0,n.mdx)("h2",{id:"260---june-12-2019"},"2.6.0 - (June 12, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed node_modules from .npmignore"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed all inline styles from Dev-site components and implemented the same styles using external css."),(0,n.mdx)("li",{parentName:"ul"},"Update tests for terra-toolkit v5 and terra-dev-site v5 changes"),(0,n.mdx)("li",{parentName:"ul"},"Update wdio spec to use Terra.describeViewports")))),(0,n.mdx)("h2",{id:"250---april-24-2019"},"2.5.0 - (April 24, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved packages we use solely in doc examples and tests to devDependencies")))),(0,n.mdx)("h2",{id:"240---march-26-2019"},"2.4.0 - (March 26, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Update react/react-dom peer-dependency to latest stable minor release"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Removed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Removed peer dependency on terra-base"),(0,n.mdx)("li",{parentName:"ul"},"Removed baseStyles import from terra-base")))),(0,n.mdx)("h2",{id:"230---march-20-2019"},"2.3.0 - (March 20, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated brand footer examples to use styled text to correct Section 508 warning")))),(0,n.mdx)("h2",{id:"220---february-13-2019"},"2.2.0 - (February 13, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Added discernible text to footer Terra UI link")))),(0,n.mdx)("h2",{id:"210---february-5-2019"},"2.1.0 - (February 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"200---january-25-2019"},"2.0.0 - (January 25, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Breaking Change",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Updated variable names to match new naming standard"),(0,n.mdx)("li",{parentName:"ul"},"Updated terra-core dependencies")))),(0,n.mdx)("h2",{id:"1160---january-5-2019"},"1.16.0 - (January 5, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"1150---january-2-2019"},"1.15.0 - (January 2, 2019)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"1140---december-5-2018"},"1.14.0 - (December 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update")))),(0,n.mdx)("h2",{id:"1130---december-3-2018"},"1.13.0 - (December 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency bump")))),(0,n.mdx)("h2",{id:"1120---november-15-2018"},"1.12.0 - (November 15, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency update"),(0,n.mdx)("li",{parentName:"ul"},"Updated component readme feature links"),(0,n.mdx)("li",{parentName:"ul"},"Moved link separator out of CSS to hide from screen readers")))),(0,n.mdx)("h2",{id:"1110---september-25-2018"},"1.11.0 - (September 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Improved brand footer accessibility.")))),(0,n.mdx)("h2",{id:"1100---september-5-2018"},"1.10.0 - (September 5, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react peerDependency version from ^16.2.0 to ^16.4.2"),(0,n.mdx)("li",{parentName:"ul"},"Bumped minimum react-dom peerDependency version from ^16.2.0 to ^16.4.2")))),(0,n.mdx)("h2",{id:"190---august-30-2018"},"1.9.0 - (August 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v5 update")))),(0,n.mdx)("h2",{id:"180---august-14-2018"},"1.8.0 - (August 14, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Formatting changes per eslint v4 update"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Fixed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Lint errors regarding file path resolution")))),(0,n.mdx)("h2",{id:"170---july-25-2018"},"1.7.0 - (July 25, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Added"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Section headers can be put in the nav bar"),(0,n.mdx)("li",{parentName:"ul"},"The navigation bar can be displayed vertically"))),(0,n.mdx)("li",{parentName:"ul"},(0,n.mdx)("p",{parentName:"li"},"Changed"),(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Add .module extension to SCSS file(s)")))),(0,n.mdx)("h2",{id:"160---july-10-2018"},"1.6.0 - (July 10, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Clean up dependencies")))),(0,n.mdx)("h2",{id:"150---july-3-2018"},"1.5.0 - (July 3, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Added",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Change logs to documentation on terra-dev-site")))),(0,n.mdx)("h2",{id:"140---june-29-2018"},"1.4.0 - (June 29, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"130---june-12-2018"},"1.3.0 - (June 12, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"120---may-30-2018"},"1.2.0 - (May 30, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Moved examples to src")))),(0,n.mdx)("h2",{id:"110---may-22-2018"},"1.1.0 - (May 22, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Changed",(0,n.mdx)("ul",{parentName:"li"},(0,n.mdx)("li",{parentName:"ul"},"Minor dependency updates")))),(0,n.mdx)("h2",{id:"100---may-8-2018"},"1.0.0 - (May 8, 2018)"),(0,n.mdx)("ul",null,(0,n.mdx)("li",{parentName:"ul"},"Initial stable release")))}p.isMDXComponent=!0;var x=["components"],o={},N="wrapper";function s(e){var a=e.components,d=(0,m.Z)(e,x);return(0,n.mdx)(N,(0,l.Z)({},o,d,{components:a,mdxType:"MDXLayout"}),(0,n.mdx)(r.C,{mdxType:"Badge"}),(0,n.mdx)(p,{mdxType:"ChangeLog"}))}s.isMDXComponent=!0},55087:function(e,a,d){d.d(a,{C:function(){return n}});var l=d(67294),m=d(22863),n=function(e){var a=e.url;return l.createElement(m.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-brand-footer",name:"terra-brand-footer",version:"3.11.0",url:a})}},17422:function(e,a,d){d.r(a),a.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"}},87462:function(e,a,d){function l(){return l=Object.assign?Object.assign.bind():function(e){for(var a=1;a=0||(m[d]=e[d]);return m}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(l=0;l=0||Object.prototype.propertyIsEnumerable.call(e,d)&&(m[d]=e[d])}return m}d.d(a,{Z:function(){return l}})}}]); \ No newline at end of file diff --git a/pull/1911/21591-ab5ed0d65aa3415d8892.css b/pull/1911/21591-ab5ed0d65aa3415d8892.css new file mode 100644 index 00000000000..3a36312df6e --- /dev/null +++ b/pull/1911/21591-ab5ed0d65aa3415d8892.css @@ -0,0 +1,9 @@ +.Cell-module__clinical-lowlight-theme___JlIUL{--terra-table-cell-border-bottom: 1px solid #181b1d;--terra-table-cell-border-left: 1px solid #181b1d;--terra-table-cell-border-right: 1px solid #181b1d;--terra-table-cell-selected-background-color: #1e3a49;--terra-table-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-highlight-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-odd-row-hover-background-color: #25282a;--terra-table-even-row-hover-background-color: #1d2225;--terra-table-pinned-columns-cell-border: 1px solid #181b1d}.Cell-module__orion-fusion-theme___HW1Ki{--terra-table-cell-border-bottom: 1px solid #c8cacb;--terra-table-cell-border-left: 1px solid #c8cacb;--terra-table-cell-border-right: 1px solid #c8cacb;--terra-table-cell-selected-background-color: #cbe7fa;--terra-table-odd-row-hover-background-color: #e0f2fb;--terra-table-even-row-hover-background-color: #d6e8f2;--terra-table-pinned-columns-cell-border: 1px solid #c8cacb}.Cell-module__cell___XID6c{font-weight:normal;position:relative}[dir] .Cell-module__cell___XID6c{border-bottom:1px solid #dedfe0;border-bottom:var(--terra-table-cell-border-bottom, 1px solid #dedfe0);padding:7px;padding:var(--terra-table-cell-content-padding, 7px)}[dir=ltr] .Cell-module__cell___XID6c{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=ltr] .Cell-module__cell___XID6c:first-child{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c:first-child{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir] .Cell-module__selected___3WHxU{background-color:#cbe7fa;background-color:var(--terra-table-cell-selected-background-color, #cbe7fa)}[dir=ltr] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=rtl] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=ltr] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}[dir=rtl] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}.Cell-module__cell-content___FhljD{overflow:hidden;overflow-wrap:break-word}[dir=ltr] .Cell-module__cell-content___FhljD{text-align:left}[dir=rtl] .Cell-module__cell-content___FhljD{text-align:right}.Cell-module__cell-content___FhljD .Cell-module__no-data-cell___6er9D{color:rgba(0,0,0,0)}.Cell-module__pinned___y2cJe{position:-webkit-sticky;position:sticky;z-index:1}[dir] .Cell-module__pinned___y2cJe:not(.Cell-module__selected___3WHxU){background-color:inherit}[dir] tr:nth-child(odd) .Cell-module__selectable___BAIg5:hover{background-color:#e0f2fb;background-color:var(--terra-table-odd-row-hover-background-color, #e0f2fb);cursor:pointer}[dir] tr:nth-child(even) .Cell-module__selectable___BAIg5:hover{background-color:#d3e5ee;background-color:var(--terra-table-even-row-hover-background-color, #d3e5ee);cursor:pointer} +.RowSelectionCell-module__input___\+\+BBM{display:-ms-flexbox;display:flex;height:16px;width:16px}[dir] .RowSelectionCell-module__input___\+\+BBM{margin:auto} +.Row-module__clinical-lowlight-theme___LqsJk{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Row-module__orion-fusion-theme___uCwnV{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}[dir] .Row-module__striped-table-row___0o1z0:nth-child(even){background-color:#f0f0f0;background-color:var(--terra-table-row-striped-background-color, #f0f0f0)}[dir] .Row-module__row___kR-J-{background-color:#fff;background-color:var(--terra-table-row-background-color, #fff)}[dir] .Row-module__row___kR-J-.Row-module__selectable___r9jUT:hover{background-color:#e2f2fc;background-color:var(--terra-table-row-hover-background-color, #e2f2fc);cursor:pointer}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP{background-color:#cbe7fa;background-color:var(--terra-table-row-selected-background-color, #cbe7fa)}[dir=ltr] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-right:1px solid #0092e0}[dir=rtl] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-left:1px solid #0092e0}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-bottom:1px solid #0092e0;border-bottom:var(--terra-table-row-highlight-border-bottom, 1px solid #0092e0)}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child th, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-top:1px solid #0092e0;border-top:var(--terra-table-row-highlight-border-top, 1px solid #0092e0)} +.Section-module__clinical-lowlight-theme___CmVbA{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Section-module__orion-fusion-theme___42iAO{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}.Section-module__section___Rf5QD.Section-module__collapsed___M5LcR{display:none}.Section-module__header___Q0nuu{position:relative;z-index:3}[dir=ltr] .Section-module__header___Q0nuu th{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Section-module__header___Q0nuu th{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)} +.ColumnResizeHandle-module__orion-fusion-theme___uvYEY{--terra-table-resize-handle-active-border-color: #517ea5;--terra-table-resize-handle-hover-border-color: #e4f1f7}.ColumnResizeHandle-module__clinical-lowlight-theme___MWieH{--terra-table-resize-handle-active-border-color: rgba(34, 42, 46, 1);--terra-table-resize-handle-hover-border-color: rgba(34, 42, 46, 0.6)}.ColumnResizeHandle-module__resize-handle___rckkL{display:block;height:100%;position:absolute;top:0;width:22px;z-index:1}[dir] .ColumnResizeHandle-module__resize-handle___rckkL{cursor:col-resize}[dir=ltr] .ColumnResizeHandle-module__resize-handle___rckkL{border-right:4px solid rgba(0,0,0,0);right:0}[dir=rtl] .ColumnResizeHandle-module__resize-handle___rckkL{border-left:4px solid rgba(0,0,0,0);left:0}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:active{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important}.ColumnResizeHandle-module__resize-handle___rckkL:focus{outline:0 !important}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:focus{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:hover{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle-selected___-zzct{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important} +.ColumnHeaderCell-module__clinical-lowlight-theme___E4AJx{--terra-table-column-header-text-color: #b2b5b6;--terra-table-column-header-background-color: #151719;--terra-table-column-header-border-bottom: 1px solid #181b1d;--terra-table-column-header-border-left: 1px solid #181b1d;--terra-table-column-header-border-right: 1px solid #181b1d;--terra-table-column-header-border-top: 1px solid #181b1d;--terra-table-pinned-columns-header-border: 1px solid #181b1d;--terra-table-pinned-columns-header-box-shadow: 1px 0 #181b1d;--terra-table-pinned-columns-divider-background-color: #181b1d;--terra-table-pinned-columns-divider-box-shadow: 4px -1px 6px #181b1d;--terra-table-header-hover-background-color: #0c0f10}.ColumnHeaderCell-module__orion-fusion-theme___LLv1A{--terra-table-column-header-text-color: #4e5356;--terra-table-column-header-background-color: #f4f4f4;--terra-table-column-header-border-bottom: 2px solid #9b9fa1;--terra-table-column-header-border-left: 1px solid #c8cacb;--terra-table-column-header-border-right: 1px solid #c8cacb;--terra-table-column-header-border-top: 1px solid #c8cacb;--terra-table-pinned-columns-header-border: 1px solid #c8cacb;--terra-table-pinned-columns-header-box-shadow: 1px 0 #c8cacb;--terra-table-header-hover-background-color: #d5e7f2}.ColumnHeaderCell-module__column-header___oWlRh{color:var(--terra-table-column-header-text-color);position:-webkit-sticky;position:sticky;top:0;z-index:1}[dir] .ColumnHeaderCell-module__column-header___oWlRh{background-color:#dedfe0;background-color:var(--terra-table-column-header-background-color, #dedfe0);border-bottom:1px solid #000;border-bottom:var(--terra-table-column-header-border-bottom, 1px solid #000);border-top:1px solid #000;border-top:var(--terra-table-column-header-border-top, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-left, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-left, 1px solid #000)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{padding:5px;padding:var(--terra-table-header-cell-padding, 5px)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-right:5px;margin-right:var(--terra-table-error-icon-margin-right, 5px)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-left:5px;margin-left:var(--terra-table-error-icon-margin-right, 5px)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{-ms-flex:1;flex:1;font-weight:normal;outline:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{background:rgba(0,0,0,0);border:0}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:left}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:right}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l.ColumnHeaderCell-module__hidden___Tu-Xs{color:rgba(0,0,0,0)}[dir] .ColumnHeaderCell-module__selectable___JFI4E:hover{background-color:#daecf6;background-color:var(--terra-table-header-hover-background-color, #daecf6);cursor:pointer}.ColumnHeaderCell-module__pinned___Qusyo{position:-webkit-sticky;position:sticky;z-index:2 !important}.ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{position:absolute;top:0;width:2px}[dir] .ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{background-color:#808080;background-color:var(--terra-table-pinned-columns-divider-background-color, #808080);box-shadow:4px -1px 6px #808080;box-shadow:var(--terra-table-pinned-columns-divider-box-shadow, 4px -1px 6px #808080)} +.ColumnHeader-module__hidden___I3b7-{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}[dir] .ColumnHeader-module__hidden___I3b7-{border:0;margin:-1px;padding:0} +.Table-module__clinical-lowlight-theme___G2b7R{--terra-table-cell-focus-outline: 3px dashed #fff;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #181b1d}.Table-module__orion-fusion-theme___iu\+p1{--terra-table-cell-focus-outline: 3px dashed #000;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #c8cacb}.Table-module__table-container___g4Byi{height:100%;overflow:auto;width:100%}.Table-module__table___wcFdg{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1px}[dir=ltr] .Table-module__table___wcFdg{margin-right:15px}[dir=rtl] .Table-module__table___wcFdg{margin-left:15px}.Table-module__table___wcFdg :focus{outline:3px dashed #000;outline:var(--terra-table-cell-focus-outline, 3px dashed #000);outline-offset:-2px;outline-offset:var(--terra-table-cell-focus-outline-offset, -2px)}[dir] .Table-module__headerless___eod6K tr:first-child td, [dir] .Table-module__headerless___eod6K tr:first-child th{border-top:1px solid #dedfe0;border-top:var(--terra-table-headerless-first-row-border-top, 1px solid #dedfe0)} +.DataGrid-module__data-grid-container___4LJj1{height:100%;width:100%}table{-webkit-user-select:none;-ms-user-select:none;user-select:none} diff --git a/pull/1911/21591-ab5ed0d65aa3415d8892.js b/pull/1911/21591-ab5ed0d65aa3415d8892.js new file mode 100644 index 00000000000..563f0513dfc --- /dev/null +++ b/pull/1911/21591-ab5ed0d65aa3415d8892.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[21591],{13810:function(t,n,e){var l=e(64836);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c=l(e(861)),o=l(e(67294)),a=l(e(99722)),i=[{id:"Column-0",displayName:"Patient",isSelectable:!0,isResizable:!0},{id:"Column-1",displayName:"Location",isSelectable:!0,isResizable:!0},{id:"Column-2",displayName:"Illness Severity",isSelectable:!0,isResizable:!0},{id:"Column-3",displayName:"Visit",isSelectable:!0,isResizable:!0},{id:"Column-4",displayName:"Allergy",isSelectable:!0,isResizable:!0},{id:"Column-5",displayName:"Primary Contact",isSelectable:!0,isResizable:!0},{id:"Column-6",displayName:"Generic Order Counts",isSelectable:!0,isResizable:!0}],s=[{id:"1",cells:[{content:"Fleck, Arthur"},{content:"1007-MTN"},{content:"Unstable"},{content:"Inpatient, 2 months"},{content:""},{content:"Quinzell, Harleen"},{content:"",isMasked:!0}]},{id:"2",cells:[{content:"Wayne, Bruce"},{content:"1107-MTN-DR"},{content:"Stable"},{content:"Outpatient, 2 days"},{content:"Phytochemicals"},{content:"Grayson, Richard"},{content:""}]},{id:"3",cells:[{content:"Carr, Alicia"},{content:"1007-MTN"},{content:"Unstable"},{content:"Inpatient, 3 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"4",cells:[{content:"McMurphy, Donald"},{content:"1024-MTN",isMasked:!0},{content:"Stable"},{content:"Inpatient, 5 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"5",cells:[{content:"Peters, Timothy"},{content:"1207-MTN"},{content:"Unstable",isMasked:!0},{content:"Outpatient, 15 days"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"6",cells:[{content:"Jones, Becky"},{content:"1007-MTN"},{content:"Unstable"},{content:"Inpatient, 2 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"7",cells:[{content:"Williams, Peter"},{content:"1002-KTN"},{content:"Unstable"},{content:"Outpatient, 9 days"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"8",cells:[{content:"Pratt, Michaela"},{content:"2108-NTN"},{content:"Stable"},{content:"Outpatient, 45 days"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"9",cells:[{content:"Styris, Scott"},{content:"1007-MTN",isMasked:!0},{content:"Unstable"},{content:"Inpatient, 2 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"10",cells:[{content:"Cook, Allan"},{content:"1700-SKB"},{content:"Stable"},{content:"Inpatient, 4 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"11",cells:[{content:"Lahey, Nathaniel"},{content:"1348-DRS"},{content:"Unstable"},{content:"Inpatient, 1 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"12",cells:[{content:"Harris, Isabella"},{content:"1809-MTN"},{content:"Stable"},{content:"Inpatient, 6 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"13",cells:[{content:"Millstone, Asher"},{content:"4133-MZN"},{content:"Unstable"},{content:"Inpatient, 9 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]}];n.default=function(){var t=i,n=s;return o.default.createElement("div",{style:{height:"250px"}},o.default.createElement(a.default,{id:"terra-data-grid-sticky",overflowColumns:t,rows:(0,c.default)(n),rowHeaderIndex:0,columnWidth:"180px",ariaLabel:"Data Grid"}))}}}]); \ No newline at end of file diff --git a/pull/1911/21852-672f487fbb22898a113d.css b/pull/1911/21852-672f487fbb22898a113d.css new file mode 100644 index 00000000000..a8967712ad5 --- /dev/null +++ b/pull/1911/21852-672f487fbb22898a113d.css @@ -0,0 +1,3 @@ +.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} +.InfiniteList-module__infinite-list___7fyNb{display:block;height:100%;overflow:auto;-webkit-overflow-scrolling:touch;position:relative;width:100%}.InfiniteList-module__infinite-hidden___aTAai{display:block;height:0;overflow:hidden;position:absolute;top:100%;width:100%}[dir] .InfiniteList-module__infinite-hidden___aTAai{border:0;margin:0;padding:0}.InfiniteList-module__full-loading___ZrKv4{height:100%;overflow:hidden;position:relative;width:100%}.InfiniteList-module__loading___Aj3yQ{display:block;position:relative;width:100%}.InfiniteList-module__spacer___DCsZK{display:block;position:relative;width:100%}[dir] .InfiniteList-module__spacer___DCsZK{margin:0;padding:0} +.InfiniteListDocExampleCommon-module__placeholder___\+p5qG{height:50px}.InfiniteListDocExampleCommon-module__item-content___wVR4Q{height:50px;width:100%}.InfiniteListDocExampleCommon-module__main-content___b5X2e{height:300px;position:relative;width:100%}[dir] .InfiniteListDocExampleCommon-module__main-content___b5X2e{border:1px solid #000} diff --git a/pull/1911/21852-672f487fbb22898a113d.js b/pull/1911/21852-672f487fbb22898a113d.js new file mode 100644 index 00000000000..d3268dc3419 --- /dev/null +++ b/pull/1911/21852-672f487fbb22898a113d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[21852],{22863:function(e,t,n){var a=n(64836);t.Z=void 0;var i=a(n(67294)),r=a(n(45697)),o=a(n(47166)),l=a(n(17422)),u=o.default.bind(l.default),c={name:r.default.string.isRequired,src:r.default.string,url:r.default.string,version:r.default.string.isRequired},s=function(e){var t=e.src,n=e.name,a=e.url,r=e.version,o=i.default.createElement("a",{className:u("badge"),href:a||"https://www.npmjs.org/package/".concat(n,"/v/").concat(r)},i.default.createElement("span",{className:u("badge-name")},a?"package":"npm"),i.default.createElement("span",{className:u("badge-version")},"v".concat(r))),l=t?i.default.createElement("a",{className:u("badge"),href:t},i.default.createElement("span",{className:u("badge-name")},"github"),i.default.createElement("span",{className:u("badge-version")},"source")):void 0;return i.default.createElement("div",{className:u("badge-container")},o,l)};s.propTypes=c;var d=s;t.Z=d},40996:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=c(n(67294)),i=c(n(45697)),r=c(n(47166)),o=c(n(47341)),l=c(n(66983)),u=["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||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var m=r.default.bind(l.default),f=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},p=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},h={children:i.default.string},_=function(e){var t=e.children,n=d(e,u),i=a.default.useContext(o.default),l=(0,r.default)(m(["button",i.className]),n.className);return a.default.createElement("button",s({},n,{type:"button",className:l,onBlur:f,onMouseDown:p,"data-focus-styles-enabled":!0}),t)};_.propTypes=h;var y=_;t.default=y},59278:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=u(n(67294)),i=u(n(45697)),r=u(n(47166)),o=u(n(47341)),l=u(n(30866));function u(e){return e&&e.__esModule?e:{default:e}}var c=r.default.bind(l.default),s={ariaLevel:i.default.oneOf(["2","3","4","5","6"]),children:i.default.node,variant:i.default.oneOf(["ux-recommendation","caution","deprecation","maintenance","important","not-supported"])},d=function(e){var t=e.ariaLevel,n=e.variant,i=e.children,r=a.default.useContext(o.default);return a.default.createElement("div",{className:c("notice",n,r.className)},a.default.createElement("div",{className:c("accessory"),"aria-hidden":"true",focusable:"false"}),a.default.createElement("div",{role:"heading",className:c("title"),"aria-level":t},a.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))),a.default.createElement("div",{className:c("children")},function(e){return"not-supported"===e?a.default.createElement(a.default.Fragment,null,a.default.createElement("p",{className:c("paragraph")},"This component was designed and tested according to the documented implementation."),a.default.createElement("p",{className:c("paragraph")},"Using the component incorrectly:",a.default.createElement("ul",{className:c("list")},a.default.createElement("li",null,"will likely result in improper composition and create accessibility issues"),a.default.createElement("li",null,"may cause erratic or broken behaviors and styles"),a.default.createElement("li",null,a.default.createElement("strong",null,"will not be supported "),"or enhanced to allow for incorrect use")))):null}(n),a.default.Children.map(i,(function(e){return"string"==typeof e?a.default.createElement("p",null,e):e}))))};d.propTypes=s,d.defaultProps={ariaLevel:"2",variant:"important"};var m=d;t.default=m},47306:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(n(67294)),i=s(n(45697)),r=s(n(94184)),o=s(n(47166)),l=s(n(47341)),u=s(n(42620)),c=["title"];function s(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var f=o.default.bind(u.default),p={title:i.default.string},h=function(e){var t=e.title,n=m(e,c),i=a.default.useContext(l.default),o=(0,r.default)(f(["placeholder",i.className]),n.className),u=f(["inner"]);return a.default.createElement("div",d({},n,{className:o}),a.default.createElement("div",{className:u},a.default.createElement("p",{className:f("title")},t)))};h.propTypes=p,h.defaultProps={title:""};var _=h;t.default=_},34261:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"Notice",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return i.default}});var a=o(n(59278)),i=o(n(47306)),r=o(n(40996));function o(e){return e&&e.__esModule?e:{default:e}}},67242:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var a=n(87462),i=n(44925),r=(n(67294),n(81254)),o=n(55838),l=n(34261),u=n(77404),c=["components"],s={},d="wrapper";function m(e){var t=e.components,n=(0,i.Z)(e,c);return(0,r.mdx)(d,(0,a.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(o.C,{mdxType:"Badge"}),(0,r.mdx)("p",null,(0,r.mdx)("a",{parentName:"p",href:"https://github.com/cerner/terra-framework/blob/main/packages/terra-infinite-list#readme"},(0,r.mdx)("img",{parentName:"a",src:"https://badgen.net/badge/status/Deprecated/grey",alt:"Deprecated"}))),(0,r.mdx)("h1",{id:"terra-infinite-list--subsections"},"Terra Infinite List — Subsections"),(0,r.mdx)(l.Notice,{variant:"deprecation",mdxType:"Notice"},(0,r.mdx)("p",null,"The terra-infinite-list component has been deprecated and is no longer recommended for use."),(0,r.mdx)("p",null,"From a usability perspective, infinite scrolling is a pattern designed and best used when users are casually looking for or discovering things, like shopping and social media. The infinite scrolling pattern should not be used for ",(0,r.mdx)("a",{parentName:"p",href:"https://www.nngroup.com/articles/infinite-scrolling/"},"goal-oriented tasks"),". Cerner products and our users most often fall into goal-oriented workflows. Users should have proper navigation methods (pagination) to navigate to predetermined points within the content easily."),(0,r.mdx)("p",null,"Infinite scrolling also poses significant accessibility challenges for multiple user groups:"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Keyboard-only users have to navigate the entire infinite scroll to get to the content below or to the side of the endless loading content. This creates a very time-consuming and unnecessary burden for the keyboard-only user."),(0,r.mdx)("li",{parentName:"ul"},"Screen reader users would have the same problem even though they have more ways to navigate content on the page. When content is dynamically loaded and not within the DOM, screen reader users won't have access to any of that content which poses more significant challenges than just navigating."),(0,r.mdx)("li",{parentName:"ul"},"Focus can be lost when new content loads. Unless focus is managed, sighted keyboard-only users will have difficulties finding where they are on the page."),(0,r.mdx)("li",{parentName:"ul"},"For data with hierarchical relationships, infinite scrolling can make it difficult for screen readers to effectively communicate the required context if related content is split between loaded and unloaded content.")),(0,r.mdx)("p",null,"The ",(0,r.mdx)("a",{parentName:"p",href:"https://engineering.cerner.com/terra-ui/components/cerner-terra-core-docs/paginator/paginator"},"terra-paginator")," should be considered as an alternative approach to paging large amounts of data.")),(0,r.mdx)("p",null,"To achieve sections within the InfiniteList the only supported implementation is directly consuming the static variant of the ",(0,r.mdx)("inlineCode",{parentName:"p"},"SectionHeader")," and ",(0,r.mdx)("inlineCode",{parentName:"p"},"SubsectionHeader")," component. Expand/collapse functionality is not supported within the infinite list. "),(0,r.mdx)("h2",{id:"map-section-structure"},"Map Section Structure"),(0,r.mdx)("p",null,"So in our first step a ",(0,r.mdx)("inlineCode",{parentName:"p"},"SectionHeader")," needs to be created for each associated section. We'll add it to the initialization of an array that will be expanded in the following steps."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"}," const createSection = (sectionData) => {\n const section = [\n ,\n ];\n return section;\n };\n")),(0,r.mdx)("p",null,"Next we'll create an array with the first item being our section header, and then loop through the associated child sub sections for the section appending them to the initial array."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"}," const createSection = (sectionData) => {\n const section = [\n ,\n ];\n sectionData.childItems.forEach(childItem => section.push(createSection(childItem)));\n return section;\n };\n")),(0,r.mdx)("h2",{id:"map-subsection-structure"},"Map Subsection Structure"),(0,r.mdx)("p",null,"So in our first step a ",(0,r.mdx)("inlineCode",{parentName:"p"},"SubsectionHeader")," needs to be created for each associated section. We'll add it to the initialization of an array that will be expanded in following steps."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"const createSubSection = (subsectionData) => {\n const section = [\n ,\n ];\n return section;\n};\n")),(0,r.mdx)("p",null,"Next we'll create an array with the first item being our subsection header, and then loop through the associated child items for the section appending them to the initial array."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"const createSubSection = (subsectionData) => {\n const section = [\n ,\n ];\n subsectionData.childItems.forEach(childItem => section.push(createListItem(childItem)));\n return section;\n};\n")),(0,r.mdx)("h2",{id:"unpack-data"},"Unpack Data"),(0,r.mdx)("p",null,"We can then implement the unpack of our data into our list items."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"const createListItem = itemData => (\n \n \n \n);\n\nconst createSections = data => data.map(section => createSection(section));\n")),(0,r.mdx)("p",null,"Then we can implement a method to loop through our data and create the section with our methods and call it from our render method."),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},'const InfiniteListSection = () => (\n \n \n {createSections(mockData)}\n \n \n);\n')),(0,r.mdx)("p",null,"Using these steps we get the following example:"),(0,r.mdx)("h2",{id:"example"},"Example"),(0,r.mdx)(u.Z,{title:"Sections Header Infinite List",mdxType:"InfiniteListSubsection"}))}m.isMDXComponent=!0},55838:function(e,t,n){n.d(t,{C:function(){return r}});var a=n(67294),i=n(22863),r=function(e){var t=e.url;return a.createElement(i.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-infinite-list",name:"terra-infinite-list",version:"3.42.0",url:t})}},66635:function(e,t,n){var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(67294)),r=a(n(47166)),o=a(n(63190)),l=r.default.bind(o.default);t.default=function(e){var t=e.children;return i.default.createElement("div",{className:l("main-content")},t)}},77404:function(e,t,n){var a=n(64836),i=n(18698);t.Z=void 0;var r=a(n(67294)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=i(e)&&"function"!=typeof e)return{default:e};var n=m(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&&Object.prototype.hasOwnProperty.call(e,o)){var l=r?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(a,o,l):a[o]=e[o]}return a.default=e,n&&n.set(e,a),a}(n(45186)),l=n(34261),u=a(n(47166)),c=a(n(48616)),s=a(n(66635)),d=a(n(63190));function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}var f=u.default.bind(d.default),p=function(e){var t=[r.default.createElement(o.SubsectionHeader,{key:e.key,title:e.title})];return e.childItems.forEach((function(e){return t.push((n=e,r.default.createElement(o.Item,{key:n.key},r.default.createElement(l.Placeholder,{title:n.title,className:f("placeholder")}))));var n})),t},h=function(e){return e.map((function(e){return function(e){var t=[r.default.createElement(o.SectionHeader,{key:e.key,title:e.title})];return e.childItems.forEach((function(e){return t.push(p(e))})),t}(e)}))};t.Z=function(){return r.default.createElement(s.default,null,r.default.createElement(o.default,{dividerStyle:"standard",isFinishedLoading:!0,ariaLabel:"Subsection"},h(c.default)))}},48616:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=[{title:"Section 0",key:"unique-key-0",childItems:[{title:"Subsection 0-0",key:"unique-key-0-0",childItems:[{title:"Item 0-0-0",key:"unique-0-0-0"},{title:"Item 0-0-1",key:"unique-0-0-1"},{title:"Item 0-0-2",key:"unique-0-0-2"},{title:"Item 0-0-3",key:"unique-0-0-3"},{title:"Item 0-0-4",key:"unique-0-0-4"},{title:"Item 0-0-5",key:"unique-0-0-5"}]},{title:"Subsection 0-1",key:"unique-key-0-1",childItems:[{title:"Item 0-1-0",key:"unique-0-1-0"},{title:"Item 0-1-1",key:"unique-0-1-1"},{title:"Item 0-1-2",key:"unique-0-1-2"},{title:"Item 0-1-3",key:"unique-0-1-3"},{title:"Item 0-1-4",key:"unique-0-1-4"},{title:"Item 0-1-5",key:"unique-0-1-5"}]}]},{title:"Section 1",key:"unique-key-1",childItems:[{title:"Subsection 1-0",key:"unique-key-1-0",childItems:[{title:"Item 1-0-0",key:"unique-1-0-0"},{title:"Item 1-0-1",key:"unique-1-0-1"},{title:"Item 1-0-2",key:"unique-1-0-2"},{title:"Item 1-0-3",key:"unique-1-0-3"},{title:"Item 1-0-4",key:"unique-1-0-4"},{title:"Item 1-0-5",key:"unique-1-0-5"}]},{title:"Subsection 1-1",key:"unique-key-1-1",childItems:[{title:"Item 1-1-0",key:"unique-1-1-0"},{title:"Item 1-1-1",key:"unique-1-1-1"},{title:"Item 1-1-2",key:"unique-1-1-2"},{title:"Item 1-1-3",key:"unique-1-1-3"},{title:"Item 1-1-4",key:"unique-1-1-4"},{title:"Item 1-1-5",key:"unique-1-1-5"}]}]},{title:"Section 2",key:"unique-key-2",childItems:[{title:"Subsection 2-0",key:"unique-key-2-0",childItems:[{title:"Item 2-0-0",key:"unique-2-0-0"},{title:"Item 2-0-1",key:"unique-2-0-1"},{title:"Item 2-0-2",key:"unique-2-0-2"},{title:"Item 2-0-3",key:"unique-2-0-3"},{title:"Item 2-0-4",key:"unique-2-0-4"},{title:"Item 2-0-5",key:"unique-2-0-5"}]},{title:"Subsection 2-1",key:"unique-key-2-1",childItems:[{title:"Item 2-1-0",key:"unique-2-1-0"},{title:"Item 2-1-1",key:"unique-2-1-1"},{title:"Item 2-1-2",key:"unique-2-1-2"},{title:"Item 2-1-3",key:"unique-2-1-3"},{title:"Item 2-1-4",key:"unique-2-1-4"},{title:"Item 2-1-5",key:"unique-2-1-5"}]}]}]},17422: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"}},66983:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Button-module__clinical-lowlight-theme___TyZWB","orion-fusion-theme":"Button-module__orion-fusion-theme___q-FcQ",button:"Button-module__button___QuCn2","is-active":"Button-module__is-active___Z8AuK"}},30866:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Notice-module__clinical-lowlight-theme___aa5xV","orion-fusion-theme":"Notice-module__orion-fusion-theme___QAE-T",notice:"Notice-module__notice___GWkPA",children:"Notice-module__children___lDYsm",accessory:"Notice-module__accessory___wkLOG",title:"Notice-module__title___6H5tc","ux-recommendation":"Notice-module__ux-recommendation___N8BuK",caution:"Notice-module__caution___hPrVl",deprecation:"Notice-module__deprecation___g1drA",maintenance:"Notice-module__maintenance___kWLIZ",important:"Notice-module__important___p5DiF","not-supported":"Notice-module__not-supported___34bHd",paragraph:"Notice-module__paragraph___5h-w1",list:"Notice-module__list___M2Kxj"}},42620:function(e,t,n){n.r(t),t.default={"clinical-lowlight-theme":"Placeholder-module__clinical-lowlight-theme___Obm9K","orion-fusion-theme":"Placeholder-module__orion-fusion-theme___svHY+",placeholder:"Placeholder-module__placeholder___ZZDXd",inner:"Placeholder-module__inner___fJq9o",title:"Placeholder-module__title___teBSo"}},63190:function(e,t,n){n.r(t),t.default={placeholder:"InfiniteListDocExampleCommon-module__placeholder___+p5qG","item-content":"InfiniteListDocExampleCommon-module__item-content___wVR4Q","main-content":"InfiniteListDocExampleCommon-module__main-content___b5X2e"}},87462:function(e,t,n){function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{Z:function(){return a}})}}]); \ No newline at end of file diff --git a/pull/1911/21983-f2071868ddcc449f6016.js b/pull/1911/21983-f2071868ddcc449f6016.js new file mode 100644 index 00000000000..1d7c9e51826 --- /dev/null +++ b/pull/1911/21983-f2071868ddcc449f6016.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[21983],{21983:function(e,t,a){var n=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(67294)),l=n(a(50826)),u=n(a(76895)),o=n(a(75852)),c=n(a(59552)),i=n(a(62307)),f=[{icon:r.default.createElement(l.default,null),key:"item-a",text:"Item A",metaData:{test:"a"}},{icon:r.default.createElement(u.default,null),key:"item-b",text:"Item B",metaData:{test:"b"}},{icon:r.default.createElement(o.default,null),key:"item-c",text:"Item C",metaData:{test:"c"}},{icon:r.default.createElement(c.default,null),key:"item-d",text:"Item D",metaData:{test:"d"}}],d=function(e,t){alert("itemKey: ".concat(e,", metaData: ").concat(t.test))};t.default=function(){return r.default.createElement(i.default,{onSelectSettings:function(){return alert("Settings Selected")},onSelectHelp:function(){return alert("Help Selected")},onSelectLogout:function(){return alert("Logout Selected")},utilityItems:f,onSelectUtilityItem:d})}},59552:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(a(67294)),r=l(a(99139));function l(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function b(e,t){for(var n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e,t){for(var r=0;r ({ discloseCount: prevState.discloseCount + 1 }));\n }\n\n render() {\n const accessory = \"Fallback;\n const title = 'John Doe';\n\n return (\n
\n
\n { }}\n onDisclose={this.onDiscloseUtility}\n initialSelectedKey=\"menu\"\n title={title}\n accessory={accessory}\n variant={UtilityUtils.VARIANTS.HEADER}\n />\n
\n
{`Disclose count: ${this.state.discloseCount}`}
\n
\n );\n }\n}\n\nexport default ApplicationHeaderUtilityExample;\n\n")))}x.isMDXComponent=!0;var h=n(49271),g=["components"],v={};function b(e){var t=e.components,n=(0,l.Z)(e,g);return(0,r.mdx)("wrapper",(0,a.Z)({},v,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .container {\n padding-left: 4px;\n }\n\n .content-wrapper {\n background-color: #0079be;\n height: 60px;\n position: relative;\n width: 150px;\n }\n}\n\n")))}b.isMDXComponent=!0;var N=function(e){var t=e.title,n=e.description,a=e.isExpanded;return i.createElement(h.Z,{title:t||"Application Header Utility Example",description:n,example:i.createElement(p.Z,null),exampleCssSrc:i.createElement(b,null),exampleSrc:i.createElement(x,null),isExpanded:a})},C=n(67683),_=["components"],O={};function T(e){var t=e.components,n=(0,l.Z)(e,_);return(0,r.mdx)("wrapper",(0,a.Z)({},O,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport Image from 'terra-image';\nimport MockConfig from 'terra-application-utility/lib/terra-dev-site/doc/common/MockConfig';\nimport FallbackAvatar from 'terra-application-utility/lib/terra-dev-site/doc/common/FallbackAvatar.svg';\nimport { ApplicationMenuUtility, UtilityUtils } from 'terra-application-utility';\nimport classNames from 'classnames/bind';\nimport styles from './ApplicationMenuUtilityExample.module.scss';\n\nconst cx = classNames.bind(styles);\n\nclass ApplicationMenuUtilityExample extends React.Component {\n constructor(props) {\n super(props);\n this.onDiscloseUtility = this.onDiscloseUtility.bind(this);\n this.handleOnChange = this.handleOnChange.bind(this);\n this.state = {\n discloseCount: 0,\n selectedKey: null,\n };\n }\n\n handleOnChange(event, key) {\n this.setState({ selectedKey: key });\n }\n\n onDiscloseUtility() {\n this.setState(prevState => ({ discloseCount: prevState.discloseCount + 1 }));\n }\n\n render() {\n const accessory = \"Fallback;\n const title = 'John Doe';\n\n return (\n
\n
\n \n
\n
{`Trigger event for: ${this.state.selectedKey}.`}
\n
{`Disclose count: ${this.state.discloseCount}.`}
\n
\n );\n }\n}\n\nexport default ApplicationMenuUtilityExample;\n\n")))}T.isMDXComponent=!0;var E=["components"],S={};function w(e){var t=e.components,n=(0,l.Z)(e,E);return(0,r.mdx)("wrapper",(0,a.Z)({},S,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .content-wrapper {\n height: 60px;\n padding-left: 4px;\n width: 300px;\n }\n}\n\n")))}w.isMDXComponent=!0;var U=function(e){var t=e.title,n=e.description,a=e.isExpanded;return i.createElement(h.Z,{title:t||"Application Menu Utility Example",description:n,example:i.createElement(C.Z,null),exampleCssSrc:i.createElement(w,null),exampleSrc:i.createElement(T,null),isExpanded:a})},D=n(38255),k=["components"],A={};function R(e){var t=e.components,n=(0,l.Z)(e,k);return(0,r.mdx)("wrapper",(0,a.Z)({},A,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React from 'react';\nimport Image from 'terra-image';\nimport MockConfig from 'terra-application-utility/lib/terra-dev-site/doc/common/MockConfig';\nimport FallbackAvatar from 'terra-application-utility/lib/terra-dev-site/doc/common/FallbackAvatar.svg';\nimport { UtilityUtils } from 'terra-application-utility';\nimport UtilityMenu from 'terra-application-utility/lib/utility/_UtilityMenu';\nimport classNames from 'classnames/bind';\nimport styles from './MenuUtilityMenuExample.module.scss';\n\nconst cx = classNames.bind(styles);\n\nclass MenuUtilityMenuExample extends React.Component {\n constructor(props) {\n super(props);\n this.handleOnChange = this.handleOnChange.bind(this);\n this.handleOnRequestClose = this.handleOnRequestClose.bind(this);\n this.state = {\n selectedKey: null,\n requestCloseCount: 0,\n };\n }\n\n handleOnChange(event, object) {\n this.setState({ selectedKey: object.key });\n }\n\n handleOnRequestClose() {\n this.setState(prevState => ({ requestCloseCount: prevState.requestCloseCount + 1 }));\n }\n\n render() {\n const customComponent = \"Fallback;\n return (\n
\n
\n \n
\n
{`Trigger event for: ${this.state.selectedKey}`}
\n
{`Request close count: ${this.state.requestCloseCount}`}
\n
\n );\n }\n}\n\nexport default MenuUtilityMenuExample;\n\n")))}R.isMDXComponent=!0;var M=["components"],j={};function P(e){var t=e.components,n=(0,l.Z)(e,M);return(0,r.mdx)("wrapper",(0,a.Z)({},j,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-scss"},":local {\n .avatar {\n height: 1.857rem;\n width: 1.857rem;\n }\n \n .content-wrapper {\n height: 300px;\n width: 300px;\n }\n}\n\n")))}P.isMDXComponent=!0;var I=function(e){var t=e.title,n=e.description,a=e.isExpanded;return i.createElement(h.Z,{title:t||"Menu Utility Menu Example",description:n,example:i.createElement(D.Z,null),exampleCssSrc:i.createElement(P,null),exampleSrc:i.createElement(R,null),isExpanded:a})},L=["components"],q={},K="wrapper";function B(e){var t=e.components,n=(0,l.Z)(e,L);return(0,r.mdx)(K,(0,a.Z)({},q,n,{components:t,mdxType:"MDXLayout"}),(0,r.mdx)(o.C,{mdxType:"Badge"}),(0,r.mdx)("h1",{id:"terra-application-utility"},"Terra Application Utility"),(0,r.mdx)("p",null,"The Utility is used to disclose a utility menu. There are two versions - a header version and menu version. These should be used with the corresponding ",(0,r.mdx)("inlineCode",{parentName:"p"},"terra-application-header-layout")," and ",(0,r.mdx)("inlineCode",{parentName:"p"},"terra-application-menu-layout")," components."),(0,r.mdx)("h2",{id:"getting-started"},"Getting Started"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Install with ",(0,r.mdx)("a",{parentName:"li",href:"https://www.npmjs.com/"},"npmjs"),":",(0,r.mdx)("ul",{parentName:"li"},(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("inlineCode",{parentName:"li"},"npm install terra-application-utility"))))),(0,r.mdx)("h2",{id:"peer-dependencies"},"Peer Dependencies"),(0,r.mdx)("p",null,"This component requires the following peer dependencies be installed in your app for the component to properly function."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Peer Dependency"),(0,r.mdx)("th",{parentName:"tr",align:null},"Version"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-dom"),(0,r.mdx)("td",{parentName:"tr",align:null},"^16.8.5")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"react-intl"),(0,r.mdx)("td",{parentName:"tr",align:null},"^2.8.0")))),(0,r.mdx)("h2",{id:"menu-items"},"Menu Items"),(0,r.mdx)("p",null,"The menu items are generated from an array of menu item objects, which can contain up to eight attributes: ",(0,r.mdx)("inlineCode",{parentName:"p"},"childKeys"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"content"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"contentLocation"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"isSelected"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"isSelectable"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"key"),", ",(0,r.mdx)("inlineCode",{parentName:"p"},"metaData"),", and ",(0,r.mdx)("inlineCode",{parentName:"p"},"title"),"."),(0,r.mdx)("ol",null,(0,r.mdx)("li",{parentName:"ol"},(0,r.mdx)("strong",{parentName:"li"},"childKeys")," is an optional array of ",(0,r.mdx)("inlineCode",{parentName:"li"},"keys")," (strings). Enables a nested page to be rendered when this menu item is selected. For each menu item within the nested page, store it's ",(0,r.mdx)("inlineCode",{parentName:"li"},"key")," within this ",(0,r.mdx)("inlineCode",{parentName:"li"},"childKeys")," array."),(0,r.mdx)("li",{parentName:"ol"},(0,r.mdx)("strong",{parentName:"li"},"content")," is an optional object. Enables custom components to be rendered as ",(0,r.mdx)("em",{parentName:"li"},"body")," items. Avoid using ",(0,r.mdx)("inlineCode",{parentName:"li"},"content")," as a footer item - it will always render as a button."),(0,r.mdx)("li",{parentName:"ol"},(0,r.mdx)("strong",{parentName:"li"},"contentLocation")," is an optional string, one of ",(0,r.mdx)("inlineCode",{parentName:"li"},"UtilityUtils.LOCATIONS.BODY")," or ",(0,r.mdx)("inlineCode",{parentName:"li"},"UtilityUtils.LOCATIONS.FOOTER"),". Indicates if an item will render within the body or footer. Body items will render as list items, while footer items will render as buttons. Items will default to ",(0,r.mdx)("em",{parentName:"li"},"body")," if ",(0,r.mdx)("inlineCode",{parentName:"li"},"contentLocation")," is not provided."),(0,r.mdx)("li",{parentName:"ol"},(0,r.mdx)("strong",{parentName:"li"},"isReadOnly")," is an optional boolean. It removes interactivity and interactive styling from an item, and prevents menu closure when clicked directly."),(0,r.mdx)("li",{parentName:"ol"},(0,r.mdx)("strong",{parentName:"li"},"isSelected")," is an optional boolean. Enables a HOC to manage the selected states of each item."),(0,r.mdx)("li",{parentName:"ol"},(0,r.mdx)("strong",{parentName:"li"},"isSelectable")," is an optional boolean. Indicates if an item is selectable. A checkmark will toggle on item selection."),(0,r.mdx)("li",{parentName:"ol"},(0,r.mdx)("strong",{parentName:"li"},"key")," is ",(0,r.mdx)("strong",{parentName:"li"},"required"),". Must be a unique value to differentiate itself from other items. ",(0,r.mdx)("inlineCode",{parentName:"li"},"key")," is returned, along with ",(0,r.mdx)("inlineCode",{parentName:"li"},"metaData"),", within the onChange."),(0,r.mdx)("li",{parentName:"ol"},(0,r.mdx)("strong",{parentName:"li"},"metaData")," is an optional object. Use this to store other data for this menu item, such as its parent ",(0,r.mdx)("inlineCode",{parentName:"li"},"key")," or another function. ",(0,r.mdx)("inlineCode",{parentName:"li"},"metaData")," is returned, along with ",(0,r.mdx)("inlineCode",{parentName:"li"},"key"),", within the onChange."),(0,r.mdx)("li",{parentName:"ol"},(0,r.mdx)("strong",{parentName:"li"},"title")," is an optional string. Sets the text to render for this item. If this menu item contains ",(0,r.mdx)("inlineCode",{parentName:"li"},"childrenKeys"),", ",(0,r.mdx)("inlineCode",{parentName:"li"},"title")," will be used as the header text for the nested page.")),(0,r.mdx)("p",null,"Displayed below is the explicit structure of a menu item:"),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-javascript"},"PropTypes.shape({\n /**\n * Array containing the keys of each child item of this item.\n */\n childKeys: PropTypes.arrayOf(PropTypes.string),\n /**\n * The component associated with this item.\n */\n content: PropTypes.object,\n /**\n * The location to place the item. One of UtilityUtils.LOCATIONS.BODY, UtilityUtils.LOCATIONS.FOOTER.\n */\n contentLocation: PropTypes.oneOf([LOCATIONS.BODY, LOCATIONS.FOOTER]),\n /**\n * Whether the item is read-only.\n */\n isReadOnly: PropTypes.bool,\n /**\n * Boolean indicating if the item is selected.\n */\n isSelected: PropTypes.bool,\n /**\n * Boolean indicating if the item is selectable.\n */\n isSelectable: PropTypes.bool,\n /**\n * The unique key associated with this item.\n */\n key: PropTypes.string.isRequired,\n /**\n * Optional meta data to be returned along with the item key within the onChange.\n */\n metaData: PropTypes.object,\n /**\n * The text associated with this item.\n */\n title: PropTypes.string,\n});\n")),(0,r.mdx)("p",null,"For reference, checkout the ",(0,r.mdx)("a",{parentName:"p",href:"https://github.com/cerner/terra-framework/blob/main/packages/terra-application-utility/src/terra-dev-site/doc/common/MockConfig.js"},"sample menu item config")," used for the bottom ",(0,r.mdx)("inlineCode",{parentName:"p"},"Utility Menu")," example."),(0,r.mdx)("h2",{id:"component-features"},"Component Features"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#cross-browser-support"},"Cross-Browser Support"),(0,r.mdx)("ul",{parentName:"li"},(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://babeljs.io/docs/usage/polyfill"},"babel-pollyfill")," is needed needed to support usage of the Map object in IE."))),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support"},"Responsive Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support"},"Mobile Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#internationalization-i18n"},"Internationalization Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#internationalization-i18n"},"Localization Support")),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("a",{parentName:"li",href:"https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#ltr--rtl"},"LTR/RTL Support"))),(0,r.mdx)("h2",{id:"examples"},"Examples"),(0,r.mdx)(N,{title:"Header: Utility",mdxType:"ApplicationHeaderUtilityExample"}),(0,r.mdx)(U,{title:"Menu: Utility",mdxType:"ApplicationMenuUtilityExample"}),(0,r.mdx)(I,{title:"Utility Menu",mdxType:"MenuUtilityMenuExample"}),(0,r.mdx)("h2",{id:"application-utility-props"},"Application Utility Props"),(0,r.mdx)(u,{mdxType:"ApplicationHeaderUtilityPropsTable"}))}B.isMDXComponent=!0},17901:function(e,t,n){n.d(t,{C:function(){return i}});var a=n(67294),l=n(22863),i=function(e){var t=e.url;return a.createElement(l.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-application-utility",name:"terra-application-utility",version:"2.54.0",url:t})}},87055:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(67413);t.default=function(e){return[{key:"menu",title:"Menu",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!1,metaData:{otherInformation:"Other Information"},childKeys:["item-1","item-2","item-3","item-4","item-5","item-6","item-7","item-8"]},{key:"item-1",title:"Name",content:e,contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!1,childKeys:["item-1.1"]},{key:"item-2",title:"Profile",isSelected:!1,isSelectable:!1,childKeys:["item-2.1","item-2.2"],id:"test-item-2"},{key:"item-3",title:"Notifications",contentLocation:a.UtilityUtils.LOCATIONS.FOOTER,isSelected:!1,isSelectable:!1,childKeys:[]},{key:"item-4",title:"Projects",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!1,childKeys:["item-4.1","item-4.2","item-4.3"]},{key:"item-1.1",title:"John Doe",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!1,metaData:{otherInformation:"Other Information"},childKeys:[]},{key:"item-2.1",title:"Gender: Male",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!1,childKeys:[]},{key:"item-2.2",title:"Location: Germany",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!1,childKeys:[]},{key:"item-4.1",title:"Project 1",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!1,childKeys:[]},{key:"item-4.2",title:"Project 2",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!1,childKeys:[]},{key:"item-4.3",title:"Project 3",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!1,childKeys:[]},{key:"item-5",title:"Skills",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!1,childKeys:["item-5.1","item-5.2"]},{key:"item-5.1",title:"Skill 1",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!0,childKeys:[]},{key:"item-5.2",title:"Skill 2",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!1,isSelectable:!0,childKeys:[]},{key:"item-6",title:"Logout",contentLocation:a.UtilityUtils.LOCATIONS.FOOTER,isSelected:!1,isSelectable:!0,childKeys:[]},{key:"item-7",title:"Drill-down capabilities provide the ability for the end-user to access different levels of information without creating ad hoc queries for each level of information. Instead the user is able to drill down to a detail level, or elevate to the summary level, through pull-down menus or mouse clicks.",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isSelected:!0,isSelectable:!1,childKeys:[],id:"test-item-7"},{key:"item-8",title:"Last logged in: yesterday",contentLocation:a.UtilityUtils.LOCATIONS.BODY,isReadOnly:!0,isSelected:!1,isSelectable:!1,childKeys:[],id:"test-item-8"}]}},89970:function(e,t,n){var a=n(64836);t.Z=void 0;var l=a(n(56690)),i=a(n(89728)),r=a(n(66115)),o=a(n(61655)),s=a(n(94993)),d=a(n(73808)),c=a(n(67294)),m=a(n(86442)),u=a(n(87055)),p=a(n(61803)),f=n(67413),y=a(n(47166)),x=a(n(45733));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,d.default)(e);if(t){var l=(0,d.default)(this).constructor;n=Reflect.construct(a,arguments,l)}else n=a.apply(this,arguments);return(0,s.default)(this,n)}}var g=y.default.bind(x.default),v=function(e){(0,o.default)(n,e);var t=h(n);function n(e){var a;return(0,l.default)(this,n),(a=t.call(this,e)).onDiscloseUtility=a.onDiscloseUtility.bind((0,r.default)(a)),a.state={discloseCount:0},a}return(0,i.default)(n,[{key:"onDiscloseUtility",value:function(){this.setState((function(e){return{discloseCount:e.discloseCount+1}}))}},{key:"render",value:function(){var e=c.default.createElement(m.default,{alt:"Fallback Avatar",src:p.default});return c.default.createElement("div",{className:g("container")},c.default.createElement("div",{className:g("content-wrapper")},c.default.createElement(f.ApplicationHeaderUtility,{menuItems:(0,u.default)(e),onChange:function(){},onDisclose:this.onDiscloseUtility,initialSelectedKey:"menu",title:"John Doe",accessory:e,variant:f.UtilityUtils.VARIANTS.HEADER})),c.default.createElement("div",null,"Disclose count: ".concat(this.state.discloseCount)))}}]),n}(c.default.Component);t.Z=v},67683:function(e,t,n){var a=n(64836);t.Z=void 0;var l=a(n(56690)),i=a(n(89728)),r=a(n(66115)),o=a(n(61655)),s=a(n(94993)),d=a(n(73808)),c=a(n(67294)),m=a(n(86442)),u=a(n(87055)),p=a(n(61803)),f=n(67413),y=a(n(47166)),x=a(n(13418));function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,d.default)(e);if(t){var l=(0,d.default)(this).constructor;n=Reflect.construct(a,arguments,l)}else n=a.apply(this,arguments);return(0,s.default)(this,n)}}var g=y.default.bind(x.default),v=function(e){(0,o.default)(n,e);var t=h(n);function n(e){var a;return(0,l.default)(this,n),(a=t.call(this,e)).onDiscloseUtility=a.onDiscloseUtility.bind((0,r.default)(a)),a.handleOnChange=a.handleOnChange.bind((0,r.default)(a)),a.state={discloseCount:0,selectedKey:null},a}return(0,i.default)(n,[{key:"handleOnChange",value:function(e,t){this.setState({selectedKey:t})}},{key:"onDiscloseUtility",value:function(){this.setState((function(e){return{discloseCount:e.discloseCount+1}}))}},{key:"render",value:function(){var e=c.default.createElement(m.default,{alt:"Fallback Avatar",src:p.default});return c.default.createElement("div",null,c.default.createElement("div",{className:g("content-wrapper")},c.default.createElement(f.ApplicationMenuUtility,{menuItems:(0,u.default)(e),onChange:this.handleOnChange,onDisclose:this.onDiscloseUtility,initialSelectedKey:"menu",title:"John Doe",accessory:e,variant:f.UtilityUtils.VARIANTS.MENU})),c.default.createElement("div",null,"Trigger event for: ".concat(this.state.selectedKey,".")),c.default.createElement("div",null,"Disclose count: ".concat(this.state.discloseCount,".")))}}]),n}(c.default.Component);t.Z=v},38255:function(e,t,n){var a=n(64836);t.Z=void 0;var l=a(n(56690)),i=a(n(89728)),r=a(n(66115)),o=a(n(61655)),s=a(n(94993)),d=a(n(73808)),c=a(n(67294)),m=a(n(86442)),u=a(n(87055)),p=a(n(61803)),f=n(67413),y=a(n(17045)),x=a(n(47166)),h=a(n(69683));function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,d.default)(e);if(t){var l=(0,d.default)(this).constructor;n=Reflect.construct(a,arguments,l)}else n=a.apply(this,arguments);return(0,s.default)(this,n)}}var v=x.default.bind(h.default),b=function(e){(0,o.default)(n,e);var t=g(n);function n(e){var a;return(0,l.default)(this,n),(a=t.call(this,e)).handleOnChange=a.handleOnChange.bind((0,r.default)(a)),a.handleOnRequestClose=a.handleOnRequestClose.bind((0,r.default)(a)),a.state={selectedKey:null,requestCloseCount:0},a}return(0,i.default)(n,[{key:"handleOnChange",value:function(e,t){this.setState({selectedKey:t.key})}},{key:"handleOnRequestClose",value:function(){this.setState((function(e){return{requestCloseCount:e.requestCloseCount+1}}))}},{key:"render",value:function(){var e=c.default.createElement(m.default,{alt:"Fallback Avatar",src:p.default,className:v("avatar")});return c.default.createElement("div",null,c.default.createElement("div",{className:v("content-wrapper")},c.default.createElement(y.default,{initialSelectedKey:"menu",isHeightBounded:!0,menuItems:(0,u.default)(e),onChange:this.handleOnChange,onRequestClose:this.handleOnRequestClose,variant:f.UtilityUtils.VARIANTS.MENU})),c.default.createElement("div",null,"Trigger event for: ".concat(this.state.selectedKey)),c.default.createElement("div",null,"Request close count: ".concat(this.state.requestCloseCount)))}}]),n}(c.default.Component);t.Z=b},61803:function(e,t,n){n.r(t),t.default=n.p+"f16872401d9765e4d153141156f6f5f2.svg"},17422: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"}},53560: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"}},66633:function(e,t,n){n.r(t),t.default={arrange:"Arrange-module__arrange___hY0Ml",fill:"Arrange-module__fill___m88eq",fit:"Arrange-module__fit___tv8j-",center:"Arrange-module__center___9qfhG",bottom:"Arrange-module__bottom___8beod",stretch:"Arrange-module__stretch___eQF-k",default:"Arrange-module__default___z+O29"}},45733:function(e,t,n){n.r(t),t.default={container:"ApplicationHeaderUtilityExample-module__container___GkMGI","content-wrapper":"ApplicationHeaderUtilityExample-module__content-wrapper___mmh03"}},13418:function(e,t,n){n.r(t),t.default={"content-wrapper":"ApplicationMenuUtilityExample-module__content-wrapper___gD528"}},69683:function(e,t,n){n.r(t),t.default={avatar:"MenuUtilityMenuExample-module__avatar___lfaZq","content-wrapper":"MenuUtilityMenuExample-module__content-wrapper___HV8sN"}},78490:function(e,t,n){function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AlignmentTypes=void 0;var l=d(n(67294)),i=d(n(45697)),r=d(n(47166)),o=d(n(66633)),s=["fitStart","fill","fitEnd","align","alignFitStart","alignFill","alignFitEnd","fitStartAttributes","fillAttributes","fitEndAttributes"];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||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}t.AlignmentTypes={CENTER:"center",BOTTOM:"bottom",STRETCH:"stretch"};var y=r.default.bind(o.default),x={fitStart:i.default.element,fill:i.default.element.isRequired,fitEnd:i.default.element,align:i.default.oneOf(["center","bottom","stretch"]),alignFitStart:i.default.oneOf(["center","bottom","stretch"]),alignFitEnd:i.default.oneOf(["center","bottom","stretch"]),alignFill:i.default.oneOf(["center","bottom","stretch"]),fitStartAttributes:i.default.object,fillAttributes:i.default.object,fitEndAttributes:i.default.object},h=function(e){var t=e.fitStart,n=e.fill,a=e.fitEnd,i=e.align,r=e.alignFitStart,o=e.alignFill,d=e.alignFitEnd,m=e.fitStartAttributes,p=e.fillAttributes,x=e.fitEndAttributes,h=f(e,s),g=u({},m),v=u({},p),b=u({},x);return l.default.createElement("span",c({},h,{className:y("arrange",h.className)}),l.default.createElement("span",c({},g,{className:y("fit",i||r,g.className,"fit-block")}),t),l.default.createElement("span",c({},v,{className:y("fill",i||o,v.className,"fill-block")}),n),l.default.createElement("span",c({},b,{className:y("fit",i||d,b.className)}),a))};h.propTypes=x;t.default=h},91021:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n(67294)),l=i(n(99139));function i(e){return e&&e.__esModule?e:{default:e}}function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t (\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: 'modal',\n content: {\n key: 'MY-MODAL-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")))}d.isMDXComponent=!0},557:function(e,n,a){a.d(n,{C:function(){return o}});var r=a(67294),t=a(22863),o=function(e){var n=e.url;return r.createElement(t.Z,{src:"https://github.com/cerner/terra-framework/tree/main/packages/terra-disclosure-manager",name:"terra-disclosure-manager",version:"4.43.0",url:n})}},17422: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"}},87462:function(e,n,a){function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(t[a]=e[a]);return t}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}return t}a.d(n,{Z:function(){return r}})}}]); \ No newline at end of file diff --git a/pull/1911/23531-2dbe73d6f0607726419d.css b/pull/1911/23531-2dbe73d6f0607726419d.css new file mode 100644 index 00000000000..0fe5a6d7b2f --- /dev/null +++ b/pull/1911/23531-2dbe73d6f0607726419d.css @@ -0,0 +1,2 @@ +.LayoutSlidePanel-module__clinical-lowlight-theme___q2naq{--terra-layout-slide-panel-overlay-panel-ltr-box-shadow: 1px 0 0 0 #101010, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);--terra-layout-slide-panel-overlay-panel-rtl-box-shadow: -1px 0 0 0 #101010, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);--terra-layout-slide-panel-panel-background-color: #181b1d;--terra-layout-slide-panel-squish-panel-background-color: #383f42;--terra-layout-slide-panel-squish-panel-border-right-color: #383f42;--terra-layout-slide-panel-squish-panel-ltr-box-shadow: none;--terra-layout-slide-panel-squish-panel-rtl-box-shadow: none;--terra-layout-slide-panel-panel-width: 18.571rem;--terra-layout-slide-panel-tiny-panel-width: calc(100% - 3.571rem);--terra-layout-slide-panel-small-panel-width: 22.857rem;--terra-layout-slide-panel-squish-panel-border-right-width: 1px}.LayoutSlidePanel-module__orion-fusion-theme___2KWcp{--terra-layout-slide-panel-overlay-panel-ltr-box-shadow: 1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);--terra-layout-slide-panel-overlay-panel-rtl-box-shadow: -1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);--terra-layout-slide-panel-panel-background-color: #fff;--terra-layout-slide-panel-squish-panel-background-color: #fff;--terra-layout-slide-panel-squish-panel-border-right-color: #d3d4d5;--terra-layout-slide-panel-squish-panel-ltr-box-shadow: none;--terra-layout-slide-panel-squish-panel-rtl-box-shadow: none;--terra-layout-slide-panel-panel-width: 18.571rem;--terra-layout-slide-panel-tiny-panel-width: calc(100% - 3.571rem);--terra-layout-slide-panel-small-panel-width: 22.857rem;--terra-layout-slide-panel-squish-panel-border-right-width: 1px}.LayoutSlidePanel-module__content-container___vB31H{outline:none}.LayoutSlidePanel-module__layout-slide-panel___6Ra3S{height:100%;overflow:hidden;position:relative;width:100%}.LayoutSlidePanel-module__content___Qa4PX,.LayoutSlidePanel-module__panel___xUrqy{box-sizing:border-box;height:100%;overflow:hidden;transition:none}[dir=ltr] .LayoutSlidePanel-module__is-animated___1uvdg{transition:left .15s ease}[dir=rtl] .LayoutSlidePanel-module__is-animated___1uvdg{transition:right .15s ease}.LayoutSlidePanel-module__content___Qa4PX{position:relative;width:100%;z-index:0}[dir=ltr] .LayoutSlidePanel-module__content___Qa4PX{float:right}[dir=rtl] .LayoutSlidePanel-module__content___Qa4PX{float:left}.LayoutSlidePanel-module__panel___xUrqy{position:absolute;width:18.571rem;width:var(--terra-layout-slide-panel-panel-width, 18.571rem);z-index:5000}[dir] .LayoutSlidePanel-module__panel___xUrqy{background-color:#fff;background-color:var(--terra-layout-slide-panel-panel-background-color, #fff)}[dir=ltr] .LayoutSlidePanel-module__panel___xUrqy{left:-100%}[dir=rtl] .LayoutSlidePanel-module__panel___xUrqy{right:-100%}[dir=ltr] .LayoutSlidePanel-module__is-open___eTmJC>.LayoutSlidePanel-module__panel___xUrqy{left:0}[dir=rtl] .LayoutSlidePanel-module__is-open___eTmJC>.LayoutSlidePanel-module__panel___xUrqy{right:0}.LayoutSlidePanel-module__panel___xUrqy.LayoutSlidePanel-module__is-tiny___9Oz70{width:calc(100% - 3.571rem);width:var(--terra-layout-slide-panel-tiny-panel-width, calc(100% - 3.571rem))}.LayoutSlidePanel-module__panel___xUrqy.LayoutSlidePanel-module__is-small___JXknd{width:22.857rem;width:var(--terra-layout-slide-panel-small-panel-width, 22.857rem)}[dir=ltr] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-overlay___s9u4z>.LayoutSlidePanel-module__panel___xUrqy{box-shadow:1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);box-shadow:var(--terra-layout-slide-panel-overlay-panel-ltr-box-shadow, 1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8))}[dir=rtl] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-overlay___s9u4z>.LayoutSlidePanel-module__panel___xUrqy{box-shadow:-1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8);box-shadow:var(--terra-layout-slide-panel-overlay-panel-rtl-box-shadow, -1px 0 0 0 #1c1f21, 0 0 5px 1px #000, 0 0 12px 2px rgba(0, 0, 0, 0.8))}.LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__content___Qa4PX{width:calc(100% - 18.571rem - 1px);width:calc(100% - var(--terra-layout-slide-panel-panel-width, 18.571rem) - var(--terra-layout-slide-panel-squish-panel-border-right-width, 1px))}.LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{transition:none;width:calc(1px + 18.571rem);width:calc(var(--terra-layout-slide-panel-squish-panel-border-right-width, 1px) + var(--terra-layout-slide-panel-panel-width, 18.571rem))}[dir] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{background-color:#fff;background-color:var(--terra-layout-slide-panel-squish-panel-background-color, #fff)}[dir=ltr] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{border-right-color:#d3d4d5;border-right-color:var(--terra-layout-slide-panel-squish-panel-border-right-color, #d3d4d5);border-right-style:solid;border-right-width:1px;border-right-width:var(--terra-layout-slide-panel-squish-panel-border-right-width, 1px)}[dir=rtl] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{border-left-color:#d3d4d5;border-left-color:var(--terra-layout-slide-panel-squish-panel-border-right-color, #d3d4d5);border-left-style:solid;border-left-width:1px;border-left-width:var(--terra-layout-slide-panel-squish-panel-border-right-width, 1px)}[dir=ltr] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{box-shadow:var(--terra-layout-slide-panel-squish-panel-ltr-box-shadow)}[dir=rtl] .LayoutSlidePanel-module__is-open___eTmJC.LayoutSlidePanel-module__is-squish___c1HSt>.LayoutSlidePanel-module__panel___xUrqy{box-shadow:var(--terra-layout-slide-panel-squish-panel-rtl-box-shadow)}.LayoutSlidePanel-module__panel___xUrqy[aria-hidden=true]{visibility:hidden}.LayoutSlidePanel-module__main-container___xHsZe{display:block;height:100%} +.TestLayoutCommon-module__panel-content___11P0K,.TestLayoutCommon-module__layout-slide-panel-content___005M-,.TestLayoutCommon-module__content-wrapper___rNhg8{position:relative;width:100%}.TestLayoutCommon-module__panel-content___11P0K{height:100%}[dir] .TestLayoutCommon-module__panel-content___11P0K{background-color:red}.TestLayoutCommon-module__layout-slide-panel-content___005M-{height:100%}[dir] .TestLayoutCommon-module__layout-slide-panel-content___005M-{background-color:blue}.TestLayoutCommon-module__layout-test___vmcFP,.TestLayoutCommon-module__content-wrapper___rNhg8{height:768px} diff --git a/pull/1911/23531-2dbe73d6f0607726419d.js b/pull/1911/23531-2dbe73d6f0607726419d.js new file mode 100644 index 00000000000..beac2bed42d --- /dev/null +++ b/pull/1911/23531-2dbe73d6f0607726419d.js @@ -0,0 +1 @@ +(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[23531],{23531:function(e,t,n){"use strict";var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(56690)),l=a(n(89728)),i=a(n(66115)),r=a(n(61655)),u=a(n(94993)),d=a(n(73808)),s=a(n(67294)),c=a(n(47166)),f=a(n(96667)),p=a(n(41643));function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,d.default)(e);if(t){var o=(0,d.default)(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(0,u.default)(this,n)}}var _=c.default.bind(p.default),h=function(e){(0,r.default)(n,e);var t=m(n);function n(e){var a;return(0,o.default)(this,n),(a=t.call(this,e)).toggleMenu=a.toggleMenu.bind((0,i.default)(a)),a.state={isOpen:!1},a}return(0,l.default)(n,[{key:"toggleMenu",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"render",value:function(){return s.default.createElement("div",{className:_("content-wrapper")},s.default.createElement(f.default,{panelContent:s.default.createElement("div",{className:_("panel-content")},s.default.createElement("button",{type:"button",id:"test-toggle-2",onClick:this.toggleMenu},"toggle")),panelBehavior:"overlay",size:"medium",isOpen:this.state.isOpen,isToggleEnabled:!0,isAnimated:!0,onToggle:function(){},toggleText:"toggle text"},s.default.createElement("div",{className:_("layout-slide-panel-content")},s.default.createElement("button",{type:"button",id:"test-toggle-1",onClick:this.toggleMenu},"toggle"))))}}]),n}(s.default.Component);t.default=h},96667:function(e,t,n){"use strict";var a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(10434)),l=a(n(70215)),i=a(n(56690)),r=a(n(89728)),u=a(n(66115)),d=a(n(61655)),s=a(n(94993)),c=a(n(73808)),f=a(n(67294)),p=a(n(45697)),m=a(n(94184)),_=a(n(47166)),h=a(n(47341)),y=a(n(9220)),v=a(n(40693)),g=a(n(15059)),b=a(n(11686)),T=["isAnimated","isOpen","isToggleEnabled","children","panelBehavior","panelContent","size","onToggle","toggleText"];function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(a,arguments,o)}else n=a.apply(this,arguments);return(0,s.default)(this,n)}}var N=_.default.bind(b.default),P={isAnimated:p.default.bool,isOpen:p.default.bool,isToggleEnabled:p.default.bool,children:p.default.element,panelBehavior:p.default.oneOf(["overlay","squish"]),panelContent:p.default.node,size:p.default.string.isRequired,onToggle:p.default.func,toggleText:p.default.string},S=function(e){(0,d.default)(n,e);var t=E(n);function n(e){var a;return(0,i.default)(this,n),(a=t.call(this,e)).setPanelNode=a.setPanelNode.bind((0,u.default)(a)),a.handleTransitionEnd=a.handleTransitionEnd.bind((0,u.default)(a)),a.preparePanelForTransition=a.preparePanelForTransition.bind((0,u.default)(a)),a.isHidden=!e.isOpen,a}return(0,r.default)(n,[{key:"componentDidMount",value:function(){document.createElement("main"),this.panelNode&&this.panelNode.addEventListener("transitionend",this.handleTransitionEnd)}},{key:"componentDidUpdate",value:function(){this.lastIsOpen=this.props.isOpen}},{key:"componentWillUnmount",value:function(){this.panelNode&&this.panelNode.removeEventListener("transitionend",this.handleTransitionEnd)}},{key:"handleTransitionEnd",value:function(){!this.props.isOpen&&this.panelNode&&(this.panelNode.setAttribute("aria-hidden","true"),this.isHidden=!0,document.querySelector("button[data-application-header-toggle]")?document.querySelector("button[data-application-header-toggle]").focus():(0,g.default)(document.querySelector("[data-terra-layout-main]"))[0]&&(0,g.default)(document.querySelector("[data-terra-layout-main]"))[0].focus())}},{key:"setPanelNode",value:function(e){this.panelNode=e}},{key:"preparePanelForTransition",value:function(){this.props.isOpen&&!this.lastIsOpen&&this.panelNode&&(this.panelNode.setAttribute("aria-hidden","false"),this.isHidden=!1,(0,g.default)(this.panelNode)[0]&&(0,g.default)(this.panelNode)[0].focus())}},{key:"render",value:function(){var e=this.props,t=e.isAnimated,n=e.isOpen,a=(e.isToggleEnabled,e.children),i=e.panelBehavior,r=e.panelContent,u=e.size,d=e.onToggle,s=(e.toggleText,(0,l.default)(e,T));this.preparePanelForTransition();var c="tiny"===u,p="small"===u,_=c||p,h=!!_||"overlay"===i,g=n&&h,b=_?"dark":"clear",E=this.context,P=(0,m.default)(N("layout-slide-panel",{"is-open":n},{"is-overlay":h},{"is-squish":!h},E.className),s.className),S=N("panel",{"is-tiny":c},{"is-small":p},{"is-animated":t&&h&&!!r});return f.default.createElement("div",(0,o.default)({},s,{className:P}),f.default.createElement("div",{className:S,"aria-hidden":this.isHidden?"true":"false",ref:this.setPanelNode},r),f.default.createElement(v.default,{className:N("content")},f.default.createElement(y.default,{isRelativeToContainer:!0,onRequestClose:d,isOpen:g,backgroundStyle:b,zIndex:"6000"}),f.default.createElement("main",{role:"main","data-terra-layout-main":!0,className:N("main-container")},a)))}}]),n}(f.default.Component);S.propTypes=P,S.defaultProps={isAnimated:!1,isOpen:!1,isToggleEnabled:!1,panelBehavior:"overlay"},S.contextType=h.default;t.default=S},41643:function(e,t,n){"use strict";n.r(t),t.default={"panel-content":"TestLayoutCommon-module__panel-content___11P0K","layout-slide-panel-content":"TestLayoutCommon-module__layout-slide-panel-content___005M-","content-wrapper":"TestLayoutCommon-module__content-wrapper___rNhg8","layout-test":"TestLayoutCommon-module__layout-test___vmcFP"}},11686:function(e,t,n){"use strict";n.r(t),t.default={"clinical-lowlight-theme":"LayoutSlidePanel-module__clinical-lowlight-theme___q2naq","orion-fusion-theme":"LayoutSlidePanel-module__orion-fusion-theme___2KWcp","content-container":"LayoutSlidePanel-module__content-container___vB31H","layout-slide-panel":"LayoutSlidePanel-module__layout-slide-panel___6Ra3S",content:"LayoutSlidePanel-module__content___Qa4PX",panel:"LayoutSlidePanel-module__panel___xUrqy","is-animated":"LayoutSlidePanel-module__is-animated___1uvdg","is-open":"LayoutSlidePanel-module__is-open___eTmJC","is-tiny":"LayoutSlidePanel-module__is-tiny___9Oz70","is-small":"LayoutSlidePanel-module__is-small___JXknd","is-overlay":"LayoutSlidePanel-module__is-overlay___s9u4z","is-squish":"LayoutSlidePanel-module__is-squish___c1HSt","main-container":"LayoutSlidePanel-module__main-container___xHsZe"}},15059:function(e){var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),a="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function o(e,t){t=t||{};var o,i,r,s=[],c=[],f=e.querySelectorAll(n);for(t.includeContainer&&a.call(e,n)&&(f=Array.prototype.slice.apply(f)).unshift(e),o=0;o=0||(d[l]=e[l]);return d}(e,a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(m=0;m=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(d[l]=e[l])}return d}l.d(a,{Z:function(){return m}})}}]); \ No newline at end of file diff --git a/pull/1911/24045-64f89342d8bdcd58a1da.css b/pull/1911/24045-64f89342d8bdcd58a1da.css new file mode 100644 index 00000000000..1d7e8a6b2bd --- /dev/null +++ b/pull/1911/24045-64f89342d8bdcd58a1da.css @@ -0,0 +1,12 @@ +.Cell-module__clinical-lowlight-theme___JlIUL{--terra-table-cell-border-bottom: 1px solid #181b1d;--terra-table-cell-border-left: 1px solid #181b1d;--terra-table-cell-border-right: 1px solid #181b1d;--terra-table-cell-selected-background-color: #1e3a49;--terra-table-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-highlight-mask-background: repeating-linear-gradient(-45deg, #434647, #434647 3px, transparent 3px, transparent 6px);--terra-table-odd-row-hover-background-color: #25282a;--terra-table-even-row-hover-background-color: #1d2225;--terra-table-pinned-columns-cell-border: 1px solid #181b1d}.Cell-module__orion-fusion-theme___HW1Ki{--terra-table-cell-border-bottom: 1px solid #c8cacb;--terra-table-cell-border-left: 1px solid #c8cacb;--terra-table-cell-border-right: 1px solid #c8cacb;--terra-table-cell-selected-background-color: #cbe7fa;--terra-table-odd-row-hover-background-color: #e0f2fb;--terra-table-even-row-hover-background-color: #d6e8f2;--terra-table-pinned-columns-cell-border: 1px solid #c8cacb}.Cell-module__cell___XID6c{font-weight:normal;position:relative}[dir] .Cell-module__cell___XID6c{border-bottom:1px solid #dedfe0;border-bottom:var(--terra-table-cell-border-bottom, 1px solid #dedfe0);padding:7px;padding:var(--terra-table-cell-content-padding, 7px)}[dir=ltr] .Cell-module__cell___XID6c{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=ltr] .Cell-module__cell___XID6c:first-child{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir=rtl] .Cell-module__cell___XID6c:first-child{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0)}[dir] .Cell-module__selected___3WHxU{background-color:#cbe7fa;background-color:var(--terra-table-cell-selected-background-color, #cbe7fa)}[dir=ltr] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(-45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=rtl] .Cell-module__masked___yW7Cf{background:repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px);background:var(--terra-table-mask-background, repeating-linear-gradient(45deg, #dedfe0, #dedfe0 3px, transparent 3px, transparent 6px))}[dir=ltr] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(-45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}[dir=rtl] .Cell-module__masked___yW7Cf.Cell-module__highlighted___4hj9T{background:repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px);background:var(--terra-table-highlight-mask-background, repeating-linear-gradient(45deg, #cfd2d3, #cfd2d3 3px, #cbe7fa 3px, #cbe7fa 6px))}.Cell-module__cell-content___FhljD{overflow:hidden;overflow-wrap:break-word}[dir=ltr] .Cell-module__cell-content___FhljD{text-align:left}[dir=rtl] .Cell-module__cell-content___FhljD{text-align:right}.Cell-module__cell-content___FhljD .Cell-module__no-data-cell___6er9D{color:rgba(0,0,0,0)}.Cell-module__pinned___y2cJe{position:-webkit-sticky;position:sticky;z-index:1}[dir] .Cell-module__pinned___y2cJe:not(.Cell-module__selected___3WHxU){background-color:inherit}[dir] tr:nth-child(odd) .Cell-module__selectable___BAIg5:hover{background-color:#e0f2fb;background-color:var(--terra-table-odd-row-hover-background-color, #e0f2fb);cursor:pointer}[dir] tr:nth-child(even) .Cell-module__selectable___BAIg5:hover{background-color:#d3e5ee;background-color:var(--terra-table-even-row-hover-background-color, #d3e5ee);cursor:pointer} +.RowSelectionCell-module__input___\+\+BBM{display:-ms-flexbox;display:flex;height:16px;width:16px}[dir] .RowSelectionCell-module__input___\+\+BBM{margin:auto} +.Row-module__clinical-lowlight-theme___LqsJk{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Row-module__orion-fusion-theme___uCwnV{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}[dir] .Row-module__striped-table-row___0o1z0:nth-child(even){background-color:#f0f0f0;background-color:var(--terra-table-row-striped-background-color, #f0f0f0)}[dir] .Row-module__row___kR-J-{background-color:#fff;background-color:var(--terra-table-row-background-color, #fff)}[dir] .Row-module__row___kR-J-.Row-module__selectable___r9jUT:hover{background-color:#e2f2fc;background-color:var(--terra-table-row-hover-background-color, #e2f2fc);cursor:pointer}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP{background-color:#cbe7fa;background-color:var(--terra-table-row-selected-background-color, #cbe7fa)}[dir=ltr] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-right:1px solid #0092e0}[dir=rtl] .Row-module__row___kR-J-.Row-module__selected___ojIZP{border-left:1px solid #0092e0}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-bottom:1px solid #0092e0;border-bottom:var(--terra-table-row-highlight-border-bottom, 1px solid #0092e0)}[dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child td, [dir] .Row-module__row___kR-J-.Row-module__selected___ojIZP:first-child th, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP td, [dir] .Row-module__row___kR-J-:not(.Row-module__selected___ojIZP)+.Row-module__row___kR-J-.Row-module__selected___ojIZP th{border-top:1px solid #0092e0;border-top:var(--terra-table-row-highlight-border-top, 1px solid #0092e0)} +.Section-module__clinical-lowlight-theme___CmVbA{--terra-table-row-striped-background-color: #2d3539;--terra-table-row-background-color: #6e6f71;--terra-table-row-selected-background-color: #1e3a49;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #004c76, inset 0 -1px 0 0 #004c76;--terra-table-row-hover-background-color: #232a2d;--terra-table-row-highlight-border-top: 1px solid #004c76;--terra-table-row-highlight-border-bottom: 1px solid #004c76}.Section-module__orion-fusion-theme___42iAO{--terra-table-row-striped-background-color: #f4f4f4;--terra-table-row-selected-background-color: #cbe7fa;--terra-table-row-selected-box-shadow: inset 0 1px 0 0 #0092e0, inset 0 -1px 0 0 #0092e0;--terra-table-row-background-color: #fefffe}.Section-module__section___Rf5QD.Section-module__collapsed___M5LcR{display:none}.Section-module__header___Q0nuu{position:relative;z-index:3}[dir=ltr] .Section-module__header___Q0nuu th{border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-right, 1px solid #dedfe0)}[dir=rtl] .Section-module__header___Q0nuu th{border-right:1px solid #dedfe0;border-right:var(--terra-table-cell-border-left, 1px solid #dedfe0);border-left:1px solid #dedfe0;border-left:var(--terra-table-cell-border-right, 1px solid #dedfe0)} +.ColumnResizeHandle-module__orion-fusion-theme___uvYEY{--terra-table-resize-handle-active-border-color: #517ea5;--terra-table-resize-handle-hover-border-color: #e4f1f7}.ColumnResizeHandle-module__clinical-lowlight-theme___MWieH{--terra-table-resize-handle-active-border-color: rgba(34, 42, 46, 1);--terra-table-resize-handle-hover-border-color: rgba(34, 42, 46, 0.6)}.ColumnResizeHandle-module__resize-handle___rckkL{display:block;height:100%;position:absolute;top:0;width:22px;z-index:1}[dir] .ColumnResizeHandle-module__resize-handle___rckkL{cursor:col-resize}[dir=ltr] .ColumnResizeHandle-module__resize-handle___rckkL{border-right:4px solid rgba(0,0,0,0);right:0}[dir=rtl] .ColumnResizeHandle-module__resize-handle___rckkL{border-left:4px solid rgba(0,0,0,0);left:0}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:active{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important}.ColumnResizeHandle-module__resize-handle___rckkL:focus{outline:0 !important}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:focus{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle___rckkL:hover{border-color:rgba(34, 42, 46, 0.6);border-color:var(--terra-table-resize-handle-hover-border-color, rgba(34, 42, 46, 0.6))}[dir] .ColumnResizeHandle-module__resize-handle-selected___-zzct{border-color:rgb(34, 42, 46) !important;border-color:var(--terra-table-resize-handle-active-border-color, rgb(34, 42, 46)) !important} +.ColumnHeaderCell-module__clinical-lowlight-theme___E4AJx{--terra-table-column-header-text-color: #b2b5b6;--terra-table-column-header-background-color: #151719;--terra-table-column-header-border-bottom: 1px solid #181b1d;--terra-table-column-header-border-left: 1px solid #181b1d;--terra-table-column-header-border-right: 1px solid #181b1d;--terra-table-column-header-border-top: 1px solid #181b1d;--terra-table-pinned-columns-header-border: 1px solid #181b1d;--terra-table-pinned-columns-header-box-shadow: 1px 0 #181b1d;--terra-table-pinned-columns-divider-background-color: #181b1d;--terra-table-pinned-columns-divider-box-shadow: 4px -1px 6px #181b1d;--terra-table-header-hover-background-color: #0c0f10}.ColumnHeaderCell-module__orion-fusion-theme___LLv1A{--terra-table-column-header-text-color: #4e5356;--terra-table-column-header-background-color: #f4f4f4;--terra-table-column-header-border-bottom: 2px solid #9b9fa1;--terra-table-column-header-border-left: 1px solid #c8cacb;--terra-table-column-header-border-right: 1px solid #c8cacb;--terra-table-column-header-border-top: 1px solid #c8cacb;--terra-table-pinned-columns-header-border: 1px solid #c8cacb;--terra-table-pinned-columns-header-box-shadow: 1px 0 #c8cacb;--terra-table-header-hover-background-color: #d5e7f2}.ColumnHeaderCell-module__column-header___oWlRh{color:var(--terra-table-column-header-text-color);position:-webkit-sticky;position:sticky;top:0;z-index:1}[dir] .ColumnHeaderCell-module__column-header___oWlRh{background-color:#dedfe0;background-color:var(--terra-table-column-header-background-color, #dedfe0);border-bottom:1px solid #000;border-bottom:var(--terra-table-column-header-border-bottom, 1px solid #000);border-top:1px solid #000;border-top:var(--terra-table-column-header-border-top, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-right, 1px solid #000)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-left:1px solid #000;border-left:var(--terra-table-column-header-border-left, 1px solid #000)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh:first-child{border-right:1px solid #000;border-right:var(--terra-table-column-header-border-left, 1px solid #000)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__header-container___Bvm2V{padding:5px;padding:var(--terra-table-header-cell-padding, 5px)}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-right:5px;margin-right:var(--terra-table-error-icon-margin-right, 5px)}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__error-icon___8bLJu{margin-left:5px;margin-left:var(--terra-table-error-icon-margin-right, 5px)}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{-ms-flex:1;flex:1;font-weight:normal;outline:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[dir] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{background:rgba(0,0,0,0);border:0}[dir=ltr] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:left}[dir=rtl] .ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l{text-align:right}.ColumnHeaderCell-module__column-header___oWlRh .ColumnHeaderCell-module__display-text___A4k3l.ColumnHeaderCell-module__hidden___Tu-Xs{color:rgba(0,0,0,0)}[dir] .ColumnHeaderCell-module__selectable___JFI4E:hover{background-color:#daecf6;background-color:var(--terra-table-header-hover-background-color, #daecf6);cursor:pointer}.ColumnHeaderCell-module__pinned___Qusyo{position:-webkit-sticky;position:sticky;z-index:2 !important}.ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{position:absolute;top:0;width:2px}[dir] .ColumnHeaderCell-module__pinned-columns-divider___Kl7gb{background-color:#808080;background-color:var(--terra-table-pinned-columns-divider-background-color, #808080);box-shadow:4px -1px 6px #808080;box-shadow:var(--terra-table-pinned-columns-divider-box-shadow, 4px -1px 6px #808080)} +.ColumnHeader-module__hidden___I3b7-{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}[dir] .ColumnHeader-module__hidden___I3b7-{border:0;margin:-1px;padding:0} +.Table-module__clinical-lowlight-theme___G2b7R{--terra-table-cell-focus-outline: 3px dashed #fff;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #181b1d}.Table-module__orion-fusion-theme___iu\+p1{--terra-table-cell-focus-outline: 3px dashed #000;--terra-table-cell-focus-outline-offset: -2px;--terra-table-headerless-first-row-border-top: 1px solid #c8cacb}.Table-module__table-container___g4Byi{height:100%;overflow:auto;width:100%}.Table-module__table___wcFdg{border-collapse:separate;border-spacing:0;table-layout:fixed;width:1px}[dir=ltr] .Table-module__table___wcFdg{margin-right:15px}[dir=rtl] .Table-module__table___wcFdg{margin-left:15px}.Table-module__table___wcFdg :focus{outline:3px dashed #000;outline:var(--terra-table-cell-focus-outline, 3px dashed #000);outline-offset:-2px;outline-offset:var(--terra-table-cell-focus-outline-offset, -2px)}[dir] .Table-module__headerless___eod6K tr:first-child td, [dir] .Table-module__headerless___eod6K tr:first-child th{border-top:1px solid #dedfe0;border-top:var(--terra-table-headerless-first-row-border-top, 1px solid #dedfe0)} +.WorklistDataGrid-module__worklist-data-grid-container___IbMs4{height:100%;width:100%} +.DataGrid-module__data-grid-container___4LJj1{height:100%;width:100%}table{-webkit-user-select:none;-ms-user-select:none;user-select:none} +.FlowsheetDataGrid-module__flowsheet-data-grid-container___O1y8B{height:100%;width:100%} +.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)} diff --git a/pull/1911/24045-64f89342d8bdcd58a1da.js b/pull/1911/24045-64f89342d8bdcd58a1da.js new file mode 100644 index 00000000000..5e7480a5c1e --- /dev/null +++ b/pull/1911/24045-64f89342d8bdcd58a1da.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[24045],{49271:function(e,n,t){var a=t(64836),o=t(18698);n.Z=void 0;var l=a(t(27424)),r=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=f(n);if(t&&t.has(e))return t.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var c=l?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(a,r,c):a[r]=e[r]}a.default=e,t&&t.set(e,a);return a}(t(67294)),c=a(t(45697)),i=a(t(47166)),s=t(21538),d=a(t(33864)),u=a(t(23399)),m=t(51051),p=a(t(53560));function f(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(f=function(e){return e?t:n})(e)}var w=i.default.bind(p.default),h={example:c.default.element,exampleSrc:c.default.element,exampleCssSrc:c.default.element,title:c.default.string,description:c.default.node,isExpanded:c.default.bool},b=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","true")},S=function(e){e.currentTarget.setAttribute("data-focus-styles-enabled","false")},x=function(e){var n=e.example,t=e.exampleSrc,a=e.exampleCssSrc,o=e.title,c=e.description,i=e.isExpanded,p=(0,r.useState)(i),f=(0,l.default)(p,2),h=f[0],x=f[1],y=(0,r.useState)(!1),N=(0,l.default)(y,2),k=N[0],_=N[1],R=r.default.useContext(s.ThemeContext),g=void 0!==a,C=function(){_(!k),h&&x(!h)},v=function(){x(!h),k&&_(!k)},E=function(e,n){e.nativeEvent.keyCode!==m.KEY_SPACE&&e.nativeEvent.keyCode!==m.KEY_RETURN||(e.preventDefault(),n())};return r.default.createElement("div",{className:w("template",R.className)},r.default.createElement("div",{className:w("header")},o&&r.default.createElement("h2",{className:w("title")},o)),r.default.createElement("div",{className:w("content")},c&&r.default.createElement("div",{className:w("description")},c),n),r.default.createElement("div",{className:w("footer")},t?r.default.createElement("div",{className:w("button-container")},g&&r.default.createElement("button",{type:"button",className:w("css-toggle","item",{"is-selected":k}),onClick:C,onKeyDown:function(e){return E(e,C)},onBlur:b,onMouseDown:S,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(d.default,{className:w("chevron")}),r.default.createElement("span",null,"CSS"),r.default.createElement(u.default,{className:w("chevron")})),r.default.createElement("button",{type:"button",className:w("code-toggle","item",{"is-selected":h}),onClick:v,onKeyDown:function(e){return E(e,v)},onBlur:b,onMouseDown:S,tabIndex:0,"data-focus-styles-enabled":!0},r.default.createElement(d.default,{className:w("chevron")}),r.default.createElement("span",null,"Code"),r.default.createElement(u.default,{className:w("chevron")}))):null,r.default.createElement("div",null,k&&r.default.createElement("div",{className:w("css")},a),h&&r.default.createElement("div",{className:w("code")},t))))};x.propTypes=h,x.defaultProps={isExpanded:!1};var y=x;n.Z=y},13861:function(e,n,t){t.r(n),t.d(n,{default:function(){return h}});var a=t(87462),o=t(44925),l=t(67294),r=t(81254),c=t(41030),i=["components"],s={};function d(e){var n=e.components,t=(0,o.Z)(e,i);return(0,r.mdx)("wrapper",(0,a.Z)({},s,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("pre",null,(0,r.mdx)("code",{parentName:"pre",className:"language-jsx"},"import React, { useState, useRef, useCallback } from 'react';\nimport { WorklistDataGrid } from 'terra-data-grid';\nimport WorklistDataGridUtils from 'terra-data-grid/src/utils/WorklistDataGridUtils';\n\nconst gridDataJSON = {\n cols: [\n { id: 'Column-0', displayName: 'Patient' },\n { id: 'Column-1', displayName: 'Location' },\n { id: 'Column-2', displayName: 'Illness Severity' },\n { id: 'Column-3', displayName: 'Visit' },\n { id: 'Column-4', displayName: 'Allergy' },\n { id: 'Column-5', displayName: 'Primary Contact' },\n { id: 'Column-6', displayName: 'Generic Order Counts' },\n ],\n rows: [\n {\n id: '1',\n cells: [\n { content: 'Fleck, Arthur' },\n { content: '1007-MTN' },\n { content: 'Unstable' },\n { content: 'Inpatient, 2 months' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '', isMasked: true },\n ],\n },\n {\n id: '2',\n cells: [\n { content: 'Wayne, Bruce' },\n { content: '1107-MTN-DR' },\n { content: 'Stable' },\n { content: 'Outpatient, 2 days' },\n { content: 'Phytochemicals' },\n { content: 'Grayson, Richard' },\n { content: '' },\n\n ],\n },\n {\n id: '3',\n cells: [\n { content: 'Carr, Alicia' },\n { content: '1007-MTN' },\n { content: 'Unstable' },\n { content: 'Inpatient, 3 months' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n\n ],\n },\n {\n id: '4',\n cells: [\n { content: 'McMurphy, Donald' },\n { content: '1024-MTN', isMasked: true },\n { content: 'Stable' },\n { content: 'Inpatient, 5 months' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n ],\n },\n {\n id: '5',\n cells: [\n { content: 'Peters, Timothy' },\n { content: '1207-MTN' },\n { content: 'Unstable', isMasked: true },\n { content: 'Outpatient, 15 days' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n ],\n },\n {\n id: '6',\n cells: [\n { content: 'Jones, Becky' },\n { content: '1007-MTN' },\n { content: 'Unstable' },\n { content: 'Inpatient, 2 months' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n ],\n },\n {\n id: '7',\n cells: [\n { content: 'Williams, Peter' },\n { content: '1002-KTN' },\n { content: 'Unstable' },\n { content: 'Outpatient, 9 days' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n ],\n },\n {\n id: '8',\n cells: [\n { content: 'Pratt, Michaela' },\n { content: '2108-NTN' },\n { content: 'Stable' },\n { content: 'Outpatient, 45 days' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n ],\n },\n {\n id: '9',\n cells: [\n { content: 'Styris, Scott' },\n { content: '1007-MTN', isMasked: true },\n { content: 'Unstable' },\n { content: 'Inpatient, 2 months' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n ],\n },\n {\n id: '10',\n cells: [\n { content: 'Cook, Allan' },\n { content: '1700-SKB' },\n { content: 'Stable' },\n { content: 'Inpatient, 4 months' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n ],\n },\n {\n id: '11',\n cells: [\n { content: 'Lahey, Nathaniel' },\n { content: '1348-DRS' },\n { content: 'Unstable' },\n { content: 'Inpatient, 1 months' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n ],\n },\n {\n id: '12',\n cells: [\n { content: 'Harris, Isabella' },\n { content: '1809-MTN' },\n { content: 'Stable' },\n { content: 'Inpatient, 6 months' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n ],\n },\n {\n id: '13',\n cells: [\n { content: 'Millstone, Asher' },\n { content: '4133-MZN' },\n { content: 'Unstable' },\n { content: 'Inpatient, 9 months' },\n { content: '' },\n { content: 'Quinzell, Harleen' },\n { content: '' },\n ],\n },\n ],\n};\n\nconst RowSelection = () => {\n const rowSelectionModeRef = useRef();\n const rowHeaderIndex = 0;\n const { cols, rows } = gridDataJSON;\n const [rowData, setRowData] = useState(rows);\n const [hasSelectableRows, setHasSelectableRows] = useState(false);\n\n const clearRowSelection = useCallback(() => {\n const newRowData = [...rowData];\n // eslint-disable-next-line no-return-assign, no-param-reassign\n newRowData.forEach(row => (row.isSelected = false));\n setRowData(newRowData);\n }, [rowData]);\n\n const disableSelectableRows = useCallback(() => {\n rowSelectionModeRef.current.checked = false;\n setHasSelectableRows(false);\n clearRowSelection();\n }, [clearRowSelection]);\n\n const onRowSelectionModeChange = useCallback((event) => {\n if (!event.target.checked) {\n clearRowSelection();\n }\n setHasSelectableRows(event.target.checked);\n }, [clearRowSelection]);\n\n const onColumnSelect = useCallback((columnId) => {\n if (columnId === WorklistDataGridUtils.ROW_SELECTION_COLUMN.id) {\n // eslint-disable-next-line no-alert\n alert('Row Selection Header Clicked');\n }\n }, []);\n\n const onRowSelect = useCallback((rowsToSelectAndUnSelect) => {\n // Remove current selections\n const newRowData = [...rowData];\n\n rowsToSelectAndUnSelect.forEach((updatedRow) => {\n const dataRowToUpdate = newRowData.find(row => row.id === updatedRow.id);\n if (dataRowToUpdate) {\n dataRowToUpdate.isSelected = updatedRow.selected;\n }\n });\n\n setRowData(newRowData);\n }, [rowData]);\n\n const onRowSelectAll = useCallback(() => {\n const newRowData = [...rowData];\n // eslint-disable-next-line no-return-assign, no-param-reassign\n newRowData.forEach(row => (row.isSelected = true));\n setRowData(newRowData);\n }, [rowData]);\n\n const enableRowSelection = useCallback(() => {\n if (!rowSelectionModeRef.current.checked) {\n rowSelectionModeRef.current.checked = true;\n }\n setHasSelectableRows(true);\n }, []);\n\n return (\n \n
\n \n \n
\n \n
\n );\n};\n\nexport default RowSelection;\n\n")))}d.isMDXComponent=!0;var u=t(49271),m=function(e){var n=e.title,t=e.description,a=e.isExpanded;return l.createElement(u.Z,{title:n||"Row Selection",description:t,example:l.createElement(c.Z,null),exampleSrc:l.createElement(d,null),isExpanded:a})},p=["components"],f={},w="wrapper";function h(e){var n=e.components,t=(0,o.Z)(e,p);return(0,r.mdx)(w,(0,a.Z)({},f,t,{components:n,mdxType:"MDXLayout"}),(0,r.mdx)("h1",{id:"row-selection"},"Row Selection"),(0,r.mdx)("h3",{id:"description"},"Description"),(0,r.mdx)("p",null,"The ",(0,r.mdx)("a",{parentName:"p",href:"/terra-framework/pull/1911/components/cerner-terra-framework-docs/data-grid/worklist-data-grid/about"},"Worklist Data Grid")," is built to operate in either of two selection modes:"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"Cell Selection (",(0,r.mdx)("em",{parentName:"li"},"default"),")"),(0,r.mdx)("li",{parentName:"ul"},(0,r.mdx)("strong",{parentName:"li"},"Row Selection"))),(0,r.mdx)("p",null,"Row Selection Mode is controlled via a prop and is off by default.\nWhen creating a Worklist Data Grid that supports Row Selection, the prop has to be explicitly set by the consumer.\nThis example demonstrates a Worklist Data Grid with full support for row selection and can be referenced for ",(0,r.mdx)("a",{parentName:"p",href:"/terra-framework/pull/1911/components/cerner-terra-framework-docs/data-grid/worklist-data-grid/examples/row-selection"},"row centric functionalities"),"."),(0,r.mdx)("h3",{id:"properties-required"},"Properties required"),(0,r.mdx)("p",null,"This example demonstrates a Worklist Data Grid with full support for row selection by utilizing the following ",(0,r.mdx)("a",{parentName:"p",href:"/terra-framework/pull/1911/components/cerner-terra-framework-docs/data-grid/worklist-data-grid/about"},"Worklist Data Grid properties"),":"),(0,r.mdx)("ul",null,(0,r.mdx)("li",{parentName:"ul"},"hasSelectableRows"),(0,r.mdx)("li",{parentName:"ul"},"onRowSelect"),(0,r.mdx)("li",{parentName:"ul"},"onRowSelectAll"),(0,r.mdx)("li",{parentName:"ul"},"onClearSelectedRows"),(0,r.mdx)("li",{parentName:"ul"},"onDisableSelectableRows"),(0,r.mdx)("li",{parentName:"ul"},"onEnableRowSelection")),(0,r.mdx)("h2",{id:"row-selection-interactions"},"Row Selection Interactions"),(0,r.mdx)("p",null,"When using this example, the following row centric outcomes may be achieved by using the respective actions."),(0,r.mdx)("table",null,(0,r.mdx)("thead",{parentName:"table"},(0,r.mdx)("tr",{parentName:"thead"},(0,r.mdx)("th",{parentName:"tr",align:null},"Outcome"),(0,r.mdx)("th",{parentName:"tr",align:null},"Action"))),(0,r.mdx)("tbody",{parentName:"table"},(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"Select a row"),(0,r.mdx)("td",{parentName:"tr",align:null},"When Row Selection is on, click or press Spacebar anywhere on an ",(0,r.mdx)("em",{parentName:"td"},"unselected")," row.",(0,r.mdx)("br",null)," Shift+Click or press Shift+Spacebar anywhere on an ",(0,r.mdx)("em",{parentName:"td"},"unselected")," row.")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"Unselect a row"),(0,r.mdx)("td",{parentName:"tr",align:null},"Click or press Spacebar anywhere on an ",(0,r.mdx)("em",{parentName:"td"},"selected")," row.")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"Select all rows"),(0,r.mdx)("td",{parentName:"tr",align:null},"Press Control+A from anywhere on the grid.")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"Unselect all selected rows"),(0,r.mdx)("td",{parentName:"tr",align:null},"Press Escape from anywhere on the grid.")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"Select a range of rows"),(0,r.mdx)("td",{parentName:"tr",align:null},"From any row, hold Shift key and press up arrow or down arrow. Continue to press Up and Down arrow to expand or contract the range of rows.",(0,r.mdx)("br",null),"Select any unselected row then Shift+Click or Shift+Space on another row.")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"Turn Row Selection mode On"),(0,r.mdx)("td",{parentName:"tr",align:null},"In addition to their default grid behavior, Shift+Click, Shift+Space, Shift+Up and Shift+Down will turn Row Selection Mode on if Row Selection Mode is off.")),(0,r.mdx)("tr",{parentName:"tbody"},(0,r.mdx)("td",{parentName:"tr",align:null},"Turn Row Selection mode Off"),(0,r.mdx)("td",{parentName:"tr",align:null},"Press Escape when no rows are selected.")))),(0,r.mdx)("p",null,(0,r.mdx)("a",{parentName:"p",href:"/terra-framework/pull/1911/components/cerner-terra-framework-docs/data-grid/worklist-data-grid/about"},"All Worklist Data Grid Keyboard Interactions")),(0,r.mdx)(m,{title:"Worklist Data Grid With Row Selection",mdxType:"RowSelection"}))}h.isMDXComponent=!0},42745:function(e,n,t){t.r(n);var a={ROW_SELECTION_COLUMN:{id:"WorklistDataGrid-rowSelectionColumn",width:40,isSelectable:!0,isResizable:!1}};n.default=a},41030:function(e,n,t){var a=t(64836),o=t(18698);n.Z=void 0;var l=a(t(861)),r=a(t(27424)),c=function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=o(e)&&"function"!=typeof e)return{default:e};var t=d(n);if(t&&t.has(e))return t.get(e);var a={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&Object.prototype.hasOwnProperty.call(e,r)){var c=l?Object.getOwnPropertyDescriptor(e,r):null;c&&(c.get||c.set)?Object.defineProperty(a,r,c):a[r]=e[r]}return a.default=e,t&&t.set(e,a),a}(t(67294)),i=t(55730),s=a(t(42745));function d(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(d=function(e){return e?t:n})(e)}var u=[{id:"Column-0",displayName:"Patient"},{id:"Column-1",displayName:"Location"},{id:"Column-2",displayName:"Illness Severity"},{id:"Column-3",displayName:"Visit"},{id:"Column-4",displayName:"Allergy"},{id:"Column-5",displayName:"Primary Contact"},{id:"Column-6",displayName:"Generic Order Counts"}],m=[{id:"1",cells:[{content:"Fleck, Arthur"},{content:"1007-MTN"},{content:"Unstable"},{content:"Inpatient, 2 months"},{content:""},{content:"Quinzell, Harleen"},{content:"",isMasked:!0}]},{id:"2",cells:[{content:"Wayne, Bruce"},{content:"1107-MTN-DR"},{content:"Stable"},{content:"Outpatient, 2 days"},{content:"Phytochemicals"},{content:"Grayson, Richard"},{content:""}]},{id:"3",cells:[{content:"Carr, Alicia"},{content:"1007-MTN"},{content:"Unstable"},{content:"Inpatient, 3 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"4",cells:[{content:"McMurphy, Donald"},{content:"1024-MTN",isMasked:!0},{content:"Stable"},{content:"Inpatient, 5 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"5",cells:[{content:"Peters, Timothy"},{content:"1207-MTN"},{content:"Unstable",isMasked:!0},{content:"Outpatient, 15 days"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"6",cells:[{content:"Jones, Becky"},{content:"1007-MTN"},{content:"Unstable"},{content:"Inpatient, 2 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"7",cells:[{content:"Williams, Peter"},{content:"1002-KTN"},{content:"Unstable"},{content:"Outpatient, 9 days"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"8",cells:[{content:"Pratt, Michaela"},{content:"2108-NTN"},{content:"Stable"},{content:"Outpatient, 45 days"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"9",cells:[{content:"Styris, Scott"},{content:"1007-MTN",isMasked:!0},{content:"Unstable"},{content:"Inpatient, 2 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"10",cells:[{content:"Cook, Allan"},{content:"1700-SKB"},{content:"Stable"},{content:"Inpatient, 4 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"11",cells:[{content:"Lahey, Nathaniel"},{content:"1348-DRS"},{content:"Unstable"},{content:"Inpatient, 1 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"12",cells:[{content:"Harris, Isabella"},{content:"1809-MTN"},{content:"Stable"},{content:"Inpatient, 6 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]},{id:"13",cells:[{content:"Millstone, Asher"},{content:"4133-MZN"},{content:"Unstable"},{content:"Inpatient, 9 months"},{content:""},{content:"Quinzell, Harleen"},{content:""}]}];n.Z=function(){var e=(0,c.useRef)(),n=u,t=m,a=(0,c.useState)(t),o=(0,r.default)(a,2),d=o[0],p=o[1],f=(0,c.useState)(!1),w=(0,r.default)(f,2),h=w[0],b=w[1],S=(0,c.useCallback)((function(){var e=(0,l.default)(d);e.forEach((function(e){return e.isSelected=!1})),p(e)}),[d]),x=(0,c.useCallback)((function(){e.current.checked=!1,b(!1),S()}),[S]),y=(0,c.useCallback)((function(e){e.target.checked||S(),b(e.target.checked)}),[S]),N=(0,c.useCallback)((function(e){e===s.default.ROW_SELECTION_COLUMN.id&&alert("Row Selection Header Clicked")}),[]),k=(0,c.useCallback)((function(e){var n=(0,l.default)(d);e.forEach((function(e){var t=n.find((function(n){return n.id===e.id}));t&&(t.isSelected=e.selected)})),p(n)}),[d]),_=(0,c.useCallback)((function(){var e=(0,l.default)(d);e.forEach((function(e){return e.isSelected=!0})),p(e)}),[d]),R=(0,c.useCallback)((function(){e.current.checked||(e.current.checked=!0),b(!0)}),[]);return c.default.createElement(c.default.Fragment,null,c.default.createElement("div",null,c.default.createElement("label",{htmlFor:"rowSelectionMode"},c.default.createElement("b",null,"Row Selection Mode")),c.default.createElement("input",{id:"rowSelectionMode",type:"checkbox",ref:e,onChange:y})),c.default.createElement(i.WorklistDataGrid,{id:"default-terra-worklist-data-grid",overflowColumns:n,rows:d,rowHeaderIndex:0,columnWidth:180,ariaLabel:"Worklist Data Grid",onColumnSelect:N,hasSelectableRows:h,onRowSelect:k,onRowSelectAll:_,onClearSelectedRows:S,onDisableSelectableRows:x,onEnableRowSelection:R}))}},53560:function(e,n,t){t.r(n),n.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"}},87462:function(e,n,t){function a(){return a=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}t.d(n,{Z:function(){return a}})}}]); \ No newline at end of file diff --git a/pull/1911/2406-4b4078ce87f26079fad4.css b/pull/1911/2406-4b4078ce87f26079fad4.css new file mode 100644 index 00000000000..099847cea1d --- /dev/null +++ b/pull/1911/2406-4b4078ce87f26079fad4.css @@ -0,0 +1,4 @@ +.ApplicationHeaderName-module__clinical-lowlight-theme___cDdoY{--terra-application-name-header-color: #b2b5b6;--terra-application-name-header-title-text-shadow: none;--terra-application-name-header-align-items: center;--terra-application-name-header-font-size: 1.0714285714rem;--terra-application-name-header-letter-spacing: normal;--terra-application-name-header-line-height: 1.53061429rem;--terra-application-name-header-padding-bottom: 0.35714rem;--terra-application-name-header-padding-left: 0.35714rem;--terra-application-name-header-padding-right: 0.35714rem;--terra-application-name-header-padding-top: 0.35714rem;--terra-application-name-header-accessory-display: block;--terra-application-name-header-accessory-padding-right: 0.35714rem;--terra-application-name-header-title-font-weight: bold;--terra-application-name-header-title-overflow: hidden;--terra-application-name-header-title-padding-left: 0;--terra-application-name-header-title-padding-right: 0;--terra-application-name-header-title-text-overflow: ellipsis;--terra-application-name-header-title-white-space: nowrap;--terra-application-name-header-title-word-break: normal;--terra-application-name-header-title-word-wrap: normal}.ApplicationHeaderName-module__orion-fusion-theme___JSra\+{--terra-application-name-header-color: #fff;--terra-application-name-header-title-text-shadow: none;--terra-application-name-header-align-items: center;--terra-application-name-header-font-size: 1.0714285714rem;--terra-application-name-header-letter-spacing: normal;--terra-application-name-header-line-height: 1.53061429rem;--terra-application-name-header-padding-bottom: 0.35714rem;--terra-application-name-header-padding-left: 0.35714rem;--terra-application-name-header-padding-right: 0.35714rem;--terra-application-name-header-padding-top: 0.35714rem;--terra-application-name-header-accessory-display: block;--terra-application-name-header-accessory-padding-right: 0.35714rem;--terra-application-name-header-title-font-weight: bold;--terra-application-name-header-title-overflow: hidden;--terra-application-name-header-title-padding-left: 0;--terra-application-name-header-title-padding-right: 0;--terra-application-name-header-title-text-overflow: ellipsis;--terra-application-name-header-title-white-space: nowrap;--terra-application-name-header-title-word-break: normal;--terra-application-name-header-title-word-wrap: normal}.ApplicationHeaderName-module__application-header-name___zlk-U{-ms-flex-align:center;-ms-flex-align:var(--terra-application-name-header-align-items, center);align-items:center;align-items:var(--terra-application-name-header-align-items, center);box-sizing:border-box;color:#fff;color:var(--terra-application-name-header-color, #fff);display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;font-family:inherit;font-size:1.0714285714rem;font-size:var(--terra-application-name-header-font-size, 1.0714285714rem);height:100%;letter-spacing:var(--terra-application-name-header-letter-spacing);line-height:var(--terra-application-name-header-line-height);max-width:100%}[dir] .ApplicationHeaderName-module__application-header-name___zlk-U{padding-bottom:0.357143rem;padding-bottom:var(--terra-application-name-header-padding-bottom, 0.357143rem);padding-top:0.357143rem;padding-top:var(--terra-application-name-header-padding-top, 0.357143rem)}[dir=ltr] .ApplicationHeaderName-module__application-header-name___zlk-U{padding-left:0.357143rem;padding-left:var(--terra-application-name-header-padding-left, 0.357143rem);padding-right:0.357143rem;padding-right:var(--terra-application-name-header-padding-right, 0.357143rem)}[dir=rtl] .ApplicationHeaderName-module__application-header-name___zlk-U{padding-right:0.357143rem;padding-right:var(--terra-application-name-header-padding-left, 0.357143rem);padding-left:0.357143rem;padding-left:var(--terra-application-name-header-padding-right, 0.357143rem)}.ApplicationHeaderName-module__accessory___-89IO{display:block;display:var(--terra-application-name-header-accessory-display, block);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0;max-width:100%}[dir=ltr] .ApplicationHeaderName-module__accessory___-89IO{padding-right:0.357143rem;padding-right:var(--terra-application-name-header-accessory-padding-right, 0.357143rem)}[dir=rtl] .ApplicationHeaderName-module__accessory___-89IO{padding-left:0.357143rem;padding-left:var(--terra-application-name-header-accessory-padding-right, 0.357143rem)}.ApplicationHeaderName-module__title___tfg\+E{-ms-flex:0 1 auto;flex:0 1 auto;font-weight:bold;font-weight:var(--terra-application-name-header-title-font-weight, bold);overflow:hidden;overflow:var(--terra-application-name-header-title-overflow, hidden);text-overflow:ellipsis;text-overflow:var(--terra-application-name-header-title-text-overflow, ellipsis);white-space:nowrap;white-space:var(--terra-application-name-header-title-white-space, nowrap);word-break:normal;word-break:var(--terra-application-name-header-title-word-break, normal);word-wrap:normal;word-wrap:var(--terra-application-name-header-title-word-wrap, normal)}[dir] .ApplicationHeaderName-module__title___tfg\+E{text-shadow:var(--terra-application-name-header-title-text-shadow)}[dir=ltr] .ApplicationHeaderName-module__title___tfg\+E{padding-left:var(--terra-application-name-header-title-padding-left);padding-right:var(--terra-application-name-header-title-padding-right)}[dir=rtl] .ApplicationHeaderName-module__title___tfg\+E{padding-right:var(--terra-application-name-header-title-padding-left);padding-left:var(--terra-application-name-header-title-padding-right)} +.ApplicationMenuName-module__clinical-lowlight-theme___9oXBZ{--terra-application-name-menu-border-bottom: 1px solid #a9a9a9;--terra-application-name-menu-color: #b2b5b6;--terra-application-name-menu-align-items: center;--terra-application-name-menu-font-size: 1.0714285714rem;--terra-application-name-menu-letter-spacing: normal;--terra-application-name-menu-line-height: 1.53061429rem;--terra-application-name-menu-min-height: 3.5725rem;--terra-application-name-menu-padding-bottom: 0.3571rem;--terra-application-name-menu-padding-left: 0.3571rem;--terra-application-name-menu-padding-right: 0.3571rem;--terra-application-name-menu-padding-top: 0.3571rem;--terra-application-name-menu-accessory-display: block;--terra-application-name-menu-accessory-padding-right: 0.3571rem;--terra-application-name-menu-title-font-weight: bold;--terra-application-name-menu-title-overflow: break-word;--terra-application-name-menu-title-padding-left: 0;--terra-application-name-menu-title-padding-right: 0;--terra-application-name-menu-title-text-overflow: clip;--terra-application-name-menu-title-text-shadow: none;--terra-application-name-menu-title-white-space: normal;--terra-application-name-menu-title-word-break: break-word;--terra-application-name-menu-title-word-wrap: break-word}.ApplicationMenuName-module__orion-fusion-theme___zvqtZ{--terra-application-name-menu-border-bottom: 1px solid #a9a9a9;--terra-application-name-menu-color: #fff;--terra-application-name-menu-align-items: center;--terra-application-name-menu-font-size: 1.0714285714rem;--terra-application-name-menu-letter-spacing: normal;--terra-application-name-menu-line-height: 1.53061429rem;--terra-application-name-menu-min-height: 3.5725rem;--terra-application-name-menu-padding-bottom: 0.3571rem;--terra-application-name-menu-padding-left: 0.3571rem;--terra-application-name-menu-padding-right: 0.3571rem;--terra-application-name-menu-padding-top: 0.3571rem;--terra-application-name-menu-accessory-display: block;--terra-application-name-menu-accessory-padding-right: 0.3571rem;--terra-application-name-menu-title-font-weight: bold;--terra-application-name-menu-title-overflow: break-word;--terra-application-name-menu-title-padding-left: 0;--terra-application-name-menu-title-padding-right: 0;--terra-application-name-menu-title-text-overflow: clip;--terra-application-name-menu-title-text-shadow: none;--terra-application-name-menu-title-white-space: normal;--terra-application-name-menu-title-word-break: break-word;--terra-application-name-menu-title-word-wrap: break-word}.ApplicationMenuName-module__application-menu-name___v1tX4{-ms-flex-align:center;-ms-flex-align:var(--terra-application-name-menu-align-items, center);align-items:center;align-items:var(--terra-application-name-menu-align-items, center);box-sizing:border-box;color:#fff;color:var(--terra-application-name-menu-color, #fff);display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;font-size:1.0714285714rem;font-size:var(--terra-application-name-menu-font-size, 1.0714285714rem);letter-spacing:var(--terra-application-name-menu-letter-spacing);line-height:var(--terra-application-name-menu-line-height);min-height:3.5725rem;min-height:var(--terra-application-name-menu-min-height, 3.5725rem);position:relative;width:100%}[dir] .ApplicationMenuName-module__application-menu-name___v1tX4{border-bottom:1px solid #a9a9a9;border-bottom:var(--terra-application-name-menu-border-bottom, 1px solid #a9a9a9);padding-bottom:0.3571rem;padding-bottom:var(--terra-application-name-menu-padding-bottom, 0.3571rem);padding-top:0.3571rem;padding-top:var(--terra-application-name-menu-padding-top, 0.3571rem)}[dir=ltr] .ApplicationMenuName-module__application-menu-name___v1tX4{padding-left:0.3571rem;padding-left:var(--terra-application-name-menu-padding-left, 0.3571rem);padding-right:0.3571rem;padding-right:var(--terra-application-name-menu-padding-right, 0.3571rem)}[dir=rtl] .ApplicationMenuName-module__application-menu-name___v1tX4{padding-right:0.3571rem;padding-right:var(--terra-application-name-menu-padding-left, 0.3571rem);padding-left:0.3571rem;padding-left:var(--terra-application-name-menu-padding-right, 0.3571rem)}.ApplicationMenuName-module__accessory___8KRdw{display:block;display:var(--terra-application-name-menu-accessory-display, block);-ms-flex:0 0 auto;flex:0 0 auto;line-height:0;max-width:100%}[dir=ltr] .ApplicationMenuName-module__accessory___8KRdw{padding-right:0.3571rem;padding-right:var(--terra-application-name-menu-accessory-padding-right, 0.3571rem)}[dir=rtl] .ApplicationMenuName-module__accessory___8KRdw{padding-left:0.3571rem;padding-left:var(--terra-application-name-menu-accessory-padding-right, 0.3571rem)}.ApplicationMenuName-module__title___oWESV{-ms-flex:0 1 auto;flex:0 1 auto;font-weight:bold;font-weight:var(--terra-application-name-menu-title-font-weight, bold);overflow:var(--terra-application-name-menu-title-overflow);text-overflow:var(--terra-application-name-menu-title-text-overflow);white-space:var(--terra-application-name-menu-title-white-space);word-break:break-word;word-break:var(--terra-application-name-menu-title-word-break, break-word);word-wrap:break-word;word-wrap:var(--terra-application-name-menu-title-word-wrap, break-word)}[dir] .ApplicationMenuName-module__title___oWESV{text-shadow:var(--terra-application-name-menu-title-text-shadow)}[dir=ltr] .ApplicationMenuName-module__title___oWESV{padding-left:var(--terra-application-name-menu-title-padding-left);padding-right:var(--terra-application-name-menu-title-padding-right)}[dir=rtl] .ApplicationMenuName-module__title___oWESV{padding-right:var(--terra-application-name-menu-title-padding-left);padding-left:var(--terra-application-name-menu-title-padding-right)} +.ApplicationHeaderLayout-module__clinical-lowlight-theme___-1bgb{--terra-application-header-layout-background-color: #222a2e;--terra-application-header-layout-border: 1px solid #b2b5b6;--terra-application-header-layout-color: #b2b5b6;--terra-application-header-layout-logo-min-width: 17.14286rem;--terra-application-header-layout-border-radius: 0;--terra-application-header-layout-margin: 0;--terra-application-header-layout-padding: 1rem 2rem}.ApplicationHeaderLayout-module__orion-fusion-theme___ENqi\+{--terra-application-header-layout-background-color: #0079be;--terra-application-header-layout-border: 1px solid #fff;--terra-application-header-layout-color: #fff;--terra-application-header-layout-logo-min-width: 17.14286rem;--terra-application-header-layout-border-radius: 0;--terra-application-header-layout-margin: 0;--terra-application-header-layout-padding: 1rem 2rem}.ApplicationHeaderLayout-module__fit___KL7Uq{-ms-flex:0 0 auto;flex:0 0 auto}.ApplicationHeaderLayout-module__fill___PAPf7{-ms-flex:1 1 auto;flex:1 1 auto;min-width:0;width:100%}.ApplicationHeaderLayout-module__fit___KL7Uq,.ApplicationHeaderLayout-module__fill___PAPf7{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;height:100%;overflow:visible;position:relative}.ApplicationHeaderLayout-module__start___MX918{-ms-flex-pack:start;justify-content:flex-start}.ApplicationHeaderLayout-module__end___BgrVv,.ApplicationHeaderLayout-module__header-inner___hLyff{-ms-flex-pack:end;justify-content:flex-end}.ApplicationHeaderLayout-module__logo___Wzf7u,.ApplicationHeaderLayout-module__utilities___bkZso{max-width:40%}.ApplicationHeaderLayout-module__logo___Wzf7u{min-width:17.14286rem;min-width:var(--terra-application-header-layout-logo-min-width, 17.14286rem)}.ApplicationHeaderLayout-module__extensions___85n-7{max-width:100%}.ApplicationHeaderLayout-module__header-body___HLbvX{position:relative}.ApplicationHeaderLayout-module__skip-content___8eF4z{clip:rect(1px, 1px, 1px, 1px);color:#fff;color:var(--terra-application-header-layout-color, #fff);height:1px;outline:none;overflow:hidden;position:absolute;width:1px}[dir] .ApplicationHeaderLayout-module__skip-content___8eF4z{background-color:#0079be;background-color:var(--terra-application-header-layout-background-color, #0079be);border:1px solid #fff;border:var(--terra-application-header-layout-border, 1px solid #fff);border-radius:0;border-radius:var(--terra-application-header-layout-border-radius, 0);margin:0;margin:var(--terra-application-header-layout-margin, 0);padding:1rem 2rem;padding:var(--terra-application-header-layout-padding, 1rem 2rem)}.ApplicationHeaderLayout-module__skip-content___8eF4z:focus{clip:auto;height:auto;top:0;width:auto;z-index:20}[dir=ltr] .ApplicationHeaderLayout-module__skip-content___8eF4z:focus{left:0}[dir=rtl] .ApplicationHeaderLayout-module__skip-content___8eF4z:focus{right:0}[dir] .ApplicationHeaderLayout-module__skip-content___8eF4z::-moz-focus-inner{border:0;padding:0} +.ApplicationHeader-module__clinical-lowlight-theme___K6I7Q{--terra-application-layout-navbar-background-color: #004c76;--terra-application-layout-navbar-background-image: none;--terra-application-layout-navbar-before-background-color: transparent;--terra-application-layout-navbar-before-background-image: none;--terra-application-layout-navbar-border: none;--terra-application-layout-navbar-box-shadow: none;--terra-application-layout-navbar-toggle-border-right: 1px solid #0f699f;--terra-application-layout-navbar-toggle-box-shadow: inset -1px 0 0 0 #022b46;--terra-application-layout-navbar-height: 3.5714285714rem;--terra-application-layout-navbar-padding-left: 0;--terra-application-layout-navbar-padding-right: 0;--terra-application-layout-navbar-with-icons-mobile-height: 3.5714285714rem;--terra-application-layout-navbar-with-icons-height: 5.142857143rem;--terra-application-layout-navbar-toggle-width: 3.6428571429rem;--terra-application-layout-toggle-button-background-color: transparent;--terra-application-layout-toggle-button-border: 0;--terra-application-layout-toggle-button-border-radius: 0;--terra-application-layout-toggle-button-box-shadow: none;--terra-application-layout-toggle-button-color: #b2b5b6;--terra-application-layout-toggle-button-left: 0;--terra-application-layout-toggle-button-icon-height: 1rem;--terra-application-layout-toggle-button-icon-width: 1rem;--terra-application-layout-toggle-button-padding: 1.2857142857rem;--terra-application-layout-toggle-button-height: 100%;--terra-application-layout-toggle-button-width: 100%;--terra-application-layout-toggle-button-hover-background-color: #034370;--terra-application-layout-toggle-button-hover-border-color: transparent;--terra-application-layout-toggle-button-hover-border-radius: 0;--terra-application-layout-toggle-button-hover-box-shadow: none;--terra-application-layout-toggle-button-hover-color: #b2b5b6;--terra-application-layout-toggle-button-focus-background-color: #034370;--terra-application-layout-toggle-button-focus-border-color: transparent;--terra-application-layout-toggle-button-focus-border-radius: 0;--terra-application-layout-toggle-button-focus-box-shadow: none;--terra-application-layout-toggle-button-focus-color: #b2b5b6}.ApplicationHeader-module__orion-fusion-theme___yZ4yp{--terra-application-layout-navbar-background-color: #0079be;--terra-application-layout-navbar-background-image: none;--terra-application-layout-navbar-before-background-color: transparent;--terra-application-layout-navbar-before-background-image: none;--terra-application-layout-navbar-border: none;--terra-application-layout-navbar-box-shadow: none;--terra-application-layout-navbar-toggle-border-right: 1px solid rgba(255, 255, 255, 0.17);--terra-application-layout-navbar-toggle-box-shadow: inset -1px 0 0 0 rgba(0, 0, 0, 0.17);--terra-application-layout-navbar-height: 3.5714285714rem;--terra-application-layout-navbar-padding-left: 0;--terra-application-layout-navbar-padding-right: 0;--terra-application-layout-navbar-with-icons-mobile-height: 3.5714285714rem;--terra-application-layout-navbar-with-icons-height: 5.142857143rem;--terra-application-layout-navbar-toggle-width: 3.6428571429rem;--terra-application-layout-toggle-button-background-color: transparent;--terra-application-layout-toggle-button-border: 0;--terra-application-layout-toggle-button-border-radius: 0;--terra-application-layout-toggle-button-box-shadow: none;--terra-application-layout-toggle-button-color: #fff;--terra-application-layout-toggle-button-left: 0;--terra-application-layout-toggle-button-icon-height: 1rem;--terra-application-layout-toggle-button-icon-width: 1rem;--terra-application-layout-toggle-button-padding: 1.2857142857rem;--terra-application-layout-toggle-button-height: 100%;--terra-application-layout-toggle-button-width: 100%;--terra-application-layout-toggle-button-hover-background-color: rgba(0, 0, 0, 0.15);--terra-application-layout-toggle-button-hover-border-color: transparent;--terra-application-layout-toggle-button-hover-border-radius: 0;--terra-application-layout-toggle-button-hover-box-shadow: none;--terra-application-layout-toggle-button-hover-color: #fff;--terra-application-layout-toggle-button-focus-background-color: rgba(0, 0, 0, 0.15);--terra-application-layout-toggle-button-focus-border-color: transparent;--terra-application-layout-toggle-button-focus-border-radius: 0;--terra-application-layout-toggle-button-focus-box-shadow: none;--terra-application-layout-toggle-button-focus-color: #fff}.ApplicationHeader-module__application-navbar___G88LK{height:3.5714285714rem;height:var(--terra-application-layout-navbar-height, 3.5714285714rem);position:relative;z-index:5001}[dir] .ApplicationHeader-module__application-navbar___G88LK{background-color:#0079be;background-color:var(--terra-application-layout-navbar-background-color, #0079be);background-image:var(--terra-application-layout-navbar-background-image);border:var(--terra-application-layout-navbar-border);box-shadow:var(--terra-application-layout-navbar-box-shadow)}[dir=ltr] .ApplicationHeader-module__application-navbar___G88LK{padding-left:var(--terra-application-layout-navbar-padding-left);padding-right:var(--terra-application-layout-navbar-padding-right)}[dir=rtl] .ApplicationHeader-module__application-navbar___G88LK{padding-right:var(--terra-application-layout-navbar-padding-left);padding-left:var(--terra-application-layout-navbar-padding-right)}.ApplicationHeader-module__application-navbar___G88LK::before{content:"";height:100%;position:absolute;top:0;width:100%}[dir] .ApplicationHeader-module__application-navbar___G88LK::before{background-color:transparent;background-color:var(--terra-application-layout-navbar-before-background-color, transparent);background-image:none;background-image:var(--terra-application-layout-navbar-before-background-image, none)}[dir=ltr] .ApplicationHeader-module__application-navbar___G88LK::before{left:0}[dir=rtl] .ApplicationHeader-module__application-navbar___G88LK::before{right:0}.ApplicationHeader-module__application-navbar-with-icons___gRpjX{height:3.5714285714rem;height:var(--terra-application-layout-navbar-with-icons-mobile-height, 3.5714285714rem)}@media screen and (min-width: 992px){.ApplicationHeader-module__application-navbar-with-icons___gRpjX{height:5.142857143rem;height:var(--terra-application-layout-navbar-with-icons-height, 5.142857143rem)}}.ApplicationHeader-module__navbar-toggle___S19D7{-ms-flex-align:center;align-items:center;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;overflow:visible;width:3.6428571429rem;width:var(--terra-application-layout-navbar-toggle-width, 3.6428571429rem)}[dir] .ApplicationHeader-module__navbar-toggle___S19D7{box-shadow:inset -1px 0 0 0 rgba(0, 0, 0, 0.17);box-shadow:var(--terra-application-layout-navbar-toggle-box-shadow, inset -1px 0 0 0 rgba(0, 0, 0, 0.17))}[dir=ltr] .ApplicationHeader-module__navbar-toggle___S19D7{border-right:1px solid rgba(255, 255, 255, 0.17);border-right:var(--terra-application-layout-navbar-toggle-border-right, 1px solid rgba(255, 255, 255, 0.17))}[dir=rtl] .ApplicationHeader-module__navbar-toggle___S19D7{border-left:1px solid rgba(255, 255, 255, 0.17);border-left:var(--terra-application-layout-navbar-toggle-border-right, 1px solid rgba(255, 255, 255, 0.17))}.ApplicationHeader-module__toggle-button___nVeta{color:#fff;color:var(--terra-application-layout-toggle-button-color, #fff);height:100%;height:var(--terra-application-layout-toggle-button-height, 100%);position:relative;width:100%;width:var(--terra-application-layout-toggle-button-width, 100%)}[dir] .ApplicationHeader-module__toggle-button___nVeta{background-color:transparent;background-color:var(--terra-application-layout-toggle-button-background-color, transparent);border:0;border:var(--terra-application-layout-toggle-button-border, 0);border-radius:var(--terra-application-layout-toggle-button-border-radius);box-shadow:var(--terra-application-layout-toggle-button-box-shadow);cursor:pointer;padding:1.2857142857rem;padding:var(--terra-application-layout-toggle-button-padding, 1.2857142857rem)}[dir=ltr] .ApplicationHeader-module__toggle-button___nVeta{left:0;left:var(--terra-application-layout-toggle-button-left, 0)}[dir=rtl] .ApplicationHeader-module__toggle-button___nVeta{right:0;right:var(--terra-application-layout-toggle-button-left, 0)}.ApplicationHeader-module__toggle-button___nVeta>svg{height:1rem;height:var(--terra-application-layout-toggle-button-icon-height, 1rem);width:1rem;width:var(--terra-application-layout-toggle-button-icon-width, 1rem)}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none),(hover: hover)and (pointer: fine){.ApplicationHeader-module__toggle-button___nVeta:hover{color:#fff;color:var(--terra-application-layout-toggle-button-hover-color, #fff)}[dir] .ApplicationHeader-module__toggle-button___nVeta:hover{background-color:rgba(0, 0, 0, 0.15);background-color:var(--terra-application-layout-toggle-button-hover-background-color, rgba(0, 0, 0, 0.15));border-color:var(--terra-application-layout-toggle-button-hover-border-color);border-radius:var(--terra-application-layout-toggle-button-hover-border-radius);box-shadow:var(--terra-application-layout-toggle-button-hover-box-shadow)}}.ApplicationHeader-module__toggle-button___nVeta:focus{color:#fff;color:var(--terra-application-layout-toggle-button-focus-color, #fff);outline:none}[dir] .ApplicationHeader-module__toggle-button___nVeta:focus{background-color:rgba(0, 0, 0, 0.15);background-color:var(--terra-application-layout-toggle-button-focus-background-color, rgba(0, 0, 0, 0.15));border-color:var(--terra-application-layout-toggle-button-focus-border-color);border-radius:var(--terra-application-layout-toggle-button-focus-border-radius);box-shadow:var(--terra-application-layout-toggle-button-focus-box-shadow)} diff --git a/pull/1911/2406-4b4078ce87f26079fad4.js b/pull/1911/2406-4b4078ce87f26079fad4.js new file mode 100644 index 00000000000..6feb139ce92 --- /dev/null +++ b/pull/1911/2406-4b4078ce87f26079fad4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[2406],{42947:function(e,t,a){var n=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(10434)),l=n(a(70215)),o=n(a(67294)),u=n(a(45697)),r=n(a(94184)),d=n(a(47166)),s=n(a(47341)),c=a(25387),p=n(a(56583)),f=["extensions","logo","navigation","intl","toggle","utilities"],m=d.default.bind(p.default),y={extensions:u.default.element,logo:u.default.element,intl:u.default.shape({formatMessage:u.default.func}).isRequired,navigation:u.default.element,toggle:u.default.element,utilities:u.default.element},_=function(e){var t,a,n,u,d,c=e.extensions,p=e.logo,y=e.navigation,_=e.intl,g=e.toggle,h=e.utilities,v=(0,l.default)(e,f),b=o.default.useContext(s.default),C=(0,r.default)(m("header","fill",b.className),v.className);p&&(t=o.default.createElement("div",{className:m("fit","start","logo")},p)),y&&(a=o.default.createElement("nav",{role:"navigation",className:m("fill")},y)),c&&(n=o.default.createElement("div",{className:m("fit","end","extensions")},c)),h&&(u=o.default.createElement("div",{className:m("fit","end","utilities")},h)),g&&(d=o.default.createElement("div",{className:m("fit")},g));var N,A=o.default.createElement("div",{className:m("fill","header-inner")},a,n),P=o.default.createElement("button",{type:"button",onClick:function(){var e=document.querySelector(["[data-terra-layout-main]"]);e&&(e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex"))},className:m("skip-content")},_.formatMessage({id:"Terra.ApplicationHeaderLayout.SkipToContent"}));return(A||t||u)&&(N=o.default.createElement("div",{className:m("fill","header-body")},t,A,u)),o.default.createElement("div",(0,i.default)({},v,{className:C}),P,d,N)};_.propTypes=y;t.default=(0,c.injectIntl)(_)},2406:function(e,t,a){var n=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(10434)),l=n(a(70215)),o=n(a(56690)),u=n(a(89728)),r=n(a(66115)),d=n(a(61655)),s=n(a(94993)),c=n(a(73808)),p=n(a(67294)),f=n(a(45697)),m=n(a(94184)),y=n(a(47166)),_=n(a(47341)),g=a(25387),h=a(56019),v=n(a(42947)),b=a(67413),C=a(73965),N=a(57287),A=n(a(38215)),P=n(a(92306)),T=a(37714),k=n(a(9071)),R=n(a(19786)),E=n(a(61997)),L=["disclosureManager","applicationLinks","extensions","layoutConfig","nameConfig","utilityConfig","navigationLayoutRoutes","navigationLayoutSize","intl","hasIcons"];function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return(0,s.default)(this,a)}}var M=y.default.bind(E.default),O={applicationLinks:N.ApplicationLinksPropType,extensions:f.default.element,layoutConfig:k.default.layoutConfigPropType,navigationLayoutRoutes:f.default.arrayOf(T.processedRoutesPropType),navigationLayoutSize:f.default.string,nameConfig:k.default.nameConfigPropType,utilityConfig:k.default.utilityConfigPropType,intl:f.default.shape({formatMessage:f.default.func}),disclosureManager:h.disclosureManagerShape,hasIcons:f.default.bool},U=function(e){(0,d.default)(a,e);var t=H(a);function a(e){var n;return(0,o.default)(this,a),(n=t.call(this,e)).handleUtilityDiscloseRequest=n.handleUtilityDiscloseRequest.bind((0,r.default)(n)),n.handleUtilityPopupCloseRequest=n.handleUtilityPopupCloseRequest.bind((0,r.default)(n)),n.handleUtilityOnChange=n.handleUtilityOnChange.bind((0,r.default)(n)),n.getTargetRef=n.getTargetRef.bind((0,r.default)(n)),n.setContentNode=n.setContentNode.bind((0,r.default)(n)),n.renderToggle=n.renderToggle.bind((0,r.default)(n)),n.renderAppName=n.renderAppName.bind((0,r.default)(n)),n.renderExtensions=n.renderExtensions.bind((0,r.default)(n)),n.renderNavigation=n.renderNavigation.bind((0,r.default)(n)),n.renderUtilities=n.renderUtilities.bind((0,r.default)(n)),n.renderUtilitiesPopup=n.renderUtilitiesPopup.bind((0,r.default)(n)),n.state={utilityComponent:void 0},n}return(0,u.default)(a,[{key:"handleUtilityDiscloseRequest",value:function(e){this.setState({utilityComponent:p.default.cloneElement(e,{onRequestClose:this.handleUtilityPopupCloseRequest})})}},{key:"handleUtilityPopupCloseRequest",value:function(){this.state.utilityComponent&&this.setState({utilityComponent:void 0})}},{key:"handleUtilityOnChange",value:function(e,t){var a=this.props,n=a.utilityConfig,i=a.disclosureManager;n.onChange(e,t,i&&i.disclose)}},{key:"setContentNode",value:function(e){this.contentNode=e}},{key:"getTargetRef",value:function(){if(this.contentNode)return this.contentNode.querySelector("[data-application-header-utility]")}},{key:"renderToggle",value:function(){var e=this.props,t=e.layoutConfig,a=e.intl;return t.toggleMenu?p.default.createElement("div",{className:M("navbar-toggle")},p.default.createElement("button",{type:"button",className:M("toggle-button"),"aria-label":a.formatMessage({id:"Terra.applicationLayout.applicationHeader.menuToggleLabel"}),onClick:t.toggleMenu,"data-application-header-toggle":!0},p.default.createElement(A.default,null))):null}},{key:"renderAppName",value:function(){var e=this.props.nameConfig;return e&&(e.accessory||e.title)?p.default.createElement(C.ApplicationHeaderName,{accessory:e.accessory,title:e.title}):null}},{key:"renderNavigation",value:function(e){var t=this.props.applicationLinks;return e?this.renderAppName():t.links&&t.links.length?p.default.createElement(N.ApplicationTabs,t):null}},{key:"renderExtensions",value:function(e){var t=this.props,a=t.layoutConfig,n=t.extensions;return!e&&n?p.default.cloneElement(n,{layoutConfig:a}):null}},{key:"renderUtilities",value:function(e){var t=this.props.utilityConfig;return!e&&t?p.default.createElement(b.ApplicationHeaderUtility,{onChange:this.handleUtilityOnChange,onDisclose:this.handleUtilityDiscloseRequest,title:t.title,accessory:t.accessory,menuItems:t.menuItems,initialSelectedKey:t.initialSelectedKey,"data-application-header-utility":!0}):null}},{key:"renderUtilitiesPopup",value:function(){var e=this.state.utilityComponent;return e?p.default.createElement(P.default,{attachmentBehavior:"push",contentAttachment:"top center",contentHeight:"auto",contentWidth:"240",isArrowDisplayed:!0,isHeaderDisabled:!0,isOpen:!0,onRequestClose:this.handleUtilityPopupCloseRequest,targetRef:this.getTargetRef},e):null}},{key:"render",value:function(){var e=this.props,t=(e.disclosureManager,e.applicationLinks,e.extensions,e.layoutConfig),a=(e.nameConfig,e.utilityConfig,e.navigationLayoutRoutes,e.navigationLayoutSize,e.intl,e.hasIcons),n=(0,l.default)(e,L),o=this.context,u=(0,m.default)(M("application-navbar",{"application-navbar-with-icons":a},o.className),n.className),r=R.default.isSizeCompact(t.size);return p.default.createElement("header",(0,i.default)({role:"banner"},n,{className:u,ref:this.setContentNode}),p.default.createElement(v.default,{toggle:this.renderToggle(),logo:r?null:this.renderAppName(),navigation:this.renderNavigation(r),extensions:this.renderExtensions(r),utilities:this.renderUtilities(r)}),this.renderUtilitiesPopup())}}]),a}(p.default.Component);U.propTypes=O,U.defaultProps={applicationLinks:{},hasIcons:!1},U.contextType=_.default;t.default=(0,g.injectIntl)((0,h.withDisclosureManager)(U))},19786:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={isSizeCompact:function(e){return"tiny"===e||"small"===e}}},9071:function(e,t,a){var n=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(45697)),l=a(67413),o=i.default.shape({size:i.default.string,toggleMenu:i.default.func,menuIsOpen:i.default.bool,togglePin:i.default.bool,menuIsPinned:i.default.bool}),u=i.default.shape({accessory:i.default.element,title:i.default.string}),r=i.default.oneOf(["start","center","end"]),d=i.default.arrayOf(i.default.shape({path:i.default.string.isRequired,text:i.default.string.isRequired,hasSubMenu:i.default.bool,icon:i.default.node})),s=i.default.shape({title:i.default.string,accessory:i.default.element,onChange:i.default.func.isRequired,menuItems:i.default.arrayOf(l.UtilityUtils.itemShape).isRequired,initialSelectedKey:i.default.string.isRequired}),c=l.UtilityUtils.itemShape;t.default={utilityConfigPropType:s,utilityMenuItemPropType:c,layoutConfigPropType:o,nameConfigPropType:u,navigationAlignmentPropType:r,navigationItemsPropType:d}},57287:function(e,t,a){var n=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.ApplicationLinksPropType=void 0,Object.defineProperty(t,"ApplicationTabs",{enumerable:!0,get:function(){return l.default}}),t.default=void 0;var i=n(a(45697)),l=n(a(67456)),o=t.ApplicationLinksPropType=i.default.shape({alignment:i.default.oneOf(["start","center","end"]),links:i.default.arrayOf(i.default.shape({id:i.default.string,path:i.default.string.isRequired,text:i.default.string.isRequired,icon:i.default.node}))}),u={ApplicationTabs:l.default,ApplicationLinksPropType:o};t.default=u},57920:function(e,t,a){var n=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(10434)),l=n(a(70215)),o=n(a(67294)),u=n(a(45697)),r=n(a(94184)),d=n(a(47166)),s=n(a(47341)),c=n(a(54029)),p=["accessory","title"],f=d.default.bind(c.default),m={accessory:u.default.element,title:u.default.node},y=function(e){var t=e.accessory,a=e.title,n=(0,l.default)(e,p),u=o.default.useContext(s.default),d=(0,r.default)(f("application-header-name",u.className),n.className);return o.default.createElement("div",(0,i.default)({},n,{className:d}),t&&o.default.createElement("div",{className:f("accessory")},t),a&&o.default.createElement("div",{className:f("title")},a))};y.propTypes=m;t.default=y},13917:function(e,t,a){var n=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a(10434)),l=n(a(70215)),o=n(a(67294)),u=n(a(45697)),r=n(a(94184)),d=n(a(47166)),s=n(a(47341)),c=n(a(85808)),p=["accessory","title"],f=d.default.bind(c.default),m={accessory:u.default.element,title:u.default.node},y=function(e){var t=e.accessory,a=e.title,n=(0,l.default)(e,p),u=o.default.useContext(s.default),d=(0,r.default)(f("application-menu-name",u.className),n.className);return o.default.createElement("div",(0,i.default)({},n,{className:d}),t&&o.default.createElement("div",{className:f("accessory")},t),a&&o.default.createElement("div",{className:f("title")},a))};y.propTypes=m;t.default=y},73965:function(e,t,a){var n=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ApplicationHeaderName",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"ApplicationMenuName",{enumerable:!0,get:function(){return l.default}}),t.default=void 0;var i=n(a(57920)),l=n(a(13917)),o={ApplicationHeaderName:i.default,ApplicationMenuName:l.default};t.default=o},37714:function(e,t,a){var n=a(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.supportedComponentBreakpoints=t.routePropType=t.routeConfigPropType=t.processedRoutesPropType=t.navigationLayoutConfigPropType=t.componentConfigPropType=void 0;var i=n(a(18698)),l=n(a(45697)),o=t.supportedComponentBreakpoints=["tiny","small","medium","large","huge"],u=t.componentConfigPropType=l.default.objectOf((function(e,t,a,n,l){if(!("default"===t||o.indexOf(t)>=0))return new Error("Invalid prop '".concat(l,"' supplied to '").concat(a,"'. Validation failed."));var u=e[t],r=!0;return null!==u&&("object"!==(0,i.default)(u)||!u.componentClass||"object"!==(0,i.default)(u.props)&&null!==u.props&&void 0!==u.props)&&(r=!1),!!r||new Error("Invalid prop '".concat(l,"' supplied to '").concat(a,"'. Validation failed."))})),r=t.routePropType=l.default.shape({path:function(e,t,a){return!!/\/.*/.test(e[t])||new Error("Invalid prop `".concat(t,"` supplied to")+" `".concat(a,"`. Validation failed. ").concat(t," must start with a forward slash (/)."))},component:u.isRequired}),d=t.routeConfigPropType=l.default.objectOf(r);t.navigationLayoutConfigPropType=l.default.shape({header:d,menu:d,content:d}),t.processedRoutesPropType=l.default.arrayOf(l.default.shape({path:l.default.string,componentClass:l.default.func,componentProps:l.default.object}))},56583:function(e,t,a){a.r(t),t.default={"clinical-lowlight-theme":"ApplicationHeaderLayout-module__clinical-lowlight-theme___-1bgb","orion-fusion-theme":"ApplicationHeaderLayout-module__orion-fusion-theme___ENqi+",fit:"ApplicationHeaderLayout-module__fit___KL7Uq",fill:"ApplicationHeaderLayout-module__fill___PAPf7",start:"ApplicationHeaderLayout-module__start___MX918",end:"ApplicationHeaderLayout-module__end___BgrVv","header-inner":"ApplicationHeaderLayout-module__header-inner___hLyff",logo:"ApplicationHeaderLayout-module__logo___Wzf7u",utilities:"ApplicationHeaderLayout-module__utilities___bkZso",extensions:"ApplicationHeaderLayout-module__extensions___85n-7","header-body":"ApplicationHeaderLayout-module__header-body___HLbvX","skip-content":"ApplicationHeaderLayout-module__skip-content___8eF4z"}},61997:function(e,t,a){a.r(t),t.default={"clinical-lowlight-theme":"ApplicationHeader-module__clinical-lowlight-theme___K6I7Q","orion-fusion-theme":"ApplicationHeader-module__orion-fusion-theme___yZ4yp","application-navbar":"ApplicationHeader-module__application-navbar___G88LK","application-navbar-with-icons":"ApplicationHeader-module__application-navbar-with-icons___gRpjX","navbar-toggle":"ApplicationHeader-module__navbar-toggle___S19D7","toggle-button":"ApplicationHeader-module__toggle-button___nVeta"}},54029:function(e,t,a){a.r(t),t.default={"clinical-lowlight-theme":"ApplicationHeaderName-module__clinical-lowlight-theme___cDdoY","orion-fusion-theme":"ApplicationHeaderName-module__orion-fusion-theme___JSra+","application-header-name":"ApplicationHeaderName-module__application-header-name___zlk-U",accessory:"ApplicationHeaderName-module__accessory___-89IO",title:"ApplicationHeaderName-module__title___tfg+E"}},85808:function(e,t,a){a.r(t),t.default={"clinical-lowlight-theme":"ApplicationMenuName-module__clinical-lowlight-theme___9oXBZ","orion-fusion-theme":"ApplicationMenuName-module__orion-fusion-theme___zvqtZ","application-menu-name":"ApplicationMenuName-module__application-menu-name___v1tX4",accessory:"ApplicationMenuName-module__accessory___8KRdw",title:"ApplicationMenuName-module__title___oWESV"}}}]); \ No newline at end of file diff --git a/pull/1911/24351-ac735bf1f4a6bcb25ac9.css b/pull/1911/24351-ac735bf1f4a6bcb25ac9.css new file mode 100644 index 00000000000..43e9c9a36c4 --- /dev/null +++ b/pull/1911/24351-ac735bf1f4a6bcb25ac9.css @@ -0,0 +1,2 @@ +.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)} +[dir] .DateInput-test-module__content-wrapper___dgGlU{margin:10px} diff --git a/pull/1911/24351-ac735bf1f4a6bcb25ac9.js b/pull/1911/24351-ac735bf1f4a6bcb25ac9.js new file mode 100644 index 00000000000..0d585d28493 --- /dev/null +++ b/pull/1911/24351-ac735bf1f4a6bcb25ac9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkterra_framework=self.webpackChunkterra_framework||[]).push([[24351],{54619:function(e,t,r){var n=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67294)),u=n(r(91986)),a=n(r(47166)),l=n(r(29405)),i=a.default.bind(l.default);t.default=function(){return o.default.createElement("div",{className:i("content-wrapper")},o.default.createElement(u.default,{id:"dateInput",name:"date-input",value:"1999-03-10",isInvalid:!0}))}},68586:function(e,t,r){r.r(t),t.default={"clinical-lowlight-theme":"Input-module__clinical-lowlight-theme___clY96","orion-fusion-theme":"Input-module__orion-fusion-theme___phvH5","form-input":"Input-module__form-input___Fk8kb","form-error":"Input-module__form-error___aU4hq","form-incomplete":"Input-module__form-incomplete___h4I7H"}},29405:function(e,t,r){r.r(t),t.default={"content-wrapper":"DateInput-test-module__content-wrapper___dgGlU"}},55142:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=p(r(67294)),u=p(r(45697)),a=p(r(94184)),l=p(r(47166)),i=p(r(47341)),f=p(r(68586)),c=["defaultValue","disabled","isIncomplete","isInvalid","onBlur","onChange","onFocus","onInput","name","pattern","refCallback","required","type","ariaLabel","value"];function p(e){return e&&e.__esModule?e:{default:e}}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e,t){for(var r=0;r {\n const [isOpen, setIsOpen] = useState(false);\n\n const handleCloseModal = () => {\n setIsOpen(false);\n };\n\n const handleButtonOpenModal = () => {\n setIsOpen(true);\n };\n\n const buttonCell = ;\n // eslint-disable-next-line react/forbid-dom-props\n const inputCell = ;\n const anchorCell = Visit Oracle;\n const textAreaCell =