@meetreeve/ui 0.14.0 → 0.16.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/README.md +41 -0
- package/dist/index.d.mts +31 -1
- package/dist/index.d.ts +31 -1
- package/dist/index.js +53 -9
- package/dist/index.mjs +52 -9
- package/dist/stage-rail/index.d.mts +173 -0
- package/dist/stage-rail/index.d.ts +173 -0
- package/dist/stage-rail/index.js +3814 -0
- package/dist/stage-rail/index.mjs +3783 -0
- package/dist/tokens/index.d.mts +12 -1
- package/dist/tokens/index.d.ts +12 -1
- package/dist/tokens/index.js +8 -0
- package/dist/tokens/index.mjs +7 -0
- package/dist/tokens.css +5 -1
- package/package.json +7 -2
package/dist/tokens/index.d.mts
CHANGED
|
@@ -25,6 +25,17 @@ declare const BREAKPOINTS: {
|
|
|
25
25
|
/** Tailwind `md` — the header switches to its full desktop layout at/above this. */
|
|
26
26
|
readonly md: 768;
|
|
27
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* StageRail spacing (DEV-13855). Mirrored as `--mf-stage-*` in tokens.css; the
|
|
30
|
+
* rail reads them with these values as `var()` fallbacks, so it lays out the
|
|
31
|
+
* same whether or not the consumer imports the sheet.
|
|
32
|
+
*/
|
|
33
|
+
declare const STAGE_RAIL: {
|
|
34
|
+
/** Minimum width of the gap column between two slots, px. */
|
|
35
|
+
readonly gap: 24;
|
|
36
|
+
/** Height of the ruler row above the slots, px. */
|
|
37
|
+
readonly rulerHeight: 24;
|
|
38
|
+
};
|
|
28
39
|
type MinSizeToken = keyof typeof MIN_SIZES;
|
|
29
40
|
type Breakpoint = keyof typeof BREAKPOINTS;
|
|
30
41
|
/**
|
|
@@ -42,4 +53,4 @@ declare const TOUCH_TARGET_STYLE: {
|
|
|
42
53
|
readonly minHeight: 44;
|
|
43
54
|
};
|
|
44
55
|
|
|
45
|
-
export { BREAKPOINTS, type Breakpoint, MIN_SIZES, type MinSizeToken, TOUCH_TARGET_STYLE };
|
|
56
|
+
export { BREAKPOINTS, type Breakpoint, MIN_SIZES, type MinSizeToken, STAGE_RAIL, TOUCH_TARGET_STYLE };
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -25,6 +25,17 @@ declare const BREAKPOINTS: {
|
|
|
25
25
|
/** Tailwind `md` — the header switches to its full desktop layout at/above this. */
|
|
26
26
|
readonly md: 768;
|
|
27
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* StageRail spacing (DEV-13855). Mirrored as `--mf-stage-*` in tokens.css; the
|
|
30
|
+
* rail reads them with these values as `var()` fallbacks, so it lays out the
|
|
31
|
+
* same whether or not the consumer imports the sheet.
|
|
32
|
+
*/
|
|
33
|
+
declare const STAGE_RAIL: {
|
|
34
|
+
/** Minimum width of the gap column between two slots, px. */
|
|
35
|
+
readonly gap: 24;
|
|
36
|
+
/** Height of the ruler row above the slots, px. */
|
|
37
|
+
readonly rulerHeight: 24;
|
|
38
|
+
};
|
|
28
39
|
type MinSizeToken = keyof typeof MIN_SIZES;
|
|
29
40
|
type Breakpoint = keyof typeof BREAKPOINTS;
|
|
30
41
|
/**
|
|
@@ -42,4 +53,4 @@ declare const TOUCH_TARGET_STYLE: {
|
|
|
42
53
|
readonly minHeight: 44;
|
|
43
54
|
};
|
|
44
55
|
|
|
45
|
-
export { BREAKPOINTS, type Breakpoint, MIN_SIZES, type MinSizeToken, TOUCH_TARGET_STYLE };
|
|
56
|
+
export { BREAKPOINTS, type Breakpoint, MIN_SIZES, type MinSizeToken, STAGE_RAIL, TOUCH_TARGET_STYLE };
|
package/dist/tokens/index.js
CHANGED
|
@@ -22,6 +22,7 @@ var tokens_exports = {};
|
|
|
22
22
|
__export(tokens_exports, {
|
|
23
23
|
BREAKPOINTS: () => BREAKPOINTS,
|
|
24
24
|
MIN_SIZES: () => MIN_SIZES,
|
|
25
|
+
STAGE_RAIL: () => STAGE_RAIL,
|
|
25
26
|
TOUCH_TARGET_STYLE: () => TOUCH_TARGET_STYLE
|
|
26
27
|
});
|
|
27
28
|
module.exports = __toCommonJS(tokens_exports);
|
|
@@ -43,6 +44,12 @@ var BREAKPOINTS = {
|
|
|
43
44
|
/** Tailwind `md` — the header switches to its full desktop layout at/above this. */
|
|
44
45
|
md: 768
|
|
45
46
|
};
|
|
47
|
+
var STAGE_RAIL = {
|
|
48
|
+
/** Minimum width of the gap column between two slots, px. */
|
|
49
|
+
gap: 24,
|
|
50
|
+
/** Height of the ruler row above the slots, px. */
|
|
51
|
+
rulerHeight: 24
|
|
52
|
+
};
|
|
46
53
|
var TOUCH_TARGET_STYLE = {
|
|
47
54
|
minWidth: MIN_SIZES.touchTarget,
|
|
48
55
|
minHeight: MIN_SIZES.touchTarget
|
|
@@ -51,5 +58,6 @@ var TOUCH_TARGET_STYLE = {
|
|
|
51
58
|
0 && (module.exports = {
|
|
52
59
|
BREAKPOINTS,
|
|
53
60
|
MIN_SIZES,
|
|
61
|
+
STAGE_RAIL,
|
|
54
62
|
TOUCH_TARGET_STYLE
|
|
55
63
|
});
|
package/dist/tokens/index.mjs
CHANGED
|
@@ -17,6 +17,12 @@ var BREAKPOINTS = {
|
|
|
17
17
|
/** Tailwind `md` — the header switches to its full desktop layout at/above this. */
|
|
18
18
|
md: 768
|
|
19
19
|
};
|
|
20
|
+
var STAGE_RAIL = {
|
|
21
|
+
/** Minimum width of the gap column between two slots, px. */
|
|
22
|
+
gap: 24,
|
|
23
|
+
/** Height of the ruler row above the slots, px. */
|
|
24
|
+
rulerHeight: 24
|
|
25
|
+
};
|
|
20
26
|
var TOUCH_TARGET_STYLE = {
|
|
21
27
|
minWidth: MIN_SIZES.touchTarget,
|
|
22
28
|
minHeight: MIN_SIZES.touchTarget
|
|
@@ -24,5 +30,6 @@ var TOUCH_TARGET_STYLE = {
|
|
|
24
30
|
export {
|
|
25
31
|
BREAKPOINTS,
|
|
26
32
|
MIN_SIZES,
|
|
33
|
+
STAGE_RAIL,
|
|
27
34
|
TOUCH_TARGET_STYLE
|
|
28
35
|
};
|
package/dist/tokens.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Import once, after `@import "tailwindcss";`, in your global stylesheet:
|
|
5
5
|
* @import "@meetreeve/ui/tokens.css";
|
|
6
6
|
*
|
|
7
|
-
* Values mirror MIN_SIZES / BREAKPOINTS in ./tokens.ts. The `--breakpoint-*`
|
|
7
|
+
* Values mirror MIN_SIZES / STAGE_RAIL / BREAKPOINTS in ./tokens.ts. The `--breakpoint-*`
|
|
8
8
|
* entries reaffirm Tailwind's own sm/md defaults so the JS and CSS agree.
|
|
9
9
|
*
|
|
10
10
|
* `@theme static` (not plain `@theme`): Tailwind v4 tree-shakes theme variables
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
--mf-min-control: 44px;
|
|
20
20
|
--mf-wordmark-max-width: 180px;
|
|
21
21
|
|
|
22
|
+
/* StageRail spacing (DEV-13855) — mirrors STAGE_RAIL in ./tokens.ts. */
|
|
23
|
+
--mf-stage-gap: 24px;
|
|
24
|
+
--mf-stage-ruler-height: 24px;
|
|
25
|
+
|
|
22
26
|
/* Breakpoints aligned to Tailwind defaults. */
|
|
23
27
|
--breakpoint-sm: 640px;
|
|
24
28
|
--breakpoint-md: 768px;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meetreeve/ui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Shared brand-adaptive UI primitives for MindFortress frontends — min-size tokens, a favicon→logo→monogram BrandGlyph, a responsive header that keeps the search bar usable on mobile,
|
|
3
|
+
"version": "0.16.0",
|
|
4
|
+
"description": "Shared brand-adaptive UI primitives for MindFortress frontends — min-size tokens, a favicon→logo→monogram BrandGlyph, a responsive header that keeps the search bar usable on mobile, AppSidebar's viewport-driven auto-collapse ladder, and the StageRail flow-of-cards primitives.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -27,6 +27,11 @@
|
|
|
27
27
|
"import": "./dist/console/index.mjs",
|
|
28
28
|
"require": "./dist/console/index.js"
|
|
29
29
|
},
|
|
30
|
+
"./stage-rail": {
|
|
31
|
+
"types": "./dist/stage-rail/index.d.ts",
|
|
32
|
+
"import": "./dist/stage-rail/index.mjs",
|
|
33
|
+
"require": "./dist/stage-rail/index.js"
|
|
34
|
+
},
|
|
30
35
|
"./tokens.css": "./dist/tokens.css"
|
|
31
36
|
},
|
|
32
37
|
"files": [
|