norma-library 0.4.3 → 0.4.6
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/.babelrc.json +18 -0
- package/buildcache/front-end +1 -0
- package/dist/esm/components/Accordion.d.ts +3 -0
- package/dist/esm/components/Accordion.js +24 -0
- package/dist/esm/components/Accordion.js.map +1 -0
- package/dist/esm/components/Button.d.ts +3 -0
- package/dist/esm/components/Button.js +22 -0
- package/dist/esm/components/Button.js.map +1 -0
- package/dist/esm/components/Card.d.ts +7 -0
- package/dist/esm/components/Card.js +31 -0
- package/dist/esm/components/Card.js.map +1 -0
- package/dist/esm/components/CheckBox.d.ts +3 -0
- package/dist/esm/components/CheckBox.js +13 -0
- package/dist/esm/components/CheckBox.js.map +1 -0
- package/dist/esm/components/DropDown.d.ts +3 -0
- package/dist/esm/components/DropDown.js +17 -0
- package/dist/esm/components/DropDown.js.map +1 -0
- package/dist/esm/components/IconButton.d.ts +3 -0
- package/dist/esm/components/IconButton.js +31 -0
- package/dist/esm/components/IconButton.js.map +1 -0
- package/dist/esm/components/Icons.d.ts +7 -0
- package/dist/esm/components/Icons.js +49 -0
- package/dist/esm/components/Icons.js.map +1 -0
- package/dist/esm/components/Modal.d.ts +4 -0
- package/dist/esm/components/Modal.js +32 -0
- package/dist/esm/components/Modal.js.map +1 -0
- package/dist/esm/components/Paper.d.ts +3 -0
- package/dist/esm/components/Paper.js +14 -0
- package/dist/esm/components/Paper.js.map +1 -0
- package/dist/esm/components/ProgressBar.d.ts +6 -0
- package/dist/esm/components/ProgressBar.js +31 -0
- package/dist/esm/components/ProgressBar.js.map +1 -0
- package/dist/esm/components/RadioGroup.d.ts +3 -0
- package/dist/esm/components/RadioGroup.js +18 -0
- package/dist/esm/components/RadioGroup.js.map +1 -0
- package/dist/esm/components/RangerSlider.d.ts +3 -0
- package/dist/esm/components/RangerSlider.js +64 -0
- package/dist/esm/components/RangerSlider.js.map +1 -0
- package/dist/esm/components/Select.d.ts +3 -0
- package/dist/esm/components/Select.js +45 -0
- package/dist/esm/components/Select.js.map +1 -0
- package/dist/{components/icon/norma.d.ts → esm/components/Svgs.d.ts} +29 -30
- package/dist/esm/components/Svgs.js +102 -0
- package/dist/esm/components/Svgs.js.map +1 -0
- package/dist/esm/components/Tabs.d.ts +3 -0
- package/dist/esm/components/Tabs.js +78 -0
- package/dist/esm/components/Tabs.js.map +1 -0
- package/dist/esm/components/Tag.d.ts +3 -0
- package/dist/esm/components/Tag.js +27 -0
- package/dist/esm/components/Tag.js.map +1 -0
- package/dist/esm/components/TextField.d.ts +3 -0
- package/dist/esm/components/TextField.js +18 -0
- package/dist/esm/components/TextField.js.map +1 -0
- package/dist/esm/components/index.d.ts +16 -0
- package/dist/esm/components/index.js +17 -0
- package/dist/esm/components/index.js.map +1 -0
- package/dist/esm/helpers/alignments.d.ts +2 -0
- package/dist/esm/helpers/alignments.js +14 -0
- package/dist/esm/helpers/alignments.js.map +1 -0
- package/dist/esm/helpers/borders.d.ts +2 -0
- package/dist/esm/helpers/borders.js +18 -0
- package/dist/esm/helpers/borders.js.map +1 -0
- package/dist/{helpers → esm/helpers}/colors.d.ts +172 -174
- package/dist/esm/helpers/colors.js +156 -0
- package/dist/esm/helpers/colors.js.map +1 -0
- package/dist/esm/helpers/index.d.ts +5 -0
- package/dist/esm/helpers/index.js +6 -0
- package/dist/esm/helpers/index.js.map +1 -0
- package/dist/esm/helpers/radios.d.ts +2 -0
- package/dist/esm/helpers/radios.js +24 -0
- package/dist/esm/helpers/radios.js.map +1 -0
- package/dist/esm/helpers/sizes.d.ts +11 -0
- package/dist/esm/helpers/sizes.js +67 -0
- package/dist/esm/helpers/sizes.js.map +1 -0
- package/dist/esm/index.d.ts +17 -0
- package/dist/esm/index.js +18 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/interfaces/Accordion.d.ts +12 -0
- package/dist/esm/interfaces/Accordion.js +2 -0
- package/dist/esm/interfaces/Accordion.js.map +1 -0
- package/dist/esm/interfaces/Button.d.ts +14 -0
- package/dist/esm/interfaces/Button.js +2 -0
- package/dist/esm/interfaces/Button.js.map +1 -0
- package/dist/esm/interfaces/Card.d.ts +11 -0
- package/dist/esm/interfaces/Card.js +2 -0
- package/dist/esm/interfaces/Card.js.map +1 -0
- package/dist/esm/interfaces/CheckBox.d.ts +19 -0
- package/dist/esm/interfaces/CheckBox.js +2 -0
- package/dist/esm/interfaces/CheckBox.js.map +1 -0
- package/dist/esm/interfaces/DropDown.d.ts +11 -0
- package/dist/esm/interfaces/DropDown.js +2 -0
- package/dist/esm/interfaces/DropDown.js.map +1 -0
- package/dist/esm/interfaces/IconButton.d.ts +14 -0
- package/dist/esm/interfaces/IconButton.js +2 -0
- package/dist/esm/interfaces/IconButton.js.map +1 -0
- package/dist/esm/interfaces/Icons.d.ts +15 -0
- package/dist/esm/interfaces/Icons.js +2 -0
- package/dist/esm/interfaces/Icons.js.map +1 -0
- package/dist/esm/interfaces/Modal.d.ts +15 -0
- package/dist/esm/interfaces/Modal.js +2 -0
- package/dist/esm/interfaces/Modal.js.map +1 -0
- package/dist/esm/interfaces/Paper.d.ts +12 -0
- package/dist/esm/interfaces/Paper.js +2 -0
- package/dist/esm/interfaces/Paper.js.map +1 -0
- package/dist/esm/interfaces/ProgressBar.d.ts +17 -0
- package/dist/esm/interfaces/ProgressBar.js +2 -0
- package/dist/esm/interfaces/ProgressBar.js.map +1 -0
- package/dist/esm/interfaces/RadioGroup.d.ts +15 -0
- package/dist/esm/interfaces/RadioGroup.js +2 -0
- package/dist/esm/interfaces/RadioGroup.js.map +1 -0
- package/dist/esm/interfaces/RangerSlider.d.ts +18 -0
- package/dist/esm/interfaces/RangerSlider.js +2 -0
- package/dist/esm/interfaces/RangerSlider.js.map +1 -0
- package/dist/esm/interfaces/Select.d.ts +17 -0
- package/dist/esm/interfaces/Select.js +2 -0
- package/dist/esm/interfaces/Select.js.map +1 -0
- package/dist/esm/interfaces/Tabs.d.ts +18 -0
- package/dist/esm/interfaces/Tabs.js +2 -0
- package/dist/esm/interfaces/Tabs.js.map +1 -0
- package/dist/esm/interfaces/Tag.d.ts +18 -0
- package/dist/esm/interfaces/Tag.js +2 -0
- package/dist/esm/interfaces/Tag.js.map +1 -0
- package/dist/esm/interfaces/TextField.d.ts +40 -0
- package/dist/esm/interfaces/TextField.js +2 -0
- package/dist/esm/interfaces/TextField.js.map +1 -0
- package/dist/esm/interfaces/index.d.ts +17 -0
- package/dist/esm/interfaces/index.js +18 -0
- package/dist/esm/interfaces/index.js.map +1 -0
- package/dist/esm/types/index.d.ts +78 -0
- package/dist/esm/types/index.js +10 -0
- package/dist/esm/types/index.js.map +1 -0
- package/norma-library.tar +0 -0
- package/package.json +75 -90
- package/postcss.config.js +6 -0
- package/src/components/Accordion.tsx +64 -0
- package/src/components/Button.tsx +38 -0
- package/src/components/Card.tsx +47 -0
- package/src/components/CheckBox.tsx +35 -0
- package/src/components/DropDown.tsx +38 -0
- package/src/components/IconButton.tsx +58 -0
- package/src/components/Icons.tsx +87 -0
- package/src/components/Modal.tsx +123 -0
- package/src/components/Paper.tsx +22 -0
- package/src/components/ProgressBar.tsx +62 -0
- package/src/components/RadioGroup.tsx +55 -0
- package/src/components/RangerSlider.tsx +81 -0
- package/src/components/Select.tsx +98 -0
- package/src/components/{icon/norma.tsx → Svgs.tsx} +54 -55
- package/src/components/Tabs.tsx +140 -0
- package/src/components/Tag.tsx +45 -0
- package/src/components/TextField.tsx +35 -0
- package/src/components/index.ts +16 -8
- package/src/helpers/alignments.ts +14 -0
- package/src/helpers/borders.ts +18 -0
- package/src/helpers/colors.ts +173 -209
- package/src/helpers/index.ts +5 -3
- package/src/helpers/radios.ts +24 -0
- package/src/helpers/sizes.ts +79 -26
- package/src/index.css +2 -0
- package/src/index.ts +36 -0
- package/src/interfaces/Accordion.ts +12 -0
- package/src/interfaces/Button.ts +27 -0
- package/src/interfaces/Card.ts +11 -0
- package/src/interfaces/CheckBox.ts +33 -0
- package/src/interfaces/DropDown.ts +14 -0
- package/src/interfaces/IconButton.ts +27 -0
- package/src/interfaces/Icons.ts +17 -0
- package/src/interfaces/Modal.ts +15 -0
- package/src/interfaces/Paper.ts +12 -0
- package/src/interfaces/ProgressBar.ts +25 -0
- package/src/interfaces/RadioGroup.ts +28 -0
- package/src/interfaces/RangerSlider.ts +32 -0
- package/src/interfaces/Select.ts +17 -0
- package/src/interfaces/Tabs.ts +24 -0
- package/src/interfaces/Tag.ts +17 -0
- package/src/interfaces/TextField.ts +63 -0
- package/src/interfaces/index.ts +17 -0
- package/src/stories/Accordion.stories.tsx +65 -0
- package/src/stories/Button.stories.tsx +99 -0
- package/src/stories/Card.stories.tsx +55 -0
- package/src/stories/CheckBox.stories.tsx +94 -0
- package/src/stories/Colors.stories.mdx +127 -0
- package/src/stories/DropDown.stories.tsx +57 -0
- package/src/stories/IconButton.stories.tsx +114 -0
- package/src/stories/Icons.stories.mdx +27 -0
- package/src/stories/Modal.stories.tsx +190 -0
- package/src/stories/Paper.stories.tsx +53 -0
- package/src/stories/ProgressBar.stories.tsx +139 -0
- package/src/stories/RadioGroup.stories.tsx +94 -0
- package/src/stories/RangerSlider.stories.tsx +68 -0
- package/src/stories/Select.stories.tsx +128 -0
- package/src/stories/Tabs.stories.tsx +62 -0
- package/src/stories/Tag.stories.tsx +76 -0
- package/src/{components/textfield/textfield.stories.tsx → stories/TextField.stories.tsx} +445 -376
- package/src/styles/custom.css +5 -0
- package/src/styles/globals.css +21 -0
- package/src/types/index.ts +220 -0
- package/tailwind.config.js +58 -0
- package/tsconfig.json +32 -0
- package/README.md +0 -160
- package/dist/components/button/button.d.ts +0 -3
- package/dist/components/button/index.d.ts +0 -1
- package/dist/components/button/types.d.ts +0 -18
- package/dist/components/card/card-header.d.ts +0 -3
- package/dist/components/card/card.d.ts +0 -3
- package/dist/components/card/index.d.ts +0 -1
- package/dist/components/card/styles.d.ts +0 -811
- package/dist/components/card/types.d.ts +0 -12
- package/dist/components/checkbox/checkbox.d.ts +0 -3
- package/dist/components/checkbox/index.d.ts +0 -1
- package/dist/components/checkbox/types.d.ts +0 -23
- package/dist/components/icon/default.d.ts +0 -210
- package/dist/components/icon/defaultIcon.d.ts +0 -5
- package/dist/components/icon/icons-ia.d.ts +0 -71
- package/dist/components/icon/index.d.ts +0 -234
- package/dist/components/icon/normaIcon.d.ts +0 -13
- package/dist/components/icon/styles.d.ts +0 -481
- package/dist/components/icon/svg.d.ts +0 -6
- package/dist/components/icon/types.d.ts +0 -12
- package/dist/components/index.d.ts +0 -8
- package/dist/components/modal/index.d.ts +0 -1
- package/dist/components/modal/modal.d.ts +0 -3
- package/dist/components/modal/modalFooter.d.ts +0 -3
- package/dist/components/modal/modalHeader.d.ts +0 -3
- package/dist/components/modal/styles.d.ts +0 -540
- package/dist/components/modal/types.d.ts +0 -27
- package/dist/components/progress-bar/index.d.ts +0 -1
- package/dist/components/progress-bar/progress-bar.d.ts +0 -7
- package/dist/components/progress-bar/styles.d.ts +0 -272
- package/dist/components/progress-bar/types.d.ts +0 -22
- package/dist/components/radio/index.d.ts +0 -1
- package/dist/components/radio/radio.d.ts +0 -3
- package/dist/components/radio/types.d.ts +0 -16
- package/dist/components/tag/index.d.ts +0 -1
- package/dist/components/tag/tag.d.ts +0 -3
- package/dist/components/tag/types.d.ts +0 -25
- package/dist/components/textfield/index.d.ts +0 -1
- package/dist/components/textfield/textfield.d.ts +0 -3
- package/dist/components/textfield/types.d.ts +0 -42
- package/dist/helpers/clients.d.ts +0 -5
- package/dist/helpers/index.d.ts +0 -3
- package/dist/helpers/sizes.d.ts +0 -6
- package/dist/helpers/variants.d.ts +0 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -8
- package/dist/norma-library.cjs.development.js +0 -1286
- package/dist/norma-library.cjs.development.js.map +0 -1
- package/dist/norma-library.cjs.production.min.js +0 -2
- package/dist/norma-library.cjs.production.min.js.map +0 -1
- package/dist/norma-library.esm.js +0 -1274
- package/dist/norma-library.esm.js.map +0 -1
- package/src/components/button/button.stories.tsx +0 -44
- package/src/components/button/button.tsx +0 -18
- package/src/components/button/index.ts +0 -1
- package/src/components/button/types.ts +0 -48
- package/src/components/card/card-header.tsx +0 -8
- package/src/components/card/card.stories.tsx +0 -28
- package/src/components/card/card.tsx +0 -13
- package/src/components/card/index.ts +0 -1
- package/src/components/card/styles.tsx +0 -29
- package/src/components/card/types.ts +0 -14
- package/src/components/checkbox/checkbox.stories.tsx +0 -66
- package/src/components/checkbox/checkbox.tsx +0 -13
- package/src/components/checkbox/index.ts +0 -1
- package/src/components/checkbox/types.ts +0 -30
- package/src/components/icon/default.tsx +0 -1459
- package/src/components/icon/defaultIcon.tsx +0 -82
- package/src/components/icon/icon.stories.tsx +0 -44
- package/src/components/icon/icons-ia.tsx +0 -107
- package/src/components/icon/index.ts +0 -11
- package/src/components/icon/normaIcon.tsx +0 -94
- package/src/components/icon/styles.ts +0 -11
- package/src/components/icon/svg.tsx +0 -24
- package/src/components/icon/types.ts +0 -14
- package/src/components/modal/index.ts +0 -1
- package/src/components/modal/modal.stories.tsx +0 -55
- package/src/components/modal/modal.tsx +0 -42
- package/src/components/modal/modalFooter.tsx +0 -32
- package/src/components/modal/modalHeader.tsx +0 -46
- package/src/components/modal/styles.tsx +0 -13
- package/src/components/modal/types.ts +0 -47
- package/src/components/progress-bar/index.ts +0 -1
- package/src/components/progress-bar/progress-bar.stories.tsx +0 -68
- package/src/components/progress-bar/progress-bar.tsx +0 -38
- package/src/components/progress-bar/styles.tsx +0 -27
- package/src/components/progress-bar/types.ts +0 -35
- package/src/components/radio/index.ts +0 -1
- package/src/components/radio/radio.stories.tsx +0 -150
- package/src/components/radio/radio.tsx +0 -13
- package/src/components/radio/types.ts +0 -27
- package/src/components/tag/index.ts +0 -1
- package/src/components/tag/tag.stories.tsx +0 -80
- package/src/components/tag/tag.tsx +0 -13
- package/src/components/tag/types.ts +0 -47
- package/src/components/textfield/index.ts +0 -1
- package/src/components/textfield/textfield.tsx +0 -23
- package/src/components/textfield/types.ts +0 -93
- package/src/helpers/clients.ts +0 -6
- package/src/helpers/variants.ts +0 -3
- package/src/index.tsx +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
function getRadioSize(radio: string) {
|
|
2
|
+
switch (radio) {
|
|
3
|
+
case 'none':
|
|
4
|
+
return 'rounded-none';
|
|
5
|
+
case 'xs':
|
|
6
|
+
return 'rounded-xs';
|
|
7
|
+
case 'sm':
|
|
8
|
+
return 'rounded-sm';
|
|
9
|
+
case 'md':
|
|
10
|
+
return 'rounded-md';
|
|
11
|
+
case 'lg':
|
|
12
|
+
return 'rounded-lg';
|
|
13
|
+
case 'xl':
|
|
14
|
+
return 'rounded-xl';
|
|
15
|
+
case 'xll':
|
|
16
|
+
return 'rounded-2xl';
|
|
17
|
+
case 'full':
|
|
18
|
+
return 'rounded-full';
|
|
19
|
+
default:
|
|
20
|
+
return 'rounded-none';
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { getRadioSize };
|
package/src/helpers/sizes.ts
CHANGED
|
@@ -1,26 +1,79 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
function getSize(size: string) {
|
|
2
|
+
switch (size) {
|
|
3
|
+
case "small":
|
|
4
|
+
return "text-sm";
|
|
5
|
+
case "medium":
|
|
6
|
+
return "text-lg";
|
|
7
|
+
case "large":
|
|
8
|
+
return "text-xl";
|
|
9
|
+
default:
|
|
10
|
+
return "text-base";
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function getBtnSize(size: string) {
|
|
15
|
+
switch (size) {
|
|
16
|
+
case "small":
|
|
17
|
+
return "px-3 py-2 text-xs font-medium";
|
|
18
|
+
case "medium":
|
|
19
|
+
return "px-5 py-2.5 text-sm font-medium ";
|
|
20
|
+
case "large":
|
|
21
|
+
return "px-6 py-3.5 text-base font-medium font-semibold";
|
|
22
|
+
default:
|
|
23
|
+
return "h-10 py-2 px-4 text-lg";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function getPaddingSize(size: string) {
|
|
28
|
+
switch (size) {
|
|
29
|
+
case "small":
|
|
30
|
+
return "px-4 py-2.5";
|
|
31
|
+
case "medium":
|
|
32
|
+
return "px-5 py-2.5";
|
|
33
|
+
case "large":
|
|
34
|
+
return "px-6 py-3";
|
|
35
|
+
default:
|
|
36
|
+
return "px-5 py-2.5";
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function getHeightSize(size: string) {
|
|
41
|
+
switch (size) {
|
|
42
|
+
case "small":
|
|
43
|
+
return "h-6";
|
|
44
|
+
case "medium":
|
|
45
|
+
return "h-10";
|
|
46
|
+
case "large":
|
|
47
|
+
return "10";
|
|
48
|
+
default:
|
|
49
|
+
return "h-12";
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function getIconSize(size: string) {
|
|
54
|
+
switch (size) {
|
|
55
|
+
case "small":
|
|
56
|
+
return "px-1.5 py-0 h-6 w-6";
|
|
57
|
+
case "medium":
|
|
58
|
+
return "px-1.5 py-0 h-8 w-8";
|
|
59
|
+
case "large":
|
|
60
|
+
return "px-1.5 py-0 h-10 w-10";
|
|
61
|
+
default:
|
|
62
|
+
return "px-1.5 py-0 h-8 w-8";
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const sizes = {
|
|
67
|
+
small: "small",
|
|
68
|
+
medium: "medium",
|
|
69
|
+
large: "large",
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export {
|
|
73
|
+
sizes,
|
|
74
|
+
getBtnSize,
|
|
75
|
+
getSize,
|
|
76
|
+
getPaddingSize,
|
|
77
|
+
getHeightSize,
|
|
78
|
+
getIconSize,
|
|
79
|
+
};
|
package/src/index.css
ADDED
package/src/index.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Accordion } from "./components/Accordion";
|
|
2
|
+
import { Button } from "./components/Button";
|
|
3
|
+
import { Card } from "./components/Card";
|
|
4
|
+
import { CheckBox } from "./components/CheckBox";
|
|
5
|
+
import { IconButton } from "./components/IconButton";
|
|
6
|
+
import { Icons } from "./components/Icons";
|
|
7
|
+
import { Modal } from "./components/Modal";
|
|
8
|
+
import { Paper } from "./components/Paper";
|
|
9
|
+
import { ProgressBar } from "./components/ProgressBar";
|
|
10
|
+
import { RadioGroup } from "./components/RadioGroup";
|
|
11
|
+
import { RangerSlider } from "./components/RangerSlider";
|
|
12
|
+
import { Select } from "./components/Select";
|
|
13
|
+
import { Tabs } from "./components/Tabs";
|
|
14
|
+
import { Tag } from "./components/Tag";
|
|
15
|
+
import { TextField } from "./components/TextField";
|
|
16
|
+
import { themes, getPalette } from "./helpers";
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
Accordion,
|
|
20
|
+
Button,
|
|
21
|
+
Card,
|
|
22
|
+
CheckBox,
|
|
23
|
+
getPalette,
|
|
24
|
+
IconButton,
|
|
25
|
+
Icons,
|
|
26
|
+
Modal,
|
|
27
|
+
Paper,
|
|
28
|
+
ProgressBar,
|
|
29
|
+
RadioGroup,
|
|
30
|
+
RangerSlider,
|
|
31
|
+
Select,
|
|
32
|
+
Tabs,
|
|
33
|
+
Tag,
|
|
34
|
+
TextField,
|
|
35
|
+
themes,
|
|
36
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SxProps } from "@mui/material";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
import { DataAccordion, MuiAccordionBaseProps } from "../types";
|
|
4
|
+
|
|
5
|
+
export interface AccordionBaseProps extends MuiAccordionBaseProps {
|
|
6
|
+
label?: React.ReactNode | String;
|
|
7
|
+
sx?: SxProps<Theme>;
|
|
8
|
+
onChange?: (event: React.SyntheticEvent, expanded: boolean) => void;
|
|
9
|
+
defaultExpanded?: boolean | string;
|
|
10
|
+
expanded?: boolean;
|
|
11
|
+
data?: DataAccordion[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
ButtonPropsColorOverrides,
|
|
6
|
+
ButtonPropsSizeOverrides,
|
|
7
|
+
ButtonPropsVariantOverrides,
|
|
8
|
+
SxProps,
|
|
9
|
+
} from "@mui/material";
|
|
10
|
+
|
|
11
|
+
import { OverridableStringUnion } from "@mui/types";
|
|
12
|
+
import {
|
|
13
|
+
ColorVariant,
|
|
14
|
+
ButtonVariant,
|
|
15
|
+
SizeVariant,
|
|
16
|
+
MuiButtonBaseProps,
|
|
17
|
+
} from "../types";
|
|
18
|
+
|
|
19
|
+
export interface ButtonBaseProps extends MuiButtonBaseProps {
|
|
20
|
+
label?: string;
|
|
21
|
+
sx?: SxProps<Theme>;
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
fullWidth?: boolean;
|
|
24
|
+
color?: OverridableStringUnion<ColorVariant, ButtonPropsColorOverrides>;
|
|
25
|
+
size?: OverridableStringUnion<SizeVariant, ButtonPropsSizeOverrides>;
|
|
26
|
+
variant?: OverridableStringUnion<ButtonVariant, ButtonPropsVariantOverrides>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SxProps } from "@mui/material";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
import { ColorVariant, MuiCardBaseProps } from "../types";
|
|
4
|
+
|
|
5
|
+
export interface CardBaseProps extends MuiCardBaseProps {
|
|
6
|
+
sx?: SxProps<Theme>;
|
|
7
|
+
raised?: boolean;
|
|
8
|
+
border?: boolean;
|
|
9
|
+
color?: ColorVariant;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OverridableStringUnion } from "@mui/types";
|
|
2
|
+
import { Checkbox, SxProps, Theme } from "@mui/material";
|
|
3
|
+
import { SwitchBaseProps } from "@mui/material/internal/SwitchBase";
|
|
4
|
+
import {
|
|
5
|
+
CheckBoxColorVariant,
|
|
6
|
+
CheckboxPropsColorOverrides,
|
|
7
|
+
CheckboxPropsSizeOverrides,
|
|
8
|
+
MuiCheckBoxBaseProps,
|
|
9
|
+
TextFieldSizeVariant,
|
|
10
|
+
} from "../types";
|
|
11
|
+
|
|
12
|
+
export interface CheckBoxBaseProps extends MuiCheckBoxBaseProps {
|
|
13
|
+
sx?: SxProps<Theme>;
|
|
14
|
+
name?: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
checked?: SwitchBaseProps["checked"];
|
|
17
|
+
color?: OverridableStringUnion<
|
|
18
|
+
CheckBoxColorVariant,
|
|
19
|
+
CheckboxPropsColorOverrides
|
|
20
|
+
>;
|
|
21
|
+
disabled?: SwitchBaseProps["disabled"];
|
|
22
|
+
id?: SwitchBaseProps["id"];
|
|
23
|
+
onChange?: SwitchBaseProps["onChange"];
|
|
24
|
+
required?: SwitchBaseProps["required"];
|
|
25
|
+
size?: OverridableStringUnion<
|
|
26
|
+
TextFieldSizeVariant,
|
|
27
|
+
CheckboxPropsSizeOverrides
|
|
28
|
+
>;
|
|
29
|
+
value?: SwitchBaseProps["value"];
|
|
30
|
+
defaultChecked?: boolean;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type CheckboxType = keyof typeof Checkbox;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
|
|
4
|
+
import { SxProps } from "@mui/material";
|
|
5
|
+
|
|
6
|
+
import { DropVariant, MuiDropDownBaseProps } from "../types";
|
|
7
|
+
|
|
8
|
+
export interface DropDownBaseProps extends MuiDropDownBaseProps {
|
|
9
|
+
sx?: SxProps<Theme>;
|
|
10
|
+
open: boolean;
|
|
11
|
+
onClose?: React.ReactEventHandler<{}>;
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
variant?: DropVariant;
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
ButtonPropsColorOverrides,
|
|
6
|
+
ButtonPropsSizeOverrides,
|
|
7
|
+
ButtonPropsVariantOverrides,
|
|
8
|
+
SxProps,
|
|
9
|
+
} from "@mui/material";
|
|
10
|
+
|
|
11
|
+
import { OverridableStringUnion } from "@mui/types";
|
|
12
|
+
import {
|
|
13
|
+
ColorVariant,
|
|
14
|
+
ButtonVariant,
|
|
15
|
+
SizeVariant,
|
|
16
|
+
MuiIconButtonBaseProps,
|
|
17
|
+
} from "../types";
|
|
18
|
+
|
|
19
|
+
export interface IconButtonBaseProps extends MuiIconButtonBaseProps {
|
|
20
|
+
sx?: SxProps<Theme>;
|
|
21
|
+
children?: ReactNode;
|
|
22
|
+
circle?: boolean;
|
|
23
|
+
cursor?: string;
|
|
24
|
+
color?: OverridableStringUnion<ColorVariant, ButtonPropsColorOverrides>;
|
|
25
|
+
size?: OverridableStringUnion<SizeVariant, ButtonPropsSizeOverrides>;
|
|
26
|
+
variant?: OverridableStringUnion<ButtonVariant, ButtonPropsVariantOverrides>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { IconScale, IconColors, IconType } from "../types";
|
|
3
|
+
import { Svg } from "../components/Icons";
|
|
4
|
+
|
|
5
|
+
export interface IconsProps extends ComponentProps<typeof Svg> {
|
|
6
|
+
useSymbol?: boolean;
|
|
7
|
+
scale?: IconScale;
|
|
8
|
+
color?: IconColors;
|
|
9
|
+
width?: number;
|
|
10
|
+
height?: number;
|
|
11
|
+
fill?: string;
|
|
12
|
+
icon: IconType;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface SvgProps {
|
|
16
|
+
inline?: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SxProps } from "@mui/material";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
import { MuiModalBaseProps, OnAction } from "@/types";
|
|
4
|
+
|
|
5
|
+
export interface ModalBaseProps extends MuiModalBaseProps {
|
|
6
|
+
sx?: SxProps<Theme>;
|
|
7
|
+
children: React.ReactElement;
|
|
8
|
+
open: boolean;
|
|
9
|
+
onClose?: React.ReactEventHandler<{}>;
|
|
10
|
+
action?: OnAction[];
|
|
11
|
+
className?: string;
|
|
12
|
+
full?: boolean;
|
|
13
|
+
title?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PaperPropsVariantOverrides, SxProps } from "@mui/material";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
import { MuiPaperBaseProps, PaperVariant } from "../types";
|
|
4
|
+
import { OverridableStringUnion } from "@mui/types";
|
|
5
|
+
|
|
6
|
+
export interface PaperBaseProps extends MuiPaperBaseProps {
|
|
7
|
+
sx?: SxProps<Theme>;
|
|
8
|
+
elevation?: number;
|
|
9
|
+
square?: boolean;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
variant?: OverridableStringUnion<PaperVariant, PaperPropsVariantOverrides>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SxProps } from "@mui/material";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
import { OverridableStringUnion } from "@mui/types";
|
|
4
|
+
import {
|
|
5
|
+
ColorVariant,
|
|
6
|
+
MuiProgressBarBaseProps,
|
|
7
|
+
ProgressVariant,
|
|
8
|
+
} from "../types";
|
|
9
|
+
import { ProgressBar } from "..";
|
|
10
|
+
export interface LinearProgressPropsColorOverrides {}
|
|
11
|
+
|
|
12
|
+
export interface ProgressBarBaseProps extends MuiProgressBarBaseProps {
|
|
13
|
+
sx?: SxProps<Theme>;
|
|
14
|
+
value?: number;
|
|
15
|
+
total?: number;
|
|
16
|
+
label?: string;
|
|
17
|
+
colorCustom?: string;
|
|
18
|
+
variant?: ProgressVariant;
|
|
19
|
+
color?: OverridableStringUnion<
|
|
20
|
+
ColorVariant,
|
|
21
|
+
LinearProgressPropsColorOverrides
|
|
22
|
+
>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type ProgressBarType = keyof typeof ProgressBar;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import {
|
|
3
|
+
CheckBoxColorVariant,
|
|
4
|
+
DirectionVariant,
|
|
5
|
+
MuiRadioBaseProps,
|
|
6
|
+
OptionsRadios,
|
|
7
|
+
TextFieldSizeVariant,
|
|
8
|
+
} from "../types";
|
|
9
|
+
import {
|
|
10
|
+
CheckboxPropsColorOverrides,
|
|
11
|
+
RadioPropsSizeOverrides,
|
|
12
|
+
} from "@mui/material";
|
|
13
|
+
import { OverridableStringUnion } from "@mui/types";
|
|
14
|
+
|
|
15
|
+
export interface RadioBaseProps extends MuiRadioBaseProps {
|
|
16
|
+
id?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
options?: OptionsRadios[];
|
|
19
|
+
required?: boolean;
|
|
20
|
+
direction?: DirectionVariant;
|
|
21
|
+
label?: ReactNode;
|
|
22
|
+
size?: OverridableStringUnion<TextFieldSizeVariant, RadioPropsSizeOverrides>;
|
|
23
|
+
color?: OverridableStringUnion<
|
|
24
|
+
CheckBoxColorVariant,
|
|
25
|
+
CheckboxPropsColorOverrides
|
|
26
|
+
>;
|
|
27
|
+
checked?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Theme } from "@emotion/react";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
SliderPropsColorOverrides,
|
|
5
|
+
SliderPropsSizeOverrides,
|
|
6
|
+
SxProps,
|
|
7
|
+
} from "@mui/material";
|
|
8
|
+
import { OverridableStringUnion } from "@mui/types";
|
|
9
|
+
|
|
10
|
+
import { MuiRangerSliderBaseProps } from "../types";
|
|
11
|
+
|
|
12
|
+
export interface RangerSliderBaseProps extends MuiRangerSliderBaseProps {
|
|
13
|
+
sx?: SxProps<Theme>;
|
|
14
|
+
max?: number;
|
|
15
|
+
min?: number;
|
|
16
|
+
name?: string;
|
|
17
|
+
mode?: Boolean;
|
|
18
|
+
onChange?: (
|
|
19
|
+
event: Event,
|
|
20
|
+
value: number | number[],
|
|
21
|
+
activeThumb: number
|
|
22
|
+
) => void;
|
|
23
|
+
orientation?: "horizontal" | "vertical";
|
|
24
|
+
size?: OverridableStringUnion<"small" | "medium", SliderPropsSizeOverrides>;
|
|
25
|
+
step?: number | null;
|
|
26
|
+
defaultValue?: number | number[];
|
|
27
|
+
valueLabelDisplay?: "on" | "auto" | "off";
|
|
28
|
+
color?: OverridableStringUnion<
|
|
29
|
+
"primary" | "secondary",
|
|
30
|
+
SliderPropsColorOverrides
|
|
31
|
+
>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SxProps } from "@mui/material";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
import { DataSelect, MuiSelectBaseProps, TextFieldVariant } from "../types";
|
|
4
|
+
|
|
5
|
+
export interface SelectBaseProps extends MuiSelectBaseProps {
|
|
6
|
+
sx?: SxProps<Theme>;
|
|
7
|
+
id?: string;
|
|
8
|
+
label?: React.ReactNode;
|
|
9
|
+
input?: React.ReactElement<any, any>;
|
|
10
|
+
variant?: TextFieldVariant;
|
|
11
|
+
value?: string;
|
|
12
|
+
open?: boolean;
|
|
13
|
+
onOpen?: (event: React.SyntheticEvent) => void;
|
|
14
|
+
onClose?: (event: React.SyntheticEvent) => void;
|
|
15
|
+
multiple?: boolean;
|
|
16
|
+
data?: DataSelect[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SxProps } from "@mui/material";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
import {
|
|
4
|
+
ColorVariant,
|
|
5
|
+
DataTabs,
|
|
6
|
+
MuiTabsBaseProps,
|
|
7
|
+
TabsVariant,
|
|
8
|
+
} from "../types";
|
|
9
|
+
|
|
10
|
+
export interface TabsBaseProps extends MuiTabsBaseProps {
|
|
11
|
+
sx?: SxProps<Theme>;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onChange?: (event: React.SyntheticEvent, value: any) => void;
|
|
14
|
+
color?: ColorVariant;
|
|
15
|
+
variant?: TabsVariant;
|
|
16
|
+
value?: any;
|
|
17
|
+
data?: DataTabs[];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface TabPanelProps {
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
index: number;
|
|
23
|
+
value: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SxProps } from "@mui/material";
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
import { ColorVariant, MuiTagBaseProps } from "../types";
|
|
4
|
+
import { OverridableStringUnion } from "@mui/types";
|
|
5
|
+
|
|
6
|
+
export interface ChipPropsColorOverrides {}
|
|
7
|
+
export interface ChipPropsSizeOverrides {}
|
|
8
|
+
|
|
9
|
+
export interface TagBaseProps extends MuiTagBaseProps {
|
|
10
|
+
label?: React.ReactNode | String;
|
|
11
|
+
sx?: SxProps<Theme>;
|
|
12
|
+
avatar?: React.ReactElement;
|
|
13
|
+
outlined?: Boolean;
|
|
14
|
+
size?: OverridableStringUnion<"small" | "medium", ChipPropsSizeOverrides>;
|
|
15
|
+
color?: OverridableStringUnion<ColorVariant, ChipPropsColorOverrides>;
|
|
16
|
+
onClose?: React.ReactEventHandler<{}>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
TextFieldPropsColorOverrides,
|
|
5
|
+
TextFieldPropsSizeOverrides,
|
|
6
|
+
} from "@mui/material/TextField";
|
|
7
|
+
import {
|
|
8
|
+
FormHelperTextProps,
|
|
9
|
+
InputBaseProps,
|
|
10
|
+
InputLabelProps,
|
|
11
|
+
OutlinedInputProps,
|
|
12
|
+
SelectProps,
|
|
13
|
+
} from "@mui/material";
|
|
14
|
+
import { InputProps as StandardInputProps } from "@mui/material/Input";
|
|
15
|
+
import { OverridableStringUnion } from "@mui/types";
|
|
16
|
+
import { TextField } from "@mui/material";
|
|
17
|
+
import {
|
|
18
|
+
TextFieldColorVariant,
|
|
19
|
+
MuiTextFieldBaseProps,
|
|
20
|
+
TextFieldSizeVariant,
|
|
21
|
+
TextFieldVariant,
|
|
22
|
+
} from "../types";
|
|
23
|
+
|
|
24
|
+
export interface TextFieldBaseProps extends MuiTextFieldBaseProps {
|
|
25
|
+
id?: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
defaultValue?: string;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
required?: boolean;
|
|
30
|
+
type?: React.InputHTMLAttributes<unknown>["type"];
|
|
31
|
+
hasError?: boolean;
|
|
32
|
+
label?: ReactNode;
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
error?: boolean;
|
|
35
|
+
variant?: TextFieldVariant;
|
|
36
|
+
helperText?: React.ReactNode;
|
|
37
|
+
InputLabelProps?: Partial<InputLabelProps>;
|
|
38
|
+
InputProps?: Partial<OutlinedInputProps>;
|
|
39
|
+
autoComplete?: string;
|
|
40
|
+
placeholder?: string;
|
|
41
|
+
multiline?: boolean;
|
|
42
|
+
rows?: string | number;
|
|
43
|
+
maxRows?: string | number;
|
|
44
|
+
minRows?: string | number;
|
|
45
|
+
select?: boolean;
|
|
46
|
+
SelectProps?: Partial<SelectProps>;
|
|
47
|
+
onChange?: OutlinedInputProps["onChange"];
|
|
48
|
+
onClick?: InputBaseProps["onClick"];
|
|
49
|
+
onBlur?: InputBaseProps["onBlur"];
|
|
50
|
+
onFocus?: StandardInputProps["onFocus"];
|
|
51
|
+
size?: OverridableStringUnion<
|
|
52
|
+
TextFieldSizeVariant,
|
|
53
|
+
TextFieldPropsSizeOverrides
|
|
54
|
+
>;
|
|
55
|
+
FormHelperTextProps?: Partial<FormHelperTextProps>;
|
|
56
|
+
color?: OverridableStringUnion<
|
|
57
|
+
TextFieldColorVariant,
|
|
58
|
+
TextFieldPropsColorOverrides
|
|
59
|
+
>;
|
|
60
|
+
value?: unknown;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type TextFieldType = keyof typeof TextField;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from "./Accordion";
|
|
2
|
+
export * from "./Button";
|
|
3
|
+
export * from "./Card";
|
|
4
|
+
export * from "./CheckBox";
|
|
5
|
+
export * from "./DropDown";
|
|
6
|
+
export * from "./IconButton";
|
|
7
|
+
export * from "./Icons";
|
|
8
|
+
export * from "./Modal";
|
|
9
|
+
export * from "./Paper";
|
|
10
|
+
export * from "./ProgressBar";
|
|
11
|
+
export * from "./RadioGroup";
|
|
12
|
+
export * from "./RadioGroup";
|
|
13
|
+
export * from "./RangerSlider";
|
|
14
|
+
export * from "./Select";
|
|
15
|
+
export * from "./Tabs";
|
|
16
|
+
export * from "./Tag";
|
|
17
|
+
export * from "./TextField";
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
4
|
+
import { Accordion } from "../components";
|
|
5
|
+
import { DataAccordion } from "../types";
|
|
6
|
+
import { Typography } from "@mui/material";
|
|
7
|
+
|
|
8
|
+
const data: DataAccordion[] = [
|
|
9
|
+
{
|
|
10
|
+
label: "Accordion 1",
|
|
11
|
+
id: "panel-1",
|
|
12
|
+
children: (
|
|
13
|
+
<Typography>
|
|
14
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
|
|
15
|
+
malesuada lacus ex, sit amet blandit leo lobortis eget.
|
|
16
|
+
</Typography>
|
|
17
|
+
),
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
label: "Accordion 2",
|
|
21
|
+
id: "panel-2",
|
|
22
|
+
children: (
|
|
23
|
+
<Typography>
|
|
24
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
|
|
25
|
+
malesuada lacus ex, sit amet blandit leo lobortis eget.
|
|
26
|
+
</Typography>
|
|
27
|
+
),
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
const meta = {
|
|
32
|
+
title: "Display/Accordion",
|
|
33
|
+
component: Accordion,
|
|
34
|
+
parameters: {
|
|
35
|
+
layout: "centered",
|
|
36
|
+
},
|
|
37
|
+
tags: ["autodocs"],
|
|
38
|
+
argTypes: {
|
|
39
|
+
data: data,
|
|
40
|
+
},
|
|
41
|
+
} satisfies Meta<typeof Accordion>;
|
|
42
|
+
|
|
43
|
+
export default meta;
|
|
44
|
+
|
|
45
|
+
type Story = StoryObj<typeof meta>;
|
|
46
|
+
|
|
47
|
+
export const AccordionBasic = () => {
|
|
48
|
+
return (
|
|
49
|
+
<div style={{ width: "480px", marginBottom: 30 }}>
|
|
50
|
+
<Accordion data={data} />
|
|
51
|
+
</div>
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
AccordionBasic.storyName = "Accordion Basic";
|
|
56
|
+
|
|
57
|
+
export const AccordionExpanded = () => {
|
|
58
|
+
return (
|
|
59
|
+
<div style={{ width: "480px", marginBottom: 30 }}>
|
|
60
|
+
<Accordion data={data} defaultExpanded="panel-1" />
|
|
61
|
+
</div>
|
|
62
|
+
);
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
AccordionExpanded.storyName = "Accordion Expanded";
|