@galaxy-ds/core 1.1.52 → 1.1.56
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/Themes/Core/common.d.ts +2 -0
- package/dist/index.esm.js +65 -29
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +65 -29
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export declare const grey: {
|
|
|
17
17
|
50: string;
|
|
18
18
|
};
|
|
19
19
|
export declare const blue: {
|
|
20
|
+
200: string;
|
|
20
21
|
100: string;
|
|
21
22
|
50: string;
|
|
22
23
|
};
|
|
@@ -141,6 +142,7 @@ export declare const brand: {
|
|
|
141
142
|
};
|
|
142
143
|
declare const common: {
|
|
143
144
|
blue: {
|
|
145
|
+
200: string;
|
|
144
146
|
100: string;
|
|
145
147
|
50: string;
|
|
146
148
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -33023,6 +33023,7 @@ var grey$2 = {
|
|
|
33023
33023
|
50: '#FFFFFF'
|
|
33024
33024
|
};
|
|
33025
33025
|
var blue = {
|
|
33026
|
+
200: '#ebf1f4',
|
|
33026
33027
|
100: "#C2D8E7",
|
|
33027
33028
|
50: "#E0ECF5"
|
|
33028
33029
|
};
|
|
@@ -35682,6 +35683,8 @@ var useStyles$a = makeStyles(function (theme) {
|
|
|
35682
35683
|
: 'none',
|
|
35683
35684
|
}); },
|
|
35684
35685
|
containerDivider: function (props) { return ({
|
|
35686
|
+
display: 'flex',
|
|
35687
|
+
marginLeft: 'auto',
|
|
35685
35688
|
borderLeft: props.divider === undefined
|
|
35686
35689
|
? theme.shape.borderRadius === 0
|
|
35687
35690
|
? "1px solid " + common.brand.utility.border
|
|
@@ -35697,10 +35700,10 @@ var HeaderToolbar = function (_a) {
|
|
|
35697
35700
|
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"]);
|
|
35698
35701
|
var classes = useStyles$a({ bgColor: bgColor, bgImageURL: bgImageURL, bgPosition: bgPosition, bgSize: bgSize, titleVisibility: titleVisibility, divider: divider });
|
|
35699
35702
|
return (React__default.createElement(Toolbar$2, { className: clsx('gds-header-toolbar', classes.bgWrapper, (_b = {}, _b['with-title'] = titleVisibility, _b)) },
|
|
35700
|
-
React__default.createElement(Box$2, { display: "flex", justifyContent: "space-between", alignItems: "flex-end", style: { width: '100%' } },
|
|
35701
|
-
React__default.createElement(Box$2, { display: "flex", flexDirection: "column", justifyContent: "stretch" },
|
|
35703
|
+
React__default.createElement(Box$2, { display: "flex", justifyContent: "space-between", alignItems: "flex-end", style: { width: '100%', overflow: 'hidden' } },
|
|
35704
|
+
React__default.createElement(Box$2, { style: { flex: '1', maxWidth: right ? '70%' : '90%', paddingRight: '16px' }, display: "flex", flexDirection: "column", justifyContent: "stretch" },
|
|
35702
35705
|
title && (React__default.createElement(Box$2, { className: clsx("gds-header-toolbar-title", classes.titleVis), mb: 3 },
|
|
35703
|
-
React__default.createElement(Typography, { variant: "h1", color: "primary" }, title))),
|
|
35706
|
+
React__default.createElement(Typography, { variant: "h1", noWrap: true, color: "primary" }, title))),
|
|
35704
35707
|
left),
|
|
35705
35708
|
right && (React__default.createElement(Box$2, { className: clsx("gds-buttons-w-divider", classes.containerDivider) }, right)))));
|
|
35706
35709
|
};
|
|
@@ -36091,9 +36094,9 @@ var TableCell = function (props) {
|
|
|
36091
36094
|
return (React__default.createElement(MuiTableCell, __assign$1({}, rest, { className: clsx(variantProp) })));
|
|
36092
36095
|
};
|
|
36093
36096
|
|
|
36094
|
-
var TableRow = function (props) {
|
|
36095
|
-
return
|
|
36096
|
-
};
|
|
36097
|
+
var TableRow = React__default.forwardRef(function (props, ref) {
|
|
36098
|
+
return React__default.createElement(MuiTableRow, __assign$1({}, props, { ref: ref }));
|
|
36099
|
+
});
|
|
36097
36100
|
|
|
36098
36101
|
var TableFooter = function (props) {
|
|
36099
36102
|
var children = props.children, rest = __rest(props, ["children"]);
|
|
@@ -46978,21 +46981,23 @@ var themeWeb = createTheme({
|
|
|
46978
46981
|
top: 'unset',
|
|
46979
46982
|
left: 'unset',
|
|
46980
46983
|
},
|
|
46981
|
-
'& input
|
|
46982
|
-
borderColor: pallettes$1.brand.primary.main,
|
|
46983
|
-
boxShadow: "0 0 0 0.2rem " + pallettes$1.brand.primary.transparent,
|
|
46984
|
-
},
|
|
46985
|
-
'&$checked input': {
|
|
46986
|
-
backgroundColor: '#fef7f0',
|
|
46987
|
-
},
|
|
46988
|
-
'&$checked input::after': {
|
|
46984
|
+
'& input::after': {
|
|
46989
46985
|
content: '""',
|
|
46990
|
-
display: '
|
|
46986
|
+
display: 'none',
|
|
46991
46987
|
position: 'absolute',
|
|
46992
46988
|
top: -1,
|
|
46993
46989
|
left: -1,
|
|
46994
46990
|
width: 16,
|
|
46995
46991
|
height: 16,
|
|
46992
|
+
backgroundColor: '#fef7f0',
|
|
46993
|
+
border: "1px solid " + pallettes$1.brand.utility.border,
|
|
46994
|
+
},
|
|
46995
|
+
'& input:focus': {
|
|
46996
|
+
borderColor: pallettes$1.brand.primary.main,
|
|
46997
|
+
boxShadow: "0 0 0 0.2rem " + pallettes$1.brand.primary.transparent,
|
|
46998
|
+
},
|
|
46999
|
+
'&$checked input::after': {
|
|
47000
|
+
display: 'block',
|
|
46996
47001
|
backgroundImage: "url(\"data:image/svg+xml;chatset=uft8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolygon fill='%231C365F' points='4 6 7 9 12 4 12 7 7 12 4 9'%3E%3C/polygon%3E%3C/svg%3E\")",
|
|
46997
47002
|
},
|
|
46998
47003
|
'&$disabled': {
|
|
@@ -47002,6 +47007,12 @@ var themeWeb = createTheme({
|
|
|
47002
47007
|
marginLeft: 8,
|
|
47003
47008
|
},
|
|
47004
47009
|
},
|
|
47010
|
+
indeterminate: {
|
|
47011
|
+
'& input::after': {
|
|
47012
|
+
display: 'block',
|
|
47013
|
+
backgroundImage: "url(\"data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect fill='%231C365F' x='3' y='7' width='10' height='2'/%3E%3C/svg%3E\")",
|
|
47014
|
+
},
|
|
47015
|
+
},
|
|
47005
47016
|
},
|
|
47006
47017
|
MuiChip: {
|
|
47007
47018
|
root: {
|
|
@@ -47798,6 +47809,22 @@ var themeWeb = createTheme({
|
|
|
47798
47809
|
},
|
|
47799
47810
|
},
|
|
47800
47811
|
},
|
|
47812
|
+
MuiTableRow: {
|
|
47813
|
+
root: {
|
|
47814
|
+
'&.MuiTableRow-hover': {
|
|
47815
|
+
backgroundColor: 'transparent',
|
|
47816
|
+
'&:hover': {
|
|
47817
|
+
backgroundColor: '#f3f3f3',
|
|
47818
|
+
},
|
|
47819
|
+
},
|
|
47820
|
+
'&.Mui-selected': {
|
|
47821
|
+
backgroundColor: common.blue[200],
|
|
47822
|
+
'&:hover': {
|
|
47823
|
+
backgroundColor: common.blue[200],
|
|
47824
|
+
},
|
|
47825
|
+
},
|
|
47826
|
+
},
|
|
47827
|
+
},
|
|
47801
47828
|
MuiToolbar: {
|
|
47802
47829
|
root: {
|
|
47803
47830
|
'&.gds-header-toolbar': {
|
|
@@ -47813,7 +47840,7 @@ var themeWeb = createTheme({
|
|
|
47813
47840
|
},
|
|
47814
47841
|
'&.with-title': {
|
|
47815
47842
|
padding: 16,
|
|
47816
|
-
}
|
|
47843
|
+
},
|
|
47817
47844
|
},
|
|
47818
47845
|
},
|
|
47819
47846
|
},
|
|
@@ -47982,7 +48009,7 @@ var themeDesktop = createTheme({
|
|
|
47982
48009
|
},
|
|
47983
48010
|
'&$expanded': {
|
|
47984
48011
|
margin: 0,
|
|
47985
|
-
}
|
|
48012
|
+
},
|
|
47986
48013
|
},
|
|
47987
48014
|
},
|
|
47988
48015
|
MuiAccordionSummary: {
|
|
@@ -48532,14 +48559,17 @@ var themeDesktop = createTheme({
|
|
|
48532
48559
|
'&:hover input': {
|
|
48533
48560
|
borderColor: pallettes.brand.primary.light,
|
|
48534
48561
|
},
|
|
48535
|
-
'
|
|
48562
|
+
'& input::after': {
|
|
48536
48563
|
content: '""',
|
|
48537
|
-
display: '
|
|
48564
|
+
display: 'none',
|
|
48538
48565
|
position: 'absolute',
|
|
48539
48566
|
top: -1,
|
|
48540
48567
|
left: -1,
|
|
48541
48568
|
width: 13,
|
|
48542
48569
|
height: 13,
|
|
48570
|
+
},
|
|
48571
|
+
'&$checked input::after': {
|
|
48572
|
+
display: 'block',
|
|
48543
48573
|
backgroundImage: "url(\"data:image/svg+xml,%3Csvg viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.47177 9.17886L11.323 3.38169L10.677 2.6183L4.52824 7.82113L2.35356 5.64644L1.64645 6.35355L4.47177 9.17886Z' fill='currentColor'/%3E%3C/svg%3E\")",
|
|
48544
48574
|
},
|
|
48545
48575
|
'&$checked:hover input': {
|
|
@@ -48556,6 +48586,12 @@ var themeDesktop = createTheme({
|
|
|
48556
48586
|
marginLeft: 10,
|
|
48557
48587
|
},
|
|
48558
48588
|
},
|
|
48589
|
+
indeterminate: {
|
|
48590
|
+
'& input::after': {
|
|
48591
|
+
display: 'block',
|
|
48592
|
+
backgroundImage: "url(\"data:image/svg+xml,%3Csvg width='13' height='13' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='6' width='7' height='1' fill='currentColor'/%3E%3C/svg%3E%0A\")",
|
|
48593
|
+
},
|
|
48594
|
+
},
|
|
48559
48595
|
},
|
|
48560
48596
|
MuiFormControlLabel: {
|
|
48561
48597
|
root: {
|
|
@@ -48987,22 +49023,22 @@ var themeDesktop = createTheme({
|
|
|
48987
49023
|
},
|
|
48988
49024
|
MuiTableRow: {
|
|
48989
49025
|
root: {
|
|
48990
|
-
|
|
48991
|
-
backgroundColor:
|
|
48992
|
-
|
|
48993
|
-
backgroundColor:
|
|
48994
|
-
}
|
|
49026
|
+
'&.MuiTableRow-hover': {
|
|
49027
|
+
backgroundColor: 'transparent',
|
|
49028
|
+
'&:hover': {
|
|
49029
|
+
backgroundColor: '#f3f3f3',
|
|
49030
|
+
},
|
|
48995
49031
|
},
|
|
48996
|
-
|
|
49032
|
+
'&.Mui-selected': {
|
|
48997
49033
|
backgroundColor: common.blue[50],
|
|
48998
|
-
|
|
49034
|
+
'&:hover': {
|
|
48999
49035
|
backgroundColor: common.blue[50],
|
|
49000
|
-
}
|
|
49001
|
-
}
|
|
49036
|
+
},
|
|
49037
|
+
},
|
|
49002
49038
|
},
|
|
49003
49039
|
footer: {
|
|
49004
49040
|
borderBottom: 'none',
|
|
49005
|
-
}
|
|
49041
|
+
},
|
|
49006
49042
|
},
|
|
49007
49043
|
MuiToolbar: {
|
|
49008
49044
|
root: {
|