@trycourier/react-designer 0.0.0-canary-20251105150942 → 0.0.0-canary-20251111120550
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 +2 -2
- package/dist/cjs/index.js +49 -49
- package/dist/cjs/index.js.map +3 -3
- package/dist/cjs/styles.css +669 -397
- package/dist/components/TemplateEditor/store.d.ts +7 -0
- package/dist/components/extensions/Column/ColumnComponent.d.ts +1 -0
- package/dist/esm/index.js +49 -49
- package/dist/esm/index.js.map +3 -3
- package/dist/esm/styles.css +669 -397
- package/dist/hooks/useAutoSave.d.ts +2 -1
- package/dist/index.d.ts +0 -1
- package/dist/styles.css +669 -397
- package/package.json +1 -1
- package/dist/cjs/index.css +0 -2
- package/dist/cjs/index.css.map +0 -7
- package/dist/esm/index.css +0 -2
- package/dist/esm/index.css.map +0 -7
package/README.md
CHANGED
|
@@ -571,7 +571,7 @@ The Editor component is the core element that provides the template editing inte
|
|
|
571
571
|
| Property | Type | Default | Description |
|
|
572
572
|
| ---------------- | -------------------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
573
573
|
| autoSave | boolean | true | Enables automatic saving of changes to the template. When true, changes are automatically persisted. |
|
|
574
|
-
| autoSaveDebounce | number |
|
|
574
|
+
| autoSaveDebounce | number | 2000ms | Time in milliseconds to wait after changes before triggering an auto-save operation. Controls save frequency. |
|
|
575
575
|
| brandEditor | boolean | false | When enabled, shows the brand editor interface alongside the template editor. Allows editing brand settings. |
|
|
576
576
|
| brandProps | BrandEditorProps | | Configuration options for the brand editor when enabled. Passed directly to the BrandEditor component. |
|
|
577
577
|
| hidePublish | boolean | false | When true, hides the "Publish Changes" button in the editor interface. |
|
|
@@ -630,7 +630,7 @@ The Brand Editor component accepts properties that allow you to customize its be
|
|
|
630
630
|
| Property | Type | Default | Description |
|
|
631
631
|
| ---------------- | ------------------------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- |
|
|
632
632
|
| autoSave | boolean | true | Enables automatic saving of changes to the template. When true, changes are automatically persisted. |
|
|
633
|
-
| autoSaveDebounce | number |
|
|
633
|
+
| autoSaveDebounce | number | 2000ms | Time in milliseconds to wait after changes before triggering an auto-save operation. Controls save frequency. |
|
|
634
634
|
| hidePublish | boolean | false | When true, hides the "Publish Changes" button in the editor interface. |
|
|
635
635
|
| onChange | (value: BrandSettings) => void | | Callback function that fires whenever brand settings are modified, providing the updated brand configuration values. |
|
|
636
636
|
| theme | ThemeObj | cssClass | | Controls the visual appearance of the editor. Can be a Theme object with styling properties or a CSS class name. |
|