@timeax/form-palette 0.0.32 → 0.0.34
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.map +1 -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.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{variant-jHi2M5Ru.d.mts → variant-DK7UrSwZ.d.mts} +5 -5
- package/dist/{variant-BhsBO5Yr.d.ts → variant-Dk9A4ceE.d.ts} +5 -5
- package/package.json +1 -1
|
@@ -1840,7 +1840,7 @@ type Density = "default" | "dense";
|
|
|
1840
1840
|
* This uses Switch as the underlying control, but we keep
|
|
1841
1841
|
* the API surface small and focused.
|
|
1842
1842
|
*/
|
|
1843
|
-
interface ShadcnToggleUiProps extends Omit<React.ComponentProps<typeof Switch>, "checked" | "onCheckedChange" | "className"> {
|
|
1843
|
+
interface ShadcnToggleUiProps extends Omit<React.ComponentProps<typeof Switch>, "checked" | "onCheckedChange" | "className" | 'defaultValue' | 'onChange'> {
|
|
1844
1844
|
/**
|
|
1845
1845
|
* Visual size of the switch / text.
|
|
1846
1846
|
* Default: "md".
|
|
@@ -4088,8 +4088,8 @@ type ListerSearchPayload = {
|
|
|
4088
4088
|
};
|
|
4089
4089
|
|
|
4090
4090
|
type ListerFieldBaseProps<TValue> = {
|
|
4091
|
-
value
|
|
4092
|
-
onValue
|
|
4091
|
+
value?: TValue;
|
|
4092
|
+
onValue?: (next: TValue, detail?: any) => void;
|
|
4093
4093
|
disabled?: boolean;
|
|
4094
4094
|
readOnly?: boolean;
|
|
4095
4095
|
className?: string;
|
|
@@ -4119,7 +4119,7 @@ type ListerTriggerRenderCtx<TRaw extends Record<string, any>, TValue extends Lis
|
|
|
4119
4119
|
clear(): void;
|
|
4120
4120
|
open(): void;
|
|
4121
4121
|
};
|
|
4122
|
-
type ListerVariantProps<P extends PresetMap = PresetMap, TRaw extends Record<string, any> = any, TValue extends ListerId = any, TFilters extends Record<string, any> = Record<string, any>, TMeta = any,
|
|
4122
|
+
type ListerVariantProps<TMode extends ListerMode, P extends PresetMap = PresetMap, TRaw extends Record<string, any> = any, TValue extends ListerId = any, TFilters extends Record<string, any> = Record<string, any>, TMeta = any, TCtx = any, TSearchColumn extends string = string> = ListerFieldBaseProps<ListerValueForMode<TValue, TMode>> & {
|
|
4123
4123
|
host?: ListerProviderHost;
|
|
4124
4124
|
presets?: P;
|
|
4125
4125
|
remoteDebounceMs?: number;
|
|
@@ -4234,7 +4234,7 @@ interface Variants<H = unknown> {
|
|
|
4234
4234
|
file: VariantEntry<FileLike, ShadcnFileVariantProps>;
|
|
4235
4235
|
editor: VariantEntry<string | undefined, ShadcnEditorVariantProps>;
|
|
4236
4236
|
'json-editor': VariantEntry<JsonObject | undefined, ShadcnJsonEditorProps>;
|
|
4237
|
-
lister: VariantEntry<any | undefined, ListerVariantProps
|
|
4237
|
+
lister: VariantEntry<any | undefined, ListerVariantProps<any>>;
|
|
4238
4238
|
}
|
|
4239
4239
|
/**
|
|
4240
4240
|
* Union of all variant keys.
|
|
@@ -1840,7 +1840,7 @@ type Density = "default" | "dense";
|
|
|
1840
1840
|
* This uses Switch as the underlying control, but we keep
|
|
1841
1841
|
* the API surface small and focused.
|
|
1842
1842
|
*/
|
|
1843
|
-
interface ShadcnToggleUiProps extends Omit<React.ComponentProps<typeof Switch>, "checked" | "onCheckedChange" | "className"> {
|
|
1843
|
+
interface ShadcnToggleUiProps extends Omit<React.ComponentProps<typeof Switch>, "checked" | "onCheckedChange" | "className" | 'defaultValue' | 'onChange'> {
|
|
1844
1844
|
/**
|
|
1845
1845
|
* Visual size of the switch / text.
|
|
1846
1846
|
* Default: "md".
|
|
@@ -4088,8 +4088,8 @@ type ListerSearchPayload = {
|
|
|
4088
4088
|
};
|
|
4089
4089
|
|
|
4090
4090
|
type ListerFieldBaseProps<TValue> = {
|
|
4091
|
-
value
|
|
4092
|
-
onValue
|
|
4091
|
+
value?: TValue;
|
|
4092
|
+
onValue?: (next: TValue, detail?: any) => void;
|
|
4093
4093
|
disabled?: boolean;
|
|
4094
4094
|
readOnly?: boolean;
|
|
4095
4095
|
className?: string;
|
|
@@ -4119,7 +4119,7 @@ type ListerTriggerRenderCtx<TRaw extends Record<string, any>, TValue extends Lis
|
|
|
4119
4119
|
clear(): void;
|
|
4120
4120
|
open(): void;
|
|
4121
4121
|
};
|
|
4122
|
-
type ListerVariantProps<P extends PresetMap = PresetMap, TRaw extends Record<string, any> = any, TValue extends ListerId = any, TFilters extends Record<string, any> = Record<string, any>, TMeta = any,
|
|
4122
|
+
type ListerVariantProps<TMode extends ListerMode, P extends PresetMap = PresetMap, TRaw extends Record<string, any> = any, TValue extends ListerId = any, TFilters extends Record<string, any> = Record<string, any>, TMeta = any, TCtx = any, TSearchColumn extends string = string> = ListerFieldBaseProps<ListerValueForMode<TValue, TMode>> & {
|
|
4123
4123
|
host?: ListerProviderHost;
|
|
4124
4124
|
presets?: P;
|
|
4125
4125
|
remoteDebounceMs?: number;
|
|
@@ -4234,7 +4234,7 @@ interface Variants<H = unknown> {
|
|
|
4234
4234
|
file: VariantEntry<FileLike, ShadcnFileVariantProps>;
|
|
4235
4235
|
editor: VariantEntry<string | undefined, ShadcnEditorVariantProps>;
|
|
4236
4236
|
'json-editor': VariantEntry<JsonObject | undefined, ShadcnJsonEditorProps>;
|
|
4237
|
-
lister: VariantEntry<any | undefined, ListerVariantProps
|
|
4237
|
+
lister: VariantEntry<any | undefined, ListerVariantProps<any>>;
|
|
4238
4238
|
}
|
|
4239
4239
|
/**
|
|
4240
4240
|
* Union of all variant keys.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@timeax/form-palette",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.34",
|
|
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",
|