@secondstaxorg/sscomp 2.0.29 → 2.0.32
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/fonts/Circular Pro.zip +0 -0
- package/dist/index.es.js +115 -100
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +84 -68
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +83 -68
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/IconButton/type.d.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -23937,90 +23937,95 @@ const SearchResultsBar = (props) => {
|
|
|
23937
23937
|
};
|
|
23938
23938
|
|
|
23939
23939
|
const ModalBackdrop = styled.div`
|
|
23940
|
-
|
|
23941
|
-
|
|
23942
|
-
|
|
23943
|
-
|
|
23944
|
-
|
|
23940
|
+
position: fixed;
|
|
23941
|
+
overflow: hidden;
|
|
23942
|
+
inset: 0;
|
|
23943
|
+
background: rgb(0 0 0 / 40%);
|
|
23944
|
+
z-index: 9999;
|
|
23945
23945
|
`;
|
|
23946
23946
|
|
|
23947
23947
|
const panelWidth = 510;
|
|
23948
23948
|
const SideModalContainer = styled.div`
|
|
23949
|
-
|
|
23950
|
-
|
|
23951
|
-
|
|
23952
|
-
|
|
23953
|
-
|
|
23954
|
-
|
|
23955
|
-
|
|
23956
|
-
|
|
23957
|
-
|
|
23958
|
-
|
|
23959
|
-
|
|
23960
|
-
|
|
23961
|
-
|
|
23962
|
-
|
|
23963
|
-
|
|
23964
|
-
|
|
23965
|
-
|
|
23966
|
-
|
|
23967
|
-
|
|
23949
|
+
position: absolute;
|
|
23950
|
+
right: 0;
|
|
23951
|
+
top: 0;
|
|
23952
|
+
width: ${panelWidth}px;
|
|
23953
|
+
height: 100%;
|
|
23954
|
+
background: ${theme.colors.white};
|
|
23955
|
+
padding: 0;
|
|
23956
|
+
margin: 0;
|
|
23957
|
+
display: flex;
|
|
23958
|
+
flex-direction: column;
|
|
23959
|
+
animation: 0.3s slideIn ease-out;
|
|
23960
|
+
@keyframes slideIn {
|
|
23961
|
+
from {
|
|
23962
|
+
right: -${panelWidth}px;
|
|
23963
|
+
opacity: 0.5;
|
|
23964
|
+
}
|
|
23965
|
+
to {
|
|
23966
|
+
right: 0;
|
|
23967
|
+
opacity: 1;
|
|
23968
|
+
}
|
|
23968
23969
|
}
|
|
23969
|
-
}
|
|
23970
23970
|
`;
|
|
23971
23971
|
|
|
23972
23972
|
const NavSection = styled.div`
|
|
23973
|
-
|
|
23974
|
-
|
|
23975
|
-
|
|
23976
|
-
|
|
23977
|
-
|
|
23978
|
-
|
|
23973
|
+
display: flex;
|
|
23974
|
+
justify-content: space-between;
|
|
23975
|
+
align-items: center;
|
|
23976
|
+
background: ${theme.colors.white};
|
|
23977
|
+
border-bottom: 1px solid ${theme.colors["neutral-100"]};
|
|
23978
|
+
padding: 32px 38px;
|
|
23979
|
+
height: 88px;
|
|
23980
|
+
box-sizing: border-box;
|
|
23979
23981
|
`;
|
|
23980
23982
|
|
|
23981
23983
|
const Button$1 = styled.button`
|
|
23982
|
-
|
|
23983
|
-
|
|
23984
|
-
|
|
23985
|
-
|
|
23986
|
-
|
|
23987
|
-
|
|
23988
|
-
|
|
23989
|
-
|
|
23990
|
-
|
|
23991
|
-
|
|
23992
|
-
|
|
23984
|
+
background: transparent;
|
|
23985
|
+
border: none;
|
|
23986
|
+
cursor: pointer;
|
|
23987
|
+
display: flex;
|
|
23988
|
+
gap: 10px;
|
|
23989
|
+
align-items: center;
|
|
23990
|
+
font-size: 16px;
|
|
23991
|
+
|
|
23992
|
+
&:disabled {
|
|
23993
|
+
cursor: not-allowed;
|
|
23994
|
+
color: ${theme.colors["neutral-100"]};
|
|
23995
|
+
}
|
|
23993
23996
|
`;
|
|
23994
23997
|
|
|
23995
23998
|
const ModalContent = styled.div`
|
|
23996
|
-
|
|
23997
|
-
|
|
23998
|
-
|
|
23999
|
-
|
|
24000
|
-
|
|
24001
|
-
|
|
23999
|
+
width: 100%;
|
|
24000
|
+
padding: 32px;
|
|
24001
|
+
overflow-y: auto;
|
|
24002
|
+
display: flex;
|
|
24003
|
+
flex-grow: 1;
|
|
24004
|
+
flex-direction: column;
|
|
24002
24005
|
`;
|
|
24003
24006
|
|
|
24004
24007
|
const ModalTitleArea = styled.div`
|
|
24005
|
-
|
|
24006
|
-
|
|
24007
|
-
|
|
24008
|
-
|
|
24009
|
-
|
|
24010
|
-
|
|
24011
|
-
|
|
24012
|
-
|
|
24013
|
-
|
|
24014
|
-
|
|
24015
|
-
|
|
24016
|
-
|
|
24017
|
-
|
|
24018
|
-
|
|
24019
|
-
|
|
24020
|
-
|
|
24021
|
-
|
|
24022
|
-
|
|
24023
|
-
|
|
24008
|
+
display: flex;
|
|
24009
|
+
flex-direction: column;
|
|
24010
|
+
gap: 4px;
|
|
24011
|
+
color: ${theme.colors["neutral-900"]};
|
|
24012
|
+
margin-bottom: 40px;
|
|
24013
|
+
|
|
24014
|
+
.title {
|
|
24015
|
+
font-size: 19px;
|
|
24016
|
+
font-weight: 700;
|
|
24017
|
+
margin: 0;
|
|
24018
|
+
font-style: normal;
|
|
24019
|
+
font-family: Circular, sans-serif;
|
|
24020
|
+
}
|
|
24021
|
+
|
|
24022
|
+
.sub-text {
|
|
24023
|
+
font-size: 14px;
|
|
24024
|
+
font-weight: 400;
|
|
24025
|
+
margin: 0;
|
|
24026
|
+
font-style: normal;
|
|
24027
|
+
font-family: Circular, sans-serif;
|
|
24028
|
+
}
|
|
24024
24029
|
`;
|
|
24025
24030
|
|
|
24026
24031
|
const _jsxFileName$C = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SideModal\\SideModal.tsx"; function _optionalChain$m(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
@@ -37322,6 +37327,7 @@ const Button = styled.button`
|
|
|
37322
37327
|
border: none;
|
|
37323
37328
|
cursor:pointer;
|
|
37324
37329
|
transition: background 0.3s;
|
|
37330
|
+
position: relative;
|
|
37325
37331
|
&.transparent-bg{
|
|
37326
37332
|
background: transparent !important;
|
|
37327
37333
|
}
|
|
@@ -37337,13 +37343,23 @@ const Button = styled.button`
|
|
|
37337
37343
|
:disabled>*{
|
|
37338
37344
|
opacity: 0.5;
|
|
37339
37345
|
}
|
|
37346
|
+
.indicator{
|
|
37347
|
+
width: 8px;
|
|
37348
|
+
height: 8px;
|
|
37349
|
+
background: ${theme.colors["error-500"]};
|
|
37350
|
+
border-radius: 8px;
|
|
37351
|
+
top: 0;
|
|
37352
|
+
right: 0;
|
|
37353
|
+
position: absolute;
|
|
37354
|
+
}
|
|
37340
37355
|
`;
|
|
37341
37356
|
|
|
37342
37357
|
const _jsxFileName = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\IconButton\\IconButton.tsx";
|
|
37343
37358
|
const IconButton = (props) => {
|
|
37344
|
-
const {onClick,disabled,children,isActive,transparentBg} = props;
|
|
37359
|
+
const {onClick,disabled,children,isActive,transparentBg,showIndicator} = props;
|
|
37345
37360
|
return (
|
|
37346
37361
|
React$1.createElement(Button, { onClick: onClick, disabled: disabled, className: `${isActive ? 'active-icon' : ''} ${transparentBg ? 'transparent-bg' : ''}`, __self: undefined, __source: {fileName: _jsxFileName, lineNumber: 8}}
|
|
37362
|
+
, showIndicator && React$1.createElement('div', { className: "indicator", __self: undefined, __source: {fileName: _jsxFileName, lineNumber: 9}})
|
|
37347
37363
|
, children
|
|
37348
37364
|
)
|
|
37349
37365
|
)
|