beesoft-components 0.12.4 → 0.12.5

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beesoft-components",
3
- "version": "0.12.4",
3
+ "version": "0.12.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "author": {
package/types/index.d.ts CHANGED
@@ -242,7 +242,7 @@ export declare enum DateSelectorType {
242
242
  DateRangeSelector = 4
243
243
  }
244
244
 
245
- export declare const DateTime: ({ value, readOnly, label, useDefaultDateValue, useFormattedInput, allowClear, closeSelector, locale, className, dateSelection, dateFormat, timeConstraints, icon, iconPosition, inputElement, selectableDate, isValidDate, onChange, onError, calendarTemplate, dateScrollerTemplate, inputTemplate, wrapperTemplate, }: DateTimeProps) => JSX_2.Element;
245
+ export declare const DateTime: ({ value, readOnly, label, useDefaultDateValue, useFormattedInput, allowClear, closeSelector, locale, className, dateSelection, dateFormat, timeFormat, timeConstraints, icon, iconPosition, inputElement, selectableDate, isValidDate, onChange, onError, calendarTemplate, dateScrollerTemplate, inputTemplate, wrapperTemplate, }: DateTimeProps) => JSX_2.Element;
246
246
 
247
247
  declare interface DateTimeBaseTemplateProps {
248
248
  incrementViewMonths?: (months: number) => void;
@@ -295,6 +295,7 @@ declare interface DateTimeProps extends FormInputControl<string | TypeOrArray<Da
295
295
  locale?: string;
296
296
  dateSelection?: DateSelectionType;
297
297
  dateFormat?: DateFormatType;
298
+ timeFormat?: TimeFormatType;
298
299
  timeConstraints?: TimeConstraints;
299
300
  icon?: default_2.JSX.Element;
300
301
  iconPosition?: CalendarIconPosition;
@@ -588,6 +589,11 @@ declare interface TimeConstraints {
588
589
  seconds?: IncrementConstraint;
589
590
  }
590
591
 
592
+ declare enum TimeFormatType {
593
+ TwelveHour = 0,
594
+ TwentyFourHour = 1
595
+ }
596
+
591
597
  export declare const Toggle: MemoExoticComponent<({ name, label, value, checked, readOnly, useAnimation, className, onChange, }: ToggleProps) => JSX_2.Element>;
592
598
 
593
599
  declare interface ToggleProps extends MakeRequired<FormInputControl<string | number, CheckboxChangeEvent>, 'name'>, ComponentAnimationProps {