wave-ui 3.17.2 → 3.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/components/WAccordion.d.ts +2 -6
- package/dist/wave-ui.cjs.js +1 -1
- package/dist/wave-ui.es.js +80 -69
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +1 -1
- package/src/wave-ui/components/w-accordion/index.vue +60 -45
- package/src/wave-ui/components/w-accordion/item.vue +22 -22
|
@@ -25,8 +25,9 @@ export interface WaveAccordionProps {
|
|
|
25
25
|
*/
|
|
26
26
|
bgColor?: string;
|
|
27
27
|
/**
|
|
28
|
+
* Required when not using the `w-accordion-item` component, but redundant otherwise.
|
|
28
29
|
* Expecting an array of objects. Each object being an accordion item, it should include a `title` and `content` attributes.
|
|
29
|
-
*
|
|
30
|
+
* Deprecated: you can provide an integer number (call it `x`), to loop through and create `x` items in the accordion. You can then use the individual slots `item-title.x` & `item-content.x` to define each item title and content.
|
|
30
31
|
* @property {Array<any>|number} [items]
|
|
31
32
|
* @see https://antoniandre.github.io/wave-ui/w-accordion
|
|
32
33
|
*/
|
|
@@ -191,11 +192,6 @@ export interface WaveAccordionMethods extends MethodOptions {
|
|
|
191
192
|
* @see https://antoniandre.github.io/wave-ui/w-accordion
|
|
192
193
|
*/
|
|
193
194
|
itemClasses(item: any): void;
|
|
194
|
-
/**
|
|
195
|
-
* TODO: Add Description
|
|
196
|
-
* @see https://antoniandre.github.io/wave-ui/w-accordion
|
|
197
|
-
*/
|
|
198
|
-
updateItems(): void;
|
|
199
195
|
}
|
|
200
196
|
export type WaveAccordionSlots = SlotsType<{
|
|
201
197
|
/**
|