@marigold/icons 0.5.1 → 0.6.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 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: ({ className, ...props }: {
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;
package/dist/index.js CHANGED
@@ -18,7 +18,6 @@ var __spreadValues = (a, b) => {
18
18
  }
19
19
  return a;
20
20
  };
21
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
22
21
  var __objRest = (source, exclude) => {
23
22
  var target = {};
24
23
  for (var prop in source)
@@ -35,22 +34,16 @@ var __export = (target, all) => {
35
34
  for (var name in all)
36
35
  __defProp(target, name, { get: all[name], enumerable: true });
37
36
  };
38
- var __reExport = (target, module2, copyDefault, desc) => {
39
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
40
- for (let key of __getOwnPropNames(module2))
41
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
42
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
37
+ var __copyProps = (to, from, except, desc) => {
38
+ if (from && typeof from === "object" || typeof from === "function") {
39
+ for (let key of __getOwnPropNames(from))
40
+ if (!__hasOwnProp.call(to, key) && key !== except)
41
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
43
42
  }
44
- return target;
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);
43
+ return to;
48
44
  };
49
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
50
- return (module2, temp) => {
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);
45
+ 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));
46
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
54
47
 
55
48
  // src/index.ts
56
49
  var src_exports = {};
@@ -161,6 +154,7 @@ __export(src_exports, {
161
154
  Whatsapp: () => Whatsapp,
162
155
  Zoom: () => Zoom
163
156
  });
157
+ module.exports = __toCommonJS(src_exports);
164
158
 
165
159
  // src/action/Cancel.tsx
166
160
  var import_react = __toESM(require("react"));
@@ -604,14 +598,9 @@ var EventDate = (_a) => {
604
598
  // src/info/Exclamation.tsx
605
599
  var import_react37 = __toESM(require("react"));
606
600
  var import_system37 = require("@marigold/system");
607
- var Exclamation = (_a) => {
608
- var _b = _a, { className = "" } = _b, props = __objRest(_b, ["className"]);
609
- return /* @__PURE__ */ import_react37.default.createElement(import_system37.SVG, __spreadValues({
610
- className
611
- }, props), /* @__PURE__ */ import_react37.default.createElement("path", {
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
- };
601
+ var Exclamation = (props) => /* @__PURE__ */ import_react37.default.createElement(import_system37.SVG, __spreadValues({}, props), /* @__PURE__ */ import_react37.default.createElement("path", {
602
+ 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"
603
+ }));
615
604
 
616
605
  // src/info/Feedback.tsx
617
606
  var import_react38 = __toESM(require("react"));
@@ -1470,7 +1459,6 @@ var User = (_a) => {
1470
1459
  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
1460
  }));
1472
1461
  };
1473
- module.exports = __toCommonJS(src_exports);
1474
1462
  // Annotate the CommonJS export names for ESM import in node:
1475
1463
  0 && (module.exports = {
1476
1464
  Accessible,
package/dist/index.mjs CHANGED
@@ -469,14 +469,9 @@ var EventDate = (_a) => {
469
469
  // src/info/Exclamation.tsx
470
470
  import React37 from "react";
471
471
  import { SVG as SVG37 } from "@marigold/system";
472
- var Exclamation = (_a) => {
473
- var _b = _a, { className = "" } = _b, props = __objRest(_b, ["className"]);
474
- return /* @__PURE__ */ React37.createElement(SVG37, __spreadValues({
475
- className
476
- }, props), /* @__PURE__ */ React37.createElement("path", {
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
- };
472
+ var Exclamation = (props) => /* @__PURE__ */ React37.createElement(SVG37, __spreadValues({}, props), /* @__PURE__ */ React37.createElement("path", {
473
+ 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"
474
+ }));
480
475
 
481
476
  // src/info/Feedback.tsx
482
477
  import React38 from "react";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marigold/icons",
3
3
  "description": "Marigold Icons",
4
- "version": "0.5.1",
4
+ "version": "0.6.0",
5
5
  "license": "MIT",
6
6
  "keywords": [
7
7
  "marigold",
@@ -22,14 +22,14 @@
22
22
  "directory": "packages/icons"
23
23
  },
24
24
  "dependencies": {
25
- "@marigold/system": "0.7.0"
25
+ "@marigold/system": "0.8.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.11.13"
32
+ "tsup": "5.12.4"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "tsup src/index.ts",