@instructure/ui-simple-select 11.7.4-snapshot-14 → 11.7.4-snapshot-49

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/LICENSE.md +1 -0
  3. package/es/SimpleSelect/v1/Group/index.js +3 -2
  4. package/es/SimpleSelect/v1/Option/index.js +3 -2
  5. package/es/SimpleSelect/v1/index.js +4 -4
  6. package/es/SimpleSelect/v2/Group/index.js +3 -2
  7. package/es/SimpleSelect/v2/Option/index.js +3 -2
  8. package/es/SimpleSelect/v2/index.js +4 -4
  9. package/es/exports/a.js +4 -3
  10. package/es/exports/b.js +4 -3
  11. package/lib/SimpleSelect/v1/Group/index.js +2 -2
  12. package/lib/SimpleSelect/v1/Option/index.js +2 -2
  13. package/lib/SimpleSelect/v1/index.js +14 -14
  14. package/lib/SimpleSelect/v2/Group/index.js +2 -2
  15. package/lib/SimpleSelect/v2/Option/index.js +2 -2
  16. package/lib/SimpleSelect/v2/index.js +14 -14
  17. package/lib/exports/a.js +6 -6
  18. package/lib/exports/b.js +6 -6
  19. package/package.json +11 -11
  20. package/src/SimpleSelect/v1/Group/index.tsx +2 -1
  21. package/src/SimpleSelect/v1/Option/index.tsx +2 -1
  22. package/src/SimpleSelect/v1/index.tsx +4 -3
  23. package/src/SimpleSelect/v2/Group/index.tsx +2 -1
  24. package/src/SimpleSelect/v2/Option/index.tsx +2 -1
  25. package/src/SimpleSelect/v2/index.tsx +4 -3
  26. package/src/exports/a.ts +3 -3
  27. package/src/exports/b.ts +3 -3
  28. package/tsconfig.build.tsbuildinfo +1 -1
  29. package/types/SimpleSelect/v1/Group/index.d.ts +1 -0
  30. package/types/SimpleSelect/v1/Group/index.d.ts.map +1 -1
  31. package/types/SimpleSelect/v1/Option/index.d.ts +1 -0
  32. package/types/SimpleSelect/v1/Option/index.d.ts.map +1 -1
  33. package/types/SimpleSelect/v1/index.d.ts +4 -3
  34. package/types/SimpleSelect/v1/index.d.ts.map +1 -1
  35. package/types/SimpleSelect/v2/Group/index.d.ts +1 -0
  36. package/types/SimpleSelect/v2/Group/index.d.ts.map +1 -1
  37. package/types/SimpleSelect/v2/Option/index.d.ts +1 -0
  38. package/types/SimpleSelect/v2/Option/index.d.ts.map +1 -1
  39. package/types/SimpleSelect/v2/index.d.ts +4 -3
  40. package/types/SimpleSelect/v2/index.d.ts.map +1 -1
  41. package/types/exports/a.d.ts +3 -3
  42. package/types/exports/a.d.ts.map +1 -1
  43. package/types/exports/b.d.ts +3 -3
  44. package/types/exports/b.d.ts.map +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
- ## [11.7.4-snapshot-14](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-14) (2026-05-20)
6
+ ## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
7
7
 
8
8
 
9
9
  ### Features
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)
@@ -23,7 +23,8 @@
23
23
  */
24
24
 
25
25
  import { Component } from 'react';
26
- import { allowedProps } from "./props.js";
26
+ import { allowedProps } from './props.js';
27
+
27
28
  /**
28
29
  ---
29
30
  parent: SimpleSelect
@@ -31,7 +32,7 @@ id: SimpleSelect.Group
31
32
  ---
32
33
  **/
