@federball/components 0.0.4 → 0.0.6

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 (162) hide show
  1. package/dist/buttons/AddButton.d.ts +9 -0
  2. package/dist/buttons/AddButton.d.ts.map +1 -0
  3. package/dist/buttons/AddButton.js +7 -0
  4. package/dist/buttons/AddButton.js.map +1 -0
  5. package/dist/buttons/ConfirmButton.d.ts +8 -0
  6. package/dist/buttons/ConfirmButton.d.ts.map +1 -0
  7. package/dist/buttons/ConfirmButton.js +6 -0
  8. package/dist/buttons/ConfirmButton.js.map +1 -0
  9. package/dist/buttons/index.d.ts +4 -0
  10. package/dist/buttons/index.d.ts.map +1 -0
  11. package/dist/buttons/index.js +4 -0
  12. package/dist/buttons/index.js.map +1 -0
  13. package/dist/chips/AvailableChip.d.ts +6 -0
  14. package/dist/chips/AvailableChip.d.ts.map +1 -0
  15. package/dist/chips/AvailableChip.js +9 -0
  16. package/dist/chips/AvailableChip.js.map +1 -0
  17. package/dist/chips/ClubChip.d.ts +10 -0
  18. package/dist/chips/ClubChip.d.ts.map +1 -0
  19. package/dist/chips/ClubChip.js +7 -0
  20. package/dist/chips/ClubChip.js.map +1 -0
  21. package/dist/chips/CourtChip.d.ts +6 -0
  22. package/dist/chips/CourtChip.d.ts.map +1 -0
  23. package/dist/chips/CourtChip.js +7 -0
  24. package/dist/chips/CourtChip.js.map +1 -0
  25. package/dist/chips/DrawChip.d.ts +7 -0
  26. package/dist/chips/DrawChip.d.ts.map +1 -0
  27. package/dist/chips/DrawChip.js +7 -0
  28. package/dist/chips/DrawChip.js.map +1 -0
  29. package/dist/chips/DrawTypeChip.d.ts +7 -0
  30. package/dist/chips/DrawTypeChip.d.ts.map +1 -0
  31. package/dist/chips/DrawTypeChip.js +7 -0
  32. package/dist/chips/DrawTypeChip.js.map +1 -0
  33. package/dist/chips/EventChip.d.ts +7 -0
  34. package/dist/chips/EventChip.d.ts.map +1 -0
  35. package/dist/chips/EventChip.js +7 -0
  36. package/dist/chips/EventChip.js.map +1 -0
  37. package/dist/chips/GameStageChip.d.ts +7 -0
  38. package/dist/chips/GameStageChip.d.ts.map +1 -0
  39. package/dist/chips/GameStageChip.js +13 -0
  40. package/dist/chips/GameStageChip.js.map +1 -0
  41. package/dist/chips/index.d.ts +9 -0
  42. package/dist/chips/index.d.ts.map +1 -0
  43. package/dist/chips/index.js +9 -0
  44. package/dist/chips/index.js.map +1 -0
  45. package/dist/icons/AccountIcon.d.ts +1 -1
  46. package/dist/icons/AccountIcon.d.ts.map +1 -1
  47. package/dist/icons/AccountIcon.js +2 -1
  48. package/dist/icons/AccountIcon.js.map +1 -1
  49. package/dist/icons/AddIcon.d.ts +3 -0
  50. package/dist/icons/AddIcon.d.ts.map +1 -0
  51. package/dist/icons/AddIcon.js +6 -0
  52. package/dist/icons/AddIcon.js.map +1 -0
  53. package/dist/icons/ClubIcon.d.ts +1 -1
  54. package/dist/icons/ClubIcon.d.ts.map +1 -1
  55. package/dist/icons/ClubIcon.js +2 -1
  56. package/dist/icons/ClubIcon.js.map +1 -1
  57. package/dist/icons/CourtIcon.d.ts +1 -1
  58. package/dist/icons/CourtIcon.d.ts.map +1 -1
  59. package/dist/icons/CourtIcon.js +2 -1
  60. package/dist/icons/CourtIcon.js.map +1 -1
  61. package/dist/icons/DarkModeIcon.d.ts +1 -1
  62. package/dist/icons/DarkModeIcon.d.ts.map +1 -1
  63. package/dist/icons/DarkModeIcon.js +2 -1
  64. package/dist/icons/DarkModeIcon.js.map +1 -1
  65. package/dist/icons/DoublesIcon.d.ts +1 -1
  66. package/dist/icons/DoublesIcon.d.ts.map +1 -1
  67. package/dist/icons/DoublesIcon.js +2 -1
  68. package/dist/icons/DoublesIcon.js.map +1 -1
  69. package/dist/icons/DrawIcon.d.ts +1 -1
  70. package/dist/icons/DrawIcon.d.ts.map +1 -1
  71. package/dist/icons/DrawIcon.js +2 -1
  72. package/dist/icons/DrawIcon.js.map +1 -1
  73. package/dist/icons/DrawTypeIcon.d.ts +3 -2
  74. package/dist/icons/DrawTypeIcon.d.ts.map +1 -1
  75. package/dist/icons/DrawTypeIcon.js +1 -1
  76. package/dist/icons/DrawTypeIcon.js.map +1 -1
  77. package/dist/icons/EventIcon.d.ts +1 -1
  78. package/dist/icons/EventIcon.d.ts.map +1 -1
  79. package/dist/icons/EventIcon.js +2 -1
  80. package/dist/icons/EventIcon.js.map +1 -1
  81. package/dist/icons/EventTypeIcon.d.ts +3 -2
  82. package/dist/icons/EventTypeIcon.d.ts.map +1 -1
  83. package/dist/icons/EventTypeIcon.js +1 -1
  84. package/dist/icons/EventTypeIcon.js.map +1 -1
  85. package/dist/icons/FinishedIcon.d.ts +1 -1
  86. package/dist/icons/FinishedIcon.d.ts.map +1 -1
  87. package/dist/icons/FinishedIcon.js +2 -1
  88. package/dist/icons/FinishedIcon.js.map +1 -1
  89. package/dist/icons/GameStatusIcon.d.ts +2 -2
  90. package/dist/icons/GameStatusIcon.d.ts.map +1 -1
  91. package/dist/icons/GameStatusIcon.js +1 -1
  92. package/dist/icons/GameStatusIcon.js.map +1 -1
  93. package/dist/icons/GroupIcon.d.ts +1 -1
  94. package/dist/icons/GroupIcon.d.ts.map +1 -1
  95. package/dist/icons/GroupIcon.js +2 -1
  96. package/dist/icons/GroupIcon.js.map +1 -1
  97. package/dist/icons/Icon.d.ts +8 -0
  98. package/dist/icons/Icon.d.ts.map +1 -0
  99. package/dist/icons/Icon.js +6 -0
  100. package/dist/icons/Icon.js.map +1 -0
  101. package/dist/icons/KnockoutIcon.d.ts +1 -1
  102. package/dist/icons/KnockoutIcon.d.ts.map +1 -1
  103. package/dist/icons/KnockoutIcon.js +2 -1
  104. package/dist/icons/KnockoutIcon.js.map +1 -1
  105. package/dist/icons/LightModeIcon.d.ts +1 -1
  106. package/dist/icons/LightModeIcon.d.ts.map +1 -1
  107. package/dist/icons/LightModeIcon.js +2 -1
  108. package/dist/icons/LightModeIcon.js.map +1 -1
  109. package/dist/icons/OrganizationIcon.d.ts +1 -1
  110. package/dist/icons/OrganizationIcon.d.ts.map +1 -1
  111. package/dist/icons/OrganizationIcon.js +2 -1
  112. package/dist/icons/OrganizationIcon.js.map +1 -1
  113. package/dist/icons/PlayerIcon.d.ts +1 -1
  114. package/dist/icons/PlayerIcon.d.ts.map +1 -1
  115. package/dist/icons/PlayerIcon.js +2 -1
  116. package/dist/icons/PlayerIcon.js.map +1 -1
  117. package/dist/icons/RocketIcon.d.ts +3 -0
  118. package/dist/icons/RocketIcon.d.ts.map +1 -0
  119. package/dist/icons/RocketIcon.js +6 -0
  120. package/dist/icons/RocketIcon.js.map +1 -0
  121. package/dist/icons/RunningIcon.d.ts +1 -1
  122. package/dist/icons/RunningIcon.d.ts.map +1 -1
  123. package/dist/icons/RunningIcon.js +2 -1
  124. package/dist/icons/RunningIcon.js.map +1 -1
  125. package/dist/icons/ScheduledIcon.d.ts +1 -1
  126. package/dist/icons/ScheduledIcon.d.ts.map +1 -1
  127. package/dist/icons/ScheduledIcon.js +2 -1
  128. package/dist/icons/ScheduledIcon.js.map +1 -1
  129. package/dist/icons/SearchIcon.d.ts +3 -0
  130. package/dist/icons/SearchIcon.d.ts.map +1 -0
  131. package/dist/icons/SearchIcon.js +6 -0
  132. package/dist/icons/SearchIcon.js.map +1 -0
  133. package/dist/icons/SinglesIcon.d.ts +1 -1
  134. package/dist/icons/SinglesIcon.d.ts.map +1 -1
  135. package/dist/icons/SinglesIcon.js +2 -1
  136. package/dist/icons/SinglesIcon.js.map +1 -1
  137. package/dist/icons/TimerIcon.d.ts +1 -1
  138. package/dist/icons/TimerIcon.d.ts.map +1 -1
  139. package/dist/icons/TimerIcon.js +2 -1
  140. package/dist/icons/TimerIcon.js.map +1 -1
  141. package/dist/icons/TournamentIcon.d.ts +1 -1
  142. package/dist/icons/TournamentIcon.d.ts.map +1 -1
  143. package/dist/icons/TournamentIcon.js +2 -1
  144. package/dist/icons/TournamentIcon.js.map +1 -1
  145. package/dist/icons/types.d.ts +5 -0
  146. package/dist/icons/types.d.ts.map +1 -0
  147. package/dist/icons/types.js +2 -0
  148. package/dist/icons/types.js.map +1 -0
  149. package/dist/index.d.ts +3 -1
  150. package/dist/index.d.ts.map +1 -1
  151. package/dist/index.js +3 -1
  152. package/dist/index.js.map +1 -1
  153. package/dist/styles.css +10990 -22
  154. package/dist/types.d.ts +11 -0
  155. package/dist/types.d.ts.map +1 -0
  156. package/dist/types.js +2 -0
  157. package/dist/types.js.map +1 -0
  158. package/package.json +15 -1
  159. package/dist/icons/icon.d.ts +0 -6
  160. package/dist/icons/icon.d.ts.map +0 -1
  161. package/dist/icons/icon.js +0 -2
  162. package/dist/icons/icon.js.map +0 -1
