@timeax/form-palette 0.0.37 → 0.0.39

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.
@@ -649,6 +649,7 @@ interface CoreContext<V extends Dict> {
649
649
  * Typically used by an error strip component.
650
650
  */
651
651
  getUncaught(): readonly string[];
652
+ hasUncaughtErrors: number;
652
653
  /**
653
654
  * Field-query "DOM" for this form.
654
655
  *
@@ -2912,6 +2913,7 @@ type CustomFileLoaderResult = FileLike | FileLike[] | null | undefined;
2912
2913
  type CustomFileLoader = (ctx: {
2913
2914
  multiple: boolean;
2914
2915
  current: FileItem[];
2916
+ allowedTypes?: string[];
2915
2917
  }) => Promise<CustomFileLoaderResult> | CustomFileLoaderResult;
2916
2918
  type BadgeVariant = React.ComponentProps<typeof Badge>["variant"];
2917
2919
  type FileVariantBaseProps = Pick<VariantBaseProps<FileItem[]>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> & {
@@ -4343,4 +4345,4 @@ interface VariantModule<K extends VariantKey = VariantKey> {
4343
4345
  */
4344
4346
  type VariantModuleFor<K extends VariantKey> = VariantModule<K>;
4345
4347
 
4346
- export { type ListerFilterOption as $, type Variants as A, type BaseProps$7 as B, type CoreProps as C, type Dict as D, type ErrorTextPlacement as E, type Field as F, type VariantValidateFn as G, type HelpTextPlacement as H, InputNumber as I, type VariantLayoutDefaults as J, type VariantModuleFor as K, type LabelPlacement as L, type ListerDefinition as M, type ListerRuntimeState as N, type ListerProviderHost as O, type PresetMap as P, type ListerStoreState as Q, type RelativeRootsMap as R, type SublabelPlacement as S, Textarea as T, type ListerSessionId as U, type VariantKey as V, type ListerId as W, type ListerSearchMode as X, type ListerSearchTarget as Y, type ListerSearchPayload as Z, type ListerFilterCtx as _, type CoreContext as a, type ListerMode as a0, type ListerApi as a1, type ShadcnJsonEditorProps as a2, type JsonEditorIndexHandle as a3, type ListerOpenReason as a4, type Selector as a5, type Resolver as a6, type OpenAnchor as a7, type ListerChangeEvent as a8, type ListerLogLevel as a9, type ListerLogCode as aa, type ListerLogEntry as ab, type ListerPermissionCtx as ac, type ListerOption as ad, type ListerMapping as ae, type ListerSource as af, type ListerSearchSpec as ag, type ListerFilterApplyMode as ah, type ListerFilterApply as ai, type ListerFilterBindKey as aj, type ListerFilterInput as ak, type ListerFilterGroupOption as al, type ListerFilterValueOption as am, type ListerFilterInputOption as an, type ListerFilterSpec as ao, type ListerValueForMode as ap, type ListerRawForMode as aq, type ListerOptionsForMode as ar, type ListerDetails as as, type ListerOpenOptions as at, type ListerOpenResult as au, type PresetRaw as av, type PresetValue as aw, type PresetFilters as ax, type PresetMeta as ay, type ListerSessionState as az, type DescriptionPlacement as b, type SlotPlacement as c, type FieldSize as d, type FieldDensity as e, type ValidateResult as f, type ChangeDetail as g, type VariantValueFor as h, type VariantPropsFor as i, type VariantModule as j, type InferFromSchema as k, type SubmitEvent as l, type FormProps as m, type ValuesResult as n, type InputStore as o, type ButtonRef as p, type FieldSlots as q, type FieldRoots as r, type FieldSlotId as s, type FieldRootId as t, type FieldOrdering as u, type FieldLayoutConfig as v, type EffectiveFieldLayout as w, type LayoutResolveContext as x, type LayoutResolver as y, type VariantEntry as z };
4348
+ export { type ListerSearchTarget as $, type LayoutResolver as A, type BaseProps$7 as B, type CoreProps as C, type Dict as D, type ErrorTextPlacement as E, type Field as F, type VariantEntry as G, type HelpTextPlacement as H, InputNumber as I, type Variants as J, type VariantValidateFn as K, type LabelPlacement as L, type VariantLayoutDefaults as M, type VariantModuleFor as N, type ListerDefinition as O, type PhoneCountry as P, type ListerRuntimeState as Q, type RelativeRootsMap as R, type SublabelPlacement as S, Textarea as T, type ListerProviderHost as U, type VariantKey as V, type PresetMap as W, type ListerStoreState as X, type ListerSessionId as Y, type ListerId as Z, type ListerSearchMode as _, type CoreContext as a, type ListerSearchPayload as a0, type ListerFilterCtx as a1, type ListerFilterOption as a2, type ListerMode as a3, type ListerApi as a4, type ShadcnJsonEditorProps as a5, type JsonEditorIndexHandle as a6, type ListerOpenReason as a7, type Selector as a8, type Resolver as a9, type PresetFilters as aA, type PresetMeta as aB, type ListerSessionState as aC, type OpenAnchor as aa, type ListerChangeEvent as ab, type ListerLogLevel as ac, type ListerLogCode as ad, type ListerLogEntry as ae, type ListerPermissionCtx as af, type ListerOption as ag, type ListerMapping as ah, type ListerSource as ai, type ListerSearchSpec as aj, type ListerFilterApplyMode as ak, type ListerFilterApply as al, type ListerFilterBindKey as am, type ListerFilterInput as an, type ListerFilterGroupOption as ao, type ListerFilterValueOption as ap, type ListerFilterInputOption as aq, type ListerFilterSpec as ar, type ListerValueForMode as as, type ListerRawForMode as at, type ListerOptionsForMode as au, type ListerDetails as av, type ListerOpenOptions as aw, type ListerOpenResult as ax, type PresetRaw as ay, type PresetValue as az, type DescriptionPlacement as b, type SlotPlacement as c, type FieldSize as d, type FieldDensity as e, type ValidateResult as f, type ChangeDetail as g, type VariantValueFor as h, type VariantPropsFor as i, type VariantModule as j, type PasswordDefinitionMap as k, type CustomFileLoader as l, type InferFromSchema as m, type SubmitEvent as n, type FormProps as o, type ValuesResult as p, type InputStore as q, type ButtonRef as r, type FieldSlots as s, type FieldRoots as t, type FieldSlotId as u, type FieldRootId as v, type FieldOrdering as w, type FieldLayoutConfig as x, type EffectiveFieldLayout as y, type LayoutResolveContext as z };
@@ -649,6 +649,7 @@ interface CoreContext<V extends Dict> {
649
649
  * Typically used by an error strip component.
650
650
  */
651
651
  getUncaught(): readonly string[];
652
+ hasUncaughtErrors: number;
652
653
  /**
653
654
  * Field-query "DOM" for this form.
654
655
  *
@@ -2912,6 +2913,7 @@ type CustomFileLoaderResult = FileLike | FileLike[] | null | undefined;
2912
2913
  type CustomFileLoader = (ctx: {
2913
2914
  multiple: boolean;
2914
2915
  current: FileItem[];
2916
+ allowedTypes?: string[];
2915
2917
  }) => Promise<CustomFileLoaderResult> | CustomFileLoaderResult;
2916
2918
  type BadgeVariant = React.ComponentProps<typeof Badge>["variant"];
2917
2919
  type FileVariantBaseProps = Pick<VariantBaseProps<FileItem[]>, "value" | "onValue" | "error" | "disabled" | "readOnly" | "size" | "density"> & {
@@ -4343,4 +4345,4 @@ interface VariantModule<K extends VariantKey = VariantKey> {
4343
4345
  */
4344
4346
  type VariantModuleFor<K extends VariantKey> = VariantModule<K>;
4345
4347
 
4346
- export { type ListerFilterOption as $, type Variants as A, type BaseProps$7 as B, type CoreProps as C, type Dict as D, type ErrorTextPlacement as E, type Field as F, type VariantValidateFn as G, type HelpTextPlacement as H, InputNumber as I, type VariantLayoutDefaults as J, type VariantModuleFor as K, type LabelPlacement as L, type ListerDefinition as M, type ListerRuntimeState as N, type ListerProviderHost as O, type PresetMap as P, type ListerStoreState as Q, type RelativeRootsMap as R, type SublabelPlacement as S, Textarea as T, type ListerSessionId as U, type VariantKey as V, type ListerId as W, type ListerSearchMode as X, type ListerSearchTarget as Y, type ListerSearchPayload as Z, type ListerFilterCtx as _, type CoreContext as a, type ListerMode as a0, type ListerApi as a1, type ShadcnJsonEditorProps as a2, type JsonEditorIndexHandle as a3, type ListerOpenReason as a4, type Selector as a5, type Resolver as a6, type OpenAnchor as a7, type ListerChangeEvent as a8, type ListerLogLevel as a9, type ListerLogCode as aa, type ListerLogEntry as ab, type ListerPermissionCtx as ac, type ListerOption as ad, type ListerMapping as ae, type ListerSource as af, type ListerSearchSpec as ag, type ListerFilterApplyMode as ah, type ListerFilterApply as ai, type ListerFilterBindKey as aj, type ListerFilterInput as ak, type ListerFilterGroupOption as al, type ListerFilterValueOption as am, type ListerFilterInputOption as an, type ListerFilterSpec as ao, type ListerValueForMode as ap, type ListerRawForMode as aq, type ListerOptionsForMode as ar, type ListerDetails as as, type ListerOpenOptions as at, type ListerOpenResult as au, type PresetRaw as av, type PresetValue as aw, type PresetFilters as ax, type PresetMeta as ay, type ListerSessionState as az, type DescriptionPlacement as b, type SlotPlacement as c, type FieldSize as d, type FieldDensity as e, type ValidateResult as f, type ChangeDetail as g, type VariantValueFor as h, type VariantPropsFor as i, type VariantModule as j, type InferFromSchema as k, type SubmitEvent as l, type FormProps as m, type ValuesResult as n, type InputStore as o, type ButtonRef as p, type FieldSlots as q, type FieldRoots as r, type FieldSlotId as s, type FieldRootId as t, type FieldOrdering as u, type FieldLayoutConfig as v, type EffectiveFieldLayout as w, type LayoutResolveContext as x, type LayoutResolver as y, type VariantEntry as z };
4348
+ export { type ListerSearchTarget as $, type LayoutResolver as A, type BaseProps$7 as B, type CoreProps as C, type Dict as D, type ErrorTextPlacement as E, type Field as F, type VariantEntry as G, type HelpTextPlacement as H, InputNumber as I, type Variants as J, type VariantValidateFn as K, type LabelPlacement as L, type VariantLayoutDefaults as M, type VariantModuleFor as N, type ListerDefinition as O, type PhoneCountry as P, type ListerRuntimeState as Q, type RelativeRootsMap as R, type SublabelPlacement as S, Textarea as T, type ListerProviderHost as U, type VariantKey as V, type PresetMap as W, type ListerStoreState as X, type ListerSessionId as Y, type ListerId as Z, type ListerSearchMode as _, type CoreContext as a, type ListerSearchPayload as a0, type ListerFilterCtx as a1, type ListerFilterOption as a2, type ListerMode as a3, type ListerApi as a4, type ShadcnJsonEditorProps as a5, type JsonEditorIndexHandle as a6, type ListerOpenReason as a7, type Selector as a8, type Resolver as a9, type PresetFilters as aA, type PresetMeta as aB, type ListerSessionState as aC, type OpenAnchor as aa, type ListerChangeEvent as ab, type ListerLogLevel as ac, type ListerLogCode as ad, type ListerLogEntry as ae, type ListerPermissionCtx as af, type ListerOption as ag, type ListerMapping as ah, type ListerSource as ai, type ListerSearchSpec as aj, type ListerFilterApplyMode as ak, type ListerFilterApply as al, type ListerFilterBindKey as am, type ListerFilterInput as an, type ListerFilterGroupOption as ao, type ListerFilterValueOption as ap, type ListerFilterInputOption as aq, type ListerFilterSpec as ar, type ListerValueForMode as as, type ListerRawForMode as at, type ListerOptionsForMode as au, type ListerDetails as av, type ListerOpenOptions as aw, type ListerOpenResult as ax, type PresetRaw as ay, type PresetValue as az, type DescriptionPlacement as b, type SlotPlacement as c, type FieldSize as d, type FieldDensity as e, type ValidateResult as f, type ChangeDetail as g, type VariantValueFor as h, type VariantPropsFor as i, type VariantModule as j, type PasswordDefinitionMap as k, type CustomFileLoader as l, type InferFromSchema as m, type SubmitEvent as n, type FormProps as o, type ValuesResult as p, type InputStore as q, type ButtonRef as r, type FieldSlots as s, type FieldRoots as t, type FieldSlotId as u, type FieldRootId as v, type FieldOrdering as w, type FieldLayoutConfig as x, type EffectiveFieldLayout as y, type LayoutResolveContext as z };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@timeax/form-palette",
3
3
  "private": false,
4
- "version": "0.0.37",
4
+ "version": "0.0.39",
5
5
  "description": "This package extracts and standardizes the **form + input + variant system** from an existing Laravel/Inertia/React project into a **reusable, framework-friendly** library",
6
6
  "keywords": [
7
7
  "Form",