@progress/kendo-react-dateinputs 7.5.0-develop.1 → 7.5.0-develop.10

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/index.d.mts CHANGED
@@ -302,6 +302,12 @@ export declare interface CalendarSettings {
302
302
  * Defines the topmost view to which the user can navigate.
303
303
  */
304
304
  topView?: ActiveView;
305
+ /**
306
+ * Specifies the possible format options for the displayed Calendar week days' names.
307
+ *
308
+ * @default short
309
+ */
310
+ weekDaysFormat?: WeekDaysFormat;
305
311
  /**
306
312
  * Determines if the week number column will be displayed.
307
313
  */
@@ -391,6 +397,7 @@ export declare class CalendarWithoutContext extends React_2.Component<CalendarPr
391
397
  id: PropTypes.Requireable<string>;
392
398
  ariaLabelledBy: PropTypes.Requireable<string>;
393
399
  ariaDescribedBy: PropTypes.Requireable<string>;
400
+ weekDaysFormat: PropTypes.Requireable<string>;
394
401
  max: PropTypes.Requireable<Date>;
395
402
  min: PropTypes.Requireable<Date>;
396
403
  navigation: PropTypes.Requireable<boolean>;
@@ -411,6 +418,7 @@ export declare class CalendarWithoutContext extends React_2.Component<CalendarPr
411
418
  disabled: boolean;
412
419
  min: Date;
413
420
  max: Date;
421
+ weekDaysFormat: string;
414
422
  navigation: boolean;
415
423
  defaultActiveView: ActiveView;
416
424
  defaultValue: null;
@@ -883,7 +891,7 @@ export declare class DateInputWithoutContext extends React_2.Component<DateInput
883
891
  second: PropTypes.Requireable<string>;
884
892
  timeZoneName: PropTypes.Requireable<string>;
885
893
  }> | null | undefined>>;
886
- formatPlaceholder: PropTypes.Requireable<NonNullable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
894
+ formatPlaceholder: PropTypes.Requireable<NonNullable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
887
895
  year: PropTypes.Requireable<string>;
888
896
  month: PropTypes.Requireable<string>;
889
897
  day: PropTypes.Requireable<string>;
@@ -1389,7 +1397,7 @@ export declare class DatePickerWithoutContext extends React_2.Component<DatePick
1389
1397
  second: PropTypes.Requireable<string>;
1390
1398
  timeZoneName: PropTypes.Requireable<string>;
1391
1399
  }> | null | undefined>>;
1392
- formatPlaceholder: PropTypes.Requireable<NonNullable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
1400
+ formatPlaceholder: PropTypes.Requireable<NonNullable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
1393
1401
  year: PropTypes.Requireable<string>;
1394
1402
  month: PropTypes.Requireable<string>;
1395
1403
  day: PropTypes.Requireable<string>;
@@ -1851,7 +1859,7 @@ export declare class DateRangePickerWithoutContext extends React_2.Component<Dat
1851
1859
  second: PropTypes.Requireable<string>;
1852
1860
  timeZoneName: PropTypes.Requireable<string>;
1853
1861
  }> | null | undefined>>;
1854
- formatPlaceholder: PropTypes.Requireable<NonNullable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
1862
+ formatPlaceholder: PropTypes.Requireable<NonNullable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
1855
1863
  year: PropTypes.Requireable<string>;
1856
1864
  month: PropTypes.Requireable<string>;
1857
1865
  day: PropTypes.Requireable<string>;
@@ -2363,7 +2371,7 @@ export declare class DateTimePickerWithoutContext extends React_2.Component<Date
2363
2371
  second: PropTypes.Requireable<string>;
2364
2372
  timeZoneName: PropTypes.Requireable<string>;
2365
2373
  }> | null | undefined>>;
2366
- formatPlaceholder: PropTypes.Requireable<NonNullable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
2374
+ formatPlaceholder: PropTypes.Requireable<NonNullable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
2367
2375
  year: PropTypes.Requireable<string>;
2368
2376
  month: PropTypes.Requireable<string>;
2369
2377
  day: PropTypes.Requireable<string>;
@@ -2721,6 +2729,7 @@ export declare class HorizontalViewList extends React_2.Component<HorizontalView
2721
2729
  views: number;
