@galaxy-ds/core 1.1.73 → 1.1.75
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/FormHeader/FormHeader.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +81 -68
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +81 -67
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/Icons/Reciept.d.ts +0 -3
package/dist/index.js
CHANGED
|
@@ -34261,82 +34261,90 @@ function LawconnectIcon(props) {
|
|
|
34261
34261
|
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.163 119.104a69.739 69.739 0 0049.313 20.426h.133a69.68 69.68 0 0064.35-43.067 69.663 69.663 0 005.281-26.673h-33.528v.042a36.23 36.23 0 01-22.382 33.464 36.236 36.236 0 11-13.853-69.718V.05a69.74 69.74 0 00-49.314 119.054zm119.049-95.585c0 12.962-10.507 23.47-23.469 23.47-12.962 0-23.47-10.508-23.47-23.47S103.782.049 116.744.049s23.469 10.508 23.469 23.47z", fill: "#ecedef" })));
|
|
34262
34262
|
}
|
|
34263
34263
|
|
|
34264
|
-
var useStyles$m = makeStyles({
|
|
34265
|
-
|
|
34266
|
-
|
|
34267
|
-
|
|
34268
|
-
|
|
34269
|
-
|
|
34270
|
-
|
|
34271
|
-
|
|
34272
|
-
|
|
34273
|
-
|
|
34274
|
-
|
|
34275
|
-
|
|
34276
|
-
|
|
34277
|
-
|
|
34278
|
-
|
|
34279
|
-
|
|
34280
|
-
|
|
34281
|
-
|
|
34282
|
-
|
|
34283
|
-
|
|
34284
|
-
|
|
34285
|
-
|
|
34286
|
-
|
|
34287
|
-
|
|
34288
|
-
|
|
34289
|
-
|
|
34290
|
-
|
|
34291
|
-
|
|
34292
|
-
|
|
34293
|
-
|
|
34294
|
-
|
|
34295
|
-
|
|
34296
|
-
|
|
34297
|
-
|
|
34298
|
-
|
|
34299
|
-
height: 16,
|
|
34300
|
-
},
|
|
34301
|
-
"& .gds-header_info": {
|
|
34302
|
-
paddingTop: 0,
|
|
34303
|
-
paddingBottom: 0,
|
|
34304
|
-
flexWrap: 'nowrap',
|
|
34305
|
-
"& p": {
|
|
34306
|
-
fontWeight: 500,
|
|
34307
|
-
color: "#6d7278",
|
|
34308
|
-
whiteSpace: 'nowrap'
|
|
34264
|
+
var useStyles$m = makeStyles(function (theme) {
|
|
34265
|
+
var _a;
|
|
34266
|
+
return ({
|
|
34267
|
+
root: {
|
|
34268
|
+
'&.gds-header': {
|
|
34269
|
+
overflow: 'hidden',
|
|
34270
|
+
backgroundColor: '#F9F9F9',
|
|
34271
|
+
position: 'relative',
|
|
34272
|
+
padding: 16,
|
|
34273
|
+
minHeight: 81,
|
|
34274
|
+
display: 'flex',
|
|
34275
|
+
flexDirection: 'column',
|
|
34276
|
+
},
|
|
34277
|
+
'& .gds-header_detail': {
|
|
34278
|
+
display: 'flex',
|
|
34279
|
+
alignItems: 'center',
|
|
34280
|
+
zIndex: 9,
|
|
34281
|
+
position: 'relative',
|
|
34282
|
+
minHeight: 21,
|
|
34283
|
+
'& button': {
|
|
34284
|
+
fontSize: 12,
|
|
34285
|
+
},
|
|
34286
|
+
},
|
|
34287
|
+
'& .gds-header_accent': {
|
|
34288
|
+
position: 'absolute',
|
|
34289
|
+
top: -78,
|
|
34290
|
+
right: 32,
|
|
34291
|
+
zIndex: 1,
|
|
34292
|
+
opacity: '0.7',
|
|
34293
|
+
},
|
|
34294
|
+
'& .gds-header_content': {
|
|
34295
|
+
maxHeight: 77,
|
|
34296
|
+
overflowY: 'auto',
|
|
34297
|
+
zIndex: 9,
|
|
34298
|
+
marginTop: 10,
|
|
34309
34299
|
},
|
|
34310
|
-
|
|
34300
|
+
'& .gds-header_divider': {
|
|
34301
|
+
height: 16,
|
|
34302
|
+
},
|
|
34303
|
+
'& .gds-header_info': (_a = {
|
|
34304
|
+
paddingTop: 0,
|
|
34305
|
+
paddingBottom: 0
|
|
34306
|
+
},
|
|
34307
|
+
_a[theme.breakpoints.down('sm')] = {
|
|
34308
|
+
justifyContent: 'flex-start',
|
|
34309
|
+
},
|
|
34310
|
+
_a[theme.breakpoints.up('sm')] = {
|
|
34311
|
+
justifyContent: 'flex-end',
|
|
34312
|
+
},
|
|
34313
|
+
_a['& p'] = {
|
|
34314
|
+
fontWeight: 500,
|
|
34315
|
+
color: '#6d7278',
|
|
34316
|
+
whiteSpace: 'nowrap',
|
|
34317
|
+
},
|
|
34318
|
+
_a['& .MuiButton-label'] = {
|
|
34319
|
+
top: 0,
|
|
34320
|
+
},
|
|
34321
|
+
_a['& .MuiButtonBase-root'] = {
|
|
34322
|
+
paddingTop: 0,
|
|
34323
|
+
paddingBottom: 0,
|
|
34324
|
+
height: 21,
|
|
34325
|
+
},
|
|
34326
|
+
_a),
|
|
34327
|
+
'&.gds-header-fixed': {
|
|
34328
|
+
position: 'absolute',
|
|
34311
34329
|
top: 0,
|
|
34330
|
+
left: 0,
|
|
34331
|
+
right: 0,
|
|
34332
|
+
width: '100%',
|
|
34312
34333
|
},
|
|
34313
|
-
"& .MuiButtonBase-root": {
|
|
34314
|
-
paddingTop: 0,
|
|
34315
|
-
paddingBottom: 0,
|
|
34316
|
-
height: 21
|
|
34317
|
-
}
|
|
34318
34334
|
},
|
|
34319
|
-
|
|
34320
|
-
position: 'absolute',
|
|
34321
|
-
top: 0,
|
|
34322
|
-
left: 0,
|
|
34323
|
-
right: 0,
|
|
34324
|
-
width: '100%'
|
|
34325
|
-
},
|
|
34326
|
-
},
|
|
34335
|
+
});
|
|
34327
34336
|
});
|
|
34328
34337
|
var FormHeader = React__default["default"].forwardRef(function (props, ref) {
|
|
34329
34338
|
var classes = useStyles$m();
|
|
34330
34339
|
return (React__default["default"].createElement(Box$2, { className: clsx(classes.root, 'gds-header', props.fixed ? 'gds-header-fixed' : '') },
|
|
34331
|
-
props.hideBranding ? "" :
|
|
34332
|
-
React__default["default"].createElement(
|
|
34333
|
-
|
|
34334
|
-
|
|
34335
|
-
React__default["default"].createElement(Grid$2, { item: true, xs:
|
|
34336
|
-
|
|
34337
|
-
React__default["default"].createElement(Grid$2, { container: true, alignItems: "center", justifyContent: "flex-end", className: clsx(classes.root, 'gds-header_info') },
|
|
34340
|
+
props.hideBranding ? ('') : (React__default["default"].createElement("div", { className: clsx(classes.root, 'gds-header_accent') },
|
|
34341
|
+
React__default["default"].createElement(LawconnectIcon, { size: "260" }))),
|
|
34342
|
+
React__default["default"].createElement(Grid$2, { container: true, className: clsx(classes.root, 'gds-header_detail') },
|
|
34343
|
+
React__default["default"].createElement(Grid$2, { item: true, xs: 12, sm: 5, className: clsx('gds-toolbar-title') }, props.platformWeb ? (React__default["default"].createElement(Typography, { color: "default", variant: "body2", upperCase: true }, props.title)) : (React__default["default"].createElement(Typography, { variant: "h4", upperCase: true }, props.title))),
|
|
34344
|
+
React__default["default"].createElement(Grid$2, { item: true, xs: 12, sm: 7 },
|
|
34345
|
+
React__default["default"].createElement(Grid$2, { container: true, className: clsx(classes.root, 'gds-header_info') },
|
|
34338
34346
|
props.from ? (React__default["default"].createElement(Typography, { align: "right", variant: "body2" }, props.from)) : null,
|
|
34339
|
-
props.from && props.onClick ? React__default["default"].createElement(Divider, { orientation: "vertical" }) : null,
|
|
34347
|
+
props.from && props.onClick ? (React__default["default"].createElement(Divider, { orientation: "vertical" })) : null,
|
|
34340
34348
|
props.onClick ? (React__default["default"].createElement(Button, { color: "primary", variant: "text", onClick: props.onClick }, "Change")) : null))),
|
|
34341
34349
|
React__default["default"].createElement("div", { className: clsx(classes.root, 'gds-header_content') }, props.children)));
|
|
34342
34350
|
});
|
|
@@ -46700,6 +46708,11 @@ function UsersIcon(props) {
|
|
|
46700
46708
|
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.832 8.5c.5 0 1.157.192 1.465 1.1.122.17.695 1.058.221 2.132.073.173.18.558-.038 1.013l-.02.04-.033.027c-.006.004-.656.528-.656 1.34 0 .648.166.747.531.962.092.054.19.113.297.185.103.07.244.138.395.208l.05.024c.606.28 1.434.664 1.453 1.78l.004.189H9.5v-.186c0-1.383 1.264-1.808 1.871-2.013l.07-.023c.54-.185.967-.33.967-1.126 0-.822-.648-1.335-.655-1.34l-.038-.04c-.012-.018-.296-.433-.05-1.041-.1-.262-.377-1.117-.072-1.895.189-.482.563-.84 1.111-1.065l.004-.002c.05-.026.557-.269 1.124-.269zm-3-2c.5 0 1.157.192 1.465 1.1.057.079.213.317.314.657a1.436 1.436 0 00-.096.051c-.67.275-1.147.73-1.388 1.345-.273.698-.21 1.43.01 2.085.019.058-.105.524-.031.847.027.117.065.224.11.32.032.064.062.115.09.154l.021.031.027.028.038.04.03.03.032.026.051.048c.057.057.115.125.17.201.147.21.233.442.233.689 0 .407-.054.457-.627.652l-.07.024c-.588.197-.934.351-1.31.643a3.27 3.27 0 00-.037.029H6.5v-.186c0-1.383 1.264-1.808 1.871-2.013l.07-.023c.54-.185.967-.33.967-1.126 0-.822-.648-1.335-.655-1.34l-.038-.04c-.012-.018-.296-.433-.05-1.041-.1-.262-.377-1.117-.072-1.895.189-.482.563-.84 1.111-1.065l.004-.002c.05-.026.557-.269 1.124-.269z", fill: "currentColor" })));
|
|
46701
46709
|
}
|
|
46702
46710
|
|
|
46711
|
+
function ReceiptIcon(props) {
|
|
46712
|
+
return (React__default["default"].createElement(SvgIcon$1, __assign$1({}, props, { viewBox: "0 0 20 20" }),
|
|
46713
|
+
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17 18.2004C17 18.642 16.6411 19 16.1986 19H7L3 15V1.80044C3 1.35837 3.36014 1 3.80044 1H16.1996C16.6416 1 17 1.35956 17 1.79959V18.2004ZM15 3V17H9V13H5V3H15ZM11 13H10V14H11V13ZM14 13H12V14H14V13ZM11 11H6V12H11V11ZM14 11H12V12H14V11ZM11 9H6V10H11V9ZM14 9H12V10H14V9ZM11 7H6V8H11V7ZM14 7H12V8H14V7ZM14 5H6V6H14V5Z", fill: "currentColor" })));
|
|
46714
|
+
}
|
|
46715
|
+
|
|
46703
46716
|
var useStyles = makeStyles(function (theme) { return ({
|
|
46704
46717
|
root: {
|
|
46705
46718
|
width: '100%',
|
|
@@ -49481,6 +49494,7 @@ exports.PoweredByLawconnectLogo = PoweredByLawconnectLogo;
|
|
|
49481
49494
|
exports.PreviewIcon = PreviewIcon;
|
|
49482
49495
|
exports.Radio = Radio;
|
|
49483
49496
|
exports.RadioGroup = RadioGroup;
|
|
49497
|
+
exports.ReceiptIcon = ReceiptIcon;
|
|
49484
49498
|
exports.ReportingIcon = ReportingIcon;
|
|
49485
49499
|
exports.ResponseIcon = ResponseIcon;
|
|
49486
49500
|
exports.RevokeAccessIcon = RevokeAccessIcon;
|