@tenphi/docs 0.5.0 → 0.6.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.
@@ -1,4 +1,4 @@
1
- import { A as ThemePaletteConfig, C as NormalizedDocsConfig, D as SearchConfig, M as ThemeTokens, N as TypographyPreset, O as SiteConfig, P as TypographyPresets, S as NavigationTab, _ as DocsSource, b as NavigationItem, i as ContentConfig, j as ThemeTokenValue, k as ThemeConfig, l as DocsConfig, n as BuildConfig, r as ComponentsConfig, t as BrandConfig, u as DocsDiagnostic, v as MarkdownConfig, y as NavigationConfig } from "../types-BinP19sy.js";
1
+ import { C as MarkdownConfig, D as NavigationTab, F as ThemePaletteConfig, I as ThemeTokenValue, L as ThemeTokens, M as SearchConfig, N as SiteConfig, O as NormalizedDocsConfig, P as ThemeConfig, R as TypographyPreset, S as DocsSource, T as NavigationItem, a as ComponentStyles, c as ContentConfig, h as DocsDiagnostic, i as ComponentStyleConfig, l as CookbookComponentName, m as DocsConfig, n as BuildConfig, o as ComponentStylesConfig, s as ComponentsConfig, t as BrandConfig, w as NavigationConfig, z as TypographyPresets } from "../types-CSXW--5L.js";
2
2
  //#region src/config/index.d.ts
