@instructure/ui-options 11.7.3-snapshot-32 → 11.7.3-snapshot-37

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
- ## [11.7.3-snapshot-32](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-32) (2026-05-07)
6
+ ## [11.7.3-snapshot-37](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-37) (2026-05-07)
7
7
 
8
8
 
9
9
  ### Bug Fixes
@@ -25,7 +25,7 @@ var _dec, _dec2, _class;
25
25
 
26
26
  import { Component, createElement } from 'react';
27
27
  import { omitProps, getElementType, callRenderProp, withDeterministicId } from '@instructure/ui-react-utils';
28
- import { withStyleLegacy as withStyle } from '@instructure/emotion';
28
+ import { withStyle } from '@instructure/emotion';
29
29
  import generateStyles from "./styles.js";
30
30
  import generateComponentTheme from "./theme.js";
31
31
  import { allowedProps } from "./props.js";
@@ -25,7 +25,7 @@ var _dec, _class;
25
25
 
26
26
  import { Component } from 'react';
27
27
  import { getElementType, omitProps } from '@instructure/ui-react-utils';
28
- import { withStyleLegacy as withStyle } from '@instructure/emotion';
28
+ import { withStyle } from '@instructure/emotion';
29
29
  import generateStyles from "./styles.js";
30
30
  import generateComponentTheme from "./theme.js";
31
31
  import { allowedProps } from "./props.js";
@@ -26,7 +26,7 @@ var _dec, _dec2, _class;
26
26
  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
- import { withStyleLegacy as withStyle } from '@instructure/emotion';
29
+ import { withStyle } from '@instructure/emotion';
30
30
  import generateStyles from "./styles.js";
31
31
  import generateComponentTheme from "./theme.js";
32
32
  import { Item } from "./Item/index.js";
@@ -25,7 +25,7 @@ var _dec, _dec2, _class;
25
25
 
26
26
  import { Component, createElement } from 'react';
27
27
  import { omitProps, getElementType, callRenderProp, withDeterministicId } from '@instructure/ui-react-utils';
28
- import { withStyle } from '@instructure/emotion';
28
+ import { withStyleNew } from '@instructure/emotion';
29
29
  import generateStyles from "./styles.js";
30
30
  import { allowedProps } from "./props.js";
31
31
  /**
@@ -35,7 +35,7 @@ id: Options.Item
35
35
  ---
36
36
  **/