33
34
  class Group extends Component {
34
- static displayName = "Group";
35
+ static displayName = 'Group';
35
36
  static componentId = 'SimpleSelect.Group';
36
37
  static allowedProps = allowedProps;
37
38
  static defaultProps = {};
@@ -23,7 +23,8 @@
23
23
  */
24
24
 
25
25
  import { Component } from 'react';
26
- import { allowedProps } from "./props.js";
26
+ import { allowedProps } from './props.js';
27
+
27
28
  /**
28
29
  ---
29
30
  parent: SimpleSelect
@@ -31,7 +32,7 @@ id: SimpleSelect.Option
31
32
  ---
32
33
  **/
33
34
  class Option extends Component {
34
- static displayName = "Option";
35
+ static displayName = 'Option';
35
36
  static componentId = 'SimpleSelect.Option';
36
37
  static allowedProps = allowedProps;
37
38
  static defaultProps = {
@@ -27,9 +27,9 @@ import { isValidElement, Component, Children } from 'react';
27
27
  import * as utils from '@instructure/ui-utils';
28
28
  import { matchComponentTypes, passthroughProps, callRenderProp, getInteraction, withDeterministicId } from '@instructure/ui-react-utils';
29
29
  import { Select } from '@instructure/ui-select/v11_6';
30
- import { Option } from "./Option/index.js";
31
- import { Group } from "./Group/index.js";
32
- import { allowedProps } from "./props.js";
30
+ import { Option } from './Option/index.js';
31
+ import { Group } from './Group/index.js';
32
+ import { allowedProps } from './props.js';
33
33
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
@@ -38,7 +38,7 @@ tags: form, field, dropdown
38
38
  ---
39
39
  **/
40
40
  let SimpleSelect = (_dec = withDeterministicId(), _dec(_class = class SimpleSelect extends Component {
41
- static displayName = "SimpleSelect";
41
+ static displayName = 'SimpleSelect';
42
42
  static componentId = 'SimpleSelect';
43
43
  static Option = Option;
44
44
  static Group = Group;
@@ -23,7 +23,8 @@
23
23
  */
24
24
 
25
25
  import { Component } from 'react';
26
- import { allowedProps } from "./props.js";
26
+ import { allowedProps } from './props.js';
27
+
27
28
  /**
28
29
  ---
29
30
  parent: SimpleSelect
@@ -31,7 +32,7 @@ id: SimpleSelect.Group
31
32
  ---
32
33
  **/
33
34
  class Group extends Component {
34
- static displayName = "Group";
35
+ static displayName = 'Group';
35
36
  static componentId = 'SimpleSelect.Group';
36
37
  static allowedProps = allowedProps;
37
38
  static defaultProps = {};
@@ -23,7 +23,8 @@
23
23
  */
24
24
 
25
25
  import { Component } from 'react';
26
- import { allowedProps } from "./props.js";
26
+ import { allowedProps } from './props.js';
27
+
27
28
  /**
28
29
  ---
29
30
  parent: SimpleSelect
@@ -31,7 +32,7 @@ id: SimpleSelect.Option
31
32
  ---
32
33
  **/
33
34
  class Option extends Component {
34
- static displayName = "Option";
35
+ static displayName = 'Option';
35
36
  static componentId = 'SimpleSelect.Option';
36
37
  static allowedProps = allowedProps;
37
38
  static defaultProps = {
@@ -27,9 +27,9 @@ import { isValidElement, Component, Children } from 'react';
27
27
  import * as utils from '@instructure/ui-utils';
28
28
  import { matchComponentTypes, passthroughProps, callRenderProp, getInteraction, withDeterministicId } from '@instructure/ui-react-utils';
29
29
  import { Select } from '@instructure/ui-select/latest';
30
- import { Option } from "./Option/index.js";
31
- import { Group } from "./Group/index.js";
32
- import { allowedProps } from "./props.js";
30
+ import { Option } from './Option/index.js';
31
+ import { Group } from './Group/index.js';
32
+ import { allowedProps } from './props.js';
33
33
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
@@ -38,7 +38,7 @@ tags: form, field, dropdown
38
38
  ---
39
39
  **/
40
40
  let SimpleSelect = (_dec = withDeterministicId(), _dec(_class = class SimpleSelect extends Component {
41
- static displayName = "SimpleSelect";
41
+ static displayName = 'SimpleSelect';
42
42
  static componentId = 'SimpleSelect';
43
43
  static Option = Option;
44
44
  static Group = Group;
package/es/exports/a.js CHANGED
@@ -21,6 +21,7 @@
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 { SimpleSelect } from "../SimpleSelect/v1/index.js";
25
- export { Group as SimpleSelectGroup } from "../SimpleSelect/v1/Group/index.js";
26
- export { Option as SimpleSelectOption } from "../SimpleSelect/v1/Option/index.js";
24
+
25
+ export { SimpleSelect } from '../SimpleSelect/v1/index.js';
26
+ export { Group as SimpleSelectGroup } from '../SimpleSelect/v1/Group/index.js';
27
+ export { Option as SimpleSelectOption } from '../SimpleSelect/v1/Option/index.js';
package/es/exports/b.js CHANGED
@@ -21,6 +21,7 @@
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 { SimpleSelect } from "../SimpleSelect/v2/index.js";
25
- export { Group as SimpleSelectGroup } from "../SimpleSelect/v2/Group/index.js";
26
- export { Option as SimpleSelectOption } from "../SimpleSelect/v2/Option/index.js";
24
+
25
+ export { SimpleSelect } from '../SimpleSelect/v2/index.js';
26
+ export { Group as SimpleSelectGroup } from '../SimpleSelect/v2/Group/index.js';
27
+ export { Option as SimpleSelectOption } from '../SimpleSelect/v2/Option/index.js';
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = exports.Group = void 0;
7
7
  var _react = require("react");
8
- var _props = require("./props");
8
+ var _props = require("./props.js");
9
9
  /*
10
10
  * The MIT License (MIT)
11
11
  *
@@ -37,7 +37,7 @@ id: SimpleSelect.Group
37
37
  ---
38
38
  **/
39
39
  class Group extends _react.Component {
40
- static displayName = "Group";
40
+ static displayName = 'Group';
41
41
  static componentId = 'SimpleSelect.Group';
42
42
  static allowedProps = _props.allowedProps;
43
43
  static defaultProps = {};
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = exports.Option = void 0;
7
7
  var _react = require("react");
8
- var _props = require("./props");
8
+ var _props = require("./props.js");
9
9
  /*
10
10
  * The MIT License (MIT)
11
11
  *
@@ -37,7 +37,7 @@ id: SimpleSelect.Option
37
37
  ---
38
38
  **/
39
39
  class Option extends _react.Component {
40
- static displayName = "Option";
40
+ static displayName = 'Option';
41
41
  static componentId = 'SimpleSelect.Option';
42
42
  static allowedProps = _props.allowedProps;
43
43
  static defaultProps = {
@@ -13,9 +13,9 @@ var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js
13
13
  var _getInteraction = require("@instructure/ui-react-utils/lib/getInteraction.js");
14
14
  var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
15
15
  var _v11_ = require("@instructure/ui-select/v11_6");
16
- var _Option = require("./Option");
17
- var _Group = require("./Group");
18
- var _props = require("./props");
16
+ var _index = require("./Option/index.js");
17
+ var _index2 = require("./Group/index.js");
18
+ var _props = require("./props.js");
19
19
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
20
20
  var _dec, _class;
21
21
  /*
@@ -48,10 +48,10 @@ tags: form, field, dropdown
48
48
  ---
49
49
  **/
50
50
  let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec(_class = class SimpleSelect extends _react.Component {
51
- static displayName = "SimpleSelect";
51
+ static displayName = 'SimpleSelect';
52
52
  static componentId = 'SimpleSelect';
53
- static Option = _Option.Option;
54
- static Group = _Group.Group;
53
+ static Option = _index.Option;
54
+ static Group = _index2.Group;
55
55
  static allowedProps = _props.allowedProps;
56
56
  static defaultProps = {
57
57
  size: 'medium',
@@ -156,9 +156,9 @@ let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withD
156
156
  let match;
157
157
  for (let i = 0; i < children.length; i++) {
158
158
  const child = children[i];
159
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Option.Option])) {
159
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.Option])) {
160
160
  match = child;
161
- } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Group.Group])) {
161
+ } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.Group])) {
162
162
  // first child is a group, not an option, find first child in group
163
163
  match = _react.Children.toArray(child.props.children)[0];
164
164
  }
@@ -173,11 +173,11 @@ let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withD
173
173
  let match;
174
174
  for (let i = 0; i < children.length; ++i) {
175
175
  const child = children[i];
176
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Option.Option])) {
176
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.Option])) {
177
177
  if (child.props[field] === value) {
178
178
  match = child;
179
179
  }
180
- } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Group.Group])) {
180
+ } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.Group])) {
181
181
  const groupChildren = _react.Children.toArray(child.props.children);
182
182
  for (let j = 0; j < groupChildren.length; ++j) {
183
183
  const groupChild = groupChildren[j];
@@ -202,12 +202,12 @@ let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withD
202
202
  if (!child) return undefined;
203
203
 
204
204
  // If it's a regular option, return it
205
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Option.Option])) {
205
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.Option])) {
206
206
  return child;
207
207
  }
