@versini/ui-icons 1.2.0 → 1.2.1

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.
@@ -0,0 +1,61 @@
1
+ import { jsxs as p, Fragment as h, jsx as n } from "react/jsx-runtime";
2
+ import v from "clsx";
3
+ const _ = (i) => {
4
+ let o = "";
5
+ if (typeof i == "number" || typeof i == "string")
6
+ o = "m-" + i;
7
+ else {
8
+ const e = [];
9
+ (i == null ? void 0 : i.t) !== void 0 && e.push(`mt-${i.t}`), (i == null ? void 0 : i.r) !== void 0 && e.push(`mr-${i.r}`), (i == null ? void 0 : i.b) !== void 0 && e.push(`mb-${i.b}`), (i == null ? void 0 : i.l) !== void 0 && e.push(`ml-${i.l}`), o = e.join(" ");
10
+ }
11
+ return o;
12
+ }, g = ({
13
+ children: i,
14
+ fill: o,
15
+ viewBox: e,
16
+ className: r,
17
+ defaultViewBox: m,
18
+ defaultClassName: a,
19
+ spacing: c,
20
+ title: l,
21
+ semantic: s = !1,
22
+ ...d
23
+ }) => {
24
+ const u = _(c), t = v(
25
+ u,
26
+ r || a
27
+ );
28
+ return /* @__PURE__ */ p(h, { children: [
29
+ /* @__PURE__ */ n(
30
+ "svg",
31
+ {
32
+ xmlns: "http://www.w3.org/2000/svg",
33
+ className: t,
34
+ viewBox: e || m,
35
+ fill: o || "currentColor",
36
+ role: "img",
37
+ "aria-hidden": !s,
38
+ focusable: !1,
39
+ ...d,
40
+ children: i
41
+ }
42
+ ),
43
+ l && s && /* @__PURE__ */ n("span", { className: "sr-only", children: l })
44
+ ] });
45
+ };
46
+ /*!
47
+ @versini/ui-private v1.3.1
48
+ © 2024 gizmette.com
49
+ */
50
+ try {
51
+ window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
52
+ version: "1.3.1",
53
+ buildTime: "03/10/2024 07:22 PM EDT",
54
+ homepage: "https://github.com/aversini/ui-components",
55
+ license: "MIT"
56
+ });
57
+ } catch {
58
+ }
59
+ export {
60
+ g as S
61
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as c } from "react/jsx-runtime";
2
- import { S as m } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as m } from "../../chunks/index.RQX6smY2.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 s } from "react/jsx-runtime";
2
- import { S as o } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as o } from "../../chunks/index.RQX6smY2.js";
3
3
  const p = ({
4
4
  className: c,
5
5
  viewBox: a,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as h, jsx as c } from "react/jsx-runtime";
2
- import { S as i } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as i } from "../../chunks/index.RQX6smY2.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 { S as c } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as c } from "../../chunks/index.RQX6smY2.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 { S as r } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as r } from "../../chunks/index.RQX6smY2.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 { S as i } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as i } from "../../chunks/index.RQX6smY2.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 { S as m } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as m } from "../../chunks/index.RQX6smY2.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 { S as a } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as a } from "../../chunks/index.RQX6smY2.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 { S as l } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as l } from "../../chunks/index.RQX6smY2.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 { S as z } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as z } from "../../chunks/index.RQX6smY2.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 { S as i } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as i } from "../../chunks/index.RQX6smY2.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 { S as l } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as l } from "../../chunks/index.RQX6smY2.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 { S as h } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as h } from "../../chunks/index.RQX6smY2.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 { S as i } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as i } from "../../chunks/index.RQX6smY2.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 { S as l } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as l } from "../../chunks/index.RQX6smY2.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 { S as t } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as t } from "../../chunks/index.RQX6smY2.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 { S as i } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as i } from "../../chunks/index.RQX6smY2.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 { S as r } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as r } from "../../chunks/index.RQX6smY2.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 { S as m } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as m } from "../../chunks/index.RQX6smY2.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 { S as c } from "../../chunks/index.CVYRHr5Z.js";
2
+ import { S as c } from "../../chunks/index.RQX6smY2.js";
3
3
  const p = ({
4
4
  className: s,
5
5
  viewBox: e,
package/dist/index.js CHANGED
@@ -4,28 +4,28 @@ import { IconChart as p } from "./components/Icons/IconChart.js";
4
4
  import { IconClose as f } from "./components/Icons/IconClose.js";
5
5
  import { IconCopied as i } from "./components/Icons/IconCopied.js";
6
6
  import { IconCopy as _ } from "./components/Icons/IconCopy.js";
7
- import { IconDelete as S } from "./components/Icons/IconDelete.js";
8
- import { IconDog as C } from "./components/Icons/IconDog.js";
7
+ import { IconDelete as d } from "./components/Icons/IconDelete.js";
8
+ import { IconDog as S } from "./components/Icons/IconDog.js";
9
9
  import { IconEdit as g } from "./components/Icons/IconEdit.js";
10
10
  import { IconGitHub as u } from "./components/Icons/IconGitHub.js";
11
11
  import { IconHide as N } from "./components/Icons/IconHide.js";
12
12
  import { IconHistory as b } from "./components/Icons/IconHistory.js";
13
13
  import { IconInfo as y } from "./components/Icons/IconInfo.js";
14
- import { IconNext as R } from "./components/Icons/IconNext.js";
15
- import { IconPrevious as U } from "./components/Icons/IconPrevious.js";
16
- import { IconProfile as D } from "./components/Icons/IconProfile.js";
17
- import { IconRestore as O } from "./components/Icons/IconRestore.js";
14
+ import { IconNext as H } from "./components/Icons/IconNext.js";
15
+ import { IconPrevious as R } from "./components/Icons/IconPrevious.js";
16
+ import { IconProfile as U } from "./components/Icons/IconProfile.js";
17
+ import { IconRestore as M } from "./components/Icons/IconRestore.js";
18
18
  import { IconSettings as V } from "./components/Icons/IconSettings.js";
19
- import { IconShow as A } from "./components/Icons/IconShow.js";
20
- import { IconUser as j } from "./components/Icons/IconUser.js";
19
+ import { IconShow as G } from "./components/Icons/IconShow.js";
20
+ import { IconUser as q } from "./components/Icons/IconUser.js";
21
21
  /*!
22
- @versini/ui-icons v1.2.0
22
+ @versini/ui-icons v1.2.1
23
23
  © 2024 gizmette.com
24
24
  */
25
25
  try {
26
26
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
27
- version: "1.2.0",
28
- buildTime: "03/06/2024 10:25 AM EST",
27
+ version: "1.2.1",
28
+ buildTime: "03/10/2024 07:23 PM EDT",
29
29
  homepage: "https://github.com/aversini/ui-components",
30
30
  license: "MIT"
31
31
  });
@@ -38,18 +38,18 @@ export {
38
38
  f as IconClose,
39
39
  i as IconCopied,
40
40
  _ as IconCopy,
41
- S as IconDelete,
42
- C as IconDog,
41
+ d as IconDelete,
42
+ S as IconDog,
43
43
  g as IconEdit,
44
44
  u as IconGitHub,
45
45
  N as IconHide,
46
46
  b as IconHistory,
47
47
  y as IconInfo,
48
- R as IconNext,
49
- U as IconPrevious,
50
- D as IconProfile,
51
- O as IconRestore,
48
+ H as IconNext,
49
+ R as IconPrevious,
50
+ U as IconProfile,
51
+ M as IconRestore,
52
52
  V as IconSettings,
53
- A as IconShow,
54
- j as IconUser
53
+ G as IconShow,
54
+ q as IconUser
55
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-icons",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -39,17 +39,13 @@
39
39
  "react-dom": "^18.2.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@versini/ui-plugins": "1.1.0"
42
+ "@versini/ui-private": "workspace:../ui-private"
43
43
  },
44
44
  "dependencies": {
45
- "@tailwindcss/typography": "0.5.10",
46
- "@versini/ui-hooks": "^2.2.0",
47
- "@versini/ui-private": "1.3.0",
48
- "clsx": "2.1.0",
49
- "tailwindcss": "3.4.1"
45
+ "@versini/ui-private": "1.3.1"
50
46
  },
51
47
  "sideEffects": [
52
48
  "**/*.css"
53
49
  ],
54
- "gitHead": "3f0439d62c9742dc87ebb2e42c2c5bf02280aaa5"
50
+ "gitHead": "34ef1396f3b82e9768e6474eef363e0e6fa3478d"
55
51
  }
