@krak-stack/registry 0.10.20 → 0.11.2
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/CHANGELOG.md +89 -3
- package/README.md +11 -8
- package/dist/components/agent/index.d.ts +454 -0
- package/dist/components/agent/react.d.ts +55 -0
- package/dist/components/agent/react.js +2440 -0
- package/dist/components/agent/schema.d.ts +55 -0
- package/dist/components/animated-list/classes.d.ts +9 -0
- package/dist/components/animated-list/html.d.ts +11 -0
- package/dist/components/animated-list/html.js +533 -0
- package/dist/components/animated-list/index.d.ts +205 -0
- package/dist/components/animated-list/react.d.ts +11 -0
- package/dist/components/{ui/animated-list.js → animated-list/react.js} +199 -54
- package/dist/components/animated-list/schema.d.ts +44 -0
- package/dist/components/animated-number/html.d.ts +19 -0
- package/dist/components/animated-number/html.js +101 -0
- package/dist/components/animated-number/index.d.ts +80 -0
- package/dist/components/{ui/animated-number.d.ts → animated-number/react.d.ts} +2 -7
- package/dist/components/animated-number/react.js +124 -0
- package/dist/components/animated-number/schema.d.ts +9 -0
- package/dist/components/app-brand/classes.d.ts +11 -0
- package/dist/components/app-brand/html.d.ts +26 -0
- package/dist/components/app-brand/html.js +78 -0
- package/dist/components/app-brand/react.d.ts +12 -0
- package/dist/components/app-brand/react.js +86 -0
- package/dist/components/app-brand/schema.d.ts +36 -0
- package/dist/components/app-switcher/classes.d.ts +15 -0
- package/dist/components/app-switcher/html.d.ts +72 -0
- package/dist/components/app-switcher/html.js +327 -0
- package/dist/components/app-switcher/index.d.ts +47 -0
- package/dist/components/app-switcher/react.d.ts +12 -0
- package/dist/components/{ui/app-switcher.js → app-switcher/react.js} +84 -15
- package/dist/components/app-switcher/schema.d.ts +39 -0
- package/dist/components/async-action-button/classes.d.ts +11 -0
- package/dist/components/async-action-button/html.d.ts +46 -0
- package/dist/components/async-action-button/html.js +266 -0
- package/dist/components/async-action-button/index.d.ts +73 -0
- package/dist/components/async-action-button/react.d.ts +10 -0
- package/dist/components/async-action-button/react.js +224 -0
- package/dist/components/async-action-button/schema.d.ts +28 -0
- package/dist/{services/events/client/audit-log-table.d.ts → components/audit-log-table/react.d.ts} +2 -2
- package/dist/{services/events/client/audit-log-table.js → components/audit-log-table/react.js} +1964 -847
- package/dist/components/auto-height/html.d.ts +8 -0
- package/dist/components/auto-height/html.js +81 -0
- package/dist/components/auto-height/index.d.ts +2 -0
- package/dist/components/{ui/auto-height.d.ts → auto-height/react.d.ts} +2 -4
- package/dist/components/auto-height/react.js +75 -0
- package/dist/components/auto-height/schema.d.ts +7 -0
- package/dist/components/bulk-list-input/classes.d.ts +7 -0
- package/dist/components/bulk-list-input/html.d.ts +41 -0
- package/dist/components/bulk-list-input/html.js +265 -0
- package/dist/components/bulk-list-input/index.d.ts +76 -0
- package/dist/components/bulk-list-input/react.d.ts +12 -0
- package/dist/components/{ui/bulk-list-input.js → bulk-list-input/react.js} +71 -4
- package/dist/components/bulk-list-input/schema.d.ts +33 -0
- package/dist/components/choice-cards/classes.d.ts +19 -0
- package/dist/components/choice-cards/html.d.ts +76 -0
- package/dist/components/choice-cards/html.js +237 -0
- package/dist/components/choice-cards/index.d.ts +1 -0
- package/dist/components/choice-cards/react.d.ts +21 -0
- package/dist/components/{ui/choice-cards.js → choice-cards/react.js} +29 -10
- package/dist/components/choice-cards/schema.d.ts +100 -0
- package/dist/components/code-block/classes.d.ts +13 -0
- package/dist/components/code-block/html.d.ts +21 -0
- package/dist/components/code-block/html.js +381 -0
- package/dist/components/code-block/index.d.ts +4 -0
- package/dist/components/code-block/react.d.ts +4 -0
- package/dist/components/{ui/code-block.js → code-block/react.js} +168 -50
- package/dist/components/code-block/schema.d.ts +29 -0
- package/dist/components/color-input/classes.d.ts +9 -0
- package/dist/components/color-input/html.d.ts +48 -0
- package/dist/components/color-input/html.js +187 -0
- package/dist/components/color-input/index.d.ts +88 -0
- package/dist/components/color-input/react.d.ts +7 -0
- package/dist/components/{ui/color-picker.js → color-input/react.js} +165 -233
- package/dist/components/color-input/schema.d.ts +40 -0
- package/dist/components/copy-button/html.d.ts +48 -0
- package/dist/components/copy-button/html.js +266 -0
- package/dist/components/copy-button/index.d.ts +73 -0
- package/dist/components/copy-button/react.d.ts +12 -0
- package/dist/components/copy-button/react.js +234 -0
- package/dist/components/copy-button/schema.d.ts +37 -0
- package/dist/components/copy-value/html.d.ts +37 -0
- package/dist/components/copy-value/html.js +426 -0
- package/dist/components/copy-value/index.d.ts +57 -0
- package/dist/components/copy-value/react.d.ts +9 -0
- package/dist/components/{ui/copy-value.js → copy-value/react.js} +243 -65
- package/dist/components/copy-value/schema.d.ts +45 -0
- package/dist/components/cron-input/classes.d.ts +25 -0
- package/dist/components/cron-input/html.d.ts +36 -0
- package/dist/components/cron-input/html.js +204 -0
- package/dist/components/cron-input/index.d.ts +59 -0
- package/dist/components/cron-input/react.d.ts +7 -0
- package/dist/components/{ui/cron-expression-editor.js → cron-input/react.js} +126 -54
- package/dist/components/cron-input/schema.d.ts +24 -0
- package/dist/components/danger-confirmation/classes.d.ts +7 -0
- package/dist/components/danger-confirmation/html.d.ts +39 -0
- package/dist/components/danger-confirmation/html.js +227 -0
- package/dist/components/danger-confirmation/index.d.ts +113 -0
- package/dist/components/{ui/danger-confirmation.d.ts → danger-confirmation/react.d.ts} +3 -12
- package/dist/components/{ui/danger-confirmation.js → danger-confirmation/react.js} +203 -205
- package/dist/components/danger-confirmation/schema.d.ts +34 -0
- package/dist/components/data-table/classes.d.ts +63 -0
- package/dist/components/data-table/html.d.ts +1938 -0
- package/dist/components/data-table/html.js +2682 -0
- package/dist/components/data-table/index.d.ts +2686 -0
- package/dist/components/data-table/react.d.ts +578 -0
- package/dist/components/{ui/data-table.js → data-table/react.js} +1958 -835
- package/dist/components/data-table/schema.d.ts +3012 -0
- package/dist/components/date-input/classes.d.ts +17 -0
- package/dist/components/date-input/html.d.ts +60 -0
- package/dist/components/date-input/html.js +418 -0
- package/dist/components/date-input/index.d.ts +91 -0
- package/dist/components/date-input/react.d.ts +10 -0
- package/dist/components/{ui/date-picker.js → date-input/react.js} +233 -79
- package/dist/components/date-input/schema.d.ts +41 -0
- package/dist/components/editable-text/classes.d.ts +17 -0
- package/dist/components/editable-text/html.d.ts +51 -0
- package/dist/components/editable-text/html.js +370 -0
- package/dist/components/editable-text/index.d.ts +143 -0
- package/dist/components/editable-text/react.d.ts +6 -0
- package/dist/components/editable-text/react.js +345 -0
- package/dist/components/editable-text/schema.d.ts +31 -0
- package/dist/components/editing-locale-switcher/classes.d.ts +7 -0
- package/dist/components/editing-locale-switcher/html.d.ts +27 -0
- package/dist/components/editing-locale-switcher/html.js +250 -0
- package/dist/components/editing-locale-switcher/index.d.ts +52 -0
- package/dist/components/editing-locale-switcher/react.d.ts +7 -0
- package/dist/components/{ui/editing-locale-switcher.js → editing-locale-switcher/react.js} +63 -10
- package/dist/components/editing-locale-switcher/schema.d.ts +16 -0
- package/dist/components/{ui/effect-form.d.ts → effect-form/react.d.ts} +2 -2
- package/dist/components/{ui/effect-form.js → effect-form/react.js} +302 -76
- package/dist/components/effectcn/alert-dialog.d.ts +13 -0
- package/dist/components/effectcn/button.d.ts +31 -0
- package/dist/components/effectcn/calendar.d.ts +12 -0
- package/dist/components/effectcn/checkbox.d.ts +10 -0
- package/dist/components/effectcn/combobox.d.ts +25 -0
- package/dist/components/effectcn/dialog.d.ts +19 -0
- package/dist/components/effectcn/field.d.ts +11 -0
- package/dist/components/effectcn/file-drop.d.ts +8 -0
- package/dist/components/effectcn/input.d.ts +26 -0
- package/dist/components/effectcn/menu.d.ts +85 -0
- package/dist/components/effectcn/menubar.d.ts +8 -0
- package/dist/components/effectcn/popover.d.ts +18 -0
- package/dist/components/effectcn/scroll-area.d.ts +12 -0
- package/dist/components/effectcn/select.d.ts +68 -0
- package/dist/components/effectcn/toast.d.ts +29 -0
- package/dist/components/email-composer/index.d.ts +229 -0
- package/dist/components/email-composer/labels.d.ts +12 -0
- package/dist/components/email-composer/react.d.ts +5 -0
- package/dist/components/{ui/email-composer.js → email-composer/react.js} +461 -127
- package/dist/components/email-composer/schema.d.ts +42 -0
- package/dist/components/email-editor/classes.d.ts +21 -0
- package/dist/components/email-editor/html.d.ts +360 -0
- package/dist/components/email-editor/html.js +1706 -0
- package/dist/components/email-editor/index.d.ts +693 -0
- package/dist/components/{ui/email-editor.d.ts → email-editor/labels.d.ts} +1 -21
- package/dist/components/email-editor/legacy-editor.html.d.ts +160 -0
- package/dist/components/email-editor/react.d.ts +11 -0
- package/dist/components/{ui/email-editor.js → email-editor/react.js} +600 -230
- package/dist/components/email-editor/schema.d.ts +162 -0
- package/dist/components/error-component/classes.d.ts +7 -0
- package/dist/components/error-component/html.d.ts +120 -0
- package/dist/components/error-component/html.js +346 -0
- package/dist/components/error-component/index.d.ts +69 -0
- package/dist/components/error-component/react.d.ts +8 -0
- package/dist/components/{ui/error-component.js → error-component/react.js} +281 -78
- package/dist/components/error-component/schema.d.ts +56 -0
- package/dist/components/file-input/classes.d.ts +7 -0
- package/dist/components/file-input/html.d.ts +95 -0
- package/dist/components/file-input/html.js +368 -0
- package/dist/components/file-input/index.d.ts +99 -0
- package/dist/components/file-input/react.d.ts +11 -0
- package/dist/components/{ui/file-picker.js → file-input/react.js} +122 -19
- package/dist/components/file-input/schema.d.ts +37 -0
- package/dist/components/{ui/form.d.ts → form/react.d.ts} +7 -7
- package/dist/components/{ui/form.js → form/react.js} +300 -74
- package/dist/components/icon-input/html.d.ts +55 -0
- package/dist/components/icon-input/html.js +538 -0
- package/dist/components/icon-input/index.d.ts +143 -0
- package/dist/components/icon-input/react.d.ts +6 -0
- package/dist/components/{ui/icon-input.js → icon-input/react.js} +305 -89
- package/dist/components/icon-input/schema.d.ts +23 -0
- package/dist/components/image-crop-editor/classes.d.ts +19 -0
- package/dist/components/image-crop-editor/html.d.ts +66 -0
- package/dist/components/image-crop-editor/html.js +561 -0
- package/dist/components/image-crop-editor/index.d.ts +183 -0
- package/dist/components/image-crop-editor/react.d.ts +8 -0
- package/dist/components/image-crop-editor/react.js +648 -0
- package/dist/components/image-crop-editor/schema.d.ts +54 -0
- package/dist/components/krakstack-provider/html.d.ts +17 -0
- package/dist/components/krakstack-provider/html.js +37 -0
- package/dist/components/krakstack-provider/index.d.ts +7 -0
- package/dist/components/krakstack-provider/react.d.ts +8 -0
- package/dist/components/{ui/krakstack-provider.js → krakstack-provider/react.js} +14 -5
- package/dist/components/krakstack-provider/schema.d.ts +6 -0
- package/dist/components/loading/classes.d.ts +5 -0
- package/dist/components/loading/html.d.ts +18 -0
- package/dist/components/loading/html.js +166 -0
- package/dist/components/loading/index.d.ts +6 -0
- package/dist/components/loading/react.d.ts +4 -0
- package/dist/components/loading/react.js +51 -0
- package/dist/components/loading/schema.d.ts +23 -0
- package/dist/components/locale-switcher/html.d.ts +22 -0
- package/dist/components/locale-switcher/html.js +264 -0
- package/dist/components/locale-switcher/index.d.ts +50 -0
- package/dist/components/locale-switcher/react.d.ts +7 -0
- package/dist/components/{ui/locale-switcher.js → locale-switcher/react.js} +55 -22
- package/dist/components/locale-switcher/schema.d.ts +12 -0
- package/dist/components/map-menu/classes.d.ts +13 -0
- package/dist/components/map-menu/google-maps.d.ts +80 -0
- package/dist/components/map-menu/google-viewport.d.ts +7 -0
- package/dist/components/map-menu/html.d.ts +274 -0
- package/dist/components/map-menu/html.js +934 -0
- package/dist/components/map-menu/index.d.ts +246 -0
- package/dist/components/map-menu/map.d.ts +47 -0
- package/dist/components/map-menu/react.d.ts +40 -0
- package/dist/components/{ui/map-menu.js → map-menu/react.js} +321 -83
- package/dist/components/map-menu/schema.d.ts +132 -0
- package/dist/components/markdown/classes.d.ts +1 -0
- package/dist/components/markdown/html.d.ts +23 -0
- package/dist/components/markdown/html.js +510 -0
- package/dist/components/markdown/index.d.ts +6 -0
- package/dist/components/markdown/react.d.ts +3 -0
- package/dist/components/markdown/react.js +392 -0
- package/dist/components/markdown/schema.d.ts +20 -0
- package/dist/components/notification-menu/classes.d.ts +11 -0
- package/dist/components/notification-menu/html.d.ts +67 -0
- package/dist/components/notification-menu/html.js +425 -0
- package/dist/components/notification-menu/index.d.ts +132 -0
- package/dist/components/notification-menu/react.d.ts +57 -0
- package/dist/components/notification-menu/react.js +829 -0
- package/dist/components/notification-menu/schema.d.ts +59 -0
- package/dist/components/pagination/classes.d.ts +19 -0
- package/dist/components/pagination/html.d.ts +49 -0
- package/dist/components/pagination/html.js +387 -0
- package/dist/components/pagination/index.d.ts +109 -0
- package/dist/components/pagination/react.d.ts +9 -0
- package/dist/components/{ui/pagination.js → pagination/react.js} +123 -23
- package/dist/components/pagination/schema.d.ts +36 -0
- package/dist/components/phone-number-input/classes.d.ts +17 -0
- package/dist/components/phone-number-input/html.d.ts +52 -0
- package/dist/components/phone-number-input/html.js +655 -0
- package/dist/components/phone-number-input/index.d.ts +59 -0
- package/dist/components/phone-number-input/react.d.ts +11 -0
- package/dist/components/{ui/phone-number-input.js → phone-number-input/react.js} +368 -138
- package/dist/components/phone-number-input/schema.d.ts +31 -0
- package/dist/components/presence-transition/html.d.ts +13 -0
- package/dist/components/presence-transition/html.js +128 -0
- package/dist/components/presence-transition/index.d.ts +57 -0
- package/dist/components/{ui/presence-transition.d.ts → presence-transition/react.d.ts} +3 -5
- package/dist/components/presence-transition/react.js +139 -0
- package/dist/components/presence-transition/schema.d.ts +7 -0
- package/dist/components/registry-previews/component-example.d.ts +31 -0
- package/dist/components/registry-previews/component-example.js +525 -0
- package/dist/components/registry-previews/html-preview.d.ts +17 -0
- package/dist/components/registry-previews/html-preview.js +83 -0
- package/dist/components/rich-text-editor/classes.d.ts +15 -0
- package/dist/components/rich-text-editor/engine.d.ts +9 -0
- package/dist/components/rich-text-editor/html.d.ts +246 -0
- package/dist/components/rich-text-editor/html.js +830 -0
- package/dist/components/rich-text-editor/index.d.ts +453 -0
- package/dist/components/rich-text-editor/labels.d.ts +42 -0
- package/dist/components/rich-text-editor/react.d.ts +19 -0
- package/dist/components/{ui/rich-text-editor.js → rich-text-editor/react.js} +365 -96
- package/dist/components/rich-text-editor/schema.d.ts +116 -0
- package/dist/components/search-menu/classes.d.ts +9 -0
- package/dist/components/search-menu/html.d.ts +127 -0
- package/dist/components/search-menu/html.js +432 -0
- package/dist/components/search-menu/index.d.ts +85 -0
- package/dist/components/search-menu/react.d.ts +18 -0
- package/dist/components/{ui/search-menu.js → search-menu/react.js} +128 -23
- package/dist/components/search-menu/schema.d.ts +78 -0
- package/dist/components/select-with-custom-input/classes.d.ts +17 -0
- package/dist/components/select-with-custom-input/html.d.ts +60 -0
- package/dist/components/select-with-custom-input/html.js +238 -0
- package/dist/components/select-with-custom-input/index.d.ts +114 -0
- package/dist/components/select-with-custom-input/react.d.ts +7 -0
- package/dist/components/{ui/select-with-custom-input.js → select-with-custom-input/react.js} +127 -22
- package/dist/components/select-with-custom-input/schema.d.ts +54 -0
- package/dist/components/sidebar-layout/classes.d.ts +21 -0
- package/dist/components/sidebar-layout/html.d.ts +97 -0
- package/dist/components/sidebar-layout/html.js +361 -0
- package/dist/components/sidebar-layout/index.d.ts +57 -0
- package/dist/components/sidebar-layout/react.d.ts +30 -0
- package/dist/components/{ui/sidebar-layout.js → sidebar-layout/react.js} +199 -39
- package/dist/components/sidebar-layout/schema.d.ts +54 -0
- package/dist/components/stats-card/classes.d.ts +11 -0
- package/dist/components/stats-card/html.d.ts +15 -0
- package/dist/components/stats-card/html.js +55 -0
- package/dist/components/stats-card/react.d.ts +7 -0
- package/dist/components/{ui/stats-card.js → stats-card/react.js} +19 -15
- package/dist/components/stats-card/schema.d.ts +14 -0
- package/dist/components/stepper/classes.d.ts +39 -0
- package/dist/components/stepper/html.d.ts +107 -0
- package/dist/components/stepper/html.js +397 -0
- package/dist/components/stepper/index.d.ts +83 -0
- package/dist/components/stepper/react.d.ts +17 -0
- package/dist/components/{ui/stepper.js → stepper/react.js} +120 -21
- package/dist/components/stepper/schema.d.ts +52 -0
- package/dist/components/support/classes.d.ts +55 -0
- package/dist/components/support/form.d.ts +19 -0
- package/dist/components/support/html.d.ts +266 -0
- package/dist/components/support/html.js +604 -0
- package/dist/components/support/index.d.ts +226 -0
- package/dist/components/support/multipart.d.ts +21 -0
- package/dist/components/support/react.d.ts +54 -0
- package/dist/components/support/react.js +1098 -0
- package/dist/components/support/schema.d.ts +69 -0
- package/dist/components/support.d.ts +1 -66
- package/dist/components/theme-switcher/html.d.ts +28 -0
- package/dist/components/theme-switcher/html.js +288 -0
- package/dist/components/theme-switcher/index.d.ts +59 -0
- package/dist/components/{ui/theme-switcher.d.ts → theme-switcher/react.d.ts} +4 -12
- package/dist/components/{ui/theme-switcher.js → theme-switcher/react.js} +69 -35
- package/dist/components/theme-switcher/schema.d.ts +33 -0
- package/dist/components/time-input/classes.d.ts +23 -0
- package/dist/components/time-input/html.d.ts +75 -0
- package/dist/components/time-input/html.js +571 -0
- package/dist/components/time-input/index.d.ts +164 -0
- package/dist/components/time-input/react.d.ts +7 -0
- package/dist/components/{ui/time-picker.js → time-input/react.js} +286 -114
- package/dist/components/time-input/schema.d.ts +96 -0
- package/dist/components/timezone-input/classes.d.ts +13 -0
- package/dist/components/timezone-input/html.d.ts +58 -0
- package/dist/components/timezone-input/html.js +804 -0
- package/dist/components/timezone-input/index.d.ts +170 -0
- package/dist/components/timezone-input/react.d.ts +9 -0
- package/dist/components/{ui/timezone-select.js → timezone-input/react.js} +337 -104
- package/dist/components/timezone-input/schema.d.ts +43 -0
- package/dist/components/toast/classes.d.ts +7 -0
- package/dist/components/toast/html.d.ts +34 -0
- package/dist/components/toast/html.js +280 -0
- package/dist/components/toast/index.d.ts +10 -0
- package/dist/components/toast/react.d.ts +9 -0
- package/dist/components/{ui/toast.js → toast/react.js} +35 -15
- package/dist/components/toast/schema.d.ts +24 -0
- package/dist/{services/events/client/tracking-notice.d.ts → components/tracking-notice/react.d.ts} +7 -1
- package/dist/{services/events/client/tracking-notice.js → components/tracking-notice/react.js} +13 -7
- package/dist/components/ui/animated-list.d.ts +1 -21
- package/dist/components/ui/app-brand.d.ts +1 -33
- package/dist/components/ui/async-action-button.d.ts +1 -17
- package/dist/components/ui/code-block.d.ts +1 -14
- package/dist/components/ui/copy-button.d.ts +1 -21
- package/dist/components/ui/data-table.d.ts +1 -584
- package/dist/components/ui/krakstack-provider.d.ts +1 -9
- package/dist/components/ui/loading.d.ts +1 -13
- package/dist/components/ui/pagination.d.ts +1 -47
- package/dist/components/ui/rich-text-editor.d.ts +1 -72
- package/dist/components/ui/search-menu.d.ts +1 -36
- package/dist/components/ui/sidebar-layout.d.ts +1 -40
- package/dist/components/ui/virtualized-combobox.d.ts +1 -59
- package/dist/components/unsaved-changes-guard/html.d.ts +34 -0
- package/dist/components/unsaved-changes-guard/html.js +172 -0
- package/dist/components/unsaved-changes-guard/index.d.ts +56 -0
- package/dist/components/unsaved-changes-guard/react.d.ts +4 -0
- package/dist/components/{ui/unsaved-changes-guard.js → unsaved-changes-guard/react.js} +74 -11
- package/dist/components/unsaved-changes-guard/schema.d.ts +37 -0
- package/dist/components/upload-attachment/classes.d.ts +11 -0
- package/dist/components/upload-attachment/html.d.ts +84 -0
- package/dist/components/upload-attachment/html.js +312 -0
- package/dist/components/upload-attachment/index.d.ts +72 -0
- package/dist/components/upload-attachment/react.d.ts +9 -0
- package/dist/components/{ui/upload-attachment.js → upload-attachment/react.js} +114 -17
- package/dist/components/upload-attachment/schema.d.ts +53 -0
- package/dist/components/virtualized-combobox/classes.d.ts +7 -0
- package/dist/components/virtualized-combobox/html.d.ts +97 -0
- package/dist/components/virtualized-combobox/html.js +310 -0
- package/dist/components/virtualized-combobox/index.d.ts +182 -0
- package/dist/components/virtualized-combobox/react.d.ts +31 -0
- package/dist/components/{ui/virtualized-combobox.js → virtualized-combobox/react.js} +160 -40
- package/dist/components/virtualized-combobox/schema.d.ts +92 -0
- package/dist/components/webhook-delivery-table/html.d.ts +216 -0
- package/dist/components/webhook-delivery-table/html.js +3008 -0
- package/dist/components/webhook-delivery-table/index.d.ts +405 -0
- package/dist/components/webhook-delivery-table/react.d.ts +13 -0
- package/dist/{services/webhooks/client/delivery-table.js → components/webhook-delivery-table/react.js} +2278 -917
- package/dist/components/webhook-delivery-table/schema.d.ts +134 -0
- package/dist/lib/docs.d.ts +17 -1
- package/dist/lib/docs.integrations.server.js +341 -75
- package/dist/lib/docs.js +715 -299
- package/dist/lib/docs.server.js +325 -59
- package/dist/lib/documentation-toolkit.d.ts +4 -4
- package/dist/lib/documentation-toolkit.js +337 -71
- package/dist/lib/effect-ui-adapter/model-runtime.d.ts +17 -0
- package/dist/lib/effect-ui-adapter/use-model.d.ts +9 -0
- package/dist/lib/effect-ui-adapter/use-model.js +158 -0
- package/dist/lib/effectcn-form.d.ts +3 -0
- package/dist/lib/effectcn-form.js +54 -0
- package/dist/lib/email-composer/index.d.ts +12 -0
- package/dist/lib/email-composer/schema.d.ts +14 -0
- package/dist/lib/httpapi-toolkit.d.ts +1 -1
- package/dist/lib/lucide-effect.d.ts +39 -0
- package/dist/lib/markdown/content.d.ts +1 -12
- package/dist/lib/rich-text/model.d.ts +5 -0
- package/dist/lib/webfetch-toolkit.d.ts +1 -1
- package/dist/services/agent/client/index.js +530 -168
- package/dist/services/agent/client/widget.d.ts +1 -55
- package/dist/services/notification/client/index.js +138 -27
- package/dist/services/notification/client/notification-menu.d.ts +1 -85
- package/dist/services/notification/public.js +138 -27
- package/dist/services/opentelemetry/browser.js +15 -9
- package/dist/services/webhooks/index.d.ts +4 -3
- package/package.json +185 -142
- package/dist/components/support-dialog.js +0 -881
- package/dist/components/support.js +0 -881
- package/dist/components/ui/animated-number.js +0 -75
- package/dist/components/ui/app-brand.js +0 -126
- package/dist/components/ui/app-switcher.d.ts +0 -26
- package/dist/components/ui/async-action-button.js +0 -149
- package/dist/components/ui/auto-height.js +0 -86
- package/dist/components/ui/bulk-list-input.d.ts +0 -25
- package/dist/components/ui/choice-cards.d.ts +0 -33
- package/dist/components/ui/color-picker.d.ts +0 -31
- package/dist/components/ui/copy-button.js +0 -138
- package/dist/components/ui/copy-value.d.ts +0 -24
- package/dist/components/ui/cron-expression-editor.d.ts +0 -16
- package/dist/components/ui/cron-expression-editor.schema.d.ts +0 -7
- package/dist/components/ui/date-picker.d.ts +0 -33
- package/dist/components/ui/date-picker.schema.d.ts +0 -9
- package/dist/components/ui/editable-text.d.ts +0 -19
- package/dist/components/ui/editable-text.js +0 -341
- package/dist/components/ui/editing-locale-switcher.d.ts +0 -11
- package/dist/components/ui/error-component.d.ts +0 -34
- package/dist/components/ui/file-picker.d.ts +0 -37
- package/dist/components/ui/icon-input.d.ts +0 -58
- package/dist/components/ui/image-crop-editor.d.ts +0 -41
- package/dist/components/ui/image-crop-editor.js +0 -417
- package/dist/components/ui/loading.js +0 -39
- package/dist/components/ui/locale-switcher.d.ts +0 -11
- package/dist/components/ui/map-menu-map.d.ts +0 -115
- package/dist/components/ui/map-menu.d.ts +0 -87
- package/dist/components/ui/phone-number-input.d.ts +0 -22
- package/dist/components/ui/phone-number-input.schema.d.ts +0 -7
- package/dist/components/ui/presence-transition.js +0 -94
- package/dist/components/ui/select-with-custom-input.d.ts +0 -36
- package/dist/components/ui/stats-card.d.ts +0 -12
- package/dist/components/ui/stepper.d.ts +0 -37
- package/dist/components/ui/time-picker.d.ts +0 -50
- package/dist/components/ui/time-picker.schema.d.ts +0 -28
- package/dist/components/ui/timezone-select.d.ts +0 -57
- package/dist/components/ui/timezone-select.schema.d.ts +0 -9
- package/dist/components/ui/toast.d.ts +0 -18
- package/dist/components/ui/unsaved-changes-guard.d.ts +0 -16
- package/dist/components/ui/upload-attachment.d.ts +0 -39
- package/dist/services/notification/persistence/drizzle.d.ts +0 -868
- package/dist/services/notification/persistence/drizzle.js +0 -214
- package/dist/services/notification/persistence/index.d.ts +0 -2
- package/dist/services/notification/persistence/index.js +0 -227
- package/dist/services/notification/persistence/schema.d.ts +0 -143
- package/dist/services/notification/persistence/schema.js +0 -118
- package/dist/services/webhooks/client/delivery-table.d.ts +0 -62
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const EmailComposerPropsSchema: Schema.Struct<{
|
|
3
|
+
readonly classes: Schema.optional<Schema.$Record<Schema.Literals<("editorError" | "linkError" | "linkField" | "linkForm" | "toolbar")[]>, Schema.optionalKey<Schema.String>>>;
|
|
4
|
+
readonly value: Schema.Codec<import("@tiptap/core").JSONContent, import("@tiptap/core").JSONContent, never, never>;
|
|
5
|
+
readonly label: Schema.String;
|
|
6
|
+
readonly variables: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
7
|
+
readonly key: Schema.String;
|
|
8
|
+
readonly label: Schema.String;
|
|
9
|
+
readonly type: Schema.Literals<readonly ["text", "url"]>;
|
|
10
|
+
readonly sample: Schema.String;
|
|
11
|
+
}>>>;
|
|
12
|
+
readonly disabled: Schema.optional<Schema.Boolean>;
|
|
13
|
+
readonly locale: Schema.optional<Schema.String>;
|
|
14
|
+
readonly messages: Schema.optional<Schema.$Record<Schema.String, Schema.UndefinedOr<Schema.Struct<{
|
|
15
|
+
bold: Schema.optional<Schema.String>;
|
|
16
|
+
italic: Schema.optional<Schema.String>;
|
|
17
|
+
underline: Schema.optional<Schema.String>;
|
|
18
|
+
undo: Schema.optional<Schema.String>;
|
|
19
|
+
redo: Schema.optional<Schema.String>;
|
|
20
|
+
link: Schema.optional<Schema.String>;
|
|
21
|
+
unlink: Schema.optional<Schema.String>;
|
|
22
|
+
linkUrl: Schema.optional<Schema.String>;
|
|
23
|
+
apply: Schema.optional<Schema.String>;
|
|
24
|
+
cancel: Schema.optional<Schema.String>;
|
|
25
|
+
variable: Schema.optional<Schema.String>;
|
|
26
|
+
paragraph: Schema.optional<Schema.String>;
|
|
27
|
+
heading: Schema.optional<Schema.String>;
|
|
28
|
+
bullet: Schema.optional<Schema.String>;
|
|
29
|
+
numbered: Schema.optional<Schema.String>;
|
|
30
|
+
toolbar: Schema.optional<Schema.String>;
|
|
31
|
+
invalid: Schema.optional<Schema.String>;
|
|
32
|
+
invalidLink: Schema.optional<Schema.String>;
|
|
33
|
+
}>>>>;
|
|
34
|
+
readonly className: Schema.optional<Schema.String>;
|
|
35
|
+
readonly maxLength: Schema.optional<Schema.Number>;
|
|
36
|
+
readonly previewMessages: Schema.optional<Schema.Struct<{
|
|
37
|
+
readonly preview: Schema.optional<Schema.String>;
|
|
38
|
+
readonly text: Schema.optional<Schema.String>;
|
|
39
|
+
readonly error: Schema.optional<Schema.String>;
|
|
40
|
+
}>>;
|
|
41
|
+
}>;
|
|
42
|
+
export type EmailComposerSharedProps = typeof EmailComposerPropsSchema.Type;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { EmailEditorClassesOverrides } from "./schema.js";
|
|
2
|
+
export declare const emailEditorClasses: {
|
|
3
|
+
readonly inspectorField: "grid min-w-0 gap-1.5 text-xs font-medium";
|
|
4
|
+
readonly inspector: "min-w-0 space-y-4";
|
|
5
|
+
readonly sectionHeading: "text-xs font-medium";
|
|
6
|
+
readonly previewPlaceholder: "p-8 text-center text-sm";
|
|
7
|
+
readonly image: "inline-block max-w-full";
|
|
8
|
+
readonly metadata: "text-muted-foreground text-xs";
|
|
9
|
+
readonly actionGrid: "grid grid-cols-2 gap-2";
|
|
10
|
+
readonly error: "text-destructive text-xs";
|
|
11
|
+
};
|
|
12
|
+
export declare const resolveEmailEditorClasses: (overrides?: EmailEditorClassesOverrides) => {
|
|
13
|
+
inspectorField: string;
|
|
14
|
+
inspector: string;
|
|
15
|
+
sectionHeading: string;
|
|
16
|
+
previewPlaceholder: string;
|
|
17
|
+
image: string;
|
|
18
|
+
metadata: string;
|
|
19
|
+
actionGrid: string;
|
|
20
|
+
error: string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
import { Html } from "effect/ui/html";
|
|
2
|
+
export type { EmailEditorSharedProps as EmailEditorProps, EmailEditorMessages, } from "./schema.js";
|
|
3
|
+
export { EmailEditorPropsSchema } from "./schema.js";
|
|
4
|
+
export { EmailEditorEvents } from "./index.js";
|
|
5
|
+
/** @deprecated Use EmailComposer for new integrations. */
|
|
6
|
+
export declare const EmailEditor: import("effect/ui/Component").Component<"EmailEditor", {
|
|
7
|
+
readonly classes?: {
|
|
8
|
+
readonly actionGrid?: string | undefined;
|
|
9
|
+
readonly error?: string | undefined;
|
|
10
|
+
readonly image?: string | undefined;
|
|
11
|
+
readonly inspector?: string | undefined;
|
|
12
|
+
readonly inspectorField?: string | undefined;
|
|
13
|
+
readonly metadata?: string | undefined;
|
|
14
|
+
readonly previewPlaceholder?: string | undefined;
|
|
15
|
+
readonly sectionHeading?: string | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly value: {
|
|
18
|
+
readonly version: 1;
|
|
19
|
+
readonly subject: string;
|
|
20
|
+
readonly preview: string;
|
|
21
|
+
readonly appearance: {
|
|
22
|
+
readonly background: string;
|
|
23
|
+
readonly surface: string;
|
|
24
|
+
readonly text: string;
|
|
25
|
+
readonly primary: string;
|
|
26
|
+
readonly primaryText: string;
|
|
27
|
+
readonly font: "mono" | "sans" | "serif";
|
|
28
|
+
readonly radius: number;
|
|
29
|
+
};
|
|
30
|
+
readonly elements: readonly ({
|
|
31
|
+
readonly id: string;
|
|
32
|
+
readonly alignment: "center" | "left" | "right";
|
|
33
|
+
readonly paddingTop: number;
|
|
34
|
+
readonly paddingBottom: number;
|
|
35
|
+
readonly type: "text";
|
|
36
|
+
readonly content: {
|
|
37
|
+
readonly version: 1;
|
|
38
|
+
readonly blocks: readonly {
|
|
39
|
+
readonly type: "bullet" | "heading" | "numbered" | "paragraph";
|
|
40
|
+
readonly content: readonly ({
|
|
41
|
+
readonly type: "text";
|
|
42
|
+
readonly text: string;
|
|
43
|
+
readonly marks?: {
|
|
44
|
+
readonly bold?: boolean | undefined;
|
|
45
|
+
readonly italic?: boolean | undefined;
|
|
46
|
+
readonly underline?: boolean | undefined;
|
|
47
|
+
readonly href?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
} | {
|
|
50
|
+
readonly type: "variable";
|
|
51
|
+
readonly key: string;
|
|
52
|
+
readonly marks?: {
|
|
53
|
+
readonly bold?: boolean | undefined;
|
|
54
|
+
readonly italic?: boolean | undefined;
|
|
55
|
+
readonly underline?: boolean | undefined;
|
|
56
|
+
readonly href?: string | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
})[];
|
|
59
|
+
}[];
|
|
60
|
+
};
|
|
61
|
+
} | {
|
|
62
|
+
readonly id: string;
|
|
63
|
+
readonly alignment: "center" | "left" | "right";
|
|
64
|
+
readonly paddingTop: number;
|
|
65
|
+
readonly paddingBottom: number;
|
|
66
|
+
readonly type: "button";
|
|
67
|
+
readonly label: string;
|
|
68
|
+
readonly destination: {
|
|
69
|
+
readonly type: "url";
|
|
70
|
+
readonly url: string;
|
|
71
|
+
} | {
|
|
72
|
+
readonly type: "variable";
|
|
73
|
+
readonly key: string;
|
|
74
|
+
};
|
|
75
|
+
} | {
|
|
76
|
+
readonly id: string;
|
|
77
|
+
readonly alignment: "center" | "left" | "right";
|
|
78
|
+
readonly paddingTop: number;
|
|
79
|
+
readonly paddingBottom: number;
|
|
80
|
+
readonly type: "code";
|
|
81
|
+
readonly variable: string;
|
|
82
|
+
} | {
|
|
83
|
+
readonly id: string;
|
|
84
|
+
readonly alignment: "center" | "left" | "right";
|
|
85
|
+
readonly paddingTop: number;
|
|
86
|
+
readonly paddingBottom: number;
|
|
87
|
+
readonly type: "image" | "logo";
|
|
88
|
+
readonly src: string;
|
|
89
|
+
readonly alt: string;
|
|
90
|
+
readonly width: number;
|
|
91
|
+
} | {
|
|
92
|
+
readonly id: string;
|
|
93
|
+
readonly alignment: "center" | "left" | "right";
|
|
94
|
+
readonly paddingTop: number;
|
|
95
|
+
readonly paddingBottom: number;
|
|
96
|
+
readonly type: "divider";
|
|
97
|
+
} | {
|
|
98
|
+
readonly id: string;
|
|
99
|
+
readonly alignment: "center" | "left" | "right";
|
|
100
|
+
readonly paddingTop: number;
|
|
101
|
+
readonly paddingBottom: number;
|
|
102
|
+
readonly type: "spacer";
|
|
103
|
+
readonly height: number;
|
|
104
|
+
})[];
|
|
105
|
+
};
|
|
106
|
+
readonly variables?: readonly {
|
|
107
|
+
readonly key: string;
|
|
108
|
+
readonly label: string;
|
|
109
|
+
readonly type: "text" | "url";
|
|
110
|
+
readonly sample: string;
|
|
111
|
+
}[] | undefined;
|
|
112
|
+
readonly requiredVariables?: readonly string[] | undefined;
|
|
113
|
+
readonly disabled?: boolean | undefined;
|
|
114
|
+
readonly locale?: string | undefined;
|
|
115
|
+
readonly messages?: {
|
|
116
|
+
readonly [x: string]: {
|
|
117
|
+
readonly edit?: string | undefined;
|
|
118
|
+
readonly preview?: string | undefined;
|
|
119
|
+
readonly subject?: string | undefined;
|
|
120
|
+
readonly preheader?: string | undefined;
|
|
121
|
+
readonly add?: string | undefined;
|
|
122
|
+
readonly text?: string | undefined;
|
|
123
|
+
readonly button?: string | undefined;
|
|
124
|
+
readonly code?: string | undefined;
|
|
125
|
+
readonly logo?: string | undefined;
|
|
126
|
+
readonly image?: string | undefined;
|
|
127
|
+
readonly divider?: string | undefined;
|
|
128
|
+
readonly spacer?: string | undefined;
|
|
129
|
+
readonly content?: string | undefined;
|
|
130
|
+
readonly properties?: string | undefined;
|
|
131
|
+
readonly select?: string | undefined;
|
|
132
|
+
readonly alignment?: string | undefined;
|
|
133
|
+
readonly left?: string | undefined;
|
|
134
|
+
readonly center?: string | undefined;
|
|
135
|
+
readonly right?: string | undefined;
|
|
136
|
+
readonly paddingTop?: string | undefined;
|
|
137
|
+
readonly paddingBottom?: string | undefined;
|
|
138
|
+
readonly width?: string | undefined;
|
|
139
|
+
readonly height?: string | undefined;
|
|
140
|
+
readonly src?: string | undefined;
|
|
141
|
+
readonly alt?: string | undefined;
|
|
142
|
+
readonly label?: string | undefined;
|
|
143
|
+
readonly destination?: string | undefined;
|
|
144
|
+
readonly url?: string | undefined;
|
|
145
|
+
readonly variable?: string | undefined;
|
|
146
|
+
readonly insertVariable?: string | undefined;
|
|
147
|
+
readonly close?: string | undefined;
|
|
148
|
+
readonly duplicate?: string | undefined;
|
|
149
|
+
readonly remove?: string | undefined;
|
|
150
|
+
readonly background?: string | undefined;
|
|
151
|
+
readonly surface?: string | undefined;
|
|
152
|
+
readonly primary?: string | undefined;
|
|
153
|
+
readonly primaryText?: string | undefined;
|
|
154
|
+
readonly foreground?: string | undefined;
|
|
155
|
+
readonly font?: string | undefined;
|
|
156
|
+
readonly sans?: string | undefined;
|
|
157
|
+
readonly serif?: string | undefined;
|
|
158
|
+
readonly mono?: string | undefined;
|
|
159
|
+
readonly branding?: string | undefined;
|
|
160
|
+
readonly invalid?: string | undefined;
|
|
161
|
+
readonly newText?: string | undefined;
|
|
162
|
+
readonly newButton?: string | undefined;
|
|
163
|
+
readonly newImage?: string | undefined;
|
|
164
|
+
readonly empty?: string | undefined;
|
|
165
|
+
readonly editElement?: string | undefined;
|
|
166
|
+
readonly local?: string | undefined;
|
|
167
|
+
} | undefined;
|
|
168
|
+
} | undefined;
|
|
169
|
+
}, {
|
|
170
|
+
readonly active: string | null;
|
|
171
|
+
readonly settingsOpen: boolean;
|
|
172
|
+
readonly mode: "design" | "preview";
|
|
173
|
+
readonly designPopover: "add" | "branding" | null;
|
|
174
|
+
}, {
|
|
175
|
+
readonly _tag: "Add";
|
|
176
|
+
readonly id: string;
|
|
177
|
+
readonly kind: "button" | "code" | "divider" | "image" | "logo" | "spacer" | "text";
|
|
178
|
+
readonly text: string;
|
|
179
|
+
readonly button: string;
|
|
180
|
+
readonly image: string;
|
|
181
|
+
} | {
|
|
182
|
+
readonly _tag: "Appearance";
|
|
183
|
+
readonly key: "background" | "font" | "primary" | "primaryText" | "surface" | "text";
|
|
184
|
+
readonly value: string;
|
|
185
|
+
} | {
|
|
186
|
+
readonly _tag: "Close";
|
|
187
|
+
} | {
|
|
188
|
+
readonly _tag: "Content";
|
|
189
|
+
readonly id: string;
|
|
190
|
+
readonly content: {
|
|
191
|
+
readonly version: 1;
|
|
192
|
+
readonly blocks: readonly {
|
|
193
|
+
readonly type: "bullet" | "heading" | "numbered" | "paragraph";
|
|
194
|
+
readonly content: readonly ({
|
|
195
|
+
readonly type: "text";
|
|
196
|
+
readonly text: string;
|
|
197
|
+
readonly marks?: {
|
|
198
|
+
readonly bold?: boolean | undefined;
|
|
199
|
+
readonly italic?: boolean | undefined;
|
|
200
|
+
readonly underline?: boolean | undefined;
|
|
201
|
+
readonly href?: string | undefined;
|
|
202
|
+
} | undefined;
|
|
203
|
+
} | {
|
|
204
|
+
readonly type: "variable";
|
|
205
|
+
readonly key: string;
|
|
206
|
+
readonly marks?: {
|
|
207
|
+
readonly bold?: boolean | undefined;
|
|
208
|
+
readonly italic?: boolean | undefined;
|
|
209
|
+
readonly underline?: boolean | undefined;
|
|
210
|
+
readonly href?: string | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
})[];
|
|
213
|
+
}[];
|
|
214
|
+
};
|
|
215
|
+
} | {
|
|
216
|
+
readonly _tag: "Duplicate";
|
|
217
|
+
readonly id: string;
|
|
218
|
+
readonly target: string;
|
|
219
|
+
} | {
|
|
220
|
+
readonly _tag: "Header";
|
|
221
|
+
readonly key: "preview" | "subject";
|
|
222
|
+
readonly content: {
|
|
223
|
+
readonly version: 1;
|
|
224
|
+
readonly blocks: readonly {
|
|
225
|
+
readonly type: "bullet" | "heading" | "numbered" | "paragraph";
|
|
226
|
+
readonly content: readonly ({
|
|
227
|
+
readonly type: "text";
|
|
228
|
+
readonly text: string;
|
|
229
|
+
readonly marks?: {
|
|
230
|
+
readonly bold?: boolean | undefined;
|
|
231
|
+
readonly italic?: boolean | undefined;
|
|
232
|
+
readonly underline?: boolean | undefined;
|
|
233
|
+
readonly href?: string | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
} | {
|
|
236
|
+
readonly type: "variable";
|
|
237
|
+
readonly key: string;
|
|
238
|
+
readonly marks?: {
|
|
239
|
+
readonly bold?: boolean | undefined;
|
|
240
|
+
readonly italic?: boolean | undefined;
|
|
241
|
+
readonly underline?: boolean | undefined;
|
|
242
|
+
readonly href?: string | undefined;
|
|
243
|
+
} | undefined;
|
|
244
|
+
})[];
|
|
245
|
+
}[];
|
|
246
|
+
};
|
|
247
|
+
} | {
|
|
248
|
+
readonly _tag: "Mode";
|
|
249
|
+
readonly mode: "design" | "preview";
|
|
250
|
+
} | {
|
|
251
|
+
readonly _tag: "Move";
|
|
252
|
+
readonly source: string;
|
|
253
|
+
readonly target: string;
|
|
254
|
+
} | {
|
|
255
|
+
readonly _tag: "Remove";
|
|
256
|
+
readonly id: string;
|
|
257
|
+
} | {
|
|
258
|
+
readonly _tag: "Select";
|
|
259
|
+
readonly id: string;
|
|
260
|
+
} | {
|
|
261
|
+
readonly _tag: "SetDesignPopover";
|
|
262
|
+
readonly popover: "add" | "branding";
|
|
263
|
+
readonly open: boolean;
|
|
264
|
+
} | {
|
|
265
|
+
readonly _tag: "Setting";
|
|
266
|
+
readonly id: string;
|
|
267
|
+
readonly key: "alignment" | "alt" | "destination" | "height" | "label" | "paddingBottom" | "paddingTop" | "src" | "url" | "variable" | "width";
|
|
268
|
+
readonly value: string;
|
|
269
|
+
}, {
|
|
270
|
+
readonly _tag: "Changed";
|
|
271
|
+
readonly value: {
|
|
272
|
+
readonly version: 1;
|
|
273
|
+
readonly subject: string;
|
|
274
|
+
readonly preview: string;
|
|
275
|
+
readonly appearance: {
|
|
276
|
+
readonly background: string;
|
|
277
|
+
readonly surface: string;
|
|
278
|
+
readonly text: string;
|
|
279
|
+
readonly primary: string;
|
|
280
|
+
readonly primaryText: string;
|
|
281
|
+
readonly font: "mono" | "sans" | "serif";
|
|
282
|
+
readonly radius: number;
|
|
283
|
+
};
|
|
284
|
+
readonly elements: readonly ({
|
|
285
|
+
readonly id: string;
|
|
286
|
+
readonly alignment: "center" | "left" | "right";
|
|
287
|
+
readonly paddingTop: number;
|
|
288
|
+
readonly paddingBottom: number;
|
|
289
|
+
readonly type: "text";
|
|
290
|
+
readonly content: {
|
|
291
|
+
readonly version: 1;
|
|
292
|
+
readonly blocks: readonly {
|
|
293
|
+
readonly type: "bullet" | "heading" | "numbered" | "paragraph";
|
|
294
|
+
readonly content: readonly ({
|
|
295
|
+
readonly type: "text";
|
|
296
|
+
readonly text: string;
|
|
297
|
+
readonly marks?: {
|
|
298
|
+
readonly bold?: boolean | undefined;
|
|
299
|
+
readonly italic?: boolean | undefined;
|
|
300
|
+
readonly underline?: boolean | undefined;
|
|
301
|
+
readonly href?: string | undefined;
|
|
302
|
+
} | undefined;
|
|
303
|
+
} | {
|
|
304
|
+
readonly type: "variable";
|
|
305
|
+
readonly key: string;
|
|
306
|
+
readonly marks?: {
|
|
307
|
+
readonly bold?: boolean | undefined;
|
|
308
|
+
readonly italic?: boolean | undefined;
|
|
309
|
+
readonly underline?: boolean | undefined;
|
|
310
|
+
readonly href?: string | undefined;
|
|
311
|
+
} | undefined;
|
|
312
|
+
})[];
|
|
313
|
+
}[];
|
|
314
|
+
};
|
|
315
|
+
} | {
|
|
316
|
+
readonly id: string;
|
|
317
|
+
readonly alignment: "center" | "left" | "right";
|
|
318
|
+
readonly paddingTop: number;
|
|
319
|
+
readonly paddingBottom: number;
|
|
320
|
+
readonly type: "button";
|
|
321
|
+
readonly label: string;
|
|
322
|
+
readonly destination: {
|
|
323
|
+
readonly type: "url";
|
|
324
|
+
readonly url: string;
|
|
325
|
+
} | {
|
|
326
|
+
readonly type: "variable";
|
|
327
|
+
readonly key: string;
|
|
328
|
+
};
|
|
329
|
+
} | {
|
|
330
|
+
readonly id: string;
|
|
331
|
+
readonly alignment: "center" | "left" | "right";
|
|
332
|
+
readonly paddingTop: number;
|
|
333
|
+
readonly paddingBottom: number;
|
|
334
|
+
readonly type: "code";
|
|
335
|
+
readonly variable: string;
|
|
336
|
+
} | {
|
|
337
|
+
readonly id: string;
|
|
338
|
+
readonly alignment: "center" | "left" | "right";
|
|
339
|
+
readonly paddingTop: number;
|
|
340
|
+
readonly paddingBottom: number;
|
|
341
|
+
readonly type: "image" | "logo";
|
|
342
|
+
readonly src: string;
|
|
343
|
+
readonly alt: string;
|
|
344
|
+
readonly width: number;
|
|
345
|
+
} | {
|
|
346
|
+
readonly id: string;
|
|
347
|
+
readonly alignment: "center" | "left" | "right";
|
|
348
|
+
readonly paddingTop: number;
|
|
349
|
+
readonly paddingBottom: number;
|
|
350
|
+
readonly type: "divider";
|
|
351
|
+
} | {
|
|
352
|
+
readonly id: string;
|
|
353
|
+
readonly alignment: "center" | "left" | "right";
|
|
354
|
+
readonly paddingTop: number;
|
|
355
|
+
readonly paddingBottom: number;
|
|
356
|
+
readonly type: "spacer";
|
|
357
|
+
readonly height: number;
|
|
358
|
+
})[];
|
|
359
|
+
};
|
|
360
|
+
}, never, Html.Elements, {}, "preview">;
|