@solace-health/ui 0.10.89 → 0.10.91
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 +198 -196
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -9
- package/dist/index.d.ts +12 -9
- package/dist/index.js +166 -164
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -738,6 +738,14 @@ declare type ProviderProps = {
|
|
|
738
738
|
};
|
|
739
739
|
declare const SolaceThemeProvider: ({ children, theme, }: ProviderProps) => react_jsx_runtime.JSX.Element;
|
|
740
740
|
|
|
741
|
+
declare enum FormatType {
|
|
742
|
+
Phone = "phone",
|
|
743
|
+
Currency = "currency",
|
|
744
|
+
Email = "email",
|
|
745
|
+
Zipcode = "zipcode",
|
|
746
|
+
ShortDate = "shortDate"
|
|
747
|
+
}
|
|
748
|
+
|
|
741
749
|
declare const _default$3: {
|
|
742
750
|
ButtonRadioGroup: ({ name, label, className, options, onClick, formOptions, }: {
|
|
743
751
|
name: string;
|
|
@@ -876,13 +884,15 @@ declare const _default$3: {
|
|
|
876
884
|
format?: string | unknown[] | undefined;
|
|
877
885
|
errorMessage?: string | undefined;
|
|
878
886
|
}) => react_jsx_runtime.JSX.Element;
|
|
879
|
-
Text: ({ name, label, details, formOptions, textArea, isLabelBold, errorMessage, ...inputProps }: {
|
|
887
|
+
Text: ({ name, label, details, formOptions, pattern, textArea, password, isLabelBold, errorMessage, ...inputProps }: {
|
|
880
888
|
[inputProps: string]: unknown;
|
|
881
889
|
name: string;
|
|
882
890
|
label?: string | JSX.Element | null | undefined;
|
|
891
|
+
pattern?: RegExp | FormatType | undefined;
|
|
883
892
|
details?: string | null | undefined;
|
|
884
893
|
formOptions?: react_hook_form.RegisterOptions<FieldValues, string> | undefined;
|
|
885
894
|
textArea?: boolean | undefined;
|
|
895
|
+
password?: boolean | undefined;
|
|
886
896
|
isLabelBold?: boolean | undefined;
|
|
887
897
|
errorMessage?: string | undefined;
|
|
888
898
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -1070,18 +1080,11 @@ declare const _default$3: {
|
|
|
1070
1080
|
} & antd.UploadProps<any>) => react_jsx_runtime.JSX.Element;
|
|
1071
1081
|
};
|
|
1072
1082
|
|
|
1073
|
-
declare enum FormatType {
|
|
1074
|
-
Phone = "phone",
|
|
1075
|
-
Currency = "currency",
|
|
1076
|
-
Email = "email",
|
|
1077
|
-
Zipcode = "zipcode",
|
|
1078
|
-
ShortDate = "shortDate"
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
1083
|
declare const _default$2: {
|
|
1082
1084
|
Area: ({ ...inputProps }: antd.InputProps) => react_jsx_runtime.JSX.Element;
|
|
1083
1085
|
Text: ({ ...inputProps }: antd.InputProps) => react_jsx_runtime.JSX.Element;
|
|
1084
1086
|
Number: ({ ...inputProps }: antd.InputNumberProps<rc_input_number.ValueType>) => react_jsx_runtime.JSX.Element;
|
|
1087
|
+
Password: ({ ...inputProps }: antd.InputProps) => react_jsx_runtime.JSX.Element;
|
|
1085
1088
|
};
|
|
1086
1089
|
|
|
1087
1090
|
declare type NavigationMenuProps = {
|
package/dist/index.d.ts
CHANGED
|
@@ -738,6 +738,14 @@ declare type ProviderProps = {
|
|
|
738
738
|
};
|
|
739
739
|
declare const SolaceThemeProvider: ({ children, theme, }: ProviderProps) => react_jsx_runtime.JSX.Element;
|
|
740
740
|
|
|
741
|
+
declare enum FormatType {
|
|
742
|
+
Phone = "phone",
|
|
743
|
+
Currency = "currency",
|
|
744
|
+
Email = "email",
|
|
745
|
+
Zipcode = "zipcode",
|
|
746
|
+
ShortDate = "shortDate"
|
|
747
|
+
}
|
|
748
|
+
|
|
741
749
|
declare const _default$3: {
|
|
742
750
|
ButtonRadioGroup: ({ name, label, className, options, onClick, formOptions, }: {
|
|
743
751
|
name: string;
|
|
@@ -876,13 +884,15 @@ declare const _default$3: {
|
|
|
876
884
|
format?: string | unknown[] | undefined;
|
|
877
885
|
errorMessage?: string | undefined;
|
|
878
886
|
}) => react_jsx_runtime.JSX.Element;
|
|
879
|
-
Text: ({ name, label, details, formOptions, textArea, isLabelBold, errorMessage, ...inputProps }: {
|
|
887
|
+
Text: ({ name, label, details, formOptions, pattern, textArea, password, isLabelBold, errorMessage, ...inputProps }: {
|
|
880
888
|
[inputProps: string]: unknown;
|
|
881
889
|
name: string;
|
|
882
890
|
label?: string | JSX.Element | null | undefined;
|
|
891
|
+
pattern?: RegExp | FormatType | undefined;
|
|
883
892
|
details?: string | null | undefined;
|
|
884
893
|
formOptions?: react_hook_form.RegisterOptions<FieldValues, string> | undefined;
|
|
885
894
|
textArea?: boolean | undefined;
|
|
895
|
+
password?: boolean | undefined;
|
|
886
896
|
isLabelBold?: boolean | undefined;
|
|
887
897
|
errorMessage?: string | undefined;
|
|
888
898
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -1070,18 +1080,11 @@ declare const _default$3: {
|
|
|
1070
1080
|
} & antd.UploadProps<any>) => react_jsx_runtime.JSX.Element;
|
|
1071
1081
|
};
|
|
1072
1082
|
|
|
1073
|
-
declare enum FormatType {
|
|
1074
|
-
Phone = "phone",
|
|
1075
|
-
Currency = "currency",
|
|
1076
|
-
Email = "email",
|
|
1077
|
-
Zipcode = "zipcode",
|
|
1078
|
-
ShortDate = "shortDate"
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
1083
|
declare const _default$2: {
|
|
1082
1084
|
Area: ({ ...inputProps }: antd.InputProps) => react_jsx_runtime.JSX.Element;
|
|
1083
1085
|
Text: ({ ...inputProps }: antd.InputProps) => react_jsx_runtime.JSX.Element;
|
|
1084
1086
|
Number: ({ ...inputProps }: antd.InputNumberProps<rc_input_number.ValueType>) => react_jsx_runtime.JSX.Element;
|
|
1087
|
+
Password: ({ ...inputProps }: antd.InputProps) => react_jsx_runtime.JSX.Element;
|
|
1085
1088
|
};
|
|
1086
1089
|
|
|
1087
1090
|
declare type NavigationMenuProps = {
|