208
208
 
209
209
  // If it's a group, get its options
210
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Group.Group])) {
210
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.Group])) {
211
211
  const groupOptions = _react.Children.toArray(child.props.children);
212
212
  const groupIndex = position === 'first' ? 0 : groupOptions.length - 1;
213
213
  return groupOptions[groupIndex];
@@ -313,9 +313,9 @@ let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withD
313
313
  renderChildren() {
314
314
  let children = _react.Children.toArray(this.props.children);
315
315
  children = _react.Children.map(children, child => {
316
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Option.Option])) {
316
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.Option])) {
317
317
  return this.renderOption(child);
318
- } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Group.Group])) {
318
+ } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.Group])) {
319
319
  return this.renderGroup(child);
320
320
  }
321
321
  return null;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = exports.Group = void 0;
7
7
  var _react = require("react");
8
- var _props = require("./props");
8
+ var _props = require("./props.js");
9
9
  /*
10
10
  * The MIT License (MIT)
11
11
  *
@@ -37,7 +37,7 @@ id: SimpleSelect.Group
37
37
  ---
38
38
  **/
39
39
  class Group extends _react.Component {
40
- static displayName = "Group";
40
+ static displayName = 'Group';
41
41
  static componentId = 'SimpleSelect.Group';
42
42
  static allowedProps = _props.allowedProps;
43
43
  static defaultProps = {};
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = exports.Option = void 0;
7
7
  var _react = require("react");
8
- var _props = require("./props");
8
+ var _props = require("./props.js");
9
9
  /*
10
10
  * The MIT License (MIT)
11
11
  *
@@ -37,7 +37,7 @@ id: SimpleSelect.Option
37
37
  ---
38
38
  **/
39
39
  class Option extends _react.Component {
40
- static displayName = "Option";
40
+ static displayName = 'Option';
41
41
  static componentId = 'SimpleSelect.Option';
42
42
  static allowedProps = _props.allowedProps;
43
43
  static defaultProps = {
@@ -13,9 +13,9 @@ var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js
13
13
  var _getInteraction = require("@instructure/ui-react-utils/lib/getInteraction.js");
14
14
  var _withDeterministicId = require("@instructure/ui-react-utils/lib/DeterministicIdContext/withDeterministicId.js");
15
15
  var _latest = require("@instructure/ui-select/latest");
16
- var _Option = require("./Option");
17
- var _Group = require("./Group");
18
- var _props = require("./props");
16
+ var _index = require("./Option/index.js");
17
+ var _index2 = require("./Group/index.js");
18
+ var _props = require("./props.js");
19
19
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
20
20
  var _dec, _class;
21
21
  /*
@@ -48,10 +48,10 @@ tags: form, field, dropdown
48
48
  ---
49
49
  **/
50
50
  let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec(_class = class SimpleSelect extends _react.Component {
51
- static displayName = "SimpleSelect";
51
+ static displayName = 'SimpleSelect';
52
52
  static componentId = 'SimpleSelect';
53
- static Option = _Option.Option;
54
- static Group = _Group.Group;
53
+ static Option = _index.Option;
54
+ static Group = _index2.Group;
55
55
  static allowedProps = _props.allowedProps;
56
56
  static defaultProps = {
57
57
  size: 'medium',
@@ -153,9 +153,9 @@ let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withD
153
153
  let match;
154
154
  for (let i = 0; i < children.length; i++) {
155
155
  const child = children[i];
156
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Option.Option])) {
156
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.Option])) {
157
157
  match = child;
158
- } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Group.Group])) {
158
+ } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.Group])) {
159
159
  // first child is a group, not an option, find first child in group
160
160
  match = _react.Children.toArray(child.props.children)[0];
161
161
  }
