@instructure/ui-view 11.7.2-snapshot-51 → 11.7.2-snapshot-52
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 +2 -1
- package/package.json +12 -12
- package/src/View/v2/README.md +15 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
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.2-snapshot-
|
|
6
|
+
## [11.7.2-snapshot-52](https://github.com/instructure/instructure-ui/compare/v11.7.1...v11.7.2-snapshot-52) (2026-04-22)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
10
10
|
|
|
11
11
|
* **many:** fix checkbox toggle variant icons and resolve border radius inheritance issues in DateInput and Menu from View ([ab2c8c2](https://github.com/instructure/instructure-ui/commit/ab2c8c2ba7f5b3944f7977244e37f4a4c916422a))
|
|
12
|
+
* **many:** fix doc component previews, update dark theme text and code block styles, and replace old icons ([d4e48d3](https://github.com/instructure/instructure-ui/commit/d4e48d3f739decb13b76c863c8f01685f0788dd6))
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-view",
|
|
3
|
-
"version": "11.7.2-snapshot-
|
|
3
|
+
"version": "11.7.2-snapshot-52",
|
|
4
4
|
"description": "A component for basic styles including spacing, sizing, borders, display, positioning, and focus states.",
|
|
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.27.6",
|
|
18
|
-
"@instructure/console": "11.7.2-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.2-snapshot-
|
|
20
|
-
"@instructure/ui-color-utils": "11.7.2-snapshot-
|
|
21
|
-
"@instructure/shared-types": "11.7.2-snapshot-
|
|
22
|
-
"@instructure/ui-dom-utils": "11.7.2-snapshot-
|
|
23
|
-
"@instructure/ui-i18n": "11.7.2-snapshot-
|
|
24
|
-
"@instructure/ui-position": "11.7.2-snapshot-
|
|
25
|
-
"@instructure/ui-react-utils": "11.7.2-snapshot-
|
|
18
|
+
"@instructure/console": "11.7.2-snapshot-52",
|
|
19
|
+
"@instructure/emotion": "11.7.2-snapshot-52",
|
|
20
|
+
"@instructure/ui-color-utils": "11.7.2-snapshot-52",
|
|
21
|
+
"@instructure/shared-types": "11.7.2-snapshot-52",
|
|
22
|
+
"@instructure/ui-dom-utils": "11.7.2-snapshot-52",
|
|
23
|
+
"@instructure/ui-i18n": "11.7.2-snapshot-52",
|
|
24
|
+
"@instructure/ui-position": "11.7.2-snapshot-52",
|
|
25
|
+
"@instructure/ui-react-utils": "11.7.2-snapshot-52"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@testing-library/jest-dom": "^6.6.3",
|
|
29
29
|
"@testing-library/react": "15.0.7",
|
|
30
30
|
"vitest": "^3.2.2",
|
|
31
|
-
"@instructure/ui-axe-check": "11.7.2-snapshot-
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/ui-
|
|
31
|
+
"@instructure/ui-axe-check": "11.7.2-snapshot-52",
|
|
32
|
+
"@instructure/ui-babel-preset": "11.7.2-snapshot-52",
|
|
33
|
+
"@instructure/ui-themes": "11.7.2-snapshot-52"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": ">=18 <=19"
|
package/src/View/v2/README.md
CHANGED
|
@@ -431,11 +431,15 @@ type: example
|
|
|
431
431
|
---
|
|
432
432
|
<Flex gap="medium" direction="column">
|
|
433
433
|
<View tabIndex="0" role="button" cursor="pointer">
|
|
434
|
-
|
|
434
|
+
<Text>
|
|
435
|
+
Tab here to see the focus outline
|
|
436
|
+
</Text>
|
|
435
437
|
</View>
|
|
436
438
|
<View focusWithin>
|
|
437
|
-
|
|
438
|
-
|
|
439
|
+
<Text>
|
|
440
|
+
if the <code>focusWithin</code> prop is <code>true</code>, the View will display the focus ring if any of its descendants receives focus
|
|
441
|
+
</Text>
|
|
442
|
+
<div tabIndex="0" role="button" style={{outline: 'none'}}><Text>Tab here to see the focus outline</Text></div>
|
|
439
443
|
</View>
|
|
440
444
|
</Flex>
|
|
441
445
|
```
|
|
@@ -723,7 +727,7 @@ type: example
|
|
|
723
727
|
padding="large"
|
|
724
728
|
withVisualDebug
|
|
725
729
|
>
|
|
726
|
-
{lorem.sentence()}
|
|
730
|
+
<Text>{lorem.sentence()}</Text>
|
|
727
731
|
</View>
|
|
728
732
|
<View
|
|
729
733
|
as="div"
|
|
@@ -736,7 +740,7 @@ type: example
|
|
|
736
740
|
padding="small"
|
|
737
741
|
withVisualDebug
|
|
738
742
|
>
|
|
739
|
-
{lorem.sentence()}
|
|
743
|
+
<Text>{lorem.sentence()}</Text>
|
|
740
744
|
</View>
|
|
741
745
|
<View
|
|
742
746
|
as="div"
|
|
@@ -744,7 +748,7 @@ type: example
|
|
|
744
748
|
padding="small"
|
|
745
749
|
withVisualDebug
|
|
746
750
|
>
|
|
747
|
-
{lorem.sentence()}
|
|
751
|
+
<Text>{lorem.sentence()}</Text>
|
|
748
752
|
</View>
|
|
749
753
|
</View>
|
|
750
754
|
</div>
|
|
@@ -771,7 +775,9 @@ type: example
|
|
|
771
775
|
margin="0 0 medium"
|
|
772
776
|
withVisualDebug
|
|
773
777
|
>
|
|
774
|
-
|
|
778
|
+
<Text>
|
|
779
|
+
Some header content
|
|
780
|
+
</Text>
|
|
775
781
|
</View>
|
|
776
782
|
<Text as="p">{lorem.paragraph()}</Text>
|
|
777
783
|
</View>
|
|
@@ -796,7 +802,9 @@ type: example
|
|
|
796
802
|
margin="large auto"
|
|
797
803
|
padding="0 small 0 0"
|
|
798
804
|
>
|
|
805
|
+
<Text>
|
|
799
806
|
{lorem.sentence()}
|
|
807
|
+
</Text>
|
|
800
808
|
</View>
|
|
801
809
|
<Button color="success">Some Action</Button>
|
|
802
810
|
</View>
|