@20minutes/hela 2.21.15 → 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.
- package/dist/assets/scripts/socialBarActionsModal.d.ts +1 -0
- package/dist/components/atoms/Button/Button.d.ts +2 -0
- package/dist/components/atoms/IconButton/IconButton.d.ts +1 -1
- package/dist/components/molecules/SocialBar/SocialBarActionsModal.d.ts +12 -0
- package/dist/components/molecules/SocialBar/index.d.ts +1 -0
- package/dist/constants/buttonConfig.d.ts +1 -1
- package/dist/constants/tokenVariables.d.ts +4 -0
- package/dist/index.es.js +1622 -1515
- package/dist/index.umd.cjs +1 -1
- package/dist/js/scripts.es.js +339 -325
- package/dist/js/scripts.umd.cjs +1 -1
- package/dist/scss/abstracts/mixins/_buttons.scss +6 -0
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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,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"];
|