@instructure/ui-buttons 11.4.0 → 11.4.1-snapshot-0
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 +8 -0
- package/es/BaseButton/index.js +3 -3
- package/es/Button/index.js +3 -3
- package/es/Button/theme.js +1 -2
- package/es/CloseButton/index.js +4 -4
- package/es/CondensedButton/index.js +3 -3
- package/es/CondensedButton/theme.js +1 -2
- package/es/IconButton/index.js +3 -3
- package/es/IconButton/theme.js +1 -2
- package/es/ToggleButton/index.js +2 -2
- package/es/index.js +6 -7
- package/package.json +34 -21
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.4.1-snapshot-0](https://github.com/instructure/instructure-ui/compare/v11.4.0...v11.4.1-snapshot-0) (2026-02-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-buttons
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [11.4.0](https://github.com/instructure/instructure-ui/compare/v11.3.0...v11.4.0) (2026-01-20)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @instructure/ui-buttons
|
package/es/BaseButton/index.js
CHANGED
|
@@ -36,9 +36,9 @@ import { View } from '@instructure/ui-view';
|
|
|
36
36
|
import { isSafari } from '@instructure/ui-utils';
|
|
37
37
|
import { combineDataCid } from '@instructure/ui-utils';
|
|
38
38
|
import { withStyle } from '@instructure/emotion';
|
|
39
|
-
import generateStyles from
|
|
40
|
-
import generateComponentTheme from
|
|
41
|
-
import { allowedProps } from
|
|
39
|
+
import generateStyles from "./styles.js";
|
|
40
|
+
import generateComponentTheme from "./theme.js";
|
|
41
|
+
import { allowedProps } from "./props.js";
|
|
42
42
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
43
43
|
/**
|
|
44
44
|
---
|
package/es/Button/index.js
CHANGED
|
@@ -28,9 +28,9 @@ var _dec, _class, _Button;
|
|
|
28
28
|
import { Component } from 'react';
|
|
29
29
|
import { getInteraction, passthroughProps } from '@instructure/ui-react-utils';
|
|
30
30
|
import { withStyle } from '@instructure/emotion';
|
|
31
|
-
import generateComponentTheme from
|
|
32
|
-
import { BaseButton } from
|
|
33
|
-
import { allowedProps } from
|
|
31
|
+
import generateComponentTheme from "./theme.js";
|
|
32
|
+
import { BaseButton } from "../BaseButton/index.js";
|
|
33
|
+
import { allowedProps } from "./props.js";
|
|
34
34
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
35
35
|
/**
|
|
36
36
|
---
|
package/es/Button/theme.js
CHANGED
package/es/CloseButton/index.js
CHANGED
|
@@ -30,10 +30,10 @@ import { IconXSolid } from '@instructure/ui-icons';
|
|
|
30
30
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
31
31
|
import { getInteraction, passthroughProps } from '@instructure/ui-react-utils';
|
|
32
32
|
import { withStyle } from '@instructure/emotion';
|
|
33
|
-
import generateStyle from
|
|
34
|
-
import generateComponentTheme from
|
|
35
|
-
import { BaseButton } from
|
|
36
|
-
import { allowedProps } from
|
|
33
|
+
import generateStyle from "./styles.js";
|
|
34
|
+
import generateComponentTheme from "./theme.js";
|
|
35
|
+
import { BaseButton } from "../BaseButton/index.js";
|
|
36
|
+
import { allowedProps } from "./props.js";
|
|
37
37
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
38
38
|
/**
|
|
39
39
|
---
|
|
@@ -28,9 +28,9 @@ var _dec, _class, _CondensedButton;
|
|
|
28
28
|
import { Component } from 'react';
|
|
29
29
|
import { passthroughProps } from '@instructure/ui-react-utils';
|
|
30
30
|
import { withStyle } from '@instructure/emotion';
|
|
31
|
-
import generateComponentTheme from
|
|
32
|
-
import { BaseButton } from
|
|
33
|
-
import { allowedProps } from
|
|
31
|
+
import generateComponentTheme from "./theme.js";
|
|
32
|
+
import { BaseButton } from "../BaseButton/index.js";
|
|
33
|
+
import { allowedProps } from "./props.js";
|
|
34
34
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
35
35
|
/**
|
|
36
36
|
---
|
package/es/IconButton/index.js
CHANGED
|
@@ -30,9 +30,9 @@ import { passthroughProps } from '@instructure/ui-react-utils';
|
|
|
30
30
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
31
31
|
import { combineDataCid } from '@instructure/ui-utils';
|
|
32
32
|
import { withStyle } from '@instructure/emotion';
|
|
33
|
-
import generateComponentTheme from
|
|
34
|
-
import { BaseButton } from
|
|
35
|
-
import { allowedProps } from
|
|
33
|
+
import generateComponentTheme from "./theme.js";
|
|
34
|
+
import { BaseButton } from "../BaseButton/index.js";
|
|
35
|
+
import { allowedProps } from "./props.js";
|
|
36
36
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
37
37
|
/**
|
|
38
38
|
---
|
package/es/IconButton/theme.js
CHANGED
package/es/ToggleButton/index.js
CHANGED
|
@@ -27,8 +27,8 @@ const _excluded = ["as", "color", "elementRef", "size", "interaction", "mountNod
|
|
|
27
27
|
import { Component } from 'react';
|
|
28
28
|
import { callRenderProp, passthroughProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { Tooltip } from '@instructure/ui-tooltip';
|
|
30
|
-
import { IconButton } from
|
|
31
|
-
import { allowedProps } from
|
|
30
|
+
import { IconButton } from "../IconButton/index.js";
|
|
31
|
+
import { allowedProps } from "./props.js";
|
|
32
32
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
33
33
|
/**
|
|
34
34
|
---
|
package/es/index.js
CHANGED
|
@@ -21,10 +21,9 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export { ToggleButton } from './ToggleButton';
|
|
24
|
+
export { BaseButton } from "./BaseButton/index.js";
|
|
25
|
+
export { Button } from "./Button/index.js";
|
|
26
|
+
export { CloseButton } from "./CloseButton/index.js";
|
|
27
|
+
export { CondensedButton } from "./CondensedButton/index.js";
|
|
28
|
+
export { IconButton } from "./IconButton/index.js";
|
|
29
|
+
export { ToggleButton } from "./ToggleButton/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-buttons",
|
|
3
|
-
"version": "11.4.0",
|
|
3
|
+
"version": "11.4.1-snapshot-0",
|
|
4
4
|
"description": "Accessible button components",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -13,31 +13,31 @@
|
|
|
13
13
|
"homepage": "https://instructure.github.io/instructure-ui/",
|
|
14
14
|
"bugs": "https://github.com/instructure/instructure-ui/issues",
|
|
15
15
|
"license": "MIT",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@babel/runtime": "^7.27.6",
|
|
18
|
+
"keycode": "^2",
|
|
19
|
+
"@instructure/shared-types": "11.4.1-snapshot-0",
|
|
20
|
+
"@instructure/console": "11.4.1-snapshot-0",
|
|
21
|
+
"@instructure/emotion": "11.4.1-snapshot-0",
|
|
22
|
+
"@instructure/ui-a11y-content": "11.4.1-snapshot-0",
|
|
23
|
+
"@instructure/ui-a11y-utils": "11.4.1-snapshot-0",
|
|
24
|
+
"@instructure/ui-icons": "11.4.1-snapshot-0",
|
|
25
|
+
"@instructure/ui-color-utils": "11.4.1-snapshot-0",
|
|
26
|
+
"@instructure/ui-position": "11.4.1-snapshot-0",
|
|
27
|
+
"@instructure/ui-dom-utils": "11.4.1-snapshot-0",
|
|
28
|
+
"@instructure/ui-react-utils": "11.4.1-snapshot-0",
|
|
29
|
+
"@instructure/ui-tooltip": "11.4.1-snapshot-0",
|
|
30
|
+
"@instructure/ui-utils": "11.4.1-snapshot-0",
|
|
31
|
+
"@instructure/ui-view": "11.4.1-snapshot-0"
|
|
32
|
+
},
|
|
16
33
|
"devDependencies": {
|
|
17
34
|
"@testing-library/jest-dom": "^6.6.3",
|
|
18
35
|
"@testing-library/react": "15.0.7",
|
|
19
36
|
"@testing-library/user-event": "^14.6.1",
|
|
20
37
|
"vitest": "^3.2.2",
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-themes": "11.4.0",
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.27.6",
|
|
27
|
-
"keycode": "^2",
|
|
28
|
-
"@instructure/console": "11.4.0",
|
|
29
|
-
"@instructure/emotion": "11.4.0",
|
|
30
|
-
"@instructure/ui-a11y-content": "11.4.0",
|
|
31
|
-
"@instructure/ui-a11y-utils": "11.4.0",
|
|
32
|
-
"@instructure/shared-types": "11.4.0",
|
|
33
|
-
"@instructure/ui-color-utils": "11.4.0",
|
|
34
|
-
"@instructure/ui-dom-utils": "11.4.0",
|
|
35
|
-
"@instructure/ui-icons": "11.4.0",
|
|
36
|
-
"@instructure/ui-position": "11.4.0",
|
|
37
|
-
"@instructure/ui-tooltip": "11.4.0",
|
|
38
|
-
"@instructure/ui-react-utils": "11.4.0",
|
|
39
|
-
"@instructure/ui-view": "11.4.0",
|
|
40
|
-
"@instructure/ui-utils": "11.4.0"
|
|
38
|
+
"@instructure/ui-axe-check": "11.4.1-snapshot-0",
|
|
39
|
+
"@instructure/ui-themes": "11.4.1-snapshot-0",
|
|
40
|
+
"@instructure/ui-babel-preset": "11.4.1-snapshot-0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=18 <=19"
|
|
@@ -46,6 +46,19 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": false,
|
|
49
|
+
"exports": {
|
|
50
|
+
".": {
|
|
51
|
+
"types": "./types/index.d.ts",
|
|
52
|
+
"import": "./es/index.js",
|
|
53
|
+
"require": "./lib/index.js",
|
|
54
|
+
"default": "./es/index.js"
|
|
55
|
+
},
|
|
56
|
+
"./lib/*": "./lib/*",
|
|
57
|
+
"./es/*": "./es/*",
|
|
58
|
+
"./types/*": "./types/*",
|
|
59
|
+
"./package.json": "./package.json",
|
|
60
|
+
"./src/*": "./src/*"
|
|
61
|
+
},
|
|
49
62
|
"scripts": {
|
|
50
63
|
"lint": "ui-scripts lint",
|
|
51
64
|
"lint:fix": "ui-scripts lint --fix",
|