jspreadsheet 9.5.5 → 9.5.6

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +10 -8
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -262,22 +262,24 @@ declare namespace jspreadsheet {
262
262
  }
263
263
 
264
264
  interface Calendar {
265
- /** Render type. Default: 'default' */
265
+ /** Specifies the type of calendar to render. Default is 'default'. Possible values are 'default' and 'year-month-picker'. */
266
266
  type?: 'default' | 'year-month-picker';
267
- /** Disable the dates out of the defined range. */
267
+ /** An array of numbers specifying a range of valid dates. Dates outside this range will be disabled. */
268
268
  validRange?: number[];
269
- /** The calendar starts in a day of week (0 for Sunday - 6 for Saturday). Default: 0 (Sunday) */
269
+ /** Specifies the day of the week the calendar starts on, where 0 is Sunday and 6 is Saturday. Default is 0 (Sunday). */
270
270
  format?: string;
271
- /** Calendar input is readonly */
271
+ /** Specifies whether the calendar input is readonly or not. Default is false. */
272
272
  readonly?: boolean;
273
- /** Select today automatically when no date value is defined. */
273
+ /** Specifies whether today's date is automatically selected when no date is defined. Default is false. */
274
274
  today?: boolean;
275
- /** Show hour and minute dropdown. */
275
+ /** Specifies whether to display a dropdown for selecting hour and minute values. Default is false. */
276
276
  time?: boolean;
277
- /** Show reset button. Default: true */
277
+ /** Specifies whether to display a reset button. Default is true. */
278
278
  resetButton?: boolean;
279
- /** Calendar input placeholder. */
279
+ /** Specifies a placeholder text to display in the calendar input when no date is selected. */
280
280
  placeholder?: string;
281
+ /** Auto select confirms the current date as the new value onblur. Default: true */
282
+ autoSelect?: boolean;
281
283
  }
282
284
 
283
285
  interface DefinedNames {
package/package.json CHANGED
@@ -24,5 +24,5 @@
24
24
  },
25
25
  "main": "dist/index.js",
26
26
  "types": "dist/index.d.ts",
27
- "version": "9.5.5"
27
+ "version": "9.5.6"
28
28
  }