@danielcruzcode/ui-core 0.1.0 → 0.1.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 (70) hide show
  1. package/dist/components/Carousel/Carousel.d.ts +2 -3
  2. package/dist/index.cjs11.js +1 -1
  3. package/dist/index.cjs12.js +1 -1
  4. package/dist/index.cjs13.js +1 -1
  5. package/dist/index.cjs14.js +1 -1
  6. package/dist/index.cjs15.js +1 -1
  7. package/dist/index.cjs16.js +1 -1
  8. package/dist/index.cjs18.js +1 -1
  9. package/dist/index.cjs19.js +1 -1
  10. package/dist/index.cjs2.js +1 -1
  11. package/dist/index.cjs20.js +1 -1
  12. package/dist/index.cjs21.js +1 -1
  13. package/dist/index.cjs22.js +1 -1
  14. package/dist/index.cjs23.js +1 -1
  15. package/dist/index.cjs25.js +1 -1
  16. package/dist/index.cjs26.js +1 -0
  17. package/dist/index.cjs28.js +1 -1
  18. package/dist/index.cjs29.js +1 -1
  19. package/dist/index.cjs3.js +1 -1
  20. package/dist/index.cjs30.js +1 -1
  21. package/dist/index.cjs33.js +1 -0
  22. package/dist/index.cjs34.js +1 -1
  23. package/dist/index.cjs4.js +1 -1
  24. package/dist/index.cjs40.js +1 -0
  25. package/dist/{index.cjs43.js → index.cjs41.js} +1 -1
  26. package/dist/index.cjs42.js +1 -1
  27. package/dist/index.cjs5.js +1 -1
  28. package/dist/index.cjs7.js +1 -1
  29. package/dist/index.cjs8.js +1 -1
  30. package/dist/index.cjs9.js +1 -1
  31. package/dist/index.esm11.js +1 -1
  32. package/dist/index.esm12.js +1 -1
  33. package/dist/index.esm13.js +1 -1
  34. package/dist/index.esm14.js +3 -4
  35. package/dist/index.esm15.js +9 -3
  36. package/dist/index.esm16.js +22 -4
  37. package/dist/index.esm18.js +4 -7
  38. package/dist/index.esm19.js +134 -13
  39. package/dist/index.esm2.js +1 -1
  40. package/dist/index.esm20.js +224 -10
  41. package/dist/index.esm21.js +116 -122
  42. package/dist/index.esm22.js +234 -213
  43. package/dist/index.esm23.js +9 -128
  44. package/dist/index.esm25.js +3 -7
  45. package/dist/index.esm26.js +15 -0
  46. package/dist/index.esm28.js +7 -22
  47. package/dist/index.esm29.js +2 -4
  48. package/dist/index.esm3.js +1 -1
  49. package/dist/index.esm30.js +4 -2
  50. package/dist/index.esm33.js +88 -0
  51. package/dist/index.esm34.js +1 -88
  52. package/dist/index.esm4.js +1 -1
  53. package/dist/index.esm40.js +2028 -0
  54. package/dist/{index.esm43.js → index.esm41.js} +2 -2
  55. package/dist/index.esm42.js +180 -2017
  56. package/dist/index.esm5.js +5 -5
  57. package/dist/index.esm7.js +1 -1
  58. package/dist/index.esm8.js +1 -1
  59. package/dist/index.esm9.js +1 -1
  60. package/package.json +3 -3
  61. package/dist/components/Carousel/Carousel.js +0 -35
  62. package/dist/components/Carousel/Carousel.js.map +0 -1
  63. package/dist/components/Carousel/index.js +0 -2
  64. package/dist/components/Carousel/index.js.map +0 -1
  65. package/dist/index.cjs24.js +0 -1
  66. package/dist/index.cjs31.js +0 -1
  67. package/dist/index.cjs44.js +0 -1
  68. package/dist/index.esm24.js +0 -247
  69. package/dist/index.esm31.js +0 -1
  70. package/dist/index.esm44.js +0 -191
