sander-ui 0.1.6 → 0.1.7

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 (77) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index10.js +1 -1
  3. package/dist/index12.js +3 -3
  4. package/dist/index13.js +98 -100
  5. package/dist/index14.js +2 -2
  6. package/dist/index15.js +1 -1
  7. package/dist/index16.js +1 -1
  8. package/dist/index17.js +3 -3
  9. package/dist/index18.js +3 -3
  10. package/dist/index19.js +1 -1
  11. package/dist/index20.js +1 -1
  12. package/dist/index21.js +254 -21
  13. package/dist/index22.js +1 -1
  14. package/dist/index23.js +1 -1
  15. package/dist/index24.js +1 -1
  16. package/dist/index25.js +1 -1
  17. package/dist/index26.js +1 -1
  18. package/dist/index27.js +1 -1
  19. package/dist/index28.js +7 -7
  20. package/dist/index29.js +1 -1
  21. package/dist/index3.js +1 -1
  22. package/dist/index30.js +1 -1
  23. package/dist/index31.js +2 -2
  24. package/dist/index32.js +27 -17
  25. package/dist/index33.js +26 -27
  26. package/dist/index34.js +16 -25
  27. package/dist/index35.js +8 -27
  28. package/dist/index36.js +4 -23
  29. package/dist/index37.js +17 -8
  30. package/dist/index38.js +23 -14
  31. package/dist/index39.js +7 -7
  32. package/dist/index4.js +6 -6
  33. package/dist/index40.js +13 -6
  34. package/dist/index41.js +8 -7
  35. package/dist/index42.js +7 -15
  36. package/dist/index43.js +5 -2
  37. package/dist/index44.js +26 -4
  38. package/dist/index45.js +16 -10
  39. package/dist/index47.js +12 -41
  40. package/dist/index48.js +23 -4
  41. package/dist/index49.js +11 -19
  42. package/dist/index5.js +2 -2
  43. package/dist/index50.js +25 -12
  44. package/dist/index51.js +12 -16
  45. package/dist/index52.js +16 -16
  46. package/dist/index53.js +27 -11
  47. package/dist/index54.js +22 -25
  48. package/dist/index55.js +10 -16
  49. package/dist/index56.js +42 -30
  50. package/dist/index57.js +4 -15
  51. package/dist/index58.js +4 -13
  52. package/dist/index59.js +14 -20
  53. package/dist/index6.js +2 -2
  54. package/dist/index60.js +4 -26
  55. package/dist/index61.js +12 -22
  56. package/dist/index62.js +20 -16
  57. package/dist/index63.js +42 -8
  58. package/dist/index64.js +4 -40
  59. package/dist/index65.js +14 -22
  60. package/dist/index66.js +39 -12
  61. package/dist/index67.js +14 -12
  62. package/dist/index68.js +31 -35
  63. package/dist/index69.js +17 -2
  64. package/dist/index7.js +3 -3
  65. package/dist/index70.js +34 -3
  66. package/dist/index71.js +2 -21
  67. package/dist/index72.js +4 -2
  68. package/dist/index73.js +21 -2
  69. package/dist/index74.js +2 -6
  70. package/dist/index75.js +2 -34
  71. package/dist/index76.js +5 -11
  72. package/dist/index77.js +34 -7
  73. package/dist/index78.js +12 -5
  74. package/dist/index79.js +9 -0
  75. package/dist/index8.js +1 -1
  76. package/dist/index80.js +7 -0
  77. package/package.json +1 -1
