@gntik-ai/ui 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +323 -196
- package/dist/index.js +480 -288
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -360,6 +360,12 @@ const en = {
|
|
|
360
360
|
"calendar.agenda": "Agenda",
|
|
361
361
|
"calendar.emptyTitle": "Nothing scheduled",
|
|
362
362
|
"calendar.emptyDescription": "There is no scheduled work in this period.",
|
|
363
|
+
"table.loadMore": "Load more",
|
|
364
|
+
"table.loadingMore": "Loading…",
|
|
365
|
+
"table.loadMoreGroup": "Load more items",
|
|
366
|
+
"table.moreAvailable": "More items available.",
|
|
367
|
+
"table.loadedSummary": "{count, plural, one {# item loaded} other {# items loaded}}",
|
|
368
|
+
"table.loadedAnnouncement": "{count, plural, one {# item added.} other {# items added.}}",
|
|
363
369
|
"table.rows": "Rows",
|
|
364
370
|
"table.collectionNoun": "{count, plural, one {item} other {items}}",
|
|
365
371
|
"table.visibleCount": "{noun}:",
|
|
@@ -911,6 +917,12 @@ const es = {
|
|
|
911
917
|
"calendar.agenda": "Agenda",
|
|
912
918
|
"calendar.emptyTitle": "Nada programado",
|
|
913
919
|
"calendar.emptyDescription": "No hay trabajo programado en este periodo.",
|
|
920
|
+
"table.loadMore": "Cargar más",
|
|
921
|
+
"table.loadingMore": "Cargando…",
|
|
922
|
+
"table.loadMoreGroup": "Cargar más elementos",
|
|
923
|
+
"table.moreAvailable": "Hay más elementos disponibles.",
|
|
924
|
+
"table.loadedSummary": "{count, plural, one {# elemento cargado} other {# elementos cargados}}",
|
|
925
|
+
"table.loadedAnnouncement": "{count, plural, one {# elemento añadido.} other {# elementos añadidos.}}",
|
|
914
926
|
"table.rows": "Filas",
|
|
915
927
|
"table.collectionNoun": "{count, plural, one {elemento} other {elementos}}",
|
|
916
928
|
"table.visibleCount": "{noun}:",
|
|
@@ -2132,7 +2144,7 @@ const alertDialogVariants = tv({
|
|
|
2132
2144
|
});
|
|
2133
2145
|
//#endregion
|
|
2134
2146
|
//#region src/components/AlertDialog/AlertDialog.tsx
|
|
2135
|
-
const s$
|
|
2147
|
+
const s$26 = alertDialogVariants();
|
|
2136
2148
|
const TONE_ICON$1 = {
|
|
2137
2149
|
destructive: TriangleAlert,
|
|
2138
2150
|
warning: TriangleAlert,
|
|
@@ -2155,7 +2167,7 @@ function AlertDialogContent({ size = "sm", className, container, children, ...pr
|
|
|
2155
2167
|
dir,
|
|
2156
2168
|
className: v.viewport(),
|
|
2157
2169
|
children: /* @__PURE__ */ jsx(AlertDialog$1.Popup, {
|
|
2158
|
-
className: cn(v.popup(), s$
|
|
2170
|
+
className: cn(v.popup(), s$26.popup(), className),
|
|
2159
2171
|
...props,
|
|
2160
2172
|
children
|
|
2161
2173
|
})
|
|
@@ -2166,7 +2178,7 @@ function AlertDialogContent({ size = "sm", className, container, children, ...pr
|
|
|
2166
2178
|
function AlertDialogHeader({ tone = "destructive", icon, className, children, ...props }) {
|
|
2167
2179
|
const IconCmp = icon === void 0 ? TONE_ICON$1[tone] : icon;
|
|
2168
2180
|
return /* @__PURE__ */ jsxs("div", {
|
|
2169
|
-
className: cn(s$
|
|
2181
|
+
className: cn(s$26.header(), className),
|
|
2170
2182
|
...props,
|
|
2171
2183
|
children: [IconCmp && /* @__PURE__ */ jsx("span", {
|
|
2172
2184
|
className: alertDialogVariants({ tone }).icon(),
|
|
@@ -2175,27 +2187,27 @@ function AlertDialogHeader({ tone = "destructive", icon, className, children, ..
|
|
|
2175
2187
|
"aria-hidden": true
|
|
2176
2188
|
})
|
|
2177
2189
|
}), /* @__PURE__ */ jsx("div", {
|
|
2178
|
-
className: s$
|
|
2190
|
+
className: s$26.text(),
|
|
2179
2191
|
children
|
|
2180
2192
|
})]
|
|
2181
2193
|
});
|
|
2182
2194
|
}
|
|
2183
2195
|
function AlertDialogTitle({ className, ...props }) {
|
|
2184
2196
|
return /* @__PURE__ */ jsx(AlertDialog$1.Title, {
|
|
2185
|
-
className: cn(s$
|
|
2197
|
+
className: cn(s$26.title(), className),
|
|
2186
2198
|
...props
|
|
2187
2199
|
});
|
|
2188
2200
|
}
|
|
2189
2201
|
function AlertDialogDescription({ className, ...props }) {
|
|
2190
2202
|
return /* @__PURE__ */ jsx(AlertDialog$1.Description, {
|
|
2191
|
-
className: cn(s$
|
|
2203
|
+
className: cn(s$26.description(), className),
|
|
2192
2204
|
...props
|
|
2193
2205
|
});
|
|
2194
2206
|
}
|
|
2195
2207
|
/** Right-aligned action row: Cancel first, the confirming action last. */
|
|
2196
2208
|
function AlertDialogFooter({ className, ...props }) {
|
|
2197
2209
|
return /* @__PURE__ */ jsx("div", {
|
|
2198
|
-
className: cn(s$
|
|
2210
|
+
className: cn(s$26.footer(), className),
|
|
2199
2211
|
...props
|
|
2200
2212
|
});
|
|
2201
2213
|
}
|
|
@@ -3180,7 +3192,7 @@ function Link({ tone, underline, external = false, externalLabel: externalLabelP
|
|
|
3180
3192
|
}
|
|
3181
3193
|
//#endregion
|
|
3182
3194
|
//#region src/components/Link/Link.doc.ts
|
|
3183
|
-
const doc$
|
|
3195
|
+
const doc$42 = {
|
|
3184
3196
|
name: "Link",
|
|
3185
3197
|
group: "Navigation",
|
|
3186
3198
|
status: "stable",
|
|
@@ -3455,7 +3467,7 @@ function normalizeRange(a, b) {
|
|
|
3455
3467
|
}
|
|
3456
3468
|
//#endregion
|
|
3457
3469
|
//#region src/components/Calendar/Calendar.tsx
|
|
3458
|
-
const s$
|
|
3470
|
+
const s$25 = calendarVariants();
|
|
3459
3471
|
const EMPTY_RANGE = {
|
|
3460
3472
|
start: null,
|
|
3461
3473
|
end: null
|
|
@@ -3567,64 +3579,64 @@ function Calendar(props) {
|
|
|
3567
3579
|
ref: setRefs,
|
|
3568
3580
|
role: "group",
|
|
3569
3581
|
"aria-label": props["aria-label"] ?? t("calendar.label"),
|
|
3570
|
-
className: cn(s$
|
|
3582
|
+
className: cn(s$25.root(), className),
|
|
3571
3583
|
children: months.map((m, mi) => {
|
|
3572
3584
|
const headingId = `${baseId}-m${mi}`;
|
|
3573
3585
|
return /* @__PURE__ */ jsxs("div", {
|
|
3574
|
-
className: s$
|
|
3586
|
+
className: s$25.month(),
|
|
3575
3587
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
3576
|
-
className: s$
|
|
3588
|
+
className: s$25.header(),
|
|
3577
3589
|
children: [
|
|
3578
3590
|
mi === 0 ? /* @__PURE__ */ jsx("button", {
|
|
3579
3591
|
type: "button",
|
|
3580
3592
|
"aria-label": previousMonthLabel,
|
|
3581
3593
|
disabled: prevDisabled,
|
|
3582
|
-
className: s$
|
|
3594
|
+
className: s$25.nav(),
|
|
3583
3595
|
onClick: () => setMonth(addMonths(visibleMonth, -1)),
|
|
3584
3596
|
children: /* @__PURE__ */ jsx(ChevronLeft, {
|
|
3585
3597
|
size: 16,
|
|
3586
3598
|
"aria-hidden": true,
|
|
3587
3599
|
className: RTL_FLIP
|
|
3588
3600
|
})
|
|
3589
|
-
}) : /* @__PURE__ */ jsx("span", { className: s$
|
|
3601
|
+
}) : /* @__PURE__ */ jsx("span", { className: s$25.navSpacer() }),
|
|
3590
3602
|
/* @__PURE__ */ jsx("h2", {
|
|
3591
3603
|
id: headingId,
|
|
3592
3604
|
"aria-live": "polite",
|
|
3593
|
-
className: s$
|
|
3605
|
+
className: s$25.heading(),
|
|
3594
3606
|
children: formatMonth(m, locale)
|
|
3595
3607
|
}),
|
|
3596
3608
|
mi === months.length - 1 ? /* @__PURE__ */ jsx("button", {
|
|
3597
3609
|
type: "button",
|
|
3598
3610
|
"aria-label": nextMonthLabel,
|
|
3599
3611
|
disabled: nextDisabled,
|
|
3600
|
-
className: s$
|
|
3612
|
+
className: s$25.nav(),
|
|
3601
3613
|
onClick: () => setMonth(addMonths(visibleMonth, 1)),
|
|
3602
3614
|
children: /* @__PURE__ */ jsx(ChevronRight, {
|
|
3603
3615
|
size: 16,
|
|
3604
3616
|
"aria-hidden": true,
|
|
3605
3617
|
className: RTL_FLIP
|
|
3606
3618
|
})
|
|
3607
|
-
}) : /* @__PURE__ */ jsx("span", { className: s$
|
|
3619
|
+
}) : /* @__PURE__ */ jsx("span", { className: s$25.navSpacer() })
|
|
3608
3620
|
]
|
|
3609
3621
|
}), /* @__PURE__ */ jsxs("table", {
|
|
3610
3622
|
role: "grid",
|
|
3611
3623
|
"aria-labelledby": headingId,
|
|
3612
|
-
className: s$
|
|
3624
|
+
className: s$25.grid(),
|
|
3613
3625
|
children: [/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsx("tr", { children: weekdays.map((w) => /* @__PURE__ */ jsx("th", {
|
|
3614
3626
|
scope: "col",
|
|
3615
|
-
className: s$
|
|
3627
|
+
className: s$25.weekday(),
|
|
3616
3628
|
children: /* @__PURE__ */ jsx("abbr", {
|
|
3617
3629
|
title: w.long,
|
|
3618
|
-
className: s$
|
|
3630
|
+
className: s$25.weekdayAbbr(),
|
|
3619
3631
|
children: w.narrow
|
|
3620
3632
|
})
|
|
3621
3633
|
}, w.long)) }) }), /* @__PURE__ */ jsx("tbody", { children: monthWeeks(m, weekStartsOn).map((week) => /* @__PURE__ */ jsx("tr", { children: week.map((d) => {
|
|
3622
3634
|
const key = toISODate(d);
|
|
3623
3635
|
if (!isSameMonth(d, m)) return /* @__PURE__ */ jsx("td", {
|
|
3624
|
-
className: s$
|
|
3636
|
+
className: s$25.cell(),
|
|
3625
3637
|
children: showOutsideDays && /* @__PURE__ */ jsx("span", {
|
|
3626
3638
|
"aria-hidden": true,
|
|
3627
|
-
className: s$
|
|
3639
|
+
className: s$25.outside(),
|
|
3628
3640
|
children: d.getDate()
|
|
3629
3641
|
})
|
|
3630
3642
|
}, key);
|
|
@@ -3639,7 +3651,7 @@ function Calendar(props) {
|
|
|
3639
3651
|
"data-in-range": within || void 0,
|
|
3640
3652
|
"data-range-start": rangeStart || void 0,
|
|
3641
3653
|
"data-range-end": rangeEnd || void 0,
|
|
3642
|
-
className: s$
|
|
3654
|
+
className: s$25.cell(),
|
|
3643
3655
|
children: /* @__PURE__ */ jsx("button", {
|
|
3644
3656
|
type: "button",
|
|
3645
3657
|
"data-day": key,
|
|
@@ -3650,7 +3662,7 @@ function Calendar(props) {
|
|
|
3650
3662
|
"aria-label": formatDayLabel(d, locale),
|
|
3651
3663
|
"aria-current": today ? "date" : void 0,
|
|
3652
3664
|
"aria-disabled": disabled || void 0,
|
|
3653
|
-
className: s$
|
|
3665
|
+
className: s$25.day(),
|
|
3654
3666
|
onClick: () => select(d),
|
|
3655
3667
|
onKeyDown: (e) => onDayKeyDown(e, d),
|
|
3656
3668
|
onFocus: () => setFocused(d),
|
|
@@ -3715,7 +3727,7 @@ const cardVariants = tv({
|
|
|
3715
3727
|
});
|
|
3716
3728
|
//#endregion
|
|
3717
3729
|
//#region src/components/Card/Card.tsx
|
|
3718
|
-
const s$
|
|
3730
|
+
const s$24 = cardVariants();
|
|
3719
3731
|
/** Content surface: 1px border, token radius and a flat shadow. Compose with the Card* parts. */
|
|
3720
3732
|
function Card({ variant, className, ...props }) {
|
|
3721
3733
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -3732,33 +3744,33 @@ function CardHeader({ divided, className, ...props }) {
|
|
|
3732
3744
|
}
|
|
3733
3745
|
function CardTitle({ as: Heading = "h3", className, ...props }) {
|
|
3734
3746
|
return /* @__PURE__ */ jsx(Heading, {
|
|
3735
|
-
className: cn(s$
|
|
3747
|
+
className: cn(s$24.title(), className),
|
|
3736
3748
|
...props
|
|
3737
3749
|
});
|
|
3738
3750
|
}
|
|
3739
3751
|
function CardDescription({ className, ...props }) {
|
|
3740
3752
|
return /* @__PURE__ */ jsx("p", {
|
|
3741
|
-
className: cn(s$
|
|
3753
|
+
className: cn(s$24.description(), className),
|
|
3742
3754
|
...props
|
|
3743
3755
|
});
|
|
3744
3756
|
}
|
|
3745
3757
|
/** Right-hand header slot (button, menu, status). */
|
|
3746
3758
|
function CardAction({ className, ...props }) {
|
|
3747
3759
|
return /* @__PURE__ */ jsx("div", {
|
|
3748
|
-
className: cn(s$
|
|
3760
|
+
className: cn(s$24.action(), className),
|
|
3749
3761
|
...props
|
|
3750
3762
|
});
|
|
3751
3763
|
}
|
|
3752
3764
|
function CardBody({ className, ...props }) {
|
|
3753
3765
|
return /* @__PURE__ */ jsx("div", {
|
|
3754
|
-
className: cn(s$
|
|
3766
|
+
className: cn(s$24.body(), className),
|
|
3755
3767
|
...props
|
|
3756
3768
|
});
|
|
3757
3769
|
}
|
|
3758
3770
|
/** Action row on a subtle well, right-aligned. */
|
|
3759
3771
|
function CardFooter({ className, ...props }) {
|
|
3760
3772
|
return /* @__PURE__ */ jsx("div", {
|
|
3761
|
-
className: cn(s$
|
|
3773
|
+
className: cn(s$24.footer(), className),
|
|
3762
3774
|
...props
|
|
3763
3775
|
});
|
|
3764
3776
|
}
|
|
@@ -4068,7 +4080,7 @@ const checkboxVariants = tv({
|
|
|
4068
4080
|
});
|
|
4069
4081
|
//#endregion
|
|
4070
4082
|
//#region src/components/Checkbox/Checkbox.tsx
|
|
4071
|
-
const s$
|
|
4083
|
+
const s$23 = checkboxVariants();
|
|
4072
4084
|
/**
|
|
4073
4085
|
* Two-state (or indeterminate) checkbox. Controlled with `checked` + `onCheckedChange`,
|
|
4074
4086
|
* uncontrolled with `defaultChecked`. Inside a CheckboxGroup, identify it with `value`.
|
|
@@ -4076,11 +4088,11 @@ const s$22 = checkboxVariants();
|
|
|
4076
4088
|
function Checkbox({ label, description, className, ...props }) {
|
|
4077
4089
|
const descId = useId();
|
|
4078
4090
|
const control = /* @__PURE__ */ jsx(Checkbox$1.Root, {
|
|
4079
|
-
className: cn(s$
|
|
4091
|
+
className: cn(s$23.root(), label != null && "mt-px", label == null && className),
|
|
4080
4092
|
"aria-describedby": description != null ? descId : void 0,
|
|
4081
4093
|
...props,
|
|
4082
4094
|
children: /* @__PURE__ */ jsx(Checkbox$1.Indicator, {
|
|
4083
|
-
className: s$
|
|
4095
|
+
className: s$23.indicator(),
|
|
4084
4096
|
render: (indicatorProps, state) => /* @__PURE__ */ jsx("span", {
|
|
4085
4097
|
...indicatorProps,
|
|
4086
4098
|
children: state.indeterminate ? /* @__PURE__ */ jsx(Minus, {
|
|
@@ -4097,16 +4109,16 @@ function Checkbox({ label, description, className, ...props }) {
|
|
|
4097
4109
|
});
|
|
4098
4110
|
if (label == null) return control;
|
|
4099
4111
|
return /* @__PURE__ */ jsxs("div", {
|
|
4100
|
-
className: cn(s$
|
|
4112
|
+
className: cn(s$23.item(), className),
|
|
4101
4113
|
children: [/* @__PURE__ */ jsxs("label", {
|
|
4102
|
-
className: s$
|
|
4114
|
+
className: s$23.label(),
|
|
4103
4115
|
children: [control, /* @__PURE__ */ jsx("span", {
|
|
4104
|
-
className: s$
|
|
4116
|
+
className: s$23.labelText(),
|
|
4105
4117
|
children: label
|
|
4106
4118
|
})]
|
|
4107
4119
|
}), description != null && /* @__PURE__ */ jsx("p", {
|
|
4108
4120
|
id: descId,
|
|
4109
|
-
className: s$
|
|
4121
|
+
className: s$23.description(),
|
|
4110
4122
|
children: description
|
|
4111
4123
|
})]
|
|
4112
4124
|
});
|
|
@@ -4198,7 +4210,7 @@ const selectableCardVariants = tv({
|
|
|
4198
4210
|
});
|
|
4199
4211
|
//#endregion
|
|
4200
4212
|
//#region src/components/ChoiceCard/ClickableCard.tsx
|
|
4201
|
-
const s$
|
|
4213
|
+
const s$22 = clickableCardVariants();
|
|
4202
4214
|
/**
|
|
4203
4215
|
* A card whose whole surface is one link or button. The title holds the only focus target and
|
|
4204
4216
|
* stretches over the card, so the accessible name stays short and the description is linked
|
|
@@ -4211,27 +4223,27 @@ function ClickableCard({ title, description, meta, icon, href, onClick, titleAs:
|
|
|
4211
4223
|
href,
|
|
4212
4224
|
onClick,
|
|
4213
4225
|
"aria-describedby": describedBy,
|
|
4214
|
-
className: cn(s$
|
|
4226
|
+
className: cn(s$22.action(), s$22.title()),
|
|
4215
4227
|
children: title
|
|
4216
4228
|
}) : /* @__PURE__ */ jsx("button", {
|
|
4217
4229
|
type: "button",
|
|
4218
4230
|
onClick,
|
|
4219
4231
|
disabled,
|
|
4220
4232
|
"aria-describedby": describedBy,
|
|
4221
|
-
className: cn(s$
|
|
4233
|
+
className: cn(s$22.action(), s$22.title()),
|
|
4222
4234
|
children: title
|
|
4223
4235
|
});
|
|
4224
4236
|
return /* @__PURE__ */ jsxs("div", {
|
|
4225
4237
|
"data-disabled": disabled || void 0,
|
|
4226
|
-
className: cn("group/card", s$
|
|
4238
|
+
className: cn("group/card", s$22.root(), className),
|
|
4227
4239
|
...props,
|
|
4228
4240
|
children: [
|
|
4229
4241
|
icon != null && /* @__PURE__ */ jsx("span", {
|
|
4230
|
-
className: s$
|
|
4242
|
+
className: s$22.icon(),
|
|
4231
4243
|
children: icon
|
|
4232
4244
|
}),
|
|
4233
4245
|
/* @__PURE__ */ jsxs("div", {
|
|
4234
|
-
className: s$
|
|
4246
|
+
className: s$22.body(),
|
|
4235
4247
|
children: [
|
|
4236
4248
|
/* @__PURE__ */ jsx(Title, {
|
|
4237
4249
|
className: "block",
|
|
@@ -4239,11 +4251,11 @@ function ClickableCard({ title, description, meta, icon, href, onClick, titleAs:
|
|
|
4239
4251
|
}),
|
|
4240
4252
|
description != null && /* @__PURE__ */ jsx("span", {
|
|
4241
4253
|
id: descId,
|
|
4242
|
-
className: s$
|
|
4254
|
+
className: s$22.description(),
|
|
4243
4255
|
children: description
|
|
4244
4256
|
}),
|
|
4245
4257
|
meta != null && /* @__PURE__ */ jsx("div", {
|
|
4246
|
-
className: s$
|
|
4258
|
+
className: s$22.meta(),
|
|
4247
4259
|
children: meta
|
|
4248
4260
|
}),
|
|
4249
4261
|
children
|
|
@@ -4251,7 +4263,7 @@ function ClickableCard({ title, description, meta, icon, href, onClick, titleAs:
|
|
|
4251
4263
|
}),
|
|
4252
4264
|
chevron && /* @__PURE__ */ jsx(ChevronRight, {
|
|
4253
4265
|
"aria-hidden": true,
|
|
4254
|
-
className: s$
|
|
4266
|
+
className: s$22.chevron()
|
|
4255
4267
|
})
|
|
4256
4268
|
]
|
|
4257
4269
|
});
|
|
@@ -4780,7 +4792,7 @@ const doc$18 = {
|
|
|
4780
4792
|
};
|
|
4781
4793
|
//#endregion
|
|
4782
4794
|
//#region src/components/Spinner/Spinner.doc.ts
|
|
4783
|
-
const doc$
|
|
4795
|
+
const doc$77 = {
|
|
4784
4796
|
name: "Spinner",
|
|
4785
4797
|
group: "Feedback",
|
|
4786
4798
|
status: "stable",
|
|
@@ -5083,7 +5095,7 @@ function EnhancedCombobox({ root, loadOptions, debounceMs, onCreate, createLabel
|
|
|
5083
5095
|
}
|
|
5084
5096
|
//#endregion
|
|
5085
5097
|
//#region src/components/Combobox/Combobox.tsx
|
|
5086
|
-
const s$
|
|
5098
|
+
const s$21 = comboboxVariants();
|
|
5087
5099
|
/** Single-select field: search icon, text input, optional clear, chevron trigger. */
|
|
5088
5100
|
function ComboboxInput({ size, label, className, showClear = false, clearLabel: clearLabelProp, triggerLabel: triggerLabelProp, id, ...props }) {
|
|
5089
5101
|
const { t } = useI18n();
|
|
@@ -5095,7 +5107,7 @@ function ComboboxInput({ size, label, className, showClear = false, clearLabel:
|
|
|
5095
5107
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [label && /* @__PURE__ */ jsx("label", {
|
|
5096
5108
|
id: `${inputId}-label`,
|
|
5097
5109
|
htmlFor: inputId,
|
|
5098
|
-
className: s$
|
|
5110
|
+
className: s$21.label(),
|
|
5099
5111
|
children: label
|
|
5100
5112
|
}), /* @__PURE__ */ jsxs(Combobox$1.InputGroup, {
|
|
5101
5113
|
className: cn(v.inputGroup(), className),
|
|
@@ -5144,20 +5156,20 @@ function ComboboxChipsInput({ label, className, placeholder, getLabel = defaultL
|
|
|
5144
5156
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [label && /* @__PURE__ */ jsx("label", {
|
|
5145
5157
|
id: `${inputId}-label`,
|
|
5146
5158
|
htmlFor: inputId,
|
|
5147
|
-
className: s$
|
|
5159
|
+
className: s$21.label(),
|
|
5148
5160
|
children: label
|
|
5149
5161
|
}), /* @__PURE__ */ jsx(Combobox$1.InputGroup, {
|
|
5150
|
-
className: cn(s$
|
|
5162
|
+
className: cn(s$21.chipsGroup(), className),
|
|
5151
5163
|
children: /* @__PURE__ */ jsx(Combobox$1.Value, { children: (values) => /* @__PURE__ */ jsxs(Combobox$1.Chips, {
|
|
5152
|
-
className: s$
|
|
5164
|
+
className: s$21.chips(),
|
|
5153
5165
|
children: [values.map((item, i) => {
|
|
5154
5166
|
const text = getLabel(item);
|
|
5155
5167
|
return /* @__PURE__ */ jsxs(Combobox$1.Chip, {
|
|
5156
|
-
className: s$
|
|
5168
|
+
className: s$21.chip(),
|
|
5157
5169
|
"aria-label": text,
|
|
5158
5170
|
children: [text, /* @__PURE__ */ jsx(Combobox$1.ChipRemove, {
|
|
5159
5171
|
"aria-label": removeLabel(text),
|
|
5160
|
-
className: s$
|
|
5172
|
+
className: s$21.chipRemove(),
|
|
5161
5173
|
children: /* @__PURE__ */ jsx(X, {
|
|
5162
5174
|
size: 11,
|
|
5163
5175
|
strokeWidth: 2.4,
|
|
@@ -5169,7 +5181,7 @@ function ComboboxChipsInput({ label, className, placeholder, getLabel = defaultL
|
|
|
5169
5181
|
id: inputId,
|
|
5170
5182
|
"aria-labelledby": label ? `${inputId}-label` : void 0,
|
|
5171
5183
|
placeholder: values.length ? void 0 : placeholder,
|
|
5172
|
-
className: s$
|
|
5184
|
+
className: s$21.chipsInput(),
|
|
5173
5185
|
...props
|
|
5174
5186
|
})]
|
|
5175
5187
|
}) })
|
|
@@ -5190,24 +5202,24 @@ function ComboboxContent({ className, emptyText: emptyTextProp, side = "bottom",
|
|
|
5190
5202
|
container,
|
|
5191
5203
|
children: /* @__PURE__ */ jsx(Combobox$1.Positioner, {
|
|
5192
5204
|
dir,
|
|
5193
|
-
className: s$
|
|
5205
|
+
className: s$21.positioner(),
|
|
5194
5206
|
side,
|
|
5195
5207
|
align,
|
|
5196
5208
|
sideOffset,
|
|
5197
5209
|
children: /* @__PURE__ */ jsxs(Combobox$1.Popup, {
|
|
5198
|
-
className: cn(s$
|
|
5210
|
+
className: cn(s$21.popup(), className),
|
|
5199
5211
|
...props,
|
|
5200
5212
|
children: [
|
|
5201
5213
|
enh && /* @__PURE__ */ jsx(Combobox$1.Status, {
|
|
5202
|
-
className: cn(s$
|
|
5214
|
+
className: cn(s$21.status(), !!enh.error && !enh.loading && s$21.statusError()),
|
|
5203
5215
|
children: enh.loading ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Spinner, { size: 13 }), enh.loadingText ?? t("common.loading")] }) : enh.error ? errorText : null
|
|
5204
5216
|
}),
|
|
5205
5217
|
/* @__PURE__ */ jsx(Combobox$1.Empty, {
|
|
5206
|
-
className: s$
|
|
5218
|
+
className: s$21.empty(),
|
|
5207
5219
|
children: busy ? null : emptyText
|
|
5208
5220
|
}),
|
|
5209
5221
|
/* @__PURE__ */ jsx(Combobox$1.List, {
|
|
5210
|
-
className: s$
|
|
5222
|
+
className: s$21.list(),
|
|
5211
5223
|
"aria-busy": enh?.loading || void 0,
|
|
5212
5224
|
children: list
|
|
5213
5225
|
})
|
|
@@ -5224,17 +5236,17 @@ function ComboboxSpecialItem({ item, createLabel }) {
|
|
|
5224
5236
|
const create = item.__gntikSpecial === "create";
|
|
5225
5237
|
return /* @__PURE__ */ jsx(Combobox$1.Item, {
|
|
5226
5238
|
value: item,
|
|
5227
|
-
className: cn(s$
|
|
5239
|
+
className: cn(s$21.item(), s$21.specialItem()),
|
|
5228
5240
|
children: /* @__PURE__ */ jsxs("span", {
|
|
5229
|
-
className: s$
|
|
5241
|
+
className: s$21.itemContent(),
|
|
5230
5242
|
children: [create ? /* @__PURE__ */ jsx(Plus, {
|
|
5231
5243
|
size: 14,
|
|
5232
5244
|
"aria-hidden": true,
|
|
5233
|
-
className: s$
|
|
5245
|
+
className: s$21.specialIcon()
|
|
5234
5246
|
}) : /* @__PURE__ */ jsx(RotateCw, {
|
|
5235
5247
|
size: 14,
|
|
5236
5248
|
"aria-hidden": true,
|
|
5237
|
-
className: s$
|
|
5249
|
+
className: s$21.specialIcon()
|
|
5238
5250
|
}), /* @__PURE__ */ jsx("span", {
|
|
5239
5251
|
className: "truncate",
|
|
5240
5252
|
children: create ? label?.(item.value) ?? t("combobox.create", { label: item.value }) : t("common.retry")
|
|
@@ -5245,13 +5257,13 @@ function ComboboxSpecialItem({ item, createLabel }) {
|
|
|
5245
5257
|
/** One option. Shows a check when selected. */
|
|
5246
5258
|
function ComboboxItem({ className, children, ...props }) {
|
|
5247
5259
|
return /* @__PURE__ */ jsxs(Combobox$1.Item, {
|
|
5248
|
-
className: cn(s$
|
|
5260
|
+
className: cn(s$21.item(), className),
|
|
5249
5261
|
...props,
|
|
5250
5262
|
children: [/* @__PURE__ */ jsx("span", {
|
|
5251
|
-
className: s$
|
|
5263
|
+
className: s$21.itemContent(),
|
|
5252
5264
|
children
|
|
5253
5265
|
}), /* @__PURE__ */ jsx(Combobox$1.ItemIndicator, {
|
|
5254
|
-
className: s$
|
|
5266
|
+
className: s$21.indicator(),
|
|
5255
5267
|
children: /* @__PURE__ */ jsx(Check, {
|
|
5256
5268
|
size: 15,
|
|
5257
5269
|
strokeWidth: 2.4,
|
|
@@ -5375,7 +5387,7 @@ function KbdCombo({ keys, size, separator, className, ...props }) {
|
|
|
5375
5387
|
}
|
|
5376
5388
|
//#endregion
|
|
5377
5389
|
//#region src/components/Kbd/Kbd.doc.ts
|
|
5378
|
-
const doc$
|
|
5390
|
+
const doc$39 = {
|
|
5379
5391
|
name: "Kbd",
|
|
5380
5392
|
group: "Display",
|
|
5381
5393
|
status: "stable",
|
|
@@ -5515,7 +5527,7 @@ function useCommandPaletteShortcut(onTrigger, { key = "k", enabled = true } = {}
|
|
|
5515
5527
|
}
|
|
5516
5528
|
//#endregion
|
|
5517
5529
|
//#region src/components/CommandPalette/CommandPalette.tsx
|
|
5518
|
-
const s$
|
|
5530
|
+
const s$20 = commandPaletteVariants();
|
|
5519
5531
|
function CommandRow({ entry, onRun }) {
|
|
5520
5532
|
const { item } = entry;
|
|
5521
5533
|
const v = commandPaletteVariants({ mono: item.mono });
|
|
@@ -5555,11 +5567,11 @@ function CommandRow({ entry, onRun }) {
|
|
|
5555
5567
|
function DefaultFooter({ count, id }) {
|
|
5556
5568
|
const { t } = useI18n();
|
|
5557
5569
|
return /* @__PURE__ */ jsxs("div", {
|
|
5558
|
-
className: s$
|
|
5570
|
+
className: s$20.footer(),
|
|
5559
5571
|
children: [
|
|
5560
5572
|
/* @__PURE__ */ jsxs("span", {
|
|
5561
5573
|
id,
|
|
5562
|
-
className: s$
|
|
5574
|
+
className: s$20.hint(),
|
|
5563
5575
|
children: [
|
|
5564
5576
|
/* @__PURE__ */ jsx(Kbd, {
|
|
5565
5577
|
size: "sm",
|
|
@@ -5573,21 +5585,21 @@ function DefaultFooter({ count, id }) {
|
|
|
5573
5585
|
]
|
|
5574
5586
|
}),
|
|
5575
5587
|
/* @__PURE__ */ jsxs("span", {
|
|
5576
|
-
className: s$
|
|
5588
|
+
className: s$20.hint(),
|
|
5577
5589
|
children: [/* @__PURE__ */ jsx(Kbd, {
|
|
5578
5590
|
size: "sm",
|
|
5579
5591
|
children: "↵"
|
|
5580
5592
|
}), t("commandPalette.run")]
|
|
5581
5593
|
}),
|
|
5582
5594
|
/* @__PURE__ */ jsxs("span", {
|
|
5583
|
-
className: s$
|
|
5595
|
+
className: s$20.hint(),
|
|
5584
5596
|
children: [/* @__PURE__ */ jsx(Kbd, {
|
|
5585
5597
|
size: "sm",
|
|
5586
5598
|
children: "esc"
|
|
5587
5599
|
}), t("commandPalette.close")]
|
|
5588
5600
|
}),
|
|
5589
5601
|
/* @__PURE__ */ jsx("span", {
|
|
5590
|
-
className: s$
|
|
5602
|
+
className: s$20.count(),
|
|
5591
5603
|
"aria-live": "polite",
|
|
5592
5604
|
children: t("common.results", { count })
|
|
5593
5605
|
})
|
|
@@ -5633,12 +5645,12 @@ function CommandPalette({ groups, recent, recentLabel: recentLabelProp, onSelect
|
|
|
5633
5645
|
return /* @__PURE__ */ jsxs(Dialog$1.Root, {
|
|
5634
5646
|
open,
|
|
5635
5647
|
onOpenChange: (next) => setOpen(next),
|
|
5636
|
-
children: [children, /* @__PURE__ */ jsxs(Dialog$1.Portal, { children: [/* @__PURE__ */ jsx(Dialog$1.Backdrop, { className: s$
|
|
5648
|
+
children: [children, /* @__PURE__ */ jsxs(Dialog$1.Portal, { children: [/* @__PURE__ */ jsx(Dialog$1.Backdrop, { className: s$20.backdrop() }), /* @__PURE__ */ jsx(Dialog$1.Viewport, {
|
|
5637
5649
|
dir,
|
|
5638
|
-
className: s$
|
|
5650
|
+
className: s$20.viewport(),
|
|
5639
5651
|
children: /* @__PURE__ */ jsx(Dialog$1.Popup, {
|
|
5640
5652
|
"aria-label": label,
|
|
5641
|
-
className: cn(s$
|
|
5653
|
+
className: cn(s$20.popup(), className),
|
|
5642
5654
|
children: /* @__PURE__ */ jsxs(Autocomplete.Root, {
|
|
5643
5655
|
open: true,
|
|
5644
5656
|
inline: true,
|
|
@@ -5654,18 +5666,18 @@ function CommandPalette({ groups, recent, recentLabel: recentLabelProp, onSelect
|
|
|
5654
5666
|
keepHighlight: true,
|
|
5655
5667
|
children: [
|
|
5656
5668
|
/* @__PURE__ */ jsxs("div", {
|
|
5657
|
-
className: s$
|
|
5669
|
+
className: s$20.inputRow(),
|
|
5658
5670
|
children: [
|
|
5659
5671
|
/* @__PURE__ */ jsx(Search, {
|
|
5660
5672
|
size: 17,
|
|
5661
5673
|
"aria-hidden": true,
|
|
5662
|
-
className: s$
|
|
5674
|
+
className: s$20.inputIcon()
|
|
5663
5675
|
}),
|
|
5664
5676
|
/* @__PURE__ */ jsx(Autocomplete.Input, {
|
|
5665
5677
|
"aria-label": placeholder.replace(/…$/, ""),
|
|
5666
5678
|
"aria-describedby": footer === false ? void 0 : hintsId,
|
|
5667
5679
|
placeholder,
|
|
5668
|
-
className: s$
|
|
5680
|
+
className: s$20.input()
|
|
5669
5681
|
}),
|
|
5670
5682
|
/* @__PURE__ */ jsx(Kbd, {
|
|
5671
5683
|
size: "sm",
|
|
@@ -5675,17 +5687,17 @@ function CommandPalette({ groups, recent, recentLabel: recentLabelProp, onSelect
|
|
|
5675
5687
|
]
|
|
5676
5688
|
}),
|
|
5677
5689
|
/* @__PURE__ */ jsxs("div", {
|
|
5678
|
-
className: s$
|
|
5690
|
+
className: s$20.results(),
|
|
5679
5691
|
children: [/* @__PURE__ */ jsx(Autocomplete.Empty, {
|
|
5680
|
-
className: s$
|
|
5692
|
+
className: s$20.empty(),
|
|
5681
5693
|
children: count === 0 && query.trim() ? emptyText(query.trim()) : null
|
|
5682
5694
|
}), /* @__PURE__ */ jsx(Autocomplete.List, {
|
|
5683
|
-
className: s$
|
|
5695
|
+
className: s$20.list(),
|
|
5684
5696
|
children: (group) => /* @__PURE__ */ jsxs(Autocomplete.Group, {
|
|
5685
5697
|
items: group.items,
|
|
5686
|
-
className: s$
|
|
5698
|
+
className: s$20.group(),
|
|
5687
5699
|
children: [/* @__PURE__ */ jsx(Autocomplete.GroupLabel, {
|
|
5688
|
-
className: s$
|
|
5700
|
+
className: s$20.groupLabel(),
|
|
5689
5701
|
children: group.value
|
|
5690
5702
|
}), /* @__PURE__ */ jsx(Autocomplete.Collection, { children: (entry) => /* @__PURE__ */ jsx(CommandRow, {
|
|
5691
5703
|
entry,
|
|
@@ -5709,7 +5721,7 @@ function CommandPaletteTrigger({ className, keys = ["⌘", "K"], children: child
|
|
|
5709
5721
|
const { t } = useI18n();
|
|
5710
5722
|
const children = childrenProp ?? t("commandPalette.trigger");
|
|
5711
5723
|
return /* @__PURE__ */ jsxs(Dialog$1.Trigger, {
|
|
5712
|
-
className: cn(s$
|
|
5724
|
+
className: cn(s$20.trigger(), className),
|
|
5713
5725
|
...props,
|
|
5714
5726
|
children: [
|
|
5715
5727
|
/* @__PURE__ */ jsx(Search, {
|
|
@@ -5717,7 +5729,7 @@ function CommandPaletteTrigger({ className, keys = ["⌘", "K"], children: child
|
|
|
5717
5729
|
"aria-hidden": true
|
|
5718
5730
|
}),
|
|
5719
5731
|
/* @__PURE__ */ jsx("span", {
|
|
5720
|
-
className: s$
|
|
5732
|
+
className: s$20.triggerText(),
|
|
5721
5733
|
children
|
|
5722
5734
|
}),
|
|
5723
5735
|
/* @__PURE__ */ jsx(KbdCombo, {
|
|
@@ -5805,7 +5817,7 @@ const contextMenuVariants = tv({ slots: {
|
|
|
5805
5817
|
} });
|
|
5806
5818
|
//#endregion
|
|
5807
5819
|
//#region src/components/ContextMenu/ContextMenu.tsx
|
|
5808
|
-
const s$
|
|
5820
|
+
const s$19 = contextMenuVariants();
|
|
5809
5821
|
/**
|
|
5810
5822
|
* Context menu state container (open, defaultOpen, onOpenChange, disabled). Renders no element.
|
|
5811
5823
|
* Items, groups, separators and submenus are the Menu parts (MenuItem, MenuCheckboxItem,
|
|
@@ -5835,7 +5847,7 @@ function ContextMenuTrigger({ className, tabIndex = 0, hint = "Press Shift+F10 f
|
|
|
5835
5847
|
}));
|
|
5836
5848
|
}
|
|
5837
5849
|
return /* @__PURE__ */ jsxs(ContextMenu$1.Trigger, {
|
|
5838
|
-
className: cn(s$
|
|
5850
|
+
className: cn(s$19.trigger(), className),
|
|
5839
5851
|
tabIndex,
|
|
5840
5852
|
onKeyDown: handleKeyDown,
|
|
5841
5853
|
...props,
|
|
@@ -5854,9 +5866,9 @@ function ContextMenuContent({ className, container, children, ...props }) {
|
|
|
5854
5866
|
return /* @__PURE__ */ jsx(ContextMenu$1.Portal, {
|
|
5855
5867
|
container,
|
|
5856
5868
|
children: /* @__PURE__ */ jsx(ContextMenu$1.Positioner, {
|
|
5857
|
-
className: s$
|
|
5869
|
+
className: s$19.positioner(),
|
|
5858
5870
|
children: /* @__PURE__ */ jsx(ContextMenu$1.Popup, {
|
|
5859
|
-
className: cn(s$
|
|
5871
|
+
className: cn(s$19.popup(), className),
|
|
5860
5872
|
...props,
|
|
5861
5873
|
children
|
|
5862
5874
|
})
|
|
@@ -5947,7 +5959,7 @@ function useHasLiveAnnouncer() {
|
|
|
5947
5959
|
}
|
|
5948
5960
|
//#endregion
|
|
5949
5961
|
//#region src/components/LiveAnnouncer/LiveAnnouncer.doc.ts
|
|
5950
|
-
const doc$
|
|
5962
|
+
const doc$44 = {
|
|
5951
5963
|
name: "LiveAnnouncer",
|
|
5952
5964
|
group: "Feedback",
|
|
5953
5965
|
status: "beta",
|
|
@@ -6045,7 +6057,7 @@ function SimpleTooltip({ content, children, delay, disabled, ...contentProps })
|
|
|
6045
6057
|
}
|
|
6046
6058
|
//#endregion
|
|
6047
6059
|
//#region src/components/Tooltip/Tooltip.doc.ts
|
|
6048
|
-
const doc$
|
|
6060
|
+
const doc$102 = {
|
|
6049
6061
|
name: "Tooltip",
|
|
6050
6062
|
group: "Overlays",
|
|
6051
6063
|
status: "stable",
|
|
@@ -6248,7 +6260,7 @@ const popoverVariants = tv({
|
|
|
6248
6260
|
});
|
|
6249
6261
|
//#endregion
|
|
6250
6262
|
//#region src/components/Popover/Popover.tsx
|
|
6251
|
-
const s$
|
|
6263
|
+
const s$18 = popoverVariants();
|
|
6252
6264
|
/** Popover state container (open, defaultOpen, onOpenChange, modal). Renders no element. */
|
|
6253
6265
|
const Popover = Popover$1.Root;
|
|
6254
6266
|
/** Toggles the popover. Use `render={<Button />}` to style it as a kit button. */
|
|
@@ -6279,13 +6291,13 @@ function PopoverContent({ side = "bottom", align = "center", sideOffset = 8, ali
|
|
|
6279
6291
|
}
|
|
6280
6292
|
function PopoverTitle({ className, ...props }) {
|
|
6281
6293
|
return /* @__PURE__ */ jsx(Popover$1.Title, {
|
|
6282
|
-
className: cn(s$
|
|
6294
|
+
className: cn(s$18.title(), className),
|
|
6283
6295
|
...props
|
|
6284
6296
|
});
|
|
6285
6297
|
}
|
|
6286
6298
|
function PopoverDescription({ className, ...props }) {
|
|
6287
6299
|
return /* @__PURE__ */ jsx(Popover$1.Description, {
|
|
6288
|
-
className: cn(s$
|
|
6300
|
+
className: cn(s$18.description(), className),
|
|
6289
6301
|
...props
|
|
6290
6302
|
});
|
|
6291
6303
|
}
|
|
@@ -6303,7 +6315,7 @@ function PopoverClose({ className, label: labelProp, children, ...props }) {
|
|
|
6303
6315
|
});
|
|
6304
6316
|
return /* @__PURE__ */ jsx(Popover$1.Close, {
|
|
6305
6317
|
"aria-label": label,
|
|
6306
|
-
className: cn(s$
|
|
6318
|
+
className: cn(s$18.close(), className),
|
|
6307
6319
|
...props,
|
|
6308
6320
|
children: /* @__PURE__ */ jsx(X, {
|
|
6309
6321
|
size: 14,
|
|
@@ -6313,7 +6325,7 @@ function PopoverClose({ className, label: labelProp, children, ...props }) {
|
|
|
6313
6325
|
}
|
|
6314
6326
|
//#endregion
|
|
6315
6327
|
//#region src/components/Popover/Popover.doc.ts
|
|
6316
|
-
const doc$
|
|
6328
|
+
const doc$59 = {
|
|
6317
6329
|
name: "Popover",
|
|
6318
6330
|
group: "Overlays",
|
|
6319
6331
|
status: "stable",
|
|
@@ -7071,7 +7083,7 @@ function DateRangePicker({ value, defaultValue, onValueChange, presets = DEFAULT
|
|
|
7071
7083
|
const DateRangeInput = DateRangePicker;
|
|
7072
7084
|
//#endregion
|
|
7073
7085
|
//#region src/components/DatePicker/DatePicker.doc.ts
|
|
7074
|
-
const doc$
|
|
7086
|
+
const doc$24 = {
|
|
7075
7087
|
name: "DatePicker",
|
|
7076
7088
|
group: "Forms",
|
|
7077
7089
|
status: "beta",
|
|
@@ -7251,7 +7263,7 @@ function NumberInput({ size = "auto", align, className, inputClassName, ref, uni
|
|
|
7251
7263
|
}
|
|
7252
7264
|
//#endregion
|
|
7253
7265
|
//#region src/components/NumberInput/NumberInput.doc.ts
|
|
7254
|
-
const doc$
|
|
7266
|
+
const doc$52 = {
|
|
7255
7267
|
name: "NumberInput",
|
|
7256
7268
|
group: "Forms",
|
|
7257
7269
|
status: "beta",
|
|
@@ -7277,52 +7289,84 @@ const doc$51 = {
|
|
|
7277
7289
|
};
|
|
7278
7290
|
//#endregion
|
|
7279
7291
|
//#region src/components/Select/Select.tsx
|
|
7280
|
-
const s$
|
|
7292
|
+
const s$17 = selectVariants();
|
|
7293
|
+
const SelectTriggerContext = createContext(null);
|
|
7281
7294
|
/** Select state container (value, defaultValue, onValueChange, items, multiple, open…). Renders no element. */
|
|
7282
|
-
|
|
7295
|
+
function Select(props) {
|
|
7296
|
+
const [trigger, setTrigger] = useState(null);
|
|
7297
|
+
return /* @__PURE__ */ jsx(SelectTriggerContext.Provider, {
|
|
7298
|
+
value: {
|
|
7299
|
+
trigger,
|
|
7300
|
+
setTrigger
|
|
7301
|
+
},
|
|
7302
|
+
children: /* @__PURE__ */ jsx(Select$1.Root, { ...props })
|
|
7303
|
+
});
|
|
7304
|
+
}
|
|
7305
|
+
function useTriggerAttribute(trigger, attribute) {
|
|
7306
|
+
const subscribe = useCallback((onChange) => {
|
|
7307
|
+
if (!trigger) return () => {};
|
|
7308
|
+
const observer = new MutationObserver(onChange);
|
|
7309
|
+
observer.observe(trigger, {
|
|
7310
|
+
attributes: true,
|
|
7311
|
+
attributeFilter: [attribute]
|
|
7312
|
+
});
|
|
7313
|
+
return () => observer.disconnect();
|
|
7314
|
+
}, [trigger, attribute]);
|
|
7315
|
+
return useSyncExternalStore(subscribe, () => trigger?.getAttribute(attribute) ?? void 0, () => void 0);
|
|
7316
|
+
}
|
|
7283
7317
|
/** Visible label; automatically labels the trigger. */
|
|
7284
7318
|
function SelectLabel({ className, ...props }) {
|
|
7285
7319
|
return /* @__PURE__ */ jsx(Select$1.Label, {
|
|
7286
|
-
className: cn(s$
|
|
7320
|
+
className: cn(s$17.label(), className),
|
|
7287
7321
|
...props
|
|
7288
7322
|
});
|
|
7289
7323
|
}
|
|
7290
7324
|
/** The button that shows the current value and a chevron, and opens the popup. */
|
|
7291
|
-
function SelectTrigger({ size, className, placeholder, children, ...props }) {
|
|
7325
|
+
function SelectTrigger({ size, className, placeholder, children, ref, ...props }) {
|
|
7292
7326
|
const v = selectVariants({ size });
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
className: v.
|
|
7298
|
-
|
|
7299
|
-
children
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7327
|
+
const context = useContext(SelectTriggerContext);
|
|
7328
|
+
return useRender({
|
|
7329
|
+
ref: [ref ?? null, context?.setTrigger ?? null],
|
|
7330
|
+
render: /* @__PURE__ */ jsxs(Select$1.Trigger, {
|
|
7331
|
+
className: cn(v.trigger(), className),
|
|
7332
|
+
...props,
|
|
7333
|
+
children: [/* @__PURE__ */ jsx(Select$1.Value, {
|
|
7334
|
+
className: v.value(),
|
|
7335
|
+
placeholder,
|
|
7336
|
+
children
|
|
7337
|
+
}), /* @__PURE__ */ jsx(Select$1.Icon, {
|
|
7338
|
+
className: v.icon(),
|
|
7339
|
+
children: /* @__PURE__ */ jsx(ChevronDown, {
|
|
7340
|
+
size: 15,
|
|
7341
|
+
"aria-hidden": true
|
|
7342
|
+
})
|
|
7343
|
+
})]
|
|
7344
|
+
})
|
|
7307
7345
|
});
|
|
7308
7346
|
}
|
|
7309
7347
|
/** The popup: portal, positioner, popup surface and listbox. */
|
|
7310
7348
|
function SelectContent({ className, alignItemWithTrigger = false, side = "bottom", align = "start", sideOffset = 6, container, status, children, ...props }) {
|
|
7311
7349
|
const dir = usePortalDir();
|
|
7350
|
+
const context = useContext(SelectTriggerContext);
|
|
7351
|
+
const labelledBy = useTriggerAttribute(context?.trigger ?? null, "aria-labelledby");
|
|
7352
|
+
const ariaLabel = useTriggerAttribute(context?.trigger ?? null, "aria-label");
|
|
7353
|
+
const explicitName = props["aria-label"] !== void 0 || props["aria-labelledby"] !== void 0;
|
|
7312
7354
|
return /* @__PURE__ */ jsx(Select$1.Portal, {
|
|
7313
7355
|
container,
|
|
7314
7356
|
children: /* @__PURE__ */ jsx(Select$1.Positioner, {
|
|
7315
7357
|
dir,
|
|
7316
|
-
className: s$
|
|
7358
|
+
className: s$17.positioner(),
|
|
7317
7359
|
alignItemWithTrigger,
|
|
7318
7360
|
side,
|
|
7319
7361
|
align,
|
|
7320
7362
|
sideOffset,
|
|
7321
7363
|
children: /* @__PURE__ */ jsxs(Select$1.Popup, {
|
|
7322
|
-
className: cn(s$
|
|
7364
|
+
className: cn(s$17.popup(), className),
|
|
7323
7365
|
...props,
|
|
7324
7366
|
children: [status, /* @__PURE__ */ jsx(Select$1.List, {
|
|
7325
|
-
className: s$
|
|
7367
|
+
className: s$17.list(),
|
|
7368
|
+
"aria-labelledby": explicitName ? props["aria-labelledby"] : labelledBy,
|
|
7369
|
+
"aria-label": explicitName ? props["aria-label"] : ariaLabel,
|
|
7326
7370
|
children
|
|
7327
7371
|
})]
|
|
7328
7372
|
})
|
|
@@ -7332,13 +7376,13 @@ function SelectContent({ className, alignItemWithTrigger = false, side = "bottom
|
|
|
7332
7376
|
/** One option. Shows a check when selected. */
|
|
7333
7377
|
function SelectItem({ className, children, ...props }) {
|
|
7334
7378
|
return /* @__PURE__ */ jsxs(Select$1.Item, {
|
|
7335
|
-
className: cn(s$
|
|
7379
|
+
className: cn(s$17.item(), className),
|
|
7336
7380
|
...props,
|
|
7337
7381
|
children: [/* @__PURE__ */ jsx(Select$1.ItemText, {
|
|
7338
|
-
className: s$
|
|
7382
|
+
className: s$17.itemText(),
|
|
7339
7383
|
children
|
|
7340
7384
|
}), /* @__PURE__ */ jsx(Select$1.ItemIndicator, {
|
|
7341
|
-
className: s$
|
|
7385
|
+
className: s$17.indicator(),
|
|
7342
7386
|
children: /* @__PURE__ */ jsx(Check, {
|
|
7343
7387
|
size: 15,
|
|
7344
7388
|
strokeWidth: 2.4,
|
|
@@ -7350,13 +7394,13 @@ function SelectItem({ className, children, ...props }) {
|
|
|
7350
7394
|
const SelectGroup = Select$1.Group;
|
|
7351
7395
|
function SelectGroupLabel({ className, ...props }) {
|
|
7352
7396
|
return /* @__PURE__ */ jsx(Select$1.GroupLabel, {
|
|
7353
|
-
className: cn(s$
|
|
7397
|
+
className: cn(s$17.groupLabel(), className),
|
|
7354
7398
|
...props
|
|
7355
7399
|
});
|
|
7356
7400
|
}
|
|
7357
7401
|
function SelectSeparator({ className, ...props }) {
|
|
7358
7402
|
return /* @__PURE__ */ jsx(Select$1.Separator, {
|
|
7359
|
-
className: cn(s$
|
|
7403
|
+
className: cn(s$17.separator(), className),
|
|
7360
7404
|
...props
|
|
7361
7405
|
});
|
|
7362
7406
|
}
|
|
@@ -7432,7 +7476,7 @@ function SimpleSelect({ items: itemsProp, loadOptions, loadingText, errorText, e
|
|
|
7432
7476
|
}
|
|
7433
7477
|
//#endregion
|
|
7434
7478
|
//#region src/components/Select/Select.doc.ts
|
|
7435
|
-
const doc$
|
|
7479
|
+
const doc$70 = {
|
|
7436
7480
|
name: "Select",
|
|
7437
7481
|
group: "Forms",
|
|
7438
7482
|
status: "stable",
|
|
@@ -7589,7 +7633,7 @@ function ToggleGroup({ variant = "segmented", size = "auto", className, ...props
|
|
|
7589
7633
|
}
|
|
7590
7634
|
//#endregion
|
|
7591
7635
|
//#region src/components/ToggleGroup/ToggleGroup.doc.ts
|
|
7592
|
-
const doc$
|
|
7636
|
+
const doc$98 = {
|
|
7593
7637
|
name: "ToggleGroup",
|
|
7594
7638
|
group: "Actions",
|
|
7595
7639
|
status: "stable",
|
|
@@ -8013,7 +8057,7 @@ function DateTimeRangePicker({ value, defaultValue = null, onValueChange, preset
|
|
|
8013
8057
|
}
|
|
8014
8058
|
//#endregion
|
|
8015
8059
|
//#region src/components/DateTimeRangePicker/DateTimeRangePicker.doc.ts
|
|
8016
|
-
const doc$
|
|
8060
|
+
const doc$25 = {
|
|
8017
8061
|
name: "DateTimeRangePicker",
|
|
8018
8062
|
group: "Forms",
|
|
8019
8063
|
status: "beta",
|
|
@@ -8043,7 +8087,7 @@ const doc$24 = {
|
|
|
8043
8087
|
};
|
|
8044
8088
|
//#endregion
|
|
8045
8089
|
//#region src/components/Dialog/Dialog.tsx
|
|
8046
|
-
const s$
|
|
8090
|
+
const s$16 = dialogVariants();
|
|
8047
8091
|
/** Dialog state container (open, defaultOpen, onOpenChange, modal). Renders no element. */
|
|
8048
8092
|
const Dialog = Dialog$1.Root;
|
|
8049
8093
|
/** Opens the dialog. Use `render={<Button />}` to style it as a kit button. */
|
|
@@ -8084,37 +8128,37 @@ function DialogContent({ size, presentation, className, showClose = true, closeL
|
|
|
8084
8128
|
}
|
|
8085
8129
|
function DialogHeader({ className, ...props }) {
|
|
8086
8130
|
return /* @__PURE__ */ jsx("div", {
|
|
8087
|
-
className: cn(s$
|
|
8131
|
+
className: cn(s$16.header(), className),
|
|
8088
8132
|
...props
|
|
8089
8133
|
});
|
|
8090
8134
|
}
|
|
8091
8135
|
function DialogTitle({ className, ...props }) {
|
|
8092
8136
|
return /* @__PURE__ */ jsx(Dialog$1.Title, {
|
|
8093
|
-
className: cn(s$
|
|
8137
|
+
className: cn(s$16.title(), className),
|
|
8094
8138
|
...props
|
|
8095
8139
|
});
|
|
8096
8140
|
}
|
|
8097
8141
|
function DialogDescription({ className, ...props }) {
|
|
8098
8142
|
return /* @__PURE__ */ jsx(Dialog$1.Description, {
|
|
8099
|
-
className: cn(s$
|
|
8143
|
+
className: cn(s$16.description(), className),
|
|
8100
8144
|
...props
|
|
8101
8145
|
});
|
|
8102
8146
|
}
|
|
8103
8147
|
function DialogBody({ className, ...props }) {
|
|
8104
8148
|
return /* @__PURE__ */ jsx("div", {
|
|
8105
|
-
className: cn(s$
|
|
8149
|
+
className: cn(s$16.body(), className),
|
|
8106
8150
|
...props
|
|
8107
8151
|
});
|
|
8108
8152
|
}
|
|
8109
8153
|
function DialogFooter({ className, ...props }) {
|
|
8110
8154
|
return /* @__PURE__ */ jsx("div", {
|
|
8111
|
-
className: cn(s$
|
|
8155
|
+
className: cn(s$16.footer(), className),
|
|
8112
8156
|
...props
|
|
8113
8157
|
});
|
|
8114
8158
|
}
|
|
8115
8159
|
//#endregion
|
|
8116
8160
|
//#region src/components/Dialog/Dialog.doc.ts
|
|
8117
|
-
const doc$
|
|
8161
|
+
const doc$26 = {
|
|
8118
8162
|
name: "Dialog",
|
|
8119
8163
|
group: "Overlays",
|
|
8120
8164
|
status: "stable",
|
|
@@ -8798,7 +8842,7 @@ function DiffViewer({ oldValue, newValue, format = "text", mode: modeProp, defau
|
|
|
8798
8842
|
}
|
|
8799
8843
|
//#endregion
|
|
8800
8844
|
//#region src/components/DiffViewer/DiffViewer.doc.ts
|
|
8801
|
-
const doc$
|
|
8845
|
+
const doc$27 = {
|
|
8802
8846
|
name: "DiffViewer",
|
|
8803
8847
|
group: "Display",
|
|
8804
8848
|
status: "beta",
|
|
@@ -8919,7 +8963,7 @@ const drawerVariants = tv({
|
|
|
8919
8963
|
});
|
|
8920
8964
|
//#endregion
|
|
8921
8965
|
//#region src/components/Drawer/Drawer.tsx
|
|
8922
|
-
const s$
|
|
8966
|
+
const s$15 = drawerVariants();
|
|
8923
8967
|
const SWIPE = {
|
|
8924
8968
|
ltr: {
|
|
8925
8969
|
right: "right",
|
|
@@ -8994,39 +9038,39 @@ function DrawerContent({ size, className, showClose = true, closeLabel, containe
|
|
|
8994
9038
|
/** Fixed top bar: title, description and any leading media. */
|
|
8995
9039
|
function DrawerHeader({ className, ...props }) {
|
|
8996
9040
|
return /* @__PURE__ */ jsx("div", {
|
|
8997
|
-
className: cn(s$
|
|
9041
|
+
className: cn(s$15.header(), className),
|
|
8998
9042
|
...props
|
|
8999
9043
|
});
|
|
9000
9044
|
}
|
|
9001
9045
|
function DrawerTitle({ className, ...props }) {
|
|
9002
9046
|
return /* @__PURE__ */ jsx(Drawer$1.Title, {
|
|
9003
|
-
className: cn(s$
|
|
9047
|
+
className: cn(s$15.title(), className),
|
|
9004
9048
|
...props
|
|
9005
9049
|
});
|
|
9006
9050
|
}
|
|
9007
9051
|
function DrawerDescription({ className, ...props }) {
|
|
9008
9052
|
return /* @__PURE__ */ jsx(Drawer$1.Description, {
|
|
9009
|
-
className: cn(s$
|
|
9053
|
+
className: cn(s$15.description(), className),
|
|
9010
9054
|
...props
|
|
9011
9055
|
});
|
|
9012
9056
|
}
|
|
9013
9057
|
/** Scrollable middle section. */
|
|
9014
9058
|
function DrawerBody({ className, ...props }) {
|
|
9015
9059
|
return /* @__PURE__ */ jsx("div", {
|
|
9016
|
-
className: cn(s$
|
|
9060
|
+
className: cn(s$15.body(), className),
|
|
9017
9061
|
...props
|
|
9018
9062
|
});
|
|
9019
9063
|
}
|
|
9020
9064
|
/** Fixed bottom bar for actions. */
|
|
9021
9065
|
function DrawerFooter({ className, ...props }) {
|
|
9022
9066
|
return /* @__PURE__ */ jsx("div", {
|
|
9023
|
-
className: cn(s$
|
|
9067
|
+
className: cn(s$15.footer(), className),
|
|
9024
9068
|
...props
|
|
9025
9069
|
});
|
|
9026
9070
|
}
|
|
9027
9071
|
//#endregion
|
|
9028
9072
|
//#region src/components/Drawer/Drawer.doc.ts
|
|
9029
|
-
const doc$
|
|
9073
|
+
const doc$29 = {
|
|
9030
9074
|
name: "Drawer",
|
|
9031
9075
|
group: "Overlays",
|
|
9032
9076
|
status: "stable",
|
|
@@ -9132,7 +9176,7 @@ function EmptyState({ icon: Icon, title, titleAs: Heading = "h3", description, p
|
|
|
9132
9176
|
}
|
|
9133
9177
|
//#endregion
|
|
9134
9178
|
//#region src/components/EmptyState/EmptyState.doc.ts
|
|
9135
|
-
const doc$
|
|
9179
|
+
const doc$30 = {
|
|
9136
9180
|
name: "EmptyState",
|
|
9137
9181
|
group: "Feedback",
|
|
9138
9182
|
status: "stable",
|
|
@@ -9146,7 +9190,7 @@ const doc$29 = {
|
|
|
9146
9190
|
};
|
|
9147
9191
|
//#endregion
|
|
9148
9192
|
//#region src/components/Field/Field.doc.ts
|
|
9149
|
-
const doc$
|
|
9193
|
+
const doc$31 = {
|
|
9150
9194
|
name: "Field",
|
|
9151
9195
|
group: "Forms",
|
|
9152
9196
|
status: "stable",
|
|
@@ -9451,7 +9495,7 @@ function GridItem({ as = "div", span, className, render, ref, ...props }) {
|
|
|
9451
9495
|
}
|
|
9452
9496
|
//#endregion
|
|
9453
9497
|
//#region src/components/Grid/Grid.doc.ts
|
|
9454
|
-
const doc$
|
|
9498
|
+
const doc$32 = {
|
|
9455
9499
|
name: "Grid",
|
|
9456
9500
|
group: "Layout",
|
|
9457
9501
|
status: "stable",
|
|
@@ -9477,7 +9521,7 @@ const hoverCardVariants = tv({ slots: {
|
|
|
9477
9521
|
} });
|
|
9478
9522
|
//#endregion
|
|
9479
9523
|
//#region src/components/HoverCard/HoverCard.tsx
|
|
9480
|
-
const s$
|
|
9524
|
+
const s$14 = hoverCardVariants();
|
|
9481
9525
|
/** Hover card state container (open, defaultOpen, onOpenChange). Renders no element. */
|
|
9482
9526
|
const HoverCard = PreviewCard.Root;
|
|
9483
9527
|
/**
|
|
@@ -9488,7 +9532,7 @@ function HoverCardTrigger({ className, delay = 500, closeDelay = 250, ...props }
|
|
|
9488
9532
|
return /* @__PURE__ */ jsx(PreviewCard.Trigger, {
|
|
9489
9533
|
delay,
|
|
9490
9534
|
closeDelay,
|
|
9491
|
-
className: cn(s$
|
|
9535
|
+
className: cn(s$14.trigger(), className),
|
|
9492
9536
|
...props
|
|
9493
9537
|
});
|
|
9494
9538
|
}
|
|
@@ -9502,21 +9546,21 @@ function HoverCardContent({ side = "bottom", align = "center", sideOffset = 8, a
|
|
|
9502
9546
|
container,
|
|
9503
9547
|
children: /* @__PURE__ */ jsx(PreviewCard.Positioner, {
|
|
9504
9548
|
dir,
|
|
9505
|
-
className: s$
|
|
9549
|
+
className: s$14.positioner(),
|
|
9506
9550
|
side,
|
|
9507
9551
|
align,
|
|
9508
9552
|
sideOffset,
|
|
9509
9553
|
children: /* @__PURE__ */ jsxs(PreviewCard.Popup, {
|
|
9510
|
-
className: cn(s$
|
|
9554
|
+
className: cn(s$14.popup(), className),
|
|
9511
9555
|
...props,
|
|
9512
|
-
children: [arrow && /* @__PURE__ */ jsx(PreviewCard.Arrow, { className: s$
|
|
9556
|
+
children: [arrow && /* @__PURE__ */ jsx(PreviewCard.Arrow, { className: s$14.arrow() }), children]
|
|
9513
9557
|
})
|
|
9514
9558
|
})
|
|
9515
9559
|
});
|
|
9516
9560
|
}
|
|
9517
9561
|
//#endregion
|
|
9518
9562
|
//#region src/components/HoverCard/HoverCard.doc.ts
|
|
9519
|
-
const doc$
|
|
9563
|
+
const doc$33 = {
|
|
9520
9564
|
name: "HoverCard",
|
|
9521
9565
|
group: "Overlays",
|
|
9522
9566
|
status: "beta",
|
|
@@ -9594,7 +9638,7 @@ function InfoTip({ label, children, title, openOnHover = false, delay = 200, sid
|
|
|
9594
9638
|
}
|
|
9595
9639
|
//#endregion
|
|
9596
9640
|
//#region src/components/InfoTip/InfoTip.doc.ts
|
|
9597
|
-
const doc$
|
|
9641
|
+
const doc$34 = {
|
|
9598
9642
|
name: "InfoTip",
|
|
9599
9643
|
group: "Overlays",
|
|
9600
9644
|
status: "beta",
|
|
@@ -9705,7 +9749,7 @@ function InputKbd({ className, children }) {
|
|
|
9705
9749
|
}
|
|
9706
9750
|
//#endregion
|
|
9707
9751
|
//#region src/components/Input/Input.doc.ts
|
|
9708
|
-
const doc$
|
|
9752
|
+
const doc$35 = {
|
|
9709
9753
|
name: "Input",
|
|
9710
9754
|
group: "Forms",
|
|
9711
9755
|
status: "stable",
|
|
@@ -9867,7 +9911,7 @@ const DEFAULT_LABELS$4 = {
|
|
|
9867
9911
|
error: "Could not load items.",
|
|
9868
9912
|
retry: "Retry"
|
|
9869
9913
|
};
|
|
9870
|
-
const s$
|
|
9914
|
+
const s$13 = treeListVariants();
|
|
9871
9915
|
/**
|
|
9872
9916
|
* Hierarchical list on the WAI-ARIA tree pattern: roving focus, arrow keys (Left/Right
|
|
9873
9917
|
* collapse/expand), Home/End, typeahead, single or multiple selection and lazily loaded
|
|
@@ -10002,7 +10046,7 @@ function TreeList({ nodes, expanded, defaultExpanded, onExpandedChange, selectio
|
|
|
10002
10046
|
onFocus: (e) => {
|
|
10003
10047
|
if (e.target === e.currentTarget) tree.setActiveId(node.id);
|
|
10004
10048
|
},
|
|
10005
|
-
className: s$
|
|
10049
|
+
className: s$13.item(),
|
|
10006
10050
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
10007
10051
|
"data-row": true,
|
|
10008
10052
|
id: v.rowId,
|
|
@@ -10031,22 +10075,22 @@ function TreeList({ nodes, expanded, defaultExpanded, onExpandedChange, selectio
|
|
|
10031
10075
|
className: v2.icon()
|
|
10032
10076
|
}),
|
|
10033
10077
|
/* @__PURE__ */ jsx("span", {
|
|
10034
|
-
className: s$
|
|
10078
|
+
className: s$13.label(),
|
|
10035
10079
|
children: node.content ?? node.label
|
|
10036
10080
|
}),
|
|
10037
10081
|
node.meta != null && /* @__PURE__ */ jsx("span", {
|
|
10038
|
-
className: s$
|
|
10082
|
+
className: s$13.meta(),
|
|
10039
10083
|
children: node.meta
|
|
10040
10084
|
})
|
|
10041
10085
|
]
|
|
10042
10086
|
}), v.expanded && (kids || childState) && /* @__PURE__ */ jsxs("ul", {
|
|
10043
10087
|
role: "group",
|
|
10044
|
-
className: s$
|
|
10088
|
+
className: s$13.group(),
|
|
10045
10089
|
children: [
|
|
10046
10090
|
kids && renderLevel(kids),
|
|
10047
10091
|
!kids && childState?.status === "loading" && /* @__PURE__ */ jsxs("li", {
|
|
10048
10092
|
role: "none",
|
|
10049
|
-
className: s$
|
|
10093
|
+
className: s$13.status(),
|
|
10050
10094
|
style: { paddingInlineStart: `${v.level * indent + 6}px` },
|
|
10051
10095
|
children: [
|
|
10052
10096
|
/* @__PURE__ */ jsx(Spinner, { size: 13 }),
|
|
@@ -10056,7 +10100,7 @@ function TreeList({ nodes, expanded, defaultExpanded, onExpandedChange, selectio
|
|
|
10056
10100
|
}),
|
|
10057
10101
|
!kids && childState?.status === "error" && /* @__PURE__ */ jsxs("li", {
|
|
10058
10102
|
role: "none",
|
|
10059
|
-
className: cn(s$
|
|
10103
|
+
className: cn(s$13.status(), "text-destructive-text"),
|
|
10060
10104
|
style: { paddingInlineStart: `${v.level * indent + 6}px` },
|
|
10061
10105
|
children: [labels.error, /* @__PURE__ */ jsx("button", {
|
|
10062
10106
|
type: "button",
|
|
@@ -10076,7 +10120,7 @@ function TreeList({ nodes, expanded, defaultExpanded, onExpandedChange, selectio
|
|
|
10076
10120
|
return /* @__PURE__ */ jsx("ul", {
|
|
10077
10121
|
role: "tree",
|
|
10078
10122
|
"aria-multiselectable": multi || void 0,
|
|
10079
|
-
className: cn(s$
|
|
10123
|
+
className: cn(s$13.root(), className),
|
|
10080
10124
|
onKeyDown: handleKeyDown,
|
|
10081
10125
|
...props,
|
|
10082
10126
|
children: renderLevel(nodes)
|
|
@@ -10203,7 +10247,7 @@ const DEFAULT_LABELS$3 = {
|
|
|
10203
10247
|
items: (n) => `${n} ${n === 1 ? "item" : "items"}`,
|
|
10204
10248
|
root: "(root)"
|
|
10205
10249
|
};
|
|
10206
|
-
const s$
|
|
10250
|
+
const s$12 = jsonViewerVariants();
|
|
10207
10251
|
function highlight(text, query) {
|
|
10208
10252
|
const q = query.trim().toLowerCase();
|
|
10209
10253
|
if (!q) return text;
|
|
@@ -10213,7 +10257,7 @@ function highlight(text, query) {
|
|
|
10213
10257
|
while (at !== -1) {
|
|
10214
10258
|
if (at > from) out.push(text.slice(from, at));
|
|
10215
10259
|
out.push(/* @__PURE__ */ jsx("mark", {
|
|
10216
|
-
className: s$
|
|
10260
|
+
className: s$12.mark(),
|
|
10217
10261
|
children: text.slice(at, at + q.length)
|
|
10218
10262
|
}, at));
|
|
10219
10263
|
from = at + q.length;
|
|
@@ -10243,7 +10287,7 @@ function preview(value, labels, query) {
|
|
|
10243
10287
|
* matches, and the toolbar copies the selected node's path or value.
|
|
10244
10288
|
*/
|
|
10245
10289
|
function JsonViewer({ data, label = "JSON", defaultExpandDepth = 1, maxDepth = Infinity, search = "", toolbar = true, maxHeight, maxDisplayChars, emptyContent = /* @__PURE__ */ jsx("span", {
|
|
10246
|
-
className: s$
|
|
10290
|
+
className: s$12.emptyValue(),
|
|
10247
10291
|
children: "—"
|
|
10248
10292
|
}), labels: labelsProp, className, ref }) {
|
|
10249
10293
|
const labels = {
|
|
@@ -10278,7 +10322,7 @@ function JsonViewer({ data, label = "JSON", defaultExpandDepth = 1, maxDepth = I
|
|
|
10278
10322
|
id,
|
|
10279
10323
|
label: keyText,
|
|
10280
10324
|
content: /* @__PURE__ */ jsxs("span", {
|
|
10281
|
-
className: s$
|
|
10325
|
+
className: s$12.row(),
|
|
10282
10326
|
children: [
|
|
10283
10327
|
/* @__PURE__ */ jsx("span", {
|
|
10284
10328
|
className: typeof key === "number" ? jsonTypeClass.punctuation : jsonTypeClass.key,
|
|
@@ -10299,7 +10343,7 @@ function JsonViewer({ data, label = "JSON", defaultExpandDepth = 1, maxDepth = I
|
|
|
10299
10343
|
id: "",
|
|
10300
10344
|
label: labels.root,
|
|
10301
10345
|
content: /* @__PURE__ */ jsx("span", {
|
|
10302
|
-
className: s$
|
|
10346
|
+
className: s$12.row(),
|
|
10303
10347
|
children: preview(data, labels, search)
|
|
10304
10348
|
})
|
|
10305
10349
|
}];
|
|
@@ -10319,15 +10363,15 @@ function JsonViewer({ data, label = "JSON", defaultExpandDepth = 1, maxDepth = I
|
|
|
10319
10363
|
};
|
|
10320
10364
|
return /* @__PURE__ */ jsxs("div", {
|
|
10321
10365
|
ref,
|
|
10322
|
-
className: cn(s$
|
|
10366
|
+
className: cn(s$12.root(), className),
|
|
10323
10367
|
children: [
|
|
10324
10368
|
toolbar && /* @__PURE__ */ jsxs("div", {
|
|
10325
|
-
className: s$
|
|
10369
|
+
className: s$12.toolbar(),
|
|
10326
10370
|
children: [
|
|
10327
10371
|
/* @__PURE__ */ jsx("span", {
|
|
10328
|
-
className: s$
|
|
10372
|
+
className: s$12.path(),
|
|
10329
10373
|
children: truncated ? labels.copyFullHint : current !== void 0 ? /* @__PURE__ */ jsx("span", {
|
|
10330
|
-
className: s$
|
|
10374
|
+
className: s$12.pathValue(),
|
|
10331
10375
|
children: current || labels.root
|
|
10332
10376
|
}) : labels.selectHint
|
|
10333
10377
|
}),
|
|
@@ -10335,7 +10379,7 @@ function JsonViewer({ data, label = "JSON", defaultExpandDepth = 1, maxDepth = I
|
|
|
10335
10379
|
type: "button",
|
|
10336
10380
|
disabled: !showTree || current === void 0,
|
|
10337
10381
|
onClick: () => current !== void 0 && copy(current),
|
|
10338
|
-
className: s$
|
|
10382
|
+
className: s$12.action(),
|
|
10339
10383
|
children: [/* @__PURE__ */ jsx(Copy, {
|
|
10340
10384
|
size: 13,
|
|
10341
10385
|
"aria-hidden": true
|
|
@@ -10345,7 +10389,7 @@ function JsonViewer({ data, label = "JSON", defaultExpandDepth = 1, maxDepth = I
|
|
|
10345
10389
|
type: "button",
|
|
10346
10390
|
disabled: !truncated && (!showTree || current === void 0),
|
|
10347
10391
|
onClick: () => truncated && display ? copy(display.text) : current !== void 0 && copy(JSON.stringify(values.get(current), null, 2) ?? "null"),
|
|
10348
|
-
className: s$
|
|
10392
|
+
className: s$12.action(),
|
|
10349
10393
|
children: [status === "copied" ? /* @__PURE__ */ jsx(Check, {
|
|
10350
10394
|
size: 13,
|
|
10351
10395
|
"aria-hidden": true
|
|
@@ -10362,20 +10406,20 @@ function JsonViewer({ data, label = "JSON", defaultExpandDepth = 1, maxDepth = I
|
|
|
10362
10406
|
]
|
|
10363
10407
|
}),
|
|
10364
10408
|
truncated && /* @__PURE__ */ jsx("div", {
|
|
10365
|
-
className: s$
|
|
10409
|
+
className: s$12.truncated(),
|
|
10366
10410
|
children: /* @__PURE__ */ jsx(Badge, {
|
|
10367
10411
|
tone: "warning",
|
|
10368
10412
|
children: labels.truncated
|
|
10369
10413
|
})
|
|
10370
10414
|
}),
|
|
10371
10415
|
/* @__PURE__ */ jsx("div", {
|
|
10372
|
-
className: s$
|
|
10416
|
+
className: s$12.body(),
|
|
10373
10417
|
style: maxHeight !== void 0 ? { maxHeight } : void 0,
|
|
10374
10418
|
role: truncated ? "region" : void 0,
|
|
10375
10419
|
"aria-label": truncated ? label : void 0,
|
|
10376
10420
|
tabIndex: truncated ? 0 : void 0,
|
|
10377
10421
|
children: display?.empty ? emptyContent : truncated ? /* @__PURE__ */ jsx("pre", {
|
|
10378
|
-
className: s$
|
|
10422
|
+
className: s$12.text(),
|
|
10379
10423
|
children: display?.displayText
|
|
10380
10424
|
}) : /* @__PURE__ */ jsx(TreeList, {
|
|
10381
10425
|
"aria-label": label,
|
|
@@ -10392,7 +10436,7 @@ function JsonViewer({ data, label = "JSON", defaultExpandDepth = 1, maxDepth = I
|
|
|
10392
10436
|
}
|
|
10393
10437
|
//#endregion
|
|
10394
10438
|
//#region src/components/JsonViewer/JsonViewer.doc.ts
|
|
10395
|
-
const doc$
|
|
10439
|
+
const doc$37 = {
|
|
10396
10440
|
name: "JsonViewer",
|
|
10397
10441
|
group: "Display",
|
|
10398
10442
|
status: "beta",
|
|
@@ -10824,7 +10868,7 @@ function moveKanbanCard(columns, move) {
|
|
|
10824
10868
|
};
|
|
10825
10869
|
});
|
|
10826
10870
|
}
|
|
10827
|
-
const s$
|
|
10871
|
+
const s$11 = kanbanBoardVariants;
|
|
10828
10872
|
function DefaultCard({ card, slots }) {
|
|
10829
10873
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
10830
10874
|
/* @__PURE__ */ jsx("span", {
|
|
@@ -10845,7 +10889,7 @@ function Board({ columns, onMove, renderCard, getCardLabel = (card) => card.titl
|
|
|
10845
10889
|
const { t } = useI18n();
|
|
10846
10890
|
const announce = useAnnounce();
|
|
10847
10891
|
const id = useId();
|
|
10848
|
-
const slots = s$
|
|
10892
|
+
const slots = s$11({ size });
|
|
10849
10893
|
const containers = useMemo(() => columns.map((c) => ({
|
|
10850
10894
|
id: c.id,
|
|
10851
10895
|
items: c.cards.map((card) => card.id)
|
|
@@ -10973,7 +11017,7 @@ function KanbanBoard(props) {
|
|
|
10973
11017
|
}
|
|
10974
11018
|
//#endregion
|
|
10975
11019
|
//#region src/components/KanbanBoard/KanbanBoard.doc.ts
|
|
10976
|
-
const doc$
|
|
11020
|
+
const doc$38 = {
|
|
10977
11021
|
name: "KanbanBoard",
|
|
10978
11022
|
group: "Display",
|
|
10979
11023
|
status: "beta",
|
|
@@ -11161,7 +11205,7 @@ function PasswordInput({ value, defaultValue, onValueChange, visible: visiblePro
|
|
|
11161
11205
|
}
|
|
11162
11206
|
//#endregion
|
|
11163
11207
|
//#region src/components/PasswordInput/PasswordInput.doc.ts
|
|
11164
|
-
const doc$
|
|
11208
|
+
const doc$57 = {
|
|
11165
11209
|
name: "PasswordInput",
|
|
11166
11210
|
group: "Forms",
|
|
11167
11211
|
status: "beta",
|
|
@@ -11244,7 +11288,7 @@ function Textarea({ size, resize, autosize, invalid, className, ref, id, name, d
|
|
|
11244
11288
|
}
|
|
11245
11289
|
//#endregion
|
|
11246
11290
|
//#region src/components/Textarea/Textarea.doc.ts
|
|
11247
|
-
const doc$
|
|
11291
|
+
const doc$91 = {
|
|
11248
11292
|
name: "Textarea",
|
|
11249
11293
|
group: "Forms",
|
|
11250
11294
|
status: "stable",
|
|
@@ -11695,7 +11739,7 @@ function KeyValueEditorInner({ value, defaultValue, onChange, onValidityChange,
|
|
|
11695
11739
|
}
|
|
11696
11740
|
//#endregion
|
|
11697
11741
|
//#region src/components/KeyValueEditor/KeyValueEditor.doc.ts
|
|
11698
|
-
const doc$
|
|
11742
|
+
const doc$40 = {
|
|
11699
11743
|
name: "KeyValueEditor",
|
|
11700
11744
|
group: "Forms",
|
|
11701
11745
|
status: "beta",
|
|
@@ -11986,7 +12030,7 @@ function Lightbox({ items, open, defaultOpen = false, onOpenChange, index, defau
|
|
|
11986
12030
|
}
|
|
11987
12031
|
//#endregion
|
|
11988
12032
|
//#region src/components/Lightbox/Lightbox.doc.ts
|
|
11989
|
-
const doc$
|
|
12033
|
+
const doc$41 = {
|
|
11990
12034
|
name: "Lightbox",
|
|
11991
12035
|
group: "Overlays",
|
|
11992
12036
|
status: "beta",
|
|
@@ -12366,7 +12410,7 @@ function ListInput({ value, defaultValue, onValueChange, label, validate, unique
|
|
|
12366
12410
|
}
|
|
12367
12411
|
//#endregion
|
|
12368
12412
|
//#region src/components/ListInput/ListInput.doc.ts
|
|
12369
|
-
const doc$
|
|
12413
|
+
const doc$43 = {
|
|
12370
12414
|
name: "ListInput",
|
|
12371
12415
|
group: "Forms",
|
|
12372
12416
|
status: "beta",
|
|
@@ -12428,7 +12472,7 @@ const megaMenuVariants = tv({ slots: {
|
|
|
12428
12472
|
} });
|
|
12429
12473
|
//#endregion
|
|
12430
12474
|
//#region src/components/MegaMenu/MegaMenu.tsx
|
|
12431
|
-
const s$
|
|
12475
|
+
const s$10 = megaMenuVariants();
|
|
12432
12476
|
const isCurrent = (l, currentHref) => l.current ?? (!!l.href && l.href === currentHref);
|
|
12433
12477
|
/** Flattens MegaMenu items into NavItems, e.g. to feed StackedLayout `links` / MobileNav on small screens. */
|
|
12434
12478
|
function megaMenuNavItems(items) {
|
|
@@ -12455,22 +12499,22 @@ function PanelLink({ link, currentHref, onNavigate }) {
|
|
|
12455
12499
|
closeOnClick: true,
|
|
12456
12500
|
"aria-current": current ? "page" : void 0,
|
|
12457
12501
|
render: RouterLink ? (props) => createElement(RouterLink, props) : void 0,
|
|
12458
|
-
className: s$
|
|
12502
|
+
className: s$10.link(),
|
|
12459
12503
|
onClick: () => onNavigate?.(link),
|
|
12460
12504
|
children: [IconCmp && /* @__PURE__ */ jsx("span", {
|
|
12461
|
-
className: s$
|
|
12505
|
+
className: s$10.linkIcon(),
|
|
12462
12506
|
"aria-hidden": true,
|
|
12463
12507
|
children: /* @__PURE__ */ jsx(IconCmp, {
|
|
12464
12508
|
size: 15,
|
|
12465
12509
|
"aria-hidden": true
|
|
12466
12510
|
})
|
|
12467
12511
|
}), /* @__PURE__ */ jsxs("span", {
|
|
12468
|
-
className: s$
|
|
12512
|
+
className: s$10.linkText(),
|
|
12469
12513
|
children: [/* @__PURE__ */ jsx("span", {
|
|
12470
|
-
className: s$
|
|
12514
|
+
className: s$10.linkLabel(),
|
|
12471
12515
|
children: link.label
|
|
12472
12516
|
}), link.description && /* @__PURE__ */ jsx("span", {
|
|
12473
|
-
className: s$
|
|
12517
|
+
className: s$10.linkDescription(),
|
|
12474
12518
|
children: link.description
|
|
12475
12519
|
})]
|
|
12476
12520
|
})]
|
|
@@ -12481,18 +12525,18 @@ function Panel({ item, currentHref, onNavigate }) {
|
|
|
12481
12525
|
const sections = item.sections ?? [];
|
|
12482
12526
|
const cols = { "--mega-cols": Math.min(sections.length, 3) };
|
|
12483
12527
|
return /* @__PURE__ */ jsxs(NavigationMenu.Content, {
|
|
12484
|
-
className: s$
|
|
12528
|
+
className: s$10.content(),
|
|
12485
12529
|
children: [/* @__PURE__ */ jsx("div", {
|
|
12486
|
-
className: s$
|
|
12530
|
+
className: s$10.columns(),
|
|
12487
12531
|
style: cols,
|
|
12488
12532
|
children: sections.map((sec, i) => /* @__PURE__ */ jsxs("div", {
|
|
12489
|
-
className: s$
|
|
12533
|
+
className: s$10.section(),
|
|
12490
12534
|
children: [sec.title && /* @__PURE__ */ jsx("p", {
|
|
12491
12535
|
id: `${id}-${i}`,
|
|
12492
|
-
className: s$
|
|
12536
|
+
className: s$10.sectionTitle(),
|
|
12493
12537
|
children: sec.title
|
|
12494
12538
|
}), /* @__PURE__ */ jsx("ul", {
|
|
12495
|
-
className: s$
|
|
12539
|
+
className: s$10.links(),
|
|
12496
12540
|
"aria-labelledby": sec.title ? `${id}-${i}` : void 0,
|
|
12497
12541
|
children: sec.links.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(PanelLink, {
|
|
12498
12542
|
link,
|
|
@@ -12502,7 +12546,7 @@ function Panel({ item, currentHref, onNavigate }) {
|
|
|
12502
12546
|
})]
|
|
12503
12547
|
}, sec.title ?? i))
|
|
12504
12548
|
}), item.featured != null && /* @__PURE__ */ jsx("div", {
|
|
12505
|
-
className: s$
|
|
12549
|
+
className: s$10.featured(),
|
|
12506
12550
|
children: item.featured
|
|
12507
12551
|
})]
|
|
12508
12552
|
});
|
|
@@ -12515,7 +12559,7 @@ function TopLink({ item, currentHref, onNavigate }) {
|
|
|
12515
12559
|
active: current,
|
|
12516
12560
|
"aria-current": current ? "page" : void 0,
|
|
12517
12561
|
render: RouterLink ? (props) => createElement(RouterLink, props) : void 0,
|
|
12518
|
-
className: s$
|
|
12562
|
+
className: s$10.trigger(),
|
|
12519
12563
|
onClick: () => onNavigate?.(item),
|
|
12520
12564
|
children: item.label
|
|
12521
12565
|
});
|
|
@@ -12529,16 +12573,16 @@ function TopLink({ item, currentHref, onNavigate }) {
|
|
|
12529
12573
|
function MegaMenu({ items, label = "Main", currentHref, onNavigate, className }) {
|
|
12530
12574
|
return /* @__PURE__ */ jsxs(NavigationMenu.Root, {
|
|
12531
12575
|
"aria-label": label,
|
|
12532
|
-
className: cn(s$
|
|
12576
|
+
className: cn(s$10.root(), className),
|
|
12533
12577
|
children: [/* @__PURE__ */ jsx(NavigationMenu.List, {
|
|
12534
|
-
className: s$
|
|
12578
|
+
className: s$10.list(),
|
|
12535
12579
|
children: items.map((item) => /* @__PURE__ */ jsx(NavigationMenu.Item, {
|
|
12536
12580
|
value: item.id ?? item.label,
|
|
12537
12581
|
children: item.sections?.length ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs(NavigationMenu.Trigger, {
|
|
12538
|
-
className: s$
|
|
12582
|
+
className: s$10.trigger(),
|
|
12539
12583
|
"data-current": item.sections.some((sec) => sec.links.some((l) => isCurrent(l, currentHref))) || void 0,
|
|
12540
12584
|
children: [item.label, /* @__PURE__ */ jsx(NavigationMenu.Icon, {
|
|
12541
|
-
className: s$
|
|
12585
|
+
className: s$10.chevron(),
|
|
12542
12586
|
children: /* @__PURE__ */ jsx(ChevronDown, {
|
|
12543
12587
|
size: 14,
|
|
12544
12588
|
"aria-hidden": true
|
|
@@ -12555,21 +12599,21 @@ function MegaMenu({ items, label = "Main", currentHref, onNavigate, className })
|
|
|
12555
12599
|
})
|
|
12556
12600
|
}, item.id ?? item.label))
|
|
12557
12601
|
}), /* @__PURE__ */ jsx(NavigationMenu.Portal, { children: /* @__PURE__ */ jsx(NavigationMenu.Positioner, {
|
|
12558
|
-
className: s$
|
|
12602
|
+
className: s$10.positioner(),
|
|
12559
12603
|
sideOffset: 8,
|
|
12560
12604
|
align: "start",
|
|
12561
12605
|
collisionPadding: 16,
|
|
12562
12606
|
collisionAvoidance: { side: "none" },
|
|
12563
12607
|
children: /* @__PURE__ */ jsx(NavigationMenu.Popup, {
|
|
12564
|
-
className: s$
|
|
12565
|
-
children: /* @__PURE__ */ jsx(NavigationMenu.Viewport, { className: s$
|
|
12608
|
+
className: s$10.popup(),
|
|
12609
|
+
children: /* @__PURE__ */ jsx(NavigationMenu.Viewport, { className: s$10.viewport() })
|
|
12566
12610
|
})
|
|
12567
12611
|
}) })]
|
|
12568
12612
|
});
|
|
12569
12613
|
}
|
|
12570
12614
|
//#endregion
|
|
12571
12615
|
//#region src/components/MegaMenu/MegaMenu.doc.ts
|
|
12572
|
-
const doc$
|
|
12616
|
+
const doc$45 = {
|
|
12573
12617
|
name: "MegaMenu",
|
|
12574
12618
|
group: "Navigation",
|
|
12575
12619
|
status: "beta",
|
|
@@ -12596,7 +12640,7 @@ const doc$44 = {
|
|
|
12596
12640
|
};
|
|
12597
12641
|
//#endregion
|
|
12598
12642
|
//#region src/components/Menu/Menu.tsx
|
|
12599
|
-
const s$
|
|
12643
|
+
const s$9 = menuVariants();
|
|
12600
12644
|
/** Menu state container (open, defaultOpen, onOpenChange, modal). Renders no element. */
|
|
12601
12645
|
const Menu = Menu$2.Root;
|
|
12602
12646
|
/** Opens the menu. Use `render={<Button />}` or `render={<IconButton … />}` to keep the kit look. */
|
|
@@ -12614,13 +12658,13 @@ function MenuContent({ side, align = "start", sideOffset = 8, alignOffset, class
|
|
|
12614
12658
|
container,
|
|
12615
12659
|
children: /* @__PURE__ */ jsx(Menu$2.Positioner, {
|
|
12616
12660
|
dir,
|
|
12617
|
-
className: s$
|
|
12661
|
+
className: s$9.positioner(),
|
|
12618
12662
|
side,
|
|
12619
12663
|
align,
|
|
12620
12664
|
sideOffset,
|
|
12621
12665
|
alignOffset,
|
|
12622
12666
|
children: /* @__PURE__ */ jsx(Menu$2.Popup, {
|
|
12623
|
-
className: cn(s$
|
|
12667
|
+
className: cn(s$9.popup(), className),
|
|
12624
12668
|
...props,
|
|
12625
12669
|
children
|
|
12626
12670
|
})
|
|
@@ -12662,10 +12706,10 @@ function MenuItem({ icon: IconCmp, shortcut, destructive, className, children, .
|
|
|
12662
12706
|
/** Toggle item (role `menuitemcheckbox`). Stays open on select so several can be toggled. */
|
|
12663
12707
|
function MenuCheckboxItem({ className, children, ...props }) {
|
|
12664
12708
|
return /* @__PURE__ */ jsxs(Menu$2.CheckboxItem, {
|
|
12665
|
-
className: cn(s$
|
|
12709
|
+
className: cn(s$9.item(), "group", className),
|
|
12666
12710
|
...props,
|
|
12667
12711
|
children: [/* @__PURE__ */ jsx("span", {
|
|
12668
|
-
className: s$
|
|
12712
|
+
className: s$9.checkbox(),
|
|
12669
12713
|
"aria-hidden": true,
|
|
12670
12714
|
children: /* @__PURE__ */ jsx(Menu$2.CheckboxItemIndicator, { children: /* @__PURE__ */ jsx(Check, {
|
|
12671
12715
|
size: 12,
|
|
@@ -12673,7 +12717,7 @@ function MenuCheckboxItem({ className, children, ...props }) {
|
|
|
12673
12717
|
"aria-hidden": true
|
|
12674
12718
|
}) })
|
|
12675
12719
|
}), /* @__PURE__ */ jsx("span", {
|
|
12676
|
-
className: s$
|
|
12720
|
+
className: s$9.itemLabel(),
|
|
12677
12721
|
children
|
|
12678
12722
|
})]
|
|
12679
12723
|
});
|
|
@@ -12681,14 +12725,14 @@ function MenuCheckboxItem({ className, children, ...props }) {
|
|
|
12681
12725
|
/** Single-choice item (role `menuitemradio`) inside a MenuRadioGroup; a check marks the selection. */
|
|
12682
12726
|
function MenuRadioItem({ className, children, closeOnClick = true, ...props }) {
|
|
12683
12727
|
return /* @__PURE__ */ jsxs(Menu$2.RadioItem, {
|
|
12684
|
-
className: cn(s$
|
|
12728
|
+
className: cn(s$9.item(), className),
|
|
12685
12729
|
closeOnClick,
|
|
12686
12730
|
...props,
|
|
12687
12731
|
children: [/* @__PURE__ */ jsx("span", {
|
|
12688
|
-
className: s$
|
|
12732
|
+
className: s$9.itemLabel(),
|
|
12689
12733
|
children
|
|
12690
12734
|
}), /* @__PURE__ */ jsx(Menu$2.RadioItemIndicator, {
|
|
12691
|
-
className: s$
|
|
12735
|
+
className: s$9.radioIndicator(),
|
|
12692
12736
|
children: /* @__PURE__ */ jsx(Check, {
|
|
12693
12737
|
size: 15,
|
|
12694
12738
|
"aria-hidden": true
|
|
@@ -12698,35 +12742,35 @@ function MenuRadioItem({ className, children, closeOnClick = true, ...props }) {
|
|
|
12698
12742
|
}
|
|
12699
12743
|
function MenuGroupLabel({ className, ...props }) {
|
|
12700
12744
|
return /* @__PURE__ */ jsx(Menu$2.GroupLabel, {
|
|
12701
|
-
className: cn(s$
|
|
12745
|
+
className: cn(s$9.groupLabel(), className),
|
|
12702
12746
|
...props
|
|
12703
12747
|
});
|
|
12704
12748
|
}
|
|
12705
12749
|
function MenuSeparator({ className, ...props }) {
|
|
12706
12750
|
return /* @__PURE__ */ jsx(Menu$2.Separator, {
|
|
12707
|
-
className: cn(s$
|
|
12751
|
+
className: cn(s$9.separator(), className),
|
|
12708
12752
|
...props
|
|
12709
12753
|
});
|
|
12710
12754
|
}
|
|
12711
12755
|
/** Item that opens a submenu (ArrowRight, Enter or hover). */
|
|
12712
12756
|
function MenuSubTrigger({ icon: IconCmp, className, children, ...props }) {
|
|
12713
12757
|
return /* @__PURE__ */ jsxs(Menu$2.SubmenuTrigger, {
|
|
12714
|
-
className: cn(s$
|
|
12758
|
+
className: cn(s$9.subTrigger(), className),
|
|
12715
12759
|
...props,
|
|
12716
12760
|
children: [
|
|
12717
12761
|
IconCmp && /* @__PURE__ */ jsx(IconCmp, {
|
|
12718
12762
|
size: 15,
|
|
12719
12763
|
"aria-hidden": true,
|
|
12720
|
-
className: s$
|
|
12764
|
+
className: s$9.itemIcon()
|
|
12721
12765
|
}),
|
|
12722
12766
|
/* @__PURE__ */ jsx("span", {
|
|
12723
|
-
className: s$
|
|
12767
|
+
className: s$9.itemLabel(),
|
|
12724
12768
|
children
|
|
12725
12769
|
}),
|
|
12726
12770
|
/* @__PURE__ */ jsx(ChevronRight, {
|
|
12727
12771
|
size: 14,
|
|
12728
12772
|
"aria-hidden": true,
|
|
12729
|
-
className: s$
|
|
12773
|
+
className: s$9.subChevron()
|
|
12730
12774
|
})
|
|
12731
12775
|
]
|
|
12732
12776
|
});
|
|
@@ -12757,7 +12801,7 @@ function MoreMenu({ items, label: labelProp, variant = "secondary", size = "md",
|
|
|
12757
12801
|
}
|
|
12758
12802
|
//#endregion
|
|
12759
12803
|
//#region src/components/Menu/Menu.doc.ts
|
|
12760
|
-
const doc$
|
|
12804
|
+
const doc$46 = {
|
|
12761
12805
|
name: "Menu",
|
|
12762
12806
|
group: "Overlays",
|
|
12763
12807
|
status: "stable",
|
|
@@ -12890,7 +12934,7 @@ function Meter({ value, min = 0, max = 100, size, label, valueLabel, hideValue =
|
|
|
12890
12934
|
}
|
|
12891
12935
|
//#endregion
|
|
12892
12936
|
//#region src/components/Meter/Meter.doc.ts
|
|
12893
|
-
const doc$
|
|
12937
|
+
const doc$47 = {
|
|
12894
12938
|
name: "Meter",
|
|
12895
12939
|
group: "Feedback",
|
|
12896
12940
|
status: "stable",
|
|
@@ -13241,7 +13285,7 @@ function NavList({ groups, currentHref, collapsed = false, label: labelProp, onN
|
|
|
13241
13285
|
}
|
|
13242
13286
|
//#endregion
|
|
13243
13287
|
//#region src/components/NavList/NavList.doc.ts
|
|
13244
|
-
const doc$
|
|
13288
|
+
const doc$50 = {
|
|
13245
13289
|
name: "NavList",
|
|
13246
13290
|
group: "Navigation",
|
|
13247
13291
|
status: "beta",
|
|
@@ -13335,7 +13379,7 @@ function MobileNav({ className, contentClassName, groups, currentHref, title, la
|
|
|
13335
13379
|
}
|
|
13336
13380
|
//#endregion
|
|
13337
13381
|
//#region src/components/MobileNav/MobileNav.doc.ts
|
|
13338
|
-
const doc$
|
|
13382
|
+
const doc$48 = {
|
|
13339
13383
|
name: "MobileNav",
|
|
13340
13384
|
group: "Navigation",
|
|
13341
13385
|
status: "beta",
|
|
@@ -13620,7 +13664,7 @@ function MultiSelect({ options, value, defaultValue, onValueChange, label, place
|
|
|
13620
13664
|
}
|
|
13621
13665
|
//#endregion
|
|
13622
13666
|
//#region src/components/MultiSelect/MultiSelect.doc.ts
|
|
13623
|
-
const doc$
|
|
13667
|
+
const doc$49 = {
|
|
13624
13668
|
name: "MultiSelect",
|
|
13625
13669
|
group: "Forms",
|
|
13626
13670
|
status: "beta",
|
|
@@ -13854,7 +13898,7 @@ function NotificationsPopover({ className, notifications, onSelect, onMarkAllRea
|
|
|
13854
13898
|
}
|
|
13855
13899
|
//#endregion
|
|
13856
13900
|
//#region src/components/NotificationsPopover/NotificationsPopover.doc.ts
|
|
13857
|
-
const doc$
|
|
13901
|
+
const doc$51 = {
|
|
13858
13902
|
name: "NotificationsPopover",
|
|
13859
13903
|
group: "Overlays",
|
|
13860
13904
|
status: "beta",
|
|
@@ -13946,7 +13990,7 @@ function OtpInput({ length = 6, type = "numeric", size, invalid, onComplete, gro
|
|
|
13946
13990
|
}
|
|
13947
13991
|
//#endregion
|
|
13948
13992
|
//#region src/components/OtpInput/OtpInput.doc.ts
|
|
13949
|
-
const doc$
|
|
13993
|
+
const doc$53 = {
|
|
13950
13994
|
name: "OtpInput",
|
|
13951
13995
|
group: "Forms",
|
|
13952
13996
|
status: "beta",
|
|
@@ -14124,7 +14168,7 @@ function OverflowList({ items, renderItem, renderOverflowItem, getKey = (_item,
|
|
|
14124
14168
|
}
|
|
14125
14169
|
//#endregion
|
|
14126
14170
|
//#region src/components/OverflowList/OverflowList.doc.ts
|
|
14127
|
-
const doc$
|
|
14171
|
+
const doc$54 = {
|
|
14128
14172
|
name: "OverflowList",
|
|
14129
14173
|
group: "Display",
|
|
14130
14174
|
status: "beta",
|
|
@@ -14369,7 +14413,7 @@ function PaginationCompact({ page, pageSize, total, onPageChange, locale, ofLabe
|
|
|
14369
14413
|
}
|
|
14370
14414
|
//#endregion
|
|
14371
14415
|
//#region src/components/Pagination/Pagination.doc.ts
|
|
14372
|
-
const doc$
|
|
14416
|
+
const doc$56 = {
|
|
14373
14417
|
name: "Pagination",
|
|
14374
14418
|
group: "Navigation",
|
|
14375
14419
|
status: "stable",
|
|
@@ -14389,6 +14433,145 @@ const doc$55 = {
|
|
|
14389
14433
|
]
|
|
14390
14434
|
};
|
|
14391
14435
|
//#endregion
|
|
14436
|
+
//#region src/components/CursorPagination/cursor-pagination.variants.ts
|
|
14437
|
+
const cursorPaginationVariants = tv({ slots: {
|
|
14438
|
+
root: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus-ring",
|
|
14439
|
+
selectGroup: "flex items-center gap-2.5",
|
|
14440
|
+
selectLabel: "text-[12.5px] text-muted-foreground",
|
|
14441
|
+
select: "w-[76px] font-mono",
|
|
14442
|
+
controls: "flex flex-wrap items-center gap-3",
|
|
14443
|
+
status: "text-[12.5px] text-muted-foreground tabular-nums"
|
|
14444
|
+
} });
|
|
14445
|
+
//#endregion
|
|
14446
|
+
//#region src/components/CursorPagination/CursorPagination.tsx
|
|
14447
|
+
const s$8 = cursorPaginationVariants();
|
|
14448
|
+
/** Stateless navigation: the consumer owns all cursors and request state. */
|
|
14449
|
+
function CursorPagination({ hasPrevious, hasNext, onPrevious, onNext, loading = false, busy = false, loadingLabel, unavailableBehaviour = "disabled", summary, shownCount, total, pageSize, pageSizeOptions, onPageSizeChange, previousLabel, nextLabel, ariaLabel, labels, className }) {
|
|
14450
|
+
const { t } = useI18n();
|
|
14451
|
+
const isBusy = loading || busy;
|
|
14452
|
+
const showPrevious = hasPrevious || unavailableBehaviour === "disabled";
|
|
14453
|
+
const showNext = hasNext || unavailableBehaviour === "disabled";
|
|
14454
|
+
const root = useRef(null);
|
|
14455
|
+
const removedFocusRef = useRef(false);
|
|
14456
|
+
const [previous, previousRef] = useControlRef(removedFocusRef);
|
|
14457
|
+
const [next, nextRef] = useControlRef(removedFocusRef);
|
|
14458
|
+
const [select, selectRef] = useControlRef(removedFocusRef);
|
|
14459
|
+
useLayoutEffect(() => {
|
|
14460
|
+
if (!removedFocusRef.current) return;
|
|
14461
|
+
removedFocusRef.current = false;
|
|
14462
|
+
(next.current ?? previous.current ?? select.current ?? root.current)?.focus();
|
|
14463
|
+
});
|
|
14464
|
+
const summaryText = summary !== void 0 ? plainText(summary) : typeof total === "number" && total > 0 ? labels?.totalSummary?.(total) ?? "" : labels?.shownSummary?.(shownCount ?? 0) ?? "";
|
|
14465
|
+
const status = isBusy && loadingLabel !== null ? loadingLabel ?? t("common.loading") : summaryText;
|
|
14466
|
+
return /* @__PURE__ */ jsxs("nav", {
|
|
14467
|
+
ref: root,
|
|
14468
|
+
tabIndex: -1,
|
|
14469
|
+
"aria-label": ariaLabel ?? labels?.navLabel ?? t("pagination.label"),
|
|
14470
|
+
className: cn(s$8.root(), className),
|
|
14471
|
+
children: [pageSizeOptions !== void 0 && /* @__PURE__ */ jsxs("div", {
|
|
14472
|
+
className: s$8.selectGroup(),
|
|
14473
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
14474
|
+
className: s$8.selectLabel(),
|
|
14475
|
+
"aria-hidden": true,
|
|
14476
|
+
children: labels?.rowsPerPage
|
|
14477
|
+
}), /* @__PURE__ */ jsx(SimpleSelect, {
|
|
14478
|
+
triggerRef: selectRef,
|
|
14479
|
+
"aria-label": labels?.rowsPerPageLabel,
|
|
14480
|
+
size: "sm",
|
|
14481
|
+
className: s$8.select(),
|
|
14482
|
+
value: String(pageSize),
|
|
14483
|
+
onValueChange: (value) => {
|
|
14484
|
+
if (value !== null) onPageSizeChange?.(Number(value));
|
|
14485
|
+
},
|
|
14486
|
+
items: pageSizeOptions.map((n) => ({
|
|
14487
|
+
value: String(n),
|
|
14488
|
+
label: String(n)
|
|
14489
|
+
}))
|
|
14490
|
+
})]
|
|
14491
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
14492
|
+
className: s$8.controls(),
|
|
14493
|
+
children: [
|
|
14494
|
+
showPrevious && /* @__PURE__ */ jsx(Button, {
|
|
14495
|
+
ref: previousRef,
|
|
14496
|
+
variant: "secondary",
|
|
14497
|
+
size: "sm",
|
|
14498
|
+
disabled: !hasPrevious || isBusy,
|
|
14499
|
+
focusableWhenDisabled: true,
|
|
14500
|
+
"aria-busy": isBusy || void 0,
|
|
14501
|
+
onClick: () => onPrevious(),
|
|
14502
|
+
children: previousLabel ?? labels?.previous ?? t("pagination.previous")
|
|
14503
|
+
}),
|
|
14504
|
+
/* @__PURE__ */ jsx("p", {
|
|
14505
|
+
role: "status",
|
|
14506
|
+
"aria-live": "polite",
|
|
14507
|
+
"aria-atomic": "true",
|
|
14508
|
+
className: s$8.status(),
|
|
14509
|
+
children: status
|
|
14510
|
+
}),
|
|
14511
|
+
showNext && /* @__PURE__ */ jsx(Button, {
|
|
14512
|
+
ref: nextRef,
|
|
14513
|
+
variant: "secondary",
|
|
14514
|
+
size: "sm",
|
|
14515
|
+
disabled: !hasNext || isBusy,
|
|
14516
|
+
focusableWhenDisabled: true,
|
|
14517
|
+
"aria-busy": isBusy || void 0,
|
|
14518
|
+
onClick: () => onNext(),
|
|
14519
|
+
children: nextLabel ?? labels?.next ?? t("pagination.next")
|
|
14520
|
+
})
|
|
14521
|
+
]
|
|
14522
|
+
})]
|
|
14523
|
+
});
|
|
14524
|
+
}
|
|
14525
|
+
/** Ref detachment runs before removal, while the focused element still exists. */
|
|
14526
|
+
function useControlRef(removedFocusRef) {
|
|
14527
|
+
const current = useRef(null);
|
|
14528
|
+
return [current, useCallback((node) => {
|
|
14529
|
+
const control = current.current;
|
|
14530
|
+
const popupId = control?.getAttribute("aria-controls");
|
|
14531
|
+
const popup = popupId ? control?.ownerDocument.getElementById(popupId) : null;
|
|
14532
|
+
const active = control?.ownerDocument.activeElement;
|
|
14533
|
+
if (!node && (control?.contains(active ?? null) || popup?.contains(active ?? null))) removedFocusRef.current = true;
|
|
14534
|
+
current.current = node;
|
|
14535
|
+
}, [removedFocusRef])];
|
|
14536
|
+
}
|
|
14537
|
+
/** Flatten plain text nodes to one text value, so a changed commit writes to the region once. */
|
|
14538
|
+
function plainText(node) {
|
|
14539
|
+
return Children.toArray(node).map((child) => {
|
|
14540
|
+
if (typeof child === "string" || typeof child === "number") return String(child);
|
|
14541
|
+
return isValidElement(child) ? plainText(child.props.children) : "";
|
|
14542
|
+
}).join("");
|
|
14543
|
+
}
|
|
14544
|
+
//#endregion
|
|
14545
|
+
//#region src/components/CursorPagination/CursorPagination.doc.ts
|
|
14546
|
+
const doc$23 = {
|
|
14547
|
+
name: "CursorPagination",
|
|
14548
|
+
group: "Navigation",
|
|
14549
|
+
status: "beta",
|
|
14550
|
+
description: "See the cursor-pager-footer block example for data-table paginated={false} with a consumer-owned token stack. Stateless Previous/Next navigation for consumer-owned cursor stacks, with no page numbers, ranges or invented totals. Supply a plain-text summary (null keeps it empty) or shownCount with required labels.shownSummary and labels.totalSummary; only a positive exact total uses totalSummary. A pageSizeOptions select requires pageSize, onPageSizeChange, labels.rowsPerPage and labels.rowsPerPageLabel. Flat previousLabel, nextLabel and ariaLabel override labels.previous, labels.next and labels.navLabel, then provider catalog defaults. loading and busy are aliases: rendered buttons stay focusable and aria-disabled with aria-busy, while the select stays enabled. loadingLabel defaults to the catalog; null keeps the summary during busy. One persistent polite status writes once per changed text; mount, empty text and unchanged commits do not announce. Removal of the focused control moves focus to Next, Previous, the select or the nav root, in that order, even while busy; focus elsewhere never moves.",
|
|
14551
|
+
primitive: "@base-ui/react/button + @base-ui/react/select (kit Button and SimpleSelect)",
|
|
14552
|
+
pattern: "named navigation landmark with one persistent polite atomic status",
|
|
14553
|
+
keyboard: [
|
|
14554
|
+
["Tab / Shift+Tab", "Moves through the select (when present), Previous and Next, including aria-disabled buttons"],
|
|
14555
|
+
["Enter / Space", "Activates an available button once; busy and unavailable buttons do nothing; opens the select"],
|
|
14556
|
+
["ArrowDown / ArrowUp", "Opens the select and moves between page-size options"],
|
|
14557
|
+
["Enter / Escape", "Selects the highlighted page size or closes the select; focus returns to its trigger"]
|
|
14558
|
+
],
|
|
14559
|
+
tokens: [
|
|
14560
|
+
"card",
|
|
14561
|
+
"border",
|
|
14562
|
+
"foreground",
|
|
14563
|
+
"muted-foreground",
|
|
14564
|
+
"secondary",
|
|
14565
|
+
"focus-ring",
|
|
14566
|
+
"background",
|
|
14567
|
+
"primary",
|
|
14568
|
+
"ring",
|
|
14569
|
+
"popover",
|
|
14570
|
+
"popover-foreground",
|
|
14571
|
+
"primary-text"
|
|
14572
|
+
]
|
|
14573
|
+
};
|
|
14574
|
+
//#endregion
|
|
14392
14575
|
//#region src/components/PermissionMatrix/permission-matrix.variants.ts
|
|
14393
14576
|
/**
|
|
14394
14577
|
* Roles × permissions grid. Each cell is a chip-like button: allowed and denied use their tone
|
|
@@ -14632,7 +14815,7 @@ function PermissionMatrix({ roles, sections, value, defaultValue, onChange, reso
|
|
|
14632
14815
|
}
|
|
14633
14816
|
//#endregion
|
|
14634
14817
|
//#region src/components/PermissionMatrix/PermissionMatrix.doc.ts
|
|
14635
|
-
const doc$
|
|
14818
|
+
const doc$58 = {
|
|
14636
14819
|
name: "PermissionMatrix",
|
|
14637
14820
|
group: "Forms",
|
|
14638
14821
|
status: "beta",
|
|
@@ -15301,7 +15484,7 @@ function PowerSearch({ fields, value, defaultValue, onValueChange, onSubmit, all
|
|
|
15301
15484
|
}
|
|
15302
15485
|
//#endregion
|
|
15303
15486
|
//#region src/components/PowerSearch/PowerSearch.doc.ts
|
|
15304
|
-
const doc$
|
|
15487
|
+
const doc$60 = {
|
|
15305
15488
|
name: "PowerSearch",
|
|
15306
15489
|
group: "Forms",
|
|
15307
15490
|
status: "experimental",
|
|
@@ -15401,7 +15584,7 @@ function Progress({ tone, size, label, showValue = false, className, ...props })
|
|
|
15401
15584
|
}
|
|
15402
15585
|
//#endregion
|
|
15403
15586
|
//#region src/components/Progress/Progress.doc.ts
|
|
15404
|
-
const doc$
|
|
15587
|
+
const doc$62 = {
|
|
15405
15588
|
name: "Progress",
|
|
15406
15589
|
group: "Feedback",
|
|
15407
15590
|
status: "stable",
|
|
@@ -15983,7 +16166,7 @@ function QueryBuilder({ fields, value, defaultValue, onChange, maxDepth = 3, sho
|
|
|
15983
16166
|
}
|
|
15984
16167
|
//#endregion
|
|
15985
16168
|
//#region src/components/QueryBuilder/QueryBuilder.doc.ts
|
|
15986
|
-
const doc$
|
|
16169
|
+
const doc$63 = {
|
|
15987
16170
|
name: "QueryBuilder",
|
|
15988
16171
|
group: "Forms",
|
|
15989
16172
|
status: "beta",
|
|
@@ -16100,7 +16283,7 @@ function Radio({ label, description, trailing, className, ...props }) {
|
|
|
16100
16283
|
}
|
|
16101
16284
|
//#endregion
|
|
16102
16285
|
//#region src/components/RadioGroup/RadioGroup.doc.ts
|
|
16103
|
-
const doc$
|
|
16286
|
+
const doc$64 = {
|
|
16104
16287
|
name: "RadioGroup",
|
|
16105
16288
|
group: "Forms",
|
|
16106
16289
|
status: "stable",
|
|
@@ -16486,7 +16669,7 @@ function ResizeHandle({ withHandle, step = 5, disabled, className, onKeyDown, on
|
|
|
16486
16669
|
}
|
|
16487
16670
|
//#endregion
|
|
16488
16671
|
//#region src/components/Resizable/Resizable.doc.ts
|
|
16489
|
-
const doc$
|
|
16672
|
+
const doc$65 = {
|
|
16490
16673
|
name: "Resizable",
|
|
16491
16674
|
group: "Layout",
|
|
16492
16675
|
status: "stable",
|
|
@@ -17316,7 +17499,7 @@ function ScheduleInput({ value, defaultValue = "0 9 * * 1-5", onValueChange, tim
|
|
|
17316
17499
|
}
|
|
17317
17500
|
//#endregion
|
|
17318
17501
|
//#region src/components/ScheduleInput/ScheduleInput.doc.ts
|
|
17319
|
-
const doc$
|
|
17502
|
+
const doc$66 = {
|
|
17320
17503
|
name: "ScheduleInput",
|
|
17321
17504
|
group: "Forms",
|
|
17322
17505
|
status: "beta",
|
|
@@ -17398,7 +17581,7 @@ function ScrollArea({ orientation = "vertical", bordered, className, viewportCla
|
|
|
17398
17581
|
}
|
|
17399
17582
|
//#endregion
|
|
17400
17583
|
//#region src/components/ScrollArea/ScrollArea.doc.ts
|
|
17401
|
-
const doc$
|
|
17584
|
+
const doc$67 = {
|
|
17402
17585
|
name: "ScrollArea",
|
|
17403
17586
|
group: "Layout",
|
|
17404
17587
|
status: "stable",
|
|
@@ -17536,7 +17719,7 @@ function Timestamp({ value, format = "relative", locale: localeProp, relativeSty
|
|
|
17536
17719
|
}
|
|
17537
17720
|
//#endregion
|
|
17538
17721
|
//#region src/components/Timestamp/Timestamp.doc.ts
|
|
17539
|
-
const doc$
|
|
17722
|
+
const doc$96 = {
|
|
17540
17723
|
name: "Timestamp",
|
|
17541
17724
|
group: "Display",
|
|
17542
17725
|
status: "beta",
|
|
@@ -17736,7 +17919,7 @@ function SecretFieldInner({ value, editable = false, onValueChange, revealed: re
|
|
|
17736
17919
|
}
|
|
17737
17920
|
//#endregion
|
|
17738
17921
|
//#region src/components/SecretField/SecretField.doc.ts
|
|
17739
|
-
const doc$
|
|
17922
|
+
const doc$68 = {
|
|
17740
17923
|
name: "SecretField",
|
|
17741
17924
|
group: "Forms",
|
|
17742
17925
|
status: "beta",
|
|
@@ -17880,7 +18063,7 @@ function Section({ variant, padding, divided, title, description, actions, headi
|
|
|
17880
18063
|
}
|
|
17881
18064
|
//#endregion
|
|
17882
18065
|
//#region src/components/Section/Section.doc.ts
|
|
17883
|
-
const doc$
|
|
18066
|
+
const doc$69 = {
|
|
17884
18067
|
name: "Section",
|
|
17885
18068
|
group: "Layout",
|
|
17886
18069
|
status: "stable",
|
|
@@ -17979,7 +18162,7 @@ function Separator({ orientation = "horizontal", variant, labelStyle, label, lab
|
|
|
17979
18162
|
}
|
|
17980
18163
|
//#endregion
|
|
17981
18164
|
//#region src/components/Separator/Separator.doc.ts
|
|
17982
|
-
const doc$
|
|
18165
|
+
const doc$71 = {
|
|
17983
18166
|
name: "Separator",
|
|
17984
18167
|
group: "Layout",
|
|
17985
18168
|
status: "stable",
|
|
@@ -18028,7 +18211,7 @@ function Skeleton({ shape, lines = 1, className, ...props }) {
|
|
|
18028
18211
|
}
|
|
18029
18212
|
//#endregion
|
|
18030
18213
|
//#region src/components/Skeleton/Skeleton.doc.ts
|
|
18031
|
-
const doc$
|
|
18214
|
+
const doc$74 = {
|
|
18032
18215
|
name: "Skeleton",
|
|
18033
18216
|
group: "Feedback",
|
|
18034
18217
|
status: "stable",
|
|
@@ -18108,7 +18291,7 @@ function Slider({ size, label, "aria-label": ariaLabel, thumbLabels, showValue =
|
|
|
18108
18291
|
}
|
|
18109
18292
|
//#endregion
|
|
18110
18293
|
//#region src/components/Slider/Slider.doc.ts
|
|
18111
|
-
const doc$
|
|
18294
|
+
const doc$75 = {
|
|
18112
18295
|
name: "Slider",
|
|
18113
18296
|
group: "Forms",
|
|
18114
18297
|
status: "stable",
|
|
@@ -18299,7 +18482,7 @@ function Sparkline({ data, variant = "line", area = false, markers = [], tone, w
|
|
|
18299
18482
|
}
|
|
18300
18483
|
//#endregion
|
|
18301
18484
|
//#region src/components/Sparkline/Sparkline.doc.ts
|
|
18302
|
-
const doc$
|
|
18485
|
+
const doc$76 = {
|
|
18303
18486
|
name: "Sparkline",
|
|
18304
18487
|
group: "Display",
|
|
18305
18488
|
status: "beta",
|
|
@@ -18397,7 +18580,7 @@ function SplitButtonMenuItem({ action, first }) {
|
|
|
18397
18580
|
}
|
|
18398
18581
|
//#endregion
|
|
18399
18582
|
//#region src/components/SplitButton/SplitButton.doc.ts
|
|
18400
|
-
const doc$
|
|
18583
|
+
const doc$78 = {
|
|
18401
18584
|
name: "SplitButton",
|
|
18402
18585
|
group: "Actions",
|
|
18403
18586
|
status: "beta",
|
|
@@ -18467,7 +18650,7 @@ function Center({ as = "div", inline, className, render, ref, ...props }) {
|
|
|
18467
18650
|
}
|
|
18468
18651
|
//#endregion
|
|
18469
18652
|
//#region src/components/Stack/Stack.doc.ts
|
|
18470
|
-
const doc$
|
|
18653
|
+
const doc$80 = {
|
|
18471
18654
|
name: "Stack",
|
|
18472
18655
|
group: "Layout",
|
|
18473
18656
|
status: "stable",
|
|
@@ -18561,7 +18744,7 @@ function StatusDot({ tone, size, label, pulse = false, className, ...props }) {
|
|
|
18561
18744
|
}
|
|
18562
18745
|
//#endregion
|
|
18563
18746
|
//#region src/components/StatusDot/StatusDot.doc.ts
|
|
18564
|
-
const doc$
|
|
18747
|
+
const doc$82 = {
|
|
18565
18748
|
name: "StatusDot",
|
|
18566
18749
|
group: "Display",
|
|
18567
18750
|
status: "beta",
|
|
@@ -18643,7 +18826,7 @@ function StatusTag({ status, statuses, label, uppercase, className, ...props })
|
|
|
18643
18826
|
}
|
|
18644
18827
|
//#endregion
|
|
18645
18828
|
//#region src/components/StatusTag/StatusTag.doc.ts
|
|
18646
|
-
const doc$
|
|
18829
|
+
const doc$84 = {
|
|
18647
18830
|
name: "StatusTag",
|
|
18648
18831
|
group: "Display",
|
|
18649
18832
|
status: "stable",
|
|
@@ -18850,7 +19033,7 @@ function Stepper({ steps, current = 0, orientation = "horizontal", onStepClick,
|
|
|
18850
19033
|
}
|
|
18851
19034
|
//#endregion
|
|
18852
19035
|
//#region src/components/Stepper/Stepper.doc.ts
|
|
18853
|
-
const doc$
|
|
19036
|
+
const doc$85 = {
|
|
18854
19037
|
name: "Stepper",
|
|
18855
19038
|
group: "Navigation",
|
|
18856
19039
|
status: "beta",
|
|
@@ -18921,7 +19104,7 @@ function Switch({ size, label, labelPosition = "end", className, ...props }) {
|
|
|
18921
19104
|
}
|
|
18922
19105
|
//#endregion
|
|
18923
19106
|
//#region src/components/Switch/Switch.doc.ts
|
|
18924
|
-
const doc$
|
|
19107
|
+
const doc$86 = {
|
|
18925
19108
|
name: "Switch",
|
|
18926
19109
|
group: "Forms",
|
|
18927
19110
|
status: "stable",
|
|
@@ -19113,7 +19296,7 @@ function TableCaption({ srOnly = false, className, ...props }) {
|
|
|
19113
19296
|
}
|
|
19114
19297
|
//#endregion
|
|
19115
19298
|
//#region src/components/Table/Table.doc.ts
|
|
19116
|
-
const doc$
|
|
19299
|
+
const doc$87 = {
|
|
19117
19300
|
name: "Table",
|
|
19118
19301
|
group: "Display",
|
|
19119
19302
|
status: "stable",
|
|
@@ -19287,7 +19470,7 @@ function TabsPanel({ className, ...props }) {
|
|
|
19287
19470
|
}
|
|
19288
19471
|
//#endregion
|
|
19289
19472
|
//#region src/components/Tabs/Tabs.doc.ts
|
|
19290
|
-
const doc$
|
|
19473
|
+
const doc$88 = {
|
|
19291
19474
|
name: "Tabs",
|
|
19292
19475
|
group: "Navigation",
|
|
19293
19476
|
status: "stable",
|
|
@@ -20008,7 +20191,7 @@ function Terminal({ lines: linesProp, defaultLines, ref, maxLines = 5e3, showLin
|
|
|
20008
20191
|
}
|
|
20009
20192
|
//#endregion
|
|
20010
20193
|
//#region src/components/Terminal/Terminal.doc.ts
|
|
20011
|
-
const doc$
|
|
20194
|
+
const doc$89 = {
|
|
20012
20195
|
name: "Terminal",
|
|
20013
20196
|
group: "Display",
|
|
20014
20197
|
status: "beta",
|
|
@@ -20160,7 +20343,7 @@ function Heading({ level = 2, size, tone, truncate, lineClamp, className, render
|
|
|
20160
20343
|
}
|
|
20161
20344
|
//#endregion
|
|
20162
20345
|
//#region src/components/Text/Text.doc.ts
|
|
20163
|
-
const doc$
|
|
20346
|
+
const doc$90 = {
|
|
20164
20347
|
name: "Text",
|
|
20165
20348
|
group: "Display",
|
|
20166
20349
|
status: "stable",
|
|
@@ -20284,7 +20467,7 @@ function ThemeCycleButton({ options: optionsProp, getLabel, variant = "secondary
|
|
|
20284
20467
|
}
|
|
20285
20468
|
//#endregion
|
|
20286
20469
|
//#region src/components/ThemeSwitcher/ThemeSwitcher.doc.ts
|
|
20287
|
-
const doc$
|
|
20470
|
+
const doc$92 = {
|
|
20288
20471
|
name: "ThemeSwitcher",
|
|
20289
20472
|
group: "Theme",
|
|
20290
20473
|
status: "beta",
|
|
@@ -20536,7 +20719,7 @@ function ThumbnailList({ className, children, ...props }) {
|
|
|
20536
20719
|
}
|
|
20537
20720
|
//#endregion
|
|
20538
20721
|
//#region src/components/Thumbnail/Thumbnail.doc.ts
|
|
20539
|
-
const doc$
|
|
20722
|
+
const doc$93 = {
|
|
20540
20723
|
name: "Thumbnail",
|
|
20541
20724
|
group: "Display",
|
|
20542
20725
|
status: "beta",
|
|
@@ -20557,7 +20740,7 @@ const doc$92 = {
|
|
|
20557
20740
|
};
|
|
20558
20741
|
//#endregion
|
|
20559
20742
|
//#region src/components/TimePicker/TimePicker.doc.ts
|
|
20560
|
-
const doc$
|
|
20743
|
+
const doc$94 = {
|
|
20561
20744
|
name: "TimePicker",
|
|
20562
20745
|
group: "Forms",
|
|
20563
20746
|
status: "beta",
|
|
@@ -20738,7 +20921,7 @@ function Timer({ start, offset = 0, status = "running", end, format = "clock", s
|
|
|
20738
20921
|
}
|
|
20739
20922
|
//#endregion
|
|
20740
20923
|
//#region src/components/Timer/Timer.doc.ts
|
|
20741
|
-
const doc$
|
|
20924
|
+
const doc$95 = {
|
|
20742
20925
|
name: "Timer",
|
|
20743
20926
|
group: "Display",
|
|
20744
20927
|
status: "beta",
|
|
@@ -20972,7 +21155,7 @@ function Toaster({ className, closeLabel: closeLabelProp, container }) {
|
|
|
20972
21155
|
}
|
|
20973
21156
|
//#endregion
|
|
20974
21157
|
//#region src/components/Toast/Toast.doc.ts
|
|
20975
|
-
const doc$
|
|
21158
|
+
const doc$97 = {
|
|
20976
21159
|
name: "Toast",
|
|
20977
21160
|
group: "Feedback",
|
|
20978
21161
|
status: "stable",
|
|
@@ -21136,7 +21319,7 @@ function Token({ label, prefix, icon, tone, size, onRemove, removeLabel, disable
|
|
|
21136
21319
|
}
|
|
21137
21320
|
//#endregion
|
|
21138
21321
|
//#region src/components/Token/Token.doc.ts
|
|
21139
|
-
const doc$
|
|
21322
|
+
const doc$99 = {
|
|
21140
21323
|
name: "Token",
|
|
21141
21324
|
group: "Display",
|
|
21142
21325
|
status: "beta",
|
|
@@ -21397,7 +21580,7 @@ function TokenInput({ value, defaultValue, onValueChange, validate, maxItems, se
|
|
|
21397
21580
|
}
|
|
21398
21581
|
//#endregion
|
|
21399
21582
|
//#region src/components/TokenInput/TokenInput.doc.ts
|
|
21400
|
-
const doc$
|
|
21583
|
+
const doc$100 = {
|
|
21401
21584
|
name: "TokenInput",
|
|
21402
21585
|
group: "Forms",
|
|
21403
21586
|
status: "beta",
|
|
@@ -21551,7 +21734,7 @@ function ToolbarInput({ icon: IconCmp, className, wrapperClassName, ...props })
|
|
|
21551
21734
|
}
|
|
21552
21735
|
//#endregion
|
|
21553
21736
|
//#region src/components/Toolbar/Toolbar.doc.ts
|
|
21554
|
-
const doc$
|
|
21737
|
+
const doc$101 = {
|
|
21555
21738
|
name: "Toolbar",
|
|
21556
21739
|
group: "Actions",
|
|
21557
21740
|
status: "stable",
|
|
@@ -21779,7 +21962,7 @@ function Tour({ steps, open, defaultOpen = false, onOpenChange, step, defaultSte
|
|
|
21779
21962
|
}
|
|
21780
21963
|
//#endregion
|
|
21781
21964
|
//#region src/components/Tour/Tour.doc.ts
|
|
21782
|
-
const doc$
|
|
21965
|
+
const doc$103 = {
|
|
21783
21966
|
name: "Tour",
|
|
21784
21967
|
group: "Overlays",
|
|
21785
21968
|
status: "beta",
|
|
@@ -22144,7 +22327,7 @@ function TransferList({ items, value, defaultValue = [], onValueChange, searchab
|
|
|
22144
22327
|
}
|
|
22145
22328
|
//#endregion
|
|
22146
22329
|
//#region src/components/TransferList/TransferList.doc.ts
|
|
22147
|
-
const doc$
|
|
22330
|
+
const doc$104 = {
|
|
22148
22331
|
name: "TransferList",
|
|
22149
22332
|
group: "Forms",
|
|
22150
22333
|
status: "beta",
|
|
@@ -22173,7 +22356,7 @@ const doc$103 = {
|
|
|
22173
22356
|
};
|
|
22174
22357
|
//#endregion
|
|
22175
22358
|
//#region src/components/TreeList/TreeList.doc.ts
|
|
22176
|
-
const doc$
|
|
22359
|
+
const doc$105 = {
|
|
22177
22360
|
name: "TreeList",
|
|
22178
22361
|
group: "Navigation",
|
|
22179
22362
|
status: "beta",
|
|
@@ -22344,7 +22527,7 @@ function UserMenu({ className, user, items = [], showTheme = true, themeOptions:
|
|
|
22344
22527
|
}
|
|
22345
22528
|
//#endregion
|
|
22346
22529
|
//#region src/components/UserMenu/UserMenu.doc.ts
|
|
22347
|
-
const doc$
|
|
22530
|
+
const doc$106 = {
|
|
22348
22531
|
name: "UserMenu",
|
|
22349
22532
|
group: "Navigation",
|
|
22350
22533
|
status: "beta",
|
|
@@ -22593,7 +22776,7 @@ function VirtualList({ items, renderItem, getKey = (_item, index) => index, item
|
|
|
22593
22776
|
}
|
|
22594
22777
|
//#endregion
|
|
22595
22778
|
//#region src/components/VirtualList/VirtualList.doc.ts
|
|
22596
|
-
const doc$
|
|
22779
|
+
const doc$107 = {
|
|
22597
22780
|
name: "VirtualList",
|
|
22598
22781
|
group: "Display",
|
|
22599
22782
|
status: "beta",
|
|
@@ -22672,7 +22855,7 @@ function SkipLink({ targetId, className, children: childrenProp, onClick, ...pro
|
|
|
22672
22855
|
}
|
|
22673
22856
|
//#endregion
|
|
22674
22857
|
//#region src/components/VisuallyHidden/VisuallyHidden.doc.ts
|
|
22675
|
-
const doc$
|
|
22858
|
+
const doc$108 = {
|
|
22676
22859
|
name: "VisuallyHidden",
|
|
22677
22860
|
group: "Layout",
|
|
22678
22861
|
status: "stable",
|
|
@@ -22921,7 +23104,7 @@ function WorkspaceSwitcher(props) {
|
|
|
22921
23104
|
}
|
|
22922
23105
|
//#endregion
|
|
22923
23106
|
//#region src/components/WorkspaceSwitcher/WorkspaceSwitcher.doc.ts
|
|
22924
|
-
const doc$
|
|
23107
|
+
const doc$110 = {
|
|
22925
23108
|
name: "WorkspaceSwitcher",
|
|
22926
23109
|
group: "Navigation",
|
|
22927
23110
|
status: "beta",
|
|
@@ -23516,7 +23699,7 @@ function DocsLayout({ children, header, nav, toc, tocLabel: tocLabelProp, aside,
|
|
|
23516
23699
|
}
|
|
23517
23700
|
//#endregion
|
|
23518
23701
|
//#region src/layouts/DocsLayout/DocsLayout.doc.ts
|
|
23519
|
-
const doc$
|
|
23702
|
+
const doc$28 = {
|
|
23520
23703
|
name: "DocsLayout",
|
|
23521
23704
|
group: "Layout",
|
|
23522
23705
|
status: "beta",
|
|
@@ -23730,7 +23913,7 @@ function InspectorToggle({ label: labelProp, icon = PanelRight, className, ...pr
|
|
|
23730
23913
|
}
|
|
23731
23914
|
//#endregion
|
|
23732
23915
|
//#region src/layouts/InspectorLayout/InspectorLayout.doc.ts
|
|
23733
|
-
const doc$
|
|
23916
|
+
const doc$36 = {
|
|
23734
23917
|
name: "InspectorLayout",
|
|
23735
23918
|
group: "Layout",
|
|
23736
23919
|
status: "beta",
|
|
@@ -23833,7 +24016,7 @@ function Page({ width = "default", header, title, description, actions, actionBa
|
|
|
23833
24016
|
}
|
|
23834
24017
|
//#endregion
|
|
23835
24018
|
//#region src/layouts/Page/Page.doc.ts
|
|
23836
|
-
const doc$
|
|
24019
|
+
const doc$55 = {
|
|
23837
24020
|
name: "Page",
|
|
23838
24021
|
group: "Layout",
|
|
23839
24022
|
status: "beta",
|
|
@@ -23960,7 +24143,7 @@ function PageBreak({ className, label: labelProp, ...props }) {
|
|
|
23960
24143
|
}
|
|
23961
24144
|
//#endregion
|
|
23962
24145
|
//#region src/layouts/PrintLayout/PrintLayout.doc.ts
|
|
23963
|
-
const doc$
|
|
24146
|
+
const doc$61 = {
|
|
23964
24147
|
name: "PrintLayout",
|
|
23965
24148
|
group: "Layout",
|
|
23966
24149
|
status: "beta",
|
|
@@ -24113,7 +24296,7 @@ function SettingsLayout({ groups, value: valueProp, defaultValue, onValueChange,
|
|
|
24113
24296
|
}
|
|
24114
24297
|
//#endregion
|
|
24115
24298
|
//#region src/layouts/SettingsLayout/SettingsLayout.doc.ts
|
|
24116
|
-
const doc$
|
|
24299
|
+
const doc$72 = {
|
|
24117
24300
|
name: "SettingsLayout",
|
|
24118
24301
|
group: "Layout",
|
|
24119
24302
|
status: "beta",
|
|
@@ -24347,7 +24530,7 @@ function SidebarLayout({ className, sidebar, sidebarHeader, sidebarFooter, topba
|
|
|
24347
24530
|
}
|
|
24348
24531
|
//#endregion
|
|
24349
24532
|
//#region src/layouts/SidebarLayout/SidebarLayout.doc.ts
|
|
24350
|
-
const doc$
|
|
24533
|
+
const doc$73 = {
|
|
24351
24534
|
name: "SidebarLayout",
|
|
24352
24535
|
group: "Layout",
|
|
24353
24536
|
status: "beta",
|
|
@@ -24483,7 +24666,7 @@ function SplitLayout({ className, list, detail, listHeader, detailHeader, showDe
|
|
|
24483
24666
|
}
|
|
24484
24667
|
//#endregion
|
|
24485
24668
|
//#region src/layouts/SplitLayout/SplitLayout.doc.ts
|
|
24486
|
-
const doc$
|
|
24669
|
+
const doc$79 = {
|
|
24487
24670
|
name: "SplitLayout",
|
|
24488
24671
|
group: "Layout",
|
|
24489
24672
|
status: "beta",
|
|
@@ -24679,7 +24862,7 @@ function StackedLayout({ className, brand, links = [], currentHref, onNavigate,
|
|
|
24679
24862
|
}
|
|
24680
24863
|
//#endregion
|
|
24681
24864
|
//#region src/layouts/StackedLayout/StackedLayout.doc.ts
|
|
24682
|
-
const doc$
|
|
24865
|
+
const doc$81 = {
|
|
24683
24866
|
name: "StackedLayout",
|
|
24684
24867
|
group: "Layout",
|
|
24685
24868
|
status: "beta",
|
|
@@ -24833,7 +25016,7 @@ function StatusLayout({ code, title, heading, titleRef, description, icon: Icon,
|
|
|
24833
25016
|
}
|
|
24834
25017
|
//#endregion
|
|
24835
25018
|
//#region src/layouts/StatusLayout/StatusLayout.doc.ts
|
|
24836
|
-
const doc$
|
|
25019
|
+
const doc$83 = {
|
|
24837
25020
|
name: "StatusLayout",
|
|
24838
25021
|
group: "Layout",
|
|
24839
25022
|
status: "beta",
|
|
@@ -24883,7 +25066,7 @@ function WizardOverlayBody({ id, current, announcement, className, children }) {
|
|
|
24883
25066
|
tabIndex: -1,
|
|
24884
25067
|
className,
|
|
24885
25068
|
children
|
|
24886
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
25069
|
+
}), announcement && /* @__PURE__ */ jsx("div", {
|
|
24887
25070
|
role: "status",
|
|
24888
25071
|
"aria-live": "polite",
|
|
24889
25072
|
"aria-atomic": "true",
|
|
@@ -24944,7 +25127,7 @@ const wizardLayoutVariants = tv({
|
|
|
24944
25127
|
* step body · Back/Next footer. Exit (or Escape anywhere in the layout) asks for confirmation in
|
|
24945
25128
|
* an AlertDialog. Below `lg` the Stepper collapses to "Step 2 of 5".
|
|
24946
25129
|
*/
|
|
24947
|
-
function WizardLayout({ mode = "page", size = "fullscreen", open = false, onOpenChange, description, returnFocusRef, closeOnInteractOutside = false, cancelLabel: cancelLabelProp, stepsSummaryLabel: stepsSummaryLabelProp, stepAnnouncement, steps, current, onStepChange, onFinish, onExit, title, logo, children, footerStart, footer, backLabel: backLabelProp, nextLabel: nextLabelProp, finishLabel: finishLabelProp, nextDisabled = false, nextLoading = false, finishPending = false, pendingLabel: pendingLabelProp, exitLabel: exitLabelProp, confirmExit = true, exitTitle: exitTitleProp, exitDescription: exitDescriptionProp, exitConfirmLabel: exitConfirmLabelProp, exitCancelLabel: exitCancelLabelProp, stepsLabel: stepsLabelProp, width, mainId = "main", skipLinkLabel: skipLinkLabelProp, fullScreen = false, className, onKeyDown, ...props }) {
|
|
25130
|
+
function WizardLayout({ mode = "page", size = "fullscreen", open = false, onOpenChange, description, returnFocusRef, closeOnInteractOutside = false, cancelLabel: cancelLabelProp, stepsSummaryLabel: stepsSummaryLabelProp, stepAnnouncement, steps, stepsInteractive = true, stepStatusText, formatStepCount, current, onStepChange, onFinish, onExit, title, logo, children, footerStart, footer, backLabel: backLabelProp, backDisabled = false, nextLabel: nextLabelProp, finishLabel: finishLabelProp, nextDisabled = false, nextLoading = false, finishPending = false, pendingLabel: pendingLabelProp, exitLabel: exitLabelProp, confirmExit = true, exitTitle: exitTitleProp, exitDescription: exitDescriptionProp, exitConfirmLabel: exitConfirmLabelProp, exitCancelLabel: exitCancelLabelProp, stepsLabel: stepsLabelProp, width, mainId = "main", skipLinkLabel: skipLinkLabelProp, fullScreen = false, className, onKeyDown, ...props }) {
|
|
24948
25131
|
const { t } = useI18n();
|
|
24949
25132
|
const id = useId();
|
|
24950
25133
|
const overlay = mode === "overlay";
|
|
@@ -25034,12 +25217,16 @@ function WizardLayout({ mode = "page", size = "fullscreen", open = false, onOpen
|
|
|
25034
25217
|
label: stepsLabel,
|
|
25035
25218
|
steps,
|
|
25036
25219
|
current,
|
|
25037
|
-
onStepClick: onStepChange
|
|
25220
|
+
onStepClick: stepsInteractive ? onStepChange : void 0,
|
|
25221
|
+
statusText: stepStatusText,
|
|
25222
|
+
formatCount: formatStepCount
|
|
25038
25223
|
}), /* @__PURE__ */ jsx(Stepper, {
|
|
25039
25224
|
className: s.stepsCompact(),
|
|
25040
25225
|
label: stepsSummaryLabel,
|
|
25041
25226
|
steps,
|
|
25042
25227
|
current,
|
|
25228
|
+
statusText: stepStatusText,
|
|
25229
|
+
formatCount: formatStepCount,
|
|
25043
25230
|
compact: true
|
|
25044
25231
|
})]
|
|
25045
25232
|
})]
|
|
@@ -25078,8 +25265,13 @@ function WizardLayout({ mode = "page", size = "fullscreen", open = false, onOpen
|
|
|
25078
25265
|
/* @__PURE__ */ jsx(Button, {
|
|
25079
25266
|
variant: "secondary",
|
|
25080
25267
|
icon: ChevronLeft,
|
|
25081
|
-
disabled: !overlay && current <= 0,
|
|
25082
|
-
|
|
25268
|
+
disabled: backDisabled || !overlay && current <= 0,
|
|
25269
|
+
focusableWhenDisabled: backDisabled,
|
|
25270
|
+
onClick: () => {
|
|
25271
|
+
if (backDisabled) return;
|
|
25272
|
+
if (overlay && current === 0) requestExit();
|
|
25273
|
+
else onStepChange?.(current - 1);
|
|
25274
|
+
},
|
|
25083
25275
|
children: overlay && current === 0 ? cancelLabel : backLabel
|
|
25084
25276
|
}),
|
|
25085
25277
|
/* @__PURE__ */ jsx(Button, {
|
|
@@ -25132,11 +25324,11 @@ function WizardLayout({ mode = "page", size = "fullscreen", open = false, onOpen
|
|
|
25132
25324
|
}
|
|
25133
25325
|
//#endregion
|
|
25134
25326
|
//#region src/layouts/WizardLayout/WizardLayout.doc.ts
|
|
25135
|
-
const doc$
|
|
25327
|
+
const doc$109 = {
|
|
25136
25328
|
name: "WizardLayout",
|
|
25137
25329
|
group: "Layout",
|
|
25138
25330
|
status: "beta",
|
|
25139
|
-
description: "Focus-mode shell: title and Exit, Stepper, step body, Back / Next and Finish. mode=\"page\" is the unchanged default (container height, or fullScreen for h-dvh). mode=\"overlay\" is a controlled Base UI modal: open/onOpenChange keep the parent page mounted without navigation; size defaults to \"fullscreen\" at every viewport, while \"dialog\" reuses Dialog xl sizing and fills mobile viewports. Use page for a dedicated flow, fullscreen for a focused in-page flow, or the dialog-wizard block (default \"dialog\") for a compact create flow. Closing never resets the consumer-controlled current step or data. Exit, Escape and Cancel on step zero use confirmExit (default true). Outside presses are ignored unless closeOnInteractOutside is true, then use the same exit confirmation. returnFocusRef overrides focus return to the opener. Each step focuses its heading, first control or body, then announces via a separate polite live region. Supply stepAnnouncement({position,total,label}) from your i18n (required for rich step labels); positions are one-based. All action labels, stepsSummaryLabel and pendingLabel are overridable with i18n fallbacks. finishPending or nextLoading disables Finish and shows pendingLabel in overlay mode. Below lg, Stepper uses its compact summary.",
|
|
25331
|
+
description: "Focus-mode shell: title and Exit, Stepper, step body, Back / Next and Finish. mode=\"page\" is the unchanged default (container height, or fullScreen for h-dvh). mode=\"overlay\" is a controlled Base UI modal: open/onOpenChange keep the parent page mounted without navigation; size defaults to \"fullscreen\" at every viewport, while \"dialog\" reuses Dialog xl sizing and fills mobile viewports. Use page for a dedicated flow, fullscreen for a focused in-page flow, or the dialog-wizard block (default \"dialog\") for a compact create flow. Closing never resets the consumer-controlled current step or data. Exit, Escape and Cancel on step zero use confirmExit (default true). Outside presses are ignored unless closeOnInteractOutside is true, then use the same exit confirmation. returnFocusRef overrides focus return to the opener. Each step focuses its heading, first control or body, then announces via a separate polite live region. Supply stepAnnouncement({position,total,label}) from your i18n (required for rich step labels); positions are one-based. All action labels, stepsSummaryLabel and pendingLabel are overridable with i18n fallbacks. finishPending or nextLoading disables Finish and shows pendingLabel in overlay mode. stepsInteractive defaults to true; false omits onStepClick so completed steps are display-only. stepStatusText and formatStepCount pass through to both Stepper variants for localized status words and position text. backDisabled locks Back using aria-disabled while keeping it focusable, including on step zero; it cannot activate Cancel. This does not affect Exit. Below lg, Stepper uses its compact summary. An empty stepAnnouncement suppresses the overlay live region so a composition can announce through its nearest LiveAnnouncer instead; heading focus is preserved.",
|
|
25140
25332
|
primitive: "@base-ui/react/dialog + @base-ui/react/alert-dialog (exit confirmation)",
|
|
25141
25333
|
pattern: "page landmarks or modal dialog with labelled step nav + nested alertdialog",
|
|
25142
25334
|
keyboard: [
|
|
@@ -25159,6 +25351,6 @@ const doc$108 = {
|
|
|
25159
25351
|
]
|
|
25160
25352
|
};
|
|
25161
25353
|
//#endregion
|
|
25162
|
-
export { ANSI_BG_CLASS, ANSI_TEXT_CLASS, Accordion, AccordionItem, AccordionPanel, AccordionTrigger, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AuthLayout, Avatar, AvatarGroup, Badge, Blockquote, BottomSheet, BottomSheetClose, BottomSheetContent, BottomSheetTrigger, Breadcrumbs, Button, COL_SPAN, COL_SPAN_FULL, Calendar, CanvasLayout, Card, CardAction, CardBody, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, Center, Checkbox, CheckboxGroup, ClickableCard, Code, CodeBlock, Collapsible, CollapsiblePanel, CollapsibleTrigger, Combobox, ComboboxChipsInput, ComboboxContent, ComboboxInput, ComboboxItem, CommandPalette, CommandPaletteTrigger, ContextMenu, ContextMenuContent, ContextMenuTrigger, CopyButton, DEFAULT_DATE_RANGE_PRESETS, DEFAULT_STATUSES, DEFAULT_STRENGTH_LABELS, DEFAULT_TIME_RANGE_PRESETS, DatePicker, DateRangeInput, DateRangePicker, DateTimeRangePicker, DensityProvider, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DiffViewer, DocsLayout, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, EMPTY_STATE_ICON_SIZE, ENV_KEY_PATTERN, EmptyState, Field, FieldDescription, FieldError, FieldItem, FieldLabel, Fieldset, FieldsetDescription, FieldsetLegend, GAP_CLASSES, GRID_COLS, Grid, GridItem, HStack, Heading, HoverCard, HoverCardContent, HoverCardTrigger, I18nProvider, INPUT_ICON_SIZE, IconButton, InfoTip, Input, InputKbd, InspectorLayout, InspectorToggle, JsonViewer, KEY_NAMES, KanbanBoard, Kbd, KbdCombo, KeyValueEditor, Lightbox, Link, LinkProvider, ListInput, LiveAnnouncer, Logo, MASK_CHAR, MegaMenu, Menu, MenuCheckboxItem, MenuContent, MenuGroup, MenuGroupLabel, MenuItem, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger, Meter, MobileNav, MoreMenu, MultiSelect, NUMBER_INPUT_ICON_SIZE, NavList, NotificationsPopover, NumberInput, OtpInput, Outline, OverflowList, PASSWORD_SEGMENT_FILL, POWER_SEARCH_OPERATORS, Page, PageBreak, Pagination, PaginationCompact, PasswordInput, PermissionMatrix, Popover, PopoverClose, PopoverContent, PopoverDescription, PopoverTitle, PopoverTrigger, PowerSearch, PowerSearchChip, PrintLayout, Progress, QUERY_OPERATORS, QueryBuilder, QueryValueEditor, Radio, RadioGroup, ResizablePanel, ResizablePanelGroup, ResizeHandle, ScheduleInput, ScrollArea, SecretField, Section, Select, SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectableCard, SelectableCardGroup, Separator, SettingsLayout, SidebarLayout, SimpleSelect, SimpleTooltip, Skeleton, SkipLink, Slider, Sparkline, Spinner, SplitButton, SplitLayout, Stack, StackedLayout, StatusDot, StatusLayout, StatusTag, Stepper, Switch, THEME_OPTIONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsIndicator, TabsList, TabsPanel, TabsTab, Terminal, Text, Textarea, ThemeCycleButton, ThemeProvider, ThemeSwitcher, Thumbnail, ThumbnailList, TimePicker, Timer, Timestamp, ToastProvider, Toaster, Toggle, ToggleGroup, Token, TokenInput, TokenInputChip, Toolbar, ToolbarButton, ToolbarCenter, ToolbarEnd, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator, ToolbarStart, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tour, TransferList, TransferListPane, TreeList, UserMenu, VStack, VirtualList, VisuallyHidden, WizardLayout, WorkspaceSwitcher, doc as accordionDoc, accordionVariants, doc$1 as alertDialogDoc, alertDialogVariants, doc$2 as alertDoc, alertVariants, ansiClassName, doc$3 as aspectRatioDoc, aspectRatioVariants, doc$4 as authLayoutDoc, authLayoutVariants, doc$5 as avatarDoc, avatarVariants, doc$6 as badgeDoc, badgeVariants, doc$7 as blockquoteDoc, blockquoteVariants, doc$8 as bottomSheetDoc, bottomSheetVariants, doc$9 as breadcrumbsDoc, breadcrumbsVariants, builtInMessages, doc$10 as buttonDoc, buttonVariants, doc$11 as calendarDoc, calendarVariants, doc$12 as canvasLayoutDoc, canvasLayoutVariants, doc$13 as cardDoc, cardVariants, doc$14 as carouselDoc, carouselVariants, catalogs, centerVariants, doc$15 as checkboxDoc, checkboxVariants, doc$16 as choiceCardDoc, clickableCardVariants, cn, doc$17 as codeBlockDoc, codeBlockVariants, codeVariants, coerceValue as coercePowerSearchValue, doc$18 as collapsibleDoc, collapsibleVariants, doc$19 as comboboxDoc, comboboxVariants, doc$20 as commandPaletteDoc, commandPaletteVariants, computeOffsets, doc$21 as contextMenuDoc, contextMenuVariants, doc$22 as copyButtonDoc, copyButtonVariants, copyToClipboard, createFormatters, createKeyValueRow, createListInputRow, createQueryCondition, createQueryGroup, cronErrorMessage, cronFromSchedule, doc$23 as datePickerDoc, datePickerVariants, doc$24 as dateTimeRangePickerDoc, dateTimeRangePickerVariants, describeCron, describeTrend, doc$25 as dialogDoc, dialogVariants, diffJson, diffLines, diffStats, doc$26 as diffViewerDoc, diffViewerVariants, diffWords, doc$27 as docsLayoutDoc, docsLayoutVariants, doc$28 as drawerDoc, drawerVariants, emptyPowerSearchQuery, doc$29 as emptyStateDoc, emptyStateVariants, en, es, evaluateQuery, falconePreset, doc$30 as fieldDoc, fieldVariants, fileKind, filterCommandGroups, flattenVisible, formatBytes, formatClock, formatCompact, formatDateRange, formatListInputPairs, formatPowerSearch, formatRelative, formatTimeOfDay, getInitials, getMeterLevel, getPageRange, gntikPreset, doc$31 as gridDoc, gridVariants, headingVariants, doc$32 as hoverCardDoc, hoverCardVariants, doc$33 as infoTipDoc, infoTipVariants, doc$34 as inputDoc, inputVariants, doc$35 as inspectorLayoutDoc, inspectorLayoutVariants, interpolate, isConditionComplete, isNavItemCurrent, isSameTimeRange, isSupportedLanguage, joinPath, jsonType, jsonTypeClass, doc$36 as jsonViewerDoc, jsonViewerVariants, doc$37 as kanbanBoardDoc, kanbanBoardVariants, doc$38 as kbdDoc, kbdVariants, doc$39 as keyValueEditorDoc, keyValueEditorVariants, doc$40 as lightboxDoc, lightboxVariants, doc$41 as linkDoc, linkVariants, doc$42 as listInputDoc, listInputVariants, doc$43 as liveAnnouncerDoc, liveAnnouncerVariants, localeDirection, localeHourCycle, maskSecret, matchAncestors, matchPowerSearch, measureJsonDisplay, doc$44 as megaMenuDoc, megaMenuNavItems, megaMenuVariants, doc$45 as menuDoc, menuVariants, mergeEnvRows, doc$46 as meterDoc, meterVariants, doc$47 as mobileNavDoc, mobileNavVariants, moveKanbanCard, doc$48 as multiSelectDoc, multiSelectVariants, musematicPreset, doc$49 as navListDoc, navListVariants, nextRuns, nextSortDirection, doc$50 as notificationsPopoverDoc, notificationsPopoverVariants, doc$51 as numberInputDoc, numberInputVariants, operatorArity, operatorsFor, doc$52 as otpInputDoc, otpInputVariants, outlineVariants, doc$53 as overflowListDoc, overflowListVariants, doc$54 as pageDoc, pageVariants, doc$55 as paginationDoc, paginationVariants, parseAnsi, parseCron, parseEnv, parseListInputPairs, parsePowerSearch, parsePowerSearchFilter, parseTimeOfDay, doc$56 as passwordInputDoc, passwordInputVariants, doc$57 as permissionMatrixDoc, permissionMatrixVariants, doc$58 as popoverDoc, popoverVariants, doc$59 as powerSearchDoc, defaultOperatorLabels as powerSearchOperatorLabels, operatorsFor$1 as powerSearchOperatorsFor, powerSearchVariants, presets, previewSortable, doc$60 as printLayoutDoc, printLayoutVariants, doc$61 as progressDoc, progressVariants, doc$62 as queryBuilderDoc, queryBuilderVariants, queryToString, doc$63 as radioGroupDoc, radioGroupVariants, relativeTimeRangeLabel, doc$64 as resizableDoc, resizableVariants, resolveStepStatus, resolveTimeRange, rowAt, scheduleFromCron, doc$65 as scheduleInputDoc, scheduleInputVariants, scoreCommand, scorePassword, doc$66 as scrollAreaDoc, scrollAreaVariants, doc$67 as secretFieldDoc, secretFieldVariants, doc$68 as sectionDoc, sectionVariants, doc$69 as selectDoc, selectVariants, selectableCardVariants, doc$70 as separatorDoc, separatorVariants, serializeEnv, doc$71 as settingsLayoutDoc, settingsLayoutVariants, doc$72 as sidebarLayoutDoc, sidebarLayoutVariants, doc$73 as skeletonDoc, skeletonVariants, skipLinkVariants, doc$74 as sliderDoc, sliderVariants, doc$75 as sparklineDoc, sparklineVariants, doc$76 as spinnerDoc, doc$77 as splitButtonDoc, splitButtonVariants, doc$78 as splitLayoutDoc, splitLayoutVariants, splitLines, stableStringify, doc$79 as stackDoc, stackVariants, doc$80 as stackedLayoutDoc, stackedLayoutVariants, doc$81 as statusDotDoc, statusDotVariants, doc$82 as statusLayoutDoc, statusLayoutVariants, doc$83 as statusTagDoc, statusTagVariants, doc$84 as stepperDoc, stepperVariants, stripAnsi, doc$85 as switchDoc, switchVariants, doc$86 as tableDoc, tableVariants, doc$87 as tabsDoc, tabsVariants, doc$88 as terminalDoc, terminalVariants, doc$89 as textDoc, textVariants, doc$90 as textareaDoc, textareaVariants, themeScript, doc$91 as themeSwitcherDoc, themeSwitcherVariants, doc$92 as thumbnailDoc, thumbnailVariants, doc$93 as timePickerDoc, timePickerVariants, doc$94 as timerDoc, timerVariants, doc$95 as timestampDoc, timestampVariants, toDate, toIsoDuration, toJsonText, doc$96 as toastDoc, toastVariants, doc$97 as toggleGroupDoc, toggleGroupVariants, toggleVariants, tokenClass, doc$98 as tokenDoc, doc$99 as tokenInputDoc, tokenInputVariants, tokenVariants, tokenize, tokenizeLines, doc$100 as toolbarDoc, toolbarVariants, doc$101 as tooltipDoc, tooltipVariants, doc$102 as tourDoc, tourVariants, doc$103 as transferListDoc, transferListVariants, doc$104 as treeListDoc, treeListVariants, tv, useAnnounce, useAsyncOptions, useCommandPaletteShortcut, useDensity, useFitCount, useHasLiveAnnouncer, useI18n, useInspectorLayout, useLinkComponent, useOptionalI18n, usePortalDir, useSidebarLayout, useSortable, useTheme, useThemeOptions, useToast, useTreeList, useVirtualWindow, doc$105 as userMenuDoc, userMenuVariants, validateKeyValueRows, doc$106 as virtualListDoc, virtualListVariants, doc$107 as visuallyHiddenDoc, visuallyHiddenVariants, doc$108 as wizardLayoutDoc, wizardLayoutVariants, doc$109 as workspaceSwitcherDoc, workspaceSwitcherVariants };
|
|
25354
|
+
export { ANSI_BG_CLASS, ANSI_TEXT_CLASS, Accordion, AccordionItem, AccordionPanel, AccordionTrigger, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AspectRatio, AuthLayout, Avatar, AvatarGroup, Badge, Blockquote, BottomSheet, BottomSheetClose, BottomSheetContent, BottomSheetTrigger, Breadcrumbs, Button, COL_SPAN, COL_SPAN_FULL, Calendar, CanvasLayout, Card, CardAction, CardBody, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, Center, Checkbox, CheckboxGroup, ClickableCard, Code, CodeBlock, Collapsible, CollapsiblePanel, CollapsibleTrigger, Combobox, ComboboxChipsInput, ComboboxContent, ComboboxInput, ComboboxItem, CommandPalette, CommandPaletteTrigger, ContextMenu, ContextMenuContent, ContextMenuTrigger, CopyButton, CursorPagination, DEFAULT_DATE_RANGE_PRESETS, DEFAULT_STATUSES, DEFAULT_STRENGTH_LABELS, DEFAULT_TIME_RANGE_PRESETS, DatePicker, DateRangeInput, DateRangePicker, DateTimeRangePicker, DensityProvider, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DiffViewer, DocsLayout, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, EMPTY_STATE_ICON_SIZE, ENV_KEY_PATTERN, EmptyState, Field, FieldDescription, FieldError, FieldItem, FieldLabel, Fieldset, FieldsetDescription, FieldsetLegend, GAP_CLASSES, GRID_COLS, Grid, GridItem, HStack, Heading, HoverCard, HoverCardContent, HoverCardTrigger, I18nProvider, INPUT_ICON_SIZE, IconButton, InfoTip, Input, InputKbd, InspectorLayout, InspectorToggle, JsonViewer, KEY_NAMES, KanbanBoard, Kbd, KbdCombo, KeyValueEditor, Lightbox, Link, LinkProvider, ListInput, LiveAnnouncer, Logo, MASK_CHAR, MegaMenu, Menu, MenuCheckboxItem, MenuContent, MenuGroup, MenuGroupLabel, MenuItem, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger, Meter, MobileNav, MoreMenu, MultiSelect, NUMBER_INPUT_ICON_SIZE, NavList, NotificationsPopover, NumberInput, OtpInput, Outline, OverflowList, PASSWORD_SEGMENT_FILL, POWER_SEARCH_OPERATORS, Page, PageBreak, Pagination, PaginationCompact, PasswordInput, PermissionMatrix, Popover, PopoverClose, PopoverContent, PopoverDescription, PopoverTitle, PopoverTrigger, PowerSearch, PowerSearchChip, PrintLayout, Progress, QUERY_OPERATORS, QueryBuilder, QueryValueEditor, Radio, RadioGroup, ResizablePanel, ResizablePanelGroup, ResizeHandle, ScheduleInput, ScrollArea, SecretField, Section, Select, SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectableCard, SelectableCardGroup, Separator, SettingsLayout, SidebarLayout, SimpleSelect, SimpleTooltip, Skeleton, SkipLink, Slider, Sparkline, Spinner, SplitButton, SplitLayout, Stack, StackedLayout, StatusDot, StatusLayout, StatusTag, Stepper, Switch, THEME_OPTIONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsIndicator, TabsList, TabsPanel, TabsTab, Terminal, Text, Textarea, ThemeCycleButton, ThemeProvider, ThemeSwitcher, Thumbnail, ThumbnailList, TimePicker, Timer, Timestamp, ToastProvider, Toaster, Toggle, ToggleGroup, Token, TokenInput, TokenInputChip, Toolbar, ToolbarButton, ToolbarCenter, ToolbarEnd, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator, ToolbarStart, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tour, TransferList, TransferListPane, TreeList, UserMenu, VStack, VirtualList, VisuallyHidden, WizardLayout, WorkspaceSwitcher, doc as accordionDoc, accordionVariants, doc$1 as alertDialogDoc, alertDialogVariants, doc$2 as alertDoc, alertVariants, ansiClassName, doc$3 as aspectRatioDoc, aspectRatioVariants, doc$4 as authLayoutDoc, authLayoutVariants, doc$5 as avatarDoc, avatarVariants, doc$6 as badgeDoc, badgeVariants, doc$7 as blockquoteDoc, blockquoteVariants, doc$8 as bottomSheetDoc, bottomSheetVariants, doc$9 as breadcrumbsDoc, breadcrumbsVariants, builtInMessages, doc$10 as buttonDoc, buttonVariants, doc$11 as calendarDoc, calendarVariants, doc$12 as canvasLayoutDoc, canvasLayoutVariants, doc$13 as cardDoc, cardVariants, doc$14 as carouselDoc, carouselVariants, catalogs, centerVariants, doc$15 as checkboxDoc, checkboxVariants, doc$16 as choiceCardDoc, clickableCardVariants, cn, doc$17 as codeBlockDoc, codeBlockVariants, codeVariants, coerceValue as coercePowerSearchValue, doc$18 as collapsibleDoc, collapsibleVariants, doc$19 as comboboxDoc, comboboxVariants, doc$20 as commandPaletteDoc, commandPaletteVariants, computeOffsets, doc$21 as contextMenuDoc, contextMenuVariants, doc$22 as copyButtonDoc, copyButtonVariants, copyToClipboard, createFormatters, createKeyValueRow, createListInputRow, createQueryCondition, createQueryGroup, cronErrorMessage, cronFromSchedule, doc$23 as cursorPaginationDoc, cursorPaginationVariants, doc$24 as datePickerDoc, datePickerVariants, doc$25 as dateTimeRangePickerDoc, dateTimeRangePickerVariants, describeCron, describeTrend, doc$26 as dialogDoc, dialogVariants, diffJson, diffLines, diffStats, doc$27 as diffViewerDoc, diffViewerVariants, diffWords, doc$28 as docsLayoutDoc, docsLayoutVariants, doc$29 as drawerDoc, drawerVariants, emptyPowerSearchQuery, doc$30 as emptyStateDoc, emptyStateVariants, en, es, evaluateQuery, falconePreset, doc$31 as fieldDoc, fieldVariants, fileKind, filterCommandGroups, flattenVisible, formatBytes, formatClock, formatCompact, formatDateRange, formatListInputPairs, formatPowerSearch, formatRelative, formatTimeOfDay, getInitials, getMeterLevel, getPageRange, gntikPreset, doc$32 as gridDoc, gridVariants, headingVariants, doc$33 as hoverCardDoc, hoverCardVariants, doc$34 as infoTipDoc, infoTipVariants, doc$35 as inputDoc, inputVariants, doc$36 as inspectorLayoutDoc, inspectorLayoutVariants, interpolate, isConditionComplete, isNavItemCurrent, isSameTimeRange, isSupportedLanguage, joinPath, jsonType, jsonTypeClass, doc$37 as jsonViewerDoc, jsonViewerVariants, doc$38 as kanbanBoardDoc, kanbanBoardVariants, doc$39 as kbdDoc, kbdVariants, doc$40 as keyValueEditorDoc, keyValueEditorVariants, doc$41 as lightboxDoc, lightboxVariants, doc$42 as linkDoc, linkVariants, doc$43 as listInputDoc, listInputVariants, doc$44 as liveAnnouncerDoc, liveAnnouncerVariants, localeDirection, localeHourCycle, maskSecret, matchAncestors, matchPowerSearch, measureJsonDisplay, doc$45 as megaMenuDoc, megaMenuNavItems, megaMenuVariants, doc$46 as menuDoc, menuVariants, mergeEnvRows, doc$47 as meterDoc, meterVariants, doc$48 as mobileNavDoc, mobileNavVariants, moveKanbanCard, doc$49 as multiSelectDoc, multiSelectVariants, musematicPreset, doc$50 as navListDoc, navListVariants, nextRuns, nextSortDirection, doc$51 as notificationsPopoverDoc, notificationsPopoverVariants, doc$52 as numberInputDoc, numberInputVariants, operatorArity, operatorsFor, doc$53 as otpInputDoc, otpInputVariants, outlineVariants, doc$54 as overflowListDoc, overflowListVariants, doc$55 as pageDoc, pageVariants, doc$56 as paginationDoc, paginationVariants, parseAnsi, parseCron, parseEnv, parseListInputPairs, parsePowerSearch, parsePowerSearchFilter, parseTimeOfDay, doc$57 as passwordInputDoc, passwordInputVariants, doc$58 as permissionMatrixDoc, permissionMatrixVariants, doc$59 as popoverDoc, popoverVariants, doc$60 as powerSearchDoc, defaultOperatorLabels as powerSearchOperatorLabels, operatorsFor$1 as powerSearchOperatorsFor, powerSearchVariants, presets, previewSortable, doc$61 as printLayoutDoc, printLayoutVariants, doc$62 as progressDoc, progressVariants, doc$63 as queryBuilderDoc, queryBuilderVariants, queryToString, doc$64 as radioGroupDoc, radioGroupVariants, relativeTimeRangeLabel, doc$65 as resizableDoc, resizableVariants, resolveStepStatus, resolveTimeRange, rowAt, scheduleFromCron, doc$66 as scheduleInputDoc, scheduleInputVariants, scoreCommand, scorePassword, doc$67 as scrollAreaDoc, scrollAreaVariants, doc$68 as secretFieldDoc, secretFieldVariants, doc$69 as sectionDoc, sectionVariants, doc$70 as selectDoc, selectVariants, selectableCardVariants, doc$71 as separatorDoc, separatorVariants, serializeEnv, doc$72 as settingsLayoutDoc, settingsLayoutVariants, doc$73 as sidebarLayoutDoc, sidebarLayoutVariants, doc$74 as skeletonDoc, skeletonVariants, skipLinkVariants, doc$75 as sliderDoc, sliderVariants, doc$76 as sparklineDoc, sparklineVariants, doc$77 as spinnerDoc, doc$78 as splitButtonDoc, splitButtonVariants, doc$79 as splitLayoutDoc, splitLayoutVariants, splitLines, stableStringify, doc$80 as stackDoc, stackVariants, doc$81 as stackedLayoutDoc, stackedLayoutVariants, doc$82 as statusDotDoc, statusDotVariants, doc$83 as statusLayoutDoc, statusLayoutVariants, doc$84 as statusTagDoc, statusTagVariants, doc$85 as stepperDoc, stepperVariants, stripAnsi, doc$86 as switchDoc, switchVariants, doc$87 as tableDoc, tableVariants, doc$88 as tabsDoc, tabsVariants, doc$89 as terminalDoc, terminalVariants, doc$90 as textDoc, textVariants, doc$91 as textareaDoc, textareaVariants, themeScript, doc$92 as themeSwitcherDoc, themeSwitcherVariants, doc$93 as thumbnailDoc, thumbnailVariants, doc$94 as timePickerDoc, timePickerVariants, doc$95 as timerDoc, timerVariants, doc$96 as timestampDoc, timestampVariants, toDate, toIsoDuration, toJsonText, doc$97 as toastDoc, toastVariants, doc$98 as toggleGroupDoc, toggleGroupVariants, toggleVariants, tokenClass, doc$99 as tokenDoc, doc$100 as tokenInputDoc, tokenInputVariants, tokenVariants, tokenize, tokenizeLines, doc$101 as toolbarDoc, toolbarVariants, doc$102 as tooltipDoc, tooltipVariants, doc$103 as tourDoc, tourVariants, doc$104 as transferListDoc, transferListVariants, doc$105 as treeListDoc, treeListVariants, tv, useAnnounce, useAsyncOptions, useCommandPaletteShortcut, useDensity, useFitCount, useHasLiveAnnouncer, useI18n, useInspectorLayout, useLinkComponent, useOptionalI18n, usePortalDir, useSidebarLayout, useSortable, useTheme, useThemeOptions, useToast, useTreeList, useVirtualWindow, doc$106 as userMenuDoc, userMenuVariants, validateKeyValueRows, doc$107 as virtualListDoc, virtualListVariants, doc$108 as visuallyHiddenDoc, visuallyHiddenVariants, doc$109 as wizardLayoutDoc, wizardLayoutVariants, doc$110 as workspaceSwitcherDoc, workspaceSwitcherVariants };
|
|
25163
25355
|
|
|
25164
25356
|
//# sourceMappingURL=index.js.map
|