@glasshome/ui 1.37.2 → 1.38.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.
- package/SPEC.md +1 -0
- package/dist/index.js +2 -2
- package/dist/lib/busy.d.ts +5 -0
- package/dist/lib/layers.d.ts +4 -0
- package/dist/solid/button.d.ts +4 -1
- package/dist/solid/dialog-parts.d.ts +4 -1
- package/dist/solid/index.js +4909 -4904
- package/dist/solid/option-card.d.ts +2 -0
- package/dist/solid/radio-group.d.ts +1 -0
- package/dist/{utils-Duqv3Sgo.js → utils-DXEj_oXa.js} +637 -637
- package/package.json +4 -1
- package/src/lib/busy.ts +5 -0
- package/src/lib/button-variants.ts +1 -1
- package/src/lib/layers.ts +5 -0
- package/src/solid/button.tsx +9 -3
- package/src/solid/data-table.tsx +1 -6
- package/src/solid/dialog-parts.tsx +7 -2
- package/src/solid/image-picker.tsx +1 -3
- package/src/solid/option-card.tsx +4 -1
- package/src/solid/popover.tsx +2 -1
- package/src/solid/radio-group.tsx +4 -3
- package/src/solid/select.tsx +2 -1
|
@@ -28,6 +28,8 @@ export declare function OptionCard(props: {
|
|
|
28
28
|
* which the group's `onChange` alone never reports. */
|
|
29
29
|
onPick?: () => void;
|
|
30
30
|
disabled?: boolean;
|
|
31
|
+
/** Picks do nothing while the pick's work runs; unlike `disabled` it keeps focus. */
|
|
32
|
+
busy?: boolean;
|
|
31
33
|
class?: string;
|
|
32
34
|
/** The current sub-option (an OptionChoice value). */
|
|
33
35
|
subValue?: string;
|
|
@@ -3,6 +3,7 @@ import { type Component, type ComponentProps } from "solid-js";
|
|
|
3
3
|
declare const RadioGroup: Component<ComponentProps<typeof RadioGroupPrimitive>>;
|
|
4
4
|
declare const RadioGroupItem: Component<ComponentProps<typeof RadioGroupPrimitive.Item> & {
|
|
5
5
|
showControl?: boolean;
|
|
6
|
+
busy?: boolean;
|
|
6
7
|
}>;
|
|
7
8
|
declare function isItemActivation(event: MouseEvent): boolean;
|
|
8
9
|
export { isItemActivation, RadioGroup, RadioGroupItem };
|