@orangelogic/design-system 2.104.0 → 2.105.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.
Files changed (108) hide show
  1. package/library/chunks/{asset.DmOI7fQJ.js → asset.CCjWpDnd.js} +2 -2
  2. package/library/chunks/{button.CAa1kvwe.js → button.B8q9TnbJ.js} +1 -1
  3. package/library/chunks/{color-swatch-group.pyN7NkEj.js → color-swatch-group.mptrPb-B.js} +5 -5
  4. package/library/chunks/{color-swatch.DfJDZHlk.js → color-swatch.Dhk54Nx0.js} +1 -1
  5. package/library/chunks/{confirm-popover.DffsrEEf.js → confirm-popover.DNmZ61WM.js} +3 -3
  6. package/library/chunks/{content-builder.CcgZciZN.js → content-builder.BAhOkdZ-.js} +1 -1
  7. package/library/chunks/{dialog.08JIK4Kd.js → dialog.BlHQ-Sh1.js} +2 -2
  8. package/library/chunks/{dot-pagination.-nDdQxJN.js → dot-pagination.BMlLpcfR.js} +1 -1
  9. package/library/chunks/{file-on-demand.D5xRAZKN.js → file-on-demand.Bi_7NCZZ.js} +8 -8
  10. package/library/chunks/{folder-select.D4haLI38.js → folder-select.CDqz69bO.js} +3 -3
  11. package/library/chunks/{header.BZxyeLPK.js → header.yC7IkgNn.js} +1 -1
  12. package/library/chunks/{i18n.BABe9hN4.js → i18n.DmmFsjwP.js} +7 -1
  13. package/library/chunks/{icon-button.C2s3pHG4.js → icon-button.CHh2iNJJ.js} +1 -1
  14. package/library/chunks/{iframe.DPccxsnE.js → iframe.Dd2ON7ug.js} +1 -1
  15. package/library/chunks/image.CR_LHEaY.js +821 -0
  16. package/library/chunks/{list-editor.CJQ6AEs1.js → list-editor.C-1YI7Bb.js} +10 -10
  17. package/library/chunks/{option.DGXQzdtb.js → option.CdZHtENS.js} +1 -1
  18. package/library/chunks/{pagination.DhtwOCF6.js → pagination.CDCYbCV4.js} +4 -4
  19. package/library/chunks/resizable-component.styles.sAhMVN1H.js +283 -0
  20. package/library/chunks/{responsive.Oz9HWjyQ.js → responsive._tydujAy.js} +1 -1
  21. package/library/chunks/{tab-group.BhCf9Smq.js → tab-group.DtGFedcf.js} +4 -4
  22. package/library/chunks/{table.CRDY_C9O.js → table.kjsxIRt-.js} +5 -5
  23. package/library/chunks/{tree.CJculPt6.js → tree.D__u64uY.js} +1 -1
  24. package/library/chunks/wavesurfer.esm.Cwi1pz64.js +1276 -0
  25. package/library/components/alert.js +2 -2
  26. package/library/components/asset-link-format.js +5 -5
  27. package/library/components/atoms.js +163 -161
  28. package/library/components/audio.d.ts +3 -0
  29. package/library/components/audio.js +237 -0
  30. package/library/components/border-input-group.js +1 -1
  31. package/library/components/breadcrumb.js +1 -1
  32. package/library/components/button.js +2 -2
  33. package/library/components/color-picker.js +2 -2
  34. package/library/components/color-swatch-group.js +6 -6
  35. package/library/components/color-swatch.js +2 -2
  36. package/library/components/confirm-popover.js +4 -4
  37. package/library/components/copy-button.js +1 -1
  38. package/library/components/corner-position-input-group.js +2 -2
  39. package/library/components/details.js +1 -1
  40. package/library/components/dialog.js +3 -3
  41. package/library/components/dot-pagination.js +2 -2
  42. package/library/components/drawer.js +2 -2
  43. package/library/components/dropdown.js +1 -1
  44. package/library/components/dynamic-select.js +4 -4
  45. package/library/components/e-chart.js +1 -1
  46. package/library/components/element-clamp.js +2 -2
  47. package/library/components/file-on-demand.js +9 -9
  48. package/library/components/folder-select.js +3 -3
  49. package/library/components/format-bytes.js +1 -1
  50. package/library/components/format-date.js +1 -1
  51. package/library/components/format-number.js +1 -1
  52. package/library/components/format-time.js +1 -1
  53. package/library/components/header.js +2 -2
  54. package/library/components/icon-button.js +2 -2
  55. package/library/components/iframe.js +2 -2
  56. package/library/components/image-comparer.js +1 -1
  57. package/library/components/image.js +4 -3
  58. package/library/components/input.js +3 -3
  59. package/library/components/line-clamp.js +1 -1
  60. package/library/components/list-editor.js +6 -6
  61. package/library/components/masonry.js +2 -2
  62. package/library/components/menu-item.js +1 -1
  63. package/library/components/menu.js +1 -1
  64. package/library/components/molecules.js +4 -4
  65. package/library/components/option.js +2 -2
  66. package/library/components/organisms.js +2 -2
  67. package/library/components/pagination.js +5 -5
  68. package/library/components/popup.js +1 -1
  69. package/library/components/position-picker.js +1 -1
  70. package/library/components/progress-bar.js +1 -1
  71. package/library/components/progress-ring.js +1 -1
  72. package/library/components/range.js +1 -1
  73. package/library/components/rating.js +1 -1
  74. package/library/components/relative-time.js +1 -1
  75. package/library/components/select.js +2 -2
  76. package/library/components/share-option-list.js +1 -1
  77. package/library/components/sidebar.js +1 -1
  78. package/library/components/size-input-group.js +2 -2
  79. package/library/components/spinner.js +1 -1
  80. package/library/components/split-panel.js +1 -1
  81. package/library/components/tab-group.js +4 -4
  82. package/library/components/tab.js +2 -2
  83. package/library/components/table.js +5 -5
  84. package/library/components/tag.js +2 -2
  85. package/library/components/tooltip.js +1 -1
  86. package/library/components/tree-item.js +2 -2
  87. package/library/components/tree.js +2 -2
  88. package/library/components/typeface.js +2 -2
  89. package/library/components/types.js +15966 -15701
  90. package/library/components/video.js +8 -7
  91. package/library/package.json +1 -1
  92. package/library/packages/atoms/src/components/audio/audio.d.ts +114 -0
  93. package/library/packages/atoms/src/components/audio/audio.styles.d.ts +2 -0
  94. package/library/packages/atoms/src/index.d.ts +1 -0
  95. package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +4 -0
  96. package/library/packages/organisms/src/content-builder/configs/audio.d.ts +26 -0
  97. package/library/packages/organisms/src/content-builder/configs/index.d.ts +1 -0
  98. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +28 -0
  99. package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +3 -0
  100. package/library/packages/organisms/src/content-builder/plugins/audio.d.ts +5 -0
  101. package/library/packages/organisms/src/content-builder/plugins/index.d.ts +1 -0
  102. package/library/packages/organisms/src/content-builder/styleController.d.ts +1 -1
  103. package/library/packages/types/src/content-builder.d.ts +3 -2
  104. package/library/packages/utils/src/custom-element/i18n.d.ts +6 -0
  105. package/library/react-web-component.d.ts +199 -93
  106. package/library/utils.js +3 -3
  107. package/package.json +1 -1
  108. package/library/chunks/image.DB68R-yp.js +0 -1095
@@ -1,11 +1,12 @@
1
1
  import { c as ps, a as Fn } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
2
2
  import { r as wb } from "../chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js";
3
- import { r as Sb, C as Cb, R as Mb } from "../chunks/image.DB68R-yp.js";
4
- import Db from "./resize-observer.js";
3
+ import { C as Sb } from "../chunks/image.CR_LHEaY.js";
4
+ import Cb from "./resize-observer.js";
5
+ import { r as Mb, R as Db } from "../chunks/resizable-component.styles.sAhMVN1H.js";
5
6
  import { c as Pb } from "../chunks/component.styles.CRO4Odto.js";
6
7
  import { b as Lb } from "../chunks/debounce.CIEhztrj.js";
7
8
  import { c as Rb } from "../chunks/custom-element.L4WJXn1j.js";
8
- import { L as Ib } from "../chunks/i18n.BABe9hN4.js";
9
+ import { L as Ib } from "../chunks/i18n.DmmFsjwP.js";
9
10
  import { w as gn } from "../chunks/watch.BCJD77bD.js";
10
11
  import { i as Ob, x as Zc } from "../chunks/lit-element.jLBm65_O.js";
11
12
  import { n as ki } from "../chunks/lib-cortex-element.CVMmyPMC.js";
@@ -46928,7 +46929,7 @@ var q3 = Object.defineProperty, X3 = Object.getOwnPropertyDescriptor, It = (e, t
46928
46929
  (s = e[a]) && (r = (n ? s(t, i, r) : s(r)) || r);
46929
46930
  return n && r && q3(t, i, r), r;
46930
46931
  };
