@secondstaxorg/sscomp 2.0.65 → 2.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/PopupModal/type.d.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -23009,7 +23009,7 @@ const _jsxFileName$L = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\compon
|
|
|
23009
23009
|
* Component to display a popup modal
|
|
23010
23010
|
*/
|
|
23011
23011
|
const PopupModal = (props) => {
|
|
23012
|
-
const {title,content,secondaryAction,primaryAction,closeFxn,primaryBtnText,secondaryBtnText,showModal,
|
|
23012
|
+
const {title,content,secondaryAction,primaryAction,closeFxn,primaryBtnText,secondaryBtnText,showModal,children} = props;
|
|
23013
23013
|
|
|
23014
23014
|
React$1.useEffect(()=>{
|
|
23015
23015
|
(document.querySelector('body') ).classList.add('side-panel-open');
|
|
@@ -23023,7 +23023,7 @@ const PopupModal = (props) => {
|
|
|
23023
23023
|
React$1.createElement(React$1.Fragment, null
|
|
23024
23024
|
, showModal &&
|
|
23025
23025
|
React$1.createElement(Backdrop, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 24}}
|
|
23026
|
-
, React$1.createElement(ModalCard, { style: {gap:
|
|
23026
|
+
, React$1.createElement(ModalCard, { style: {gap:children ? 0 : 40}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 25}}
|
|
23027
23027
|
, React$1.createElement(CardHead, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 26}}
|
|
23028
23028
|
, React$1.createElement('h5', { className: "heading5Bold", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 27}}, title)
|
|
23029
23029
|
, React$1.createElement('button', { type: "button", onClick: ()=>{
|
|
@@ -23035,7 +23035,7 @@ const PopupModal = (props) => {
|
|
|
23035
23035
|
)
|
|
23036
23036
|
)
|
|
23037
23037
|
)
|
|
23038
|
-
, !
|
|
23038
|
+
, !children ?
|
|
23039
23039
|
React$1.createElement(React$1.Fragment, null
|
|
23040
23040
|
, React$1.createElement(CardBody, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 39}}
|
|
23041
23041
|
, React$1.createElement('p', {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 40}}, content)
|
|
@@ -23052,7 +23052,7 @@ const PopupModal = (props) => {
|
|
|
23052
23052
|
)
|
|
23053
23053
|
:
|
|
23054
23054
|
React$1.createElement(CardBody, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 53}}
|
|
23055
|
-
,
|
|
23055
|
+
, children
|
|
23056
23056
|
)
|
|
23057
23057
|
|
|
23058
23058
|
)
|