@cgi-learning-hub/ui 1.10.0-dev.1762507820 → 1.10.0-dev.1762955743

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.cjs.js CHANGED
@@ -8773,7 +8773,7 @@ function isClassComponent$1(elementType) {
8773
8773
  } = elementType;
8774
8774
  return Boolean(prototype.isReactComponent);
8775
8775
  }
8776
- function elementTypeAcceptingRef(props, propName, componentName, location, propFullName) {
8776
+ function elementTypeAcceptingRef$1(props, propName, componentName, location, propFullName) {
8777
8777
  const propValue = props[propName];
8778
8778
  const safePropName = propFullName || propName;
8779
8779
  if (propValue == null || // When server-side rendering React doesn't warn either.
@@ -8792,7 +8792,7 @@ function elementTypeAcceptingRef(props, propName, componentName, location, propF
8792
8792
  }
8793
8793
  return null;
8794
8794
  }
8795
- const elementTypeAcceptingRef$1 = chainPropTypes(PropTypes.elementType, elementTypeAcceptingRef);
8795
+ const elementTypeAcceptingRef = chainPropTypes(PropTypes.elementType, elementTypeAcceptingRef$1);
8796
8796
  function isFocusVisible(element) {
8797
8797
  try {
8798
8798
  return element.matches(":focus-visible");
@@ -10558,7 +10558,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes = {
10558
10558
  * The component used for the root node.
10559
10559
  * Either a string to use a HTML element or a component.
10560
10560
  */
10561
- component: elementTypeAcceptingRef$1,
10561
+ component: elementTypeAcceptingRef,
10562
10562
  /**
10563
10563
  * If `true`, the component is disabled.
10564
10564
  * @default false
@@ -12645,7 +12645,7 @@ process.env.NODE_ENV !== "production" ? Collapse.propTypes = {
12645
12645
  * The component used for the root node.
12646
12646
  * Either a string to use a HTML element or a component.
12647
12647
  */
12648
- component: elementTypeAcceptingRef$1,
12648
+ component: elementTypeAcceptingRef,
12649
12649
  /**
12650
12650
  * The transition timing function.
12651
12651
  * You may specify a single easing or a object containing enter and exit values.
@@ -15216,7 +15216,7 @@ function isShadowRoot(node2) {
15216
15216
  var OwnElement = getWindow(node2).ShadowRoot;
15217
15217
  return node2 instanceof OwnElement || node2 instanceof ShadowRoot;
15218
15218
  }
15219
- function applyStyles(_ref) {
15219
+ function applyStyles$1(_ref) {
15220
15220
  var state = _ref.state;
15221
15221
  Object.keys(state.elements).forEach(function(name) {
15222
15222
  var style2 = state.styles[name] || {};
@@ -15274,11 +15274,11 @@ function effect$2(_ref2) {
15274
15274
  });
15275
15275
  };
15276
15276
  }
15277
- const applyStyles$1 = {
15277
+ const applyStyles = {
15278
15278
  name: "applyStyles",
15279
15279
  enabled: true,
15280
15280
  phase: "write",
15281
- fn: applyStyles,
15281
+ fn: applyStyles$1,
15282
15282
  effect: effect$2,
15283
15283
  requires: ["computeStyles"]
15284
15284
  };
@@ -15464,7 +15464,7 @@ var toPaddingObject = function toPaddingObject2(padding2, state) {
15464
15464
  })) : padding2;
15465
15465
  return mergePaddingObject(typeof padding2 !== "number" ? padding2 : expandToHashMap(padding2, basePlacements));
15466
15466
  };
15467
- function arrow(_ref) {
15467
+ function arrow$1(_ref) {
15468
15468
  var _state$modifiersData$;
15469
15469
  var state = _ref.state, name = _ref.name, options = _ref.options;
15470
15470
  var arrowElement = state.elements.arrow;
@@ -15509,11 +15509,11 @@ function effect$1(_ref2) {
15509
15509
  }
15510
15510
  state.elements.arrow = arrowElement;
15511
15511
  }
15512
- const arrow$1 = {
15512
+ const arrow = {
15513
15513
  name: "arrow",
15514
15514
  enabled: true,
15515
15515
  phase: "main",
15516
- fn: arrow,
15516
+ fn: arrow$1,
15517
15517
  effect: effect$1,
15518
15518
  requires: ["popperOffsets"],
15519
15519
  requiresIfExists: ["preventOverflow"]
@@ -15602,7 +15602,7 @@ function mapToStyles(_ref2) {
15602
15602
  }
15603
15603
  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
15604
15604
  }
15605
- function computeStyles(_ref5) {
15605
+ function computeStyles$1(_ref5) {
15606
15606
  var state = _ref5.state, options = _ref5.options;
15607
15607
  var _options$gpuAccelerat = options.gpuAcceleration, gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat, _options$adaptive = options.adaptive, adaptive = _options$adaptive === void 0 ? true : _options$adaptive, _options$roundOffsets = options.roundOffsets, roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
15608
15608
  var commonStyles = {
@@ -15633,11 +15633,11 @@ function computeStyles(_ref5) {
15633
15633
  "data-popper-placement": state.placement
15634
15634
  });
15635
15635
  }
15636
- const computeStyles$1 = {
15636
+ const computeStyles = {
15637
15637
  name: "computeStyles",
15638
15638
  enabled: true,
15639
15639
  phase: "beforeWrite",
15640
- fn: computeStyles,
15640
+ fn: computeStyles$1,
15641
15641
  data: {}
15642
15642
  };
15643
15643
  var passive = {
@@ -15953,7 +15953,7 @@ function getExpandedFallbackPlacements(placement) {
15953
15953
  var oppositePlacement = getOppositePlacement(placement);
15954
15954
  return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
15955
15955
  }
15956
- function flip(_ref) {
15956
+ function flip$1(_ref) {
15957
15957
  var state = _ref.state, options = _ref.options, name = _ref.name;
15958
15958
  if (state.modifiersData[name]._skip) {
15959
15959
  return;
@@ -16039,11 +16039,11 @@ function flip(_ref) {
16039
16039
  state.reset = true;
16040
16040
  }
16041
16041
  }
16042
- const flip$1 = {
16042
+ const flip = {
16043
16043
  name: "flip",
16044
16044
  enabled: true,
16045
16045
  phase: "main",
16046
- fn: flip,
16046
+ fn: flip$1,
16047
16047
  requiresIfExists: ["offset"],
16048
16048
  data: {
16049
16049
  _skip: false
@@ -16068,7 +16068,7 @@ function isAnySideFullyClipped(overflow) {
16068
16068
  return overflow[side] >= 0;
16069
16069
  });
16070
16070
  }
16071
- function hide(_ref) {
16071
+ function hide$1(_ref) {
16072
16072
  var state = _ref.state, name = _ref.name;
16073
16073
  var referenceRect = state.rects.reference;
16074
16074
  var popperRect = state.rects.popper;
@@ -16094,12 +16094,12 @@ function hide(_ref) {
16094
16094
  "data-popper-escaped": hasPopperEscaped
16095
16095
  });
16096
16096
  }
16097
- const hide$1 = {
16097
+ const hide = {
16098
16098
  name: "hide",
16099
16099
  enabled: true,
16100
16100
  phase: "main",
16101
16101
  requiresIfExists: ["preventOverflow"],
16102
- fn: hide
16102
+ fn: hide$1
16103
16103
  };
16104
16104
  function distanceAndSkiddingToXY(placement, rects, offset2) {
16105
16105
  var basePlacement = getBasePlacement(placement);
@@ -16117,7 +16117,7 @@ function distanceAndSkiddingToXY(placement, rects, offset2) {
16117
16117
  y: distance
16118
16118
  };
16119
16119
  }
16120
- function offset(_ref2) {
16120
+ function offset$1(_ref2) {
16121
16121
  var state = _ref2.state, options = _ref2.options, name = _ref2.name;
16122
16122
  var _options$offset = options.offset, offset2 = _options$offset === void 0 ? [0, 0] : _options$offset;
16123
16123
  var data = placements.reduce(function(acc, placement) {
@@ -16131,14 +16131,14 @@ function offset(_ref2) {
16131
16131
  }
16132
16132
  state.modifiersData[name] = data;
16133
16133
  }
16134
- const offset$1 = {
16134
+ const offset = {
16135
16135
  name: "offset",
16136
16136
  enabled: true,
16137
16137
  phase: "main",
16138
16138
  requires: ["popperOffsets"],
16139
- fn: offset
16139
+ fn: offset$1
16140
16140
  };
16141
- function popperOffsets(_ref) {
16141
+ function popperOffsets$1(_ref) {
16142
16142
  var state = _ref.state, name = _ref.name;
16143
16143
  state.modifiersData[name] = computeOffsets({
16144
16144
  reference: state.rects.reference,
@@ -16146,17 +16146,17 @@ function popperOffsets(_ref) {
16146
16146
  placement: state.placement
16147
16147
  });
16148
16148
  }
16149
- const popperOffsets$1 = {
16149
+ const popperOffsets = {
16150
16150
  name: "popperOffsets",
16151
16151
  enabled: true,
16152
16152
  phase: "read",
16153
- fn: popperOffsets,
16153
+ fn: popperOffsets$1,
16154
16154
  data: {}
16155
16155
  };
16156
16156
  function getAltAxis(axis) {
16157
16157
  return axis === "x" ? "y" : "x";
16158
16158
  }
16159
- function preventOverflow(_ref) {
16159
+ function preventOverflow$1(_ref) {
16160
16160
  var state = _ref.state, options = _ref.options, name = _ref.name;
16161
16161
  var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, padding2 = options.padding, _options$tether = options.tether, tether = _options$tether === void 0 ? true : _options$tether, _options$tetherOffset = options.tetherOffset, tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
16162
16162
  var overflow = detectOverflow(state, {
@@ -16240,11 +16240,11 @@ function preventOverflow(_ref) {
16240
16240
  }
16241
16241
  state.modifiersData[name] = data;
16242
16242
  }
16243
- const preventOverflow$1 = {
16243
+ const preventOverflow = {
16244
16244
  name: "preventOverflow",
16245
16245
  enabled: true,
16246
16246
  phase: "main",
16247
- fn: preventOverflow,
16247
+ fn: preventOverflow$1,
16248
16248
  requiresIfExists: ["offset"]
16249
16249
  };
16250
16250
  function getHTMLElementScroll(element) {
@@ -16502,7 +16502,7 @@ function popperGenerator(generatorOptions) {
16502
16502
  return instance;
16503
16503
  };
16504
16504
  }
16505
- var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1];
16505
+ var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];
16506
16506
  var createPopper = /* @__PURE__ */ popperGenerator({
16507
16507
  defaultModifiers
16508
16508
  });
@@ -19305,7 +19305,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes = {
19305
19305
  * Either a string to use a HTML element or a component.
19306
19306
  * @default 'input'
19307
19307
  */
19308
- inputComponent: elementTypeAcceptingRef$1,
19308
+ inputComponent: elementTypeAcceptingRef,
19309
19309
  /**
19310
19310
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
19311
19311
  * @default {}
@@ -28895,7 +28895,7 @@ process.env.NODE_ENV !== "production" ? Link.propTypes = {
28895
28895
  * The component used for the root node.
28896
28896
  * Either a string to use a HTML element or a component.
28897
28897
  */
28898
- component: elementTypeAcceptingRef$1,
28898
+ component: elementTypeAcceptingRef,
28899
28899
  /**
28900
28900
  * @ignore
28901
28901
  */
@@ -29689,7 +29689,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes = {
29689
29689
  * @default 'li'
29690
29690
  * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
29691
29691
  */
29692
- ContainerComponent: elementTypeAcceptingRef$1,
29692
+ ContainerComponent: elementTypeAcceptingRef,
29693
29693
  /**
29694
29694
  * Props applied to the container component if used.
29695
29695
  * @default {}
@@ -30758,7 +30758,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes = {
30758
30758
  * @default {}
30759
30759
  */
30760
30760
  PaperProps: PropTypes.shape({
30761
- component: elementTypeAcceptingRef$1
30761
+ component: elementTypeAcceptingRef
30762
30762
  }),
30763
30763
  /**
30764
30764
  * The props used for each slot inside.
@@ -43238,7 +43238,7 @@ var hasRequiredWeekOfYear;
43238
43238
  function requireWeekOfYear() {
43239
43239
  if (hasRequiredWeekOfYear) return weekOfYear$1.exports;
43240
43240
  hasRequiredWeekOfYear = 1;
43241
- (function(module2, exports2) {
43241
+ (function(module2, exports$1) {
43242
43242
  !(function(e, t) {
43243
43243
  module2.exports = t();
43244
43244
  })(weekOfYear, (function() {
@@ -43270,7 +43270,7 @@ var hasRequiredCustomParseFormat;
43270
43270
  function requireCustomParseFormat() {
43271
43271
  if (hasRequiredCustomParseFormat) return customParseFormat$1.exports;
43272
43272
  hasRequiredCustomParseFormat = 1;
43273
- (function(module2, exports2) {
43273
+ (function(module2, exports$1) {
43274
43274
  !(function(e, t) {
43275
43275
  module2.exports = t();
43276
43276
  })(customParseFormat, (function() {
@@ -43402,7 +43402,7 @@ var hasRequiredLocalizedFormat;
43402
43402
  function requireLocalizedFormat() {
43403
43403
  if (hasRequiredLocalizedFormat) return localizedFormat$1.exports;
43404
43404
  hasRequiredLocalizedFormat = 1;
43405
- (function(module2, exports2) {
43405
+ (function(module2, exports$1) {
43406
43406
  !(function(e, t) {
43407
43407
  module2.exports = t();
43408
43408
  })(localizedFormat, (function() {
@@ -43434,7 +43434,7 @@ var hasRequiredIsBetween;
43434
43434
  function requireIsBetween() {
43435
43435
  if (hasRequiredIsBetween) return isBetween$1.exports;
43436
43436
  hasRequiredIsBetween = 1;
43437
- (function(module2, exports2) {
43437
+ (function(module2, exports$1) {
43438
43438
  !(function(e, i) {
43439
43439
  module2.exports = i();
43440
43440
  })(isBetween, (function() {
@@ -43456,7 +43456,7 @@ var hasRequiredAdvancedFormat;
43456
43456
  function requireAdvancedFormat() {
43457
43457
  if (hasRequiredAdvancedFormat) return advancedFormat$1.exports;
43458
43458
  hasRequiredAdvancedFormat = 1;
43459
- (function(module2, exports2) {
43459
+ (function(module2, exports$1) {
43460
43460
  !(function(e, t) {
43461
43461
  module2.exports = t();
43462
43462
  })(advancedFormat, (function() {
@@ -56374,7 +56374,7 @@ var hasRequiredEn;
56374
56374
  function requireEn() {
56375
56375
  if (hasRequiredEn) return en$1.exports;
56376
56376
  hasRequiredEn = 1;
56377
- (function(module2, exports2) {
56377
+ (function(module2, exports$1) {
56378
56378
  !(function(e, n) {
56379
56379
  module2.exports = n();
56380
56380
  })(en, (function() {
@@ -56393,7 +56393,7 @@ var hasRequiredFr;
56393
56393
  function requireFr() {
56394
56394
  if (hasRequiredFr) return fr$1.exports;
56395
56395
  hasRequiredFr = 1;
56396
- (function(module2, exports2) {
56396
+ (function(module2, exports$1) {
56397
56397
  !(function(e, n) {
56398
56398
  module2.exports = n(dayjs);
56399
56399
  })(fr, (function(e) {
@@ -57154,14 +57154,14 @@ const ImagePicker = ({
57154
57154
  open();
57155
57155
  };
57156
57156
  const { open, getRootProps, getInputProps, isDragActive } = reactDropzone.useDropzone({
57157
- ...otherProps,
57158
57157
  maxFiles: 1,
57159
57158
  onDropAccepted: handleDrop,
57160
57159
  accept: {
57161
57160
  "image/*": [".png", ".jpeg", ".jpg", ".gif"]
57162
57161
  },
57163
57162
  noClick: true,
57164
- disabled
57163
+ disabled,
57164
+ ...otherProps
57165
57165
  });
57166
57166
  return /* @__PURE__ */ jsxRuntime.jsxs(
57167
57167
  Stack,
package/dist/index.es.js CHANGED
@@ -43221,7 +43221,7 @@ var hasRequiredWeekOfYear;
43221
43221
  function requireWeekOfYear() {
43222
43222
  if (hasRequiredWeekOfYear) return weekOfYear$1.exports;
43223
43223
  hasRequiredWeekOfYear = 1;
43224
- (function(module, exports) {
43224
+ (function(module, exports$1) {
43225
43225
  !(function(e, t) {
43226
43226
  module.exports = t();
43227
43227
  })(weekOfYear, (function() {
@@ -43253,7 +43253,7 @@ var hasRequiredCustomParseFormat;
43253
43253
  function requireCustomParseFormat() {
43254
43254
  if (hasRequiredCustomParseFormat) return customParseFormat$1.exports;
43255
43255
  hasRequiredCustomParseFormat = 1;
43256
- (function(module, exports) {
43256
+ (function(module, exports$1) {
43257
43257
  !(function(e, t) {
43258
43258
  module.exports = t();
43259
43259
  })(customParseFormat, (function() {
@@ -43385,7 +43385,7 @@ var hasRequiredLocalizedFormat;
43385
43385
  function requireLocalizedFormat() {
43386
43386
  if (hasRequiredLocalizedFormat) return localizedFormat$1.exports;
43387
43387
  hasRequiredLocalizedFormat = 1;
43388
- (function(module, exports) {
43388
+ (function(module, exports$1) {
43389
43389
  !(function(e, t) {
43390
43390
  module.exports = t();
43391
43391
  })(localizedFormat, (function() {
@@ -43417,7 +43417,7 @@ var hasRequiredIsBetween;
43417
43417
  function requireIsBetween() {
43418
43418
  if (hasRequiredIsBetween) return isBetween$1.exports;
43419
43419
  hasRequiredIsBetween = 1;
43420
- (function(module, exports) {
43420
+ (function(module, exports$1) {
43421
43421
  !(function(e, i) {
43422
43422
  module.exports = i();
43423
43423
  })(isBetween, (function() {
@@ -43439,7 +43439,7 @@ var hasRequiredAdvancedFormat;
43439
43439
  function requireAdvancedFormat() {
43440
43440
  if (hasRequiredAdvancedFormat) return advancedFormat$1.exports;
43441
43441
  hasRequiredAdvancedFormat = 1;
43442
- (function(module, exports) {
43442
+ (function(module, exports$1) {
43443
43443
  !(function(e, t) {
43444
43444
  module.exports = t();
43445
43445
  })(advancedFormat, (function() {
@@ -56357,7 +56357,7 @@ var hasRequiredEn;
56357
56357
  function requireEn() {
56358
56358
  if (hasRequiredEn) return en$1.exports;
56359
56359
  hasRequiredEn = 1;
56360
- (function(module, exports) {
56360
+ (function(module, exports$1) {
56361
56361
  !(function(e, n) {
56362
56362
  module.exports = n();
56363
56363
  })(en, (function() {
@@ -56376,7 +56376,7 @@ var hasRequiredFr;
56376
56376
  function requireFr() {
56377
56377
  if (hasRequiredFr) return fr$1.exports;
56378
56378
  hasRequiredFr = 1;
56379
- (function(module, exports) {
56379
+ (function(module, exports$1) {
56380
56380
  !(function(e, n) {
56381
56381
  module.exports = n(dayjs);
56382
56382
  })(fr, (function(e) {
@@ -57137,14 +57137,14 @@ const ImagePicker = ({
57137
57137
  open();
57138
57138
  };
57139
57139
  const { open, getRootProps, getInputProps, isDragActive } = useDropzone({
57140
- ...otherProps,
57141
57140
  maxFiles: 1,
57142
57141
  onDropAccepted: handleDrop,
57143
57142
  accept: {
57144
57143
  "image/*": [".png", ".jpeg", ".jpg", ".gif"]
57145
57144
  },
57146
57145
  noClick: true,
57147
- disabled
57146
+ disabled,
57147
+ ...otherProps
57148
57148
  });
57149
57149
  return /* @__PURE__ */ jsxs(
57150
57150
  Stack,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.10.0-dev.1762507820",
3
+ "version": "1.10.0-dev.1762955743",
4
4
  "description": "React component library for Hub's design system, built on Material UI with custom and extended components.",
5
5
  "keywords": [
6
6
  "cgi-learning-hub",