Api generator changes
parent
b63bc4db2f
commit
f9074c68a6
|
@ -40,6 +40,12 @@ const AccordionProps = [
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: 'false',
|
default: 'false',
|
||||||
description: 'When enabled, the focused tab is activated.'
|
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.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,23 @@ const AccordionTabProps = [
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: 'false',
|
default: 'false',
|
||||||
description: 'Whether the tab is disabled.'
|
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: {
|
accordiontab: {
|
||||||
name: 'AccordionTab',
|
name: 'AccordionTab',
|
||||||
description: 'Accordion element consists of one or more AccordionTab elements.',
|
description: 'Accordion element consists of one or more AccordionTab elements.',
|
||||||
props: AccordionTabProps
|
props: AccordionTabProps,
|
||||||
|
slots: AccordionTabSlots
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,6 +22,12 @@ const PanelProps = [
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: 'null',
|
default: 'null',
|
||||||
description: 'Uses to pass the custom value to read for the anchor inside the component.'
|
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',
|
name: 'icons',
|
||||||
description: "Custom content for the header's icon"
|
description: "Custom content for the header's icon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'headericon',
|
||||||
|
description: 'Custom header icon template of panel'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue