@mieweb/ui 0.3.0-dev.92 → 0.3.0-dev.94
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 +13 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -16555,7 +16555,7 @@ function EmployerServiceModal({
|
|
|
16555
16555
|
{
|
|
16556
16556
|
className: "border-destructive/30 bg-destructive/10 rounded-lg border p-3",
|
|
16557
16557
|
"data-slot": "employer-service-error",
|
|
16558
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-destructive text-sm", children: errorMessage })
|
|
16558
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-destructive-700 dark:text-destructive-300 text-sm", children: errorMessage })
|
|
16559
16559
|
}
|
|
16560
16560
|
),
|
|
16561
16561
|
service && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -16608,6 +16608,7 @@ function EmployerServiceModal({
|
|
|
16608
16608
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16609
16609
|
chunkNVHAQOHH_cjs.Switch,
|
|
16610
16610
|
{
|
|
16611
|
+
"aria-label": "Use Base Price",
|
|
16611
16612
|
checked: config.useBasePrice,
|
|
16612
16613
|
onCheckedChange: (checked) => setConfig((prev) => ({
|
|
16613
16614
|
...prev,
|
|
@@ -16696,6 +16697,7 @@ function EmployerServiceModal({
|
|
|
16696
16697
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16697
16698
|
chunkNVHAQOHH_cjs.Switch,
|
|
16698
16699
|
{
|
|
16700
|
+
"aria-label": "Auto-Accept Orders",
|
|
16699
16701
|
checked: config.autoAccept,
|
|
16700
16702
|
onCheckedChange: (checked) => setConfig((prev) => ({ ...prev, autoAccept: checked }))
|
|
16701
16703
|
}
|
|
@@ -16716,6 +16718,7 @@ function EmployerServiceModal({
|
|
|
16716
16718
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16717
16719
|
chunkNVHAQOHH_cjs.Switch,
|
|
16718
16720
|
{
|
|
16721
|
+
"aria-label": "Requires Approval",
|
|
16719
16722
|
checked: config.requiresApproval,
|
|
16720
16723
|
onCheckedChange: (checked) => setConfig((prev) => ({ ...prev, requiresApproval: checked }))
|
|
16721
16724
|
}
|
|
@@ -16746,6 +16749,7 @@ function EmployerServiceModal({
|
|
|
16746
16749
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16747
16750
|
chunkNVHAQOHH_cjs.Switch,
|
|
16748
16751
|
{
|
|
16752
|
+
"aria-label": "Notify on New Orders",
|
|
16749
16753
|
checked: config.notifyOnOrder,
|
|
16750
16754
|
onCheckedChange: (checked) => setConfig((prev) => ({ ...prev, notifyOnOrder: checked }))
|
|
16751
16755
|
}
|
|
@@ -18504,7 +18508,7 @@ function InventoryManager({
|
|
|
18504
18508
|
{
|
|
18505
18509
|
type: "button",
|
|
18506
18510
|
onClick: onUpdateClick,
|
|
18507
|
-
className: "text-primary hover:text-primary
|
|
18511
|
+
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",
|
|
18508
18512
|
children: [
|
|
18509
18513
|
"Update Inventory",
|
|
18510
18514
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -18552,7 +18556,7 @@ function InventoryManager({
|
|
|
18552
18556
|
/* @__PURE__ */ jsxRuntime.jsx("td", { className: "py-2 text-right text-sm", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18553
18557
|
"span",
|
|
18554
18558
|
{
|
|
18555
|
-
className: `inline-flex items-center gap-1 ${entry.type === "credit" ? "text-green-
|
|
18559
|
+
className: `inline-flex items-center gap-1 ${entry.type === "credit" ? "text-green-700 dark:text-green-400" : "text-red-700 dark:text-red-400"}`,
|
|
18556
18560
|
children: [
|
|
18557
18561
|
entry.type === "credit" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
18558
18562
|
"svg",
|
|
@@ -18633,8 +18637,8 @@ function InventoryManager({
|
|
|
18633
18637
|
children: [
|
|
18634
18638
|
/* @__PURE__ */ jsxRuntime.jsx(chunkAWUADXYI_cjs.ModalHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkAWUADXYI_cjs.ModalTitle, { children: "Inventory Manager" }) }),
|
|
18635
18639
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkAWUADXYI_cjs.ModalBody, { className: "space-y-4", children: [
|
|
18636
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx("
|
|
18637
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx("
|
|
18640
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-foreground text-lg font-semibold", children: serviceName }) }),
|
|
18641
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-muted-foreground mb-2 text-sm font-medium", children: "Update Inventory" }) }),
|
|
18638
18642
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex gap-0", children: [
|
|
18639
18643
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18640
18644
|
"button",
|
|
@@ -34410,7 +34414,7 @@ function SetupServiceModal({
|
|
|
34410
34414
|
{
|
|
34411
34415
|
"data-slot": "setup-service-error",
|
|
34412
34416
|
className: "rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20",
|
|
34413
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-
|
|
34417
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
34414
34418
|
}
|
|
34415
34419
|
),
|
|
34416
34420
|
showServicePicker && availableServices.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -34518,6 +34522,7 @@ function SetupServiceModal({
|
|
|
34518
34522
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34519
34523
|
chunkNVHAQOHH_cjs.Switch,
|
|
34520
34524
|
{
|
|
34525
|
+
"aria-label": "Currently Offered",
|
|
34521
34526
|
className: "flex-shrink-0",
|
|
34522
34527
|
checked: formData.currentlyOffered,
|
|
34523
34528
|
onCheckedChange: (checked) => setFormData((prev) => ({
|
|
@@ -34542,6 +34547,7 @@ function SetupServiceModal({
|
|
|
34542
34547
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34543
34548
|
chunkNVHAQOHH_cjs.Switch,
|
|
34544
34549
|
{
|
|
34550
|
+
"aria-label": "Limited Inventory",
|
|
34545
34551
|
className: "flex-shrink-0",
|
|
34546
34552
|
checked: formData.limitedInventory,
|
|
34547
34553
|
onCheckedChange: (checked) => setFormData((prev) => ({
|
|
@@ -34587,6 +34593,7 @@ function SetupServiceModal({
|
|
|
34587
34593
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34588
34594
|
chunkNVHAQOHH_cjs.Switch,
|
|
34589
34595
|
{
|
|
34596
|
+
"aria-label": "Auto-Accept Referrals",
|
|
34590
34597
|
className: "flex-shrink-0",
|
|
34591
34598
|
checked: formData.autoAcceptReferrals,
|
|
34592
34599
|
onCheckedChange: (checked) => setFormData((prev) => ({
|