@plyaz/ui 0.1.19 → 0.2.0

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 (92) hide show
  1. package/dist/types/App.d.ts +2 -1
  2. package/dist/types/App.d.ts.map +1 -0
  3. package/dist/types/components/Box/Box.d.ts +2 -1
  4. package/dist/types/components/Box/Box.d.ts.map +1 -0
  5. package/dist/types/components/Box/Box.stories.d.ts +2 -1
  6. package/dist/types/components/Box/Box.stories.d.ts.map +1 -0
  7. package/dist/types/components/Container/Container.d.ts +2 -1
  8. package/dist/types/components/Container/Container.d.ts.map +1 -0
  9. package/dist/types/components/Container/Container.stories.d.ts +2 -1
  10. package/dist/types/components/Container/Container.stories.d.ts.map +1 -0
  11. package/dist/types/components/ExternalLink/ExternalLink.d.ts +2 -1
  12. package/dist/types/components/ExternalLink/ExternalLink.d.ts.map +1 -0
  13. package/dist/types/components/ExternalLink/ExternalLink.stories.d.ts +2 -1
  14. package/dist/types/components/ExternalLink/ExternalLink.stories.d.ts.map +1 -0
  15. package/dist/types/components/Flex/Flex.d.ts +6 -5
  16. package/dist/types/components/Flex/Flex.d.ts.map +1 -0
  17. package/dist/types/components/Flex/Flex.stories.d.ts +2 -1
  18. package/dist/types/components/Flex/Flex.stories.d.ts.map +1 -0
  19. package/dist/types/components/Grid/Grid.d.ts +3 -17
  20. package/dist/types/components/Grid/Grid.d.ts.map +1 -0
  21. package/dist/types/components/Grid/Grid.stories.d.ts +2 -1
  22. package/dist/types/components/Grid/Grid.stories.d.ts.map +1 -0
  23. package/dist/types/components/Heading/Heading.d.ts +6 -5
  24. package/dist/types/components/Heading/Heading.d.ts.map +1 -0
  25. package/dist/types/components/Heading/Heading.stories.d.ts +2 -1
  26. package/dist/types/components/Heading/Heading.stories.d.ts.map +1 -0
  27. package/dist/types/components/Paragraph/Paragraph.d.ts +2 -1
  28. package/dist/types/components/Paragraph/Paragraph.d.ts.map +1 -0
  29. package/dist/types/components/Paragraph/Paragraph.stories.d.ts +2 -1
  30. package/dist/types/components/Paragraph/Paragraph.stories.d.ts.map +1 -0
  31. package/dist/types/components/Section/Section.d.ts +2 -1
  32. package/dist/types/components/Section/Section.d.ts.map +1 -0
  33. package/dist/types/components/Section/Section.stories.d.ts +2 -1
  34. package/dist/types/components/Section/Section.stories.d.ts.map +1 -0
  35. package/dist/types/components/Stack/Stack.d.ts +3 -2
  36. package/dist/types/components/Stack/Stack.d.ts.map +1 -0
  37. package/dist/types/components/Stack/Stack.stories.d.ts +2 -1
  38. package/dist/types/components/Stack/Stack.stories.d.ts.map +1 -0
  39. package/dist/types/components/Text/Text.d.ts +13 -12
  40. package/dist/types/components/Text/Text.d.ts.map +1 -0
  41. package/dist/types/components/Text/Text.stories.d.ts +2 -1
  42. package/dist/types/components/Text/Text.stories.d.ts.map +1 -0
  43. package/dist/types/components/index.d.ts +1 -0
  44. package/dist/types/components/index.d.ts.map +1 -0
  45. package/dist/types/constants/constant.d.ts +17 -0
  46. package/dist/types/constants/constant.d.ts.map +1 -0
  47. package/dist/types/docs/DocTemplate.d.ts +2 -1
  48. package/dist/types/docs/DocTemplate.d.ts.map +1 -0
  49. package/dist/types/index.d.ts +1 -0
  50. package/dist/types/index.d.ts.map +1 -0
  51. package/dist/types/main.d.ts +1 -0
  52. package/dist/types/main.d.ts.map +1 -0
  53. package/dist/types/types/type.d.ts +2 -1
  54. package/dist/types/types/type.d.ts.map +1 -0
  55. package/dist/types/utils/cn.d.ts +3 -0
  56. package/dist/types/utils/cn.d.ts.map +1 -0
  57. package/dist/ui.cjs10.js +1 -1
  58. package/dist/ui.cjs11.js +1 -1
  59. package/dist/ui.cjs12.js +1 -1
  60. package/dist/ui.cjs14.js +1 -1
  61. package/dist/ui.cjs15.js +1 -1
  62. package/dist/ui.cjs16.js +1 -9
  63. package/dist/ui.cjs17.js +3 -8
  64. package/dist/ui.cjs18.js +14 -1
  65. package/dist/ui.cjs2.js +1 -1
  66. package/dist/ui.cjs20.js +1 -0
  67. package/dist/ui.cjs3.js +5 -1
  68. package/dist/ui.cjs4.js +1 -1
  69. package/dist/ui.cjs5.js +1 -1
  70. package/dist/ui.cjs6.js +1 -1
  71. package/dist/ui.cjs7.js +7 -1
  72. package/dist/ui.cjs8.js +1 -1
  73. package/dist/ui.cjs9.js +4 -1
  74. package/dist/ui.es10.js +5 -14
  75. package/dist/ui.es11.js +9 -12
  76. package/dist/ui.es12.js +1 -1
  77. package/dist/ui.es14.js +17 -8
  78. package/dist/ui.es15.js +8 -2
  79. package/dist/ui.es16.js +2 -33
  80. package/dist/ui.es17.js +23 -235
  81. package/dist/ui.es18.js +245 -2
  82. package/dist/ui.es19.js +2 -2
  83. package/dist/ui.es2.js +3 -9
  84. package/dist/ui.es20.js +4 -0
  85. package/dist/ui.es3.js +17 -16
  86. package/dist/ui.es4.js +7 -8
  87. package/dist/ui.es5.js +26 -42
  88. package/dist/ui.es6.js +10 -17
  89. package/dist/ui.es7.js +12 -12
  90. package/dist/ui.es8.js +7 -13
  91. package/dist/ui.es9.js +14 -13
  92. package/package.json +63 -11
