@20minutes/hela 2.20.0 → 2.21.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.
- package/dist/components/atoms/Button/Button.d.ts +3 -5
- package/dist/components/atoms/Icon/Icon.d.ts +2 -2
- package/dist/components/atoms/Input/Input.d.ts +1 -1
- package/dist/components/atoms/RadioButton/RadioButton.d.ts +1 -0
- package/dist/components/molecules/Astro/AstroContent/AstroContent.d.ts +7 -0
- package/dist/components/molecules/Astro/AstroContent/index.d.ts +1 -0
- package/dist/components/molecules/Astro/AstroTiles/AstroTiles.d.ts +10 -0
- package/dist/components/molecules/Astro/AstroTiles/index.d.ts +1 -0
- package/dist/components/molecules/Astro/AstroTopicCard/AstroTopicCard.d.ts +9 -0
- package/dist/components/molecules/Astro/AstroTopicCard/index.d.ts +1 -0
- package/dist/components/molecules/Astro/index.d.ts +3 -0
- package/dist/components/molecules/Card/CardTitle/CardTitle.d.ts +2 -0
- package/dist/components/molecules/Header/HeaderBanner/HeaderBanner.d.ts +2 -2
- package/dist/components/molecules/index.d.ts +1 -1
- package/dist/constants/buttonConfig.d.ts +2 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/tokenNameList.d.ts +2 -1
- package/dist/constants/tokenVariables.d.ts +38 -0
- package/dist/index.es.js +643 -542
- package/dist/index.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/style.css +1 -1
- package/dist/types/ButtonType.d.ts +3 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/tokenTypes.d.ts +3 -2
- package/package.json +2 -2
- package/dist/components/molecules/Horoscope/HoroscopeContent/HoroscopeContent.d.ts +0 -7
- package/dist/components/molecules/Horoscope/HoroscopeContent/index.d.ts +0 -1
- package/dist/components/molecules/Horoscope/HoroscopeTiles/HoroscopeTiles.d.ts +0 -9
- package/dist/components/molecules/Horoscope/HoroscopeTiles/index.d.ts +0 -1
- package/dist/components/molecules/Horoscope/HoroscopeTopicCard/HoroscopeTopicCard.d.ts +0 -9
- package/dist/components/molecules/Horoscope/HoroscopeTopicCard/index.d.ts +0 -1
- package/dist/components/molecules/Horoscope/index.d.ts +0 -3
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IconProps } from '../..';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export type ButtonColorType
|
|
6
|
-
export declare const buttonVariant: readonly ["ghost", "outlined", "link", "ghost-with-icon-bg", "close"];
|
|
7
|
-
export type ButtonVariantType = (typeof buttonVariant)[number];
|
|
3
|
+
import { buttonColor, buttonVariant } from '../../../constants';
|
|
4
|
+
import { As, AsProps, ButtonColorType, ButtonVariantType, ColorType, SpacingSystemProps } from '../../../types';
|
|
5
|
+
export { type ButtonColorType, type ButtonVariantType, buttonColor, buttonVariant };
|
|
8
6
|
export interface ButtonOptions {
|
|
9
7
|
variant?: ButtonVariantType;
|
|
10
8
|
color?: ButtonColorType;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BoxProps } from '../..';
|
|
2
|
-
import { ColorSystemProps,
|
|
2
|
+
import { ColorSystemProps, IconNameOfAstroSignType, IconNameType, PoliticalPartiesColorsType } from '../../../types';
|
|
3
3
|
export declare const rotationList: readonly ["quarter", "half", "three-quarter"];
|
|
4
4
|
type RotationListType = (typeof rotationList)[number];
|
|
5
5
|
export declare const borderSizeList: readonly ["small", "medium", "big"];
|
|
6
6
|
type BorderSizeListType = (typeof borderSizeList)[number];
|
|
7
7
|
export interface IconOptions {
|
|
8
|
-
name: IconNameType |
|
|
8
|
+
name: IconNameType | IconNameOfAstroSignType | 'circle';
|
|
9
9
|
size?: number | number[];
|
|
10
10
|
isRounded?: boolean;
|
|
11
11
|
border?: BorderSizeListType;
|
|
@@ -6,7 +6,7 @@ export interface InputOptions {
|
|
|
6
6
|
positionIcon?: 'left' | 'right';
|
|
7
7
|
isIconButton?: boolean;
|
|
8
8
|
iconButtonProps?: ButtonProps;
|
|
9
|
-
variant?: 'success' | 'error';
|
|
9
|
+
variant?: 'success' | 'error' | 'warning';
|
|
10
10
|
msg?: MessageType[];
|
|
11
11
|
containerProps?: FlexProps;
|
|
12
12
|
isRounded?: boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AstroTopicCardProps, BoxProps, InfoBannerProps } from '../../..';
|
|
3
|
+
export interface AstroContentProps extends BoxProps {
|
|
4
|
+
topics: AstroTopicCardProps[];
|
|
5
|
+
infoBannerProps: InfoBannerProps;
|
|
6
|
+
}
|
|
7
|
+
export declare const AstroContent: React.FC<AstroContentProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AstroContent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AstroTiles';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BoxProps } from '../../..';
|
|
2
|
+
import { IconNameType } from '../../../../types';
|
|
3
|
+
export interface AstroTopicCardOptions {
|
|
4
|
+
icon: IconNameType;
|
|
5
|
+
title: string;
|
|
6
|
+
content: string;
|
|
7
|
+
}
|
|
8
|
+
export type AstroTopicCardProps = AstroTopicCardOptions & BoxProps;
|
|
9
|
+
export declare const AstroTopicCard: import('../../../../types').ComponentWithAs<"div", AstroTopicCardProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AstroTopicCard';
|
|
@@ -5,6 +5,8 @@ export interface CardTitleProps extends Pick<HeadingProps, 'as' | 'size' | 'font
|
|
|
5
5
|
cartridge?: CartridgeType;
|
|
6
6
|
cartridgeIsCentered?: boolean;
|
|
7
7
|
maxRows?: 2 | 3 | 4 | 5;
|
|
8
|
+
href?: string;
|
|
9
|
+
hrefTarget?: string;
|
|
8
10
|
}
|
|
9
11
|
export declare const CardTitle: React.FC<CardTitleProps>;
|
|
10
12
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FlexProps } from '../../..';
|
|
3
|
-
import {
|
|
3
|
+
import { IconNameOfAstroSignType } from '../../../../types';
|
|
4
4
|
export interface HeaderBannerProps extends FlexProps<'div'> {
|
|
5
5
|
title: string;
|
|
6
6
|
subtitle: string;
|
|
7
|
-
icon?:
|
|
7
|
+
icon?: IconNameOfAstroSignType;
|
|
8
8
|
}
|
|
9
9
|
export declare const HeaderBanner: React.FC<HeaderBannerProps>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './AlertInfoBanner';
|
|
2
2
|
export * from './Article';
|
|
3
|
+
export * from './Astro';
|
|
3
4
|
export * from './AvatarGroup';
|
|
4
5
|
export * from './Breadcrumb';
|
|
5
6
|
export * from './BulletedList';
|
|
@@ -19,7 +20,6 @@ export * from './EmojiToolbar';
|
|
|
19
20
|
export * from './ErrorContent';
|
|
20
21
|
export * from './Expandable';
|
|
21
22
|
export * from './Header';
|
|
22
|
-
export * from './Horoscope';
|
|
23
23
|
export * from './IconItem';
|
|
24
24
|
export * from './ImageSlider';
|
|
25
25
|
export * from './InfoBanner';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ColorType, IconNameOfHoroscopeSignChineseType, IconNameOfHoroscopeSignZodiacType, IconNameType, RadiusType, SpacingType } from '../types';
|
|
1
|
+
import { ColorType, IconNameOfHoroscopeSignChineseType, IconNameOfHoroscopeSignZodiacType, IconNameOfNumerologySignType, IconNameType, RadiusType, SpacingType } from '../types';
|
|
2
2
|
export declare const spacingTokenNameList: readonly SpacingType[];
|
|
3
3
|
export declare const colorTokenNameList: readonly ColorType[];
|
|
4
4
|
export declare const iconTokenNameList: readonly IconNameType[];
|
|
5
5
|
export declare const iconTokenNameHorscopeChineseList: readonly IconNameOfHoroscopeSignChineseType[];
|
|
6
6
|
export declare const iconTokenNameHorscopeZodiacList: readonly IconNameOfHoroscopeSignZodiacType[];
|
|
7
|
+
export declare const iconTokenNameNumerologyList: readonly IconNameOfNumerologySignType[];
|
|
7
8
|
export declare const radiusTokenNameList: readonly RadiusType[];
|
|
@@ -525,6 +525,44 @@ export declare const tokenVariables: {
|
|
|
525
525
|
};
|
|
526
526
|
};
|
|
527
527
|
};
|
|
528
|
+
'numerology-sign': {
|
|
529
|
+
'num-un': {
|
|
530
|
+
value: string;
|
|
531
|
+
key: string;
|
|
532
|
+
};
|
|
533
|
+
'num-deux': {
|
|
534
|
+
value: string;
|
|
535
|
+
key: string;
|
|
536
|
+
};
|
|
537
|
+
'num-trois': {
|
|
538
|
+
value: string;
|
|
539
|
+
key: string;
|
|
540
|
+
};
|
|
541
|
+
'num-quatre': {
|
|
542
|
+
value: string;
|
|
543
|
+
key: string;
|
|
544
|
+
};
|
|
545
|
+
'num-cinq': {
|
|
546
|
+
value: string;
|
|
547
|
+
key: string;
|
|
548
|
+
};
|
|
549
|
+
'num-six': {
|
|
550
|
+
value: string;
|
|
551
|
+
key: string;
|
|
552
|
+
};
|
|
553
|
+
'num-sept': {
|
|
554
|
+
value: string;
|
|
555
|
+
key: string;
|
|
556
|
+
};
|
|
557
|
+
'num-huit': {
|
|
558
|
+
value: string;
|
|
559
|
+
key: string;
|
|
560
|
+
};
|
|
561
|
+
'num-neuf': {
|
|
562
|
+
value: string;
|
|
563
|
+
key: string;
|
|
564
|
+
};
|
|
565
|
+
};
|
|
528
566
|
'rubric-c2c': {
|
|
529
567
|
value: string;
|
|
530
568
|
key: string;
|