@fluentui-react-native/experimental-expander 0.8.17 → 0.9.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,41 @@
1
1
  # Change Log - @fluentui-react-native/experimental-expander
2
2
 
3
+ ## 0.9.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/framework@0.15.0
38
+
3
39
  <!-- This log was last generated on Tue, 05 Aug 2025 18:50:43 GMT and should not be manually modified. -->
4
40
 
5
41
  <!-- Start content -->
package/lib/Expander.d.ts CHANGED
@@ -3,8 +3,13 @@
3
3
  * Licensed under the MIT License.
4
4
  * @format
5
5
  */
6
- import type { ExpanderProps, ExpanderViewProps } from './Expander.types';
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>;
10
- //# sourceMappingURL=Expander.d.ts.map
6
+ import type { ExpanderProps } from './Expander.types';
7
+ export declare const Expander: import('@fluentui-react-native/framework').ComposableComponent<
8
+ ExpanderProps,
9
+ {
10
+ root: import('./ExpanderNativeComponent').NativeProps;
11
+ },
12
+ import('./Expander.types').ExpanderTokens,
13
+ import('@fluentui-react-native/framework-base').ObjectBase
14
+ >;
15
+ //# 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,39 +1,46 @@
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
- return new Promise((resolve) => setTimeout(resolve, ms));
13
+ return new Promise((resolve) => setTimeout(resolve, ms));
14
14
  }
15
15
  export const Expander = compose({
16
- displayName: expanderName,
17
- tokens: [{}, expanderName],
18
- slotProps: {
19
- root: buildProps((tokens) => ({ ...tokens })),
20
- },
21
- slots: { root: ExpanderComponent },
22
- useRender: (userProps, useSlots) => {
23
- const Root = useSlots(userProps).root;
24
- const [expandedState, setExpandedState] = React.useState(userProps.expanded);
25
- const expanderHeight = expandedState ? userProps.expandedHeight : userProps.collapsedHeight;
26
- const _onCollapsing = async () => {
27
- userProps.onCollapsing?.();
28
- // Need to delay the height change so that the animation runs
29
- await delay(175);
30
- setExpandedState(false);
31
- };
32
- const _onExpanding = () => {
33
- setExpandedState(true);
34
- userProps.onExpanding?.();
35
- };
36
- return (rest, ...children) => (withSlots(Root, { ...mergeProps(userProps, rest), height: expanderHeight, onCollapsing: _onCollapsing, onExpanding: _onExpanding }, children));
37
- },
16
+ displayName: expanderName,
17
+ tokens: [{}, expanderName],
18
+ slotProps: {
19
+ root: buildProps((tokens) => ({ ...tokens })),
20
+ },
21
+ slots: { root: ExpanderComponent },
22
+ useRender: (userProps, useSlots) => {
23
+ const Root = useSlots(userProps).root;
24
+ const [expandedState, setExpandedState] = React.useState(userProps.expanded);
25
+ const expanderHeight = expandedState ? userProps.expandedHeight : userProps.collapsedHeight;
26
+ const _onCollapsing = async () => {
27
+ userProps.onCollapsing?.();
28
+ // Need to delay the height change so that the animation runs
29
+ await delay(175);
30
+ setExpandedState(false);
31
+ };
32
+ const _onExpanding = () => {
33
+ setExpandedState(true);
34
+ userProps.onExpanding?.();
35
+ };
36
+ return (rest, ...children) =>
37
+ _jsx(Root, {
38
+ ...mergeProps(userProps, rest),
39
+ height: expanderHeight,
40
+ onCollapsing: _onCollapsing,
41
+ onExpanding: _onExpanding,
42
+ children: children,
43
+ });
44
+ },
38
45
  });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AAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;KAC9C;IACD,KAAK,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE;IAClC,SAAS,EAAE,CAAC,SAAwB,EAAE,QAAgC,EAAE,EAAE,CAAC;QACzE,MAAM,IAAI,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC;QACtC,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAC7E,MAAM,cAAc,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC;QAE5F,MAAM,aAAa,GAAG,KAAK,IAAI,EAAE,CAAC;YAChC,SAAS,CAAC,YAAY,EAAE,EAAE,CAAC;YAC3B,6DAA6D;YAC7D,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;YACjB,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAAA,CACzB,CAAC;QAEF,MAAM,YAAY,GAAG,GAAG,EAAE,CAAC;YACzB,gBAAgB,CAAC,IAAI,CAAC,CAAC;YACvB,SAAS,CAAC,WAAW,EAAE,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,151 +1,152 @@
