@mieweb/ui 0.3.0-dev.91 → 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/{chunk-6GMIFITM.js → chunk-DJNNEKZU.js} +8 -2
- package/dist/chunk-DJNNEKZU.js.map +1 -0
- package/dist/{chunk-OL5CD3WQ.cjs → chunk-HUYKGSL7.cjs} +8 -2
- package/dist/chunk-HUYKGSL7.cjs.map +1 -0
- package/dist/index.cjs +16 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -11
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-6GMIFITM.js.map +0 -1
- package/dist/chunk-OL5CD3WQ.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -76,7 +76,7 @@ export { calculateAge, dateToDisplayFormat, displayFormatToDateString, formatDat
|
|
|
76
76
|
export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
|
|
77
77
|
import { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
78
78
|
export { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
79
|
-
export { miewebUIPreset, miewebUISafelist } from './chunk-
|
|
79
|
+
export { miewebUIPreset, miewebUISafelist } from './chunk-DJNNEKZU.js';
|
|
80
80
|
import { Alert, AlertTitle, AlertDescription } from './chunk-MV3MTHWQ.js';
|
|
81
81
|
export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-MV3MTHWQ.js';
|
|
82
82
|
import { cn } from './chunk-F3SOEIN2.js';
|
|
@@ -9036,13 +9036,13 @@ function UpdateAvailableOverlay({
|
|
|
9036
9036
|
) : /* @__PURE__ */ jsx(UpdateIcon, { className: "text-primary-700 dark:text-primary-400 h-12 w-12 animate-pulse" }) }),
|
|
9037
9037
|
/* @__PURE__ */ jsxs("div", { "data-slot": "update-overlay-content", className: "flex-1", children: [
|
|
9038
9038
|
/* @__PURE__ */ jsx("p", { className: "font-semibold text-gray-900 dark:text-white", children: "Update Available" }),
|
|
9039
|
-
/* @__PURE__ */ jsxs("p", { className: "text-
|
|
9039
|
+
/* @__PURE__ */ jsxs("p", { className: "mt-1 text-sm text-neutral-600 dark:text-neutral-400", children: [
|
|
9040
9040
|
"There is an update available for ",
|
|
9041
9041
|
appName,
|
|
9042
9042
|
".",
|
|
9043
9043
|
update.version && ` Version ${update.version}`
|
|
9044
9044
|
] }),
|
|
9045
|
-
update.description && /* @__PURE__ */ jsx("p", { className: "text-
|
|
9045
|
+
update.description && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs text-neutral-600 dark:text-neutral-400", children: update.description })
|
|
9046
9046
|
] }),
|
|
9047
9047
|
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 gap-2", children: [
|
|
9048
9048
|
onLater && /* @__PURE__ */ jsx(
|
|
@@ -9050,7 +9050,7 @@ function UpdateAvailableOverlay({
|
|
|
9050
9050
|
{
|
|
9051
9051
|
type: "button",
|
|
9052
9052
|
onClick: onLater,
|
|
9053
|
-
className: "
|
|
9053
|
+
className: "bg-destructive-700 hover:bg-destructive-800 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",
|
|
9054
9054
|
children: "Later"
|
|
9055
9055
|
}
|
|
9056
9056
|
),
|
|
@@ -9059,7 +9059,7 @@ function UpdateAvailableOverlay({
|
|
|
9059
9059
|
{
|
|
9060
9060
|
type: "button",
|
|
9061
9061
|
onClick: onUpdateNow,
|
|
9062
|
-
className: "
|
|
9062
|
+
className: "bg-success-700 hover:bg-success-800 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",
|
|
9063
9063
|
children: "Update Now"
|
|
9064
9064
|
}
|
|
9065
9065
|
)
|
|
@@ -9126,7 +9126,7 @@ function ConnectionStatusBar({
|
|
|
9126
9126
|
className: cn(
|
|
9127
9127
|
"fixed right-0 left-0 z-40 px-4 py-2",
|
|
9128
9128
|
position === "top" ? "top-0" : "bottom-0",
|
|
9129
|
-
isConnecting ? "bg-
|
|
9129
|
+
isConnecting ? "bg-warning-500 text-warning-900" : "bg-destructive-700 text-white",
|
|
9130
9130
|
className
|
|
9131
9131
|
),
|
|
9132
9132
|
children: /* @__PURE__ */ jsxs(
|
|
@@ -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) => ({
|