@cgi-learning-hub/ui 1.11.1-dev.1765288172 → 1.11.1-dev.1765979370

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
@@ -42736,8 +42736,6 @@ const LeftAction = styled(Button2, {
42736
42736
  color: theme.palette.common.white,
42737
42737
  transition: "all 0.2s ease-in-out",
42738
42738
  borderRadius: "4px",
42739
- fontSize: "1rem",
42740
- fontWeight: 700,
42741
42739
  padding: "8px 16px",
42742
42740
  "&:hover": {
42743
42741
  backgroundColor: theme.palette.primary.dark,
@@ -42755,8 +42753,6 @@ const RightAction = styled(Button2, {
42755
42753
  color: theme.palette.common.white,
42756
42754
  transition: "all 0.2s ease-in-out",
42757
42755
  borderRadius: "4px",
42758
- fontSize: "1rem",
42759
- fontWeight: 700,
42760
42756
  padding: "8px 16px",
42761
42757
  "&:hover": {
42762
42758
  backgroundColor: theme.palette.primary.dark,
@@ -57113,19 +57109,19 @@ const SelectedIcon = styled(Box)(({ selected, hasNoButtonOnFocus, theme }) => ({
57113
57109
  visibility: "visible",
57114
57110
  opacity: 0,
57115
57111
  cursor: "pointer",
57116
- transition: "opacity 0.2s ease-in-out, visibility 0.2s ease-in-out",
57112
+ transition: "opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, background 0.2s ease-in-out",
57117
57113
  ...selected && {
57118
57114
  background: theme.palette.primary.lighter,
57119
57115
  opacity: 1,
57120
57116
  visibility: "visible"
57121
57117
  },
57122
- ...!hasNoButtonOnFocus ? {
57123
- "&:hover, &:focus": {
57124
- background: theme.palette.primary.lighter,
57125
- opacity: 1
57126
- }
57127
- } : {
57128
- "&:hover": {
57118
+ ".MuiCard-root:hover &": {
57119
+ background: theme.palette.primary.lighter,
57120
+ opacity: 1,
57121
+ visibility: "visible"
57122
+ },
57123
+ ...!hasNoButtonOnFocus && {
57124
+ "&:focus": {
57129
57125
  background: theme.palette.primary.lighter,
57130
57126
  opacity: 1
57131
57127
  }
package/dist/index.es.js CHANGED
@@ -42719,8 +42719,6 @@ const LeftAction = styled(Button2, {
42719
42719
  color: theme.palette.common.white,
42720
42720
  transition: "all 0.2s ease-in-out",
42721
42721
  borderRadius: "4px",
42722
- fontSize: "1rem",
42723
- fontWeight: 700,
42724
42722
  padding: "8px 16px",
42725
42723
  "&:hover": {
42726
42724
  backgroundColor: theme.palette.primary.dark,
@@ -42738,8 +42736,6 @@ const RightAction = styled(Button2, {
42738
42736
  color: theme.palette.common.white,
42739
42737
  transition: "all 0.2s ease-in-out",
42740
42738
  borderRadius: "4px",
42741
- fontSize: "1rem",
42742
- fontWeight: 700,
42743
42739
  padding: "8px 16px",
42744
42740
  "&:hover": {
42745
42741
  backgroundColor: theme.palette.primary.dark,
@@ -57096,19 +57092,19 @@ const SelectedIcon = styled(Box)(({ selected, hasNoButtonOnFocus, theme }) => ({
57096
57092
  visibility: "visible",
57097
57093
  opacity: 0,
57098
57094
  cursor: "pointer",
57099
- transition: "opacity 0.2s ease-in-out, visibility 0.2s ease-in-out",
57095
+ transition: "opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, background 0.2s ease-in-out",
57100
57096
  ...selected && {
57101
57097
  background: theme.palette.primary.lighter,
57102
57098
  opacity: 1,
57103
57099
  visibility: "visible"
57104
57100
  },
57105
- ...!hasNoButtonOnFocus ? {
57106
- "&:hover, &:focus": {
57107
- background: theme.palette.primary.lighter,
57108
- opacity: 1
57109
- }
57110
- } : {
57111
- "&:hover": {
57101
+ ".MuiCard-root:hover &": {
57102
+ background: theme.palette.primary.lighter,
57103
+ opacity: 1,
57104
+ visibility: "visible"
57105
+ },
57106
+ ...!hasNoButtonOnFocus && {
57107
+ "&:focus": {
57112
57108
  background: theme.palette.primary.lighter,
57113
57109
  opacity: 1
57114
57110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.11.1-dev.1765288172",
3
+ "version": "1.11.1-dev.1765979370",
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",