@20minutes/hela 2.19.1 → 2.21.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/components/atoms/Icon/Icon.d.ts +2 -2
- package/dist/components/atoms/IconButton/IconButton.d.ts +1 -1
- 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/Chatbot/Chatbot.d.ts +8 -0
- package/dist/components/molecules/Chatbot/index.d.ts +1 -0
- package/dist/components/molecules/Header/HeaderBanner/HeaderBanner.d.ts +2 -2
- package/dist/components/molecules/index.d.ts +2 -1
- package/dist/constants/tokenNameList.d.ts +2 -1
- package/dist/constants/tokenVariables.d.ts +38 -0
- package/dist/index.es.js +639 -524
- package/dist/index.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_z-index.scss +1 -0
- package/dist/style.css +1 -1
- 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
- package/dist/components/molecules/SocialBar/Chatbot.d.ts +0 -6
|
@@ -5,10 +5,11 @@ export type GreyscaleColorType = keyof (typeof tokenVariables)['color']['greysca
|
|
|
5
5
|
export type StatusColorType = keyof (typeof tokenVariables)['color']['status'];
|
|
6
6
|
export type ThemeColorType = keyof (typeof tokenVariables)['color']['theme'];
|
|
7
7
|
export type ColorType = PrimaryColorType | SecondaryColorType | GreyscaleColorType | StatusColorType | ThemeColorType;
|
|
8
|
-
export type IconNameType = Exclude<keyof (typeof tokenVariables)['asset']['icon'], 'horoscope-sign'>;
|
|
8
|
+
export type IconNameType = Exclude<keyof (typeof tokenVariables)['asset']['icon'], 'horoscope-sign' | 'numerology-sign'>;
|
|
9
9
|
export type IconNameOfHoroscopeSignChineseType = keyof (typeof tokenVariables)['asset']['icon']['horoscope-sign']['chinese'];
|
|
10
10
|
export type IconNameOfHoroscopeSignZodiacType = keyof (typeof tokenVariables)['asset']['icon']['horoscope-sign']['zodiac'];
|
|
11
|
-
export type
|
|
11
|
+
export type IconNameOfNumerologySignType = keyof (typeof tokenVariables)['asset']['icon']['numerology-sign'];
|
|
12
|
+
export type IconNameOfAstroSignType = IconNameOfHoroscopeSignChineseType | IconNameOfHoroscopeSignZodiacType | IconNameOfNumerologySignType;
|
|
12
13
|
export type FontFamilyType = keyof (typeof tokenVariables)['font-family'];
|
|
13
14
|
export type FontWeightType = keyof (typeof tokenVariables)['font-weight'];
|
|
14
15
|
export type HeadingSizeType = keyof (typeof tokenVariables)['typography']['heading'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20minutes/hela",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/20minutes/hela.git"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"prepare": "husky && yarn generate:svg-sprite && yarn download:colors && yarn build:design-tokens",
|
|
40
40
|
"download:colors": "tsx bin/download-colors",
|
|
41
41
|
"build:design-tokens": "tsx bin/build-design-tokens",
|
|
42
|
-
"generate:svg-sprite": "svg-sprite --symbol-dest sprite --symbol-sprite sprite.svg --symbol --dest=src/assets src/assets/svg
|
|
42
|
+
"generate:svg-sprite": "svg-sprite --symbol-dest sprite --symbol-sprite sprite.svg --symbol --dest=src/assets $(find src/assets/svg -type f -name '*.svg') && svgr --jsx-runtime automatic --ignore-existing --no-svgo --typescript -- src/assets/sprite/sprite.svg > src/components/atoms/Icon/SvgSprite.tsx",
|
|
43
43
|
"compress:fonts": "tsx bin/compress-fonts",
|
|
44
44
|
"copy-scss-output-dist": "tsx bin/copyScssOutputDist",
|
|
45
45
|
"build:library": "vite build --mode library && rm -rf dist/tests dist/.storybook dist/bin && vite build --mode scripts && yarn copy-scss-output-dist",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BoxProps, HoroscopeTopicCardProps, InfoBannerProps } from '../../..';
|
|
3
|
-
export interface HoroscopeContentProps extends BoxProps {
|
|
4
|
-
topics: HoroscopeTopicCardProps[];
|
|
5
|
-
infoBannerProps: InfoBannerProps;
|
|
6
|
-
}
|
|
7
|
-
export declare const HoroscopeContent: React.FC<HoroscopeContentProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './HoroscopeContent';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './HoroscopeTiles';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '../../..';
|
|
2
|
-
import { IconNameType } from '../../../../types';
|
|
3
|
-
export interface HoroscopeTopicCardOptions {
|
|
4
|
-
icon: IconNameType;
|
|
5
|
-
title: string;
|
|
6
|
-
content: string;
|
|
7
|
-
}
|
|
8
|
-
export type HoroscopeTopicCardProps = HoroscopeTopicCardOptions & BoxProps;
|
|
9
|
-
export declare const HoroscopeTopicCard: import('../../../../types').ComponentWithAs<"div", HoroscopeTopicCardProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './HoroscopeTopicCard';
|