@dotcms/uve 1.2.3-next.4 → 1.2.3-next.6
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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -227,7 +227,7 @@ The SDK uses several key types from `@dotcms/types`:
|
|
|
227
227
|
|
|
228
228
|
```typescript
|
|
229
229
|
import {
|
|
230
|
-
|
|
230
|
+
DotCMSBasicContentlet,
|
|
231
231
|
DotCMSPageResponse,
|
|
232
232
|
DotCMSUVEConfig,
|
|
233
233
|
DotCMSInlineEditingType,
|
|
@@ -474,11 +474,11 @@ sendMessageToUVE({
|
|
|
474
474
|
#### DotCMSUVEMessage<T>
|
|
475
475
|
|
|
476
476
|
| Event (DotCMSUVEAction) | Payload (T) |
|
|
477
|
-
| ---------------------------------- | ------------------------------------------------------------- |
|
|
477
|
+
| ---------------------------------- | ------------------------------------------------------------- |
|
|
478
478
|
| `NAVIGATION_UPDATE` | `{ url: string }` |
|
|
479
479
|
| `SET_BOUNDS` | `DotCMSContainerBound[]` |
|
|
480
480
|
| `SET_CONTENTLET` | `DotCMSBasicContentlet` |
|
|
481
|
-
| `IFRAME_SCROLL` | `'up'
|
|
481
|
+
| `IFRAME_SCROLL` | `'up' \| 'down'` |
|
|
482
482
|
| `IFRAME_SCROLL_END` | --- |
|
|
483
483
|
| `REORDER_MENU` | `DotCMSReorderMenuConfig` |
|
|
484
484
|
| `INIT_INLINE_EDITING` | `DotCMSInlineEditingPayload` |
|
|
@@ -1082,10 +1082,10 @@ Style Editor values are managed internally by UVE and passed to your components
|
|
|
1082
1082
|
When rendering contentlets, style properties are accessed through the `dotStyleProperties` prop:
|
|
1083
1083
|
|
|
1084
1084
|
```typescript
|
|
1085
|
-
import {
|
|
1085
|
+
import { DotCMSBasicContentlet } from '@dotcms/types';
|
|
1086
1086
|
|
|
1087
1087
|
interface ActivityProps {
|
|
1088
|
-
contentlet:
|
|
1088
|
+
contentlet: DotCMSBasicContentlet;
|
|
1089
1089
|
dotStyleProperties?: Record<string, any>;
|
|
1090
1090
|
}
|
|
1091
1091
|
|