@secondstaxorg/sscomp 2.0.64 → 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.js CHANGED
@@ -1385,9 +1385,9 @@ const AuditLog = (props) => {
1385
1385
  )
1386
1386
  , React$1.createElement(LogContent$1, {__self: undefined, __source: {fileName: _jsxFileName$1h, lineNumber: 19}}
1387
1387
  , !hideTimestamp && React$1.createElement('p', { className: "captionBook", __self: undefined, __source: {fileName: _jsxFileName$1h, lineNumber: 20}}, log.timestamp)
1388
- , !hideUser && React$1.createElement('p', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$1h, lineNumber: 21}}, "User: " , log.user)
1388
+ , !hideUser && React$1.createElement('p', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$1h, lineNumber: 21}}, log.user)
1389
1389
  , React$1.createElement('p', { className: "log-description paragraph2Medium" , __self: undefined, __source: {fileName: _jsxFileName$1h, lineNumber: 22}}, log.logDescription)
1390
- , log.reference && !hideReference && React$1.createElement('p', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$1h, lineNumber: 23}}, "Reference: " , log.reference)
1390
+ , log.reference && !hideReference && React$1.createElement('p', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$1h, lineNumber: 23}}, log.reference)
1391
1391
  , log.jsxCode && React$1.createElement(React$1.Fragment, null, log.jsxCode)
1392
1392
  )
1393
1393
  )
@@ -22958,7 +22958,6 @@ const ModalCard = styled.div`
22958
22958
  background:${theme.colors.white};
22959
22959
  display: flex;
22960
22960
  flex-direction: column;
22961
- gap:40px;
22962
22961
  animation: grow 0.1s ease-in-out;
22963
22962
  @keyframes grow{
22964
22963
  from{
@@ -23010,7 +23009,7 @@ const _jsxFileName$L = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\compon
23010
23009
  * Component to display a popup modal
23011
23010
  */
23012
23011
  const PopupModal = (props) => {
23013
- const {title,content,secondaryAction,primaryAction,closeFxn,primaryBtnText,secondaryBtnText,showModal} = props;
23012
+ const {title,content,secondaryAction,primaryAction,closeFxn,primaryBtnText,secondaryBtnText,showModal,children} = props;
23014
23013
 
23015
23014
  React$1.useEffect(()=>{
23016
23015
  (document.querySelector('body') ).classList.add('side-panel-open');
@@ -23024,7 +23023,7 @@ const PopupModal = (props) => {
23024
23023
  React$1.createElement(React$1.Fragment, null
23025
23024
  , showModal &&
23026
23025
  React$1.createElement(Backdrop, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 24}}
23027
- , React$1.createElement(ModalCard, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 25}}
23026
+ , React$1.createElement(ModalCard, { style: {gap:children ? 0 : 40}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 25}}
23028
23027
  , React$1.createElement(CardHead, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 26}}
23029
23028
  , React$1.createElement('h5', { className: "heading5Bold", __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 27}}, title)
23030
23029
  , React$1.createElement('button', { type: "button", onClick: ()=>{
@@ -23036,15 +23035,26 @@ const PopupModal = (props) => {
23036
23035
  )
23037
23036
  )
23038
23037
  )
23039
- , React$1.createElement(CardBody, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 37}}
23040
- , React$1.createElement('p', {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 38}}, content)
23041
- )
23042
- , React$1.createElement(CardFooter, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 40}}
23043
- , secondaryBtnText && secondaryAction &&
23044
- React$1.createElement(OutlineButton, { size: "md", variant: "primary", onClick: ()=>{secondaryAction();}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 42}}, secondaryBtnText)
23045
-
23046
- , React$1.createElement(Button$2, { size: "md", variant: "primary", onClick: ()=>{primaryAction();}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 44}}, primaryBtnText ? primaryBtnText : 'Okay')
23047
- )
23038
+ , !children ?
23039
+ React$1.createElement(React$1.Fragment, null
23040
+ , React$1.createElement(CardBody, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 39}}
23041
+ , React$1.createElement('p', {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 40}}, content)
23042
+ )
23043
+ , React$1.createElement(CardFooter, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 42}}
23044
+ , secondaryBtnText && secondaryAction &&
23045
+ React$1.createElement(OutlineButton, { size: "md", variant: "primary", onClick: ()=>{secondaryAction();}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 44}}, secondaryBtnText)
23046
+
23047
+ , React$1.createElement(Button$2, { size: "md", variant: "primary", onClick: ()=>{
23048
+ if (primaryAction) {
23049
+ primaryAction();
23050
+ }}, __self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 46}}, primaryBtnText ? primaryBtnText : 'Okay')
23051
+ )
23052
+ )
23053
+ :
23054
+ React$1.createElement(CardBody, {__self: undefined, __source: {fileName: _jsxFileName$L, lineNumber: 53}}
23055
+ , children
23056
+ )
23057
+
23048
23058
  )
23049
23059
  )
23050
23060
 
@@ -34039,7 +34049,7 @@ const Container$2 = styled.div`
34039
34049
  overflow-x: hidden;
34040
34050
  text-overflow: ellipsis;
34041
34051
  text-wrap: nowrap;
34042
- direction: rtl;
34052
+ direction: ;
34043
34053
  text-align: left;
34044
34054
  width: 600px;
34045
34055
  }