@cgi-learning-hub/ui 1.13.0-dev.1775748095 → 1.13.0-dev.1777304242

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
@@ -58893,7 +58893,7 @@ const FileListItem = ({
58893
58893
  alignItems: "flex-start",
58894
58894
  minWidth: "0",
58895
58895
  children: [
58896
- /* @__PURE__ */ jsxRuntime.jsx(EllipsisWithTooltip, { typographyProps: { variant: "body1" }, children: file.name }),
58896
+ /* @__PURE__ */ jsxRuntime.jsx(EllipsisWithTooltip, { slotProps: { text: { variant: "body1" } }, children: file.name }),
58897
58897
  /* @__PURE__ */ jsxRuntime.jsxs(
58898
58898
  Stack,
58899
58899
  {
@@ -59176,16 +59176,26 @@ const FolderCard = ({
59176
59176
  /* @__PURE__ */ jsxRuntime.jsx(
59177
59177
  EllipsisWithTooltip,
59178
59178
  {
59179
- typographyProps: titleTypographyProps,
59180
- tooltipProps: { placement: "bottom", arrow: true },
59179
+ slotProps: {
59180
+ text: titleTypographyProps,
59181
+ tooltip: {
59182
+ placement: "bottom",
59183
+ arrow: true
59184
+ }
59185
+ },
59181
59186
  children: title
59182
59187
  }
59183
59188
  ),
59184
59189
  subtitle && /* @__PURE__ */ jsxRuntime.jsx(
59185
59190
  EllipsisWithTooltip,
59186
59191
  {
59187
- typographyProps: subtitleTypographyProps,
59188
- tooltipProps: { placement: "bottom", arrow: true },
59192
+ slotProps: {
59193
+ text: subtitleTypographyProps,
59194
+ tooltip: {
59195
+ placement: "bottom",
59196
+ arrow: true
59197
+ }
59198
+ },
59189
59199
  children: subtitle
59190
59200
  }
59191
59201
  )
@@ -60473,8 +60483,16 @@ const ResourceCard = ({
60473
60483
  /* @__PURE__ */ jsxRuntime.jsx(
60474
60484
  EllipsisWithTooltip,
60475
60485
  {
60476
- typographyProps: { variant: "h4", component: "p" },
60477
- tooltipProps: { placement: "bottom", arrow: true },
60486
+ slotProps: {
60487
+ text: {
60488
+ component: "p",
60489
+ variant: "h4"
60490
+ },
60491
+ tooltip: {
60492
+ placement: "bottom",
60493
+ arrow: true
60494
+ }
60495
+ },
60478
60496
  children: title
60479
60497
  }
60480
60498
  ),
@@ -69426,7 +69444,9 @@ function CustomTreeItem(props) {
69426
69444
  EllipsisWithTooltip,
69427
69445
  {
69428
69446
  ...getLabelProps(),
69429
- typographyProps: labelStyle2
69447
+ slotProps: {
69448
+ text: labelStyle2
69449
+ }
69430
69450
  }
69431
69451
  ),
69432
69452
  /* @__PURE__ */ jsxRuntime.jsx(Box, { sx: arrowContainerStyle, children: status.expandable && (status.expanded ? /* @__PURE__ */ jsxRuntime.jsx(KeyboardArrowDownRoundedIcon, { fontSize: "small" }) : /* @__PURE__ */ jsxRuntime.jsx(KeyboardArrowRightRoundedIcon, { fontSize: "small" })) })
package/dist/index.es.js CHANGED
@@ -58876,7 +58876,7 @@ const FileListItem = ({
58876
58876
  alignItems: "flex-start",
58877
58877
  minWidth: "0",
58878
58878
  children: [
58879
- /* @__PURE__ */ jsx(EllipsisWithTooltip, { typographyProps: { variant: "body1" }, children: file.name }),
58879
+ /* @__PURE__ */ jsx(EllipsisWithTooltip, { slotProps: { text: { variant: "body1" } }, children: file.name }),
58880
58880
  /* @__PURE__ */ jsxs(
58881
58881
  Stack,
58882
58882
  {
@@ -59159,16 +59159,26 @@ const FolderCard = ({
59159
59159
  /* @__PURE__ */ jsx(
59160
59160
  EllipsisWithTooltip,
59161
59161
  {
59162
- typographyProps: titleTypographyProps,
59163
- tooltipProps: { placement: "bottom", arrow: true },
59162
+ slotProps: {
59163
+ text: titleTypographyProps,
59164
+ tooltip: {
59165
+ placement: "bottom",
59166
+ arrow: true
59167
+ }
59168
+ },
59164
59169
  children: title
59165
59170
  }
59166
59171
  ),
59167
59172
  subtitle && /* @__PURE__ */ jsx(
59168
59173
  EllipsisWithTooltip,
59169
59174
  {
59170
- typographyProps: subtitleTypographyProps,
59171
- tooltipProps: { placement: "bottom", arrow: true },
59175
+ slotProps: {
59176
+ text: subtitleTypographyProps,
59177
+ tooltip: {
59178
+ placement: "bottom",
59179
+ arrow: true
59180
+ }
59181
+ },
59172
59182
  children: subtitle
59173
59183
  }
59174
59184
  )
@@ -60456,8 +60466,16 @@ const ResourceCard = ({
60456
60466
  /* @__PURE__ */ jsx(
60457
60467
  EllipsisWithTooltip,
60458
60468
  {
60459
- typographyProps: { variant: "h4", component: "p" },
60460
- tooltipProps: { placement: "bottom", arrow: true },
60469
+ slotProps: {
60470
+ text: {
60471
+ component: "p",
60472
+ variant: "h4"
60473
+ },
60474
+ tooltip: {
60475
+ placement: "bottom",
60476
+ arrow: true
60477
+ }
60478
+ },
60461
60479
  children: title
60462
60480
  }
60463
60481
  ),
@@ -69409,7 +69427,9 @@ function CustomTreeItem(props) {
69409
69427
  EllipsisWithTooltip,
69410
69428
  {
69411
69429
  ...getLabelProps(),
69412
- typographyProps: labelStyle2
69430
+ slotProps: {
69431
+ text: labelStyle2
69432
+ }
69413
69433
  }
69414
69434
  ),
69415
69435
  /* @__PURE__ */ jsx(Box, { sx: arrowContainerStyle, children: status.expandable && (status.expanded ? /* @__PURE__ */ jsx(KeyboardArrowDownRoundedIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx(KeyboardArrowRightRoundedIcon, { fontSize: "small" })) })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.13.0-dev.1775748095",
3
+ "version": "1.13.0-dev.1777304242",
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",