@instructure/ui-date-time-input 8.46.2-snapshot-9 → 8.46.2-snapshot-14
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 +1 -1
- package/es/DateTimeInput/index.js +1 -5
- package/lib/DateTimeInput/index.js +1 -5
- package/package.json +18 -18
- package/src/DateTimeInput/index.tsx +1 -5
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/DateTimeInput/index.d.ts +0 -1
- package/types/DateTimeInput/index.d.ts.map +1 -1
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-14](https://github.com/instructure/instructure-ui/compare/v8.46.1...v8.46.2-snapshot-14) (2023-10-26)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
@@ -39,7 +39,6 @@ import { propTypes, allowedProps } from './props';
|
|
|
39
39
|
---
|
|
40
40
|
category: components
|
|
41
41
|
---
|
|
42
|
-
@tsProps
|
|
43
42
|
**/
|
|
44
43
|
let DateTimeInput = (_dec = testable(), _dec(_class = (_class2 = class DateTimeInput extends Component {
|
|
45
44
|
constructor(props) {
|
|
@@ -255,10 +254,7 @@ let DateTimeInput = (_dec = testable(), _dec(_class = (_class2 = class DateTimeI
|
|
|
255
254
|
// if there is no date string clear TimeSelect value
|
|
256
255
|
const clearTimeSelect = dateStr ? {} : {
|
|
257
256
|
timeSelectValue: '',
|
|
258
|
-
message:
|
|
259
|
-
type: 'success',
|
|
260
|
-
text: ''
|
|
261
|
-
}
|
|
257
|
+
message: void 0
|
|
262
258
|
};
|
|
263
259
|
return {
|
|
264
260
|
iso: void 0,
|
|
@@ -47,7 +47,6 @@ var _dec, _class, _class2, _IconArrowOpenStartSo, _IconArrowOpenEndSoli;
|
|
|
47
47
|
---
|
|
48
48
|
category: components
|
|
49
49
|
---
|
|
50
|
-
@tsProps
|
|
51
50
|
**/
|
|
52
51
|
let DateTimeInput = exports.DateTimeInput = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 = class DateTimeInput extends _react.Component {
|
|
53
52
|
constructor(props) {
|
|
@@ -263,10 +262,7 @@ let DateTimeInput = exports.DateTimeInput = (_dec = (0, _testable.testable)(), _
|
|
|
263
262
|
// if there is no date string clear TimeSelect value
|
|
264
263
|
const clearTimeSelect = dateStr ? {} : {
|
|
265
264
|
timeSelectValue: '',
|
|
266
|
-
message:
|
|
267
|
-
type: 'success',
|
|
268
|
-
text: ''
|
|
269
|
-
}
|
|
265
|
+
message: void 0
|
|
270
266
|
};
|
|
271
267
|
return {
|
|
272
268
|
iso: void 0,
|
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-14",
|
|
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-14",
|
|
27
|
+
"@instructure/ui-test-locator": "8.46.2-snapshot-14",
|
|
28
|
+
"@instructure/ui-test-utils": "8.46.2-snapshot-14"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7.23.2",
|
|
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-
|
|
32
|
+
"@instructure/debounce": "8.46.2-snapshot-14",
|
|
33
|
+
"@instructure/emotion": "8.46.2-snapshot-14",
|
|
34
|
+
"@instructure/ui-a11y-content": "8.46.2-snapshot-14",
|
|
35
|
+
"@instructure/ui-buttons": "8.46.2-snapshot-14",
|
|
36
|
+
"@instructure/ui-calendar": "8.46.2-snapshot-14",
|
|
37
|
+
"@instructure/ui-date-input": "8.46.2-snapshot-14",
|
|
38
|
+
"@instructure/ui-form-field": "8.46.2-snapshot-14",
|
|
39
|
+
"@instructure/ui-i18n": "8.46.2-snapshot-14",
|
|
40
|
+
"@instructure/ui-icons": "8.46.2-snapshot-14",
|
|
41
|
+
"@instructure/ui-prop-types": "8.46.2-snapshot-14",
|
|
42
|
+
"@instructure/ui-react-utils": "8.46.2-snapshot-14",
|
|
43
|
+
"@instructure/ui-testable": "8.46.2-snapshot-14",
|
|
44
|
+
"@instructure/ui-time-select": "8.46.2-snapshot-14",
|
|
45
|
+
"@instructure/ui-utils": "8.46.2-snapshot-14",
|
|
46
46
|
"prop-types": "^15.8.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
@@ -45,7 +45,6 @@ import { propTypes, allowedProps } from './props'
|
|
|
45
45
|
---
|
|
46
46
|
category: components
|
|
47
47
|
---
|
|
48
|
-
@tsProps
|
|
49
48
|
**/
|
|
50
49
|
@testable()
|
|
51
50
|
class DateTimeInput extends Component<DateTimeInputProps, DateTimeInputState> {
|
|
@@ -176,10 +175,7 @@ class DateTimeInput extends Component<DateTimeInputProps, DateTimeInputState> {
|
|
|
176
175
|
? {}
|
|
177
176
|
: {
|
|
178
177
|
timeSelectValue: '',
|
|
179
|
-
message:
|
|
180
|
-
type: 'success',
|
|
181
|
-
text: ''
|
|
182
|
-
}
|
|
178
|
+
message: undefined
|
|
183
179
|
}
|
|
184
180
|
return {
|
|
185
181
|
iso: undefined,
|