@usefidel/design-system 0.16.0 → 0.18.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.
@@ -10,6 +10,6 @@
10
10
  "webapp.css"
11
11
  ],
12
12
  "storybookUrl": null,
13
- "packageVersion": "0.16.0",
14
- "resolvedSha": "dcc25541ed959e050dde79c26e8a95ec819a566f"
13
+ "packageVersion": "0.18.0",
14
+ "resolvedSha": "957525c79b7a52876dfbcc01b77e55168d4e3316"
15
15
  }
package/dist/icons.cjs CHANGED
@@ -21,8 +21,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/icons.ts
22
22
  var icons_exports = {};
23
23
  __export(icons_exports, {
24
+ FigmaColorLogo: () => FigmaColorLogo,
24
25
  FigmaLogo: () => FigmaLogo,
25
- GitHubLogo: () => GitHubLogo
26
+ GitHubLogo: () => GitHubLogo,
27
+ GoogleLogo: () => GoogleLogo,
28
+ RegistrationMark: () => RegistrationMark
26
29
  });
27
30
  module.exports = __toCommonJS(icons_exports);
28
31
  __reExport(icons_exports, require("lucide-react"), module.exports);
@@ -50,9 +53,38 @@ function FigmaLogo(props) {
50
53
  }
51
54
  ) });
52
55
  }
56
+ function GoogleLogo(props) {
57
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", "aria-hidden": "true", ...props, children: [
58
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z", fill: "#4285F4" }),
59
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z", fill: "#34A853" }),
60
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z", fill: "#FBBC05" }),
61
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z", fill: "#EA4335" })
62
+ ] });
63
+ }
64
+ function FigmaColorLogo(props) {
65
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: "22", height: "22", viewBox: "0 0 38 57", fill: "none", "aria-hidden": "true", ...props, children: [
66
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M19 28.5a9.5 9.5 0 1 1 19 0 9.5 9.5 0 0 1-19 0z", fill: "#1ABCFE" }),
67
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M0 47.5A9.5 9.5 0 0 1 9.5 38H19v9.5a9.5 9.5 0 0 1-19 0z", fill: "#0ACF83" }),
68
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M19 0v19h9.5a9.5 9.5 0 0 0 0-19H19z", fill: "#FF7262" }),
69
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M0 9.5A9.5 9.5 0 0 0 9.5 19H19V0H9.5A9.5 9.5 0 0 0 0 9.5z", fill: "#F24E1E" }),
70
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M0 28.5A9.5 9.5 0 0 0 9.5 38H19V19H9.5A9.5 9.5 0 0 0 0 28.5z", fill: "#A259FF" })
71
+ ] });
72
+ }
73
+
74
+ // src/custom-icons.tsx
75
+ var import_jsx_runtime2 = require("react/jsx-runtime");
76
+ function RegistrationMark(props) {
77
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", focusable: "false", ...props, children: [
78
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "8", cy: "8", r: "3.25", stroke: "currentColor", strokeWidth: "1" }),
79
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("path", { d: "M8 0v4M8 12v4M0 8h4M12 8h4", stroke: "currentColor", strokeWidth: "1" })
80
+ ] });
81
+ }
53
82
  // Annotate the CommonJS export names for ESM import in node:
54
83
  0 && (module.exports = {
84
+ FigmaColorLogo,
55
85
  FigmaLogo,
56
86
  GitHubLogo,
87
+ GoogleLogo,
88
+ RegistrationMark,
57
89
  ...require("lucide-react")
58
90
  });
package/dist/icons.d.cts CHANGED
@@ -8,5 +8,15 @@ import { SVGProps } from 'react';
8
8
  */
9
9
  declare function GitHubLogo(props: SVGProps<SVGSVGElement>): react.JSX.Element;
10
10
  declare function FigmaLogo(props: SVGProps<SVGSVGElement>): react.JSX.Element;
11
+ /** Google "G" in its brand colours (24px). For "Continue with Google". */
12
+ declare function GoogleLogo(props: SVGProps<SVGSVGElement>): react.JSX.Element;
13
+ /** Figma mark in its brand colours (22px tall). FigmaLogo is the one-colour version. */
14
+ declare function FigmaColorLogo(props: SVGProps<SVGSVGElement>): react.JSX.Element;
11
15
 
12
- export { FigmaLogo, GitHubLogo };
16
+ /**
17
+ * Icons lucide-react doesn't ship, in currentColor. Pass width/height to resize.
18
+ */
19
+ /** Printer's registration mark: a ring with crosshair ticks (16px). Marks something as measured or exact. */
20
+ declare function RegistrationMark(props: SVGProps<SVGSVGElement>): react.JSX.Element;
21
+
22
+ export { FigmaColorLogo, FigmaLogo, GitHubLogo, GoogleLogo, RegistrationMark };
package/dist/icons.d.ts CHANGED
@@ -8,5 +8,15 @@ import { SVGProps } from 'react';
8
8
  */
