@instructure/ui-time-select 11.7.3 → 11.7.4-pr-snapshot-1781695314229

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,6 +3,50 @@
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
+ ## [11.7.4-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
7
+
8
+
9
+ ### Features
10
+
11
+ * **many:** remove deprecated v2 items ([eaf8876](https://github.com/instructure/instructure-ui/commit/eaf88767c9beb95c4e09ee5705c387dfd79e4cb7))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ * **many:** Removed FormFieldLabel component
17
+
18
+ Removed _content prop from DrawerLayout.Tray and DrawerLayout.Content
19
+
20
+ Removed _link prop from Link
21
+
22
+ Removed _node prop from Menu.Item
23
+
24
+ Removed _root prop from Pagination, TreeBrowser
25
+
26
+ Removed _select prop from SimpleSelect and TimeSelect
27
+
28
+ Removed _ref prop from TruncateText
29
+
30
+ Removed _element prop from View
31
+
32
+ Removed color="ai" from Heading
33
+
34
+ Removed variant="inline-small" and variant="standalone-small" from Link
35
+
36
+ Removed title prop from Tag
37
+
38
+ Removed focusRingBorderRadius prop from View
39
+
40
+ Removed hideActionsUserSeparator prop from TopNavBar.Layout
41
+
42
+ Removed handleFocusOutlineColor, handleFocusOutlineWidth, handleShadowColor from RangeInput
43
+
44
+ INSTUI-5025
45
+
46
+
47
+
48
+
49
+
6
50
  ## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
7
51
 
8
52
 
package/LICENSE.md CHANGED
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -1,9 +1,3 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.allowedProps = void 0;
7
1
  /*
8
2
  * The MIT License (MIT)
9
3
  *
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
28
22
  * SOFTWARE.
29
23
  */
30
24
 
31
- const allowedProps = exports.allowedProps = ['renderLabel', 'defaultToFirstOption', 'value', 'defaultValue', 'id', 'format', 'step', 'interaction', 'placeholder', 'isRequired', 'isInline', 'width', 'optionsMaxWidth', 'mountNode', 'visibleOptionsCount', 'messages', 'placement', 'constrain', 'onChange', 'onFocus', 'onBlur', 'onShowOptions', 'onHideOptions', 'inputRef', 'listRef', 'renderEmptyOption', 'renderBeforeInput', 'renderAfterInput', 'locale', 'timezone', 'allowNonStepInput', 'onInputChange', 'allowClearingSelection'];
25
+ module.exports = {
26
+ presets: [
27
+ [
28
+ require('@instructure/ui-babel-preset'),
29
+ {
30
+ esModules: Boolean(process.env.ES_MODULES),
31
+ removeConsole: process.env.NODE_ENV === 'production',
32
+ transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
33
+ }
34
+ ]
35
+ ]
36
+ }
@@ -28,7 +28,7 @@ import { ApplyLocaleContext, Locale, DateTime } from '@instructure/ui-i18n';
28
28
  import { getInteraction, passthroughProps, callRenderProp, withDeterministicId } from '@instructure/ui-react-utils';
29
29
  import { Select } from '@instructure/ui-select/v11_6';
30
30
  import * as utils from '@instructure/ui-utils';
31
- import { allowedProps } from "./props.js";
31
+ import { allowedProps } from './props.js';
32
32
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
33
33
  /**
34
34
  ---
@@ -38,7 +38,7 @@ category: components
38
38
  A component used to select a time value.
39
39
  **/
40
40
  let TimeSelect = (_dec = withDeterministicId(), _dec(_class = class TimeSelect extends Component {
41
- static displayName = "TimeSelect";
41
+ static displayName = 'TimeSelect';
42
42
  static componentId = 'TimeSelect';
43
43
  static allowedProps = allowedProps;
44
44
  static defaultProps = {
@@ -28,7 +28,7 @@ import { ApplyLocaleContext, Locale, DateTime } from '@instructure/ui-i18n';
28
28
  import { getInteraction, passthroughProps, callRenderProp, withDeterministicId } from '@instructure/ui-react-utils';
29
29
  import { Select } from '@instructure/ui-select/latest';
30
30
  import * as utils from '@instructure/ui-utils';
31
- import { allowedProps } from "./props.js";
31
+ import { allowedProps } from './props.js';
32
32
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
33
33
  /**
34
34
  ---
@@ -38,7 +38,7 @@ category: components
38
38
  A component used to select a time value.
39
39
  **/
40
40
  let TimeSelect = (_dec = withDeterministicId(), _dec(_class = class TimeSelect extends Component {
41
- static displayName = "TimeSelect";
41
+ static displayName = 'TimeSelect';
42
42
  static componentId = 'TimeSelect';
43
43
  static allowedProps = allowedProps;
44
44
  static defaultProps = {
@@ -73,9 +73,6 @@ let TimeSelect = (_dec = withDeterministicId(), _dec(_class = class TimeSelect e
73
73
  blur() {
74
74
  this.ref && this.ref.blur();
75
75
  }
76
- get _select() {
77
- return this.ref;
78
- }
79
76
  get isControlled() {
80
77
  return typeof this.props.value !== 'undefined';
81
78
  }
package/es/exports/a.js CHANGED
@@ -21,4 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { TimeSelect } from "../TimeSelect/v1/index.js";
24
+
25
+ export { TimeSelect } from '../TimeSelect/v1/index.js';
package/es/exports/b.js CHANGED
@@ -21,4 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { TimeSelect } from "../TimeSelect/v2/index.js";
24
+
25
+ export { TimeSelect } from '../TimeSelect/v2/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-time-select",
3
- "version": "11.7.3",
3
+ "version": "11.7.4-pr-snapshot-1781695314229",
4
+ "type": "module",
4
5
  "description": "A component for selecting time values.",
5
6
  "author": "Instructure, Inc. Engineering and Product Design",
6
7
  "module": "./es/index.js",
7
- "main": "./lib/index.js",
8
8
  "types": "./types/index.d.ts",
9
9
  "repository": {
10
10
  "type": "git",
@@ -15,13 +15,13 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/shared-types": "11.7.3",
19
- "@instructure/ui-i18n": "11.7.3",
20
- "@instructure/ui-form-field": "11.7.3",
21
- "@instructure/ui-select": "11.7.3",
22
- "@instructure/ui-position": "11.7.3",
23
- "@instructure/ui-utils": "11.7.3",
24
- "@instructure/ui-react-utils": "11.7.3"
18
+ "@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
19
+ "@instructure/ui-i18n": "11.7.4-pr-snapshot-1781695314229",
20
+ "@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
21
+ "@instructure/ui-form-field": "11.7.4-pr-snapshot-1781695314229",
22
+ "@instructure/ui-position": "11.7.4-pr-snapshot-1781695314229",
23
+ "@instructure/ui-select": "11.7.4-pr-snapshot-1781695314229",
24
+ "@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@testing-library/jest-dom": "^6.6.3",
@@ -29,7 +29,7 @@
29
29
  "@testing-library/user-event": "^14.6.1",
30
30
  "moment-timezone": "^0.6.2",
31
31
  "vitest": "^3.2.2",
32
- "@instructure/ui-babel-preset": "11.7.3"
32
+ "@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": ">=18 <=19"
@@ -39,7 +39,6 @@
39
39
  },
40
40
  "sideEffects": false,
41
41
  "exports": {
42
- "./lib/*": "./lib/*",
43
42
  "./es/*": "./es/*",
44
43
  "./types/*": "./types/*",
45
44
  "./package.json": "./package.json",
@@ -48,28 +47,24 @@
48
47
  "src": "./src/exports/a.ts",
49
48
  "types": "./types/exports/a.d.ts",
50
49
  "import": "./es/exports/a.js",
51
- "require": "./lib/exports/a.js",
52
50
  "default": "./es/exports/a.js"
53
51
  },
54
52
  "./v11_6": {
55
53
  "src": "./src/exports/a.ts",
56
54
  "types": "./types/exports/a.d.ts",
57
55
  "import": "./es/exports/a.js",
58
- "require": "./lib/exports/a.js",
59
56
  "default": "./es/exports/a.js"
60
57
  },
61
58
  "./v11_7": {
62
59
  "src": "./src/exports/b.ts",
63
60
  "types": "./types/exports/b.d.ts",
64
61
  "import": "./es/exports/b.js",
65
- "require": "./lib/exports/b.js",
66
62
  "default": "./es/exports/b.js"
67
63
  },
68
64
  "./latest": {
69
65
  "src": "./src/exports/b.ts",
70
66
  "types": "./types/exports/b.d.ts",
71
67
  "import": "./es/exports/b.js",
72
- "require": "./lib/exports/b.js",
73
68
  "default": "./es/exports/b.js"
74
69
  }
75
70
  },
@@ -77,7 +72,7 @@
77
72
  "lint": "ui-scripts lint",
78
73
  "lint:fix": "ui-scripts lint --fix",
79
74
  "clean": "ui-scripts clean",
80
- "build": "ui-scripts build --modules es,cjs",
75
+ "build": "ui-scripts build",
81
76
  "build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
82
77
  "build:types": "tsc -p tsconfig.build.json",
83
78
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -41,7 +41,7 @@ import type {
41
41
  TimeSelectOptions
42
42
  } from './props'
43
43
 
44
- import { allowedProps } from './props'
44
+ import { allowedProps } from './props.js'
45
45
 
46
46
  type GetOption = <F extends keyof TimeSelectOptions>(
47
47
  field: F,
@@ -58,6 +58,7 @@ A component used to select a time value.
58
58
  **/
59
59
  @withDeterministicId()
60
60
  class TimeSelect extends Component<TimeSelectProps, TimeSelectState> {
61
+ static displayName = 'TimeSelect'
61
62
  declare context: React.ContextType<typeof ApplyLocaleContext>
62
63
 
63
64
  static readonly componentId = 'TimeSelect'
@@ -41,7 +41,7 @@ import type {
41
41
  TimeSelectOptions
42
42
  } from './props'
43
43
 
44
- import { allowedProps } from './props'
44
+ import { allowedProps } from './props.js'
45
45
 
46
46
  type GetOption = <F extends keyof TimeSelectOptions>(
47
47
  field: F,
@@ -58,6 +58,7 @@ A component used to select a time value.
58
58
  **/
59
59
  @withDeterministicId()
60
60
  class TimeSelect extends Component<TimeSelectProps, TimeSelectState> {
61
+ static displayName = 'TimeSelect'
61
62
  declare context: React.ContextType<typeof ApplyLocaleContext>
62
63
 
63
64
  static readonly componentId = 'TimeSelect'
@@ -101,13 +102,6 @@ class TimeSelect extends Component<TimeSelectProps, TimeSelectState> {
101
102
  this.ref && this.ref.blur()
102
103
  }
103
104
 
104
- get _select() {
105
- console.warn(
106
- '_select property is deprecated and will be removed in v9, please use ref instead'
107
- )
108
- return this.ref
109
- }
110
-
111
105
  get isControlled() {
112
106
  return typeof this.props.value !== 'undefined'
113
107
  }
package/src/exports/a.ts CHANGED
@@ -22,5 +22,5 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { TimeSelect } from '../TimeSelect/v1'
25
+ export { TimeSelect } from '../TimeSelect/v1/index.js'
26
26
  export type { TimeSelectProps } from '../TimeSelect/v1/props'
package/src/exports/b.ts CHANGED
@@ -22,5 +22,5 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { TimeSelect } from '../TimeSelect/v2'
25
+ export { TimeSelect } from '../TimeSelect/v2/index.js'
26
26
  export type { TimeSelectProps } from '../TimeSelect/v2/props'