@20minutes/hela 1.2.0 → 1.3.0
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 +2454 -2292
- package/dist/index.umd.js +2 -2
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/src/components/molecules/Comment/Comment.d.ts +7 -2
- package/dist/src/components/molecules/Comment/Comment.stories.d.ts +5 -2
- package/dist/src/components/molecules/Comment/CommentCount.d.ts +7 -0
- package/dist/src/components/molecules/Comment/CommentCount.stories.d.ts +14 -0
- package/dist/src/components/molecules/Comment/CommentNotificationBell.d.ts +2 -0
- package/dist/src/components/molecules/Comment/index.d.ts +2 -0
- package/dist/src/components/molecules/SocialBar/SocialBar.stories.d.ts +6 -6
- package/package.json +5 -5
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface CommentProps
|
|
2
|
+
import { LayoutType } from '../../../types';
|
|
3
|
+
export interface CommentProps {
|
|
4
4
|
enableComment: boolean;
|
|
5
|
+
commentContentId?: string;
|
|
6
|
+
layout: LayoutType;
|
|
5
7
|
lazyLoad?: {
|
|
6
8
|
delayed: boolean;
|
|
7
9
|
distanceVisible?: number;
|
|
8
10
|
};
|
|
11
|
+
sectionLabel?: string;
|
|
12
|
+
contentTitle?: string;
|
|
13
|
+
publicationDate?: string;
|
|
9
14
|
}
|
|
10
15
|
export declare const Comment: React.FC<CommentProps>;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { LayoutType } from '../../../types';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: React.FC<import(
|
|
5
|
+
component: React.FC<import('../..').CommentProps>;
|
|
5
6
|
args: {
|
|
6
7
|
enableComment: boolean;
|
|
8
|
+
layout: LayoutType;
|
|
7
9
|
};
|
|
8
10
|
};
|
|
9
11
|
export default _default;
|
|
10
|
-
export declare const
|
|
12
|
+
export declare const DesktopComment: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../..').CommentProps>;
|
|
13
|
+
export declare const MobileComment: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../..').CommentProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LayoutType } from '../../../types';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: React.FC<import("./CommentCount").CommentCountProps>;
|
|
6
|
+
args: {
|
|
7
|
+
commentNumber: number;
|
|
8
|
+
layout: LayoutType;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const DesktopCommentCount: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./CommentCount").CommentCountProps>;
|
|
13
|
+
export declare const MoreZeroComment: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./CommentCount").CommentCountProps>;
|
|
14
|
+
export declare const MobileCommentCount: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./CommentCount").CommentCountProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
|
|
2
2
|
export default _default;
|
|
3
|
-
export declare const Horizontal: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import(
|
|
4
|
-
export declare const Vertical: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import(
|
|
5
|
-
export declare const VerticalWithBookmark: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import(
|
|
6
|
-
export declare const VerticalWithReport: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import(
|
|
7
|
-
export declare const ForCards: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import(
|
|
8
|
-
export declare const ForCardsWithoutComment: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import(
|
|
3
|
+
export declare const Horizontal: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./SocialBar").SocialBarProps>;
|
|
4
|
+
export declare const Vertical: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./SocialBar").SocialBarProps>;
|
|
5
|
+
export declare const VerticalWithBookmark: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./SocialBar").SocialBarProps>;
|
|
6
|
+
export declare const VerticalWithReport: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./SocialBar").SocialBarProps>;
|
|
7
|
+
export declare const ForCards: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./SocialBar").SocialBarProps>;
|
|
8
|
+
export declare const ForCardsWithoutComment: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./SocialBar").SocialBarProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20minutes/hela",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"repository": "git@github.com:20minutes/hela.git",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "20 Minutes",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@20minutes/eslint-config": "^1.2.6",
|
|
74
|
-
"@aws-sdk/client-s3": "3.
|
|
75
|
-
"@babel/core": "^7.
|
|
74
|
+
"@aws-sdk/client-s3": "3.525.0",
|
|
75
|
+
"@babel/core": "^7.24.0",
|
|
76
76
|
"@babel/eslint-parser": "^7.23.10",
|
|
77
77
|
"@babel/plugin-transform-typescript": "^7.23.6",
|
|
78
78
|
"@csstools/postcss-sass": "^5.1.1",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"@svgr/cli": "^8.1.0",
|
|
88
88
|
"@testing-library/react": "^14.2.1",
|
|
89
89
|
"@types/merge-stream": "^1.1.5",
|
|
90
|
-
"@types/node": "^20.11.
|
|
91
|
-
"@types/react": "^18.2.
|
|
90
|
+
"@types/node": "^20.11.24",
|
|
91
|
+
"@types/react": "^18.2.61",
|
|
92
92
|
"@types/react-dom": "^18.2.19",
|
|
93
93
|
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
|
94
94
|
"@typescript-eslint/parser": "^7.1.0",
|