@fluentui-react-native/experimental-expander 0.8.18 → 0.9.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,51 @@
1
1
  # Change Log - @fluentui-react-native/experimental-expander
2
2
 
3
+ ## 0.9.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
+
13
+ ## 0.9.0
14
+
15
+ ### Minor Changes
16
+
17
+ - d7adbdd: # Migration from Beachball to Changesets
18
+
19
+ 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.
20
+
21
+ All 75 affected packages receive a minor version bump to acknowledge the accumulated changes from the beachball era.
22
+
23
+ ## What Changed
24
+
25
+ Going forward, all version management uses Changesets via `yarn changeset`. The following beachball infrastructure has been removed:
26
+
27
+ - ❌ 440+ beachball change files from `change/` directory
28
+ - ❌ `beachball` package dependency
29
+ - ❌ Beachball scripts from `package.json`
30
+ - ❌ `beachball.config.js` configuration file
31
+ - ❌ Beachball publish steps from Azure Pipelines
32
+
33
+ ## New Workflow
34
+
35
+ ✅ **Create changes**: Run `yarn changeset` to document changes
36
+ ✅ **Version bump PRs**: Automatically created by GitHub Actions
37
+ ✅ **Publishing**: Handled by Azure Pipelines using `changeset publish`
38
+ ✅ **Validation**: CI validates changesets and blocks major version bumps
39
+
40
+ For details, see `CHANGESETS_SETUP.md` and `CONTRIBUTING.md`.
41
+
42
+ ### Patch Changes
43
+
44
+ - 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.
45
+ - Updated dependencies [d7adbdd]
46
+ - Updated dependencies [d1d8c26]
47
+ - @fluentui-react-native/framework@0.15.0
48
+
3
49
  <!-- This log was last generated on Tue, 05 Aug 2025 18:50:43 GMT and should not be manually modified. -->
4
50
 
5
51
  <!-- Start content -->
package/lib/Expander.d.ts CHANGED
@@ -3,8 +3,8 @@
3
3
  * Licensed under the MIT License.
4
4
  * @format
5
5
  */
6
- import type { ExpanderProps, ExpanderViewProps } from './Expander.types';
6
+ import type { ExpanderProps } from './Expander.types';
7
7
  export declare const Expander: import("@fluentui-react-native/framework").ComposableComponent<ExpanderProps, {
8
- root: ExpanderViewProps;
9
- }, import("./Expander.types").ExpanderTokens, import("@fluentui-react-native/framework").ObjectBase>;
8
+ root: import("./ExpanderNativeComponent").NativeProps;
9
+ }, import("./Expander.types").ExpanderTokens, import("@fluentui-react-native/framework-base").ObjectBase>;
10
10
  //# sourceMappingURL=Expander.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Expander.d.ts","sourceRoot":"","sources":["../src/Expander.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EAAgB,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAQvF,eAAO,MAAM,QAAQ;;oGA8BnB,CAAC"}
1
+ {"version":3,"file":"Expander.d.ts","sourceRoot":"","sources":["../src/Expander.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,KAAK,EAAgB,aAAa,EAAqB,MAAM,kBAAkB,CAAC;AAQvF,eAAO,MAAM,QAAQ;;yGA8BnB,CAAC"}
package/lib/Expander.js CHANGED
@@ -1,14 +1,14 @@
1
+ import { jsx as _jsx } from "@fluentui-react-native/framework-base/jsx-runtime";
1
2
  /**
2
3
  * Copyright (c) Microsoft Corporation.
3
4
  * Licensed under the MIT License.
4
5
  * @format
5
6
  */
6
- /** @jsxRuntime classic */
7
- /** @jsx withSlots */
7
+ /** @jsxImportSource @fluentui-react-native/framework-base */
8
8
  import * as React from 'react';
9
- import { compose, mergeProps, withSlots, buildProps } from '@fluentui-react-native/framework';
9
+ import { compose, mergeProps, buildProps } from '@fluentui-react-native/framework';
10
10
  import { expanderName } from './Expander.types';
11
- import ExpanderComponent from './ExpanderNativeComponent';
11
+ import { ExpanderComponent } from './ExpanderNativeComponent';
12
12
  function delay(ms) {
13
13
  return new Promise((resolve) => setTimeout(resolve, ms));
14
14
  }
@@ -33,7 +33,7 @@ export const Expander = compose({
33
33
  setExpandedState(true);
34
34
  userProps.onExpanding?.();
35
35
  };
36
- return (rest, ...children) => (withSlots(Root, { ...mergeProps(userProps, rest), height: expanderHeight, onCollapsing: _onCollapsing, onExpanding: _onExpanding }, children));
36
+ return (rest, ...children) => (_jsx(Root, { ...mergeProps(userProps, rest), height: expanderHeight, onCollapsing: _onCollapsing, onExpanding: _onExpanding, children: children }));
37
37
  },
38
38
  });
