@simplybusiness/mobius-datepicker 9.1.4 → 10.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,38 @@
1
1
  # Changelog
2
2
 
3
+ ## 10.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [bce7398]
8
+ - @simplybusiness/mobius@10.1.0
9
+
10
+ ## 10.0.0
11
+
12
+ ### Major Changes
13
+
14
+ - fc4ed44: ### BREAKING CHANGE: All component CSS is now wrapped in `@layer` declarations
15
+
16
+ All CSS across mobius, mobius-datepicker, mobius-journey, mobius-interventions, mobius-chat-ui, and mobius-chatbot is now wrapped in `@layer atoms` or `@layer organisms`. The layer order preamble is declared in theme-core.
17
+
18
+ **What this means for consumers:**
19
+ - **Good news:** You no longer need specificity hacks (e.g. `.Foo.Foo`) to override Mobius styles. Your unlayered CSS automatically wins the cascade, regardless of import order.
20
+ - **Action required if you support older browsers:** `@layer` is supported in Chrome 99+, Firefox 97+, and Safari 15.4+ (all shipped early 2022). If you need to support browsers older than this, you must add your own `@layer` polyfill at the build level. Mobius intentionally does not ship a polyfill — doing so would cause polyfilled styles to become unlayered and override your app styles, defeating the purpose.
21
+ - **Custom layer ordering:** If you need to insert your own layers between Mobius layers, declare your own `@layer` order before importing theme-core. Your declaration must include all Mobius layers: `@layer reset, base, atoms, your-layer, organisms, theme;`
22
+
23
+ **What changed:**
24
+ - 204 CSS files wrapped in `@layer` blocks
25
+ - `@layer reset, base, atoms, organisms, theme;` preamble added to theme-core
26
+ - New `@simplybusiness/stylelint-plugin` enforces layer wrapping in CI
27
+ - `lint-css.js` now resolves stylelint config per-package instead of using a hardcoded central config
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [fc4ed44]
32
+ - @simplybusiness/mobius@10.0.0
33
+ - @simplybusiness/icons@5.0.3
34
+ - @simplybusiness/mobius-hooks@0.1.1
35
+
3
36
  ## 9.1.4
4
37
 
5
38
  ### Patch Changes