@instructure/ui-date-input 8.46.2-snapshot-5 → 8.46.2-snapshot-7
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
|
-
## [8.46.2-snapshot-
|
|
6
|
+
## [8.46.2-snapshot-7](https://github.com/instructure/instructure-ui/compare/v8.46.1...v8.46.2-snapshot-7) (2023-10-20)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-date-input
|
|
9
9
|
|
|
@@ -40,11 +40,10 @@ var _index = require("./index");
|
|
|
40
40
|
/* eslint-enable no-restricted-imports */
|
|
41
41
|
|
|
42
42
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
43
|
-
const DateInputLocator = (0, _locator.locator)(_index.DateInput.selector, {
|
|
43
|
+
const DateInputLocator = exports.DateInputLocator = (0, _locator.locator)(_index.DateInput.selector, {
|
|
44
44
|
findInput: (...args) => (0, _locator.locator)('input').find(...args),
|
|
45
45
|
findCalendar: async (element, ...args) => {
|
|
46
46
|
const content = await _PopoverLocator.PopoverLocator.findContent(element, ...args);
|
|
47
47
|
return content ? _CalendarLocator.CalendarLocator.find(content.getDOMNode()) : null;
|
|
48
48
|
}
|
|
49
|
-
});
|
|
50
|
-
exports.DateInputLocator = DateInputLocator;
|
|
49
|
+
});
|
package/lib/DateInput/index.js
CHANGED
|
@@ -57,7 +57,7 @@ The `DateInput` component provides a visual interface for inputting date data.
|
|
|
57
57
|
See <https://instructure.design/#DateInput/>
|
|
58
58
|
@tsProps
|
|
59
59
|
**/
|
|
60
|
-
let DateInput = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class DateInput extends _react.Component {
|
|
60
|
+
let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class DateInput extends _react.Component {
|
|
61
61
|
constructor(...args) {
|
|
62
62
|
super(...args);
|
|
63
63
|
this.state = {
|
|
@@ -280,6 +280,4 @@ let DateInput = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec2 =
|
|
|
280
280
|
placement: 'bottom center',
|
|
281
281
|
isShowingCalendar: false
|
|
282
282
|
}, _class2)) || _class) || _class);
|
|
283
|
-
exports.
|
|
284
|
-
var _default = DateInput;
|
|
285
|
-
exports.default = _default;
|
|
283
|
+
var _default = exports.default = DateInput;
|
package/lib/DateInput/locator.js
CHANGED
|
@@ -34,5 +34,4 @@ var _DateInputLocator = require("./DateInputLocator");
|
|
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
|
-
var _default = _DateInputLocator.DateInputLocator;
|
|
38
|
-
exports.default = _default;
|
|
37
|
+
var _default = exports.default = _DateInputLocator.DateInputLocator;
|
package/lib/DateInput/props.js
CHANGED
|
@@ -35,7 +35,7 @@ var _Calendar = require("@instructure/ui-calendar/lib/Calendar");
|
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
37
|
|
|
38
|
-
const propTypes = {
|
|
38
|
+
const propTypes = exports.propTypes = {
|
|
39
39
|
renderLabel: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]).isRequired,
|
|
40
40
|
value: (0, _controllable.controllable)(_propTypes.default.string),
|
|
41
41
|
size: _propTypes.default.oneOf(['small', 'medium', 'large']),
|
|
@@ -66,6 +66,4 @@ const propTypes = {
|
|
|
66
66
|
renderPrevMonthButton: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node]),
|
|
67
67
|
children: _Children.Children.oneOf([_Calendar.Calendar.Day])
|
|
68
68
|
};
|
|
69
|
-
exports.
|
|
70
|
-
const allowedProps = ['renderLabel', 'value', 'size', 'placeholder', 'onChange', 'onBlur', 'interaction', 'isRequired', 'isInline', 'assistiveText', 'layout', 'width', 'display', 'inputRef', 'messages', 'placement', 'isShowingCalendar', 'onRequestValidateDate', 'onRequestShowCalendar', 'onRequestHideCalendar', 'onRequestSelectNextDay', 'onRequestSelectPrevDay', 'onRequestRenderNextMonth', 'onRequestRenderPrevMonth', 'renderNavigationLabel', 'renderWeekdayLabels', 'renderNextMonthButton', 'renderPrevMonthButton', 'children'];
|
|
71
|
-
exports.allowedProps = allowedProps;
|
|
69
|
+
const allowedProps = exports.allowedProps = ['renderLabel', 'value', 'size', 'placeholder', 'onChange', 'onBlur', 'interaction', 'isRequired', 'isInline', 'assistiveText', 'layout', 'width', 'display', 'inputRef', 'messages', 'placement', 'isShowingCalendar', 'onRequestValidateDate', 'onRequestShowCalendar', 'onRequestHideCalendar', 'onRequestSelectNextDay', 'onRequestSelectPrevDay', 'onRequestRenderNextMonth', 'onRequestRenderPrevMonth', 'renderNavigationLabel', 'renderWeekdayLabels', 'renderNextMonthButton', 'renderPrevMonthButton', 'children'];
|
package/lib/DateInput/styles.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-date-input",
|
|
3
|
-
"version": "8.46.2-snapshot-
|
|
3
|
+
"version": "8.46.2-snapshot-7",
|
|
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,24 +23,24 @@
|
|
|
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-7",
|
|
27
|
+
"@instructure/ui-test-locator": "8.46.2-snapshot-7",
|
|
28
|
+
"@instructure/ui-test-utils": "8.46.2-snapshot-7"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "^7.
|
|
32
|
-
"@instructure/emotion": "8.46.2-snapshot-
|
|
33
|
-
"@instructure/ui-calendar": "8.46.2-snapshot-
|
|
34
|
-
"@instructure/ui-form-field": "8.46.2-snapshot-
|
|
35
|
-
"@instructure/ui-icons": "8.46.2-snapshot-
|
|
36
|
-
"@instructure/ui-popover": "8.46.2-snapshot-
|
|
37
|
-
"@instructure/ui-position": "8.46.2-snapshot-
|
|
38
|
-
"@instructure/ui-prop-types": "8.46.2-snapshot-
|
|
39
|
-
"@instructure/ui-react-utils": "8.46.2-snapshot-
|
|
40
|
-
"@instructure/ui-selectable": "8.46.2-snapshot-
|
|
41
|
-
"@instructure/ui-testable": "8.46.2-snapshot-
|
|
42
|
-
"@instructure/ui-text-input": "8.46.2-snapshot-
|
|
43
|
-
"@instructure/ui-utils": "8.46.2-snapshot-
|
|
31
|
+
"@babel/runtime": "^7.23.2",
|
|
32
|
+
"@instructure/emotion": "8.46.2-snapshot-7",
|
|
33
|
+
"@instructure/ui-calendar": "8.46.2-snapshot-7",
|
|
34
|
+
"@instructure/ui-form-field": "8.46.2-snapshot-7",
|
|
35
|
+
"@instructure/ui-icons": "8.46.2-snapshot-7",
|
|
36
|
+
"@instructure/ui-popover": "8.46.2-snapshot-7",
|
|
37
|
+
"@instructure/ui-position": "8.46.2-snapshot-7",
|
|
38
|
+
"@instructure/ui-prop-types": "8.46.2-snapshot-7",
|
|
39
|
+
"@instructure/ui-react-utils": "8.46.2-snapshot-7",
|
|
40
|
+
"@instructure/ui-selectable": "8.46.2-snapshot-7",
|
|
41
|
+
"@instructure/ui-testable": "8.46.2-snapshot-7",
|
|
42
|
+
"@instructure/ui-text-input": "8.46.2-snapshot-7",
|
|
43
|
+
"@instructure/ui-utils": "8.46.2-snapshot-7",
|
|
44
44
|
"prop-types": "^15.8.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|