@ouestfrance/sipa-bms-ui 8.7.0 → 8.8.1
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/dist/mockServiceWorker.js +16 -12
- package/dist/sipa-bms-ui.css +67 -62
- package/dist/sipa-bms-ui.es.js +7 -7
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +7 -7
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +11 -11
- package/src/assets/scss/global-variables.scss +6 -0
- package/src/components/feedback/UiTooltip.vue +1 -1
- package/src/components/form/BmsSelect.vue +1 -1
- package/src/components/layout/BmsOverlay.vue +2 -2
- package/src/components/layout/UiPopoverMenu.vue +1 -1
- package/src/components/navigation/BmsMenu.vue +1 -1
- package/src/plugins/field/FieldComponent.vue +1 -1
- package/src/plugins/notifications/NotificationWidget.vue +1 -1
- package/src/showroom/pages/zindex.vue +39 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouestfrance/sipa-bms-ui",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.8.1",
|
|
4
4
|
"author": "Ouest-France BMS",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"scripts": {
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@commitlint/config-conventional": "19.8.1",
|
|
37
37
|
"@formkit/vue": "1.6.9",
|
|
38
38
|
"@mdx-js/react": "3.1.1",
|
|
39
|
-
"@storybook/addon-docs": "9.1.
|
|
40
|
-
"@storybook/addon-links": "9.1.
|
|
41
|
-
"@storybook/vue3-vite": "9.1.
|
|
39
|
+
"@storybook/addon-docs": "9.1.7",
|
|
40
|
+
"@storybook/addon-links": "9.1.7",
|
|
41
|
+
"@storybook/vue3-vite": "9.1.7",
|
|
42
42
|
"@types/lodash": "4.17.20",
|
|
43
43
|
"@types/uuid": "11.0.0",
|
|
44
44
|
"@vitejs/plugin-vue": "6.0.1",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@vueuse/motion": "^3.0.0",
|
|
48
48
|
"axios": "1.12.2",
|
|
49
49
|
"blob-util": "^2.0.2",
|
|
50
|
-
"chromatic": "13.
|
|
50
|
+
"chromatic": "13.2.0",
|
|
51
51
|
"codemirror": "6.0.2",
|
|
52
52
|
"cors": "^2.8.5",
|
|
53
53
|
"cross-env": "^10.0.0",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"normalize.css": "8.0.1",
|
|
65
65
|
"path": "0.12.7",
|
|
66
66
|
"prettier": "3.6.2",
|
|
67
|
-
"sass": "1.
|
|
68
|
-
"semantic-release": "24.2.
|
|
69
|
-
"start-server-and-test": "2.1.
|
|
70
|
-
"storybook": "9.1.
|
|
71
|
-
"storybook-addon-pseudo-states": "9.1.
|
|
67
|
+
"sass": "1.93.0",
|
|
68
|
+
"semantic-release": "24.2.9",
|
|
69
|
+
"start-server-and-test": "2.1.2",
|
|
70
|
+
"storybook": "9.1.7",
|
|
71
|
+
"storybook-addon-pseudo-states": "9.1.7",
|
|
72
72
|
"storybook-vue3-router": "^6.0.2",
|
|
73
73
|
"typescript": "5.2.2",
|
|
74
74
|
"uuid": "13.0.0",
|
|
75
|
-
"vite": "7.1.
|
|
75
|
+
"vite": "7.1.6",
|
|
76
76
|
"vite-plugin-dts": "^4.1.0",
|
|
77
77
|
"vite-plugin-mkcert": "1.17.8",
|
|
78
78
|
"vite-plugin-pages": "0.33.1",
|
|
@@ -130,7 +130,7 @@ const style = computed(() => {
|
|
|
130
130
|
max-height: 30rem;
|
|
131
131
|
position: absolute;
|
|
132
132
|
overflow: hidden;
|
|
133
|
-
z-index:
|
|
133
|
+
z-index: var(--bms-z-index-tooltip);
|
|
134
134
|
filter: drop-shadow(0 0 0.8rem var(--bms-shadow-color));
|
|
135
135
|
color: var(--bms-font-color);
|
|
136
136
|
transform: var(--bms-tooltip-transform);
|
|
@@ -18,11 +18,11 @@ defineProps<{
|
|
|
18
18
|
left: 0;
|
|
19
19
|
width: 100vw;
|
|
20
20
|
height: 100vh;
|
|
21
|
-
z-index:
|
|
21
|
+
z-index: var(--bms-z-index-modal);
|
|
22
22
|
background: rgba(82, 100, 118, 0.3);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.priority {
|
|
26
|
-
z-index:
|
|
26
|
+
z-index: calc(var(--bms-z-index-modal) + 10);
|
|
27
27
|
}
|
|
28
28
|
</style>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import BmsButton from '@/components/button/BmsButton.vue';
|
|
3
|
+
import BmsTooltip from '@/components/feedback/BmsTooltip.vue';
|
|
4
|
+
import BmsHeader from '@/components/layout/BmsHeader.vue';
|
|
5
|
+
import BmsModal from '@/components/layout/BmsModal.vue';
|
|
6
|
+
import UiPopoverMenu from '@/components/layout/UiPopoverMenu.vue';
|
|
7
|
+
import BmsTenantSwitcher from '@/components/navigation/BmsTenantSwitcher.vue';
|
|
8
|
+
import { Tenant } from '@/models';
|
|
9
|
+
import { useNotifications } from '@/plugins/notifications';
|
|
10
|
+
import { ref } from 'vue';
|
|
11
|
+
|
|
12
|
+
const isModalOpen = ref(false);
|
|
13
|
+
const { success, error } = useNotifications();
|
|
14
|
+
|
|
15
|
+
const onClick = () => {
|
|
16
|
+
isModalOpen.value = true;
|
|
17
|
+
success('toto');
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const tenants: Tenant[] = [{ id: '1', information: '1', label: 'Tenant 1' }];
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<template>
|
|
24
|
+
<BmsTooltip
|
|
25
|
+
:tooltip-text="'hello hello hello hello hello hello hello hello hello hello hello hello hello hello'"
|
|
26
|
+
>
|
|
27
|
+
<BmsButton @click="onClick">Hello</BmsButton>
|
|
28
|
+
</BmsTooltip>
|
|
29
|
+
<BmsTenantSwitcher
|
|
30
|
+
:tenants="tenants"
|
|
31
|
+
:current-tenant="null"
|
|
32
|
+
select-tenant-label="Coucou"
|
|
33
|
+
select-tenant-placeholder="toto"
|
|
34
|
+
/>
|
|
35
|
+
|
|
36
|
+
<BmsHeader> fixed header</BmsHeader>
|
|
37
|
+
|
|
38
|
+
<BmsModal v-model="isModalOpen"> Ouvrir la modale </BmsModal>
|
|
39
|
+
</template>
|