@mieweb/ui 0.3.0-dev.92 → 0.3.0-dev.93
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 +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18511,7 +18511,7 @@ function InventoryManager({
|
|
|
18511
18511
|
{
|
|
18512
18512
|
type: "button",
|
|
18513
18513
|
onClick: onUpdateClick,
|
|
18514
|
-
className: "text-primary hover:text-primary
|
|
18514
|
+
className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 flex items-center gap-1 text-sm font-medium",
|
|
18515
18515
|
children: [
|
|
18516
18516
|
"Update Inventory",
|
|
18517
18517
|
/* @__PURE__ */ jsx(
|
|
@@ -18559,7 +18559,7 @@ function InventoryManager({
|
|
|
18559
18559
|
/* @__PURE__ */ jsx("td", { className: "py-2 text-right text-sm", children: /* @__PURE__ */ jsxs(
|
|
18560
18560
|
"span",
|
|
18561
18561
|
{
|
|
18562
|
-
className: `inline-flex items-center gap-1 ${entry.type === "credit" ? "text-green-
|
|
18562
|
+
className: `inline-flex items-center gap-1 ${entry.type === "credit" ? "text-green-700 dark:text-green-400" : "text-red-700 dark:text-red-400"}`,
|
|
18563
18563
|
children: [
|
|
18564
18564
|
entry.type === "credit" ? /* @__PURE__ */ jsx(
|
|
18565
18565
|
"svg",
|
|
@@ -18640,8 +18640,8 @@ function InventoryManager({
|
|
|
18640
18640
|
children: [
|
|
18641
18641
|
/* @__PURE__ */ jsx(ModalHeader, { children: /* @__PURE__ */ jsx(ModalTitle, { children: "Inventory Manager" }) }),
|
|
18642
18642
|
/* @__PURE__ */ jsxs(ModalBody, { className: "space-y-4", children: [
|
|
18643
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("
|
|
18644
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("
|
|
18643
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: serviceName }) }),
|
|
18644
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("h4", { className: "text-muted-foreground mb-2 text-sm font-medium", children: "Update Inventory" }) }),
|
|
18645
18645
|
/* @__PURE__ */ jsxs("div", { className: "flex gap-0", children: [
|
|
18646
18646
|
/* @__PURE__ */ jsxs(
|
|
18647
18647
|
"button",
|
|
@@ -34417,7 +34417,7 @@ function SetupServiceModal({
|
|
|
34417
34417
|
{
|
|
34418
34418
|
"data-slot": "setup-service-error",
|
|
34419
34419
|
className: "rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20",
|
|
34420
|
-
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-
|
|
34420
|
+
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
34421
34421
|
}
|
|
34422
34422
|
),
|
|
34423
34423
|
showServicePicker && availableServices.length > 0 && /* @__PURE__ */ jsx(
|
|
@@ -34525,6 +34525,7 @@ function SetupServiceModal({
|
|
|
34525
34525
|
/* @__PURE__ */ jsx(
|
|
34526
34526
|
Switch,
|
|
34527
34527
|
{
|
|
34528
|
+
"aria-label": "Currently Offered",
|
|
34528
34529
|
className: "flex-shrink-0",
|
|
34529
34530
|
checked: formData.currentlyOffered,
|
|
34530
34531
|
onCheckedChange: (checked) => setFormData((prev) => ({
|
|
@@ -34549,6 +34550,7 @@ function SetupServiceModal({
|
|
|
34549
34550
|
/* @__PURE__ */ jsx(
|
|
34550
34551
|
Switch,
|
|
34551
34552
|
{
|
|
34553
|
+
"aria-label": "Limited Inventory",
|
|
34552
34554
|
className: "flex-shrink-0",
|
|
34553
34555
|
checked: formData.limitedInventory,
|
|
34554
34556
|
onCheckedChange: (checked) => setFormData((prev) => ({
|
|
@@ -34594,6 +34596,7 @@ function SetupServiceModal({
|
|
|
34594
34596
|
/* @__PURE__ */ jsx(
|
|
34595
34597
|
Switch,
|
|
34596
34598
|
{
|
|
34599
|
+
"aria-label": "Auto-Accept Referrals",
|
|
34597
34600
|
className: "flex-shrink-0",
|
|
34598
34601
|
checked: formData.autoAcceptReferrals,
|
|
34599
34602
|
onCheckedChange: (checked) => setFormData((prev) => ({
|