@adminiumjs/tokens 0.2.9 → 0.3.0-rc.1

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/LICENSES/FONTS.md CHANGED
@@ -14,4 +14,5 @@ and applies to the copies in `src/fonts/`. The fonts are unmodified upstream bui
14
14
  permits bundling and redistribution with attribution and prohibits selling the fonts standalone.
15
15
 
16
16
  CJK locales (`zh_CN`/`zh_TW`) intentionally use system font stacks (see `src/fonts.css`) and vendor
17
- no CJK fonts — see 02-design-system.md §2.4 and 11-electron.md Open decisions.
17
+ no CJK fonts: the system stacks are better than anything that could be shipped at a
18
+ size an installer can carry.
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @adminium/tokens — JS-side constants for the four theming axes plus the pre-hydration
3
- * script. CSS custom properties live in the sibling .css files; these exports exist so
3
+ * script. CSS custom properties live in the sibling.css files; these exports exist so
4
4
  * ThemeProvider, Storybook toolbars, charts and the desktop shell never hard-code axis
5
- * values. See 02-design-system.md §2.5.
5
+ * values.
6
6
  */
7
7
  /** Theme axis. `system` resolves via `matchMedia("(prefers-color-scheme: dark)")`. */
8
8
  export declare const THEMES: readonly ["light", "dark", "system"];
@@ -82,7 +82,7 @@ export declare const STORAGE_KEYS: {
82
82
  readonly locale: "adminium-locale";
83
83
  readonly dir: "adminium-dir";
84
84
  };
