@planetaexo/design-system 0.4.19 → 0.4.20

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 CHANGED
@@ -269,6 +269,32 @@ function DialogHeader(_a) {
269
269
  }, props)
270
270
  );
271
271
  }
272
+ function DialogFooter(_a) {
273
+ var _b = _a, {
274
+ className,
275
+ showCloseButton = false,
276
+ children
277
+ } = _b, props = __objRest(_b, [
278
+ "className",
279
+ "showCloseButton",
280
+ "children"
281
+ ]);
282
+ return /* @__PURE__ */ jsxRuntime.jsxs(
283
+ "div",
284
+ __spreadProps(__spreadValues({
285
+ "data-slot": "dialog-footer",
286
+ className: cn(
287
+ "-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",
288
+ className
289
+ )
290
+ }, props), {
291
+ children: [
292
+ children,
293
+ showCloseButton && /* @__PURE__ */ jsxRuntime.jsx(dialog.Dialog.Close, { render: /* @__PURE__ */ jsxRuntime.jsx(Button2, { variant: "outline" }), children: "Close" })
294
+ ]
295
+ })
296
+ );
297
+ }
272
298
  function DialogTitle(_a) {
273
299
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
274
300
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -8551,6 +8577,13 @@ exports.CountrySearchField = CountrySearchField;
8551
8577
  exports.DEFAULT_HEADER_LINKS = DEFAULT_HEADER_LINKS;
8552
8578
  exports.DEFAULT_LANGUAGES = DEFAULT_LANGUAGES;
8553
8579
  exports.DatePickerField = DatePickerField;
8580
+ exports.Dialog = Dialog;
8581
+ exports.DialogClose = DialogClose;
8582
+ exports.DialogContent = DialogContent;
8583
+ exports.DialogDescription = DialogDescription;
8584
+ exports.DialogFooter = DialogFooter;
8585
+ exports.DialogHeader = DialogHeader;
8586
+ exports.DialogTitle = DialogTitle;
8554
8587
  exports.FilterPanel = FilterPanel;
8555
8588
  exports.FloatingInput = FloatingInput;
8556
8589
  exports.FloatingSelect = FloatingSelect;