2722
2730
  take: number;
2723
2731
  allowReverse: boolean;
2732
+ weekDaysFormat: string;
2724
2733
  min: Date;
2725
2734
  max: Date;
2726
2735
  };
@@ -2764,6 +2773,7 @@ export declare interface HorizontalViewListProps {
2764
2773
  selectionRange: SelectionRange;
2765
2774
  service: ViewService;
2766
2775
  showWeekNumbers?: boolean;
2776
+ weekDaysFormat?: WeekDaysFormat;
2767
2777
  take?: number;
2768
2778
  value: Date[] | Date | null;
2769
2779
  views?: number;
@@ -3044,6 +3054,12 @@ export declare interface MultiViewCalendarSettings {
3044
3054
  * Determines if the week number column will be displayed.
3045
3055
  */
3046
3056
  weekNumber?: boolean;
3057
+ /**
3058
+ * Specifies the possible format options for the displayed Calendar week days' names.
3059
+ *
3060
+ * @default short
3061
+ */
3062
+ weekDaysFormat?: WeekDaysFormat;
3047
3063
  /**
3048
3064
  * Fires each time the MultiViewCalendar is focused.
3049
3065
  */
@@ -3144,6 +3160,7 @@ export declare class MultiViewCalendarWithoutContext extends React_2.Component<M
3144
3160
  disabled: PropTypes.Requireable<boolean>;
3145
3161
  focusedDate: PropTypes.Requireable<Date>;
3146
3162
  id: PropTypes.Requireable<string>;
3163
+ weekDaysFormat: PropTypes.Requireable<string>;
3147
3164
  ariaLabelledBy: PropTypes.Requireable<string>;
3148
3165
  ariaDescribedBy: PropTypes.Requireable<string>;
3149
3166
  max: PropTypes.Requireable<Date>;
@@ -3170,6 +3187,7 @@ export declare class MultiViewCalendarWithoutContext extends React_2.Component<M
3170
3187
  defaultActiveView: ActiveView;
3171
3188
  defaultValue: null;
3172
3189
  topView: ActiveView;
3190
+ weekDaysFormat: string;
3173
3191
  tabIndex: number;
3174
3192
  bottomView: ActiveView;
3175
3193
  views: number;
@@ -3931,7 +3949,7 @@ export declare class TimePickerWithoutContext extends React_2.Component<TimePick
3931
3949
  second: PropTypes.Requireable<string>;
3932
3950
  timeZoneName: PropTypes.Requireable<string>;
3933
3951
  }> | null | undefined>>;
3934
- formatPlaceholder: PropTypes.Requireable<NonNullable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
3952
+ formatPlaceholder: PropTypes.Requireable<NonNullable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
3935
3953
  year: PropTypes.Requireable<string>;
3936
3954
  month: PropTypes.Requireable<string>;
3937
3955
  day: PropTypes.Requireable<string>;
@@ -4281,11 +4299,13 @@ export declare class ViewList extends React_2.Component<ViewListProps, ViewListS
4281
4299
  value: PropTypes.Requireable<Date>;
4282
4300
  viewHeight: PropTypes.Requireable<number>;
4283
4301
  viewOffset: PropTypes.Requireable<number>;
4302
+ weekDaysFormat: PropTypes.Requireable<string>;
4284
4303
  tabIndex: PropTypes.Requireable<number>;
4285
4304
  };
4286
4305
  static defaultProps: {
4287
4306
  take: number;
4288
4307
  showWeekNumbers: boolean;
4308
+ weekDaysFormat: string;
4289
4309
  smoothScroll: boolean;
4290
4310
  };
4291
4311
  virtualization: Virtualization | null;
@@ -4302,6 +4322,7 @@ export declare class ViewList extends React_2.Component<ViewListProps, ViewListS
4302
4322
  private shouldScroll;
4303
4323
  private indexToScroll?;
4304
4324
  private lastFocus;
4325
+ private weekService;
4305
4326
  get element(): HTMLDivElement | null;
4306
4327
  protected get weekNames(): string[];
4307
4328
  protected get weekNumber(): boolean;
