@gen3/frontend 0.10.71 → 0.10.73

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/cjs/index.js CHANGED
@@ -14309,28 +14309,24 @@ const createMantineTheme = (fonts, colors)=>{
14309
14309
  * Gen3Provider wraps around the entire app and provides general configurations
14310
14310
  * for the whole website like color scheme, icons, fonts, and sessionConfigs like
14311
14311
  * inactivity limits for session timeouts.
14312
- */ const Gen3Provider = ({ colors, icons, fonts, sessionConfig, modalsConfig, children })=>{
14312
+ */ const Gen3Provider = ({ icons, sessionConfig, modalsConfig, children })=>{
14313
14313
  React.useEffect(()=>{
14314
14314
  icons.forEach((i)=>react.addCollection(i));
14315
14315
  }, [
14316
14316
  icons
14317
14317
  ]);
14318
- const theme = createMantineTheme(fonts, colors);
14319
14318
  return /*#__PURE__*/ jsxRuntime.jsx(core.CoreProvider, {
14320
- children: /*#__PURE__*/ jsxRuntime.jsx(core$1.MantineProvider, {
14321
- theme: theme,
14322
- children: /*#__PURE__*/ jsxRuntime.jsxs(modals.ModalsProvider, {
14323
- children: [
14324
- /*#__PURE__*/ jsxRuntime.jsx(notifications.Notifications, {}),
14325
- /*#__PURE__*/ jsxRuntime.jsx(SessionProvider, {
14326
- ...sessionConfig,
14327
- children: /*#__PURE__*/ jsxRuntime.jsx(Gen3ModalsProvider, {
14328
- config: modalsConfig,
14329
- children: children
14330
- })
14319
+ children: /*#__PURE__*/ jsxRuntime.jsxs(modals.ModalsProvider, {
14320
+ children: [
14321
+ /*#__PURE__*/ jsxRuntime.jsx(notifications.Notifications, {}),
14322
+ /*#__PURE__*/ jsxRuntime.jsx(SessionProvider, {
14323
+ ...sessionConfig,
14324
+ children: /*#__PURE__*/ jsxRuntime.jsx(Gen3ModalsProvider, {
14325
+ config: modalsConfig,
14326
+ children: children
14331
14327
  })
14332
- ]
14333
- })
14328
+ })
14329
+ ]
14334
14330
  })
14335
14331
  });
14336
14332
  };
@@ -16936,7 +16932,6 @@ const ALLOWED_IMAGE_TYPES = [
16936
16932
  'image/png',
16937
16933
  'image/svg+xml'
16938
16934
  ];
16939
- const MAX_HISTORY = 50;
16940
16935
  const AnalysisCardEditor = ()=>{
16941
16936
  // Enhanced state management with history
16942
16937
  const [history, setHistory] = React.useState({
@@ -16967,7 +16962,7 @@ const AnalysisCardEditor = ()=>{
16967
16962
  past: [
16968
16963
  ...prev.past,
16969
16964
  prev.present
16970
- ].slice(-MAX_HISTORY),
16965
+ ].slice(-50),
16971
16966
  present: newPresent,
16972
16967
  future: []
16973
16968
  }));
@@ -20148,6 +20143,7 @@ exports.convertMinutesToMilliseconds = convertMinutesToMilliseconds;
20148
20143
  exports.convertSecondsToMilliseconds = convertSecondsToMilliseconds;
20149
20144
  exports.create10ColorAccessibleContrast = create10ColorAccessibleContrast;
20150
20145
  exports.create10ColorPallet = create10ColorPallet;
20146
+ exports.createMantineTheme = createMantineTheme;
20151
20147
  exports.credentialsLogin = credentialsLogin;
20152
20148
  exports.credentialsLogout = credentialsLogout;
20153
20149
  exports.extractObjectKey = extractObjectKey;