@rebasepro/admin 0.6.0 → 0.6.1
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/README.md +7 -3
- package/dist/{CollectionEditorDialog-jA-PLh6N.js → CollectionEditorDialog-HNXGxXdO.js} +3 -3
- package/dist/{CollectionEditorDialog-jA-PLh6N.js.map → CollectionEditorDialog-HNXGxXdO.js.map} +1 -1
- package/dist/{CollectionsStudioView-UKouBPOm.js → CollectionsStudioView-B1mN33GB.js} +4 -4
- package/dist/{CollectionsStudioView-UKouBPOm.js.map → CollectionsStudioView-B1mN33GB.js.map} +1 -1
- package/dist/{PropertyEditView-DEUddmg_.js → PropertyEditView-C2wp8kQ9.js} +2 -2
- package/dist/{PropertyEditView-DEUddmg_.js.map → PropertyEditView-C2wp8kQ9.js.map} +1 -1
- package/dist/collection_editor_ui.js +3 -3
- package/dist/editor/editor.d.ts +10 -4
- package/dist/editor.js +6 -4
- package/dist/editor.js.map +1 -1
- package/dist/form/field_bindings/MarkdownEditorFieldBinding.d.ts +2 -2
- package/dist/{history-BL49TIDb.js → history-BO6VT85a.js} +2 -2
- package/dist/{history-BL49TIDb.js.map → history-BO6VT85a.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-BJ8fkM8y.js → src-BYniefVu.js} +56 -55
- package/dist/src-BYniefVu.js.map +1 -0
- package/package.json +8 -8
- package/src/collection_editor/ui/AddKanbanColumnAction.tsx +2 -0
- package/src/components/ArrayContainer.tsx +5 -5
- package/src/components/DrawerNavigationItem.tsx +4 -4
- package/src/components/EntityCollectionView/EntityCollectionBoardView.tsx +2 -0
- package/src/components/HomePage/NavigationCard.tsx +8 -14
- package/src/components/HomePage/NavigationGroup.tsx +1 -1
- package/src/components/HomePage/SmallNavigationCard.tsx +1 -5
- package/src/components/SelectableTable/filters/StringNumberFilterField.tsx +28 -21
- package/src/components/common/default_entity_actions.tsx +10 -2
- package/src/editor/editor.tsx +14 -8
- package/src/form/field_bindings/MarkdownEditorFieldBinding.tsx +4 -4
- package/src/form/field_bindings/StorageUploadFieldBinding.tsx +1 -1
- package/src/index.ts +2 -2
- package/dist/src-BJ8fkM8y.js.map +0 -1
package/README.md
CHANGED
|
@@ -88,14 +88,18 @@ Also available as a separate entry point:
|
|
|
88
88
|
import { ... } from "@rebasepro/admin/collection_editor_ui";
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
### Rich Text Editor
|
|
91
|
+
### Rich Text Editor (`RichTextEditor`)
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
A full-featured WYSIWYG editor built on ProseMirror with support for **Markdown**, **JSON** (ProseMirror document tree), and **HTML** output formats. Includes slash commands, bubble menus, image uploads, tables, AI completions, and a raw Markdown toggle.
|
|
94
|
+
|
|
95
|
+
Type exports only from the main entry point (`RichTextEditorProps`, `JSONContent`, `EditorAIController`). The full ProseMirror editor is a heavy import (~300 KB) and available as a separate entry point:
|
|
94
96
|
|
|
95
97
|
```ts
|
|
96
|
-
import {
|
|
98
|
+
import { RichTextEditor } from "@rebasepro/admin/editor";
|
|
97
99
|
```
|
|
98
100
|
|
|
101
|
+
> **Note:** The previous name `RebaseEditor` still works but is deprecated.
|
|
102
|
+
|
|
99
103
|
### Utilities
|
|
100
104
|
|
|
101
105
|
| Export | Description |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { Ct as getFieldConfig, Dn as useNavigationStateController, Fn as useSelectionController, In as EntityCollectionTable, Tn as useUrlController, Xt as SearchIconsView, Zt as FieldCaption, ct as ImportNewPropertyFieldPreview, d as useCollectionsConfigController, gt as ImportFileUpload, ht as ImportSaveInProgress, i as namespaceToPropertiesOrderPath, kn as useCollectionRegistryController, lt as DataNewPropertiesMapping, mt as useImportConfig, n as getFullIdPath, pt as getInferenceType, r as idToPropertiesPath, s as CollectionGenerationApiError, st as useCollectionEditorController, t as getFullId, u as validateCollectionJson, ut as convertDataToEntity, wt as getFieldId, yt as PropertyConfigBadge } from "./src-
|
|
3
|
-
import { a as updatePropertyFromWidget, c as useAIModifiedPaths, i as supportedFields, n as PropertyForm, o as PropertyTree, r as PropertyFormDialog, s as AIModifiedPathsProvider } from "./PropertyEditView-
|
|
2
|
+
import { Ct as getFieldConfig, Dn as useNavigationStateController, Fn as useSelectionController, In as EntityCollectionTable, Tn as useUrlController, Xt as SearchIconsView, Zt as FieldCaption, ct as ImportNewPropertyFieldPreview, d as useCollectionsConfigController, gt as ImportFileUpload, ht as ImportSaveInProgress, i as namespaceToPropertiesOrderPath, kn as useCollectionRegistryController, lt as DataNewPropertiesMapping, mt as useImportConfig, n as getFullIdPath, pt as getInferenceType, r as idToPropertiesPath, s as CollectionGenerationApiError, st as useCollectionEditorController, t as getFullId, u as validateCollectionJson, ut as convertDataToEntity, wt as getFieldId, yt as PropertyConfigBadge } from "./src-BYniefVu.js";
|
|
3
|
+
import { a as updatePropertyFromWidget, c as useAIModifiedPaths, i as supportedFields, n as PropertyForm, o as PropertyTree, r as PropertyFormDialog, s as AIModifiedPathsProvider } from "./PropertyEditView-C2wp8kQ9.js";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
6
6
|
import { Alert, AppWindow, ArrowLeftIcon, BooleanSwitchWithLabel, Button, Card, CheckIcon, Chip, CircularProgress, CircularProgressCenter, CodeIcon, ColumnsIcon, Container, CopyIcon, DebouncedTextField, Dialog, DialogActions, DialogContent, DialogTitle, ErrorBoundary, FileIcon, FileSearchIcon, FileTextIcon, IconButton, KanbanIcon, KeyIcon, LayoutGridIcon, ListIcon, LoadingButton, Menu, MultiSelect, MultiSelectItem, PanelLeftIcon, Paper, PlusIcon, Select, SelectItem, ShoppingCartIcon, SquareIcon, Tab, TableIcon, Tabs, TextField, ToggleButtonGroup, Tooltip, Trash2Icon, Typography, UserIcon, XIcon, cls, coolIconKeys, defaultBorderMixin, iconSize } from "@rebasepro/ui";
|
|
@@ -3546,4 +3546,4 @@ var validateId = (value, isNewCollection, existingPaths, existingIds) => {
|
|
|
3546
3546
|
//#endregion
|
|
3547
3547
|
export { CollectionEditorDialog as n, CollectionEditorDialog_exports as r, CollectionEditor as t };
|
|
3548
3548
|
|
|
3549
|
-
//# sourceMappingURL=CollectionEditorDialog-
|
|
3549
|
+
//# sourceMappingURL=CollectionEditorDialog-HNXGxXdO.js.map
|