@federball/components 0.0.4 → 0.0.5

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 (117) hide show
  1. package/dist/chips/AvailableChip.d.ts +6 -0
  2. package/dist/chips/AvailableChip.d.ts.map +1 -0
  3. package/dist/chips/AvailableChip.js +9 -0
  4. package/dist/chips/AvailableChip.js.map +1 -0
  5. package/dist/chips/ClubChip.d.ts +10 -0
  6. package/dist/chips/ClubChip.d.ts.map +1 -0
  7. package/dist/chips/ClubChip.js +7 -0
  8. package/dist/chips/ClubChip.js.map +1 -0
  9. package/dist/chips/CourtChip.d.ts +6 -0
  10. package/dist/chips/CourtChip.d.ts.map +1 -0
  11. package/dist/chips/CourtChip.js +7 -0
  12. package/dist/chips/CourtChip.js.map +1 -0
  13. package/dist/chips/DrawTypeChip.d.ts +7 -0
  14. package/dist/chips/DrawTypeChip.d.ts.map +1 -0
  15. package/dist/chips/DrawTypeChip.js +7 -0
  16. package/dist/chips/DrawTypeChip.js.map +1 -0
  17. package/dist/chips/GameStageChip.d.ts +7 -0
  18. package/dist/chips/GameStageChip.d.ts.map +1 -0
  19. package/dist/chips/GameStageChip.js +13 -0
  20. package/dist/chips/GameStageChip.js.map +1 -0
  21. package/dist/chips/index.d.ts +7 -0
  22. package/dist/chips/index.d.ts.map +1 -0
  23. package/dist/chips/index.js +7 -0
  24. package/dist/chips/index.js.map +1 -0
  25. package/dist/icons/AccountIcon.d.ts +1 -1
  26. package/dist/icons/AccountIcon.d.ts.map +1 -1
  27. package/dist/icons/AccountIcon.js +2 -1
  28. package/dist/icons/AccountIcon.js.map +1 -1
  29. package/dist/icons/ClubIcon.d.ts +1 -1
  30. package/dist/icons/ClubIcon.d.ts.map +1 -1
  31. package/dist/icons/ClubIcon.js +2 -1
  32. package/dist/icons/ClubIcon.js.map +1 -1
  33. package/dist/icons/CourtIcon.d.ts +1 -1
  34. package/dist/icons/CourtIcon.d.ts.map +1 -1
  35. package/dist/icons/CourtIcon.js +2 -1
  36. package/dist/icons/CourtIcon.js.map +1 -1
  37. package/dist/icons/DarkModeIcon.d.ts +1 -1
  38. package/dist/icons/DarkModeIcon.d.ts.map +1 -1
  39. package/dist/icons/DarkModeIcon.js +2 -1
  40. package/dist/icons/DarkModeIcon.js.map +1 -1
  41. package/dist/icons/DoublesIcon.d.ts +1 -1
  42. package/dist/icons/DoublesIcon.d.ts.map +1 -1
  43. package/dist/icons/DoublesIcon.js +2 -1
  44. package/dist/icons/DoublesIcon.js.map +1 -1
  45. package/dist/icons/DrawIcon.d.ts +1 -1
  46. package/dist/icons/DrawIcon.d.ts.map +1 -1
  47. package/dist/icons/DrawIcon.js +2 -1
  48. package/dist/icons/DrawIcon.js.map +1 -1
  49. package/dist/icons/DrawTypeIcon.d.ts +3 -2
  50. package/dist/icons/DrawTypeIcon.d.ts.map +1 -1
  51. package/dist/icons/DrawTypeIcon.js.map +1 -1
  52. package/dist/icons/EventIcon.d.ts +1 -1
  53. package/dist/icons/EventIcon.d.ts.map +1 -1
  54. package/dist/icons/EventIcon.js +2 -1
  55. package/dist/icons/EventIcon.js.map +1 -1
  56. package/dist/icons/EventTypeIcon.d.ts +1 -1
  57. package/dist/icons/EventTypeIcon.d.ts.map +1 -1
  58. package/dist/icons/EventTypeIcon.js.map +1 -1
  59. package/dist/icons/FinishedIcon.d.ts +1 -1
  60. package/dist/icons/FinishedIcon.d.ts.map +1 -1
  61. package/dist/icons/FinishedIcon.js +2 -1
  62. package/dist/icons/FinishedIcon.js.map +1 -1
  63. package/dist/icons/GameStatusIcon.d.ts +1 -1
  64. package/dist/icons/GroupIcon.d.ts +1 -1
  65. package/dist/icons/GroupIcon.d.ts.map +1 -1
  66. package/dist/icons/GroupIcon.js +2 -1
  67. package/dist/icons/GroupIcon.js.map +1 -1
  68. package/dist/icons/Icon.d.ts +9 -0
  69. package/dist/icons/Icon.d.ts.map +1 -0
  70. package/dist/icons/Icon.js +6 -0
  71. package/dist/icons/Icon.js.map +1 -0
  72. package/dist/icons/KnockoutIcon.d.ts +1 -1
  73. package/dist/icons/KnockoutIcon.d.ts.map +1 -1
  74. package/dist/icons/KnockoutIcon.js +2 -1
  75. package/dist/icons/KnockoutIcon.js.map +1 -1
  76. package/dist/icons/LightModeIcon.d.ts +1 -1
  77. package/dist/icons/LightModeIcon.d.ts.map +1 -1
  78. package/dist/icons/LightModeIcon.js +2 -1
  79. package/dist/icons/LightModeIcon.js.map +1 -1
  80. package/dist/icons/OrganizationIcon.d.ts +1 -1
  81. package/dist/icons/OrganizationIcon.d.ts.map +1 -1
  82. package/dist/icons/OrganizationIcon.js +2 -1
  83. package/dist/icons/OrganizationIcon.js.map +1 -1
  84. package/dist/icons/PlayerIcon.d.ts +1 -1
  85. package/dist/icons/PlayerIcon.d.ts.map +1 -1
  86. package/dist/icons/PlayerIcon.js +2 -1
  87. package/dist/icons/PlayerIcon.js.map +1 -1
  88. package/dist/icons/RunningIcon.d.ts +1 -1
  89. package/dist/icons/RunningIcon.d.ts.map +1 -1
  90. package/dist/icons/RunningIcon.js +2 -1
  91. package/dist/icons/RunningIcon.js.map +1 -1
  92. package/dist/icons/ScheduledIcon.d.ts +1 -1
  93. package/dist/icons/ScheduledIcon.d.ts.map +1 -1
  94. package/dist/icons/ScheduledIcon.js +2 -1
  95. package/dist/icons/ScheduledIcon.js.map +1 -1
  96. package/dist/icons/SinglesIcon.d.ts +1 -1
  97. package/dist/icons/SinglesIcon.d.ts.map +1 -1
  98. package/dist/icons/SinglesIcon.js +2 -1
  99. package/dist/icons/SinglesIcon.js.map +1 -1
  100. package/dist/icons/TimerIcon.d.ts +1 -1
  101. package/dist/icons/TimerIcon.d.ts.map +1 -1
  102. package/dist/icons/TimerIcon.js +2 -1
  103. package/dist/icons/TimerIcon.js.map +1 -1
  104. package/dist/icons/TournamentIcon.d.ts +1 -1
  105. package/dist/icons/TournamentIcon.d.ts.map +1 -1
  106. package/dist/icons/TournamentIcon.js +2 -1
  107. package/dist/icons/TournamentIcon.js.map +1 -1
  108. package/dist/styles.css +10990 -22
  109. package/dist/types.d.ts +2 -0
  110. package/dist/types.d.ts.map +1 -0
  111. package/dist/types.js +2 -0
  112. package/dist/types.js.map +1 -0
  113. package/package.json +10 -1
  114. package/dist/icons/icon.d.ts +0 -6
  115. package/dist/icons/icon.d.ts.map +0 -1
  116. package/dist/icons/icon.js +0 -2
  117. package/dist/icons/icon.js.map +0 -1
