@jfrader/ui 0.5.1 → 0.6.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 +18 -1
- package/dist/{accordion-DLul6vIl.js → accordion-D6myONB9.js} +36 -35
- package/dist/accordion.js +1 -1
- package/dist/activity-rings-Uszvwqdl.js +528 -0
- package/dist/activity-rings.js +2 -0
- package/dist/{alert-DS_einpy.js → alert-Bhj-qSMs.js} +15 -14
- package/dist/alert.js +1 -1
- package/dist/{announcement-bar-Dlbq5-9D.js → announcement-bar-B5J33QUh.js} +132 -131
- package/dist/announcement-bar.js +1 -1
- package/dist/{avatar-CaGJHy1N.js → avatar-B6idYC59.js} +11 -10
- package/dist/{avatar-group-M1opAQEG.js → avatar-group-DvP8mAE-.js} +10 -9
- package/dist/avatar-group.js +1 -1
- package/dist/avatar.js +1 -1
- package/dist/{badge-CjM5Agqk.js → badge-CfhTcA-Z.js} +10 -9
- package/dist/badge.js +1 -1
- package/dist/billing-toggle-CgC7yxxo.js +349 -0
- package/dist/billing-toggle.js +2 -0
- package/dist/{bottom-sheet-DjZOPq4k.js → bottom-sheet-BFQKO0Wo.js} +282 -264
- package/dist/bottom-sheet.js +1 -1
- package/dist/{breadcrumbs-BDK_LiwH.js → breadcrumbs-CG3akw-b.js} +19 -18
- package/dist/breadcrumbs.js +1 -1
- package/dist/{button-NLY0h6EJ.js → button-C6OV0C7J.js} +14 -13
- package/dist/button-group-B9wP2ddS.js +611 -0
- package/dist/button-group.js +2 -0
- package/dist/button.js +1 -1
- package/dist/calendar-Bg6D2sul.js +377 -0
- package/dist/calendar.js +1 -1
- package/dist/calendar.utils-azmB4Ej7.js +79 -0
- package/dist/card-C008OQCp.js +164 -0
- package/dist/card.js +1 -1
- package/dist/{carousel-B7OrvD6J.js → carousel-lTH4Foke.js} +13 -12
- package/dist/carousel.js +1 -1
- package/dist/chat-thread-DVa17BRC.js +864 -0
- package/dist/chat-thread.js +2 -0
- package/dist/{checkbox-DKSzExj2.js → checkbox-CClE61GV.js} +9 -8
- package/dist/checkbox.js +1 -1
- package/dist/{chip-group-DjQ0_6Y9.js → chip-group-BZUX9KPF.js} +17 -16
- package/dist/chip-group.js +1 -1
- package/dist/{choice-control-5kJkLXgv.js → choice-control-BsWOZPc9.js} +1 -1
- package/dist/{code-block-B5we2lZa.js → code-block-CYP89_6h.js} +35 -34
- package/dist/code-block.js +1 -1
- package/dist/{combobox-DFFqOBCi.js → combobox-D2Oc-co7.js} +21 -20
- package/dist/combobox.js +1 -1
- package/dist/command-palette-BrT1n9bb.js +394 -0
- package/dist/command-palette.js +1 -1
- package/dist/comment-thread-BnUHxviq.js +772 -0
- package/dist/comment-thread.js +1 -1
- package/dist/{container-BOaSptJa.js → container-BxtwJSSD.js} +3 -2
- package/dist/container.js +1 -1
- package/dist/{context-menu-__1c2Dk9.js → context-menu-I4i0LRpm.js} +52 -51
- package/dist/context-menu.js +1 -1
- package/dist/{copy-button-DCSLcYS-.js → copy-button-C0p_qrgf.js} +4 -4
- package/dist/copy-button.js +1 -1
- package/dist/{countdown-Dp_TD1VP.js → countdown-EcpV6rXy.js} +18 -17
- package/dist/countdown.js +1 -1
- package/dist/css-BYJhdGh-.js +2 -0
- package/dist/{date-picker-BiPN7yeK.js → date-picker-D-bn-iHs.js} +14 -13
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker-rXcZsI1Y.js +589 -0
- package/dist/date-range-picker.js +1 -1
- package/dist/dialog-CR1xdkrC.js +222 -0
- package/dist/dialog.js +1 -1
- package/dist/{divider-Cp7aNbhM.js → divider-zOJzkcHh.js} +7 -6
- package/dist/divider.js +1 -1
- package/dist/drawer-CceaEhCr.js +590 -0
- package/dist/drawer.js +1 -1
- package/dist/{empty-state-CDgrjPPf.js → empty-state-DO0ApylK.js} +2 -1
- package/dist/empty-state.js +1 -1
- package/dist/{expandable-card-rUATve0o.js → expandable-card-W97vjix9.js} +52 -51
- package/dist/expandable-card.js +1 -1
- package/dist/{expanding-search-BxOwtdwt.js → expanding-search-Bb2_YfNx.js} +16 -15
- package/dist/expanding-search.js +1 -1
- package/dist/{field-anatomy-COVdNpf5.js → field-anatomy-BDIP42MI.js} +2 -1
- package/dist/{file-dropzone-BuXm3Tea.js → file-dropzone-Bi5ikRIz.js} +14 -13
- package/dist/file-dropzone.js +1 -1
- package/dist/{filter-toolbar-Cy5Hqur-.js → filter-toolbar-QRnC4S_H.js} +33 -32
- package/dist/filter-toolbar.js +1 -1
- package/dist/{flex-Dh-_J5-U.js → flex-CS7eMRcK.js} +2 -2
- package/dist/flex.js +1 -1
- package/dist/{hold-to-confirm-DjB2EVjM.js → hold-to-confirm-CVBA0wNT.js} +18 -17
- package/dist/hold-to-confirm.js +1 -1
- package/dist/{hover-card-CoMJKg1g.js → hover-card-DN1EAlQA.js} +20 -19
- package/dist/hover-card.js +1 -1
- package/dist/{icon-wrapper-stN8sD7R.js → icon-wrapper-C-zMD0uL.js} +1 -1
- package/dist/{image-compare-BxY8Ykzt.js → image-compare-Ln2UUqTU.js} +20 -19
- package/dist/image-compare.js +1 -1
- package/dist/index.js +98 -83
- package/dist/{inline-edit-C0eeml65.js → inline-edit-D-pR2RPC.js} +22 -21
- package/dist/inline-edit.js +1 -1
- package/dist/{input-control-DmMuAuPS.js → input-control-B6HVBgwl.js} +1 -1
- package/dist/{json-viewer-DgWqyU75.js → json-viewer-Dro3WrjS.js} +31 -30
- package/dist/json-viewer.js +1 -1
- package/dist/{kbd-C3ACoMoE.js → kbd-BI_9qzYr.js} +2 -1
- package/dist/kbd.js +1 -1
- package/dist/keycap-keyboard-Cdx-OAS1.js +311 -0
- package/dist/keycap-keyboard.js +2 -0
- package/dist/{layout-style-Cbd1Vilw.js → layout-style-BE0gSqrH.js} +1 -1
- package/dist/lightbox-gallery-D0YaSTut.js +777 -0
- package/dist/lightbox-gallery.js +2 -0
- package/dist/link-unfurl-CReyIjyy.js +695 -0
- package/dist/link-unfurl.js +2 -0
- package/dist/{listbox-style-WX-RASp1.js → listbox-style-DNOxAulu.js} +1 -1
- package/dist/{loading-ring-B8-30Dl1.js → loading-ring-D0lGrK8z.js} +1 -1
- package/dist/locale-switcher-CZF7XNYG.js +295 -0
- package/dist/locale-switcher.js +2 -0
- package/dist/{mention-input-sq61si9L.js → mention-input-BjjAbJCf.js} +6 -6
- package/dist/mention-input.js +1 -1
- package/dist/{menu-DDKgmK2F.js → menu-CVzpsyXn.js} +113 -96
- package/dist/menu.js +1 -1
- package/dist/{metric-card--lVTz5Wn.js → metric-card-BnFssTXj.js} +12 -11
- package/dist/metric-card.js +1 -1
- package/dist/{multi-select-DG1BCFX7.js → multi-select-B3puEVo0.js} +67 -66
- package/dist/multi-select.js +1 -1
- package/dist/{navigation-CC26JDr-.js → navigation-C_JD43gA.js} +41 -40
- package/dist/navigation.js +1 -1
- package/dist/next.js +65 -0
- package/dist/now-playing-DjVm1Phm.js +439 -0
- package/dist/now-playing.js +2 -0
- package/dist/overlay-motion-Cr77ihn2.js +90 -0
- package/dist/{overlay-portal-C4JZFq2M.js → overlay-portal-C9igMHnC.js} +1 -1
- package/dist/{pagination-BfkeWbmP.js → pagination-Dkh4bJQh.js} +10 -9
- package/dist/pagination.js +1 -1
- package/dist/{password-field-03pWRkuY.js → password-field-Da58GP1g.js} +4 -4
- package/dist/password-field.js +1 -1
- package/dist/photo-grid-Dtl17D74.js +830 -0
- package/dist/photo-grid.js +2 -0
- package/dist/{pill-BaS-uIbn.js → pill-Dd7pog19.js} +10 -9
- package/dist/pill.js +1 -1
- package/dist/{popover-CErIw2q3.js → popover-CUMOcMtj.js} +5 -4
- package/dist/popover.js +1 -1
- package/dist/presence-spring-4zwtUDQN.js +12 -0
- package/dist/{progress-DAQkfhPd.js → progress-Bcuz3Ob4.js} +11 -10
- package/dist/progress.js +1 -1
- package/dist/{radio-cards-Cu9cBssN.js → radio-cards-FkAhESb5.js} +35 -34
- package/dist/radio-cards.js +1 -1
- package/dist/{radio-group-TIK0-iPX.js → radio-group-DItMf2YM.js} +18 -17
- package/dist/radio-group.js +1 -1
- package/dist/{resizable-panels-DUpQEpwG.js → resizable-panels-61h9hA3B.js} +13 -12
- package/dist/resizable-panels.js +1 -1
- package/dist/{scroll-area-CcZyiSOQ.js → scroll-area-B8KkCPOM.js} +16 -15
- package/dist/scroll-area.js +1 -1
- package/dist/{search-field-DMvho0KQ.js → search-field-CbsajaZb.js} +93 -92
- package/dist/search-field.js +1 -1
- package/dist/{segmented-control-8ZUGnsZm.js → segmented-control-DCh-4ca-.js} +26 -25
- package/dist/segmented-control.js +1 -1
- package/dist/{select-D5rhJ8gi.js → select-SrcQqZjo.js} +27 -26
- package/dist/select.js +1 -1
- package/dist/sheet-stack-DYX1SGSB.js +820 -0
- package/dist/sheet-stack.js +2 -0
- package/dist/shortcut-recorder-VgTQdjjn.js +688 -0
- package/dist/shortcut-recorder.js +2 -0
- package/dist/{signature-pad-_bTeguN9.js → signature-pad-khL2yhQI.js} +15 -14
- package/dist/signature-pad.js +1 -1
- package/dist/{skeleton-XQQDkCHd.js → skeleton-LJsQsveI.js} +9 -8
- package/dist/skeleton.js +1 -1
- package/dist/slider-DjAnGmlC.js +535 -0
- package/dist/slider.js +1 -1
- package/dist/{sortable-data-table-CYKT_Ng7.js → sortable-data-table-Bpitup_d.js} +29 -28
- package/dist/sortable-data-table.js +1 -1
- package/dist/{spinner-DtxvDPdM.js → spinner-CvzajSg9.js} +11 -10
- package/dist/spinner.js +1 -1
- package/dist/{split-button-BCw4zZom.js → split-button-Bu41f2AY.js} +20 -19
- package/dist/split-button.js +1 -1
- package/dist/{stack-DC3IbtWk.js → stack-Bac4sJeI.js} +2 -2
- package/dist/stack.js +1 -1
- package/dist/{stepper-CruHbXxX.js → stepper-C8Ncavbr.js} +22 -21
- package/dist/stepper.js +1 -1
- package/dist/stretch-refresh-OrnTEj7P.js +349 -0
- package/dist/stretch-refresh.js +2 -0
- package/dist/{surface-DZ4d-2aL.js → surface-C69kwSuk.js} +13 -3
- package/dist/{swipe-actions-CBuJREU1.js → swipe-actions-1H5UOZKE.js} +26 -25
- package/dist/swipe-actions.js +1 -1
- package/dist/{switch-C1WrKrf-.js → switch-79-hkQqg.js} +15 -14
- package/dist/switch.js +1 -1
- package/dist/sx-BJXJ2xJK.js +23 -0
- package/dist/{tabs-XluwRjgg.js → tabs-Bb5-noYE.js} +43 -42
- package/dist/tabs.js +1 -1
- package/dist/{tag-input-DSRCyrX2.js → tag-input-BQaueKEb.js} +5 -5
- package/dist/tag-input.js +1 -1
- package/dist/{text-field-hU72iSVS.js → text-field-D0VP7b4P.js} +3 -3
- package/dist/text-field.js +1 -1
- package/dist/{textarea-3k4Y0QQ3.js → textarea-D1YwEPmn.js} +3 -3
- package/dist/textarea.js +1 -1
- package/dist/theme-provider-BvcY-iJu.js +20 -0
- package/dist/theme-root-BrYVcTzt.js +163 -0
- package/dist/theme-root.js +1 -1
- package/dist/theme-scope-DGWy4H0C.js +62 -0
- package/dist/{theme-switch-C505TtU8.js → theme-switch-CP42mVDb.js} +12 -11
- package/dist/theme-switch.js +1 -1
- package/dist/thread-parts-DfZNz70v.js +683 -0
- package/dist/{time-picker-CPlhW0tr.js → time-picker-Tnd-JBLC.js} +16 -15
- package/dist/time-picker.js +1 -1
- package/dist/{timeline-B0uAAVfT.js → timeline-DaldDMX7.js} +22 -21
- package/dist/timeline.js +1 -1
- package/dist/{toast-B7wo3sX1.js → toast-CSAbl5yK.js} +12 -11
- package/dist/{toast-stack-B40VpS4M.js → toast-stack-BCR4Cu7V.js} +10 -9
- package/dist/toast-stack.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/{toggle-group-B2fpFZwV.js → toggle-group-C7ye1v4s.js} +23 -22
- package/dist/toggle-group.js +1 -1
- package/dist/{tooltip-BvgVTCTN.js → tooltip-IajLwdUb.js} +48 -39
- package/dist/tooltip.js +1 -1
- package/dist/{tree-view-j8qLqkb_.js → tree-view-CoW4oJIZ.js} +15 -14
- package/dist/tree-view.js +1 -1
- package/dist/{trigger-style-B1KVC8O1.js → trigger-style-CtOrdPk4.js} +1 -1
- package/dist/types/components/activity-rings/activity-rings.d.ts +115 -0
- package/dist/types/components/activity-rings/index.d.ts +2 -0
- package/dist/types/components/billing-toggle/billing-toggle.d.ts +57 -0
- package/dist/types/components/billing-toggle/index.d.ts +2 -0
- package/dist/types/components/button-group/button-group.d.ts +72 -0
- package/dist/types/components/button-group/index.d.ts +2 -0
- package/dist/types/components/card/card.d.ts +4 -1
- package/dist/types/components/chat-thread/chat-thread.d.ts +130 -0
- package/dist/types/components/chat-thread/index.d.ts +2 -0
- package/dist/types/components/comment-thread/comment-thread.d.ts +3 -3
- package/dist/types/components/drawer/drawer.d.ts +7 -1
- package/dist/types/components/keycap-keyboard/index.d.ts +2 -0
- package/dist/types/components/keycap-keyboard/keycap-keyboard.d.ts +32 -0
- package/dist/types/components/lightbox-gallery/index.d.ts +2 -0
- package/dist/types/components/lightbox-gallery/lightbox-gallery.d.ts +74 -0
- package/dist/types/components/link-unfurl/index.d.ts +2 -0
- package/dist/types/components/link-unfurl/link-unfurl.d.ts +94 -0
- package/dist/types/components/locale-switcher/index.d.ts +2 -0
- package/dist/types/components/locale-switcher/locale-switcher.d.ts +58 -0
- package/dist/types/components/menu/menu.d.ts +29 -5
- package/dist/types/components/next/emotion-registry.d.ts +16 -0
- package/dist/types/components/next/index.d.ts +2 -0
- package/dist/types/components/next/registry.d.ts +21 -0
- package/dist/types/components/now-playing/index.d.ts +1 -0
- package/dist/types/components/now-playing/now-playing.d.ts +88 -0
- package/dist/types/components/photo-grid/index.d.ts +2 -0
- package/dist/types/components/photo-grid/photo-grid.d.ts +82 -0
- package/dist/types/components/sheet-stack/index.d.ts +2 -0
- package/dist/types/components/sheet-stack/sheet-stack.d.ts +78 -0
- package/dist/types/components/shortcut-recorder/index.d.ts +2 -0
- package/dist/types/components/shortcut-recorder/shortcut-recorder.d.ts +117 -0
- package/dist/types/components/stretch-refresh/index.d.ts +1 -0
- package/dist/types/components/stretch-refresh/stretch-refresh.d.ts +49 -0
- package/dist/types/components/theme-root/index.d.ts +1 -0
- package/dist/types/components/theme-root/theme-root.d.ts +9 -1
- package/dist/types/components/{comment-thread → thread}/thread-parts.d.ts +7 -2
- package/dist/types/components/tooltip/tooltip.d.ts +8 -1
- package/dist/types/components/usage-meter/usage-meter.d.ts +2 -12
- package/dist/types/components/usage-meter/usage-model.d.ts +30 -0
- package/dist/types/components/user-menu/index.d.ts +2 -0
- package/dist/types/components/user-menu/user-menu.d.ts +119 -0
- package/dist/types/index.d.ts +14 -1
- package/dist/types/overlay/exit-motion.d.ts +24 -0
- package/dist/types/overlay/presence-spring.d.ts +12 -0
- package/dist/types/overlay/use-native-dialog.d.ts +10 -1
- package/dist/types/styling/create-theme.d.ts +24 -0
- package/dist/types/styling/css.d.ts +1 -1
- package/dist/types/styling/overlay-motion.d.ts +95 -0
- package/dist/types/styling/surface.d.ts +7 -0
- package/dist/types/styling/theme-scope.d.ts +29 -3
- package/dist/types/styling/theme.d.ts +5 -0
- package/dist/{usage-meter-qyQ3rYVv.js → usage-meter-CYvlB6l3.js} +165 -175
- package/dist/usage-meter.js +1 -1
- package/dist/usage-model-C0fS47w4.js +32 -0
- package/dist/use-native-dialog-FB0p7lkg.js +93 -0
- package/dist/use-scroll-lock-40gXwwAy.js +23 -0
- package/dist/user-menu-DzELTg1x.js +757 -0
- package/dist/user-menu.js +2 -0
- package/dist/{visually-hidden-BJdvqqvn.js → visually-hidden-DgVO3NaB.js} +1 -1
- package/package.json +72 -6
- package/dist/calendar-BzJdv_SZ.js +0 -449
- package/dist/card-Ca4KQKYQ.js +0 -154
- package/dist/command-palette-BmQu2w4H.js +0 -391
- package/dist/comment-thread-ASaXDcGo.js +0 -1410
- package/dist/date-range-picker-DQpUeKqV.js +0 -570
- package/dist/dialog-BX1zYMs-.js +0 -219
- package/dist/drawer-DsASTiP-.js +0 -553
- package/dist/elastic-slider-BG6K019r.js +0 -395
- package/dist/elastic-slider.js +0 -2
- package/dist/slider-DVG6-Awh.js +0 -308
- package/dist/sx-Dx9JUKp5.js +0 -23
- package/dist/theme-root-Bs1U3uPA.js +0 -46
- package/dist/theme-scope-t7nAKc2c.js +0 -27
- package/dist/types/components/elastic-slider/elastic-slider.d.ts +0 -53
- package/dist/types/components/elastic-slider/index.d.ts +0 -1
- package/dist/use-native-dialog-DWpIUVO1.js +0 -84
- package/dist/use-slider-interaction-ChL-208h.js +0 -234
- /package/dist/types/components/{comment-thread → thread}/thread-core.d.ts +0 -0
package/dist/card-Ca4KQKYQ.js
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { r as e, t } from "./sx-Dx9JUKp5.js";
|
|
3
|
-
import { n } from "./surface-DZ4d-2aL.js";
|
|
4
|
-
import { createContext as r, useContext as i } from "react";
|
|
5
|
-
import { vars as a } from "@jfrader/tokens/vars";
|
|
6
|
-
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
7
|
-
//#region src/components/card/card.tsx
|
|
8
|
-
var s = r(void 0);
|
|
9
|
-
function c(...e) {
|
|
10
|
-
return e.filter(Boolean).join(" ") || void 0;
|
|
11
|
-
}
|
|
12
|
-
var l = e({
|
|
13
|
-
...n,
|
|
14
|
-
minInlineSize: 0,
|
|
15
|
-
borderRadius: a.radius.lg,
|
|
16
|
-
paddingBlock: a.space[4],
|
|
17
|
-
paddingInline: a.space[5]
|
|
18
|
-
}), u = {
|
|
19
|
-
flat: e({ boxShadow: "none" }),
|
|
20
|
-
raised: e({ boxShadow: a.shadow.raised })
|
|
21
|
-
}, d = e({
|
|
22
|
-
display: "grid",
|
|
23
|
-
gap: a.space[1],
|
|
24
|
-
marginBlockEnd: a.space[4]
|
|
25
|
-
}), f = e({
|
|
26
|
-
margin: 0,
|
|
27
|
-
fontSize: a.textSize.md,
|
|
28
|
-
fontWeight: a.fontWeight.semibold,
|
|
29
|
-
lineHeight: a.lineHeight.tight,
|
|
30
|
-
color: a.color.text
|
|
31
|
-
}), p = e({
|
|
32
|
-
margin: 0,
|
|
33
|
-
fontSize: a.textSize.sm,
|
|
34
|
-
color: a.color.textMuted
|
|
35
|
-
}), m = e({
|
|
36
|
-
fontSize: a.textSize.sm,
|
|
37
|
-
color: a.color.text
|
|
38
|
-
}), h = e({
|
|
39
|
-
display: "flex",
|
|
40
|
-
flexWrap: "wrap",
|
|
41
|
-
alignItems: "center",
|
|
42
|
-
justifyContent: "space-between",
|
|
43
|
-
gap: a.space[2],
|
|
44
|
-
marginBlockStart: a.space[4],
|
|
45
|
-
paddingBlockStart: a.space[4],
|
|
46
|
-
borderBlockStart: `1px solid ${a.color.borderSubtle}`,
|
|
47
|
-
"& > :only-child": { marginInlineStart: "auto" }
|
|
48
|
-
});
|
|
49
|
-
function g({ ref: e, variant: n = "raised", slotProps: r, className: i, sx: a, ...d }) {
|
|
50
|
-
return /* @__PURE__ */ o(s.Provider, {
|
|
51
|
-
value: r,
|
|
52
|
-
children: /* @__PURE__ */ o(t, {
|
|
53
|
-
className: c(r?.root?.className, i),
|
|
54
|
-
styles: [
|
|
55
|
-
l,
|
|
56
|
-
u[n],
|
|
57
|
-
r?.root?.css
|
|
58
|
-
],
|
|
59
|
-
sx: a,
|
|
60
|
-
children: (t) => /* @__PURE__ */ o("div", {
|
|
61
|
-
...d,
|
|
62
|
-
ref: e,
|
|
63
|
-
"data-ui": "card",
|
|
64
|
-
"data-variant": n,
|
|
65
|
-
className: t
|
|
66
|
-
})
|
|
67
|
-
})
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
g.displayName = "Card";
|
|
71
|
-
function _({ ref: e, className: n, sx: r, ...a }) {
|
|
72
|
-
let l = i(s)?.header;
|
|
73
|
-
return /* @__PURE__ */ o(t, {
|
|
74
|
-
className: c(l?.className, n),
|
|
75
|
-
styles: [d, l?.css],
|
|
76
|
-
sx: r,
|
|
77
|
-
children: (t) => /* @__PURE__ */ o("div", {
|
|
78
|
-
...a,
|
|
79
|
-
ref: e,
|
|
80
|
-
"data-ui": "card-header",
|
|
81
|
-
className: t
|
|
82
|
-
})
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
_.displayName = "Card.Header";
|
|
86
|
-
function v({ ref: e, level: n = 3, className: r, sx: a, ...l }) {
|
|
87
|
-
let u = i(s)?.title, d = `h${n}`;
|
|
88
|
-
return /* @__PURE__ */ o(t, {
|
|
89
|
-
className: c(u?.className, r),
|
|
90
|
-
styles: [f, u?.css],
|
|
91
|
-
sx: a,
|
|
92
|
-
children: (t) => /* @__PURE__ */ o(d, {
|
|
93
|
-
...l,
|
|
94
|
-
ref: e,
|
|
95
|
-
"data-ui": "card-title",
|
|
96
|
-
className: t
|
|
97
|
-
})
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
v.displayName = "Card.Title";
|
|
101
|
-
function y({ ref: e, className: n, sx: r, ...a }) {
|
|
102
|
-
let l = i(s)?.description;
|
|
103
|
-
return /* @__PURE__ */ o(t, {
|
|
104
|
-
className: c(l?.className, n),
|
|
105
|
-
styles: [p, l?.css],
|
|
106
|
-
sx: r,
|
|
107
|
-
children: (t) => /* @__PURE__ */ o("p", {
|
|
108
|
-
...a,
|
|
109
|
-
ref: e,
|
|
110
|
-
"data-ui": "card-description",
|
|
111
|
-
className: t
|
|
112
|
-
})
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
y.displayName = "Card.Description";
|
|
116
|
-
function b({ ref: e, className: n, sx: r, ...a }) {
|
|
117
|
-
let l = i(s)?.content;
|
|
118
|
-
return /* @__PURE__ */ o(t, {
|
|
119
|
-
className: c(l?.className, n),
|
|
120
|
-
styles: [m, l?.css],
|
|
121
|
-
sx: r,
|
|
122
|
-
children: (t) => /* @__PURE__ */ o("div", {
|
|
123
|
-
...a,
|
|
124
|
-
ref: e,
|
|
125
|
-
"data-ui": "card-content",
|
|
126
|
-
className: t
|
|
127
|
-
})
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
b.displayName = "Card.Content";
|
|
131
|
-
function x({ ref: e, className: n, sx: r, ...a }) {
|
|
132
|
-
let l = i(s)?.footer;
|
|
133
|
-
return /* @__PURE__ */ o(t, {
|
|
134
|
-
className: c(l?.className, n),
|
|
135
|
-
styles: [h, l?.css],
|
|
136
|
-
sx: r,
|
|
137
|
-
children: (t) => /* @__PURE__ */ o("div", {
|
|
138
|
-
...a,
|
|
139
|
-
ref: e,
|
|
140
|
-
"data-ui": "card-footer",
|
|
141
|
-
className: t
|
|
142
|
-
})
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
x.displayName = "Card.Footer";
|
|
146
|
-
var S = Object.assign(g, {
|
|
147
|
-
Header: _,
|
|
148
|
-
Title: v,
|
|
149
|
-
Description: y,
|
|
150
|
-
Content: b,
|
|
151
|
-
Footer: x
|
|
152
|
-
});
|
|
153
|
-
//#endregion
|
|
154
|
-
export { S as t };
|
|
@@ -1,391 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { r as e, t } from "./sx-Dx9JUKp5.js";
|
|
3
|
-
import { t as n } from "./focus-ring-BK5W5_NY.js";
|
|
4
|
-
import { t as r } from "./use-controlled-state-DpeVQZNR.js";
|
|
5
|
-
import { t as i } from "./visually-hidden-BJdvqqvn.js";
|
|
6
|
-
import { t as a } from "./renderable-DzcIj1Lo.js";
|
|
7
|
-
import { n as o, t as s } from "./surface-DZ4d-2aL.js";
|
|
8
|
-
import { t as c } from "./trigger-style-B1KVC8O1.js";
|
|
9
|
-
import { t as l } from "./overlay-layer-qEbpEtb8.js";
|
|
10
|
-
import { i as u, r as d, t as f } from "./use-native-dialog-DWpIUVO1.js";
|
|
11
|
-
import { n as p, t as m } from "./listbox-style-WX-RASp1.js";
|
|
12
|
-
import { a as h, r as g, t as _ } from "./collection-registry-k6JcD3Jr.js";
|
|
13
|
-
import { createContext as v, useCallback as y, useContext as b, useId as x, useMemo as S, useRef as C, useState as w } from "react";
|
|
14
|
-
import { vars as T } from "@jfrader/tokens/vars";
|
|
15
|
-
import { jsx as E, jsxs as D } from "@emotion/react/jsx-runtime";
|
|
16
|
-
import { FloatingList as O, useFloatingRootContext as k, useInteractions as A, useListNavigation as j, useMergeRefs as M } from "@floating-ui/react";
|
|
17
|
-
//#region src/components/command-palette/command-palette.styles.ts
|
|
18
|
-
var N = e({
|
|
19
|
-
...s,
|
|
20
|
-
marginBlockStart: T.space[12]
|
|
21
|
-
}), P = e({
|
|
22
|
-
...o,
|
|
23
|
-
display: "flex",
|
|
24
|
-
flexDirection: "column",
|
|
25
|
-
borderRadius: T.radius.lg,
|
|
26
|
-
boxShadow: T.shadow.floating,
|
|
27
|
-
inlineSize: "min(560px, calc(100vw - 32px))"
|
|
28
|
-
}), F = e({
|
|
29
|
-
boxSizing: "border-box",
|
|
30
|
-
inlineSize: "100%",
|
|
31
|
-
blockSize: "48px",
|
|
32
|
-
margin: 0,
|
|
33
|
-
border: 0,
|
|
34
|
-
borderBlockEnd: `1px solid ${T.color.borderControl}`,
|
|
35
|
-
borderStartStartRadius: T.radius.lg,
|
|
36
|
-
borderStartEndRadius: T.radius.lg,
|
|
37
|
-
backgroundColor: "transparent",
|
|
38
|
-
paddingInline: T.space[4],
|
|
39
|
-
font: "inherit",
|
|
40
|
-
fontSize: T.textSize.md,
|
|
41
|
-
color: T.color.text,
|
|
42
|
-
"&::placeholder": { color: T.color.textSubtle },
|
|
43
|
-
"&:focus-visible": { ...n }
|
|
44
|
-
}), I = e({
|
|
45
|
-
boxSizing: "border-box",
|
|
46
|
-
display: "flex",
|
|
47
|
-
flexDirection: "column",
|
|
48
|
-
maxBlockSize: "320px",
|
|
49
|
-
overflow: "auto",
|
|
50
|
-
padding: T.space[1],
|
|
51
|
-
"&[hidden]": { display: "none" }
|
|
52
|
-
}), L = e({
|
|
53
|
-
display: "flex",
|
|
54
|
-
flexDirection: "column",
|
|
55
|
-
"&[hidden]": { display: "none" }
|
|
56
|
-
}), ee = e({
|
|
57
|
-
paddingBlock: T.space[1],
|
|
58
|
-
paddingInline: T.space[2],
|
|
59
|
-
fontSize: T.textSize.xs,
|
|
60
|
-
fontWeight: T.fontWeight.medium,
|
|
61
|
-
color: T.color.textMuted
|
|
62
|
-
}), te = e({
|
|
63
|
-
minInlineSize: 0,
|
|
64
|
-
overflowWrap: "anywhere",
|
|
65
|
-
"&[hidden]": { display: "none" }
|
|
66
|
-
}), R = e({
|
|
67
|
-
paddingBlock: T.space[6],
|
|
68
|
-
paddingInline: T.space[4],
|
|
69
|
-
textAlign: "center",
|
|
70
|
-
fontSize: T.textSize.sm,
|
|
71
|
-
color: T.color.textMuted
|
|
72
|
-
}), ne = "Command palette", re = "No results", z = new Intl.PluralRules("en"), ie = (e, t) => e.toLocaleLowerCase().includes(t.toLocaleLowerCase()), ae = (e) => `${e} ${z.select(e) === "one" ? "result" : "results"}`, B = v(null), V = v(null);
|
|
73
|
-
function H(e) {
|
|
74
|
-
let t = b(B);
|
|
75
|
-
if (!t) throw Error(`CommandPalette.${e} must be rendered inside <CommandPalette>.`);
|
|
76
|
-
return t;
|
|
77
|
-
}
|
|
78
|
-
var U = (e) => {
|
|
79
|
-
e?.setAttribute("autofocus", "");
|
|
80
|
-
};
|
|
81
|
-
function W({ open: e, defaultOpen: t = !1, onOpenChange: n, label: i = ne, filter: a = ie, emptyMessage: o = re, formatResultCount: s = ae, children: c }) {
|
|
82
|
-
let l = x(), [d = !1, f] = r(e, t, n), { dialogElementRef: p, setDialogElement: m, setOpen: g, requestClose: _, repairToken: v } = u(d, f), [b, T] = w(""), [D, O] = w(!1), [M, N] = w(null), [P, F] = h(), [I, L] = w(null), [ee, te] = w(null), [R, z] = w(d), V = C([]);
|
|
83
|
-
d !== R && (z(d), d && (T(""), O(!1), N(null)));
|
|
84
|
-
let H = y(() => {
|
|
85
|
-
g(!(d && p.current?.open));
|
|
86
|
-
}, [
|
|
87
|
-
d,
|
|
88
|
-
g,
|
|
89
|
-
p
|
|
90
|
-
]), { matchedValues: U, matchedIndices: W, visibleGroupIds: G } = S(() => {
|
|
91
|
-
let e = /* @__PURE__ */ new Set(), t = [], n = /* @__PURE__ */ new Set();
|
|
92
|
-
return P.forEach((r, i) => {
|
|
93
|
-
r.index !== -1 && (b === "" || a(r.label, b) || r.keywords !== void 0 && a(r.keywords, b)) && (e.add(i), r.disabled || t.push(r.index), r.groupId !== null && n.add(r.groupId));
|
|
94
|
-
}), t.sort((e, t) => e - t), {
|
|
95
|
-
matchedValues: e,
|
|
96
|
-
matchedIndices: t,
|
|
97
|
-
visibleGroupIds: n
|
|
98
|
-
};
|
|
99
|
-
}, [
|
|
100
|
-
P,
|
|
101
|
-
b,
|
|
102
|
-
a
|
|
103
|
-
]), K = S(() => new Set(W), [W]), q = M !== null && K.has(M) ? M : W[0] ?? null, J = k({
|
|
104
|
-
open: d,
|
|
105
|
-
onOpenChange: (e) => g(e),
|
|
106
|
-
elements: {
|
|
107
|
-
reference: I,
|
|
108
|
-
floating: ee
|
|
109
|
-
}
|
|
110
|
-
}), Y = j(J, {
|
|
111
|
-
listRef: V,
|
|
112
|
-
activeIndex: q,
|
|
113
|
-
onNavigate: (e) => {
|
|
114
|
-
e !== null && N(e);
|
|
115
|
-
},
|
|
116
|
-
virtual: !0,
|
|
117
|
-
loop: !0,
|
|
118
|
-
focusItemOnOpen: !1,
|
|
119
|
-
disabledIndices: (e) => !K.has(e)
|
|
120
|
-
}), { getReferenceProps: X, getFloatingProps: Z, getItemProps: Q } = A([Y]), $ = U.size, oe = D ? s($) : "", se = S(() => ({
|
|
121
|
-
open: d,
|
|
122
|
-
setOpen: g,
|
|
123
|
-
toggleOpen: H,
|
|
124
|
-
requestClose: _,
|
|
125
|
-
repairToken: v,
|
|
126
|
-
setDialogElement: m,
|
|
127
|
-
label: i,
|
|
128
|
-
emptyMessage: o,
|
|
129
|
-
baseId: l,
|
|
130
|
-
listId: `${l}-list`,
|
|
131
|
-
query: b,
|
|
132
|
-
announcement: oe,
|
|
133
|
-
matchCount: $,
|
|
134
|
-
matchedValues: U,
|
|
135
|
-
visibleGroupIds: G,
|
|
136
|
-
activeIndex: q,
|
|
137
|
-
elementsRef: V,
|
|
138
|
-
setInputElement: L,
|
|
139
|
-
setListElement: te,
|
|
140
|
-
getReferenceProps: X,
|
|
141
|
-
getFloatingProps: Z,
|
|
142
|
-
getItemProps: Q,
|
|
143
|
-
changeQuery: (e) => {
|
|
144
|
-
T(e), O(!0), N(null);
|
|
145
|
-
},
|
|
146
|
-
moveToEdge: (e) => {
|
|
147
|
-
let t = e === "first" ? W[0] : W[W.length - 1];
|
|
148
|
-
t !== void 0 && N(t);
|
|
149
|
-
},
|
|
150
|
-
registration: F
|
|
151
|
-
}), [
|
|
152
|
-
d,
|
|
153
|
-
g,
|
|
154
|
-
H,
|
|
155
|
-
_,
|
|
156
|
-
v,
|
|
157
|
-
m,
|
|
158
|
-
i,
|
|
159
|
-
o,
|
|
160
|
-
l,
|
|
161
|
-
b,
|
|
162
|
-
oe,
|
|
163
|
-
$,
|
|
164
|
-
U,
|
|
165
|
-
W,
|
|
166
|
-
G,
|
|
167
|
-
q,
|
|
168
|
-
X,
|
|
169
|
-
Z,
|
|
170
|
-
Q,
|
|
171
|
-
F
|
|
172
|
-
]);
|
|
173
|
-
return /* @__PURE__ */ E(B.Provider, {
|
|
174
|
-
value: se,
|
|
175
|
-
children: c
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
function G(e) {
|
|
179
|
-
return /* @__PURE__ */ E(l, { children: /* @__PURE__ */ E(W, { ...e }) });
|
|
180
|
-
}
|
|
181
|
-
G.displayName = "CommandPalette";
|
|
182
|
-
function K({ ref: e, onClick: n, className: r, sx: i, ...a }) {
|
|
183
|
-
let { open: o, toggleOpen: s } = H("Trigger"), l = (e) => {
|
|
184
|
-
n?.(e), e.defaultPrevented || s();
|
|
185
|
-
};
|
|
186
|
-
return /* @__PURE__ */ E(t, {
|
|
187
|
-
className: r,
|
|
188
|
-
styles: c,
|
|
189
|
-
sx: i,
|
|
190
|
-
children: (t) => /* @__PURE__ */ E("button", {
|
|
191
|
-
type: "button",
|
|
192
|
-
...a,
|
|
193
|
-
ref: e,
|
|
194
|
-
"data-ui": "command-palette-trigger",
|
|
195
|
-
"aria-haspopup": "dialog",
|
|
196
|
-
"aria-expanded": o,
|
|
197
|
-
onClick: l,
|
|
198
|
-
className: t
|
|
199
|
-
})
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
K.displayName = "CommandPalette.Trigger";
|
|
203
|
-
function q({ ref: e, className: n, sx: r, ...a }) {
|
|
204
|
-
let { children: o, onCancel: s, onClick: c, onClose: l, ...u } = f(a), p = H("Content"), { label: m, announcement: h } = p, g = d(p, {
|
|
205
|
-
onCancel: s,
|
|
206
|
-
onClick: c,
|
|
207
|
-
onClose: l
|
|
208
|
-
}, e);
|
|
209
|
-
return /* @__PURE__ */ E(t, {
|
|
210
|
-
className: n,
|
|
211
|
-
styles: N,
|
|
212
|
-
sx: r,
|
|
213
|
-
children: (e) => /* @__PURE__ */ E("dialog", {
|
|
214
|
-
"aria-label": m,
|
|
215
|
-
...u,
|
|
216
|
-
...g,
|
|
217
|
-
"data-ui": "command-palette",
|
|
218
|
-
"aria-modal": "true",
|
|
219
|
-
className: e,
|
|
220
|
-
children: /* @__PURE__ */ D("div", {
|
|
221
|
-
css: P,
|
|
222
|
-
children: [o, /* @__PURE__ */ E("div", {
|
|
223
|
-
role: "status",
|
|
224
|
-
"aria-live": "polite",
|
|
225
|
-
"aria-atomic": "true",
|
|
226
|
-
css: i,
|
|
227
|
-
children: h
|
|
228
|
-
})]
|
|
229
|
-
})
|
|
230
|
-
})
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
q.displayName = "CommandPalette.Content";
|
|
234
|
-
function J({ ref: e, onChange: n, onKeyDown: r, className: i, sx: a, ...o }) {
|
|
235
|
-
let { label: s, listId: c, query: l, matchCount: u, activeIndex: d, elementsRef: f, requestClose: p, setInputElement: m, getReferenceProps: h, changeQuery: g, moveToEdge: _ } = H("Input"), v = M([
|
|
236
|
-
m,
|
|
237
|
-
U,
|
|
238
|
-
e
|
|
239
|
-
]), y = (e) => {
|
|
240
|
-
n?.(e), g(e.currentTarget.value);
|
|
241
|
-
}, b = (e) => {
|
|
242
|
-
r?.(e), !(e.defaultPrevented || e.nativeEvent.isComposing) && (e.key === "Escape" ? (e.preventDefault(), p()) : (e.key === "Home" || e.key === "End") && !e.shiftKey && !e.ctrlKey && !e.metaKey && !e.altKey ? (e.preventDefault(), _(e.key === "Home" ? "first" : "last")) : e.key === "Enter" && d !== null && (e.preventDefault(), f.current[d]?.click()));
|
|
243
|
-
};
|
|
244
|
-
return /* @__PURE__ */ E(t, {
|
|
245
|
-
className: i,
|
|
246
|
-
styles: F,
|
|
247
|
-
sx: a,
|
|
248
|
-
children: (e) => /* @__PURE__ */ E("input", {
|
|
249
|
-
"aria-label": s,
|
|
250
|
-
autoComplete: "off",
|
|
251
|
-
spellCheck: !1,
|
|
252
|
-
...h({
|
|
253
|
-
...o,
|
|
254
|
-
onChange: y,
|
|
255
|
-
onKeyDown: b
|
|
256
|
-
}),
|
|
257
|
-
ref: v,
|
|
258
|
-
type: "text",
|
|
259
|
-
value: l,
|
|
260
|
-
role: "combobox",
|
|
261
|
-
"aria-autocomplete": "list",
|
|
262
|
-
"aria-expanded": u > 0,
|
|
263
|
-
"aria-controls": c,
|
|
264
|
-
"data-ui": "command-palette-input",
|
|
265
|
-
className: e
|
|
266
|
-
})
|
|
267
|
-
});
|
|
268
|
-
}
|
|
269
|
-
J.displayName = "CommandPalette.Input";
|
|
270
|
-
function Y({ ref: e, onMouseDown: n, children: r, className: i, sx: a, ...o }) {
|
|
271
|
-
let { label: s, listId: c, matchCount: l, elementsRef: u, setListElement: d, getFloatingProps: f } = H("List"), p = M([d, e]), m = (e) => {
|
|
272
|
-
n?.(e), e.preventDefault();
|
|
273
|
-
};
|
|
274
|
-
return /* @__PURE__ */ E(t, {
|
|
275
|
-
className: i,
|
|
276
|
-
styles: I,
|
|
277
|
-
sx: a,
|
|
278
|
-
children: (e) => /* @__PURE__ */ E("div", {
|
|
279
|
-
"aria-label": s,
|
|
280
|
-
...f({
|
|
281
|
-
...o,
|
|
282
|
-
onMouseDown: m
|
|
283
|
-
}),
|
|
284
|
-
ref: p,
|
|
285
|
-
id: c,
|
|
286
|
-
role: "listbox",
|
|
287
|
-
hidden: l === 0,
|
|
288
|
-
"data-ui": "command-palette-list",
|
|
289
|
-
className: e,
|
|
290
|
-
children: /* @__PURE__ */ E(O, {
|
|
291
|
-
elementsRef: u,
|
|
292
|
-
children: r
|
|
293
|
-
})
|
|
294
|
-
})
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
Y.displayName = "CommandPalette.List";
|
|
298
|
-
function X({ ref: e, children: n, className: r, sx: i, ...o }) {
|
|
299
|
-
let { matchCount: s, emptyMessage: c } = H("Empty");
|
|
300
|
-
return s > 0 ? null : /* @__PURE__ */ E(t, {
|
|
301
|
-
className: r,
|
|
302
|
-
styles: R,
|
|
303
|
-
sx: i,
|
|
304
|
-
children: (t) => /* @__PURE__ */ E("div", {
|
|
305
|
-
...o,
|
|
306
|
-
ref: e,
|
|
307
|
-
"data-ui": "command-palette-empty",
|
|
308
|
-
className: t,
|
|
309
|
-
children: a(n) ? n : c
|
|
310
|
-
})
|
|
311
|
-
});
|
|
312
|
-
}
|
|
313
|
-
X.displayName = "CommandPalette.Empty";
|
|
314
|
-
function Z({ ref: e, label: n, children: r, "aria-labelledby": i, className: a, sx: o, ...s }) {
|
|
315
|
-
let { visibleGroupIds: c } = H("Group"), l = x(), u = `${l}-heading`;
|
|
316
|
-
return /* @__PURE__ */ E(t, {
|
|
317
|
-
className: a,
|
|
318
|
-
styles: L,
|
|
319
|
-
sx: o,
|
|
320
|
-
children: (t) => /* @__PURE__ */ D("div", {
|
|
321
|
-
...s,
|
|
322
|
-
ref: e,
|
|
323
|
-
role: "group",
|
|
324
|
-
"aria-labelledby": [i, u].filter(Boolean).join(" "),
|
|
325
|
-
hidden: !c.has(l),
|
|
326
|
-
"data-ui": "command-palette-group",
|
|
327
|
-
className: t,
|
|
328
|
-
children: [/* @__PURE__ */ E("div", {
|
|
329
|
-
id: u,
|
|
330
|
-
css: ee,
|
|
331
|
-
children: n
|
|
332
|
-
}), /* @__PURE__ */ E(V.Provider, {
|
|
333
|
-
value: l,
|
|
334
|
-
children: r
|
|
335
|
-
})]
|
|
336
|
-
})
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
Z.displayName = "CommandPalette.Group";
|
|
340
|
-
function Q({ ref: e, value: n, onSelect: r, keywords: i, "aria-disabled": a, onClick: o, children: s, className: c, sx: l, ...u }) {
|
|
341
|
-
let { baseId: d, activeIndex: f, matchedValues: h, getItemProps: v, setOpen: y, registration: x } = H("Item"), S = b(V), w = a === !0 || a === "true", T = C(null), { ref: D, index: O } = g(n, x, T, (e, t) => ({
|
|
342
|
-
index: e,
|
|
343
|
-
label: t,
|
|
344
|
-
disabled: w,
|
|
345
|
-
keywords: i,
|
|
346
|
-
groupId: S
|
|
347
|
-
})), k = M([
|
|
348
|
-
D,
|
|
349
|
-
T,
|
|
350
|
-
e
|
|
351
|
-
]), A = O !== -1 && f === O, j = (e) => {
|
|
352
|
-
o?.(e), !(e.defaultPrevented || w) && (r?.(), y(!1));
|
|
353
|
-
};
|
|
354
|
-
return /* @__PURE__ */ E(t, {
|
|
355
|
-
className: c,
|
|
356
|
-
styles: [
|
|
357
|
-
p,
|
|
358
|
-
m,
|
|
359
|
-
te
|
|
360
|
-
],
|
|
361
|
-
sx: l,
|
|
362
|
-
children: (e) => /* @__PURE__ */ E("div", {
|
|
363
|
-
...v({
|
|
364
|
-
id: _(d, n),
|
|
365
|
-
...u,
|
|
366
|
-
onClick: j
|
|
367
|
-
}),
|
|
368
|
-
ref: k,
|
|
369
|
-
role: "option",
|
|
370
|
-
"aria-disabled": a,
|
|
371
|
-
"aria-selected": A,
|
|
372
|
-
hidden: !h.has(n),
|
|
373
|
-
"data-active": A || void 0,
|
|
374
|
-
"data-ui": "command-palette-item",
|
|
375
|
-
className: e,
|
|
376
|
-
children: s
|
|
377
|
-
})
|
|
378
|
-
});
|
|
379
|
-
}
|
|
380
|
-
Q.displayName = "CommandPalette.Item";
|
|
381
|
-
var $ = Object.assign(G, {
|
|
382
|
-
Trigger: K,
|
|
383
|
-
Content: q,
|
|
384
|
-
Input: J,
|
|
385
|
-
List: Y,
|
|
386
|
-
Empty: X,
|
|
387
|
-
Group: Z,
|
|
388
|
-
Item: Q
|
|
389
|
-
});
|
|
390
|
-
//#endregion
|
|
391
|
-
export { $ as t };
|