@midas-ds/components 10.0.0 → 10.1.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,3 +1,41 @@
1
+ ## 10.1.0 (2025-05-23)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **select:** allow for option id to be string or number ([b9f31bac6b](https://github.com/migrationsverket/midas/commit/b9f31bac6b))
6
+ - **select:** use midas checkbox ([94c2cdb61d](https://github.com/migrationsverket/midas/commit/94c2cdb61d))
7
+ - **accordion:** add variant `hasBackground` ([2b429a73b3](https://github.com/migrationsverket/midas/commit/2b429a73b3))
8
+ - **accordion:** add new variant `hasBackground` ([1022bcc58a](https://github.com/migrationsverket/midas/commit/1022bcc58a))
9
+ - **tag:** add dark mode style ([408be2acb7](https://github.com/migrationsverket/midas/commit/408be2acb7))
10
+ - **tag:** add new prop ([82a0998769](https://github.com/migrationsverket/midas/commit/82a0998769))
11
+
12
+ ### 🩹 Fixes
13
+
14
+ - **link-button:** add disabled styling ([143f708127](https://github.com/migrationsverket/midas/commit/143f708127))
15
+ - **radio:** remove interactions with radiogroup items outside the label and button ([0b9f197971](https://github.com/migrationsverket/midas/commit/0b9f197971))
16
+ - **skeleton:** dont overwrite className and style props ([155a8ff437](https://github.com/migrationsverket/midas/commit/155a8ff437))
17
+ - **select:** virtualize the scroll box ([523b138e17](https://github.com/migrationsverket/midas/commit/523b138e17))
18
+ - **tag:** fix the hover and fix the disabled style ([3a21642715](https://github.com/migrationsverket/midas/commit/3a21642715))
19
+ - **tag:** unset border to make button the right width/height ([769cfa8ec5](https://github.com/migrationsverket/midas/commit/769cfa8ec5))
20
+ - **tag:** change token on button hover and pressed ([0f2ff1c422](https://github.com/migrationsverket/midas/commit/0f2ff1c422))
21
+ - **tag:** fix the missing nesting selector ([87ac33ab1c](https://github.com/migrationsverket/midas/commit/87ac33ab1c))
22
+
23
+ ### 💅 Refactors
24
+
25
+ - **tag:** move render function to meta data ([48d9f9b126](https://github.com/migrationsverket/midas/commit/48d9f9b126))
26
+
27
+ ### 📖 Documentation changes
28
+
29
+ - control size globally in storybook + new dark mode control ([#596](https://github.com/migrationsverket/midas/pull/596))
30
+
31
+ ### 🔧 Maintenance
32
+
33
+ - **deps:** update RAC ([20da285b9e](https://github.com/migrationsverket/midas/commit/20da285b9e))
34
+ - extend commitlint conventional commits config ([4daa47926d](https://github.com/migrationsverket/midas/commit/4daa47926d))
35
+ - update eslint rule to handle major versions > 9 ([ba85178773](https://github.com/migrationsverket/midas/commit/ba85178773))
36
+ - **changelog:** group and display more commit types in changelog ([d86d18ae94](https://github.com/migrationsverket/midas/commit/d86d18ae94))
37
+ - change react import statement ([efe3c867f0](https://github.com/migrationsverket/midas/commit/efe3c867f0))
38
+
1
39
  # 10.0.0 (2025-05-20)
2
40
 
3
41
  ### 🚀 Features
@@ -9,6 +9,11 @@ interface MidasAccordionItem extends Omit<DisclosureProps, 'children'> {
9
9
  headingLevel?: HeadingProps['elementType'];
10
10
  /** Display an accordion item in different status states */
11
11
  type?: 'default' | 'success' | 'warning';
12
+ /**
13
+ * Adds a background element to the content, set to false for a transparent look
14
+ * @default true
15
+ **/
16
+ hasBackground?: boolean;
12
17
  }
13
18
  export declare const AccordionItem: React.FC<MidasAccordionItem>;
14
19
  export {};