@campxdev/react-blueprint 1.0.4 → 1.0.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/package.json +6 -2
- package/public/index.html +3 -4
- package/src/App.tsx +8 -1
- package/src/AppContent.tsx +38 -0
- package/src/assets/images/svg/Emptylistmage.svg +9 -0
- package/src/assets/images/svg/Internalserverimage.svg +9 -0
- package/src/assets/images/svg/error-cactus.svg +9 -0
- package/src/assets/images/svg/index.ts +10 -0
- package/src/assets/images/svg/no-connection.svg +9 -0
- package/src/assets/images/svg/unauthorized.svg +9 -0
- package/src/components/Assets/ErrorPages/InternalServerError.tsx +31 -0
- package/src/components/Assets/ErrorPages/NoInternetConnection.tsx +33 -0
- package/src/components/Assets/ErrorPages/NoItemFound.tsx +33 -0
- package/src/components/Assets/ErrorPages/PageNotFound.tsx +33 -0
- package/src/components/Assets/ErrorPages/UnAuthorized.tsx +25 -0
- package/src/components/Assets/ErrorPages/styles.tsx +29 -0
- package/src/components/Assets/Icons/IconComponents/CompletedStateIcon.tsx +35 -0
- package/src/components/Assets/Icons/IconComponents/SaveIcon.tsx +42 -0
- package/src/components/Assets/Icons/IconComponents/ShareIcon.tsx +61 -0
- package/src/components/Assets/Icons/Icons.tsx +6 -0
- package/src/components/Assets/export.ts +5 -0
- package/src/components/Charts/BarChart/BarChart.tsx +160 -0
- package/src/components/Charts/LineChart/LineChart.tsx +119 -0
- package/src/components/Charts/PieChart/PieChart.tsx +95 -0
- package/src/components/Charts/TreeMap/TreeMap.tsx +151 -0
- package/src/components/Charts/types/types.ts +43 -0
- package/src/components/DataDisplay/Accordion/Accordion.tsx +55 -0
- package/src/components/DataDisplay/Accordion/utils/StandardImageList.tsx +70 -0
- package/src/components/DataDisplay/export.ts +4 -1
- package/src/components/Input/components/FetchingOptionsLoader.tsx +7 -7
- package/src/components/Input/export.ts +1 -0
- package/src/components/Layout/TabsLayout/Tabs.tsx +67 -0
- package/src/components/Layout/TabsLayout/TabsLayout.tsx +56 -0
- package/src/components/Layout/exports.ts +4 -0
- package/src/components/Navigation/Breadcrumbs/Breadcrumbs.tsx +40 -0
- package/src/components/Navigation/Sidebar/styles.tsx +1 -1
- package/src/components/Navigation/Stepper/Stepper.tsx +59 -0
- package/src/components/Navigation/Stepper/StepperComponents.tsx +72 -0
- package/src/components/Navigation/exports.ts +4 -0
- package/src/components/export.ts +3 -3
- package/src/stories/Charts/BarChart.stories.tsx +142 -0
- package/src/stories/Charts/LineChart.stories.tsx +112 -0
- package/src/stories/Charts/PieChart.stories.tsx +137 -0
- package/src/stories/Charts/Treemap.stories.tsx +224 -0
- package/src/stories/DataDisplay/Accordion.stories.tsx +62 -0
- package/src/stories/DesignSystem/typography.stories.tsx +1 -1
- package/src/stories/Layout/TabsLayout.stories.tsx +53 -0
- package/src/stories/Navigation/Breadcrumbs.stories.tsx +34 -0
- package/src/stories/Navigation/Stepper.stories.tsx +51 -0
- package/src/themes/commonTheme.ts +47 -1
- package/types/theme.d.ts +1 -1
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
import TreeMap from "../../components/Charts/TreeMap/TreeMap";
|
|
3
|
+
|
|
4
|
+
const data = [
|
|
5
|
+
{
|
|
6
|
+
name: "axis",
|
|
7
|
+
children: [
|
|
8
|
+
{ name: "Axes", size: 1302 },
|
|
9
|
+
{ name: "Axis", size: 24593 },
|
|
10
|
+
{ name: "AxisGridLine", size: 652 },
|
|
11
|
+
{ name: "AxisLabel", size: 636 },
|
|
12
|
+
{ name: "CartesianAxes", size: 6703 },
|
|
13
|
+
],
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: "controls",
|
|
17
|
+
children: [
|
|
18
|
+
{ name: "AnchorControl", size: 2138 },
|
|
19
|
+
{ name: "ClickControl", size: 3824 },
|
|
20
|
+
{ name: "Control", size: 1353 },
|
|
21
|
+
{ name: "ControlList", size: 4665 },
|
|
22
|
+
{ name: "DragControl", size: 2649 },
|
|
23
|
+
{ name: "ExpandControl", size: 2832 },
|
|
24
|
+
{ name: "HoverControl", size: 4896 },
|
|
25
|
+
{ name: "IControl", size: 763 },
|
|
26
|
+
{ name: "PanZoomControl", size: 5222 },
|
|
27
|
+
{ name: "SelectionControl", size: 7862 },
|
|
28
|
+
{ name: "TooltipControl", size: 8435 },
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "data",
|
|
33
|
+
children: [
|
|
34
|
+
{ name: "Data", size: 20544 },
|
|
35
|
+
{ name: "DataList", size: 19788 },
|
|
36
|
+
{ name: "DataSprite", size: 10349 },
|
|
37
|
+
{ name: "EdgeSprite", size: 3301 },
|
|
38
|
+
{ name: "NodeSprite", size: 19382 },
|
|
39
|
+
{
|
|
40
|
+
name: "render",
|
|
41
|
+
children: [
|
|
42
|
+
{ name: "ArrowType", size: 698 },
|
|
43
|
+
{ name: "EdgeRenderer", size: 5569 },
|
|
44
|
+
{ name: "IRenderer", size: 353 },
|
|
45
|
+
{ name: "ShapeRenderer", size: 2247 },
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
{ name: "ScaleBinding", size: 11275 },
|
|
49
|
+
{ name: "Tree", size: 7147 },
|
|
50
|
+
{ name: "TreeBuilder", size: 9930 },
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: "events",
|
|
55
|
+
children: [
|
|
56
|
+
{ name: "DataEvent", size: 7313 },
|
|
57
|
+
{ name: "SelectionEvent", size: 6880 },
|
|
58
|
+
{ name: "TooltipEvent", size: 3701 },
|
|
59
|
+
{ name: "VisualizationEvent", size: 2117 },
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "legend",
|
|
64
|
+
children: [
|
|
65
|
+
{ name: "Legend", size: 20859 },
|
|
66
|
+
{ name: "LegendItem", size: 4614 },
|
|
67
|
+
{ name: "LegendRange", size: 10530 },
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: "operator",
|
|
72
|
+
children: [
|
|
73
|
+
{
|
|
74
|
+
name: "distortion",
|
|
75
|
+
children: [
|
|
76
|
+
{ name: "BifocalDistortion", size: 4461 },
|
|
77
|
+
{ name: "Distortion", size: 6314 },
|
|
78
|
+
{ name: "FisheyeDistortion", size: 3444 },
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: "encoder",
|
|
83
|
+
children: [
|
|
84
|
+
{ name: "ColorEncoder", size: 3179 },
|
|
85
|
+
{ name: "Encoder", size: 4060 },
|
|
86
|
+
{ name: "PropertyEncoder", size: 4138 },
|
|
87
|
+
{ name: "ShapeEncoder", size: 1690 },
|
|
88
|
+
{ name: "SizeEncoder", size: 1830 },
|
|
89
|
+
],
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: "filter",
|
|
93
|
+
children: [
|
|
94
|
+
{ name: "FisheyeTreeFilter", size: 5219 },
|
|
95
|
+
{ name: "GraphDistanceFilter", size: 3165 },
|
|
96
|
+
{ name: "VisibilityFilter", size: 3509 },
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
{ name: "IOperator", size: 1286 },
|
|
100
|
+
{
|
|
101
|
+
name: "label",
|
|
102
|
+
children: [
|
|
103
|
+
{ name: "Labeler", size: 9956 },
|
|
104
|
+
{ name: "RadialLabeler", size: 3899 },
|
|
105
|
+
{ name: "StackedAreaLabeler", size: 3202 },
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: "layout",
|
|
110
|
+
children: [
|
|
111
|
+
{ name: "AxisLayout", size: 6725 },
|
|
112
|
+
{ name: "BundledEdgeRouter", size: 3727 },
|
|
113
|
+
{ name: "CircleLayout", size: 9317 },
|
|
114
|
+
{ name: "CirclePackingLayout", size: 12003 },
|
|
115
|
+
{ name: "DendrogramLayout", size: 4853 },
|
|
116
|
+
{ name: "ForceDirectedLayout", size: 8411 },
|
|
117
|
+
{ name: "IcicleTreeLayout", size: 4864 },
|
|
118
|
+
{ name: "IndentedTreeLayout", size: 3174 },
|
|
119
|
+
{ name: "Layout", size: 7881 },
|
|
120
|
+
{ name: "NodeLinkTreeLayout", size: 12870 },
|
|
121
|
+
{ name: "PieLayout", size: 2728 },
|
|
122
|
+
{ name: "RadialTreeLayout", size: 12348 },
|
|
123
|
+
{ name: "RandomLayout", size: 870 },
|
|
124
|
+
{ name: "StackedAreaLayout", size: 9121 },
|
|
125
|
+
{ name: "TreeMapLayout", size: 9191 },
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
{ name: "Operator", size: 2490 },
|
|
129
|
+
{ name: "OperatorList", size: 5248 },
|
|
130
|
+
{ name: "OperatorSequence", size: 4190 },
|
|
131
|
+
{ name: "OperatorSwitch", size: 2581 },
|
|
132
|
+
{ name: "SortOperator", size: 2023 },
|
|
133
|
+
],
|
|
134
|
+
},
|
|
135
|
+
];
|
|
136
|
+
|
|
137
|
+
const COLORS = [
|
|
138
|
+
"#8889DD",
|
|
139
|
+
"#9597E4",
|
|
140
|
+
"#8DC77B",
|
|
141
|
+
"#A5D297",
|
|
142
|
+
"#E2CF45",
|
|
143
|
+
"#F8C12D",
|
|
144
|
+
];
|
|
145
|
+
|
|
146
|
+
export default {
|
|
147
|
+
title: "Charts/TreeMap",
|
|
148
|
+
component: TreeMap,
|
|
149
|
+
argTypes: {
|
|
150
|
+
title: {
|
|
151
|
+
control: "text",
|
|
152
|
+
description: "Title of the TreeMap",
|
|
153
|
+
},
|
|
154
|
+
titleSx: {
|
|
155
|
+
control: "object",
|
|
156
|
+
description: "Styling for the title",
|
|
157
|
+
},
|
|
158
|
+
dataKey: {
|
|
159
|
+
control: "text",
|
|
160
|
+
description: "Key for the data value",
|
|
161
|
+
},
|
|
162
|
+
width: {
|
|
163
|
+
control: "number",
|
|
164
|
+
description: "Width of the TreeMap",
|
|
165
|
+
},
|
|
166
|
+
height: {
|
|
167
|
+
control: "number",
|
|
168
|
+
description: "Height of the TreeMap",
|
|
169
|
+
},
|
|
170
|
+
margin: {
|
|
171
|
+
control: "object",
|
|
172
|
+
description: "Margin around the TreeMap",
|
|
173
|
+
},
|
|
174
|
+
aspectRatio: {
|
|
175
|
+
control: "number",
|
|
176
|
+
description: "Aspect ratio of the TreeMap",
|
|
177
|
+
},
|
|
178
|
+
fill: {
|
|
179
|
+
control: "color",
|
|
180
|
+
description: "Fill color for the TreeMap",
|
|
181
|
+
},
|
|
182
|
+
stroke: {
|
|
183
|
+
control: "color",
|
|
184
|
+
description: "Stroke color for the TreeMap",
|
|
185
|
+
},
|
|
186
|
+
colors: {
|
|
187
|
+
control: { type: "object" },
|
|
188
|
+
description: "Array of colors for the TreeMap",
|
|
189
|
+
},
|
|
190
|
+
showToolTip: {
|
|
191
|
+
control: "boolean",
|
|
192
|
+
description: "Toggle tooltip visibility",
|
|
193
|
+
},
|
|
194
|
+
isAnimationActive: {
|
|
195
|
+
control: "boolean",
|
|
196
|
+
description: "Toggle animation",
|
|
197
|
+
},
|
|
198
|
+
animationEasing: {
|
|
199
|
+
control: "text",
|
|
200
|
+
description: "Animation easing",
|
|
201
|
+
},
|
|
202
|
+
treeMapStyle: {
|
|
203
|
+
control: "object",
|
|
204
|
+
description: "Styling for the TreeMap",
|
|
205
|
+
},
|
|
206
|
+
containerSx: {
|
|
207
|
+
control: "object",
|
|
208
|
+
description: "Styling for the container",
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
} as Meta<typeof TreeMap>;
|
|
212
|
+
|
|
213
|
+
export const Default = () => {
|
|
214
|
+
return (
|
|
215
|
+
<TreeMap
|
|
216
|
+
title="Tree Map Example"
|
|
217
|
+
width={800}
|
|
218
|
+
height={600}
|
|
219
|
+
data={data}
|
|
220
|
+
colors={COLORS}
|
|
221
|
+
dataKey={"size"}
|
|
222
|
+
/>
|
|
223
|
+
);
|
|
224
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react/*";
|
|
2
|
+
import { Accordion } from "../../components/DataDisplay/Accordion/Accordion";
|
|
3
|
+
import StandardImageList from "../../components/DataDisplay/Accordion/utils/StandardImageList";
|
|
4
|
+
|
|
5
|
+
const meta: Meta<typeof Accordion> = {
|
|
6
|
+
title: "DataDisplay/Accordion",
|
|
7
|
+
component: Accordion,
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export default meta;
|
|
11
|
+
|
|
12
|
+
type Story = StoryObj<typeof Accordion>;
|
|
13
|
+
|
|
14
|
+
const primaryData = [
|
|
15
|
+
{
|
|
16
|
+
title: "Accordion 1",
|
|
17
|
+
content:
|
|
18
|
+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
title: "Accordion 2",
|
|
22
|
+
content:
|
|
23
|
+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: "Accordion 3",
|
|
27
|
+
content:
|
|
28
|
+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: "Accordion 4",
|
|
32
|
+
content:
|
|
33
|
+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse malesuada lacus ex, sit amet blandit leo lobortis eget.",
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
|
|
37
|
+
const SecondaryData = [
|
|
38
|
+
{
|
|
39
|
+
title: "Accordion 1",
|
|
40
|
+
content: <StandardImageList />,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
title: "Accordion 2",
|
|
44
|
+
content: <StandardImageList />,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
title: "Accordion 3",
|
|
48
|
+
content: <StandardImageList />,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
title: "Accordion 4",
|
|
52
|
+
content: <StandardImageList />,
|
|
53
|
+
},
|
|
54
|
+
];
|
|
55
|
+
|
|
56
|
+
export const Primary: Story = {
|
|
57
|
+
args: { data: primaryData },
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export const Secondary: Story = {
|
|
61
|
+
args: { data: SecondaryData },
|
|
62
|
+
};
|
|
@@ -47,7 +47,7 @@ export const TypographyStyles = () => (
|
|
|
47
47
|
text="Subtitle 2 (subtitle2) - Lorem ipsum dolor sit."
|
|
48
48
|
/>
|
|
49
49
|
<TypographyDisplay
|
|
50
|
-
variant="
|
|
50
|
+
variant="subtitle3"
|
|
51
51
|
fontInfo={{ family: "Poppins", weight: "400", size: "14px" }}
|
|
52
52
|
text="Subtitle 3 (subtitle3) - Lorem ipsum dolor sit."
|
|
53
53
|
/>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react/*";
|
|
2
|
+
import { TabsLayout } from "../../components/export";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof TabsLayout> = {
|
|
5
|
+
title: "Layout/TabsLayout",
|
|
6
|
+
component: TabsLayout,
|
|
7
|
+
argTypes: {},
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
|
|
11
|
+
type Story = StoryObj<typeof TabsLayout>;
|
|
12
|
+
|
|
13
|
+
export const Primary: Story = {
|
|
14
|
+
args: {
|
|
15
|
+
menu: [
|
|
16
|
+
{
|
|
17
|
+
path: "degrees",
|
|
18
|
+
title: "Degrees",
|
|
19
|
+
permissionKey: "degreesPermission",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
path: "calendar",
|
|
23
|
+
title: "Academic Calendar",
|
|
24
|
+
permissionKey: "calendarPermission",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
path: "programs",
|
|
28
|
+
title: "Programs",
|
|
29
|
+
permissionKey: "programsPermission",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
path: "semester",
|
|
33
|
+
title: "Semester",
|
|
34
|
+
permissionKey: "semesterPermission",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
path: "courses",
|
|
38
|
+
title: "Courses",
|
|
39
|
+
permissionKey: "coursesPermission",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
path: "professors",
|
|
43
|
+
title: "Professors",
|
|
44
|
+
permissionKey: "professorsPermission",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
path: "Faculties",
|
|
48
|
+
title: "Faculties",
|
|
49
|
+
permissionKey: "facultiesPermission",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react/*";
|
|
2
|
+
import { Breadcrumbs } from "../../components/Navigation/Breadcrumbs/Breadcrumbs";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Breadcrumbs> = {
|
|
5
|
+
title: "Navigation/Breadcrumbs",
|
|
6
|
+
component: Breadcrumbs,
|
|
7
|
+
argTypes: {
|
|
8
|
+
links: {
|
|
9
|
+
description: "Array of links",
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
|
|
15
|
+
type Story = StoryObj<typeof Breadcrumbs>;
|
|
16
|
+
|
|
17
|
+
export const Primary: Story = {
|
|
18
|
+
args: {
|
|
19
|
+
links: [
|
|
20
|
+
{
|
|
21
|
+
name: "External Exams",
|
|
22
|
+
to: "/home",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: "Archived Exams",
|
|
26
|
+
to: "/about",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "Contact",
|
|
30
|
+
to: "/contact",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react/*";
|
|
2
|
+
import { Stepper } from "../../components/Navigation/Stepper/Stepper";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Stepper> = {
|
|
5
|
+
title: "Navigation/Stepper",
|
|
6
|
+
component: Stepper,
|
|
7
|
+
argTypes: {},
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export default meta;
|
|
11
|
+
|
|
12
|
+
type Story = StoryObj<typeof Stepper>;
|
|
13
|
+
|
|
14
|
+
export const VerticalStepper: Story = {
|
|
15
|
+
args: {
|
|
16
|
+
orientation: "vertical",
|
|
17
|
+
steps: [
|
|
18
|
+
{
|
|
19
|
+
label: "Semester Configuration",
|
|
20
|
+
description:
|
|
21
|
+
"Configure Credits, Tuition Fee Requirements, Registration Dates",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: "Semester Calender",
|
|
25
|
+
description:
|
|
26
|
+
"Manage the timeline of the semester. Add new or edit the following events as per the semester needs",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
label: "Students and Sections",
|
|
30
|
+
description: "Add or move students to their respective sections",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
label: "Courses",
|
|
34
|
+
description:
|
|
35
|
+
"Verify the courses that are going to be taught in this semester",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
label: "Assign Faculty",
|
|
39
|
+
description: "Assign Faculty to the available subjects",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
activeStep: 2,
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const HorizontalStepper: Story = {
|
|
47
|
+
args: {
|
|
48
|
+
...VerticalStepper.args,
|
|
49
|
+
orientation: "horizontal",
|
|
50
|
+
},
|
|
51
|
+
};
|
|
@@ -15,6 +15,47 @@ export const getCommonTheme = (mode: Theme) => {
|
|
|
15
15
|
fontFamily: ["Heebo", "Poppins", "sans-serif"].join(","),
|
|
16
16
|
},
|
|
17
17
|
components: {
|
|
18
|
+
MuiAccordionSummary: {
|
|
19
|
+
styleOverrides: {
|
|
20
|
+
root: {
|
|
21
|
+
justifyContent: "flex-start",
|
|
22
|
+
paddingLeft: "20px",
|
|
23
|
+
"&.Mui-expanded": {
|
|
24
|
+
minHeight: "0px",
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
content: {
|
|
28
|
+
flexGrow: "unset",
|
|
29
|
+
margin: "0px 16px 0px 0px",
|
|
30
|
+
"&.Mui-expanded": {
|
|
31
|
+
margin: "16px 16px 0px 0px",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
expandIconWrapper: {
|
|
35
|
+
"&.Mui-expanded": {
|
|
36
|
+
transform: "rotate(180deg)",
|
|
37
|
+
marginTop: "16px",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
MuiStepLabel: {
|
|
43
|
+
styleOverrides: {
|
|
44
|
+
root: {
|
|
45
|
+
marginLeft: "2px",
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
MuiBreadcrumbs: {
|
|
50
|
+
styleOverrides: {
|
|
51
|
+
root: {
|
|
52
|
+
fontFamily: "Poppins",
|
|
53
|
+
},
|
|
54
|
+
separator: {
|
|
55
|
+
color: ColorTokens.text.tertiary,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
},
|
|
18
59
|
MuiIconButton: {
|
|
19
60
|
defaultProps: {
|
|
20
61
|
disableRipple: true,
|
|
@@ -178,7 +219,7 @@ export const getCommonTheme = (mode: Theme) => {
|
|
|
178
219
|
display: "none",
|
|
179
220
|
},
|
|
180
221
|
},
|
|
181
|
-
minWidth: "
|
|
222
|
+
minWidth: "200px",
|
|
182
223
|
margin: "5px 0px",
|
|
183
224
|
},
|
|
184
225
|
},
|
|
@@ -285,6 +326,11 @@ export const getCommonTheme = (mode: Theme) => {
|
|
|
285
326
|
defaultProps: {
|
|
286
327
|
underline: "none",
|
|
287
328
|
},
|
|
329
|
+
styleOverrides: {
|
|
330
|
+
root: {
|
|
331
|
+
color: ColorTokens.text.tertiary,
|
|
332
|
+
},
|
|
333
|
+
},
|
|
288
334
|
},
|
|
289
335
|
MuiTabs: {
|
|
290
336
|
styleOverrides: {
|