@fluentui-react-native/popover 0.5.0 → 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,16 @@
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
+
3
14
  ## 0.5.0
4
15
 
5
16
  ### Minor Changes
package/lib/Popover.d.ts CHANGED
@@ -1,8 +1,4 @@
1
1
  import type { PopoverProps } from './Popover.types';
2
- export declare const Popover: import('@fluentui-react-native/use-tokens').CustomizableComponent<
3
- PopoverProps,
4
- {},
5
- import('@fluentui-react-native/theme-types').Theme
6
- >;
2
+ export declare const Popover: import("@fluentui-react-native/use-tokens").CustomizableComponent<PopoverProps, {}, import("@fluentui-react-native/theme-types").Theme>;
7
3
  export default Popover;
8
- //# sourceMappingURL=Popover.d.ts.map
4
+ //# sourceMappingURL=Popover.d.ts.map
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,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,8 +1,4 @@
1
1
  import type { PopoverProps } from './Popover.types';
2
- export declare const Popover: import('@fluentui-react-native/framework').CustomizableComponent<
3
- PopoverProps,
4
- {},
5
- import('@fluentui-react-native/framework').Theme
6
- >;
2
+ export declare const Popover: import("@fluentui-react-native/framework").CustomizableComponent<PopoverProps, {}, import("@fluentui-react-native/framework").Theme>;
7
3
  export default Popover;
8
- //# sourceMappingURL=Popover.d.ts.map
4
+ //# sourceMappingURL=Popover.d.ts.map
@@ -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,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,11 +1,6 @@
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 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
4
+ const Popover_1 = require("./Popover");
5
+ Object.defineProperty(exports, "Popover", { enumerable: true, get: function () { return Popover_1.Popover; } });
6
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,47 +1,48 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/popover",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "A cross-platform Popover component using the Fluent Design System",
5
+ "license": "MIT",
6
+ "author": "",
5
7
  "repository": {
6
8
  "type": "git",
7
9
  "url": "https://github.com/microsoft/fluentui-react-native.git",
8
10
  "directory": "packages/experimental/popover"
9
11
  },
10
- "license": "MIT",
11
- "author": "",
12
+ "main": "lib-commonjs/index.js",
13
+ "module": "lib/index.js",
14
+ "types": "lib/index.d.ts",
12
15
  "exports": {
13
16
  ".": {
14
17
  "types": "./lib/index.d.ts",
15
18
  "import": "./lib/index.js",
16
- "require": "./lib-commonjs/index.js"
19
+ "require": "./lib-commonjs/index.js",
20
+ "default": "./src/index.ts"
17
21
  }
18
22
  },
19
- "main": "lib-commonjs/index.js",
20
- "module": "lib/index.js",
21
- "types": "lib/index.d.ts",
22
23
  "scripts": {
23
24
  "build": "fluentui-scripts build",
24
25
  "build-cjs": "tsgo --outDir lib-commonjs",
25
- "build-esm": "tsgo --outDir lib --module esnext --moduleResolution bundler",
26
+ "build-core": "tsgo --outDir lib --module esnext --moduleResolution bundler",
26
27
  "clean": "fluentui-scripts clean",
27
28
  "depcheck": "fluentui-scripts depcheck",
28
29
  "lint": "fluentui-scripts eslint",
29
30
  "lint-package": "fluentui-scripts lint-package",
30
- "prettier": "fluentui-scripts prettier",
31
+ "format": "fluentui-scripts format",
31
32
  "test": "fluentui-scripts jest",
32
33
  "update-snapshots": "fluentui-scripts jest -u"
33
34
  },
34
35
  "dependencies": {
35
- "@fluentui-react-native/adapters": "0.14.0",
36
- "@fluentui-react-native/framework": "0.15.0"
36
+ "@fluentui-react-native/adapters": "0.14.1",
37
+ "@fluentui-react-native/framework": "0.15.1"
37
38
  },
38
39
  "devDependencies": {
39
40
  "@babel/core": "^7.20.0",
40
41
  "@fluentui-react-native/babel-config": "0.1.1",
41
- "@fluentui-react-native/eslint-config-rules": "0.1.1",
42
- "@fluentui-react-native/framework-base": "0.3.0",
42
+ "@fluentui-react-native/eslint-config-rules": "0.1.2",
43
+ "@fluentui-react-native/framework-base": "0.3.1",
43
44
  "@fluentui-react-native/kit-config": "0.1.2",
44
- "@fluentui-react-native/scripts": "0.1.2",
45
+ "@fluentui-react-native/scripts": "0.1.0",
45
46
  "@react-native-community/cli": "^20.0.0",
46
47
  "@react-native-community/cli-platform-android": "^20.0.0",
47
48
  "@react-native-community/cli-platform-ios": "^20.0.0",