@mieweb/ui 0.3.0-dev.101 → 0.3.0-dev.102
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 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -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
|
),
|
|
@@ -22074,6 +22079,7 @@ function NotificationCenter({
|
|
|
22074
22079
|
variant: "ghost",
|
|
22075
22080
|
size: "sm",
|
|
22076
22081
|
className: "h-auto p-1 text-xs opacity-0 group-hover: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" })
|
|
@@ -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
|
);
|