@dcrackel/hematournamentui 1.0.21 → 1.0.23

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 (127) hide show
  1. package/.eslintrc.js +18 -18
  2. package/.gitattributes +2 -2
  3. package/.prettierignore +1 -1
  4. package/.storybook/main.js +18 -18
  5. package/.storybook/mockRoutes.js +9 -9
  6. package/.storybook/preview-head.html +3 -3
  7. package/.storybook/preview.js +17 -17
  8. package/LICENSE +21 -21
  9. package/README.md +83 -83
  10. package/dist/HemaTouranmentUI-lib.es.js +7060 -6916
  11. package/dist/HemaTouranmentUI-lib.umd.js +27 -27
  12. package/dist/style.css +1 -1
  13. package/index.html +12 -12
  14. package/package.json +58 -56
  15. package/postcss.config.js +6 -6
  16. package/prettier.config.js +10 -10
  17. package/src/index.js +25 -25
  18. package/src/main.js +2 -2
  19. package/src/mocks/fileMock.js +1 -1
  20. package/src/mocks/tournamentMock.js +34 -34
  21. package/src/stories/Atoms/Icon/BaseIcon.stories.js +54 -54
  22. package/src/stories/Atoms/Icon/BaseIcon.test.js +91 -0
  23. package/src/stories/Atoms/Icon/BaseIcon.vue +48 -47
  24. package/src/stories/Atoms/Input/BaseInput.stories.js +29 -28
  25. package/src/stories/Atoms/Input/BaseInput.test.js +87 -87
  26. package/src/stories/Atoms/Input/BaseInput.vue +85 -73
  27. package/src/stories/Atoms/RadioGroup/BaseRadioGroup.stories.js +31 -31
  28. package/src/stories/Atoms/RadioGroup/BaseRadioGroup.test.js +49 -0
  29. package/src/stories/Atoms/RadioGroup/BaseRadioGroup.vue +49 -49
  30. package/src/stories/Atoms/Tag/BaseTag.stories.js +29 -29
  31. package/src/stories/Atoms/Tag/BaseTag.test.js +42 -42
  32. package/src/stories/Atoms/Tag/BaseTag.vue +57 -57
  33. package/src/stories/Atoms/Text/BaseText.stories.js +77 -77
  34. package/src/stories/Atoms/Text/BaseText.test.js +172 -172
  35. package/src/stories/Atoms/Text/BaseText.vue +170 -170
  36. package/src/stories/Configure.mdx +320 -320
  37. package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.stories.js +41 -41
  38. package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.test.js +80 -0
  39. package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.vue +31 -31
  40. package/src/stories/Molecules/Button/BaseButton.stories.js +93 -76
  41. package/src/stories/Molecules/Button/BaseButton.test.js +147 -147
  42. package/src/stories/Molecules/Button/BaseButton.vue +116 -125
  43. package/src/stories/Molecules/Cards/Detail/TournamentCardDetail.stories.js +33 -33
  44. package/src/stories/Molecules/Cards/Detail/TournamentCardDetail.vue +38 -38
  45. package/src/stories/Molecules/Cards/Header/TournamentCardHeader.stories.js +48 -48
  46. package/src/stories/Molecules/Cards/Header/TournamentCardHeader.vue +40 -40
  47. package/src/stories/Molecules/Filters/FilterAndSortBar/FilterAndSortBar.stories.js +36 -36
  48. package/src/stories/Molecules/Filters/FilterAndSortBar/FilterAndSortBar.vue +49 -49
  49. package/src/stories/Molecules/Filters/FilterUpcomingPast/FilterUpcomingPast.stories.js +32 -32
  50. package/src/stories/Molecules/Filters/FilterUpcomingPast/FilterUpcomingPast.vue +46 -46
  51. package/src/stories/Organisms/AddressAutocomplete/AddressAutocomplete.stories.js +25 -25
  52. package/src/stories/Organisms/AddressAutocomplete/AddressAutocomplete.vue +51 -51
  53. package/src/stories/Organisms/DatePicker/DatePicker.stories.js +25 -25
  54. package/src/stories/Organisms/DatePicker/DatePicker.vue +62 -62
  55. package/src/stories/Organisms/DropDown/DropDownMenu.stories.js +34 -34
  56. package/src/stories/Organisms/DropDown/DropDownMenu.vue +51 -51
  57. package/src/stories/Organisms/Grid/GridContainer.stories.js +47 -47
  58. package/src/stories/Organisms/Grid/GridContainer.vue +108 -108
  59. package/src/stories/Organisms/ImageCropper/ImageCropper.stories.js +28 -28
  60. package/src/stories/Organisms/ImageCropper/ImageCropper.vue +86 -86
  61. package/src/stories/Organisms/TextBoxEditor/TextBoxEditor.stories.js +28 -28
  62. package/src/stories/Organisms/TextBoxEditor/TextBoxEditor.vue +97 -97
  63. package/src/stories/Organisms/TournamentCard/TournamentCard.stories.js +37 -37
  64. package/src/stories/Organisms/TournamentCard/TournamentCard.vue +35 -35
  65. package/src/stories/Templates/Forms/AddTournamentPageOne/AddTournamentPageOne.stories.js +25 -25
  66. package/src/stories/Templates/Forms/AddTournamentPageOne/AddTournamentPageOne.vue +138 -136
  67. package/src/stories/Templates/Forms/AddTournamentPageTwo/AddTournamentPageTwo.stories.js +35 -0
  68. package/src/stories/Templates/Forms/AddTournamentPageTwo/AddTournamentPageTwo.vue +121 -0
  69. package/src/stories/Templates/Menu/Admin/AdminLeftMenu.stories.js +28 -28
  70. package/src/stories/Templates/Menu/Admin/AdminLeftMenu.vue +57 -57
  71. package/tailwind/output.css +1247 -1212
  72. package/tailwind/tailwind.css +4 -4
  73. package/tailwind.config.js +50 -50
  74. package/vite.config.js +23 -23
  75. package/package/.eslintrc.js +0 -18
  76. package/package/.gitattributes +0 -2
  77. package/package/.prettierignore +0 -1
  78. package/package/.storybook/main.js +0 -18
  79. package/package/.storybook/mockRoutes.js +0 -9
  80. package/package/.storybook/preview-head.html +0 -1
  81. package/package/.storybook/preview.js +0 -17
  82. package/package/LICENSE +0 -21
  83. package/package/README.md +0 -83
  84. package/package/index.html +0 -12
  85. package/package/package.json +0 -49
  86. package/package/postcss.config.js +0 -6
  87. package/package/prettier.config.js +0 -10
  88. package/package/src/assets/default-tournament.png +0 -0
  89. package/package/src/index.js +0 -15
  90. package/package/src/main.js +0 -2
  91. package/package/src/mocks/fileMock.js +0 -1
  92. package/package/src/mocks/tournamentMock.js +0 -34
  93. package/package/src/stories/Base/Button/BaseButton.stories.js +0 -69
  94. package/package/src/stories/Base/Button/BaseButton.test.js +0 -146
  95. package/package/src/stories/Base/Button/BaseButton.vue +0 -126
  96. package/package/src/stories/Base/Input/BaseInput.stories.js +0 -28
  97. package/package/src/stories/Base/Input/BaseInput.test.js +0 -46
  98. package/package/src/stories/Base/Input/BaseInput.vue +0 -45
  99. package/package/src/stories/Base/Tag/BaseTag.stories.js +0 -29
  100. package/package/src/stories/Base/Tag/BaseTag.test.js +0 -42
  101. package/package/src/stories/Base/Tag/BaseTag.vue +0 -57
  102. package/package/src/stories/Base/Text/BaseText.stories.js +0 -77
  103. package/package/src/stories/Base/Text/BaseText.test.js +0 -153
  104. package/package/src/stories/Base/Text/BaseText.vue +0 -163
  105. package/package/src/stories/Breadcrumb/Admin/Breadcrumb.stories.js +0 -41
  106. package/package/src/stories/Breadcrumb/Admin/Breadcrumb.vue +0 -31
  107. package/package/src/stories/Cards/TournamentCard/Detail/TournamentCardDetail.stories.js +0 -33
  108. package/package/src/stories/Cards/TournamentCard/Detail/TournamentCardDetail.vue +0 -38
  109. package/package/src/stories/Cards/TournamentCard/Header/TournamentCardHeader.stories.js +0 -48
  110. package/package/src/stories/Cards/TournamentCard/Header/TournamentCardHeader.vue +0 -40
  111. package/package/src/stories/Cards/TournamentCard/TournamentCard.stories.js +0 -37
  112. package/package/src/stories/Cards/TournamentCard/TournamentCard.vue +0 -35
  113. package/package/src/stories/Configure.mdx +0 -320
  114. package/package/src/stories/Containers/Grid/GridContainer.stories.js +0 -47
  115. package/package/src/stories/Containers/Grid/GridContainer.vue +0 -108
  116. package/package/src/stories/Filters/FilterAndSortBar/FilterAndSortBar.stories.js +0 -36
  117. package/package/src/stories/Filters/FilterAndSortBar/FilterAndSortBar.vue +0 -48
  118. package/package/src/stories/Filters/FilterUpcomingPast/FilterUpcomingPast.stories.js +0 -32
  119. package/package/src/stories/Filters/FilterUpcomingPast/FilterUpcomingPast.vue +0 -46
  120. package/package/src/stories/Menu/Admin/AdminLeftMenu.stories.js +0 -28
  121. package/package/src/stories/Menu/Admin/AdminLeftMenu.vue +0 -57
  122. package/package/src/stories/Menu/DropDown/DropDownMenu.stories.js +0 -34
  123. package/package/src/stories/Menu/DropDown/DropDownMenu.vue +0 -51
  124. package/package/tailwind/output.css +0 -1072
  125. package/package/tailwind/tailwind.css +0 -4
  126. package/package/tailwind.config.js +0 -25
  127. package/package/vite.config.js +0 -23
