@mieweb/ui 0.3.0-dev.94 → 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 +17 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33006,7 +33006,7 @@ function ServiceGeneralSettings({
|
|
|
33006
33006
|
{
|
|
33007
33007
|
className: "rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20",
|
|
33008
33008
|
"data-slot": "service-settings-error",
|
|
33009
|
-
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-
|
|
33009
|
+
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
33010
33010
|
}
|
|
33011
33011
|
),
|
|
33012
33012
|
/* @__PURE__ */ jsxs(
|
|
@@ -33016,14 +33016,28 @@ function ServiceGeneralSettings({
|
|
|
33016
33016
|
"data-slot": "service-settings-toggles",
|
|
33017
33017
|
children: [
|
|
33018
33018
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
33019
|
-
/* @__PURE__ */ jsx(
|
|
33019
|
+
/* @__PURE__ */ jsx(
|
|
33020
|
+
Switch,
|
|
33021
|
+
{
|
|
33022
|
+
"aria-label": "Active",
|
|
33023
|
+
checked: isActive,
|
|
33024
|
+
onCheckedChange: onIsActiveChange
|
|
33025
|
+
}
|
|
33026
|
+
),
|
|
33020
33027
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
33021
33028
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Active" }),
|
|
33022
33029
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Service is available for orders" })
|
|
33023
33030
|
] })
|
|
33024
33031
|
] }),
|
|
33025
33032
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
33026
|
-
/* @__PURE__ */ jsx(
|
|
33033
|
+
/* @__PURE__ */ jsx(
|
|
33034
|
+
Switch,
|
|
33035
|
+
{
|
|
33036
|
+
"aria-label": "Featured",
|
|
33037
|
+
checked: isFeatured,
|
|
33038
|
+
onCheckedChange: onIsFeaturedChange
|
|
33039
|
+
}
|
|
33040
|
+
),
|
|
33027
33041
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
33028
33042
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Featured" }),
|
|
33029
33043
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Show prominently in listings" })
|