@orion-studios/payload-admin-components 0.2.0-beta.12 → 0.2.0-beta.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.
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  BlockPicker,
5
5
  SectionTabs
6
- } from "./chunk-3SA5V3QM.mjs";
6
+ } from "./chunk-OPMRMGFD.mjs";
7
7
 
8
8
  // src/components/OrionBlocksFieldImpl.tsx
9
9
  import { getTranslation as getTranslation2 } from "@payloadcms/translations";
@@ -1,4 +1,35 @@
1
1
  'use client';
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
+ }) : x)(function(x) {
11
+ if (typeof require !== "undefined") return require.apply(this, arguments);
12
+ throw Error('Dynamic require of "' + x + '" is not supported');
13
+ });
14
+ var __commonJS = (cb, mod) => function __require2() {
15
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
16
+ };
17
+ var __copyProps = (to, from, except, desc) => {
18
+ if (from && typeof from === "object" || typeof from === "function") {
19
+ for (let key of __getOwnPropNames(from))
20
+ if (!__hasOwnProp.call(to, key) && key !== except)
21
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
22
+ }
23
+ return to;
24
+ };
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
26
+ // If the importer is in node compatibility mode or this is not an ESM
27
+ // file that has been converted to a CommonJS file using a Babel-
28
+ // compatible transform (i.e. "__esModule" has not been set), then set
29
+ // "default" to the CommonJS "module.exports" for node compatibility.
30
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
31
+ mod
32
+ ));
2
33
 
3
34
  // src/components/BlockPicker.tsx
4
35
  import { useState } from "react";
@@ -204,6 +235,9 @@ function SectionTabs({
204
235
  }
205
236
 
206
237
  export {
238
+ __require,
239
+ __commonJS,
240
+ __toESM,
207
241
  BlockPicker,
208
242
  SectionTabs
209
243
  };
package/dist/client.d.mts CHANGED
@@ -97,4 +97,14 @@ declare function AdminStudioMediaView(props: AnyRecord$1): react_jsx_runtime.JSX
97
97
  type AnyRecord = Record<string, unknown>;
98
98
  declare function AdminStudioToolsView(props: AnyRecord): react_jsx_runtime.JSX.Element;
99
99
 
100
- export { AdminStudioDashboard, AdminStudioGlobalsView, AdminStudioMediaView, AdminStudioNav, AdminStudioPageEditView, AdminStudioPagesListView, AdminStudioToolsView, BlockPicker, Dashboard, EmptyState, HelpTooltip, Icon, Logo, OrionBlocksField, SectionTabs, StatusBadge, type ThemeOption, ThemeProvider, ThemeSwitcher, WelcomeHeader, useTheme };
100
+ type Props$1 = {
101
+ pagesPathBase?: string;
102
+ };
103
+ declare function OpenInStudioMenuItem({ pagesPathBase }: Props$1): react_jsx_runtime.JSX.Element | null;
104
+
105
+ type Props = {
106
+ pagesPathBase?: string;
107
+ };
108
+ declare function PageEditRedirectToStudio({ pagesPathBase }: Props): react_jsx_runtime.JSX.Element;
109
+
110
+ export { AdminStudioDashboard, AdminStudioGlobalsView, AdminStudioMediaView, AdminStudioNav, AdminStudioPageEditView, AdminStudioPagesListView, AdminStudioToolsView, BlockPicker, Dashboard, EmptyState, HelpTooltip, Icon, Logo, OpenInStudioMenuItem, OrionBlocksField, PageEditRedirectToStudio, SectionTabs, StatusBadge, type ThemeOption, ThemeProvider, ThemeSwitcher, WelcomeHeader, useTheme };
package/dist/client.d.ts CHANGED
@@ -97,4 +97,14 @@ declare function AdminStudioMediaView(props: AnyRecord$1): react_jsx_runtime.JSX
97
97
  type AnyRecord = Record<string, unknown>;
98
98
  declare function AdminStudioToolsView(props: AnyRecord): react_jsx_runtime.JSX.Element;
99
99
 
100
- export { AdminStudioDashboard, AdminStudioGlobalsView, AdminStudioMediaView, AdminStudioNav, AdminStudioPageEditView, AdminStudioPagesListView, AdminStudioToolsView, BlockPicker, Dashboard, EmptyState, HelpTooltip, Icon, Logo, OrionBlocksField, SectionTabs, StatusBadge, type ThemeOption, ThemeProvider, ThemeSwitcher, WelcomeHeader, useTheme };
100
+ type Props$1 = {
101
+ pagesPathBase?: string;
102
+ };
103
+ declare function OpenInStudioMenuItem({ pagesPathBase }: Props$1): react_jsx_runtime.JSX.Element | null;
104
+
105
+ type Props = {
106
+ pagesPathBase?: string;
107
+ };
108
+ declare function PageEditRedirectToStudio({ pagesPathBase }: Props): react_jsx_runtime.JSX.Element;
109
+
110
+ export { AdminStudioDashboard, AdminStudioGlobalsView, AdminStudioMediaView, AdminStudioNav, AdminStudioPageEditView, AdminStudioPagesListView, AdminStudioToolsView, BlockPicker, Dashboard, EmptyState, HelpTooltip, Icon, Logo, OpenInStudioMenuItem, OrionBlocksField, PageEditRedirectToStudio, SectionTabs, StatusBadge, type ThemeOption, ThemeProvider, ThemeSwitcher, WelcomeHeader, useTheme };