@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
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { type GoogleMapPoint } from "./map-menu-map.js";
|
|
2
|
-
export declare enum MapMenuMode {
|
|
3
|
-
Point = "point",
|
|
4
|
-
Radius = "radius"
|
|
5
|
-
}
|
|
6
|
-
export declare enum MapMenuPresentation {
|
|
7
|
-
Dialog = "dialog",
|
|
8
|
-
Inline = "inline"
|
|
9
|
-
}
|
|
10
|
-
export type MapMenuPoint = GoogleMapPoint;
|
|
11
|
-
export declare const mapMenuRadiiKm: readonly [1, 2, 5, 10, 20, 40, 50, 60, 80, 100, 250, 500];
|
|
12
|
-
export type MapMenuLocation = {
|
|
13
|
-
id: string;
|
|
14
|
-
label: string;
|
|
15
|
-
title?: string | undefined;
|
|
16
|
-
details?: string | undefined;
|
|
17
|
-
center: MapMenuPoint;
|
|
18
|
-
};
|
|
19
|
-
export type MapMenuMessages = {
|
|
20
|
-
title: string;
|
|
21
|
-
location: string;
|
|
22
|
-
placeholder: string;
|
|
23
|
-
clear: string;
|
|
24
|
-
close: string;
|
|
25
|
-
currentLocation: string;
|
|
26
|
-
searchWithin: string;
|
|
27
|
-
suggestions: string;
|
|
28
|
-
loading: string;
|
|
29
|
-
noResults: string;
|
|
30
|
-
searchHint: string;
|
|
31
|
-
ipNotice: string;
|
|
32
|
-
browserNotice: string;
|
|
33
|
-
radiusHint: string;
|
|
34
|
-
cancel: string;
|
|
35
|
-
confirm: string;
|
|
36
|
-
confirmError: string;
|
|
37
|
-
};
|
|
38
|
-
type MapMenuCommonProps = {
|
|
39
|
-
apiKey: string;
|
|
40
|
-
input: string;
|
|
41
|
-
onInputChange: (input: string) => void;
|
|
42
|
-
selectedLocation: MapMenuLocation | null;
|
|
43
|
-
suggestions: readonly MapMenuLocation[];
|
|
44
|
-
onSelectLocation: (location: MapMenuLocation) => void;
|
|
45
|
-
onUseCurrentLocation?: (() => void) | undefined;
|
|
46
|
-
locating?: boolean | undefined;
|
|
47
|
-
loadingSuggestions?: boolean | undefined;
|
|
48
|
-
suggestionsError?: string | undefined;
|
|
49
|
-
error?: string | undefined;
|
|
50
|
-
provenance?: "ip" | "browser" | undefined;
|
|
51
|
-
overlayColor?: string | undefined;
|
|
52
|
-
className?: string | undefined;
|
|
53
|
-
confirmClassName?: string | undefined;
|
|
54
|
-
locale?: string | undefined;
|
|
55
|
-
messages?: Partial<Record<string, Partial<MapMenuMessages>>> | undefined;
|
|
56
|
-
};
|
|
57
|
-
export type MapMenuProps = MapMenuCommonProps & ({
|
|
58
|
-
presentation?: MapMenuPresentation.Dialog | undefined;
|
|
59
|
-
open: boolean;
|
|
60
|
-
onOpenChange: (open: boolean) => void;
|
|
61
|
-
onCancel?: never;
|
|
62
|
-
} | {
|
|
63
|
-
presentation: MapMenuPresentation.Inline;
|
|
64
|
-
open?: never;
|
|
65
|
-
onOpenChange?: never;
|
|
66
|
-
onCancel: () => void;
|
|
67
|
-
}) & ({
|
|
68
|
-
mode: MapMenuMode.Point;
|
|
69
|
-
radiusKm?: never;
|
|
70
|
-
onRadiusChange?: never;
|
|
71
|
-
radiusOptions?: never;
|
|
72
|
-
onConfirm: (selection: {
|
|
73
|
-
location: MapMenuLocation;
|
|
74
|
-
}) => void | Promise<void>;
|
|
75
|
-
} | {
|
|
76
|
-
mode?: MapMenuMode.Radius | undefined;
|
|
77
|
-
radiusKm: number;
|
|
78
|
-
onRadiusChange: (radiusKm: number) => void;
|
|
79
|
-
radiusOptions?: readonly number[] | undefined;
|
|
80
|
-
onConfirm: (selection: {
|
|
81
|
-
location: MapMenuLocation;
|
|
82
|
-
radiusKm: number;
|
|
83
|
-
}) => void | Promise<void>;
|
|
84
|
-
});
|
|
85
|
-
/** Controlled picker: the host owns lookup, location acquisition and persisted state. */
|
|
86
|
-
export declare const MapMenu: (props: MapMenuProps) => import("react").JSX.Element;
|
|
87
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type ComponentProps } from "react";
|
|
2
|
-
import { type CountryCode } from "libphonenumber-js/max";
|
|
3
|
-
import { Input } from "./input.js";
|
|
4
|
-
export type PhoneNumberDetails = {
|
|
5
|
-
e164: string;
|
|
6
|
-
extension: string | null;
|
|
7
|
-
country: CountryCode | null;
|
|
8
|
-
};
|
|
9
|
-
export declare const normalizePhoneNumber: (value: string, country: CountryCode) => PhoneNumberDetails | null;
|
|
10
|
-
export type PhoneNumberInputProps = Omit<ComponentProps<typeof Input>, "value" | "defaultValue" | "onChange" | "type" | "country"> & {
|
|
11
|
-
value: string;
|
|
12
|
-
country: CountryCode;
|
|
13
|
-
onCountryChange: (country: CountryCode) => void;
|
|
14
|
-
onValueChange: (value: string, details: PhoneNumberDetails | null) => void;
|
|
15
|
-
countries?: readonly CountryCode[];
|
|
16
|
-
locale?: string;
|
|
17
|
-
label?: string;
|
|
18
|
-
withExtension?: boolean;
|
|
19
|
-
containerClassName?: string;
|
|
20
|
-
contentClassName?: string;
|
|
21
|
-
};
|
|
22
|
-
export declare const PhoneNumberInput: ({ value, country, onCountryChange, onValueChange, countries, locale, label, id, onBlur, name, withExtension, onKeyDown, className, containerClassName, contentClassName, ...props }: PhoneNumberInputProps) => import("react").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
import { type CountryCode } from "libphonenumber-js/max";
|
|
3
|
-
/** ITU-T E.164: up to 15 digits, including the country calling code, excluding extensions. */
|
|
4
|
-
export declare const E164DigitsSchema: Schema.String;
|
|
5
|
-
/** Use the parser’s national-prefix normalization when available, even for incomplete/invalid numbers. */
|
|
6
|
-
export declare const getPhoneNumberDigits: (value: string, country: CountryCode) => string;
|
|
7
|
-
export declare const fitsE164DigitLimit: (value: string, country: CountryCode) => boolean;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
// ../../src/lib/krakmotion.ts
|
|
2
|
-
import {
|
|
3
|
-
useEffect,
|
|
4
|
-
useEffectEvent,
|
|
5
|
-
useLayoutEffect,
|
|
6
|
-
useRef,
|
|
7
|
-
useState,
|
|
8
|
-
useSyncExternalStore
|
|
9
|
-
} from "react";
|
|
10
|
-
var useBrowserLayoutEffect = globalThis.window ? useLayoutEffect : useEffect;
|
|
11
|
-
var reducedMotionQuery = "(prefers-reduced-motion: reduce)";
|
|
12
|
-
var subscribeReducedMotion = (notify) => {
|
|
13
|
-
const query = window.matchMedia?.(reducedMotionQuery);
|
|
14
|
-
query?.addEventListener("change", notify);
|
|
15
|
-
return () => query?.removeEventListener("change", notify);
|
|
16
|
-
};
|
|
17
|
-
var useReducedMotion = () => useSyncExternalStore(subscribeReducedMotion, () => window.matchMedia?.(reducedMotionQuery).matches ?? true, () => true);
|
|
18
|
-
var animateElement = (element, frames, duration, complete) => {
|
|
19
|
-
if (duration <= 0 || !element.animate) {
|
|
20
|
-
complete?.();
|
|
21
|
-
return () => {};
|
|
22
|
-
}
|
|
23
|
-
const animation = element.animate(frames, {
|
|
24
|
-
duration,
|
|
25
|
-
easing: "cubic-bezier(0.2, 0, 0, 1)"
|
|
26
|
-
});
|
|
27
|
-
animation.onfinish = () => complete?.();
|
|
28
|
-
return () => {
|
|
29
|
-
animation.onfinish = null;
|
|
30
|
-
animation.cancel();
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
var usePresence = (open, duration) => {
|
|
34
|
-
const ref = useRef(null);
|
|
35
|
-
const [retained, setRetained] = useState(open);
|
|
36
|
-
const reduced = useReducedMotion();
|
|
37
|
-
const lastOpen = useRef(open);
|
|
38
|
-
const transitioning = useRef(false);
|
|
39
|
-
const snapshot = useRef(null);
|
|
40
|
-
if (open && !retained)
|
|
41
|
-
setRetained(true);
|
|
42
|
-
useBrowserLayoutEffect(() => {
|
|
43
|
-
const element = ref.current;
|
|
44
|
-
if (lastOpen.current === open && !transitioning.current)
|
|
45
|
-
return;
|
|
46
|
-
lastOpen.current = open;
|
|
47
|
-
if (!element)
|
|
48
|
-
return;
|
|
49
|
-
transitioning.current = true;
|
|
50
|
-
const from = snapshot.current ?? (open ? { opacity: "0", transform: "translateY(4px)" } : { opacity: "1", transform: "none" });
|
|
51
|
-
snapshot.current = null;
|
|
52
|
-
let settled = false;
|
|
53
|
-
const cancel = animateElement(element, [
|
|
54
|
-
from,
|
|
55
|
-
{ opacity: open ? 1 : 0, transform: open ? "none" : "translateY(4px)" }
|
|
56
|
-
], reduced ? 0 : Math.max(0, duration), () => {
|
|
57
|
-
settled = true;
|
|
58
|
-
transitioning.current = false;
|
|
59
|
-
snapshot.current = null;
|
|
60
|
-
if (!open)
|
|
61
|
-
setRetained(false);
|
|
62
|
-
});
|
|
63
|
-
return () => {
|
|
64
|
-
snapshot.current = settled ? null : {
|
|
65
|
-
opacity: getComputedStyle(element).opacity,
|
|
66
|
-
transform: getComputedStyle(element).transform
|
|
67
|
-
};
|
|
68
|
-
cancel();
|
|
69
|
-
};
|
|
70
|
-
}, [open, retained, duration, reduced]);
|
|
71
|
-
return { ref, mounted: open || retained };
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
// ../../src/components/ui/presence-transition.tsx
|
|
75
|
-
import { jsx } from "react/jsx-runtime";
|
|
76
|
-
var PresenceTransition = ({
|
|
77
|
-
open,
|
|
78
|
-
children,
|
|
79
|
-
duration = 180,
|
|
80
|
-
className
|
|
81
|
-
}) => {
|
|
82
|
-
const { ref, mounted } = usePresence(open, duration);
|
|
83
|
-
return mounted ? /* @__PURE__ */ jsx("div", {
|
|
84
|
-
ref,
|
|
85
|
-
"data-slot": "presence-transition",
|
|
86
|
-
className,
|
|
87
|
-
inert: !open,
|
|
88
|
-
"aria-hidden": !open ? true : undefined,
|
|
89
|
-
children
|
|
90
|
-
}) : null;
|
|
91
|
-
};
|
|
92
|
-
export {
|
|
93
|
-
PresenceTransition
|
|
94
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export type SelectWithCustomInputOption = {
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
input?: {
|
|
6
|
-
label: string;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
required?: boolean;
|
|
9
|
-
maxLength?: number;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export type SelectWithCustomInputValue = {
|
|
13
|
-
option: string;
|
|
14
|
-
customValue?: string;
|
|
15
|
-
};
|
|
16
|
-
export type SelectWithCustomInputProps = {
|
|
17
|
-
label: string;
|
|
18
|
-
options: readonly SelectWithCustomInputOption[];
|
|
19
|
-
value: SelectWithCustomInputValue | null;
|
|
20
|
-
onValueChange: (value: SelectWithCustomInputValue | null) => void;
|
|
21
|
-
name?: string;
|
|
22
|
-
customName?: string;
|
|
23
|
-
required?: boolean;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
readOnly?: boolean;
|
|
26
|
-
placeholder?: string;
|
|
27
|
-
description?: string;
|
|
28
|
-
error?: string;
|
|
29
|
-
locale?: string;
|
|
30
|
-
className?: string;
|
|
31
|
-
triggerClassName?: string;
|
|
32
|
-
contentClassName?: string;
|
|
33
|
-
inputClassName?: string;
|
|
34
|
-
};
|
|
35
|
-
/** Option identifiers and custom text stay separate; the host owns the option catalog. */
|
|
36
|
-
export declare const SelectWithCustomInput: ({ label, options, value, onValueChange, name, customName, required, disabled, readOnly, placeholder, description, error, locale, className, triggerClassName, contentClassName, inputClassName, }: SelectWithCustomInputProps) => import("react").JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type ComponentProps, type ReactNode } from "react";
|
|
2
|
-
import { Card } from "./card.js";
|
|
3
|
-
export declare const StatsCard: ({ title, icon, value, description, children, className, size, valueClassName, }: {
|
|
4
|
-
title: string;
|
|
5
|
-
value: string | number;
|
|
6
|
-
description: string;
|
|
7
|
-
icon: ReactNode;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
size?: ComponentProps<typeof Card>["size"];
|
|
11
|
-
valueClassName?: string;
|
|
12
|
-
}) => import("react").JSX.Element;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { type ComponentProps, type ReactNode } from "react";
|
|
2
|
-
export type StepperStep = {
|
|
3
|
-
id: string;
|
|
4
|
-
label: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
icon?: ReactNode;
|
|
7
|
-
state?: "upcoming" | "completed" | "error";
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
disabledReason?: string;
|
|
10
|
-
};
|
|
11
|
-
export type StepperMessages = {
|
|
12
|
-
label: string;
|
|
13
|
-
progress: (current: number, total: number) => string;
|
|
14
|
-
completed: string;
|
|
15
|
-
error: string;
|
|
16
|
-
};
|
|
17
|
-
export type StepperMessageTranslations = Partial<Record<string, Partial<StepperMessages>>>;
|
|
18
|
-
export type StepperProps = Omit<ComponentProps<"nav">, "children"> & {
|
|
19
|
-
steps: readonly StepperStep[];
|
|
20
|
-
currentStep: string;
|
|
21
|
-
onStepSelect?: (step: StepperStep) => void;
|
|
22
|
-
variant?: "labelled" | "segmented" | "underline";
|
|
23
|
-
orientation?: "horizontal" | "vertical" | "responsive";
|
|
24
|
-
locale?: string;
|
|
25
|
-
messages?: StepperMessageTranslations;
|
|
26
|
-
};
|
|
27
|
-
/** Controlled progress navigation, not a form or workflow engine. */
|
|
28
|
-
export declare const Stepper: ({ steps, currentStep, onStepSelect, variant, orientation, locale: localeOverride, messages, className, "aria-label": ariaLabel, ...props }: StepperProps) => import("react").JSX.Element | null;
|
|
29
|
-
export type StepperContentProps = ComponentProps<"div"> & {
|
|
30
|
-
step: string;
|
|
31
|
-
direction?: "forward" | "backward" | "none";
|
|
32
|
-
animate?: boolean;
|
|
33
|
-
/** Opt in only when the router does not already manage content focus. */
|
|
34
|
-
focusTarget?: string;
|
|
35
|
-
};
|
|
36
|
-
/** Keeps content mounted; callers own field state and route transitions. */
|
|
37
|
-
export declare const StepperContent: ({ step, direction, animate, focusTarget, children, className, ...props }: StepperContentProps) => import("react").JSX.Element;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { type TimePrecision } from "./time-picker.schema.js";
|
|
2
|
-
export { TimeOnlySchema, MinuteStepSchema, getTimePickerState, parseTimeOnly, Time12HourSchema, parse12HourTime, TimeSecondSchema, TimeMillisecondSchema, parseTimeValue, formatTimeValue, type TimePrecision, } from "./time-picker.schema.js";
|
|
3
|
-
export type TimePickerMessages = {
|
|
4
|
-
label: string;
|
|
5
|
-
open: string;
|
|
6
|
-
clear: string;
|
|
7
|
-
hours: string;
|
|
8
|
-
minutes: string;
|
|
9
|
-
seconds: string;
|
|
10
|
-
milliseconds: string;
|
|
11
|
-
period: string;
|
|
12
|
-
done: string;
|
|
13
|
-
invalid: string;
|
|
14
|
-
invalid12: string;
|
|
15
|
-
invalidSecond: string;
|
|
16
|
-
invalidMillisecond: string;
|
|
17
|
-
invalid12Second: string;
|
|
18
|
-
invalid12Millisecond: string;
|
|
19
|
-
outOfRange: string;
|
|
20
|
-
invalidRange: string;
|
|
21
|
-
offStep: string;
|
|
22
|
-
};
|
|
23
|
-
export type TimePickerProps = {
|
|
24
|
-
/** Canonical 24-hour time at the selected precision, or a draft. */
|
|
25
|
-
value: string;
|
|
26
|
-
onValueChange: (value: string) => void;
|
|
27
|
-
min?: string;
|
|
28
|
-
max?: string;
|
|
29
|
-
/** Allowed minute values start at 00 in each hour; integer from 1 to 60. */
|
|
30
|
-
minuteStep?: number;
|
|
31
|
-
/** Defaults to minute; seconds and milliseconds are opt-in. */
|
|
32
|
-
precision?: TimePrecision;
|
|
33
|
-
/** Display and entry format. Values and bounds always use 24-hour time. */
|
|
34
|
-
hourCycle?: 12 | 24;
|
|
35
|
-
label?: string;
|
|
36
|
-
name?: string;
|
|
37
|
-
required?: boolean;
|
|
38
|
-
disabled?: boolean;
|
|
39
|
-
readOnly?: boolean;
|
|
40
|
-
clearable?: boolean;
|
|
41
|
-
description?: string;
|
|
42
|
-
locale?: string;
|
|
43
|
-
messages?: Partial<Record<string, Partial<TimePickerMessages>>>;
|
|
44
|
-
className?: string;
|
|
45
|
-
inputClassName?: string;
|
|
46
|
-
contentClassName?: string;
|
|
47
|
-
columnClassName?: string;
|
|
48
|
-
optionClassName?: string;
|
|
49
|
-
};
|
|
50
|
-
export declare const TimePicker: ({ value, onValueChange, min, max, minuteStep, precision, hourCycle, label, name, required, disabled, readOnly, clearable, description, locale: override, messages, className, inputClassName, contentClassName, columnClassName, optionClassName, }: TimePickerProps) => import("react").JSX.Element;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
/** A wall-clock time, never a date, instant or time zone. */
|
|
3
|
-
export declare const TimeOnlySchema: Schema.String;
|
|
4
|
-
export type TimePrecision = "minute" | "second" | "millisecond";
|
|
5
|
-
export declare const TimeSecondSchema: Schema.String;
|
|
6
|
-
export declare const TimeMillisecondSchema: Schema.String;
|
|
7
|
-
export declare const timePrecisionUnit: (precision: TimePrecision) => 1 | 1000 | 60000;
|
|
8
|
-
/** Milliseconds since midnight; unlike parseTimeOnly, supports explicit precision. */
|
|
9
|
-
export declare const parseTimeValue: (value: string, precision?: TimePrecision) => number | undefined;
|
|
10
|
-
export declare const formatTimeValue: (value: number, precision: TimePrecision) => string;
|
|
11
|
-
export declare const Time12HourSchema: Schema.String;
|
|
12
|
-
/** Convert display text to canonical HH:mm; 12 AM is midnight, 12 PM is noon. */
|
|
13
|
-
export declare const parse12HourTime: (value: string, precision?: TimePrecision) => string | undefined;
|
|
14
|
-
export declare const parseTimeOnly: (value: string) => number | undefined;
|
|
15
|
-
export declare const MinuteStepSchema: Schema.Number;
|
|
16
|
-
export declare const getTimePickerState: ({ value, min, max, minuteStep, precision, }: {
|
|
17
|
-
value: string;
|
|
18
|
-
min?: string;
|
|
19
|
-
max?: string;
|
|
20
|
-
minuteStep?: number;
|
|
21
|
-
precision?: TimePrecision;
|
|
22
|
-
}) => "empty" | "invalid" | "invalid-range" | "off-step" | "out-of-range" | "valid";
|
|
23
|
-
/** At most 1,440 minute buckets, never 86 million millisecond options. */
|
|
24
|
-
export declare const getTimeIntervals: (minimum: number, maximum: number, minuteStep: number, precision: TimePrecision) => {
|
|
25
|
-
start: number;
|
|
26
|
-
end: number;
|
|
27
|
-
minute: number;
|
|
28
|
-
}[];
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { type TimeZoneContinent, type TimeZoneContinentFilter } from "./timezone-select.schema.js";
|
|
2
|
-
export { TimeZoneIdSchema, TimeZoneContinentFilterSchema, isTimeZoneId, } from "./timezone-select.schema.js";
|
|
3
|
-
export type { TimeZoneContinent, TimeZoneContinentFilter, } from "./timezone-select.schema.js";
|
|
4
|
-
export type TimeZoneDetails = {
|
|
5
|
-
timeZone: string;
|
|
6
|
-
name: string;
|
|
7
|
-
offset: string;
|
|
8
|
-
offsetMinutes: number;
|
|
9
|
-
time: string;
|
|
10
|
-
date: string;
|
|
11
|
-
};
|
|
12
|
-
export type TimezoneSelectMessages = {
|
|
13
|
-
label: string;
|
|
14
|
-
placeholder: string;
|
|
15
|
-
search: string;
|
|
16
|
-
empty: string;
|
|
17
|
-
clear: string;
|
|
18
|
-
yourTime: string;
|
|
19
|
-
comparisonTime: string;
|
|
20
|
-
selectedTime: string;
|
|
21
|
-
useLocal: string;
|
|
22
|
-
unavailable: string;
|
|
23
|
-
invalid: string;
|
|
24
|
-
invalidReference: string;
|
|
25
|
-
same: string;
|
|
26
|
-
ahead: (duration: string) => string;
|
|
27
|
-
behind: (duration: string) => string;
|
|
28
|
-
};
|
|
29
|
-
export type TimezoneSelectProps = {
|
|
30
|
-
value: string | null;
|
|
31
|
-
onValueChange: (timeZone: string | null) => void;
|
|
32
|
-
label?: string;
|
|
33
|
-
/** Code-only catalog filter; no continent control is rendered. */
|
|
34
|
-
continent?: TimeZoneContinentFilter;
|
|
35
|
-
/** Omit to detect the browser zone; null disables comparison. */
|
|
36
|
-
comparisonTimeZone?: string | null;
|
|
37
|
-
/** Omit for a live clock; fixed instants make DST comparisons reproducible. */
|
|
38
|
-
referenceTime?: Date;
|
|
39
|
-
name?: string;
|
|
40
|
-
disabled?: boolean;
|
|
41
|
-
className?: string;
|
|
42
|
-
contentClassName?: string;
|
|
43
|
-
locale?: string;
|
|
44
|
-
messages?: Partial<Record<string, Partial<TimezoneSelectMessages>>>;
|
|
45
|
-
};
|
|
46
|
-
/** Location-based continent groups. UTC and fixed-offset zones belong to All. */
|
|
47
|
-
export declare const getTimeZoneContinent: (timeZone: string) => TimeZoneContinent | null;
|
|
48
|
-
/** Primary runtime IANA zones, UTC and supported fixed-offset Etc zones; no duplicate alias catalog. */
|
|
49
|
-
export declare const getTimeZones: (additional?: readonly string[]) => string[];
|
|
50
|
-
/** The browser supplies these parts; no locale-dependent date-string parsing. */
|
|
51
|
-
export declare const getTimeZoneDetails: ({ timeZone, at, locale, }: {
|
|
52
|
-
timeZone: string;
|
|
53
|
-
at: Date;
|
|
54
|
-
locale?: string;
|
|
55
|
-
}) => TimeZoneDetails | undefined;
|
|
56
|
-
/** Adds time-zone semantics to the existing combobox; owns no generic picker behavior. */
|
|
57
|
-
export declare const TimezoneSelect: ({ value, onValueChange, label, continent, comparisonTimeZone, referenceTime, name, disabled, className, contentClassName, locale: override, messages, }: TimezoneSelectProps) => import("react").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
export declare const TimeZoneIdSchema: Schema.NonEmptyString;
|
|
3
|
-
export declare const TimeZoneReferenceDateSchema: Schema.Date;
|
|
4
|
-
export declare const isTimeZoneId: <I>(input: I) => input is I & string;
|
|
5
|
-
export declare const isTimeZoneReferenceDate: <I>(input: I) => input is I & Date;
|
|
6
|
-
export declare const TimeZoneContinentFilterSchema: Schema.Literals<readonly ["all", "north-america", "south-america", "europe", "africa", "asia", "oceania", "antarctica"]>;
|
|
7
|
-
export type TimeZoneContinentFilter = typeof TimeZoneContinentFilterSchema.Type;
|
|
8
|
-
export type TimeZoneContinent = Exclude<TimeZoneContinentFilter, "all">;
|
|
9
|
-
export declare const isTimeZoneContinentFilter: <I>(input: I) => input is I & ("africa" | "all" | "antarctica" | "asia" | "europe" | "north-america" | "oceania" | "south-america");
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Toast as ToastPrimitive } from "@base-ui/react/toast";
|
|
2
|
-
import type { ComponentProps } from "react";
|
|
3
|
-
export declare const useToast: typeof ToastPrimitive.useToastManager;
|
|
4
|
-
export declare const createToastManager: typeof ToastPrimitive.createToastManager;
|
|
5
|
-
export type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
6
|
-
export type ToastMessages = {
|
|
7
|
-
notifications: string;
|
|
8
|
-
dismiss: string;
|
|
9
|
-
};
|
|
10
|
-
export type ToastClassNames = Partial<Record<"viewport" | "toast" | "content" | "icon" | "body" | "title" | "description" | "action" | "close", string>>;
|
|
11
|
-
export type ToastProviderProps = ComponentProps<typeof ToastPrimitive.Provider> & {
|
|
12
|
-
position?: ToastPosition;
|
|
13
|
-
locale?: string;
|
|
14
|
-
messages?: Partial<Record<string, Partial<ToastMessages>>>;
|
|
15
|
-
classNames?: ToastClassNames;
|
|
16
|
-
};
|
|
17
|
-
/** Mount once around a client application or a deliberately isolated subtree. */
|
|
18
|
-
export declare const ToastProvider: ({ children, position, locale, messages, classNames, ...props }: ToastProviderProps) => import("react").JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type UnsavedChangesGuardMessages = {
|
|
2
|
-
title: string;
|
|
3
|
-
description: string;
|
|
4
|
-
stay: string;
|
|
5
|
-
leave: string;
|
|
6
|
-
};
|
|
7
|
-
export type UnsavedChangesGuardProps = {
|
|
8
|
-
dirty: boolean;
|
|
9
|
-
enabled?: boolean;
|
|
10
|
-
protectBeforeUnload?: boolean;
|
|
11
|
-
locale?: string;
|
|
12
|
-
messages?: Partial<Record<string, Partial<UnsavedChangesGuardMessages>>>;
|
|
13
|
-
className?: string;
|
|
14
|
-
};
|
|
15
|
-
/** Mount once per editing route, inside a TanStack Router provider. */
|
|
16
|
-
export declare const UnsavedChangesGuard: ({ dirty, enabled, protectBeforeUnload, locale: override, messages, className, }: UnsavedChangesGuardProps) => import("react").JSX.Element;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export type UploadAttachmentState = {
|
|
2
|
-
status: "idle";
|
|
3
|
-
} | {
|
|
4
|
-
status: "uploading";
|
|
5
|
-
progress?: number;
|
|
6
|
-
} | {
|
|
7
|
-
status: "processing";
|
|
8
|
-
} | {
|
|
9
|
-
status: "done";
|
|
10
|
-
} | {
|
|
11
|
-
status: "cancelled";
|
|
12
|
-
} | {
|
|
13
|
-
status: "error";
|
|
14
|
-
message: string;
|
|
15
|
-
};
|
|
16
|
-
export type UploadAttachmentMessages = {
|
|
17
|
-
idle: string;
|
|
18
|
-
uploading: string;
|
|
19
|
-
processing: string;
|
|
20
|
-
done: string;
|
|
21
|
-
cancelled: string;
|
|
22
|
-
cancel: string;
|
|
23
|
-
retry: string;
|
|
24
|
-
remove: string;
|
|
25
|
-
};
|
|
26
|
-
export type UploadAttachmentProps = {
|
|
27
|
-
name: string;
|
|
28
|
-
description?: string;
|
|
29
|
-
state: UploadAttachmentState;
|
|
30
|
-
disabled?: boolean;
|
|
31
|
-
onCancel?: () => void;
|
|
32
|
-
onRetry?: () => void;
|
|
33
|
-
onRemove?: () => void;
|
|
34
|
-
className?: string;
|
|
35
|
-
locale?: string;
|
|
36
|
-
messages?: Partial<Record<string, Partial<UploadAttachmentMessages>>>;
|
|
37
|
-
};
|
|
38
|
-
/** Controlled presentation. The host owns transport, cancellation and retry policy. */
|
|
39
|
-
export declare const UploadAttachment: ({ name, description, state, disabled, onCancel, onRetry, onRemove, className, locale: override, messages, }: UploadAttachmentProps) => import("react").JSX.Element;
|