baseui 0.0.0-next-ed8d41d → 0.0.0-next-4a9350a

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.
@@ -86,6 +86,7 @@ function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(
86
86
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
87
87
 
88
88
  var DATE_FORMAT = 'MM-dd-yyyy';
89
+ var MASK = '99-99-9999 - 99-99-9999';
89
90
  var TIME_FORMAT = 'HH:mm ss:SS';
90
91
  var FORMAT_STRING = "".concat(DATE_FORMAT, " ").concat(TIME_FORMAT);
91
92
 
@@ -461,6 +462,7 @@ function DatetimeFilter(props) {
461
462
  }
462
463
  },
463
464
  formatString: DATE_FORMAT,
465
+ mask: MASK,
464
466
  placeholder: "MM-DD-YYYY - MM-DD-YYYY",
465
467
  minDate: datesSorted[0],
466
468
  maxDate: datesSorted[datesSorted.length - 1],
@@ -68,6 +68,7 @@ type FilterParametersT = {|
68
68
  type DatetimeColumnT = ColumnT<Date, FilterParametersT>;
69
69
 
70
70
  const DATE_FORMAT = 'MM-dd-yyyy';
71
+ const MASK = '99-99-9999 - 99-99-9999';
71
72
  const TIME_FORMAT = 'HH:mm ss:SS';
72
73
  const FORMAT_STRING = `${DATE_FORMAT} ${TIME_FORMAT}`;
73
74
 
@@ -415,6 +416,7 @@ function DatetimeFilter(props) {
415
416
  }
416
417
  }}
417
418
  formatString={DATE_FORMAT}
419
+ mask={MASK}
418
420
  placeholder="MM-DD-YYYY - MM-DD-YYYY"
419
421
  minDate={datesSorted[0]}
420
422
  maxDate={datesSorted[datesSorted.length - 1]}
@@ -29,6 +29,7 @@ import { COLUMNS, DATETIME_OPERATIONS } from './constants.js';
29
29
  import FilterShell from './filter-shell.js';
30
30
  import { LocaleContext } from '../locale/index.js';
31
31
  const DATE_FORMAT = 'MM-dd-yyyy';
32
+ const MASK = '99-99-9999 - 99-99-9999';
32
33
  const TIME_FORMAT = 'HH:mm ss:SS';
33
34
  const FORMAT_STRING = `${DATE_FORMAT} ${TIME_FORMAT}`;
34
35
 
@@ -326,6 +327,7 @@ function DatetimeFilter(props) {
326
327
  }
327
328
  },
328
329
  formatString: DATE_FORMAT,
330
+ mask: MASK,
329
331
  placeholder: "MM-DD-YYYY - MM-DD-YYYY",
330
332
  minDate: datesSorted[0],
331
333
  maxDate: datesSorted[datesSorted.length - 1],
@@ -55,6 +55,7 @@ import { COLUMNS, DATETIME_OPERATIONS } from './constants.js';
55
55
  import FilterShell from './filter-shell.js';
56
56
  import { LocaleContext } from '../locale/index.js';
57
57
  var DATE_FORMAT = 'MM-dd-yyyy';
58
+ var MASK = '99-99-9999 - 99-99-9999';
58
59
  var TIME_FORMAT = 'HH:mm ss:SS';
59
60
  var FORMAT_STRING = "".concat(DATE_FORMAT, " ").concat(TIME_FORMAT);
60
61
 
@@ -430,6 +431,7 @@ function DatetimeFilter(props) {
430
431
  }
431
432
  },
432
433
  formatString: DATE_FORMAT,
434
+ mask: MASK,
433
435
  placeholder: "MM-DD-YYYY - MM-DD-YYYY",
434
436
  minDate: datesSorted[0],
435
437
  maxDate: datesSorted[datesSorted.length - 1],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baseui",
3
- "version": "0.0.0-next-ed8d41d",
3
+ "version": "0.0.0-next-4a9350a",
4
4
  "description": "A React Component library implementing the Base design language",
5
5
  "keywords": [
6
6
  "react",