@tempots/beatui 0.87.3 → 0.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ar-DjMvIww5.js → ar-MUKILk4c.js} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +1 -1
- package/dist/{auth-divider-V_Se6Qhe.cjs → auth-divider-Cj-xJxF_.cjs} +1 -1
- package/dist/{auth-divider-BIefTDoO.js → auth-divider-DvVmqjnk.js} +101 -103
- package/dist/beatui.css +732 -671
- package/dist/beatui.tailwind.css +714 -662
- package/dist/better-auth/index.cjs.js +1 -1
- package/dist/better-auth/index.es.js +12 -12
- package/dist/{colors-BmLYKmoH.js → colors-BY0Ja_bf.js} +12 -12
- package/dist/{de-wChFYqM4.js → de-CEsW1rVX.js} +1 -1
- package/dist/deep-merge-Dgy9xj6w.cjs +1 -0
- package/dist/{deep-merge-BRqRzEQs.js → deep-merge-OvVqSLSN.js} +443 -429
- package/dist/{duration-input-BDEb1Bb7.js → duration-input-BCXujp0V.js} +5 -5
- package/dist/{duration-input-BtFL5Vjx.cjs → duration-input-MJz6UO6E.cjs} +1 -1
- package/dist/{editor-toolbar-group-CwCCGzEC.js → editor-toolbar-group-Cnta0SOa.js} +6 -3
- package/dist/{es-CmPF3IGl.js → es-ChP-aFwC.js} +1 -1
- package/dist/{fa-D696e75R.js → fa-CNsrlIqh.js} +1 -1
- package/dist/{fr-B0jeX1Hx.js → fr-DgEFKpML.js} +1 -1
- package/dist/{he-SgAsIYJA.js → he-B4TqfISZ.js} +1 -1
- package/dist/{hi-s9oiIihq.js → hi-TSoDsngT.js} +1 -1
- package/dist/{index-KNk3k6NI.js → index-1JaBwDB-.js} +1 -1
- package/dist/index-B8cqD9ny.js +838 -0
- package/dist/index-CN10Cyqr.cjs +1 -0
- package/dist/{index-yMrXbIdg.cjs → index-CTcbhnPw.cjs} +1 -1
- package/dist/{index-CaWDj1Vg.cjs → index-D3QVPAme.cjs} +10 -10
- package/dist/{index-qa82MK4Z.cjs → index-D4ZFV8Rs.cjs} +1 -1
- package/dist/{index-anrXec7K.cjs → index-DF7RFzD9.cjs} +1 -1
- package/dist/{index-B0t-nt7i.js → index-DOc1_-Nm.js} +4 -4
- package/dist/{index-DdqGL9Jk.js → index-D_aTUfqS.js} +701 -684
- package/dist/{index-BFe-x3-z.js → index-DfPkCwdC.js} +2 -2
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +2285 -2260
- package/dist/{index.esm-ChUrm4xR.js → index.esm-By0m3ki1.js} +3 -3
- package/dist/{input-container-DhUiLmXE.js → input-container-BBWCDGTv.js} +1 -1
- package/dist/{it-Dc4IMciD.js → it-BrbebXg4.js} +1 -1
- package/dist/{ja-D2t2g5xj.js → ja-DcfOktrV.js} +1 -1
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +97 -103
- package/dist/json-schema-display/index.cjs.js +1 -1
- package/dist/json-schema-display/index.es.js +15 -15
- package/dist/json-structure/index.cjs.js +1 -1
- package/dist/json-structure/index.es.js +349 -351
- package/dist/{ko-BRylA5JZ.js → ko-73e6t369.js} +1 -1
- package/dist/lexical/index.cjs.js +5 -12
- package/dist/lexical/index.es.js +57 -87
- package/dist/lexical.css +24 -23
- package/dist/markdown/index.cjs.js +1 -1
- package/dist/markdown/index.es.js +1 -1
- package/dist/markdown.css +7 -7
- package/dist/{menu-Ui4lUPHM.js → menu-CV85y3Xf.js} +1 -1
- package/dist/{modal-Dkje8L_l.js → modal-BBJWY7NB.js} +5 -5
- package/dist/{modal-Coenk8Fy.cjs → modal-jJMS0ZlW.cjs} +1 -1
- package/dist/monaco/index.es.js +1 -1
- package/dist/{nl-Dh7LUWAn.js → nl-Bq-1-ulc.js} +1 -1
- package/dist/notice-9lpZ-VDn.cjs +1 -0
- package/dist/{notice-BmkckDsD.js → notice-AUVH8Lho.js} +26 -28
- package/dist/{oneof-branch-detection-BED_n2MT.js → oneof-branch-detection-BQnRjp9P.js} +1740 -1734
- package/dist/{oneof-branch-detection-Vov_e3kI.cjs → oneof-branch-detection-BsGhMslW.cjs} +6 -6
- package/dist/{pl-XEG-p1Q9.js → pl-Du9-VCfW.js} +1 -1
- package/dist/prosemirror/index.cjs.js +1 -1
- package/dist/prosemirror/index.es.js +1 -1
- package/dist/prosemirror.css +7 -7
- package/dist/{pt-DYsDA2sZ.js → pt-B2UqqSAB.js} +1 -1
- package/dist/{ru-BTKBykp-.js → ru-DiWa2inw.js} +1 -1
- package/dist/stack-4VUGISn6.cjs +1 -0
- package/dist/{stack-BJgsPJ9A.js → stack-Bm-UZosx.js} +145 -139
- package/dist/styles-url-4g2WnNJ8.js +4 -0
- package/dist/{styles-url-DZhZ-9Bf.js → styles-url-CJYy5nML.js} +1 -1
- package/dist/{styles-url-YAJ6Q1GS.cjs → styles-url-D8nVwSmZ.cjs} +1 -1
- package/dist/{styles-url-BSUFsmMD.cjs → styles-url-evUdl8tK.cjs} +1 -1
- package/dist/{styles-url-BvcVGpBJ.js → styles-url-hKxIOumK.js} +1 -1
- package/dist/styles-url-mlDYoWbF.cjs +1 -0
- package/dist/tailwind/preset.cjs.js +1 -1
- package/dist/tailwind/preset.es.js +2 -2
- package/dist/tailwind/vite-plugin.cjs.js +1 -1
- package/dist/tailwind/vite-plugin.es.js +1 -1
- package/dist/{text-input-BZmAB3_o.js → text-input-6FD7p7hN.js} +5 -5
- package/dist/{theme-BzpMLdvH.js → theme-kQZEeusG.js} +4 -4
- package/dist/{toolbar-Pdj-F80l.js → toolbar-Cr0JGj5h.js} +1 -1
- package/dist/{tr-Cp8ZCUic.js → tr-Culcm2Zb.js} +1 -1
- package/dist/{translations-jUYta1_1.js → translations-Cttn6w0G.js} +1 -1
- package/dist/{translations-BGblCUBj.js → translations-uEUkO6gJ.js} +30 -30
- package/dist/types/auth-i18n/translations.d.ts +2 -2
- package/dist/types/beatui-i18n/translations.d.ts +2 -2
- package/dist/types/better-auth/components/authenticated.d.ts +2 -2
- package/dist/types/better-auth/components/better-auth-container.d.ts +1 -1
- package/dist/types/better-auth/i18n/translations.d.ts +2 -2
- package/dist/types/better-auth/provider.d.ts +2 -2
- package/dist/types/components/auth/auth-container.d.ts +1 -1
- package/dist/types/components/auth/auth-email-prop.d.ts +1 -1
- package/dist/types/components/beatui.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/content/native-pdf-preview.d.ts +1 -1
- package/dist/types/components/content/pdfjs-preview.d.ts +1 -1
- package/dist/types/components/data/icon.d.ts +1 -1
- package/dist/types/components/data/page-drop-zone.d.ts +1 -1
- package/dist/types/components/data/unstyled-drop-zone.d.ts +1 -1
- package/dist/types/components/editor-toolbar/editor-toolbar-button.d.ts +1 -1
- package/dist/types/components/editor-toolbar/editor-toolbar-group.d.ts +1 -1
- package/dist/types/components/form/control/control.d.ts +2 -2
- package/dist/types/components/form/control/ensure-control.d.ts +1 -1
- package/dist/types/components/form/control/list-control.d.ts +1 -1
- package/dist/types/components/form/controller/color-controller.d.ts +4 -4
- package/dist/types/components/form/input/appearance-selector.d.ts +2 -2
- package/dist/types/components/form/input/base64-input.d.ts +1 -1
- package/dist/types/components/form/input/base64s-input.d.ts +1 -1
- package/dist/types/components/form/input/combobox-tags-input.d.ts +1 -1
- package/dist/types/components/form/input/email-input.d.ts +1 -1
- package/dist/types/components/form/input/file-input.d.ts +1 -1
- package/dist/types/components/form/input/files-input.d.ts +1 -1
- package/dist/types/components/form/input/input-options.d.ts +1 -1
- package/dist/types/components/form/input/list-input.d.ts +1 -1
- package/dist/types/components/form/input/nullable-base64-input.d.ts +1 -1
- package/dist/types/components/form/input/nullable-plain-date-input.d.ts +12 -12
- package/dist/types/components/form/input/nullable-plain-date-time-input.d.ts +12 -12
- package/dist/types/components/form/input/nullable-plain-time-input.d.ts +12 -12
- package/dist/types/components/form/input/nullable-plain-year-month-input.d.ts +12 -12
- package/dist/types/components/form/input/password-input.d.ts +1 -1
- package/dist/types/components/form/input/plain-date-input.d.ts +12 -12
- package/dist/types/components/form/input/plain-date-time-input.d.ts +12 -12
- package/dist/types/components/form/input/plain-time-input.d.ts +12 -12
- package/dist/types/components/form/input/plain-year-month-input.d.ts +12 -12
- package/dist/types/components/form/input/select-tags-input.d.ts +3 -3
- package/dist/types/components/form/input/step-utils.d.ts +5 -0
- package/dist/types/components/form/use-form.d.ts +3 -3
- package/dist/types/components/i18n/locale-direction.d.ts +1 -1
- package/dist/types/components/i18n/locale-selector.d.ts +1 -1
- package/dist/types/components/i18n/locale.d.ts +1 -1
- package/dist/types/components/i18n/make-i18nprovider.d.ts +2 -2
- package/dist/types/components/layout/app-shell.d.ts +1 -1
- package/dist/types/components/lexical/code/language-selector.d.ts +1 -1
- package/dist/types/components/lexical/floating/block-handle.d.ts +1 -1
- package/dist/types/components/lexical/floating/floating-toolbar.d.ts +1 -1
- package/dist/types/components/lexical/floating/slash-command-palette.d.ts +1 -1
- package/dist/types/components/lexical/table/table-controls.d.ts +1 -1
- package/dist/types/components/lexical/toolbar/lexical-toolbar.d.ts +1 -1
- package/dist/types/components/lexical/toolbar/toolbar-helpers.d.ts +2 -2
- package/dist/types/components/media/pdf-page-viewer.d.ts +1 -1
- package/dist/types/components/misc/notification-provider.d.ts +2 -2
- package/dist/types/components/navigation/link/button-link.d.ts +1 -1
- package/dist/types/components/navigation/link/link.d.ts +1 -1
- package/dist/types/components/navigation/link/navigation-link.d.ts +1 -1
- package/dist/types/components/navigation/pagination.d.ts +1 -1
- package/dist/types/components/navigation/sidebar/sidebar.d.ts +2 -2
- package/dist/types/components/navigation/toolbar/toolbar.d.ts +1 -1
- package/dist/types/components/prosemirror/link-control.d.ts +1 -1
- package/dist/types/components/prosemirror/prosemirror-toolbar.d.ts +1 -1
- package/dist/types/components/prosemirror/utils.d.ts +2 -2
- package/dist/types/components/theme/theme.d.ts +2 -2
- package/dist/types/i18n/translate.d.ts +1 -1
- package/dist/types/tailwind/preset.d.ts +1 -1
- package/dist/types/tailwind/vite-plugin.d.ts +1 -1
- package/dist/types/tokens/borders.d.ts +104 -0
- package/dist/types/tokens/controls.d.ts +127 -0
- package/dist/types/tokens/index.d.ts +2 -0
- package/dist/types/tokens/radius.d.ts +14 -14
- package/dist/types/tokens/typography.d.ts +33 -33
- package/dist/types/utils/delay-signal.d.ts +1 -1
- package/dist/types/utils/use-animated-toggle.d.ts +22 -22
- package/dist/{ur-DkIYJxsF.js → ur-Deb-uH6b.js} +1 -1
- package/dist/{use-animated-toggle-89fKlXxy.js → use-animated-toggle-C7PTmnZi.js} +7 -7
- package/dist/{use-form-B_mCauP0.cjs → use-form-i97PToWB.cjs} +1 -1
- package/dist/{use-form-BSvvERhX.js → use-form-lg6-7Brc.js} +14 -13
- package/dist/{vi-DKw6PBja.js → vi-CUsCVh3n.js} +1 -1
- package/dist/widget-customization-BLvD4Lqt.cjs +1 -0
- package/dist/{widget-customization-DFr3ycD7.js → widget-customization-CDD72zYs.js} +29 -29
- package/dist/{zh-CaKHseXJ.js → zh-Dil2Jft8.js} +1 -1
- package/package.json +35 -31
- package/dist/deep-merge-CvN7Xvd1.cjs +0 -1
- package/dist/index-BywbRDsb.cjs +0 -1
- package/dist/index-D2_J_-XS.js +0 -671
- package/dist/notice-DMK7dx9a.cjs +0 -1
- package/dist/stack-DcZ_u50f.cjs +0 -1
- package/dist/styles-url-CCopc5pG.js +0 -4
- package/dist/styles-url-CEDSZTyZ.cjs +0 -1
- package/dist/widget-customization-BASfRpF7.cjs +0 -1
|
@@ -13,4 +13,4 @@ export interface EditorToolbarButtonOptions {
|
|
|
13
13
|
* A reusable toolbar button component for rich text editors.
|
|
14
14
|
* Used by both Lexical and ProseMirror editor toolbars.
|
|
15
15
|
*/
|
|
16
|
-
export declare function EditorToolbarButton(options: EditorToolbarButtonOptions): import("@tempots/dom").
|
|
16
|
+
export declare function EditorToolbarButton(options: EditorToolbarButtonOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -6,4 +6,4 @@ import { Signal, TNode } from '@tempots/dom';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare function EditorToolbarGroup({ display, }: {
|
|
8
8
|
display: Signal<boolean>[];
|
|
9
|
-
}, ...children: TNode[]): import("@tempots/dom").
|
|
9
|
+
}, ...children: TNode[]): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -86,7 +86,7 @@ export type MappedControllerOptions<T, U, O extends BaseControlOptions> = Merge<
|
|
|
86
86
|
* })
|
|
87
87
|
* ```
|
|
88
88
|
*/
|
|
89
|
-
export declare function BaseControl<T, O extends BaseControlOptions>(InputComponent: (options: O) => TNode, options: BaseControllerOptions<T, O>):
|
|
89
|
+
export declare function BaseControl<T, O extends BaseControlOptions>(InputComponent: (options: O) => TNode, options: BaseControllerOptions<T, O>): TNode;
|
|
90
90
|
/**
|
|
91
91
|
* Connects an input component to a controller with a wrapper that provides label, error display, and layout.
|
|
92
92
|
* Automatically binds the controller's value, disabled state, error state, and event handlers.
|
|
@@ -145,7 +145,7 @@ export declare function Control<T, O extends BaseControlOptions>(InputComponent:
|
|
|
145
145
|
* })
|
|
146
146
|
* ```
|
|
147
147
|
*/
|
|
148
|
-
export declare function BaseMappedControl<T, U, O extends BaseControlOptions>(InputComponent: (options: O) => TNode, options: MappedControllerOptions<T, U, O>):
|
|
148
|
+
export declare function BaseMappedControl<T, U, O extends BaseControlOptions>(InputComponent: (options: O) => TNode, options: MappedControllerOptions<T, U, O>): TNode;
|
|
149
149
|
/**
|
|
150
150
|
* Connects an input component to a controller with bidirectional value transformation and a wrapper.
|
|
151
151
|
* Combines value transformation with label, error display, and layout features.
|
|
@@ -28,4 +28,4 @@ import { Controller } from '../controller/controller';
|
|
|
28
28
|
* )
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
|
-
export declare function EnsureControl<T>(controller: Controller<T | null | undefined> | Controller<T | null> | Controller<T | undefined>, then: (controller: Controller<NonNullable<T>>) => TNode, otherwise?: () => TNode): import("@tempots/dom").
|
|
31
|
+
export declare function EnsureControl<T>(controller: Controller<T | null | undefined> | Controller<T | null> | Controller<T | undefined>, then: (controller: Controller<NonNullable<T>>) => TNode, otherwise?: () => TNode): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -90,7 +90,7 @@ export type ListControlOptions<T> = Merge<Omit<InputWrapperOptions, 'content'>,
|
|
|
90
90
|
* })
|
|
91
91
|
* ```
|
|
92
92
|
*/
|
|
93
|
-
export declare const BaseListControl: <T>(options: BaseListControlOptions<T>) => import("@tempots/
|
|
93
|
+
export declare const BaseListControl: <T>(options: BaseListControlOptions<T>) => import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
94
94
|
/**
|
|
95
95
|
* Renders a list of items with move, remove, and add controls inside an InputWrapper.
|
|
96
96
|
*
|
|
@@ -40,15 +40,15 @@ export declare class ColorController extends Controller<string> {
|
|
|
40
40
|
/**
|
|
41
41
|
* Validates that the current value is a valid color
|
|
42
42
|
*/
|
|
43
|
-
readonly isValidColor: import("@tempots/
|
|
43
|
+
readonly isValidColor: import("@tempots/core").Computed<boolean>;
|
|
44
44
|
/**
|
|
45
45
|
* Validates that the current value is a valid hex color
|
|
46
46
|
*/
|
|
47
|
-
readonly isValidHex: import("@tempots/
|
|
47
|
+
readonly isValidHex: import("@tempots/core").Computed<boolean>;
|
|
48
48
|
/**
|
|
49
49
|
* Gets the normalized hex color (always 6 characters with # prefix)
|
|
50
50
|
*/
|
|
51
|
-
readonly normalizedHex: import("@tempots/
|
|
51
|
+
readonly normalizedHex: import("@tempots/core").Computed<string>;
|
|
52
52
|
/**
|
|
53
53
|
* Sets the color value with automatic normalization for hex colors
|
|
54
54
|
* @param color - The color value to set
|
|
@@ -96,7 +96,7 @@ export declare function createColorController(controller: Controller<string>): C
|
|
|
96
96
|
export declare function colorInputOptionsFromController(controller: ColorController): {
|
|
97
97
|
id: string;
|
|
98
98
|
disabled: Signal<boolean>;
|
|
99
|
-
value: import("@tempots/
|
|
99
|
+
value: import("@tempots/core").Computed<string>;
|
|
100
100
|
hasError: Signal<boolean>;
|
|
101
101
|
onChange: (color: string) => void;
|
|
102
102
|
onInput: (color: string) => void;
|
|
@@ -31,7 +31,7 @@ export type AppearanceSelectorOptions = {
|
|
|
31
31
|
* })
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
|
-
export declare function AppearanceSelector({ value, onChange, disabled, }: AppearanceSelectorOptions): import("@tempots/dom").
|
|
34
|
+
export declare function AppearanceSelector({ value, onChange, disabled, }: AppearanceSelectorOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
35
35
|
/**
|
|
36
36
|
* A standalone appearance selector that automatically connects to the application's
|
|
37
37
|
* {@link Theme} provider. Reads and writes the appearance preference from the
|
|
@@ -45,4 +45,4 @@ export declare function AppearanceSelector({ value, onChange, disabled, }: Appea
|
|
|
45
45
|
* StandaloneAppearanceSelector()
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
48
|
-
export declare function StandaloneAppearanceSelector(): import("@tempots/dom").
|
|
48
|
+
export declare function StandaloneAppearanceSelector(): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -41,4 +41,4 @@ export type Base64InputOptions = Merge<InputOptions<string | undefined>, {
|
|
|
41
41
|
* })
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
|
-
export declare function Base64Input(options: Base64InputOptions): import("@tempots/dom").
|
|
44
|
+
export declare function Base64Input(options: Base64InputOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -56,4 +56,4 @@ export declare function fileToBase64(file: File): Promise<string>;
|
|
|
56
56
|
* })
|
|
57
57
|
* ```
|
|
58
58
|
*/
|
|
59
|
-
export declare function Base64sInput(options: Base64sInputOptions): import("@tempots/dom").
|
|
59
|
+
export declare function Base64sInput(options: Base64sInputOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -59,7 +59,7 @@ export declare function ComboboxTagsInput<T>(options: ComboboxTagsOptions<T>): R
|
|
|
59
59
|
* @param options - Base controller options for the combobox tags control.
|
|
60
60
|
* @returns A renderable form control component.
|
|
61
61
|
*/
|
|
62
|
-
export declare function BaseComboboxTagsControl<T>(options: BaseControllerOptions<T[], ComboboxTagsOptions<T>>):
|
|
62
|
+
export declare function BaseComboboxTagsControl<T>(options: BaseControllerOptions<T[], ComboboxTagsOptions<T>>): import("@tempots/dom").TNode;
|
|
63
63
|
/**
|
|
64
64
|
* A full form control wrapper for {@link ComboboxTagsInput} with label, error, and description support.
|
|
65
65
|
*
|
|
@@ -33,4 +33,4 @@ import { InputOptions } from './input-options';
|
|
|
33
33
|
* })
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
|
-
export declare const EmailInput: (options: InputOptions<string>) => import("@tempots/dom").
|
|
36
|
+
export declare const EmailInput: (options: InputOptions<string>) => import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -41,4 +41,4 @@ export type FileInputOptions = Merge<InputOptions<File | undefined>, {
|
|
|
41
41
|
* })
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
|
-
export declare const FileInput: (options: FileInputOptions) => import("@tempots/dom").
|
|
44
|
+
export declare const FileInput: (options: FileInputOptions) => import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -53,4 +53,4 @@ export type FilesInputOptions = Merge<InputOptions<File[]>, {
|
|
|
53
53
|
* })
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
|
-
export declare const FilesInput: (options: FilesInputOptions, ...children: TNode[]) => import("@tempots/dom").
|
|
56
|
+
export declare const FilesInput: (options: FilesInputOptions, ...children: TNode[]) => import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -118,4 +118,4 @@ export type InputOptions<V> = Merge<CommonInputOptions, {
|
|
|
118
118
|
* )
|
|
119
119
|
* ```
|
|
120
120
|
*/
|
|
121
|
-
export declare const CommonInputAttributes: ({ autocomplete, autofocus, classes, disabled, name, placeholder, id, required, tabIndex, hasError, }: CommonInputOptions) => import("@tempots/
|
|
121
|
+
export declare const CommonInputAttributes: ({ autocomplete, autofocus, classes, disabled, name, placeholder, id, required, tabIndex, hasError, }: CommonInputOptions) => import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -61,4 +61,4 @@ export type MovableDirection = 'up' | 'down';
|
|
|
61
61
|
* )
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
export declare function ListInput<T>(controller: ArrayController<T[]>, element: (payload: ListInputPayload<T>) => TNode, separator?: (pos: ElementPosition) => TNode): import("@tempots/
|
|
64
|
+
export declare function ListInput<T>(controller: ArrayController<T[]>, element: (payload: ListInputPayload<T>) => TNode, separator?: (pos: ElementPosition) => TNode): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -30,4 +30,4 @@ export type NullableBase64InputOptions = Omit<Base64InputOptions, 'value' | 'onC
|
|
|
30
30
|
* })
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
export declare const NullableBase64Input: (options: NullableBase64InputOptions) => import("@tempots/dom").
|
|
33
|
+
export declare const NullableBase64Input: (options: NullableBase64InputOptions) => import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare const NullablePlainDateInput: (options: {
|
|
20
|
-
autocomplete?: import("@tempots/
|
|
21
|
-
autofocus?: import("@tempots/
|
|
22
|
-
class?: import("@tempots/
|
|
20
|
+
autocomplete?: import("@tempots/core").Value<string> | undefined;
|
|
21
|
+
autofocus?: import("@tempots/core").Value<boolean> | undefined;
|
|
22
|
+
class?: import("@tempots/core").Value<string> | undefined;
|
|
23
23
|
classes?: import("./input-options").InputClasses | undefined;
|
|
24
|
-
disabled?: import("@tempots/
|
|
25
|
-
hasError?: import("@tempots/
|
|
26
|
-
name?: import("@tempots/
|
|
27
|
-
placeholder?: import("@tempots/
|
|
28
|
-
id?: import("@tempots/
|
|
29
|
-
required?: import("@tempots/
|
|
30
|
-
tabIndex?: import("@tempots/
|
|
31
|
-
size?: import("@tempots/
|
|
32
|
-
value: import("@tempots/
|
|
24
|
+
disabled?: import("@tempots/core").Value<boolean> | undefined;
|
|
25
|
+
hasError?: import("@tempots/core").Value<boolean> | undefined;
|
|
26
|
+
name?: import("@tempots/core").Value<string> | undefined;
|
|
27
|
+
placeholder?: import("@tempots/core").Value<string> | undefined;
|
|
28
|
+
id?: import("@tempots/core").Value<string> | undefined;
|
|
29
|
+
required?: import("@tempots/core").Value<boolean> | undefined;
|
|
30
|
+
tabIndex?: import("@tempots/core").Value<number> | undefined;
|
|
31
|
+
size?: import("@tempots/core").Value<import("../../theme").ControlSize> | undefined;
|
|
32
|
+
value: import("@tempots/core").Value<import("@js-temporal/polyfill").Temporal.PlainDate | null>;
|
|
33
33
|
before?: import("@tempots/dom").TNode;
|
|
34
34
|
after?: import("@tempots/dom").TNode;
|
|
35
35
|
onChange?: ((value: import("@js-temporal/polyfill").Temporal.PlainDate | null) => void) | undefined;
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare const NullablePlainDateTimeInput: (options: {
|
|
20
|
-
autocomplete?: import("@tempots/
|
|
21
|
-
autofocus?: import("@tempots/
|
|
22
|
-
class?: import("@tempots/
|
|
20
|
+
autocomplete?: import("@tempots/core").Value<string> | undefined;
|
|
21
|
+
autofocus?: import("@tempots/core").Value<boolean> | undefined;
|
|
22
|
+
class?: import("@tempots/core").Value<string> | undefined;
|
|
23
23
|
classes?: import("./input-options").InputClasses | undefined;
|
|
24
|
-
disabled?: import("@tempots/
|
|
25
|
-
hasError?: import("@tempots/
|
|
26
|
-
name?: import("@tempots/
|
|
27
|
-
placeholder?: import("@tempots/
|
|
28
|
-
id?: import("@tempots/
|
|
29
|
-
required?: import("@tempots/
|
|
30
|
-
tabIndex?: import("@tempots/
|
|
31
|
-
size?: import("@tempots/
|
|
32
|
-
value: import("@tempots/
|
|
24
|
+
disabled?: import("@tempots/core").Value<boolean> | undefined;
|
|
25
|
+
hasError?: import("@tempots/core").Value<boolean> | undefined;
|
|
26
|
+
name?: import("@tempots/core").Value<string> | undefined;
|
|
27
|
+
placeholder?: import("@tempots/core").Value<string> | undefined;
|
|
28
|
+
id?: import("@tempots/core").Value<string> | undefined;
|
|
29
|
+
required?: import("@tempots/core").Value<boolean> | undefined;
|
|
30
|
+
tabIndex?: import("@tempots/core").Value<number> | undefined;
|
|
31
|
+
size?: import("@tempots/core").Value<import("../../theme").ControlSize> | undefined;
|
|
32
|
+
value: import("@tempots/core").Value<import("@js-temporal/polyfill").Temporal.PlainDateTime | null>;
|
|
33
33
|
before?: import("@tempots/dom").TNode;
|
|
34
34
|
after?: import("@tempots/dom").TNode;
|
|
35
35
|
onChange?: ((value: import("@js-temporal/polyfill").Temporal.PlainDateTime | null) => void) | undefined;
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare const NullablePlainTimeInput: (options: {
|
|
20
|
-
autocomplete?: import("@tempots/
|
|
21
|
-
autofocus?: import("@tempots/
|
|
22
|
-
class?: import("@tempots/
|
|
20
|
+
autocomplete?: import("@tempots/core").Value<string> | undefined;
|
|
21
|
+
autofocus?: import("@tempots/core").Value<boolean> | undefined;
|
|
22
|
+
class?: import("@tempots/core").Value<string> | undefined;
|
|
23
23
|
classes?: import("./input-options").InputClasses | undefined;
|
|
24
|
-
disabled?: import("@tempots/
|
|
25
|
-
hasError?: import("@tempots/
|
|
26
|
-
name?: import("@tempots/
|
|
27
|
-
placeholder?: import("@tempots/
|
|
28
|
-
id?: import("@tempots/
|
|
29
|
-
required?: import("@tempots/
|
|
30
|
-
tabIndex?: import("@tempots/
|
|
31
|
-
size?: import("@tempots/
|
|
32
|
-
value: import("@tempots/
|
|
24
|
+
disabled?: import("@tempots/core").Value<boolean> | undefined;
|
|
25
|
+
hasError?: import("@tempots/core").Value<boolean> | undefined;
|
|
26
|
+
name?: import("@tempots/core").Value<string> | undefined;
|
|
27
|
+
placeholder?: import("@tempots/core").Value<string> | undefined;
|
|
28
|
+
id?: import("@tempots/core").Value<string> | undefined;
|
|
29
|
+
required?: import("@tempots/core").Value<boolean> | undefined;
|
|
30
|
+
tabIndex?: import("@tempots/core").Value<number> | undefined;
|
|
31
|
+
size?: import("@tempots/core").Value<import("../../theme").ControlSize> | undefined;
|
|
32
|
+
value: import("@tempots/core").Value<import("@js-temporal/polyfill").Temporal.PlainTime | null>;
|
|
33
33
|
before?: import("@tempots/dom").TNode;
|
|
34
34
|
after?: import("@tempots/dom").TNode;
|
|
35
35
|
onChange?: ((value: import("@js-temporal/polyfill").Temporal.PlainTime | null) => void) | undefined;
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare const NullablePlainYearMonthInput: (options: {
|
|
20
|
-
autocomplete?: import("@tempots/
|
|
21
|
-
autofocus?: import("@tempots/
|
|
22
|
-
class?: import("@tempots/
|
|
20
|
+
autocomplete?: import("@tempots/core").Value<string> | undefined;
|
|
21
|
+
autofocus?: import("@tempots/core").Value<boolean> | undefined;
|
|
22
|
+
class?: import("@tempots/core").Value<string> | undefined;
|
|
23
23
|
classes?: import("./input-options").InputClasses | undefined;
|
|
24
|
-
disabled?: import("@tempots/
|
|
25
|
-
hasError?: import("@tempots/
|
|
26
|
-
name?: import("@tempots/
|
|
27
|
-
placeholder?: import("@tempots/
|
|
28
|
-
id?: import("@tempots/
|
|
29
|
-
required?: import("@tempots/
|
|
30
|
-
tabIndex?: import("@tempots/
|
|
31
|
-
size?: import("@tempots/
|
|
32
|
-
value: import("@tempots/
|
|
24
|
+
disabled?: import("@tempots/core").Value<boolean> | undefined;
|
|
25
|
+
hasError?: import("@tempots/core").Value<boolean> | undefined;
|
|
26
|
+
name?: import("@tempots/core").Value<string> | undefined;
|
|
27
|
+
placeholder?: import("@tempots/core").Value<string> | undefined;
|
|
28
|
+
id?: import("@tempots/core").Value<string> | undefined;
|
|
29
|
+
required?: import("@tempots/core").Value<boolean> | undefined;
|
|
30
|
+
tabIndex?: import("@tempots/core").Value<number> | undefined;
|
|
31
|
+
size?: import("@tempots/core").Value<import("../../theme").ControlSize> | undefined;
|
|
32
|
+
value: import("@tempots/core").Value<import("@js-temporal/polyfill").Temporal.PlainYearMonth | null>;
|
|
33
33
|
before?: import("@tempots/dom").TNode;
|
|
34
34
|
after?: import("@tempots/dom").TNode;
|
|
35
35
|
onChange?: ((value: import("@js-temporal/polyfill").Temporal.PlainYearMonth | null) => void) | undefined;
|
|
@@ -38,4 +38,4 @@ import { InputOptions } from './input-options';
|
|
|
38
38
|
* })
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
|
-
export declare const PasswordInput: (options: InputOptions<string>) => import("@tempots/dom").
|
|
41
|
+
export declare const PasswordInput: (options: InputOptions<string>) => import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare const PlainDateInput: (options: {
|
|
19
|
-
autocomplete?: import("@tempots/
|
|
20
|
-
autofocus?: import("@tempots/
|
|
21
|
-
class?: import("@tempots/
|
|
19
|
+
autocomplete?: import("@tempots/core").Value<string> | undefined;
|
|
20
|
+
autofocus?: import("@tempots/core").Value<boolean> | undefined;
|
|
21
|
+
class?: import("@tempots/core").Value<string> | undefined;
|
|
22
22
|
classes?: import("./input-options").InputClasses | undefined;
|
|
23
|
-
disabled?: import("@tempots/
|
|
24
|
-
hasError?: import("@tempots/
|
|
25
|
-
name?: import("@tempots/
|
|
26
|
-
placeholder?: import("@tempots/
|
|
27
|
-
id?: import("@tempots/
|
|
28
|
-
required?: import("@tempots/
|
|
29
|
-
tabIndex?: import("@tempots/
|
|
30
|
-
size?: import("@tempots/
|
|
31
|
-
value: import("@tempots/
|
|
23
|
+
disabled?: import("@tempots/core").Value<boolean> | undefined;
|
|
24
|
+
hasError?: import("@tempots/core").Value<boolean> | undefined;
|
|
25
|
+
name?: import("@tempots/core").Value<string> | undefined;
|
|
26
|
+
placeholder?: import("@tempots/core").Value<string> | undefined;
|
|
27
|
+
id?: import("@tempots/core").Value<string> | undefined;
|
|
28
|
+
required?: import("@tempots/core").Value<boolean> | undefined;
|
|
29
|
+
tabIndex?: import("@tempots/core").Value<number> | undefined;
|
|
30
|
+
size?: import("@tempots/core").Value<import("../../theme").ControlSize> | undefined;
|
|
31
|
+
value: import("@tempots/core").Value<import("@js-temporal/polyfill").Temporal.PlainDate>;
|
|
32
32
|
before?: import("@tempots/dom").TNode;
|
|
33
33
|
after?: import("@tempots/dom").TNode;
|
|
34
34
|
onChange?: ((value: import("@js-temporal/polyfill").Temporal.PlainDate) => void) | undefined;
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare const PlainDateTimeInput: (options: {
|
|
19
|
-
autocomplete?: import("@tempots/
|
|
20
|
-
autofocus?: import("@tempots/
|
|
21
|
-
class?: import("@tempots/
|
|
19
|
+
autocomplete?: import("@tempots/core").Value<string> | undefined;
|
|
20
|
+
autofocus?: import("@tempots/core").Value<boolean> | undefined;
|
|
21
|
+
class?: import("@tempots/core").Value<string> | undefined;
|
|
22
22
|
classes?: import("./input-options").InputClasses | undefined;
|
|
23
|
-
disabled?: import("@tempots/
|
|
24
|
-
hasError?: import("@tempots/
|
|
25
|
-
name?: import("@tempots/
|
|
26
|
-
placeholder?: import("@tempots/
|
|
27
|
-
id?: import("@tempots/
|
|
28
|
-
required?: import("@tempots/
|
|
29
|
-
tabIndex?: import("@tempots/
|
|
30
|
-
size?: import("@tempots/
|
|
31
|
-
value: import("@tempots/
|
|
23
|
+
disabled?: import("@tempots/core").Value<boolean> | undefined;
|
|
24
|
+
hasError?: import("@tempots/core").Value<boolean> | undefined;
|
|
25
|
+
name?: import("@tempots/core").Value<string> | undefined;
|
|
26
|
+
placeholder?: import("@tempots/core").Value<string> | undefined;
|
|
27
|
+
id?: import("@tempots/core").Value<string> | undefined;
|
|
28
|
+
required?: import("@tempots/core").Value<boolean> | undefined;
|
|
29
|
+
tabIndex?: import("@tempots/core").Value<number> | undefined;
|
|
30
|
+
size?: import("@tempots/core").Value<import("../../theme").ControlSize> | undefined;
|
|
31
|
+
value: import("@tempots/core").Value<import("@js-temporal/polyfill").Temporal.PlainDateTime>;
|
|
32
32
|
before?: import("@tempots/dom").TNode;
|
|
33
33
|
after?: import("@tempots/dom").TNode;
|
|
34
34
|
onChange?: ((value: import("@js-temporal/polyfill").Temporal.PlainDateTime) => void) | undefined;
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare const PlainTimeInput: (options: {
|
|
19
|
-
autocomplete?: import("@tempots/
|
|
20
|
-
autofocus?: import("@tempots/
|
|
21
|
-
class?: import("@tempots/
|
|
19
|
+
autocomplete?: import("@tempots/core").Value<string> | undefined;
|
|
20
|
+
autofocus?: import("@tempots/core").Value<boolean> | undefined;
|
|
21
|
+
class?: import("@tempots/core").Value<string> | undefined;
|
|
22
22
|
classes?: import("./input-options").InputClasses | undefined;
|
|
23
|
-
disabled?: import("@tempots/
|
|
24
|
-
hasError?: import("@tempots/
|
|
25
|
-
name?: import("@tempots/
|
|
26
|
-
placeholder?: import("@tempots/
|
|
27
|
-
id?: import("@tempots/
|
|
28
|
-
required?: import("@tempots/
|
|
29
|
-
tabIndex?: import("@tempots/
|
|
30
|
-
size?: import("@tempots/
|
|
31
|
-
value: import("@tempots/
|
|
23
|
+
disabled?: import("@tempots/core").Value<boolean> | undefined;
|
|
24
|
+
hasError?: import("@tempots/core").Value<boolean> | undefined;
|
|
25
|
+
name?: import("@tempots/core").Value<string> | undefined;
|
|
26
|
+
placeholder?: import("@tempots/core").Value<string> | undefined;
|
|
27
|
+
id?: import("@tempots/core").Value<string> | undefined;
|
|
28
|
+
required?: import("@tempots/core").Value<boolean> | undefined;
|
|
29
|
+
tabIndex?: import("@tempots/core").Value<number> | undefined;
|
|
30
|
+
size?: import("@tempots/core").Value<import("../../theme").ControlSize> | undefined;
|
|
31
|
+
value: import("@tempots/core").Value<import("@js-temporal/polyfill").Temporal.PlainTime>;
|
|
32
32
|
before?: import("@tempots/dom").TNode;
|
|
33
33
|
after?: import("@tempots/dom").TNode;
|
|
34
34
|
onChange?: ((value: import("@js-temporal/polyfill").Temporal.PlainTime) => void) | undefined;
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare const PlainYearMonthInput: (options: {
|
|
19
|
-
autocomplete?: import("@tempots/
|
|
20
|
-
autofocus?: import("@tempots/
|
|
21
|
-
class?: import("@tempots/
|
|
19
|
+
autocomplete?: import("@tempots/core").Value<string> | undefined;
|
|
20
|
+
autofocus?: import("@tempots/core").Value<boolean> | undefined;
|
|
21
|
+
class?: import("@tempots/core").Value<string> | undefined;
|
|
22
22
|
classes?: import("./input-options").InputClasses | undefined;
|
|
23
|
-
disabled?: import("@tempots/
|
|
24
|
-
hasError?: import("@tempots/
|
|
25
|
-
name?: import("@tempots/
|
|
26
|
-
placeholder?: import("@tempots/
|
|
27
|
-
id?: import("@tempots/
|
|
28
|
-
required?: import("@tempots/
|
|
29
|
-
tabIndex?: import("@tempots/
|
|
30
|
-
size?: import("@tempots/
|
|
31
|
-
value: import("@tempots/
|
|
23
|
+
disabled?: import("@tempots/core").Value<boolean> | undefined;
|
|
24
|
+
hasError?: import("@tempots/core").Value<boolean> | undefined;
|
|
25
|
+
name?: import("@tempots/core").Value<string> | undefined;
|
|
26
|
+
placeholder?: import("@tempots/core").Value<string> | undefined;
|
|
27
|
+
id?: import("@tempots/core").Value<string> | undefined;
|
|
28
|
+
required?: import("@tempots/core").Value<boolean> | undefined;
|
|
29
|
+
tabIndex?: import("@tempots/core").Value<number> | undefined;
|
|
30
|
+
size?: import("@tempots/core").Value<import("../../theme").ControlSize> | undefined;
|
|
31
|
+
value: import("@tempots/core").Value<import("@js-temporal/polyfill").Temporal.PlainYearMonth>;
|
|
32
32
|
before?: import("@tempots/dom").TNode;
|
|
33
33
|
after?: import("@tempots/dom").TNode;
|
|
34
34
|
onChange?: ((value: import("@js-temporal/polyfill").Temporal.PlainYearMonth) => void) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Value } from '@tempots/dom';
|
|
1
|
+
import { TNode, Value } from '@tempots/dom';
|
|
2
2
|
import { InputOptions } from './input-options';
|
|
3
3
|
import { DropdownOption } from './option';
|
|
4
4
|
import { BaseControllerOptions, ControllerOptions } from '../control';
|
|
@@ -44,7 +44,7 @@ export declare function Chips<T>(opts: {
|
|
|
44
44
|
equality: (a: T, b: T) => boolean;
|
|
45
45
|
disabled?: Value<boolean>;
|
|
46
46
|
onRemove: (v: T) => void;
|
|
47
|
-
}): import("@tempots/dom").
|
|
47
|
+
}): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
48
48
|
/**
|
|
49
49
|
* A multi-select tag input with a click-to-open dropdown menu.
|
|
50
50
|
*
|
|
@@ -78,7 +78,7 @@ export declare function SelectTagsInput<T>(options: SelectTagsOptions<T>): impor
|
|
|
78
78
|
* @param options - Base controller options for the select tags control.
|
|
79
79
|
* @returns A renderable form control component.
|
|
80
80
|
*/
|
|
81
|
-
export declare function BaseSelectTagsControl<T>(options: BaseControllerOptions<T[], SelectTagsOptions<T>>):
|
|
81
|
+
export declare function BaseSelectTagsControl<T>(options: BaseControllerOptions<T[], SelectTagsOptions<T>>): TNode;
|
|
82
82
|
/**
|
|
83
83
|
* A full form control wrapper for {@link SelectTagsInput} with label, error, and description support.
|
|
84
84
|
*
|
|
@@ -84,7 +84,7 @@ export declare function useController<T>({ initialValue, onChange, validate, equ
|
|
|
84
84
|
* @param value - The controller to connect
|
|
85
85
|
* @returns A Fragment with attribute bindings
|
|
86
86
|
*/
|
|
87
|
-
export declare function connectCommonAttributes<T>(value: Controller<T>): import("@tempots/
|
|
87
|
+
export declare function connectCommonAttributes<T>(value: Controller<T>): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
88
88
|
/**
|
|
89
89
|
* Connects a string controller to a text input element with value binding and event handlers.
|
|
90
90
|
* This is a lower-level utility; most users should use Control/BaseControl instead.
|
|
@@ -95,7 +95,7 @@ export declare function connectCommonAttributes<T>(value: Controller<T>): import
|
|
|
95
95
|
*/
|
|
96
96
|
export declare function connectStringInput(value: Controller<string>, { triggerOn, }?: {
|
|
97
97
|
triggerOn?: 'change' | 'input';
|
|
98
|
-
}): import("@tempots/
|
|
98
|
+
}): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
99
99
|
/**
|
|
100
100
|
* Connects a number controller to a number input element with value binding and event handlers.
|
|
101
101
|
* This is a lower-level utility; most users should use Control/BaseControl instead.
|
|
@@ -106,7 +106,7 @@ export declare function connectStringInput(value: Controller<string>, { triggerO
|
|
|
106
106
|
*/
|
|
107
107
|
export declare function connectNumberInput(value: Controller<number>, { triggerOn, }?: {
|
|
108
108
|
triggerOn?: 'change' | 'input';
|
|
109
|
-
}): import("@tempots/
|
|
109
|
+
}): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
110
110
|
/**
|
|
111
111
|
* Converts a Standard Schema v1 validation result into a ControllerValidation.
|
|
112
112
|
* Used internally to integrate Standard Schema validators (including Zod) with the form system.
|
|
@@ -21,4 +21,4 @@
|
|
|
21
21
|
* ))
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
export declare const LocaleDirection: () => import("@tempots/dom").
|
|
24
|
+
export declare const LocaleDirection: () => import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -54,4 +54,4 @@ export type LocaleSelectorOptions = {
|
|
|
54
54
|
* })
|
|
55
55
|
* ```
|
|
56
56
|
*/
|
|
57
|
-
export declare function LocaleSelector({ locales, onChange, updateLocale, }: LocaleSelectorOptions): import("@tempots/dom").
|
|
57
|
+
export declare function LocaleSelector({ locales, onChange, updateLocale, }: LocaleSelectorOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -15,7 +15,7 @@ import { Provider, Signal } from '@tempots/dom';
|
|
|
15
15
|
* @param config.providerName - Optional name for the provider mark, used for debugging
|
|
16
16
|
* @default config.providerName `'I18nProvider'`
|
|
17
17
|
*
|
|
18
|
-
* @returns A `Provider<Signal<M
|
|
18
|
+
* @returns A `Provider<Signal<M>>` that provides a reactive signal of the current messages
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ```typescript
|
|
@@ -46,4 +46,4 @@ export declare function makeI18nProvider<M extends object>({ defaultLocale, defa
|
|
|
46
46
|
localeLoader: (locale: string) => Promise<M>;
|
|
47
47
|
/** Optional name for the provider mark, used for debugging. @default 'I18nProvider' */
|
|
48
48
|
providerName?: string;
|
|
49
|
-
}): Provider<Signal<M
|
|
49
|
+
}): Provider<Signal<M>>;
|
|
@@ -115,4 +115,4 @@ export interface AppShellOptions {
|
|
|
115
115
|
* })
|
|
116
116
|
* ```
|
|
117
117
|
*/
|
|
118
|
-
export declare function AppShell({ smallBreakpoint, mediumBreakpoint, ...options }: AppShellOptions): import("@tempots/dom").
|
|
118
|
+
export declare function AppShell({ smallBreakpoint, mediumBreakpoint, ...options }: AppShellOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -10,4 +10,4 @@ export interface LanguageSelectorOptions {
|
|
|
10
10
|
* Language selector that appears when a code block is selected.
|
|
11
11
|
* Allows changing the programming language for syntax highlighting.
|
|
12
12
|
*/
|
|
13
|
-
export declare function LanguageSelector({ editor, stateUpdate, readOnly, languages, }: LanguageSelectorOptions): import("@tempots/dom").
|
|
13
|
+
export declare function LanguageSelector({ editor, stateUpdate, readOnly, languages, }: LanguageSelectorOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -13,4 +13,4 @@ export interface BlockHandleOptions {
|
|
|
13
13
|
readOnly?: Signal<boolean>;
|
|
14
14
|
commands?: BlockCommand[];
|
|
15
15
|
}
|
|
16
|
-
export declare function BlockHandle({ editor, stateUpdate, readOnly, commands, }: BlockHandleOptions): import("@tempots/dom").
|
|
16
|
+
export declare function BlockHandle({ editor, stateUpdate, readOnly, commands, }: BlockHandleOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -9,4 +9,4 @@ export interface FloatingToolbarOptions {
|
|
|
9
9
|
readOnly?: Signal<boolean>;
|
|
10
10
|
size?: ControlSize;
|
|
11
11
|
}
|
|
12
|
-
export declare function FloatingToolbar({ editor, stateUpdate, groups, readOnly, size, }: FloatingToolbarOptions): import("@tempots/dom").
|
|
12
|
+
export declare function FloatingToolbar({ editor, stateUpdate, groups, readOnly, size, }: FloatingToolbarOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -17,4 +17,4 @@ export interface SlashCommandPaletteOptions {
|
|
|
17
17
|
* Default slash commands for the editor
|
|
18
18
|
*/
|
|
19
19
|
export declare const DEFAULT_SLASH_COMMANDS: SlashCommandDefinition[];
|
|
20
|
-
export declare function SlashCommandPalette({ commands, isVisible, filterText, position, onSelect, onDismiss, }: SlashCommandPaletteOptions): import("@tempots/dom").
|
|
20
|
+
export declare function SlashCommandPalette({ commands, isVisible, filterText, position, onSelect, onDismiss, }: SlashCommandPaletteOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|
|
@@ -9,4 +9,4 @@ export interface TableControlsOptions {
|
|
|
9
9
|
* Table context menu that appears when a table cell is selected.
|
|
10
10
|
* Provides operations like insert/delete rows/columns.
|
|
11
11
|
*/
|
|
12
|
-
export declare function TableControls({ editor, stateUpdate, readOnly, }: TableControlsOptions): import("@tempots/dom").
|
|
12
|
+
export declare function TableControls({ editor, stateUpdate, readOnly, }: TableControlsOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
|