1
1
  import type { PropsWithChildren } from 'react';
2
2
  import type { ColorValue } from 'react-native';
3
- export declare const expanderName = "Expander";
3
+ import type { NativeProps } from './ExpanderNativeComponent';
4
+ export declare const expanderName = 'Expander';
4
5
  export type ExpanderProps = PropsWithChildren<{
5
- /**
6
- * Direction to expand the Expander.
7
- */
8
- expandDirection?: ExpandDirection;
9
- /**
10
- * Determines if the expander is currently expanded
11
- */
12
- expanded?: boolean;
13
- /**
14
- * Is Expander control enabled for the user
15
- */
16
- enabled?: boolean;
17
- /**
18
- * Height of the Expander
19
- */
20
- height?: number;
21
- /**
22
- * Height for the Expander when expanded
23
- */
24
- expandedHeight: number;
25
- /**
26
- * Height for the Expander when collapsed
27
- */
28
- collapsedHeight: number;
29
- /**
30
- * A callback to call on Expander collapsed event
31
- */
32
- onCollapsing?: () => void;
33
- /**
34
- * A callback to call on Expander expanding event
35
- */
36
- onExpanding?: () => void;
6
+ /**
7
+ * Direction to expand the Expander.
8
+ */
9
+ expandDirection?: ExpandDirection;
10
+ /**
11
+ * Determines if the expander is currently expanded
12
+ */
13
+ expanded?: boolean;
14
+ /**
15
+ * Is Expander control enabled for the user
16
+ */
17
+ enabled?: boolean;
18
+ /**
19
+ * Height of the Expander
20
+ */
21
+ height?: number;
22
+ /**
23
+ * Height for the Expander when expanded
24
+ */
25
+ expandedHeight: number;
26
+ /**
27
+ * Height for the Expander when collapsed
28
+ */
29
+ collapsedHeight: number;
30
+ /**
31
+ * A callback to call on Expander collapsed event
32
+ */
33
+ onCollapsing?: () => void;
34
+ /**
35
+ * A callback to call on Expander expanding event
36
+ */
37
+ onExpanding?: () => void;
37
38
  }>;
