oddsgate-ds 1.0.184 → 1.0.185

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.
@@ -2,6 +2,7 @@ import { CSSProperties } from 'react';
2
2
  export type ILegalLink = {
3
3
  label: string;
4
4
  url: string;
5
+ children?: ILegalLink[];
5
6
  };
6
7
  export type ILegalLinks = {
7
8
  links?: ILegalLink[];
@@ -0,0 +1,5 @@
1
+ import { ILegalLinksDropdown, ILegalLinksDropdownItem } from './LegalLinksDropdown.interface';
2
+ import React from 'react';
3
+ declare const LegalLinksDropdown: ({ children, title, className, style, ...props }: ILegalLinksDropdown) => React.JSX.Element;
4
+ export default LegalLinksDropdown;
5
+ export declare const LegalLinksDropdownItem: ({ className, style, children, onClick, ...props }: ILegalLinksDropdownItem) => React.JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { CSSProperties } from 'react';
2
+ export type ILegalLinksDropdown = {
3
+ title?: string;
4
+ className?: string;
5
+ style?: CSSProperties;
6
+ children: React.ReactNode;
7
+ };
8
+ export type ILegalLinksDropdownContainer = {
9
+ isVisible: boolean;
10
+ };
11
+ export type ILegalLinksDropdownItem = {
12
+ className?: string;
13
+ style?: CSSProperties;
14
+ children: React.ReactNode;
15
+ onClick?: () => void;
16
+ };
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { ILegalLinksDropdown, ILegalLinksDropdownContainer, ILegalLinksDropdownItem } from './LegalLinksDropdown.interface';
3
+ export declare const StyledLegalLinksDropdown: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ILegalLinksDropdown>> & string;
4
+ export declare const StyledLegalLinksDropdownTrigger: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
+ export declare const StyledLegalLinksDropdownTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
6
+ export declare const StyledLegalLinksDropdownContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, ILegalLinksDropdownContainer>> & string;
7
+ export declare const StyledLegalLinksDropdownItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, ILegalLinksDropdownItem>> & string;
8
+ export declare const StyledLegalLinksDropdownIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
@@ -0,0 +1,2 @@
1
+ export { default, LegalLinksDropdownItem } from './LegalLinksDropdown.component';
2
+ export type { ILegalLinksDropdown, ILegalLinksDropdownItem } from './LegalLinksDropdown.interface';
@@ -36,4 +36,5 @@
36
36
  <glyph unicode="&#xe91a;" glyph-name="arrowDown" horiz-adv-x="1203" d="M1202.808 305.375l-607.967 654.625-591.229-689.62c168.28-161.372 349.040-333.215 557.639-334.559 208.596-1.347 405.706 86.49 641.556 369.554z" />
37
37
  <glyph unicode="&#xe91b;" glyph-name="arrowUp" horiz-adv-x="1174" d="M-0.008 585.975l593.138-638.659 576.809 672.803c-164.177 157.434-340.53 325.085-544.039 326.398s-395.812-84.38-625.909-360.542z" />
38
38
  <glyph unicode="&#xe91c;" glyph-name="tumblr" d="M981.322 540.074c-92.269-0.211-182.275 27.258-257.306 78.518v-357.53c-0.026-66.218-21.229-130.851-60.778-185.254-39.549-54.406-95.555-95.99-160.531-119.194-64.976-23.2-135.824-26.915-203.073-10.646-67.248 16.269-127.69 51.747-173.243 101.69s-74.047 111.971-81.671 177.789c-7.624 65.818 5.985 132.288 39.007 190.522 33.022 58.237 83.884 105.462 145.784 135.36 61.9 29.901 131.888 41.050 200.604 31.955v-179.824c-31.446 9.44-65.213 9.155-96.477-0.813-31.266-9.968-58.432-29.114-77.619-54.698-19.187-25.587-29.413-56.304-29.219-87.77 0.194-31.462 10.799-62.064 30.3-87.43 19.501-25.37 46.902-44.205 78.288-53.824 31.386-9.616 65.155-9.52 96.48 0.272 31.328 9.795 58.611 28.787 77.955 54.266 19.344 25.475 29.757 56.138 29.757 87.6v698.938h184.435c-0.128-14.867 1.178-29.713 3.898-44.351v0c6.41-32.678 19.734-63.764 39.162-91.358s44.547-51.114 73.827-69.123c41.651-26.288 90.486-40.3 140.419-40.29v-174.804z" />
39
+ <glyph unicode="&#xe91d;" glyph-name="chevron-down" horiz-adv-x="1593" d="M150.85 960l639.999-640 639.998 640 150.847-150.85-790.844-790.849-790.849 790.849 150.85 150.85z" />
39
40
  </font></defs></svg>
package/dist/types.d.ts CHANGED
@@ -383,6 +383,7 @@ declare const SocialLinks: ({ variant, socials, className, style, ...props }: IS
383
383
  type ILegalLink = {
384
384
  label: string;
385
385
  url: string;
386
+ children?: ILegalLink[];
386
387
  };
387
388
  type ILegalLinks = {
388
389
  links?: ILegalLink[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oddsgate-ds",
3
- "version": "1.0.184",
3
+ "version": "1.0.185",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",