New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@instructure/ui-elements

Package Overview
Dependencies
Maintainers
35
Versions
928
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-elements - npm Package Compare versions

Comparing version

to
6.16.1-rc.45

2

es/Avatar/AvatarLocator.js

@@ -24,4 +24,4 @@ /*

*/
import { locator } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { Avatar } from './index';
export var AvatarLocator = locator(Avatar.selector);

@@ -24,4 +24,4 @@ /*

*/
import { locator } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { Badge } from './index';
export var BadgeLocator = locator(Badge.selector);

@@ -24,4 +24,4 @@ /*

*/
import { locator } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { Heading } from './index';
export var HeadingLocator = locator(Heading.selector);

@@ -24,4 +24,4 @@ /*

*/
import { locator } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { Img } from './index';
export var ImgLocator = locator(Img.selector);

@@ -25,27 +25,15 @@ /*

export { Avatar } from './Avatar';
export { AvatarLocator } from './Avatar/AvatarLocator';
export { Badge } from './Badge';
export { BadgeLocator } from './Badge/BadgeLocator';
export { Heading } from './Heading';
export { HeadingLocator } from './Heading/HeadingLocator';
export { Img } from './Img';
export { ImgLocator } from './Img/ImgLocator';
export { Link } from './Link';
export { LinkLocator } from './Link/LinkLocator';
export { List, ListItem } from './List';
export { ListLocator } from './List/ListLocator';
export { MetricsList, MetricsListItem } from './MetricsList';
export { MetricsListLocator } from './MetricsList/MetricsListLocator';
export { Pill } from './Pill';
export { PillLocator } from './Pill/PillLocator';
export { Progress } from './Progress';
export { ProgressLocator } from './Progress/ProgressLocator';
export { Rating } from './Rating';
export { RatingLocator } from './Rating/RatingLocator';
export { Spinner } from './Spinner';
export { SpinnerLocator } from './Spinner/SpinnerLocator';
export { Table } from './Table';
export { Tag } from './Tag';
export { TagLocator } from './Tag/TagLocator';
export { Text } from './Text';
export { TruncateText } from './TruncateText';

@@ -27,3 +27,4 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";

*/
import { locator, find } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { find } from '@instructure/ui-test-queries';
import { Link } from './index';

