@cnc-ti/layout-basic 8.2.0 → 8.2.1

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.mjs CHANGED
@@ -8639,14 +8639,14 @@ var DialogContent2 = React37.forwardRef(({ className, children, ...props }, ref)
8639
8639
  {
8640
8640
  ref,
8641
8641
  className: cn(
8642
- "cnc-fixed cnc-left-[50%] cnc-top-[50%] cnc-z-50 cnc-grid cnc-w-full cnc-max-w-lg cnc-translate-x-[-50%] cnc-translate-y-[-50%] cnc-gap-4 cnc-border cnc-bg-background cnc-p-6 cnc-shadow-lg cnc-duration-200 data-[state=open]:cnc-animate-in data-[state=closed]:cnc-animate-out data-[state=closed]:cnc-fade-out-0 data-[state=open]:cnc-fade-in-0 data-[state=closed]:cnc-zoom-out-95 data-[state=open]:cnc-zoom-in-95 data-[state=closed]:cnc-slide-out-to-left-1/2 data-[state=closed]:cnc-slide-out-to-top-[48%] data-[state=open]:cnc-slide-in-from-left-1/2 data-[state=open]:cnc-slide-in-from-top-[48%] cnc-sm:rounded-lg",
8642
+ "cnc-fixed cnc-left-[50%] cnc-top-[50%] cnc-z-50 cnc-grid cnc-w-full cnc-max-w-[42rem] cnc-translate-x-[-50%] cnc-translate-y-[-50%] cnc-gap-4 cnc-border cnc-bg-background cnc-p-6 cnc-pt-4 cnc-shadow-lg cnc-duration-200 data-[state=open]:cnc-animate-in data-[state=closed]:cnc-animate-out data-[state=closed]:cnc-fade-out-0 data-[state=open]:cnc-fade-in-0 data-[state=closed]:cnc-zoom-out-95 data-[state=open]:cnc-zoom-in-95 data-[state=closed]:cnc-slide-out-to-left-1/2 data-[state=closed]:cnc-slide-out-to-top-[48%] data-[state=open]:cnc-slide-in-from-left-1/2 data-[state=open]:cnc-slide-in-from-top-[48%] cnc-sm:rounded-lg",
8643
8643
  className
8644
8644
  ),
8645
8645
  ...props,
8646
8646
  children: [
8647
8647
  children,
8648
8648
  /* @__PURE__ */ jsxs5(Close, { className: "cnc-absolute cnc-right-4 cnc-top-4 cnc-rounded-sm cnc-opacity-70 cnc-ring-offset-background cnc-transition-opacity hover:cnc-opacity-100 focus:cnc-outline-none focus:cnc-ring-2 focus:cnc-ring-ring focus:cnc-ring-offset-2 disabled:cnc-pointer-events-none data-[state=open]:cnc-bg-accent data-[state=open]:cnc-text-muted-foreground", children: [
8649
- /* @__PURE__ */ jsx20(X, { className: "cnc-h-4 cnc-w-4" }),
8649
+ /* @__PURE__ */ jsx20(X, { className: "cnc-h-4 cnc-w-4 cnc-mt-2" }),
8650
8650
  /* @__PURE__ */ jsx20("span", { className: "cnc-sr-only", children: "Close" })
8651
8651
  ] })
8652
8652
  ]
@@ -8687,7 +8687,7 @@ var DialogTitle2 = React37.forwardRef(({ className, ...props }, ref) => /* @__PU
8687
8687
  {
8688
8688
  ref,
8689
8689
  className: cn(
8690
- "cnc-text-lg cnc-leading-none cnc-tracking-tight cnc-text-red-500",
8690
+ "cnc-text-lg cnc-font-semibold cnc-leading-none cnc-tracking-tight",
8691
8691
  className
8692
8692
  ),
8693
8693
  ...props
@@ -8714,9 +8714,9 @@ var Modal = ({
8714
8714
  }) => {
8715
8715
  return /* @__PURE__ */ jsxs6(Dialog2, { open: visibleModal, onOpenChange: onClose, children: [
8716
8716
  /* @__PURE__ */ jsx21(DialogOverlay2, { className: "cnc-inset-0 cnc-bg-blackA6= data-[state=open]:cnc-animate-overlayShow" }),
8717
- /* @__PURE__ */ jsxs6(DialogContent2, { className: " cnc-max-h-[85vh] cnc-w-[90vw] cnc-max-w-[40.625rem] cnc-p-0 cnc-rounded-sm cnc-bg-white cnc-focus:outline-none data-[state=open]:cnc-animate-contentShow", children: [
8718
- title && /* @__PURE__ */ jsx21(DialogHeader, { className: "cnc-text-sm cnc-h-14 cnc-text-gray-500 cnc-font-thin cnc-border-b cnc-w-full cnc-px-6 cnc-py-3 cnc-leading-10", children: title }),
8719
- /* @__PURE__ */ jsx21("div", { className: "cnc-flex cnc-flex-col cnc-mb-10 cnc-ml-20 cnc-align-middle cnc-items-left cnc-justify-center", children: content })
8717
+ /* @__PURE__ */ jsxs6(DialogContent2, { className: "cnc-max-h-[100vh] cnc-p-0 cnc-rounded-sm cnc-bg-white cnc-focus:outline-none data-[state=open]:cnc-animate-contentShow", children: [
8718
+ title && /* @__PURE__ */ jsx21(DialogHeader, { className: "cnc-text-sm cnc-h-14 cnc-text-black cnc-font- cnc-border-b cnc-w-full cnc-leading-10", children: title }),
8719
+ /* @__PURE__ */ jsx21("div", { className: "cnc-flex cnc-flex-col cnc-mb-16 cnc-mx-20 cnc-align-middle cnc-items-left cnc-justify-center", children: content })
8720
8720
  ] })
8721
8721
  ] });
8722
8722
  };