@@ -4353,6 +4374,7 @@ declare interface ViewListProps {
4353
4374
  showWeekNumbers?: boolean;
4354
4375
  smoothScroll?: boolean;
4355
4376
  take?: number;
4377
+ weekDaysFormat?: WeekDaysFormat;
4356
4378
  value: Date | null;
4357
4379
  viewHeight?: number;
4358
4380
  viewOffset?: number;
@@ -4488,13 +4510,18 @@ declare interface VirtualizationProps {
4488
4510
  children?: React_2.ReactNode;
4489
4511
  }
4490
4512
 
4513
+ /**
4514
+ * Specifies the possible format options for the displayed Calendar week days' names.
4515
+ */
4516
+ declare type WeekDaysFormat = 'short' | 'narrow' | 'abbreviated';
4517
+
4491
4518
  /**
4492
4519
  * @hidden
4493
4520
  */
4494
4521
  export declare class WeekNamesService {
4495
4522
  private intl;
4496
4523
  constructor(intl: IntlService);
4497
- getWeekNames(includeWeekNumber?: boolean): string[];
4524
+ getWeekNames(includeWeekNumber?: boolean, weekDaysFormat?: WeekDaysFormat): string[];
4498
4525
  }
4499
4526
 
4500
4527
  /**
package/index.d.ts CHANGED
@@ -302,6 +302,12 @@ export declare interface CalendarSettings {
302
302
  * Defines the topmost view to which the user can navigate.
303
303
  */
304
304
  topView?: ActiveView;
305
+ /**
306
+ * Specifies the possible format options for the displayed Calendar week days' names.
307
+ *
308
+ * @default short
309
+ */
310
+ weekDaysFormat?: WeekDaysFormat;
305
311
  /**
306
312
  * Determines if the week number column will be displayed.
307
313
  */
@@ -391,6 +397,7 @@ export declare class CalendarWithoutContext extends React_2.Component<CalendarPr
391
397
  id: PropTypes.Requireable<string>;
392
398
  ariaLabelledBy: PropTypes.Requireable<string>;
393
399
  ariaDescribedBy: PropTypes.Requireable<string>;
400
+ weekDaysFormat: PropTypes.Requireable<string>;
394
401
  max: PropTypes.Requireable<Date>;
395
402
  min: PropTypes.Requireable<Date>;
396
403
  navigation: PropTypes.Requireable<boolean>;
@@ -411,6 +418,7 @@ export declare class CalendarWithoutContext extends React_2.Component<CalendarPr
411
418
  disabled: boolean;
412
419
  min: Date;
413
420
  max: Date;
421
+ weekDaysFormat: string;
414
422
  navigation: boolean;
415
423
  defaultActiveView: ActiveView;
416
424
  defaultValue: null;
@@ -883,7 +891,7 @@ export declare class DateInputWithoutContext extends React_2.Component<DateInput
883
891
  second: PropTypes.Requireable<string>;
884
892
  timeZoneName: PropTypes.Requireable<string>;
885
893
  }> | null | undefined>>;
886
- formatPlaceholder: PropTypes.Requireable<NonNullable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
894
+ formatPlaceholder: PropTypes.Requireable<NonNullable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
887
895
  year: PropTypes.Requireable<string>;
888
896
  month: PropTypes.Requireable<string>;
889
897
  day: PropTypes.Requireable<string>;
@@ -1389,7 +1397,7 @@ export declare class DatePickerWithoutContext extends React_2.Component<DatePick
1389
1397
  second: PropTypes.Requireable<string>;
1390
1398
  timeZoneName: PropTypes.Requireable<string>;
1391
1399
  }> | null | undefined>>;
1392
- formatPlaceholder: PropTypes.Requireable<NonNullable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
1400
+ formatPlaceholder: PropTypes.Requireable<NonNullable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
1393
1401
  year: PropTypes.Requireable<string>;
1394
1402
  month: PropTypes.Requireable<string>;
1395
1403
  day: PropTypes.Requireable<string>;
@@ -1851,7 +1859,7 @@ export declare class DateRangePickerWithoutContext extends React_2.Component<Dat
1851
1859
  second: PropTypes.Requireable<string>;
1852
1860
  timeZoneName: PropTypes.Requireable<string>;
1853
1861
  }> | null | undefined>>;
