@orianatech/pire 0.3.0 → 0.5.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/NOTICE +19 -0
- package/README.md +43 -5
- package/dist/components/core/Icon.d.cts +22 -7
- package/dist/components/core/Icon.d.ts +22 -7
- package/dist/components/core/Icon.d.ts.map +1 -1
- package/dist/components/core/icon-data.generated.d.cts +1 -0
- package/dist/components/core/icon-data.generated.d.ts +2 -0
- package/dist/components/core/icon-data.generated.d.ts.map +1 -0
- package/dist/components/core/icon-map.d.cts +13 -0
- package/dist/components/core/icon-map.d.ts +14 -0
- package/dist/components/core/icon-map.d.ts.map +1 -0
- package/dist/components/navigation/ShellBar.d.cts +8 -1
- package/dist/components/navigation/ShellBar.d.ts +8 -1
- package/dist/components/navigation/ShellBar.d.ts.map +1 -1
- package/dist/components/navigation/SideNav.d.cts +56 -4
- package/dist/components/navigation/SideNav.d.ts +56 -4
- package/dist/components/navigation/SideNav.d.ts.map +1 -1
- package/dist/components.css +22 -0
- package/dist/fonts/LICENSE-jetbrains-mono.txt +93 -0
- package/dist/fonts/LICENSE-public-sans.txt +93 -0
- package/dist/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-500-normal.woff2 +0 -0
- package/dist/fonts/jetbrains-mono-latin-600-normal.woff2 +0 -0
- package/dist/fonts/public-sans-latin-400-normal.woff2 +0 -0
- package/dist/fonts/public-sans-latin-500-normal.woff2 +0 -0
- package/dist/fonts/public-sans-latin-600-normal.woff2 +0 -0
- package/dist/fonts/public-sans-latin-700-normal.woff2 +0 -0
- package/dist/index.cjs +276 -81
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +277 -82
- package/dist/index.js.map +1 -1
- package/dist/tokens/fonts.css +20 -15
- package/package.json +8 -3
package/dist/tokens/fonts.css
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
/* Pire's chosen pairing: Public Sans (UI) + JetBrains Mono (figures, IDs, code)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
@font-face{font-family:"Pire
|
|
15
|
-
@font-face{font-family:"Pire
|
|
1
|
+
/* Pire's chosen pairing: Public Sans (UI) + JetBrains Mono (figures, IDs, code).
|
|
2
|
+
|
|
3
|
+
The faces are vendored into ../fonts/ by `pnpm fonts:vendor` and ship inside the package, so
|
|
4
|
+
importing the stylesheet makes no third-party network request. Paths are relative, and the
|
|
5
|
+
dist layout mirrors src/styles, which is what keeps them resolving after the build.
|
|
6
|
+
|
|
7
|
+
Only the weights the type scale resolves to are shipped (7 faces, ~120KB latin). IBM Plex
|
|
8
|
+
Serif is deliberately not vendored: `--font-serif` is declared in typography.css but no
|
|
9
|
+
`--type-*` token consumes it, so it falls back to the system serif stack rather than costing
|
|
10
|
+
every consumer a download nothing renders.
|
|
11
|
+
|
|
12
|
+
Both families are SIL Open Font License 1.1. ../fonts/LICENSE-*.txt travel with the binaries
|
|
13
|
+
because the licence requires it. */
|
|
14
|
+
@font-face{font-family:"Pire Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/public-sans-latin-400-normal.woff2") format("woff2")}
|
|
15
|
+
@font-face{font-family:"Pire Sans";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/public-sans-latin-500-normal.woff2") format("woff2")}
|
|
16
|
+
@font-face{font-family:"Pire Sans";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/public-sans-latin-600-normal.woff2") format("woff2")}
|
|
17
|
+
@font-face{font-family:"Pire Sans";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/public-sans-latin-700-normal.woff2") format("woff2")}
|
|
18
|
+
@font-face{font-family:"Pire Mono";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2")}
|
|
19
|
+
@font-face{font-family:"Pire Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2")}
|
|
20
|
+
@font-face{font-family:"Pire Mono";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2")}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orianatech/pire",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Oriana Pire Design System — React components for ERP interfaces, built on React Aria.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -55,8 +55,11 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
57
57
|
"@biomejs/biome": "^2.5.6",
|
|
58
|
+
"@carbon/icons": "^11.84.0",
|
|
58
59
|
"@changesets/changelog-github": "^0.7.0",
|
|
59
60
|
"@changesets/cli": "^2.31.1",
|
|
61
|
+
"@fontsource/jetbrains-mono": "^5.3.0",
|
|
62
|
+
"@fontsource/public-sans": "^5.3.0",
|
|
60
63
|
"@storybook/addon-a11y": "^10.5.5",
|
|
61
64
|
"@storybook/addon-docs": "^10.5.5",
|
|
62
65
|
"@storybook/addon-vitest": "^10.5.5",
|
|
@@ -80,7 +83,8 @@
|
|
|
80
83
|
"node": ">=20"
|
|
81
84
|
},
|
|
82
85
|
"scripts": {
|
|
83
|
-
"
|
|
86
|
+
"icons:generate": "node scripts/generate-icon-data.mjs",
|
|
87
|
+
"build": "pnpm icons:generate && tsup && tsc -p tsconfig.build.json && node scripts/postbuild-types.mjs",
|
|
84
88
|
"dev": "tsup --watch",
|
|
85
89
|
"typecheck": "tsc --noEmit",
|
|
86
90
|
"storybook": "storybook dev -p 6006",
|
|
@@ -94,6 +98,7 @@
|
|
|
94
98
|
"test:watch": "vitest",
|
|
95
99
|
"test:storybook": "vitest run --project=storybook",
|
|
96
100
|
"test:unit": "vitest run --project=unit",
|
|
97
|
-
"pack:check": "publint --strict && attw --pack . --exclude-entrypoints ./styles.css ./tokens.css ./components.css"
|
|
101
|
+
"pack:check": "publint --strict && attw --pack . --exclude-entrypoints ./styles.css ./tokens.css ./components.css",
|
|
102
|
+
"fonts:vendor": "node scripts/vendor-fonts.mjs"
|
|
98
103
|
}
|
|
99
104
|
}
|