@fluentui-react-native/popover 0.4.17 → 0.5.0

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,42 @@
1
1
  # Change Log - @fluentui-react-native/popover
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d7adbdd: # Migration from Beachball to Changesets
8
+
9
+ 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.
10
+
11
+ All 75 affected packages receive a minor version bump to acknowledge the accumulated changes from the beachball era.
12
+
13
+ ## What Changed
14
+
15
+ Going forward, all version management uses Changesets via `yarn changeset`. The following beachball infrastructure has been removed:
16
+
17
+ - ❌ 440+ beachball change files from `change/` directory
18
+ - ❌ `beachball` package dependency
19
+ - ❌ Beachball scripts from `package.json`
20
+ - ❌ `beachball.config.js` configuration file
21
+ - ❌ Beachball publish steps from Azure Pipelines
22
+
23
+ ## New Workflow
24
+
25
+ ✅ **Create changes**: Run `yarn changeset` to document changes
26
+ ✅ **Version bump PRs**: Automatically created by GitHub Actions
27
+ ✅ **Publishing**: Handled by Azure Pipelines using `changeset publish`
28
+ ✅ **Validation**: CI validates changesets and blocks major version bumps
29
+
30
+ For details, see `CHANGESETS_SETUP.md` and `CONTRIBUTING.md`.
31
+
32
+ ### Patch Changes
33
+
34
+ - 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.
35
+ - Updated dependencies [d7adbdd]
36
+ - Updated dependencies [d1d8c26]
37
+ - @fluentui-react-native/adapters@0.14.0
38
+ - @fluentui-react-native/framework@0.15.0
39
+
3
40
  <!-- This log was last generated on Tue, 05 Aug 2025 18:50:41 GMT and should not be manually modified. -->
4
41
 
5
42
  <!-- Start content -->
package/lib/Popover.d.ts CHANGED
@@ -1,4 +1,8 @@
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<
3
+ PopoverProps,
4
+ {},
5
+ import('@fluentui-react-native/theme-types').Theme
6
+ >;
3
7
  export default Popover;
4
- //# sourceMappingURL=Popover.d.ts.map
8
+ //# 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"}
package/lib/Popover.js CHANGED
@@ -2,10 +2,10 @@ import { compressible, buildUseTokens } from '@fluentui-react-native/framework';
2
2
  import { popoverName } from './Popover.types';
3
3
  const usePopoverTokens = buildUseTokens(() => ({}), popoverName);
4
4
  export const Popover = compressible((_props, _useTokens) => {
5
- return () => {
6
- return null;
7
- };
5
+ return () => {
6
+ return null;
7
+ };
8
8
  }, usePopoverTokens);
9
9
  Popover.displayName = popoverName;
10
10
  export default Popover;
11
- //# sourceMappingURL=Popover.js.map
11
+ //# sourceMappingURL=Popover.js.map
@@ -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,15 +1,15 @@
1
1
  import type { IViewProps } from '@fluentui-react-native/adapters';
2
- export declare const popoverName = "Popover";
2
+ export declare const popoverName = 'Popover';
3
3
  type EmptyInterface = {};
4
4
  export type PopoverTokens = EmptyInterface;
5
5
  export type PopoverProps = Omit<IViewProps, 'onPress'>;
6
6
  export type PopoverState = EmptyInterface;
7
7
  export type PopoverSlotProps = EmptyInterface;
8
8
  export type PopoverType = {
9
- props: PopoverProps;
10
- tokens: PopoverTokens;
11
- slotProps: PopoverSlotProps;
12
- state: PopoverState;
9
+ props: PopoverProps;
10
+ tokens: PopoverTokens;
11
+ slotProps: PopoverSlotProps;
12
+ state: PopoverState;
13
13
  };
14
14
  export {};
15
- //# sourceMappingURL=Popover.types.d.ts.map
15
+ //# sourceMappingURL=Popover.types.d.ts.map
@@ -1,2 +1,2 @@
1
1
  export const popoverName = 'Popover';
