@easygov/react-components 0.6.0 → 0.7.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/dist/NotoSans-Italic-latin-ext.woff2 +0 -0
- package/dist/NotoSans-Italic-latin.woff2 +0 -0
- package/dist/NotoSans-latin-ext.woff2 +0 -0
- package/dist/NotoSans-latin.woff2 +0 -0
- package/dist/fonts.css +1 -1
- package/dist/fonts.css.map +1 -1
- package/package.json +5 -3
- package/dist/NotoSans-Italic-VariableFont.woff2 +0 -0
- package/dist/NotoSans-VariableFont.woff2 +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/fonts.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@font-face{font-family:Noto Sans;src:url("./NotoSans-
|
|
1
|
+
@font-face{font-family:Noto Sans;src:url("./NotoSans-latin.woff2") format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans;src:url("./NotoSans-latin-ext.woff2") format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans;src:url("./NotoSans-Italic-latin.woff2") format("woff2-variations");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans;src:url("./NotoSans-Italic-latin-ext.woff2") format("woff2-variations");font-weight:100 900;font-style:italic;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
|
|
2
2
|
/*# sourceMappingURL=fonts.css.map */
|
package/dist/fonts.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/styles/fonts.css"],"sourcesContent":["@font-face {\n font-family: 'Noto Sans';\n src: url('../fonts/NotoSans-
|
|
1
|
+
{"version":3,"sources":["../src/styles/fonts.css"],"sourcesContent":["/*\n * Noto Sans — self-hosted, subset by unicode range (EGOV-318)\n *\n * Each face is split into `latin` and `latin-ext`. The browser resolves\n * family -> style/weight -> unicode-range and only then fetches, so a file is\n * downloaded solely when a character in its range is actually rendered:\n *\n * - de / en / fr / it are fully covered by `latin` (including the French\n * ligature oe, U+0152-0153). A normal page fetches that one file.\n * - `latin-ext` costs nothing until a Polish, Czech, Turkish or Romanian\n * character appears — typically a name in user-supplied content.\n * - The italic faces are never fetched unless italic text is rendered.\n *\n * Ranges are Google's published ones, byte-identical for both styles. Regenerate\n * the files with scripts/fetch-fonts.sh; see src/fonts/README.md for provenance.\n *\n * NOTE FOR CONSUMERS — `<link rel=\"preload\">` ignores `unicode-range` and fetches\n * unconditionally. Preload ONLY NotoSans-latin.woff2. Preloading latin-ext or\n * either italic file forces a download that this split exists to avoid.\n */\n\n/* ── Roman ─────────────────────────────────────────────────────────────────── */\n@font-face {\n font-family: 'Noto Sans';\n src: url('../fonts/NotoSans-latin.woff2') format('woff2-variations');\n font-weight: 100 900;\n font-style: normal;\n font-display: swap;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,\n U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: 'Noto Sans';\n src: url('../fonts/NotoSans-latin-ext.woff2') format('woff2-variations');\n font-weight: 100 900;\n font-style: normal;\n font-display: swap;\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,\n U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,\n U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n/* ── Italic ────────────────────────────────────────────────────────────────── */\n@font-face {\n font-family: 'Noto Sans';\n src: url('../fonts/NotoSans-Italic-latin.woff2') format('woff2-variations');\n font-weight: 100 900;\n font-style: italic;\n font-display: swap;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,\n U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: 'Noto Sans';\n src: url('../fonts/NotoSans-Italic-latin-ext.woff2') format('woff2-variations');\n font-weight: 100 900;\n font-style: italic;\n font-display: swap;\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,\n U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,\n U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n"],"mappings":"AAsBA,WACE,YAAa,UACb,IAAK,8BAAqC,OAAO,oBACjD,YAAa,IAAI,IACjB,WAAY,OACZ,aAAc,KACd,cAAe,CAAC,KAAK,KAAK,CAAE,CAAC,KAAK,CAAE,CAAC,KAAK,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,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WAAY,OACZ,aAAc,KACd,cAAe,CAAC,KAAK,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,UAAU,CAAE,CAAC,UAAU,CAAE,CAAC,UAAU,CAC5E,CAAC,KAAK,CAAE,CAAC,KAAK,CAAE,CAAC,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,KAAK,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,KAAK,CACrE,CAAC,UAAU,CAAE,CAAC,UAAU,CAAE,CAAC,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,CAAC,SACrD","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easygov/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "React 19 component library for EasyGov — accessible UI components styled with eg-* design tokens.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,8 +31,10 @@
|
|
|
31
31
|
},
|
|
32
32
|
"./styles.css": "./dist/easygov.css",
|
|
33
33
|
"./fonts.css": "./dist/fonts.css",
|
|
34
|
-
"./fonts/noto-sans": "./dist/NotoSans-
|
|
35
|
-
"./fonts/noto-sans-
|
|
34
|
+
"./fonts/noto-sans-latin": "./dist/NotoSans-latin.woff2",
|
|
35
|
+
"./fonts/noto-sans-latin-ext": "./dist/NotoSans-latin-ext.woff2",
|
|
36
|
+
"./fonts/noto-sans-italic-latin": "./dist/NotoSans-Italic-latin.woff2",
|
|
37
|
+
"./fonts/noto-sans-italic-latin-ext": "./dist/NotoSans-Italic-latin-ext.woff2"
|
|
36
38
|
},
|
|
37
39
|
"files": [
|
|
38
40
|
"dist"
|
|
Binary file
|
|
Binary file
|