@vc-shell/framework 1.0.237 → 1.0.239
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 +26 -0
- package/core/directives/loading/index.ts +8 -1
- package/core/directives/loading/styles.css +2 -3
- package/dist/core/directives/loading/index.d.ts.map +1 -1
- package/dist/framework.js +16555 -16498
- package/dist/index.css +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts +24 -8
- package/dist/ui/components/atoms/vc-card/vc-card.stories.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts +24 -8
- package/dist/ui/components/molecules/vc-input/vc-input.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +24 -8
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +1 -1
- package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +4 -3
- package/shared/modules/dynamic/components/fields/GalleryField.ts +1 -1
- package/shared/modules/dynamic/pages/dynamic-blade-form.vue +2 -2
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +2 -0
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +3 -1
- package/ui/components/molecules/vc-input/vc-input.vue +25 -8
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +1 -1
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +97 -51
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +5 -11
- package/ui/components/organisms/vc-blade/vc-blade.vue +1 -0
- package/ui/components/organisms/vc-gallery/vc-gallery.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue +4 -1
- package/ui/components/organisms/vc-table/vc-table.vue +49 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
## [1.0.239](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.238...v1.0.239) (2024-06-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **ui:** fixed flickering when hover on tooltip ([df11271](https://github.com/VirtoCommerce/vc-shell/commit/df112712cd8542a6a69fd0f3eda38d3040936df1))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [1.0.238](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.237...v1.0.238) (2024-06-17)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **navigation:** show router pages via RouterView only if it's not blades ([59d41a0](https://github.com/VirtoCommerce/vc-shell/commit/59d41a0059101350b230a7c07144b1641546f1f8))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* improve loading directive with dynamic z-index support ([c3c8c63](https://github.com/VirtoCommerce/vc-shell/commit/c3c8c63fa48facf640e182405938bb83f5b5087b))
|
|
21
|
+
* **ui:** extend vc-input slots with focus prop ([e0d42b7](https://github.com/VirtoCommerce/vc-shell/commit/e0d42b790571ca8de220c857b67cf143e3d2d024))
|
|
22
|
+
* **ui:** update vc-breadcrumbs-item title style and truncate long titles ([9bd8729](https://github.com/VirtoCommerce/vc-shell/commit/9bd8729161a0e3188ae57acf10e95a301abbe8bb))
|
|
23
|
+
* **ui:** vm-1411 ([25a9096](https://github.com/VirtoCommerce/vc-shell/commit/25a909603c33dc0c0a05f76681a13eba46f3bab4))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
1
27
|
## [1.0.237](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.236...v1.0.237) (2024-06-17)
|
|
2
28
|
|
|
3
29
|
|
|
@@ -2,5 +2,12 @@ import { DirectiveBinding } from "vue";
|
|
|
2
2
|
import "./styles.css";
|
|
3
3
|
|
|
4
4
|
export const loading = (el: HTMLElement, binding: DirectiveBinding) => {
|
|
5
|
-
|
|
5
|
+
const zIndex = binding.arg ? parseInt(binding.arg, 10) : 9999;
|
|
6
|
+
if (binding.value) {
|
|
7
|
+
el.classList.add("v-loading");
|
|
8
|
+
el.style.setProperty("--v-loading-z-index", `${zIndex}`);
|
|
9
|
+
} else {
|
|
10
|
+
el.classList.remove("v-loading");
|
|
11
|
+
el.style.removeProperty("--v-loading-z-index");
|
|
12
|
+
}
|
|
6
13
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
.v-loading {
|
|
2
2
|
position: relative;
|
|
3
|
-
/* min-height: 30px; */
|
|
4
3
|
cursor: wait;
|
|
5
4
|
}
|
|
6
5
|
|
|
7
6
|
.v-loading::before {
|
|
8
7
|
content: "";
|
|
9
8
|
position: absolute;
|
|
10
|
-
z-index: 9998;
|
|
9
|
+
z-index: var(--v-loading-z-index, 9998); /* Default to 9998 if not set */
|
|
11
10
|
top: 0;
|
|
12
11
|
right: 0;
|
|
13
12
|
bottom: 0;
|
|
@@ -19,7 +18,7 @@
|
|
|
19
18
|
.v-loading::after {
|
|
20
19
|
content: "";
|
|
21
20
|
position: absolute;
|
|
22
|
-
z-index: 9999;
|
|
21
|
+
z-index: calc(var(--v-loading-z-index, 9999) + 1); /* Default to 9999 + 1 if not set */
|
|
23
22
|
width: 30px;
|
|
24
23
|
height: 30px;
|
|
25
24
|
border: 4px solid #319ed4;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/directives/loading/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,OAAO,OAAQ,WAAW,WAAW,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/directives/loading/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,cAAc,CAAC;AAEtB,eAAO,MAAM,OAAO,OAAQ,WAAW,WAAW,gBAAgB,SASjE,CAAC"}
|