@instructure/ui-date-time-input 10.11.1-snapshot-8 → 10.11.1-snapshot-9
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/package.json +17 -17
- package/src/DateTimeInput/README.md +8 -8
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
|
-
## [10.11.1-snapshot-
|
|
6
|
+
## [10.11.1-snapshot-9](https://github.com/instructure/instructure-ui/compare/v10.11.0...v10.11.1-snapshot-9) (2025-02-20)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-date-time-input
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-date-time-input",
|
|
3
|
-
"version": "10.11.1-snapshot-
|
|
3
|
+
"version": "10.11.1-snapshot-9",
|
|
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,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "10.11.1-snapshot-
|
|
27
|
-
"@instructure/ui-test-utils": "10.11.1-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "10.11.1-snapshot-9",
|
|
27
|
+
"@instructure/ui-test-utils": "10.11.1-snapshot-9",
|
|
28
28
|
"@testing-library/jest-dom": "^6.6.3",
|
|
29
29
|
"@testing-library/react": "^16.0.1",
|
|
30
30
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -32,20 +32,20 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.26.0",
|
|
35
|
-
"@instructure/console": "10.11.1-snapshot-
|
|
36
|
-
"@instructure/shared-types": "10.11.1-snapshot-
|
|
37
|
-
"@instructure/ui-a11y-content": "10.11.1-snapshot-
|
|
38
|
-
"@instructure/ui-buttons": "10.11.1-snapshot-
|
|
39
|
-
"@instructure/ui-calendar": "10.11.1-snapshot-
|
|
40
|
-
"@instructure/ui-date-input": "10.11.1-snapshot-
|
|
41
|
-
"@instructure/ui-form-field": "10.11.1-snapshot-
|
|
42
|
-
"@instructure/ui-i18n": "10.11.1-snapshot-
|
|
43
|
-
"@instructure/ui-icons": "10.11.1-snapshot-
|
|
44
|
-
"@instructure/ui-prop-types": "10.11.1-snapshot-
|
|
45
|
-
"@instructure/ui-react-utils": "10.11.1-snapshot-
|
|
46
|
-
"@instructure/ui-testable": "10.11.1-snapshot-
|
|
47
|
-
"@instructure/ui-time-select": "10.11.1-snapshot-
|
|
48
|
-
"@instructure/ui-utils": "10.11.1-snapshot-
|
|
35
|
+
"@instructure/console": "10.11.1-snapshot-9",
|
|
36
|
+
"@instructure/shared-types": "10.11.1-snapshot-9",
|
|
37
|
+
"@instructure/ui-a11y-content": "10.11.1-snapshot-9",
|
|
38
|
+
"@instructure/ui-buttons": "10.11.1-snapshot-9",
|
|
39
|
+
"@instructure/ui-calendar": "10.11.1-snapshot-9",
|
|
40
|
+
"@instructure/ui-date-input": "10.11.1-snapshot-9",
|
|
41
|
+
"@instructure/ui-form-field": "10.11.1-snapshot-9",
|
|
42
|
+
"@instructure/ui-i18n": "10.11.1-snapshot-9",
|
|
43
|
+
"@instructure/ui-icons": "10.11.1-snapshot-9",
|
|
44
|
+
"@instructure/ui-prop-types": "10.11.1-snapshot-9",
|
|
45
|
+
"@instructure/ui-react-utils": "10.11.1-snapshot-9",
|
|
46
|
+
"@instructure/ui-testable": "10.11.1-snapshot-9",
|
|
47
|
+
"@instructure/ui-time-select": "10.11.1-snapshot-9",
|
|
48
|
+
"@instructure/ui-utils": "10.11.1-snapshot-9",
|
|
49
49
|
"prop-types": "^15.8.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
@@ -23,7 +23,7 @@ The component is localized via its `locale` and `timezone` parameters. Both are
|
|
|
23
23
|
class Example extends React.Component {
|
|
24
24
|
render() {
|
|
25
25
|
return (
|
|
26
|
-
<div style={{ height: '
|
|
26
|
+
<div style={{ height: '15rem' }}>
|
|
27
27
|
<DateTimeInput
|
|
28
28
|
description="Pick a date and time"
|
|
29
29
|
datePlaceholder="Choose a date"
|
|
@@ -45,7 +45,7 @@ The component is localized via its `locale` and `timezone` parameters. Both are
|
|
|
45
45
|
- ```js
|
|
46
46
|
const Example = () => {
|
|
47
47
|
return (
|
|
48
|
-
<div style={{ height: '
|
|
48
|
+
<div style={{ height: '15rem' }}>
|
|
49
49
|
<DateTimeInput
|
|
50
50
|
description="Pick a date and time"
|
|
51
51
|
datePlaceholder="Choose a date"
|
|
@@ -98,7 +98,7 @@ This sample code also allows the user to enter an arbitrary time value by settin
|
|
|
98
98
|
? new Date(this.state.value).toString()
|
|
99
99
|
: 'N/A'
|
|
100
100
|
return (
|
|
101
|
-
<div
|
|
101
|
+
<div>
|
|
102
102
|
<div style={{ marginBottom: '1em', fontStyle: 'italic' }}>
|
|
103
103
|
You entered:
|
|
104
104
|
<br />
|
|
@@ -155,7 +155,7 @@ This sample code also allows the user to enter an arbitrary time value by settin
|
|
|
155
155
|
const text = value ? new Date(value).toString() : 'N/A'
|
|
156
156
|
|
|
157
157
|
return (
|
|
158
|
-
<div
|
|
158
|
+
<div>
|
|
159
159
|
<div style={{ marginBottom: '1em', fontStyle: 'italic' }}>
|
|
160
160
|
You entered:
|
|
161
161
|
<br />
|
|
@@ -214,7 +214,7 @@ type: example
|
|
|
214
214
|
render() {
|
|
215
215
|
return (
|
|
216
216
|
<ApplyLocale locale="fr" timezone="Africa/Nairobi">
|
|
217
|
-
<div style={{ height: '
|
|
217
|
+
<div style={{ height: '14rem' }}>
|
|
218
218
|
<DateTimeInput
|
|
219
219
|
description="Pick a date and time"
|
|
220
220
|
datePlaceholder="Choose a date"
|
|
@@ -240,7 +240,7 @@ type: example
|
|
|
240
240
|
const Example = () => {
|
|
241
241
|
return (
|
|
242
242
|
<ApplyLocale locale="fr" timezone="Africa/Nairobi">
|
|
243
|
-
<div style={{ height: '
|
|
243
|
+
<div style={{ height: '14rem' }}>
|
|
244
244
|
<DateTimeInput
|
|
245
245
|
description="Pick a date and time"
|
|
246
246
|
datePlaceholder="Choose a date"
|
|
@@ -304,7 +304,7 @@ type: example
|
|
|
304
304
|
}
|
|
305
305
|
render() {
|
|
306
306
|
return (
|
|
307
|
-
<div style={{ height: '
|
|
307
|
+
<div style={{ height: '15rem' }}>
|
|
308
308
|
<DateTimeInput
|
|
309
309
|
description="Pick a date and time"
|
|
310
310
|
datePlaceholder="Choose a date"
|
|
@@ -349,7 +349,7 @@ type: example
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
return (
|
|
352
|
-
<div style={{ height: '
|
|
352
|
+
<div style={{ height: '15rem' }}>
|
|
353
353
|
<DateTimeInput
|
|
354
354
|
description="Pick a date and time"
|
|
355
355
|
datePlaceholder="Choose a date"
|