@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
package/dist/index.js
CHANGED
|
@@ -33050,6 +33050,7 @@ var grey$2 = {
|
|
|
33050
33050
|
50: '#FFFFFF'
|
|
33051
33051
|
};
|
|
33052
33052
|
var blue = {
|
|
33053
|
+
200: '#ebf1f4',
|
|
33053
33054
|
100: "#C2D8E7",
|
|
33054
33055
|
50: "#E0ECF5"
|
|
33055
33056
|
};
|
|
@@ -35709,6 +35710,8 @@ var useStyles$a = makeStyles(function (theme) {
|
|
|
35709
35710
|
: 'none',
|
|
35710
35711
|
}); },
|
|
35711
35712
|
containerDivider: function (props) { return ({
|
|
35713
|
+
display: 'flex',
|
|
35714
|
+
marginLeft: 'auto',
|
|
35712
35715
|
borderLeft: props.divider === undefined
|
|
35713
35716
|
? theme.shape.borderRadius === 0
|
|
35714
35717
|
? "1px solid " + common.brand.utility.border
|
|
@@ -35724,10 +35727,10 @@ var HeaderToolbar = function (_a) {
|
|
|
35724
35727
|
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"]);
|
|
35725
35728
|
var classes = useStyles$a({ bgColor: bgColor, bgImageURL: bgImageURL, bgPosition: bgPosition, bgSize: bgSize, titleVisibility: titleVisibility, divider: divider });
|
|
35726
35729
|
return (React__default["default"].createElement(Toolbar$2, { className: clsx('gds-header-toolbar', classes.bgWrapper, (_b = {}, _b['with-title'] = titleVisibility, _b)) },
|
|
35727
|
-
React__default["default"].createElement(Box$2, { display: "flex", justifyContent: "space-between", alignItems: "flex-end", style: { width: '100%' } },
|
|
35728
|
-
React__default["default"].createElement(Box$2, { display: "flex", flexDirection: "column", justifyContent: "stretch" },
|
|
35730
|
+
React__default["default"].createElement(Box$2, { display: "flex", justifyContent: "space-between", alignItems: "flex-end", style: { width: '100%', overflow: 'hidden' } },
|
|
35731
|
+
React__default["default"].createElement(Box$2, { style: { flex: '1', maxWidth: right ? '70%' : '90%', paddingRight: '16px' }, display: "flex", flexDirection: "column", justifyContent: "stretch" },
|
|
35729
35732
|
title && (React__default["default"].createElement(Box$2, { className: clsx("gds-header-toolbar-title", classes.titleVis), mb: 3 },
|
|
35730
|
-
React__default["default"].createElement(Typography, { variant: "h1", color: "primary" }, title))),
|
|
35733
|
+
React__default["default"].createElement(Typography, { variant: "h1", noWrap: true, color: "primary" }, title))),
|
|
35731
35734
|
left),
|
|
35732
35735
|
right && (React__default["default"].createElement(Box$2, { className: clsx("gds-buttons-w-divider", classes.containerDivider) }, right)))));
|
|
35733
35736
|
};
|
|
@@ -36118,9 +36121,9 @@ var TableCell = function (props) {
|
|
|
36118
36121
|
return (React__default["default"].createElement(MuiTableCell, __assign$1({}, rest, { className: clsx(variantProp) })));
|
|
36119
36122
|
};
|
|
36120
36123
|
|
|
36121
|
-
var TableRow = function (props) {
|
|
36122
|
-
return
|
|
36123
|
-
};
|
|
36124
|
+
var TableRow = React__default["default"].forwardRef(function (props, ref) {
|
|
36125
|
+
return React__default["default"].createElement(MuiTableRow, __assign$1({}, props, { ref: ref }));
|
|
36126
|
+
});
|
|
36124
36127
|
|
|
36125
36128
|
var TableFooter = function (props) {
|
|
36126
36129
|
var children = props.children, rest = __rest(props, ["children"]);
|
|
@@ -47005,21 +47008,23 @@ var themeWeb = createTheme({
|
|
|
47005
47008
|
top: 'unset',
|
|
47006
47009
|
left: 'unset',
|
|
47007
47010
|
},
|
|
47008
|
-
'& input
|
|
47009
|
-
borderColor: pallettes$1.brand.primary.main,
|
|
47010
|
-
boxShadow: "0 0 0 0.2rem " + pallettes$1.brand.primary.transparent,
|
|
47011
|
-
},
|
|
47012
|
-
'&$checked input': {
|
|
47013
|
-
backgroundColor: '#fef7f0',
|
|
47014
|
-
},
|
|
47015
|
-
'&$checked input::after': {
|
|
47011
|
+
'& input::after': {
|
|
47016
47012
|
content: '""',
|
|
47017
|
-
display: '
|
|
47013
|
+
display: 'none',
|
|
47018
47014
|
position: 'absolute',
|
|
47019
47015
|
top: -1,
|
|
47020
47016
|
left: -1,
|
|
47021
47017
|
width: 16,
|
|
47022
47018
|
height: 16,
|
|
47019
|
+
backgroundColor: '#fef7f0',
|
|
47020
|
+
border: "1px solid " + pallettes$1.brand.utility.border,
|
|
47021
|
+
},
|
|
47022
|
+
'& input:focus': {
|
|
47023
|
+
borderColor: pallettes$1.brand.primary.main,
|
|
47024
|
+
boxShadow: "0 0 0 0.2rem " + pallettes$1.brand.primary.transparent,
|
|
47025
|
+
},
|
|
47026
|
+
'&$checked input::after': {
|
|
47027
|
+
display: 'block',
|
|
47023
47028
|
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\")",
|
|
47024
47029
|
},
|
|
47025
47030
|
'&$disabled': {
|
|
@@ -47029,6 +47034,12 @@ var themeWeb = createTheme({
|
|
|
47029
47034
|
marginLeft: 8,
|
|
47030
47035
|
},
|
|
47031
47036
|
},
|
|
47037
|
+
indeterminate: {
|
|
47038
|
+
'& input::after': {
|
|
47039
|
+
display: 'block',
|
|
47040
|
+
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\")",
|
|
47041
|
+
},
|
|
47042
|
+
},
|
|
47032
47043
|
},
|
|
47033
47044
|
MuiChip: {
|
|
47034
47045
|
root: {
|
|
@@ -47825,6 +47836,22 @@ var themeWeb = createTheme({
|
|
|
47825
47836
|
},
|
|
47826
47837
|
},
|
|
47827
47838
|
},
|
|
47839
|
+
MuiTableRow: {
|
|
47840
|
+
root: {
|
|
47841
|
+
'&.MuiTableRow-hover': {
|
|
47842
|
+
backgroundColor: 'transparent',
|
|
47843
|
+
'&:hover': {
|
|
47844
|
+
backgroundColor: '#f3f3f3',
|
|
47845
|
+
},
|
|
47846
|
+
},
|
|
47847
|
+
'&.Mui-selected': {
|
|
47848
|
+
backgroundColor: common.blue[200],
|
|
47849
|
+
'&:hover': {
|
|
47850
|
+
backgroundColor: common.blue[200],
|
|
47851
|
+
},
|
|
47852
|
+
},
|
|
47853
|
+
},
|
|
47854
|
+
},
|
|
47828
47855
|
MuiToolbar: {
|
|
47829
47856
|
root: {
|
|
47830
47857
|
'&.gds-header-toolbar': {
|
|
@@ -47840,7 +47867,7 @@ var themeWeb = createTheme({
|
|
|
47840
47867
|
},
|
|
47841
47868
|
'&.with-title': {
|
|
47842
47869
|
padding: 16,
|
|
47843
|
-
}
|
|
47870
|
+
},
|
|
47844
47871
|
},
|
|
47845
47872
|
},
|
|
47846
47873
|
},
|
|
@@ -48009,7 +48036,7 @@ var themeDesktop = createTheme({
|
|
|
48009
48036
|
},
|
|
48010
48037
|
'&$expanded': {
|
|
48011
48038
|
margin: 0,
|
|
48012
|
-
}
|
|
48039
|
+
},
|
|
48013
48040
|
},
|
|
48014
48041
|
},
|
|
48015
48042
|
MuiAccordionSummary: {
|
|
@@ -48559,14 +48586,17 @@ var themeDesktop = createTheme({
|
|
|
48559
48586
|
'&:hover input': {
|
|
48560
48587
|
borderColor: pallettes.brand.primary.light,
|
|
48561
48588
|
},
|
|
48562
|
-
'
|
|
48589
|
+
'& input::after': {
|
|
48563
48590
|
content: '""',
|
|
48564
|
-
display: '
|
|
48591
|
+
display: 'none',
|
|
48565
48592
|
position: 'absolute',
|
|
48566
48593
|
top: -1,
|
|
48567
48594
|
left: -1,
|
|
48568
48595
|
width: 13,
|
|
48569
48596
|
height: 13,
|
|
48597
|
+
},
|
|
48598
|
+
'&$checked input::after': {
|
|
48599
|
+
display: 'block',
|
|
48570
48600
|
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\")",
|
|
48571
48601
|
},
|
|
48572
48602
|
'&$checked:hover input': {
|
|
@@ -48583,6 +48613,12 @@ var themeDesktop = createTheme({
|
|
|
48583
48613
|
marginLeft: 10,
|
|
48584
48614
|
},
|
|
48585
48615
|
},
|
|
48616
|
+
indeterminate: {
|
|
48617
|
+
'& input::after': {
|
|
48618
|
+
display: 'block',
|
|
48619
|
+
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\")",
|
|
48620
|
+
},
|
|
48621
|
+
},
|
|
48586
48622
|
},
|
|
48587
48623
|
MuiFormControlLabel: {
|
|
48588
48624
|
root: {
|
|
@@ -49014,22 +49050,22 @@ var themeDesktop = createTheme({
|
|
|
49014
49050
|
},
|
|
49015
49051
|
MuiTableRow: {
|
|
49016
49052
|
root: {
|
|
49017
|
-
|
|
49018
|
-
backgroundColor:
|
|
49019
|
-
|
|
49020
|
-
backgroundColor:
|
|
49021
|
-
}
|
|
49053
|
+
'&.MuiTableRow-hover': {
|
|
49054
|
+
backgroundColor: 'transparent',
|
|
49055
|
+
'&:hover': {
|
|
49056
|
+
backgroundColor: '#f3f3f3',
|
|
49057
|
+
},
|
|
49022
49058
|
},
|
|
49023
|
-
|
|
49059
|
+
'&.Mui-selected': {
|
|
49024
49060
|
backgroundColor: common.blue[50],
|
|
49025
|
-
|
|
49061
|
+
'&:hover': {
|
|
49026
49062
|
backgroundColor: common.blue[50],
|
|
49027
|
-
}
|
|
49028
|
-
}
|
|
49063
|
+
},
|
|
49064
|
+
},
|
|
49029
49065
|
},
|
|
49030
49066
|
footer: {
|
|
49031
49067
|
borderBottom: 'none',
|
|
49032
|
-
}
|
|
49068
|
+
},
|
|
49033
49069
|
},
|
|
49034
49070
|
MuiToolbar: {
|
|
49035
49071
|
root: {
|