@instructure/ui-options 11.7.4-snapshot-130 → 11.7.4-snapshot-134
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 +1 -1
- package/package.json +11 -11
- package/src/Options/v2/README.md +14 -14
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-
|
|
6
|
+
## [11.7.4-snapshot-134](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-134) (2026-07-24)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-options
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-options",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-134",
|
|
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.7",
|
|
18
|
-
"@instructure/emotion": "11.7.4-snapshot-
|
|
19
|
-
"@instructure/ui-
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/ui-utils": "11.7.4-snapshot-
|
|
24
|
-
"@instructure/ui-view": "11.7.4-snapshot-
|
|
18
|
+
"@instructure/emotion": "11.7.4-snapshot-134",
|
|
19
|
+
"@instructure/ui-themes": "11.7.4-snapshot-134",
|
|
20
|
+
"@instructure/shared-types": "11.7.4-snapshot-134",
|
|
21
|
+
"@instructure/ui-icons": "11.7.4-snapshot-134",
|
|
22
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-134",
|
|
23
|
+
"@instructure/ui-utils": "11.7.4-snapshot-134",
|
|
24
|
+
"@instructure/ui-view": "11.7.4-snapshot-134"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@testing-library/jest-dom": "^6.9.1",
|
|
28
28
|
"@testing-library/react": "16.3.2",
|
|
29
29
|
"@testing-library/user-event": "^14.6.1",
|
|
30
30
|
"vitest": "^4.1.9",
|
|
31
|
-
"@instructure/ui-
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/ui-color-utils": "11.7.4-snapshot-
|
|
31
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-134",
|
|
32
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-134",
|
|
33
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-134"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": ">=18 <=19"
|
package/src/Options/v2/README.md
CHANGED
|
@@ -47,7 +47,7 @@ type: example
|
|
|
47
47
|
<Options.Item role="menuitem" variant="highlighted">
|
|
48
48
|
Option two
|
|
49
49
|
</Options.Item>
|
|
50
|
-
<Options.Item role="menuitem" renderAfterLabel={
|
|
50
|
+
<Options.Item role="menuitem" renderAfterLabel={ChevronRightInstUIIcon}>
|
|
51
51
|
Flyout menu option
|
|
52
52
|
</Options.Item>
|
|
53
53
|
<Options.Separator as="li" />
|
|
@@ -64,7 +64,7 @@ type: example
|
|
|
64
64
|
<Options.Item
|
|
65
65
|
role="menuitemradio"
|
|
66
66
|
aria-checked="true"
|
|
67
|
-
renderBeforeLabel={
|
|
67
|
+
renderBeforeLabel={CheckInstUIIcon}
|
|
68
68
|
>
|
|
69
69
|
Radio option one
|
|
70
70
|
</Options.Item>
|
|
@@ -72,7 +72,7 @@ type: example
|
|
|
72
72
|
role="menuitemradio"
|
|
73
73
|
aria-checked="false"
|
|
74
74
|
renderBeforeLabel={
|
|
75
|
-
<
|
|
75
|
+
<CheckInstUIIcon style={{opacity: 0}} />
|
|
76
76
|
}
|
|
77
77
|
>
|
|
78
78
|
Radio option two
|
|
@@ -256,27 +256,27 @@ render(
|
|
|
256
256
|
{
|
|
257
257
|
label: 'Default item',
|
|
258
258
|
extraProps: {
|
|
259
|
-
renderBeforeLabel:
|
|
259
|
+
renderBeforeLabel: CheckInstUIIcon
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
label: 'Text is green',
|
|
264
264
|
extraProps: {
|
|
265
|
-
renderBeforeLabel:
|
|
265
|
+
renderBeforeLabel: CheckInstUIIcon,
|
|
266
266
|
themeOverride: { color: '#0B874B' }
|
|
267
267
|
}
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
label: 'Highlighted text is black',
|
|
271
271
|
extraProps: {
|
|
272
|
-
renderBeforeLabel:
|
|
272
|
+
renderBeforeLabel: CheckInstUIIcon,
|
|
273
273
|
themeOverride: { highlightedLabelColor: '#2D3B45' }
|
|
274
274
|
}
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
277
|
label: 'Highlighted background is purple',
|
|
278
278
|
extraProps: {
|
|
279
|
-
renderBeforeLabel:
|
|
279
|
+
renderBeforeLabel: CheckInstUIIcon,
|
|
280
280
|
themeOverride: { highlightedBackground: '#BF32A4' }
|
|
281
281
|
}
|
|
282
282
|
},
|
|
@@ -285,7 +285,7 @@ render(
|
|
|
285
285
|
extraProps: {
|
|
286
286
|
renderBeforeLabel: (props) => {
|
|
287
287
|
return (
|
|
288
|
-
<
|
|
288
|
+
<CheckInstUIIcon
|
|
289
289
|
{...(props.variant === 'default' && { color: 'warning' })}
|
|
290
290
|
/>
|
|
291
291
|
)
|
|
@@ -319,8 +319,8 @@ const Example = () => {
|
|
|
319
319
|
onMouseOver={() => handleMouseOver(1)}
|
|
320
320
|
variant={highlighted === 1 ? 'highlighted' : 'default'}
|
|
321
321
|
description="Curabitur fringilla, urna ut efficitur molestie, nibh lacus tincidunt elit, ut tempor ipsum nunc sit amet massa."
|
|
322
|
-
renderBeforeLabel={
|
|
323
|
-
renderAfterLabel={
|
|
322
|
+
renderBeforeLabel={CheckInstUIIcon}
|
|
323
|
+
renderAfterLabel={ChevronRightInstUIIcon}
|
|
324
324
|
beforeLabelContentVAlign="start"
|
|
325
325
|
afterLabelContentVAlign="start"
|
|
326
326
|
>
|
|
@@ -330,8 +330,8 @@ const Example = () => {
|
|
|
330
330
|
onMouseOver={() => handleMouseOver(2)}
|
|
331
331
|
variant={highlighted === 2 ? 'highlighted' : 'default'}
|
|
332
332
|
description="Curabitur fringilla, urna ut efficitur molestie, nibh lacus tincidunt elit, ut tempor ipsum nunc sit amet massa."
|
|
333
|
-
renderBeforeLabel={
|
|
334
|
-
renderAfterLabel={
|
|
333
|
+
renderBeforeLabel={CheckInstUIIcon}
|
|
334
|
+
renderAfterLabel={ChevronRightInstUIIcon}
|
|
335
335
|
beforeLabelContentVAlign="center"
|
|
336
336
|
afterLabelContentVAlign="center"
|
|
337
337
|
>
|
|
@@ -341,8 +341,8 @@ const Example = () => {
|
|
|
341
341
|
onMouseOver={() => handleMouseOver(3)}
|
|
342
342
|
variant={highlighted === 3 ? 'highlighted' : 'default'}
|
|
343
343
|
description="Curabitur fringilla, urna ut efficitur molestie, nibh lacus tincidunt elit, ut tempor ipsum nunc sit amet massa."
|
|
344
|
-
renderBeforeLabel={
|
|
345
|
-
renderAfterLabel={
|
|
344
|
+
renderBeforeLabel={CheckInstUIIcon}
|
|
345
|
+
renderAfterLabel={ChevronRightInstUIIcon}
|
|
346
346
|
beforeLabelContentVAlign="end"
|
|
347
347
|
afterLabelContentVAlign="end"
|
|
348
348
|
>
|