@instructure/ui-tabs 11.7.4-snapshot-103 → 11.7.4-snapshot-105
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 +6 -1
- package/package.json +17 -17
- package/src/Tabs/v2/README.md +8 -8
- package/src/Tabs/v2/props.ts +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Tabs/v2/props.d.ts +3 -3
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-105](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-105) (2026-07-15)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
@@ -11,6 +11,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
* **ui-tabs:** fix focusring to make it more distinct ([c2e4eb0](https://github.com/instructure/instructure-ui/commit/c2e4eb09c90f6e71d5a61599de8cd5d3ac41019f))
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **many:** support current spacing tokens in the margin prop for v2 components ([1b47c5f](https://github.com/instructure/instructure-ui/commit/1b47c5f23eaa60b532cdfd53c39bd71f0cf51aaa))
|
|
17
|
+
|
|
18
|
+
|
|
14
19
|
|
|
15
20
|
|
|
16
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-tabs",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-105",
|
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -16,28 +16,28 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.7",
|
|
18
18
|
"keycode": "^2",
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/ui-dom-utils": "11.7.4-snapshot-
|
|
23
|
-
"@instructure/
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-utils": "11.7.4-snapshot-
|
|
28
|
-
"@instructure/ui-
|
|
29
|
-
"@instructure/ui-view": "11.7.4-snapshot-
|
|
30
|
-
"@instructure/
|
|
31
|
-
"@instructure/
|
|
19
|
+
"@instructure/emotion": "11.7.4-snapshot-105",
|
|
20
|
+
"@instructure/console": "11.7.4-snapshot-105",
|
|
21
|
+
"@instructure/shared-types": "11.7.4-snapshot-105",
|
|
22
|
+
"@instructure/ui-dom-utils": "11.7.4-snapshot-105",
|
|
23
|
+
"@instructure/debounce": "11.7.4-snapshot-105",
|
|
24
|
+
"@instructure/ui-i18n": "11.7.4-snapshot-105",
|
|
25
|
+
"@instructure/ui-focusable": "11.7.4-snapshot-105",
|
|
26
|
+
"@instructure/ui-motion": "11.7.4-snapshot-105",
|
|
27
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-105",
|
|
28
|
+
"@instructure/ui-utils": "11.7.4-snapshot-105",
|
|
29
|
+
"@instructure/ui-view": "11.7.4-snapshot-105",
|
|
30
|
+
"@instructure/uid": "11.7.4-snapshot-105",
|
|
31
|
+
"@instructure/ui-themes": "11.7.4-snapshot-105"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@testing-library/jest-dom": "^6.9.1",
|
|
35
35
|
"@testing-library/react": "16.3.2",
|
|
36
36
|
"@testing-library/user-event": "^14.6.1",
|
|
37
37
|
"vitest": "^4.1.9",
|
|
38
|
-
"@instructure/ui-
|
|
39
|
-
"@instructure/ui-color-utils": "11.7.4-snapshot-
|
|
40
|
-
"@instructure/ui-
|
|
38
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-105",
|
|
39
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-105",
|
|
40
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-105"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=18 <=19"
|
package/src/Tabs/v2/README.md
CHANGED
|
@@ -17,7 +17,7 @@ const Example = () => {
|
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
19
|
<Tabs
|
|
20
|
-
margin="
|
|
20
|
+
margin="general.space2xl auto"
|
|
21
21
|
padding="medium"
|
|
22
22
|
onRequestTabChange={handleTabChange}
|
|
23
23
|
>
|
|
@@ -139,7 +139,7 @@ const Example = () => {
|
|
|
139
139
|
|
|
140
140
|
return (
|
|
141
141
|
<Tabs
|
|
142
|
-
margin="
|
|
142
|
+
margin="general.space2xl auto"
|
|
143
143
|
padding="medium"
|
|
144
144
|
onRequestTabChange={handleTabChange}
|
|
145
145
|
tabOverflow="scroll"
|
|
@@ -249,7 +249,7 @@ const Example = () => {
|
|
|
249
249
|
|
|
250
250
|
return (
|
|
251
251
|
<>
|
|
252
|
-
<View display="block" margin="none none
|
|
252
|
+
<View display="block" margin="none none general.spaceXl">
|
|
253
253
|
<RadioInputGroup
|
|
254
254
|
name="tabsHeightOptions"
|
|
255
255
|
defaultValue="fixHeight: 100%"
|
|
@@ -271,7 +271,7 @@ const Example = () => {
|
|
|
271
271
|
|
|
272
272
|
<View {...containerProps}>
|
|
273
273
|
<Tabs
|
|
274
|
-
margin="
|
|
274
|
+
margin="general.space2xl auto"
|
|
275
275
|
padding="medium"
|
|
276
276
|
onRequestTabChange={handleTabChange}
|
|
277
277
|
{...heightOptions[heightOption]}
|
|
@@ -345,7 +345,7 @@ const Outlet = () => {
|
|
|
345
345
|
|
|
346
346
|
return (
|
|
347
347
|
<div>
|
|
348
|
-
<Heading level="h1" as="h1" margin="0 0
|
|
348
|
+
<Heading level="h1" as="h1" margin="0 0 general.spaceSm">
|
|
349
349
|
{show ? 'Hello Developer' : 'Simulating network call...'}
|
|
350
350
|
</Heading>
|
|
351
351
|
{show ? (
|
|
@@ -373,7 +373,7 @@ const Example = () => {
|
|
|
373
373
|
|
|
374
374
|
return (
|
|
375
375
|
<Tabs
|
|
376
|
-
margin="
|
|
376
|
+
margin="general.space2xl auto"
|
|
377
377
|
padding="medium"
|
|
378
378
|
onRequestTabChange={handleTabChange}
|
|
379
379
|
>
|
|
@@ -439,7 +439,7 @@ const Example = () => {
|
|
|
439
439
|
|
|
440
440
|
return (
|
|
441
441
|
<Tabs
|
|
442
|
-
margin="
|
|
442
|
+
margin="general.space2xl auto"
|
|
443
443
|
padding="medium"
|
|
444
444
|
onRequestTabChange={handleTabChange}
|
|
445
445
|
>
|
|
@@ -504,7 +504,7 @@ const Example = () => {
|
|
|
504
504
|
|
|
505
505
|
return (
|
|
506
506
|
<Tabs
|
|
507
|
-
margin="
|
|
507
|
+
margin="general.space2xl auto"
|
|
508
508
|
padding="medium"
|
|
509
509
|
onRequestTabChange={handleTabChange}
|
|
510
510
|
>
|
package/src/Tabs/v2/props.ts
CHANGED
|
@@ -56,9 +56,9 @@ type TabsOwnProps = {
|
|
|
56
56
|
minHeight?: string | number
|
|
57
57
|
fixHeight?: string | number
|
|
58
58
|
/**
|
|
59
|
-
* Valid values are `0`, `none`, `auto`,
|
|
60
|
-
*
|
|
61
|
-
* familiar CSS-like shorthand. For example
|
|
59
|
+
* Valid values are `0`, `none`, `auto`, and Spacing token values,
|
|
60
|
+
* see https://instructure.design/layout-spacing. Apply these values via
|
|
61
|
+
* familiar CSS-like shorthand. For example, `margin="general.spaceMd auto"`.
|
|
62
62
|
*/
|
|
63
63
|
margin?: Spacing
|
|
64
64
|
/**
|