oddsgate-ds 1.0.167 → 1.0.169

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.
@@ -21,6 +21,7 @@ export { default as CloseButton } from './components/atoms/CloseButton';
21
21
  export { default as Counter } from './components/atoms/Counter';
22
22
  export { default as ScrollingNav } from './components/atoms/ScrollingNav';
23
23
  export { default as SocialLinks } from './components/atoms/SocialLinks';
24
+ export { default as LegalLinks } from './components/atoms/LegalLinks';
24
25
  export { default as Marquee } from './components/atoms/Marquee';
25
26
  export { default as CardMarquee } from './components/atoms/CardMarquee';
26
27
  export { default as PortalComponent } from './components/common/PortalComponent';
package/dist/types.d.ts CHANGED
@@ -380,6 +380,18 @@ type ISocialLinks = {
380
380
 
381
381
  declare const SocialLinks: ({ variant, socials, className, style, ...props }: ISocialLinks) => React__default.JSX.Element;
382
382
 
383
+ type ILegalLink = {
384
+ label: string;
385
+ url: string;
386
+ };
387
+ type ILegalLinks = {
388
+ links?: ILegalLink[];
389
+ className?: string;
390
+ style?: CSSProperties;
391
+ };
392
+
393
+ declare const LegalLinks: ({ links, className, style, }: ILegalLinks) => React__default.JSX.Element;
394
+
383
395
  type IMarquee = {
384
396
  text?: string;
385
397
  repeat?: number;
@@ -682,4 +694,4 @@ declare function useMediaMatch(query?: string): boolean;
682
694
 
683
695
  declare const debounce: (callback: any, wait: number) => (...args: any) => void;
684
696
 
685
- export { Accordion, AccordionItem, BlogCard, Button, CardMarquee, CareersCard, CheckRadioField, Chip, CircularSlider, CloseButton, Column, Counter, Cover, Dropdown, DropdownItem, EmptyState, EventsCard, Flex, FormField, GlobalStyles, Heading, Icon, IconBox, IconTitle, ImageWrapper, LicenseCard, Loader, LogosCard, Marquee, Modal, NewsCard, OffCanvas, PortalComponent, ProductCard, ProductsSlider, Quote, RichText, Row, ScrollingNav, Separator, ShareModal, Slider, SocialLinks, Spacer, Tabs, TeamCard, Video, VideoEmbed, clickOutSideToClose, debounce, iconsList, isTouchDevice, useMediaMatch, variables };
697
+ export { Accordion, AccordionItem, BlogCard, Button, CardMarquee, CareersCard, CheckRadioField, Chip, CircularSlider, CloseButton, Column, Counter, Cover, Dropdown, DropdownItem, EmptyState, EventsCard, Flex, FormField, GlobalStyles, Heading, Icon, IconBox, IconTitle, ImageWrapper, LegalLinks, LicenseCard, Loader, LogosCard, Marquee, Modal, NewsCard, OffCanvas, PortalComponent, ProductCard, ProductsSlider, Quote, RichText, Row, ScrollingNav, Separator, ShareModal, Slider, SocialLinks, Spacer, Tabs, TeamCard, Video, VideoEmbed, clickOutSideToClose, debounce, iconsList, isTouchDevice, useMediaMatch, variables };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oddsgate-ds",
3
- "version": "1.0.167",
3
+ "version": "1.0.169",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -4,20 +4,31 @@ import styled from 'styled-components'
4
4
  import { ILegalLinks } from './LegalLinks.interface'
5
5
 
6
6
  export const StyledLegalLinks = styled.ul<ILegalLinks>`
7
- display: inline-flex;
8
- align-items: center;
9
- flex-flow: row wrap;
10
- gap: 32px;
7
+ font-family: var(--alternative-fontFamily);
8
+ text-align: center;
9
+ display: flex;
10
+ flex-direction: column;
11
+ gap: 12px;
12
+ font-size: 12px;
13
+
14
+ a {
15
+ text-decoration: underline;
16
+ font-weight: 400;
17
+ transition: opacity 0.3s linear;
18
+
19
+ &:hover {
20
+ opacity: 0.6;
21
+ }
22
+ }
11
23
 
12
- & li {
13
- & a {
24
+ @media only screen and (min-width: ${responsiveMedia}) {
25
+ display: inline-flex;
26
+ flex-flow: row wrap;
27
+ align-items: center;
28
+ gap: 32px;
29
+
30
+ a {
14
31
  font-size: 15px;
15
- font-style: normal;
16
- font-weight: 400;
17
- transition: all 0.3s linear;
18
- &:hover {
19
- opacity: 0.6;
20
- }
21
32
  }
22
33
  }
23
- `
34
+ `
package/src/index.ts CHANGED
@@ -23,6 +23,7 @@ export { default as CloseButton } from './components/atoms/CloseButton'
23
23
  export { default as Counter } from './components/atoms/Counter'
24
24
  export { default as ScrollingNav } from './components/atoms/ScrollingNav'
25
25
  export { default as SocialLinks } from './components/atoms/SocialLinks'
26
+ export { default as LegalLinks } from './components/atoms/LegalLinks'
26
27
  export { default as Marquee } from './components/atoms/Marquee'
27
28
  export { default as CardMarquee } from './components/atoms/CardMarquee'
28
29