@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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 28 Feb 2024 15:53:38 GMT
3
+ * Generated on Fri, 01 Mar 2024 10:18:18 GMT
4
4
  */
5
5
 
6
6
  $token-variables: (
@@ -1,7 +1,7 @@
1
1
 
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Wed, 28 Feb 2024 15:53:38 GMT
4
+ * Generated on Fri, 01 Mar 2024 10:18:18 GMT
5
5
  */
6
6
 
7
7
  $diode-tempo: #E86D99 !default;
@@ -1,10 +1,15 @@
1
1
  import React from 'react';
2
- import { type BoxProps } from '../..';
3
- export interface CommentProps extends BoxProps {
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("./Comment").CommentProps>;
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 Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./Comment").CommentProps>;
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,7 @@
1
+ import React from 'react';
2
+ import { LayoutType } from '../../../types';
3
+ export interface CommentCountProps {
4
+ commentNumber: number;
5
+ layout: LayoutType;
6
+ }
7
+ export declare const CommentCount: React.FC<CommentCountProps>;
@@ -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>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const CommentNotificationBell: React.FC;
@@ -1,2 +1,4 @@
1
1
  export * from './Comment';
2
2
  export * from './CommentButton';
3
+ export * from './CommentCount';
4
+ export * from './CommentNotificationBell';
@@ -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('../..').SocialBarProps>;
4
- export declare const Vertical: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../..').SocialBarProps>;
5
- export declare const VerticalWithBookmark: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../..').SocialBarProps>;
6
- export declare const VerticalWithReport: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../..').SocialBarProps>;
7
- export declare const ForCards: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../..').SocialBarProps>;
8
- export declare const ForCardsWithoutComment: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import('../..').SocialBarProps>;
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.2.0",
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.523.0",
75
- "@babel/core": "^7.23.9",
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.21",
91
- "@types/react": "^18.2.60",
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",