hr-design-system-handlebars 1.83.11 → 1.84.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 (100) hide show
  1. package/.storybook/main.js +29 -19
  2. package/.storybook/manager.js +1 -1
  3. package/.storybook/preview.js +4 -3
  4. package/CHANGELOG.md +24 -0
  5. package/build-storybook.log +34 -2446
  6. package/chromatic.config.json +5 -0
  7. package/dist/assets/index.css +7 -3
  8. package/dist/views/components/page/base/page_wrapper.hbs +1 -1
  9. package/dist/views/components/page/story/story_article.hbs +2 -1
  10. package/dist/views_static/components/page/base/page_wrapper.hbs +1 -1
  11. package/dist/views_static/components/page/story/story_article.hbs +2 -1
  12. package/package.json +138 -136
  13. package/src/stories/basics/Fixtures.mdx +1 -1
  14. package/src/stories/basics/conventions-and-datastructure.mdx +4 -12
  15. package/src/stories/views/components/banner/header.stories.js +4 -5
  16. package/src/stories/views/components/banner/structure_nav/structureNav.stories.js +3 -4
  17. package/src/stories/views/components/base/link.mdx +2 -2
  18. package/src/stories/views/components/button/button.mdx +2 -2
  19. package/src/stories/views/components/button/button.stories.js +4 -5
  20. package/src/stories/views/components/button/components/button_icon.mdx +2 -2
  21. package/src/stories/views/components/button/components/button_label.mdx +2 -2
  22. package/src/stories/views/components/button/link_button.mdx +2 -2
  23. package/src/stories/views/components/button/link_button.stories.js +3 -4
  24. package/src/stories/views/components/content/content_footer/content_footer.mdx +2 -2
  25. package/src/stories/views/components/content/content_footer/content_footer.stories.js +1 -1
  26. package/src/stories/views/components/content/copytext/components/accordion/accordion.mdx +2 -2
  27. package/src/stories/views/components/content/copytext/components/contentbox/contentbox.mdx +2 -2
  28. package/src/stories/views/components/content/copytext/copytext.mdx +2 -2
  29. package/src/stories/views/components/content/copytext/copytext.stories.js +2 -2
  30. package/src/stories/views/components/content/social_media_links/social_media_links.mdx +1 -1
  31. package/src/stories/views/components/content/social_media_links/social_media_links.stories.js +2 -4
  32. package/src/stories/views/components/event/calendar/event_calendar_components.mdx +1 -1
  33. package/src/stories/views/components/externalService/external_service.mdx +1 -1
  34. package/src/stories/views/components/externalService/external_service.stories.js +10 -13
  35. package/src/stories/views/components/footer/page_footer.mdx +1 -1
  36. package/src/stories/views/components/footer/page_footer.stories.js +4 -6
  37. package/src/stories/views/components/geoTag/geoTag.mdx +1 -1
  38. package/src/stories/views/components/grid/grid.mdx +2 -2
  39. package/src/stories/views/components/horizontal_scroll_container/horizontal_scroll_container.stories.js +1 -1
  40. package/src/stories/views/components/label/label.mdx +1 -1
  41. package/src/stories/views/components/mediaplayer/mediaplayer.mdx +2 -2
  42. package/src/stories/views/components/mediaplayer/mediaplayer.stories.js +16 -14
  43. package/src/stories/views/components/mediaplayer/mediaplayer_button.mdx +2 -2
  44. package/src/stories/views/components/modal/modal.mdx +2 -2
  45. package/src/stories/views/components/modal/modal.stories.js +10 -10
  46. package/src/stories/views/components/navigation/breadcrumb/breadcrumb.mdx +2 -2
  47. package/src/stories/views/components/page/base/page_wrapper.hbs +1 -1
  48. package/src/stories/views/components/page/components/appendix.mdx +2 -2
  49. package/src/stories/views/components/page/components/metadatabox.mdx +2 -2
  50. package/src/stories/views/components/page/components/metadatabox.stories.js +2 -3
  51. package/src/stories/views/components/page/index/page.mdx +2 -2
  52. package/src/stories/views/components/page/index/page.stories.js +8 -8
  53. package/src/stories/views/components/page/index/page_offline.stories.js +2 -2
  54. package/src/stories/views/components/page/index/page_player.mdx +2 -2
  55. package/src/stories/views/components/page/podcast/podcast_episode_article.mdx +1 -1
  56. package/src/stories/views/components/page/podcast/podcast_episode_article.stories.js +1 -1
  57. package/src/stories/views/components/page/podcast/podcast_playlist_article.mdx +1 -1
  58. package/src/stories/views/components/page/podcast/podcast_playlist_article.stories.js +1 -1
  59. package/src/stories/views/components/page/story/story_article.hbs +2 -1
  60. package/src/stories/views/components/page/story/story_main.mdx +1 -1
  61. package/src/stories/views/components/page/story/story_main.stories.js +17 -7
  62. package/src/stories/views/components/pagination/page_pagination.mdx +1 -1
  63. package/src/stories/views/components/pagination/page_pagination.stories.js +1 -2
  64. package/src/stories/views/components/podcast/podcast_subscribe_button.mdx +1 -1
  65. package/src/stories/views/components/podcast/podcast_subscribe_button.stories.js +4 -4
  66. package/src/stories/views/components/site_header/header.mdx +1 -1
  67. package/src/stories/views/components/site_header/header.stories.js +2 -3
  68. package/src/stories/views/components/social_sharing/social_sharing.mdx +1 -1
  69. package/src/stories/views/components/social_sharing/social_sharing.stories.js +4 -5
  70. package/src/stories/views/components/teaser/cluster/teaser_cluster.mdx +1 -1
  71. package/src/stories/views/components/teaser/components/teaser_byline.mdx +2 -2
  72. package/src/stories/views/components/teaser/components/teaser_featured_content.mdx +2 -2
  73. package/src/stories/views/components/teaser/components/teaser_featured_content.stories.js +1 -1
  74. package/src/stories/views/components/teaser/components/teaser_heading.mdx +2 -2
  75. package/src/stories/views/components/teaser/components/teaser_text.mdx +1 -1
  76. package/src/stories/views/components/teaser/components/teaser_title.mdx +2 -2
  77. package/src/stories/views/components/teaser/components/teaser_topline.mdx +2 -2
  78. package/src/stories/views/components/teaser/content_nav/teaser_content_nav.mdx +1 -1
  79. package/src/stories/views/components/teaser/group_teaser/group.mdx +2 -2
  80. package/src/stories/views/components/teaser/podcast/podcast.mdx +1 -1
  81. package/src/stories/views/components/teaser/podcast/podcast.stories.js +0 -1
  82. package/src/stories/views/components/teaser/tabbox/teaser_tabbox.mdx +1 -1
  83. package/src/stories/views/components/teaser/tabbox/teaser_tabbox.stories.js +1 -1
  84. package/src/stories/views/components/teaser/teaser_alternativ.mdx +1 -1
  85. package/src/stories/views/components/teaser/teaser_alternativ_av.mdx +1 -1
  86. package/src/stories/views/components/teaser/teaser_event_calendar.mdx +1 -1
  87. package/src/stories/views/components/teaser/teaser_indextext.mdx +2 -2
  88. package/src/stories/views/components/teaser/teaser_logic/teaser_logic.mdx +1 -1
  89. package/src/stories/views/components/teaser/teaser_poster.mdx +2 -2
  90. package/src/stories/views/components/teaser/teaser_stage.mdx +1 -1
  91. package/src/stories/views/components/teaser/teaser_standard.mdx +1 -1
  92. package/src/stories/views/components/teaser/teaser_standard.stories.js +1 -1
  93. package/src/stories/views/components/teaser/teaser_standard_av.mdx +1 -1
  94. package/src/stories/views/components/teaser/teaser_standard_event.mdx +1 -1
  95. package/src/stories/views/components/teaser/ticker/teaser_ticker_alternativ.mdx +1 -1
  96. package/src/stories/views/components/teaser/ticker/teaser_ticker_alternativ.stories.js +0 -1
  97. package/src/stories/views/components/teaser/ticker/teaser_ticker_standard.mdx +1 -1
  98. package/src/stories/views/components/teaser/ticker/teaser_ticker_standard.stories.js +1 -1
  99. package/src/stories/views/components/teaser/ticker/teaser_ticker_timeline.mdx +1 -1
  100. package/src/stories/views/components/teaser/ticker/teaser_ticker_timeline.stories.js +2 -2
