@20minutes/hela 0.1.35 → 0.1.37
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/dist/assets/scripts/collapse.d.ts +1 -1
- package/dist/components/atoms/Button/Button.d.ts +9 -8
- package/dist/components/molecules/FooterLinks/FooterLinks.d.ts +7 -5
- package/dist/components/molecules/InfoBanner/InfoBanner.d.ts +5 -1
- package/dist/index.es.js +6621 -6545
- package/dist/index.umd.js +50 -50
- package/dist/js/main.min.js +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const listenerOfCollapse: (collapse?: null | HTMLButtonElement) => void;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { IconProps } from '../../../components';
|
|
3
|
+
import { MarginSystemProps, PolymorphicProps } from '../../../types';
|
|
4
|
+
export declare const buttonVariant: readonly ["primary", "secondary", "tertiary", "ghost", "round"];
|
|
5
|
+
export declare type ButtonVariantType = typeof buttonVariant[number];
|
|
6
|
+
export declare type ButtonProps<C extends React.ElementType = 'button'> = PolymorphicProps<C> & MarginSystemProps & {
|
|
7
|
+
variant?: ButtonVariantType;
|
|
5
8
|
children?: React.ReactNode;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
iconProps?: IconProps;
|
|
10
|
+
};
|
|
11
|
+
export declare const Button: React.ForwardRefExoticComponent<Pick<ButtonProps<React.ElementType<any>>, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
export declare type LinkType = {
|
|
3
|
+
id?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
javascript?: string;
|
|
7
|
+
};
|
|
2
8
|
export interface FooterLinksProps {
|
|
3
9
|
listClass?: string;
|
|
4
10
|
footerBar: {
|
|
5
|
-
links:
|
|
6
|
-
name: string;
|
|
7
|
-
url: string;
|
|
8
|
-
javascript?: string;
|
|
9
|
-
}[];
|
|
11
|
+
links: LinkType[];
|
|
10
12
|
}[];
|
|
11
13
|
}
|
|
12
14
|
export declare const FooterLinks: React.FC<FooterLinksProps>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface InfoBannerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
|
|
3
|
+
cover?: string;
|
|
4
4
|
description: string;
|
|
5
|
+
title: string;
|
|
6
|
+
variant?: 'default' | 'alert';
|
|
7
|
+
isCloseable?: boolean;
|
|
8
|
+
link?: string;
|
|
5
9
|
}
|
|
6
10
|
export declare const InfoBanner: React.FC<InfoBannerProps>;
|