@instructure/ui-time-select 9.0.2-snapshot-2 → 9.0.2-snapshot-4

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
- ## [9.0.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-2) (2024-05-28)
6
+ ## [9.0.2-snapshot-4](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-4) (2024-06-05)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-time-select
9
9
 
@@ -24,7 +24,7 @@
24
24
  import { locator } from '@instructure/ui-test-locator';
25
25
 
26
26
  /* eslint-disable no-restricted-imports */
27
- // @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
27
+ // @ts-ignore: Cannot find module
28
28
  import { SelectLocator } from '@instructure/ui-select/es/Select/SelectLocator';
29
29
  /* eslint-enable no-restricted-imports */
30
30
 
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["value", "defaultValue", "placeholder", "renderLabel", "inputRef", "id", "listRef", "renderBeforeInput", "renderAfterInput", "isRequired", "isInline", "width", "format", "step", "optionsMaxWidth", "visibleOptionsCount", "messages", "placement", "constrain", "onFocus", "onShowOptions", "onHideOptions", "onInputChange", "onKeyDown", "mountNode"];
3
- var _dec, _dec2, _class, _class2;
3
+ var _dec, _dec2, _class, _TimeSelect;
4
4
  /*
5
5
  * The MIT License (MIT)
6
6
  *
@@ -38,7 +38,7 @@ category: components
38
38
 
39
39
  A component used to select a time value.
40
40
  **/
41
- let TimeSelect = (_dec = withDeterministicId(), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class TimeSelect extends Component {
41
+ let TimeSelect = (_dec = withDeterministicId(), _dec2 = testable(), _dec(_class = _dec2(_class = (_TimeSelect = class TimeSelect extends Component {
42
42
  constructor(props) {
43
43
  super(props);
44
44
  this.ref = null;
@@ -99,7 +99,6 @@ let TimeSelect = (_dec = withDeterministicId(), _dec2 = testable(), _dec(_class
99
99
  }));
100
100
  // others are set in handleBlurOrEsc
101
101
  }
102
-
103
102
  (_this$props$onKeyDown = (_this$props4 = this.props).onKeyDown) === null || _this$props$onKeyDown === void 0 ? void 0 : _this$props$onKeyDown.call(_this$props4, event);
104
103
  };
105
104
  this.handleShowOptions = event => {
@@ -485,7 +484,7 @@ let TimeSelect = (_dec = withDeterministicId(), _dec2 = testable(), _dec(_class
485
484
  onKeyDown: this.onKeyDown
486
485
  }, passthroughProps(rest)), isShowingOptions && this.renderOptions());
487
486
  }
488
- }, _class2.displayName = "TimeSelect", _class2.componentId = 'TimeSelect', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
487
+ }, _TimeSelect.displayName = "TimeSelect", _TimeSelect.componentId = 'TimeSelect', _TimeSelect.allowedProps = allowedProps, _TimeSelect.propTypes = propTypes, _TimeSelect.defaultProps = {
489
488
  defaultToFirstOption: false,
490
489
  format: 'LT',
491
490
  // see https://momentjs.com/docs/#/displaying/
@@ -497,6 +496,6 @@ let TimeSelect = (_dec = withDeterministicId(), _dec2 = testable(), _dec(_class
497
496
  constrain: 'window',
498
497
  renderEmptyOption: '---',
499
498
  allowNonStepInput: false
500
- }, _class2.contextType = ApplyLocaleContext, _class2)) || _class) || _class);
499
+ }, _TimeSelect.contextType = ApplyLocaleContext, _TimeSelect)) || _class) || _class);
501
500
  export { TimeSelect };
502
501
  export default TimeSelect;
@@ -32,7 +32,7 @@ var _index = require("./index");
32
32
  */
33
33
 
34
34
  /* eslint-disable no-restricted-imports */
35
- // @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
35
+ // @ts-ignore: Cannot find module
36
36
 
37
37
  /* eslint-enable no-restricted-imports */
38
38
 
@@ -19,7 +19,7 @@ var _testable = require("@instructure/ui-testable/lib/testable.js");
19
19
  var _Select = require("@instructure/ui-select/lib/Select");
20
20
  var _props = require("./props");
21
21
  const _excluded = ["value", "defaultValue", "placeholder", "renderLabel", "inputRef", "id", "listRef", "renderBeforeInput", "renderAfterInput", "isRequired", "isInline", "width", "format", "step", "optionsMaxWidth", "visibleOptionsCount", "messages", "placement", "constrain", "onFocus", "onShowOptions", "onHideOptions", "onInputChange", "onKeyDown", "mountNode"];
22
- var _dec, _dec2, _class, _class2;
22
+ var _dec, _dec2, _class, _TimeSelect;
23
23
  /*
24
24
  * The MIT License (MIT)
25
25
  *
@@ -50,7 +50,7 @@ category: components
50
50
 
51
51
  A component used to select a time value.
52
52
  **/