1854
- formatPlaceholder: PropTypes.Requireable<NonNullable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
1862
+ formatPlaceholder: PropTypes.Requireable<NonNullable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
1855
1863
  year: PropTypes.Requireable<string>;
1856
1864
  month: PropTypes.Requireable<string>;
1857
1865
  day: PropTypes.Requireable<string>;
@@ -2363,7 +2371,7 @@ export declare class DateTimePickerWithoutContext extends React_2.Component<Date
2363
2371
  second: PropTypes.Requireable<string>;
2364
2372
  timeZoneName: PropTypes.Requireable<string>;
2365
2373
  }> | null | undefined>>;
2366
- formatPlaceholder: PropTypes.Requireable<NonNullable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
2374
+ formatPlaceholder: PropTypes.Requireable<NonNullable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
2367
2375
  year: PropTypes.Requireable<string>;
2368
2376
  month: PropTypes.Requireable<string>;
2369
2377
  day: PropTypes.Requireable<string>;
@@ -2721,6 +2729,7 @@ export declare class HorizontalViewList extends React_2.Component<HorizontalView
2721
2729
  views: number;
2722
2730
  take: number;
2723
2731
  allowReverse: boolean;
2732
+ weekDaysFormat: string;
2724
2733
  min: Date;
2725
2734
  max: Date;
2726
2735
  };
