diff --git a/api-generator/components/accordion.js b/api-generator/components/accordion.js index 7ebb08be3..baa34649c 100644 --- a/api-generator/components/accordion.js +++ b/api-generator/components/accordion.js @@ -40,6 +40,12 @@ const AccordionProps = [ type: 'boolean', default: 'false', description: 'When enabled, the focused tab is activated.' + }, + { + name: 'pt', + type: 'any', + default: 'null', + description: 'Uses to pass attributes to DOM elements inside the component.' } ]; diff --git a/api-generator/components/accordiontab.js b/api-generator/components/accordiontab.js index e29b3e708..b535a9fb3 100644 --- a/api-generator/components/accordiontab.js +++ b/api-generator/components/accordiontab.js @@ -52,6 +52,23 @@ const AccordionTabProps = [ type: 'boolean', default: 'false', description: 'Whether the tab is disabled.' + }, + { + name: 'pt', + type: 'any', + default: 'null', + description: 'Uses to pass attributes to DOM elements inside the component.' + } +]; + +const AccordionTabSlots = [ + { + name: 'header', + description: 'Custom content for the title section of a AccordionTab is defined using the header template.' + }, + { + name: 'headericon', + description: 'Custom icon for the header section of a AccordionTab is defined using the headericon template.' } ]; @@ -59,6 +76,7 @@ module.exports = { accordiontab: { name: 'AccordionTab', description: 'Accordion element consists of one or more AccordionTab elements.', - props: AccordionTabProps + props: AccordionTabProps, + slots: AccordionTabSlots } }; diff --git a/api-generator/components/panel.js b/api-generator/components/panel.js index 335043c8a..909ee3301 100644 --- a/api-generator/components/panel.js +++ b/api-generator/components/panel.js @@ -22,6 +22,12 @@ const PanelProps = [ type: 'string', default: 'null', description: 'Uses to pass the custom value to read for the anchor inside the component.' + }, + { + name: 'pt', + type: 'any', + default: 'null', + description: 'Uses to pass attributes to DOM elements inside the component.' } ]; @@ -52,6 +58,10 @@ const PanelSlots = [ { name: 'icons', description: "Custom content for the header's icon" + }, + { + name: 'headericon', + description: 'Custom header icon template of panel' } ];