Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
23 KiB
@medusajs/ui
4.0.32
Patch Changes
-
#14464
d54589751c7f929c173c500344ce5689b8a5dc15Thanks @adrien2p! - feat(translation): Improve translation alert in empty languages state -
Updated dependencies []:
4.0.31
Patch Changes
- Updated dependencies [
a43eb11d6565d19e82cf2b06e262ab509214b3d4]:
4.0.30
Patch Changes
- Updated dependencies []:
4.0.29
Patch Changes
- Updated dependencies []:
4.0.28
Patch Changes
- Updated dependencies []:
4.0.27
Patch Changes
-
#13910
224ab39a81e8d3cf3d6fa3ff5eee82541f64728dThanks @adrien2p! - chore(): Dependencies cleanup and improvements -
#13940
afb40d437b3cc4ceb015df70985b2f005f40eaffThanks @adrien2p! - chore(): Cleanup and organize deps -
#13932
37563987b8fe75c9acfe62957a33e8398977647aThanks @adrien2p! - chore(): Fix dependencies vulnerabilities -
Updated dependencies [
224ab39a81e8d3cf3d6fa3ff5eee82541f64728d,afb40d437b3cc4ceb015df70985b2f005f40eaff,37563987b8fe75c9acfe62957a33e8398977647a]:
4.0.26
Patch Changes
- Updated dependencies []:
4.0.25
Patch Changes
- Updated dependencies []:
4.0.24
Patch Changes
- Updated dependencies []:
4.0.23
Patch Changes
- Updated dependencies []:
4.0.22
Patch Changes
- Updated dependencies []:
4.0.21
Patch Changes
- Updated dependencies []:
4.0.20
Patch Changes
-
#13092
5b7a0412463ebab1dbc86c29024c1fd326ac47fcThanks @fPolic! - chore(ui): display toast in top right corner -
Updated dependencies []:
4.0.19
Patch Changes
- Updated dependencies []:
- @medusajs/icons@2.9.0
4.0.18
Patch Changes
- Updated dependencies []:
- @medusajs/icons@2.8.8
4.0.17
Patch Changes
- Updated dependencies []:
- @medusajs/icons@2.8.7
4.0.16
Patch Changes
-
#12855
4b224d5effda952d7d87b96dd30407178edf4115Thanks @peterlgh7! - fix: fix onScroll in Select.Content -
Updated dependencies []:
- @medusajs/icons@2.8.6
4.0.15
Patch Changes
- Updated dependencies []:
- @medusajs/icons@2.8.5
4.0.14
Patch Changes
- Updated dependencies []:
- @medusajs/icons@2.8.4
4.0.13
Patch Changes
- Updated dependencies []:
- @medusajs/icons@2.8.3
4.0.12
Patch Changes
- Updated dependencies []:
- @medusajs/icons@2.8.2
4.0.11
Patch Changes
- Updated dependencies []:
- @medusajs/icons@2.8.1
4.0.10
Patch Changes
-
#12309
4f6362b1cb1b84f01cc4cd277981aae7ae5797c9Thanks @fPolic! - fix(design-system): filter/sorting menu tooltip error -
Updated dependencies []:
- @medusajs/icons@2.8.0
4.0.9
Patch Changes
- Updated dependencies []:
- @medusajs/icons@2.7.1
4.0.8
Patch Changes
-
#11442
c40fb01d9200283c5d69f3295e65fccc56a9a76fThanks @kasperkristensen! - fix(ui): Disable select cells if the row cannot be selected -
Updated dependencies [
cc4c5c86e227a6693d53ea6b5b9e62d0a7c57fa2]:- @medusajs/icons@2.7.0
4.0.7
Patch Changes
-
#11738
3b470f41427e487c68f89b8ee8155de716ffe861Thanks @olivermrbl! - chore: Remove ranges on Medusa packages -
Updated dependencies [
3b470f41427e487c68f89b8ee8155de716ffe861]:- @medusajs/icons@2.6.1
4.0.6
Patch Changes
-
#11575
38a57b1ddcaabeba78dba626b7ec7985df107d07Thanks @shahednasser! - chore(ui): explicitely specify the props type of InlineTip -
#11462
b53ea77658aa4f17b41bf52c9f51c5b7a425556bThanks @kasperkristensen! - feat(ui,dashboard): Move InlineTip to UI package -
#11414
47edd01deec79b394552cea349f1e41b7b88723bThanks @kasperkristensen! - fix(admin-vite-plugin,admin-bundler,ui,icons,dashboard,framework,types): Update Vite dependencies -
Updated dependencies [
47edd01deec79b394552cea349f1e41b7b88723b]:- @medusajs/icons@2.5.1
4.0.5
Patch Changes
-
#11361
3dbef519d95cf694d06843cb694c0d2abdac2146Thanks @kasperkristensen! - fix(admin-vite-plugin,icons,ui,dashboard): Upgrade vitest in all packages and align Vite version -
#11106
fcd3e2226ee389e89cc5b03defda9852cf99f624Thanks @kasperkristensen! - feat(ui,dashboard): Migrate SC tables to DataTable -
#11357
d00825485f14c1d13123046fdc8a18e9843b16ceThanks @kasperkristensen! - feat(ui,dashboard): Move Divider component to UI package -
#11254
3cf430729698c5f62fb6e6d0ebf06ea930981653Thanks @kasperkristensen! - fix(ui): Prevent Command from triggering while a editable field has focus" -
#11368
3f6425badae771a62c98508f9e6ceab20cee9354Thanks @pnodet! - fix(ui): add missing use client directives -
#11195
9822bd930b55f1dfe9429cc3dfc1c2d0d4edc754Thanks @kasperkristensen! - chore(ui,dashboard): Use radix-ui package -
Updated dependencies [
3dbef519d95cf694d06843cb694c0d2abdac2146]:- @medusajs/icons@2.5.0
4.0.4
Patch Changes
-
#11075
7feb004600fdbf8bf32b13695fd7f41229d43b52Thanks @kasperkristensen! - fix(ui): Fix position of Checkbox indicator -
#10024
147c0e5a353b57d3a17db3b572334db58c830b3cThanks @kasperkristensen! - feat(ui,dashboard): Add new DataTable block -
Updated dependencies []:
- @medusajs/icons@2.4.0
4.0.3
Patch Changes
-
#10458
f7aaf2c8bb243c8478a943285628ba8eb331feb6Thanks @kasperkristensen! - chore(ui,icons): Add React 19/19-rc to peer dependencies -
#10753
3253e19b3603adacd913b8cbb3e88c9beb0c931aThanks @shahednasser! - chore(ui): general updates and fixes to TSDocs and types -
Updated dependencies [
f7aaf2c8bb243c8478a943285628ba8eb331feb6]:- @medusajs/icons@2.2.0
4.0.2
Patch Changes
-
#10481
c9a66b19afcfcc626f9e2e4531771dc36f66a65eThanks @kasperkristensen! - fix(dashboard,ui): Bring ConditionBlock in line with design -
Updated dependencies []:
- @medusajs/icons@2.1.1
4.0.1
Patch Changes
-
#9775
59e6747800133e091d20c2c167f600981abc5c0dThanks @kasperkristensen! - fix(dashboard,ui): DateFilter should remain open -
Updated dependencies []:
- @medusajs/icons@2.0.1
4.0.0
Major Changes
- #7341
2e42e053d4c9d5445d227bdc268c66713aad8e2eThanks @olivermrbl! - chore: Medusa 2.0
Patch Changes
- Updated dependencies [
2e42e053d4c9d5445d227bdc268c66713aad8e2e]:- @medusajs/icons@2.0.0
3.0.0
Major Changes
-
#7076
c3260a2c5aThanks @kasperkristensen! - feat(ui): Re-work<Toaster />and<Toast />based onsonner.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.BREAKING CHANGES
The
useToasthook has been removed. Users should instead use thetoastfunction that is exported from the@medusajs/uipackage. This function can be used to show toasts in your application. For more information on how to use thetoastfunction, please refer to the documentation.The
Toastercomponent is still available but the options for the component have changed. The default position has been changed tobottom-right. For more information on theToastercomponent, please refer to the documentation.
2.4.3
Patch Changes
-
#6779
247ca3c3faThanks @kasperkristensen! - fix(ui): Ensure that Hint's with variant 'error' are not squished when constrained. -
#6680
26531c5a38Thanks @kasperkristensen! - feat(ui-preset): Pull latest styles from Figma. fix(ui): Fix invalid state styling of Select, so it correctly shows when aria-invalid is true. fix(medusa): Align query params between/admin/products/:id/variantsand/admin/variants. chore(client-types): Updatemedusaclient types to reflect changes to the API.
2.4.2
Patch Changes
-
#6347
869dc751a0Thanks @github-actions! - fix(ui): explicitly specify props type -
#6564
2d00625729Thanks @kasperkristensen! - fix(medusa,ui) Export param types for workflow endpoints. Add support for JSON to CodeBlock component. -
#6380
d37ff8024dThanks @kasperkristensen! - fix(medusa,ui): Fixes list query params for the following endpoints: "/admin/customers", "/admin/customer-groups", "/admin/gift-cards", and "/admin/collections". -
#6534
44a5567d0dThanks @kasperkristensen! - fix(ui): Left aligns text in RadioGroup.Choicebox component. -
Updated dependencies [
44d43e8155]:- @medusajs/icons@1.2.1
2.4.1
Patch Changes
- #6357
85a44dfd0Thanks @kasperkristensen! - fix(ui,ui-preset): Fixes an issue where the color styles of two code components was broken
2.4.0
Minor Changes
- #6310
73fd92a1aThanks @kasperkristensen! - feat(ui): Add Alert component.
Patch Changes
- #6297
8cbf6c60fThanks @kasperkristensen! - feat(ui,ui-preset): Update to latest version of TailwindCSS. Increase spacing between columns in component.2.3.0
Minor Changes
- #6061
a2c149e7e5Thanks @kasperkristensen! - feat(ui): Updates spacing and sizing of components. Introduces newsizevariants for some components, such asButton,IconButton, andAvatar. Change most:focusstyles to:focus-visiblestyles, to prevenent focus styles from being visible when not needed, such as on button clicks. feat(ui-preset): Publishes latest updates to our design system styles, as well as adding new colors. Noticable changes include changingui-code-text-*styles toui-code-fg-*for better consistency. feat(icons): Updates theLockClosedSolidandLockOpenSolidicons, and introduces four new icons:LockClosedSolidMini,TriangleLeftMini,TriangleRightMini, andTriangleMini.
Patch Changes
-
#6162
c37c82c5bThanks @kasperkristensen! - feature(ui): Adds asizevariant to<Copy />component, and prevent clicks from propigating to parent elements". Also adds additional sizes to the<Avatar />component. -
#6120
e49b6944e3Thanks @kasperkristensen! - fix(ui): Fix broken responsive style of Drawer betweensmandmd. -
Updated dependencies [
a2c149e7e5]:- @medusajs/icons@1.2.0
2.2.4
Patch Changes
- #5818
591ba2388Thanks @kasperkristensen! - fix(ui): Bump 'class-variance-authority' to 'cva@beta' and update usage to new API. Also fix the naming of usePrompt types
2.2.3
Patch Changes
- #5692
b25b29fe7Thanks @kasperkristensen! - fix(ui): Update the styling of CodeBlock
2.2.2
Patch Changes
- #5640
a67a8e7e9Thanks @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.
2.2.1
Patch Changes
- #5596
e3f1da92dThanks @kasperkristensen! - fix(admin-ui,ui): Align @types/react versions
2.2.0
Minor Changes
-
7f58964: fix(ui): 2.2.0
Changelog
@medusajs/uiThis minor release contains a few bug fixes and improvements, as well as a new primitive component.
Fixes
- Fixes an issue that was preventing the onChange event from firing for the
DatePickercomponent whenshowTimePickerwas false. - Fixes an issue where the
DatePickercomponent would fire the onChange event when clicking outside of the component. It now only fires the event when the "Apply" button is clicked.
New Components
- Adds a new
Popovercomponent. This component is a primitive component that can be used to create popovers. It shares much of the same styling as theDropdownMenucomponent, and can be used as a replacement when building highly customized dropdowns where theDropdownMenucomponent is not flexible enough.
- Fixes an issue that was preventing the onChange event from firing for the
2.1.0
Minor Changes
-
035fa72: feat(ui,ui-preset): Release 2.1.0
@medusajs/ui- The styling of buttons, inputs, and the CommandBar has been adjusted to have a more consistent look and feel.
- Fixed an issue that caused DropdownMenu.Content to overflow the viewport.
- Fixed an issue with the DatePicker component where deleting a time segment would throw an error.
- The Text component now accepts a
leadingprop to adjust the line height. It can be set tonormal(default) orcompact. This change in the API is fully backwards compatible. - Adds a new subcomponent to RadioGroup called RadioGroup.ChoiceBox. This component wraps the RadioGroup.Item component with a mandatory label and description.
@medusajs/ui-preset- Updated several colors, shadows, and gradient effects.
@medusajs/icons- Introduces 6 new icons: QuestionMark, SparklesMiniSolid, SparklesMini, ThumbDown, ThumbUp, and UserCircleMini.
- There have been slight adjustments made to ArrowPathMini, EllipseBlueSolid, EllipseGreenSolid, EllipseGreySolid, EllipseOrangeSolid, EllipsePurpleSolid, and EllipseRedSolid.
Patch Changes
- Updated dependencies [035fa72]
- @medusajs/icons@1.1.0
2.0.0
Major Changes
-
ef98084: feat(ui,icons,ui-preset): Update to Medusa UI, including new components, icons, and preset styles.
Changes in
@medusajs/uiNew components
IconButton- A button that only contains an icon.IconBadge- A badge that only contains an icon.StatusBadge- A badge component specifically designed to be used for displaying statuses.Tabs- A tab component that can be used to switch between different views.ProgressTabs- A tab component specifically designed to be used for building multi-step tasks.ProgressAccordion- An accordion component specifically designed to be used for building multi-step tasks.CurrencyInput- An input component that can be used to input currency values.CommandBar- A component that can be used to display a list of keyboard commands omn the screen.CurrencyInput- An input component that can be used to input currency values, such as prices.
Breaking changes
Several components have been reorganized to streamline their API. The following components have breaking changes:
- Button - The
formatproperty has been removed. To create a Icon only button, use the newIconButtoncomponent. - Badge - The
formatproperty has been removed. To create a Icon only badge, use the newIconBadgecomponent. The border radius of the component is now controlled using the newroundedproperty. - CodeBlock - The
hideLineNumbersproperty has been moved to thesnippetsproperty. This allows users to control the visibility of line numbers on a per snippet basis.
Other changes
- The
z-index's of all components have been cleaned up to to make stacking portalled components easier. Table.Paginationhas been tweaked to ensure that it displays the correct number of pages when there is no data.Calendarhas been tweaked to prevent clicking a date from submitting any forms that precede it in the DOM.
Changes in
@medusajs/iconsNew icons
XAcademicCapFigmaPhotoPuzzleSolidText
Changes in
@medusajs/ui-presetMinor tweaks to colors, typography, and animations.
Patch Changes
- Updated dependencies [ef98084]
- @medusajs/icons@1.0.1
1.0.0
Major Changes
- 8d31ce6: Release of the Medusa UI design system, includes three new packages:
@medusajs/uia set of React components, hooks, and utils;@medusajs/iconsa set of React icons;@medusajs/ui-preseta Tailwind CSS preset containing Medusa UI design tokens.
Patch Changes
- Updated dependencies [8d31ce6]
- @medusajs/icons@1.0.0
- #6061