39
39
  //# sourceMappingURL=Expander.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Expander.js","sourceRoot":"","sources":["../src/Expander.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,0BAA0B;AAC1B,qBAAqB;AACrB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAG9F,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,iBAAiB,MAAM,2BAA2B,CAAC;AAE1D,SAAS,KAAK,CAAC,EAAU;IACvB,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,OAAO,CAAe;IAC5C,WAAW,EAAE,YAAY;IACzB,MAAM,EAAE,CAAC,EAAE,EAAE,YAAY,CAAC;IAC1B,SAAS,EAAE;QACT,IAAI,EAAE,UAAU,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,E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AAE,EAAE,CAAC;QAAA,CAC3B,CAAC;QAEF,OAAO,CAAC,IAAuB,EAAE,GAAG,QAA2B,EAAE,EAAE,CAAC,CAClE,KAAC,IAAI,OAAK,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,YAClH,QAAQ,GACJ,CACR,CAAC;IAAA,CACH;CACF,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { PropsWithChildren } from 'react';
2
2
  import type { ColorValue } from 'react-native';
3
+ import type { NativeProps } from './ExpanderNativeComponent';
3
4
  export declare const expanderName = "Expander";
4
5
  export type ExpanderProps = PropsWithChildren<{
5
6
  /**
@@ -145,7 +146,7 @@ export interface ExpanderType {
145
146
  props: ExpanderProps;
146
147
  tokens: ExpanderTokens;
147
148
  slotProps: {
148
- root: ExpanderViewProps;
149
+ root: NativeProps;
149
150
  };
150
151
  }
151
152
  //# sourceMappingURL=Expander.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Expander.types.d.ts","sourceRoot":"","sources":["../src/Expander.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,YAAY,aAAa,CAAC;AASvC,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;IAC5C;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EA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sB,CAAC,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC;;OAEG;IACH,6BAA6B,CAAC,EAAE,UAAU,CAAC;IAC3C;;OAEG;IACH,yBAAyB,CAAC,EAAE,UAAU,CAAC;CACxC;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,MAAM,CAAC;AAC5C,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC;AACxE,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAC1E,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,cAAc,CAAC;AAE/D,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,aAAa,CAAC;IACrB,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE;QACT,IAAI,EAAE,WAAW,CAAC;KACnB,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"Expander.types.js","sourceRoot":"","sources":["../src/Expander.types.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"Expander.types.js","sourceRoot":"","sources":["../src/Expander.types.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC"}
@@ -38,6 +38,6 @@ export interface NativeProps extends ViewProps {
38
38
  onCollapsing?: DirectEventHandler<null>;
39
39
  onExpanding?: DirectEventHandler<null>;
40
40
  }
41
- declare const _default: HostComponent<NativeProps>;
42
- export default _default;
41
+ export declare const ExpanderComponent: HostComponent<NativeProps>;
42
+ export default ExpanderComponent;
43
43
  //# sourceMappingURL=ExpanderNativeComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpanderNativeComponent.d.ts","sourceRoot":"","sources":["../src/ExpanderNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;G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AC9B,2BAA2B,CAAC,EAAE,UAAU,CAAC;IACzC,uBAAuB,CAAC,EAAE,UAAU,CAAC;IACrC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,yBAAyB,CAAC,EAAE,UAAU,CAAC;IACvC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,6BAA6B,CAAC,EAAE,UAAU,CAAC;IAC3C,yBAAyB,CAAC,EAAE,UAAU,CAAC;IAEvC,YAAY,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;IACxC,WAAW,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,WAAW,CAAuD,CAAC;AAEjH,eAAe,iBAAiB,CAAC"}
@@ -4,5 +4,6 @@
4
4
  * @format
5
5
  */
6
6
  import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
7
- export default codegenNativeComponent('ExpanderView');
7
+ export const ExpanderComponent = codegenNativeComponent('ExpanderView');
8
+ export default ExpanderComponent;
8
9
  //# sourceMappingURL=ExpanderNativeComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpanderNativeComponent.js","sourceRoot":"","sources":["../src/ExpanderNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;AAqC7F,eAAe,sBAAsB,CACnC,cAAc,CACe,CAAC"}
1
+ {"version":3,"file":"ExpanderNativeComponent.js","sourceRoot":"","sources":["../src/ExpanderNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,sBAAsB,MAAM,yDAAyD,CAAC;AAqC7F,MAAM,CAAC,MAAM,iBAAiB,GAA+B,sBAAsB,CAAc,cAAc,CAAC,CAAC;AAEjH,eAAe,iBAAiB,CAAC"}
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { Expander } from './Expander';
2
2
  export { expanderName } from './Expander.types';
3
- export type { ExpandDirection, ExpanderProps, ExpanderTokens, ExpanderType, ExpanderViewProps, HorizontalAlignment, VerticalAlignment } from './Expander.types';
3
+ export type { ExpandDirection, ExpanderProps, ExpanderTokens, ExpanderType, ExpanderViewProps, HorizontalAlignment, VerticalAlignment, } from './Expander.types';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EACV,eAAe,EACf,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,kBAAkB,CAAC"}
@@ -3,8 +3,8 @@
3
3
  * Licensed under the MIT License.
4
4
  * @format
5
5
  */
6
- import type { ExpanderProps, ExpanderViewProps } from './Expander.types';
6
+ import type { ExpanderProps } from './Expander.types';
7
7
  export declare const Expander: import("@fluentui-react-native/framework").ComposableComponent<ExpanderProps, {
8
- root: ExpanderViewProps;
8
+ root: import("./ExpanderNativeComponent").NativeProps;
9
9
  }, import("./Expander.types").ExpanderTokens, import("@fluentui-react-native/framework").ObjectBase>;
10
10
  //# sourceMappingURL=Expander.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Expander.d.ts","sourceRoot":"","sources":["../src/Expander.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EAAgB,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAQvF,eAAO,MAAM,QAAQ;;oGA8BnB,CAAC"}
1
+ {"version":3,"file":"Expander.d.ts","sourceRoot":"","sources":["../src/Expander.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,KAAK,EAAgB,aAAa,EAAqB,MAAM,kBAAkB,CAAC;AAQvF,eAAO,MAAM,QAAQ;;oGA8BnB,CAAC"}
@@ -1,9 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- * @format
6
- */
7
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
3
  if (k2 === undefined) k2 = k;
9
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -20,24 +15,36 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
20
15
  }) : function(o, v) {
21
16
  o["default"] = v;
22
17
  });
