@simplybusiness/mobius 3.6.0 → 3.6.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
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file, or link in
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.6.1] - 2023-07-26
9
+
10
+ ### Fixed
11
+
12
+ - Add `:focus-visible` default styles alongisde programatically added `--is-focus-visible`, `--is-focused` CSS class names. This is to address an issue where no styles display when using keyboard navigation in ShadowDOM.
13
+ - Fix previewing `@simplybusiness/icons` in Storybook. When an icon isn't published, Storybook only displays icons from an installed package as opposed to locally available set of icons.
14
+
8
15
  ## [3.6.0] - 2023-07-20
9
16
 
10
17
  ### Changed
@@ -258,6 +265,7 @@ Additionally, mobius and themes are available on the public NPM registry and can
258
265
 
259
266
  ## Github Links
260
267
 
268
+ [3.6.1]: https://github.com/simplybusiness/mobius/releases/tag/v3.6.1
261
269
  [3.6.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.6.0
262
270
  [3.5.1]: https://github.com/simplybusiness/mobius/releases/tag/v3.5.1
263
271
  [3.5.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.5.0
@@ -40,7 +40,7 @@ const ThemeProvider = ({ children, icons }) => {
40
40
  setBreakpointConfig(config);
41
41
  }, []);
42
42
  const providerValue = (0, react_1.useMemo)(() => ({
43
- icons: Object.assign(Object.assign({}, baseIcons), icons === null || icons === void 0 ? void 0 : icons.default),
43
+ icons: Object.assign(Object.assign({}, baseIcons), icons),
44
44
  breakpoints: breakpointConfig,
45
45
  setBreakpoints: setConfig,
46
46
  }), [breakpointConfig, icons, setConfig]);
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../../../../src/contexts/ThemeContext/ThemeContext.tsx"],"names":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