@khanacademy/wonder-blocks-tabs 0.2.1 → 0.2.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @khanacademy/wonder-blocks-tabs
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 4846e9c: Fix pseudo-states to account for aria-disabled
8
+ - Updated dependencies [3dc5dac]
9
+ - @khanacademy/wonder-blocks-tokens@5.2.0
10
+
3
11
  ## 0.2.1
4
12
 
5
13
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -175,14 +175,14 @@ const styles = StyleSheet.create({
175
175
  position: "relative",
176
176
  whiteSpace: "nowrap",
177
177
  textDecoration: "none",
178
- ":hover": {
178
+ [":hover:not([aria-disabled=true])"]: {
179
179
  textDecoration: "none",
180
180
  border: "none",
181
181
  outline: "none",
182
182
  color: semanticColor.action.secondary.progressive.default.foreground,
183
183
  backgroundColor: "transparent"
184
184
  },
185
- ":active": {
185
+ [":active:not([aria-disabled=true])"]: {
186
186
  textDecoration: "none",
187
187
  border: "none",
188
188
  outline: "none",
package/dist/index.js CHANGED
@@ -203,14 +203,14 @@ const styles = aphrodite.StyleSheet.create({
203
203
  position: "relative",
204
204
  whiteSpace: "nowrap",
205
205
  textDecoration: "none",
206
- ":hover": {
206
+ [":hover:not([aria-disabled=true])"]: {
207
207
  textDecoration: "none",
208
208
  border: "none",
209
209
  outline: "none",
210
210
  color: wonderBlocksTokens.semanticColor.action.secondary.progressive.default.foreground,
211
211
  backgroundColor: "transparent"
212
212
  },
213
- ":active": {
213
+ [":active:not([aria-disabled=true])"]: {
214
214
  textDecoration: "none",
215
215
  border: "none",
216
216
  outline: "none",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-tabs",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "design": "v1",
5
5
  "description": "Tabs are used to control what content is shown",
6
6
  "main": "dist/index.js",
@@ -14,7 +14,7 @@
14
14
  "dependencies": {
15
15
  "@babel/runtime": "^7.24.5",
16
16
  "@khanacademy/wonder-blocks-core": "12.2.1",
17
- "@khanacademy/wonder-blocks-tokens": "5.1.1",
17
+ "@khanacademy/wonder-blocks-tokens": "5.2.0",
18
18
  "@khanacademy/wonder-blocks-typography": "3.1.3"
19
19
  },
20
20
  "peerDependencies": {