@federball/components 0.0.15 → 0.0.16
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/TournamentButton.d.ts +9 -0
- package/dist/buttons/TournamentButton.d.ts.map +1 -0
- package/dist/buttons/TournamentButton.js +7 -0
- package/dist/buttons/TournamentButton.js.map +1 -0
- package/dist/buttons/index.d.ts +2 -1
- package/dist/buttons/index.d.ts.map +1 -1
- package/dist/buttons/index.js +2 -1
- package/dist/buttons/index.js.map +1 -1
- package/dist/chips/AvailableChip.js +2 -2
- package/dist/chips/AvailableChip.js.map +1 -1
- package/dist/chips/LocationChip.js +1 -1
- package/dist/chips/LocationChip.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type TournamentButtonProps = {
|
|
2
|
+
size?: "sm" | "md" | "lg";
|
|
3
|
+
title: string;
|
|
4
|
+
onPress: () => void;
|
|
5
|
+
isDisabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const TournamentButton: ({ size, title, onPress, isDisabled, }: TournamentButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=TournamentButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TournamentButton.d.ts","sourceRoot":"","sources":["../../src/buttons/TournamentButton.tsx"],"names":[],"mappings":"AAGA,KAAK,qBAAqB,GAAG;IAC5B,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;CACrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,uCAK9B,qBAAqB,4CAavB,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 { TournamentIcon } from "../icons/TournamentIcon";
|
|
4
|
+
export const TournamentButton = ({ size = "md", title, onPress, isDisabled = false, }) => {
|
|
5
|
+
return (_jsxs(Button, { "aria-label": title, variant: "tertiary", size: size, onPress: onPress, isDisabled: isDisabled, children: [_jsx(TournamentIcon, {}), title] }));
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=TournamentButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TournamentButton.js","sourceRoot":"","sources":["../../src/buttons/TournamentButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AASzD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAChC,IAAI,GAAG,IAAI,EACX,KAAK,EACL,OAAO,EACP,UAAU,GAAG,KAAK,GACK,EAAE,EAAE;IAC3B,OAAO,CACN,MAAC,MAAM,kBACM,KAAK,EACjB,OAAO,EAAC,UAAU,EAClB,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,aAEtB,KAAC,cAAc,KAAG,EACjB,KAAK,IACE,CACT,CAAC;AACH,CAAC,CAAC"}
|
package/dist/buttons/index.d.ts
CHANGED
|
@@ -9,5 +9,6 @@ import { EditIconButton } from "./EditIconButton";
|
|
|
9
9
|
import { EventButton } from "./EventButton";
|
|
10
10
|
import { GameButton } from "./GameButton";
|
|
11
11
|
import { LocationIconButton } from "./LocationIconButton";
|
|
12
|
-
|
|
12
|
+
import { TournamentButton } from "./TournamentButton";
|
|
13
|
+
export { AddButton, BackButton, ConfirmButton, ContinueButton, DeleteButton, DeleteIconButton, EditButton, EditIconButton, EventButton, GameButton, LocationIconButton, TournamentButton, };
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;
|
|
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,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EACN,SAAS,EACT,UAAU,EACV,aAAa,EACb,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,gBAAgB,GAChB,CAAC"}
|
package/dist/buttons/index.js
CHANGED
|
@@ -9,5 +9,6 @@ import { EditIconButton } from "./EditIconButton";
|
|
|
9
9
|
import { EventButton } from "./EventButton";
|
|
10
10
|
import { GameButton } from "./GameButton";
|
|
11
11
|
import { LocationIconButton } from "./LocationIconButton";
|
|
12
|
-
|
|
12
|
+
import { TournamentButton } from "./TournamentButton";
|
|
13
|
+
export { AddButton, BackButton, ConfirmButton, ContinueButton, DeleteButton, DeleteIconButton, EditButton, EditIconButton, EventButton, GameButton, LocationIconButton, TournamentButton, };
|
|
13
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;
|
|
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,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EACN,SAAS,EACT,UAAU,EACV,aAAa,EACb,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,gBAAgB,GAChB,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Chip } from "@heroui/react";
|
|
3
3
|
export const AvailableChip = ({ available }) => {
|
|
4
4
|
if (available) {
|
|
5
|
-
return (_jsx(Chip, { color: "success", variant: "soft", children: "Available" }));
|
|
5
|
+
return (_jsx(Chip, { color: "success", variant: "soft", size: "lg", children: "Available" }));
|
|
6
6
|
}
|
|
7
|
-
return (_jsx(Chip, { color: "warning", variant: "soft", children: "Unavailable" }));
|
|
7
|
+
return (_jsx(Chip, { color: "warning", variant: "soft", size: "lg", children: "Unavailable" }));
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=AvailableChip.js.map
|
|
@@ -1 +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;IAClE,IAAI,SAAS,EAAE,CAAC;QACf,OAAO,CACN,KAAC,IAAI,IAAC,KAAK,EAAC,SAAS,EAAC,OAAO,EAAC,MAAM,
|
|
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;IAClE,IAAI,SAAS,EAAE,CAAC;QACf,OAAO,CACN,KAAC,IAAI,IAAC,KAAK,EAAC,SAAS,EAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,0BAEvC,CACP,CAAC;IACH,CAAC;IACD,OAAO,CACN,KAAC,IAAI,IAAC,KAAK,EAAC,SAAS,EAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,4BAEvC,CACP,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Chip } from "@heroui/react";
|
|
3
3
|
import { LocationIcon } from "../icons/LocationIcon";
|
|
4
4
|
export const LocationChip = ({ location }) => {
|
|
5
|
-
return (_jsxs(Chip, { variant: "secondary", children: [_jsx(LocationIcon, { size: "sm" }), location.name] }));
|
|
5
|
+
return (_jsxs(Chip, { variant: "secondary", size: "lg", children: [_jsx(LocationIcon, { size: "sm" }), location.name] }));
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=LocationChip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationChip.js","sourceRoot":"","sources":["../../src/chips/LocationChip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAKrD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,QAAQ,EAAqB,EAAE,EAAE;IAC/D,OAAO,CACN,MAAC,IAAI,IAAC,OAAO,EAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"LocationChip.js","sourceRoot":"","sources":["../../src/chips/LocationChip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAKrD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,QAAQ,EAAqB,EAAE,EAAE;IAC/D,OAAO,CACN,MAAC,IAAI,IAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,IAAI,aAClC,KAAC,YAAY,IAAC,IAAI,EAAC,IAAI,GAAG,EACzB,QAAQ,CAAC,IAAI,IACR,CACP,CAAC;AACH,CAAC,CAAC"}
|