@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 CHANGED
@@ -4734,6 +4734,7 @@ function AIChat({
4734
4734
  "data-slot": "ai-chat-header-action",
4735
4735
  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",
4736
4736
  title: "Clear chat",
4737
+ "aria-label": "Clear chat",
4737
4738
  children: /* @__PURE__ */ jsxRuntime.jsx(RefreshIcon, {})
4738
4739
  }
4739
4740
  ),
@@ -5585,6 +5586,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
5585
5586
  type: "button",
5586
5587
  onClick: () => setShowPassword(!showPassword),
5587
5588
  className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
5589
+ "aria-label": showPassword ? "Hide password" : "Show password",
5588
5590
  children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(EyeIcon, { className: "h-4 w-4" })
5589
5591
  }
5590
5592
  )
@@ -5693,6 +5695,7 @@ function SignupForm({
5693
5695
  type: "button",
5694
5696
  onClick: () => setShowPassword(!showPassword),
5695
5697
  className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
5698
+ "aria-label": showPassword ? "Hide password" : "Show password",
5696
5699
  children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(EyeIcon, { className: "h-4 w-4" })
5697
5700
  }
5698
5701
  )
@@ -5871,6 +5874,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
5871
5874
  type: "button",
5872
5875
  onClick: () => setShowPassword(!showPassword),
5873
5876
  className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
5877
+ "aria-label": showPassword ? "Hide password" : "Show password",
5874
5878
  children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(EyeIcon, { className: "h-4 w-4" })
5875
5879
  }
5876
5880
  )
@@ -8796,6 +8800,7 @@ function CommandPalette({
8796
8800
  onClick: () => setQuery(""),
8797
8801
  "data-testid": `${testId}-clear`,
8798
8802
  className: "text-muted-foreground absolute top-1/2 right-12 -translate-y-1/2 hover:text-gray-700 dark:hover:text-gray-200",
8803
+ "aria-label": "Clear search",
8799
8804
  children: /* @__PURE__ */ jsxRuntime.jsx(XIcon2, {})
8800
8805
  }
8801
8806
  ),
@@ -22067,6 +22072,7 @@ function NotificationCenter({
22067
22072
  variant: "ghost",
22068
22073
  size: "sm",
22069
22074
  className: "h-auto p-1 text-xs opacity-0 group-hover:opacity-100",
22075
+ "aria-label": "Dismiss notification",
22070
22076
  onClick: (e) => {
22071
22077
  e.stopPropagation();
22072
22078
  onDismiss(notification.id);
@@ -22250,6 +22256,7 @@ function OnboardingWizard({
22250
22256
  variant: "outline",
22251
22257
  onClick: handleBack,
22252
22258
  disabled: !backEnabled || isFirstStep,
22259
+ "aria-label": back,
22253
22260
  children: [
22254
22261
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:inline", children: back }),
22255
22262
  /* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-chevron-left sm:hidden" })
@@ -22273,6 +22280,7 @@ function OnboardingWizard({
22273
22280
  variant: "primary",
22274
22281
  onClick: handleNext,
22275
22282
  disabled: !nextEnabled && !isLastStep,
22283
+ "aria-label": isLastStep ? finish : next,
22276
22284
  children: [
22277
22285
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:inline", children: isLastStep ? finish : next }),
22278
22286
  !isLastStep && /* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-chevron-right sm:hidden" })
@@ -33283,6 +33291,7 @@ function ServiceCard({
33283
33291
  onClick: handleDeleteClick,
33284
33292
  className: "text-muted-foreground hover:text-destructive p-1.5 transition-colors",
33285
33293
  title: "Delete service",
33294
+ "aria-label": "Delete service",
33286
33295
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Trash2, { className: "h-4 w-4" })
33287
33296
  }
33288
33297
  ),
@@ -33293,6 +33302,7 @@ function ServiceCard({
33293
33302
  onClick: handleEditClick,
33294
33303
  className: "text-muted-foreground hover:text-primary p-1.5 transition-colors",
33295
33304
  title: "Edit service",
33305
+ "aria-label": "Edit service",
33296
33306
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Pencil, { className: "h-4 w-4" })
33297
33307
  }
33298
33308
  ),
@@ -35393,6 +35403,7 @@ function SidebarNavGroup({
35393
35403
  showCollapsed && "justify-center"
35394
35404
  ),
35395
35405
  title: showCollapsed ? label : void 0,
35406
+ "aria-label": showCollapsed ? label : void 0,
35396
35407
  children: [
35397
35408
  icon && /* @__PURE__ */ jsxRuntime.jsx(
35398
35409
  "span",
@@ -35495,6 +35506,7 @@ function SidebarNavItem({
35495
35506
  "data-testid": testId,
35496
35507
  className: baseClasses,
35497
35508
  title: showCollapsed ? label : void 0,
35509
+ "aria-label": showCollapsed ? label : void 0,
35498
35510
  children: content
35499
35511
  }
35500
35512
  );
@@ -35508,6 +35520,7 @@ function SidebarNavItem({
35508
35520
  "data-testid": testId,
35509
35521
  className: baseClasses,
35510
35522
  title: showCollapsed ? label : void 0,
35523
+ "aria-label": showCollapsed ? label : void 0,
35511
35524
  children: content
35512
35525
  }
35513
35526
  );