2
- //# sourceMappingURL=Popover.types.js.map
2
+ //# sourceMappingURL=Popover.types.js.map
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export { Popover } from './Popover';
2
- //# sourceMappingURL=index.d.ts.map
2
+ //# sourceMappingURL=index.d.ts.map
package/lib/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  export { Popover } from './Popover';
2
- //# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,8 @@
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/framework').CustomizableComponent<
3
+ PopoverProps,
4
+ {},
5
+ import('@fluentui-react-native/framework').Theme
6
+ >;
3
7
  export default Popover;
4
- //# sourceMappingURL=Popover.d.ts.map
8
+ //# 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,sIAIA,CAAC;AAGrB,eAAe,OAAO,CAAC"}
@@ -1,14 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  exports.Popover = void 0;
4
- const framework_1 = require("@fluentui-react-native/framework");
5
- const Popover_types_1 = require("./Popover.types");
4
+ const framework_1 = require('@fluentui-react-native/framework');
5
+ const Popover_types_1 = require('./Popover.types');
6
6
  const usePopoverTokens = (0, framework_1.buildUseTokens)(() => ({}), Popover_types_1.popoverName);
7
7
  exports.Popover = (0, framework_1.compressible)((_props, _useTokens) => {
8
- return () => {
9
- return null;
10
- };
8
+ return () => {
9
+ return null;
10
+ };
11
11
  }, usePopoverTokens);
12
12
  exports.Popover.displayName = Popover_types_1.popoverName;
13
13
  exports.default = exports.Popover;
14
- //# sourceMappingURL=Popover.js.map
14
+ //# sourceMappingURL=Popover.js.map
@@ -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,15 +1,15 @@
1
1
  import type { IViewProps } from '@fluentui-react-native/adapters';
2
- export declare const popoverName = "Popover";
2
+ export declare const popoverName = 'Popover';
3
3
  type EmptyInterface = {};
4
4
  export type PopoverTokens = EmptyInterface;
5
5
  export type PopoverProps = Omit<IViewProps, 'onPress'>;
6
6
  export type PopoverState = EmptyInterface;
7
7
  export type PopoverSlotProps = EmptyInterface;
8
8
  export type PopoverType = {
9
- props: PopoverProps;
10
- tokens: PopoverTokens;
11
- slotProps: PopoverSlotProps;
12
- state: PopoverState;
9
+ props: PopoverProps;
10
+ tokens: PopoverTokens;
11
+ slotProps: PopoverSlotProps;
12
+ state: PopoverState;
13
13
  };
14
14
  export {};
15
- //# sourceMappingURL=Popover.types.d.ts.map
15
+ //# sourceMappingURL=Popover.types.d.ts.map
@@ -1,5 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  exports.popoverName = void 0;
4
4
  exports.popoverName = 'Popover';
5
- //# sourceMappingURL=Popover.types.js.map
5
+ //# sourceMappingURL=Popover.types.js.map
@@ -1,2 +1,2 @@
1
1
  export { Popover } from './Popover';
2
- //# sourceMappingURL=index.d.ts.map
2
+ //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  exports.Popover = void 0;
4
- var Popover_1 = require("./Popover");
5
- Object.defineProperty(exports, "Popover", { enumerable: true, get: function () { return Popover_1.Popover; } });
6
- //# sourceMappingURL=index.js.map
4
+ const Popover_1 = require('./Popover');
5
+ Object.defineProperty(exports, 'Popover', {
6
+ enumerable: true,
7
+ get: function () {
8
+ return Popover_1.Popover;
9
+ },
10
+ });
11
+ //# 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,92 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/popover",
3
- "version": "0.4.17",
3
+ "version": "0.5.0",
4
4
  "description": "A cross-platform Popover component using the Fluent Design System",
5
- "main": "lib-commonjs/index.js",
6
- "module": "lib/index.js",
7
- "react-native": "src/index.ts",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/microsoft/fluentui-react-native.git",
8
+ "directory": "packages/experimental/popover"
9
+ },
10
+ "license": "MIT",
11
+ "author": "",
8
12
  "exports": {
9
13
  ".": {
14
+ "types": "./lib/index.d.ts",
10
15
  "import": "./lib/index.js",
11
- "require": "./lib-commonjs/index.js",
12
- "types": "./lib/index.d.ts"
16
+ "require": "./lib-commonjs/index.js"
13
17
  }
14
18
  },