@@ -30,0 +31,0 @@ export var LinkLocator = locator(Link.selector, {

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { List } from './index';

@@ -27,0 +27,0 @@ var ListItemLocator = locator(List.Item.selector);

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { MetricsList } from './index';

@@ -27,0 +27,0 @@ var MetricsListItemLocator = locator(MetricsList.Item.selector);

@@ -27,4 +27,6 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";

*/
import { locator, parseQueryArguments } from '@instructure/ui-test-utils';
import { TooltipLocator } from '@instructure/ui-overlays';
import { locator } from '@instructure/ui-test-locator';
import { parseQueryArguments } from '@instructure/ui-test-queries'; // eslint-disable-next-line no-restricted-imports
import { TooltipLocator } from '@instructure/ui-overlays/es/Tooltip/TooltipLocator';
import { Pill } from './index';

@@ -31,0 +33,0 @@ export var PillLocator = locator(Pill.selector, {

@@ -24,4 +24,4 @@ /*

*/
import { locator } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { Progress } from './index';
export var ProgressLocator = locator(Progress.selector);

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { Rating } from './index';

@@ -27,0 +27,0 @@ var styles = {

@@ -24,4 +24,4 @@ /*

*/
import { locator } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { Spinner } from './index';
export var SpinnerLocator = locator(Spinner.selector);

@@ -24,4 +24,4 @@ /*

*/
import { locator } from '@instructure/ui-test-utils';
import { locator } from '@instructure/ui-test-locator';
import { Tag } from './index';
export var TagLocator = locator(Tag.selector);

@@ -8,3 +8,3 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");

@@ -36,3 +36,3 @@ var _index = require("./index");

*/
var AvatarLocator = (0, _uiTestUtils.locator)(_index.Avatar.selector);
var AvatarLocator = (0, _locator.locator)(_index.Avatar.selector);
exports.AvatarLocator = AvatarLocator;

@@ -8,3 +8,3 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");

@@ -36,3 +36,3 @@ var _index = require("./index");

*/
var BadgeLocator = (0, _uiTestUtils.locator)(_index.Badge.selector);
var BadgeLocator = (0, _locator.locator)(_index.Badge.selector);
exports.BadgeLocator = BadgeLocator;

@@ -8,3 +8,3 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");

@@ -36,3 +36,3 @@ var _index = require("./index");

*/
var HeadingLocator = (0, _uiTestUtils.locator)(_index.Heading.selector);
var HeadingLocator = (0, _locator.locator)(_index.Heading.selector);
exports.HeadingLocator = HeadingLocator;

@@ -8,3 +8,3 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");

@@ -36,3 +36,3 @@ var _index = require("./index");

*/
var ImgLocator = (0, _uiTestUtils.locator)(_index.Img.selector);
var ImgLocator = (0, _locator.locator)(_index.Img.selector);
exports.ImgLocator = ImgLocator;

@@ -12,8 +12,2 @@ "use strict";

});
Object.defineProperty(exports, "AvatarLocator", {
enumerable: true,
get: function get() {
return _AvatarLocator.AvatarLocator;
}
});
Object.defineProperty(exports, "Badge", {

@@ -25,8 +19,2 @@ enumerable: true,

});
Object.defineProperty(exports, "BadgeLocator", {
enumerable: true,
get: function get() {
return _BadgeLocator.BadgeLocator;
}
});
Object.defineProperty(exports, "Heading", {

@@ -38,8 +26,2 @@ enumerable: true,

});
Object.defineProperty(exports, "HeadingLocator", {
enumerable: true,
get: function get() {
return _HeadingLocator.HeadingLocator;
}
});
Object.defineProperty(exports, "Img", {

@@ -51,8 +33,2 @@ enumerable: true,

});
Object.defineProperty(exports, "ImgLocator", {
enumerable: true,
get: function get() {
return _ImgLocator.ImgLocator;
}
});
Object.defineProperty(exports, "Link", {

@@ -64,8 +40,2 @@ enumerable: true,

});
Object.defineProperty(exports, "LinkLocator", {
enumerable: true,
get: function get() {
return _LinkLocator.LinkLocator;
}
});
Object.defineProperty(exports, "List", {

@@ -83,8 +53,2 @@ enumerable: true,

});
Object.defineProperty(exports, "ListLocator", {
enumerable: true,
get: function get() {
return _ListLocator.ListLocator;
}
});
Object.defineProperty(exports, "MetricsList", {

@@ -102,8 +66,2 @@ enumerable: true,

});
Object.defineProperty(exports, "MetricsListLocator", {
enumerable: true,
get: function get() {
return _MetricsListLocator.MetricsListLocator;
}
});
Object.defineProperty(exports, "Pill", {

@@ -115,8 +73,2 @@ enumerable: true,

});
Object.defineProperty(exports, "PillLocator", {
enumerable: true,
get: function get() {
return _PillLocator.PillLocator;
}
});
Object.defineProperty(exports, "Progress", {

@@ -128,8 +80,2 @@ enumerable: true,

});
Object.defineProperty(exports, "ProgressLocator", {
enumerable: true,
get: function get() {
return _ProgressLocator.ProgressLocator;
}
});
Object.defineProperty(exports, "Rating", {

@@ -141,8 +87,2 @@ enumerable: true,

});
Object.defineProperty(exports, "RatingLocator", {
enumerable: true,
get: function get() {
return _RatingLocator.RatingLocator;
}
});
Object.defineProperty(exports, "Spinner", {

@@ -154,8 +94,2 @@ enumerable: true,

});
Object.defineProperty(exports, "SpinnerLocator", {
enumerable: true,
get: function get() {
return _SpinnerLocator.SpinnerLocator;
}
});
Object.defineProperty(exports, "Table", {

@@ -173,8 +107,2 @@ enumerable: true,

});
Object.defineProperty(exports, "TagLocator", {
enumerable: true,
get: function get() {
return _TagLocator.TagLocator;
}
});
Object.defineProperty(exports, "Text", {

@@ -195,44 +123,22 @@ enumerable: true,

var _AvatarLocator = require("./Avatar/AvatarLocator");
var _Badge = require("./Badge");
var _BadgeLocator = require("./Badge/BadgeLocator");
var _Heading = require("./Heading");
var _HeadingLocator = require("./Heading/HeadingLocator");
var _Img = require("./Img");
var _ImgLocator = require("./Img/ImgLocator");
var _Link = require("./Link");
var _LinkLocator = require("./Link/LinkLocator");
var _List = require("./List");
var _ListLocator = require("./List/ListLocator");
var _MetricsList = require("./MetricsList");
var _MetricsListLocator = require("./MetricsList/MetricsListLocator");
var _Pill = require("./Pill");
var _PillLocator = require("./Pill/PillLocator");
var _Progress = require("./Progress");
var _ProgressLocator = require("./Progress/ProgressLocator");
var _Rating = require("./Rating");
var _RatingLocator = require("./Rating/RatingLocator");
var _Spinner = require("./Spinner");
var _SpinnerLocator = require("./Spinner/SpinnerLocator");
var _Table = require("./Table");

@@ -242,6 +148,4 @@

var _TagLocator = require("./Tag/TagLocator");
var _Text = require("./Text");
var _TruncateText = require("./TruncateText");

@@ -14,4 +14,6 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");
var _uiTestQueries = require("@instructure/ui-test-queries");
var _index = require("./index");

@@ -42,3 +44,3 @@

*/
var LinkLocator = (0, _uiTestUtils.locator)(_index.Link.selector, {
var LinkLocator = (0, _locator.locator)(_index.Link.selector, {
click: function () {

@@ -64,3 +66,3 @@ var _click = (0, _asyncToGenerator2.default)(

_context.next = 3;
return (0, _uiTestUtils.find)(element, 'a,button,[role="button"]');
return (0, _uiTestQueries.find)(element, 'a,button,[role="button"]');

@@ -67,0 +69,0 @@ case 3:

@@ -8,3 +8,3 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");

@@ -36,4 +36,4 @@ var _index = require("./index");

*/
var ListItemLocator = (0, _uiTestUtils.locator)(_index.List.Item.selector);
var ListLocator = (0, _uiTestUtils.locator)(_index.List.selector, {
var ListItemLocator = (0, _locator.locator)(_index.List.Item.selector);
var ListLocator = (0, _locator.locator)(_index.List.selector, {
findAllItems: function findAllItems() {

@@ -40,0 +40,0 @@ return ListItemLocator.findAll.apply(ListItemLocator, arguments);

@@ -8,3 +8,3 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");

@@ -36,4 +36,4 @@ var _index = require("./index");

*/
var MetricsListItemLocator = (0, _uiTestUtils.locator)(_index.MetricsList.Item.selector);
var MetricsListLocator = (0, _uiTestUtils.locator)(_index.MetricsList.selector, {
var MetricsListItemLocator = (0, _locator.locator)(_index.MetricsList.Item.selector);
var MetricsListLocator = (0, _locator.locator)(_index.MetricsList.selector, {
findAllItems: function findAllItems() {

@@ -40,0 +40,0 @@ return MetricsListItemLocator.findAll.apply(MetricsListItemLocator, arguments);

@@ -14,6 +14,8 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");
var _TooltipLocator = require("@instructure/ui-overlays/lib/Tooltip/TooltipLocator.js");
var _uiTestQueries = require("@instructure/ui-test-queries");
var _TooltipLocator = require("@instructure/ui-overlays/lib/Tooltip/TooltipLocator");
var _index = require("./index");

@@ -44,3 +46,3 @@

*/
var PillLocator = (0, _uiTestUtils.locator)(_index.Pill.selector, {
var PillLocator = (0, _locator.locator)(_index.Pill.selector, {
findTooltipContent: function () {

@@ -61,3 +63,3 @@ var _findTooltipContent = (0, _asyncToGenerator2.default)(

case 0:
_parseQueryArguments = _uiTestUtils.parseQueryArguments.apply(void 0, _args), element = _parseQueryArguments.element, selector = _parseQueryArguments.selector, options = _parseQueryArguments.options;
_parseQueryArguments = _uiTestQueries.parseQueryArguments.apply(void 0, _args), element = _parseQueryArguments.element, selector = _parseQueryArguments.selector, options = _parseQueryArguments.options;
_context.next = 3;

@@ -64,0 +66,0 @@ return _TooltipLocator.TooltipLocator.find(element, options);

@@ -8,3 +8,3 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");

@@ -36,3 +36,3 @@ var _index = require("./index");

*/
var ProgressLocator = (0, _uiTestUtils.locator)(_index.Progress.selector);
var ProgressLocator = (0, _locator.locator)(_index.Progress.selector);
exports.ProgressLocator = ProgressLocator;

@@ -8,3 +8,3 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");

@@ -49,4 +49,4 @@ var _index = require("./index");

};
var FilledIconLocator = (0, _uiTestUtils.locator)(".".concat(styles.filled));
var RatingLocator = (0, _uiTestUtils.locator)(_index.Rating.selector, {
var FilledIconLocator = (0, _locator.locator)(".".concat(styles.filled));
var RatingLocator = (0, _locator.locator)(_index.Rating.selector, {
findAllFilledIcons: function findAllFilledIcons() {

@@ -53,0 +53,0 @@ return FilledIconLocator.findAll.apply(FilledIconLocator, arguments);

@@ -8,3 +8,3 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");

@@ -36,3 +36,3 @@ var _index = require("./index");

*/
var SpinnerLocator = (0, _uiTestUtils.locator)(_index.Spinner.selector);
var SpinnerLocator = (0, _locator.locator)(_index.Spinner.selector);
exports.SpinnerLocator = SpinnerLocator;

@@ -8,3 +8,3 @@ "use strict";

var _uiTestUtils = require("@instructure/ui-test-utils");
var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");

@@ -36,3 +36,3 @@ var _index = require("./index");

*/
var TagLocator = (0, _uiTestUtils.locator)(_index.Tag.selector);
var TagLocator = (0, _locator.locator)(_index.Tag.selector);
exports.TagLocator = TagLocator;
{
"name": "@instructure/ui-elements",
"version": "6.16.1-rc.43+0bdd16bff",
"version": "6.16.1-rc.45+5f66affb8",
"description": "A UI component library made by Instructure Inc.",

@@ -25,26 +25,28 @@ "author": "Instructure, Inc. Engineering and Product Design",

"devDependencies": {
"@instructure/ui-babel-preset": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-color-utils": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-test-utils": "6.16.1-rc.43+0bdd16bff"
"@instructure/ui-babel-preset": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-color-utils": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-test-locator": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-test-queries": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-test-utils": "6.16.1-rc.45+5f66affb8"
},
"dependencies": {
"@babel/runtime": "^7.5.0",
"@instructure/console": "6.16.1-rc.43+0bdd16bff",
"@instructure/debounce": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-a11y-content": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-a11y-utils": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-dom-utils": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-focusable": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-icons": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-layout": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-motion": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-overlays": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-prop-types": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-react-utils": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-spinner": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-testable": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-themeable": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-utils": "6.16.1-rc.43+0bdd16bff",
"@instructure/ui-view": "6.16.1-rc.43+0bdd16bff",
"@instructure/uid": "6.16.1-rc.43+0bdd16bff",
"@instructure/console": "6.16.1-rc.45+5f66affb8",
"@instructure/debounce": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-a11y-content": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-a11y-utils": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-dom-utils": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-focusable": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-icons": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-layout": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-motion": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-overlays": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-prop-types": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-react-utils": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-spinner": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-testable": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-themeable": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-utils": "6.16.1-rc.45+5f66affb8",
"@instructure/ui-view": "6.16.1-rc.45+5f66affb8",
"@instructure/uid": "6.16.1-rc.45+5f66affb8",
"classnames": "^2",

@@ -61,3 +63,3 @@ "escape-html": "^1",

"sideEffects": false,
"gitHead": "0bdd16bff2de2f17598843bf93e32f7780088855"
"gitHead": "5f66affb87be10e737020c617469d672699aa376"
}

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'

@@ -27,0 +27,0 @@ import { Avatar } from './index'

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'

@@ -27,0 +27,0 @@ import { Badge } from './index'

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'

@@ -27,0 +27,0 @@ import { Heading } from './index'

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'

@@ -27,0 +27,0 @@ import { Img } from './index'

@@ -25,27 +25,15 @@ /*

export { Avatar } from './Avatar'
export { AvatarLocator } from './Avatar/AvatarLocator'
export { Badge } from './Badge'
export { BadgeLocator } from './Badge/BadgeLocator'
export { Heading } from './Heading'
export { HeadingLocator } from './Heading/HeadingLocator'
export { Img } from './Img'
export { ImgLocator } from './Img/ImgLocator'
export { Link } from './Link'
export { LinkLocator } from './Link/LinkLocator'
export { List, ListItem } from './List'
export { ListLocator } from './List/ListLocator'
export { MetricsList, MetricsListItem } from './MetricsList'
export { MetricsListLocator } from './MetricsList/MetricsListLocator'
export { Pill } from './Pill'
export { PillLocator } from './Pill/PillLocator'
export { Progress } from './Progress'
export { ProgressLocator } from './Progress/ProgressLocator'
export { Rating } from './Rating'
export { RatingLocator } from './Rating/RatingLocator'
export { Spinner } from './Spinner'
export { SpinnerLocator } from './Spinner/SpinnerLocator'
export { Table } from './Table'
export { Tag } from './Tag'
export { TagLocator } from './Tag/TagLocator'
export { Text } from './Text'
export { TruncateText } from './TruncateText'

@@ -24,3 +24,4 @@ /*

*/
import { locator, find } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'
import { find } from '@instructure/ui-test-queries'

@@ -27,0 +28,0 @@ import { Link } from './index'

@@ -25,3 +25,3 @@ /*

import { locator } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'

@@ -28,0 +28,0 @@ import { List } from './index'

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'

@@ -27,0 +27,0 @@ import { MetricsList } from './index'

@@ -25,5 +25,8 @@ /*

import { locator, parseQueryArguments } from '@instructure/ui-test-utils'
import { TooltipLocator } from '@instructure/ui-overlays'
import { locator } from '@instructure/ui-test-locator'
import { parseQueryArguments } from '@instructure/ui-test-queries'
// eslint-disable-next-line no-restricted-imports
import { TooltipLocator } from '@instructure/ui-overlays/es/Tooltip/TooltipLocator'
import { Pill } from './index'

@@ -30,0 +33,0 @@

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'

@@ -27,0 +27,0 @@ import { Progress } from './index'

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'

@@ -27,0 +27,0 @@ import { Rating } from './index'

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'

@@ -27,0 +27,0 @@ import { Spinner } from './index'

@@ -24,3 +24,3 @@ /*

*/
import { locator } from '@instructure/ui-test-utils'
import { locator } from '@instructure/ui-test-locator'

@@ -27,0 +27,0 @@ import { Tag } from './index'

import * as React from 'react';
export type AvatarSize = "auto" | "x-small" | "small" | "medium" | "large" | "x-large";
export type AvatarVariant = "circle" | "rectangle";
export interface AvatarProps {
name: string;
/**
* URL of the image to display as the background image
*/
src?: string;
/**
* Accessible label
*/
alt?: string;
size?: AvatarSize;
variant?: AvatarVariant;
/**
* Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
* `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
* familiar CSS-like shorthand. For example: `margin="small auto large"`.
*/
margin?: any;
inline?: boolean;
/**
* Callback fired when the avatar image has loaded
*/
onImageLoaded?: (...args: any[])=>any;
/**
* the element type to render as
*/
as?: any;
elementRef?: (...args: any[])=>any;
}
export class Avatar extends React.Component<AvatarProps, any> {
render(): JSX.Element;
}
export type BadgeType = "count" | "notification";

@@ -315,2 +273,44 @@

export type AvatarSize = "auto" | "x-small" | "small" | "medium" | "large" | "x-large";
export type AvatarVariant = "circle" | "rectangle";
export interface AvatarProps {
name: string;
/**
* URL of the image to display as the background image
*/
src?: string;
/**
* Accessible label
*/
alt?: string;
size?: AvatarSize;
variant?: AvatarVariant;
/**
* Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
* `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
* familiar CSS-like shorthand. For example: `margin="small auto large"`.
*/
margin?: any;
inline?: boolean;
/**
* Callback fired when the avatar image has loaded
*/
onImageLoaded?: (...args: any[])=>any;
/**
* the element type to render as
*/
as?: any;
elementRef?: (...args: any[])=>any;
}
export class Avatar extends React.Component<AvatarProps, any> {
render(): JSX.Element;
}
export type ProgressSize = "x-small" | "small" | "medium" | "large";

@@ -317,0 +317,0 @@