@marigold/icons 0.5.1 → 0.7.0-beta.0
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.d.ts +4 -6
- package/dist/index.js +19 -28
- package/dist/index.mjs +10 -12
- package/package.json +4 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { SVGProps } from '@marigold/system';
|
|
2
|
+
|
|
1
3
|
declare const Cancel: ({ className, ...props }: {
|
|
2
4
|
[x: string]: any;
|
|
3
5
|
className?: string | undefined;
|
|
@@ -178,10 +180,7 @@ declare const EventDate: ({ className, ...props }: {
|
|
|
178
180
|
className?: string | undefined;
|
|
179
181
|
}) => JSX.Element;
|
|
180
182
|
|
|
181
|
-
declare const Exclamation: (
|
|
182
|
-
[x: string]: any;
|
|
183
|
-
className?: string | undefined;
|
|
184
|
-
}) => JSX.Element;
|
|
183
|
+
declare const Exclamation: (props: SVGProps) => JSX.Element;
|
|
185
184
|
|
|
186
185
|
declare const Feedback: ({ className, ...props }: {
|
|
187
186
|
[x: string]: any;
|
|
@@ -363,9 +362,8 @@ declare const Add: ({ className, ...props }: {
|
|
|
363
362
|
className?: string | undefined;
|
|
364
363
|
}) => JSX.Element;
|
|
365
364
|
|
|
366
|
-
declare const ArrowDown: ({
|
|
365
|
+
declare const ArrowDown: ({ ...props }: {
|
|
367
366
|
[x: string]: any;
|
|
368
|
-
className?: string | undefined;
|
|
369
367
|
}) => JSX.Element;
|
|
370
368
|
|
|
371
369
|
declare const ArrowDownA: ({ className, ...props }: {
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
7
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
8
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -18,7 +20,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
20
|
}
|
|
19
21
|
return a;
|
|
20
22
|
};
|
|
21
|
-
var
|
|
23
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
22
24
|
var __objRest = (source, exclude) => {
|
|
23
25
|
var target = {};
|
|
24
26
|
for (var prop in source)
|
|
@@ -35,22 +37,16 @@ var __export = (target, all) => {
|
|
|
35
37
|
for (var name in all)
|
|
36
38
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
37
39
|
};
|
|
38
|
-
var
|
|
39
|
-
if (
|
|
40
|
-
for (let key of __getOwnPropNames(
|
|
41
|
-
if (!__hasOwnProp.call(
|
|
42
|
-
__defProp(
|
|
40
|
+
var __copyProps = (to, from, except, desc) => {
|
|
41
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
42
|
+
for (let key of __getOwnPropNames(from))
|
|
43
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
44
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
43
45
|
}
|
|
44
|
-
return
|
|
45
|
-
};
|
|
46
|
-
var __toESM = (module2, isNodeMode) => {
|
|
47
|
-
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
46
|
+
return to;
|
|
48
47
|
};
|
|
49
|
-
var
|
|
50
|
-
|
|
51
|
-
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
52
|
-
};
|
|
53
|
-
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
48
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
|
49
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
54
50
|
|
|
55
51
|
// src/index.ts
|
|
56
52
|
var src_exports = {};
|
|
@@ -161,6 +157,7 @@ __export(src_exports, {
|
|
|
161
157
|
Whatsapp: () => Whatsapp,
|
|
162
158
|
Zoom: () => Zoom
|
|
163
159
|
});
|
|
160
|
+
module.exports = __toCommonJS(src_exports);
|
|
164
161
|
|
|
165
162
|
// src/action/Cancel.tsx
|
|
166
163
|
var import_react = __toESM(require("react"));
|
|
@@ -604,14 +601,11 @@ var EventDate = (_a) => {
|
|
|
604
601
|
// src/info/Exclamation.tsx
|
|
605
602
|
var import_react37 = __toESM(require("react"));
|
|
606
603
|
var import_system37 = require("@marigold/system");
|
|
607
|
-
var Exclamation = (
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
d: "M2.25 20.3097H21.75L12 3.46875L2.25 20.3097ZM12.8864 17.2606H11.1136V15.4879H12.8864V17.2606ZM12.8864 13.7151H11.1136V10.1697H12.8864V13.7151Z"
|
|
613
|
-
}));
|
|
614
|
-
};
|
|
604
|
+
var Exclamation = (props) => /* @__PURE__ */ import_react37.default.createElement(import_system37.SVG, __spreadProps(__spreadValues({}, props), {
|
|
605
|
+
role: "presentation"
|
|
606
|
+
}), /* @__PURE__ */ import_react37.default.createElement("path", {
|
|
607
|
+
d: "M2.25 20.3097H21.75L12 3.46875L2.25 20.3097ZM12.8864 17.2606H11.1136V15.4879H12.8864V17.2606ZM12.8864 13.7151H11.1136V10.1697H12.8864V13.7151Z"
|
|
608
|
+
}));
|
|
615
609
|
|
|
616
610
|
// src/info/Feedback.tsx
|
|
617
611
|
var import_react38 = __toESM(require("react"));
|
|
@@ -1085,10 +1079,8 @@ var Add = (_a) => {
|
|
|
1085
1079
|
var import_react74 = __toESM(require("react"));
|
|
1086
1080
|
var import_system74 = require("@marigold/system");
|
|
1087
1081
|
var ArrowDown = (_a) => {
|
|
1088
|
-
var
|
|
1089
|
-
return /* @__PURE__ */ import_react74.default.createElement(import_system74.SVG, __spreadValues({
|
|
1090
|
-
className
|
|
1091
|
-
}, props), /* @__PURE__ */ import_react74.default.createElement("path", {
|
|
1082
|
+
var props = __objRest(_a, []);
|
|
1083
|
+
return /* @__PURE__ */ import_react74.default.createElement(import_system74.SVG, __spreadValues({}, props), /* @__PURE__ */ import_react74.default.createElement("path", {
|
|
1092
1084
|
d: "M5.97563 7.125L12 13.1363L18.0244 7.125L19.875 8.97563L12 16.8506L4.125 8.97563L5.97563 7.125Z"
|
|
1093
1085
|
}));
|
|
1094
1086
|
};
|
|
@@ -1470,7 +1462,6 @@ var User = (_a) => {
|
|
|
1470
1462
|
d: "M16.5 7.5C16.5 9.98625 14.4862 12 12 12C9.51375 12 7.5 9.98625 7.5 7.5C7.5 5.01375 9.51375 3 12 3C14.4862 3 16.5 5.01375 16.5 7.5ZM3 18.75C3 15.7575 8.99625 14.25 12 14.25C15.0037 14.25 21 15.7575 21 18.75V21H3V18.75Z"
|
|
1471
1463
|
}));
|
|
1472
1464
|
};
|
|
1473
|
-
module.exports = __toCommonJS(src_exports);
|
|
1474
1465
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1475
1466
|
0 && (module.exports = {
|
|
1476
1467
|
Accessible,
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
2
4
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
6
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -14,6 +16,7 @@ var __spreadValues = (a, b) => {
|
|
|
14
16
|
}
|
|
15
17
|
return a;
|
|
16
18
|
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
17
20
|
var __objRest = (source, exclude) => {
|
|
18
21
|
var target = {};
|
|
19
22
|
for (var prop in source)
|
|
@@ -469,14 +472,11 @@ var EventDate = (_a) => {
|
|
|
469
472
|
// src/info/Exclamation.tsx
|
|
470
473
|
import React37 from "react";
|
|
471
474
|
import { SVG as SVG37 } from "@marigold/system";
|
|
472
|
-
var Exclamation = (
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
d: "M2.25 20.3097H21.75L12 3.46875L2.25 20.3097ZM12.8864 17.2606H11.1136V15.4879H12.8864V17.2606ZM12.8864 13.7151H11.1136V10.1697H12.8864V13.7151Z"
|
|
478
|
-
}));
|
|
479
|
-
};
|
|
475
|
+
var Exclamation = (props) => /* @__PURE__ */ React37.createElement(SVG37, __spreadProps(__spreadValues({}, props), {
|
|
476
|
+
role: "presentation"
|
|
477
|
+
}), /* @__PURE__ */ React37.createElement("path", {
|
|
478
|
+
d: "M2.25 20.3097H21.75L12 3.46875L2.25 20.3097ZM12.8864 17.2606H11.1136V15.4879H12.8864V17.2606ZM12.8864 13.7151H11.1136V10.1697H12.8864V13.7151Z"
|
|
479
|
+
}));
|
|
480
480
|
|
|
481
481
|
// src/info/Feedback.tsx
|
|
482
482
|
import React38 from "react";
|
|
@@ -950,10 +950,8 @@ var Add = (_a) => {
|
|
|
950
950
|
import React74 from "react";
|
|
951
951
|
import { SVG as SVG74 } from "@marigold/system";
|
|
952
952
|
var ArrowDown = (_a) => {
|
|
953
|
-
var
|
|
954
|
-
return /* @__PURE__ */ React74.createElement(SVG74, __spreadValues({
|
|
955
|
-
className
|
|
956
|
-
}, props), /* @__PURE__ */ React74.createElement("path", {
|
|
953
|
+
var props = __objRest(_a, []);
|
|
954
|
+
return /* @__PURE__ */ React74.createElement(SVG74, __spreadValues({}, props), /* @__PURE__ */ React74.createElement("path", {
|
|
957
955
|
d: "M5.97563 7.125L12 13.1363L18.0244 7.125L19.875 8.97563L12 16.8506L4.125 8.97563L5.97563 7.125Z"
|
|
958
956
|
}));
|
|
959
957
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marigold/icons",
|
|
3
3
|
"description": "Marigold Icons",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0-beta.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"marigold",
|
|
@@ -22,19 +22,18 @@
|
|
|
22
22
|
"directory": "packages/icons"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@marigold/system": "0.
|
|
25
|
+
"@marigold/system": "1.0.0-beta.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^16.x || ^17.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@marigold/tsconfig": "0.3.0",
|
|
32
|
-
"tsup": "5.
|
|
32
|
+
"tsup": "5.12.7"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsup src/index.ts",
|
|
36
36
|
"watch": "tsup src/index.ts --watch",
|
|
37
37
|
"clean": "rm -rf node_modules && rm -rf dist"
|
|
38
|
-
}
|
|
39
|
-
"readme": "# `@marigold/icons`\n\n> Marigold icons\n"
|
|
38
|
+
}
|
|
40
39
|
}
|