@pitvox/partner-react 0.7.20 → 0.7.22

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/dist/styles.css CHANGED
@@ -2812,3 +2812,45 @@
2812
2812
  font-size: 0.8rem;
2813
2813
  color: var(--pvx-text-muted);
2814
2814
  }
2815
+
2816
+ /* ─── Weather icon ─────────────────────────────────────────────────────
2817
+ Round schedule glyph. Sizes from font-size (1em) so it scales with the
2818
+ surrounding text. The dynamic badge sits at the bottom-right of the
2819
+ weather icon; its solid backdrop separates it visually from the main
2820
+ icon's strokes. Override --pvx-weather-dynamic-bg / --pvx-weather-dynamic-fg
2821
+ to retune the badge for light-mode carousel backgrounds. */
2822
+ .pvx-weather-icon {
2823
+ position: relative;
2824
+ display: inline-flex;
2825
+ width: 1.05em;
2826
+ height: 1em;
2827
+ flex-shrink: 0;
2828
+ vertical-align: -0.18em;
2829
+ line-height: 1;
2830
+ }
2831
+
2832
+ .pvx-weather-icon-main {
2833
+ width: 1em;
2834
+ height: 1em;
2835
+ }
2836
+
2837
+ .pvx-weather-icon-dynamic {
2838
+ position: absolute;
2839
+ right: -0.15em;
2840
+ bottom: -0.15em;
2841
+ width: 0.7em;
2842
+ height: 0.7em;
2843
+ display: inline-flex;
2844
+ align-items: center;
2845
+ justify-content: center;
2846
+ border-radius: 50%;
2847
+ background: var(--pvx-weather-dynamic-bg, currentColor);
2848
+ color: var(--pvx-weather-dynamic-fg, var(--pvx-bg-card, #0a0a0a));
2849
+ padding: 0.08em;
2850
+ box-sizing: border-box;
2851
+ }
2852
+
2853
+ .pvx-weather-icon-dynamic svg {
2854
+ width: 100%;
2855
+ height: 100%;
2856
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitvox/partner-react",
3
- "version": "0.7.20",
3
+ "version": "0.7.22",
4
4
  "description": "React hooks and styled components for PitVox partner websites — leaderboards, competitions, driver dashboards",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",