@versini/ui-icons 0.0.0 → 1.0.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.
@@ -18,7 +18,7 @@ function j(e) {
18
18
  return a.delete(t), a.delete(r), o;
19
19
  };
20
20
  }
21
- function A(e) {
21
+ function S(e) {
22
22
  return Y(e).concat(G(e));
23
23
  }
24
24
  var T = Object.hasOwn || function(e, t) {
@@ -27,7 +27,7 @@ var T = Object.hasOwn || function(e, t) {
27
27
  function m(e, t) {
28
28
  return e || t ? e === t : e === t || e !== e && t !== t;
29
29
  }
30
- var B = "_owner", S = Object.getOwnPropertyDescriptor, M = Object.keys;
30
+ var B = "_owner", A = Object.getOwnPropertyDescriptor, M = Object.keys;
31
31
  function Q(e, t, r) {
32
32
  var n = e.length;
33
33
  if (t.length !== n)
@@ -40,7 +40,7 @@ function Q(e, t, r) {
40
40
  function X(e, t) {
41
41
  return m(e.getTime(), t.getTime());
42
42
  }
43
- function _(e, t, r) {
43
+ function $(e, t, r) {
44
44
  if (e.size !== t.size)
45
45
  return !1;
46
46
  for (var n = {}, a = e.entries(), i = 0, u, o; (u = a.next()) && !u.done; ) {
@@ -64,11 +64,11 @@ function Z(e, t, r) {
64
64
  return !0;
65
65
  }
66
66
  function q(e, t, r) {
67
- var n = A(e), a = n.length;
68
- if (A(t).length !== a)
67
+ var n = S(e), a = n.length;
68
+ if (S(t).length !== a)
69
69
  return !1;
70
70
  for (var i, u, o; a-- > 0; )
71
- if (i = n[a], i === B && (e.$$typeof || t.$$typeof) && e.$$typeof !== t.$$typeof || !T(t, i) || !r.equals(e[i], t[i], i, i, e, t, r) || (u = S(e, i), o = S(t, i), (u || o) && (!u || !o || u.configurable !== o.configurable || u.enumerable !== o.enumerable || u.writable !== o.writable)))
71
+ if (i = n[a], i === B && (e.$$typeof || t.$$typeof) && e.$$typeof !== t.$$typeof || !T(t, i) || !r.equals(e[i], t[i], i, i, e, t, r) || (u = A(e, i), o = A(t, i), (u || o) && (!u || !o || u.configurable !== o.configurable || u.enumerable !== o.enumerable || u.writable !== o.writable)))
72
72
  return !1;
73
73
  return !0;
74
74
  }
@@ -78,7 +78,7 @@ function ee(e, t) {
78
78
  function te(e, t) {
79
79
  return e.source === t.source && e.flags === t.flags;
80
80
  }
81
- function $(e, t, r) {
81
+ function _(e, t, r) {
82
82
  if (e.size !== t.size)
83
83
  return !1;
84
84
  for (var n = {}, a = e.values(), i, u; (i = a.next()) && !i.done; ) {
@@ -131,11 +131,11 @@ function ve(e) {
131
131
  var t = e.circular, r = e.createCustomConfig, n = e.strict, a = {
132
132
  areArraysEqual: n ? q : Q,
133
133
  areDatesEqual: X,
134
- areMapsEqual: n ? K(_, q) : _,
134
+ areMapsEqual: n ? K($, q) : $,
135
135
  areObjectsEqual: n ? q : Z,
136
136
  arePrimitiveWrappersEqual: ee,
137
137
  areRegExpsEqual: te,
138
- areSetsEqual: n ? K($, q) : $,
138
+ areSetsEqual: n ? K(_, q) : _,
139
139
  areTypedArraysEqual: n ? q : re
140
140
  };
141
141
  if (r && (a = k({}, a, r(a))), t) {
@@ -391,7 +391,7 @@ const we = Oe((e) => {
391
391
  (e == null ? void 0 : e.t) !== void 0 && r.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && r.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && r.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && r.push(`ml-${e.l}`), t = r.join(" ");
392
392
  }
393
393
  return t;
394
- }), Ae = ({
394
+ }), Se = ({
395
395
  children: e,
396
396
  fill: t,
397
397
  viewBox: r,
@@ -400,7 +400,7 @@ const we = Oe((e) => {
400
400
  defaultClassName: i,
401
401
  spacing: u,
402
402
  title: o,
403
- decorative: s = !1,
403
+ semantic: s = !1,
404
404
  ...c
405
405
  }) => {
406
406
  const l = we(u), f = L(
@@ -416,28 +416,28 @@ const we = Oe((e) => {
416
416
  viewBox: r || a,
417
417
  fill: t || "currentColor",
418
418
  role: "img",
419
- "aria-hidden": s,
419
+ "aria-hidden": !s,
420
420
  focusable: !1,
421
421
  ...c,
422
422
  children: e
423
423
  }
424
424
  ),
425
- o && !s && /* @__PURE__ */ I("span", { className: "sr-only", children: o })
425
+ o && s && /* @__PURE__ */ I("span", { className: "sr-only", children: o })
426
426
  ] });
427
427
  };
428
428
  /*!
429
- @versini/ui-private v1.0.0
429
+ @versini/ui-private v1.1.0
430
430
  © 2024 gizmette.com
431
431
  */
432
432
  try {
433
433
  window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
434
- version: "1.0.0",
435
- buildTime: "02/26/2024 04:41 PM EST",
434
+ version: "1.1.0",
435
+ buildTime: "02/26/2024 06:17 PM EST",
436
436
  homepage: "https://github.com/aversini/ui-components",
437
437
  license: "MIT"
438
438
  });
439
439
  } catch {
440
440
  }
441
441
  export {
442
- Ae as j
442
+ Se as S
443
443
  };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as c } from "react/jsx-runtime";
2
- import { j as m } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as m } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const f = ({
4
4
  className: a,
5
5
  viewBox: s,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as h, jsx as c } from "react/jsx-runtime";
2
- import { j as i } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as i } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const V = ({
4
4
  className: a,
5
5
  viewBox: t,
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { j as c } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as c } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const i = ({
4
4
  className: e,
5
5
  viewBox: t,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as l, jsx as c } from "react/jsx-runtime";
2
- import { j as r } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as r } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const d = ({
4
4
  className: a,
5
5
  viewBox: o,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as p, jsx as a } from "react/jsx-runtime";
2
- import { j as i } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as i } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const d = ({
4
4
  className: c,
5
5
  viewBox: o,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as l, jsx as c } from "react/jsx-runtime";
2
- import { j as m } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as m } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const d = ({
4
4
  className: s,
5
5
  viewBox: e,
@@ -1,5 +1,5 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import { j as a } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as a } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const i = ({
4
4
  className: r,
5
5
  viewBox: t,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as c } from "react/jsx-runtime";
2
- import { j as l } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as l } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const f = ({
4
4
  className: a,
5
5
  viewBox: t,
@@ -1,5 +1,5 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import { j as z } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as z } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const a = ({
4
4
  className: t,
5
5
  viewBox: m,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as r, jsx as c } from "react/jsx-runtime";
2
- import { j as i } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as i } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const C = ({
4
4
  className: a,
5
5
  viewBox: t,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as c } from "react/jsx-runtime";
2
- import { j as l } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as l } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const f = ({
4
4
  className: s,
5
5
  viewBox: a,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as r, jsx as a } from "react/jsx-runtime";
2
- import { j as h } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as h } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const i = ({
4
4
  className: c,
5
5
  viewBox: s,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as l, jsx as a } from "react/jsx-runtime";
2
- import { j as i } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as i } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const f = ({
4
4
  className: t,
5
5
  viewBox: s,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as s } from "react/jsx-runtime";
2
- import { j as l } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as l } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const f = ({
4
4
  className: a,
5
5
  viewBox: o,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as r, jsx as c } from "react/jsx-runtime";
2
- import { j as t } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as t } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const f = ({
4
4
  className: a,
5
5
  viewBox: s,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as c } from "react/jsx-runtime";
2
- import { j as i } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as i } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const V = ({
4
4
  className: a,
5
5
  viewBox: s,
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { j as r } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as r } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const d = ({
4
4
  className: e,
5
5
  viewBox: o,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as c } from "react/jsx-runtime";
2
- import { j as m } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as m } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const f = ({
4
4
  className: a,
5
5
  viewBox: s,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as a } from "react/jsx-runtime";
2
- import { j as c } from "../../chunks/index.Dvy_-ZVi.js";
2
+ import { S as c } from "../../chunks/index.CKjEe6Yx.js";
3
3
  const p = ({
4
4
  className: s,
5
5
  viewBox: e,
package/dist/index.d.ts CHANGED
@@ -4,12 +4,6 @@ import { SpacingProps } from '@versini/ui-private/dist/utilities';
4
4
  interface IconsProps
5
5
  extends Omit<React.SVGAttributes<SVGElement>, "spacing">,
6
6
  SpacingProps {
7
- /**
8
- * Whether or not the icon is decorative only (visual but not
9
- * announced to assistive technologies).
10
- * @default false
11
- */
12
- decorative?: boolean;
13
7
  /**
14
8
  * Whether or not to render the icon in a single color
15
9
  * @default false
@@ -20,6 +14,12 @@ interface IconsProps
20
14
  * but it can be overridden with this prop.
21
15
  */
22
16
  title?: string;
17
+ /**
18
+ * Whether or not the icon is semantic (visual and
19
+ * announced to assistive technologies).
20
+ * @default false
21
+ */
22
+ semantic?: boolean;
23
23
  }
24
24
 
25
25
  declare const IconBack: ({ className, viewBox, spacing, title, monotone, ...rest }: IconsProps) => react_jsx_runtime.JSX.Element;
package/dist/index.js CHANGED
@@ -18,13 +18,13 @@ import { IconSettings as O } from "./components/Icons/IconSettings.js";
18
18
  import { IconShow as k } from "./components/Icons/IconShow.js";
19
19
  import { IconUser as G } from "./components/Icons/IconUser.js";
20
20
  /*!
21
- @versini/ui-icons v0.0.0
21
+ @versini/ui-icons v1.0.0
22
22
  © 2024 gizmette.com
23
23
  */
24
24
  try {
25
25
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
26
- version: "0.0.0",
27
- buildTime: "02/26/2024 04:41 PM EST",
26
+ version: "1.0.0",
27
+ buildTime: "02/26/2024 06:17 PM EST",
28
28
  homepage: "https://github.com/aversini/ui-components",
29
29
  license: "MIT"
30
30
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-icons",
3
- "version": "0.0.0",
3
+ "version": "1.0.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -41,12 +41,12 @@
41
41
  "dependencies": {
42
42
  "@tailwindcss/typography": "0.5.10",
43
43
  "@versini/ui-hooks": "^2.2.0",
44
- "@versini/ui-private": "1.0.0",
44
+ "@versini/ui-private": "1.1.0",
45
45
  "clsx": "2.1.0",
46
46
  "tailwindcss": "3.4.1"
47
47
  },
48
48
  "sideEffects": [
49
49
  "**/*.css"
50
50
  ],
51
- "gitHead": "df63fe6f20b689e31e0a3c86e1f8ac0e79afa603"
51
+ "gitHead": "fe6766e5f53d61e19915c2780f8f137bc2b1568d"
52
52
  }