@gitlab/ui 114.7.1 → 114.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "114.7.1",
3
+ "version": "114.8.1",
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.0",
82
+ "@floating-ui/dom": "1.7.1",
83
83
  "echarts": "^5.6.0",
84
84
  "iframe-resizer": "^4.3.2",
85
- "lodash": "^4.17.20",
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.5.2",
100
+ "chokidar": "^3.6.0",
101
101
  "sane": "^5.0.1",
102
102
  "jackspeak": "2.1.1",
103
103
  "postcss": "8.5.3",
@@ -106,22 +106,22 @@
106
106
  "eslint-plugin-import": "2.31.0"
107
107
  },
108
108
  "devDependencies": {
109
- "@babel/core": "^7.27.1",
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.28.0",
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",
120
120
  "@gitlab/svgs": "3.131.0",
121
- "@jest/test-sequencer": "^29.7.0",
122
- "@rollup/plugin-commonjs": "^11.1.0",
121
+ "@jest/test-sequencer": "^30.0.2",
122
+ "@rollup/plugin-commonjs": "^21.1.0",
123
123
  "@rollup/plugin-node-resolve": "^7.1.3",
124
- "@rollup/plugin-replace": "^2.3.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,81 +137,81 @@
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.13",
141
- "@vue/compiler-sfc": "^3.5.13",
142
- "@vue/server-renderer": "^3.5.13",
143
- "@vue/test-utils": "1.3.0",
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.0.0",
146
- "@vue/vue3-jest": "^29.1.1",
145
+ "@vue/vue2-jest": "29.2.6",
146
+ "@vue/vue3-jest": "^29.2.6",
147
147
  "@yarnpkg/lockfile": "^1.1.0",
148
- "acorn": "^8.11.3",
149
- "acorn-walk": "^8.3.2",
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.1",
153
- "babel-loader": "^8.0.5",
154
- "cypress": "14.3.3",
155
- "cypress-real-events": "^1.11.0",
152
+ "babel-jest": "29.7.0",
153
+ "babel-loader": "^8.4.1",
154
+ "cypress": "14.5.0",
155
+ "cypress-real-events": "^1.14.0",
156
156
  "dompurify": "^3.1.2",
157
- "emoji-regex": "^10.0.0",
157
+ "emoji-regex": "^10.4.0",
158
158
  "entities": "^4.5.0",
159
159
  "esbuild": "^0.18.0",
160
- "eslint": "9.28.0",
161
- "eslint-formatter-gitlab": "^6.0.0",
160
+ "eslint": "9.29.0",
161
+ "eslint-formatter-gitlab": "^6.0.1",
162
162
  "eslint-import-resolver-jest": "3.0.2",
163
- "eslint-plugin-cypress": "5.0.1",
163
+ "eslint-plugin-cypress": "5.1.0",
164
164
  "eslint-plugin-storybook": "0.12.0",
165
- "fuse.js": "^7.0.0",
165
+ "fuse.js": "^7.1.0",
166
166
  "gitlab-api-async-iterator": "^1.3.1",
167
- "glob": "10.3.3",
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.4.0",
174
- "lefthook": "^1.10.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.2",
176
+ "merge-cobertura": "^1.0.4",
177
177
  "mockdate": "^2.0.5",
178
- "module-alias": "^2.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",
182
- "playwright": "^1.52.0",
183
- "playwright-core": "^1.52.0",
182
+ "playwright": "^1.53.1",
183
+ "playwright-core": "^1.53.1",
184
184
  "postcss": "8.5.3",
185
185
  "postcss-loader": "8.1.1",
186
186
  "postcss-scss": "4.0.9",
187
- "prettier": "3.3.2",
187
+ "prettier": "3.5.3",
188
188
  "prettier-plugin-tailwindcss": "^0.6.5",
189
- "react": "^18.2.0",
190
- "react-dom": "^18.2.0",
191
- "rollup": "^2.53.1",
189
+ "react": "^18.3.1",
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.6",
196
+ "rollup-plugin-vue": "^5.1.9",
197
197
  "sass": "^1.49.9",
198
- "sass-loader": "^10.2.0",
198
+ "sass-loader": "^10.5.2",
199
199
  "sass-true": "^6.1.0",
200
- "start-server-and-test": "^1.10.6",
200
+ "start-server-and-test": "^1.15.4",
201
201
  "storybook": "^7.6.20",
202
202
  "storybook-dark-mode": "4.0.2",
203
- "style-dictionary": "^4.3.3",
204
- "stylelint": "16.8.1",
203
+ "style-dictionary": "^5.0.0",
204
+ "stylelint": "16.20.0",
205
205
  "tailwind-config-viewer": "2.0.4",
206
- "tailwindcss": "3.4.4",
206
+ "tailwindcss": "3.4.17",
207
207
  "vue": "2.7.16",
208
- "vue-loader": "^15.8.3",
209
- "vue-loader-vue3": "npm:vue-loader@17",
208
+ "vue-loader": "^15.11.1",
209
+ "vue-loader-vue3": "npm:vue-loader@17.4.2",
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
- "webpack": "^5.9.0",
214
- "yargs": "^17.3.1",
213
+ "webpack": "^5.99.9",
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: LinKText; // stylelint-disable-line scale-unlimited/declaration-strict-value
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: LinKText; // stylelint-disable-line scale-unlimited/declaration-strict-value
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: LinKText; // stylelint-disable-line scale-unlimited/declaration-strict-value
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: LinKText; // stylelint-disable-line scale-unlimited/declaration-strict-value
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);
@@ -14,6 +14,7 @@ $clear-button-size: 24px;
14
14
  padding-right: calc(#{$gl-spacing-scale-6} + #{$gl-spacing-scale-2});
15
15
  @apply gl-py-4;
16
16
  @apply gl-text-base;
17
+ @apply gl-text-default;
17
18
  background-color: var(--gl-dropdown-search-background-color);
18
19
 
19
20
  &:focus {