@instructure/ui-pill 11.7.4-snapshot-11 → 11.7.4-snapshot-49
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/LICENSE.md +1 -0
- package/es/Pill/v1/index.js +5 -4
- package/es/Pill/v2/index.js +4 -3
- package/es/exports/a.js +2 -1
- package/es/exports/b.js +2 -1
- package/lib/Pill/v1/index.js +4 -4
- package/lib/Pill/v2/index.js +3 -3
- package/lib/exports/a.js +2 -2
- package/lib/exports/b.js +2 -2
- package/package.json +15 -15
- package/src/Pill/v1/index.tsx +4 -3
- package/src/Pill/v2/index.tsx +3 -2
- package/src/exports/a.ts +1 -1
- package/src/exports/b.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Pill/v1/index.d.ts +1 -0
- package/types/Pill/v1/index.d.ts.map +1 -1
- package/types/Pill/v2/index.d.ts +1 -0
- package/types/Pill/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +1 -1
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +1 -1
- package/types/exports/b.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.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-pill
|
|
9
9
|
|
package/LICENSE.md
CHANGED
package/es/Pill/v1/index.js
CHANGED
|
@@ -28,9 +28,10 @@ import { View } from '@instructure/ui-view/v11_6';
|
|
|
28
28
|
import { passthroughProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { Tooltip } from '@instructure/ui-tooltip/v11_6';
|
|
30
30
|
import { withStyle } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import generateComponentTheme from
|
|
33
|
-
import { allowedProps } from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import generateComponentTheme from './theme.js';
|
|
33
|
+
import { allowedProps } from './props.js';
|
|
34
|
+
|
|
34
35
|
/**
|
|
35
36
|
---
|
|
36
37
|
category: components
|
|
@@ -38,7 +39,7 @@ category: components
|
|
|
38
39
|
**/
|
|
39
40
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
40
41
|
let Pill = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Pill extends Component {
|
|
41
|
-
static displayName =
|
|
42
|
+
static displayName = 'Pill';
|
|
42
43
|
static componentId = 'Pill';
|
|
43
44
|
static allowedProps = allowedProps;
|
|
44
45
|
static defaultProps = {
|
package/es/Pill/v2/index.js
CHANGED
|
@@ -28,8 +28,9 @@ import { View } from '@instructure/ui-view/latest';
|
|
|
28
28
|
import { passthroughProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { Tooltip } from '@instructure/ui-tooltip/latest';
|
|
30
30
|
import { withStyleNew } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import { allowedProps } from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
|
+
|
|
33
34
|
/**
|
|
34
35
|
---
|
|
35
36
|
category: components
|
|
@@ -37,7 +38,7 @@ category: components
|
|
|
37
38
|
**/
|
|
38
39
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
39
40
|
let Pill = (_dec = withStyleNew(generateStyle), _dec(_class = class Pill extends Component {
|
|
40
|
-
static displayName =
|
|
41
|
+
static displayName = 'Pill';
|
|
41
42
|
static componentId = 'Pill';
|
|
42
43
|
static allowedProps = allowedProps;
|
|
43
44
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
package/es/exports/b.js
CHANGED
package/lib/Pill/v1/index.js
CHANGED
|
@@ -10,9 +10,9 @@ var _v11_ = require("@instructure/ui-view/v11_6");
|
|
|
10
10
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
11
11
|
var _v11_2 = require("@instructure/ui-tooltip/v11_6");
|
|
12
12
|
var _emotion = require("@instructure/emotion");
|
|
13
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
14
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
15
|
-
var _props = require("./props");
|
|
13
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
14
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
15
|
+
var _props = require("./props.js");
|
|
16
16
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
17
17
|
var _dec, _class;
|
|
18
18
|
/*
|
|
@@ -44,7 +44,7 @@ category: components
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let Pill = exports.Pill = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Pill extends _react.Component {
|
|
47
|
-
static displayName =
|
|
47
|
+
static displayName = 'Pill';
|
|
48
48
|
static componentId = 'Pill';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
50
50
|
static defaultProps = {
|
package/lib/Pill/v2/index.js
CHANGED
|
@@ -10,8 +10,8 @@ var _latest = require("@instructure/ui-view/latest");
|
|
|
10
10
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
11
11
|
var _latest2 = require("@instructure/ui-tooltip/latest");
|
|
12
12
|
var _emotion = require("@instructure/emotion");
|
|
13
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
14
|
-
var _props = require("./props");
|
|
13
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
14
|
+
var _props = require("./props.js");
|
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
16
16
|
var _dec, _class;
|
|
17
17
|
/*
|
|
@@ -43,7 +43,7 @@ category: components
|
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
45
|
let Pill = exports.Pill = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Pill extends _react.Component {
|
|
46
|
-
static displayName =
|
|
46
|
+
static displayName = 'Pill';
|
|
47
47
|
static componentId = 'Pill';
|
|
48
48
|
static allowedProps = _props.allowedProps;
|
|
49
49
|
static defaultProps = {
|
package/lib/exports/a.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Pill", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.Pill;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _index = require("../Pill/v1/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Pill", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.Pill;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _index = require("../Pill/v2/index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pill",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-49",
|
|
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,25 +15,25 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/console": "11.7.4-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.4-snapshot-
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/ui-themes": "11.7.4-snapshot-
|
|
23
|
-
"@instructure/ui-tooltip": "11.7.4-snapshot-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
18
|
+
"@instructure/console": "11.7.4-snapshot-49",
|
|
19
|
+
"@instructure/emotion": "11.7.4-snapshot-49",
|
|
20
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-49",
|
|
21
|
+
"@instructure/shared-types": "11.7.4-snapshot-49",
|
|
22
|
+
"@instructure/ui-themes": "11.7.4-snapshot-49",
|
|
23
|
+
"@instructure/ui-tooltip": "11.7.4-snapshot-49",
|
|
24
|
+
"@instructure/ui-truncate-text": "11.7.4-snapshot-49",
|
|
25
|
+
"@instructure/ui-view": "11.7.4-snapshot-49",
|
|
26
|
+
"@instructure/ui-utils": "11.7.4-snapshot-49"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@testing-library/jest-dom": "^6.6.3",
|
|
30
30
|
"@testing-library/react": "15.0.7",
|
|
31
31
|
"vitest": "^3.2.2",
|
|
32
|
-
"@instructure/ui-axe-check": "11.7.4-snapshot-
|
|
33
|
-
"@instructure/ui-
|
|
34
|
-
"@instructure/ui-
|
|
35
|
-
"@instructure/ui-
|
|
36
|
-
"@instructure/ui-
|
|
32
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-49",
|
|
33
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-49",
|
|
34
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-49",
|
|
35
|
+
"@instructure/ui-icons": "11.7.4-snapshot-49",
|
|
36
|
+
"@instructure/ui-scripts": "11.7.4-snapshot-49"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=18 <=19"
|
package/src/Pill/v1/index.tsx
CHANGED
|
@@ -31,11 +31,11 @@ import type { TooltipRenderChildrenArgs } from '@instructure/ui-tooltip/v11_6'
|
|
|
31
31
|
|
|
32
32
|
import { withStyle } from '@instructure/emotion'
|
|
33
33
|
|
|
34
|
-
import generateStyle from './styles'
|
|
35
|
-
import generateComponentTheme from './theme'
|
|
34
|
+
import generateStyle from './styles.js'
|
|
35
|
+
import generateComponentTheme from './theme.js'
|
|
36
36
|
|
|
37
37
|
import type { PillProps, PillState } from './props'
|
|
38
|
-
import { allowedProps } from './props'
|
|
38
|
+
import { allowedProps } from './props.js'
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
---
|
|
@@ -44,6 +44,7 @@ category: components
|
|
|
44
44
|
**/
|
|
45
45
|
@withStyle(generateStyle, generateComponentTheme)
|
|
46
46
|
class Pill extends Component<PillProps, PillState> {
|
|
47
|
+
static displayName = 'Pill'
|
|
47
48
|
static readonly componentId = 'Pill'
|
|
48
49
|
|
|
49
50
|
static allowedProps = allowedProps
|
package/src/Pill/v2/index.tsx
CHANGED
|
@@ -31,10 +31,10 @@ import type { TooltipRenderChildrenArgs } from '@instructure/ui-tooltip/latest'
|
|
|
31
31
|
|
|
32
32
|
import { withStyleNew } from '@instructure/emotion'
|
|
33
33
|
|
|
34
|
-
import generateStyle from './styles'
|
|
34
|
+
import generateStyle from './styles.js'
|
|
35
35
|
|
|
36
36
|
import type { PillProps, PillState } from './props'
|
|
37
|
-
import { allowedProps } from './props'
|
|
37
|
+
import { allowedProps } from './props.js'
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
---
|
|
@@ -44,6 +44,7 @@ category: components
|
|
|
44
44
|
|
|
45
45
|
@withStyleNew(generateStyle)
|
|
46
46
|
class Pill extends Component<PillProps, PillState> {
|
|
47
|
+
static displayName = 'Pill'
|
|
47
48
|
static readonly componentId = 'Pill'
|
|
48
49
|
|
|
49
50
|
static allowedProps = allowedProps
|
package/src/exports/a.ts
CHANGED
package/src/exports/b.ts
CHANGED