@@ -0,0 +1,5 @@
1
+ {
2
+ "onlyChanged": true,
3
+ "projectId": "Project:60bf71339b5fb20042bc58a6",
4
+ "zip": true
5
+ }
@@ -3322,7 +3322,7 @@ article.indexTextDS .indexTextHighlighted .link {
3322
3322
  border-bottom-color: var(--color-secondary-ds);
3323
3323
  }
3324
3324
  .counter-reset {
3325
- counter-reset: cnt1721827813356;
3325
+ counter-reset: cnt1721909350986;
3326
3326
  }
3327
3327
  .hyphens-auto {
3328
3328
  -webkit-hyphens: auto;
@@ -3730,7 +3730,7 @@ article.indexTextDS .indexTextHighlighted .link {
3730
3730
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3731
3731
  }
3732
3732
  .-ordered {
3733
- counter-increment: cnt1721827813356 1;
3733
+ counter-increment: cnt1721909350986 1;
3734
3734
  }
3735
3735
  .-ordered::before {
3736
3736
  position: absolute;
@@ -3746,7 +3746,7 @@ article.indexTextDS .indexTextHighlighted .link {
3746
3746
  letter-spacing: .0125em;
3747
3747
  --tw-text-opacity: 1;
3748
3748
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3749
- content: counter(cnt1721827813356);
3749
+ content: counter(cnt1721909350986);
3750
3750
  }
3751
3751
  /*! ****************************/
3752
3752
  /*! DataPolicy stuff */
@@ -6153,6 +6153,10 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
6153
6153
  margin-right: 1.625rem;
6154
6154
  }
6155
6155
 
6156
+ .sm\:mt-0 {
6157
+ margin-top: 0px;
6158
+ }
6159
+
6156
6160
  .sm\:mt-1 {
6157
6161
  margin-top: 0.25rem;
6158
6162
  }
@@ -1,4 +1,4 @@
1
- <div class="grid grid-page">
1
+ <div class="grid grid-page{{#if _webview}} mt-4 sm:mt-0{{/if}}">
2
2
  <{{#if _isArticle}}article{{else}}div{{/if}} class="grid items-baseline bg-white dark:bg-black grid-article">
3
3
  {{> @partial-block }}
4
4
  </{{#if _isArticle}}article{{else}}div{{/if}}>
@@ -1,4 +1,5 @@
1
- {{#>components/page/base/page_wrapper _isArticle=true}}
1
+ {{#>components/page/base/page_wrapper _isArticle=true _webview=_webview}}
2
+
2
3
  {{> components/page/base/page_header}}
3
4
 
4
5
  {{> components/page/components/shorttext _text=this.shorttext }}
@@ -1,4 +1,4 @@
1
- <div class="grid grid-page">
1
+ <div class="grid grid-page{{#if _webview}} mt-4 sm:mt-0{{/if}}">
2
2
  <{{#if _isArticle}}article{{else}}div{{/if}} class="grid items-baseline bg-white dark:bg-black grid-article">
3
3
  {{> @partial-block }}
4
4
  </{{#if _isArticle}}article{{else}}div{{/if}}>
@@ -1,4 +1,5 @@
1
- {{#>components/page/base/page_wrapper _isArticle=true}}
1
+ {{#>components/page/base/page_wrapper _isArticle=true _webview=_webview}}
2
+
2
3
  {{> components/page/base/page_header}}
3
4
 
4
5
  {{> components/page/components/shorttext _text=this.shorttext }}
package/package.json CHANGED
@@ -1,138 +1,140 @@
1
1
  {
2
- "name": "hr-design-system-handlebars",
3
- "description": "Web component library of Hessischer Rundfunk",
4
- "author": "Hessischer Rundfunk <technikteam@hr.de>",
5
- "private": false,
6
- "license": "MIT",
7
- "main": "dist/index.js",
8
- "repository": "https://github.com/szuelch/hr-design-system-handlebars",
9
- "version": "1.83.11",
10
- "scripts": {
11
- "test": "echo \"Error: no test specified\" && exit 1",
12
- "storybook": "storybook dev -p 6006 public",
13
- "build-storybook": "storybook build",
14
- "build-storybook-with-tailwind": "npm run build:tailwind && npm run build-storybook",
15
- "build-storybook-docs": "storybook build --docs",
16
- "build-storybook-docs-with-tailwind": "npm run build:tailwind && npm run build-storybook-docs",
17
- "build:tailwind": "postcss src/assets/tailwind.css -o dist/assets/index.css",
18
- "build": "yarn clean && yarn build:tailwind && node ./build/scripts/build.js && yarn preparePartialsForDelivery",
19
- "chromatic": "npx chromatic --project-token 84f1628f224a",
20
- "clean": "rimraf dist",
21
- "release": "npx auto shipit --base-branch=main",
22
- "optimize-assets": "gulp",
23
- "optimize-svgs": "gulp optimizeSvgs",
24
- "parseJson": "gulp parseJson",
25
- "partialsToJs": "gulp convertPartialsToJs",
26
- "saveLogoFilesToFolder": "gulp saveLogoFilesToFolder",
27
- "preparePartialsForDelivery": "gulp preparePartialsForDelivery",
28
- "create-modernizr-config": "gulp createModernizrConfig",
29
- "merge-locatags": "gulp mergeLocatags",
30
- "prepare": "yarn build",
31
- "test-storybook": "test-storybook"
32
- },
33
- "browserslist": [
34
- "last 2 versions",
35
- "not dead",
36
- "Firefox ESR",
37
- "iOS >= 10",
38
- "Safari >= 10",
39
- "> 2.5% in DE"
40
- ],
41
- "keywords": [],
42
- "devDependencies": {
43
- "@babel/cli": "^7.13.16",
44
- "@babel/core": "^7.12.10",
45
- "@babel/preset-env": "^7.21.4",
46
- "@storybook/addon-a11y": "^7.2.1",
47
- "@storybook/addon-actions": "7.5.3",
48
- "@storybook/addon-console": "^2.0.0",
49
- "@storybook/addon-essentials": "7.5.3",
50
- "@storybook/addon-interactions": "7.6.16",
51
- "@storybook/addon-links": "^7.2.1",
52
- "@storybook/addon-styling": "^1.3.5",
53
- "@storybook/addons": "^7.2.1",
54
- "@storybook/blocks": "7.2.1",
55
- "@storybook/html": "^7.2.1",
56
- "@storybook/html-webpack5": "7.2.1",
57
- "@storybook/jest": "^0.2.3",
58
- "@storybook/test-runner": "~0.16.0",
59
- "@storybook/testing-library": "^0.2.2",
60
- "@storybook/theming": "^7.2.1",
61
- "auto": "^11.0.5",
62
- "autoprefixer": "^10.4.2",
63
- "babel-loader": "^8.2.2",
64
- "chromatic": "^10.9.5",
65
- "copyfiles": "^2.4.1",
66
- "core-js-pure": "^3.30.1",
67
- "cross-env": "^7.0.3",
68
- "fancy-log": "^2.0.0",
69
- "file-loader": "^6.2.0",
70
- "glob": "^7.1.7",
71
- "gulp": "^4.0.2",
72
- "gulp-cheerio": "^1.0.0",
73
- "gulp-cli": "^2.3.0",
74
- "gulp-concat": "^2.6.1",
75
- "gulp-debug": "^4.0.0",
76
- "gulp-file-cache": "^0.0.1",
77
- "gulp-filter": "^7.0.0",
78
- "gulp-html-to-js": "^0.0.7",
79
- "gulp-json-transform": "^0.4.8",
80
- "gulp-merge-json": "^2.1.2",
81
- "gulp-modernizr": "^4.0.3",
82
- "gulp-rename": "^2.0.0",
83
- "gulp-replace": "^1.1.4",
84
- "gulp-svgmin": "^4.0.1",
85
- "gulp-svgstore": "^8.0.0",
86
- "handlebars": "^4.7.6",
87
- "handlebars-loader": "^1.7.1",
88
- "merge-stream": "^2.0.0",
89
- "node-json-minify": "^3.0.0",
90
- "path": "^0.12.7",
91
- "postcss": "^8.4.5",
92
- "postcss-cli": "^8.3.1",
93
- "postcss-import": "^14.1.0",
94
- "postcss-loader": "^4.2.0",
95
- "postcss-nested": "^6.0.1",
96
- "postcss-preset-env": "^7.3.1",
97
- "prettier": "^2.2.1",
98
- "raw-loader": "^4.0.2",
99
- "react": "^18.2.0",
100
- "react-dom": "^18.2.0",
101
- "remark-gfm": "^3.0.1",
102
- "rimraf": "^3.0.2",
103
- "storybook": "^7.6.16",
104
- "storybook-conditional-toolbar-selector": "^1.0.3",
105
- "tailwindcss": "^3.0.23",
106
- "tailwindcss-hyphens": "^0.1.0",
107
- "tailwindcss-important": "^1.0.0",
108
- "typescript": "^5.0.4",
109
- "underscore": "^1.13.2",
110
- "zepto-modules": "^1.0.1"
111
- },
112
- "dependencies": {
113
- "@alpine-collective/toolkit": "^1.0.0",
114
- "@alpinejs/anchor": "^3.13.3",
115
- "@alpinejs/collapse": "^3.8.1",
116
- "@alpinejs/intersect": "^3.13.3",
117
- "@tailwindcss/line-clamp": "^0.4.2",
118
- "a11y-dialog": "^8.0.4",
119
- "alpinejs": "^3.8.1",
120
- "async-alpine": "^1.0.0",
121
- "checkcss": "^2.0.9",
122
- "dialog-polyfill": "^0.5.6",
123
- "tailwindcss-counter": "^1.1.3"
124
- },
125
- "prettier": {
126
- "tabWidth": 4,
127
- "quoteProps": "consistent",
128
- "semi": false,
129
- "singleQuote": true,
130
- "endOfLine": "lf",
131
- "printWidth": 100
132
- },
133
- "browser": {
134
- "fs": false,
135
- "path": false,
136
- "os": false
137
- }
2
+ "name": "hr-design-system-handlebars",
3
+ "description": "Web component library of Hessischer Rundfunk",
4
+ "author": "Hessischer Rundfunk <technikteam@hr.de>",
5
+ "private": false,
6
+ "license": "MIT",
7
+ "main": "dist/index.js",
8
+ "repository": "https://github.com/szuelch/hr-design-system-handlebars",
9
+ "version": "1.84.0",
10
+ "scripts": {
11
+ "test": "echo \"Error: no test specified\" && exit 1",
12
+ "storybook": "storybook dev -p 6006 public",
13
+ "build-storybook": "storybook build",
14
+ "build-storybook-with-tailwind": "npm run build:tailwind && npm run build-storybook",
15
+ "build-storybook-docs": "storybook build --docs",
16
+ "build-storybook-docs-with-tailwind": "npm run build:tailwind && npm run build-storybook-docs",
17
+ "build:tailwind": "postcss src/assets/tailwind.css -o dist/assets/index.css",
18
+ "build": "yarn clean && yarn build:tailwind && node ./build/scripts/build.js && yarn preparePartialsForDelivery",
19
+ "chromatic": "npx chromatic --project-token 84f1628f224a",
20
+ "clean": "rimraf dist",
21
+ "release": "npx auto shipit --base-branch=main",
22
+ "optimize-assets": "gulp",
23
+ "optimize-svgs": "gulp optimizeSvgs",
24
+ "parseJson": "gulp parseJson",
25
+ "partialsToJs": "gulp convertPartialsToJs",
26
+ "saveLogoFilesToFolder": "gulp saveLogoFilesToFolder",
27
+ "preparePartialsForDelivery": "gulp preparePartialsForDelivery",
28
+ "create-modernizr-config": "gulp createModernizrConfig",
29
+ "merge-locatags": "gulp mergeLocatags",
30
+ "prepare": "yarn build",
31
+ "test-storybook": "test-storybook"
32
+ },
33
+ "browserslist": [
34
+ "last 2 versions",
35
+ "not dead",
36
+ "Firefox ESR",
37
+ "iOS >= 10",
38
+ "Safari >= 10",
39
+ "> 2.5% in DE"
40
+ ],
41
+ "keywords": [],
42
+ "devDependencies": {
43
+ "@babel/cli": "^7.13.16",
44
+ "@babel/core": "^7.12.10",
45
+ "@babel/preset-env": "^7.21.4",
46
+ "@chromatic-com/storybook": "1",
47
+ "@storybook/addon-a11y": "^8.2.6",
48
+ "@storybook/addon-actions": "^8.2.6",
49
+ "@storybook/addon-console": "^3.0.0",
50
+ "@storybook/addon-essentials": "^8.2.6",
51
+ "@storybook/addon-interactions": "^8.2.6",
52
+ "@storybook/addon-links": "^8.2.6",
53
+ "@storybook/addon-styling-webpack": "1.0.0",
54
+ "@storybook/addon-themes": "^8.2.6",
55
+ "@storybook/addon-webpack5-compiler-babel": "3.0.3",
56
+ "@storybook/addon-webpack5-compiler-swc": "1.0.4",
57
+ "@storybook/blocks": "^8.2.6",
58
+ "@storybook/html": "^8.2.6",
59
+ "@storybook/html-webpack5": "^8.2.6",
60
+ "@storybook/test": "^8.2.6",
61
+ "@storybook/test-runner": "^0.19.1",
62
+ "@storybook/theming": "^8.2.6",
63
+ "auto": "^11.0.5",
64
+ "autoprefixer": "^10.4.2",
65
+ "babel-loader": "^8.2.2",
66
+ "chromatic": "^10.9.5",
67
+ "copyfiles": "^2.4.1",
68
+ "core-js-pure": "^3.30.1",
69
+ "cross-env": "^7.0.3",
70
+ "css-loader": "^7.1.2",
71
+ "fancy-log": "^2.0.0",
72
+ "file-loader": "^6.2.0",
73
+ "glob": "^7.1.7",
74
+ "gulp": "^4.0.2",
75
+ "gulp-cheerio": "^1.0.0",
76
+ "gulp-cli": "^2.3.0",
77
+ "gulp-concat": "^2.6.1",
78
+ "gulp-debug": "^4.0.0",
79
+ "gulp-file-cache": "^0.0.1",
80
+ "gulp-filter": "^7.0.0",
81
+ "gulp-html-to-js": "^0.0.7",
82
+ "gulp-json-transform": "^0.4.8",
83
+ "gulp-merge-json": "^2.1.2",
84
+ "gulp-modernizr": "^4.0.3",
85
+ "gulp-rename": "^2.0.0",
86
+ "gulp-replace": "^1.1.4",
87
+ "gulp-svgmin": "^4.0.1",
88
+ "gulp-svgstore": "^8.0.0",
89
+ "handlebars": "^4.7.6",
90
+ "handlebars-loader": "^1.7.1",
91
+ "merge-stream": "^2.0.0",
92
+ "node-json-minify": "^3.0.0",
93
+ "path": "^0.12.7",
94
+ "postcss": "^8.4.5",
95
+ "postcss-cli": "^8.3.1",
96
+ "postcss-import": "^14.1.0",
97
+ "postcss-loader": "^4.2.0",
98
+ "postcss-nested": "^6.0.1",
99
+ "postcss-preset-env": "^7.3.1",
100
+ "prettier": "^2.2.1",
101
+ "raw-loader": "^4.0.2",
102
+ "remark-gfm": "^3.0.1",
103
+ "rimraf": "^3.0.2",
104
+ "storybook": "^8.2.6",
105
+ "storybook-conditional-toolbar-selector": "^1.0.3",
106
+ "style-loader": "^4.0.0",
107
+ "tailwindcss": "^3.0.23",
108
+ "tailwindcss-hyphens": "^0.1.0",
109
+ "tailwindcss-important": "^1.0.0",
110
+ "typescript": "^5.0.4",
111
+ "underscore": "^1.13.2",
112
+ "zepto-modules": "^1.0.1"
113
+ },
114
+ "dependencies": {
115
+ "@alpine-collective/toolkit": "^1.0.0",
116
+ "@alpinejs/anchor": "^3.13.3",
117
+ "@alpinejs/collapse": "^3.8.1",
118
+ "@alpinejs/intersect": "^3.13.3",
119
+ "@tailwindcss/line-clamp": "^0.4.2",
120
+ "a11y-dialog": "^8.0.4",
121
+ "alpinejs": "^3.8.1",
122
+ "async-alpine": "^1.0.0",
123
+ "checkcss": "^2.0.9",
124
+ "dialog-polyfill": "^0.5.6",
125
+ "tailwindcss-counter": "^1.1.3"
126
+ },
127
+ "prettier": {
128
+ "tabWidth": 4,
129
+ "quoteProps": "consistent",
130
+ "semi": false,
131
+ "singleQuote": true,
132
+ "endOfLine": "lf",
133
+ "printWidth": 100
134
+ },
135
+ "browser": {
136
+ "fs": false,
137
+ "path": false,
138
+ "os": false
139
+ }
138
140
  }
@@ -460,7 +460,7 @@ stehen danach als Javascript-Objekt zur Verfügung. Um sie in einer Story zu nut
460
460
  werden. Das folgende Beispiel soll dies verdeutlichen.
461
461
 
462
462
  ```javascript
463
- import { ArgsTable, Meta, Story, Canvas, Preview } from '@storybook/addon-docs'
463
+ import { Meta, Story, Canvas, Preview } from '@storybook/addon-docs'
464
464
  import xxlTeaserSerifWithLabel from './fixtures/teaser_standard_xxl_serif_label.json'
465
465
  import xxlTeaserSerifWithComments from './fixtures/teaser_standard_xxl_serif_comments.json'
466
466
  import xxlTeaserSerif from './fixtures/teaser_standard_xxl_serif.json'
@@ -21,9 +21,7 @@ Dieses Kapitel richtet sich vor allem an die Entwickler des Designsystems. Es er
21
21
 
22
22
  ## Aufbau der Datenstruktur des Designsystems
23
23
 
24
- <Canvas>
25
- <pre>
26
- {`
24
+ ```
27
25
  .github/
28
26
  |——— workflows/
29
27
  .storybook/
@@ -50,9 +48,7 @@ package.json
50
48
  postcss.config.js
51
49
  README.md
52
50
  tailwind.config.js
53
- `}
54
- </pre>
55
- </Canvas>
51
+ ```
56
52
 
57
53
  Im folgenden werden kurz die Ordner, deren Inhalte und andere für das Designsystem wichtige Dateien beschrieben
58
54
 
@@ -83,9 +79,7 @@ In den Ordner `dist` werden bei einem Release verschiedene Dateien (u.a. die Tem
83
79
 
84
80
  ### src
85
81
 
86
- <Canvas>
87
- <pre>
88
- {`
82
+ ```
89
83
  src/
90
84
  |——— assets/
91
85
  | |——— brand/
@@ -99,9 +93,7 @@ src/
99
93
  | | |——— base/
100
94
  | | |——— components/
101
95
  | | |——— pages/
102
- `}
103
- </pre>
104
- </Canvas>
96
+ ```
105
97
 
106
98
  Der `src` Ordner enthält die Unterordner `assets` sowie `stories`. Im Ordner `assets` finden sich die Folgenden Ordner und Dateien
107
99
 
@@ -4,7 +4,7 @@ import bannerData from './fixtures/banner.json'
4
4
  const TemplateHeader = (args, { globals: { theme } }) => {
5
5
  // You can either use a function to create DOM elements or use a plain html string!
6
6
  // return `<div>${label}</div>`;
7
- let brand = undefined !== theme ? theme : 'hessenschau'
7
+ let brand = undefined !== theme ? theme : 'hessenschau'
8
8
  return header({ brand, ...args })
9
9
  }
10
10
 
@@ -30,7 +30,6 @@ export const Seitenfooter = {
30
30
  args: {
31
31
  ...bannerData,
32
32
  _currentPageUrl: '#currentPage',
33
- _currentPageTitle: 'Der hr3 Nachmittag'
34
- }
35
-
36
- }
33
+ _currentPageTitle: 'Der hr3 Nachmittag',
34
+ },
35
+ }
@@ -4,7 +4,7 @@ import structureNavData from '../fixtures/structureNav.json'
4
4
  const TemplateStructureNav = (args, { globals: { theme } }) => {
5
5
  // You can either use a function to create DOM elements or use a plain html string!
6
6
  // return `<div>${label}</div>`;
7
- let brand = undefined !== theme ? theme : 'hessenschau'
7
+ let brand = undefined !== theme ? theme : 'hessenschau'
8
8
  return structureNav({ brand, ...args })
9
9
  }
10
10
 
@@ -27,6 +27,5 @@ export default {
27
27
  export const Seitenfooter = {
28
28
  render: TemplateStructureNav.bind({}),
29
29
  name: 'StructureNav',
30
- args: structureNavData
31
-
32
- }
30
+ args: structureNavData,
31
+ }
@@ -1,4 +1,4 @@
1
- import { ArgsTable, Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { ArgTypes, Meta, Story, Canvas } from '@storybook/blocks'
2
2
  import * as LinkStories from './link.stories'
3
3
 
4
4
  <Meta of={LinkStories} />
@@ -21,7 +21,7 @@ Sobald es einen standardisierten Text-Link oder etwas ähnliches gibt kann und s
21
21
 
22
22
  ## Eigenschaften
23
23
 
24
- <ArgsTable story="Spielplatz" />
24
+ <ArgTypes story="Spielplatz" />
25
25
 
26
26
  ## Verwendung
27
27
 
@@ -1,4 +1,4 @@
1
- import { ArgsTable, Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { ArgTypes, Meta, Story, Canvas } from '@storybook/blocks'
2
2
  import * as ButtonStories from './button.stories'
3
3
 
4
4
  <Meta of={ButtonStories} />
@@ -30,7 +30,7 @@ Alle Inhalte des Buttons, wie das [Label](?path=/docs/komponenten-buttons-kompon
30
30
 
31
31
  ## Eigenschaften
32
32
 
33
- <ArgsTable story="Spielplatz" />
33
+ <ArgTypes story="Spielplatz" />
34
34
 
35
35
  ## Varianten
36
36
 
@@ -408,7 +408,7 @@ export const ButtonPrimaryDisabled = {
408
408
  args: {
409
409
  _size: 'lg',
410
410
  _label: 'Primary',
411
- _disabled : true
411
+ _disabled: true,
412
412
  },
413
413
  }
414
414
 
@@ -430,7 +430,7 @@ export const ButtonSecondaryDisabled = {
430
430
  _size: 'lg',
431
431
  _label: 'Secondary',
432
432
  _variant: 'secondary',
433
- _disabled : true
433
+ _disabled: true,
434
434
  },
435
435
  }
436
436
 
@@ -452,7 +452,7 @@ export const ButtonTertiaryDisabled = {
452
452
  _size: 'lg',
453
453
  _label: 'Tertiary',
454
454
  _variant: 'tertiary',
455
- _disabled : true
455
+ _disabled: true,
456
456
  },
457
457
  }
458
458
 
@@ -477,7 +477,6 @@ export const ButtonIconRechts = {
477
477
  },
478
478
  }
479
479
 
480
-
481
480
  export const ButtonIconLinks = {
482
481
  render: buttonWithLabelAndIconLeftTemplate.bind({}),
483
482
  name: 'Button - Icon links',
@@ -574,4 +573,4 @@ export const ButtonTertiaryAufFarbigemHintergrund = {
574
573
  _variant: 'tertiary',
575
574
  _onBackground: true,
576
575
  },
577
- }
576
+ }
@@ -1,4 +1,4 @@
1
- import { ArgsTable, Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { ArgTypes, Meta, Story, Canvas } from '@storybook/blocks'
2
2
  import * as ButtonIconStories from './button_icon.stories'
3
3
 
4
4
  <Meta of={ButtonIconStories} />
@@ -10,7 +10,7 @@ ausschließlich als Subkomponente der Button-Komponente eingebunden werden.
10
10
 
11
11
  ## Eigenschaften
12
12
 
13
- <ArgsTable story="Icon" />
13
+ <ArgTypes story="Icon" />
14
14
 
15
15
  ## Verwendung
16
16
 
@@ -1,4 +1,4 @@
1
- import { ArgsTable, Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { ArgTypes, Meta, Story, Canvas } from '@storybook/blocks'
2
2
  import * as ButtonLabelStories from './button_label.stories'
3
3
 
4
4
  <Meta of={ButtonLabelStories} />
@@ -10,7 +10,7 @@ ausschließlich als Subkomponente der Button-Komponente eingebunden werden.
10
10
 
11
11
  ## Eigenschaften
12
12
 
13
- <ArgsTable story="Label" />
13
+ <ArgTypes story="Label" />
14
14
 
15
15
  ## Verwendung
16
16
 
@@ -1,4 +1,4 @@
1
- import { ArgsTable, Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { ArgTypes, Meta, Story, Canvas } from '@storybook/blocks'
2
2
  import * as LinkButtonStories from './link_button.stories'
3
3
 
4
4
  <Meta of={LinkButtonStories} />
@@ -28,7 +28,7 @@ Alle Inhalte des Buttons, wie das [Label](?path=/docs/komponenten-buttons-kompon
28
28
 
29
29
  ## Eigenschaften
30
30
 
31
- <ArgsTable story="Spielplatz" />
31
+ <ArgTypes story="Spielplatz" />
32
32
 
33
33
  ## Varianten
34
34
 
@@ -349,7 +349,7 @@ export const ButtonPrimaryDisabled = {
349
349
  args: {
350
350
  _size: 'lg',
351
351
  _label: 'Primary',
352
- _disabled: true
352
+ _disabled: true,
353
353
  },
354
354
  }
355
355
 
@@ -371,7 +371,7 @@ export const ButtonSecondaryDisabled = {
371
371
  _size: 'lg',
372
372
  _label: 'Secondary',
373
373
  _variant: 'secondary',
374
- _disabled: true
374
+ _disabled: true,
375
375
  },
376
376
  }
377
377
 
@@ -393,11 +393,10 @@ export const ButtonTertiaryDisabled = {
393
393
  _size: 'lg',
394
394
  _label: 'Tertiary',
395
395
  _variant: 'tertiary',
396
- _disabled: true
396
+ _disabled: true,
397
397
  },
398
398
  }
399
399
 
400
-
401
400
  export const ButtonIconRechts = {
402
401
  render: buttonWithLabelAndIconRightTemplate.bind({}),
403
402
  name: 'Button - Icon rechts',
@@ -1,4 +1,4 @@
1
- import { ArgsTable, Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { ArgTypes, Meta, Story, Canvas } from '@storybook/blocks'
2
2
  import * as ContentFooterStories from './content_footer.stories'
3
3
 
4
4
  <Meta of={ContentFooterStories} />
@@ -26,4 +26,4 @@ Die Content-Footer-Komponente wird in handlebars wie folgt eingebaut:
26
26
  <Story of={ContentFooterStories.Default} />
27
27
  </Canvas>
28
28
 
29
- <ArgsTable story="default" />
29
+ <ArgTypes story="default" />
@@ -20,4 +20,4 @@ export const Default = {
20
20
  render: Template.bind({}),
21
21
  name: 'default',
22
22
  args: contentfooterjson,
23
- }
23
+ }
@@ -1,4 +1,4 @@
1
- import { ArgsTable, Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { ArgTypes, Meta, Story, Canvas } from '@storybook/blocks'
2
2
  import * as AccordionStories from './accordion.stories'
3
3
 
4
4
  <Meta of={AccordionStories} />
@@ -11,7 +11,7 @@ import * as AccordionStories from './accordion.stories'
11
11
  ## Parameter
12
12
 
13
13
 
14
- <ArgsTable story="default" />
14
+ <ArgTypes story="default" />
15
15
 
16
16
  ## Verwendung
17
17