@galaxy-ds/core 1.1.24 → 1.1.28
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/Chip/Chip.types.d.ts +2 -0
- package/dist/HeaderToolbar/HeaderToolbar.d.ts +4 -0
- package/dist/HeaderToolbar/HeaderToolbarProps.types.d.ts +5 -0
- package/dist/Icons/NewAppointment.d.ts +2 -0
- package/dist/ToolbarButton/ToolbarButton.d.ts +4 -0
- package/dist/ToolbarButton/ToolbarButtonProps.types.d.ts +5 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.esm.js +88 -14
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +90 -13
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13435,7 +13435,7 @@ process.env.NODE_ENV !== "production" ? Button$1.propTypes = {
|
|
|
13435
13435
|
*/
|
|
13436
13436
|
variant: propTypes.oneOf(['contained', 'outlined', 'text'])
|
|
13437
13437
|
} : void 0;
|
|
13438
|
-
var
|
|
13438
|
+
var Button$2 = withStyles(styles$X, {
|
|
13439
13439
|
name: 'MuiButton'
|
|
13440
13440
|
})(Button$1);
|
|
13441
13441
|
|
|
@@ -33814,7 +33814,7 @@ var useStyles$p = makeStyles(function (theme) {
|
|
|
33814
33814
|
var Button = function (props) {
|
|
33815
33815
|
var classes = useStyles$p(props);
|
|
33816
33816
|
var isLoading = props.isLoading, isDanger = props.isDanger, defaultProps = __rest(props, ["isLoading", "isDanger"]);
|
|
33817
|
-
return (React__default['default'].createElement(
|
|
33817
|
+
return (React__default['default'].createElement(Button$2, __assign({ disableElevation: true, disableRipple: true }, defaultProps, { onClick: defaultProps.onClick, ref: defaultProps.refprop, className: clsx(classes.root, isDanger ? ' gds-button--danger' : '') }), !isLoading ? defaultProps.children : React__default['default'].createElement(CircularProgress$1, { size: 16, color: "inherit" })));
|
|
33818
33818
|
};
|
|
33819
33819
|
|
|
33820
33820
|
var Checkbox = function (_a) {
|
|
@@ -34473,6 +34473,14 @@ var TwoColumnLayout = function (_a) {
|
|
|
34473
34473
|
TwoColumnLayout.Left = Left$1;
|
|
34474
34474
|
TwoColumnLayout.Right = Right$1;
|
|
34475
34475
|
|
|
34476
|
+
var ToolbarButton = function (_a) {
|
|
34477
|
+
var label = _a.label, icon = _a.icon, props = __rest(_a, ["label", "icon"]);
|
|
34478
|
+
return (React__default['default'].createElement(Button$2, __assign({}, props, { variant: 'outlined', className: 'gds-toolbar-button' }),
|
|
34479
|
+
icon,
|
|
34480
|
+
" ",
|
|
34481
|
+
label));
|
|
34482
|
+
};
|
|
34483
|
+
|
|
34476
34484
|
// Generated with util/create-component.js
|
|
34477
34485
|
var List = function (props) {
|
|
34478
34486
|
return (React__default['default'].createElement(MuiList, { component: props.component || "nav", "aria-labelledby": "nested-list-subheader", subheader: React__default['default'].createElement(ListSubheader$2, { component: "div", id: "nested-list-subheader" }, props.subheader) }, props.children));
|
|
@@ -35394,6 +35402,17 @@ var Dialog = function (props) {
|
|
|
35394
35402
|
React__default['default'].createElement(DialogActions$1, null, children)))));
|
|
35395
35403
|
};
|
|
35396
35404
|
|
|
35405
|
+
var HeaderToolbar = function (_a) {
|
|
35406
|
+
var title = _a.title, left = _a.left, right = _a.right; __rest(_a, ["title", "left", "right"]);
|
|
35407
|
+
return (React__default['default'].createElement(Toolbar$2, { className: 'gds-header-toolbar' },
|
|
35408
|
+
React__default['default'].createElement(Box$2, { display: 'flex', justifyContent: 'space-between', style: { width: '100%' } },
|
|
35409
|
+
React__default['default'].createElement(Box$2, { display: 'flex', flexDirection: 'column', justifyContent: 'stretch' },
|
|
35410
|
+
title && React__default['default'].createElement(Box$2, { className: 'gds-header-toolbar-title', mb: 3 },
|
|
35411
|
+
React__default['default'].createElement(Typography, { variant: 'h1', color: 'primary' }, title)),
|
|
35412
|
+
left),
|
|
35413
|
+
React__default['default'].createElement(Box$2, { className: 'gds-buttons-w-divider', borderLeft: "1px solid " + common.brand.utility.border }, right))));
|
|
35414
|
+
};
|
|
35415
|
+
|
|
35397
35416
|
function LoaderIcon(props) {
|
|
35398
35417
|
return (React__default['default'].createElement(SvgIcon$1, __assign({}, props, { viewBox: "0 0 24 30" }),
|
|
35399
35418
|
React__default['default'].createElement("circle", { r: "3", transform: "translate(2 15)" },
|
|
@@ -45810,6 +45829,11 @@ var themeWeb = createTheme({
|
|
|
45810
45829
|
borderColor: pallettes$1.brand.contextual.danger.dark,
|
|
45811
45830
|
},
|
|
45812
45831
|
},
|
|
45832
|
+
'&.gds-toolbar-button': {
|
|
45833
|
+
'& .MuiSvgIcon-root': {
|
|
45834
|
+
display: 'none',
|
|
45835
|
+
},
|
|
45836
|
+
},
|
|
45813
45837
|
},
|
|
45814
45838
|
contained: {
|
|
45815
45839
|
backgroundColor: pallettes$1.brand.tertiary.main,
|
|
@@ -46249,14 +46273,14 @@ var themeWeb = createTheme({
|
|
|
46249
46273
|
MuiCard: {
|
|
46250
46274
|
root: {
|
|
46251
46275
|
borderRadius: 6,
|
|
46252
|
-
|
|
46276
|
+
border: "1px solid " + pallettes$1.brand.utility.border,
|
|
46253
46277
|
backgroundColor: '#F6F6F6',
|
|
46254
46278
|
transition: 'all 0.25s ease-in-out',
|
|
46255
46279
|
"&:hover": {
|
|
46256
|
-
|
|
46280
|
+
border: "1px solid " + pallettes$1.brand.primary.light,
|
|
46257
46281
|
},
|
|
46258
46282
|
'&.gds-card--active': {
|
|
46259
|
-
|
|
46283
|
+
border: "1px solid " + pallettes$1.brand.secondary.dark,
|
|
46260
46284
|
}
|
|
46261
46285
|
},
|
|
46262
46286
|
},
|
|
@@ -46751,6 +46775,25 @@ var themeWeb = createTheme({
|
|
|
46751
46775
|
},
|
|
46752
46776
|
},
|
|
46753
46777
|
},
|
|
46778
|
+
MuiToolbar: {
|
|
46779
|
+
root: {
|
|
46780
|
+
'&.gds-header-toolbar': {
|
|
46781
|
+
backgroundColor: '#ececec',
|
|
46782
|
+
minHeight: 50,
|
|
46783
|
+
paddingLeft: 16,
|
|
46784
|
+
paddingRight: 16,
|
|
46785
|
+
'& .gds-header-toolbar-title': {
|
|
46786
|
+
display: 'none'
|
|
46787
|
+
},
|
|
46788
|
+
'& .gds-buttons-w-divider': {
|
|
46789
|
+
borderLeft: 'none',
|
|
46790
|
+
},
|
|
46791
|
+
'& .MuiInputBase-root, & .MuiButtonBase-root': {
|
|
46792
|
+
maxHeight: 32,
|
|
46793
|
+
},
|
|
46794
|
+
},
|
|
46795
|
+
},
|
|
46796
|
+
},
|
|
46754
46797
|
MuiTooltip: {
|
|
46755
46798
|
tooltip: {
|
|
46756
46799
|
fontSize: typography$1.body2.fontSize,
|
|
@@ -46935,8 +46978,8 @@ var themeDesktop = createTheme({
|
|
|
46935
46978
|
},
|
|
46936
46979
|
MuiAccordionDetails: {
|
|
46937
46980
|
root: {
|
|
46938
|
-
padding: 0
|
|
46939
|
-
}
|
|
46981
|
+
padding: 0,
|
|
46982
|
+
},
|
|
46940
46983
|
},
|
|
46941
46984
|
MuiAppBar: {
|
|
46942
46985
|
root: {
|
|
@@ -47199,15 +47242,15 @@ var themeDesktop = createTheme({
|
|
|
47199
47242
|
},
|
|
47200
47243
|
MuiCard: {
|
|
47201
47244
|
root: {
|
|
47202
|
-
|
|
47245
|
+
border: "1px solid " + pallettes.brand.utility.border,
|
|
47203
47246
|
backgroundColor: '#F6F6F6',
|
|
47204
47247
|
transition: 'all 0.25s ease-in-out',
|
|
47205
|
-
|
|
47206
|
-
|
|
47248
|
+
'&:hover': {
|
|
47249
|
+
border: "1px solid " + pallettes.brand.primary.light,
|
|
47207
47250
|
},
|
|
47208
47251
|
'&.gds-card--active': {
|
|
47209
|
-
|
|
47210
|
-
}
|
|
47252
|
+
border: "1px solid " + pallettes.brand.secondary.dark,
|
|
47253
|
+
},
|
|
47211
47254
|
},
|
|
47212
47255
|
},
|
|
47213
47256
|
MuiFormGroup: {
|
|
@@ -47262,6 +47305,21 @@ var themeDesktop = createTheme({
|
|
|
47262
47305
|
borderColor: pallettes.brand.contextual.danger.dark,
|
|
47263
47306
|
},
|
|
47264
47307
|
},
|
|
47308
|
+
'&.gds-toolbar-button': {
|
|
47309
|
+
height: 'auto',
|
|
47310
|
+
maxWidth: 70,
|
|
47311
|
+
minWidth: 'unset',
|
|
47312
|
+
padding: 0,
|
|
47313
|
+
margin: '0 15px',
|
|
47314
|
+
border: 'none',
|
|
47315
|
+
backgroundColor: 'transparent',
|
|
47316
|
+
'& .MuiSvgIcon-root': {
|
|
47317
|
+
width: 32,
|
|
47318
|
+
height: 32,
|
|
47319
|
+
marginBottom: 6,
|
|
47320
|
+
},
|
|
47321
|
+
'& $label': __assign(__assign({ flexDirection: 'column', padding: '0 4px', whiteSpace: 'normal' }, typography.body2), { lineHeight: '1rem' }),
|
|
47322
|
+
},
|
|
47265
47323
|
},
|
|
47266
47324
|
contained: {
|
|
47267
47325
|
backgroundColor: pallettes.brand.tertiary.main,
|
|
@@ -47856,7 +47914,14 @@ var themeDesktop = createTheme({
|
|
|
47856
47914
|
borderBottom: 'none',
|
|
47857
47915
|
},
|
|
47858
47916
|
},
|
|
47859
|
-
MuiToolbar: {
|
|
47917
|
+
MuiToolbar: {
|
|
47918
|
+
root: {
|
|
47919
|
+
'&.gds-header-toolbar': {
|
|
47920
|
+
backgroundColor: common.grey[200],
|
|
47921
|
+
padding: 15,
|
|
47922
|
+
},
|
|
47923
|
+
},
|
|
47924
|
+
},
|
|
47860
47925
|
MuiGrid: {
|
|
47861
47926
|
root: {},
|
|
47862
47927
|
container: {
|
|
@@ -47943,6 +48008,15 @@ function MoreVerticalIcon(props) {
|
|
|
47943
48008
|
React__default['default'].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8 10.5C8.26314 10.5 8.49566 10.6008 8.69754 10.8025C8.89943 11.0041 9.00025 11.2366 9 11.5C8.99975 11.7634 8.89893 11.9959 8.69754 12.1975C8.49616 12.3992 8.26364 12.5 8 12.5C7.73636 12.5 7.50384 12.3992 7.30246 12.1975C7.10107 11.9959 7.00025 11.7634 7 11.5C6.99975 11.2366 7.10057 11.0041 7.30246 10.8025C7.50434 10.6008 7.73686 10.5 8 10.5ZM8 7C8.26314 7 8.49566 7.10082 8.69754 7.30246C8.89943 7.50409 9.00025 7.73661 9 8C8.99975 8.26339 8.89893 8.49591 8.69754 8.69754C8.49616 8.89918 8.26364 9 8 9C7.73636 9 7.50384 8.89918 7.30246 8.69754C7.10107 8.49591 7.00025 8.26339 7 8C6.99975 7.73661 7.10057 7.50409 7.30246 7.30246C7.50434 7.10082 7.73686 7 8 7ZM8 3.5C8.26314 3.5 8.49566 3.60082 8.69754 3.80246C8.89943 4.00409 9.00025 4.23661 9 4.5C8.99975 4.76339 8.89893 4.99591 8.69754 5.19754C8.49616 5.39918 8.26364 5.5 8 5.5C7.73636 5.5 7.50384 5.39918 7.30246 5.19754C7.10107 4.99591 7.00025 4.76339 7 4.5C6.99975 4.23661 7.10057 4.00409 7.30246 3.80246C7.50434 3.60082 7.73686 3.5 8 3.5Z" })));
|
|
47944
48009
|
}
|
|
47945
48010
|
|
|
48011
|
+
function NewAppointmentIcon(props) {
|
|
48012
|
+
return (React__default['default'].createElement(SvgIcon$1, __assign({ viewBox: "0 0 32 32" }, props),
|
|
48013
|
+
React__default['default'].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.0001 4C10.0001 3.72414 10.2242 3.5 10.5001 3.5C10.7759 3.5 11.0001 3.72414 11.0001 4V5.5V6C11.0001 6.27586 10.7759 6.5 10.5001 6.5C10.2242 6.5 10.0001 6.27586 10.0001 6V4ZM12.0001 5V4C12.0001 3.17186 11.3282 2.5 10.5001 2.5C9.67194 2.5 9.00008 3.17186 9.00008 4V5.02083H7.63653C5.63761 5.02083 4.021 6.64748 4.021 8.65V9.5V23.35C4.021 25.3525 5.63761 26.9792 7.63653 26.9792H16.5002C16.7648 26.9792 16.9793 26.7646 16.9793 26.5C16.9793 26.2354 16.7648 26.0208 16.5002 26.0208H7.63653C6.1708 26.0208 4.97933 24.8272 4.97933 23.35V9.97917H27.021V16.5C27.021 16.7646 27.2355 16.9792 27.5002 16.9792C27.7648 16.9792 27.9793 16.7646 27.9793 16.5V9.5V8.65C27.9793 6.64748 26.3627 5.02083 24.3638 5.02083H23.0001V4C23.0001 3.17186 22.3282 2.5 21.5001 2.5C20.6719 2.5 20.0001 3.17186 20.0001 4V5H12.0001ZM12.0001 6C12.0001 6.82814 11.3282 7.5 10.5001 7.5C9.67194 7.5 9.00008 6.82814 9.00008 6V5.97917H7.63653C6.1708 5.97917 4.97933 7.17282 4.97933 8.65V9.02083H27.021V8.65C27.021 7.17282 25.8295 5.97917 24.3638 5.97917H23.0001V6C23.0001 6.82814 22.3282 7.5 21.5001 7.5C20.6719 7.5 20.0001 6.82814 20.0001 6H12.0001ZM21.0001 5.5L21.0001 6C21.0001 6.27586 21.2242 6.5 21.5001 6.5C21.7759 6.5 22.0001 6.27586 22.0001 6V4C22.0001 3.72414 21.7759 3.5 21.5001 3.5C21.2242 3.5 21.0001 3.72414 21.0001 4L21.0001 5.5Z", fill: "#1E365E" }),
|
|
48014
|
+
React__default['default'].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.5 17C12.2241 17 12 17.2241 12 17.5C12 17.7759 12.2241 18 12.5 18C12.7759 18 13 17.7759 13 17.5C13 17.2241 12.7759 17 12.5 17ZM11 17.5C11 16.6719 11.6719 16 12.5 16C13.3281 16 14 16.6719 14 17.5C14 18.3281 13.3281 19 12.5 19C11.6719 19 11 18.3281 11 17.5Z", fill: "#32ABE2" }),
|
|
48015
|
+
React__default['default'].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M24.5 19C21.4622 19 19 21.4631 19 24.5C19 27.5379 21.4621 30 24.5 30C27.5369 30 30 27.5378 30 24.5C30 21.4631 27.5369 19 24.5 19ZM18 24.5C18 20.9109 20.9098 18 24.5 18C28.0891 18 31 20.9109 31 24.5C31 28.0902 28.0891 31 24.5 31C20.9099 31 18 28.0901 18 24.5Z", fill: "#3FAF2A" }),
|
|
48016
|
+
React__default['default'].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21 24.5C21 24.2239 21.2239 24 21.5 24H27.5C27.7761 24 28 24.2239 28 24.5C28 24.7761 27.7761 25 27.5 25H21.5C21.2239 25 21 24.7761 21 24.5Z", fill: "#3FAF2A" }),
|
|
48017
|
+
React__default['default'].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M24.5 21C24.7761 21 25 21.2239 25 21.5V27.5C25 27.7761 24.7761 28 24.5 28C24.2239 28 24 27.7761 24 27.5V21.5C24 21.2239 24.2239 21 24.5 21Z", fill: "#3FAF2A" })));
|
|
48018
|
+
}
|
|
48019
|
+
|
|
47946
48020
|
function CalendarIcon(props) {
|
|
47947
48021
|
return (React__default['default'].createElement(SvgIcon$1, __assign({}, props),
|
|
47948
48022
|
React__default['default'].createElement("rect", { x: "4.03812", y: "7.03696", width: "16", height: "12", fill: "white" }),
|
|
@@ -48059,6 +48133,7 @@ exports.FormContainer = FormContainer;
|
|
|
48059
48133
|
exports.FormGroup = FormGroup;
|
|
48060
48134
|
exports.FormHeader = FormHeader;
|
|
48061
48135
|
exports.Grid = Grid;
|
|
48136
|
+
exports.HeaderToolbar = HeaderToolbar;
|
|
48062
48137
|
exports.HomeIcon = HomeIcon;
|
|
48063
48138
|
exports.IconButton = IconButton;
|
|
48064
48139
|
exports.InfoCircleIcon = InfoCircleIcon;
|
|
@@ -48082,6 +48157,7 @@ exports.MenuHeader = MenuHeader;
|
|
|
48082
48157
|
exports.MenuItem = MenuItem;
|
|
48083
48158
|
exports.MenuItemSystem = MenuItemSystem;
|
|
48084
48159
|
exports.MoreVerticalIcon = MoreVerticalIcon;
|
|
48160
|
+
exports.NewAppoinmentIcon = NewAppointmentIcon;
|
|
48085
48161
|
exports.PoweredByLawconnectLogo = PoweredByLawconnectLogo;
|
|
48086
48162
|
exports.PreviewIcon = PreviewIcon;
|
|
48087
48163
|
exports.Radio = Radio;
|
|
@@ -48108,6 +48184,7 @@ exports.Tag = Tag;
|
|
|
48108
48184
|
exports.ThemeProvider = ThemeProvider;
|
|
48109
48185
|
exports.TickIcon = TickIcon;
|
|
48110
48186
|
exports.Toolbar = Toolbar;
|
|
48187
|
+
exports.ToolbarButton = ToolbarButton;
|
|
48111
48188
|
exports.Tooltip = Tooltip;
|
|
48112
48189
|
exports.TwoColumnLayout = TwoColumnLayout;
|
|
48113
48190
|
exports.Typography = Typography;
|