@orangelogic/design-system 3.54.0 → 3.56.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/library/chunks/{block-width.HFgTbOhY.js → block-width.D3M_CLup.js} +3 -3
- package/library/chunks/{color-swatch-group.fB89QMxH.js → color-swatch-group.DnLiXSB9.js} +3 -3
- package/library/chunks/{config-manager.MYzwsduU.js → config-manager.CPwMU2md.js} +2 -2
- package/library/chunks/{configs-controller.CVQQJkir.js → configs-controller.DNSGtqMU.js} +2 -2
- package/library/chunks/{header.CU8r46mR.js → header.BDEqW3TI.js} +58 -42
- package/library/chunks/{src.CKXY7ep6.js → src.BPve1cYQ.js} +1 -1
- package/library/components/atoms.js +2 -2
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/header.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +12753 -12700
- package/library/package.json +1 -1
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +6 -1
- package/library/packages/tools/src/tiptap/extensions/select-all-format/index.d.ts +8 -0
- package/package.json +1 -1
package/library/package.json
CHANGED
|
@@ -10,6 +10,9 @@ import { TemplateResult } from 'lit';
|
|
|
10
10
|
import { CxBlockPicker } from './components/block-picker';
|
|
11
11
|
import { CxConfigManager } from './components/config-manager';
|
|
12
12
|
import { CxRTEBubbleMenu, CxRTETableGenerator } from './plugins';
|
|
13
|
+
type TranslatableTextRecordOptions = {
|
|
14
|
+
isAutoBackfilled?: boolean;
|
|
15
|
+
};
|
|
13
16
|
/**
|
|
14
17
|
* @summary The `cx-content-builder` component is used to create and manage content blocks in a CMS.
|
|
15
18
|
*
|
|
@@ -304,8 +307,9 @@ export default class CxContentBuilder extends CortexElement {
|
|
|
304
307
|
private ensureConfigUi;
|
|
305
308
|
storeTemplate(id: string, data: Record<string, any>, update?: boolean): void;
|
|
306
309
|
private hasDefaultLanguageTextRecord;
|
|
310
|
+
private canBackfillDefaultLanguageTextRecord;
|
|
307
311
|
private hasDefaultLanguageAttributeRecord;
|
|
308
|
-
storeTranslatableText(id: string, data: string): void;
|
|
312
|
+
storeTranslatableText(id: string, data: string, options?: TranslatableTextRecordOptions): void;
|
|
309
313
|
storeTranslatableAttribute(id: string, data: Record<string, Record<string, string>>): void;
|
|
310
314
|
private updateFrameSize;
|
|
311
315
|
handleSupportedLanguagesChange(): void;
|
|
@@ -574,3 +578,4 @@ declare global {
|
|
|
574
578
|
'cx-content-builder': CxContentBuilder;
|
|
575
579
|
}
|
|
576
580
|
}
|
|
581
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
/**
|
|
3
|
+
* Typing over a select-all (Ctrl+A) keeps the formatting of the first character, as TinyMCE and
|
|
4
|
+
* Google Docs do. An `AllSelection` starts on the document itself, outside any paragraph, so
|
|
5
|
+
* ProseMirror finds no marks to carry over and the typed text came out unformatted.
|
|
6
|
+
*/
|
|
7
|
+
declare const SelectAllFormat: Extension<any, any>;
|
|
8
|
+
export default SelectAllFormat;
|