diff --git a/packages/_vue3-migration-test/CHANGELOG.md b/packages/_vue3-migration-test/CHANGELOG.md index 3179b972bd..8d781fea3d 100644 --- a/packages/_vue3-migration-test/CHANGELOG.md +++ b/packages/_vue3-migration-test/CHANGELOG.md @@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.0.0-alpha.52](https://github.com/diegopf/x/compare/vue3-migration-test@1.0.0-alpha.50...vue3-migration-test@1.0.0-alpha.52) (2024-09-04) + + +### Bug Fixes + +* **list-components:** fix list components, migrate infinite-scroll directive and deprecated layouts (#1576) ([4b57f19](https://github.com/diegopf/x/commit/4b57f19be601220a4dc6874dc1d5efa8fdbcf991)) + + +### Code Refactoring + +* **animation-factory:** fix Vue3 breaking changes (#1579) ([f915731](https://github.com/diegopf/x/commit/f915731cc8ea662a2066fee054f47885ee2154a9)) +* **base-switch:** decommission of value prop (#1589) ([35968eb](https://github.com/diegopf/x/commit/35968ebb69634984e867b03221d373efe4af96c8)) +* **base-switch:** migrate component to vue3 (#1588) ([875a6e2](https://github.com/diegopf/x/commit/875a6e2638885498396db362753550857ec8d7e2)) +* **staggered-fade-and-slide:** use Vue native staggered transition (#1578) ([79e136f](https://github.com/diegopf/x/commit/79e136f04b0b75ddea77c464b8f5ea0ed6602eb1)) + + + ## [1.0.0-alpha.51](https://github.com/diegopf/x/compare/vue3-migration-test@1.0.0-alpha.50...vue3-migration-test@1.0.0-alpha.51) (2024-09-04) diff --git a/packages/_vue3-migration-test/package.json b/packages/_vue3-migration-test/package.json index 620805f50e..b8ec7fd0e4 100644 --- a/packages/_vue3-migration-test/package.json +++ b/packages/_vue3-migration-test/package.json @@ -1,7 +1,7 @@ { "name": "vue3-migration-test", "private": "true", - "version": "1.0.0-alpha.51", + "version": "1.0.0-alpha.52", "scripts": { "dev": "vite", "preview": "vite preview", diff --git a/packages/x-archetype-utils/CHANGELOG.md b/packages/x-archetype-utils/CHANGELOG.md index a793dea693..b351ae48d0 100644 --- a/packages/x-archetype-utils/CHANGELOG.md +++ b/packages/x-archetype-utils/CHANGELOG.md @@ -3,6 +3,68 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2.0.0-alpha.3 (2024-09-04) + + +### ⚠ BREAKING CHANGES + +* v2 of archetype utils is only compatible with vue 3 and i18n v8 +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 + +### Features + +* add data-test to searchbar and hover underline to docs links (#996) ([c384ede](https://github.com/empathyco/x/commit/c384edea8b289b2508692aacd95b73d49abe8df6)), closes [EX-7806](https://searchbroker.atlassian.net/browse/EX-7806) +* add importable home `template` (#994) ([a31c3ea](https://github.com/empathyco/x/commit/a31c3eadf412ee732ca4b3724a85ef8faa300061)), closes [EX-7633](https://searchbroker.atlassian.net/browse/EX-7633) +* create archetype utils package (#701) ([6e4f8f6](https://github.com/empathyco/x/commit/6e4f8f6f15eb687b082849ee1a1aa17645cce08d)), closes [EX-6930](https://searchbroker.atlassian.net/browse/EX-6930) +* injector utility for the archetype and build config to override the one in X (#1258) ([08eb5c1](https://github.com/empathyco/x/commit/08eb5c1a07c421684c472aa6ff11db3dcecc8dc5)) +* move `i18n` plugin (#713) ([4348f55](https://github.com/empathyco/x/commit/4348f55987fe0ceb7777c06094e42f17ff4f735a)), closes [EX-6966](https://searchbroker.atlassian.net/browse/EX-6966) +* **plugin:** replace old bus implementation using the new `x-priority-bus` (#1086) ([f64f9b6](https://github.com/empathyco/x/commit/f64f9b68225c4ee422eb007784e0eec813c95228)), closes [EX-7283](https://searchbroker.atlassian.net/browse/EX-7283) +* update to rollup 4 (#1370) ([a5c471b](https://github.com/empathyco/x/commit/a5c471b7d139393b7c2c0dffd88973029f2ced31)) + + +### Bug Fixes + +* **deps:** remove `only-allow` pnpm (#1097) ([b2a63d3](https://github.com/empathyco/x/commit/b2a63d308f20804d55a266189ab5d6242f88f6d8)), closes [EX-8082](https://searchbroker.atlassian.net/browse/EX-8082) +* now styles should be accurate to the designs (#999) ([7638670](https://github.com/empathyco/x/commit/7638670d3d4f22983fcaeb0277fb9b394ece2218)), closes [EX-7809](https://searchbroker.atlassian.net/browse/EX-7809) +* set home search input font size to 16px (#1406) ([b9349b8](https://github.com/empathyco/x/commit/b9349b8c544283f9df1f4bad5756e5666d748e41)) +* Update home styles to match `inputGroup`. (#1079) ([eef82a1](https://github.com/empathyco/x/commit/eef82a1574ab922556a83712ebf6e5f78651a9c9)), closes [EX-8014](https://searchbroker.atlassian.net/browse/EX-8014) + + +### Styling + +* update prettier and format code (#1026) ([a18cc17](https://github.com/empathyco/x/commit/a18cc172b6638962d53192905cd466f12bccacac)), closes [EX-7877](https://searchbroker.atlassian.net/browse/EX-7877) + + +### Build System + +* **dependencies:** update `typescript` to `4.9.4` and its dependencies to their latest version (#993) ([500ab57](https://github.com/empathyco/x/commit/500ab57e4729f5c4dcefaa31ed4a8497ddd349b9)), closes [EX-7288](https://searchbroker.atlassian.net/browse/EX-7288) +* **deps:** update `vue` to version `2.7` (#971) ([09fb0fe](https://github.com/empathyco/x/commit/09fb0fe5dbef020565571a4fafc89d2aac544c8e)), closes [EX-7730](https://searchbroker.atlassian.net/browse/EX-7730) +* **deps:** update deps (#1046) ([b6957df](https://github.com/empathyco/x/commit/b6957df9d88c0d94c2543047991a63afadd707ff)) +* **deps:** update deps (#1062) ([59f29b9](https://github.com/empathyco/x/commit/59f29b9c5861f790a65b061eec628eb35d066b68)) + + +### Continuous Integration + +* export webpack config from `x-archetype-utils` (#760) ([0d7bfa2](https://github.com/empathyco/x/commit/0d7bfa2a63b5aaa3b220a0338fcefdaedc888f32)), closes [EX-7222](https://searchbroker.atlassian.net/browse/EX-7222) +* migrate from `npm` & `lerna bootstrap` to `pnpm` (#1047) ([aaaba4f](https://github.com/empathyco/x/commit/aaaba4f8a5498c16e17ea6daf9c18a1f49918f70)), closes [EX-7891](https://searchbroker.atlassian.net/browse/EX-7891) +* parallelize steps (#1174) ([3013595](https://github.com/empathyco/x/commit/3013595857c8dac33f36b2c0d08e747b0735c6a0)) +* refactor `lint` command to benefit from `nx parallelisation` (#1051) ([1af1503](https://github.com/empathyco/x/commit/1af1503ff118d6232fdbb27e203037a89b1b52e0)), closes [EX-7926](https://searchbroker.atlassian.net/browse/EX-7926) +* restore build workflow (#1194) ([076ee49](https://github.com/empathyco/x/commit/076ee492388ba000ebdfa49d9f4356562c8bef19)) +* update `runners` version (#740) ([38f246c](https://github.com/empathyco/x/commit/38f246c306dac40c4afbcdea08336052981ca9b8)) +* use matrix steps and jest projects (#919) ([dec53f5](https://github.com/empathyco/x/commit/dec53f5da572a4a5f3c8519222c1ed94ed981967)) + + +### Others + +* bump version ([d1fc3fe](https://github.com/empathyco/x/commit/d1fc3fe42b5db802aef7a38c5e3e0b89e706693b)) +* **deps:** update node to 18 (#1196) ([e0e6b35](https://github.com/empathyco/x/commit/e0e6b35eefb3ef83f22e341f662475b0e6066e94)) +* **deps:** update node to v18 (#1175) ([14e64e1](https://github.com/empathyco/x/commit/14e64e11fdf7f3d27d59baf56b027857df9e61e7)) + + + ## 2.0.0-alpha.2 (2024-09-04) diff --git a/packages/x-archetype-utils/package.json b/packages/x-archetype-utils/package.json index 5d84d727e0..45f39163e4 100644 --- a/packages/x-archetype-utils/package.json +++ b/packages/x-archetype-utils/package.json @@ -1,6 +1,6 @@ { "name": "@diegopf/x-archetype-utils", - "version": "2.0.0-alpha.2", + "version": "2.0.0-alpha.3", "description": "Utilities for x-archetype", "author": "Empathy Systems Corporation S.L.", "license": "Apache-2.0", diff --git a/packages/x-components/CHANGELOG.md b/packages/x-components/CHANGELOG.md index a1b1ab280f..74ddc9f809 100644 --- a/packages/x-components/CHANGELOG.md +++ b/packages/x-components/CHANGELOG.md @@ -3,6 +3,1318 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 6.0.0-alpha.2 (2024-09-04) + + +### ⚠ BREAKING CHANGES + +* version 6 of x-components is only compatible with vue 3 +* refactors the GlobalXBus to use a prop to receive the listeners instead of relying on attributes. +* **simple-filter:** use cssClasses prop to pass classes through the component in Vue 3 instead of class or :class when using RenderlessFilter or SimpleFilter components +* **use-register-x-module:** get rid of useRegisterXModule composable. Use XPlugin.registerXModule(xModule) or InstallXOptions.initialXModules instead +* **scroll:** `WindowScroll' component will no longer be available and has been removed. +* `MainScroll` drops the usage of `NoElement` as root element and uses a div instead. This extra div could break the style of an application that relies on `MainScroll` rendering their content directly. +`MainScrollItem` drops the usage of `NoElement` if no `tag` prop is passed and uses a div as fallback. +* **ColumnPickerMixin:** `BaseColumnPickerDropdown` component will no longer emit the `change` event, use `update:modelValue` instead. +`BaseColumnPickerDropdown` prop for the selected columns was renamed from `value` to `modelValue`. + +`BaseColumnPickerList` component will no longer emit the `change` event, use `update:modelValue` instead. +`BaseColumnPickerList` prop for the selected columns was renamed from `value` to `modelValue`. + +`ColumnPickerMixin` has been removed. +* **sort-mixin:** base-dropdown component will no longer emit the `change` event, use `update:modelValue` instead. +base-dropdown prop for the selected item was renamed from `value` to `modelValue`. +* **components:** remove deprecated origins from (#1344) +* **facets:** The '__unknown-facet__' value for a facetId is deprecated: it has been replaced by the UNKNOWN_FACET_KEY constant, whose value is '__unknown__'. + +Co-authored-by: Guillermo Cacheda +* setPageSize search module mutation has been replaced by the setConfig mutation. +setTaggingConfig tagging module mutation and setFacetsConfig facets module mutation have been replaced by the mergeConfig mutation. + +EMP-2328 +* the property 'querySuggestions' in '' now returns the query suggestions that should be displayed based on the module's config. A new property called 'fullQuerySuggestions' returns all the query suggestions in the module + +EMP-1463 +* **deps:** minimum node version required is 18. +* **deps:** minimum version required is node v18 + +EMP-274 +* **design-system:** The `x-components` design system has been deprecated. +The exported theme is no longer available. If you need support for the old design system you should import `@empathyco/x-components/design-system/deprecated-full-theme.css`. +* **design-system:** `x-grid-list` and `x-grid-list__item` classes have been removed from `BaseGrid` component. +* **design-system:** `x-grid-list--cols-{columns}` has been renamed to `x-base-grid--cols-{columns}` +* **design-system:** `x-list` class has been removed from the following components: + + `BaseModal`, `BaseSuggetions`, `BaseTabsPanel`, `Facets`, `FiltersList`, `FiltersSearch`, `IdentifierResults`, `MyHistory`, `PartialResultList`, `ResultVariantSelector`, `Recommendations`, `RelatedTags`, `SlidingPanel`, `SelectedFiltersList`. + +* **design-system:** `FixedHeaderAndAsidesLayout` `MultiColumnMaxWidthLayout` and `SingleColumnLayout` have been deprecated. +* **design-system:** `BaseModal` default opacity has changed from `0.7` to `0.3`. +* **design-system:** `x-list__item` class has been removed from `BaseTabsPanel` component. +* **design-system:** `x-message` class has been removed from `Redirection` component. + +EMP-133 + +Co-authored-by: Diego Pascual +Co-authored-by: Manuel Navarro +* **design-system:** Old `design-system` `progress-bar` styles are now located in the `deprecated-full-theme.css` file. +* **design-system:** Renamed `x-progress-bar__line` class to `x-progress-bar-fill`. +* `base-column-picker-list` structure changes. It now wraps the buttons in a div instead of using ul and li. Additionally, the class for the selected option has been changed to `x-selected`. +* **design-system:** Old `design-system` `Tag` styles are now located in the `deprecated-full-theme.css` file. +* **design-system:** Old `x-tag--is-curated` and `x-tag--is-selected` classes are no longer used by `RelatedTag` component. +* **design-system:** design system scroll styles are deprecated. To continue using them import from deprecated-full-theme.css +* **design-system:** Old design-system `Icon` styles are now located in the `deprecated-full-theme.css` file. +Removed `checkbox-card`, `nq1`, `nq2`, `nq3`, and `nq4 icons`. +* **components:** class `x-picture__image` renamed to `x-picture-image`, deprecate classes `x-picture__image--placeholder` and `x-picture__image--fallback` +* **components:** Renamed `SlidingPanel` css classes `x-sliding-panel--at-start` and `x-sliding-panel--at-end` to `x-sliding-panel-at-start` and `x-sliding-panel-at-end` respectively. +* **components:** Renamed `SlidingPanel` buttons css classes `x-sliding-panel__button-left` and `x-sliding-panel__button-right` to `x-sliding-panel-button-left` and `x-sliding-panel-button-right` respectively. +* **components:** Old design-system `SlidingPanel` styles (including the updated button classes) are now located in the `deprecated-full-theme.css` file. +* **history-queries:** Renamed `removeHistoryQueryClass` prop to `removeButtonClass`. +* Rename `x-grid` class to `x-grid-list`. +* Rename `x-grid__item` class to `x-grid-list__item`. +* Rename `x-grid--cols-{cols}` class to `x-grid-list--cols-{cols}`. +* **design-system:** suggestion and suggestion group styles are now deprecated. To continue using them import from `deprecated-full-theme.css`. +* Rename `NextQueryPreviewMounted` to `NextQueryPreviewMountedHook` and `QueryPreviewRemoved` to `QueryPreviewUnmountedHook` +* **components:** Removes `queryHTML` slot scope prop from `BaseSuggestion`, `PopularSearch` `QuerySuggestion` and `HistoryQuery`. Use the new `Highlight` component instead. +* the event `SearchResponseProvided` was renamed to `SearchResponseChanged` +* **design-system:** the old design system button styles are now located in the `deprecated-full-theme.css`, if a setup is not using the new design system, it must import this file. +* **components:** `facets` are now optional in `Suggestion`. +* **tagging:** `tagging` property of `Taggable` and `queryTagging` property of `SearchResponse` are optional. +* **result:** `Result` model properties are optional, except `id`, `modelName` and `tagging`. +* **facets:** Removed the `setFilter`mutation from `facets` X-Module. Use `mutateFilter` instead. +* **facets:** Modified the `HierarchicalFilter.children` Model type. Now it is an `Array` instead of an array of ids. +* `--x-number-aspect-ratio-picture` is now inverted. Previously a value of 2 meant that it was twice taller than wider. Now it means twice wider than taller. +* `XAPI` is now available now at `window.InterfaceX`. +* **facets:** Renamed method `registerFilterModifier` in `FilterEntityFactory` to `registerModifierByFacetId`. +* **facets:** Changed `modifiers` parameter of `registerFilterModifier` in `FilterEntityFactory` from a single array in favour of rest parameters. +* Request types moved to `x-types` package. Change the imports from `x-adapter` to `x-type`. +* Removed `TaggingInfo` type. Use `TaggingRequest` from `@empathyco/x-types` instead. +* **eslint:** Vue config now also extends the recommended config from vuejs-accesibility plugin. +* Remove `selected` and `previous` logic from related tags. +* Remove `EmpathyRequestRelatedTagsQueryMapper`. +* **components:** Removed `CollapseFromTop` Animation. Use `animateScale()` instead. +* **components:** Removed `TranslateFromLeft` and `TranslateFromRight` components. Use `animateTranslate('left')` and `animateTranslate('right')` instead. +* **facets:** Remove `BaseFilter` component. Use `RenderlessFilter`instead. +* **components:** `SlidingPanel` buttons do not have the round variant set by default. +* **components:** ArrowIcon changed to ArrowLeftIcon. +* **storage-service:** `StorageService` has been renamed to `BrowserStorageService`. +* **scroll:** `BaseIdScroll` has been renamed to `Scroll`. It should be imported from `@empathyco/x-components/scroll` +* **scroll:** `BaseMainScroll` has been renamed to `WindowScroll`. It should be imported from `@empathyco/x-components/scroll` +* **scroll:** `BaseScrollToTop` has been renamed to `ScrollToTop`. It should be imported from `@empathyco/x-components/scroll` +* **scroll:** `UserReachedScrollStart` event now emits a boolean indicating the change of this state. +* **scroll:** `UserAlmostReachedScrollEnd` event now emits a boolean indicating the change of this state. +* **scroll:** `UserReachedScrollEnd` event now emits a boolean indicating the change of this state. +* Slots that are created using properties like the `modelName` or the `id` of different objects, now are named using the kebab-case version of those values. This affects the following components: `BaseGrid`, `Facets` and `SelectedFiltersList`. Examples: +`