@refrakt-md/lumina 0.30.1 → 0.31.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/contracts/structures.json +0 -25
- package/dist/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +7 -3
- package/dist/config.js.map +1 -1
- package/package.json +5 -5
- package/styles/dimensions/density.css +16 -1
|
@@ -402,8 +402,6 @@
|
|
|
402
402
|
}
|
|
403
403
|
},
|
|
404
404
|
"unavailable": {
|
|
405
|
-
"reading": "this rune declares no body section",
|
|
406
|
-
"dropcap": "this rune declares no body section",
|
|
407
405
|
"prominence": "this rune has no page-section header",
|
|
408
406
|
"content-place": "this rune declares no `content-place` modifier",
|
|
409
407
|
"cover": "this rune declares no `media-position` modifier, so it cannot enter cover mode",
|
|
@@ -1057,8 +1055,6 @@
|
|
|
1057
1055
|
}
|
|
1058
1056
|
},
|
|
1059
1057
|
"unavailable": {
|
|
1060
|
-
"reading": "this rune declares no body section",
|
|
1061
|
-
"dropcap": "this rune declares no body section",
|
|
1062
1058
|
"prominence": "this rune has no page-section header"
|
|
1063
1059
|
}
|
|
1064
1060
|
},
|
|
@@ -1145,8 +1141,6 @@
|
|
|
1145
1141
|
}
|
|
1146
1142
|
},
|
|
1147
1143
|
"unavailable": {
|
|
1148
|
-
"reading": "this rune declares no body section",
|
|
1149
|
-
"dropcap": "this rune declares no body section",
|
|
1150
1144
|
"prominence": "this rune has no page-section header"
|
|
1151
1145
|
}
|
|
1152
1146
|
},
|
|
@@ -3592,9 +3586,6 @@
|
|
|
3592
3586
|
}
|
|
3593
3587
|
},
|
|
3594
3588
|
"unavailable": {
|
|
3595
|
-
"reading": "this rune declares no body section",
|
|
3596
|
-
"dropcap": "this rune declares no body section",
|
|
3597
|
-
"prominence": "this rune has no page-section header",
|
|
3598
3589
|
"content-place": "this rune declares no `content-place` modifier",
|
|
3599
3590
|
"cover": "this rune declares no `media-position` modifier, so it cannot enter cover mode"
|
|
3600
3591
|
}
|
|
@@ -4602,8 +4593,6 @@
|
|
|
4602
4593
|
}
|
|
4603
4594
|
},
|
|
4604
4595
|
"unavailable": {
|
|
4605
|
-
"reading": "this rune declares no body section",
|
|
4606
|
-
"dropcap": "this rune declares no body section",
|
|
4607
4596
|
"content-place": "this rune declares no `content-place` modifier",
|
|
4608
4597
|
"cover": "this rune declares no `media-position` modifier, so it cannot enter cover mode"
|
|
4609
4598
|
}
|
|
@@ -4662,8 +4651,6 @@
|
|
|
4662
4651
|
}
|
|
4663
4652
|
},
|
|
4664
4653
|
"unavailable": {
|
|
4665
|
-
"reading": "this rune declares no body section",
|
|
4666
|
-
"dropcap": "this rune declares no body section",
|
|
4667
4654
|
"prominence": "this rune has no page-section header",
|
|
4668
4655
|
"content-place": "this rune declares no `content-place` modifier",
|
|
4669
4656
|
"cover": "this rune declares no `media-position` modifier, so it cannot enter cover mode",
|
|
@@ -4750,8 +4737,6 @@
|
|
|
4750
4737
|
}
|
|
4751
4738
|
},
|
|
4752
4739
|
"unavailable": {
|
|
4753
|
-
"reading": "this rune declares no body section",
|
|
4754
|
-
"dropcap": "this rune declares no body section",
|
|
4755
4740
|
"content-place": "this rune declares no `content-place` modifier"
|
|
4756
4741
|
}
|
|
4757
4742
|
},
|
|
@@ -4819,8 +4804,6 @@
|
|
|
4819
4804
|
}
|
|
4820
4805
|
},
|
|
4821
4806
|
"unavailable": {
|
|
4822
|
-
"reading": "this rune declares no body section",
|
|
4823
|
-
"dropcap": "this rune declares no body section",
|
|
4824
4807
|
"prominence": "this rune has no page-section header",
|
|
4825
4808
|
"content-place": "this rune declares no `content-place` modifier",
|
|
4826
4809
|
"cover": "this rune declares no `media-position` modifier, so it cannot enter cover mode",
|
|
@@ -4974,8 +4957,6 @@
|
|
|
4974
4957
|
}
|
|
4975
4958
|
},
|
|
4976
4959
|
"unavailable": {
|
|
4977
|
-
"reading": "this rune declares no body section",
|
|
4978
|
-
"dropcap": "this rune declares no body section",
|
|
4979
4960
|
"content-place": "this rune declares no `content-place` modifier"
|
|
4980
4961
|
}
|
|
4981
4962
|
},
|
|
@@ -5044,8 +5025,6 @@
|
|
|
5044
5025
|
}
|
|
5045
5026
|
},
|
|
5046
5027
|
"unavailable": {
|
|
5047
|
-
"reading": "this rune declares no body section",
|
|
5048
|
-
"dropcap": "this rune declares no body section",
|
|
5049
5028
|
"prominence": "this rune has no page-section header",
|
|
5050
5029
|
"content-place": "this rune declares no `content-place` modifier",
|
|
5051
5030
|
"cover": "this rune declares no `media-position` modifier, so it cannot enter cover mode",
|
|
@@ -5586,8 +5565,6 @@
|
|
|
5586
5565
|
}
|
|
5587
5566
|
},
|
|
5588
5567
|
"unavailable": {
|
|
5589
|
-
"reading": "this rune declares no body section",
|
|
5590
|
-
"dropcap": "this rune declares no body section",
|
|
5591
5568
|
"prominence": "this rune has no page-section header",
|
|
5592
5569
|
"content-place": "this rune declares no `content-place` modifier",
|
|
5593
5570
|
"cover": "this rune declares no `media-position` modifier, so it cannot enter cover mode",
|
|
@@ -6889,8 +6866,6 @@
|
|
|
6889
6866
|
}
|
|
6890
6867
|
},
|
|
6891
6868
|
"unavailable": {
|
|
6892
|
-
"reading": "this rune declares no body section",
|
|
6893
|
-
"dropcap": "this rune declares no body section",
|
|
6894
6869
|
"content-place": "this rune declares no `content-place` modifier"
|
|
6895
6870
|
}
|
|
6896
6871
|
},
|
package/dist/config.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { type ThemeConfigOverrides } from '@refrakt-md/transform';
|
|
2
|
+
/** Lumina's overrides, exported separately from the merged result so tests can
|
|
3
|
+
* re-run the merge with a diagnostics sink — notably the ADR-028 identity
|
|
4
|
+
* guard, which Lumina must not trip (it overrides no rune at all). */
|
|
5
|
+
export declare const luminaOverrides: ThemeConfigOverrides;
|
|
1
6
|
/** Lumina theme configuration — extends base with icon SVGs and tint presets */
|
|
2
7
|
export declare const luminaConfig: import("@refrakt-md/transform").ThemeConfig;
|
|
3
8
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAGpF;;uEAEuE;AACvE,eAAO,MAAM,eAAe,EAAE,oBA2F7B,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,YAAY,6CAAgD,CAAC"}
|
package/dist/config.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { baseConfig } from '@refrakt-md/runes';
|
|
2
2
|
import { mergeThemeConfig } from '@refrakt-md/transform';
|
|
3
3
|
import { icons as lucideIcons } from './icons.js';
|
|
4
|
-
/** Lumina
|
|
5
|
-
|
|
4
|
+
/** Lumina's overrides, exported separately from the merged result so tests can
|
|
5
|
+
* re-run the merge with a diagnostics sink — notably the ADR-028 identity
|
|
6
|
+
* guard, which Lumina must not trip (it overrides no rune at all). */
|
|
7
|
+
export const luminaOverrides = {
|
|
6
8
|
tints: {
|
|
7
9
|
base: {
|
|
8
10
|
light: {
|
|
@@ -93,5 +95,7 @@ export const luminaConfig = mergeThemeConfig(baseConfig, {
|
|
|
93
95
|
},
|
|
94
96
|
global: lucideIcons,
|
|
95
97
|
},
|
|
96
|
-
}
|
|
98
|
+
};
|
|
99
|
+
/** Lumina theme configuration — extends base with icon SVGs and tint presets */
|
|
100
|
+
export const luminaConfig = mergeThemeConfig(baseConfig, luminaOverrides);
|
|
97
101
|
//# sourceMappingURL=config.js.map
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB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sB;gBAC5B,OAAO,EAAE,yBAAyB;gBAClC,MAAM,EAAE,wBAAwB;aAChC;YACD,IAAI,EAAE;gBACL,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,sBAAsB;gBAC5B,OAAO,EAAE,yBAAyB;gBAClC,MAAM,EAAE,SAAS;aACjB;SACD;QACD,IAAI,EAAE;YACL,KAAK,EAAE;gBACN,EAAE,EAAE,yBAAyB;gBAC7B,IAAI,EAAE,sBAAsB;gBAC5B,OAAO,EAAE,yBAAyB;gBAClC,MAAM,EAAE,6BAA6B;aACrC;YACD,IAAI,EAAE;gBACL,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,yBAAyB;gBAClC,MAAM,EAAE,SAAS;aACjB;SACD;QACD,IAAI,EAAE;YACL,QAAQ,EAAE,MAAM;YAChB,IAAI,EAAE;gBACL,EAAE,EAAE,SAAS;gBACb,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,wBAAwB;aACjC;SACD;KACD;IACD,KAAK,EAAE;QACN,IAAI,EAAE;YACL,IAAI,EAAE,4SAA4S;YAClT,OAAO,EAAE,iXAAiX;YAC1X,OAAO,EAAE,uSAAuS;YAChT,KAAK,EAAE,qRAAqR;SAC5R;QACD,uEAAuE;QACvE,yEAAyE;QACzE,0EAA0E;QAC1E,sEAAsE;QACtE,SAAS,EAAE;YACV,OAAO,EAAE,2MAA2M;SACpN;QACD,MAAM,EAAE,WAAW;KACnB;CACD,CAAC;AAEF,gFAAgF;AAChF,MAAM,CAAC,MAAM,YAAY,GAAG,gBAAgB,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@refrakt-md/lumina",
|
|
3
3
|
"description": "Lumina theme for refrakt.md — design tokens, CSS, identity transform, and layout configs",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.31.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
"generate-tokens": "node scripts/generate-tokens.mjs"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@refrakt-md/runes": "0.
|
|
90
|
-
"@refrakt-md/skeleton": "0.
|
|
91
|
-
"@refrakt-md/transform": "0.
|
|
92
|
-
"@refrakt-md/types": "0.
|
|
89
|
+
"@refrakt-md/runes": "0.31.0",
|
|
90
|
+
"@refrakt-md/skeleton": "0.31.0",
|
|
91
|
+
"@refrakt-md/transform": "0.31.0",
|
|
92
|
+
"@refrakt-md/types": "0.31.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"postcss": "^8.4.0"
|
|
@@ -46,6 +46,20 @@
|
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
/* Most runes put the title beside the body; card puts its leading heading
|
|
50
|
+
* *inside* the body slot. The blanket hide above would take the title with it
|
|
51
|
+
* and leave an empty surface, so where a title is nested in the body, keep the
|
|
52
|
+
* body box and hide only its other children — "title and primary metadata only"
|
|
53
|
+
* then means what it says on those runes too. (SPEC-125 Phase 1: card only
|
|
54
|
+
* gained a `body` role in v0.31.0, so this case could not arise before.) */
|
|
55
|
+
[data-density="minimal"] [data-section="body"]:has(> [data-name="title"]) {
|
|
56
|
+
display: revert;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[data-density="minimal"] [data-section="body"]:has(> [data-name="title"]) > :not([data-name="title"]) {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
49
63
|
[data-density="minimal"] [data-section="footer"] {
|
|
50
64
|
display: none;
|
|
51
65
|
}
|
|
@@ -72,7 +86,8 @@
|
|
|
72
86
|
[data-density="minimal"] [data-density="full"] [data-section="description"],
|
|
73
87
|
[data-density="minimal"] [data-density="full"] [data-section="body"],
|
|
74
88
|
[data-density="minimal"] [data-density="full"] [data-section="footer"],
|
|
75
|
-
[data-density="minimal"] [data-density="full"] [data-meta-rank="secondary"]
|
|
89
|
+
[data-density="minimal"] [data-density="full"] [data-meta-rank="secondary"],
|
|
90
|
+
[data-density="minimal"] [data-density="full"] [data-section="body"]:has(> [data-name="title"]) > :not([data-name="title"]) {
|
|
76
91
|
display: revert;
|
|
77
92
|
}
|
|
78
93
|
|