akeyless-client-commons 1.0.132 → 1.0.134

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.
@@ -117,6 +117,20 @@ interface SearchSelectOptions extends Record<string, string> {
117
117
  label: string;
118
118
  }
119
119
 
120
+ interface CheckBoxProps {
121
+ rotate?: boolean;
122
+ circleClassName?: string;
123
+ containerClassName?: string;
124
+ elementClassName?: string;
125
+ setChecked?: (v: boolean) => void;
126
+ checked?: boolean;
127
+ className?: string;
128
+ name?: string;
129
+ id?: string;
130
+ props?: ComponentProps<"label">;
131
+ title?: string;
132
+ }
133
+
120
134
  interface BaseElementProps {
121
135
  name?: string;
122
136
  labelContent?: string;
@@ -129,6 +143,10 @@ interface BaseElementProps {
129
143
  validationError?: string;
130
144
  direction?: Direction;
131
145
  labelsCommonClassName?: string;
146
+ title?: string;
147
+ }
148
+ interface CheckboxContainerProps extends Omit<BaseElementProps, "minLength" | "validationError">, CheckBoxProps {
149
+ type?: "checkbox";
132
150
  }
133
151
  interface InputElement extends BaseElementProps {
134
152
  type: "input";
@@ -244,7 +262,7 @@ interface SelectContainerProps extends Partial<SelectElement> {
244
262
  }
245
263
  interface TextAreaContainerProps extends Partial<TextAreaElement> {
246
264
  }
247
- type FormElement = InputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps;
265
+ type FormElement = InputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps;
248
266
  interface ModularFormProps {
249
267
  submitFunction: (form: React.FormEvent<HTMLFormElement>) => Promise<void>;
250
268
  elements: FormElement[];
@@ -285,4 +303,4 @@ interface DatePickerProps {
285
303
  buttonText?: string;
286
304
  }
287
305
 
288
- export type { AppName, BaseElementProps, ConfirmFormProps, CustomElementProps, DatePickerProps, Direction, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
306
+ export type { AppName, BaseElementProps, CheckboxContainerProps, ConfirmFormProps, CustomElementProps, DatePickerProps, Direction, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
@@ -117,6 +117,20 @@ interface SearchSelectOptions extends Record<string, string> {
117
117
  label: string;
118
118
  }
119
119
 
120
+ interface CheckBoxProps {
121
+ rotate?: boolean;
122
+ circleClassName?: string;
123
+ containerClassName?: string;
124
+ elementClassName?: string;
125
+ setChecked?: (v: boolean) => void;
126
+ checked?: boolean;
127
+ className?: string;
128
+ name?: string;
129
+ id?: string;
130
+ props?: ComponentProps<"label">;
131
+ title?: string;
132
+ }
133
+
120
134
  interface BaseElementProps {
121
135
  name?: string;
122
136
  labelContent?: string;
@@ -129,6 +143,10 @@ interface BaseElementProps {
129
143
  validationError?: string;
130
144
  direction?: Direction;
131
145
  labelsCommonClassName?: string;
146
+ title?: string;
147
+ }
148
+ interface CheckboxContainerProps extends Omit<BaseElementProps, "minLength" | "validationError">, CheckBoxProps {
149
+ type?: "checkbox";
132
150
  }
133
151
  interface InputElement extends BaseElementProps {
134
152
  type: "input";
@@ -244,7 +262,7 @@ interface SelectContainerProps extends Partial<SelectElement> {
244
262
  }
245
263
  interface TextAreaContainerProps extends Partial<TextAreaElement> {
246
264
  }
247
- type FormElement = InputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps;
265
+ type FormElement = InputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps;
248
266
  interface ModularFormProps {
249
267
  submitFunction: (form: React.FormEvent<HTMLFormElement>) => Promise<void>;
250
268
  elements: FormElement[];
@@ -285,4 +303,4 @@ interface DatePickerProps {
285
303
  buttonText?: string;
286
304
  }
287
305
 
288
- export type { AppName, BaseElementProps, ConfirmFormProps, CustomElementProps, DatePickerProps, Direction, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
306
+ export type { AppName, BaseElementProps, CheckboxContainerProps, ConfirmFormProps, CustomElementProps, DatePickerProps, Direction, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akeyless-client-commons",
3
- "version": "1.0.132",
3
+ "version": "1.0.134",
4
4
  "scripts": {
5
5
  "build": "tsup",
6
6
  "deploy": "npm run build && npm version patch --no-git-tag-version && npm publish",