@gitlab/ui 114.7.1 → 114.8.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/README.md +1 -1
- package/bin/migrate_custom_utils_to_tw.bundled.mjs +124959 -131296
- package/dist/components/base/form/form_fields/form_fields.js +4 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tokens/css/tokens.css +615 -615
- package/dist/tokens/css/tokens.dark.css +615 -615
- package/package.json +32 -32
- package/src/components/base/form/form_checkbox/form_checkbox.scss +4 -4
- package/src/components/base/form/form_fields/form_fields.vue +5 -0
- package/src/components/base/new_dropdowns/listbox/listbox.scss +1 -0
- package/src/tokens/build/css/tokens.css +615 -615
- package/src/tokens/build/css/tokens.dark.css +615 -615
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "114.
|
|
3
|
+
"version": "114.8.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
"tailwind-config-viewer:export": "tailwind-config-viewer export ./tailwind-config-viewer-static"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@floating-ui/dom": "1.7.
|
|
82
|
+
"@floating-ui/dom": "1.7.1",
|
|
83
83
|
"echarts": "^5.6.0",
|
|
84
84
|
"iframe-resizer": "^4.3.2",
|
|
85
|
-
"lodash": "^4.17.
|
|
85
|
+
"lodash": "^4.17.21",
|
|
86
86
|
"popper.js": "^1.16.1",
|
|
87
87
|
"portal-vue": "^2.1.7",
|
|
88
88
|
"vue-functional-data-merge": "^3.1.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"vue": "^2.7.16"
|
|
98
98
|
},
|
|
99
99
|
"resolutions": {
|
|
100
|
-
"chokidar": "^3.
|
|
100
|
+
"chokidar": "^3.6.0",
|
|
101
101
|
"sane": "^5.0.1",
|
|
102
102
|
"jackspeak": "2.1.1",
|
|
103
103
|
"postcss": "8.5.3",
|
|
@@ -106,14 +106,14 @@
|
|
|
106
106
|
"eslint-plugin-import": "2.31.0"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@babel/core": "^7.27.
|
|
109
|
+
"@babel/core": "^7.27.4",
|
|
110
110
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
111
111
|
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
|
|
112
112
|
"@babel/preset-env": "^7.27.2",
|
|
113
113
|
"@babel/preset-react": "^7.27.1",
|
|
114
114
|
"@cypress/grep": "^4.0.1",
|
|
115
115
|
"@eslint/eslintrc": "^3.3.1",
|
|
116
|
-
"@eslint/js": "^9.
|
|
116
|
+
"@eslint/js": "^9.29.0",
|
|
117
117
|
"@gitlab/eslint-plugin": "20.7.1",
|
|
118
118
|
"@gitlab/fonts": "^1.3.0",
|
|
119
119
|
"@gitlab/stylelint-config": "6.2.2",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"@jest/test-sequencer": "^29.7.0",
|
|
122
122
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
123
123
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
124
|
-
"@rollup/plugin-replace": "^2.
|
|
124
|
+
"@rollup/plugin-replace": "^2.4.2",
|
|
125
125
|
"@storybook/addon-a11y": "^7.6.20",
|
|
126
126
|
"@storybook/addon-docs": "^7.6.20",
|
|
127
127
|
"@storybook/addon-essentials": "^7.6.20",
|
|
@@ -137,24 +137,24 @@
|
|
|
137
137
|
"@storybook/vue3-webpack5": "^7.6.20",
|
|
138
138
|
"@studiometa/stylelint-formatter-gitlab": "^0.0.1",
|
|
139
139
|
"@types/jest-image-snapshot": "^6.4.0",
|
|
140
|
-
"@vue/compat": "^3.5.
|
|
141
|
-
"@vue/compiler-sfc": "^3.5.
|
|
142
|
-
"@vue/server-renderer": "^3.5.
|
|
143
|
-
"@vue/test-utils": "1.3.
|
|
140
|
+
"@vue/compat": "^3.5.17",
|
|
141
|
+
"@vue/compiler-sfc": "^3.5.17",
|
|
142
|
+
"@vue/server-renderer": "^3.5.17",
|
|
143
|
+
"@vue/test-utils": "1.3.6",
|
|
144
144
|
"@vue/test-utils-vue3": "npm:@vue/test-utils@^2.4.6",
|
|
145
|
-
"@vue/vue2-jest": "29.
|
|
146
|
-
"@vue/vue3-jest": "^29.
|
|
145
|
+
"@vue/vue2-jest": "29.2.6",
|
|
146
|
+
"@vue/vue3-jest": "^29.2.6",
|
|
147
147
|
"@yarnpkg/lockfile": "^1.1.0",
|
|
148
|
-
"acorn": "^8.
|
|
149
|
-
"acorn-walk": "^8.3.
|
|
148
|
+
"acorn": "^8.15.0",
|
|
149
|
+
"acorn-walk": "^8.3.4",
|
|
150
150
|
"autoprefixer": "10.4.21",
|
|
151
151
|
"axe-playwright": "^2.1.0",
|
|
152
|
-
"babel-jest": "29.0
|
|
153
|
-
"babel-loader": "^8.
|
|
152
|
+
"babel-jest": "29.7.0",
|
|
153
|
+
"babel-loader": "^8.4.1",
|
|
154
154
|
"cypress": "14.3.3",
|
|
155
|
-
"cypress-real-events": "^1.
|
|
155
|
+
"cypress-real-events": "^1.14.0",
|
|
156
156
|
"dompurify": "^3.1.2",
|
|
157
|
-
"emoji-regex": "^10.
|
|
157
|
+
"emoji-regex": "^10.4.0",
|
|
158
158
|
"entities": "^4.5.0",
|
|
159
159
|
"esbuild": "^0.18.0",
|
|
160
160
|
"eslint": "9.28.0",
|
|
@@ -164,18 +164,18 @@
|
|
|
164
164
|
"eslint-plugin-storybook": "0.12.0",
|
|
165
165
|
"fuse.js": "^7.0.0",
|
|
166
166
|
"gitlab-api-async-iterator": "^1.3.1",
|
|
167
|
-
"glob": "10.
|
|
167
|
+
"glob": "10.4.5",
|
|
168
168
|
"globby": "^11.1.0",
|
|
169
169
|
"identity-obj-proxy": "^3.0.0",
|
|
170
170
|
"jest": "^29.7.0",
|
|
171
171
|
"jest-circus": "29.7.0",
|
|
172
172
|
"jest-environment-jsdom": "29.7.0",
|
|
173
|
-
"jest-image-snapshot": "^6.
|
|
174
|
-
"lefthook": "^1.
|
|
173
|
+
"jest-image-snapshot": "^6.5.1",
|
|
174
|
+
"lefthook": "^1.11.14",
|
|
175
175
|
"markdownlint-cli": "^0.29.0",
|
|
176
|
-
"merge-cobertura": "^1.0.
|
|
176
|
+
"merge-cobertura": "^1.0.4",
|
|
177
177
|
"mockdate": "^2.0.5",
|
|
178
|
-
"module-alias": "^2.2.
|
|
178
|
+
"module-alias": "^2.2.3",
|
|
179
179
|
"npm-run-all": "^4.1.5",
|
|
180
180
|
"patch-package": "^8.0.0",
|
|
181
181
|
"pikaday": "^1.8.0",
|
|
@@ -184,34 +184,34 @@
|
|
|
184
184
|
"postcss": "8.5.3",
|
|
185
185
|
"postcss-loader": "8.1.1",
|
|
186
186
|
"postcss-scss": "4.0.9",
|
|
187
|
-
"prettier": "3.3
|
|
187
|
+
"prettier": "3.5.3",
|
|
188
188
|
"prettier-plugin-tailwindcss": "^0.6.5",
|
|
189
189
|
"react": "^18.2.0",
|
|
190
|
-
"react-dom": "^18.
|
|
191
|
-
"rollup": "^2.
|
|
190
|
+
"react-dom": "^18.3.1",
|
|
191
|
+
"rollup": "^2.79.2",
|
|
192
192
|
"rollup-plugin-babel": "^4.4.0",
|
|
193
193
|
"rollup-plugin-postcss": "4.0.2",
|
|
194
194
|
"rollup-plugin-string": "^3.0.0",
|
|
195
195
|
"rollup-plugin-svg": "^2.0.0",
|
|
196
|
-
"rollup-plugin-vue": "^5.1.
|
|
196
|
+
"rollup-plugin-vue": "^5.1.9",
|
|
197
197
|
"sass": "^1.49.9",
|
|
198
198
|
"sass-loader": "^10.2.0",
|
|
199
199
|
"sass-true": "^6.1.0",
|
|
200
200
|
"start-server-and-test": "^1.10.6",
|
|
201
201
|
"storybook": "^7.6.20",
|
|
202
202
|
"storybook-dark-mode": "4.0.2",
|
|
203
|
-
"style-dictionary": "^4.
|
|
203
|
+
"style-dictionary": "^4.4.0",
|
|
204
204
|
"stylelint": "16.8.1",
|
|
205
205
|
"tailwind-config-viewer": "2.0.4",
|
|
206
|
-
"tailwindcss": "3.4.
|
|
206
|
+
"tailwindcss": "3.4.17",
|
|
207
207
|
"vue": "2.7.16",
|
|
208
|
-
"vue-loader": "^15.
|
|
208
|
+
"vue-loader": "^15.11.1",
|
|
209
209
|
"vue-loader-vue3": "npm:vue-loader@17",
|
|
210
210
|
"vue-router": "^3.5.1",
|
|
211
211
|
"vue-template-compiler": "2.7.16",
|
|
212
212
|
"vue-test-utils-compat": "^0.0.15",
|
|
213
213
|
"webpack": "^5.9.0",
|
|
214
|
-
"yargs": "^17.
|
|
214
|
+
"yargs": "^17.7.2",
|
|
215
215
|
"yarn-deduplicate": "^6.0.2"
|
|
216
216
|
}
|
|
217
217
|
}
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
|
|
87
87
|
@media (forced-colors: active) {
|
|
88
88
|
background-color: LinkText; // stylelint-disable-line scale-unlimited/declaration-strict-value
|
|
89
|
-
border-color:
|
|
89
|
+
border-color: LinkText; // stylelint-disable-line scale-unlimited/declaration-strict-value
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
&::before {
|
|
136
136
|
@media (forced-colors: active) {
|
|
137
137
|
background-color: LinkText; // stylelint-disable-line scale-unlimited/declaration-strict-value
|
|
138
|
-
border-color:
|
|
138
|
+
border-color: LinkText; // stylelint-disable-line scale-unlimited/declaration-strict-value
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
|
|
148
148
|
@media (forced-colors: active) {
|
|
149
149
|
background-color: LinkText; // stylelint-disable-line scale-unlimited/declaration-strict-value
|
|
150
|
-
border-color:
|
|
150
|
+
border-color: LinkText; // stylelint-disable-line scale-unlimited/declaration-strict-value
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
.custom-control-input:not(:disabled):focus:indeterminate ~ .custom-control-label::before {
|
|
166
166
|
@media (forced-colors: active) {
|
|
167
167
|
background-color: LinkText; // stylelint-disable-line scale-unlimited/declaration-strict-value
|
|
168
|
-
border-color:
|
|
168
|
+
border-color: LinkText; // stylelint-disable-line scale-unlimited/declaration-strict-value
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
}
|
|
@@ -175,6 +175,11 @@ export default {
|
|
|
175
175
|
},
|
|
176
176
|
onFieldValidationUpdate(fieldName, invalidFeedback) {
|
|
177
177
|
this.fieldValidations = setObjectProperty(this.fieldValidations, fieldName, invalidFeedback);
|
|
178
|
+
|
|
179
|
+
this.$emit('field-validation', {
|
|
180
|
+
fieldName,
|
|
181
|
+
...this.fieldValidationProps[fieldName],
|
|
182
|
+
});
|
|
178
183
|
},
|
|
179
184
|
onFieldBlur(fieldName) {
|
|
180
185
|
this.setFieldDirty(fieldName);
|