@thecb/components 12.0.0-beta.9 → 12.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "12.0.0-beta.9",
3
+ "version": "12.0.0",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -59,7 +59,7 @@ const LinkCard = ({
59
59
  variant={titleVariant}
60
60
  $theme={themeValues}
61
61
  margin={0}
62
- disabled={disabled}
62
+ $disabled={disabled}
63
63
  >
64
64
  {title}
65
65
  </Styled.Title>
@@ -75,7 +75,7 @@ const LinkCard = ({
75
75
  <Styled.Subtitle
76
76
  variant="pS"
77
77
  $theme={themeValues}
78
- disabled={disabled}
78
+ $disabled={disabled}
79
79
  >
80
80
  {subtitle}
81
81
  </Styled.Subtitle>
@@ -82,7 +82,7 @@ export const Title = styled(Heading)`
82
82
  line-height: 150%;
83
83
  background-color: transparent;
84
84
  font-weight: ${FONT_WEIGHT_SEMIBOLD};
85
- color: ${({ disabled, $theme: theme }) =>
85
+ color: ${({ $disabled: disabled, $theme: theme }) =>
86
86
  disabled ? theme.disabledColor : theme.color};
87
87
  `;
88
88
 
@@ -97,7 +97,7 @@ export const Subtitle = styled(Paragraph)`
97
97
  line-height: 150%;
98
98
  letter-spacing: 0.14px;
99
99
  font-weight: ${FONT_WEIGHT_REGULAR};
100
- color: ${({ disabled, $theme: theme }) =>
100
+ color: ${({ $disabled: disabled, $theme: theme }) =>
101
101
  disabled ? theme.disabledColor : theme.textColor};
102
102
  `;
103
103