9
9
  declare function GitHubLogo(props: SVGProps<SVGSVGElement>): react.JSX.Element;
10
10
  declare function FigmaLogo(props: SVGProps<SVGSVGElement>): react.JSX.Element;
11
+ /** Google "G" in its brand colours (24px). For "Continue with Google". */
12
+ declare function GoogleLogo(props: SVGProps<SVGSVGElement>): react.JSX.Element;
13
+ /** Figma mark in its brand colours (22px tall). FigmaLogo is the one-colour version. */
14
+ declare function FigmaColorLogo(props: SVGProps<SVGSVGElement>): react.JSX.Element;
11
15
 
12
- export { FigmaLogo, GitHubLogo };
16
+ /**
17
+ * Icons lucide-react doesn't ship, in currentColor. Pass width/height to resize.
18
+ */
19
+ /** Printer's registration mark: a ring with crosshair ticks (16px). Marks something as measured or exact. */
20
+ declare function RegistrationMark(props: SVGProps<SVGSVGElement>): react.JSX.Element;
21
+
22
+ export { FigmaColorLogo, FigmaLogo, GitHubLogo, GoogleLogo, RegistrationMark };
package/dist/icons.js CHANGED
@@ -2,7 +2,7 @@
2
2
  export * from "lucide-react";
3
3
 
4
4
  // src/brand-icons.tsx
5
- import { jsx } from "react/jsx-runtime";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
6
  function GitHubLogo(props) {
7
7
  return /* @__PURE__ */ jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", "aria-hidden": "true", ...props, children: /* @__PURE__ */ jsx(
8
8
  "path",
@@ -24,7 +24,36 @@ function FigmaLogo(props) {
24
24
  }
25
25
  ) });
26
26
  }
27
+ function GoogleLogo(props) {
28
+ return /* @__PURE__ */ jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", "aria-hidden": "true", ...props, children: [
29
+ /* @__PURE__ */ jsx("path", { d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z", fill: "#4285F4" }),
30
+ /* @__PURE__ */ jsx("path", { d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z", fill: "#34A853" }),
31
+ /* @__PURE__ */ jsx("path", { d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z", fill: "#FBBC05" }),
32
+ /* @__PURE__ */ jsx("path", { d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z", fill: "#EA4335" })
33
+ ] });
34
+ }
35
+ function FigmaColorLogo(props) {
36
+ return /* @__PURE__ */ jsxs("svg", { width: "22", height: "22", viewBox: "0 0 38 57", fill: "none", "aria-hidden": "true", ...props, children: [
37
+ /* @__PURE__ */ jsx("path", { d: "M19 28.5a9.5 9.5 0 1 1 19 0 9.5 9.5 0 0 1-19 0z", fill: "#1ABCFE" }),
38
+ /* @__PURE__ */ jsx("path", { d: "M0 47.5A9.5 9.5 0 0 1 9.5 38H19v9.5a9.5 9.5 0 0 1-19 0z", fill: "#0ACF83" }),
39
+ /* @__PURE__ */ jsx("path", { d: "M19 0v19h9.5a9.5 9.5 0 0 0 0-19H19z", fill: "#FF7262" }),
40
+ /* @__PURE__ */ jsx("path", { d: "M0 9.5A9.5 9.5 0 0 0 9.5 19H19V0H9.5A9.5 9.5 0 0 0 0 9.5z", fill: "#F24E1E" }),
41
+ /* @__PURE__ */ jsx("path", { d: "M0 28.5A9.5 9.5 0 0 0 9.5 38H19V19H9.5A9.5 9.5 0 0 0 0 28.5z", fill: "#A259FF" })
42
+ ] });
43
+ }
44
+
45
+ // src/custom-icons.tsx
46
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
47
+ function RegistrationMark(props) {
48
+ return /* @__PURE__ */ jsxs2("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", focusable: "false", ...props, children: [
49
+ /* @__PURE__ */ jsx2("circle", { cx: "8", cy: "8", r: "3.25", stroke: "currentColor", strokeWidth: "1" }),
50
+ /* @__PURE__ */ jsx2("path", { d: "M8 0v4M8 12v4M0 8h4M12 8h4", stroke: "currentColor", strokeWidth: "1" })
51
+ ] });
52
+ }
27
53
  export {
54
+ FigmaColorLogo,
28
55
  FigmaLogo,
29
- GitHubLogo
56
+ GitHubLogo,
57
+ GoogleLogo,
58
+ RegistrationMark
30
59
  };