@@ -0,0 +1,9 @@
1
+ type AddButtonProps = {
2
+ size?: "sm" | "md" | "lg";
3
+ title: string;
4
+ onPress: () => void;
5
+ isDisabled?: boolean;
6
+ };
7
+ export declare const AddButton: ({ size, title, onPress, isDisabled, }: AddButtonProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=AddButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddButton.d.ts","sourceRoot":"","sources":["../../src/buttons/AddButton.tsx"],"names":[],"mappings":"AAGA,KAAK,cAAc,GAAG;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,uCAKvB,cAAc,4CAYhB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Button } from "@heroui/react";
3
+ import { AddIcon } from "../icons/AddIcon";
4
+ export const AddButton = ({ size = "md", title, onPress, isDisabled = false, }) => {
5
+ return (_jsxs(Button, { variant: "primary", size: size, onPress: onPress, isDisabled: isDisabled, children: [_jsx(AddIcon, {}), title] }));
6
+ };
7
+ //# sourceMappingURL=AddButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddButton.js","sourceRoot":"","sources":["../../src/buttons/AddButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAS3C,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EACxB,IAAI,GAAG,IAAI,EACX,KAAK,EACL,OAAO,EACP,UAAU,GAAG,KAAK,GACH,EAAE,EAAE;IACnB,OAAO,CACL,MAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,aAEtB,KAAC,OAAO,KAAG,EACV,KAAK,IACC,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ type SubmitButtonProps = {
2
+ size?: "sm" | "md" | "lg";
3
+ title: string;
4
+ isDisabled?: boolean;
5
+ };
6
+ export declare const ConfirmButton: ({ size, title, isDisabled, }: SubmitButtonProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=ConfirmButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmButton.d.ts","sourceRoot":"","sources":["../../src/buttons/ConfirmButton.tsx"],"names":[],"mappings":"AAEA,KAAK,iBAAiB,GAAG;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,8BAI3B,iBAAiB,4CAMnB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Button } from "@heroui/react";
3
+ export const ConfirmButton = ({ size = "md", title, isDisabled = false, }) => {
4
+ return (_jsx(Button, { type: "submit", variant: "primary", size: size, isDisabled: isDisabled, children: title }));
5
+ };
6
+ //# sourceMappingURL=ConfirmButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmButton.js","sourceRoot":"","sources":["../../src/buttons/ConfirmButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAQvC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAC5B,IAAI,GAAG,IAAI,EACX,KAAK,EACL,UAAU,GAAG,KAAK,GACA,EAAE,EAAE;IACtB,OAAO,CACL,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,YACvE,KAAK,GACC,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { AddButton } from "./AddButton";
2
+ import { ConfirmButton } from "./ConfirmButton";
3
+ export { AddButton, ConfirmButton };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { AddButton } from "./AddButton";
2
+ import { ConfirmButton } from "./ConfirmButton";
3
+ export { AddButton, ConfirmButton };
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,6 @@
1
+ type AvailableChipProps = {
2
+ available: boolean;
3
+ };
4
+ export declare const AvailableChip: ({ available }: AvailableChipProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=AvailableChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AvailableChip.d.ts","sourceRoot":"","sources":["../../src/chips/AvailableChip.tsx"],"names":[],"mappings":"AAEA,KAAK,kBAAkB,GAAG;IACxB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,eAAe,kBAAkB,4CAa9D,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Chip } from "@heroui/react";
3
+ export const AvailableChip = ({ available }) => {
4
+ if (available) {
5
+ return (_jsx(Chip, { color: "success", variant: "soft", children: "Available" }));
6
+ }
7
+ return (_jsx(Chip, { color: "warning", variant: "soft", children: "Unavailable" }));
8
+ };
9
+ //# sourceMappingURL=AvailableChip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AvailableChip.js","sourceRoot":"","sources":["../../src/chips/AvailableChip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAMrC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,SAAS,EAAsB,EAAE,EAAE;IACjE,IAAI,SAAS,EAAE,CAAC;QACd,OAAO,CACL,KAAC,IAAI,IAAC,KAAK,EAAC,SAAS,EAAC,OAAO,EAAC,MAAM,0BAE7B,CACR,CAAC;IACJ,CAAC;IACD,OAAO,CACL,KAAC,IAAI,IAAC,KAAK,EAAC,SAAS,EAAC,OAAO,EAAC,MAAM,4BAE7B,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ type Club = {
2
+ id: number;
3
+ name: string;
4
+ };
5
+ type ClubChipProps = {
6
+ club: Club;
7
+ };
8
+ export declare const ClubChip: ({ club }: ClubChipProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=ClubChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClubChip.d.ts","sourceRoot":"","sources":["../../src/chips/ClubChip.tsx"],"names":[],"mappings":"AAGA,KAAK,IAAI,GAAG;IACV,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,UAAU,aAAa,4CAO/C,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Chip } from "@heroui/react";
3
+ import { ClubIcon } from "../icons/ClubIcon";
4
+ export const ClubChip = ({ club }) => {
5
+ return (_jsxs(Chip, { size: "lg", children: [_jsx(ClubIcon, { size: "sm" }), _jsx(Chip.Label, { children: club.name })] }));
6
+ };
7
+ //# sourceMappingURL=ClubChip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClubChip.js","sourceRoot":"","sources":["../../src/chips/ClubChip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAW7C,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAiB,EAAE,EAAE;IAClD,OAAO,CACL,MAAC,IAAI,IAAC,IAAI,EAAC,IAAI,aACb,KAAC,QAAQ,IAAC,IAAI,EAAC,IAAI,GAAG,EACtB,KAAC,IAAI,CAAC,KAAK,cAAE,IAAI,CAAC,IAAI,GAAc,IAC/B,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ type CourtChipProps = {
2
+ name: string;
3
+ };
4
+ export declare const CourtChip: ({ name }: CourtChipProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=CourtChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CourtChip.d.ts","sourceRoot":"","sources":["../../src/chips/CourtChip.tsx"],"names":[],"mappings":"AAGA,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,UAAU,cAAc,4CAOjD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Chip } from "@heroui/react";
3
+ import { CourtIcon } from "../icons/CourtIcon";
4
+ export const CourtChip = ({ name }) => {
5
+ return (_jsxs(Chip, { size: "lg", children: [_jsx(CourtIcon, { size: "sm" }), _jsx(Chip.Label, { children: name })] }));
6
+ };
7
+ //# sourceMappingURL=CourtChip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CourtChip.js","sourceRoot":"","sources":["../../src/chips/CourtChip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAM/C,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAkB,EAAE,EAAE;IACpD,OAAO,CACL,MAAC,IAAI,IAAC,IAAI,EAAC,IAAI,aACb,KAAC,SAAS,IAAC,IAAI,EAAC,IAAI,GAAG,EACvB,KAAC,IAAI,CAAC,KAAK,cAAE,IAAI,GAAc,IAC1B,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Draw } from "../types";
2
+ type DrawChipProps = {
3
+ draw: Draw;
4
+ };
5
+ export declare const DrawChip: ({ draw }: DrawChipProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=DrawChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawChip.d.ts","sourceRoot":"","sources":["../../src/chips/DrawChip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,UAAU,aAAa,4CAO/C,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Chip } from "@heroui/react";
3
+ import { DrawTypeIcon } from "../icons/DrawTypeIcon";
4
+ export const DrawChip = ({ draw }) => {
5
+ return (_jsxs(Chip, { size: "lg", children: [_jsx(DrawTypeIcon, { type: draw.type, size: "sm" }), _jsx(Chip.Label, { children: draw.name })] }));
6
+ };
7
+ //# sourceMappingURL=DrawChip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawChip.js","sourceRoot":"","sources":["../../src/chips/DrawChip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAOrD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAiB,EAAE,EAAE;IAClD,OAAO,CACL,MAAC,IAAI,IAAC,IAAI,EAAC,IAAI,aACb,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,IAAI,GAAG,EAC3C,KAAC,IAAI,CAAC,KAAK,cAAE,IAAI,CAAC,IAAI,GAAc,IAC/B,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { DrawType } from "../types";
2
+ type DrawTypeChipProps = {
3
+ type: DrawType;
4
+ };
5
+ export declare const DrawTypeChip: ({ type }: DrawTypeChipProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=DrawTypeChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawTypeChip.d.ts","sourceRoot":"","sources":["../../src/chips/DrawTypeChip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,UAAU,iBAAiB,4CAOvD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Chip } from "@heroui/react";
3
+ import { DrawTypeIcon } from "../icons/DrawTypeIcon";
4
+ export const DrawTypeChip = ({ type }) => {
5
+ return (_jsxs(Chip, { size: "lg", children: [_jsx(DrawTypeIcon, { type: type, size: "sm" }), _jsx(Chip.Label, { children: type })] }));
6
+ };
7
+ //# sourceMappingURL=DrawTypeChip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawTypeChip.js","sourceRoot":"","sources":["../../src/chips/DrawTypeChip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAMrD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,IAAI,EAAqB,EAAE,EAAE;IAC1D,OAAO,CACL,MAAC,IAAI,IAAC,IAAI,EAAC,IAAI,aACb,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,IAAI,GAAG,EACtC,KAAC,IAAI,CAAC,KAAK,cAAE,IAAI,GAAc,IAC1B,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Event } from "../types";
2
+ type EventChipProps = {
3
+ event: Event;
4
+ };
5
+ export declare const EventChip: ({ event }: EventChipProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=EventChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventChip.d.ts","sourceRoot":"","sources":["../../src/chips/EventChip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,WAAW,cAAc,4CAOlD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Chip } from "@heroui/react";
3
+ import { EventTypeIcon } from "../icons/EventTypeIcon";
4
+ export const EventChip = ({ event }) => {
5
+ return (_jsxs(Chip, { size: "lg", children: [_jsx(EventTypeIcon, { type: event.type, size: "sm" }), _jsx(Chip.Label, { children: event.name })] }));
6
+ };
7
+ //# sourceMappingURL=EventChip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventChip.js","sourceRoot":"","sources":["../../src/chips/EventChip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAOvD,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK,EAAkB,EAAE,EAAE;IACrD,OAAO,CACL,MAAC,IAAI,IAAC,IAAI,EAAC,IAAI,aACb,KAAC,aAAa,IAAC,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,IAAI,EAAC,IAAI,GAAG,EAC7C,KAAC,IAAI,CAAC,KAAK,cAAE,KAAK,CAAC,IAAI,GAAc,IAChC,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ type Stage = "GROUP" | "ROUND_32" | "ROUND_16" | "QUARTERFINAL" | "SEMIFINAL" | "FINAL";
2
+ type Props = {
3
+ stage: Stage;
4
+ };
5
+ export declare const GameStageChip: ({ stage }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=GameStageChip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GameStageChip.d.ts","sourceRoot":"","sources":["../../src/chips/GameStageChip.tsx"],"names":[],"mappings":"AAIA,KAAK,KAAK,GACN,OAAO,GACP,UAAU,GACV,UAAU,GACV,cAAc,GACd,WAAW,GACX,OAAO,CAAC;AAEZ,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,WAAW,KAAK,4CAiB7C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Chip } from "@heroui/react";
3
+ import { GroupIcon } from "../icons/GroupIcon";
4
+ import { KnockoutIcon } from "../icons/KnockoutIcon";
5
+ export const GameStageChip = ({ stage }) => {
6
+ switch (stage) {
7
+ case "GROUP":
8
+ return (_jsxs(Chip, { size: "lg", children: [_jsx(GroupIcon, { size: "sm" }), _jsx(Chip.Label, { children: stage })] }));
9
+ default:
10
+ return (_jsxs(Chip, { size: "lg", children: [_jsx(KnockoutIcon, { size: "sm" }), _jsx(Chip.Label, { children: stage })] }));
11
+ }
12
+ };
13
+ //# sourceMappingURL=GameStageChip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GameStageChip.js","sourceRoot":"","sources":["../../src/chips/GameStageChip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAcrD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,KAAK,EAAS,EAAE,EAAE;IAChD,QAAQ,KAAK,EAAE,CAAC;QACd,KAAK,OAAO;YACV,OAAO,CACL,MAAC,IAAI,IAAC,IAAI,EAAC,IAAI,aACb,KAAC,SAAS,IAAC,IAAI,EAAC,IAAI,GAAG,EACvB,KAAC,IAAI,CAAC,KAAK,cAAE,KAAK,GAAc,IAC3B,CACR,CAAC;QACJ;YACE,OAAO,CACL,MAAC,IAAI,IAAC,IAAI,EAAC,IAAI,aACb,KAAC,YAAY,IAAC,IAAI,EAAC,IAAI,GAAG,EAC1B,KAAC,IAAI,CAAC,KAAK,cAAE,KAAK,GAAc,IAC3B,CACR,CAAC;IACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { AvailableChip } from "./AvailableChip";
2
+ import { ClubChip } from "./ClubChip";
3
+ import { CourtChip } from "./CourtChip";
4
+ import { DrawChip } from "./DrawChip";
5
+ import { DrawTypeChip } from "./DrawTypeChip";
6
+ import { EventChip } from "./EventChip";
7
+ import { GameStageChip } from "./GameStageChip";
8
+ export { AvailableChip, ClubChip, CourtChip, DrawChip, DrawTypeChip, EventChip, GameStageChip, };
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/chips/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EACL,aAAa,EACb,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,GACd,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { AvailableChip } from "./AvailableChip";
2
+ import { ClubChip } from "./ClubChip";
3
+ import { CourtChip } from "./CourtChip";
4
+ import { DrawChip } from "./DrawChip";
5
+ import { DrawTypeChip } from "./DrawTypeChip";
6
+ import { EventChip } from "./EventChip";
7
+ import { GameStageChip } from "./GameStageChip";
8
+ export { AvailableChip, ClubChip, CourtChip, DrawChip, DrawTypeChip, EventChip, GameStageChip, };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/chips/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EACL,aAAa,EACb,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,aAAa,GACd,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./types";
2
2
  export declare const AccountIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=AccountIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccountIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AccountIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,WAAW,GAAI,UAAU,SAAS,4CAE9C,CAAC"}