46931
- let wt = class extends Mb {
46932
+ let wt = class extends Db {
46932
46933
  constructor() {
46933
46934
  super(), this.localize = new Ib(this), this.src = "", this.name = "", this.nameSourceField = "", this.type = "", this.poster = "", this.autoplay = !1, this.loop = !1, this.muted = !1, this.showControls = !1, this.disablePictureInPicture = !1, this.disableRemotePlayback = !1, this.disableVolumePanel = !1, this.isLoaded = !1, this.isPlaying = !1, this.isError = !1, this.isFullscreen = !1, this.player = null, this.videoWidth = 0, this.videoHeight = 0, this.autoPlayTimeout = null, this.parsedName = "", this.formattedPoster = "", this.onPause = this.onPause.bind(this), this.onPlay = this.onPlay.bind(this), this.onTimeUpdate = this.onTimeUpdate.bind(this), this.onEnded = this.onEnded.bind(this), this.onSeeked = this.onSeeked.bind(this), this.onFullscreenChange = this.onFullscreenChange.bind(this), this.onLoadedMetadata = this.onLoadedMetadata.bind(this), this.onError = this.onError.bind(this);
46934
46935
  }
@@ -47127,10 +47128,10 @@ let wt = class extends Mb {
47127
47128
  )}</div></cx-resize-observer>`;
47128
47129
  }
47129
47130
  };
47130
- wt.styles = [Pb, Sb, W3];
47131
+ wt.styles = [Pb, Mb, W3];
47131
47132
  wt.dependencies = {
47132
- "cx-image": Cb,
47133
- "cx-resize-observer": Db
47133
+ "cx-image": Sb,
47134
+ "cx-resize-observer": Cb
47134
47135
  };
47135
47136
  It([
47136
47137
  ao("#video-js-container")
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.104.0",
4
+ "version": "2.105.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -0,0 +1,114 @@
1
+ import { default as ResizableElement } from '../../../../base/src/resizable-element.ts';
2
+ import { LocalizeController } from '../../../../utils/src/custom-element/i18n';
3
+ import { CSSResultGroup } from 'lit';
4
+ import { default as CxIconButton } from '../icon-button/icon-button';
5
+ import { default as CxTypography } from '../typography/typography';
6
+
7
+ /** A [lightColor, darkColor] tuple used for theme-aware waveform coloring. */
8
+ type WaveColorPair = [string, string];
9
+ /**
10
+ * @summary Audio player with waveform visualization.
11
+ *
12
+ * @event cx-play - Emitted when playback starts.
13
+ * @event cx-pause - Emitted when playback pauses.
14
+ * @event {{ currentTime: number }} cx-time-update - Emitted while the playback position changes.
15
+ * @event cx-ended - Emitted when playback reaches the end.
16
+ * @event {{ error: Error }} cx-error - Emitted when the audio fails to load.
17
+ *
18
+ * @csspart base - The main container.
19
+ * @csspart player - Row containing play button and waveform.
20
+ * @csspart waveform - WaveSurfer waveform container.
21
+ * @csspart footer - Time and filename row.
22
+ * @csspart time - Current time / duration display.
23
+ * @csspart filename - Audio filename label.
24
+ * @csspart play-button - The play/pause icon button.
25
+ *
26
+ * @cssproperty [--width=100%] - Component width.
27
+ * @cssproperty [--height=auto] - Component height.
28
+ * @cssproperty [--border=0px] - Border.
29
+ * @cssproperty [--border-radius=0px] - Border radius.
30
+ * @cssproperty [--background-color=white] - Background color.
31
+ * @cssproperty --waves-color - Waveform bar color. Default: blue.
32
+ * @cssproperty --text-color - Time/icon color. Default: dark.
33
+ * @cssproperty --margin-top - Top margin.
34
+ * @cssproperty --margin-right - Right margin.
35
+ * @cssproperty --margin-bottom - Bottom margin.
36
+ * @cssproperty --margin-left - Left margin.
37
+ */
38
+ export default class CxAudio extends ResizableElement {
39
+ static readonly styles: CSSResultGroup;
40
+ static readonly dependencies: {
41
+ 'cx-icon-button': typeof CxIconButton;
42
+ 'cx-typography': typeof CxTypography;
43
+ };
44
+ readonly localize: LocalizeController;
45
+ private readonly waveformContainerAsync;
46
+ private waveSurfer;
47
+ private srcLoadVersion;
48
+ /**
49
+ * The URL of the audio file to load.
50
+ */
51
+ src: string;
52
+ /**
53
+ * The filename shown below the time display.
54
+ */
55
+ name: string;
56
+ /**
57
+ * When true, playback starts automatically when the audio is loaded.
58
+ */
59
+ autoplay: boolean;
60
+ /**
61
+ * When true, playback loops back to the beginning when it ends.
62
+ */
63
+ loop: boolean;
64
+ /**
65
+ * CSS color for the waveform bars. Accepts a plain CSS color or `light-dark(lightColor, darkColor)`
66
+ * for theme-aware coloring. Defaults to `--cx-color-primary` if not set or if the value is invalid.
67
+ */
68
+ waveColor: WaveColorPair;
69
+ /** Whether the audio is currently playing. */
70
+ private isPlaying;
71
+ /** Whether the audio has finished loading and is ready for playback. */
72
+ private isLoaded;
73
+ /** Whether an error occurred while loading the audio. */
74
+ private isError;
75
+ /** Current playback position in seconds. */
76
+ private currentTimeSeconds;
77
+ /** Total duration in seconds. */
78
+ private durationSeconds;
79
+ constructor();
80
+ runConnectedCallback(): void;
81
+ disconnectedCallback(): void;
82
+ handleSrcChange(): Promise<void>;
83
+ protected applySrc(src: string): Promise<void>;
84
+ handleWaveColorThemeChange(): Promise<void>;
85
+ updated(changedProps: Map<string, unknown>): void;
86
+ private onWaveSurferReady;
87
+ private onWaveSurferPlay;
88
+ private onWaveSurferPause;
89
+ private onWaveSurferTimeUpdate;
90
+ private onWaveSurferFinish;
91
+ private onWaveSurferError;
92
+ private resolveColorValue;
93
+ private computeCursorColor;
94
+ private setupColors;
95
+ private setupWaveSurfer;
96
+ private attachWaveSurferEvents;
97
+ private cleanUp;
98
+ private handleSizeChange;
99
+ /** Starts audio playback. */
100
+ play(): void;
101
+ /** Pauses audio playback. */
102
+ pause(): void;
103
+ /** Toggles between play and pause. */
104
+ togglePlay(): void;
105
+ private formatTime;
106
+ private handlePlayButtonKeyDown;
107
+ render(): import('lit').TemplateResult<1>;
108
+ }
109
+ declare global {
110
+ interface HTMLElementTagNameMap {
111
+ 'cx-audio': CxAudio;
112
+ }
113
+ }
114
+ export {};
@@ -0,0 +1,2 @@
1
+ declare const _default: import('lit').CSSResult;
2
+ export default _default;
@@ -3,6 +3,7 @@ export { default as CxAmChart } from './components/am-chart/am-chart';
3
3
  export { default as CxAnimatedImage } from './components/animated-image/animated-image';
4
4
  export { default as CxAnimation } from './components/animation/animation';
5
5
  export { default as CxArrayLineClamp } from './components/array-line-clamp/array-line-clamp';
6
+ export { default as CxAudio } from './components/audio/audio';
6
7
  export { default as CxAvatar } from './components/avatar/avatar';
7
8
  export { default as CxBadge } from './components/badge/badge';
8
9
  export { default as CxBreadcrumb } from './components/breadcrumb/breadcrumb';
@@ -1,5 +1,7 @@
1
1
  import { default as CxButton } from '../../../atoms/src/components/button/button.ts';
2
2
  import { default as CxDialog } from '../../../atoms/src/components/dialog/dialog.ts';
3
+ import { default as CxGrid } from '../../../atoms/src/components/grid/grid.ts';
4
+ import { default as CxGridItem } from '../../../atoms/src/components/grid-item/grid-item.ts';
3
5
  import { default as CxIconButton } from '../../../atoms/src/components/icon-button/icon-button.ts';
4
6
  import { default as CxSpace } from '../../../atoms/src/components/space/space.ts';
5
7
  import { default as CxSpinner } from '../../../atoms/src/components/spinner/spinner.ts';
@@ -27,6 +29,8 @@ export default class CxAssetTransformationDialog extends CortexElement {
27
29
  'cx-button': typeof CxButton;
28
30
  'cx-cropper': typeof CxCropper;
29
31
  'cx-dialog': typeof CxDialog;
32
+ 'cx-grid': typeof CxGrid;
33
+ 'cx-grid-item': typeof CxGridItem;
30
34
  'cx-icon-button': typeof CxIconButton;
31
35
  'cx-space': typeof CxSpace;
32
36
  'cx-spinner': typeof CxSpinner;
@@ -0,0 +1,26 @@
1
+ import { AssetVersion } from '../../../../types/src/asset-format-picker';
2
+ import { ConfigsOptions, PropertyConfig } from '../../../../types/src/content-builder';
3
+ import { LocalizeController } from '../../../../utils/src/custom-element/i18n';
4
+ import { default as CxSbAudio } from '../blocks/audio/audio';
5
+
6
+ type Attribute = {
7
+ 'asset-version'?: AssetVersion;
8
+ 'data-width-percent': string;
9
+ 'data-width-pixel': string;
10
+ 'format'?: string;
11
+ 'format-label'?: string;
12
+ 'format-src'?: string;
13
+ name: CxSbAudio['name'];
14
+ 'record-id'?: string;
15
+ 'resize-direction': CxSbAudio['resizeDirection'];
16
+ src: CxSbAudio['src'];
17
+ 'version-label'?: string;
18
+ 'wave-color': string;
19
+ width: string;
20
+ };
21
+ declare const _default: {
22
+ configs: (localize: LocalizeController, options?: ConfigsOptions) => Array<PropertyConfig<Attribute>>;
23
+ defaultValue: Partial<Attribute>;
24
+ stylable: string[];
25
+ };
26
+ export default _default;
@@ -1,4 +1,5 @@
1
1
  export { default as accordion } from './accordion';
2
+ export { default as audio } from './audio';
2
3
  export { default as button } from './button';
3
4
  export { default as carousel } from './carousel';
4
5
  export { default as colorSwatches } from './color-swatches';
@@ -9,6 +9,20 @@ export default class ConfigsController {
9
9
  'data-constraints': boolean;
10
10
  'default-open-indexes': string;
11
11
  'multi-language': boolean;
12
+ }>[] | import('../../../types/src/content-builder').PropertyConfig<{
13
+ 'asset-version'?: import('../../../types/src/asset-format-picker').AssetVersion;
14
+ 'data-width-percent': string;
15
+ 'data-width-pixel': string;
16
+ format?: string;
17
+ 'format-label'?: string;
18
+ 'format-src'?: string;
19
+ name: import('./blocks/audio/audio').default["name"];
20
+ 'record-id'?: string;
21
+ 'resize-direction': import('./blocks/audio/audio').default["resizeDirection"];
22
+ src: import('./blocks/audio/audio').default["src"];
23
+ 'version-label'?: string;
24
+ 'wave-color': string;
25
+ width: string;
12
26
  }>[] | import('../../../types/src/content-builder').PropertyConfig<{
13
27
  'asset-button-type': import('./blocks/button/button').default["assetType"];
14
28
  'asset-src': import('./blocks/button/button').default["assetSrc"];
@@ -273,6 +287,20 @@ export default class ConfigsController {
273
287
  }>[];
274
288
  getName(type: BlockType): string;
275
289
  getDefaultValue(type: BlockType): Partial<{
290
+ 'asset-version'?: import('../../../types/src/asset-format-picker').AssetVersion;
291
+ 'data-width-percent': string;
292
+ 'data-width-pixel': string;
293
+ format?: string;
294
+ 'format-label'?: string;
295
+ 'format-src'?: string;
296
+ name: import('./blocks/audio/audio').default["name"];
297
+ 'record-id'?: string;
298
+ 'resize-direction': import('./blocks/audio/audio').default["resizeDirection"];
299
+ src: import('./blocks/audio/audio').default["src"];
300
+ 'version-label'?: string;
301
+ 'wave-color': string;
302
+ width: string;
303
+ }> | Partial<{
276
304
  'asset-button-type': import('./blocks/button/button').default["assetType"];
277
305
  'asset-src': import('./blocks/button/button').default["assetSrc"];
278
306
  'asset-type': import('./blocks/button/button').default["assetType"];
@@ -8,6 +8,9 @@ export declare const defaultBlockValue: {
8
8
  };
9
9
  components: undefined;
10
10
  };
11
+ BlockAudio: {
12
+ components: undefined;
13
+ };
11
14
  BlockButton: {
12
15
  components: {
13
16
  content: string;
@@ -0,0 +1,5 @@
1
+ import { Editor } from 'grapesjs';
2
+ import { EditorPluginOptions } from './plugin-factory';
3
+
4
+ declare const AudioPlugin: (editor: Editor, editorOptions: EditorPluginOptions) => void;
5
+ export default AudioPlugin;
@@ -1,4 +1,5 @@
1
1
  export { default as AccordionPlugin } from './accordion';
2
+ export { default as AudioPlugin } from './audio';
2
3
  export { default as ButtonPlugin } from './button';
3
4
  export { default as CarouselPlugin } from './carousel';
4
5
  export { default as ColorSwatchesPlugin } from './color-swatches';
@@ -72,7 +72,7 @@ export default class StyleController {
72
72
  checkedValue?: string | boolean;
73
73
  children?: import('../../../types/src/content-builder').PropertyConfig[];
74
74
  clearable?: boolean;
75
- controlType: "asset-transformation" | "bicolor-picker" | "border-input-group" | "button-group" | "checkbox" | "checkbox-group" | "color-swatch-picker" | "corner-position-input-group" | "download-format-picker" | "file" | "folder-picker" | "gallery-picker" | "group" | "group-heading" | "icon-picker" | "image-picker" | "input" | "list-editor" | "all-picker" | "other-picker" | "padding-input-group" | "page-picker" | "placeholder" | "position-picker" | "radio-card-group" | "radio-group" | "select" | "shadow-input-group" | "size-input-group" | "switch" | "table" | "text" | "asset-format-picker" | "video-picker";
75
+ controlType: "asset-transformation" | "bicolor-picker" | "border-input-group" | "button-group" | "checkbox" | "checkbox-group" | "color-swatch-picker" | "corner-position-input-group" | "download-format-picker" | "file" | "folder-picker" | "gallery-picker" | "group" | "group-heading" | "icon-picker" | "image-picker" | "input" | "list-editor" | "all-picker" | "other-picker" | "padding-input-group" | "page-picker" | "placeholder" | "position-picker" | "radio-card-group" | "radio-group" | "select" | "shadow-input-group" | "size-input-group" | "switch" | "table" | "text" | "audio-picker" | "asset-format-picker" | "video-picker";
76
76
  cornerStyleKey?: {
77
77
  offsetX: string;
78
78
  offsetY: string;
@@ -75,7 +75,7 @@ export type PropertyConfig<T = Record<string, any>> = Omit<TraitProperties, 'opt
75
75
  checkedValue?: string | boolean;
76
76
  children?: PropertyConfig[];
77
77
  clearable?: boolean;
78
- controlType: 'asset-transformation' | 'bicolor-picker' | 'border-input-group' | 'button-group' | 'checkbox' | 'checkbox-group' | 'color-swatch-picker' | 'corner-position-input-group' | 'download-format-picker' | 'file' | 'folder-picker' | 'gallery-picker' | 'group' | 'group-heading' | 'icon-picker' | 'image-picker' | 'input' | 'list-editor' | 'all-picker' | 'other-picker' | 'padding-input-group' | 'page-picker' | 'placeholder' | 'position-picker' | 'radio-card-group' | 'radio-group' | 'select' | 'shadow-input-group' | 'size-input-group' | 'switch' | 'table' | 'text' | 'asset-format-picker' | 'video-picker';
78
+ controlType: 'asset-transformation' | 'bicolor-picker' | 'border-input-group' | 'button-group' | 'checkbox' | 'checkbox-group' | 'color-swatch-picker' | 'corner-position-input-group' | 'download-format-picker' | 'file' | 'folder-picker' | 'gallery-picker' | 'group' | 'group-heading' | 'icon-picker' | 'image-picker' | 'input' | 'list-editor' | 'all-picker' | 'other-picker' | 'padding-input-group' | 'page-picker' | 'placeholder' | 'position-picker' | 'radio-card-group' | 'radio-group' | 'select' | 'shadow-input-group' | 'size-input-group' | 'switch' | 'table' | 'text' | 'audio-picker' | 'asset-format-picker' | 'video-picker';
79
79
  cornerStyleKey?: {
80
80
  offsetX: string;
81
81
  offsetY: string;
@@ -268,6 +268,7 @@ export type RTE_IMAGE = {
268
268
  export declare enum BlockType {
269
269
  Accordion = "BlockAccordion",
270
270
  Analytics = "BlockAnalytics",
271
+ Audio = "BlockAudio",
271
272
  Button = "BlockButton",
272
273
  Carousel = "BlockCarousel",
273
274
  ColorSwatches = "BlockColorSwatches",
@@ -285,7 +286,7 @@ export declare enum BlockType {
285
286
  Timeline = "BlockTimeline",
286
287
  Video = "BlockVideo"
287
288
  }
288
- export declare const BLOCK_DROPPABLE_BLOCKS: (BlockType.Accordion | BlockType.Analytics | BlockType.Button | BlockType.Carousel | BlockType.ColorSwatches | BlockType.ColumnGroup | BlockType.Divider | BlockType.FontKit | BlockType.Gallery | BlockType.Header | BlockType.Image | BlockType.RichText | BlockType.SearchBox | BlockType.TabGroup | BlockType.Text | BlockType.Timeline | BlockType.Video)[];
289
+ export declare const BLOCK_DROPPABLE_BLOCKS: (BlockType.Accordion | BlockType.Analytics | BlockType.Audio | BlockType.Button | BlockType.Carousel | BlockType.ColorSwatches | BlockType.ColumnGroup | BlockType.Divider | BlockType.FontKit | BlockType.Gallery | BlockType.Header | BlockType.Image | BlockType.RichText | BlockType.SearchBox | BlockType.TabGroup | BlockType.Text | BlockType.Timeline | BlockType.Video)[];
289
290
  export declare enum DialogType {
290
291
  Carousel = "carousel",
291
292
  Gallery = "gallery"
@@ -88,7 +88,11 @@ export interface Translation extends DefaultTranslation {
88
88
  assetPreview: string;
89
89
  assets: string;
90
90
  audio: string;
91
+ audioFile: string;
92
+ audioFormat: string;
91
93
  audioGeneratingHelpText: string;
94
+ audioPlayer: string;
95
+ audioWavesColor: string;
92
96
  auto: string;
93
97
  autoCropping: string;
94
98
  autoOpenFirstSection: string;
@@ -306,6 +310,7 @@ export interface Translation extends DefaultTranslation {
306
310
  effects: string;
307
311
  emphasis: string;
308
312
  emptyAccordion: string;
313
+ emptyAudio: string;
309
314
  emptyBento: string;
310
315
  emptyCarousel: string;
311
316
  emptyGrid: string;
@@ -762,6 +767,7 @@ export interface Translation extends DefaultTranslation {
762
767
  text: string;
763
768
  textAlign: string;
764
769
  textAlignment: string;
770
+ textAndIconsColor: string;
765
771
  textColor: string;
766
772
  textEditor: string;
767
773
  textInput: string;