All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Updated the
blockClass
prop.
- Updated readme.md according to task LOC-10500.
- Deactivate item when is not open or hovered
- German translation.
- I18n issue in Menu Items content schema.
- Fix submenu stays open if mouse leaves menu.
node-notifier
to yarn resolutions field.
- Updated
husky
to v8
jsdom
andjest-environment-jsdom
to yarn resolutions field.
json-schema
to yarn resolutions field.
- Removed the description for the
iconId
and example.
- French, Spanish, Japanese, Italian, Korean and Dutch translation.
- Gitignore to include .vscode.
- Pseudolanguage
- Add categoryId back - it was mistakenly removed in the previous deploy
- IconId useless and duplicated not working properly on contentSchema.
- Add prop 'onMountBehavior' to allow opening submenu on mount.
- Bulgarian and Pseudolanguage translation.
- French, Italian, Japanese, Korean, Dutch and Romanian translation.
- Update schema to be able to change svg icon from Site Editor.
- Add CSS handles modifiers of open and close to menu item.
- I18n Fr, It, Kr and Nl.
- I18n Jp and Ro.
- Crowdin configuration file.
__editorItemTitle
in contentSchemas, now the user is able to differ menu items names
- I18n Ro and Jp.
- Crowdin configuration file.
- New
submenuColumn
CSS handle. classes
prop toColumn
,Menu
,MenuItem
,Submenu
andSubmenuAccordion
components.
vtex.css-handles
dependency from0.x
to1.x
.
- Close submenus whenever the URL changes.
- Allows enabling submenu rendering optimization on store settings.
- Add CSS handles modifiers of open and close to submenu.
- Prevent submenus being active if user leaves them very quickly.
- Avoid doing query if provided category ID is null in some components.
- Avoid breaking when
itemProps
isnull
.
- Bump dependencies versions.
- New CSS Handle
accordionIcon
.
- Make the
MenuItem
hover action less sensitive.
- Support for rendering child blocks inside a
menu-item
.
submenuWrapper
handle to submenu component.
- Does submenu rendering optimization--preventing unopened submenus from rendering--only under a prop (
experimentalOptimizeRendering
), instead of doing it by default.
- Another bug from translating urls in
menu-item
.
- Docs typo
- Docs typo
- Docs on submenu
- href prop in menu-item should be of type string and not a translatable text.
- New CSS handles.
- Updated CSS handles and changed
MenuLink
to function component.
- Update docs.
- Allow
info-card
,flex-layout
,notification
,rich-text
, andimage
insubmenu
.
Item
'sitemProps
was being overwritten by{...rest}
, this caused an issue where links modified in the site editor weren't clickable in the menu.
- Duplicate query name
category
.
- Issue on collapsible menu where it wouldn't open properly.
- Prevent submenu from rendering when it's not active.
- The
Menu
component is now using the list context and it receive link from site editor now
- New release to trigger a rebuild enabling lazy evaluation of menu entrypoints
- Fix iconId DOM warning from Link
- StyledLink's href when it had a question mark
- MenuItems can have icon now by receiving the
iconProps
andiconToTheRight
props
- Menu items href must be an IO message
- Allows accordion submenus to expand the height of their parents.
- Support to
contentSchemas.json
with dynamic form
- Menu items that are in accordion mode expand instead of going to a link.
- Allowed
image
component on sub-menus.
- Blockclass prop.
- Support for vertical orientation and different paddings on Submenu.
- Menu messages.
- Prop types warning.
- Added CSS override classes at menu and styled link.
- Fixes bug where CategoryMenu would break if
children
was null.
StyledLink
passing query parameters toLink
'sto
prop, instead of toquery
.
- New
submenu.accordion
block.
- Scopes messages by domain
- Render category tree in menu.
- Allow
info-card
insidesubmenu
andsubmenu-col
.
- Removed
unstable
flags from new menu models. - Renamed
col
tosubmenu-col
.
- The blocks with
unstable--
flags are deprecated and will be removed soon.
- Add missing translations for Portuguese and Spanish.
- Add to
unstable--menu
andunstable-second-level-menu
thetitle
property.
- Token
bg-base
on container - Snapshot tests with react-testing-library.
- Add page padding in menu link.
- Remove
inheritComponent
from blocks.
- Update React builder to 3.x.
- Remove
undefined
class.
- Bye
pages.json
! Welcomestore-builder
.
- Support to messages builder.
- Add support to CSS modules.
- Render nothing if there is no links to be displayed.
- Update link rendering to include internal/external.
- Use design tokens for typography and colors.
- Move app to typescript.
- Menu's schema now uses type array.
- Links default colors.
- Change background color to white.
- Change the layout to a light version.
- remove border-bottom from
menu
. - decreased menu height.
- Support for internal and external link routes.
- Internationalization to the schema.
- Hide menu on mobile mode.
- Fix format text of left item.
- Initial files and logic created.