@pitvox/partner-react 0.7.21 → 0.7.23
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 +2 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1801 -1275
- package/dist/styles.css +505 -0
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -135,7 +135,7 @@ All competition detail hooks accept `options.partnerSlug` to override the provid
|
|
|
135
135
|
import {
|
|
136
136
|
CompetitionCards, CompetitionCard, CompetitionResultsTabs,
|
|
137
137
|
StandingsTable, RoundResults, RoundSessionResults,
|
|
138
|
-
EntryList, RegisterButton, RegistrationPanel,
|
|
138
|
+
EntryList, RegisterButton, RegistrationPanel, WeatherIcon,
|
|
139
139
|
} from '@pitvox/partner-react'
|
|
140
140
|
import '@pitvox/partner-react/styles.css'
|
|
141
141
|
```
|
|
@@ -150,6 +150,7 @@ import '@pitvox/partner-react/styles.css'
|
|
|
150
150
|
- **`<EntryList>`** — Registered drivers grid with avatars
|
|
151
151
|
- **`<RegisterButton>`** — Register/withdraw toggle (render prop or default button)
|
|
152
152
|
- **`<RegistrationPanel>`** — Registration form + entry list with unregister
|
|
153
|
+
- **`<WeatherIcon>`** — Lucide-style weather glyph (8 conditions: clear, scattered/broken clouds, overcast, drizzle, damp, rain, heavy rain) with a refresh corner badge when `weatherBehaviour` is dynamic. Sized in `em` so it scales with surrounding text. Renders nothing when `weatherType` is null/unknown, so it degrades cleanly while older CDN snapshots roll through. Props: `weatherType`, `weatherBehaviour`, `className`.
|
|
153
154
|
|
|
154
155
|
### Shared utilities
|
|
155
156
|
|