@galaxy-ds/core 2.0.1 → 2.0.2

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/index.esm.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import MuiCssBaseline from '@mui/material/CssBaseline';
3
3
  import { createTheme, ThemeProvider as ThemeProvider$1, ListItem as ListItem$1, ListItemIcon as ListItemIcon$1, ListItemText as ListItemText$1, SvgIcon as SvgIcon$1, List as List$1, ListSubheader as ListSubheader$1, Collapse, AccordionDetails as AccordionDetails$1, Accordion as Accordion$1, AccordionSummary as AccordionSummary$1, AvatarGroup as AvatarGroup$1, IconButton as IconButton$1, Tooltip as Tooltip$2, Typography as Typography$1, AppBar, Toolbar as Toolbar$1, InputLabel as InputLabel$1, Badge as Badge$1, styled as styled$1, Box as Box$2, Breadcrumbs as Breadcrumbs$1, Button as Button$1, CircularProgress, Card as Card$1, FormControlLabel, Checkbox as Checkbox$1, useTheme, Dialog as Dialog$1, DialogActions, Drawer as Drawer$1, MenuItem as MenuItem$1, Select as Select$1, Grid as Grid$1, FormGroup as FormGroup$1, Divider as Divider$2, ListItemAvatar as ListItemAvatar$1, Backdrop, Menu as Menu$1, DialogContent, DialogTitle, Pagination as Pagination$1, PaginationItem, LinearProgress, Radio as Radio$1, FormControl, FormLabel, RadioGroup as RadioGroup$1, Switch as Switch$1, Tab as Tab$1, Table as Table$1, TableBody as TableBody$1, TableCell as TableCell$1, TableContainer as TableContainer$1, TableFooter as TableFooter$1, TableHead as TableHead$1, TableRow as TableRow$1, Tabs as Tabs$1, TextField as TextField$2 } from '@mui/material';
4
- import * as tokens from '@galaxy-ds/tokens/dist/leap/web/cjs/tokens';
5
4
  import { createTheme as createTheme$1, styled } from '@mui/material/styles';
6
5
  import React, { useState, useRef, forwardRef, useEffect } from 'react';
7
6
  import SvgIcon from '@mui/material/SvgIcon';
@@ -28,6 +27,70 @@ var CssBaseline = function (props) {
28
27
  return (jsx(MuiCssBaseline, {}));
29
28
  };
30
29
 
30
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
31
+
32
+ function getAugmentedNamespace(n) {
33
+ if (n.__esModule) return n;
34
+ var a = Object.defineProperty({}, '__esModule', {value: true});
35
+ Object.keys(n).forEach(function (k) {
36
+ var d = Object.getOwnPropertyDescriptor(n, k);
37
+ Object.defineProperty(a, k, d.get ? d : {
38
+ enumerable: true,
39
+ get: function () {
40
+ return n[k];
41
+ }
42
+ });
43
+ });
44
+ return a;
45
+ }
46
+
47
+ var tokens = {
48
+ ColorDivider: "#d8d8d8",
49
+ ColorBackgroundDefault: "#eeeeee",
50
+ ColorBackgroundSecondary: "#ffffff",
51
+ ColorPrimaryMain: "#1c365f",
52
+ ColorPrimaryLight: "#0060ac",
53
+ ColorPrimaryDark: "#162845",
54
+ ColorPrimaryContrastText: "#ffffff",
55
+ ColorTextPrimary: "#444444",
56
+ ColorTextSecondary: "#6b6b6b",
57
+ ColorTextDisabled: "#6e7781",
58
+ ColorTextHint: "#0060aa",
59
+ ColorSecondaryMain: "#f89235",
60
+ ColorSecondaryLight: "#feefe2",
61
+ ColorSecondaryDark: "#da782d",
62
+ ColorSecondaryContrastText: "#ffffff",
63
+ ColorContextualSuccessContrastText: "#ffffff",
64
+ ColorContextualSuccessLight: "#d7e8d4",
65
+ ColorContextualSuccessDark: "#376b49",
66
+ ColorContextualSuccessMain: "#3faf2a",
67
+ ColorContextualDangerMain: "#c02e21",
68
+ ColorContextualDangerLight: "#ecd6d4",
69
+ ColorContextualDangerDark: "#631b16",
70
+ ColorContextualDangerContrastText: "#ffffff",
71
+ ColorContextualWarningMain: "#f59245",
72
+ ColorContextualWarningLight: "#feefe2",
73
+ ColorContextualWarningDark: "#8f6b32",
74
+ ColorContextualWarningContrastText: "#ffffff",
75
+ ColorContextualInfoMain: "#1c365f",
76
+ ColorContextualInfoLight: "#e0ecf5",
77
+ ColorContextualInfoDark: "#162845",
78
+ ColorContextualInfoContrastText: "#ffffff",
79
+ ColorContextualDefaultMain: "#889099",
80
+ ColorContextualDefaultLight: "#cacfd4",
81
+ ColorContextualDefaultDark: "#6e7781",
82
+ ColorContextualDefaultContrastText: "#ffffff",
83
+ ColorActionActive: "#444444",
84
+ ColorActionHover: "#0060ac",
85
+ ColorActionSelected: "#c2d8e7",
86
+ ColorActionDisabled: "#6e7781",
87
+ SpacingXxs: "6",
88
+ SpacingXs: "8",
89
+ SpacingSm: "12",
90
+ SpacingMd: "16",
91
+ SpacingLg: "24"
92
+ };
93
+
31
94
  const grey$1 = {
32
95
  900: "#1c2836",
33
96
  800: "#263042",
@@ -4799,23 +4862,6 @@ var Checkbox = function (props) {
4799
4862
  return (jsx(CustomFormControlLabel, { value: value, label: jsx(Typography$1, __assign({ variant: labelStyles }, { children: label })), control: jsx(Checkbox$1, __assign({}, rest, { value: value, disableRipple: true, color: "default", icon: jsx(Icon, { name: SvgCheckboxUncontrolled }), checkedIcon: jsx(Icon, { name: SvgCheckboxChecked }), indeterminateIcon: jsx(Icon, { name: SvgCheckboxIndeterminate }) })) }));
4800
4863
  };
4801
4864
 
4802
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4803
-
4804
- function getAugmentedNamespace(n) {
4805
- if (n.__esModule) return n;
4806
- var a = Object.defineProperty({}, '__esModule', {value: true});
4807
- Object.keys(n).forEach(function (k) {
4808
- var d = Object.getOwnPropertyDescriptor(n, k);
4809
- Object.defineProperty(a, k, d.get ? d : {
4810
- enumerable: true,
4811
- get: function () {
4812
- return n[k];
4813
- }
4814
- });
4815
- });
4816
- return a;
4817
- }
4818
-
4819
4865
  var dist = {};
4820
4866
 
4821
4867
  var DateRange$1 = {};