@@ -1,26 +1,11 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
- var r = "w40enx1", n = "w40enx2", w = "w40enx3", v = "w40enx4", x = "w40enx5", i = "w40enx6", t = "w40enx7", l = "w40enx8", o = "w40enx9", p = "w40enxa", s = "w40enxb", m = "w40enxc", b = "w40enxd", g = "w40enxe", c = "w40enxf", k = "w40enxg", u = "w40enxh", d = "w40enxi", j = "w40enxk w40enxj", y = "w40enxl w40enxj", B = "w40enxm w40enxj";
3
+ import { c as a } from "./index.esm33.js";
4
+ var d = a({ defaultClassName: "uk9byt0", variantClassNames: { hoverable: { true: "uk9byt1" }, padding: { none: "uk9byt2", sm: "uk9byt3", md: "uk9byt4", lg: "uk9byt5" } }, defaultVariants: { padding: "none" }, compoundVariants: [] }), u = "uk9byt6", o = "uk9byt7", n = "uk9byt8", b = "uk9byt9";
4
5
  export {
5
- v as badgeOverlay,
6
- i as body,
7
- c as footer,
8
- w as image,
9
- n as imageWrapper,
10
- g as installments,
11
- b as originalPrice,
12
- m as price,
13
- s as priceWrapper,
14
- k as quickViewBtn,
15
- p as reviewCount,
16
- r as root,
17
- B as skeletonBtn,
18
- j as skeletonImage,
19
- y as skeletonLine,
20
- o as starsWrapper,
21
- l as subtitle,
22
- t as title,
23
- u as unavailableOverlay,
24
- d as unavailableText,
25
- x as wishlistBtn
6
+ n as cardBody,
7
+ b as cardFooter,
8
+ o as cardHeader,
9
+ u as cardMedia,
10
+ d as cardRecipe
26
11
  };
@@ -1,7 +1,5 @@
1
1
  /* empty css */