@@ -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 { 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
+ 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,7 @@
1
+ import { AvailableChip } from "./AvailableChip";
2
+ import { ClubChip } from "./ClubChip";
3
+ import { CourtChip } from "./CourtChip";
4
+ import { DrawTypeChip } from "./DrawTypeChip";
5
+ import { GameStageChip } from "./GameStageChip";
6
+ export { AvailableChip, ClubChip, CourtChip, DrawTypeChip, GameStageChip };
7
+ //# 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,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { AvailableChip } from "./AvailableChip";
2
+ import { ClubChip } from "./ClubChip";
3
+ import { CourtChip } from "./CourtChip";
4
+ import { DrawTypeChip } from "./DrawTypeChip";
5
+ import { GameStageChip } from "./GameStageChip";
6
+ export { AvailableChip, ClubChip, CourtChip, DrawTypeChip, GameStageChip };
7
+ //# 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,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./Icon";
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":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,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,EAAa,MAAM,QAAQ,CAAC;AAEzC,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"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./Icon";
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":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,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,EAAa,MAAM,QAAQ,CAAC;AAEzC,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 "./Icon";
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":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,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,EAAa,MAAM,QAAQ,CAAC;AAEzC,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 "./Icon";
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":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,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,EAAa,MAAM,QAAQ,CAAC;AAEzC,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 "./Icon";
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":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,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,EAAa,MAAM,QAAQ,CAAC;AAEzC,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 "./Icon";
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":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,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,EAAa,MAAM,QAAQ,CAAC;AAEzC,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 { IconProps } from "./Icon";
2
+ import { DrawType } 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":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGnC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,QAAQ,CAAC;CAChB,GAAG,SAAS,CAAC;AAEd,eAAO,MAAM,YAAY,GAAI,gBAAgB,iBAAiB,4CAO7D,CAAC"}
@@ -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":";AACA,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,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./Icon";
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":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,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,EAAa,MAAM,QAAQ,CAAC;AAEzC,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,4 +1,4 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./Icon";
2
2
  type EventTypeIconProps = {
3
3
  type: "SINGLES" | "DOUBLES";
4
4
  } & IconProps;
