@ai-matrx/design-system 0.18.15 → 0.18.16

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
@@ -3130,6 +3130,7 @@ function SegmentedControl({
3130
3130
  type: "button",
3131
3131
  role: "tab",
3132
3132
  "aria-selected": isActive,
3133
+ "aria-label": option.ariaLabel,
3133
3134
  disabled: option.disabled,
3134
3135
  onClick: () => onValueChange(option.value),
3135
3136
  className: cn(
@@ -3182,6 +3183,7 @@ function ArchiveFilter({
3182
3183
  return {
3183
3184
  value: state,
3184
3185
  disabled,
3186
+ ariaLabel: typeof count === "number" ? `${text} ${count}` : text,
3185
3187
  label: typeof count === "number" ? /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("span", { className: "inline-flex items-center gap-1.5", children: [
3186
3188
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { children: text }),
3187
3189
  /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-muted-foreground tabular-nums", children: count })