design-react-kit 5.0.0 → 5.0.1
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/CHANGELOG.md +9 -0
- package/README.EN.md +1 -1
- package/README.md +1 -1
- package/dist/cjs/index-dc46473e.js.map +1 -1
- package/dist/esm/index-82182399.js.map +1 -1
- package/dist/types/Accordion/Accordion.d.ts +2 -2
- package/dist/types/Accordion/AccordionHeader.d.ts +2 -2
- package/dist/types/Accordion/AccordionItem.d.ts +2 -2
- package/dist/types/index-dc46473e.js.map +1 -1
- package/package.json +2 -2
- package/src/Accordion/Accordion.tsx +2 -2
- package/src/Accordion/AccordionHeader.tsx +2 -2
- package/src/Accordion/AccordionItem.tsx +2 -2
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"bugs": {
|
|
24
24
|
"url": "https://github.com/italia/design-react-kit/issues"
|
|
25
25
|
},
|
|
26
|
-
"version": "5.0.
|
|
26
|
+
"version": "5.0.1",
|
|
27
27
|
"license": "BSD-3",
|
|
28
28
|
"module": "dist/esm/index.js",
|
|
29
29
|
"main": "src/index.tsx",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"babel-jest": "^26.6.3",
|
|
116
116
|
"babel-loader": "^8.2.5",
|
|
117
117
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
118
|
-
"bootstrap-italia": "2.8.
|
|
118
|
+
"bootstrap-italia": "2.8.4",
|
|
119
119
|
"browserslist-config-design-italia": "^1.0.0",
|
|
120
120
|
"chromatic": "^6.8.0",
|
|
121
121
|
"circular-dependency-plugin": "^5.2.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React, { ElementType, FC } from 'react';
|
|
1
|
+
import React, { ElementType, FC, HTMLAttributes } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
|
|
4
|
-
export interface AccordionProps {
|
|
4
|
+
export interface AccordionProps extends HTMLAttributes<HTMLElement> {
|
|
5
5
|
/** Utilizzarlo in caso di utilizzo di componenti personalizzati */
|
|
6
6
|
tag?: ElementType;
|
|
7
7
|
/** Classi aggiuntive da usare per il componente Badge */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React, { FC, ReactNode, ElementType } from 'react';
|
|
2
1
|
import classNames from 'classnames';
|
|
2
|
+
import React, { ElementType, FC, HTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
-
export interface AccordionHeaderProps {
|
|
4
|
+
export interface AccordionHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
5
5
|
/** Utilizzarlo in caso di utilizzo di componenti personalizzati */
|
|
6
6
|
tag?: ElementType;
|
|
7
7
|
/** Classi aggiuntive da usare per il componente AccordionHeader */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React, { ElementType, FC } from 'react';
|
|
2
1
|
import classNames from 'classnames';
|
|
2
|
+
import React, { ElementType, FC, HTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
|
-
export interface AccordionItemProps {
|
|
4
|
+
export interface AccordionItemProps extends HTMLAttributes<HTMLElement> {
|
|
5
5
|
/** Utilizzarlo in caso di utilizzo di componenti personalizzati */
|
|
6
6
|
tag?: ElementType;
|
|
7
7
|
/** Classi aggiuntive da usare per il componente */
|