@cerebruminc/cerebellum 13.0.1 → 13.0.2

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.
@@ -151,7 +151,7 @@ var DateField = function (props) {
151
151
  // TODO: populate this with the appropriate ErrorSchema if required
152
152
  var errors = {};
153
153
  if (date !== null) {
154
- var stringDate = dayjs__default["default"].unix(date).format(ui.dateFormat || "MM/DD/YYYY");
154
+ var stringDate = dayjs__default["default"].unix(date).format(ui.dateFormat || "YYYY-MM-DD");
155
155
  onChange(stringDate, errors, id);
156
156
  }
157
157
  else {
@@ -373,4 +373,4 @@ RJSForm.defaultProps = {
373
373
  };
374
374
 
375
375
  exports.RJSForm = RJSForm;
376
- //# sourceMappingURL=RJSForm-5b02b6d2.js.map
376
+ //# sourceMappingURL=RJSForm-0eab2678.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RJSForm-5b02b6d2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"RJSForm-0eab2678.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var RJSForm = require('./RJSForm-5b02b6d2.js');
5
+ var RJSForm = require('./RJSForm-0eab2678.js');
6
6
  var types = require('./types-92e1c1ae.js');
7
7
  require('./_tslib-955e611e.js');
8
8
  require('react/jsx-runtime');
package/lib/cjs/index.cjs CHANGED
@@ -76,7 +76,7 @@ var PieChart = require('./PieChart-b221fe62.js');
76
76
  var Radio = require('./Radio-eb69f788.js');
77
77
  var RadioGroup = require('./RadioGroup-2654ae70.js');
78
78
  var RadioItem = require('./RadioItem-d4d9b513.js');
79
- var RJSForm = require('./RJSForm-5b02b6d2.js');
79
+ var RJSForm = require('./RJSForm-0eab2678.js');
80
80
  require('./types-92e1c1ae.js');
81
81
  var RJSFormRenderer = require('./RJSFormRenderer-0ea1d6a2.js');
82
82
  require('react-dom');
@@ -143,7 +143,7 @@ var DateField = function (props) {
143
143
  // TODO: populate this with the appropriate ErrorSchema if required
144
144
  var errors = {};
145
145
  if (date !== null) {
146
- var stringDate = dayjs.unix(date).format(ui.dateFormat || "MM/DD/YYYY");
146
+ var stringDate = dayjs.unix(date).format(ui.dateFormat || "YYYY-MM-DD");
147
147
  onChange(stringDate, errors, id);
148
148
  }
149
149
  else {
@@ -365,4 +365,4 @@ RJSForm.defaultProps = {
365
365
  };
366
366
 
367
367
  export { RJSForm as R };
368
- //# sourceMappingURL=RJSForm-476553a2.js.map
368
+ //# sourceMappingURL=RJSForm-9962f5d7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RJSForm-476553a2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"RJSForm-9962f5d7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- export { R as RJSForm } from './RJSForm-476553a2.js';
1
+ export { R as RJSForm } from './RJSForm-9962f5d7.js';
2
2
  export { R as RJSFormFields } from './types-20c5eba5.js';
3
3
  import './_tslib-1a4c929e.js';
4
4
  import 'react/jsx-runtime';
package/lib/esm/index.js CHANGED
@@ -80,7 +80,7 @@ export { P as PieChart } from './PieChart-cbdf1de9.js';
80
80
  export { R as Radio } from './Radio-a25910f6.js';
81
81
  export { R as RadioGroup } from './RadioGroup-5deefd5f.js';
82
82
  export { R as RadioItem } from './RadioItem-5cbc814b.js';
83
- export { R as RJSForm } from './RJSForm-476553a2.js';
83
+ export { R as RJSForm } from './RJSForm-9962f5d7.js';
84
84
  import './types-20c5eba5.js';
85
85
  export { R as RJSFormRenderer } from './RJSFormRenderer-0cda19b4.js';
86
86
  import 'react-dom';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerebruminc/cerebellum",
3
- "version": "13.0.1",
3
+ "version": "13.0.2",
4
4
  "description": "Cerebrum's React Component Library",
5
5
  "type": "module",
6
6
  "main": "lib/cjs/index.cjs",