@simplybusiness/mobius-datepicker 9.1.3 → 10.0.0

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.0
4
+
5
+ ### Major Changes
6
+
7
+ - fc4ed44: ### BREAKING CHANGE: All component CSS is now wrapped in `@layer` declarations
8
+
9
+ 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.
10
+
11
+ **What this means for consumers:**
12
+ - **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.
13
+ - **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.
14
+ - **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;`
15
+
16
+ **What changed:**
17
+ - 204 CSS files wrapped in `@layer` blocks
18
+ - `@layer reset, base, atoms, organisms, theme;` preamble added to theme-core
19
+ - New `@simplybusiness/stylelint-plugin` enforces layer wrapping in CI
20
+ - `lint-css.js` now resolves stylelint config per-package instead of using a hardcoded central config
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [fc4ed44]
25
+ - @simplybusiness/mobius@10.0.0
26
+ - @simplybusiness/icons@5.0.3
27
+ - @simplybusiness/mobius-hooks@0.1.1
28
+
29
+ ## 9.1.4
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [ff8c3ab]
34
+ - @simplybusiness/mobius@9.3.4
35
+
3
36
  ## 9.1.3
4
37
 
5
38
  ### Patch Changes