@press2ai/theme-specialist-glossy 0.11.0 → 0.11.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/package.json +1 -2
- package/src/ai.ts +1 -1
- package/src/styles/glossy.css +0 -2
- package/src/templates/catalog.ts +0 -7
- package/src/templates/index.ts +1 -1
- package/src/templates/layout.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@press2ai/theme-specialist-glossy",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Classless, AI-first theme inspired by Stripe. Framework-agnostic templates (Hono, Astro, raw HTML). Semantic HTML, Schema.org microdata, JSON-LD — built for LLM crawlers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@press2ai/theme-specialist-glossy": "^0.7.2",
|
|
53
52
|
"zod": "^3.23.0",
|
|
54
53
|
"zod-to-json-schema": "^3.25.2"
|
|
55
54
|
}
|
package/src/ai.ts
CHANGED
package/src/styles/glossy.css
CHANGED
|
@@ -315,8 +315,6 @@ form:not([role="search"]) button[type="submit"] {
|
|
|
315
315
|
}
|
|
316
316
|
form:not([role="search"]) button[type="submit"]:hover { background: var(--ink); transform: translateY(-1px); }
|
|
317
317
|
|
|
318
|
-
/* Trust block */
|
|
319
|
-
|
|
320
318
|
/* Responsive */
|
|
321
319
|
@media (max-width: 640px) {
|
|
322
320
|
:root { --pad: var(--g3); }
|
package/src/templates/catalog.ts
CHANGED
|
@@ -63,13 +63,6 @@ ${p.cards}
|
|
|
63
63
|
</section>`;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
export function trustBlock(title: string, points: string[]): string {
|
|
67
|
-
const items = points.map(p => `<li>${esc(p)}</li>`).join('\n');
|
|
68
|
-
return `<aside>
|
|
69
|
-
<strong>${esc(title)}</strong>
|
|
70
|
-
<ul>${items}</ul>
|
|
71
|
-
</aside>`;
|
|
72
|
-
}
|
|
73
66
|
|
|
74
67
|
export interface PaginationProps {
|
|
75
68
|
current: number;
|
package/src/templates/index.ts
CHANGED
|
@@ -2,5 +2,5 @@ export { layout, type LayoutProps } from './layout.ts';
|
|
|
2
2
|
export { hero } from './hero.ts';
|
|
3
3
|
export { profileCard } from './profile-card.ts';
|
|
4
4
|
export { profileArticle } from './profile-article.ts';
|
|
5
|
-
export { catalogHero, catalogGrid, statBar, categoryNav, steps,
|
|
5
|
+
export { catalogHero, catalogGrid, statBar, categoryNav, steps, pagination, type CatalogHeroProps, type PaginationProps } from './catalog.ts';
|
|
6
6
|
export { esc, fullName } from './helpers.ts';
|