@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
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
|
|
2
|
+
import { requireNativeComponent } from 'react-native';
|
|
3
|
+
export const Commands = codegenNativeCommands({
|
|
4
|
+
supportedCommands: ['blurWindow', 'focusWindow'],
|
|
5
|
+
});
|
|
6
|
+
// no fabric for Win32, just use requireNativeComponent
|
|
7
|
+
export default requireNativeComponent('RCTCallout');
|
|
8
|
+
//# sourceMappingURL=CalloutNativeComponent.win32.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalloutNativeComponent.win32.js","sourceRoot":"","sources":["../src/CalloutNativeComponent.win32.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,MAAM,wDAAwD,CAAC;AAC3F,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAItD,MAAM,CAAC,MAAM,QAAQ,GAA0B,qBAAqB,CAAwB;IAC1F,iBAAiB,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;CACjD,CAAC,CAAC;AAEH,uDAAuD;AACvD,eAAe,sBAAsB,CAAc,YAAY,CAAyB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=Callout.test.d.ts.map
|
|
2
|
+
//# sourceMappingURL=Callout.test.d.ts.map
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { act } from 'react';
|
|
2
3
|
import * as renderer from 'react-test-renderer';
|
|
3
4
|
import { Callout } from '..';
|
|
4
5
|
it('Callout default props', () => {
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
let component;
|
|
7
|
+
act(() => {
|
|
8
|
+
component = renderer.create(_jsx(Callout, {}));
|
|
9
|
+
});
|
|
10
|
+
expect(component.toJSON()).toMatchSnapshot();
|
|
7
11
|
});
|
|
8
|
-
//# sourceMappingURL=Callout.test.js.map
|
|
12
|
+
//# sourceMappingURL=Callout.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.test.js","sourceRoot":"","sources":["../../src/__tests__/Callout.test.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Callout.test.js","sourceRoot":"","sources":["../../src/__tests__/Callout.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAE7B,EAAE,CAAC,uBAAuB,EAAE,GAAG,EAAE,CAAC;IAChC,IAAI,SAAqC,CAAC;IAC1C,GAAG,CAAC,GAAG,EAAE,CAAC;QACR,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAC,OAAO,KAAG,CAAC,CAAC;IAAA,CAC1C,CAAC,CAAC;IACH,MAAM,CAAC,SAAU,CAAC,MAAM,EAAE,CAAC,CAAC,eAAe,EAAE,CAAC;AAAA,CAC/C,CAAC,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
export { calloutName } from './Callout.types';
|
|
2
|
-
export type {
|
|
3
|
-
|
|
2
|
+
export type {
|
|
3
|
+
DirectionalHint,
|
|
4
|
+
DismissBehaviors,
|
|
5
|
+
ICalloutProps,
|
|
6
|
+
ICalloutRenderData,
|
|
7
|
+
ICalloutSlotProps,
|
|
8
|
+
ICalloutTokens,
|
|
9
|
+
ICalloutType,
|
|
10
|
+
RestoreFocusEvent,
|
|
11
|
+
} from './Callout.types';
|
|
12
|
+
export type { CalloutNativeCommands } from './CalloutNativeComponent.types';
|
|
4
13
|
export { Callout } from './Callout';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,qBAAqB,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
package/lib/index.js
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
|
|
@@ -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-commonjs/Callout.js
CHANGED
|
@@ -1,99 +1,125 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
/**
|
|
3
3
|
* Copyright (c) Microsoft Corporation.
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
* @format
|
|
6
6
|
*/
|
|
7
|
-
var __createBinding =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
7
|
+
var __createBinding =
|
|
8
|
+
(this && this.__createBinding) ||
|
|
9
|
+
(Object.create
|
|
10
|
+
? function (o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
13
|
+
if (!desc || ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
14
|
+
desc = {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return m[k];
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}
|
|
23
|
+
: function (o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
o[k2] = m[k];
|
|
26
|
+
});
|
|
27
|
+
var __setModuleDefault =
|
|
28
|
+
(this && this.__setModuleDefault) ||
|
|
29
|
+
(Object.create
|
|
30
|
+
? function (o, v) {
|
|
31
|
+
Object.defineProperty(o, 'default', { enumerable: true, value: v });
|
|
32
|
+
}
|
|
33
|
+
: function (o, v) {
|
|
34
|
+
o['default'] = v;
|
|
35
|
+
});
|
|
36
|
+
var __importStar =
|
|
37
|
+
(this && this.__importStar) ||
|
|
38
|
+
(function () {
|
|
39
|
+
var ownKeys = function (o) {
|
|
40
|
+
ownKeys =
|
|
41
|
+
Object.getOwnPropertyNames ||
|
|
42
|
+
function (o) {
|
|
43
|
+
var ar = [];
|
|
44
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
45
|
+
return ar;
|
|
46
|
+
};
|
|
47
|
+
return ownKeys(o);
|
|
48
|
+
};
|
|
49
|
+
return function (mod) {
|
|
50
|
+
if (mod && mod.__esModule) return mod;
|
|
51
|
+
var result = {};
|
|
52
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== 'default') __createBinding(result, mod, k[i]);
|
|
53
|
+
__setModuleDefault(result, mod);
|
|
54
|
+
return result;
|
|
55
|
+
};
|
|
56
|
+
})();
|
|
57
|
+
var __importDefault =
|
|
58
|
+
(this && this.__importDefault) ||
|
|
59
|
+
function (mod) {
|
|
60
|
+
return mod && mod.__esModule ? mod : { default: mod };
|
|
61
|
+
};
|
|
62
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
34
63
|
exports.Callout = void 0;
|
|
35
|
-
const React = __importStar(require(
|
|
36
|
-
const react_native_1 = require(
|
|
37
|
-
const tokens_1 = require(
|
|
38
|
-
const foundation_compose_1 = require(
|
|
39
|
-
const foundation_settings_1 = require(
|
|
40
|
-
const Callout_settings_1 = require(
|
|
41
|
-
const Callout_types_1 = require(
|
|
42
|
-
const CalloutNativeComponent_1 = __importDefault(require(
|
|
43
|
-
const
|
|
44
|
-
const MacOSCalloutNativeComponent_2 = require("./MacOSCalloutNativeComponent");
|
|
45
|
-
const NativeCalloutView = react_native_1.Platform.select({
|
|
46
|
-
macos: MacOSCalloutNativeComponent_1.default,
|
|
47
|
-
default: CalloutNativeComponent_1.default, // win32
|
|
48
|
-
});
|
|
64
|
+
const React = __importStar(require('react'));
|
|
65
|
+
const react_native_1 = require('react-native');
|
|
66
|
+
const tokens_1 = require('@fluentui-react-native/tokens');
|
|
67
|
+
const foundation_compose_1 = require('@uifabricshared/foundation-compose');
|
|
68
|
+
const foundation_settings_1 = require('@uifabricshared/foundation-settings');
|
|
69
|
+
const Callout_settings_1 = require('./Callout.settings');
|
|
70
|
+
const Callout_types_1 = require('./Callout.types');
|
|
71
|
+
const CalloutNativeComponent_1 = __importDefault(require('./CalloutNativeComponent'));
|
|
72
|
+
const CalloutNativeComponent_2 = require('./CalloutNativeComponent');
|
|
49
73
|
exports.Callout = (0, foundation_compose_1.compose)({
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
74
|
+
displayName: Callout_types_1.calloutName,
|
|
75
|
+
usePrepareProps: (props, useStyling) => {
|
|
76
|
+
const { componentRef, target, ...rest } = props;
|
|
77
|
+
React.useImperativeHandle(
|
|
78
|
+
componentRef,
|
|
79
|
+
() => ({
|
|
80
|
+
blurWindow() {
|
|
81
|
+
if (componentRef.current != null) {
|
|
82
|
+
CalloutNativeComponent_2.Commands.blurWindow(nativeComponentRef.current);
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
focusWindow() {
|
|
86
|
+
if (componentRef.current != null) {
|
|
87
|
+
CalloutNativeComponent_2.Commands.focusWindow(nativeComponentRef.current);
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
}),
|
|
91
|
+
[componentRef],
|
|
92
|
+
);
|
|
93
|
+
const nativeComponentRef = React.useRef(null);
|
|
94
|
+
const [nativeTarget, setNativeTarget] = React.useState(null);
|
|
95
|
+
React.useLayoutEffect(() => {
|
|
96
|
+
if (typeof target === 'string') {
|
|
97
|
+
// Pass string type `target` directly
|
|
98
|
+
setNativeTarget(target);
|
|
99
|
+
} else if (target?.current) {
|
|
100
|
+
// Pass the tagID for a valid ref `target`
|
|
101
|
+
setNativeTarget((0, react_native_1.findNodeHandle)(target.current));
|
|
102
|
+
} else {
|
|
103
|
+
// Clear `target` so we may fall back on `anchorRect` if provided
|
|
104
|
+
setNativeTarget(null);
|
|
105
|
+
}
|
|
106
|
+
}, [target]);
|
|
107
|
+
const slotProps = (0, foundation_settings_1.mergeSettings)(useStyling(props), {
|
|
108
|
+
root: {
|
|
109
|
+
ref: nativeComponentRef,
|
|
110
|
+
...(nativeTarget && { target: nativeTarget }),
|
|
111
|
+
...rest,
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
return { slotProps };
|
|
115
|
+
},
|
|
116
|
+
settings: Callout_settings_1.settings,
|
|
117
|
+
slots: {
|
|
118
|
+
root: CalloutNativeComponent_1.default,
|
|
119
|
+
},
|
|
120
|
+
styles: {
|
|
121
|
+
root: [tokens_1.backgroundColorTokens, tokens_1.borderTokens],
|
|
122
|
+
},
|
|
97
123
|
});
|
|
98
124
|
exports.default = exports.Callout;
|
|
99
|
-
//# sourceMappingURL=Callout.js.map
|
|
125
|
+
//# sourceMappingURL=Callout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.js","sourceRoot":"","sources":["../src/Callout.tsx"],"names":[],"mappings":";AAAA;;;;GAIG
|
|
1
|
+
{"version":3,"file":"Callout.js","sourceRoot":"","sources":["../src/Callout.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,MAAY,KAAK,kCAAc;AAC/B,+CAA8C;AAE9C,0DAAoF;AAEpF,2EAA6D;AAC7D,6EAAoE;AAEpE,yDAA8C;AAE9C,mDAA8C;AAE9C,sFAAyD;AACzD,qEAAoD;AAEvC,QAAA,OAAO,GAAG,IAAA,4BAAO,EAAe;IAC3C,WAAW,EAAE,2BAAW;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,iCAAQ,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,iCAAQ,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,IAAA,6BAAc,EAAC,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,IAAA,mCAAa,EAAoB,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,2BAAQ;IAClB,KAAK,EAAE;QACL,IAAI,EAAE,gCAAiB;KACxB;IACD,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,8BAAqB,EAAE,qBAAY,CAAC;KAC5C;CACF,CAAC,CAAC;kBAEY,QAAA,OAAO"}
|
|
@@ -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
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
3
|
exports.settings = void 0;
|
|
4
|
-
const Callout_types_1 = require(
|
|
4
|
+
const Callout_types_1 = require('./Callout.types');
|
|
5
5
|
exports.settings = [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
6
|
+
{
|
|
7
|
+
tokens: {
|
|
8
|
+
backgroundColor: 'bodyStandoutBackground',
|
|
9
|
+
beakWidth: 20,
|
|
10
|
+
borderColor: 'bodyFrameBackground',
|
|
11
|
+
borderWidth: 1,
|
|
12
|
+
directionalHint: 'bottonLeftEdge',
|
|
13
|
+
gapSpace: 0,
|
|
14
|
+
minPadding: 0,
|
|
16
15
|
},
|
|
17
|
-
|
|
16
|
+
},
|
|
17
|
+
Callout_types_1.calloutName,
|
|
18
18
|
];
|
|
19
|
-
//# sourceMappingURL=Callout.settings.js.map
|
|
19
|
+
//# 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,22 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
3
|
exports.settings = void 0;
|
|
4
|
-
const Callout_types_1 = require(
|
|
4
|
+
const Callout_types_1 = require('./Callout.types');
|
|
5
5
|
exports.settings = [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
root: {
|
|
15
|
-
style: {
|
|
16
|
-
position: 'absolute',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
6
|
+
{
|
|
7
|
+
tokens: {
|
|
8
|
+
backgroundColor: 'bodyStandoutBackground',
|
|
9
|
+
borderColor: 'transparent',
|
|
10
|
+
borderWidth: 0,
|
|
11
|
+
borderRadius: 5,
|
|
12
|
+
directionalHint: 'bottonLeftEdge',
|
|
19
13
|
},
|
|
20
|
-
|
|
14
|
+
root: {
|
|
15
|
+
style: {
|
|
16
|
+
position: 'absolute',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
Callout_types_1.calloutName,
|
|
21
21
|
];
|
|
22
|
-
//# sourceMappingURL=Callout.settings.macos.js.map
|
|
22
|
+
//# sourceMappingURL=Callout.settings.macos.js.map
|