@lax-wp/design-system 0.3.40 → 0.3.42
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/components/forms/base-input-field/BaseInputField.d.ts +0 -4
- package/dist/components/forms/customizable-select-field/CustomizableSelectField.d.ts +18 -4
- package/dist/components/forms/select-field/SelectField.d.ts +0 -2
- package/dist/components/forms/text-area-field/TextAreaField.d.ts +0 -4
- package/dist/components/icons/Required.d.ts +3 -0
- package/dist/index.es.js +7136 -7143
- package/dist/index.umd.js +50 -50
- package/package.json +1 -1
|
@@ -100,10 +100,6 @@ export type TBaseInputFieldProps = any & {
|
|
|
100
100
|
isRiskAnalysisOpen?: boolean;
|
|
101
101
|
/** Custom risk details card component */
|
|
102
102
|
RiskDetailsCard?: React.ComponentType<RiskDetailsCardProps>;
|
|
103
|
-
/** Required indicator component */
|
|
104
|
-
RequiredIndicator?: React.ComponentType<{
|
|
105
|
-
isConditional?: boolean;
|
|
106
|
-
}>;
|
|
107
103
|
/** Handler for adding GTN to document */
|
|
108
104
|
onAddGTNToDocument?: (keyValuePair: {
|
|
109
105
|
key: string;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
interface ColorShades {
|
|
2
|
+
50: string;
|
|
3
|
+
100: string;
|
|
4
|
+
200: string;
|
|
5
|
+
300: string;
|
|
6
|
+
400: string;
|
|
7
|
+
500: string;
|
|
8
|
+
600: string;
|
|
9
|
+
700: string;
|
|
10
|
+
800: string;
|
|
11
|
+
850: string;
|
|
12
|
+
900: string;
|
|
13
|
+
950: string;
|
|
14
|
+
975: string;
|
|
15
|
+
}
|
|
1
16
|
/**
|
|
2
17
|
* Option type for CustomizableSelectField
|
|
3
18
|
*/
|
|
@@ -67,9 +82,7 @@ export interface CustomizableSelectFieldProps {
|
|
|
67
82
|
/** Whether dark mode is enabled */
|
|
68
83
|
isDark?: boolean;
|
|
69
84
|
/** Primary color shades for styling */
|
|
70
|
-
primaryColorShades?:
|
|
71
|
-
/** Required indicator component */
|
|
72
|
-
RequiredIndicator?: React.ComponentType;
|
|
85
|
+
primaryColorShades?: ColorShades;
|
|
73
86
|
/** Additional props */
|
|
74
87
|
[key: string]: any;
|
|
75
88
|
}
|
|
@@ -107,6 +120,7 @@ export interface CustomizableSelectFieldProps {
|
|
|
107
120
|
* ```
|
|
108
121
|
*/
|
|
109
122
|
export declare const CustomizableSelectField: {
|
|
110
|
-
({ id, label, options, placeholder, onChange, isLoading, hideLabel, errorMessage, required, optionConfig, menuConfig, value, isMulti, isClearable, disabled, className, isDark, primaryColorShades,
|
|
123
|
+
({ id, label, options, placeholder, onChange, isLoading, hideLabel, errorMessage, required, optionConfig, menuConfig, value, isMulti, isClearable, disabled, className, isDark, primaryColorShades, }: CustomizableSelectFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
111
124
|
displayName: string;
|
|
112
125
|
};
|
|
126
|
+
export {};
|
|
@@ -110,8 +110,6 @@ export interface SelectFieldProps extends Omit<SelectProps, 'onChange'> {
|
|
|
110
110
|
isRiskAnalysisOpen?: boolean;
|
|
111
111
|
/** Custom risk details card component */
|
|
112
112
|
RiskDetailsCard?: React.ComponentType<RiskDetailsCardProps>;
|
|
113
|
-
/** Required indicator component */
|
|
114
|
-
RequiredIndicator?: React.ComponentType;
|
|
115
113
|
/** Add to document icon component */
|
|
116
114
|
AddToDocumentIcon?: React.ComponentType<{
|
|
117
115
|
fontSize?: number;
|
|
@@ -78,10 +78,6 @@ export interface TextAreaFieldProps extends Omit<React.TextareaHTMLAttributes<HT
|
|
|
78
78
|
isRiskAnalysisOpen?: boolean;
|
|
79
79
|
/** Custom risk details card component */
|
|
80
80
|
RiskDetailsCard?: React.ComponentType<RiskDetailsCardProps<any>>;
|
|
81
|
-
/** Required indicator component */
|
|
82
|
-
RequiredIndicator?: React.ComponentType<{
|
|
83
|
-
isConditional?: boolean;
|
|
84
|
-
}>;
|
|
85
81
|
/** Handler for adding GTN to document */
|
|
86
82
|
onAddGTNToDocument?: (keyValuePair: {
|
|
87
83
|
key: string;
|