3
3
  declare class DocsConfigError extends Error {
4
4
  readonly diagnostics: DocsDiagnostic[];
@@ -8,5 +8,5 @@ declare function validateConfig(config: DocsConfig): DocsDiagnostic[];
8
8
  declare function normalizeDocsConfig(config?: DocsConfig): NormalizedDocsConfig;
9
9
  declare function defineDocsConfig<const T extends DocsConfig>(config: T): T;
10
10
  //#endregion
11
- export { type BrandConfig, type BuildConfig, type ComponentsConfig, type ContentConfig, type DocsConfig, DocsConfigError, type DocsSource, type MarkdownConfig, type NavigationConfig, type NavigationItem, type NavigationTab, type NormalizedDocsConfig, type SearchConfig, type SiteConfig, type ThemeConfig, type ThemePaletteConfig, type ThemeTokenValue, type ThemeTokens, type TypographyPreset, type TypographyPresets, defineDocsConfig, normalizeDocsConfig, validateConfig };
11
+ export { type BrandConfig, type BuildConfig, type ComponentStyleConfig, type ComponentStyles, type ComponentStylesConfig, type ComponentsConfig, type ContentConfig, type CookbookComponentName, type DocsConfig, DocsConfigError, type DocsSource, type MarkdownConfig, type NavigationConfig, type NavigationItem, type NavigationTab, type NormalizedDocsConfig, type SearchConfig, type SiteConfig, type ThemeConfig, type ThemePaletteConfig, type ThemeTokenValue, type ThemeTokens, type TypographyPreset, type TypographyPresets, defineDocsConfig, normalizeDocsConfig, validateConfig };
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/config/index.ts"],"mappings":";;cAsDa,wBAAwB;WAC1B,aAAa;EAEtB,YAAY,aAAa;;iBAOX,eAAe,QAAQ,aAAa;iBA6DpC,oBACd,SAAQ,aACP;iBAwCa,uBAAuB,UAAU,YAAY,QAAQ,IAAI"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/config/index.ts"],"mappings":";;cAsDa,wBAAwB;WAC1B,aAAa;EAEtB,YAAY,aAAa;;iBAOX,eAAe,QAAQ,aAAa;iBAmGpC,oBACd,SAAQ,aACP;iBAwCa,uBAAuB,UAAU,YAAY,QAAQ,IAAI"}
@@ -13,6 +13,7 @@ const ROOT_KEYS = /* @__PURE__ */ new Set([
13
13
  const OBJECT_KEYS = {
14
14
  site: /* @__PURE__ */ new Set([
15
15
  "title",
16
+ "version",
16
17
  "description",
17
18
  "url",
18
19
  "repository"
@@ -91,6 +92,14 @@ function validateConfig(config) {
91
92
  hint: "Remove the override, use 45 or higher, or explicitly set unsafeContrast: true."
92
93
  });
93
94
  }
95
+ for (const [name, entry] of Object.entries(config.theme?.styles ?? {})) {
96
+ if (!isRecord(entry)) {
97
+ invalid(diagnostics, `theme.styles.${name} must be a Tasty style object.`);
98
+ continue;
99
+ }
100
+ if ("mode" in entry && entry.mode !== "extend" && entry.mode !== "replace") invalid(diagnostics, `theme.styles.${name}.mode must be "extend" or "replace".`);
101
+ if ("mode" in entry && !isRecord(entry.styles)) invalid(diagnostics, `theme.styles.${name}.styles must be a Tasty style object.`);
102
+ }
94
103
  return diagnostics;
95
104
  }
96
105
  function unknown(diagnostics, path) {
@@ -100,6 +109,16 @@ function unknown(diagnostics, path) {
100
109
  message: `Unknown configuration key "${path}".`
101
110
  });
102
111
  }
112
+ function invalid(diagnostics, message) {
113
+ diagnostics.push({
114
+ code: "DOCS_CONFIG_INVALID",
115
+ severity: "error",
116
+ message
117
+ });
118
+ }
119
+ function isRecord(value) {
120
+ return typeof value === "object" && value !== null && !Array.isArray(value);
121
+ }
103
122
  function normalizeDocsConfig(config = {}) {
104
123
  const diagnostics = validateConfig(config);
105
124
  if (diagnostics.length > 0) throw new DocsConfigError(diagnostics);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/config/index.ts"],"sourcesContent":["import type {\n DocsConfig,\n DocsDiagnostic,\n NormalizedDocsConfig,\n} from \"../types.js\";\n\nconst DEFAULT_BRAND = \"#315efb\";\nconst ROOT_KEYS = new Set([\n \"site\",\n \"content\",\n \"navigation\",\n \"theme\",\n \"markdown\",\n \"search\",\n \"components\",\n \"build\",\n]);\n\nconst OBJECT_KEYS: Record<string, Set<string>> = {\n site: new Set([\"title\", \"description\", \"url\", \"repository\"]),\n content: new Set([\"sources\", \"allowOutsideRoot\", \"localizeRepositoryLinks\"]),\n markdown: new Set([\n \"stripLeadingBadges\",\n \"rawHtml\",\n \"strictLanguages\",\n \"executablePreviews\",\n \"remarkPlugins\",\n \"rehypePlugins\",\n ]),\n search: new Set([\"enabled\"]),\n components: new Set([\"overrides\"]),\n theme: new Set([\n \"variant\",\n \"brand\",\n \"palette\",\n \"states\",\n \"tokens\",\n \"presets\",\n \"styles\",\n \"contrastLevel\",\n ]),\n build: new Set([\n \"strict\",\n \"ci\",\n \"base\",\n \"cacheDir\",\n \"maxArtifactBytes\",\n \"maxUnpackedBytes\",\n \"maxFiles\",\n \"maxPathDepth\",\n \"maxAssetBytes\",\n ]),\n};\n\nexport class DocsConfigError extends Error {\n readonly diagnostics: DocsDiagnostic[];\n\n constructor(diagnostics: DocsDiagnostic[]) {\n super(diagnostics.map((diagnostic) => diagnostic.message).join(\"\\n\"));\n this.name = \"DocsConfigError\";\n this.diagnostics = diagnostics;\n }\n}\n\nexport function validateConfig(config: DocsConfig): DocsDiagnostic[] {\n const diagnostics: DocsDiagnostic[] = [];\n for (const key of Object.keys(config)) {\n if (!ROOT_KEYS.has(key)) unknown(diagnostics, key);\n }\n for (const [section, keys] of Object.entries(OBJECT_KEYS)) {\n const value = config[section as keyof DocsConfig];\n if (\n value === undefined ||\n Array.isArray(value) ||\n typeof value !== \"object\"\n ) {\n continue;\n }\n for (const key of Object.keys(value)) {\n if (!keys.has(key)) unknown(diagnostics, `${section}.${key}`);\n }\n }\n\n const sources = config.content?.sources ?? [];\n for (const [index, source] of sources.entries()) {\n const variants = [\"file\", \"glob\", \"package\"].filter((key) => key in source);\n if (variants.length !== 1) {\n diagnostics.push({\n code: \"DOCS_CONFIG_INVALID\",\n severity: \"error\",\n message: `content.sources[${index}] must select exactly one of file, glob, or package.`,\n });\n }\n }\n\n const brand = config.theme?.brand;\n if (\n typeof brand === \"object\" &&\n brand !== null &&\n \"contrast\" in brand &&\n !brand.unsafeContrast\n ) {\n const target = brand.contrast?.apca;\n const normal = Array.isArray(target) ? target[0] : target;\n if (typeof normal === \"number\" && normal < 45) {\n diagnostics.push({\n code: \"DOCS_CONFIG_INVALID\",\n severity: \"error\",\n message:\n \"theme.brand.contrast.apca cannot be below 45 without unsafeContrast.\",\n hint: \"Remove the override, use 45 or higher, or explicitly set unsafeContrast: true.\",\n });\n }\n }\n return diagnostics;\n}\n\nfunction unknown(diagnostics: DocsDiagnostic[], path: string): void {\n diagnostics.push({\n code: \"DOCS_CONFIG_UNKNOWN_KEY\",\n severity: \"error\",\n message: `Unknown configuration key \"${path}\".`,\n });\n}\n\nexport function normalizeDocsConfig(\n config: DocsConfig = {},\n): NormalizedDocsConfig {\n const diagnostics = validateConfig(config);\n if (diagnostics.length > 0) throw new DocsConfigError(diagnostics);\n const navigation = Array.isArray(config.navigation)\n ? { items: config.navigation }\n : (config.navigation ?? {});\n\n return {\n site: { ...config.site },\n content: {\n allowOutsideRoot: false,\n localizeRepositoryLinks: false,\n ...config.content,\n },\n navigation,\n theme: { ...config.theme, brand: config.theme?.brand ?? DEFAULT_BRAND },\n markdown: {\n stripLeadingBadges: true,\n rawHtml: \"sanitize\",\n strictLanguages: false,\n executablePreviews: true,\n ...config.markdown,\n },\n search: { enabled: true, ...config.search },\n components: { ...config.components },\n build: {\n strict: true,\n ci: process.env.CI === \"true\",\n base: \"/\",\n cacheDir: \"\",\n maxArtifactBytes: 25 * 1024 * 1024,\n maxUnpackedBytes: 100 * 1024 * 1024,\n maxFiles: 10_000,\n maxPathDepth: 24,\n maxAssetBytes: 20 * 1024 * 1024,\n ...config.build,\n },\n };\n}\n\nexport function defineDocsConfig<const T extends DocsConfig>(config: T): T {\n const diagnostics = validateConfig(config);\n if (diagnostics.length > 0) throw new DocsConfigError(diagnostics);\n return config;\n}\n\nexport type {\n BrandConfig,\n BuildConfig,\n ComponentsConfig,\n ContentConfig,\n DocsConfig,\n DocsSource,\n MarkdownConfig,\n NavigationConfig,\n NavigationItem,\n NavigationTab,\n NormalizedDocsConfig,\n SearchConfig,\n SiteConfig,\n ThemeConfig,\n ThemePaletteConfig,\n ThemeTokens,\n ThemeTokenValue,\n TypographyPreset,\n TypographyPresets,\n} from \"../types.js\";\n"],"mappings":";AAMA,MAAM,gBAAgB;AACtB,MAAM,4BAAY,IAAI,IAAI;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,MAAM,cAA2C;CAC/C,sBAAM,IAAI,IAAI;EAAC;EAAS;EAAe;EAAO;CAAY,CAAC;CAC3D,yBAAS,IAAI,IAAI;EAAC;EAAW;EAAoB;CAAyB,CAAC;CAC3E,0BAAU,IAAI,IAAI;EAChB;EAC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CACjE,OAAO;AACT"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/config/index.ts"],"sourcesContent":["import type {\n DocsConfig,\n DocsDiagnostic,\n NormalizedDocsConfig,\n} from \"../types.js\";\n\nconst DEFAULT_BRAND = \"#315efb\";\nconst ROOT_KEYS = new Set([\n \"site\",\n \"content\",\n \"navigation\",\n \"theme\",\n \"markdown\",\n \"search\",\n \"components\",\n \"build\",\n]);\n\nconst OBJECT_KEYS: Record<string, Set<string>> = {\n site: new Set([\"title\", \"version\", \"description\", \"url\", \"repository\"]),\n content: new Set([\"sources\", \"allowOutsideRoot\", \"localizeRepositoryLinks\"]),\n markdown: new Set([\n \"stripLeadingBadges\",\n \"rawHtml\",\n \"strictLanguages\",\n \"executablePreviews\",\n \"remarkPlugins\",\n \"rehypePlugins\",\n ]),\n search: new Set([\"enabled\"]),\n components: new Set([\"overrides\"]),\n theme: new Set([\n \"variant\",\n \"brand\",\n \"palette\",\n \"states\",\n \"tokens\",\n \"presets\",\n \"styles\",\n \"contrastLevel\",\n ]),\n build: new Set([\n \"strict\",\n \"ci\",\n \"base\",\n \"cacheDir\",\n \"maxArtifactBytes\",\n \"maxUnpackedBytes\",\n \"maxFiles\",\n \"maxPathDepth\",\n \"maxAssetBytes\",\n ]),\n};\n\nexport class DocsConfigError extends Error {\n readonly diagnostics: DocsDiagnostic[];\n\n constructor(diagnostics: DocsDiagnostic[]) {\n super(diagnostics.map((diagnostic) => diagnostic.message).join(\"\\n\"));\n this.name = \"DocsConfigError\";\n this.diagnostics = diagnostics;\n }\n}\n\nexport function validateConfig(config: DocsConfig): DocsDiagnostic[] {\n const diagnostics: DocsDiagnostic[] = [];\n for (const key of Object.keys(config)) {\n if (!ROOT_KEYS.has(key)) unknown(diagnostics, key);\n }\n for (const [section, keys] of Object.entries(OBJECT_KEYS)) {\n const value = config[section as keyof DocsConfig];\n if (\n value === undefined ||\n Array.isArray(value) ||\n typeof value !== \"object\"\n ) {\n continue;\n }\n for (const key of Object.keys(value)) {\n if (!keys.has(key)) unknown(diagnostics, `${section}.${key}`);\n }\n }\n\n const sources = config.content?.sources ?? [];\n for (const [index, source] of sources.entries()) {\n const variants = [\"file\", \"glob\", \"package\"].filter((key) => key in source);\n if (variants.length !== 1) {\n diagnostics.push({\n code: \"DOCS_CONFIG_INVALID\",\n severity: \"error\",\n message: `content.sources[${index}] must select exactly one of file, glob, or package.`,\n });\n }\n }\n\n const brand = config.theme?.brand;\n if (\n typeof brand === \"object\" &&\n brand !== null &&\n \"contrast\" in brand &&\n !brand.unsafeContrast\n ) {\n const target = brand.contrast?.apca;\n const normal = Array.isArray(target) ? target[0] : target;\n if (typeof normal === \"number\" && normal < 45) {\n diagnostics.push({\n code: \"DOCS_CONFIG_INVALID\",\n severity: \"error\",\n message:\n \"theme.brand.contrast.apca cannot be below 45 without unsafeContrast.\",\n hint: \"Remove the override, use 45 or higher, or explicitly set unsafeContrast: true.\",\n });\n }\n }\n\n for (const [name, entry] of Object.entries(config.theme?.styles ?? {})) {\n if (!isRecord(entry)) {\n invalid(\n diagnostics,\n `theme.styles.${name} must be a Tasty style object.`,\n );\n continue;\n }\n if (\n \"mode\" in entry &&\n entry.mode !== \"extend\" &&\n entry.mode !== \"replace\"\n ) {\n invalid(\n diagnostics,\n `theme.styles.${name}.mode must be \"extend\" or \"replace\".`,\n );\n }\n if (\"mode\" in entry && !isRecord(entry.styles)) {\n invalid(\n diagnostics,\n `theme.styles.${name}.styles must be a Tasty style object.`,\n );\n }\n }\n return diagnostics;\n}\n\nfunction unknown(diagnostics: DocsDiagnostic[], path: string): void {\n diagnostics.push({\n code: \"DOCS_CONFIG_UNKNOWN_KEY\",\n severity: \"error\",\n message: `Unknown configuration key \"${path}\".`,\n });\n}\n\nfunction invalid(diagnostics: DocsDiagnostic[], message: string): void {\n diagnostics.push({\n code: \"DOCS_CONFIG_INVALID\",\n severity: \"error\",\n message,\n });\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\n\nexport function normalizeDocsConfig(\n config: DocsConfig = {},\n): NormalizedDocsConfig {\n const diagnostics = validateConfig(config);\n if (diagnostics.length > 0) throw new DocsConfigError(diagnostics);\n const navigation = Array.isArray(config.navigation)\n ? { items: config.navigation }\n : (config.navigation ?? {});\n\n return {\n site: { ...config.site },\n content: {\n allowOutsideRoot: false,\n localizeRepositoryLinks: false,\n ...config.content,\n },\n navigation,\n theme: { ...config.theme, brand: config.theme?.brand ?? DEFAULT_BRAND },\n markdown: {\n stripLeadingBadges: true,\n rawHtml: \"sanitize\",\n strictLanguages: false,\n executablePreviews: true,\n ...config.markdown,\n },\n search: { enabled: true, ...config.search },\n components: { ...config.components },\n build: {\n strict: true,\n ci: process.env.CI === \"true\",\n base: \"/\",\n cacheDir: \"\",\n maxArtifactBytes: 25 * 1024 * 1024,\n maxUnpackedBytes: 100 * 1024 * 1024,\n maxFiles: 10_000,\n maxPathDepth: 24,\n maxAssetBytes: 20 * 1024 * 1024,\n ...config.build,\n },\n };\n}\n\nexport function defineDocsConfig<const T extends DocsConfig>(config: T): T {\n const diagnostics = validateConfig(config);\n if (diagnostics.length > 0) throw new DocsConfigError(diagnostics);\n return config;\n}\n\nexport type {\n BrandConfig,\n BuildConfig,\n ComponentStyleConfig,\n ComponentStyles,\n ComponentStylesConfig,\n CookbookComponentName,\n ComponentsConfig,\n ContentConfig,\n DocsConfig,\n DocsSource,\n MarkdownConfig,\n NavigationConfig,\n NavigationItem,\n NavigationTab,\n NormalizedDocsConfig,\n SearchConfig,\n SiteConfig,\n ThemeConfig,\n ThemePaletteConfig,\n ThemeTokens,\n ThemeTokenValue,\n TypographyPreset,\n TypographyPresets,\n} from \"../types.js\";\n"],"mappings":";AAMA,MAAM,gBAAgB;AACtB,MAAM,4BAAY,IAAI,IAAI;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,MAAM,cAA2C;CAC/C,sBAAM,IAAI,IAAI;EAAC;EA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AW,IAC1B,OAAO,cAAc,CAAC;CAE3B,OAAO;EACL,MAAM,EAAE,GAAG,OAAO,KAAK;EACvB,SAAS;GACP,kBAAkB;GAClB,yBAAyB;GACzB,GAAG,OAAO;EACZ;EACA;EACA,OAAO;GAAE,GAAG,OAAO;GAAO,OAAO,OAAO,OAAO,SAAS;EAAc;EACtE,UAAU;GACR,oBAAoB;GACpB,SAAS;GACT,iBAAiB;GACjB,oBAAoB;GACpB,GAAG,OAAO;EACZ;EACA,QAAQ;GAAE,SAAS;GAAM,GAAG,OAAO;EAAO;EAC1C,YAAY,EAAE,GAAG,OAAO,WAAW;EACnC,OAAO;GACL,QAAQ;GACR,IAAI,QAAQ,IAAI,OAAO;GACvB,MAAM;GACN,UAAU;GACV,kBAAkB;GAClB,kBAAkB;GAClB,UAAU;GACV,cAAc;GACd,eAAe;GACf,GAAG,OAAO;EACZ;CACF;AACF;AAEA,SAAgB,iBAA6C,QAAc;CACzE,MAAM,cAAc,eAAe,MAAM;CACzC,IAAI,YAAY,SAAS,GAAG,MAAM,IAAI,gBAAgB,WAAW;CACjE,OAAO;AACT"}
