@devslab/site-kit 0.14.0 → 0.14.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/README.ko.md +1 -1
- package/README.md +1 -1
- package/package.json +2 -2
- package/styles.css +5 -0
package/README.ko.md
CHANGED
|
@@ -7,7 +7,7 @@ DevsLab 제품의 공개 웹사이트를 위한 공개 인프라 패키지다.
|
|
|
7
7
|
- `@devslab/site-kit` — 런타임 중립 로케일·카탈로그·SEO·사이트맵·robots·검증된 사실·Google Tag Manager 유틸리티
|
|
8
8
|
- `@devslab/site-kit/solid` — 헤더·푸터·언어/테마 컨트롤·마케팅/법률/상태/오류 레이아웃·접근 요청 폼
|
|
9
9
|
- `@devslab/site-kit/tanstack-start` — 중립 메타데이터를 TanStack Start head descriptor로 변환(브랜드 아이콘·Tag Manager 로더는 옵트인)
|
|
10
|
-
- `@devslab/site-kit/styles.css` — 논리 속성과 RTL을 지원하는 공통 사이트
|
|
10
|
+
- `@devslab/site-kit/styles.css` — 논리 속성과 RTL을 지원하는 공통 사이트 스타일. 페이지 뿌리에 가족 서체(`:where(html) { font-family: var(--dds-font-family-sans) }`)도 주어 맨 제목·문단이 브라우저 세리프로 남지 않는다. 명시도가 0이라 제품이 `html`·`:root`·`body`·`:lang()`에 둔 규칙이 이긴다.
|
|
11
11
|
|
|
12
12
|
카탈로그 생성은 의도적으로 엄격하다. 레지스트리의 모든 로케일이 동일한 키와 이름 기반 placeholder를 가져야 하며 런타임 문구 폴백은 없다.
|
|
13
13
|
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Public product-site infrastructure for DevsLab products. It provides strict cata
|
|
|
7
7
|
- `@devslab/site-kit` — runtime-neutral locale, catalog, SEO, sitemap, robots, verified-fact, and Google Tag Manager utilities.
|
|
8
8
|
- `@devslab/site-kit/solid` — header, footer, locale/theme controls, marketing/legal/status/error layouts, and request-access form.
|
|
9
9
|
- `@devslab/site-kit/tanstack-start` — conversion of neutral metadata to TanStack Start head descriptors (with opt-in brand icons and Tag Manager loader).
|
|
10
|
-
- `@devslab/site-kit/styles.css` — logical-property, RTL-aware shared site styles.
|
|
10
|
+
- `@devslab/site-kit/styles.css` — logical-property, RTL-aware shared site styles. It also gives the page root the family face (`:where(html) { font-family: var(--dds-font-family-sans) }`), so bare headings and paragraphs are not left in the browser's serif. The rule has zero specificity: a product's own rule on `html`, `:root`, `body` or `:lang()` wins.
|
|
11
11
|
|
|
12
12
|
Catalog construction is intentionally strict: every locale in the registry must have exactly the same keys and named placeholders. There is no runtime copy fallback.
|
|
13
13
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devslab/site-kit",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "Strict i18n, SEO/GEO, and Solid public-site shells for DevsLab products",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"./site-sections.css": "./site-sections.css"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@devslab/dds-solid": "0.14.
|
|
63
|
+
"@devslab/dds-solid": "0.14.1"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@tanstack/solid-router": "1.170.30",
|
package/styles.css
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
.dds-sr-only { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
|
|
5
5
|
.dds-sr-only:focus { position: fixed; inset-block-start: var(--dds-space-8); inset-inline-start: var(--dds-space-8); z-index: 1000; inline-size: auto; block-size: auto; padding: var(--dds-space-8) var(--dds-space-12); margin: 0; overflow: visible; clip-path: none; white-space: normal; border: 2px solid currentColor; border-radius: var(--dds-radius-sm); background: var(--dds-color-bg-default); color: var(--dds-color-text-primary); }
|
|
6
6
|
|
|
7
|
+
/* The family face for bare text (h1, p, legal copy) — dds-* components set
|
|
8
|
+
their own, nothing else does. On the root and at zero specificity so any
|
|
9
|
+
product rule on html, :root, body or :lang still wins (D-032). */
|
|
10
|
+
:where(html) { font-family: var(--dds-font-family-sans); }
|
|
11
|
+
|
|
7
12
|
.site-shell { min-block-size: 100dvh; display: flex; flex-direction: column; background: var(--dds-color-bg-default); color: var(--dds-color-text-primary); }
|
|
8
13
|
.site-main { flex: 1; inline-size: min(100% - var(--dds-space-32), 1120px); margin-inline: auto; }
|
|
9
14
|
.site-main--bleed { inline-size: 100%; }
|