@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.
- package/dist/buttons/AddButton.d.ts +9 -0
- package/dist/buttons/AddButton.d.ts.map +1 -0
- package/dist/buttons/AddButton.js +7 -0
- package/dist/buttons/AddButton.js.map +1 -0
- package/dist/buttons/ConfirmButton.d.ts +8 -0
- package/dist/buttons/ConfirmButton.d.ts.map +1 -0
- package/dist/buttons/ConfirmButton.js +6 -0
- package/dist/buttons/ConfirmButton.js.map +1 -0
- package/dist/buttons/index.d.ts +4 -0
- package/dist/buttons/index.d.ts.map +1 -0
- package/dist/buttons/index.js +4 -0
- package/dist/buttons/index.js.map +1 -0
- package/dist/chips/AvailableChip.d.ts +6 -0
- package/dist/chips/AvailableChip.d.ts.map +1 -0
- package/dist/chips/AvailableChip.js +9 -0
- package/dist/chips/AvailableChip.js.map +1 -0
- package/dist/chips/ClubChip.d.ts +10 -0
- package/dist/chips/ClubChip.d.ts.map +1 -0
- package/dist/chips/ClubChip.js +7 -0
- package/dist/chips/ClubChip.js.map +1 -0
- package/dist/chips/CourtChip.d.ts +6 -0
- package/dist/chips/CourtChip.d.ts.map +1 -0
- package/dist/chips/CourtChip.js +7 -0
- package/dist/chips/CourtChip.js.map +1 -0
- package/dist/chips/DrawChip.d.ts +7 -0
- package/dist/chips/DrawChip.d.ts.map +1 -0
- package/dist/chips/DrawChip.js +7 -0
- package/dist/chips/DrawChip.js.map +1 -0
- package/dist/chips/DrawTypeChip.d.ts +7 -0
- package/dist/chips/DrawTypeChip.d.ts.map +1 -0
- package/dist/chips/DrawTypeChip.js +7 -0
- package/dist/chips/DrawTypeChip.js.map +1 -0
- package/dist/chips/EventChip.d.ts +7 -0
- package/dist/chips/EventChip.d.ts.map +1 -0
- package/dist/chips/EventChip.js +7 -0
- package/dist/chips/EventChip.js.map +1 -0
- package/dist/chips/GameStageChip.d.ts +7 -0
- package/dist/chips/GameStageChip.d.ts.map +1 -0
- package/dist/chips/GameStageChip.js +13 -0
- package/dist/chips/GameStageChip.js.map +1 -0
- package/dist/chips/index.d.ts +9 -0
- package/dist/chips/index.d.ts.map +1 -0
- package/dist/chips/index.js +9 -0
- package/dist/chips/index.js.map +1 -0
- package/dist/icons/AccountIcon.d.ts +1 -1
- package/dist/icons/AccountIcon.d.ts.map +1 -1
- package/dist/icons/AccountIcon.js +2 -1
- package/dist/icons/AccountIcon.js.map +1 -1
- package/dist/icons/AddIcon.d.ts +3 -0
- package/dist/icons/AddIcon.d.ts.map +1 -0
- package/dist/icons/AddIcon.js +6 -0
- package/dist/icons/AddIcon.js.map +1 -0
- package/dist/icons/ClubIcon.d.ts +1 -1
- package/dist/icons/ClubIcon.d.ts.map +1 -1
- package/dist/icons/ClubIcon.js +2 -1
- package/dist/icons/ClubIcon.js.map +1 -1
- package/dist/icons/CourtIcon.d.ts +1 -1
- package/dist/icons/CourtIcon.d.ts.map +1 -1
- package/dist/icons/CourtIcon.js +2 -1
- package/dist/icons/CourtIcon.js.map +1 -1
- package/dist/icons/DarkModeIcon.d.ts +1 -1
- package/dist/icons/DarkModeIcon.d.ts.map +1 -1
- package/dist/icons/DarkModeIcon.js +2 -1
- package/dist/icons/DarkModeIcon.js.map +1 -1
- package/dist/icons/DoublesIcon.d.ts +1 -1
- package/dist/icons/DoublesIcon.d.ts.map +1 -1
- package/dist/icons/DoublesIcon.js +2 -1
- package/dist/icons/DoublesIcon.js.map +1 -1
- package/dist/icons/DrawIcon.d.ts +1 -1
- package/dist/icons/DrawIcon.d.ts.map +1 -1
- package/dist/icons/DrawIcon.js +2 -1
- package/dist/icons/DrawIcon.js.map +1 -1
- package/dist/icons/DrawTypeIcon.d.ts +3 -2
- package/dist/icons/DrawTypeIcon.d.ts.map +1 -1
- package/dist/icons/DrawTypeIcon.js +1 -1
- package/dist/icons/DrawTypeIcon.js.map +1 -1
- package/dist/icons/EventIcon.d.ts +1 -1
- package/dist/icons/EventIcon.d.ts.map +1 -1
- package/dist/icons/EventIcon.js +2 -1
- package/dist/icons/EventIcon.js.map +1 -1
- package/dist/icons/EventTypeIcon.d.ts +3 -2
- package/dist/icons/EventTypeIcon.d.ts.map +1 -1
- package/dist/icons/EventTypeIcon.js +1 -1
- package/dist/icons/EventTypeIcon.js.map +1 -1
- package/dist/icons/FinishedIcon.d.ts +1 -1
- package/dist/icons/FinishedIcon.d.ts.map +1 -1
- package/dist/icons/FinishedIcon.js +2 -1
- package/dist/icons/FinishedIcon.js.map +1 -1
- package/dist/icons/GameStatusIcon.d.ts +2 -2
- package/dist/icons/GameStatusIcon.d.ts.map +1 -1
- package/dist/icons/GameStatusIcon.js +1 -1
- package/dist/icons/GameStatusIcon.js.map +1 -1
- package/dist/icons/GroupIcon.d.ts +1 -1
- package/dist/icons/GroupIcon.d.ts.map +1 -1
- package/dist/icons/GroupIcon.js +2 -1
- package/dist/icons/GroupIcon.js.map +1 -1
- package/dist/icons/Icon.d.ts +8 -0
- package/dist/icons/Icon.d.ts.map +1 -0
- package/dist/icons/Icon.js +6 -0
- package/dist/icons/Icon.js.map +1 -0
- package/dist/icons/KnockoutIcon.d.ts +1 -1
- package/dist/icons/KnockoutIcon.d.ts.map +1 -1
- package/dist/icons/KnockoutIcon.js +2 -1
- package/dist/icons/KnockoutIcon.js.map +1 -1
- package/dist/icons/LightModeIcon.d.ts +1 -1
- package/dist/icons/LightModeIcon.d.ts.map +1 -1
- package/dist/icons/LightModeIcon.js +2 -1
- package/dist/icons/LightModeIcon.js.map +1 -1
- package/dist/icons/OrganizationIcon.d.ts +1 -1
- package/dist/icons/OrganizationIcon.d.ts.map +1 -1
- package/dist/icons/OrganizationIcon.js +2 -1
- package/dist/icons/OrganizationIcon.js.map +1 -1
- package/dist/icons/PlayerIcon.d.ts +1 -1
- package/dist/icons/PlayerIcon.d.ts.map +1 -1
- package/dist/icons/PlayerIcon.js +2 -1
- package/dist/icons/PlayerIcon.js.map +1 -1
- package/dist/icons/RocketIcon.d.ts +3 -0
- package/dist/icons/RocketIcon.d.ts.map +1 -0
- package/dist/icons/RocketIcon.js +6 -0
- package/dist/icons/RocketIcon.js.map +1 -0
- package/dist/icons/RunningIcon.d.ts +1 -1
- package/dist/icons/RunningIcon.d.ts.map +1 -1
- package/dist/icons/RunningIcon.js +2 -1
- package/dist/icons/RunningIcon.js.map +1 -1
- package/dist/icons/ScheduledIcon.d.ts +1 -1
- package/dist/icons/ScheduledIcon.d.ts.map +1 -1
- package/dist/icons/ScheduledIcon.js +2 -1
- package/dist/icons/ScheduledIcon.js.map +1 -1
- package/dist/icons/SearchIcon.d.ts +3 -0
- package/dist/icons/SearchIcon.d.ts.map +1 -0
- package/dist/icons/SearchIcon.js +6 -0
- package/dist/icons/SearchIcon.js.map +1 -0
- package/dist/icons/SinglesIcon.d.ts +1 -1
- package/dist/icons/SinglesIcon.d.ts.map +1 -1
- package/dist/icons/SinglesIcon.js +2 -1
- package/dist/icons/SinglesIcon.js.map +1 -1
- package/dist/icons/TimerIcon.d.ts +1 -1
- package/dist/icons/TimerIcon.d.ts.map +1 -1
- package/dist/icons/TimerIcon.js +2 -1
- package/dist/icons/TimerIcon.js.map +1 -1
- package/dist/icons/TournamentIcon.d.ts +1 -1
- package/dist/icons/TournamentIcon.d.ts.map +1 -1
- package/dist/icons/TournamentIcon.js +2 -1
- package/dist/icons/TournamentIcon.js.map +1 -1
- package/dist/icons/types.d.ts +5 -0
- package/dist/icons/types.d.ts.map +1 -0
- package/dist/icons/types.js +2 -0
- package/dist/icons/types.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css +10990 -22
- package/dist/types.d.ts +11 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +15 -1
- package/dist/icons/icon.d.ts +0 -6
- package/dist/icons/icon.d.ts.map +0 -1
- package/dist/icons/icon.js +0 -2
- 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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountIcon.d.ts","sourceRoot":"","sources":["../../src/icons/AccountIcon.tsx"],"names":[],"mappings":"
|
|
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(
|
|
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":";
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|
package/dist/icons/ClubIcon.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClubIcon.d.ts","sourceRoot":"","sources":["../../src/icons/ClubIcon.tsx"],"names":[],"mappings":"
|
|
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"}
|
package/dist/icons/ClubIcon.js
CHANGED
|
@@ -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(
|
|
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":";
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CourtIcon.d.ts","sourceRoot":"","sources":["../../src/icons/CourtIcon.tsx"],"names":[],"mappings":"
|
|
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"}
|
package/dist/icons/CourtIcon.js
CHANGED
|
@@ -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(
|
|
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":";
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DarkModeIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DarkModeIcon.tsx"],"names":[],"mappings":"
|
|
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(
|
|
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":";
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DoublesIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DoublesIcon.tsx"],"names":[],"mappings":"
|
|
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(
|
|
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":";
|
|
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"}
|
package/dist/icons/DrawIcon.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawIcon.d.ts","sourceRoot":"","sources":["../../src/icons/DrawIcon.tsx"],"names":[],"mappings":"
|
|
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"}
|
package/dist/icons/DrawIcon.js
CHANGED
|
@@ -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(
|
|
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":";
|
|
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 {
|
|
1
|
+
import { DrawType } from "../types";
|
|
2
|
+
import { IconProps } from "./types";
|
|
2
3
|
type DrawTypeIconProps = {
|
|
3
|
-
type:
|
|
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,
|
|
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;
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventIcon.d.ts","sourceRoot":"","sources":["../../src/icons/EventIcon.tsx"],"names":[],"mappings":"
|
|
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"}
|
package/dist/icons/EventIcon.js
CHANGED
|
@@ -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(
|
|
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":";
|
|
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 "./
|
|
1
|
+
import { IconProps } from "./types";
|
|
2
|
+
import { EventType } from "../types";
|
|
2
3
|
type EventTypeIconProps = {
|
|
3
|
-
type:
|
|
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":"
|
|
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":";
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinishedIcon.d.ts","sourceRoot":"","sources":["../../src/icons/FinishedIcon.tsx"],"names":[],"mappings":"
|
|
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"}
|