@20minutes/hela 2.16.4 → 2.16.6
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/index.es.js +1541 -1523
- package/dist/index.umd.js +1 -1
- package/dist/js/scripts.es.js +172 -165
- package/dist/js/scripts.umd.js +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/src/assets/scripts/infoBanner.d.ts +1 -0
- package/dist/src/components/molecules/Header/HeaderMini/HeaderMini.d.ts +1 -1
- package/dist/src/components/molecules/Header/HeaderMini/HeaderMini.stories.d.ts +1 -1
- package/dist/src/components/molecules/InfoBanner/InfoBanner.d.ts +1 -0
- package/dist/src/components/molecules/InfoBanner/InfoBanner.stories.d.ts +5 -2
- package/dist/src/components/organisms/Footer/Footer.d.ts +1 -1
- package/dist/src/components/organisms/Footer/Footer.stories.d.ts +1 -1
- package/dist/src/components/organisms/Header/Header.d.ts +2 -1
- package/dist/src/components/organisms/Header/HeaderMobile.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FlexProps, HeaderProps } from '../../..';
|
|
3
3
|
import { ThemeColorType } from '../../../../types';
|
|
4
|
-
export interface HeaderMiniProps extends Pick<HeaderProps, '
|
|
4
|
+
export interface HeaderMiniProps extends Pick<HeaderProps, 'logoHref' | 'headerLinks'>, FlexProps {
|
|
5
5
|
isArticlePage?: boolean;
|
|
6
6
|
shortTitle?: string;
|
|
7
7
|
isHidden?: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { StoryFn, StoryObj } from '@storybook/react-vite';
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component:
|
|
5
|
+
component: React.FC<import('./InfoBanner').InfoBannerProps>;
|
|
5
6
|
argTypes: {
|
|
6
7
|
inline?: import('@storybook/csf').InputType | undefined;
|
|
7
8
|
direction?: import('@storybook/csf').InputType | undefined;
|
|
@@ -35,7 +36,9 @@ declare const meta: {
|
|
|
35
36
|
parameters: {
|
|
36
37
|
layout: string;
|
|
37
38
|
};
|
|
39
|
+
decorators: ((Story: StoryFn) => React.JSX.Element)[];
|
|
38
40
|
};
|
|
39
41
|
export default meta;
|
|
40
42
|
type Story = StoryObj<typeof meta>;
|
|
41
43
|
export declare const Overview: Story;
|
|
44
|
+
export declare const WithInfoButton: Story;
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { LinkProps } from '../..';
|
|
3
3
|
import { IconNameType, LayoutType, ThemeColorType } from '../../../types';
|
|
4
4
|
export interface FooterProps {
|
|
5
|
-
|
|
5
|
+
logoHref: string;
|
|
6
6
|
socialIcons: {
|
|
7
7
|
name: IconNameType;
|
|
8
8
|
url: string;
|
|
@@ -2,11 +2,12 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { SubMenuProps } from '../..';
|
|
3
3
|
import { LayoutType, ThemeColorType } from '../../../types';
|
|
4
4
|
export interface HeaderProps {
|
|
5
|
-
|
|
5
|
+
logoHref: string;
|
|
6
6
|
searchformurl: string;
|
|
7
7
|
headerLinks: (SubMenuProps & {
|
|
8
8
|
isActive?: boolean;
|
|
9
9
|
})[];
|
|
10
|
+
homeHref?: string;
|
|
10
11
|
logoIsHeading?: boolean;
|
|
11
12
|
layout?: LayoutType;
|
|
12
13
|
themeColor?: ThemeColorType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { HeaderProps } from '../..';
|
|
3
|
-
export declare const HeaderMobile: React.FC<Pick<HeaderProps, '
|
|
3
|
+
export declare const HeaderMobile: React.FC<Pick<HeaderProps, 'logoHref' | 'logoIsHeading' | 'themeColor' | 'isHidden' | 'logoName' | 'showOpenButton'> & {
|
|
4
4
|
backhref?: string;
|
|
5
5
|
}>;
|