You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tailwind themes reference context.focus but that property is not included in CheckboxContext or TriStateCheckboxContext. This is leading to typescript errors.
I'm not sure if the context type were meant to extend another interface that supplies focused and this is an issue with the core package's definitions or if the theme being implemented using a property on the context that doesn't exist.
exportinterfaceCheckboxContext{/** * Current checked state of the item as a boolean. * @defaultValue false */checked: boolean;/** * Current disabled state of the item as a boolean. * @defaultValue false */disabled: boolean;}
exportinterfaceTriStateCheckboxContext{/** * Current active state as a boolean. * @defaultValue false */active: boolean;/** * Current disabled state as a boolean. * @defaultValue false */disabled: boolean;}
The tailwind themes reference
context.focus
but that property is not included inCheckboxContext
orTriStateCheckboxContext
. This is leading to typescript errors.I'm not sure if the context type were meant to extend another interface that supplies
focused
and this is an issue with the core package's definitions or if the theme being implemented using a property on the context that doesn't exist.Checkbox
primevue-tailwind/presets/wind/checkbox/index.js
Line 42 in 01ab003
https://github.com/primefaces/primevue/blob/f24b20d5318e7e4012fc4e039fec2057ac540b1b/components/lib/checkbox/Checkbox.d.ts#L193-L204
TriStateCheckbox
primevue-tailwind/presets/wind/tristatecheckbox/index.js
Line 28 in 01ab003
https://github.com/primefaces/primevue/blob/f24b20d5318e7e4012fc4e039fec2057ac540b1b/components/lib/tristatecheckbox/TriStateCheckbox.d.ts#L108-L119
The text was updated successfully, but these errors were encountered: