@hot-updater/console 0.33.0 → 0.33.2
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/.output/nitro.json +3 -3
- package/.output/public/assets/dist-DJX53faP.js +3 -0
- package/.output/public/assets/index-CCUspZZV.js +10 -0
- package/.output/public/assets/routes-D0t6y5Fr.js +54 -0
- package/.output/public/assets/styles-C0q26dS-.css +2 -0
- package/.output/server/{__tanstack-start-server-fn-resolver-ySzPUDlM.mjs → __23tanstack-start-server-fn-resolver-B12pVvhf.mjs} +32 -39
- package/.output/server/_chunks/ssr-renderer.mjs +14 -3
- package/.output/server/_libs/@floating-ui/react-dom+[...].mjs +7 -7
- package/.output/server/_libs/@radix-ui/react-alert-dialog+[...].mjs +142 -93
- package/.output/server/_libs/@radix-ui/react-popper+[...].mjs +32 -11
- package/.output/server/_libs/@radix-ui/react-select+[...].mjs +130 -95
- package/.output/server/_libs/@tanstack/form-core+[...].mjs +1138 -306
- package/.output/server/_libs/@tanstack/react-form+[...].mjs +156 -24
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +2658 -1395
- package/.output/server/_libs/@tanstack/react-table+[...].mjs +1 -1
- package/.output/server/_libs/dayjs.mjs +6 -6
- package/.output/server/_libs/h3+rou3+srvx.mjs +30 -42
- package/.output/server/_libs/lucide-react.mjs +8 -8
- package/.output/server/_libs/next-themes.mjs +1 -1
- package/.output/server/_libs/radix-ui__number.mjs +1 -1
- package/.output/server/_libs/radix-ui__react-arrow.mjs +2 -2
- package/.output/server/_libs/radix-ui__react-collection.mjs +2 -2
- package/.output/server/_libs/radix-ui__react-direction.mjs +2 -2
- package/.output/server/_libs/radix-ui__react-label.mjs +2 -2
- package/.output/server/_libs/radix-ui__react-separator.mjs +2 -2
- package/.output/server/_libs/radix-ui__react-slider.mjs +103 -44
- package/.output/server/_libs/radix-ui__react-switch.mjs +88 -49
- package/.output/server/_libs/radix-ui__react-tooltip.mjs +6 -4
- package/.output/server/_libs/semver.mjs +97 -52
- package/.output/server/_libs/sonner.mjs +1 -1
- package/.output/server/_libs/tailwind-merge.mjs +51 -3
- package/.output/server/_libs/tanstack__history.mjs +28 -8
- package/.output/server/_libs/tanstack__query-core.mjs +200 -174
- package/.output/server/_libs/tanstack__react-query.mjs +14 -13
- package/.output/server/_ssr/{api-rpc-Bwustks9.mjs → api-rpc-ORImfBFu.mjs} +18 -18
- package/.output/server/_ssr/{config.server-xu3W-WAK.mjs → config.server-BSS366KT.mjs} +2 -2
- package/.output/server/_ssr/{createServerFn-CdeRXnVy.mjs → createServerFn-DzU0k62V.mjs} +129 -90
- package/.output/server/_ssr/{deleteBundle-CXxwjwEZ.mjs → deleteBundle-CuujBAH8.mjs} +2 -2
- package/.output/server/_ssr/{dist-CRiLZLfa.mjs → dist-KboydRVk.mjs} +1 -1
- package/.output/server/_ssr/empty-plugin-adapters-B4HCzgmM.mjs +5 -0
- package/.output/server/_ssr/{getBundleChildren-DFqZ6XMp.mjs → getBundleChildren-CVtSiH5t.mjs} +2 -2
- package/.output/server/_ssr/{router-1tw3jh6y.mjs → router-DmdnzGpe.mjs} +7 -8
- package/.output/server/_ssr/{routes-D5CmWxI7.mjs → routes-Be7gDfJS.mjs} +36 -39
- package/.output/server/_ssr/{sidebar-CgbtXkE2.mjs → sidebar-Cv_H0_Jv.mjs} +5 -5
- package/.output/server/_ssr/ssr.mjs +4222 -3153
- package/.output/server/_ssr/start-D4SBEASt.mjs +4 -0
- package/.output/server/_ssr/{storageProfile-wICk5nZZ.mjs → storageProfile-FVkjPoGb.mjs} +1 -1
- package/.output/server/_tanstack-start-manifest_v-BroBMdSR.mjs +20 -0
- package/.output/server/index.mjs +128 -172
- package/package.json +12 -9
- package/.output/public/assets/BaseTanStackRouterDevtoolsPanel-Bmws3ikM-q5p5qKUx.js +0 -486
- package/.output/public/assets/FloatingTanStackRouterDevtools-B7vy70jP-Bzs2Gthe.js +0 -1
- package/.output/public/assets/clsx-CbprLf2V.js +0 -1
- package/.output/public/assets/dist-BzU1qUss.js +0 -9
- package/.output/public/assets/main-CmNeAg9B.js +0 -10
- package/.output/public/assets/preload-helper-C5ST2IKa.js +0 -1
- package/.output/public/assets/routes-wJZuGodi.js +0 -54
- package/.output/public/assets/styles-DEbMLh52.css +0 -2
- package/.output/server/_libs/hookable.mjs +0 -41
- package/.output/server/_libs/tanstack__router-core.mjs +0 -6
- package/.output/server/_libs/unctx.mjs +0 -82
- package/.output/server/_ssr/start-CoRKunFF.mjs +0 -4
- package/.output/server/_tanstack-start-manifest_v-AftZl081.mjs +0 -22
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { r as __toESM } from "../_runtime.mjs";
|
|
2
|
-
import { c as createServerFn, i as TSS_SERVER_FUNCTION } from "./createServerFn-
|
|
3
|
-
import { c as getPatchBaseFileHash, d as isValidCohort, f as normalizeCohortValue, l as getPatchFileHash, n as NUMERIC_COHORT_SIZE, o as getNumericCohortRolloutPosition, p as normalizeRolloutCohortCount, s as getPatchBaseBundleId, t as INVALID_COHORT_ERROR_MESSAGE } from "./dist-
|
|
4
|
-
import { A as Slot, P as require_jsx_runtime, a as Overlay2, c as Title2, d as Description, f as Overlay, g as Trigger, h as Title, i as Description2, l as Close, m as Root, n as Cancel, o as Portal2, p as Portal, r as Content2, s as Root2, t as Action, u as Content } from "../_libs/@radix-ui/react-alert-dialog+[...].mjs";
|
|
2
|
+
import { c as createServerFn, i as TSS_SERVER_FUNCTION } from "./createServerFn-DzU0k62V.mjs";
|
|
3
|
+
import { c as getPatchBaseFileHash, d as isValidCohort, f as normalizeCohortValue, l as getPatchFileHash, n as NUMERIC_COHORT_SIZE, o as getNumericCohortRolloutPosition, p as normalizeRolloutCohortCount, s as getPatchBaseBundleId, t as INVALID_COHORT_ERROR_MESSAGE } from "./dist-KboydRVk.mjs";
|
|
5
4
|
import { u as require_react } from "../_libs/@floating-ui/react-dom+[...].mjs";
|
|
5
|
+
import { A as Slot, P as require_jsx_runtime, a as Overlay2, c as Title2, d as Description, f as Overlay, g as Trigger, h as Title, i as Description2, l as Close, m as Root, n as Cancel, o as Portal2, p as Portal, r as Content2, s as Root2, t as Action, u as Content } from "../_libs/@radix-ui/react-alert-dialog+[...].mjs";
|
|
6
6
|
import { C as ChevronLeft, E as ArrowRight, S as ChevronRight, T as Check, _ as ExternalLink, a as RotateCcw, b as CircleCheck, c as Package, d as Minus, f as LoaderCircle, g as FingerprintPattern, h as Funnel, n as TriangleAlert, o as Plus, p as List, r as Trash2, t as X, v as Download, w as ChevronDown, x as ChevronUp, y as CircleX } from "../_libs/lucide-react.mjs";
|
|
7
7
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
8
|
-
import { a as
|
|
8
|
+
import { a as SelectItemIndicator, c as SelectScrollDownButton$1, d as SelectValue$1, f as SelectViewport, i as SelectItem$1, l as SelectScrollUpButton$1, n as SelectContent$1, o as SelectItemText, r as SelectIcon, s as SelectPortal, t as Select, u as SelectTrigger$1 } from "../_libs/@radix-ui/react-select+[...].mjs";
|
|
9
9
|
import { t as Root$1 } from "../_libs/radix-ui__react-label.mjs";
|
|
10
|
-
import { i as
|
|
11
|
-
import { n as
|
|
12
|
-
import { C as useIsMobile, S as cn, _ as Skeleton, g as SidebarTrigger, n as Input, r as Separator$1, t as Button, v as Tooltip$1, x as TooltipTrigger, y as TooltipContent } from "./sidebar-
|
|
13
|
-
import {
|
|
10
|
+
import { i as SliderTrack, n as SliderRange, r as SliderThumb, t as Slider } from "../_libs/radix-ui__react-slider.mjs";
|
|
11
|
+
import { n as SwitchThumb, t as Switch } from "../_libs/radix-ui__react-switch.mjs";
|
|
12
|
+
import { C as useIsMobile, S as cn, _ as Skeleton, g as SidebarTrigger, n as Input, r as Separator$1, t as Button, v as Tooltip$1, x as TooltipTrigger, y as TooltipContent } from "./sidebar-Cv_H0_Jv.mjs";
|
|
13
|
+
import { m as useSearch, p as useNavigate } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
14
14
|
import { n as useStore, t as useForm } from "../_libs/@tanstack/react-form+[...].mjs";
|
|
15
15
|
import { i as useQueryClient, n as useQuery, t as useMutation } from "../_libs/tanstack__react-query.mjs";
|
|
16
16
|
import { n as toast } from "../_libs/sonner.mjs";
|
|
17
|
-
import { t as getServerFnById } from "../
|
|
17
|
+
import { t as getServerFnById } from "../__23tanstack-start-server-fn-resolver-B12pVvhf.mjs";
|
|
18
18
|
import { t as require_semver } from "../_libs/semver.mjs";
|
|
19
19
|
import { i as getCoreRowModel, n as useReactTable, r as createColumnHelper, t as flexRender } from "../_libs/@tanstack/react-table+[...].mjs";
|
|
20
20
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
21
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
21
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-Be7gDfJS.js
|
|
22
|
+
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
22
23
|
var import_jsx_runtime = require_jsx_runtime();
|
|
23
24
|
var import_semver = /* @__PURE__ */ __toESM(require_semver());
|
|
24
|
-
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
25
25
|
var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
26
26
|
var import_relativeTime = /* @__PURE__ */ __toESM(require_relativeTime());
|
|
27
27
|
var extractTimestampFromUUIDv7 = (uuid) => {
|
|
@@ -195,7 +195,6 @@ function BundleIdDisplay({ bundleId, className }) {
|
|
|
195
195
|
}
|
|
196
196
|
function AppleIcon({ className }) {
|
|
197
197
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
198
|
-
role: "img",
|
|
199
198
|
"aria-label": "iOS",
|
|
200
199
|
viewBox: "0 0 24 24",
|
|
201
200
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -206,7 +205,6 @@ function AppleIcon({ className }) {
|
|
|
206
205
|
}
|
|
207
206
|
function AndroidIcon({ className }) {
|
|
208
207
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
209
|
-
role: "img",
|
|
210
208
|
"aria-label": "Android",
|
|
211
209
|
viewBox: "0 0 24 24",
|
|
212
210
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -358,7 +356,7 @@ function Slider$1({ className, defaultValue, value, min = 0, max = 100, ...props
|
|
|
358
356
|
min,
|
|
359
357
|
max
|
|
360
358
|
]);
|
|
361
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
359
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Slider, {
|
|
362
360
|
"data-slot": "slider",
|
|
363
361
|
defaultValue,
|
|
364
362
|
value,
|
|
@@ -366,35 +364,35 @@ function Slider$1({ className, defaultValue, value, min = 0, max = 100, ...props
|
|
|
366
364
|
max,
|
|
367
365
|
className: cn("relative flex w-full touch-none select-none items-center", className),
|
|
368
366
|
...props,
|
|
369
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
367
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderTrack, {
|
|
370
368
|
"data-slot": "slider-track",
|
|
371
369
|
className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",
|
|
372
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
370
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderRange, {
|
|
373
371
|
"data-slot": "slider-range",
|
|
374
372
|
className: "absolute h-full bg-primary"
|
|
375
373
|
})
|
|
376
|
-
}), Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
374
|
+
}), Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SliderThumb, {
|
|
377
375
|
"data-slot": "slider-thumb",
|
|
378
376
|
className: "block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"
|
|
379
377
|
}, index))]
|
|
380
378
|
});
|
|
381
379
|
}
|
|
382
380
|
function Switch$1({ className, ...props }) {
|
|
383
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
381
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Switch, {
|
|
384
382
|
"data-slot": "switch",
|
|
385
383
|
className: cn("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", className),
|
|
386
384
|
...props,
|
|
387
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
385
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SwitchThumb, {
|
|
388
386
|
"data-slot": "switch-thumb",
|
|
389
387
|
className: "pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"
|
|
390
388
|
})
|
|
391
389
|
});
|
|
392
390
|
}
|
|
393
|
-
var createSsrRpc = (functionId
|
|
391
|
+
var createSsrRpc = (functionId) => {
|
|
394
392
|
const url = "/_serverFn/" + functionId;
|
|
395
393
|
const serverFnMeta = { id: functionId };
|
|
396
394
|
const fn = async (...args) => {
|
|
397
|
-
return (
|
|
395
|
+
return (await getServerFnById(functionId, { origin: "server" }))(...args);
|
|
398
396
|
};
|
|
399
397
|
return Object.assign(fn, {
|
|
400
398
|
url,
|
|
@@ -534,14 +532,12 @@ function useDeleteBundleMutation() {
|
|
|
534
532
|
const queryClient = useQueryClient();
|
|
535
533
|
return useMutation({
|
|
536
534
|
mutationFn: (params) => deleteBundle({ data: params }),
|
|
537
|
-
onSuccess:
|
|
535
|
+
onSuccess: (_, vars) => {
|
|
538
536
|
queryClient.removeQueries({ queryKey: queryKeys.bundle(vars.bundleId) });
|
|
539
537
|
queryClient.setQueriesData({ queryKey: queryKeys.bundles.all }, (data) => removeBundleFromQueryData(data, vars.bundleId));
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
queryClient.invalidateQueries({ queryKey: queryKeys.channels })
|
|
544
|
-
]);
|
|
538
|
+
invalidateInBackground(queryClient, queryKeys.bundles.all);
|
|
539
|
+
invalidateInBackground(queryClient, queryKeys.bundleChildren.all);
|
|
540
|
+
invalidateInBackground(queryClient, queryKeys.channels);
|
|
545
541
|
}
|
|
546
542
|
});
|
|
547
543
|
}
|
|
@@ -690,30 +686,30 @@ function DeleteBundleDialog({ bundle, open, onOpenChange, onSuccess }) {
|
|
|
690
686
|
});
|
|
691
687
|
}
|
|
692
688
|
function Select$1({ ...props }) {
|
|
693
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
689
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Select, {
|
|
694
690
|
"data-slot": "select",
|
|
695
691
|
...props
|
|
696
692
|
});
|
|
697
693
|
}
|
|
698
694
|
function SelectValue({ ...props }) {
|
|
699
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
695
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectValue$1, {
|
|
700
696
|
"data-slot": "select-value",
|
|
701
697
|
...props
|
|
702
698
|
});
|
|
703
699
|
}
|
|
704
700
|
function SelectTrigger({ className, children, ...props }) {
|
|
705
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
701
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectTrigger$1, {
|
|
706
702
|
"data-slot": "select-trigger",
|
|
707
703
|
className: cn("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", className),
|
|
708
704
|
...props,
|
|
709
|
-
children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
705
|
+
children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectIcon, {
|
|
710
706
|
asChild: true,
|
|
711
707
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDown, { className: "h-4 w-4 opacity-50" })
|
|
712
708
|
})]
|
|
713
709
|
});
|
|
714
710
|
}
|
|
715
711
|
function SelectContent({ className, children, position = "item-aligned", align = "center", ...props }) {
|
|
716
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
712
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectContent$1, {
|
|
717
713
|
"data-slot": "select-content",
|
|
718
714
|
className: cn("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 border border-border min-w-32 rounded-lg shadow-md duration-100 relative z-50 max-h-(--radix-select-content-available-height) origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
|
|
719
715
|
position,
|
|
@@ -721,7 +717,7 @@ function SelectContent({ className, children, position = "item-aligned", align =
|
|
|
721
717
|
...props,
|
|
722
718
|
children: [
|
|
723
719
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollUpButton, {}),
|
|
724
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
720
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectViewport, {
|
|
725
721
|
"data-position": position,
|
|
726
722
|
className: cn("data-[position=popper]:h-[var(--radix-select-trigger-height)] data-[position=popper]:w-full data-[position=popper]:min-w-[var(--radix-select-trigger-width)]", position === "popper" && ""),
|
|
727
723
|
children
|
|
@@ -731,18 +727,18 @@ function SelectContent({ className, children, position = "item-aligned", align =
|
|
|
731
727
|
}) });
|
|
732
728
|
}
|
|
733
729
|
function SelectItem({ className, children, ...props }) {
|
|
734
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
730
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectItem$1, {
|
|
735
731
|
"data-slot": "select-item",
|
|
736
732
|
className: cn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className),
|
|
737
733
|
...props,
|
|
738
734
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
739
735
|
className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
740
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
741
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
736
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Check, { className: "h-4 w-4" }) })
|
|
737
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectItemText, { children })]
|
|
742
738
|
});
|
|
743
739
|
}
|
|
744
740
|
function SelectScrollUpButton({ className, ...props }) {
|
|
745
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
741
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollUpButton$1, {
|
|
746
742
|
"data-slot": "select-scroll-up-button",
|
|
747
743
|
className: cn("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5", className),
|
|
748
744
|
...props,
|
|
@@ -750,7 +746,7 @@ function SelectScrollUpButton({ className, ...props }) {
|
|
|
750
746
|
});
|
|
751
747
|
}
|
|
752
748
|
function SelectScrollDownButton({ className, ...props }) {
|
|
753
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
749
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollDownButton$1, {
|
|
754
750
|
"data-slot": "select-scroll-down-button",
|
|
755
751
|
className: cn("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5", className),
|
|
756
752
|
...props,
|
|
@@ -995,6 +991,7 @@ function PromoteChannelDialog({ bundle, open, onOpenChange, onSuccess }) {
|
|
|
995
991
|
type: "button",
|
|
996
992
|
variant: "outline",
|
|
997
993
|
size: "xs",
|
|
994
|
+
"aria-label": `Use ${channel} as target channel`,
|
|
998
995
|
onClick: () => setTargetChannel(channel),
|
|
999
996
|
disabled: isPromoting,
|
|
1000
997
|
children: channel
|
|
@@ -2340,7 +2337,6 @@ function DeleteStatusIcon({ status }) {
|
|
|
2340
2337
|
asChild: true,
|
|
2341
2338
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
2342
2339
|
"aria-label": label,
|
|
2343
|
-
role: "img",
|
|
2344
2340
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { className })
|
|
2345
2341
|
})
|
|
2346
2342
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TooltipContent, { children: label })] });
|
|
@@ -2598,6 +2594,7 @@ function BundlesTable({ bundles, pagination, expandedBundleId, selectedBundleId,
|
|
|
2598
2594
|
}),
|
|
2599
2595
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", {
|
|
2600
2596
|
type: "button",
|
|
2597
|
+
"aria-label": `Open bundle ${bundle.id}`,
|
|
2601
2598
|
className: "flex w-full flex-col gap-4 p-4 text-left",
|
|
2602
2599
|
onClick: () => onDetailClick(bundle),
|
|
2603
2600
|
children: [
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as __toESM } from "../_runtime.mjs";
|
|
2
|
-
import { A as Slot, P as require_jsx_runtime } from "../_libs/@radix-ui/react-alert-dialog+[...].mjs";
|
|
3
2
|
import { u as require_react } from "../_libs/@floating-ui/react-dom+[...].mjs";
|
|
3
|
+
import { A as Slot, P as require_jsx_runtime } from "../_libs/@radix-ui/react-alert-dialog+[...].mjs";
|
|
4
4
|
import { s as PanelLeft } from "../_libs/lucide-react.mjs";
|
|
5
5
|
import { n as clsx, t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
6
6
|
import { t as Root } from "../_libs/radix-ui__react-separator.mjs";
|
|
7
7
|
import { a as Root3, i as Provider, n as Content2, o as Trigger, r as Portal, t as Arrow2 } from "../_libs/radix-ui__react-tooltip.mjs";
|
|
8
8
|
import { t as twMerge } from "../_libs/tailwind-merge.mjs";
|
|
9
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/sidebar-
|
|
10
|
-
var import_jsx_runtime = require_jsx_runtime();
|
|
9
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/sidebar-Cv_H0_Jv.js
|
|
11
10
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
11
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
12
12
|
function cn(...inputs) {
|
|
13
13
|
return twMerge(clsx(inputs));
|
|
14
14
|
}
|
|
@@ -246,8 +246,8 @@ function Sidebar({ side = "left", variant = "sidebar", collapsible = "offExample
|
|
|
246
246
|
"aria-label": "Close sidebar",
|
|
247
247
|
className: "absolute inset-0 bg-sidebar/55 supports-backdrop-filter:backdrop-blur-sm",
|
|
248
248
|
onClick: () => setOpenMobile(false)
|
|
249
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("
|
|
250
|
-
|
|
249
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("dialog", {
|
|
250
|
+
open: true,
|
|
251
251
|
"aria-modal": "true",
|
|
252
252
|
"aria-label": "Sidebar",
|
|
253
253
|
className: cn("bg-sidebar text-sidebar-foreground absolute inset-y-0 z-10 flex w-(--sidebar-width) flex-col shadow-lg", side === "left" ? "left-0" : "right-0"),
|