@circle-vibe/shared 1.1.4 → 1.1.5
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/build/index.js +1 -1
- package/build/index.js.LICENSE.txt +9 -0
- package/build/src/components/icon/icon.d.ts +8 -0
- package/build/src/components/icon/icon.js +14 -0
- package/build/src/components/icon/icon.js.map +1 -0
- package/build/src/components/icon/index.d.ts +1 -0
- package/build/src/components/icon/index.js +18 -0
- package/build/src/components/icon/index.js.map +1 -0
- package/build/src/components/index.d.ts +1 -0
- package/build/src/components/index.js +1 -0
- package/build/src/components/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,15 @@
|
|
|
21
21
|
* LICENSE file in the root directory of this source tree.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
+
/** @license React v16.13.1
|
|
25
|
+
* react-is.development.js
|
|
26
|
+
*
|
|
27
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the MIT license found in the
|
|
30
|
+
* LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/
|
|
32
|
+
|
|
24
33
|
/** @license React v16.13.1
|
|
25
34
|
* react-is.production.min.js
|
|
26
35
|
*
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface IconProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
readonly name: any;
|
|
4
|
+
readonly size?: number;
|
|
5
|
+
readonly className?: string;
|
|
6
|
+
readonly color?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Icon = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const icons_react_1 = __importDefault(require("@coreui/icons-react"));
|
|
9
|
+
exports.Icon = react_1.default.forwardRef(({ name, color, className, size = 10, ...iconAttributes }, ref) => {
|
|
10
|
+
return (react_1.default.createElement("div", { ref: ref, ...iconAttributes },
|
|
11
|
+
react_1.default.createElement(icons_react_1.default, { icon: name, size: "custom-size", height: size, width: size, color: color ?? "var(--cv-base)" })));
|
|
12
|
+
});
|
|
13
|
+
exports.Icon.displayName = "Icon";
|
|
14
|
+
//# sourceMappingURL=icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../../src/components/icon/icon.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,sEAAwC;AAW3B,QAAA,IAAI,GAAG,eAAK,CAAC,UAAU,CAClC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,cAAc,EAAE,EAAE,GAAG,EAAE,EAAE;IAChE,OAAO,CACL,uCAAK,GAAG,EAAE,GAAG,KAAM,cAAc;QAC/B,8BAAC,qBAAK,IACJ,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,aAAa,EACnB,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,KAAK,IAAI,gBAAgB,GAChC,CACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,YAAI,CAAC,WAAW,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './icon';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./icon"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/icon/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB"}
|
|
@@ -23,4 +23,5 @@ __exportStar(require("./dropdown"), exports);
|
|
|
23
23
|
__exportStar(require("./menu"), exports);
|
|
24
24
|
__exportStar(require("./tooltip"), exports);
|
|
25
25
|
__exportStar(require("./popover"), exports);
|
|
26
|
+
__exportStar(require("./icon"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,kDAAgC;AAChC,6CAA2B;AAC3B,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,kDAAgC;AAChC,6CAA2B;AAC3B,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,yCAAuB"}
|