@mbpockets/shared-ui 0.1.19 → 0.1.20

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/index.cjs CHANGED
@@ -11,7 +11,7 @@ var ColorizeIcon = require('@mui/icons-material/Colorize');
11
11
  var CancelIcon = require('@mui/icons-material/Cancel');
12
12
  var CheckCircleIcon = require('@mui/icons-material/CheckCircle');
13
13
  var Box2 = require('@mui/material/Box');
14
- var Grid9 = require('@mui/material/Grid');
14
+ var Grid8 = require('@mui/material/Grid');
15
15
  var Card10 = require('@mui/material/Card');
16
16
  var CardContent10 = require('@mui/material/CardContent');
17
17
  var CardHeader4 = require('@mui/material/CardHeader');
@@ -23,12 +23,12 @@ var LocationOnIcon = require('@mui/icons-material/LocationOn');
23
23
  var EventIcon = require('@mui/icons-material/Event');
24
24
  var Autocomplete = require('@mui/material/Autocomplete');
25
25
  var Popper = require('@mui/material/Popper');
26
- var TextField3 = require('@mui/material/TextField');
27
26
  var Typography10 = require('@mui/material/Typography');
28
27
  var FormControl2 = require('@mui/material/FormControl');
29
28
  var RadioGroup = require('@mui/material/RadioGroup');
30
29
  var FormControlLabel = require('@mui/material/FormControlLabel');
31
30
  var Radio = require('@mui/material/Radio');
31
+ var TextField4 = require('@mui/material/TextField');
32
32
  var FormGroup = require('@mui/material/FormGroup');
33
33
  var Checkbox = require('@mui/material/Checkbox');
34
34
  var Button7 = require('@mui/material/Button');
@@ -47,7 +47,7 @@ var ColorizeIcon__default = /*#__PURE__*/_interopDefault(ColorizeIcon);
47
47
  var CancelIcon__default = /*#__PURE__*/_interopDefault(CancelIcon);
48
48
  var CheckCircleIcon__default = /*#__PURE__*/_interopDefault(CheckCircleIcon);
49
49
  var Box2__default = /*#__PURE__*/_interopDefault(Box2);
50
- var Grid9__default = /*#__PURE__*/_interopDefault(Grid9);
50
+ var Grid8__default = /*#__PURE__*/_interopDefault(Grid8);
51
51
  var Card10__default = /*#__PURE__*/_interopDefault(Card10);
52
52
  var CardContent10__default = /*#__PURE__*/_interopDefault(CardContent10);
53
53
  var CardHeader4__default = /*#__PURE__*/_interopDefault(CardHeader4);
@@ -59,12 +59,12 @@ var LocationOnIcon__default = /*#__PURE__*/_interopDefault(LocationOnIcon);
59
59
  var EventIcon__default = /*#__PURE__*/_interopDefault(EventIcon);
60
60
  var Autocomplete__default = /*#__PURE__*/_interopDefault(Autocomplete);
61
61
  var Popper__default = /*#__PURE__*/_interopDefault(Popper);
62
- var TextField3__default = /*#__PURE__*/_interopDefault(TextField3);
63
62
  var Typography10__default = /*#__PURE__*/_interopDefault(Typography10);
64
63
  var FormControl2__default = /*#__PURE__*/_interopDefault(FormControl2);
65
64
  var RadioGroup__default = /*#__PURE__*/_interopDefault(RadioGroup);
66
65
  var FormControlLabel__default = /*#__PURE__*/_interopDefault(FormControlLabel);
67
66
  var Radio__default = /*#__PURE__*/_interopDefault(Radio);
67
+ var TextField4__default = /*#__PURE__*/_interopDefault(TextField4);
68
68
  var FormGroup__default = /*#__PURE__*/_interopDefault(FormGroup);
69
69
  var Checkbox__default = /*#__PURE__*/_interopDefault(Checkbox);
70
70
  var Button7__default = /*#__PURE__*/_interopDefault(Button7);
@@ -516,7 +516,7 @@ function EventBasicInfo(props) {
516
516
  );
517
517
  }