@@ -2764,6 +2773,7 @@ export declare interface HorizontalViewListProps {
2764
2773
  selectionRange: SelectionRange;
2765
2774
  service: ViewService;
2766
2775
  showWeekNumbers?: boolean;
2776
+ weekDaysFormat?: WeekDaysFormat;
2767
2777
  take?: number;
2768
2778
  value: Date[] | Date | null;
2769
2779
  views?: number;
@@ -3044,6 +3054,12 @@ export declare interface MultiViewCalendarSettings {
3044
3054
  * Determines if the week number column will be displayed.
3045
3055
  */
3046
3056
  weekNumber?: boolean;
3057
+ /**
3058
+ * Specifies the possible format options for the displayed Calendar week days' names.
3059
+ *
3060
+ * @default short
3061
+ */
3062
+ weekDaysFormat?: WeekDaysFormat;
3047
3063
  /**
3048
3064
  * Fires each time the MultiViewCalendar is focused.
3049
3065
  */
@@ -3144,6 +3160,7 @@ export declare class MultiViewCalendarWithoutContext extends React_2.Component<M
3144
3160
  disabled: PropTypes.Requireable<boolean>;
3145
3161
  focusedDate: PropTypes.Requireable<Date>;
3146
3162
  id: PropTypes.Requireable<string>;
3163
+ weekDaysFormat: PropTypes.Requireable<string>;
3147
3164
  ariaLabelledBy: PropTypes.Requireable<string>;
3148
3165
  ariaDescribedBy: PropTypes.Requireable<string>;
3149
3166
  max: PropTypes.Requireable<Date>;
@@ -3170,6 +3187,7 @@ export declare class MultiViewCalendarWithoutContext extends React_2.Component<M
3170
3187
  defaultActiveView: ActiveView;
3171
3188
  defaultValue: null;
3172
3189
  topView: ActiveView;
3190
+ weekDaysFormat: string;
3173
3191
  tabIndex: number;
3174
3192
  bottomView: ActiveView;
3175
3193
  views: number;
@@ -3931,7 +3949,7 @@ export declare class TimePickerWithoutContext extends React_2.Component<TimePick
3931
3949
  second: PropTypes.Requireable<string>;
3932
3950
  timeZoneName: PropTypes.Requireable<string>;
3933
3951
  }> | null | undefined>>;
3934
- formatPlaceholder: PropTypes.Requireable<NonNullable<"narrow" | "short" | "wide" | "formatPattern" | PropTypes.InferProps<{
3952
+ formatPlaceholder: PropTypes.Requireable<NonNullable<"short" | "narrow" | "wide" | "formatPattern" | PropTypes.InferProps<{
3935
3953
  year: PropTypes.Requireable<string>;
3936
3954
  month: PropTypes.Requireable<string>;
3937
3955
  day: PropTypes.Requireable<string>;
@@ -4281,11 +4299,13 @@ export declare class ViewList extends React_2.Component<ViewListProps, ViewListS
4281
4299
  value: PropTypes.Requireable<Date>;
4282
4300
  viewHeight: PropTypes.Requireable<number>;
4283
4301
  viewOffset: PropTypes.Requireable<number>;
4302
+ weekDaysFormat: PropTypes.Requireable<string>;
4284
4303
  tabIndex: PropTypes.Requireable<number>;
4285
4304
  };
4286
4305
  static defaultProps: {
4287
4306
  take: number;
4288
4307
  showWeekNumbers: boolean;
4308
+ weekDaysFormat: string;
4289
4309
  smoothScroll: boolean;
4290
4310
  };
4291
4311
  virtualization: Virtualization | null;
@@ -4302,6 +4322,7 @@ export declare class ViewList extends React_2.Component<ViewListProps, ViewListS
4302
4322
  private shouldScroll;
4303
4323
  private indexToScroll?;
4304
4324
  private lastFocus;
4325
+ private weekService;
4305
4326
  get element(): HTMLDivElement | null;
4306
4327
  protected get weekNames(): string[];
4307
4328
  protected get weekNumber(): boolean;
@@ -4353,6 +4374,7 @@ declare interface ViewListProps {
4353
4374
  showWeekNumbers?: boolean;
4354
4375
  smoothScroll?: boolean;
4355
4376
  take?: number;
4377
+ weekDaysFormat?: WeekDaysFormat;
4356
4378
  value: Date | null;
4357
4379
  viewHeight?: number;
4358
4380
  viewOffset?: number;
@@ -4488,13 +4510,18 @@ declare interface VirtualizationProps {
4488
4510
  children?: React_2.ReactNode;
4489
4511
  }
4490
4512
 
4513
+ /**
4514
+ * Specifies the possible format options for the displayed Calendar week days' names.
4515
+ */
4516
+ declare type WeekDaysFormat = 'short' | 'narrow' | 'abbreviated';
4517
+
4491
4518
  /**
4492
4519
  * @hidden
4493
4520
  */
4494
4521
  export declare class WeekNamesService {
4495
4522
  private intl;
4496
4523
  constructor(intl: IntlService);
4497
- getWeekNames(includeWeekNumber?: boolean): string[];
4524
+ getWeekNames(includeWeekNumber?: boolean, weekDaysFormat?: WeekDaysFormat): string[];
4498
4525
  }
4499
4526
 
4500
4527
  /**
@@ -10,7 +10,7 @@ const e = {
10
10
  name: "@progress/kendo-react-dateinputs",
11
11
  productName: "KendoReact",
12
12
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
- publishDate: 1712850691,
13
+ publishDate: 1714397068,
14
14
  version: "",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-dateinputs",
3
- "version": "7.5.0-develop.1",
3
+ "version": "7.5.0-develop.10",
4
4
  "description": "React DateInput is a perfect input component for handling quick and efficient date values. KendoReact Date Inputs package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -24,12 +24,12 @@
24
24
  "peerDependencies": {
25
25
  "@progress/kendo-date-math": "^1.4.0",
26
26
  "@progress/kendo-licensing": "^1.3.4",
27
- "@progress/kendo-react-buttons": "7.5.0-develop.1",
28
- "@progress/kendo-react-common": "7.5.0-develop.1",
29
- "@progress/kendo-react-intl": "7.5.0-develop.1",
30
- "@progress/kendo-react-labels": "7.5.0-develop.1",
31
- "@progress/kendo-react-layout": "7.5.0-develop.1",
32
- "@progress/kendo-react-popup": "7.5.0-develop.1",
27
+ "@progress/kendo-react-buttons": "7.5.0-develop.10",
28
+ "@progress/kendo-react-common": "7.5.0-develop.10",
29
+ "@progress/kendo-react-intl": "7.5.0-develop.10",
30
+ "@progress/kendo-react-labels": "7.5.0-develop.10",
31
+ "@progress/kendo-react-layout": "7.5.0-develop.10",
32
+ "@progress/kendo-react-popup": "7.5.0-develop.10",
33
33
  "@progress/kendo-svg-icons": "^2.1.0",
34
34
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
35
35
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"