@universal-tennis/ui-shared 0.1.98 → 0.2.1

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 (65) hide show
  1. package/.storybook/main.js +16 -16
  2. package/.storybook/typography.css +5 -26
  3. package/dist/App.d.ts +1 -1
  4. package/dist/stories/assets/css/typography.css +5 -26
  5. package/dist/stories/atoms/Button/Button.d.ts +1 -1
  6. package/dist/stories/atoms/Icons/AddIcon.d.ts +2 -2
  7. package/dist/stories/atoms/Icons/AvailabilityMaybeIcon.d.ts +2 -2
  8. package/dist/stories/atoms/Icons/AvailabilityNoIcon.d.ts +2 -2
  9. package/dist/stories/atoms/Icons/AvailabilityNotSetIcon.d.ts +2 -2
  10. package/dist/stories/atoms/Icons/AvailabilityYesIcon.d.ts +2 -2
  11. package/dist/stories/atoms/Icons/BallInMotionIcon.d.ts +2 -2
  12. package/dist/stories/atoms/Icons/CalendarIcon.d.ts +2 -2
  13. package/dist/stories/atoms/Icons/ClockIcon.d.ts +2 -2
  14. package/dist/stories/atoms/Icons/CloseIcon.d.ts +2 -2
  15. package/dist/stories/atoms/Icons/DeleteIcon.d.ts +2 -2
  16. package/dist/stories/atoms/Icons/DoublePersonIcon.d.ts +2 -2
  17. package/dist/stories/atoms/Icons/EditIcon.d.ts +2 -2
  18. package/dist/stories/atoms/Icons/LeftChevronIcon.d.ts +2 -2
  19. package/dist/stories/atoms/Icons/LineIcon.d.ts +2 -2
  20. package/dist/stories/atoms/Icons/LocationIcon.d.ts +2 -2
  21. package/dist/stories/atoms/Icons/MessageIcon.d.ts +2 -2
  22. package/dist/stories/atoms/Icons/PickleballBallIcon.d.ts +2 -2
  23. package/dist/stories/atoms/Icons/RightChevronIcon.d.ts +2 -2
  24. package/dist/stories/atoms/Icons/SessionIcon.d.ts +2 -2
  25. package/dist/stories/atoms/Icons/SinglePersonIcon.d.ts +2 -2
  26. package/dist/stories/atoms/Icons/SinglePersonV2Icon.d.ts +2 -2
  27. package/dist/stories/atoms/Icons/SocialMediaFacebookIcon.d.ts +2 -2
  28. package/dist/stories/atoms/Icons/SocialMediaInstagramIcon.d.ts +2 -2
  29. package/dist/stories/atoms/Icons/SocialMediaTikTokIcon.d.ts +2 -2
  30. package/dist/stories/atoms/Icons/SocialMediaXIcon.d.ts +2 -2
  31. package/dist/stories/atoms/Icons/SocialMediaYoutubeIcon.d.ts +2 -2
  32. package/dist/stories/atoms/Icons/SwapIcon.d.ts +2 -2
  33. package/dist/stories/atoms/Icons/SwapNoBorderIcon.d.ts +2 -2
  34. package/dist/stories/atoms/Icons/TennisBallIcon.d.ts +2 -2
  35. package/dist/stories/atoms/Icons/VerifiedIcon.d.ts +2 -2
  36. package/dist/stories/atoms/Icons/VisibilityIcon.d.ts +2 -2
  37. package/dist/stories/atoms/Icons/VisibilityOffIcon.d.ts +2 -2
  38. package/dist/stories/atoms/Icons/WinnerIndicatorIcon.d.ts +2 -2
  39. package/dist/stories/atoms/Typography/Typography.d.ts +2 -2
  40. package/dist/stories/atoms/UTMap/UTMap.d.ts +2 -2
  41. package/dist/stories/molecules/AvatarWithName/AvatarWithName.d.ts +2 -2
  42. package/dist/stories/molecules/Cards/ContactCard.d.ts +2 -2
  43. package/dist/stories/molecules/Cards/DrawCard.d.ts +2 -2
  44. package/dist/stories/molecules/Cards/TeamCard.d.ts +2 -2
  45. package/dist/stories/molecules/Cards/TeamDrawCard.d.ts +2 -2
  46. package/dist/stories/molecules/Cards/shared.d.ts +2 -7
  47. package/dist/stories/molecules/FooterSection/FooterSection.d.ts +2 -2
  48. package/dist/stories/molecules/GlobalNavItem/GlobalNavItem.d.ts +2 -2
  49. package/dist/stories/molecules/SquareAvatarWithName/SquareAvatarWithName.d.ts +2 -2
  50. package/dist/stories/organisms/Footer/Footer.d.ts +2 -2
  51. package/dist/stories/organisms/Footer/Footer.js +6 -2
  52. package/dist/stories/organisms/Footer/Footer.js.map +1 -1
  53. package/dist/stories/organisms/GlobalNavigation/GlobalNavigation.d.ts +2 -2
  54. package/dist/stories/organisms/Modals/FullPageModal.d.ts +2 -2
  55. package/dist/stories/organisms/Tables/DrawCardTable.d.ts +2 -2
  56. package/dist/stories/organisms/Tables/SortableTable.d.ts +2 -2
  57. package/dist/stories/organisms/Tables/TeamDrawCardTable/DesktopTableRows.d.ts +2 -2
  58. package/dist/stories/organisms/Tables/TeamDrawCardTable/MobileTableRows.d.ts +2 -2
  59. package/dist/stories/organisms/Tables/TeamDrawCardTable/TeamDrawCardTable.d.ts +2 -2
  60. package/dist/stories/organisms/Tables/mockData.d.ts +2 -2
  61. package/package.json +1 -1
  62. package/public/index.html +50 -45
  63. package/src/stories/Introduction.stories.mdx +179 -179
  64. package/src/stories/assets/css/typography.css +5 -26
  65. package/src/stories/organisms/Footer/Footer.tsx +6 -2
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { useMemo } from 'react';
2
2
  import { styled } from "@mui/material/styles";
3
3
 
4
4
  import Box from '@mui/material/Box';
@@ -34,6 +34,10 @@ function Footer({
34
34
  const handleOnSocialMediaClick = (id: number) => {
35
35
  onSocialMediaClick(id);
36
36
  };
37
+ const copyrightText = useMemo(() => {
38
+ const currentYear = new Date().getFullYear();
39
+ return `© ${currentYear}, UTR Sports`;
40
+ }, []);
37
41
 
38
42
  const StyledNavigationContainer = styled(Box)(({ theme }) => ({
39
43
  display: 'flex',
@@ -146,7 +150,7 @@ function Footer({
146
150
  color="var(--white)"
147
151
  align="center"
148
152
  >
149
- {`\u00A9 2025, UTR SPORTS`}
153
+ {copyrightText}
150
154
  </Typography>
151
155
  </Box>
152
156
  </Box>