diff --git a/CHANGELOG.md b/CHANGELOG.md index af7f43d..16675ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ miru.ink / Changelog ==================== +## Version 0.0.18 - Experimental +- Add: New `tabindex` property on `FormControl` and control components. +- Update: Use `SharedControlProps` on many different control components. +- Update: Use `disabled`, `required` and `invalid` on `NumberField` control component. + ## Version 0.0.17 - Experimental - Update: package.json dependencies. - Update: `PopoverStd` and `ContextMenu` components. diff --git a/package.json b/package.json index cf8db5d..65fa8af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "miru.ink", - "version": "0.0.17", + "version": "0.0.18", "description": "A Open-Source Vue3 / Tailwind CSS component framework and function library.", "keywords": [ "ui", diff --git a/src/components/control/BalloonSelector.vue b/src/components/control/BalloonSelector.vue index 7e9eeea..ea84282 100644 --- a/src/components/control/BalloonSelector.vue +++ b/src/components/control/BalloonSelector.vue @@ -24,6 +24,7 @@ :type="props.multiple ? 'checkbox' : 'radio'" :name="`${props.name || props.id}${(props.multiple ? '[]' : '')}`" :value="option.value" + :tabindex="props.tabindex" :disabled="isDisabled || option.disabled || false" :required="isRequired" :checked="isChecked(option.value)" /> diff --git a/src/components/control/CheckboxField.vue b/src/components/control/CheckboxField.vue index f3a8a6c..def8898 100644 --- a/src/components/control/CheckboxField.vue +++ b/src/components/control/CheckboxField.vue @@ -10,8 +10,8 @@ class="checkbox-input" :name="props.name || fieldId" :value="props.value ? props.value : true" + :tabindex="props.tabindex" :disabled="toValue(props.disabled || false) || typeof disabled == 'string'" - :readonly="toValue(props.readonly || false) || typeof readonly == 'string'" :required="toValue(props.required || false) || typeof required == 'string'" v-model="value" />