@@ -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,QAAQ,CAAC;AAInC,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 +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;AAM5C,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,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./Icon";
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":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,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 FinishedIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "check" });
4
+ return _jsx(Icon, { name: "check", size: size });
4
5
  };
5
6
  //# sourceMappingURL=FinishedIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FinishedIcon.js","sourceRoot":"","sources":["../../src/icons/FinishedIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAClD,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,sBAAc,CAAC;AACjE,CAAC,CAAC"}
1
+ {"version":3,"file":"FinishedIcon.js","sourceRoot":"","sources":["../../src/icons/FinishedIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAa,MAAM,QAAQ,CAAC;AAEzC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAClD,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AAC3C,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./Icon";
2
2
  type GameStatusIconProps = {
3
3
  status: "SCHEDULED" | "RUNNING" | "FINISHED";
4
4
  } & IconProps;
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./Icon";
2
2
  export declare const GroupIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=GroupIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GroupIcon.d.ts","sourceRoot":"","sources":["../../src/icons/GroupIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,SAAS,GAAI,UAAU,SAAS,4CAE5C,CAAC"}
1
+ {"version":3,"file":"GroupIcon.d.ts","sourceRoot":"","sources":["../../src/icons/GroupIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,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 GroupIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "group" });
4
+ return _jsx(Icon, { name: "group", size: size });
4
5
  };
5
6
  //# sourceMappingURL=GroupIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GroupIcon.js","sourceRoot":"","sources":["../../src/icons/GroupIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC/C,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,sBAAc,CAAC;AACjE,CAAC,CAAC"}
1
+ {"version":3,"file":"GroupIcon.js","sourceRoot":"","sources":["../../src/icons/GroupIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAa,MAAM,QAAQ,CAAC;AAEzC,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IAC/C,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AAC3C,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type IconProps = {
2
+ size: "xs" | "sm" | "lg" | "xl" | "2xl";
3
+ };
4
+ type InternalIconProps = {
5
+ name: string;
6
+ };
7
+ export declare const Icon: ({ name, size }: InternalIconProps & IconProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=Icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../src/icons/Icon.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;CACzC,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,gBAAgB,iBAAiB,GAAG,SAAS,4CAQjE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ export const Icon = ({ name, size }) => {
3
+ const className = `font-icon text-${size}`;
4
+ return (_jsx("span", { className: className, "aria-hidden": "true", children: name }));
5
+ };
6
+ //# sourceMappingURL=Icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../src/icons/Icon.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,EAAiC,EAAE,EAAE;IACpE,MAAM,SAAS,GAAG,kBAAkB,IAAI,EAAE,CAAC;IAE3C,OAAO,CACL,eAAM,SAAS,EAAE,SAAS,iBAAc,MAAM,YAC3C,IAAI,GACA,CACR,CAAC;AACJ,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./Icon";
2
2
  export declare const KnockoutIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=KnockoutIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KnockoutIcon.d.ts","sourceRoot":"","sources":["../../src/icons/KnockoutIcon.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":"KnockoutIcon.d.ts","sourceRoot":"","sources":["../../src/icons/KnockoutIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,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 KnockoutIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "flowchart" });
4
+ return _jsx(Icon, { name: "flowchart", size: size });
4
5
  };
5
6
  //# sourceMappingURL=KnockoutIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"KnockoutIcon.js","sourceRoot":"","sources":["../../src/icons/KnockoutIcon.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":"KnockoutIcon.js","sourceRoot":"","sources":["../../src/icons/KnockoutIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAa,MAAM,QAAQ,CAAC;AAEzC,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 "./Icon";
2
2
  export declare const LightModeIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=LightModeIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LightModeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/LightModeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,aAAa,GAAI,UAAU,SAAS,4CAEhD,CAAC"}
1
+ {"version":3,"file":"LightModeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/LightModeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,eAAO,MAAM,aAAa,GAAI,UAAU,SAAS,4CAEhD,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "./Icon";
2
3
  export const LightModeIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "light_mode" });
4
+ return _jsx(Icon, { name: "light_mode", size: size });
4
5
  };
