@jfrader/ui 0.4.0 → 0.5.1
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 +2 -0
- package/dist/accordion-DLul6vIl.js +205 -0
- package/dist/accordion.js +1 -1
- package/dist/{alert-BBqaKI4k.js → alert-DS_einpy.js} +1 -1
- package/dist/alert.js +1 -1
- package/dist/announcement-bar-Dlbq5-9D.js +382 -0
- package/dist/announcement-bar.js +2 -0
- package/dist/avatar-CaGJHy1N.js +145 -0
- package/dist/avatar-group-M1opAQEG.js +138 -0
- package/dist/avatar-group.js +2 -0
- package/dist/avatar.js +1 -1
- package/dist/badge-CjM5Agqk.js +119 -0
- package/dist/badge.js +1 -1
- package/dist/bottom-sheet-DjZOPq4k.js +674 -0
- package/dist/bottom-sheet.js +2 -0
- package/dist/{breadcrumbs-DVAOxfvL.js → breadcrumbs-BDK_LiwH.js} +11 -4
- package/dist/breadcrumbs.js +1 -1
- package/dist/{button-P2e7_44z.js → button-NLY0h6EJ.js} +8 -8
- package/dist/button.js +1 -1
- package/dist/calendar-BzJdv_SZ.js +449 -0
- package/dist/calendar.js +1 -1
- package/dist/card-Ca4KQKYQ.js +154 -0
- package/dist/card.js +1 -1
- package/dist/carousel-B7OrvD6J.js +474 -0
- package/dist/carousel.js +2 -0
- package/dist/{checkbox-COYG6L7d.js → checkbox-DKSzExj2.js} +17 -16
- package/dist/checkbox.js +1 -1
- package/dist/chip-group-DjQ0_6Y9.js +290 -0
- package/dist/chip-group.js +2 -0
- package/dist/code-block/shiki.js +147 -0
- package/dist/code-block-B5we2lZa.js +293 -0
- package/dist/code-block.js +2 -0
- package/dist/collection-registry-k6JcD3Jr.js +44 -0
- package/dist/combobox-DFFqOBCi.js +339 -0
- package/dist/combobox.js +1 -1
- package/dist/command-palette-BmQu2w4H.js +391 -0
- package/dist/command-palette.js +1 -1
- package/dist/comment-thread-ASaXDcGo.js +1410 -0
- package/dist/comment-thread.js +2 -0
- package/dist/context-menu-__1c2Dk9.js +370 -0
- package/dist/context-menu.js +2 -0
- package/dist/copy-button-DCSLcYS-.js +252 -0
- package/dist/copy-button.js +2 -0
- package/dist/countdown-Dp_TD1VP.js +293 -0
- package/dist/countdown.js +2 -0
- package/dist/date-picker-BiPN7yeK.js +255 -0
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker-DQpUeKqV.js +570 -0
- package/dist/date-range-picker.js +2 -0
- package/dist/{dialog-xaydbXl2.js → dialog-BX1zYMs-.js} +21 -20
- package/dist/dialog.js +1 -1
- package/dist/{divider-DYoJf0I_.js → divider-Cp7aNbhM.js} +21 -20
- package/dist/divider.js +1 -1
- package/dist/drawer-DsASTiP-.js +553 -0
- package/dist/drawer.js +2 -0
- package/dist/elastic-slider-BG6K019r.js +395 -0
- package/dist/elastic-slider.js +2 -0
- package/dist/empty-state-CDgrjPPf.js +142 -0
- package/dist/empty-state.js +2 -0
- package/dist/expandable-card-rUATve0o.js +347 -0
- package/dist/expandable-card.js +2 -0
- package/dist/expanding-search-BxOwtdwt.js +238 -0
- package/dist/expanding-search.js +2 -0
- package/dist/field-anatomy-COVdNpf5.js +84 -0
- package/dist/file-dropzone-BuXm3Tea.js +457 -0
- package/dist/file-dropzone.js +2 -0
- package/dist/filter-toolbar-Cy5Hqur-.js +314 -0
- package/dist/filter-toolbar.js +2 -0
- package/dist/hold-to-confirm-DjB2EVjM.js +294 -0
- package/dist/hold-to-confirm.js +2 -0
- package/dist/hover-card-CoMJKg1g.js +347 -0
- package/dist/hover-card.js +2 -0
- package/dist/image-compare-BxY8Ykzt.js +415 -0
- package/dist/image-compare.js +2 -0
- package/dist/index.js +84 -38
- package/dist/inline-edit-C0eeml65.js +535 -0
- package/dist/inline-edit.js +2 -0
- package/dist/input-control-DmMuAuPS.js +34 -0
- package/dist/json-viewer-DgWqyU75.js +802 -0
- package/dist/json-viewer.js +2 -0
- package/dist/listbox-style-WX-RASp1.js +59 -0
- package/dist/{media-D_eA_I-e.js → media-8yrN85VT.js} +2 -2
- package/dist/mention-input-sq61si9L.js +600 -0
- package/dist/mention-input.js +2 -0
- package/dist/menu-DDKgmK2F.js +295 -0
- package/dist/menu.js +1 -1
- package/dist/metric-card--lVTz5Wn.js +118 -0
- package/dist/metric-card.js +2 -0
- package/dist/multi-select-DG1BCFX7.js +598 -0
- package/dist/multi-select.js +2 -0
- package/dist/{navigation-DhnKriOp.js → navigation-CC26JDr-.js} +24 -18
- package/dist/navigation.js +1 -1
- package/dist/overlay-layer-qEbpEtb8.js +78 -0
- package/dist/overlay-portal-C4JZFq2M.js +15 -0
- package/dist/{pagination-DYdwsxwe.js → pagination-BfkeWbmP.js} +24 -23
- package/dist/pagination.js +1 -1
- package/dist/password-field-03pWRkuY.js +250 -0
- package/dist/password-field.js +2 -0
- package/dist/pill-BaS-uIbn.js +58 -0
- package/dist/pill.js +1 -1
- package/dist/popover-CErIw2q3.js +125 -0
- package/dist/popover.js +1 -1
- package/dist/{progress-BpJswTG4.js → progress-DAQkfhPd.js} +5 -5
- package/dist/progress.js +1 -1
- package/dist/radio-cards-Cu9cBssN.js +456 -0
- package/dist/radio-cards.js +2 -0
- package/dist/{radio-group-Ce0_IWQr.js → radio-group-TIK0-iPX.js} +22 -19
- package/dist/radio-group.js +1 -1
- package/dist/resizable-panels-DUpQEpwG.js +520 -0
- package/dist/resizable-panels.js +2 -0
- package/dist/scroll-area-CcZyiSOQ.js +371 -0
- package/dist/scroll-area.js +2 -0
- package/dist/search-field-DMvho0KQ.js +274 -0
- package/dist/search-field.js +2 -0
- package/dist/segmented-control-8ZUGnsZm.js +327 -0
- package/dist/segmented-control.js +2 -0
- package/dist/select-D5rhJ8gi.js +293 -0
- package/dist/select.js +1 -1
- package/dist/signature-pad-_bTeguN9.js +645 -0
- package/dist/signature-pad.js +2 -0
- package/dist/{skeleton-OoFlOEXO.js → skeleton-XQQDkCHd.js} +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/slider-DVG6-Awh.js +308 -0
- package/dist/slider.js +2 -0
- package/dist/sortable-data-table-CYKT_Ng7.js +365 -0
- package/dist/sortable-data-table.js +2 -0
- package/dist/{spinner-C2YDoiMn.js → spinner-DtxvDPdM.js} +1 -1
- package/dist/spinner.js +1 -1
- package/dist/split-button-BCw4zZom.js +262 -0
- package/dist/split-button.js +2 -0
- package/dist/stepper-CruHbXxX.js +480 -0
- package/dist/stepper.js +2 -0
- package/dist/swipe-actions-CBuJREU1.js +420 -0
- package/dist/swipe-actions.js +2 -0
- package/dist/switch-C1WrKrf-.js +145 -0
- package/dist/switch.js +1 -1
- package/dist/tabs-XluwRjgg.js +210 -0
- package/dist/tabs.js +1 -1
- package/dist/tag-input-DSRCyrX2.js +418 -0
- package/dist/tag-input.js +2 -0
- package/dist/{text-field-D60ok14S.js → text-field-hU72iSVS.js} +20 -17
- package/dist/text-field.js +1 -1
- package/dist/{textarea-DyfjtP0A.js → textarea-3k4Y0QQ3.js} +23 -20
- package/dist/textarea.js +1 -1
- package/dist/theme-root.js +1 -1
- package/dist/theme-switch-C505TtU8.js +166 -0
- package/dist/theme-switch.js +2 -0
- package/dist/time-picker-CPlhW0tr.js +311 -0
- package/dist/time-picker.js +2 -0
- package/dist/timeline-B0uAAVfT.js +624 -0
- package/dist/timeline.js +2 -0
- package/dist/toast-B7wo3sX1.js +371 -0
- package/dist/toast-stack-B40VpS4M.js +197 -0
- package/dist/toast-stack.js +2 -0
- package/dist/toast.js +1 -1
- package/dist/{toggle-group-CI0e7hFm.js → toggle-group-B2fpFZwV.js} +5 -5
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip-BvgVTCTN.js +120 -0
- package/dist/tooltip.js +1 -1
- package/dist/tree-view-j8qLqkb_.js +364 -0
- package/dist/tree-view.js +2 -0
- package/dist/types/components/announcement-bar/announcement-bar.d.ts +75 -0
- package/dist/types/components/announcement-bar/index.d.ts +2 -0
- package/dist/types/components/avatar-group/avatar-group.d.ts +43 -0
- package/dist/types/components/avatar-group/index.d.ts +2 -0
- package/dist/types/components/bottom-sheet/bottom-sheet.d.ts +60 -0
- package/dist/types/components/bottom-sheet/index.d.ts +2 -0
- package/dist/types/components/calendar/calendar.d.ts +25 -1
- package/dist/types/components/calendar/index.d.ts +1 -1
- package/dist/types/components/carousel/carousel.d.ts +73 -0
- package/dist/types/components/carousel/index.d.ts +2 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/chip-group/chip-group.d.ts +54 -0
- package/dist/types/components/chip-group/index.d.ts +1 -0
- package/dist/types/components/code-block/code-block.d.ts +58 -0
- package/dist/types/components/code-block/index.d.ts +1 -0
- package/dist/types/components/code-block/shiki.d.ts +3 -0
- package/dist/types/components/combobox/combobox.d.ts +1 -1
- package/dist/types/components/command-palette/command-palette.d.ts +2 -2
- package/dist/types/components/comment-thread/comment-thread.d.ts +118 -0
- package/dist/types/components/comment-thread/index.d.ts +1 -0
- package/dist/types/components/comment-thread/thread-core.d.ts +96 -0
- package/dist/types/components/comment-thread/thread-parts.d.ts +114 -0
- package/dist/types/components/context-menu/context-menu.d.ts +55 -0
- package/dist/types/components/context-menu/index.d.ts +2 -0
- package/dist/types/components/copy-button/copy-button.d.ts +49 -0
- package/dist/types/components/copy-button/index.d.ts +2 -0
- package/dist/types/components/countdown/countdown.d.ts +37 -0
- package/dist/types/components/countdown/index.d.ts +1 -0
- package/dist/types/components/date-picker/date-picker.d.ts +1 -1
- package/dist/types/components/date-range-picker/date-range-picker.d.ts +103 -0
- package/dist/types/components/date-range-picker/index.d.ts +2 -0
- package/dist/types/components/drawer/drawer.d.ts +59 -0
- package/dist/types/components/drawer/index.d.ts +2 -0
- package/dist/types/components/elastic-slider/elastic-slider.d.ts +53 -0
- package/dist/types/components/elastic-slider/index.d.ts +1 -0
- package/dist/types/components/empty-state/empty-state.d.ts +36 -0
- package/dist/types/components/empty-state/index.d.ts +2 -0
- package/dist/types/components/expandable-card/expandable-card.d.ts +28 -0
- package/dist/types/components/expandable-card/index.d.ts +2 -0
- package/dist/types/components/expanding-search/expanding-search.d.ts +22 -0
- package/dist/types/components/expanding-search/index.d.ts +1 -0
- package/dist/types/components/field/field-anatomy.d.ts +4 -2
- package/dist/types/components/file-dropzone/file-dropzone.d.ts +93 -0
- package/dist/types/components/file-dropzone/index.d.ts +2 -0
- package/dist/types/components/filter-toolbar/filter-toolbar.d.ts +70 -0
- package/dist/types/components/filter-toolbar/index.d.ts +1 -0
- package/dist/types/components/hold-to-confirm/hold-to-confirm.d.ts +32 -0
- package/dist/types/components/hold-to-confirm/index.d.ts +2 -0
- package/dist/types/components/hover-card/hover-card.d.ts +97 -0
- package/dist/types/components/hover-card/index.d.ts +2 -0
- package/dist/types/components/image-compare/image-compare.d.ts +54 -0
- package/dist/types/components/image-compare/index.d.ts +1 -0
- package/dist/types/components/inline-edit/index.d.ts +2 -0
- package/dist/types/components/inline-edit/inline-edit.d.ts +93 -0
- package/dist/types/components/json-viewer/index.d.ts +2 -0
- package/dist/types/components/json-viewer/json-viewer.d.ts +82 -0
- package/dist/types/components/mention-input/index.d.ts +2 -0
- package/dist/types/components/mention-input/mention-input.d.ts +87 -0
- package/dist/types/components/menu/menu.d.ts +68 -7
- package/dist/types/components/metric-card/index.d.ts +1 -0
- package/dist/types/components/metric-card/metric-card.d.ts +37 -0
- package/dist/types/components/multi-select/index.d.ts +2 -0
- package/dist/types/components/multi-select/multi-select.d.ts +73 -0
- package/dist/types/components/pagination/pagination.d.ts +1 -1
- package/dist/types/components/password-field/index.d.ts +2 -0
- package/dist/types/components/password-field/password-field.d.ts +34 -0
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/radio-cards/index.d.ts +1 -0
- package/dist/types/components/radio-cards/radio-cards.d.ts +42 -0
- package/dist/types/components/radio-group/radio-group.d.ts +1 -1
- package/dist/types/components/resizable-panels/index.d.ts +2 -0
- package/dist/types/components/resizable-panels/resizable-panels.d.ts +42 -0
- package/dist/types/components/scroll-area/index.d.ts +2 -0
- package/dist/types/components/scroll-area/scroll-area.d.ts +34 -0
- package/dist/types/components/search-field/index.d.ts +1 -0
- package/dist/types/components/search-field/search-field.d.ts +31 -0
- package/dist/types/components/segmented-control/index.d.ts +2 -0
- package/dist/types/components/segmented-control/segmented-control.d.ts +32 -0
- package/dist/types/components/select/select.d.ts +1 -1
- package/dist/types/components/signature-pad/index.d.ts +2 -0
- package/dist/types/components/signature-pad/signature-pad.d.ts +104 -0
- package/dist/types/components/slider/index.d.ts +1 -0
- package/dist/types/components/slider/slider-style.d.ts +14 -0
- package/dist/types/components/slider/slider.d.ts +62 -0
- package/dist/types/components/slider/use-slider-interaction.d.ts +79 -0
- package/dist/types/components/sortable-data-table/index.d.ts +1 -0
- package/dist/types/components/sortable-data-table/sortable-data-table.d.ts +76 -0
- package/dist/types/components/split-button/index.d.ts +2 -0
- package/dist/types/components/split-button/split-button.d.ts +55 -0
- package/dist/types/components/stepper/index.d.ts +2 -0
- package/dist/types/components/stepper/stepper.d.ts +85 -0
- package/dist/types/components/swipe-actions/index.d.ts +2 -0
- package/dist/types/components/swipe-actions/swipe-actions.d.ts +44 -0
- package/dist/types/components/tabs/tabs.d.ts +1 -1
- package/dist/types/components/tag-input/index.d.ts +2 -0
- package/dist/types/components/tag-input/tag-input.d.ts +66 -0
- package/dist/types/components/text-field/text-field.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +1 -1
- package/dist/types/components/theme-switch/index.d.ts +1 -0
- package/dist/types/components/theme-switch/theme-switch.d.ts +33 -0
- package/dist/types/components/time-picker/index.d.ts +2 -0
- package/dist/types/components/time-picker/time-picker.d.ts +48 -0
- package/dist/types/components/timeline/index.d.ts +2 -0
- package/dist/types/components/timeline/timeline.d.ts +66 -0
- package/dist/types/components/toast/toast.d.ts +37 -2
- package/dist/types/components/toast-stack/index.d.ts +2 -0
- package/dist/types/components/toast-stack/toast-stack.d.ts +28 -0
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components/tree-view/index.d.ts +1 -0
- package/dist/types/components/tree-view/tree-view.d.ts +47 -0
- package/dist/types/components/usage-meter/index.d.ts +2 -0
- package/dist/types/components/usage-meter/usage-meter.d.ts +83 -0
- package/dist/types/index.d.ts +45 -0
- package/dist/types/overlay/overlay-layer.d.ts +53 -0
- package/dist/types/overlay/use-overlay-floating.d.ts +19 -2
- package/dist/types/styling/media.d.ts +1 -0
- package/dist/types/styling/theme.d.ts +12 -0
- package/dist/types/utils/use-controlled-state.d.ts +2 -1
- package/dist/usage-meter-qyQ3rYVv.js +463 -0
- package/dist/usage-meter.js +2 -0
- package/dist/use-controlled-state-DpeVQZNR.js +20 -0
- package/dist/use-latest-callback-cj1OOQL6.js +11 -0
- package/dist/use-overlay-floating-Bx2jBKAA.js +33 -0
- package/dist/use-slider-interaction-ChL-208h.js +234 -0
- package/package.json +195 -3
- package/dist/accordion-Bd-j04hW.js +0 -198
- package/dist/avatar-BahDVO9t.js +0 -132
- package/dist/badge-B_sLygxU.js +0 -108
- package/dist/calendar-C9Yad_-w.js +0 -394
- package/dist/card-D-aI2QHx.js +0 -158
- package/dist/collection-registry-BTYi6zGh.js +0 -98
- package/dist/combobox-DiMC2g_u.js +0 -327
- package/dist/command-palette-V_2pEay7.js +0 -379
- package/dist/date-picker-C29Uo4Tx.js +0 -250
- package/dist/field-anatomy-D2ToMeRa.js +0 -109
- package/dist/menu-CGPTNRnF.js +0 -216
- package/dist/pill-DO2gHzMb.js +0 -56
- package/dist/popover-CdRXjQqI.js +0 -113
- package/dist/select-BgG7WgSh.js +0 -286
- package/dist/switch-Dr-qjmT4.js +0 -142
- package/dist/tabs-CK_g1RKa.js +0 -203
- package/dist/toast-CjmELMZZ.js +0 -283
- package/dist/tooltip-CaL3rKbV.js +0 -108
- package/dist/use-controlled-state-CVXDa-qM.js +0 -21
- package/dist/use-overlay-floating-Bit-f0FU.js +0 -31
- package/dist/{theme-root-BbTBuLMQ.js → theme-root-Bs1U3uPA.js} +2 -2
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { r as e, t } from "./sx-Dx9JUKp5.js";
|
|
3
|
+
import { n } from "./focus-ring-BK5W5_NY.js";
|
|
4
|
+
import { n as r, r as i } from "./media-8yrN85VT.js";
|
|
5
|
+
import { t as a } from "./use-controlled-state-DpeVQZNR.js";
|
|
6
|
+
import { t as o } from "./button-NLY0h6EJ.js";
|
|
7
|
+
import { useEffect as s, useId as ee, useMemo as te, useRef as c, useState as l } from "react";
|
|
8
|
+
import { vars as u } from "@jfrader/tokens/vars";
|
|
9
|
+
import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
|
|
10
|
+
import { useMergeRefs as p } from "@floating-ui/react";
|
|
11
|
+
//#region src/components/image-compare/image-compare.tsx
|
|
12
|
+
var m = 0, h = 100, g = 50, ne = 1, re = 10, ie = ["Before", "After"], ae = "Image comparison", oe = "Center divider", se = "3 / 2", ce = {
|
|
13
|
+
style: "percent",
|
|
14
|
+
maximumFractionDigits: 2
|
|
15
|
+
}, le = 12, _ = "--image-compare-value", v = "--image-compare-slop", ue = "a[href], button, input, select, textarea, label, summary, [contenteditable]:not([contenteditable=\"false\"]), [tabindex]", de = (e, t) => `${t} Before visible`, y = `calc(${u.space[10]} / 2)`, b = `calc(${u.space[1]} / 2)`, x = `clamp(${u.space[1]}, calc(var(${_}) - ${y}), calc(100% - ${u.space[10]} - ${u.space[1]}))`, S = `clamp(0px, calc(var(${_}) - ${b}), calc(100% - ${u.space[1]}))`, C = `calc(100% - var(${_}))`, fe = e({
|
|
16
|
+
label: "image-compare",
|
|
17
|
+
display: "grid",
|
|
18
|
+
gap: u.space[2],
|
|
19
|
+
minInlineSize: 0,
|
|
20
|
+
inlineSize: "100%",
|
|
21
|
+
fontFamily: u.font.sans,
|
|
22
|
+
lineHeight: u.lineHeight.base,
|
|
23
|
+
color: u.color.text
|
|
24
|
+
}), pe = e({
|
|
25
|
+
[v]: u.space[1],
|
|
26
|
+
position: "relative",
|
|
27
|
+
inlineSize: "100%",
|
|
28
|
+
overflow: "hidden",
|
|
29
|
+
boxSizing: "border-box",
|
|
30
|
+
border: `1px solid ${u.color.borderControl}`,
|
|
31
|
+
borderRadius: u.radius.lg,
|
|
32
|
+
background: u.color.surfaceInset,
|
|
33
|
+
userSelect: "none",
|
|
34
|
+
"&[data-disabled]": { cursor: "default" },
|
|
35
|
+
[r]: { borderColor: "CanvasText" }
|
|
36
|
+
}), me = {
|
|
37
|
+
horizontal: e({
|
|
38
|
+
touchAction: "pan-y",
|
|
39
|
+
cursor: "ew-resize"
|
|
40
|
+
}),
|
|
41
|
+
vertical: e({
|
|
42
|
+
touchAction: "pan-x",
|
|
43
|
+
cursor: "ns-resize"
|
|
44
|
+
})
|
|
45
|
+
}, w = e({
|
|
46
|
+
position: "absolute",
|
|
47
|
+
inset: 0,
|
|
48
|
+
"& > :is(img, picture, video, svg, canvas), & > picture > img": {
|
|
49
|
+
display: "block",
|
|
50
|
+
inlineSize: "100%",
|
|
51
|
+
blockSize: "100%",
|
|
52
|
+
objectFit: "cover"
|
|
53
|
+
}
|
|
54
|
+
}), he = {
|
|
55
|
+
horizontal: e({
|
|
56
|
+
clipPath: `inset(0 ${C} 0 0)`,
|
|
57
|
+
"&:dir(rtl)": { clipPath: `inset(0 0 0 ${C})` }
|
|
58
|
+
}),
|
|
59
|
+
vertical: e({ clipPath: `inset(0 0 ${C} 0)` })
|
|
60
|
+
}, T = e({
|
|
61
|
+
position: "absolute",
|
|
62
|
+
maxInlineSize: `calc(50% - ${u.space[4]})`,
|
|
63
|
+
paddingInline: u.space[2],
|
|
64
|
+
paddingBlock: u.space[1],
|
|
65
|
+
boxSizing: "border-box",
|
|
66
|
+
overflowWrap: "anywhere",
|
|
67
|
+
borderRadius: u.radius.full,
|
|
68
|
+
border: `1px solid ${u.color.borderControl}`,
|
|
69
|
+
background: u.color.surfaceRaised,
|
|
70
|
+
color: u.color.text,
|
|
71
|
+
fontSize: u.textSize.xs,
|
|
72
|
+
fontWeight: u.fontWeight.medium,
|
|
73
|
+
pointerEvents: "none",
|
|
74
|
+
[r]: { borderColor: "CanvasText" }
|
|
75
|
+
}), ge = e({
|
|
76
|
+
insetBlockStart: u.space[3],
|
|
77
|
+
insetInlineStart: u.space[3]
|
|
78
|
+
}), _e = {
|
|
79
|
+
horizontal: e({
|
|
80
|
+
insetBlockStart: u.space[3],
|
|
81
|
+
insetInlineEnd: u.space[3]
|
|
82
|
+
}),
|
|
83
|
+
vertical: e({
|
|
84
|
+
insetBlockEnd: u.space[3],
|
|
85
|
+
insetInlineStart: u.space[3]
|
|
86
|
+
})
|
|
87
|
+
}, ve = e({
|
|
88
|
+
position: "absolute",
|
|
89
|
+
boxSizing: "border-box",
|
|
90
|
+
background: u.color.text,
|
|
91
|
+
pointerEvents: "none",
|
|
92
|
+
[r]: {
|
|
93
|
+
forcedColorAdjust: "none",
|
|
94
|
+
background: "CanvasText",
|
|
95
|
+
borderColor: "Canvas"
|
|
96
|
+
}
|
|
97
|
+
}), ye = {
|
|
98
|
+
horizontal: e({
|
|
99
|
+
insetBlock: 0,
|
|
100
|
+
insetInlineStart: S,
|
|
101
|
+
inlineSize: u.space[1],
|
|
102
|
+
borderInline: `1px solid ${u.color.surfaceInset}`
|
|
103
|
+
}),
|
|
104
|
+
vertical: e({
|
|
105
|
+
insetInline: 0,
|
|
106
|
+
insetBlockStart: S,
|
|
107
|
+
blockSize: u.space[1],
|
|
108
|
+
borderBlock: `1px solid ${u.color.surfaceInset}`
|
|
109
|
+
})
|
|
110
|
+
}, be = e({
|
|
111
|
+
position: "absolute",
|
|
112
|
+
inlineSize: u.space[10],
|
|
113
|
+
blockSize: u.space[10],
|
|
114
|
+
boxSizing: "border-box",
|
|
115
|
+
display: "grid",
|
|
116
|
+
placeItems: "center",
|
|
117
|
+
border: `2px solid ${u.color.borderControl}`,
|
|
118
|
+
borderRadius: u.radius.full,
|
|
119
|
+
background: u.color.surfaceRaised,
|
|
120
|
+
color: u.color.text,
|
|
121
|
+
boxShadow: u.shadow.raised,
|
|
122
|
+
cursor: "grab",
|
|
123
|
+
transitionProperty: "background-color, border-color",
|
|
124
|
+
transitionDuration: u.motion.duration.fast,
|
|
125
|
+
transitionTimingFunction: u.motion.easeStandard,
|
|
126
|
+
"&:hover:not([aria-disabled=\"true\"]), &[data-dragging]": {
|
|
127
|
+
background: u.color.surfaceHover,
|
|
128
|
+
borderColor: u.color.text
|
|
129
|
+
},
|
|
130
|
+
"&[data-dragging]": { cursor: "grabbing" },
|
|
131
|
+
"&[aria-disabled=\"true\"]": {
|
|
132
|
+
cursor: "default",
|
|
133
|
+
color: u.color.textMuted
|
|
134
|
+
},
|
|
135
|
+
"&:focus-visible": n,
|
|
136
|
+
[i]: { transitionDuration: "0s" },
|
|
137
|
+
[r]: {
|
|
138
|
+
forcedColorAdjust: "none",
|
|
139
|
+
background: "Canvas",
|
|
140
|
+
borderColor: "CanvasText",
|
|
141
|
+
color: "CanvasText",
|
|
142
|
+
boxShadow: "none",
|
|
143
|
+
"&:hover:not([aria-disabled=\"true\"]), &[data-dragging]": {
|
|
144
|
+
background: "Canvas",
|
|
145
|
+
borderColor: "Highlight"
|
|
146
|
+
},
|
|
147
|
+
"&[data-dragging]": { color: "Highlight" },
|
|
148
|
+
"&:focus-visible": { outlineColor: "Highlight" }
|
|
149
|
+
}
|
|
150
|
+
}), xe = {
|
|
151
|
+
horizontal: e({
|
|
152
|
+
insetBlockStart: `calc(50% - ${y})`,
|
|
153
|
+
insetInlineStart: x
|
|
154
|
+
}),
|
|
155
|
+
vertical: e({
|
|
156
|
+
insetInlineStart: `calc(50% - ${y})`,
|
|
157
|
+
insetBlockStart: x
|
|
158
|
+
})
|
|
159
|
+
}, Se = e({
|
|
160
|
+
inlineSize: u.space[5],
|
|
161
|
+
blockSize: u.space[5],
|
|
162
|
+
pointerEvents: "none"
|
|
163
|
+
}), Ce = {
|
|
164
|
+
horizontal: void 0,
|
|
165
|
+
vertical: e({ transform: "rotate(90deg)" })
|
|
166
|
+
}, we = e({
|
|
167
|
+
justifySelf: "end",
|
|
168
|
+
maxInlineSize: "100%",
|
|
169
|
+
blockSize: "auto",
|
|
170
|
+
minBlockSize: u.space[8],
|
|
171
|
+
paddingBlock: u.space[1],
|
|
172
|
+
whiteSpace: "normal",
|
|
173
|
+
overflowWrap: "anywhere"
|
|
174
|
+
});
|
|
175
|
+
function Te(...e) {
|
|
176
|
+
return e.filter(Boolean).join(" ") || void 0;
|
|
177
|
+
}
|
|
178
|
+
function E(e) {
|
|
179
|
+
return Number(Math.min(h, Math.max(m, e)).toPrecision(le));
|
|
180
|
+
}
|
|
181
|
+
function D(e, t) {
|
|
182
|
+
return e !== void 0 && Number.isFinite(e) && e > 0 ? e : t;
|
|
183
|
+
}
|
|
184
|
+
function O(e) {
|
|
185
|
+
return e !== void 0 && Number.isFinite(e) ? E(e) : g;
|
|
186
|
+
}
|
|
187
|
+
function k({ ref: e, before: n, after: r, value: i, defaultValue: u, onValueChange: le, onValueCommit: y, orientation: b = "horizontal", step: x, largeStep: S, labels: C = ie, label: k = ae, valueText: Ee = de, locale: A, aspectRatio: De = se, disabled: j = !1, showReset: Oe = !0, resetLabel: ke = oe, slotProps: M, className: Ae, sx: je, onKeyDown: Me, ...Ne }) {
|
|
188
|
+
let N = ee(), P = D(x, ne), F = D(S, re), [Pe] = l(() => O(u)), [Fe, Ie] = a(i, Pe, le), I = O(Fe), Le = te(() => new Intl.NumberFormat(A, ce), [A]), L = c(null), R = c(null), Re = p([L, M?.frame?.ref]), ze = p([R, M?.handle?.ref]), z = c(null), [Be, B] = l(!1), V = b === "horizontal";
|
|
189
|
+
s(() => {
|
|
190
|
+
if (process.env.NODE_ENV !== "production") for (let [e, t] of [["value", i], ["defaultValue", u]]) t !== void 0 && !Number.isFinite(t) && console.warn(`ImageCompare: ${e} ${t} is not finite; showing ${g}%.`);
|
|
191
|
+
}, [i, u]);
|
|
192
|
+
let H = (e) => e !== I && (Ie(e), !0), U = (e) => {
|
|
193
|
+
H(e) && y?.(e);
|
|
194
|
+
}, W = (e) => {
|
|
195
|
+
let t = z.current;
|
|
196
|
+
t && (z.current = null, t.unlisten(), B(!1), t.frame.hasPointerCapture(t.pointerId) && t.frame.releasePointerCapture(t.pointerId), e && t.dragging && t.candidate !== t.initial && y?.(t.candidate));
|
|
197
|
+
};
|
|
198
|
+
s(() => () => W(!1), [b, j]);
|
|
199
|
+
let G = () => L.current?.matches(":dir(rtl)") ?? !1, K = (e) => V ? e.clientX : e.clientY, Ve = (e) => {
|
|
200
|
+
let t = L.current.getBoundingClientRect();
|
|
201
|
+
return V ? G() ? t.right - t.width * e / h : t.left + t.width * e / h : t.top + t.height * e / h;
|
|
202
|
+
}, q = (e) => {
|
|
203
|
+
let t = L.current.getBoundingClientRect(), n = V ? t.width : t.height;
|
|
204
|
+
if (n <= 0) return I;
|
|
205
|
+
let r = V ? G() ? (t.right - e) / n : (e - t.left) / n : (e - t.top) / n;
|
|
206
|
+
return E(Math.round(r * h / P) * P);
|
|
207
|
+
}, He = () => {
|
|
208
|
+
j || U(g);
|
|
209
|
+
}, Ue = (e) => {
|
|
210
|
+
if (e.defaultPrevented || j || z.current || !e.isPrimary || e.button !== 0) return;
|
|
211
|
+
let t = e.target, n = R.current, r = n?.contains(t) ?? !1, i = t.closest(ue);
|
|
212
|
+
if (!r && i && e.currentTarget.contains(i)) return;
|
|
213
|
+
let a = e.currentTarget, o = a.ownerDocument, s = (e) => {
|
|
214
|
+
e.pointerId === z.current?.pointerId && !a.contains(e.target) && W(!1);
|
|
215
|
+
};
|
|
216
|
+
o.addEventListener("pointerup", s, !0), o.addEventListener("pointercancel", s, !0), z.current = {
|
|
217
|
+
pointerId: e.pointerId,
|
|
218
|
+
mouse: e.pointerType === "mouse",
|
|
219
|
+
originX: e.clientX,
|
|
220
|
+
originY: e.clientY,
|
|
221
|
+
offset: r ? K(e) - Ve(I) : 0,
|
|
222
|
+
onHandle: r,
|
|
223
|
+
dragging: !1,
|
|
224
|
+
initial: I,
|
|
225
|
+
candidate: I,
|
|
226
|
+
frame: a,
|
|
227
|
+
unlisten: () => {
|
|
228
|
+
o.removeEventListener("pointerup", s, !0), o.removeEventListener("pointercancel", s, !0);
|
|
229
|
+
}
|
|
230
|
+
}, e.preventDefault(), n?.focus({ preventScroll: !0 });
|
|
231
|
+
}, We = (e) => {
|
|
232
|
+
let t = z.current;
|
|
233
|
+
if (!t || e.pointerId !== t.pointerId) return;
|
|
234
|
+
if (!t.dragging) {
|
|
235
|
+
let n = e.clientX - t.originX, r = e.clientY - t.originY, i = Math.abs(V ? n : r), a = Math.abs(V ? r : n), o = Number.parseFloat(getComputedStyle(t.frame).getPropertyValue(v)) || 0;
|
|
236
|
+
if (t.mouse ? Math.hypot(n, r) < o : i < o && a < o) return;
|
|
237
|
+
if (!t.mouse && a > i) {
|
|
238
|
+
W(!1);
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
t.dragging = !0, t.frame.setPointerCapture(t.pointerId), B(!0);
|
|
242
|
+
}
|
|
243
|
+
let n = q(K(e) - t.offset);
|
|
244
|
+
n !== t.candidate && (t.candidate = n, H(n));
|
|
245
|
+
}, Ge = (e) => {
|
|
246
|
+
let t = z.current;
|
|
247
|
+
if (!t || e.pointerId !== t.pointerId) return;
|
|
248
|
+
let n = e.defaultPrevented;
|
|
249
|
+
!t.dragging && !t.onHandle ? (W(!1), n || U(q(K(e)))) : W(!n);
|
|
250
|
+
}, Ke = (e) => {
|
|
251
|
+
z.current?.pointerId === e.pointerId && W(!1);
|
|
252
|
+
}, qe = (e) => {
|
|
253
|
+
if (j || e.defaultPrevented) return;
|
|
254
|
+
let t = e.shiftKey ? F : P, n = V && G() ? -1 : 1, r = {
|
|
255
|
+
ArrowRight: I + t * n,
|
|
256
|
+
ArrowLeft: I - t * n,
|
|
257
|
+
ArrowUp: I + t,
|
|
258
|
+
ArrowDown: I - t,
|
|
259
|
+
PageUp: I + F,
|
|
260
|
+
PageDown: I - F,
|
|
261
|
+
Home: m,
|
|
262
|
+
End: h
|
|
263
|
+
}[e.key];
|
|
264
|
+
r !== void 0 && (e.preventDefault(), U(E(r)));
|
|
265
|
+
}, J = C === !1 ? ["", ""] : C, Y = J[0] === "" ? void 0 : `${N}-before`, X = J[1] === "" ? void 0 : `${N}-after`, Z = M?.frame, Q = M?.handle, $ = M?.resetButton, Je = {
|
|
266
|
+
...Z?.style,
|
|
267
|
+
aspectRatio: De,
|
|
268
|
+
[_]: `${I}%`
|
|
269
|
+
}, Ye = Le.format(I / h);
|
|
270
|
+
return /* @__PURE__ */ d(t, {
|
|
271
|
+
className: Ae,
|
|
272
|
+
styles: fe,
|
|
273
|
+
sx: je,
|
|
274
|
+
children: (t) => /* @__PURE__ */ f("div", {
|
|
275
|
+
...Ne,
|
|
276
|
+
ref: e,
|
|
277
|
+
className: t,
|
|
278
|
+
"data-ui": "image-compare",
|
|
279
|
+
"data-orientation": b,
|
|
280
|
+
"data-disabled": j || void 0,
|
|
281
|
+
onKeyDown: (e) => {
|
|
282
|
+
Me?.(e), e.target === R.current && qe(e);
|
|
283
|
+
},
|
|
284
|
+
children: [/* @__PURE__ */ f("div", {
|
|
285
|
+
...Z,
|
|
286
|
+
ref: Re,
|
|
287
|
+
"data-ui": "image-compare-frame",
|
|
288
|
+
"data-disabled": j || void 0,
|
|
289
|
+
css: [
|
|
290
|
+
pe,
|
|
291
|
+
me[b],
|
|
292
|
+
Z?.css
|
|
293
|
+
],
|
|
294
|
+
style: Je,
|
|
295
|
+
onPointerDown: (e) => {
|
|
296
|
+
Z?.onPointerDown?.(e), Ue(e);
|
|
297
|
+
},
|
|
298
|
+
onPointerMove: (e) => {
|
|
299
|
+
Z?.onPointerMove?.(e), e.defaultPrevented || We(e);
|
|
300
|
+
},
|
|
301
|
+
onPointerUp: (e) => {
|
|
302
|
+
Z?.onPointerUp?.(e), Ge(e);
|
|
303
|
+
},
|
|
304
|
+
onPointerCancel: (e) => {
|
|
305
|
+
Z?.onPointerCancel?.(e), Ke(e);
|
|
306
|
+
},
|
|
307
|
+
onLostPointerCapture: (e) => {
|
|
308
|
+
Z?.onLostPointerCapture?.(e), Ke(e);
|
|
309
|
+
},
|
|
310
|
+
onDragStart: (e) => {
|
|
311
|
+
Z?.onDragStart?.(e), e.preventDefault();
|
|
312
|
+
},
|
|
313
|
+
children: [
|
|
314
|
+
/* @__PURE__ */ f("div", {
|
|
315
|
+
...M?.after,
|
|
316
|
+
"data-ui": "image-compare-after",
|
|
317
|
+
css: [w, M?.after?.css],
|
|
318
|
+
children: [r, X && /* @__PURE__ */ d("span", {
|
|
319
|
+
...M?.afterLabel,
|
|
320
|
+
id: X,
|
|
321
|
+
"aria-hidden": "true",
|
|
322
|
+
"data-ui": "image-compare-after-label",
|
|
323
|
+
css: [
|
|
324
|
+
T,
|
|
325
|
+
_e[b],
|
|
326
|
+
M?.afterLabel?.css
|
|
327
|
+
],
|
|
328
|
+
children: J[1]
|
|
329
|
+
})]
|
|
330
|
+
}),
|
|
331
|
+
/* @__PURE__ */ f("div", {
|
|
332
|
+
...M?.before,
|
|
333
|
+
"data-ui": "image-compare-before",
|
|
334
|
+
css: [
|
|
335
|
+
w,
|
|
336
|
+
he[b],
|
|
337
|
+
M?.before?.css
|
|
338
|
+
],
|
|
339
|
+
children: [n, Y && /* @__PURE__ */ d("span", {
|
|
340
|
+
...M?.beforeLabel,
|
|
341
|
+
id: Y,
|
|
342
|
+
"aria-hidden": "true",
|
|
343
|
+
"data-ui": "image-compare-before-label",
|
|
344
|
+
css: [
|
|
345
|
+
T,
|
|
346
|
+
ge,
|
|
347
|
+
M?.beforeLabel?.css
|
|
348
|
+
],
|
|
349
|
+
children: J[0]
|
|
350
|
+
})]
|
|
351
|
+
}),
|
|
352
|
+
/* @__PURE__ */ d("div", {
|
|
353
|
+
...M?.divider,
|
|
354
|
+
"aria-hidden": "true",
|
|
355
|
+
"data-ui": "image-compare-divider",
|
|
356
|
+
css: [
|
|
357
|
+
ve,
|
|
358
|
+
ye[b],
|
|
359
|
+
M?.divider?.css
|
|
360
|
+
]
|
|
361
|
+
}),
|
|
362
|
+
/* @__PURE__ */ d("div", {
|
|
363
|
+
...Q,
|
|
364
|
+
ref: ze,
|
|
365
|
+
role: "slider",
|
|
366
|
+
tabIndex: 0,
|
|
367
|
+
"data-ui": "image-compare-handle",
|
|
368
|
+
"data-dragging": Be || void 0,
|
|
369
|
+
"aria-orientation": b,
|
|
370
|
+
"aria-disabled": j || void 0,
|
|
371
|
+
"aria-valuemin": m,
|
|
372
|
+
"aria-valuemax": h,
|
|
373
|
+
"aria-valuenow": I,
|
|
374
|
+
"aria-valuetext": Ee(I, Ye),
|
|
375
|
+
"aria-label": Q?.["aria-label"] ?? k,
|
|
376
|
+
"aria-describedby": Te(Q?.["aria-describedby"], Y, X),
|
|
377
|
+
css: [
|
|
378
|
+
be,
|
|
379
|
+
xe[b],
|
|
380
|
+
Q?.css
|
|
381
|
+
],
|
|
382
|
+
onDoubleClick: (e) => {
|
|
383
|
+
Q?.onDoubleClick?.(e), e.defaultPrevented || He();
|
|
384
|
+
},
|
|
385
|
+
children: /* @__PURE__ */ d("svg", {
|
|
386
|
+
"aria-hidden": "true",
|
|
387
|
+
viewBox: "0 0 24 24",
|
|
388
|
+
fill: "none",
|
|
389
|
+
stroke: "currentColor",
|
|
390
|
+
strokeWidth: "2",
|
|
391
|
+
strokeLinecap: "round",
|
|
392
|
+
strokeLinejoin: "round",
|
|
393
|
+
css: [Se, Ce[b]],
|
|
394
|
+
children: /* @__PURE__ */ d("path", { d: "M9 6l-6 6 6 6M15 6l6 6-6 6" })
|
|
395
|
+
})
|
|
396
|
+
})
|
|
397
|
+
]
|
|
398
|
+
}), Oe && /* @__PURE__ */ d(o, {
|
|
399
|
+
size: "sm",
|
|
400
|
+
variant: "outline",
|
|
401
|
+
...$,
|
|
402
|
+
type: "button",
|
|
403
|
+
disabled: j,
|
|
404
|
+
css: [we, $?.css],
|
|
405
|
+
onClick: (e) => {
|
|
406
|
+
$?.onClick?.(e), e.defaultPrevented || He();
|
|
407
|
+
},
|
|
408
|
+
children: ke
|
|
409
|
+
})]
|
|
410
|
+
})
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
k.displayName = "ImageCompare";
|
|
414
|
+
//#endregion
|
|
415
|
+
export { k as t };
|
package/dist/index.js
CHANGED
|
@@ -1,39 +1,85 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { t as e } from "./accordion-
|
|
3
|
-
import { t } from "./alert-
|
|
4
|
-
import { t as n } from "./
|
|
5
|
-
import { t as r } from "./
|
|
6
|
-
import { t as i } from "./
|
|
7
|
-
import { t as a } from "./
|
|
8
|
-
import { t as o } from "./
|
|
9
|
-
import { t as s } from "./
|
|
10
|
-
import { t as c } from "./
|
|
11
|
-
import { t as l } from "./
|
|
12
|
-
import { t as u } from "./
|
|
13
|
-
import { t as d } from "./
|
|
14
|
-
import { t as f } from "./
|
|
15
|
-
import { t as p } from "./
|
|
16
|
-
import { t as m } from "./
|
|
17
|
-
import { t as h } from "./
|
|
18
|
-
import { t as g } from "./
|
|
19
|
-
import { t as _ } from "./
|
|
20
|
-
import { t as v } from "./
|
|
21
|
-
import { t as y } from "./
|
|
22
|
-
import { t as b } from "./
|
|
23
|
-
import { t as x } from "./
|
|
24
|
-
import { t as S } from "./
|
|
25
|
-
import { t as C } from "./
|
|
26
|
-
import { t as w } from "./
|
|
27
|
-
import { t as T } from "./
|
|
28
|
-
import { t as E } from "./
|
|
29
|
-
import { t as D } from "./
|
|
30
|
-
import { t as O } from "./
|
|
31
|
-
import { t as k } from "./
|
|
32
|
-
import { t as A } from "./
|
|
33
|
-
import { t as j } from "./
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { t as
|
|
37
|
-
import { t as
|
|
38
|
-
import
|
|
39
|
-
|
|
2
|
+
import { t as e } from "./accordion-DLul6vIl.js";
|
|
3
|
+
import { t } from "./alert-DS_einpy.js";
|
|
4
|
+
import { t as n } from "./button-NLY0h6EJ.js";
|
|
5
|
+
import { t as r } from "./countdown-Dp_TD1VP.js";
|
|
6
|
+
import { t as i } from "./announcement-bar-Dlbq5-9D.js";
|
|
7
|
+
import { t as a } from "./avatar-CaGJHy1N.js";
|
|
8
|
+
import { t as o } from "./avatar-group-M1opAQEG.js";
|
|
9
|
+
import { t as s } from "./badge-CjM5Agqk.js";
|
|
10
|
+
import { t as c } from "./bottom-sheet-DjZOPq4k.js";
|
|
11
|
+
import { t as l } from "./breadcrumbs-BDK_LiwH.js";
|
|
12
|
+
import { t as u } from "./calendar-BzJdv_SZ.js";
|
|
13
|
+
import { t as d } from "./card-Ca4KQKYQ.js";
|
|
14
|
+
import { t as f } from "./carousel-B7OrvD6J.js";
|
|
15
|
+
import { t as p } from "./checkbox-DKSzExj2.js";
|
|
16
|
+
import { t as m } from "./chip-group-DjQ0_6Y9.js";
|
|
17
|
+
import { t as h } from "./copy-button-DCSLcYS-.js";
|
|
18
|
+
import { t as g } from "./code-block-B5we2lZa.js";
|
|
19
|
+
import { t as _ } from "./command-palette-BmQu2w4H.js";
|
|
20
|
+
import { t as v } from "./text-field-hU72iSVS.js";
|
|
21
|
+
import { t as y } from "./combobox-DFFqOBCi.js";
|
|
22
|
+
import { t as b } from "./comment-thread-ASaXDcGo.js";
|
|
23
|
+
import { t as x } from "./textarea-3k4Y0QQ3.js";
|
|
24
|
+
import { t as S } from "./container-BOaSptJa.js";
|
|
25
|
+
import { t as C } from "./menu-DDKgmK2F.js";
|
|
26
|
+
import { t as w } from "./context-menu-__1c2Dk9.js";
|
|
27
|
+
import { t as T } from "./date-picker-BiPN7yeK.js";
|
|
28
|
+
import { t as E } from "./date-range-picker-DQpUeKqV.js";
|
|
29
|
+
import { t as D } from "./dialog-BX1zYMs-.js";
|
|
30
|
+
import { t as O } from "./divider-Cp7aNbhM.js";
|
|
31
|
+
import { t as k } from "./drawer-DsASTiP-.js";
|
|
32
|
+
import { t as A } from "./elastic-slider-BG6K019r.js";
|
|
33
|
+
import { t as j } from "./empty-state-CDgrjPPf.js";
|
|
34
|
+
import { t as M } from "./expandable-card-rUATve0o.js";
|
|
35
|
+
import { t as N } from "./search-field-DMvho0KQ.js";
|
|
36
|
+
import { t as P } from "./expanding-search-BxOwtdwt.js";
|
|
37
|
+
import { t as F } from "./progress-DAQkfhPd.js";
|
|
38
|
+
import { t as I } from "./file-dropzone-BuXm3Tea.js";
|
|
39
|
+
import { t as L } from "./filter-toolbar-Cy5Hqur-.js";
|
|
40
|
+
import { t as R } from "./flex-Dh-_J5-U.js";
|
|
41
|
+
import { t as z } from "./hold-to-confirm-DjB2EVjM.js";
|
|
42
|
+
import { t as B } from "./image-compare-BxY8Ykzt.js";
|
|
43
|
+
import { t as V } from "./inline-edit-C0eeml65.js";
|
|
44
|
+
import { t as H } from "./hover-card-CoMJKg1g.js";
|
|
45
|
+
import { t as U } from "./json-viewer-DgWqyU75.js";
|
|
46
|
+
import { t as W } from "./kbd-C3ACoMoE.js";
|
|
47
|
+
import { n as G, r as K, t as q } from "./mention-input-sq61si9L.js";
|
|
48
|
+
import { t as J } from "./pill-BaS-uIbn.js";
|
|
49
|
+
import { t as Y } from "./metric-card--lVTz5Wn.js";
|
|
50
|
+
import { t as X } from "./multi-select-DG1BCFX7.js";
|
|
51
|
+
import { t as Z } from "./navigation-CC26JDr-.js";
|
|
52
|
+
import { t as Q } from "./pagination-BfkeWbmP.js";
|
|
53
|
+
import { t as $ } from "./password-field-03pWRkuY.js";
|
|
54
|
+
import { t as ee } from "./popover-CErIw2q3.js";
|
|
55
|
+
import { t as te } from "./radio-cards-Cu9cBssN.js";
|
|
56
|
+
import { t as ne } from "./radio-group-TIK0-iPX.js";
|
|
57
|
+
import { t as re } from "./resizable-panels-DUpQEpwG.js";
|
|
58
|
+
import { t as ie } from "./scroll-area-CcZyiSOQ.js";
|
|
59
|
+
import { t as ae } from "./segmented-control-8ZUGnsZm.js";
|
|
60
|
+
import { t as oe } from "./select-D5rhJ8gi.js";
|
|
61
|
+
import { i as se, n as ce, r as le, t as ue } from "./signature-pad-_bTeguN9.js";
|
|
62
|
+
import { t as de } from "./skeleton-XQQDkCHd.js";
|
|
63
|
+
import { t as fe } from "./slider-DVG6-Awh.js";
|
|
64
|
+
import { t as pe } from "./sortable-data-table-CYKT_Ng7.js";
|
|
65
|
+
import { t as me } from "./spinner-DtxvDPdM.js";
|
|
66
|
+
import { t as he } from "./split-button-BCw4zZom.js";
|
|
67
|
+
import { t as ge } from "./stack-DC3IbtWk.js";
|
|
68
|
+
import { t as _e } from "./stepper-CruHbXxX.js";
|
|
69
|
+
import { t as ve } from "./swipe-actions-CBuJREU1.js";
|
|
70
|
+
import { t as ye } from "./switch-C1WrKrf-.js";
|
|
71
|
+
import { t as be } from "./tabs-XluwRjgg.js";
|
|
72
|
+
import { t as xe } from "./tag-input-DSRCyrX2.js";
|
|
73
|
+
import { i as Se, n as Ce, r as we, t as Te } from "./theme-root-Bs1U3uPA.js";
|
|
74
|
+
import { t as Ee } from "./theme-switch-C505TtU8.js";
|
|
75
|
+
import { t as De } from "./time-picker-CPlhW0tr.js";
|
|
76
|
+
import { t as Oe } from "./timeline-B0uAAVfT.js";
|
|
77
|
+
import { a as ke, n as Ae } from "./toast-B7wo3sX1.js";
|
|
78
|
+
import "./toast.js";
|
|
79
|
+
import { t as je } from "./toast-stack-B40VpS4M.js";
|
|
80
|
+
import { t as Me } from "./toggle-group-B2fpFZwV.js";
|
|
81
|
+
import { t as Ne } from "./tooltip-BvgVTCTN.js";
|
|
82
|
+
import { t as Pe } from "./tree-view-j8qLqkb_.js";
|
|
83
|
+
import { t as Fe } from "./usage-meter-qyQ3rYVv.js";
|
|
84
|
+
import Ie from "@emotion/styled";
|
|
85
|
+
export { e as Accordion, t as Alert, i as AnnouncementBar, a as Avatar, o as AvatarGroup, s as Badge, c as BottomSheet, l as Breadcrumbs, n as Button, u as Calendar, d as Card, f as Carousel, p as Checkbox, m as ChipGroup, g as CodeBlock, y as Combobox, _ as CommandPalette, b as CommentThread, S as Container, w as ContextMenu, h as CopyButton, r as Countdown, T as DatePicker, E as DateRangePicker, D as Dialog, O as Divider, k as Drawer, A as ElasticSlider, j as EmptyState, M as ExpandableCard, P as ExpandingSearch, I as FileDropzone, L as FilterToolbar, R as Flex, z as HoldToConfirm, H as HoverCard, B as ImageCompare, V as InlineEdit, U as JsonViewer, W as Kbd, q as MentionInput, C as Menu, Y as MetricCard, X as MultiSelect, Z as Navigation, Q as Pagination, $ as PasswordField, J as Pill, ee as Popover, F as Progress, te as RadioCards, ne as RadioGroup, re as ResizablePanels, ie as ScrollArea, N as SearchField, ae as SegmentedControl, oe as Select, ue as SignatureExportError, ce as SignaturePad, de as Skeleton, fe as Slider, pe as SortableDataTable, me as Spinner, he as SplitButton, ge as Stack, _e as Stepper, ve as SwipeActions, ye as Switch, be as Tabs, xe as TagInput, v as TextField, x as Textarea, Ce as ThemeProvider, Te as ThemeRoot, Ee as ThemeSwitch, De as TimePicker, Oe as Timeline, Ae as Toast, je as ToastStack, Me as ToggleGroup, Ne as Tooltip, Pe as TreeView, Fe as UsageMeter, G as mentionText, K as serializeMentions, le as signatureToPng, se as signatureToSvg, Ie as styled, Se as theme, we as useTheme, ke as useToast };
|