@midas-ds/components 5.0.0 → 5.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,92 +1,75 @@
1
+ ## 5.0.1
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **checkbox:** swap old focus token
6
+ - **checkbox:** swap old tokens
7
+ - **radio:** remove old tokens
8
+ - **link-button:** fix colors on hover state
9
+ - **toast:** re-organize animations and breakpoints
10
+ - **toast:** remove explicit dep
11
+ - **toast:** update react-aria deps
12
+ - **toast:** add temporary implementation of useToastState
13
+
14
+ ### Documentation Changes
15
+
16
+ - display project changelog on docweb
17
+
1
18
  # 5.0.0 (2025-03-17)
2
19
 
3
20
  ### 🚀 Features
4
21
 
5
- - ⚠️ updated select, multi-select and modal components
6
- - **button:** set primary border to 2px when in high-contrast mode
22
+ - ⚠️ support for dark mode across all components
7
23
 
8
24
  ### 🩹 Fixes
9
25
 
26
+ - **button:** deprecate small version
10
27
  - **card:** deprecate card background
11
- - **select:** change direct element selector
12
- - **modal:** remove unused code
13
- - **link-button:** remove ts-ignore comment
14
- - **link:** remove unused code
15
- - **docs:** remove unused code
16
- - **select:** remove unsupported attribute
17
- - **select:** remove useless fragment
18
- - **search-field:** use aria-label instead of hidden label
19
- - add and remove comments
20
- - **layout:** final design adjustments
21
- - **layout:** design tweaks
22
- - **layout:** design tweaks
23
- - **layout:** design adjustments
24
- - **button:** write a deprecate comment that size small will be deprecate
25
- - **table:** write a deprecate comment that narrow will be deprecate
26
- - **date-picker:** resize button in invalid state, fixes #312
27
28
  - **date-picker:** change selected date color to blue150
28
- - change the weekday names to swedish languge
29
- - change disabled cursor to not-allowed
30
- - **datepicker:** change cursor to pointer
31
- - **radio:** change cursor to pointer
32
- - **checkbox:** change cursor to pointer
29
+ - **date-picker:** resize button in invalid state, fixes #312
30
+ - **date-picker:** change cursor to pointer
31
+ - **layout:** design adjustments
32
+ - **search-field:** use aria-label instead of hidden label
33
+ - **select:** remove unsupported attribute
34
+ - **select:** change direct element selector
35
+ - **table:** deprecate narrow version
33
36
 
34
37
  ### Documentation Changes
35
38
 
36
- - fix local dark mode on portals in SB
37
- - add security disclaimers
38
- - **date-picker:** add style unavailable and code example for Unavailable Date in docs
39
39
  - dark mode support for storybook and docusaurus
40
+ - add instructions for bug reporting
41
+ - dark mode page on docweb
42
+ - add security disclaimers
43
+ - update select docs
44
+ - fix new tokens
45
+ - fix local dark mode on portals in SB
46
+ - updated docs with tokens
47
+ - dark mode header image
48
+ - **docs:** add new UIkit
49
+ - **localization:** add dev instructions for localization
40
50
 
41
51
  ### ⚠️ Breaking Changes
42
52
 
43
- - `Select`, `MultiSelect` and `Modal` now have updated API:s, expect things not to work as before. Make sure to check the API:s before upgrading."
44
-
45
- ### ❤️ Thank You
46
-
47
- - derpbravely
48
- - jabir Khalil
49
- - pixelrickdreamer
50
- - Wilhelm Hjelm
53
+ - dark mode :city_sunrise:
51
54
 
52
55
  # 4.0.0 (2025-03-10)
53
56
 
54
57
  ### 🚀 Features
55
58
 
56
59
  - ⚠️ updated select, multi-select and modal components
57
- - **button:** set primary border to 2px when in high-contrast mode
58
60
 
59
61
  ### 🩹 Fixes
60
62
 
61
- - **layout:** final design adjustments
62
- - **layout:** design tweaks
63
- - **layout:** design tweaks
64
63
  - **layout:** design adjustments
65
- - **button:** write a deprecate comment that size small will be deprecate
66
- - **table:** write a deprecate comment that narrow will be deprecate
67
- - **date-picker:** resize button in invalid state, fixes #312
68
- - **date-picker:** change selected date color to blue150
69
- - change the weekday names to swedish languge
70
- - change disabled cursor to not-allowed
71
- - **datepicker:** change cursor to pointer
72
64
  - **radio:** change cursor to pointer
73
- - **checkbox:** change cursor to pointer
74
65
 
75
66
  ### Documentation Changes
76
67
 
77
- - add security disclaimers
78
68
  - **date-picker:** add style unavailable and code example for Unavailable Date in docs
79
-
69
+ - **docs:** add new UIkit
80
70
  ### ⚠️ Breaking Changes
81
71
 
82
- - `Select`, `MultiSelect` and `Modal` now have updated API:s, expect things not to work as before. Make sure to check the API:s before upgrading."
83
-
84
- ### ❤️ Thank You
85
-
86
- - derpbravely
87
- - jabir Khalil
88
- - pixelrickdreamer
89
- - Wilhelm Hjelm
72
+ - `Select`, `MultiSelect` and `Modal` now have updated API:s, expect things not to work as before. Make sure to check the API:s before upgrading.
90
73
 
91
74
  ## 3.1.0 (2025-03-06)
92
75
 
@@ -96,23 +79,19 @@
96
79
 
97
80
  ### 🩹 Fixes
98
81
 
