@fuma-content/studio 1.0.2 → 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-DqiXnN2L.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-OSVRoCKH.js → client-BEKU4RIg.js} +148 -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-BdrDVoE8.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-Bx93mXy1.js → index-D8KuzOxG.js} +1 -1
- package/build/client/assets/index-DrT4Adhh.js +41 -0
- package/build/client/assets/{index-BpILsqFO.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-BNErtsK6.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-B8--K7an.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-B_CXTQpA.js → root-jg-0qm8s.js} +1 -1
- package/build/client/assets/route-BLLsZ_zO.js +1 -0
- package/build/client/assets/{router-a9jyj9wf.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-DQkKe-WA.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-Cloe7OVn.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-BFtCTvOL.js → actions-C5Kv8XYU.js} +2 -2
- package/build/server/__ssr_build/assets/{actions-B50-3n-a.js → actions-DQIBBM15.js} +4 -4
- package/build/server/__ssr_build/assets/{badge-DYFvBSp8.js → badge-B48L9yYO.js} +1 -1
- package/build/server/__ssr_build/assets/{client-CU90j0R8.js → client-AuWNsacU.js} +3 -3
- package/build/server/__ssr_build/assets/client-BHaLyky8.js +1162 -0
- package/build/server/__ssr_build/assets/{client--HXec13w.js → client-BogEWrwz.js} +10 -6
- package/build/server/__ssr_build/assets/{client-BqW9rGyi.js → client-DXOHI3cC.js} +2994 -4866
- package/build/server/__ssr_build/assets/{dropdown-menu-D2YyT3lP.js → dropdown-menu-CnDgV_JY.js} +7 -10
- 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-C_-b_vqm.js → index-By9m5mBe.js} +3295 -3195
- package/build/server/__ssr_build/assets/index-Ch7b9Ofo.js +37 -0
- package/build/server/__ssr_build/assets/{index-B-gno69w.js → index-Cw6b1mnl.js} +8 -7
- package/build/server/__ssr_build/assets/{index-DBc0nhEL.js → index-kCa2P0Xn.js} +4 -75
- package/build/server/__ssr_build/assets/{index-Dtw6X3NW.js → index-tFzyztyE.js} +2 -2
- package/build/server/__ssr_build/assets/{layout-CPnSx9PI.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-BwoghW3K.js → page-BVUd9aDy.js} +10 -8
- package/build/server/__ssr_build/assets/{page-HxttullC.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-CS7F-km4.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-BXcLlTNs.js → select-B8QQSB6X.js} +10 -25
- package/build/server/__ssr_build/assets/{separator-8UA_ceSq.js → separator-C601eKPH.js} +2 -2
- package/build/server/__ssr_build/assets/{sidebar-BzNOZeBO.js → sidebar-C6fHDjcx.js} +237 -65
- package/build/server/__ssr_build/assets/{site-header-CXHKSzqk.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-DZ4WdJt-.js → tooltip-B3A57zPO.js} +1211 -1214
- package/build/server/__ssr_build/assets/{use-sync-TRS0zL-Y.js → use-sync-DTZgOM1O.js} +259 -1498
- 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-zlF_Ew1s.js → page-pyqagPXb.js} +2 -2
- package/build/server/assets/root-B0B6-NU5.css +1 -0
- package/build/server/assets/{root-CVOXO6T9.js → root-D1ebFoST.js} +1 -1
- package/build/server/assets/{route-o-6k10r9.js → route-C7QEArEP.js} +12571 -4431
- package/build/server/index.js +40 -15
- package/dist/bin.mjs +4 -4
- package/dist/package.mjs +1 -1
- package/package.json +36 -18
- package/build/client/assets/actions-DkbV2Z0p.js +0 -1
- package/build/client/assets/actions-DpkI7OTF.js +0 -1
- package/build/client/assets/badge-CZkdLoIP.js +0 -1
- package/build/client/assets/button-Bm94vje1.js +0 -41
- package/build/client/assets/client-BWBqEatf.js +0 -1
- package/build/client/assets/client-Crg-pMcu.js +0 -1
- package/build/client/assets/dropdown-menu-EF-sTINr.js +0 -1
- package/build/client/assets/entry.rsc-D51PwnQL.js +0 -1
- package/build/client/assets/index-CQRgqbuL.js +0 -1
- package/build/client/assets/index-DOs5iMXj.js +0 -1
- package/build/client/assets/index-DTzAH5JX.js +0 -1
- package/build/client/assets/layout-CnpYRqF0.js +0 -1
- package/build/client/assets/page-DOzl4Kpa.js +0 -1
- package/build/client/assets/page-uNpJU_rv.js +0 -1
- package/build/client/assets/root-D3NoAGI1.js +0 -1
- package/build/client/assets/root-z8crlXSh.css +0 -1
- package/build/client/assets/separator-tWFpvpUX.js +0 -1
- package/build/client/assets/sidebar-BBYit8gY.js +0 -12
- package/build/client/assets/spinner-BdPhtfsc.js +0 -1
- package/build/client/assets/tooltip-Dvh-iHDG.js +0 -16
- package/build/client/assets/use-sync-ZgcwUdu_.js +0 -9
- package/build/server/assets/root-z8crlXSh.css +0 -1
- /package/build/server/__ssr_build/assets/{root-D-Y-rGw5.js → root-S8l7oX7x.js} +0 -0
- /package/build/server/assets/{root-dGb6ch_9.js → root-DRYtk85G.js} +0 -0
package/build/server/__ssr_build/assets/{dropdown-menu-D2YyT3lP.js → dropdown-menu-CnDgV_JY.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
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
|
-
import { aq as ChevronRight } from "./tooltip-DZ4WdJt-.js";
|
|
6
6
|
const __iconNode$1 = [
|
|
7
7
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
8
8
|
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
@@ -822,12 +822,12 @@ var RadioGroup = MenuRadioGroup;
|
|
|
822
822
|
var RadioItem = MenuRadioItem;
|
|
823
823
|
var ItemIndicator = MenuItemIndicator;
|
|
824
824
|
var Separator = MenuSeparator;
|
|
825
|
-
var Arrow2
|
|
825
|
+
var Arrow2 = MenuArrow;
|
|
826
826
|
var Sub = MenuSub;
|
|
827
827
|
var SubTrigger = MenuSubTrigger;
|
|
828
828
|
var SubContent = MenuSubContent;
|
|
829
829
|
var DROPDOWN_MENU_NAME = "DropdownMenu";
|
|
830
|
-
var [createDropdownMenuContext
|
|
830
|
+
var [createDropdownMenuContext] = createContextScope(
|
|
831
831
|
DROPDOWN_MENU_NAME,
|
|
832
832
|
[createMenuScope]
|
|
833
833
|
);
|
|
@@ -1019,7 +1019,7 @@ var DropdownMenuArrow = reactExports.forwardRef(
|
|
|
1019
1019
|
(props, forwardedRef) => {
|
|
1020
1020
|
const { __scopeDropdownMenu, ...arrowProps } = props;
|
|
1021
1021
|
const menuScope = useMenuScope(__scopeDropdownMenu);
|
|
1022
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Arrow2
|
|
1022
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Arrow2, { ...menuScope, ...arrowProps, ref: forwardedRef });
|
|
1023
1023
|
}
|
|
1024
1024
|
);
|
|
1025
1025
|
DropdownMenuArrow.displayName = ARROW_NAME;
|
|
@@ -1078,13 +1078,11 @@ var RadioGroup2 = DropdownMenuRadioGroup$1;
|
|
|
1078
1078
|
var RadioItem2 = DropdownMenuRadioItem$1;
|
|
1079
1079
|
var ItemIndicator2 = DropdownMenuItemIndicator$1;
|
|
1080
1080
|
var Separator2 = DropdownMenuSeparator$1;
|
|
1081
|
-
var Arrow2 = DropdownMenuArrow;
|
|
1082
1081
|
var Sub2 = DropdownMenuSub$1;
|
|
1083
1082
|
var SubTrigger2 = DropdownMenuSubTrigger$1;
|
|
1084
1083
|
var SubContent2 = DropdownMenuSubContent$1;
|
|
1085
1084
|
const DropdownMenuPrimitive = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1086
1085
|
__proto__: null,
|
|
1087
|
-
Arrow: Arrow2,
|
|
1088
1086
|
CheckboxItem: CheckboxItem2,
|
|
1089
1087
|
Content: Content2,
|
|
1090
1088
|
DropdownMenu: DropdownMenu$1,
|
|
@@ -1115,8 +1113,7 @@ const DropdownMenuPrimitive = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
|
|
|
1115
1113
|
Sub: Sub2,
|
|
1116
1114
|
SubContent: SubContent2,
|
|
1117
1115
|
SubTrigger: SubTrigger2,
|
|
1118
|
-
Trigger
|
|
1119
|
-
createDropdownMenuScope
|
|
1116
|
+
Trigger
|
|
1120
1117
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1121
1118
|
function DropdownMenu({ ...props }) {
|
|
1122
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
|
+
};
|