@exponential_app/eui-solid 0.2.0 → 0.3.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/README.md +5 -0
- package/dist/exponential-ui-solid.css +1 -1
- package/dist/index.js +159 -52
- package/dist/index.js.map +1 -1
- package/dist/primitives.js +384 -110
- package/dist/primitives.js.map +1 -1
- package/dist/types/primitives/carousel.d.ts +21 -0
- package/dist/types/primitives/index.d.ts +3 -0
- package/dist/types/primitives/mosaic.d.ts +16 -0
- package/dist/types/primitives/outline.d.ts +14 -0
- package/package.json +2 -2
package/dist/primitives.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { spread, mergeProps, template, createComponent, Dynamic, memo, insert, effect, className, delegateEvents, setAttribute, style, use } from "solid-js/web";
|
|
2
|
-
import { splitProps, createContext, createSignal, untrack, Show, onMount, useContext, createEffect, on, onCleanup, children, mergeProps as mergeProps$1, createMemo, For, createUniqueId, from, Index } from "solid-js";
|
|
3
|
-
import { cn, alertVariants, ALERT_CLASSES, ALERT_DIALOG_CLASSES, AVATAR_CLASSES, avatarFallbackColors, avatarFallbackHue, BADGE_CLASSES, badgeLabel, BREADCRUMB_CLASSES, buttonVariants, CALENDAR_CLASSES, CARD_CLASSES, CHECKBOX_CLASSES, choiceValues, CHOICE_TILES_CLASSES, choiceColumns, choiceToggle, codeBlockVariants, CODE_BLOCK_CLASSES, codeBlockLineVariants, CODE_TOKEN_CLASS, COMMAND_LABEL_STYLE, createCommandStore, COMMAND_CLASSES, COMMAND_SELECT_EVENT, commandItemValue, observeCommandListHeight, CONTEXT_RING_CLASSES, RING_TONE_CLASS, RING_SIZE, RING_RADIUS, RING_STROKE, ringGeometry, SHEET_CHROME_CLASSES, isTypeaheadPortalInteraction, SHEET_CLASSES, DIALOG_CLASSES, DIALOG_PHONE_QUERY, MOBILE_ARMS, DISCLOSURE_HEADER_CLASSES, DOCK_CARD_CLASSES, dockPileGeometry, DOCK_PILE_CLASSES, DROPDOWN_MENU_CLASSES, ICON_DISC_CLASSES, EMPTY_STATE_CLASSES, GLASS_CARD_CLASSES, HOVER_CARD_DELAYS, HOVER_CARD_CLASSES, INPUT_CLASSES, KBD_CLASSES, LABEL_CLASSES, PROGRESS_CLASSES, progressIndicatorTransform, METER_CLASSES, POPOVER_CLASSES, PROGRESS_RING_CLASSES, progressRingPercent, SCROLL_AREA_CLASSES, scrollAreaRootStyle, SCROLL_AREA_VIEWPORT_CSS, scrollAreaViewportStyle, SCROLL_AREA_CONTENT_STYLE, scrollAreaVisibility, SCROLL_AREA_SCROLL_INITIAL, scrollAreaCornerStyle, scrollAreaThumbOffset, scrollAreaScrollbarStyle, scrollAreaThumbSize, SCROLL_AREA_THUMB_STYLE, SCROLL_AREA_SCROLL_MACHINE, scrollAreaThumbRatio, scrollAreaScrollFromPointer, TABS_CLASSES, SEGMENTED_CONTROL_CLASSES, SELECT_CLASSES, SELECT_INLINE, selectPopperContentStyle, selectItemAlignedContentStyle, SELECT_VIEWPORT_CSS, SELECT_VIEWPORT_ATTR, SEPARATOR_CLASSES, SKELETON_CLASSES, SPINNER_CLASSES, SWITCH_CLASSES, TABLE_CLASSES, TEXTAREA_CLASSES, createToastStore, TOAST_TOUCH_QUERY, toastPlacement, layoutSize, toastStackGeometry, TOAST_CLASSES, TOOLTIP_CLASSES, voiceWaveAnimates, voiceWaveClock, VOICE_WAVE_CLASSES, voiceWaveFitChild, VOICE_WAVE_SIZE_PX, voiceWaveQuiet, voiceWaveName } from "@exponential_app/eui/web/primitives";
|
|
4
|
-
import { AVATAR_HUE_COUNT, BARE_FIELD_CLASS, CODE_TOKEN_CLASS as CODE_TOKEN_CLASS2, DOCK_CARD_CLASSES as DOCK_CARD_CLASSES2, DOCK_PILE_CLASSES as DOCK_PILE_CLASSES2, DOCK_PILE_CONSTANTS, EMPTY_STATE_SIZES, FIELD_CHROME_CLASS, GLASS_CARD_CLASS, GLASS_CARD_CLASSES as GLASS_CARD_CLASSES2, ICON_DISC_TONES, MENU_CHECK_ITEM_CLASS, MENU_CHEVRON_CLASS, MENU_CONTENT_CLASS, MENU_ITEM_CLASS, MENU_LABEL_CLASS, MENU_SEPARATOR_CLASS, MENU_SHORTCUT_CLASS, MENU_SUB_TRIGGER_CLASS, MENU_SURFACE_CLASS, MENU_VALUE_CLASS, MOBILE_ALERT, MOBILE_ARMS as MOBILE_ARMS2, MOBILE_PAGE, MOBILE_SHEET, MOBILE_SHEET_FULL, RING_RADIUS as RING_RADIUS2, RING_SIZE as RING_SIZE2, RING_STROKE as RING_STROKE2, RING_TONE_CLASS as RING_TONE_CLASS2, SEGMENTED_ITEM, SEGMENTED_LIST, SEGMENTED_ROW, SEGMENTED_ROW_COMPACT, SEGMENTED_TAB, TOAST_CONSTANTS, TOAST_KINDS, TOAST_TOUCH_QUERY as TOAST_TOUCH_QUERY2, alertVariants as alertVariants2, avatarHueIndex, buttonVariants as buttonVariants2, choiceColumns as choiceColumns2, choiceToggle as choiceToggle2, choiceValues as choiceValues2, cn as cn2, createToastStore as createToastStore2, dockPileGeometry as dockPileGeometry2, getInitials, middleTruncate, progressRingPercent as progressRingPercent2, ringGeometry as ringGeometry2, toastPlacement as toastPlacement2, toastStackGeometry as toastStackGeometry2 } from "@exponential_app/eui/web/primitives";
|
|
2
|
+
import { splitProps, createContext, createSignal, untrack, Show, onMount, useContext, createEffect, on, onCleanup, children, mergeProps as mergeProps$1, createMemo, For, createRenderEffect, createUniqueId, from, Index } from "solid-js";
|
|
3
|
+
import { cn, alertVariants, ALERT_CLASSES, ALERT_DIALOG_CLASSES, AVATAR_CLASSES, avatarFallbackColors, avatarFallbackHue, BADGE_CLASSES, badgeLabel, BREADCRUMB_CLASSES, buttonVariants, CALENDAR_CLASSES, CARD_CLASSES, CAROUSEL_CLASSES, carouselCounterText, CHECKBOX_CLASSES, choiceValues, CHOICE_TILES_CLASSES, choiceColumns, choiceToggle, codeBlockVariants, CODE_BLOCK_CLASSES, codeBlockLineVariants, CODE_TOKEN_CLASS, COMMAND_LABEL_STYLE, createCommandStore, COMMAND_CLASSES, COMMAND_SELECT_EVENT, commandItemValue, observeCommandListHeight, CONTEXT_RING_CLASSES, RING_TONE_CLASS, RING_SIZE, RING_RADIUS, RING_STROKE, ringGeometry, SHEET_CHROME_CLASSES, isTypeaheadPortalInteraction, SHEET_CLASSES, DIALOG_CLASSES, DIALOG_PHONE_QUERY, MOBILE_ARMS, DISCLOSURE_HEADER_CLASSES, DOCK_CARD_CLASSES, dockPileGeometry, DOCK_PILE_CLASSES, DROPDOWN_MENU_CLASSES, ICON_DISC_CLASSES, EMPTY_STATE_CLASSES, GLASS_CARD_CLASSES, HOVER_CARD_DELAYS, HOVER_CARD_CLASSES, INPUT_CLASSES, KBD_CLASSES, LABEL_CLASSES, PROGRESS_CLASSES, progressIndicatorTransform, METER_CLASSES, MOSAIC_CLASSES, mosaicTiles, OUTLINE_CLASSES, outlineCountText, POPOVER_CLASSES, PROGRESS_RING_CLASSES, progressRingPercent, SCROLL_AREA_CLASSES, scrollAreaRootStyle, SCROLL_AREA_VIEWPORT_CSS, scrollAreaViewportStyle, SCROLL_AREA_CONTENT_STYLE, scrollAreaVisibility, SCROLL_AREA_SCROLL_INITIAL, scrollAreaCornerStyle, scrollAreaThumbOffset, scrollAreaScrollbarStyle, scrollAreaThumbSize, SCROLL_AREA_THUMB_STYLE, SCROLL_AREA_SCROLL_MACHINE, scrollAreaThumbRatio, scrollAreaScrollFromPointer, TABS_CLASSES, SEGMENTED_CONTROL_CLASSES, SELECT_CLASSES, SELECT_INLINE, selectPopperContentStyle, selectItemAlignedContentStyle, SELECT_VIEWPORT_CSS, SELECT_VIEWPORT_ATTR, SEPARATOR_CLASSES, SKELETON_CLASSES, SPINNER_CLASSES, SWITCH_CLASSES, TABLE_CLASSES, TEXTAREA_CLASSES, createToastStore, TOAST_TOUCH_QUERY, toastPlacement, layoutSize, toastStackGeometry, TOAST_CLASSES, TOOLTIP_CLASSES, voiceWaveAnimates, voiceWaveClock, VOICE_WAVE_CLASSES, voiceWaveFitChild, VOICE_WAVE_SIZE_PX, voiceWaveQuiet, voiceWaveName } from "@exponential_app/eui/web/primitives";
|
|
4
|
+
import { AVATAR_HUE_COUNT, BARE_FIELD_CLASS, CAROUSEL_GEOMETRY, CODE_TOKEN_CLASS as CODE_TOKEN_CLASS2, DOCK_CARD_CLASSES as DOCK_CARD_CLASSES2, DOCK_PILE_CLASSES as DOCK_PILE_CLASSES2, DOCK_PILE_CONSTANTS, EMPTY_STATE_SIZES, FIELD_CHROME_CLASS, GLASS_CARD_CLASS, GLASS_CARD_CLASSES as GLASS_CARD_CLASSES2, ICON_DISC_TONES, MENU_CHECK_ITEM_CLASS, MENU_CHEVRON_CLASS, MENU_CONTENT_CLASS, MENU_ITEM_CLASS, MENU_LABEL_CLASS, MENU_SEPARATOR_CLASS, MENU_SHORTCUT_CLASS, MENU_SUB_TRIGGER_CLASS, MENU_SURFACE_CLASS, MENU_VALUE_CLASS, MOBILE_ALERT, MOBILE_ARMS as MOBILE_ARMS2, MOBILE_PAGE, MOBILE_SHEET, MOBILE_SHEET_FULL, MOSAIC_GEOMETRY, OUTLINE_GEOMETRY, RING_RADIUS as RING_RADIUS2, RING_SIZE as RING_SIZE2, RING_STROKE as RING_STROKE2, RING_TONE_CLASS as RING_TONE_CLASS2, SEGMENTED_ITEM, SEGMENTED_LIST, SEGMENTED_ROW, SEGMENTED_ROW_COMPACT, SEGMENTED_TAB, TOAST_CONSTANTS, TOAST_KINDS, TOAST_TOUCH_QUERY as TOAST_TOUCH_QUERY2, alertVariants as alertVariants2, avatarHueIndex, buttonVariants as buttonVariants2, carouselCounterText as carouselCounterText2, choiceColumns as choiceColumns2, choiceToggle as choiceToggle2, choiceValues as choiceValues2, cn as cn2, createToastStore as createToastStore2, dockPileGeometry as dockPileGeometry2, getInitials, middleTruncate, mosaicTiles as mosaicTiles2, outlineCountText as outlineCountText2, progressRingPercent as progressRingPercent2, ringGeometry as ringGeometry2, toastPlacement as toastPlacement2, toastStackGeometry as toastStackGeometry2 } from "@exponential_app/eui/web/primitives";
|
|
5
5
|
import { i as createPresence, L as LayerPortal, j as createLayer, l as bindStyle, u as useFocusGuards, s as useModalEffects, q as useScrollLock, p as createFocusScope, g as createImageLoadingStatus, c as css, P as PaintIcon, f as createInForm, e as createElementSize, T as bubbleOnChange, H as createMediaQuery$1, n as useKeyboardTracking, M as MenuContent, v as createMenuRow, w as createSelectable, k as Popper, m as LayerContext, x as popperContentStyle, r as rovingFocusFirst, U as focusIntent, W as wrapArray, N as NativeSelect, G as SELECTION_KEYS, z as radixTypeahead, A as findNextItem, O as OPEN_KEYS, F as mountIn, X as styleWriter, Y as setChecked, V as VisuallyHidden, y as inPolygon, o as graceArea } from "./chunks/image-loading-status--T9ny7b0.js";
|
|
6
6
|
import "aria-hidden";
|
|
7
7
|
import "@floating-ui/dom";
|
|
8
8
|
import "@exponential_app/eui/web";
|
|
9
9
|
import { tokenizeCode, voiceWave, voiceWavePath, voiceWaveChildBox } from "@exponential_app/eui";
|
|
10
10
|
import { Ellipsis, ChevronRight, ChevronLeft, ChevronDown, Check, ImageIcon, Copy, Search, CircleX, X, Circle, ChevronUp, LoaderCircle, TriangleAlert, Info, CircleCheck } from "lucide-solid";
|
|
11
|
-
var _tmpl$$
|
|
11
|
+
var _tmpl$$H = /* @__PURE__ */ template(`<div data-slot=alert role=alert>`), _tmpl$2$t = /* @__PURE__ */ template(`<div data-slot=alert-title>`), _tmpl$3$n = /* @__PURE__ */ template(`<div data-slot=alert-description>`);
|
|
12
12
|
function Alert(props) {
|
|
13
13
|
const [local, rest] = splitProps(props, [`class`, `variant`]);
|
|
14
14
|
return (() => {
|
|
15
|
-
var _el$ = _tmpl$$
|
|
15
|
+
var _el$ = _tmpl$$H();
|
|
16
16
|
spread(_el$, mergeProps({
|
|
17
17
|
get ["class"]() {
|
|
18
18
|
return cn(alertVariants({
|
|
@@ -26,7 +26,7 @@ function Alert(props) {
|
|
|
26
26
|
function AlertTitle(props) {
|
|
27
27
|
const [local, rest] = splitProps(props, [`class`]);
|
|
28
28
|
return (() => {
|
|
29
|
-
var _el$2 = _tmpl$2$
|
|
29
|
+
var _el$2 = _tmpl$2$t();
|
|
30
30
|
spread(_el$2, mergeProps({
|
|
31
31
|
get ["class"]() {
|
|
32
32
|
return cn(ALERT_CLASSES.title, local.class);
|
|
@@ -38,7 +38,7 @@ function AlertTitle(props) {
|
|
|
38
38
|
function AlertDescription(props) {
|
|
39
39
|
const [local, rest] = splitProps(props, [`class`]);
|
|
40
40
|
return (() => {
|
|
41
|
-
var _el$3 = _tmpl$3$
|
|
41
|
+
var _el$3 = _tmpl$3$n();
|
|
42
42
|
spread(_el$3, mergeProps({
|
|
43
43
|
get ["class"]() {
|
|
44
44
|
return cn(ALERT_CLASSES.description, local.class);
|
|
@@ -47,7 +47,7 @@ function AlertDescription(props) {
|
|
|
47
47
|
return _el$3;
|
|
48
48
|
})();
|
|
49
49
|
}
|
|
50
|
-
var _tmpl$$
|
|
50
|
+
var _tmpl$$G = /* @__PURE__ */ template(`<div>`), _tmpl$2$s = /* @__PURE__ */ template(`<div tabindex=-1>`), _tmpl$3$m = /* @__PURE__ */ template(`<h2>`), _tmpl$4$h = /* @__PURE__ */ template(`<p>`);
|
|
51
51
|
function callHandler$2(handler, event) {
|
|
52
52
|
if (typeof handler === `function`) handler(event);
|
|
53
53
|
else if (Array.isArray(handler) && typeof handler[0] === `function`) handler[0](handler[1], event);
|
|
@@ -193,7 +193,7 @@ function DialogOverlayPart(props) {
|
|
|
193
193
|
const [local, rest] = splitProps(props, [`style`, `ref`]);
|
|
194
194
|
const Overlay = () => {
|
|
195
195
|
const el = (() => {
|
|
196
|
-
var _el$ = _tmpl$$
|
|
196
|
+
var _el$ = _tmpl$$G();
|
|
197
197
|
spread(_el$, mergeProps({
|
|
198
198
|
get ["data-state"]() {
|
|
199
199
|
return stateOf$1(ctx.open());
|
|
@@ -278,7 +278,7 @@ function DialogContentPart(props) {
|
|
|
278
278
|
const [registered, setRegistered] = createSignal(false);
|
|
279
279
|
const lag = layerMountedThisTask();
|
|
280
280
|
const el = (() => {
|
|
281
|
-
var _el$2 = _tmpl$2$
|
|
281
|
+
var _el$2 = _tmpl$2$s();
|
|
282
282
|
spread(_el$2, mergeProps({
|
|
283
283
|
get role() {
|
|
284
284
|
return local.role ?? `dialog`;
|
|
@@ -332,7 +332,7 @@ function DialogContentPart(props) {
|
|
|
332
332
|
function DialogTitlePart(props) {
|
|
333
333
|
const ctx = useDialogContext(`DialogTitle`);
|
|
334
334
|
return (() => {
|
|
335
|
-
var _el$3 = _tmpl$3$
|
|
335
|
+
var _el$3 = _tmpl$3$m();
|
|
336
336
|
spread(_el$3, mergeProps({
|
|
337
337
|
get id() {
|
|
338
338
|
return ctx.titleId;
|
|
@@ -344,7 +344,7 @@ function DialogTitlePart(props) {
|
|
|
344
344
|
function DialogDescriptionPart(props) {
|
|
345
345
|
const ctx = useDialogContext(`DialogDescription`);
|
|
346
346
|
return (() => {
|
|
347
|
-
var _el$4 = _tmpl$4$
|
|
347
|
+
var _el$4 = _tmpl$4$h();
|
|
348
348
|
spread(_el$4, mergeProps({
|
|
349
349
|
get id() {
|
|
350
350
|
return ctx.descriptionId;
|
|
@@ -353,7 +353,7 @@ function DialogDescriptionPart(props) {
|
|
|
353
353
|
return _el$4;
|
|
354
354
|
})();
|
|
355
355
|
}
|
|
356
|
-
var _tmpl$$
|
|
356
|
+
var _tmpl$$F = /* @__PURE__ */ template(`<div data-slot=alert-dialog-header>`), _tmpl$2$r = /* @__PURE__ */ template(`<div data-slot=alert-dialog-footer>`);
|
|
357
357
|
const CancelContext = createContext();
|
|
358
358
|
function AlertDialog(props) {
|
|
359
359
|
return createComponent(DialogRoot, mergeProps(props, {
|
|
@@ -421,7 +421,7 @@ function AlertDialogContent(props) {
|
|
|
421
421
|
function AlertDialogHeader(props) {
|
|
422
422
|
const [local, rest] = splitProps(props, [`class`]);
|
|
423
423
|
return (() => {
|
|
424
|
-
var _el$ = _tmpl$$
|
|
424
|
+
var _el$ = _tmpl$$F();
|
|
425
425
|
spread(_el$, mergeProps({
|
|
426
426
|
get ["class"]() {
|
|
427
427
|
return cn(ALERT_DIALOG_CLASSES.header, local.class);
|
|
@@ -433,7 +433,7 @@ function AlertDialogHeader(props) {
|
|
|
433
433
|
function AlertDialogFooter(props) {
|
|
434
434
|
const [local, rest] = splitProps(props, [`class`]);
|
|
435
435
|
return (() => {
|
|
436
|
-
var _el$2 = _tmpl$2$
|
|
436
|
+
var _el$2 = _tmpl$2$r();
|
|
437
437
|
spread(_el$2, mergeProps({
|
|
438
438
|
get ["class"]() {
|
|
439
439
|
return cn(ALERT_DIALOG_CLASSES.footer, local.class);
|
|
@@ -482,7 +482,7 @@ function AlertDialogCancel(props) {
|
|
|
482
482
|
}
|
|
483
483
|
}));
|
|
484
484
|
}
|
|
485
|
-
var _tmpl$$
|
|
485
|
+
var _tmpl$$E = /* @__PURE__ */ template(`<span data-slot=avatar>`), _tmpl$2$q = /* @__PURE__ */ template(`<img data-slot=avatar-image>`), _tmpl$3$l = /* @__PURE__ */ template(`<span data-slot=avatar-fallback>`);
|
|
486
486
|
const AvatarContext = createContext();
|
|
487
487
|
function Avatar(props) {
|
|
488
488
|
const [local, rest] = splitProps(props, [`class`]);
|
|
@@ -493,7 +493,7 @@ function Avatar(props) {
|
|
|
493
493
|
setStatus
|
|
494
494
|
},
|
|
495
495
|
get children() {
|
|
496
|
-
var _el$ = _tmpl$$
|
|
496
|
+
var _el$ = _tmpl$$E();
|
|
497
497
|
spread(_el$, mergeProps({
|
|
498
498
|
get ["class"]() {
|
|
499
499
|
return cn(AVATAR_CLASSES.root, local.class);
|
|
@@ -517,7 +517,7 @@ function AvatarImage(props) {
|
|
|
517
517
|
return status() === `loaded`;
|
|
518
518
|
},
|
|
519
519
|
get children() {
|
|
520
|
-
var _el$2 = _tmpl$2$
|
|
520
|
+
var _el$2 = _tmpl$2$q();
|
|
521
521
|
spread(_el$2, mergeProps({
|
|
522
522
|
get ["class"]() {
|
|
523
523
|
return cn(AVATAR_CLASSES.image, local.class);
|
|
@@ -553,7 +553,7 @@ function AvatarFallback(props) {
|
|
|
553
553
|
return memo(() => !!canRender())() && ctx.status() !== `loaded`;
|
|
554
554
|
},
|
|
555
555
|
get children() {
|
|
556
|
-
var _el$3 = _tmpl$3$
|
|
556
|
+
var _el$3 = _tmpl$3$l();
|
|
557
557
|
spread(_el$3, mergeProps({
|
|
558
558
|
get ["class"]() {
|
|
559
559
|
return cn(AVATAR_CLASSES.fallback, hue() === void 0 && AVATAR_CLASSES.fallbackMuted, local.class);
|
|
@@ -566,7 +566,7 @@ function AvatarFallback(props) {
|
|
|
566
566
|
}
|
|
567
567
|
});
|
|
568
568
|
}
|
|
569
|
-
var _tmpl$$
|
|
569
|
+
var _tmpl$$D = /* @__PURE__ */ template(`<span data-slot=badge>`);
|
|
570
570
|
function Badge(props) {
|
|
571
571
|
const [local, rest] = splitProps(props, [`count`, `max`, `tone`, `class`]);
|
|
572
572
|
const tone = () => local.tone ?? `muted`;
|
|
@@ -575,7 +575,7 @@ function Badge(props) {
|
|
|
575
575
|
return local.count > 0;
|
|
576
576
|
},
|
|
577
577
|
get children() {
|
|
578
|
-
var _el$ = _tmpl$$
|
|
578
|
+
var _el$ = _tmpl$$D();
|
|
579
579
|
spread(_el$, mergeProps({
|
|
580
580
|
get ["data-tone"]() {
|
|
581
581
|
return tone();
|
|
@@ -589,10 +589,10 @@ function Badge(props) {
|
|
|
589
589
|
}
|
|
590
590
|
});
|
|
591
591
|
}
|
|
592
|
-
var _tmpl$$
|
|
592
|
+
var _tmpl$$C = /* @__PURE__ */ template(`<nav aria-label=breadcrumb data-slot=breadcrumb>`), _tmpl$2$p = /* @__PURE__ */ template(`<ol data-slot=breadcrumb-list>`), _tmpl$3$k = /* @__PURE__ */ template(`<li data-slot=breadcrumb-item>`), _tmpl$4$g = /* @__PURE__ */ template(`<span data-slot=breadcrumb-page role=link aria-disabled=true aria-current=page>`), _tmpl$5$b = /* @__PURE__ */ template(`<li data-slot=breadcrumb-separator role=presentation aria-hidden=true>`), _tmpl$6$8 = /* @__PURE__ */ template(`<span data-slot=breadcrumb-ellipsis role=presentation aria-hidden=true><span>More`);
|
|
593
593
|
function Breadcrumb(props) {
|
|
594
594
|
return (() => {
|
|
595
|
-
var _el$ = _tmpl$$
|
|
595
|
+
var _el$ = _tmpl$$C();
|
|
596
596
|
spread(_el$, props, false, false);
|
|
597
597
|
return _el$;
|
|
598
598
|
})();
|
|
@@ -600,7 +600,7 @@ function Breadcrumb(props) {
|
|
|
600
600
|
function BreadcrumbList(props) {
|
|
601
601
|
const [local, rest] = splitProps(props, [`class`]);
|
|
602
602
|
return (() => {
|
|
603
|
-
var _el$2 = _tmpl$2$
|
|
603
|
+
var _el$2 = _tmpl$2$p();
|
|
604
604
|
spread(_el$2, mergeProps({
|
|
605
605
|
get ["class"]() {
|
|
606
606
|
return cn(BREADCRUMB_CLASSES.list, local.class);
|
|
@@ -612,7 +612,7 @@ function BreadcrumbList(props) {
|
|
|
612
612
|
function BreadcrumbItem(props) {
|
|
613
613
|
const [local, rest] = splitProps(props, [`class`]);
|
|
614
614
|
return (() => {
|
|
615
|
-
var _el$3 = _tmpl$3$
|
|
615
|
+
var _el$3 = _tmpl$3$k();
|
|
616
616
|
spread(_el$3, mergeProps({
|
|
617
617
|
get ["class"]() {
|
|
618
618
|
return cn(BREADCRUMB_CLASSES.item, local.class);
|
|
@@ -636,7 +636,7 @@ function BreadcrumbLink(props) {
|
|
|
636
636
|
function BreadcrumbPage(props) {
|
|
637
637
|
const [local, rest] = splitProps(props, [`class`]);
|
|
638
638
|
return (() => {
|
|
639
|
-
var _el$4 = _tmpl$4$
|
|
639
|
+
var _el$4 = _tmpl$4$g();
|
|
640
640
|
spread(_el$4, mergeProps({
|
|
641
641
|
get ["class"]() {
|
|
642
642
|
return cn(BREADCRUMB_CLASSES.page, local.class);
|
|
@@ -649,7 +649,7 @@ function BreadcrumbSeparator(props) {
|
|
|
649
649
|
const [local, rest] = splitProps(props, [`class`, `children`]);
|
|
650
650
|
const resolved = children(() => local.children);
|
|
651
651
|
return (() => {
|
|
652
|
-
var _el$5 = _tmpl$5$
|
|
652
|
+
var _el$5 = _tmpl$5$b();
|
|
653
653
|
spread(_el$5, mergeProps({
|
|
654
654
|
get ["class"]() {
|
|
655
655
|
return cn(BREADCRUMB_CLASSES.separator, local.class);
|
|
@@ -704,7 +704,7 @@ function Button(props) {
|
|
|
704
704
|
}
|
|
705
705
|
}, rest));
|
|
706
706
|
}
|
|
707
|
-
var _tmpl$$
|
|
707
|
+
var _tmpl$$B = /* @__PURE__ */ template(`<span><select></select><span aria-hidden=true>`), _tmpl$2$o = /* @__PURE__ */ template(`<option>`), _tmpl$3$j = /* @__PURE__ */ template(`<nav><button type=button></button><button type=button>`), _tmpl$4$f = /* @__PURE__ */ template(`<div role=status aria-live=polite>`), _tmpl$5$a = /* @__PURE__ */ template(`<div data-slot=calendar><div>`), _tmpl$6$7 = /* @__PURE__ */ template(`<th scope=col>`), _tmpl$7$4 = /* @__PURE__ */ template(`<thead aria-hidden=true><tr>`), _tmpl$8$4 = /* @__PURE__ */ template(`<div><div></div><table role=grid><tbody>`), _tmpl$9$3 = /* @__PURE__ */ template(`<div><span role=status aria-live=polite>`), _tmpl$0$3 = /* @__PURE__ */ template(`<span>`), _tmpl$1$1 = /* @__PURE__ */ template(`<span role=status aria-live=polite>`), _tmpl$10$1 = /* @__PURE__ */ template(`<td><div>`), _tmpl$11$1 = /* @__PURE__ */ template(`<tr>`), _tmpl$12 = /* @__PURE__ */ template(`<td role=gridcell>`);
|
|
708
708
|
const clone = (d) => new Date(d.getTime());
|
|
709
709
|
const startOfDay = (d) => new Date(d.getFullYear(), d.getMonth(), d.getDate());
|
|
710
710
|
const startOfMonth = (d) => new Date(d.getFullYear(), d.getMonth(), 1);
|
|
@@ -1413,7 +1413,7 @@ function Calendar(input) {
|
|
|
1413
1413
|
}
|
|
1414
1414
|
};
|
|
1415
1415
|
return (() => {
|
|
1416
|
-
var _el$ = _tmpl$$
|
|
1416
|
+
var _el$ = _tmpl$$B(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
|
|
1417
1417
|
use((el) => queueMicrotask(() => el.value = String(value)), _el$2);
|
|
1418
1418
|
_el$2.addEventListener("change", onChange);
|
|
1419
1419
|
insert(_el$2, createComponent(For, {
|
|
@@ -1421,7 +1421,7 @@ function Calendar(input) {
|
|
|
1421
1421
|
return options();
|
|
1422
1422
|
},
|
|
1423
1423
|
children: (o) => (() => {
|
|
1424
|
-
var _el$4 = _tmpl$2$
|
|
1424
|
+
var _el$4 = _tmpl$2$o();
|
|
1425
1425
|
insert(_el$4, () => o.label);
|
|
1426
1426
|
effect((_p$) => {
|
|
1427
1427
|
var _v$7 = o.disabled, _v$8 = o.value === value;
|
|
@@ -1465,7 +1465,7 @@ function Calendar(input) {
|
|
|
1465
1465
|
})();
|
|
1466
1466
|
};
|
|
1467
1467
|
return (() => {
|
|
1468
|
-
var _el$5 = _tmpl$5$
|
|
1468
|
+
var _el$5 = _tmpl$5$a(), _el$6 = _el$5.firstChild;
|
|
1469
1469
|
spread(_el$5, mergeProps({
|
|
1470
1470
|
get ["class"]() {
|
|
1471
1471
|
return cn([classNames().root, cn(CALENDAR_CLASSES.root, props.class)].filter(Boolean).join(` `));
|
|
@@ -1503,7 +1503,7 @@ function Calendar(input) {
|
|
|
1503
1503
|
return !props.hideNavigation;
|
|
1504
1504
|
},
|
|
1505
1505
|
get children() {
|
|
1506
|
-
var _el$7 = _tmpl$3$
|
|
1506
|
+
var _el$7 = _tmpl$3$j(), _el$8 = _el$7.firstChild, _el$9 = _el$8.nextSibling;
|
|
1507
1507
|
_el$8.$$click = handlePrevious;
|
|
1508
1508
|
insert(_el$8, createComponent(Chevron, {
|
|
1509
1509
|
get disabled() {
|
|
@@ -1792,7 +1792,7 @@ function Calendar(input) {
|
|
|
1792
1792
|
return props.footer;
|
|
1793
1793
|
},
|
|
1794
1794
|
get children() {
|
|
1795
|
-
var _el$0 = _tmpl$4$
|
|
1795
|
+
var _el$0 = _tmpl$4$f();
|
|
1796
1796
|
insert(_el$0, () => props.footer);
|
|
1797
1797
|
effect(() => className(_el$0, classNames().footer));
|
|
1798
1798
|
return _el$0;
|
|
@@ -1851,11 +1851,11 @@ function CalendarDayButton(props) {
|
|
|
1851
1851
|
}, rest));
|
|
1852
1852
|
}
|
|
1853
1853
|
delegateEvents(["click"]);
|
|
1854
|
-
var _tmpl$$
|
|
1854
|
+
var _tmpl$$A = /* @__PURE__ */ template(`<div>`);
|
|
1855
1855
|
const part = (slot, recipe) => function CardPart(props) {
|
|
1856
1856
|
const [local, rest] = splitProps(props, [`class`]);
|
|
1857
1857
|
return (() => {
|
|
1858
|
-
var _el$ = _tmpl$$
|
|
1858
|
+
var _el$ = _tmpl$$A();
|
|
1859
1859
|
setAttribute(_el$, "data-slot", slot);
|
|
1860
1860
|
spread(_el$, mergeProps({
|
|
1861
1861
|
get ["class"]() {
|
|
@@ -1872,7 +1872,101 @@ const CardDescription = part(`card-description`, `description`);
|
|
|
1872
1872
|
const CardAction = part(`card-action`, `action`);
|
|
1873
1873
|
const CardContent = part(`card-content`, `content`);
|
|
1874
1874
|
const CardFooter = part(`card-footer`, `footer`);
|
|
1875
|
-
var _tmpl$$
|
|
1875
|
+
var _tmpl$$z = /* @__PURE__ */ template(`<span data-slot=carousel-counter aria-hidden=true>`), _tmpl$2$n = /* @__PURE__ */ template(`<div data-slot=carousel-thumbnails>`), _tmpl$3$i = /* @__PURE__ */ template(`<button type=button data-slot=carousel-thumbnail>`), _tmpl$4$e = /* @__PURE__ */ template(`<img alt aria-hidden=true loading=lazy decoding=async>`, true, false, false);
|
|
1876
|
+
function CarouselCounter(props) {
|
|
1877
|
+
const [local, rest] = splitProps(props, [`page`, `total`, `class`]);
|
|
1878
|
+
return (() => {
|
|
1879
|
+
var _el$ = _tmpl$$z();
|
|
1880
|
+
spread(_el$, mergeProps({
|
|
1881
|
+
get ["class"]() {
|
|
1882
|
+
return cn(CAROUSEL_CLASSES.counter, local.class);
|
|
1883
|
+
}
|
|
1884
|
+
}, rest), false, true);
|
|
1885
|
+
insert(_el$, () => carouselCounterText(local.page, local.total));
|
|
1886
|
+
return _el$;
|
|
1887
|
+
})();
|
|
1888
|
+
}
|
|
1889
|
+
const defaultPageLabel = (page, total) => `Page ${page + 1} of ${total}`;
|
|
1890
|
+
function CarouselThumbnails(props) {
|
|
1891
|
+
const [local, rest] = splitProps(props, [`count`, `urls`, `page`, `onPageChange`, `pageLabel`, `class`]);
|
|
1892
|
+
let strip;
|
|
1893
|
+
const n = () => Math.max(0, Math.floor(local.count));
|
|
1894
|
+
const indexes = () => Array.from({
|
|
1895
|
+
length: n()
|
|
1896
|
+
}, (_, i) => i);
|
|
1897
|
+
const label = (i) => (local.pageLabel ?? defaultPageLabel)(i, n());
|
|
1898
|
+
createRenderEffect(() => {
|
|
1899
|
+
const page = local.page;
|
|
1900
|
+
n();
|
|
1901
|
+
queueMicrotask(() => {
|
|
1902
|
+
const el = strip;
|
|
1903
|
+
const thumb = el?.children[page];
|
|
1904
|
+
if (!el || !thumb) return;
|
|
1905
|
+
const a = el.getBoundingClientRect();
|
|
1906
|
+
const b = thumb.getBoundingClientRect();
|
|
1907
|
+
const delta = b.left < a.left ? b.left - a.left : b.right > a.right ? b.right - a.right : 0;
|
|
1908
|
+
if (delta !== 0) el.scrollLeft += delta;
|
|
1909
|
+
});
|
|
1910
|
+
});
|
|
1911
|
+
return (() => {
|
|
1912
|
+
var _el$2 = _tmpl$2$n();
|
|
1913
|
+
var _ref$ = strip;
|
|
1914
|
+
typeof _ref$ === "function" ? use(_ref$, _el$2) : strip = _el$2;
|
|
1915
|
+
spread(_el$2, mergeProps({
|
|
1916
|
+
get ["class"]() {
|
|
1917
|
+
return cn(CAROUSEL_CLASSES.thumbnails, local.class);
|
|
1918
|
+
}
|
|
1919
|
+
}, rest), false, true);
|
|
1920
|
+
insert(_el$2, createComponent(For, {
|
|
1921
|
+
get each() {
|
|
1922
|
+
return indexes();
|
|
1923
|
+
},
|
|
1924
|
+
children: (i) => {
|
|
1925
|
+
const current = () => i === local.page;
|
|
1926
|
+
return (() => {
|
|
1927
|
+
var _el$3 = _tmpl$3$i();
|
|
1928
|
+
_el$3.$$click = () => local.onPageChange?.(i);
|
|
1929
|
+
insert(_el$3, createComponent(Show, {
|
|
1930
|
+
get when() {
|
|
1931
|
+
return local.urls[i];
|
|
1932
|
+
},
|
|
1933
|
+
children: (src) => (() => {
|
|
1934
|
+
var _el$4 = _tmpl$4$e();
|
|
1935
|
+
setAttribute(_el$4, "draggable", false);
|
|
1936
|
+
effect((_p$) => {
|
|
1937
|
+
var _v$5 = src(), _v$6 = CAROUSEL_CLASSES.thumbnailImage;
|
|
1938
|
+
_v$5 !== _p$.e && setAttribute(_el$4, "src", _p$.e = _v$5);
|
|
1939
|
+
_v$6 !== _p$.t && className(_el$4, _p$.t = _v$6);
|
|
1940
|
+
return _p$;
|
|
1941
|
+
}, {
|
|
1942
|
+
e: void 0,
|
|
1943
|
+
t: void 0
|
|
1944
|
+
});
|
|
1945
|
+
return _el$4;
|
|
1946
|
+
})()
|
|
1947
|
+
}));
|
|
1948
|
+
effect((_p$) => {
|
|
1949
|
+
var _v$ = current() ? `true` : void 0, _v$2 = current() ? `true` : void 0, _v$3 = label(i), _v$4 = CAROUSEL_CLASSES.thumbnail;
|
|
1950
|
+
_v$ !== _p$.e && setAttribute(_el$3, "data-current", _p$.e = _v$);
|
|
1951
|
+
_v$2 !== _p$.t && setAttribute(_el$3, "aria-current", _p$.t = _v$2);
|
|
1952
|
+
_v$3 !== _p$.a && setAttribute(_el$3, "aria-label", _p$.a = _v$3);
|
|
1953
|
+
_v$4 !== _p$.o && className(_el$3, _p$.o = _v$4);
|
|
1954
|
+
return _p$;
|
|
1955
|
+
}, {
|
|
1956
|
+
e: void 0,
|
|
1957
|
+
t: void 0,
|
|
1958
|
+
a: void 0,
|
|
1959
|
+
o: void 0
|
|
1960
|
+
});
|
|
1961
|
+
return _el$3;
|
|
1962
|
+
})();
|
|
1963
|
+
}
|
|
1964
|
+
}));
|
|
1965
|
+
return _el$2;
|
|
1966
|
+
})();
|
|
1967
|
+
}
|
|
1968
|
+
delegateEvents(["click"]);
|
|
1969
|
+
var _tmpl$$y = /* @__PURE__ */ template(`<span data-slot=checkbox-indicator>`), _tmpl$2$m = /* @__PURE__ */ template(`<button type=button role=checkbox data-slot=checkbox>`), _tmpl$3$h = /* @__PURE__ */ template(`<input type=checkbox aria-hidden=true tabindex=-1>`);
|
|
1876
1970
|
const isIndeterminate = (c) => c === `indeterminate`;
|
|
1877
1971
|
const stateOf = (c) => isIndeterminate(c) ? `indeterminate` : c ? `checked` : `unchecked`;
|
|
1878
1972
|
function Checkbox(props) {
|
|
@@ -1903,7 +1997,7 @@ function Checkbox(props) {
|
|
|
1903
1997
|
else if (Array.isArray(handler)) handler[0](handler[1], e);
|
|
1904
1998
|
};
|
|
1905
1999
|
return [(() => {
|
|
1906
|
-
var _el$ = _tmpl$2$
|
|
2000
|
+
var _el$ = _tmpl$2$m();
|
|
1907
2001
|
use((el) => {
|
|
1908
2002
|
setControl(el);
|
|
1909
2003
|
if (typeof local.ref === `function`) local.ref(el);
|
|
@@ -1951,7 +2045,7 @@ function Checkbox(props) {
|
|
|
1951
2045
|
return presence.mounted();
|
|
1952
2046
|
},
|
|
1953
2047
|
get children() {
|
|
1954
|
-
var _el$2 = _tmpl$$
|
|
2048
|
+
var _el$2 = _tmpl$$y();
|
|
1955
2049
|
var _ref$ = presence.ref;
|
|
1956
2050
|
typeof _ref$ === "function" ? use(_ref$, _el$2) : presence.ref = _el$2;
|
|
1957
2051
|
insert(_el$2, createComponent(PaintIcon, {
|
|
@@ -2034,7 +2128,7 @@ function CheckboxBubble(props) {
|
|
|
2034
2128
|
});
|
|
2035
2129
|
};
|
|
2036
2130
|
return (() => {
|
|
2037
|
-
var _el$3 = _tmpl$3$
|
|
2131
|
+
var _el$3 = _tmpl$3$h();
|
|
2038
2132
|
var _ref$2 = input;
|
|
2039
2133
|
typeof _ref$2 === "function" ? use(_ref$2, _el$3) : input = _el$3;
|
|
2040
2134
|
effect((_p$) => {
|
|
@@ -2059,7 +2153,7 @@ function CheckboxBubble(props) {
|
|
|
2059
2153
|
return _el$3;
|
|
2060
2154
|
})();
|
|
2061
2155
|
}
|
|
2062
|
-
var _tmpl$$
|
|
2156
|
+
var _tmpl$$x = /* @__PURE__ */ template(`<div>`), _tmpl$2$l = /* @__PURE__ */ template(`<span aria-hidden=true>`), _tmpl$3$g = /* @__PURE__ */ template(`<span>`), _tmpl$4$d = /* @__PURE__ */ template(`<button type=button><span>`), _tmpl$5$9 = /* @__PURE__ */ template(`<img loading=lazy decoding=async>`, true, false, false);
|
|
2063
2157
|
function ChoiceTilesFrame(props) {
|
|
2064
2158
|
const buttons = [];
|
|
2065
2159
|
const order = createMemo(() => props.options.map((o) => o.value));
|
|
@@ -2102,7 +2196,7 @@ function ChoiceTilesFrame(props) {
|
|
|
2102
2196
|
});
|
|
2103
2197
|
};
|
|
2104
2198
|
return (() => {
|
|
2105
|
-
var _el$ = _tmpl$$
|
|
2199
|
+
var _el$ = _tmpl$$x();
|
|
2106
2200
|
var _ref$ = props.rootRef;
|
|
2107
2201
|
typeof _ref$ === "function" ? use(_ref$, _el$) : props.rootRef = _el$;
|
|
2108
2202
|
spread(_el$, mergeProps({
|
|
@@ -2136,7 +2230,7 @@ function ChoiceTilesFrame(props) {
|
|
|
2136
2230
|
});
|
|
2137
2231
|
const description = o.description ? String(o.description) : ``;
|
|
2138
2232
|
return (() => {
|
|
2139
|
-
var _el$2 = _tmpl$4$
|
|
2233
|
+
var _el$2 = _tmpl$4$d(), _el$4 = _el$2.firstChild;
|
|
2140
2234
|
_el$2.$$keydown = (e) => onKeyDown(i, e);
|
|
2141
2235
|
_el$2.$$click = () => pick(i);
|
|
2142
2236
|
use((el) => {
|
|
@@ -2170,7 +2264,7 @@ function ChoiceTilesFrame(props) {
|
|
|
2170
2264
|
return pictures();
|
|
2171
2265
|
},
|
|
2172
2266
|
get children() {
|
|
2173
|
-
var _el$3 = _tmpl$2$
|
|
2267
|
+
var _el$3 = _tmpl$2$l();
|
|
2174
2268
|
spread(_el$3, mergeProps(() => props.pictureProps(state())), false, true);
|
|
2175
2269
|
insert(_el$3, () => props.renderPicture(o.image ? String(o.image) : null, state()));
|
|
2176
2270
|
return _el$3;
|
|
@@ -2181,7 +2275,7 @@ function ChoiceTilesFrame(props) {
|
|
|
2181
2275
|
insert(_el$2, createComponent(Show, {
|
|
2182
2276
|
when: description,
|
|
2183
2277
|
get children() {
|
|
2184
|
-
var _el$5 = _tmpl$3$
|
|
2278
|
+
var _el$5 = _tmpl$3$g();
|
|
2185
2279
|
spread(_el$5, mergeProps(() => props.descriptionProps(state())), false, true);
|
|
2186
2280
|
insert(_el$5, description);
|
|
2187
2281
|
return _el$5;
|
|
@@ -2199,7 +2293,7 @@ function ChoiceTiles(props) {
|
|
|
2199
2293
|
const multiple = () => props.multiple ?? false;
|
|
2200
2294
|
const picked = createMemo(() => choiceValues(props.value, multiple()));
|
|
2201
2295
|
const image = (src, label) => src ? props.renderImage ? props.renderImage(src, label) : (() => {
|
|
2202
|
-
var _el$6 = _tmpl$5$
|
|
2296
|
+
var _el$6 = _tmpl$5$9();
|
|
2203
2297
|
setAttribute(_el$6, "src", src);
|
|
2204
2298
|
setAttribute(_el$6, "alt", label);
|
|
2205
2299
|
effect(() => className(_el$6, CHOICE_TILES_CLASSES.image));
|
|
@@ -2260,12 +2354,12 @@ function ChoiceTiles(props) {
|
|
|
2260
2354
|
});
|
|
2261
2355
|
}
|
|
2262
2356
|
delegateEvents(["click", "keydown"]);
|
|
2263
|
-
var _tmpl$$
|
|
2357
|
+
var _tmpl$$w = /* @__PURE__ */ template(`<div data-slot=code-block>`), _tmpl$2$k = /* @__PURE__ */ template(`<div>`), _tmpl$3$f = /* @__PURE__ */ template(`<span aria-live=polite>`), _tmpl$4$c = /* @__PURE__ */ template(`<span>`), _tmpl$5$8 = /* @__PURE__ */ template(`<pre data-slot=code-block-content dir=ltr tabindex=0><code data-slot=code-block-code>`), _tmpl$6$6 = /* @__PURE__ */ template(`<span data-slot=code-block-line><span data-slot=code-block-line-content>`);
|
|
2264
2358
|
function CodeBlock(props) {
|
|
2265
2359
|
const [local, rest] = splitProps(props, [`class`, `variant`, `size`]);
|
|
2266
2360
|
const variant = () => local.variant ?? `default`;
|
|
2267
2361
|
return (() => {
|
|
2268
|
-
var _el$ = _tmpl$$
|
|
2362
|
+
var _el$ = _tmpl$$w();
|
|
2269
2363
|
spread(_el$, mergeProps({
|
|
2270
2364
|
get ["data-variant"]() {
|
|
2271
2365
|
return variant();
|
|
@@ -2285,7 +2379,7 @@ function CodeBlock(props) {
|
|
|
2285
2379
|
const slotPart = (slot, recipe) => function CodeBlockPart(props) {
|
|
2286
2380
|
const [local, rest] = splitProps(props, [`class`]);
|
|
2287
2381
|
return (() => {
|
|
2288
|
-
var _el$2 = _tmpl$2$
|
|
2382
|
+
var _el$2 = _tmpl$2$k();
|
|
2289
2383
|
setAttribute(_el$2, "data-slot", slot);
|
|
2290
2384
|
spread(_el$2, mergeProps({
|
|
2291
2385
|
get ["class"]() {
|
|
@@ -2357,7 +2451,7 @@ function CodeBlockCopyButton(props) {
|
|
|
2357
2451
|
});
|
|
2358
2452
|
}
|
|
2359
2453
|
})), (() => {
|
|
2360
|
-
var _el$3 = _tmpl$3$
|
|
2454
|
+
var _el$3 = _tmpl$3$f();
|
|
2361
2455
|
insert(_el$3, (() => {
|
|
2362
2456
|
var _c$ = memo(() => !!copied());
|
|
2363
2457
|
return () => _c$() ? labels().copied : ``;
|
|
@@ -2394,7 +2488,7 @@ function CodeBlockContent(props) {
|
|
|
2394
2488
|
return memo(() => tokens.length === 0)() ? null : createComponent(For, {
|
|
2395
2489
|
each: tokens,
|
|
2396
2490
|
children: (token) => (() => {
|
|
2397
|
-
var _el$4 = _tmpl$4$
|
|
2491
|
+
var _el$4 = _tmpl$4$c();
|
|
2398
2492
|
insert(_el$4, () => token.text);
|
|
2399
2493
|
effect((_p$) => {
|
|
2400
2494
|
var _v$ = token.kind, _v$2 = cn(CODE_TOKEN_CLASS[token.kind], CODE_BLOCK_CLASSES.token);
|
|
@@ -2424,7 +2518,7 @@ function CodeBlockContent(props) {
|
|
|
2424
2518
|
return resolved();
|
|
2425
2519
|
};
|
|
2426
2520
|
return (() => {
|
|
2427
|
-
var _el$5 = _tmpl$5$
|
|
2521
|
+
var _el$5 = _tmpl$5$8(), _el$6 = _el$5.firstChild;
|
|
2428
2522
|
spread(_el$5, mergeProps({
|
|
2429
2523
|
get ["data-wrap"]() {
|
|
2430
2524
|
return local.wrap || void 0;
|
|
@@ -2475,7 +2569,7 @@ function CodeBlockLine(props) {
|
|
|
2475
2569
|
return _el$7;
|
|
2476
2570
|
})();
|
|
2477
2571
|
}
|
|
2478
|
-
var _tmpl$$
|
|
2572
|
+
var _tmpl$$v = /* @__PURE__ */ template(`<div data-slot=collapsible>`), _tmpl$2$j = /* @__PURE__ */ template(`<button type=button data-slot=collapsible-trigger>`), _tmpl$3$e = /* @__PURE__ */ template(`<div data-slot=collapsible-content>`);
|
|
2479
2573
|
const CollapsibleContext = createContext();
|
|
2480
2574
|
const call$2 = (handler, e) => {
|
|
2481
2575
|
if (typeof handler === `function`) handler(e);
|
|
@@ -2499,7 +2593,7 @@ function Collapsible(props) {
|
|
|
2499
2593
|
return createComponent(CollapsibleContext.Provider, {
|
|
2500
2594
|
value: state,
|
|
2501
2595
|
get children() {
|
|
2502
|
-
var _el$ = _tmpl$$
|
|
2596
|
+
var _el$ = _tmpl$$v();
|
|
2503
2597
|
spread(_el$, mergeProps({
|
|
2504
2598
|
get ["data-state"]() {
|
|
2505
2599
|
return open() ? `open` : `closed`;
|
|
@@ -2516,7 +2610,7 @@ function CollapsibleTrigger(props) {
|
|
|
2516
2610
|
const ctx = useContext(CollapsibleContext);
|
|
2517
2611
|
const [local, rest] = splitProps(props, [`onClick`]);
|
|
2518
2612
|
return (() => {
|
|
2519
|
-
var _el$2 = _tmpl$2$
|
|
2613
|
+
var _el$2 = _tmpl$2$j();
|
|
2520
2614
|
spread(_el$2, mergeProps({
|
|
2521
2615
|
get ["aria-controls"]() {
|
|
2522
2616
|
return ctx.contentId;
|
|
@@ -2640,7 +2734,7 @@ function CollapsibleContent(props) {
|
|
|
2640
2734
|
};
|
|
2641
2735
|
};
|
|
2642
2736
|
return (() => {
|
|
2643
|
-
var _el$3 = _tmpl$3$
|
|
2737
|
+
var _el$3 = _tmpl$3$e();
|
|
2644
2738
|
use((el) => {
|
|
2645
2739
|
node2 = el;
|
|
2646
2740
|
if (typeof local.ref === `function`) local.ref(el);
|
|
@@ -2674,7 +2768,7 @@ function CollapsibleContent(props) {
|
|
|
2674
2768
|
return _el$3;
|
|
2675
2769
|
})();
|
|
2676
2770
|
}
|
|
2677
|
-
var _tmpl$$
|
|
2771
|
+
var _tmpl$$u = /* @__PURE__ */ template(`<div data-slot=command tabindex=-1><label data-slot=command-label>`), _tmpl$2$i = /* @__PURE__ */ template(`<button type=button data-slot=command-input-clear>`), _tmpl$3$d = /* @__PURE__ */ template(`<div data-slot=command-input-wrapper><input data-slot=command-input>`), _tmpl$4$b = /* @__PURE__ */ template(`<div data-slot=command-list><div data-slot=command-list-sizer>`), _tmpl$5$7 = /* @__PURE__ */ template(`<div data-slot=command-empty>`), _tmpl$6$5 = /* @__PURE__ */ template(`<div data-slot=command-group-heading aria-hidden=true>`), _tmpl$7$3 = /* @__PURE__ */ template(`<div data-slot=command-group><div data-slot=command-group-items role=group>`), _tmpl$8$3 = /* @__PURE__ */ template(`<div data-slot=command-item>`), _tmpl$9$2 = /* @__PURE__ */ template(`<div data-slot=command-separator>`), _tmpl$0$2 = /* @__PURE__ */ template(`<span data-slot=command-shortcut>`);
|
|
2678
2772
|
const CommandContext = createContext();
|
|
2679
2773
|
const GroupContext$1 = createContext();
|
|
2680
2774
|
function useRoot$1() {
|
|
@@ -2721,7 +2815,7 @@ function Command(props) {
|
|
|
2721
2815
|
labelId: createUniqueId()
|
|
2722
2816
|
};
|
|
2723
2817
|
return (() => {
|
|
2724
|
-
var _el$ = _tmpl$$
|
|
2818
|
+
var _el$ = _tmpl$$u(), _el$2 = _el$.firstChild;
|
|
2725
2819
|
spread(_el$, mergeProps({
|
|
2726
2820
|
get ["class"]() {
|
|
2727
2821
|
return cn(COMMAND_CLASSES.root, local.class);
|
|
@@ -2783,7 +2877,7 @@ function CommandInput(props) {
|
|
|
2783
2877
|
return store.selectedId;
|
|
2784
2878
|
};
|
|
2785
2879
|
return (() => {
|
|
2786
|
-
var _el$3 = _tmpl$3$
|
|
2880
|
+
var _el$3 = _tmpl$3$d(), _el$4 = _el$3.firstChild;
|
|
2787
2881
|
insert(_el$3, createComponent(PaintIcon, {
|
|
2788
2882
|
icon: Search,
|
|
2789
2883
|
get ["class"]() {
|
|
@@ -2826,7 +2920,7 @@ function CommandInput(props) {
|
|
|
2826
2920
|
return shown() !== ``;
|
|
2827
2921
|
},
|
|
2828
2922
|
get children() {
|
|
2829
|
-
var _el$5 = _tmpl$2$
|
|
2923
|
+
var _el$5 = _tmpl$2$i();
|
|
2830
2924
|
_el$5.$$click = () => {
|
|
2831
2925
|
change(``);
|
|
2832
2926
|
input?.focus();
|
|
@@ -2876,7 +2970,7 @@ function CommandList(props) {
|
|
|
2876
2970
|
return store.selectedId;
|
|
2877
2971
|
};
|
|
2878
2972
|
return (() => {
|
|
2879
|
-
var _el$6 = _tmpl$4$
|
|
2973
|
+
var _el$6 = _tmpl$4$b(), _el$7 = _el$6.firstChild;
|
|
2880
2974
|
var _ref$ = list;
|
|
2881
2975
|
typeof _ref$ === "function" ? use(_ref$, _el$6) : list = _el$6;
|
|
2882
2976
|
spread(_el$6, mergeProps({
|
|
@@ -2913,7 +3007,7 @@ function CommandEmpty(props) {
|
|
|
2913
3007
|
return track(), store.empty();
|
|
2914
3008
|
},
|
|
2915
3009
|
get children() {
|
|
2916
|
-
var _el$8 = _tmpl$5$
|
|
3010
|
+
var _el$8 = _tmpl$5$7();
|
|
2917
3011
|
spread(_el$8, mergeProps({
|
|
2918
3012
|
get ["class"]() {
|
|
2919
3013
|
return cn(COMMAND_CLASSES.empty, local.class);
|
|
@@ -3163,7 +3257,7 @@ function CommandShortcut(props) {
|
|
|
3163
3257
|
})();
|
|
3164
3258
|
}
|
|
3165
3259
|
delegateEvents(["click"]);
|
|
3166
|
-
var _tmpl$$
|
|
3260
|
+
var _tmpl$$t = /* @__PURE__ */ template(`<svg><circle fill=none stroke=currentColor stroke-linecap=round></svg>`, false, true, false), _tmpl$2$h = /* @__PURE__ */ template(`<svg aria-hidden=true><circle fill=none stroke=currentColor opacity=0.2>`);
|
|
3167
3261
|
function ContextRing(props) {
|
|
3168
3262
|
const [local, rest] = splitProps(props, [`percent`, `tone`, `showEmpty`, `class`]);
|
|
3169
3263
|
const value = () => local.percent ?? null;
|
|
@@ -3185,7 +3279,7 @@ function ContextRing(props) {
|
|
|
3185
3279
|
}
|
|
3186
3280
|
}, rest, {
|
|
3187
3281
|
get children() {
|
|
3188
|
-
var _el$ = _tmpl$2$
|
|
3282
|
+
var _el$ = _tmpl$2$h(), _el$2 = _el$.firstChild;
|
|
3189
3283
|
setAttribute(_el$, "viewBox", `0 0 ${RING_SIZE} ${RING_SIZE}`);
|
|
3190
3284
|
setAttribute(_el$, "width", RING_SIZE);
|
|
3191
3285
|
setAttribute(_el$, "height", RING_SIZE);
|
|
@@ -3198,7 +3292,7 @@ function ContextRing(props) {
|
|
|
3198
3292
|
return value() !== null;
|
|
3199
3293
|
},
|
|
3200
3294
|
get children() {
|
|
3201
|
-
var _el$3 = _tmpl$$
|
|
3295
|
+
var _el$3 = _tmpl$$t();
|
|
3202
3296
|
setAttribute(_el$3, "cx", RING_SIZE / 2);
|
|
3203
3297
|
setAttribute(_el$3, "cy", RING_SIZE / 2);
|
|
3204
3298
|
setAttribute(_el$3, "r", RING_RADIUS);
|
|
@@ -3222,7 +3316,7 @@ function ContextRing(props) {
|
|
|
3222
3316
|
}
|
|
3223
3317
|
});
|
|
3224
3318
|
}
|
|
3225
|
-
var _tmpl$$
|
|
3319
|
+
var _tmpl$$s = /* @__PURE__ */ template(`<div data-slot=sheet-grabber aria-hidden=true>`);
|
|
3226
3320
|
const SheetDragContext = createContext(null);
|
|
3227
3321
|
function SheetDragProvider(props) {
|
|
3228
3322
|
return createComponent(SheetDragContext.Provider, {
|
|
@@ -3241,7 +3335,7 @@ function SheetGrabber(props) {
|
|
|
3241
3335
|
const [local, rest] = splitProps(props, [`class`]);
|
|
3242
3336
|
const drag = createSheetDragHandleProps();
|
|
3243
3337
|
return (() => {
|
|
3244
|
-
var _el$ = _tmpl$$
|
|
3338
|
+
var _el$ = _tmpl$$s();
|
|
3245
3339
|
spread(_el$, mergeProps(drag ?? {}, rest, {
|
|
3246
3340
|
get ["class"]() {
|
|
3247
3341
|
return cn(SHEET_CHROME_CLASSES.grabber, local.class);
|
|
@@ -3338,7 +3432,7 @@ function createSheetDrag(opts) {
|
|
|
3338
3432
|
};
|
|
3339
3433
|
return { handleProps };
|
|
3340
3434
|
}
|
|
3341
|
-
var _tmpl$$
|
|
3435
|
+
var _tmpl$$r = /* @__PURE__ */ template(`<span>Close`), _tmpl$2$g = /* @__PURE__ */ template(`<div data-slot=sheet-header>`), _tmpl$3$c = /* @__PURE__ */ template(`<div data-slot=sheet-footer>`);
|
|
3342
3436
|
function Sheet(props) {
|
|
3343
3437
|
return createComponent(DialogRoot, props);
|
|
3344
3438
|
}
|
|
@@ -3448,7 +3542,7 @@ function SheetContent(props) {
|
|
|
3448
3542
|
return SHEET_CLASSES.closeIcon;
|
|
3449
3543
|
}
|
|
3450
3544
|
}), (() => {
|
|
3451
|
-
var _el$ = _tmpl$$
|
|
3545
|
+
var _el$ = _tmpl$$r();
|
|
3452
3546
|
effect(() => className(_el$, SHEET_CLASSES.srOnly));
|
|
3453
3547
|
return _el$;
|
|
3454
3548
|
})()];
|
|
@@ -3467,7 +3561,7 @@ function SheetHeader(props) {
|
|
|
3467
3561
|
const [local, rest] = splitProps(props, [`class`]);
|
|
3468
3562
|
const drag = createSheetDragHandleProps();
|
|
3469
3563
|
return (() => {
|
|
3470
|
-
var _el$2 = _tmpl$2$
|
|
3564
|
+
var _el$2 = _tmpl$2$g();
|
|
3471
3565
|
spread(_el$2, mergeProps(drag ?? {}, {
|
|
3472
3566
|
get ["class"]() {
|
|
3473
3567
|
return cn(SHEET_CLASSES.header, local.class);
|
|
@@ -3479,7 +3573,7 @@ function SheetHeader(props) {
|
|
|
3479
3573
|
function SheetFooter(props) {
|
|
3480
3574
|
const [local, rest] = splitProps(props, [`class`]);
|
|
3481
3575
|
return (() => {
|
|
3482
|
-
var _el$3 = _tmpl$3$
|
|
3576
|
+
var _el$3 = _tmpl$3$c();
|
|
3483
3577
|
spread(_el$3, mergeProps({
|
|
3484
3578
|
get ["class"]() {
|
|
3485
3579
|
return cn(SHEET_CLASSES.footer, local.class);
|
|
@@ -3506,7 +3600,7 @@ function SheetDescription(props) {
|
|
|
3506
3600
|
}
|
|
3507
3601
|
}, rest));
|
|
3508
3602
|
}
|
|
3509
|
-
var _tmpl$$
|
|
3603
|
+
var _tmpl$$q = /* @__PURE__ */ template(`<span>Close`), _tmpl$2$f = /* @__PURE__ */ template(`<div data-slot=dialog-header>`), _tmpl$3$b = /* @__PURE__ */ template(`<div data-slot=dialog-body>`), _tmpl$4$a = /* @__PURE__ */ template(`<div data-slot=dialog-footer>`);
|
|
3510
3604
|
function Dialog(props) {
|
|
3511
3605
|
return createComponent(DialogRoot, props);
|
|
3512
3606
|
}
|
|
@@ -3626,7 +3720,7 @@ function DialogContent(props) {
|
|
|
3626
3720
|
return [createComponent(PaintIcon, {
|
|
3627
3721
|
icon: X
|
|
3628
3722
|
}), (() => {
|
|
3629
|
-
var _el$ = _tmpl$$
|
|
3723
|
+
var _el$ = _tmpl$$q();
|
|
3630
3724
|
effect(() => className(_el$, DIALOG_CLASSES.srOnly));
|
|
3631
3725
|
return _el$;
|
|
3632
3726
|
})()];
|
|
@@ -3679,7 +3773,7 @@ function DialogHeader(props) {
|
|
|
3679
3773
|
const [local, rest] = splitProps(props, [`class`]);
|
|
3680
3774
|
const drag = createSheetDragHandleProps();
|
|
3681
3775
|
return (() => {
|
|
3682
|
-
var _el$2 = _tmpl$2$
|
|
3776
|
+
var _el$2 = _tmpl$2$f();
|
|
3683
3777
|
spread(_el$2, mergeProps(drag ?? {}, {
|
|
3684
3778
|
get ["class"]() {
|
|
3685
3779
|
return cn(DIALOG_CLASSES.header, local.class);
|
|
@@ -3691,7 +3785,7 @@ function DialogHeader(props) {
|
|
|
3691
3785
|
function DialogBody(props) {
|
|
3692
3786
|
const [local, rest] = splitProps(props, [`class`]);
|
|
3693
3787
|
return (() => {
|
|
3694
|
-
var _el$3 = _tmpl$3$
|
|
3788
|
+
var _el$3 = _tmpl$3$b();
|
|
3695
3789
|
spread(_el$3, mergeProps({
|
|
3696
3790
|
get ["class"]() {
|
|
3697
3791
|
return cn(DIALOG_CLASSES.body, local.class);
|
|
@@ -3703,7 +3797,7 @@ function DialogBody(props) {
|
|
|
3703
3797
|
function DialogFooter(props) {
|
|
3704
3798
|
const [local, rest] = splitProps(props, [`class`]);
|
|
3705
3799
|
return (() => {
|
|
3706
|
-
var _el$4 = _tmpl$4$
|
|
3800
|
+
var _el$4 = _tmpl$4$a();
|
|
3707
3801
|
spread(_el$4, mergeProps({
|
|
3708
3802
|
get ["class"]() {
|
|
3709
3803
|
return cn(DIALOG_CLASSES.footer, local.class);
|
|
@@ -3748,7 +3842,7 @@ function DialogDescription(props) {
|
|
|
3748
3842
|
}
|
|
3749
3843
|
}, rest));
|
|
3750
3844
|
}
|
|
3751
|
-
var _tmpl$$
|
|
3845
|
+
var _tmpl$$p = /* @__PURE__ */ template(`<button type=button data-slot=disclosure-header>`);
|
|
3752
3846
|
function DisclosureHeader(props) {
|
|
3753
3847
|
const [local, rest] = splitProps(props, [`open`, `onToggle`, `chevron`, `class`, `children`]);
|
|
3754
3848
|
const chevron = () => local.chevron ?? `leading`;
|
|
@@ -3762,7 +3856,7 @@ function DisclosureHeader(props) {
|
|
|
3762
3856
|
}
|
|
3763
3857
|
});
|
|
3764
3858
|
return (() => {
|
|
3765
|
-
var _el$ = _tmpl$$
|
|
3859
|
+
var _el$ = _tmpl$$p();
|
|
3766
3860
|
_el$.$$click = () => local.onToggle();
|
|
3767
3861
|
spread(_el$, mergeProps({
|
|
3768
3862
|
get ["data-chevron"]() {
|
|
@@ -3788,14 +3882,14 @@ function DisclosureHeader(props) {
|
|
|
3788
3882
|
})();
|
|
3789
3883
|
}
|
|
3790
3884
|
delegateEvents(["click"]);
|
|
3791
|
-
var _tmpl$$
|
|
3885
|
+
var _tmpl$$o = /* @__PURE__ */ template(`<span data-slot=dock-card-caption>`), _tmpl$2$e = /* @__PURE__ */ template(`<span data-slot=dock-card-meta>`), _tmpl$3$a = /* @__PURE__ */ template(`<div data-slot=dock-card><div data-slot=dock-card-body><div><div><span data-slot=dock-card-label></span></div><div><span data-slot=dock-card-title>`), _tmpl$4$9 = /* @__PURE__ */ template(`<span data-slot=dock-card-trailing>`), _tmpl$5$6 = /* @__PURE__ */ template(`<div data-slot=dock-pile>`), _tmpl$6$4 = /* @__PURE__ */ template(`<div data-slot=dock-pile-item>`);
|
|
3792
3886
|
function DockCard(props) {
|
|
3793
3887
|
const [local, rest] = splitProps(props, [`tint`, `icon`, `label`, `caption`, `meta`, `title`, `onOpen`, `trailing`, `hidden`, `openLabel`, `class`]);
|
|
3794
3888
|
const tint = () => local.tint ?? `muted`;
|
|
3795
3889
|
const pressable = () => local.onOpen !== void 0;
|
|
3796
3890
|
const has = (value) => value !== void 0 && value !== null;
|
|
3797
3891
|
return (() => {
|
|
3798
|
-
var _el$ = _tmpl$3$
|
|
3892
|
+
var _el$ = _tmpl$3$a(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.firstChild, _el$5 = _el$4.firstChild, _el$8 = _el$4.nextSibling, _el$9 = _el$8.firstChild;
|
|
3799
3893
|
_el$.$$keydown = (event) => {
|
|
3800
3894
|
if (!pressable() || event.defaultPrevented) return;
|
|
3801
3895
|
if (event.key === `Enter` || event.key === ` `) {
|
|
@@ -3842,7 +3936,7 @@ function DockCard(props) {
|
|
|
3842
3936
|
return has(local.caption);
|
|
3843
3937
|
},
|
|
3844
3938
|
get children() {
|
|
3845
|
-
var _el$6 = _tmpl$$
|
|
3939
|
+
var _el$6 = _tmpl$$o();
|
|
3846
3940
|
insert(_el$6, () => local.caption);
|
|
3847
3941
|
effect(() => className(_el$6, DOCK_CARD_CLASSES.caption));
|
|
3848
3942
|
return _el$6;
|
|
@@ -3853,7 +3947,7 @@ function DockCard(props) {
|
|
|
3853
3947
|
return has(local.meta);
|
|
3854
3948
|
},
|
|
3855
3949
|
get children() {
|
|
3856
|
-
var _el$7 = _tmpl$2$
|
|
3950
|
+
var _el$7 = _tmpl$2$e();
|
|
3857
3951
|
insert(_el$7, () => local.meta);
|
|
3858
3952
|
effect(() => className(_el$7, DOCK_CARD_CLASSES.meta));
|
|
3859
3953
|
return _el$7;
|
|
@@ -3870,7 +3964,7 @@ function DockCard(props) {
|
|
|
3870
3964
|
return has(local.trailing);
|
|
3871
3965
|
},
|
|
3872
3966
|
get children() {
|
|
3873
|
-
var _el$0 = _tmpl$4$
|
|
3967
|
+
var _el$0 = _tmpl$4$9();
|
|
3874
3968
|
insert(_el$0, () => local.trailing);
|
|
3875
3969
|
effect(() => className(_el$0, DOCK_CARD_CLASSES.trailing));
|
|
3876
3970
|
return _el$0;
|
|
@@ -3933,7 +4027,7 @@ function DockPile(props) {
|
|
|
3933
4027
|
});
|
|
3934
4028
|
const geometry = createMemo(() => dockPileGeometry(local.items.map((item) => item.height ?? measured()[item.id] ?? 0), local.expanded));
|
|
3935
4029
|
return (() => {
|
|
3936
|
-
var _el$1 = _tmpl$5$
|
|
4030
|
+
var _el$1 = _tmpl$5$6();
|
|
3937
4031
|
_el$1.$$focusout = (event) => {
|
|
3938
4032
|
const next = event.relatedTarget;
|
|
3939
4033
|
if (!next || !event.currentTarget.contains(next)) local.onExpandedChange?.(false);
|
|
@@ -4002,7 +4096,7 @@ function DockPile(props) {
|
|
|
4002
4096
|
})();
|
|
4003
4097
|
}
|
|
4004
4098
|
delegateEvents(["click", "keydown", "focusin", "focusout"]);
|
|
4005
|
-
var _tmpl$$
|
|
4099
|
+
var _tmpl$$n = /* @__PURE__ */ template(`<div role=group data-slot=dropdown-menu-group>`), _tmpl$2$d = /* @__PURE__ */ template(`<div role=menuitem>`), _tmpl$3$9 = /* @__PURE__ */ template(`<span>`), _tmpl$4$8 = /* @__PURE__ */ template(`<div role=menuitemcheckbox><span>`), _tmpl$5$5 = /* @__PURE__ */ template(`<div role=group data-slot=dropdown-menu-radio-group>`), _tmpl$6$3 = /* @__PURE__ */ template(`<div role=menuitemradio><span>`), _tmpl$7$2 = /* @__PURE__ */ template(`<div data-slot=dropdown-menu-label>`), _tmpl$8$2 = /* @__PURE__ */ template(`<div role=separator aria-orientation=horizontal data-slot=dropdown-menu-separator>`), _tmpl$9$1 = /* @__PURE__ */ template(`<span data-slot=dropdown-menu-shortcut>`), _tmpl$0$1 = /* @__PURE__ */ template(`<div role=menuitem aria-haspopup=menu>`);
|
|
4006
4100
|
const RootContext = createContext();
|
|
4007
4101
|
const useRoot = (part2) => {
|
|
4008
4102
|
const ctx = useContext(RootContext);
|
|
@@ -4191,7 +4285,7 @@ function DropdownMenuContent(props) {
|
|
|
4191
4285
|
}
|
|
4192
4286
|
function DropdownMenuGroup(props) {
|
|
4193
4287
|
return (() => {
|
|
4194
|
-
var _el$ = _tmpl$$
|
|
4288
|
+
var _el$ = _tmpl$$n();
|
|
4195
4289
|
spread(_el$, props, false, false);
|
|
4196
4290
|
return _el$;
|
|
4197
4291
|
})();
|
|
@@ -4221,7 +4315,7 @@ function DropdownMenuItem(props) {
|
|
|
4221
4315
|
const [local, handlers, rest] = splitProps(props, [`class`, `inset`, `variant`], ITEM_KEYS);
|
|
4222
4316
|
const item = createItem(handlers, (e) => handlers.onSelect?.(e));
|
|
4223
4317
|
return (() => {
|
|
4224
|
-
var _el$2 = _tmpl$2$
|
|
4318
|
+
var _el$2 = _tmpl$2$d();
|
|
4225
4319
|
var _ref$2 = item.ref;
|
|
4226
4320
|
typeof _ref$2 === "function" ? use(_ref$2, _el$2) : item.ref = _el$2;
|
|
4227
4321
|
spread(_el$2, mergeProps(() => item.attrs(), {
|
|
@@ -4248,7 +4342,7 @@ function ItemIndicator(props) {
|
|
|
4248
4342
|
return checked() === true || checked() === `indeterminate`;
|
|
4249
4343
|
},
|
|
4250
4344
|
get children() {
|
|
4251
|
-
var _el$3 = _tmpl$3$
|
|
4345
|
+
var _el$3 = _tmpl$3$9();
|
|
4252
4346
|
insert(_el$3, () => props.children);
|
|
4253
4347
|
effect(() => setAttribute(_el$3, "data-state", checkedState(checked())));
|
|
4254
4348
|
return _el$3;
|
|
@@ -4266,7 +4360,7 @@ function DropdownMenuCheckboxItem(props) {
|
|
|
4266
4360
|
return createComponent(IndicatorContext.Provider, {
|
|
4267
4361
|
value: checked,
|
|
4268
4362
|
get children() {
|
|
4269
|
-
var _el$4 = _tmpl$4$
|
|
4363
|
+
var _el$4 = _tmpl$4$8(), _el$5 = _el$4.firstChild;
|
|
4270
4364
|
var _ref$3 = item.ref;
|
|
4271
4365
|
typeof _ref$3 === "function" ? use(_ref$3, _el$4) : item.ref = _el$4;
|
|
4272
4366
|
spread(_el$4, mergeProps({
|
|
@@ -4312,7 +4406,7 @@ function DropdownMenuRadioGroup(props) {
|
|
|
4312
4406
|
onValueChange: (v) => local.onValueChange?.(v)
|
|
4313
4407
|
},
|
|
4314
4408
|
get children() {
|
|
4315
|
-
var _el$6 = _tmpl$5$
|
|
4409
|
+
var _el$6 = _tmpl$5$5();
|
|
4316
4410
|
spread(_el$6, rest, false, false);
|
|
4317
4411
|
return _el$6;
|
|
4318
4412
|
}
|
|
@@ -4673,14 +4767,14 @@ function DropdownMenuSubContent(props) {
|
|
|
4673
4767
|
}
|
|
4674
4768
|
});
|
|
4675
4769
|
}
|
|
4676
|
-
var _tmpl$$
|
|
4770
|
+
var _tmpl$$m = /* @__PURE__ */ template(`<div data-slot=icon-disc>`);
|
|
4677
4771
|
const LUCIDE_STROKE = 2;
|
|
4678
4772
|
const UNFOCUSABLE$1 = {
|
|
4679
4773
|
focusable: `false`
|
|
4680
4774
|
};
|
|
4681
4775
|
function IconDisc(props) {
|
|
4682
4776
|
return (() => {
|
|
4683
|
-
var _el$ = _tmpl$$
|
|
4777
|
+
var _el$ = _tmpl$$m();
|
|
4684
4778
|
insert(_el$, createComponent(PaintIcon, mergeProps({
|
|
4685
4779
|
get icon() {
|
|
4686
4780
|
return props.icon;
|
|
@@ -4697,7 +4791,7 @@ function IconDisc(props) {
|
|
|
4697
4791
|
return _el$;
|
|
4698
4792
|
})();
|
|
4699
4793
|
}
|
|
4700
|
-
var _tmpl$$
|
|
4794
|
+
var _tmpl$$l = /* @__PURE__ */ template(`<p>`), _tmpl$2$c = /* @__PURE__ */ template(`<div>`), _tmpl$3$8 = /* @__PURE__ */ template(`<div data-slot=empty-state data-size=page role=status><h2>`), _tmpl$4$7 = /* @__PURE__ */ template(`<div data-slot=empty-state data-size=list role=status><span>`), _tmpl$5$4 = /* @__PURE__ */ template(`<p data-slot=list-empty role=status>`), _tmpl$6$2 = /* @__PURE__ */ template(`<button data-slot=empty-cta><span></span><span>`);
|
|
4701
4795
|
const UNFOCUSABLE = {
|
|
4702
4796
|
focusable: `false`
|
|
4703
4797
|
};
|
|
@@ -4709,7 +4803,7 @@ function EmptyState(props) {
|
|
|
4709
4803
|
},
|
|
4710
4804
|
get fallback() {
|
|
4711
4805
|
return (() => {
|
|
4712
|
-
var _el$5 = _tmpl$4$
|
|
4806
|
+
var _el$5 = _tmpl$4$7(), _el$6 = _el$5.firstChild;
|
|
4713
4807
|
insert(_el$5, createComponent(Show, {
|
|
4714
4808
|
get when() {
|
|
4715
4809
|
return props.icon;
|
|
@@ -4731,7 +4825,7 @@ function EmptyState(props) {
|
|
|
4731
4825
|
})();
|
|
4732
4826
|
},
|
|
4733
4827
|
get children() {
|
|
4734
|
-
var _el$ = _tmpl$3$
|
|
4828
|
+
var _el$ = _tmpl$3$8(), _el$2 = _el$.firstChild;
|
|
4735
4829
|
insert(_el$, createComponent(Show, {
|
|
4736
4830
|
get when() {
|
|
4737
4831
|
return props.icon;
|
|
@@ -4748,7 +4842,7 @@ function EmptyState(props) {
|
|
|
4748
4842
|
return props.description;
|
|
4749
4843
|
},
|
|
4750
4844
|
get children() {
|
|
4751
|
-
var _el$3 = _tmpl$$
|
|
4845
|
+
var _el$3 = _tmpl$$l();
|
|
4752
4846
|
insert(_el$3, () => props.description);
|
|
4753
4847
|
effect(() => className(_el$3, EMPTY_STATE_CLASSES.pageDescription));
|
|
4754
4848
|
return _el$3;
|
|
@@ -4759,7 +4853,7 @@ function EmptyState(props) {
|
|
|
4759
4853
|
return actions();
|
|
4760
4854
|
},
|
|
4761
4855
|
get children() {
|
|
4762
|
-
var _el$4 = _tmpl$2$
|
|
4856
|
+
var _el$4 = _tmpl$2$c();
|
|
4763
4857
|
insert(_el$4, actions);
|
|
4764
4858
|
effect(() => className(_el$4, EMPTY_STATE_CLASSES.pageActions));
|
|
4765
4859
|
return _el$4;
|
|
@@ -4781,7 +4875,7 @@ function EmptyState(props) {
|
|
|
4781
4875
|
function ListEmpty(props) {
|
|
4782
4876
|
const [local, rest] = splitProps(props, [`class`, `children`]);
|
|
4783
4877
|
return (() => {
|
|
4784
|
-
var _el$7 = _tmpl$5$
|
|
4878
|
+
var _el$7 = _tmpl$5$4();
|
|
4785
4879
|
spread(_el$7, mergeProps({
|
|
4786
4880
|
get ["class"]() {
|
|
4787
4881
|
return cn(EMPTY_STATE_CLASSES.listEmpty, local.class);
|
|
@@ -4825,11 +4919,11 @@ function EmptyCta(props) {
|
|
|
4825
4919
|
return _el$8;
|
|
4826
4920
|
})();
|
|
4827
4921
|
}
|
|
4828
|
-
var _tmpl$$
|
|
4922
|
+
var _tmpl$$k = /* @__PURE__ */ template(`<div data-slot=glass-card>`);
|
|
4829
4923
|
function GlassCard(props) {
|
|
4830
4924
|
const [local, rest] = splitProps(props, [`class`]);
|
|
4831
4925
|
return (() => {
|
|
4832
|
-
var _el$ = _tmpl$$
|
|
4926
|
+
var _el$ = _tmpl$$k();
|
|
4833
4927
|
spread(_el$, mergeProps({
|
|
4834
4928
|
get ["class"]() {
|
|
4835
4929
|
return cn(GLASS_CARD_CLASSES.root, local.class);
|
|
@@ -4838,7 +4932,7 @@ function GlassCard(props) {
|
|
|
4838
4932
|
return _el$;
|
|
4839
4933
|
})();
|
|
4840
4934
|
}
|
|
4841
|
-
var _tmpl$$
|
|
4935
|
+
var _tmpl$$j = /* @__PURE__ */ template(`<div data-slot=hover-card-content>`);
|
|
4842
4936
|
const HoverCardContext = createContext();
|
|
4843
4937
|
const useHoverCard = (part2) => {
|
|
4844
4938
|
const ctx = useContext(HoverCardContext);
|
|
@@ -4968,7 +5062,7 @@ function HoverCardContent(props) {
|
|
|
4968
5062
|
},
|
|
4969
5063
|
children: (popper) => {
|
|
4970
5064
|
const el = (() => {
|
|
4971
|
-
var _el$ = _tmpl$$
|
|
5065
|
+
var _el$ = _tmpl$$j();
|
|
4972
5066
|
spread(_el$, mergeProps({
|
|
4973
5067
|
get ["data-side"]() {
|
|
4974
5068
|
return popper.placedSide();
|
|
@@ -5071,12 +5165,12 @@ function HoverCardContent(props) {
|
|
|
5071
5165
|
}
|
|
5072
5166
|
});
|
|
5073
5167
|
}
|
|
5074
|
-
var _tmpl$$
|
|
5168
|
+
var _tmpl$$i = /* @__PURE__ */ template(`<input data-slot=input>`);
|
|
5075
5169
|
function Input(props) {
|
|
5076
5170
|
const [local, rest] = splitProps(props, [`class`]);
|
|
5077
5171
|
const valueAttr = () => props.value === void 0 || props.value === null ? void 0 : String(props.value);
|
|
5078
5172
|
return (() => {
|
|
5079
|
-
var _el$ = _tmpl$$
|
|
5173
|
+
var _el$ = _tmpl$$i();
|
|
5080
5174
|
spread(_el$, mergeProps({
|
|
5081
5175
|
get ["class"]() {
|
|
5082
5176
|
return cn(INPUT_CLASSES.root, local.class);
|
|
@@ -5086,11 +5180,11 @@ function Input(props) {
|
|
|
5086
5180
|
return _el$;
|
|
5087
5181
|
})();
|
|
5088
5182
|
}
|
|
5089
|
-
var _tmpl$$
|
|
5183
|
+
var _tmpl$$h = /* @__PURE__ */ template(`<kbd data-slot=kbd>`), _tmpl$2$b = /* @__PURE__ */ template(`<span data-slot=kbd-group>`);
|
|
5090
5184
|
function Kbd(props) {
|
|
5091
5185
|
const [local, rest] = splitProps(props, [`class`]);
|
|
5092
5186
|
return (() => {
|
|
5093
|
-
var _el$ = _tmpl$$
|
|
5187
|
+
var _el$ = _tmpl$$h();
|
|
5094
5188
|
spread(_el$, mergeProps({
|
|
5095
5189
|
get ["class"]() {
|
|
5096
5190
|
return cn(KBD_CLASSES.root, local.class);
|
|
@@ -5102,7 +5196,7 @@ function Kbd(props) {
|
|
|
5102
5196
|
function KbdGroup(props) {
|
|
5103
5197
|
const [local, rest] = splitProps(props, [`class`]);
|
|
5104
5198
|
return (() => {
|
|
5105
|
-
var _el$2 = _tmpl$2$
|
|
5199
|
+
var _el$2 = _tmpl$2$b();
|
|
5106
5200
|
spread(_el$2, mergeProps({
|
|
5107
5201
|
get ["class"]() {
|
|
5108
5202
|
return cn(KBD_CLASSES.group, local.class);
|
|
@@ -5111,7 +5205,7 @@ function KbdGroup(props) {
|
|
|
5111
5205
|
return _el$2;
|
|
5112
5206
|
})();
|
|
5113
5207
|
}
|
|
5114
|
-
var _tmpl$$
|
|
5208
|
+
var _tmpl$$g = /* @__PURE__ */ template(`<label data-slot=label>`);
|
|
5115
5209
|
function Label(props) {
|
|
5116
5210
|
const [local, rest] = splitProps(props, [`class`, `onMouseDown`]);
|
|
5117
5211
|
const onMouseDown = (event) => {
|
|
@@ -5122,7 +5216,7 @@ function Label(props) {
|
|
|
5122
5216
|
if (!event.defaultPrevented && event.detail > 1) event.preventDefault();
|
|
5123
5217
|
};
|
|
5124
5218
|
return (() => {
|
|
5125
|
-
var _el$ = _tmpl$$
|
|
5219
|
+
var _el$ = _tmpl$$g();
|
|
5126
5220
|
spread(_el$, mergeProps({
|
|
5127
5221
|
get ["class"]() {
|
|
5128
5222
|
return cn(LABEL_CLASSES.root, local.class);
|
|
@@ -5133,7 +5227,7 @@ function Label(props) {
|
|
|
5133
5227
|
return _el$;
|
|
5134
5228
|
})();
|
|
5135
5229
|
}
|
|
5136
|
-
var _tmpl$$
|
|
5230
|
+
var _tmpl$$f = /* @__PURE__ */ template(`<div aria-valuemin=0 role=progressbar data-slot=progress><div data-slot=progress-indicator>`);
|
|
5137
5231
|
const isNumber = (v) => typeof v === `number`;
|
|
5138
5232
|
const validMax = (max) => isNumber(max) && !Number.isNaN(max) && max > 0;
|
|
5139
5233
|
const validValue = (value, max) => isNumber(value) && !Number.isNaN(value) && value <= max && value >= 0;
|
|
@@ -5148,7 +5242,7 @@ function Progress(props) {
|
|
|
5148
5242
|
};
|
|
5149
5243
|
const indeterminate = () => local.value === null || local.value === void 0;
|
|
5150
5244
|
return (() => {
|
|
5151
|
-
var _el$ = _tmpl$$
|
|
5245
|
+
var _el$ = _tmpl$$f(), _el$2 = _el$.firstChild;
|
|
5152
5246
|
spread(_el$, mergeProps({
|
|
5153
5247
|
get ["aria-valuemax"]() {
|
|
5154
5248
|
return max();
|
|
@@ -5208,6 +5302,176 @@ function Meter(props) {
|
|
|
5208
5302
|
}
|
|
5209
5303
|
}, rest));
|
|
5210
5304
|
}
|
|
5305
|
+
var _tmpl$$e = /* @__PURE__ */ template(`<span aria-hidden=true>`), _tmpl$2$a = /* @__PURE__ */ template(`<button type=button data-slot=mosaic-tile><img alt aria-hidden=true loading=lazy decoding=async>`, true, false, false), _tmpl$3$7 = /* @__PURE__ */ template(`<div data-slot=mosaic-side>`), _tmpl$4$6 = /* @__PURE__ */ template(`<div data-slot=mosaic role=group>`);
|
|
5306
|
+
function Mosaic(props) {
|
|
5307
|
+
const [local, rest] = splitProps(props, [`pictures`, `label`, `onSelect`, `class`]);
|
|
5308
|
+
const tiles = () => mosaicTiles(local.pictures.length);
|
|
5309
|
+
const Tile = (p) => {
|
|
5310
|
+
const picture = () => local.pictures[p.tile.index];
|
|
5311
|
+
const alt = () => picture().alt ?? ``;
|
|
5312
|
+
return (() => {
|
|
5313
|
+
var _el$ = _tmpl$2$a(), _el$2 = _el$.firstChild;
|
|
5314
|
+
_el$.$$click = () => local.onSelect?.(p.tile.index);
|
|
5315
|
+
setAttribute(_el$2, "draggable", false);
|
|
5316
|
+
insert(_el$, createComponent(Show, {
|
|
5317
|
+
get when() {
|
|
5318
|
+
return p.tile.more > 0;
|
|
5319
|
+
},
|
|
5320
|
+
get children() {
|
|
5321
|
+
var _el$3 = _tmpl$$e();
|
|
5322
|
+
insert(_el$3, () => `+${p.tile.more}`);
|
|
5323
|
+
effect(() => className(_el$3, MOSAIC_CLASSES.more));
|
|
5324
|
+
return _el$3;
|
|
5325
|
+
}
|
|
5326
|
+
}), null);
|
|
5327
|
+
effect((_p$) => {
|
|
5328
|
+
var _v$ = p.tile.size, _v$2 = p.tile.more > 0 ? `${alt()}, ${p.tile.more} more` : alt() || void 0, _v$3 = cn(MOSAIC_CLASSES.tile, p.lead ? MOSAIC_CLASSES.lead : MOSAIC_CLASSES.fill), _v$4 = picture().src, _v$5 = MOSAIC_CLASSES.image;
|
|
5329
|
+
_v$ !== _p$.e && setAttribute(_el$, "data-size", _p$.e = _v$);
|
|
5330
|
+
_v$2 !== _p$.t && setAttribute(_el$, "aria-label", _p$.t = _v$2);
|
|
5331
|
+
_v$3 !== _p$.a && className(_el$, _p$.a = _v$3);
|
|
5332
|
+
_v$4 !== _p$.o && setAttribute(_el$2, "src", _p$.o = _v$4);
|
|
5333
|
+
_v$5 !== _p$.i && className(_el$2, _p$.i = _v$5);
|
|
5334
|
+
return _p$;
|
|
5335
|
+
}, {
|
|
5336
|
+
e: void 0,
|
|
5337
|
+
t: void 0,
|
|
5338
|
+
a: void 0,
|
|
5339
|
+
o: void 0,
|
|
5340
|
+
i: void 0
|
|
5341
|
+
});
|
|
5342
|
+
return _el$;
|
|
5343
|
+
})();
|
|
5344
|
+
};
|
|
5345
|
+
return (() => {
|
|
5346
|
+
var _el$4 = _tmpl$4$6();
|
|
5347
|
+
spread(_el$4, mergeProps({
|
|
5348
|
+
get ["aria-label"]() {
|
|
5349
|
+
return local.label || void 0;
|
|
5350
|
+
},
|
|
5351
|
+
get ["class"]() {
|
|
5352
|
+
return cn(MOSAIC_CLASSES.root, local.class);
|
|
5353
|
+
}
|
|
5354
|
+
}, rest), false, true);
|
|
5355
|
+
insert(_el$4, createComponent(Show, {
|
|
5356
|
+
get when() {
|
|
5357
|
+
return tiles().length >= 3;
|
|
5358
|
+
},
|
|
5359
|
+
get fallback() {
|
|
5360
|
+
return createComponent(For, {
|
|
5361
|
+
get each() {
|
|
5362
|
+
return tiles();
|
|
5363
|
+
},
|
|
5364
|
+
children: (t) => createComponent(Tile, {
|
|
5365
|
+
tile: t,
|
|
5366
|
+
lead: false
|
|
5367
|
+
})
|
|
5368
|
+
});
|
|
5369
|
+
},
|
|
5370
|
+
get children() {
|
|
5371
|
+
return [createComponent(Tile, {
|
|
5372
|
+
get tile() {
|
|
5373
|
+
return tiles()[0];
|
|
5374
|
+
},
|
|
5375
|
+
lead: true
|
|
5376
|
+
}), (() => {
|
|
5377
|
+
var _el$5 = _tmpl$3$7();
|
|
5378
|
+
insert(_el$5, createComponent(For, {
|
|
5379
|
+
get each() {
|
|
5380
|
+
return tiles().slice(1);
|
|
5381
|
+
},
|
|
5382
|
+
children: (t) => createComponent(Tile, {
|
|
5383
|
+
tile: t,
|
|
5384
|
+
lead: false
|
|
5385
|
+
})
|
|
5386
|
+
}));
|
|
5387
|
+
effect(() => className(_el$5, MOSAIC_CLASSES.side));
|
|
5388
|
+
return _el$5;
|
|
5389
|
+
})()];
|
|
5390
|
+
}
|
|
5391
|
+
}));
|
|
5392
|
+
return _el$4;
|
|
5393
|
+
})();
|
|
5394
|
+
}
|
|
5395
|
+
delegateEvents(["click"]);
|
|
5396
|
+
var _tmpl$$d = /* @__PURE__ */ template(`<div data-slot=outline-caption aria-hidden=true>`), _tmpl$2$9 = /* @__PURE__ */ template(`<nav data-slot=outline>`), _tmpl$3$6 = /* @__PURE__ */ template(`<span data-slot=outline-bar aria-hidden=true>`), _tmpl$4$5 = /* @__PURE__ */ template(`<span aria-hidden=true>`), _tmpl$5$3 = /* @__PURE__ */ template(`<button type=button data-slot=outline-row><span>`);
|
|
5397
|
+
function Outline(props) {
|
|
5398
|
+
const [local, rest] = splitProps(props, [`items`, `value`, `caption`, `onSelect`, `class`]);
|
|
5399
|
+
return (() => {
|
|
5400
|
+
var _el$ = _tmpl$2$9();
|
|
5401
|
+
spread(_el$, mergeProps({
|
|
5402
|
+
get ["aria-label"]() {
|
|
5403
|
+
return local.caption || `Outline`;
|
|
5404
|
+
},
|
|
5405
|
+
get ["class"]() {
|
|
5406
|
+
return cn(OUTLINE_CLASSES.root, local.class);
|
|
5407
|
+
}
|
|
5408
|
+
}, rest), false, true);
|
|
5409
|
+
insert(_el$, createComponent(Show, {
|
|
5410
|
+
get when() {
|
|
5411
|
+
return local.caption;
|
|
5412
|
+
},
|
|
5413
|
+
get children() {
|
|
5414
|
+
var _el$2 = _tmpl$$d();
|
|
5415
|
+
insert(_el$2, () => local.caption);
|
|
5416
|
+
effect(() => className(_el$2, OUTLINE_CLASSES.caption));
|
|
5417
|
+
return _el$2;
|
|
5418
|
+
}
|
|
5419
|
+
}), null);
|
|
5420
|
+
insert(_el$, createComponent(For, {
|
|
5421
|
+
get each() {
|
|
5422
|
+
return local.items;
|
|
5423
|
+
},
|
|
5424
|
+
children: (item) => {
|
|
5425
|
+
const active = () => local.value != null && item.id === local.value;
|
|
5426
|
+
const count = () => outlineCountText(item.count);
|
|
5427
|
+
return (() => {
|
|
5428
|
+
var _el$3 = _tmpl$5$3(), _el$5 = _el$3.firstChild;
|
|
5429
|
+
_el$3.$$click = () => local.onSelect?.(item.id);
|
|
5430
|
+
insert(_el$3, createComponent(Show, {
|
|
5431
|
+
get when() {
|
|
5432
|
+
return active();
|
|
5433
|
+
},
|
|
5434
|
+
get children() {
|
|
5435
|
+
var _el$4 = _tmpl$3$6();
|
|
5436
|
+
effect(() => className(_el$4, OUTLINE_CLASSES.bar));
|
|
5437
|
+
return _el$4;
|
|
5438
|
+
}
|
|
5439
|
+
}), _el$5);
|
|
5440
|
+
insert(_el$5, () => item.title);
|
|
5441
|
+
insert(_el$3, createComponent(Show, {
|
|
5442
|
+
get when() {
|
|
5443
|
+
return count();
|
|
5444
|
+
},
|
|
5445
|
+
get children() {
|
|
5446
|
+
var _el$6 = _tmpl$4$5();
|
|
5447
|
+
insert(_el$6, count);
|
|
5448
|
+
effect(() => className(_el$6, OUTLINE_CLASSES.count));
|
|
5449
|
+
return _el$6;
|
|
5450
|
+
}
|
|
5451
|
+
}), null);
|
|
5452
|
+
effect((_p$) => {
|
|
5453
|
+
var _v$ = active() ? `true` : void 0, _v$2 = active() ? `location` : void 0, _v$3 = count() ? `${item.title}, ${item.count}` : void 0, _v$4 = OUTLINE_CLASSES.row, _v$5 = OUTLINE_CLASSES.title;
|
|
5454
|
+
_v$ !== _p$.e && setAttribute(_el$3, "data-active", _p$.e = _v$);
|
|
5455
|
+
_v$2 !== _p$.t && setAttribute(_el$3, "aria-current", _p$.t = _v$2);
|
|
5456
|
+
_v$3 !== _p$.a && setAttribute(_el$3, "aria-label", _p$.a = _v$3);
|
|
5457
|
+
_v$4 !== _p$.o && className(_el$3, _p$.o = _v$4);
|
|
5458
|
+
_v$5 !== _p$.i && className(_el$5, _p$.i = _v$5);
|
|
5459
|
+
return _p$;
|
|
5460
|
+
}, {
|
|
5461
|
+
e: void 0,
|
|
5462
|
+
t: void 0,
|
|
5463
|
+
a: void 0,
|
|
5464
|
+
o: void 0,
|
|
5465
|
+
i: void 0
|
|
5466
|
+
});
|
|
5467
|
+
return _el$3;
|
|
5468
|
+
})();
|
|
5469
|
+
}
|
|
5470
|
+
}), null);
|
|
5471
|
+
return _el$;
|
|
5472
|
+
})();
|
|
5473
|
+
}
|
|
5474
|
+
delegateEvents(["click"]);
|
|
5211
5475
|
var _tmpl$$c = /* @__PURE__ */ template(`<div data-slot=popover-anchor>`), _tmpl$2$8 = /* @__PURE__ */ template(`<div role=dialog data-slot=popover-content tabindex=-1>`);
|
|
5212
5476
|
const PopoverContext = createContext();
|
|
5213
5477
|
const usePopover = (part2) => {
|
|
@@ -8355,6 +8619,7 @@ export {
|
|
|
8355
8619
|
BreadcrumbPage,
|
|
8356
8620
|
BreadcrumbSeparator,
|
|
8357
8621
|
Button,
|
|
8622
|
+
CAROUSEL_GEOMETRY,
|
|
8358
8623
|
CODE_TOKEN_CLASS2 as CODE_TOKEN_CLASS,
|
|
8359
8624
|
Calendar,
|
|
8360
8625
|
CalendarChevron,
|
|
@@ -8367,6 +8632,8 @@ export {
|
|
|
8367
8632
|
CardFooter,
|
|
8368
8633
|
CardHeader,
|
|
8369
8634
|
CardTitle,
|
|
8635
|
+
CarouselCounter,
|
|
8636
|
+
CarouselThumbnails,
|
|
8370
8637
|
Checkbox,
|
|
8371
8638
|
ChoiceTiles,
|
|
8372
8639
|
ChoiceTilesFrame,
|
|
@@ -8456,7 +8723,11 @@ export {
|
|
|
8456
8723
|
MOBILE_PAGE,
|
|
8457
8724
|
MOBILE_SHEET,
|
|
8458
8725
|
MOBILE_SHEET_FULL,
|
|
8726
|
+
MOSAIC_GEOMETRY,
|
|
8459
8727
|
Meter,
|
|
8728
|
+
Mosaic,
|
|
8729
|
+
OUTLINE_GEOMETRY,
|
|
8730
|
+
Outline,
|
|
8460
8731
|
Popover,
|
|
8461
8732
|
PopoverAnchor,
|
|
8462
8733
|
PopoverContent,
|
|
@@ -8524,6 +8795,7 @@ export {
|
|
|
8524
8795
|
alertVariants2 as alertVariants,
|
|
8525
8796
|
avatarHueIndex,
|
|
8526
8797
|
buttonVariants2 as buttonVariants,
|
|
8798
|
+
carouselCounterText2 as carouselCounterText,
|
|
8527
8799
|
choiceColumns2 as choiceColumns,
|
|
8528
8800
|
choiceToggle2 as choiceToggle,
|
|
8529
8801
|
choiceValues2 as choiceValues,
|
|
@@ -8538,6 +8810,8 @@ export {
|
|
|
8538
8810
|
getDefaultClassNames,
|
|
8539
8811
|
getInitials,
|
|
8540
8812
|
middleTruncate,
|
|
8813
|
+
mosaicTiles2 as mosaicTiles,
|
|
8814
|
+
outlineCountText2 as outlineCountText,
|
|
8541
8815
|
progressRingPercent2 as progressRingPercent,
|
|
8542
8816
|
ringGeometry2 as ringGeometry,
|
|
8543
8817
|
shouldDismissSheet,
|