@timeax/form-palette 0.0.39 → 0.1.1
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/extra.d.mts +2 -2
- package/dist/extra.d.ts +2 -2
- package/dist/extra.js +2 -1
- package/dist/extra.js.map +1 -1
- package/dist/extra.mjs +2 -1
- 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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{variant-aFXJGBXI.d.mts → variant-BGkGWsSy.d.mts} +1 -0
- package/dist/{variant-Jrd0I0Ey.d.ts → variant-B_L0opEi.d.ts} +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Dict, C as CoreProps, a as CoreContext, F as Field, V as VariantKey, L as LabelPlacement, S as SublabelPlacement, b as DescriptionPlacement, H as HelpTextPlacement, E as ErrorTextPlacement, c as SlotPlacement, d as FieldSize, e as FieldDensity, f as ValidateResult, g as ChangeDetail, h as VariantValueFor, i as VariantPropsFor, j as VariantModule, P as PhoneCountry, k as PasswordDefinitionMap, l as CustomFileLoader } from './variant-
|
|
2
|
-
export { B as BaseProps, r as ButtonRef, y as EffectiveFieldLayout, x as FieldLayoutConfig, w as FieldOrdering, v as FieldRootId, t as FieldRoots, u as FieldSlotId, s as FieldSlots, o as FormProps, m as InferFromSchema, I as InputNumber, q as InputStore, z as LayoutResolveContext, A as LayoutResolver, R as RelativeRootsMap, n as SubmitEvent, T as Textarea, p as ValuesResult, G as VariantEntry, M as VariantLayoutDefaults, N as VariantModuleFor, K as VariantValidateFn, J as Variants } from './variant-
|
|
1
|
+
import { D as Dict, C as CoreProps, a as CoreContext, F as Field, V as VariantKey, L as LabelPlacement, S as SublabelPlacement, b as DescriptionPlacement, H as HelpTextPlacement, E as ErrorTextPlacement, c as SlotPlacement, d as FieldSize, e as FieldDensity, f as ValidateResult, g as ChangeDetail, h as VariantValueFor, i as VariantPropsFor, j as VariantModule, P as PhoneCountry, k as PasswordDefinitionMap, l as CustomFileLoader } from './variant-BGkGWsSy.mjs';
|
|
2
|
+
export { B as BaseProps, r as ButtonRef, y as EffectiveFieldLayout, x as FieldLayoutConfig, w as FieldOrdering, v as FieldRootId, t as FieldRoots, u as FieldSlotId, s as FieldSlots, o as FormProps, m as InferFromSchema, I as InputNumber, q as InputStore, z as LayoutResolveContext, A as LayoutResolver, R as RelativeRootsMap, n as SubmitEvent, T as Textarea, p as ValuesResult, G as VariantEntry, M as VariantLayoutDefaults, N as VariantModuleFor, K as VariantValidateFn, J as Variants } from './variant-BGkGWsSy.mjs';
|
|
3
3
|
import { A as AdapterKey } from './adapter-CvjXO9Gi.mjs';
|
|
4
4
|
export { a as AdapterCallbacks, c as AdapterConfig, h as AdapterError, d as AdapterFactory, g as AdapterOk, f as AdapterProps, b as AdapterResult, i as AdapterSubmit, e as Adapters, M as Method, N as NamedAdapterConfig, j as NamedAdapterFactory } from './adapter-CvjXO9Gi.mjs';
|
|
5
5
|
export { createAxiosAdapter, createInertiaAdapter, getAdapter, hasAdapter, localAdapter, registerAdapter, registerAllAdapters, registerAxiosAdapter, registerInertiaAdapter, registerKnownAdapter } from './adapters.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Dict, C as CoreProps, a as CoreContext, F as Field, V as VariantKey, L as LabelPlacement, S as SublabelPlacement, b as DescriptionPlacement, H as HelpTextPlacement, E as ErrorTextPlacement, c as SlotPlacement, d as FieldSize, e as FieldDensity, f as ValidateResult, g as ChangeDetail, h as VariantValueFor, i as VariantPropsFor, j as VariantModule, P as PhoneCountry, k as PasswordDefinitionMap, l as CustomFileLoader } from './variant-
|
|
2
|
-
export { B as BaseProps, r as ButtonRef, y as EffectiveFieldLayout, x as FieldLayoutConfig, w as FieldOrdering, v as FieldRootId, t as FieldRoots, u as FieldSlotId, s as FieldSlots, o as FormProps, m as InferFromSchema, I as InputNumber, q as InputStore, z as LayoutResolveContext, A as LayoutResolver, R as RelativeRootsMap, n as SubmitEvent, T as Textarea, p as ValuesResult, G as VariantEntry, M as VariantLayoutDefaults, N as VariantModuleFor, K as VariantValidateFn, J as Variants } from './variant-
|
|
1
|
+
import { D as Dict, C as CoreProps, a as CoreContext, F as Field, V as VariantKey, L as LabelPlacement, S as SublabelPlacement, b as DescriptionPlacement, H as HelpTextPlacement, E as ErrorTextPlacement, c as SlotPlacement, d as FieldSize, e as FieldDensity, f as ValidateResult, g as ChangeDetail, h as VariantValueFor, i as VariantPropsFor, j as VariantModule, P as PhoneCountry, k as PasswordDefinitionMap, l as CustomFileLoader } from './variant-B_L0opEi.js';
|
|
2
|
+
export { B as BaseProps, r as ButtonRef, y as EffectiveFieldLayout, x as FieldLayoutConfig, w as FieldOrdering, v as FieldRootId, t as FieldRoots, u as FieldSlotId, s as FieldSlots, o as FormProps, m as InferFromSchema, I as InputNumber, q as InputStore, z as LayoutResolveContext, A as LayoutResolver, R as RelativeRootsMap, n as SubmitEvent, T as Textarea, p as ValuesResult, G as VariantEntry, M as VariantLayoutDefaults, N as VariantModuleFor, K as VariantValidateFn, J as Variants } from './variant-B_L0opEi.js';
|
|
3
3
|
import { A as AdapterKey } from './adapter-CvjXO9Gi.js';
|
|
4
4
|
export { a as AdapterCallbacks, c as AdapterConfig, h as AdapterError, d as AdapterFactory, g as AdapterOk, f as AdapterProps, b as AdapterResult, i as AdapterSubmit, e as Adapters, M as Method, N as NamedAdapterConfig, j as NamedAdapterFactory } from './adapter-CvjXO9Gi.js';
|
|
5
5
|
export { createAxiosAdapter, createInertiaAdapter, getAdapter, hasAdapter, localAdapter, registerAdapter, registerAllAdapters, registerAxiosAdapter, registerInertiaAdapter, registerKnownAdapter } from './adapters.js';
|
package/dist/index.js
CHANGED
|
@@ -19727,6 +19727,7 @@ var ShadcnFileVariant = React68__namespace.forwardRef(function ShadcnFileVariant
|
|
|
19727
19727
|
formatFileSize = formatSizeDefault,
|
|
19728
19728
|
placeholder = "Select file...",
|
|
19729
19729
|
className,
|
|
19730
|
+
custom,
|
|
19730
19731
|
dropAreaClassName,
|
|
19731
19732
|
listClassName,
|
|
19732
19733
|
triggerClassName,
|
|
@@ -19838,7 +19839,7 @@ var ShadcnFileVariant = React68__namespace.forwardRef(function ShadcnFileVariant
|
|
|
19838
19839
|
const openPicker = React68__namespace.useCallback(async () => {
|
|
19839
19840
|
var _a;
|
|
19840
19841
|
if (isDisabled) return;
|
|
19841
|
-
let resolvedLoader = customLoader != null ? customLoader : getPaletteUtil("customLoader");
|
|
19842
|
+
let resolvedLoader = customLoader != null ? customLoader : custom && getPaletteUtil("customLoader");
|
|
19842
19843
|
if (resolvedLoader) {
|
|
19843
19844
|
try {
|
|
19844
19845
|
const result = await resolvedLoader({ multiple, current: items, allowedTypes: toArray(accept) });
|