ptechcore_ui 1.0.60 → 1.0.61
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 +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -197,14 +197,14 @@ var Modal = ({
|
|
|
197
197
|
title,
|
|
198
198
|
description,
|
|
199
199
|
sideactions,
|
|
200
|
-
width = "
|
|
200
|
+
width = "w-[60vw]",
|
|
201
201
|
minContentHeight,
|
|
202
202
|
open,
|
|
203
203
|
onClose,
|
|
204
204
|
children
|
|
205
205
|
}) => {
|
|
206
206
|
if (!open) return null;
|
|
207
|
-
const modalContent = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-[9999]", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: `bg-[var(--color-surface)] rounded-lg p-6 mx-4
|
|
207
|
+
const modalContent = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-[9999]", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: `bg-[var(--color-surface)] rounded-lg p-6 mx-4 ${width}`, children: [
|
|
208
208
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: "flex justify-between items-start mb-2", children: [
|
|
209
209
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { children: [
|
|
210
210
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h3", { className: "text-xl font-semibold text-[var(--color-text-primary)] flex items-center space-x-2", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { children: title }) }),
|
|
@@ -3709,8 +3709,8 @@ var variantStyles = {
|
|
|
3709
3709
|
badge: "bg-red-500 text-white"
|
|
3710
3710
|
},
|
|
3711
3711
|
outline: {
|
|
3712
|
-
active: "bg-
|
|
3713
|
-
inactive: "text-gray-
|
|
3712
|
+
active: "bg-[var(--color-primary)] text-white",
|
|
3713
|
+
inactive: "text-gray-600 hover:bg-gray-100",
|
|
3714
3714
|
base: "rounded-lg",
|
|
3715
3715
|
badge: "bg-red-500 text-white"
|
|
3716
3716
|
},
|
package/dist/index.js
CHANGED
|
@@ -40,14 +40,14 @@ var Modal = ({
|
|
|
40
40
|
title,
|
|
41
41
|
description,
|
|
42
42
|
sideactions,
|
|
43
|
-
width = "
|
|
43
|
+
width = "w-[60vw]",
|
|
44
44
|
minContentHeight,
|
|
45
45
|
open,
|
|
46
46
|
onClose,
|
|
47
47
|
children
|
|
48
48
|
}) => {
|
|
49
49
|
if (!open) return null;
|
|
50
|
-
const modalContent = /* @__PURE__ */ jsx2("div", { className: "fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-[9999]", children: /* @__PURE__ */ jsxs("div", { className: `bg-[var(--color-surface)] rounded-lg p-6 mx-4
|
|
50
|
+
const modalContent = /* @__PURE__ */ jsx2("div", { className: "fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-[9999]", children: /* @__PURE__ */ jsxs("div", { className: `bg-[var(--color-surface)] rounded-lg p-6 mx-4 ${width}`, children: [
|
|
51
51
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-start mb-2", children: [
|
|
52
52
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
53
53
|
/* @__PURE__ */ jsx2("h3", { className: "text-xl font-semibold text-[var(--color-text-primary)] flex items-center space-x-2", children: /* @__PURE__ */ jsx2("span", { children: title }) }),
|
|
@@ -3580,8 +3580,8 @@ var variantStyles = {
|
|
|
3580
3580
|
badge: "bg-red-500 text-white"
|
|
3581
3581
|
},
|
|
3582
3582
|
outline: {
|
|
3583
|
-
active: "bg-
|
|
3584
|
-
inactive: "text-gray-
|
|
3583
|
+
active: "bg-[var(--color-primary)] text-white",
|
|
3584
|
+
inactive: "text-gray-600 hover:bg-gray-100",
|
|
3585
3585
|
base: "rounded-lg",
|
|
3586
3586
|
badge: "bg-red-500 text-white"
|
|
3587
3587
|
},
|