@pitvox/partner-react 0.5.12 → 0.5.14
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/README.md +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -116,13 +116,14 @@ import {
|
|
|
116
116
|
|
|
117
117
|
```jsx
|
|
118
118
|
import {
|
|
119
|
-
CompetitionCards, StandingsTable, RoundResults,
|
|
120
|
-
EntryList, RegisterButton, RegistrationPanel,
|
|
119
|
+
CompetitionCards, CompetitionCard, StandingsTable, RoundResults,
|
|
120
|
+
RoundSessionResults, EntryList, RegisterButton, RegistrationPanel,
|
|
121
121
|
} from '@pitvox/partner-react'
|
|
122
122
|
import '@pitvox/partner-react/styles.css'
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
- **`<CompetitionCards>`** — Card grid with posters, type badges, schedule, registration status
|
|
125
|
+
- **`<CompetitionCards>`** — Card grid with posters, type badges, schedule, registration status. Bundles its own CSS grid layout.
|
|
126
|
+
- **`<CompetitionCard>`** — Individual competition card. Use this when you want to control the grid layout yourself (e.g. with Tailwind). Props: `comp`, `onSelect`, `onRegister`.
|
|
126
127
|
- **`<StandingsTable>`** — Championship standings with per-round breakdowns, podium highlights
|
|
127
128
|
- **`<RoundResults>`** — Standalone round results (fetches data, renders header + sessions)
|
|
128
129
|
- **`<RoundSessionResults>`** — Session tabs + results table (data-prop driven, no fetch)
|
package/package.json
CHANGED