@primer/behaviors 1.1.0-rc.e605114 → 1.1.1

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/package.json CHANGED
@@ -1,22 +1,24 @@
1
1
  {
2
2
  "name": "@primer/behaviors",
3
- "version": "1.1.0-rc.e605114",
3
+ "version": "1.1.1",
4
4
  "description": "Shared behaviors for JavaScript components",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "exports": {
8
8
  ".": {
9
- "types": "./dist/index.d.ts",
9
+ "module": "./dist/esm/index.js",
10
+ "import": "./dist/esm/index.js",
10
11
  "require": "./dist/cjs/index.js",
11
- "module": "./dist/esm/index.js"
12
+ "types": "./dist/esm/index.d.ts"
12
13
  },
13
14
  "./utils": {
14
- "types": "./dist/utils/index.d.ts",
15
+ "module": "./dist/esm/utils/index.js",
16
+ "import": "./dist/esm/utils/index.js",
15
17
  "require": "./dist/cjs/utils/index.js",
16
- "module": "./dist/esm/utils/index.js"
18
+ "types": "./dist/esm/utils/index.d.ts"
17
19
  }
18
20
  },
19
- "types": "dist/cjs/index.d.ts",
21
+ "types": "dist/esm/index.d.ts",
20
22
  "files": [
21
23
  "dist",
22
24
  "utils"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@primer/behaviors/utils",
3
3
  "types": "../dist/esm/utils/index.d.ts",
4
- "main": "../dist/esm/utils/index.js",
5
- "type": "module",
4
+ "main": "../dist/cjs/utils/index.js",
5
+ "module": "../dist/esm/utils/index.js",
6
6
  "sideEffects": false
7
7
  }
package/CHANGELOG.md DELETED
@@ -1,27 +0,0 @@
1
- # @primer/behaviors
2
-
3
- ## 1.1.0
4
-
5
- ### Minor Changes
6
-
7
- - [#52](https://github.com/primer/behaviors/pull/52) [`1aa3027`](https://github.com/primer/behaviors/commit/1aa302782e3c833f9d9c27f602a046e81f05c3e5) Thanks [@owenniblock](https://github.com/owenniblock)! - Update focusTrap to use new methodology after accessibility discussions
8
-
9
- ## 1.0.3
10
-
11
- ### Patch Changes
12
-
13
- - [#42](https://github.com/primer/behaviors/pull/42) [`41945a3`](https://github.com/primer/behaviors/commit/41945a37ef07da82ce5a29feb03d7a7d96ec76ea) Thanks [@dgreif](https://github.com/dgreif)! - Build both esm and cjs output for the package
14
-
15
- ## 1.0.2
16
-
17
- ### Patch Changes
18
-
19
- - [#17](https://github.com/primer/behaviors/pull/17) [`9194ba4`](https://github.com/primer/behaviors/commit/9194ba403502b4acba0be03bed1a765c1ba81340) Thanks [@dgreif](https://github.com/dgreif)! - Correct margin orientation for `scrollIntoView`
20
-
21
- * [#18](https://github.com/primer/behaviors/pull/18) [`3b4dd41`](https://github.com/primer/behaviors/commit/3b4dd414175417f83bd144939fe74b2a01bc7136) Thanks [@dgreif](https://github.com/dgreif)! - Export utils as submodule
22
-
23
- ## 1.0.1
24
-
25
- ### Patch Changes
26
-
27
- - [#10](https://github.com/primer/behaviors/pull/10) [`88b6f34`](https://github.com/primer/behaviors/commit/88b6f34bf4874f3c81473020a01a58b197dd6e16) Thanks [@dgreif](https://github.com/dgreif)! - Set up changesets