1
+ {"version":3,"file":"AccountIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AccountIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,WAAW,GAAI,UAAU,SAAS,4CAE9C,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "./Icon";
2
3
  export const AccountIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "account_circle" });
4
+ return _jsx(Icon, { name: "account_circle", size: size });
4
5
  };
5
6
  //# sourceMappingURL=AccountIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccountIcon.js","sourceRoot":"","sources":["../../src/icons/AccountIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IACjD,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,+BAAuB,CAAC;AAC1E,CAAC,CAAC"}
1
+ {"version":3,"file":"AccountIcon.js","sourceRoot":"","sources":["../../src/icons/AccountIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IACjD,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,gBAAgB,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AACpD,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { IconProps } from "./types";
2
+ export declare const AddIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=AddIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AddIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,OAAO,GAAI,UAAU,SAAS,4CAE1C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "./Icon";
3
+ export const AddIcon = ({ size }) => {
4
+ return _jsx(Icon, { name: "add", size: size });
5
+ };
6
+ //# sourceMappingURL=AddIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddIcon.js","sourceRoot":"","sources":["../../src/icons/AddIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC7C,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,KAAK,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AACzC,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./types";
2
2
  export declare const ClubIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=ClubIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClubIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ClubIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,QAAQ,GAAI,UAAU,SAAS,4CAE3C,CAAC"}
1
+ {"version":3,"file":"ClubIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ClubIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,QAAQ,GAAI,UAAU,SAAS,4CAE3C,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "./Icon";
2
3
  export const ClubIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "shield" });
4
+ return _jsx(Icon, { name: "shield", size: size });
4
5
  };