38
39
  export interface ExpanderTokens {
39
- /**
40
- * Width of the expander
41
- */
42
- width?: number;
43
- /**
44
- * Horizontal alignment of the expander's content
45
- */
46
- contentHorizontalAlignment?: HorizontalAlignment;
47
- /**
48
- * Vertical alignment of the expander's content
49
- */
50
- contentVerticalAlignment?: VerticalAlignment;
51
- /**
52
- * Header background color
53
- */
54
- headerBackground?: ColorValue;
55
- /**
56
- * Header foreground color at rest
57
- */
58
- headerForeground?: ColorValue;
59
- /**
60
- * Header foreground color on pointer over
61
- */
62
- headerForegroundPointerOver?: ColorValue;
63
- /**
64
- * Header foreground color when pressed
65
- */
66
- headerForegroundPressed?: ColorValue;
67
- /**
68
- * Header border color at rest
69
- */
70
- headerBorderBrush?: ColorValue;
71
- /**
72
- * Header border color on pointer over
73
- */
74
- headerBorderPointerOverBrush?: ColorValue;
75
- /**
76
- * Header border color when pressed
77
- */
78
- headerBorderPressedBrush?: ColorValue;
79
- /**
80
- * Header foreground color when disabled
81
- */
82
- headerDisabledForeground?: ColorValue;
83
- /**
84
- * Header border color when disabled
85
- */
86
- headerDisabledBorderBrush?: ColorValue;
87
- /**
88
- * Header border thickness
89
- */
90
- headerBorderThickness?: number;
91
- /**
92
- * Content background color
93
- */
94
- contentBackground?: ColorValue;
95
- /**
96
- * Content border color
97
- */
98
- contentBorderBrush?: ColorValue;
99
- /**
100
- * Chevron background color at rest
101
- */
102
- chevronBackground?: ColorValue;
103
- /**
104
- * Chevron foreground color at rest
105
- */
106
- chevronForeground?: ColorValue;
107
- /**
108
- * Chevron background color on pointer over
109
- */
110
- chevronPointerOverBackground?: ColorValue;
111
- /**
112
- * Chevron foreground color on pointer over
113
- */
114
- chevronPointerOverForeground?: ColorValue;
115
- /**
116
- * Chevron background color when pressed
117
- */
118
- chevronPressedBackground?: ColorValue;
119
- /**
120
- * Chevron foreground color when pressed
121
- */
122
- chevronPressedForeground?: ColorValue;
123
- /**
124
- * Chevron border thickness
125
- */
126
- chevronBorderThickness?: number;
127
- /**
128
- * Chevron border color at rest
129
- */
130
- chevronBorderBrush?: ColorValue;
131
- /**
132
- * Chevron border color on pointer over
133
- */
134
- chevronBorderPointerOverBrush?: ColorValue;
135
- /**
136
- * Chevron border color when pressed
137
- */
138
- chevronBorderPressedBrush?: ColorValue;
40
+ /**
41
+ * Width of the expander
42
+ */
43
+ width?: number;
44
+ /**
45
+ * Horizontal alignment of the expander's content
46
+ */
47
+ contentHorizontalAlignment?: HorizontalAlignment;
48
+ /**
49
+ * Vertical alignment of the expander's content
50
+ */
51
+ contentVerticalAlignment?: VerticalAlignment;
52
+ /**
53
+ * Header background color
54
+ */
55
+ headerBackground?: ColorValue;
56
+ /**
57
+ * Header foreground color at rest
58
+ */
59
+ headerForeground?: ColorValue;
60
+ /**
61
+ * Header foreground color on pointer over
62
+ */
63
+ headerForegroundPointerOver?: ColorValue;
64
+ /**
65
+ * Header foreground color when pressed
66
+ */
67
+ headerForegroundPressed?: ColorValue;
68
+ /**
69
+ * Header border color at rest
70
+ */
71
+ headerBorderBrush?: ColorValue;
72
+ /**
73
+ * Header border color on pointer over
74
+ */
75
+ headerBorderPointerOverBrush?: ColorValue;
76
+ /**
77
+ * Header border color when pressed
78
+ */
79
+ headerBorderPressedBrush?: ColorValue;
80
+ /**
81
+ * Header foreground color when disabled
82
+ */
83
+ headerDisabledForeground?: ColorValue;
84
+ /**
85
+ * Header border color when disabled
86
+ */
87
+ headerDisabledBorderBrush?: ColorValue;
88
+ /**
89
+ * Header border thickness
90
+ */
91
+ headerBorderThickness?: number;
92
+ /**
93
+ * Content background color
94
+ */
95
+ contentBackground?: ColorValue;
96
+ /**
97
+ * Content border color
98
+ */
99
+ contentBorderBrush?: ColorValue;
100
+ /**
101
+ * Chevron background color at rest
102
+ */
103
+ chevronBackground?: ColorValue;
104
+ /**
105
+ * Chevron foreground color at rest
106
+ */
107
+ chevronForeground?: ColorValue;
108
+ /**
109
+ * Chevron background color on pointer over
110
+ */
111
+ chevronPointerOverBackground?: ColorValue;
112
+ /**
113
+ * Chevron foreground color on pointer over
114
+ */
115
+ chevronPointerOverForeground?: ColorValue;
116
+ /**
117
+ * Chevron background color when pressed
118
+ */
119
+ chevronPressedBackground?: ColorValue;
120
+ /**
121
+ * Chevron foreground color when pressed
122
+ */
123
+ chevronPressedForeground?: ColorValue;
124
+ /**
125
+ * Chevron border thickness
126
+ */
127
+ chevronBorderThickness?: number;
128
+ /**
129
+ * Chevron border color at rest
130
+ */
131
+ chevronBorderBrush?: ColorValue;
132
+ /**
133
+ * Chevron border color on pointer over
134
+ */
135
+ chevronBorderPointerOverBrush?: ColorValue;
136
+ /**
137
+ * Chevron border color when pressed
138
+ */
139
+ chevronBorderPressedBrush?: ColorValue;
139
140
  }