518
518
  function EventBasicInfoView({ description, locationId, startingDate, endingDate, timeInfo, timezone, isOwner, onEdit }) {
519
- return /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { sx: { position: "relative" }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Card, { style: {
519
+ return /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { sx: { position: "relative" }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Card, { style: {
520
520
  boxShadow: "0px 4px 10px rgba(0, 0, 0, 0.1)",
521
521
  background: "linear-gradient(135deg, rgba(225, 225, 225, 1), rgba(250, 250, 250, 1))"
522
522
  }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.CardContent, { children: [
@@ -800,7 +800,7 @@ function EventBannerView({
800
800
  }) {
801
801
  const backgroundColor = bannerColor || "linear-gradient(135deg, rgba(25,118,210,0.8), rgba(25,118,210,1))";
802
802
  return /* @__PURE__ */ jsxRuntime.jsxs(
803
- Grid9__default.default,
803
+ Grid8__default.default,
804
804
  {
805
805
  sx: {
806
806
  background: backgroundColor,
@@ -808,7 +808,7 @@ function EventBannerView({
808
808
  position: "relative"
809
809
  },
810
810
  children: [
811
- /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { children: [
811
+ /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { children: [
812
812
  /* @__PURE__ */ jsxRuntime.jsxs(
813
813
  material.Box,
814
814
  {
@@ -867,7 +867,7 @@ function EventBannerView({
867
867
  }
868
868
  ),
869
869
  /* @__PURE__ */ jsxRuntime.jsxs(
870
- Grid9__default.default,
870
+ Grid8__default.default,
871
871
  {
872
872
  display: "flex",
873
873
  justifyContent: "center",
@@ -1266,27 +1266,28 @@ function EventPageLayout({
1266
1266
  tables,
1267
1267
  allTags
1268
1268
  }) {
1269
- return /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { container: true, flexDirection: "column", children: /* @__PURE__ */ jsxRuntime.jsxs(EventEditProvider, { initialEvent: mergedEvent, value: { isOwner, updateEvent, updateImages }, children: [
1270
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { children: /* @__PURE__ */ jsxRuntime.jsx(
1269
+ return /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { container: true, flexDirection: "column", children: /* @__PURE__ */ jsxRuntime.jsxs(EventEditProvider, { initialEvent: mergedEvent, value: { isOwner, updateEvent, updateImages }, children: [
1270
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { children: /* @__PURE__ */ jsxRuntime.jsx(
1271
1271
  EventBanner,
1272
1272
  {
1273
1273
  attendees,
1274
1274
  numGames
1275
1275
  }
1276
1276
  ) }),
1277
- /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { container: true, flexDirection: "row", spacing: 3, size: { xs: 12, md: 12 }, children: [
1278
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { size: { xs: 12, md: 4 }, spacing: 3, padding: 3, children: /* @__PURE__ */ jsxRuntime.jsx(
1277
+ /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { container: true, flexDirection: "row", spacing: 3, size: { xs: 12, md: 12 }, children: [
1278
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { size: { xs: 12, md: 4 }, spacing: 3, padding: 3, children: /* @__PURE__ */ jsxRuntime.jsx(
1279
1279
  EventBasicInfo,
1280
1280
  {
1281
1281
  locationId: mergedEvent.location || "0"
1282
1282
  }
1283
1283
  ) }),
1284
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { size: { xs: 12, md: 8 }, spacing: 3, padding: 3, children: /* @__PURE__ */ jsxRuntime.jsx(EventTablesCard_default, { tables, tags: allTags }) })
1284
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { size: { xs: 12, md: 8 }, spacing: 3, padding: 3, children: /* @__PURE__ */ jsxRuntime.jsx(EventTablesCard_default, { tables, tags: allTags }) })
1285
1285
  ] }),
1286
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, {})
1286
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, {})
1287
1287
  ] }) });
1288
1288
  }
1289
- var PlayerDetails = ({
1289
+ var PlayerDetailsCard = ({
1290
+ preferredPronouns,
1290
1291
  age,
1291
1292
  yearsPlaying,
1292
1293
  discordUsername,
@@ -1336,6 +1337,23 @@ var PlayerDetails = ({
1336
1337
  }
1337
1338
  ),
1338
1339
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
1340
+ preferredPronouns && /* @__PURE__ */ jsxRuntime.jsxs(
1341
+ material.Typography,
1342
+ {
1343
+ variant: "body2",
1344
+ className: "text-sm font-medium",
1345
+ sx: {
1346
+ color: "#FFFFFF",
1347
+ textShadow: "0px 2px 6px rgba(0, 0, 0, 0.5)",
1348
+ fontWeight: "bold"
1349
+ },
1350
+ children: [
1351
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-extrabold text-cyan-300", children: "Preferred Pronouns:" }),
1352
+ " ",
1353
+ preferredPronouns
1354
+ ]
1355
+ }
1356
+ ),
1339
1357
  age !== null && /* @__PURE__ */ jsxRuntime.jsxs(
1340
1358
  material.Typography,
1341
1359
  {
@@ -1387,7 +1405,7 @@ var PlayerDetails = ({
1387
1405
  ]
1388
1406
  }
1389
1407
  ),
1390
- preferredGames && preferredGames.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
1408
+ preferredGames && /* @__PURE__ */ jsxRuntime.jsxs(
1391
1409
  material.Typography,
1392
1410
  {
1393
1411
  variant: "body2",
@@ -1400,7 +1418,7 @@ var PlayerDetails = ({
1400
1418
  children: [
1401
1419
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-extrabold text-cyan-300", children: "Preferred Games:" }),
1402
1420
  " ",
1403
- preferredGames.join(", ")
1421
+ Array.isArray(preferredGames) ? preferredGames.join(", ") : preferredGames
1404
1422
  ]
1405
1423
  }
1406
1424
  )
@@ -1423,24 +1441,20 @@ var PlayerDetails = ({
1423
1441
  }
1424
1442
  );
1425
1443
  };
1426
- var PlayerDetailsCard_default = PlayerDetails;
1444
+ var PlayerDetailsCard_default = PlayerDetailsCard;
1427
1445
 
1428
1446
  // src/data/values.tsx
1429
1447
  var ProfilePictureSettings = {
1430
1448
  aspectRatio: 4 / 5};
1431
- var { aspectRatio } = ProfilePictureSettings;
1432
- var PlayerDisplayCard = ({
1433
- profilePicture,
1434
- username,
1435
- bio,
1436
- preferredPronouns
1437
- }) => {
1438
- const [imageSrc, setImageSrc] = React7.useState("/man-walking-silhouette-clipart.jpg");
1449
+ var PlayerDisplayCard = ({ profilePicture, username, bio, preferredPronouns }) => {
1450
+ const defaultImg = "/man-walking-silhouette-clipart.jpg";
1451
+ const [imageSrc, setImageSrc] = React7.useState(defaultImg);
1452
+ const { aspectRatio } = ProfilePictureSettings;
1439
1453
  React7.useEffect(() => {
1440
1454
  async function validateImage() {
1441
- const newImage = profilePicture || "/man-walking-silhouette-clipart.jpg";
1455
+ const newImage = profilePicture || defaultImg;
1442
1456
  if (!profilePicture) {
1443
- setImageSrc("/man-walking-silhouette-clipart.jpg");
1457
+ setImageSrc(defaultImg);
1444
1458
  return;
1445
1459
  }
1446
1460
  const img = new Image();
@@ -1449,7 +1463,7 @@ var PlayerDisplayCard = ({
1449
1463
  setImageSrc(newImage);
1450
1464
  };
1451
1465
  img.onerror = () => {
1452
- setImageSrc("/man-walking-silhouette-clipart.jpg");
1466
+ setImageSrc(defaultImg);
1453
1467
  };
1454
1468
  }
1455
1469
  validateImage();
@@ -1483,7 +1497,7 @@ var PlayerDisplayCard = ({
1483
1497
  height: "auto",
1484
1498
  // Updates to maintain aspect ratio and fill space nicely
1485
1499
  width: "100%",
1486
- objectFit: "scale-down"
1500
+ objectFit: "cover"
1487
1501
  }
1488
1502
  }
1489
1503
  ),
@@ -1542,104 +1556,127 @@ var PlayerDisplayCard = ({
1542
1556
  );
1543
1557
  };
1544
1558
  var PlayerDisplayCard_default = PlayerDisplayCard;
1545
- var PlayerPromptCard = ({ title, description }) => {
1546
- return /* @__PURE__ */ jsxRuntime.jsx(
1547
- material.Card,
1548
- {
1549
- sx: {
1550
- margin: "1rem",
1551
- background: "linear-gradient(135deg, rgba(25, 118, 210, 0.8), rgba(25, 118, 210, 1))",
1552
- // Gradient color scheme
1553
- boxShadow: "0px 8px 15px rgba(25, 118, 210, 0.3)",
1554
- // Card shadow
1555
- borderRadius: "12px",
1556
- // Rounded corners
1557
- color: "#FFFFFF",
1558
- // Text contrast with the background
1559
- overflow: "hidden"
1560
- // Keeps consistent and clean card shape
1561
- },
1562
- className: "transition duration-300 transform hover:scale-105 hover:shadow-2xl",
1563
- children: /* @__PURE__ */ jsxRuntime.jsxs(material.CardContent, { className: "p-6", children: [
1564
- title && /* @__PURE__ */ jsxRuntime.jsx(
1565
- material.Typography,
1566
- {
1567
- variant: "h5",
1568
- className: "font-bold text-lg uppercase text-center tracking-wide mb-4",
1569
- sx: {
1570
- color: "#FFFFFF",
1571
- // Bright white for high visibility
1572
- textShadow: "0px 3px 6px rgba(0, 0, 0, 0.5)",
1573
- // Strong text shadow for contrast
1574
- fontSize: "1.5rem"
1575
- },
1576
- children: title
1577
- }
1578
- ),
1579
- description && /* @__PURE__ */ jsxRuntime.jsx(
1580
- material.Typography,
1581
- {
1582
- variant: "body2",
1583
- className: "text-sm font-medium text-center",
1584
- sx: {
1585
- color: "#E3F2FD",
1586
- // Softer light blue for description
1587
- textShadow: "0px 2px 4px rgba(0, 0, 0, 0.3)",
1588
- // Subtle shadow
1589
- lineHeight: 1.6,
1590
- marginTop: "1rem"
1591
- },
1592
- children: description
1559
+ var PlayerTagsCard = ({ tags = [] }) => {
1560
+ return /* @__PURE__ */ jsxRuntime.jsxs(material.Card, { sx: {
1561
+ margin: "1rem",
1562
+ borderRadius: "12px",
1563
+ boxShadow: "0px 8px 15px rgba(25, 118, 210, 0.3)",
1564
+ overflow: "hidden"
1565
+ }, className: "transition duration-300 transform hover:scale-105 hover:shadow-2xl", children: [
1566
+ /* @__PURE__ */ jsxRuntime.jsx(
1567
+ material.CardHeader,
1568
+ {
1569
+ title: "Player Tags",
1570
+ sx: {
1571
+ background: "linear-gradient(135deg, rgba(25, 118, 210, 0.8), rgba(25, 118, 210, 1))",
1572
+ color: "#FFFFFF",
1573
+ fontSize: "1.5rem",
1574
+ textShadow: "0px 3px 6px rgba(0, 0, 0, 0.5)",
1575
+ "& .MuiCardHeader-title": {
1576
+ fontWeight: "bold",
1577
+ fontSize: "1.5rem",
1578
+ textAlign: "center",
1579
+ textTransform: "uppercase",
1580
+ letterSpacing: "0.05em"
1593
1581
  }
1594
- )
1595
- ] })
1596
- }
1597
- );
1582
+ }
1583
+ }
1584
+ ),
1585
+ /* @__PURE__ */ jsxRuntime.jsx(material.CardContent, { className: "p-6", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx(Chip, { tag }, tag.id)) }) })
1586
+ ] });
1598
1587
  };
1599
- var PlayerPromptCard_default = PlayerPromptCard;
1600
- function PlayerTagsCard(props) {
1601
- return /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { container: true, children: /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { size: { xs: 12, md: 3 }, children: /* @__PURE__ */ jsxRuntime.jsxs(Card10__default.default, { children: [
1602
- /* @__PURE__ */ jsxRuntime.jsx(CardHeader4__default.default, { title: "Player Tags", style: {
1588
+ var PlayerTagsCard_default = PlayerTagsCard;
1589
+ var PlayerPromptCard = ({ title, description }) => /* @__PURE__ */ jsxRuntime.jsx(
1590
+ material.Card,
1591
+ {
1592
+ sx: {
1593
+ margin: "1rem",
1603
1594
  background: "linear-gradient(135deg, rgba(25, 118, 210, 0.8), rgba(25, 118, 210, 1))",
1595
+ // Gradient color scheme
1596
+ boxShadow: "0px 8px 15px rgba(25, 118, 210, 0.3)",
1597
+ // Card shadow
1598
+ borderRadius: "12px",
1599
+ // Rounded corners
1604
1600
  color: "#FFFFFF",
1605
- // Pure white for username
1606
- fontSize: "1.5rem",
1607
- textShadow: "0px 3px 6px rgba(0, 0, 0, 0.5)"
1608
- // Strong shadow for visibility
1609
- } }),
1610
- /* @__PURE__ */ jsxRuntime.jsx(CardContent10__default.default, { children: renderLabels(props.PlayerTags) })
1611
- ] }) }) });
1612
- }
1613
- var renderLabels = (tags) => {
1614
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2 flex flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx(Chip, { tag }, tag.id)) });
1615
- };
1616
- function TagEditor({
1617
- title = "Tags",
1618
- selectedTags,
1619
- possibleTags,
1601
+ // Text contrast with the background
1602
+ overflow: "hidden"
1603
+ // Keeps consistent and clean card shape
1604
+ },
1605
+ className: "transition duration-300 transform hover:scale-105 hover:shadow-2xl",
1606
+ children: /* @__PURE__ */ jsxRuntime.jsxs(material.CardContent, { className: "p-6", children: [
1607
+ title && /* @__PURE__ */ jsxRuntime.jsx(
1608
+ material.Typography,
1609
+ {
1610
+ variant: "h5",
1611
+ className: "font-bold text-lg uppercase text-center tracking-wide mb-4",
1612
+ sx: {
1613
+ color: "#FFFFFF",
1614
+ // Bright white for high visibility
1615
+ textShadow: "0px 3px 6px rgba(0, 0, 0, 0.5)",
1616
+ // Strong text shadow for contrast
1617
+ fontSize: "1.5rem"
1618
+ },
1619
+ children: title
1620
+ }
1621
+ ),
1622
+ description && /* @__PURE__ */ jsxRuntime.jsx(
1623
+ material.Typography,
1624
+ {
1625
+ variant: "body2",
1626
+ className: "text-sm font-medium text-center",
1627
+ sx: {
1628
+ color: "#E3F2FD",
1629
+ // Softer light blue for description
1630
+ textShadow: "0px 2px 4px rgba(0, 0, 0, 0.3)",
1631
+ // Subtle shadow
1632
+ lineHeight: 1.6,
1633
+ marginTop: "1rem"
1634
+ },
1635
+ children: description
1636
+ }
1637
+ )
1638
+ ] })
1639
+ }
1640
+ );
1641
+ var PlayerPromptCard_default = PlayerPromptCard;
1642
+ var PlayerTagsEdit = ({
1643
+ selectedTags = [],
1644
+ possibleTags = [],
1620
1645
  onToggleTag
1621
- }) {
1646
+ }) => {
1622
1647
  const [inputValue, setInputValue] = React7.useState("");
1623
1648
  const selectedIds = React7.useMemo(() => selectedTags.map((tag) => tag.id), [selectedTags]);
1624
1649
  const options = React7.useMemo(
1625
- () => possibleTags.map((tag) => ({ value: tag.id, label: tag.label })),
1650
+ () => possibleTags.map((tag) => ({ value: tag.id, label: tag.label, alternate_title: tag.alternate_title })),
1626
1651
  [possibleTags]
1627
1652
  );
1628
- return /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { container: true, children: /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsxs(Card10__default.default, { children: [
1653
+ return /* @__PURE__ */ jsxRuntime.jsxs(material.Card, { sx: {
1654
+ margin: "1rem",
1655
+ borderRadius: "12px",
1656
+ boxShadow: "0px 8px 15px rgba(25, 118, 210, 0.3)",
1657
+ overflow: "hidden"
1658
+ }, children: [
1629
1659
  /* @__PURE__ */ jsxRuntime.jsx(
1630
- CardHeader4__default.default,
1660
+ material.CardHeader,
1631
1661
  {
1632
- title,
1633
- style: {
1662
+ title: "Player Tags",
1663
+ sx: {
1634
1664
  background: "linear-gradient(135deg, rgba(25, 118, 210, 0.8), rgba(25, 118, 210, 1))",
1635
1665
  color: "#FFFFFF",
1636
1666
  fontSize: "1.5rem",
1637
- textShadow: "0px 3px 6px rgba(0, 0, 0, 0.5)"
1667
+ textShadow: "0px 3px 6px rgba(0, 0, 0, 0.5)",
1668
+ "& .MuiCardHeader-title": {
1669
+ fontWeight: "bold",
1670
+ fontSize: "1.5rem",
1671
+ textAlign: "center",
1672
+ textTransform: "uppercase",
1673
+ letterSpacing: "0.05em"
1674
+ }
1638
1675
  }
1639
1676
  }
1640
1677
  ),
1641
- /* @__PURE__ */ jsxRuntime.jsxs(CardContent10__default.default, { children: [
1642
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2 flex flex-wrap gap-2", children: selectedTags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx(
1678
+ /* @__PURE__ */ jsxRuntime.jsxs(material.CardContent, { className: "p-6", children: [
1679
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2 mb-4", children: selectedTags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx(
1643
1680
  Chip,
1644
1681
  {
1645
1682
  tag,
@@ -1647,13 +1684,19 @@ function TagEditor({
1647
1684
  },
1648
1685
  tag.id
1649
1686
  )) }),
1650
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { container: true, spacing: 3, children: /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { sx: { marginTop: 3, width: "100%" }, children: /* @__PURE__ */ jsxRuntime.jsx(
1687
+ /* @__PURE__ */ jsxRuntime.jsx(
1651
1688
  Autocomplete__default.default,
1652
1689
  {
1653
1690
  options,
1654
- filterOptions: (availableOptions, state) => availableOptions.filter(
1655
- (option) => !selectedIds.includes(option.value) && option.label.toLowerCase().includes(state.inputValue.toLowerCase())
1656
- ).slice(0, 3),
1691
+ filterOptions: (availableOptions, state) => {
1692
+ const query = state.inputValue.toLowerCase();
1693
+ return availableOptions.filter(
1694
+ (option) => {
1695
+ var _a;
1696
+ return !selectedIds.includes(option.value) && (option.label.toLowerCase().includes(query) || ((_a = option.alternate_title) == null ? void 0 : _a.some((title) => title.toLowerCase().includes(query))));
1697
+ }
1698
+ ).slice(0, 5);
1699
+ },
1657
1700
  value: null,
1658
1701
  inputValue,
1659
1702
  onInputChange: (event, newInputValue) => {
@@ -1668,13 +1711,20 @@ function TagEditor({
1668
1711
  setInputValue("");
1669
1712
  },
1670
1713
  slots: { popper: CustomPopper },
1671
- renderInput: (params) => /* @__PURE__ */ jsxRuntime.jsx(TextField3__default.default, { ...params, label: "Select Tags" })
1714
+ renderInput: (params) => /* @__PURE__ */ jsxRuntime.jsx(
1715
+ material.TextField,
1716
+ {
1717
+ ...params,
1718
+ label: "Select Tags",
1719
+ variant: "outlined"
1720
+ }
1721
+ )
1672
1722
  },
1673
1723
  selectedIds.join("-")
1674
- ) }) })
1724
+ )
1675
1725
  ] })
1676
- ] }) }) });
1677
- }
1726
+ ] });
1727
+ };
1678
1728
  var CustomPopper = (props) => {
1679
1729
  return /* @__PURE__ */ jsxRuntime.jsx(
1680
1730
  Popper__default.default,
@@ -1683,27 +1733,84 @@ var CustomPopper = (props) => {
1683
1733
  modifiers: [
1684
1734
  {
1685
1735
  name: "preventOverflow",
1686
- options: { boundary: "viewport" }
1736
+ options: {
1737
+ boundary: "viewport"
1738
+ }
1687
1739
  },
1688
1740
  {
1689
1741
  name: "offset",
1690
- options: { offset: [0, -10] }
1742
+ options: {
1743
+ offset: [0, -10]
1744
+ }
1691
1745
  }
1692
1746
  ],
1693
1747
  placement: "top-start"
1694
1748
  }
1695
1749
  );
1696
1750
  };
1697
- function PlayerTagsEdit(props) {
1698
- return /* @__PURE__ */ jsxRuntime.jsx(
1699
- TagEditor,
1751
+ var PlayerTagsEdit_default = PlayerTagsEdit;
1752
+ function PlayerPageLayout({
1753
+ playerData,
1754
+ tags = [],
1755
+ blurbs = [],
1756
+ isOwner = false,
1757
+ possibleTags = [],
1758
+ onToggleTag = () => {
1759
+ }
1760
+ }) {
1761
+ const theme = material.useTheme();
1762
+ const isSmallScreen = material.useMediaQuery(theme.breakpoints.down("lg"));
1763
+ const tagsElement = isOwner ? /* @__PURE__ */ jsxRuntime.jsx(
1764
+ PlayerTagsEdit_default,
1700
1765
  {
1701
- title: "Player Tags",
1702
- selectedTags: props.PlayerTags,
1703
- possibleTags: props.possibleTags,
1704
- onToggleTag: props.updatePlayerTags
1766
+ selectedTags: tags,
1767
+ possibleTags,
1768
+ onToggleTag
1705
1769
  }
1706
- );
1770
+ ) : /* @__PURE__ */ jsxRuntime.jsx(PlayerTagsCard_default, { tags });
1771
+ return /* @__PURE__ */ jsxRuntime.jsx(material.NoSsr, { children: /* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { padding: "2rem", marginRight: "auto", marginLeft: "auto" }, justifyContent: "center", children: /* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { container: true, spacing: 3, justifyContent: "center", sx: { marginRight: "auto", marginLeft: "auto" }, children: [
1772
+ !isSmallScreen && /* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { size: { xs: 12, lg: 3 }, children: [
1773
+ /* @__PURE__ */ jsxRuntime.jsx(
1774
+ PlayerDetailsCard_default,
1775
+ {
1776
+ preferredPronouns: playerData.preferredPronouns,
1777
+ age: playerData.age,
1778
+ yearsPlaying: playerData.yearsPlaying,
1779
+ discordUsername: playerData.discordUsername,
1780
+ preferredGames: playerData.preferredGames
1781
+ }
1782
+ ),
1783
+ tagsElement
1784
+ ] }),
1785
+ /* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12, lg: 6 }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { container: true, spacing: 3, children: [
1786
+ /* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12, lg: 8 }, children: /* @__PURE__ */ jsxRuntime.jsx(
1787
+ PlayerDisplayCard_default,
1788
+ {
1789
+ profilePicture: playerData.profilePicture,
1790
+ username: playerData.username,
1791
+ bio: playerData.bio,
1792
+ preferredPronouns: playerData.preferredPronouns
1793
+ }
1794
+ ) }),
1795
+ isSmallScreen && /* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12, lg: 3 }, children: /* @__PURE__ */ jsxRuntime.jsx(
1796
+ PlayerDetailsCard_default,
1797
+ {
1798
+ preferredPronouns: playerData.preferredPronouns,
1799
+ age: playerData.age,
1800
+ yearsPlaying: playerData.yearsPlaying,
1801
+ discordUsername: playerData.discordUsername,
1802
+ preferredGames: playerData.preferredGames
1803
+ }
1804
+ ) }),
1805
+ blurbs.map((blurb, index) => /* @__PURE__ */ jsxRuntime.jsx(material.Grid, { size: { xs: 12, lg: 8 }, children: /* @__PURE__ */ jsxRuntime.jsx(
1806
+ PlayerPromptCard_default,
1807
+ {
1808
+ title: blurb.title,
1809
+ description: blurb.description
1810
+ }
1811
+ ) }, index))
1812
+ ] }) })
1813
+ ] }) }) });
1707
1814
  }
1708
1815
  var SORT_OPTIONS = [
1709
1816
  { id: "relevance", label: "Relevance" },
@@ -1862,7 +1969,7 @@ var TagsFilter = ({
1862
1969
  });
1863
1970
  },
1864
1971
  slots: { popper: CustomPopper2 },
1865
- renderInput: (params) => /* @__PURE__ */ jsxRuntime.jsx(TextField3__default.default, { ...params, label: `Select ${label}` })
1972
+ renderInput: (params) => /* @__PURE__ */ jsxRuntime.jsx(TextField4__default.default, { ...params, label: `Select ${label}` })
1866
1973
  },
1867
1974
  `${category}-${selectedTags.join("-")}`
1868
1975
  )
@@ -2032,8 +2139,8 @@ function SearchPageLayout({
2032
2139
  }
2033
2140
  }
2034
2141
  ) }),
2035
- /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { container: true, spacing: 2, children: [
2036
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { size: { xs: 12, md: 3 }, children: /* @__PURE__ */ jsxRuntime.jsxs(Card10__default.default, { sx: { marginBottom: isMobile ? 2 : 0 }, children: [
2142
+ /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { container: true, spacing: 2, children: [
2143
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { size: { xs: 12, md: 3 }, children: /* @__PURE__ */ jsxRuntime.jsxs(Card10__default.default, { sx: { marginBottom: isMobile ? 2 : 0 }, children: [
2037
2144
  /* @__PURE__ */ jsxRuntime.jsx(
2038
2145
  CardHeader4__default.default,
2039
2146
  {
@@ -2056,7 +2163,7 @@ function SearchPageLayout({
2056
2163
  }
2057
2164
  ) })
2058
2165
  ] }) }),
2059
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { size: { xs: 12, md: 9 }, children: /* @__PURE__ */ jsxRuntime.jsxs(Card10__default.default, { children: [
2166
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { size: { xs: 12, md: 9 }, children: /* @__PURE__ */ jsxRuntime.jsxs(Card10__default.default, { children: [
2060
2167
  /* @__PURE__ */ jsxRuntime.jsx(
2061
2168
  CardHeader4__default.default,
2062
2169
  {
@@ -2174,14 +2281,14 @@ var PlayerHighlightsCard = function(props) {
2174
2281
  removeFromTable
2175
2282
  } = props;
2176
2283
  return /* @__PURE__ */ jsxRuntime.jsx(material.Card, { elevation: 3, sx: { backgroundColor: canEdit ? "#fffbea" : "#f5f9fa", marginBottom: "6px" }, children: /* @__PURE__ */ jsxRuntime.jsxs(material.CardContent, { children: [
2177
- /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { container: true, spacing: 2, direction: "column", children: [
2178
- /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { container: true, direction: "row", children: [
2179
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { children: /* @__PURE__ */ jsxRuntime.jsx(Image2__default.default, { alt: player.username + "'s profile pic", height: 64, src: player.miniPic || "", width: 64 }) }),
2180
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h5", children: player.username }) })
2284
+ /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { container: true, spacing: 2, direction: "column", children: [
2285
+ /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { container: true, direction: "row", children: [
2286
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { children: /* @__PURE__ */ jsxRuntime.jsx(Image2__default.default, { alt: player.username + "'s profile pic", height: 64, src: player.miniPic || "", width: 64 }) }),
2287
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h5", children: player.username }) })
2181
2288
  ] }),
2182
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { children: renderTagsFromIds(player.tags, allTags) })
2289
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { children: renderTagsFromIds(player.tags, allTags) })
2183
2290
  ] }),
2184
- canEdit && /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { children: [
2291
+ canEdit && /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { children: [
2185
2292
  /* @__PURE__ */ jsxRuntime.jsx(Button7__default.default, { onClick: () => removeFromTable(player), children: isWaitList ? /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Deny Player" }) : /* @__PURE__ */ jsxRuntime.jsx("p", { children: "Remove Player" }) }),
2186
2293
  canChangeDungeonMaster && /* @__PURE__ */ jsxRuntime.jsx(Button7__default.default, { onClick: () => {
2187
2294
  handleAssignToDungeonMaster(player);
@@ -2193,11 +2300,11 @@ var PlayerHighlightsCard = function(props) {
2193
2300
  var DMHighlightsCard = function({ canEdit, player, allTags }) {
2194
2301
  return /* @__PURE__ */ jsxRuntime.jsxs(material.Card, { elevation: 3, sx: { backgroundColor: "#f5f9fa", marginBottom: "6px" }, children: [
2195
2302
  /* @__PURE__ */ jsxRuntime.jsx(material.CardHeader, { slotProps: { title: { variant: "h4" } }, title: "Game Master" }),
2196
- /* @__PURE__ */ jsxRuntime.jsx(material.CardContent, { sx: { backgroundColor: canEdit ? "#fffbea" : "inherit" }, children: /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { container: true, spacing: 2, direction: "column", children: [
2197
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h5", children: player.username }) }),
2198
- /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { container: true, direction: "row", children: [
2199
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { children: /* @__PURE__ */ jsxRuntime.jsx(Image2__default.default, { alt: player.username + "'s profile pic", height: 120, src: player.imageUrl ? player.imageUrl : "", width: 256 }) }),
2200
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { children: renderTagsFromIds(player.tags, allTags) }),
2303
+ /* @__PURE__ */ jsxRuntime.jsx(material.CardContent, { sx: { backgroundColor: canEdit ? "#fffbea" : "inherit" }, children: /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { container: true, spacing: 2, direction: "column", children: [
2304
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { children: /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { variant: "h5", children: player.username }) }),
2305
+ /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { container: true, direction: "row", children: [
2306
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { children: /* @__PURE__ */ jsxRuntime.jsx(Image2__default.default, { alt: player.username + "'s profile pic", height: 120, src: player.imageUrl ? player.imageUrl : "", width: 256 }) }),
2307
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { children: renderTagsFromIds(player.tags, allTags) }),
2201
2308
  /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { children: player.description })
2202
2309
  ] })
2203
2310
  ] }) })
@@ -2351,6 +2458,87 @@ var NextGameCountdown = ({ nextGameTime }) => {
2351
2458
  timeLeft
2352
2459
  ] });
2353
2460
  };
2461
+ function TagEditor({
2462
+ title = "Tags",
2463
+ selectedTags,
2464
+ possibleTags,
2465
+ onToggleTag
2466
+ }) {
2467
+ const [inputValue, setInputValue] = React7.useState("");
2468
+ const selectedIds = React7.useMemo(() => selectedTags.map((tag) => tag.id), [selectedTags]);
2469
+ const options = React7.useMemo(
2470
+ () => possibleTags.map((tag) => ({ value: tag.id, label: tag.label })),
2471
+ [possibleTags]
2472
+ );
2473
+ return /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { container: true, children: /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { size: { xs: 12 }, children: /* @__PURE__ */ jsxRuntime.jsxs(Card10__default.default, { children: [
2474
+ /* @__PURE__ */ jsxRuntime.jsx(
2475
+ CardHeader4__default.default,
2476
+ {
2477
+ title,
2478
+ style: {
2479
+ background: "linear-gradient(135deg, rgba(25, 118, 210, 0.8), rgba(25, 118, 210, 1))",
2480
+ color: "#FFFFFF",
2481
+ fontSize: "1.5rem",
2482
+ textShadow: "0px 3px 6px rgba(0, 0, 0, 0.5)"
2483
+ }
2484
+ }
2485
+ ),
2486
+ /* @__PURE__ */ jsxRuntime.jsxs(CardContent10__default.default, { children: [
2487
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2 flex flex-wrap gap-2", children: selectedTags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx(
2488
+ Chip,
2489
+ {
2490
+ tag,
2491
+ removeCallback: () => onToggleTag(tag.id)
2492
+ },
2493
+ tag.id
2494
+ )) }),
2495
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { container: true, spacing: 3, children: /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { sx: { marginTop: 3, width: "100%" }, children: /* @__PURE__ */ jsxRuntime.jsx(
2496
+ Autocomplete__default.default,
2497
+ {
2498
+ options,
2499
+ filterOptions: (availableOptions, state) => availableOptions.filter(
2500
+ (option) => !selectedIds.includes(option.value) && option.label.toLowerCase().includes(state.inputValue.toLowerCase())
2501
+ ).slice(0, 3),
2502
+ value: null,
2503
+ inputValue,
2504
+ onInputChange: (event, newInputValue) => {
2505
+ if (event && event.type === "change") {
2506
+ setInputValue(newInputValue);
2507
+ }
2508
+ },
2509
+ onChange: (event, newValue) => {
2510
+ if (newValue) {
2511
+ onToggleTag(newValue.value);
2512
+ }
2513
+ setInputValue("");
2514
+ },
2515
+ slots: { popper: CustomPopper3 },
2516
+ renderInput: (params) => /* @__PURE__ */ jsxRuntime.jsx(TextField4__default.default, { ...params, label: "Select Tags" })
2517
+ },
2518
+ selectedIds.join("-")
2519
+ ) }) })
2520
+ ] })
2521
+ ] }) }) });
2522
+ }
2523
+ var CustomPopper3 = (props) => {
2524
+ return /* @__PURE__ */ jsxRuntime.jsx(
2525
+ Popper__default.default,
2526
+ {
2527
+ ...props,
2528
+ modifiers: [
2529
+ {
2530
+ name: "preventOverflow",
2531
+ options: { boundary: "viewport" }
2532
+ },
2533
+ {
2534
+ name: "offset",
2535
+ options: { offset: [0, -10] }
2536
+ }
2537
+ ],
2538
+ placement: "top-start"
2539
+ }
2540
+ );
2541
+ };
2354
2542
  function TablePageLayout(props) {
2355
2543
  var _a;
2356
2544
  const { allTags, dungeonMaster, onDeleteTable, onJoinWaitlist, onLeaveTable, onSaveDraft, players, table, tableStatus, waitlistPlayers } = props;
@@ -2421,9 +2609,9 @@ function TablePageLayout(props) {
2421
2609
  p: 2,
2422
2610
  boxShadow: "0px 8px 15px rgba(25, 118, 210, 0.3)"
2423
2611
  },
2424
- children: /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { container: true, direction: "column", children: [
2612
+ children: /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { container: true, direction: "column", children: [
2425
2613
  /* @__PURE__ */ jsxRuntime.jsxs(
2426
- Grid9__default.default,
2614
+ Grid8__default.default,
2427
2615
  {
2428
2616
  container: true,
2429
2617
  direction: "column",
@@ -2468,7 +2656,7 @@ function TablePageLayout(props) {
2468
2656
  value: currentShortDescription
2469
2657
  }
2470
2658
  ) : /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { sx: { color: "white", opacity: 0.95 }, children: currentShortDescription }),
2471
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { container: true, children: isTableInEditMode ? renderEditableTags(currentTags, allTags, handleToggleTag) : renderTags(currentTagIds, allTags) }),
2659
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { container: true, children: isTableInEditMode ? renderEditableTags(currentTags, allTags, handleToggleTag) : renderTags(currentTagIds, allTags) }),
2472
2660
  /* @__PURE__ */ jsxRuntime.jsx(
2473
2661
  TableActionsBar,
2474
2662
  {
@@ -2488,8 +2676,8 @@ function TablePageLayout(props) {
2488
2676
  ]
2489
2677
  }
2490
2678
  ),
2491
- /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { container: true, spacing: 2, sx: { mt: 2 }, children: [
2492
- /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { size: { xs: 12, md: 8 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Card, { sx: { height: "100%" }, children: /* @__PURE__ */ jsxRuntime.jsx(material.CardContent, { children: isTableInEditMode ? /* @__PURE__ */ jsxRuntime.jsx(
2679
+ /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { container: true, spacing: 2, sx: { mt: 2 }, children: [
2680
+ /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { size: { xs: 12, md: 8 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Card, { sx: { height: "100%" }, children: /* @__PURE__ */ jsxRuntime.jsx(material.CardContent, { children: isTableInEditMode ? /* @__PURE__ */ jsxRuntime.jsx(
2493
2681
  AutoResizingTextarea_default,
2494
2682
  {
2495
2683
  isInEditMode: isTableInEditMode,
@@ -2498,7 +2686,7 @@ function TablePageLayout(props) {
2498
2686
  value: currentDescription
2499
2687
  }
2500
2688
  ) : /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { sx: { whiteSpace: "pre-wrap" }, children: currentDescription }) }) }) }),
2501
- /* @__PURE__ */ jsxRuntime.jsxs(Grid9__default.default, { size: { xs: 12, md: 4 }, children: [
2689
+ /* @__PURE__ */ jsxRuntime.jsxs(Grid8__default.default, { size: { xs: 12, md: 4 }, children: [
2502
2690
  /* @__PURE__ */ jsxRuntime.jsx(DMHighlightsCard, { canEdit: isTableInEditMode, player: currentDungeonMaster, allTags }),
2503
2691
  /* @__PURE__ */ jsxRuntime.jsxs(material.Card, { sx: { height: "100%" }, children: [
2504
2692
  /* @__PURE__ */ jsxRuntime.jsx(material.CardHeader, { slotProps: { title: { variant: "h4" } }, title: "Players: " }),
@@ -2525,13 +2713,13 @@ var renderTags = function(tags, allTags) {
2525
2713
  if (!tags || !allTags) {
2526
2714
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {});
2527
2715
  }
2528
- return /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { container: true, spacing: 1, sx: { pb: 1.5 }, children: tags.map((tagId) => {
2716
+ return /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { container: true, spacing: 1, sx: { pb: 1.5 }, children: tags.map((tagId) => {
2529
2717
  const tag = allTags.find((potentialTag) => tagId === potentialTag.id);
2530
2718
  return tag ? generateTagsDisplay(tag) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {});
2531
2719
  }) });
2532
2720
  };
2533
2721
  var renderEditableTags = function(selectedTags, allTags, onToggleTag) {
2534
- return /* @__PURE__ */ jsxRuntime.jsx(Grid9__default.default, { size: { xs: 12 }, sx: { pb: 1.5 }, children: /* @__PURE__ */ jsxRuntime.jsx(
2722
+ return /* @__PURE__ */ jsxRuntime.jsx(Grid8__default.default, { size: { xs: 12 }, sx: { pb: 1.5 }, children: /* @__PURE__ */ jsxRuntime.jsx(
2535
2723
  TagEditor,
2536
2724
  {
2537
2725
  title: "Table Tags",
@@ -2567,10 +2755,11 @@ exports.NextGameCountdown = NextGameCountdown;
2567
2755
  exports.PlayerDetailsCard = PlayerDetailsCard_default;
2568
2756
  exports.PlayerDisplayCard = PlayerDisplayCard_default;
2569
2757
  exports.PlayerHighlightsCard = PlayerHighlightsCard;
2758
+ exports.PlayerPageLayout = PlayerPageLayout;
2570
2759
  exports.PlayerPromptCard = PlayerPromptCard_default;
2571
2760
  exports.PlayerResultCard = PlayerResultCard_default;
2572
- exports.PlayerTagsCard = PlayerTagsCard;
2573
- exports.PlayerTagsEdit = PlayerTagsEdit;
2761
+ exports.PlayerTagsCard = PlayerTagsCard_default;
2762
+ exports.PlayerTagsEdit = PlayerTagsEdit_default;
2574
2763
  exports.PlayersScrollableList = PlayersScrollableList_default;
2575
2764
  exports.ResultsContainer = ResultsContainer_default;
2576
2765
  exports.ScrollableResultsList = ScrollableResultsList_default;