@chassis-ui/docs 0.3.6 → 0.3.8

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.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Shared Astro layouts, components, and utilities for Chassis documentation sites.
4
4
 
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Version: 0.3.6](https://img.shields.io/badge/Version-0.3.6-blue.svg)](https://www.npmjs.com/package/@chassis-ui/docs) [![npm](https://img.shields.io/npm/v/@chassis-ui/docs.svg)](https://www.npmjs.com/package/@chassis-ui/docs)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Version: 0.3.8](https://img.shields.io/badge/Version-0.3.8-blue.svg)](https://www.npmjs.com/package/@chassis-ui/docs) [![npm](https://img.shields.io/npm/v/@chassis-ui/docs.svg)](https://www.npmjs.com/package/@chassis-ui/docs)
6
6
 
7
7
  ## Overview
8
8
 
@@ -61,15 +61,15 @@ import { generateTOC, processImage } from '@chassis-ui/docs'
61
61
 
62
62
  ## Exports
63
63
 
64
- | Subpath | Contents |
65
- | ------------------------------- | --------------------------------------------------------------------------------------------- |
64
+ | Subpath | Contents |
65
+ | ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
66
66
  | `@chassis-ui/docs` | Library functions: `highlight`, `image`, `layout`, `markdown`, `placeholder`, `rehype`, `shortcodes`, `site`, `toc`, `utils` |
67
- | `@chassis-ui/docs/layouts/*` | `BaseLayout`, `DocsLayout`, `RedirectLayout`, `SingleLayout` |
68
- | `@chassis-ui/docs/components/*` | `DocsSidebar`, `FeatureCard`, `NavLink`, `ResponsiveImage`, `TableOfContents`, `ThemeToggler` |
69
- | `@chassis-ui/docs/shortcodes/*` | MDX shortcode components |
70
- | `@chassis-ui/docs/libs/*` | Direct access to individual library modules |
71
- | `@chassis-ui/docs/js/*` | Client-side scripts |
72
- | `@chassis-ui/docs/scss/*` | SCSS utilities and partials |
67
+ | `@chassis-ui/docs/layouts/*` | `BaseLayout`, `DocsLayout`, `RedirectLayout`, `SingleLayout` |
68
+ | `@chassis-ui/docs/components/*` | `DocsSidebar`, `FeatureCard`, `NavLink`, `ResponsiveImage`, `TableOfContents`, `ThemeToggler` |
69
+ | `@chassis-ui/docs/shortcodes/*` | MDX shortcode components |
70
+ | `@chassis-ui/docs/libs/*` | Direct access to individual library modules |
71
+ | `@chassis-ui/docs/js/*` | Client-side scripts |
72
+ | `@chassis-ui/docs/scss/*` | SCSS utilities and partials |
73
73
 
74
74
  ### Source Layout
75
75
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chassis-ui/docs",
3
3
  "description": "Shared Astro components and layouts for Chassis documentation sites.",
4
- "version": "0.3.6",
4
+ "version": "0.3.8",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@astrojs/markdown-remark": "^7.0.0",
48
- "@chassis-ui/css": ">=0.3.2",
48
+ "@chassis-ui/css": ">=0.3.3",
49
49
  "@pagefind/component-ui": "^1.0.0",
50
50
  "@shikijs/transformers": "^4.3.1",
51
51
  "astro": "^7.0.0",
@@ -39,6 +39,9 @@ const pageTitle = isHome
39
39
  <meta charset="UTF-8" />
40
40
  <meta name="viewport" content="width=device-width, initial-scale=1" />
41
41
 
42
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
43
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
44
+
42
45
  <meta name="description" content={description} />
43
46
 
44
47
  <meta name="author" content={getConfig().authors} />
@@ -29,8 +29,8 @@ const socialImageSize = await getStaticImageSize(path.join(getDocsPublicFsPath()
29
29
  ---
30
30
 
31
31
  <meta name="twitter:card" content="summary_large_image" />
32
- <meta name="twitter:site" content=`@${getConfig().x}` />
33
- <meta name="twitter:creator" content=`@${getConfig().x}` />
32
+ <meta name="twitter:site" content=`@${getConfig().x_username}` />
33
+ <meta name="twitter:creator" content=`@${getConfig().x_username}` />
34
34
  <meta name="twitter:title" content={title} />
35
35
  <meta name="twitter:description" content={description} />
36
36
  <meta name="twitter:image" content={socialImageUrl} />
@@ -107,21 +107,21 @@ const isActive = (path: string) => {
107
107
  <ul class="navbar-nav flex-row flex-wrap large:ms-auto align-items-center">
108
108
  <NavLink
109
109
  class="px-0 large:px-small"
110
- href={getConfig().github_org}
110
+ href={`https://figma.com/@${getConfig().figma_handle}`}
111
111
  target="_blank"
112
112
  rel="noopener"
113
113
  >
114
- <Icon name="github-brand" title="GitHub" />
115
- <small class="large:d-none ms-xsmall">GitHub</small>
114
+ <Icon name="figma-brand" title="Figma" />
115
+ <small class="large:d-none ms-xsmall">Figma Community</small>
116
116
  </NavLink>
117
117
  <NavLink
118
118
  class="px-0 large:px-small"
119
- href={`https://x.com/${getConfig().x}`}
119
+ href={`https://github.com/${getConfig().github_org}`}
120
120
  target="_blank"
121
121
  rel="noopener"
122
122
  >
123
- <Icon name="x-twitter-brand" title="X" />
124
- <small class="large:d-none ms-xsmall">X</small>
123
+ <Icon name="github-brand" title="GitHub" />
124
+ <small class="large:d-none ms-xsmall">GitHub</small>
125
125
  </NavLink>
126
126
  <li class="nav-item col-12 large:col-auto">
127
127
  <div class="vr d-none large:d-flex h-100 large:mx-2xsmall"></div>
@@ -60,10 +60,10 @@
60
60
  align-items: center;
61
61
 
62
62
  @include media-breakpoint-down(medium) {
63
- margin--block-start: -25%;
63
+ margin-block-start: -25%;
64
64
  }
65
65
 
66
- > img {
66
+ img {
67
67
  vertical-align: middle;
68
68
  zoom: 1.5;
69
69
  transform: rotate(30deg) skewX(-30deg) scaleY(.866);