@instructure/ui-pill 11.7.3 → 11.7.4-pr-snapshot-1781695314229

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 CHANGED
@@ -3,6 +3,14 @@
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-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-pill
9
+
10
+
11
+
12
+
13
+
6
14
  ## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
7
15
 
8
16
 
package/LICENSE.md CHANGED
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -1,9 +1,3 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.allowedProps = void 0;
7
1
  /*
8
2
  * The MIT License (MIT)
9
3
  *
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
28
22
  * SOFTWARE.
29
23
  */
30
24
 
31
- const allowedProps = exports.allowedProps = ['as', 'children', 'color', 'elementRef', 'margin'];
25
+ module.exports = {
26
+ presets: [
27
+ [
28
+ require('@instructure/ui-babel-preset'),
29
+ {
30
+ esModules: Boolean(process.env.ES_MODULES),
31
+ removeConsole: process.env.NODE_ENV === 'production',
32
+ transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
33
+ }
34
+ ]
35
+ ]
36
+ }
@@ -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 "./styles.js";
32
- import generateComponentTheme from "./theme.js";
33
- import { allowedProps } from "./props.js";
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 = "Pill";
42
+ static displayName = 'Pill';
42
43
  static componentId = 'Pill';
43
44
  static allowedProps = allowedProps;
44
45
  static defaultProps = {
@@ -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 "./styles.js";
32
- import { allowedProps } from "./props.js";
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 = "Pill";
41
+ static displayName = 'Pill';
41
42
  static componentId = 'Pill';
42
43
  static allowedProps = allowedProps;
43
44
  static defaultProps = {
package/es/exports/a.js CHANGED
@@ -21,4 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Pill } from "../Pill/v1/index.js";
24
+
25
+ export { Pill } from '../Pill/v1/index.js';
package/es/exports/b.js CHANGED
@@ -21,4 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Pill } from "../Pill/v2/index.js";
24
+
25
+ export { Pill } from '../Pill/v2/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-pill",
3
- "version": "11.7.3",
3
+ "version": "11.7.4-pr-snapshot-1781695314229",
4
+ "type": "module",
4
5
  "description": "A UI component to communicate concise status.",
5
6
  "author": "Instructure, Inc. Engineering and Product Design",
6
7
  "module": "./es/Pill/11_5/index.js",
7
- "main": "./lib/Pill/11_5/index.js",
8
8
  "types": "./types/Pill/11_5/index.d.ts",
9
9
  "repository": {
10
10
  "type": "git",
@@ -15,25 +15,25 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/emotion": "11.7.3",
19
- "@instructure/shared-types": "11.7.3",
20
- "@instructure/console": "11.7.3",
21
- "@instructure/ui-react-utils": "11.7.3",
22
- "@instructure/ui-themes": "11.7.3",
23
- "@instructure/ui-tooltip": "11.7.3",
24
- "@instructure/ui-truncate-text": "11.7.3",
25
- "@instructure/ui-utils": "11.7.3",
26
- "@instructure/ui-view": "11.7.3"
18
+ "@instructure/console": "11.7.4-pr-snapshot-1781695314229",
19
+ "@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
20
+ "@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
21
+ "@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
22
+ "@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
23
+ "@instructure/ui-tooltip": "11.7.4-pr-snapshot-1781695314229",
24
+ "@instructure/ui-truncate-text": "11.7.4-pr-snapshot-1781695314229",
25
+ "@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229",
26
+ "@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229"
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.3",
33
- "@instructure/ui-color-utils": "11.7.3",
34
- "@instructure/ui-scripts": "11.7.3",
35
- "@instructure/ui-icons": "11.7.3",
36
- "@instructure/ui-babel-preset": "11.7.3"
32
+ "@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229",
33
+ "@instructure/ui-color-utils": "11.7.4-pr-snapshot-1781695314229",
34
+ "@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
35
+ "@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229",
36
+ "@instructure/ui-scripts": "11.7.4-pr-snapshot-1781695314229"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": ">=18 <=19"
@@ -43,7 +43,6 @@
43
43
  },
44
44
  "sideEffects": false,
45
45
  "exports": {
46
- "./lib/*": "./lib/*",
47
46
  "./es/*": "./es/*",
48
47
  "./types/*": "./types/*",
49
48
  "./package.json": "./package.json",
@@ -52,28 +51,24 @@
52
51
  "src": "./src/exports/a.ts",
53
52
  "types": "./types/exports/a.d.ts",
54
53
  "import": "./es/exports/a.js",
55
- "require": "./lib/exports/a.js",
56
54
  "default": "./es/exports/a.js"
57
55
  },
58
56
  "./v11_6": {
59
57
  "src": "./src/exports/a.ts",
60
58
  "types": "./types/exports/a.d.ts",
61
59
  "import": "./es/exports/a.js",
62
- "require": "./lib/exports/a.js",
63
60
  "default": "./es/exports/a.js"
64
61
  },
65
62
  "./v11_7": {
66
63
  "src": "./src/exports/b.ts",
67
64
  "types": "./types/exports/b.d.ts",
68
65
  "import": "./es/exports/b.js",
69
- "require": "./lib/exports/b.js",
70
66
  "default": "./es/exports/b.js"
71
67
  },
72
68
  "./latest": {
73
69
  "src": "./src/exports/b.ts",
74
70
  "types": "./types/exports/b.d.ts",
75
71
  "import": "./es/exports/b.js",
76
- "require": "./lib/exports/b.js",
77
72
  "default": "./es/exports/b.js"
78
73
  }
79
74
  },
@@ -81,7 +76,7 @@
81
76
  "lint": "ui-scripts lint",
82
77
  "lint:fix": "ui-scripts lint --fix",
83
78
  "clean": "ui-scripts clean",
84
- "build": "ui-scripts build --modules es,cjs",
79
+ "build": "ui-scripts build",
85
80
  "build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
86
81
  "build:types": "tsc -p tsconfig.build.json",
87
82
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -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
@@ -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
@@ -22,5 +22,5 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Pill } from '../Pill/v1'
25
+ export { Pill } from '../Pill/v1/index.js'
26
26
  export type { PillProps } from '../Pill/v1/props'
package/src/exports/b.ts CHANGED
@@ -22,5 +22,5 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Pill } from '../Pill/v2'
25
+ export { Pill } from '../Pill/v2/index.js'
26
26
  export type { PillProps } from '../Pill/v2/props'