@tap-payments/os-micro-frontend-shared 0.3.64 → 0.3.66
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/build/_v2/components/index.d.ts +2 -0
- package/build/_v2/components/primitives/Avatar/Avatar.d.ts +4 -0
- package/build/_v2/components/primitives/Avatar/index.d.ts +2 -0
- package/build/_v2/components/primitives/Avatar/style.d.ts +7 -0
- package/build/_v2/components/primitives/Avatar/type.d.ts +11 -0
- package/build/_v2/components/primitives/Backdrop/Backdrop.d.ts +4 -0
- package/build/_v2/components/primitives/Backdrop/index.d.ts +2 -0
- package/build/_v2/components/primitives/Backdrop/style.d.ts +4 -0
- package/build/_v2/components/primitives/Backdrop/type.d.ts +10 -0
- package/build/_v2/components/primitives/Badge/Badge.d.ts +4 -0
- package/build/_v2/components/primitives/Badge/index.d.ts +2 -0
- package/build/_v2/components/primitives/Badge/style.d.ts +9 -0
- package/build/_v2/components/primitives/Badge/type.d.ts +14 -0
- package/build/_v2/components/primitives/Button/Button.d.ts +4 -0
- package/build/_v2/components/primitives/Button/index.d.ts +2 -0
- package/build/_v2/components/primitives/Button/style.d.ts +30 -0
- package/build/_v2/components/primitives/Button/type.d.ts +23 -0
- package/build/_v2/components/primitives/Checkbox/Checkbox.d.ts +4 -0
- package/build/_v2/components/primitives/Checkbox/index.d.ts +2 -0
- package/build/_v2/components/primitives/Checkbox/style.d.ts +2 -0
- package/build/_v2/components/primitives/Checkbox/type.d.ts +11 -0
- package/build/_v2/components/primitives/Chip/Chip.d.ts +4 -0
- package/build/_v2/components/primitives/Chip/index.d.ts +2 -0
- package/build/_v2/components/primitives/Chip/style.d.ts +14 -0
- package/build/_v2/components/primitives/Chip/type.d.ts +22 -0
- package/build/_v2/components/primitives/CircularProgress/CircularProgress.d.ts +4 -0
- package/build/_v2/components/primitives/CircularProgress/index.d.ts +2 -0
- package/build/_v2/components/primitives/CircularProgress/style.d.ts +14 -0
- package/build/_v2/components/primitives/CircularProgress/type.d.ts +8 -0
- package/build/_v2/components/primitives/Collapse/Collapse.d.ts +4 -0
- package/build/_v2/components/primitives/Collapse/index.d.ts +2 -0
- package/build/_v2/components/primitives/Collapse/style.d.ts +1 -0
- package/build/_v2/components/primitives/Collapse/type.d.ts +6 -0
- package/build/_v2/components/primitives/CopyButton/CopyButton.d.ts +4 -0
- package/build/_v2/components/primitives/CopyButton/index.d.ts +2 -0
- package/build/_v2/components/primitives/CopyButton/style.d.ts +4 -0
- package/build/_v2/components/primitives/CopyButton/type.d.ts +10 -0
- package/build/_v2/components/primitives/Divider/Divider.d.ts +4 -0
- package/build/_v2/components/primitives/Divider/index.d.ts +2 -0
- package/build/_v2/components/primitives/Divider/style.d.ts +4 -0
- package/build/_v2/components/primitives/Divider/type.d.ts +6 -0
- package/build/_v2/components/primitives/Icon/Icon.d.ts +4 -0
- package/build/_v2/components/primitives/Icon/index.d.ts +2 -0
- package/build/_v2/components/primitives/Icon/style.d.ts +2 -0
- package/build/_v2/components/primitives/Icon/type.d.ts +10 -0
- package/build/_v2/components/primitives/ProgressBar/ProgressBar.d.ts +4 -0
- package/build/_v2/components/primitives/ProgressBar/index.d.ts +2 -0
- package/build/_v2/components/primitives/ProgressBar/style.d.ts +19 -0
- package/build/_v2/components/primitives/ProgressBar/type.d.ts +9 -0
- package/build/_v2/components/primitives/RadioButton/RadioButton.d.ts +4 -0
- package/build/_v2/components/primitives/RadioButton/index.d.ts +2 -0
- package/build/_v2/components/primitives/RadioButton/style.d.ts +24 -0
- package/build/_v2/components/primitives/RadioButton/type.d.ts +20 -0
- package/build/_v2/components/primitives/Skeleton/Skeleton.d.ts +4 -0
- package/build/_v2/components/primitives/Skeleton/index.d.ts +2 -0
- package/build/_v2/components/primitives/Skeleton/style.d.ts +4 -0
- package/build/_v2/components/primitives/Skeleton/type.d.ts +6 -0
- package/build/_v2/components/primitives/Slider/Slider.d.ts +4 -0
- package/build/_v2/components/primitives/Slider/index.d.ts +2 -0
- package/build/_v2/components/primitives/Slider/style.d.ts +4 -0
- package/build/_v2/components/primitives/Slider/type.d.ts +18 -0
- package/build/_v2/components/primitives/Switch/Switch.d.ts +4 -0
- package/build/_v2/components/primitives/Switch/index.d.ts +2 -0
- package/build/_v2/components/primitives/Switch/style.d.ts +1 -0
- package/build/_v2/components/primitives/Switch/type.d.ts +6 -0
- package/build/_v2/components/primitives/Tooltip/Tooltip.d.ts +17 -0
- package/build/_v2/components/primitives/Tooltip/index.d.ts +2 -0
- package/build/_v2/components/primitives/Tooltip/style.d.ts +2 -0
- package/build/_v2/components/primitives/Tooltip/type.d.ts +16 -0
- package/build/_v2/components/primitives/Typography/Typography.d.ts +4 -0
- package/build/_v2/components/primitives/Typography/index.d.ts +2 -0
- package/build/_v2/components/primitives/Typography/style.d.ts +4 -0
- package/build/_v2/components/primitives/Typography/type.d.ts +18 -0
- package/build/_v2/components/primitives/index.d.ts +36 -0
- package/build/_v2/index.d.ts +2 -0
- package/build/components/Amount/index.js +1 -1
- package/build/components/AmountConversionFilter/index.js +1 -1
- package/build/components/AmountInput/index.js +1 -1
- package/build/components/AmountSlider/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/CopyImage/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CurrencyFilter/index.js +1 -1
- package/build/components/Customer/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/Discount/index.js +1 -1
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/LanguageDropdown/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/MerchantCurrencyDropdown/index.js +1 -1
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MerchantsDropdown/index.js +1 -1
- package/build/components/PartnersFilter/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/ReceiptsViewer/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VAT/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.js +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { Button, Icon, Checkbox, Switch, Typography, RadioButton, CircularProgress, Tooltip, Skeleton, Avatar, Divider, Collapse, Badge, Backdrop, CopyButton, ProgressBar, Chip, Slider, } from './primitives';
|
|
2
|
+
export type { ButtonProps, ButtonVariant, ButtonSize, IconProps, CheckboxProps, SwitchProps, TypographyProps, TypographyVariant, TypographyAlign, TypographyColor, TypographyWeight, RadioButtonProps, RadioButtonSize, CircularProgressProps, TooltipProps, SkeletonProps, AvatarProps, AvatarSize, DividerProps, CollapseProps, BadgeProps, BadgeVariant, BackdropProps, CopyButtonProps, ProgressBarProps, ChipProps, ChipVariant, SliderProps, } from './primitives';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { AvatarProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { AvatarSize } from './type';
|
|
3
|
+
export declare const AvatarStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Avatar").AvatarOwnProps & import("@mui/material/Avatar").AvatarSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
+
}, "classes" | "className" | "style" | "children" | "sx" | "variant" | "slotProps" | "slots" | "sizes" | "src" | "alt" | "srcSet" | "imgProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
6
|
+
$size?: AvatarSize | undefined;
|
|
7
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AvatarProps as MuiAvatarProps } from '@mui/material/Avatar';
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export interface AvatarProps extends Omit<MuiAvatarProps, 'variant'> {
|
|
5
|
+
/** Preset size token */
|
|
6
|
+
size?: AvatarSize;
|
|
7
|
+
/** Shape variant */
|
|
8
|
+
shape?: 'circular' | 'rounded' | 'square';
|
|
9
|
+
/** MUI sx style overrides */
|
|
10
|
+
sx?: SxProps<Theme>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { BackdropProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<BackdropProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const BackdropStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BoxProps } from '@mui/material/Box';
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface BackdropProps extends Omit<BoxProps, 'children'> {
|
|
4
|
+
/** Controls visibility — when false the backdrop is not rendered at all */
|
|
5
|
+
open?: boolean;
|
|
6
|
+
/** Semantic close handler called on click (merged with onClick) */
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
/** MUI sx style overrides */
|
|
9
|
+
sx?: SxProps<Theme>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { Theme } from '@mui/material/styles';
|
|
3
|
+
import type { BadgeVariant } from './type';
|
|
4
|
+
export declare const BadgeStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<Theme> & {
|
|
5
|
+
$variant?: BadgeVariant | undefined;
|
|
6
|
+
$compact?: boolean | undefined;
|
|
7
|
+
$round?: boolean | undefined;
|
|
8
|
+
$pointer?: boolean | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
+
export type BadgeVariant = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'inactive' | 'active' | 'dark' | 'neutral' | 'gray' | 'orange' | 'red';
|
|
3
|
+
export interface BadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {
|
|
4
|
+
/** Visual colour style of the badge */
|
|
5
|
+
variant?: BadgeVariant;
|
|
6
|
+
/** Compact (tighter) padding */
|
|
7
|
+
compact?: boolean;
|
|
8
|
+
/** Fully round pill shape */
|
|
9
|
+
round?: boolean;
|
|
10
|
+
/** Show pointer cursor */
|
|
11
|
+
pointer?: boolean;
|
|
12
|
+
/** MUI sx style overrides */
|
|
13
|
+
sx?: SxProps<Theme>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ButtonProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ButtonSize, ButtonVariant } from './type';
|
|
3
|
+
export declare const sizeStyles: {
|
|
4
|
+
readonly sm: {
|
|
5
|
+
readonly height: 24;
|
|
6
|
+
readonly padding: "0 12px";
|
|
7
|
+
readonly fontSize: "10px";
|
|
8
|
+
readonly fontWeight: 600;
|
|
9
|
+
};
|
|
10
|
+
readonly md: {
|
|
11
|
+
readonly height: 32;
|
|
12
|
+
readonly padding: "0 24px";
|
|
13
|
+
readonly fontSize: "11px";
|
|
14
|
+
readonly fontWeight: 700;
|
|
15
|
+
};
|
|
16
|
+
readonly lg: {
|
|
17
|
+
readonly height: 40;
|
|
18
|
+
readonly padding: "0 32px";
|
|
19
|
+
readonly fontSize: "12px";
|
|
20
|
+
readonly fontWeight: 700;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const ButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/material/ButtonBase").ButtonBaseOwnProps & Omit<import("@mui/material/ButtonBase").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
24
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
25
|
+
}, "disabled" | "classes" | "className" | "style" | "tabIndex" | "children" | "sx" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
26
|
+
$variant?: ButtonVariant | undefined;
|
|
27
|
+
$size?: ButtonSize | undefined;
|
|
28
|
+
$fullWidth?: boolean | undefined;
|
|
29
|
+
$isLoading?: boolean | undefined;
|
|
30
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ButtonBaseProps } from '@mui/material/ButtonBase';
|
|
3
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
4
|
+
export type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'danger';
|
|
5
|
+
export type ButtonSize = 'sm' | 'md' | 'lg';
|
|
6
|
+
export interface ButtonProps extends Omit<ButtonBaseProps, 'children'> {
|
|
7
|
+
/** Button label or content */
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
/** Visual style — primary (blue), secondary (outlined), ghost (text), danger (red) */
|
|
10
|
+
variant?: ButtonVariant;
|
|
11
|
+
/** Height and font size — sm: 24px, md: 32px, lg: 40px */
|
|
12
|
+
size?: ButtonSize;
|
|
13
|
+
/** Shows a spinner and disables the button */
|
|
14
|
+
isLoading?: boolean;
|
|
15
|
+
/** Icon placed before the label */
|
|
16
|
+
startIcon?: ReactNode;
|
|
17
|
+
/** Icon placed after the label */
|
|
18
|
+
endIcon?: ReactNode;
|
|
19
|
+
/** Stretches button to 100% of its container */
|
|
20
|
+
fullWidth?: boolean;
|
|
21
|
+
/** MUI sx style overrides */
|
|
22
|
+
sx?: SxProps<Theme>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { CheckboxProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const CheckboxStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Checkbox").CheckboxProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
2
|
+
export declare const CheckboxLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/material/FormControlLabel").FormControlLabelProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { CheckboxProps as MuiCheckboxProps } from '@mui/material/Checkbox';
|
|
3
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
4
|
+
export interface CheckboxProps extends MuiCheckboxProps {
|
|
5
|
+
/** Optional label rendered inline next to the checkbox */
|
|
6
|
+
label?: ReactNode;
|
|
7
|
+
/** Position of the label relative to the checkbox */
|
|
8
|
+
labelPlacement?: 'end' | 'start' | 'top' | 'bottom';
|
|
9
|
+
/** MUI sx style overrides */
|
|
10
|
+
sx?: SxProps<Theme>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ChipProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<ChipProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ChipVariant } from './type';
|
|
3
|
+
export declare const ChipStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
6
|
+
$variant?: ChipVariant | undefined;
|
|
7
|
+
$hasIcon?: boolean | undefined;
|
|
8
|
+
$isSelected?: boolean | undefined;
|
|
9
|
+
$disableAnimation?: boolean | undefined;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
/** Label text container — a Part, not the ref target. */
|
|
12
|
+
export declare const ChipTextStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
13
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
14
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { BoxProps } from '@mui/material/Box';
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
import type { PropsWithChildren, ReactElement } from 'react';
|
|
4
|
+
export type ChipVariant = 'text' | 'circular' | 'pill-icon';
|
|
5
|
+
export interface ChipProps extends PropsWithChildren<Omit<BoxProps, 'variant'>> {
|
|
6
|
+
/** Visual shape — text (default), circular (avatar-style), or pill-icon */
|
|
7
|
+
variant?: ChipVariant;
|
|
8
|
+
/** Icon element shown to the left of the chip label */
|
|
9
|
+
icon?: ReactElement | null;
|
|
10
|
+
/** Dims the chip and disables pointer interaction */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/** Marks the chip as selected — shows a drop-shadow */
|
|
13
|
+
isSelected?: boolean;
|
|
14
|
+
/** When set, renders a CopyButton that copies this string */
|
|
15
|
+
copyText?: string;
|
|
16
|
+
/** Plain-text fallback when `children` is empty */
|
|
17
|
+
unknownText?: string;
|
|
18
|
+
/** Disable all transitions and animations */
|
|
19
|
+
disableAnimation?: boolean;
|
|
20
|
+
/** MUI sx style overrides */
|
|
21
|
+
sx?: SxProps<Theme>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { CircularProgressProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<CircularProgressProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const CircularProgressStyled: import("@emotion/styled").StyledComponent<import("@mui/material/CircularProgress").CircularProgressProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
3
|
+
/** Outer shell when a determinate label is shown — receives consumer `className` / `sx`. */
|
|
4
|
+
export declare const CircularProgressLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
6
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
7
|
+
/** Absolute overlay that centers the percentage label — not part of the public restyling surface. */
|
|
8
|
+
export declare const CircularProgressLabelOverlayStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
11
|
+
/** Centered percentage label — not part of the public restyling surface. */
|
|
12
|
+
export declare const CircularProgressLabelTextStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Typography").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
13
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
14
|
+
}, "width" | "minWidth" | "minHeight" | "height" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CircularProgressProps as MuiCircularProgressProps } from '@mui/material/CircularProgress';
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface CircularProgressProps extends MuiCircularProgressProps {
|
|
4
|
+
/** When true and `variant="determinate"`, shows a centered percentage label. Defaults to true. */
|
|
5
|
+
hasLabel?: boolean;
|
|
6
|
+
/** MUI sx style overrides */
|
|
7
|
+
sx?: SxProps<Theme>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { CollapseProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<CollapseProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CollapseStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Collapse").CollapseProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { CopyButtonProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<CopyButtonProps & import("react").RefAttributes<HTMLImageElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const CopyButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
3
|
+
$copied?: boolean | undefined;
|
|
4
|
+
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ImgHTMLAttributes } from 'react';
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface CopyButtonProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'src' | 'alt'> {
|
|
4
|
+
/** The text to copy to the clipboard when clicked */
|
|
5
|
+
text: string;
|
|
6
|
+
/** Duration in ms to show the success state before reverting */
|
|
7
|
+
feedbackMs?: number;
|
|
8
|
+
/** MUI sx style overrides */
|
|
9
|
+
sx?: SxProps<Theme>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { DividerProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<DividerProps, "ref"> & import("react").RefAttributes<HTMLHRElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DividerStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Divider").DividerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLHRElement | null) => void) | import("react").RefObject<HTMLHRElement> | null | undefined;
|
|
4
|
+
}, "textAlign" | "light" | "classes" | "className" | "style" | "children" | "sx" | "variant" | "absolute" | "orientation" | "flexItem"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const IconStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ImgHTMLAttributes } from 'react';
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface IconProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
4
|
+
/** URL of the image to display */
|
|
5
|
+
src: string;
|
|
6
|
+
/** Accessible alt text for the image */
|
|
7
|
+
alt?: string;
|
|
8
|
+
/** Override width and height via MUI sx */
|
|
9
|
+
sx?: SxProps<Theme>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ProgressBarProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ProgressBarProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ProgressBarStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
|
+
$value: number;
|
|
6
|
+
$isDecimal: boolean;
|
|
7
|
+
}, {}, {}>;
|
|
8
|
+
/** Inner rounded cap — a Part, not the ref target. */
|
|
9
|
+
export declare const ProgressBarFillStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
10
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
12
|
+
$value: number;
|
|
13
|
+
}, {}, {}>;
|
|
14
|
+
/** Centered percentage label — a Part, not the ref target. */
|
|
15
|
+
export declare const ProgressBarTextStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Typography").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
17
|
+
}, "width" | "minWidth" | "minHeight" | "height" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "align" | "className" | "style" | "children" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
18
|
+
$value: number;
|
|
19
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { RadioButtonProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<RadioButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { RadioButtonSize } from './type';
|
|
3
|
+
/** Decorative checked-state icon — a Part, not the interactive root. */
|
|
4
|
+
export declare const RadioButtonCheckedIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, {}, {}>;
|
|
5
|
+
export declare const RadioButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Radio").RadioProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
6
|
+
$iconSize?: number | undefined;
|
|
7
|
+
$checkedColor?: string | undefined;
|
|
8
|
+
$disabledColor?: string | undefined;
|
|
9
|
+
$hoverColor?: string | undefined;
|
|
10
|
+
$maxWidth?: string | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export declare function getRadioButtonSizeConfig(size?: RadioButtonSize): {
|
|
13
|
+
readonly iconSize: 15;
|
|
14
|
+
readonly maxWidth: "24px";
|
|
15
|
+
readonly muiSize: "small";
|
|
16
|
+
} | {
|
|
17
|
+
readonly iconSize: 18;
|
|
18
|
+
readonly maxWidth: "28px";
|
|
19
|
+
readonly muiSize: "medium";
|
|
20
|
+
} | {
|
|
21
|
+
readonly iconSize: 20;
|
|
22
|
+
readonly maxWidth: "32px";
|
|
23
|
+
readonly muiSize: "medium";
|
|
24
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { RadioProps } from '@mui/material/Radio';
|
|
3
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
4
|
+
export type RadioButtonSize = 'sm' | 'md' | 'lg';
|
|
5
|
+
export interface RadioButtonProps extends Omit<RadioProps, 'checkedIcon' | 'icon' | 'color' | 'size'> {
|
|
6
|
+
/** Radio circle size — sm (default), md, or lg */
|
|
7
|
+
size?: RadioButtonSize;
|
|
8
|
+
/** Custom node to replace the default checked state icon */
|
|
9
|
+
customCheckedIcon?: React.ReactNode;
|
|
10
|
+
/** Fill colour of the radio circle when checked */
|
|
11
|
+
checkedColor?: string;
|
|
12
|
+
/** Fill colour of the radio circle when disabled */
|
|
13
|
+
disabledColor?: string;
|
|
14
|
+
/** Fill colour of the radio circle on hover */
|
|
15
|
+
hoverColor?: string;
|
|
16
|
+
/** Width and height of the icon in pixels */
|
|
17
|
+
iconSize?: number;
|
|
18
|
+
/** MUI sx style overrides */
|
|
19
|
+
sx?: SxProps<Theme>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { SkeletonProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<SkeletonProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SkeletonStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Skeleton").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
4
|
+
}, "width" | "height" | "animation" | "classes" | "className" | "style" | "children" | "sx" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { SliderProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<SliderProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SliderStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Slider").SliderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
4
|
+
}, "color" | "scale" | "disabled" | "value" | "track" | "classes" | "defaultValue" | "className" | "style" | "tabIndex" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "onChange" | "sx" | "size" | "step" | "components" | "componentsProps" | "name" | "slotProps" | "slots" | "max" | "min" | "orientation" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { SliderProps as MuiSliderProps } from '@mui/material/Slider';
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface SliderProps extends Omit<MuiSliderProps, 'value' | 'onChange'> {
|
|
4
|
+
/** Current value of the slider */
|
|
5
|
+
value: number;
|
|
6
|
+
/** Minimum value */
|
|
7
|
+
min: number;
|
|
8
|
+
/** Maximum value */
|
|
9
|
+
max: number;
|
|
10
|
+
/** Step increment */
|
|
11
|
+
step?: number;
|
|
12
|
+
/** Whether the slider is disabled */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** Callback fired when the value changes */
|
|
15
|
+
onChange: (value: number) => void;
|
|
16
|
+
/** MUI sx style overrides */
|
|
17
|
+
sx?: SxProps<Theme>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { SwitchProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SwitchStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Switch").SwitchProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|