package/dist/ui.es18.js CHANGED
@@ -1,4 +1,247 @@
1
- var r = {};
1
+ import { __exports as u } from "./ui.es20.js";
2
+ import B from "react";
3
+ /**
4
+ * @license React
5
+ * react-jsx-runtime.development.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var N;
13
+ function Q() {
14
+ return N ? u : (N = 1, process.env.NODE_ENV !== "production" && function() {
15
+ function l(e) {
16
+ if (e == null) return null;
17
+ if (typeof e == "function")
18
+ return e.$$typeof === X ? null : e.displayName || e.name || null;
19
+ if (typeof e == "string") return e;
20
+ switch (e) {
21
+ case m:
22
+ return "Fragment";
23
+ case W:
24
+ return "Profiler";
25
+ case F:
26
+ return "StrictMode";
27
+ case z:
28
+ return "Suspense";
29
+ case V:
30
+ return "SuspenseList";
31
+ case G:
32
+ return "Activity";
33
+ }
34
+ if (typeof e == "object")
35
+ switch (typeof e.tag == "number" && console.error(
36
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
37
+ ), e.$$typeof) {
38
+ case D:
39
+ return "Portal";
40
+ case U:
41
+ return (e.displayName || "Context") + ".Provider";
42
+ case L:
43
+ return (e._context.displayName || "Context") + ".Consumer";
44
+ case M:
45
+ var r = e.render;
46
+ return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
47
+ case q:
48
+ return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
49
+ case A:
50
+ r = e._payload, e = e._init;
51
+ try {
52
+ return l(e(r));
53
+ } catch {
54
+ }
55
+ }
56
+ return null;
57
+ }
58
+ function T(e) {
59
+ return "" + e;
60
+ }
61
+ function v(e) {
62
+ try {
63
+ T(e);
64
+ var r = !1;
65
+ } catch {
66
+ r = !0;
67
+ }
68
+ if (r) {
69
+ r = console;
70
+ var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
71
+ return t.call(
72
+ r,
73
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
74
+ n
75
+ ), T(e);
76
+ }
77
+ }
78
+ function f(e) {
79
+ if (e === m) return "<>";
80
+ if (typeof e == "object" && e !== null && e.$$typeof === A)
81
+ return "<...>";
82
+ try {
83
+ var r = l(e);
84
+ return r ? "<" + r + ">" : "<...>";
85
+ } catch {
86
+ return "<...>";
87
+ }
88
+ }
89
+ function C() {
90
+ var e = b.A;
91
+ return e === null ? null : e.getOwner();
92
+ }
93
+ function p() {
94
+ return Error("react-stack-top-frame");
95
+ }
96
+ function x(e) {
97
+ if (S.call(e, "key")) {
98
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
99
+ if (r && r.isReactWarning) return !1;
100
+ }
101
+ return e.key !== void 0;
102
+ }
103
+ function Y(e, r) {
104
+ function t() {
105
+ w || (w = !0, console.error(
106
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
107
+ r
108
+ ));
109
+ }
110
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
111
+ get: t,
112
+ configurable: !0
113
+ });
114
+ }
115
+ function I() {
116
+ var e = l(this.type);
117
+ return P[e] || (P[e] = !0, console.error(
118
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
119
+ )), e = this.props.ref, e !== void 0 ? e : null;
120
+ }
121
+ function $(e, r, t, n, c, o, E, _) {
122
+ return t = o.ref, e = {
123
+ $$typeof: g,
124
+ type: e,
125
+ key: r,
126
+ props: o,
127
+ _owner: c
128
+ }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
129
+ enumerable: !1,
130
+ get: I
131
+ }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
132
+ configurable: !1,
133
+ enumerable: !1,
134
+ writable: !0,
135
+ value: 0
136
+ }), Object.defineProperty(e, "_debugInfo", {
137
+ configurable: !1,
138
+ enumerable: !1,
139
+ writable: !0,
140
+ value: null
141
+ }), Object.defineProperty(e, "_debugStack", {
142
+ configurable: !1,
143
+ enumerable: !1,
144
+ writable: !0,
145
+ value: E
146
+ }), Object.defineProperty(e, "_debugTask", {
147
+ configurable: !1,
148
+ enumerable: !1,
149
+ writable: !0,
150
+ value: _
151
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
152
+ }
153
+ function O(e, r, t, n, c, o, E, _) {
154
+ var a = r.children;
155
+ if (a !== void 0)
156
+ if (n)
157
+ if (K(a)) {
158
+ for (n = 0; n < a.length; n++)
159
+ k(a[n]);
160
+ Object.freeze && Object.freeze(a);
161
+ } else
162
+ console.error(
163
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
164
+ );
165
+ else k(a);
166
+ if (S.call(r, "key")) {
167
+ a = l(e);
168
+ var s = Object.keys(r).filter(function(J) {
169
+ return J !== "key";
170
+ });
171
+ n = 0 < s.length ? "{key: someKey, " + s.join(": ..., ") + ": ...}" : "{key: someKey}", j[a + n] || (s = 0 < s.length ? "{" + s.join(": ..., ") + ": ...}" : "{}", console.error(
172
+ `A props object containing a "key" prop is being spread into JSX:
173
+ let props = %s;
174
+ <%s {...props} />
175
+ React keys must be passed directly to JSX without using spread:
176
+ let props = %s;
177
+ <%s key={someKey} {...props} />`,
178
+ n,
179
+ a,
180
+ s,
181
+ a
182
+ ), j[a + n] = !0);
183
+ }
184
+ if (a = null, t !== void 0 && (v(t), a = "" + t), x(r) && (v(r.key), a = "" + r.key), "key" in r) {
185
+ t = {};
186
+ for (var R in r)
187
+ R !== "key" && (t[R] = r[R]);
188
+ } else t = r;
189
+ return a && Y(
190
+ t,
191
+ typeof e == "function" ? e.displayName || e.name || "Unknown" : e
192
+ ), $(
193
+ e,
194
+ a,
195
+ o,
196
+ c,
197
+ C(),
198
+ t,
199
+ E,
200
+ _
201
+ );
202
+ }
203
+ function k(e) {
204
+ typeof e == "object" && e !== null && e.$$typeof === g && e._store && (e._store.validated = 1);
205
+ }
206
+ var i = B, g = Symbol.for("react.transitional.element"), D = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), F = Symbol.for("react.strict_mode"), W = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), U = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), G = Symbol.for("react.activity"), X = Symbol.for("react.client.reference"), b = i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, S = Object.prototype.hasOwnProperty, K = Array.isArray, d = console.createTask ? console.createTask : function() {
207
+ return null;
208
+ };
209
+ i = {
210
+ "react-stack-bottom-frame": function(e) {
211
+ return e();
212
+ }
213
+ };
214
+ var w, P = {}, y = i["react-stack-bottom-frame"].bind(
215
+ i,
216
+ p
217
+ )(), h = d(f(p)), j = {};
218
+ u.Fragment = m, u.jsx = function(e, r, t, n, c) {
219
+ var o = 1e4 > b.recentlyCreatedOwnerStacks++;
220
+ return O(
221
+ e,
222
+ r,
223
+ t,
224
+ !1,
225
+ n,
226
+ c,
227
+ o ? Error("react-stack-top-frame") : y,
228
+ o ? d(f(e)) : h
229
+ );
230
+ }, u.jsxs = function(e, r, t, n, c) {
231
+ var o = 1e4 > b.recentlyCreatedOwnerStacks++;
232
+ return O(
233
+ e,
234
+ r,
235
+ t,
236
+ !0,
237
+ n,
238
+ c,
239
+ o ? Error("react-stack-top-frame") : y,
240
+ o ? d(f(e)) : h
241
+ );
242
+ };
243
+ }(), u);
244
+ }
2
245
  export {
3
- r as __exports
246
+ Q as __require
4
247
  };
package/dist/ui.es19.js CHANGED
@@ -1,4 +1,4 @@
1
- var e = {};
1
+ var r = {};
2
2
  export {
3
- e as __exports
3
+ r as __exports
4
4
  };
package/dist/ui.es2.js CHANGED
@@ -1,15 +1,9 @@
1
1
  import { j as x } from "./ui.es12.js";
2
- import "react";
3
- const m = ({
4
- children: t,
5
- element: o = "div",
6
- className: s = "",
7
- ...e
8
- }) => {
2
+ const n = ({ children: t, element: o = "div", className: s = "", ...e }) => {
9
3
  const r = o;
10
4
  return /* @__PURE__ */ x.jsx(r, { className: s, ...e, "data-testid": "box", children: t });
