@instructure/ui-buttons 11.7.4-snapshot-129 → 11.7.4-snapshot-132
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.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-132](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-132) (2026-07-23)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-buttons",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-132",
|
|
4
4
|
"description": "Accessible button components",
|
|
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/
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-icons": "11.7.4-snapshot-
|
|
27
|
-
"@instructure/ui-position": "11.7.4-snapshot-
|
|
28
|
-
"@instructure/ui-
|
|
29
|
-
"@instructure/ui-
|
|
30
|
-
"@instructure/ui-
|
|
31
|
-
"@instructure/ui-
|
|
32
|
-
"@instructure/ui-
|
|
19
|
+
"@instructure/console": "11.7.4-snapshot-132",
|
|
20
|
+
"@instructure/ui-a11y-content": "11.7.4-snapshot-132",
|
|
21
|
+
"@instructure/emotion": "11.7.4-snapshot-132",
|
|
22
|
+
"@instructure/ui-a11y-utils": "11.7.4-snapshot-132",
|
|
23
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-132",
|
|
24
|
+
"@instructure/shared-types": "11.7.4-snapshot-132",
|
|
25
|
+
"@instructure/ui-dom-utils": "11.7.4-snapshot-132",
|
|
26
|
+
"@instructure/ui-icons": "11.7.4-snapshot-132",
|
|
27
|
+
"@instructure/ui-position": "11.7.4-snapshot-132",
|
|
28
|
+
"@instructure/ui-themes": "11.7.4-snapshot-132",
|
|
29
|
+
"@instructure/ui-utils": "11.7.4-snapshot-132",
|
|
30
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-132",
|
|
31
|
+
"@instructure/ui-view": "11.7.4-snapshot-132",
|
|
32
|
+
"@instructure/ui-tooltip": "11.7.4-snapshot-132"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@testing-library/jest-dom": "^6.9.1",
|
|
36
36
|
"@testing-library/react": "16.3.2",
|
|
37
37
|
"@testing-library/user-event": "^14.6.1",
|
|
38
38
|
"vitest": "^4.1.9",
|
|
39
|
-
"@instructure/ui-axe-check": "11.7.4-snapshot-
|
|
40
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
39
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-132",
|
|
40
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-132"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=18 <=19"
|
package/src/Button/v2/README.md
CHANGED
|
@@ -37,7 +37,7 @@ The `primary-inverse` color is designed for use on colored backgrounds. It provi
|
|
|
37
37
|
---
|
|
38
38
|
type: example
|
|
39
39
|
---
|
|
40
|
-
<View display="block" background="info" padding="
|
|
40
|
+
<View display="block" background="info" padding="general.spaceMd">
|
|
41
41
|
<Button color="primary-inverse" margin="general.spaceMd">Primary Inverse</Button>
|
|
42
42
|
</View>
|
|
43
43
|
```
|
|
@@ -110,7 +110,7 @@ type: example
|
|
|
110
110
|
display="block"
|
|
111
111
|
width="10rem"
|
|
112
112
|
margin="general.spaceMd"
|
|
113
|
-
padding="
|
|
113
|
+
padding="general.spaceMd none"
|
|
114
114
|
withVisualDebug
|
|
115
115
|
>
|
|
116
116
|
<Button color="primary">
|
|
@@ -147,7 +147,7 @@ type: example
|
|
|
147
147
|
display="block"
|
|
148
148
|
width="10rem"
|
|
149
149
|
margin="general.spaceMd"
|
|
150
|
-
padding="
|
|
150
|
+
padding="general.spaceMd none"
|
|
151
151
|
withVisualDebug
|
|
152
152
|
>
|
|
153
153
|
{isTruncated ? (
|
|
@@ -179,7 +179,7 @@ type: example
|
|
|
179
179
|
display="block"
|
|
180
180
|
width="30rem"
|
|
181
181
|
margin="general.spaceMd"
|
|
182
|
-
padding="
|
|
182
|
+
padding="general.spaceMd none"
|
|
183
183
|
withVisualDebug
|
|
184
184
|
>
|
|
185
185
|
<Button
|
|
@@ -273,7 +273,7 @@ type: example
|
|
|
273
273
|
<RadioInput label="secondary" value="secondary" />
|
|
274
274
|
</RadioInputGroup>
|
|
275
275
|
</View>
|
|
276
|
-
<Flex margin="none none general.spaceXl" gap="
|
|
276
|
+
<Flex margin="none none general.spaceXl" gap="general.spaceXl">
|
|
277
277
|
<Flex.Item>
|
|
278
278
|
<Button withBackground={this.state.withBackground}
|
|
279
279
|
color={this.state.color}
|
|
@@ -22,11 +22,11 @@ If you need the `CloseButton` to work in a layout with other elements vs. absolu
|
|
|
22
22
|
type: example
|
|
23
23
|
---
|
|
24
24
|
<View display="block" position="relative" background="primary" shadow="resting">
|
|
25
|
-
<Flex height="6rem" justifyItems="space-between" alignItems="center" padding="
|
|
25
|
+
<Flex height="6rem" justifyItems="space-between" alignItems="center" padding="general.spaceXl">
|
|
26
26
|
<Flex.Item shouldShrink shouldGrow>
|
|
27
27
|
<Heading level="h2">Some Heading Text</Heading>
|
|
28
28
|
</Flex.Item>
|
|
29
|
-
<Flex.Item padding="none none none
|
|
29
|
+
<Flex.Item padding="none none none general.spaceXl">
|
|
30
30
|
<CloseButton size="medium" screenReaderLabel="Close" />
|
|
31
31
|
</Flex.Item>
|
|
32
32
|
</Flex>
|
|
@@ -8,7 +8,7 @@ CondensedButton is a button component that renders without padding. It is meant
|
|
|
8
8
|
---
|
|
9
9
|
type: example
|
|
10
10
|
---
|
|
11
|
-
<View display="block" background="primary" padding="
|
|
11
|
+
<View display="block" background="primary" padding="general.spaceMd">
|
|
12
12
|
<CondensedButton>Click Me</CondensedButton>
|
|
13
13
|
</View>
|
|
14
14
|
```
|
|
@@ -17,7 +17,7 @@ type: example
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
return (
|
|
20
|
-
<View as="div" padding="
|
|
20
|
+
<View as="div" padding="general.space2xl" id="toggleContainer">
|
|
21
21
|
<ToggleButton
|
|
22
22
|
status={locked ? 'pressed' : 'unpressed'}
|
|
23
23
|
color={locked ? 'danger' : 'secondary'}
|
|
@@ -49,7 +49,7 @@ type: example
|
|
|
49
49
|
return (
|
|
50
50
|
<View
|
|
51
51
|
as="div"
|
|
52
|
-
padding="
|
|
52
|
+
padding="general.space2xl"
|
|
53
53
|
background="info"
|
|
54
54
|
id="inverseToggleContainer"
|
|
55
55
|
>
|