@mieweb/ui 0.3.0-dev.101 → 0.3.0-dev.103
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-RGTM53RS.js → chunk-2B2KEZ2H.js} +3 -3
- package/dist/chunk-2B2KEZ2H.js.map +1 -0
- package/dist/{chunk-JYAWYBA3.js → chunk-CZNV5TOO.js} +5 -2
- package/dist/chunk-CZNV5TOO.js.map +1 -0
- package/dist/{chunk-YDWWG4A2.cjs → chunk-PTJMBSPV.cjs} +3 -3
- package/dist/chunk-PTJMBSPV.cjs.map +1 -0
- package/dist/{chunk-E35GUUTC.cjs → chunk-QJ2NURTX.cjs} +5 -2
- package/dist/chunk-QJ2NURTX.cjs.map +1 -0
- package/dist/components/Card/index.cjs +15 -15
- package/dist/components/Card/index.js +1 -1
- package/dist/index.cjs +157 -144
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -11
- package/dist/index.js.map +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-E35GUUTC.cjs.map +0 -1
- package/dist/chunk-JYAWYBA3.js.map +0 -1
- package/dist/chunk-RGTM53RS.js.map +0 -1
- package/dist/chunk-YDWWG4A2.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -55,8 +55,8 @@ export { Badge, badgeVariants } from './chunk-DCER2QQB.js';
|
|
|
55
55
|
export { Breadcrumb, BreadcrumbSlash } from './chunk-HEH3QXOQ.js';
|
|
56
56
|
import { Button, buttonVariants } from './chunk-ZVSW2KS6.js';
|
|
57
57
|
export { Button, buttonVariants } from './chunk-ZVSW2KS6.js';
|
|
58
|
-
import { Card, CardHeader, CardContent, CardTitle } from './chunk-
|
|
59
|
-
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-
|
|
58
|
+
import { Card, CardHeader, CardContent, CardTitle } from './chunk-2B2KEZ2H.js';
|
|
59
|
+
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-2B2KEZ2H.js';
|
|
60
60
|
import { Checkbox } from './chunk-XCLQZ4FV.js';
|
|
61
61
|
export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-XCLQZ4FV.js';
|
|
62
62
|
import { Clock, FileText, ArrowLeft, Stethoscope, Users, Mail, Phone, Share, ChevronDown, User, Download, ExternalLink, MoreVertical, Pencil, Send, Calendar, Printer, ClipboardPlus, ClipboardCheck, FilePlus, FileCheck, Wheat, Pill, Bell, FileHeart, HeartPulse, AlertCircle as AlertCircle$1, Paperclip, ClipboardList, MoreHorizontal, Trash2, Plus, CheckCircle, Upload as Upload$1, Scan, Camera, ScanLine, RefreshCw as RefreshCw$1, Image, X as X$1, Eye, Check as Check$1 } from './chunk-LEMY57MI.js';
|
|
@@ -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-CZNV5TOO.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';
|
|
@@ -4741,6 +4741,7 @@ function AIChat({
|
|
|
4741
4741
|
"data-slot": "ai-chat-header-action",
|
|
4742
4742
|
className: "rounded-lg p-2 text-neutral-500 hover:bg-neutral-100 hover:text-neutral-700 dark:hover:bg-neutral-800 dark:hover:text-neutral-300",
|
|
4743
4743
|
title: "Clear chat",
|
|
4744
|
+
"aria-label": "Clear chat",
|
|
4744
4745
|
children: /* @__PURE__ */ jsx(RefreshIcon, {})
|
|
4745
4746
|
}
|
|
4746
4747
|
),
|
|
@@ -5592,6 +5593,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
5592
5593
|
type: "button",
|
|
5593
5594
|
onClick: () => setShowPassword(!showPassword),
|
|
5594
5595
|
className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
|
|
5596
|
+
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
5595
5597
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
5596
5598
|
}
|
|
5597
5599
|
)
|
|
@@ -5700,6 +5702,7 @@ function SignupForm({
|
|
|
5700
5702
|
type: "button",
|
|
5701
5703
|
onClick: () => setShowPassword(!showPassword),
|
|
5702
5704
|
className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
|
|
5705
|
+
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
5703
5706
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
5704
5707
|
}
|
|
5705
5708
|
)
|
|
@@ -5878,6 +5881,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
|
|
|
5878
5881
|
type: "button",
|
|
5879
5882
|
onClick: () => setShowPassword(!showPassword),
|
|
5880
5883
|
className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
|
|
5884
|
+
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
5881
5885
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
5882
5886
|
}
|
|
5883
5887
|
)
|
|
@@ -8803,6 +8807,7 @@ function CommandPalette({
|
|
|
8803
8807
|
onClick: () => setQuery(""),
|
|
8804
8808
|
"data-testid": `${testId}-clear`,
|
|
8805
8809
|
className: "text-muted-foreground absolute top-1/2 right-12 -translate-y-1/2 hover:text-gray-700 dark:hover:text-gray-200",
|
|
8810
|
+
"aria-label": "Clear search",
|
|
8806
8811
|
children: /* @__PURE__ */ jsx(XIcon2, {})
|
|
8807
8812
|
}
|
|
8808
8813
|
),
|
|
@@ -17124,7 +17129,7 @@ function ErrorPage({
|
|
|
17124
17129
|
displayCode && /* @__PURE__ */ jsx(
|
|
17125
17130
|
"div",
|
|
17126
17131
|
{
|
|
17127
|
-
className: "
|
|
17132
|
+
className: "text-muted-foreground mb-4 text-6xl font-bold sm:text-8xl",
|
|
17128
17133
|
"data-slot": "error-page-code",
|
|
17129
17134
|
children: displayCode
|
|
17130
17135
|
}
|
|
@@ -17309,7 +17314,7 @@ function ActionButton({ label, onClick, href, variant }) {
|
|
|
17309
17314
|
);
|
|
17310
17315
|
}
|
|
17311
17316
|
function DefaultIllustration({ type }) {
|
|
17312
|
-
const iconClasses = "h-24 w-24 text-
|
|
17317
|
+
const iconClasses = "h-24 w-24 text-muted-foreground";
|
|
17313
17318
|
switch (type) {
|
|
17314
17319
|
case "404":
|
|
17315
17320
|
return /* @__PURE__ */ jsx(Search404Icon, { className: iconClasses });
|
|
@@ -21977,7 +21982,7 @@ function NotificationCenter({
|
|
|
21977
21982
|
role: "button",
|
|
21978
21983
|
tabIndex: 0,
|
|
21979
21984
|
"data-slot": "notification-center-item",
|
|
21980
|
-
className: `cursor-pointer px-4 py-3 transition-colors hover:bg-gray-50 dark:hover:bg-gray-800 ${!notification.isRead ? "bg-blue-50/50 dark:bg-blue-900/10" : ""}`,
|
|
21985
|
+
className: `group cursor-pointer px-4 py-3 transition-colors hover:bg-gray-50 dark:hover:bg-gray-800 ${!notification.isRead ? "bg-blue-50/50 dark:bg-blue-900/10" : ""}`,
|
|
21981
21986
|
onClick: () => {
|
|
21982
21987
|
if (onNotificationClick) {
|
|
21983
21988
|
onNotificationClick(notification);
|
|
@@ -22073,7 +22078,8 @@ function NotificationCenter({
|
|
|
22073
22078
|
{
|
|
22074
22079
|
variant: "ghost",
|
|
22075
22080
|
size: "sm",
|
|
22076
|
-
className: "h-auto p-1 text-xs opacity-0 group-hover:opacity-100",
|
|
22081
|
+
className: "h-auto p-1 text-xs opacity-0 group-hover:opacity-100 focus:opacity-100",
|
|
22082
|
+
"aria-label": "Dismiss notification",
|
|
22077
22083
|
onClick: (e) => {
|
|
22078
22084
|
e.stopPropagation();
|
|
22079
22085
|
onDismiss(notification.id);
|
|
@@ -22257,6 +22263,7 @@ function OnboardingWizard({
|
|
|
22257
22263
|
variant: "outline",
|
|
22258
22264
|
onClick: handleBack,
|
|
22259
22265
|
disabled: !backEnabled || isFirstStep,
|
|
22266
|
+
"aria-label": back,
|
|
22260
22267
|
children: [
|
|
22261
22268
|
/* @__PURE__ */ jsx("span", { className: "hidden sm:inline", children: back }),
|
|
22262
22269
|
/* @__PURE__ */ jsx("i", { className: "fas fa-chevron-left sm:hidden" })
|
|
@@ -22280,6 +22287,7 @@ function OnboardingWizard({
|
|
|
22280
22287
|
variant: "primary",
|
|
22281
22288
|
onClick: handleNext,
|
|
22282
22289
|
disabled: !nextEnabled && !isLastStep,
|
|
22290
|
+
"aria-label": isLastStep ? finish : next,
|
|
22283
22291
|
children: [
|
|
22284
22292
|
/* @__PURE__ */ jsx("span", { className: "hidden sm:inline", children: isLastStep ? finish : next }),
|
|
22285
22293
|
!isLastStep && /* @__PURE__ */ jsx("i", { className: "fas fa-chevron-right sm:hidden" })
|
|
@@ -26117,7 +26125,7 @@ function ProductVersion({
|
|
|
26117
26125
|
name,
|
|
26118
26126
|
" ",
|
|
26119
26127
|
versionDisplay,
|
|
26120
|
-
build && /* @__PURE__ */ jsxs("span", { className: "ml-1
|
|
26128
|
+
build && /* @__PURE__ */ jsxs("span", { className: "ml-1", children: [
|
|
26121
26129
|
"(",
|
|
26122
26130
|
build,
|
|
26123
26131
|
")"
|
|
@@ -26148,7 +26156,7 @@ function ProductVersion({
|
|
|
26148
26156
|
}
|
|
26149
26157
|
)
|
|
26150
26158
|
] }),
|
|
26151
|
-
build && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
26159
|
+
build && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
26152
26160
|
"Build: ",
|
|
26153
26161
|
build
|
|
26154
26162
|
] }),
|
|
@@ -26165,7 +26173,7 @@ function ProductVersion({
|
|
|
26165
26173
|
children: [
|
|
26166
26174
|
/* @__PURE__ */ jsx("span", { className: "font-medium", children: name }),
|
|
26167
26175
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: versionDisplay }),
|
|
26168
|
-
build && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
26176
|
+
build && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
26169
26177
|
"(",
|
|
26170
26178
|
build,
|
|
26171
26179
|
")"
|
|
@@ -26182,7 +26190,7 @@ function ProductVersion({
|
|
|
26182
26190
|
}
|
|
26183
26191
|
),
|
|
26184
26192
|
(author || copyright) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
26185
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
26193
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "\u2022" }),
|
|
26186
26194
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: copyrightText })
|
|
26187
26195
|
] })
|
|
26188
26196
|
]
|
|
@@ -33290,6 +33298,7 @@ function ServiceCard({
|
|
|
33290
33298
|
onClick: handleDeleteClick,
|
|
33291
33299
|
className: "text-muted-foreground hover:text-destructive p-1.5 transition-colors",
|
|
33292
33300
|
title: "Delete service",
|
|
33301
|
+
"aria-label": "Delete service",
|
|
33293
33302
|
children: /* @__PURE__ */ jsx(Trash2$1, { className: "h-4 w-4" })
|
|
33294
33303
|
}
|
|
33295
33304
|
),
|
|
@@ -33300,6 +33309,7 @@ function ServiceCard({
|
|
|
33300
33309
|
onClick: handleEditClick,
|
|
33301
33310
|
className: "text-muted-foreground hover:text-primary p-1.5 transition-colors",
|
|
33302
33311
|
title: "Edit service",
|
|
33312
|
+
"aria-label": "Edit service",
|
|
33303
33313
|
children: /* @__PURE__ */ jsx(Pencil$1, { className: "h-4 w-4" })
|
|
33304
33314
|
}
|
|
33305
33315
|
),
|
|
@@ -35400,6 +35410,7 @@ function SidebarNavGroup({
|
|
|
35400
35410
|
showCollapsed && "justify-center"
|
|
35401
35411
|
),
|
|
35402
35412
|
title: showCollapsed ? label : void 0,
|
|
35413
|
+
"aria-label": showCollapsed ? label : void 0,
|
|
35403
35414
|
children: [
|
|
35404
35415
|
icon && /* @__PURE__ */ jsx(
|
|
35405
35416
|
"span",
|
|
@@ -35502,6 +35513,7 @@ function SidebarNavItem({
|
|
|
35502
35513
|
"data-testid": testId,
|
|
35503
35514
|
className: baseClasses,
|
|
35504
35515
|
title: showCollapsed ? label : void 0,
|
|
35516
|
+
"aria-label": showCollapsed ? label : void 0,
|
|
35505
35517
|
children: content
|
|
35506
35518
|
}
|
|
35507
35519
|
);
|
|
@@ -35515,6 +35527,7 @@ function SidebarNavItem({
|
|
|
35515
35527
|
"data-testid": testId,
|
|
35516
35528
|
className: baseClasses,
|
|
35517
35529
|
title: showCollapsed ? label : void 0,
|
|
35530
|
+
"aria-label": showCollapsed ? label : void 0,
|
|
35518
35531
|
children: content
|
|
35519
35532
|
}
|
|
35520
35533
|
);
|