@versini/ui-icons 2.0.3 → 3.0.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 (40) hide show
  1. package/dist/chunks/{index.HoYlz4nF.js → index.D_B31Wjq.js} +17 -17
  2. package/dist/components/Icons/IconAdd.js +15 -15
  3. package/dist/components/Icons/IconAnthropic.js +9 -9
  4. package/dist/components/Icons/IconBack.js +13 -13
  5. package/dist/components/Icons/IconBookmark.js +17 -17
  6. package/dist/components/Icons/IconBrightness.js +11 -11
  7. package/dist/components/Icons/IconChart.js +9 -9
  8. package/dist/components/Icons/IconClose.js +8 -8
  9. package/dist/components/Icons/IconCopied.js +10 -10
  10. package/dist/components/Icons/IconCopy.js +3 -3
  11. package/dist/components/Icons/IconDelete.js +9 -9
  12. package/dist/components/Icons/IconDog.js +2 -3
  13. package/dist/components/Icons/IconDown.js +17 -17
  14. package/dist/components/Icons/IconEdit.js +11 -11
  15. package/dist/components/Icons/IconGitHub.js +11 -11
  16. package/dist/components/Icons/IconHide.js +9 -9
  17. package/dist/components/Icons/IconHistory.js +5 -5
  18. package/dist/components/Icons/IconInfo.js +7 -7
  19. package/dist/components/Icons/IconKey.js +11 -11
  20. package/dist/components/Icons/IconLocked.js +12 -12
  21. package/dist/components/Icons/IconMessages.js +8 -8
  22. package/dist/components/Icons/IconNext.js +17 -17
  23. package/dist/components/Icons/IconOpenAI.js +9 -9
  24. package/dist/components/Icons/IconPasskey.js +13 -13
  25. package/dist/components/Icons/IconPrevious.js +14 -14
  26. package/dist/components/Icons/IconProfile.js +5 -5
  27. package/dist/components/Icons/IconRefresh.js +12 -12
  28. package/dist/components/Icons/IconRestore.js +11 -11
  29. package/dist/components/Icons/IconSearch.js +10 -10
  30. package/dist/components/Icons/IconSettings.js +10 -10
  31. package/dist/components/Icons/IconShow.js +13 -13
  32. package/dist/components/Icons/IconSort.js +13 -13
  33. package/dist/components/Icons/IconSortDown.js +13 -13
  34. package/dist/components/Icons/IconSortUp.js +7 -7
  35. package/dist/components/Icons/IconStarInCircle.js +10 -10
  36. package/dist/components/Icons/IconUp.js +13 -13
  37. package/dist/components/Icons/IconUser.js +14 -14
  38. package/dist/index.d.ts +4 -8
  39. package/dist/index.js +3 -3
  40. package/package.json +4 -4
@@ -1,20 +1,20 @@
1
1
  import { jsxs as p, jsx as c } from "react/jsx-runtime";
