oddsgate-ds 1.0.99 → 1.0.101

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.99",
3
+ "version": "1.0.101",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -77,6 +77,25 @@ export const StyledFieldContainer = styled.div<IFormField>`
77
77
  }
78
78
  }
79
79
 
80
+ input::file-selector-button {
81
+ font-family: inherit;
82
+ color: ${colors.secondary50};
83
+ background-color: ${colors.primary50};
84
+ ${fontSize('h5')};
85
+ padding: 0.8rem 1.6rem;
86
+ border-radius: 50px;
87
+ text-transform: uppercase;
88
+
89
+ border: 0;
90
+ outline: 0;
91
+ cursor:pointer;
92
+ transition: all 0.3s ease;
93
+
94
+ &:hover{
95
+ opacity: 0.6;
96
+ }
97
+ }
98
+
80
99
  textarea{
81
100
  border-radius: 46px;
82
101
  height: 11.5rem;
@@ -1,7 +1,7 @@
1
+ import { colors, responsiveMedia } from '@/styles/variables';
1
2
  import styled, { css } from 'styled-components';
2
3
 
3
4
  import { ISocialLinks } from './SocialLinks.interface';
4
- import { colors } from '@/styles/variables';
5
5
 
6
6
  export const StyledSocialLinks = styled.ul<ISocialLinks>`
7
7
  display: inline-flex;
@@ -15,8 +15,8 @@ export const StyledSocialLinks = styled.ul<ISocialLinks>`
15
15
  align-items: center;
16
16
  justify-content: center;
17
17
 
18
- width: 2.8rem;
19
- height: 2.8rem;
18
+ width: 4rem;
19
+ height: 4rem;
20
20
  border-radius: 50%;
21
21
  text-align: center;
22
22
 
@@ -32,6 +32,19 @@ export const StyledSocialLinks = styled.ul<ISocialLinks>`
32
32
  }
33
33
  }
34
34
 
35
+ @media only screen and (min-width: ${responsiveMedia}) {
36
+ & li{
37
+ & a{
38
+ width: 6rem;
39
+ height: 6rem;
40
+ }
41
+
42
+ & i{
43
+ font-size: 2.4rem;
44
+ }
45
+ }
46
+ }
47
+
35
48
  ${(props) => {
36
49
  switch (props.variant) {
37
50
  case "light": default:
@@ -35,7 +35,7 @@ const BlogCard = ({
35
35
  {description}
36
36
  </Heading>
37
37
  {date && (
38
- <RichText tag={'p'} className="fw-bold mt-4">
38
+ <RichText tag={'span'} className="fw-bold mt-4">
39
39
  {date}
40
40
  </RichText>
41
41
  )}
@@ -20,6 +20,12 @@ export const StyledBlogCard = styled(Card) <IBlogCard>`
20
20
  z-index: 10;
21
21
  }
22
22
 
23
+ & picture{
24
+ & img{
25
+ opacity: 1 !important;
26
+ }
27
+ }
28
+
23
29
  & figcaption{
24
30
 
25
31
  }
@@ -1,4 +1,4 @@
1
- import { colors, radius } from '@/styles/variables';
1
+ import { colors, radius, responsiveMedia } from '@/styles/variables';
2
2
  import styled, { css } from 'styled-components';
3
3
 
4
4
  import { ILicenseCard } from './LicenseCard.interface';
@@ -14,8 +14,15 @@ export const StyledLicenseCard = styled.div <ILicenseCard>`
14
14
 
15
15
  & img{
16
16
  width: 100%;
17
- max-width: 7rem;
17
+ max-width: 4rem;
18
18
  object-fit: contain;
19
19
  }
20
+
21
+
22
+ @media only screen and (min-width: ${responsiveMedia}) {
23
+ & img{
24
+ max-width: 7rem;
25
+ }
26
+ }
20
27
  `;
21
28
 
@@ -20,10 +20,12 @@ const NewsCard = ({
20
20
  <StyledNewsCard
21
21
  $variant={variant}
22
22
  imageElement={
23
- <ImageWrapper aspectRatioHeight={63}>{imageElement}</ImageWrapper>
23
+ <>
24
+ {category && <Chip variant='light'>{category}</Chip>}
25
+ <ImageWrapper aspectRatioHeight={63}>{imageElement}</ImageWrapper>
26
+ </>
24
27
  }
25
28
  >
26
- {category && <Chip variant='light' className='mb-5'>{category}</Chip>}
27
29
  <Heading tag={'h3'} size={variant === "featured" ? "h3" : 'h4'} className={'fw-bold textEllipsis mt-4'}>
28
30
  {title}
29
31
  </Heading>
@@ -173,7 +173,7 @@ export const grid_conf: {
173
173
  breakpoints: {
174
174
  $xs: "",
175
175
  $sm: "576px",
176
- $md: "768px",
176
+ $md: "769px",
177
177
  $lg: "980px",
178
178
  $xl: "1280px"
179
179
  }