@khanacademy/wonder-blocks-icon-button 6.0.0 → 6.0.1

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,15 @@
1
1
  # @khanacademy/wonder-blocks-icon-button
2
2
 
3
+ ## 6.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0955be7e: Fix focus styles: drop Safari v14 support.
8
+ - Updated dependencies [f4abd572]
9
+ - @khanacademy/wonder-blocks-core@9.0.0
10
+ - @khanacademy/wonder-blocks-clickable@5.0.1
11
+ - @khanacademy/wonder-blocks-icon@5.0.1
12
+
3
13
  ## 6.0.0
4
14
 
5
15
  ### Major Changes
package/dist/es/index.js CHANGED
@@ -362,15 +362,7 @@ const _generateStyles = (buttonColor = "default", kind, light, size, theme, them
362
362
  backgroundColor: "transparent"
363
363
  }
364
364
  },
365
- ":focus": {
366
- boxShadow: `0 0 0 ${theme.border.width.default}px ${defaultStrokeColor}`,
367
- borderRadius: theme.border.radius.default
368
- },
369
- ":focus:not(:focus-visible)": {
370
- boxShadow: "none"
371
- },
372
365
  ":focus-visible": _extends({
373
- boxShadow: "none",
374
366
  outlineWidth: theme.border.width.default,
375
367
  outlineColor: defaultStrokeColor,
376
368
  outlineOffset: 1,
@@ -395,13 +387,6 @@ const _generateStyles = (buttonColor = "default", kind, light, size, theme, them
395
387
  ":active": _extends({}, disabledStatesStyles, {
396
388
  outline: "none"
397
389
  }),
398
- ":focus": {
399
- boxShadow: `0 0 0 ${theme.border.width.default}px ${disabledStrokeColor}`,
400
- borderRadius: theme.border.radius.default
401
- },
402
- ":focus:not(:focus-visible)": {
403
- boxShadow: "none"
404
- },
405
390
  ":focus-visible": disabledStatesStyles
406
391
  }
407
392
  };
package/dist/index.js CHANGED
@@ -389,15 +389,7 @@ const _generateStyles = (buttonColor = "default", kind, light, size, theme, them
389
389
  backgroundColor: "transparent"
390
390
  }
391
391
  },
392
- ":focus": {
393
- boxShadow: `0 0 0 ${theme.border.width.default}px ${defaultStrokeColor}`,
394
- borderRadius: theme.border.radius.default
395
- },
396
- ":focus:not(:focus-visible)": {
397
- boxShadow: "none"
398
- },
399
392
  ":focus-visible": _extends__default["default"]({
400
- boxShadow: "none",
401
393
  outlineWidth: theme.border.width.default,
402
394
  outlineColor: defaultStrokeColor,
403
395
  outlineOffset: 1,
@@ -422,13 +414,6 @@ const _generateStyles = (buttonColor = "default", kind, light, size, theme, them
422
414
  ":active": _extends__default["default"]({}, disabledStatesStyles, {
423
415
  outline: "none"
424
416
  }),
425
- ":focus": {
426
- boxShadow: `0 0 0 ${theme.border.width.default}px ${disabledStrokeColor}`,
427
- borderRadius: theme.border.radius.default
428
- },
429
- ":focus:not(:focus-visible)": {
430
- boxShadow: "none"
431
- },
432
417
  ":focus-visible": disabledStatesStyles
433
418
  }
434
419
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-icon-button",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,9 +16,9 @@
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
- "@khanacademy/wonder-blocks-clickable": "^5.0.0",
20
- "@khanacademy/wonder-blocks-core": "^8.0.0",
21
- "@khanacademy/wonder-blocks-icon": "^5.0.0",
19
+ "@khanacademy/wonder-blocks-clickable": "^5.0.1",
20
+ "@khanacademy/wonder-blocks-core": "^9.0.0",
21
+ "@khanacademy/wonder-blocks-icon": "^5.0.1",
22
22
  "@khanacademy/wonder-blocks-theming": "^3.0.0",
23
23
  "@khanacademy/wonder-blocks-tokens": "^3.0.0"
24
24
  },