@20minutes/hela 2.21.15 → 2.22.1

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;
@@ -16,6 +16,7 @@ export interface SocialBarProps extends FlexProps {
16
16
  contentLink?: string;
17
17
  withReport?: boolean;
18
18
  withChatbotButton?: boolean;
19
+ withChatbotButtonToolbar?: boolean;
19
20
  commentAnchor?: string;
20
21
  className?: string;
21
22
  disableComment?: boolean;
@@ -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;