@lifi/widget 2.4.3 → 2.4.5
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/AppDrawer.js +4 -3
- package/AppDrawer.style.d.ts +7 -44
- package/AppDrawer.style.js +11 -1
- package/cjs/AppDrawer.js +3 -2
- package/cjs/AppDrawer.style.d.ts +7 -44
- package/cjs/AppDrawer.style.js +11 -1
- package/cjs/components/ActiveTransactions/ActiveTransactions.style.d.ts +6 -65
- package/cjs/components/AmountInput/AmountInput.style.d.ts +2 -16
- package/cjs/components/AmountInput/AmountInputAdornment.style.d.ts +2 -32
- package/cjs/components/AppContainer.d.ts +4 -16
- package/cjs/components/Card/Card.d.ts +3 -8
- package/cjs/components/Card/CardHeader.d.ts +2 -16
- package/cjs/components/Card/CardIconButton.d.ts +2 -27
- package/cjs/components/Card/CardLabel.d.ts +4 -19
- package/cjs/components/Card/CardTitle.d.ts +2 -12
- package/cjs/components/ChainSelect/ChainSelect.style.d.ts +5 -15
- package/cjs/components/GasMessage/GasMessage.style.d.ts +8 -28
- package/cjs/components/Header/Header.style.d.ts +9 -54
- package/cjs/components/Header/Header.style.js +9 -1
- package/cjs/components/Header/NavigationHeader.js +2 -2
- package/cjs/components/Header/NavigationTabs.style.d.ts +4 -29
- package/cjs/components/Header/WalletHeader.js +6 -2
- package/cjs/components/ListItemButton.d.ts +2 -18
- package/cjs/components/NFT/NFT.style.d.ts +2 -14
- package/cjs/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +2 -27
- package/cjs/components/RouteCard/RouteCard.style.d.ts +2 -12
- package/cjs/components/Routes/RoutesExpanded.style.d.ts +8 -28
- package/cjs/components/SelectTokenButton/SelectTokenButton.style.d.ts +2 -16
- package/cjs/components/SendToWallet/SendToWallet.js +4 -1
- package/cjs/components/SendToWallet/SendToWallet.style.d.ts +2 -16
- package/cjs/components/SmallAvatar.d.ts +6 -31
- package/cjs/components/Step/CircularProgress.style.d.ts +2 -7
- package/cjs/components/StepActions/StepActions.style.d.ts +2 -14
- package/cjs/components/StepDivider/StepDivider.style.d.ts +2 -9
- package/cjs/components/Token/Token.style.d.ts +6 -26
- package/cjs/components/TokenAvatar/TokenAvatar.style.d.ts +4 -14
- package/cjs/components/TokenList/TokenList.style.d.ts +4 -33
- package/cjs/config/version.d.ts +1 -1
- package/cjs/config/version.js +1 -1
- package/cjs/pages/MainPage/MainPage.style.d.ts +2 -9
- package/cjs/pages/RoutesPage/RoutesPage.style.d.ts +2 -9
- package/cjs/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.style.d.ts +2 -18
- package/cjs/pages/SelectWalletPage/SelectWalletPage.js +6 -1
- package/cjs/pages/SettingsPage/ColorSchemeButtonGroup.style.d.ts +2 -31
- package/cjs/pages/SettingsPage/EnabledToolsButton.style.d.ts +2 -18
- package/cjs/pages/TransactionDetailsPage/TransactionDetailsPage.style.d.ts +2 -9
- package/cjs/pages/TransactionPage/StatusBottomSheet.style.d.ts +4 -14
- package/cjs/pages/TransactionPage/TransactionPage.style.d.ts +2 -9
- package/cjs/stores/chains/ChainOrderStore.d.ts +3 -2
- package/cjs/stores/chains/createChainOrderStore.d.ts +1 -1
- package/cjs/stores/chains/createChainOrderStore.js +3 -3
- package/cjs/stores/header/types.d.ts +3 -2
- package/cjs/stores/header/useHeaderStore.d.ts +1 -1
- package/cjs/stores/header/useHeaderStore.js +3 -3
- package/cjs/stores/routes/RouteExecutionStore.d.ts +3 -2
- package/cjs/stores/routes/createRouteExecutionStore.d.ts +1 -1
- package/cjs/stores/routes/createRouteExecutionStore.js +3 -3
- package/cjs/stores/settings/types.d.ts +3 -2
- package/cjs/stores/settings/useSendToWalletStore.d.ts +1 -1
- package/cjs/stores/settings/useSendToWalletStore.js +3 -3
- package/cjs/stores/settings/useSettingsStore.d.ts +1 -1
- package/cjs/stores/settings/useSettingsStore.js +3 -3
- package/cjs/stores/settings/useSplitSubvariantStore.d.ts +1 -1
- package/cjs/stores/settings/useSplitSubvariantStore.js +3 -3
- package/components/ActiveTransactions/ActiveTransactions.style.d.ts +6 -65
- package/components/AmountInput/AmountInput.style.d.ts +2 -16
- package/components/AmountInput/AmountInputAdornment.style.d.ts +2 -32
- package/components/AppContainer.d.ts +4 -16
- package/components/Card/Card.d.ts +3 -8
- package/components/Card/CardHeader.d.ts +2 -16
- package/components/Card/CardIconButton.d.ts +2 -27
- package/components/Card/CardLabel.d.ts +4 -19
- package/components/Card/CardTitle.d.ts +2 -12
- package/components/ChainSelect/ChainSelect.style.d.ts +5 -15
- package/components/GasMessage/GasMessage.style.d.ts +8 -28
- package/components/Header/Header.style.d.ts +9 -54
- package/components/Header/Header.style.js +8 -0
- package/components/Header/NavigationHeader.js +3 -3
- package/components/Header/NavigationTabs.style.d.ts +4 -29
- package/components/Header/WalletHeader.js +7 -3
- package/components/ListItemButton.d.ts +2 -18
- package/components/NFT/NFT.style.d.ts +2 -14
- package/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +2 -27
- package/components/RouteCard/RouteCard.style.d.ts +2 -12
- package/components/Routes/RoutesExpanded.style.d.ts +8 -28
- package/components/SelectTokenButton/SelectTokenButton.style.d.ts +2 -16
- package/components/SendToWallet/SendToWallet.js +4 -1
- package/components/SendToWallet/SendToWallet.style.d.ts +2 -16
- package/components/SmallAvatar.d.ts +6 -31
- package/components/Step/CircularProgress.style.d.ts +2 -7
- package/components/StepActions/StepActions.style.d.ts +2 -14
- package/components/StepDivider/StepDivider.style.d.ts +2 -9
- package/components/Token/Token.style.d.ts +6 -26
- package/components/TokenAvatar/TokenAvatar.style.d.ts +4 -14
- package/components/TokenList/TokenList.style.d.ts +4 -33
- package/config/version.d.ts +1 -1
- package/config/version.js +1 -1
- package/package.json +14 -14
- package/pages/MainPage/MainPage.style.d.ts +2 -9
- package/pages/RoutesPage/RoutesPage.style.d.ts +2 -9
- package/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.style.d.ts +2 -18
- package/pages/SelectWalletPage/SelectWalletPage.js +7 -2
- package/pages/SettingsPage/ColorSchemeButtonGroup.style.d.ts +2 -31
- package/pages/SettingsPage/EnabledToolsButton.style.d.ts +2 -18
- package/pages/TransactionDetailsPage/TransactionDetailsPage.style.d.ts +2 -9
- package/pages/TransactionPage/StatusBottomSheet.style.d.ts +4 -14
- package/pages/TransactionPage/TransactionPage.style.d.ts +2 -9
- package/stores/chains/ChainOrderStore.d.ts +3 -2
- package/stores/chains/createChainOrderStore.d.ts +1 -1
- package/stores/chains/createChainOrderStore.js +3 -3
- package/stores/header/types.d.ts +3 -2
- package/stores/header/useHeaderStore.d.ts +1 -1
- package/stores/header/useHeaderStore.js +3 -3
- package/stores/routes/RouteExecutionStore.d.ts +3 -2
- package/stores/routes/createRouteExecutionStore.d.ts +1 -1
- package/stores/routes/createRouteExecutionStore.js +3 -3
- package/stores/settings/types.d.ts +3 -2
- package/stores/settings/useSendToWalletStore.d.ts +1 -1
- package/stores/settings/useSendToWalletStore.js +3 -3
- package/stores/settings/useSettingsStore.d.ts +1 -1
- package/stores/settings/useSettingsStore.js +3 -3
- package/stores/settings/useSplitSubvariantStore.d.ts +1 -1
- package/stores/settings/useSplitSubvariantStore.js +3 -3
- package/tsconfig.cjs.tsbuildinfo +1 -1
package/AppDrawer.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import CloseIcon from '@mui/icons-material/CloseRounded';
|
|
2
3
|
import KeyboardArrowLeftIcon from '@mui/icons-material/KeyboardArrowLeft';
|
|
3
4
|
import KeyboardArrowRightIcon from '@mui/icons-material/KeyboardArrowRight';
|
|
4
5
|
import { Drawer } from '@mui/material';
|
|
5
6
|
import { forwardRef, useCallback, useImperativeHandle, useMemo, useRef, useState, } from 'react';
|
|
6
7
|
import { useTranslation } from 'react-i18next';
|
|
7
8
|
import { AppDefault } from './App';
|
|
8
|
-
import { DrawerButton, DrawerButtonTypography } from './AppDrawer.style';
|
|
9
|
+
import { CloseButtonLayout, DrawerButton, DrawerButtonTypography, } from './AppDrawer.style';
|
|
9
10
|
import { AppProvider } from './AppProvider';
|
|
10
11
|
import { HiddenUI } from './types';
|
|
11
12
|
export const AppDrawer = forwardRef(({ elementRef, open, integrator, config }, ref) => {
|
|
@@ -34,7 +35,7 @@ export const AppDrawer = forwardRef(({ elementRef, open, integrator, config }, r
|
|
|
34
35
|
height: '100%',
|
|
35
36
|
},
|
|
36
37
|
}), [config, integrator]);
|
|
37
|
-
return (_jsxs(AppProvider, { config: widgetConfig, children: [!widgetConfig.hiddenUI?.includes(HiddenUI.DrawerButton) ? (_jsxs(DrawerButton, { variant: "contained", onClick: toggleDrawer, open: drawerOpen, drawerProps: config?.containerStyle, children: [drawerOpen ? (_jsx(KeyboardArrowRightIcon, {})) : (_jsx(KeyboardArrowLeftIcon, {})), _jsx(DrawerButtonText, { open: drawerOpen, subvariant: config?.subvariant })] })) : null,
|
|
38
|
+
return (_jsxs(AppProvider, { config: widgetConfig, children: [!widgetConfig.hiddenUI?.includes(HiddenUI.DrawerButton) ? (_jsxs(DrawerButton, { variant: "contained", onClick: toggleDrawer, open: drawerOpen, drawerProps: config?.containerStyle, children: [drawerOpen ? (_jsx(KeyboardArrowRightIcon, {})) : (_jsx(KeyboardArrowLeftIcon, {})), _jsx(DrawerButtonText, { open: drawerOpen, subvariant: config?.subvariant })] })) : null, _jsxs(Drawer, { ref: elementRef, anchor: "right", open: drawerOpen, onClose: closeDrawer, BackdropProps: {
|
|
38
39
|
sx: {
|
|
39
40
|
backgroundColor: 'rgb(0 0 0 / 48%)',
|
|
40
41
|
backdropFilter: 'blur(3px)',
|
|
@@ -45,7 +46,7 @@ export const AppDrawer = forwardRef(({ elementRef, open, integrator, config }, r
|
|
|
45
46
|
minWidth: config?.containerStyle?.minWidth ?? 375,
|
|
46
47
|
maxWidth: config?.containerStyle?.maxWidth ?? 392,
|
|
47
48
|
},
|
|
48
|
-
}, keepMounted: true, children: _jsx(AppDefault, {}) })] }));
|
|
49
|
+
}, keepMounted: true, children: [_jsx(CloseButtonLayout, { onClick: closeDrawer, edge: "end", children: _jsx(CloseIcon, {}) }), _jsx(AppDefault, {})] })] }));
|
|
49
50
|
});
|
|
50
51
|
export const DrawerButtonText = ({ open, subvariant, }) => {
|
|
51
52
|
const { t } = useTranslation();
|
package/AppDrawer.style.d.ts
CHANGED
|
@@ -1,53 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const DrawerButton: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
5
|
-
color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "warning" | "info" | "success", import("@mui/material").ButtonPropsColorOverrides> | 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?: import("@mui/types").OverridableStringUnion<"small" | "large" | "medium", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
|
|
13
|
-
startIcon?: import("react").ReactNode;
|
|
14
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
-
variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | 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<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
|
+
export declare const DrawerButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
33
3
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
34
|
-
},
|
|
4
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
35
5
|
open?: boolean | undefined;
|
|
36
6
|
drawerProps?: {
|
|
37
7
|
width?: string | number | undefined;
|
|
38
8
|
maxWidth?: string | number | undefined;
|
|
39
9
|
} | undefined;
|
|
40
10
|
}, {}, {}>;
|
|
41
|
-
export declare const DrawerButtonTypography: import("@emotion/styled").StyledComponent<import("@mui/
|
|
42
|
-
align?: "center" | "left" | "right" | "inherit" | "justify" | undefined;
|
|
43
|
-
children?: import("react").ReactNode;
|
|
44
|
-
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
45
|
-
gutterBottom?: boolean | undefined;
|
|
46
|
-
noWrap?: boolean | undefined;
|
|
47
|
-
paragraph?: boolean | undefined;
|
|
48
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
49
|
-
variant?: import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides> | undefined;
|
|
50
|
-
variantMapping?: Partial<Record<import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides>, string>> | undefined;
|
|
51
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
11
|
+
export declare const DrawerButtonTypography: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
52
12
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
53
|
-
},
|
|
13
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "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" | "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" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
14
|
+
export declare const CloseButtonLayout: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
16
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableFocusRipple" | "size" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
package/AppDrawer.style.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button, Typography } from '@mui/material';
|
|
1
|
+
import { Button, IconButton, Typography } from '@mui/material';
|
|
2
2
|
import { styled } from '@mui/material/styles';
|
|
3
3
|
const getButtonTransformWidth = (drawerWidth, drawerMaxWidth) => {
|
|
4
4
|
if (typeof drawerWidth === 'number') {
|
|
@@ -75,3 +75,13 @@ export const DrawerButtonTypography = styled(Typography)(({ theme }) => ({
|
|
|
75
75
|
transform: 'rotateZ(180deg)',
|
|
76
76
|
writingMode: 'vertical-rl',
|
|
77
77
|
}));
|
|
78
|
+
export const CloseButtonLayout = styled(IconButton)(() => ({
|
|
79
|
+
position: 'absolute',
|
|
80
|
+
top: '12px',
|
|
81
|
+
right: '26px',
|
|
82
|
+
zIndex: 1,
|
|
83
|
+
height: '40px',
|
|
84
|
+
width: '40px',
|
|
85
|
+
alignItems: 'center',
|
|
86
|
+
justifyContent: 'center',
|
|
87
|
+
}));
|
package/cjs/AppDrawer.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DrawerButtonText = exports.AppDrawer = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const CloseRounded_1 = require("@mui/icons-material/CloseRounded");
|
|
5
6
|
const KeyboardArrowLeft_1 = require("@mui/icons-material/KeyboardArrowLeft");
|
|
6
7
|
const KeyboardArrowRight_1 = require("@mui/icons-material/KeyboardArrowRight");
|
|
7
8
|
const material_1 = require("@mui/material");
|
|
@@ -37,7 +38,7 @@ exports.AppDrawer = (0, react_1.forwardRef)(({ elementRef, open, integrator, con
|
|
|
37
38
|
height: '100%',
|
|
38
39
|
},
|
|
39
40
|
}), [config, integrator]);
|
|
40
|
-
return ((0, jsx_runtime_1.jsxs)(AppProvider_1.AppProvider, { config: widgetConfig, children: [!widgetConfig.hiddenUI?.includes(types_1.HiddenUI.DrawerButton) ? ((0, jsx_runtime_1.jsxs)(AppDrawer_style_1.DrawerButton, { variant: "contained", onClick: toggleDrawer, open: drawerOpen, drawerProps: config?.containerStyle, children: [drawerOpen ? ((0, jsx_runtime_1.jsx)(KeyboardArrowRight_1.default, {})) : ((0, jsx_runtime_1.jsx)(KeyboardArrowLeft_1.default, {})), (0, jsx_runtime_1.jsx)(exports.DrawerButtonText, { open: drawerOpen, subvariant: config?.subvariant })] })) : null, (0, jsx_runtime_1.
|
|
41
|
+
return ((0, jsx_runtime_1.jsxs)(AppProvider_1.AppProvider, { config: widgetConfig, children: [!widgetConfig.hiddenUI?.includes(types_1.HiddenUI.DrawerButton) ? ((0, jsx_runtime_1.jsxs)(AppDrawer_style_1.DrawerButton, { variant: "contained", onClick: toggleDrawer, open: drawerOpen, drawerProps: config?.containerStyle, children: [drawerOpen ? ((0, jsx_runtime_1.jsx)(KeyboardArrowRight_1.default, {})) : ((0, jsx_runtime_1.jsx)(KeyboardArrowLeft_1.default, {})), (0, jsx_runtime_1.jsx)(exports.DrawerButtonText, { open: drawerOpen, subvariant: config?.subvariant })] })) : null, (0, jsx_runtime_1.jsxs)(material_1.Drawer, { ref: elementRef, anchor: "right", open: drawerOpen, onClose: closeDrawer, BackdropProps: {
|
|
41
42
|
sx: {
|
|
42
43
|
backgroundColor: 'rgb(0 0 0 / 48%)',
|
|
43
44
|
backdropFilter: 'blur(3px)',
|
|
@@ -48,7 +49,7 @@ exports.AppDrawer = (0, react_1.forwardRef)(({ elementRef, open, integrator, con
|
|
|
48
49
|
minWidth: config?.containerStyle?.minWidth ?? 375,
|
|
49
50
|
maxWidth: config?.containerStyle?.maxWidth ?? 392,
|
|
50
51
|
},
|
|
51
|
-
}, keepMounted: true, children: (0, jsx_runtime_1.jsx)(App_1.AppDefault, {}) })] }));
|
|
52
|
+
}, keepMounted: true, children: [(0, jsx_runtime_1.jsx)(AppDrawer_style_1.CloseButtonLayout, { onClick: closeDrawer, edge: "end", children: (0, jsx_runtime_1.jsx)(CloseRounded_1.default, {}) }), (0, jsx_runtime_1.jsx)(App_1.AppDefault, {})] })] }));
|
|
52
53
|
});
|
|
53
54
|
const DrawerButtonText = ({ open, subvariant, }) => {
|
|
54
55
|
const { t } = (0, react_i18next_1.useTranslation)();
|
package/cjs/AppDrawer.style.d.ts
CHANGED
|
@@ -1,53 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const DrawerButton: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
5
|
-
color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "warning" | "info" | "success", import("@mui/material").ButtonPropsColorOverrides> | 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?: import("@mui/types").OverridableStringUnion<"small" | "large" | "medium", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
|
|
13
|
-
startIcon?: import("react").ReactNode;
|
|
14
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
-
variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | 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<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
|
+
export declare const DrawerButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
33
3
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
34
|
-
},
|
|
4
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
35
5
|
open?: boolean | undefined;
|
|
36
6
|
drawerProps?: {
|
|
37
7
|
width?: string | number | undefined;
|
|
38
8
|
maxWidth?: string | number | undefined;
|
|
39
9
|
} | undefined;
|
|
40
10
|
}, {}, {}>;
|
|
41
|
-
export declare const DrawerButtonTypography: import("@emotion/styled").StyledComponent<import("@mui/
|
|
42
|
-
align?: "center" | "left" | "right" | "inherit" | "justify" | undefined;
|
|
43
|
-
children?: import("react").ReactNode;
|
|
44
|
-
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
45
|
-
gutterBottom?: boolean | undefined;
|
|
46
|
-
noWrap?: boolean | undefined;
|
|
47
|
-
paragraph?: boolean | undefined;
|
|
48
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
49
|
-
variant?: import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides> | undefined;
|
|
50
|
-
variantMapping?: Partial<Record<import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides>, string>> | undefined;
|
|
51
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
11
|
+
export declare const DrawerButtonTypography: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
52
12
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
53
|
-
},
|
|
13
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "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" | "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" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
14
|
+
export declare const CloseButtonLayout: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
15
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
16
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableFocusRipple" | "size" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
package/cjs/AppDrawer.style.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DrawerButtonTypography = exports.DrawerButton = void 0;
|
|
3
|
+
exports.CloseButtonLayout = exports.DrawerButtonTypography = exports.DrawerButton = void 0;
|
|
4
4
|
const material_1 = require("@mui/material");
|
|
5
5
|
const styles_1 = require("@mui/material/styles");
|
|
6
6
|
const getButtonTransformWidth = (drawerWidth, drawerMaxWidth) => {
|
|
@@ -78,3 +78,13 @@ exports.DrawerButtonTypography = (0, styles_1.styled)(material_1.Typography)(({
|
|
|
78
78
|
transform: 'rotateZ(180deg)',
|
|
79
79
|
writingMode: 'vertical-rl',
|
|
80
80
|
}));
|
|
81
|
+
exports.CloseButtonLayout = (0, styles_1.styled)(material_1.IconButton)(() => ({
|
|
82
|
+
position: 'absolute',
|
|
83
|
+
top: '12px',
|
|
84
|
+
right: '26px',
|
|
85
|
+
zIndex: 1,
|
|
86
|
+
height: '40px',
|
|
87
|
+
width: '40px',
|
|
88
|
+
alignItems: 'center',
|
|
89
|
+
justifyContent: 'center',
|
|
90
|
+
}));
|
|
@@ -1,71 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").
|
|
3
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
4
|
-
centerRipple?: boolean | undefined;
|
|
5
|
-
children?: import("react").ReactNode;
|
|
6
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
7
|
-
disabled?: boolean | undefined;
|
|
8
|
-
disableRipple?: boolean | undefined;
|
|
9
|
-
disableTouchRipple?: boolean | undefined;
|
|
10
|
-
focusRipple?: boolean | undefined;
|
|
11
|
-
focusVisibleClassName?: string | undefined;
|
|
12
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
13
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
14
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
-
tabIndex?: number | undefined;
|
|
16
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
17
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
18
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
export declare const ListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
19
3
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
20
|
-
}, "className" | "style" | "classes" | "
|
|
4
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "alignItems" | "divider" | "dense" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
21
5
|
export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
22
6
|
button?: false | undefined;
|
|
23
|
-
} & import("@mui/material").
|
|
24
|
-
components?: {
|
|
25
|
-
Root?: import("react").ElementType<any> | undefined;
|
|
26
|
-
} | undefined;
|
|
27
|
-
componentsProps?: {
|
|
28
|
-
root?: (import("react").HTMLAttributes<HTMLDivElement> & import("@mui/material").ListItemComponentsPropsOverrides) | undefined;
|
|
29
|
-
} | undefined;
|
|
30
|
-
slotProps?: {
|
|
31
|
-
root?: (import("react").HTMLAttributes<HTMLDivElement> & import("@mui/material").ListItemComponentsPropsOverrides) | undefined;
|
|
32
|
-
} | undefined;
|
|
33
|
-
slots?: {
|
|
34
|
-
root?: import("react").ElementType<any> | undefined;
|
|
35
|
-
} | undefined;
|
|
36
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
7
|
+
} & import("@mui/material").ListItemOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
37
8
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
38
|
-
}, "button" | "className" | "style" | "classes" | "
|
|
39
|
-
export declare const ShowAllButton: import("@emotion/styled").StyledComponent<{
|
|
40
|
-
children?: import("react").ReactNode;
|
|
41
|
-
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
42
|
-
color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "warning" | "info" | "success", import("@mui/material").ButtonPropsColorOverrides> | undefined;
|
|
43
|
-
disabled?: boolean | undefined;
|
|
44
|
-
disableElevation?: boolean | undefined;
|
|
45
|
-
disableFocusRipple?: boolean | undefined;
|
|
46
|
-
endIcon?: import("react").ReactNode;
|
|
47
|
-
fullWidth?: boolean | undefined;
|
|
48
|
-
href?: string | undefined;
|
|
49
|
-
size?: import("@mui/types").OverridableStringUnion<"small" | "large" | "medium", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
|
|
50
|
-
startIcon?: import("react").ReactNode;
|
|
51
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
52
|
-
variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
|
|
53
|
-
} & Omit<{
|
|
54
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
55
|
-
centerRipple?: boolean | undefined;
|
|
56
|
-
children?: import("react").ReactNode;
|
|
57
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
58
|
-
disabled?: boolean | undefined;
|
|
59
|
-
disableRipple?: boolean | undefined;
|
|
60
|
-
disableTouchRipple?: boolean | undefined;
|
|
61
|
-
focusRipple?: boolean | undefined;
|
|
62
|
-
focusVisibleClassName?: string | undefined;
|
|
63
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
64
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
65
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
66
|
-
tabIndex?: number | undefined;
|
|
67
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
68
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
69
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
9
|
+
}, "button" | "className" | "style" | "classes" | "children" | "disabled" | "sx" | "autoFocus" | "alignItems" | "divider" | "components" | "dense" | "componentsProps" | "slots" | "slotProps" | "selected" | "disableGutters" | "ContainerComponent" | "ContainerProps" | "disablePadding" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
10
|
+
export declare const ShowAllButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
70
11
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
71
|
-
},
|
|
12
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const maxInputFontSize = 24;
|
|
3
3
|
export declare const minInputFontSize = 14;
|
|
4
|
-
export declare const FormControl: import("@emotion/styled").StyledComponent<{
|
|
5
|
-
children?: import("react").ReactNode;
|
|
6
|
-
classes?: Partial<import("@mui/material").FormControlClasses> | undefined;
|
|
7
|
-
color?: import("@mui/types").OverridableStringUnion<"primary" | "secondary" | "error" | "warning" | "info" | "success", import("@mui/material").FormControlPropsColorOverrides> | undefined;
|
|
8
|
-
disabled?: boolean | undefined;
|
|
9
|
-
error?: boolean | undefined;
|
|
10
|
-
fullWidth?: boolean | undefined;
|
|
11
|
-
focused?: boolean | undefined;
|
|
12
|
-
hiddenLabel?: boolean | undefined;
|
|
13
|
-
margin?: "normal" | "none" | "dense" | undefined;
|
|
14
|
-
required?: boolean | undefined;
|
|
15
|
-
size?: import("@mui/types").OverridableStringUnion<"small" | "medium", import("@mui/material").FormControlPropsSizeOverrides> | undefined;
|
|
16
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
17
|
-
variant?: "outlined" | "filled" | "standard" | undefined;
|
|
18
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
export declare const FormControl: import("@emotion/styled").StyledComponent<import("@mui/material").FormControlOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
19
5
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
20
|
-
},
|
|
6
|
+
}, "className" | "style" | "classes" | "children" | "disabled" | "sx" | "color" | "margin" | "fullWidth" | "size" | "variant" | "error" | "required" | "focused" | "hiddenLabel"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
21
7
|
export declare const Input: import("@emotion/styled").StyledComponent<import("@mui/material").InputBaseProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,34 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const Button: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
5
|
-
color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "warning" | "info" | "success", import("@mui/material").ButtonPropsColorOverrides> | 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?: import("@mui/types").OverridableStringUnion<"small" | "large" | "medium", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
|
|
13
|
-
startIcon?: import("react").ReactNode;
|
|
14
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
-
variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | 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<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
|
+
export declare const Button: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
33
3
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
34
|
-
},
|
|
4
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,24 +1,12 @@
|
|
|
1
1
|
import type { PropsWithChildren } from 'react';
|
|
2
2
|
import type { WidgetVariant } from '../types';
|
|
3
3
|
export declare const maxHeight = 680;
|
|
4
|
-
export declare const AppExpandedContainer: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
5
|
-
children?: import("react").ReactNode;
|
|
6
|
-
component?: import("react").ElementType<any> | undefined;
|
|
7
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
8
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
9
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
export declare const AppExpandedContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
10
5
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
11
|
-
},
|
|
6
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
12
7
|
variant?: WidgetVariant | undefined;
|
|
13
8
|
}, {}, {}>;
|
|
14
|
-
export declare const FlexContainer: import("@emotion/styled").StyledComponent<{
|
|
15
|
-
children?: import("react").ReactNode;
|
|
16
|
-
classes?: Partial<import("@mui/material").ContainerClasses> | undefined;
|
|
17
|
-
disableGutters?: boolean | undefined;
|
|
18
|
-
fixed?: boolean | undefined;
|
|
19
|
-
maxWidth?: false | import("@mui/material").Breakpoint | undefined;
|
|
20
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
21
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
export declare const FlexContainer: import("@emotion/styled").StyledComponent<import("@mui/material").ContainerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
10
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
23
|
-
},
|
|
11
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "maxWidth" | "fixed" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
24
12
|
export declare const AppContainer: React.FC<PropsWithChildren<{}>>;
|
|
@@ -8,14 +8,9 @@ export type CardProps = {
|
|
|
8
8
|
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
9
9
|
pointerEvents?: 'auto' | 'none';
|
|
10
10
|
} & BoxProps;
|
|
11
|
-
export declare const Card: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
12
|
-
children?: import("react").ReactNode;
|
|
13
|
-
component?: import("react").ElementType<any> | undefined;
|
|
14
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
15
|
-
sx?: import("@mui/material").SxProps<Theme> | undefined;
|
|
16
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
|
+
export declare const Card: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
12
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
18
|
-
},
|
|
13
|
+
}, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
19
14
|
variant?: CardVariant | undefined;
|
|
20
15
|
selectionColor?: "primary" | "secondary" | undefined;
|
|
21
16
|
indented?: boolean | undefined;
|
|
@@ -23,5 +18,5 @@ export declare const Card: import("@emotion/styled").StyledComponent<import("@mu
|
|
|
23
18
|
pointerEvents?: "none" | "auto" | undefined;
|
|
24
19
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
25
20
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
26
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps |
|
|
21
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<Theme>>, {}, {}>;
|
|
27
22
|
export {};
|
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const CardHeader: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
action?: import("react").ReactNode;
|
|
4
|
-
avatar?: import("react").ReactNode;
|
|
5
|
-
classes?: Partial<import("@mui/material").CardHeaderClasses> | undefined;
|
|
6
|
-
disableTypography?: boolean | undefined;
|
|
7
|
-
subheader?: import("react").ReactNode;
|
|
8
|
-
subheaderTypographyProps?: import("@mui/material").TypographyProps<"span", {
|
|
9
|
-
component?: "span" | undefined;
|
|
10
|
-
}> | undefined;
|
|
11
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
12
|
-
title?: import("react").ReactNode;
|
|
13
|
-
titleTypographyProps?: import("@mui/material").TypographyProps<"span", {
|
|
14
|
-
component?: "span" | undefined;
|
|
15
|
-
}> | undefined;
|
|
16
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
export declare const CardHeader: import("@emotion/styled").StyledComponent<import("@mui/material").CardHeaderOwnProps<"span", "span"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
3
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
18
|
-
},
|
|
4
|
+
}, "className" | "style" | "classes" | "action" | "sx" | "title" | "disableTypography" | "avatar" | "subheader" | "subheaderTypographyProps" | "titleTypographyProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,29 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const CardIconButton: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
5
|
-
color?: import("@mui/types").OverridableStringUnion<"inherit" | "default" | "primary" | "secondary" | "error" | "warning" | "info" | "success", import("@mui/material").IconButtonPropsColorOverrides> | undefined;
|
|
6
|
-
disabled?: boolean | undefined;
|
|
7
|
-
disableFocusRipple?: boolean | undefined;
|
|
8
|
-
edge?: false | "end" | "start" | undefined;
|
|
9
|
-
size?: import("@mui/types").OverridableStringUnion<"small" | "large" | "medium", import("@mui/material").IconButtonPropsSizeOverrides> | undefined;
|
|
10
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
11
|
-
} & Omit<{
|
|
12
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
13
|
-
centerRipple?: boolean | undefined;
|
|
14
|
-
children?: import("react").ReactNode;
|
|
15
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
16
|
-
disabled?: boolean | undefined;
|
|
17
|
-
disableRipple?: boolean | undefined;
|
|
18
|
-
disableTouchRipple?: boolean | undefined;
|
|
19
|
-
focusRipple?: boolean | undefined;
|
|
20
|
-
focusVisibleClassName?: string | undefined;
|
|
21
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
22
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
23
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
24
|
-
tabIndex?: number | undefined;
|
|
25
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
26
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
27
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
|
+
export declare const CardIconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
28
3
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
29
|
-
},
|
|
4
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableFocusRipple" | "size" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|