@vueless/storybook-dark-mode 10.0.5 → 10.0.6

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/manager.js CHANGED
@@ -175,7 +175,7 @@ function DarkMode({ api }) {
175
175
  variant: "ghost",
176
176
  padding: "small",
177
177
  title: isDark ? "Change theme to light mode" : "Change theme to dark mode",
178
- "aria-label": isDark ? "Change theme to light mode" : "Change theme to dark mode",
178
+ ariaLabel: isDark ? "Change theme to light mode" : "Change theme to dark mode",
179
179
  onClick: handleIconClick
180
180
  },
181
181
  isDark ? /* @__PURE__ */ React.createElement(SunIcon, { "aria-hidden": "true" }) : /* @__PURE__ */ React.createElement(MoonIcon, { "aria-hidden": "true" })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueless/storybook-dark-mode",
3
- "version": "10.0.5",
3
+ "version": "10.0.6",
4
4
  "description": "Toggle between light and dark mode in Storybook",
5
5
  "author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
6
6
  "repository": {
package/src/Tool.tsx CHANGED
@@ -137,7 +137,7 @@ export function DarkMode({ api }: DarkModeProps) {
137
137
  variant="ghost"
138
138
  padding="small"
139
139
  title={isDark ? "Change theme to light mode" : "Change theme to dark mode"}
140
- aria-label={isDark ? "Change theme to light mode" : "Change theme to dark mode"}
140
+ ariaLabel={isDark ? "Change theme to light mode" : "Change theme to dark mode"}
141
141
  onClick={handleIconClick}
142
142
  >
143
143
  {isDark ? <SunIcon aria-hidden="true" /> : <MoonIcon aria-hidden="true" />}