@20minutes/hela 2.21.14 → 2.22.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.
@@ -0,0 +1 @@
1
+ export declare const listenerOfSocialBarActionsModal: () => void;
@@ -16,6 +16,8 @@ export interface ButtonOptions {
16
16
  size?: 'small' | 'large';
17
17
  isCloseWithProgress?: boolean;
18
18
  closeProgressColor?: ColorType;
19
+ hasNormalWeight?: boolean;
20
+ stayOnSingleLine?: boolean;
19
21
  }
20
22
  export type ButtonProps<T extends As = 'button'> = ButtonOptions & SpacingSystemProps & Omit<AsProps<T>, 'color'>;
21
23
  export declare const Button: import('../../../types').ComponentWithAs<"button", ButtonProps<"button">>;
@@ -1,7 +1,7 @@
1
1
  import { IconProps } from '../..';
2
2
  import { As, AsProps, SpacingSystemProps } from '../../../types';
3
3
  import { ButtonProps } from '../Button/Button';
4
- export declare const iconButtonColor: readonly ["primary", "secondary", "tertiary", "translucent", "dark", "white", "blue-ice", "blue-dark"];
4
+ export declare const iconButtonColor: readonly ["primary", "secondary", "tertiary", "quaternary", "translucent", "dark", "white", "blue-ice", "blue-dark"];
5
5
  export type IconButtonColorType = (typeof iconButtonColor)[number];
6
6
  export interface IconButtonOptions {
7
7
  iconProps: IconProps;
@@ -1,11 +1,13 @@
1
- import { FlexProps } from '../..';
1
+ import { FlexProps, IconButtonProps } from '../..';
2
2
  import { AsProps, MessageType } from '../../../types';
3
3
  export interface TextareaOptions {
4
4
  label?: string;
5
- variant?: 'success' | 'error';
5
+ variant?: 'success' | 'error' | 'warning' | 'no-border';
6
6
  msg?: MessageType[];
7
7
  rows?: number;
8
8
  containerProps?: FlexProps;
9
+ textareaContainerProps?: FlexProps;
10
+ iconButtonProps?: IconButtonProps;
9
11
  hint?: string;
10
12
  error?: string;
11
13
  }
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ interface SocialBarActionsModalProps {
3
+ dialogId: string;
4
+ className?: string;
5
+ commentItem?: React.ReactNode;
6
+ shareItem?: React.ReactNode;
7
+ bookmarkItem?: React.ReactNode;
8
+ reportItem?: React.ReactNode;
9
+ chatbotItem?: React.ReactNode;
10
+ }
11
+ export declare const SocialBarActionsModal: React.FC<SocialBarActionsModalProps>;
12
+ export {};
@@ -1 +1,2 @@
1
1
  export * from './SocialBar';
2
+ export * from './SocialBarActionsModal';
@@ -1,2 +1,2 @@
1
- export declare const buttonColor: readonly ["primary", "secondary", "tertiary", "translucent", "dark", "white", "blue-ice"];
1
+ export declare const buttonColor: readonly ["primary", "secondary", "tertiary", "quaternary", "translucent", "dark", "white", "blue-ice"];
2
2
  export declare const buttonVariant: readonly ["ghost", "outlined", "link", "ghost-with-icon-bg", "close"];
@@ -139,6 +139,10 @@ export declare const tokenVariables: {
139
139
  value: string;
140
140
  key: string;
141
141
  };
142
+ dots: {
143
+ value: string;
144
+ key: string;
145
+ };
142
146
  edit: {
143
147
  value: string;
144
148
  key: string;
@@ -223,6 +227,10 @@ export declare const tokenVariables: {
223
227
  value: string;
224
228
  key: string;
225
229
  };
230
+ 'ia-loader': {
231
+ value: string;
232
+ key: string;
233
+ };
226
234
  instagram: {
227
235
  value: string;
228
236
  key: string;
@@ -351,6 +359,10 @@ export declare const tokenVariables: {
351
359
  value: string;
352
360
  key: string;
353
361
  };
362
+ send: {
363
+ value: string;
364
+ key: string;
365
+ };
354
366
  'server-error': {
355
367
  value: string;
356
368
  key: string;