@vueless/storybook-dark-mode 10.0.5-beta.0 → 10.0.6-beta.0
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 +1 -1
- package/package.json +1 -1
- package/src/Tool.tsx +1 -1
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
|
-
|
|
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
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
|
-
|
|
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" />}
|