@fluentui/react-positioning 0.0.0-nightly99adff5a9a20211125.1 → 0.0.0-nightlyb2deb9be1720211130.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +44 -11
- package/CHANGELOG.md +20 -8
- package/dist/react-positioning.d.ts +3 -3
- package/lib/createArrowStyles.d.ts +3 -3
- package/lib/createArrowStyles.js +3 -3
- package/lib/createArrowStyles.js.map +1 -1
- package/lib-commonjs/createArrowStyles.d.ts +3 -3
- package/lib-commonjs/createArrowStyles.js +3 -3
- package/lib-commonjs/createArrowStyles.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.json
CHANGED
@@ -2,9 +2,42 @@
|
|
2
2
|
"name": "@fluentui/react-positioning",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-positioning_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Tue, 30 Nov 2021 04:13:51 GMT",
|
6
|
+
"tag": "@fluentui/react-positioning_v0.0.0-nightlyb2deb9be1720211130.1",
|
7
|
+
"version": "0.0.0-nightlyb2deb9be1720211130.1",
|
8
|
+
"comments": {
|
9
|
+
"prerelease": [
|
10
|
+
{
|
11
|
+
"author": "olfedias@microsoft.com",
|
12
|
+
"package": "@fluentui/react-positioning",
|
13
|
+
"commit": "a76afe26daad901ff5458ffdda7e66e600d5bcac",
|
14
|
+
"comment": "use new types from makeStyles core"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-positioning",
|
19
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyb2deb9be1720211130.1",
|
20
|
+
"commit": "941112351e1504869184ee2ec1273f418967a448"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-positioning",
|
25
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlyb2deb9be1720211130.1",
|
26
|
+
"commit": "941112351e1504869184ee2ec1273f418967a448"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-positioning",
|
31
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyb2deb9be1720211130.1",
|
32
|
+
"commit": "941112351e1504869184ee2ec1273f418967a448"
|
33
|
+
}
|
34
|
+
]
|
35
|
+
}
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"date": "Thu, 25 Nov 2021 08:34:15 GMT",
|
39
|
+
"tag": "@fluentui/react-positioning_v9.0.0-beta.4",
|
40
|
+
"version": "9.0.0-beta.4",
|
8
41
|
"comments": {
|
9
42
|
"none": [
|
10
43
|
{
|
@@ -24,26 +57,26 @@
|
|
24
57
|
{
|
25
58
|
"author": "beachball",
|
26
59
|
"package": "@fluentui/react-positioning",
|
27
|
-
"comment": "Bump @fluentui/react-make-styles to
|
28
|
-
"commit": "
|
60
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
61
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
29
62
|
},
|
30
63
|
{
|
31
64
|
"author": "beachball",
|
32
65
|
"package": "@fluentui/react-positioning",
|
33
|
-
"comment": "Bump @fluentui/react-shared-contexts to
|
34
|
-
"commit": "
|
66
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
67
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
35
68
|
},
|
36
69
|
{
|
37
70
|
"author": "beachball",
|
38
71
|
"package": "@fluentui/react-positioning",
|
39
|
-
"comment": "Bump @fluentui/react-utilities to
|
40
|
-
"commit": "
|
72
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
73
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
41
74
|
},
|
42
75
|
{
|
43
76
|
"author": "beachball",
|
44
77
|
"package": "@fluentui/react-positioning",
|
45
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
46
|
-
"commit": "
|
78
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
79
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
47
80
|
}
|
48
81
|
]
|
49
82
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,21 +1,33 @@
|
|
1
1
|
# Change Log - @fluentui/react-positioning
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Tue, 30 Nov 2021 04:13:51 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlyb2deb9be1720211130.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-positioning_v0.0.0-nightlyb2deb9be1720211130.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-positioning_v9.0.0-beta.
|
9
|
+
Tue, 30 Nov 2021 04:13:51 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-positioning_v9.0.0-beta.4..@fluentui/react-positioning_v0.0.0-nightlyb2deb9be1720211130.1)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- use new types from makeStyles core ([PR #20786](https://github.com/microsoft/fluentui/pull/20786) by olfedias@microsoft.com)
|
15
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightlyb2deb9be1720211130.1 ([commit](https://github.com/microsoft/fluentui/commit/941112351e1504869184ee2ec1273f418967a448) by beachball)
|
16
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightlyb2deb9be1720211130.1 ([commit](https://github.com/microsoft/fluentui/commit/941112351e1504869184ee2ec1273f418967a448) by beachball)
|
17
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightlyb2deb9be1720211130.1 ([commit](https://github.com/microsoft/fluentui/commit/941112351e1504869184ee2ec1273f418967a448) by beachball)
|
18
|
+
|
19
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-positioning_v9.0.0-beta.4)
|
20
|
+
|
21
|
+
Thu, 25 Nov 2021 08:34:15 GMT
|
22
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-positioning_v9.0.0-beta.3..@fluentui/react-positioning_v9.0.0-beta.4)
|
11
23
|
|
12
24
|
### Changes
|
13
25
|
|
14
26
|
- Add utility function to create styles for an arrow element ([PR #20541](https://github.com/microsoft/fluentui/pull/20541) by lingfangao@hotmail.com)
|
15
|
-
- Bump @fluentui/react-make-styles to
|
16
|
-
- Bump @fluentui/react-shared-contexts to
|
17
|
-
- Bump @fluentui/react-utilities to
|
18
|
-
- Bump @fluentui/babel-make-styles to
|
27
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
28
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
29
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
30
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
19
31
|
|
20
32
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-positioning_v9.0.0-beta.3)
|
21
33
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { MakeStylesStyleRule } from '@fluentui/make-styles';
|
1
|
+
import type { MakeStylesStyleRule } from '@fluentui/react-make-styles';
|
2
2
|
import * as PopperJs from '@popperjs/core';
|
3
3
|
import * as React_2 from 'react';
|
4
4
|
import type { Theme } from '@fluentui/react-theme';
|
@@ -23,8 +23,8 @@ export declare type Boundary = PopperJs.Boundary | 'scrollParent' | 'window';
|
|
23
23
|
* })
|
24
24
|
* ...
|
25
25
|
*
|
26
|
-
* state.arrowWithSize.
|
27
|
-
* state.arrowWithoutSize.className =
|
26
|
+
* state.arrowWithSize.className = styles.arrowWithSize
|
27
|
+
* state.arrowWithoutSize.className = mergeClasses(
|
28
28
|
* styles.arrowWithoutSize,
|
29
29
|
* state.smallArrow && styles.smallArrow,
|
30
30
|
* state.mediumArrow && styles.mediumArrow,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { MakeStylesStyleRule } from '@fluentui/make-styles';
|
1
|
+
import type { MakeStylesStyleRule } from '@fluentui/react-make-styles';
|
2
2
|
import type { Theme } from '@fluentui/react-theme';
|
3
3
|
/**
|
4
4
|
* Helper that creates a makeStyles rule for an arrow element.
|
@@ -14,8 +14,8 @@ import type { Theme } from '@fluentui/react-theme';
|
|
14
14
|
* })
|
15
15
|
* ...
|
16
16
|
*
|
17
|
-
* state.arrowWithSize.
|
18
|
-
* state.arrowWithoutSize.className =
|
17
|
+
* state.arrowWithSize.className = styles.arrowWithSize
|
18
|
+
* state.arrowWithoutSize.className = mergeClasses(
|
19
19
|
* styles.arrowWithoutSize,
|
20
20
|
* state.smallArrow && styles.smallArrow,
|
21
21
|
* state.mediumArrow && styles.mediumArrow,
|
package/lib/createArrowStyles.js
CHANGED
@@ -12,8 +12,8 @@
|
|
12
12
|
* })
|
13
13
|
* ...
|
14
14
|
*
|
15
|
-
* state.arrowWithSize.
|
16
|
-
* state.arrowWithoutSize.className =
|
15
|
+
* state.arrowWithSize.className = styles.arrowWithSize
|
16
|
+
* state.arrowWithoutSize.className = mergeClasses(
|
17
17
|
* styles.arrowWithoutSize,
|
18
18
|
* state.smallArrow && styles.smallArrow,
|
19
19
|
* state.mediumArrow && styles.mediumArrow,
|
@@ -35,7 +35,7 @@ export function createArrowStyles(size) {
|
|
35
35
|
visibility: 'hidden',
|
36
36
|
zIndex: -1,
|
37
37
|
...(size && {
|
38
|
-
aspectRatio: 1,
|
38
|
+
aspectRatio: '1',
|
39
39
|
width: `${size}px`
|
40
40
|
}),
|
41
41
|
':before': {
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AU,EAAE,SAPH;AAQT,QAAA,uBAAuB,EAAE,KAAK,CAAC,iBARtB;AAST,QAAA,SAAS,EAAE;AATF,OAXN;AAuBL,0CAAoC;AAClC,mBAAW;AADuB,OAvB/B;AA2BL;AACA,iDAA2C;AACzC,QAAA,MAAM,EAAE,CADiC;AAEzC,mBAAW;AAF8B,OA5BtC;AAiCL,mDAA6C;AAC3C,QAAA,IAAI,EAAE,CADqC;AAE3C,mBAAW;AAFgC,OAjCxC;AAqCL,oDAA8C;AAC5C,QAAA,GAAG,EAAE,CADuC;AAE5C,mBAAW;AAFiC,OArCzC;AAyCL,kDAA4C;AAC1C,QAAA,KAAK,EAAE,CADmC;AAE1C,mBAAW;AAF+B;AAzCvC,KAAP;AA8CD,GArDD;AAsDD","sourceRoot":""}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { MakeStylesStyleRule } from '@fluentui/make-styles';
|
1
|
+
import type { MakeStylesStyleRule } from '@fluentui/react-make-styles';
|
2
2
|
import type { Theme } from '@fluentui/react-theme';
|
3
3
|
/**
|
4
4
|
* Helper that creates a makeStyles rule for an arrow element.
|
@@ -14,8 +14,8 @@ import type { Theme } from '@fluentui/react-theme';
|
|
14
14
|
* })
|
15
15
|
* ...
|
16
16
|
*
|
17
|
-
* state.arrowWithSize.
|
18
|
-
* state.arrowWithoutSize.className =
|
17
|
+
* state.arrowWithSize.className = styles.arrowWithSize
|
18
|
+
* state.arrowWithoutSize.className = mergeClasses(
|
19
19
|
* styles.arrowWithoutSize,
|
20
20
|
* state.smallArrow && styles.smallArrow,
|
21
21
|
* state.mediumArrow && styles.mediumArrow,
|
@@ -18,8 +18,8 @@ exports.createArrowStyles = void 0;
|
|
18
18
|
* })
|
19
19
|
* ...
|
20
20
|
*
|
21
|
-
* state.arrowWithSize.
|
22
|
-
* state.arrowWithoutSize.className =
|
21
|
+
* state.arrowWithSize.className = styles.arrowWithSize
|
22
|
+
* state.arrowWithoutSize.className = mergeClasses(
|
23
23
|
* styles.arrowWithoutSize,
|
24
24
|
* state.smallArrow && styles.smallArrow,
|
25
25
|
* state.mediumArrow && styles.mediumArrow,
|
@@ -42,7 +42,7 @@ function createArrowStyles(size) {
|
|
42
42
|
visibility: 'hidden',
|
43
43
|
zIndex: -1,
|
44
44
|
...(size && {
|
45
|
-
aspectRatio: 1,
|
45
|
+
aspectRatio: '1',
|
46
46
|
width: `${size}px`
|
47
47
|
}),
|
48
48
|
':before': {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/createArrowStyles.ts"],"names":[],"mappings":";;;;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;AAuBG;;AACH,SAAgB,iBAAhB,CAAkC,IAAlC,EAA+C;AAC7C,SAAO,KAAK,IAAG;AACb,UAAM,kBAAkB,GAAG,uBAA3B;AACA,UAAM,aAAa,GAAG;AACpB,MAAA,WAAW,EAAE,kBADO;AAEpB,MAAA,YAAY,EAAE;AAFM,KAAtB;AAKA,WAAO;AACL,MAAA,QAAQ,EAAE,UADL;AAEL,MAAA,UAAU,EAAE,SAFP;AAGL,MAAA,UAAU,EAAE,QAHP;AAIL,MAAA,MAAM,EAAE,CAAC,CAJJ;AAML,UAAI,IAAI,IAAI;AACV,QAAA,WAAW,EAAE,
|
1
|
+
{"version":3,"sources":["../src/createArrowStyles.ts"],"names":[],"mappings":";;;;;;AAGA;;;;;;;;;;;;;;;;;;;;;;;AAuBG;;AACH,SAAgB,iBAAhB,CAAkC,IAAlC,EAA+C;AAC7C,SAAO,KAAK,IAAG;AACb,UAAM,kBAAkB,GAAG,uBAA3B;AACA,UAAM,aAAa,GAAG;AACpB,MAAA,WAAW,EAAE,kBADO;AAEpB,MAAA,YAAY,EAAE;AAFM,KAAtB;AAKA,WAAO;AACL,MAAA,QAAQ,EAAE,UADL;AAEL,MAAA,UAAU,EAAE,SAFP;AAGL,MAAA,UAAU,EAAE,QAHP;AAIL,MAAA,MAAM,EAAE,CAAC,CAJJ;AAML,UAAI,IAAI,IAAI;AACV,QAAA,WAAW,EAAE,GADH;AAEV,QAAA,KAAK,EAAE,GAAG,IAAI;AAFJ,OAAZ,CANK;AAWL,iBAAW;AACT,QAAA,OAAO,EAAE,IADA;AAET,QAAA,YAAY,EAAE,KAFL;AAGT,QAAA,QAAQ,EAAE,UAHD;AAIT,QAAA,KAAK,EAAE,SAJE;AAKT,QAAA,MAAM,EAAE,SALC;AAMT,QAAA,UAAU,EAAE,SANH;AAOT,QAAA,UAAU,EAAE,SAPH;AAQT,QAAA,uBAAuB,EAAE,KAAK,CAAC,iBARtB;AAST,QAAA,SAAS,EAAE;AATF,OAXN;AAuBL,0CAAoC;AAClC,mBAAW;AADuB,OAvB/B;AA2BL;AACA,iDAA2C;AACzC,QAAA,MAAM,EAAE,CADiC;AAEzC,mBAAW;AAF8B,OA5BtC;AAiCL,mDAA6C;AAC3C,QAAA,IAAI,EAAE,CADqC;AAE3C,mBAAW;AAFgC,OAjCxC;AAqCL,oDAA8C;AAC5C,QAAA,GAAG,EAAE,CADuC;AAE5C,mBAAW;AAFiC,OArCzC;AAyCL,kDAA4C;AAC1C,QAAA,KAAK,EAAE,CADmC;AAE1C,mBAAW;AAF+B;AAzCvC,KAAP;AA8CD,GArDD;AAsDD;;AAvDD,OAAA,CAAA,iBAAA,GAAA,iBAAA","sourceRoot":""}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-positioning",
|
3
|
-
"version": "0.0.0-
|
3
|
+
"version": "0.0.0-nightlyb2deb9be1720211130.1",
|
4
4
|
"description": "A react wrapper around Popper.js for Fluent UI",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -30,12 +30,12 @@
|
|
30
30
|
"@types/react-dom": "16.9.10",
|
31
31
|
"react": "16.8.6",
|
32
32
|
"react-dom": "16.8.6",
|
33
|
-
"@fluentui/babel-make-styles": "0.0.0-
|
33
|
+
"@fluentui/babel-make-styles": "0.0.0-nightlyb2deb9be1720211130.1"
|
34
34
|
},
|
35
35
|
"dependencies": {
|
36
|
-
"@fluentui/react-make-styles": "0.0.0-
|
37
|
-
"@fluentui/react-shared-contexts": "0.0.0-
|
38
|
-
"@fluentui/react-utilities": "0.0.0-
|
36
|
+
"@fluentui/react-make-styles": "0.0.0-nightlyb2deb9be1720211130.1",
|
37
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightlyb2deb9be1720211130.1",
|
38
|
+
"@fluentui/react-utilities": "0.0.0-nightlyb2deb9be1720211130.0",
|
39
39
|
"@popperjs/core": "~2.4.3",
|
40
40
|
"tslib": "^2.1.0"
|
41
41
|
},
|