@instructure/ui-date-input 9.0.2-snapshot-1 → 9.0.2-snapshot-3
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/DateInput/index.js +4 -4
- package/lib/DateInput/index.js +4 -4
- package/package.json +22 -22
- package/tsconfig.build.tsbuildinfo +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
|
-
## [9.0.2-snapshot-
|
|
6
|
+
## [9.0.2-snapshot-3](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-3) (2024-05-28)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-date-input
|
|
9
9
|
|
package/es/DateInput/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
2
|
const _excluded = ["renderLabel", "value", "placeholder", "onBlur", "isRequired", "size", "isInline", "layout", "width", "onRequestValidateDate", "onRequestShowCalendar", "onRequestHideCalendar", "onRequestSelectNextDay", "onRequestSelectPrevDay", "onRequestRenderNextMonth", "onRequestRenderPrevMonth"],
|
|
3
3
|
_excluded2 = ["ref"];
|
|
4
|
-
var _dec, _dec2, _class,
|
|
4
|
+
var _dec, _dec2, _class, _DateInput, _IconCalendarMonthLin;
|
|
5
5
|
/*
|
|
6
6
|
* The MIT License (MIT)
|
|
7
7
|
*
|
|
@@ -47,7 +47,7 @@ category: components
|
|
|
47
47
|
The `DateInput` component provides a visual interface for inputting date data.
|
|
48
48
|
See <https://instructure.design/#DateInput/>
|
|
49
49
|
**/
|
|
50
|
-
let DateInput = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec(_class = _dec2(_class = (
|
|
50
|
+
let DateInput = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec(_class = _dec2(_class = (_DateInput = class DateInput extends Component {
|
|
51
51
|
constructor(...args) {
|
|
52
52
|
super(...args);
|
|
53
53
|
this.state = {
|
|
@@ -380,7 +380,7 @@ let DateInput = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec
|
|
|
380
380
|
getOptionProps
|
|
381
381
|
}))));
|
|
382
382
|
}
|
|
383
|
-
},
|
|
383
|
+
}, _DateInput.displayName = "DateInput", _DateInput.componentId = 'DateInput', _DateInput.Day = Calendar.Day, _DateInput.propTypes = propTypes, _DateInput.allowedProps = allowedProps, _DateInput.defaultProps = {
|
|
384
384
|
value: '',
|
|
385
385
|
size: 'medium',
|
|
386
386
|
onBlur: () => {},
|
|
@@ -391,6 +391,6 @@ let DateInput = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec
|
|
|
391
391
|
display: 'inline-block',
|
|
392
392
|
placement: 'bottom center',
|
|
393
393
|
isShowingCalendar: false
|
|
394
|
-
},
|
|
394
|
+
}, _DateInput)) || _class) || _class);
|
|
395
395
|
export default DateInput;
|
|
396
396
|
export { DateInput };
|
package/lib/DateInput/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var _styles = _interopRequireDefault(require("./styles"));
|
|
|
26
26
|
var _props2 = require("./props");
|
|
27
27
|
const _excluded = ["renderLabel", "value", "placeholder", "onBlur", "isRequired", "size", "isInline", "layout", "width", "onRequestValidateDate", "onRequestShowCalendar", "onRequestHideCalendar", "onRequestSelectNextDay", "onRequestSelectPrevDay", "onRequestRenderNextMonth", "onRequestRenderPrevMonth"],
|
|
28
28
|
_excluded2 = ["ref"];
|
|
29
|
-
var _dec, _dec2, _class,
|
|
29
|
+
var _dec, _dec2, _class, _DateInput, _IconCalendarMonthLin;
|
|
30
30
|
/*
|
|
31
31
|
* The MIT License (MIT)
|
|
32
32
|
*
|
|
@@ -58,7 +58,7 @@ category: components
|
|
|
58
58
|
The `DateInput` component provides a visual interface for inputting date data.
|
|
59
59
|
See <https://instructure.design/#DateInput/>
|
|
60
60
|
**/
|
|
61
|
-
let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (
|
|
61
|
+
let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_DateInput = class DateInput extends _react.Component {
|
|
62
62
|
constructor(...args) {
|
|
63
63
|
super(...args);
|
|
64
64
|
this.state = {
|
|
@@ -391,7 +391,7 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
391
391
|
getOptionProps
|
|
392
392
|
}))));
|
|
393
393
|
}
|
|
394
|
-
},
|
|
394
|
+
}, _DateInput.displayName = "DateInput", _DateInput.componentId = 'DateInput', _DateInput.Day = _Calendar.Calendar.Day, _DateInput.propTypes = _props2.propTypes, _DateInput.allowedProps = _props2.allowedProps, _DateInput.defaultProps = {
|
|
395
395
|
value: '',
|
|
396
396
|
size: 'medium',
|
|
397
397
|
onBlur: () => {},
|
|
@@ -402,5 +402,5 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
402
402
|
display: 'inline-block',
|
|
403
403
|
placement: 'bottom center',
|
|
404
404
|
isShowingCalendar: false
|
|
405
|
-
},
|
|
405
|
+
}, _DateInput)) || _class) || _class);
|
|
406
406
|
var _default = exports.default = DateInput;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-date-input",
|
|
3
|
-
"version": "9.0.2-snapshot-
|
|
3
|
+
"version": "9.0.2-snapshot-3",
|
|
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,29 +23,29 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "9.0.2-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "9.0.2-snapshot-
|
|
28
|
-
"@instructure/ui-scripts": "9.0.2-snapshot-
|
|
29
|
-
"@instructure/ui-test-utils": "9.0.2-snapshot-
|
|
30
|
-
"@testing-library/jest-dom": "^6.
|
|
31
|
-
"@testing-library/react": "^
|
|
32
|
-
"@testing-library/user-event": "^14.5.
|
|
26
|
+
"@instructure/ui-axe-check": "9.0.2-snapshot-3",
|
|
27
|
+
"@instructure/ui-babel-preset": "9.0.2-snapshot-3",
|
|
28
|
+
"@instructure/ui-scripts": "9.0.2-snapshot-3",
|
|
29
|
+
"@instructure/ui-test-utils": "9.0.2-snapshot-3",
|
|
30
|
+
"@testing-library/jest-dom": "^6.4.5",
|
|
31
|
+
"@testing-library/react": "^15.0.7",
|
|
32
|
+
"@testing-library/user-event": "^14.5.2"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@babel/runtime": "^7.
|
|
36
|
-
"@instructure/emotion": "9.0.2-snapshot-
|
|
37
|
-
"@instructure/ui-calendar": "9.0.2-snapshot-
|
|
38
|
-
"@instructure/ui-form-field": "9.0.2-snapshot-
|
|
39
|
-
"@instructure/ui-i18n": "9.0.2-snapshot-
|
|
40
|
-
"@instructure/ui-icons": "9.0.2-snapshot-
|
|
41
|
-
"@instructure/ui-popover": "9.0.2-snapshot-
|
|
42
|
-
"@instructure/ui-position": "9.0.2-snapshot-
|
|
43
|
-
"@instructure/ui-prop-types": "9.0.2-snapshot-
|
|
44
|
-
"@instructure/ui-react-utils": "9.0.2-snapshot-
|
|
45
|
-
"@instructure/ui-selectable": "9.0.2-snapshot-
|
|
46
|
-
"@instructure/ui-testable": "9.0.2-snapshot-
|
|
47
|
-
"@instructure/ui-text-input": "9.0.2-snapshot-
|
|
48
|
-
"@instructure/ui-utils": "9.0.2-snapshot-
|
|
35
|
+
"@babel/runtime": "^7.24.5",
|
|
36
|
+
"@instructure/emotion": "9.0.2-snapshot-3",
|
|
37
|
+
"@instructure/ui-calendar": "9.0.2-snapshot-3",
|
|
38
|
+
"@instructure/ui-form-field": "9.0.2-snapshot-3",
|
|
39
|
+
"@instructure/ui-i18n": "9.0.2-snapshot-3",
|
|
40
|
+
"@instructure/ui-icons": "9.0.2-snapshot-3",
|
|
41
|
+
"@instructure/ui-popover": "9.0.2-snapshot-3",
|
|
42
|
+
"@instructure/ui-position": "9.0.2-snapshot-3",
|
|
43
|
+
"@instructure/ui-prop-types": "9.0.2-snapshot-3",
|
|
44
|
+
"@instructure/ui-react-utils": "9.0.2-snapshot-3",
|
|
45
|
+
"@instructure/ui-selectable": "9.0.2-snapshot-3",
|
|
46
|
+
"@instructure/ui-testable": "9.0.2-snapshot-3",
|
|
47
|
+
"@instructure/ui-text-input": "9.0.2-snapshot-3",
|
|
48
|
+
"@instructure/ui-utils": "9.0.2-snapshot-3",
|
|
49
49
|
"prop-types": "^15.8.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|