gd-bs 5.0.9 → 5.1.0

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/gd-bs.d.ts CHANGED
@@ -59,15 +59,16 @@ declare module 'gd-bs/components/accordion/types' {
59
59
  * id: "demoAccordion",
60
60
  * items: [
61
61
  * {
62
- * btnProps: { text: "Item 1" },
63
- * content: "This is the content for item 1."
62
+ * header: "Item 1",
63
+ * content: "This is the content for item 1.",
64
+ * showFl: true
64
65
  * },
65
66
  * {
66
- * btnProps: { text: "Item 2" },
67
+ * header: "Item 2",
67
68
  * content: "This is the content for item 2."
68
69
  * },
69
70
  * {
70
- * btnProps: { text: "Item 3" },
71
+ * header: "Item 3",
71
72
  * content: "This is the content for item 3."
72
73
  * }
73
74
  * ]
@@ -77,7 +78,6 @@ declare module 'gd-bs/components/accordion/types' {
77
78
  export const Accordion: (props: IAccordionProps, template?: string, itemTemplate?: string) => IAccordion;
78
79
 
79
80
  import { IBase, IBaseProps } from "gd-bs/components/types";
80
- import { ICollapseOptions } from "gd-bs/components/collapse/types";
81
81
 
82
82
  /**
83
83
  * Accordion
@@ -97,11 +97,6 @@ declare module 'gd-bs/components/accordion/types' {
97
97
  showFl?: boolean;
98
98
  }
99
99
 
100
- /**
101
- * Accordion Options
102
- */
103
- export interface IAccordionOptions extends ICollapseOptions { }
104
-
105
100
  /**
106
101
  * Accordion Properties
107
102
  */
@@ -109,7 +104,6 @@ declare module 'gd-bs/components/accordion/types' {
109
104
  autoCollapse?: boolean;
110
105
  id?: string;
111
106
  items?: Array<IAccordionItem<T>>;
112
- options?: IAccordionOptions;
113
107
  }
114
108
  }
115
109
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "5.0.9",
3
+ "version": "5.1.0",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -9,15 +9,16 @@
9
9
  * id: "demoAccordion",
10
10
  * items: [
11
11
  * {
12
- * btnProps: { text: "Item 1" },
13
- * content: "This is the content for item 1."
12
+ * header: "Item 1",
13
+ * content: "This is the content for item 1.",
14
+ * showFl: true
14
15
  * },
15
16
  * {
16
- * btnProps: { text: "Item 2" },
17
+ * header: "Item 2",
17
18
  * content: "This is the content for item 2."
18
19
  * },
19
20
  * {
20
- * btnProps: { text: "Item 3" },
21
+ * header: "Item 3",
21
22
  * content: "This is the content for item 3."
22
23
  * }
23
24
  * ]
@@ -39,15 +40,16 @@
39
40
  * id: "demoAccordion",
40
41
  * items: [
41
42
  * {
42
- * btnProps: { text: "Item 1" },
43
- * content: "This is the content for item 1."
43
+ * header: "Item 1",
44
+ * content: "This is the content for item 1.",
45
+ * showFl: true
44
46
  * },
45
47
  * {
46
- * btnProps: { text: "Item 2" },
48
+ * header: "Item 2",
47
49
  * content: "This is the content for item 2."
48
50
  * },
49
51
  * {
50
- * btnProps: { text: "Item 3" },
52
+ * header: "Item 3",
51
53
  * content: "This is the content for item 3."
52
54
  * }
53
55
  * ]
@@ -57,7 +59,6 @@
57
59
  export const Accordion: (props: IAccordionProps, template?: string, itemTemplate?: string) => IAccordion;
58
60
 
59
61
  import { IBase, IBaseProps } from "../types";
60
- import { ICollapseOptions } from "../collapse/types";
61
62
 
62
63
  /**
63
64
  * Accordion
@@ -77,11 +78,6 @@ export interface IAccordionItem<T = Element> {
77
78
  showFl?: boolean;
78
79
  }
79
80
 
80
- /**
81
- * Accordion Options
82
- */
83
- export interface IAccordionOptions extends ICollapseOptions { }
84
-
85
81
  /**
86
82
  * Accordion Properties
87
83
  */
@@ -89,5 +85,4 @@ export interface IAccordionProps<T = Element> extends IBaseProps<IAccordion> {
89
85
  autoCollapse?: boolean;
90
86
  id?: string;
91
87
  items?: Array<IAccordionItem<T>>;
92
- options?: IAccordionOptions;
93
88
  }