@orangecheck/design 0.30.0 → 0.31.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/dist/chrome.d.mts +1 -1
- package/dist/chrome.d.ts +1 -1
- package/dist/chrome.js +0 -16
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +0 -16
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.js +18 -23
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +19 -24
- package/dist/components.mjs.map +1 -1
- package/dist/composites.d.mts +1 -1
- package/dist/composites.d.ts +1 -1
- package/dist/composites.js +18 -7
- package/dist/composites.js.map +1 -1
- package/dist/composites.mjs +19 -8
- package/dist/composites.mjs.map +1 -1
- package/dist/index.js +19 -28
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -29
- package/dist/index.mjs.map +1 -1
- package/dist/primitives.js.map +1 -1
- package/dist/primitives.mjs.map +1 -1
- package/dist/tokens.d.mts +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.js +1 -5
- package/dist/tokens.js.map +1 -1
- package/dist/tokens.mjs +1 -5
- package/dist/tokens.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -995,7 +995,6 @@ var OC_GLYPHS = {
|
|
|
995
995
|
docs: `<g transform="scale(42.666667 42.666667)"><rect x="3" y="3" width="18" height="18" fill="none"/><rect x="6" y="6" width="12" height="12" fill="none" stroke="__INK__" stroke-width="1.5"/><rect x="8" y="9" width="8" height="1.25" fill="__INK__"/><rect x="8" y="11.5" width="8" height="1.25" fill="__INK__"/><rect x="8" y="14" width="5" height="1.25" fill="__INK__"/></g>`,
|
|
996
996
|
me: `<g transform="scale(42.666667 42.666667)"><rect x="3" y="3" width="18" height="18" fill="none"/><rect x="6" y="6" width="12" height="12" fill="none" stroke="__INK__" stroke-width="1.5"/><circle cx="12" cy="11" r="2" fill="__INK__"/><path d="M8 16.5 C 8 14.5, 9.5 13.5, 12 13.5 C 14.5 13.5, 16 14.5, 16 16.5" fill="none" stroke="__INK__" stroke-width="1.5" stroke-linecap="square"/></g>`,
|
|
997
997
|
vault: `<g transform="scale(42.666667 42.666667)"><path d="M8 9 L8 6.5 Q8 3.5 12 3.5 Q16 3.5 16 6.5 L16 9" fill="none" stroke="__INK__" stroke-width="2" stroke-linecap="square"/><rect x="4" y="9" width="16" height="12" fill="none" stroke="__INK__" stroke-width="0.75"/><circle cx="12" cy="14.5" r="2.75" fill="none" stroke="__INK__" stroke-width="1.5"/><rect x="11.4" y="14.5" width="1.2" height="3.25" fill="__INK__"/><rect x="5.5" y="19" width="2.25" height="1.5" fill="__INK__"/><rect x="16.25" y="19" width="2.25" height="1.5" fill="__INK__"/></g>`,
|
|
998
|
-
fleet: `<g transform="scale(42.666667 42.666667)"><rect x="3" y="3" width="18" height="18" fill="none"/><rect x="6" y="6" width="12" height="12" fill="none" stroke="__INK__" stroke-width="1.5"/><path d="M8.5 9.5 L11 12 L8.5 14.5" fill="none" stroke="__INK__" stroke-width="1.6" stroke-linejoin="miter" stroke-linecap="square"/><rect x="12" y="14" width="4" height="1.4" fill="__INK__"/></g>`,
|
|
999
998
|
chat: `<g transform="scale(42.666667 42.666667)"><path d="M5 4 H19 A2 2 0 0 1 21 6 V13 A2 2 0 0 1 19 15 H11 L7 19 V15 H5 A2 2 0 0 1 3 13 V6 A2 2 0 0 1 5 4 Z" fill="none" stroke="__INK__" stroke-width="1.6" stroke-linejoin="round"/><circle cx="8" cy="9.5" r="1.15" fill="__INK__"/><circle cx="12" cy="9.5" r="1.15" fill="__INK__"/><circle cx="16" cy="9.5" r="1.15" fill="__INK__"/></g>`,
|
|
1000
999
|
cosign: `<g transform="scale(42.666667 42.666667)"><rect x="3" y="3" width="18" height="18" fill="none"/><rect x="6" y="6" width="12" height="12" fill="none" stroke="__INK__" stroke-width="1.5"/><circle cx="9.2" cy="10.4" r="1.65" fill="__INK__"/><circle cx="14.8" cy="10.4" r="1.65" fill="__INK__"/><path d="M6.5 16.6 C 6.5 14.9, 7.6 14.1, 9.2 14.1 C 10.8 14.1, 11.9 14.9, 11.9 16.6" fill="none" stroke="__INK__" stroke-width="1.5" stroke-linecap="square"/><path d="M12.1 16.6 C 12.1 14.9, 13.2 14.1, 14.8 14.1 C 16.4 14.1, 17.5 14.9, 17.5 16.6" fill="none" stroke="__INK__" stroke-width="1.5" stroke-linecap="square"/></g>`,
|
|
1001
1000
|
lock: `<g transform="scale(42.666667 42.666667)"><path d="M7 11V7.5a5 5 0 0 1 10 0V11" fill="none" stroke="__INK__" stroke-width="2" stroke-linecap="square"/><rect x="4" y="11" width="16" height="10" fill="none" stroke="__INK__" stroke-width="0.75"/><rect x="11" y="14" width="2" height="4" fill="__INK__"/><rect x="10.25" y="14" width="3.5" height="1.5" fill="__INK__"/></g>`,
|
|
@@ -1027,7 +1026,7 @@ function layerStyle(i, relief) {
|
|
|
1027
1026
|
}
|
|
1028
1027
|
return { transform: `translateZ(${(-Math.pow(t, 1.4) * relief).toFixed(1)}px)`, color };
|
|
1029
1028
|
}
|
|
1030
|
-
var TILE = /* @__PURE__ */ new Set(["stamp", "pledge", "cosign", "me", "
|
|
1029
|
+
var TILE = /* @__PURE__ */ new Set(["stamp", "pledge", "cosign", "me", "docs"]);
|
|
1031
1030
|
var FOCUS = {
|
|
1032
1031
|
stamp: "translate(512 512) scale(1.5) translate(-512 -512)",
|
|
1033
1032
|
// anchor-cross
|
|
@@ -1037,8 +1036,6 @@ var FOCUS = {
|
|
|
1037
1036
|
// two figures
|
|
1038
1037
|
me: "translate(512 512) scale(1.45) translate(-512 -544)",
|
|
1039
1038
|
// bust, recentered down
|
|
1040
|
-
fleet: "translate(512 512) scale(1.5) translate(-512 -512)",
|
|
1041
|
-
// play + bar
|
|
1042
1039
|
docs: "translate(512 512) scale(1.4) translate(-512 -512)",
|
|
1043
1040
|
// text lines
|
|
1044
1041
|
vote: "translate(512 512) scale(0.92) translate(-512 -542)",
|
|
@@ -1069,7 +1066,6 @@ var SEED = {
|
|
|
1069
1066
|
cosign: [1, -3],
|
|
1070
1067
|
vault: [4, 1],
|
|
1071
1068
|
me: [-3, 2],
|
|
1072
|
-
fleet: [7, -2],
|
|
1073
1069
|
docs: [0, 0],
|
|
1074
1070
|
analytics: [-5, 1],
|
|
1075
1071
|
btc: [4, 3],
|
|
@@ -3269,14 +3265,22 @@ function OcErrorPage({
|
|
|
3269
3265
|
] }),
|
|
3270
3266
|
shownActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 border", children: [
|
|
3271
3267
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b px-4 py-2 font-mono text-[11px] tracking-widest uppercase", children: "what can you do" }),
|
|
3272
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "divide-y font-mono text-xs", children: shownActions.map((a) =>
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3268
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "divide-y font-mono text-xs", children: shownActions.map((a, i) => (
|
|
3269
|
+
// Index keys: items are nodes and the list is
|
|
3270
|
+
// static per variant, so there is nothing
|
|
3271
|
+
// better to key on and nothing reorders.
|
|
3272
|
+
/* @__PURE__ */ jsxRuntime.jsxs("li", { className: "px-4 py-2", children: [
|
|
3273
|
+
">> ",
|
|
3274
|
+
a
|
|
3275
|
+
] }, i)
|
|
3276
|
+
)) })
|
|
3276
3277
|
] }),
|
|
3277
3278
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 flex flex-wrap gap-3", children: [
|
|
3278
|
-
/* @__PURE__ */ jsxRuntime.jsx(Button, { asChild: true, className: "font-mono", children: /* @__PURE__ */ jsxRuntime.
|
|
3279
|
-
|
|
3279
|
+
/* @__PURE__ */ jsxRuntime.jsx(Button, { asChild: true, className: "font-mono", children: /* @__PURE__ */ jsxRuntime.jsxs(Link7__default.default, { href: homeHref, children: [
|
|
3280
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Home, { className: "mr-2 h-3 w-3" }),
|
|
3281
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[11px] tracking-widest uppercase", children: "go home" })
|
|
3282
|
+
] }) }),
|
|
3283
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3280
3284
|
Button,
|
|
3281
3285
|
{
|
|
3282
3286
|
variant: "outline",
|
|
@@ -3286,7 +3290,10 @@ function OcErrorPage({
|
|
|
3286
3290
|
else window.history.back();
|
|
3287
3291
|
},
|
|
3288
3292
|
className: "font-mono",
|
|
3289
|
-
children:
|
|
3293
|
+
children: [
|
|
3294
|
+
isServerError ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.RefreshCw, { className: "mr-2 h-3 w-3" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowLeft, { className: "mr-2 h-3 w-3" }),
|
|
3295
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[11px] tracking-widest uppercase", children: isServerError ? "retry" : "go back" })
|
|
3296
|
+
]
|
|
3290
3297
|
}
|
|
3291
3298
|
)
|
|
3292
3299
|
] }),
|
|
@@ -3935,13 +3942,6 @@ var ENTRIES = [
|
|
|
3935
3942
|
}
|
|
3936
3943
|
];
|
|
3937
3944
|
var OWNER_ENTRIES = [
|
|
3938
|
-
{
|
|
3939
|
-
slug: "fleet",
|
|
3940
|
-
href: "https://fleet.ochk.io",
|
|
3941
|
-
label: "oc\xB7fleet",
|
|
3942
|
-
sub: "managed \u2014 agent fleet",
|
|
3943
|
-
docsHref: "https://fleet.ochk.io"
|
|
3944
|
-
},
|
|
3945
3945
|
{
|
|
3946
3946
|
slug: "analytics",
|
|
3947
3947
|
href: "https://analytics.ochk.io",
|
|
@@ -4183,15 +4183,6 @@ var FAMILY_PROPERTIES = [
|
|
|
4183
4183
|
docsHref: "https://docs.ochk.io/pledge",
|
|
4184
4184
|
category: "protocol"
|
|
4185
4185
|
},
|
|
4186
|
-
{
|
|
4187
|
-
slug: "fleet",
|
|
4188
|
-
origin: "https://fleet.ochk.io",
|
|
4189
|
-
hostname: "fleet.ochk.io",
|
|
4190
|
-
label: "oc\xB7fleet",
|
|
4191
|
-
sub: "managed \u2014 agent fleet",
|
|
4192
|
-
docsHref: "https://fleet.ochk.io",
|
|
4193
|
-
category: "owner"
|
|
4194
|
-
},
|
|
4195
4186
|
{
|
|
4196
4187
|
slug: "analytics",
|
|
4197
4188
|
origin: "https://analytics.ochk.io",
|