@glasshome/ui 1.13.0 → 1.15.0

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.
@@ -0,0 +1,11 @@
1
+ import { type JSX } from "solid-js";
2
+ export interface PickerTriggerProps extends Omit<JSX.ButtonHTMLAttributes<HTMLButtonElement>, "onClick"> {
3
+ /** data-slot for the button, so each picker keeps its own test and style hook. */
4
+ slot: string;
5
+ open: boolean;
6
+ onToggle: () => void;
7
+ /** Passed only when there is a value to drop: its presence paints the clear button. */
8
+ onClear?: () => void;
9
+ clearLabel?: string;
10
+ }
11
+ export declare function PickerTrigger(props: PickerTriggerProps): JSX.Element;
@@ -40,7 +40,7 @@ export declare function extractItemDefaults(schema: ExtendedJSONSchema): Record<
40
40
  */
41
41
  export declare function switchVariantValue(branch: ExtendedJSONSchema, discriminator: string, kind: string, current: Record<string, unknown>): Record<string, unknown>;
42
42
  interface SchemaFormProps {
43
- schema: JSONSchema7;
43
+ schema: ExtendedJSONSchema;
44
44
  data: Record<string, unknown>;
45
45
  onChange: (data: Record<string, unknown>) => void;
46
46
  errors?: string[];