opacacms 0.3.16 → 0.3.18
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/admin/{stores → features/collections}/admin-queries.d.ts +1 -1
- package/dist/admin/{ui/views → features/collections}/collection-list-view.d.ts +1 -1
- package/dist/admin/{ui/views → features/collections}/document-edit-view.d.ts +2 -1
- package/dist/admin/{ui/views → features/collections}/global-edit-view.d.ts +1 -1
- package/dist/admin/{ui/components → features/collections}/versions-sheet.d.ts +3 -3
- package/dist/admin/{ui/views → features/dashboard}/dashboard-view.d.ts +1 -1
- package/dist/admin/{ui/components/media/AssetManagerModal.d.ts → features/media/components/asset-manager-modal.d.ts} +1 -2
- package/dist/admin/features/media/media-registry-view.d.ts +7 -0
- package/dist/admin/{ui/components/PluginSettingsForm.d.ts → features/settings/plugin-settings-form.d.ts} +3 -3
- package/dist/admin/{ui/views → features/settings}/settings-view.d.ts +2 -2
- package/dist/admin/{stores → features/ui-shell}/config.d.ts +1 -1
- package/dist/admin/{stores → features/ui-shell}/ui.d.ts +1 -1
- package/dist/admin/index.d.ts +8 -8
- package/dist/admin/index.js +4 -4
- package/dist/admin/ui/{components/ui → core}/blocks.d.ts +1 -1
- package/dist/admin/ui/core/breadcrumbs.d.ts +21 -0
- package/dist/admin/ui/{components/ui → core}/button.d.ts +4 -4
- package/dist/admin/ui/{components/ui → core}/collapsible.d.ts +2 -2
- package/dist/admin/ui/core/context-menu.d.ts +29 -0
- package/dist/admin/ui/core/dialog.d.ts +20 -0
- package/dist/admin/ui/{components/ui → core}/group.d.ts +2 -2
- package/dist/admin/ui/core/index.d.ts +17 -0
- package/dist/admin/ui/{components/ui → core}/input.d.ts +2 -2
- package/dist/admin/ui/{components/ui → core}/join.d.ts +1 -1
- package/dist/admin/ui/core/label.d.ts +4 -0
- package/dist/admin/ui/core/popover.d.ts +10 -0
- package/dist/admin/ui/{components/ui → core}/radio-group.d.ts +2 -2
- package/dist/admin/ui/{components/ui → core}/relationship.d.ts +1 -1
- package/dist/admin/ui/{components/ui → core}/scroll-area.d.ts +1 -1
- package/dist/admin/ui/core/select.d.ts +15 -0
- package/dist/admin/ui/{components/ui → core}/sheet.d.ts +6 -6
- package/dist/admin/ui/core/sidebar.d.ts +69 -0
- package/dist/admin/ui/core/skeleton.d.ts +2 -0
- package/dist/admin/ui/core/switch.d.ts +6 -0
- package/dist/admin/ui/core/table.d.ts +10 -0
- package/dist/admin/ui/core/tabs.d.ts +11 -0
- package/dist/admin/ui/hooks/use-mobile.d.ts +1 -0
- package/dist/admin/ui/{admin-client.d.ts → layout/admin-client.d.ts} +1 -1
- package/dist/admin/ui/{admin-layout.d.ts → layout/admin-layout.d.ts} +2 -2
- package/dist/admin/ui/{components → shared}/column-visibility-toggle.d.ts +1 -1
- package/dist/admin/ui/{components → shared}/detail-sheet.d.ts +2 -2
- package/dist/admin/ui/{components/fields/ArrayField.d.ts → shared/fields/array-field.d.ts} +1 -1
- package/dist/admin/ui/shared/fields/blocks-field.d.ts +25 -0
- package/dist/admin/ui/{components/fields/BooleanField.d.ts → shared/fields/boolean-field.d.ts} +1 -1
- package/dist/admin/ui/{components/fields/CollapsibleField.d.ts → shared/fields/collapsible-field.d.ts} +1 -1
- package/dist/admin/ui/{components/fields/FileField.d.ts → shared/fields/file-field.d.ts} +13 -3
- package/dist/admin/ui/{components/fields/GroupField.d.ts → shared/fields/group-field.d.ts} +1 -1
- package/dist/admin/ui/shared/fields/index.d.ts +28 -0
- package/dist/admin/ui/{components/fields/JoinField.d.ts → shared/fields/join-field.d.ts} +1 -1
- package/dist/admin/ui/{components/fields/RelationshipField.d.ts → shared/fields/relationship-field.d.ts} +1 -1
- package/dist/admin/ui/{components → shared}/fields/richtext-editor/index.d.ts +2 -2
- package/dist/admin/ui/{components/fields/richtext-editor/nodes/ImageNode.d.ts → shared/fields/richtext-editor/nodes/image-node.d.ts} +3 -3
- package/dist/admin/ui/{components/fields/TabsField.d.ts → shared/fields/tabs-field.d.ts} +1 -1
- package/dist/admin/ui/{components/fields/VirtualField.d.ts → shared/fields/virtual-field.d.ts} +1 -1
- package/dist/admin/ui/{components → shared}/toast.d.ts +1 -1
- package/dist/admin/webcomponent.js +34 -34
- package/dist/admin.css +1 -1
- package/dist/{chunk-5y0mkt7x.js → chunk-2abqb0h6.js} +2 -2
- package/dist/{chunk-m83ybzf8.js → chunk-hrxq1x98.js} +1 -1
- package/dist/{chunk-nch158fe.js → chunk-y3ehzvp4.js} +1 -1
- package/dist/{chunk-vmz9ncf1.js → chunk-yw9w63kr.js} +3 -3
- package/dist/cli/commands/init.d.ts +1 -0
- package/dist/cli/core/seeding/auto-seed.d.ts +1 -1
- package/dist/cli/index.js +28 -3
- package/dist/config.d.ts +2 -6
- package/dist/db/adapter.d.ts +1 -1
- package/dist/db/better-sqlite.d.ts +1 -1
- package/dist/db/better-sqlite.js +587 -9
- package/dist/db/bun-sqlite.js +590 -9
- package/dist/db/d1.d.ts +1 -1
- package/dist/db/d1.js +605 -9
- package/dist/db/index.d.ts +0 -5
- package/dist/db/index.js +0 -35
- package/dist/db/kysely/plugins/draft-swapper.d.ts +2 -2
- package/dist/db/kysely/plugins/i18n-fallback.d.ts +2 -2
- package/dist/db/kysely/plugins/json-flattener.d.ts +2 -2
- package/dist/db/kysely/plugins/virtual-field-resolver.d.ts +2 -2
- package/dist/db/kysely/schema-builder.d.ts +1 -1
- package/dist/db/kysely/snapshot/snapshot-manager.d.ts +1 -1
- package/dist/db/postgres.js +613 -9
- package/dist/db/sqlite.d.ts +1 -1
- package/dist/db/sqlite.js +602 -9
- package/dist/runtimes/bun.js +1 -1
- package/dist/runtimes/cloudflare-workers.js +1 -1
- package/dist/runtimes/next.js +1 -1
- package/dist/runtimes/node.js +1 -1
- package/dist/server.js +4 -4
- package/dist/types.d.ts +3 -3
- package/package.json +25 -7
- package/dist/admin/ui/components/Table.d.ts +0 -10
- package/dist/admin/ui/components/fields/BlocksField.d.ts +0 -17
- package/dist/admin/ui/components/fields/index.d.ts +0 -28
- package/dist/admin/ui/components/ui/breadcrumbs.d.ts +0 -7
- package/dist/admin/ui/components/ui/dialog.d.ts +0 -27
- package/dist/admin/ui/components/ui/index.d.ts +0 -17
- package/dist/admin/ui/components/ui/label.d.ts +0 -3
- package/dist/admin/ui/components/ui/select.d.ts +0 -37
- package/dist/admin/ui/components/ui/tabs.d.ts +0 -17
- package/dist/admin/ui/views/media-registry-view.d.ts +0 -7
- package/dist/chunk-5b9eqr34.js +0 -608
- package/dist/chunk-dz5bh1bd.js +0 -586
- package/dist/chunk-nz6xhtja.js +0 -601
- package/dist/chunk-qsefknd3.js +0 -593
- package/dist/chunk-tsmhn78f.js +0 -616
- /package/dist/admin/{stores → features/auth}/auth.d.ts +0 -0
- /package/dist/admin/{ui/views → features/auth}/login-view.d.ts +0 -0
- /package/dist/admin/{ui/components → features/collections}/data-detail-view.d.ts +0 -0
- /package/dist/admin/{ui/views → features/init}/init-view.d.ts +0 -0
- /package/dist/admin/{stores → features/media}/media.d.ts +0 -0
- /package/dist/admin/{stores → features/ui-shell}/column-visibility.d.ts +0 -0
- /package/dist/admin/{stores → features/ui-shell}/query.d.ts +0 -0
- /package/dist/admin/ui/{components/ui → core}/accordion.d.ts +0 -0
- /package/dist/admin/ui/{components/ui → core}/alert-dialog.d.ts +0 -0
- /package/dist/admin/ui/{components/ui → core}/separator.d.ts +0 -0
- /package/dist/admin/ui/{components/ui → core}/tooltip.d.ts +0 -0
- /package/dist/admin/ui/{components/ui → core}/utils.d.ts +0 -0
- /package/dist/admin/ui/{components → shared}/custom-alert.d.ts +0 -0
- /package/dist/admin/ui/{components/fields/DateField.d.ts → shared/fields/date-field.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/FieldLabel.d.ts → shared/fields/field-label.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/NumberField.d.ts → shared/fields/number-field.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/RadioField.d.ts → shared/fields/radio-field.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/richtext-editor/nodes/ImageComponent.d.ts → shared/fields/richtext-editor/nodes/image-component.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/richtext-editor/plugins/ComponentPickerPlugin.d.ts → shared/fields/richtext-editor/plugins/component-picker-plugin.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/richtext-editor/plugins/EditableSyncPlugin.d.ts → shared/fields/richtext-editor/plugins/editable-sync-plugin.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/richtext-editor/plugins/NotionToolbarPlugin.d.ts → shared/fields/richtext-editor/plugins/notion-toolbar-plugin.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/richtext-editor/plugins/SimpleToolbarPlugin.d.ts → shared/fields/richtext-editor/plugins/simple-toolbar-plugin.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/richtext-editor/plugins/ValueSyncPlugin.d.ts → shared/fields/richtext-editor/plugins/value-sync-plugin.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/RowField.d.ts → shared/fields/row-field.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/SelectField.d.ts → shared/fields/select-field.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/TextAreaField.d.ts → shared/fields/text-area-field.d.ts} +0 -0
- /package/dist/admin/ui/{components/fields/TextField.d.ts → shared/fields/text-field.d.ts} +0 -0
- /package/dist/admin/ui/{components → shared}/fields/utils.d.ts +0 -0
- /package/dist/admin/ui/{components → shared}/link.d.ts +0 -0
- /package/dist/admin/ui/{components → shared}/plugin-iframe.d.ts +0 -0
package/dist/types.d.ts
CHANGED
|
@@ -524,9 +524,9 @@ export interface OpacaConfig<Resource extends string = string> {
|
|
|
524
524
|
/** Configuration for the internal logger. */
|
|
525
525
|
logger?: OpacaLoggerConfig;
|
|
526
526
|
/** List of collections that define your content models. */
|
|
527
|
-
collections: Collection[];
|
|
527
|
+
collections: Collection[] | readonly Collection[];
|
|
528
528
|
/** List of global singletons for site-wide settings. */
|
|
529
|
-
globals?: Global[];
|
|
529
|
+
globals?: Global[] | readonly Global[];
|
|
530
530
|
/** Configuration for the Admin UI dashboard and layout. */
|
|
531
531
|
admin?: AdminConfig;
|
|
532
532
|
/** Configuration for the REST and GraphQL APIs. */
|
|
@@ -685,7 +685,7 @@ export interface DatabaseAdapter {
|
|
|
685
685
|
deleteMany?(collection: string, query: Record<string, unknown>): Promise<number>;
|
|
686
686
|
findGlobal?<T extends object>(slug: string): Promise<T | null>;
|
|
687
687
|
updateGlobal?<T extends object>(slug: string, data: Partial<T>): Promise<T>;
|
|
688
|
-
migrate(collections: Collection[], globals?: Global[]): Promise<void>;
|
|
688
|
+
migrate(collections: Collection[] | readonly Collection[], globals?: Global[] | readonly Global[]): Promise<void>;
|
|
689
689
|
/**
|
|
690
690
|
* Run file-based migrations from the migrations directory.
|
|
691
691
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opacacms",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.18",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "OpacaCMS: A lightweight, type-safe, and developer-first Headless CMS for the edge and beyond.",
|
|
6
6
|
"keywords": [
|
|
@@ -186,6 +186,12 @@
|
|
|
186
186
|
"zod": "^4.3.6",
|
|
187
187
|
"@aws-sdk/client-s3": "^3.1009.0",
|
|
188
188
|
"@aws-sdk/s3-request-presigner": "^3.1009.0",
|
|
189
|
+
"@hono-rate-limiter/cloudflare": "^0.2.2",
|
|
190
|
+
"@hono/graphql-server": "^0.7.0",
|
|
191
|
+
"@hono/node-server": "^1.19.11",
|
|
192
|
+
"@scalar/hono-api-reference": "^0.10.4",
|
|
193
|
+
"graphql": "^16.13.1",
|
|
194
|
+
"hono-rate-limiter": "^0.5.3",
|
|
189
195
|
"better-sqlite3": "^12.6.2",
|
|
190
196
|
"kysely-bun-sqlite": "^0.4.0",
|
|
191
197
|
"kysely-d1": "^0.4.0",
|
|
@@ -199,6 +205,24 @@
|
|
|
199
205
|
"@aws-sdk/s3-request-presigner": {
|
|
200
206
|
"optional": true
|
|
201
207
|
},
|
|
208
|
+
"@hono-rate-limiter/cloudflare": {
|
|
209
|
+
"optional": true
|
|
210
|
+
},
|
|
211
|
+
"@hono/graphql-server": {
|
|
212
|
+
"optional": true
|
|
213
|
+
},
|
|
214
|
+
"@hono/node-server": {
|
|
215
|
+
"optional": true
|
|
216
|
+
},
|
|
217
|
+
"@scalar/hono-api-reference": {
|
|
218
|
+
"optional": true
|
|
219
|
+
},
|
|
220
|
+
"graphql": {
|
|
221
|
+
"optional": true
|
|
222
|
+
},
|
|
223
|
+
"hono-rate-limiter": {
|
|
224
|
+
"optional": true
|
|
225
|
+
},
|
|
202
226
|
"better-sqlite3": {
|
|
203
227
|
"optional": true
|
|
204
228
|
},
|
|
@@ -218,14 +242,8 @@
|
|
|
218
242
|
"dependencies": {
|
|
219
243
|
"@better-auth/api-key": "^1.5.5",
|
|
220
244
|
"@better-auth/core": "^1.5.5",
|
|
221
|
-
"@hono-rate-limiter/cloudflare": "^0.2.2",
|
|
222
|
-
"@hono/graphql-server": "^0.7.0",
|
|
223
|
-
"@hono/node-server": "^1.19.11",
|
|
224
|
-
"@scalar/hono-api-reference": "^0.10.4",
|
|
225
245
|
"better-auth": "^1.5.5",
|
|
226
246
|
"dotenv": "^17.3.1",
|
|
227
|
-
"graphql": "^16.13.1",
|
|
228
|
-
"hono-rate-limiter": "^0.5.3",
|
|
229
247
|
"ky": "^1.14.3",
|
|
230
248
|
"kysely": "^0.28.11",
|
|
231
249
|
"zod-to-json-schema": "^3.25.1"
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
3
|
-
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
4
|
-
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
5
|
-
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
6
|
-
declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
7
|
-
declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
8
|
-
declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
9
|
-
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
10
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
interface BlocksFieldProps {
|
|
3
|
-
name: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
blocks: Array<{
|
|
6
|
-
slug: string;
|
|
7
|
-
fields: any[];
|
|
8
|
-
label?: string;
|
|
9
|
-
}>;
|
|
10
|
-
value: any[];
|
|
11
|
-
onChange: (val: any[]) => void;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
readOnly?: boolean;
|
|
14
|
-
renderField: (field: any, value: any, onChange: (val: any) => void) => React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export declare const BlocksField: React.FC<BlocksFieldProps>;
|
|
17
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ArrayField } from "../../../../admin/ui/components/fields/ArrayField";
|
|
3
|
-
import { BlocksField } from "../../../../admin/ui/components/fields/BlocksField";
|
|
4
|
-
import { BooleanField } from "../../../../admin/ui/components/fields/BooleanField";
|
|
5
|
-
import { CollapsibleField } from "../../../../admin/ui/components/fields/CollapsibleField";
|
|
6
|
-
import { DateField } from "../../../../admin/ui/components/fields/DateField";
|
|
7
|
-
import { FileField } from "../../../../admin/ui/components/fields/FileField";
|
|
8
|
-
import { GroupField } from "../../../../admin/ui/components/fields/GroupField";
|
|
9
|
-
import { JoinField } from "../../../../admin/ui/components/fields/JoinField";
|
|
10
|
-
import { NumberField } from "../../../../admin/ui/components/fields/NumberField";
|
|
11
|
-
import { RadioField } from "../../../../admin/ui/components/fields/RadioField";
|
|
12
|
-
import { RelationshipField } from "../../../../admin/ui/components/fields/RelationshipField";
|
|
13
|
-
import { SelectField } from "../../../../admin/ui/components/fields/SelectField";
|
|
14
|
-
import { TabsField } from "../../../../admin/ui/components/fields/TabsField";
|
|
15
|
-
import { TextAreaField } from "../../../../admin/ui/components/fields/TextAreaField";
|
|
16
|
-
import { TextField } from "../../../../admin/ui/components/fields/TextField";
|
|
17
|
-
import { VirtualField } from "../../../../admin/ui/components/fields/VirtualField";
|
|
18
|
-
export { ArrayField, BlocksField, BooleanField, CollapsibleField, DateField, FileField, GroupField, JoinField, NumberField, RadioField, RelationshipField, SelectField, TabsField, TextAreaField, TextField, VirtualField, };
|
|
19
|
-
interface FieldRendererProps {
|
|
20
|
-
field: any;
|
|
21
|
-
value: any;
|
|
22
|
-
onChange: (val: any, secondaryVal?: any) => void;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
readOnly?: boolean;
|
|
25
|
-
error?: string;
|
|
26
|
-
parentData?: any;
|
|
27
|
-
}
|
|
28
|
-
export declare const FieldRenderer: React.FC<FieldRendererProps>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type * as React from "react";
|
|
2
|
-
import "../../../../admin/ui/styles/dialog.scss";
|
|
3
|
-
export declare function Dialog({ open, onOpenChange, children, }: {
|
|
4
|
-
open: boolean;
|
|
5
|
-
onOpenChange: (open: boolean) => void;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
}): React.ReactPortal | null;
|
|
8
|
-
export declare function DialogContent({ children, className, }: {
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare function DialogHeader({ children, className, }: {
|
|
13
|
-
children: React.ReactNode;
|
|
14
|
-
className?: string;
|
|
15
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export declare function DialogTitle({ children, className, }: {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
className?: string;
|
|
19
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export declare function DialogDescription({ children, className, }: {
|
|
21
|
-
children: React.ReactNode;
|
|
22
|
-
className?: string;
|
|
23
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export declare function DialogFooter({ children, className, }: {
|
|
25
|
-
children: React.ReactNode;
|
|
26
|
-
className?: string;
|
|
27
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export * from "../../../../admin/ui/components/ui/accordion";
|
|
2
|
-
export * from "../../../../admin/ui/components/ui/blocks";
|
|
3
|
-
export * from "../../../../admin/ui/components/ui/button";
|
|
4
|
-
export * from "../../../../admin/ui/components/ui/collapsible";
|
|
5
|
-
export * from "../../../../admin/ui/components/ui/dialog";
|
|
6
|
-
export * from "../../../../admin/ui/components/ui/group";
|
|
7
|
-
export * from "../../../../admin/ui/components/ui/input";
|
|
8
|
-
export * from "../../../../admin/ui/components/ui/join";
|
|
9
|
-
export * from "../../../../admin/ui/components/ui/label";
|
|
10
|
-
export * from "../../../../admin/ui/components/ui/radio-group";
|
|
11
|
-
export * from "../../../../admin/ui/components/ui/relationship";
|
|
12
|
-
export * from "../../../../admin/ui/components/ui/scroll-area";
|
|
13
|
-
export * from "../../../../admin/ui/components/ui/select";
|
|
14
|
-
export * from "../../../../admin/ui/components/ui/separator";
|
|
15
|
-
export * from "../../../../admin/ui/components/ui/sheet";
|
|
16
|
-
export * from "../../../../admin/ui/components/ui/tabs";
|
|
17
|
-
export * from "../../../../admin/ui/components/ui/utils";
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import "../../../../admin/ui/styles/select.scss";
|
|
3
|
-
export interface SelectProps {
|
|
4
|
-
value?: string;
|
|
5
|
-
onValueChange?: (value: string) => void;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function Select({ value, onValueChange, children, open: controlledOpen, onOpenChange, }: SelectProps & {
|
|
12
|
-
open?: boolean;
|
|
13
|
-
onOpenChange?: (open: boolean) => void;
|
|
14
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare function SelectTrigger({ children, className, }: {
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
className?: string;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export declare function SelectValue({ placeholder }: {
|
|
20
|
-
placeholder?: string;
|
|
21
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export declare function SelectContent({ children, className, }: {
|
|
23
|
-
children: React.ReactNode;
|
|
24
|
-
className?: string;
|
|
25
|
-
}): React.ReactPortal | null;
|
|
26
|
-
export declare function SelectItem({ value, children, className, }: {
|
|
27
|
-
value: string;
|
|
28
|
-
children: React.ReactNode;
|
|
29
|
-
className?: string;
|
|
30
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export declare function SelectGroup({ children }: {
|
|
32
|
-
children: React.ReactNode;
|
|
33
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
export declare function SelectLabel({ children }: {
|
|
35
|
-
children: React.ReactNode;
|
|
36
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
export declare function SelectSeparator(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import "../../../../admin/ui/styles/tabs.scss";
|
|
3
|
-
export interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
value?: string;
|
|
5
|
-
defaultValue?: string;
|
|
6
|
-
onValueChange?: (value: string) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export declare const TabsList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export interface TabsTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
11
|
-
value: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
-
export interface TabsContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
15
|
-
value: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SerializableCollection, SerializableConfig } from '../../../types';
|
|
2
|
-
import '../../../admin/ui/styles/media-registry.scss';
|
|
3
|
-
export interface MediaRegistryViewProps {
|
|
4
|
-
collection: SerializableCollection;
|
|
5
|
-
config: SerializableConfig;
|
|
6
|
-
}
|
|
7
|
-
export declare function MediaRegistryView({ collection, config, }: MediaRegistryViewProps): import("react/jsx-runtime").JSX.Element;
|