anentrypoint-design 0.0.168 → 0.0.169
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/dist/247420.js +14 -4
- package/package.json +1 -1
- package/src/page-html.js +14 -4
package/dist/247420.js
CHANGED
|
@@ -167,6 +167,16 @@ a.row:hover .ds-row-arrow { opacity: 1 }
|
|
|
167
167
|
.ds-hero-stat { display: flex; align-items: baseline; gap: var(--space-2, 8px) }
|
|
168
168
|
.ds-hero-stat-n { font-family: var(--ff-body); font-weight: 700; font-size: var(--fs-lg, 18px); color: var(--fg) }
|
|
169
169
|
.ds-hero-stat-l { font-size: var(--fs-sm, 15px); color: var(--fg-3) }
|
|
170
|
+
/* feature rows \u2014 single-column stack with a rail accent (the dashboard .row grid
|
|
171
|
+
forces a 3-col code/title/meta layout that mangles title+desc+benefit) */
|
|
172
|
+
.ds-feature { position: relative; padding: var(--space-3, 16px) var(--space-4, 24px); background: var(--bg, #fff); border-radius: var(--r-2, 14px); display: grid; gap: var(--space-1, 4px) }
|
|
173
|
+
.ds-feature::before { content: ''; position: absolute; left: 0; top: var(--space-2, 8px); bottom: var(--space-2, 8px); width: 3px; border-radius: 3px; background: var(--rail-color, var(--rule-strong)) }
|
|
174
|
+
.ds-feature.rail-green { --rail-color: var(--green) } .ds-feature.rail-purple { --rail-color: var(--purple) } .ds-feature.rail-mascot { --rail-color: var(--mascot) }
|
|
175
|
+
.ds-feature.rail-sun { --rail-color: var(--sun) } .ds-feature.rail-flame { --rail-color: var(--flame) } .ds-feature.rail-sky { --rail-color: var(--sky) }
|
|
176
|
+
.ds-feature + .ds-feature { margin-top: var(--space-2, 8px) }
|
|
177
|
+
.ds-feature-title { font-weight: 600; font-size: var(--fs-lg, 18px); color: var(--fg) }
|
|
178
|
+
.ds-feature-desc { font-size: var(--fs-sm, 15px); color: var(--fg-2); line-height: 1.5 }
|
|
179
|
+
.ds-feature-benefit { font-style: italic; font-size: var(--fs-sm, 15px); color: var(--fg-3); margin-top: var(--space-1, 4px) }
|
|
170
180
|
</style>
|
|
171
181
|
<script id="__site__" type="application/json">${JSON.stringify(m).replace(/</g,"\\u003c")}<\/script>
|
|
172
182
|
${p}
|
|
@@ -207,10 +217,10 @@ function sectionNode(sec, idx) {
|
|
|
207
217
|
const rail = RAILS[idx % RAILS.length];
|
|
208
218
|
const features = sec.features || sec.items || [];
|
|
209
219
|
const rows = features.map((f, i) => {
|
|
210
|
-
const kids = [h('
|
|
211
|
-
if (f.desc) kids.push(h('div', { key: 'd', class: '
|
|
212
|
-
if (f.benefit) kids.push(h('div', { key: 'b', class: '
|
|
213
|
-
return h('div', { key: i, class: '
|
|
220
|
+
const kids = [h('div', { key: 't', class: 'ds-feature-title' }, String(f.name || ''))];
|
|
221
|
+
if (f.desc) kids.push(h('div', { key: 'd', class: 'ds-feature-desc', innerHTML: String(f.desc).replace(/\`([^\`]+)\`/g, '<code>$1</code>') }));
|
|
222
|
+
if (f.benefit) kids.push(h('div', { key: 'b', class: 'ds-feature-benefit' }, String(f.benefit)));
|
|
223
|
+
return h('div', { key: i, class: 'ds-feature ' + rail }, ...kids);
|
|
214
224
|
});
|
|
215
225
|
return C.Section({
|
|
216
226
|
title: sec.name || sec.title || sec.id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anentrypoint-design",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.169",
|
|
4
4
|
"description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/247420.js",
|
package/src/page-html.js
CHANGED
|
@@ -115,6 +115,16 @@ a.row:hover .ds-row-arrow { opacity: 1 }
|
|
|
115
115
|
.ds-hero-stat { display: flex; align-items: baseline; gap: var(--space-2, 8px) }
|
|
116
116
|
.ds-hero-stat-n { font-family: var(--ff-body); font-weight: 700; font-size: var(--fs-lg, 18px); color: var(--fg) }
|
|
117
117
|
.ds-hero-stat-l { font-size: var(--fs-sm, 15px); color: var(--fg-3) }
|
|
118
|
+
/* feature rows — single-column stack with a rail accent (the dashboard .row grid
|
|
119
|
+
forces a 3-col code/title/meta layout that mangles title+desc+benefit) */
|
|
120
|
+
.ds-feature { position: relative; padding: var(--space-3, 16px) var(--space-4, 24px); background: var(--bg, #fff); border-radius: var(--r-2, 14px); display: grid; gap: var(--space-1, 4px) }
|
|
121
|
+
.ds-feature::before { content: ''; position: absolute; left: 0; top: var(--space-2, 8px); bottom: var(--space-2, 8px); width: 3px; border-radius: 3px; background: var(--rail-color, var(--rule-strong)) }
|
|
122
|
+
.ds-feature.rail-green { --rail-color: var(--green) } .ds-feature.rail-purple { --rail-color: var(--purple) } .ds-feature.rail-mascot { --rail-color: var(--mascot) }
|
|
123
|
+
.ds-feature.rail-sun { --rail-color: var(--sun) } .ds-feature.rail-flame { --rail-color: var(--flame) } .ds-feature.rail-sky { --rail-color: var(--sky) }
|
|
124
|
+
.ds-feature + .ds-feature { margin-top: var(--space-2, 8px) }
|
|
125
|
+
.ds-feature-title { font-weight: 600; font-size: var(--fs-lg, 18px); color: var(--fg) }
|
|
126
|
+
.ds-feature-desc { font-size: var(--fs-sm, 15px); color: var(--fg-2); line-height: 1.5 }
|
|
127
|
+
.ds-feature-benefit { font-style: italic; font-size: var(--fs-sm, 15px); color: var(--fg-3); margin-top: var(--space-1, 4px) }
|
|
118
128
|
</style>
|
|
119
129
|
<script id="__site__" type="application/json">${JSON.stringify(pageData).replace(/</g, '\\u003c')}</script>
|
|
120
130
|
${headExtra}
|
|
@@ -155,10 +165,10 @@ function sectionNode(sec, idx) {
|
|
|
155
165
|
const rail = RAILS[idx % RAILS.length];
|
|
156
166
|
const features = sec.features || sec.items || [];
|
|
157
167
|
const rows = features.map((f, i) => {
|
|
158
|
-
const kids = [h('
|
|
159
|
-
if (f.desc) kids.push(h('div', { key: 'd', class: '
|
|
160
|
-
if (f.benefit) kids.push(h('div', { key: 'b', class: '
|
|
161
|
-
return h('div', { key: i, class: '
|
|
168
|
+
const kids = [h('div', { key: 't', class: 'ds-feature-title' }, String(f.name || ''))];
|
|
169
|
+
if (f.desc) kids.push(h('div', { key: 'd', class: 'ds-feature-desc', innerHTML: String(f.desc).replace(/\`([^\`]+)\`/g, '<code>$1</code>') }));
|
|
170
|
+
if (f.benefit) kids.push(h('div', { key: 'b', class: 'ds-feature-benefit' }, String(f.benefit)));
|
|
171
|
+
return h('div', { key: i, class: 'ds-feature ' + rail }, ...kids);
|
|
162
172
|
});
|
|
163
173
|
return C.Section({
|
|
164
174
|
title: sec.name || sec.title || sec.id,
|