5.2 KiB
5.2 KiB
@medusajs/icons
2.0.3
2.0.2
2.0.1
2.0.0
Major Changes
- #7341
2e42e053d4c9d5445d227bdc268c66713aad8e2eThanks @olivermrbl! - chore: Medusa 2.0
1.2.1
Patch Changes
- #6428
44d43e8155Thanks @kasperkristensen! - feat(medusa,medusa-js,medusa-react,icons): Fixes GET /admin/products/:id/variants endpoint in the core, and medusa-js and medusa-react. Pulls latest icons from Figma into@medusajs/icons.
1.2.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.
1.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.
1.0.1
Patch 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.
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.