@conloca/cms-spa 0.1.12 → 0.1.13

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/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as MediaLibrary, c as FolderTreeSidebar, h as configureUI, i as UploadModal, n as CMSMDXEditorModal, t as MDXContent } from "./puck-DyXDFCcg.mjs";
1
+ import { a as MediaLibrary, c as FolderTreeSidebar, g as configureUI, i as UploadModal, n as CMSMDXEditorModal, t as MDXContent } from "./puck-DjVdP1zb.mjs";
2
2
  import { setDataSchemas } from "./data-schemas.mjs";
3
3
 
4
4
  export { CMSMDXEditorModal, FolderTreeSidebar, MDXContent, MediaLibrary, UploadModal, configureUI, setDataSchemas };
package/dist/main.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import { _ as useErrorModal, a as MediaLibrary, b as useDeleteAsset, c as FolderTreeSidebar, d as useFolderTree$1, f as useMoveAssets, g as getUIConfig, i as UploadModal, l as cn$1, m as useSiteBaseUrl, n as CMSMDXEditorModal, o as MediaToolbar, p as useUpdateAssetMetadata, r as ImagePicker, s as buildAssetServeUrl, t as MDXContent, u as useAssetUsage, v as useDialogState, y as useClickOutside } from "./puck-DyXDFCcg.mjs";
1
+ import { _ as getUIConfig, a as MediaLibrary, b as useClickOutside, c as FolderTreeSidebar, d as useDeleteAsset, f as useFolderTree$1, h as useSiteBaseUrl, i as UploadModal, l as cn$1, m as useUpdateAssetMetadata, n as CMSMDXEditorModal, o as MediaToolbar, p as useMoveAssets, r as ImagePicker, s as buildAssetServeUrl, t as MDXContent, u as useAssetUsage, v as useErrorModal, y as useDialogState } from "./puck-DjVdP1zb.mjs";
2
2
  import { useDataSchemas } from "./data-schemas.mjs";
3
3
  import { usePageSchemas } from "./page-schemas.mjs";
4
4
  import { usePuckConfig } from "./puck-config.mjs";
5
5
  import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
6
6
  import { AlertCircle, AlertTriangle, ArrowDownToLine, ArrowRight, Check, ChevronDown, Clock, Code, Code2, Database, Edit, Edit2, ExternalLink, Eye, FileEdit, FileJson, FileText, Folder, FolderInput, FolderOpen, GitBranch, Image, ImageIcon, LayoutDashboard, Loader2, Monitor, MoreVertical, Package, Plus, Save, Settings, Smartphone, Tablet, Trash2, Upload, User, X } from "lucide-react";
7
- import { ContentAPIClient, getContentAPIClient, localesOf, setContentAPIClient, useBlocks, useCommitChanges, useCreateContent, useCurrentUser, useData, useDataCollections, useDeleteContent, useFolderTree, useGitStatus, useLocalizedContent, usePullChanges, usePushChanges, useSitePages, useSitesConfig, useUpdateLocalized } from "@conloca/content-api-client";
7
+ import { ContentAPIClient, blockEditableSchema, dataEditableSchema, formatFileSize, getContentAPIClient, localesOf, setContentAPIClient, useBlocks, useCommitChanges, useCreateContent, useCurrentUser, useData, useDataCollections, useDeleteContent, useFolderTree, useGitStatus, useLocalizedContent, usePullChanges, usePushChanges, useSitePages, useSitesConfig, useUpdateLocalized } from "@conloca/content-api-client";
8
8
  import cn from "clsx";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
10
  import { QueryClient, QueryClientProvider, useQuery } from "@tanstack/react-query";
@@ -15,7 +15,6 @@ import * as Select from "@radix-ui/react-select";
15
15
  import { Puck, resolveAllData, useGetPuck } from "@puckeditor/core";
16
16
  import * as Dialog from "@radix-ui/react-dialog";
17
17
  import { z } from "zod";
18
- import { blockEditableSchema, dataEditableSchema, formatFileSize } from "@conloca/content-api";
19
18
 
20
19
  //#region src/components/cards/SectionCard.tsx
21
20
  function SectionCard({ to, icon, title, description, count, countLabel, isLoading, testId }) {