@@ -170,11 +170,11 @@ let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withD
170
170
  let match;
171
171
  for (let i = 0; i < children.length; ++i) {
172
172
  const child = children[i];
173
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Option.Option])) {
173
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.Option])) {
174
174
  if (child.props[field] === value) {
175
175
  match = child;
176
176
  }
177
- } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Group.Group])) {
177
+ } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.Group])) {
178
178
  const groupChildren = _react.Children.toArray(child.props.children);
179
179
  for (let j = 0; j < groupChildren.length; ++j) {
180
180
  const groupChild = groupChildren[j];
@@ -199,12 +199,12 @@ let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withD
199
199
  if (!child) return undefined;
200
200
 
201
201
  // If it's a regular option, return it
202
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Option.Option])) {
202
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.Option])) {
203
203
  return child;
204
204
  }
205
205
 
206
206
  // If it's a group, get its options
207
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Group.Group])) {
207
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.Group])) {
208
208
  const groupOptions = _react.Children.toArray(child.props.children);
209
209
  const groupIndex = position === 'first' ? 0 : groupOptions.length - 1;
210
210
  return groupOptions[groupIndex];
@@ -310,9 +310,9 @@ let SimpleSelect = exports.SimpleSelect = (_dec = (0, _withDeterministicId.withD
310
310
  renderChildren() {
311
311
  let children = _react.Children.toArray(this.props.children);
312
312
  children = _react.Children.map(children, child => {
313
- if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Option.Option])) {
313
+ if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index.Option])) {
314
314
  return this.renderOption(child);
315
- } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_Group.Group])) {
315
+ } else if ((0, _matchComponentTypes.matchComponentTypes)(child, [_index2.Group])) {
316
316
  return this.renderGroup(child);
317
317
  }