2
- import { h as a } from "../../chunks/index.HoYlz4nF.js";
3
- const h = ({
2
+ import { h as e } from "../../chunks/index.D_B31Wjq.js";
3
+ const H = ({
4
4
  className: t,
5
5
  viewBox: s,
6
6
  title: o,
7
7
  monotone: r,
8
- ...e
8
+ ...i
9
9
  }) => /* @__PURE__ */ p(
10
- a,
10
+ e,
11
11
  {
12
12
  defaultViewBox: "0 0 576 512",
13
- defaultClassName: "size-5",
13
+ size: "size-5",
14
14
  viewBox: s,
15
15
  className: t,
16
16
  title: o || "Sort Up",
17
- ...e,
17
+ ...i,
18
18
  children: [
19
19
  /* @__PURE__ */ c(
20
20
  "path",
@@ -28,5 +28,5 @@ const h = ({
28
28
  }
29
29
  );
30
30
  export {
31
- h as IconSortUp
31
+ H as IconSortUp
32
32
  };
@@ -1,20 +1,20 @@
1
- import { jsxs as o, jsx as c } from "react/jsx-runtime";
2
- import { h as r } from "../../chunks/index.HoYlz4nF.js";
3
- const m = ({
1
+ import { jsxs as r, jsx as c } from "react/jsx-runtime";
2
+ import { h as e } from "../../chunks/index.D_B31Wjq.js";
3
+ const p = ({
4
4
  className: l,
5
5
  viewBox: s,
6
6
  title: t,
7
- monotone: a,
8
- ...e
9
- }) => /* @__PURE__ */ o(
10
- r,
7
+ monotone: i,
8
+ ...o
9
+ }) => /* @__PURE__ */ r(
10
+ e,
11
11
  {
12
12
  defaultViewBox: "0 0 512 512",
13
- defaultClassName: "size-5",
13
+ size: "size-5",
14
14
  viewBox: s,
15
15
  className: l,
16
16
  title: t || "Star in Circle",
17
- ...e,
17
+ ...o,
18
18
  children: [
19
19
  /* @__PURE__ */ c(
20
20
  "path",
@@ -28,5 +28,5 @@ const m = ({
28
28
  }
29
29
  );
30
30
  export {
31
- m as IconStarInCircle
31
+ p as IconStarInCircle
32
32
  };
@@ -1,25 +1,25 @@
1
- import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
- import { h as i } from "../../chunks/index.HoYlz4nF.js";
3
- const m = ({
1
+ import { jsxs as e, jsx as t } from "react/jsx-runtime";
2
+ import { h as r } from "../../chunks/index.D_B31Wjq.js";
3
+ const d = ({
4
4
  className: o,
5
- viewBox: s,
6
- title: c,
7
- monotone: e,
5
+ viewBox: c,
6
+ title: s,
7
+ monotone: i,
8
8
  ...p
9
- }) => /* @__PURE__ */ a(
10
- i,
9
+ }) => /* @__PURE__ */ e(
10
+ r,
11
11
  {
12
12
  defaultViewBox: "0 0 384 512",
13
- defaultClassName: "size-5",
14
- viewBox: s,
13
+ size: "size-5",
14
+ viewBox: c,
15
15
  className: o,
16
- title: c || "Up",
16
+ title: s || "Up",
17
17
  ...p,
18
18
  children: [
19
19
  /* @__PURE__ */ t(
20
20
  "path",
21
21
  {
22
- opacity: e ? "1" : "0.4",
22
+ opacity: i ? "1" : "0.4",
23
23
  d: "M160 141.3V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.3l-32-32-32 32z"
24
24
  }
25
25
  ),
@@ -28,5 +28,5 @@ const m = ({
28
28
  }
29
29
  );
30
30
  export {
31
- m as IconUp
31
+ d as IconUp
32
32
  };
@@ -1,29 +1,29 @@
1
- import { jsxs as r, jsx as s } from "react/jsx-runtime";
2
- import { h as m } from "../../chunks/index.HoYlz4nF.js";
1
+ import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
+ import { h as i } from "../../chunks/index.D_B31Wjq.js";
3
3
  const n = ({
4
- className: t,
5
- viewBox: a,
4
+ className: s,
5
+ viewBox: t,
6
6
  title: e,
7
- monotone: i,
8
- ...o
9
- }) => /* @__PURE__ */ r(
10
- m,
7
+ monotone: z,
8
+ ...r
9
+ }) => /* @__PURE__ */ a(
10
+ i,
11
11
  {
12
12
  defaultViewBox: "0 0 512 512",
13
- defaultClassName: "size-5",
14
- viewBox: a,
15
- className: t,
13
+ size: "size-5",
14
+ viewBox: t,
15
+ className: s,
16
16
  title: e || "User",
17
- ...o,
17
+ ...r,
18
18
  children: [
19
- /* @__PURE__ */ s(
19
+ /* @__PURE__ */ o(
20
20
  "path",
21
21
  {
22
22
  opacity: "0.4",
23
23
  d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM164.1 325.5C182 346.2 212.6 368 256 368s74-21.8 91.9-42.5c5.8-6.7 15.9-7.4 22.6-1.6s7.4 15.9 1.6 22.6C349.8 372.1 311.1 400 256 400s-93.8-27.9-116.1-53.5c-5.8-6.7-5.1-16.8 1.6-22.6s16.8-5.1 22.6 1.6zM144.4 208a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm192-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"
24
24
  }
25
25
  ),
26
- /* @__PURE__ */ s("path", { d: "M176.4 240a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm160 0a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })
26
+ /* @__PURE__ */ o("path", { d: "M176.4 240a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm160 0a32 32 0 1 0 0-64 32 32 0 1 0 0 64z" })
27
27
  ]
28
28
  }
29
29
  );
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { SvgIconTypes } from '@versini/ui-types';
2
3
 
3
- interface IconsProps extends React.SVGAttributes<SVGElement> {
4
+ type IconsProps = {
4
5
  /**
5
6
  * Whether or not to render the icon in a single color
6
7
  * @default false
@@ -11,13 +12,8 @@ interface IconsProps extends React.SVGAttributes<SVGElement> {
11
12
  * but it can be overridden with this prop.
12
13
  */
13
14
  title?: string;
14
- /**
15
- * Whether or not the icon is semantic (visual and
16
- * announced to assistive technologies).
17
- * @default false
18
- */
19
- semantic?: boolean;
20
- }
15
+ } & Pick<SvgIconTypes.Props, "semantic" | "size" | "className" | "viewBox"> &
16
+ React.SVGAttributes<SVGElement>;
21
17
 
22
18
  declare const IconAdd: ({ className, viewBox, title, monotone, ...rest }: IconsProps) => react_jsx_runtime.JSX.Element;
23
19
 
package/dist/index.js CHANGED
@@ -35,13 +35,13 @@ import { IconStarInCircle as ao } from "./components/Icons/IconStarInCircle.js";
35
35
  import { IconUp as wo } from "./components/Icons/IconUp.js";
36
36
  import { IconUser as go } from "./components/Icons/IconUser.js";
37
37
  /*!
38
- @versini/ui-icons v2.0.3
38
+ @versini/ui-icons v3.0.1
39
39
  © 2024 gizmette.com
40
40
  */
41
41
  try {
42
42
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
43
- version: "2.0.3",
44
- buildTime: "12/30/2024 02:25 PM EST",
43
+ version: "3.0.1",
44
+ buildTime: "12/30/2024 05:27 PM EST",
45
45
  homepage: "https://github.com/aversini/ui-components",
46
46
  license: "MIT"
47
47
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-icons",
3
- "version": "2.0.3",
3
+ "version": "3.0.1",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -39,11 +39,11 @@
39
39
  "react-dom": "^18.3.1 || ^19.0.0"
40
40
  },
41
41
  "dependencies": {
42
- "@versini/ui-svgicon": "2.0.3",
43
- "@versini/ui-types": "2.2.0"
42
+ "@versini/ui-svgicon": "3.0.1",
43
+ "@versini/ui-types": "3.0.1"
44
44
  },
45
45
  "sideEffects": [
46
46
  "**/*.css"
47
47
  ],
48
- "gitHead": "2a29d0fa51876f41fb9acab344a9c8e87fc6a0a2"
48
+ "gitHead": "c83e1c1ff281bb8d84e899777a6d055c74451090"
49
49
  }