@fluentui-react-native/popover 0.4.17 → 0.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # Change Log - @fluentui-react-native/popover
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0d6e9c1: chore: migrate to `oxfmt`
8
+ - ac6e7af: Ensure packages have a default export that references the typescript entrypoint and clean up build dependency ordering
9
+ - Updated dependencies [0d6e9c1]
10
+ - Updated dependencies [ac6e7af]
11
+ - @fluentui-react-native/framework@0.15.1
12
+ - @fluentui-react-native/adapters@0.14.1
13
+
14
+ ## 0.5.0
15
+
16
+ ### Minor Changes
17
+
18
+ - d7adbdd: # Migration from Beachball to Changesets
19
+
20
+ This changeset represents the migration from Beachball to Changesets for version management and consolidates all changes from 440+ beachball change files that were in the `change/` directory.
21
+
22
+ All 75 affected packages receive a minor version bump to acknowledge the accumulated changes from the beachball era.
23
+
24
+ ## What Changed
25
+
26
+ Going forward, all version management uses Changesets via `yarn changeset`. The following beachball infrastructure has been removed:
27
+
28
+ - ❌ 440+ beachball change files from `change/` directory
29
+ - ❌ `beachball` package dependency
30
+ - ❌ Beachball scripts from `package.json`
31
+ - ❌ `beachball.config.js` configuration file
32
+ - ❌ Beachball publish steps from Azure Pipelines
33
+
34
+ ## New Workflow
35
+
36
+ ✅ **Create changes**: Run `yarn changeset` to document changes
37
+ ✅ **Version bump PRs**: Automatically created by GitHub Actions
38
+ ✅ **Publishing**: Handled by Azure Pipelines using `changeset publish`
39
+ ✅ **Validation**: CI validates changesets and blocks major version bumps
40
+
41
+ For details, see `CHANGESETS_SETUP.md` and `CONTRIBUTING.md`.
42
+
43
+ ### Patch Changes
44
+
45
+ - d1d8c26: We were pinning @types/react and react-native-macos via resolutions. This fixes that which uncovered a bunch of type inconsistencies that needed to be addressed.
46
+ - Updated dependencies [d7adbdd]
47
+ - Updated dependencies [d1d8c26]
48
+ - @fluentui-react-native/adapters@0.14.0
49
+ - @fluentui-react-native/framework@0.15.0
50
+
3
51
  <!-- This log was last generated on Tue, 05 Aug 2025 18:50:41 GMT and should not be manually modified. -->
4
52
 
5
53
  <!-- Start content -->
package/lib/Popover.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import type { PopoverProps } from './Popover.types';
2
- export declare const Popover: import("@fluentui-react-native/framework").CustomizableComponent<PopoverProps, {}, import("@fluentui-react-native/framework").Theme>;
2
+ export declare const Popover: import("@fluentui-react-native/use-tokens").CustomizableComponent<PopoverProps, {}, import("@fluentui-react-native/theme-types").Theme>;
3
3
  export default Popover;
