@vc-shell/framework 2.0.0-alpha.33-pr220.455e322 → 2.0.0-alpha.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -0
- package/dist/framework.js +870 -856
- package/dist/shell/auth/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -1
- package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/shell/auth/_test-utils/shared-dependency-mocks.d.ts +8 -0
- package/dist/shell/auth/_test-utils/shared-dependency-mocks.d.ts.map +1 -0
- package/dist/shell/auth/_test-utils/shared-mock-factories.d.ts +13 -0
- package/dist/shell/auth/_test-utils/shared-mock-factories.d.ts.map +1 -0
- package/dist/shell/auth/_test-utils/shared-stubs.d.ts +33 -0
- package/dist/shell/auth/_test-utils/shared-stubs.d.ts.map +1 -0
- package/dist/shell/auth/utils.d.ts +25 -0
- package/dist/shell/auth/utils.d.ts.map +1 -0
- package/dist/test-helpers.d.ts.map +1 -1
- package/dist/test-mock-factories.d.ts +48 -0
- package/dist/test-mock-factories.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vitest-axe.setup.d.ts.map +1 -1
- package/dist/vitest-mocks.setup.d.ts +2 -0
- package/dist/vitest-mocks.setup.d.ts.map +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,69 @@
|
|
|
1
|
+
# [2.0.0-alpha.34](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.33...v2.0.0-alpha.34) (2026-04-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
* refactor!: remove global component and directive registration ([7643d8f](https://github.com/VirtoCommerce/vc-shell/commit/7643d8fcba40bdd4d5e6a8be244a6c1978eec3fb))
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **ci:** sync yarn.lock and unblock framework-checks pipeline ([5cf0670](https://github.com/VirtoCommerce/vc-shell/commit/5cf0670b9abd84cd9c52aa7c7c1488439c1a0bee))
|
|
10
|
+
* **datatable:** normalise date-range filter values to YYYY-MM-DD ([d89864a](https://github.com/VirtoCommerce/vc-shell/commit/d89864aa635e7479137fb0ad501197adf335f99e))
|
|
11
|
+
* **deps:** add jsdom to framework devDependencies ([5060c2a](https://github.com/VirtoCommerce/vc-shell/commit/5060c2abe2ebdd077ba7e3fbe0a232e66822dfed))
|
|
12
|
+
* **table:** account for implicit selection cell in available width calculation ([a060668](https://github.com/VirtoCommerce/vc-shell/commit/a060668c064db3e2a16f654f8bc42e94b9276521))
|
|
13
|
+
* **table:** allow resize to consume filler space in gap mode ([57dfdac](https://github.com/VirtoCommerce/vc-shell/commit/57dfdacace4564cf08c6ab9a037a1039ec79941a))
|
|
14
|
+
* **table:** clamp resize to right neighbors capacity, freeze left columns during drag ([af76531](https://github.com/VirtoCommerce/vc-shell/commit/af765312d5e015166ebc06f626ddaf4a7a6b0385))
|
|
15
|
+
* **table:** DOM-based width measurement, remove hardcoded constants, smart show/hide redistribution ([2f4da13](https://github.com/VirtoCommerce/vc-shell/commit/2f4da13aac321bf1d55a8ae2f11c8899b03d79bd))
|
|
16
|
+
* **table:** preserve filler on user resize, normalize weights on container resize ([4ac256c](https://github.com/VirtoCommerce/vc-shell/commit/4ac256cb12154aa9bc18d533a960303ba2fbb63c))
|
|
17
|
+
* **table:** preserve restored column widths — cancel props reinit on state restore ([203fe79](https://github.com/VirtoCommerce/vc-shell/commit/203fe79fcbbc1c3a80e52592a1aa764c3850ec78))
|
|
18
|
+
* **table:** preserve restored weights on init, normalize resize weights to sum=1 ([52c9528](https://github.com/VirtoCommerce/vc-shell/commit/52c9528a4f9b936d6d02a997399bda2be1b5a076))
|
|
19
|
+
* **table:** proportional scaling on container resize preserves filler ratio ([5446799](https://github.com/VirtoCommerce/vc-shell/commit/5446799c14fc1a4266d576f389cf793d78611ad5))
|
|
20
|
+
* **table:** recompute widths on column show/hide, equal weight redistribution ([3b35e27](https://github.com/VirtoCommerce/vc-shell/commit/3b35e272f7b7963fd8871b06e065ecb7943906ab))
|
|
21
|
+
* **table:** subtract row padding and drag-handle gap from available width for engine ([d840fa1](https://github.com/VirtoCommerce/vc-shell/commit/d840fa19e388021c816e222a63ccbf6019d88435))
|
|
22
|
+
* **tests:** update vue-i18n mocks for consistency across components ([0b73433](https://github.com/VirtoCommerce/vc-shell/commit/0b73433c5ee0317bd525a34a3937af54fb7f7c28))
|
|
23
|
+
* **vc-card:** render header only when header prop or slot provided ([5a1d4bc](https://github.com/VirtoCommerce/vc-shell/commit/5a1d4bc373611385be7a052609e9f7bed037e2cd))
|
|
24
|
+
* **vc-data-table:** remove initial column layout glitch ([2bdcc88](https://github.com/VirtoCommerce/vc-shell/commit/2bdcc8878d5760154be8b66dbf15c17904ecc2d8))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### chore
|
|
28
|
+
|
|
29
|
+
* **scripts:** normalize yarn scripts per industry standards ([1cdd0cb](https://github.com/VirtoCommerce/vc-shell/commit/1cdd0cb517d2436ef2a509c6b6c358f6a48630d1))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* **i18n:** sync shell locale from platform NG_TRANSLATE_LANG_KEY in embedded mode ([4adc6b0](https://github.com/VirtoCommerce/vc-shell/commit/4adc6b0f647b33e1ed6d1fb44835fc165e9edb9b))
|
|
35
|
+
* **table:** add ColumnSpec, ColumnState, TableFitMode, PersistedStateV2 types ([42c5414](https://github.com/VirtoCommerce/vc-shell/commit/42c541450abf9a7dfb4664067db9e0987c24dbcb))
|
|
36
|
+
* **table:** add storybook stories for fit/gap modes and width constraints ([1c0422b](https://github.com/VirtoCommerce/vc-shell/commit/1c0422b582351a75301f9c04496c1ea50657e589))
|
|
37
|
+
* **table:** add weight-based column width engine with unit tests ([280eaa3](https://github.com/VirtoCommerce/vc-shell/commit/280eaa3ee90cb4add77deafdac76d750474ed748))
|
|
38
|
+
* **tests:** enhance test helpers and add vitest environment for consistency ([6cd30ac](https://github.com/VirtoCommerce/vc-shell/commit/6cd30ac65b83dd756803b9ccb4278bd8679be930))
|
|
39
|
+
* **vc-gallery:** filter non-image files on upload ([8a3c042](https://github.com/VirtoCommerce/vc-shell/commit/8a3c042e00e825b28b55fe0d5c9b4044291e207c))
|
|
40
|
+
* **vc-select:** add V generic for modelValue/update:modelValue types ([8c69d86](https://github.com/VirtoCommerce/vc-shell/commit/8c69d86b5cfc9a1f5bfb8f132bc60233058a6c10))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### BREAKING CHANGES
|
|
44
|
+
|
|
45
|
+
* **scripts:** for external consumers: old script names
|
|
46
|
+
(storybook-serve, build-framework, check-locales etc) are removed.
|
|
47
|
+
Legacy aliases are deliberately not provided — they would perpetuate
|
|
48
|
+
the non-standard naming this commit eliminates.
|
|
49
|
+
* Framework no longer registers Vc* components and
|
|
50
|
+
directives globally via app.component()/app.directive(). All 64 UI
|
|
51
|
+
components and 2 directives (v-loading, v-autofocus) must now be
|
|
52
|
+
explicitly imported from @vc-shell/framework/ui.
|
|
53
|
+
|
|
54
|
+
- Delete global-components.ts type augmentation
|
|
55
|
+
- Remove registerComponentsAndDirectives() from framework plugin
|
|
56
|
+
- Remove GlobalComponents augmentations from 10 module/shell files
|
|
57
|
+
- Remove app.component() registration from blade-navigation plugin
|
|
58
|
+
- Add explicit imports to 25 framework .vue files
|
|
59
|
+
- Add vLoading/vAutofocus directive aliases for Vue auto-registration
|
|
60
|
+
- Add VcLanguageSelector to molecules barrel export
|
|
61
|
+
- Add directive re-export to @vc-shell/framework/ui entry point
|
|
62
|
+
- Add remove-global-components CLI migrator transform with 6 tests
|
|
63
|
+
- Add migration/40-remove-global-components.md guide
|
|
64
|
+
- Add ai-agent/components exception to layer violation checker
|
|
65
|
+
|
|
66
|
+
Automated migration: npx @vc-shell/migrate --transform remove-global-components
|
|
1
67
|
# [2.0.0-alpha.33](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.32...v2.0.0-alpha.33) (2026-04-14)
|
|
2
68
|
|
|
3
69
|
### Bug Fixes
|