@20minutes/hela 2.19.0 → 2.20.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 +1,2 @@
1
1
  export declare const listenerOfScrollForCloseArticleButton: () => void;
2
+ export declare const listenerOfScrollForChatbotButton: () => void;
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { IconProps } from '../..';
3
3
  import { As, AsProps, ColorType, SpacingSystemProps } from '../../../types';
4
- export declare const buttonColor: readonly ["primary", "secondary", "tertiary", "translucent", "dark", "white"];
4
+ export declare const buttonColor: readonly ["primary", "secondary", "tertiary", "translucent", "dark", "white", "blue-ice"];
5
5
  export type ButtonColorType = (typeof buttonColor)[number];
6
6
  export declare const buttonVariant: readonly ["ghost", "outlined", "link", "ghost-with-icon-bg", "close"];
7
7
  export type ButtonVariantType = (typeof buttonVariant)[number];
@@ -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-dark"];
4
+ export declare const iconButtonColor: readonly ["primary", "secondary", "tertiary", "translucent", "dark", "white", "blue-ice", "blue-dark"];
5
5
  export type IconButtonColorType = (typeof iconButtonColor)[number];
6
6
  export interface IconButtonOptions {
7
7
  iconProps: IconProps;
@@ -10,6 +10,7 @@ export interface IconButtonOptions {
10
10
  size?: 'small' | 'tiny';
11
11
  hasShadow?: boolean;
12
12
  isLoading?: boolean;
13
+ isFloating?: boolean;
13
14
  }
14
- export type IconButtonProps<T extends As = 'button'> = IconButtonOptions & SpacingSystemProps & Omit<AsProps<T>, 'color'>;
15
+ export type IconButtonProps<T extends As = 'button'> = IconButtonOptions & SpacingSystemProps & Omit<AsProps<T>, 'color'> & Record<`data-${string}`, string>;
15
16
  export declare const IconButton: import('../../../types').ComponentWithAs<"button", IconButtonProps<"button">>;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { BoxProps } from '../..';
3
+ import { LayoutType } from '../../../types';
4
+ export interface ChatbotProps extends BoxProps {
5
+ layout: LayoutType;
6
+ children?: React.ReactNode;
7
+ }
8
+ export declare const Chatbot: React.FC<ChatbotProps>;
@@ -0,0 +1 @@
1
+ export * from './Chatbot';
@@ -7,6 +7,7 @@ export * from './Calendar';
7
7
  export * from './Card';
8
8
  export * from './Carousel';
9
9
  export * from './Chart';
10
+ export * from './Chatbot';
10
11
  export * from './Citation';
11
12
  export * from './Collapse';
12
13
  export * from './Comment';