23
- var __importStar = (this && this.__importStar) || function (mod) {
24
- if (mod && mod.__esModule) return mod;
25
- var result = {};
26
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
27
- __setModuleDefault(result, mod);
28
- return result;
29
- };
30
- var __importDefault = (this && this.__importDefault) || function (mod) {
31
- return (mod && mod.__esModule) ? mod : { "default": mod };
32
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
33
35
  Object.defineProperty(exports, "__esModule", { value: true });
34
36
  exports.Expander = void 0;
35
- /** @jsxRuntime classic */
36
- /** @jsx withSlots */
37
+ const jsx_runtime_1 = require("@fluentui-react-native/framework-base/jsx-runtime");
38
+ /**
39
+ * Copyright (c) Microsoft Corporation.
40
+ * Licensed under the MIT License.
41
+ * @format
42
+ */
43
+ /** @jsxImportSource @fluentui-react-native/framework-base */
37
44
  const React = __importStar(require("react"));
38
45
  const framework_1 = require("@fluentui-react-native/framework");
39
46
  const Expander_types_1 = require("./Expander.types");
40
- const ExpanderNativeComponent_1 = __importDefault(require("./ExpanderNativeComponent"));
47
+ const ExpanderNativeComponent_1 = require("./ExpanderNativeComponent");
41
48
  function delay(ms) {
42
49
  return new Promise((resolve) => setTimeout(resolve, ms));
43
50
  }
@@ -47,7 +54,7 @@ exports.Expander = (0, framework_1.compose)({
47
54
  slotProps: {
48
55
  root: (0, framework_1.buildProps)((tokens) => ({ ...tokens })),
49
56
  },
50
- slots: { root: ExpanderNativeComponent_1.default },
57
+ slots: { root: ExpanderNativeComponent_1.ExpanderComponent },
51
58
  useRender: (userProps, useSlots) => {
52
59
  const Root = useSlots(userProps).root;
53
60
  const [expandedState, setExpandedState] = React.useState(userProps.expanded);
@@ -62,7 +69,7 @@ exports.Expander = (0, framework_1.compose)({
62
69
  setExpandedState(true);
63
70
  userProps.onExpanding?.();
64
71
  };
65
- return (rest, ...children) => ((0, framework_1.withSlots)(Root, { ...(0, framework_1.mergeProps)(userProps, rest), height: expanderHeight, onCollapsing: _onCollapsing, onExpanding: _onExpanding }, children));
72
+ return (rest, ...children) => (jsx_runtime_1.jsx(Root, { ...(0, framework_1.mergeProps)(userProps, rest), height: expanderHeight, onCollapsing: _onCollapsing, onExpanding: _onExpanding, children: children }));
66
73
  },
67
74
  });
68
75
  //# sourceMappingURL=Expander.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Expander.js","sourceRoot":"","sources":["../src/Expander.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0BAA0B;AAC1B,qBAAqB;AACrB,6CAA+B;AAG/B,gEAA8F;AAG9F,qDAAgD;AAChD,wFAA0D;AAE1D,SAAS,KAAK,CAAC,EAAU;IACvB,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;AACjE,CAAC;AAEY,QAAA,QAAQ,GAAG,IAAA,mBAAO,EAAe;IAC5C,WAAW,EAAE,6BAAY;IACzB,MAAM,EAAE,CAAC,EAAE,EAAE,6BAAY,CAAC;IAC1B,SAAS,EAAE;QACT,IAAI,EAAE,IAAA,sBAAU,EAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;KAC9C;IACD,KAAK,EAAE,EAAE,IAAI,EAAE,iCAAiB,EAAE;IAClC,SAAS,EAAE,CAAC,SAAwB,EAAE,QAAgC,EAAE,EAAE;QACxE,MAAM,IAAI,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ACR,CAAC;IAAA,CACH;CACF,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { PropsWithChildren } from 'react';
2
2
  import type { ColorValue } from 'react-native';
3
+ import type { NativeProps } from './ExpanderNativeComponent';
3
4
  export declare const expanderName = "Expander";
4
5
  export type ExpanderProps = PropsWithChildren<{
5
6
  /**
@@ -145,7 +146,7 @@ export interface ExpanderType {
145
146
  props: ExpanderProps;
146
147
  tokens: ExpanderTokens;
147
148
  slotProps: {
148
- root: ExpanderViewProps;
149
+ root: NativeProps;
149
150
  };
150
151
  }
151
152
  //# sourceMappingURL=Expander.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Expander.types.d.ts","sourceRoot":"","sources":["../src/Expander.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,YAAY,aAAa,CAAC;AASvC,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;IAC5C;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC,CAAC;AAEH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,0BAA0B,CAAC,EAAE,mBAAmB,CAAC;IACjD;;OAEG;IACH,wBAAwB,CAA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,MAAM,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC;AACxE,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAC1E,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,cAAc,CAAC;AAE/D,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,aAAa,CAAC;IACrB,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,EAAE;QACT,IAAI,EAAE,WAAW,CAAC;KACnB,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"Expander.types.js","sourceRoot":"","sources":["../src/Expander.types.ts"],"names":[],"mappings":";;;AAGa,QAAA,YAAY,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"Expander.types.js","sourceRoot":"","sources":["../src/Expander.types.ts"],"names":[],"mappings":";;;AAIa,QAAA,YAAY,GAAG,UAAU,CAAC"}
@@ -38,6 +38,6 @@ export interface NativeProps extends ViewProps {
38
38
  onCollapsing?: DirectEventHandler<null>;
39
39
  onExpanding?: DirectEventHandler<null>;
40
40
  }
41
- declare const _default: HostComponent<NativeProps>;
42
- export default _default;
41
+ export declare const ExpanderComponent: HostComponent<NativeProps>;
42
+ export default ExpanderComponent;
43
43
  //# sourceMappingURL=ExpanderNativeComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpanderNativeComponent.d.ts","sourceRoot":"","sources":["../src/ExpanderNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAGzG,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,eAAe,CAAC,EAAE,WAAW,CAAC,IAAI,GAAG,MAAM,EAAE,MAA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;IACvC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,6BAA6B,CAAC,EAAE,UAAU,CAAC;IAC3C,yBAAyB,CAAC,EAAE,UAAU,CAAC;IAEvC,YAAY,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;IACxC,WAAW,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACxC;AAED,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,WAAW,CAAuD,CAAC;AAEjH,eAAe,iBAAiB,CAAC"}
@@ -8,6 +8,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
9
9
  };
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.ExpanderComponent = void 0;
11
12
  const codegenNativeComponent_1 = __importDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
12
- exports.default = (0, codegenNativeComponent_1.default)('ExpanderView');
13
+ exports.ExpanderComponent = (0, codegenNativeComponent_1.default)('ExpanderView');
14
+ exports.default = exports.ExpanderComponent;
13
15
  //# sourceMappingURL=ExpanderNativeComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpanderNativeComponent.js","sourceRoot":"","sources":["../src/ExpanderNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;AAKH,qHAA6F;AAqC7F,kBAAe,IAAA,gCAAsB,EACnC,cAAc,CACe,CAAC"}
1
+ {"version":3,"file":"ExpanderNativeComponent.js","sourceRoot":"","sources":["../src/ExpanderNativeComponent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;AAKH,qHAA6F;AAqChF,QAAA,iBAAiB,GAA+B,IAAA,gCAAsB,EAAc,cAAc,CAAC,CAAC;kBAElG,QAAA,iBAAiB"}
@@ -1,4 +1,4 @@
1
1
  export { Expander } from './Expander';
2
2
  export { expanderName } from './Expander.types';
3
- export type { ExpandDirection, ExpanderProps, ExpanderTokens, ExpanderType, ExpanderViewProps, HorizontalAlignment, VerticalAlignment } from './Expander.types';
3
+ export type { ExpandDirection, ExpanderProps, ExpanderTokens, ExpanderType, ExpanderViewProps, HorizontalAlignment, VerticalAlignment, } from './Expander.types';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EACV,eAAe,EACf,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,kBAAkB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.expanderName = exports.Expander = void 0;
4
- var Expander_1 = require("./Expander");
4
+ const Expander_1 = require("./Expander");
5
5
  Object.defineProperty(exports, "Expander", { enumerable: true, get: function () { return Expander_1.Expander; } });
6
- var Expander_types_1 = require("./Expander.types");
6
+ const Expander_types_1 = require("./Expander.types");
7
7
  Object.defineProperty(exports, "expanderName", { enumerable: true, get: function () { return Expander_types_1.expanderName; } });
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,mDAAgD;AAAvC,8GAAA,YAAY,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,qDAAgD;AAAvC,8GAAA,YAAY,OAAA"}
package/package.json CHANGED
@@ -1,95 +1,95 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/experimental-expander",
3
- "version": "0.8.18",
3
+ "version": "0.9.1",
4
4
  "description": "A cross-platform Native Expander component using the Fluent Design System. Currently only implemented on windows",
5
+ "homepage": "https://github.com/microsoft/fluentui-react-native",
5
6
  "license": "MIT",
6
7
  "author": "Microsoft <fluentuinativeowners@microsoft.com>",
7
- "homepage": "https://github.com/microsoft/fluentui-react-native",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/microsoft/fluentui-react-native.git",
11
+ "directory": "packages/experimental/Expander"
12
+ },
8
13
  "main": "lib-commonjs/index.js",
9
14
  "module": "lib/index.js",
10
- "react-native": "src/index.ts",
15
+ "types": "lib/index.d.ts",
11
16
  "exports": {
12
17
  ".": {
18
+ "types": "./lib/index.d.ts",
13
19
  "import": "./lib/index.js",
14
20
  "require": "./lib-commonjs/index.js",
15
- "types": "./lib/index.d.ts"
21
+ "default": "./src/index.ts"
16
22
  }
17
23
  },
18
- "typings": "lib/index.d.ts",
19
24
  "scripts": {
20
25
  "build": "fluentui-scripts build",
21
- "just": "fluentui-scripts",
26
+ "build-cjs": "tsgo --outDir lib-commonjs",
27
+ "build-core": "tsgo --outDir lib --module esnext --moduleResolution bundler",
22
28
  "clean": "fluentui-scripts clean",
23
- "lint": "fluentui-scripts eslint",
24
29
  "depcheck": "fluentui-scripts depcheck",
30
+ "lint": "fluentui-scripts eslint",
31
+ "lint-package": "fluentui-scripts lint-package",
25
32
  "test": "fluentui-scripts jest",
33
+ "update-api": "fluentui-scripts update-api-extractor",
26
34
  "update-snapshots": "fluentui-scripts jest -u",
27
35
  "verify-api": "fluentui-scripts verify-api-extractor",
28
- "update-api": "fluentui-scripts update-api-extractor",
29
36
  "windows": "react-native run-windows"
30
37
  },
31
- "repository": {
32
- "type": "git",
33
- "url": "https://github.com/microsoft/fluentui-react-native.git",
34
- "directory": "packages/experimental/Expander"
35
- },
36
38
  "dependencies": {
37
- "@fluentui-react-native/framework": "0.14.17"
39
+ "@fluentui-react-native/framework": "0.15.1"
38
40
  },
39
41
  "devDependencies": {
40
42
  "@babel/core": "^7.20.0",
41
43
  "@fluentui-react-native/babel-config": "0.1.1",
42
- "@fluentui-react-native/eslint-config-rules": "0.1.1",
43
- "@fluentui-react-native/scripts": "0.1.1",
44
- "@react-native/babel-preset": "^0.74.0",
45
- "@react-native/metro-config": "^0.74.0",
46
- "@types/react": "~18.2.0",
47
- "react": "18.2.0",
48
- "react-native": "^0.74.0",
49
- "react-native-macos": "^0.74.0",
50
- "react-native-windows": "^0.74.0"
44
+ "@fluentui-react-native/eslint-config-rules": "0.1.2",
45
+ "@fluentui-react-native/framework-base": "0.3.1",
46
+ "@fluentui-react-native/kit-config": "0.1.2",
47
+ "@fluentui-react-native/scripts": "0.1.0",
48
+ "@react-native-community/cli": "^20.0.0",
49
+ "@react-native-community/cli-platform-android": "^20.0.0",
50
+ "@react-native-community/cli-platform-ios": "^20.0.0",
51
+ "@react-native/metro-config": "^0.81.0",
52
+ "@types/react": "~19.1.0",
53
+ "react": "19.1.0",
54
+ "react-native": "^0.81.0",
55
+ "react-native-macos": "^0.81.0",
56
+ "react-native-windows": "^0.81.0"
51
57
  },
52
58
  "peerDependencies": {
53
59
  "@office-iss/react-native-win32": "^0.74.0",
54
- "react": "18.2.0",
55
- "react-native": "^0.73.0 || ^0.74.0",
56
- "react-native-macos": "^0.73.0 || ^0.74.0",
57
- "react-native-windows": "^0.73.0 || ^0.74.0"
60
+ "@types/react": "~18.2.0 || ~19.0.0 || ~19.1.0",
61
+ "react": "18.2.0 || 19.0.0 || 19.1.0",
62
+ "react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
63
+ "react-native-macos": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
64
+ "react-native-windows": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0"
65
+ },
66
+ "peerDependenciesMeta": {
67
+ "@office-iss/react-native-win32": {
68
+ "optional": true
69
+ },
70
+ "@types/react": {
71
+ "optional": true
72
+ },
73
+ "react-native-macos": {
74
+ "optional": true
75
+ },
76
+ "react-native-windows": {
77
+ "optional": true
78
+ }
58
79
  },
59
80
  "rnx-kit": {
60
81
  "kitType": "library",
61
82
  "alignDeps": {
62
- "presets": [
63
- "microsoft/react-native"
64
- ],
65
- "requirements": {
66
- "development": [
67
- "react-native@0.74"
68
- ],
69
- "production": [
70
- "react-native@0.73 || 0.74"
71
- ]
72
- },
73
83
  "capabilities": [
74
- "babel-preset-react-native",
75
84
  "core",
76
85
  "core-android",
77
86
  "core-ios",
78
87
  "core-macos",
79
88
  "core-windows",
80
- "react"
89
+ "react",
90
+ "tools-core"
81
91
  ]
82
- }
83
- },
84
- "peerDependenciesMeta": {
85
- "@office-iss/react-native-win32": {
86
- "optional": true
87
- },
88
- "react-native-macos": {
89
- "optional": true
90
92
  },
91
- "react-native-windows": {
92
- "optional": true
93
- }
93
+ "extends": "@fluentui-react-native/kit-config"
94
94
  }
95
- }
95
+ }
package/src/Expander.tsx CHANGED
@@ -4,16 +4,15 @@
4
4
  * @format
5
5
  */
6
6
 
7
- /** @jsxRuntime classic */
8
- /** @jsx withSlots */
7
+ /** @jsxImportSource @fluentui-react-native/framework-base */
9
8
  import * as React from 'react';
10
9
 
11
10
  import type { UseSlots } from '@fluentui-react-native/framework';
12
- import { compose, mergeProps, withSlots, buildProps } from '@fluentui-react-native/framework';
11
+ import { compose, mergeProps, buildProps } from '@fluentui-react-native/framework';
13
12
 
14
13
  import type { ExpanderType, ExpanderProps, ExpanderViewProps } from './Expander.types';
15
14
  import { expanderName } from './Expander.types';
16
- import ExpanderComponent from './ExpanderNativeComponent';
15
+ import { ExpanderComponent } from './ExpanderNativeComponent';
17
16
 
18
17
  function delay(ms: number) {
19
18
  return new Promise<void>((resolve) => setTimeout(resolve, ms));
@@ -1,5 +1,6 @@
1
1
  import type { PropsWithChildren } from 'react';
2
2
  import type { ColorValue } from 'react-native';
3
+ import type { NativeProps } from './ExpanderNativeComponent';
3
4
 
4
5
  export const expanderName = 'Expander';
5
6
 
@@ -157,6 +158,6 @@ export interface ExpanderType {
157
158
  props: ExpanderProps;
158
159
  tokens: ExpanderTokens;
159
160
  slotProps: {
160
- root: ExpanderViewProps;
161
+ root: NativeProps;
161
162
  };
162
163
  }
@@ -44,6 +44,6 @@ export interface NativeProps extends ViewProps {
44
44
  onExpanding?: DirectEventHandler<null>;
45
45
  }
46
46
 
47
- export default codegenNativeComponent<NativeProps>(
48
- 'ExpanderView'
49
- ) as HostComponent<NativeProps>;
47
+ export const ExpanderComponent: HostComponent<NativeProps> = codegenNativeComponent<NativeProps>('ExpanderView');
48
+
49
+ export default ExpanderComponent;
package/src/index.ts CHANGED
@@ -1,3 +1,11 @@
1
1
  export { Expander } from './Expander';
2
2
  export { expanderName } from './Expander.types';
3
- export type { ExpandDirection, ExpanderProps, ExpanderTokens, ExpanderType, ExpanderViewProps, HorizontalAlignment, VerticalAlignment } from './Expander.types';
3
+ export type {
4
+ ExpandDirection,
5
+ ExpanderProps,
6
+ ExpanderTokens,
7
+ ExpanderType,
8
+ ExpanderViewProps,
9
+ HorizontalAlignment,
10
+ VerticalAlignment,
11
+ } from './Expander.types';