akeyless-client-commons 1.1.94 → 1.1.96

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,19 @@ 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
+ container1ClassName?: string;
188
+ container2ClassName?: string;
189
+ inputClassName?: string;
190
+ }
178
191
  interface TextAreaElement extends BaseElementProps {
179
192
  type: "textarea";
180
193
  defaultValue?: string;
@@ -279,6 +292,8 @@ interface FormSeparatorProps {
279
292
  }
280
293
  interface InputContainerProps extends Partial<InputElement> {
281
294
  }
295
+ interface DateInputContainerProps extends Partial<DateInputElement> {
296
+ }
282
297
  interface SelectContainerProps extends Partial<SelectElement> {
283
298
  }
284
299
  interface TextAreaContainerProps extends Partial<TextAreaElement> {
@@ -297,7 +312,7 @@ interface DurationInputProps extends BaseElementProps {
297
312
  hideLabels?: boolean;
298
313
  options?: DurationInputOption[];
299
314
  }
300
- type FormElement = InputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
315
+ type FormElement = InputElement | DateInputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
301
316
  interface ModularFormProps {
302
317
  submitFunction: (form: React.FormEvent<HTMLFormElement>, clickEvent?: MouseEvent) => Promise<void>;
303
318
  elements: FormElement[];
@@ -349,4 +364,4 @@ interface DatePickerProps {
349
364
  calendarClassName?: string;
350
365
  }
351
366
 
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 };
367
+ 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,19 @@ 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
+ container1ClassName?: string;
188
+ container2ClassName?: string;
189
+ inputClassName?: string;
190
+ }
178
191
  interface TextAreaElement extends BaseElementProps {
179
192
  type: "textarea";
180
193
  defaultValue?: string;
@@ -279,6 +292,8 @@ interface FormSeparatorProps {
279
292
  }
280
293
  interface InputContainerProps extends Partial<InputElement> {
281
294
  }
295
+ interface DateInputContainerProps extends Partial<DateInputElement> {
296
+ }
282
297
  interface SelectContainerProps extends Partial<SelectElement> {
283
298
  }
284
299
  interface TextAreaContainerProps extends Partial<TextAreaElement> {
@@ -297,7 +312,7 @@ interface DurationInputProps extends BaseElementProps {
297
312
  hideLabels?: boolean;
298
313
  options?: DurationInputOption[];
299
314
  }
300
- type FormElement = InputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
315
+ type FormElement = InputElement | DateInputElement | SelectElement | MultiSelectProps | InternationalInputProps | CustomElementProps | TextAreaElement | SelectWithSearchProps | FormSeparatorProps | CheckboxContainerProps | DurationInputProps;
301
316
  interface ModularFormProps {
302
317
  submitFunction: (form: React.FormEvent<HTMLFormElement>, clickEvent?: MouseEvent) => Promise<void>;
303
318
  elements: FormElement[];
@@ -349,4 +364,4 @@ interface DatePickerProps {
349
364
  calendarClassName?: string;
350
365
  }
351
366
 
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 };
367
+ 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.94",
3
+ "version": "1.1.96",
4
4
  "scripts": {
5
5
  "build": "tsup",
6
6
  "deploy": "npm run build && npm version patch --no-git-tag-version && npm publish",