@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.
- package/CHANGELOG.md +12 -0
- package/dist/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.d.ts +3 -0
- package/dist/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.js +7 -3
- package/dist/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.stories.js +7 -1
- package/dist/components/opta/football/fixtures-ticker/__tests__/OptaFootballFixturesTicker.test.js +29 -1
- package/dist/components/opta/football/fixtures-ticker/styles.d.ts +4 -1
- package/dist/components/opta/football/fixtures-ticker/styles.js +52 -15
- package/dist/components/opta/football/player-stats/OptaFootballPlayerStats.js +1 -1
- package/dist/components/opta/football/shared-styles.js +2 -2
- package/dist/components/opta/utils/__tests__/addFixturesPageLink.test.d.ts +1 -0
- package/dist/components/opta/utils/__tests__/addFixturesPageLink.test.js +36 -0
- package/dist/components/opta/utils/__tests__/useFixturePageLink.test.d.ts +1 -0
- package/dist/components/opta/utils/__tests__/useFixturePageLink.test.js +84 -0
- package/dist/components/opta/utils/addFixturesPageLink.d.ts +1 -0
- package/dist/components/opta/utils/addFixturesPageLink.js +25 -0
- package/dist/components/opta/utils/replaceNationalTeamDetails.js +13 -8
- package/dist/components/opta/utils/useFixturePageLink.d.ts +2 -0
- package/dist/components/opta/utils/useFixturePageLink.js +36 -0
- package/package.json +16 -16
- package/rnw.js +1 -1
- package/src/components/opta/football/fixtures/__tests__/__snapshots__/OptaFootballFixtures.test.tsx.snap +2 -2
- package/src/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.stories.tsx +19 -0
- package/src/components/opta/football/fixtures-ticker/OptaFootballFixturesTicker.tsx +13 -2
- package/src/components/opta/football/fixtures-ticker/__tests__/OptaFootballFixturesTicker.test.tsx +46 -0
- package/src/components/opta/football/fixtures-ticker/__tests__/__snapshots__/OptaFootballFixturesTicker.test.tsx.snap +56 -4
- package/src/components/opta/football/fixtures-ticker/styles.ts +64 -15
- package/src/components/opta/football/fixtures-tournament/__tests__/__snapshots__/OptaFootballFixturesTournament.test.tsx.snap +6 -6
- package/src/components/opta/football/match-stats/__tests__/__snapshots__/OptaFootballMatchStats.test.tsx.snap +2 -2
- package/src/components/opta/football/player-stats/OptaFootballPlayerStats.tsx +1 -1
- package/src/components/opta/football/player-stats/__tests__/__snapshots__/OptaFootballPlayerStats.test.tsx.snap +2 -2
- package/src/components/opta/football/shared-styles.ts +1 -1
- package/src/components/opta/football/standings/__tests__/__snapshots__/OptaFootballStandings.test.tsx.snap +4 -4
- package/src/components/opta/football/summary/__tests__/__snapshots__/OptaFootballSummary.test.tsx.snap +2 -2
- package/src/components/opta/utils/__tests__/addFixturesPageLink.test.tsx +53 -0
- package/src/components/opta/utils/__tests__/useFixturePageLink.test.tsx +187 -0
- package/src/components/opta/utils/addFixturesPageLink.ts +33 -0
- package/src/components/opta/utils/replaceNationalTeamDetails.ts +14 -16
- 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.
|
|
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": "
|
|
54
|
-
"@times-components/date-publication": "
|
|
55
|
-
"@times-components/icons": "
|
|
56
|
-
"@times-components/image": "
|
|
57
|
-
"@times-components/link": "
|
|
58
|
-
"@times-components/provider": "
|
|
59
|
-
"@times-components/provider-queries": "
|
|
60
|
-
"@times-components/related-articles": "
|
|
61
|
-
"@times-components/ts-slices": "
|
|
62
|
-
"@times-components/ts-styleguide": "
|
|
63
|
-
"@times-components/utils": "
|
|
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": "
|
|
86
|
-
"@times-components/storybook": "
|
|
87
|
-
"@times-components/test-utils": "
|
|
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": "
|
|
118
|
+
"gitHead": "75abacaec75835509149ca5cb458f4a393a6812a"
|
|
119
119
|
}
|