oddsgate-ds 1.0.62 → 1.0.63

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": "oddsgate-ds",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -71,32 +71,6 @@ export const StyledButton = styled.a<IButtonSC>`
71
71
  }
72
72
  }
73
73
  `;
74
- case "secondary":
75
- return css`
76
- ${fontSize('h5')};
77
- font-weight: 700;
78
- text-transform:uppercase;
79
- padding: 0.8rem 1.6rem;
80
- border-radius: 50px;
81
-
82
- ${props.$mode === "light" ? `
83
- color: ${colors.primary50};
84
- background-color: ${colors.secondary50};
85
-
86
- &:hover{
87
- color: ${colors.secondary50};
88
- background-color: ${colors.primary50};
89
- }
90
- ` : `
91
- color: ${colors.secondary50};
92
- background-color: ${colors.primary50};
93
-
94
- &:hover{
95
- color: ${colors.primary50};
96
- background-color: ${colors.secondary50};
97
- }
98
- `}
99
- `;
100
74
  case "link":
101
75
  return css`
102
76
  ${fontSize('h5')};
@@ -28,14 +28,14 @@ const BlogCard = ({
28
28
  </>
29
29
  }
30
30
  >
31
- <Heading tag={'h3'} size={'h4'} className={'fw-bold textEllipsis'}>
31
+ <Heading tag={'h3'} size={'h4'} className={'fw-bold textEllipsis mt-4'}>
32
32
  {title}
33
33
  </Heading>
34
- <Heading tag={'span'} size={'captions'} className={'textEllipsis mt-2'}>
34
+ <Heading tag={'span'} size={'captions'} className={'textEllipsis mt-3'}>
35
35
  {description}
36
36
  </Heading>
37
37
  {date && (
38
- <RichText tag={'p'} className="fw-bold mt-3">
38
+ <RichText tag={'p'} className="fw-bold mt-4">
39
39
  {date}
40
40
  </RichText>
41
41
  )}
@@ -8,6 +8,7 @@ import { variables } from '@/index';
8
8
 
9
9
  export const StyledBlogCard = styled(Card) <IBlogCard>`
10
10
  padding: 1rem;
11
+ color: ${colors.secondary50};
11
12
  background-color: ${colors.primary50};
12
13
  border-radius: ${radius.sm};
13
14
  text-align: center;
@@ -24,11 +24,14 @@ const NewsCard = ({
24
24
  }
25
25
  >
26
26
  {category && <Chip variant='light' className='mb-5'>{category}</Chip>}
27
- <Heading tag={'h3'} size={variant === "featured" ? "h3" : 'h4'} className={'fw-bold textEllipsis'}>
27
+ <Heading tag={'h3'} size={variant === "featured" ? "h3" : 'h4'} className={'fw-bold textEllipsis mt-4'}>
28
28
  {title}
29
29
  </Heading>
30
+ <Heading tag={'span'} size={'captions'} className={'textEllipsis mt-3'}>
31
+ {description}
32
+ </Heading>
30
33
  {date && (
31
- <Heading tag={'span'} size={variant === "featured" ? "h5" : 'texts'} className={'fw-bold mt-3'}>
34
+ <Heading tag={'span'} size={variant === "featured" ? "h5" : 'texts'} className={'fw-bold mt-4'}>
32
35
  {date}
33
36
  </Heading>
34
37
  )}
@@ -130,7 +130,8 @@ export const utilities: {
130
130
  between: "space-between",
131
131
  around: "space-around",
132
132
  evenly: "space-evenly",
133
- }
133
+ },
134
+ important: true,
134
135
  },
135
136
  "align-items": {
136
137
  responsive: true,
@@ -141,7 +142,8 @@ export const utilities: {
141
142
  center: "center",
142
143
  baseline: "baseline",
143
144
  stretch: "stretch",
144
- }
145
+ },
146
+ important: true,
145
147
  },
146
148
  "align-content": {
147
149
  responsive: true,
@@ -153,7 +155,8 @@ export const utilities: {
153
155
  between: "space-between",
154
156
  around: "space-around",
155
157
  stretch: "stretch",
156
- }
158
+ },
159
+ important: true,
157
160
  },
158
161
  "align-self": {
159
162
  responsive: true,
@@ -165,7 +168,8 @@ export const utilities: {
165
168
  center: "center",
166
169
  baseline: "baseline",
167
170
  stretch: "stretch",
168
- }
171
+ },
172
+ important: true,
169
173
  },
170
174
  "order": {
171
175
  responsive: true,