@timeax/form-palette 0.1.26 → 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-LqBlzmUb.d.mts → core-BS2fNt2O.d.mts} +22 -21
- package/dist/{core-DFOt5Ha-.d.ts → core-CtnF6uJt.d.ts} +22 -21
- package/dist/extra.d.mts +2 -2
- package/dist/extra.d.ts +2 -2
- package/dist/extra.js +843 -1215
- package/dist/extra.js.map +1 -1
- package/dist/extra.mjs +843 -1215
- 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 +1404 -1776
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1328 -1700
- 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;
|
|
@@ -1976,15 +1969,27 @@ interface KV {
|
|
|
1976
1969
|
interface ShadcnKeyValueVariantProps extends Pick<VariantBaseProps<KeyValueMap | undefined>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> {
|
|
1977
1970
|
min?: number;
|
|
1978
1971
|
max?: number;
|
|
1972
|
+
/**
|
|
1973
|
+
* Legacy props (kept for compatibility; no longer drive visibility).
|
|
1974
|
+
*/
|
|
1979
1975
|
minVisible?: number;
|
|
1980
1976
|
maxVisible?: number;
|
|
1981
|
-
|
|
1982
|
-
|
|
1977
|
+
/**
|
|
1978
|
+
* If false/undefined, inline chips show keys only.
|
|
1979
|
+
* If true, inline chips show "key : value".
|
|
1980
|
+
*
|
|
1981
|
+
* In the dropdown: key-only + an info button reveals the value.
|
|
1982
|
+
*/
|
|
1983
|
+
showValue?: boolean;
|
|
1983
1984
|
placeholder?: React.ReactNode;
|
|
1984
1985
|
dialogTitle?: React.ReactNode;
|
|
1985
1986
|
keyLabel?: React.ReactNode;
|
|
1986
1987
|
valueLabel?: React.ReactNode;
|
|
1987
1988
|
submitLabel?: React.ReactNode;
|
|
1989
|
+
/**
|
|
1990
|
+
* Overflow indicator label (e.g. "2+").
|
|
1991
|
+
* This is now purely informational; dropdown control is always available.
|
|
1992
|
+
*/
|
|
1988
1993
|
moreLabel?: (count: number) => React.ReactNode;
|
|
1989
1994
|
emptyLabel?: React.ReactNode;
|
|
1990
1995
|
className?: string;
|
|
@@ -2539,20 +2544,16 @@ interface SelectBaseProps extends Pick<VariantBaseProps<SelectPrimitive | undefi
|
|
|
2539
2544
|
*/
|
|
2540
2545
|
extendBoxToControls?: boolean;
|
|
2541
2546
|
/**
|
|
2542
|
-
* Enable
|
|
2543
|
-
*
|
|
2544
|
-
* When true, only a page of options is rendered initially,
|
|
2545
|
-
* and more are revealed as the user scrolls down.
|
|
2547
|
+
* Enable virtualized rendering for large option lists.
|
|
2548
|
+
* Default: true.
|
|
2546
2549
|
*/
|
|
2547
2550
|
virtualScroll?: boolean;
|
|
2548
2551
|
/**
|
|
2549
|
-
*
|
|
2550
|
-
* Default: 50.
|
|
2552
|
+
* @deprecated No longer used with react-virtuoso.
|
|
2551
2553
|
*/
|
|
2552
2554
|
virtualScrollPageSize?: number;
|
|
2553
2555
|
/**
|
|
2554
|
-
*
|
|
2555
|
-
* Default: 48px.
|
|
2556
|
+
* @deprecated No longer used with react-virtuoso.
|
|
2556
2557
|
*/
|
|
2557
2558
|
virtualScrollThreshold?: number;
|
|
2558
2559
|
}
|
|
@@ -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;
|
|
@@ -1976,15 +1969,27 @@ interface KV {
|
|
|
1976
1969
|
interface ShadcnKeyValueVariantProps extends Pick<VariantBaseProps<KeyValueMap | undefined>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> {
|
|
1977
1970
|
min?: number;
|
|
1978
1971
|
max?: number;
|
|
1972
|
+
/**
|
|
1973
|
+
* Legacy props (kept for compatibility; no longer drive visibility).
|
|
1974
|
+
*/
|
|
1979
1975
|
minVisible?: number;
|
|
1980
1976
|
maxVisible?: number;
|
|
1981
|
-
|
|
1982
|
-
|
|
1977
|
+
/**
|
|
1978
|
+
* If false/undefined, inline chips show keys only.
|
|
1979
|
+
* If true, inline chips show "key : value".
|
|
1980
|
+
*
|
|
1981
|
+
* In the dropdown: key-only + an info button reveals the value.
|
|
1982
|
+
*/
|
|
1983
|
+
showValue?: boolean;
|
|
1983
1984
|
placeholder?: React.ReactNode;
|
|
1984
1985
|
dialogTitle?: React.ReactNode;
|
|
1985
1986
|
keyLabel?: React.ReactNode;
|
|
1986
1987
|
valueLabel?: React.ReactNode;
|
|
1987
1988
|
submitLabel?: React.ReactNode;
|
|
1989
|
+
/**
|
|
1990
|
+
* Overflow indicator label (e.g. "2+").
|
|
1991
|
+
* This is now purely informational; dropdown control is always available.
|
|
1992
|
+
*/
|
|
1988
1993
|
moreLabel?: (count: number) => React.ReactNode;
|
|
1989
1994
|
emptyLabel?: React.ReactNode;
|
|
1990
1995
|
className?: string;
|
|
@@ -2539,20 +2544,16 @@ interface SelectBaseProps extends Pick<VariantBaseProps<SelectPrimitive | undefi
|
|
|
2539
2544
|
*/
|
|
2540
2545
|
extendBoxToControls?: boolean;
|
|
2541
2546
|
/**
|
|
2542
|
-
* Enable
|
|
2543
|
-
*
|
|
2544
|
-
* When true, only a page of options is rendered initially,
|
|
2545
|
-
* and more are revealed as the user scrolls down.
|
|
2547
|
+
* Enable virtualized rendering for large option lists.
|
|
2548
|
+
* Default: true.
|
|
2546
2549
|
*/
|
|
2547
2550
|
virtualScroll?: boolean;
|
|
2548
2551
|
/**
|
|
2549
|
-
*
|
|
2550
|
-
* Default: 50.
|
|
2552
|
+
* @deprecated No longer used with react-virtuoso.
|
|
2551
2553
|
*/
|
|
2552
2554
|
virtualScrollPageSize?: number;
|
|
2553
2555
|
/**
|
|
2554
|
-
*
|
|
2555
|
-
* Default: 48px.
|
|
2556
|
+
* @deprecated No longer used with react-virtuoso.
|
|
2556
2557
|
*/
|
|
2557
2558
|
virtualScrollThreshold?: number;
|
|
2558
2559
|
}
|
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';
|