5
6
  //# sourceMappingURL=LightModeIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LightModeIcon.js","sourceRoot":"","sources":["../../src/icons/LightModeIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IACnD,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,2BAAmB,CAAC;AACtE,CAAC,CAAC"}
1
+ {"version":3,"file":"LightModeIcon.js","sourceRoot":"","sources":["../../src/icons/LightModeIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAa,MAAM,QAAQ,CAAC;AAEzC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IACnD,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AAChD,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./Icon";
2
2
  export declare const OrganizationIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=OrganizationIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OrganizationIcon.d.ts","sourceRoot":"","sources":["../../src/icons/OrganizationIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,gBAAgB,GAAI,UAAU,SAAS,4CAEnD,CAAC"}
1
+ {"version":3,"file":"OrganizationIcon.d.ts","sourceRoot":"","sources":["../../src/icons/OrganizationIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,eAAO,MAAM,gBAAgB,GAAI,UAAU,SAAS,4CAEnD,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Icon } from "./Icon";
2
3
  export const OrganizationIcon = ({ size }) => {
3
- return _jsx("span", { className: `font-icon text-${size}`, children: "diversity_3" });
4
+ return _jsx(Icon, { name: "diversity_3", size: size });
4
5
  };
5
6
  //# sourceMappingURL=OrganizationIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OrganizationIcon.js","sourceRoot":"","sources":["../../src/icons/OrganizationIcon.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IACtD,OAAO,eAAM,SAAS,EAAE,kBAAkB,IAAI,EAAE,4BAAoB,CAAC;AACvE,CAAC,CAAC"}
1
+ {"version":3,"file":"OrganizationIcon.js","sourceRoot":"","sources":["../../src/icons/OrganizationIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAa,MAAM,QAAQ,CAAC;AAEzC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,IAAI,EAAa,EAAE,EAAE;IACtD,OAAO,KAAC,IAAI,IAAC,IAAI,EAAC,aAAa,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC;AACjD,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IconProps } from "./icon";
1
+ import { IconProps } from "./Icon";
2
2
  export declare const PlayerIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=PlayerIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlayerIcon.d.ts","sourceRoot":"","sources":["../../src/icons/PlayerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,UAAU,GAAI,UAAU,SAAS,4CAE7C,CAAC"}
1
+ {"version":3,"file":"PlayerIcon.d.ts","sourceRoot":"","sources":["../../src/icons/PlayerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEzC,eAAO,MAAM,UAAU,GAAI,UAAU,SAAS,4CAE7C,CAAC"}