@instructure/ui-date-time-input 8.46.2-snapshot-5 → 8.46.2-snapshot-7
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/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [8.46.2-snapshot-
|
|
6
|
+
## [8.46.2-snapshot-7](https://github.com/instructure/instructure-ui/compare/v8.46.1...v8.46.2-snapshot-7) (2023-10-20)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
@@ -40,8 +40,7 @@ var _TimeSelectLocator = require("@instructure/ui-time-select/lib/TimeSelect/Tim
|
|
|
40
40
|
/* eslint-enable no-restricted-imports */
|
|
41
41
|
|
|
42
42
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
43
|
-
const DateTimeInputLocator = (0, _locator.locator)(_index.DateTimeInput.selector, {
|
|
43
|
+
const DateTimeInputLocator = exports.DateTimeInputLocator = (0, _locator.locator)(_index.DateTimeInput.selector, {
|
|
44
44
|
findDateInput: (...args) => _DateInputLocator.DateInputLocator.find(...args),
|
|
45
45
|
findTimeInput: (...args) => _TimeSelectLocator.TimeSelectLocator.find(...args)
|
|
46
|
-
});
|
|
47
|
-
exports.DateTimeInputLocator = DateTimeInputLocator;
|
|
46
|
+
});
|
|
@@ -49,7 +49,7 @@ category: components
|
|
|
49
49
|
---
|
|
50
50
|
@tsProps
|
|
51
51
|
**/
|
|
52
|
-
let DateTimeInput = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 = class DateTimeInput extends _react.Component {
|
|
52
|
+
let DateTimeInput = exports.DateTimeInput = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 = class DateTimeInput extends _react.Component {
|
|
53
53
|
constructor(props) {
|
|
54
54
|
super(props);
|
|
55
55
|
// State needs to be calculated because render could be called before
|
|
@@ -487,6 +487,4 @@ let DateTimeInput = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 =
|
|
|
487
487
|
// Localized date with full month, e.g. "August 6, 2014"
|
|
488
488
|
allowNonStepInput: false
|
|
489
489
|
}, _class2.contextType = _ApplyLocaleContext.ApplyLocaleContext, _class2)) || _class);
|
|
490
|
-
exports.
|
|
491
|
-
var _default = DateTimeInput;
|
|
492
|
-
exports.default = _default;
|
|
490
|
+
var _default = exports.default = DateTimeInput;
|
|
@@ -34,5 +34,4 @@ var _DateTimeInputLocator = require("./DateTimeInputLocator");
|
|
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
|
-
var _default = _DateTimeInputLocator.DateTimeInputLocator;
|
|
38
|
-
exports.default = _default;
|
|
37
|
+
var _default = exports.default = _DateTimeInputLocator.DateTimeInputLocator;
|
|
@@ -33,7 +33,7 @@ var _controllable = require("@instructure/ui-prop-types/lib/controllable.js");
|
|
|
33
33
|
* SOFTWARE.
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
|
-
const propTypes = {
|
|
36
|
+
const propTypes = exports.propTypes = {
|
|
37
37
|
description: _propTypes.default.node.isRequired,
|
|
38
38
|
dateRenderLabel: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node]).isRequired,
|
|
39
39
|
prevMonthLabel: _propTypes.default.string.isRequired,
|
|
@@ -64,6 +64,4 @@ const propTypes = {
|
|
|
64
64
|
disabledDateTimeMessage: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.func]),
|
|
65
65
|
allowNonStepInput: _propTypes.default.bool
|
|
66
66
|
};
|
|
67
|
-
exports.
|
|
68
|
-
const allowedProps = ['description', 'dateRenderLabel', 'prevMonthLabel', 'nextMonthLabel', 'datePlaceholder', 'dateFormat', 'interaction', 'timeRenderLabel', 'timeStep', 'timeFormat', 'locale', 'timezone', 'invalidDateTimeMessage', 'messages', 'messageFormat', 'layout', 'rowSpacing', 'colSpacing', 'value', 'defaultValue', 'renderWeekdayLabels', 'isRequired', 'onChange', 'dateInputRef', 'timeInputRef', 'onBlur', 'disabledDates', 'disabledDateTimeMessage', 'allowNonStepInput'];
|
|
69
|
-
exports.allowedProps = allowedProps;
|
|
67
|
+
const allowedProps = exports.allowedProps = ['description', 'dateRenderLabel', 'prevMonthLabel', 'nextMonthLabel', 'datePlaceholder', 'dateFormat', 'interaction', 'timeRenderLabel', 'timeStep', 'timeFormat', 'locale', 'timezone', 'invalidDateTimeMessage', 'messages', 'messageFormat', 'layout', 'rowSpacing', 'colSpacing', 'value', 'defaultValue', 'renderWeekdayLabels', 'isRequired', 'onChange', 'dateInputRef', 'timeInputRef', 'onBlur', 'disabledDates', 'disabledDateTimeMessage', 'allowNonStepInput'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-date-time-input",
|
|
3
|
-
"version": "8.46.2-snapshot-
|
|
3
|
+
"version": "8.46.2-snapshot-7",
|
|
4
4
|
"description": "A UI component that allows to select date and time.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,26 +23,26 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.46.2-snapshot-
|
|
27
|
-
"@instructure/ui-test-locator": "8.46.2-snapshot-
|
|
28
|
-
"@instructure/ui-test-utils": "8.46.2-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "8.46.2-snapshot-7",
|
|
27
|
+
"@instructure/ui-test-locator": "8.46.2-snapshot-7",
|
|
28
|
+
"@instructure/ui-test-utils": "8.46.2-snapshot-7"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "^7.
|
|
32
|
-
"@instructure/debounce": "8.46.2-snapshot-
|
|
33
|
-
"@instructure/emotion": "8.46.2-snapshot-
|
|
34
|
-
"@instructure/ui-a11y-content": "8.46.2-snapshot-
|
|
35
|
-
"@instructure/ui-buttons": "8.46.2-snapshot-
|
|
36
|
-
"@instructure/ui-calendar": "8.46.2-snapshot-
|
|
37
|
-
"@instructure/ui-date-input": "8.46.2-snapshot-
|
|
38
|
-
"@instructure/ui-form-field": "8.46.2-snapshot-
|
|
39
|
-
"@instructure/ui-i18n": "8.46.2-snapshot-
|
|
40
|
-
"@instructure/ui-icons": "8.46.2-snapshot-
|
|
41
|
-
"@instructure/ui-prop-types": "8.46.2-snapshot-
|
|
42
|
-
"@instructure/ui-react-utils": "8.46.2-snapshot-
|
|
43
|
-
"@instructure/ui-testable": "8.46.2-snapshot-
|
|
44
|
-
"@instructure/ui-time-select": "8.46.2-snapshot-
|
|
45
|
-
"@instructure/ui-utils": "8.46.2-snapshot-
|
|
31
|
+
"@babel/runtime": "^7.23.2",
|
|
32
|
+
"@instructure/debounce": "8.46.2-snapshot-7",
|
|
33
|
+
"@instructure/emotion": "8.46.2-snapshot-7",
|
|
34
|
+
"@instructure/ui-a11y-content": "8.46.2-snapshot-7",
|
|
35
|
+
"@instructure/ui-buttons": "8.46.2-snapshot-7",
|
|
36
|
+
"@instructure/ui-calendar": "8.46.2-snapshot-7",
|
|
37
|
+
"@instructure/ui-date-input": "8.46.2-snapshot-7",
|
|
38
|
+
"@instructure/ui-form-field": "8.46.2-snapshot-7",
|
|
39
|
+
"@instructure/ui-i18n": "8.46.2-snapshot-7",
|
|
40
|
+
"@instructure/ui-icons": "8.46.2-snapshot-7",
|
|
41
|
+
"@instructure/ui-prop-types": "8.46.2-snapshot-7",
|
|
42
|
+
"@instructure/ui-react-utils": "8.46.2-snapshot-7",
|
|
43
|
+
"@instructure/ui-testable": "8.46.2-snapshot-7",
|
|
44
|
+
"@instructure/ui-time-select": "8.46.2-snapshot-7",
|
|
45
|
+
"@instructure/ui-utils": "8.46.2-snapshot-7",
|
|
46
46
|
"prop-types": "^15.8.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|