@meddleware/dev 0.0.3 → 0.0.4

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.
@@ -0,0 +1,48 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>Copyleft Notice</title>
7
+ <style>
8
+ :root {
9
+ color-scheme: light dark;
10
+ font-family:
11
+ system-ui,
12
+ -apple-system,
13
+ BlinkMacSystemFont,
14
+ "Segoe UI",
15
+ sans-serif;
16
+ }
17
+ body {
18
+ margin: 0;
19
+ padding: 2rem;
20
+ line-height: 1.6;
21
+ max-width: 48rem;
22
+ }
23
+ h1 {
24
+ margin-top: 0;
25
+ font-size: 1.5rem;
26
+ }
27
+ code {
28
+ font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
29
+ }
30
+ </style>
31
+ </head>
32
+ <body>
33
+ <h1>Copyleft Notice</h1>
34
+ <p>
35
+ This page is reserved for works distributed under a copyleft-style
36
+ permission structure.
37
+ </p>
38
+ <p>
39
+ Copyleft generally means that derivatives and redistributions must
40
+ preserve the same or compatible licensing terms, depending on the specific
41
+ licence in force.
42
+ </p>
43
+ <p>
44
+ The exact legal meaning depends on the licence or notice that accompanies
45
+ the relevant work.
46
+ </p>
47
+ </body>
48
+ </html>
@@ -0,0 +1,48 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>Copyright Notice</title>
7
+ <style>
8
+ :root {
9
+ color-scheme: light dark;
10
+ font-family:
11
+ system-ui,
12
+ -apple-system,
13
+ BlinkMacSystemFont,
14
+ "Segoe UI",
15
+ sans-serif;
16
+ }
17
+ body {
18
+ margin: 0;
19
+ padding: 2rem;
20
+ line-height: 1.6;
21
+ max-width: 48rem;
22
+ }
23
+ h1 {
24
+ margin-top: 0;
25
+ font-size: 1.5rem;
26
+ }
27
+ code {
28
+ font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
29
+ }
30
+ </style>
31
+ </head>
32
+ <body>
33
+ <h1>Copyright Notice</h1>
34
+ <p>
35
+ Unless otherwise stated, the content and code in this application are
36
+ protected by copyright.
37
+ </p>
38
+ <p>
39
+ Copyright in the relevant work is retained by the applicable rights holder
40
+ and used under the permissions, licences, or agreements associated with
41
+ that work.
42
+ </p>
43
+ <p>
44
+ For the full application footer, see the main interface. This page exists
45
+ as a static legal reference.
46
+ </p>
47
+ </body>
48
+ </html>
@@ -1,16 +1,19 @@
1
1
  // Dev theme = VitePress default theme + Meddleware brand overrides.
2
2
  // The design-token CSS is imported so the palette stays in lockstep with the apps; custom.css
3
3
  // maps VitePress's --vp-c-brand-* onto the functional primary ramps from design-tokens.
4
- import { h } from 'vue'
5
4
  import DefaultTheme from 'vitepress/theme'
6
5
  import type { Theme } from 'vitepress'
6
+ import { CopyrightLine } from '@meddleware/ui'
7
7
  import '@meddleware/design-tokens/tokens.css'
8
8
  import '@meddleware/design-tokens/seasons.css'
9
9
  import './custom.css'
10
10
 
11
11
  const theme: Theme = {
12
12
  extends: DefaultTheme,
13
- enhanceApp({ app: _app, router: _router, siteData: _siteData }) {
13
+ enhanceApp({ app, router: _router, siteData: _siteData }) {
14
+ // Register CopyrightLine as a global component
15
+ app.component('CopyrightLine', CopyrightLine)
16
+
14
17
  if (typeof document !== 'undefined') {
15
18
  const m = new Date().getMonth();
16
19
  document.documentElement.dataset.season =
package/docs/index.md CHANGED
@@ -40,5 +40,9 @@ features:
40
40
  - title: API reference
41
41
  details: Full TypeDoc SDK reference lives in the user docs — every exported function, type, and class.
42
42
  link: https://docs.meddleware.co.uk/blockchain/sui/
43
- linkText: API reference
43
+ linkText: API reference
44
44
  ---
45
+
46
+ <div class="vp-doc" style="padding-top: 2rem; border-top: 1px solid var(--border); margin-top: 3rem; text-align: center;">
47
+ <CopyrightLine symbolVariant="kopimi" organisation-name="Meddleware" rightsStatement="jam" />
48
+ </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meddleware/dev",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Meddleware developer documentation site (dev.meddleware.co.uk) — VitePress. Integration guides, design system usage, and Sui development patterns.",
5
5
  "homepage": "https://dev.meddleware.co.uk/",
6
6
  "author": "Meddleware <dev@meddleware.co.uk>",
@@ -25,7 +25,8 @@
25
25
  "access": "public"
26
26
  },
27
27
  "dependencies": {
28
- "@meddleware/design-tokens": "^0.1.3"
28
+ "@meddleware/design-tokens": "^0.1.4",
29
+ "@meddleware/ui": "^0.1.16"
29
30
  },
30
31
  "devDependencies": {
31
32
  "@types/node": "~24.12.2",