85
- /** Baseline of the preference resolution order (BRIEF §7). */
85
+ /** Baseline of the preference resolution order (BRIEF). */
86
86
  export declare const DEFAULT_PREFS: {
87
87
  readonly theme: "system";
88
88
  readonly accent: "indigo";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AAEH,sFAAsF;AACtF,eAAO,MAAM,MAAM,sCAAuC,CAAC;AAC3D,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;AAChD,0D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,GAAG,OAAO,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AAEzD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,OAAO;;;;;;;;;CASV,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;CASf,CAAC;AAEX,+BAA+B;AAC/B,MAAM,MAAM,MAAM,GAAG,MAAM,OAAO,OAAO,CAAC;AAE1C,4DAA4D;AAC5D,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,GAAG,MAAM,CAEtE;AAED,qCAAqC;AACrC,eAAO,MAAM,SAAS,qCAAsC,CAAC;AAC7D,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjD,4EAA4E;AAC5E,eAAO,MAAM,IAAI,yBAA0B,CAAC;AAC5C,MAAM,MAAM,GAAG,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;AAExC,mFAAmF;AACnF,eAAO,MAAM,WAAW,mGASd,CAAC;AAEX,uEAAuE;AACvE,eAAO,MAAM,eAAe,4CAA6C,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;;;CAMnB,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;CAMf,CAAC;AAEX,2DAA2D;AAC3D,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AAEX,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  // SPDX-License-Identifier: AGPL-3.0-only
2
2
  /**
3
3
  * @adminium/tokens — JS-side constants for the four theming axes plus the pre-hydration
4
- * script. CSS custom properties live in the sibling .css files; these exports exist so
4
+ * script. CSS custom properties live in the sibling.css files; these exports exist so
5
5
  * ThemeProvider, Storybook toolbars, charts and the desktop shell never hard-code axis
6
- * values. See 02-design-system.md §2.5.
6
+ * values.
7
7
  */
8
8
  /** Theme axis. `system` resolves via `matchMedia("(prefers-color-scheme: dark)")`. */
9
9
  export const THEMES = ["light", "dark", "system"];
@@ -87,7 +87,7 @@ export const STORAGE_KEYS = {
87
87
  locale: "adminium-locale",
88
88
  dir: "adminium-dir",
89
89
  };
90
- /** Baseline of the preference resolution order (BRIEF §7). */
90
+ /** Baseline of the preference resolution order (BRIEF). */
91
91
  export const DEFAULT_PREFS = {
92
92
  theme: "system",
93
93
  accent: "indigo",
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC;;;;;GAKG;AAEH,sFAAsF;AACtF,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAU,CAAC;AAK3D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM,EAAE,SAAS;IACjB,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,SAAS;IACjB,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,SAAS;IACd,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,SAAS;CACR,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM,EAAE,SAAS;IACjB,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,SAAS;IACjB,IAAI,EAAE,SAAS;IACf,GAAG,EAAE,SAAS;IACd,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,SAAS;CACR,CAAC;AAKX,4DAA4D;AAC5D,MAAM,UAAU,SAAS,CAAC,MAAc,EAAE,KAAoB;IAC5D,OAAO,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AACnE,CA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,GAAG;IAC9B,KAAK,EAAE,YAAY;IACnB,MAAM,EAAE,aAAa;IACrB,OAAO,EAAE,cAAc;IACvB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAEX;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,iBAAiB;IACzB,OAAO,EAAE,kBAAkB;IAC3B,MAAM,EAAE,iBAAiB;IACzB,GAAG,EAAE,cAAc;CACX,CAAC;AAEX,2DAA2D;AAC3D,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,aAAa;IACtB,MAAM,EAAE,OAAO;CACP,CAAC;AAEX,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Pre-hydration script — flash prevention. See 02-design-system.md §4.3.
2
+ * Pre-hydration script — flash prevention.
3
3
  *
4
4
  * Inlined (as a string) as the FIRST <script> in <head> of apps/dashboard/index.html,
5
5
  * the Electron renderer HTML and Storybook's preview-head.html, before any stylesheet
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: AGPL-3.0-only
2
2
  /**
3
- * Pre-hydration script — flash prevention. See 02-design-system.md §4.3.
3
+ * Pre-hydration script — flash prevention.
4
4
  *
5
5
  * Inlined (as a string) as the FIRST <script> in <head> of apps/dashboard/index.html,
6
6
  * the Electron renderer HTML and Storybook's preview-head.html, before any stylesheet
@@ -23,6 +23,6 @@ export const preHydrationScript = '(function(){try{var d=document.documentElemen
23
23
  'var l=s.getItem("adminium-locale");' +
24
24
  // split/join, not replace: `replace("_","-")` swaps only the FIRST
25
25
  // underscore, so a three-subtag id like `zh_Hant_TW` would stamp the invalid
26
- // tag `zh-Hant_TW` (23 §5.5).
26
+ // tag `zh-Hant_TW`.
27
27
  'if(l)d.setAttribute("lang",l.split("_").join("-"))}catch(e){}})();';
28
28
  //# sourceMappingURL=pre-hydration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pre-hydration.js","sourceRoot":"","sources":["../src/pre-hydration.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC7B,gEAAgE;IAChE,8CAA8C;IAC9C,sFAAsF;IACtF,iCAAiC;IACjC,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,2CAA2C;IAC3C,qCAAqC;IACrC,mEAAmE;IACnE,6EAA6E;IAC7E,8BAA8B;IAC9B,oEAAoE,CAAC"}
1
+ {"version":3,"file":"pre-hydration.js","sourceRoot":"","sources":["../src/pre-hydration.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC7B,gEAAgE;IAChE,8CAA8C;IAC9C,sFAAsF;IACtF,iCAAiC;IACjC,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,2CAA2C;IAC3C,qCAAqC;IACrC,mEAAmE;IACnE,6EAA6E;IAC7E,oBAAoB;IACpB,oEAAoE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminiumjs/tokens",
3
- "version": "0.2.9",
3
+ "version": "0.3.0-rc.1",
4
4
  "license": "AGPL-3.0-only",
5
5
  "repository": {
6
6
  "type": "git",
package/src/accents.css CHANGED
@@ -1,4 +1,4 @@
1
- /* @adminium/tokens — accent palettes + derived accent tokens. See 02-design-system.md §1.2/§2.3.
1
+ /* @adminium/tokens — accent palettes + derived accent tokens.
2
2
  Everything accent-derived is computed from the single --accent hex; switching data-accent
3
3
  swaps the light/dark pair below, from which the theme resolves that one hex. Derivation
4
4
  recipes are defined here once, never re-derived in components.
@@ -51,7 +51,7 @@
51
51
  and it would put a theme-and-accent conditional back into the token layer. One --accent-fg per
52
52
  theme keeps the contract "components read --accent and --accent-fg, full stop".
53
53
 
54
- THE BLACK ACCENT ON DARK — the documented override called for in 15-quality.md.
54
+ THE BLACK ACCENT ON DARK — the documented override called for.
55
55
  `black` is the neutral/monochrome accent: it means "no hue, the strongest neutral this theme
56
56
  can carry", not literally the colour black. In light that resolves to #111111 (18.88:1 on
57
57
  --surface). In dark it cannot: #111111 is 1.03:1 on --surface #141419 — invisible as a focus
package/src/density.css CHANGED
@@ -1,4 +1,4 @@
1
- /* @adminium/tokens — density axis (data-density). See 02-design-system.md §1.8.
1
+ /* @adminium/tokens — density axis (data-density).
2
2
  Two canonical densities; the comps' third "power" density is deliberately dropped. */
3
3
  :root,
4
4
  [data-density="comfortable"] {
@@ -1,4 +1,4 @@
1
- /* @adminium/tokens — canonical theming exceptions. See 02-design-system.md §6.
1
+ /* @adminium/tokens — canonical theming exceptions.
2
2
  Two deliberate breaks from the active theme, implemented as scope classes that re-declare
3
3
  the full token set on a subtree (token cascade does the rest — children need no changes).
4
4
  These scopes copy canonical hand-tuned values; they do not derive them.
package/src/fonts.css CHANGED
@@ -1,4 +1,4 @@
1
- /* @adminium/tokens — @font-face + per-locale family stacks. See 02-design-system.md §2.4.
1
+ /* @adminium/tokens — @font-face + per-locale family stacks.
2
2
  Font binaries are unmodified upstream builds vendored from @fontsource packages into ./fonts/
3
3
  by scripts/copy-fonts.mjs (never subset locally — "Plex" is an OFL Reserved Font Name).
4
4
  CJK is not self-hosted; zh_CN/zh_TW use system fallback stacks (v1 policy). */
package/src/index.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  // SPDX-License-Identifier: AGPL-3.0-only
2
2
  /**
3
3
  * @adminium/tokens — JS-side constants for the four theming axes plus the pre-hydration
4
- * script. CSS custom properties live in the sibling .css files; these exports exist so
4
+ * script. CSS custom properties live in the sibling.css files; these exports exist so
5
5
  * ThemeProvider, Storybook toolbars, charts and the desktop shell never hard-code axis
6
- * values. See 02-design-system.md §2.5.
6
+ * values.
7
7
  */
8
8
 
9
9
  /** Theme axis. `system` resolves via `matchMedia("(prefers-color-scheme: dark)")`. */
@@ -106,7 +106,7 @@ export const STORAGE_KEYS = {
106
106
  dir: "adminium-dir",
107
107
  } as const;
108
108
 
109
- /** Baseline of the preference resolution order (BRIEF §7). */
109
+ /** Baseline of the preference resolution order (BRIEF). */
110
110
  export const DEFAULT_PREFS = {
111
111
  theme: "system",
112
112
  accent: "indigo",
package/src/motion.css CHANGED
@@ -1,4 +1,4 @@
1
- /* @adminium/tokens — motion vocabulary. See 02-design-system.md §5.
1
+ /* @adminium/tokens — motion vocabulary.
2
2
  Keyframe names keep the comps' nb- prefix for 1:1 traceability when porting.
3
3
  Conventions: micro-transitions .1–.16s ease; entrances use cubic-bezier(.2,.7,.3,1). */
4
4
 
@@ -198,7 +198,7 @@
198
198
  }
199
199
 
200
200
  /* A bottom sheet rising into place — the Export Builder comp's phone-width
201
- column browser (41-export-builder.md D13). */
201
+ column browser. */
202
202
  @keyframes nb-sheetup {
203
203
  from { transform: translateY(100%); }
204
204
  to { transform: none; }
@@ -1,6 +1,6 @@
1
1
  // SPDX-License-Identifier: AGPL-3.0-only
2
2
  /**
3
- * Pre-hydration script — flash prevention. See 02-design-system.md §4.3.
3
+ * Pre-hydration script — flash prevention.
4
4
  *
5
5
  * Inlined (as a string) as the FIRST <script> in <head> of apps/dashboard/index.html,
6
6
  * the Electron renderer HTML and Storybook's preview-head.html, before any stylesheet
@@ -24,5 +24,5 @@ export const preHydrationScript =
24
24
  'var l=s.getItem("adminium-locale");' +
25
25
  // split/join, not replace: `replace("_","-")` swaps only the FIRST
26
26
  // underscore, so a three-subtag id like `zh_Hant_TW` would stamp the invalid
27
- // tag `zh-Hant_TW` (23 §5.5).
27
+ // tag `zh-Hant_TW`.
28
28
  'if(l)d.setAttribute("lang",l.split("_").join("-"))}catch(e){}})();';
package/src/tailwind.css CHANGED
@@ -1,4 +1,4 @@
1
- /* @adminium/tokens — Tailwind v4 theme mapping. See 02-design-system.md §3.1.
1
+ /* @adminium/tokens — Tailwind v4 theme mapping.
2
2
  Import order in each app's entry CSS:
3
3
  @import "tailwindcss";
4
4
  @import "@adminium/tokens/index.css";
@@ -54,7 +54,7 @@
54
54
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
55
55
  --font-arabic: "IBM Plex Sans Arabic", "Manrope", system-ui, sans-serif;
56
56
 
57
- /* type scale (§1.4) → text-display, text-title, … */
57
+ /* type scale → text-display, text-title, … */
58
58
  --text-display: 30px; --text-display--font-weight: 800; --text-display--letter-spacing: -0.03em;
59
59
  --text-title: 20px; --text-title--font-weight: 800; --text-title--letter-spacing: -0.02em;
60
60
  --text-modal: 16.5px; --text-modal--font-weight: 800;
@@ -73,7 +73,7 @@
73
73
  --spacing-sidebar: 256px;
74
74
  --container-form: 640px; --container-narrow: 720px; --container-page: 1080px;
75
75
  --container-marketing: 1160px; --container-wide: 1200px; --container-max: 1360px; --container-widest: 1800px;
76
- /* The email editor's canvas column (39-email-templates-and-campaigns.md D15): the comp's 680. */
76
+ /* The email editor's canvas column: the comp's 680. */
77
77
  --container-email: 680px;
78
78
  /* A reading column for a short stack of controls rather than a grid. Wide
79
79
  enough for a two-up field row, narrow enough that a lone label does not run
package/src/tokens.css CHANGED
@@ -1,4 +1,4 @@
1
- /* @adminium/tokens — core semantic tokens. Values are canonical; see 02-design-system.md §1.1.
1
+ /* @adminium/tokens — core semantic tokens. These values are canonical.
2
2
  The dark NEUTRAL palette in this file is authored independently of the light one, not derived
3
3
  from it: the light/dark OKLCH lightness pairs sum to 1.120-1.223 (--bg 1.120, --surface 1.194,
4
4
  --surface-3 1.223, --fg 1.184, --fg-muted 1.196, --fg-subtle 1.184), so no inversion, offset or other single
package/src/viz.css CHANGED
@@ -1,4 +1,4 @@
1
- /* @adminium/tokens — data-viz palette. See 02-design-system.md §1.3.
1
+ /* @adminium/tokens — data-viz palette.
2
2
  Fixed 8-color categorical palette (order canonical; series i gets --viz-((i mod 8)+1)),
3
3
  sequential accent ramp for heatmaps/choropleth intensity, and chart area/ribbon fill.
4
4
  @adminium/charts consumes only these vars — no hex literals in chart code. */