@liguelead/design-system 0.0.38 → 0.0.39

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.
@@ -99,6 +99,7 @@ export const CardIconWrapper = styled.div`
99
99
  svg {
100
100
  width: 20px;
101
101
  height: 20px;
102
+ color: ${({ theme }) => parseColor(theme.colors.neutral1000)};
102
103
  }
103
104
  `
104
105
 
@@ -139,7 +139,7 @@ const RadioCardGroup = <TFieldValues extends object = object>({
139
139
  )}
140
140
  <BadgesList>
141
141
  {option.badges.map((badge, i) => (
142
- <Badge key={i} color="primary">
142
+ <Badge key={i} color={isChecked ? 'primary' : 'primaryLight'}>
143
143
  {badge}
144
144
  </Badge>
145
145
  ))}
@@ -172,6 +172,7 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
172
172
  if (maxLength !== undefined && newValue.length > maxLength) return
173
173
 
174
174
  setTextAreaValue(newValue)
175
+ onTextAreaChange?.({ target: { value: newValue } } as React.ChangeEvent<HTMLTextAreaElement>)
175
176
 
176
177
  requestAnimationFrame(() => {
177
178
  el.focus()
@@ -224,7 +225,7 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
224
225
  <TextAreaFooter>
225
226
  {maxLength !== undefined && (
226
227
  <CharCount $isOver={isOver}>
227
- {charCount}/{maxLength}
228
+ {charCount.toLocaleString('pt-BR')}/{maxLength.toLocaleString('pt-BR')}
228
229
  </CharCount>
229
230
  )}
230
231
  {showVariableButton && (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liguelead/design-system",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "type": "module",
5
5
  "main": "components/index.ts",
6
6
  "publishConfig": {