@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.
- package/dist/chunks/{index.Dvy_-ZVi.js → index.CKjEe6Yx.js} +17 -17
- package/dist/components/Icons/IconBack.js +1 -1
- package/dist/components/Icons/IconChart.js +1 -1
- package/dist/components/Icons/IconClose.js +1 -1
- package/dist/components/Icons/IconCopied.js +1 -1
- package/dist/components/Icons/IconCopy.js +1 -1
- package/dist/components/Icons/IconDelete.js +1 -1
- package/dist/components/Icons/IconDog.js +1 -1
- package/dist/components/Icons/IconEdit.js +1 -1
- package/dist/components/Icons/IconGitHub.js +1 -1
- package/dist/components/Icons/IconHide.js +1 -1
- package/dist/components/Icons/IconHistory.js +1 -1
- package/dist/components/Icons/IconInfo.js +1 -1
- package/dist/components/Icons/IconNext.js +1 -1
- package/dist/components/Icons/IconPrevious.js +1 -1
- package/dist/components/Icons/IconProfile.js +1 -1
- package/dist/components/Icons/IconRestore.js +1 -1
- package/dist/components/Icons/IconSettings.js +1 -1
- package/dist/components/Icons/IconShow.js +1 -1
- package/dist/components/Icons/IconUser.js +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +3 -3
- package/package.json +3 -3
|
@@ -18,7 +18,7 @@ function j(e) {
|
|
|
18
18
|
return a.delete(t), a.delete(r), o;
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
function
|
|
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",
|
|
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
|
|
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 =
|
|
68
|
-
if (
|
|
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 =
|
|
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
|
|
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(
|
|
134
|
+
areMapsEqual: n ? K($, q) : $,
|
|
135
135
|
areObjectsEqual: n ? q : Z,
|
|
136
136
|
arePrimitiveWrappersEqual: ee,
|
|
137
137
|
areRegExpsEqual: te,
|
|
138
|
-
areSetsEqual: n ? K(
|
|
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
|
-
}),
|
|
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
|
-
|
|
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 &&
|
|
425
|
+
o && s && /* @__PURE__ */ I("span", { className: "sr-only", children: o })
|
|
426
426
|
] });
|
|
427
427
|
};
|
|
428
428
|
/*!
|
|
429
|
-
@versini/ui-private v1.
|
|
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.
|
|
435
|
-
buildTime: "02/26/2024
|
|
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
|
-
|
|
442
|
+
Se as S
|
|
443
443
|
};
|
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
|
|
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: "
|
|
27
|
-
buildTime: "02/26/2024
|
|
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": "
|
|
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.
|
|
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": "
|
|
51
|
+
"gitHead": "fe6766e5f53d61e19915c2780f8f137bc2b1568d"
|
|
52
52
|
}
|