package/dist/index64.js CHANGED
@@ -1,42 +1,6 @@
1
- const t = "_dialog_1wscl_51", _ = "_closing_1wscl_70", s = "_right_1wscl_76", o = "_left_1wscl_77", l = "_top_1wscl_98", e = "_bottom_1wscl_99", i = "_content_1wscl_145", c = "_header_1wscl_151", n = "_title_1wscl_159", d = "_closeButton_1wscl_165", w = "_body_1wscl_186", f = "_footer_1wscl_194", g = {
2
- dialog: t,
3
- "fade-in": "_fade-in_1wscl_1",
4
- "fade-out": "_fade-out_1wscl_1",
5
- closing: _,
6
- right: s,
7
- left: o,
8
- "slide-in-right": "_slide-in-right_1wscl_1",
9
- "slide-out-right": "_slide-out-right_1wscl_1",
10
- "slide-in-left": "_slide-in-left_1wscl_1",
11
- "slide-out-left": "_slide-out-left_1wscl_1",
12
- top: l,
13
- bottom: e,
14
- "slide-in-top": "_slide-in-top_1wscl_1",
15
- "slide-out-top": "_slide-out-top_1wscl_1",
16
- "slide-in-bottom": "_slide-in-bottom_1wscl_1",
17
- "slide-out-bottom": "_slide-out-bottom_1wscl_1",
18
- "size-sm": "_size-sm_1wscl_120",
19
- "size-md": "_size-md_1wscl_122",
20
- "size-lg": "_size-lg_1wscl_124",
21
- content: i,
22
- header: c,
23
- title: n,
24
- closeButton: d,
25
- body: w,
26
- footer: f
27
- };
1
+ import e from "./index73.js";
2
+ const o = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], a = e("loader-circle", o);
28
3
  export {
29
- w as body,
30
- e as bottom,
31
- d as closeButton,
32
- _ as closing,
33
- i as content,
34
- g as default,
35
- t as dialog,
36
- f as footer,
37
- c as header,
38
- o as left,
39
- s as right,
40
- n as title,
41
- l as top
4
+ o as __iconNode,
5
+ a as default
42
6
  };
