@timeax/form-palette 0.1.27 → 0.1.28
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/{core-BxK4PLut.d.mts → core-BS2fNt2O.d.mts} +4 -11
- package/dist/{core-DDFFngF0.d.ts → core-CtnF6uJt.d.ts} +4 -11
- package/dist/extra.d.mts +2 -2
- package/dist/extra.d.ts +2 -2
- package/dist/extra.js +277 -877
- package/dist/extra.js.map +1 -1
- package/dist/extra.mjs +277 -877
- package/dist/extra.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +854 -1454
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +778 -1378
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -455,17 +455,13 @@ interface InputNumberValueChangeEvent {
|
|
|
455
455
|
value: number | null;
|
|
456
456
|
};
|
|
457
457
|
}
|
|
458
|
-
interface InputNumberProps extends Omit<ShadcnTextVariantProps,
|
|
458
|
+
interface InputNumberProps extends Omit<ShadcnTextVariantProps, "min" | "max" | "value">, Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "onInput" | "onKeyDown" | "onKeyUp" | "size" | "max" | "min"> {
|
|
459
459
|
onKeyUp?(event: React.KeyboardEvent<HTMLInputElement>): unknown;
|
|
460
460
|
onKeyDown?(event: React.KeyboardEvent<HTMLInputElement>): unknown;
|
|
461
461
|
value?: number | null;
|
|
462
|
-
/**
|
|
463
|
-
* Emitted when the numeric value changes (Prime-style).
|
|
464
|
-
*/
|
|
462
|
+
/** Emitted when the numeric value changes (Prime-style). */
|
|
465
463
|
onValueChange?: (e: InputNumberValueChangeEvent) => void;
|
|
466
|
-
/**
|
|
467
|
-
* Optional simple change handler (numeric value).
|
|
468
|
-
*/
|
|
464
|
+
/** Optional simple change handler (numeric value). */
|
|
469
465
|
onChange?: (e: {
|
|
470
466
|
originalEvent: React.SyntheticEvent<any>;
|
|
471
467
|
value: number | null;
|
|
@@ -483,15 +479,12 @@ interface InputNumberProps extends Omit<ShadcnTextVariantProps, 'min' | 'max' |
|
|
|
483
479
|
max?: number | null;
|
|
484
480
|
step?: number;
|
|
485
481
|
allowEmpty?: boolean;
|
|
482
|
+
/** If false: show raw (no Intl formatting) even when blurred */
|
|
486
483
|
format?: boolean;
|
|
487
484
|
inputId?: string;
|
|
488
485
|
inputClassName?: string;
|
|
489
486
|
inputStyle?: React.CSSProperties;
|
|
490
487
|
inputRef?: React.Ref<InputRef> | null;
|
|
491
|
-
/**
|
|
492
|
-
* String prefix/suffix (like Prime). They are part of formatting logic.
|
|
493
|
-
* You can ALSO forward them to your text variant as visual adornments.
|
|
494
|
-
*/
|
|
495
488
|
prefix?: string;
|
|
496
489
|
suffix?: string;
|
|
497
490
|
size?: FieldSize;
|
|
@@ -455,17 +455,13 @@ interface InputNumberValueChangeEvent {
|
|
|
455
455
|
value: number | null;
|
|
456
456
|
};
|
|
457
457
|
}
|
|
458
|
-
interface InputNumberProps extends Omit<ShadcnTextVariantProps,
|
|
458
|
+
interface InputNumberProps extends Omit<ShadcnTextVariantProps, "min" | "max" | "value">, Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "onInput" | "onKeyDown" | "onKeyUp" | "size" | "max" | "min"> {
|
|
459
459
|
onKeyUp?(event: React.KeyboardEvent<HTMLInputElement>): unknown;
|
|
460
460
|
onKeyDown?(event: React.KeyboardEvent<HTMLInputElement>): unknown;
|
|
461
461
|
value?: number | null;
|
|
462
|
-
/**
|
|
463
|
-
* Emitted when the numeric value changes (Prime-style).
|
|
464
|
-
*/
|
|
462
|
+
/** Emitted when the numeric value changes (Prime-style). */
|
|
465
463
|
onValueChange?: (e: InputNumberValueChangeEvent) => void;
|
|
466
|
-
/**
|
|
467
|
-
* Optional simple change handler (numeric value).
|
|
468
|
-
*/
|
|
464
|
+
/** Optional simple change handler (numeric value). */
|
|
469
465
|
onChange?: (e: {
|
|
470
466
|
originalEvent: React.SyntheticEvent<any>;
|
|
471
467
|
value: number | null;
|
|
@@ -483,15 +479,12 @@ interface InputNumberProps extends Omit<ShadcnTextVariantProps, 'min' | 'max' |
|
|
|
483
479
|
max?: number | null;
|
|
484
480
|
step?: number;
|
|
485
481
|
allowEmpty?: boolean;
|
|
482
|
+
/** If false: show raw (no Intl formatting) even when blurred */
|
|
486
483
|
format?: boolean;
|
|
487
484
|
inputId?: string;
|
|
488
485
|
inputClassName?: string;
|
|
489
486
|
inputStyle?: React.CSSProperties;
|
|
490
487
|
inputRef?: React.Ref<InputRef> | null;
|
|
491
|
-
/**
|
|
492
|
-
* String prefix/suffix (like Prime). They are part of formatting logic.
|
|
493
|
-
* You can ALSO forward them to your text variant as visual adornments.
|
|
494
|
-
*/
|
|
495
488
|
prefix?: string;
|
|
496
489
|
suffix?: string;
|
|
497
490
|
size?: FieldSize;
|
package/dist/extra.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-
|
|
4
|
-
export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-
|
|
3
|
+
import { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-BS2fNt2O.mjs';
|
|
4
|
+
export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-BS2fNt2O.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './adapter-CvjXO9Gi.mjs';
|
|
7
7
|
import '@inertiajs/core';
|
package/dist/extra.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-
|
|
4
|
-
export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-
|
|
3
|
+
import { Q as ListerSearchPayload, U as ListerId, W as ListerDefinition, X as ListerOption, Y as PresetMap, Z as ListerApi, _ as ListerStoreState, $ as ListerSessionId, a0 as ListerSearchTarget, a1 as ListerSearchMode, a2 as ListerFilterCtx, a3 as ListerDetails, a4 as ListerProviderHost, a5 as ListerRuntimeState, a6 as ShadcnJsonEditorProps, a7 as JsonEditorIndexHandle } from './core-CtnF6uJt.js';
|
|
4
|
+
export { ad as ListerChangeEvent, am as ListerFilterApply, al as ListerFilterApplyMode, an as ListerFilterBindKey, ap as ListerFilterGroupOption, ao as ListerFilterInput, ar as ListerFilterInputOption, as as ListerFilterOption, at as ListerFilterSpec, aq as ListerFilterValueOption, af as ListerLogCode, ag as ListerLogEntry, ae as ListerLogLevel, ai as ListerMapping, a8 as ListerMode, ax as ListerOpenOptions, a9 as ListerOpenReason, ay as ListerOpenResult, aw as ListerOptionsForMode, ah as ListerPermissionCtx, av as ListerRawForMode, ak as ListerSearchSpec, aD as ListerSessionState, aj as ListerSource, au as ListerValueForMode, ac as OpenAnchor, aB as PresetFilters, aC as PresetMeta, az as PresetRaw, aA as PresetValue, ab as Resolver, aa as Selector } from './core-CtnF6uJt.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './adapter-CvjXO9Gi.js';
|
|
7
7
|
import '@inertiajs/core';
|