@instructure/ui-pill 9.0.2-snapshot-2 → 9.0.2-snapshot-4
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/es/Pill/PillLocator.js +1 -1
- package/es/Pill/index.js +4 -4
- package/lib/Pill/PillLocator.js +1 -1
- package/lib/Pill/index.js +4 -4
- package/package.json +22 -22
- package/src/Pill/PillLocator.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Pill/PillLocator.d.ts +36 -36
- package/types/Pill/index.d.ts +5 -5
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
|
-
## [9.0.2-snapshot-
|
|
6
|
+
## [9.0.2-snapshot-4](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-4) (2024-06-05)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-pill
|
|
9
9
|
|
package/es/Pill/PillLocator.js
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
import { locator } from '@instructure/ui-test-locator';
|
|
26
26
|
import { parseQueryArguments } from '@instructure/ui-test-queries';
|
|
27
|
-
// @ts-
|
|
27
|
+
// @ts-ignore: Cannot find module
|
|
28
28
|
// eslint-disable-next-line no-restricted-imports
|
|
29
29
|
import { TooltipLocator } from '@instructure/ui-tooltip/es/Tooltip/TooltipLocator';
|
|
30
30
|
import { Pill } from './index';
|
package/es/Pill/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
2
|
const _excluded = ["margin", "children", "color", "as", "elementRef", "styles", "makeStyles", "statusLabel", "renderIcon"];
|
|
3
|
-
var _dec, _dec2, _class,
|
|
3
|
+
var _dec, _dec2, _class, _Pill;
|
|
4
4
|
/*
|
|
5
5
|
* The MIT License (MIT)
|
|
6
6
|
*
|
|
@@ -41,7 +41,7 @@ import { allowedProps, propTypes } from './props';
|
|
|
41
41
|
category: components
|
|
42
42
|
---
|
|
43
43
|
**/
|
|
44
|
-
let Pill = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (
|
|
44
|
+
let Pill = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_Pill = class Pill extends Component {
|
|
45
45
|
constructor(props) {
|
|
46
46
|
super(props);
|
|
47
47
|
this.ref = null;
|
|
@@ -131,8 +131,8 @@ let Pill = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = tes
|
|
|
131
131
|
return this.renderPill();
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
},
|
|
134
|
+
}, _Pill.displayName = "Pill", _Pill.componentId = 'Pill', _Pill.allowedProps = allowedProps, _Pill.propTypes = propTypes, _Pill.defaultProps = {
|
|
135
135
|
color: 'primary'
|
|
136
|
-
},
|
|
136
|
+
}, _Pill)) || _class) || _class);
|
|
137
137
|
export default Pill;
|
|
138
138
|
export { Pill };
|
package/lib/Pill/PillLocator.js
CHANGED
|
@@ -32,7 +32,7 @@ var _index = require("./index");
|
|
|
32
32
|
* SOFTWARE.
|
|
33
33
|
*/
|
|
34
34
|
|
|
35
|
-
// @ts-
|
|
35
|
+
// @ts-ignore: Cannot find module
|
|
36
36
|
// eslint-disable-next-line no-restricted-imports
|
|
37
37
|
|
|
38
38
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
package/lib/Pill/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var _styles = _interopRequireDefault(require("./styles"));
|
|
|
16
16
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
17
17
|
var _props = require("./props");
|
|
18
18
|
const _excluded = ["margin", "children", "color", "as", "elementRef", "styles", "makeStyles", "statusLabel", "renderIcon"];
|
|
19
|
-
var _dec, _dec2, _class,
|
|
19
|
+
var _dec, _dec2, _class, _Pill;
|
|
20
20
|
/*
|
|
21
21
|
* The MIT License (MIT)
|
|
22
22
|
*
|
|
@@ -46,7 +46,7 @@ var _dec, _dec2, _class, _class2;
|
|
|
46
46
|
category: components
|
|
47
47
|
---
|
|
48
48
|
**/
|
|
49
|
-
let Pill = exports.Pill = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (
|
|
49
|
+
let Pill = exports.Pill = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_Pill = class Pill extends _react.Component {
|
|
50
50
|
constructor(props) {
|
|
51
51
|
super(props);
|
|
52
52
|
this.ref = null;
|
|
@@ -136,7 +136,7 @@ let Pill = exports.Pill = (_dec = (0, _emotion.withStyle)(_styles.default, _them
|
|
|
136
136
|
return this.renderPill();
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
},
|
|
139
|
+
}, _Pill.displayName = "Pill", _Pill.componentId = 'Pill', _Pill.allowedProps = _props.allowedProps, _Pill.propTypes = _props.propTypes, _Pill.defaultProps = {
|
|
140
140
|
color: 'primary'
|
|
141
|
-
},
|
|
141
|
+
}, _Pill)) || _class) || _class);
|
|
142
142
|
var _default = exports.default = Pill;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pill",
|
|
3
|
-
"version": "9.0.2-snapshot-
|
|
3
|
+
"version": "9.0.2-snapshot-4",
|
|
4
4
|
"description": "A UI component to communicate concise status.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.
|
|
27
|
-
"@instructure/console": "9.0.2-snapshot-
|
|
28
|
-
"@instructure/emotion": "9.0.2-snapshot-
|
|
29
|
-
"@instructure/shared-types": "9.0.2-snapshot-
|
|
30
|
-
"@instructure/ui-react-utils": "9.0.2-snapshot-
|
|
31
|
-
"@instructure/ui-testable": "9.0.2-snapshot-
|
|
32
|
-
"@instructure/ui-tooltip": "9.0.2-snapshot-
|
|
33
|
-
"@instructure/ui-truncate-text": "9.0.2-snapshot-
|
|
34
|
-
"@instructure/ui-utils": "9.0.2-snapshot-
|
|
35
|
-
"@instructure/ui-view": "9.0.2-snapshot-
|
|
26
|
+
"@babel/runtime": "^7.24.5",
|
|
27
|
+
"@instructure/console": "9.0.2-snapshot-4",
|
|
28
|
+
"@instructure/emotion": "9.0.2-snapshot-4",
|
|
29
|
+
"@instructure/shared-types": "9.0.2-snapshot-4",
|
|
30
|
+
"@instructure/ui-react-utils": "9.0.2-snapshot-4",
|
|
31
|
+
"@instructure/ui-testable": "9.0.2-snapshot-4",
|
|
32
|
+
"@instructure/ui-tooltip": "9.0.2-snapshot-4",
|
|
33
|
+
"@instructure/ui-truncate-text": "9.0.2-snapshot-4",
|
|
34
|
+
"@instructure/ui-utils": "9.0.2-snapshot-4",
|
|
35
|
+
"@instructure/ui-view": "9.0.2-snapshot-4",
|
|
36
36
|
"prop-types": "^15.8.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@instructure/ui-axe-check": "9.0.2-snapshot-
|
|
40
|
-
"@instructure/ui-babel-preset": "9.0.2-snapshot-
|
|
41
|
-
"@instructure/ui-color-utils": "9.0.2-snapshot-
|
|
42
|
-
"@instructure/ui-icons": "9.0.2-snapshot-
|
|
43
|
-
"@instructure/ui-scripts": "9.0.2-snapshot-
|
|
44
|
-
"@instructure/ui-test-locator": "9.0.2-snapshot-
|
|
45
|
-
"@instructure/ui-test-queries": "9.0.2-snapshot-
|
|
46
|
-
"@instructure/ui-test-utils": "9.0.2-snapshot-
|
|
47
|
-
"@instructure/ui-themes": "9.0.2-snapshot-
|
|
48
|
-
"@testing-library/jest-dom": "^6.
|
|
49
|
-
"@testing-library/react": "^
|
|
39
|
+
"@instructure/ui-axe-check": "9.0.2-snapshot-4",
|
|
40
|
+
"@instructure/ui-babel-preset": "9.0.2-snapshot-4",
|
|
41
|
+
"@instructure/ui-color-utils": "9.0.2-snapshot-4",
|
|
42
|
+
"@instructure/ui-icons": "9.0.2-snapshot-4",
|
|
43
|
+
"@instructure/ui-scripts": "9.0.2-snapshot-4",
|
|
44
|
+
"@instructure/ui-test-locator": "9.0.2-snapshot-4",
|
|
45
|
+
"@instructure/ui-test-queries": "9.0.2-snapshot-4",
|
|
46
|
+
"@instructure/ui-test-utils": "9.0.2-snapshot-4",
|
|
47
|
+
"@instructure/ui-themes": "9.0.2-snapshot-4",
|
|
48
|
+
"@testing-library/jest-dom": "^6.4.5",
|
|
49
|
+
"@testing-library/react": "^15.0.7"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=16.8 <=18"
|
package/src/Pill/PillLocator.ts
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
import { locator } from '@instructure/ui-test-locator'
|
|
26
26
|
import { parseQueryArguments } from '@instructure/ui-test-queries'
|
|
27
|
-
// @ts-
|
|
27
|
+
// @ts-ignore: Cannot find module
|
|
28
28
|
// eslint-disable-next-line no-restricted-imports
|
|
29
29
|
import { TooltipLocator } from '@instructure/ui-tooltip/es/Tooltip/TooltipLocator'
|
|
30
30
|
|