@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.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Popover from '@radix-ui/react-popover';
|
|
2
|
-
import { ChevronDown, Plus, HelpCircle, X, Check, Boxes, CornerDownLeft, Loader2, Copy, Menu, Sun, Moon, Monitor, Waves, Pause } from 'lucide-react';
|
|
2
|
+
import { ChevronDown, Plus, HelpCircle, Home, RefreshCw, ArrowLeft, X, Check, Boxes, CornerDownLeft, Loader2, Copy, Menu, Sun, Moon, Monitor, Waves, Pause } from 'lucide-react';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
5
|
import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
|
|
@@ -205,14 +205,22 @@ function OcErrorPage({
|
|
|
205
205
|
] }),
|
|
206
206
|
shownActions.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-8 border", children: [
|
|
207
207
|
/* @__PURE__ */ jsx("div", { className: "border-b px-4 py-2 font-mono text-[11px] tracking-widest uppercase", children: "what can you do" }),
|
|
208
|
-
/* @__PURE__ */ jsx("ul", { className: "divide-y font-mono text-xs", children: shownActions.map((a) =>
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
208
|
+
/* @__PURE__ */ jsx("ul", { className: "divide-y font-mono text-xs", children: shownActions.map((a, i) => (
|
|
209
|
+
// Index keys: items are nodes and the list is
|
|
210
|
+
// static per variant, so there is nothing
|
|
211
|
+
// better to key on and nothing reorders.
|
|
212
|
+
/* @__PURE__ */ jsxs("li", { className: "px-4 py-2", children: [
|
|
213
|
+
">> ",
|
|
214
|
+
a
|
|
215
|
+
] }, i)
|
|
216
|
+
)) })
|
|
212
217
|
] }),
|
|
213
218
|
/* @__PURE__ */ jsxs("div", { className: "mt-8 flex flex-wrap gap-3", children: [
|
|
214
|
-
/* @__PURE__ */ jsx(Button, { asChild: true, className: "font-mono", children: /* @__PURE__ */
|
|
215
|
-
|
|
219
|
+
/* @__PURE__ */ jsx(Button, { asChild: true, className: "font-mono", children: /* @__PURE__ */ jsxs(Link7, { href: homeHref, children: [
|
|
220
|
+
/* @__PURE__ */ jsx(Home, { className: "mr-2 h-3 w-3" }),
|
|
221
|
+
/* @__PURE__ */ jsx("span", { className: "text-[11px] tracking-widest uppercase", children: "go home" })
|
|
222
|
+
] }) }),
|
|
223
|
+
/* @__PURE__ */ jsxs(
|
|
216
224
|
Button,
|
|
217
225
|
{
|
|
218
226
|
variant: "outline",
|
|
@@ -222,7 +230,10 @@ function OcErrorPage({
|
|
|
222
230
|
else window.history.back();
|
|
223
231
|
},
|
|
224
232
|
className: "font-mono",
|
|
225
|
-
children:
|
|
233
|
+
children: [
|
|
234
|
+
isServerError ? /* @__PURE__ */ jsx(RefreshCw, { className: "mr-2 h-3 w-3" }) : /* @__PURE__ */ jsx(ArrowLeft, { className: "mr-2 h-3 w-3" }),
|
|
235
|
+
/* @__PURE__ */ jsx("span", { className: "text-[11px] tracking-widest uppercase", children: isServerError ? "retry" : "go back" })
|
|
236
|
+
]
|
|
226
237
|
}
|
|
227
238
|
)
|
|
228
239
|
] }),
|
|
@@ -1220,13 +1231,6 @@ var ENTRIES = [
|
|
|
1220
1231
|
}
|
|
1221
1232
|
];
|
|
1222
1233
|
var OWNER_ENTRIES = [
|
|
1223
|
-
{
|
|
1224
|
-
slug: "fleet",
|
|
1225
|
-
href: "https://fleet.ochk.io",
|
|
1226
|
-
label: "oc\xB7fleet",
|
|
1227
|
-
sub: "managed \u2014 agent fleet",
|
|
1228
|
-
docsHref: "https://fleet.ochk.io"
|
|
1229
|
-
},
|
|
1230
1234
|
{
|
|
1231
1235
|
slug: "analytics",
|
|
1232
1236
|
href: "https://analytics.ochk.io",
|
|
@@ -1468,15 +1472,6 @@ var FAMILY_PROPERTIES = [
|
|
|
1468
1472
|
docsHref: "https://docs.ochk.io/pledge",
|
|
1469
1473
|
category: "protocol"
|
|
1470
1474
|
},
|
|
1471
|
-
{
|
|
1472
|
-
slug: "fleet",
|
|
1473
|
-
origin: "https://fleet.ochk.io",
|
|
1474
|
-
hostname: "fleet.ochk.io",
|
|
1475
|
-
label: "oc\xB7fleet",
|
|
1476
|
-
sub: "managed \u2014 agent fleet",
|
|
1477
|
-
docsHref: "https://fleet.ochk.io",
|
|
1478
|
-
category: "owner"
|
|
1479
|
-
},
|
|
1480
1475
|
{
|
|
1481
1476
|
slug: "analytics",
|
|
1482
1477
|
origin: "https://analytics.ochk.io",
|