@granto-umbrella/umbrella-components 3.0.23 → 3.0.24

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": "@granto-umbrella/umbrella-components",
3
- "version": "3.0.23",
3
+ "version": "3.0.24",
4
4
  "description": "Umbrella Components for React",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -1,14 +1,16 @@
1
- import styled from "styled-components"
2
- import { semanticColors, primitiveColors } from "../../../styles/tokens/colors"
1
+ import styled from 'styled-components';
2
+ import { semanticColors, primitiveColors } from '../../../styles/tokens/colors';
3
3
 
4
4
  export const Results = styled.div<{ $isPositive: boolean }>`
5
5
  display: flex;
6
6
  flex-direction: row;
7
- font-size: 14px;
7
+ font-size: 12px;
8
8
  align-items: center;
9
9
  gap: 8px;
10
10
  background-color: ${({ $isPositive }) =>
11
- $isPositive ? semanticColors.success.surface.feedback : primitiveColors.red[100]};
11
+ $isPositive
12
+ ? semanticColors.success.surface.feedback
13
+ : primitiveColors.red[100]};
12
14
  border: ${({ $isPositive }) =>
13
15
  $isPositive
14
16
  ? `1px solid ${semanticColors.success.text.feedback.accent}`
@@ -16,7 +18,9 @@ export const Results = styled.div<{ $isPositive: boolean }>`
16
18
  border-radius: 9999px;
17
19
  padding: 8px 16px;
18
20
  color: ${({ $isPositive }) =>
19
- $isPositive ? semanticColors.success.text.feedback.accent : semanticColors.danger.text.feedback.accent};
21
+ $isPositive
22
+ ? semanticColors.success.text.feedback.accent
23
+ : semanticColors.danger.text.feedback.accent};
20
24
  font-weight: 500;
21
25
  width: fit-content;
22
- `
26
+ `;