@sb1/ffe-accordion-react 12.0.3 → 12.0.5
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/package.json +3 -3
- package/types/Accordion.d.ts +1 -2
- package/types/AccordionItem.d.ts +1 -2
- package/types/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-accordion-react",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "SpareBank 1",
|
|
6
6
|
"files": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@sb1/ffe-accordion": "^10.0.16",
|
|
29
29
|
"@sb1/ffe-collapse-react": "^4.0.2",
|
|
30
|
-
"@sb1/ffe-icons-react": "^
|
|
30
|
+
"@sb1/ffe-icons-react": "^10.0.0",
|
|
31
31
|
"@types/uuid": "^9.0.0",
|
|
32
32
|
"classnames": "^2.3.1",
|
|
33
33
|
"uuid": "^9.0.0"
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "48bd1f6225acb09a6cf5f3c3e546b0abf9f59ef1"
|
|
47
47
|
}
|
package/types/Accordion.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface AccordionProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2
|
+
export interface AccordionProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
headingLevel: 1 | 2 | 3 | 4 | 5 | 6;
|
|
4
4
|
}
|
|
5
5
|
export declare const Accordion: React.FC<AccordionProps>;
|
|
6
|
-
export {};
|
package/types/AccordionItem.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface AccordionItemProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2
|
+
export interface AccordionItemProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3
3
|
/** The heading */
|
|
4
4
|
heading: NonNullable<React.ReactNode>;
|
|
5
5
|
/** The content to appear when expanded */
|
|
@@ -14,4 +14,3 @@ interface AccordionItemProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
|
14
14
|
ariaLabel?: string;
|
|
15
15
|
}
|
|
16
16
|
export declare const AccordionItem: React.FC<AccordionItemProps>;
|
|
17
|
-
export {};
|
package/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Accordion } from './Accordion';
|
|
2
|
-
export { AccordionItem } from './AccordionItem';
|
|
1
|
+
export { Accordion, AccordionProps } from './Accordion';
|
|
2
|
+
export { AccordionItem, AccordionItemProps } from './AccordionItem';
|