asma-core-ui 1.3.1 → 1.3.2
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/asma-core-ui.es.js +4656 -0
- package/dist/components/Dialog/StyledDialog.d.ts +5 -0
- package/dist/components/Dialog/StyledDialogActions.d.ts +2 -0
- package/dist/components/Dialog/StyledDialogContent.d.ts +2 -0
- package/dist/components/Dialog/StyledDialogTitle.d.ts +20 -0
- package/dist/components/Dialog/index.d.ts +4 -0
- package/dist/components/Select/StyledSelect.d.ts +2 -0
- package/dist/components/Select/StyledSelectItem.d.ts +3 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/data-display/StyledBadge.d.ts +20 -0
- package/dist/components/data-display/index.d.ts +1 -0
- package/dist/components/feedback/StyledAlert.d.ts +2 -0
- package/dist/components/feedback/StyledAlertTitle.d.ts +2 -0
- package/dist/components/feedback/StyledSnackbar.d.ts +2 -0
- package/dist/components/feedback/index.d.ts +3 -0
- package/dist/components/inputs/StyledButton.d.ts +34 -0
- package/dist/components/inputs/StyledFormControlLabel.d.ts +2 -0
- package/dist/components/inputs/StyledFormHelperText.d.ts +15 -0
- package/dist/components/inputs/StyledFormLabel.d.ts +4 -0
- package/dist/components/inputs/StyledInput.d.ts +2 -0
- package/dist/components/inputs/StyledInputLabel.d.ts +18 -0
- package/dist/components/inputs/StyledSwitch.d.ts +2 -0
- package/dist/components/inputs/StyledTextField.d.ts +2 -0
- package/dist/components/inputs/index.d.ts +8 -0
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/tokenOptimizer.helper.d.ts +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/style.css +1 -0
- package/dist/styles/fretex-tokens/index.d.ts +4 -0
- package/dist/styles/greenish-tokens/index.d.ts +4 -0
- package/dist/styles/tokens/index.d.ts +4 -0
- package/dist/theme/customMuiColors.d.ts +61 -0
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/theme.d.ts +93 -0
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DialogProps } from '@mui/material/Dialog';
|
|
2
|
+
export interface IStyledDialogProps extends DialogProps {
|
|
3
|
+
onCloseText?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const StyledDialog: import("@emotion/styled").StyledComponent<IStyledDialogProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledDialogTitle: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
component?: import("react").ElementType<any> | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
children?: import("react").ReactNode;
|
|
6
|
+
classes?: Partial<import("@mui/material").DialogTitleClasses> | undefined;
|
|
7
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
8
|
+
} & Omit<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
9
|
+
align?: "center" | "left" | "right" | "inherit" | "justify" | undefined;
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
12
|
+
gutterBottom?: boolean | undefined;
|
|
13
|
+
noWrap?: boolean | undefined;
|
|
14
|
+
paragraph?: boolean | undefined;
|
|
15
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
16
|
+
variant?: "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2" | undefined;
|
|
17
|
+
variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2", string>> | undefined;
|
|
18
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
19
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
20
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "variant" | "children" | "align" | ("p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint") | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "component"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
anchorOrigin?: import("@mui/material").BadgeOrigin | undefined;
|
|
4
|
+
classes?: Partial<import("@mui/material").BadgeClasses> | undefined;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
color?: "primary" | "secondary" | "default" | "error" | "info" | "success" | "warning" | undefined;
|
|
7
|
+
componentsProps?: {
|
|
8
|
+
root?: import("@mui/base").SlotComponentProps<"span", import("@mui/base").BadgeUnstyledRootSlotPropsOverrides, import("@mui/base").BadgeUnstyledOwnerState> | undefined;
|
|
9
|
+
badge?: import("@mui/base").SlotComponentProps<"span", import("@mui/base").BadgeUnstyledBadgeSlotPropsOverrides, import("@mui/base").BadgeUnstyledOwnerState> | undefined;
|
|
10
|
+
} | undefined;
|
|
11
|
+
components?: {
|
|
12
|
+
Root?: import("react").ElementType<any> | undefined;
|
|
13
|
+
Badge?: import("react").ElementType<any> | undefined;
|
|
14
|
+
} | undefined;
|
|
15
|
+
overlap?: "rectangular" | "circular" | undefined;
|
|
16
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
17
|
+
variant?: "dot" | "standard" | undefined;
|
|
18
|
+
} & import("@mui/base").BadgeUnstyledOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
19
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
20
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "anchorOrigin" | "color" | "componentsProps" | "components" | "overlap" | "sx" | "variant" | keyof import("@mui/base").BadgeUnstyledOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './StyledBadge';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
5
|
+
color?: "primary" | "secondary" | "error" | "info" | "success" | "warning" | "inherit" | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
disableElevation?: boolean | undefined;
|
|
8
|
+
disableFocusRipple?: boolean | undefined;
|
|
9
|
+
endIcon?: import("react").ReactNode;
|
|
10
|
+
fullWidth?: boolean | undefined;
|
|
11
|
+
href?: string | undefined;
|
|
12
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
13
|
+
startIcon?: import("react").ReactNode;
|
|
14
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
+
variant?: "text" | "outlined" | "contained" | undefined;
|
|
16
|
+
} & Omit<{
|
|
17
|
+
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
18
|
+
centerRipple?: boolean | undefined;
|
|
19
|
+
children?: import("react").ReactNode;
|
|
20
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
21
|
+
disabled?: boolean | undefined;
|
|
22
|
+
disableRipple?: boolean | undefined;
|
|
23
|
+
disableTouchRipple?: boolean | undefined;
|
|
24
|
+
focusRipple?: boolean | undefined;
|
|
25
|
+
focusVisibleClassName?: string | undefined;
|
|
26
|
+
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
27
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
28
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
29
|
+
tabIndex?: number | undefined;
|
|
30
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
31
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
32
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
33
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
34
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "sx" | "variant" | "children" | "tabIndex" | "href" | "disabled" | "action" | "size" | "fullWidth" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledFormHelperText: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").FormHelperTextClasses> | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
error?: boolean | undefined;
|
|
7
|
+
filled?: boolean | undefined;
|
|
8
|
+
focused?: boolean | undefined;
|
|
9
|
+
margin?: "dense" | undefined;
|
|
10
|
+
required?: boolean | undefined;
|
|
11
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
12
|
+
variant?: "standard" | "filled" | "outlined" | undefined;
|
|
13
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "key" | keyof import("react").HTMLAttributes<HTMLParagraphElement>> & {
|
|
14
|
+
ref?: ((instance: HTMLParagraphElement | null) => void) | import("react").RefObject<HTMLParagraphElement> | null | undefined;
|
|
15
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "variant" | "children" | "error" | "margin" | "disabled" | "required" | "filled" | "focused"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledFormLabel: import("@emotion/styled").StyledComponent<import("@mui/material").FormLabelBaseProps & import("@mui/material").FormLabelOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "key" | keyof import("react").LabelHTMLAttributes<HTMLLabelElement>> & {
|
|
3
|
+
ref?: ((instance: HTMLLabelElement | null) => void) | import("react").RefObject<HTMLLabelElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "form" | "slot" | "title" | "color" | "sx" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "error" | "disabled" | "required" | "htmlFor" | "filled" | "focused"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledInputLabel: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").InputLabelClasses> | undefined;
|
|
5
|
+
color?: "primary" | "secondary" | "error" | "info" | "success" | "warning" | undefined;
|
|
6
|
+
disableAnimation?: boolean | undefined;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
|
+
error?: boolean | undefined;
|
|
9
|
+
focused?: boolean | undefined;
|
|
10
|
+
margin?: "dense" | undefined;
|
|
11
|
+
required?: boolean | undefined;
|
|
12
|
+
shrink?: boolean | undefined;
|
|
13
|
+
size?: "normal" | "small" | undefined;
|
|
14
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
+
variant?: "standard" | "filled" | "outlined" | undefined;
|
|
16
|
+
} & Pick<import("@mui/material").FormLabelOwnProps, "color" | "filled"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "key" | keyof import("react").LabelHTMLAttributes<HTMLLabelElement>> & {
|
|
17
|
+
ref?: ((instance: HTMLLabelElement | null) => void) | import("react").RefObject<HTMLLabelElement> | null | undefined;
|
|
18
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "sx" | "variant" | "children" | "error" | "margin" | "disabled" | "required" | "size" | "filled" | "focused" | "disableAnimation" | "shrink"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './StyledButton';
|
|
2
|
+
export * from './StyledFormControlLabel';
|
|
3
|
+
export * from './StyledFormHelperText';
|
|
4
|
+
export * from './StyledFormLabel';
|
|
5
|
+
export * from './StyledInput';
|
|
6
|
+
export * from './StyledInputLabel';
|
|
7
|
+
export * from './StyledSwitch';
|
|
8
|
+
export * from './StyledTextField';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tokenOptimizer.helper';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function tokenOptimizer<T>(object: T): T;
|
package/dist/index.d.ts
ADDED
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--colors-teal-50: #e9fcfc;--colors-teal-100: #dffafa;--colors-teal-200: #bef4f4;--colors-teal-300: #78e8e8;--colors-teal-400: #32dcdc;--colors-teal-500: #1ca1a1;--colors-teal-600: #157a7a;--colors-teal-700: #105c5c;--colors-teal-800: #0b4141;--colors-teal-900: #093434;--colors-blue-50: #e6f2f8;--colors-blue-100: #cce6f1;--colors-blue-200: #99cce4;--colors-blue-300: #66b3d6;--colors-blue-400: #3399c9;--colors-blue-500: #0080bb;--colors-blue-600: #0073a8;--colors-blue-700: #005a83;--colors-blue-800: #00405e;--colors-blue-900: #002638;--colors-xanadu-50: #eff4f2;--colors-xanadu-100: #dee8e4;--colors-xanadu-200: #ceddd7;--colors-xanadu-300: #bdd1c9;--colors-xanadu-400: #adc6bc;--colors-xanadu-500: #9cb2a9;--colors-xanadu-600: #8a9e96;--colors-xanadu-700: #798b84;--colors-xanadu-800: #4e5955;--colors-xanadu-900: #2f3533;--colors-primary-50: #e6f2f8;--colors-primary-100: #cce6f1;--colors-primary-200: #99cce4;--colors-primary-300: #66b3d6;--colors-primary-400: #3399c9;--colors-primary-500: #0080bb;--colors-primary-600: #0073a8;--colors-primary-700: #005a83;--colors-primary-800: #00405e;--colors-primary-900: #002638}[data-theme=fretex]{--colors-primary-50: #eff4f2;--colors-primary-100: #dee8e4;--colors-primary-200: #ceddd7;--colors-primary-300: #bdd1c9;--colors-primary-400: #adc6bc;--colors-primary-500: #9cb2a9;--colors-primary-600: #8a9e96;--colors-primary-700: #798b84;--colors-primary-800: #4e5955;--colors-primary-900: #2f3533}[data-theme=greenish]{--colors-primary-50: #e9fcfc;--colors-primary-100: #dffafa;--colors-primary-200: #bef4f4;--colors-primary-300: #78e8e8;--colors-primary-400: #32dcdc;--colors-primary-500: #1ca1a1;--colors-primary-600: #157a7a;--colors-primary-700: #105c5c;--colors-primary-800: #0b4141;--colors-primary-900: #093434}.m-0{margin:0!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.mx-0{margin-left:0!important;margin-right:0!important}.mb-2{margin-bottom:.5rem!important}.mt-0{margin-top:0!important}.mb-4{margin-bottom:1rem!important}.flex{display:flex!important}.w-full{width:100%!important}.max-w-\[37\.5rem\]{max-width:37.5rem!important}.items-baseline{align-items:baseline!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(1rem * var(--tw-space-x-reverse))!important;margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))!important}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0 !important;margin-right:calc(.75rem * var(--tw-space-x-reverse))!important;margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))!important}.border-primary-main{border-color:var(--colors-primary-600)!important}.bg-primary-main{background-color:var(--colors-primary-600)!important}.bg-gray-200{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.bg-primary-700{background-color:var(--colors-primary-700)!important}.bg-primary-100{background-color:var(--colors-primary-100)!important}.p-4{padding:1rem!important}.p-0{padding:0!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-semibold{font-weight:600!important}.normal-case{text-transform:none!important}.leading-tight{line-height:1.25!important}.text-gray-800{--tw-text-opacity: 1 !important;color:rgb(31 41 55 / var(--tw-text-opacity))!important}.text-gray-400{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.text-primary-dark{color:var(--colors-primary-900)!important}.overline{text-decoration-line:overline!important}.shadow-\[0_0_0_3px\]{--tw-shadow: 0 0 0 3px !important;--tw-shadow-colored: 0 0 0 3px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow-primary-400{--tw-shadow-color: var(--colors-primary-400) !important;--tw-shadow: var(--tw-shadow-colored) !important}.hover\:border-primary-500:hover{border-color:var(--colors-primary-500)!important}.hover\:bg-primary-700:hover{background-color:var(--colors-primary-700)!important}.hover\:bg-primary-500:hover{background-color:var(--colors-primary-500)!important}.hover\:text-gray-50:hover{--tw-text-opacity: 1 !important;color:rgb(249 250 251 / var(--tw-text-opacity))!important}.active\:bg-primary-dark:active{background-color:var(--colors-primary-900)!important}@media (min-width: 640px){.sm\:min-w-\[20rem\]{min-width:20rem!important}}@media (min-width: 768px){.md\:min-w-\[37\.5rem\]{min-width:37.5rem!important}}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
declare const customPalettes: {
|
|
2
|
+
greenish: {
|
|
3
|
+
primary: {
|
|
4
|
+
"50": string;
|
|
5
|
+
"100": string;
|
|
6
|
+
"200": string;
|
|
7
|
+
"300": string;
|
|
8
|
+
"400": string;
|
|
9
|
+
"500": string;
|
|
10
|
+
"600": string;
|
|
11
|
+
"700": string;
|
|
12
|
+
"800": string;
|
|
13
|
+
"900": string;
|
|
14
|
+
light: string;
|
|
15
|
+
main: string;
|
|
16
|
+
dark: string;
|
|
17
|
+
contrastText: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
fretex: {
|
|
21
|
+
primary: {
|
|
22
|
+
"50": string;
|
|
23
|
+
"100": string;
|
|
24
|
+
"200": string;
|
|
25
|
+
"300": string;
|
|
26
|
+
"400": string;
|
|
27
|
+
"500": string;
|
|
28
|
+
"600": string;
|
|
29
|
+
"700": string;
|
|
30
|
+
"800": string;
|
|
31
|
+
"900": string;
|
|
32
|
+
light: string;
|
|
33
|
+
main: string;
|
|
34
|
+
dark: string;
|
|
35
|
+
contrastText: string;
|
|
36
|
+
};
|
|
37
|
+
secondary: {
|
|
38
|
+
100: string;
|
|
39
|
+
200: string;
|
|
40
|
+
300: string;
|
|
41
|
+
400: string;
|
|
42
|
+
500: string;
|
|
43
|
+
600: string;
|
|
44
|
+
700: string;
|
|
45
|
+
800: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
role: {
|
|
49
|
+
patient: {
|
|
50
|
+
light: string;
|
|
51
|
+
main: string;
|
|
52
|
+
dark: string;
|
|
53
|
+
};
|
|
54
|
+
network: {
|
|
55
|
+
light: string;
|
|
56
|
+
main: string;
|
|
57
|
+
dark: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export default customPalettes;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { SimplePaletteColorOptions } from '@mui/material';
|
|
2
|
+
declare const theme: {
|
|
3
|
+
palette: {
|
|
4
|
+
primary: {
|
|
5
|
+
"50": string;
|
|
6
|
+
"100": string;
|
|
7
|
+
"200": string;
|
|
8
|
+
"300": string;
|
|
9
|
+
"400": string;
|
|
10
|
+
"500": string;
|
|
11
|
+
"600": string;
|
|
12
|
+
"700": string;
|
|
13
|
+
"800": string;
|
|
14
|
+
"900": string;
|
|
15
|
+
light: string;
|
|
16
|
+
main: string;
|
|
17
|
+
dark: string;
|
|
18
|
+
contrastText: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
typography: {
|
|
22
|
+
fontFamily: string;
|
|
23
|
+
fontSize: number;
|
|
24
|
+
h1: {
|
|
25
|
+
fontSize: string;
|
|
26
|
+
fontWeight: string;
|
|
27
|
+
marginBottom: string;
|
|
28
|
+
};
|
|
29
|
+
h2: {
|
|
30
|
+
fontSize: string;
|
|
31
|
+
fontWeight: string;
|
|
32
|
+
marginBottom: string;
|
|
33
|
+
};
|
|
34
|
+
h3: {
|
|
35
|
+
fontSize: string;
|
|
36
|
+
fontWeight: string;
|
|
37
|
+
marginBottom: string;
|
|
38
|
+
};
|
|
39
|
+
subtitle1: {
|
|
40
|
+
fontSize: string;
|
|
41
|
+
fontWeight: string;
|
|
42
|
+
};
|
|
43
|
+
subtitle2: {
|
|
44
|
+
fontSize: string;
|
|
45
|
+
fontWeight: number;
|
|
46
|
+
};
|
|
47
|
+
body1: {
|
|
48
|
+
fontSize: string;
|
|
49
|
+
fontWeight: string;
|
|
50
|
+
};
|
|
51
|
+
body2: {
|
|
52
|
+
fontSize: string;
|
|
53
|
+
fontWeight: string;
|
|
54
|
+
};
|
|
55
|
+
button: {
|
|
56
|
+
fontSize: string;
|
|
57
|
+
fontWeight: number;
|
|
58
|
+
};
|
|
59
|
+
caption: {
|
|
60
|
+
fontSize: string;
|
|
61
|
+
fontWeight: string;
|
|
62
|
+
};
|
|
63
|
+
overline: {
|
|
64
|
+
fontSize: string;
|
|
65
|
+
fontWeight: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export default theme;
|
|
70
|
+
declare module '@mui/material/styles' {
|
|
71
|
+
interface Theme {
|
|
72
|
+
palette: {
|
|
73
|
+
primary: {
|
|
74
|
+
50: string;
|
|
75
|
+
100: string;
|
|
76
|
+
200: string;
|
|
77
|
+
300: string;
|
|
78
|
+
400: string;
|
|
79
|
+
500: string;
|
|
80
|
+
600: string;
|
|
81
|
+
700: string;
|
|
82
|
+
800: string;
|
|
83
|
+
900: string;
|
|
84
|
+
light: string;
|
|
85
|
+
main: string;
|
|
86
|
+
dark: string;
|
|
87
|
+
};
|
|
88
|
+
success: SimplePaletteColorOptions;
|
|
89
|
+
warning: SimplePaletteColorOptions;
|
|
90
|
+
error: SimplePaletteColorOptions;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}
|