@photon-ai/pho-ui 4.20.1 → 4.21.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/README.md CHANGED
@@ -18,7 +18,7 @@ In your app's CSS:
18
18
  ```css
19
19
  @import "tailwindcss";
20
20
  @import "@photon-ai/pho-ui/styles";
21
- @import "@photon-ai/pho-ui/styles/fonts"; /* optional: Inter + PolySans + Azeret Mono */
21
+ @import "@photon-ai/pho-ui/styles/fonts"; /* optional: Geist + PolySans + Azeret Mono */
22
22
  @source "../node_modules/@photon-ai/pho-ui/dist";
23
23
  ```
24
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photon-ai/pho-ui",
3
- "version": "4.20.1",
3
+ "version": "4.21.0",
4
4
  "description": "Photon Design System — Photon's React component library, built on Base UI",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Photon brand fonts. PolySans (commercial) is served from the shared asset
3
3
  * CDN (assets.photon.codes — public R2, versioned path, immutable caching,
4
- * CORS enabled). Inter and Azeret Mono are open Google Fonts, declared below
4
+ * CORS enabled). Geist and Azeret Mono are open Google Fonts, declared below
5
5
  * against the Google Fonts CDN (fonts.gstatic.com), one face per script
6
6
  * subset with its `unicode-range`. They are spelled out rather than pulled in
7
7
  * with an `@import` of Google's stylesheet: once this file is bundled into an
@@ -13,7 +13,7 @@
13
13
  * this import and declare the same @font-face rules against your own /fonts/
14
14
  * paths — the theme only references the family names.
15
15
  *
16
- * Roles: Inter is the text — body at 400, UI controls, navigation, and links
16
+ * Roles: Geist is the text — body at 400, UI controls, navigation, and links
17
17
  * at 600 (`font-medium`). PolySans is the headings — page, section, card,
18
18
  * and step titles at Median 600 (`font-heading`); the `font-display`
19
19
  * utility adds `ss02` for dialog and hero titles. Azeret Mono for code and
@@ -48,10 +48,10 @@
48
48
  font-display: swap;
49
49
  }
50
50
 
51
- /* Inter, latin */
51
+ /* Geist, latin */
52
52
  @font-face {
53
- font-family: "Inter";
54
- src: url("https://fonts.gstatic.com/s/inter/v20/UcCo3FwrK3iLTcviYwY.woff2")
53
+ font-family: "Geist";
54
+ src: url("https://fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwcGFU.woff2")
55
55
  format("woff2");
56
56
  font-weight: 100 900;
57
57
  font-style: normal;
@@ -62,10 +62,10 @@
62
62
  U+2215, U+FEFF, U+FFFD;
63
63
  }
64
64
 
65
- /* Inter, latin-ext */
65
+ /* Geist, latin-ext */
66
66
  @font-face {
67
- font-family: "Inter";
68
- src: url("https://fonts.gstatic.com/s/inter/v20/UcCo3FwrK3iLTcvsYwYL8g.woff2")
67
+ font-family: "Geist";
68
+ src: url("https://fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwSGFWfOw.woff2")
69
69
  format("woff2");
70
70
  font-weight: 100 900;
71
71
  font-style: normal;
@@ -76,6 +76,43 @@
76
76
  U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
77
77
  }
78
78
 
79
+ /* Geist, cyrillic */
80
+ @font-face {
81
+ font-family: "Geist";
82
+ src: url("https://fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwYGFWfOw.woff2")
83
+ format("woff2");
84
+ font-weight: 100 900;
85
+ font-style: normal;
86
+ font-display: swap;
87
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
88
+ }
89
+
90
+ /* Geist, cyrillic-ext */
91
+ @font-face {
92
+ font-family: "Geist";
93
+ src: url("https://fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwRGFWfOw.woff2")
94
+ format("woff2");
95
+ font-weight: 100 900;
96
+ font-style: normal;
97
+ font-display: swap;
98
+ unicode-range:
99
+ U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
100
+ }
101
+
102
+ /* Geist, vietnamese */
103
+ @font-face {
104
+ font-family: "Geist";
105
+ src: url("https://fonts.gstatic.com/s/geist/v5/gyByhwUxId8gMEwTGFWfOw.woff2")
106
+ format("woff2");
107
+ font-weight: 100 900;
108
+ font-style: normal;
109
+ font-display: swap;
110
+ unicode-range:
111
+ U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
112
+ U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
113
+ U+1EA0-1EF9, U+20AB;
114
+ }
115
+
79
116
  /* Azeret Mono, latin */
80
117
  @font-face {
81
118
  font-family: "Azeret Mono";
@@ -25,11 +25,11 @@
25
25
 
26
26
  @theme static {
27
27
  /* ============================== Fonts ============================== */
28
- /* Two voices: Inter carries the text (body, UI controls, navigation,
28
+ /* Two voices: Geist carries the text (body, UI controls, navigation,
29
29
  links: the default `font-sans`), PolySans carries the headings (page,
30
30
  section, card, and step titles: `font-heading`). */
31
31
  --font-sans:
32
- "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
32
+ "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
33
33
  sans-serif;
34
34
  --font-heading:
35
35
  "PolySans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
@@ -188,9 +188,9 @@
188
188
  /* ========================== Font weights ========================== */
189
189
  /* CLOSED set — three stops only; nothing else generates a utility:
190
190
  font-light (300) display/marketing lines · font-normal (400) body ·
191
- font-medium (600) UI controls, headings, and hero slogans: Inter Semi
192
- Bold in text, PolySans Median in headings. font-semibold is gone — use
193
- font-medium. */
191
+ font-medium (600) UI controls, headings, and hero slogans: Geist
192
+ SemiBold in text, PolySans Median in headings. font-semibold is gone —
193
+ use font-medium. */
194
194
  --font-weight-*: initial;
195
195
  --font-weight-light: 300;
196
196
  --font-weight-normal: 400;