@secondstaxorg/sscomp 1.6.79 → 1.6.81
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 +25 -28
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -4
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21934,9 +21934,6 @@ const RibbonItem = styled.a`
|
|
|
21934
21934
|
display: inline-block;
|
|
21935
21935
|
padding: 16px;
|
|
21936
21936
|
text-decoration: none;
|
|
21937
|
-
font-weight: 400;
|
|
21938
|
-
font-size: 14px;
|
|
21939
|
-
line-height: 17px;
|
|
21940
21937
|
text-wrap: nowrap;
|
|
21941
21938
|
&.dark{
|
|
21942
21939
|
background: ${theme.colors["neutral-900"]};
|
|
@@ -21973,7 +21970,7 @@ const Ribbon = (props) => {
|
|
|
21973
21970
|
, links && links.length > 0 &&
|
|
21974
21971
|
React$1.createElement(RibbonContainer, {__self: undefined, __source: {fileName: _jsxFileName$k, lineNumber: 19}}
|
|
21975
21972
|
, links.map((link,index) => (
|
|
21976
|
-
React$1.createElement(RibbonItem, { key: index, href: link.url, target: openInNewTab ? '_blank' : '_self', className:
|
|
21973
|
+
React$1.createElement(RibbonItem, { key: index, href: link.url, target: openInNewTab ? '_blank' : '_self', className: `paragraph1Regular ${bgColor} ${currentPageItem && currentPageItem === link.label ? 'current' : ''}`, onClick: (e)=>{
|
|
21977
21974
|
if (navigationOverride) {
|
|
21978
21975
|
e.preventDefault();
|
|
21979
21976
|
navigationOverride(link);
|