@galaxy-ds/core 1.1.55 → 1.1.58
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/HeaderToolbar/HeaderToolbarProps.types.d.ts +1 -0
- package/dist/ToolbarButton/ToolbarButtonProps.types.d.ts +2 -1
- package/dist/index.esm.js +23 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +23 -9
- package/dist/index.js.map +1 -1
- package/dist/package.json +5 -2
- package/package.json +5 -2
- package/dist/AccordionBody/AccordionBody.d.ts +0 -4
- package/dist/AccordionBody/AccordionBodyProps.types.d.ts +0 -5
- package/dist/Icons/ActivityType/ActivityTypeVideoCall.d.ts +0 -3
- package/dist/Icons/ActivityType/index.d.ts +0 -1
- package/dist/Themes/LawConnect/common.d.ts +0 -277
- package/dist/Themes/LawConnect/index.d.ts +0 -1
- package/dist/Themes/LawConnect/pallette.d.ts +0 -228
- package/dist/Themes/LawConnect/theme.d.ts +0 -1
- package/dist/Themes/LawConnect/typography.d.ts +0 -93
package/dist/index.esm.js
CHANGED
|
@@ -35683,6 +35683,9 @@ var useStyles$a = makeStyles(function (theme) {
|
|
|
35683
35683
|
: 'none',
|
|
35684
35684
|
}); },
|
|
35685
35685
|
containerDivider: function (props) { return ({
|
|
35686
|
+
flexShrink: 0,
|
|
35687
|
+
display: 'flex',
|
|
35688
|
+
flexDirection: 'row',
|
|
35686
35689
|
borderLeft: props.divider === undefined
|
|
35687
35690
|
? theme.shape.borderRadius === 0
|
|
35688
35691
|
? "1px solid " + common.brand.utility.border
|
|
@@ -35691,17 +35694,28 @@ var useStyles$a = makeStyles(function (theme) {
|
|
|
35691
35694
|
? "1px solid " + common.brand.utility.border
|
|
35692
35695
|
: 'none',
|
|
35693
35696
|
}); },
|
|
35697
|
+
toolbarContainer: function (props) { return ({
|
|
35698
|
+
paddingRight: '16px',
|
|
35699
|
+
display: 'grid',
|
|
35700
|
+
}); },
|
|
35701
|
+
toolbarWrap: function (props) { return ({
|
|
35702
|
+
width: '100%',
|
|
35703
|
+
overflow: 'hidden',
|
|
35704
|
+
display: "flex",
|
|
35705
|
+
justifyContent: "space-between",
|
|
35706
|
+
alignItems: "flex-end",
|
|
35707
|
+
}); },
|
|
35694
35708
|
});
|
|
35695
35709
|
});
|
|
35696
35710
|
var HeaderToolbar = function (_a) {
|
|
35697
35711
|
var _b;
|
|
35698
|
-
var title = _a.title, titleVisibility = _a.titleVisibility, left = _a.left, right = _a.right, bgColor = _a.bgColor, bgImageURL = _a.bgImageURL, _c = _a.bgPosition, bgPosition = _c === void 0 ? 'center' : _c, bgSize = _a.bgSize, divider = _a.divider; __rest(_a, ["title", "titleVisibility", "left", "right", "bgColor", "bgImageURL", "bgPosition", "bgSize", "divider"]);
|
|
35699
|
-
var classes = useStyles$a({ bgColor: bgColor, bgImageURL: bgImageURL, bgPosition: bgPosition, bgSize: bgSize, titleVisibility: titleVisibility, divider: divider });
|
|
35712
|
+
var title = _a.title, titleVisibility = _a.titleVisibility, left = _a.left, right = _a.right, bgColor = _a.bgColor, bgImageURL = _a.bgImageURL, _c = _a.bgPosition, bgPosition = _c === void 0 ? 'center' : _c, bgSize = _a.bgSize, divider = _a.divider, tooltip = _a.tooltip; __rest(_a, ["title", "titleVisibility", "left", "right", "bgColor", "bgImageURL", "bgPosition", "bgSize", "divider", "tooltip"]);
|
|
35713
|
+
var classes = useStyles$a({ bgColor: bgColor, bgImageURL: bgImageURL, right: right, bgPosition: bgPosition, bgSize: bgSize, titleVisibility: titleVisibility, divider: divider });
|
|
35700
35714
|
return (React__default.createElement(Toolbar$2, { className: clsx('gds-header-toolbar', classes.bgWrapper, (_b = {}, _b['with-title'] = titleVisibility, _b)) },
|
|
35701
|
-
React__default.createElement(Box$2, {
|
|
35702
|
-
React__default.createElement(Box$2, {
|
|
35703
|
-
title && (React__default.createElement(
|
|
35704
|
-
React__default.createElement(Typography, { variant: "h1", color: "primary" }, title))),
|
|
35715
|
+
React__default.createElement(Box$2, { className: clsx(classes.toolbarWrap) },
|
|
35716
|
+
React__default.createElement(Box$2, { className: clsx(classes.toolbarContainer) },
|
|
35717
|
+
title && (tooltip ? (React__default.createElement(Tooltip, { title: title, placement: "bottom-start" },
|
|
35718
|
+
React__default.createElement(Typography, { gutterBottom: true, variant: "h1", noWrap: true, color: "primary" }, title))) : (React__default.createElement(Typography, { gutterBottom: true, variant: "h1", noWrap: true, color: "primary" }, title))),
|
|
35705
35719
|
left),
|
|
35706
35720
|
right && (React__default.createElement(Box$2, { className: clsx("gds-buttons-w-divider", classes.containerDivider) }, right)))));
|
|
35707
35721
|
};
|
|
@@ -35913,7 +35927,7 @@ var Tag = React__default.forwardRef(function (props, ref) {
|
|
|
35913
35927
|
});
|
|
35914
35928
|
|
|
35915
35929
|
function LeapLogo(props) {
|
|
35916
|
-
return (React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.
|
|
35930
|
+
return (React__default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: props.width, viewBox: "0 0 142 60" },
|
|
35917
35931
|
React__default.createElement("path", { fill: "#f69139", d: "M2,10.0002 L9.75846683,10.0002 L9.75846683,41.99924 L27.5974176,41.99924 L30.9207597,50 L2,50 L2,10.0002 Z M63.8025461,17.99876 L40.7008366,17.99876 L40.7008366,25.99352 L56.1077126,25.99352 L56.1077126,33.99628 L40.7008366,33.99628 L40.7008366,41.99904 L63.8025461,41.99904 L63.8025461,49.9998 L33,49.9998 L33,10 L63.8025461,10 L63.8025461,17.99876 Z M116.448143,33.99636 L116.30847,49.99988 L108.550003,49.99988 L108.550003,10.00008 L127.948171,10.00008 C135.935456,10.00008 139.972317,15.9915384 140.001958,22 C140.031507,27.9896489 136.07889,33.99636 128.087844,33.99636 L116.448143,33.99636 Z M98.2230148,49.99984 L94.9072768,41.99908 L76.7701697,41.99908 L73.4556323,49.99984 L65,49.99984 L81.5742879,10.00004 L81.6483267,10.00004 L90.0303204,10.00004 L90.1043592,10.00004 L106.679047,49.99984 L98.2230148,49.99984 Z M116.544807,26.0279999 L128.184508,25.9936 C133.919514,25.9936 133.72141,17.99884 128.044835,17.99884 L116.529999,17.99884 L116.544807,26.0279999 Z M80.0899963,33.99632 L91.5948269,33.99632 L85.8426117,20.1139894 L80.0899963,33.99632 Z" })));
|
|
35918
35932
|
}
|
|
35919
35933
|
|
|
@@ -48681,9 +48695,9 @@ var themeDesktop = createTheme({
|
|
|
48681
48695
|
},
|
|
48682
48696
|
},
|
|
48683
48697
|
adornedStart: {
|
|
48684
|
-
'
|
|
48698
|
+
'& svg:first-child': {
|
|
48685
48699
|
marginLeft: 3,
|
|
48686
|
-
}
|
|
48700
|
+
}
|
|
48687
48701
|
},
|
|
48688
48702
|
input: {
|
|
48689
48703
|
fontSize: '0.875rem',
|