318
318
  return null;
package/lib/exports/a.js CHANGED
@@ -6,21 +6,21 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "SimpleSelect", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.SimpleSelect;
9
+ return _index.SimpleSelect;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "SimpleSelectGroup", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _Group.Group;
15
+ return _index2.Group;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "SimpleSelectOption", {
19
19
  enumerable: true,
20
20
  get: function () {
21
- return _Option.Option;
21
+ return _index3.Option;
22
22
  }
23
23
  });
24
- var _v = require("../SimpleSelect/v1");
25
- var _Group = require("../SimpleSelect/v1/Group");
26
- var _Option = require("../SimpleSelect/v1/Option");
24
+ var _index = require("../SimpleSelect/v1/index.js");
25
+ var _index2 = require("../SimpleSelect/v1/Group/index.js");
26
+ var _index3 = require("../SimpleSelect/v1/Option/index.js");
package/lib/exports/b.js CHANGED
@@ -6,21 +6,21 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "SimpleSelect", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.SimpleSelect;
9
+ return _index.SimpleSelect;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "SimpleSelectGroup", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _Group.Group;
15
+ return _index2.Group;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "SimpleSelectOption", {
19
19
  enumerable: true,
20
20
  get: function () {
21
- return _Option.Option;
21
+ return _index3.Option;
22
22
  }
23
23
  });
