@tap-payments/os-micro-frontend-shared 0.1.14-test.9 → 0.1.15-test.1

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.
Files changed (30) hide show
  1. package/build/components/Chip/Chip.d.ts +1 -1
  2. package/build/components/Chip/style.js +12 -12
  3. package/build/components/DropdownMenu/styles.d.ts +2 -2
  4. package/build/components/TableCells/CustomCells/index.d.ts +0 -2
  5. package/build/components/TableCells/CustomCells/index.js +0 -2
  6. package/build/components/VirtualTables/SheetViewVirtualTable/style.d.ts +1 -1
  7. package/build/components/VirtualTables/components/TableHeader/style.d.ts +1 -1
  8. package/build/components/VirtualTables/components/style.d.ts +1 -1
  9. package/build/components/index.d.ts +0 -1
  10. package/build/components/index.js +0 -1
  11. package/build/types/user.d.ts +2 -0
  12. package/build/utils/TableColumn.d.ts +6 -0
  13. package/build/utils/TableColumn.js +10 -0
  14. package/build/utils/index.d.ts +1 -0
  15. package/build/utils/index.js +1 -0
  16. package/package.json +2 -2
  17. package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.d.ts +0 -12
  18. package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.js +0 -20
  19. package/build/components/TableCells/CustomCells/TerminalsBrandCell/index.d.ts +0 -1
  20. package/build/components/TableCells/CustomCells/TerminalsBrandCell/index.js +0 -1
  21. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.d.ts +0 -12
  22. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.js +0 -19
  23. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/index.d.ts +0 -1
  24. package/build/components/TableCells/CustomCells/TerminalsPlatformCell/index.js +0 -1
  25. package/build/components/TooltipChip/TooltipChip.d.ts +0 -14
  26. package/build/components/TooltipChip/TooltipChip.js +0 -20
  27. package/build/components/TooltipChip/index.d.ts +0 -1
  28. package/build/components/TooltipChip/index.js +0 -1
  29. package/build/components/TooltipChip/style.d.ts +0 -9
  30. package/build/components/TooltipChip/style.js +0 -7
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ChipProps } from './type';
3
- declare const Chip: import("react").FC<ChipProps>;
3
+ declare const Chip: import("react").ForwardRefExoticComponent<Omit<ChipProps, "ref"> & import("react").RefAttributes<import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>>>;
4
4
  export default Chip;
@@ -19,18 +19,18 @@ export const ChipStyled = styled(forwardRef((props, ref) => {
19
19
  return _jsx(Box, Object.assign({ ref: ref }, restProps, { className: calcClassName }));
20
20
  }), {
21
21
  shouldForwardProp: (prop) => prop !== 'icon',
22
- })(({ theme, variant = 'text', icon }) => {
23
- return Object.assign(Object.assign(Object.assign(Object.assign({ border: `1px solid ${theme.palette.divider}`, borderRadius: '30px', backgroundColor: theme.palette.background.paper, display: 'flex', alignItems: 'center', justifyContent: 'center' }, (icon && { justifyContent: 'flex-start', gap: theme.spacing(1) })), (variant === 'text' && {
24
- padding: `${theme.spacing(0.75)} ${theme.spacing(1)}`,
25
- height: '30px',
26
- maxWidth: '150px',
27
- })), (variant === 'circular' && {
28
- height: 24,
29
- width: 24,
30
- })), (variant === 'pill-icon' && {
31
- height: 24,
32
- width: 36,
33
- }));
22
+ })(({ theme, icon }) => {
23
+ return Object.assign(Object.assign({ border: `1px solid ${theme.palette.divider}`, borderRadius: '30px', backgroundColor: theme.palette.background.paper, display: 'flex', alignItems: 'center', justifyContent: 'center' }, (icon && { justifyContent: 'flex-start', gap: theme.spacing(1) })), { '&.CustomVariant_text': {
24
+ padding: `${theme.spacing(0.75)} ${theme.spacing(1)}`,
25
+ height: '30px',
26
+ maxWidth: '150px',
27
+ }, '&.CustomVariant_circular': {
28
+ height: 24,
29
+ width: 24,
30
+ }, '&.CustomVariant_pill-icon': {
31
+ height: 24,
32
+ width: 36,
33
+ } });
34
34
  });