99
- - **date-picker:** resize button in invalid state, fixes #312 ([#312](https://github.com/migrationsverket/midas/issues/312))
82
+ - **calendar** set default weekday style to `short` ([#303](https://github.com/migrationsverket/midas/pull/303))
83
+ - **checkbox:** change cursor to pointer ([d5ce18403](https://github.com/migrationsverket/midas/commit/d5ce18403))
100
84
  - **date-picker:** change selected date color to blue150 ([6a7e856a9](https://github.com/migrationsverket/midas/commit/6a7e856a9))
101
- - change the weekday names to swedish languge ([25609b243](https://github.com/migrationsverket/midas/commit/25609b243))
102
- - change disabled cursor to not-allowed ([97da5471a](https://github.com/migrationsverket/midas/commit/97da5471a))
85
+ - **date-picker:** resize button in invalid state, fixes #312 ([#312](https://github.com/migrationsverket/midas/issues/312))
103
86
  - **datepicker:** change cursor to pointer ([5425f7282](https://github.com/migrationsverket/midas/commit/5425f7282))
104
87
  - **radio:** change cursor to pointer ([c18ec8f4e](https://github.com/migrationsverket/midas/commit/c18ec8f4e))
105
- - **checkbox:** change cursor to pointer ([d5ce18403](https://github.com/migrationsverket/midas/commit/d5ce18403))
106
88
 
107
89
  ### Documentation Changes
108
90
 
91
+ - add new UIkit ([a47947b63](https://github.com/migrationsverket/midas/commit/a47947b63))
92
+ - add instructions for bug reporting ([93205ee30](https://github.com/migrationsverket/midas/commit/93205ee30))
109
93
  - **date-picker:** add style unavailable and code example for Unavailable Date in docs ([469da9424](https://github.com/migrationsverket/midas/commit/469da9424))
110
94
 
111
- ### ❤️ Thank You
112
-
113
- - jabir Khalil
114
- - pixelrickdreamer
115
-
116
95
  # 3.0.0 (2025-02-28)
117
96
 
118
97
  ### 🚀 Features
@@ -121,15 +100,14 @@
121
100
 
122
101
  ### 🩹 Fixes
123
102
 
124
- - **card:** append props.className ([dfcfa0439](https://github.com/migrationsverket/midas/commit/dfcfa0439))
125
- - **search-field:** add border bottom and pixel push some paddings ([e53d56bb7](https://github.com/migrationsverket/midas/commit/e53d56bb7))
126
- - **search-field:** remove unused tokens ([8e9ed07a9](https://github.com/migrationsverket/midas/commit/8e9ed07a9))
127
- - **search-field:** destructure function parameters ([8291eeede](https://github.com/migrationsverket/midas/commit/8291eeede))
128
- - **search-field:** add validation error utility function ([1f4758e41](https://github.com/migrationsverket/midas/commit/1f4758e41))
129
- - **search-field:** add disabled styling ([f508f2f6d](https://github.com/migrationsverket/midas/commit/f508f2f6d))
130
- - **search-field:** handle custom error messages ([99649c163](https://github.com/migrationsverket/midas/commit/99649c163))
131
- - **search-field:** useSearchField to validate input and use internal key events ([fbe8cf54a](https://github.com/migrationsverket/midas/commit/fbe8cf54a))
103
+ - **card:** append props.className ([#295](https://github.com/migrationsverket/midas/pull/295))
132
104
  - **search-field:** move validation error message ([85c1b7990](https://github.com/migrationsverket/midas/commit/85c1b7990))
105
+ - **search-field:** useSearchField to validate input and use internal key events ([fbe8cf54a](https://github.com/migrationsverket/midas/commit/fbe8cf54a))
106
+ - **search-field:** handle custom error messages ([99649c163](https://github.com/migrationsverket/midas/commit/99649c163))
107
+ - **search-field:** add disabled styling ([f508f2f6d](https://github.com/migrationsverket/midas/commit/f508f2f6d))
108
+ - **search-field:** add validation error utility function ([1f4758e41](https://github.com/migrationsverket/midas/commit/1f4758e41))
109
+ - **search-field:** add border bottom and pixel push some paddings ([e53d56bb7](https://github.com/migrationsverket/midas/commit/e53d56bb7))
110
+ - **search-field:** validation text ([#290](https://github.com/migrationsverket/midas/pull/290))
133
111
 
134
112
  ### Documentation Changes
135
113
 
@@ -139,139 +117,103 @@
139
117
 
140
118
  - **search-field:** `isRequired` property of `SearchField` is no longer supported
141
119
 
142
- ### ❤️ Thank You
143
-
144
- - derpbravely
145
-
146
120
  ## 2.0.1 (2025-02-27)
147
121
 
148
122
  ### 🩹 Fixes
149
123
 
150
- - **radio:** fix hover on mobile, remove 100% height on RadioGroup ([789264afa](https://github.com/migrationsverket/midas/commit/789264afa))
151
- - **textfield:** cover more cases on dossnr ([0f27d8b33](https://github.com/migrationsverket/midas/commit/0f27d8b33))
152
- - **textfield:** add rule for matching delimiters for doss nr ([026073775](https://github.com/migrationsverket/midas/commit/026073775))
153
- - **textfield:** update dossnr regex to support new delimiter ([c5e1b4428](https://github.com/migrationsverket/midas/commit/c5e1b4428))
124
+ - **radio:** fix hover on mobile, remove 100% height on RadioGroup ([#286](https://github.com/migrationsverket/midas/pull/286))
125
+ - **text-field:** update dossnr regex to support new delimiter ([c5e1b4428](https://github.com/migrationsverket/midas/commit/c5e1b4428))
126
+ - **text-field:** add rule for matching delimiters for doss nr ([026073775](https://github.com/migrationsverket/midas/commit/026073775))
127
+ - **text-field:** cover more cases on dossnr ([0f27d8b33](https://github.com/migrationsverket/midas/commit/0f27d8b33))
154
128
 
155
- ### ❤️ Thank You
129
+ ### Documentation Changes
156
130
 
157
- - pixelrickdreamer
158
- - Wilhelm Hjelm
131
+ - update get started with node 22 ([098e4e1e0](https://github.com/migrationsverket/midas/commit/098e4e1e0))
159
132
 
160
133
  # 2.0.0 (2025-02-25)
161
134
 
162
135
  ### 🚀 Features
163
136
 
164
- - ⚠️ **textfield:** rename maxCharacters property ([44eec760e](https://github.com/migrationsverket/midas/commit/44eec760e))
137
+ - **layout:** design improvements + tooltip ([#231](https://github.com/migrationsverket/midas/pull/231))
165
138
  - ⚠️ **textarea:** rename maxCharacters property ([06116cee9](https://github.com/migrationsverket/midas/commit/06116cee9))
139
+ - ⚠️ **text-field:** rename maxCharacters property ([44eec760e](https://github.com/migrationsverket/midas/commit/44eec760e))
166
140
  - **tooltip:** new component tooltip ([3bc3fcd4f](https://github.com/migrationsverket/midas/commit/3bc3fcd4f))
167
141
 
168
142
  ### 🩹 Fixes
169
143
 
170
- - **accordion:** add comment ([56db5d49f](https://github.com/migrationsverket/midas/commit/56db5d49f))
144
+ - **accessibility:** fix focus for high contrast mode ([#267](https://github.com/migrationsverket/midas/pull/267))
145
+ - **accordion:** append classname ([aaaa0ddb1](https://github.com/migrationsverket/midas/commit/aaaa0ddb1))
171
146
  - **accordion:** remove dependency array from useLayoutEffect - fix render of dynamic content in AccordionItem ([db4c920ee](https://github.com/migrationsverket/midas/commit/db4c920ee))
172
- - **theme:** add global css export ([9786d79da](https://github.com/migrationsverket/midas/commit/9786d79da))
173
- - **textarea:** set initial counter value on render ([15121e437](https://github.com/migrationsverket/midas/commit/15121e437))
174
- - **textfield:** set initial counter value on render ([1f9a9cfc1](https://github.com/migrationsverket/midas/commit/1f9a9cfc1))
175
- - **textarea:** set initial counter value on render ([924f5abda](https://github.com/migrationsverket/midas/commit/924f5abda))
176
- - **textfield:** set initial counter value on render ([0e9e4a44d](https://github.com/migrationsverket/midas/commit/0e9e4a44d))
177
- - **tooltip:** append classname ([0e6e6e483](https://github.com/migrationsverket/midas/commit/0e6e6e483))
178
- - **textfield:** append classname ([53f5b603c](https://github.com/migrationsverket/midas/commit/53f5b603c))
179
- - **textarea:** append classname ([cdd9f3e5c](https://github.com/migrationsverket/midas/commit/cdd9f3e5c))
180
- - **tag:** append classname ([df88ec9fb](https://github.com/migrationsverket/midas/commit/df88ec9fb))
181
- - **radio:** append classname ([796173ba2](https://github.com/migrationsverket/midas/commit/796173ba2))
182
- - **logo:** append classname ([66a189a6c](https://github.com/migrationsverket/midas/commit/66a189a6c))
147
+ - **accordion:** fix render of dynamic content in AccordionItem ([#283](https://github.com/migrationsverket/midas/pull/283))
183
148
  - **combobox:** append classname ([570a1998e](https://github.com/migrationsverket/midas/commit/570a1998e))
184
- - **accordion:** append classname ([aaaa0ddb1](https://github.com/migrationsverket/midas/commit/aaaa0ddb1))
185
- - **file-upload:** import react to get autodocs props ([e6467ca66](https://github.com/migrationsverket/midas/commit/e6467ca66))
186
- - **file-upload:** add autdocs config ([809f0b894](https://github.com/migrationsverket/midas/commit/809f0b894))
149
+ - **components:** append prop.className ([#279](https://github.com/migrationsverket/midas/pull/279))
187
150
  - **file-upload:** pass unhandled props ([fc90980d9](https://github.com/migrationsverket/midas/commit/fc90980d9))
151
+ - **file-upload:** add autdocs config ([809f0b894](https://github.com/migrationsverket/midas/commit/809f0b894))
152
+ - **file-upload:** import react to get autodocs props ([e6467ca66](https://github.com/migrationsverket/midas/commit/e6467ca66))
153
+ - **file-upload:** pass unhandled props to the FileTrigger component ([#277](https://github.com/migrationsverket/midas/pull/277))
154
+ - **layout:** design adjustments ([f086ad5fe](https://github.com/migrationsverket/midas/commit/f086ad5fe))
188
155
  - **layout:** fix bug where mobile menu wouldn't open ([c61923662](https://github.com/migrationsverket/midas/commit/c61923662))
189
- - **accessibility:** fix focus for high contrast mode ([#267](https://github.com/migrationsverket/midas/pull/267))
156
+ - **logo:** append classname ([66a189a6c](https://github.com/migrationsverket/midas/commit/66a189a6c))
157
+ - **radio:** append classname ([796173ba2](https://github.com/migrationsverket/midas/commit/796173ba2))
158
+ - **tag:** append classname ([df88ec9fb](https://github.com/migrationsverket/midas/commit/df88ec9fb))
190
159
  - **textarea:** add validation for minLength property ([8df1f931a](https://github.com/migrationsverket/midas/commit/8df1f931a))
191
- - **layout:** design adjustments + skip to content link ([facdaf64f](https://github.com/migrationsverket/midas/commit/facdaf64f))
192
- - **layout:** design review ([b1928466c](https://github.com/migrationsverket/midas/commit/b1928466c))
193
- - **layout:** add tooltips on layout collapsed state ([5e9d0090d](https://github.com/migrationsverket/midas/commit/5e9d0090d))
194
- - **layout:** design adjustments ([f086ad5fe](https://github.com/migrationsverket/midas/commit/f086ad5fe))
160
+ - **textarea:** append classname ([cdd9f3e5c](https://github.com/migrationsverket/midas/commit/cdd9f3e5c))
161
+ - **textarea:** set initial counter value on render ([924f5abda](https://github.com/migrationsverket/midas/commit/924f5abda))
162
+ - **text-field:** append classname ([53f5b603c](https://github.com/migrationsverket/midas/commit/53f5b603c))
163
+ - **text-field:** set initial counter value on render ([0e9e4a44d](https://github.com/migrationsverket/midas/commit/0e9e4a44d))
164
+ - **text-field:** set the initial value for useState ([#280](https://github.com/migrationsverket/midas/pull/280))
165
+ - **theme:** add global css export ([#282](https://github.com/migrationsverket/midas/pull/282))
166
+ - **tooltip:** append classname ([0e6e6e483](https://github.com/migrationsverket/midas/commit/0e6e6e483))
195
167
 
196
168
  ### Documentation Changes
197
169
 
170
+ - dropdown + layout + tooltip ([28d3bc661](https://github.com/migrationsverket/midas/commit/28d3bc661))
198
171
  - **components:** sync docusaurus and storybook autodocs config ([4e061ad4d](https://github.com/migrationsverket/midas/commit/4e061ad4d))
172
+ - **docs:** add documentation about skeleton component ([460bf602c](https://github.com/migrationsverket/midas/commit/460bf602c))
173
+ - **docs:** add design pattern about loaders ([702136a89](https://github.com/migrationsverket/midas/commit/702136a89))
174
+ - **docs:** add link to design pattern ([38db9d2de](https://github.com/migrationsverket/midas/commit/38db9d2de))
199
175
  - **file-upload:** manually extend react aria props for autodocs ([07ecde229](https://github.com/migrationsverket/midas/commit/07ecde229))
200
- - dropdown + layout + tooltip ([28d3bc661](https://github.com/migrationsverket/midas/commit/28d3bc661))
201
176
 
202
177
  ### ⚠️ Breaking Changes
203
178
 
204
- - **textfield:** TextField property maxCharacters is renamed to maxLength
205
179
  - **textarea:** TextArea propert maxCharacters is renamed to maxLength
206
180
 
207
- ### ❤️ Thank You
208
-
209
- - derpbravely
210
- - Jabir Khalil
211
- - pixelrickdreamer
212
- - Wilhelm Hjelm
213
-
214
181
  ## 1.3.0 (2025-02-19)
215
182
 
216
183
  ### 🚀 Features
217
184
 
218
- - **textfield:** add dossier number validation ([9092008ef](https://github.com/migrationsverket/midas/commit/9092008ef))
185
+ - **accordion:** support react nodes in title ([#259](https://github.com/migrationsverket/midas/pull/259))
186
+ - **text-field:** add dossier number validation ([#261](https://github.com/migrationsverket/midas/pull/261))
219
187
 
220
188
  ### 🩹 Fixes
221
189
 
222
- - **theme:** reorder theme export ([3398a0f68](https://github.com/migrationsverket/midas/commit/3398a0f68))
223
- - **table:** preserve classNames when using props.className ([d7a9142cd](https://github.com/migrationsverket/midas/commit/d7a9142cd))
224
- - **textfield:** +/- divider should be optional ([b1393263a](https://github.com/migrationsverket/midas/commit/b1393263a))
225
- - **table:** add pointer if row has a link ([9a62302ff](https://github.com/migrationsverket/midas/commit/9a62302ff))
226
- - **card:** clean the code ([a17aa2941](https://github.com/migrationsverket/midas/commit/a17aa2941))
227
- - **textfield:** add dossier number validation ([b3027b5b9](https://github.com/migrationsverket/midas/commit/b3027b5b9))
228
190
  - **accordion:** support any elements in title ([1129fd742](https://github.com/migrationsverket/midas/commit/1129fd742))
229
- - **table:** remove unused props ([1cb0c2e69](https://github.com/migrationsverket/midas/commit/1cb0c2e69))
230
- - **table:** show hover background color for striped table ([a6b4f35d5](https://github.com/migrationsverket/midas/commit/a6b4f35d5))
231
- - **theme:** point to theme types ([98e09424f](https://github.com/migrationsverket/midas/commit/98e09424f))
232
- - **card:** remove the id content from p tag ([54e4fe9cd](https://github.com/migrationsverket/midas/commit/54e4fe9cd))
233
- - **card:** fix to read title and content ([dd8d07c72](https://github.com/migrationsverket/midas/commit/dd8d07c72))
234
191
  - **card:** add React.useId to generate unique id ([160319d03](https://github.com/migrationsverket/midas/commit/160319d03))
235
- - fix content to be readable by screen reader when use tab ([d49d8d4f9](https://github.com/migrationsverket/midas/commit/d49d8d4f9))
236
-
237
- ### ❤️ Thank You
238
-
239
- - derpbravely
240
- - jabir Khalil
241
- - Wilhelm Hjelm
242
-
243
- ## 1.2.3 (2025-02-11)
244
-
245
- This was a version bump only for components to align it with other projects, there were no code changes.
246
-
247
- ## 1.2.2 (2025-02-11)
248
-
249
- This was a version bump only for components to align it with other projects, there were no code changes.
250
-
251
- ## 1.2.1 (2025-02-11)
252
-
253
- This was a version bump only for components to align it with other projects, there were no code changes.
192
+ - **card:** fix to read title and content ([dd8d07c72](https://github.com/migrationsverket/midas/commit/dd8d07c72))
193
+ - **card:** remove the id content from p tag ([54e4fe9cd](https://github.com/migrationsverket/midas/commit/54e4fe9cd))
194
+ - **docs:** update theme imports ([5cbd797f4](https://github.com/migrationsverket/midas/commit/5cbd797f4))
195
+ - **table:** show hover background color for striped table ([a6b4f35d5](https://github.com/migrationsverket/midas/commit/a6b4f35d5))
196
+ - **table:** striped table hover effect and unused props ([#250](https://github.com/migrationsverket/midas/pull/250))
197
+ - **table:** add pointer if row has a link ([#262](https://github.com/migrationsverket/midas/pull/262))
198
+ - **table:** preserve classNames when using props.className ([d7a9142cd](https://github.com/migrationsverket/midas/commit/d7a9142cd))
199
+ - **text-field:** add dossier number validation ([b3027b5b9](https://github.com/migrationsverket/midas/commit/b3027b5b9))
200
+ - **text-field:** +/- divider should be optional ([b1393263a](https://github.com/migrationsverket/midas/commit/b1393263a))
201
+ - **theme:** point to theme types ([#248](https://github.com/migrationsverket/midas/pull/248))
202
+ - **theme:** reorder theme export ([#265](https://github.com/migrationsverket/midas/pull/265))
254
203
 
255
204
  ## 1.2.0 (2025-02-11)
256
205
 
257
206
  ### 🚀 Features
258
207
 
259
- - **components:** add nvm config ([7cbbce66e](https://github.com/migrationsverket/midas/commit/7cbbce66e))
260
208
  - **components:** new api and style for accordion ([efab0a198](https://github.com/migrationsverket/midas/commit/efab0a198))
209
+ - **components:** add nvm config ([7cbbce66e](https://github.com/migrationsverket/midas/commit/7cbbce66e))
261
210
 
262
211
  ### 🩹 Fixes
263
212
 
264
- - **theme:** create separate theme export ([a6c95a23c](https://github.com/migrationsverket/midas/commit/a6c95a23c))
265
- - **info-banner:** fix icon to be in same line with text in docs and story ([f37b798c3](https://github.com/migrationsverket/midas/commit/f37b798c3))
213
+ - import/export text-field css directly from css module ([#212](https://github.com/migrationsverket/midas/pull/212))
266
214
  - **components:** fix text when titles are longer than one row ([28b06cd31](https://github.com/migrationsverket/midas/commit/28b06cd31))
267
- - import/export textfield css directly from css module ([#212](https://github.com/migrationsverket/midas/pull/212))
268
-
269
- ### ❤️ Thank You
270
-
271
- - Axel Engström
272
- - jabir Khalil
273
- - pixelrickdreamer @pixelrickdreamer
274
- - Wilhelm Hjelm
215
+ - **info-banner:** fix icon to be in same line with text in docs and story ([f37b798c3](https://github.com/migrationsverket/midas/commit/f37b798c3))
216
+ - **theme:** create separate theme export ([a6c95a23c](https://github.com/migrationsverket/midas/commit/a6c95a23c))
275
217
 
276
218
  ## 1.1.0 (2025-01-31)
277
219
 
@@ -279,88 +221,455 @@ This was a version bump only for components to align it with other projects, the
279
221
 
280
222
  - **components:** new api and style for accordion
281
223
 
282
- ### 🩹 Fixes
283
-
284
- - import/export textfield css directly from css module
285
-
286
- ### ❤️ Thank You
287
-
288
- - pixelrickdreamer
289
- - Wilhelm Hjelm
290
-
291
224
  ## 1.0.2 (2025-01-27)
292
225
 
293
226
  ### 🚀 Features
294
227
 
295
- - **textarea:** new component
228
+ - **modal:** create a new component
229
+ - **button:** add react aria button component
230
+ - **button:** added tertiary and danger themes
231
+ - **button:** remove underline from tertiary button
232
+ - **button:** add icon and iconSize prop and logic to make icon smaller when size=small
233
+ - **button:** update button stories
234
+ - **button:** remove unused icon
235
+ - **button:** add property to change button's icon direction
236
+ - **button:** change inline style to class style
237
+ - **button:** add buttongroup component, move mobile rules
238
+ - ⚠️ **card:** new api, replace button with stretched link
239
+ - **card:** support custom link component
240
+ - **checkbox:** select all checkbox
241
+ - **checkbox:** new wrapper
242
+ - **combobox:** create a combobox component with styling
243
+ - **date-picker:** new wrapper
244
+ - **date-picker:** new datepicker
245
+ - **date-picker:** datepicker renamed daterangepicker in favor of datepicker
296
246
  - **docs:** add docusaurus boilerplate
247
+ - **dropdown:** new component
248
+ - **file-upload:** new wrapper
249
+ - **flex:** add fluid variant
250
+ - **flex:** can now take all props of usual div
251
+ - **info-banner:** add support for ReactNodes in message
252
+ - **info-banner:** dismissable banner
253
+ - **link:** add standalone link variant
254
+ - **link:** ability to stretch link in parent
255
+ - **link:** add icon in prop, add disabled, and add states in css
256
+ - **link-button:** inherits api from button
257
+ - **link-button:** add full width
258
+ - **link-button:** add icon
259
+ - **logo:** new variants and refactor
260
+ - ⚠️ **modal:** new API
261
+ - **multi-select:** new component
262
+ - **radio:** new wrapper
263
+ - **search-field:** props rewrite
264
+ - **select:** new wrapper
265
+ - **sidebar:** new component
297
266
  - **storybook:** add boilerplate storybook instance
298
- - **button:** add react aria button component
299
-
267
+ - **table:** new component!
268
+ - **table:** add docs + striped option
269
+ - **tag:** new component
270
+ - **tertiary button:** change padding
271
+ - **text-area:** creat textArea component
272
+ - **text-field:** add ssn validation
273
+ - **text-field:** support counter and maxCharacters
274
+ - **ui:** export new components
275
+ -
300
276
  ### 🩹 Fixes
301
277
 
302
- - fix the link path in readme
303
- - **modal:** update modal docs
304
- - dependencies
305
- - **docs:** update url
306
- - **docs:** update url
307
- - **docs:** fix storybook link
308
- - new readme + doc build
309
- - change node version on deploy
310
- - **docs:** mend broken pages
278
+ - **accordion:** hover on trigger
279
+ - **accordion:** update icon size
280
+ - **accordion:** color on iOS
281
+ - **button:** add large option to size in storybook and fix styling to tertiary
282
+ - **button:** change name large to null in the size option in storybook
283
+ - **button:** add icon variant
284
+ - **button:** share api with link-button
285
+ - **button:** change property name to iconPlacement
286
+ - **button:** adjust spacing
287
+ - **button:** update icon size
288
+ - **button:** fix styling to focus-visible state
289
+ - **button:** delete the third box-shadow and fix style to all
290
+ - **button:** add variable focus in tokens.css and fix the style with variable
291
+ - **button:** add press style on icon btn
292
+ - **button:** change the styling in focus visible to a variable
293
+ - **button:** correct spacing on icon button
294
+ - **button:** remove pixel and rem mixing
295
+ - **card:** accessibility fix on icon
296
+ - **card:** only animate out arrow
297
+ - **card:** correct border-color
298
+ - **card:** better column stretching
299
+ - **card:** support custom link
300
+ - **checkbox:** change styling of description
301
+ - **checkbox:** fix gap between label and description
302
+ - **checkbox:** change to lucide icon and fix css
303
+ - **checkbox:** fix checkbox size and disabled state css
304
+ - **checkbox:** change back to polyline for checkmark
305
+ - **checkbox:** add the animation back again
306
+ - **checkbox:** select all can be indeterminate
307
+ - **checkbox:** change the styling in focus visible to a variable
308
+ - **checkbox:** fix state could be null
309
+ - **combobox:** fix disabled state style and fix combobox test
310
+ - **combobox:** rewrite to new wrapper
311
+ - **combobox:** fix props
312
+ - **combobox:** button alignment
313
+ - **combobox:** focus style fix
314
+ - **combobox:** chevron icon will be upp when select is opened
315
+ - **combobox:** add aria-expanded to css to rotate chevron icon
316
+ - **combobox:** update icon size
317
+ - **combobox:** new focus style
318
+ - **combobox:** support modals
319
+ - **combobox:** color on iOS
320
+ - **date-picker:** correct colors
321
+ - **date-picker:** update icon size
322
+ - **date-picker:** change the styling in focus visible to a variable
323
+ - **date-picker:** new focus state
324
+ - **date-picker:** dependency update
325
+ - **date-picker:** spacing on timefields
326
+ - **date-picker:** support modals
327
+ - **date-picker:** color on iOS
311
328
  - **docs:** change doc structure
312
- - package.json and package-lock.json
329
+ - **docs:** accessibility is back
330
+ - **docs:** mend broken pages
331
+ - **docs:** fix top banner
332
+ - **docs:** test commit on GitHub
333
+ - **docs:** updates to accomodate storybook
334
+ - **docs:** remove "build with"
335
+ - **docs:** fix storybook link
336
+ - **docs:** new frontpage
337
+ - **docs:** update url
338
+ - **file-upload:** update icon size
339
+ - **file-upload:** fix text overflow mobile
340
+ - **flex:** better column stretching
341
+ - **flex:** fix column wrapping
342
+ - **grid:** better column stretching
343
+ - **info-banner:** fix dismissable button
344
+ - **info-banner:** add div props to info-banner
345
+ - **info-banner:** fix classname info clsx
346
+ - **info-banner:** update icon size
347
+ - **link:** icon stays in size
348
+ - **link:** ignore icon prop if link is standalone
349
+ - **link:** fix style to center the icon with text
350
+ - **link:** fix the wrong style
351
+ - **link:** add style underline to hover and active state
352
+ - **link:** add visited state to css
353
+ - **link:** add url address which leads to link component in docsweb
354
+ - **link:** commit
355
+ - **link:** support custom link component
356
+ - **link-button:** fix styling justify-content
357
+ - **link-button:** fix padding
358
+ - **link-button:** adjust styles + add focus styles
359
+ - **link-button:** add variants
360
+ - **link-button:** change gap to 0.5rem
361
+ - **link-button:** remove the duplicated code
362
+ - **link-button:** change justify-content to center to make fullwidth look better
363
+ - **link-button:** custom link component
364
+ - **link-button:** external link icon on target \_blank
365
+ - **linkButton:** use button style and fix the story for icon
366
+ - **logo:** add support for all `<div>` props, like className
367
+ - **logo:** html tag name fix
368
+ - **modal:** delete trigger button and fix styling
369
+ - **modal:** fix styling in css file
370
+ - **modal:** delete icon backgrund-color in css file
371
+ - **modal:** update modal docs
372
+ - **modal:** fix bug of unopenable modal + new docs
373
+ - **modal:** fix spacing
374
+ - **modal:** adjust max height and overflow
375
+ - **multi-select:** style adjustments
376
+ - **multi-select:** support for all default key
377
+ - **multi-select:** validation
378
+ - **multi-select:** change remove to update list
379
+ - **multi-select:** support modals
380
+ - **multi-select:** null on item fix
381
+ - **multi-select:** fix intermittent errors in tag removal
382
+ - **radio:** remove padding
383
+ - **radio:** change padding on label and helper text
384
+ - **radio:** remove invalid line and fix css
385
+ - **radio:** change gap between elements to 0.5rem
386
+ - **radio:** change the styling in focus visible to a variable
387
+ - **radio:** move radioGroup storybook to radio storybook, and fix tsconfig
388
+ - **search-field:** update icon size
389
+ - **search-field:** inherit focus from text-field
390
+ - **search-field:** fix padding to remove style error between button and input
391
+ - **select:** remove padding and add variables
392
+ - **select:** fix list spacing
393
+ - **select:** change to lucide icon
394
+ - **select:** fix icon alignment
395
+ - **select:** remove hard value
396
+ - **select:** add aria-expanded to css to rotate chevron icon
397
+ - **select:** change to border
398
+ - **select:** update icon size
399
+ - **select:** change box-shadow to border
400
+ - **select:** change the styling in focus visible to a variable
401
+ - **select:** support modals
402
+ - **table:** use client
403
+ - **table:** update icon size
404
+ - **tabs:** new focus state
405
+ - **tabs:** fix styles
406
+ - **tabs:** responsive
407
+ - **tag:** fix stories and css and delete unuse codes
408
+ - **tag:** styling + dismissable
409
+ - **textarea:** fix handleChange run when element focus
410
+ - **textarea:** remove focus animation
411
+ - **textarea:** fix focus
412
+ - **textarea:** change color
413
+ - **text-field:** fix text color in invald error to red color
414
+ - **text-field:** fix text color in invald error to red color
415
+ - **text-field:** update icon size
416
+ - **text-field:** remove focus animation
417
+ - **text-field:** fix focus
418
+ - **text-field:** update error message docs + support
419
+ - **text-field:** change error message when > maxCharacter
420
+ - **text-field, textarea:** fix spacing
421
+ - **theme:** include tokens again
422
+ - **toast:** larger icon
423
+ - **toast:** fix button size
424
+ - **toast:** update icon size
425
+ - **toast:** new focus state
426
+ - **ui:** add modal
427
+ - **ui:** update theme version
428
+
313
429
 
314
- ### ❤️ Thank You
430
+ ### ⚠️ Breaking Changes
315
431
 
316
- - jabir Khalil
317
- - pixelrickdreamer
318
- - Wilhelm Hjelm
432
+ - **modal:** new API
433
+ - **card:** new card api
319
434
 
320
435
  ## 1.0.1 (2025-01-27)
321
436
 
322
437
  ### 🚀 Features
323
438
 
439
+ - **tag:** create a new component
440
+ - **modal:** create a new component
441
+ - **modal:** fix styling, delete not used codes and add button component
442
+ - **button:** added tertiary and danger themes
443
+ - **button:** remove underline from tertiary button
444
+ - **button:** add icon and iconSize prop and logic to make icon smaller when size=small
445
+ - **button:** add property to change button's icon direction
446
+ - **button:** change inline style to class style
447
+ - **button:** add buttongroup component, move mobile rules
448
+ - ⚠️ **card:** new api, replace button with stretched link
449
+ - **card:** support custom link component
450
+ - **checkbox:** select all checkbox
451
+ - **checkbox:** new wrapper
452
+ - **combobox:** create a combobox component with styling
453
+ - **date-picker:** new wrapper
454
+ - **date-picker:** datepicker renamed daterangepicker in favor of datepicker
455
+ - **dropdown:** new component
456
+ - **fileupload:** new wrapper
457
+ - **flex:** add fluid variant
458
+ - **flex:** can now take all props of usual div
459
+ - **grid:** add fluid variant
460
+ - **grid:** can now take all props of usual div
461
+ - **info-banner:** add support for ReactNodes in message
462
+ - **info-banner:** dismissable banner
463
+ - **link:** add standalone link variant
464
+ - **link:** ability to stretch link in parent
465
+ - **link:** add icon in prop, add disabeld, and add states in css
466
+ - **link-button:** inherits api from button
467
+ - **link-button:** add own style, delete unuse codes, and fix the stories
468
+ - **link-button:** add full width
469
+ - **linkButton:** add icon
470
+ - **logo:** new variants and refactor
471
+ - **multi-select:** new component
472
+ - **radio:** new wrapper
473
+ - **searchfield:** props rewrite
474
+ - **select:** new wrapper
475
+ - **sidebar:** new component
476
+ - **table:** new component!
477
+ - **table:** add docs + striped option
478
+ - **tag:** new component
479
+ - **tertiary button:** change padding
480
+ - **textArea:** creat textArea component
324
481
  - **textarea:** new component
482
+ - **textarea:** new wrapper
483
+ - **text-field:** add ssn validation
484
+ - **text-field:** support counter and maxCharacters
485
+ - **ui:** export new components
325
486
 
326
487
  ### 🩹 Fixes
327
488
 
328
- - fix the link path in readme
329
- - **modal:** update modal docs
330
- - dependencies
331
- - **docs:** update url
332
- - **docs:** update url
333
- - **docs:** fix storybook link
334
- - new readme + doc build
335
- - change node version on deploy
336
- - **docs:** mend broken pages
489
+ - **accordion:** hover on trigger
490
+ - **accordion:** update icon size
491
+ - **accordion:** color on iOS
492
+ - **breadcrumbs:** fix styles + new build
493
+ - **button:** add large option to size in storybook and fix styling to tertiary
494
+ - **button:** change name large to null in the size option in storybook
495
+ - **button:** add icon variant
496
+ - **button:** share api with link-button
497
+ - **button:** change property name to iconPlacement
498
+ - **button:** delete unused inline style and fix merge
499
+ - **button:** adjust spacing
500
+ - **button:** update icon size
501
+ - **button:** fix styling to focus-visible state
502
+ - **button:** delete the third box-shadow and fix style to all
503
+ - **button:** remove the duplicated code
504
+ - **button:** move the styling from global to under button class
505
+ - **button:** add variable focus in tokens.css and fix the style with variable
506
+ - **button:** add press style on icon btn
507
+ - **button:** change the styling in focus visible to a variable
508
+ - **button:** correct spacing on icon button
509
+ - **button:** remove pixel and rem mixing
510
+ - **card:** accessibility fix on icon
511
+ - **card:** only animate out arrow
512
+ - **card:** correct border-color
513
+ - **card:** better column stretching
514
+ - **card:** support custom link
515
+ - **checkbox:** change styling of description
516
+ - **checkbox:** change to luide icon and fix css
517
+ - **checkbox:** change back to polyline for checkmark
518
+ - **checkbox:** add the animation back again
519
+ - **checkbox:** remove unused icons
520
+ - **checkbox:** change gap to 0.5rem
521
+ - **checkbox:** remove left line when invalid
522
+ - **checkbox:** adjust styling
523
+ - **checkbox:** select all can be indeterminate
524
+ - **checkbox:** change the styling in focus visible to a variable
525
+ - **checkbox:** fix state could be null
526
+ - **combobox:** add a story autocomplete,fix storybook name,the tag to ComboBox,and style focus state
527
+ - **combobox:** fix disabled state style and fix combobox test
528
+ - **combobox:** rewrite to new wrapper
529
+ - **combobox:** fix props
530
+ - **combobox:** button alignment
531
+ - **combobox:** focus style fix
532
+ - **combobox:** chevron icon will be upp when select is opened
533
+ - **combobox:** add aria-expanded to css to rotate chevron icon
534
+ - **combobox:** update icon size
535
+ - **combobox:** fix style
536
+ - **combobox:** support modals
537
+ - **combobox:** color on iOS
538
+ - **date-picker:** correct colors
539
+ - **date-picker:** update icon size
540
+ - **date-picker:** change the styling in focus visible to a variable
541
+ - **date-picker:** add variable
542
+ - **date-picker:** new focus state
543
+ - **date-picker:** spacing on timefields
544
+ - **date-picker:** support modals
545
+ - **date-picker:** color on iOS
337
546
  - **docs:** change doc structure
338
-
339
- ### ❤️ Thank You
340
-
341
- - jabir Khalil
342
- - Wilhelm Hjelm
343
-
344
- # 1.0.0 (2025-01-27)
345
-
346
- ### 🚀 Features
347
-
348
- - **textarea:** new component
349
-
350
- ### 🩹 Fixes
351
-
352
- - fix the link path in readme
353
- - **modal:** update modal docs
354
- - dependencies
355
- - **docs:** update url
356
- - **docs:** update url
357
- - **docs:** fix storybook link
358
- - new readme + doc build
359
- - change node version on deploy
547
+ - **docs:** accessibility is back
360
548
  - **docs:** mend broken pages
361
- - **docs:** change doc structure
549
+ - **docs:** fix top banner
550
+ - **docs:** updates to accommodate storybook
551
+ - **docs:** remove "build with"
552
+ - **docs:** fix storybook link
553
+ - **docs:** new frontpage
554
+ - **file-upload:** fix text overflow mobile
555
+ - **flex:** better column stretching
556
+ - **flex:** fix column wrapping
557
+ - **grid:** better column stretching
558
+ - **info-banner:** fix dismissable button
559
+ - **info-banner:** add div props to info-banner
560
+ - **info-banner:** fix classname info clsx
561
+ - **info-banner:** update icon size
562
+ - **link:** icon stays in size
563
+ - **link:** ignore icon prop if link is standalone
564
+ - **link:** fix style to center the icon with text
565
+ - **link:** fix the wrong style
566
+ - **link:** add style underline to hover and active state
567
+ - **link:** add visited state to css
568
+ - **link:** add url address which leads to link component in docs
569
+ - **link:** support custom link component
570
+ - **link-button:** fix styling justify-content
571
+ - **link-button:** fix padding
572
+ - **link-button:** adjust styles + add focus styles
573
+ - **link-button:** add variants
574
+ - **link-button:** change gap to 0.5rem
575
+ - **link-button:** change justify-content to center to make fullwidth look better
576
+ - **link-button:** custom link component
577
+ - **link-button:** external link icon on target \_blank
578
+ - **linkButton:** use button style and fix the story for icon
579
+ - **logo:** add support for all `<div>` props, like className
580
+ - **logo:** html tag name fix
581
+ - **modal:** delete trigger button and fix styling
582
+ - **modal:** delete unused styling, and move styling for storybook to storybook
583
+ - **modal:** fix styling in css file
584
+ - **modal:** delete icon background-color in css file
585
+ - **modal:** update modal docs
586
+ - **modal:** fix bug of unopenable modal + new docs
587
+ - **modal:** fix spacing
588
+ - **modal:** adjust max height and overflow
589
+ - **multi-select:** style adjustments
590
+ - **multi-select:** support for all default key
591
+ - **multi-select:** validation
592
+ - **multi-select:** support modals
593
+ - **multi-select:** null on item fix
594
+ - **multi-select:** fix intermittent errors in tag removal
595
+ - **radio:** remove padding
596
+ - **radio:** change padding on label and helper text
597
+ - **radio:** remove invalid line and fix css
598
+ - **radio:** change gap between elements to 0.5rem
599
+ - **radio:** change the styling in focus visible to a variable
600
+ - **search-field:** update icon size
601
+ - **search-field:** inherit focus from text-field
602
+ - **search-field:** fix padding to remove style error between button and input
603
+ - **select:** remove padding and add variables
604
+ - **select:** fix list spacing
605
+ - **select:** use client
606
+ - **select:** change to lucide icon
607
+ - **select:** fix icon alignment
608
+ - **select:** remove hard value
609
+ - **select:** add aria-expanded to css to rotate chevron icon
610
+ - **select:** change to border
611
+ - **select:** update icon size
612
+ - **select:** change box-shadow to border
613
+ - **select:** change the styling in focus visible to a variable
614
+ - **select:** support modals
615
+ - **table:** update icon size
616
+ - **tabs:** new focus state
617
+ - **tabs:** fix styles
618
+ - **tabs:** responsive
619
+ - **tag:** styling + dismissable
620
+ - **text-field:** fix text color in invald error to red color
621
+ - **textarea:** fix handleChange run when element focus
622
+ - **textarea:** remove focus animation
623
+ - **textarea:** fix focus
624
+ - **textarea:** fix to show the error when the characters be more from max
625
+ - **textarea:** change color
626
+ - **textarea:** change error message at maxCharacters
627
+ - **text-field:** remove padding
628
+ - **text-field:** fix alignment
629
+ - **text-field:** fix error message alignment
630
+ - **text-field:** fix text color in invald error to red color
631
+ - **text-field:** update icon size
632
+ - **text-field:** remove focus animation
633
+ - **text-field:** fix focus
634
+ - **text-field:** change error message when > maxCharacter
635
+ - **text-field, textarea:** fix spacing
636
+ - **toast:** larger icon
637
+ - **toast:** fix button size + new build
638
+ - **toast:** update icon size
639
+ - **toast:** new focus state
640
+ - **ui:** add modal
641
+
642
+ ### ⚠️ Breaking Changes
362
643
 
363
- ### ❤️ Thank You
644
+ - **modal:** new API
645
+ - **card:** new card api
646
+ - ⚠️ **toast:** new build
647
+ - ⚠️ **text-field:** new build
648
+ - ⚠️ **textarea:** new build
649
+ - ⚠️ **tabs:** new build
650
+ - ⚠️ **table:** new build
651
+ - ⚠️ **spinner:** new build
652
+ - ⚠️ **select:** new build
653
+ - ⚠️ **search-field:** new build
654
+ - ⚠️ **radio:** new build + replace vite test
655
+ - ⚠️ **logo:** new build
656
+ - ⚠️ **link-button:** new build
657
+ - ⚠️ **link:** new build
658
+ - ⚠️ **info-banner:** new build
659
+ - ⚠️ **grid:** new build
660
+ - ⚠️ **flex:** new build
661
+ - ⚠️ **file-upload:** new build
662
+ - ⚠️ **date-picker:** new build
663
+ - ⚠️ **combobox:** new build
664
+ - ⚠️ **checkbox:** new build
665
+ - ⚠️ **card:** new build
666
+ - ⚠️ **button:** new build
667
+ - ⚠️ **breadcrumbs:** new build
668
+ - ⚠️ **accordion:** new build
669
+
670
+ # Changelog
671
+
672
+ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
673
+
674
+ ---
364
675
 
365
- - jabir Khalil
366
- - Wilhelm Hjelm