@@ -1,320 +1,320 @@
1
- import { Meta } from "@storybook/blocks";
2
-
3
-
4
-
5
- <Meta title="Configure your project" />
6
-
7
- <div className="sb-container">
8
- <div className='sb-section-title'>
9
- # Configure your project
10
-
11
- Because Storybook works separately from your app, you'll need to configure it for your specific stack and setup. Below, explore guides for configuring Storybook with popular frameworks and tools. If you get stuck, learn how you can ask for help from our community.
12
- </div>
13
- <div className="sb-section">
14
- <div className="sb-section-item">
15
- <h4 className="sb-section-item-heading">Add styling and CSS</h4>
16
- <p className="sb-section-item-paragraph">Like with web applications, there are many ways to include CSS within Storybook. Learn more about setting up styling within Storybook.</p>
17
- <a
18
- href="https://storybook.js.org/docs/vue/configure/styling-and-css"
19
- target="_blank"
20
- >Learn more</a>
21
- </div>
22
- <div className="sb-section-item">
23
-
24
- <h4 className="sb-section-item-heading">Provide context and mocking</h4>
25
- <p className="sb-section-item-paragraph">Often when a story doesn't render, it's because your component is expecting a specific environment or context (like a theme provider) to be available.</p>
26
- <a
27
- href="https://storybook.js.org/docs/vue/writing-stories/decorators#context-for-mocking"
28
- target="_blank"
29
- >Learn more</a>
30
- </div>
31
- <div className="sb-section-item">
32
-
33
- <div>
34
- <h4 className="sb-section-item-heading">Load assets and resources</h4>
35
- <p className="sb-section-item-paragraph">To link static files (like fonts) to your projects and stories, use the
36
- `staticDirs` configuration option to specify folders to load when
37
- starting Storybook.</p>
38
- <a
39
- href="https://storybook.js.org/docs/vue/configure/images-and-assets"
40
- target="_blank"
41
- >Learn more</a>
42
- </div>
43
- </div>
44
- </div>
45
- </div>
46
- <div className="sb-container">
47
- <div className='sb-section-title'>
48
- # Do more with Storybook
49
-
50
- Now that you know the basics, let's explore other parts of Storybook that will improve your experience. This list is just to get you started. You can customise Storybook in many ways to fit your needs.
51
- </div>
52
-
53
- <div className="sb-section">
54
- <div className="sb-features-grid">
55
- <div className="sb-grid-item">
56
- <h4 className="sb-section-item-heading">Autodocs</h4>
57
- <p className="sb-section-item-paragraph">Auto-generate living,
58
- interactive reference documentation from your components and stories.</p>
59
- <a
60
- href="https://storybook.js.org/docs/vue/writing-docs/autodocs"
61
- target="_blank"
62
- >Learn more</a>
63
- </div>
64
- <div className="sb-grid-item">
65
- <h4 className="sb-section-item-heading">Publish to Chromatic</h4>
66
- <p className="sb-section-item-paragraph">Publish your Storybook to review and collaborate with your entire team.</p>
67
- <a
68
- href="https://storybook.js.org/docs/vue/sharing/publish-storybook#publish-storybook-with-chromatic"
69
- target="_blank"
70
- >Learn more</a>
71
- </div>
72
- <div className="sb-grid-item">
73
- <h4 className="sb-section-item-heading">Figma Plugin</h4>
74
- <p className="sb-section-item-paragraph">Embed your stories into Figma to cross-reference the design and live
75
- implementation in one place.</p>
76
- <a
77
- href="https://storybook.js.org/docs/vue/sharing/design-integrations#embed-storybook-in-figma-with-the-plugin"
78
- target="_blank"
79
- >Learn more</a>
80
- </div>
81
- <div className="sb-grid-item">
82
- <h4 className="sb-section-item-heading">Testing</h4>
83
- <p className="sb-section-item-paragraph">Use stories to test a component in all its variations, no matter how
84
- complex.</p>
85
- <a
86
- href="https://storybook.js.org/docs/vue/writing-tests/introduction"
87
- target="_blank"
88
- >Learn more</a>
89
- </div>
90
- <div className="sb-grid-item">
91
- <h4 className="sb-section-item-heading">Accessibility</h4>
92
- <p className="sb-section-item-paragraph">Automatically test your components for a11y issues as you develop.</p>
93
- <a
94
- href="https://storybook.js.org/docs/vue/writing-tests/accessibility-testing"
95
- target="_blank"
96
- >Learn more</a>
97
- </div>
98
- <div className="sb-grid-item">
99
- <h4 className="sb-section-item-heading">Theming</h4>
100
- <p className="sb-section-item-paragraph">Theme Storybook's UI to personalize it to your project.</p>
101
- <a
102
- href="https://storybook.js.org/docs/vue/configure/theming"
103
- target="_blank"
104
- >Learn more</a>
105
- </div>
106
- </div>
107
- </div>
108
- </div>
109
- <div className='sb-addon'>
110
- <div className='sb-addon-text'>
111
- <h4>Addons</h4>
112
- <p className="sb-section-item-paragraph">Integrate your tools with Storybook to connect workflows.</p>
113
- <a
114
- href="https://storybook.js.org/integrations/"
115
- target="_blank"
116
- >Discover all addons</a>
117
- </div>
118
- <div className='sb-addon-img'></div>
119
- </div>
120
-
121
- <div className="sb-section sb-socials">
122
- <div className="sb-section-item">
123
-
124
- Join our contributors building the future of UI development.
125
-
126
- <a
127
- href="https://github.com/storybookjs/storybook"
128
- target="_blank"
129
- >Star on GitHub</a>
130
- </div>
131
- <div className="sb-section-item">
132
-
133
- <div>
134
- Get support and chat with frontend developers.
135
-
136
- <a
137
- href="https://discord.gg/storybook"
138
- target="_blank"
139
- >Join Discord server</a>
140
- </div>
141
- </div>
142
- <div className="sb-section-item">
143
-
144
- <div>
145
- Watch tutorials, feature previews and interviews.
146
-
147
- <a
148
- href="https://www.youtube.com/@chromaticui"
149
- target="_blank"
150
- >Watch on YouTube</a>
151
- </div>
152
- </div>
153
- <div className="sb-section-item">
154
-
155
- <p>Follow guided walkthroughs on for key workflows.</p>
156
-
157
- <a
158
- href="https://storybook.js.org/tutorials/"
159
- target="_blank"
160
- >Discover tutorials</a>
161
- </div>
162
- </div>
163
-
164
- <style>
165
- {`
166
- .sb-container {
167
- margin-bottom: 48px;
168
- }
169
-
170
- .sb-section {
171
- width: 100%;
172
- display: flex;
173
- flex-direction: row;
174
- gap: 20px;
175
- }
176
-
177
- img {
178
- object-fit: cover;
179
- }
180
-
181
- .sb-section-title {
182
- margin-bottom: 32px;
183
- }
184
-
185
- .sb-section a:not(h1 a, h2 a, h3 a) {
186
- font-size: 14px;
187
- }
188
-
189
- .sb-section-item, .sb-grid-item {
190
- flex: 1;
191
- display: flex;
192
- flex-direction: column;
193
- }
194
-
195
- .sb-section-item-heading {
196
- padding-top: 20px !important;
197
- padding-bottom: 5px !important;
198
- margin: 0 !important;
199
- }
200
- .sb-section-item-paragraph {
201
- margin: 0;
202
- padding-bottom: 10px;
203
- }
204
-
205
- .sb-chevron {
206
- margin-left: 5px;
207
- }
208
-
209
- .sb-features-grid {
210
- display: grid;
211
- grid-template-columns: repeat(2, 1fr);
212
- grid-gap: 32px 20px;
213
- }
214
-
215
- .sb-socials {
216
- display: grid;
217
- grid-template-columns: repeat(4, 1fr);
218
- }
219
-
220
- .sb-socials p {
221
- margin-bottom: 10px;
222
- }
223
-
224
- .sb-explore-image {
225
- max-height: 32px;
226
- align-self: flex-start;
227
- }
228
-
229
- .sb-addon {
230
- width: 100%;
231
- display: flex;
232
- align-items: center;
233
- position: relative;
234
- background-color: #EEF3F8;
235
- border-radius: 5px;
236
- border: 1px solid rgba(0, 0, 0, 0.05);
237
- background: #EEF3F8;
238
- height: 180px;
239
- margin-bottom: 48px;
240
- overflow: hidden;
241
- }
242
-
243
- .sb-addon-text {
244
- padding-left: 48px;
245
- max-width: 240px;
246
- }
247
-
248
- .sb-addon-text h4 {
249
- padding-top: 0px;
250
- }
251
-
252
- .sb-addon-img {
253
- position: absolute;
254
- left: 345px;
255
- top: 0;
256
- height: 100%;
257
- width: 200%;
258
- overflow: hidden;
259
- }
260
-
261
- .sb-addon-img img {
262
- width: 650px;
263
- transform: rotate(-15deg);
264
- margin-left: 40px;
265
- margin-top: -72px;
266
- box-shadow: 0 0 1px rgba(255, 255, 255, 0);
267
- backface-visibility: hidden;
268
- }
269
-
270
- @media screen and (max-width: 800px) {
271
- .sb-addon-img {
272
- left: 300px;
273
- }
274
- }
275
-
276
- @media screen and (max-width: 600px) {
277
- .sb-section {
278
- flex-direction: column;
279
- }
280
-
281
- .sb-features-grid {
282
- grid-template-columns: repeat(1, 1fr);
283
- }
284
-
285
- .sb-socials {
286
- grid-template-columns: repeat(2, 1fr);
287
- }
288
-
289
- .sb-addon {
290
- height: 280px;
291
- align-items: flex-start;
292
- padding-top: 32px;
293
- overflow: hidden;
294
- }
295
-
296
- .sb-addon-text {
297
- padding-left: 24px;
298
- }
299
-
300
- .sb-addon-img {
301
- right: 0;
302
- left: 0;
303
- top: 130px;
304
- bottom: 0;
305
- overflow: hidden;
306
- height: auto;
307
- width: 124%;
308
- }
309
-
310
- .sb-addon-img img {
311
- width: 1200px;
312
- transform: rotate(-12deg);
313
- margin-left: 0;
314
- margin-top: 48px;
315
- margin-bottom: -40px;
316
- margin-left: -24px;
317
- }
318
- }
319
- `}
320
- </style>
1
+ import { Meta } from "@storybook/blocks";
2
+
3
+
4
+
5
+ <Meta title="Configure your project" />
6
+
7
+ <div className="sb-container">
8
+ <div className='sb-section-title'>
9
+ # Configure your project
10
+
11
+ Because Storybook works separately from your app, you'll need to configure it for your specific stack and setup. Below, explore guides for configuring Storybook with popular frameworks and tools. If you get stuck, learn how you can ask for help from our community.
12
+ </div>
13
+ <div className="sb-section">
14
+ <div className="sb-section-item">
15
+ <h4 className="sb-section-item-heading">Add styling and CSS</h4>
16
+ <p className="sb-section-item-paragraph">Like with web applications, there are many ways to include CSS within Storybook. Learn more about setting up styling within Storybook.</p>
17
+ <a
18
+ href="https://storybook.js.org/docs/vue/configure/styling-and-css"
19
+ target="_blank"
20
+ >Learn more</a>
21
+ </div>
22
+ <div className="sb-section-item">
23
+
24
+ <h4 className="sb-section-item-heading">Provide context and mocking</h4>
25
+ <p className="sb-section-item-paragraph">Often when a story doesn't render, it's because your component is expecting a specific environment or context (like a theme provider) to be available.</p>
26
+ <a
27
+ href="https://storybook.js.org/docs/vue/writing-stories/decorators#context-for-mocking"
28
+ target="_blank"
29
+ >Learn more</a>
30
+ </div>
31
+ <div className="sb-section-item">
32
+
33
+ <div>
34
+ <h4 className="sb-section-item-heading">Load assets and resources</h4>
35
+ <p className="sb-section-item-paragraph">To link static files (like fonts) to your projects and stories, use the
36
+ `staticDirs` configuration option to specify folders to load when
37
+ starting Storybook.</p>
38
+ <a
39
+ href="https://storybook.js.org/docs/vue/configure/images-and-assets"
40
+ target="_blank"
41
+ >Learn more</a>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <div className="sb-container">
47
+ <div className='sb-section-title'>
48
+ # Do more with Storybook
49
+
50
+ Now that you know the basics, let's explore other parts of Storybook that will improve your experience. This list is just to get you started. You can customise Storybook in many ways to fit your needs.
51
+ </div>
52
+
53
+ <div className="sb-section">
54
+ <div className="sb-features-grid">
55
+ <div className="sb-grid-item">
56
+ <h4 className="sb-section-item-heading">Autodocs</h4>
57
+ <p className="sb-section-item-paragraph">Auto-generate living,
58
+ interactive reference documentation from your components and stories.</p>
59
+ <a
60
+ href="https://storybook.js.org/docs/vue/writing-docs/autodocs"
61
+ target="_blank"
62
+ >Learn more</a>
63
+ </div>
64
+ <div className="sb-grid-item">
65
+ <h4 className="sb-section-item-heading">Publish to Chromatic</h4>
66
+ <p className="sb-section-item-paragraph">Publish your Storybook to review and collaborate with your entire team.</p>
67
+ <a
68
+ href="https://storybook.js.org/docs/vue/sharing/publish-storybook#publish-storybook-with-chromatic"
69
+ target="_blank"
70
+ >Learn more</a>
71
+ </div>
72
+ <div className="sb-grid-item">
73
+ <h4 className="sb-section-item-heading">Figma Plugin</h4>
74
+ <p className="sb-section-item-paragraph">Embed your stories into Figma to cross-reference the design and live
75
+ implementation in one place.</p>
76
+ <a
77
+ href="https://storybook.js.org/docs/vue/sharing/design-integrations#embed-storybook-in-figma-with-the-plugin"
78
+ target="_blank"
79
+ >Learn more</a>
80
+ </div>
81
+ <div className="sb-grid-item">
82
+ <h4 className="sb-section-item-heading">Testing</h4>
83
+ <p className="sb-section-item-paragraph">Use stories to test a component in all its variations, no matter how
84
+ complex.</p>
85
+ <a
86
+ href="https://storybook.js.org/docs/vue/writing-tests/introduction"
87
+ target="_blank"
88
+ >Learn more</a>
89
+ </div>
90
+ <div className="sb-grid-item">
91
+ <h4 className="sb-section-item-heading">Accessibility</h4>
92
+ <p className="sb-section-item-paragraph">Automatically test your components for a11y issues as you develop.</p>
93
+ <a
94
+ href="https://storybook.js.org/docs/vue/writing-tests/accessibility-testing"
95
+ target="_blank"
96
+ >Learn more</a>
97
+ </div>
98
+ <div className="sb-grid-item">
99
+ <h4 className="sb-section-item-heading">Theming</h4>
100
+ <p className="sb-section-item-paragraph">Theme Storybook's UI to personalize it to your project.</p>
101
+ <a
102
+ href="https://storybook.js.org/docs/vue/configure/theming"
103
+ target="_blank"
104
+ >Learn more</a>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ <div className='sb-addon'>
110
+ <div className='sb-addon-text'>
111
+ <h4>Addons</h4>
112
+ <p className="sb-section-item-paragraph">Integrate your tools with Storybook to connect workflows.</p>
113
+ <a
114
+ href="https://storybook.js.org/integrations/"
115
+ target="_blank"
116
+ >Discover all addons</a>
117
+ </div>
118
+ <div className='sb-addon-img'></div>
119
+ </div>
120
+
121
+ <div className="sb-section sb-socials">
122
+ <div className="sb-section-item">
123
+
124
+ Join our contributors building the future of UI development.
125
+
126
+ <a
127
+ href="https://github.com/storybookjs/storybook"
128
+ target="_blank"
129
+ >Star on GitHub</a>
130
+ </div>
131
+ <div className="sb-section-item">
132
+
133
+ <div>
134
+ Get support and chat with frontend developers.
135
+
136
+ <a
137
+ href="https://discord.gg/storybook"
138
+ target="_blank"
139
+ >Join Discord server</a>
140
+ </div>
141
+ </div>
142
+ <div className="sb-section-item">
143
+
144
+ <div>
145
+ Watch tutorials, feature previews and interviews.
146
+
147
+ <a
148
+ href="https://www.youtube.com/@chromaticui"
149
+ target="_blank"
150
+ >Watch on YouTube</a>
151
+ </div>
152
+ </div>
153
+ <div className="sb-section-item">
154
+
155
+ <p>Follow guided walkthroughs on for key workflows.</p>
156
+
157
+ <a
158
+ href="https://storybook.js.org/tutorials/"
159
+ target="_blank"
160
+ >Discover tutorials</a>
161
+ </div>
162
+ </div>
163
+
164
+ <style>
165
+ {`
166
+ .sb-container {
167
+ margin-bottom: 48px;
168
+ }
169
+
170
+ .sb-section {
171
+ width: 100%;
172
+ display: flex;
173
+ flex-direction: row;
174
+ gap: 20px;
175
+ }
176
+
177
+ img {
178
+ object-fit: cover;
179
+ }
180
+
181
+ .sb-section-title {
182
+ margin-bottom: 32px;
183
+ }
184
+
185
+ .sb-section a:not(h1 a, h2 a, h3 a) {
186
+ font-size: 14px;
187
+ }
188
+
189
+ .sb-section-item, .sb-grid-item {
190
+ flex: 1;
191
+ display: flex;
192
+ flex-direction: column;
193
+ }
194
+
195
+ .sb-section-item-heading {
196
+ padding-top: 20px !important;
197
+ padding-bottom: 5px !important;
198
+ margin: 0 !important;
199
+ }
200
+ .sb-section-item-paragraph {
201
+ margin: 0;
202
+ padding-bottom: 10px;
203
+ }
204
+
205
+ .sb-chevron {
206
+ margin-left: 5px;
207
+ }
208
+
209
+ .sb-features-grid {
210
+ display: grid;
211
+ grid-template-columns: repeat(2, 1fr);
212
+ grid-gap: 32px 20px;
213
+ }
214
+
215
+ .sb-socials {
216
+ display: grid;
217
+ grid-template-columns: repeat(4, 1fr);
218
+ }
219
+
220
+ .sb-socials p {
221
+ margin-bottom: 10px;
222
+ }
223
+
224
+ .sb-explore-image {
225
+ max-height: 32px;
226
+ align-self: flex-start;
227
+ }
228
+
229
+ .sb-addon {
230
+ width: 100%;
231
+ display: flex;
232
+ align-items: center;
233
+ position: relative;
234
+ background-color: #EEF3F8;
235
+ border-radius: 5px;
236
+ border: 1px solid rgba(0, 0, 0, 0.05);
237
+ background: #EEF3F8;
238
+ height: 180px;
239
+ margin-bottom: 48px;
240
+ overflow: hidden;
241
+ }
242
+
243
+ .sb-addon-text {
244
+ padding-left: 48px;
245
+ max-width: 240px;
246
+ }
247
+
248
+ .sb-addon-text h4 {
249
+ padding-top: 0px;
250
+ }
251
+
252
+ .sb-addon-img {
253
+ position: absolute;
254
+ left: 345px;
255
+ top: 0;
256
+ height: 100%;
257
+ width: 200%;
258
+ overflow: hidden;
259
+ }
260
+
261
+ .sb-addon-img img {
262
+ width: 650px;
263
+ transform: rotate(-15deg);
264
+ margin-left: 40px;
265
+ margin-top: -72px;
266
+ box-shadow: 0 0 1px rgba(255, 255, 255, 0);
267
+ backface-visibility: hidden;
268
+ }
269
+
270
+ @media screen and (max-width: 800px) {
271
+ .sb-addon-img {
272
+ left: 300px;
273
+ }
274
+ }
275
+
276
+ @media screen and (max-width: 600px) {
277
+ .sb-section {
278
+ flex-direction: column;
279
+ }
280
+
281
+ .sb-features-grid {
282
+ grid-template-columns: repeat(1, 1fr);
283
+ }
284
+
285
+ .sb-socials {
286
+ grid-template-columns: repeat(2, 1fr);
287
+ }
288
+
289
+ .sb-addon {
290
+ height: 280px;
291
+ align-items: flex-start;
292
+ padding-top: 32px;
293
+ overflow: hidden;
294
+ }
295
+
296
+ .sb-addon-text {
297
+ padding-left: 24px;
298
+ }
299
+
300
+ .sb-addon-img {
301
+ right: 0;
302
+ left: 0;
303
+ top: 130px;
304
+ bottom: 0;
305
+ overflow: hidden;
306
+ height: auto;
307
+ width: 124%;
308
+ }
309
+
310
+ .sb-addon-img img {
311
+ width: 1200px;
312
+ transform: rotate(-12deg);
313
+ margin-left: 0;
314
+ margin-top: 48px;
315
+ margin-bottom: -40px;
316
+ margin-left: -24px;
317
+ }
318
+ }
319
+ `}
320
+ </style>