@fluentui-react-native/callout 0.27.16 → 0.28.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 +49 -2
- package/lib/Callout.d.ts +8 -2
- package/lib/Callout.d.ts.map +1 -1
- package/lib/Callout.js +53 -56
- package/lib/Callout.js.map +1 -1
- package/lib/Callout.settings.d.ts +1 -1
- package/lib/Callout.settings.js +12 -12
- package/lib/Callout.settings.macos.d.ts +1 -1
- package/lib/Callout.settings.macos.js +15 -15
- package/lib/Callout.types.d.ts +210 -163
- package/lib/Callout.types.d.ts.map +1 -1
- package/lib/Callout.types.js +1 -1
- package/lib/CalloutNativeComponent.d.ts +2 -45
- package/lib/CalloutNativeComponent.d.ts.map +1 -1
- package/lib/CalloutNativeComponent.js +2 -7
- package/lib/CalloutNativeComponent.js.map +1 -1
- package/lib/CalloutNativeComponent.macos.d.ts +5 -0
- package/lib/CalloutNativeComponent.macos.d.ts.map +1 -0
- package/lib/CalloutNativeComponent.macos.js +9 -0
- package/lib/CalloutNativeComponent.macos.js.map +1 -0
- package/lib/CalloutNativeComponent.types.d.ts +30 -0
- package/lib/CalloutNativeComponent.types.d.ts.map +1 -0
- package/lib/CalloutNativeComponent.types.js +2 -0
- package/lib/CalloutNativeComponent.types.js.map +1 -0
- package/lib/CalloutNativeComponent.types.macos.d.ts +29 -0
- package/lib/CalloutNativeComponent.types.macos.d.ts.map +1 -0
- package/lib/CalloutNativeComponent.types.macos.js +2 -0
- package/lib/CalloutNativeComponent.types.macos.js.map +1 -0
- package/lib/CalloutNativeComponent.win32.d.ts +5 -0
- package/lib/CalloutNativeComponent.win32.d.ts.map +1 -0
- package/lib/CalloutNativeComponent.win32.js +8 -0
- package/lib/CalloutNativeComponent.win32.js.map +1 -0
- package/lib/__tests__/Callout.test.d.ts +1 -1
- package/lib/__tests__/Callout.test.js +8 -4
- package/lib/__tests__/Callout.test.js.map +1 -1
- package/lib/index.d.ts +12 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib-commonjs/Callout.d.ts +8 -2
- package/lib-commonjs/Callout.d.ts.map +1 -1
- package/lib-commonjs/Callout.js +116 -90
- package/lib-commonjs/Callout.js.map +1 -1
- package/lib-commonjs/Callout.settings.d.ts +1 -1
- package/lib-commonjs/Callout.settings.js +15 -15
- package/lib-commonjs/Callout.settings.macos.d.ts +1 -1
- package/lib-commonjs/Callout.settings.macos.js +18 -18
- package/lib-commonjs/Callout.types.d.ts +210 -163
- package/lib-commonjs/Callout.types.d.ts.map +1 -1
- package/lib-commonjs/Callout.types.js +3 -3
- package/lib-commonjs/CalloutNativeComponent.d.ts +2 -45
- package/lib-commonjs/CalloutNativeComponent.d.ts.map +1 -1
- package/lib-commonjs/CalloutNativeComponent.js +11 -14
- package/lib-commonjs/CalloutNativeComponent.js.map +1 -1
- package/lib-commonjs/CalloutNativeComponent.macos.d.ts +5 -0
- package/lib-commonjs/CalloutNativeComponent.macos.d.ts.map +1 -0
- package/lib-commonjs/CalloutNativeComponent.macos.js +17 -0
- package/lib-commonjs/CalloutNativeComponent.macos.js.map +1 -0
- package/lib-commonjs/CalloutNativeComponent.types.d.ts +30 -0
- package/lib-commonjs/CalloutNativeComponent.types.d.ts.map +1 -0
- package/lib-commonjs/CalloutNativeComponent.types.js +3 -0
- package/lib-commonjs/CalloutNativeComponent.types.js.map +1 -0
- package/lib-commonjs/CalloutNativeComponent.types.macos.d.ts +29 -0
- package/lib-commonjs/CalloutNativeComponent.types.macos.d.ts.map +1 -0
- package/lib-commonjs/CalloutNativeComponent.types.macos.js +3 -0
- package/lib-commonjs/CalloutNativeComponent.types.macos.js.map +1 -0
- package/lib-commonjs/CalloutNativeComponent.win32.d.ts +5 -0
- package/lib-commonjs/CalloutNativeComponent.win32.d.ts.map +1 -0
- package/lib-commonjs/CalloutNativeComponent.win32.js +16 -0
- package/lib-commonjs/CalloutNativeComponent.win32.js.map +1 -0
- package/lib-commonjs/__tests__/Callout.test.d.ts +1 -1
- package/lib-commonjs/__tests__/Callout.test.js +62 -31
- package/lib-commonjs/__tests__/Callout.test.js.map +1 -1
- package/lib-commonjs/index.d.ts +12 -3
- package/lib-commonjs/index.d.ts.map +1 -1
- package/lib-commonjs/index.js +17 -7
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +63 -62
- package/src/Callout.tsx +3 -11
- package/src/Callout.types.ts +35 -2
- package/src/CalloutNativeComponent.macos.ts +12 -0
- package/src/CalloutNativeComponent.ts +1 -62
- package/src/CalloutNativeComponent.types.macos.ts +31 -0
- package/src/CalloutNativeComponent.types.ts +31 -0
- package/src/CalloutNativeComponent.win32.ts +11 -0
- package/src/__tests__/Callout.test.tsx +6 -3
- package/src/index.ts +1 -1
- package/lib/CalloutNativeCommands.types.d.ts +0 -5
- package/lib/CalloutNativeCommands.types.d.ts.map +0 -1
- package/lib/CalloutNativeCommands.types.js +0 -2
- package/lib/CalloutNativeCommands.types.js.map +0 -1
- package/lib/MacOSCalloutNativeComponent.d.ts +0 -47
- package/lib/MacOSCalloutNativeComponent.d.ts.map +0 -1
- package/lib/MacOSCalloutNativeComponent.js +0 -12
- package/lib/MacOSCalloutNativeComponent.js.map +0 -1
- package/lib-commonjs/CalloutNativeCommands.types.d.ts +0 -5
- package/lib-commonjs/CalloutNativeCommands.types.d.ts.map +0 -1
- package/lib-commonjs/CalloutNativeCommands.types.js +0 -3
- package/lib-commonjs/CalloutNativeCommands.types.js.map +0 -1
- package/lib-commonjs/MacOSCalloutNativeComponent.d.ts +0 -47
- package/lib-commonjs/MacOSCalloutNativeComponent.d.ts.map +0 -1
- package/lib-commonjs/MacOSCalloutNativeComponent.js +0 -18
- package/lib-commonjs/MacOSCalloutNativeComponent.js.map +0 -1
- package/src/CalloutNativeCommands.types.ts +0 -4
- package/src/MacOSCalloutNativeComponent.ts +0 -66
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/callout
|
|
2
2
|
|
|
3
|
+
## 0.28.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/tokens@0.24.0
|
|
39
|
+
- @uifabricshared/foundation-composable@0.14.0
|
|
40
|
+
- @uifabricshared/foundation-compose@1.16.0
|
|
41
|
+
- @uifabricshared/foundation-settings@0.16.0
|
|
42
|
+
|
|
3
43
|
<!-- This log was last generated on Tue, 05 Aug 2025 18:50:44 GMT and should not be manually modified. -->
|
|
4
44
|
|
|
5
45
|
<!-- Start content -->
|
|
@@ -1604,7 +1644,7 @@ Thu, 16 Dec 2021 19:10:30 GMT
|
|
|
1604
1644
|
|
|
1605
1645
|
- Add up/down arrow key support to macOS ContextualMenu (sanajmi@microsoft.com)
|
|
1606
1646
|
- remove focus style overrides for macOS contextual menu items (sanajmi@microsoft.com)
|
|
1607
|
-
- Rename Jest snapshots to be platform agnostic
|
|
1647
|
+
- Rename Jest snapshots to be platform agnostic (sanajmi@microsoft.com)
|
|
1608
1648
|
- Bump @fluentui-react-native/adapters to v0.8.1
|
|
1609
1649
|
- Bump @fluentui-react-native/interactive-hooks to v0.11.1
|
|
1610
1650
|
- Bump @fluentui-react-native/tokens to v0.11.1
|
|
@@ -2187,7 +2227,7 @@ Fri, 24 Apr 2020 17:13:37 GMT
|
|
|
2187
2227
|
|
|
2188
2228
|
### Patches
|
|
2189
2229
|
|
|
2190
|
-
- Dont import
|
|
2230
|
+
- Dont import \* from react-native (acoates@microsoft.com)
|
|
2191
2231
|
|
|
2192
2232
|
## 0.4.1
|
|
2193
2233
|
|
|
@@ -2214,24 +2254,31 @@ Thu, 16 Apr 2020 23:57:38 GMT
|
|
|
2214
2254
|
- publish with correct main/module references (jasonmo@microsoft.com)
|
|
2215
2255
|
|
|
2216
2256
|
## 0.3.0
|
|
2257
|
+
|
|
2217
2258
|
Thu, 09 Apr 2020 18:39:15 GMT
|
|
2218
2259
|
|
|
2219
2260
|
### Minor changes
|
|
2220
2261
|
|
|
2221
2262
|
- Add ondismiss and onshow callbacks (ppatboyd@outlook.com)
|
|
2263
|
+
|
|
2222
2264
|
## 0.2.3
|
|
2265
|
+
|
|
2223
2266
|
Fri, 03 Apr 2020 20:40:51 GMT
|
|
2224
2267
|
|
|
2225
2268
|
### Patches
|
|
2226
2269
|
|
|
2227
2270
|
- add some configuration versatility (jasonmo@microsoft.com)
|
|
2271
|
+
|
|
2228
2272
|
## 0.2.1
|
|
2273
|
+
|
|
2229
2274
|
Mon, 30 Mar 2020 16:27:00 GMT
|
|
2230
2275
|
|
|
2231
2276
|
### Patches
|
|
2232
2277
|
|
|
2233
2278
|
- Update main attribute to specify TypeScript index file. (kinhln@microsoft.com)
|
|
2279
|
+
|
|
2234
2280
|
## 0.2.0
|
|
2281
|
+
|
|
2235
2282
|
Fri, 27 Mar 2020 04:10:56 GMT
|
|
2236
2283
|
|
|
2237
2284
|
### Minor changes
|
package/lib/Callout.d.ts
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
* @format
|
|
5
5
|
*/
|
|
6
6
|
import type { ICalloutProps, ICalloutSlotProps } from './Callout.types';
|
|
7
|
-
export declare const Callout: import(
|
|
7
|
+
export declare const Callout: import('@uifabricshared/foundation-compose').IComposeReturnType<
|
|
8
|
+
ICalloutProps,
|
|
9
|
+
ICalloutSlotProps,
|
|
10
|
+
import('./Callout.types').ICalloutTokens,
|
|
11
|
+
object,
|
|
12
|
+
object
|
|
13
|
+
>;
|
|
8
14
|
export default Callout;
|
|
9
|
-
//# sourceMappingURL=Callout.d.ts.map
|
|
15
|
+
//# sourceMappingURL=Callout.d.ts.map
|
package/lib/Callout.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../src/Callout.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../src/Callout.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAWH,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAgB,MAAM,iBAAiB,CAAC;AAMtF,eAAO,MAAM,OAAO,6JAqDlB,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
package/lib/Callout.js
CHANGED
|
@@ -4,67 +4,64 @@
|
|
|
4
4
|
* @format
|
|
5
5
|
*/
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { findNodeHandle
|
|
7
|
+
import { findNodeHandle } from 'react-native';
|
|
8
8
|
import { backgroundColorTokens, borderTokens } from '@fluentui-react-native/tokens';
|
|
9
9
|
import { compose } from '@uifabricshared/foundation-compose';
|
|
10
10
|
import { mergeSettings } from '@uifabricshared/foundation-settings';
|
|
11
11
|
import { settings } from './Callout.settings';
|
|
12
12
|
import { calloutName } from './Callout.types';
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { Commands } from './MacOSCalloutNativeComponent';
|
|
16
|
-
const NativeCalloutView = Platform.select({
|
|
17
|
-
macos: FRNCalloutNativeComponent,
|
|
18
|
-
default: CalloutNativeComponent, // win32
|
|
19
|
-
});
|
|
13
|
+
import NativeCalloutView from './CalloutNativeComponent';
|
|
14
|
+
import { Commands } from './CalloutNativeComponent';
|
|
20
15
|
export const Callout = compose({
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
16
|
+
displayName: calloutName,
|
|
17
|
+
usePrepareProps: (props, useStyling) => {
|
|
18
|
+
const { componentRef, target, ...rest } = props;
|
|
19
|
+
React.useImperativeHandle(
|
|
20
|
+
componentRef,
|
|
21
|
+
() => ({
|
|
22
|
+
blurWindow() {
|
|
23
|
+
if (componentRef.current != null) {
|
|
24
|
+
Commands.blurWindow(nativeComponentRef.current);
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
focusWindow() {
|
|
28
|
+
if (componentRef.current != null) {
|
|
29
|
+
Commands.focusWindow(nativeComponentRef.current);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
}),
|
|
33
|
+
[componentRef],
|
|
34
|
+
);
|
|
35
|
+
const nativeComponentRef = React.useRef(null);
|
|
36
|
+
const [nativeTarget, setNativeTarget] = React.useState(null);
|
|
37
|
+
React.useLayoutEffect(() => {
|
|
38
|
+
if (typeof target === 'string') {
|
|
39
|
+
// Pass string type `target` directly
|
|
40
|
+
setNativeTarget(target);
|
|
41
|
+
} else if (target?.current) {
|
|
42
|
+
// Pass the tagID for a valid ref `target`
|
|
43
|
+
setNativeTarget(findNodeHandle(target.current));
|
|
44
|
+
} else {
|
|
45
|
+
// Clear `target` so we may fall back on `anchorRect` if provided
|
|
46
|
+
setNativeTarget(null);
|
|
47
|
+
}
|
|
48
|
+
}, [target]);
|
|
49
|
+
const slotProps = mergeSettings(useStyling(props), {
|
|
50
|
+
root: {
|
|
51
|
+
ref: nativeComponentRef,
|
|
52
|
+
...(nativeTarget && { target: nativeTarget }),
|
|
53
|
+
...rest,
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
return { slotProps };
|
|
57
|
+
},
|
|
58
|
+
settings: settings,
|
|
59
|
+
slots: {
|
|
60
|
+
root: NativeCalloutView,
|
|
61
|
+
},
|
|
62
|
+
styles: {
|
|
63
|
+
root: [backgroundColorTokens, borderTokens],
|
|
64
|
+
},
|
|
68
65
|
});
|
|
69
66
|
export default Callout;
|
|
70
|
-
//# sourceMappingURL=Callout.js.map
|
|
67
|
+
//# sourceMappingURL=Callout.js.map
|
package/lib/Callout.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.js","sourceRoot":"","sources":["../src/Callout.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"Callout.js","sourceRoot":"","sources":["../src/Callout.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAEpF,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,OAAO,iBAAiB,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAe;IAC3C,WAAW,EAAE,WAAW;IACxB,eAAe,EAAE,CAAC,KAAoB,EAAE,UAA4C,EAAE,EAAE,CAAC;QACvF,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;QAChD,KAAK,CAAC,mBAAmB,CACvB,YAAY,EACZ,GAAG,EAAE,CAAC,CAAC;YACL,UAAU,GAAG;gBACX,IAAI,YAAY,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;oBACjC,QAAQ,CAAC,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;gBAClD,CAAC;YAAA,CACF;YACD,WAAW,GAAG;gBACZ,IAAI,YAAY,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;oBACjC,QAAQ,CAAC,WAAW,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;gBACnD,CAAC;YAAA,CACF;SACF,CAAC,EACF,CAAC,YAAY,CAAC,CACf,CAAC;QACF,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAAoD,IAAI,CAAC,CAAC;QACjG,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAyB,IAAI,CAAC,CAAC;QAErF,KAAK,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC;YAC1B,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;gBAC/B,qCAAqC;gBACrC,eAAe,CAAC,MAAM,CAAC,CAAC;YAC1B,CAAC;iBAAM,IAAI,MAAM,EAAE,OAAO,EAAE,CAAC;gBAC3B,0CAA0C;gBAC1C,eAAe,CAAC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;YAClD,CAAC;iBAAM,CAAC;gBACN,iEAAiE;gBACjE,eAAe,CAAC,IAAI,CAAC,CAAC;YACxB,CAAC;QAAA,CACF,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;QAEb,MAAM,SAAS,GAAG,aAAa,CAAoB,UAAU,CAAC,KAAK,CAAC,EAAE;YACpE,IAAI,EAAE;gBACJ,GAAG,EAAE,kBAAkB;gBACvB,GAAG,CAAC,YAAY,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC;gBAC7C,GAAG,IAAI;aACR;SACF,CAAC,CAAC;QAEH,OAAO,EAAE,SAAS,EAAE,CAAC;IAAA,CACtB;IACD,QAAQ,EAAE,QAAQ;IAClB,KAAK,EAAE;QACL,IAAI,EAAE,iBAAiB;KACxB;IACD,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,qBAAqB,EAAE,YAAY,CAAC;KAC5C;CACF,CAAC,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { IComposeSettings } from '@uifabricshared/foundation-compose';
|
|
2
2
|
import type { ICalloutType } from './Callout.types';
|
|
3
3
|
export declare const settings: IComposeSettings<ICalloutType>;
|
|
4
|
-
//# sourceMappingURL=Callout.settings.d.ts.map
|
|
4
|
+
//# sourceMappingURL=Callout.settings.d.ts.map
|
package/lib/Callout.settings.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { calloutName } from './Callout.types';
|
|
2
2
|
export const settings = [
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
3
|
+
{
|
|
4
|
+
tokens: {
|
|
5
|
+
backgroundColor: 'bodyStandoutBackground',
|
|
6
|
+
beakWidth: 20,
|
|
7
|
+
borderColor: 'bodyFrameBackground',
|
|
8
|
+
borderWidth: 1,
|
|
9
|
+
directionalHint: 'bottonLeftEdge',
|
|
10
|
+
gapSpace: 0,
|
|
11
|
+
minPadding: 0,
|
|
13
12
|
},
|
|
14
|
-
|
|
13
|
+
},
|
|
14
|
+
calloutName,
|
|
15
15
|
];
|
|
16
|
-
//# sourceMappingURL=Callout.settings.js.map
|
|
16
|
+
//# sourceMappingURL=Callout.settings.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { IComposeSettings } from '@uifabricshared/foundation-compose';
|
|
2
2
|
import type { ICalloutType } from './Callout.types';
|
|
3
3
|
export declare const settings: IComposeSettings<ICalloutType>;
|
|
4
|
-
//# sourceMappingURL=Callout.settings.macos.d.ts.map
|
|
4
|
+
//# sourceMappingURL=Callout.settings.macos.d.ts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { calloutName } from './Callout.types';
|
|
2
2
|
export const settings = [
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
root: {
|
|
12
|
-
style: {
|
|
13
|
-
position: 'absolute',
|
|
14
|
-
},
|
|
15
|
-
},
|
|
3
|
+
{
|
|
4
|
+
tokens: {
|
|
5
|
+
backgroundColor: 'bodyStandoutBackground',
|
|
6
|
+
borderColor: 'transparent',
|
|
7
|
+
borderWidth: 0,
|
|
8
|
+
borderRadius: 5,
|
|
9
|
+
directionalHint: 'bottonLeftEdge',
|
|
16
10
|
},
|
|
17
|
-
|
|
11
|
+
root: {
|
|
12
|
+
style: {
|
|
13
|
+
position: 'absolute',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
calloutName,
|
|
18
18
|
];
|
|
19
|
-
//# sourceMappingURL=Callout.settings.macos.js.map
|
|
19
|
+
//# sourceMappingURL=Callout.settings.macos.js.map
|