@instructure/ui-pill 11.7.11-snapshot-24 → 11.7.11-snapshot-26
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/v1/index.js +3 -3
- package/es/Pill/v2/index.js +3 -3
- package/lib/Pill/v1/index.js +6 -4
- package/lib/Pill/v2/index.js +7 -4
- package/package.json +15 -15
- package/src/Pill/v1/index.tsx +4 -2
- package/src/Pill/v2/index.tsx +8 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Pill/v1/index.d.ts +3 -1
- package/types/Pill/v1/index.d.ts.map +1 -1
- package/types/Pill/v2/index.d.ts +3 -1
- package/types/Pill/v2/index.d.ts.map +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
|
-
## [11.7.11-snapshot-
|
|
6
|
+
## [11.7.11-snapshot-26](https://github.com/instructure/instructure-ui/compare/v11.7.10...v11.7.11-snapshot-26) (2026-11-23)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-pill
|
|
9
9
|
|
package/es/Pill/v1/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -38,7 +37,7 @@ category: components
|
|
|
38
37
|
---
|
|
39
38
|
**/
|
|
40
39
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
41
|
-
|
|
40
|
+
export class PillBase extends Component {
|
|
42
41
|
static displayName = 'Pill';
|
|
43
42
|
static componentId = 'Pill';
|
|
44
43
|
static allowedProps = allowedProps;
|
|
@@ -143,6 +142,7 @@ let Pill = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class
|
|
|
143
142
|
return this.renderPill();
|
|
144
143
|
}
|
|
145
144
|
}
|
|
146
|
-
}
|
|
145
|
+
}
|
|
146
|
+
const Pill = withStyle(generateStyle, generateComponentTheme)(PillBase);
|
|
147
147
|
export default Pill;
|
|
148
148
|
export { Pill };
|
package/es/Pill/v2/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -38,7 +37,7 @@ category: components
|
|
|
38
37
|
---
|
|
39
38
|
**/
|
|
40
39
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
41
|
-
|
|
40
|
+
export class PillBase extends Component {
|
|
42
41
|
static displayName = 'Pill';
|
|
43
42
|
static componentId = 'Pill';
|
|
44
43
|
static allowedProps = allowedProps;
|
|
@@ -143,6 +142,7 @@ let Pill = (_dec = withStyleNew(generateStyle, null, frozenThemesDesignTokensV1)
|
|
|
143
142
|
return this.renderPill();
|
|
144
143
|
}
|
|
145
144
|
}
|
|
146
|
-
}
|
|
145
|
+
}
|
|
146
|
+
const Pill = withStyleNew(generateStyle, null, frozenThemesDesignTokensV1)(PillBase);
|
|
147
147
|
export default Pill;
|
|
148
148
|
export { Pill };
|
package/lib/Pill/v1/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.Pill = void 0;
|
|
7
|
+
exports.default = exports.PillBase = exports.Pill = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
10
10
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
@@ -14,7 +14,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
14
14
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
15
15
|
var _props = require("./props.js");
|
|
16
16
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
17
|
-
var _dec, _class;
|
|
18
17
|
/*
|
|
19
18
|
* The MIT License (MIT)
|
|
20
19
|
*
|
|
@@ -38,12 +37,13 @@ var _dec, _class;
|
|
|
38
37
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
39
38
|
* SOFTWARE.
|
|
40
39
|
*/
|
|
40
|
+
|
|
41
41
|
/**
|
|
42
42
|
---
|
|
43
43
|
category: components
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
|
-
|
|
46
|
+
class PillBase extends _react.Component {
|
|
47
47
|
static displayName = 'Pill';
|
|
48
48
|
static componentId = 'Pill';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
@@ -148,5 +148,7 @@ let Pill = exports.Pill = (_dec = (0, _emotion.withStyle)(_styles.default, _them
|
|
|
148
148
|
return this.renderPill();
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
}
|
|
151
|
+
}
|
|
152
|
+
exports.PillBase = PillBase;
|
|
153
|
+
const Pill = exports.Pill = (0, _emotion.withStyle)(_styles.default, _theme.default)(PillBase);
|
|
152
154
|
var _default = exports.default = Pill;
|
package/lib/Pill/v2/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.Pill = void 0;
|
|
7
|
+
exports.default = exports.PillBase = exports.Pill = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _latest = require("@instructure/ui-view/latest");
|
|
10
10
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
@@ -14,7 +14,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
14
14
|
var _props = require("./props.js");
|
|
15
15
|
var _uiThemes = require("@instructure/ui-themes");
|
|
16
16
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
17
|
-
var _dec, _class;
|
|
18
17
|
/*
|
|
19
18
|
* The MIT License (MIT)
|
|
20
19
|
*
|
|
@@ -38,12 +37,14 @@ var _dec, _class;
|
|
|
38
37
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
39
38
|
* SOFTWARE.
|
|
40
39
|
*/
|
|
40
|
+
|
|
41
41
|
/**
|
|
42
42
|
---
|
|
43
43
|
category: components
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
|
-
|
|
46
|
+
|
|
47
|
+
class PillBase extends _react.Component {
|
|
47
48
|
static displayName = 'Pill';
|
|
48
49
|
static componentId = 'Pill';
|
|
49
50
|
static allowedProps = _props.allowedProps;
|
|
@@ -148,5 +149,7 @@ let Pill = exports.Pill = (_dec = (0, _emotion.withStyleNew)(_styles.default, nu
|
|
|
148
149
|
return this.renderPill();
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
|
-
}
|
|
152
|
+
}
|
|
153
|
+
exports.PillBase = PillBase;
|
|
154
|
+
const Pill = exports.Pill = (0, _emotion.withStyleNew)(_styles.default, null, _uiThemes.frozenThemesDesignTokensV1)(PillBase);
|
|
152
155
|
var _default = exports.default = Pill;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pill",
|
|
3
|
-
"version": "11.7.11-snapshot-
|
|
3
|
+
"version": "11.7.11-snapshot-26",
|
|
4
4
|
"description": "A UI component to communicate concise status.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/Pill/11_5/index.js",
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.7",
|
|
18
|
-
"@instructure/console": "11.7.11-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.11-snapshot-
|
|
20
|
-
"@instructure/shared-types": "11.7.11-snapshot-
|
|
21
|
-
"@instructure/ui-react-utils": "11.7.11-snapshot-
|
|
22
|
-
"@instructure/ui-themes": "11.7.11-snapshot-
|
|
23
|
-
"@instructure/ui-tooltip": "11.7.11-snapshot-
|
|
24
|
-
"@instructure/ui-truncate-text": "11.7.11-snapshot-
|
|
25
|
-
"@instructure/ui-utils": "11.7.11-snapshot-
|
|
26
|
-
"@instructure/ui-view": "11.7.11-snapshot-
|
|
18
|
+
"@instructure/console": "11.7.11-snapshot-26",
|
|
19
|
+
"@instructure/emotion": "11.7.11-snapshot-26",
|
|
20
|
+
"@instructure/shared-types": "11.7.11-snapshot-26",
|
|
21
|
+
"@instructure/ui-react-utils": "11.7.11-snapshot-26",
|
|
22
|
+
"@instructure/ui-themes": "11.7.11-snapshot-26",
|
|
23
|
+
"@instructure/ui-tooltip": "11.7.11-snapshot-26",
|
|
24
|
+
"@instructure/ui-truncate-text": "11.7.11-snapshot-26",
|
|
25
|
+
"@instructure/ui-utils": "11.7.11-snapshot-26",
|
|
26
|
+
"@instructure/ui-view": "11.7.11-snapshot-26"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@instructure/ui-axe-check": "11.7.11-snapshot-
|
|
30
|
-
"@instructure/ui-babel-preset": "11.7.11-snapshot-
|
|
31
|
-
"@instructure/ui-color-utils": "11.7.11-snapshot-
|
|
32
|
-
"@instructure/ui-icons": "11.7.11-snapshot-
|
|
33
|
-
"@instructure/ui-scripts": "11.7.11-snapshot-
|
|
29
|
+
"@instructure/ui-axe-check": "11.7.11-snapshot-26",
|
|
30
|
+
"@instructure/ui-babel-preset": "11.7.11-snapshot-26",
|
|
31
|
+
"@instructure/ui-color-utils": "11.7.11-snapshot-26",
|
|
32
|
+
"@instructure/ui-icons": "11.7.11-snapshot-26",
|
|
33
|
+
"@instructure/ui-scripts": "11.7.11-snapshot-26",
|
|
34
34
|
"vitest": "^5.0.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
package/src/Pill/v1/index.tsx
CHANGED
|
@@ -42,8 +42,7 @@ import { allowedProps } from './props.js'
|
|
|
42
42
|
category: components
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
|
-
|
|
46
|
-
class Pill extends Component<PillProps, PillState> {
|
|
45
|
+
export class PillBase extends Component<PillProps, PillState> {
|
|
47
46
|
static displayName = 'Pill'
|
|
48
47
|
static readonly componentId = 'Pill'
|
|
49
48
|
|
|
@@ -179,5 +178,8 @@ class Pill extends Component<PillProps, PillState> {
|
|
|
179
178
|
}
|
|
180
179
|
}
|
|
181
180
|
|
|
181
|
+
const Pill = withStyle(generateStyle, generateComponentTheme)(PillBase)
|
|
182
|
+
type Pill = PillBase
|
|
183
|
+
|
|
182
184
|
export default Pill
|
|
183
185
|
export { Pill }
|
package/src/Pill/v2/index.tsx
CHANGED
|
@@ -43,8 +43,7 @@ category: components
|
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
class Pill extends Component<PillProps, PillState> {
|
|
46
|
+
export class PillBase extends Component<PillProps, PillState> {
|
|
48
47
|
static displayName = 'Pill'
|
|
49
48
|
static readonly componentId = 'Pill'
|
|
50
49
|
|
|
@@ -180,6 +179,13 @@ class Pill extends Component<PillProps, PillState> {
|
|
|
180
179
|
}
|
|
181
180
|
}
|
|
182
181
|
|
|
182
|
+
const Pill = withStyleNew(
|
|
183
|
+
generateStyle,
|
|
184
|
+
null,
|
|
185
|
+
frozenThemesDesignTokensV1
|
|
186
|
+
)(PillBase)
|
|
187
|
+
type Pill = PillBase
|
|
188
|
+
|
|
183
189
|
export default Pill
|
|
184
190
|
export { Pill }
|
|
185
191
|
export type { PillProps }
|