@instructure/ui-date-time-input 10.11.1-snapshot-8 → 10.11.1-snapshot-10

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
- ## [10.11.1-snapshot-8](https://github.com/instructure/instructure-ui/compare/v10.11.0...v10.11.1-snapshot-8) (2025-02-14)
6
+ ## [10.11.1-snapshot-10](https://github.com/instructure/instructure-ui/compare/v10.11.0...v10.11.1-snapshot-10) (2025-02-21)
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-8",
3
+ "version": "10.11.1-snapshot-10",
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-8",
27
- "@instructure/ui-test-utils": "10.11.1-snapshot-8",
26
+ "@instructure/ui-babel-preset": "10.11.1-snapshot-10",
27
+ "@instructure/ui-test-utils": "10.11.1-snapshot-10",
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-8",
36
- "@instructure/shared-types": "10.11.1-snapshot-8",
37
- "@instructure/ui-a11y-content": "10.11.1-snapshot-8",
38
- "@instructure/ui-buttons": "10.11.1-snapshot-8",
39
- "@instructure/ui-calendar": "10.11.1-snapshot-8",
40
- "@instructure/ui-date-input": "10.11.1-snapshot-8",
41
- "@instructure/ui-form-field": "10.11.1-snapshot-8",
42
- "@instructure/ui-i18n": "10.11.1-snapshot-8",
43
- "@instructure/ui-icons": "10.11.1-snapshot-8",
44
- "@instructure/ui-prop-types": "10.11.1-snapshot-8",
45
- "@instructure/ui-react-utils": "10.11.1-snapshot-8",
46
- "@instructure/ui-testable": "10.11.1-snapshot-8",
47
- "@instructure/ui-time-select": "10.11.1-snapshot-8",
48
- "@instructure/ui-utils": "10.11.1-snapshot-8",
35
+ "@instructure/console": "10.11.1-snapshot-10",
36
+ "@instructure/shared-types": "10.11.1-snapshot-10",
37
+ "@instructure/ui-a11y-content": "10.11.1-snapshot-10",
38
+ "@instructure/ui-buttons": "10.11.1-snapshot-10",
39
+ "@instructure/ui-calendar": "10.11.1-snapshot-10",
40
+ "@instructure/ui-date-input": "10.11.1-snapshot-10",
41
+ "@instructure/ui-form-field": "10.11.1-snapshot-10",
42
+ "@instructure/ui-i18n": "10.11.1-snapshot-10",
43
+ "@instructure/ui-icons": "10.11.1-snapshot-10",
44
+ "@instructure/ui-prop-types": "10.11.1-snapshot-10",
45
+ "@instructure/ui-react-utils": "10.11.1-snapshot-10",
46
+ "@instructure/ui-testable": "10.11.1-snapshot-10",
47
+ "@instructure/ui-time-select": "10.11.1-snapshot-10",
48
+ "@instructure/ui-utils": "10.11.1-snapshot-10",
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: '10rem', width: '40em' }}>
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: '10rem', width: '40em' }}>
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 style={{ width: '25em' }}>
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 style={{ width: '25em' }}>
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: '12rem', width: '40em' }}>
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: '12rem', width: '40em' }}>
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: '12rem', width: '40em' }}>
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: '12rem', width: '40em' }}>
352
+ <div style={{ height: '15rem' }}>
353
353
  <DateTimeInput
354
354
  description="Pick a date and time"
355
355
  datePlaceholder="Choose a date"