@gitlab/ui 128.15.0 → 128.15.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/components/base/form/form_checkbox/form_checkbox.js +15 -1
- package/dist/components/base/form/form_checkbox/form_checkbox_group.js +5 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/tokens/build/js/tokens.js +1 -1
- package/package.json +2 -2
- package/src/components/base/form/form_checkbox/form_checkbox.vue +17 -1
- package/src/components/base/form/form_checkbox/form_checkbox_group.vue +7 -0
- package/src/tokens/build/css/tokens.css +1 -1
- package/src/tokens/build/css/tokens.dark.css +1 -1
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +3 -3
- package/src/tokens/build/docs/tokens-tailwind-docs.json +4 -4
- package/src/tokens/build/figma/constants.dark.json +1 -1
- package/src/tokens/build/figma/constants.json +1 -1
- package/src/tokens/build/figma/mode.dark.json +4 -2
- package/src/tokens/build/figma/mode.json +4 -2
- package/src/tokens/build/js/tokens.js +1 -1
- package/src/tokens/build/json/tokens.dark.json +9 -5
- package/src/tokens/build/json/tokens.json +10 -6
- package/src/tokens/build/scss/_tokens.dark.scss +1 -1
- package/src/tokens/build/scss/_tokens.scss +1 -1
- package/src/tokens/constant/border.tokens.json +1 -1
- package/src/tokens/semantic/control.tokens.json +4 -1
- package/src/tokens/semantic/heading.tokens.json +3 -1
|
@@ -213,6 +213,11 @@ var script = {
|
|
|
213
213
|
},
|
|
214
214
|
computedLocalCheckedWatcher(newValue, oldValue) {
|
|
215
215
|
if (!looseEqual(newValue, oldValue)) {
|
|
216
|
+
/**
|
|
217
|
+
* Emitted when checked state is changed.
|
|
218
|
+
*
|
|
219
|
+
* @event input
|
|
220
|
+
*/
|
|
216
221
|
this.$emit('input', newValue);
|
|
217
222
|
const {
|
|
218
223
|
input
|
|
@@ -252,11 +257,20 @@ var script = {
|
|
|
252
257
|
|
|
253
258
|
// Fire events in a `$nextTick()` to ensure the `v-model` is updated
|
|
254
259
|
this.$nextTick(() => {
|
|
255
|
-
|
|
260
|
+
/**
|
|
261
|
+
* Emitted when selected value(s) is changed due to user interaction.
|
|
262
|
+
*
|
|
263
|
+
* @event change
|
|
264
|
+
*/
|
|
256
265
|
this.$emit('change', localChecked);
|
|
257
266
|
|
|
258
267
|
// If this is a child of a group, we emit a change event on it as well
|
|
259
268
|
if (this.isGroup) {
|
|
269
|
+
/**
|
|
270
|
+
* Emitted when selected value(s) is changed due to user interaction.
|
|
271
|
+
*
|
|
272
|
+
* @event change
|
|
273
|
+
*/
|
|
260
274
|
this.group.$emit('change', localChecked);
|
|
261
275
|
}
|
|
262
276
|
this.$emit('indeterminate', indeterminate);
|