@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { r as e, t } from "./sx-Dx9JUKp5.js";
|
|
3
|
-
import { n } from "./media-
|
|
3
|
+
import { r as n } from "./media-8yrN85VT.js";
|
|
4
4
|
import { t as r } from "./renderable-DzcIj1Lo.js";
|
|
5
5
|
import { i, n as a, r as o, t as s } from "./choice-control-5kJkLXgv.js";
|
|
6
6
|
import { useEffect as c, useId as l, useImperativeHandle as u, useRef as d } from "react";
|
|
@@ -71,16 +71,16 @@ function S({ indeterminate: e }) {
|
|
|
71
71
|
}) : /* @__PURE__ */ p("polyline", { points: "3.5 8.5 6.5 11.5 12.5 4.5" })
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function C({ ref: e, label: n, description: f, indeterminate: h = !1, size: C = "md", onChange: w, onCheckedChange: T, slotProps: E, className: D, sx: O, "aria-labelledby":
|
|
75
|
-
let
|
|
76
|
-
u(e, () =>
|
|
77
|
-
|
|
74
|
+
function C({ ref: e, label: n, description: f, indeterminate: h = !1, size: C = "md", onChange: w, onCheckedChange: T, slotProps: E, className: D, sx: O, dir: k, "aria-labelledby": A, "aria-describedby": j, ...M }) {
|
|
75
|
+
let N = d(null);
|
|
76
|
+
u(e, () => N.current, []), c(() => {
|
|
77
|
+
N.current && (N.current.indeterminate = h);
|
|
78
78
|
}, [h]);
|
|
79
|
-
let
|
|
79
|
+
let P = l(), F = `${P}-label`, I = `${P}-description`, L = r(n), R = r(f), z = [A, L && F].filter(Boolean).join(" ") || void 0, B = [j, R && I].filter(Boolean).join(" ") || void 0, V = [D, E?.root?.className].filter(Boolean).join(" ") || void 0, H = (e) => {
|
|
80
80
|
h && (e.currentTarget.indeterminate = !0), w?.(e), T?.(e.currentTarget.checked);
|
|
81
81
|
};
|
|
82
82
|
return /* @__PURE__ */ p(t, {
|
|
83
|
-
className:
|
|
83
|
+
className: V,
|
|
84
84
|
styles: [
|
|
85
85
|
o,
|
|
86
86
|
g,
|
|
@@ -90,19 +90,20 @@ function C({ ref: e, label: n, description: f, indeterminate: h = !1, size: C =
|
|
|
90
90
|
sx: O,
|
|
91
91
|
children: (e) => /* @__PURE__ */ m("label", {
|
|
92
92
|
"data-ui": "checkbox",
|
|
93
|
+
dir: k,
|
|
93
94
|
"data-indeterminate": h || void 0,
|
|
94
95
|
className: e,
|
|
95
96
|
children: [/* @__PURE__ */ m("span", {
|
|
96
97
|
css: i,
|
|
97
98
|
children: [
|
|
98
99
|
/* @__PURE__ */ p("input", {
|
|
99
|
-
...
|
|
100
|
-
ref:
|
|
100
|
+
...M,
|
|
101
|
+
ref: N,
|
|
101
102
|
type: "checkbox",
|
|
102
|
-
"aria-labelledby":
|
|
103
|
-
"aria-describedby":
|
|
103
|
+
"aria-labelledby": z,
|
|
104
|
+
"aria-describedby": B,
|
|
104
105
|
"aria-checked": h ? "mixed" : void 0,
|
|
105
|
-
onChange:
|
|
106
|
+
onChange: H,
|
|
106
107
|
css: s
|
|
107
108
|
}),
|
|
108
109
|
/* @__PURE__ */ p("span", {
|
|
@@ -115,15 +116,15 @@ function C({ ref: e, label: n, description: f, indeterminate: h = !1, size: C =
|
|
|
115
116
|
],
|
|
116
117
|
children: /* @__PURE__ */ p(S, { indeterminate: h })
|
|
117
118
|
}),
|
|
118
|
-
|
|
119
|
-
id:
|
|
119
|
+
L && /* @__PURE__ */ p("span", {
|
|
120
|
+
id: F,
|
|
120
121
|
className: E?.label?.className,
|
|
121
122
|
css: [y[C], E?.label?.css],
|
|
122
123
|
children: n
|
|
123
124
|
})
|
|
124
125
|
]
|
|
125
|
-
}),
|
|
126
|
-
id:
|
|
126
|
+
}), R && /* @__PURE__ */ p("span", {
|
|
127
|
+
id: I,
|
|
127
128
|
className: E?.description?.className,
|
|
128
129
|
css: [
|
|
129
130
|
b,
|
package/dist/checkbox.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { t as Checkbox } from "./checkbox-
|
|
2
|
+
export { t as Checkbox } from "./checkbox-DKSzExj2.js";
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { i as e, r as t, t as n } from "./sx-Dx9JUKp5.js";
|
|
3
|
+
import { n as r } from "./focus-ring-BK5W5_NY.js";
|
|
4
|
+
import { n as i, r as a } from "./media-8yrN85VT.js";
|
|
5
|
+
import { n as o, r as s } from "./roving-focus-CYlo_Kf8.js";
|
|
6
|
+
import { t as c } from "./use-controlled-state-DpeVQZNR.js";
|
|
7
|
+
import { t as l } from "./renderable-DzcIj1Lo.js";
|
|
8
|
+
import { useId as u, useImperativeHandle as d, useLayoutEffect as f, useRef as p, useState as m } from "react";
|
|
9
|
+
import { vars as h } from "@jfrader/tokens/vars";
|
|
10
|
+
import { jsx as g, jsxs as _ } from "@emotion/react/jsx-runtime";
|
|
11
|
+
import { MotionConfig as ee, animate as v, motion as y, useReducedMotion as b } from "motion/react";
|
|
12
|
+
import { base as x } from "@jfrader/tokens";
|
|
13
|
+
//#region src/components/chip-group/chip-group.tsx
|
|
14
|
+
var S = [], C = Symbol("overflow"), w = {
|
|
15
|
+
type: "spring",
|
|
16
|
+
stiffness: 380,
|
|
17
|
+
damping: 36
|
|
18
|
+
}, te = Number.parseFloat(x.motion.duration.slow), ne = Number.parseFloat(x.motion.duration.fast) / 4, T = {
|
|
19
|
+
ownerSelector: "[data-ui=\"chip-group\"]",
|
|
20
|
+
itemSelector: "[data-ui=\"chip-group-chip\"]:not(:disabled), [data-ui=\"chip-group-overflow\"]:not(:disabled)"
|
|
21
|
+
}, re = t({ minInlineSize: 0 }), ie = t({
|
|
22
|
+
display: "flex",
|
|
23
|
+
flexWrap: "wrap",
|
|
24
|
+
alignItems: "center",
|
|
25
|
+
gap: h.space[2],
|
|
26
|
+
minInlineSize: 0
|
|
27
|
+
}), E = t({
|
|
28
|
+
appearance: "none",
|
|
29
|
+
display: "inline-flex",
|
|
30
|
+
alignItems: "center",
|
|
31
|
+
justifyContent: "center",
|
|
32
|
+
boxSizing: "border-box",
|
|
33
|
+
minInlineSize: h.space[8],
|
|
34
|
+
maxInlineSize: "100%",
|
|
35
|
+
paddingInline: h.space[3],
|
|
36
|
+
paddingBlock: h.space[1],
|
|
37
|
+
border: `1px solid ${h.color.borderControl}`,
|
|
38
|
+
borderRadius: h.radius.full,
|
|
39
|
+
backgroundColor: h.color.surfaceRaised,
|
|
40
|
+
color: h.color.text,
|
|
41
|
+
fontFamily: h.font.sans,
|
|
42
|
+
fontWeight: h.fontWeight.medium,
|
|
43
|
+
lineHeight: h.lineHeight.base,
|
|
44
|
+
cursor: "pointer",
|
|
45
|
+
transitionProperty: "background-color, border-color, color",
|
|
46
|
+
transitionDuration: h.motion.duration.fast,
|
|
47
|
+
transitionTimingFunction: h.motion.easeStandard,
|
|
48
|
+
"&:hover:not(:disabled)": { backgroundColor: h.color.surfaceHover },
|
|
49
|
+
"&[aria-pressed=\"true\"]": {
|
|
50
|
+
backgroundColor: h.color.accentSoft,
|
|
51
|
+
borderColor: h.color.accent,
|
|
52
|
+
color: h.color.accentText
|
|
53
|
+
},
|
|
54
|
+
"&[aria-pressed=\"true\"]:hover:not(:disabled)": { backgroundColor: h.color.accentSoftHover },
|
|
55
|
+
"&:disabled": {
|
|
56
|
+
opacity: .55,
|
|
57
|
+
cursor: "not-allowed",
|
|
58
|
+
borderStyle: "dashed"
|
|
59
|
+
},
|
|
60
|
+
"&:focus-visible": r,
|
|
61
|
+
[a]: { transitionDuration: "0s" },
|
|
62
|
+
[i]: {
|
|
63
|
+
borderColor: "CanvasText",
|
|
64
|
+
"&[aria-pressed=\"true\"]": {
|
|
65
|
+
borderColor: "Highlight",
|
|
66
|
+
color: "Highlight"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}), D = {
|
|
70
|
+
sm: t({
|
|
71
|
+
minBlockSize: h.space[8],
|
|
72
|
+
fontSize: h.textSize.sm
|
|
73
|
+
}),
|
|
74
|
+
md: t({
|
|
75
|
+
minBlockSize: h.space[10],
|
|
76
|
+
fontSize: h.textSize.md
|
|
77
|
+
})
|
|
78
|
+
}, ae = t({
|
|
79
|
+
minInlineSize: 0,
|
|
80
|
+
overflow: "hidden",
|
|
81
|
+
textOverflow: "ellipsis",
|
|
82
|
+
whiteSpace: "nowrap"
|
|
83
|
+
}), O = t({
|
|
84
|
+
display: "inline-flex",
|
|
85
|
+
flexShrink: 0,
|
|
86
|
+
overflow: "hidden",
|
|
87
|
+
alignItems: "center"
|
|
88
|
+
}), k = t({
|
|
89
|
+
display: "inline-flex",
|
|
90
|
+
minInlineSize: 0,
|
|
91
|
+
maxInlineSize: "100%"
|
|
92
|
+
}), A = e({
|
|
93
|
+
from: { opacity: 0 },
|
|
94
|
+
to: { opacity: 1 }
|
|
95
|
+
}), oe = t({
|
|
96
|
+
animationName: A,
|
|
97
|
+
animationDuration: h.motion.duration.fast,
|
|
98
|
+
animationTimingFunction: h.motion.easeStandard,
|
|
99
|
+
animationFillMode: "backwards",
|
|
100
|
+
[a]: { animation: "none" }
|
|
101
|
+
}), j = t({
|
|
102
|
+
inlineSize: h.space[4],
|
|
103
|
+
blockSize: h.space[4],
|
|
104
|
+
flexShrink: 0
|
|
105
|
+
});
|
|
106
|
+
function M({ ref: e, options: t, type: r = "multiple", value: i, defaultValue: a, onValueChange: h, label: v, allowEmpty: b = !0, disabled: x = !1, size: O = "md", maxVisible: A, expanded: j, defaultExpanded: M = !1, onExpandedChange: le, locale: ue, moreLabel: N, lessLabel: P, slotProps: F, className: de, sx: fe, onKeyDown: pe, onBlur: me, "aria-label": he, "aria-labelledby": I, ...ge }) {
|
|
107
|
+
if (A !== void 0 && (!Number.isInteger(A) || A < 1 || !N || P === void 0)) throw Error("ChipGroup maxVisible requires a positive integer, moreLabel and lessLabel.");
|
|
108
|
+
let [L, R] = c(i, a ?? (r === "single" ? "" : S), h), [_e, ve] = c(j, M, le), z = _e ?? !1, B = typeof L == "string" ? L === "" ? S : [L] : L ?? S, [V, ye] = m(B), [be, xe] = m(z);
|
|
109
|
+
be !== z && (xe(z), z || ye(B));
|
|
110
|
+
let H = t.filter((e, t) => z || A === void 0 || t < A || B.includes(e.value) || V.includes(e.value)), U = t.filter((e, t) => A !== void 0 && t >= A && !B.includes(e.value) && (z || !V.includes(e.value))).length, W = U > 0, G = p(null), Se = p(null), K = p(null), q = p(null), J = p(!1), [Y, X] = m(null), Z = u();
|
|
111
|
+
d(e, () => G.current, []), d(F?.row?.ref, () => K.current, []);
|
|
112
|
+
let Q = H.filter((e) => !x && !e.disabled).map((e) => e.value), $ = typeof Y == "string" && Q.includes(Y) ? Y : Q.find((e) => B.includes(e)) ?? Q[0], Ce = !x && W && (Y === C || !$);
|
|
113
|
+
return f(() => {
|
|
114
|
+
let e = G.current, t = q.current;
|
|
115
|
+
if (!e || !t || !J.current) return;
|
|
116
|
+
let n = s(e, T);
|
|
117
|
+
if (n.includes(t)) return;
|
|
118
|
+
let r = e.ownerDocument.activeElement;
|
|
119
|
+
(r === e.ownerDocument.body || r === t) && (n.find((e) => e.dataset.ui === "chip-group-overflow") ?? n[0])?.focus();
|
|
120
|
+
}), /* @__PURE__ */ g(ee, {
|
|
121
|
+
reducedMotion: "user",
|
|
122
|
+
children: /* @__PURE__ */ g(n, {
|
|
123
|
+
className: de,
|
|
124
|
+
styles: re,
|
|
125
|
+
sx: fe,
|
|
126
|
+
children: (e) => /* @__PURE__ */ g("div", {
|
|
127
|
+
...ge,
|
|
128
|
+
ref: G,
|
|
129
|
+
role: "group",
|
|
130
|
+
"aria-label": he ?? (I ? void 0 : v),
|
|
131
|
+
"aria-labelledby": I,
|
|
132
|
+
"aria-disabled": x || void 0,
|
|
133
|
+
"data-ui": "chip-group",
|
|
134
|
+
className: e,
|
|
135
|
+
onBlur: (e) => {
|
|
136
|
+
me?.(e), e.currentTarget.contains(e.relatedTarget) || (J.current = !1);
|
|
137
|
+
},
|
|
138
|
+
onKeyDown: (e) => {
|
|
139
|
+
pe?.(e), !e.defaultPrevented && o(e, e.currentTarget, e.key === "ArrowUp" || e.key === "ArrowDown" ? "vertical" : "horizontal", T);
|
|
140
|
+
},
|
|
141
|
+
children: /* @__PURE__ */ g(ce, {
|
|
142
|
+
frameRef: Se,
|
|
143
|
+
rowRef: K,
|
|
144
|
+
frameProps: F?.frame,
|
|
145
|
+
signature: JSON.stringify([z, B]),
|
|
146
|
+
children: /* @__PURE__ */ _("div", {
|
|
147
|
+
...F?.row,
|
|
148
|
+
ref: K,
|
|
149
|
+
id: Z,
|
|
150
|
+
css: [ie, F?.row?.css],
|
|
151
|
+
children: [H.map((e, n) => {
|
|
152
|
+
let i = typeof F?.chip == "function" ? F.chip(e) : F?.chip, a = B.includes(e.value);
|
|
153
|
+
return /* @__PURE__ */ g(y.div, {
|
|
154
|
+
layout: !0,
|
|
155
|
+
transition: w,
|
|
156
|
+
css: [k, z && A !== void 0 && n >= A && !V.includes(e.value) && !a && oe],
|
|
157
|
+
style: { animationDelay: `${Math.min(n * ne, te)}ms` },
|
|
158
|
+
children: /* @__PURE__ */ _("button", {
|
|
159
|
+
...i,
|
|
160
|
+
type: "button",
|
|
161
|
+
disabled: x || e.disabled,
|
|
162
|
+
"aria-pressed": a,
|
|
163
|
+
"data-ui": "chip-group-chip",
|
|
164
|
+
"data-value": e.value,
|
|
165
|
+
tabIndex: !x && !e.disabled && !Ce && $ === e.value ? 0 : -1,
|
|
166
|
+
css: [
|
|
167
|
+
E,
|
|
168
|
+
D[O],
|
|
169
|
+
i?.css
|
|
170
|
+
],
|
|
171
|
+
onFocus: (t) => {
|
|
172
|
+
i?.onFocus?.(t), q.current = t.currentTarget, J.current = !0, X(e.value);
|
|
173
|
+
},
|
|
174
|
+
onClick: (n) => {
|
|
175
|
+
if (i?.onClick?.(n), !n.defaultPrevented) {
|
|
176
|
+
if (r === "single") a ? b && R("") : R(e.value);
|
|
177
|
+
else {
|
|
178
|
+
let n = t.filter((t) => t.value === e.value ? !a : B.includes(t.value)).map((e) => e.value);
|
|
179
|
+
(n.length !== B.length || n.some((e, t) => e !== B[t])) && R(n);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
children: [/* @__PURE__ */ g(se, {
|
|
184
|
+
pressed: a,
|
|
185
|
+
slot: F?.check
|
|
186
|
+
}), l(e.label) && /* @__PURE__ */ g("span", {
|
|
187
|
+
...F?.label,
|
|
188
|
+
css: [ae, F?.label?.css],
|
|
189
|
+
children: e.label
|
|
190
|
+
})]
|
|
191
|
+
})
|
|
192
|
+
}, e.value);
|
|
193
|
+
}), W && /* @__PURE__ */ g(y.div, {
|
|
194
|
+
layout: "position",
|
|
195
|
+
transition: w,
|
|
196
|
+
css: k,
|
|
197
|
+
children: /* @__PURE__ */ g("button", {
|
|
198
|
+
...F?.overflow,
|
|
199
|
+
type: "button",
|
|
200
|
+
disabled: x,
|
|
201
|
+
"aria-expanded": z,
|
|
202
|
+
"aria-controls": Z,
|
|
203
|
+
"data-ui": "chip-group-overflow",
|
|
204
|
+
tabIndex: Ce ? 0 : -1,
|
|
205
|
+
css: [
|
|
206
|
+
E,
|
|
207
|
+
D[O],
|
|
208
|
+
F?.overflow?.css
|
|
209
|
+
],
|
|
210
|
+
onFocus: (e) => {
|
|
211
|
+
F?.overflow?.onFocus?.(e), q.current = e.currentTarget, J.current = !0, X(C);
|
|
212
|
+
},
|
|
213
|
+
onClick: (e) => {
|
|
214
|
+
F?.overflow?.onClick?.(e), e.defaultPrevented || ve(!z);
|
|
215
|
+
},
|
|
216
|
+
children: z ? P : N(new Intl.NumberFormat(ue).format(U), U)
|
|
217
|
+
})
|
|
218
|
+
})]
|
|
219
|
+
})
|
|
220
|
+
})
|
|
221
|
+
})
|
|
222
|
+
})
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
M.displayName = "ChipGroup";
|
|
226
|
+
function se({ pressed: e, slot: t }) {
|
|
227
|
+
return /* @__PURE__ */ g("span", {
|
|
228
|
+
...t,
|
|
229
|
+
"aria-hidden": "true",
|
|
230
|
+
css: [O, t?.css],
|
|
231
|
+
children: /* @__PURE__ */ g(y.span, {
|
|
232
|
+
css: O,
|
|
233
|
+
layout: !0,
|
|
234
|
+
style: {
|
|
235
|
+
width: e ? h.space[4] : 0,
|
|
236
|
+
marginInlineEnd: e ? h.space[2] : 0
|
|
237
|
+
},
|
|
238
|
+
transition: w,
|
|
239
|
+
children: /* @__PURE__ */ g("svg", {
|
|
240
|
+
css: j,
|
|
241
|
+
viewBox: "0 0 16 16",
|
|
242
|
+
fill: "none",
|
|
243
|
+
children: /* @__PURE__ */ g("path", {
|
|
244
|
+
d: "m3 8 3 3 7-7",
|
|
245
|
+
stroke: "currentColor",
|
|
246
|
+
strokeWidth: "2"
|
|
247
|
+
})
|
|
248
|
+
})
|
|
249
|
+
})
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
function ce({ frameRef: e, rowRef: t, frameProps: n, signature: r, children: i }) {
|
|
253
|
+
let a = b();
|
|
254
|
+
d(n?.ref, () => e.current, [e]);
|
|
255
|
+
let o = p(null);
|
|
256
|
+
return f(() => {
|
|
257
|
+
let n = e.current, r = t.current;
|
|
258
|
+
if (!n || !r) return;
|
|
259
|
+
let i = r.getBoundingClientRect().height, s = o.current;
|
|
260
|
+
o.current = i;
|
|
261
|
+
let c = s !== null && s !== i && !a ? v(s, i, {
|
|
262
|
+
...w,
|
|
263
|
+
onUpdate: (e) => {
|
|
264
|
+
n.style.height = `${e}px`;
|
|
265
|
+
}
|
|
266
|
+
}) : void 0, l = !0;
|
|
267
|
+
c?.then(() => {
|
|
268
|
+
l && (n.style.height = "auto");
|
|
269
|
+
});
|
|
270
|
+
let u = new ResizeObserver(() => {
|
|
271
|
+
let e = r.getBoundingClientRect().height;
|
|
272
|
+
o.current = e, e !== i && (c?.stop(), n.style.height = "auto");
|
|
273
|
+
});
|
|
274
|
+
return u.observe(r), () => {
|
|
275
|
+
l = !1, c?.stop(), u.disconnect(), n.style.height = "auto";
|
|
276
|
+
};
|
|
277
|
+
}, [
|
|
278
|
+
r,
|
|
279
|
+
a,
|
|
280
|
+
e,
|
|
281
|
+
t
|
|
282
|
+
]), /* @__PURE__ */ g("div", {
|
|
283
|
+
...n,
|
|
284
|
+
ref: e,
|
|
285
|
+
css: n?.css,
|
|
286
|
+
children: i
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
//#endregion
|
|
290
|
+
export { M as t };
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { vars as e } from "@jfrader/tokens/vars";
|
|
3
|
+
import { createHighlighterCore as t, getTokenStyleObject as n } from "shiki/core";
|
|
4
|
+
import { createJavaScriptRegexEngine as r } from "shiki/engine/javascript";
|
|
5
|
+
//#region src/components/code-block/shiki.ts
|
|
6
|
+
var i = "jfrader-ui", a = {
|
|
7
|
+
name: i,
|
|
8
|
+
colors: {
|
|
9
|
+
"editor.foreground": e.color.text,
|
|
10
|
+
"editor.background": e.color.surfaceInset
|
|
11
|
+
},
|
|
12
|
+
tokenColors: [
|
|
13
|
+
{
|
|
14
|
+
scope: [
|
|
15
|
+
"punctuation",
|
|
16
|
+
"meta.brace",
|
|
17
|
+
"keyword.operator"
|
|
18
|
+
],
|
|
19
|
+
settings: { foreground: e.color.syntaxPunctuation }
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
scope: [
|
|
23
|
+
"keyword",
|
|
24
|
+
"storage",
|
|
25
|
+
"keyword.operator.new",
|
|
26
|
+
"keyword.operator.expression",
|
|
27
|
+
"variable.language"
|
|
28
|
+
],
|
|
29
|
+
settings: { foreground: e.color.syntaxKeyword }
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
scope: [
|
|
33
|
+
"string",
|
|
34
|
+
"punctuation.definition.string",
|
|
35
|
+
"string.regexp"
|
|
36
|
+
],
|
|
37
|
+
settings: { foreground: e.color.syntaxString }
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
scope: [
|
|
41
|
+
"constant",
|
|
42
|
+
"support.constant",
|
|
43
|
+
"keyword.other.unit"
|
|
44
|
+
],
|
|
45
|
+
settings: { foreground: e.color.syntaxConstant }
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
scope: [
|
|
49
|
+
"entity.name.function",
|
|
50
|
+
"support.function",
|
|
51
|
+
"meta.function-call.generic"
|
|
52
|
+
],
|
|
53
|
+
settings: { foreground: e.color.syntaxFunction }
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
scope: [
|
|
57
|
+
"entity.name.type",
|
|
58
|
+
"entity.name.class",
|
|
59
|
+
"support.type",
|
|
60
|
+
"support.class",
|
|
61
|
+
"entity.other.inherited-class"
|
|
62
|
+
],
|
|
63
|
+
settings: { foreground: e.color.syntaxType }
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
scope: [
|
|
67
|
+
"entity.name.tag",
|
|
68
|
+
"entity.other.attribute-name.class.css",
|
|
69
|
+
"entity.other.attribute-name.id.css"
|
|
70
|
+
],
|
|
71
|
+
settings: { foreground: e.color.syntaxTag }
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
scope: [
|
|
75
|
+
"entity.other.attribute-name",
|
|
76
|
+
"support.type.property-name",
|
|
77
|
+
"meta.object-literal.key",
|
|
78
|
+
"variable.other.property"
|
|
79
|
+
],
|
|
80
|
+
settings: { foreground: e.color.syntaxProperty }
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
scope: ["comment", "punctuation.definition.comment"],
|
|
84
|
+
settings: {
|
|
85
|
+
foreground: e.color.syntaxComment,
|
|
86
|
+
fontStyle: "italic"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
}, o = {
|
|
91
|
+
javascript: () => import("shiki/langs/javascript.mjs"),
|
|
92
|
+
typescript: () => import("shiki/langs/typescript.mjs"),
|
|
93
|
+
json: () => import("shiki/langs/json.mjs"),
|
|
94
|
+
css: () => import("shiki/langs/css.mjs"),
|
|
95
|
+
shellscript: () => import("shiki/langs/shellscript.mjs"),
|
|
96
|
+
html: () => import("shiki/langs/html.mjs")
|
|
97
|
+
}, s = /* @__PURE__ */ new Map([
|
|
98
|
+
["javascript", "javascript"],
|
|
99
|
+
["js", "javascript"],
|
|
100
|
+
["mjs", "javascript"],
|
|
101
|
+
["cjs", "javascript"],
|
|
102
|
+
["typescript", "typescript"],
|
|
103
|
+
["ts", "typescript"],
|
|
104
|
+
["mts", "typescript"],
|
|
105
|
+
["cts", "typescript"],
|
|
106
|
+
["json", "json"],
|
|
107
|
+
["css", "css"],
|
|
108
|
+
["bash", "shellscript"],
|
|
109
|
+
["sh", "shellscript"],
|
|
110
|
+
["shell", "shellscript"],
|
|
111
|
+
["shellscript", "shellscript"],
|
|
112
|
+
["zsh", "shellscript"],
|
|
113
|
+
["html", "html"]
|
|
114
|
+
]), c, l = /* @__PURE__ */ new Map();
|
|
115
|
+
function u() {
|
|
116
|
+
return c ??= t({
|
|
117
|
+
themes: [a],
|
|
118
|
+
langs: [],
|
|
119
|
+
engine: r()
|
|
120
|
+
}).catch((e) => {
|
|
121
|
+
throw c = void 0, e;
|
|
122
|
+
}), c;
|
|
123
|
+
}
|
|
124
|
+
function d(e, t) {
|
|
125
|
+
let n = l.get(t);
|
|
126
|
+
return n || (n = e.loadLanguage(o[t]()).catch((e) => {
|
|
127
|
+
throw l.delete(t), e;
|
|
128
|
+
}), l.set(t, n)), n;
|
|
129
|
+
}
|
|
130
|
+
var f = async ({ code: t, language: r }) => {
|
|
131
|
+
let a = r === void 0 ? void 0 : s.get(r.trim().toLowerCase());
|
|
132
|
+
if (!a) return null;
|
|
133
|
+
let o = await u();
|
|
134
|
+
return await d(o, a), o.codeToTokensBase(t, {
|
|
135
|
+
lang: a,
|
|
136
|
+
theme: i
|
|
137
|
+
}).map((t) => t.map((t) => {
|
|
138
|
+
let r = n(t);
|
|
139
|
+
return {
|
|
140
|
+
content: t.content,
|
|
141
|
+
color: r.color === e.color.text ? void 0 : r.color,
|
|
142
|
+
fontStyle: r["font-style"] === "italic" ? "italic" : void 0
|
|
143
|
+
};
|
|
144
|
+
}));
|
|
145
|
+
};
|
|
146
|
+
//#endregion
|
|
147
|
+
export { f as loadShikiHighlight };
|