@instructure/ui-buttons 8.26.0 → 8.26.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/BaseButtonLocator.js +2 -1
- package/es/Button/ButtonLocator.js +2 -1
- package/es/CloseButton/CloseButtonLocator.js +2 -1
- package/es/CondensedButton/CondensedButtonLocator.js +2 -1
- package/es/IconButton/IconButtonLocator.js +2 -1
- package/es/ToggleButton/ToggleButtonLocator.js +4 -2
- package/lib/BaseButton/BaseButtonLocator.js +1 -0
- package/lib/Button/ButtonLocator.js +1 -0
- package/lib/CloseButton/CloseButtonLocator.js +1 -0
- package/lib/CondensedButton/CondensedButtonLocator.js +1 -0
- package/lib/IconButton/IconButtonLocator.js +1 -0
- package/lib/ToggleButton/ToggleButtonLocator.js +2 -0
- package/package.json +20 -20
- 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
|
+
## [8.26.1-snapshot-0](https://github.com/instructure/instructure-ui/compare/v8.26.0...v8.26.1-snapshot-0) (2022-07-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-buttons
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [8.26.0](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.26.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @instructure/ui-buttons
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import { locator } from '@instructure/ui-test-locator';
|
|
25
25
|
import { find } from '@instructure/ui-test-queries';
|
|
26
|
-
import { BaseButton } from './index';
|
|
26
|
+
import { BaseButton } from './index'; // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
27
|
+
|
|
27
28
|
export const BaseButtonLocator = locator(BaseButton.selector, {
|
|
28
29
|
click: async function (element) {
|
|
29
30
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import { locator } from '@instructure/ui-test-locator';
|
|
25
25
|
import { find } from '@instructure/ui-test-queries';
|
|
26
|
-
import { Button } from './index';
|
|
26
|
+
import { Button } from './index'; // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
27
|
+
|
|
27
28
|
export const ButtonLocator = locator(Button.selector, {
|
|
28
29
|
click: async function (element) {
|
|
29
30
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -22,5 +22,6 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
import { locator } from '@instructure/ui-test-locator';
|
|
25
|
-
import { CloseButton } from './index';
|
|
25
|
+
import { CloseButton } from './index'; // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
26
|
+
|
|
26
27
|
export const CloseButtonLocator = locator(CloseButton.selector);
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import { locator } from '@instructure/ui-test-locator';
|
|
25
25
|
import { find } from '@instructure/ui-test-queries';
|
|
26
|
-
import { CondensedButton } from './index';
|
|
26
|
+
import { CondensedButton } from './index'; // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
27
|
+
|
|
27
28
|
export const CondensedButtonLocator = locator(CondensedButton.selector, {
|
|
28
29
|
click: async function (element) {
|
|
29
30
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import { locator } from '@instructure/ui-test-locator';
|
|
25
25
|
import { find } from '@instructure/ui-test-queries';
|
|
26
|
-
import { IconButton } from './index';
|
|
26
|
+
import { IconButton } from './index'; // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
27
|
+
|
|
27
28
|
export const IconButtonLocator = locator(IconButton.selector, {
|
|
28
29
|
click: async function (element) {
|
|
29
30
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -22,10 +22,12 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
import { locator } from '@instructure/ui-test-locator';
|
|
25
|
-
import { find, parseQueryArguments } from '@instructure/ui-test-queries'; //
|
|
25
|
+
import { find, parseQueryArguments } from '@instructure/ui-test-queries'; // @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
|
|
26
|
+
// eslint-disable-next-line no-restricted-imports
|
|
26
27
|
|
|
27
28
|
import { TooltipLocator } from '@instructure/ui-tooltip/es/Tooltip/TooltipLocator';
|
|
28
|
-
import { ToggleButton } from './index';
|
|
29
|
+
import { ToggleButton } from './index'; // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
30
|
+
|
|
29
31
|
export const ToggleButtonLocator = locator(ToggleButton.selector, {
|
|
30
32
|
findTooltipContent: async function () {
|
|
31
33
|
const _parseQueryArguments = parseQueryArguments(...arguments),
|
|
@@ -34,6 +34,7 @@ var _index = require("./index");
|
|
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
|
+
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
37
38
|
const BaseButtonLocator = (0, _locator.locator)(_index.BaseButton.selector, {
|
|
38
39
|
click: async function (element) {
|
|
39
40
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -34,6 +34,7 @@ var _index = require("./index");
|
|
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
|
+
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
37
38
|
const ButtonLocator = (0, _locator.locator)(_index.Button.selector, {
|
|
38
39
|
click: async function (element) {
|
|
39
40
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -32,5 +32,6 @@ var _index = require("./index");
|
|
|
32
32
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
33
33
|
* SOFTWARE.
|
|
34
34
|
*/
|
|
35
|
+
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
35
36
|
const CloseButtonLocator = (0, _locator.locator)(_index.CloseButton.selector);
|
|
36
37
|
exports.CloseButtonLocator = CloseButtonLocator;
|
|
@@ -34,6 +34,7 @@ var _index = require("./index");
|
|
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
|
+
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
37
38
|
const CondensedButtonLocator = (0, _locator.locator)(_index.CondensedButton.selector, {
|
|
38
39
|
click: async function (element) {
|
|
39
40
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -34,6 +34,7 @@ var _index = require("./index");
|
|
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
|
+
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
37
38
|
const IconButtonLocator = (0, _locator.locator)(_index.IconButton.selector, {
|
|
38
39
|
click: async function (element) {
|
|
39
40
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
@@ -36,7 +36,9 @@ var _index = require("./index");
|
|
|
36
36
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
37
|
* SOFTWARE.
|
|
38
38
|
*/
|
|
39
|
+
// @ts-expect-error ts-migrate(7016) FIXME: Could not find a declaration file for module '@ins... Remove this comment to see the full error message
|
|
39
40
|
// eslint-disable-next-line no-restricted-imports
|
|
41
|
+
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
40
42
|
const ToggleButtonLocator = (0, _locator.locator)(_index.ToggleButton.selector, {
|
|
41
43
|
findTooltipContent: async function () {
|
|
42
44
|
const _parseQueryArguments = (0, _uiTestQueries.parseQueryArguments)(...arguments),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-buttons",
|
|
3
|
-
"version": "8.26.0",
|
|
3
|
+
"version": "8.26.1-snapshot-0",
|
|
4
4
|
"description": "Accessible button components",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,28 +23,28 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.26.0",
|
|
27
|
-
"@instructure/ui-test-locator": "8.26.0",
|
|
28
|
-
"@instructure/ui-test-queries": "8.26.0",
|
|
29
|
-
"@instructure/ui-test-utils": "8.26.0",
|
|
30
|
-
"@instructure/ui-themes": "8.26.0"
|
|
26
|
+
"@instructure/ui-babel-preset": "8.26.1-snapshot-0",
|
|
27
|
+
"@instructure/ui-test-locator": "8.26.1-snapshot-0",
|
|
28
|
+
"@instructure/ui-test-queries": "8.26.1-snapshot-0",
|
|
29
|
+
"@instructure/ui-test-utils": "8.26.1-snapshot-0",
|
|
30
|
+
"@instructure/ui-themes": "8.26.1-snapshot-0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.13.10",
|
|
34
|
-
"@instructure/console": "8.26.0",
|
|
35
|
-
"@instructure/emotion": "8.26.0",
|
|
36
|
-
"@instructure/shared-types": "8.26.0",
|
|
37
|
-
"@instructure/ui-a11y-content": "8.26.0",
|
|
38
|
-
"@instructure/ui-a11y-utils": "8.26.0",
|
|
39
|
-
"@instructure/ui-color-utils": "8.26.0",
|
|
40
|
-
"@instructure/ui-dom-utils": "8.26.0",
|
|
41
|
-
"@instructure/ui-icons": "8.26.0",
|
|
42
|
-
"@instructure/ui-position": "8.26.0",
|
|
43
|
-
"@instructure/ui-react-utils": "8.26.0",
|
|
44
|
-
"@instructure/ui-testable": "8.26.0",
|
|
45
|
-
"@instructure/ui-tooltip": "8.26.0",
|
|
46
|
-
"@instructure/ui-utils": "8.26.0",
|
|
47
|
-
"@instructure/ui-view": "8.26.0",
|
|
34
|
+
"@instructure/console": "8.26.1-snapshot-0",
|
|
35
|
+
"@instructure/emotion": "8.26.1-snapshot-0",
|
|
36
|
+
"@instructure/shared-types": "8.26.1-snapshot-0",
|
|
37
|
+
"@instructure/ui-a11y-content": "8.26.1-snapshot-0",
|
|
38
|
+
"@instructure/ui-a11y-utils": "8.26.1-snapshot-0",
|
|
39
|
+
"@instructure/ui-color-utils": "8.26.1-snapshot-0",
|
|
40
|
+
"@instructure/ui-dom-utils": "8.26.1-snapshot-0",
|
|
41
|
+
"@instructure/ui-icons": "8.26.1-snapshot-0",
|
|
42
|
+
"@instructure/ui-position": "8.26.1-snapshot-0",
|
|
43
|
+
"@instructure/ui-react-utils": "8.26.1-snapshot-0",
|
|
44
|
+
"@instructure/ui-testable": "8.26.1-snapshot-0",
|
|
45
|
+
"@instructure/ui-tooltip": "8.26.1-snapshot-0",
|
|
46
|
+
"@instructure/ui-utils": "8.26.1-snapshot-0",
|
|
47
|
+
"@instructure/ui-view": "8.26.1-snapshot-0",
|
|
48
48
|
"keycode": "^2",
|
|
49
49
|
"prop-types": "^15"
|
|
50
50
|
},
|