4
4
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,iBAAiB,CAAC;AAKnE,eAAO,MAAM,OAAO,sIAIA,CAAC;AAGrB,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,iBAAiB,CAAC;AAKnE,eAAO,MAAM,OAAO,yIAIA,CAAC;AAGrB,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.js","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGhF,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,gBAAgB,GAAG,cAAc,CAAgB,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC;AAEhF,MAAM,CAAC,MAAM,OAAO,GAAG,YAAY,CAA8B,CAAC,MAAoB,EAAE,UAAoC,EAAE,EAAE;IAC9H,OAAO,GAAG,EAAE;QACV,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC,EAAE,gBAAgB,CAAC,CAAC;AACrB,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;AAElC,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Popover.js","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGhF,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,gBAAgB,GAAG,cAAc,CAAgB,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC;AAEhF,MAAM,CAAC,MAAM,OAAO,GAAG,YAAY,CAA8B,CAAC,MAAoB,EAAE,UAAoC,EAAE,EAAE,CAAC;IAC/H,OAAO,GAAG,EAAE,CAAC;QACX,OAAO,IAAI,CAAC;IAAA,CACb,CAAC;AAAA,CACH,EAAE,gBAAgB,CAAC,CAAC;AACrB,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;AAElC,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,iBAAiB,CAAC;AAKnE,eAAO,MAAM,OAAO,sIAIA,CAAC;AAGrB,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,iBAAiB,CAAC;AAKnE,eAAO,MAAM,OAAO,sIAIA,CAAC;AAGrB,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.js","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":";;;AAGA,gEAAgF;AAGhF,mDAA8C;AAE9C,MAAM,gBAAgB,GAAG,IAAA,0BAAc,EAAgB,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,2BAAW,CAAC,CAAC;AAEnE,QAAA,OAAO,GAAG,IAAA,wBAAY,EAA8B,CAAC,MAAoB,EAAE,UAAoC,EAAE,EAAE;IAC9H,OAAO,GAAG,EAAE;QACV,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC,EAAE,gBAAgB,CAAC,CAAC;AACrB,eAAO,CAAC,WAAW,GAAG,2BAAW,CAAC;AAElC,kBAAe,eAAO,CAAC"}
1
+ {"version":3,"file":"Popover.js","sourceRoot":"","sources":["../src/Popover.tsx"],"names":[],"mappings":";;;AAEA,gEAAgF;AAGhF,mDAA8C;AAE9C,MAAM,gBAAgB,GAAG,IAAA,0BAAc,EAAgB,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,2BAAW,CAAC,CAAC;AAEnE,QAAA,OAAO,GAAG,IAAA,wBAAY,EAA8B,CAAC,MAAoB,EAAE,UAAoC,EAAE,EAAE,CAAC;IAC/H,OAAO,GAAG,EAAE,CAAC;QACX,OAAO,IAAI,CAAC;IAAA,CACb,CAAC;AAAA,CACH,EAAE,gBAAgB,CAAC,CAAC;AACrB,QAAA,OAAO,CAAC,WAAW,GAAG,2BAAW,CAAC;kBAEnB,QAAA,OAAO"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Popover = void 0;
4
- var Popover_1 = require("./Popover");
4
+ const Popover_1 = require("./Popover");
5
5
  Object.defineProperty(exports, "Popover", { enumerable: true, get: function () { return Popover_1.Popover; } });
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
package/package.json CHANGED
@@ -1,94 +1,93 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/popover",
3
- "version": "0.4.17",
3
+ "version": "0.5.1",
4
4
  "description": "A cross-platform Popover component using the Fluent Design System",
5
+ "license": "MIT",
6
+ "author": "",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/microsoft/fluentui-react-native.git",
10
+ "directory": "packages/experimental/popover"
11
+ },
5
12
  "main": "lib-commonjs/index.js",
6
13
  "module": "lib/index.js",
7
- "react-native": "src/index.ts",
14
+ "types": "lib/index.d.ts",
8
15
  "exports": {
9
16
  ".": {
17
+ "types": "./lib/index.d.ts",
10
18
  "import": "./lib/index.js",
11
19
  "require": "./lib-commonjs/index.js",
12
- "types": "./lib/index.d.ts"
20
+ "default": "./src/index.ts"
13
21
  }
14
22
  },
15
- "typings": "lib/index.d.ts",
16
23
  "scripts": {
17
24
  "build": "fluentui-scripts build",
25
+ "build-cjs": "tsgo --outDir lib-commonjs",
26
+ "build-core": "tsgo --outDir lib --module esnext --moduleResolution bundler",
18
27
  "clean": "fluentui-scripts clean",
19
28
  "depcheck": "fluentui-scripts depcheck",
20
- "just": "fluentui-scripts",
21
29
  "lint": "fluentui-scripts eslint",
30
+ "lint-package": "fluentui-scripts lint-package",
31
+ "format": "fluentui-scripts format",
22
32
  "test": "fluentui-scripts jest",
23
- "update-snapshots": "fluentui-scripts jest -u",
24
- "prettier": "fluentui-scripts prettier",
25
- "prettier-fix": "fluentui-scripts prettier --fix true"
26
- },
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/microsoft/fluentui-react-native.git",
30
- "directory": "packages/experimental/popover"
33
+ "update-snapshots": "fluentui-scripts jest -u"
31
34
  },