15
- "typings": "lib/index.d.ts",
19
+ "main": "lib-commonjs/index.js",
20
+ "module": "lib/index.js",
21
+ "types": "lib/index.d.ts",
16
22
  "scripts": {
17
23
  "build": "fluentui-scripts build",
24
+ "build-cjs": "tsgo --outDir lib-commonjs",
25
+ "build-esm": "tsgo --outDir lib --module esnext --moduleResolution bundler",
18
26
  "clean": "fluentui-scripts clean",
19
27
  "depcheck": "fluentui-scripts depcheck",
20
- "just": "fluentui-scripts",
21
28
  "lint": "fluentui-scripts eslint",
22
- "test": "fluentui-scripts jest",
23
- "update-snapshots": "fluentui-scripts jest -u",
29
+ "lint-package": "fluentui-scripts lint-package",
24
30
  "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"
31
+ "test": "fluentui-scripts jest",
32
+ "update-snapshots": "fluentui-scripts jest -u"
31
33
  },
32
34
  "dependencies": {
33
- "@fluentui-react-native/adapters": "0.13.5",
34
- "@fluentui-react-native/framework": "0.14.17"
35
+ "@fluentui-react-native/adapters": "0.14.0",
36
+ "@fluentui-react-native/framework": "0.15.0"
35
37
  },
36
38
  "devDependencies": {
37
39
  "@babel/core": "^7.20.0",
38
40
  "@fluentui-react-native/babel-config": "0.1.1",
39
41
  "@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/framework-base": "0.3.0",
43
+ "@fluentui-react-native/kit-config": "0.1.2",
44
+ "@fluentui-react-native/scripts": "0.1.2",
45
+ "@react-native-community/cli": "^20.0.0",
46
+ "@react-native-community/cli-platform-android": "^20.0.0",
47
+ "@react-native-community/cli-platform-ios": "^20.0.0",
48
+ "@react-native/metro-config": "^0.81.0",
49
+ "@types/react": "~19.1.0",
50
+ "react": "19.1.0",
51
+ "react-native": "^0.81.0",
52
+ "react-native-macos": "^0.81.0",
53
+ "react-native-windows": "^0.81.0"
48
54
  },
49
55
  "peerDependencies": {
50
56
  "@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"
57
+ "@types/react": "~18.2.0 || ~19.0.0 || ~19.1.0",
58
+ "react": "18.2.0 || 19.0.0 || 19.1.0",
59
+ "react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
60
+ "react-native-macos": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
61
+ "react-native-windows": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0"
62
+ },
63
+ "peerDependenciesMeta": {
64
+ "@office-iss/react-native-win32": {
65
+ "optional": true
66
+ },
67
+ "@types/react": {
68
+ "optional": true
69
+ },
70
+ "react-native-macos": {
71
+ "optional": true
72
+ },
73
+ "react-native-windows": {
74
+ "optional": true
75
+ }
55
76
  },
56
- "author": "",
57
- "license": "MIT",
58
77
  "rnx-kit": {
59
78
  "kitType": "library",
60
79
  "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
80
  "capabilities": [
73
- "babel-preset-react-native",
74
81
  "core",
75
82
  "core-android",
76
83
  "core-ios",
77
84
  "core-macos",
78
85
  "core-windows",
79
- "react"
86
+ "react",
87
+ "tools-core"
80
88
  ]
81
- }
82
- },
83
- "peerDependenciesMeta": {
84
- "@office-iss/react-native-win32": {
85
- "optional": true
86
89
  },
87
- "react-native-macos": {
88
- "optional": true
89
- },
90
- "react-native-windows": {
91
- "optional": true
92
- }
90
+ "extends": "@fluentui-react-native/kit-config"
93
91
  }
94
- }
92
+ }
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