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

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.
@@ -43077,10 +43077,7 @@ const CheckmarkSwatch = ({
43077
43077
  }
43078
43078
  );
43079
43079
  };
43080
- const ColorPickerIcon = ({
43081
- fill,
43082
- onClick
43083
- }) => /* @__PURE__ */ jsxRuntime.jsxs(
43080
+ const ColorPickerIcon = ({ fill, onClick, showBorder = false }) => /* @__PURE__ */ jsxRuntime.jsxs(
43084
43081
  "svg",
43085
43082
  {
43086
43083
  width: "100%",
@@ -43099,6 +43096,17 @@ const ColorPickerIcon = ({
43099
43096
  fill: fill ?? "#EB4D4B"
43100
43097
  }
43101
43098
  ),
43099
+ showBorder && /* @__PURE__ */ jsxRuntime.jsx(
43100
+ "circle",
43101
+ {
43102
+ cx: "20",
43103
+ cy: "20.2168",
43104
+ r: "10",
43105
+ fill: "none",
43106
+ stroke: "black",
43107
+ strokeWidth: "1.5"
43108
+ }
43109
+ ),
43102
43110
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "29", cy: "28.2168", r: "5", fill: "white" }),
43103
43111
  /* @__PURE__ */ jsxRuntime.jsx(
43104
43112
  "path",
@@ -43176,6 +43184,7 @@ const ColorPicker = ({
43176
43184
  const normalizedOptions = options ? options.map(
43177
43185
  (option) => typeof option === "string" ? { color: option, showBorder: false } : { ...option, showBorder: option.showBorder ?? false }
43178
43186
  ) : DEFAULT_COLOR_OPTIONS;
43187
+ const currentOption = normalizedOptions.find((opt) => opt.color === value);
43179
43188
  const colorStrings = normalizedOptions.map((opt) => opt.color);
43180
43189
  return /* @__PURE__ */ jsxRuntime.jsx(
43181
43190
  material.ClickAwayListener,
@@ -43189,7 +43198,14 @@ const ColorPicker = ({
43189
43198
  tabIndex: 0,
43190
43199
  onKeyDown: handleKeyDown,
43191
43200
  children: [
43192
- /* @__PURE__ */ jsxRuntime.jsx(ColorPickerIcon, { onClick: handlePickerToggle, fill: value }),
43201
+ /* @__PURE__ */ jsxRuntime.jsx(
43202
+ ColorPickerIcon,
43203
+ {
43204
+ onClick: handlePickerToggle,
43205
+ fill: value,
43206
+ showBorder: (currentOption == null ? void 0 : currentOption.showBorder) ?? false
43207
+ }
43208
+ ),
43193
43209
  isCirclePickerVisible && /* @__PURE__ */ jsxRuntime.jsx(
43194
43210
  material.Box,
43195
43211
  {
@@ -43238,7 +43254,7 @@ var hasRequiredWeekOfYear;
43238
43254
  function requireWeekOfYear() {
43239
43255
  if (hasRequiredWeekOfYear) return weekOfYear$1.exports;
43240
43256
  hasRequiredWeekOfYear = 1;
43241
- (function(module2, exports2) {
43257
+ (function(module2, exports$1) {
43242
43258
  !(function(e, t) {
43243
43259
  module2.exports = t();
43244
43260
  })(weekOfYear, (function() {
@@ -43270,7 +43286,7 @@ var hasRequiredCustomParseFormat;
43270
43286
  function requireCustomParseFormat() {
43271
43287
  if (hasRequiredCustomParseFormat) return customParseFormat$1.exports;
43272
43288
  hasRequiredCustomParseFormat = 1;
43273
- (function(module2, exports2) {
43289
+ (function(module2, exports$1) {
43274
43290
  !(function(e, t) {
43275
43291
  module2.exports = t();
43276
43292
  })(customParseFormat, (function() {
@@ -43402,7 +43418,7 @@ var hasRequiredLocalizedFormat;
43402
43418
  function requireLocalizedFormat() {
43403
43419
  if (hasRequiredLocalizedFormat) return localizedFormat$1.exports;
43404
43420
  hasRequiredLocalizedFormat = 1;
43405
- (function(module2, exports2) {
43421
+ (function(module2, exports$1) {
43406
43422
  !(function(e, t) {
43407
43423
  module2.exports = t();
43408
43424
  })(localizedFormat, (function() {
@@ -43434,7 +43450,7 @@ var hasRequiredIsBetween;
43434
43450
  function requireIsBetween() {
43435
43451
  if (hasRequiredIsBetween) return isBetween$1.exports;
43436
43452
  hasRequiredIsBetween = 1;
43437
- (function(module2, exports2) {
43453
+ (function(module2, exports$1) {
43438
43454
  !(function(e, i) {
43439
43455
  module2.exports = i();
43440
43456
  })(isBetween, (function() {
@@ -43456,7 +43472,7 @@ var hasRequiredAdvancedFormat;
43456
43472
  function requireAdvancedFormat() {
43457
43473
  if (hasRequiredAdvancedFormat) return advancedFormat$1.exports;
43458
43474
  hasRequiredAdvancedFormat = 1;
43459
- (function(module2, exports2) {
43475
+ (function(module2, exports$1) {
43460
43476
  !(function(e, t) {
43461
43477
  module2.exports = t();
43462
43478
  })(advancedFormat, (function() {
@@ -56374,7 +56390,7 @@ var hasRequiredEn;
56374
56390
  function requireEn() {
56375
56391
  if (hasRequiredEn) return en$1.exports;
56376
56392
  hasRequiredEn = 1;
56377
- (function(module2, exports2) {
56393
+ (function(module2, exports$1) {
56378
56394
  !(function(e, n) {
56379
56395
  module2.exports = n();
56380
56396
  })(en, (function() {
@@ -56393,7 +56409,7 @@ var hasRequiredFr;
56393
56409
  function requireFr() {
56394
56410
  if (hasRequiredFr) return fr$1.exports;
56395
56411
  hasRequiredFr = 1;
56396
- (function(module2, exports2) {
56412
+ (function(module2, exports$1) {
56397
56413
  !(function(e, n) {
56398
56414
  module2.exports = n(dayjs);
56399
56415
  })(fr, (function(e) {
@@ -57154,14 +57170,14 @@ const ImagePicker = ({
57154
57170
  open();
57155
57171
  };
57156
57172
  const { open, getRootProps, getInputProps, isDragActive } = reactDropzone.useDropzone({
57157
- ...otherProps,
57158
57173
  maxFiles: 1,
57159
57174
  onDropAccepted: handleDrop,
57160
57175
  accept: {
57161
57176
  "image/*": [".png", ".jpeg", ".jpg", ".gif"]
57162
57177
  },
57163
57178
  noClick: true,
57164
- disabled
57179
+ disabled,
57180
+ ...otherProps
57165
57181
  });
57166
57182
  return /* @__PURE__ */ jsxRuntime.jsxs(
57167
57183
  Stack,
package/dist/index.es.js CHANGED
@@ -43060,10 +43060,7 @@ const CheckmarkSwatch = ({
43060
43060
  }
43061
43061
  );
43062
43062
  };
43063
- const ColorPickerIcon = ({
43064
- fill,
43065
- onClick
43066
- }) => /* @__PURE__ */ jsxs(
43063
+ const ColorPickerIcon = ({ fill, onClick, showBorder = false }) => /* @__PURE__ */ jsxs(
43067
43064
  "svg",
43068
43065
  {
43069
43066
  width: "100%",
@@ -43082,6 +43079,17 @@ const ColorPickerIcon = ({
43082
43079
  fill: fill ?? "#EB4D4B"
43083
43080
  }
43084
43081
  ),
43082
+ showBorder && /* @__PURE__ */ jsx(
43083
+ "circle",
43084
+ {
43085
+ cx: "20",
43086
+ cy: "20.2168",
43087
+ r: "10",
43088
+ fill: "none",
43089
+ stroke: "black",
43090
+ strokeWidth: "1.5"
43091
+ }
43092
+ ),
43085
43093
  /* @__PURE__ */ jsx("circle", { cx: "29", cy: "28.2168", r: "5", fill: "white" }),
43086
43094
  /* @__PURE__ */ jsx(
43087
43095
  "path",
@@ -43159,6 +43167,7 @@ const ColorPicker = ({
43159
43167
  const normalizedOptions = options ? options.map(
43160
43168
  (option) => typeof option === "string" ? { color: option, showBorder: false } : { ...option, showBorder: option.showBorder ?? false }
43161
43169
  ) : DEFAULT_COLOR_OPTIONS;
43170
+ const currentOption = normalizedOptions.find((opt) => opt.color === value);
43162
43171
  const colorStrings = normalizedOptions.map((opt) => opt.color);
43163
43172
  return /* @__PURE__ */ jsx(
43164
43173
  ClickAwayListener$1,
@@ -43172,7 +43181,14 @@ const ColorPicker = ({
43172
43181
  tabIndex: 0,
43173
43182
  onKeyDown: handleKeyDown,
43174
43183
  children: [
43175
- /* @__PURE__ */ jsx(ColorPickerIcon, { onClick: handlePickerToggle, fill: value }),
43184
+ /* @__PURE__ */ jsx(
43185
+ ColorPickerIcon,
43186
+ {
43187
+ onClick: handlePickerToggle,
43188
+ fill: value,
43189
+ showBorder: (currentOption == null ? void 0 : currentOption.showBorder) ?? false
43190
+ }
43191
+ ),
43176
43192
  isCirclePickerVisible && /* @__PURE__ */ jsx(
43177
43193
  Box$1,
43178
43194
  {
@@ -43221,7 +43237,7 @@ var hasRequiredWeekOfYear;
43221
43237
  function requireWeekOfYear() {
43222
43238
  if (hasRequiredWeekOfYear) return weekOfYear$1.exports;
43223
43239
  hasRequiredWeekOfYear = 1;
43224
- (function(module, exports) {
43240
+ (function(module, exports$1) {
43225
43241
  !(function(e, t) {
43226
43242
  module.exports = t();
43227
43243
  })(weekOfYear, (function() {
@@ -43253,7 +43269,7 @@ var hasRequiredCustomParseFormat;
43253
43269
  function requireCustomParseFormat() {
43254
43270
  if (hasRequiredCustomParseFormat) return customParseFormat$1.exports;
43255
43271
  hasRequiredCustomParseFormat = 1;
43256
- (function(module, exports) {
43272
+ (function(module, exports$1) {
43257
43273
  !(function(e, t) {
43258
43274
  module.exports = t();
43259
43275
  })(customParseFormat, (function() {
@@ -43385,7 +43401,7 @@ var hasRequiredLocalizedFormat;
43385
43401
  function requireLocalizedFormat() {
43386
43402
  if (hasRequiredLocalizedFormat) return localizedFormat$1.exports;
43387
43403
  hasRequiredLocalizedFormat = 1;
43388
- (function(module, exports) {
43404
+ (function(module, exports$1) {
43389
43405
  !(function(e, t) {
43390
43406
  module.exports = t();
43391
43407
  })(localizedFormat, (function() {
@@ -43417,7 +43433,7 @@ var hasRequiredIsBetween;
43417
43433
  function requireIsBetween() {
43418
43434
  if (hasRequiredIsBetween) return isBetween$1.exports;
43419
43435
  hasRequiredIsBetween = 1;
43420
- (function(module, exports) {
43436
+ (function(module, exports$1) {
43421
43437
  !(function(e, i) {
43422
43438
  module.exports = i();
43423
43439
  })(isBetween, (function() {
@@ -43439,7 +43455,7 @@ var hasRequiredAdvancedFormat;
43439
43455
  function requireAdvancedFormat() {
43440
43456
  if (hasRequiredAdvancedFormat) return advancedFormat$1.exports;
43441
43457
  hasRequiredAdvancedFormat = 1;
43442
- (function(module, exports) {
43458
+ (function(module, exports$1) {
43443
43459
  !(function(e, t) {
43444
43460
  module.exports = t();
43445
43461
  })(advancedFormat, (function() {
@@ -56357,7 +56373,7 @@ var hasRequiredEn;
56357
56373
  function requireEn() {
56358
56374
  if (hasRequiredEn) return en$1.exports;
56359
56375
  hasRequiredEn = 1;
56360
- (function(module, exports) {
56376
+ (function(module, exports$1) {
56361
56377
  !(function(e, n) {
56362
56378
  module.exports = n();
56363
56379
  })(en, (function() {
@@ -56376,7 +56392,7 @@ var hasRequiredFr;
56376
56392
  function requireFr() {
56377
56393
  if (hasRequiredFr) return fr$1.exports;
56378
56394
  hasRequiredFr = 1;
56379
- (function(module, exports) {
56395
+ (function(module, exports$1) {
56380
56396
  !(function(e, n) {
56381
56397
  module.exports = n(dayjs);
56382
56398
  })(fr, (function(e) {
@@ -57137,14 +57153,14 @@ const ImagePicker = ({
57137
57153
  open();
57138
57154
  };
57139
57155
  const { open, getRootProps, getInputProps, isDragActive } = useDropzone({
57140
- ...otherProps,
57141
57156
  maxFiles: 1,
57142
57157
  onDropAccepted: handleDrop,
57143
57158
  accept: {
57144
57159
  "image/*": [".png", ".jpeg", ".jpg", ".gif"]
57145
57160
  },
57146
57161
  noClick: true,
57147
- disabled
57162
+ disabled,
57163
+ ...otherProps
57148
57164
  });
57149
57165
  return /* @__PURE__ */ jsxs(
57150
57166
  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.1763111040",
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",