convex-cms 0.0.1 → 0.0.3
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/LICENSE +190 -0
- package/README.md +99 -0
- package/admin-dist/nitro.json +15 -0
- package/admin-dist/public/assets/CmsEmptyState-CRswfTzk.js +5 -0
- package/admin-dist/public/assets/CmsPageHeader-CirpXndm.js +1 -0
- package/admin-dist/public/assets/CmsStatusBadge-CbEUpQu-.js +1 -0
- package/admin-dist/public/assets/CmsToolbar-BI2nZOXp.js +1 -0
- package/admin-dist/public/assets/ContentEntryEditor-CBeCyK_m.js +4 -0
- package/admin-dist/public/assets/ErrorState-BIVaWmom.js +1 -0
- package/admin-dist/public/assets/TaxonomyFilter-ChaY6Y_x.js +1 -0
- package/admin-dist/public/assets/_contentTypeId-DQ8k_Rvw.js +1 -0
- package/admin-dist/public/assets/_entryId-CKU_glsK.js +1 -0
- package/admin-dist/public/assets/alert-BXjTqrwQ.js +1 -0
- package/admin-dist/public/assets/badge-hvUOzpVZ.js +1 -0
- package/admin-dist/public/assets/circle-check-big-CF_pR17r.js +1 -0
- package/admin-dist/public/assets/command-DU82cJlt.js +1 -0
- package/admin-dist/public/assets/content-_LXl3pp7.js +1 -0
- package/admin-dist/public/assets/content-types-KjxaXGxY.js +2 -0
- package/admin-dist/public/assets/globals-CS6BZ0zp.css +1 -0
- package/admin-dist/public/assets/index-DNGIZHL-.js +1 -0
- package/admin-dist/public/assets/label-KNtpL71g.js +1 -0
- package/admin-dist/public/assets/link-2-Bw2aI4V4.js +1 -0
- package/admin-dist/public/assets/list-sYepHjt_.js +1 -0
- package/admin-dist/public/assets/main-CKj5yfEi.js +97 -0
- package/admin-dist/public/assets/media-Bkrkffm7.js +1 -0
- package/admin-dist/public/assets/new._contentTypeId-C3LstjNs.js +1 -0
- package/admin-dist/public/assets/plus-DUn8v_Xf.js +1 -0
- package/admin-dist/public/assets/rotate-ccw-DJEoHcRI.js +1 -0
- package/admin-dist/public/assets/scroll-area-DfIlT0in.js +1 -0
- package/admin-dist/public/assets/search-MuAUDJKR.js +1 -0
- package/admin-dist/public/assets/select-BD29IXCI.js +1 -0
- package/admin-dist/public/assets/settings-DmMyn_6A.js +1 -0
- package/admin-dist/public/assets/switch-h3Rrnl5i.js +1 -0
- package/admin-dist/public/assets/tabs-imc8h-Dp.js +1 -0
- package/admin-dist/public/assets/taxonomies-dAsrT65H.js +1 -0
- package/admin-dist/public/assets/textarea-BTy7nwzR.js +1 -0
- package/admin-dist/public/assets/trash-SAWKZZHv.js +1 -0
- package/admin-dist/public/assets/triangle-alert-E52Vfeuh.js +1 -0
- package/admin-dist/public/assets/useBreadcrumbLabel-BECBMCzM.js +1 -0
- package/admin-dist/public/assets/usePermissions-Basjs9BT.js +1 -0
- package/admin-dist/public/favicon.ico +0 -0
- package/admin-dist/server/_chunks/_libs/@date-fns/tz.mjs +217 -0
- package/admin-dist/server/_chunks/_libs/@floating-ui/core.mjs +719 -0
- package/admin-dist/server/_chunks/_libs/@floating-ui/dom.mjs +622 -0
- package/admin-dist/server/_chunks/_libs/@floating-ui/react-dom.mjs +292 -0
- package/admin-dist/server/_chunks/_libs/@floating-ui/utils.mjs +320 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/number.mjs +6 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/primitive.mjs +11 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-arrow.mjs +23 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-avatar.mjs +119 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-checkbox.mjs +270 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-collection.mjs +69 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-compose-refs.mjs +39 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-context.mjs +137 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-dialog.mjs +325 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-direction.mjs +9 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-dismissable-layer.mjs +210 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-dropdown-menu.mjs +253 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-focus-guards.mjs +29 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-focus-scope.mjs +206 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-id.mjs +14 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-label.mjs +23 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-menu.mjs +812 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-popover.mjs +300 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-popper.mjs +286 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-portal.mjs +16 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-presence.mjs +128 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-primitive.mjs +141 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-roving-focus.mjs +224 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-scroll-area.mjs +721 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-select.mjs +1163 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-separator.mjs +28 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-slot.mjs +601 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-switch.mjs +152 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-tabs.mjs +189 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-use-callback-ref.mjs +11 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-use-controllable-state.mjs +69 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-use-effect-event.mjs +1 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-use-escape-keydown.mjs +17 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-use-is-hydrated.mjs +15 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-use-layout-effect.mjs +6 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-use-previous.mjs +14 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-use-size.mjs +39 -0
- package/admin-dist/server/_chunks/_libs/@radix-ui/react-visually-hidden.mjs +33 -0
- package/admin-dist/server/_chunks/_libs/@tanstack/history.mjs +409 -0
- package/admin-dist/server/_chunks/_libs/@tanstack/react-router.mjs +1711 -0
- package/admin-dist/server/_chunks/_libs/@tanstack/react-store.mjs +56 -0
- package/admin-dist/server/_chunks/_libs/@tanstack/router-core.mjs +4829 -0
- package/admin-dist/server/_chunks/_libs/@tanstack/store.mjs +134 -0
- package/admin-dist/server/_chunks/_libs/react-dom.mjs +10781 -0
- package/admin-dist/server/_chunks/_libs/react.mjs +513 -0
- package/admin-dist/server/_libs/aria-hidden.mjs +122 -0
- package/admin-dist/server/_libs/class-variance-authority.mjs +44 -0
- package/admin-dist/server/_libs/clsx.mjs +16 -0
- package/admin-dist/server/_libs/cmdk.mjs +315 -0
- package/admin-dist/server/_libs/convex.mjs +4841 -0
- package/admin-dist/server/_libs/cookie-es.mjs +58 -0
- package/admin-dist/server/_libs/croner.mjs +1 -0
- package/admin-dist/server/_libs/crossws.mjs +1 -0
- package/admin-dist/server/_libs/date-fns.mjs +1716 -0
- package/admin-dist/server/_libs/detect-node-es.mjs +1 -0
- package/admin-dist/server/_libs/get-nonce.mjs +9 -0
- package/admin-dist/server/_libs/h3-v2.mjs +277 -0
- package/admin-dist/server/_libs/h3.mjs +401 -0
- package/admin-dist/server/_libs/hookable.mjs +1 -0
- package/admin-dist/server/_libs/isbot.mjs +20 -0
- package/admin-dist/server/_libs/lucide-react.mjs +850 -0
- package/admin-dist/server/_libs/ohash.mjs +1 -0
- package/admin-dist/server/_libs/react-day-picker.mjs +2201 -0
- package/admin-dist/server/_libs/react-remove-scroll-bar.mjs +82 -0
- package/admin-dist/server/_libs/react-remove-scroll.mjs +328 -0
- package/admin-dist/server/_libs/react-style-singleton.mjs +69 -0
- package/admin-dist/server/_libs/rou3.mjs +8 -0
- package/admin-dist/server/_libs/seroval-plugins.mjs +58 -0
- package/admin-dist/server/_libs/seroval.mjs +1765 -0
- package/admin-dist/server/_libs/srvx.mjs +719 -0
- package/admin-dist/server/_libs/tailwind-merge.mjs +3010 -0
- package/admin-dist/server/_libs/tiny-invariant.mjs +12 -0
- package/admin-dist/server/_libs/tiny-warning.mjs +5 -0
- package/admin-dist/server/_libs/tslib.mjs +39 -0
- package/admin-dist/server/_libs/ufo.mjs +54 -0
- package/admin-dist/server/_libs/unctx.mjs +1 -0
- package/admin-dist/server/_libs/unstorage.mjs +1 -0
- package/admin-dist/server/_libs/use-callback-ref.mjs +66 -0
- package/admin-dist/server/_libs/use-sidecar.mjs +106 -0
- package/admin-dist/server/_libs/use-sync-external-store.mjs +139 -0
- package/admin-dist/server/_libs/zod.mjs +4223 -0
- package/admin-dist/server/_ssr/CmsEmptyState-DU7-7-mV.mjs +290 -0
- package/admin-dist/server/_ssr/CmsPageHeader-CseW0AHm.mjs +24 -0
- package/admin-dist/server/_ssr/CmsStatusBadge-B_pi4KCp.mjs +127 -0
- package/admin-dist/server/_ssr/CmsToolbar-X75ex6ek.mjs +49 -0
- package/admin-dist/server/_ssr/ContentEntryEditor-CepusRsA.mjs +3720 -0
- package/admin-dist/server/_ssr/ErrorState-cI-bKLez.mjs +89 -0
- package/admin-dist/server/_ssr/TaxonomyFilter-Bwrq0-cz.mjs +188 -0
- package/admin-dist/server/_ssr/_contentTypeId-BqYKEcLr.mjs +379 -0
- package/admin-dist/server/_ssr/_entryId-CRfnqeDf.mjs +161 -0
- package/admin-dist/server/_ssr/_tanstack-start-manifest_v-BwDlABVk.mjs +4 -0
- package/admin-dist/server/_ssr/alert-CVt45UUP.mjs +92 -0
- package/admin-dist/server/_ssr/badge-6BsP37vG.mjs +125 -0
- package/admin-dist/server/_ssr/command-fy8epIKf.mjs +128 -0
- package/admin-dist/server/_ssr/config.server-D7JHDcDv.mjs +117 -0
- package/admin-dist/server/_ssr/content-B5RhL7uW.mjs +532 -0
- package/admin-dist/server/_ssr/content-types-BIOqCQYN.mjs +1166 -0
- package/admin-dist/server/_ssr/index-DHSHDPt1.mjs +193 -0
- package/admin-dist/server/_ssr/index.mjs +1275 -0
- package/admin-dist/server/_ssr/label-C8Dko1j7.mjs +22 -0
- package/admin-dist/server/_ssr/media-CSx3XttC.mjs +1832 -0
- package/admin-dist/server/_ssr/new._contentTypeId-DzanEZQM.mjs +144 -0
- package/admin-dist/server/_ssr/router-DDWcF-kt.mjs +1556 -0
- package/admin-dist/server/_ssr/scroll-area-bjPYwhXN.mjs +59 -0
- package/admin-dist/server/_ssr/select-BUhDDf4T.mjs +142 -0
- package/admin-dist/server/_ssr/settings-DAsxnw2q.mjs +348 -0
- package/admin-dist/server/_ssr/start-HYkvq4Ni.mjs +4 -0
- package/admin-dist/server/_ssr/switch-BgyRtQ1Z.mjs +31 -0
- package/admin-dist/server/_ssr/tabs-DzMdRB1A.mjs +628 -0
- package/admin-dist/server/_ssr/taxonomies-C8j8g5Q5.mjs +915 -0
- package/admin-dist/server/_ssr/textarea-9jNeYJSc.mjs +18 -0
- package/admin-dist/server/_ssr/trash-DYMxwhZB.mjs +291 -0
- package/admin-dist/server/_ssr/useBreadcrumbLabel-FNSAr2Ha.mjs +16 -0
- package/admin-dist/server/_ssr/usePermissions-BJGGahrJ.mjs +68 -0
- package/admin-dist/server/favicon.ico +0 -0
- package/admin-dist/server/index.mjs +627 -0
- package/dist/cli/index.js +0 -0
- package/dist/client/admin-config.d.ts +0 -1
- package/dist/client/admin-config.d.ts.map +1 -1
- package/dist/client/admin-config.js +0 -1
- package/dist/client/admin-config.js.map +1 -1
- package/dist/client/adminApi.d.ts.map +1 -1
- package/dist/client/agentTools.d.ts +1237 -135
- package/dist/client/agentTools.d.ts.map +1 -1
- package/dist/client/agentTools.js +33 -9
- package/dist/client/agentTools.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/component/_generated/component.d.ts +9 -0
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/mediaAssets.d.ts +35 -0
- package/dist/component/mediaAssets.d.ts.map +1 -1
- package/dist/component/mediaAssets.js +81 -0
- package/dist/component/mediaAssets.js.map +1 -1
- package/dist/test.d.ts.map +1 -1
- package/dist/test.js +2 -1
- package/dist/test.js.map +1 -1
- package/package.json +24 -9
- package/dist/component/auditLog.d.ts +0 -410
- package/dist/component/auditLog.d.ts.map +0 -1
- package/dist/component/auditLog.js +0 -607
- package/dist/component/auditLog.js.map +0 -1
- package/dist/component/types.d.ts +0 -4
- package/dist/component/types.d.ts.map +0 -1
- package/dist/component/types.js +0 -2
- package/dist/component/types.js.map +0 -1
- package/src/cli/commands/admin.ts +0 -104
- package/src/cli/index.ts +0 -21
- package/src/cli/utils/detectConvexUrl.ts +0 -54
- package/src/cli/utils/openBrowser.ts +0 -16
- package/src/client/admin-config.ts +0 -138
- package/src/client/adminApi.ts +0 -942
- package/src/client/agentTools.ts +0 -1311
- package/src/client/argTypes.ts +0 -316
- package/src/client/field-types.ts +0 -187
- package/src/client/index.ts +0 -1301
- package/src/client/queryBuilder.ts +0 -1100
- package/src/client/schema/codegen.ts +0 -500
- package/src/client/schema/defineContentType.ts +0 -501
- package/src/client/schema/index.ts +0 -169
- package/src/client/schema/schemaDrift.ts +0 -574
- package/src/client/schema/typedClient.ts +0 -688
- package/src/client/schema/types.ts +0 -666
- package/src/client/types.ts +0 -723
- package/src/client/workflows.ts +0 -141
- package/src/client/wrapper.ts +0 -4304
- package/src/component/_generated/api.ts +0 -140
- package/src/component/_generated/component.ts +0 -5029
- package/src/component/_generated/dataModel.ts +0 -60
- package/src/component/_generated/server.ts +0 -156
- package/src/component/authorization.ts +0 -647
- package/src/component/authorizationHooks.ts +0 -668
- package/src/component/bulkOperations.ts +0 -687
- package/src/component/contentEntries.ts +0 -1976
- package/src/component/contentEntryMutations.ts +0 -1223
- package/src/component/contentEntryValidation.ts +0 -707
- package/src/component/contentLock.ts +0 -550
- package/src/component/contentTypeMigration.ts +0 -1064
- package/src/component/contentTypeMutations.ts +0 -969
- package/src/component/contentTypes.ts +0 -346
- package/src/component/convex.config.ts +0 -44
- package/src/component/documentTypes.ts +0 -240
- package/src/component/eventEmitter.ts +0 -485
- package/src/component/exportImport.ts +0 -1169
- package/src/component/index.ts +0 -491
- package/src/component/lib/deepReferenceResolver.ts +0 -999
- package/src/component/lib/errors.ts +0 -816
- package/src/component/lib/index.ts +0 -145
- package/src/component/lib/mediaReferenceResolver.ts +0 -495
- package/src/component/lib/metadataExtractor.ts +0 -792
- package/src/component/lib/mutationAuth.ts +0 -199
- package/src/component/lib/queries.ts +0 -79
- package/src/component/lib/ragContentChunker.ts +0 -1371
- package/src/component/lib/referenceResolver.ts +0 -430
- package/src/component/lib/slugGenerator.ts +0 -262
- package/src/component/lib/slugUniqueness.ts +0 -333
- package/src/component/lib/softDelete.ts +0 -44
- package/src/component/localeFallbackChain.ts +0 -673
- package/src/component/localeFields.ts +0 -896
- package/src/component/mediaAssetMutations.ts +0 -725
- package/src/component/mediaAssets.ts +0 -932
- package/src/component/mediaFolderMutations.ts +0 -1046
- package/src/component/mediaUploadMutations.ts +0 -224
- package/src/component/mediaVariantMutations.ts +0 -900
- package/src/component/mediaVariants.ts +0 -793
- package/src/component/ragContentIndexer.ts +0 -1067
- package/src/component/rateLimitHooks.ts +0 -572
- package/src/component/roles.ts +0 -1360
- package/src/component/scheduledPublish.ts +0 -358
- package/src/component/schema.ts +0 -617
- package/src/component/taxonomies.ts +0 -949
- package/src/component/taxonomyMutations.ts +0 -1210
- package/src/component/trash.ts +0 -724
- package/src/component/userContext.ts +0 -898
- package/src/component/validation.ts +0 -1388
- package/src/component/validators.ts +0 -949
- package/src/component/versionMutations.ts +0 -392
- package/src/component/webhookTrigger.ts +0 -1922
- package/src/react/index.ts +0 -898
- package/src/test.ts +0 -1580
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { r as reactExports, j as jsxRuntimeExports } from "../react.mjs";
|
|
2
|
+
import { c as composeEventHandlers } from "./primitive.mjs";
|
|
3
|
+
import { u as useComposedRefs } from "./react-compose-refs.mjs";
|
|
4
|
+
import { c as createContextScope } from "./react-context.mjs";
|
|
5
|
+
import { u as useControllableState } from "./react-use-controllable-state.mjs";
|
|
6
|
+
import { u as usePrevious } from "./react-use-previous.mjs";
|
|
7
|
+
import { u as useSize } from "./react-use-size.mjs";
|
|
8
|
+
import { P as Primitive } from "./react-primitive.mjs";
|
|
9
|
+
var SWITCH_NAME = "Switch";
|
|
10
|
+
var [createSwitchContext] = createContextScope(SWITCH_NAME);
|
|
11
|
+
var [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);
|
|
12
|
+
var Switch = reactExports.forwardRef(
|
|
13
|
+
(props, forwardedRef) => {
|
|
14
|
+
const {
|
|
15
|
+
__scopeSwitch,
|
|
16
|
+
name,
|
|
17
|
+
checked: checkedProp,
|
|
18
|
+
defaultChecked,
|
|
19
|
+
required,
|
|
20
|
+
disabled,
|
|
21
|
+
value = "on",
|
|
22
|
+
onCheckedChange,
|
|
23
|
+
form,
|
|
24
|
+
...switchProps
|
|
25
|
+
} = props;
|
|
26
|
+
const [button, setButton] = reactExports.useState(null);
|
|
27
|
+
const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));
|
|
28
|
+
const hasConsumerStoppedPropagationRef = reactExports.useRef(false);
|
|
29
|
+
const isFormControl = button ? form || !!button.closest("form") : true;
|
|
30
|
+
const [checked, setChecked] = useControllableState({
|
|
31
|
+
prop: checkedProp,
|
|
32
|
+
defaultProp: defaultChecked ?? false,
|
|
33
|
+
onChange: onCheckedChange,
|
|
34
|
+
caller: SWITCH_NAME
|
|
35
|
+
});
|
|
36
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [
|
|
37
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
38
|
+
Primitive.button,
|
|
39
|
+
{
|
|
40
|
+
type: "button",
|
|
41
|
+
role: "switch",
|
|
42
|
+
"aria-checked": checked,
|
|
43
|
+
"aria-required": required,
|
|
44
|
+
"data-state": getState(checked),
|
|
45
|
+
"data-disabled": disabled ? "" : void 0,
|
|
46
|
+
disabled,
|
|
47
|
+
value,
|
|
48
|
+
...switchProps,
|
|
49
|
+
ref: composedRefs,
|
|
50
|
+
onClick: composeEventHandlers(props.onClick, (event) => {
|
|
51
|
+
setChecked((prevChecked) => !prevChecked);
|
|
52
|
+
if (isFormControl) {
|
|
53
|
+
hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();
|
|
54
|
+
if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();
|
|
55
|
+
}
|
|
56
|
+
})
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
isFormControl && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
60
|
+
SwitchBubbleInput,
|
|
61
|
+
{
|
|
62
|
+
control: button,
|
|
63
|
+
bubbles: !hasConsumerStoppedPropagationRef.current,
|
|
64
|
+
name,
|
|
65
|
+
value,
|
|
66
|
+
checked,
|
|
67
|
+
required,
|
|
68
|
+
disabled,
|
|
69
|
+
form,
|
|
70
|
+
style: { transform: "translateX(-100%)" }
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
] });
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
Switch.displayName = SWITCH_NAME;
|
|
77
|
+
var THUMB_NAME = "SwitchThumb";
|
|
78
|
+
var SwitchThumb = reactExports.forwardRef(
|
|
79
|
+
(props, forwardedRef) => {
|
|
80
|
+
const { __scopeSwitch, ...thumbProps } = props;
|
|
81
|
+
const context = useSwitchContext(THUMB_NAME, __scopeSwitch);
|
|
82
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
83
|
+
Primitive.span,
|
|
84
|
+
{
|
|
85
|
+
"data-state": getState(context.checked),
|
|
86
|
+
"data-disabled": context.disabled ? "" : void 0,
|
|
87
|
+
...thumbProps,
|
|
88
|
+
ref: forwardedRef
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
SwitchThumb.displayName = THUMB_NAME;
|
|
94
|
+
var BUBBLE_INPUT_NAME = "SwitchBubbleInput";
|
|
95
|
+
var SwitchBubbleInput = reactExports.forwardRef(
|
|
96
|
+
({
|
|
97
|
+
__scopeSwitch,
|
|
98
|
+
control,
|
|
99
|
+
checked,
|
|
100
|
+
bubbles = true,
|
|
101
|
+
...props
|
|
102
|
+
}, forwardedRef) => {
|
|
103
|
+
const ref = reactExports.useRef(null);
|
|
104
|
+
const composedRefs = useComposedRefs(ref, forwardedRef);
|
|
105
|
+
const prevChecked = usePrevious(checked);
|
|
106
|
+
const controlSize = useSize(control);
|
|
107
|
+
reactExports.useEffect(() => {
|
|
108
|
+
const input = ref.current;
|
|
109
|
+
if (!input) return;
|
|
110
|
+
const inputProto = window.HTMLInputElement.prototype;
|
|
111
|
+
const descriptor = Object.getOwnPropertyDescriptor(
|
|
112
|
+
inputProto,
|
|
113
|
+
"checked"
|
|
114
|
+
);
|
|
115
|
+
const setChecked = descriptor.set;
|
|
116
|
+
if (prevChecked !== checked && setChecked) {
|
|
117
|
+
const event = new Event("click", { bubbles });
|
|
118
|
+
setChecked.call(input, checked);
|
|
119
|
+
input.dispatchEvent(event);
|
|
120
|
+
}
|
|
121
|
+
}, [prevChecked, checked, bubbles]);
|
|
122
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
123
|
+
"input",
|
|
124
|
+
{
|
|
125
|
+
type: "checkbox",
|
|
126
|
+
"aria-hidden": true,
|
|
127
|
+
defaultChecked: checked,
|
|
128
|
+
...props,
|
|
129
|
+
tabIndex: -1,
|
|
130
|
+
ref: composedRefs,
|
|
131
|
+
style: {
|
|
132
|
+
...props.style,
|
|
133
|
+
...controlSize,
|
|
134
|
+
position: "absolute",
|
|
135
|
+
pointerEvents: "none",
|
|
136
|
+
opacity: 0,
|
|
137
|
+
margin: 0
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
);
|
|
143
|
+
SwitchBubbleInput.displayName = BUBBLE_INPUT_NAME;
|
|
144
|
+
function getState(checked) {
|
|
145
|
+
return checked ? "checked" : "unchecked";
|
|
146
|
+
}
|
|
147
|
+
var Root = Switch;
|
|
148
|
+
var Thumb = SwitchThumb;
|
|
149
|
+
export {
|
|
150
|
+
Root as R,
|
|
151
|
+
Thumb as T
|
|
152
|
+
};
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { r as reactExports, j as jsxRuntimeExports } from "../react.mjs";
|
|
2
|
+
import { c as composeEventHandlers } from "./primitive.mjs";
|
|
3
|
+
import { c as createContextScope } from "./react-context.mjs";
|
|
4
|
+
import { R as Root, I as Item, c as createRovingFocusGroupScope } from "./react-roving-focus.mjs";
|
|
5
|
+
import { P as Presence } from "./react-presence.mjs";
|
|
6
|
+
import { P as Primitive } from "./react-primitive.mjs";
|
|
7
|
+
import { u as useDirection } from "./react-direction.mjs";
|
|
8
|
+
import { u as useControllableState } from "./react-use-controllable-state.mjs";
|
|
9
|
+
import { u as useId } from "./react-id.mjs";
|
|
10
|
+
var TABS_NAME = "Tabs";
|
|
11
|
+
var [createTabsContext] = createContextScope(TABS_NAME, [
|
|
12
|
+
createRovingFocusGroupScope
|
|
13
|
+
]);
|
|
14
|
+
var useRovingFocusGroupScope = createRovingFocusGroupScope();
|
|
15
|
+
var [TabsProvider, useTabsContext] = createTabsContext(TABS_NAME);
|
|
16
|
+
var Tabs = reactExports.forwardRef(
|
|
17
|
+
(props, forwardedRef) => {
|
|
18
|
+
const {
|
|
19
|
+
__scopeTabs,
|
|
20
|
+
value: valueProp,
|
|
21
|
+
onValueChange,
|
|
22
|
+
defaultValue,
|
|
23
|
+
orientation = "horizontal",
|
|
24
|
+
dir,
|
|
25
|
+
activationMode = "automatic",
|
|
26
|
+
...tabsProps
|
|
27
|
+
} = props;
|
|
28
|
+
const direction = useDirection(dir);
|
|
29
|
+
const [value, setValue] = useControllableState({
|
|
30
|
+
prop: valueProp,
|
|
31
|
+
onChange: onValueChange,
|
|
32
|
+
defaultProp: defaultValue ?? "",
|
|
33
|
+
caller: TABS_NAME
|
|
34
|
+
});
|
|
35
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
36
|
+
TabsProvider,
|
|
37
|
+
{
|
|
38
|
+
scope: __scopeTabs,
|
|
39
|
+
baseId: useId(),
|
|
40
|
+
value,
|
|
41
|
+
onValueChange: setValue,
|
|
42
|
+
orientation,
|
|
43
|
+
dir: direction,
|
|
44
|
+
activationMode,
|
|
45
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
46
|
+
Primitive.div,
|
|
47
|
+
{
|
|
48
|
+
dir: direction,
|
|
49
|
+
"data-orientation": orientation,
|
|
50
|
+
...tabsProps,
|
|
51
|
+
ref: forwardedRef
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
Tabs.displayName = TABS_NAME;
|
|
59
|
+
var TAB_LIST_NAME = "TabsList";
|
|
60
|
+
var TabsList = reactExports.forwardRef(
|
|
61
|
+
(props, forwardedRef) => {
|
|
62
|
+
const { __scopeTabs, loop = true, ...listProps } = props;
|
|
63
|
+
const context = useTabsContext(TAB_LIST_NAME, __scopeTabs);
|
|
64
|
+
const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
|
|
65
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
66
|
+
Root,
|
|
67
|
+
{
|
|
68
|
+
asChild: true,
|
|
69
|
+
...rovingFocusGroupScope,
|
|
70
|
+
orientation: context.orientation,
|
|
71
|
+
dir: context.dir,
|
|
72
|
+
loop,
|
|
73
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
74
|
+
Primitive.div,
|
|
75
|
+
{
|
|
76
|
+
role: "tablist",
|
|
77
|
+
"aria-orientation": context.orientation,
|
|
78
|
+
...listProps,
|
|
79
|
+
ref: forwardedRef
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
TabsList.displayName = TAB_LIST_NAME;
|
|
87
|
+
var TRIGGER_NAME = "TabsTrigger";
|
|
88
|
+
var TabsTrigger = reactExports.forwardRef(
|
|
89
|
+
(props, forwardedRef) => {
|
|
90
|
+
const { __scopeTabs, value, disabled = false, ...triggerProps } = props;
|
|
91
|
+
const context = useTabsContext(TRIGGER_NAME, __scopeTabs);
|
|
92
|
+
const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
|
|
93
|
+
const triggerId = makeTriggerId(context.baseId, value);
|
|
94
|
+
const contentId = makeContentId(context.baseId, value);
|
|
95
|
+
const isSelected = value === context.value;
|
|
96
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
97
|
+
Item,
|
|
98
|
+
{
|
|
99
|
+
asChild: true,
|
|
100
|
+
...rovingFocusGroupScope,
|
|
101
|
+
focusable: !disabled,
|
|
102
|
+
active: isSelected,
|
|
103
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
104
|
+
Primitive.button,
|
|
105
|
+
{
|
|
106
|
+
type: "button",
|
|
107
|
+
role: "tab",
|
|
108
|
+
"aria-selected": isSelected,
|
|
109
|
+
"aria-controls": contentId,
|
|
110
|
+
"data-state": isSelected ? "active" : "inactive",
|
|
111
|
+
"data-disabled": disabled ? "" : void 0,
|
|
112
|
+
disabled,
|
|
113
|
+
id: triggerId,
|
|
114
|
+
...triggerProps,
|
|
115
|
+
ref: forwardedRef,
|
|
116
|
+
onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {
|
|
117
|
+
if (!disabled && event.button === 0 && event.ctrlKey === false) {
|
|
118
|
+
context.onValueChange(value);
|
|
119
|
+
} else {
|
|
120
|
+
event.preventDefault();
|
|
121
|
+
}
|
|
122
|
+
}),
|
|
123
|
+
onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
|
|
124
|
+
if ([" ", "Enter"].includes(event.key)) context.onValueChange(value);
|
|
125
|
+
}),
|
|
126
|
+
onFocus: composeEventHandlers(props.onFocus, () => {
|
|
127
|
+
const isAutomaticActivation = context.activationMode !== "manual";
|
|
128
|
+
if (!isSelected && !disabled && isAutomaticActivation) {
|
|
129
|
+
context.onValueChange(value);
|
|
130
|
+
}
|
|
131
|
+
})
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
}
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
);
|
|
138
|
+
TabsTrigger.displayName = TRIGGER_NAME;
|
|
139
|
+
var CONTENT_NAME = "TabsContent";
|
|
140
|
+
var TabsContent = reactExports.forwardRef(
|
|
141
|
+
(props, forwardedRef) => {
|
|
142
|
+
const { __scopeTabs, value, forceMount, children, ...contentProps } = props;
|
|
143
|
+
const context = useTabsContext(CONTENT_NAME, __scopeTabs);
|
|
144
|
+
const triggerId = makeTriggerId(context.baseId, value);
|
|
145
|
+
const contentId = makeContentId(context.baseId, value);
|
|
146
|
+
const isSelected = value === context.value;
|
|
147
|
+
const isMountAnimationPreventedRef = reactExports.useRef(isSelected);
|
|
148
|
+
reactExports.useEffect(() => {
|
|
149
|
+
const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);
|
|
150
|
+
return () => cancelAnimationFrame(rAF);
|
|
151
|
+
}, []);
|
|
152
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Presence, { present: forceMount || isSelected, children: ({ present }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
153
|
+
Primitive.div,
|
|
154
|
+
{
|
|
155
|
+
"data-state": isSelected ? "active" : "inactive",
|
|
156
|
+
"data-orientation": context.orientation,
|
|
157
|
+
role: "tabpanel",
|
|
158
|
+
"aria-labelledby": triggerId,
|
|
159
|
+
hidden: !present,
|
|
160
|
+
id: contentId,
|
|
161
|
+
tabIndex: 0,
|
|
162
|
+
...contentProps,
|
|
163
|
+
ref: forwardedRef,
|
|
164
|
+
style: {
|
|
165
|
+
...props.style,
|
|
166
|
+
animationDuration: isMountAnimationPreventedRef.current ? "0s" : void 0
|
|
167
|
+
},
|
|
168
|
+
children: present && children
|
|
169
|
+
}
|
|
170
|
+
) });
|
|
171
|
+
}
|
|
172
|
+
);
|
|
173
|
+
TabsContent.displayName = CONTENT_NAME;
|
|
174
|
+
function makeTriggerId(baseId, value) {
|
|
175
|
+
return `${baseId}-trigger-${value}`;
|
|
176
|
+
}
|
|
177
|
+
function makeContentId(baseId, value) {
|
|
178
|
+
return `${baseId}-content-${value}`;
|
|
179
|
+
}
|
|
180
|
+
var Root2 = Tabs;
|
|
181
|
+
var List = TabsList;
|
|
182
|
+
var Trigger = TabsTrigger;
|
|
183
|
+
var Content = TabsContent;
|
|
184
|
+
export {
|
|
185
|
+
Content as C,
|
|
186
|
+
List as L,
|
|
187
|
+
Root2 as R,
|
|
188
|
+
Trigger as T
|
|
189
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { r as reactExports } from "../react.mjs";
|
|
2
|
+
function useCallbackRef(callback) {
|
|
3
|
+
const callbackRef = reactExports.useRef(callback);
|
|
4
|
+
reactExports.useEffect(() => {
|
|
5
|
+
callbackRef.current = callback;
|
|
6
|
+
});
|
|
7
|
+
return reactExports.useMemo(() => (...args) => callbackRef.current?.(...args), []);
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
useCallbackRef as u
|
|
11
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { r as reactExports, R as React } from "../react.mjs";
|
|
2
|
+
import { u as useLayoutEffect2 } from "./react-use-layout-effect.mjs";
|
|
3
|
+
var useInsertionEffect = React[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
|
|
4
|
+
function useControllableState({
|
|
5
|
+
prop,
|
|
6
|
+
defaultProp,
|
|
7
|
+
onChange = () => {
|
|
8
|
+
},
|
|
9
|
+
caller
|
|
10
|
+
}) {
|
|
11
|
+
const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
|
|
12
|
+
defaultProp,
|
|
13
|
+
onChange
|
|
14
|
+
});
|
|
15
|
+
const isControlled = prop !== void 0;
|
|
16
|
+
const value = isControlled ? prop : uncontrolledProp;
|
|
17
|
+
{
|
|
18
|
+
const isControlledRef = reactExports.useRef(prop !== void 0);
|
|
19
|
+
reactExports.useEffect(() => {
|
|
20
|
+
const wasControlled = isControlledRef.current;
|
|
21
|
+
if (wasControlled !== isControlled) {
|
|
22
|
+
const from = wasControlled ? "controlled" : "uncontrolled";
|
|
23
|
+
const to = isControlled ? "controlled" : "uncontrolled";
|
|
24
|
+
console.warn(
|
|
25
|
+
`${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
isControlledRef.current = isControlled;
|
|
29
|
+
}, [isControlled, caller]);
|
|
30
|
+
}
|
|
31
|
+
const setValue = reactExports.useCallback(
|
|
32
|
+
(nextValue) => {
|
|
33
|
+
if (isControlled) {
|
|
34
|
+
const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
|
|
35
|
+
if (value2 !== prop) {
|
|
36
|
+
onChangeRef.current?.(value2);
|
|
37
|
+
}
|
|
38
|
+
} else {
|
|
39
|
+
setUncontrolledProp(nextValue);
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
[isControlled, prop, setUncontrolledProp, onChangeRef]
|
|
43
|
+
);
|
|
44
|
+
return [value, setValue];
|
|
45
|
+
}
|
|
46
|
+
function useUncontrolledState({
|
|
47
|
+
defaultProp,
|
|
48
|
+
onChange
|
|
49
|
+
}) {
|
|
50
|
+
const [value, setValue] = reactExports.useState(defaultProp);
|
|
51
|
+
const prevValueRef = reactExports.useRef(value);
|
|
52
|
+
const onChangeRef = reactExports.useRef(onChange);
|
|
53
|
+
useInsertionEffect(() => {
|
|
54
|
+
onChangeRef.current = onChange;
|
|
55
|
+
}, [onChange]);
|
|
56
|
+
reactExports.useEffect(() => {
|
|
57
|
+
if (prevValueRef.current !== value) {
|
|
58
|
+
onChangeRef.current?.(value);
|
|
59
|
+
prevValueRef.current = value;
|
|
60
|
+
}
|
|
61
|
+
}, [value, prevValueRef]);
|
|
62
|
+
return [value, setValue, onChangeRef];
|
|
63
|
+
}
|
|
64
|
+
function isFunction(value) {
|
|
65
|
+
return typeof value === "function";
|
|
66
|
+
}
|
|
67
|
+
export {
|
|
68
|
+
useControllableState as u
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as reactExports } from "../react.mjs";
|
|
2
|
+
import { u as useCallbackRef } from "./react-use-callback-ref.mjs";
|
|
3
|
+
function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
|
|
4
|
+
const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
|
|
5
|
+
reactExports.useEffect(() => {
|
|
6
|
+
const handleKeyDown = (event) => {
|
|
7
|
+
if (event.key === "Escape") {
|
|
8
|
+
onEscapeKeyDown(event);
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
ownerDocument.addEventListener("keydown", handleKeyDown, { capture: true });
|
|
12
|
+
return () => ownerDocument.removeEventListener("keydown", handleKeyDown, { capture: true });
|
|
13
|
+
}, [onEscapeKeyDown, ownerDocument]);
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
useEscapeKeydown as u
|
|
17
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { s as shimExports } from "../../../_libs/use-sync-external-store.mjs";
|
|
2
|
+
function useIsHydrated() {
|
|
3
|
+
return shimExports.useSyncExternalStore(
|
|
4
|
+
subscribe,
|
|
5
|
+
() => true,
|
|
6
|
+
() => false
|
|
7
|
+
);
|
|
8
|
+
}
|
|
9
|
+
function subscribe() {
|
|
10
|
+
return () => {
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
useIsHydrated as u
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { r as reactExports } from "../react.mjs";
|
|
2
|
+
function usePrevious(value) {
|
|
3
|
+
const ref = reactExports.useRef({ value, previous: value });
|
|
4
|
+
return reactExports.useMemo(() => {
|
|
5
|
+
if (ref.current.value !== value) {
|
|
6
|
+
ref.current.previous = ref.current.value;
|
|
7
|
+
ref.current.value = value;
|
|
8
|
+
}
|
|
9
|
+
return ref.current.previous;
|
|
10
|
+
}, [value]);
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
usePrevious as u
|
|
14
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { r as reactExports } from "../react.mjs";
|
|
2
|
+
import { u as useLayoutEffect2 } from "./react-use-layout-effect.mjs";
|
|
3
|
+
function useSize(element) {
|
|
4
|
+
const [size, setSize] = reactExports.useState(void 0);
|
|
5
|
+
useLayoutEffect2(() => {
|
|
6
|
+
if (element) {
|
|
7
|
+
setSize({ width: element.offsetWidth, height: element.offsetHeight });
|
|
8
|
+
const resizeObserver = new ResizeObserver((entries) => {
|
|
9
|
+
if (!Array.isArray(entries)) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
if (!entries.length) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
const entry = entries[0];
|
|
16
|
+
let width;
|
|
17
|
+
let height;
|
|
18
|
+
if ("borderBoxSize" in entry) {
|
|
19
|
+
const borderSizeEntry = entry["borderBoxSize"];
|
|
20
|
+
const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;
|
|
21
|
+
width = borderSize["inlineSize"];
|
|
22
|
+
height = borderSize["blockSize"];
|
|
23
|
+
} else {
|
|
24
|
+
width = element.offsetWidth;
|
|
25
|
+
height = element.offsetHeight;
|
|
26
|
+
}
|
|
27
|
+
setSize({ width, height });
|
|
28
|
+
});
|
|
29
|
+
resizeObserver.observe(element, { box: "border-box" });
|
|
30
|
+
return () => resizeObserver.unobserve(element);
|
|
31
|
+
} else {
|
|
32
|
+
setSize(void 0);
|
|
33
|
+
}
|
|
34
|
+
}, [element]);
|
|
35
|
+
return size;
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
useSize as u
|
|
39
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { r as reactExports, j as jsxRuntimeExports } from "../react.mjs";
|
|
2
|
+
import { P as Primitive } from "./react-primitive.mjs";
|
|
3
|
+
var VISUALLY_HIDDEN_STYLES = Object.freeze({
|
|
4
|
+
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
5
|
+
position: "absolute",
|
|
6
|
+
border: 0,
|
|
7
|
+
width: 1,
|
|
8
|
+
height: 1,
|
|
9
|
+
padding: 0,
|
|
10
|
+
margin: -1,
|
|
11
|
+
overflow: "hidden",
|
|
12
|
+
clip: "rect(0, 0, 0, 0)",
|
|
13
|
+
whiteSpace: "nowrap",
|
|
14
|
+
wordWrap: "normal"
|
|
15
|
+
});
|
|
16
|
+
var NAME = "VisuallyHidden";
|
|
17
|
+
var VisuallyHidden = reactExports.forwardRef(
|
|
18
|
+
(props, forwardedRef) => {
|
|
19
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
20
|
+
Primitive.span,
|
|
21
|
+
{
|
|
22
|
+
...props,
|
|
23
|
+
ref: forwardedRef,
|
|
24
|
+
style: { ...VISUALLY_HIDDEN_STYLES, ...props.style }
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
VisuallyHidden.displayName = NAME;
|
|
30
|
+
export {
|
|
31
|
+
VISUALLY_HIDDEN_STYLES as V,
|
|
32
|
+
VisuallyHidden as a
|
|
33
|
+
};
|