@cgi-learning-hub/ui 1.15.0-dev.1788514401 → 1.15.0-dev.1788516152

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.
@@ -2372,16 +2372,14 @@ var TextAlignButton = (0, react.forwardRef)(({ editor: providedEditor, align, te
2372
2372
  });
2373
2373
  });
2374
2374
  TextAlignButton.displayName = "TextAlignButton";
2375
- //#endregion
2376
- //#region src/tiptap/components/ui/text-color-popover/const.ts
2377
2375
  var COLORS = [
2376
+ "#000000",
2378
2377
  "#F44336",
2379
2378
  "#E91E63",
2380
2379
  "#9C27B0",
2381
2380
  "#673AB7",
2382
2381
  "#3F51B5",
2383
2382
  "#2196F3",
2384
- "#03A9F4",
2385
2383
  "#00BCD4",
2386
2384
  "#009688",
2387
2385
  "#4CAF50",
@@ -2507,13 +2505,13 @@ TextColorButton.displayName = "TextColorButton";
2507
2505
  */
2508
2506
  var TextColorMain = ({ setTextColor, removeTextColor, onChange, activeColor }) => {
2509
2507
  const handleChange = (color) => {
2510
- if (color.hex === activeColor) removeTextColor();
2508
+ if (color.hex === "#000000") removeTextColor();
2511
2509
  else setTextColor(color.hex);
2512
2510
  onChange?.();
2513
2511
  };
2514
2512
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.Circle, {
2515
2513
  colors: COLORS,
2516
- color: activeColor ?? void 0,
2514
+ color: activeColor ?? "#000000",
2517
2515
  onChange: handleChange,
2518
2516
  style: {
2519
2517
  gap: 5,
@@ -2348,16 +2348,14 @@ var TextAlignButton = forwardRef(({ editor: providedEditor, align, text, hideWhe
2348
2348
  });
2349
2349
  });
2350
2350
  TextAlignButton.displayName = "TextAlignButton";
2351
- //#endregion
2352
- //#region src/tiptap/components/ui/text-color-popover/const.ts
2353
2351
  var COLORS = [
2352
+ "#000000",
2354
2353
  "#F44336",
2355
2354
  "#E91E63",
2356
2355
  "#9C27B0",
2357
2356
  "#673AB7",
2358
2357
  "#3F51B5",
2359
2358
  "#2196F3",
2360
- "#03A9F4",
2361
2359
  "#00BCD4",
2362
2360
  "#009688",
2363
2361
  "#4CAF50",
@@ -2483,13 +2481,13 @@ TextColorButton.displayName = "TextColorButton";
2483
2481
  */
2484
2482
  var TextColorMain = ({ setTextColor, removeTextColor, onChange, activeColor }) => {
2485
2483
  const handleChange = (color) => {
2486
- if (color.hex === activeColor) removeTextColor();
2484
+ if (color.hex === "#000000") removeTextColor();
2487
2485
  else setTextColor(color.hex);
2488
2486
  onChange?.();
2489
2487
  };
2490
2488
  return /* @__PURE__ */ jsx(Circle, {
2491
2489
  colors: COLORS,
2492
- color: activeColor ?? void 0,
2490
+ color: activeColor ?? "#000000",
2493
2491
  onChange: handleChange,
2494
2492
  style: {
2495
2493
  gap: 5,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.15.0-dev.1788514401",
3
+ "version": "1.15.0-dev.1788516152",
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",