@betterstore/react 0.2.22 → 0.2.23
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/CHANGELOG.md +6 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/rollup.config.mjs +15 -0
package/CHANGELOG.md
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -15019,7 +15019,7 @@ function DialogContent(_a) {
|
|
|
15019
15019
|
var { className, children } = _a, props = __rest(_a, ["className", "children"]);
|
|
15020
15020
|
return (React__namespace.createElement(DialogPortal, { "data-slot": "dialog-portal" },
|
|
15021
15021
|
React__namespace.createElement(DialogOverlay, null),
|
|
15022
|
-
React__namespace.createElement(DialogPrimitive__namespace.Content, Object.assign({ "data-slot": "dialog-content", className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className) }, props),
|
|
15022
|
+
React__namespace.createElement(DialogPrimitive__namespace.Content, Object.assign({ "data-slot": "dialog-content", className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className), onOpenAutoFocus: (e) => e.preventDefault(), onCloseAutoFocus: (e) => e.preventDefault() }, props),
|
|
15023
15023
|
children,
|
|
15024
15024
|
React__namespace.createElement(DialogPrimitive__namespace.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4" },
|
|
15025
15025
|
React__namespace.createElement(lucideReact.XIcon, null),
|
package/dist/index.mjs
CHANGED
|
@@ -14996,7 +14996,7 @@ function DialogContent(_a) {
|
|
|
14996
14996
|
var { className, children } = _a, props = __rest(_a, ["className", "children"]);
|
|
14997
14997
|
return (React.createElement(DialogPortal, { "data-slot": "dialog-portal" },
|
|
14998
14998
|
React.createElement(DialogOverlay, null),
|
|
14999
|
-
React.createElement(DialogPrimitive.Content, Object.assign({ "data-slot": "dialog-content", className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className) }, props),
|
|
14999
|
+
React.createElement(DialogPrimitive.Content, Object.assign({ "data-slot": "dialog-content", className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className), onOpenAutoFocus: (e) => e.preventDefault(), onCloseAutoFocus: (e) => e.preventDefault() }, props),
|
|
15000
15000
|
children,
|
|
15001
15001
|
React.createElement(DialogPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4" },
|
|
15002
15002
|
React.createElement(XIcon, null),
|
package/package.json
CHANGED
package/rollup.config.mjs
CHANGED
|
@@ -79,6 +79,7 @@ export default {
|
|
|
79
79
|
},
|
|
80
80
|
browser: true,
|
|
81
81
|
preferBuiltins: false,
|
|
82
|
+
dedupe: ["react", "react-dom"],
|
|
82
83
|
}),
|
|
83
84
|
commonjs({
|
|
84
85
|
include: /node_modules/,
|
|
@@ -121,6 +122,20 @@ export default {
|
|
|
121
122
|
"trace_events",
|
|
122
123
|
"wasi",
|
|
123
124
|
],
|
|
125
|
+
namedExports: {
|
|
126
|
+
"@radix-ui/react-dialog": [
|
|
127
|
+
"Dialog",
|
|
128
|
+
"DialogContent",
|
|
129
|
+
"DialogTrigger",
|
|
130
|
+
"DialogClose",
|
|
131
|
+
"DialogOverlay",
|
|
132
|
+
"DialogPortal",
|
|
133
|
+
"DialogTitle",
|
|
134
|
+
"DialogDescription",
|
|
135
|
+
"DialogHeader",
|
|
136
|
+
"DialogFooter",
|
|
137
|
+
],
|
|
138
|
+
},
|
|
124
139
|
}),
|
|
125
140
|
typescript(),
|
|
126
141
|
json({
|