@secondstaxorg/sscomp 1.4.8 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -109,7 +109,7 @@ const ButtonComp = styled.button`
109
109
  //sizes
110
110
  &.sm{
111
111
  padding: 8px 16px;
112
- font-size: 14px;
112
+ font-size: 14px;
113
113
  height: 33px;
114
114
  line-height: 17px;
115
115
  font-family: 'Circular Book Medium', sans-serif;
@@ -221,7 +221,13 @@ const _jsxFileName$10 = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\compo
221
221
  */
222
222
  const Button$1 = (props) => {
223
223
  const {variant, size, disabled,children} = props;
224
- return React$1.createElement(ButtonComp, { className: `${variant} ${size}`, disabled: disabled, ...props, __self: undefined, __source: {fileName: _jsxFileName$10, lineNumber: 10}}, children)
224
+ return (
225
+ React$1.createElement(React$1.Fragment, null
226
+ , React$1.createElement(ButtonComp, { className: `${variant} ${size}`, disabled: disabled, ...props, __self: undefined, __source: {fileName: _jsxFileName$10, lineNumber: 12}}
227
+ , children
228
+ )
229
+ )
230
+ )
225
231
  };
226
232
 
227
233
  const Container$b = styled.div`
@@ -21578,7 +21584,8 @@ const RibbonContainer = styled.div`
21578
21584
  border-radius: 100px;
21579
21585
  //display: inline-block;
21580
21586
  overflow: hidden;
21581
- min-width: 784px;
21587
+ //max-width: 784px;
21588
+ width: fit-content;
21582
21589
  `;
21583
21590
  const RibbonItem = styled.a`
21584
21591
  display: inline-block;
@@ -21610,14 +21617,14 @@ const _jsxFileName$h = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\compon
21610
21617
  * Menu item displayed at the top of the LP app containing links to different products of the SSX ecosystem
21611
21618
  */
21612
21619
  const Ribbon = (props) => {
21613
- const {links,bgColor} = props;
21620
+ const {links,bgColor,openInNewTab} = props;
21614
21621
 
21615
21622
  return (
21616
21623
  React$1.createElement(React$1.Fragment, null
21617
21624
  , links && links.length > 0 &&
21618
21625
  React$1.createElement(RibbonContainer, {__self: undefined, __source: {fileName: _jsxFileName$h, lineNumber: 14}}
21619
21626
  , links.map((link,index) => (
21620
- React$1.createElement(RibbonItem, { key: index, href: link.url, target: "_blank", className: bgColor, __self: undefined, __source: {fileName: _jsxFileName$h, lineNumber: 16}}, link.label)
21627
+ React$1.createElement(RibbonItem, { key: index, href: link.url, target: openInNewTab ? '_blank' : '_self', className: bgColor, __self: undefined, __source: {fileName: _jsxFileName$h, lineNumber: 16}}, link.label)
21621
21628
  ))
21622
21629
  )
21623
21630
 
@@ -24295,7 +24302,7 @@ styled.div`
24295
24302
  `;
24296
24303
 
24297
24304
  const OffersContainer = styled.div`
24298
- padding: 24px;
24305
+ padding-top: 16px;
24299
24306
  border-radius: 8px;
24300
24307
  background: ${theme.colors.white};
24301
24308
  min-height: 597px;