@instructure/ui-buttons 11.7.3-snapshot-42 → 11.7.3-snapshot-43

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,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.3-snapshot-42](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-42) (2026-05-07)
6
+ ## [11.7.3-snapshot-43](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-43) (2026-05-07)
7
7
 
8
8
 
9
9
  ### Bug Fixes
10
10
 
11
11
  * **many:** update dependencies, remove lots of Babel plugins, remove Webpack 4 support ([f916fca](https://github.com/instructure/instructure-ui/commit/f916fcafdddcb2d7de401f93e8ff92cfdfa47bba))
12
+ * **ui-buttons:** fix textAlign center on Buttons without icon ([b46ddb7](https://github.com/instructure/instructure-ui/commit/b46ddb788696bf1c556291d3a09a1ba659c6959f))
12
13
 
13
14
 
14
15
 
@@ -457,6 +457,7 @@ const generateStyle = (componentTheme, params, _sharedTokens, extraArgs) => {
457
457
  width: '100%',
458
458
  display: 'flex',
459
459
  alignItems: 'center',
460
+ justifyContent: textAlign === 'center' ? 'center' : 'flex-start',
460
461
  direction: 'inherit',
461
462
  userSelect: 'none',
462
463
  transition: 'background 0.2s, transform 0.2s',
@@ -463,6 +463,7 @@ const generateStyle = (componentTheme, params, _sharedTokens, extraArgs) => {
463
463
  width: '100%',
464
464
  display: 'flex',
465
465
  alignItems: 'center',
466
+ justifyContent: textAlign === 'center' ? 'center' : 'flex-start',
466
467
  direction: 'inherit',
467
468
  userSelect: 'none',
468
469
  transition: 'background 0.2s, transform 0.2s',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-buttons",
3
- "version": "11.7.3-snapshot-42",
3
+ "version": "11.7.3-snapshot-43",
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.2",
18
18
  "keycode": "^2",
19
- "@instructure/emotion": "11.7.3-snapshot-42",
20
- "@instructure/ui-a11y-content": "11.7.3-snapshot-42",
21
- "@instructure/ui-a11y-utils": "11.7.3-snapshot-42",
22
- "@instructure/shared-types": "11.7.3-snapshot-42",
23
- "@instructure/console": "11.7.3-snapshot-42",
24
- "@instructure/ui-color-utils": "11.7.3-snapshot-42",
25
- "@instructure/ui-dom-utils": "11.7.3-snapshot-42",
26
- "@instructure/ui-icons": "11.7.3-snapshot-42",
27
- "@instructure/ui-react-utils": "11.7.3-snapshot-42",
28
- "@instructure/ui-position": "11.7.3-snapshot-42",
29
- "@instructure/ui-themes": "11.7.3-snapshot-42",
30
- "@instructure/ui-tooltip": "11.7.3-snapshot-42",
31
- "@instructure/ui-utils": "11.7.3-snapshot-42",
32
- "@instructure/ui-view": "11.7.3-snapshot-42"
19
+ "@instructure/console": "11.7.3-snapshot-43",
20
+ "@instructure/emotion": "11.7.3-snapshot-43",
21
+ "@instructure/shared-types": "11.7.3-snapshot-43",
22
+ "@instructure/ui-a11y-content": "11.7.3-snapshot-43",
23
+ "@instructure/ui-a11y-utils": "11.7.3-snapshot-43",
24
+ "@instructure/ui-color-utils": "11.7.3-snapshot-43",
25
+ "@instructure/ui-dom-utils": "11.7.3-snapshot-43",
26
+ "@instructure/ui-icons": "11.7.3-snapshot-43",
27
+ "@instructure/ui-position": "11.7.3-snapshot-43",
28
+ "@instructure/ui-react-utils": "11.7.3-snapshot-43",
29
+ "@instructure/ui-themes": "11.7.3-snapshot-43",
30
+ "@instructure/ui-tooltip": "11.7.3-snapshot-43",
31
+ "@instructure/ui-utils": "11.7.3-snapshot-43",
32
+ "@instructure/ui-view": "11.7.3-snapshot-43"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@testing-library/jest-dom": "^6.6.3",
36
36
  "@testing-library/react": "15.0.7",
37
37
  "@testing-library/user-event": "^14.6.1",
38
38
  "vitest": "^3.2.2",
39
- "@instructure/ui-axe-check": "11.7.3-snapshot-42",
40
- "@instructure/ui-babel-preset": "11.7.3-snapshot-42"
39
+ "@instructure/ui-axe-check": "11.7.3-snapshot-43",
40
+ "@instructure/ui-babel-preset": "11.7.3-snapshot-43"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=18 <=19"
@@ -496,6 +496,7 @@ const generateStyle = (
496
496
  width: '100%',
497
497
  display: 'flex',
498
498
  alignItems: 'center',
499
+ justifyContent: textAlign === 'center' ? 'center' : 'flex-start',
499
500
  direction: 'inherit',
500
501
  userSelect: 'none',
501
502
  transition: 'background 0.2s, transform 0.2s',