@galaxy-ds/core 2.0.16 → 2.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Autocomplete/Autocomplete.types.d.ts +5 -1
- package/dist/Icons/leap/{Carat.d.ts → Caret.d.ts} +1 -1
- package/dist/Icons/leap/index.d.ts +1 -1
- package/dist/RibbonButton/RibbonButton.styled.d.ts +1 -1
- package/dist/RibbonButtonGroup/RibbonButtonGroup.styled.d.ts +1 -1
- package/dist/Tabs/Tabs.d.ts +1 -4
- package/dist/Tabs/Tabs.styled.d.ts +1 -4
- package/dist/index.esm.js +25 -76
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +25 -76
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AutocompleteProps as MuiAutocompleteProps } from '@mui/material';
|
|
2
|
-
export interface AutocompleteProps extends MuiAutocompleteProps<any, boolean, boolean, boolean> {
|
|
2
|
+
export interface AutocompleteProps extends Omit<MuiAutocompleteProps<any, boolean, boolean, boolean>, 'renderInput'> {
|
|
3
3
|
/**
|
|
4
4
|
* Custom action label to prepend at the bottom of the option list.
|
|
5
5
|
*/
|
|
@@ -21,4 +21,8 @@ export interface AutocompleteProps extends MuiAutocompleteProps<any, boolean, bo
|
|
|
21
21
|
* Deprecated. Now styles automatically change based on theme.
|
|
22
22
|
*/
|
|
23
23
|
platform?: 'desktop' | 'web';
|
|
24
|
+
/**
|
|
25
|
+
* Optional, as Galaxy has a default renderInput prop.
|
|
26
|
+
* */
|
|
27
|
+
renderInput?: MuiAutocompleteProps<any, boolean, boolean, boolean>['renderInput'];
|
|
24
28
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SvgIconProps } from '@mui/material/SvgIcon';
|
|
2
|
-
export default function
|
|
2
|
+
export default function CaretIcon(props: SvgIconProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -20,7 +20,7 @@ export { default as InsertLinkIcon } from './InsertLink';
|
|
|
20
20
|
export { default as SearchIcon } from './Search';
|
|
21
21
|
export { default as SelectFilterEmptyIcon } from './SelectFilterEmpty';
|
|
22
22
|
export { default as SelectFilterFilledIcon } from './SelectFilterFilled';
|
|
23
|
-
export { default as
|
|
23
|
+
export { default as CaretIcon } from './Caret';
|
|
24
24
|
export { default as AccessIcon } from './Access';
|
|
25
25
|
export { default as AccountingIcon } from './Accounting';
|
|
26
26
|
export { default as AssignCurvedIcon } from './AssignCurved';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const CaretWrapperStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
3
|
export declare const RibbonButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Button").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
4
4
|
ref?: import("react").Ref<HTMLButtonElement>;
|
|
5
5
|
}, "children" | "disabled" | "color" | "fullWidth" | "size" | "style" | "classes" | "className" | "sx" | "tabIndex" | "action" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "href" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare const RibbonButtonGroupStyled: import("@emotion/styled").StyledComponent<import("@mui/material/ButtonGroup").ButtonGroupOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
4
4
|
}, "children" | "disabled" | "color" | "fullWidth" | "size" | "style" | "classes" | "className" | "sx" | "variant" | "disableRipple" | "disableElevation" | "disableFocusRipple" | "orientation"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const RibbonCaretWrapperStyled: import("@emotion/styled").StyledComponent<import("@mui/material/Button").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
6
6
|
ref?: import("react").Ref<HTMLButtonElement>;
|
|
7
7
|
}, "children" | "disabled" | "color" | "fullWidth" | "size" | "style" | "classes" | "className" | "sx" | "tabIndex" | "action" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "href" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
8
8
|
export declare const RibbonButtonStyled: import("@emotion/styled").StyledComponent<Omit<import("../RibbonButton").RibbonButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
package/dist/Tabs/Tabs.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { Theme } from '@mui/material';
|
|
2
1
|
import { TabsProps } from './Tabs.types';
|
|
3
|
-
export declare const Tabs: (props: TabsProps
|
|
4
|
-
theme: Theme;
|
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Tabs: (props: TabsProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
3
|
export default Tabs;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Theme } from '@mui/material';
|
|
3
|
-
import { TabsProps } from './Tabs.types';
|
|
4
3
|
export declare const StyledTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
4
|
ref?: import("react").Ref<HTMLDivElement>;
|
|
6
|
-
}, "children" | "style" | "classes" | "className" | "slots" | "slotProps" | "sx" | "aria-label" | "aria-labelledby" | "onChange" | "action" | "variant" | "value" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<Theme
|
|
7
|
-
theme: Theme;
|
|
8
|
-
}, {}, {}>;
|
|
5
|
+
}, "children" | "style" | "classes" | "className" | "slots" | "slotProps" | "sx" | "aria-label" | "aria-labelledby" | "onChange" | "action" | "variant" | "value" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
|
package/dist/index.esm.js
CHANGED
|
@@ -1110,7 +1110,6 @@ var dropdownOverrides$1 = {
|
|
|
1110
1110
|
height: 30,
|
|
1111
1111
|
lineHeight: '30px',
|
|
1112
1112
|
}, '& .customSelectInputBackground': {
|
|
1113
|
-
backgroundColor: 'red',
|
|
1114
1113
|
borderColor: theme.palette.grey[500],
|
|
1115
1114
|
cursor: 'default',
|
|
1116
1115
|
'&:hover': {
|
|
@@ -1768,7 +1767,7 @@ var tableCellOverrides$1 = {
|
|
|
1768
1767
|
borderTop: "1px solid #d4d4d4",
|
|
1769
1768
|
borderLeft: "1px solid #d4d4d4",
|
|
1770
1769
|
padding: '8px 16px',
|
|
1771
|
-
'&:first-
|
|
1770
|
+
'&:first-of-type': {
|
|
1772
1771
|
borderLeft: 'none',
|
|
1773
1772
|
},
|
|
1774
1773
|
},
|
|
@@ -2449,12 +2448,9 @@ var checkboxOverrides = {
|
|
|
2449
2448
|
content: '""',
|
|
2450
2449
|
display: 'none',
|
|
2451
2450
|
position: 'absolute',
|
|
2452
|
-
top: -1,
|
|
2453
|
-
left: -1,
|
|
2454
2451
|
width: 14,
|
|
2455
2452
|
height: 14,
|
|
2456
2453
|
backgroundColor: '#fef7f0',
|
|
2457
|
-
border: "1px solid #d4d4d4",
|
|
2458
2454
|
},
|
|
2459
2455
|
'& input:focus': {
|
|
2460
2456
|
borderColor: theme.palette.primary.main,
|
|
@@ -2658,7 +2654,7 @@ var dropdownOverrides = {
|
|
|
2658
2654
|
select: function (_a) {
|
|
2659
2655
|
var theme = _a.theme;
|
|
2660
2656
|
return ({
|
|
2661
|
-
padding: '
|
|
2657
|
+
padding: '12px 12px 12px 16px',
|
|
2662
2658
|
lineHeight: 1,
|
|
2663
2659
|
textTransform: 'uppercase',
|
|
2664
2660
|
fontSize: 12,
|
|
@@ -2692,9 +2688,6 @@ var dropdownOverrides = {
|
|
|
2692
2688
|
verticalAlign: 'top',
|
|
2693
2689
|
marginLeft: '0.5rem',
|
|
2694
2690
|
},
|
|
2695
|
-
'&.MuiSelect-select': {
|
|
2696
|
-
paddingRight: 12,
|
|
2697
|
-
},
|
|
2698
2691
|
});
|
|
2699
2692
|
},
|
|
2700
2693
|
},
|
|
@@ -2841,14 +2834,6 @@ var inputBaseOverrides = {
|
|
|
2841
2834
|
'&.customSelectInputBackground .MuiInputBase-inputAdornedStart': {
|
|
2842
2835
|
paddingLeft: 36,
|
|
2843
2836
|
},
|
|
2844
|
-
'&.customdropdown': {
|
|
2845
|
-
backgroundColor: '#d6d6d6',
|
|
2846
|
-
borderColor: theme.palette.grey[500],
|
|
2847
|
-
cursor: 'default',
|
|
2848
|
-
'&:hover': {
|
|
2849
|
-
cursor: 'default',
|
|
2850
|
-
},
|
|
2851
|
-
},
|
|
2852
2837
|
});
|
|
2853
2838
|
},
|
|
2854
2839
|
input: {
|
|
@@ -3361,7 +3346,7 @@ var tableCellOverrides = {
|
|
|
3361
3346
|
letterSpacing: '0.07px',
|
|
3362
3347
|
borderLeft: "1px solid #d4d4d4",
|
|
3363
3348
|
background: theme.palette.background.paper,
|
|
3364
|
-
'&:first-
|
|
3349
|
+
'&:first-of-type': {
|
|
3365
3350
|
borderLeft: 'none',
|
|
3366
3351
|
},
|
|
3367
3352
|
});
|
|
@@ -3698,7 +3683,7 @@ function SelectFilterFilledIcon(props) {
|
|
|
3698
3683
|
return (jsxs(SvgIcon, __assign({}, props, { viewBox: "0 0 16 16", children: [jsx("path", { opacity: ".5", fillRule: "evenodd", clipRule: "evenodd", d: "M9.429 7.41v7.09L6.57 12.727V7.41L4.387 5l8.21-1.048-3.168 3.457z", fill: "currentColor" }), jsx("path", { d: "M14 2.386l.37.337a.5.5 0 00.13-.337H14zM9.429 7.41l-.37-.336a.5.5 0 00-.13.336h.5zM14 1.5h.5A.5.5 0 0014 1v.5zm-12 0V1a.5.5 0 00-.5.5H2zm0 .886h-.5a.5.5 0 00.13.337L2 2.386zM6.571 7.41h.5a.5.5 0 00-.13-.336l-.37.336zm0 5.318h-.5a.5.5 0 00.237.425l.263-.425zM9.43 14.5l-.264.425a.5.5 0 00.764-.425h-.5zM13.63 2.05L9.06 7.073l.74.673 4.57-5.023-.739-.673zm-.13-.55v.886h1V1.5h-1zM2 2h12V1H2v1zm.5.386V1.5h-1v.886h1zm4.441 4.687L2.37 2.05l-.74.673 4.572 5.023.74-.673zm.13 5.654V7.41h-1v5.318h1zm2.621 1.348l-2.857-1.773-.527.85 2.857 1.773.527-.85zM8.93 7.41V14.5h1V7.41h-1z", fill: "currentColor" })] })));
|
|
3699
3684
|
}
|
|
3700
3685
|
|
|
3701
|
-
function
|
|
3686
|
+
function CaretIcon(props) {
|
|
3702
3687
|
return (jsx(SvgIcon, __assign({}, props, { viewBox: "0 0 6 4", width: "6", height: "4", children: jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 0H6L3 4L0 0Z", fill: "#2F2F2F" }) })));
|
|
3703
3688
|
}
|
|
3704
3689
|
|
|
@@ -4896,7 +4881,7 @@ styled(MuiTypography$1)(function (_a) {
|
|
|
4896
4881
|
});
|
|
4897
4882
|
|
|
4898
4883
|
var Autocomplete = function (_a) {
|
|
4899
|
-
var label = _a.label, placeholder = _a.placeholder, _b = _a.platform, platform = _b === void 0 ? 'desktop' : _b, actionLabel = _a.actionLabel, actionClick = _a.actionClick, onChange = _a.onChange, bottomButtonHeight = _a.bottomButtonHeight, rest = __rest(_a, ["label", "placeholder", "platform", "actionLabel", "actionClick", "onChange", "bottomButtonHeight"]);
|
|
4884
|
+
var label = _a.label, placeholder = _a.placeholder, _b = _a.platform, platform = _b === void 0 ? 'desktop' : _b, actionLabel = _a.actionLabel, actionClick = _a.actionClick, onChange = _a.onChange, bottomButtonHeight = _a.bottomButtonHeight, renderInput = _a.renderInput, rest = __rest(_a, ["label", "placeholder", "platform", "actionLabel", "actionClick", "onChange", "bottomButtonHeight", "renderInput"]);
|
|
4900
4885
|
var _c = useState(placeholder), inputPlaceholder = _c[0], setInputPlaceholder = _c[1];
|
|
4901
4886
|
var root = useRef(null);
|
|
4902
4887
|
var onKeyDownHandler = function (event) {
|
|
@@ -4915,7 +4900,7 @@ var Autocomplete = function (_a) {
|
|
|
4915
4900
|
var CustomPaper = function (props) {
|
|
4916
4901
|
return (jsx(StyledPaper, __assign({ bottomButtonHeight: bottomButtonHeight }, props, { placement: "bottom", children: jsxs(Fragment, { children: [props.children, actionLabel && (jsxs(Fragment, { children: [jsx(MuiDivider, {}), jsx(ListItemButton, { dense: true, onMouseDown: actionClick, children: jsx(StyledListContent, { children: jsx(Typography, { variant: platform === 'desktop' ? 'body1' : 'body2', align: "center", children: actionLabel }) }) })] }))] }) })));
|
|
4917
4902
|
};
|
|
4918
|
-
return (jsxs(Fragment, { children: [label && jsx(InputLabel, { children: label }), jsx(MuiAutocomplete, __assign({ disableClearable: true, renderInput: function (params) { return (jsx(TextField$1, __assign({}, params, { inputProps: __assign(__assign({}, params.inputProps), { autoComplete: 'off' }), placeholder: inputPlaceholder, className: "customLargeSize" }))); }, PaperComponent: CustomPaper, onChange: function (event, value, reason) {
|
|
4903
|
+
return (jsxs(Fragment, { children: [label && jsx(InputLabel, { children: label }), jsx(MuiAutocomplete, __assign({ disableClearable: true, renderInput: renderInput ? renderInput : function (params) { return (jsx(TextField$1, __assign({}, params, { inputProps: __assign(__assign({}, params.inputProps), { autoComplete: 'off' }), placeholder: inputPlaceholder, className: "customLargeSize" }))); }, PaperComponent: CustomPaper, onChange: function (event, value, reason) {
|
|
4919
4904
|
value && value.length > 0
|
|
4920
4905
|
? setInputPlaceholder('')
|
|
4921
4906
|
: setInputPlaceholder(placeholder);
|
|
@@ -16403,43 +16388,7 @@ var DrawerMenu = React.forwardRef(function DrawMenu(props, ref) {
|
|
|
16403
16388
|
return (jsxs(DrawerMenuContainer, __assign({ ref: ref, className: "gds-drawer-menu-item ".concat(variantProp, " ").concat(submenu ? 'gds-drawer-menu-item-sub' : '') }, rest, { children: [startAdornment && !submenu ? (jsx(ListItemIcon, { children: startAdornment })) : null, jsxs("span", { className: 'gds-drawer-menu-item-text', children: [children, " ", value] })] })));
|
|
16404
16389
|
});
|
|
16405
16390
|
|
|
16406
|
-
function
|
|
16407
|
-
var k, y, str='';
|
|
16408
|
-
if (mix) {
|
|
16409
|
-
if (typeof mix === 'object') {
|
|
16410
|
-
if (Array.isArray(mix)) {
|
|
16411
|
-
for (k=0; k < mix.length; k++) {
|
|
16412
|
-
if (mix[k] && (y = toVal(mix[k]))) {
|
|
16413
|
-
str && (str += ' ');
|
|
16414
|
-
str += y;
|
|
16415
|
-
}
|
|
16416
|
-
}
|
|
16417
|
-
} else {
|
|
16418
|
-
for (k in mix) {
|
|
16419
|
-
if (mix[k] && (y = toVal(k))) {
|
|
16420
|
-
str && (str += ' ');
|
|
16421
|
-
str += y;
|
|
16422
|
-
}
|
|
16423
|
-
}
|
|
16424
|
-
}
|
|
16425
|
-
} else if (typeof mix !== 'boolean' && !mix.call) {
|
|
16426
|
-
str && (str += ' ');
|
|
16427
|
-
str += mix;
|
|
16428
|
-
}
|
|
16429
|
-
}
|
|
16430
|
-
return str;
|
|
16431
|
-
}
|
|
16432
|
-
|
|
16433
|
-
function clsx () {
|
|
16434
|
-
var i=0, x, str='';
|
|
16435
|
-
while (i < arguments.length) {
|
|
16436
|
-
if (x = toVal(arguments[i++])) {
|
|
16437
|
-
str && (str += ' ');
|
|
16438
|
-
str += x;
|
|
16439
|
-
}
|
|
16440
|
-
}
|
|
16441
|
-
return str;
|
|
16442
|
-
}
|
|
16391
|
+
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
16443
16392
|
|
|
16444
16393
|
var StyledInputBase = styled(InputBase, {
|
|
16445
16394
|
shouldForwardProp: function (prop) { return prop !== 'textAlignRight'; },
|
|
@@ -17033,20 +16982,20 @@ var RibbonButtonStyled$1 = styled(Button$2)({
|
|
|
17033
16982
|
textTransform: 'capitalize',
|
|
17034
16983
|
border: '1px solid transparent',
|
|
17035
16984
|
display: 'flex',
|
|
17036
|
-
'&.
|
|
16985
|
+
'&.caret': {
|
|
17037
16986
|
borderLeft: '1px solid transparent',
|
|
17038
16987
|
},
|
|
17039
16988
|
'&:hover': {
|
|
17040
16989
|
backgroundColor: '#DDE7F3',
|
|
17041
16990
|
borderColor: '#CADEF3',
|
|
17042
|
-
'& .
|
|
16991
|
+
'& .caret': {
|
|
17043
16992
|
borderColor: '#CADEF3',
|
|
17044
16993
|
},
|
|
17045
16994
|
},
|
|
17046
16995
|
'&:active': {
|
|
17047
16996
|
backgroundColor: '#C7DEF3',
|
|
17048
16997
|
borderColor: '#9DC9F4',
|
|
17049
|
-
'& .
|
|
16998
|
+
'& .caret': {
|
|
17050
16999
|
borderColor: '#9DC9F4',
|
|
17051
17000
|
},
|
|
17052
17001
|
},
|
|
@@ -17076,19 +17025,19 @@ var RibbonButtonGroupStyled = styled(ButtonGroup)({
|
|
|
17076
17025
|
border: '1px solid transparent',
|
|
17077
17026
|
padding: '0',
|
|
17078
17027
|
display: 'flex',
|
|
17079
|
-
'&.
|
|
17028
|
+
'&.caret': {
|
|
17080
17029
|
border: '1px solid transparent',
|
|
17081
17030
|
},
|
|
17082
17031
|
'&:hover': {
|
|
17083
17032
|
backgroundColor: '#DDE7F3',
|
|
17084
17033
|
borderColor: '#CADEF3',
|
|
17085
|
-
'& .
|
|
17034
|
+
'& .caret': {
|
|
17086
17035
|
borderLeftColor: '#CADEF3',
|
|
17087
17036
|
},
|
|
17088
17037
|
},
|
|
17089
17038
|
'&:active': {
|
|
17090
17039
|
borderColor: '#9DC9F4',
|
|
17091
|
-
'& .
|
|
17040
|
+
'& .caret': {
|
|
17092
17041
|
backgroundColor: '#C7DEF3',
|
|
17093
17042
|
borderLeftColor: '#9DC9F4',
|
|
17094
17043
|
},
|
|
@@ -17101,7 +17050,7 @@ var RibbonButtonGroupStyled = styled(ButtonGroup)({
|
|
|
17101
17050
|
borderRightColor: '#CADEF3',
|
|
17102
17051
|
},
|
|
17103
17052
|
});
|
|
17104
|
-
var
|
|
17053
|
+
var RibbonCaretWrapperStyled = styled(Button$2)({
|
|
17105
17054
|
'& .MuiButtonGroup-grouped': {
|
|
17106
17055
|
minWidth: 'unset',
|
|
17107
17056
|
},
|
|
@@ -17115,7 +17064,7 @@ var RibbonCaratWrapperStyled = styled(Button$2)({
|
|
|
17115
17064
|
border: '1px solid transparent',
|
|
17116
17065
|
padding: '0',
|
|
17117
17066
|
display: 'flex',
|
|
17118
|
-
'&.
|
|
17067
|
+
'&.caret': {
|
|
17119
17068
|
borderLeft: '1px solid transparent',
|
|
17120
17069
|
},
|
|
17121
17070
|
'&:hover': {
|
|
@@ -17123,7 +17072,7 @@ var RibbonCaratWrapperStyled = styled(Button$2)({
|
|
|
17123
17072
|
},
|
|
17124
17073
|
'&:active': {
|
|
17125
17074
|
backgroundColor: '#C7DEF3',
|
|
17126
|
-
'& .
|
|
17075
|
+
'& .caret': {
|
|
17127
17076
|
borderLeftColor: '#9DC9F4',
|
|
17128
17077
|
backgroundColor: '#C7DEF3',
|
|
17129
17078
|
},
|
|
@@ -17141,10 +17090,10 @@ var RibbonButtonGroup = forwardRef(function RibbonButtonGroup(props, ref) {
|
|
|
17141
17090
|
return (jsxs(RibbonButtonGroupStyled, __assign({ variant: "outlined", disableRipple: true, ref: ref }, rest, { children: [jsx(RibbonButtonStyled, { variant: "outlined", icon: icon, label: label, isWrapped: isWrapped, onClick: function (event) {
|
|
17142
17091
|
event.stopPropagation();
|
|
17143
17092
|
onClick && onClick();
|
|
17144
|
-
} }), jsx(
|
|
17093
|
+
} }), jsx(RibbonCaretWrapperStyled, { className: "caret", onClick: function (event) {
|
|
17145
17094
|
event.stopPropagation();
|
|
17146
17095
|
onToggle && onToggle();
|
|
17147
|
-
}, children: jsx(
|
|
17096
|
+
}, children: jsx(CaretIcon, {}) })] })));
|
|
17148
17097
|
});
|
|
17149
17098
|
|
|
17150
17099
|
var RadioGroup = function (props) {
|
|
@@ -17464,18 +17413,18 @@ var TableRow = React.forwardRef(function TableRow(props, ref) {
|
|
|
17464
17413
|
return jsx(TableRow$1, __assign({ ref: ref }, props));
|
|
17465
17414
|
});
|
|
17466
17415
|
|
|
17467
|
-
var StyledTabs = styled$1(Tabs$1)(function (
|
|
17468
|
-
var theme =
|
|
17416
|
+
var StyledTabs = styled$1(Tabs$1)(function (_a) {
|
|
17417
|
+
var theme = _a.theme, orientation = _a.orientation;
|
|
17469
17418
|
return {
|
|
17470
17419
|
'&.MuiTabs-root': {
|
|
17471
17420
|
flexGrow: 1,
|
|
17472
17421
|
backgroundColor: theme.palette.grey[200],
|
|
17473
|
-
boxShadow:
|
|
17474
|
-
height:
|
|
17475
|
-
minHeight:
|
|
17422
|
+
boxShadow: orientation === 'vertical' ? 'none' : 'inset 0 -1px 0 0 #D4D4D4',
|
|
17423
|
+
height: orientation === 'vertical' ? 'inherit' : 36,
|
|
17424
|
+
minHeight: orientation === 'vertical' ? 'inherit' : 36,
|
|
17476
17425
|
},
|
|
17477
17426
|
'& .MuiTabs-scroller': {
|
|
17478
|
-
height:
|
|
17427
|
+
height: orientation === 'vertical' ? 'inherit' : 36,
|
|
17479
17428
|
},
|
|
17480
17429
|
'& .MuiTabs-indicator': {
|
|
17481
17430
|
display: 'none',
|
|
@@ -17570,5 +17519,5 @@ function PoweredByLawconnectLogo(props) {
|
|
|
17570
17519
|
return (jsxs("svg", __assign({ viewBox: "0 0 180 31", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink" }, props, { children: [jsx("path", { d: "M10.397 30.235A10.135 10.135 0 01.176 20.097 10.138 10.138 0 0110.397 9.96v4.873a5.267 5.267 0 105.264 5.27v-.006h4.874a10.13 10.13 0 01-10.121 10.138h-.017z", fill: "#0E5FE3" }), jsx("path", { d: "M17.123 16.782a3.412 3.412 0 100-6.823 3.412 3.412 0 000 6.823z", fill: "#0E5FE3" }), jsx("path", { d: "M27.004 27.954V11.922h2.934v13.624h7.483v2.408H27.004zM64.621 16.833h2.775l-4.369 11.121H60.55l-2.73-7.163-2.66 7.163h-2.454l-4.39-11.122h2.912l2.843 7.733 2.843-7.733h2.047l2.843 7.779 2.817-7.778zM84.961 27.432a4.873 4.873 0 01-1.99-2.024c-.47-.88-.705-1.903-.705-3.07 0-1.169.236-2.188.705-3.06a4.89 4.89 0 011.99-2.012c.857-.47 1.854-.704 2.991-.705 1.138 0 2.134.235 2.99.705a4.823 4.823 0 011.98 2.013c.462.872.693 1.891.693 3.058 0 1.168-.231 2.192-.693 3.071a4.808 4.808 0 01-1.98 2.025c-.856.47-1.852.704-2.99.705-1.137 0-2.134-.235-2.99-.706zm5.084-2.408c.485-.607.727-1.501.727-2.684 0-1.167-.242-2.057-.727-2.672-.485-.614-1.183-.921-2.093-.921-.91 0-1.61.307-2.104.921-.493.615-.74 1.505-.739 2.672 0 1.183.243 2.077.728 2.684.486.606 1.183.91 2.093.91.923-.003 1.629-.307 2.115-.913v.003zM104.26 17.697c.652.759.978 1.904.978 3.435v6.822h-2.844v-6.663c0-.864-.162-1.494-.488-1.888-.326-.394-.838-.59-1.536-.591-.819 0-1.474.258-1.967.773-.493.516-.74 1.206-.74 2.07v6.3h-2.842V16.832h2.775v1.66a3.846 3.846 0 011.523-1.432c.637-.334 1.358-.5 2.161-.5 1.333 0 2.327.378 2.98 1.136zM116.313 17.697c.652.759.978 1.904.979 3.435v6.822h-2.843v-6.663c0-.864-.163-1.494-.49-1.888-.326-.394-.837-.59-1.535-.591-.818 0-1.474.258-1.967.773-.493.516-.739 1.206-.739 2.07v6.3h-2.843V16.832h2.774v1.66a3.852 3.852 0 011.524-1.432c.638-.334 1.358-.5 2.161-.5 1.334 0 2.327.378 2.979 1.136zM46.836 17.697c-.758-.758-1.918-1.137-3.48-1.137a8.888 8.888 0 00-2.502.385c-.857.25-1.59.567-2.201.947l1.559 1.56a9.106 9.106 0 011.087-.426 6.128 6.128 0 011.854-.307c.758 0 1.3.166 1.626.5.325.333.488.88.489 1.638v.523h-.569c-1.65 0-2.947.106-3.889.318-.94.212-1.62.555-2.037 1.027-.417.47-.625 1.114-.625 1.932-.007.63.175 1.248.523 1.774.357.537.852.968 1.433 1.248a4.46 4.46 0 002.024.455c.728 0 1.369-.167 1.922-.5a2.968 2.968 0 001.216-1.388v1.708h2.707V21.2c0-1.577-.379-2.745-1.137-3.503zm-1.57 5.663c0 .804-.238 1.46-.716 1.968-.477.508-1.095.762-1.853.762-.516 0-.94-.155-1.274-.466-.334-.311-.5-.71-.5-1.195 0-.393.121-.704.364-.932.242-.228.644-.387 1.205-.478.561-.091 1.35-.137 2.365-.137h.413l-.004.478z", fill: "#191919" }), jsx("path", { d: "M80.642 24.615c-.459.307-.95.56-1.466.757a6.48 6.48 0 01-2.275.397c-1.547 0-2.74-.5-3.582-1.5-.841-1.002-1.262-2.45-1.263-4.345 0-1.88.421-3.321 1.263-4.322.842-1 2.036-1.5 3.582-1.5a6.48 6.48 0 012.275.397 7.31 7.31 0 011.47.761l1.651-1.65c-.649-.6-1.447-1.065-2.394-1.396a9.193 9.193 0 00-3.045-.498c-1.577 0-2.953.337-4.129 1.012a6.772 6.772 0 00-2.706 2.866c-.629 1.235-.943 2.68-.944 4.334 0 1.654.314 3.102.944 4.344a6.753 6.753 0 002.706 2.875c1.175.676 2.551 1.014 4.129 1.014a9.178 9.178 0 003.047-.501c.946-.33 1.743-.794 2.391-1.392l-1.654-1.653zM127.168 25.247a5.251 5.251 0 01-2.657.706c-.986 0-1.743-.25-2.271-.75-.528-.501-.839-1.267-.933-2.297h7.569v-.796c0-1.729-.443-3.086-1.33-4.072-.887-.986-2.095-1.478-3.624-1.478-1.047 0-1.983.243-2.809.728a4.963 4.963 0 00-1.922 2.047c-.455.88-.683 1.889-.682 3.028 0 1.789.527 3.199 1.582 4.23 1.055 1.031 2.492 1.547 4.31 1.547a7.458 7.458 0 002.354-.387c.768-.254 1.408-.588 1.919-1.002l-1.506-1.505zm-5.011-5.958c.462-.485 1.073-.727 1.831-.727s1.349.239 1.774.716c.425.478.652 1.179.682 2.104h-5.137c.104-.91.387-1.608.85-2.093zM137.147 25.615a4.387 4.387 0 01-1.558.296c-.986 0-1.751-.308-2.297-.922-.546-.614-.819-1.49-.819-2.626 0-1.152.273-2.036.819-2.65.546-.614 1.311-.921 2.297-.921a4.404 4.404 0 011.558.295c.265.1.52.222.765.364l1.521-1.52c-.452-.414-1.048-.744-1.789-.993a7.258 7.258 0 00-2.308-.375c-1.152 0-2.168.243-3.048.728a5.024 5.024 0 00-2.035 2.058c-.478.887-.717 1.907-.717 3.06 0 1.152.228 2.16.683 3.027a4.766 4.766 0 001.967 2.001c.856.47 1.868.705 3.036.706a7.486 7.486 0 002.365-.376c.737-.243 1.345-.575 1.824-.998l-1.514-1.51c-.24.139-.491.258-.75.356zM147.669 25.955a8.173 8.173 0 01-.834.044c-1.38 0-2.07-.743-2.069-2.229v-4.8h2.903v-2.137h-2.903v-3.32h-2.843v3.32h-2.138v2.138h2.138v4.844c0 1.426.371 2.499 1.114 3.218.743.72 1.896 1.08 3.457 1.081.357 0 .749-.02 1.175-.06v-2.1zM27.004.765h3.638c.89 0 1.584.223 2.08.668.496.445.744 1.07.744 1.872 0 .804-.248 1.43-.744 1.879-.497.448-1.19.673-2.08.673h-2.114v3.238h-1.524V.765zm3.45 3.922c1.047 0 1.57-.457 1.57-1.37 0-.465-.129-.809-.389-1.033-.26-.224-.653-.337-1.181-.34h-1.927v2.744l1.927-.001zM35.126 8.826c-.44-.24-.8-.607-1.032-1.052-.245-.458-.367-.99-.367-1.595.001-.604.123-1.134.367-1.59a2.546 2.546 0 011.032-1.045c.444-.244.962-.366 1.553-.366a3.188 3.188 0 011.554.366A2.51 2.51 0 0139.26 4.59c.241.453.361.983.36 1.59 0 .606-.12 1.137-.36 1.594-.229.446-.587.812-1.027 1.052-.445.244-.963.366-1.554.366-.59 0-1.108-.123-1.553-.366zm2.64-1.253c.252-.315.378-.78.378-1.394 0-.607-.126-1.07-.378-1.388-.252-.319-.615-.48-1.087-.482-.472 0-.837.16-1.093.482-.256.32-.384.783-.384 1.386 0 .613.126 1.078.379 1.394.252.315.614.473 1.086.472.481 0 .847-.157 1.099-.472v.002zM48.246 3.317h1.445l-2.27 5.78h-1.29l-1.418-3.722-1.382 3.722h-1.276l-2.28-5.78h1.513l1.478 4.017 1.477-4.017h1.063l1.477 4.04 1.463-4.04zM55.24 6.472h-3.934c.046.535.207.933.482 1.193s.67.39 1.181.39c.636 0 1.253-.216 1.749-.614l.426 1.016a3.105 3.105 0 01-1.011.531 3.87 3.87 0 01-1.22.201c-.945 0-1.691-.268-2.239-.803-.548-.535-.821-1.268-.82-2.198a3.375 3.375 0 01.354-1.571c.223-.443.57-.813.998-1.063a2.821 2.821 0 011.46-.379c.795 0 1.423.256 1.883.768.46.512.691 1.217.692 2.115v.414zm-3.49-1.879c-.24.252-.389.614-.444 1.087h2.67c-.015-.48-.133-.845-.354-1.093-.22-.248-.527-.372-.922-.371-.393 0-.71.125-.95.377zM60.014 4.404l-.863.083c-.976.102-1.465.598-1.465 1.489v3.119H56.21v-5.78h1.406v1.018c.3-.692.919-1.07 1.858-1.134l.449-.035.092 1.24zM65.505 6.472h-3.932c.046.535.206.933.482 1.193.275.26.669.39 1.182.39.636 0 1.253-.216 1.748-.614l.425 1.016a3.1 3.1 0 01-1.006.531c-.394.132-.807.2-1.223.201-.945 0-1.692-.268-2.239-.803-.547-.535-.821-1.268-.822-2.198a3.367 3.367 0 01.355-1.571c.223-.443.57-.813.997-1.063a2.821 2.821 0 011.46-.379c.798 0 1.426.255 1.885.765.458.51.688 1.215.688 2.115v.417zm-3.489-1.879c-.24.252-.388.614-.443 1.087h2.67c-.015-.48-.133-.845-.354-1.093-.22-.248-.528-.372-.921-.371-.394 0-.712.125-.952.377zM71.994.765v8.33h-1.467V8.16c-.17.32-.431.584-.75.757-.342.186-.727.28-1.116.275a2.397 2.397 0 01-1.33-.378 2.511 2.511 0 01-.91-1.069 3.695 3.695 0 01-.324-1.59c0-.598.108-1.122.325-1.57a2.382 2.382 0 012.239-1.407c.385-.008.767.08 1.11.256.314.166.573.42.744.733V.765h1.479zm-1.85 6.794c.256-.323.383-.784.383-1.382 0-.599-.128-1.057-.383-1.377-.257-.318-.617-.478-1.082-.481-.472 0-.84.157-1.1.473-.261.315-.392.767-.39 1.358 0 .596.13 1.06.39 1.394.26.333.622.498 1.086.497.475.001.84-.16 1.097-.482zM80.784 3.541c.394.254.708.615.904 1.04.216.45.325.973.325 1.572.01.547-.1 1.09-.325 1.589-.195.435-.51.806-.908 1.07a2.394 2.394 0 01-1.329.377 2.266 2.266 0 01-1.116-.275 1.842 1.842 0 01-.75-.757v.934H76.13V.765h1.477v3.39c.17-.31.43-.564.745-.726.34-.174.718-.26 1.1-.254.47-.008.932.12 1.331.366zm-.638 4.006c.26-.33.39-.795.39-1.394 0-.59-.128-1.044-.384-1.359-.256-.315-.62-.472-1.092-.472-.473 0-.837.16-1.093.481-.255.321-.383.78-.384 1.376 0 .599.128 1.06.384 1.383.256.323.62.483 1.093.481.464 0 .826-.165 1.086-.496zM86.892 3.329h1.457l-3.474 7.893h-1.488L84.44 8.87 82.03 3.33h1.56l1.63 4.076 1.672-4.076z", fill: "#191919" })] })));
|
|
17571
17520
|
}
|
|
17572
17521
|
|
|
17573
|
-
export { AccessIcon, Accordion, AccordionDetails, AccordionPanel, AccordionSummary, AccountingIcon, ActivityDefault16Icon, ActivityLog, ActivityTypeDefault, ActivityTypeDefault16, ActivityTypePhoneCall, ActivityTypePhoneCall16, ActivityTypeScannedDoc, ActivityTypeScannedDoc16, ActivityTypeVideoCall, ActivityTypeVideoCall16, AppBar, Appointment16Icon, AssignCurvedIcon, AttachmentIcon, AutoTimer24Icon, AutoTimerFilled24Icon, AutoTimerIconDarkTheme, AutoTimerIconLightTheme, Autocomplete, Avatar, AvatarBusinessIcon, AvatarCompanyIcon, AvatarGovernmentIcon, AvatarGroup, AvatarPeopleIcon, AvatarPersonIcon, AvatarTrustIcon, BlankLetter16Icon, BottomListButton, Box, Breadcrumbs, Browse2Icon, BrowseIcon, Button, ButtonCaretIcon, ButtonFilterIcon, Bylawyers16Icon as BylawyersIcon, CalendarIcon, CalendarRibbonIcon,
|
|
17522
|
+
export { AccessIcon, Accordion, AccordionDetails, AccordionPanel, AccordionSummary, AccountingIcon, ActivityDefault16Icon, ActivityLog, ActivityTypeDefault, ActivityTypeDefault16, ActivityTypePhoneCall, ActivityTypePhoneCall16, ActivityTypeScannedDoc, ActivityTypeScannedDoc16, ActivityTypeVideoCall, ActivityTypeVideoCall16, AppBar, Appointment16Icon, AssignCurvedIcon, AttachmentIcon, AutoTimer24Icon, AutoTimerFilled24Icon, AutoTimerIconDarkTheme, AutoTimerIconLightTheme, Autocomplete, Avatar, AvatarBusinessIcon, AvatarCompanyIcon, AvatarGovernmentIcon, AvatarGroup, AvatarPeopleIcon, AvatarPersonIcon, AvatarTrustIcon, BlankLetter16Icon, BottomListButton, Box, Breadcrumbs, Browse2Icon, BrowseIcon, Button, ButtonCaretIcon, ButtonFilterIcon, Bylawyers16Icon as BylawyersIcon, CalendarIcon, CalendarRibbonIcon, Card, CaretDown12Icon, CaretIcon, CaretUp12Icon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, Chip, Clause16Icon, CoinEuroIcon$1 as CoinEuroIcon, CoinIcon, CoinPoundIcon, CostRecoveryExceeded16Icon, Cross16Icon, CrossIcon, CssBaseline, CoinEuroIcon as CurrencyEuroIcon, CurrencyIcon, CurrencyPoundIcon, DatePicker, DateRangePicker, DeleteRibbonIcon, Dialog, Divider, DocTypeAppointment$1 as DocTypeAppointment, DocTypeAppointment16, DocTypeAppointmentCriticalDate, DocTypeAppointmentCriticalDate16, DocTypeAudio, DocTypeAudio16, DocTypeEmailDraft$2 as DocTypeClausePrecedent, DocTypeClausePrecedent16, DocTypeAppointment as DocTypeComment, DocTypeComment16, DocTypeCriticalDate, DocTypeCriticalDate16, DocTypeDeadline, DocTypeDeadline16, DocTypeDefault, DocTypeDefault16, DocTypeEmail, DocTypeEmail16, DocTypeEmailDraft$3 as DocTypeEmailDraft, DocTypeEmailDraft16, DocTypeEmailDraft$1 as DocTypeEmailReceived, DocTypeEmailRecieved16 as DocTypeEmailReceived16, DocTypeEmailRecieved, DocTypeEmailSent, DocTypeEmailSent16, DocTypeExcel, DocTypeExcel16, DocTypeExcel16Shortcut, DocTypeFax, DocTypeFax16, DocTypeFileNote, DocTypeFileNote16, DocTypeFolder, DocTypeFolder16, DocTypeImage, DocTypeImage16, DocTypeInfotrack, DocTypeInfotrack16, DocTypeInvoiceRequest, DocTypeInvoiceRequest16, DocTypeInvoiceRequests, DocTypeInvoiceRequests16, DocTypeLetter, DocTypeLetter16, DocTypeMemo, DocTypeMemo16, DocTypePdf, DocTypePdf16, DocTypePowerpoint, DocTypePowerpoint16, DocTypeSMS, DocTypeSMS16, DocTypeScannedDoc16, DocTypeEmailDraft as DocTypeSignatureDeclined, DocTypeSignatureDeclined16, DocTypeSignaturePending, DocTypeSignaturePending16, DocTypeSignatureRequest, DocTypeSignatureRequest16, DocTypeSignatureSigned, DocTypeSignatureSigned16, DocTypeTasks, DocTypeTasks16, DocTypeTrust, DocTypeTrust16, DocTypeVideo, DocTypeVideo16, DocTypeWord, DocTypeWord16, DocTypeWord16Shortcut, DocTypeZip, DocTypeZip16, Drawer, DrawerMenu, Dropdown, EmailSentIcon, EmptyState, Fax16Icon, FooterActions, FormBody, FormContainer, FormGroup, FormHeader, Grid, HeaderToolbar, HomeIcon, HyperLink16Icon, Icon, IconButton, Input, InputLabel, InsertLinkIcon, LawconnectIcon, LeapLegsLogo, LeapLogo, List, ListItem, ListItemAvatar, ListItemIcon, ListItemText, ListSubheader, Loader, LoaderIcon$1 as LoaderIcon, ManualEntry24Icon, ManualEntryFilled24Icon, ManualEntryIconDarkTheme, ManualEntryIconLightTheme, MatterFolderRibbonIcon, Memo16Icon, Menu, MenuHeader, MenuIcon, MenuItem, Modal, ModalActions, ModalContent, ModalTitle, MoreVerticalIcon, NewAppointmentIcon, NewEntryRibbonIcons as NewEntryRibbonIcon, Pagination, PhoneCall16Icon, Popover, PowerIcon, PoweredByLawconnectLogo, PrecedentNotification16Icon, PreviewIcon, ProgressBar, Radio, RadioGroup, ReportingIcon, ResponseIcon, RevokeAccessIcon, RibbonButton, RibbonButtonGroup, ScannedDoc16Icon, SearchIcon, Select, SelectFilterEmptyIcon, SelectFilterFilledIcon, SelectFilterIcon, SharedFolder16Icon, SidebarLayout, Sms16Icon, SpinnerIcon$1 as SpinnerIcon, StepNavigation, SvgCheckboxChecked, SvgCheckboxIndeterminate, SvgCheckboxUncontrolled, SvgFormSearch, SvgNewAppointment, SvgRadioChecked, SvgRadioDefault, Switch, Tab, TabListItem, Table, TableBody, TableCell, TableCellIcon, TableContainer, TableFooter, TableHead, TableRow, Tabs, Tag, TaxInvoice162Icon, TaxInvoice16Icon, TextField, ThemeProvider, TickIcon, TimedEntry16Icon, Timer24Icon, TimerFilled24Icon, Toolbar, ToolbarButton, Tooltip, TrustStatement16Icon, TwoColumnLayout, Typography, UnkwownType16Icon as UnknownType16Icon, UserLinkIcon, UserLockIcon, UsersIcon, Video16Icon, VideoCall16Icon, VoiceMemo16Icon, Zyphta16Icon, createFilterOptions, theme$3 as themeDesktop, theme$1 as themeWeb };
|
|
17574
17523
|
//# sourceMappingURL=index.esm.js.map
|