35
35
  export const StyledSourceCell = styled('span')(({ theme }) => ({
36
36
  display: 'flex',
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
4
- }, "disabled" | "style" | "className" | "classes" | "autoFocus" | "tabIndex" | "children" | "sx" | "dense" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
4
+ }, "disabled" | "style" | "selected" | "className" | "classes" | "autoFocus" | "tabIndex" | "children" | "sx" | "dense" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
5
5
  alwaysShowRightAction?: boolean | undefined;
6
6
  }, {}, {}>;
7
7
  export declare const StyledMenu: import("@emotion/styled").StyledComponent<import("@mui/material").MenuProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
@@ -12,7 +12,7 @@ export declare const StyledListItemText: import("@emotion/styled").StyledCompone
12
12
  export declare const StyledSelect: import("@emotion/styled").StyledComponent<import("@mui/material").SelectProps<unknown> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
13
13
  export declare const StyledOption: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
14
14
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
15
- }, "disabled" | "style" | "className" | "classes" | "autoFocus" | "tabIndex" | "children" | "sx" | "dense" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
15
+ }, "disabled" | "style" | "selected" | "className" | "classes" | "autoFocus" | "tabIndex" | "children" | "sx" | "dense" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
16
16
  export declare const StyledSelectComponent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
17
17
  export declare const StyledMenuTitle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
18
18
  export declare const StyledIconForDropDown: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
@@ -44,7 +44,5 @@ export * from './MarketPlaceCell';
44
44
  export * from './IndividualsCell';
45
45
  export * from './BrandsCell';
46
46
  export * from './SalesChannelCell';
47
- export * from './TerminalsBrandCell';
48
- export * from './TerminalsPlatformCell';
49
47
  export * from './type';
50
48
  export * from './style';
@@ -44,7 +44,5 @@ export * from './MarketPlaceCell';
44
44
  export * from './IndividualsCell';
45
45
  export * from './BrandsCell';
46
46
  export * from './SalesChannelCell';
47
- export * from './TerminalsBrandCell';
48
- export * from './TerminalsPlatformCell';
49
47
  export * from './type';
50
48
  export * from './style';
@@ -10,7 +10,7 @@ export declare const StyledHeader: import("@emotion/styled").StyledComponent<imp
10
10
  }, {}, {}>;
11
11
  export declare const StyledMUITableRow: import("@emotion/styled").StyledComponent<import("@mui/material/TableRow").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
12
12
  ref?: ((instance: HTMLTableRowElement | null) => void) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
13
- }, "style" | "className" | "classes" | "children" | "sx" | "selected" | "hover"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
13
+ }, "style" | "selected" | "className" | "classes" | "children" | "sx" | "hover"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
14
14
  component: string;
15
15
  }, {}, {}>;
16
16
  export declare const SheetViewVirtualTableWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -6,7 +6,7 @@ export declare const StyledHeader: import("@emotion/styled").StyledComponent<imp
6
6
  }, {}, {}>;
7
7
  export declare const StyledMUITableRow: import("@emotion/styled").StyledComponent<import("@mui/material/TableRow").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
8
8
  ref?: ((instance: HTMLTableRowElement | null) => void) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
9
- }, "style" | "className" | "classes" | "children" | "sx" | "selected" | "hover"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
9
+ }, "style" | "selected" | "className" | "classes" | "children" | "sx" | "hover"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
10
10
  isSheetView?: boolean | undefined;
11
11
  component: string;
12
12
  }, {}, {}>;
@@ -31,7 +31,7 @@ export declare const StyledVirtualList: import("@emotion/styled").StyledComponen
31
31
  } & import("react").RefAttributes<import("react-window").VariableSizeList<any>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & StyledVirtualListProps, {}, {}>;
32
32
  export declare const StyledTableRow: import("@emotion/styled").StyledComponent<import("@mui/material").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
33
33
  ref?: ((instance: HTMLTableRowElement | null) => void) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
34
- }, "style" | "className" | "classes" | "children" | "sx" | "selected" | "hover"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
34
+ }, "style" | "selected" | "className" | "classes" | "children" | "sx" | "hover"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
35
35
  showShadowHighlight?: boolean | undefined;
36
36
  showLoadedStyle?: boolean | undefined;
37
37
  isSheetView?: boolean | undefined;
@@ -96,4 +96,3 @@ export { default as RangeCalender } from './RangeCalender';
96
96
  export { default as AppServices } from './AppServices';
97
97
  export { default as ScrollLoader } from './ScrollLoader';
98
98
  export * from './ScrollLoader';
