@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.
Files changed (30) hide show
  1. package/dist/components/atoms/Icon/Icon.d.ts +2 -2
  2. package/dist/components/atoms/IconButton/IconButton.d.ts +1 -1
  3. package/dist/components/molecules/Astro/AstroContent/AstroContent.d.ts +7 -0
  4. package/dist/components/molecules/Astro/AstroContent/index.d.ts +1 -0
  5. package/dist/components/molecules/Astro/AstroTiles/AstroTiles.d.ts +10 -0
  6. package/dist/components/molecules/Astro/AstroTiles/index.d.ts +1 -0
  7. package/dist/components/molecules/Astro/AstroTopicCard/AstroTopicCard.d.ts +9 -0
  8. package/dist/components/molecules/Astro/AstroTopicCard/index.d.ts +1 -0
  9. package/dist/components/molecules/Astro/index.d.ts +3 -0
  10. package/dist/components/molecules/Chatbot/Chatbot.d.ts +8 -0
  11. package/dist/components/molecules/Chatbot/index.d.ts +1 -0
  12. package/dist/components/molecules/Header/HeaderBanner/HeaderBanner.d.ts +2 -2
  13. package/dist/components/molecules/index.d.ts +2 -1
  14. package/dist/constants/tokenNameList.d.ts +2 -1
  15. package/dist/constants/tokenVariables.d.ts +38 -0
  16. package/dist/index.es.js +639 -524
  17. package/dist/index.umd.cjs +1 -1
  18. package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
  19. package/dist/scss/abstracts/variables/_z-index.scss +1 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/tokenTypes.d.ts +3 -2
  22. package/package.json +2 -2
  23. package/dist/components/molecules/Horoscope/HoroscopeContent/HoroscopeContent.d.ts +0 -7
  24. package/dist/components/molecules/Horoscope/HoroscopeContent/index.d.ts +0 -1
  25. package/dist/components/molecules/Horoscope/HoroscopeTiles/HoroscopeTiles.d.ts +0 -9
  26. package/dist/components/molecules/Horoscope/HoroscopeTiles/index.d.ts +0 -1
  27. package/dist/components/molecules/Horoscope/HoroscopeTopicCard/HoroscopeTopicCard.d.ts +0 -9
  28. package/dist/components/molecules/Horoscope/HoroscopeTopicCard/index.d.ts +0 -1
  29. package/dist/components/molecules/Horoscope/index.d.ts +0 -3
  30. 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 IconNameOfHoroscopeSignType = IconNameOfHoroscopeSignChineseType | IconNameOfHoroscopeSignZodiacType;
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.19.1",
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/**/*.svg && svgr --jsx-runtime automatic --ignore-existing --no-svgo --typescript -- src/assets/sprite/sprite.svg > src/components/atoms/Icon/SvgSprite.tsx",
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,9 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface HoroscopeTilesProps {
3
- horoscopeSignsList: {
4
- label: string;
5
- slug: string;
6
- url: string;
7
- }[];
8
- }
9
- export declare const HoroscopeTiles: React.FC<HoroscopeTilesProps>;
@@ -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';
@@ -1,3 +0,0 @@
1
- export * from './HoroscopeContent';
2
- export * from './HoroscopeTiles';
3
- export * from './HoroscopeTopicCard';
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- interface ChatbotProps {
3
- children?: React.ReactNode;
4
- }
5
- export declare const Chatbot: React.FC<ChatbotProps>;
6
- export {};