@instructure/ui-options 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/Options/v1/Item/index.js +5 -4
  4. package/es/Options/v1/Separator/index.js +5 -4
  5. package/es/Options/v1/index.js +7 -7
  6. package/es/Options/v2/Item/index.js +4 -3
  7. package/es/Options/v2/Separator/index.js +4 -3
  8. package/es/Options/v2/index.js +6 -6
  9. package/es/exports/a.js +7 -6
  10. package/es/exports/b.js +4 -3
  11. package/lib/Options/v1/Item/index.js +4 -4
  12. package/lib/Options/v1/Separator/index.js +4 -4
  13. package/lib/Options/v1/index.js +10 -10
  14. package/lib/Options/v2/Item/index.js +3 -3
  15. package/lib/Options/v2/Separator/index.js +3 -3
  16. package/lib/Options/v2/index.js +9 -9
  17. package/lib/exports/a.js +9 -9
  18. package/lib/exports/b.js +6 -6
  19. package/package.json +11 -11
  20. package/src/Options/v1/Item/index.tsx +4 -3
  21. package/src/Options/v1/Separator/index.tsx +4 -3
  22. package/src/Options/v1/index.tsx +7 -6
  23. package/src/Options/v2/Item/index.tsx +3 -2
  24. package/src/Options/v2/Separator/index.tsx +3 -2
  25. package/src/Options/v2/index.tsx +6 -5
  26. package/src/exports/a.ts +6 -6
  27. package/src/exports/b.ts +3 -3
  28. package/tsconfig.build.tsbuildinfo +1 -1
  29. package/types/Options/v1/Item/index.d.ts +1 -0
  30. package/types/Options/v1/Item/index.d.ts.map +1 -1
  31. package/types/Options/v1/Separator/index.d.ts +1 -0
  32. package/types/Options/v1/Separator/index.d.ts.map +1 -1
  33. package/types/Options/v1/index.d.ts +4 -3
  34. package/types/Options/v1/index.d.ts.map +1 -1
  35. package/types/Options/v2/Item/index.d.ts +1 -0
  36. package/types/Options/v2/Item/index.d.ts.map +1 -1
  37. package/types/Options/v2/Separator/index.d.ts +1 -0
  38. package/types/Options/v2/Separator/index.d.ts.map +1 -1
  39. package/types/Options/v2/index.d.ts +4 -3
  40. package/types/Options/v2/index.d.ts.map +1 -1
  41. package/types/exports/a.d.ts +6 -6
  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
  **Note:** Version bump only for package @instructure/ui-options
9
9
 
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)
@@ -26,9 +26,10 @@ var _dec, _dec2, _class;
26
26
  import { Component, createElement } from 'react';
27
27
  import { omitProps, getElementType, callRenderProp, withDeterministicId } from '@instructure/ui-react-utils';
28
28
  import { withStyle } from '@instructure/emotion';
29
- import generateStyles from "./styles.js";
30
- import generateComponentTheme from "./theme.js";
31
- import { allowedProps } from "./props.js";
29
+ import generateStyles from './styles.js';
30
+ import generateComponentTheme from './theme.js';
31
+ import { allowedProps } from './props.js';
32
+
32
33
  /**
33
34
  ---
34
35
  parent: Options
@@ -37,7 +38,7 @@ id: Options.Item
37
38
  **/
