baseui 0.0.0-next-d6f91d4 → 0.0.0-next-9c48688

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],
@@ -15,6 +15,10 @@ const lighting = {
15
15
  overlay300: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.12)',
16
16
  overlay400: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.16)',
17
17
  overlay500: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.2)',
18
- overlay600: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)'
18
+ overlay600: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)',
19
+ shallowAbove: '0px -4px 16px rgba(0, 0, 0, 0.12)',
20
+ shallowBelow: '0px 4px 16px rgba(0, 0, 0, 0.12)',
21
+ deepAbove: '0px -16px 48px rgba(0, 0, 0, 0.22)',
22
+ deepBelow: '0px 16px 48px rgba(0, 0, 0, 0.22)'
19
23
  };
20
24
  export default lighting;
@@ -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],
@@ -15,6 +15,10 @@ var lighting = {
15
15
  overlay300: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.12)',
16
16
  overlay400: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.16)',
17
17
  overlay500: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.2)',
18
- overlay600: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)'
18
+ overlay600: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)',
19
+ shallowAbove: '0px -4px 16px rgba(0, 0, 0, 0.12)',
20
+ shallowBelow: '0px 4px 16px rgba(0, 0, 0, 0.12)',
21
+ deepAbove: '0px -16px 48px rgba(0, 0, 0, 0.22)',
22
+ deepBelow: '0px 16px 48px rgba(0, 0, 0, 0.22)'
19
23
  };
20
24
  export default lighting;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baseui",
3
- "version": "0.0.0-next-d6f91d4",
3
+ "version": "0.0.0-next-9c48688",
4
4
  "description": "A React Component library implementing the Base design language",
5
5
  "keywords": [
6
6
  "react",
@@ -197,6 +197,7 @@
197
197
  "glob": "^7.1.6",
198
198
  "just-extend": "^4.0.2",
199
199
  "memoize-one": "^5.1.1",
200
+ "mockdate": "^3.0.5",
200
201
  "polished": "^3.2.0",
201
202
  "popper.js": "^1.16.0",
202
203
  "react-dropzone": "^9.0.0",
@@ -22,7 +22,11 @@ var lighting = {
22
22
  overlay300: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.12)',
23
23
  overlay400: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.16)',
24
24
  overlay500: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.2)',
25
- overlay600: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)'
25
+ overlay600: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)',
26
+ shallowAbove: '0px -4px 16px rgba(0, 0, 0, 0.12)',
27
+ shallowBelow: '0px 4px 16px rgba(0, 0, 0, 0.12)',
28
+ deepAbove: '0px -16px 48px rgba(0, 0, 0, 0.22)',
29
+ deepBelow: '0px 16px 48px rgba(0, 0, 0, 0.22)'
26
30
  };
27
31
  var _default = lighting;
28
32
  exports.default = _default;
@@ -19,6 +19,10 @@ const lighting: LightingT = {
19
19
  overlay400: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.16)',
20
20
  overlay500: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.2)',
21
21
  overlay600: 'inset 0 0 0 1000px hsla(0, 0%, 0%, 0.24)',
22
+ shallowAbove: '0px -4px 16px rgba(0, 0, 0, 0.12)',
23
+ shallowBelow: '0px 4px 16px rgba(0, 0, 0, 0.12)',
24
+ deepAbove: '0px -16px 48px rgba(0, 0, 0, 0.22)',
25
+ deepBelow: '0px 16px 48px rgba(0, 0, 0, 0.22)',
22
26
  };
23
27
 
24
28
  export default lighting;
@@ -690,6 +690,10 @@ export type LightingT = {
690
690
  overlay400: string,
691
691
  overlay500: string,
692
692
  overlay600: string,
693
+ shallowAbove: string,
694
+ shallowBelow: string,
695
+ deepAbove: string,
696
+ deepBelow: string,
693
697
  };
694
698
 
695
699
  export type AnimationT = {