@tydavidson/design-system 1.1.12 → 1.1.14

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.js CHANGED
@@ -231,7 +231,7 @@ function ThemeToggle({
231
231
  sizeClasses[size],
232
232
  className
233
233
  ),
234
- "aria-label": resolvedTheme === "dark" ? "Switch to light theme" : "Switch to dark theme",
234
+ "aria-label": "Toggle theme",
235
235
  ...props,
236
236
  children: resolvedTheme === "dark" ? /* @__PURE__ */ jsxRuntime.jsx(iconsReact.IconSun, { size: iconSize[size], stroke: 1.5 }) : /* @__PURE__ */ jsxRuntime.jsx(iconsReact.IconMoon, { size: iconSize[size], stroke: 1.5 })
237
237
  }
@@ -249,6 +249,7 @@ function ThemeToggle({
249
249
  "hover:bg-accent hover:text-accent-foreground",
250
250
  className
251
251
  ),
252
+ "aria-label": "Toggle theme",
252
253
  ...props,
253
254
  children: resolvedTheme === "dark" ? "Light Mode" : "Dark Mode"
254
255
  }
@@ -265,7 +266,7 @@ function ThemeToggle({
265
266
  resolvedTheme === "dark" ? "bg-accent text-accent-foreground hover:bg-accent/80" : "bg-muted text-muted-foreground hover:bg-muted/80",
266
267
  className
267
268
  ),
268
- "aria-label": resolvedTheme === "dark" ? "Switch to light theme" : "Switch to dark theme",
269
+ "aria-label": "Toggle theme",
269
270
  ...props,
270
271
  children: resolvedTheme === "dark" ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center", children: [
271
272
  /* @__PURE__ */ jsxRuntime.jsx(iconsReact.IconSun, { size: iconSize[size], stroke: 1.5, className: "mr-2" }),