140
141
  export type ExpandDirection = 'up' | 'down';
141
142
  export type VerticalAlignment = 'bottom' | 'center' | 'stretch' | 'top';
142
143
  export type HorizontalAlignment = 'center' | 'left' | 'right' | 'stretch';
143
144
  export type ExpanderViewProps = ExpanderProps & ExpanderTokens;
144
145
  export interface ExpanderType {
145
- props: ExpanderProps;
146
- tokens: ExpanderTokens;
147
- slotProps: {
148
- root: ExpanderViewProps;
149
- };
146
+ props: ExpanderProps;
147
+ tokens: ExpanderTokens;
148
+ slotProps: {
149
+ root: NativeProps;
150
+ };
150
151
  }
151
- //# sourceMappingURL=Expander.types.d.ts.map
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,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AAE,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,2 +1,2 @@
1
1
  export const expanderName = 'Expander';
2
- //# sourceMappingURL=Expander.types.js.map
2
+ //# sourceMappingURL=Expander.types.js.map
@@ -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"}
@@ -6,38 +6,38 @@
6
6
  import type { ColorValue, HostComponent, ViewProps } from 'react-native';
7
7
  import type { DirectEventHandler, Double, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
8
8
  export interface NativeProps extends ViewProps {
9
- expandDirection?: WithDefault<'up' | 'down', 'down'>;
10
- expanded?: boolean;
11
- enabled?: boolean;
12
- width?: Double;
13
- height?: Double;
14
- contentHorizontalAlignment?: WithDefault<'center' | 'left' | 'right' | 'stretch', 'stretch'>;
15
- contentVerticalAlignment?: WithDefault<'bottom' | 'center' | 'stretch' | 'top', 'top'>;
16
- headerBackground?: ColorValue;
17
- headerForeground?: ColorValue;
18
- headerForegroundPointerOver?: ColorValue;
19
- headerForegroundPressed?: ColorValue;
20
- headerBorderBrush?: ColorValue;
21
- headerBorderPointerOverBrush?: ColorValue;
22
- headerBorderPressedBrush?: ColorValue;
23
- headerDisabledForeground?: ColorValue;
24
- headerDisabledBorderBrush?: ColorValue;
25
- headerBorderThickness?: Double;
26
- contentBackground?: ColorValue;
27
- contentBorderBrush?: ColorValue;
28
- chevronBackground?: ColorValue;
29
- chevronForeground?: ColorValue;
30
- chevronPointerOverBackground?: ColorValue;
31
- chevronPointerOverForeground?: ColorValue;
32
- chevronPressedBackground?: ColorValue;
33
- chevronPressedForeground?: ColorValue;
34
- chevronBorderThickness?: Double;
35
- chevronBorderBrush?: ColorValue;
36
- chevronBorderPointerOverBrush?: ColorValue;
37
- chevronBorderPressedBrush?: ColorValue;
38
- onCollapsing?: DirectEventHandler<null>;
39
- onExpanding?: DirectEventHandler<null>;
9
+ expandDirection?: WithDefault<'up' | 'down', 'down'>;
10
+ expanded?: boolean;
11
+ enabled?: boolean;
12
+ width?: Double;
13
+ height?: Double;
14
+ contentHorizontalAlignment?: WithDefault<'center' | 'left' | 'right' | 'stretch', 'stretch'>;
15
+ contentVerticalAlignment?: WithDefault<'bottom' | 'center' | 'stretch' | 'top', 'top'>;
16
+ headerBackground?: ColorValue;
17
+ headerForeground?: ColorValue;
18
+ headerForegroundPointerOver?: ColorValue;
19
+ headerForegroundPressed?: ColorValue;
20
+ headerBorderBrush?: ColorValue;
21
+ headerBorderPointerOverBrush?: ColorValue;
22
+ headerBorderPressedBrush?: ColorValue;
23
+ headerDisabledForeground?: ColorValue;
24
+ headerDisabledBorderBrush?: ColorValue;
25
+ headerBorderThickness?: Double;
26
+ contentBackground?: ColorValue;
27
+ contentBorderBrush?: ColorValue;
28
+ chevronBackground?: ColorValue;
29
+ chevronForeground?: ColorValue;
30
+ chevronPointerOverBackground?: ColorValue;
31
+ chevronPointerOverForeground?: ColorValue;
32
+ chevronPressedBackground?: ColorValue;
33
+ chevronPressedForeground?: ColorValue;
34
+ chevronBorderThickness?: Double;
35
+ chevronBorderBrush?: ColorValue;
36
+ chevronBorderPointerOverBrush?: ColorValue;
37
+ chevronBorderPressedBrush?: ColorValue;
38
+ onCollapsing?: DirectEventHandler<null>;
39
+ onExpanding?: DirectEventHandler<null>;
40
40
  }
41
- declare const _default: HostComponent<NativeProps>;
42
- export default _default;
43
- //# sourceMappingURL=ExpanderNativeComponent.d.ts.map
41
+ export declare const ExpanderComponent: HostComponent<NativeProps>;
42
+ export default ExpanderComponent;
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,MAAM,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0BAA0B,CAAC,EAAE,WAAW,CAAC,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,EAAE,SAAS,CAAC,CAAC;IAC7F,wBAAwB,CAAC,EAAE,WAAW,CAAC,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,KAAK,EAAE,KAAK,CAAC,CAAC;IACvF,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,2BAA2B,CAAC,EAAE,UAAU,CAAC;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,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');
8
- //# sourceMappingURL=ExpanderNativeComponent.js.map
7
+ export const ExpanderComponent = codegenNativeComponent('ExpanderView');
8
+ export default ExpanderComponent;
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,12 @@
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';
4
- //# sourceMappingURL=index.d.ts.map
3
+ export type {
4
+ ExpandDirection,
5
+ ExpanderProps,
6
+ ExpanderTokens,
7
+ ExpanderType,
8
+ ExpanderViewProps,
9
+ HorizontalAlignment,
10
+ VerticalAlignment,
11
+ } from './Expander.types';
12
+ //# sourceMappingURL=index.d.ts.map
package/lib/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export { Expander } from './Expander';
2
2
  export { expanderName } from './Expander.types';
3
- //# sourceMappingURL=index.js.map
3
+ //# sourceMappingURL=index.js.map
@@ -3,8 +3,13 @@
3
3
  * Licensed under the MIT License.
4
4
  * @format
5
5
  */
6
- import type { ExpanderProps, ExpanderViewProps } from './Expander.types';
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>;
10
- //# sourceMappingURL=Expander.d.ts.map
6
+ import type { ExpanderProps } from './Expander.types';
7
+ export declare const Expander: import('@fluentui-react-native/framework').ComposableComponent<
8
+ ExpanderProps,
9
+ {
10
+ root: import('./ExpanderNativeComponent').NativeProps;
11
+ },
12
+ import('./Expander.types').ExpanderTokens,
13
+ import('@fluentui-react-native/framework').ObjectBase
14
+ >;
15
+ //# 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"}