Refactor #3922: TriStateCheckbox PT Options typo
parent
270186ca6c
commit
cb37100228
|
@ -33,7 +33,7 @@ export interface TriStateCheckboxPassThroughOptions {
|
||||||
/**
|
/**
|
||||||
* Uses to pass attributes to the checkbox box's DOM element.
|
* Uses to pass attributes to the checkbox box's DOM element.
|
||||||
*/
|
*/
|
||||||
checbox?: TriStateCheckboxPassThroughOptionType;
|
checkbox?: TriStateCheckboxPassThroughOptionType;
|
||||||
/**
|
/**
|
||||||
* Uses to pass attributes to the check icon's DOM element.
|
* Uses to pass attributes to the check icon's DOM element.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<span class="p-sr-only" aria-live="polite" v-bind="ptm('srOnlyAria')">{{ ariaValueLabel }}</span>
|
<span class="p-sr-only" aria-live="polite" v-bind="ptm('srOnlyAria')">{{ ariaValueLabel }}</span>
|
||||||
<div ref="box" :class="['p-checkbox-box', { 'p-highlight': modelValue != null, 'p-disabled': disabled, 'p-focus': focused }]" v-bind="getPTOptions('checbox')">
|
<div ref="box" :class="['p-checkbox-box', { 'p-highlight': modelValue != null, 'p-disabled': disabled, 'p-focus': focused }]" v-bind="getPTOptions('checkbox')">
|
||||||
<slot v-if="modelValue === true" name="checkicon">
|
<slot v-if="modelValue === true" name="checkicon">
|
||||||
<component :is="'CheckIcon'" class="p-checkbox-icon" v-bind="ptm('checkIcon')" />
|
<component :is="'CheckIcon'" class="p-checkbox-icon" v-bind="ptm('checkIcon')" />
|
||||||
</slot>
|
</slot>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<TriStateCheckbox
|
<TriStateCheckbox
|
||||||
v-model="value"
|
v-model="value"
|
||||||
:pt="{
|
:pt="{
|
||||||
checbox: {
|
checkbox: {
|
||||||
class: value ? 'bg-teal-500 border-white' : undefined
|
class: value ? 'bg-teal-500 border-white' : undefined
|
||||||
}
|
}
|
||||||
}"
|
}"
|
||||||
|
@ -24,7 +24,7 @@ export default {
|
||||||
<TriStateCheckbox
|
<TriStateCheckbox
|
||||||
v-model="value"
|
v-model="value"
|
||||||
:pt="{
|
:pt="{
|
||||||
checbox: {
|
checkbox: {
|
||||||
class: value ? 'bg-teal-500 border-white' : undefined
|
class: value ? 'bg-teal-500 border-white' : undefined
|
||||||
}
|
}
|
||||||
}"
|
}"
|
||||||
|
@ -35,7 +35,7 @@ export default {
|
||||||
<TriStateCheckbox
|
<TriStateCheckbox
|
||||||
v-model="value"
|
v-model="value"
|
||||||
:pt="{
|
:pt="{
|
||||||
checbox: {
|
checkbox: {
|
||||||
class: value ? 'bg-teal-500 border-white' : undefined
|
class: value ? 'bg-teal-500 border-white' : undefined
|
||||||
}
|
}
|
||||||
}"
|
}"
|
||||||
|
@ -59,7 +59,7 @@ export default {
|
||||||
<TriStateCheckbox
|
<TriStateCheckbox
|
||||||
v-model="value"
|
v-model="value"
|
||||||
:pt="{
|
:pt="{
|
||||||
checbox: {
|
checkbox: {
|
||||||
class: value ? 'bg-teal-500 border-white' : undefined
|
class: value ? 'bg-teal-500 border-white' : undefined
|
||||||
}
|
}
|
||||||
}"
|
}"
|
||||||
|
|
Loading…
Reference in New Issue