basalt-ui 1.1.0 → 1.2.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/AGENTS.md +2 -2
- package/CHANGELOG.md +37 -0
- package/README.md +47 -5
- package/agent/rules/basalt-app.md +126 -0
- package/agent/rules/basalt-content.md +3 -1
- package/agent/skills/basalt-app/SKILL.md +32 -10
- package/configs/check.yml +3 -1
- package/configs/oxlint.json +1 -1
- package/dist/agent/part-list.d.ts.map +1 -1
- package/dist/agent/part-list.js +17 -7
- package/dist/agent/stick-to-bottom.js +2 -2
- package/dist/agent-chat/thread-detail-panel.d.ts.map +1 -1
- package/dist/agent-chat/thread-detail-panel.js +37 -33
- package/dist/agent-chat/thread-message.d.ts.map +1 -1
- package/dist/agent-chat/thread-message.js +8 -5
- package/dist/agent-chat/thread-outcome-card.js +3 -3
- package/dist/agent-chat/thread-workspace.js +1 -1
- package/dist/charts/primitives/ChartLegend.js +2 -0
- package/dist/charts/primitives/ChartTooltip.js +2 -1
- package/dist/cli/index.d.ts +21 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +50 -12
- package/dist/connectivity/connectivity-indicator.d.ts.map +1 -1
- package/dist/connectivity/connectivity-indicator.js +3 -3
- package/dist/content/article-card.module.css +7 -5
- package/dist/content/article-layout.module.css +16 -12
- package/dist/content/callout.module.css +4 -4
- package/dist/content/code-block.module.css +8 -7
- package/dist/content/guide.module.css +3 -3
- package/dist/content/mermaid.module.css +2 -2
- package/dist/content/prose.module.css +59 -29
- package/dist/content/reading-progress.module.css +2 -0
- package/dist/content/toc.module.css +6 -3
- package/dist/dashboard/delta-badge.d.ts.map +1 -1
- package/dist/dashboard/delta-badge.js +10 -2
- package/dist/dashboard/empty-state.d.ts.map +1 -1
- package/dist/dashboard/empty-state.js +3 -16
- package/dist/dashboard/settings-section.js +2 -2
- package/dist/dashboard/settings-section.module.css +2 -2
- package/dist/dashboard/stat-card.js +2 -1
- package/dist/data/virtual-list.d.ts.map +1 -1
- package/dist/data/virtual-list.js +12 -2
- package/dist/forms/FormErrorSummary.js +2 -2
- package/dist/guard/index.d.ts +20 -4
- package/dist/guard/index.d.ts.map +1 -1
- package/dist/guard/index.js +250 -37
- package/dist/guard/types.d.ts +24 -3
- package/dist/guard/types.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/provider/index.d.ts +30 -1
- package/dist/provider/index.d.ts.map +1 -1
- package/dist/provider/index.js +32 -7
- package/dist/provider/lab-theme.d.ts +39 -0
- package/dist/provider/lab-theme.d.ts.map +1 -0
- package/dist/provider/lab-theme.js +52 -0
- package/dist/shell/app-header.module.css +2 -2
- package/dist/shell/app-mobile-nav.module.css +1 -1
- package/dist/shell/app-sidebar-account.d.ts.map +1 -1
- package/dist/shell/app-sidebar-account.js +4 -2
- package/dist/shell/app-sidebar.d.ts.map +1 -1
- package/dist/shell/app-sidebar.js +4 -2
- package/dist/shell/app-sidebar.module.css +36 -26
- package/dist/shell/index.d.ts.map +1 -1
- package/dist/shell/index.js +11 -4
- package/dist/shell/sidebar-search.module.css +16 -4
- package/dist/styles.css +1 -1
- package/dist/surfaces.d.ts +16 -12
- package/dist/surfaces.d.ts.map +1 -1
- package/dist/surfaces.js +12 -4
- package/dist/theme/controls.module.css +1 -1
- package/dist/theme/floating.module.css +1 -1
- package/dist/theme/index.d.ts +116 -11
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.js +703 -566
- package/dist/theme/nav-link.module.css +1 -1
- package/dist/theme/use-basalt-spacing.d.ts +3 -0
- package/dist/theme/use-basalt-spacing.d.ts.map +1 -0
- package/dist/theme/use-basalt-spacing.js +8 -0
- package/dist/theme-lab/derive-controls.d.ts +13 -0
- package/dist/theme-lab/derive-controls.d.ts.map +1 -0
- package/dist/theme-lab/derive-controls.js +137 -0
- package/dist/theme-lab/derive-state.d.ts +55 -0
- package/dist/theme-lab/derive-state.d.ts.map +1 -0
- package/dist/theme-lab/derive-state.js +81 -0
- package/dist/theme-lab/index.d.ts +12 -2
- package/dist/theme-lab/index.d.ts.map +1 -1
- package/dist/theme-lab/index.js +13 -62
- package/dist/theme-toggle/index.d.ts.map +1 -1
- package/dist/theme-toggle/index.js +3 -2
- package/dist/tokens/derive.d.ts +89 -0
- package/dist/tokens/derive.d.ts.map +1 -0
- package/dist/tokens/derive.js +250 -0
- package/dist/tokens/hct.d.ts +34 -0
- package/dist/tokens/hct.d.ts.map +1 -0
- package/dist/tokens/hct.js +159 -0
- package/dist/tokens/index.d.ts +71 -7
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.js +284 -46
- package/dist/tokens/palette.d.ts +984 -167
- package/dist/tokens/palette.d.ts.map +1 -1
- package/dist/tokens/palette.js +617 -119
- package/dist/vite-color-mix.d.ts +30 -0
- package/dist/vite-color-mix.d.ts.map +1 -0
- package/dist/vite-color-mix.js +80 -0
- package/dist/vite.d.ts +82 -1
- package/dist/vite.d.ts.map +1 -1
- package/dist/vite.js +312 -0
- package/llms.txt +5 -4
- package/package.json +24 -9
- package/src/agent/part-list.tsx +13 -7
- package/src/agent/stick-to-bottom.tsx +2 -2
- package/src/agent-chat/thread-detail-panel.tsx +13 -10
- package/src/agent-chat/thread-message.tsx +8 -5
- package/src/agent-chat/thread-outcome-card.tsx +2 -2
- package/src/agent-chat/thread-workspace.tsx +2 -2
- package/src/charts/primitives/ChartLegend.tsx +2 -2
- package/src/charts/primitives/ChartTooltip.tsx +2 -2
- package/src/cli/check-theme.test.ts +18 -0
- package/src/cli/index.ts +112 -20
- package/src/cli/init-sync.test.ts +68 -0
- package/src/connectivity/connectivity-indicator.tsx +8 -2
- package/src/content/article-card.module.css +7 -5
- package/src/content/article-layout.module.css +16 -12
- package/src/content/callout.module.css +4 -4
- package/src/content/code-block.module.css +8 -7
- package/src/content/guide.module.css +3 -3
- package/src/content/mermaid.module.css +2 -2
- package/src/content/prose.module.css +59 -29
- package/src/content/prose.module.css.test.ts +55 -0
- package/src/content/reading-progress.module.css +2 -0
- package/src/content/toc.module.css +6 -3
- package/src/dashboard/delta-badge.tsx +10 -4
- package/src/dashboard/empty-state.tsx +3 -16
- package/src/dashboard/settings-section.module.css +2 -2
- package/src/dashboard/settings-section.tsx +2 -2
- package/src/dashboard/stat-card.tsx +2 -2
- package/src/data/virtual-list.tsx +12 -2
- package/src/forms/FormErrorSummary.tsx +1 -1
- package/src/guard/check-source.test.ts +416 -5
- package/src/guard/index.ts +367 -45
- package/src/guard/types.ts +24 -2
- package/src/index.ts +1 -0
- package/src/provider/index.test.tsx +100 -0
- package/src/provider/index.tsx +79 -7
- package/src/provider/lab-theme.test.ts +147 -0
- package/src/provider/lab-theme.ts +166 -0
- package/src/shell/app-header.module.css +2 -2
- package/src/shell/app-mobile-nav.module.css +1 -1
- package/src/shell/app-sidebar-account.tsx +9 -2
- package/src/shell/app-sidebar.module.css +36 -26
- package/src/shell/app-sidebar.tsx +12 -2
- package/src/shell/index.tsx +14 -3
- package/src/shell/sidebar-search.module.css +16 -4
- package/src/styles.css +1 -1
- package/src/surfaces.ts +25 -11
- package/src/theme/contrast.test.ts +19 -3
- package/src/theme/controls.module.css +1 -1
- package/src/theme/density-option.test.ts +96 -0
- package/src/theme/density-relations.test.ts +428 -0
- package/src/theme/derive-theme.test.ts +101 -0
- package/src/theme/floating.module.css +1 -1
- package/src/theme/fonts-option.test.ts +69 -0
- package/src/theme/index.ts +930 -563
- package/src/theme/nav-link.module.css +1 -1
- package/src/theme/radius-option.test.ts +86 -0
- package/src/theme/radius.test.ts +132 -0
- package/src/theme/spacing.test.ts +432 -0
- package/src/theme/use-basalt-spacing.test.tsx +51 -0
- package/src/theme/use-basalt-spacing.ts +38 -0
- package/src/theme-lab/derive-controls.test.ts +94 -0
- package/src/theme-lab/derive-controls.tsx +227 -0
- package/src/theme-lab/derive-state.test.ts +71 -0
- package/src/theme-lab/derive-state.ts +163 -0
- package/src/theme-lab/index.tsx +29 -68
- package/src/theme-lab/theme-lab.test.ts +4 -18
- package/src/theme-toggle/index.tsx +9 -4
- package/src/tokens/build-fonts-css.test.ts +51 -0
- package/src/tokens/build-radius-css.test.ts +25 -0
- package/src/tokens/density.test.ts +274 -0
- package/src/tokens/derive-radius.test.ts +62 -0
- package/src/tokens/derive.test.ts +30 -0
- package/src/tokens/derive.ts +481 -0
- package/src/tokens/hct.ts +231 -0
- package/src/tokens/index.ts +395 -45
- package/src/tokens/palette.test.ts +114 -0
- package/src/tokens/palette.ts +1118 -180
- package/src/vite-color-mix.test.ts +46 -0
- package/src/vite-color-mix.ts +137 -0
- package/src/vite.test.ts +192 -0
- package/src/vite.ts +502 -1
|
@@ -49,7 +49,7 @@ function ThreadWorkspace({
|
|
|
49
49
|
if (store.activeId === null) return;
|
|
50
50
|
runs.retry(store.activeId);
|
|
51
51
|
};
|
|
52
|
-
const feed = /* @__PURE__ */ jsxs(
|
|
52
|
+
const feed = /* @__PURE__ */ jsxs(Flex, { direction: "column", h: "100%", style: { overflow: "hidden" }, children: [
|
|
53
53
|
/* @__PURE__ */ jsx(Box, { style: { flex: 1, minHeight: 0 }, children: store.threads.length === 0 ? emptyState ?? /* @__PURE__ */ jsx(FeedEmptyState, {}) : /* @__PURE__ */ jsx(ThreadFeed, { threads, activeId: store.activeId, onSelect: handleSelect }) }),
|
|
54
54
|
/* @__PURE__ */ jsx(Divider, { color: "var(--vx-divider)" }),
|
|
55
55
|
/* @__PURE__ */ jsx(Box, { p: "sm", children: /* @__PURE__ */ jsx(
|
|
@@ -106,6 +106,7 @@ function LegendSwatch({ item, idPrefix }) {
|
|
|
106
106
|
width: 11,
|
|
107
107
|
height: 11,
|
|
108
108
|
borderRadius: 3,
|
|
109
|
+
// theme-allow: sub-scale legend-swatch corner, below the 4px radius floor
|
|
109
110
|
backgroundColor: item.color,
|
|
110
111
|
opacity: item.fillOpacity ?? 0.7,
|
|
111
112
|
flexShrink: 0
|
|
@@ -144,6 +145,7 @@ function LegendChildSwatch({ item }) {
|
|
|
144
145
|
width: 10,
|
|
145
146
|
height: 10,
|
|
146
147
|
borderRadius: 2,
|
|
148
|
+
// theme-allow: sub-scale legend-swatch corner, below the 4px radius floor
|
|
147
149
|
backgroundColor: item.color,
|
|
148
150
|
opacity: item.fillOpacity ?? 0.7,
|
|
149
151
|
flexShrink: 0
|
|
@@ -6,7 +6,7 @@ const TOOLTIP_STYLES = {
|
|
|
6
6
|
pointerEvents: "none",
|
|
7
7
|
zIndex: 9999,
|
|
8
8
|
backgroundColor: VX.surface.panel,
|
|
9
|
-
borderRadius:
|
|
9
|
+
borderRadius: "var(--vx-radius-floating)",
|
|
10
10
|
padding: "0",
|
|
11
11
|
fontSize: VX.text.xs,
|
|
12
12
|
lineHeight: "18px",
|
|
@@ -110,6 +110,7 @@ function TooltipRow({
|
|
|
110
110
|
width: 8,
|
|
111
111
|
height: 8,
|
|
112
112
|
borderRadius: 2,
|
|
113
|
+
// theme-allow: sub-scale tooltip micro-corner, below the 4px radius floor
|
|
113
114
|
backgroundColor: color,
|
|
114
115
|
flexShrink: 0
|
|
115
116
|
}
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { GuardKind } from '../guard/index.js';
|
|
1
2
|
import { RULE_NAMES, SKILL_NAMES } from '../surfaces.js';
|
|
2
3
|
/** Shape of the optional `"basalt"` key in a consumer's package.json. */
|
|
3
4
|
export type BasaltConfig = {
|
|
@@ -96,8 +97,23 @@ export type BasaltConfig = {
|
|
|
96
97
|
* `sub-16-input-font` check.
|
|
97
98
|
*/
|
|
98
99
|
sub16InputFont?: boolean;
|
|
99
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Path of the consumer's guard-exempt series file, for DESIGN.md `{{SERIES_MODULE_PATH}}`.
|
|
102
|
+
* Default: `<first basalt.root>/lib/series.ts` — see `resolveSeriesModulePath`.
|
|
103
|
+
*/
|
|
100
104
|
seriesModulePath?: string;
|
|
105
|
+
/**
|
|
106
|
+
* Per-rule, per-path exemptions — complements whole-file `exempt` (which skips ALL rules for a
|
|
107
|
+
* file) and the hardcoded per-kind `appliesTo` scoping (e.g. `raw-visx-axis` → chart files
|
|
108
|
+
* only). Each value is a list of path-segment patterns matched against a finding's relative
|
|
109
|
+
* path: a pattern matches when the path split on `/` includes it as a WHOLE segment (`'agent'`
|
|
110
|
+
* matches `src/agent/x.tsx` but not `src/agenting.ts`; a trailing `/` is stripped, so `'agent'`
|
|
111
|
+
* and `'agent/'` are equivalent). Default: `{}` (no exemptions).
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* { exemptRules: { 'inline-display': ['agent'] } } // inline-display never fires under src/agent/**
|
|
115
|
+
*/
|
|
116
|
+
exemptRules?: Partial<Record<GuardKind, string[]>>;
|
|
101
117
|
};
|
|
102
118
|
/**
|
|
103
119
|
* Theme guard — thin FS walker over the headless `../guard` core. Reads BasaltConfig, builds a
|
|
@@ -160,6 +176,8 @@ type TemplateVars = {
|
|
|
160
176
|
BASALT_VERSION: string;
|
|
161
177
|
ACCENT_HUE: string;
|
|
162
178
|
SERIES_MODULE_PATH: string;
|
|
179
|
+
/** The consumer's configured roots as space-separated quoted oxfmt globs, e.g. `'apps/web/src/**'`. */
|
|
180
|
+
ROOTS_GLOBS: string;
|
|
163
181
|
};
|
|
164
182
|
declare const MANIFEST_PATH = ".basalt/manifest.json";
|
|
165
183
|
/**
|
|
@@ -267,6 +285,8 @@ type DoctorResult = {
|
|
|
267
285
|
* stale).
|
|
268
286
|
* 3. The running CLI's own version matches the installed basalt-ui (catches a stale
|
|
269
287
|
* `bunx basalt-ui` npm fetch; best-effort, skipped if node_modules is absent).
|
|
288
|
+
* 4. `basaltAppPlugin`'s (basalt-ui/vite) default icon filenames exist under public/ (only when
|
|
289
|
+
* a public/ dir exists at all — skipped otherwise).
|
|
270
290
|
*
|
|
271
291
|
* Returns the exit code: 0 = all good, 1 = one or more hard failures.
|
|
272
292
|
*/
|
package/dist/cli/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"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"}
|
package/dist/cli/index.js
CHANGED
|
@@ -13,10 +13,21 @@ import { fileURLToPath } from "node:url";
|
|
|
13
13
|
import { checkSource, DEFAULT_GUARD_CONFIG, GUARD_RULES } from "../guard/index.js";
|
|
14
14
|
import { evaluateGuardHook } from "../guard/guard-hook.js";
|
|
15
15
|
import { RULE_NAMES, SKILL_NAMES, SURFACES, TOKEN_LAYER_BOUNDARY_SURFACES } from "../surfaces.js";
|
|
16
|
-
const
|
|
17
|
-
const
|
|
16
|
+
const DEFAULT_ROOT = "src";
|
|
17
|
+
const DEFAULT_ROOTS = [DEFAULT_ROOT];
|
|
18
|
+
function resolveRoots(cfg) {
|
|
19
|
+
return cfg.roots?.length ? cfg.roots : DEFAULT_ROOTS;
|
|
20
|
+
}
|
|
21
|
+
function resolveSeriesModulePath(cfg) {
|
|
22
|
+
if (cfg.seriesModulePath !== void 0) return cfg.seriesModulePath;
|
|
23
|
+
const [firstRoot = DEFAULT_ROOT] = resolveRoots(cfg);
|
|
24
|
+
return `${firstRoot}/lib/series.ts`;
|
|
25
|
+
}
|
|
26
|
+
function toRootGlob(root) {
|
|
27
|
+
return `'${root.replace(/'/g, `'\\''`)}/**'`;
|
|
28
|
+
}
|
|
18
29
|
function defaultExempt(cfg) {
|
|
19
|
-
return [cfg
|
|
30
|
+
return [resolveSeriesModulePath(cfg)];
|
|
20
31
|
}
|
|
21
32
|
const SKIP = /\.gen\.ts$|\.test\.[tj]sx?$|\.d\.ts$/;
|
|
22
33
|
const SERIES_MODULE_HINT_RE = /(series|palette)\.tsx?$/i;
|
|
@@ -28,7 +39,7 @@ function readBasaltConfig(cwd) {
|
|
|
28
39
|
return {};
|
|
29
40
|
}
|
|
30
41
|
}
|
|
31
|
-
function
|
|
42
|
+
function walkSourceFiles(dir, out = []) {
|
|
32
43
|
let entries;
|
|
33
44
|
try {
|
|
34
45
|
entries = readdirSync(dir);
|
|
@@ -44,8 +55,8 @@ function walkTsFiles(dir, out = []) {
|
|
|
44
55
|
} catch {
|
|
45
56
|
continue;
|
|
46
57
|
}
|
|
47
|
-
if (isDir)
|
|
48
|
-
else if (/\.tsx
|
|
58
|
+
if (isDir) walkSourceFiles(abs, out);
|
|
59
|
+
else if (/\.(?:tsx?|css)$/.test(name)) out.push(abs);
|
|
49
60
|
}
|
|
50
61
|
return out;
|
|
51
62
|
}
|
|
@@ -65,7 +76,8 @@ const GUARD_KIND_EXPLANATIONS = {
|
|
|
65
76
|
"raw-motion-value": "raw-motion-value: hardcoded duration/spring/ease in `transition={{...}}` \u2014 use MOTION_DURATION / MOTION_SPRING / MOTION_EASE_STANDARD instead.",
|
|
66
77
|
"unframed-chart": "unframed-chart: hand-rolled ChartLegend built from an inline array literal \u2014 pass a derived legend (deriveLegend(series)), or compose ChartFrame, which derives it for you.",
|
|
67
78
|
"raw-form-control": "raw-form-control: raw <input>/<select>/<textarea> bypasses the entire theme \u2014 use TextInput / NumberInput / Select / Textarea from @mantine/core.",
|
|
68
|
-
"sub-16-input-font": "sub-16-input-font: fontSize below 16 on a form control is dead code against the `!important` iOS floor in styles.css \u2014 drop the override or be honest about 16px."
|
|
79
|
+
"sub-16-input-font": "sub-16-input-font: fontSize below 16 on a form control is dead code against the `!important` iOS floor in styles.css \u2014 drop the override or be honest about 16px.",
|
|
80
|
+
"raw-font-family": "raw-font-family: route the font stack through createBasaltTheme(overrides, { fonts }) / the --basalt-font-sans|head|mono vars instead of a hardcoded fontFamily literal."
|
|
69
81
|
};
|
|
70
82
|
function checkTheme(cwd = process.cwd()) {
|
|
71
83
|
const cfg = readBasaltConfig(cwd);
|
|
@@ -87,12 +99,13 @@ function checkTheme(cwd = process.cwd()) {
|
|
|
87
99
|
chartMissingAriaLabel: cfg.chartMissingAriaLabel ?? DEFAULT_GUARD_CONFIG.chartMissingAriaLabel,
|
|
88
100
|
rawFormControl: cfg.rawFormControl ?? DEFAULT_GUARD_CONFIG.rawFormControl,
|
|
89
101
|
sub16InputFont: cfg.sub16InputFont ?? DEFAULT_GUARD_CONFIG.sub16InputFont,
|
|
90
|
-
allowComment: "theme-allow"
|
|
102
|
+
allowComment: "theme-allow",
|
|
103
|
+
exemptRules: cfg.exemptRules ?? DEFAULT_GUARD_CONFIG.exemptRules
|
|
91
104
|
};
|
|
92
105
|
const findings = [];
|
|
93
106
|
let scannedCount = 0;
|
|
94
107
|
for (const root of roots) {
|
|
95
|
-
for (const f of
|
|
108
|
+
for (const f of walkSourceFiles(resolve(cwd, root))) {
|
|
96
109
|
const rel = relative(cwd, f).replace(/\\/g, "/");
|
|
97
110
|
if (SKIP.test(rel) || exempt.has(rel)) continue;
|
|
98
111
|
scannedCount += 1;
|
|
@@ -180,7 +193,8 @@ function buildTemplateVars(pkgRoot, cwd, cfg) {
|
|
|
180
193
|
APP_NAME: readPackageName(cwd),
|
|
181
194
|
BASALT_VERSION: readFrameworkVersion(pkgRoot),
|
|
182
195
|
ACCENT_HUE: cfg.accentHue ?? "blue",
|
|
183
|
-
SERIES_MODULE_PATH: cfg
|
|
196
|
+
SERIES_MODULE_PATH: resolveSeriesModulePath(cfg),
|
|
197
|
+
ROOTS_GLOBS: resolveRoots(cfg).map(toRootGlob).join(" ")
|
|
184
198
|
};
|
|
185
199
|
}
|
|
186
200
|
function fillTemplate(tpl, vars) {
|
|
@@ -282,7 +296,11 @@ function managedFiles(peers) {
|
|
|
282
296
|
dest: ".github/workflows/check.yml",
|
|
283
297
|
mode: "seed",
|
|
284
298
|
source: "configs/check.yml",
|
|
285
|
-
render: (ctx) =>
|
|
299
|
+
render: (ctx) => {
|
|
300
|
+
const tpl = readSource(ctx.pkgRoot, "configs/check.yml");
|
|
301
|
+
if (tpl === null) return null;
|
|
302
|
+
return fillTemplate(tpl, ctx.vars);
|
|
303
|
+
}
|
|
286
304
|
};
|
|
287
305
|
const oxlintrc = {
|
|
288
306
|
dest: ".oxlintrc.json",
|
|
@@ -694,6 +712,25 @@ basalt-ui doctor \u2014 ${cwd}
|
|
|
694
712
|
pass(`CLI version (${cliVersion}) matches the installed basalt-ui in node_modules`);
|
|
695
713
|
}
|
|
696
714
|
}
|
|
715
|
+
const publicDir = resolve(cwd, "public");
|
|
716
|
+
if (existsSync(publicDir)) {
|
|
717
|
+
const iconFiles = [
|
|
718
|
+
"favicon.ico",
|
|
719
|
+
"favicon.svg",
|
|
720
|
+
"favicon-96x96.png",
|
|
721
|
+
"apple-touch-icon.png",
|
|
722
|
+
"web-app-manifest-192x192.png",
|
|
723
|
+
"web-app-manifest-512x512.png"
|
|
724
|
+
];
|
|
725
|
+
const missingIcons = iconFiles.filter((f) => !existsSync(resolve(publicDir, f)));
|
|
726
|
+
if (missingIcons.length > 0) {
|
|
727
|
+
warn(
|
|
728
|
+
`public/ is missing basaltAppPlugin icon file(s): ${missingIcons.join(", ")} \u2014 generate them (e.g. via realfavicongenerator.net) and place them at the public/ root.`
|
|
729
|
+
);
|
|
730
|
+
} else {
|
|
731
|
+
pass("public/ has all of basaltAppPlugin's default icon files");
|
|
732
|
+
}
|
|
733
|
+
}
|
|
697
734
|
lines.push("");
|
|
698
735
|
if (result.hardFailures === 0 && result.warnings === 0) {
|
|
699
736
|
lines.push("All checks passed.");
|
|
@@ -819,7 +856,8 @@ async function guardHook(cwd = process.cwd()) {
|
|
|
819
856
|
chartMissingAriaLabel: cfg.chartMissingAriaLabel ?? DEFAULT_GUARD_CONFIG.chartMissingAriaLabel,
|
|
820
857
|
rawFormControl: cfg.rawFormControl ?? DEFAULT_GUARD_CONFIG.rawFormControl,
|
|
821
858
|
sub16InputFont: cfg.sub16InputFont ?? DEFAULT_GUARD_CONFIG.sub16InputFont,
|
|
822
|
-
allowComment: "theme-allow"
|
|
859
|
+
allowComment: "theme-allow",
|
|
860
|
+
exemptRules: cfg.exemptRules ?? DEFAULT_GUARD_CONFIG.exemptRules
|
|
823
861
|
};
|
|
824
862
|
const roots = cfg.roots ?? DEFAULT_ROOTS;
|
|
825
863
|
const exempt = new Set(cfg.exempt ?? defaultExempt(cfg));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectivity-indicator.d.ts","sourceRoot":"","sources":["../../src/connectivity/connectivity-indicator.tsx"],"names":[],"mappings":"AA0KA;;;;;GAKG;AACH,wBAAgB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"connectivity-indicator.d.ts","sourceRoot":"","sources":["../../src/connectivity/connectivity-indicator.tsx"],"names":[],"mappings":"AA0KA;;;;;GAKG;AACH,wBAAgB,qBAAqB,gCA8EpC"}
|
|
@@ -149,7 +149,7 @@ function ConnectivityIndicator() {
|
|
|
149
149
|
{
|
|
150
150
|
variant: "transparent",
|
|
151
151
|
color: ICON_COLOR[status],
|
|
152
|
-
size:
|
|
152
|
+
size: 28,
|
|
153
153
|
onClick: toggle,
|
|
154
154
|
onMouseEnter: scheduleOpen,
|
|
155
155
|
onMouseLeave: scheduleClose,
|
|
@@ -174,14 +174,14 @@ function ConnectivityIndicator() {
|
|
|
174
174
|
Badge,
|
|
175
175
|
{
|
|
176
176
|
size: "sm",
|
|
177
|
-
radius: 6,
|
|
178
177
|
styles: {
|
|
179
178
|
root: {
|
|
180
179
|
backgroundColor: alpha(statusCfg.token, 0.13),
|
|
181
180
|
color: statusCfg.token,
|
|
182
181
|
fontFamily: "var(--basalt-font-mono)",
|
|
183
182
|
fontWeight: 600,
|
|
184
|
-
fontSize: VX.text.xs
|
|
183
|
+
fontSize: VX.text.xs,
|
|
184
|
+
borderRadius: "var(--vx-radius-ctrl)"
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
children: statusCfg.label
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
.card {
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
10
|
-
gap:
|
|
10
|
+
gap: var(--vx-space-stack-sm);
|
|
11
11
|
text-decoration: none;
|
|
12
12
|
color: inherit;
|
|
13
13
|
}
|
|
@@ -50,6 +50,8 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.clickable:focus-visible {
|
|
53
|
+
/* Focus-ring width/offset — paired with (and sized off) the outline's own 2px stroke, not a
|
|
54
|
+
* spacing gap; out of scope like a border-shorthand width. */
|
|
53
55
|
outline: 2px solid var(--vx-accent);
|
|
54
56
|
outline-offset: 2px;
|
|
55
57
|
}
|
|
@@ -83,12 +85,12 @@
|
|
|
83
85
|
.tags {
|
|
84
86
|
display: flex;
|
|
85
87
|
flex-wrap: wrap;
|
|
86
|
-
gap:
|
|
88
|
+
gap: var(--vx-space-article-card-tags-gap);
|
|
87
89
|
}
|
|
88
90
|
|
|
89
91
|
.tag {
|
|
90
|
-
padding:
|
|
91
|
-
border-radius:
|
|
92
|
+
padding: var(--vx-space-article-card-tag-inset-y) var(--vx-space-article-card-tag-inset-x);
|
|
93
|
+
border-radius: var(--vx-radius-fine);
|
|
92
94
|
background-color: color-mix(in srgb, var(--vx-ink) 6%, transparent);
|
|
93
95
|
color: var(--vx-muted);
|
|
94
96
|
font-size: var(--vx-text-micro);
|
|
@@ -100,7 +102,7 @@
|
|
|
100
102
|
* meta baseline regardless of how many lines each description clamps to. */
|
|
101
103
|
.meta {
|
|
102
104
|
margin-top: auto;
|
|
103
|
-
padding-top:
|
|
105
|
+
padding-top: var(--vx-space-article-card-meta-gap-top);
|
|
104
106
|
font-family: var(--basalt-font-mono);
|
|
105
107
|
font-size: var(--vx-text-micro);
|
|
106
108
|
letter-spacing: 0.06em;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
.root {
|
|
10
10
|
display: grid;
|
|
11
|
-
grid-template-columns: minmax(0, var(--vx-prose-measure))
|
|
11
|
+
grid-template-columns: minmax(0, var(--vx-prose-measure)) var(--vx-space-article-toc-rail-width);
|
|
12
12
|
justify-content: center;
|
|
13
|
-
column-gap:
|
|
13
|
+
column-gap: var(--vx-space-article-column-gap);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.root.noToc {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
grid-column: 1;
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
|
-
gap:
|
|
35
|
-
padding-bottom:
|
|
36
|
-
margin-bottom:
|
|
34
|
+
gap: var(--vx-space-article-header-gap);
|
|
35
|
+
padding-bottom: var(--vx-space-article-header-padding-bottom);
|
|
36
|
+
margin-bottom: var(--vx-space-article-header-margin-bottom);
|
|
37
37
|
border-bottom: 1px solid var(--vx-divider);
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
.metaRow {
|
|
57
57
|
display: flex;
|
|
58
58
|
align-items: center;
|
|
59
|
-
gap:
|
|
59
|
+
gap: var(--vx-space-article-meta-row-gap);
|
|
60
60
|
font-family: var(--basalt-font-mono);
|
|
61
61
|
font-size: var(--vx-text-micro);
|
|
62
62
|
letter-spacing: 0.06em;
|
|
@@ -72,7 +72,11 @@
|
|
|
72
72
|
.tocRail {
|
|
73
73
|
grid-column: 2;
|
|
74
74
|
position: sticky;
|
|
75
|
-
|
|
75
|
+
/* DESKTOP-only value on purpose (no `< sm` override needed): the rail is already `display: none`
|
|
76
|
+
* below the 1200px `@media` breakpoint just above, well above the `sm` (48em/768px) breakpoint
|
|
77
|
+
* that switches BasaltShell's header — and, by extension, this clearance — to its mobile value
|
|
78
|
+
* (see `content/prose.module.css` for the responsive split; docs/CONTENT-SPEC.md §5). */
|
|
79
|
+
top: var(--vx-space-sticky-header-clearance);
|
|
76
80
|
align-self: start;
|
|
77
81
|
}
|
|
78
82
|
|
|
@@ -80,9 +84,9 @@
|
|
|
80
84
|
grid-column: 1;
|
|
81
85
|
display: grid;
|
|
82
86
|
grid-template-columns: 1fr 1fr;
|
|
83
|
-
gap:
|
|
84
|
-
margin-top:
|
|
85
|
-
padding-top:
|
|
87
|
+
gap: var(--vx-space-article-footer-gap);
|
|
88
|
+
margin-top: var(--vx-space-article-footer-margin-top);
|
|
89
|
+
padding-top: var(--vx-space-article-footer-padding-top);
|
|
86
90
|
border-top: 1px solid var(--vx-divider);
|
|
87
91
|
}
|
|
88
92
|
|
|
@@ -96,7 +100,7 @@
|
|
|
96
100
|
.navCell {
|
|
97
101
|
display: flex;
|
|
98
102
|
flex-direction: column;
|
|
99
|
-
gap:
|
|
103
|
+
gap: var(--vx-space-stack-xs);
|
|
100
104
|
text-decoration: none;
|
|
101
105
|
color: inherit;
|
|
102
106
|
}
|
|
@@ -117,7 +121,7 @@
|
|
|
117
121
|
.navTarget {
|
|
118
122
|
display: flex;
|
|
119
123
|
align-items: center;
|
|
120
|
-
gap:
|
|
124
|
+
gap: var(--vx-space-article-nav-target-gap);
|
|
121
125
|
font-family: var(--basalt-font-head);
|
|
122
126
|
font-stretch: 88%;
|
|
123
127
|
font-weight: 550;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
.root {
|
|
8
8
|
border-radius: var(--vx-radius-card);
|
|
9
|
-
padding:
|
|
9
|
+
padding: var(--vx-space-callout-inset-y) var(--vx-space-callout-inset-x);
|
|
10
10
|
border-left: 2px solid var(--callout-ink);
|
|
11
11
|
background: color-mix(in srgb, var(--callout-ink) 8%, transparent);
|
|
12
12
|
}
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
.titleRow {
|
|
39
39
|
display: flex;
|
|
40
40
|
align-items: center;
|
|
41
|
-
gap:
|
|
42
|
-
margin-bottom:
|
|
41
|
+
gap: var(--vx-space-callout-title-row-gap);
|
|
42
|
+
margin-bottom: var(--vx-space-stack-xs);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.icon {
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.body p {
|
|
76
|
-
margin: 0 0
|
|
76
|
+
margin: 0 0 var(--vx-space-stack-sm);
|
|
77
77
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
.container {
|
|
8
8
|
position: relative;
|
|
9
|
-
border-radius:
|
|
9
|
+
border-radius: var(--vx-radius-floating);
|
|
10
10
|
background-color: color-mix(in srgb, var(--vx-ink) 6%, transparent);
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
}
|
|
@@ -15,8 +15,9 @@
|
|
|
15
15
|
display: flex;
|
|
16
16
|
align-items: center;
|
|
17
17
|
justify-content: space-between;
|
|
18
|
-
gap:
|
|
19
|
-
padding:
|
|
18
|
+
gap: var(--vx-space-code-block-header-gap);
|
|
19
|
+
padding: var(--vx-space-code-block-header-inset-y) var(--vx-space-code-block-header-inset-right)
|
|
20
|
+
var(--vx-space-code-block-header-inset-y) var(--vx-space-code-block-content-inset-x);
|
|
20
21
|
border-bottom: 1px solid var(--vx-divider);
|
|
21
22
|
}
|
|
22
23
|
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
.headerRight {
|
|
33
34
|
display: flex;
|
|
34
35
|
align-items: center;
|
|
35
|
-
gap:
|
|
36
|
+
gap: var(--vx-space-code-block-header-right-gap);
|
|
36
37
|
flex-shrink: 0;
|
|
37
38
|
}
|
|
38
39
|
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
font-family: var(--basalt-font-mono);
|
|
52
53
|
font-size: var(--vx-text-sm);
|
|
53
54
|
line-height: 1.6;
|
|
54
|
-
padding:
|
|
55
|
+
padding: var(--vx-space-code-block-body-inset-y) var(--vx-space-code-block-content-inset-x);
|
|
55
56
|
overflow-x: auto;
|
|
56
57
|
}
|
|
57
58
|
|
|
@@ -74,8 +75,8 @@ html[data-mantine-color-scheme='light'] .body :global(.shiki span) {
|
|
|
74
75
|
/* Floating copy button — shown only when there is no header (no title), revealed on hover/focus. */
|
|
75
76
|
.floatingCopy {
|
|
76
77
|
position: absolute;
|
|
77
|
-
top:
|
|
78
|
-
right:
|
|
78
|
+
top: var(--vx-space-code-block-floating-copy-offset);
|
|
79
|
+
right: var(--vx-space-code-block-floating-copy-offset);
|
|
79
80
|
opacity: 0;
|
|
80
81
|
transition: opacity 120ms ease;
|
|
81
82
|
}
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.body {
|
|
16
|
-
padding-bottom:
|
|
16
|
+
padding-bottom: var(--vx-space-guide-body-gap-bottom);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.footer {
|
|
20
|
-
margin-top:
|
|
21
|
-
padding-top:
|
|
20
|
+
margin-top: var(--vx-space-guide-footer-gap-top);
|
|
21
|
+
padding-top: var(--vx-space-guide-footer-inset-top);
|
|
22
22
|
border-top: 1px solid var(--vx-divider);
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
.container {
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: center;
|
|
11
|
-
border-radius:
|
|
11
|
+
border-radius: var(--vx-radius-floating);
|
|
12
12
|
background-color: color-mix(in srgb, var(--vx-ink) 6%, transparent);
|
|
13
|
-
padding:
|
|
13
|
+
padding: var(--vx-space-mermaid-container-inset);
|
|
14
14
|
overflow-x: auto;
|
|
15
15
|
}
|
|
16
16
|
|