@koide-labs/ui 0.0.0 → 0.0.2
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 +53 -3
- package/{src/-types.ts → dist/-types.d.ts} +1 -6
- package/dist/-types.js +1 -0
- package/dist/-utils.d.ts +19 -0
- package/dist/-utils.js +33 -0
- package/dist/Button-DrPFFzo7.js +31 -0
- package/dist/CompositeRoot-CVk5a-pR.js +233 -0
- package/dist/DirectionContext-C2o_MF_i.js +9 -0
- package/dist/FieldItemContext-DAvk99to.js +11 -0
- package/dist/FloatingPortal-tWyuKRSN.js +435 -0
- package/dist/FloatingPortalLite-DVyq6YhV.js +28 -0
- package/dist/InternalBackdrop-jYAiOJ8v.js +574 -0
- package/dist/LabelableContext-BMvjVwor.js +169 -0
- package/dist/ToolbarRootContext-CvvL0Tk1.js +9 -0
- package/dist/clamp-D0KDAQIz.js +6 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/accordion/index.d.ts +12 -0
- package/dist/components/accordion/index.js +699 -0
- package/dist/components/alert-dialog/index.d.ts +26 -0
- package/dist/components/alert-dialog/index.js +136 -0
- package/dist/components/anchor/index.d.ts +8 -0
- package/dist/components/anchor/index.js +38 -0
- package/dist/components/avatar/index.d.ts +21 -0
- package/dist/components/avatar/index.js +161 -0
- package/dist/components/badge/index.d.ts +16 -0
- package/dist/components/badge/index.js +40 -0
- package/dist/components/button/index.d.ts +24 -0
- package/dist/components/button/index.js +47 -0
- package/dist/components/checkbox/index.d.ts +9 -0
- package/dist/components/checkbox/index.js +269 -0
- package/dist/components/code/index.d.ts +9 -0
- package/dist/components/code/index.js +10 -0
- package/dist/components/collapse/index.d.ts +11 -0
- package/dist/components/collapse/index.js +41 -0
- package/dist/components/command/index.d.ts +14 -0
- package/dist/components/command/index.js +1695 -0
- package/dist/components/context-menu/index.d.ts +42 -0
- package/dist/components/context-menu/index.js +1444 -0
- package/dist/components/dialog/index.d.ts +48 -0
- package/dist/components/dialog/index.js +138 -0
- package/dist/components/heading/index.d.ts +44 -0
- package/dist/components/heading/index.js +56 -0
- package/dist/components/icon/icon-names.d.ts +1 -0
- package/dist/components/icon/icon-names.js +1 -0
- package/dist/components/icon/index.d.ts +24 -0
- package/dist/components/icon/index.js +43 -0
- package/dist/components/icon-button/index.d.ts +12 -0
- package/dist/components/icon-button/index.js +45 -0
- package/dist/components/inline-code/index.d.ts +6 -0
- package/dist/components/inline-code/index.js +22 -0
- package/dist/components/input/index.d.ts +3 -0
- package/dist/components/input/index.js +119 -0
- package/dist/components/meter/index.d.ts +18 -0
- package/dist/components/meter/index.js +165 -0
- package/dist/components/multiline-input/index.d.ts +6 -0
- package/dist/components/multiline-input/index.js +100 -0
- package/dist/components/number-input/index.d.ts +10 -0
- package/dist/components/number-input/index.js +1169 -0
- package/dist/components/password-input/index.d.ts +2 -0
- package/dist/components/password-input/index.js +29 -0
- package/dist/components/pill/index.d.ts +13 -0
- package/dist/components/pill/index.js +38 -0
- package/dist/components/popover/index.d.ts +21 -0
- package/dist/components/popover/index.js +636 -0
- package/dist/components/preview-card/index.d.ts +17 -0
- package/dist/components/preview-card/index.js +402 -0
- package/dist/components/radio/index.d.ts +13 -0
- package/dist/components/radio/index.js +404 -0
- package/dist/components/search-bar/index.d.ts +12 -0
- package/dist/components/search-bar/index.js +48 -0
- package/dist/components/select/index.d.ts +16 -0
- package/dist/components/select/index.js +1263 -0
- package/dist/components/separator/index.d.ts +7 -0
- package/dist/components/separator/index.js +6 -0
- package/dist/components/slider/index.d.ts +5 -0
- package/dist/components/slider/index.js +902 -0
- package/dist/components/spinner/index.d.ts +2 -0
- package/dist/components/spinner/index.js +13 -0
- package/dist/components/stacked-avatars/index.d.ts +14 -0
- package/dist/components/stacked-avatars/index.js +92 -0
- package/dist/components/status-banner/index.d.ts +17 -0
- package/dist/components/status-banner/index.js +69 -0
- package/dist/components/surface/index.d.ts +27 -0
- package/dist/components/surface/index.js +41 -0
- package/dist/components/switch/index.d.ts +5 -0
- package/dist/components/switch/index.js +196 -0
- package/dist/components/tabs/index.d.ts +18 -0
- package/dist/components/tabs/index.js +509 -0
- package/dist/components/text/index.d.ts +26 -0
- package/dist/components/text/index.js +51 -0
- package/dist/components/theme-provider/index.d.ts +2 -0
- package/dist/components/theme-provider/index.js +6 -0
- package/dist/components/theme-provider/theme-context.d.ts +9 -0
- package/dist/components/theme-provider/theme-context.js +13 -0
- package/dist/components/theme-provider/theme-provider.d.ts +17 -0
- package/dist/components/theme-provider/theme-provider.js +30 -0
- package/dist/components/timestamp/index.d.ts +23 -0
- package/dist/components/timestamp/index.js +1392 -0
- package/dist/components/toast/index.d.ts +2 -0
- package/dist/components/toast/index.js +7 -0
- package/dist/components/toast/toast.d.ts +2 -0
- package/dist/components/toast/toast.js +878 -0
- package/dist/components/toast/use-toast-manager.d.ts +27 -0
- package/dist/components/toast/use-toast-manager.js +4 -0
- package/dist/components/tooltip/index.d.ts +14 -0
- package/dist/components/tooltip/index.js +712 -0
- package/dist/components/tooltip/tooltip-arrow.d.ts +3 -0
- package/dist/components/tooltip/tooltip-arrow.js +6 -0
- package/dist/components/view/index.d.ts +30 -0
- package/dist/components/view/index.js +84 -0
- package/dist/components/visually-hidden/index.d.ts +1 -0
- package/dist/components/visually-hidden/index.js +4 -0
- package/dist/composite-Bx7Szd_T.js +208 -0
- package/dist/composite-C9L5QmZL.js +66 -0
- package/dist/createBaseUIEventDetails-D8M2Yl-a.js +59 -0
- package/dist/detectBrowser-I-s3yzIE.js +43 -0
- package/dist/dialog.css +1 -0
- package/dist/dialog.module-BeF-6XAo.js +415 -0
- package/dist/element-CZEOj04G.js +80 -0
- package/dist/event-CKoGyQEJ.js +30 -0
- package/dist/floating-ui.utils-C7pRWMZ_.js +128 -0
- package/dist/floating-ui.utils.dom-C7FS5id0.js +135 -0
- package/dist/formatErrorMessage-BqPuTBN-.js +7 -0
- package/dist/formatNumber-1UNwjeqf.js +25 -0
- package/dist/getDisabledMountTransitionStyles-YfHPge6T.js +1510 -0
- package/dist/index-BX1XbbRk.js +1206 -0
- package/dist/index-CeuccO-T.js +109 -0
- package/dist/index-DN9Bn1qm.js +29 -0
- package/dist/index-FMoPxlJ2.js +52 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +42 -0
- package/dist/index.js +108 -0
- package/dist/index10.css +1 -0
- package/dist/index11.css +1 -0
- package/dist/index12.css +1 -0
- package/dist/index13.css +1 -0
- package/dist/index14.css +1 -0
- package/dist/index15.css +1 -0
- package/dist/index16.css +1 -0
- package/dist/index17.css +1 -0
- package/dist/index18.css +1 -0
- package/dist/index19.css +1 -0
- package/dist/index2.css +1 -0
- package/dist/index20.css +1 -0
- package/dist/index21.css +1 -0
- package/dist/index22.css +1 -0
- package/dist/index23.css +1 -0
- package/dist/index24.css +1 -0
- package/dist/index25.css +1 -0
- package/dist/index26.css +1 -0
- package/dist/index27.css +1 -0
- package/dist/index28.css +1 -0
- package/dist/index29.css +1 -0
- package/dist/index3.css +1 -0
- package/dist/index30.css +1 -0
- package/dist/index31.css +1 -0
- package/dist/index32.css +1 -0
- package/dist/index33.css +1 -0
- package/dist/index34.css +1 -0
- package/dist/index35.css +1 -0
- package/dist/index36.css +1 -0
- package/dist/index37.css +1 -0
- package/dist/index4.css +1 -0
- package/dist/index5.css +1 -0
- package/dist/index6.css +1 -0
- package/dist/index7.css +1 -0
- package/dist/index8.css +1 -0
- package/dist/index9.css +1 -0
- package/dist/inertValue-BCYGsdmf.js +7 -0
- package/dist/input.css +1 -0
- package/dist/input.module-DDQY_Ij6.js +7 -0
- package/dist/integrations/react-markdown/index.d.ts +5 -0
- package/dist/integrations/react-markdown/index.js +6895 -0
- package/dist/integrations/remix/index.d.ts +9 -0
- package/{src/integrations/remix.ts → dist/integrations/remix/index.js} +7 -4
- package/dist/integrations/tailwind.css +1 -0
- package/dist/integrations/twemoij/index.d.ts +3 -0
- package/dist/integrations/twemoij/index.js +18 -0
- package/dist/isElementDisabled-Cbd8W9kH.js +6 -0
- package/dist/owner-rKN292Q9.js +6 -0
- package/dist/safePolygon-DWy1dGKJ.js +308 -0
- package/dist/styles/core.css +1 -0
- package/dist/styles/tokens.d.ts +400 -0
- package/{src/styles/tokens.ts → dist/styles/tokens.js} +54 -96
- package/dist/toast.css +1 -0
- package/dist/tooltip-arrow-C1qXdi5T.js +24 -0
- package/dist/tooltip-arrow.css +1 -0
- package/dist/transitions.css +1 -0
- package/dist/transitions.module-CWX8e5cx.js +1343 -0
- package/dist/use-toast-manager-Dq-44AuW.js +37 -0
- package/dist/useAnimationFrame-451ugS_6.js +68 -0
- package/dist/useBaseUiId-B7WyxtIE.js +7 -0
- package/dist/useButton-DfIwsdb8.js +127 -0
- package/dist/useCompositeListItem-OkcAim_1.js +148 -0
- package/dist/useControlled-Du4sJyMj.js +31 -0
- package/dist/useHoverReferenceInteraction-SfOBPoXM.js +264 -0
- package/dist/useId-C5kyn6tA.js +22 -0
- package/dist/useIsoLayoutEffect-CIDbvm3Q.js +6 -0
- package/dist/useLabelableId-Ci_jDvmv.js +29 -0
- package/dist/useOnMount-VRW6CK2u.js +8 -0
- package/dist/useOpenChangeComplete-Dse9kY9E.js +61 -0
- package/dist/usePopupAutoResize-CNR6Ekmx.js +85 -0
- package/dist/useRender-CLx7dR_1.js +7 -0
- package/dist/useRenderElement-DwToLA61.js +244 -0
- package/dist/useRole-oDBdbuwQ.js +77 -0
- package/dist/useStableCallback-CkTrVkNX.js +29 -0
- package/dist/useSyncedFloatingRootContext-Dorsv-jf.js +167 -0
- package/dist/useTimeout-CflX-kz3.js +32 -0
- package/dist/useTransitionStatus-CUfcuGAV.js +42 -0
- package/dist/useTypeahead-D85V2IUx.js +333 -0
- package/dist/useValueAsRef-HURLzret.js +19 -0
- package/dist/useValueChanged-DL757-yD.js +14 -0
- package/dist/valueToPercent-DaP9qN4u.js +6 -0
- package/dist/view.css +1 -0
- package/dist/view.module-DfDLgJE0.js +6 -0
- package/dist/visuallyHidden-CpJ-mhai.js +16 -0
- package/dist/warn-CKtX8MLJ.js +11 -0
- package/package.json +18 -2
- package/.husky/pre-commit +0 -1
- package/.storybook/main.ts +0 -25
- package/.storybook/preview-head.html +0 -6
- package/.storybook/preview.tsx +0 -48
- package/.storybook/vitest.setup.ts +0 -8
- package/eslint.config.mjs +0 -29
- package/lint-staged.config.js +0 -15
- package/pnpm-workspace.yaml +0 -2
- package/postcss.config.mjs +0 -7
- package/prettier.config.mjs +0 -24
- package/scripts/build-icon-types.ts +0 -38
- package/src/-utils.tsx +0 -64
- package/src/components/accordion/accordion.module.css +0 -44
- package/src/components/accordion/accordion.stories.tsx +0 -36
- package/src/components/accordion/index.tsx +0 -67
- package/src/components/alert-dialog/alert-dialog.module.css +0 -5
- package/src/components/alert-dialog/alert-dialog.stories.tsx +0 -53
- package/src/components/alert-dialog/index.tsx +0 -138
- package/src/components/anchor/anchor.module.css +0 -18
- package/src/components/anchor/anchor.stories.tsx +0 -28
- package/src/components/anchor/index.tsx +0 -45
- package/src/components/avatar/avatar.module.css +0 -56
- package/src/components/avatar/avatar.stories.tsx +0 -61
- package/src/components/avatar/index.tsx +0 -82
- package/src/components/badge/badge.module.css +0 -35
- package/src/components/badge/badge.stories.tsx +0 -60
- package/src/components/badge/index.tsx +0 -71
- package/src/components/button/button.module.css +0 -42
- package/src/components/button/button.stories.tsx +0 -108
- package/src/components/button/index.tsx +0 -63
- package/src/components/checkbox/checkbox.module.css +0 -36
- package/src/components/checkbox/checkbox.stories.tsx +0 -21
- package/src/components/checkbox/index.tsx +0 -41
- package/src/components/code/code.module.css +0 -20
- package/src/components/code/code.stories.tsx +0 -42
- package/src/components/code/index.tsx +0 -73
- package/src/components/collapse/collapse.module.css +0 -27
- package/src/components/collapse/collapse.stories.tsx +0 -27
- package/src/components/collapse/index.tsx +0 -59
- package/src/components/command/command.module.css +0 -95
- package/src/components/command/command.stories.tsx +0 -38
- package/src/components/command/index.tsx +0 -108
- package/src/components/context-menu/context-menu.module.css +0 -36
- package/src/components/context-menu/context-menu.stories.tsx +0 -99
- package/src/components/context-menu/index.tsx +0 -242
- package/src/components/dialog/dialog.module.css +0 -71
- package/src/components/dialog/dialog.stories.tsx +0 -29
- package/src/components/dialog/index.tsx +0 -148
- package/src/components/heading/heading.module.css +0 -3
- package/src/components/heading/heading.stories.tsx +0 -52
- package/src/components/heading/index.tsx +0 -112
- package/src/components/icon/icon-names.ts +0 -3189
- package/src/components/icon/icon.module.css +0 -36
- package/src/components/icon/icon.stories.tsx +0 -40
- package/src/components/icon/index.tsx +0 -60
- package/src/components/icon-button/icon-button.module.css +0 -33
- package/src/components/icon-button/icon-button.stories.tsx +0 -59
- package/src/components/icon-button/index.tsx +0 -48
- package/src/components/inline-code/index.tsx +0 -29
- package/src/components/inline-code/inline-code.module.css +0 -13
- package/src/components/inline-code/inline-code.stories.tsx +0 -31
- package/src/components/input/index.tsx +0 -22
- package/src/components/input/input.module.css +0 -23
- package/src/components/input/input.stories.tsx +0 -52
- package/src/components/meter/index.tsx +0 -55
- package/src/components/meter/meter.module.css +0 -23
- package/src/components/meter/meter.stories.tsx +0 -31
- package/src/components/multiline-input/index.tsx +0 -58
- package/src/components/multiline-input/multiline-input.stories.tsx +0 -26
- package/src/components/number-input/index.tsx +0 -74
- package/src/components/number-input/number-input.module.css +0 -41
- package/src/components/number-input/number-input.stories.tsx +0 -24
- package/src/components/password-input/index.tsx +0 -24
- package/src/components/password-input/password-input.module.css +0 -10
- package/src/components/password-input/password-input.stories.tsx +0 -24
- package/src/components/pill/index.tsx +0 -45
- package/src/components/pill/pill.module.css +0 -22
- package/src/components/pill/pill.stories.tsx +0 -83
- package/src/components/popover/index.tsx +0 -94
- package/src/components/popover/popover.module.css +0 -8
- package/src/components/popover/popover.stories.tsx +0 -53
- package/src/components/preview-card/index.tsx +0 -68
- package/src/components/preview-card/preview-card.module.css +0 -5
- package/src/components/preview-card/preview-card.stories.tsx +0 -58
- package/src/components/radio/index.tsx +0 -67
- package/src/components/radio/radio-group.module.css +0 -5
- package/src/components/radio/radio.module.css +0 -36
- package/src/components/radio/radio.stories.tsx +0 -27
- package/src/components/search-bar/index.tsx +0 -60
- package/src/components/search-bar/search-bar.module.css +0 -29
- package/src/components/search-bar/search-bar.stories.tsx +0 -37
- package/src/components/select/index.tsx +0 -132
- package/src/components/select/select.module.css +0 -63
- package/src/components/select/select.stories.tsx +0 -49
- package/src/components/separator/index.tsx +0 -28
- package/src/components/separator/separator.module.css +0 -24
- package/src/components/separator/separator.stories.tsx +0 -40
- package/src/components/slider/index.tsx +0 -28
- package/src/components/slider/slider.module.css +0 -52
- package/src/components/slider/slider.stories.tsx +0 -53
- package/src/components/spinner/index.tsx +0 -14
- package/src/components/spinner/spinner.module.css +0 -13
- package/src/components/spinner/spinner.stories.tsx +0 -17
- package/src/components/stacked-avatars/index.tsx +0 -88
- package/src/components/stacked-avatars/stacked-avatars.module.css +0 -79
- package/src/components/stacked-avatars/stacked-avatars.stories.tsx +0 -48
- package/src/components/status-banner/index.tsx +0 -96
- package/src/components/status-banner/status-banner.module.css +0 -52
- package/src/components/status-banner/status-banner.stories.tsx +0 -44
- package/src/components/surface/index.tsx +0 -83
- package/src/components/surface/surface.module.css +0 -35
- package/src/components/surface/surface.stories.tsx +0 -84
- package/src/components/switch/index.tsx +0 -23
- package/src/components/switch/switch.module.css +0 -45
- package/src/components/switch/switch.stories.tsx +0 -48
- package/src/components/tabs/index.tsx +0 -126
- package/src/components/tabs/tabs.module.css +0 -134
- package/src/components/tabs/tabs.stories.tsx +0 -88
- package/src/components/text/index.tsx +0 -69
- package/src/components/text/text.module.css +0 -76
- package/src/components/text/text.stories.tsx +0 -107
- package/src/components/theme-provider/index.ts +0 -2
- package/src/components/theme-provider/theme-context.tsx +0 -18
- package/src/components/theme-provider/theme-provider.stories.tsx +0 -47
- package/src/components/theme-provider/theme-provider.tsx +0 -77
- package/src/components/timestamp/index.tsx +0 -131
- package/src/components/timestamp/timestamp.module.css +0 -8
- package/src/components/timestamp/timestamp.stories.tsx +0 -37
- package/src/components/toast/index.ts +0 -2
- package/src/components/toast/toast.module.css +0 -163
- package/src/components/toast/toast.stories.tsx +0 -53
- package/src/components/toast/toast.tsx +0 -104
- package/src/components/toast/use-toast-manager.ts +0 -63
- package/src/components/tooltip/index.tsx +0 -61
- package/src/components/tooltip/tooltip-arrow.tsx +0 -17
- package/src/components/tooltip/tooltip.module.css +0 -44
- package/src/components/tooltip/tooltip.stories.tsx +0 -76
- package/src/components/view/index.tsx +0 -137
- package/src/components/view/view.module.css +0 -11
- package/src/components/view/view.stories.tsx +0 -131
- package/src/components/view/view_colorway.module.css +0 -280
- package/src/components/view/view_interactive.module.css +0 -127
- package/src/components/view/view_loading.module.css +0 -58
- package/src/components/visually-hidden/index.ts +0 -1
- package/src/index.ts +0 -49
- package/src/integrations/react-markdown/index.tsx +0 -134
- package/src/integrations/react-markdown/react-markdown.module.css +0 -62
- package/src/integrations/react-markdown/react-markdown.stories.tsx +0 -31
- package/src/integrations/tailwind.css +0 -173
- package/src/integrations/twemoij/index.tsx +0 -13
- package/src/integrations/twemoij/twemoji.module.css +0 -7
- package/src/integrations/twemoij/twemoji.stories.tsx +0 -40
- package/src/stories/components/all-variants.tsx +0 -40
- package/src/stories/data.ts +0 -72
- package/src/stories/utils.ts +0 -20
- package/src/styles/core.css +0 -153
- package/src/styles/themes/dark.css +0 -86
- package/src/styles/themes/light.css +0 -86
- package/src/styles/transitions.module.css +0 -31
- package/stylelint.config.mjs +0 -29
- package/tsconfig.app.json +0 -35
- package/tsconfig.json +0 -7
- package/tsconfig.node.json +0 -26
- package/vite.config.ts +0 -103
- package/vitest.shims.d.ts +0 -1
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import * as q from "react-dom";
|
|
3
|
+
import { c as $ } from "./floating-ui.utils.dom-C7FS5id0.js";
|
|
4
|
+
import { u as Q } from "./useId-C5kyn6tA.js";
|
|
5
|
+
import { u as U } from "./useIsoLayoutEffect-CIDbvm3Q.js";
|
|
6
|
+
import { b as tt } from "./detectBrowser-I-s3yzIE.js";
|
|
7
|
+
import { v as et } from "./visuallyHidden-CpJ-mhai.js";
|
|
8
|
+
import { jsx as E, jsxs as _ } from "react/jsx-runtime";
|
|
9
|
+
import { c as rt, f as at } from "./createBaseUIEventDetails-D8M2Yl-a.js";
|
|
10
|
+
import { E as nt, u as it } from "./useRenderElement-DwToLA61.js";
|
|
11
|
+
import { f as ot, d as N, h as st } from "./element-CZEOj04G.js";
|
|
12
|
+
const qt = 500, Ut = 500, jt = {
|
|
13
|
+
style: {
|
|
14
|
+
transition: "none"
|
|
15
|
+
}
|
|
16
|
+
}, Yt = "data-base-ui-click-trigger", zt = {
|
|
17
|
+
fallbackAxisSide: "none"
|
|
18
|
+
}, Wt = {
|
|
19
|
+
fallbackAxisSide: "end"
|
|
20
|
+
}, ut = {
|
|
21
|
+
clipPath: "inset(50%)",
|
|
22
|
+
position: "fixed",
|
|
23
|
+
top: 0,
|
|
24
|
+
left: 0
|
|
25
|
+
};
|
|
26
|
+
var lt = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert] *)", "textarea:not([inert]):not([inert] *)", "a[href]:not([inert]):not([inert] *)", "button:not([inert]):not([inert] *)", "[tabindex]:not(slot):not([inert]):not([inert] *)", "audio[controls]:not([inert]):not([inert] *)", "video[controls]:not([inert]):not([inert] *)", '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', "details>summary:first-of-type:not([inert]):not([inert] *)", "details:not([inert]):not([inert] *)"], T = /* @__PURE__ */ lt.join(","), j = typeof Element > "u", y = j ? function() {
|
|
27
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, I = !j && Element.prototype.getRootNode ? function(a) {
|
|
28
|
+
var t;
|
|
29
|
+
return a == null || (t = a.getRootNode) === null || t === void 0 ? void 0 : t.call(a);
|
|
30
|
+
} : function(a) {
|
|
31
|
+
return a?.ownerDocument;
|
|
32
|
+
}, R = function(t, e) {
|
|
33
|
+
var r;
|
|
34
|
+
e === void 0 && (e = !0);
|
|
35
|
+
var n = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), s = n === "" || n === "true", o = s || e && t && // closest does not exist on shadow roots, so we fall back to a manual
|
|
36
|
+
// lookup upward, in case it is not defined.
|
|
37
|
+
(typeof t.closest == "function" ? t.closest("[inert]") : R(t.parentNode));
|
|
38
|
+
return o;
|
|
39
|
+
}, ct = function(t) {
|
|
40
|
+
var e, r = t == null || (e = t.getAttribute) === null || e === void 0 ? void 0 : e.call(t, "contenteditable");
|
|
41
|
+
return r === "" || r === "true";
|
|
42
|
+
}, Y = function(t, e, r) {
|
|
43
|
+
if (R(t))
|
|
44
|
+
return [];
|
|
45
|
+
var n = Array.prototype.slice.apply(t.querySelectorAll(T));
|
|
46
|
+
return e && y.call(t, T) && n.unshift(t), n = n.filter(r), n;
|
|
47
|
+
}, x = function(t, e, r) {
|
|
48
|
+
for (var n = [], s = Array.from(t); s.length; ) {
|
|
49
|
+
var o = s.shift();
|
|
50
|
+
if (!R(o, !1))
|
|
51
|
+
if (o.tagName === "SLOT") {
|
|
52
|
+
var u = o.assignedElements(), c = u.length ? u : o.children, i = x(c, !0, r);
|
|
53
|
+
r.flatten ? n.push.apply(n, i) : n.push({
|
|
54
|
+
scopeParent: o,
|
|
55
|
+
candidates: i
|
|
56
|
+
});
|
|
57
|
+
} else {
|
|
58
|
+
var f = y.call(o, T);
|
|
59
|
+
f && r.filter(o) && (e || !t.includes(o)) && n.push(o);
|
|
60
|
+
var d = o.shadowRoot || // check for an undisclosed shadow
|
|
61
|
+
typeof r.getShadowRoot == "function" && r.getShadowRoot(o), h = !R(d, !1) && (!r.shadowRootFilter || r.shadowRootFilter(o));
|
|
62
|
+
if (d && h) {
|
|
63
|
+
var b = x(d === !0 ? o.children : d.children, !0, r);
|
|
64
|
+
r.flatten ? n.push.apply(n, b) : n.push({
|
|
65
|
+
scopeParent: o,
|
|
66
|
+
candidates: b
|
|
67
|
+
});
|
|
68
|
+
} else
|
|
69
|
+
s.unshift.apply(s, o.children);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return n;
|
|
73
|
+
}, z = function(t) {
|
|
74
|
+
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
75
|
+
}, W = function(t) {
|
|
76
|
+
if (!t)
|
|
77
|
+
throw new Error("No node provided");
|
|
78
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || ct(t)) && !z(t) ? 0 : t.tabIndex;
|
|
79
|
+
}, ft = function(t, e) {
|
|
80
|
+
var r = W(t);
|
|
81
|
+
return r < 0 && e && !z(t) ? 0 : r;
|
|
82
|
+
}, dt = function(t, e) {
|
|
83
|
+
return t.tabIndex === e.tabIndex ? t.documentOrder - e.documentOrder : t.tabIndex - e.tabIndex;
|
|
84
|
+
}, H = function(t) {
|
|
85
|
+
return t.tagName === "INPUT";
|
|
86
|
+
}, bt = function(t) {
|
|
87
|
+
return H(t) && t.type === "hidden";
|
|
88
|
+
}, vt = function(t) {
|
|
89
|
+
var e = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
|
|
90
|
+
return r.tagName === "SUMMARY";
|
|
91
|
+
});
|
|
92
|
+
return e;
|
|
93
|
+
}, ht = function(t, e) {
|
|
94
|
+
for (var r = 0; r < t.length; r++)
|
|
95
|
+
if (t[r].checked && t[r].form === e)
|
|
96
|
+
return t[r];
|
|
97
|
+
}, pt = function(t) {
|
|
98
|
+
if (!t.name)
|
|
99
|
+
return !0;
|
|
100
|
+
var e = t.form || I(t), r = function(u) {
|
|
101
|
+
return e.querySelectorAll('input[type="radio"][name="' + u + '"]');
|
|
102
|
+
}, n;
|
|
103
|
+
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
104
|
+
n = r(window.CSS.escape(t.name));
|
|
105
|
+
else
|
|
106
|
+
try {
|
|
107
|
+
n = r(t.name);
|
|
108
|
+
} catch (o) {
|
|
109
|
+
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", o.message), !1;
|
|
110
|
+
}
|
|
111
|
+
var s = ht(n, t.form);
|
|
112
|
+
return !s || s === t;
|
|
113
|
+
}, gt = function(t) {
|
|
114
|
+
return H(t) && t.type === "radio";
|
|
115
|
+
}, mt = function(t) {
|
|
116
|
+
return gt(t) && !pt(t);
|
|
117
|
+
}, yt = function(t) {
|
|
118
|
+
var e, r = t && I(t), n = (e = r) === null || e === void 0 ? void 0 : e.host, s = !1;
|
|
119
|
+
if (r && r !== t) {
|
|
120
|
+
var o, u, c;
|
|
121
|
+
for (s = !!((o = n) !== null && o !== void 0 && (u = o.ownerDocument) !== null && u !== void 0 && u.contains(n) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !s && n; ) {
|
|
122
|
+
var i, f, d;
|
|
123
|
+
r = I(n), n = (i = r) === null || i === void 0 ? void 0 : i.host, s = !!((f = n) !== null && f !== void 0 && (d = f.ownerDocument) !== null && d !== void 0 && d.contains(n));
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return s;
|
|
127
|
+
}, B = function(t) {
|
|
128
|
+
var e = t.getBoundingClientRect(), r = e.width, n = e.height;
|
|
129
|
+
return r === 0 && n === 0;
|
|
130
|
+
}, St = function(t, e) {
|
|
131
|
+
var r = e.displayCheck, n = e.getShadowRoot;
|
|
132
|
+
if (r === "full-native" && "checkVisibility" in t) {
|
|
133
|
+
var s = t.checkVisibility({
|
|
134
|
+
// Checking opacity might be desirable for some use cases, but natively,
|
|
135
|
+
// opacity zero elements _are_ focusable and tabbable.
|
|
136
|
+
checkOpacity: !1,
|
|
137
|
+
opacityProperty: !1,
|
|
138
|
+
contentVisibilityAuto: !0,
|
|
139
|
+
visibilityProperty: !0,
|
|
140
|
+
// This is an alias for `visibilityProperty`. Contemporary browsers
|
|
141
|
+
// support both. However, this alias has wider browser support (Chrome
|
|
142
|
+
// >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so
|
|
143
|
+
// we include it anyway.
|
|
144
|
+
checkVisibilityCSS: !0
|
|
145
|
+
});
|
|
146
|
+
return !s;
|
|
147
|
+
}
|
|
148
|
+
if (getComputedStyle(t).visibility === "hidden")
|
|
149
|
+
return !0;
|
|
150
|
+
var o = y.call(t, "details>summary:first-of-type"), u = o ? t.parentElement : t;
|
|
151
|
+
if (y.call(u, "details:not([open]) *"))
|
|
152
|
+
return !0;
|
|
153
|
+
if (!r || r === "full" || // full-native can run this branch when it falls through in case
|
|
154
|
+
// Element#checkVisibility is unsupported
|
|
155
|
+
r === "full-native" || r === "legacy-full") {
|
|
156
|
+
if (typeof n == "function") {
|
|
157
|
+
for (var c = t; t; ) {
|
|
158
|
+
var i = t.parentElement, f = I(t);
|
|
159
|
+
if (i && !i.shadowRoot && n(i) === !0)
|
|
160
|
+
return B(t);
|
|
161
|
+
t.assignedSlot ? t = t.assignedSlot : !i && f !== t.ownerDocument ? t = f.host : t = i;
|
|
162
|
+
}
|
|
163
|
+
t = c;
|
|
164
|
+
}
|
|
165
|
+
if (yt(t))
|
|
166
|
+
return !t.getClientRects().length;
|
|
167
|
+
if (r !== "legacy-full")
|
|
168
|
+
return !0;
|
|
169
|
+
} else if (r === "non-zero-area")
|
|
170
|
+
return B(t);
|
|
171
|
+
return !1;
|
|
172
|
+
}, Et = function(t) {
|
|
173
|
+
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
174
|
+
for (var e = t.parentElement; e; ) {
|
|
175
|
+
if (e.tagName === "FIELDSET" && e.disabled) {
|
|
176
|
+
for (var r = 0; r < e.children.length; r++) {
|
|
177
|
+
var n = e.children.item(r);
|
|
178
|
+
if (n.tagName === "LEGEND")
|
|
179
|
+
return y.call(e, "fieldset[disabled] *") ? !0 : !n.contains(t);
|
|
180
|
+
}
|
|
181
|
+
return !0;
|
|
182
|
+
}
|
|
183
|
+
e = e.parentElement;
|
|
184
|
+
}
|
|
185
|
+
return !1;
|
|
186
|
+
}, A = function(t, e) {
|
|
187
|
+
return !(e.disabled || bt(e) || St(e, t) || // For a details element with a summary, the summary element gets the focus
|
|
188
|
+
vt(e) || Et(e));
|
|
189
|
+
}, w = function(t, e) {
|
|
190
|
+
return !(mt(e) || W(e) < 0 || !A(t, e));
|
|
191
|
+
}, Tt = function(t) {
|
|
192
|
+
var e = parseInt(t.getAttribute("tabindex"), 10);
|
|
193
|
+
return !!(isNaN(e) || e >= 0);
|
|
194
|
+
}, K = function(t) {
|
|
195
|
+
var e = [], r = [];
|
|
196
|
+
return t.forEach(function(n, s) {
|
|
197
|
+
var o = !!n.scopeParent, u = o ? n.scopeParent : n, c = ft(u, o), i = o ? K(n.candidates) : u;
|
|
198
|
+
c === 0 ? o ? e.push.apply(e, i) : e.push(u) : r.push({
|
|
199
|
+
documentOrder: s,
|
|
200
|
+
tabIndex: c,
|
|
201
|
+
item: n,
|
|
202
|
+
isScope: o,
|
|
203
|
+
content: i
|
|
204
|
+
});
|
|
205
|
+
}), r.sort(dt).reduce(function(n, s) {
|
|
206
|
+
return s.isScope ? n.push.apply(n, s.content) : n.push(s.content), n;
|
|
207
|
+
}, []).concat(e);
|
|
208
|
+
}, F = function(t, e) {
|
|
209
|
+
e = e || {};
|
|
210
|
+
var r;
|
|
211
|
+
return e.getShadowRoot ? r = x([t], e.includeContainer, {
|
|
212
|
+
filter: w.bind(null, e),
|
|
213
|
+
flatten: !1,
|
|
214
|
+
getShadowRoot: e.getShadowRoot,
|
|
215
|
+
shadowRootFilter: Tt
|
|
216
|
+
}) : r = Y(t, e.includeContainer, w.bind(null, e)), K(r);
|
|
217
|
+
}, Ht = function(t, e) {
|
|
218
|
+
e = e || {};
|
|
219
|
+
var r;
|
|
220
|
+
return e.getShadowRoot ? r = x([t], e.includeContainer, {
|
|
221
|
+
filter: A.bind(null, e),
|
|
222
|
+
flatten: !0,
|
|
223
|
+
getShadowRoot: e.getShadowRoot
|
|
224
|
+
}) : r = Y(t, e.includeContainer, A.bind(null, e)), r;
|
|
225
|
+
}, Kt = function(t, e) {
|
|
226
|
+
if (e = e || {}, !t)
|
|
227
|
+
throw new Error("No node provided");
|
|
228
|
+
return y.call(t, T) === !1 ? !1 : w(e, t);
|
|
229
|
+
};
|
|
230
|
+
const D = () => ({
|
|
231
|
+
getShadowRoot: !0,
|
|
232
|
+
displayCheck: (
|
|
233
|
+
// JSDOM does not support the `tabbable` library. To solve this we can
|
|
234
|
+
// check if `ResizeObserver` is a real function (not polyfilled), which
|
|
235
|
+
// determines if the current environment is JSDOM-like.
|
|
236
|
+
typeof ResizeObserver == "function" && ResizeObserver.toString().includes("[native code]") ? "full" : "none"
|
|
237
|
+
)
|
|
238
|
+
});
|
|
239
|
+
function Z(a, t) {
|
|
240
|
+
const e = F(a, D()), r = e.length;
|
|
241
|
+
if (r === 0)
|
|
242
|
+
return;
|
|
243
|
+
const n = st(N(a)), s = e.indexOf(n), o = s === -1 ? t === 1 ? 0 : r - 1 : s + t;
|
|
244
|
+
return e[o];
|
|
245
|
+
}
|
|
246
|
+
function It(a) {
|
|
247
|
+
return Z(N(a).body, 1) || a;
|
|
248
|
+
}
|
|
249
|
+
function Rt(a) {
|
|
250
|
+
return Z(N(a).body, -1) || a;
|
|
251
|
+
}
|
|
252
|
+
function J(a, t) {
|
|
253
|
+
if (!a)
|
|
254
|
+
return null;
|
|
255
|
+
const e = F(N(a).body, D()), r = e.length;
|
|
256
|
+
if (r === 0)
|
|
257
|
+
return null;
|
|
258
|
+
const n = e.indexOf(a);
|
|
259
|
+
if (n === -1)
|
|
260
|
+
return null;
|
|
261
|
+
const s = (n + t + r) % r;
|
|
262
|
+
return e[s];
|
|
263
|
+
}
|
|
264
|
+
function Zt(a) {
|
|
265
|
+
return J(a, 1);
|
|
266
|
+
}
|
|
267
|
+
function Jt(a) {
|
|
268
|
+
return J(a, -1);
|
|
269
|
+
}
|
|
270
|
+
function O(a, t) {
|
|
271
|
+
const e = t || a.currentTarget, r = a.relatedTarget;
|
|
272
|
+
return !r || !ot(e, r);
|
|
273
|
+
}
|
|
274
|
+
function xt(a) {
|
|
275
|
+
F(a, D()).forEach((e) => {
|
|
276
|
+
e.dataset.tabindex = e.getAttribute("tabindex") || "", e.setAttribute("tabindex", "-1");
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
function G(a) {
|
|
280
|
+
a.querySelectorAll("[data-tabindex]").forEach((e) => {
|
|
281
|
+
const r = e.dataset.tabindex;
|
|
282
|
+
delete e.dataset.tabindex, r ? e.setAttribute("tabindex", r) : e.removeAttribute("tabindex");
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
function Nt(a) {
|
|
286
|
+
return `data-base-ui-${a}`;
|
|
287
|
+
}
|
|
288
|
+
const P = /* @__PURE__ */ l.forwardRef(function(t, e) {
|
|
289
|
+
const [r, n] = l.useState();
|
|
290
|
+
return U(() => {
|
|
291
|
+
tt && n("button");
|
|
292
|
+
}, []), /* @__PURE__ */ E("span", {
|
|
293
|
+
...t,
|
|
294
|
+
ref: e,
|
|
295
|
+
style: et,
|
|
296
|
+
"aria-hidden": r ? void 0 : !0,
|
|
297
|
+
...{
|
|
298
|
+
tabIndex: 0,
|
|
299
|
+
// Role is only for VoiceOver
|
|
300
|
+
role: r
|
|
301
|
+
},
|
|
302
|
+
"data-base-ui-focus-guard": ""
|
|
303
|
+
});
|
|
304
|
+
});
|
|
305
|
+
process.env.NODE_ENV !== "production" && (P.displayName = "FocusGuard");
|
|
306
|
+
const L = /* @__PURE__ */ l.createContext(null);
|
|
307
|
+
process.env.NODE_ENV !== "production" && (L.displayName = "PortalContext");
|
|
308
|
+
const Ct = () => l.useContext(L), Ot = Nt("portal");
|
|
309
|
+
function At(a = {}) {
|
|
310
|
+
const {
|
|
311
|
+
ref: t,
|
|
312
|
+
container: e,
|
|
313
|
+
componentProps: r = nt,
|
|
314
|
+
elementProps: n,
|
|
315
|
+
elementState: s
|
|
316
|
+
} = a, o = Q(), c = Ct()?.portalNode, [i, f] = l.useState(null), [d, h] = l.useState(null), b = l.useRef(null);
|
|
317
|
+
U(() => {
|
|
318
|
+
if (e === null) {
|
|
319
|
+
b.current && (b.current = null, h(null), f(null));
|
|
320
|
+
return;
|
|
321
|
+
}
|
|
322
|
+
if (o == null)
|
|
323
|
+
return;
|
|
324
|
+
const g = (e && ($(e) ? e : e.current)) ?? c ?? document.body;
|
|
325
|
+
if (g == null) {
|
|
326
|
+
b.current && (b.current = null, h(null), f(null));
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
329
|
+
b.current !== g && (b.current = g, h(null), f(g));
|
|
330
|
+
}, [e, c, o]);
|
|
331
|
+
const S = it("div", r, {
|
|
332
|
+
ref: [t, h],
|
|
333
|
+
state: s,
|
|
334
|
+
props: [{
|
|
335
|
+
id: o,
|
|
336
|
+
[Ot]: ""
|
|
337
|
+
}, n]
|
|
338
|
+
});
|
|
339
|
+
return {
|
|
340
|
+
portalNode: d,
|
|
341
|
+
portalSubtree: i && S ? /* @__PURE__ */ q.createPortal(S, i) : null
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
const wt = /* @__PURE__ */ l.forwardRef(function(t, e) {
|
|
345
|
+
const {
|
|
346
|
+
children: r,
|
|
347
|
+
container: n,
|
|
348
|
+
className: s,
|
|
349
|
+
render: o,
|
|
350
|
+
renderGuards: u,
|
|
351
|
+
...c
|
|
352
|
+
} = t, {
|
|
353
|
+
portalNode: i,
|
|
354
|
+
portalSubtree: f
|
|
355
|
+
} = At({
|
|
356
|
+
container: n,
|
|
357
|
+
ref: e,
|
|
358
|
+
componentProps: t,
|
|
359
|
+
elementProps: c
|
|
360
|
+
}), d = l.useRef(null), h = l.useRef(null), b = l.useRef(null), S = l.useRef(null), [v, g] = l.useState(null), k = v?.modal, M = v?.open, C = typeof u == "boolean" ? u : !!v && !v.modal && v.open && !!i;
|
|
361
|
+
l.useEffect(() => {
|
|
362
|
+
if (!i || k)
|
|
363
|
+
return;
|
|
364
|
+
function p(m) {
|
|
365
|
+
i && O(m) && (m.type === "focusin" ? G : xt)(i);
|
|
366
|
+
}
|
|
367
|
+
return i.addEventListener("focusin", p, !0), i.addEventListener("focusout", p, !0), () => {
|
|
368
|
+
i.removeEventListener("focusin", p, !0), i.removeEventListener("focusout", p, !0);
|
|
369
|
+
};
|
|
370
|
+
}, [i, k]), l.useEffect(() => {
|
|
371
|
+
!i || M || G(i);
|
|
372
|
+
}, [M, i]);
|
|
373
|
+
const X = l.useMemo(() => ({
|
|
374
|
+
beforeOutsideRef: d,
|
|
375
|
+
afterOutsideRef: h,
|
|
376
|
+
beforeInsideRef: b,
|
|
377
|
+
afterInsideRef: S,
|
|
378
|
+
portalNode: i,
|
|
379
|
+
setFocusManagerState: g
|
|
380
|
+
}), [i]);
|
|
381
|
+
return /* @__PURE__ */ _(l.Fragment, {
|
|
382
|
+
children: [f, /* @__PURE__ */ _(L.Provider, {
|
|
383
|
+
value: X,
|
|
384
|
+
children: [C && i && /* @__PURE__ */ E(P, {
|
|
385
|
+
"data-type": "outside",
|
|
386
|
+
ref: d,
|
|
387
|
+
onFocus: (p) => {
|
|
388
|
+
if (O(p, i))
|
|
389
|
+
b.current?.focus();
|
|
390
|
+
else {
|
|
391
|
+
const m = v ? v.domReference : null;
|
|
392
|
+
Rt(m)?.focus();
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}), C && i && /* @__PURE__ */ E("span", {
|
|
396
|
+
"aria-owns": i.id,
|
|
397
|
+
style: ut
|
|
398
|
+
}), i && /* @__PURE__ */ q.createPortal(r, i), C && i && /* @__PURE__ */ E(P, {
|
|
399
|
+
"data-type": "outside",
|
|
400
|
+
ref: h,
|
|
401
|
+
onFocus: (p) => {
|
|
402
|
+
if (O(p, i))
|
|
403
|
+
S.current?.focus();
|
|
404
|
+
else {
|
|
405
|
+
const m = v ? v.domReference : null;
|
|
406
|
+
It(m)?.focus(), v?.closeOnFocusOut && v?.onOpenChange(!1, rt(at, p.nativeEvent));
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
})]
|
|
410
|
+
})]
|
|
411
|
+
});
|
|
412
|
+
});
|
|
413
|
+
process.env.NODE_ENV !== "production" && (wt.displayName = "FloatingPortal");
|
|
414
|
+
export {
|
|
415
|
+
Yt as C,
|
|
416
|
+
jt as D,
|
|
417
|
+
P as F,
|
|
418
|
+
Wt as P,
|
|
419
|
+
qt as T,
|
|
420
|
+
Ct as a,
|
|
421
|
+
It as b,
|
|
422
|
+
Nt as c,
|
|
423
|
+
Rt as d,
|
|
424
|
+
Kt as e,
|
|
425
|
+
Ht as f,
|
|
426
|
+
D as g,
|
|
427
|
+
wt as h,
|
|
428
|
+
O as i,
|
|
429
|
+
Ut as j,
|
|
430
|
+
Jt as k,
|
|
431
|
+
Zt as l,
|
|
432
|
+
zt as m,
|
|
433
|
+
F as t,
|
|
434
|
+
At as u
|
|
435
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import * as s from "react-dom";
|
|
3
|
+
import { jsxs as c } from "react/jsx-runtime";
|
|
4
|
+
import { u as m } from "./FloatingPortal-tWyuKRSN.js";
|
|
5
|
+
const f = /* @__PURE__ */ o.forwardRef(function(t, a) {
|
|
6
|
+
const {
|
|
7
|
+
children: i,
|
|
8
|
+
container: n,
|
|
9
|
+
className: d,
|
|
10
|
+
render: u,
|
|
11
|
+
...l
|
|
12
|
+
} = t, {
|
|
13
|
+
portalNode: r,
|
|
14
|
+
portalSubtree: e
|
|
15
|
+
} = m({
|
|
16
|
+
container: n,
|
|
17
|
+
ref: a,
|
|
18
|
+
componentProps: t,
|
|
19
|
+
elementProps: l
|
|
20
|
+
});
|
|
21
|
+
return !e && !r ? null : /* @__PURE__ */ c(o.Fragment, {
|
|
22
|
+
children: [e, r && /* @__PURE__ */ s.createPortal(i, r)]
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
process.env.NODE_ENV !== "production" && (f.displayName = "FloatingPortalLite");
|
|
26
|
+
export {
|
|
27
|
+
f as F
|
|
28
|
+
};
|