@@ -74,7 +74,10 @@
74
74
  "type": "object",
75
75
  "additionalProperties": { "$ref": "#/$defs/typographyPreset" }
76
76
  },
77
- "styles": { "type": "object" },
77
+ "styles": {
78
+ "type": "object",
79
+ "additionalProperties": { "$ref": "#/$defs/componentStyleConfig" }
80
+ },
78
81
  "contrastLevel": {
79
82
  "oneOf": [
80
83
  { "const": "auto" },
@@ -157,6 +160,20 @@
157
160
  "fontStyle": { "type": ["string", "number"] }
158
161
  }
159
162
  },
163
+ "componentStyleConfig": {
164
+ "anyOf": [
165
+ { "type": "object" },
166
+ {
167
+ "type": "object",
168
+ "additionalProperties": false,
169
+ "required": ["mode", "styles"],
170
+ "properties": {
171
+ "mode": { "enum": ["extend", "replace"] },
172
+ "styles": { "type": "object" }
173
+ }
174
+ }
175
+ ]
176
+ },
160
177
  "source": {
161
178
  "type": "object",
162
179
  "oneOf": [
@@ -1,4 +1,4 @@
1
- import { c as DocsAsset, d as DocsEntry, g as DocsRoute, l as DocsConfig, o as CreateDocsGraphOptions, p as DocsGraph } from "../types-BinP19sy.js";
1
+ import { d as CreateDocsGraphOptions, g as DocsEntry, m as DocsConfig, p as DocsAsset, v as DocsGraph, x as DocsRoute } from "../types-CSXW--5L.js";
2
2
  //#region src/content/index.d.ts
3
3
  interface DocsLoaderContext {
4
4
  store: {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ThemePaletteConfig, C as NormalizedDocsConfig, D as SearchConfig, E as PackageManifest, M as ThemeTokens, N as TypographyPreset, O as SiteConfig, P as TypographyPresets, S as NavigationTab, T as PackageLockSource, _ as DocsSource, a as CookbookLock, b as NavigationItem, c as DocsAsset, d as DocsEntry, f as DocsFrontmatter, g as DocsRoute, h as DocsReference, i as ContentConfig, j as ThemeTokenValue, k as ThemeConfig, l as DocsConfig, m as DocsHeading, n as BuildConfig, o as CreateDocsGraphOptions, p as DocsGraph, r as ComponentsConfig, s as DiagnosticSeverity, t as BrandConfig, u as DocsDiagnostic, v as MarkdownConfig, w as PackageDiscovery, x as NavigationPlacement, y as NavigationConfig } from "./types-BinP19sy.js";
1
+ import { A as PackageLockSource, C as MarkdownConfig, D as NavigationTab, E as NavigationPlacement, F as ThemePaletteConfig, I as ThemeTokenValue, L as ThemeTokens, M as SearchConfig, N as SiteConfig, O as NormalizedDocsConfig, P as ThemeConfig, R as TypographyPreset, S as DocsSource, T as NavigationItem, _ as DocsFrontmatter, a as ComponentStyles, b as DocsReference, c as ContentConfig, d as CreateDocsGraphOptions, f as DiagnosticSeverity, g as DocsEntry, h as DocsDiagnostic, i as ComponentStyleConfig, j as PackageManifest, k as PackageDiscovery, l as CookbookComponentName, m as DocsConfig, n as BuildConfig, o as ComponentStylesConfig, p as DocsAsset, r as COOKBOOK_COMPONENT_NAMES, s as ComponentsConfig, t as BrandConfig, u as CookbookLock, v as DocsGraph, w as NavigationConfig, x as DocsRoute, y as DocsHeading, z as TypographyPresets } from "./types-CSXW--5L.js";
2
2
  import { DocsConfigError, defineDocsConfig, normalizeDocsConfig, validateConfig } from "./config/index.js";
3
3
  import { createDocsLoader } from "./content/index.js";
4
4
  //#region src/graph/index.d.ts
@@ -30,5 +30,5 @@ declare function validateDocs(graph: DocsGraph): DocsDiagnostic[];
30
30
  declare function assertValidDocs(graph: DocsGraph): void;
31
31
  declare function formatDiagnostics(diagnostics: DocsDiagnostic[], json?: boolean): string;
32
32
  //#endregion
33
- export { type BrandConfig, type BuildConfig, type ComponentsConfig, type ContentConfig, type CookbookLock, type CreateDocsGraphOptions, type DiagnosticSeverity, type DocsAsset, type DocsConfig, DocsConfigError, type DocsDiagnostic, type DocsEntry, type DocsFrontmatter, type DocsGraph, type DocsHeading, type DocsReference, type DocsRoute, type DocsSource, DocsValidationError, type MarkdownConfig, type NavigationConfig, type NavigationItem, type NavigationPlacement, type NavigationTab, type NormalizedDocsConfig, type PackageDiscovery, type PackageLockSource, type PackageManifest, type SearchConfig, type SiteConfig, type ThemeConfig, type ThemePaletteConfig, type ThemeTokenValue, type ThemeTokens, type TypographyPreset, type TypographyPresets, assertValidDocs, createDocsGraph, createDocsLoader, defaultLock, defineDocsConfig, discoverPackage, formatDiagnostics, lockForSource, materializePackage, normalizeDocsConfig, normalizeRoute, packageNameFromSpecifier, readDocsLock, resolvePackageLock, routeForPath, validateConfig, validateDocs, validateLock, writeDocsLock };
33
+ export { type BrandConfig, type BuildConfig, COOKBOOK_COMPONENT_NAMES, type ComponentStyleConfig, type ComponentStyles, type ComponentStylesConfig, type ComponentsConfig, type ContentConfig, type CookbookComponentName, type CookbookLock, type CreateDocsGraphOptions, type DiagnosticSeverity, type DocsAsset, type DocsConfig, DocsConfigError, type DocsDiagnostic, type DocsEntry, type DocsFrontmatter, type DocsGraph, type DocsHeading, type DocsReference, type DocsRoute, type DocsSource, DocsValidationError, type MarkdownConfig, type NavigationConfig, type NavigationItem, type NavigationPlacement, type NavigationTab, type NormalizedDocsConfig, type PackageDiscovery, type PackageLockSource, type PackageManifest, type SearchConfig, type SiteConfig, type ThemeConfig, type ThemePaletteConfig, type ThemeTokenValue, type ThemeTokens, type TypographyPreset, type TypographyPresets, assertValidDocs, createDocsGraph, createDocsLoader, defaultLock, defineDocsConfig, discoverPackage, formatDiagnostics, lockForSource, materializePackage, normalizeDocsConfig, normalizeRoute, packageNameFromSpecifier, readDocsLock, resolvePackageLock, routeForPath, validateConfig, validateDocs, validateLock, writeDocsLock };
34
34
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,3 +1,21 @@
1
1
  import { DocsConfigError, defineDocsConfig, normalizeDocsConfig, validateConfig } from "./config/index.js";
2
2
  import { _ as writeDocsLock, a as validateDocs, c as routeForPath, d as lockForSource, f as materializePackage, g as validateLock, h as resolvePackageLock, i as formatDiagnostics, l as defaultLock, m as readDocsLock, n as DocsValidationError, o as createDocsGraph, p as packageNameFromSpecifier, r as assertValidDocs, s as normalizeRoute, t as createDocsLoader, u as discoverPackage } from "./content-Bhdv88Pe.js";
3
- export { DocsConfigError, DocsValidationError, assertValidDocs, createDocsGraph, createDocsLoader, defaultLock, defineDocsConfig, discoverPackage, formatDiagnostics, lockForSource, materializePackage, normalizeDocsConfig, normalizeRoute, packageNameFromSpecifier, readDocsLock, resolvePackageLock, routeForPath, validateConfig, validateDocs, validateLock, writeDocsLock };
3
+ //#region src/types.ts
4
+ /** Cookbook components whose default Tasty styles can be customized. */
5
+ const COOKBOOK_COMPONENT_NAMES = [
6
+ "Card",
7
+ "Logo",
8
+ "MobileMenuFooter",
9
+ "MobileNavigationTabs",
10
+ "PackageVersion",
11
+ "Preview",
12
+ "Steps",
13
+ "Tabs",
14
+ "ThemeSelect",
15
+ "TopNavigation",
16
+ "StarlightHeader"
17
+ ];
18
+ //#endregion
19
+ export { COOKBOOK_COMPONENT_NAMES, DocsConfigError, DocsValidationError, assertValidDocs, createDocsGraph, createDocsLoader, defaultLock, defineDocsConfig, discoverPackage, formatDiagnostics, lockForSource, materializePackage, normalizeDocsConfig, normalizeRoute, packageNameFromSpecifier, readDocsLock, resolvePackageLock, routeForPath, validateConfig, validateDocs, validateLock, writeDocsLock };
20
+
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/types.ts"],"sourcesContent":["import type { GlazeColorValue } from \"@tenphi/glaze\";\nimport type { Root } from \"mdast\";\n\nexport type DiagnosticSeverity = \"warning\" | \"error\";\n\nexport interface DocsDiagnostic {\n code: string;\n severity: DiagnosticSeverity;\n message: string;\n file?: string;\n line?: number;\n column?: number;\n hint?: string;\n related?: Array<{ file: string; line?: number; message: string }>;\n}\n\nexport interface SiteConfig {\n title?: string;\n /** Version of the documented package, rendered beside the site title. */\n version?: string;\n description?: string;\n url?: string;\n repository?: string;\n}\n\nexport interface NavigationPlacement {\n label?: string;\n order?: number;\n group?: string;\n}\n\nexport type DocsSource =\n | {\n file: string;\n route?: string;\n title?: string;\n description?: string;\n navigation?: false | NavigationPlacement;\n }\n | {\n glob: string | string[];\n base?: string;\n routeBase?: string;\n exclude?: string[];\n navigation?: \"auto\" | false;\n }\n | {\n package: string;\n include?: string[];\n exclude?: string[];\n index?: string;\n routeBase?: string;\n trust?: \"markdown\" | \"mdx\";\n };\n\nexport interface ContentConfig {\n sources?: DocsSource[];\n allowOutsideRoot?: boolean;\n localizeRepositoryLinks?: boolean;\n}\n\nexport type NavigationItem =\n | string\n | { label: string; items: NavigationItem[] }\n | { label: string; autogenerate: { directory: string } }\n | { label: string; link: string };\n\nexport interface NavigationTab {\n label: string;\n link: string;\n /** Sidebar tree shown while this tab is active. */\n items?: NavigationItem[];\n}\n\nexport interface NavigationConfig {\n items?: NavigationItem[];\n /** Optional primary navigation rendered as a compact row below the header. */\n tabs?: NavigationTab[];\n}\n\nexport type BrandConfig =\n | GlazeColorValue\n | {\n from: GlazeColorValue;\n contrast?: { apca: number | [number, number] };\n unsafeContrast?: boolean;\n };\n\nexport type ThemeTokenValue = string | number;\n\n/**\n * Tasty design tokens. `$name` is emitted as `--name`; existing `--name`\n * custom-property keys remain supported for compatibility.\n */\nexport interface ThemeTokens {\n $gap?: ThemeTokenValue;\n $radius?: ThemeTokenValue;\n \"$card-radius\"?: ThemeTokenValue;\n \"$border-width\"?: ThemeTokenValue;\n \"$outline-width\"?: ThemeTokenValue;\n \"$outline-offset\"?: ThemeTokenValue;\n \"$layout-width\"?: ThemeTokenValue;\n \"$content-width\"?: ThemeTokenValue;\n \"$sidebar-width\"?: ThemeTokenValue;\n \"$control-height\"?: ThemeTokenValue;\n [name: `$${string}`]: ThemeTokenValue | undefined;\n [customProperty: `--${string}`]: ThemeTokenValue | undefined;\n}\n\nexport interface TypographyPreset {\n fontFamily?: string;\n fontSize?: ThemeTokenValue;\n lineHeight?: ThemeTokenValue;\n letterSpacing?: ThemeTokenValue;\n fontWeight?: ThemeTokenValue;\n boldFontWeight?: ThemeTokenValue;\n iconSize?: ThemeTokenValue;\n textTransform?: ThemeTokenValue;\n fontStyle?: ThemeTokenValue;\n}\n\n/** Built-in presets can be overridden and additional Tasty presets may be added. */\nexport interface TypographyPresets {\n body?: TypographyPreset;\n heading?: TypographyPreset;\n h1?: TypographyPreset;\n h2?: TypographyPreset;\n h3?: TypographyPreset;\n h4?: TypographyPreset;\n h5?: TypographyPreset;\n h6?: TypographyPreset;\n navigation?: TypographyPreset;\n small?: TypographyPreset;\n code?: TypographyPreset;\n [name: string]: TypographyPreset | undefined;\n}\n\n/** Semantic palette inputs. Glaze resolves every value for all appearance modes. */\nexport interface ThemePaletteConfig {\n /** Light-scheme page surface; dark and high-contrast values adapt. */\n surface?: GlazeColorValue;\n /** Primary reading text seed, resolved against `surface`. */\n text?: GlazeColorValue;\n /** Secondary text seed, resolved against `surface`. */\n textSoft?: GlazeColorValue;\n}\n\n/** Cookbook components whose default Tasty styles can be customized. */\nexport const COOKBOOK_COMPONENT_NAMES = [\n \"Card\",\n \"Logo\",\n \"MobileMenuFooter\",\n \"MobileNavigationTabs\",\n \"PackageVersion\",\n \"Preview\",\n \"Steps\",\n \"Tabs\",\n \"ThemeSelect\",\n \"TopNavigation\",\n \"StarlightHeader\",\n] as const;\n\nexport type CookbookComponentName = (typeof COOKBOOK_COMPONENT_NAMES)[number];\n\n/** A serializable Tasty style object. */\nexport type ComponentStyles = Record<string, unknown>;\n\n/**\n * Plain style objects extend Cookbook defaults. Use `mode: \"replace\"` to\n * discard a component's defaults and supply the complete style object.\n */\nexport type ComponentStyleConfig =\n | ComponentStyles\n | {\n mode: \"extend\" | \"replace\";\n styles: ComponentStyles;\n };\n\nexport type ComponentStylesConfig = Partial<\n Record<CookbookComponentName, ComponentStyleConfig>\n> &\n Record<string, ComponentStyleConfig | undefined>;\n\nexport interface ThemeConfig {\n variant?: string;\n brand?: BrandConfig;\n palette?: ThemePaletteConfig;\n states?: Record<string, string>;\n tokens?: ThemeTokens;\n presets?: TypographyPresets;\n /** Direct Tasty component styles, keyed by Cookbook component name. */\n styles?: ComponentStylesConfig;\n contrastLevel?: number | \"auto\";\n}\n\nexport interface MarkdownConfig {\n stripLeadingBadges?: boolean;\n rawHtml?: \"sanitize\" | \"allow\" | \"reject\";\n strictLanguages?: boolean;\n executablePreviews?: boolean;\n remarkPlugins?: unknown[];\n rehypePlugins?: unknown[];\n}\n\nexport interface SearchConfig {\n enabled?: boolean;\n}\n\nexport interface ComponentsConfig {\n overrides?: Record<string, string>;\n}\n\nexport interface BuildConfig {\n strict?: boolean;\n ci?: boolean;\n base?: string;\n cacheDir?: string;\n maxArtifactBytes?: number;\n maxUnpackedBytes?: number;\n maxFiles?: number;\n maxPathDepth?: number;\n maxAssetBytes?: number;\n}\n\nexport interface DocsConfig {\n site?: SiteConfig;\n content?: ContentConfig;\n navigation?: NavigationConfig | NavigationItem[];\n theme?: ThemeConfig;\n markdown?: MarkdownConfig;\n search?: SearchConfig;\n components?: ComponentsConfig;\n build?: BuildConfig;\n}\n\nexport interface NormalizedDocsConfig {\n site: SiteConfig;\n content: Required<\n Pick<ContentConfig, \"allowOutsideRoot\" | \"localizeRepositoryLinks\">\n > &\n ContentConfig;\n navigation: NavigationConfig;\n theme: ThemeConfig & { brand: BrandConfig };\n markdown: Required<\n Pick<\n MarkdownConfig,\n | \"stripLeadingBadges\"\n | \"rawHtml\"\n | \"strictLanguages\"\n | \"executablePreviews\"\n >\n > &\n MarkdownConfig;\n search: Required<SearchConfig>;\n components: ComponentsConfig;\n build: Required<BuildConfig>;\n}\n\nexport interface DocsFrontmatter {\n title?: string;\n description?: string;\n slug?: string;\n draft?: boolean;\n sidebar?: false | { label?: string; order?: number; group?: string };\n toc?: false | { minHeadingLevel?: number; maxHeadingLevel?: number };\n editUrl?: false | string;\n prev?: false | string;\n next?: false | string;\n search?: boolean;\n head?: Array<Record<string, unknown>>;\n}\n\nexport interface DocsHeading {\n depth: number;\n text: string;\n slug: string;\n line?: number;\n}\n\nexport interface DocsReference {\n original: string;\n resolved?: string;\n targetSource?: string;\n fragment?: string;\n line?: number;\n}\n\nexport interface DocsAsset extends DocsReference {\n sourcePath?: string;\n publicPath?: string;\n hash?: string;\n bytes?: number;\n}\n\nexport interface DocsEntry {\n id: string;\n sourcePath: string;\n absolutePath: string;\n sourceRoot: string;\n route: string;\n title: string;\n description?: string;\n frontmatter: DocsFrontmatter;\n headings: DocsHeading[];\n body: string;\n transformedBody: string;\n ast: Root;\n links: DocsReference[];\n assets: DocsAsset[];\n trust: \"markdown\" | \"mdx\";\n package?: { requested: string; resolved: string };\n}\n\nexport interface DocsRoute {\n route: string;\n entryId: string;\n sourcePath: string;\n title: string;\n}\n\nexport interface DocsGraph {\n root: string;\n config: NormalizedDocsConfig;\n entries: DocsEntry[];\n routes: DocsRoute[];\n assets: DocsAsset[];\n diagnostics: DocsDiagnostic[];\n entryByRoute(route: string): DocsEntry | undefined;\n entryBySource(sourcePath: string): DocsEntry | undefined;\n}\n\nexport interface PackageLockSource {\n requested: string;\n resolved: string;\n registry: string;\n integrity: string;\n vendored?: string;\n}\n\nexport interface CookbookLock {\n schemaVersion: 1;\n sources: PackageLockSource[];\n}\n\nexport interface PackageManifest {\n name: string;\n version: string;\n description?: string;\n homepage?: string;\n repository?: string | { type?: string; url?: string; directory?: string };\n cookbook?: {\n index?: string;\n include?: string[];\n exclude?: string[];\n theme?: { brand?: BrandConfig };\n };\n _integrity?: string;\n _resolved?: string;\n}\n\nexport interface PackageDiscovery {\n root: string;\n manifest: PackageManifest;\n home?: string;\n pages: string[];\n assets: string[];\n}\n\nexport interface CreateDocsGraphOptions {\n root?: string;\n config?: DocsConfig;\n lock?: CookbookLock;\n}\n"],"mappings":";;;;AAoJA,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
@@ -1,4 +1,4 @@
1
- import { B as Root, F as Content, I as Heading, L as Link, R as Paragraph, m as DocsHeading, z as PhrasingContent } from "../types-BinP19sy.js";
1
+ import { B as Content, G as Root, H as Link, U as Paragraph, V as Heading, W as PhrasingContent, y as DocsHeading } from "../types-CSXW--5L.js";
2
2
  //#region src/markdown/index.d.ts
3
3
  interface ParsedMarkdown {
4
4
  ast: Root;
@@ -1056,6 +1056,8 @@ interface DocsDiagnostic {
1056
1056
  }
1057
1057
  interface SiteConfig {
1058
1058
  title?: string;
1059
+ /** Version of the documented package, rendered beside the site title. */
1060
+ version?: string;
1059
1061
  description?: string;
1060
1062
  url?: string;
1061
1063
  repository?: string;
@@ -1160,6 +1162,7 @@ interface TypographyPresets {
1160
1162
  h4?: TypographyPreset;
1161
1163
  h5?: TypographyPreset;
1162
1164
  h6?: TypographyPreset;
1165
+ navigation?: TypographyPreset;
1163
1166
  small?: TypographyPreset;
1164
1167
  code?: TypographyPreset;
1165
1168
  [name: string]: TypographyPreset | undefined;
@@ -1173,6 +1176,20 @@ interface ThemePaletteConfig {
1173
1176
  /** Secondary text seed, resolved against `surface`. */
1174
1177
  textSoft?: GlazeColorValue;
1175
1178
  }
1179
+ /** Cookbook components whose default Tasty styles can be customized. */
1180
+ declare const COOKBOOK_COMPONENT_NAMES: readonly ["Card", "Logo", "MobileMenuFooter", "MobileNavigationTabs", "PackageVersion", "Preview", "Steps", "Tabs", "ThemeSelect", "TopNavigation", "StarlightHeader"];
1181
+ type CookbookComponentName = (typeof COOKBOOK_COMPONENT_NAMES)[number];
1182
+ /** A serializable Tasty style object. */
1183
+ type ComponentStyles = Record<string, unknown>;
1184
+ /**
1185
+ * Plain style objects extend Cookbook defaults. Use `mode: "replace"` to
1186
+ * discard a component's defaults and supply the complete style object.
1187
+ */
1188
+ type ComponentStyleConfig = ComponentStyles | {
1189
+ mode: "extend" | "replace";
1190
+ styles: ComponentStyles;
1191
+ };
1192
+ type ComponentStylesConfig = Partial<Record<CookbookComponentName, ComponentStyleConfig>> & Record<string, ComponentStyleConfig | undefined>;
1176
1193
  interface ThemeConfig {
1177
1194
  variant?: string;
1178
1195
  brand?: BrandConfig;
@@ -1180,7 +1197,8 @@ interface ThemeConfig {
1180
1197
  states?: Record<string, string>;
1181
1198
  tokens?: ThemeTokens;
1182
1199
  presets?: TypographyPresets;
1183
- styles?: Record<string, unknown>;
1200
+ /** Direct Tasty component styles, keyed by Cookbook component name. */
1201
+ styles?: ComponentStylesConfig;
1184
1202
  contrastLevel?: number | "auto";
1185
1203
  }
1186
1204
  interface MarkdownConfig {
@@ -1351,5 +1369,5 @@ interface CreateDocsGraphOptions {
1351
1369
  lock?: CookbookLock;
1352
1370
  }
1353
1371
  //#endregion
1354
- export { ThemePaletteConfig as A, Root as B, NormalizedDocsConfig as C, SearchConfig as D, PackageManifest as E, Content as F, Heading as I, Link as L, ThemeTokens as M, TypographyPreset as N, SiteConfig as O, TypographyPresets as P, Paragraph as R, NavigationTab as S, PackageLockSource as T, DocsSource as _, CookbookLock as a, NavigationItem as b, DocsAsset as c, DocsEntry as d, DocsFrontmatter as f, DocsRoute as g, DocsReference as h, ContentConfig as i, ThemeTokenValue as j, ThemeConfig as k, DocsConfig as l, DocsHeading as m, BuildConfig as n, CreateDocsGraphOptions as o, DocsGraph as p, ComponentsConfig as r, DiagnosticSeverity as s, BrandConfig as t, DocsDiagnostic as u, MarkdownConfig as v, PackageDiscovery as w, NavigationPlacement as x, NavigationConfig as y, PhrasingContent as z };
1355
- //# sourceMappingURL=types-BinP19sy.d.ts.map
1372
+ export { PackageLockSource as A, Content as B, MarkdownConfig as C, NavigationTab as D, NavigationPlacement as E, ThemePaletteConfig as F, Root as G, Link as H, ThemeTokenValue as I, ThemeTokens as L, SearchConfig as M, SiteConfig as N, NormalizedDocsConfig as O, ThemeConfig as P, TypographyPreset as R, DocsSource as S, NavigationItem as T, Paragraph as U, Heading as V, PhrasingContent as W, DocsFrontmatter as _, ComponentStyles as a, DocsReference as b, ContentConfig as c, CreateDocsGraphOptions as d, DiagnosticSeverity as f, DocsEntry as g, DocsDiagnostic as h, ComponentStyleConfig as i, PackageManifest as j, PackageDiscovery as k, CookbookComponentName as l, DocsConfig as m, BuildConfig as n, ComponentStylesConfig as o, DocsAsset as p, COOKBOOK_COMPONENT_NAMES as r, ComponentsConfig as s, BrandConfig as t, CookbookLock as u, DocsGraph as v, NavigationConfig as w, DocsRoute as x, DocsHeading as y, TypographyPresets as z };
1373
+ //# sourceMappingURL=types-CSXW--5L.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types-BinP19sy.d.ts","names":[],"sources":["../../../node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts","../../../node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts","../src/types.ts"],"x_google_ignoreList":[0,1],"mappings":";;;;;;;;;;;;;;;;;;;;;;UAqBiB;;;;UAKA;;;;EAIb;;;;EAKA;;;;EAIA;;;;;;;UAQa;;;;EAIb,OAAO;;;;EAKP,KAAK;;;;;;;;;;;;UA6BQ;;;;EAIb;;;;EAKA,OAAO;;;;;;;EAQP,WAAW;;;;;;;;;;;;;;;;;;;;;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;EACA;EACA;;UAGe;EACf;EACA;EACA;EACA;EACA;;UAGe,kBAAkB;EACjC;EACA;EACA;EACA;;UAGe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA,aAAa;EACb,UAAU;EACV;EACA;EACA,KAAK;EACL,OAAO;EACP,QAAQ;EACR;EACA;IAAY;IAAmB;;;UAGhB;EACf;EACA;EACA;EACA;;UAGe;EACf;EACA,QAAQ;EACR,SAAS;EACT,QAAQ;EACR,QAAQ;EACR,aAAa;EACb,aAAa,gBAAgB;EAC7B,cAAc,qBAAqB;;UAGpB;EACf;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA,SAAS;;UAGM;EACf;EACA;EACA;EACA;EACA;IAAwB;IAAe;IAAc;;EACrD;IACE;IACA;IACA;IACA;MAAU,QAAQ;;;EAEpB;EACA;;UAGe;EACf;EACA,UAAU;EACV;EACA;EACA;;UAGe;EACf;EACA,SAAS;EACT,OAAO"}
1
+ {"version":3,"file":"types-CSXW--5L.d.ts","names":[],"sources":["../../../node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts","../../../node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts","../src/types.ts"],"x_google_ignoreList":[0,1],"mappings":";;;;;;;;;;;;;;;;;;;;;;UAqBiB;;;;UAKA;;;;EAIb;;;;EAKA;;;;EAIA;;;;;;;UAQa;;;;EAIb,OAAO;;;;EAKP,KAAK;;;;;;;;;;;;UA6BQ;;;;EAIb;;;;EAKA,OAAO;;;;;;;EAQP,WAAW;;;;;;;;;;;;;;;;;;;;;;KCjFH;;;;;;;;;;KAWA;;;;;UAOK;;;;;EAKb;;;;;;;;;;;UAYa;;;;;;;;;;;;;;EAcb;;;;;;;;;;EAWA;;;;;UAMa,kBAAkB;;;;EAI/B,eAAe;;;;;UAMF;;;;EAIb;;;;;EAKA;;;;;;;;;;;;;;;;;;;;;UAuBa,aAAa;;;;;;;;;KAWlB,eAAe,sBAAsB;;;;;;;;;;;;;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;EACA;EACA;EACA,aAAa;EACb,UAAU;EACV;EACA;EACA,KAAK;EACL,OAAO;EACP,QAAQ;EACR;EACA;IAAY;IAAmB;;;UAGhB;EACf;EACA;EACA;EACA;;UAGe;EACf;EACA,QAAQ;EACR,SAAS;EACT,QAAQ;EACR,QAAQ;EACR,aAAa;EACb,aAAa,gBAAgB;EAC7B,cAAc,qBAAqB;;UAGpB;EACf;EACA;EACA;EACA;EACA;;UAGe;EACf;EACA,SAAS;;UAGM;EACf;EACA;EACA;EACA;EACA;IAAwB;IAAe;IAAc;;EACrD;IACE;IACA;IACA;IACA;MAAU,QAAQ;;;EAEpB;EACA;;UAGe;EACf;EACA,UAAU;EACV;EACA;EACA;;UAGe;EACf;EACA,SAAS;EACT,OAAO"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenphi/docs",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "description": "Repository-native content and configuration engine for Cookbook",
5
5
  "type": "module",
6
6
  "sideEffects": false,