@secondstaxorg/sscomp 1.9.87 → 1.9.88
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/bundle.css +0 -1
- package/dist/index.css +0 -13
- package/dist/index.es.css +0 -13
- package/dist/index.es.js +305 -292
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +16 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +0 -13
- package/dist/index.min.js +304 -291
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/LoadingSpinner/LoadingSpinner.d.ts +0 -1
- package/types/components/LoadingSpinner/style.d.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -1629,15 +1629,29 @@ const OutlineButton = (props) => {
|
|
|
1629
1629
|
return React$1.createElement(OutlineButtonComp, { className: `${!variant ? 'base' : variant} ${size} ${fontSize} ${withBg ? 'with-bg' : ''}`, disabled: disabled, ...props, style: {width:btnWidth}, __self: undefined, __source: {fileName: _jsxFileName$1c, lineNumber: 34}}, children)
|
|
1630
1630
|
};
|
|
1631
1631
|
|
|
1632
|
-
const
|
|
1632
|
+
const LoadingSpinnerContainer = styled.span`
|
|
1633
|
+
svg{
|
|
1634
|
+
animation: loadingAnimation 1.2s infinite linear;
|
|
1635
|
+
}
|
|
1633
1636
|
|
|
1637
|
+
@keyframes loadingAnimation {
|
|
1638
|
+
from{
|
|
1639
|
+
transform: rotate(0deg);
|
|
1640
|
+
}
|
|
1641
|
+
to{
|
|
1642
|
+
transform: rotate(360deg);
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
`;
|
|
1646
|
+
|
|
1647
|
+
const _jsxFileName$1b = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LoadingSpinner\\LoadingSpinner.tsx";
|
|
1634
1648
|
/**
|
|
1635
1649
|
* Component for displaying a loading spinner for when data is being loaded
|
|
1636
1650
|
*/
|
|
1637
1651
|
const Loader = (props) => {
|
|
1638
1652
|
const {variant} = props;
|
|
1639
1653
|
return (
|
|
1640
|
-
React$1.createElement(
|
|
1654
|
+
React$1.createElement(LoadingSpinnerContainer, {__self: undefined, __source: {fileName: _jsxFileName$1b, lineNumber: 11}}
|
|
1641
1655
|
/*PRIMARY*/
|
|
1642
1656
|
, variant === 'primary' &&
|
|
1643
1657
|
React$1.createElement('svg', { width: "24", height: "24", viewBox: "0 0 24 24" , fill: "none", __self: undefined, __source: {fileName: _jsxFileName$1b, lineNumber: 14}}
|