@ws-ui/icons 0.2.2 → 0.2.3

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/index.es.js CHANGED
@@ -9,8 +9,7 @@ object-assign
9
9
  */
10
10
  var K, R1;
11
11
  function D1() {
12
- if (R1)
13
- return K;
12
+ if (R1) return K;
14
13
  R1 = 1;
15
14
  var l = Object.getOwnPropertySymbols, F = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
16
15
  function R(m) {
@@ -25,30 +24,30 @@ function D1() {
25
24
  var m = new String("abc");
26
25
  if (m[5] = "de", Object.getOwnPropertyNames(m)[0] === "5")
27
26
  return !1;
28
- for (var j = {}, d = 0; d < 10; d++)
29
- j["_" + String.fromCharCode(d)] = d;
30
- var u = Object.getOwnPropertyNames(j).map(function(n) {
31
- return j[n];
27
+ for (var j = {}, n = 0; n < 10; n++)
28
+ j["_" + String.fromCharCode(n)] = n;
29
+ var u = Object.getOwnPropertyNames(j).map(function(d) {
30
+ return j[d];
32
31
  });
33
32
  if (u.join("") !== "0123456789")
34
33
  return !1;
35
34
  var x = {};
36
- return "abcdefghijklmnopqrst".split("").forEach(function(n) {
37
- x[n] = n;
35
+ return "abcdefghijklmnopqrst".split("").forEach(function(d) {
36
+ x[d] = d;
38
37
  }), Object.keys(Object.assign({}, x)).join("") === "abcdefghijklmnopqrst";
39
38
  } catch {
40
39
  return !1;
41
40
  }
42
41
  }
43
42
  return K = L() ? Object.assign : function(m, j) {
44
- for (var d, u = R(m), x, n = 1; n < arguments.length; n++) {
45
- d = Object(arguments[n]);
46
- for (var M in d)
47
- F.call(d, M) && (u[M] = d[M]);
43
+ for (var n, u = R(m), x, d = 1; d < arguments.length; d++) {
44
+ n = Object(arguments[d]);
45
+ for (var M in n)
46
+ F.call(n, M) && (u[M] = n[M]);
48
47
  if (l) {
49
- x = l(d);
48
+ x = l(n);
50
49
  for (var g = 0; g < x.length; g++)
51
- C.call(d, x[g]) && (u[x[g]] = d[x[g]]);
50
+ C.call(n, x[g]) && (u[x[g]] = n[x[g]]);
52
51
  }
53
52
  }
54
53
  return u;
@@ -64,8 +63,7 @@ function D1() {
64
63
  */
65
64
  var V1;
66
65
  function t0() {
67
- if (V1)
68
- return b;
66
+ if (V1) return b;
69
67
  V1 = 1, D1();
70
68
  var l = L1, F = 60103;
71
69
  if (b.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
@@ -73,15 +71,12 @@ function t0() {
73
71
  F = C("react.element"), b.Fragment = C("react.fragment");
74
72
  }
75
73
  var R = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, L = Object.prototype.hasOwnProperty, m = { key: !0, ref: !0, __self: !0, __source: !0 };
76
- function j(d, u, x) {
77
- var n, M = {}, g = null, V = null;
74
+ function j(n, u, x) {
75
+ var d, M = {}, g = null, V = null;
78
76
  x !== void 0 && (g = "" + x), u.key !== void 0 && (g = "" + u.key), u.ref !== void 0 && (V = u.ref);
79
- for (n in u)
80
- L.call(u, n) && !m.hasOwnProperty(n) && (M[n] = u[n]);
81
- if (d && d.defaultProps)
82
- for (n in u = d.defaultProps, u)
83
- M[n] === void 0 && (M[n] = u[n]);
84
- return { $$typeof: F, type: d, key: g, ref: V, props: M, _owner: R.current };
77
+ for (d in u) L.call(u, d) && !m.hasOwnProperty(d) && (M[d] = u[d]);
78
+ if (n && n.defaultProps) for (d in u = n.defaultProps, u) M[d] === void 0 && (M[d] = u[d]);
79
+ return { $$typeof: F, type: n, key: g, ref: V, props: M, _owner: R.current };
85
80
  }
86
81
  return b.jsx = j, b.jsxs = j, b;
87
82
  }
@@ -100,10 +95,10 @@ function c0() {
100
95
  process.env.NODE_ENV !== "production" && function() {
101
96
  var F = L1, C = D1(), R = 60103, L = 60106;
102
97
  l.Fragment = 60107;
103
- var m = 60108, j = 60114, d = 60109, u = 60110, x = 60112, n = 60113, M = 60120, g = 60115, V = 60116, S = 60121, e1 = 60122, l1 = 60117, a1 = 60129, r1 = 60131;
98
+ var m = 60108, j = 60114, n = 60109, u = 60110, x = 60112, d = 60113, M = 60120, g = 60115, V = 60116, S = 60121, e1 = 60122, l1 = 60117, a1 = 60129, r1 = 60131;
104
99
  if (typeof Symbol == "function" && Symbol.for) {
105
100
  var A = Symbol.for;
106
- R = A("react.element"), L = A("react.portal"), l.Fragment = A("react.fragment"), m = A("react.strict_mode"), j = A("react.profiler"), d = A("react.provider"), u = A("react.context"), x = A("react.forward_ref"), n = A("react.suspense"), M = A("react.suspense_list"), g = A("react.memo"), V = A("react.lazy"), S = A("react.block"), e1 = A("react.server.block"), l1 = A("react.fundamental"), A("react.scope"), A("react.opaque.id"), a1 = A("react.debug_trace_mode"), A("react.offscreen"), r1 = A("react.legacy_hidden");
101
+ R = A("react.element"), L = A("react.portal"), l.Fragment = A("react.fragment"), m = A("react.strict_mode"), j = A("react.profiler"), n = A("react.provider"), u = A("react.context"), x = A("react.forward_ref"), d = A("react.suspense"), M = A("react.suspense_list"), g = A("react.memo"), V = A("react.lazy"), S = A("react.block"), e1 = A("react.server.block"), l1 = A("react.fundamental"), A("react.scope"), A("react.opaque.id"), a1 = A("react.debug_trace_mode"), A("react.offscreen"), r1 = A("react.legacy_hidden");
107
102
  }
108
103
  var h1 = typeof Symbol == "function" && Symbol.iterator, P1 = "@@iterator";
109
104
  function E1(a) {
@@ -122,17 +117,17 @@ function c0() {
122
117
  }
123
118
  function b1(a, r, h) {
124
119
  {
125
- var t = D.ReactDebugCurrentFrame, i = t.getStackAddendum();
126
- i !== "" && (r += "%s", h = h.concat([i]));
127
- var o = h.map(function(v) {
120
+ var t = D.ReactDebugCurrentFrame, o = t.getStackAddendum();
121
+ o !== "" && (r += "%s", h = h.concat([o]));
122
+ var i = h.map(function(v) {
128
123
  return "" + v;
129
124
  });
130
- o.unshift("Warning: " + r), Function.prototype.apply.call(console[a], console, o);
125
+ i.unshift("Warning: " + r), Function.prototype.apply.call(console[a], console, i);
131
126
  }
132
127
  }
133
128
  var Q1 = !1;
134
129
  function O1(a) {
135
- return !!(typeof a == "string" || typeof a == "function" || a === l.Fragment || a === j || a === a1 || a === m || a === n || a === M || a === r1 || Q1 || typeof a == "object" && a !== null && (a.$$typeof === V || a.$$typeof === g || a.$$typeof === d || a.$$typeof === u || a.$$typeof === x || a.$$typeof === l1 || a.$$typeof === S || a[0] === e1));
130
+ return !!(typeof a == "string" || typeof a == "function" || a === l.Fragment || a === j || a === a1 || a === m || a === d || a === M || a === r1 || Q1 || typeof a == "object" && a !== null && (a.$$typeof === V || a.$$typeof === g || a.$$typeof === n || a.$$typeof === u || a.$$typeof === x || a.$$typeof === l1 || a.$$typeof === S || a[0] === e1));
136
131
  }
137
132
  function I1(a, r, h) {
138
133
  var t = r.displayName || r.name || "";
@@ -157,7 +152,7 @@ function c0() {
157
152
  return "Profiler";
158
153
  case m:
159
154
  return "StrictMode";
160
- case n:
155
+ case d:
161
156
  return "Suspense";
162
157
  case M:
163
158
  return "SuspenseList";
@@ -167,7 +162,7 @@ function c0() {
167
162
  case u:
168
163
  var r = a;
169
164
  return t1(r) + ".Consumer";
170
- case d:
165
+ case n:
171
166
  var h = a;
172
167
  return t1(h._context) + ".Provider";
173
168
  case x:
@@ -177,9 +172,9 @@ function c0() {
177
172
  case S:
178
173
  return p(a._render);
179
174
  case V: {
180
- var t = a, i = t._payload, o = t._init;
175
+ var t = a, o = t._payload, i = t._init;
181
176
  try {
182
- return p(o(i));
177
+ return p(i(o));
183
178
  } catch {
184
179
  return null;
185
180
  }
@@ -187,14 +182,14 @@ function c0() {
187
182
  }
188
183
  return null;
189
184
  }
190
- var Q = 0, c1, v1, i1, o1, n1, d1, s1;
185
+ var Q = 0, c1, v1, i1, o1, d1, n1, s1;
191
186
  function u1() {
192
187
  }
193
188
  u1.__reactDisabledLog = !0;
194
189
  function S1() {
195
190
  {
196
191
  if (Q === 0) {
197
- c1 = console.log, v1 = console.info, i1 = console.warn, o1 = console.error, n1 = console.group, d1 = console.groupCollapsed, s1 = console.groupEnd;
192
+ c1 = console.log, v1 = console.info, i1 = console.warn, o1 = console.error, d1 = console.group, n1 = console.groupCollapsed, s1 = console.groupEnd;
198
193
  var a = {
199
194
  configurable: !0,
200
195
  enumerable: !0,
@@ -236,10 +231,10 @@ function c0() {
236
231
  value: o1
237
232
  }),
238
233
  group: C({}, a, {
239
- value: n1
234
+ value: d1
240
235
  }),
241
236
  groupCollapsed: C({}, a, {
242
- value: d1
237
+ value: n1
243
238
  }),
244
239
  groupEnd: C({}, a, {
245
240
  value: s1
@@ -255,8 +250,8 @@ function c0() {
255
250
  if (N === void 0)
256
251
  try {
257
252
  throw Error();
258
- } catch (i) {
259
- var t = i.stack.trim().match(/\n( *(at )?)/);
253
+ } catch (o) {
254
+ var t = o.stack.trim().match(/\n( *(at )?)/);
260
255
  N = t && t[1] || "";
261
256
  }
262
257
  return `
@@ -278,10 +273,10 @@ function c0() {
278
273
  }
279
274
  var t;
280
275
  G = !0;
281
- var i = Error.prepareStackTrace;
276
+ var o = Error.prepareStackTrace;
282
277
  Error.prepareStackTrace = void 0;
283
- var o;
284
- o = Y.current, Y.current = null, S1();
278
+ var i;
279
+ i = Y.current, Y.current = null, S1();
285
280
  try {
286
281
  if (r) {
287
282
  var v = function() {
@@ -334,7 +329,7 @@ function c0() {
334
329
  }
335
330
  }
336
331
  } finally {
337
- G = !1, Y.current = o, k1(), Error.prepareStackTrace = i;
332
+ G = !1, Y.current = i, k1(), Error.prepareStackTrace = o;
338
333
  }
339
334
  var E = a ? a.displayName || a.name : "", H1 = E ? k(E) : "";
340
335
  return typeof a == "function" && y.set(a, H1), H1;
@@ -354,7 +349,7 @@ function c0() {
354
349
  if (typeof a == "string")
355
350
  return k(a);
356
351
  switch (a) {
357
- case n:
352
+ case d:
358
353
  return k("Suspense");
359
354
  case M:
360
355
  return k("SuspenseList");
@@ -368,9 +363,9 @@ function c0() {
368
363
  case S:
369
364
  return f1(a._render);
370
365
  case V: {
371
- var t = a, i = t._payload, o = t._init;
366
+ var t = a, o = t._payload, i = t._init;
372
367
  try {
373
- return T(o(i), r, h);
368
+ return T(i(o), r, h);
374
369
  } catch {
375
370
  }
376
371
  }
@@ -385,11 +380,11 @@ function c0() {
385
380
  } else
386
381
  g1.setExtraStackFrame(null);
387
382
  }
388
- function X1(a, r, h, t, i) {
383
+ function X1(a, r, h, t, o) {
389
384
  {
390
- var o = Function.call.bind(Object.prototype.hasOwnProperty);
385
+ var i = Function.call.bind(Object.prototype.hasOwnProperty);
391
386
  for (var v in a)
392
- if (o(a, v)) {
387
+ if (i(a, v)) {
393
388
  var c = void 0;
394
389
  try {
395
390
  if (typeof a[v] != "function") {
@@ -400,7 +395,7 @@ function c0() {
400
395
  } catch (s) {
401
396
  c = s;
402
397
  }
403
- c && !(c instanceof Error) && (X(i), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", t || "React class", h, v, typeof c), X(null)), c instanceof Error && !(c.message in x1) && (x1[c.message] = !0, X(i), w("Failed %s type: %s", h, c.message), X(null));
398
+ c && !(c instanceof Error) && (X(o), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", t || "React class", h, v, typeof c), X(null)), c instanceof Error && !(c.message in x1) && (x1[c.message] = !0, X(o), w("Failed %s type: %s", h, c.message), X(null));
404
399
  }
405
400
  }
406
401
  }
@@ -455,7 +450,7 @@ function c0() {
455
450
  });
456
451
  }
457
452
  }
458
- var J1 = function(a, r, h, t, i, o, v) {
453
+ var J1 = function(a, r, h, t, o, i, v) {
459
454
  var c = {
460
455
  // This tag allows us to uniquely identify this as a React Element
461
456
  $$typeof: R,
@@ -465,7 +460,7 @@ function c0() {
465
460
  ref: h,
466
461
  props: v,
467
462
  // Record the component responsible for creating this element.
468
- _owner: o
463
+ _owner: i
469
464
  };
470
465
  return c._store = {}, Object.defineProperty(c._store, "validated", {
471
466
  configurable: !1,
@@ -481,25 +476,25 @@ function c0() {
481
476
  configurable: !1,
482
477
  enumerable: !1,
483
478
  writable: !1,
484
- value: i
479
+ value: o
485
480
  }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
486
481
  };
487
- function q1(a, r, h, t, i) {
482
+ function q1(a, r, h, t, o) {
488
483
  {
489
- var o, v = {}, c = null, Z = null;
490
- h !== void 0 && (c = "" + h), G1(r) && (c = "" + r.key), N1(r) && (Z = r.ref, U1(r, i));
491
- for (o in r)
492
- U.call(r, o) && !Y1.hasOwnProperty(o) && (v[o] = r[o]);
484
+ var i, v = {}, c = null, Z = null;
485
+ h !== void 0 && (c = "" + h), G1(r) && (c = "" + r.key), N1(r) && (Z = r.ref, U1(r, o));
486
+ for (i in r)
487
+ U.call(r, i) && !Y1.hasOwnProperty(i) && (v[i] = r[i]);
493
488
  if (a && a.defaultProps) {
494
489
  var s = a.defaultProps;
495
- for (o in s)
496
- v[o] === void 0 && (v[o] = s[o]);
490
+ for (i in s)
491
+ v[i] === void 0 && (v[i] = s[i]);
497
492
  }
498
493
  if (c || Z) {
499
494
  var f = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
500
495
  c && W1(v, f), Z && z1(v, f);
501
496
  }
502
- return J1(a, c, Z, i, t, O.current, v);
497
+ return J1(a, c, Z, o, t, O.current, v);
503
498
  }
504
499
  }
505
500
  var z = D.ReactCurrentOwner, w1 = D.ReactDebugCurrentFrame;
@@ -528,15 +523,7 @@ Check the render method of \`` + a + "`.";
528
523
  }
529
524
  }
530
525
  function K1(a) {
531
- {
532
- if (a !== void 0) {
533
- var r = a.fileName.replace(/^.*[\\\/]/, ""), h = a.lineNumber;
534
- return `
535
-
536
- Check your code at ` + r + ":" + h + ".";
537
- }
538
- return "";
539
- }
526
+ return "";
540
527
  }
541
528
  var C1 = {};
542
529
  function _1(a) {
@@ -576,9 +563,9 @@ Check the top-level render call using <` + h + ">.");
576
563
  else if (q(a))
577
564
  a._store && (a._store.validated = !0);
578
565
  else if (a) {
579
- var i = E1(a);
580
- if (typeof i == "function" && i !== a.entries)
581
- for (var o = i.call(a), v; !(v = o.next()).done; )
566
+ var o = E1(a);
567
+ if (typeof o == "function" && o !== a.entries)
568
+ for (var i = o.call(a), v; !(v = i.next()).done; )
582
569
  q(v.value) && j1(v.value, r);
583
570
  }
584
571
  }
@@ -602,8 +589,8 @@ Check the top-level render call using <` + h + ">.");
602
589
  X1(h, a.props, "prop", t, a);
603
590
  } else if (r.PropTypes !== void 0 && !J) {
604
591
  J = !0;
605
- var i = p(r);
606
- w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
592
+ var o = p(r);
593
+ w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
607
594
  }
608
595
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
609
596
  }
@@ -620,18 +607,18 @@ Check the top-level render call using <` + h + ">.");
620
607
  a.ref !== null && (P(a), w("Invalid attribute `ref` supplied to `React.Fragment`."), P(null));
621
608
  }
622
609
  }
623
- function B1(a, r, h, t, i, o) {
610
+ function B1(a, r, h, t, o, i) {
624
611
  {
625
612
  var v = O1(a);
626
613
  if (!v) {
627
614
  var c = "";
628
615
  (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
629
- var Z = K1(i);
616
+ var Z = K1();
630
617
  Z ? c += Z : c += M1();
631
618
  var s;
632
619
  a === null ? s = "null" : Array.isArray(a) ? s = "array" : a !== void 0 && a.$$typeof === R ? (s = "<" + (p(a.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : s = typeof a, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, c);
633
620
  }
634
- var f = q1(a, r, h, i, o);
621
+ var f = q1(a, r, h, o, i);
635
622
  if (f == null)
636
623
  return f;
637
624
  if (v) {
@@ -669,13 +656,13 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
669
656
  d: "M7.085 18.91c-.293 0-.363-.482-.017-.482 1.993-.056 1.592-.521 1.704-2.02V8.329l-4.797 5.532h4.256v1.449h-5.66c-.653 0-.753-.315-.281-.851l7.87-9.194a.633.633 0 0 1 .469-.27c.346.013.237.234.829.186a22.832 22.832 0 0 1 5.316.27C19.314 5.95 21.9 7.746 22 11.86a6.842 6.842 0 0 1-.682 3.072 6.988 6.988 0 0 1-1.99 2.464 8.883 8.883 0 0 1-5.417 1.603c-.82.012-2.58-.114-4.103-.128-1.56-.019-1.738.04-2.722.04Zm5.183-5.048c.248-.034.492-.094.727-.18.137-.022.23.104.17.405-.062.302-.225.813-.225.813a.487.487 0 0 1-.2.324.512.512 0 0 1-.376.09h-1.307s-.044 1.853.323 2.15c.67.62 1.659.618 2.876.618a5.68 5.68 0 0 0 2.17-.402 5.59 5.59 0 0 0 1.84-1.195c.936-1.008 1.264-2.463 1.21-4.469a5.698 5.698 0 0 0-.964-3.209 5.876 5.876 0 0 0-2.617-2.15 9.568 9.568 0 0 0-4.341-.571c-.333.028-.533.16-.543.441v7.338l1.257-.003Z",
670
657
  fill: "currentColor"
671
658
  }
672
- ) }), n0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
659
+ ) }), d0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
673
660
  "path",
674
661
  {
675
662
  d: "M16.296 3.544a.747.747 0 0 0-1.03.224L6.862 16.781l-3.051-1.773a.747.747 0 0 0-1.02.269L2.04 16.56a.74.74 0 0 0 .267 1.015L6.67 20.11l.496.318c.206.132.454.15.667.07a.744.744 0 0 0 .412-.333l.239-.407L17.77 5.374a.74.74 0 0 0-.223-1.027l-1.252-.803ZM18.5 7a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h3a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-3ZM16 11.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-1ZM14.5 15a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-7Z",
676
663
  fill: "currentColor"
677
664
  }
678
- ) }), d0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
665
+ ) }), n0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
679
666
  "path",
680
667
  {
681
668
  fillRule: "evenodd",
@@ -1181,13 +1168,13 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
1181
1168
  d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm5.645-14.836a.5.5 0 0 0-.707-.034l-7.703 6.997-1.67-1.684a.5.5 0 0 0-.707-.003l-.71.704a.5.5 0 0 0-.003.707l2.386 2.408.266.292a.5.5 0 0 0 .42.162.498.498 0 0 0 .325-.144l.225-.223 8.516-7.736a.5.5 0 0 0 .034-.706l-.672-.74Z",
1182
1169
  fill: "currentColor"
1183
1170
  }
1184
- ) }), n5 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
1171
+ ) }), d5 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
1185
1172
  "path",
1186
1173
  {
1187
1174
  d: "M21.66 6.28a.5.5 0 0 0 0-.697l-.967-.993a.5.5 0 0 0-.716 0L8.499 16.373 4.023 11.78a.5.5 0 0 0-.716 0l-.967.993a.5.5 0 0 0 0 .697l5.889 6.046.014-.014a.377.377 0 0 0 .54 0L21.66 6.28Z",
1188
1175
  fill: "currentColor"
1189
1176
  }
1190
- ) }), d5 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
1177
+ ) }), n5 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
1191
1178
  "path",
1192
1179
  {
1193
1180
  fillRule: "evenodd",
@@ -1774,7 +1761,7 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
1774
1761
  fill: "currentColor"
1775
1762
  }
1776
1763
  )
1777
- ] }), n2 = (l) => /* @__PURE__ */ e.jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: [
1764
+ ] }), d2 = (l) => /* @__PURE__ */ e.jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: [
1778
1765
  /* @__PURE__ */ e.jsx(
1779
1766
  "path",
1780
1767
  {
@@ -1789,7 +1776,7 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
1789
1776
  fill: "currentColor"
1790
1777
  }
1791
1778
  )
1792
- ] }), d2 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
1779
+ ] }), n2 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
1793
1780
  "path",
1794
1781
  {
1795
1782
  d: "M22 21a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v18Z",
@@ -2404,7 +2391,7 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
2404
2391
  fill: "currentColor"
2405
2392
  }
2406
2393
  )
2407
- ] }), n4 = (l) => /* @__PURE__ */ e.jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: [
2394
+ ] }), d4 = (l) => /* @__PURE__ */ e.jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: [
2408
2395
  /* @__PURE__ */ e.jsx(
2409
2396
  "path",
2410
2397
  {
@@ -2421,7 +2408,7 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
2421
2408
  fill: "currentColor"
2422
2409
  }
2423
2410
  )
2424
- ] }), d4 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
2411
+ ] }), n4 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
2425
2412
  "path",
2426
2413
  {
2427
2414
  d: "M4.971 21.318A2.387 2.387 0 0 1 4.2 20.08 4.91 4.91 0 0 1 4 18.727c0-.227.074-.435.26-.572a.826.826 0 0 1 .496-.169c.19 0 .365.057.517.17.186.136.26.344.26.571 0 .246.033.524.101.833.064.287.18.484.333.613.267.224.53.324.794.324a1 1 0 0 0 .56-.173l.002-.002.003-.001a1.19 1.19 0 0 0 .45-.515v-.002c.157-.32.28-.775.365-1.378.084-.606.14-1.268.168-1.988a53.755 53.755 0 0 0 .022-3.563v-1.158c0-.584-.007-1.168-.022-1.752V9.96c0-.526-.005-1.046-.016-1.56h-.85c-.231 0-.443-.073-.583-.255l-.003-.005-.004-.005a.88.88 0 0 1-.165-.498.79.79 0 0 1 .169-.481c.135-.196.347-.28.587-.28h.845c.003-.466.017-.982.042-1.55.029-.685.139-1.282.334-1.784l.001-.003.001-.002c.215-.512.544-.901.99-1.152A2.76 2.76 0 0 1 11.05 2c.576 0 1.094.177 1.546.528.477.372.703.916.703 1.594 0 .194-.048.387-.2.517a.604.604 0 0 1-.428.161c-.18 0-.35-.06-.507-.162a.87.87 0 0 1-.337-.367l-.006-.013-.003-.013a6.269 6.269 0 0 0-.083-.263l-.005-.016-.003-.017a.659.659 0 0 0-.065-.19l-.002-.004-.003-.005a.3.3 0 0 0-.178-.158.99.99 0 0 0-.365-.068 1.3 1.3 0 0 0-.6.163l-.002.001-.003.001a.867.867 0 0 0-.409.42c-.099.218-.173.545-.215.992a20.88 20.88 0 0 0-.042 1.28v.494h4.31c.231 0 .443.073.582.255a.834.834 0 0 1 .13.244l1.767 2.241L18.47 7.36l.009-.01a.892.892 0 0 1 .662-.31c.23 0 .445.083.608.255a.801.801 0 0 1 .251.596.833.833 0 0 1-.17.507l-.005.007-2.11 2.597 2.105 2.677a.82.82 0 0 1 .18.535.827.827 0 0 1-.243.586.818.818 0 0 1-.997.162.82.82 0 0 1-.3-.23l-.001-.002-1.867-2.365-1.957 2.4-.016.016c-.158.158-.376.297-.649.297a.862.862 0 0 1-.62-.255l-.01-.01-.009-.009a.853.853 0 0 1-.22-.577.77.77 0 0 1 .191-.534l2.218-2.714-2.037-2.58H9.847c.01.514.016 1.034.016 1.558.014.587.021 1.174.021 1.76v1.295c.015.475.022.979.022 1.51 0 .7-.022 1.415-.064 2.144a18.2 18.2 0 0 1-.195 2.073c-.102.656-.263 1.222-.488 1.692-.242.506-.581.896-1.02 1.158-.419.273-.88.411-1.378.411-.656 0-1.254-.231-1.787-.68l-.003-.002Z",
@@ -3011,7 +2998,7 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
3011
2998
  fill: "currentColor"
3012
2999
  }
3013
3000
  )
3014
- ] }), n3 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
3001
+ ] }), d3 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
3015
3002
  "path",
3016
3003
  {
3017
3004
  fillRule: "evenodd",
@@ -3019,7 +3006,7 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
3019
3006
  d: "M8 2a1 1 0 0 0-1 1v1h10V3a1 1 0 0 0-1-1H8Zm9 3H7v1h10V5ZM7 8V7h10v1a1 1 0 0 1-1 1h-3.5v2H17a1 1 0 0 1 1 1v3h3a1 1 0 0 1 1 1v1h-9v-1a1 1 0 0 1 1-1h3v-2.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V15h3a1 1 0 0 1 1 1v1H2v-1a1 1 0 0 1 1-1h3v-3a1 1 0 0 1 1-1h4.5V9H8a1 1 0 0 1-1-1Zm15 10h-9v1h9v-1Zm-9 3v-1h9v1a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1ZM2 18h9v1H2v-1Zm0 2v1a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1v-1H2Z",
3020
3007
  fill: "currentColor"
3021
3008
  }
3022
- ) }), d3 = (l) => /* @__PURE__ */ e.jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: [
3009
+ ) }), n3 = (l) => /* @__PURE__ */ e.jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: [
3023
3010
  /* @__PURE__ */ e.jsx(
3024
3011
  "path",
3025
3012
  {
@@ -3566,7 +3553,7 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
3566
3553
  fill: "currentColor"
3567
3554
  }
3568
3555
  )
3569
- ] }), n7 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
3556
+ ] }), d7 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
3570
3557
  "path",
3571
3558
  {
3572
3559
  fillRule: "evenodd",
@@ -3574,7 +3561,7 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
3574
3561
  d: "M16.076 2.203a.5.5 0 0 0-.354-.146H3.001a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V8.335a.5.5 0 0 0-.147-.354l-5.778-5.778ZM12 19.057a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-8-14.5a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-4Z",
3575
3562
  fill: "currentColor"
3576
3563
  }
3577
- ) }), d7 = (l) => /* @__PURE__ */ e.jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: [
3564
+ ) }), n7 = (l) => /* @__PURE__ */ e.jsxs("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: [
3578
3565
  /* @__PURE__ */ e.jsx(
3579
3566
  "path",
3580
3567
  {
@@ -4081,7 +4068,7 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
4081
4068
  d: "M2.216 11.194a.527.527 0 0 1 0-.85l7.448-5.256c.325-.23.763.015.763.426v2.491c5.942 0 10.58 7.076 11.56 11.477.106.476-.475.703-.8.338-1.787-2.006-5.823-5.805-10.76-5.805v2.505c0 .41-.438.654-.763.425l-7.448-5.75Z",
4082
4069
  fill: "currentColor"
4083
4070
  }
4084
- ) }), n6 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
4071
+ ) }), d6 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
4085
4072
  "path",
4086
4073
  {
4087
4074
  fillRule: "evenodd",
@@ -4089,7 +4076,7 @@ const o0 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", vi
4089
4076
  d: "M20 8.957H7.13V8.77c0-2.804 2.232-5.078 4.984-5.078 1.284 0 2.455.495 3.339 1.308h2.181c-1.193-1.81-3.22-3-5.52-3C8.444 2 5.47 5.03 5.47 8.77v.186H4V21c0 .552.458 1 1.022 1h13.956c.564 0 1.022-.448 1.022-1V8.957Zm-6.217 5.653c0 .642-.356 1.202-.884 1.502v1.97h-1.774v-1.966c-.533-.3-.89-.862-.89-1.506 0-.958.794-1.736 1.774-1.736s1.774.778 1.774 1.736Z",
4090
4077
  fill: "currentColor"
4091
4078
  }
4092
- ) }), d6 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
4079
+ ) }), n6 = (l) => /* @__PURE__ */ e.jsx("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", ...l, children: /* @__PURE__ */ e.jsx(
4093
4080
  "path",
4094
4081
  {
4095
4082
  d: "M12.299 5.203a.524.524 0 0 0-.726 0L9.086 7.552l.008.007-6.973 6.585a.58.58 0 0 0 0 .835l2.045 1.932c.206.194.52.194.726 0l7.051-6.66 7.053 6.66c.205.194.519.194.725 0l2.045-1.932a.58.58 0 0 0 0-.835l-9.467-8.941Z",
@@ -4223,7 +4210,7 @@ export {
4223
4210
  p0 as FdAlignCenter,
4224
4211
  B0 as FdAlignContentEnd,
4225
4212
  H0 as FdAlignContentStart,
4226
- n0 as FdAll,
4213
+ d0 as FdAll,
4227
4214
  R0 as FdAnd,
4228
4215
  V0 as FdAppAnd,
4229
4216
  F0 as FdArrowDown,
@@ -4259,13 +4246,13 @@ export {
4259
4246
  t5 as FdCalculator,
4260
4247
  c5 as FdCanvas,
4261
4248
  v5 as FdCapitalise,
4262
- d5 as FdCheck,
4249
+ n5 as FdCheck,
4263
4250
  o5 as FdCheckCircle,
4264
4251
  i5 as FdCheckCircleO,
4265
- n5 as FdCheckNaked,
4252
+ d5 as FdCheckNaked,
4266
4253
  s5 as FdCircle,
4267
4254
  u5 as FdClassVirtual,
4268
- d0 as FdClasses,
4255
+ n0 as FdClasses,
4269
4256
  A5 as FdClean,
4270
4257
  f5 as FdClearAll,
4271
4258
  s0 as FdClearContent,
@@ -4318,8 +4305,8 @@ export {
4318
4305
  v2 as FdDebuggerStepBack,
4319
4306
  i2 as FdDebuggerStepInto,
4320
4307
  o2 as FdDebuggerStepOut,
4321
- n2 as FdDebuggerStepOver,
4322
- d2 as FdDebuggerTerminate,
4308
+ d2 as FdDebuggerStepOver,
4309
+ n2 as FdDebuggerTerminate,
4323
4310
  u2 as FdDeleteCurrentFile,
4324
4311
  A2 as FdDeleteOtherFile,
4325
4312
  f2 as FdDesc,
@@ -4367,12 +4354,12 @@ export {
4367
4354
  r4 as FdFont,
4368
4355
  h4 as FdFooter,
4369
4356
  t4 as FdFullScreen,
4370
- d4 as FdFunction,
4357
+ n4 as FdFunction,
4371
4358
  c4 as FdFunctionDataclass,
4372
4359
  v4 as FdFunctionDatastore,
4373
4360
  i4 as FdFunctionEntity,
4374
4361
  o4 as FdFunctionSelection,
4375
- n4 as FdFunctionSingleton,
4362
+ d4 as FdFunctionSingleton,
4376
4363
  s4 as FdGeneric,
4377
4364
  u4 as FdGrid,
4378
4365
  f4 as FdGroup,
@@ -4424,9 +4411,9 @@ export {
4424
4411
  v3 as FdMinus,
4425
4412
  c3 as FdMinusNaked,
4426
4413
  i3 as FdModal,
4427
- d3 as FdModel,
4414
+ n3 as FdModel,
4428
4415
  o3 as FdModel2,
4429
- n3 as FdModel3,
4416
+ d3 as FdModel3,
4430
4417
  s3 as FdMoveHorizontal,
4431
4418
  u3 as FdMoveVertical,
4432
4419
  A3 as FdNavigation,
@@ -4480,8 +4467,8 @@ export {
4480
4467
  v7 as FdSameLoaderTab,
4481
4468
  i7 as FdSanityCheckDefault,
4482
4469
  o7 as FdSanityCheckInfo,
4483
- n7 as FdSave,
4484
- d7 as FdSavedClosed,
4470
+ d7 as FdSave,
4471
+ n7 as FdSavedClosed,
4485
4472
  s7 as FdSearch,
4486
4473
  A7 as FdSelect,
4487
4474
  u7 as FdSelectBox,
@@ -4535,8 +4522,8 @@ export {
4535
4522
  v6 as FdTravel,
4536
4523
  i6 as FdUnderline,
4537
4524
  o6 as FdUndo,
4538
- n6 as FdUnlock,
4539
- d6 as FdUp,
4525
+ d6 as FdUnlock,
4526
+ n6 as FdUp,
4540
4527
  s6 as FdUpdown,
4541
4528
  A6 as FdUpload,
4542
4529
  u6 as FdUploadFile,
@@ -4553,4 +4540,3 @@ export {
4553
4540
  j6 as FdWindow,
4554
4541
  i0 as Qodly
4555
4542
  };
4556
- //# sourceMappingURL=index.es.js.map
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "@ws-ui/icons",
3
+ "main": "./dist/index.cjs.js",
4
+ "module": "./dist/index.es.js",
5
+ "types": "./dist/index.d.ts",
6
+ "version": "0.2.3",
7
+ "private": false,
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "scripts": {
12
+ "prepack": "npm run build",
13
+ "build": "tsc && vite build",
14
+ "download:icons": "./scripts/download-icons.sh && npm run format",
15
+ "windows:download:icons": "scripts\\download-icons.bat && npm run format",
16
+ "postdownload:icons": "npm run lint:icons",
17
+ "postwindows:download:icons": "npm run lint:icons",
18
+ "format": "prettier --write .",
19
+ "lint:icons": "prettier src/assets/4DIcons.tsx --write"
20
+ }
21
+ }
package/package.json CHANGED
@@ -1,47 +1,21 @@
1
1
  {
2
2
  "name": "@ws-ui/icons",
3
- "private": false,
4
- "version": "0.2.2",
5
- "type": "module",
6
3
  "main": "./dist/index.cjs.js",
7
4
  "module": "./dist/index.es.js",
8
5
  "types": "./dist/index.d.ts",
6
+ "version": "0.2.3",
7
+ "private": false,
9
8
  "files": [
10
9
  "dist"
11
10
  ],
12
11
  "scripts": {
13
- "dev": "vite",
14
- "format": "prettier --write .",
15
12
  "prepack": "npm run build",
16
13
  "build": "tsc && vite build",
17
- "postbuild": "yalc push --changed",
18
- "lint:icons": "prettier src/assets/4DIcons.tsx --write",
19
14
  "download:icons": "./scripts/download-icons.sh && npm run format",
15
+ "windows:download:icons": "scripts\\download-icons.bat && npm run format",
20
16
  "postdownload:icons": "npm run lint:icons",
21
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
22
- "preview": "vite preview"
23
- },
24
- "peerDependencies": {
25
- "react": ">= 17",
26
- "react-dom": ">= 17"
27
- },
28
- "devDependencies": {
29
- "@types/react": "^17.0.24",
30
- "@types/react-dom": "^17.0.5",
31
- "@typescript-eslint/eslint-plugin": "^6.0.0",
32
- "@typescript-eslint/parser": "^6.0.0",
33
- "@vitejs/plugin-react": "^4.0.3",
34
- "dotenv": "^16.0.3",
35
- "eslint": "^8.45.0",
36
- "eslint-plugin-react-hooks": "^4.6.0",
37
- "eslint-plugin-react-refresh": "^0.4.3",
38
- "prettier": "^3.0.3",
39
- "tailwindcss": "^3.3.3",
40
- "typescript": "^5.0.2",
41
- "vite": "^4.4.5",
42
- "vite-plugin-dts": "^3.5.4",
43
- "vite-plugin-static-copy": "^0.17.0",
44
- "vite-plugin-svgr": "^4.0.0",
45
- "yalc": "^1.0.0-pre.53"
17
+ "postwindows:download:icons": "npm run lint:icons",
18
+ "format": "prettier --write .",
19
+ "lint:icons": "prettier src/assets/4DIcons.tsx --write"
46
20
  }
47
21
  }