@@ -1,443 +0,0 @@
1
- import { jsxs as D, Fragment as W, jsx as A } from "react/jsx-runtime";
2
- import L from "clsx";
3
- var Y = Object.getOwnPropertyNames, G = Object.getOwnPropertySymbols, J = Object.prototype.hasOwnProperty;
4
- function I(e, t) {
5
- return function(r, n, a) {
6
- return e(r, n, a) && t(r, n, a);
7
- };
8
- }
9
- function j(e) {
10
- return function(t, r, n) {
11
- if (!t || !r || typeof t != "object" || typeof r != "object")
12
- return e(t, r, n);
13
- var a = n.cache, i = a.get(t), u = a.get(r);
14
- if (i && u)
15
- return i === r && u === t;
16
- a.set(t, r), a.set(r, t);
17
- var o = e(t, r, n);
18
- return a.delete(t), a.delete(r), o;
19
- };
20
- }
21
- function K(e) {
22
- return Y(e).concat(G(e));
23
- }
24
- var T = Object.hasOwn || function(e, t) {
25
- return J.call(e, t);
26
- };
27
- function m(e, t) {
28
- return e || t ? e === t : e === t || e !== e && t !== t;
29
- }
30
- var B = "_owner", S = Object.getOwnPropertyDescriptor, M = Object.keys;
31
- function Q(e, t, r) {
32
- var n = e.length;
33
- if (t.length !== n)
34
- return !1;
35
- for (; n-- > 0; )
36
- if (!r.equals(e[n], t[n], n, n, e, t, r))
37
- return !1;
38
- return !0;
39
- }
40
- function X(e, t) {
41
- return m(e.getTime(), t.getTime());
42
- }
43
- function $(e, t, r) {
44
- if (e.size !== t.size)
45
- return !1;
46
- for (var n = {}, a = e.entries(), i = 0, u, o; (u = a.next()) && !u.done; ) {
47
- for (var s = t.entries(), c = !1, l = 0; (o = s.next()) && !o.done; ) {
48
- var f = u.value, y = f[0], h = f[1], p = o.value, d = p[0], E = p[1];
49
- !c && !n[l] && (c = r.equals(y, d, i, l, e, t, r) && r.equals(h, E, y, d, e, t, r)) && (n[l] = !0), l++;
50
- }
51
- if (!c)
52
- return !1;
53
- i++;
54
- }
55
- return !0;
56
- }
57
- function Z(e, t, r) {
58
- var n = M(e), a = n.length;
59
- if (M(t).length !== a)
60
- return !1;
61
- for (var i; a-- > 0; )
62
- 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))
63
- return !1;
64
- return !0;
65
- }
66
- function q(e, t, r) {
67
- var n = K(e), a = n.length;
68
- if (K(t).length !== a)
69
- return !1;
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)))
72
- return !1;
73
- return !0;
74
- }
75
- function ee(e, t) {
76
- return m(e.valueOf(), t.valueOf());
77
- }
78
- function te(e, t) {
79
- return e.source === t.source && e.flags === t.flags;
80
- }
81
- function _(e, t, r) {
82
- if (e.size !== t.size)
83
- return !1;
84
- for (var n = {}, a = e.values(), i, u; (i = a.next()) && !i.done; ) {
85
- for (var o = t.values(), s = !1, c = 0; (u = o.next()) && !u.done; )
86
- !s && !n[c] && (s = r.equals(i.value, u.value, i.value, u.value, e, t, r)) && (n[c] = !0), c++;
87
- if (!s)
88
- return !1;
89
- }
90
- return !0;
91
- }
92
- function re(e, t) {
93
- var r = e.length;
94
- if (t.length !== r)
95
- return !1;
96
- for (; r-- > 0; )
97
- if (e[r] !== t[r])
98
- return !1;
99
- return !0;
100
- }
101
- var ne = "[object Arguments]", ae = "[object Boolean]", ie = "[object Date]", oe = "[object Map]", ue = "[object Number]", ce = "[object Object]", se = "[object RegExp]", le = "[object Set]", fe = "[object String]", pe = Array.isArray, z = typeof ArrayBuffer == "function" && ArrayBuffer.isView ? ArrayBuffer.isView : null, k = Object.assign, he = Object.prototype.toString.call.bind(Object.prototype.toString);
102
- function ye(e) {
103
- var t = e.areArraysEqual, r = e.areDatesEqual, n = e.areMapsEqual, a = e.areObjectsEqual, i = e.arePrimitiveWrappersEqual, u = e.areRegExpsEqual, o = e.areSetsEqual, s = e.areTypedArraysEqual;
104
- return function(c, l, f) {
105
- if (c === l)
106
- return !0;
107
- if (c == null || l == null || typeof c != "object" || typeof l != "object")
108
- return c !== c && l !== l;
109
- var y = c.constructor;
110
- if (y !== l.constructor)
111
- return !1;
112
- if (y === Object)
113
- return a(c, l, f);
114
- if (pe(c))
115
- return t(c, l, f);
116
- if (z != null && z(c))
117
- return s(c, l, f);
118
- if (y === Date)
119
- return r(c, l, f);
120
- if (y === RegExp)
121
- return u(c, l, f);
122
- if (y === Map)
123
- return n(c, l, f);
124
- if (y === Set)
125
- return o(c, l, f);
126
- var h = he(c);
127
- return h === ie ? r(c, l, f) : h === se ? u(c, l, f) : h === oe ? n(c, l, f) : h === le ? o(c, l, f) : h === ce ? typeof c.then != "function" && typeof l.then != "function" && a(c, l, f) : h === ne ? a(c, l, f) : h === ae || h === ue || h === fe ? i(c, l, f) : !1;
128
- };
129
- }
130
- function ve(e) {
131
- var t = e.circular, r = e.createCustomConfig, n = e.strict, a = {
132
- areArraysEqual: n ? q : Q,
133
- areDatesEqual: X,
134
- areMapsEqual: n ? I($, q) : $,
135
- areObjectsEqual: n ? q : Z,
136
- arePrimitiveWrappersEqual: ee,
137
- areRegExpsEqual: te,
138
- areSetsEqual: n ? I(_, q) : _,
139
- areTypedArraysEqual: n ? q : re
140
- };
141
- if (r && (a = k({}, a, r(a))), t) {
142
- var i = j(a.areArraysEqual), u = j(a.areMapsEqual), o = j(a.areObjectsEqual), s = j(a.areSetsEqual);
143
- a = k({}, a, {
144
- areArraysEqual: i,
145
- areMapsEqual: u,
146
- areObjectsEqual: o,
147
- areSetsEqual: s
148
- });
149
- }
150
- return a;
151
- }
152
- function ge(e) {
153
- return function(t, r, n, a, i, u, o) {
154
- return e(t, r, o);
155
- };
156
- }
157
- function de(e) {
158
- var t = e.circular, r = e.comparator, n = e.createState, a = e.equals, i = e.strict;
159
- if (n)
160
- return function(o, s) {
161
- var c = n(), l = c.cache, f = l === void 0 ? t ? /* @__PURE__ */ new WeakMap() : void 0 : l, y = c.meta;
162
- return r(o, s, {
163
- cache: f,
164
- equals: a,
165
- meta: y,
166
- strict: i
167
- });
168
- };
169
- if (t)
170
- return function(o, s) {
171
- return r(o, s, {
172
- cache: /* @__PURE__ */ new WeakMap(),
173
- equals: a,
174
- meta: void 0,
175
- strict: i
176
- });
177
- };
178
- var u = {
179
- cache: void 0,
180
- equals: a,
181
- meta: void 0,
182
- strict: i
183
- };
184
- return function(o, s) {
185
- return r(o, s, u);
186
- };
187
- }
188
- var me = g();
189
- g({ strict: !0 });
190
- g({ circular: !0 });
191
- g({
192
- circular: !0,
193
- strict: !0
194
- });
195
- g({
196
- createInternalComparator: function() {
197
- return m;
198
- }
199
- });
200
- g({
201
- strict: !0,
202
- createInternalComparator: function() {
203
- return m;
204
- }
205
- });
206
- g({
207
- circular: !0,
208
- createInternalComparator: function() {
209
- return m;
210
- }
211
- });
212
- g({
213
- circular: !0,
214
- createInternalComparator: function() {
215
- return m;
216
- },
217
- strict: !0
218
- });
219
- function g(e) {
220
- e === void 0 && (e = {});
221
- var t = e.circular, r = t === void 0 ? !1 : t, n = e.createInternalComparator, a = e.createState, i = e.strict, u = i === void 0 ? !1 : i, o = ve(e), s = ye(o), c = n ? n(s) : ge(s);
222
- return de({ circular: r, comparator: s, createState: a, equals: c, strict: u });
223
- }
224
- var be = {
225
- isEqual: !0,
226
- isMatchingKey: !0,
227
- isPromise: !0,
228
- maxSize: !0,
229
- onCacheAdd: !0,
230
- onCacheChange: !0,
231
- onCacheHit: !0,
232
- transformKey: !0
233
- }, qe = Array.prototype.slice;
234
- function x(e) {
235
- var t = e.length;
236
- return t ? t === 1 ? [e[0]] : t === 2 ? [e[0], e[1]] : t === 3 ? [e[0], e[1], e[2]] : qe.call(e, 0) : [];
237
- }
238
- function Ee(e) {
239
- var t = {};
240
- for (var r in e)
241
- be[r] || (t[r] = e[r]);
242
- return t;
243
- }
244
- function Ce(e) {
245
- return typeof e == "function" && e.isMemoized;
246
- }
247
- function je(e, t) {
248
- return e === t || e !== e && t !== t;
249
- }
250
- function P(e, t) {
251
- var r = {};
252
- for (var n in e)
253
- r[n] = e[n];
254
- for (var n in t)
255
- r[n] = t[n];
256
- return r;
257
- }
258
- var xe = (
259
- /** @class */
260
- function() {
261
- function e(t) {
262
- this.keys = [], this.values = [], this.options = t;
263
- var r = typeof t.isMatchingKey == "function";
264
- r ? this.getKeyIndex = this._getKeyIndexFromMatchingKey : t.maxSize > 1 ? this.getKeyIndex = this._getKeyIndexForMany : this.getKeyIndex = this._getKeyIndexForSingle, this.canTransformKey = typeof t.transformKey == "function", this.shouldCloneArguments = this.canTransformKey || r, this.shouldUpdateOnAdd = typeof t.onCacheAdd == "function", this.shouldUpdateOnChange = typeof t.onCacheChange == "function", this.shouldUpdateOnHit = typeof t.onCacheHit == "function";
265
- }
266
- return Object.defineProperty(e.prototype, "size", {
267
- /**
268
- * The number of cached [key,value] results.
269
- */
270
- get: function() {
271
- return this.keys.length;
272
- },
273
- enumerable: !1,
274
- configurable: !0
275
- }), Object.defineProperty(e.prototype, "snapshot", {
276
- /**
277
- * A copy of the cache at a moment in time. This is useful
278
- * to compare changes over time, since the cache mutates
279
- * internally for performance reasons.
280
- */
281
- get: function() {
282
- return {
283
- keys: x(this.keys),
284
- size: this.size,
285
- values: x(this.values)
286
- };
287
- },
288
- enumerable: !1,
289
- configurable: !0
290
- }), e.prototype._getKeyIndexFromMatchingKey = function(t) {
291
- var r = this.options, n = r.isMatchingKey, a = r.maxSize, i = this.keys, u = i.length;
292
- if (!u)
293
- return -1;
294
- if (n(i[0], t))
295
- return 0;
296
- if (a > 1) {
297
- for (var o = 1; o < u; o++)
298
- if (n(i[o], t))
299
- return o;
300
- }
301
- return -1;
302
- }, e.prototype._getKeyIndexForMany = function(t) {
303
- var r = this.options.isEqual, n = this.keys, a = n.length;
304
- if (!a)
305
- return -1;
306
- if (a === 1)
307
- return this._getKeyIndexForSingle(t);
308
- var i = t.length, u, o;
309
- if (i > 1) {
310
- for (var s = 0; s < a; s++)
311
- if (u = n[s], u.length === i) {
312
- for (o = 0; o < i && r(u[o], t[o]); o++)
313
- ;
314
- if (o === i)
315
- return s;
316
- }
317
- } else
318
- for (var s = 0; s < a; s++)
319
- if (u = n[s], u.length === i && r(u[0], t[0]))
320
- return s;
321
- return -1;
322
- }, e.prototype._getKeyIndexForSingle = function(t) {
323
- var r = this.keys;
324
- if (!r.length)
325
- return -1;
326
- var n = r[0], a = n.length;
327
- if (t.length !== a)
328
- return -1;
329
- var i = this.options.isEqual;
330
- if (a > 1) {
331
- for (var u = 0; u < a; u++)
332
- if (!i(n[u], t[u]))
333
- return -1;
334
- return 0;
335
- }
336
- return i(n[0], t[0]) ? 0 : -1;
337
- }, e.prototype.orderByLru = function(t, r, n) {
338
- for (var a = this.keys, i = this.values, u = a.length, o = n; o--; )
339
- a[o + 1] = a[o], i[o + 1] = i[o];
340
- a[0] = t, i[0] = r;
341
- var s = this.options.maxSize;
342
- u === s && n === u ? (a.pop(), i.pop()) : n >= s && (a.length = i.length = s);
343
- }, e.prototype.updateAsyncCache = function(t) {
344
- var r = this, n = this.options, a = n.onCacheChange, i = n.onCacheHit, u = this.keys[0], o = this.values[0];
345
- this.values[0] = o.then(function(s) {
346
- return r.shouldUpdateOnHit && i(r, r.options, t), r.shouldUpdateOnChange && a(r, r.options, t), s;
347
- }, function(s) {
348
- var c = r.getKeyIndex(u);
349
- throw c !== -1 && (r.keys.splice(c, 1), r.values.splice(c, 1)), s;
350
- });
351
- }, e;
352
- }()
353
- );
354
- function U(e, t) {
355
- if (t === void 0 && (t = {}), Ce(e))
356
- return U(e.fn, P(e.options, t));
357
- if (typeof e != "function")
358
- throw new TypeError("You must pass a function to `memoize`.");
359
- var r = t.isEqual, n = r === void 0 ? je : r, a = t.isMatchingKey, i = t.isPromise, u = i === void 0 ? !1 : i, o = t.maxSize, s = o === void 0 ? 1 : o, c = t.onCacheAdd, l = t.onCacheChange, f = t.onCacheHit, y = t.transformKey, h = P({
360
- isEqual: n,
361
- isMatchingKey: a,
362
- isPromise: u,
363
- maxSize: s,
364
- onCacheAdd: c,
365
- onCacheChange: l,
366
- onCacheHit: f,
367
- transformKey: y
368
- }, Ee(t)), p = new xe(h), d = p.keys, E = p.values, N = p.canTransformKey, O = p.shouldCloneArguments, R = p.shouldUpdateOnAdd, w = p.shouldUpdateOnChange, F = p.shouldUpdateOnHit, v = function() {
369
- var C = O ? x(arguments) : arguments;
370
- N && (C = y(C));
371
- var b = d.length ? p.getKeyIndex(C) : -1;
372
- if (b !== -1)
373
- F && f(p, h, v), b && (p.orderByLru(d[b], E[b], b), w && l(p, h, v));
374
- else {
375
- var H = e.apply(this, arguments), V = O ? C : x(arguments);
376
- p.orderByLru(V, H, d.length), u && p.updateAsyncCache(v), R && c(p, h, v), w && l(p, h, v);
377
- }
378
- return E[0];
379
- };
380
- return v.cache = p, v.fn = e, v.isMemoized = !0, v.options = h, v;
381
- }
382
- function Oe(e) {
383
- return U(e, { isEqual: me });
384
- }
385
- const we = Oe((e) => {
386
- let t = "";
387
- if (typeof e == "number" || typeof e == "string")
388
- t = "m-" + e;
389
- else {
390
- const r = [];
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
- }
393
- return t;
394
- }), Ke = ({
395
- children: e,
396
- fill: t,
397
- viewBox: r,
398
- className: n,
399
- defaultViewBox: a,
400
- defaultClassName: i,
401
- spacing: u,
402
- title: o,
403
- semantic: s = !1,
404
- ...c
405
- }) => {
406
- const l = we(u), f = L(
407
- l,
408
- n || i
409
- );
410
- return /* @__PURE__ */ D(W, { children: [
411
- /* @__PURE__ */ A(
412
- "svg",
413
- {
414
- xmlns: "http://www.w3.org/2000/svg",
415
- className: f,
416
- viewBox: r || a,
417
- fill: t || "currentColor",
418
- role: "img",
419
- "aria-hidden": !s,
420
- focusable: !1,
421
- ...c,
422
- children: e
423
- }
424
- ),
425
- o && s && /* @__PURE__ */ A("span", { className: "sr-only", children: o })
426
- ] });
427
- };
428
- /*!
429
- @versini/ui-private v1.3.0
430
- © 2024 gizmette.com
431
- */
432
- try {
433
- window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
434
- version: "1.3.0",
435
- buildTime: "03/06/2024 10:25 AM EST",
436
- homepage: "https://github.com/aversini/ui-components",
437
- license: "MIT"
438
- });
439
- } catch {
440
- }
441
- export {
442
- Ke as S
443
- };
package/dist/style.css DELETED
@@ -1 +0,0 @@
1
- *,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-ms-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-11{margin-bottom:2.75rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-24{margin-bottom:6rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-32{margin-bottom:8rem}.mb-36{margin-bottom:9rem}.mb-4{margin-bottom:1rem}.mb-44{margin-bottom:11rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.mb-52{margin-bottom:13rem}.mb-56{margin-bottom:14rem}.mb-6{margin-bottom:1.5rem}.mb-60{margin-bottom:15rem}.mb-64{margin-bottom:16rem}.mb-7{margin-bottom:1.75rem}.mb-72{margin-bottom:18rem}.mb-8{margin-bottom:2rem}.mb-80{margin-bottom:20rem}.mb-9{margin-bottom:2.25rem}.mb-96{margin-bottom:24rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-11{margin-left:2.75rem}.ml-12{margin-left:3rem}.ml-14{margin-left:3.5rem}.ml-16{margin-left:4rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-24{margin-left:6rem}.ml-28{margin-left:7rem}.ml-3{margin-left:.75rem}.ml-32{margin-left:8rem}.ml-36{margin-left:9rem}.ml-4{margin-left:1rem}.ml-44{margin-left:11rem}.ml-48{margin-left:12rem}.ml-5{margin-left:1.25rem}.ml-52{margin-left:13rem}.ml-56{margin-left:14rem}.ml-6{margin-left:1.5rem}.ml-60{margin-left:15rem}.ml-64{margin-left:16rem}.ml-7{margin-left:1.75rem}.ml-72{margin-left:18rem}.ml-8{margin-left:2rem}.ml-80{margin-left:20rem}.ml-9{margin-left:2.25rem}.ml-96{margin-left:24rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-10{margin-right:2.5rem}.mr-11{margin-right:2.75rem}.mr-12{margin-right:3rem}.mr-14{margin-right:3.5rem}.mr-16{margin-right:4rem}.mr-2{margin-right:.5rem}.mr-20{margin-right:5rem}.mr-24{margin-right:6rem}.mr-28{margin-right:7rem}.mr-3{margin-right:.75rem}.mr-32{margin-right:8rem}.mr-36{margin-right:9rem}.mr-4{margin-right:1rem}.mr-44{margin-right:11rem}.mr-48{margin-right:12rem}.mr-5{margin-right:1.25rem}.mr-52{margin-right:13rem}.mr-56{margin-right:14rem}.mr-6{margin-right:1.5rem}.mr-60{margin-right:15rem}.mr-64{margin-right:16rem}.mr-7{margin-right:1.75rem}.mr-72{margin-right:18rem}.mr-8{margin-right:2rem}.mr-80{margin-right:20rem}.mr-9{margin-right:2.25rem}.mr-96{margin-right:24rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-11{margin-top:2.75rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-24{margin-top:6rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-32{margin-top:8rem}.mt-36{margin-top:9rem}.mt-4{margin-top:1rem}.mt-44{margin-top:11rem}.mt-48{margin-top:12rem}.mt-5{margin-top:1.25rem}.mt-52{margin-top:13rem}.mt-56{margin-top:14rem}.mt-6{margin-top:1.5rem}.mt-60{margin-top:15rem}.mt-64{margin-top:16rem}.mt-7{margin-top:1.75rem}.mt-72{margin-top:18rem}.mt-8{margin-top:2rem}.mt-80{margin-top:20rem}.mt-9{margin-top:2.25rem}.mt-96{margin-top:24rem}.h-5{height:1.25rem}.w-5{width:1.25rem}.w-full{width:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes blink{50%{fill:transparent}}
package/dist/style.js DELETED
File without changes