@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.
@@ -455,17 +455,13 @@ interface InputNumberValueChangeEvent {
455
455
  value: number | null;
456
456
  };
457
457
  }
458
- interface InputNumberProps extends Omit<ShadcnTextVariantProps, 'min' | 'max' | 'value'>, Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "onInput" | "onKeyDown" | "onKeyUp" | "size" | 'max' | 'min'> {
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, 'min' | 'max' | 'value'>, Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "onInput" | "onKeyDown" | "onKeyUp" | "size" | 'max' | 'min'> {
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-BxK4PLut.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-BxK4PLut.mjs';
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-DDFFngF0.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-DDFFngF0.js';
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';