37
37
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
38
- let Item = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyles), _dec(_class = _dec2(_class = class Item extends Component {
38
+ let Item = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyles), _dec(_class = _dec2(_class = class Item extends Component {
39
39
  static displayName = "Item";
40
40
  static componentId = 'Options.Item';
41
41
  static allowedProps = allowedProps;
@@ -25,7 +25,7 @@ var _dec, _class;
25
25
 
26
26
  import { Component } from 'react';
27
27
  import { getElementType, omitProps } from '@instructure/ui-react-utils';
28
- import { withStyle } from '@instructure/emotion';
28
+ import { withStyleNew } from '@instructure/emotion';
29
29
  import generateStyles from "./styles.js";
30
30
  import { allowedProps } from "./props.js";
31
31
  /**
@@ -36,7 +36,7 @@ id: Options.Separator
36
36
  @module Separator
37
37
  **/
38
38
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
39
- let Separator = (_dec = withStyle(generateStyles), _dec(_class = class Separator extends Component {
39
+ let Separator = (_dec = withStyleNew(generateStyles), _dec(_class = class Separator extends Component {
40
40
  static displayName = "Separator";
41
41
  static componentId = 'Options.Separator';
42
42
  static allowedProps = allowedProps;
@@ -26,7 +26,7 @@ var _dec, _dec2, _class;
26
26
  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
- import { withStyle } from '@instructure/emotion';
29
+ import { withStyleNew } from '@instructure/emotion';
30
30
  import generateStyles from "./styles.js";
31
31
  import { Item } from "./Item/index.js";
32
32
  import { Separator } from "./Separator/index.js";
@@ -38,7 +38,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
38
38
  category: components/utilities
39
39
  ---
40
40
  **/
41
- let Options = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyles), _dec(_class = _dec2(_class = class Options extends Component {
41
+ let Options = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyles), _dec(_class = _dec2(_class = class Options extends Component {
42
42
  static displayName = "Options";
43
43
  static componentId = 'Options';
44
44
  static allowedProps = allowedProps;
@@ -42,7 +42,7 @@ parent: Options
42
42
  id: Options.Item
43
43
  ---
44
44
  **/
45
- let Item = exports.Item = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyleLegacy)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Item extends _react.Component {
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
46
  static displayName = "Item";
47
47
  static componentId = 'Options.Item';
48
48
  static allowedProps = _props.allowedProps;
@@ -43,7 +43,7 @@ id: Options.Separator
43
43
  ---
44
44
  @module Separator
45
45
  **/
46
- let Separator = exports.Separator = (_dec = (0, _emotion.withStyleLegacy)(_styles.default, _theme.default), _dec(_class = class Separator extends _react.Component {
46
+ let Separator = exports.Separator = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Separator extends _react.Component {
47
47
  static displayName = "Separator";
48
48
  static componentId = 'Options.Separator';
49
49
  static allowedProps = _props.allowedProps;
@@ -45,7 +45,7 @@ var _dec, _dec2, _class;
45
45
  category: components/utilities
46
46
  ---
47
47
  **/
48
- let Options = exports.Options = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyleLegacy)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Options extends _react.Component {
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
49
  static displayName = "Options";
50
50
  static componentId = 'Options';
51
51
  static allowedProps = _props.allowedProps;
@@ -41,7 +41,7 @@ parent: Options
41
41
  id: Options.Item
42
42
  ---
43
43
  **/
44
- let Item = exports.Item = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default), _dec(_class = _dec2(_class = class Item extends _react.Component {
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
45
  static displayName = "Item";
46
46
  static componentId = 'Options.Item';
47
47
  static allowedProps = _props.allowedProps;
@@ -42,7 +42,7 @@ id: Options.Separator
42
42
  ---
43
43
  @module Separator
44
44
  **/
45
- let Separator = exports.Separator = (_dec = (0, _emotion.withStyle)(_styles.default), _dec(_class = class Separator extends _react.Component {
45
+ let Separator = exports.Separator = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Separator extends _react.Component {
46
46
  static displayName = "Separator";
47
47
  static componentId = 'Options.Separator';
48
48
  static allowedProps = _props.allowedProps;
@@ -44,7 +44,7 @@ var _dec, _dec2, _class;
44
44
  category: components/utilities
45
45
  ---
46
46
  **/
47
- let Options = exports.Options = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default), _dec(_class = _dec2(_class = class Options extends _react.Component {
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
48
  static displayName = "Options";
49
49
  static componentId = 'Options';
50
50
  static allowedProps = _props.allowedProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-options",
3
- "version": "11.7.3-snapshot-32",
3
+ "version": "11.7.3-snapshot-37",
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/shared-types": "11.7.3-snapshot-32",
19
- "@instructure/ui-icons": "11.7.3-snapshot-32",
20
- "@instructure/ui-react-utils": "11.7.3-snapshot-32",
21
- "@instructure/emotion": "11.7.3-snapshot-32",
22
- "@instructure/ui-themes": "11.7.3-snapshot-32",
23
- "@instructure/ui-view": "11.7.3-snapshot-32",
24
- "@instructure/ui-utils": "11.7.3-snapshot-32"
18
+ "@instructure/emotion": "11.7.3-snapshot-37",
19
+ "@instructure/shared-types": "11.7.3-snapshot-37",
20
+ "@instructure/ui-react-utils": "11.7.3-snapshot-37",
21
+ "@instructure/ui-icons": "11.7.3-snapshot-37",
22
+ "@instructure/ui-themes": "11.7.3-snapshot-37",
23
+ "@instructure/ui-utils": "11.7.3-snapshot-37",
24
+ "@instructure/ui-view": "11.7.3-snapshot-37"
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.3-snapshot-32",
32
- "@instructure/ui-babel-preset": "11.7.3-snapshot-32",
33
- "@instructure/ui-axe-check": "11.7.3-snapshot-32"
31
+ "@instructure/ui-axe-check": "11.7.3-snapshot-37",
32
+ "@instructure/ui-color-utils": "11.7.3-snapshot-37",
33
+ "@instructure/ui-babel-preset": "11.7.3-snapshot-37"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": ">=18 <=19"
@@ -31,7 +31,7 @@ import {
31
31
  withDeterministicId
32
32
  } from '@instructure/ui-react-utils'
33
33
 
34
- import { withStyleLegacy as withStyle } from '@instructure/emotion'
34
+ import { withStyle } from '@instructure/emotion'
35
35
 
36
36
  import generateStyles from './styles'
37
37
  import generateComponentTheme from './theme'
@@ -26,7 +26,7 @@ import { Component } from 'react'
26
26
 
27
27
  import { getElementType, omitProps } from '@instructure/ui-react-utils'
28
28
 
29
- import { withStyleLegacy as withStyle } from '@instructure/emotion'
29
+ import { withStyle } from '@instructure/emotion'
30
30
 
31
31
  import generateStyles from './styles'
32
32
  import generateComponentTheme from './theme'
@@ -66,7 +66,7 @@ class Separator extends Component<OptionsSeparatorProps> {
66
66
  return (
67
67
  <ElementType role="none">
68
68
  <div
69
- // we need to omit the withStyle props
69
+ // we need to omit the withStyleNew props
70
70
  {...omitProps(rest, ['styles', 'makeStyles', 'themeOverride'])}
71
71
  css={styles?.separator}
72
72
  role="presentation"
@@ -33,7 +33,7 @@ import {
33
33
 
34
34
  import { View } from '@instructure/ui-view/v11_6'
35
35
 
36
- import { withStyleLegacy as withStyle } from '@instructure/emotion'
36
+ import { withStyle } from '@instructure/emotion'
37
37
 
38
38
  import generateStyles from './styles'
39
39
  import generateComponentTheme from './theme'
@@ -31,7 +31,7 @@ import {
31
31
  withDeterministicId
32
32
  } from '@instructure/ui-react-utils'
33
33
 
34
- import { withStyle } from '@instructure/emotion'
34
+ import { withStyleNew } from '@instructure/emotion'
35
35
 
36
36
  import generateStyles from './styles'
37
37
  import type { OptionsItemProps, OptionsItemStyle } from './props'
@@ -44,7 +44,7 @@ id: Options.Item
44
44
  ---
45
45
  **/
46
46
  @withDeterministicId()
47
- @withStyle(generateStyles)
47
+ @withStyleNew(generateStyles)
48
48
  class Item extends Component<OptionsItemProps> {
49
49
  static readonly componentId = 'Options.Item'
50
50
 
@@ -26,7 +26,7 @@ import { Component } from 'react'
26
26
 
27
27
  import { getElementType, omitProps } from '@instructure/ui-react-utils'
28
28
 
29
- import { withStyle } from '@instructure/emotion'
29
+ import { withStyleNew } from '@instructure/emotion'
30
30
 
31
31
  import generateStyles from './styles'
32
32
  import type { OptionsSeparatorProps } from './props'
@@ -39,7 +39,7 @@ id: Options.Separator
39
39
  ---
40
40
  @module Separator
41
41
  **/
42
- @withStyle(generateStyles)
42
+ @withStyleNew(generateStyles)
43
43
  class Separator extends Component<OptionsSeparatorProps> {
44
44
  static readonly componentId = 'Options.Separator'
45
45
 
@@ -65,7 +65,7 @@ class Separator extends Component<OptionsSeparatorProps> {
65
65
  return (
66
66
  <ElementType role="none">
67
67
  <div
68
- // we need to omit the withStyle props
68
+ // we need to omit the withStyleNew props
69
69
  {...omitProps(rest, ['styles', 'makeStyles', 'themeOverride'])}
70
70
  css={styles?.separator}
71
71
  role="presentation"
@@ -33,7 +33,7 @@ import {
33
33
 
34
34
  import { View } from '@instructure/ui-view/latest'
35
35
 
36
- import { withStyle } from '@instructure/emotion'
36
+ import { withStyleNew } from '@instructure/emotion'
37
37
 
38
38
  import generateStyles from './styles'
39
39
 
@@ -57,7 +57,7 @@ category: components/utilities
57
57
  ---
58
58
  **/
59
59
  @withDeterministicId()
60
- @withStyle(generateStyles)
60
+ @withStyleNew(generateStyles)
61
61
  class Options extends Component<OptionsProps> {
62
62
  static readonly componentId = 'Options'
63
63