@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.js
CHANGED
|
@@ -16562,7 +16562,7 @@ function EmployerServiceModal({
|
|
|
16562
16562
|
{
|
|
16563
16563
|
className: "border-destructive/30 bg-destructive/10 rounded-lg border p-3",
|
|
16564
16564
|
"data-slot": "employer-service-error",
|
|
16565
|
-
children: /* @__PURE__ */ jsx("p", { className: "text-destructive text-sm", children: errorMessage })
|
|
16565
|
+
children: /* @__PURE__ */ jsx("p", { className: "text-destructive-700 dark:text-destructive-300 text-sm", children: errorMessage })
|
|
16566
16566
|
}
|
|
16567
16567
|
),
|
|
16568
16568
|
service && /* @__PURE__ */ jsxs(
|
|
@@ -16615,6 +16615,7 @@ function EmployerServiceModal({
|
|
|
16615
16615
|
/* @__PURE__ */ jsx(
|
|
16616
16616
|
Switch,
|
|
16617
16617
|
{
|
|
16618
|
+
"aria-label": "Use Base Price",
|
|
16618
16619
|
checked: config.useBasePrice,
|
|
16619
16620
|
onCheckedChange: (checked) => setConfig((prev) => ({
|
|
16620
16621
|
...prev,
|
|
@@ -16703,6 +16704,7 @@ function EmployerServiceModal({
|
|
|
16703
16704
|
/* @__PURE__ */ jsx(
|
|
16704
16705
|
Switch,
|
|
16705
16706
|
{
|
|
16707
|
+
"aria-label": "Auto-Accept Orders",
|
|
16706
16708
|
checked: config.autoAccept,
|
|
16707
16709
|
onCheckedChange: (checked) => setConfig((prev) => ({ ...prev, autoAccept: checked }))
|
|
16708
16710
|
}
|
|
@@ -16723,6 +16725,7 @@ function EmployerServiceModal({
|
|
|
16723
16725
|
/* @__PURE__ */ jsx(
|
|
16724
16726
|
Switch,
|
|
16725
16727
|
{
|
|
16728
|
+
"aria-label": "Requires Approval",
|
|
16726
16729
|
checked: config.requiresApproval,
|
|
16727
16730
|
onCheckedChange: (checked) => setConfig((prev) => ({ ...prev, requiresApproval: checked }))
|
|
16728
16731
|
}
|
|
@@ -16753,6 +16756,7 @@ function EmployerServiceModal({
|
|
|
16753
16756
|
/* @__PURE__ */ jsx(
|
|
16754
16757
|
Switch,
|
|
16755
16758
|
{
|
|
16759
|
+
"aria-label": "Notify on New Orders",
|
|
16756
16760
|
checked: config.notifyOnOrder,
|
|
16757
16761
|
onCheckedChange: (checked) => setConfig((prev) => ({ ...prev, notifyOnOrder: checked }))
|
|
16758
16762
|
}
|
|
@@ -18511,7 +18515,7 @@ function InventoryManager({
|
|
|
18511
18515
|
{
|
|
18512
18516
|
type: "button",
|
|
18513
18517
|
onClick: onUpdateClick,
|
|
18514
|
-
className: "text-primary hover:text-primary
|
|
18518
|
+
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
18519
|
children: [
|
|
18516
18520
|
"Update Inventory",
|
|
18517
18521
|
/* @__PURE__ */ jsx(
|
|
@@ -18559,7 +18563,7 @@ function InventoryManager({
|
|
|
18559
18563
|
/* @__PURE__ */ jsx("td", { className: "py-2 text-right text-sm", children: /* @__PURE__ */ jsxs(
|
|
18560
18564
|
"span",
|
|
18561
18565
|
{
|
|
18562
|
-
className: `inline-flex items-center gap-1 ${entry.type === "credit" ? "text-green-
|
|
18566
|
+
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
18567
|
children: [
|
|
18564
18568
|
entry.type === "credit" ? /* @__PURE__ */ jsx(
|
|
18565
18569
|
"svg",
|
|
@@ -18640,8 +18644,8 @@ function InventoryManager({
|
|
|
18640
18644
|
children: [
|
|
18641
18645
|
/* @__PURE__ */ jsx(ModalHeader, { children: /* @__PURE__ */ jsx(ModalTitle, { children: "Inventory Manager" }) }),
|
|
18642
18646
|
/* @__PURE__ */ jsxs(ModalBody, { className: "space-y-4", children: [
|
|
18643
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("
|
|
18644
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("
|
|
18647
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: serviceName }) }),
|
|
18648
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("h4", { className: "text-muted-foreground mb-2 text-sm font-medium", children: "Update Inventory" }) }),
|
|
18645
18649
|
/* @__PURE__ */ jsxs("div", { className: "flex gap-0", children: [
|
|
18646
18650
|
/* @__PURE__ */ jsxs(
|
|
18647
18651
|
"button",
|
|
@@ -34417,7 +34421,7 @@ function SetupServiceModal({
|
|
|
34417
34421
|
{
|
|
34418
34422
|
"data-slot": "setup-service-error",
|
|
34419
34423
|
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-
|
|
34424
|
+
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
34421
34425
|
}
|
|
34422
34426
|
),
|
|
34423
34427
|
showServicePicker && availableServices.length > 0 && /* @__PURE__ */ jsx(
|
|
@@ -34525,6 +34529,7 @@ function SetupServiceModal({
|
|
|
34525
34529
|
/* @__PURE__ */ jsx(
|
|
34526
34530
|
Switch,
|
|
34527
34531
|
{
|
|
34532
|
+
"aria-label": "Currently Offered",
|
|
34528
34533
|
className: "flex-shrink-0",
|
|
34529
34534
|
checked: formData.currentlyOffered,
|
|
34530
34535
|
onCheckedChange: (checked) => setFormData((prev) => ({
|
|
@@ -34549,6 +34554,7 @@ function SetupServiceModal({
|
|
|
34549
34554
|
/* @__PURE__ */ jsx(
|
|
34550
34555
|
Switch,
|
|
34551
34556
|
{
|
|
34557
|
+
"aria-label": "Limited Inventory",
|
|
34552
34558
|
className: "flex-shrink-0",
|
|
34553
34559
|
checked: formData.limitedInventory,
|
|
34554
34560
|
onCheckedChange: (checked) => setFormData((prev) => ({
|
|
@@ -34594,6 +34600,7 @@ function SetupServiceModal({
|
|
|
34594
34600
|
/* @__PURE__ */ jsx(
|
|
34595
34601
|
Switch,
|
|
34596
34602
|
{
|
|
34603
|
+
"aria-label": "Auto-Accept Referrals",
|
|
34597
34604
|
className: "flex-shrink-0",
|
|
34598
34605
|
checked: formData.autoAcceptReferrals,
|
|
34599
34606
|
onCheckedChange: (checked) => setFormData((prev) => ({
|