38
39
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
39
40
  let Item = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyles, generateComponentTheme), _dec(_class = _dec2(_class = class Item extends Component {
40
- static displayName = "Item";
41
+ static displayName = 'Item';
41
42
  static componentId = 'Options.Item';
42
43
  static allowedProps = allowedProps;
43
44
  static defaultProps = {
@@ -26,9 +26,10 @@ var _dec, _class;
26
26
  import { Component } from 'react';
27
27
  import { getElementType, omitProps } from '@instructure/ui-react-utils';
28
28
  import { withStyle } from '@instructure/emotion';
29
- import generateStyles from "./styles.js";
30
- import generateComponentTheme from "./theme.js";
31
- import { allowedProps } from "./props.js";
29
+ import generateStyles from './styles.js';
30
+ import generateComponentTheme from './theme.js';
31
+ import { allowedProps } from './props.js';
32
+
32
33
  /**
33
34
  ---
34
35
  parent: Options
@@ -38,7 +39,7 @@ id: Options.Separator
38
39
  **/
39
40
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
40
41
  let Separator = (_dec = withStyle(generateStyles, generateComponentTheme), _dec(_class = class Separator extends Component {
41
- static displayName = "Separator";
42
+ static displayName = 'Separator';
42
43
  static componentId = 'Options.Separator';
43
44
  static allowedProps = allowedProps;
44
45
  static defaultProps = {
@@ -27,20 +27,20 @@ import { Component, Children, createElement } from 'react';
27
27
  import { omitProps, matchComponentTypes, safeCloneElement, withDeterministicId } from '@instructure/ui-react-utils';
28
28
  import { View } from '@instructure/ui-view/v11_6';
29
29
  import { withStyle } from '@instructure/emotion';
30
- import generateStyles from "./styles.js";
31
- import generateComponentTheme from "./theme.js";
32
- import { Item } from "./Item/index.js";
33
- import { Separator } from "./Separator/index.js";
34
- import { allowedProps } from "./props.js";
30
+ import generateStyles from './styles.js';
31
+ import generateComponentTheme from './theme.js';
32
+ import { Item } from './Item/index.js';
33
+ import { Separator } from './Separator/index.js';
34
+ import { allowedProps } from './props.js';
35
35
  import { isAndroidOrIOS } from '@instructure/ui-utils';
36
36
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
37
37
  /**
38
38
  ---
39
- category: components/utilities
39
+ category: components/Util Components
40
40
  ---
41
41
  **/
42
42
  let Options = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyles, generateComponentTheme), _dec(_class = _dec2(_class = class Options extends Component {
43
- static displayName = "Options";
43
+ static displayName = 'Options';
44
44
  static componentId = 'Options';
45
45
  static allowedProps = allowedProps;
46
46
  static defaultProps = {
@@ -26,8 +26,9 @@ var _dec, _dec2, _class;
26
26
  import { Component, createElement } from 'react';
27
27
  import { omitProps, getElementType, callRenderProp, withDeterministicId } from '@instructure/ui-react-utils';
28
28
  import { withStyleNew } from '@instructure/emotion';
29
- import generateStyles from "./styles.js";
30
- import { allowedProps } from "./props.js";
29
+ import generateStyles from './styles.js';
30
+ import { allowedProps } from './props.js';
31
+
31
32
  /**
32
33
  ---
33
34
  parent: Options
@@ -36,7 +37,7 @@ id: Options.Item
36
37
  **/
37
38
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
38
39
  let Item = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyles), _dec(_class = _dec2(_class = class Item extends Component {
39
- static displayName = "Item";
40
+ static displayName = 'Item';
40
41
  static componentId = 'Options.Item';
41
42
  static allowedProps = allowedProps;
42
43
  static defaultProps = {
@@ -26,8 +26,9 @@ var _dec, _class;
26
26
  import { Component } from 'react';
27
27
  import { getElementType, omitProps } from '@instructure/ui-react-utils';
28
28
  import { withStyleNew } from '@instructure/emotion';
29
- import generateStyles from "./styles.js";
30
- import { allowedProps } from "./props.js";
29
+ import generateStyles from './styles.js';
30
+ import { allowedProps } from './props.js';
31
+
31
32
  /**
32
33
  ---
33
34
  parent: Options
@@ -37,7 +38,7 @@ id: Options.Separator
37
38
  **/
38
39
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
39
40
  let Separator = (_dec = withStyleNew(generateStyles), _dec(_class = class Separator extends Component {
40
- static displayName = "Separator";
41
+ static displayName = 'Separator';
41
42
  static componentId = 'Options.Separator';
42
43
  static allowedProps = allowedProps;
43
44
  static defaultProps = {
@@ -27,19 +27,19 @@ import { Component, Children, createElement } from 'react';
27
27
  import { omitProps, matchComponentTypes, safeCloneElement, withDeterministicId } from '@instructure/ui-react-utils';
28
28
  import { View } from '@instructure/ui-view/latest';
29
29
  import { withStyleNew } from '@instructure/emotion';
30
- import generateStyles from "./styles.js";
31
- import { Item } from "./Item/index.js";
32
- import { Separator } from "./Separator/index.js";
33
- import { allowedProps } from "./props.js";
30
+ import generateStyles from './styles.js';
31
+ import { Item } from './Item/index.js';
32
+ import { Separator } from './Separator/index.js';
33
+ import { allowedProps } from './props.js';
34
34
  import { isAndroidOrIOS } from '@instructure/ui-utils';
35
35
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
36
36
  /**
37
37
  ---
38
- category: components/utilities
38
+ category: components/Util Components
39
39
  ---
40
40
  **/
41
41
  let Options = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyles), _dec(_class = _dec2(_class = class Options extends Component {
42
- static displayName = "Options";
42
+ static displayName = 'Options';
43
43
  static componentId = 'Options';
44
44
  static allowedProps = allowedProps;
45
45
  static defaultProps = {
package/es/exports/a.js CHANGED
@@ -21,9 +21,10 @@
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 { Options } from "../Options/v1/index.js";
25
- export { Item as OptionItem } from "../Options/v1/Item/index.js";
26
- export { Separator as OptionSeparator } from "../Options/v1/Separator/index.js";
27
- export { optionsThemeGenerator } from "../Options/v1/theme.js";
28
- export { optionsItemThemeGenerator } from "../Options/v1/Item/theme.js";
29
- export { optionsSeparatorThemeGenerator } from "../Options/v1/Separator/theme.js";
24
+
25
+ export { Options } from '../Options/v1/index.js';
26
+ export { Item as OptionItem } from '../Options/v1/Item/index.js';
27
+ export { Separator as OptionSeparator } from '../Options/v1/Separator/index.js';
28
+ export { optionsThemeGenerator } from '../Options/v1/theme.js';
29
+ export { optionsItemThemeGenerator } from '../Options/v1/Item/theme.js';
30
+ export { optionsSeparatorThemeGenerator } from '../Options/v1/Separator/theme.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 { Options } from "../Options/v2/index.js";
25
- export { Item as OptionItem } from "../Options/v2/Item/index.js";
26
- export { Separator as OptionSeparator } from "../Options/v2/Separator/index.js";
24
+
25
+ export { Options } from '../Options/v2/index.js';
26
+ export { Item as OptionItem } from '../Options/v2/Item/index.js';
27
+ export { Separator as OptionSeparator } from '../Options/v2/Separator/index.js';
@@ -8,9 +8,9 @@ exports.default = exports.Item = void 0;
8
8
  var _react = require("react");
9
9
  var _uiReactUtils = require("@instructure/ui-react-utils");
10
10
  var _emotion = require("@instructure/emotion");
11
- var _styles = _interopRequireDefault(require("./styles"));
12
- var _theme = _interopRequireDefault(require("./theme"));
13
- var _props = require("./props");
11
+ var _styles = _interopRequireDefault(require("./styles.js"));
12
+ var _theme = _interopRequireDefault(require("./theme.js"));
13
+ var _props = require("./props.js");
14
14
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
15
15
  var _dec, _dec2, _class;
16
16
  /*
@@ -43,7 +43,7 @@ id: Options.Item
43
43
  ---
44
44
  **/
45
45
  let Item = exports.Item = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Item extends _react.Component {
46
- static displayName = "Item";
46
+ static displayName = 'Item';
47
47
  static componentId = 'Options.Item';
48
48
  static allowedProps = _props.allowedProps;
49
49
  static defaultProps = {
@@ -8,9 +8,9 @@ exports.default = exports.Separator = void 0;
8
8
  var _react = require("react");
9
9
  var _uiReactUtils = require("@instructure/ui-react-utils");
10
10
  var _emotion = require("@instructure/emotion");
11
- var _styles = _interopRequireDefault(require("./styles"));
12
- var _theme = _interopRequireDefault(require("./theme"));
13
- var _props = require("./props");
11
+ var _styles = _interopRequireDefault(require("./styles.js"));
12
+ var _theme = _interopRequireDefault(require("./theme.js"));
13
+ var _props = require("./props.js");
14
14
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
15
15
  var _dec, _class;
16
16
  /*
@@ -44,7 +44,7 @@ id: Options.Separator
44
44
  @module Separator
45
45
  **/
46
46
  let Separator = exports.Separator = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Separator extends _react.Component {
47
- static displayName = "Separator";
47
+ static displayName = 'Separator';
48
48
  static componentId = 'Options.Separator';
49
49
  static allowedProps = _props.allowedProps;
50
50
  static defaultProps = {
@@ -9,11 +9,11 @@ var _react = require("react");
9
9
  var _uiReactUtils = require("@instructure/ui-react-utils");
10
10
  var _v11_ = require("@instructure/ui-view/v11_6");
11
11
  var _emotion = require("@instructure/emotion");
12
- var _styles = _interopRequireDefault(require("./styles"));
13
- var _theme = _interopRequireDefault(require("./theme"));
14
- var _Item = require("./Item");
15
- var _Separator = require("./Separator");
16
- var _props = require("./props");
12
+ var _styles = _interopRequireDefault(require("./styles.js"));
13
+ var _theme = _interopRequireDefault(require("./theme.js"));
14
+ var _index = require("./Item/index.js");
15
+ var _index2 = require("./Separator/index.js");
16
+ var _props = require("./props.js");
17
17
  var _uiUtils = require("@instructure/ui-utils");
18
18
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
19
19
  var _dec, _dec2, _class;
@@ -42,11 +42,11 @@ var _dec, _dec2, _class;
42
42
  */
43
43
  /**
44
44
  ---
45
- category: components/utilities
45
+ category: components/Util Components
46
46
  ---
47
47
  **/
48
48
  let Options = exports.Options = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Options extends _react.Component {
49
- static displayName = "Options";
49
+ static displayName = 'Options';
50
50
  static componentId = 'Options';
51
51
  static allowedProps = _props.allowedProps;
52
52
  static defaultProps = {
@@ -56,8 +56,8 @@ let Options = exports.Options = (_dec = (0, _uiReactUtils.withDeterministicId)()
56
56
  renderLabel: null,
57
57
  children: null
58
58
  };
59
- static Item = _Item.Item;
60
- static Separator = _Separator.Separator;
59
+ static Item = _index.Item;
60
+ static Separator = _index2.Separator;
61
61
  ref = null;
62
62
  handleRef = el => {
63
63
  this.ref = el;
@@ -103,7 +103,7 @@ let Options = exports.Options = (_dec = (0, _uiReactUtils.withDeterministicId)()
103
103
  const {
104
104
  styles
105
105
  } = this.props;
106
- return (0, _jsxRuntime.jsx)(_Item.Item, {
106
+ return (0, _jsxRuntime.jsx)(_index.Item, {
107
107
  as: this.childAs,
108
108
  role: "presentation",
109
109
  css: styles?.label,
@@ -8,8 +8,8 @@ exports.default = exports.Item = void 0;
8
8
  var _react = require("react");
9
9
  var _uiReactUtils = require("@instructure/ui-react-utils");
10
10
  var _emotion = require("@instructure/emotion");
11
- var _styles = _interopRequireDefault(require("./styles"));
12
- var _props = require("./props");
11
+ var _styles = _interopRequireDefault(require("./styles.js"));
12
+ var _props = require("./props.js");
13
13
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
14
14
  var _dec, _dec2, _class;
15
15
  /*
@@ -42,7 +42,7 @@ id: Options.Item
42
42
  ---
43
43
  **/
44
44
  let Item = exports.Item = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = _dec2(_class = class Item extends _react.Component {
45
- static displayName = "Item";
45
+ static displayName = 'Item';
46
46
  static componentId = 'Options.Item';
47
47
  static allowedProps = _props.allowedProps;
48
48
  static defaultProps = {
@@ -8,8 +8,8 @@ exports.default = exports.Separator = void 0;
8
8
  var _react = require("react");
9
9
  var _uiReactUtils = require("@instructure/ui-react-utils");
10
10
  var _emotion = require("@instructure/emotion");
11
- var _styles = _interopRequireDefault(require("./styles"));
12
- var _props = require("./props");
11
+ var _styles = _interopRequireDefault(require("./styles.js"));
12
+ var _props = require("./props.js");
13
13
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
14
14
  var _dec, _class;
15
15
  /*
@@ -43,7 +43,7 @@ id: Options.Separator
43
43
  @module Separator
44
44
  **/
45
45
  let Separator = exports.Separator = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Separator extends _react.Component {
46
- static displayName = "Separator";
46
+ static displayName = 'Separator';
47
47
  static componentId = 'Options.Separator';
48
48
  static allowedProps = _props.allowedProps;
49
49
  static defaultProps = {
@@ -9,10 +9,10 @@ var _react = require("react");
9
9
  var _uiReactUtils = require("@instructure/ui-react-utils");
10
10
  var _latest = require("@instructure/ui-view/latest");
11
11
  var _emotion = require("@instructure/emotion");
12
- var _styles = _interopRequireDefault(require("./styles"));
13
- var _Item = require("./Item");
14
- var _Separator = require("./Separator");
15
- var _props = require("./props");
12
+ var _styles = _interopRequireDefault(require("./styles.js"));
13
+ var _index = require("./Item/index.js");
14
+ var _index2 = require("./Separator/index.js");
15
+ var _props = require("./props.js");
16
16
  var _uiUtils = require("@instructure/ui-utils");
17
17
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
18
18
  var _dec, _dec2, _class;
@@ -41,11 +41,11 @@ var _dec, _dec2, _class;
41
41
  */
42
42
  /**
43
43
  ---
44
- category: components/utilities
44
+ category: components/Util Components
45
45
  ---
46
46
  **/
47
47
  let Options = exports.Options = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = _dec2(_class = class Options extends _react.Component {
48
- static displayName = "Options";
48
+ static displayName = 'Options';
49
49
  static componentId = 'Options';
50
50
  static allowedProps = _props.allowedProps;
51
51
  static defaultProps = {
@@ -55,8 +55,8 @@ let Options = exports.Options = (_dec = (0, _uiReactUtils.withDeterministicId)()
55
55
  renderLabel: null,
56
56
  children: null
57
57
  };
58
- static Item = _Item.Item;
59
- static Separator = _Separator.Separator;
58
+ static Item = _index.Item;
59
+ static Separator = _index2.Separator;
60
60
  ref = null;
61
61
  handleRef = el => {
62
62
  this.ref = el;
@@ -102,7 +102,7 @@ let Options = exports.Options = (_dec = (0, _uiReactUtils.withDeterministicId)()
102
102
  const {
103
103
  styles
104
104
  } = this.props;
105
- return (0, _jsxRuntime.jsx)(_Item.Item, {
105
+ return (0, _jsxRuntime.jsx)(_index.Item, {
106
106
  as: this.childAs,
107
107
  role: "presentation",
108
108
  css: styles?.label,
package/lib/exports/a.js CHANGED
@@ -6,19 +6,19 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "OptionItem", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _Item.Item;
9
+ return _index2.Item;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "OptionSeparator", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _Separator.Separator;
15
+ return _index3.Separator;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "Options", {
19
19
  enumerable: true,
20
20
  get: function () {
21
- return _v.Options;
21
+ return _index.Options;
22
22
  }
23
23
  });
24
24
  Object.defineProperty(exports, "optionsItemThemeGenerator", {
@@ -39,9 +39,9 @@ Object.defineProperty(exports, "optionsThemeGenerator", {
39
39
  return _theme.optionsThemeGenerator;
40
40
  }
41
41
  });
42
- var _v = require("../Options/v1");
43
- var _Item = require("../Options/v1/Item");
44
- var _Separator = require("../Options/v1/Separator");
45
- var _theme = require("../Options/v1/theme");
46
- var _theme2 = require("../Options/v1/Item/theme");
47
- var _theme3 = require("../Options/v1/Separator/theme");
42
+ var _index = require("../Options/v1/index.js");
43
+ var _index2 = require("../Options/v1/Item/index.js");
44
+ var _index3 = require("../Options/v1/Separator/index.js");
45
+ var _theme = require("../Options/v1/theme.js");
46
+ var _theme2 = require("../Options/v1/Item/theme.js");
47
+ var _theme3 = require("../Options/v1/Separator/theme.js");
package/lib/exports/b.js CHANGED
@@ -6,21 +6,21 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "OptionItem", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _Item.Item;
9
+ return _index2.Item;
10
10
  }
11
11
  });
12
12
  Object.defineProperty(exports, "OptionSeparator", {
13
13
  enumerable: true,
14
14
  get: function () {
15
- return _Separator.Separator;
15
+ return _index3.Separator;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "Options", {
19
19
  enumerable: true,
20
20
  get: function () {
21
- return _v.Options;
21
+ return _index.Options;
22
22
  }
23
23
  });
24
- var _v = require("../Options/v2");
25
- var _Item = require("../Options/v2/Item");
26
- var _Separator = require("../Options/v2/Separator");
24
+ var _index = require("../Options/v2/index.js");
25
+ var _index2 = require("../Options/v2/Item/index.js");
26
+ var _index3 = require("../Options/v2/Separator/index.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-options",
3
- "version": "11.7.4-snapshot-14",
3
+ "version": "11.7.4-snapshot-49",
4
4
  "description": "A view-only component for composing interactive lists and menus.",
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/emotion": "11.7.4-snapshot-14",
19
- "@instructure/ui-react-utils": "11.7.4-snapshot-14",
20
- "@instructure/shared-types": "11.7.4-snapshot-14",
21
- "@instructure/ui-themes": "11.7.4-snapshot-14",
22
- "@instructure/ui-icons": "11.7.4-snapshot-14",
23
- "@instructure/ui-utils": "11.7.4-snapshot-14",
24
- "@instructure/ui-view": "11.7.4-snapshot-14"
18
+ "@instructure/emotion": "11.7.4-snapshot-49",
19
+ "@instructure/ui-icons": "11.7.4-snapshot-49",
20
+ "@instructure/shared-types": "11.7.4-snapshot-49",
21
+ "@instructure/ui-react-utils": "11.7.4-snapshot-49",
22
+ "@instructure/ui-themes": "11.7.4-snapshot-49",
23
+ "@instructure/ui-utils": "11.7.4-snapshot-49",
24
+ "@instructure/ui-view": "11.7.4-snapshot-49"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@testing-library/jest-dom": "^6.6.3",
28
28
  "@testing-library/react": "15.0.7",
29
29
  "@testing-library/user-event": "^14.6.1",
30
30
  "vitest": "^3.2.2",
31
- "@instructure/ui-color-utils": "11.7.4-snapshot-14",
32
- "@instructure/ui-babel-preset": "11.7.4-snapshot-14",
33
- "@instructure/ui-axe-check": "11.7.4-snapshot-14"
31
+ "@instructure/ui-axe-check": "11.7.4-snapshot-49",
32
+ "@instructure/ui-babel-preset": "11.7.4-snapshot-49",
33
+ "@instructure/ui-color-utils": "11.7.4-snapshot-49"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": ">=18 <=19"
@@ -33,10 +33,10 @@ import {
33
33
 
34
34
  import { withStyle } from '@instructure/emotion'
35
35
 
36
- import generateStyles from './styles'
37
- import generateComponentTheme from './theme'
36
+ import generateStyles from './styles.js'
37
+ import generateComponentTheme from './theme.js'
38
38
  import type { OptionsItemProps, OptionsItemStyle } from './props'
39
- import { allowedProps } from './props'
39
+ import { allowedProps } from './props.js'
40
40
 
41
41
  /**
42
42
  ---
@@ -47,6 +47,7 @@ id: Options.Item
47
47
  @withDeterministicId()
48
48
  @withStyle(generateStyles, generateComponentTheme)
49
49
  class Item extends Component<OptionsItemProps> {
50
+ static displayName = 'Item'
50
51
  static readonly componentId = 'Options.Item'
51
52
 
52
53
  static allowedProps = allowedProps
@@ -28,10 +28,10 @@ import { getElementType, omitProps } from '@instructure/ui-react-utils'
28
28
 
29
29
  import { withStyle } from '@instructure/emotion'
30
30
 
31
- import generateStyles from './styles'
32
- import generateComponentTheme from './theme'
31
+ import generateStyles from './styles.js'
32
+ import generateComponentTheme from './theme.js'
33
33
  import type { OptionsSeparatorProps } from './props'
34
- import { allowedProps } from './props'
34
+ import { allowedProps } from './props.js'
35
35
 
36
36
  /**
37
37
  ---
@@ -42,6 +42,7 @@ id: Options.Separator
42
42
  **/
43
43
  @withStyle(generateStyles, generateComponentTheme)
44
44
  class Separator extends Component<OptionsSeparatorProps> {
45
+ static displayName = 'Separator'
45
46
  static readonly componentId = 'Options.Separator'
46
47
 
47
48
  static allowedProps = allowedProps
@@ -35,16 +35,16 @@ import { View } from '@instructure/ui-view/v11_6'
35
35
 
36
36
  import { withStyle } from '@instructure/emotion'
37
37
 
38
- import generateStyles from './styles'
39
- import generateComponentTheme from './theme'
38
+ import generateStyles from './styles.js'
39
+ import generateComponentTheme from './theme.js'
40
40
 
41
- import { Item } from './Item'
41
+ import { Item } from './Item/index.js'
42
42
  import type { OptionsItemProps } from './Item/props'
43
- import { Separator } from './Separator'
43
+ import { Separator } from './Separator/index.js'
44
44
  import type { OptionsSeparatorProps } from './Separator/props'
45
45
 
46
46
  import type { OptionsProps } from './props'
47
- import { allowedProps } from './props'
47
+ import { allowedProps } from './props.js'
48
48
  import { isAndroidOrIOS } from '@instructure/ui-utils'
49
49
 
50
50
  type ItemChild = ComponentElement<OptionsItemProps, Item>
@@ -54,12 +54,13 @@ type OptionsChildren = (ItemChild | SeparatorChild | OptionsChild)[]
54
54
 
55
55
  /**
56
56
  ---
57
- category: components/utilities
57
+ category: components/Util Components
58
58
  ---
59
59
  **/
60
60
  @withDeterministicId()
61
61
  @withStyle(generateStyles, generateComponentTheme)
62
62
  class Options extends Component<OptionsProps> {
63
+ static displayName = 'Options'
63
64
  static readonly componentId = 'Options'
64
65
 
65
66
  static allowedProps = allowedProps
@@ -33,9 +33,9 @@ import {
33
33
 
34
34
  import { withStyleNew } from '@instructure/emotion'
35
35
 
36
- import generateStyles from './styles'
36
+ import generateStyles from './styles.js'
37
37
  import type { OptionsItemProps, OptionsItemStyle } from './props'
38
- import { allowedProps } from './props'
38
+ import { allowedProps } from './props.js'
39
39
 
40
40
  /**
41
41
  ---
@@ -46,6 +46,7 @@ id: Options.Item
46
46
  @withDeterministicId()
47
47
  @withStyleNew(generateStyles)
48
48
  class Item extends Component<OptionsItemProps> {
49
+ static displayName = 'Item'
49
50
  static readonly componentId = 'Options.Item'
50
51
 
51
52
  static allowedProps = allowedProps
@@ -28,9 +28,9 @@ import { getElementType, omitProps } from '@instructure/ui-react-utils'
28
28
 
29
29
  import { withStyleNew } from '@instructure/emotion'
30
30
 
31
- import generateStyles from './styles'
31
+ import generateStyles from './styles.js'
32
32
  import type { OptionsSeparatorProps } from './props'
33
- import { allowedProps } from './props'
33
+ import { allowedProps } from './props.js'
34
34
 
35
35
  /**
36
36
  ---
@@ -41,6 +41,7 @@ id: Options.Separator
41
41
  **/
42
42
  @withStyleNew(generateStyles)
43
43
  class Separator extends Component<OptionsSeparatorProps> {
44
+ static displayName = 'Separator'
44
45
  static readonly componentId = 'Options.Separator'
45
46
 
46
47
  static allowedProps = allowedProps