@homebound/beam 2.382.0 → 2.383.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/index.cjs +169 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +257 -141
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6474,6 +6474,7 @@ interface CheckboxGroupItemOption {
|
|
|
6474
6474
|
}
|
|
6475
6475
|
interface CheckboxGroupProps extends Pick<PresentationFieldProps, "labelStyle"> {
|
|
6476
6476
|
label: string;
|
|
6477
|
+
required?: boolean;
|
|
6477
6478
|
/** Called when a checkbox is selected or deselected */
|
|
6478
6479
|
onChange: (values: string[]) => void;
|
|
6479
6480
|
/** Options for the checkboxes contained within the CheckboxGroup. */
|
|
@@ -6941,6 +6942,7 @@ interface ToggleChipGroupProps extends Pick<PresentationFieldProps, "labelStyle"
|
|
|
6941
6942
|
label: string;
|
|
6942
6943
|
options: ToggleChipItemProps[];
|
|
6943
6944
|
values: string[];
|
|
6945
|
+
required?: boolean;
|
|
6944
6946
|
onChange: (values: string[]) => void;
|
|
6945
6947
|
xss?: ToggleChipXss;
|
|
6946
6948
|
}
|
|
@@ -7605,11 +7607,12 @@ type HeaderBreadcrumb = {
|
|
|
7605
7607
|
label: string;
|
|
7606
7608
|
};
|
|
7607
7609
|
|
|
7608
|
-
type
|
|
7610
|
+
type FormSection<F> = {
|
|
7609
7611
|
title?: string;
|
|
7610
7612
|
icon?: IconKey;
|
|
7611
7613
|
rows: BoundFormInputConfig<F>;
|
|
7612
|
-
}
|
|
7614
|
+
};
|
|
7615
|
+
type FormSectionConfig<F> = FormSection<F>[];
|
|
7613
7616
|
type ActionButtonProps = Pick<ButtonProps, "onClick" | "label" | "disabled" | "tooltip">;
|
|
7614
7617
|
type FormPageLayoutProps<F> = {
|
|
7615
7618
|
pageTitle: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -6474,6 +6474,7 @@ interface CheckboxGroupItemOption {
|
|
|
6474
6474
|
}
|
|
6475
6475
|
interface CheckboxGroupProps extends Pick<PresentationFieldProps, "labelStyle"> {
|
|
6476
6476
|
label: string;
|
|
6477
|
+
required?: boolean;
|
|
6477
6478
|
/** Called when a checkbox is selected or deselected */
|
|
6478
6479
|
onChange: (values: string[]) => void;
|
|
6479
6480
|
/** Options for the checkboxes contained within the CheckboxGroup. */
|
|
@@ -6941,6 +6942,7 @@ interface ToggleChipGroupProps extends Pick<PresentationFieldProps, "labelStyle"
|
|
|
6941
6942
|
label: string;
|
|
6942
6943
|
options: ToggleChipItemProps[];
|
|
6943
6944
|
values: string[];
|
|
6945
|
+
required?: boolean;
|
|
6944
6946
|
onChange: (values: string[]) => void;
|
|
6945
6947
|
xss?: ToggleChipXss;
|
|
6946
6948
|
}
|
|
@@ -7605,11 +7607,12 @@ type HeaderBreadcrumb = {
|
|
|
7605
7607
|
label: string;
|
|
7606
7608
|
};
|
|
7607
7609
|
|
|
7608
|
-
type
|
|
7610
|
+
type FormSection<F> = {
|
|
7609
7611
|
title?: string;
|
|
7610
7612
|
icon?: IconKey;
|
|
7611
7613
|
rows: BoundFormInputConfig<F>;
|
|
7612
|
-
}
|
|
7614
|
+
};
|
|
7615
|
+
type FormSectionConfig<F> = FormSection<F>[];
|
|
7613
7616
|
type ActionButtonProps = Pick<ButtonProps, "onClick" | "label" | "disabled" | "tooltip">;
|
|
7614
7617
|
type FormPageLayoutProps<F> = {
|
|
7615
7618
|
pageTitle: string;
|