@instructure/ui-tag 8.46.2-snapshot-5 → 8.46.2-snapshot-6
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 +1 -1
- package/lib/Tag/TagLocator.js +1 -2
- package/lib/Tag/__examples__/Tag.examples.js +2 -3
- package/lib/Tag/index.js +2 -4
- package/lib/Tag/locator.js +1 -2
- package/lib/Tag/props.js +2 -4
- package/lib/Tag/styles.js +1 -2
- package/lib/Tag/theme.js +1 -2
- package/package.json +15 -15
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.46.2-snapshot-
|
|
6
|
+
## [8.46.2-snapshot-6](https://github.com/instructure/instructure-ui/compare/v8.46.1...v8.46.2-snapshot-6) (2023-10-19)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-tag
|
|
9
9
|
|
package/lib/Tag/TagLocator.js
CHANGED
|
@@ -31,5 +31,4 @@ var _index = require("./index");
|
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
33
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
34
|
-
const TagLocator = (0, _locator.locator)(_index.Tag.selector);
|
|
35
|
-
exports.TagLocator = TagLocator;
|
|
34
|
+
const TagLocator = exports.TagLocator = (0, _locator.locator)(_index.Tag.selector);
|
|
@@ -27,7 +27,7 @@ exports.default = void 0;
|
|
|
27
27
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
28
|
* SOFTWARE.
|
|
29
29
|
*/
|
|
30
|
-
var _default = {
|
|
30
|
+
var _default = exports.default = {
|
|
31
31
|
sectionProp: 'variant',
|
|
32
32
|
propValues: {
|
|
33
33
|
text: ['Some tag', 'A lot of content which will truncate']
|
|
@@ -37,5 +37,4 @@ var _default = {
|
|
|
37
37
|
onClick: () => {}
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
};
|
|
41
|
-
exports.default = _default;
|
|
40
|
+
};
|
package/lib/Tag/index.js
CHANGED
|
@@ -47,7 +47,7 @@ category: components
|
|
|
47
47
|
---
|
|
48
48
|
@tsProps
|
|
49
49
|
**/
|
|
50
|
-
let Tag = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Tag extends _react.Component {
|
|
50
|
+
let Tag = exports.Tag = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Tag extends _react.Component {
|
|
51
51
|
constructor(...args) {
|
|
52
52
|
super(...args);
|
|
53
53
|
this.ref = null;
|
|
@@ -120,6 +120,4 @@ let Tag = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec
|
|
|
120
120
|
disabled: false,
|
|
121
121
|
readOnly: false
|
|
122
122
|
}, _class2)) || _class) || _class);
|
|
123
|
-
exports.
|
|
124
|
-
var _default = Tag;
|
|
125
|
-
exports.default = _default;
|
|
123
|
+
var _default = exports.default = Tag;
|
package/lib/Tag/locator.js
CHANGED
|
@@ -34,5 +34,4 @@ var _TagLocator = require("./TagLocator");
|
|
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
|
-
var _default = _TagLocator.TagLocator;
|
|
38
|
-
exports.default = _default;
|
|
37
|
+
var _default = exports.default = _TagLocator.TagLocator;
|
package/lib/Tag/props.js
CHANGED
|
@@ -31,7 +31,7 @@ var _emotion = require("@instructure/emotion");
|
|
|
31
31
|
* SOFTWARE.
|
|
32
32
|
*/
|
|
33
33
|
|
|
34
|
-
const propTypes = {
|
|
34
|
+
const propTypes = exports.propTypes = {
|
|
35
35
|
className: _propTypes.default.string,
|
|
36
36
|
text: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.node]).isRequired,
|
|
37
37
|
title: _propTypes.default.string,
|
|
@@ -44,6 +44,4 @@ const propTypes = {
|
|
|
44
44
|
size: _propTypes.default.oneOf(['small', 'medium', 'large']),
|
|
45
45
|
variant: _propTypes.default.oneOf(['default', 'inline'])
|
|
46
46
|
};
|
|
47
|
-
exports.
|
|
48
|
-
const allowedProps = ['className', 'text', 'title', 'disabled', 'readOnly', 'dismissible', 'margin', 'onClick', 'elementRef', 'size', 'variant'];
|
|
49
|
-
exports.allowedProps = allowedProps;
|
|
47
|
+
const allowedProps = exports.allowedProps = ['className', 'text', 'title', 'disabled', 'readOnly', 'dismissible', 'margin', 'onClick', 'elementRef', 'size', 'variant'];
|
package/lib/Tag/styles.js
CHANGED
package/lib/Tag/theme.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-tag",
|
|
3
|
-
"version": "8.46.2-snapshot-
|
|
3
|
+
"version": "8.46.2-snapshot-6",
|
|
4
4
|
"description": "A tag component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,23 +23,23 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.
|
|
27
|
-
"@instructure/console": "8.46.2-snapshot-
|
|
28
|
-
"@instructure/emotion": "8.46.2-snapshot-
|
|
29
|
-
"@instructure/shared-types": "8.46.2-snapshot-
|
|
30
|
-
"@instructure/ui-color-utils": "8.46.2-snapshot-
|
|
31
|
-
"@instructure/ui-dom-utils": "8.46.2-snapshot-
|
|
32
|
-
"@instructure/ui-icons": "8.46.2-snapshot-
|
|
33
|
-
"@instructure/ui-react-utils": "8.46.2-snapshot-
|
|
34
|
-
"@instructure/ui-testable": "8.46.2-snapshot-
|
|
35
|
-
"@instructure/ui-view": "8.46.2-snapshot-
|
|
26
|
+
"@babel/runtime": "^7.23.2",
|
|
27
|
+
"@instructure/console": "8.46.2-snapshot-6",
|
|
28
|
+
"@instructure/emotion": "8.46.2-snapshot-6",
|
|
29
|
+
"@instructure/shared-types": "8.46.2-snapshot-6",
|
|
30
|
+
"@instructure/ui-color-utils": "8.46.2-snapshot-6",
|
|
31
|
+
"@instructure/ui-dom-utils": "8.46.2-snapshot-6",
|
|
32
|
+
"@instructure/ui-icons": "8.46.2-snapshot-6",
|
|
33
|
+
"@instructure/ui-react-utils": "8.46.2-snapshot-6",
|
|
34
|
+
"@instructure/ui-testable": "8.46.2-snapshot-6",
|
|
35
|
+
"@instructure/ui-view": "8.46.2-snapshot-6",
|
|
36
36
|
"prop-types": "^15.8.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@instructure/ui-babel-preset": "8.46.2-snapshot-
|
|
40
|
-
"@instructure/ui-test-locator": "8.46.2-snapshot-
|
|
41
|
-
"@instructure/ui-test-utils": "8.46.2-snapshot-
|
|
42
|
-
"@instructure/ui-themes": "8.46.2-snapshot-
|
|
39
|
+
"@instructure/ui-babel-preset": "8.46.2-snapshot-6",
|
|
40
|
+
"@instructure/ui-test-locator": "8.46.2-snapshot-6",
|
|
41
|
+
"@instructure/ui-test-utils": "8.46.2-snapshot-6",
|
|
42
|
+
"@instructure/ui-themes": "8.46.2-snapshot-6"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.8 <=18"
|