@fuma-content/studio 1.0.3 → 1.0.4
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/build/client/assets/{QueryClientProvider-Cys2v_1v.js → QueryClientProvider-BFSUF51X.js} +1 -1
- package/build/client/assets/actions-ByenKsIt.js +1 -0
- package/build/client/assets/actions-ClHPL1CP.js +1 -0
- package/build/client/assets/badge-BnhEE6iu.js +1 -0
- package/build/client/assets/{client-Cfd36Zz-.js → client-BEKU4RIg.js} +146 -146
- package/build/client/assets/client-DBU2dkUR.js +1 -0
- package/build/client/assets/client-DvwvjHta.js +1 -0
- package/build/client/assets/client-wd2sce2I.js +8 -0
- package/build/client/assets/dropdown-menu-By_XeFX4.js +1 -0
- package/build/client/assets/entry.rsc-J_U0YQEr.js +1 -0
- package/build/client/assets/{index-DL539Bhx.js → index-B5GacMxj.js} +1 -1
- package/build/client/assets/index-BTaHNKf7.js +1 -0
- package/build/client/assets/index-BgFxGtat.js +1 -0
- package/build/client/assets/index-CG_0cSZQ.js +1 -0
- package/build/client/assets/index-CfCSvolS.js +1 -0
- package/build/client/assets/{index-C37mbJ0i.js → index-D8KuzOxG.js} +1 -1
- package/build/client/assets/index-DrT4Adhh.js +41 -0
- package/build/client/assets/{index-DXHuzvfN.js → index-El_a1Yhs.js} +1 -1
- package/build/client/assets/index-QYLIz8qa.js +1 -0
- package/build/client/assets/layout-BPVd8vtW.js +1 -0
- package/build/client/assets/{mdx-CehodSrM.js → mdx-DBJIR6uw.js} +1 -1
- package/build/client/assets/page-BJL5nvn-.js +1 -0
- package/build/client/assets/page-eyuUZvVn.js +1 -0
- package/build/client/assets/popover-BowiFsDm.js +1 -0
- package/build/client/assets/{react-D58ornpH.js → react-CzFdRS7Y.js} +7 -7
- package/build/client/assets/root-7fvd-0uP.js +1 -0
- package/build/client/assets/root-B0B6-NU5.css +1 -0
- package/build/client/assets/{root-CNcQf1GA.js → root-jg-0qm8s.js} +1 -1
- package/build/client/assets/route-BLLsZ_zO.js +1 -0
- package/build/client/assets/{router-XCTsiXqQ.js → router-QEl8O8lm.js} +1 -1
- package/build/client/assets/select-BI356bZ1.js +1 -0
- package/build/client/assets/separator-0kwG7IIM.js +1 -0
- package/build/client/assets/sidebar-ByyQE2QS.js +12 -0
- package/build/client/assets/{site-header-1Aor7-g4.js → site-header-iBpA4Sim.js} +1 -1
- package/build/client/assets/spinner-D35u7i0p.js +1 -0
- package/build/client/assets/tooltip-v-_I4rCw.js +16 -0
- package/build/client/assets/use-sync-yCWvjE_m.js +2 -0
- package/build/client/assets/{yaml-DUnUkeX8.js → yaml-BnQf_2Zt.js} +1 -1
- package/build/server/__ssr_build/__vite_rsc_assets_manifest.js +213 -133
- package/build/server/__ssr_build/assets/{actions-DLZnfFzU.js → actions-C5Kv8XYU.js} +2 -2
- package/build/server/__ssr_build/assets/{actions-D6dLhck1.js → actions-DQIBBM15.js} +4 -4
- package/build/server/__ssr_build/assets/{badge-CH6ntch2.js → badge-B48L9yYO.js} +1 -1
- package/build/server/__ssr_build/assets/{client-C-WcMcGh.js → client-AuWNsacU.js} +3 -3
- package/build/server/__ssr_build/assets/client-BHaLyky8.js +1162 -0
- package/build/server/__ssr_build/assets/{client-DX-wDNer.js → client-BogEWrwz.js} +9 -5
- package/build/server/__ssr_build/assets/{client-JNaR8Jey.js → client-DXOHI3cC.js} +2808 -4397
- package/build/server/__ssr_build/assets/{dropdown-menu-gcIcDMHP.js → dropdown-menu-CnDgV_JY.js} +7 -9
- package/build/server/__ssr_build/assets/{entry.rsc-Cg_DxYkh.js → entry.rsc-aOU-YPkj.js} +1 -1
- package/build/server/__ssr_build/assets/{index-PpqpVA51.js → index-B6ajh-UP.js} +1 -1
- package/build/server/__ssr_build/assets/index-BPd5y8T-.js +76 -0
- package/build/server/__ssr_build/assets/{button-U-KvP9zg.js → index-By9m5mBe.js} +3272 -3175
- package/build/server/__ssr_build/assets/index-Ch7b9Ofo.js +37 -0
- package/build/server/__ssr_build/assets/{index-BJ-AF-IL.js → index-Cw6b1mnl.js} +8 -7
- package/build/server/__ssr_build/assets/{index-BloUStie.js → index-kCa2P0Xn.js} +4 -75
- package/build/server/__ssr_build/assets/{index-CWwW5yWZ.js → index-tFzyztyE.js} +2 -2
- package/build/server/__ssr_build/assets/{layout-B79fq6F-.js → layout-CC-HJHWR.js} +13 -11
- package/build/server/__ssr_build/assets/{mdx-bmeV1kyx.js → mdx-D9VFmsYC.js} +1 -1
- package/build/server/__ssr_build/assets/{page-CxhOzrct.js → page-BVUd9aDy.js} +10 -8
- package/build/server/__ssr_build/assets/{page-DxtKhA1K.js → page-C_wQzy3_.js} +13 -11
- package/build/server/__ssr_build/assets/popover-CzQgoguQ.js +321 -0
- package/build/server/__ssr_build/assets/{root-TWeSpY2W.js → root-BmMc6_zA.js} +1 -1
- package/build/server/__ssr_build/assets/route-CNYc37pV.js +860 -0
- package/build/server/__ssr_build/assets/{spinner-w3Q_wkh3.js → select-B8QQSB6X.js} +10 -25
- package/build/server/__ssr_build/assets/{separator-CKrKBtv4.js → separator-C601eKPH.js} +2 -2
- package/build/server/__ssr_build/assets/{sidebar-DoXmiwf0.js → sidebar-C6fHDjcx.js} +237 -65
- package/build/server/__ssr_build/assets/{site-header-pFjDV73T.js → site-header-Bmsr3a30.js} +2 -2
- package/build/server/__ssr_build/assets/spinner-D5zAJQcS.js +19 -0
- package/build/server/__ssr_build/assets/{tooltip-B2NV0tpS.js → tooltip-B3A57zPO.js} +1211 -1211
- package/build/server/__ssr_build/assets/{use-sync-p_-o0jkt.js → use-sync-DTZgOM1O.js} +29 -1185
- package/build/server/__ssr_build/assets/{yaml-BEdFfhvc.js → yaml-xJU1Ur4O.js} +1 -1
- package/build/server/__ssr_build/index.js +31 -15
- package/build/server/__vite_rsc_assets_manifest.js +213 -133
- package/build/server/assets/{actions-C92yn6jE.js → actions-BbMzIy5J.js} +2 -2
- package/build/server/assets/{actions-CWWFIcb1.js → actions-CjWBMAed.js} +2 -2
- package/build/server/assets/{actions-DZdN0IBq.js → actions-cRzXiMyR.js} +2 -2
- package/build/server/assets/{config-Cb909uq6.js → config-Dka4Bvz4.js} +10 -10
- package/build/server/assets/{layout-CRw_6FCt.js → layout-CIIfFN0v.js} +2 -2
- package/build/server/assets/{page-BfKoQQmw.js → page-pyqagPXb.js} +2 -2
- package/build/server/assets/root-B0B6-NU5.css +1 -0
- package/build/server/assets/{root-BqMNAwvK.js → root-D1ebFoST.js} +1 -1
- package/build/server/assets/{route-DiqCR5uw.js → route-C7QEArEP.js} +13911 -5699
- package/build/server/index.js +40 -15
- package/dist/bin.mjs +4 -4
- package/dist/package.mjs +1 -1
- package/package.json +32 -15
- package/build/client/assets/actions-BIaFztcg.js +0 -1
- package/build/client/assets/actions-Bws1O3FH.js +0 -1
- package/build/client/assets/badge-C70RdDmr.js +0 -1
- package/build/client/assets/button-B0G-joJA.js +0 -41
- package/build/client/assets/client-C814jsdE.js +0 -1
- package/build/client/assets/client-wwp8K9Xz.js +0 -1
- package/build/client/assets/dropdown-menu-Re3QusA0.js +0 -1
- package/build/client/assets/entry.rsc-CdTwhQ3_.js +0 -1
- package/build/client/assets/index-DZ8LIlZu.js +0 -1
- package/build/client/assets/index-DprkZK2S.js +0 -1
- package/build/client/assets/index-UnlOgAz7.js +0 -1
- package/build/client/assets/layout-C5TjiFIx.js +0 -1
- package/build/client/assets/page-CiRIEJz9.js +0 -1
- package/build/client/assets/page-DBIuN_hk.js +0 -1
- package/build/client/assets/root-CbriXo_i.css +0 -1
- package/build/client/assets/root-DJ8qMHCd.js +0 -1
- package/build/client/assets/separator-BDe8wWVP.js +0 -1
- package/build/client/assets/sidebar-DNKkYLTA.js +0 -12
- package/build/client/assets/spinner-O3ZbB6fn.js +0 -1
- package/build/client/assets/tooltip-B4fI3WTO.js +0 -16
- package/build/client/assets/use-sync-CfDyibsS.js +0 -9
- package/build/server/assets/root-CbriXo_i.css +0 -1
- /package/build/server/__ssr_build/assets/{root-BYlluTc0.js → root-S8l7oX7x.js} +0 -0
- /package/build/server/assets/{root-ByROcfN4.js → root-DRYtk85G.js} +0 -0
package/build/server/__ssr_build/assets/{dropdown-menu-gcIcDMHP.js → dropdown-menu-CnDgV_JY.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { c as createLucideIcon,
|
|
1
|
+
import { c as createLucideIcon, d as useCallbackRef, R as Root2$1, A as Anchor, q as Presence, s as Portal$1, m as useComposedRefs, g as composeEventHandlers, h as createContextScope, t as createPopperScope, v as hideOthers, P as Primitive, H as dispatchDiscreteCustomEvent, y as useFocusGuards, w as ReactRemoveScroll, F as FocusScope, D as DismissableLayer, z as Content, x as createSlot, E as Arrow, a as composeRefs, u as useId, f as useControllableState, b as cn, C as ChevronRight } from "./index-By9m5mBe.js";
|
|
2
2
|
import { r as reactExports, j as jsxRuntimeExports } from "../index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { u as useDirection, c as createCollection, C as Check } from "./index-BPd5y8T-.js";
|
|
4
|
+
import { I as Item, c as createRovingFocusGroupScope, R as Root } from "./index-kCa2P0Xn.js";
|
|
4
5
|
import { cva } from "class-variance-authority";
|
|
5
6
|
const __iconNode$1 = [
|
|
6
7
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
@@ -821,12 +822,12 @@ var RadioGroup = MenuRadioGroup;
|
|
|
821
822
|
var RadioItem = MenuRadioItem;
|
|
822
823
|
var ItemIndicator = MenuItemIndicator;
|
|
823
824
|
var Separator = MenuSeparator;
|
|
824
|
-
var Arrow2
|
|
825
|
+
var Arrow2 = MenuArrow;
|
|
825
826
|
var Sub = MenuSub;
|
|
826
827
|
var SubTrigger = MenuSubTrigger;
|
|
827
828
|
var SubContent = MenuSubContent;
|
|
828
829
|
var DROPDOWN_MENU_NAME = "DropdownMenu";
|
|
829
|
-
var [createDropdownMenuContext
|
|
830
|
+
var [createDropdownMenuContext] = createContextScope(
|
|
830
831
|
DROPDOWN_MENU_NAME,
|
|
831
832
|
[createMenuScope]
|
|
832
833
|
);
|
|
@@ -1018,7 +1019,7 @@ var DropdownMenuArrow = reactExports.forwardRef(
|
|
|
1018
1019
|
(props, forwardedRef) => {
|
|
1019
1020
|
const { __scopeDropdownMenu, ...arrowProps } = props;
|
|
1020
1021
|
const menuScope = useMenuScope(__scopeDropdownMenu);
|
|
1021
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Arrow2
|
|
1022
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Arrow2, { ...menuScope, ...arrowProps, ref: forwardedRef });
|
|
1022
1023
|
}
|
|
1023
1024
|
);
|
|
1024
1025
|
DropdownMenuArrow.displayName = ARROW_NAME;
|
|
@@ -1077,13 +1078,11 @@ var RadioGroup2 = DropdownMenuRadioGroup$1;
|
|
|
1077
1078
|
var RadioItem2 = DropdownMenuRadioItem$1;
|
|
1078
1079
|
var ItemIndicator2 = DropdownMenuItemIndicator$1;
|
|
1079
1080
|
var Separator2 = DropdownMenuSeparator$1;
|
|
1080
|
-
var Arrow2 = DropdownMenuArrow;
|
|
1081
1081
|
var Sub2 = DropdownMenuSub$1;
|
|
1082
1082
|
var SubTrigger2 = DropdownMenuSubTrigger$1;
|
|
1083
1083
|
var SubContent2 = DropdownMenuSubContent$1;
|
|
1084
1084
|
const DropdownMenuPrimitive = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1085
1085
|
__proto__: null,
|
|
1086
|
-
Arrow: Arrow2,
|
|
1087
1086
|
CheckboxItem: CheckboxItem2,
|
|
1088
1087
|
Content: Content2,
|
|
1089
1088
|
DropdownMenu: DropdownMenu$1,
|
|
@@ -1114,8 +1113,7 @@ const DropdownMenuPrimitive = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
|
|
|
1114
1113
|
Sub: Sub2,
|
|
1115
1114
|
SubContent: SubContent2,
|
|
1116
1115
|
SubTrigger: SubTrigger2,
|
|
1117
|
-
Trigger
|
|
1118
|
-
createDropdownMenuScope
|
|
1116
|
+
Trigger
|
|
1119
1117
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1120
1118
|
function DropdownMenu({ ...props }) {
|
|
1121
1119
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Root2, { "data-slot": "dropdown-menu", ...props });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as WithHydrateFallbackProps, b as WithErrorBoundaryProps, c as WithComponentProps, O as Outlet } from "../index.js";
|
|
2
2
|
import "../__vite_rsc_assets_manifest.js";
|
|
3
3
|
import "node:async_hooks";
|
|
4
4
|
const export_37eafacc3f00 = {
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { c as createLucideIcon, h as createContextScope, m as useComposedRefs, x as createSlot } from "./index-By9m5mBe.js";
|
|
2
|
+
import { W as We, j as jsxRuntimeExports, r as reactExports } from "../index.js";
|
|
3
|
+
const __iconNode = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
4
|
+
const Check = createLucideIcon("check", __iconNode);
|
|
5
|
+
function createCollection(name) {
|
|
6
|
+
const PROVIDER_NAME = name + "CollectionProvider";
|
|
7
|
+
const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);
|
|
8
|
+
const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(
|
|
9
|
+
PROVIDER_NAME,
|
|
10
|
+
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
11
|
+
);
|
|
12
|
+
const CollectionProvider = (props) => {
|
|
13
|
+
const { scope, children } = props;
|
|
14
|
+
const ref = We.useRef(null);
|
|
15
|
+
const itemMap = We.useRef(/* @__PURE__ */ new Map()).current;
|
|
16
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
|
|
17
|
+
};
|
|
18
|
+
CollectionProvider.displayName = PROVIDER_NAME;
|
|
19
|
+
const COLLECTION_SLOT_NAME = name + "CollectionSlot";
|
|
20
|
+
const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);
|
|
21
|
+
const CollectionSlot = We.forwardRef(
|
|
22
|
+
(props, forwardedRef) => {
|
|
23
|
+
const { scope, children } = props;
|
|
24
|
+
const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
|
|
25
|
+
const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);
|
|
26
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(CollectionSlotImpl, { ref: composedRefs, children });
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
CollectionSlot.displayName = COLLECTION_SLOT_NAME;
|
|
30
|
+
const ITEM_SLOT_NAME = name + "CollectionItemSlot";
|
|
31
|
+
const ITEM_DATA_ATTR = "data-radix-collection-item";
|
|
32
|
+
const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);
|
|
33
|
+
const CollectionItemSlot = We.forwardRef(
|
|
34
|
+
(props, forwardedRef) => {
|
|
35
|
+
const { scope, children, ...itemData } = props;
|
|
36
|
+
const ref = We.useRef(null);
|
|
37
|
+
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
38
|
+
const context = useCollectionContext(ITEM_SLOT_NAME, scope);
|
|
39
|
+
We.useEffect(() => {
|
|
40
|
+
context.itemMap.set(ref, { ref, ...itemData });
|
|
41
|
+
return () => void context.itemMap.delete(ref);
|
|
42
|
+
});
|
|
43
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
CollectionItemSlot.displayName = ITEM_SLOT_NAME;
|
|
47
|
+
function useCollection(scope) {
|
|
48
|
+
const context = useCollectionContext(name + "CollectionConsumer", scope);
|
|
49
|
+
const getItems = We.useCallback(() => {
|
|
50
|
+
const collectionNode = context.collectionRef.current;
|
|
51
|
+
if (!collectionNode) return [];
|
|
52
|
+
const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));
|
|
53
|
+
const items = Array.from(context.itemMap.values());
|
|
54
|
+
const orderedItems = items.sort(
|
|
55
|
+
(a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)
|
|
56
|
+
);
|
|
57
|
+
return orderedItems;
|
|
58
|
+
}, [context.collectionRef, context.itemMap]);
|
|
59
|
+
return getItems;
|
|
60
|
+
}
|
|
61
|
+
return [
|
|
62
|
+
{ Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },
|
|
63
|
+
useCollection,
|
|
64
|
+
createCollectionScope
|
|
65
|
+
];
|
|
66
|
+
}
|
|
67
|
+
var DirectionContext = reactExports.createContext(void 0);
|
|
68
|
+
function useDirection(localDir) {
|
|
69
|
+
const globalDir = reactExports.useContext(DirectionContext);
|
|
70
|
+
return localDir || globalDir || "ltr";
|
|
71
|
+
}
|
|
72
|
+
export {
|
|
73
|
+
Check as C,
|
|
74
|
+
createCollection as c,
|
|
75
|
+
useDirection as u
|
|
76
|
+
};
|