@diwauhris/ui 1.7.40 → 1.7.41
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/lib/assets/ui.css +0 -13
- package/lib/index.cjs +4 -4
- package/lib/index.mjs +4 -4
- package/package.json +1 -1
package/lib/assets/ui.css
CHANGED
|
@@ -4169,11 +4169,6 @@
|
|
|
4169
4169
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
4170
4170
|
}
|
|
4171
4171
|
|
|
4172
|
-
.backdrop-blur {
|
|
4173
|
-
--tw-backdrop-blur: blur(8px);
|
|
4174
|
-
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
4175
|
-
}
|
|
4176
|
-
|
|
4177
4172
|
.backdrop-blur-sm {
|
|
4178
4173
|
--tw-backdrop-blur: blur(4px);
|
|
4179
4174
|
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
@@ -4249,14 +4244,6 @@
|
|
|
4249
4244
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
4250
4245
|
}
|
|
4251
4246
|
|
|
4252
|
-
.will-change-\[opacity\] {
|
|
4253
|
-
will-change: opacity;
|
|
4254
|
-
}
|
|
4255
|
-
|
|
4256
|
-
.will-change-\[transform\2c opacity\] {
|
|
4257
|
-
will-change: transform,opacity;
|
|
4258
|
-
}
|
|
4259
|
-
|
|
4260
4247
|
@keyframes enter {
|
|
4261
4248
|
from {
|
|
4262
4249
|
opacity: var(--tw-enter-opacity, 1);
|
package/lib/index.cjs
CHANGED
|
@@ -2462,10 +2462,10 @@ function Modal({ isOpen, onClose, title, children, icon, subtitle, headerMeta, f
|
|
|
2462
2462
|
onOpenChange: (isOpen) => {
|
|
2463
2463
|
if (!isOpen && !preventClose) onClose();
|
|
2464
2464
|
},
|
|
2465
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dialog.Portal, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Overlay, { className: "fixed inset-0 z-50 bg-brand-navy/60
|
|
2465
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dialog.Portal, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Overlay, { className: "fixed inset-0 z-50 bg-brand-navy/60" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2466
2466
|
className: "pointer-events-none fixed inset-0 z-50 flex items-center justify-center p-4",
|
|
2467
2467
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dialog.Content, {
|
|
2468
|
-
className: cn("pointer-events-auto relative", "flex w-full flex-col", "rounded-lg border border-slate-200 bg-white shadow-xl", "max-h-[85vh] outline-none", maxWidth
|
|
2468
|
+
className: cn("pointer-events-auto relative", "flex w-full flex-col", "rounded-lg border border-slate-200 bg-white shadow-xl", "max-h-[85vh] outline-none", maxWidth),
|
|
2469
2469
|
style: { padding: 0 },
|
|
2470
2470
|
onOpenAutoFocus,
|
|
2471
2471
|
onCloseAutoFocus,
|
|
@@ -2592,8 +2592,8 @@ function Dialog({ open, onClose, title, description, preventClose = false, size
|
|
|
2592
2592
|
onOpenChange: (isOpen) => {
|
|
2593
2593
|
if (!isOpen && !preventClose) onClose();
|
|
2594
2594
|
},
|
|
2595
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dialog.Portal, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Overlay, { className: "fixed inset-0 z-50 bg-brand-navy/
|
|
2596
|
-
className: cn("fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2", "flex w-full flex-col overflow-hidden", "rounded-lg bg-white shadow-xl", "max-h-[90vh] outline-none", SIZE_CLASS[size]
|
|
2595
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dialog.Portal, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_dialog.Overlay, { className: "fixed inset-0 z-50 bg-brand-navy/60" }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_dialog.Content, {
|
|
2596
|
+
className: cn("fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2", "flex w-full flex-col overflow-hidden", "rounded-lg bg-white shadow-xl", "max-h-[90vh] outline-none", SIZE_CLASS[size]),
|
|
2597
2597
|
onEscapeKeyDown: preventClose ? (e) => e.preventDefault() : onEscapeKeyDown,
|
|
2598
2598
|
onInteractOutside: (e) => {
|
|
2599
2599
|
if (e.target?.closest(".pis-datepicker-popover")) {
|
package/lib/index.mjs
CHANGED
|
@@ -2438,10 +2438,10 @@ function Modal({ isOpen, onClose, title, children, icon, subtitle, headerMeta, f
|
|
|
2438
2438
|
onOpenChange: (isOpen) => {
|
|
2439
2439
|
if (!isOpen && !preventClose) onClose();
|
|
2440
2440
|
},
|
|
2441
|
-
children: /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { children: [/* @__PURE__ */ jsx(DialogPrimitive.Overlay, { className: "fixed inset-0 z-50 bg-brand-navy/60
|
|
2441
|
+
children: /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { children: [/* @__PURE__ */ jsx(DialogPrimitive.Overlay, { className: "fixed inset-0 z-50 bg-brand-navy/60" }), /* @__PURE__ */ jsx("div", {
|
|
2442
2442
|
className: "pointer-events-none fixed inset-0 z-50 flex items-center justify-center p-4",
|
|
2443
2443
|
children: /* @__PURE__ */ jsxs(DialogPrimitive.Content, {
|
|
2444
|
-
className: cn("pointer-events-auto relative", "flex w-full flex-col", "rounded-lg border border-slate-200 bg-white shadow-xl", "max-h-[85vh] outline-none", maxWidth
|
|
2444
|
+
className: cn("pointer-events-auto relative", "flex w-full flex-col", "rounded-lg border border-slate-200 bg-white shadow-xl", "max-h-[85vh] outline-none", maxWidth),
|
|
2445
2445
|
style: { padding: 0 },
|
|
2446
2446
|
onOpenAutoFocus,
|
|
2447
2447
|
onCloseAutoFocus,
|
|
@@ -2568,8 +2568,8 @@ function Dialog({ open, onClose, title, description, preventClose = false, size
|
|
|
2568
2568
|
onOpenChange: (isOpen) => {
|
|
2569
2569
|
if (!isOpen && !preventClose) onClose();
|
|
2570
2570
|
},
|
|
2571
|
-
children: /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { children: [/* @__PURE__ */ jsx(DialogPrimitive.Overlay, { className: "fixed inset-0 z-50 bg-brand-navy/
|
|
2572
|
-
className: cn("fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2", "flex w-full flex-col overflow-hidden", "rounded-lg bg-white shadow-xl", "max-h-[90vh] outline-none", SIZE_CLASS[size]
|
|
2571
|
+
children: /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { children: [/* @__PURE__ */ jsx(DialogPrimitive.Overlay, { className: "fixed inset-0 z-50 bg-brand-navy/60" }), /* @__PURE__ */ jsxs(DialogPrimitive.Content, {
|
|
2572
|
+
className: cn("fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2", "flex w-full flex-col overflow-hidden", "rounded-lg bg-white shadow-xl", "max-h-[90vh] outline-none", SIZE_CLASS[size]),
|
|
2573
2573
|
onEscapeKeyDown: preventClose ? (e) => e.preventDefault() : onEscapeKeyDown,
|
|
2574
2574
|
onInteractOutside: (e) => {
|
|
2575
2575
|
if (e.target?.closest(".pis-datepicker-popover")) {
|