@soxa-ui/icons-lucide 0.3.3 → 0.3.5

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/README.md CHANGED
@@ -7,13 +7,15 @@ framework-agnostic core and thin adapters that render it in Vue, React, Angular,
7
7
  Web Components.
8
8
 
9
9
  An icon pack is an implementation of a contract, not a bag of SVG files: the library asks for a
10
- fixed set of roles (`check`, `checkIndeterminate`, `close`, `arrowDown`, `arrowRight`,
10
+ fixed set of roles (`step`, `check`, `checkIndeterminate`, `close`, `arrowDown`, `arrowRight`,
11
11
  `arrowsOutward`, `arrowsInward`, `calendar`, `arrowUpward`, `star`, `minus`, `plus`, `error`,
12
12
  `notification`, `info`, `success`, `warning`), and a pack provides them as plain data — a `viewBox` and the body
13
13
  of the `<svg>`. The root element is built by the adapter, so it can set the size, the classes and
14
14
  `aria-hidden`; there is no bundler-specific import and no runtime template compiler.
15
15
 
16
- The pack ships only these roles, not the whole Lucide set. Lucide draws with a stroke, and so
16
+ The pack also exports optional `mail` and `thumbsUp` icons for app content.
17
+
18
+ Lucide draws with a stroke, and so
17
19
  does the pack — 1.5 units wide instead of 2; only the star is filled. A theme does not need to know
18
20
  that: it colors a Lucide icon the same way it colors any other pack (see [Color](#color) below).
19
21
 
package/dist/index.d.ts CHANGED
@@ -28,9 +28,13 @@ export declare const close: TIconSource;
28
28
  export declare const copy: TIconSource;
29
29
  export declare const error: TIconSource;
30
30
  export declare const info: TIconSource;
31
+ export declare const mail: TIconSource;
31
32
  export declare const minus: TIconSource;
32
33
  export declare const notification: TIconSource;
33
34
  export declare const plus: TIconSource;
34
35
  export declare const star: TIconSource;
36
+ export declare const step: TIconSource;
35
37
  export declare const success: TIconSource;
38
+ export declare const thumbsUp: TIconSource;
39
+ export declare const upload: TIconSource;
36
40
  export declare const warning: TIconSource;
package/dist/index.js CHANGED
@@ -60,6 +60,10 @@ var info = {
60
60
  viewBox: "0 0 24 24",
61
61
  body: "<g fill=\"none\" stroke=\"var(--so-icon-color, currentColor)\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 16v-4\"/><path d=\"M12 8h.01\"/></g>"
62
62
  };
63
+ var mail = {
64
+ viewBox: "0 0 24 24",
65
+ body: "<g fill=\"none\" stroke=\"var(--so-icon-color, currentColor)\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7\"/><rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\"/></g>"
66
+ };
63
67
  var minus = {
64
68
  viewBox: "0 0 24 24",
65
69
  body: "<g fill=\"none\" stroke=\"var(--so-icon-color, currentColor)\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12h14\"/></g>"
@@ -76,13 +80,25 @@ var star = {
76
80
  viewBox: "0 0 24 24",
77
81
  body: "<g fill=\"var(--so-icon-color, currentColor)\" stroke=\"var(--so-icon-color, currentColor)\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z\"/></g>"
78
82
  };
83
+ var step = {
84
+ viewBox: "0 0 24 24",
85
+ body: "<g fill=\"none\" stroke=\"var(--so-icon-color, currentColor)\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M2 12h14\"/><path d=\"m9 5 7 7-7 7\"/><circle cx=\"21\" cy=\"12\" r=\"1\"/></g>"
86
+ };
79
87
  var success = {
80
88
  viewBox: "0 0 24 24",
81
89
  body: "<g fill=\"none\" stroke=\"var(--so-icon-color, currentColor)\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"m16 9-5.5 5.5L8 12\"/></g>"
82
90
  };
91
+ var thumbsUp = {
92
+ viewBox: "0 0 24 24",
93
+ body: "<g fill=\"none\" stroke=\"var(--so-icon-color, currentColor)\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z\"/><path d=\"M7 10v12\"/></g>"
94
+ };
95
+ var upload = {
96
+ viewBox: "0 0 24 24",
97
+ body: "<g fill=\"none\" stroke=\"var(--so-icon-color, currentColor)\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 3v12\"/><path d=\"m17 8-5-5-5 5\"/><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/></g>"
98
+ };
83
99
  var warning = {
84
100
  viewBox: "0 0 24 24",
85
101
  body: "<g fill=\"none\" stroke=\"var(--so-icon-color, currentColor)\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"/><path d=\"M12 9v4\"/><path d=\"M12 17h.01\"/></g>"
86
102
  };
87
103
  //#endregion
88
- export { arrowDown, arrowRight, arrowUpward, arrowsInward, arrowsOutward, calendar, check, checkIndeterminate, close, copy, error, info, minus, notification, plus, star, success, warning };
104
+ export { arrowDown, arrowRight, arrowUpward, arrowsInward, arrowsOutward, calendar, check, checkIndeterminate, close, copy, error, info, mail, minus, notification, plus, star, step, success, thumbsUp, upload, warning };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soxa-ui/icons-lucide",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Иконки Lucide: реализация контракта ролей ICON_ROLES",
5
5
  "keywords": [
6
6
  "soxa",
@@ -41,6 +41,6 @@
41
41
  "generate": "node scripts/generate.mjs"
42
42
  },
43
43
  "peerDependencies": {
44
- "@soxa-ui/setup": "^0.6.0"
44
+ "@soxa-ui/setup": "^1.0.0"
45
45
  }
46
46
  }