5
6
  //# sourceMappingURL=ClubIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClubIcon.js","sourceRoot":"","sources":["../../src/icons/ClubIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC9C,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,uBAAe,CAAC;AAClE,CAAC,CAAC"}
1
+ {"version":3,"file":"ClubIcon.js","sourceRoot":"","sources":["../../src/icons/ClubIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC9C,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AAC5C,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./types";
2
2
  export declare const CourtIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=CourtIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CourtIcon.d.ts","sourceRoot":"","sources":["../../src/icons/CourtIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,SAAS,GAAI,UAAU,SAAS,4CAE5C,CAAC"}
1
+ {"version":3,"file":"CourtIcon.d.ts","sourceRoot":"","sources":["../../src/icons/CourtIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,SAAS,GAAI,UAAU,SAAS,4CAE5C,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "./Icon";
2
3
  export const CourtIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "rectangle" });
4
+ return _jsx(Icon, { name: "rectangle", size: size });
4
5
  };
5
6
  //# sourceMappingURL=CourtIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CourtIcon.js","sourceRoot":"","sources":["../../src/icons/CourtIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC/C,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,0BAAkB,CAAC;AACrE,CAAC,CAAC"}
1
+ {"version":3,"file":"CourtIcon.js","sourceRoot":"","sources":["../../src/icons/CourtIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC/C,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AAC/C,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./types";
2
2
  export declare const DarkModeIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=DarkModeIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DarkModeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DarkModeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,4CAE/C,CAAC"}
1
+ {"version":3,"file":"DarkModeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DarkModeIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,4CAE/C,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "./Icon";
2
3
  export const DarkModeIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "dark_mode" });
4
+ return _jsx(Icon, { name: "dark_mode", size: size });
4
5
  };
5
6
  //# sourceMappingURL=DarkModeIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DarkModeIcon.js","sourceRoot":"","sources":["../../src/icons/DarkModeIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAClD,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,0BAAkB,CAAC;AACrE,CAAC,CAAC"}
1
+ {"version":3,"file":"DarkModeIcon.js","sourceRoot":"","sources":["../../src/icons/DarkModeIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAClD,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AAC/C,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./types";
2
2
  export declare const DoublesIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=DoublesIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DoublesIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DoublesIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,WAAW,GAAI,UAAU,SAAS,4CAE9C,CAAC"}
1
+ {"version":3,"file":"DoublesIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DoublesIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,WAAW,GAAI,UAAU,SAAS,4CAE9C,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "./Icon";
2
3
  export const DoublesIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "supervisor_account" });
4
+ return _jsx(Icon, { name: "supervisor_account", size: size });
4
5
  };
5
6
  //# sourceMappingURL=DoublesIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DoublesIcon.js","sourceRoot":"","sources":["../../src/icons/DoublesIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IACjD,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,mCAA2B,CAAC;AAC9E,CAAC,CAAC"}
1
+ {"version":3,"file":"DoublesIcon.js","sourceRoot":"","sources":["../../src/icons/DoublesIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IACjD,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,oBAAoB,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AACxD,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./types";
2
2
  export declare const DrawIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=DrawIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DrawIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DrawIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,QAAQ,GAAI,UAAU,SAAS,4CAE3C,CAAC"}
1
+ {"version":3,"file":"DrawIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DrawIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,QAAQ,GAAI,UAAU,SAAS,4CAE3C,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "./Icon";
2
3
  export const DrawIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "table" });
4
+ return _jsx(Icon, { name: "table", size: size });
4
5
  };
5
6
  //# sourceMappingURL=DrawIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DrawIcon.js","sourceRoot":"","sources":["../../src/icons/DrawIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC9C,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,sBAAc,CAAC;AACjE,CAAC,CAAC"}
1
+ {"version":3,"file":"DrawIcon.js","sourceRoot":"","sources":["../../src/icons/DrawIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC9C,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AAC3C,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
- import { IconProps } from "./icon";
1
+ import { DrawType } from "../types";
2
+ import { IconProps } from "./types";
2
3
  type DrawTypeIconProps = {
3
- type: "GROUP" | "KNOCKOUT";
4
+ type: DrawType;
4
5
  } & IconProps;
5
6
  export declare const DrawTypeIcon: ({ type, size }: DrawTypeIconProps) => import("react/jsx-runtime").JSX.Element;
6
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"DrawTypeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DrawTypeIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,GAAG,UAAU,CAAC;CAC5B,GAAG,SAAS,CAAC;AAEd,eAAO,MAAM,YAAY,GAAI,gBAAgB,iBAAiB,4CAO7D,CAAC"}
1
+ {"version":3,"file":"DrawTypeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DrawTypeIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,QAAQ,CAAC;CAChB,GAAG,SAAS,CAAC;AAEd,eAAO,MAAM,YAAY,GAAI,gBAAyB,iBAAiB,4CAOtE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { GroupIcon } from "./GroupIcon";
3
3
  import { KnockoutIcon } from "./KnockoutIcon";
4
- export const DrawTypeIcon = ({ type, size }) => {
4
+ export const DrawTypeIcon = ({ type, size = "base" }) => {
5
5
  switch (type) {
6
6
  case "GROUP":
7
7
  return _jsx(GroupIcon, { size: size });
@@ -1 +1 @@
1
- {"version":3,"file":"DrawTypeIcon.js","sourceRoot":"","sources":["../../src/icons/DrawTypeIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAO9C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,EAAqB,EAAE,EAAE;IAChE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,OAAO;YACV,OAAO,KAAC,SAAS,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;QACnC,KAAK,UAAU;YACb,OAAO,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;IACxC,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"DrawTypeIcon.js","sourceRoot":"","sources":["../../src/icons/DrawTypeIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQ9C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,MAAM,EAAqB,EAAE,EAAE;IACzE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,OAAO;YACV,OAAO,KAAC,SAAS,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;QACnC,KAAK,UAAU;YACb,OAAO,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;IACxC,CAAC;AACH,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./types";
2
2
  export declare const EventIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=EventIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventIcon.d.ts","sourceRoot":"","sources":["../../src/icons/EventIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,SAAS,GAAI,UAAU,SAAS,4CAE5C,CAAC"}
1
+ {"version":3,"file":"EventIcon.d.ts","sourceRoot":"","sources":["../../src/icons/EventIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,SAAS,GAAI,UAAU,SAAS,4CAE5C,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "./Icon";
2
3
  export const EventIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "event_list" });
4
+ return _jsx(Icon, { name: "event_list", size: size });
4
5
  };
5
6
  //# sourceMappingURL=EventIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventIcon.js","sourceRoot":"","sources":["../../src/icons/EventIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC/C,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,2BAAmB,CAAC;AACtE,CAAC,CAAC"}
1
+ {"version":3,"file":"EventIcon.js","sourceRoot":"","sources":["../../src/icons/EventIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC/C,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AAChD,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./types";
2
+ import { EventType } from "../types";
2
3
  type EventTypeIconProps = {
3
- type: "SINGLES" | "DOUBLES";
4
+ type: EventType;
4
5
  } & IconProps;
5
6
  export declare const EventTypeIcon: ({ type, size }: EventTypeIconProps) => import("react/jsx-runtime").JSX.Element;
6
7
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"EventTypeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/EventTypeIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;CAC7B,GAAG,SAAS,CAAC;AAEd,eAAO,MAAM,aAAa,GAAI,gBAAgB,kBAAkB,4CAO/D,CAAC"}
1
+ {"version":3,"file":"EventTypeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/EventTypeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,SAAS,CAAC;CACjB,GAAG,SAAS,CAAC;AAEd,eAAO,MAAM,aAAa,GAAI,gBAAyB,kBAAkB,4CAOxE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { SinglesIcon } from "./SinglesIcon";
3
3
  import { DoublesIcon } from "./DoublesIcon";
4
- export const EventTypeIcon = ({ type, size }) => {
4
+ export const EventTypeIcon = ({ type, size = "base" }) => {
5
5
  switch (type) {
6
6
  case "SINGLES":
7
7
  return _jsx(SinglesIcon, { size: size });
@@ -1 +1 @@
1
- {"version":3,"file":"EventTypeIcon.js","sourceRoot":"","sources":["../../src/icons/EventTypeIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,EAAsB,EAAE,EAAE;IAClE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,SAAS;YACZ,OAAO,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;QACrC,KAAK,SAAS;YACZ,OAAO,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;IACvC,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"EventTypeIcon.js","sourceRoot":"","sources":["../../src/icons/EventTypeIcon.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAO5C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,MAAM,EAAsB,EAAE,EAAE;IAC3E,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,SAAS;YACZ,OAAO,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;QACrC,KAAK,SAAS;YACZ,OAAO,KAAC,WAAW,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;IACvC,CAAC;AACH,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./types";
2
2
  export declare const FinishedIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=FinishedIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FinishedIcon.d.ts","sourceRoot":"","sources":["../../src/icons/FinishedIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,4CAE/C,CAAC"}
1
+ {"version":3,"file":"FinishedIcon.d.ts","sourceRoot":"","sources":["../../src/icons/FinishedIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,YAAY,GAAI,UAAU,SAAS,4CAE/C,CAAC"}