@mieweb/ui 0.3.0-dev.93 → 0.3.0-dev.95

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 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
  }
@@ -32995,7 +32999,7 @@ function ServiceGeneralSettings({
32995
32999
  {
32996
33000
  className: "rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20",
32997
33001
  "data-slot": "service-settings-error",
32998
- children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-600 dark:text-red-400", children: errorMessage })
33002
+ children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
32999
33003
  }
33000
33004
  ),
33001
33005
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -33005,14 +33009,28 @@ function ServiceGeneralSettings({
33005
33009
  "data-slot": "service-settings-toggles",
33006
33010
  children: [
33007
33011
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
33008
- /* @__PURE__ */ jsxRuntime.jsx(chunkNVHAQOHH_cjs.Switch, { checked: isActive, onCheckedChange: onIsActiveChange }),
33012
+ /* @__PURE__ */ jsxRuntime.jsx(
33013
+ chunkNVHAQOHH_cjs.Switch,
33014
+ {
33015
+ "aria-label": "Active",
33016
+ checked: isActive,
33017
+ onCheckedChange: onIsActiveChange
33018
+ }
33019
+ ),
33009
33020
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
33010
33021
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Active" }),
33011
33022
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: "Service is available for orders" })
33012
33023
  ] })
33013
33024
  ] }),
33014
33025
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
33015
- /* @__PURE__ */ jsxRuntime.jsx(chunkNVHAQOHH_cjs.Switch, { checked: isFeatured, onCheckedChange: onIsFeaturedChange }),
33026
+ /* @__PURE__ */ jsxRuntime.jsx(
33027
+ chunkNVHAQOHH_cjs.Switch,
33028
+ {
33029
+ "aria-label": "Featured",
33030
+ checked: isFeatured,
33031
+ onCheckedChange: onIsFeaturedChange
33032
+ }
33033
+ ),
33016
33034
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
33017
33035
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Featured" }),
33018
33036
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: "Show prominently in listings" })