1 # @medusajs/ui
2
3 ## 4.2.6
4
5 ### Patch Changes
6
7 - Updated dependencies []:
8 - @medusajs/icons@2.21.2
9
10 ## 4.2.5
11
12 ### Patch Changes
13
14 - Updated dependencies []:
15 - @medusajs/icons@2.21.1
16
17 ## 4.2.4
18
19 ### Patch Changes
20
21 - Updated dependencies []:
22 - @medusajs/icons@2.21.0
23
24 ## 4.2.3
25
26 ### Patch Changes
27
28 - Updated dependencies []:
29 - @medusajs/icons@2.20.1
30
31 ## 4.2.2
32
33 ### Patch Changes
34
35 - Updated dependencies []:
36 - @medusajs/icons@2.20.0
37
38 ## 4.2.1
39
40 ### Patch Changes
41
42 - Updated dependencies [[`5105fec20908cf7bcd7f5f859674acdd8a38b982`](https://github.com/medusajs/medusa/commit/5105fec20908cf7bcd7f5f859674acdd8a38b982)]:
43 - @medusajs/icons@2.19.0
44
45 ## 4.2.0
46
47 ### Minor Changes
48
49 - [#16025](https://github.com/medusajs/medusa/pull/16025) [`e61285a935b0cae42603f8bb9e10569fd0a51169`](https://github.com/medusajs/medusa/commit/e61285a935b0cae42603f8bb9e10569fd0a51169) Thanks [@NicolasGorga](https://github.com/NicolasGorga)! - feat(dashboard,settings,ui,types): implement configurable data tables end to end in admin dashboard
50
51 ### Patch Changes
52
53 - [#14661](https://github.com/medusajs/medusa/pull/14661) [`8f97e3f3710a2bae662415dac7098e1c6e60c3c9`](https://github.com/medusajs/medusa/commit/8f97e3f3710a2bae662415dac7098e1c6e60c3c9) Thanks [@NicolasGorga](https://github.com/NicolasGorga)! - feat(dashboard,admin-vite-plugin,admin-shared,ui,settings,js-sdk,types): view configuration UI enhancements — dynamic filter/sort resolution, custom cell renderer registration, property labels management UI
54
55 - Updated dependencies []:
56 - @medusajs/icons@2.18.0
57
58 ## 4.1.19
59
60 ### Patch Changes
61
62 - [#15683](https://github.com/medusajs/medusa/pull/15683) [`de58ec503bcd82aae3fe576f9a404c36e2525f4c`](https://github.com/medusajs/medusa/commit/de58ec503bcd82aae3fe576f9a404c36e2525f4c) Thanks [@Floofy6](https://github.com/Floofy6)! - chore: add package bugs metadata
63
64 - Updated dependencies [[`de58ec503bcd82aae3fe576f9a404c36e2525f4c`](https://github.com/medusajs/medusa/commit/de58ec503bcd82aae3fe576f9a404c36e2525f4c)]:
65 - @medusajs/icons@2.17.2
66
67 ## 4.1.18
68
69 ### Patch Changes
70
71 - Updated dependencies []:
72 - @medusajs/icons@2.17.1
73
74 ## 4.1.17
75
76 ### Patch Changes
77
78 - Updated dependencies []:
79 - @medusajs/icons@2.17.0
80
81 ## 4.1.16
82
83 ### Patch Changes
84
85 - Updated dependencies []:
86 - @medusajs/icons@2.16.0
87
88 ## 4.1.15
89
90 ### Patch Changes
91
92 - Updated dependencies []:
93 - @medusajs/icons@2.15.5
94
95 ## 4.1.14
96
97 ### Patch Changes
98
99 - Updated dependencies []:
100 - @medusajs/icons@2.15.4
101
102 ## 4.1.13
103
104 ### Patch Changes
105
106 - [#15424](https://github.com/medusajs/medusa/pull/15424) [`18a410c48d9d928de6e63d9577782480c3308e6b`](https://github.com/medusajs/medusa/commit/18a410c48d9d928de6e63d9577782480c3308e6b) Thanks [@christiananese](https://github.com/christiananese)! - Added an OtpInput component for segmented numeric verification codes.
107
108 - Updated dependencies [[`ac0a8b63d16518eae7c5370171b76bdf2d8dc2c5`](https://github.com/medusajs/medusa/commit/ac0a8b63d16518eae7c5370171b76bdf2d8dc2c5)]:
109 - @medusajs/icons@2.15.3
110
111 ## 4.1.12
112
113 ### Patch Changes
114
115 - Updated dependencies []:
116 - @medusajs/icons@2.15.2
117
118 ## 4.1.11
119
120 ### Patch Changes
121
122 - Updated dependencies []:
123 - @medusajs/icons@2.15.1
124
125 ## 4.1.10
126
127 ### Patch Changes
128
129 - Updated dependencies []:
130 - @medusajs/icons@2.15.0
131
132 ## 4.1.9
133
134 ### Patch Changes
135
136 - Updated dependencies []:
137 - @medusajs/icons@2.14.2
138
139 ## 4.1.8
140
141 ### Patch Changes
142
143 - Updated dependencies []:
144 - @medusajs/icons@2.14.1
145
146 ## 4.1.7
147
148 ### Patch Changes
149
150 - Updated dependencies [[`9757a6a8d19b3e819c43ae5a29f35c65fdce9c34`](https://github.com/medusajs/medusa/commit/9757a6a8d19b3e819c43ae5a29f35c65fdce9c34)]:
151 - @medusajs/icons@2.14.0
152
153 ## 4.1.6
154
155 ### Patch Changes
156
157 - Updated dependencies []:
158 - @medusajs/icons@2.13.6
159
160 ## 4.1.5
161
162 ### Patch Changes
163
164 - Updated dependencies []:
165 - @medusajs/icons@2.13.5
166
167 ## 4.1.4
168
169 ### Patch Changes
170
171 - [#14849](https://github.com/medusajs/medusa/pull/14849) [`4efa4a6d8f10d1864156b575c7d867048deb6e93`](https://github.com/medusajs/medusa/commit/4efa4a6d8f10d1864156b575c7d867048deb6e93) Thanks [@fPolic](https://github.com/fPolic)! - fix(ui): propagate data table scroll
172
173 - Updated dependencies []:
174 - @medusajs/icons@2.13.4
175
176 ## 4.1.3
177
178 ### Patch Changes
179
180 - Updated dependencies []:
181 - @medusajs/icons@2.13.3
182
183 ## 4.1.2
184
185 ### Patch Changes
186
187 - [#14160](https://github.com/medusajs/medusa/pull/14160) [`63e50fd6a4430dbb7737d1223818f8d27bb3d53b`](https://github.com/medusajs/medusa/commit/63e50fd6a4430dbb7737d1223818f8d27bb3d53b) Thanks [@adevinwild](https://github.com/adevinwild)! - fix(ui): stale filters when selecting a view (VIEW_CONFIUGRATIONS_FF)
188
189 - Updated dependencies [[`873571a7c9471a28732ac7fad70ff66c28571a0e`](https://github.com/medusajs/medusa/commit/873571a7c9471a28732ac7fad70ff66c28571a0e)]:
190 - @medusajs/icons@2.13.2
191
192 ## 4.1.1
193
194 ### Patch Changes
195
196 - Updated dependencies []:
197 - @medusajs/icons@2.13.1
198
199 ## 4.1.0
200
201 ### Minor Changes
202
203 - [`a31e72c31c5235240cead2d04e39e5927688eec7`](https://github.com/medusajs/medusa/commit/a31e72c31c5235240cead2d04e39e5927688eec7) Thanks [@olivermrbl](https://github.com/olivermrbl)! - chore: Minor bump
204
205 ### Patch Changes
206
207 - Updated dependencies [[`a31e72c31c5235240cead2d04e39e5927688eec7`](https://github.com/medusajs/medusa/commit/a31e72c31c5235240cead2d04e39e5927688eec7)]:
208 - @medusajs/icons@2.13.0
209
210 ## 4.0.34
211
212 ### Patch Changes
213
214 - Updated dependencies []:
215 - @medusajs/icons@2.12.6
216
217 ## 4.0.33
218
219 ### Patch Changes
220
221 - Updated dependencies []:
222 - @medusajs/icons@2.12.5
223
224 ## 4.0.32
225
226 ### Patch Changes
227
228 - [#14464](https://github.com/medusajs/medusa/pull/14464) [`d54589751c7f929c173c500344ce5689b8a5dc15`](https://github.com/medusajs/medusa/commit/d54589751c7f929c173c500344ce5689b8a5dc15) Thanks [@adrien2p](https://github.com/adrien2p)! - feat(translation): Improve translation alert in empty languages state
229
230 - Updated dependencies []:
231 - @medusajs/icons@2.12.4
232
233 ## 4.0.31
234
235 ### Patch Changes
236
237 - Updated dependencies [[`a43eb11d6565d19e82cf2b06e262ab509214b3d4`](https://github.com/medusajs/medusa/commit/a43eb11d6565d19e82cf2b06e262ab509214b3d4)]:
238 - @medusajs/icons@2.12.3
239
240 ## 4.0.30
241
242 ### Patch Changes
243
244 - Updated dependencies []:
245 - @medusajs/icons@2.12.2
246
247 ## 4.0.29
248
249 ### Patch Changes
250
251 - Updated dependencies []:
252 - @medusajs/icons@2.12.1
253
254 ## 4.0.28
255
256 ### Patch Changes
257
258 - Updated dependencies []:
259 - @medusajs/icons@2.12.0
260
261 ## 4.0.27
262
263 ### Patch Changes
264
265 - [#13910](https://github.com/medusajs/medusa/pull/13910) [`224ab39a81e8d3cf3d6fa3ff5eee82541f64728d`](https://github.com/medusajs/medusa/commit/224ab39a81e8d3cf3d6fa3ff5eee82541f64728d) Thanks [@adrien2p](https://github.com/adrien2p)! - chore(): Dependencies cleanup and improvements
266
267 - [#13940](https://github.com/medusajs/medusa/pull/13940) [`afb40d437b3cc4ceb015df70985b2f005f40eaff`](https://github.com/medusajs/medusa/commit/afb40d437b3cc4ceb015df70985b2f005f40eaff) Thanks [@adrien2p](https://github.com/adrien2p)! - chore(): Cleanup and organize deps
268
269 - [#13932](https://github.com/medusajs/medusa/pull/13932) [`37563987b8fe75c9acfe62957a33e8398977647a`](https://github.com/medusajs/medusa/commit/37563987b8fe75c9acfe62957a33e8398977647a) Thanks [@adrien2p](https://github.com/adrien2p)! - chore(): Fix dependencies vulnerabilities
270
271 - Updated dependencies [[`224ab39a81e8d3cf3d6fa3ff5eee82541f64728d`](https://github.com/medusajs/medusa/commit/224ab39a81e8d3cf3d6fa3ff5eee82541f64728d), [`afb40d437b3cc4ceb015df70985b2f005f40eaff`](https://github.com/medusajs/medusa/commit/afb40d437b3cc4ceb015df70985b2f005f40eaff), [`37563987b8fe75c9acfe62957a33e8398977647a`](https://github.com/medusajs/medusa/commit/37563987b8fe75c9acfe62957a33e8398977647a)]:
272 - @medusajs/icons@2.11.3
273
274 ## 4.0.26
275
276 ### Patch Changes
277
278 - Updated dependencies []:
279 - @medusajs/icons@2.11.2
280
281 ## 4.0.25
282
283 ### Patch Changes
284
285 - Updated dependencies []:
286 - @medusajs/icons@2.11.1
287
288 ## 4.0.24
289
290 ### Patch Changes
291
292 - Updated dependencies []:
293 - @medusajs/icons@2.11.0
294
295 ## 4.0.23
296
297 ### Patch Changes
298
299 - Updated dependencies []:
300 - @medusajs/icons@2.10.3
301
302 ## 4.0.22
303
304 ### Patch Changes
305
306 - Updated dependencies []:
307 - @medusajs/icons@2.10.2
308
309 ## 4.0.21
310
311 ### Patch Changes
312
313 - Updated dependencies []:
314 - @medusajs/icons@2.10.1
315
316 ## 4.0.20
317
318 ### Patch Changes
319
320 - [#13092](https://github.com/medusajs/medusa/pull/13092) [`5b7a0412463ebab1dbc86c29024c1fd326ac47fc`](https://github.com/medusajs/medusa/commit/5b7a0412463ebab1dbc86c29024c1fd326ac47fc) Thanks [@fPolic](https://github.com/fPolic)! - chore(ui): display toast in top right corner
321
322 - Updated dependencies []:
323 - @medusajs/icons@2.10.0
324
325 ## 4.0.19
326
327 ### Patch Changes
328
329 - Updated dependencies []:
330 - @medusajs/icons@2.9.0
331
332 ## 4.0.18
333
334 ### Patch Changes
335
336 - Updated dependencies []:
337 - @medusajs/icons@2.8.8
338
339 ## 4.0.17
340
341 ### Patch Changes
342
343 - Updated dependencies []:
344 - @medusajs/icons@2.8.7
345
346 ## 4.0.16
347
348 ### Patch Changes
349
350 - [#12855](https://github.com/medusajs/medusa/pull/12855) [`4b224d5effda952d7d87b96dd30407178edf4115`](https://github.com/medusajs/medusa/commit/4b224d5effda952d7d87b96dd30407178edf4115) Thanks [@peterlgh7](https://github.com/peterlgh7)! - fix: fix onScroll in Select.Content
351
352 - Updated dependencies []:
353 - @medusajs/icons@2.8.6
354
355 ## 4.0.15
356
357 ### Patch Changes
358
359 - Updated dependencies []:
360 - @medusajs/icons@2.8.5
361
362 ## 4.0.14
363
364 ### Patch Changes
365
366 - Updated dependencies []:
367 - @medusajs/icons@2.8.4
368
369 ## 4.0.13
370
371 ### Patch Changes
372
373 - Updated dependencies []:
374 - @medusajs/icons@2.8.3
375
376 ## 4.0.12
377
378 ### Patch Changes
379
380 - Updated dependencies []:
381 - @medusajs/icons@2.8.2
382
383 ## 4.0.11
384
385 ### Patch Changes
386
387 - Updated dependencies []:
388 - @medusajs/icons@2.8.1
389
390 ## 4.0.10
391
392 ### Patch Changes
393
394 - [#12309](https://github.com/medusajs/medusa/pull/12309) [`4f6362b1cb1b84f01cc4cd277981aae7ae5797c9`](https://github.com/medusajs/medusa/commit/4f6362b1cb1b84f01cc4cd277981aae7ae5797c9) Thanks [@fPolic](https://github.com/fPolic)! - fix(design-system): filter/sorting menu tooltip error
395
396 - Updated dependencies []:
397 - @medusajs/icons@2.8.0
398
399 ## 4.0.9
400
401 ### Patch Changes
402
403 - Updated dependencies []:
404 - @medusajs/icons@2.7.1
405
406 ## 4.0.8
407
408 ### Patch Changes
409
410 - [#11442](https://github.com/medusajs/medusa/pull/11442) [`c40fb01d9200283c5d69f3295e65fccc56a9a76f`](https://github.com/medusajs/medusa/commit/c40fb01d9200283c5d69f3295e65fccc56a9a76f) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(ui): Disable select cells if the row cannot be selected
411
412 - Updated dependencies [[`cc4c5c86e227a6693d53ea6b5b9e62d0a7c57fa2`](https://github.com/medusajs/medusa/commit/cc4c5c86e227a6693d53ea6b5b9e62d0a7c57fa2)]:
413 - @medusajs/icons@2.7.0
414
415 ## 4.0.7
416
417 ### Patch Changes
418
419 - [#11738](https://github.com/medusajs/medusa/pull/11738) [`3b470f41427e487c68f89b8ee8155de716ffe861`](https://github.com/medusajs/medusa/commit/3b470f41427e487c68f89b8ee8155de716ffe861) Thanks [@olivermrbl](https://github.com/olivermrbl)! - chore: Remove ranges on Medusa packages
420
421 - Updated dependencies [[`3b470f41427e487c68f89b8ee8155de716ffe861`](https://github.com/medusajs/medusa/commit/3b470f41427e487c68f89b8ee8155de716ffe861)]:
422 - @medusajs/icons@2.6.1
423
424 ## 4.0.6
425
426 ### Patch Changes
427
428 - [#11575](https://github.com/medusajs/medusa/pull/11575) [`38a57b1ddcaabeba78dba626b7ec7985df107d07`](https://github.com/medusajs/medusa/commit/38a57b1ddcaabeba78dba626b7ec7985df107d07) Thanks [@shahednasser](https://github.com/shahednasser)! - chore(ui): explicitely specify the props type of InlineTip
429
430 - [#11462](https://github.com/medusajs/medusa/pull/11462) [`b53ea77658aa4f17b41bf52c9f51c5b7a425556b`](https://github.com/medusajs/medusa/commit/b53ea77658aa4f17b41bf52c9f51c5b7a425556b) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(ui,dashboard): Move InlineTip to UI package
431
432 - [#11414](https://github.com/medusajs/medusa/pull/11414) [`47edd01deec79b394552cea349f1e41b7b88723b`](https://github.com/medusajs/medusa/commit/47edd01deec79b394552cea349f1e41b7b88723b) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(admin-vite-plugin,admin-bundler,ui,icons,dashboard,framework,types): Update Vite dependencies
433
434 - Updated dependencies [[`47edd01deec79b394552cea349f1e41b7b88723b`](https://github.com/medusajs/medusa/commit/47edd01deec79b394552cea349f1e41b7b88723b)]:
435 - @medusajs/icons@2.5.1
436
437 ## 4.0.5
438
439 ### Patch Changes
440
441 - [#11361](https://github.com/medusajs/medusa/pull/11361) [`3dbef519d95cf694d06843cb694c0d2abdac2146`](https://github.com/medusajs/medusa/commit/3dbef519d95cf694d06843cb694c0d2abdac2146) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(admin-vite-plugin,icons,ui,dashboard): Upgrade vitest in all packages and align Vite version
442
443 - [#11106](https://github.com/medusajs/medusa/pull/11106) [`fcd3e2226ee389e89cc5b03defda9852cf99f624`](https://github.com/medusajs/medusa/commit/fcd3e2226ee389e89cc5b03defda9852cf99f624) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(ui,dashboard): Migrate SC tables to DataTable
444
445 - [#11357](https://github.com/medusajs/medusa/pull/11357) [`d00825485f14c1d13123046fdc8a18e9843b16ce`](https://github.com/medusajs/medusa/commit/d00825485f14c1d13123046fdc8a18e9843b16ce) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(ui,dashboard): Move Divider component to UI package
446
447 - [#11254](https://github.com/medusajs/medusa/pull/11254) [`3cf430729698c5f62fb6e6d0ebf06ea930981653`](https://github.com/medusajs/medusa/commit/3cf430729698c5f62fb6e6d0ebf06ea930981653) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(ui): Prevent Command from triggering while a editable field has focus"
448
449 - [#11368](https://github.com/medusajs/medusa/pull/11368) [`3f6425badae771a62c98508f9e6ceab20cee9354`](https://github.com/medusajs/medusa/commit/3f6425badae771a62c98508f9e6ceab20cee9354) Thanks [@pnodet](https://github.com/pnodet)! - fix(ui): add missing use client directives
450
451 - [#11195](https://github.com/medusajs/medusa/pull/11195) [`9822bd930b55f1dfe9429cc3dfc1c2d0d4edc754`](https://github.com/medusajs/medusa/commit/9822bd930b55f1dfe9429cc3dfc1c2d0d4edc754) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - chore(ui,dashboard): Use radix-ui package
452
453 - Updated dependencies [[`3dbef519d95cf694d06843cb694c0d2abdac2146`](https://github.com/medusajs/medusa/commit/3dbef519d95cf694d06843cb694c0d2abdac2146)]:
454 - @medusajs/icons@2.5.0
455
456 ## 4.0.4
457
458 ### Patch Changes
459
460 - [#11075](https://github.com/medusajs/medusa/pull/11075) [`7feb004600fdbf8bf32b13695fd7f41229d43b52`](https://github.com/medusajs/medusa/commit/7feb004600fdbf8bf32b13695fd7f41229d43b52) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(ui): Fix position of Checkbox indicator
461
462 - [#10024](https://github.com/medusajs/medusa/pull/10024) [`147c0e5a353b57d3a17db3b572334db58c830b3c`](https://github.com/medusajs/medusa/commit/147c0e5a353b57d3a17db3b572334db58c830b3c) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(ui,dashboard): Add new DataTable block
463
464 - Updated dependencies []:
465 - @medusajs/icons@2.4.0
466
467 ## 4.0.3
468
469 ### Patch Changes
470
471 - [#10458](https://github.com/medusajs/medusa/pull/10458) [`f7aaf2c8bb243c8478a943285628ba8eb331feb6`](https://github.com/medusajs/medusa/commit/f7aaf2c8bb243c8478a943285628ba8eb331feb6) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - chore(ui,icons): Add React 19/19-rc to peer dependencies
472
473 - [#10753](https://github.com/medusajs/medusa/pull/10753) [`3253e19b3603adacd913b8cbb3e88c9beb0c931a`](https://github.com/medusajs/medusa/commit/3253e19b3603adacd913b8cbb3e88c9beb0c931a) Thanks [@shahednasser](https://github.com/shahednasser)! - chore(ui): general updates and fixes to TSDocs and types
474
475 - Updated dependencies [[`f7aaf2c8bb243c8478a943285628ba8eb331feb6`](https://github.com/medusajs/medusa/commit/f7aaf2c8bb243c8478a943285628ba8eb331feb6)]:
476 - @medusajs/icons@2.2.0
477
478 ## 4.0.2
479
480 ### Patch Changes
481
482 - [#10481](https://github.com/medusajs/medusa/pull/10481) [`c9a66b19afcfcc626f9e2e4531771dc36f66a65e`](https://github.com/medusajs/medusa/commit/c9a66b19afcfcc626f9e2e4531771dc36f66a65e) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(dashboard,ui): Bring ConditionBlock in line with design
483
484 - Updated dependencies []:
485 - @medusajs/icons@2.1.1
486
487 ## 4.0.1
488
489 ### Patch Changes
490
491 - [#9775](https://github.com/medusajs/medusa/pull/9775) [`59e6747800133e091d20c2c167f600981abc5c0d`](https://github.com/medusajs/medusa/commit/59e6747800133e091d20c2c167f600981abc5c0d) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(dashboard,ui): DateFilter should remain open
492
493 - Updated dependencies []:
494 - @medusajs/icons@2.0.1
495
496 ## 4.0.0
497
498 ### Major Changes
499
500 - [#7341](https://github.com/medusajs/medusa/pull/7341) [`2e42e053d4c9d5445d227bdc268c66713aad8e2e`](https://github.com/medusajs/medusa/commit/2e42e053d4c9d5445d227bdc268c66713aad8e2e) Thanks [@olivermrbl](https://github.com/olivermrbl)! - chore: Medusa 2.0
501
502 ### Patch Changes
503
504 - Updated dependencies [[`2e42e053d4c9d5445d227bdc268c66713aad8e2e`](https://github.com/medusajs/medusa/commit/2e42e053d4c9d5445d227bdc268c66713aad8e2e)]:
505 - @medusajs/icons@2.0.0
506
507 ## 3.0.0
508
509 ### Major Changes
510
511 - [#7076](https://github.com/medusajs/medusa/pull/7076) [`c3260a2c5a`](https://github.com/medusajs/medusa/commit/c3260a2c5add86ada641db91e834d9f9de62ed14) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(ui): Re-work `<Toaster />` and `<Toast />` based on `sonner`.
512
513 This update contains breaking changes to how toasts work in `@medusajs/ui`. This update has been made to provide a better user experience and to make it easier to use toasts in your Medusa application.
514
515 ### BREAKING CHANGES
516
517 The `useToast` hook has been removed. Users should instead use the `toast` function that is exported from the `@medusajs/ui` package. This function can be used to show toasts in your application. For more information on how to use the `toast` function, please refer to the documentation.
518
519 The `Toaster` component is still available but the options for the component have changed. The default position has been changed to `bottom-right`. For more information on the `Toaster` component, please refer to the documentation.
520
521 ## 2.4.3
522
523 ### Patch Changes
524
525 - [#6779](https://github.com/medusajs/medusa/pull/6779) [`247ca3c3fa`](https://github.com/medusajs/medusa/commit/247ca3c3fadd69a1e90415041643727b53458e41) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(ui): Ensure that Hint's with variant 'error' are not squished when constrained.
526
527 - [#6680](https://github.com/medusajs/medusa/pull/6680) [`26531c5a38`](https://github.com/medusajs/medusa/commit/26531c5a38bf09ab3e77a1444cefd65a073ae713) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(ui-preset): Pull latest styles from Figma.
528 fix(ui): Fix invalid state styling of Select, so it correctly shows when aria-invalid is true.
529 fix(medusa): Align query params between `/admin/products/:id/variants` and `/admin/variants`.
530 chore(client-types): Update `medusa` client types to reflect changes to the API.
531
532 ## 2.4.2
533
534 ### Patch Changes
535
536 - [#6347](https://github.com/medusajs/medusa/pull/6347) [`869dc751a0`](https://github.com/medusajs/medusa/commit/869dc751a041abc70b2eb9acb36e147d7fd4fd62) Thanks [@github-actions](https://github.com/apps/github-actions)! - fix(ui): explicitly specify props type
537
538 - [#6564](https://github.com/medusajs/medusa/pull/6564) [`2d00625729`](https://github.com/medusajs/medusa/commit/2d00625729e7dab02149751327239992dea3a8e1) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(medusa,ui) Export param types for workflow endpoints. Add support for JSON to CodeBlock component.
539
540 - [#6380](https://github.com/medusajs/medusa/pull/6380) [`d37ff8024d`](https://github.com/medusajs/medusa/commit/d37ff8024d8affbe84db3c0b6d79cd41016bfac4) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(medusa,ui): Fixes list query params for the following endpoints: "/admin/customers", "/admin/customer-groups", "/admin/gift-cards", and "/admin/collections".
541
542 - [#6534](https://github.com/medusajs/medusa/pull/6534) [`44a5567d0d`](https://github.com/medusajs/medusa/commit/44a5567d0df71fb85a566e29748a6c8e21272163) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(ui): Left aligns text in RadioGroup.Choicebox component.
543
544 - Updated dependencies [[`44d43e8155`](https://github.com/medusajs/medusa/commit/44d43e8155d1b1ca0af5e900787411c7d0b027c0)]:
545 - @medusajs/icons@1.2.1
546
547 ## 2.4.1
548
549 ### Patch Changes
550
551 - [#6357](https://github.com/medusajs/medusa/pull/6357) [`85a44dfd0`](https://github.com/medusajs/medusa/commit/85a44dfd017ab53b539bcfca04a32f1a0786a23c) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(ui,ui-preset): Fixes an issue where the color styles of two code components was broken
552
553 ## 2.4.0
554
555 ### Minor Changes
556
557 - [#6310](https://github.com/medusajs/medusa/pull/6310) [`73fd92a1a`](https://github.com/medusajs/medusa/commit/73fd92a1afdec88c0d5f4aeed16349f2bd62cfa2) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(ui): Add Alert component.
558
559 ### Patch Changes
560
561 - [#6297](https://github.com/medusajs/medusa/pull/6297) [`8cbf6c60f`](https://github.com/medusajs/medusa/commit/8cbf6c60fec7fe8ddf59dcf420b9339f84b8636c) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(ui,ui-preset): Update to latest version of TailwindCSS. Increase spacing between columns in <Table /> component.
562
563 ## 2.3.0
564
565 ### Minor Changes
566
567 - [#6061](https://github.com/medusajs/medusa/pull/6061) [`a2c149e7e5`](https://github.com/medusajs/medusa/commit/a2c149e7e588a9ebf080b4b43472bdb5126ed981) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feat(ui): Updates spacing and sizing of components. Introduces new `size` variants for some components, such as `Button`, `IconButton`, and `Avatar`. Change most `:focus` styles to `:focus-visible` styles, to prevenent focus styles from being visible when not needed, such as on button clicks.
568 feat(ui-preset): Publishes latest updates to our design system styles, as well as adding new colors. Noticable changes include changing `ui-code-text-*` styles to `ui-code-fg-*` for better consistency.
569 feat(icons): Updates the `LockClosedSolid` and `LockOpenSolid` icons, and introduces four new icons: `LockClosedSolidMini`, `TriangleLeftMini`, `TriangleRightMini`, and `TriangleMini`.
570
571 ### Patch Changes
572
573 - [#6162](https://github.com/medusajs/medusa/pull/6162) [`c37c82c5b`](https://github.com/medusajs/medusa/commit/c37c82c5b5c046124b82750530d555b2996147cc) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - feature(ui): Adds a `size` variant to `<Copy />` component, and prevent clicks from propigating to parent elements". Also adds additional sizes to the `<Avatar />` component.
574
575 - [#6120](https://github.com/medusajs/medusa/pull/6120) [`e49b6944e3`](https://github.com/medusajs/medusa/commit/e49b6944e3380a4ee0de086e173901d643ec800c) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(ui): Fix broken responsive style of Drawer between `sm` and `md`.
576
577 - Updated dependencies [[`a2c149e7e5`](https://github.com/medusajs/medusa/commit/a2c149e7e588a9ebf080b4b43472bdb5126ed981)]:
578 - @medusajs/icons@1.2.0
579
580 ## 2.2.4
581
582 ### Patch Changes
583
584 - [#5818](https://github.com/medusajs/medusa/pull/5818) [`591ba2388`](https://github.com/medusajs/medusa/commit/591ba2388d9768f70ca2faf48d353e5a65e4e123) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(ui): Bump 'class-variance-authority' to 'cva@beta' and update usage to new API. Also fix the naming of usePrompt types
585
586 ## 2.2.3
587
588 ### Patch Changes
589
590 - [#5692](https://github.com/medusajs/medusa/pull/5692) [`b25b29fe7`](https://github.com/medusajs/medusa/commit/b25b29fe7ba3bc9fca8da7a6b10461437a3e4d2d) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(ui): Update the styling of CodeBlock
591
592 ## 2.2.2
593
594 ### Patch Changes
595
596 - [#5640](https://github.com/medusajs/medusa/pull/5640) [`a67a8e7e9`](https://github.com/medusajs/medusa/commit/a67a8e7e90f35636c8d99858fc5b19358df4c174) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(ui): Fix the width of line numbers in the CodeBlock component, such that they are always the same width as the widest line number.
597
598 ## 2.2.1
599
600 ### Patch Changes
601
602 - [#5596](https://github.com/medusajs/medusa/pull/5596) [`e3f1da92d`](https://github.com/medusajs/medusa/commit/e3f1da92db1a5bb07ae8d79a90f0d1d04f9bfee3) Thanks [@kasperkristensen](https://github.com/kasperkristensen)! - fix(admin-ui,ui): Align @types/react versions
603
604 ## 2.2.0
605
606 ### Minor Changes
607
608 - 7f58964: fix(ui): 2.2.0
609
610 # Changelog
611
612 ## `@medusajs/ui`
613
614 This minor release contains a few bug fixes and improvements, as well as a new primitive component.
615
616 ### Fixes
617
618 - Fixes an issue that was preventing the onChange event from firing for the `DatePicker` component when `showTimePicker` was false.
619 - Fixes an issue where the `DatePicker` component would fire the onChange event when clicking outside of the component. It now only fires the event when the "Apply" button is clicked.
620
621 ### New Components
622
623 - Adds a new `Popover` component. This component is a primitive component that can be used to create popovers. It shares much of the same styling as the `DropdownMenu` component, and can be used as a replacement when building highly customized dropdowns where the `DropdownMenu` component is not flexible enough.
624
625 ## 2.1.0
626
627 ### Minor Changes
628
629 - 035fa72: feat(ui,ui-preset): Release 2.1.0
630
631 ## `@medusajs/ui`
632
633 - The styling of buttons, inputs, and the CommandBar has been adjusted to have a more consistent look and feel.
634 - Fixed an issue that caused DropdownMenu.Content to overflow the viewport.
635 - Fixed an issue with the DatePicker component where deleting a time segment would throw an error.
636 - The Text component now accepts a `leading` prop to adjust the line height. It can be set to `normal` (default) or `compact`. This change in the API is fully backwards compatible.
637 - Adds a new subcomponent to RadioGroup called RadioGroup.ChoiceBox. This component wraps the RadioGroup.Item component with a mandatory label and description.
638
639 ## `@medusajs/ui-preset`
640
641 - Updated several colors, shadows, and gradient effects.
642
643 ## `@medusajs/icons`
644
645 - Introduces 6 new icons: QuestionMark, SparklesMiniSolid, SparklesMini, ThumbDown, ThumbUp, and UserCircleMini.
646 - There have been slight adjustments made to ArrowPathMini, EllipseBlueSolid, EllipseGreenSolid, EllipseGreySolid, EllipseOrangeSolid, EllipsePurpleSolid, and EllipseRedSolid.
647
648 ### Patch Changes
649
650 - Updated dependencies [035fa72]
651 - @medusajs/icons@1.1.0
652
653 ## 2.0.0
654
655 ### Major Changes
656
657 - ef98084: feat(ui,icons,ui-preset): Update to Medusa UI, including new components, icons, and preset styles.
658
659 # Changes in `@medusajs/ui`
660
661 ## New components
662
663 - `IconButton` - A button that only contains an icon.
664 - `IconBadge` - A badge that only contains an icon.
665 - `StatusBadge` - A badge component specifically designed to be used for displaying statuses.
666 - `Tabs` - A tab component that can be used to switch between different views.
667 - `ProgressTabs` - A tab component specifically designed to be used for building multi-step tasks.
668 - `ProgressAccordion` - An accordion component specifically designed to be used for building multi-step tasks.
669 - `CurrencyInput` - An input component that can be used to input currency values.
670 - `CommandBar` - A component that can be used to display a list of keyboard commands omn the screen.
671 - `CurrencyInput` - An input component that can be used to input currency values, such as prices.
672
673 ## Breaking changes
674
675 Several components have been reorganized to streamline their API. The following components have breaking changes:
676
677 - Button - The `format` property has been removed. To create a Icon only button, use the new `IconButton` component.
678 - Badge - The `format` property has been removed. To create a Icon only badge, use the new `IconBadge` component. The border radius of the component is now controlled using the new `rounded` property.
679 - CodeBlock - The `hideLineNumbers` property has been moved to the `snippets` property. This allows users to control the visibility of line numbers on a per snippet basis.
680
681 ## Other changes
682
683 - The `z-index`'s of all components have been cleaned up to to make stacking portalled components easier.
684 - `Table.Pagination` has been tweaked to ensure that it displays the correct number of pages when there is no data.
685 - `Calendar` has been tweaked to prevent clicking a date from submitting any forms that precede it in the DOM.
686
687 # Changes in `@medusajs/icons`
688
689 ## New icons
690
691 - `X`
692 - `AcademicCap`
693 - `Figma`
694 - `Photo`
695 - `PuzzleSolid`
696 - `Text`
697
698 # Changes in `@medusajs/ui-preset`
699
700 Minor tweaks to colors, typography, and animations.
701
702 ### Patch Changes
703
704 - Updated dependencies [ef98084]
705 - @medusajs/icons@1.0.1
706
707 ## 1.0.0
708
709 ### Major Changes
710
711 - 8d31ce6: Release of the Medusa UI design system, includes three new packages: `@medusajs/ui` a set of React components, hooks, and utils; `@medusajs/icons` a set of React icons; `@medusajs/ui-preset` a Tailwind CSS preset containing Medusa UI design tokens.
712
713 ### Patch Changes
714
715 - Updated dependencies [8d31ce6]
716 - @medusajs/icons@1.0.0