99
- export * from './TooltipChip';
@@ -96,4 +96,3 @@ export { default as RangeCalender } from './RangeCalender';
96
96
  export { default as AppServices } from './AppServices';
97
97
  export { default as ScrollLoader } from './ScrollLoader';
98
98
  export * from './ScrollLoader';
99
- export * from './TooltipChip';
@@ -78,6 +78,8 @@ export interface Segment {
78
78
  };
79
79
  };
80
80
  };
81
+ is_business_segment?: boolean;
82
+ is_segment_has_more_than_one_merchant?: boolean;
81
83
  }
82
84
  interface SegmentUserName {
83
85
  first: string;
@@ -0,0 +1,6 @@
1
+ import { ColumnsView } from '../types/index.js';
2
+ export declare const updateColumnSelection: ({ columnsViewData, columnName, selected, }: {
3
+ columnsViewData: ColumnsView[];
4
+ columnName: string;
5
+ selected: boolean;
6
+ }) => ColumnsView[];
@@ -0,0 +1,10 @@
1
+ export const updateColumnSelection = ({ columnsViewData, columnName, selected, }) => {
2
+ return columnsViewData.map((column) => {
3
+ var _a, _b;
4
+ const columnText = (_b = (_a = column.name[0]) === null || _a === void 0 ? void 0 : _a.text) === null || _b === void 0 ? void 0 : _b.toLowerCase();
5
+ if (columnText === columnName.toLowerCase()) {
6
+ return Object.assign(Object.assign({}, column), { selected });
7
+ }
8
+ return column;
9
+ });
10
+ };
@@ -40,3 +40,4 @@ export * from './toggleOptions';
40
40
  export * from './flag';
41
41
  export * from './encrypt';
42
42
  export * from './day';
43
+ export * from './TableColumn';
@@ -40,3 +40,4 @@ export * from './toggleOptions';
40
40
  export * from './flag';
41
41
  export * from './encrypt';
42
42
  export * from './day';
43
+ export * from './TableColumn';
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.1.14-test.9",
5
- "testVersion": 9,
4
+ "version": "0.1.15-test.1",
5
+ "testVersion": 1,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { TextAndLang } from '../../../../types/index.js';
3
- type TerminalsBrandCellProps = {
4
- name: TextAndLang[];
5
- icon?: React.ReactNode;
6
- displayRules: {
7
- showIcon: boolean;
8
- showLabel: boolean;
9
- };
10
- };
11
- declare const TerminalsBrandCell: (props: TerminalsBrandCellProps) => import("react/jsx-runtime").JSX.Element | null;
12
- export default TerminalsBrandCell;
@@ -1,20 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useTranslation } from 'react-i18next';
3
- import Stack from '@mui/material/Stack';
4
- import Typography from '@mui/material/Typography';
5
- import { Chip, Tooltip } from '../../../index.js';
6
- import { getNameText } from '../../../../utils/index.js';
7
- const TerminalsBrandCell = (props) => {
8
- const { name, icon, displayRules } = props;
9
- const { i18n } = useTranslation();
10
- if (!name && !icon)
11
- return null;
12
- const { showIcon, showLabel } = displayRules;
13
- const brandName = name ? getNameText(name, i18n.language) : '';
14
- const displayLabel = showLabel && !!brandName;
15
- const displayIcon = showIcon && !!icon;
16
- if (!displayIcon && !displayLabel)
17
- return null;
18
- return (_jsxs(Stack, Object.assign({ "data-testid": "TerminalsBrandCell", direction: "row", alignItems: "center", spacing: 1, color: "text.primary" }, { children: [displayIcon && (_jsx(Chip, Object.assign({ variant: "circular", sx: { '&.CustomVariant_circular': { minWidth: 32, height: 32 } } }, { children: icon }))), displayLabel && (_jsx(Tooltip, Object.assign({ title: brandName }, { children: _jsx(Typography, Object.assign({ noWrap: true, fontSize: 12, fontWeight: 500 }, { children: brandName })) })))] })));
19
- };
20
- export default TerminalsBrandCell;
@@ -1 +0,0 @@
1
- export { default as TerminalsBrandCell } from './TerminalsBrandCell';
@@ -1 +0,0 @@
1
- export { default as TerminalsBrandCell } from './TerminalsBrandCell';
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import { TextAndLang } from '../../../../types/index.js';
3
- type TerminalsPlatformCellProps = {
4
- name: TextAndLang[];
5
- icon?: React.ReactNode;
6
- displayRules?: {
7
- showIcon?: boolean;
8
- showLabel?: boolean;
9
- };
10
- };
11
- declare const _default: import("react").MemoExoticComponent<({ name, icon, displayRules }: TerminalsPlatformCellProps) => import("react/jsx-runtime").JSX.Element | null>;
12
- export default _default;
@@ -1,19 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { memo } from 'react';
3
- import { useTranslation } from 'react-i18next';
4
- import Stack from '@mui/material/Stack';
5
- import Typography from '@mui/material/Typography';
6
- import Box from '@mui/material/Box';
7
- import { Chip, Tooltip } from '../../../index.js';
8
- import { getNameText } from '../../../../utils/index.js';
9
- const TerminalsPlatformCell = ({ name, icon, displayRules }) => {
10
- const { i18n } = useTranslation();
11
- const { showIcon = true, showLabel = true } = displayRules || {};
12
- const platformName = getNameText(name, i18n.language);
13
- const displayIcon = showIcon && !!icon;
14
- const displayLabel = showLabel || !!platformName;
15
- if (!displayIcon && !displayLabel)
16
- return null;
17
- return (_jsxs(Stack, Object.assign({ "data-testid": "TerminalsPlatformCell", direction: "row", alignItems: "center", spacing: 1, color: "text.primary" }, { children: [displayIcon && (_jsx(Chip, Object.assign({ variant: "circular", sx: { '&.CustomVariant_circular': { minWidth: 32, height: 32 } } }, { children: icon }))), displayLabel && (_jsx(Tooltip, Object.assign({ title: platformName }, { children: _jsx(Typography, Object.assign({ noWrap: true, fontSize: 12, fontWeight: 500 }, { children: platformName || (_jsx(Box, Object.assign({ component: "span", sx: { opacity: 0.2 } }, { children: "Unavailable" }))) })) })))] })));
18
- };
19
- export default memo(TerminalsPlatformCell);
@@ -1 +0,0 @@
1
- export { default as TerminalsPlatformCell } from './TerminalsPlatformCell';
@@ -1 +0,0 @@
1
- export { default as TerminalsPlatformCell } from './TerminalsPlatformCell';
@@ -1,14 +0,0 @@
1
- import React, { PropsWithChildren } from 'react';
2
- import Tooltip from '../Tooltip';
3
- import { type ChipProps } from '../Chip';
4
- type TooltipChipProps = PropsWithChildren<{
5
- title: React.ReactNode;
6
- variant?: ChipProps['variant'];
7
- slotProps?: {
8
- tooltip?: React.ComponentProps<typeof Tooltip>;
9
- chip?: Partial<ChipProps>;
10
- };
11
- children: React.ReactNode;
12
- }>;
13
- declare const TooltipChip: ({ title, slotProps, children }: TooltipChipProps) => import("react/jsx-runtime").JSX.Element;
14
- export default TooltipChip;
@@ -1,20 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import Tooltip from '../Tooltip';
14
- import { StyledChip } from './style';
15
- const TooltipChip = ({ title, slotProps = {}, children }) => {
16
- const { chip = {}, tooltip = {} } = slotProps;
17
- const { sx: chipSx } = chip, chipProps = __rest(chip, ["sx"]);
18
- return (_jsx(Tooltip, Object.assign({}, tooltip, { title: title }, { children: _jsx(StyledChip, Object.assign({}, chipProps, { sx: Object.assign({ height: 24, display: 'inline-flex', color: 'text.primary' }, chipSx) }, { children: children })) })));
19
- };
20
- export default TooltipChip;
@@ -1 +0,0 @@
1
- export { default as TooltipChip } from './TooltipChip';
@@ -1 +0,0 @@
1
- export { default as TooltipChip } from './TooltipChip';
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledChip: import("@emotion/styled").StyledComponent<{
3
- variant?: import("../Chip").ChipVariant | undefined;
4
- icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactDOM | null | undefined;
5
- } & import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
- }, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & {
8
- children?: import("react").ReactNode;
9
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -1,7 +0,0 @@
1
- import { styled } from '@mui/material/styles';
2
- import { Chip } from '../Chip';
3
- export const StyledChip = styled(Chip)(({ theme }) => ({
4
- color: theme.palette.text.primary,
5
- '&.CustomVariant_text': { height: 24 },
6
- display: 'inline-flex',
7
- }));