sccoreui 5.7.18 → 5.7.20

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.
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const skeleton_1 = require("primereact/skeleton");
6
+ const react_1 = tslib_1.__importDefault(require("react"));
7
+ const SCLoader = ({ children, isLoading, loaderClass }) => {
8
+ const childClass = children.props.className;
9
+ return ((0, jsx_runtime_1.jsx)(react_1.default.Fragment, { children: isLoading ? (0, jsx_runtime_1.jsx)(skeleton_1.Skeleton, { className: loaderClass || childClass }) : children }));
10
+ };
11
+ exports.default = SCLoader;
@@ -9056,6 +9056,31 @@ exports.iconList = [
9056
9056
  </svg>
9057
9057
  `,
9058
9058
  },
9059
+ {
9060
+ name: "check-circle-line",
9061
+ svg: `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
9062
+ <g clip-path="url(#clip0_12350_320237)">
9063
+ <path d="M6.24935 9.9974L8.74935 12.4974L13.7493 7.4974M18.3327 9.9974C18.3327 14.5998 14.6017 18.3307 9.99935 18.3307C5.39698 18.3307 1.66602 14.5998 1.66602 9.9974C1.66602 5.39502 5.39698 1.66406 9.99935 1.66406C14.6017 1.66406 18.3327 5.39502 18.3327 9.9974Z" stroke="#667085" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
9064
+ </g>
9065
+ <defs>
9066
+ <clipPath id="clip0_12350_320237">
9067
+ <rect width="20" height="20" fill="white"/>
9068
+ </clipPath>
9069
+ </defs>
9070
+ </svg>`,
9071
+ },
9072
+ {
9073
+ name: "check-circle-solid",
9074
+ svg: `<svg xmlns="http://www.w3.org/2000/svg" width="14" height="13" viewBox="0 0 14 13" fill="none">
9075
+ <path d="M11.1654 3.375L5.4362 9.10417L2.83203 6.5" stroke="white" stroke-width="2.08333" stroke-linecap="round" stroke-linejoin="round"/>
9076
+ </svg>`,
9077
+ },
9078
+ {
9079
+ name: "check-circle-remove",
9080
+ svg: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
9081
+ <path d="M3.625 8H12.375" stroke="#132067" stroke-width="2.08332" stroke-linecap="round" stroke-linejoin="round"/>
9082
+ </svg>`,
9083
+ },
9059
9084
  {
9060
9085
  name: "plus-circle-2",
9061
9086
  svg: `<svg width="24" height="24" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -0,0 +1,8 @@
1
+ import React, { ReactElement } from "react";
2
+ interface SCLoaderProps {
3
+ children: ReactElement;
4
+ isLoading: boolean;
5
+ loaderClass?: string;
6
+ }
7
+ declare const SCLoader: React.FC<SCLoaderProps>;
8
+ export default SCLoader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "5.7.18",
3
+ "version": "5.7.20",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",