@20minutes/hela 2.17.7 → 2.17.8
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/index.es.js +9206 -10765
- package/dist/index.umd.cjs +1 -1
- package/dist/js/scripts.es.js +97 -71
- package/dist/js/scripts.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/src/components/atoms/Ad/Ad.stories.d.ts +1 -2
- package/dist/src/components/atoms/Alert/Alert.stories.d.ts +2 -3
- package/dist/src/components/atoms/Avatar/Avatar.stories.d.ts +1 -2
- package/dist/src/components/atoms/Button/Button.d.ts +1 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.stories.d.ts +2 -2
- package/dist/src/components/atoms/Icon/SvgSprite.d.ts +1 -2
- package/dist/src/components/atoms/IconTooltip/IconTooltip.stories.d.ts +1 -2
- package/dist/src/components/atoms/Iframe/Iframe.d.ts +1 -1
- package/dist/src/components/atoms/Iframe/Iframe.stories.d.ts +1 -1
- package/dist/src/components/atoms/Img/Img.stories.d.ts +1 -2
- package/dist/src/components/atoms/Input/Input.stories.d.ts +1 -1
- package/dist/src/components/atoms/LabelSection/LabelSection.stories.d.ts +2 -3
- package/dist/src/components/atoms/Layout/Flex/Flex.stories.d.ts +1 -2
- package/dist/src/components/atoms/Layout/Grid/Grid.stories.d.ts +2 -3
- package/dist/src/components/atoms/Layout/index.d.ts +1 -1
- package/dist/src/components/atoms/Link/Link.d.ts +1 -1
- package/dist/src/components/atoms/Link/Link.stories.d.ts +2 -3
- package/dist/src/components/atoms/Modal/Modal.stories.d.ts +1 -2
- package/dist/src/components/atoms/RadioButton/RadioButton.stories.d.ts +1 -1
- package/dist/src/components/atoms/ScrollToTopButton/ScrollToTopButton.stories.d.ts +164 -165
- package/dist/src/components/atoms/Slider/Slider.stories.d.ts +2 -3
- package/dist/src/components/atoms/Textarea/Textarea.stories.d.ts +1 -1
- package/dist/src/components/atoms/Typography/index.d.ts +1 -1
- package/dist/src/components/atoms/index.d.ts +1 -1
- package/dist/src/components/molecules/Article/ArticleHeader/ArticleHeader.stories.d.ts +1 -1
- package/dist/src/components/molecules/Article/ArticleSummary/ArticleSummary.stories.d.ts +2 -3
- package/dist/src/components/molecules/Article/Media/Media.stories.d.ts +1 -1
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.stories.d.ts +3 -4
- package/dist/src/components/molecules/Calendar/Calendar.stories.d.ts +1 -1
- package/dist/src/components/molecules/Card/CardContainer/CardContainer.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/CardImage/CardImage.stories.d.ts +1 -2
- package/dist/src/components/molecules/Card/CardTitle/CardTitle.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardExtraLarge/CardExtraLarge.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardExtraSmall/CardExtraSmall.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardFrame/CardFrame.stories.d.ts +1 -1
- package/dist/src/components/molecules/Card/Templates/CardLarge/CardLarge.stories.d.ts +1 -1
- package/dist/src/components/molecules/Card/Templates/CardLarge/CardLargeLive/CardLargeLive.stories.d.ts +1 -1
- package/dist/src/components/molecules/Card/Templates/CardMedium/CardMedium.stories.d.ts +1 -2
- package/dist/src/components/molecules/Card/Templates/CardMost/CardMost.stories.d.ts +1 -1
- package/dist/src/components/molecules/Card/Templates/CardMovie/CardMovie.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardNotification/CardNotification.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardSideImage/CardSideImage.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardSmall/CardSmall.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardVertical/CardVertical.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardVideo/CardVideo.stories.d.ts +3 -4
- package/dist/src/components/molecules/Card/Templates/CardVideoSmall/CardVideoSmall.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardWithSummary/CardWithSummary.stories.d.ts +1 -1
- package/dist/src/components/molecules/Carousel/Carousel.stories.d.ts +2 -3
- package/dist/src/components/molecules/Chart/HalfDonut/HalfDonut.stories.d.ts +1 -1
- package/dist/src/components/molecules/Comment/Comment.stories.d.ts +1 -1
- package/dist/src/components/molecules/Comment/CommentButton.stories.d.ts +1 -1
- package/dist/src/components/molecules/Comment/CommentCount.stories.d.ts +1 -1
- package/dist/src/components/molecules/DarkModeSwitch/DarkModeSwitch.stories.d.ts +2 -2
- package/dist/src/components/molecules/DiscoverList/DiscoverList.stories.d.ts +165 -166
- package/dist/src/components/molecules/Elections/SearchBanner/SearchBanner.d.ts +0 -1
- package/dist/src/components/molecules/Elections/SearchBanner/SearchBanner.stories.d.ts +1 -2
- package/dist/src/components/molecules/EmojiToolbar/EmojiToolbar.stories.d.ts +1 -1
- package/dist/src/components/molecules/Expandable/Expandable.stories.d.ts +2 -3
- package/dist/src/components/molecules/Header/HeaderMini/HeaderMini.stories.d.ts +2 -2
- package/dist/src/components/molecules/Header/HeaderPage/HeaderPage.stories.d.ts +2 -3
- package/dist/src/components/molecules/ImageSlider/ImageSlider.stories.d.ts +1 -1
- package/dist/src/components/molecules/InfoBanner/InfoBanner.stories.d.ts +2 -3
- package/dist/src/components/molecules/Legend/Legend.stories.d.ts +1 -1
- package/dist/src/components/molecules/ListWithDiode/ListWithDiode.stories.d.ts +2 -3
- package/dist/src/components/molecules/Live/LiveQuestion/LiveQuestion.stories.d.ts +1 -1
- package/dist/src/components/molecules/LogoutButton/LogoutButton.stories.d.ts +1 -1
- package/dist/src/components/molecules/Maps/MapDepartments/MapDepartments.stories.d.ts +3 -4
- package/dist/src/components/molecules/Maps/MapDistricts/MapDistricts.stories.d.ts +3 -4
- package/dist/src/components/molecules/Maps/MapEurope/MapEurope.stories.d.ts +3 -4
- package/dist/src/components/molecules/Maps/MapTownsByDepartments/MapTownsByDepartments.stories.d.ts +1 -1
- package/dist/src/components/molecules/MediaLink/MediaLink.stories.d.ts +1 -1
- package/dist/src/components/molecules/Menu/Menu.stories.d.ts +2 -2
- package/dist/src/components/molecules/MenuList/MenuList.stories.d.ts +3 -4
- package/dist/src/components/molecules/Newsletter/Newsletter.stories.d.ts +1 -2
- package/dist/src/components/molecules/OrderedListWithNumber/OrderedListWithNumber.stories.d.ts +2 -3
- package/dist/src/components/molecules/ReadAlsoBanner/ReadAlsoBanner.stories.d.ts +2 -3
- package/dist/src/components/molecules/ShowCover/ShowCover.stories.d.ts +1 -1
- package/dist/src/components/molecules/Signature/Signature.stories.d.ts +1 -1
- package/dist/src/components/molecules/SubMenu/SubMenu.stories.d.ts +1 -1
- package/dist/src/components/molecules/Table/Table.stories.d.ts +2 -3
- package/dist/src/components/molecules/TagBar/TagBar.stories.d.ts +2 -3
- package/dist/src/components/molecules/TextTooltip/TextTooltip.stories.d.ts +1 -2
- package/dist/src/components/molecules/Timeline/Timeline.stories.d.ts +2 -3
- package/dist/src/components/molecules/UserPanel/UserPanel.stories.d.ts +2 -2
- package/dist/src/components/molecules/VerticalTimeline/VerticalTimeline.stories.d.ts +165 -166
- package/dist/src/components/molecules/index.d.ts +1 -1
- package/dist/src/components/organisms/Elections/ElectionsResult.stories.d.ts +1 -1
- package/dist/src/components/organisms/Footer/Footer.stories.d.ts +2 -2
- package/dist/src/components/organisms/Header/Header.stories.d.ts +2 -2
- package/dist/src/components/organisms/MostReadArticles/MostReadArticles.stories.d.ts +2 -3
- package/dist/src/components/organisms/MostWatchVideos/MostWatchVideos.stories.d.ts +2 -3
- package/dist/src/components/organisms/PhotoSwipeGallery/PhotoSwipeGallery.stories.d.ts +1 -1
- package/dist/src/components/organisms/ThreeColumnsArticles/ThreeColumnsArticles.stories.d.ts +3 -4
- package/dist/src/constants/cssProperties/index.d.ts +1 -1
- package/dist/src/constants/index.d.ts +6 -6
- package/dist/src/constants/storybook/flexBoxSystemPropsControls.d.ts +1 -1
- package/dist/src/constants/storybook/flexItemBoxSystemPropsControls.d.ts +1 -1
- package/dist/src/constants/storybook/index.d.ts +6 -6
- package/dist/src/constants/storybook/spacingSystemPropsControls.d.ts +1 -1
- package/dist/src/constants/storybook/systemPropsControls.d.ts +1 -1
- package/dist/src/constants/systemProps/index.d.ts +1 -1
- package/dist/src/helpers/systemPropsHelper/index.d.ts +8 -8
- package/dist/src/index.d.ts +2 -2
- package/dist/src/types/ComponentWithAs.d.ts +4 -4
- package/dist/src/types/CssProperties/index.d.ts +1 -1
- package/dist/src/types/SystemProps/index.d.ts +4 -4
- package/dist/src/types/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +17 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20minutes/hela",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.8",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/20minutes/hela.git"
|
|
@@ -39,16 +39,17 @@
|
|
|
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 --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 src/assets/svg/**/*.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",
|
|
46
|
-
"build:local": "
|
|
46
|
+
"build:local": "yarn build:library && yarn pack -f 20minutes-hela-dev-$(date +\"%s\").tgz && npx serv -p 8181",
|
|
47
47
|
"storybook": "storybook dev -p 6006",
|
|
48
48
|
"build:storybook": "storybook build",
|
|
49
49
|
"lint": "yarn lint:ts && yarn lint:scss",
|
|
50
50
|
"lint:scss": "stylelint 'src/**/*.scss'",
|
|
51
|
-
"lint:ts": "
|
|
51
|
+
"lint:ts": "biome check --max-diagnostics=none",
|
|
52
|
+
"lint:ts:fix": "biome check --write --unsafe --max-diagnostics=none",
|
|
52
53
|
"test": "vitest run --silent",
|
|
53
54
|
"test:coverage": "vitest run --coverage",
|
|
54
55
|
"upload:artifacts": "tsx bin/uploadArtifacts",
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
},
|
|
58
59
|
"lint-staged": {
|
|
59
60
|
"*.{js,ts,jsx,tsx}": [
|
|
60
|
-
"
|
|
61
|
+
"biome check"
|
|
61
62
|
],
|
|
62
63
|
"*.scss": [
|
|
63
64
|
"stylelint --fix"
|
|
@@ -81,39 +82,28 @@
|
|
|
81
82
|
"react-dom": "^18.3.1"
|
|
82
83
|
},
|
|
83
84
|
"devDependencies": {
|
|
84
|
-
"@20minutes/eslint-config": "^
|
|
85
|
-
"@aws-sdk/client-s3": "3.
|
|
85
|
+
"@20minutes/eslint-config": "^3.0.2",
|
|
86
|
+
"@aws-sdk/client-s3": "3.1010.0",
|
|
86
87
|
"@csstools/postcss-sass": "^5.1.1",
|
|
87
88
|
"@octokit/core": "7.0.6",
|
|
88
|
-
"@storybook/addon-docs": "^10.2.
|
|
89
|
-
"@storybook/addon-links": "^10.2.
|
|
89
|
+
"@storybook/addon-docs": "^10.2.19",
|
|
90
|
+
"@storybook/addon-links": "^10.2.19",
|
|
90
91
|
"@storybook/csf": "^0.1.13",
|
|
91
|
-
"@storybook/react-vite": "^10.2.
|
|
92
|
+
"@storybook/react-vite": "^10.2.19",
|
|
92
93
|
"@svgr/cli": "^8.1.0",
|
|
93
94
|
"@testing-library/dom": "^10.4.1",
|
|
94
95
|
"@testing-library/react": "^16.3.2",
|
|
95
|
-
"@types/node": "^25.
|
|
96
|
+
"@types/node": "^25.5.0",
|
|
96
97
|
"@types/react": "^18.3.12",
|
|
97
98
|
"@types/react-dom": "^18.3.1",
|
|
98
|
-
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
99
|
-
"@typescript-eslint/parser": "^8.56.1",
|
|
100
99
|
"@vitejs/plugin-react": "^5.1.4",
|
|
101
|
-
"@vitest/coverage-v8": "
|
|
100
|
+
"@vitest/coverage-v8": "4.0.18",
|
|
102
101
|
"autoprefixer": "^10.4.27",
|
|
103
102
|
"dotenv": "^17.3.1",
|
|
104
|
-
"eslint": "^9.39.2",
|
|
105
|
-
"eslint-config-prettier": "^10.1.8",
|
|
106
|
-
"eslint-import-resolver-typescript": "^4.4.4",
|
|
107
|
-
"eslint-plugin-import": "^2.32.0",
|
|
108
|
-
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
109
|
-
"eslint-plugin-prettier": "^5.5.5",
|
|
110
|
-
"eslint-plugin-react": "^7.37.5",
|
|
111
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
112
|
-
"eslint-plugin-storybook": "^10.2.15",
|
|
113
103
|
"globals": "^17.4.0",
|
|
114
104
|
"husky": "^9.1.7",
|
|
115
105
|
"jsdom": "^28.1.0",
|
|
116
|
-
"lint-staged": "^16.
|
|
106
|
+
"lint-staged": "^16.4.0",
|
|
117
107
|
"postcss": "^8.5.8",
|
|
118
108
|
"postcss-inline-svg": "^6.0.0",
|
|
119
109
|
"postcss-scss": "^4.0.9",
|
|
@@ -124,8 +114,8 @@
|
|
|
124
114
|
"react-syntax-highlighter": "^16.1.1",
|
|
125
115
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
126
116
|
"rollup-plugin-visualizer": "^7.0.1",
|
|
127
|
-
"sass": "^1.
|
|
128
|
-
"storybook": "^10.2.
|
|
117
|
+
"sass": "^1.98.0",
|
|
118
|
+
"storybook": "^10.2.19",
|
|
129
119
|
"style-dictionary": "^5.3.3",
|
|
130
120
|
"stylelint": "^17.4.0",
|
|
131
121
|
"stylelint-config-standard-scss": "^17.0.0",
|
|
@@ -136,7 +126,7 @@
|
|
|
136
126
|
"vite": "^7.3.1",
|
|
137
127
|
"vite-plugin-dts": "^4.5.4",
|
|
138
128
|
"vite-tsconfig-paths": "^6.1.1",
|
|
139
|
-
"vitest": "
|
|
129
|
+
"vitest": "4.0.18"
|
|
140
130
|
},
|
|
141
131
|
"resolutions": {
|
|
142
132
|
"prismjs": "^1.30.0",
|