@simplybusiness/mobius 3.6.0 → 3.6.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
@@ -5,6 +5,19 @@ 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.2] - 2023-07-26
9
+
10
+ ### Fixed
11
+
12
+ - Fix missing `:focus-visible` state for `<Button variant="basic">`
13
+
14
+ ## [3.6.1] - 2023-07-26
15
+
16
+ ### Fixed
17
+
18
+ - 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.
19
+ - 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.
20
+
8
21
  ## [3.6.0] - 2023-07-20
9
22
 
10
23
  ### Changed
@@ -258,6 +271,8 @@ Additionally, mobius and themes are available on the public NPM registry and can
258
271
 
259
272
  ## Github Links
260
273
 
274
+ [3.6.2]: https://github.com/simplybusiness/mobius/releases/tag/v3.6.2
275
+ [3.6.1]: https://github.com/simplybusiness/mobius/releases/tag/v3.6.1
261
276
  [3.6.0]: https://github.com/simplybusiness/mobius/releases/tag/v3.6.0
262
277
  [3.5.1]: https://github.com/simplybusiness/mobius/releases/tag/v3.5.1
263
278
  [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":[],"mappings":";AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEb,iCAAsE;AACtE,iEAAmD;AAoBnD,MAAM,OAAO,GAAsB;IACjC,KAAK,oBACA,SAAS,CACb;IACD,WAAW,EAAE,EAAE;IACf,cAAc,EAAE,CAAC,OAAwB,EAAE,EAAE,GAAE,CAAC;CACjD,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,qBAAa,EAAC,OAAO,CAAC,CAAC;AAM5C,MAAM,aAAa,GAAG,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAsB,EAAE,EAAE;IACvE,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAkB,EAAE,CAAC,CAAC;IAE9E,MAAM,SAAS,GAAG,IAAA,mBAAW,EAAC,CAAC,MAAuB,EAAE,EAAE;QACxD,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,aAAa,GAAG,IAAA,eAAO,EAC3B,GAAG,EAAE,CAAC,CAAC;QACL,KAAK,kCACC,SAAmB,GACnB,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAA4B,CACxC;QACD,WAAW,EAAE,gBAAgB;QAC7B,cAAc,EAAE,SAAS;KAC1B,CAAC,EACF,CAAC,gBAAgB,EAAE,KAAK,EAAE,SAAS,CAAC,CACrC,CAAC;IAEF,OAAO,CACL,uBAAC,oBAAY,CAAC,QAAQ,kBAAC,KAAK,EAAE,aAAa,gBACxC,QAAQ,IACa,CACzB,CAAC;AACJ,CAAC,CAAC;AAxBW,QAAA,aAAa,iBAwBxB"}
1
+ {"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../../../../src/contexts/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