@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/components.js
CHANGED
|
@@ -231,14 +231,22 @@ function OcErrorPage({
|
|
|
231
231
|
] }),
|
|
232
232
|
shownActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 border", children: [
|
|
233
233
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b px-4 py-2 font-mono text-[11px] tracking-widest uppercase", children: "what can you do" }),
|
|
234
|
-
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "divide-y font-mono text-xs", children: shownActions.map((a) =>
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
234
|
+
/* @__PURE__ */ jsxRuntime.jsx("ul", { className: "divide-y font-mono text-xs", children: shownActions.map((a, i) => (
|
|
235
|
+
// Index keys: items are nodes and the list is
|
|
236
|
+
// static per variant, so there is nothing
|
|
237
|
+
// better to key on and nothing reorders.
|
|
238
|
+
/* @__PURE__ */ jsxRuntime.jsxs("li", { className: "px-4 py-2", children: [
|
|
239
|
+
">> ",
|
|
240
|
+
a
|
|
241
|
+
] }, i)
|
|
242
|
+
)) })
|
|
238
243
|
] }),
|
|
239
244
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 flex flex-wrap gap-3", children: [
|
|
240
|
-
/* @__PURE__ */ jsxRuntime.jsx(Button, { asChild: true, className: "font-mono", children: /* @__PURE__ */ jsxRuntime.
|
|
241
|
-
|
|
245
|
+
/* @__PURE__ */ jsxRuntime.jsx(Button, { asChild: true, className: "font-mono", children: /* @__PURE__ */ jsxRuntime.jsxs(Link7__default.default, { href: homeHref, children: [
|
|
246
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Home, { className: "mr-2 h-3 w-3" }),
|
|
247
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[11px] tracking-widest uppercase", children: "go home" })
|
|
248
|
+
] }) }),
|
|
249
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
242
250
|
Button,
|
|
243
251
|
{
|
|
244
252
|
variant: "outline",
|
|
@@ -248,7 +256,10 @@ function OcErrorPage({
|
|
|
248
256
|
else window.history.back();
|
|
249
257
|
},
|
|
250
258
|
className: "font-mono",
|
|
251
|
-
children:
|
|
259
|
+
children: [
|
|
260
|
+
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" }),
|
|
261
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[11px] tracking-widest uppercase", children: isServerError ? "retry" : "go back" })
|
|
262
|
+
]
|
|
252
263
|
}
|
|
253
264
|
)
|
|
254
265
|
] }),
|
|
@@ -1246,13 +1257,6 @@ var ENTRIES = [
|
|
|
1246
1257
|
}
|
|
1247
1258
|
];
|
|
1248
1259
|
var OWNER_ENTRIES = [
|
|
1249
|
-
{
|
|
1250
|
-
slug: "fleet",
|
|
1251
|
-
href: "https://fleet.ochk.io",
|
|
1252
|
-
label: "oc\xB7fleet",
|
|
1253
|
-
sub: "managed \u2014 agent fleet",
|
|
1254
|
-
docsHref: "https://fleet.ochk.io"
|
|
1255
|
-
},
|
|
1256
1260
|
{
|
|
1257
1261
|
slug: "analytics",
|
|
1258
1262
|
href: "https://analytics.ochk.io",
|
|
@@ -1494,15 +1498,6 @@ var FAMILY_PROPERTIES = [
|
|
|
1494
1498
|
docsHref: "https://docs.ochk.io/pledge",
|
|
1495
1499
|
category: "protocol"
|
|
1496
1500
|
},
|
|
1497
|
-
{
|
|
1498
|
-
slug: "fleet",
|
|
1499
|
-
origin: "https://fleet.ochk.io",
|
|
1500
|
-
hostname: "fleet.ochk.io",
|
|
1501
|
-
label: "oc\xB7fleet",
|
|
1502
|
-
sub: "managed \u2014 agent fleet",
|
|
1503
|
-
docsHref: "https://fleet.ochk.io",
|
|
1504
|
-
category: "owner"
|
|
1505
|
-
},
|
|
1506
1501
|
{
|
|
1507
1502
|
slug: "analytics",
|
|
1508
1503
|
origin: "https://analytics.ochk.io",
|