@planetaexo/design-system 0.48.1 → 0.48.2
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 +10 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -7
- package/dist/index.d.ts +36 -7
- package/dist/index.js +10 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -219,11 +219,13 @@ function DialogContent(_a) {
|
|
|
219
219
|
var _b = _a, {
|
|
220
220
|
className,
|
|
221
221
|
children,
|
|
222
|
-
showCloseButton = true
|
|
222
|
+
showCloseButton = true,
|
|
223
|
+
closeLabel = "Close"
|
|
223
224
|
} = _b, props = __objRest(_b, [
|
|
224
225
|
"className",
|
|
225
226
|
"children",
|
|
226
|
-
"showCloseButton"
|
|
227
|
+
"showCloseButton",
|
|
228
|
+
"closeLabel"
|
|
227
229
|
]);
|
|
228
230
|
return /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
|
|
229
231
|
/* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
|
|
@@ -255,7 +257,7 @@ function DialogContent(_a) {
|
|
|
255
257
|
lucideReact.XIcon,
|
|
256
258
|
{}
|
|
257
259
|
),
|
|
258
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children:
|
|
260
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: closeLabel })
|
|
259
261
|
]
|
|
260
262
|
}
|
|
261
263
|
)
|
|
@@ -278,10 +280,12 @@ function DialogFooter(_a) {
|
|
|
278
280
|
var _b = _a, {
|
|
279
281
|
className,
|
|
280
282
|
showCloseButton = false,
|
|
283
|
+
closeLabel = "Close",
|
|
281
284
|
children
|
|
282
285
|
} = _b, props = __objRest(_b, [
|
|
283
286
|
"className",
|
|
284
287
|
"showCloseButton",
|
|
288
|
+
"closeLabel",
|
|
285
289
|
"children"
|
|
286
290
|
]);
|
|
287
291
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -295,7 +299,7 @@ function DialogFooter(_a) {
|
|
|
295
299
|
}, props), {
|
|
296
300
|
children: [
|
|
297
301
|
children,
|
|
298
|
-
showCloseButton && /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Close, { render: /* @__PURE__ */ jsxRuntime.jsx(Button2, { variant: "outline" }), children:
|
|
302
|
+
showCloseButton && /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Close, { render: /* @__PURE__ */ jsxRuntime.jsx(Button2, { variant: "outline" }), children: closeLabel })
|
|
299
303
|
]
|
|
300
304
|
})
|
|
301
305
|
);
|
|
@@ -12046,10 +12050,9 @@ function TripHeader({
|
|
|
12046
12050
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-gradient-to-t from-black/85 via-black/20 to-transparent" }),
|
|
12047
12051
|
siteHeader && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12048
12052
|
SiteHeader,
|
|
12049
|
-
{
|
|
12050
|
-
links: Array.isArray(siteHeader) ? siteHeader : void 0,
|
|
12053
|
+
__spreadProps(__spreadValues({}, Array.isArray(siteHeader) ? { links: siteHeader } : typeof siteHeader === "object" ? siteHeader : {}), {
|
|
12051
12054
|
position: "overlay"
|
|
12052
|
-
}
|
|
12055
|
+
})
|
|
12053
12056
|
),
|
|
12054
12057
|
!videoUrl && showCarousel && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12055
12058
|
/* @__PURE__ */ jsxRuntime.jsx(
|