akeyless-client-commons 1.1.93 → 1.1.95

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.
@@ -175,6 +175,16 @@ interface InputElement extends BaseElementProps {
175
175
  placeholder?: string;
176
176
  props?: React.InputHTMLAttributes<HTMLInputElement>;
177
177
  }
178
+ interface DateInputElement extends BaseElementProps {
179
+ type: "dateInput";
180
+ defaultValue?: string;
181
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
182
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
183
+ value?: string;
184
+ placeholder?: string;
185
+ props?: React.InputHTMLAttributes<HTMLInputElement>;
186
+ calendarIconClassName?: string;
187
+ }
178
188
  interface TextAreaElement extends BaseElementProps {
179
189
  type: "textarea";
180
190
  defaultValue?: string;
@@ -279,6 +289,8 @@ interface FormSeparatorProps {
279
289
  }
280
290
  interface InputContainerProps extends Partial<InputElement> {
281
291
  }
292
+ interface DateInputContainerProps extends Partial<DateInputElement> {
293
+ }
282
294
  interface SelectContainerProps extends Partial<SelectElement> {
283
295
  }
284
296
  interface TextAreaContainerProps extends Partial<TextAreaElement> {
@@ -297,7 +309,7 @@ interface DurationInputProps extends BaseElementProps {
297
309
  hideLabels?: boolean;
298
310
  options?: DurationInputOption[];
299
311
  }
300
- type FormElement = InputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
312
+ type FormElement = InputElement | DateInputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
301
313
  interface ModularFormProps {
302
314
  submitFunction: (form: React.FormEvent<HTMLFormElement>, clickEvent?: MouseEvent) => Promise<void>;
303
315
  elements: FormElement[];
@@ -349,4 +361,4 @@ interface DatePickerProps {
349
361
  calendarClassName?: string;
350
362
  }
351
363
 
352
- export type { AppName, BaseElementProps, CheckboxContainerProps, ConfirmFormProps, CustomElementProps, DatePickerProps, Direction, DurationInputOption, DurationInputProps, DurationValues, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
364
+ export type { AppName, BaseElementProps, CheckboxContainerProps, ConfirmFormProps, CustomElementProps, DateInputContainerProps, DateInputElement, DatePickerProps, Direction, DurationInputOption, DurationInputProps, DurationValues, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
@@ -175,6 +175,16 @@ interface InputElement extends BaseElementProps {
175
175
  placeholder?: string;
176
176
  props?: React.InputHTMLAttributes<HTMLInputElement>;
177
177
  }
178
+ interface DateInputElement extends BaseElementProps {
179
+ type: "dateInput";
180
+ defaultValue?: string;
181
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
182
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
183
+ value?: string;
184
+ placeholder?: string;
185
+ props?: React.InputHTMLAttributes<HTMLInputElement>;
186
+ calendarIconClassName?: string;
187
+ }
178
188
  interface TextAreaElement extends BaseElementProps {
179
189
  type: "textarea";
180
190
  defaultValue?: string;
@@ -279,6 +289,8 @@ interface FormSeparatorProps {
279
289
  }
280
290
  interface InputContainerProps extends Partial<InputElement> {
281
291
  }
292
+ interface DateInputContainerProps extends Partial<DateInputElement> {
293
+ }
282
294
  interface SelectContainerProps extends Partial<SelectElement> {
283
295
  }
284
296
  interface TextAreaContainerProps extends Partial<TextAreaElement> {
@@ -297,7 +309,7 @@ interface DurationInputProps extends BaseElementProps {
297
309
  hideLabels?: boolean;
298
310
  options?: DurationInputOption[];
299
311
  }
300
- type FormElement = InputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
312
+ type FormElement = InputElement | DateInputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
301
313
  interface ModularFormProps {
302
314
  submitFunction: (form: React.FormEvent<HTMLFormElement>, clickEvent?: MouseEvent) => Promise<void>;
303
315
  elements: FormElement[];
@@ -349,4 +361,4 @@ interface DatePickerProps {
349
361
  calendarClassName?: string;
350
362
  }
351
363
 
352
- export type { AppName, BaseElementProps, CheckboxContainerProps, ConfirmFormProps, CustomElementProps, DatePickerProps, Direction, DurationInputOption, DurationInputProps, DurationValues, FormElement, FormSeparatorProps, InputContainerProps, InputElement, InternationalInputProps, LoginOption, ModularFormProps, ModularPopUp, MultiSelectProps, OnSnapshotCallback, OnSnapshotConfig, OnSnapshotConfigDocument, OnSnapshotParsers, SelectContainerProps, SelectElement, SelectWithSearchProps, SetState, Snapshot, SnapshotDocument, SnapshotResult, TextAreaContainerProps, TextAreaElement, WhereCondition };
364
+ export type { AppName, BaseElementProps, CheckboxContainerProps, ConfirmFormProps, CustomElementProps, DateInputContainerProps, DateInputElement, DatePickerProps, Direction, DurationInputOption, DurationInputProps, DurationValues, 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.1.93",
3
+ "version": "1.1.95",
4
4
  "scripts": {
5
5
  "build": "tsup",
6
6
  "deploy": "npm run build && npm version patch --no-git-tag-version && npm publish",