@neoptocom/neopto-ui 0.9.2 → 0.9.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.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/Modal.tsx +7 -7
package/dist/index.cjs
CHANGED
|
@@ -308,7 +308,7 @@ function Modal({
|
|
|
308
308
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
309
309
|
Card,
|
|
310
310
|
{
|
|
311
|
-
className: `w-full max-w-lg
|
|
311
|
+
className: `w-full ${className || "max-w-lg"}`,
|
|
312
312
|
role: "dialog",
|
|
313
313
|
"aria-modal": "true",
|
|
314
314
|
"aria-labelledby": title ? "modal-title" : void 0,
|
package/dist/index.js
CHANGED
|
@@ -287,7 +287,7 @@ function Modal({
|
|
|
287
287
|
children: /* @__PURE__ */ jsxs(
|
|
288
288
|
Card,
|
|
289
289
|
{
|
|
290
|
-
className: `w-full max-w-lg
|
|
290
|
+
className: `w-full ${className || "max-w-lg"}`,
|
|
291
291
|
role: "dialog",
|
|
292
292
|
"aria-modal": "true",
|
|
293
293
|
"aria-labelledby": title ? "modal-title" : void 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neoptocom/neopto-ui",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A modern React component library built with Tailwind CSS v4 and TypeScript. Features dark mode, design tokens, and comprehensive Storybook documentation. Requires Tailwind v4+.",
|
|
6
6
|
"keywords": [
|
package/src/components/Modal.tsx
CHANGED
|
@@ -92,13 +92,13 @@ export function Modal({
|
|
|
92
92
|
onClose={closeOnBackdrop ? onClose : undefined}
|
|
93
93
|
zIndex={zIndex}
|
|
94
94
|
>
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
95
|
+
<Card
|
|
96
|
+
className={`w-full ${className || "max-w-lg"}`}
|
|
97
|
+
role="dialog"
|
|
98
|
+
aria-modal="true"
|
|
99
|
+
aria-labelledby={title ? "modal-title" : undefined}
|
|
100
|
+
showDecorations={showDecorations}
|
|
101
|
+
>
|
|
102
102
|
{title && (
|
|
103
103
|
<h2 id="modal-title" className="mb-4 text-xl font-semibold">
|
|
104
104
|
{title}
|