@gitlab/ui 134.1.2 → 134.2.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/base/form/form_date/form_date.js +17 -1
- package/dist/components/base/token_selector/token_selector.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/package.json +10 -9
- package/src/components/base/form/form_date/form_date.vue +18 -0
- package/src/components/base/token_selector/token_selector.scss +4 -2
- package/src/components/base/token_selector/token_selector.vue +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/ui",
|
|
3
|
-
"version": "134.
|
|
3
|
+
"version": "134.2.0",
|
|
4
4
|
"description": "GitLab UI Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"chokidar": "^4.0.3",
|
|
93
93
|
"sane": "^5.0.1",
|
|
94
94
|
"jackspeak": "2.3.6",
|
|
95
|
-
"postcss": "8.5.
|
|
95
|
+
"postcss": "8.5.15",
|
|
96
96
|
"json5": "2.2.3",
|
|
97
97
|
"rollup-plugin-vue/@vue/component-compiler/postcss-modules-sync/generic-names/loader-utils": "3.3.1"
|
|
98
98
|
},
|
|
@@ -146,17 +146,18 @@
|
|
|
146
146
|
"gitlab-api-async-iterator": "^1.3.1",
|
|
147
147
|
"glob": "11.1.0",
|
|
148
148
|
"identity-obj-proxy": "^3.0.0",
|
|
149
|
-
"jest": "30.
|
|
150
|
-
"jest-circus": "30.
|
|
151
|
-
"jest-environment-jsdom": "30.
|
|
149
|
+
"jest": "30.4.2",
|
|
150
|
+
"jest-circus": "30.4.2",
|
|
151
|
+
"jest-environment-jsdom": "30.4.1",
|
|
152
|
+
"jest-environment-node": "30.4.1",
|
|
152
153
|
"jest-image-snapshot": "^6.5.2",
|
|
153
|
-
"merge-cobertura": "^1.0.
|
|
154
|
+
"merge-cobertura": "^1.0.9",
|
|
154
155
|
"mockdate": "^3.0.5",
|
|
155
156
|
"module-alias": "^2.3.4",
|
|
156
157
|
"pikaday": "^1.8.0",
|
|
157
158
|
"playwright": "^1.60.0",
|
|
158
159
|
"playwright-core": "^1.60.0",
|
|
159
|
-
"postcss": "8.5.
|
|
160
|
+
"postcss": "8.5.15",
|
|
160
161
|
"postcss-loader": "8.2.1",
|
|
161
162
|
"postcss-scss": "4.0.9",
|
|
162
163
|
"react": "18.3.1",
|
|
@@ -167,13 +168,13 @@
|
|
|
167
168
|
"rollup-plugin-string": "^3.0.0",
|
|
168
169
|
"rollup-plugin-svg": "^2.0.0",
|
|
169
170
|
"rollup-plugin-vue": "^5.1.9",
|
|
170
|
-
"sass": "^1.
|
|
171
|
+
"sass": "^1.100.0",
|
|
171
172
|
"sass-loader": "^10.5.2",
|
|
172
173
|
"sass-true": "^9",
|
|
173
174
|
"start-server-and-test": "^2.1.5",
|
|
174
175
|
"storybook": "^7.6.24",
|
|
175
176
|
"storybook-dark-mode": "4.0.2",
|
|
176
|
-
"style-dictionary": "^5.4.
|
|
177
|
+
"style-dictionary": "^5.4.1",
|
|
177
178
|
"style-loader": "^4",
|
|
178
179
|
"tailwindcss": "3.4.19",
|
|
179
180
|
"vue": "2.7.16",
|
|
@@ -101,6 +101,22 @@ export default {
|
|
|
101
101
|
this.updateValueAsDate();
|
|
102
102
|
this.$emit('change', $event);
|
|
103
103
|
},
|
|
104
|
+
onKeydown($event) {
|
|
105
|
+
/**
|
|
106
|
+
* Emitted when a key is pressed inside the date input.
|
|
107
|
+
*
|
|
108
|
+
* @event keydown
|
|
109
|
+
*/
|
|
110
|
+
this.$emit('keydown', $event);
|
|
111
|
+
},
|
|
112
|
+
onBlur($event) {
|
|
113
|
+
/**
|
|
114
|
+
* Emitted when the date input loses focus.
|
|
115
|
+
*
|
|
116
|
+
* @event blur
|
|
117
|
+
*/
|
|
118
|
+
this.$emit('blur', $event);
|
|
119
|
+
},
|
|
104
120
|
},
|
|
105
121
|
};
|
|
106
122
|
</script>
|
|
@@ -119,6 +135,8 @@ export default {
|
|
|
119
135
|
:state="state"
|
|
120
136
|
type="date"
|
|
121
137
|
@change="onChange"
|
|
138
|
+
@keydown="onKeydown"
|
|
139
|
+
@blur="onBlur"
|
|
122
140
|
/>
|
|
123
141
|
<output v-if="outputValue" :id="outputId" ref="output" :for="inputId" class="gl-sr-only">
|
|
124
142
|
{{ outputValue }}
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.gl-token-selector-input {
|
|
23
|
-
padding-
|
|
24
|
-
padding-
|
|
23
|
+
padding-top: $input-padding-y;
|
|
24
|
+
padding-bottom: $input-padding-y;
|
|
25
|
+
padding-left: $input-padding-x-sm;
|
|
26
|
+
padding-right: $input-padding-x-sm;
|
|
25
27
|
}
|
|
@@ -465,7 +465,7 @@ export default {
|
|
|
465
465
|
<input
|
|
466
466
|
ref="textInput"
|
|
467
467
|
type="text"
|
|
468
|
-
class="gl-token-selector-input gl-h-auto gl-w-4/10 gl-grow gl-border-none gl-bg-transparent gl-
|
|
468
|
+
class="gl-token-selector-input gl-h-auto gl-w-4/10 gl-grow gl-border-none gl-bg-transparent gl-font-regular gl-text-base gl-leading-normal gl-text-default gl-outline-none"
|
|
469
469
|
:value="inputText"
|
|
470
470
|
:aria-activedescendant="handleAriaActiveDescendent(focusedDropdownItem)"
|
|
471
471
|
:autocomplete="autocomplete"
|