tournament-brackets-ui 0.1.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 (268) hide show
  1. package/.storybook/main.js +23 -0
  2. package/.storybook/preview.js +13 -0
  3. package/README.md +70 -0
  4. package/README.old.md +1 -0
  5. package/commands.txt +41 -0
  6. package/dist/esm/CollapsedLeft-B5z4pKZL.js +1042 -0
  7. package/dist/esm/CollapsedLeft-B5z4pKZL.js.map +1 -0
  8. package/dist/esm/CollapsedLeft-B6FNo8Dp.js +727 -0
  9. package/dist/esm/CollapsedLeft-B6FNo8Dp.js.map +1 -0
  10. package/dist/esm/CollapsedLeft-BB1dXff3.js +1215 -0
  11. package/dist/esm/CollapsedLeft-BB1dXff3.js.map +1 -0
  12. package/dist/esm/CollapsedLeft-BMZwFt9m.js +879 -0
  13. package/dist/esm/CollapsedLeft-BMZwFt9m.js.map +1 -0
  14. package/dist/esm/CollapsedLeft-BYfnV5-9.js +1228 -0
  15. package/dist/esm/CollapsedLeft-BYfnV5-9.js.map +1 -0
  16. package/dist/esm/CollapsedLeft-C3BOW8Vh.js +977 -0
  17. package/dist/esm/CollapsedLeft-C3BOW8Vh.js.map +1 -0
  18. package/dist/esm/CollapsedLeft-CBPTeMn9.js +922 -0
  19. package/dist/esm/CollapsedLeft-CBPTeMn9.js.map +1 -0
  20. package/dist/esm/CollapsedLeft-CNXxlyEt.js +887 -0
  21. package/dist/esm/CollapsedLeft-CNXxlyEt.js.map +1 -0
  22. package/dist/esm/CollapsedLeft-DN7qy7MO.js +961 -0
  23. package/dist/esm/CollapsedLeft-DN7qy7MO.js.map +1 -0
  24. package/dist/esm/CollapsedLeft-DO5DyVjM.js +870 -0
  25. package/dist/esm/CollapsedLeft-DO5DyVjM.js.map +1 -0
  26. package/dist/esm/CollapsedLeft-DP4ftgM6.js +796 -0
  27. package/dist/esm/CollapsedLeft-DP4ftgM6.js.map +1 -0
  28. package/dist/esm/CollapsedLeft-DQO8oQL_.js +800 -0
  29. package/dist/esm/CollapsedLeft-DQO8oQL_.js.map +1 -0
  30. package/dist/esm/CollapsedLeft-DXyWTNAC.js +1047 -0
  31. package/dist/esm/CollapsedLeft-DXyWTNAC.js.map +1 -0
  32. package/dist/esm/CollapsedLeft-DZGhG_-q.js +728 -0
  33. package/dist/esm/CollapsedLeft-DZGhG_-q.js.map +1 -0
  34. package/dist/esm/CollapsedLeft-bAhAurv-.js +908 -0
  35. package/dist/esm/CollapsedLeft-bAhAurv-.js.map +1 -0
  36. package/dist/esm/CollapsedLeft-hF26CY1G.js +1003 -0
  37. package/dist/esm/CollapsedLeft-hF26CY1G.js.map +1 -0
  38. package/dist/esm/CollapsedRight-1CTx2ozt.js +860 -0
  39. package/dist/esm/CollapsedRight-1CTx2ozt.js.map +1 -0
  40. package/dist/esm/CollapsedRight-2mcguPWm.js +715 -0
  41. package/dist/esm/CollapsedRight-2mcguPWm.js.map +1 -0
  42. package/dist/esm/CollapsedRight-BCLyZXf2.js +863 -0
  43. package/dist/esm/CollapsedRight-BCLyZXf2.js.map +1 -0
  44. package/dist/esm/CollapsedRight-C13Vq_e3.js +1293 -0
  45. package/dist/esm/CollapsedRight-C13Vq_e3.js.map +1 -0
  46. package/dist/esm/CollapsedRight-C3-pe8RB.js +799 -0
  47. package/dist/esm/CollapsedRight-C3-pe8RB.js.map +1 -0
  48. package/dist/esm/CollapsedRight-CPLDkLx5.js +678 -0
  49. package/dist/esm/CollapsedRight-CPLDkLx5.js.map +1 -0
  50. package/dist/esm/CollapsedRight-CdwTany1.js +1388 -0
  51. package/dist/esm/CollapsedRight-CdwTany1.js.map +1 -0
  52. package/dist/esm/CollapsedRight-DGOaJHqo.js +1123 -0
  53. package/dist/esm/CollapsedRight-DGOaJHqo.js.map +1 -0
  54. package/dist/esm/CollapsedRight-DH1HTBg_.js +1034 -0
  55. package/dist/esm/CollapsedRight-DH1HTBg_.js.map +1 -0
  56. package/dist/esm/CollapsedRight-D_0End0L.js +1013 -0
  57. package/dist/esm/CollapsedRight-D_0End0L.js.map +1 -0
  58. package/dist/esm/CollapsedRight-Da0UMNrq.js +1547 -0
  59. package/dist/esm/CollapsedRight-Da0UMNrq.js.map +1 -0
  60. package/dist/esm/CollapsedRight-DjoLogzE.js +916 -0
  61. package/dist/esm/CollapsedRight-DjoLogzE.js.map +1 -0
  62. package/dist/esm/CollapsedRight-DoOykWbk.js +1219 -0
  63. package/dist/esm/CollapsedRight-DoOykWbk.js.map +1 -0
  64. package/dist/esm/CollapsedRight-RCxUtg7-.js +1140 -0
  65. package/dist/esm/CollapsedRight-RCxUtg7-.js.map +1 -0
  66. package/dist/esm/CollapsedRight-U7cf6t10.js +946 -0
  67. package/dist/esm/CollapsedRight-U7cf6t10.js.map +1 -0
  68. package/dist/esm/CollapsedRight-WXy5eWFq.js +1177 -0
  69. package/dist/esm/CollapsedRight-WXy5eWFq.js.map +1 -0
  70. package/dist/esm/Expanded-BAxI7aFR.js +1540 -0
  71. package/dist/esm/Expanded-BAxI7aFR.js.map +1 -0
  72. package/dist/esm/Expanded-BCEVV7zK.js +1572 -0
  73. package/dist/esm/Expanded-BCEVV7zK.js.map +1 -0
  74. package/dist/esm/Expanded-BJtgsFxf.js +2474 -0
  75. package/dist/esm/Expanded-BJtgsFxf.js.map +1 -0
  76. package/dist/esm/Expanded-C8Bxoixp.js +1374 -0
  77. package/dist/esm/Expanded-C8Bxoixp.js.map +1 -0
  78. package/dist/esm/Expanded-CBu5Dj05.js +1838 -0
  79. package/dist/esm/Expanded-CBu5Dj05.js.map +1 -0
  80. package/dist/esm/Expanded-CDYmOWYL.js +1589 -0
  81. package/dist/esm/Expanded-CDYmOWYL.js.map +1 -0
  82. package/dist/esm/Expanded-CUg2EMDY.js +2242 -0
  83. package/dist/esm/Expanded-CUg2EMDY.js.map +1 -0
  84. package/dist/esm/Expanded-CZX_MCio.js +1406 -0
  85. package/dist/esm/Expanded-CZX_MCio.js.map +1 -0
  86. package/dist/esm/Expanded-CmtBl1ZS.js +1626 -0
  87. package/dist/esm/Expanded-CmtBl1ZS.js.map +1 -0
  88. package/dist/esm/Expanded-Co8V5jgl.js +2024 -0
  89. package/dist/esm/Expanded-Co8V5jgl.js.map +1 -0
  90. package/dist/esm/Expanded-D2_h7YPI.js +1032 -0
  91. package/dist/esm/Expanded-D2_h7YPI.js.map +1 -0
  92. package/dist/esm/Expanded-DFP1nUBY.js +1381 -0
  93. package/dist/esm/Expanded-DFP1nUBY.js.map +1 -0
  94. package/dist/esm/Expanded-DPFndGqw.js +1118 -0
  95. package/dist/esm/Expanded-DPFndGqw.js.map +1 -0
  96. package/dist/esm/Expanded-Jrq0Bh65.js +1739 -0
  97. package/dist/esm/Expanded-Jrq0Bh65.js.map +1 -0
  98. package/dist/esm/Expanded-RJigoSw3.js +1552 -0
  99. package/dist/esm/Expanded-RJigoSw3.js.map +1 -0
  100. package/dist/esm/Expanded-vqC8qzDP.js +1388 -0
  101. package/dist/esm/Expanded-vqC8qzDP.js.map +1 -0
  102. package/dist/esm/ExpandedBase-BUpZvswi.js +88 -0
  103. package/dist/esm/ExpandedBase-BUpZvswi.js.map +1 -0
  104. package/dist/esm/NameRow-B-GWjlou.js +50 -0
  105. package/dist/esm/NameRow-B-GWjlou.js.map +1 -0
  106. package/dist/esm/Team-CLk1m4Vj.js +25 -0
  107. package/dist/esm/Team-CLk1m4Vj.js.map +1 -0
  108. package/dist/esm/TeamsBase-moB9MaNw.js +44 -0
  109. package/dist/esm/TeamsBase-moB9MaNw.js.map +1 -0
  110. package/dist/esm/index.css +1 -0
  111. package/dist/esm/index.js +112 -0
  112. package/dist/esm/index.js.map +1 -0
  113. package/dist/index.cjs +57871 -0
  114. package/dist/index.cjs.map +1 -0
  115. package/dist/index.css +1 -0
  116. package/package.json +87 -0
  117. package/public/favicon.ico +0 -0
  118. package/public/index.html +43 -0
  119. package/public/logo192.png +0 -0
  120. package/public/logo512.png +0 -0
  121. package/public/manifest.json +25 -0
  122. package/public/robots.txt +3 -0
  123. package/rollup.config.mjs +41 -0
  124. package/src/allocatePlayers.js +235 -0
  125. package/src/components/Facades/CollapsedLeft.jsx +26 -0
  126. package/src/components/Facades/CollapsedRight.jsx +27 -0
  127. package/src/components/Facades/Expanded.jsx +27 -0
  128. package/src/components/Individuals/08-Player/CollapsedLeft.jsx +340 -0
  129. package/src/components/Individuals/08-Player/CollapsedRight.jsx +276 -0
  130. package/src/components/Individuals/08-Player/Expanded.jsx +407 -0
  131. package/src/components/Individuals/09-Player/CollapsedLeft.jsx +386 -0
  132. package/src/components/Individuals/09-Player/CollapsedRight.jsx +343 -0
  133. package/src/components/Individuals/09-Player/Expanded.jsx +614 -0
  134. package/src/components/Individuals/10-Player/CollapsedLeft.jsx +315 -0
  135. package/src/components/Individuals/10-Player/CollapsedRight.jsx +367 -0
  136. package/src/components/Individuals/10-Player/Expanded.jsx +611 -0
  137. package/src/components/Individuals/11-Player/CollapsedLeft.jsx +352 -0
  138. package/src/components/Individuals/11-Player/CollapsedRight.jsx +412 -0
  139. package/src/components/Individuals/11-Player/Expanded.jsx +616 -0
  140. package/src/components/Individuals/12-Player/CollapsedLeft.jsx +396 -0
  141. package/src/components/Individuals/12-Player/CollapsedRight.jsx +451 -0
  142. package/src/components/Individuals/12-Player/Expanded.jsx +622 -0
  143. package/src/components/Individuals/13-Player/CollapsedLeft.jsx +426 -0
  144. package/src/components/Individuals/13-Player/CollapsedRight.jsx +490 -0
  145. package/src/components/Individuals/13-Player/Expanded.jsx +701 -0
  146. package/src/components/Individuals/14-Player/CollapsedLeft.jsx +458 -0
  147. package/src/components/Individuals/14-Player/CollapsedRight.jsx +509 -0
  148. package/src/components/Individuals/14-Player/Expanded.jsx +801 -0
  149. package/src/components/Individuals/16-Player/CollapsedLeft.jsx +514 -0
  150. package/src/components/Individuals/16-Player/CollapsedRight.jsx +608 -0
  151. package/src/components/Individuals/16-Player/Expanded.jsx +963 -0
  152. package/src/components/Individuals/stylesheet.module.css +360 -0
  153. package/src/components/NameRow.jsx +21 -0
  154. package/src/components/NameRowFillable.jsx +30 -0
  155. package/src/components/ScoreRow.jsx +29 -0
  156. package/src/components/ScoreRowFillable.jsx +64 -0
  157. package/src/components/Team.jsx +20 -0
  158. package/src/components/TeamFillable.jsx +25 -0
  159. package/src/components/Teams/08-Team/CollapsedLeft.jsx +304 -0
  160. package/src/components/Teams/08-Team/CollapsedRight.jsx +232 -0
  161. package/src/components/Teams/08-Team/Expanded.jsx +356 -0
  162. package/src/components/Teams/09-Team/CollapsedLeft.jsx +335 -0
  163. package/src/components/Teams/09-Team/CollapsedRight.jsx +282 -0
  164. package/src/components/Teams/09-Team/Expanded.jsx +486 -0
  165. package/src/components/Teams/10-Team/CollapsedLeft.jsx +269 -0
  166. package/src/components/Teams/10-Team/CollapsedRight.jsx +304 -0
  167. package/src/components/Teams/10-Team/Expanded.jsx +483 -0
  168. package/src/components/Teams/11-Team/CollapsedLeft.jsx +292 -0
  169. package/src/components/Teams/11-Team/CollapsedRight.jsx +335 -0
  170. package/src/components/Teams/11-Team/Expanded.jsx +491 -0
  171. package/src/components/Teams/12-Team/CollapsedLeft.jsx +328 -0
  172. package/src/components/Teams/12-Team/CollapsedRight.jsx +363 -0
  173. package/src/components/Teams/12-Team/Expanded.jsx +497 -0
  174. package/src/components/Teams/13-Team/CollapsedLeft.jsx +355 -0
  175. package/src/components/Teams/13-Team/CollapsedRight.jsx +399 -0
  176. package/src/components/Teams/13-Team/Expanded.jsx +569 -0
  177. package/src/components/Teams/14-Team/CollapsedLeft.jsx +382 -0
  178. package/src/components/Teams/14-Team/CollapsedRight.jsx +420 -0
  179. package/src/components/Teams/14-Team/Expanded.jsx +661 -0
  180. package/src/components/Teams/16-Team/CollapsedLeft.jsx +437 -0
  181. package/src/components/Teams/16-Team/CollapsedRight.jsx +496 -0
  182. package/src/components/Teams/16-Team/Expanded.jsx +795 -0
  183. package/src/components/Teams/stylesheet.module.css +300 -0
  184. package/src/components/_internal/ExpandedBase.jsx +60 -0
  185. package/src/components/_internal/TeamsBase.jsx +45 -0
  186. package/src/components/_internal/VariantFacade.jsx +26 -0
  187. package/src/index.js +3 -0
  188. package/src/scripts/convert-html-to-jsx.js +46 -0
  189. package/src/scripts/inject-players.js +45 -0
  190. package/src/scripts/scoreUtils.js +25 -0
  191. package/src/scripts/update-classnames.js +26 -0
  192. package/src/seeding.js +488 -0
  193. package/src/stories/Button.jsx +39 -0
  194. package/src/stories/Button.stories.js +49 -0
  195. package/src/stories/Configure.mdx +364 -0
  196. package/src/stories/Header.jsx +56 -0
  197. package/src/stories/Header.stories.js +29 -0
  198. package/src/stories/Individuals/08-Player/CollapsedLeft.stories.jsx +30 -0
  199. package/src/stories/Individuals/08-Player/CollapsedRight.stories.jsx +30 -0
  200. package/src/stories/Individuals/08-Player/Expanded.stories.jsx +30 -0
  201. package/src/stories/Individuals/09-Player/CollapsedLeft.stories.jsx +30 -0
  202. package/src/stories/Individuals/09-Player/CollapsedRight.stories.jsx +30 -0
  203. package/src/stories/Individuals/09-Player/Expanded.stories.jsx +30 -0
  204. package/src/stories/Individuals/10-Player/CollapsedLeft.stories.jsx +30 -0
  205. package/src/stories/Individuals/10-Player/CollapsedRight.stories.jsx +30 -0
  206. package/src/stories/Individuals/10-Player/Expanded.stories.jsx +30 -0
  207. package/src/stories/Individuals/11-Player/CollapsedLeft.stories.jsx +30 -0
  208. package/src/stories/Individuals/11-Player/CollapsedRight.stories.jsx +30 -0
  209. package/src/stories/Individuals/11-Player/Expanded.stories.jsx +30 -0
  210. package/src/stories/Individuals/12-Player/CollapsedLeft.stories.jsx +30 -0
  211. package/src/stories/Individuals/12-Player/CollapsedRight.stories.jsx +30 -0
  212. package/src/stories/Individuals/12-Player/Expanded.stories.jsx +30 -0
  213. package/src/stories/Individuals/13-Player/CollapsedLeft.stories.jsx +30 -0
  214. package/src/stories/Individuals/13-Player/CollapsedRight.stories.jsx +30 -0
  215. package/src/stories/Individuals/13-Player/Expanded.stories.jsx +30 -0
  216. package/src/stories/Individuals/14-Player/CollapsedLeft.stories.jsx +30 -0
  217. package/src/stories/Individuals/14-Player/CollapsedRight.stories.jsx +30 -0
  218. package/src/stories/Individuals/14-Player/Expanded.stories.jsx +30 -0
  219. package/src/stories/Individuals/16-Player/CollapsedLeft.stories.jsx +30 -0
  220. package/src/stories/Individuals/16-Player/CollapsedRight.stories.jsx +30 -0
  221. package/src/stories/Individuals/16-Player/Expanded.stories.jsx +30 -0
  222. package/src/stories/Page.jsx +69 -0
  223. package/src/stories/Page.stories.js +28 -0
  224. package/src/stories/Teams/08-Team/CollapsedLeft.stories.jsx +33 -0
  225. package/src/stories/Teams/08-Team/CollapsedRight.stories.jsx +33 -0
  226. package/src/stories/Teams/08-Team/Expanded.stories.jsx +33 -0
  227. package/src/stories/Teams/09-Team/CollapsedLeft.stories.jsx +33 -0
  228. package/src/stories/Teams/09-Team/CollapsedRight.stories.jsx +33 -0
  229. package/src/stories/Teams/09-Team/Expanded.stories.jsx +33 -0
  230. package/src/stories/Teams/10-Team/CollapsedLeft.stories.jsx +33 -0
  231. package/src/stories/Teams/10-Team/CollapsedRight.stories.jsx +33 -0
  232. package/src/stories/Teams/10-Team/Expanded.stories.jsx +33 -0
  233. package/src/stories/Teams/11-Team/CollapsedLeft.stories.jsx +33 -0
  234. package/src/stories/Teams/11-Team/CollapsedRight.stories.jsx +33 -0
  235. package/src/stories/Teams/11-Team/Expanded.stories.jsx +33 -0
  236. package/src/stories/Teams/12-Team/CollapsedLeft.stories.jsx +33 -0
  237. package/src/stories/Teams/12-Team/CollapsedRight.stories.jsx +33 -0
  238. package/src/stories/Teams/12-Team/Expanded.stories.jsx +33 -0
  239. package/src/stories/Teams/13-Team/CollapsedLeft.stories.jsx +33 -0
  240. package/src/stories/Teams/13-Team/CollapsedRight.stories.jsx +33 -0
  241. package/src/stories/Teams/13-Team/Expanded.stories.jsx +33 -0
  242. package/src/stories/Teams/14-Team/CollapsedLeft.stories.jsx +33 -0
  243. package/src/stories/Teams/14-Team/CollapsedRight.stories.jsx +33 -0
  244. package/src/stories/Teams/14-Team/Expanded.stories.jsx +33 -0
  245. package/src/stories/Teams/16-Team/CollapsedLeft.stories.jsx +33 -0
  246. package/src/stories/Teams/16-Team/CollapsedRight.stories.jsx +33 -0
  247. package/src/stories/Teams/16-Team/Expanded.stories.jsx +33 -0
  248. package/src/stories/assets/accessibility.png +0 -0
  249. package/src/stories/assets/accessibility.svg +1 -0
  250. package/src/stories/assets/addon-library.png +0 -0
  251. package/src/stories/assets/assets.png +0 -0
  252. package/src/stories/assets/avif-test-image.avif +0 -0
  253. package/src/stories/assets/context.png +0 -0
  254. package/src/stories/assets/discord.svg +1 -0
  255. package/src/stories/assets/docs.png +0 -0
  256. package/src/stories/assets/figma-plugin.png +0 -0
  257. package/src/stories/assets/github.svg +1 -0
  258. package/src/stories/assets/share.png +0 -0
  259. package/src/stories/assets/styling.png +0 -0
  260. package/src/stories/assets/testing.png +0 -0
  261. package/src/stories/assets/theming.png +0 -0
  262. package/src/stories/assets/tutorials.svg +1 -0
  263. package/src/stories/assets/youtube.svg +1 -0
  264. package/src/stories/button.css +30 -0
  265. package/src/stories/data/players.js +116 -0
  266. package/src/stories/data/teams.js +32 -0
  267. package/src/stories/header.css +32 -0
  268. package/src/stories/page.css +68 -0
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedRight from "../../../components/Teams/08-Team/CollapsedRight";
3
+ import { sampleTeams8 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/08-Team/CollapsedRight",
7
+ component: CollapsedRight,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: "text",
12
+ description: "CSS font-family for the team-ID cell",
13
+ },
14
+ teamIDColor: {
15
+ control: "color",
16
+ description: "CSS text color for the team-ID cell",
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ },
23
+ };
24
+
25
+ const Template = (args) => <CollapsedRight {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams8,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import Expanded from "../../../components/Teams/08-Team/Expanded";
3
+ import { sampleTeams8 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/08-Team/Expanded",
7
+ component: Expanded,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: "text",
12
+ description: "CSS font-family for the team-ID cell",
13
+ },
14
+ teamIDColor: {
15
+ control: "color",
16
+ description: "CSS text color for the team-ID cell",
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: "number", min: 6, max: 72, step: 1 },
20
+ description: "Font size (in points) for the team-ID cell",
21
+ },
22
+ },
23
+ };
24
+
25
+ const Template = (args) => <Expanded {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams8,
30
+ teamIDFontFamily: "Arial, sans-serif",
31
+ teamIDColor: "#c00",
32
+ teamIDFontSize: 14,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedLeft from "../../../components/Teams/09-Team/CollapsedLeft";
3
+ import { sampleTeams9 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/09-Team/CollapsedLeft",
7
+ component: CollapsedLeft,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedLeft {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams9,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedRight from "../../../components/Teams/09-Team/CollapsedRight";
3
+ import { sampleTeams9 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/09-Team/CollapsedRight",
7
+ component: CollapsedRight,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedRight {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams9,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import Expanded from "../../../components/Teams/09-Team/Expanded";
3
+ import { sampleTeams9 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/09-Team/Expanded",
7
+ component: Expanded,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <Expanded {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams9,
30
+ teamIDFontFamily: "Arial, sans-serif",
31
+ teamIDColor: "#c00",
32
+ teamIDFontSize: 14,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedLeft from "../../../components/Teams/10-Team/CollapsedLeft";
3
+ import { sampleTeams10 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/10-Team/CollapsedLeft",
7
+ component: CollapsedLeft,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedLeft {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams10,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedRight from "../../../components/Teams/10-Team/CollapsedRight";
3
+ import { sampleTeams10 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/10-Team/CollapsedRight",
7
+ component: CollapsedRight,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedRight {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams10,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import Expanded from "../../../components/Teams/10-Team/Expanded";
3
+ import { sampleTeams10 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/10-Team/Expanded",
7
+ component: Expanded,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <Expanded {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams10,
30
+ teamIDFontFamily: "Arial, sans-serif",
31
+ teamIDColor: "#c00",
32
+ teamIDFontSize: 14,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedLeft from "../../../components/Teams/11-Team/CollapsedLeft";
3
+ import { sampleTeams11 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/11-Team/CollapsedLeft",
7
+ component: CollapsedLeft,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedLeft {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams11,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedRight from "../../../components/Teams/11-Team/CollapsedRight";
3
+ import { sampleTeams11 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/11-Team/CollapsedRight",
7
+ component: CollapsedRight,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedRight {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams11,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import Expanded from "../../../components/Teams/11-Team/Expanded";
3
+ import { sampleTeams11 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/11-Team/Expanded",
7
+ component: Expanded,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <Expanded {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams11,
30
+ teamIDFontFamily: "Arial, sans-serif",
31
+ teamIDColor: "#c00",
32
+ teamIDFontSize: 14,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedLeft from "../../../components/Teams/12-Team/CollapsedLeft";
3
+ import { sampleTeams12 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/12-Team/CollapsedLeft",
7
+ component: CollapsedLeft,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedLeft {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams12,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedRight from "../../../components/Teams/12-Team/CollapsedRight";
3
+ import { sampleTeams12 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/12-Team/CollapsedRight",
7
+ component: CollapsedRight,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedRight {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams12,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import Expanded from "../../../components/Teams/12-Team/Expanded";
3
+ import { sampleTeams12 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/12-Team/Expanded",
7
+ component: Expanded,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <Expanded {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams12,
30
+ teamIDFontFamily: "Arial, sans-serif",
31
+ teamIDColor: "#c00",
32
+ teamIDFontSize: 14,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedLeft from "../../../components/Teams/13-Team/CollapsedLeft";
3
+ import { sampleTeams13 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/13-Team/CollapsedLeft",
7
+ component: CollapsedLeft,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedLeft {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams13,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedRight from "../../../components/Teams/13-Team/CollapsedRight";
3
+ import { sampleTeams13 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/13-Team/CollapsedRight",
7
+ component: CollapsedRight,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedRight {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams13,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import Expanded from "../../../components/Teams/13-Team/Expanded";
3
+ import { sampleTeams13 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/13-Team/Expanded",
7
+ component: Expanded,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <Expanded {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams13,
30
+ teamIDFontFamily: "Arial, sans-serif",
31
+ teamIDColor: "#c00",
32
+ teamIDFontSize: 14,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedLeft from "../../../components/Teams/14-Team/CollapsedLeft";
3
+ import { sampleTeams14 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/14-Team/CollapsedLeft",
7
+ component: CollapsedLeft,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedLeft {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams14,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import CollapsedRight from "../../../components/Teams/14-Team/CollapsedRight";
3
+ import { sampleTeams14 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/14-Team/CollapsedRight",
7
+ component: CollapsedRight,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <CollapsedRight {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams14,
30
+ teamIDFontFamily: 'Arial, sans-serif',
31
+ teamIDColor: '#c00',
32
+ teamIDFontSize: 11,
33
+ };
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import Expanded from "../../../components/Teams/14-Team/Expanded";
3
+ import { sampleTeams14 } from "../../data/teams";
4
+
5
+ export default {
6
+ title: "Teams/14-Team/Expanded",
7
+ component: Expanded,
8
+ argTypes: {
9
+ teams: { control: 'object' },
10
+ teamIDFontFamily: {
11
+ control: 'text',
12
+ description: 'CSS font-family for the team-ID cell'
13
+ },
14
+ teamIDColor: {
15
+ control: 'color',
16
+ description: 'CSS text color for the team-ID cell'
17
+ },
18
+ teamIDFontSize: {
19
+ control: { type: 'number', min: 6, max: 72, step: 1 },
20
+ description:'Font size (in points) for the team-ID cell',
21
+ },
22
+ }
23
+ };
24
+
25
+ const Template = (args) => <Expanded {...args} />;
26
+
27
+ export const Default = Template.bind({});
28
+ Default.args = {
29
+ teams: sampleTeams14,
30
+ teamIDFontFamily: "Arial, sans-serif",
31
+ teamIDColor: "#c00",
32
+ teamIDFontSize: 14,
33
+ };