@burdenoff/fe-libs 2026.1118.9 → 2026.1118.10

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.
@@ -0,0 +1,49 @@
1
+ import { ReactNode } from 'react';
2
+ import { CategoryFacet } from './gallery-paging';
3
+ export interface GalleryChipProps {
4
+ label: string;
5
+ /** Leading icon; the host chooses its icon set. */
6
+ icon?: ReactNode;
7
+ count?: number;
8
+ active: boolean;
9
+ onSelect: () => void;
10
+ }
11
+ /** One category chip (a toggle button with an optional count). */
12
+ export declare function GalleryChip({ label, icon, count, active, onSelect }: GalleryChipProps): import('react').JSX.Element;
13
+ export interface GalleryCategoryRailProps {
14
+ /** Categories with counts, most used first. */
15
+ facets: readonly CategoryFacet[];
16
+ /** Total shown on the "All" chip; hidden when 0. */
17
+ facetsTotal: number;
18
+ /** The selected category value, or "all". */
19
+ category: string;
20
+ onCategoryChange: (value: string) => void;
21
+ /** Translated name of a category value. */
22
+ labelFor: (value: string) => string;
23
+ /** Icon of a category value. */
24
+ iconFor?: (value: string) => ReactNode;
25
+ /** Icon of the "All" chip. */
26
+ allIcon?: ReactNode;
27
+ allLabel: string;
28
+ /** "{n} more" chip text. */
29
+ moreLabel: (count: number) => string;
30
+ /** Heading of the "more" menu. */
31
+ moreTitle: string;
32
+ /** Chips shown before the "N more" menu; default 6. */
33
+ topCount?: number;
34
+ testId?: string;
35
+ moreTestId?: string;
36
+ }
37
+ /** One row of category chips: All, the largest, the selected one, and "N more". */
38
+ export declare function GalleryCategoryRail({ facets, facetsTotal, category, onCategoryChange, labelFor, iconFor, allIcon, allLabel, moreLabel, moreTitle, topCount, testId, moreTestId, }: GalleryCategoryRailProps): import('react').JSX.Element;
39
+ export interface GalleryPanelProps {
40
+ icon: ReactNode;
41
+ title: string;
42
+ text: string;
43
+ /** "alert" for an error panel. */
44
+ role?: 'alert';
45
+ /** Actions (buttons) under the text. */
46
+ children?: ReactNode;
47
+ }
48
+ /** The dashed empty / no-match / error panel shown in place of results. */
49
+ export declare function GalleryPanel({ icon, title, text, role, children }: GalleryPanelProps): import('react').JSX.Element;
@@ -0,0 +1,110 @@
1
+ import { cn as e } from "../lib/utils.js";
2
+ import { DropdownMenu as t, DropdownMenuContent as n, DropdownMenuLabel as r, DropdownMenuRadioGroup as i, DropdownMenuRadioItem as a, DropdownMenuTrigger as o } from "./dropdown-menu.js";
3
+ import { splitCategories as s } from "./gallery-paging.js";
4
+ import { ChevronDown as c } from "lucide-react";
5
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
6
+ // src/ui/gallery-category-rail.tsx
7
+ var d = "inline-flex flex-none items-center gap-1.5 whitespace-nowrap rounded-lg border px-3 py-1.5 text-sm font-medium outline-none transition-colors focus-visible:ring-2 focus-visible:ring-accent-glow";
8
+ function f({ label: t, icon: n, count: r, active: i, onSelect: a }) {
9
+ return /* @__PURE__ */ u("button", {
10
+ type: "button",
11
+ onClick: a,
12
+ "aria-pressed": i,
13
+ className: e(d, i ? "border-accent-glow/55 bg-accent-glow/15 text-text-primary" : "border-border-default bg-surface text-text-secondary hover:border-border-strong hover:text-text-primary"),
14
+ children: [
15
+ n,
16
+ t,
17
+ r !== void 0 && /* @__PURE__ */ l("span", {
18
+ className: "ms-0.5 text-xs font-medium text-text-muted",
19
+ children: r
20
+ })
21
+ ]
22
+ });
23
+ }
24
+ function p({ facets: p, facetsTotal: m, category: h, onCategoryChange: g, labelFor: _, iconFor: v, allIcon: y, allLabel: b, moreLabel: x, moreTitle: S, topCount: C, testId: w, moreTestId: T }) {
25
+ let { top: E, extra: D, more: O } = s(p, h, C);
26
+ return /* @__PURE__ */ u("div", {
27
+ className: "mb-[18px] flex flex-nowrap gap-2 overflow-x-auto pb-0.5 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden max-xl:[mask-image:linear-gradient(to_right,var(--color-text-primary)_calc(100%-48px),transparent)] max-xl:rtl:[mask-image:linear-gradient(to_left,var(--color-text-primary)_calc(100%-48px),transparent)]",
28
+ "data-testid": w,
29
+ children: [
30
+ /* @__PURE__ */ l(f, {
31
+ label: b,
32
+ icon: y,
33
+ count: m > 0 ? m : void 0,
34
+ active: h === "all",
35
+ onSelect: () => g("all")
36
+ }),
37
+ E.map((e) => /* @__PURE__ */ l(f, {
38
+ label: _(e.value),
39
+ icon: v?.(e.value),
40
+ count: e.count,
41
+ active: h === e.value,
42
+ onSelect: () => g(e.value)
43
+ }, e.value)),
44
+ D && /* @__PURE__ */ l(f, {
45
+ label: _(D.value),
46
+ icon: v?.(D.value),
47
+ count: D.count,
48
+ active: !0,
49
+ onSelect: () => g(D.value)
50
+ }),
51
+ O.length > 0 && /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ l(o, {
52
+ asChild: !0,
53
+ children: /* @__PURE__ */ u("button", {
54
+ type: "button",
55
+ "data-testid": T,
56
+ className: e(d, "border-dashed border-border-default bg-surface text-text-secondary hover:border-border-strong hover:text-text-primary"),
57
+ children: [x(O.length), /* @__PURE__ */ l(c, {
58
+ className: "size-4",
59
+ "aria-hidden": "true"
60
+ })]
61
+ })
62
+ }), /* @__PURE__ */ u(n, {
63
+ align: "start",
64
+ className: "max-h-[min(24rem,var(--radix-dropdown-menu-content-available-height))] min-w-[230px] overflow-y-auto",
65
+ children: [/* @__PURE__ */ l(r, {
66
+ className: "text-[11px] uppercase tracking-wide text-text-muted",
67
+ children: S
68
+ }), /* @__PURE__ */ l(i, {
69
+ value: h,
70
+ onValueChange: g,
71
+ children: O.map((e) => /* @__PURE__ */ l(a, {
72
+ value: e.value,
73
+ children: /* @__PURE__ */ u("span", {
74
+ className: "flex w-full items-center justify-between gap-4",
75
+ children: [/* @__PURE__ */ l("span", { children: _(e.value) }), e.count !== void 0 && /* @__PURE__ */ l("span", {
76
+ className: "text-xs text-text-muted",
77
+ children: e.count
78
+ })]
79
+ })
80
+ }, e.value))
81
+ })]
82
+ })] })
83
+ ]
84
+ });
85
+ }
86
+ function m({ icon: e, title: t, text: n, role: r, children: i }) {
87
+ return /* @__PURE__ */ u("div", {
88
+ role: r,
89
+ className: "flex flex-col items-center gap-2.5 rounded-xl border border-dashed border-border-default bg-bg-elevated/60 px-4 py-12 text-center",
90
+ children: [
91
+ /* @__PURE__ */ l("span", {
92
+ className: "flex size-12 items-center justify-center rounded-[14px] border border-border-subtle bg-bg-sunken",
93
+ children: e
94
+ }),
95
+ /* @__PURE__ */ l("h3", {
96
+ className: "text-base font-semibold text-text-primary",
97
+ children: t
98
+ }),
99
+ /* @__PURE__ */ l("p", {
100
+ className: "max-w-[30rem] text-sm text-text-secondary",
101
+ children: n
102
+ }),
103
+ /* @__PURE__ */ l("div", {
104
+ className: "mt-1.5 flex flex-wrap justify-center gap-2",
105
+ children: i
106
+ })
107
+ ]
108
+ });
109
+ }
110
+ export { p as GalleryCategoryRail, f as GalleryChip, m as GalleryPanel };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * The words a pager shows. The host translates them (fe-libs components take
3
+ * finished strings, as the host owns the i18n catalogue); English defaults
4
+ * apply when `labels` is omitted.
5
+ */
6
+ export interface GalleryPagerLabels {
7
+ /** Accessible name of the `<nav>` landmark. */
8
+ pagesNav: string;
9
+ previous: string;
10
+ next: string;
11
+ /** Accessible name of the phone "previous" icon button. */
12
+ previousPage: string;
13
+ /** Accessible name of the phone "next" icon button. */
14
+ nextPage: string;
15
+ /** "Showing 21–40 of 236" (desktop). */
16
+ showing: (start: number, end: number, total: number) => string;
17
+ /** Accessible name of a numbered page button. */
18
+ pageAria: (page: number) => string;
19
+ /** "Page 3 of 12" (phone). */
20
+ pageOf: (page: number, pages: number) => string;
21
+ }
22
+ export declare const DEFAULT_GALLERY_PAGER_LABELS: GalleryPagerLabels;
@@ -0,0 +1,12 @@
1
+ // src/ui/gallery-pager-labels.ts
2
+ var e = {
3
+ pagesNav: "Pages",
4
+ previous: "Previous",
5
+ next: "Next",
6
+ previousPage: "Previous page",
7
+ nextPage: "Next page",
8
+ showing: (e, t, n) => `Showing ${e}–${t} of ${n}`,
9
+ pageAria: (e) => `Page ${e}`,
10
+ pageOf: (e, t) => `Page ${e} of ${t}`
11
+ };
12
+ export { e as DEFAULT_GALLERY_PAGER_LABELS };
@@ -0,0 +1,19 @@
1
+ import { GalleryPagerLabels } from './gallery-pager-labels';
2
+ export interface GalleryPagerProps {
3
+ /** Current page, 1-based (clamp it first with `clampPage`). */
4
+ page: number;
5
+ totalPages: number;
6
+ /** Total number of results. */
7
+ total: number;
8
+ onPage: (page: number) => void;
9
+ /** Results per page; default {@link GALLERY_PAGE_SIZE}. */
10
+ pageSize?: number;
11
+ labels?: GalleryPagerLabels;
12
+ className?: string;
13
+ }
14
+ /**
15
+ * The gallery pager. Desktop: "Showing 21–40 of 236", Previous, numbered pages
16
+ * with ellipses, Next. Phones: "‹ Page 3 of 12 ›". Controlled: the page owns
17
+ * the current page (normally in the URL).
18
+ */
19
+ export declare function GalleryPager({ page, totalPages, total, onPage, pageSize, labels, className, }: GalleryPagerProps): import('react').JSX.Element;
@@ -0,0 +1,89 @@
1
+ import { cn as e } from "../lib/utils.js";
2
+ import { DEFAULT_GALLERY_PAGER_LABELS as t } from "./gallery-pager-labels.js";
3
+ import { pageItems as n, pageRange as r } from "./gallery-paging.js";
4
+ import { ChevronLeft as i, ChevronRight as a } from "lucide-react";
5
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
+ // src/ui/gallery-pager.tsx
7
+ var c = "inline-flex h-10 min-w-10 items-center justify-center gap-1 rounded-[10px] border border-border-default bg-transparent px-2.5 text-sm text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-accent-glow disabled:opacity-45 disabled:hover:text-text-secondary";
8
+ function l({ page: l, totalPages: u, total: d, onPage: f, pageSize: p = 20, labels: m = t, className: h }) {
9
+ let { start: g, end: _ } = r(l, p, d);
10
+ return /* @__PURE__ */ s("nav", {
11
+ "aria-label": m.pagesNav,
12
+ className: e("mt-6 flex flex-wrap items-center justify-between gap-3", h),
13
+ children: [
14
+ /* @__PURE__ */ o("span", {
15
+ className: "hidden text-[13px] text-text-muted sm:inline",
16
+ children: m.showing(g, _, d)
17
+ }),
18
+ /* @__PURE__ */ s("div", {
19
+ className: "hidden items-center gap-1.5 sm:flex",
20
+ children: [
21
+ /* @__PURE__ */ s("button", {
22
+ type: "button",
23
+ className: c,
24
+ disabled: l <= 1,
25
+ onClick: () => f(l - 1),
26
+ children: [/* @__PURE__ */ o(i, {
27
+ className: "size-4 rtl:rotate-180",
28
+ "aria-hidden": "true"
29
+ }), m.previous]
30
+ }),
31
+ n(l, u).map((t, n) => t === "gap" ? /* @__PURE__ */ o("span", {
32
+ className: "w-6 text-center text-text-muted",
33
+ "aria-hidden": "true",
34
+ children: "…"
35
+ }, `gap-${n}`) : /* @__PURE__ */ o("button", {
36
+ type: "button",
37
+ className: e(c, t === l && "border-accent-glow/60 bg-accent-glow/20 font-bold text-text-primary"),
38
+ "aria-current": t === l ? "page" : void 0,
39
+ "aria-label": m.pageAria(t),
40
+ onClick: () => f(t),
41
+ children: t
42
+ }, t)),
43
+ /* @__PURE__ */ s("button", {
44
+ type: "button",
45
+ className: c,
46
+ disabled: l >= u,
47
+ onClick: () => f(l + 1),
48
+ children: [m.next, /* @__PURE__ */ o(a, {
49
+ className: "size-4 rtl:rotate-180",
50
+ "aria-hidden": "true"
51
+ })]
52
+ })
53
+ ]
54
+ }),
55
+ /* @__PURE__ */ s("div", {
56
+ className: "flex w-full items-center justify-between sm:hidden",
57
+ children: [
58
+ /* @__PURE__ */ o("button", {
59
+ type: "button",
60
+ className: e(c, "size-11"),
61
+ disabled: l <= 1,
62
+ "aria-label": m.previousPage,
63
+ onClick: () => f(l - 1),
64
+ children: /* @__PURE__ */ o(i, {
65
+ className: "size-4 rtl:rotate-180",
66
+ "aria-hidden": "true"
67
+ })
68
+ }),
69
+ /* @__PURE__ */ o("span", {
70
+ className: "text-[13.5px] text-text-secondary",
71
+ children: m.pageOf(l, u)
72
+ }),
73
+ /* @__PURE__ */ o("button", {
74
+ type: "button",
75
+ className: e(c, "size-11"),
76
+ disabled: l >= u,
77
+ "aria-label": m.nextPage,
78
+ onClick: () => f(l + 1),
79
+ children: /* @__PURE__ */ o(a, {
80
+ className: "size-4 rtl:rotate-180",
81
+ "aria-hidden": "true"
82
+ })
83
+ })
84
+ ]
85
+ })
86
+ ]
87
+ });
88
+ }
89
+ export { l as GalleryPager };
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Paging rules shared by every gallery-style page (BOFF-15371): page maths,
3
+ * the page-number window with ellipses, and the `?page=` URL helpers. Pure
4
+ * functions, so a page can keep its state in the URL and a shared link or Back
5
+ * returns to the same results.
6
+ */
7
+ /** Items per page on gallery pages (no page-size picker). */
8
+ export declare const GALLERY_PAGE_SIZE = 20;
9
+ /** `?page=` as a page number: a positive whole number, else 1. */
10
+ export declare function parsePageParam(raw: string | null | undefined): number;
11
+ export declare function totalPagesFor(total: number, pageSize: number): number;
12
+ /** A page past the end becomes the last page; below 1 becomes 1. */
13
+ export declare function clampPage(page: number, totalPages: number): number;
14
+ export declare function offsetForPage(page: number, pageSize: number): number;
15
+ /** "Showing {start}–{end} of {total}": 1-based, both 0 when empty. */
16
+ export declare function pageRange(page: number, pageSize: number, total: number): {
17
+ start: number;
18
+ end: number;
19
+ };
20
+ export type PageItem = number | 'gap';
21
+ /**
22
+ * Page numbers with ellipses: 1 2 3 4 5 … 33 / 1 … 6 7 8 … 33 /
23
+ * 1 … 29 30 31 32 33. Up to seven pages are all listed.
24
+ */
25
+ export declare function pageItems(page: number, totalPages: number): PageItem[];
26
+ /**
27
+ * The query string with `page` set. Page 1 is the default and is left out;
28
+ * every other parameter is kept.
29
+ */
30
+ export declare function withPageParam(params: URLSearchParams, page: number): URLSearchParams;
31
+ /** Category chips shown before the "N more" menu. */
32
+ export declare const TOP_CATEGORY_COUNT = 6;
33
+ export interface CategoryFacet {
34
+ value: string;
35
+ count?: number;
36
+ }
37
+ export interface CategorySplit {
38
+ /** The first {@link TOP_CATEGORY_COUNT} categories, most used first. */
39
+ top: CategoryFacet[];
40
+ /** The selected category when it is one of the "more" ones, else null. */
41
+ extra: CategoryFacet | null;
42
+ /** Every category behind the "N more" chip. */
43
+ more: CategoryFacet[];
44
+ }
45
+ export declare function splitCategories(facets: readonly CategoryFacet[], selected: string, topCount?: number): CategorySplit;
@@ -0,0 +1,66 @@
1
+ // src/ui/gallery-paging.ts
2
+ var e = 20;
3
+ function t(e) {
4
+ if (!e || !/^\d+$/.test(e.trim())) return 1;
5
+ let t = Number.parseInt(e, 10);
6
+ return Number.isSafeInteger(t) && t >= 1 ? t : 1;
7
+ }
8
+ function n(e, t) {
9
+ return e > 0 ? Math.ceil(e / t) : 1;
10
+ }
11
+ function r(e, t) {
12
+ return Math.min(Math.max(1, e), Math.max(1, t));
13
+ }
14
+ function i(e, t) {
15
+ return (Math.max(1, e) - 1) * t;
16
+ }
17
+ function a(e, t, n) {
18
+ return n <= 0 ? {
19
+ start: 0,
20
+ end: 0
21
+ } : {
22
+ start: i(e, t) + 1,
23
+ end: Math.min(e * t, n)
24
+ };
25
+ }
26
+ function o(e, t) {
27
+ return t <= 7 ? Array.from({ length: t }, (e, t) => t + 1) : e <= 4 ? [
28
+ 1,
29
+ 2,
30
+ 3,
31
+ 4,
32
+ 5,
33
+ "gap",
34
+ t
35
+ ] : e >= t - 3 ? [
36
+ 1,
37
+ "gap",
38
+ t - 4,
39
+ t - 3,
40
+ t - 2,
41
+ t - 1,
42
+ t
43
+ ] : [
44
+ 1,
45
+ "gap",
46
+ e - 1,
47
+ e,
48
+ e + 1,
49
+ "gap",
50
+ t
51
+ ];
52
+ }
53
+ function s(e, t) {
54
+ let n = new URLSearchParams(e);
55
+ return t <= 1 ? n.delete("page") : n.set("page", String(t)), n;
56
+ }
57
+ var c = 6;
58
+ function l(e, t, n = 6) {
59
+ let r = e.slice(0, n), i = e.slice(n);
60
+ return {
61
+ top: r,
62
+ extra: i.find((e) => e.value === t) ?? null,
63
+ more: i
64
+ };
65
+ }
66
+ export { e as GALLERY_PAGE_SIZE, c as TOP_CATEGORY_COUNT, r as clampPage, i as offsetForPage, o as pageItems, a as pageRange, t as parsePageParam, l as splitCategories, n as totalPagesFor, s as withPageParam };
@@ -11,6 +11,10 @@ export { BottomSheet, BottomSheetClose, BottomSheetContent, BottomSheetDescripti
11
11
  export { ResponsiveDialog, ResponsiveDialogClose, ResponsiveDialogContent, ResponsiveDialogDescription, ResponsiveDialogFooter, ResponsiveDialogHeader, ResponsiveDialogTitle, ResponsiveDialogTrigger, type ResponsiveDialogContentProps, } from './responsive-dialog';
12
12
  export { ResponsiveTable, type ResponsiveTableColumn, type ResponsiveTableColumnPriority, type ResponsiveTableProps, } from './responsive-table';
13
13
  export { Pagination, type PaginationProps } from './pagination';
14
+ export { GalleryPager, type GalleryPagerProps } from './gallery-pager';
15
+ export { DEFAULT_GALLERY_PAGER_LABELS, type GalleryPagerLabels } from './gallery-pager-labels';
16
+ export { GALLERY_PAGE_SIZE, TOP_CATEGORY_COUNT, clampPage, offsetForPage, pageItems, pageRange, parsePageParam, splitCategories, totalPagesFor, withPageParam, type CategoryFacet, type CategorySplit, type PageItem, } from './gallery-paging';
17
+ export { GalleryCategoryRail, GalleryChip, GalleryPanel, type GalleryCategoryRailProps, type GalleryChipProps, type GalleryPanelProps, } from './gallery-category-rail';
14
18
  export { Stepper, type StepperProps, type StepperStep } from './stepper';
15
19
  export { ResponsiveStack, type ResponsiveStackProps } from './responsive-stack';
16
20
  export { EmptyState, type EmptyStateProps } from './empty-state';
package/dist/ui.js CHANGED
@@ -11,48 +11,52 @@ import { BottomSheet as h, BottomSheetClose as g, BottomSheetContent as _, Botto
11
11
  import { ResponsiveDialog as C, ResponsiveDialogClose as w, ResponsiveDialogContent as T, ResponsiveDialogDescription as E, ResponsiveDialogFooter as D, ResponsiveDialogHeader as O, ResponsiveDialogTitle as k, ResponsiveDialogTrigger as A } from "./ui/responsive-dialog.js";
12
12
  import { ResponsiveTable as j } from "./ui/responsive-table.js";
13
13
  import { Pagination as M } from "./ui/pagination.js";
14
- import { Stepper as N } from "./ui/stepper.js";
15
- import { ResponsiveStack as P } from "./ui/responsive-stack.js";
16
- import { EmptyState as F } from "./ui/empty-state.js";
17
- import { AlertDialog as I, AlertDialogAction as L, AlertDialogCancel as R, AlertDialogContent as z, AlertDialogDescription as B, AlertDialogFooter as V, AlertDialogHeader as H, AlertDialogOverlay as U, AlertDialogPortal as W, AlertDialogTitle as G, AlertDialogTrigger as K } from "./ui/alert-dialog.js";
18
- import { Badge as q, badgeVariants as J } from "./ui/badge.js";
19
- import { Button as Y, buttonVariants as X } from "./ui/button.js";
20
- import { Card as Z, CardContent as Q, CardDescription as $, CardFooter as ee, CardHeader as te, CardTitle as ne } from "./ui/card.js";
21
- import { Checkbox as re } from "./ui/checkbox.js";
22
- import { Command as ie, CommandDialog as ae, CommandEmpty as oe, CommandGroup as se, CommandInput as ce, CommandItem as le, CommandList as ue, CommandSeparator as de, CommandShortcut as fe } from "./ui/command.js";
23
- import { Dialog as pe, DialogClose as me, DialogContent as he, DialogDescription as ge, DialogFooter as _e, DialogHeader as ve, DialogOverlay as ye, DialogPortal as be, DialogTitle as xe, DialogTrigger as Se } from "./ui/dialog.js";
24
- import { DropdownMenu as Ce, DropdownMenuCheckboxItem as we, DropdownMenuContent as Te, DropdownMenuGroup as Ee, DropdownMenuItem as De, DropdownMenuLabel as Oe, DropdownMenuPortal as ke, DropdownMenuRadioGroup as Ae, DropdownMenuRadioItem as je, DropdownMenuSeparator as Me, DropdownMenuShortcut as Ne, DropdownMenuSub as Pe, DropdownMenuSubContent as Fe, DropdownMenuSubTrigger as Ie, DropdownMenuTrigger as Le } from "./ui/dropdown-menu.js";
25
- import { Input as Re } from "./ui/input.js";
26
- import { Label as ze } from "./ui/label.js";
27
- import { Popover as Be, PopoverAnchor as Ve, PopoverContent as He, PopoverTrigger as Ue } from "./ui/popover.js";
28
- import { ScrollArea as We, ScrollBar as Ge } from "./ui/scroll-area.js";
29
- import { NativeSelect as Ke, Select as qe, SelectContent as Je, SelectGroup as Ye, SelectItem as Xe, SelectLabel as Ze, SelectScrollDownButton as Qe, SelectScrollUpButton as $e, SelectSeparator as et, SelectTrigger as tt, SelectValue as nt } from "./ui/select.js";
30
- import { Separator as rt } from "./ui/separator.js";
31
- import { Sheet as it, SheetClose as at, SheetContent as ot, SheetDescription as st, SheetFooter as ct, SheetHeader as lt, SheetTitle as ut, SheetTrigger as dt } from "./ui/sheet.js";
32
- import { Skeleton as ft } from "./ui/skeleton.js";
33
- import { Toaster as pt } from "./ui/sonner.js";
34
- import { Spinner as mt } from "./ui/spinner.js";
35
- import { Switch as ht } from "./ui/switch.js";
36
- import { Table as gt, TableBody as _t, TableCaption as vt, TableCell as yt, TableFooter as bt, TableHead as xt, TableHeader as St, TableRow as Ct } from "./ui/table.js";
37
- import { Tabs as wt, TabsContent as Tt, TabsList as Et, TabsTrigger as Dt } from "./ui/tabs.js";
38
- import { Textarea as Ot } from "./ui/textarea.js";
39
- import { Tooltip as kt, TooltipContent as At, TooltipProvider as jt, TooltipTrigger as Mt } from "./ui/tooltip.js";
40
- import { PageContainer as Nt } from "./ui/page-container.js";
41
- import { GlassCard as Pt, glassCardVariants as Ft } from "./ui/glass-card.js";
42
- import { EmphasisPanel as It } from "./ui/emphasis-panel.js";
43
- import { IconTile as Lt } from "./ui/icon-tile.js";
44
- import { ShowMore as Rt } from "./ui/show-more.js";
45
- import { CTAOverflowMenu as zt } from "./ui/cta-overflow-menu.js";
46
- import { BrandedSplash as Bt } from "./ui/branded-splash.js";
47
- import { ModernLanding as Vt } from "./ui/modern-landing.js";
48
- import { AuroraBackground as Ht } from "./ui/aurora-background.js";
49
- import { IllustratedEmptyState as Ut, Illustration as Wt } from "./ui/illustration.js";
50
- import { GradientText as Gt } from "./ui/gradient-text.js";
51
- import { NextSteps as Kt, PagePurpose as qt } from "./ui/guidance.js";
52
- import { NativeWelcome as Jt } from "./ui/native-welcome.js";
53
- import { ActionSheet as Yt } from "./ui/action-sheet.js";
54
- import { OfflineBanner as Xt } from "./ui/offline-banner.js";
55
- import { PullToRefresh as Zt } from "./ui/pull-to-refresh.js";
56
- import { PWAUpdateToast as Qt } from "./ui/pwa-update-toast.js";
57
- import { ModalShell as $t } from "./ui/modal-shell.js";
58
- export { f as AccessGate, p as AccessNeededChip, e as Accordion, t as AccordionContent, n as AccordionItem, r as AccordionTrigger, Yt as ActionSheet, I as AlertDialog, L as AlertDialogAction, R as AlertDialogCancel, z as AlertDialogContent, B as AlertDialogDescription, V as AlertDialogFooter, H as AlertDialogHeader, U as AlertDialogOverlay, W as AlertDialogPortal, G as AlertDialogTitle, K as AlertDialogTrigger, Ht as AuroraBackground, q as Badge, h as BottomSheet, g as BottomSheetClose, _ as BottomSheetContent, v as BottomSheetDescription, y as BottomSheetFooter, b as BottomSheetHeader, x as BottomSheetTitle, S as BottomSheetTrigger, Bt as BrandedSplash, Y as Button, zt as CTAOverflowMenu, Z as Card, Q as CardContent, $ as CardDescription, ee as CardFooter, te as CardHeader, ne as CardTitle, re as Checkbox, ie as Command, ae as CommandDialog, oe as CommandEmpty, se as CommandGroup, ce as CommandInput, le as CommandItem, ue as CommandList, de as CommandSeparator, fe as CommandShortcut, pe as Dialog, me as DialogClose, he as DialogContent, ge as DialogDescription, _e as DialogFooter, ve as DialogHeader, ye as DialogOverlay, be as DialogPortal, xe as DialogTitle, Se as DialogTrigger, Ce as DropdownMenu, we as DropdownMenuCheckboxItem, Te as DropdownMenuContent, Ee as DropdownMenuGroup, De as DropdownMenuItem, Oe as DropdownMenuLabel, ke as DropdownMenuPortal, Ae as DropdownMenuRadioGroup, je as DropdownMenuRadioItem, Me as DropdownMenuSeparator, Ne as DropdownMenuShortcut, Pe as DropdownMenuSub, Fe as DropdownMenuSubContent, Ie as DropdownMenuSubTrigger, Le as DropdownMenuTrigger, It as EmphasisPanel, F as EmptyState, i as EntityIdModal, Pt as GlassCard, Gt as GradientText, Lt as IconTile, Ut as IllustratedEmptyState, Wt as Illustration, Re as Input, ze as Label, $t as ModalShell, Vt as ModernLanding, Ke as NativeSelect, Jt as NativeWelcome, Kt as NextSteps, Xt as OfflineBanner, o as OptionalFields, Qt as PWAUpdateToast, Nt as PageContainer, qt as PagePurpose, l as PageTabs, M as Pagination, Be as Popover, Ve as PopoverAnchor, He as PopoverContent, Ue as PopoverTrigger, Zt as PullToRefresh, C as ResponsiveDialog, w as ResponsiveDialogClose, T as ResponsiveDialogContent, E as ResponsiveDialogDescription, D as ResponsiveDialogFooter, O as ResponsiveDialogHeader, k as ResponsiveDialogTitle, A as ResponsiveDialogTrigger, P as ResponsiveStack, j as ResponsiveTable, We as ScrollArea, Ge as ScrollBar, qe as Select, Je as SelectContent, Ye as SelectGroup, Xe as SelectItem, Ze as SelectLabel, Qe as SelectScrollDownButton, $e as SelectScrollUpButton, et as SelectSeparator, tt as SelectTrigger, nt as SelectValue, rt as Separator, it as Sheet, at as SheetClose, ot as SheetContent, st as SheetDescription, ct as SheetFooter, lt as SheetHeader, ut as SheetTitle, dt as SheetTrigger, Rt as ShowMore, c as ShowTechnicalDetails, ft as Skeleton, mt as Spinner, N as Stepper, ht as Switch, gt as Table, _t as TableBody, vt as TableCaption, yt as TableCell, bt as TableFooter, xt as TableHead, St as TableHeader, Ct as TableRow, wt as Tabs, Tt as TabsContent, Et as TabsList, Dt as TabsTrigger, Ot as Textarea, pt as Toaster, kt as Tooltip, At as TooltipContent, jt as TooltipProvider, Mt as TooltipTrigger, J as badgeVariants, X as buttonVariants, Ft as glassCardVariants, u as matchActiveTab, d as splitTabs, a as useEntityIdModal, m as useHeadingDocumentTitle, s as useRememberedOpen };
14
+ import { GalleryPager as N } from "./ui/gallery-pager.js";
15
+ import { DEFAULT_GALLERY_PAGER_LABELS as P } from "./ui/gallery-pager-labels.js";
16
+ import { GALLERY_PAGE_SIZE as F, TOP_CATEGORY_COUNT as I, clampPage as L, offsetForPage as R, pageItems as z, pageRange as B, parsePageParam as V, splitCategories as H, totalPagesFor as U, withPageParam as W } from "./ui/gallery-paging.js";
17
+ import { GalleryCategoryRail as G, GalleryChip as K, GalleryPanel as q } from "./ui/gallery-category-rail.js";
18
+ import { Stepper as J } from "./ui/stepper.js";
19
+ import { ResponsiveStack as Y } from "./ui/responsive-stack.js";
20
+ import { EmptyState as X } from "./ui/empty-state.js";
21
+ import { AlertDialog as Z, AlertDialogAction as Q, AlertDialogCancel as $, AlertDialogContent as ee, AlertDialogDescription as te, AlertDialogFooter as ne, AlertDialogHeader as re, AlertDialogOverlay as ie, AlertDialogPortal as ae, AlertDialogTitle as oe, AlertDialogTrigger as se } from "./ui/alert-dialog.js";
22
+ import { Badge as ce, badgeVariants as le } from "./ui/badge.js";
23
+ import { Button as ue, buttonVariants as de } from "./ui/button.js";
24
+ import { Card as fe, CardContent as pe, CardDescription as me, CardFooter as he, CardHeader as ge, CardTitle as _e } from "./ui/card.js";
25
+ import { Checkbox as ve } from "./ui/checkbox.js";
26
+ import { Command as ye, CommandDialog as be, CommandEmpty as xe, CommandGroup as Se, CommandInput as Ce, CommandItem as we, CommandList as Te, CommandSeparator as Ee, CommandShortcut as De } from "./ui/command.js";
27
+ import { Dialog as Oe, DialogClose as ke, DialogContent as Ae, DialogDescription as je, DialogFooter as Me, DialogHeader as Ne, DialogOverlay as Pe, DialogPortal as Fe, DialogTitle as Ie, DialogTrigger as Le } from "./ui/dialog.js";
28
+ import { DropdownMenu as Re, DropdownMenuCheckboxItem as ze, DropdownMenuContent as Be, DropdownMenuGroup as Ve, DropdownMenuItem as He, DropdownMenuLabel as Ue, DropdownMenuPortal as We, DropdownMenuRadioGroup as Ge, DropdownMenuRadioItem as Ke, DropdownMenuSeparator as qe, DropdownMenuShortcut as Je, DropdownMenuSub as Ye, DropdownMenuSubContent as Xe, DropdownMenuSubTrigger as Ze, DropdownMenuTrigger as Qe } from "./ui/dropdown-menu.js";
29
+ import { Input as $e } from "./ui/input.js";
30
+ import { Label as et } from "./ui/label.js";
31
+ import { Popover as tt, PopoverAnchor as nt, PopoverContent as rt, PopoverTrigger as it } from "./ui/popover.js";
32
+ import { ScrollArea as at, ScrollBar as ot } from "./ui/scroll-area.js";
33
+ import { NativeSelect as st, Select as ct, SelectContent as lt, SelectGroup as ut, SelectItem as dt, SelectLabel as ft, SelectScrollDownButton as pt, SelectScrollUpButton as mt, SelectSeparator as ht, SelectTrigger as gt, SelectValue as _t } from "./ui/select.js";
34
+ import { Separator as vt } from "./ui/separator.js";
35
+ import { Sheet as yt, SheetClose as bt, SheetContent as xt, SheetDescription as St, SheetFooter as Ct, SheetHeader as wt, SheetTitle as Tt, SheetTrigger as Et } from "./ui/sheet.js";
36
+ import { Skeleton as Dt } from "./ui/skeleton.js";
37
+ import { Toaster as Ot } from "./ui/sonner.js";
38
+ import { Spinner as kt } from "./ui/spinner.js";
39
+ import { Switch as At } from "./ui/switch.js";
40
+ import { Table as jt, TableBody as Mt, TableCaption as Nt, TableCell as Pt, TableFooter as Ft, TableHead as It, TableHeader as Lt, TableRow as Rt } from "./ui/table.js";
41
+ import { Tabs as zt, TabsContent as Bt, TabsList as Vt, TabsTrigger as Ht } from "./ui/tabs.js";
42
+ import { Textarea as Ut } from "./ui/textarea.js";
43
+ import { Tooltip as Wt, TooltipContent as Gt, TooltipProvider as Kt, TooltipTrigger as qt } from "./ui/tooltip.js";
44
+ import { PageContainer as Jt } from "./ui/page-container.js";
45
+ import { GlassCard as Yt, glassCardVariants as Xt } from "./ui/glass-card.js";
46
+ import { EmphasisPanel as Zt } from "./ui/emphasis-panel.js";
47
+ import { IconTile as Qt } from "./ui/icon-tile.js";
48
+ import { ShowMore as $t } from "./ui/show-more.js";
49
+ import { CTAOverflowMenu as en } from "./ui/cta-overflow-menu.js";
50
+ import { BrandedSplash as tn } from "./ui/branded-splash.js";
51
+ import { ModernLanding as nn } from "./ui/modern-landing.js";
52
+ import { AuroraBackground as rn } from "./ui/aurora-background.js";
53
+ import { IllustratedEmptyState as an, Illustration as on } from "./ui/illustration.js";
54
+ import { GradientText as sn } from "./ui/gradient-text.js";
55
+ import { NextSteps as cn, PagePurpose as ln } from "./ui/guidance.js";
56
+ import { NativeWelcome as un } from "./ui/native-welcome.js";
57
+ import { ActionSheet as dn } from "./ui/action-sheet.js";
58
+ import { OfflineBanner as fn } from "./ui/offline-banner.js";
59
+ import { PullToRefresh as pn } from "./ui/pull-to-refresh.js";
60
+ import { PWAUpdateToast as mn } from "./ui/pwa-update-toast.js";
61
+ import { ModalShell as hn } from "./ui/modal-shell.js";
62
+ export { f as AccessGate, p as AccessNeededChip, e as Accordion, t as AccordionContent, n as AccordionItem, r as AccordionTrigger, dn as ActionSheet, Z as AlertDialog, Q as AlertDialogAction, $ as AlertDialogCancel, ee as AlertDialogContent, te as AlertDialogDescription, ne as AlertDialogFooter, re as AlertDialogHeader, ie as AlertDialogOverlay, ae as AlertDialogPortal, oe as AlertDialogTitle, se as AlertDialogTrigger, rn as AuroraBackground, ce as Badge, h as BottomSheet, g as BottomSheetClose, _ as BottomSheetContent, v as BottomSheetDescription, y as BottomSheetFooter, b as BottomSheetHeader, x as BottomSheetTitle, S as BottomSheetTrigger, tn as BrandedSplash, ue as Button, en as CTAOverflowMenu, fe as Card, pe as CardContent, me as CardDescription, he as CardFooter, ge as CardHeader, _e as CardTitle, ve as Checkbox, ye as Command, be as CommandDialog, xe as CommandEmpty, Se as CommandGroup, Ce as CommandInput, we as CommandItem, Te as CommandList, Ee as CommandSeparator, De as CommandShortcut, P as DEFAULT_GALLERY_PAGER_LABELS, Oe as Dialog, ke as DialogClose, Ae as DialogContent, je as DialogDescription, Me as DialogFooter, Ne as DialogHeader, Pe as DialogOverlay, Fe as DialogPortal, Ie as DialogTitle, Le as DialogTrigger, Re as DropdownMenu, ze as DropdownMenuCheckboxItem, Be as DropdownMenuContent, Ve as DropdownMenuGroup, He as DropdownMenuItem, Ue as DropdownMenuLabel, We as DropdownMenuPortal, Ge as DropdownMenuRadioGroup, Ke as DropdownMenuRadioItem, qe as DropdownMenuSeparator, Je as DropdownMenuShortcut, Ye as DropdownMenuSub, Xe as DropdownMenuSubContent, Ze as DropdownMenuSubTrigger, Qe as DropdownMenuTrigger, Zt as EmphasisPanel, X as EmptyState, i as EntityIdModal, F as GALLERY_PAGE_SIZE, G as GalleryCategoryRail, K as GalleryChip, N as GalleryPager, q as GalleryPanel, Yt as GlassCard, sn as GradientText, Qt as IconTile, an as IllustratedEmptyState, on as Illustration, $e as Input, et as Label, hn as ModalShell, nn as ModernLanding, st as NativeSelect, un as NativeWelcome, cn as NextSteps, fn as OfflineBanner, o as OptionalFields, mn as PWAUpdateToast, Jt as PageContainer, ln as PagePurpose, l as PageTabs, M as Pagination, tt as Popover, nt as PopoverAnchor, rt as PopoverContent, it as PopoverTrigger, pn as PullToRefresh, C as ResponsiveDialog, w as ResponsiveDialogClose, T as ResponsiveDialogContent, E as ResponsiveDialogDescription, D as ResponsiveDialogFooter, O as ResponsiveDialogHeader, k as ResponsiveDialogTitle, A as ResponsiveDialogTrigger, Y as ResponsiveStack, j as ResponsiveTable, at as ScrollArea, ot as ScrollBar, ct as Select, lt as SelectContent, ut as SelectGroup, dt as SelectItem, ft as SelectLabel, pt as SelectScrollDownButton, mt as SelectScrollUpButton, ht as SelectSeparator, gt as SelectTrigger, _t as SelectValue, vt as Separator, yt as Sheet, bt as SheetClose, xt as SheetContent, St as SheetDescription, Ct as SheetFooter, wt as SheetHeader, Tt as SheetTitle, Et as SheetTrigger, $t as ShowMore, c as ShowTechnicalDetails, Dt as Skeleton, kt as Spinner, J as Stepper, At as Switch, I as TOP_CATEGORY_COUNT, jt as Table, Mt as TableBody, Nt as TableCaption, Pt as TableCell, Ft as TableFooter, It as TableHead, Lt as TableHeader, Rt as TableRow, zt as Tabs, Bt as TabsContent, Vt as TabsList, Ht as TabsTrigger, Ut as Textarea, Ot as Toaster, Wt as Tooltip, Gt as TooltipContent, Kt as TooltipProvider, qt as TooltipTrigger, le as badgeVariants, de as buttonVariants, L as clampPage, Xt as glassCardVariants, u as matchActiveTab, R as offsetForPage, z as pageItems, B as pageRange, V as parsePageParam, H as splitCategories, d as splitTabs, U as totalPagesFor, a as useEntityIdModal, m as useHeadingDocumentTitle, s as useRememberedOpen, W as withPageParam };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fe-libs",
3
- "version": "2026.1118.9",
3
+ "version": "2026.1118.10",
4
4
  "description": "Burdenoff frontend primitives and domain libraries",
5
5
  "repository": {
6
6
  "type": "git",