2
- /* empty css */
3
- import { c as a } from "./index.esm34.js";
4
- var d = a({ defaultClassName: "_19yozed0", variantClassNames: { maxWidth: { sm: "_19yozed1", md: "_19yozed2", lg: "_19yozed3", xl: "_19yozed4", full: "_19yozed5" } }, defaultVariants: { maxWidth: "xl" }, compoundVariants: [] });
2
+ var r = "_15r2pp40";
5
3
  export {
6
- d as containerRecipe
4
+ r as stackBase
7
5
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as p, Fragment as f } from "react/jsx-runtime";
2
- import { buttonRecipe as m } from "./index.esm15.js";
2
+ import { buttonRecipe as m } from "./index.esm14.js";
3
3
  function v({
4
4
  variant: t = "primary",
5
5
  size: a = "md",
@@ -1,5 +1,7 @@
1
1
  /* empty css */
2
- var r = "_15r2pp40";
2
+ /* empty css */
3
+ import { c as a } from "./index.esm33.js";
4
+ var d = a({ defaultClassName: "_19yozed0", variantClassNames: { maxWidth: { sm: "_19yozed1", md: "_19yozed2", lg: "_19yozed3", xl: "_19yozed4", full: "_19yozed5" } }, defaultVariants: { maxWidth: "xl" }, compoundVariants: [] });
3
5
  export {
4
- r as stackBase
6
+ d as containerRecipe
5
7
  };
@@ -0,0 +1,88 @@
1
+ function c(r, t) {
2
+ if (typeof r != "object" || !r) return r;
3
+ var a = r[Symbol.toPrimitive];
4
+ if (a !== void 0) {
5
+ var e = a.call(r, t);
6
+ if (typeof e != "object") return e;
7
+ throw new TypeError("@@toPrimitive must return a primitive value.");
8
+ }
9
+ return (t === "string" ? String : Number)(r);
10
+ }
11
+ function O(r) {
12
+ var t = c(r, "string");
13
+ return typeof t == "symbol" ? t : String(t);
14
+ }
15
+ function y(r, t, a) {
16
+ return t = O(t), t in r ? Object.defineProperty(r, t, {
17
+ value: a,
18
+ enumerable: !0,
19
+ configurable: !0,
20
+ writable: !0
21
+ }) : r[t] = a, r;
22
+ }
23
+ function l(r, t) {
24
+ var a = Object.keys(r);
25
+ if (Object.getOwnPropertySymbols) {
26
+ var e = Object.getOwnPropertySymbols(r);
27
+ t && (e = e.filter(function(n) {
28
+ return Object.getOwnPropertyDescriptor(r, n).enumerable;
29
+ })), a.push.apply(a, e);
30
+ }
31
+ return a;
32
+ }
33
+ function p(r) {
34
+ for (var t = 1; t < arguments.length; t++) {
35
+ var a = arguments[t] != null ? arguments[t] : {};
36
+ t % 2 ? l(Object(a), !0).forEach(function(e) {
37
+ y(r, e, a[e]);
38
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(a)) : l(Object(a)).forEach(function(e) {
39
+ Object.defineProperty(r, e, Object.getOwnPropertyDescriptor(a, e));
40
+ });
41
+ }
42
+ return r;
43
+ }
44
+ function v(r, t) {
45
+ var a = {};
46
+ for (var e in r)
47
+ a[e] = t(r[e], e);
48
+ return a;
49
+ }
50
+ var d = (r, t, a) => {
51
+ for (var e of Object.keys(r)) {
52
+ var n;
53
+ if (r[e] !== ((n = t[e]) !== null && n !== void 0 ? n : a[e]))
54
+ return !1;
55
+ }
56
+ return !0;
57
+ }, j = (r) => {
58
+ var t = (a) => {
59
+ var e = r.defaultClassName, n = p(p({}, r.defaultVariants), a);
60
+ for (var i in n) {
61
+ var s, o = (s = n[i]) !== null && s !== void 0 ? s : r.defaultVariants[i];
62
+ if (o != null) {
63
+ var u = o;
64
+ typeof u == "boolean" && (u = u === !0 ? "true" : "false");
65
+ var f = (
66
+ // @ts-expect-error
67
+ r.variantClassNames[i][u]
68
+ );
69
+ f && (e += " " + f);
70
+ }
71
+ }
72
+ for (var [b, m] of r.compoundVariants)
73
+ d(b, n, r.defaultVariants) && (e += " " + m);
74
+ return e;
75
+ };
76
+ return t.variants = () => Object.keys(r.variantClassNames), t.classNames = {
77
+ get base() {
78
+ return r.defaultClassName.split(" ")[0];
79
+ },
80
+ get variants() {
81
+ return v(r.variantClassNames, (a) => v(a, (e) => e.split(" ")[0]));
82
+ }
83
+ }, t;
84
+ };
85
+ export {
86
+ j as c,
87
+ v as m
88
+ };
@@ -1,88 +1 @@
1
- function c(r, t) {
2
- if (typeof r != "object" || !r) return r;
3
- var a = r[Symbol.toPrimitive];
4
- if (a !== void 0) {
5
- var e = a.call(r, t);
6
- if (typeof e != "object") return e;
7
- throw new TypeError("@@toPrimitive must return a primitive value.");
8
- }
9
- return (t === "string" ? String : Number)(r);
10
- }
11
- function O(r) {
12
- var t = c(r, "string");
13
- return typeof t == "symbol" ? t : String(t);
14
- }
15
- function y(r, t, a) {
16
- return t = O(t), t in r ? Object.defineProperty(r, t, {
17
- value: a,
18
- enumerable: !0,
19
- configurable: !0,
20
- writable: !0
21
- }) : r[t] = a, r;
22
- }
23
- function l(r, t) {
24
- var a = Object.keys(r);
25
- if (Object.getOwnPropertySymbols) {
26
- var e = Object.getOwnPropertySymbols(r);
27
- t && (e = e.filter(function(n) {
28
- return Object.getOwnPropertyDescriptor(r, n).enumerable;
29
- })), a.push.apply(a, e);
30
- }
31
- return a;
32
- }
33
- function p(r) {
34
- for (var t = 1; t < arguments.length; t++) {
35
- var a = arguments[t] != null ? arguments[t] : {};
36
- t % 2 ? l(Object(a), !0).forEach(function(e) {
37
- y(r, e, a[e]);
38
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(a)) : l(Object(a)).forEach(function(e) {
39
- Object.defineProperty(r, e, Object.getOwnPropertyDescriptor(a, e));
40
- });
41
- }
42
- return r;
43
- }
44
- function v(r, t) {
45
- var a = {};
46
- for (var e in r)
47
- a[e] = t(r[e], e);
48
- return a;
49
- }
50
- var d = (r, t, a) => {
51
- for (var e of Object.keys(r)) {
52
- var n;
53
- if (r[e] !== ((n = t[e]) !== null && n !== void 0 ? n : a[e]))
54
- return !1;
55
- }
56
- return !0;
57
- }, j = (r) => {
58
- var t = (a) => {
59
- var e = r.defaultClassName, n = p(p({}, r.defaultVariants), a);
60
- for (var i in n) {
61
- var s, o = (s = n[i]) !== null && s !== void 0 ? s : r.defaultVariants[i];
62
- if (o != null) {
63
- var u = o;
64
- typeof u == "boolean" && (u = u === !0 ? "true" : "false");
65
- var f = (
66
- // @ts-expect-error
67
- r.variantClassNames[i][u]
68
- );
69
- f && (e += " " + f);
70
- }
71
- }
72
- for (var [b, m] of r.compoundVariants)
73
- d(b, n, r.defaultVariants) && (e += " " + m);
74
- return e;
75
- };
76
- return t.variants = () => Object.keys(r.variantClassNames), t.classNames = {
77
- get base() {
78
- return r.defaultClassName.split(" ")[0];
79
- },
80
- get variants() {
81
- return v(r.variantClassNames, (a) => v(a, (e) => e.split(" ")[0]));
82
- }
83
- }, t;
84
- };
85
- export {
86
- j as c,
87
- v as m
88
- };
1
+
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
- import { cardRecipe as f, cardMedia as h, cardHeader as p, cardBody as N, cardFooter as u } from "./index.esm18.js";
2
+ import { cardRecipe as f, cardMedia as h, cardHeader as p, cardBody as N, cardFooter as u } from "./index.esm28.js";
3
3
  function y({
4
4
  media: s,
5
5
  header: i,