@orangecheck/app-design 0.6.1 → 1.0.0
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 +4 -3
- package/dist/brand.js.map +1 -1
- package/dist/brand.mjs.map +1 -1
- package/dist/chrome.d.mts +49 -15
- package/dist/chrome.d.ts +49 -15
- package/dist/chrome.js +619 -55
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +617 -57
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.d.mts +231 -1
- package/dist/components.d.ts +231 -1
- package/dist/components.js +1187 -2
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +1162 -5
- package/dist/components.mjs.map +1 -1
- package/dist/family.d.mts +2 -0
- package/dist/family.d.ts +2 -0
- package/dist/family.js +167 -0
- package/dist/family.js.map +1 -0
- package/dist/family.mjs +154 -0
- package/dist/family.mjs.map +1 -0
- package/dist/index-C6hDqOOS.d.mts +58 -0
- package/dist/index-C6hDqOOS.d.ts +58 -0
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +1619 -132
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1575 -134
- package/dist/index.mjs.map +1 -1
- package/dist/primitives.d.mts +52 -1
- package/dist/primitives.d.ts +52 -1
- package/dist/primitives.js +280 -3
- package/dist/primitives.js.map +1 -1
- package/dist/primitives.mjs +271 -6
- package/dist/primitives.mjs.map +1 -1
- package/dist/status-badge-BEOxeY9j.d.ts +13 -0
- package/dist/status-badge-DRwGhB0h.d.mts +13 -0
- package/dist/styles/fonts.css +1 -1
- package/dist/styles/tokens.css +4 -2
- package/dist/tokens.d.mts +3 -1
- package/dist/tokens.d.ts +3 -1
- package/dist/tokens.js +5 -3
- package/dist/tokens.js.map +1 -1
- package/dist/tokens.mjs +5 -3
- package/dist/tokens.mjs.map +1 -1
- package/package.json +9 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { D as DOCS_HREF, F as FAMILY, a as FAMILY_GROUPS, b as FamilyGroup, c as FamilySite, d as FamilySlug, L as LEGAL_LINKS, O as OCHK_IO, f as OCHK_IO_FOOTER, g as OCHK_IO_NAV, P as PROTOCOLS, h as PROTOCOL_ORDER, i as ProtocolSite, j as ProtocolSlug, S as SiteStatus, k as familyByGroup, l as familySite, p as protocolSite } from './index-C6hDqOOS.mjs';
|
|
2
|
+
import 'react';
|
package/dist/family.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { D as DOCS_HREF, F as FAMILY, a as FAMILY_GROUPS, b as FamilyGroup, c as FamilySite, d as FamilySlug, L as LEGAL_LINKS, O as OCHK_IO, f as OCHK_IO_FOOTER, g as OCHK_IO_NAV, P as PROTOCOLS, h as PROTOCOL_ORDER, i as ProtocolSite, j as ProtocolSlug, S as SiteStatus, k as familyByGroup, l as familySite, p as protocolSite } from './index-C6hDqOOS.js';
|
|
2
|
+
import 'react';
|
package/dist/family.js
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/family/index.ts
|
|
4
|
+
var OCHK_IO = "https://ochk.io";
|
|
5
|
+
var DOCS_HREF = `${OCHK_IO}/docs`;
|
|
6
|
+
function protocol(slug, verb, line, kinds) {
|
|
7
|
+
return {
|
|
8
|
+
slug,
|
|
9
|
+
label: slug,
|
|
10
|
+
href: `${OCHK_IO}/${slug}`,
|
|
11
|
+
group: "protocol",
|
|
12
|
+
line,
|
|
13
|
+
status: "live",
|
|
14
|
+
verb,
|
|
15
|
+
pageHref: `${OCHK_IO}/${slug}`,
|
|
16
|
+
toolHref: `https://${slug}.ochk.io`,
|
|
17
|
+
specHref: `https://github.com/orangecheck/oc-${slug}-protocol`,
|
|
18
|
+
kinds
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
var PROTOCOLS = [
|
|
22
|
+
protocol("attest", "identity", "Show that an address holds bitcoin, and for how long.", "30078"),
|
|
23
|
+
protocol("lock", "confidentiality", "Encrypt to a Bitcoin address, so only its holder can open it.", "30078"),
|
|
24
|
+
protocol("vote", "legitimacy", "Polls weighed in sats, that anyone can tally.", "30080\u201330082"),
|
|
25
|
+
protocol("stamp", "provenance", "Prove who signed something, and when.", "30083"),
|
|
26
|
+
protocol("agent", "authority", "Give software scoped, revocable permission to act for you.", "30083\u201330086"),
|
|
27
|
+
protocol("pledge", "commitment", "Make a promise with bitcoin behind it, on a public record.", "30078")
|
|
28
|
+
];
|
|
29
|
+
var PROTOCOL_ORDER = PROTOCOLS.map((p) => p.slug);
|
|
30
|
+
var FAMILY = [
|
|
31
|
+
{
|
|
32
|
+
slug: "home",
|
|
33
|
+
label: "ochk.io",
|
|
34
|
+
href: OCHK_IO,
|
|
35
|
+
group: "orangecheck",
|
|
36
|
+
line: "The open protocols, and the company behind them.",
|
|
37
|
+
status: "live"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
slug: "me",
|
|
41
|
+
label: "ochk.app",
|
|
42
|
+
href: "https://ochk.app",
|
|
43
|
+
group: "orangecheck",
|
|
44
|
+
line: "One account, with Bitcoin behind it.",
|
|
45
|
+
status: "testing"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
slug: "docs",
|
|
49
|
+
label: "docs",
|
|
50
|
+
href: DOCS_HREF,
|
|
51
|
+
group: "orangecheck",
|
|
52
|
+
line: "Specs, SDKs and guides for every protocol.",
|
|
53
|
+
status: "live"
|
|
54
|
+
},
|
|
55
|
+
...PROTOCOLS,
|
|
56
|
+
{
|
|
57
|
+
slug: "vault",
|
|
58
|
+
label: "vault",
|
|
59
|
+
href: "https://vault.ochk.io",
|
|
60
|
+
group: "app",
|
|
61
|
+
line: "A password manager, encrypted in your browser.",
|
|
62
|
+
status: "live",
|
|
63
|
+
protocols: ["lock"]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
slug: "chat",
|
|
67
|
+
label: "chat",
|
|
68
|
+
href: "https://chat.ochk.io",
|
|
69
|
+
group: "app",
|
|
70
|
+
line: "Messages only the holder of a Bitcoin address can read.",
|
|
71
|
+
status: "testing",
|
|
72
|
+
protocols: ["lock"]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
slug: "cosign",
|
|
76
|
+
label: "cosign",
|
|
77
|
+
href: "https://cosign.ochk.io",
|
|
78
|
+
group: "app",
|
|
79
|
+
line: "Builders find co-founders and backers.",
|
|
80
|
+
status: "testing",
|
|
81
|
+
protocols: ["attest"]
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
slug: "me-demo",
|
|
85
|
+
// "demo", not the made-up app's own name, so nobody takes it for ours.
|
|
86
|
+
label: "demo",
|
|
87
|
+
href: "https://me-demo.ochk.io",
|
|
88
|
+
group: "app",
|
|
89
|
+
line: "Lumen Notes, a made-up app that signs in with orangecheck.",
|
|
90
|
+
status: "live"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
slug: "globe",
|
|
94
|
+
label: "globe",
|
|
95
|
+
href: "https://globe.ochk.io",
|
|
96
|
+
group: "public-good",
|
|
97
|
+
line: "The Bitcoin network, live, on a globe.",
|
|
98
|
+
status: "live"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
slug: "btc",
|
|
102
|
+
label: "btc",
|
|
103
|
+
href: "https://btc.ochk.io",
|
|
104
|
+
group: "public-good",
|
|
105
|
+
line: "A free desk for reading the Bitcoin market.",
|
|
106
|
+
status: "live"
|
|
107
|
+
}
|
|
108
|
+
];
|
|
109
|
+
var FAMILY_GROUPS = [
|
|
110
|
+
{ id: "orangecheck", label: "orangecheck" },
|
|
111
|
+
{ id: "protocol", label: "Protocols" },
|
|
112
|
+
{ id: "app", label: "Apps" },
|
|
113
|
+
{ id: "public-good", label: "Public goods" }
|
|
114
|
+
];
|
|
115
|
+
var BY_SLUG = new Map(FAMILY.map((s) => [s.slug, s]));
|
|
116
|
+
function familySite(slug) {
|
|
117
|
+
return BY_SLUG.get(slug);
|
|
118
|
+
}
|
|
119
|
+
function protocolSite(slug) {
|
|
120
|
+
return BY_SLUG.get(slug);
|
|
121
|
+
}
|
|
122
|
+
function familyByGroup() {
|
|
123
|
+
return FAMILY_GROUPS.map((g) => ({ ...g, sites: FAMILY.filter((s) => s.group === g.id) }));
|
|
124
|
+
}
|
|
125
|
+
var LEGAL_LINKS = [
|
|
126
|
+
{ href: `${OCHK_IO}/privacy`, label: "Privacy" },
|
|
127
|
+
{ href: `${OCHK_IO}/terms`, label: "Terms" },
|
|
128
|
+
{ href: `${OCHK_IO}/security`, label: "Security" },
|
|
129
|
+
{ href: `${OCHK_IO}/trademark`, label: "Trademarks" },
|
|
130
|
+
{ href: `${OCHK_IO}/contact`, label: "Contact" }
|
|
131
|
+
];
|
|
132
|
+
var OCHK_IO_NAV = [
|
|
133
|
+
{
|
|
134
|
+
href: `${OCHK_IO}/protocols`,
|
|
135
|
+
label: "Protocols",
|
|
136
|
+
children: PROTOCOLS.map((p) => ({ href: p.pageHref, label: p.label, description: p.line }))
|
|
137
|
+
},
|
|
138
|
+
{ href: `${OCHK_IO}/apps`, label: "Apps" },
|
|
139
|
+
{ href: DOCS_HREF, label: "Docs" },
|
|
140
|
+
{ href: `${OCHK_IO}/trust`, label: "Trust" },
|
|
141
|
+
{ href: `${OCHK_IO}/about`, label: "About" }
|
|
142
|
+
];
|
|
143
|
+
var OCHK_IO_FOOTER = [
|
|
144
|
+
{
|
|
145
|
+
heading: "Company",
|
|
146
|
+
links: [
|
|
147
|
+
{ href: `${OCHK_IO}/about`, label: "About" },
|
|
148
|
+
{ href: `${OCHK_IO}/trust`, label: "Trust" },
|
|
149
|
+
{ href: "https://github.com/orangecheck", label: "GitHub", external: true }
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
];
|
|
153
|
+
|
|
154
|
+
exports.DOCS_HREF = DOCS_HREF;
|
|
155
|
+
exports.FAMILY = FAMILY;
|
|
156
|
+
exports.FAMILY_GROUPS = FAMILY_GROUPS;
|
|
157
|
+
exports.LEGAL_LINKS = LEGAL_LINKS;
|
|
158
|
+
exports.OCHK_IO = OCHK_IO;
|
|
159
|
+
exports.OCHK_IO_FOOTER = OCHK_IO_FOOTER;
|
|
160
|
+
exports.OCHK_IO_NAV = OCHK_IO_NAV;
|
|
161
|
+
exports.PROTOCOLS = PROTOCOLS;
|
|
162
|
+
exports.PROTOCOL_ORDER = PROTOCOL_ORDER;
|
|
163
|
+
exports.familyByGroup = familyByGroup;
|
|
164
|
+
exports.familySite = familySite;
|
|
165
|
+
exports.protocolSite = protocolSite;
|
|
166
|
+
//# sourceMappingURL=family.js.map
|
|
167
|
+
//# sourceMappingURL=family.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/family/index.ts"],"names":[],"mappings":";;;AA6DO,IAAM,OAAA,GAAU;AAEhB,IAAM,SAAA,GAAY,GAAG,OAAO,CAAA,KAAA;AAEnC,SAAS,QAAA,CACL,IAAA,EACA,IAAA,EACA,IAAA,EACA,KAAA,EACY;AACZ,EAAA,OAAO;AAAA,IACH,IAAA;AAAA,IACA,KAAA,EAAO,IAAA;AAAA,IACP,IAAA,EAAM,CAAA,EAAG,OAAO,CAAA,CAAA,EAAI,IAAI,CAAA,CAAA;AAAA,IACxB,KAAA,EAAO,UAAA;AAAA,IACP,IAAA;AAAA,IACA,MAAA,EAAQ,MAAA;AAAA,IACR,IAAA;AAAA,IACA,QAAA,EAAU,CAAA,EAAG,OAAO,CAAA,CAAA,EAAI,IAAI,CAAA,CAAA;AAAA,IAC5B,QAAA,EAAU,WAAW,IAAI,CAAA,QAAA,CAAA;AAAA,IACzB,QAAA,EAAU,qCAAqC,IAAI,CAAA,SAAA,CAAA;AAAA,IACnD;AAAA,GACJ;AACJ;AAGO,IAAM,SAAA,GAAqC;AAAA,EAC9C,QAAA,CAAS,QAAA,EAAU,UAAA,EAAY,uDAAA,EAAyD,OAAO,CAAA;AAAA,EAC/F,QAAA,CAAS,MAAA,EAAQ,iBAAA,EAAmB,+DAAA,EA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G,OAAO,CAAA,UAAA,CAAA;AAAA,IAChB,KAAA,EAAO,WAAA;AAAA,IACP,QAAA,EAAU,SAAA,CAAU,GAAA,CAAI,CAAC,OAAO,EAAE,IAAA,EAAM,CAAA,CAAE,QAAA,EAAU,OAAO,CAAA,CAAE,KAAA,EAAO,WAAA,EAAa,CAAA,CAAE,MAAK,CAAE;AAAA,GAC9F;AAAA,EACA,EAAE,IAAA,EAAM,CAAA,EAAG,OAAO,CAAA,KAAA,CAAA,EAAS,OAAO,MAAA,EAAO;AAAA,EACzC,EAAE,IAAA,EAAM,SAAA,EAAW,KAAA,EAAO,MAAA,EAAO;AAAA,EACjC,EAAE,IAAA,EAAM,CAAA,EAAG,OAAO,CAAA,MAAA,CAAA,EAAU,OAAO,OAAA,EAAQ;AAAA,EAC3C,EAAE,IAAA,EAAM,CAAA,EAAG,OAAO,CAAA,MAAA,CAAA,EAAU,OAAO,OAAA;AACvC;AAGO,IAAM,cAAA,GAA0C;AAAA,EACnD;AAAA,IACI,OAAA,EAAS,SAAA;AAAA,IACT,KAAA,EAAO;AAAA,MACH,EAAE,IAAA,EAAM,CAAA,EAAG,OAAO,CAAA,MAAA,CAAA,EAAU,OAAO,OAAA,EAAQ;AAAA,MAC3C,EAAE,IAAA,EAAM,CAAA,EAAG,OAAO,CAAA,MAAA,CAAA,EAAU,OAAO,OAAA,EAAQ;AAAA,MAC3C,EAAE,IAAA,EAAM,gCAAA,EAAkC,KAAA,EAAO,QAAA,EAAU,UAAU,IAAA;AAAK;AAC9E;AAER","file":"family.js","sourcesContent":["/*\n * The orangecheck family as data: every public site, its one line, its group\n * and its status. The family menu, the footer, the protocol grid and the app\n * grid all read it, so a site is added, renamed or retired here and nowhere\n * else. No React: OG renderers and server code import it too.\n *\n * Status is written here until the claims source exists; then it is read\n * from there. \"live\" shows no badge.\n */\nimport type { FooterColumn, NavItem } from '../lib/nav';\n\n/** The six protocols, in the family's fixed order. */\nexport type ProtocolSlug = 'attest' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge';\n\n/** The same slugs as the classic system's, so a site's `current` carries over. */\nexport type FamilySlug =\n | 'home'\n | 'me'\n | 'docs'\n | ProtocolSlug\n | 'vault'\n | 'chat'\n | 'cosign'\n | 'me-demo'\n | 'globe'\n | 'btc';\n\nexport type FamilyGroup = 'orangecheck' | 'protocol' | 'app' | 'public-good';\n\n/** Where a site or feature stands, in the family's words. */\nexport type SiteStatus = 'live' | 'testing' | 'not-yet' | 'paused';\n\nexport interface FamilySite {\n slug: FamilySlug;\n /** The site's word, lowercase, as menus and lockups show it. */\n label: string;\n /** Where the family menu and footer send people. A protocol's is its page on ochk.io. */\n href: string;\n group: FamilyGroup;\n /** What it is, in one sentence. */\n line: string;\n status: SiteStatus;\n /** For an app: the protocols it shows. */\n protocols?: ProtocolSlug[];\n}\n\nexport interface ProtocolSite extends FamilySite {\n slug: ProtocolSlug;\n group: 'protocol';\n /** What it carries: identity, confidentiality, legitimacy, provenance, authority, commitment. */\n verb: string;\n /** The protocol's page on ochk.io. */\n pageHref: string;\n /** The tools, on the protocol's own host. */\n toolHref: string;\n /** The normative spec. */\n specHref: string;\n /** The Nostr event kinds it publishes. */\n kinds: string;\n}\n\nexport const OCHK_IO = 'https://ochk.io';\n/** The docs live under ochk.io; docs.ochk.io 308s here. */\nexport const DOCS_HREF = `${OCHK_IO}/docs`;\n\nfunction protocol(\n slug: ProtocolSlug,\n verb: string,\n line: string,\n kinds: string\n): ProtocolSite {\n return {\n slug,\n label: slug,\n href: `${OCHK_IO}/${slug}`,\n group: 'protocol',\n line,\n status: 'live',\n verb,\n pageHref: `${OCHK_IO}/${slug}`,\n toolHref: `https://${slug}.ochk.io`,\n specHref: `https://github.com/orangecheck/oc-${slug}-protocol`,\n kinds,\n };\n}\n\n/** Attest · Lock · Vote · Stamp · Agent · Pledge, everywhere. */\nexport const PROTOCOLS: readonly ProtocolSite[] = [\n protocol('attest', 'identity', 'Show that an address holds bitcoin, and for how long.', '30078'),\n protocol('lock', 'confidentiality', 'Encrypt to a Bitcoin address, so only its holder can open it.', '30078'),\n protocol('vote', 'legitimacy', 'Polls weighed in sats, that anyone can tally.', '30080–30082'),\n protocol('stamp', 'provenance', 'Prove who signed something, and when.', '30083'),\n protocol('agent', 'authority', 'Give software scoped, revocable permission to act for you.', '30083–30086'),\n protocol('pledge', 'commitment', 'Make a promise with bitcoin behind it, on a public record.', '30078'),\n];\n\nexport const PROTOCOL_ORDER: readonly ProtocolSlug[] = PROTOCOLS.map((p) => p.slug);\n\nexport const FAMILY: readonly FamilySite[] = [\n {\n slug: 'home',\n label: 'ochk.io',\n href: OCHK_IO,\n group: 'orangecheck',\n line: 'The open protocols, and the company behind them.',\n status: 'live',\n },\n {\n slug: 'me',\n label: 'ochk.app',\n href: 'https://ochk.app',\n group: 'orangecheck',\n line: 'One account, with Bitcoin behind it.',\n status: 'testing',\n },\n {\n slug: 'docs',\n label: 'docs',\n href: DOCS_HREF,\n group: 'orangecheck',\n line: 'Specs, SDKs and guides for every protocol.',\n status: 'live',\n },\n ...PROTOCOLS,\n {\n slug: 'vault',\n label: 'vault',\n href: 'https://vault.ochk.io',\n group: 'app',\n line: 'A password manager, encrypted in your browser.',\n status: 'live',\n protocols: ['lock'],\n },\n {\n slug: 'chat',\n label: 'chat',\n href: 'https://chat.ochk.io',\n group: 'app',\n line: 'Messages only the holder of a Bitcoin address can read.',\n status: 'testing',\n protocols: ['lock'],\n },\n {\n slug: 'cosign',\n label: 'cosign',\n href: 'https://cosign.ochk.io',\n group: 'app',\n line: 'Builders find co-founders and backers.',\n status: 'testing',\n protocols: ['attest'],\n },\n {\n slug: 'me-demo',\n // \"demo\", not the made-up app's own name, so nobody takes it for ours.\n label: 'demo',\n href: 'https://me-demo.ochk.io',\n group: 'app',\n line: 'Lumen Notes, a made-up app that signs in with orangecheck.',\n status: 'live',\n },\n {\n slug: 'globe',\n label: 'globe',\n href: 'https://globe.ochk.io',\n group: 'public-good',\n line: 'The Bitcoin network, live, on a globe.',\n status: 'live',\n },\n {\n slug: 'btc',\n label: 'btc',\n href: 'https://btc.ochk.io',\n group: 'public-good',\n line: 'A free desk for reading the Bitcoin market.',\n status: 'live',\n },\n];\n\nexport const FAMILY_GROUPS: readonly { id: FamilyGroup; label: string }[] = [\n { id: 'orangecheck', label: 'orangecheck' },\n { id: 'protocol', label: 'Protocols' },\n { id: 'app', label: 'Apps' },\n { id: 'public-good', label: 'Public goods' },\n];\n\nconst BY_SLUG = new Map(FAMILY.map((s) => [s.slug, s]));\n\nexport function familySite(slug: FamilySlug): FamilySite {\n return BY_SLUG.get(slug)!;\n}\n\nexport function protocolSite(slug: ProtocolSlug): ProtocolSite {\n return BY_SLUG.get(slug) as ProtocolSite;\n}\n\n/** The family in its groups, in order, for menus and footers. */\nexport function familyByGroup(): { id: FamilyGroup; label: string; sites: FamilySite[] }[] {\n return FAMILY_GROUPS.map((g) => ({ ...g, sites: FAMILY.filter((s) => s.group === g.id) }));\n}\n\n/** One fixed row on every footer, all on ochk.io. */\nexport const LEGAL_LINKS: readonly NavItem[] = [\n { href: `${OCHK_IO}/privacy`, label: 'Privacy' },\n { href: `${OCHK_IO}/terms`, label: 'Terms' },\n { href: `${OCHK_IO}/security`, label: 'Security' },\n { href: `${OCHK_IO}/trademark`, label: 'Trademarks' },\n { href: `${OCHK_IO}/contact`, label: 'Contact' },\n];\n\n/**\n * ochk.io's header navigation. oc-www and the docs (served under ochk.io/docs)\n * both draw it from here, so the two cannot drift. Absolute links work from\n * either; mark the active item where it is rendered.\n */\nexport const OCHK_IO_NAV: readonly NavItem[] = [\n {\n href: `${OCHK_IO}/protocols`,\n label: 'Protocols',\n children: PROTOCOLS.map((p) => ({ href: p.pageHref, label: p.label, description: p.line })),\n },\n { href: `${OCHK_IO}/apps`, label: 'Apps' },\n { href: DOCS_HREF, label: 'Docs' },\n { href: `${OCHK_IO}/trust`, label: 'Trust' },\n { href: `${OCHK_IO}/about`, label: 'About' },\n];\n\n/** ochk.io's own footer column; `SiteFooter family` adds the family's. */\nexport const OCHK_IO_FOOTER: readonly FooterColumn[] = [\n {\n heading: 'Company',\n links: [\n { href: `${OCHK_IO}/about`, label: 'About' },\n { href: `${OCHK_IO}/trust`, label: 'Trust' },\n { href: 'https://github.com/orangecheck', label: 'GitHub', external: true },\n ],\n },\n];\n"]}
|
package/dist/family.mjs
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// src/family/index.ts
|
|
2
|
+
var OCHK_IO = "https://ochk.io";
|
|
3
|
+
var DOCS_HREF = `${OCHK_IO}/docs`;
|
|
4
|
+
function protocol(slug, verb, line, kinds) {
|
|
5
|
+
return {
|
|
6
|
+
slug,
|
|
7
|
+
label: slug,
|
|
8
|
+
href: `${OCHK_IO}/${slug}`,
|
|
9
|
+
group: "protocol",
|
|
10
|
+
line,
|
|
11
|
+
status: "live",
|
|
12
|
+
verb,
|
|
13
|
+
pageHref: `${OCHK_IO}/${slug}`,
|
|
14
|
+
toolHref: `https://${slug}.ochk.io`,
|
|
15
|
+
specHref: `https://github.com/orangecheck/oc-${slug}-protocol`,
|
|
16
|
+
kinds
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
var PROTOCOLS = [
|
|
20
|
+
protocol("attest", "identity", "Show that an address holds bitcoin, and for how long.", "30078"),
|
|
21
|
+
protocol("lock", "confidentiality", "Encrypt to a Bitcoin address, so only its holder can open it.", "30078"),
|
|
22
|
+
protocol("vote", "legitimacy", "Polls weighed in sats, that anyone can tally.", "30080\u201330082"),
|
|
23
|
+
protocol("stamp", "provenance", "Prove who signed something, and when.", "30083"),
|
|
24
|
+
protocol("agent", "authority", "Give software scoped, revocable permission to act for you.", "30083\u201330086"),
|
|
25
|
+
protocol("pledge", "commitment", "Make a promise with bitcoin behind it, on a public record.", "30078")
|
|
26
|
+
];
|
|
27
|
+
var PROTOCOL_ORDER = PROTOCOLS.map((p) => p.slug);
|
|
28
|
+
var FAMILY = [
|
|
29
|
+
{
|
|
30
|
+
slug: "home",
|
|
31
|
+
label: "ochk.io",
|
|
32
|
+
href: OCHK_IO,
|
|
33
|
+
group: "orangecheck",
|
|
34
|
+
line: "The open protocols, and the company behind them.",
|
|
35
|
+
status: "live"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
slug: "me",
|
|
39
|
+
label: "ochk.app",
|
|
40
|
+
href: "https://ochk.app",
|
|
41
|
+
group: "orangecheck",
|
|
42
|
+
line: "One account, with Bitcoin behind it.",
|
|
43
|
+
status: "testing"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
slug: "docs",
|
|
47
|
+
label: "docs",
|
|
48
|
+
href: DOCS_HREF,
|
|
49
|
+
group: "orangecheck",
|
|
50
|
+
line: "Specs, SDKs and guides for every protocol.",
|
|
51
|
+
status: "live"
|
|
52
|
+
},
|
|
53
|
+
...PROTOCOLS,
|
|
54
|
+
{
|
|
55
|
+
slug: "vault",
|
|
56
|
+
label: "vault",
|
|
57
|
+
href: "https://vault.ochk.io",
|
|
58
|
+
group: "app",
|
|
59
|
+
line: "A password manager, encrypted in your browser.",
|
|
60
|
+
status: "live",
|
|
61
|
+
protocols: ["lock"]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
slug: "chat",
|
|
65
|
+
label: "chat",
|
|
66
|
+
href: "https://chat.ochk.io",
|
|
67
|
+
group: "app",
|
|
68
|
+
line: "Messages only the holder of a Bitcoin address can read.",
|
|
69
|
+
status: "testing",
|
|
70
|
+
protocols: ["lock"]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
slug: "cosign",
|
|
74
|
+
label: "cosign",
|
|
75
|
+
href: "https://cosign.ochk.io",
|
|
76
|
+
group: "app",
|
|
77
|
+
line: "Builders find co-founders and backers.",
|
|
78
|
+
status: "testing",
|
|
79
|
+
protocols: ["attest"]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
slug: "me-demo",
|
|
83
|
+
// "demo", not the made-up app's own name, so nobody takes it for ours.
|
|
84
|
+
label: "demo",
|
|
85
|
+
href: "https://me-demo.ochk.io",
|
|
86
|
+
group: "app",
|
|
87
|
+
line: "Lumen Notes, a made-up app that signs in with orangecheck.",
|
|
88
|
+
status: "live"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
slug: "globe",
|
|
92
|
+
label: "globe",
|
|
93
|
+
href: "https://globe.ochk.io",
|
|
94
|
+
group: "public-good",
|
|
95
|
+
line: "The Bitcoin network, live, on a globe.",
|
|
96
|
+
status: "live"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
slug: "btc",
|
|
100
|
+
label: "btc",
|
|
101
|
+
href: "https://btc.ochk.io",
|
|
102
|
+
group: "public-good",
|
|
103
|
+
line: "A free desk for reading the Bitcoin market.",
|
|
104
|
+
status: "live"
|
|
105
|
+
}
|
|
106
|
+
];
|
|
107
|
+
var FAMILY_GROUPS = [
|
|
108
|
+
{ id: "orangecheck", label: "orangecheck" },
|
|
109
|
+
{ id: "protocol", label: "Protocols" },
|
|
110
|
+
{ id: "app", label: "Apps" },
|
|
111
|
+
{ id: "public-good", label: "Public goods" }
|
|
112
|
+
];
|
|
113
|
+
var BY_SLUG = new Map(FAMILY.map((s) => [s.slug, s]));
|
|
114
|
+
function familySite(slug) {
|
|
115
|
+
return BY_SLUG.get(slug);
|
|
116
|
+
}
|
|
117
|
+
function protocolSite(slug) {
|
|
118
|
+
return BY_SLUG.get(slug);
|
|
119
|
+
}
|
|
120
|
+
function familyByGroup() {
|
|
121
|
+
return FAMILY_GROUPS.map((g) => ({ ...g, sites: FAMILY.filter((s) => s.group === g.id) }));
|
|
122
|
+
}
|
|
123
|
+
var LEGAL_LINKS = [
|
|
124
|
+
{ href: `${OCHK_IO}/privacy`, label: "Privacy" },
|
|
125
|
+
{ href: `${OCHK_IO}/terms`, label: "Terms" },
|
|
126
|
+
{ href: `${OCHK_IO}/security`, label: "Security" },
|
|
127
|
+
{ href: `${OCHK_IO}/trademark`, label: "Trademarks" },
|
|
128
|
+
{ href: `${OCHK_IO}/contact`, label: "Contact" }
|
|
129
|
+
];
|
|
130
|
+
var OCHK_IO_NAV = [
|
|
131
|
+
{
|
|
132
|
+
href: `${OCHK_IO}/protocols`,
|
|
133
|
+
label: "Protocols",
|
|
134
|
+
children: PROTOCOLS.map((p) => ({ href: p.pageHref, label: p.label, description: p.line }))
|
|
135
|
+
},
|
|
136
|
+
{ href: `${OCHK_IO}/apps`, label: "Apps" },
|
|
137
|
+
{ href: DOCS_HREF, label: "Docs" },
|
|
138
|
+
{ href: `${OCHK_IO}/trust`, label: "Trust" },
|
|
139
|
+
{ href: `${OCHK_IO}/about`, label: "About" }
|
|
140
|
+
];
|
|
141
|
+
var OCHK_IO_FOOTER = [
|
|
142
|
+
{
|
|
143
|
+
heading: "Company",
|
|
144
|
+
links: [
|
|
145
|
+
{ href: `${OCHK_IO}/about`, label: "About" },
|
|
146
|
+
{ href: `${OCHK_IO}/trust`, label: "Trust" },
|
|
147
|
+
{ href: "https://github.com/orangecheck", label: "GitHub", external: true }
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
];
|
|
151
|
+
|
|
152
|
+
export { DOCS_HREF, FAMILY, FAMILY_GROUPS, LEGAL_LINKS, OCHK_IO, OCHK_IO_FOOTER, OCHK_IO_NAV, PROTOCOLS, PROTOCOL_ORDER, familyByGroup, familySite, protocolSite };
|
|
153
|
+
//# sourceMappingURL=family.mjs.map
|
|
154
|
+
//# sourceMappingURL=family.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/family/index.ts"],"names":[],"mappings":";AA6DO,IAAM,OAAA,GAAU;AAEhB,IAAM,SAAA,GAAY,GAAG,OAAO,CAAA,KAAA;AAEnC,SAAS,QAAA,CACL,IAAA,EACA,IAAA,EACA,IAAA,EACA,KAAA,EACY;AACZ,EAAA,OAAO;AAAA,IACH,IAAA;AAAA,IACA,KAAA,EAAO,IAAA;AAAA,IACP,IAAA,EAAM,CAAA,EAAG,OAAO,CAAA,CAAA,EAAI,I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O,OAAA,EAAQ;AAAA,MAC3C,EAAE,IAAA,EAAM,CAAA,EAAG,OAAO,CAAA,MAAA,CAAA,EAAU,OAAO,OAAA,EAAQ;AAAA,MAC3C,EAAE,IAAA,EAAM,gCAAA,EAAkC,KAAA,EAAO,QAAA,EAAU,UAAU,IAAA;AAAK;AAC9E;AAER","file":"family.mjs","sourcesContent":["/*\n * The orangecheck family as data: every public site, its one line, its group\n * and its status. The family menu, the footer, the protocol grid and the app\n * grid all read it, so a site is added, renamed or retired here and nowhere\n * else. No React: OG renderers and server code import it too.\n *\n * Status is written here until the claims source exists; then it is read\n * from there. \"live\" shows no badge.\n */\nimport type { FooterColumn, NavItem } from '../lib/nav';\n\n/** The six protocols, in the family's fixed order. */\nexport type ProtocolSlug = 'attest' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge';\n\n/** The same slugs as the classic system's, so a site's `current` carries over. */\nexport type FamilySlug =\n | 'home'\n | 'me'\n | 'docs'\n | ProtocolSlug\n | 'vault'\n | 'chat'\n | 'cosign'\n | 'me-demo'\n | 'globe'\n | 'btc';\n\nexport type FamilyGroup = 'orangecheck' | 'protocol' | 'app' | 'public-good';\n\n/** Where a site or feature stands, in the family's words. */\nexport type SiteStatus = 'live' | 'testing' | 'not-yet' | 'paused';\n\nexport interface FamilySite {\n slug: FamilySlug;\n /** The site's word, lowercase, as menus and lockups show it. */\n label: string;\n /** Where the family menu and footer send people. A protocol's is its page on ochk.io. */\n href: string;\n group: FamilyGroup;\n /** What it is, in one sentence. */\n line: string;\n status: SiteStatus;\n /** For an app: the protocols it shows. */\n protocols?: ProtocolSlug[];\n}\n\nexport interface ProtocolSite extends FamilySite {\n slug: ProtocolSlug;\n group: 'protocol';\n /** What it carries: identity, confidentiality, legitimacy, provenance, authority, commitment. */\n verb: string;\n /** The protocol's page on ochk.io. */\n pageHref: string;\n /** The tools, on the protocol's own host. */\n toolHref: string;\n /** The normative spec. */\n specHref: string;\n /** The Nostr event kinds it publishes. */\n kinds: string;\n}\n\nexport const OCHK_IO = 'https://ochk.io';\n/** The docs live under ochk.io; docs.ochk.io 308s here. */\nexport const DOCS_HREF = `${OCHK_IO}/docs`;\n\nfunction protocol(\n slug: ProtocolSlug,\n verb: string,\n line: string,\n kinds: string\n): ProtocolSite {\n return {\n slug,\n label: slug,\n href: `${OCHK_IO}/${slug}`,\n group: 'protocol',\n line,\n status: 'live',\n verb,\n pageHref: `${OCHK_IO}/${slug}`,\n toolHref: `https://${slug}.ochk.io`,\n specHref: `https://github.com/orangecheck/oc-${slug}-protocol`,\n kinds,\n };\n}\n\n/** Attest · Lock · Vote · Stamp · Agent · Pledge, everywhere. */\nexport const PROTOCOLS: readonly ProtocolSite[] = [\n protocol('attest', 'identity', 'Show that an address holds bitcoin, and for how long.', '30078'),\n protocol('lock', 'confidentiality', 'Encrypt to a Bitcoin address, so only its holder can open it.', '30078'),\n protocol('vote', 'legitimacy', 'Polls weighed in sats, that anyone can tally.', '30080–30082'),\n protocol('stamp', 'provenance', 'Prove who signed something, and when.', '30083'),\n protocol('agent', 'authority', 'Give software scoped, revocable permission to act for you.', '30083–30086'),\n protocol('pledge', 'commitment', 'Make a promise with bitcoin behind it, on a public record.', '30078'),\n];\n\nexport const PROTOCOL_ORDER: readonly ProtocolSlug[] = PROTOCOLS.map((p) => p.slug);\n\nexport const FAMILY: readonly FamilySite[] = [\n {\n slug: 'home',\n label: 'ochk.io',\n href: OCHK_IO,\n group: 'orangecheck',\n line: 'The open protocols, and the company behind them.',\n status: 'live',\n },\n {\n slug: 'me',\n label: 'ochk.app',\n href: 'https://ochk.app',\n group: 'orangecheck',\n line: 'One account, with Bitcoin behind it.',\n status: 'testing',\n },\n {\n slug: 'docs',\n label: 'docs',\n href: DOCS_HREF,\n group: 'orangecheck',\n line: 'Specs, SDKs and guides for every protocol.',\n status: 'live',\n },\n ...PROTOCOLS,\n {\n slug: 'vault',\n label: 'vault',\n href: 'https://vault.ochk.io',\n group: 'app',\n line: 'A password manager, encrypted in your browser.',\n status: 'live',\n protocols: ['lock'],\n },\n {\n slug: 'chat',\n label: 'chat',\n href: 'https://chat.ochk.io',\n group: 'app',\n line: 'Messages only the holder of a Bitcoin address can read.',\n status: 'testing',\n protocols: ['lock'],\n },\n {\n slug: 'cosign',\n label: 'cosign',\n href: 'https://cosign.ochk.io',\n group: 'app',\n line: 'Builders find co-founders and backers.',\n status: 'testing',\n protocols: ['attest'],\n },\n {\n slug: 'me-demo',\n // \"demo\", not the made-up app's own name, so nobody takes it for ours.\n label: 'demo',\n href: 'https://me-demo.ochk.io',\n group: 'app',\n line: 'Lumen Notes, a made-up app that signs in with orangecheck.',\n status: 'live',\n },\n {\n slug: 'globe',\n label: 'globe',\n href: 'https://globe.ochk.io',\n group: 'public-good',\n line: 'The Bitcoin network, live, on a globe.',\n status: 'live',\n },\n {\n slug: 'btc',\n label: 'btc',\n href: 'https://btc.ochk.io',\n group: 'public-good',\n line: 'A free desk for reading the Bitcoin market.',\n status: 'live',\n },\n];\n\nexport const FAMILY_GROUPS: readonly { id: FamilyGroup; label: string }[] = [\n { id: 'orangecheck', label: 'orangecheck' },\n { id: 'protocol', label: 'Protocols' },\n { id: 'app', label: 'Apps' },\n { id: 'public-good', label: 'Public goods' },\n];\n\nconst BY_SLUG = new Map(FAMILY.map((s) => [s.slug, s]));\n\nexport function familySite(slug: FamilySlug): FamilySite {\n return BY_SLUG.get(slug)!;\n}\n\nexport function protocolSite(slug: ProtocolSlug): ProtocolSite {\n return BY_SLUG.get(slug) as ProtocolSite;\n}\n\n/** The family in its groups, in order, for menus and footers. */\nexport function familyByGroup(): { id: FamilyGroup; label: string; sites: FamilySite[] }[] {\n return FAMILY_GROUPS.map((g) => ({ ...g, sites: FAMILY.filter((s) => s.group === g.id) }));\n}\n\n/** One fixed row on every footer, all on ochk.io. */\nexport const LEGAL_LINKS: readonly NavItem[] = [\n { href: `${OCHK_IO}/privacy`, label: 'Privacy' },\n { href: `${OCHK_IO}/terms`, label: 'Terms' },\n { href: `${OCHK_IO}/security`, label: 'Security' },\n { href: `${OCHK_IO}/trademark`, label: 'Trademarks' },\n { href: `${OCHK_IO}/contact`, label: 'Contact' },\n];\n\n/**\n * ochk.io's header navigation. oc-www and the docs (served under ochk.io/docs)\n * both draw it from here, so the two cannot drift. Absolute links work from\n * either; mark the active item where it is rendered.\n */\nexport const OCHK_IO_NAV: readonly NavItem[] = [\n {\n href: `${OCHK_IO}/protocols`,\n label: 'Protocols',\n children: PROTOCOLS.map((p) => ({ href: p.pageHref, label: p.label, description: p.line })),\n },\n { href: `${OCHK_IO}/apps`, label: 'Apps' },\n { href: DOCS_HREF, label: 'Docs' },\n { href: `${OCHK_IO}/trust`, label: 'Trust' },\n { href: `${OCHK_IO}/about`, label: 'About' },\n];\n\n/** ochk.io's own footer column; `SiteFooter family` adds the family's. */\nexport const OCHK_IO_FOOTER: readonly FooterColumn[] = [\n {\n heading: 'Company',\n links: [\n { href: `${OCHK_IO}/about`, label: 'About' },\n { href: `${OCHK_IO}/trust`, label: 'Trust' },\n { href: 'https://github.com/orangecheck', label: 'GitHub', external: true },\n ],\n },\n];\n"]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface NavItem {
|
|
4
|
+
href: string;
|
|
5
|
+
label: ReactNode;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
external?: boolean;
|
|
8
|
+
description?: ReactNode;
|
|
9
|
+
children?: NavItem[];
|
|
10
|
+
}
|
|
11
|
+
interface FooterColumn {
|
|
12
|
+
heading: string;
|
|
13
|
+
links: NavItem[];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type ProtocolSlug = 'attest' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge';
|
|
17
|
+
type FamilySlug = 'home' | 'me' | 'docs' | ProtocolSlug | 'vault' | 'chat' | 'cosign' | 'me-demo' | 'globe' | 'btc';
|
|
18
|
+
type FamilyGroup = 'orangecheck' | 'protocol' | 'app' | 'public-good';
|
|
19
|
+
type SiteStatus = 'live' | 'testing' | 'not-yet' | 'paused';
|
|
20
|
+
interface FamilySite {
|
|
21
|
+
slug: FamilySlug;
|
|
22
|
+
label: string;
|
|
23
|
+
href: string;
|
|
24
|
+
group: FamilyGroup;
|
|
25
|
+
line: string;
|
|
26
|
+
status: SiteStatus;
|
|
27
|
+
protocols?: ProtocolSlug[];
|
|
28
|
+
}
|
|
29
|
+
interface ProtocolSite extends FamilySite {
|
|
30
|
+
slug: ProtocolSlug;
|
|
31
|
+
group: 'protocol';
|
|
32
|
+
verb: string;
|
|
33
|
+
pageHref: string;
|
|
34
|
+
toolHref: string;
|
|
35
|
+
specHref: string;
|
|
36
|
+
kinds: string;
|
|
37
|
+
}
|
|
38
|
+
declare const OCHK_IO = "https://ochk.io";
|
|
39
|
+
declare const DOCS_HREF = "https://ochk.io/docs";
|
|
40
|
+
declare const PROTOCOLS: readonly ProtocolSite[];
|
|
41
|
+
declare const PROTOCOL_ORDER: readonly ProtocolSlug[];
|
|
42
|
+
declare const FAMILY: readonly FamilySite[];
|
|
43
|
+
declare const FAMILY_GROUPS: readonly {
|
|
44
|
+
id: FamilyGroup;
|
|
45
|
+
label: string;
|
|
46
|
+
}[];
|
|
47
|
+
declare function familySite(slug: FamilySlug): FamilySite;
|
|
48
|
+
declare function protocolSite(slug: ProtocolSlug): ProtocolSite;
|
|
49
|
+
declare function familyByGroup(): {
|
|
50
|
+
id: FamilyGroup;
|
|
51
|
+
label: string;
|
|
52
|
+
sites: FamilySite[];
|
|
53
|
+
}[];
|
|
54
|
+
declare const LEGAL_LINKS: readonly NavItem[];
|
|
55
|
+
declare const OCHK_IO_NAV: readonly NavItem[];
|
|
56
|
+
declare const OCHK_IO_FOOTER: readonly FooterColumn[];
|
|
57
|
+
|
|
58
|
+
export { DOCS_HREF as D, FAMILY as F, LEGAL_LINKS as L, type NavItem as N, OCHK_IO as O, PROTOCOLS as P, type SiteStatus as S, FAMILY_GROUPS as a, type FamilyGroup as b, type FamilySite as c, type FamilySlug as d, type FooterColumn as e, OCHK_IO_FOOTER as f, OCHK_IO_NAV as g, PROTOCOL_ORDER as h, type ProtocolSite as i, type ProtocolSlug as j, familyByGroup as k, familySite as l, protocolSite as p };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface NavItem {
|
|
4
|
+
href: string;
|
|
5
|
+
label: ReactNode;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
external?: boolean;
|
|
8
|
+
description?: ReactNode;
|
|
9
|
+
children?: NavItem[];
|
|
10
|
+
}
|
|
11
|
+
interface FooterColumn {
|
|
12
|
+
heading: string;
|
|
13
|
+
links: NavItem[];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type ProtocolSlug = 'attest' | 'lock' | 'vote' | 'stamp' | 'agent' | 'pledge';
|
|
17
|
+
type FamilySlug = 'home' | 'me' | 'docs' | ProtocolSlug | 'vault' | 'chat' | 'cosign' | 'me-demo' | 'globe' | 'btc';
|
|
18
|
+
type FamilyGroup = 'orangecheck' | 'protocol' | 'app' | 'public-good';
|
|
19
|
+
type SiteStatus = 'live' | 'testing' | 'not-yet' | 'paused';
|
|
20
|
+
interface FamilySite {
|
|
21
|
+
slug: FamilySlug;
|
|
22
|
+
label: string;
|
|
23
|
+
href: string;
|
|
24
|
+
group: FamilyGroup;
|
|
25
|
+
line: string;
|
|
26
|
+
status: SiteStatus;
|
|
27
|
+
protocols?: ProtocolSlug[];
|
|
28
|
+
}
|
|
29
|
+
interface ProtocolSite extends FamilySite {
|
|
30
|
+
slug: ProtocolSlug;
|
|
31
|
+
group: 'protocol';
|
|
32
|
+
verb: string;
|
|
33
|
+
pageHref: string;
|
|
34
|
+
toolHref: string;
|
|
35
|
+
specHref: string;
|
|
36
|
+
kinds: string;
|
|
37
|
+
}
|
|
38
|
+
declare const OCHK_IO = "https://ochk.io";
|
|
39
|
+
declare const DOCS_HREF = "https://ochk.io/docs";
|
|
40
|
+
declare const PROTOCOLS: readonly ProtocolSite[];
|
|
41
|
+
declare const PROTOCOL_ORDER: readonly ProtocolSlug[];
|
|
42
|
+
declare const FAMILY: readonly FamilySite[];
|
|
43
|
+
declare const FAMILY_GROUPS: readonly {
|
|
44
|
+
id: FamilyGroup;
|
|
45
|
+
label: string;
|
|
46
|
+
}[];
|
|
47
|
+
declare function familySite(slug: FamilySlug): FamilySite;
|
|
48
|
+
declare function protocolSite(slug: ProtocolSlug): ProtocolSite;
|
|
49
|
+
declare function familyByGroup(): {
|
|
50
|
+
id: FamilyGroup;
|
|
51
|
+
label: string;
|
|
52
|
+
sites: FamilySite[];
|
|
53
|
+
}[];
|
|
54
|
+
declare const LEGAL_LINKS: readonly NavItem[];
|
|
55
|
+
declare const OCHK_IO_NAV: readonly NavItem[];
|
|
56
|
+
declare const OCHK_IO_FOOTER: readonly FooterColumn[];
|
|
57
|
+
|
|
58
|
+
export { DOCS_HREF as D, FAMILY as F, LEGAL_LINKS as L, type NavItem as N, OCHK_IO as O, PROTOCOLS as P, type SiteStatus as S, FAMILY_GROUPS as a, type FamilyGroup as b, type FamilySite as c, type FamilySlug as d, type FooterColumn as e, OCHK_IO_FOOTER as f, OCHK_IO_NAV as g, PROTOCOL_ORDER as h, type ProtocolSite as i, type ProtocolSlug as j, familyByGroup as k, familySite as l, protocolSite as p };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export { APP_ATTRIBUTE, APP_ID, appColors, appFonts } from './tokens.mjs';
|
|
2
|
-
export { Badge, BadgeProps, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardNumeral, CardProps, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, Field, FieldProps, Input, Kbd, Label, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, ScrollFade, ScrollFadeProps, Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetTitle, SheetTrigger, Skeleton, Spinner, StatusDot, StatusPill, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cardVariants, cn, useTimedOut } from './primitives.mjs';
|
|
2
|
+
export { Accordion, AccordionItem, Badge, BadgeProps, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardNumeral, CardProps, CardTitle, Checkbox, ConfirmOptions, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHost, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, Field, FieldProps, Input, Kbd, Label, Pagination, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PromptOptions, QrCode, RadioGroup, RadioGroupItem, ScrollFade, ScrollFadeProps, Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetTitle, SheetTrigger, Skeleton, Spinner, StatusDot, StatusPill, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cardVariants, cn, confirm, prompt, useTimedOut } from './primitives.mjs';
|
|
3
|
+
export { S as Statement, a as Status, b as StatusBadge, c as StatusBadgeProps, s as statusWord } from './status-badge-DRwGhB0h.mjs';
|
|
3
4
|
export { AppIcon, AppIconProps, Crowd, CrowdProps, HalftoneCanvas, HalftoneCanvasProps, HalftoneSphere, HalftoneSphereProps, IsoCheck, IsoCheckProps, Lockup, LockupProps, MARK_FACES, Mark, MarkProps, SPHERE_GRADIENT, Tone, portraitTone } from './brand.mjs';
|
|
4
|
-
export { Accent, ActivityItem, ActivityList, BrowserFrame, CodeBlock, Column, Container, CopyButton, DataTable, Display, DisplayProps, DocHeader, DocLayout, EmptyLine, EmptyState, ErrorBoundary, Eyebrow, FloatChip, Footnote, HashChip, KeyValueItem, KeyValueList, Lead, LoadingBlock, Monogram, Notice, PackageCard, PackageItem, PageHeader, PageHero, PageHeroProps, PhoneFrame, ProgressStep, ProgressSteps, Prose, Reveal, Sats, SatsFigure, SatsProps, SatsTextOptions, ScrollStory, Section, SectionIntro, SectionProps, SplitBar, SplitSegment, StatCard, StatCardProps, StatGrid, StatGridProps, StepGrid, StepGridProps, StepItem, StepState, Ticker, TocItem, TruthRow, TruthStatus, TruthTable, UsdApprox, monogramGround, monogramLetter, satsText, sectionVariants, useCopy, useInView } from './components.mjs';
|
|
5
|
-
export { AccountMenu, AccountMenuItem, AppShell,
|
|
5
|
+
export { Accent, ActivityItem, ActivityList, AppCard, AppCardProps, AppGrid, BrowserFrame, CheckState, Closing, CodeBlock, Column, ComparisonColumn, ComparisonRow, ComparisonTable, Container, CopyButton, DataTable, Display, DisplayProps, DocHeader, DocLayout, EmptyLine, EmptyState, Endpoint, EndpointList, ErrorBoundary, ErrorPage, Eyebrow, FactBlock, FactRow, FactRows, Faq, FloatChip, Footnote, HashChip, KeyValueItem, KeyValueList, Lead, LegalBlock, LegalDocument, LegalSource, LoadingBlock, Monogram, Notice, PackageCard, PackageItem, PageHeader, PageHero, PageHeroProps, PhoneFrame, ProgressStep, ProgressSteps, ProofStrip, Prose, ProtocolGrid, ProtocolHero, ProtocolNav, Reveal, Sats, SatsFigure, SatsProps, SatsTextOptions, ScrollStory, Section, SectionHeading, SectionIntro, SectionProps, SignMessage, SpecCard, SplitBar, SplitSegment, StatCard, StatCardProps, StatGrid, StatGridProps, StepGrid, StepGridProps, StepItem, StepState, TextLink, Ticker, TocItem, TruthRow, TruthStatus, TruthTable, UsdApprox, VerifyBox, VerifyCheck, VerifyReport, monogramGround, monogramLetter, satsText, sectionVariants, useCopy, useInView } from './components.mjs';
|
|
6
|
+
export { AccountMenu, AccountMenuItem, AppShell, FamilyMenu, ShellContext, ShellNavGroup, ShellNavItem, ShellPlace, ShellSection, SignInFrame, SiteBanner, SiteFooter, SiteFooterProps, SiteHeader, SiteHeaderProps, SkipLink, ThemeToggle, useShellPlace } from './chrome.mjs';
|
|
7
|
+
export { D as DOCS_HREF, F as FAMILY, a as FAMILY_GROUPS, b as FamilyGroup, c as FamilySite, d as FamilySlug, e as FooterColumn, L as LEGAL_LINKS, N as NavItem, O as OCHK_IO, f as OCHK_IO_FOOTER, g as OCHK_IO_NAV, P as PROTOCOLS, h as PROTOCOL_ORDER, i as ProtocolSite, j as ProtocolSlug, S as SiteStatus, k as familyByGroup, l as familySite, p as protocolSite } from './index-C6hDqOOS.mjs';
|
|
6
8
|
export { toast } from 'sonner';
|
|
7
9
|
import 'react';
|
|
8
10
|
import 'class-variance-authority/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export { APP_ATTRIBUTE, APP_ID, appColors, appFonts } from './tokens.js';
|
|
2
|
-
export { Badge, BadgeProps, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardNumeral, CardProps, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, Field, FieldProps, Input, Kbd, Label, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, ScrollFade, ScrollFadeProps, Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetTitle, SheetTrigger, Skeleton, Spinner, StatusDot, StatusPill, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cardVariants, cn, useTimedOut } from './primitives.js';
|
|
2
|
+
export { Accordion, AccordionItem, Badge, BadgeProps, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardNumeral, CardProps, CardTitle, Checkbox, ConfirmOptions, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogHost, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, Field, FieldProps, Input, Kbd, Label, Pagination, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PromptOptions, QrCode, RadioGroup, RadioGroupItem, ScrollFade, ScrollFadeProps, Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetTitle, SheetTrigger, Skeleton, Spinner, StatusDot, StatusPill, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cardVariants, cn, confirm, prompt, useTimedOut } from './primitives.js';
|
|
3
|
+
export { S as Statement, a as Status, b as StatusBadge, c as StatusBadgeProps, s as statusWord } from './status-badge-BEOxeY9j.js';
|
|
3
4
|
export { AppIcon, AppIconProps, Crowd, CrowdProps, HalftoneCanvas, HalftoneCanvasProps, HalftoneSphere, HalftoneSphereProps, IsoCheck, IsoCheckProps, Lockup, LockupProps, MARK_FACES, Mark, MarkProps, SPHERE_GRADIENT, Tone, portraitTone } from './brand.js';
|
|
4
|
-
export { Accent, ActivityItem, ActivityList, BrowserFrame, CodeBlock, Column, Container, CopyButton, DataTable, Display, DisplayProps, DocHeader, DocLayout, EmptyLine, EmptyState, ErrorBoundary, Eyebrow, FloatChip, Footnote, HashChip, KeyValueItem, KeyValueList, Lead, LoadingBlock, Monogram, Notice, PackageCard, PackageItem, PageHeader, PageHero, PageHeroProps, PhoneFrame, ProgressStep, ProgressSteps, Prose, Reveal, Sats, SatsFigure, SatsProps, SatsTextOptions, ScrollStory, Section, SectionIntro, SectionProps, SplitBar, SplitSegment, StatCard, StatCardProps, StatGrid, StatGridProps, StepGrid, StepGridProps, StepItem, StepState, Ticker, TocItem, TruthRow, TruthStatus, TruthTable, UsdApprox, monogramGround, monogramLetter, satsText, sectionVariants, useCopy, useInView } from './components.js';
|
|
5
|
-
export { AccountMenu, AccountMenuItem, AppShell,
|
|
5
|
+
export { Accent, ActivityItem, ActivityList, AppCard, AppCardProps, AppGrid, BrowserFrame, CheckState, Closing, CodeBlock, Column, ComparisonColumn, ComparisonRow, ComparisonTable, Container, CopyButton, DataTable, Display, DisplayProps, DocHeader, DocLayout, EmptyLine, EmptyState, Endpoint, EndpointList, ErrorBoundary, ErrorPage, Eyebrow, FactBlock, FactRow, FactRows, Faq, FloatChip, Footnote, HashChip, KeyValueItem, KeyValueList, Lead, LegalBlock, LegalDocument, LegalSource, LoadingBlock, Monogram, Notice, PackageCard, PackageItem, PageHeader, PageHero, PageHeroProps, PhoneFrame, ProgressStep, ProgressSteps, ProofStrip, Prose, ProtocolGrid, ProtocolHero, ProtocolNav, Reveal, Sats, SatsFigure, SatsProps, SatsTextOptions, ScrollStory, Section, SectionHeading, SectionIntro, SectionProps, SignMessage, SpecCard, SplitBar, SplitSegment, StatCard, StatCardProps, StatGrid, StatGridProps, StepGrid, StepGridProps, StepItem, StepState, TextLink, Ticker, TocItem, TruthRow, TruthStatus, TruthTable, UsdApprox, VerifyBox, VerifyCheck, VerifyReport, monogramGround, monogramLetter, satsText, sectionVariants, useCopy, useInView } from './components.js';
|
|
6
|
+
export { AccountMenu, AccountMenuItem, AppShell, FamilyMenu, ShellContext, ShellNavGroup, ShellNavItem, ShellPlace, ShellSection, SignInFrame, SiteBanner, SiteFooter, SiteFooterProps, SiteHeader, SiteHeaderProps, SkipLink, ThemeToggle, useShellPlace } from './chrome.js';
|
|
7
|
+
export { D as DOCS_HREF, F as FAMILY, a as FAMILY_GROUPS, b as FamilyGroup, c as FamilySite, d as FamilySlug, e as FooterColumn, L as LEGAL_LINKS, N as NavItem, O as OCHK_IO, f as OCHK_IO_FOOTER, g as OCHK_IO_NAV, P as PROTOCOLS, h as PROTOCOL_ORDER, i as ProtocolSite, j as ProtocolSlug, S as SiteStatus, k as familyByGroup, l as familySite, p as protocolSite } from './index-C6hDqOOS.js';
|
|
6
8
|
export { toast } from 'sonner';
|
|
7
9
|
import 'react';
|
|
8
10
|
import 'class-variance-authority/types';
|