package/dist/index65.js CHANGED
@@ -1,25 +1,17 @@
1
- const o = "_fieldset_ap4x3_1", _ = "_legend_ap4x3_7", r = "_options_ap4x3_14", e = "_option_ap4x3_14", s = "_radio_ap4x3_27", t = "_radioError_ap4x3_61", a = "_labels_ap4x3_65", n = "_label_ap4x3_65", i = "_description_ap4x3_76", l = "_error_ap4x3_82", p = {
2
- fieldset: o,
3
- legend: _,
4
- options: r,
5
- option: e,
6
- radio: s,
7
- radioError: t,
8
- labels: a,
9
- label: n,
10
- description: i,
11
- error: l
1
+ const t = "_tabList_ttmil_1", i = "_tab_ttmil_1", a = "_tabActive_ttmil_40", _ = "_tabDisabled_ttmil_44", c = "_indicator_ttmil_53", n = "_indicatorAnimated_ttmil_61", s = {
2
+ tabList: t,
3
+ tab: i,
4
+ tabActive: a,
5
+ tabDisabled: _,
6
+ indicator: c,
7
+ indicatorAnimated: n
12
8
  };
13
9
  export {
14
- p as default,
15
- i as description,
16
- l as error,
17
- o as fieldset,
18
- n as label,
19
- a as labels,
20
- _ as legend,
21
- e as option,
22
- r as options,
23
- s as radio,
24
- t as radioError
10
+ s as default,
11
+ c as indicator,
12
+ n as indicatorAnimated,
13
+ i as tab,
14
+ a as tabActive,
15
+ _ as tabDisabled,
16
+ t as tabList
25
17
  };
package/dist/index66.js CHANGED
@@ -1,15 +1,42 @@
1
- const r = "_wrapper_z5w4u_1", e = "_label_z5w4u_6", s = "_select_z5w4u_13", t = "_selectError_z5w4u_37", _ = "_error_z5w4u_46", l = {
2
- wrapper: r,
3
- label: e,
4
- select: s,
5
- selectError: t,
6
- error: _
1
+ const t = "_dialog_1wscl_51", _ = "_closing_1wscl_70", s = "_right_1wscl_76", o = "_left_1wscl_77", l = "_top_1wscl_98", e = "_bottom_1wscl_99", i = "_content_1wscl_145", c = "_header_1wscl_151", n = "_title_1wscl_159", d = "_closeButton_1wscl_165", w = "_body_1wscl_186", f = "_footer_1wscl_194", g = {
2
+ dialog: t,
3
+ "fade-in": "_fade-in_1wscl_1",
4
+ "fade-out": "_fade-out_1wscl_1",
5
+ closing: _,
6
+ right: s,
7
+ left: o,
8
+ "slide-in-right": "_slide-in-right_1wscl_1",
9
+ "slide-out-right": "_slide-out-right_1wscl_1",
10
+ "slide-in-left": "_slide-in-left_1wscl_1",
11
+ "slide-out-left": "_slide-out-left_1wscl_1",
12
+ top: l,
13
+ bottom: e,
14
+ "slide-in-top": "_slide-in-top_1wscl_1",
15
+ "slide-out-top": "_slide-out-top_1wscl_1",
16
+ "slide-in-bottom": "_slide-in-bottom_1wscl_1",
17
+ "slide-out-bottom": "_slide-out-bottom_1wscl_1",
18
+ "size-sm": "_size-sm_1wscl_120",
19
+ "size-md": "_size-md_1wscl_122",
20
+ "size-lg": "_size-lg_1wscl_124",
21
+ content: i,
22
+ header: c,
23
+ title: n,
24
+ closeButton: d,
25
+ body: w,
26
+ footer: f
7
27
  };
8
28
  export {
9
- l as default,
10
- _ as error,
11
- e as label,
12
- s as select,
13
- t as selectError,
14
- r as wrapper
29
+ w as body,
30
+ e as bottom,
31
+ d as closeButton,
32
+ _ as closing,
33
+ i as content,
34
+ g as default,
35
+ t as dialog,
36
+ f as footer,
37
+ c as header,
38
+ o as left,
39
+ s as right,
40
+ n as title,
41
+ l as top
15
42
  };
package/dist/index67.js CHANGED
@@ -1,15 +1,17 @@
1
- const r = "_wrapper_1aqpy_1", a = "_label_1aqpy_6", e = "_textarea_1aqpy_13", t = "_textareaError_1aqpy_36", _ = "_error_1aqpy_45", o = {
2
- wrapper: r,
3
- label: a,
4
- textarea: e,
5
- textareaError: t,
6
- error: _
1
+ const t = "_wrapper_tksqq_1", s = "_trigger_tksqq_6", e = "_menu_tksqq_38", _ = "_closing_tksqq_55", r = "_item_tksqq_59", i = "_divider_tksqq_80", n = {
2
+ wrapper: t,
3
+ trigger: s,
4
+ menu: e,
5
+ closing: _,
6
+ item: r,
7
+ divider: i
7
8
  };
8
9
  export {
9
- o as default,
10
- _ as error,
11
- a as label,
12
- e as textarea,
13
- t as textareaError,
14
- r as wrapper
10
+ _ as closing,
11
+ n as default,
12
+ i as divider,
13
+ r as item,
14
+ e as menu,
15
+ s as trigger,
16
+ t as wrapper
15
17
  };
package/dist/index68.js CHANGED
@@ -1,37 +1,33 @@
1
- import { __module as s } from "./index69.js";
2
- var u;
3
- function c() {
4
- return u ? s.exports : (u = 1, (function(i) {
5
- (function() {
6
- var f = {}.hasOwnProperty;
7
- function n() {
8
- for (var r = "", t = 0; t < arguments.length; t++) {
9
- var e = arguments[t];
10
- e && (r = o(r, a(e)));
11
- }
12
- return r;
13
- }
14
- function a(r) {
15
- if (typeof r == "string" || typeof r == "number")
16
- return r;
17
- if (typeof r != "object")
18
- return "";
19
- if (Array.isArray(r))
20
- return n.apply(null, r);
21
- if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
22
- return r.toString();
23
- var t = "";
24
- for (var e in r)
25
- f.call(r, e) && r[e] && (t = o(t, e));
26
- return t;
27
- }
28
- function o(r, t) {
29
- return t ? r ? r + " " + t : r + t : r;
30
- }
31
- i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
32
- })();
33
- })(s), s.exports);
34
- }
1
+ const s = "_trigger_9r84s_1", r = "_tooltip_9r84s_6", t = "_dismissed_9r84s_30", _ = "_dark_9r84s_36", o = "_light_9r84s_42", i = "_success_9r84s_51", n = "_error_9r84s_59", c = "_warning_9r84s_67", e = "_info_9r84s_75", g = "_top_9r84s_84", a = "_bottom_9r84s_90", l = "_left_9r84s_96", d = "_right_9r84s_102", f = "_arrow_9r84s_109", p = {
2
+ trigger: s,
3
+ tooltip: r,
4
+ dismissed: t,
5
+ dark: _,
6
+ light: o,
7
+ success: i,
8
+ error: n,
9
+ warning: c,
10
+ info: e,
11
+ top: g,
12
+ bottom: a,
13
+ left: l,
14
+ right: d,
15
+ arrow: f
16
+ };
35
17
  export {
36
- c as __require
18
+ f as arrow,
19
+ a as bottom,
20
+ _ as dark,
21
+ p as default,
22
+ t as dismissed,
23
+ n as error,
24
+ e as info,
25
+ l as left,
26
+ o as light,
27
+ d as right,
28
+ i as success,
29
+ r as tooltip,
30
+ g as top,
31
+ s as trigger,
32
+ c as warning
37
33
  };
package/dist/index69.js CHANGED
@@ -1,4 +1,19 @@
1
- var s = { exports: {} };
1
+ const w = "_wrapper_wwjw1_1", e = "_table_wwjw1_7", _ = "_header_wwjw1_13", o = "_body_wwjw1_18", a = "_row_wwjw1_22", t = "_head_wwjw1_13", r = "_cell_wwjw1_40", c = {
2
+ wrapper: w,
3
+ table: e,
4
+ header: _,
5
+ body: o,
6
+ row: a,
7
+ head: t,
8
+ cell: r
9
+ };
2
10
  export {
3
- s as __module
11
+ o as body,
12
+ r as cell,
13
+ c as default,
14
+ t as head,
15
+ _ as header,
16
+ a as row,
17
+ e as table,
18
+ w as wrapper
4
19
  };
package/dist/index7.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as d, Fragment as N } from "react/jsx-runtime";
2
2
  import g from "./index31.js";
3
3
  import { useState as S } from "react";
4
- import l from "./index62.js";
5
- import v from "./index63.js";
6
- import x from "./index44.js";
4
+ import l from "./index34.js";
5
+ import v from "./index35.js";
6
+ import x from "./index36.js";
7
7
  const C = () => /* @__PURE__ */ e(x, { className: l.separator }), w = ({
8
8
  items: a,
9
9
  separator: t,
package/dist/index70.js CHANGED
@@ -1,6 +1,37 @@
1
- function e(t) {
2
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1
+ import { __module as s } from "./index71.js";
2
+ var u;
3
+ function c() {
4
+ return u ? s.exports : (u = 1, (function(i) {
5
+ (function() {
6
+ var f = {}.hasOwnProperty;
7
+ function n() {
8
+ for (var r = "", t = 0; t < arguments.length; t++) {
9
+ var e = arguments[t];
10
+ e && (r = o(r, a(e)));
11
+ }
12
+ return r;
13
+ }
14
+ function a(r) {
15
+ if (typeof r == "string" || typeof r == "number")
16
+ return r;
17
+ if (typeof r != "object")
18
+ return "";
19
+ if (Array.isArray(r))
20
+ return n.apply(null, r);
21
+ if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
22
+ return r.toString();
23
+ var t = "";
24
+ for (var e in r)
25
+ f.call(r, e) && r[e] && (t = o(t, e));
26
+ return t;
27
+ }
28
+ function o(r, t) {
29
+ return t ? r ? r + " " + t : r + t : r;
30
+ }
31
+ i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
32
+ })();
33
+ })(s), s.exports);
3
34
  }
4
35
  export {
5
- e as getDefaultExportFromCjs
36
+ c as __require
6
37
  };
package/dist/index71.js CHANGED
@@ -1,23 +1,4 @@
1
- import { forwardRef as c, createElement as f } from "react";
2
- import { mergeClasses as l } from "./index72.js";
3
- import { toKebabCase as p } from "./index73.js";
4
- import { toPascalCase as r } from "./index74.js";
5
- import i from "./index75.js";
6
- const I = (e, t) => {
7
- const o = c(
8
- ({ className: a, ...m }, s) => f(i, {
9
- ref: s,
10
- iconNode: t,
11
- className: l(
12
- `lucide-${p(r(e))}`,
13
- `lucide-${e}`,
14
- a
15
- ),
16
- ...m
17
- })
18
- );
19
- return o.displayName = r(e), o;
20
- };
1
+ var s = { exports: {} };
21
2
  export {
22
- I as default
3
+ s as __module
23
4
  };
package/dist/index72.js CHANGED
@@ -1,4 +1,6 @@
1
- const n = (...e) => e.filter((r, t, i) => !!r && r.trim() !== "" && i.indexOf(r) === t).join(" ").trim();
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
2
4
  export {
3
- n as mergeClasses
5
+ e as getDefaultExportFromCjs
4
6
  };
package/dist/index73.js CHANGED
@@ -1,4 +1,23 @@
1
- const a = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
1
+ import { forwardRef as c, createElement as f } from "react";
2
+ import { mergeClasses as l } from "./index74.js";
3
+ import { toKebabCase as p } from "./index75.js";
4
+ import { toPascalCase as r } from "./index76.js";
5
+ import i from "./index77.js";
6
+ const I = (e, t) => {
7
+ const o = c(
8
+ ({ className: a, ...m }, s) => f(i, {
9
+ ref: s,
10
+ iconNode: t,
11
+ className: l(
12
+ `lucide-${p(r(e))}`,
13
+ `lucide-${e}`,
14
+ a
15
+ ),
16
+ ...m
17
+ })
18
+ );
19
+ return o.displayName = r(e), o;
20
+ };
2
21
  export {
3
- a as toKebabCase
22
+ I as default
4
23
  };
package/dist/index74.js CHANGED
@@ -1,8 +1,4 @@
1
- import { toCamelCase as t } from "./index78.js";
2
- const s = (a) => {
3
- const e = t(a);
4
- return e.charAt(0).toUpperCase() + e.slice(1);
5
- };
1
+ const n = (...e) => e.filter((r, t, i) => !!r && r.trim() !== "" && i.indexOf(r) === t).join(" ").trim();
6
2
  export {
7
- s as toPascalCase
3
+ n as mergeClasses
8
4
  };
package/dist/index75.js CHANGED
@@ -1,36 +1,4 @@
1
- import { forwardRef as l, createElement as a } from "react";
2
- import A from "./index76.js";
3
- import { hasA11yProp as b } from "./index77.js";
4
- import { mergeClasses as c } from "./index72.js";
5
- const n = l(
6
- ({
7
- color: m = "currentColor",
8
- size: t = 24,
9
- strokeWidth: o = 2,
10
- absoluteStrokeWidth: s,
11
- className: f = "",
12
- children: r,
13
- iconNode: u,
14
- ...e
15
- }, p) => a(
16
- "svg",
17
- {
18
- ref: p,
19
- ...A,
20
- width: t,
21
- height: t,
22
- stroke: m,
23
- strokeWidth: s ? Number(o) * 24 / Number(t) : o,
24
- className: c("lucide", f),
25
- ...!r && !b(e) && { "aria-hidden": "true" },
26
- ...e
27
- },
28
- [
29
- ...u.map(([i, d]) => a(i, d)),
30
- ...Array.isArray(r) ? r : [r]
31
- ]
32
- )
33
- );
1
+ const a = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
34
2
  export {
35
- n as default
3
+ a as toKebabCase
36
4
  };
package/dist/index76.js CHANGED
@@ -1,14 +1,8 @@
1
- var t = {
2
- xmlns: "http://www.w3.org/2000/svg",
3
- width: 24,
4
- height: 24,
5
- viewBox: "0 0 24 24",
6
- fill: "none",
7
- stroke: "currentColor",
8
- strokeWidth: 2,
9
- strokeLinecap: "round",
10
- strokeLinejoin: "round"
1
+ import { toCamelCase as t } from "./index80.js";
2
+ const s = (a) => {
3
+ const e = t(a);
4
+ return e.charAt(0).toUpperCase() + e.slice(1);
11
5
  };
12
6
  export {
13
- t as default
7
+ s as toPascalCase
14
8
  };
package/dist/index77.js CHANGED
@@ -1,9 +1,36 @@
1
- const e = (t) => {
2
- for (const r in t)
3
- if (r.startsWith("aria-") || r === "role" || r === "title")
4
- return !0;
5
- return !1;
6
- };
1
+ import { forwardRef as l, createElement as a } from "react";
2
+ import A from "./index78.js";
3
+ import { hasA11yProp as b } from "./index79.js";
4
+ import { mergeClasses as c } from "./index74.js";
5
+ const n = l(
6
+ ({
7
+ color: m = "currentColor",
8
+ size: t = 24,
9
+ strokeWidth: o = 2,
10
+ absoluteStrokeWidth: s,
11
+ className: f = "",
12
+ children: r,
13
+ iconNode: u,
14
+ ...e
15
+ }, p) => a(
16
+ "svg",
17
+ {
18
+ ref: p,
19
+ ...A,
20
+ width: t,
21
+ height: t,
22
+ stroke: m,
23
+ strokeWidth: s ? Number(o) * 24 / Number(t) : o,
24
+ className: c("lucide", f),
25
+ ...!r && !b(e) && { "aria-hidden": "true" },
26
+ ...e
27
+ },
28
+ [
29
+ ...u.map(([i, d]) => a(i, d)),
30
+ ...Array.isArray(r) ? r : [r]
31
+ ]
32
+ )
33
+ );
7
34
  export {
8
- e as hasA11yProp
35
+ n as default
9
36
  };
package/dist/index78.js CHANGED
@@ -1,7 +1,14 @@
1
- const s = (a) => a.replace(
2
- /^([A-Z])|[\s-_]+(\w)/g,
3
- (t, o, e) => e ? e.toUpperCase() : o.toLowerCase()
4
- );
1
+ var t = {
2
+ xmlns: "http://www.w3.org/2000/svg",
3
+ width: 24,
4
+ height: 24,
5
+ viewBox: "0 0 24 24",
6
+ fill: "none",
7
+ stroke: "currentColor",
8
+ strokeWidth: 2,
9
+ strokeLinecap: "round",
10
+ strokeLinejoin: "round"
11
+ };
5
12
  export {
6
- s as toCamelCase
13
+ t as default
7
14
  };
@@ -0,0 +1,9 @@
1
+ const e = (t) => {
2
+ for (const r in t)
3
+ if (r.startsWith("aria-") || r === "role" || r === "title")
4
+ return !0;
5
+ return !1;
6
+ };
7
+ export {
8
+ e as hasA11yProp
9
+ };
package/dist/index8.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsxs as c, jsx as n } from "react/jsx-runtime";
2
2
  import s from "./index31.js";
3
- import t from "./index35.js";
3
+ import t from "./index53.js";
4
4
  import { Spinner as b } from "./index23.js";
5
5
  const y = ({
6
6
  variant: o = "primary",
@@ -0,0 +1,7 @@
1
+ const s = (a) => a.replace(
2
+ /^([A-Z])|[\s-_]+(\w)/g,
3
+ (t, o, e) => e ? e.toUpperCase() : o.toLowerCase()
4
+ );
5
+ export {
6
+ s as toCamelCase
7
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sander-ui",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "description": "A modern React component library built with TypeScript and CSS Modules",
6
6
  "main": "./dist/index.js",