@versini/ui-icons 4.15.0 → 4.15.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.
Files changed (2) hide show
  1. package/dist/index.js +44 -5
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /*!
2
- @versini/ui-icons v4.15.0
2
+ @versini/ui-icons v4.15.1
3
3
  © 2025 gizmette.com
4
4
  */
5
5
  try {
6
6
  if (!window.__VERSINI_UI_ICONS__) {
7
7
  window.__VERSINI_UI_ICONS__ = {
8
- version: "4.15.0",
9
- buildTime: "11/03/2025 06:59 PM EST",
8
+ version: "4.15.1",
9
+ buildTime: "11/03/2025 07:21 PM EST",
10
10
  homepage: "https://github.com/aversini/ui-icons",
11
11
  license: "MIT",
12
12
  };
@@ -16,11 +16,50 @@ try {
16
16
  }
17
17
 
18
18
  import { jsx, jsxs } from "react/jsx-runtime";
19
- import { SvgIcon } from "@versini/ui-svgicon";
19
+ import clsx from "clsx";
20
20
 
21
21
  ;// CONCATENATED MODULE: external "react/jsx-runtime"
22
22
 
23
- ;// CONCATENATED MODULE: external "@versini/ui-svgicon"
23
+ ;// CONCATENATED MODULE: external "clsx"
24
+
25
+ ;// CONCATENATED MODULE: ../ui-svgicon/dist/index.js
26
+ /*!
27
+ @versini/ui-svgicon v4.3.0
28
+ © 2025 gizmette.com
29
+ */ try {
30
+ if (!window.__VERSINI_UI_SVGICON__) {
31
+ window.__VERSINI_UI_SVGICON__ = {
32
+ version: "4.3.0",
33
+ buildTime: "11/03/2025 07:21 PM EST",
34
+ homepage: "https://github.com/aversini/ui-icons",
35
+ license: "MIT"
36
+ };
37
+ }
38
+ } catch (error) {
39
+ // nothing to declare officer
40
+ }
41
+
42
+
43
+ const SvgIcon = ({ children, fill, viewBox, className, defaultViewBox, size, title, semantic = false, ...rest })=>{
44
+ const generatedClassName = clsx(size, className);
45
+ return /*#__PURE__*/ jsxs("svg", {
46
+ xmlns: "http://www.w3.org/2000/svg",
47
+ className: generatedClassName,
48
+ viewBox: viewBox ? viewBox : defaultViewBox,
49
+ fill: fill ? fill : "currentColor",
50
+ role: "img",
51
+ "aria-hidden": !semantic,
52
+ focusable: false,
53
+ ...rest,
54
+ children: [
55
+ title && semantic && /*#__PURE__*/ jsx("title", {
56
+ children: title
57
+ }),
58
+ children
59
+ ]
60
+ });
61
+ };
62
+ /* v8 ignore next 1 */
24
63
 
25
64
  ;// CONCATENATED MODULE: ./src/components/Icons/IconAdd.tsx
26
65
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-icons",
3
- "version": "4.15.0",
3
+ "version": "4.15.1",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -35,14 +35,14 @@
35
35
  "test": "vitest run"
36
36
  },
37
37
  "devDependencies": {
38
- "@awesome.me/kit-7767782ab9": "latest"
38
+ "@awesome.me/kit-7767782ab9": "latest",
39
+ "@versini/ui-svgicon": "../ui-svgicon"
39
40
  },
40
41
  "dependencies": {
41
- "@versini/ui-svgicon": "../ui-svgicon",
42
42
  "svgo": "4.0.0"
43
43
  },
44
44
  "sideEffects": [
45
45
  "**/*.css"
46
46
  ],
47
- "gitHead": "e4de2f10f9a7ff2628781de1ee86831d625863a7"
47
+ "gitHead": "b4226a71593704b53cf7ce7c70c031c40ca1e50a"
48
48
  }