@ckbox/core 2.6.1 → 2.8.0-rc.0
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 +4 -4
- package/dist/index.d.ts +5 -3
- package/dist/index.js +1 -1
- package/dist/translations/en.js +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Using a build served from the CDN is the simplest and fastest way of embedding C
|
|
|
13
13
|
To start using CKBox on your website, embed the following `script` element in the HTML code of the page:
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script src="https://cdn.ckbox.io/ckbox/2.
|
|
16
|
+
<script src="https://cdn.ckbox.io/ckbox/2.8.0-rc.0/ckbox.js"></script>
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Quick implementation example:
|
|
@@ -23,7 +23,7 @@ Quick implementation example:
|
|
|
23
23
|
<html>
|
|
24
24
|
<head>
|
|
25
25
|
<meta charset="UTF-8" />
|
|
26
|
-
<script src="https://cdn.ckbox.io/ckbox/2.
|
|
26
|
+
<script src="https://cdn.ckbox.io/ckbox/2.8.0-rc.0/ckbox.js"></script>
|
|
27
27
|
</head>
|
|
28
28
|
<body>
|
|
29
29
|
<div id="ckbox"></div>
|
|
@@ -48,10 +48,10 @@ The code snippet below presents the simplest scenario for integration of CKEdito
|
|
|
48
48
|
<html>
|
|
49
49
|
<head>
|
|
50
50
|
<meta charset="UTF-8" />
|
|
51
|
-
<script src="https://cdn.ckbox.io/ckbox/2.
|
|
51
|
+
<script src="https://cdn.ckbox.io/ckbox/2.8.0-rc.0/ckbox.js"></script>
|
|
52
52
|
<link
|
|
53
53
|
rel="stylesheet"
|
|
54
|
-
href="https://cdn.ckbox.io/ckbox/2.
|
|
54
|
+
href="https://cdn.ckbox.io/ckbox/2.8.0-rc.0/styles/themes/lark.css"
|
|
55
55
|
/>
|
|
56
56
|
<link rel="stylesheet" href="https://cdn.ckeditor.com/ckeditor5/42.0.0/ckeditor5.css" />
|
|
57
57
|
</head>
|
package/dist/index.d.ts
CHANGED
|
@@ -210,7 +210,7 @@ interface ImageEditingConfig {
|
|
|
210
210
|
|
|
211
211
|
type LanguageConfig = string;
|
|
212
212
|
|
|
213
|
-
type NavigationViewType = 'category' | 'fallback' | 'folder' | 'recent' | 'search' | 'settings';
|
|
213
|
+
type NavigationViewType = 'category' | 'fallback' | 'folder' | 'recent' | 'search' | 'settings' | 'trash';
|
|
214
214
|
type NavigationViewBase<Type extends NavigationViewType> = {
|
|
215
215
|
/**
|
|
216
216
|
* View type.
|
|
@@ -227,9 +227,10 @@ type NavigationCategoryView = NavigationViewBase<'category'> & NavigationViewBas
|
|
|
227
227
|
type NavigationFallbackView = NavigationViewBase<'fallback'>;
|
|
228
228
|
type NavigationFolderView = NavigationViewBase<'folder'> & NavigationViewBaseData<ParsedFolder>;
|
|
229
229
|
type NavigationRecentView = NavigationViewBase<'recent'>;
|
|
230
|
+
type NavigationTrashView = NavigationViewBase<'trash'>;
|
|
230
231
|
type NavigationSearchView = NavigationViewBase<'search'>;
|
|
231
232
|
type NavigationSettingsView = NavigationViewBase<'settings'>;
|
|
232
|
-
type NavigationView = NavigationCategoryView | NavigationFallbackView | NavigationFolderView | NavigationRecentView | NavigationSearchView | NavigationSettingsView;
|
|
233
|
+
type NavigationView = NavigationCategoryView | NavigationFallbackView | NavigationFolderView | NavigationRecentView | NavigationTrashView | NavigationSearchView | NavigationSettingsView;
|
|
233
234
|
interface NavigationProviderConfig {
|
|
234
235
|
/**
|
|
235
236
|
* If set to `false`, last selected view will not be re-opened on startup.
|
|
@@ -418,4 +419,5 @@ declare const CoreApp: React.FC<Props>;
|
|
|
418
419
|
*/
|
|
419
420
|
declare const CKBOX_VERSION: string | undefined;
|
|
420
421
|
|
|
421
|
-
export {
|
|
422
|
+
export { CoreApp as CKBox, CoreImageEditor as CKBoxImageEditor, CKBOX_VERSION as version };
|
|
423
|
+
export type { Asset, ImageEditorFromUrlProps, ImageEditorProps, Props };
|