diff --git a/apps/showcase/components/doc/DocPTViewer.vue b/apps/showcase/components/doc/DocPTViewer.vue index 7941042c8..1152f45f0 100644 --- a/apps/showcase/components/doc/DocPTViewer.vue +++ b/apps/showcase/components/doc/DocPTViewer.vue @@ -42,12 +42,12 @@ export default { if (this.hoveredElements.length === 0) this.hoveredElements = find(document.querySelector('body'), selector); //TODO: this.hoveredElements?.forEach((el) => { - addClass(el, '!ring !ring-red-500'); + addClass(el, '!ring !ring-red-500 !z-10'); }); }, leaveSection() { this.hoveredElements.forEach((el) => { - removeClass(el, '!ring !ring-red-500'); + removeClass(el, '!ring !ring-red-500 !z-10'); }); this.hoveredElements = []; diff --git a/packages/primevue/src/fieldset/Fieldset.d.ts b/packages/primevue/src/fieldset/Fieldset.d.ts index d1d1d0741..6ea33680b 100755 --- a/packages/primevue/src/fieldset/Fieldset.d.ts +++ b/packages/primevue/src/fieldset/Fieldset.d.ts @@ -75,9 +75,13 @@ export interface FieldsetPassThroughOptions { */ legend?: FieldsetPassThroughOptionType; /** - * Used to pass attributes to the legend label's DOM element. + * Used to pass attributes to the toggle button's DOM element. */ toggleButton?: FieldsetPassThroughOptionType; + /** + * Used to pass attributes to the toggle icon's DOM element. + */ + toggleIcon?: FieldsetPassThroughOptionType; /** * Used to pass attributes to the legend label's DOM element. */