tembro 2.1.8 → 2.1.9
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/components/form/form-date-range-input.cjs +1 -1
- package/dist/components/form/form-date-range-input.d.ts +1 -1
- package/dist/components/form/form-date-range-input.js +1 -1
- package/dist/components/form/form-input.cjs +1 -1
- package/dist/components/form/form-input.d.ts +7 -7
- package/dist/components/form/form-input.js +11 -11
- package/dist/components/inputs/index.cjs +1 -1
- package/dist/components/inputs/index.d.ts +0 -14
- package/dist/components/inputs/index.js +9 -23
- package/dist/components/inputs/public.cjs +1 -1
- package/dist/components/inputs/public.d.ts +0 -14
- package/dist/components/inputs/public.js +9 -23
- package/dist/components/ui/input/chrome.cjs +1 -0
- package/dist/components/{inputs/input-chrome.js → ui/input/chrome.js} +2 -2
- package/dist/components/ui/input/clearable.cjs +1 -0
- package/dist/components/{inputs/clearable-input.d.ts → ui/input/clearable.d.ts} +1 -1
- package/dist/components/{inputs/clearable-input.js → ui/input/clearable.js} +4 -4
- package/dist/components/{inputs/date-range-input.cjs → ui/input/date-range.cjs} +1 -1
- package/dist/components/{inputs/date-range-input.d.ts → ui/input/date-range.d.ts} +1 -1
- package/dist/components/{inputs/date-range-input.js → ui/input/date-range.js} +3 -3
- package/dist/components/ui/input/date.cjs +1 -0
- package/dist/components/{inputs/date-input.d.ts → ui/input/date.d.ts} +1 -1
- package/dist/components/{inputs/date-input.js → ui/input/date.js} +3 -3
- package/dist/components/ui/input/decorator.cjs +1 -0
- package/dist/components/{inputs/input-decorator.js → ui/input/decorator.js} +3 -3
- package/dist/components/ui/input/index.cjs +1 -1
- package/dist/components/ui/input/index.d.ts +10 -10
- package/dist/components/ui/input/index.js +13 -13
- package/dist/components/ui/input/masked.cjs +1 -0
- package/dist/components/{inputs/masked-input.d.ts → ui/input/masked.d.ts} +1 -1
- package/dist/components/{inputs/masked-input.js → ui/input/masked.js} +3 -3
- package/dist/components/ui/input/money.cjs +1 -0
- package/dist/components/{inputs/money-input.js → ui/input/money.js} +5 -5
- package/dist/components/ui/input/number.cjs +1 -0
- package/dist/components/{inputs/number-input.d.ts → ui/input/number.d.ts} +1 -1
- package/dist/components/{inputs/number-input.js → ui/input/number.js} +3 -3
- package/dist/components/{inputs → ui/input}/numeric-value.js +1 -1
- package/dist/components/ui/input/password.cjs +1 -0
- package/dist/components/{inputs/password-input.d.ts → ui/input/password.d.ts} +1 -1
- package/dist/components/{inputs/password-input.js → ui/input/password.js} +2 -2
- package/dist/components/ui/input/phone.cjs +1 -0
- package/dist/components/{inputs/phone-input.d.ts → ui/input/phone.d.ts} +1 -1
- package/dist/components/{inputs/phone-input.js → ui/input/phone.js} +2 -2
- package/dist/components/ui/input/quantity.cjs +1 -0
- package/dist/components/{inputs/quantity-input.js → ui/input/quantity.js} +6 -6
- package/dist/components/ui/input/search.cjs +1 -0
- package/dist/components/{inputs/search-input.d.ts → ui/input/search.d.ts} +1 -1
- package/dist/components/{inputs/search-input.js → ui/input/search.js} +2 -2
- package/dist/components/{inputs/input-value.js → ui/input/value.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +124 -138
- package/dist/public-component-surface.cjs +1 -1
- package/dist/public-component-surface.js +0 -5
- package/dist/showcase/fallback.cjs +3 -3
- package/dist/showcase/fallback.js +119 -118
- package/dist/showcase/premium/combobox/mock.cjs +4 -3
- package/dist/showcase/premium/combobox/mock.js +2 -2
- package/dist/showcase/premium/combobox/showcase.cjs +1 -1
- package/dist/showcase/premium/combobox/showcase.js +2 -2
- package/dist/showcase/premium/date-input/mock.cjs +4 -3
- package/dist/showcase/premium/date-input/mock.js +2 -2
- package/dist/showcase/premium/date-input/showcase.cjs +1 -1
- package/dist/showcase/premium/date-input/showcase.js +2 -1
- package/dist/showcase/premium/date-range-input/mock.cjs +4 -3
- package/dist/showcase/premium/date-range-input/mock.js +2 -2
- package/dist/showcase/premium/date-range-input/showcase.cjs +1 -1
- package/dist/showcase/premium/date-range-input/showcase.js +2 -1
- package/dist/showcase/premium/masked-input/mock.cjs +4 -3
- package/dist/showcase/premium/masked-input/mock.js +2 -2
- package/dist/showcase/premium/masked-input/showcase.cjs +1 -1
- package/dist/showcase/premium/masked-input/showcase.js +2 -1
- package/dist/showcase/premium/money-input/mock.cjs +4 -3
- package/dist/showcase/premium/money-input/mock.js +2 -2
- package/dist/showcase/premium/money-input/showcase.cjs +1 -1
- package/dist/showcase/premium/money-input/showcase.js +2 -1
- package/dist/showcase/premium/number-input/mock.cjs +5 -7
- package/dist/showcase/premium/number-input/mock.js +2 -2
- package/dist/showcase/premium/number-input/showcase.cjs +1 -1
- package/dist/showcase/premium/number-input/showcase.js +2 -1
- package/dist/showcase/premium/password-input/mock.cjs +3 -2
- package/dist/showcase/premium/password-input/mock.js +1 -1
- package/dist/showcase/premium/password-input/showcase.cjs +1 -1
- package/dist/showcase/premium/password-input/showcase.js +2 -1
- package/dist/showcase/premium/phone-input/mock.cjs +5 -4
- package/dist/showcase/premium/phone-input/mock.js +2 -2
- package/dist/showcase/premium/phone-input/showcase.cjs +1 -1
- package/dist/showcase/premium/phone-input/showcase.js +2 -1
- package/dist/showcase/premium/quantity-input/mock.cjs +4 -3
- package/dist/showcase/premium/quantity-input/mock.js +2 -2
- package/dist/showcase/premium/quantity-input/showcase.cjs +1 -1
- package/dist/showcase/premium/quantity-input/showcase.js +2 -1
- package/dist/showcase/premium/search-input/mock.cjs +3 -2
- package/dist/showcase/premium/search-input/mock.js +1 -1
- package/dist/showcase/premium/search-input/showcase.cjs +1 -1
- package/dist/showcase/premium/search-input/showcase.js +2 -1
- package/dist/showcase/premium/simple-select/mock.cjs +3 -3
- package/dist/showcase/premium/simple-select/mock.js +2 -2
- package/dist/showcase/premium/simple-select/showcase.cjs +1 -1
- package/dist/showcase/premium/simple-select/showcase.js +1 -1
- package/dist/showcase/registry-specific.cjs +1 -1
- package/dist/showcase/registry-specific.js +92 -92
- package/dist/showcase/render-registry-preview.cjs +1 -1
- package/dist/showcase/render-registry-preview.js +214 -215
- package/dist/showcase/tembro-registry.json.cjs +1 -1
- package/dist/showcase/tembro-registry.json.js +2 -3
- package/package.json +1 -1
- package/packages/cli/dist/index.cjs +18 -18
- package/packages/cli/vendor/src/components/form/form-date-range-input.tsx +5 -5
- package/packages/cli/vendor/src/components/form/form-input.tsx +7 -7
- package/packages/cli/vendor/src/components/inputs/index.ts +0 -14
- package/packages/cli/vendor/src/components/inputs/public.ts +0 -19
- package/packages/cli/vendor/src/components/{inputs/clearable-input.tsx → ui/input/clearable.tsx} +2 -2
- package/packages/cli/vendor/src/components/{inputs/date-range-input.tsx → ui/input/date-range.tsx} +1 -1
- package/packages/cli/vendor/src/components/{inputs/date-input.tsx → ui/input/date.tsx} +2 -2
- package/packages/cli/vendor/src/components/ui/input/index.tsx +11 -11
- package/packages/cli/vendor/src/components/{inputs/masked-input.tsx → ui/input/masked.tsx} +2 -2
- package/packages/cli/vendor/src/components/{inputs/money-input.tsx → ui/input/money.tsx} +3 -3
- package/packages/cli/vendor/src/components/{inputs/number-input.tsx → ui/input/number.tsx} +3 -3
- package/packages/cli/vendor/src/components/{inputs/password-input.tsx → ui/input/password.tsx} +1 -1
- package/packages/cli/vendor/src/components/{inputs/phone-input.tsx → ui/input/phone.tsx} +1 -1
- package/packages/cli/vendor/src/components/{inputs/quantity-input.tsx → ui/input/quantity.tsx} +3 -3
- package/packages/cli/vendor/src/components/{inputs/search-input.tsx → ui/input/search.tsx} +1 -1
- package/packages/cli/vendor/src/public-component-surface.ts +0 -1
- package/packages/cli/vendor/src/showcase/fallback.tsx +4 -6
- package/packages/cli/vendor/src/showcase/premium/combobox/mock.ts +4 -3
- package/packages/cli/vendor/src/showcase/premium/combobox/showcase.tsx +3 -3
- package/packages/cli/vendor/src/showcase/premium/date-input/mock.ts +4 -3
- package/packages/cli/vendor/src/showcase/premium/date-input/showcase.tsx +3 -2
- package/packages/cli/vendor/src/showcase/premium/date-range-input/mock.ts +4 -3
- package/packages/cli/vendor/src/showcase/premium/date-range-input/showcase.tsx +3 -2
- package/packages/cli/vendor/src/showcase/premium/masked-input/mock.ts +4 -3
- package/packages/cli/vendor/src/showcase/premium/masked-input/showcase.tsx +3 -2
- package/packages/cli/vendor/src/showcase/premium/money-input/mock.ts +4 -3
- package/packages/cli/vendor/src/showcase/premium/money-input/showcase.tsx +3 -2
- package/packages/cli/vendor/src/showcase/premium/number-input/mock.ts +5 -7
- package/packages/cli/vendor/src/showcase/premium/number-input/showcase.tsx +2 -2
- package/packages/cli/vendor/src/showcase/premium/password-input/mock.ts +3 -2
- package/packages/cli/vendor/src/showcase/premium/password-input/showcase.tsx +3 -2
- package/packages/cli/vendor/src/showcase/premium/phone-input/mock.ts +5 -4
- package/packages/cli/vendor/src/showcase/premium/phone-input/showcase.tsx +4 -3
- package/packages/cli/vendor/src/showcase/premium/quantity-input/mock.ts +4 -3
- package/packages/cli/vendor/src/showcase/premium/quantity-input/showcase.tsx +3 -2
- package/packages/cli/vendor/src/showcase/premium/search-input/mock.ts +3 -2
- package/packages/cli/vendor/src/showcase/premium/search-input/showcase.tsx +3 -2
- package/packages/cli/vendor/src/showcase/premium/simple-select/mock.ts +3 -3
- package/packages/cli/vendor/src/showcase/premium/simple-select/showcase.tsx +3 -3
- package/packages/cli/vendor/src/showcase/registry-specific.tsx +1 -2
- package/packages/cli/vendor/src/showcase/render-registry-preview.tsx +2 -4
- package/packages/cli/vendor/src/showcase/tembro-registry.json +1 -3
- package/registry.json +1 -3
- package/dist/components/inputs/clearable-input.cjs +0 -1
- package/dist/components/inputs/color-input.cjs +0 -1
- package/dist/components/inputs/color-input.d.ts +0 -11
- package/dist/components/inputs/color-input.js +0 -42
- package/dist/components/inputs/combobox.cjs +0 -1
- package/dist/components/inputs/combobox.d.ts +0 -29
- package/dist/components/inputs/combobox.js +0 -113
- package/dist/components/inputs/date-input.cjs +0 -1
- package/dist/components/inputs/input-chrome.cjs +0 -1
- package/dist/components/inputs/input-decorator.cjs +0 -1
- package/dist/components/inputs/masked-input.cjs +0 -1
- package/dist/components/inputs/money-input.cjs +0 -1
- package/dist/components/inputs/number-input.cjs +0 -1
- package/dist/components/inputs/password-input.cjs +0 -1
- package/dist/components/inputs/phone-input.cjs +0 -1
- package/dist/components/inputs/quantity-input.cjs +0 -1
- package/dist/components/inputs/quantity-stepper.cjs +0 -1
- package/dist/components/inputs/quantity-stepper.d.ts +0 -12
- package/dist/components/inputs/quantity-stepper.js +0 -52
- package/dist/components/inputs/search-input.cjs +0 -1
- package/dist/components/inputs/simple-select.cjs +0 -1
- package/dist/components/inputs/simple-select.d.ts +0 -13
- package/dist/components/inputs/simple-select.js +0 -8
- package/packages/cli/vendor/src/components/inputs/color-input.tsx +0 -49
- package/packages/cli/vendor/src/components/inputs/combobox.tsx +0 -180
- package/packages/cli/vendor/src/components/inputs/quantity-stepper.tsx +0 -51
- package/packages/cli/vendor/src/components/inputs/simple-select.tsx +0 -23
- /package/dist/components/{inputs/input-chrome.d.ts → ui/input/chrome.d.ts} +0 -0
- /package/dist/components/{inputs/input-decorator.d.ts → ui/input/decorator.d.ts} +0 -0
- /package/dist/components/{inputs/money-input.d.ts → ui/input/money.d.ts} +0 -0
- /package/dist/components/{inputs → ui/input}/numeric-value.cjs +0 -0
- /package/dist/components/{inputs → ui/input}/numeric-value.d.ts +0 -0
- /package/dist/components/{inputs/quantity-input.d.ts → ui/input/quantity.d.ts} +0 -0
- /package/dist/components/{inputs/input-value.cjs → ui/input/value.cjs} +0 -0
- /package/dist/components/{inputs/input-value.d.ts → ui/input/value.d.ts} +0 -0
- /package/packages/cli/vendor/src/components/{inputs/input-chrome.tsx → ui/input/chrome.tsx} +0 -0
- /package/packages/cli/vendor/src/components/{inputs/input-decorator.tsx → ui/input/decorator.tsx} +0 -0
- /package/packages/cli/vendor/src/components/{inputs → ui/input}/numeric-value.ts +0 -0
- /package/packages/cli/vendor/src/components/{inputs/input-value.ts → ui/input/value.ts} +0 -0
|
@@ -1,152 +1,151 @@
|
|
|
1
1
|
import { Button as e } from "../components/ui/button/index.js";
|
|
2
2
|
import { ActionMenu as t } from "../components/actions/action-menu.js";
|
|
3
3
|
import { ButtonGroup as n } from "../components/actions/button-group.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { PageTabs as ee } from "../components/navigation/page-tabs.js";
|
|
4
|
+
import { Input as r } from "../components/ui/input/index.js";
|
|
5
|
+
import { Badge as i } from "../components/ui/badge/index.js";
|
|
6
|
+
import { QuickActionGrid as a } from "../components/actions/quick-action-grid.js";
|
|
7
|
+
import { SectionHeader as o } from "../components/layout/section-header.js";
|
|
8
|
+
import { NavTabs as s } from "../components/navigation/nav-tabs.js";
|
|
9
|
+
import { PageTabs as c } from "../components/navigation/page-tabs.js";
|
|
11
10
|
import { Pagination as l } from "../components/navigation/pagination.js";
|
|
12
|
-
import { StepperTabs as
|
|
13
|
-
import { FilterBar as
|
|
14
|
-
import { AlertDialog as
|
|
15
|
-
import { DialogActionButton as
|
|
16
|
-
import { Drawer as
|
|
17
|
-
import { ColorInput as h } from "../components/inputs/color-input.js";
|
|
11
|
+
import { StepperTabs as u } from "../components/navigation/stepper-tabs.js";
|
|
12
|
+
import { FilterBar as d } from "../components/filters/filter-bar.js";
|
|
13
|
+
import { AlertDialog as f } from "../components/overlay/alert-dialog.js";
|
|
14
|
+
import { DialogActionButton as p, DialogActions as m } from "../components/overlay/dialog-actions.js";
|
|
15
|
+
import { Drawer as h } from "../components/overlay/drawer.js";
|
|
18
16
|
import { OtpInput as g } from "../components/inputs/otp-input.js";
|
|
19
17
|
import { Rating as _ } from "../components/inputs/rating.js";
|
|
20
|
-
import { RangeSlider as v, Slider as
|
|
21
|
-
import { TagInput as
|
|
22
|
-
import { Alert as
|
|
23
|
-
import { PageState as
|
|
18
|
+
import { RangeSlider as v, Slider as ee } from "../components/inputs/slider.js";
|
|
19
|
+
import { TagInput as y } from "../components/inputs/tag-input.js";
|
|
20
|
+
import { Alert as b } from "../components/feedback/alert.js";
|
|
21
|
+
import { PageState as x } from "../components/feedback/page-state.js";
|
|
24
22
|
import { DescriptionList as S } from "../components/display/description-list.js";
|
|
25
23
|
import { List as C } from "../components/display/list.js";
|
|
26
|
-
import { Progress as
|
|
27
|
-
import { ProgressCircle as
|
|
28
|
-
import { StatusDot as
|
|
29
|
-
import { StatusLegend as
|
|
30
|
-
import { Timeline as
|
|
31
|
-
import { UserCard as
|
|
32
|
-
import { StatCard as
|
|
33
|
-
import { CommandPalette as
|
|
34
|
-
import { Calendar as
|
|
35
|
-
import { FileUpload as
|
|
36
|
-
import { FileDropzone as
|
|
37
|
-
import { Stepper as
|
|
38
|
-
import { Wizard as
|
|
39
|
-
import { AppHeader as
|
|
40
|
-
import { ResourceDetailPage as
|
|
41
|
-
import { ResourcePage as
|
|
24
|
+
import { Progress as te } from "../components/display/progress.js";
|
|
25
|
+
import { ProgressCircle as ne } from "../components/display/progress-circle.js";
|
|
26
|
+
import { StatusDot as w } from "../components/display/status-dot.js";
|
|
27
|
+
import { StatusLegend as T } from "../components/display/status-legend.js";
|
|
28
|
+
import { Timeline as E } from "../components/display/timeline.js";
|
|
29
|
+
import { UserCard as D } from "../components/display/user-card.js";
|
|
30
|
+
import { StatCard as O } from "../components/layout/stat-card.js";
|
|
31
|
+
import { CommandPalette as k } from "../components/command/command-palette.js";
|
|
32
|
+
import { Calendar as A } from "../components/calendar/calendar.js";
|
|
33
|
+
import { FileUpload as j } from "../components/upload/file-upload.js";
|
|
34
|
+
import { FileDropzone as M } from "../components/upload/file-dropzone.js";
|
|
35
|
+
import { Stepper as N } from "../components/wizard/stepper.js";
|
|
36
|
+
import { Wizard as P } from "../components/wizard/wizard.js";
|
|
37
|
+
import { AppHeader as F } from "../components/layout/app-header.js";
|
|
38
|
+
import { ResourceDetailPage as I } from "../components/patterns/resource-detail-page.js";
|
|
39
|
+
import { ResourcePage as L, ResourcePageSection as R } from "../components/patterns/resource-page.js";
|
|
42
40
|
import "react";
|
|
43
|
-
import { ArchiveIcon as
|
|
44
|
-
import { Fragment as
|
|
41
|
+
import { ArchiveIcon as z, BellIcon as B, ChevronRightIcon as V, DownloadIcon as H, FilterIcon as U, LayoutDashboardIcon as W, MoreHorizontalIcon as G, SearchIcon as K, UploadCloudIcon as q } from "lucide-react";
|
|
42
|
+
import { Fragment as J, jsx as Y, jsxs as X } from "react/jsx-runtime";
|
|
45
43
|
//#region src/showcase/render-registry-preview.tsx
|
|
46
|
-
function
|
|
47
|
-
return e.kind === "inputs" ? /* @__PURE__ */
|
|
44
|
+
function Z(e, t, n) {
|
|
45
|
+
return e.kind === "inputs" ? /* @__PURE__ */ Y(re, {
|
|
48
46
|
slug: e.slug,
|
|
49
47
|
state: t,
|
|
50
48
|
setState: n
|
|
51
|
-
}) : e.kind === "form" ? /* @__PURE__ */
|
|
49
|
+
}) : e.kind === "form" ? /* @__PURE__ */ Y(ie, {
|
|
52
50
|
state: t,
|
|
53
51
|
setState: n
|
|
54
|
-
}) : e.kind === "overlay" ? /* @__PURE__ */
|
|
52
|
+
}) : e.kind === "overlay" ? /* @__PURE__ */ Y(ae, { slug: e.slug }) : e.kind === "navigation" ? /* @__PURE__ */ Y(oe, { slug: e.slug }) : e.kind === "feedback" ? /* @__PURE__ */ Y($, { slug: e.slug }) : e.kind === "display" ? /* @__PURE__ */ Y(se, { slug: e.slug }) : e.kind === "actions" ? /* @__PURE__ */ Y(ce, {
|
|
55
53
|
slug: e.slug,
|
|
56
54
|
state: t,
|
|
57
55
|
setState: n
|
|
58
|
-
}) : e.kind === "layout" ? /* @__PURE__ */
|
|
56
|
+
}) : e.kind === "layout" ? /* @__PURE__ */ Y(le, { slug: e.slug }) : e.kind === "data-table" ? /* @__PURE__ */ Y(ue, { slug: e.slug }) : e.kind === "calendar" ? /* @__PURE__ */ Y(de, {}) : e.kind === "upload" ? /* @__PURE__ */ Y(fe, { slug: e.slug }) : e.kind === "wizard" ? /* @__PURE__ */ Y(pe, { slug: e.slug }) : e.kind === "patterns" ? /* @__PURE__ */ Y(me, { slug: e.slug }) : null;
|
|
59
57
|
}
|
|
60
58
|
function Q({ tone: e, children: t }) {
|
|
61
|
-
return /* @__PURE__ */
|
|
59
|
+
return /* @__PURE__ */ Y(i, {
|
|
62
60
|
variant: e === "danger" ? "destructive" : e === "warning" ? "outline" : "secondary",
|
|
63
61
|
children: t
|
|
64
62
|
});
|
|
65
63
|
}
|
|
66
|
-
function
|
|
67
|
-
let
|
|
68
|
-
return e === "search-input" ? /* @__PURE__ */
|
|
64
|
+
function re({ slug: e, state: t, setState: n }) {
|
|
65
|
+
let i = t.textValue, a = (e) => n({ textValue: e });
|
|
66
|
+
return e === "search-input" ? /* @__PURE__ */ Y(r, {
|
|
69
67
|
type: "search",
|
|
70
|
-
value:
|
|
71
|
-
onValueChange:
|
|
68
|
+
value: i,
|
|
69
|
+
onValueChange: a,
|
|
72
70
|
resultCount: 12,
|
|
73
71
|
shortcut: "Ctrl K",
|
|
74
72
|
placeholder: "Search customers..."
|
|
75
|
-
}) : e === "password-input" ? /* @__PURE__ */
|
|
73
|
+
}) : e === "password-input" ? /* @__PURE__ */ Y(r, {
|
|
74
|
+
kind: "password",
|
|
76
75
|
value: "secret-token",
|
|
77
|
-
onValueChange:
|
|
76
|
+
onValueChange: a,
|
|
78
77
|
placeholder: "Password"
|
|
79
|
-
}) : e === "clearable-input" ? /* @__PURE__ */
|
|
80
|
-
value:
|
|
81
|
-
onValueChange:
|
|
78
|
+
}) : e === "clearable-input" ? /* @__PURE__ */ Y(r, {
|
|
79
|
+
value: i,
|
|
80
|
+
onValueChange: a,
|
|
82
81
|
placeholder: "Clearable input",
|
|
83
82
|
clearable: !0
|
|
84
|
-
}) : e === "slider" ? /* @__PURE__ */
|
|
83
|
+
}) : e === "slider" ? /* @__PURE__ */ Y(ee, {
|
|
85
84
|
label: "Density",
|
|
86
85
|
description: "Tune content density.",
|
|
87
86
|
defaultValue: 64,
|
|
88
87
|
showValue: !0
|
|
89
|
-
}) : e === "range-slider" ? /* @__PURE__ */
|
|
88
|
+
}) : e === "range-slider" ? /* @__PURE__ */ Y(v, {
|
|
90
89
|
label: "Revenue range",
|
|
91
90
|
description: "Filter between two values.",
|
|
92
91
|
defaultValue: [20, 80],
|
|
93
92
|
showValue: !0
|
|
94
|
-
}) : e === "rating" ? /* @__PURE__ */
|
|
93
|
+
}) : e === "rating" ? /* @__PURE__ */ Y(_, {
|
|
95
94
|
defaultValue: 4,
|
|
96
95
|
labels: { clear: "Reset" }
|
|
97
|
-
}) : e === "otp-input" ? /* @__PURE__ */
|
|
98
|
-
value:
|
|
99
|
-
onValueChange:
|
|
100
|
-
}) : e === "color-input" ? /* @__PURE__ */
|
|
96
|
+
}) : e === "otp-input" ? /* @__PURE__ */ Y(g, {
|
|
97
|
+
value: i.replace(/\D/g, "").slice(0, 6),
|
|
98
|
+
onValueChange: a
|
|
99
|
+
}) : e === "color-input" ? /* @__PURE__ */ Y(r, {
|
|
100
|
+
type: "color",
|
|
101
101
|
defaultValue: "#22c55e",
|
|
102
|
-
label: "Accent color"
|
|
103
|
-
|
|
104
|
-
}) : e === "tag-input" ? /* @__PURE__ */ X(b, {
|
|
102
|
+
"aria-label": "Accent color"
|
|
103
|
+
}) : e === "tag-input" ? /* @__PURE__ */ Y(y, {
|
|
105
104
|
defaultValue: [
|
|
106
105
|
"dashboard",
|
|
107
106
|
"beta",
|
|
108
107
|
"ops"
|
|
109
108
|
],
|
|
110
109
|
placeholder: "Add label"
|
|
111
|
-
}) : /* @__PURE__ */
|
|
112
|
-
value:
|
|
110
|
+
}) : /* @__PURE__ */ Y(r, {
|
|
111
|
+
value: i,
|
|
113
112
|
onChange: (e) => n({ textValue: e.currentTarget.value }),
|
|
114
113
|
placeholder: "Unified input"
|
|
115
114
|
});
|
|
116
115
|
}
|
|
117
|
-
function
|
|
118
|
-
return /* @__PURE__ */
|
|
116
|
+
function ie({ state: e, setState: t }) {
|
|
117
|
+
return /* @__PURE__ */ X("div", {
|
|
119
118
|
className: "grid gap-4 md:grid-cols-2",
|
|
120
|
-
children: [/* @__PURE__ */
|
|
119
|
+
children: [/* @__PURE__ */ X("label", {
|
|
121
120
|
className: "grid gap-2",
|
|
122
121
|
children: [
|
|
123
|
-
/* @__PURE__ */
|
|
122
|
+
/* @__PURE__ */ Y("span", {
|
|
124
123
|
className: "text-sm font-medium text-[color:var(--aui-page-foreground)]",
|
|
125
124
|
children: "Email address"
|
|
126
125
|
}),
|
|
127
|
-
/* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ Y(r, {
|
|
128
127
|
value: e.textValue,
|
|
129
128
|
onChange: (e) => t({ textValue: e.currentTarget.value })
|
|
130
129
|
}),
|
|
131
|
-
/* @__PURE__ */
|
|
130
|
+
/* @__PURE__ */ Y("span", {
|
|
132
131
|
className: "text-xs text-[color:var(--aui-page-muted)]",
|
|
133
132
|
children: "Form wrappers keep label, hint and error spacing consistent."
|
|
134
133
|
})
|
|
135
134
|
]
|
|
136
|
-
}), /* @__PURE__ */
|
|
135
|
+
}), /* @__PURE__ */ X("label", {
|
|
137
136
|
className: "grid gap-2",
|
|
138
137
|
children: [
|
|
139
|
-
/* @__PURE__ */
|
|
138
|
+
/* @__PURE__ */ Y("span", {
|
|
140
139
|
className: "text-sm font-medium text-[color:var(--aui-page-foreground)]",
|
|
141
140
|
children: "Status"
|
|
142
141
|
}),
|
|
143
|
-
/* @__PURE__ */
|
|
142
|
+
/* @__PURE__ */ Y(r, {
|
|
144
143
|
type: "search",
|
|
145
144
|
value: "Active customers",
|
|
146
145
|
resultCount: 7,
|
|
147
146
|
readOnly: !0
|
|
148
147
|
}),
|
|
149
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ Y("span", {
|
|
150
149
|
className: "text-xs text-emerald-500",
|
|
151
150
|
children: "Ready to submit"
|
|
152
151
|
})
|
|
@@ -154,40 +153,40 @@ function oe({ state: e, setState: t }) {
|
|
|
154
153
|
})]
|
|
155
154
|
});
|
|
156
155
|
}
|
|
157
|
-
function
|
|
158
|
-
return t === "dialog-actions" ? /* @__PURE__ */
|
|
156
|
+
function ae({ slug: t }) {
|
|
157
|
+
return t === "dialog-actions" ? /* @__PURE__ */ Y("div", {
|
|
159
158
|
className: "rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-4",
|
|
160
|
-
children: /* @__PURE__ */
|
|
159
|
+
children: /* @__PURE__ */ X(m, {
|
|
161
160
|
align: "end",
|
|
162
161
|
children: [
|
|
163
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ Y(p, {
|
|
164
163
|
variant: "ghost",
|
|
165
164
|
children: "Cancel"
|
|
166
165
|
}),
|
|
167
|
-
/* @__PURE__ */
|
|
166
|
+
/* @__PURE__ */ Y(p, {
|
|
168
167
|
variant: "outline",
|
|
169
168
|
children: "Save draft"
|
|
170
169
|
}),
|
|
171
|
-
/* @__PURE__ */
|
|
170
|
+
/* @__PURE__ */ Y(p, { children: "Publish" })
|
|
172
171
|
]
|
|
173
172
|
})
|
|
174
|
-
}) : t === "alert-dialog" ? /* @__PURE__ */
|
|
173
|
+
}) : t === "alert-dialog" ? /* @__PURE__ */ Y(f, {
|
|
175
174
|
open: !1,
|
|
176
175
|
title: "Archive invoice?",
|
|
177
176
|
description: "This keeps the invoice readable but removes it from active queues.",
|
|
178
|
-
children: /* @__PURE__ */
|
|
177
|
+
children: /* @__PURE__ */ Y(e, {
|
|
179
178
|
variant: "destructive",
|
|
180
179
|
children: "Open alert"
|
|
181
180
|
})
|
|
182
|
-
}) : t === "drawer" ? /* @__PURE__ */
|
|
181
|
+
}) : t === "drawer" ? /* @__PURE__ */ Y(h, {
|
|
183
182
|
open: !1,
|
|
184
|
-
trigger: /* @__PURE__ */
|
|
183
|
+
trigger: /* @__PURE__ */ Y(e, {
|
|
185
184
|
variant: "outline",
|
|
186
185
|
children: "Open drawer"
|
|
187
186
|
}),
|
|
188
187
|
title: "Customer details",
|
|
189
188
|
description: "Side panel for fast inspection.",
|
|
190
|
-
children: /* @__PURE__ */
|
|
189
|
+
children: /* @__PURE__ */ Y(S, { items: [{
|
|
191
190
|
key: "plan",
|
|
192
191
|
label: "Plan",
|
|
193
192
|
value: "Scale"
|
|
@@ -196,27 +195,27 @@ function $({ slug: t }) {
|
|
|
196
195
|
label: "Owner",
|
|
197
196
|
value: "Azamat UI"
|
|
198
197
|
}] })
|
|
199
|
-
}) : /* @__PURE__ */
|
|
198
|
+
}) : /* @__PURE__ */ X("div", {
|
|
200
199
|
className: "flex flex-wrap items-center justify-end gap-2 rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-4",
|
|
201
200
|
children: [
|
|
202
|
-
/* @__PURE__ */
|
|
201
|
+
/* @__PURE__ */ Y(e, {
|
|
203
202
|
variant: "ghost",
|
|
204
203
|
children: "Cancel"
|
|
205
204
|
}),
|
|
206
|
-
/* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ Y(e, {
|
|
207
206
|
variant: "outline",
|
|
208
207
|
children: "Save draft"
|
|
209
208
|
}),
|
|
210
|
-
/* @__PURE__ */
|
|
209
|
+
/* @__PURE__ */ Y(e, { children: "Publish" })
|
|
211
210
|
]
|
|
212
211
|
});
|
|
213
212
|
}
|
|
214
|
-
function
|
|
215
|
-
return e === "pagination" ? /* @__PURE__ */
|
|
213
|
+
function oe({ slug: e }) {
|
|
214
|
+
return e === "pagination" ? /* @__PURE__ */ Y(l, {
|
|
216
215
|
page: 3,
|
|
217
216
|
pageCount: 9,
|
|
218
217
|
onPageChange: () => void 0
|
|
219
|
-
}) : e === "page-tabs" ? /* @__PURE__ */
|
|
218
|
+
}) : e === "page-tabs" ? /* @__PURE__ */ Y(c, {
|
|
220
219
|
value: "overview",
|
|
221
220
|
variant: "pills",
|
|
222
221
|
items: [
|
|
@@ -234,7 +233,7 @@ function se({ slug: e }) {
|
|
|
234
233
|
badge: "3"
|
|
235
234
|
}
|
|
236
235
|
]
|
|
237
|
-
}) : e === "stepper-tabs" ? /* @__PURE__ */
|
|
236
|
+
}) : e === "stepper-tabs" ? /* @__PURE__ */ Y(u, {
|
|
238
237
|
value: "billing",
|
|
239
238
|
items: [
|
|
240
239
|
{
|
|
@@ -254,7 +253,7 @@ function se({ slug: e }) {
|
|
|
254
253
|
description: "Confirm release"
|
|
255
254
|
}
|
|
256
255
|
]
|
|
257
|
-
}) : /* @__PURE__ */
|
|
256
|
+
}) : /* @__PURE__ */ Y(s, {
|
|
258
257
|
value: "overview",
|
|
259
258
|
items: [
|
|
260
259
|
{
|
|
@@ -272,47 +271,47 @@ function se({ slug: e }) {
|
|
|
272
271
|
]
|
|
273
272
|
});
|
|
274
273
|
}
|
|
275
|
-
function
|
|
276
|
-
return t === "alert" ? /* @__PURE__ */
|
|
274
|
+
function $({ slug: t }) {
|
|
275
|
+
return t === "alert" ? /* @__PURE__ */ Y(b, {
|
|
277
276
|
tone: "warning",
|
|
278
277
|
title: "Review needed",
|
|
279
278
|
description: "Billing rules changed and one approval is pending.",
|
|
280
|
-
action: /* @__PURE__ */
|
|
279
|
+
action: /* @__PURE__ */ Y(e, {
|
|
281
280
|
size: "sm",
|
|
282
281
|
children: "Open"
|
|
283
282
|
})
|
|
284
|
-
}) : t === "page-state" ? /* @__PURE__ */
|
|
283
|
+
}) : t === "page-state" ? /* @__PURE__ */ Y(x, {
|
|
285
284
|
title: "Workspace connected",
|
|
286
285
|
description: "The route is ready to accept live data and team actions.",
|
|
287
286
|
tone: "success",
|
|
288
|
-
action: /* @__PURE__ */
|
|
287
|
+
action: /* @__PURE__ */ Y(e, {
|
|
289
288
|
size: "sm",
|
|
290
289
|
children: "Continue"
|
|
291
290
|
})
|
|
292
|
-
}) : /* @__PURE__ */
|
|
291
|
+
}) : /* @__PURE__ */ X("div", {
|
|
293
292
|
className: "flex flex-wrap gap-2",
|
|
294
293
|
children: [
|
|
295
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ Y(Q, {
|
|
296
295
|
tone: "success",
|
|
297
296
|
children: "Live"
|
|
298
297
|
}),
|
|
299
|
-
/* @__PURE__ */
|
|
298
|
+
/* @__PURE__ */ Y(Q, {
|
|
300
299
|
tone: "warning",
|
|
301
300
|
children: "Needs review"
|
|
302
301
|
}),
|
|
303
|
-
/* @__PURE__ */
|
|
302
|
+
/* @__PURE__ */ Y(Q, {
|
|
304
303
|
tone: "danger",
|
|
305
304
|
children: "Blocked"
|
|
306
305
|
}),
|
|
307
|
-
/* @__PURE__ */
|
|
306
|
+
/* @__PURE__ */ Y(Q, {
|
|
308
307
|
tone: "info",
|
|
309
308
|
children: "Queued"
|
|
310
309
|
})
|
|
311
310
|
]
|
|
312
311
|
});
|
|
313
312
|
}
|
|
314
|
-
function
|
|
315
|
-
return t === "description-list" ? /* @__PURE__ */
|
|
313
|
+
function se({ slug: t }) {
|
|
314
|
+
return t === "description-list" ? /* @__PURE__ */ Y(S, {
|
|
316
315
|
title: "Invoice details",
|
|
317
316
|
description: "Structured facts with responsive columns.",
|
|
318
317
|
items: [
|
|
@@ -329,7 +328,7 @@ function le({ slug: t }) {
|
|
|
329
328
|
{
|
|
330
329
|
key: "status",
|
|
331
330
|
label: "Status",
|
|
332
|
-
value: /* @__PURE__ */
|
|
331
|
+
value: /* @__PURE__ */ Y(Q, {
|
|
333
332
|
tone: "success",
|
|
334
333
|
children: "Paid"
|
|
335
334
|
})
|
|
@@ -340,16 +339,16 @@ function le({ slug: t }) {
|
|
|
340
339
|
value: "Finance team"
|
|
341
340
|
}
|
|
342
341
|
]
|
|
343
|
-
}) : t === "progress" ? /* @__PURE__ */
|
|
342
|
+
}) : t === "progress" ? /* @__PURE__ */ Y(te, {
|
|
344
343
|
label: "Migration progress",
|
|
345
344
|
description: "Production rollout",
|
|
346
345
|
value: 68,
|
|
347
346
|
tone: "success",
|
|
348
347
|
showValue: !0
|
|
349
|
-
}) : t === "progress-circle" ? /* @__PURE__ */
|
|
348
|
+
}) : t === "progress-circle" ? /* @__PURE__ */ Y(ne, {
|
|
350
349
|
value: 72,
|
|
351
350
|
label: "Profile completed"
|
|
352
|
-
}) : t === "timeline" ? /* @__PURE__ */
|
|
351
|
+
}) : t === "timeline" ? /* @__PURE__ */ Y(E, {
|
|
353
352
|
items: [
|
|
354
353
|
{
|
|
355
354
|
key: "created",
|
|
@@ -375,7 +374,7 @@ function le({ slug: t }) {
|
|
|
375
374
|
],
|
|
376
375
|
pending: !0,
|
|
377
376
|
pendingLabel: "Paid"
|
|
378
|
-
}) : t === "metric-card" || t === "stat-card" ? /* @__PURE__ */
|
|
377
|
+
}) : t === "metric-card" || t === "stat-card" ? /* @__PURE__ */ Y(O, {
|
|
379
378
|
title: "Revenue",
|
|
380
379
|
value: "$84.2k",
|
|
381
380
|
description: "Compared with last month",
|
|
@@ -383,41 +382,41 @@ function le({ slug: t }) {
|
|
|
383
382
|
value: "+12.4%",
|
|
384
383
|
tone: "success"
|
|
385
384
|
},
|
|
386
|
-
icon: /* @__PURE__ */
|
|
387
|
-
}) : t === "status-dot" ? /* @__PURE__ */
|
|
385
|
+
icon: /* @__PURE__ */ Y(W, {})
|
|
386
|
+
}) : t === "status-dot" ? /* @__PURE__ */ X("div", {
|
|
388
387
|
className: "grid gap-3",
|
|
389
388
|
children: [
|
|
390
|
-
/* @__PURE__ */
|
|
389
|
+
/* @__PURE__ */ Y(w, {
|
|
391
390
|
tone: "success",
|
|
392
391
|
pulse: !0,
|
|
393
392
|
label: "API healthy"
|
|
394
393
|
}),
|
|
395
|
-
/* @__PURE__ */
|
|
394
|
+
/* @__PURE__ */ Y(w, {
|
|
396
395
|
tone: "warning",
|
|
397
396
|
label: "Sync delayed"
|
|
398
397
|
}),
|
|
399
|
-
/* @__PURE__ */
|
|
398
|
+
/* @__PURE__ */ Y(w, {
|
|
400
399
|
tone: "danger",
|
|
401
400
|
label: "Webhook failed"
|
|
402
401
|
})
|
|
403
402
|
]
|
|
404
|
-
}) : t === "delta-badge" ? /* @__PURE__ */
|
|
403
|
+
}) : t === "delta-badge" ? /* @__PURE__ */ X("div", {
|
|
405
404
|
className: "flex flex-wrap gap-2",
|
|
406
405
|
children: [
|
|
407
|
-
/* @__PURE__ */
|
|
406
|
+
/* @__PURE__ */ Y(i, {
|
|
408
407
|
variant: "secondary",
|
|
409
408
|
children: "+12.4%"
|
|
410
409
|
}),
|
|
411
|
-
/* @__PURE__ */
|
|
410
|
+
/* @__PURE__ */ Y(i, {
|
|
412
411
|
variant: "outline",
|
|
413
412
|
children: "-3.1%"
|
|
414
413
|
}),
|
|
415
|
-
/* @__PURE__ */
|
|
414
|
+
/* @__PURE__ */ Y(i, {
|
|
416
415
|
variant: "destructive",
|
|
417
416
|
children: "Risk"
|
|
418
417
|
})
|
|
419
418
|
]
|
|
420
|
-
}) : t === "notification-center" ? /* @__PURE__ */
|
|
419
|
+
}) : t === "notification-center" ? /* @__PURE__ */ Y(C, { items: [
|
|
421
420
|
{
|
|
422
421
|
key: "1",
|
|
423
422
|
title: "Build completed",
|
|
@@ -436,7 +435,7 @@ function le({ slug: t }) {
|
|
|
436
435
|
description: "Package version is ready for release.",
|
|
437
436
|
extra: "1h"
|
|
438
437
|
}
|
|
439
|
-
] }) : t === "data-list" ? /* @__PURE__ */
|
|
438
|
+
] }) : t === "data-list" ? /* @__PURE__ */ Y(C, { items: [
|
|
440
439
|
{
|
|
441
440
|
key: "1",
|
|
442
441
|
title: "Enterprise plan",
|
|
@@ -455,7 +454,7 @@ function le({ slug: t }) {
|
|
|
455
454
|
description: "Lightweight team setup",
|
|
456
455
|
extra: "$49"
|
|
457
456
|
}
|
|
458
|
-
] }) : t === "status-legend" ? /* @__PURE__ */
|
|
457
|
+
] }) : t === "status-legend" ? /* @__PURE__ */ Y(T, {
|
|
459
458
|
title: "Delivery states",
|
|
460
459
|
description: "Explain what each state means and how often it appears.",
|
|
461
460
|
orientation: "grid",
|
|
@@ -482,7 +481,7 @@ function le({ slug: t }) {
|
|
|
482
481
|
count: 1
|
|
483
482
|
}
|
|
484
483
|
]
|
|
485
|
-
}) : t === "trend-card" || t === "comparison-card" ? /* @__PURE__ */
|
|
484
|
+
}) : t === "trend-card" || t === "comparison-card" ? /* @__PURE__ */ Y(O, {
|
|
486
485
|
title: t === "trend-card" ? "Weekly revenue" : "Current vs previous",
|
|
487
486
|
value: "$84.2k",
|
|
488
487
|
description: "Compared with last month",
|
|
@@ -490,22 +489,22 @@ function le({ slug: t }) {
|
|
|
490
489
|
value: "+12.4%",
|
|
491
490
|
tone: "success"
|
|
492
491
|
},
|
|
493
|
-
icon: /* @__PURE__ */
|
|
494
|
-
}) : /* @__PURE__ */
|
|
492
|
+
icon: /* @__PURE__ */ Y(W, {})
|
|
493
|
+
}) : /* @__PURE__ */ Y(D, {
|
|
495
494
|
name: "Azamat Jurayev",
|
|
496
495
|
description: "Product designer and maintainer",
|
|
497
496
|
meta: "Admin workspace",
|
|
498
|
-
actions: /* @__PURE__ */
|
|
497
|
+
actions: /* @__PURE__ */ Y(e, {
|
|
499
498
|
size: "sm",
|
|
500
499
|
children: "Invite"
|
|
501
500
|
})
|
|
502
501
|
});
|
|
503
502
|
}
|
|
504
|
-
function
|
|
505
|
-
return
|
|
506
|
-
search: /* @__PURE__ */
|
|
503
|
+
function ce({ slug: i, state: o, setState: s }) {
|
|
504
|
+
return i === "filter-bar" ? /* @__PURE__ */ Y(d, {
|
|
505
|
+
search: /* @__PURE__ */ Y(r, {
|
|
507
506
|
type: "search",
|
|
508
|
-
value:
|
|
507
|
+
value: o.textValue,
|
|
509
508
|
onValueChange: (e) => s({ textValue: e }),
|
|
510
509
|
placeholder: "Search invoices..."
|
|
511
510
|
}),
|
|
@@ -522,24 +521,24 @@ function ue({ slug: r, state: a, setState: s }) {
|
|
|
522
521
|
tone: "default"
|
|
523
522
|
}],
|
|
524
523
|
onRemoveChip: () => void 0,
|
|
525
|
-
filters: /* @__PURE__ */
|
|
524
|
+
filters: /* @__PURE__ */ X(e, {
|
|
526
525
|
variant: "outline",
|
|
527
526
|
size: "sm",
|
|
528
|
-
children: [/* @__PURE__ */
|
|
527
|
+
children: [/* @__PURE__ */ Y(U, { "data-icon": "inline-start" }), "Status"]
|
|
529
528
|
}),
|
|
530
|
-
actions: /* @__PURE__ */
|
|
529
|
+
actions: /* @__PURE__ */ Y(e, {
|
|
531
530
|
size: "sm",
|
|
532
531
|
children: "Export"
|
|
533
532
|
})
|
|
534
|
-
}) :
|
|
533
|
+
}) : i === "command-palette" ? /* @__PURE__ */ X("div", {
|
|
535
534
|
className: "grid gap-3",
|
|
536
|
-
children: [/* @__PURE__ */
|
|
535
|
+
children: [/* @__PURE__ */ X("div", {
|
|
537
536
|
className: "flex items-center gap-2 rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] px-3 py-2",
|
|
538
|
-
children: [/* @__PURE__ */
|
|
537
|
+
children: [/* @__PURE__ */ Y(K, { className: "size-4 text-[color:var(--aui-page-muted)]" }), /* @__PURE__ */ Y("span", {
|
|
539
538
|
className: "text-sm text-[color:var(--aui-page-muted)]",
|
|
540
539
|
children: "Command palette preview: search routes, components and actions."
|
|
541
540
|
})]
|
|
542
|
-
}), /* @__PURE__ */
|
|
541
|
+
}), /* @__PURE__ */ Y(k, {
|
|
543
542
|
open: !1,
|
|
544
543
|
onOpenChange: () => void 0,
|
|
545
544
|
groups: [{
|
|
@@ -548,15 +547,15 @@ function ue({ slug: r, state: a, setState: s }) {
|
|
|
548
547
|
items: [{
|
|
549
548
|
id: "docs",
|
|
550
549
|
label: "Open docs",
|
|
551
|
-
icon: /* @__PURE__ */
|
|
550
|
+
icon: /* @__PURE__ */ Y(K, { className: "size-4" })
|
|
552
551
|
}, {
|
|
553
552
|
id: "components",
|
|
554
553
|
label: "Browse components",
|
|
555
|
-
icon: /* @__PURE__ */
|
|
554
|
+
icon: /* @__PURE__ */ Y(W, { className: "size-4" })
|
|
556
555
|
}]
|
|
557
556
|
}]
|
|
558
557
|
})]
|
|
559
|
-
}) :
|
|
558
|
+
}) : i === "button-group" ? /* @__PURE__ */ Y(n, { items: [
|
|
560
559
|
{
|
|
561
560
|
key: "day",
|
|
562
561
|
label: "Day"
|
|
@@ -569,7 +568,7 @@ function ue({ slug: r, state: a, setState: s }) {
|
|
|
569
568
|
key: "month",
|
|
570
569
|
label: "Month"
|
|
571
570
|
}
|
|
572
|
-
] }) :
|
|
571
|
+
] }) : i === "quick-action-grid" ? /* @__PURE__ */ Y(a, {
|
|
573
572
|
columns: 3,
|
|
574
573
|
items: [
|
|
575
574
|
{
|
|
@@ -591,9 +590,9 @@ function ue({ slug: r, state: a, setState: s }) {
|
|
|
591
590
|
badge: "S"
|
|
592
591
|
}
|
|
593
592
|
]
|
|
594
|
-
}) :
|
|
593
|
+
}) : i === "data-table-saved-filters" ? /* @__PURE__ */ X("div", {
|
|
595
594
|
className: "grid gap-3",
|
|
596
|
-
children: [/* @__PURE__ */
|
|
595
|
+
children: [/* @__PURE__ */ Y(d, {
|
|
597
596
|
chips: [
|
|
598
597
|
{
|
|
599
598
|
key: "status",
|
|
@@ -616,7 +615,7 @@ function ue({ slug: r, state: a, setState: s }) {
|
|
|
616
615
|
],
|
|
617
616
|
onRemoveChip: () => void 0,
|
|
618
617
|
onReset: () => void 0
|
|
619
|
-
}), /* @__PURE__ */
|
|
618
|
+
}), /* @__PURE__ */ Y(n, {
|
|
620
619
|
attached: !1,
|
|
621
620
|
items: [
|
|
622
621
|
{
|
|
@@ -634,73 +633,73 @@ function ue({ slug: r, state: a, setState: s }) {
|
|
|
634
633
|
}
|
|
635
634
|
]
|
|
636
635
|
})]
|
|
637
|
-
}) : /* @__PURE__ */
|
|
636
|
+
}) : /* @__PURE__ */ X("div", {
|
|
638
637
|
className: "flex items-center justify-between rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-4",
|
|
639
|
-
children: [/* @__PURE__ */
|
|
638
|
+
children: [/* @__PURE__ */ X("div", { children: [/* @__PURE__ */ Y("p", {
|
|
640
639
|
className: "font-medium text-[color:var(--aui-page-foreground)]",
|
|
641
640
|
children: "Invoice #4821"
|
|
642
|
-
}), /* @__PURE__ */
|
|
641
|
+
}), /* @__PURE__ */ Y("p", {
|
|
643
642
|
className: "text-sm text-[color:var(--aui-page-muted)]",
|
|
644
643
|
children: "Pending approval"
|
|
645
|
-
})] }), /* @__PURE__ */
|
|
644
|
+
})] }), /* @__PURE__ */ Y(t, {
|
|
646
645
|
label: "Actions",
|
|
647
646
|
actions: [
|
|
648
647
|
{
|
|
649
648
|
key: "open",
|
|
650
649
|
label: "Open",
|
|
651
|
-
icon: /* @__PURE__ */
|
|
650
|
+
icon: /* @__PURE__ */ Y(V, { className: "size-4" })
|
|
652
651
|
},
|
|
653
652
|
{
|
|
654
653
|
key: "download",
|
|
655
654
|
label: "Download",
|
|
656
|
-
icon: /* @__PURE__ */
|
|
655
|
+
icon: /* @__PURE__ */ Y(H, { className: "size-4" })
|
|
657
656
|
},
|
|
658
657
|
{
|
|
659
658
|
key: "archive",
|
|
660
659
|
label: "Archive",
|
|
661
|
-
icon: /* @__PURE__ */
|
|
660
|
+
icon: /* @__PURE__ */ Y(z, { className: "size-4" }),
|
|
662
661
|
destructive: !0
|
|
663
662
|
}
|
|
664
663
|
],
|
|
665
|
-
trigger: /* @__PURE__ */
|
|
664
|
+
trigger: /* @__PURE__ */ Y(e, {
|
|
666
665
|
variant: "outline",
|
|
667
666
|
size: "icon-sm",
|
|
668
667
|
"aria-label": "Open actions",
|
|
669
|
-
children: /* @__PURE__ */
|
|
668
|
+
children: /* @__PURE__ */ Y(G, {})
|
|
670
669
|
})
|
|
671
670
|
})]
|
|
672
671
|
});
|
|
673
672
|
}
|
|
674
|
-
function
|
|
675
|
-
return t === "app-header" ? /* @__PURE__ */
|
|
673
|
+
function le({ slug: t }) {
|
|
674
|
+
return t === "app-header" ? /* @__PURE__ */ Y(F, {
|
|
676
675
|
sticky: !1,
|
|
677
|
-
left: /* @__PURE__ */
|
|
676
|
+
left: /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(W, { className: "size-4" }), /* @__PURE__ */ Y("span", {
|
|
678
677
|
className: "font-medium",
|
|
679
678
|
children: "Dashboard"
|
|
680
679
|
})] }),
|
|
681
|
-
center: /* @__PURE__ */
|
|
680
|
+
center: /* @__PURE__ */ Y(i, {
|
|
682
681
|
variant: "secondary",
|
|
683
682
|
children: "Preview"
|
|
684
683
|
}),
|
|
685
|
-
right: /* @__PURE__ */
|
|
684
|
+
right: /* @__PURE__ */ X(J, { children: [/* @__PURE__ */ Y(e, {
|
|
686
685
|
variant: "ghost",
|
|
687
686
|
size: "icon-sm",
|
|
688
687
|
"aria-label": "Notifications",
|
|
689
|
-
children: /* @__PURE__ */
|
|
690
|
-
}), /* @__PURE__ */
|
|
688
|
+
children: /* @__PURE__ */ Y(B, {})
|
|
689
|
+
}), /* @__PURE__ */ Y(e, {
|
|
691
690
|
size: "sm",
|
|
692
691
|
children: "Deploy"
|
|
693
692
|
})] }),
|
|
694
693
|
className: "rounded-xl border border-[color:var(--aui-divider)]"
|
|
695
|
-
}) : t === "section-header" ? /* @__PURE__ */
|
|
694
|
+
}) : t === "section-header" ? /* @__PURE__ */ Y(o, {
|
|
696
695
|
eyebrow: "Components",
|
|
697
696
|
title: "Production-ready surfaces",
|
|
698
697
|
description: "SectionHeader keeps copy, metadata and actions aligned.",
|
|
699
|
-
actions: /* @__PURE__ */
|
|
698
|
+
actions: /* @__PURE__ */ Y(e, {
|
|
700
699
|
size: "sm",
|
|
701
700
|
children: "Add component"
|
|
702
701
|
})
|
|
703
|
-
}) : /* @__PURE__ */
|
|
702
|
+
}) : /* @__PURE__ */ Y(O, {
|
|
704
703
|
title: "Revenue",
|
|
705
704
|
value: "$84.2k",
|
|
706
705
|
description: "Compared with last month",
|
|
@@ -711,73 +710,73 @@ function de({ slug: t }) {
|
|
|
711
710
|
helperText: "StatCard keeps KPI, helper text and trend in one compact tile."
|
|
712
711
|
});
|
|
713
712
|
}
|
|
714
|
-
function
|
|
715
|
-
return /* @__PURE__ */
|
|
713
|
+
function ue({ slug: t }) {
|
|
714
|
+
return /* @__PURE__ */ X("div", {
|
|
716
715
|
className: "overflow-hidden rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)]",
|
|
717
716
|
children: [
|
|
718
|
-
/* @__PURE__ */
|
|
717
|
+
/* @__PURE__ */ X("div", {
|
|
719
718
|
className: "flex flex-wrap items-center justify-between gap-3 border-b border-[color:var(--aui-divider)] p-3",
|
|
720
|
-
children: [/* @__PURE__ */
|
|
719
|
+
children: [/* @__PURE__ */ Y(r, {
|
|
721
720
|
type: "search",
|
|
722
721
|
value: "",
|
|
723
722
|
placeholder: "Search rows...",
|
|
724
723
|
className: "max-w-xs",
|
|
725
724
|
readOnly: !0
|
|
726
|
-
}), /* @__PURE__ */
|
|
725
|
+
}), /* @__PURE__ */ X("div", {
|
|
727
726
|
className: "flex gap-2",
|
|
728
|
-
children: [/* @__PURE__ */
|
|
727
|
+
children: [/* @__PURE__ */ X(e, {
|
|
729
728
|
variant: "outline",
|
|
730
729
|
size: "sm",
|
|
731
|
-
children: [/* @__PURE__ */
|
|
732
|
-
}), /* @__PURE__ */
|
|
730
|
+
children: [/* @__PURE__ */ Y(U, { "data-icon": "inline-start" }), "Filters"]
|
|
731
|
+
}), /* @__PURE__ */ Y(e, {
|
|
733
732
|
size: "sm",
|
|
734
733
|
children: "Create"
|
|
735
734
|
})]
|
|
736
735
|
})]
|
|
737
736
|
}),
|
|
738
|
-
/* @__PURE__ */
|
|
737
|
+
/* @__PURE__ */ X("div", {
|
|
739
738
|
className: "grid grid-cols-[40px_1fr_120px_72px] border-b border-[color:var(--aui-divider)] px-3 py-2 text-xs font-semibold uppercase tracking-[0.18em] text-[color:var(--aui-page-muted)]",
|
|
740
739
|
children: [
|
|
741
|
-
/* @__PURE__ */
|
|
740
|
+
/* @__PURE__ */ Y("span", { children: /* @__PURE__ */ Y("input", {
|
|
742
741
|
type: "checkbox",
|
|
743
742
|
"aria-label": "Select rows"
|
|
744
743
|
}) }),
|
|
745
|
-
/* @__PURE__ */
|
|
746
|
-
/* @__PURE__ */
|
|
747
|
-
/* @__PURE__ */
|
|
744
|
+
/* @__PURE__ */ Y("span", { children: "Name" }),
|
|
745
|
+
/* @__PURE__ */ Y("span", { children: "Status" }),
|
|
746
|
+
/* @__PURE__ */ Y("span", { children: "Actions" })
|
|
748
747
|
]
|
|
749
748
|
}),
|
|
750
749
|
[
|
|
751
750
|
"Azamat UI",
|
|
752
751
|
"Registry",
|
|
753
752
|
"Dashboard"
|
|
754
|
-
].map((t, n) => /* @__PURE__ */
|
|
753
|
+
].map((t, n) => /* @__PURE__ */ X("div", {
|
|
755
754
|
className: "grid grid-cols-[40px_1fr_120px_72px] items-center border-b border-[color:var(--aui-divider)] px-3 py-3 last:border-b-0",
|
|
756
755
|
children: [
|
|
757
|
-
/* @__PURE__ */
|
|
756
|
+
/* @__PURE__ */ Y("span", { children: /* @__PURE__ */ Y("input", {
|
|
758
757
|
type: "checkbox",
|
|
759
758
|
"aria-label": `Select ${t}`,
|
|
760
759
|
defaultChecked: n === 0
|
|
761
760
|
}) }),
|
|
762
|
-
/* @__PURE__ */
|
|
761
|
+
/* @__PURE__ */ Y("span", {
|
|
763
762
|
className: "font-medium text-[color:var(--aui-page-foreground)]",
|
|
764
763
|
children: t
|
|
765
764
|
}),
|
|
766
|
-
/* @__PURE__ */
|
|
765
|
+
/* @__PURE__ */ Y("span", { children: /* @__PURE__ */ Y(Q, {
|
|
767
766
|
tone: n === 2 ? "warning" : "success",
|
|
768
767
|
children: n === 2 ? "Review" : "Live"
|
|
769
768
|
}) }),
|
|
770
|
-
/* @__PURE__ */
|
|
769
|
+
/* @__PURE__ */ Y("span", { children: /* @__PURE__ */ Y(e, {
|
|
771
770
|
variant: "ghost",
|
|
772
771
|
size: "icon-sm",
|
|
773
772
|
"aria-label": "Row actions",
|
|
774
|
-
children: /* @__PURE__ */
|
|
773
|
+
children: /* @__PURE__ */ Y(G, {})
|
|
775
774
|
}) })
|
|
776
775
|
]
|
|
777
776
|
}, t)),
|
|
778
|
-
/* @__PURE__ */
|
|
777
|
+
/* @__PURE__ */ X("div", {
|
|
779
778
|
className: "flex flex-wrap items-center justify-between gap-3 border-t border-[color:var(--aui-divider)] p-3 text-sm text-[color:var(--aui-page-muted)]",
|
|
780
|
-
children: [/* @__PURE__ */
|
|
779
|
+
children: [/* @__PURE__ */ X("span", { children: [{
|
|
781
780
|
"data-table-pagination": "Pagination footer",
|
|
782
781
|
"data-table-toolbar": "Search and filter toolbar",
|
|
783
782
|
"data-table-column-visibility-menu": "Column visibility",
|
|
@@ -787,7 +786,7 @@ function fe({ slug: t }) {
|
|
|
787
786
|
"data-table-actions-column": "Actions column",
|
|
788
787
|
"data-table-bulk-actions": "Bulk action bar",
|
|
789
788
|
"data-table-view-presets": "Saved view presets"
|
|
790
|
-
}[t] ?? "DataTable part", " preview"] }), /* @__PURE__ */
|
|
789
|
+
}[t] ?? "DataTable part", " preview"] }), /* @__PURE__ */ Y(l, {
|
|
791
790
|
page: 1,
|
|
792
791
|
pageCount: 4,
|
|
793
792
|
onPageChange: () => void 0,
|
|
@@ -797,35 +796,35 @@ function fe({ slug: t }) {
|
|
|
797
796
|
]
|
|
798
797
|
});
|
|
799
798
|
}
|
|
800
|
-
function
|
|
801
|
-
return /* @__PURE__ */
|
|
799
|
+
function de() {
|
|
800
|
+
return /* @__PURE__ */ Y(A, {
|
|
802
801
|
value: "2026-06-18",
|
|
803
802
|
defaultMonth: "2026-06-01",
|
|
804
803
|
onValueChange: () => void 0
|
|
805
804
|
});
|
|
806
805
|
}
|
|
807
|
-
function
|
|
808
|
-
return e === "file-dropzone" ? /* @__PURE__ */
|
|
806
|
+
function fe({ slug: e }) {
|
|
807
|
+
return e === "file-dropzone" ? /* @__PURE__ */ Y(M, {
|
|
809
808
|
label: "Drop contract files",
|
|
810
809
|
description: "PDF, PNG or CSV up to 10MB."
|
|
811
|
-
}) : e === "file-upload" ? /* @__PURE__ */
|
|
810
|
+
}) : e === "file-upload" ? /* @__PURE__ */ Y(j, {
|
|
812
811
|
dropzoneLabel: "Upload documents",
|
|
813
812
|
dropzoneDescription: "Drag files here or choose from your device.",
|
|
814
813
|
buttonLabel: "Choose files",
|
|
815
814
|
helperText: "Supports PDF, CSV and images."
|
|
816
|
-
}) : /* @__PURE__ */
|
|
815
|
+
}) : /* @__PURE__ */ X("div", {
|
|
817
816
|
className: "grid gap-4 md:grid-cols-[160px_1fr] md:items-center",
|
|
818
|
-
children: [/* @__PURE__ */
|
|
817
|
+
children: [/* @__PURE__ */ Y("div", {
|
|
819
818
|
className: "flex aspect-square items-center justify-center rounded-2xl border border-dashed border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)]",
|
|
820
|
-
children: /* @__PURE__ */
|
|
821
|
-
}), /* @__PURE__ */
|
|
819
|
+
children: /* @__PURE__ */ Y(q, { className: "size-8 text-[color:var(--aui-page-muted)]" })
|
|
820
|
+
}), /* @__PURE__ */ Y(M, {
|
|
822
821
|
label: "Upload product image",
|
|
823
822
|
description: "Shows the image-upload flow without custom CSS.",
|
|
824
823
|
accept: "image/*"
|
|
825
824
|
})]
|
|
826
825
|
});
|
|
827
826
|
}
|
|
828
|
-
function
|
|
827
|
+
function pe({ slug: e }) {
|
|
829
828
|
let t = [
|
|
830
829
|
{
|
|
831
830
|
id: "profile",
|
|
@@ -844,39 +843,39 @@ function he({ slug: e }) {
|
|
|
844
843
|
description: "Confirm data"
|
|
845
844
|
}
|
|
846
845
|
];
|
|
847
|
-
return e === "stepper" ? /* @__PURE__ */
|
|
846
|
+
return e === "stepper" ? /* @__PURE__ */ Y(N, {
|
|
848
847
|
steps: t,
|
|
849
848
|
currentStep: "billing",
|
|
850
849
|
onStepChange: () => void 0
|
|
851
|
-
}) : /* @__PURE__ */
|
|
850
|
+
}) : /* @__PURE__ */ Y(P, {
|
|
852
851
|
steps: t,
|
|
853
852
|
currentStep: "billing",
|
|
854
853
|
onNext: () => void 0,
|
|
855
854
|
onPrevious: () => void 0,
|
|
856
855
|
onFinish: () => void 0,
|
|
857
|
-
children: /* @__PURE__ */
|
|
856
|
+
children: /* @__PURE__ */ X("div", {
|
|
858
857
|
className: "rounded-xl border border-[color:var(--aui-divider)] bg-[color:var(--aui-page-bg)] p-4",
|
|
859
|
-
children: [/* @__PURE__ */
|
|
858
|
+
children: [/* @__PURE__ */ Y("p", {
|
|
860
859
|
className: "font-medium text-[color:var(--aui-page-foreground)]",
|
|
861
860
|
children: "Billing setup"
|
|
862
|
-
}), /* @__PURE__ */
|
|
861
|
+
}), /* @__PURE__ */ Y("p", {
|
|
863
862
|
className: "mt-1 text-sm text-[color:var(--aui-page-muted)]",
|
|
864
863
|
children: "Wizard combines steps, content and footer controls."
|
|
865
864
|
})]
|
|
866
865
|
})
|
|
867
866
|
});
|
|
868
867
|
}
|
|
869
|
-
function
|
|
870
|
-
return t === "resource-detail-page" ? /* @__PURE__ */
|
|
868
|
+
function me({ slug: t }) {
|
|
869
|
+
return t === "resource-detail-page" ? /* @__PURE__ */ Y(I, {
|
|
871
870
|
title: "Customer profile",
|
|
872
871
|
description: "ResourceDetailPage organizes detail screens.",
|
|
873
|
-
actions: /* @__PURE__ */
|
|
872
|
+
actions: /* @__PURE__ */ Y(e, {
|
|
874
873
|
size: "sm",
|
|
875
874
|
children: "Edit"
|
|
876
875
|
}),
|
|
877
|
-
children: /* @__PURE__ */
|
|
876
|
+
children: /* @__PURE__ */ Y(R, {
|
|
878
877
|
title: "Account",
|
|
879
|
-
children: /* @__PURE__ */
|
|
878
|
+
children: /* @__PURE__ */ Y(S, { items: [{
|
|
880
879
|
key: "plan",
|
|
881
880
|
label: "Plan",
|
|
882
881
|
value: "Scale"
|
|
@@ -886,23 +885,23 @@ function ge({ slug: t }) {
|
|
|
886
885
|
value: "Design team"
|
|
887
886
|
}] })
|
|
888
887
|
})
|
|
889
|
-
}) : /* @__PURE__ */
|
|
888
|
+
}) : /* @__PURE__ */ Y(L, {
|
|
890
889
|
title: "Customers",
|
|
891
890
|
description: "ResourcePage combines header, stats, filters and sections.",
|
|
892
|
-
actions: /* @__PURE__ */
|
|
891
|
+
actions: /* @__PURE__ */ Y(e, {
|
|
893
892
|
size: "sm",
|
|
894
893
|
children: "New customer"
|
|
895
894
|
}),
|
|
896
|
-
stats: /* @__PURE__ */
|
|
895
|
+
stats: /* @__PURE__ */ X("div", {
|
|
897
896
|
className: "grid gap-3 sm:grid-cols-2",
|
|
898
|
-
children: [/* @__PURE__ */
|
|
897
|
+
children: [/* @__PURE__ */ Y(O, {
|
|
899
898
|
title: "Active",
|
|
900
899
|
value: "2,418",
|
|
901
900
|
trend: {
|
|
902
901
|
value: "+8%",
|
|
903
902
|
tone: "success"
|
|
904
903
|
}
|
|
905
|
-
}), /* @__PURE__ */
|
|
904
|
+
}), /* @__PURE__ */ Y(O, {
|
|
906
905
|
title: "Health",
|
|
907
906
|
value: "94%",
|
|
908
907
|
trend: {
|
|
@@ -911,8 +910,8 @@ function ge({ slug: t }) {
|
|
|
911
910
|
}
|
|
912
911
|
})]
|
|
913
912
|
}),
|
|
914
|
-
filters: /* @__PURE__ */
|
|
915
|
-
search: /* @__PURE__ */
|
|
913
|
+
filters: /* @__PURE__ */ Y(d, {
|
|
914
|
+
search: /* @__PURE__ */ Y(r, {
|
|
916
915
|
type: "search",
|
|
917
916
|
value: "",
|
|
918
917
|
placeholder: "Search...",
|
|
@@ -920,9 +919,9 @@ function ge({ slug: t }) {
|
|
|
920
919
|
}),
|
|
921
920
|
activeCount: 1
|
|
922
921
|
}),
|
|
923
|
-
children: /* @__PURE__ */
|
|
922
|
+
children: /* @__PURE__ */ Y(R, {
|
|
924
923
|
title: "Recent activity",
|
|
925
|
-
children: /* @__PURE__ */
|
|
924
|
+
children: /* @__PURE__ */ Y(E, { items: [{
|
|
926
925
|
key: "a",
|
|
927
926
|
title: "Customer added",
|
|
928
927
|
description: "Acme workspace",
|
|
@@ -937,4 +936,4 @@ function ge({ slug: t }) {
|
|
|
937
936
|
});
|
|
938
937
|
}
|
|
939
938
|
//#endregion
|
|
940
|
-
export {
|
|
939
|
+
export { Z as renderShowcasePreview };
|