@trackunit/react-components 1.7.31 → 1.7.32
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/index.cjs.js +2 -1
- package/index.esm.js +2 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -28,7 +28,7 @@ const docs = {
|
|
|
28
28
|
},
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
const cvaIcon = cssClassVarianceUtilities.cvaMerge(["aspect-square", "inline-grid", "relative"], {
|
|
31
|
+
const cvaIcon = cssClassVarianceUtilities.cvaMerge(["aspect-square", "inline-grid", "relative", "shrink-0"], {
|
|
32
32
|
variants: {
|
|
33
33
|
color: {
|
|
34
34
|
primary: "text-primary-600",
|
|
@@ -1773,6 +1773,7 @@ const cvaCard = cssClassVarianceUtilities.cvaMerge([
|
|
|
1773
1773
|
"component-card-border",
|
|
1774
1774
|
"transition-shadow",
|
|
1775
1775
|
"ease-in-out",
|
|
1776
|
+
"overflow-clip", //otherwise rounded corners are not respected (clip is preferable to hidden since it doesn't create a scroll clipping box. )
|
|
1776
1777
|
], {
|
|
1777
1778
|
variants: {
|
|
1778
1779
|
clickable: {
|
package/index.esm.js
CHANGED
|
@@ -26,7 +26,7 @@ const docs = {
|
|
|
26
26
|
},
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
const cvaIcon = cvaMerge(["aspect-square", "inline-grid", "relative"], {
|
|
29
|
+
const cvaIcon = cvaMerge(["aspect-square", "inline-grid", "relative", "shrink-0"], {
|
|
30
30
|
variants: {
|
|
31
31
|
color: {
|
|
32
32
|
primary: "text-primary-600",
|
|
@@ -1771,6 +1771,7 @@ const cvaCard = cvaMerge([
|
|
|
1771
1771
|
"component-card-border",
|
|
1772
1772
|
"transition-shadow",
|
|
1773
1773
|
"ease-in-out",
|
|
1774
|
+
"overflow-clip", //otherwise rounded corners are not respected (clip is preferable to hidden since it doesn't create a scroll clipping box. )
|
|
1774
1775
|
], {
|
|
1775
1776
|
variants: {
|
|
1776
1777
|
clickable: {
|