@ouestfrance/sipa-bms-ui 8.11.0 → 8.13.0
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/components/button/BmsButton.vue.d.ts +1 -1
- package/dist/components/button/BmsIconButton.vue.d.ts +1 -1
- package/dist/components/button/UiButton.vue.d.ts +1 -1
- package/dist/components/layout/BmsHeaderTitle.vue.d.ts +1 -1
- package/dist/components/navigation/BmsBreadcrumb.vue.d.ts +1 -1
- package/dist/components/navigation/BmsShortLinkMenu.vue.d.ts +2 -2
- package/dist/plugins/router-history/router-history.composable.d.ts +1 -1
- package/dist/sipa-bms-ui.css +12 -57
- package/dist/sipa-bms-ui.es.js +3203 -3181
- package/dist/sipa-bms-ui.es.js.map +1 -1
- package/dist/sipa-bms-ui.umd.js +3203 -3181
- package/dist/sipa-bms-ui.umd.js.map +1 -1
- package/package.json +11 -11
- package/src/components/form/BmsSelect.vue +27 -63
- package/src/components/form/RawSelect.vue +1 -18
- package/src/plugins/field/FieldComponent.vue +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ouestfrance/sipa-bms-ui",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.13.0",
|
|
4
4
|
"author": "Ouest-France BMS",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"scripts": {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"@commitlint/config-conventional": "19.8.1",
|
|
38
38
|
"@formkit/vue": "1.6.9",
|
|
39
39
|
"@mdx-js/react": "3.1.1",
|
|
40
|
-
"@storybook/addon-docs": "9.1.
|
|
41
|
-
"@storybook/addon-links": "9.1.
|
|
42
|
-
"@storybook/vue3-vite": "9.1.
|
|
40
|
+
"@storybook/addon-docs": "9.1.13",
|
|
41
|
+
"@storybook/addon-links": "9.1.13",
|
|
42
|
+
"@storybook/vue3-vite": "9.1.13",
|
|
43
43
|
"@types/lodash": "4.17.20",
|
|
44
44
|
"@types/uuid": "11.0.0",
|
|
45
45
|
"@vitejs/plugin-vue": "6.0.1",
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
"cors": "^2.8.5",
|
|
54
54
|
"cross-env": "^10.0.0",
|
|
55
55
|
"cy2": "^4.0.0",
|
|
56
|
-
"cypress": "15.
|
|
56
|
+
"cypress": "15.5.0",
|
|
57
57
|
"express": "^5.0.0",
|
|
58
58
|
"husky": "9.1.7",
|
|
59
|
-
"jsdom": "27.0.
|
|
59
|
+
"jsdom": "27.0.1",
|
|
60
60
|
"keycloak-js": "26.1.2",
|
|
61
61
|
"lint-staged": "16.2.4",
|
|
62
62
|
"lodash": "4.17.21",
|
|
63
|
-
"lucide-vue-next": "0.
|
|
63
|
+
"lucide-vue-next": "0.546.0",
|
|
64
64
|
"msw-storybook-addon": "^2.0.3",
|
|
65
65
|
"normalize.css": "8.0.1",
|
|
66
66
|
"path": "0.12.7",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
"sass": "1.93.2",
|
|
69
69
|
"semantic-release": "24.2.9",
|
|
70
70
|
"start-server-and-test": "2.1.2",
|
|
71
|
-
"storybook": "9.1.
|
|
72
|
-
"storybook-addon-pseudo-states": "9.1.
|
|
71
|
+
"storybook": "9.1.13",
|
|
72
|
+
"storybook-addon-pseudo-states": "9.1.13",
|
|
73
73
|
"storybook-vue3-router": "^6.0.2",
|
|
74
74
|
"typescript": "5.2.2",
|
|
75
75
|
"uuid": "13.0.0",
|
|
76
|
-
"vite": "7.1.
|
|
76
|
+
"vite": "^7.1.12",
|
|
77
77
|
"vite-plugin-dts": "^4.1.0",
|
|
78
78
|
"vite-plugin-mkcert": "1.17.9",
|
|
79
79
|
"vite-plugin-pages": "0.33.1",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"vue": "3.5.22",
|
|
83
83
|
"vue-codemirror": "6.1.1",
|
|
84
84
|
"vue-loader": "17.4.2",
|
|
85
|
-
"vue-router": "4.6.
|
|
85
|
+
"vue-router": "4.6.3",
|
|
86
86
|
"vue-tsc": "3.1.1"
|
|
87
87
|
},
|
|
88
88
|
"files": [
|
|
@@ -106,74 +106,38 @@ defineExpose({
|
|
|
106
106
|
|
|
107
107
|
<style lang="scss" scoped>
|
|
108
108
|
.field__input {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
.icon-toggle {
|
|
110
|
+
&-container {
|
|
111
|
+
height: 100%;
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
112
114
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
padding: 0 0 0 1em;
|
|
116
|
-
border-radius: var(--bms-border-radius);
|
|
117
|
-
border: 1px solid var(--field-border-color);
|
|
118
|
-
background-color: var(--input-background-color);
|
|
119
|
-
min-height: var(--field-height);
|
|
120
|
-
|
|
121
|
-
display: flex;
|
|
122
|
-
align-items: center;
|
|
123
|
-
justify-content: space-between;
|
|
124
|
-
|
|
125
|
-
.icon-toggle {
|
|
126
|
-
&-container {
|
|
127
|
-
height: 100%;
|
|
128
|
-
display: flex;
|
|
129
|
-
align-items: center;
|
|
130
|
-
|
|
131
|
-
&:hover {
|
|
132
|
-
cursor: pointer;
|
|
133
|
-
}
|
|
115
|
+
&:hover {
|
|
116
|
+
cursor: pointer;
|
|
134
117
|
}
|
|
135
|
-
&-button {
|
|
136
|
-
width: 1em;
|
|
137
|
-
margin: 0 var(--field-padding);
|
|
138
|
-
display: block;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&:hover {
|
|
143
|
-
--field-border-color: var(--bms-grey-100);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&:has(input:focus) {
|
|
147
|
-
--field-border-color: var(--field-border-color-active);
|
|
148
118
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&.is-disabled {
|
|
156
|
-
--field-border-color: var(--bms-grey-25);
|
|
157
|
-
--input-background-color: var(--bms-grey-25);
|
|
158
|
-
pointer-events: none;
|
|
119
|
+
&-button {
|
|
120
|
+
width: 1em;
|
|
121
|
+
margin: 0 var(--field-padding);
|
|
122
|
+
display: block;
|
|
159
123
|
}
|
|
124
|
+
}
|
|
160
125
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
126
|
+
input {
|
|
127
|
+
border: none;
|
|
128
|
+
background-color: transparent;
|
|
129
|
+
caret-color: transparent;
|
|
130
|
+
cursor: pointer;
|
|
131
|
+
outline: none;
|
|
132
|
+
appearance: none;
|
|
133
|
+
margin: 0;
|
|
134
|
+
padding: 0;
|
|
135
|
+
font: inherit;
|
|
136
|
+
color: inherit;
|
|
137
|
+
height: 24px;
|
|
138
|
+
line-height: 1;
|
|
139
|
+
width: 100%;
|
|
140
|
+
height: 100%;
|
|
177
141
|
}
|
|
178
142
|
}
|
|
179
143
|
</style>
|
|
@@ -61,7 +61,7 @@ const selectItem = (option: any) => {
|
|
|
61
61
|
|
|
62
62
|
.select-wrapper {
|
|
63
63
|
width: 100%;
|
|
64
|
-
padding: 0 0 0
|
|
64
|
+
padding: 0 0 0 var(--field-padding);
|
|
65
65
|
border-radius: var(--bms-border-radius);
|
|
66
66
|
border: 1px solid var(--field-border-color);
|
|
67
67
|
background-color: var(--input-background-color);
|
|
@@ -71,23 +71,6 @@ const selectItem = (option: any) => {
|
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: space-between;
|
|
73
73
|
|
|
74
|
-
.icon-down {
|
|
75
|
-
&-container {
|
|
76
|
-
height: 100%;
|
|
77
|
-
display: flex;
|
|
78
|
-
align-items: center;
|
|
79
|
-
|
|
80
|
-
&:hover {
|
|
81
|
-
cursor: pointer;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
&-button {
|
|
85
|
-
width: 1em;
|
|
86
|
-
margin: 0 var(--field-padding);
|
|
87
|
-
display: block;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
74
|
&:hover {
|
|
92
75
|
--field-border-color: var(--bms-grey-100);
|
|
93
76
|
}
|
|
@@ -152,7 +152,6 @@ const getCaptionIdentifier = (caption: string | Caption): string => {
|
|
|
152
152
|
&__wrapper {
|
|
153
153
|
display: inline-block;
|
|
154
154
|
position: relative;
|
|
155
|
-
min-width: 24rem;
|
|
156
155
|
width: 100%;
|
|
157
156
|
background-color: transparent;
|
|
158
157
|
}
|
|
@@ -202,10 +201,11 @@ const getCaptionIdentifier = (caption: string | Caption): string => {
|
|
|
202
201
|
}
|
|
203
202
|
|
|
204
203
|
&.is-small {
|
|
205
|
-
--field-height:
|
|
204
|
+
--field-height: 1.5em;
|
|
206
205
|
--field-padding: 0.5em;
|
|
207
206
|
--field-margin: 0;
|
|
208
207
|
--field-label-font-weight: normal;
|
|
208
|
+
|
|
209
209
|
.field__captions {
|
|
210
210
|
margin-top: 0.5rem;
|
|
211
211
|
}
|