@instructure/ui-date-input 10.4.2-snapshot-10 → 10.4.2-snapshot-11
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.4.2-snapshot-
|
6
|
+
## [10.4.2-snapshot-11](https://github.com/instructure/instructure-ui/compare/v10.4.1...v10.4.2-snapshot-11) (2024-11-06)
|
7
7
|
|
8
8
|
|
9
9
|
### Bug Fixes
|
@@ -11,6 +11,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
11
11
|
* **ui-date-input:** fix DateInput2 to update messages properly ([553a235](https://github.com/instructure/instructure-ui/commit/553a2351fc7f8c6d012d4001ff49c2450d29ee97))
|
12
12
|
|
13
13
|
|
14
|
+
### Features
|
15
|
+
|
16
|
+
* **many:** add new form field error msg style + add asterisk for required fields ([9b03683](https://github.com/instructure/instructure-ui/commit/9b03683dadeef4c5deae2c60bea10686f143ff5d))
|
17
|
+
|
18
|
+
|
14
19
|
|
15
20
|
|
16
21
|
|
@@ -188,7 +188,7 @@ describe('<DateInput />', () => {
|
|
188
188
|
renderWeekdayLabels: weekdayLabels,
|
189
189
|
isRequired: true
|
190
190
|
}, generateDays()));
|
191
|
-
const dateInput = screen.getByLabelText('Choose date');
|
191
|
+
const dateInput = screen.getByLabelText('Choose date *');
|
192
192
|
expect(dateInput).toHaveAttribute('required');
|
193
193
|
});
|
194
194
|
it('should provide inputRef', () => {
|
@@ -190,7 +190,7 @@ describe('<DateInput />', () => {
|
|
190
190
|
renderWeekdayLabels: weekdayLabels,
|
191
191
|
isRequired: true
|
192
192
|
}, generateDays()));
|
193
|
-
const dateInput = _react2.screen.getByLabelText('Choose date');
|
193
|
+
const dateInput = _react2.screen.getByLabelText('Choose date *');
|
194
194
|
expect(dateInput).toHaveAttribute('required');
|
195
195
|
});
|
196
196
|
it('should provide inputRef', () => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@instructure/ui-date-input",
|
3
|
-
"version": "10.4.2-snapshot-
|
3
|
+
"version": "10.4.2-snapshot-11",
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
6
6
|
"module": "./es/index.js",
|
@@ -23,11 +23,11 @@
|
|
23
23
|
},
|
24
24
|
"license": "MIT",
|
25
25
|
"devDependencies": {
|
26
|
-
"@instructure/ui-axe-check": "10.4.2-snapshot-
|
27
|
-
"@instructure/ui-babel-preset": "10.4.2-snapshot-
|
28
|
-
"@instructure/ui-buttons": "10.4.2-snapshot-
|
29
|
-
"@instructure/ui-scripts": "10.4.2-snapshot-
|
30
|
-
"@instructure/ui-test-utils": "10.4.2-snapshot-
|
26
|
+
"@instructure/ui-axe-check": "10.4.2-snapshot-11",
|
27
|
+
"@instructure/ui-babel-preset": "10.4.2-snapshot-11",
|
28
|
+
"@instructure/ui-buttons": "10.4.2-snapshot-11",
|
29
|
+
"@instructure/ui-scripts": "10.4.2-snapshot-11",
|
30
|
+
"@instructure/ui-test-utils": "10.4.2-snapshot-11",
|
31
31
|
"@testing-library/jest-dom": "^6.4.6",
|
32
32
|
"@testing-library/react": "^16.0.1",
|
33
33
|
"@testing-library/user-event": "^14.5.2",
|
@@ -35,20 +35,20 @@
|
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
37
|
"@babel/runtime": "^7.25.6",
|
38
|
-
"@instructure/emotion": "10.4.2-snapshot-
|
39
|
-
"@instructure/shared-types": "10.4.2-snapshot-
|
40
|
-
"@instructure/ui-calendar": "10.4.2-snapshot-
|
41
|
-
"@instructure/ui-form-field": "10.4.2-snapshot-
|
42
|
-
"@instructure/ui-i18n": "10.4.2-snapshot-
|
43
|
-
"@instructure/ui-icons": "10.4.2-snapshot-
|
44
|
-
"@instructure/ui-popover": "10.4.2-snapshot-
|
45
|
-
"@instructure/ui-position": "10.4.2-snapshot-
|
46
|
-
"@instructure/ui-prop-types": "10.4.2-snapshot-
|
47
|
-
"@instructure/ui-react-utils": "10.4.2-snapshot-
|
48
|
-
"@instructure/ui-selectable": "10.4.2-snapshot-
|
49
|
-
"@instructure/ui-testable": "10.4.2-snapshot-
|
50
|
-
"@instructure/ui-text-input": "10.4.2-snapshot-
|
51
|
-
"@instructure/ui-utils": "10.4.2-snapshot-
|
38
|
+
"@instructure/emotion": "10.4.2-snapshot-11",
|
39
|
+
"@instructure/shared-types": "10.4.2-snapshot-11",
|
40
|
+
"@instructure/ui-calendar": "10.4.2-snapshot-11",
|
41
|
+
"@instructure/ui-form-field": "10.4.2-snapshot-11",
|
42
|
+
"@instructure/ui-i18n": "10.4.2-snapshot-11",
|
43
|
+
"@instructure/ui-icons": "10.4.2-snapshot-11",
|
44
|
+
"@instructure/ui-popover": "10.4.2-snapshot-11",
|
45
|
+
"@instructure/ui-position": "10.4.2-snapshot-11",
|
46
|
+
"@instructure/ui-prop-types": "10.4.2-snapshot-11",
|
47
|
+
"@instructure/ui-react-utils": "10.4.2-snapshot-11",
|
48
|
+
"@instructure/ui-selectable": "10.4.2-snapshot-11",
|
49
|
+
"@instructure/ui-testable": "10.4.2-snapshot-11",
|
50
|
+
"@instructure/ui-text-input": "10.4.2-snapshot-11",
|
51
|
+
"@instructure/ui-utils": "10.4.2-snapshot-11",
|
52
52
|
"moment-timezone": "^0.5.45",
|
53
53
|
"prop-types": "^15.8.1"
|
54
54
|
},
|
@@ -270,7 +270,7 @@ describe('<DateInput />', () => {
|
|
270
270
|
{generateDays()}
|
271
271
|
</DateInput>
|
272
272
|
)
|
273
|
-
const dateInput = screen.getByLabelText('Choose date')
|
273
|
+
const dateInput = screen.getByLabelText('Choose date *')
|
274
274
|
|
275
275
|
expect(dateInput).toHaveAttribute('required')
|
276
276
|
})
|