@fluentui/react-positioning 9.19.0 → 9.20.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,12 +1,21 @@
1
1
  # Change Log - @fluentui/react-positioning
2
2
 
3
- This log was last generated on Fri, 11 Jul 2025 15:56:57 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 17 Jul 2025 13:45:44 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.20.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-positioning_v9.20.0)
8
+
9
+ Thu, 17 Jul 2025 13:45:44 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-positioning_v9.19.0..@fluentui/react-positioning_v9.20.0)
11
+
12
+ ### Minor changes
13
+
14
+ - feat: enable griffel raw styles ([PR #34853](https://github.com/microsoft/fluentui/pull/34853) by martinhochel@microsoft.com)
15
+
7
16
  ## [9.19.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-positioning_v9.19.0)
8
17
 
9
- Fri, 11 Jul 2025 15:56:57 GMT
18
+ Fri, 11 Jul 2025 15:59:23 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-positioning_v9.18.5..@fluentui/react-positioning_v9.19.0)
11
20
 
12
21
  ### Minor changes
@@ -0,0 +1,30 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ import { tokens } from '@fluentui/react-theme';
3
+ export const useStyles = makeStyles({
4
+ wrapper: {
5
+ display: 'none',
6
+ height: 0,
7
+ width: 0,
8
+ pointerEvents: 'none'
9
+ },
10
+ wrapperActive: {
11
+ display: 'block'
12
+ },
13
+ svg: {
14
+ fill: 'transparent',
15
+ pointerEvents: 'none',
16
+ position: 'fixed',
17
+ top: 0,
18
+ left: 0
19
+ },
20
+ triangle: {
21
+ pointerEvents: 'auto'
22
+ },
23
+ triangleDebug: {
24
+ cursor: 'crosshair',
25
+ fill: `color-mix(in srgb, ${tokens.colorPaletteGreenBackground3} 20%, transparent)`
26
+ },
27
+ rectDebug: {
28
+ fill: `color-mix(in srgb, ${tokens.colorPaletteRedBackground3} 20%, transparent)`
29
+ }
30
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/hooks/useSafeZoneArea/SafeZoneArea.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\n\nexport const useStyles = makeStyles({\n wrapper: {\n display: 'none',\n height: 0,\n width: 0,\n pointerEvents: 'none',\n },\n wrapperActive: {\n display: 'block',\n },\n svg: {\n fill: 'transparent',\n pointerEvents: 'none',\n position: 'fixed',\n top: 0,\n left: 0,\n },\n triangle: {\n pointerEvents: 'auto',\n },\n triangleDebug: {\n cursor: 'crosshair',\n fill: `color-mix(in srgb, ${tokens.colorPaletteGreenBackground3} 20%, transparent)`,\n },\n rectDebug: {\n fill: `color-mix(in srgb, ${tokens.colorPaletteRedBackground3} 20%, transparent)`,\n },\n});\n"],"names":["makeStyles","tokens","useStyles","wrapper","display","height","width","pointerEvents","wrapperActive","svg","fill","position","top","left","triangle","triangleDebug","cursor","colorPaletteGreenBackground3","rectDebug","colorPaletteRedBackground3"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAC5C,SAASC,MAAM,QAAQ,wBAAwB;AAE/C,OAAO,MAAMC,YAAYF,WAAW;IAClCG,SAAS;QACPC,SAAS;QACTC,QAAQ;QACRC,OAAO;QACPC,eAAe;IACjB;IACAC,eAAe;QACbJ,SAAS;IACX;IACAK,KAAK;QACHC,MAAM;QACNH,eAAe;QACfI,UAAU;QACVC,KAAK;QACLC,MAAM;IACR;IACAC,UAAU;QACRP,eAAe;IACjB;IACAQ,eAAe;QACbC,QAAQ;QACRN,MAAM,CAAC,mBAAmB,EAAET,OAAOgB,4BAA4B,CAAC,kBAAkB,CAAC;IACrF;IACAC,WAAW;QACTR,MAAM,CAAC,mBAAmB,EAAET,OAAOkB,0BAA0B,CAAC,kBAAkB,CAAC;IACnF;AACF,GAAG"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useStyles", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useStyles;
9
+ }
10
+ });
11
+ const _react = require("@griffel/react");
12
+ const _reacttheme = require("@fluentui/react-theme");
13
+ const useStyles = (0, _react.makeStyles)({
14
+ wrapper: {
15
+ display: 'none',
16
+ height: 0,
17
+ width: 0,
18
+ pointerEvents: 'none'
19
+ },
20
+ wrapperActive: {
21
+ display: 'block'
22
+ },
23
+ svg: {
24
+ fill: 'transparent',
25
+ pointerEvents: 'none',
26
+ position: 'fixed',
27
+ top: 0,
28
+ left: 0
29
+ },
30
+ triangle: {
31
+ pointerEvents: 'auto'
32
+ },
33
+ triangleDebug: {
34
+ cursor: 'crosshair',
35
+ fill: `color-mix(in srgb, ${_reacttheme.tokens.colorPaletteGreenBackground3} 20%, transparent)`
36
+ },
37
+ rectDebug: {
38
+ fill: `color-mix(in srgb, ${_reacttheme.tokens.colorPaletteRedBackground3} 20%, transparent)`
39
+ }
40
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/hooks/useSafeZoneArea/SafeZoneArea.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\n\nexport const useStyles = makeStyles({\n wrapper: {\n display: 'none',\n height: 0,\n width: 0,\n pointerEvents: 'none',\n },\n wrapperActive: {\n display: 'block',\n },\n svg: {\n fill: 'transparent',\n pointerEvents: 'none',\n position: 'fixed',\n top: 0,\n left: 0,\n },\n triangle: {\n pointerEvents: 'auto',\n },\n triangleDebug: {\n cursor: 'crosshair',\n fill: `color-mix(in srgb, ${tokens.colorPaletteGreenBackground3} 20%, transparent)`,\n },\n rectDebug: {\n fill: `color-mix(in srgb, ${tokens.colorPaletteRedBackground3} 20%, transparent)`,\n },\n});\n"],"names":["useStyles","makeStyles","wrapper","display","height","width","pointerEvents","wrapperActive","svg","fill","position","top","left","triangle","triangleDebug","cursor","tokens","colorPaletteGreenBackground3","rectDebug","colorPaletteRedBackground3"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAGaA;;;eAAAA;;;uBAHc;4BACJ;AAEhB,MAAMA,YAAYC,IAAAA,iBAAAA,EAAW;IAClCC,SAAS;QACPC,SAAS;QACTC,QAAQ;QACRC,OAAO;QACPC,eAAe;IACjB;IACAC,eAAe;QACbJ,SAAS;IACX;IACAK,KAAK;QACHC,MAAM;QACNH,eAAe;QACfI,UAAU;QACVC,KAAK;QACLC,MAAM;IACR;IACAC,UAAU;QACRP,eAAe;IACjB;IACAQ,eAAe;QACbC,QAAQ;QACRN,MAAM,CAAC,mBAAmB,EAAEO,kBAAAA,CAAOC,4BAA4B,CAAC,kBAAkB,CAAC;IACrF;IACAC,WAAW;QACTT,MAAM,CAAC,mBAAmB,EAAEO,kBAAAA,CAAOG,0BAA0B,CAAC,kBAAkB,CAAC;IACnF;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-positioning",
3
- "version": "9.19.0",
3
+ "version": "9.20.0",
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",