11
5
  };
12
6
  export {
13
- m as Box,
14
- m as default
7
+ n as Box,
8
+ n as default
15
9
  };
@@ -0,0 +1,4 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
package/dist/ui.es3.js CHANGED
@@ -1,22 +1,23 @@
1
- import { j as x } from "./ui.es12.js";
2
- import "react";
1
+ import { j as t } from "./ui.es12.js";
3
2
  import { clsx as s } from "./ui.es13.js";
4
- import { Box as p } from "./ui.es2.js";
5
- const n = ({
6
- className: o = "",
7
- children: m,
8
- element: r,
9
- ...t
10
- }) => /* @__PURE__ */ x.jsx(
11
- p,
3
+ import { Box as a } from "./ui.es2.js";
4
+ const l = ({ className: o = "", children: x, element: m, ...r }) => /* @__PURE__ */ t.jsx(
5
+ a,
12
6
  {
13
- element: r,
14
- className: s("mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl", o),
15
- ...t,
16
- children: m
7
+ element: m,
8
+ className: s(
9
+ `
10
+ mx-auto max-w-7xl px-4
11
+ sm:px-6
12
+ lg:px-8
13
+ `,
14
+ o
15
+ ),
16
+ ...r,
17
+ children: x
17
18
  }
18
19
  );
19
20
  export {
20
- n as Container,
21
- n as default
21
+ l as Container,
22
+ l as default
22
23
  };
package/dist/ui.es4.js CHANGED
@@ -1,18 +1,17 @@
1
1
  import { j as t } from "./ui.es12.js";
2
- import "react";
3
2
  import { clsx as a } from "./ui.es13.js";
4
3
  import { Box as w } from "./ui.es2.js";
5
- import { JUASTIFY_MAPPER as P, ALIGN_MAPPER as c } from "./ui.es5.js";
4
+ import { JUASTIFY_MAPPER as P, ALIGN_MAPPER as c } from "./ui.es14.js";
6
5
  const A = {
7
6
  row: "flex-row",
8
7
  col: "flex-col",
9
- "row-reverse": "flex-row-reverse",
10
- "col-reverse": "flex-col-reverse"
8
+ row_reverse: "flex-row-reverse",
9
+ col_reverse: "flex-col-reverse"
11
10
  }, R = {
12
11
  wrap: "flex-wrap",
13
12
  nowrap: "flex-nowrap",
14
- "wrap-reverse": "flex-wrap-reverse"
15
- }, _ = ({
13
+ wrap_reverse: "flex-wrap-reverse"
14
+ }, I = ({
16
15
  children: l,
17
16
  gap: x,
18
17
  direction: r,
@@ -40,6 +39,6 @@ const A = {
40
39
  }
41
40
  );
42
41
  export {
43
- _ as Flex,
44
- _ as default
42
+ I as Flex,
43
+ I as default
45
44
  };
package/dist/ui.es5.js CHANGED
@@ -1,51 +1,35 @@
1
1
  import { j as a } from "./ui.es12.js";
2
- import "react";
3
- import { clsx as u } from "./ui.es13.js";
4
- import { Box as f } from "./ui.es2.js";
5
- const d = {
6
- start: "justify-start",
7
- end: "justify-end",
8
- center: "justify-center",
9
- between: "justify-between",
10
- around: "justify-around",
11
- evenly: "justify-evenly",
12
- stretch: "justify-stretch"
13
- }, j = {
14
- start: "items-start",
15
- end: "items-end",
16
- center: "items-center",
17
- baseline: "items-baseline",
18
- stretch: "items-stretch"
19
- }, b = ({
20
- children: s,
21
- className: r,
22
- cols: n,
23
- rows: i,
24
- gap: o,
25
- justify: t,
26
- align: e,
27
- element: m,
28
- ...c
2
+ import { clsx as f } from "./ui.es13.js";
3
+ import { Box as A } from "./ui.es2.js";
4
+ import { JUASTIFY_MAPPER as P, ALIGN_MAPPER as c } from "./ui.es14.js";
5
+ const l = ({
6
+ children: m,
7
+ className: t,
8
+ cols: s,
9
+ rows: p,
10
+ gap: x,
11
+ justify: r,
12
+ align: o,
13
+ element: e,
14
+ ...i
29
15
  }) => /* @__PURE__ */ a.jsx(
30
- f,
16
+ A,
31
17
  {
32
- element: m,
33
- className: u(
18
+ element: e,
19
+ className: f(
34
20
  "grid",
35
- n,
36
- i,
37
- o,
38
- t && d[t],
39
- e && j[e],
40
- r
21
+ s,
22
+ p,
23
+ x,
24
+ r && P[r],
25
+ o && c[o],
26
+ t
41
27
  ),
42
- ...c,
43
- children: s
28
+ ...i,
29
+ children: m
44
30
  }
45
31
  );
46
32
  export {
47
- j as ALIGN_MAPPER,
48
- b as Grid,
49
- d as JUASTIFY_MAPPER,
50
- b as default
33
+ l as Grid,
34
+ l as default
51
35
  };
package/dist/ui.es6.js CHANGED
@@ -1,7 +1,6 @@
1
- import { j as i } from "./ui.es12.js";
2
- import "react";
3
- import { Text as m } from "./ui.es11.js";
4
- const r = {
1
+ import { j as a } from "./ui.es12.js";
2
+ import { Text as i } from "./ui.es11.js";
3
+ const m = {
5
4
  xs: "xs",
6
5
  sm: "sm",
7
6
  base: "base",
@@ -10,25 +9,19 @@ const r = {
10
9
  "2xl": "2xl",
11
10
  "3xl": "3xl",
12
11
  "4xl": "4xl"
13
- }, g = ({
14
- children: x,
15
- element: s,
16
- className: t,
17
- size: e,
18
- ...l
19
- }) => /* @__PURE__ */ i.jsx(
20
- m,
12
+ }, n = ({ children: x, element: s, className: e, size: t, ...l }) => /* @__PURE__ */ a.jsx(
13
+ i,
21
14
  {
15
+ className: e,
22
16
  element: s,
23
- weight: "medium",
17
+ size: m[t],
24
18
  variant: "heading",
25
- className: t,
26
- size: r[e],
19
+ weight: "medium",
27
20
  ...l,
28
21
  children: x
29
22
  }
30
23
  );
31
24
  export {
32
- g as Heading,
33
- g as default
25
+ n as Heading,
26
+ n as default
34
27
  };
package/dist/ui.es7.js CHANGED
@@ -1,20 +1,20 @@
1
1
  import { j as o } from "./ui.es12.js";
2
- import "react";
3
2
  import { clsx as a } from "./ui.es13.js";
4
- const u = ({
5
- children: e,
6
- className: t,
7
- href: r,
8
- ...n
9
- }) => /* @__PURE__ */ o.jsx(
3
+ const i = ({ children: e, className: t, href: r, ...n }) => /* @__PURE__ */ o.jsx(
10
4
  "a",
11
5
  {
6
+ "data-testid": "link",
12
7
  href: r,
13
- target: "_blank",
14
8
  rel: "noopener noreferrer",
15
- "data-testid": "link",
9
+ target: "_blank",
16
10
  className: a(
17
- "text-blue-600 hover:underline visited:text-purple-600 active:text-blue-900 focus:outline-none ",
11
+ `
12
+ text-blue-600
13
+ visited:text-purple-600
14
+ hover:underline
15
+ focus:outline-none
16
+ active:text-blue-900
17
+ `,
18
18
  t
19
19
  ),
20
20
  ...n,
@@ -22,6 +22,6 @@ const u = ({
22
22
  }
23
23
  );
24
24
  export {
25
- u as ExternalLink,
26
- u as default
25
+ i as ExternalLink,
26
+ i as default
27
27
  };
package/dist/ui.es8.js CHANGED
@@ -1,29 +1,23 @@
1
1
  import { j as a } from "./ui.es12.js";
2
- import "react";
3
2
  import { Text as o } from "./ui.es11.js";
4
3
  const m = {
5
4
  xs: "xs",
6
5
  sm: "sm",
7
6
  base: "base",
8
7
  lg: "lg"
9
- }, x = ({
10
- children: s,
11
- className: t,
12
- size: r,
13
- ...e
14
- }) => /* @__PURE__ */ a.jsx(
8
+ }, i = ({ children: s, className: t, size: e, ...r }) => /* @__PURE__ */ a.jsx(
15
9
  o,
16
10
  {
11
+ className: t,
17
12
  element: "p",
18
- weight: "normal",
13
+ size: m[e],
19
14
  variant: "body",
20
- className: t,
21
- size: m[r],
22
- ...e,
15
+ weight: "normal",
16
+ ...r,
23
17
  children: s
24
18
  }
25
19
  );
26
20
  export {
27
- x as Paragraph,
28
- x as default
21
+ i as Paragraph,
22
+ i as default
29
23
  };
package/dist/ui.es9.js CHANGED
@@ -1,21 +1,22 @@
1
- import { j as r } from "./ui.es12.js";
2
- import "react";
3
- import { clsx as s } from "./ui.es13.js";
4
- import { Box as e } from "./ui.es2.js";
5
- const a = ({
6
- className: m = "",
7
- children: o,
8
- ...t
9
- }) => /* @__PURE__ */ r.jsx(
10
- e,
1
+ import { j as s } from "./ui.es12.js";
2
+ import { clsx as e } from "./ui.es13.js";
3
+ import { Box as r } from "./ui.es2.js";
4
+ const n = ({ className: m = "", children: o, ...t }) => /* @__PURE__ */ s.jsx(
5
+ r,
11
6
  {
12
7
  element: "section",
13
- className: s("p-4 sm:p-6 my-4 mx-2", m),
8
+ className: e(
9
+ `
10
+ mx-2 my-4 p-4
11
+ sm:p-6
12
+ `,
13
+ m
14
+ ),
14
15
  ...t,
15
16
  children: o
16
17
  }
17
18
  );
18
19
  export {
19
- a as Section,
20
- a as default
20
+ n as Section,
21
+ n as default
21
22
  };