formica-ui-lib 1.0.221 → 1.0.222
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/componentProps/molecules/selectors/radiobuttons/RadioButtonsProps.d.ts +2 -0
- package/dist/componentProps/molecules/selectors/segmentedcontrol/SegmentedControlProps.d.ts +2 -0
- package/dist/componentProps/templates/logintemplate/LoginTemplateProps.d.ts +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +56 -38
- package/dist/tailwind.css +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SegmentedControlVisualVariant } from "../segmentedcontrol/SegmentedControlProps";
|
|
1
2
|
export type RadioButtonsOption = string;
|
|
2
3
|
export interface RadioButtonsProps {
|
|
3
4
|
options: RadioButtonsOption[];
|
|
@@ -9,4 +10,5 @@ export interface RadioButtonsProps {
|
|
|
9
10
|
className?: string;
|
|
10
11
|
containerClassName?: string;
|
|
11
12
|
buttonClassName?: string;
|
|
13
|
+
visualVariant?: SegmentedControlVisualVariant;
|
|
12
14
|
}
|
|
@@ -4,11 +4,13 @@ export type SegmentedControlItem = {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
};
|
|
6
6
|
export type SegmentedControlLayoutVariant = "content" | "equalWidth";
|
|
7
|
+
export type SegmentedControlVisualVariant = "default" | "brandBar";
|
|
7
8
|
export type SegmentedControlProps = {
|
|
8
9
|
items: SegmentedControlItem[];
|
|
9
10
|
selectedId?: string;
|
|
10
11
|
onSelect?: (id: string) => void;
|
|
11
12
|
layoutVariant?: SegmentedControlLayoutVariant;
|
|
13
|
+
visualVariant?: SegmentedControlVisualVariant;
|
|
12
14
|
className?: string;
|
|
13
15
|
buttonClassName?: string;
|
|
14
16
|
disabled?: boolean;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type { AccountAccessPanelData, AccountAccessPanelErrors, AccountAccessPanelMode, AccountAccessPanelProps, AccountAccessPanelUserTypeOption, AccountAccessPanelUserTypeValue } from "../../organisms/account/AccountAccessPanelProps";
|
|
2
|
+
import type { ImageProps } from "../../atoms/image/ImageProps";
|
|
2
3
|
export type LoginTemplateMode = AccountAccessPanelMode;
|
|
3
4
|
export type LoginTemplateUserTypeValue = AccountAccessPanelUserTypeValue;
|
|
4
5
|
export type LoginTemplateUserTypeOption = AccountAccessPanelUserTypeOption;
|
|
5
6
|
export type LoginTemplateErrors = AccountAccessPanelErrors;
|
|
6
7
|
export type LoginTemplateData = AccountAccessPanelData;
|
|
8
|
+
export type LoginTemplateImage = Pick<ImageProps, "src" | "alt" | "fit" | "useNetlifyImages"> & {
|
|
9
|
+
quality?: ImageProps["quality"];
|
|
10
|
+
};
|
|
7
11
|
export type LoginTemplateProps = Omit<AccountAccessPanelProps, "actionLabels" | "onSecondaryClick"> & {
|
|
12
|
+
loginImage?: LoginTemplateImage;
|
|
8
13
|
onCancelClick?: () => void;
|
|
9
14
|
};
|