@20minutes/hela 2.26.5 → 2.26.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/assets/scripts/subMenuCards.d.ts +1 -0
- package/dist/components/atoms/Divider/Divider.d.ts +1 -1
- package/dist/components/atoms/InfoButton/InfoButton.d.ts +2 -1
- package/dist/components/atoms/index.d.ts +0 -1
- package/dist/components/molecules/Article/Media/Media.d.ts +1 -0
- package/dist/components/molecules/Astro/AstroTopicCard/AstroTopicCard.d.ts +1 -0
- package/dist/components/molecules/Card/Templates/CardMost/CardMost.d.ts +2 -1
- package/dist/components/molecules/Card/Templates/CardWithButton/CardWithButton.d.ts +2 -2
- package/dist/components/molecules/Card/Templates/CardWithSummary/CardWithSummary.d.ts +2 -1
- package/dist/components/molecules/index.d.ts +0 -1
- package/dist/components/organisms/MostWatchVideos/MostWatchVideos.d.ts +0 -3
- package/dist/components/{molecules → organisms}/SubMenu/SubMenu.d.ts +2 -2
- package/dist/components/organisms/SubMenu/SubMenuCards.d.ts +9 -0
- package/dist/components/organisms/SubMenu/index.d.ts +2 -0
- package/dist/components/organisms/ThreeColumnsArticles/ThreeColumnsArticles.d.ts +1 -1
- package/dist/components/organisms/index.d.ts +1 -0
- package/dist/index.es.js +1664 -1605
- package/dist/index.umd.cjs +1 -1
- package/dist/js/scripts.es.js +429 -385
- package/dist/js/scripts.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/atoms/DividerSection/DividerSection.d.ts +0 -4
- package/dist/components/atoms/DividerSection/index.d.ts +0 -1
- package/dist/components/molecules/SubMenu/index.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const listenerOfSubMenuCards: () => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FlexProps } from '../..';
|
|
2
2
|
export interface DividerOptions {
|
|
3
3
|
text?: string;
|
|
4
|
-
thickness?: 'thin' | 'thick';
|
|
4
|
+
thickness?: 'thin' | 'thick' | 'heavy';
|
|
5
5
|
}
|
|
6
6
|
export type DividerProps = DividerOptions & FlexProps;
|
|
7
7
|
export declare const Divider: import('../../..').ComponentWithAs<"div", DividerProps>;
|
|
@@ -2,5 +2,6 @@ export interface InfoButtonProps {
|
|
|
2
2
|
children?: React.ReactNode;
|
|
3
3
|
ariaLabel?: string;
|
|
4
4
|
className?: string;
|
|
5
|
+
isRightAnchored?: boolean;
|
|
5
6
|
}
|
|
6
|
-
export declare const InfoButton: ({ children, ariaLabel, className, }: InfoButtonProps) => import("react").JSX.Element;
|
|
7
|
+
export declare const InfoButton: ({ children, ariaLabel, className, isRightAnchored, }: InfoButtonProps) => import("react").JSX.Element;
|
|
@@ -4,6 +4,7 @@ export interface AstroTopicCardOptions {
|
|
|
4
4
|
icon: IconNameType;
|
|
5
5
|
title: string;
|
|
6
6
|
content: string;
|
|
7
|
+
hasBorderBottom?: boolean;
|
|
7
8
|
}
|
|
8
9
|
export type AstroTopicCardProps = AstroTopicCardOptions & BoxProps;
|
|
9
10
|
export declare const AstroTopicCard: import('../../../../types').ComponentWithAs<"div", AstroTopicCardProps>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { BoxProps } from '../../../..';
|
|
2
3
|
import { CardType, LayoutType, SpacingSystemProps } from '../../../../../types';
|
|
3
|
-
export interface CardMostProps extends CardType, SpacingSystemProps {
|
|
4
|
+
export interface CardMostProps extends CardType, SpacingSystemProps, Pick<BoxProps, 'className'> {
|
|
4
5
|
layout: LayoutType;
|
|
5
6
|
cardNumber: {
|
|
6
7
|
value: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { LinkProps } from '../../../..';
|
|
2
|
+
import { FlexProps, LinkProps } from '../../../..';
|
|
3
3
|
import { CardType, SpacingSystemProps } from '../../../../../types';
|
|
4
|
-
export interface CardWithButtonProps extends Omit<CardType, 'title'>, SpacingSystemProps {
|
|
4
|
+
export interface CardWithButtonProps extends Omit<CardType, 'title'>, SpacingSystemProps, Pick<FlexProps, 'className'> {
|
|
5
5
|
location: string;
|
|
6
6
|
linkProps: LinkProps;
|
|
7
7
|
title?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { FlexProps } from '../../../..';
|
|
2
3
|
import { CardType, LayoutType, SpacingSystemProps } from '../../../../../types';
|
|
3
|
-
export interface CardWithSummaryProps extends CardType, SpacingSystemProps {
|
|
4
|
+
export interface CardWithSummaryProps extends CardType, SpacingSystemProps, Pick<FlexProps, 'className'> {
|
|
4
5
|
layout: LayoutType;
|
|
5
6
|
}
|
|
6
7
|
export declare const CardWithSummary: React.FC<CardWithSummaryProps>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { BoxProps, LinkProps, TabProps } from '../..';
|
|
3
2
|
import { ColorType, LayoutType, TextType } from '../../../types';
|
|
4
3
|
export interface MostWatchVideosProps extends BoxProps {
|
|
@@ -17,9 +16,7 @@ export interface MostWatchVideosProps extends BoxProps {
|
|
|
17
16
|
tabColor?: TabProps['tabColor'];
|
|
18
17
|
}[];
|
|
19
18
|
layout: LayoutType;
|
|
20
|
-
fitContainer?: boolean;
|
|
21
19
|
tabItemActive?: string;
|
|
22
|
-
isScrollable?: boolean;
|
|
23
20
|
tabTitlesColor?: ColorType;
|
|
24
21
|
}
|
|
25
22
|
export declare const MostWatchVideos: React.FC<MostWatchVideosProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { FlexProps, GridProps, IconProps } from '../..';
|
|
3
3
|
import { ColorSystemProps, SponsorType } from '../../../types';
|
|
4
4
|
export interface SubMenuProps extends FlexProps {
|
|
5
5
|
name: string;
|
|
@@ -14,7 +14,7 @@ export interface SubMenuProps extends FlexProps {
|
|
|
14
14
|
name: string;
|
|
15
15
|
href: string;
|
|
16
16
|
}[];
|
|
17
|
-
|
|
17
|
+
cardsUrl?: string;
|
|
18
18
|
};
|
|
19
19
|
color?: ColorSystemProps['color'];
|
|
20
20
|
rightColsNumber?: GridProps['colsNumber'];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CardSmallProps, GridProps } from '../..';
|
|
3
|
+
import { ColorSystemProps } from '../../../types';
|
|
4
|
+
export interface SubMenuCardsProps {
|
|
5
|
+
cards: Omit<CardSmallProps, 'layout'>[];
|
|
6
|
+
color?: ColorSystemProps['color'];
|
|
7
|
+
rightColsNumber?: GridProps['colsNumber'];
|
|
8
|
+
}
|
|
9
|
+
export declare const SubMenuCards: React.FC<SubMenuCardsProps>;
|
|
@@ -8,8 +8,8 @@ export interface ItemsProps {
|
|
|
8
8
|
seeMoreLink?: LinkProps;
|
|
9
9
|
}
|
|
10
10
|
export interface ThreeColumnsArticlesProps extends BoxProps {
|
|
11
|
-
title?: string;
|
|
12
11
|
items: ItemsProps[];
|
|
13
12
|
layout: LayoutType;
|
|
13
|
+
title?: string;
|
|
14
14
|
}
|
|
15
15
|
export declare const ThreeColumnsArticles: React.FC<ThreeColumnsArticlesProps>;
|