24
- var _v = require("../SimpleSelect/v2");
25
- var _Group = require("../SimpleSelect/v2/Group");
26
- var _Option = require("../SimpleSelect/v2/Option");
24
+ var _index = require("../SimpleSelect/v2/index.js");
25
+ var _index2 = require("../SimpleSelect/v2/Group/index.js");
26
+ var _index3 = require("../SimpleSelect/v2/Option/index.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-simple-select",
3
- "version": "11.7.4-snapshot-14",
3
+ "version": "11.7.4-snapshot-49",
4
4
  "description": "A component for standard select element behavior.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,22 +15,22 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/shared-types": "11.7.4-snapshot-14",
19
- "@instructure/console": "11.7.4-snapshot-14",
20
- "@instructure/ui-position": "11.7.4-snapshot-14",
21
- "@instructure/ui-react-utils": "11.7.4-snapshot-14",
22
- "@instructure/ui-form-field": "11.7.4-snapshot-14",
23
- "@instructure/ui-select": "11.7.4-snapshot-14"
18
+ "@instructure/shared-types": "11.7.4-snapshot-49",
19
+ "@instructure/ui-position": "11.7.4-snapshot-49",
20
+ "@instructure/ui-react-utils": "11.7.4-snapshot-49",
21
+ "@instructure/ui-form-field": "11.7.4-snapshot-49",
22
+ "@instructure/ui-select": "11.7.4-snapshot-49",
23
+ "@instructure/console": "11.7.4-snapshot-49"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@testing-library/jest-dom": "^6.6.3",
27
27
  "@testing-library/react": "15.0.7",
28
28
  "@testing-library/user-event": "^14.6.1",
29
29
  "vitest": "^3.2.2",
30
- "@instructure/ui-babel-preset": "11.7.4-snapshot-14",
31
- "@instructure/ui-color-utils": "11.7.4-snapshot-14",
32
- "@instructure/ui-icons": "11.7.4-snapshot-14",
33
- "@instructure/ui-utils": "11.7.4-snapshot-14"
30
+ "@instructure/ui-color-utils": "11.7.4-snapshot-49",
31
+ "@instructure/ui-babel-preset": "11.7.4-snapshot-49",
32
+ "@instructure/ui-utils": "11.7.4-snapshot-49",
33
+ "@instructure/ui-icons": "11.7.4-snapshot-49"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": ">=18 <=19"
@@ -25,7 +25,7 @@
25
25
  import { Component } from 'react'
26
26
 
27
27
  import type { SimpleSelectGroupProps } from './props'
28
- import { allowedProps } from './props'
28
+ import { allowedProps } from './props.js'
29
29
 
30
30
  /**
31
31
  ---
@@ -34,6 +34,7 @@ id: SimpleSelect.Group
34
34
  ---
35
35
  **/
36
36
  class Group extends Component<SimpleSelectGroupProps> {
37
+ static displayName = 'Group'
37
38
  static readonly componentId = 'SimpleSelect.Group'
38
39
 
39
40
  static allowedProps = allowedProps
@@ -24,7 +24,7 @@
24
24
 
25
25
  import { Component } from 'react'
26
26
  import type { SimpleSelectOptionProps } from './props'
27
- import { allowedProps } from './props'
27
+ import { allowedProps } from './props.js'
28
28
 
29
29
  /**
30
30
  ---
@@ -33,6 +33,7 @@ id: SimpleSelect.Option
33
33
  ---
34
34
  **/
35
35
  class Option extends Component<SimpleSelectOptionProps> {
36
+ static displayName = 'Option'
36
37
  static readonly componentId = 'SimpleSelect.Option'
37
38
 
38
39
  static allowedProps = allowedProps
@@ -42,17 +42,17 @@ import {
42
42
  import { Select } from '@instructure/ui-select/v11_6'
43
43
  import type { SelectProps } from '@instructure/ui-select/v11_6'
44
44
 
45
- import { Option } from './Option'
45
+ import { Option } from './Option/index.js'
46
46
  import type {
47
47
  SimpleSelectOptionProps,
48
48
  RenderSimpleSelectOptionLabel
49
49
  } from './Option/props'
50
50
 
51
- import { Group } from './Group'
51
+ import { Group } from './Group/index.js'
52
52
  import type { SimpleSelectGroupProps } from './Group/props'
53
53
 
54
54
  import type { SimpleSelectProps } from './props'
55
- import { allowedProps, SimpleSelectState } from './props'
55
+ import { allowedProps, SimpleSelectState } from './props.js'
56
56
 
57
57
  type OptionChild = ComponentElement<SimpleSelectOptionProps, Option>
58
58
  type GroupChild = ComponentElement<SimpleSelectGroupProps, Group>
@@ -70,6 +70,7 @@ tags: form, field, dropdown
70
70
  **/
71
71
  @withDeterministicId()
72
72
  class SimpleSelect extends Component<SimpleSelectProps, SimpleSelectState> {
73
+ static displayName = 'SimpleSelect'
73
74
  static readonly componentId = 'SimpleSelect'
74
75
 
75
76
  static Option = Option
@@ -25,7 +25,7 @@
25
25
  import { Component } from 'react'
26
26
 
27
27
  import type { SimpleSelectGroupProps } from './props'
28
- import { allowedProps } from './props'
28
+ import { allowedProps } from './props.js'
29
29
 
30
30
  /**
31
31
  ---
@@ -34,6 +34,7 @@ id: SimpleSelect.Group
34
34
  ---
35
35
  **/
36
36
  class Group extends Component<SimpleSelectGroupProps> {
37
+ static displayName = 'Group'
37
38
  static readonly componentId = 'SimpleSelect.Group'
38
39
 
39
40
  static allowedProps = allowedProps
@@ -24,7 +24,7 @@
24
24
 
25
25
  import { Component } from 'react'
26
26
  import type { SimpleSelectOptionProps } from './props'
27
- import { allowedProps } from './props'
27
+ import { allowedProps } from './props.js'
28
28
 
29
29
  /**
30
30
  ---
@@ -33,6 +33,7 @@ id: SimpleSelect.Option
33
33
  ---
34
34
  **/
35
35
  class Option extends Component<SimpleSelectOptionProps> {
36
+ static displayName = 'Option'
36
37
  static readonly componentId = 'SimpleSelect.Option'
37
38
 
38
39
  static allowedProps = allowedProps
@@ -42,17 +42,17 @@ import {
42
42
  import { Select } from '@instructure/ui-select/latest'
43
43
  import type { SelectProps } from '@instructure/ui-select/latest'
44
44
 
45
- import { Option } from './Option'
45
+ import { Option } from './Option/index.js'
46
46
  import type {
47
47
  SimpleSelectOptionProps,
48
48
  RenderSimpleSelectOptionLabel
49
49
  } from './Option/props'
50
50
 
51
- import { Group } from './Group'
51
+ import { Group } from './Group/index.js'
52
52
  import type { SimpleSelectGroupProps } from './Group/props'
53
53
 
54
54
  import type { SimpleSelectProps } from './props'
55
- import { allowedProps, SimpleSelectState } from './props'
55
+ import { allowedProps, SimpleSelectState } from './props.js'
56
56
 
57
57
  type OptionChild = ComponentElement<SimpleSelectOptionProps, Option>
58
58
  type GroupChild = ComponentElement<SimpleSelectGroupProps, Group>
@@ -70,6 +70,7 @@ tags: form, field, dropdown
70
70
  **/
71
71
  @withDeterministicId()
72
72
  class SimpleSelect extends Component<SimpleSelectProps, SimpleSelectState> {
73
+ static displayName = 'SimpleSelect'
73
74
  static readonly componentId = 'SimpleSelect'
74
75
 
75
76
  static Option = Option
package/src/exports/a.ts CHANGED
@@ -22,9 +22,9 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { SimpleSelect } from '../SimpleSelect/v1'
26
- export { Group as SimpleSelectGroup } from '../SimpleSelect/v1/Group'
27
- export { Option as SimpleSelectOption } from '../SimpleSelect/v1/Option'
25
+ export { SimpleSelect } from '../SimpleSelect/v1/index.js'
26
+ export { Group as SimpleSelectGroup } from '../SimpleSelect/v1/Group/index.js'
27
+ export { Option as SimpleSelectOption } from '../SimpleSelect/v1/Option/index.js'
28
28
 
29
29
  export type { SimpleSelectProps } from '../SimpleSelect/v1/props'
30
30
  export type { SimpleSelectGroupProps } from '../SimpleSelect/v1/Group/props'