basalt-ui 0.2.2 → 0.4.2
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/CHANGELOG.md +47 -0
- package/package.json +18 -6
- package/src/index.css +11 -120
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,50 @@
|
|
|
1
|
+
## [0.4.2](https://github.com/jkrumm/basalt-ui/compare/v0.4.1...v0.4.2) (2026-03-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add sideEffects and provenance to package.json ([3a1e512](https://github.com/jkrumm/basalt-ui/commit/3a1e51219fb500bebe17eb8a9031ec77296fc1d6))
|
|
7
|
+
|
|
8
|
+
## [0.4.1](https://github.com/jkrumm/basalt-ui/compare/v0.4.0...v0.4.1) (2026-03-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* pass NODE_AUTH_TOKEN to npm publish step ([5b3ba0b](https://github.com/jkrumm/basalt-ui/commit/5b3ba0b5f933775a6864af58d2d333bac969d6b8))
|
|
14
|
+
|
|
15
|
+
# [0.4.0](https://github.com/jkrumm/basalt-ui/compare/v0.3.0...v0.4.0) (2026-03-12)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* add UTM param to docs link in index.css comment ([4945e38](https://github.com/jkrumm/basalt-ui/commit/4945e38cbd28d16dd504ae0b1740fe2f688a268a))
|
|
21
|
+
* handle workflow_dispatch ref in publish version check ([5c72b9d](https://github.com/jkrumm/basalt-ui/commit/5c72b9dbbff1c5999b06e8c9dc7b413b70da1702))
|
|
22
|
+
* upgrade CI to Node 24, fix CodeRabbit doc issues ([ea97378](https://github.com/jkrumm/basalt-ui/commit/ea97378ac1c061277738f4f2e8849f5f3834341a))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* add fontsource deps to example-react, rewrite font docs ([067cd76](https://github.com/jkrumm/basalt-ui/commit/067cd76582802d3608b9f9160483e190cb5c45a1))
|
|
28
|
+
* fix font preloads on Starlight docs pages ([fb694c3](https://github.com/jkrumm/basalt-ui/commit/fb694c345fdcc165104ff6e4c1fa10cca577e811))
|
|
29
|
+
* integrate npm publish into release workflow ([d6e5003](https://github.com/jkrumm/basalt-ui/commit/d6e500326731a954effb97802f7cc6ba87a3085b))
|
|
30
|
+
* remove [@font-face](https://github.com/font-face) declarations, delegate font loading to apps ([ea083b4](https://github.com/jkrumm/basalt-ui/commit/ea083b4e12b41d2249a46437167f38ddc697b8f9))
|
|
31
|
+
* upgrade to Astro 6 and adopt stable Fonts API ([ee17c45](https://github.com/jkrumm/basalt-ui/commit/ee17c457f9ba48bdcb30b6f55308d433771878b3))
|
|
32
|
+
|
|
33
|
+
# [0.3.0](https://github.com/jkrumm/basalt-ui/compare/v0.2.2...v0.3.0) (2026-02-28)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* remove --frozen-lockfile from Docker bun install ([b8ee288](https://github.com/jkrumm/basalt-ui/commit/b8ee288d10f04089f7d364caa9575c2c3574dae4))
|
|
39
|
+
* remove scope from release commit message to satisfy commitlint ([5c8ca17](https://github.com/jkrumm/basalt-ui/commit/5c8ca17ced4b646ee7b51d7fc263a12e989add60))
|
|
40
|
+
* replace @semantic-release/npm with exec to bypass workspace: protocol error ([905dc95](https://github.com/jkrumm/basalt-ui/commit/905dc95de06a1bf9f59ebf3fe9c1e4bfec5c3f6c))
|
|
41
|
+
* skip Docker job on release dry run ([f479092](https://github.com/jkrumm/basalt-ui/commit/f479092ff7fa30d442f6d55a2454b7a94a4ad2ac))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* add OCI labels to Docker images ([cd8fcfb](https://github.com/jkrumm/basalt-ui/commit/cd8fcfb46e079a023065d09fa4b7f8d100a33086))
|
|
47
|
+
|
|
1
48
|
# Changelog
|
|
2
49
|
|
|
3
50
|
## [0.2.2](https://github.com/jkrumm/basalt-ui/compare/v0.2.1...v0.2.2) (2026-02-27)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "basalt-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Unified Tailwind CSS design system for modern UI libraries",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -45,16 +45,28 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"peerDependencies": {
|
|
48
|
+
"@fontsource-variable/instrument-sans": "^5.0.0",
|
|
49
|
+
"@fontsource-variable/jetbrains-mono": "^5.0.0",
|
|
48
50
|
"@tailwindcss/typography": "^0.5.19",
|
|
49
51
|
"shadcn": "^3.8.0",
|
|
50
52
|
"tailwindcss": "^4.0.0",
|
|
51
53
|
"tw-animate-css": "^1.4.0"
|
|
52
54
|
},
|
|
55
|
+
"peerDependenciesMeta": {
|
|
56
|
+
"@fontsource-variable/instrument-sans": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"@fontsource-variable/jetbrains-mono": {
|
|
60
|
+
"optional": true
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"sideEffects": [
|
|
64
|
+
"./src/index.css",
|
|
65
|
+
"./src/starlight.css"
|
|
66
|
+
],
|
|
53
67
|
"publishConfig": {
|
|
54
|
-
"access": "public"
|
|
68
|
+
"access": "public",
|
|
69
|
+
"provenance": true
|
|
55
70
|
},
|
|
56
|
-
"dependencies": {
|
|
57
|
-
"@fontsource-variable/instrument-sans": "^5.2.8",
|
|
58
|
-
"@fontsource-variable/jetbrains-mono": "^5.2.8"
|
|
59
|
-
}
|
|
71
|
+
"dependencies": {}
|
|
60
72
|
}
|
package/src/index.css
CHANGED
|
@@ -3,129 +3,20 @@
|
|
|
3
3
|
@import "tw-animate-css";
|
|
4
4
|
@import "shadcn/tailwind.css";
|
|
5
5
|
|
|
6
|
-
/* === FONT LOADING
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
/* === FONT LOADING ===
|
|
7
|
+
* basalt-ui provides font-family tokens only. Font files must be loaded by
|
|
8
|
+
* the consuming application — this keeps the package framework-agnostic and
|
|
9
|
+
* avoids double loading in apps that manage their own font pipeline.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* -
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* This avoids invisible text (block period) and improves Core Web Vitals.
|
|
19
|
-
*
|
|
20
|
-
* For near-zero CLS on swap, use the fontaine Vite plugin in your app to
|
|
21
|
-
* auto-generate calibrated @font-face fallback rules. See installation guide:
|
|
22
|
-
* https://basalt-ui.com/docs/installation#font-performance-optimization
|
|
11
|
+
* Recommended approaches:
|
|
12
|
+
* Astro 6+ → fontProviders.fontsource() + <Font preload />
|
|
13
|
+
* See: https://basalt-ui.com/docs/astro-fonts?utm_source=basalt_ui_css
|
|
14
|
+
* Vite / React → @import "@fontsource-variable/instrument-sans"
|
|
15
|
+
* "@fontsource-variable/jetbrains-mono"
|
|
16
|
+
* Other → Any @font-face / CDN that serves "Instrument Sans Variable"
|
|
17
|
+
* and "JetBrains Mono Variable"
|
|
23
18
|
*/
|
|
24
19
|
|
|
25
|
-
/* Instrument Sans Variable - Latin Extended with wdth axis */
|
|
26
|
-
@font-face {
|
|
27
|
-
font-family: "Instrument Sans Variable";
|
|
28
|
-
font-style: normal;
|
|
29
|
-
font-display: swap;
|
|
30
|
-
font-weight: 400 700;
|
|
31
|
-
font-stretch: 75% 100%;
|
|
32
|
-
src: url("@fontsource-variable/instrument-sans/files/instrument-sans-latin-ext-wdth-normal.woff2")
|
|
33
|
-
format("woff2-variations");
|
|
34
|
-
unicode-range:
|
|
35
|
-
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
36
|
-
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
|
|
37
|
-
U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/* Instrument Sans Variable - Latin with wdth axis */
|
|
41
|
-
@font-face {
|
|
42
|
-
font-family: "Instrument Sans Variable";
|
|
43
|
-
font-style: normal;
|
|
44
|
-
font-display: swap;
|
|
45
|
-
font-weight: 400 700;
|
|
46
|
-
font-stretch: 75% 100%;
|
|
47
|
-
src: url("@fontsource-variable/instrument-sans/files/instrument-sans-latin-wdth-normal.woff2")
|
|
48
|
-
format("woff2-variations");
|
|
49
|
-
unicode-range:
|
|
50
|
-
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
51
|
-
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
52
|
-
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/* JetBrains Mono Variable - Cyrillic Extended */
|
|
56
|
-
@font-face {
|
|
57
|
-
font-family: "JetBrains Mono Variable";
|
|
58
|
-
font-style: normal;
|
|
59
|
-
font-display: swap;
|
|
60
|
-
font-weight: 100 800;
|
|
61
|
-
src: url("@fontsource-variable/jetbrains-mono/files/jetbrains-mono-cyrillic-ext-wght-normal.woff2")
|
|
62
|
-
format("woff2-variations");
|
|
63
|
-
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/* JetBrains Mono Variable - Cyrillic */
|
|
67
|
-
@font-face {
|
|
68
|
-
font-family: "JetBrains Mono Variable";
|
|
69
|
-
font-style: normal;
|
|
70
|
-
font-display: swap;
|
|
71
|
-
font-weight: 100 800;
|
|
72
|
-
src: url("@fontsource-variable/jetbrains-mono/files/jetbrains-mono-cyrillic-wght-normal.woff2")
|
|
73
|
-
format("woff2-variations");
|
|
74
|
-
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/* JetBrains Mono Variable - Greek */
|
|
78
|
-
@font-face {
|
|
79
|
-
font-family: "JetBrains Mono Variable";
|
|
80
|
-
font-style: normal;
|
|
81
|
-
font-display: swap;
|
|
82
|
-
font-weight: 100 800;
|
|
83
|
-
src: url("@fontsource-variable/jetbrains-mono/files/jetbrains-mono-greek-wght-normal.woff2")
|
|
84
|
-
format("woff2-variations");
|
|
85
|
-
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/* JetBrains Mono Variable - Vietnamese */
|
|
89
|
-
@font-face {
|
|
90
|
-
font-family: "JetBrains Mono Variable";
|
|
91
|
-
font-style: normal;
|
|
92
|
-
font-display: swap;
|
|
93
|
-
font-weight: 100 800;
|
|
94
|
-
src: url("@fontsource-variable/jetbrains-mono/files/jetbrains-mono-vietnamese-wght-normal.woff2")
|
|
95
|
-
format("woff2-variations");
|
|
96
|
-
unicode-range:
|
|
97
|
-
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0,
|
|
98
|
-
U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/* JetBrains Mono Variable - Latin Extended */
|
|
102
|
-
@font-face {
|
|
103
|
-
font-family: "JetBrains Mono Variable";
|
|
104
|
-
font-style: normal;
|
|
105
|
-
font-display: swap;
|
|
106
|
-
font-weight: 100 800;
|
|
107
|
-
src: url("@fontsource-variable/jetbrains-mono/files/jetbrains-mono-latin-ext-wght-normal.woff2")
|
|
108
|
-
format("woff2-variations");
|
|
109
|
-
unicode-range:
|
|
110
|
-
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
|
|
111
|
-
U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
|
|
112
|
-
U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/* JetBrains Mono Variable - Latin */
|
|
116
|
-
@font-face {
|
|
117
|
-
font-family: "JetBrains Mono Variable";
|
|
118
|
-
font-style: normal;
|
|
119
|
-
font-display: swap;
|
|
120
|
-
font-weight: 100 800;
|
|
121
|
-
src: url("@fontsource-variable/jetbrains-mono/files/jetbrains-mono-latin-wght-normal.woff2")
|
|
122
|
-
format("woff2-variations");
|
|
123
|
-
unicode-range:
|
|
124
|
-
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
|
125
|
-
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
|
|
126
|
-
U+2212, U+2215, U+FEFF, U+FFFD;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
20
|
/* === TAILWIND CONFIGURATION === */
|
|
130
21
|
@plugin "@tailwindcss/typography";
|
|
131
22
|
@config "../tailwind.config.js";
|