cloudmr-ux 1.4.9 → 1.5.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/index.d.ts DELETED
@@ -1,311 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ButtonProps, SxProps, Theme } from '@mui/material';
3
- import * as React from 'react';
4
- import React__default, { ReactNode, ChangeEvent, CSSProperties, FC } from 'react';
5
- import { SizeType } from 'antd/lib/config-provider/SizeContext';
6
- import { CollapsibleType } from 'antd/es/collapse/CollapsePanel';
7
- import { ExpandIconPosition } from 'antd/es/collapse/Collapse';
8
- import { AxiosRequestConfig, AxiosResponse } from 'axios';
9
- import { TooltipPlacement } from 'antd/lib/tooltip';
10
- import { DataGridProps } from '@mui/x-data-grid';
11
-
12
- declare const CmrButton: (props: ButtonProps) => react_jsx_runtime.JSX.Element;
13
-
14
- interface CmrInputProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix' | 'type'> {
15
- defaultValue?: string;
16
- id?: string;
17
- maxLength?: number;
18
- size?: SizeType;
19
- value?: string;
20
- type?: any;
21
- prefix?: React__default.ReactNode;
22
- bordered?: boolean;
23
- onChange?: (e: React__default.ChangeEvent<HTMLInputElement>) => void;
24
- onPressEnter?: (e: React__default.KeyboardEvent<HTMLInputElement>) => void;
25
- }
26
- declare const CmrInput: (props: CmrInputProps) => react_jsx_runtime.JSX.Element;
27
-
28
- interface CmrRadioOption {
29
- label: string;
30
- value: string;
31
- disabled?: boolean;
32
- }
33
- interface CmrRadioProps {
34
- options: CmrRadioOption[];
35
- groupLabel?: string;
36
- defaultValue?: string;
37
- onChange?: (value: string) => void;
38
- }
39
- declare const CmrRadioGroup: React__default.FC<CmrRadioProps>;
40
-
41
- interface Option {
42
- label: string;
43
- value: string;
44
- }
45
- interface CmrSelectProps {
46
- options: Option[];
47
- label: string;
48
- disabled?: boolean;
49
- }
50
- declare const CmrSelect: React__default.FC<CmrSelectProps>;
51
-
52
- interface CmrCollapseProps {
53
- accordion?: boolean;
54
- activeKey?: Array<string | number> | number;
55
- bordered?: boolean;
56
- collapsible?: CollapsibleType;
57
- defaultActiveKey?: Array<string | number>;
58
- destroyInactivePanel?: boolean;
59
- expandIconPosition?: ExpandIconPosition;
60
- ghost?: boolean;
61
- onChange?: (key: Array<string | number> | number) => void;
62
- children?: JSX.Element[] | JSX.Element;
63
- }
64
- declare const CmrCollapse: (props: CmrCollapseProps) => react_jsx_runtime.JSX.Element;
65
-
66
- interface CmrPanelProps extends React__default.HTMLAttributes<HTMLDivElement> {
67
- activeKey?: string | string[];
68
- header: string | undefined;
69
- children: ReactNode;
70
- panelKey?: number;
71
- onToggle?: (key: number | undefined) => void;
72
- expanded?: boolean;
73
- cardProps?: React__default.HTMLAttributes<HTMLDivElement>;
74
- }
75
- declare const CmrPanel: (props: CmrPanelProps) => react_jsx_runtime.JSX.Element;
76
-
77
- interface LambdaFile {
78
- "filename": string;
79
- "filetype": string;
80
- "filesize": string;
81
- "filemd5": string;
82
- "file": File;
83
- }
84
- /**
85
- * Consists of general settings for upload component
86
- * functionalities and call back methods evoked
87
- * for specific interactions
88
- */
89
- interface CMRUploadProps extends React__default.HTMLAttributes<HTMLDivElement> {
90
- retains?: boolean;
91
- maxCount: number;
92
- changeNameAfterUpload?: boolean;
93
- onRemove?: (removedFile: File) => void;
94
- /**
95
- * Allows access to file content prior to uploading.
96
- * If returned value from the method is false,
97
- * prevents the file upload process. Called before
98
- * create payload.
99
- * @param file
100
- */
101
- beforeUpload?: (file: File) => Promise<boolean>;
102
- /**
103
- * This or uploadHandler must be specified
104
- * @param file
105
- * @param fileAlias
106
- * @param fileDatabase
107
- */
108
- createPayload?: (file: File, fileAlias: string, fileDatabase: string) => (Promise<{
109
- destination: string;
110
- lambdaFile: LambdaFile;
111
- file: File;
112
- config: AxiosRequestConfig;
113
- } | undefined>);
114
- onUploadProgressUpdate?: (loaded: number, total: number) => void | undefined;
115
- onUploaded: (res: AxiosResponse, file: File) => Promise<void> | void;
116
- sx?: SxProps<Theme> | undefined;
117
- rest?: any;
118
- fileExtension?: string;
119
- uploadStarted?: () => void;
120
- uploadEnded?: () => void;
121
- uploadFailed?: () => void;
122
- uploadProgressed?: (progress: number) => void;
123
- /**
124
- * Override this to replace the default behavior of uploading
125
- * @param file
126
- * @param fileAlias
127
- * @param fileDatabase
128
- * @param onProgress
129
- * @param onUploaded
130
- */
131
- uploadHandler?: (file: File, fileAlias: string, fileDatabase: string, onProgress?: (progress: number) => void, onUploaded?: (res: AxiosResponse, file: File) => void) => Promise<number>;
132
- fullWidth?: boolean;
133
- style?: any;
134
- /**
135
- * Displays upload button instead of uploaded file after upload
136
- * if set to reusable
137
- */
138
- reusable?: boolean;
139
- uploadButtonName?: string;
140
- /**
141
- * Processes the uploaded file before performing the upload;
142
- * @return file/undefined/statuscode undefined to fail the upload, return File
143
- * to pass the processed file, return number to indicate error code
144
- * and return to upload window.
145
- * @param file
146
- */
147
- preprocess?: (file: File) => Promise<File | undefined | number>;
148
- color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning";
149
- }
150
- declare const CmrUpload: {
151
- (props: CMRUploadProps): react_jsx_runtime.JSX.Element;
152
- defaultProps: {
153
- changeNameAfterUpload: boolean;
154
- };
155
- };
156
-
157
- declare function CmrNameDialog(props: {
158
- originalName: string;
159
- renamingCallback: (alias: string) => Promise<boolean>;
160
- open: boolean;
161
- setOpen: (open: boolean) => void;
162
- }): react_jsx_runtime.JSX.Element;
163
-
164
- declare function CmrConfirmation({ name, message, cancelText, color, open, setOpen, confirmCallback, confirmText, cancellable, cancelCallback, width }: {
165
- name: string | undefined;
166
- cancelText?: string;
167
- message: string | undefined;
168
- color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning" | undefined;
169
- open: boolean;
170
- setOpen: (open: boolean) => void;
171
- confirmCallback?: () => void;
172
- cancellable?: boolean;
173
- cancelCallback?: () => void;
174
- width?: number;
175
- confirmText?: string;
176
- }): react_jsx_runtime.JSX.Element;
177
-
178
- declare function CmrDeletionDialog(props: {
179
- name: string | undefined;
180
- deletionCallback: () => void;
181
- }): react_jsx_runtime.JSX.Element;
182
-
183
- interface EditConfirmationProps {
184
- name?: string;
185
- defaultText?: string;
186
- message?: string;
187
- color?: "inherit" | "primary" | "secondary" | "success" | "error" | "info" | "warning";
188
- open: boolean;
189
- setOpen: (open: boolean) => void;
190
- confirmCallback?: (text: string) => void;
191
- cancellable?: boolean;
192
- cancelCallback?: (edit: string) => void;
193
- suffix?: string;
194
- }
195
- declare function CmrEditConfirmation({ name, message, defaultText, color, open, setOpen, confirmCallback, cancellable, cancelCallback, suffix }: EditConfirmationProps): react_jsx_runtime.JSX.Element;
196
-
197
- interface TabInfo {
198
- id: number;
199
- text: string;
200
- disable?: boolean;
201
- children: JSX.Element;
202
- }
203
-
204
- interface CmrTabsProps {
205
- tabList: TabInfo[];
206
- onTabSelected?: (tabId: number) => void;
207
- }
208
- declare function CmrTabs(props: CmrTabsProps): react_jsx_runtime.JSX.Element;
209
-
210
- interface CmrCheckboxProps extends React__default.HTMLAttributes<HTMLDivElement> {
211
- autoFocus?: boolean;
212
- checked?: boolean;
213
- defaultChecked?: boolean;
214
- disabled?: boolean;
215
- indeterminate?: boolean;
216
- onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
217
- children?: any;
218
- style?: any;
219
- sx?: any;
220
- }
221
- declare const CmrCheckbox: (props: CmrCheckboxProps) => react_jsx_runtime.JSX.Element;
222
-
223
- interface CmrLabelProps extends React__default.HTMLAttributes<HTMLDivElement> {
224
- required?: boolean;
225
- children?: any;
226
- }
227
- declare const CmrLabel: (props: CmrLabelProps) => react_jsx_runtime.JSX.Element;
228
-
229
- interface CmrInputNumberProps {
230
- defaultValue?: number;
231
- disabled?: boolean;
232
- keyboard?: boolean;
233
- max?: number;
234
- min?: number;
235
- size?: SizeType;
236
- value?: number;
237
- onChange?: (value: number | null) => void;
238
- children?: React__default.ReactNode;
239
- style?: CSSProperties;
240
- }
241
- declare const CmrInputNumber: (props: CmrInputNumberProps) => react_jsx_runtime.JSX.Element;
242
-
243
- interface CMRSelectUploadProps extends CMRUploadProps {
244
- /**
245
- * A selection of currently uploaded files
246
- */
247
- fileSelection: UploadedFile[];
248
- onSelected: (file?: UploadedFile) => void;
249
- chosenFile?: string;
250
- buttonText?: string;
251
- /**
252
- * Enforces the extension of selected files
253
- */
254
- fileExtension?: string;
255
- }
256
- interface UploadedFile {
257
- id: number;
258
- fileName: string;
259
- link: string;
260
- md5?: string;
261
- size: string;
262
- status: string;
263
- createdAt: string;
264
- updatedAt: string;
265
- database: string;
266
- location: string;
267
- }
268
- /**
269
- * Select from a set of uploaded files or upload new
270
- */
271
- declare const CMRSelectUpload: (props: CMRSelectUploadProps) => react_jsx_runtime.JSX.Element;
272
-
273
- interface UploadWindowProps {
274
- upload: (file: File, fileAlias: string, fileDatabase: string) => Promise<number>;
275
- open: boolean;
276
- setOpen: React.Dispatch<React.SetStateAction<boolean>>;
277
- fileExtension?: string;
278
- template?: {
279
- showFileName?: boolean;
280
- showDatabase?: boolean;
281
- showFileSize?: boolean;
282
- };
283
- }
284
- declare function CmrUploadWindow({ upload, open, setOpen, fileExtension, template, }: UploadWindowProps): react_jsx_runtime.JSX.Element;
285
-
286
- interface CmrTooltipProps {
287
- arrowPointAtCenter?: boolean;
288
- autoAdjustOverflow?: boolean;
289
- color?: string;
290
- defaultVisible?: boolean;
291
- mouseEnterDelay?: number;
292
- mouseLeaveDelay?: number;
293
- overlayClassName?: string;
294
- placement?: TooltipPlacement;
295
- visible?: boolean;
296
- title: React__default.ReactNode;
297
- overlay?: React__default.ReactNode;
298
- }
299
- declare const CmrTooltip: (props: CmrTooltipProps) => react_jsx_runtime.JSX.Element;
300
-
301
- interface CmrTableProps extends Omit<DataGridProps, 'rows'> {
302
- dataSource: any[];
303
- idAlias?: string;
304
- name?: string;
305
- style?: CSSProperties;
306
- showCheckbox?: boolean;
307
- }
308
-
309
- declare const CmrTable: FC<CmrTableProps>;
310
-
311
- export { CMRSelectUpload, CmrUpload as CMRUpload, CmrButton, CmrCheckbox, CmrCollapse, CmrConfirmation, CmrDeletionDialog, CmrEditConfirmation, CmrInput, CmrInputNumber, CmrLabel, CmrNameDialog, CmrPanel, CmrRadioGroup, CmrSelect, CmrTable, CmrTableProps, CmrTabs, CmrTooltip, CmrUploadWindow, LambdaFile };
@@ -1,171 +0,0 @@
1
- body {
2
- margin: 0;
3
- padding: 0;
4
- font-family: "Source Sans 3", sans-serif;
5
- }
6
-
7
- main {
8
- padding: 35px 45px 45px;
9
- }
10
-
11
- nav {
12
- background-color: #580f8b;
13
- align-items: center;
14
- padding: 30px;
15
- display: flex;
16
- }
17
-
18
- nav .logo img {
19
- height: 40px;
20
- }
21
-
22
- nav ul {
23
- margin: 0;
24
- padding: 0;
25
- list-style-type: none;
26
- display: flex;
27
- }
28
-
29
- nav ul li {
30
- margin: 0 15px;
31
- }
32
-
33
- nav ul li a {
34
- color: #fff;
35
- font-size: 16px;
36
- text-decoration: none;
37
- }
38
-
39
- nav ul li a:hover {
40
- text-decoration: none;
41
- }
42
-
43
- .cmr-button {
44
- color: #fff !important;
45
- text-align: center !important;
46
- background-color: #580f8b !important;
47
- border: 2px solid #580f8b !important;
48
- border-radius: 4px !important;
49
- padding: .375rem .75rem !important;
50
- font-family: "Source Sans 3", sans-serif !important;
51
- font-size: 14.4px !important;
52
- font-weight: 400 !important;
53
- line-height: 1.5 !important;
54
- }
55
-
56
- .cmr-button:hover {
57
- background-color: #390063 !important;
58
- }
59
-
60
- .cmr-button.outlined {
61
- color: #580f8b !important;
62
- background-color: #0000 !important;
63
- border: 2px solid #580f8b !important;
64
- }
65
-
66
- .cmr-button.outlined:hover {
67
- color: #fff !important;
68
- background-color: #580f8b !important;
69
- }
70
-
71
- .cmr-button.Mui-disabled {
72
- color: #999 !important;
73
- cursor: not-allowed !important;
74
- background-color: #ced4da !important;
75
- border: 2px solid #ced4da !important;
76
- }
77
-
78
- .cmr-button.Mui-disabled:hover {
79
- color: #999 !important;
80
- background-color: #ced4da !important;
81
- }
82
-
83
- .cmr-input {
84
- background-color: #fff;
85
- background-clip: padding-box;
86
- border: 1px solid #ced4da;
87
- border-radius: .25rem;
88
- padding: .375rem .75rem;
89
- font-size: 1rem;
90
- line-height: 1.5;
91
- }
92
-
93
- .cmr-input:focus {
94
- border-color: #580f8b !important;
95
- box-shadow: 0 0 0 .2rem #580f8b40 !important;
96
- }
97
-
98
- .cmr-input:hover {
99
- border-color: #ced4da !important;
100
- }
101
-
102
- .cmr-input:focus:not(:placeholder-shown) {
103
- border-color: #580f8b !important;
104
- box-shadow: 0 0 0 .2rem #8227c240 !important;
105
- }
106
-
107
- .cmr-label {
108
- font-size: 14.4px;
109
- }
110
-
111
- .cmr-checkbox {
112
- font-family: "Source Sans 3", sans-serif !important;
113
- font-size: 1rem !important;
114
- font-weight: 400 !important;
115
- line-height: 1.5 !important;
116
- }
117
-
118
- .MuiCheckbox-root {
119
- color: #ced4da !important;
120
- background-color: #0000 !important;
121
- }
122
-
123
- .MuiCheckbox-root:active, .MuiCheckbox-root:focus, .MuiCheckbox-root.Mui-focusVisible:hover, .MuiCheckbox-root:hover {
124
- background-color: #0000 !important;
125
- }
126
-
127
- .MuiRadio-root {
128
- color: #ced4da !important;
129
- }
130
-
131
- .Mui-checked {
132
- color: #580f8b !important;
133
- }
134
-
135
- .cmr-label {
136
- font-family: "Source Sans 3", sans-serif;
137
- font-size: 14.4px;
138
- }
139
-
140
- .MuiRadio-root.Mui-focusVisible {
141
- box-shadow: none !important;
142
- }
143
-
144
- .MuiRadio-root:hover {
145
- background-color: #0000 !important;
146
- }
147
-
148
- .dropdown-select .MuiInputLabel-root, .dropdown-select .MuiInputLabel-root.Mui-focused, .dropdown-select .MuiSelect-select, .dropdown-select .MuiSelect-select:focus, .custom-dropdown .MuiMenuItem-root {
149
- font-size: 14.4px !important;
150
- }
151
-
152
- .dropdown-select .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline, .dropdown-select .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline, .dropdown-select .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
153
- border-color: #ced4da !important;
154
- }
155
-
156
- .dropdown-label.Mui-focused {
157
- color: #580f8b !important;
158
- }
159
-
160
- .custom-dropdown .MuiMenuItem-root:hover {
161
- background-color: #e6d5f3 !important;
162
- }
163
-
164
- .custom-dropdown .MuiMenuItem-root.Mui-selected {
165
- background-color: #e7d4f5 !important;
166
- }
167
-
168
- .custom-dropdown .MuiMenuItem-root.Mui-selected:hover {
169
- background-color: #dcbfea !important;
170
- }
171
- /*# sourceMappingURL=index.db9ed22c.css.map */
@@ -1 +0,0 @@
1
- {"mappings":"ACAA;;;;;;AAMA;;;;AAQA;;;;;;;AAOA;;;;AAMA;;;;;;;AAOA;;;;AAIA;;;;;;AAMA;;;;AC5CA;;;;;;;;;;;;;AAgBA;;;;AAKA;;;;;;AAMA;;;;;AAMA;;;;;;;AAOA;;;;;ACvCA;;;;;;;;;;AAWA;;;;;AAMA;;;;AAKA;;;;;ACvBA;;;;AAGA;;;;;;;AAQA;;;;;AASA;;;;ACnBA;;;;AAKA;;;;AAKA;;;;;AAMA;;;;AAKA;;;;ACrBA;;;;AAyBA;;;;AAgBA;;;;AAMA;;;;AAKE;;;;AAKA","sources":["da6ad1d8db9ed22c","src/style.css","src/CmrComponents/CmrButton/CmrButton.css","src/CmrComponents/CmrInput/CmrInput.css","src/CmrComponents/CmrCheckbox/CmrCheckbox.css","src/CmrComponents/CmrRadioGroup/CmrRadioGroup.css","src/CmrComponents/CmrSelect/CmrSelect.css"],"sourcesContent":["@import \"837472a3daf50f62\";\n@import \"5f8f1530f7ad9cec\";\n@import \"b83f55e7d8f20284\";\n@import \"7cdc9d01088afd42\";\n@import \"eeee2edc2f78761b\";\n@import \"ca0185505c9aa616\";\n","body {\r\n margin: 0;\r\n padding: 0;\r\n font-family: \"Source Sans 3\", sans-serif;\r\n}\r\n\r\nmain {\r\n padding-top: 35px;\r\n padding-bottom: 45px;\r\n padding-left: 45px;\r\n padding-right: 45px;\r\n}\r\n\r\n/* Navigation bar styling */\r\nnav {\r\n display: flex;\r\n align-items: center;\r\n background-color: #580f8b;\r\n padding: 30px;\r\n}\r\n\r\nnav .logo img {\r\n height: 40px;\r\n /* Adjust the size as needed */\r\n}\r\n\r\n\r\nnav ul {\r\n list-style-type: none;\r\n display: flex;\r\n margin: 0;\r\n padding: 0;\r\n}\r\n\r\nnav ul li {\r\n margin: 0 15px;\r\n}\r\n\r\nnav ul li a {\r\n color: white;\r\n text-decoration: none;\r\n font-size: 16px;\r\n}\r\n\r\nnav ul li a:hover {\r\n text-decoration: none;\r\n}",".cmr-button {\r\n background-color: #580F8B !important;\r\n color: white !important;\r\n padding-top: 0.375rem !important;\r\n padding-bottom: 0.375rem !important;\r\n padding-right: 0.75rem !important;\r\n padding-left: 0.75rem !important;\r\n border: 2px solid #580F8B !important;\r\n border-radius: 4px !important;\r\n text-align: center !important;\r\n font-family: \"Source Sans 3\", sans-serif !important;\r\n font-size: 14.4px !important;\r\n line-height: 1.5 !important;\r\n font-weight: 400 !important;\r\n}\r\n\r\n.cmr-button:hover {\r\n background-color: #390063 !important;\r\n}\r\n\r\n/* Outline variant styles */\r\n.cmr-button.outlined {\r\n background-color: transparent !important;\r\n border: 2px solid #580F8B !important;\r\n color: #580F8B !important;\r\n}\r\n\r\n.cmr-button.outlined:hover {\r\n background-color: #580F8B !important;\r\n color: white !important;\r\n}\r\n\r\n/* Disabled variant styles */\r\n.cmr-button.Mui-disabled {\r\n background-color: #ced4da !important; /* Change background color for disabled state */\r\n color: #999 !important; /* Change text color for disabled state */\r\n border: 2px solid #ced4da !important; /* Change border color for disabled state */\r\n cursor: not-allowed !important; /* Change cursor to indicate the button is disabled */\r\n}\r\n\r\n.cmr-button.Mui-disabled:hover {\r\n background-color: #ced4da !important; /* Keep the same background color on hover for disabled button */\r\n color: #999 !important; /* Keep the same text color on hover for disabled button */\r\n}","/* Base styles for the input */\r\n.cmr-input {\r\n padding: 0.375rem 0.75rem;\r\n font-size: 1rem;\r\n line-height: 1.5;\r\n background-color: #fff;\r\n background-clip: padding-box;\r\n border: 1px solid #ced4da;\r\n border-radius: 0.25rem;\r\n}\r\n\r\n/* Focused input styles (highlighted outline color) */\r\n.cmr-input:focus {\r\n border-color: #580f8b !important; /* Custom outline color */\r\n box-shadow: 0 0 0 0.2rem rgba(88, 15, 139, 0.25) !important; /* Glow effect */\r\n}\r\n\r\n/* Hover style for the input */\r\n.cmr-input:hover {\r\n border-color: #ced4da !important;\r\n}\r\n\r\n/* Optional: style for when the input is focused and has a value (like Material UI) */\r\n.cmr-input:focus:not(:placeholder-shown) {\r\n border-color: #580f8b !important; /* Same as focus style */\r\n box-shadow: 0 0 0 0.2rem rgba(130, 39, 194, 0.25) !important; /* Same as focus style */\r\n}\r\n",".cmr-label{\r\n font-size: 14.4px;\r\n}\r\n.cmr-checkbox {\r\n font-family: \"Source Sans 3\", sans-serif !important;\r\n font-size: 1rem !important;\r\n line-height: 1.5 !important;\r\n font-weight: 400 !important;\r\n}\r\n\r\n/* Custom styles for the Checkbox */\r\n.MuiCheckbox-root {\r\n color: #ced4da !important; /* Default color (unchecked) */\r\n background-color: transparent !important; /* Ensure no background by default */\r\n}\r\n\r\n.Mui-checked {\r\n color: #580F8B !important; /* Checked state color */\r\n}\r\n\r\n.MuiCheckbox-root:active, .MuiCheckbox-root:focus {\r\n background-color: transparent !important; /* Remove active state background */\r\n}\r\n\r\n/* Optional: Change color on hover or focus */\r\n.MuiCheckbox-root.Mui-focusVisible:hover,\r\n.MuiCheckbox-root:hover {\r\n background-color: transparent !important; \r\n}","/* Default radio button color */\r\n.MuiRadio-root {\r\n color: #ced4da !important; /* Default border color (unchecked) */\r\n}\r\n\r\n/* Checked state color */\r\n.Mui-checked {\r\n color: #580F8B !important; /* Border color when checked */\r\n}\r\n\r\n/* Optional: Set the color of the label text */\r\n.cmr-label {\r\n font-size: 14.4px;\r\n font-family: \"Source Sans 3\", sans-serif;\r\n}\r\n\r\n/* Remove the circular shadow on hover/focus */\r\n.MuiRadio-root.Mui-focusVisible {\r\n box-shadow: none !important; /* Remove the shadow */\r\n}\r\n\r\n/* Custom style for the radio button on hover */\r\n.MuiRadio-root:hover {\r\n background-color: transparent !important; /* Remove hover background */\r\n}","/* Adjust font size for dropdown label when no option is selected */\r\n.dropdown-select .MuiInputLabel-root {\r\n font-size: 14.4px !important; /* Ensure the label font size is applied */\r\n}\r\n\r\n/* Adjust font size for dropdown label when focused */\r\n.dropdown-select .MuiInputLabel-root.Mui-focused {\r\n font-size: 14.4px !important;\r\n}\r\n\r\n/* Adjust font size for the selected option (dropdown value) */\r\n.dropdown-select .MuiSelect-select {\r\n font-size: 14.4px !important; /* Ensure selected option text has the correct font size */\r\n}\r\n\r\n/* Adjust font size for the selected option when focused */\r\n.dropdown-select .MuiSelect-select:focus {\r\n font-size: 14.4px !important;\r\n}\r\n\r\n/* Style for the dropdown options (MenuItem) */\r\n.custom-dropdown .MuiMenuItem-root {\r\n font-size: 14.4px !important; /* Set font size for dropdown options */\r\n}\r\n\r\n/* More specific targeting for MUI's outlined input */\r\n.dropdown-select .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline {\r\n border-color: #ced4da !important;\r\n /* Default border color */\r\n}\r\n\r\n/* Hover state */\r\n.dropdown-select .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {\r\n border-color: #ced4da !important;\r\n}\r\n\r\n/* Focused state */\r\n.dropdown-select .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {\r\n border-color: #ced4da !important;\r\n}\r\n\r\n/* Style for the dropdown label */\r\n.dropdown-label.Mui-focused {\r\n color: #580f8b !important;\r\n /* Color when focused */\r\n}\r\n\r\n/* Highlighted (hover) state */\r\n.custom-dropdown .MuiMenuItem-root:hover {\r\n background-color: #e6d5f3 !important; /* A lighter purple for hover */\r\n }\r\n \r\n /* Selected state */\r\n .custom-dropdown .MuiMenuItem-root.Mui-selected {\r\n background-color: #e7d4f5 !important; /* The purple color for selected state */\r\n }\r\n \r\n /* Selected state when hovered */\r\n .custom-dropdown .MuiMenuItem-root.Mui-selected:hover {\r\n background-color: #dcbfea !important; /* A slightly darker purple when selected and hovered */\r\n }\r\n "],"names":[],"version":3,"file":"index.db9ed22c.css.map","sourceRoot":"/__parcel_source_root/"}
package/dist/index.html DELETED
@@ -1,13 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head><link rel="stylesheet" href="/index.db9ed22c.css">
4
- <!-- <link rel="manifest" href="./manifest.webmanifest"> -->
5
- <meta charset="UTF-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>CloudMR UX Components Page</title>
8
- </head>
9
- <body>
10
- <div id="root"></div>
11
- <script src="/index.975ef6c8.js" defer=""></script>
12
- </body>
13
- </html>