32
35
  "dependencies": {
33
- "@fluentui-react-native/adapters": "0.13.5",
34
- "@fluentui-react-native/framework": "0.14.17"
36
+ "@fluentui-react-native/adapters": "0.14.1",
37
+ "@fluentui-react-native/framework": "0.15.1"
35
38
  },
36
39
  "devDependencies": {
37
40
  "@babel/core": "^7.20.0",
38
41
  "@fluentui-react-native/babel-config": "0.1.1",
39
- "@fluentui-react-native/eslint-config-rules": "0.1.1",
40
- "@fluentui-react-native/scripts": "0.1.1",
41
- "@react-native/babel-preset": "^0.74.0",
42
- "@react-native/metro-config": "^0.74.0",
43
- "@types/react": "~18.2.0",
44
- "react": "18.2.0",
45
- "react-native": "^0.74.0",
46
- "react-native-macos": "^0.74.0",
47
- "react-native-windows": "^0.74.0"
42
+ "@fluentui-react-native/eslint-config-rules": "0.1.2",
43
+ "@fluentui-react-native/framework-base": "0.3.1",
44
+ "@fluentui-react-native/kit-config": "0.1.2",
45
+ "@fluentui-react-native/scripts": "0.1.0",
46
+ "@react-native-community/cli": "^20.0.0",
47
+ "@react-native-community/cli-platform-android": "^20.0.0",
48
+ "@react-native-community/cli-platform-ios": "^20.0.0",
49
+ "@react-native/metro-config": "^0.81.0",
50
+ "@types/react": "~19.1.0",
51
+ "react": "19.1.0",
52
+ "react-native": "^0.81.0",
53
+ "react-native-macos": "^0.81.0",
54
+ "react-native-windows": "^0.81.0"
48
55
  },
49
56
  "peerDependencies": {
50
57
  "@office-iss/react-native-win32": "^0.74.0",
51
- "react": "18.2.0",
52
- "react-native": "^0.73.0 || ^0.74.0",
53
- "react-native-macos": "^0.73.0 || ^0.74.0",
54
- "react-native-windows": "^0.73.0 || ^0.74.0"
58
+ "@types/react": "~18.2.0 || ~19.0.0 || ~19.1.0",
59
+ "react": "18.2.0 || 19.0.0 || 19.1.0",
60
+ "react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
61
+ "react-native-macos": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
62
+ "react-native-windows": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0"
63
+ },
64
+ "peerDependenciesMeta": {
65
+ "@office-iss/react-native-win32": {
66
+ "optional": true
67
+ },
68
+ "@types/react": {
69
+ "optional": true
70
+ },
71
+ "react-native-macos": {
72
+ "optional": true
73
+ },
74
+ "react-native-windows": {
75
+ "optional": true
76
+ }
55
77
  },
56
- "author": "",
57
- "license": "MIT",
58
78
  "rnx-kit": {
59
79
  "kitType": "library",
60
80
  "alignDeps": {
61
- "presets": [
62
- "microsoft/react-native"
63
- ],
64
- "requirements": {
65
- "development": [
66
- "react-native@0.74"
67
- ],
68
- "production": [
69
- "react-native@0.73 || 0.74"
70
- ]
71
- },
72
81
  "capabilities": [
73
- "babel-preset-react-native",
74
82
  "core",
75
83
  "core-android",
76
84
  "core-ios",
77
85
  "core-macos",
78
86
  "core-windows",
79
- "react"
87
+ "react",
88
+ "tools-core"
80
89
  ]
81
- }
82
- },
83
- "peerDependenciesMeta": {
84
- "@office-iss/react-native-win32": {
85
- "optional": true
86
90
  },
87
- "react-native-macos": {
88
- "optional": true
89
- },
90
- "react-native-windows": {
91
- "optional": true
92
- }
91
+ "extends": "@fluentui-react-native/kit-config"
93
92
  }
94
- }
93
+ }
package/src/Popover.tsx CHANGED
@@ -1,5 +1,4 @@
1
- /** @jsxRuntime classic */
2
- /** @jsx withSlots */
1
+ /** @jsxImportSource @fluentui-react-native/framework-base */
3
2
  import type { UseTokens } from '@fluentui-react-native/framework';
4
3
  import { compressible, buildUseTokens } from '@fluentui-react-native/framework';
5
4