@instructure/ui-buttons 11.7.2-snapshot-49 → 11.7.2-snapshot-51

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,9 +3,19 @@
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-49](https://github.com/instructure/instructure-ui/compare/v11.7.1...v11.7.2-snapshot-49) (2026-04-16)
6
+ ## [11.7.2-snapshot-51](https://github.com/instructure/instructure-ui/compare/v11.7.1...v11.7.2-snapshot-51) (2026-04-21)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-buttons
8
+
9
+ ### Features
10
+
11
+ * **many:** rework TopNavBar ([bf40e4f](https://github.com/instructure/instructure-ui/commit/bf40e4f380dce5edc45a0f0bc83d5a5070d3be2b))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ * **many:** contains breaking changes due to component using the new theming system
17
+
18
+ INSTUI-4967
9
19
 
10
20
 
11
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-buttons",
3
- "version": "11.7.2-snapshot-49",
3
+ "version": "11.7.2-snapshot-51",
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.27.6",
18
18
  "keycode": "^2",
19
- "@instructure/console": "11.7.2-snapshot-49",
20
- "@instructure/emotion": "11.7.2-snapshot-49",
21
- "@instructure/ui-a11y-content": "11.7.2-snapshot-49",
22
- "@instructure/shared-types": "11.7.2-snapshot-49",
23
- "@instructure/ui-a11y-utils": "11.7.2-snapshot-49",
24
- "@instructure/ui-color-utils": "11.7.2-snapshot-49",
25
- "@instructure/ui-icons": "11.7.2-snapshot-49",
26
- "@instructure/ui-dom-utils": "11.7.2-snapshot-49",
27
- "@instructure/ui-position": "11.7.2-snapshot-49",
28
- "@instructure/ui-tooltip": "11.7.2-snapshot-49",
29
- "@instructure/ui-react-utils": "11.7.2-snapshot-49",
30
- "@instructure/ui-utils": "11.7.2-snapshot-49",
31
- "@instructure/ui-view": "11.7.2-snapshot-49"
19
+ "@instructure/console": "11.7.2-snapshot-51",
20
+ "@instructure/ui-a11y-content": "11.7.2-snapshot-51",
21
+ "@instructure/emotion": "11.7.2-snapshot-51",
22
+ "@instructure/shared-types": "11.7.2-snapshot-51",
23
+ "@instructure/ui-a11y-utils": "11.7.2-snapshot-51",
24
+ "@instructure/ui-color-utils": "11.7.2-snapshot-51",
25
+ "@instructure/ui-icons": "11.7.2-snapshot-51",
26
+ "@instructure/ui-position": "11.7.2-snapshot-51",
27
+ "@instructure/ui-dom-utils": "11.7.2-snapshot-51",
28
+ "@instructure/ui-tooltip": "11.7.2-snapshot-51",
29
+ "@instructure/ui-react-utils": "11.7.2-snapshot-51",
30
+ "@instructure/ui-utils": "11.7.2-snapshot-51",
31
+ "@instructure/ui-view": "11.7.2-snapshot-51"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@testing-library/jest-dom": "^6.6.3",
35
35
  "@testing-library/react": "15.0.7",
36
36
  "@testing-library/user-event": "^14.6.1",
37
37
  "vitest": "^3.2.2",
38
- "@instructure/ui-axe-check": "11.7.2-snapshot-49",
39
- "@instructure/ui-babel-preset": "11.7.2-snapshot-49",
40
- "@instructure/ui-themes": "11.7.2-snapshot-49"
38
+ "@instructure/ui-axe-check": "11.7.2-snapshot-51",
39
+ "@instructure/ui-babel-preset": "11.7.2-snapshot-51",
40
+ "@instructure/ui-themes": "11.7.2-snapshot-51"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=18 <=19"
@@ -32,10 +32,10 @@ import type {
32
32
  import type {
33
33
  ToProp,
34
34
  AsElementType,
35
- BaseButtonTheme,
36
35
  OtherHTMLAttributes
37
36
  } from '@instructure/shared-types'
38
37
  import type { Cursor } from '@instructure/shared-types'
38
+ import type { NewComponentTypes } from '@instructure/ui-themes'
39
39
  import type { ViewProps } from '@instructure/ui-view/latest'
40
40
  import { Renderable } from '@instructure/shared-types'
41
41
 
@@ -179,7 +179,7 @@ type PropKeys = keyof BaseButtonOwnProps
179
179
  type AllowedPropKeys = Readonly<Array<PropKeys>>
180
180
 
181
181
  type BaseButtonProps = BaseButtonOwnProps &
182
- WithStyleProps<BaseButtonTheme, BaseButtonStyle> &
182
+ WithStyleProps<NewComponentTypes['BaseButton'], BaseButtonStyle> &
183
183
  OtherHTMLAttributes<BaseButtonOwnProps> &
184
184
  ToProp
185
185
 
@@ -27,10 +27,10 @@ import type { Spacing, WithStyleProps } from '@instructure/emotion'
27
27
  import type {
28
28
  ToProp,
29
29
  AsElementType,
30
- BaseButtonTheme,
31
30
  OtherHTMLAttributes
32
31
  } from '@instructure/shared-types'
33
32
  import type { Cursor } from '@instructure/shared-types'
33
+ import type { NewComponentTypes } from '@instructure/ui-themes'
34
34
  import type { ViewProps } from '@instructure/ui-view/latest'
35
35
 
36
36
  type ButtonOwnProps = {
@@ -133,7 +133,7 @@ type PropKeys = keyof ButtonOwnProps
133
133
  type AllowedPropKeys = Readonly<Array<PropKeys>>
134
134
 
135
135
  type ButtonProps = ButtonOwnProps &
136
- WithStyleProps<BaseButtonTheme, null> &
136
+ WithStyleProps<NewComponentTypes['BaseButton'], null> &
137
137
  OtherHTMLAttributes<ButtonOwnProps> &
138
138
  ToProp
139
139
  const allowedProps: AllowedPropKeys = [
@@ -31,10 +31,10 @@ import type {
31
31
  import type {
32
32
  ToProp,
33
33
  AsElementType,
34
- BaseButtonTheme,
35
34
  OtherHTMLAttributes
36
35
  } from '@instructure/shared-types'
37
36
  import type { Cursor } from '@instructure/shared-types'
37
+ import type { NewComponentTypes } from '@instructure/ui-themes'
38
38
  import type { ViewProps } from '@instructure/ui-view/latest'
39
39
 
40
40
  type CloseButtonOwnProps = {
@@ -122,7 +122,7 @@ type PropKeys = keyof CloseButtonOwnProps
122
122
  type AllowedPropKeys = Readonly<Array<PropKeys>>
123
123
 
124
124
  type CloseButtonProps = CloseButtonOwnProps &
125
- WithStyleProps<BaseButtonTheme, CloseButtonStyle> &
125
+ WithStyleProps<NewComponentTypes['BaseButton'], CloseButtonStyle> &
126
126
  OtherHTMLAttributes<CloseButtonOwnProps> &
127
127
  ToProp
128
128
 
@@ -27,10 +27,10 @@ import type { Spacing, WithStyleProps } from '@instructure/emotion'
27
27
  import type {
28
28
  ToProp,
29
29
  AsElementType,
30
- BaseButtonTheme,
31
30
  OtherHTMLAttributes
32
31
  } from '@instructure/shared-types'
33
32
  import type { Cursor } from '@instructure/shared-types'
33
+ import type { NewComponentTypes } from '@instructure/ui-themes'
34
34
  import type { ViewProps } from '@instructure/ui-view/latest'
35
35
 
36
36
  type CondensedButtonOwnProps = {
@@ -110,7 +110,7 @@ type PropKeys = keyof CondensedButtonOwnProps
110
110
  type AllowedPropKeys = Readonly<Array<PropKeys>>
111
111
 
112
112
  type CondensedButtonProps = CondensedButtonOwnProps &
113
- WithStyleProps<BaseButtonTheme, null> &
113
+ WithStyleProps<NewComponentTypes['BaseButton'], null> &
114
114
  OtherHTMLAttributes<CondensedButtonOwnProps> &
115
115
  ToProp
116
116
 
@@ -28,11 +28,11 @@ import type { Spacing, WithStyleProps } from '@instructure/emotion'
28
28
  import type {
29
29
  ToProp,
30
30
  AsElementType,
31
- BaseButtonTheme,
32
31
  OtherHTMLAttributes,
33
32
  Renderable
34
33
  } from '@instructure/shared-types'
35
34
  import type { Cursor } from '@instructure/shared-types'
35
+ import type { NewComponentTypes } from '@instructure/ui-themes'
36
36
  import type { ViewProps } from '@instructure/ui-view/latest'
37
37
 
38
38
  type IconButtonOwnProps = {
@@ -139,7 +139,7 @@ type PropKeys = keyof IconButtonOwnProps
139
139
  type AllowedPropKeys = Readonly<Array<PropKeys>>
140
140
 
141
141
  type IconButtonProps = IconButtonOwnProps &
142
- WithStyleProps<BaseButtonTheme, null> &
142
+ WithStyleProps<NewComponentTypes['BaseButton'], null> &
143
143
  OtherHTMLAttributes<IconButtonOwnProps> &
144
144
  ToProp
145
145
  const allowedProps: AllowedPropKeys = [