@times-components/ts-components 1.89.1-alpha.5 → 1.90.0

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 (38) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.d.ts +3 -0
  3. package/dist/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.js +7 -3
  4. package/dist/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.stories.js +7 -1
  5. package/dist/components/opta/football/fixtures-ticker/__tests__/OptaFootballFixturesTicker.test.js +29 -1
  6. package/dist/components/opta/football/fixtures-ticker/styles.d.ts +4 -1
  7. package/dist/components/opta/football/fixtures-ticker/styles.js +52 -15
  8. package/dist/components/opta/football/player-stats/OptaFootballPlayerStats.js +1 -1
  9. package/dist/components/opta/football/shared-styles.js +2 -2
  10. package/dist/components/opta/utils/__tests__/addFixturesPageLink.test.d.ts +1 -0
  11. package/dist/components/opta/utils/__tests__/addFixturesPageLink.test.js +36 -0
  12. package/dist/components/opta/utils/__tests__/useFixturePageLink.test.d.ts +1 -0
  13. package/dist/components/opta/utils/__tests__/useFixturePageLink.test.js +84 -0
  14. package/dist/components/opta/utils/addFixturesPageLink.d.ts +1 -0
  15. package/dist/components/opta/utils/addFixturesPageLink.js +25 -0
  16. package/dist/components/opta/utils/replaceNationalTeamDetails.js +13 -8
  17. package/dist/components/opta/utils/useFixturePageLink.d.ts +2 -0
  18. package/dist/components/opta/utils/useFixturePageLink.js +36 -0
  19. package/package.json +16 -16
  20. package/rnw.js +1 -1
  21. package/src/components/opta/football/fixtures/__tests__/__snapshots__/OptaFootballFixtures.test.tsx.snap +2 -2
  22. package/src/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.stories.tsx +19 -0
  23. package/src/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.tsx +13 -2
  24. package/src/components/opta/football/fixtures-ticker/__tests__/OptaFootballFixturesTicker.test.tsx +46 -0
  25. package/src/components/opta/football/fixtures-ticker/__tests__/__snapshots__/OptaFootballFixturesTicker.test.tsx.snap +56 -4
  26. package/src/components/opta/football/fixtures-ticker/styles.ts +64 -15
  27. package/src/components/opta/football/fixtures-tournament/__tests__/__snapshots__/OptaFootballFixturesTournament.test.tsx.snap +6 -6
  28. package/src/components/opta/football/match-stats/__tests__/__snapshots__/OptaFootballMatchStats.test.tsx.snap +2 -2
  29. package/src/components/opta/football/player-stats/OptaFootballPlayerStats.tsx +1 -1
  30. package/src/components/opta/football/player-stats/__tests__/__snapshots__/OptaFootballPlayerStats.test.tsx.snap +2 -2
  31. package/src/components/opta/football/shared-styles.ts +1 -1
  32. package/src/components/opta/football/standings/__tests__/__snapshots__/OptaFootballStandings.test.tsx.snap +4 -4
  33. package/src/components/opta/football/summary/__tests__/__snapshots__/OptaFootballSummary.test.tsx.snap +2 -2
  34. package/src/components/opta/utils/__tests__/addFixturesPageLink.test.tsx +53 -0
  35. package/src/components/opta/utils/__tests__/useFixturePageLink.test.tsx +187 -0
  36. package/src/components/opta/utils/addFixturesPageLink.ts +33 -0
  37. package/src/components/opta/utils/replaceNationalTeamDetails.ts +14 -16
  38. package/src/components/opta/utils/useFixturePageLink.ts +57 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@times-components/ts-components",
3
- "version": "1.89.1-alpha.5+52fb47f00e",
3
+ "version": "1.90.0",
4
4
  "description": "Reuseable Typescript React Components ",
5
5
  "main": "dist/index.js",
6
6
  "dev": "dist/index.js",
@@ -50,17 +50,17 @@
50
50
  "node": ">=8.9"
51
51
  },
52
52
  "dependencies": {
53
- "@times-components/button": "^2.10.51",
54
- "@times-components/date-publication": "^0.30.24",
55
- "@times-components/icons": "^2.22.2",
56
- "@times-components/image": "^6.17.11",
57
- "@times-components/link": "^3.17.24",
58
- "@times-components/provider": "^1.40.25",
59
- "@times-components/provider-queries": "^2.21.1",
60
- "@times-components/related-articles": "^6.17.65-alpha.5+52fb47f00e",
61
- "@times-components/ts-slices": "^1.9.12",
62
- "@times-components/ts-styleguide": "^1.50.24",
63
- "@times-components/utils": "^6.21.0",
53
+ "@times-components/button": "2.10.52",
54
+ "@times-components/date-publication": "0.30.25",
55
+ "@times-components/icons": "2.22.3",
56
+ "@times-components/image": "6.17.12",
57
+ "@times-components/link": "3.17.25",
58
+ "@times-components/provider": "1.40.26",
59
+ "@times-components/provider-queries": "2.21.1",
60
+ "@times-components/related-articles": "6.17.65",
61
+ "@times-components/ts-slices": "1.9.13",
62
+ "@times-components/ts-styleguide": "1.50.25",
63
+ "@times-components/utils": "6.22.0",
64
64
  "algoliasearch": "4.9.0",
65
65
  "date-fns": "2.28.0",
66
66
  "date-fns-tz": "1.3.3",
@@ -82,9 +82,9 @@
82
82
  "@storybook/react": "6.5.16",
83
83
  "@testing-library/jest-dom": "^5.12.0",
84
84
  "@testing-library/react": "^12.1.2",
85
- "@times-components/provider-test-tools": "^1.29.3",
86
- "@times-components/storybook": "^4.12.24",
87
- "@times-components/test-utils": "^2.4.2",
85
+ "@times-components/provider-test-tools": "1.29.3",
86
+ "@times-components/storybook": "4.12.25",
87
+ "@times-components/test-utils": "2.4.2",
88
88
  "@types/lodash.get": "4.4.6",
89
89
  "@types/lodash.keyby": "4.6.6",
90
90
  "@types/lodash.merge": "4.6.2",
@@ -115,5 +115,5 @@
115
115
  "@testing-library/jest-dom/extend-expect"
116
116
  ]
117
117
  },
118
- "gitHead": "52fb47f00e3a639d498b442071eba89cb495da57"
118
+ "gitHead": "75abacaec75835509149ca5cb458f4a393a6812a"
119
119
  }