53
- let TimeSelect = exports.TimeSelect = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class TimeSelect extends _react.Component {
53
+ let TimeSelect = exports.TimeSelect = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_TimeSelect = class TimeSelect extends _react.Component {
54
54
  constructor(props) {
55
55
  super(props);
56
56
  this.ref = null;
@@ -111,7 +111,6 @@ let TimeSelect = exports.TimeSelect = (_dec = (0, _withDeterministicId.withDeter
111
111
  }));
112
112
  // others are set in handleBlurOrEsc
113
113
  }
114
-
115
114
  (_this$props$onKeyDown = (_this$props4 = this.props).onKeyDown) === null || _this$props$onKeyDown === void 0 ? void 0 : _this$props$onKeyDown.call(_this$props4, event);
116
115
  };
117
116
  this.handleShowOptions = event => {
@@ -497,7 +496,7 @@ let TimeSelect = exports.TimeSelect = (_dec = (0, _withDeterministicId.withDeter
497
496
  onKeyDown: this.onKeyDown
498
497
  }, (0, _passthroughProps.passthroughProps)(rest)), isShowingOptions && this.renderOptions());
499
498
  }
500
- }, _class2.displayName = "TimeSelect", _class2.componentId = 'TimeSelect', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
499
+ }, _TimeSelect.displayName = "TimeSelect", _TimeSelect.componentId = 'TimeSelect', _TimeSelect.allowedProps = _props.allowedProps, _TimeSelect.propTypes = _props.propTypes, _TimeSelect.defaultProps = {
501
500
  defaultToFirstOption: false,
502
501
  format: 'LT',
503
502
  // see https://momentjs.com/docs/#/displaying/
@@ -509,5 +508,5 @@ let TimeSelect = exports.TimeSelect = (_dec = (0, _withDeterministicId.withDeter
509
508
  constrain: 'window',
510
509
  renderEmptyOption: '---',
511
510
  allowNonStepInput: false
512
- }, _class2.contextType = _ApplyLocaleContext.ApplyLocaleContext, _class2)) || _class) || _class);
511
+ }, _TimeSelect.contextType = _ApplyLocaleContext.ApplyLocaleContext, _TimeSelect)) || _class) || _class);
513
512
  var _default = exports.default = TimeSelect;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-time-select",
3
- "version": "9.0.2-snapshot-2",
3
+ "version": "9.0.2-snapshot-4",
4
4
  "description": "A component for selecting time values.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,22 +23,22 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@babel/runtime": "^7.23.2",
27
- "@instructure/shared-types": "9.0.2-snapshot-2",
28
- "@instructure/ui-form-field": "9.0.2-snapshot-2",
29
- "@instructure/ui-i18n": "9.0.2-snapshot-2",
30
- "@instructure/ui-position": "9.0.2-snapshot-2",
31
- "@instructure/ui-prop-types": "9.0.2-snapshot-2",
32
- "@instructure/ui-react-utils": "9.0.2-snapshot-2",
33
- "@instructure/ui-select": "9.0.2-snapshot-2",
34
- "@instructure/ui-test-locator": "9.0.2-snapshot-2",
35
- "@instructure/ui-testable": "9.0.2-snapshot-2",
36
- "@instructure/ui-utils": "9.0.2-snapshot-2",
26
+ "@babel/runtime": "^7.24.5",
27
+ "@instructure/shared-types": "9.0.2-snapshot-4",
28
+ "@instructure/ui-form-field": "9.0.2-snapshot-4",
29
+ "@instructure/ui-i18n": "9.0.2-snapshot-4",
30
+ "@instructure/ui-position": "9.0.2-snapshot-4",
31
+ "@instructure/ui-prop-types": "9.0.2-snapshot-4",
32
+ "@instructure/ui-react-utils": "9.0.2-snapshot-4",
33
+ "@instructure/ui-select": "9.0.2-snapshot-4",
34
+ "@instructure/ui-test-locator": "9.0.2-snapshot-4",
35
+ "@instructure/ui-testable": "9.0.2-snapshot-4",
36
+ "@instructure/ui-utils": "9.0.2-snapshot-4",
37
37
  "prop-types": "^15.8.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@instructure/ui-babel-preset": "9.0.2-snapshot-2",
41
- "@instructure/ui-test-utils": "9.0.2-snapshot-2",
40
+ "@instructure/ui-babel-preset": "9.0.2-snapshot-4",
41
+ "@instructure/ui-test-utils": "9.0.2-snapshot-4",
42
42
  "moment-timezone": "^0.5.43"
43
43
  },
44
44
  "peerDependencies": {
@@ -24,7 +24,7 @@
24
24
  import { locator } from '@instructure/ui-test-locator'
25
25
 
26
26
  /* eslint-disable no-restricted-imports */
27
- // @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
27
+ // @ts-ignore: Cannot find module
28
28
  import { SelectLocator } from '@instructure/ui-select/es/Select/SelectLocator'
29
29
  /* eslint-enable no-restricted-imports */
30
30