design-zystem 1.0.424 → 1.0.425

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/ui/index.js CHANGED
@@ -8585,7 +8585,7 @@ var DatePicker = ({
8585
8585
  ] });
8586
8586
  }
8587
8587
  return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(RadixPopover6.Root, { open, onOpenChange: setOpen, children: [
8588
- /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Layout, { column: true, gap: 1.5, align: "end", className, children: [
8588
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Layout, { column: true, gap: 1.5, align, className, children: [
8589
8589
  /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Layout, { align: "center", gap: 1.5, width: "auto", children: [
8590
8590
  /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(RadixPopover6.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
8591
8591
  "button",
@@ -8627,7 +8627,10 @@ var DatePicker = ({
8627
8627
  {
8628
8628
  type: "button",
8629
8629
  onClick: handleReset,
8630
- className: "ml-auto flex w-fit items-center gap-1.5 rounded-[6px] border border-blue-700 bg-blue-50 px-2.5 py-1 text-xs font-medium text-blue-700",
8630
+ className: cn(
8631
+ "flex w-fit items-center gap-1.5 rounded-[6px] border border-blue-700 bg-blue-50 px-2.5 py-1 text-xs font-medium text-blue-700",
8632
+ align === "end" && "ml-auto"
8633
+ ),
8631
8634
  children: displayText
8632
8635
  }
8633
8636
  )
package/dist/ui/index.mjs CHANGED
@@ -8422,7 +8422,7 @@ var DatePicker = ({
8422
8422
  ] });
8423
8423
  }
8424
8424
  return /* @__PURE__ */ jsxs58(RadixPopover6.Root, { open, onOpenChange: setOpen, children: [
8425
- /* @__PURE__ */ jsxs58(Layout, { column: true, gap: 1.5, align: "end", className, children: [
8425
+ /* @__PURE__ */ jsxs58(Layout, { column: true, gap: 1.5, align, className, children: [
8426
8426
  /* @__PURE__ */ jsxs58(Layout, { align: "center", gap: 1.5, width: "auto", children: [
8427
8427
  /* @__PURE__ */ jsx96(RadixPopover6.Trigger, { asChild: true, children: /* @__PURE__ */ jsx96(
8428
8428
  "button",
@@ -8464,7 +8464,10 @@ var DatePicker = ({
8464
8464
  {
8465
8465
  type: "button",
8466
8466
  onClick: handleReset,
8467
- className: "ml-auto flex w-fit items-center gap-1.5 rounded-[6px] border border-blue-700 bg-blue-50 px-2.5 py-1 text-xs font-medium text-blue-700",
8467
+ className: cn(
8468
+ "flex w-fit items-center gap-1.5 rounded-[6px] border border-blue-700 bg-blue-50 px-2.5 py-1 text-xs font-medium text-blue-700",
8469
+ align === "end" && "ml-auto"
8470
+ ),
8468
8471
  children: displayText
8469
8472
  }
8470
8473
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "design-zystem",
3
- "version": "1.0.424",
3
+ "version": "1.0.425",
4
4
  "description": "A React design system of importable components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",