@fluentui/react-positioning 9.74.7-experimental.cli-api.20261006-ccaa611d58.0 → 9.75.0-experimental.css-modules.20261031-810ab07afb.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.
Files changed (139) hide show
  1. package/CHANGELOG.md +38 -8
  2. package/README.md +6 -0
  3. package/lib/Arrow.module.css +45 -0
  4. package/lib/PositioningConfigurationContext.js.map +1 -1
  5. package/lib/createPositionManager.js +18 -6
  6. package/lib/createPositionManager.js.map +1 -1
  7. package/lib/hooks/useSafeZoneArea/SafeZoneArea.js +51 -110
  8. package/lib/hooks/useSafeZoneArea/SafeZoneArea.js.map +1 -1
  9. package/lib/hooks/useSafeZoneArea/SafeZoneArea.module.css +28 -0
  10. package/lib/hooks/useSafeZoneArea/SafeZoneArea.styles.css.js +9 -0
  11. package/lib/hooks/useSafeZoneArea/SafeZoneArea.styles.css.js.map +1 -0
  12. package/lib/hooks/useSafeZoneArea/SafeZoneArea.styles.js +2 -2
  13. package/lib/hooks/useSafeZoneArea/SafeZoneArea.styles.js.map +1 -1
  14. package/lib/hooks/useSafeZoneArea/SafeZoneArea.styles.raw.css.js +9 -0
  15. package/lib/hooks/useSafeZoneArea/SafeZoneArea.styles.raw.css.js.map +1 -0
  16. package/lib/hooks/useSafeZoneArea/SafeZoneArea.styles.raw.js +2 -2
  17. package/lib/hooks/useSafeZoneArea/SafeZoneArea.styles.raw.js.map +1 -1
  18. package/lib/hooks/useSafeZoneArea/computeOutsideClipPath.js +3 -6
  19. package/lib/hooks/useSafeZoneArea/computeOutsideClipPath.js.map +1 -1
  20. package/lib/hooks/useSafeZoneArea/createSafeZoneAreaStateStore.js.map +1 -1
  21. package/lib/hooks/useSafeZoneArea/getMouseAnchor.js.map +1 -1
  22. package/lib/hooks/useSafeZoneArea/getRectCorners.js.map +1 -1
  23. package/lib/hooks/useSafeZoneArea/getSafeZonePoints.js +72 -0
  24. package/lib/hooks/useSafeZoneArea/getSafeZonePoints.js.map +1 -0
  25. package/lib/hooks/useSafeZoneArea/pointsToSvgPath.js.map +1 -1
  26. package/lib/hooks/useSafeZoneArea/types.js.map +1 -1
  27. package/lib/hooks/useSafeZoneArea/useSafeZoneArea.js.map +1 -1
  28. package/lib/middleware/coverTarget.js.map +1 -1
  29. package/lib/middleware/flip.js.map +1 -1
  30. package/lib/middleware/index.js.map +1 -1
  31. package/lib/middleware/intersecting.js.map +1 -1
  32. package/lib/middleware/matchTargetSize.js.map +1 -1
  33. package/lib/middleware/maxSize.js.map +1 -1
  34. package/lib/middleware/offset.js.map +1 -1
  35. package/lib/middleware/shift.js.map +1 -1
  36. package/lib/usePositioning.js +1 -1
  37. package/lib/usePositioning.js.map +1 -1
  38. package/lib/usePositioningOptions.js.map +1 -1
  39. package/lib/usePositioningSlideDirection.js +32 -23
  40. package/lib/usePositioningSlideDirection.js.map +1 -1
  41. package/lib/utils/createResizeObserver.js.map +1 -1
  42. package/lib/utils/debounce.js.map +1 -1
  43. package/lib/utils/devtools.js.map +1 -1
  44. package/lib/utils/fromFloatingUIPlacement.js.map +1 -1
  45. package/lib/utils/getBoundary.js.map +1 -1
  46. package/lib/utils/getFloatingUIOffset.js.map +1 -1
  47. package/lib/utils/getReactFiberFromNode.js.map +1 -1
  48. package/lib/utils/getScrollParent.js.map +1 -1
  49. package/lib/utils/hasAutoFocusFilter.js.map +1 -1
  50. package/lib/utils/index.js.map +1 -1
  51. package/lib/utils/listScrollParents.js.map +1 -1
  52. package/lib/utils/mergeArrowOffset.js +1 -1
  53. package/lib/utils/mergeArrowOffset.js.map +1 -1
  54. package/lib/utils/normalizeAutoSize.js.map +1 -1
  55. package/lib/utils/parseFloatingUIPlacement.js.map +1 -1
  56. package/lib/utils/resolvePositioningShorthand.js.map +1 -1
  57. package/lib/utils/toFloatingUIPadding.js.map +1 -1
  58. package/lib/utils/toFloatingUIPlacement.js.map +1 -1
  59. package/lib/utils/toggleScrollListener.js.map +1 -1
  60. package/lib/utils/useCallbackRef.js.map +1 -1
  61. package/lib/utils/writeArrowUpdates.js.map +1 -1
  62. package/lib/utils/writeContainerupdates.js.map +1 -1
  63. package/lib-commonjs/Arrow.module.css +45 -0
  64. package/lib-commonjs/PositioningConfigurationContext.cjs +3 -3
  65. package/lib-commonjs/PositioningConfigurationContext.cjs.map +1 -1
  66. package/lib-commonjs/constants.cjs +8 -8
  67. package/lib-commonjs/constants.cjs.map +1 -1
  68. package/lib-commonjs/createArrowStyles.cjs +3 -3
  69. package/lib-commonjs/createArrowStyles.cjs.map +1 -1
  70. package/lib-commonjs/createPositionManager.cjs +18 -6
  71. package/lib-commonjs/createPositionManager.cjs.map +1 -1
  72. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.cjs +53 -121
  73. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.cjs.map +1 -1
  74. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.module.css +28 -0
  75. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.styles.cjs +2 -2
  76. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.styles.cjs.map +1 -1
  77. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.styles.css.cjs +20 -0
  78. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.styles.css.cjs.map +1 -0
  79. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.styles.raw.cjs +2 -2
  80. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.styles.raw.cjs.map +1 -1
  81. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.styles.raw.css.cjs +20 -0
  82. package/lib-commonjs/hooks/useSafeZoneArea/SafeZoneArea.styles.raw.css.cjs.map +1 -0
  83. package/lib-commonjs/hooks/useSafeZoneArea/computeOutsideClipPath.cjs +2 -5
  84. package/lib-commonjs/hooks/useSafeZoneArea/computeOutsideClipPath.cjs.map +1 -1
  85. package/lib-commonjs/hooks/useSafeZoneArea/createSafeZoneAreaStateStore.cjs.map +1 -1
  86. package/lib-commonjs/hooks/useSafeZoneArea/getMouseAnchor.cjs +4 -4
  87. package/lib-commonjs/hooks/useSafeZoneArea/getMouseAnchor.cjs.map +1 -1
  88. package/lib-commonjs/hooks/useSafeZoneArea/getRectCorners.cjs.map +1 -1
  89. package/lib-commonjs/hooks/useSafeZoneArea/getSafeZonePoints.cjs +82 -0
  90. package/lib-commonjs/hooks/useSafeZoneArea/getSafeZonePoints.cjs.map +1 -0
  91. package/lib-commonjs/hooks/useSafeZoneArea/pointsToSvgPath.cjs.map +1 -1
  92. package/lib-commonjs/hooks/useSafeZoneArea/types.cjs.map +1 -1
  93. package/lib-commonjs/hooks/useSafeZoneArea/useSafeZoneArea.cjs.map +1 -1
  94. package/lib-commonjs/index.cjs +14 -14
  95. package/lib-commonjs/index.cjs.map +1 -1
  96. package/lib-commonjs/middleware/coverTarget.cjs.map +1 -1
  97. package/lib-commonjs/middleware/flip.cjs.map +1 -1
  98. package/lib-commonjs/middleware/index.cjs +10 -10
  99. package/lib-commonjs/middleware/index.cjs.map +1 -1
  100. package/lib-commonjs/middleware/intersecting.cjs.map +1 -1
  101. package/lib-commonjs/middleware/matchTargetSize.cjs +3 -3
  102. package/lib-commonjs/middleware/matchTargetSize.cjs.map +1 -1
  103. package/lib-commonjs/middleware/maxSize.cjs +3 -3
  104. package/lib-commonjs/middleware/maxSize.cjs.map +1 -1
  105. package/lib-commonjs/middleware/offset.cjs.map +1 -1
  106. package/lib-commonjs/middleware/shift.cjs.map +1 -1
  107. package/lib-commonjs/usePositioning.cjs +1 -1
  108. package/lib-commonjs/usePositioning.cjs.map +1 -1
  109. package/lib-commonjs/usePositioningOptions.cjs.map +1 -1
  110. package/lib-commonjs/usePositioningSlideDirection.cjs +35 -26
  111. package/lib-commonjs/usePositioningSlideDirection.cjs.map +1 -1
  112. package/lib-commonjs/utils/createResizeObserver.cjs.map +1 -1
  113. package/lib-commonjs/utils/debounce.cjs.map +1 -1
  114. package/lib-commonjs/utils/devtools.cjs.map +1 -1
  115. package/lib-commonjs/utils/fromFloatingUIPlacement.cjs.map +1 -1
  116. package/lib-commonjs/utils/getBoundary.cjs.map +1 -1
  117. package/lib-commonjs/utils/getFloatingUIOffset.cjs.map +1 -1
  118. package/lib-commonjs/utils/getReactFiberFromNode.cjs.map +1 -1
  119. package/lib-commonjs/utils/getScrollParent.cjs +5 -5
  120. package/lib-commonjs/utils/getScrollParent.cjs.map +1 -1
  121. package/lib-commonjs/utils/hasAutoFocusFilter.cjs.map +1 -1
  122. package/lib-commonjs/utils/index.cjs +19 -19
  123. package/lib-commonjs/utils/index.cjs.map +1 -1
  124. package/lib-commonjs/utils/listScrollParents.cjs.map +1 -1
  125. package/lib-commonjs/utils/mergeArrowOffset.cjs +1 -1
  126. package/lib-commonjs/utils/mergeArrowOffset.cjs.map +1 -1
  127. package/lib-commonjs/utils/normalizeAutoSize.cjs.map +1 -1
  128. package/lib-commonjs/utils/parseFloatingUIPlacement.cjs.map +1 -1
  129. package/lib-commonjs/utils/resolvePositioningShorthand.cjs +1 -1
  130. package/lib-commonjs/utils/resolvePositioningShorthand.cjs.map +1 -1
  131. package/lib-commonjs/utils/toFloatingUIPadding.cjs.map +1 -1
  132. package/lib-commonjs/utils/toFloatingUIPlacement.cjs.map +1 -1
  133. package/lib-commonjs/utils/toggleScrollListener.cjs.map +1 -1
  134. package/lib-commonjs/utils/useCallbackRef.cjs.map +1 -1
  135. package/lib-commonjs/utils/writeArrowUpdates.cjs.map +1 -1
  136. package/lib-commonjs/utils/writeContainerupdates.cjs.map +1 -1
  137. package/package.json +11 -10
  138. package/dist/metadata/api/api-root.json +0 -1
  139. package/dist/metadata/index.json +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/utils/writeContainerupdates.ts"],"sourcesContent":["import type { Placement, MiddlewareData, Strategy, Coords } from '@floating-ui/dom';\nimport {\n DATA_POSITIONING_ESCAPED,\n DATA_POSITIONING_HIDDEN,\n DATA_POSITIONING_INTERSECTING,\n DATA_POSITIONING_PLACEMENT,\n} from '../constants';\n\n/**\n * Writes all container element position updates after the position is computed\n */\nexport function writeContainerUpdates(options: {\n container: HTMLElement | null;\n placement: Placement;\n middlewareData: MiddlewareData;\n /**\n * Layer acceleration can disable subpixel rendering which causes slightly\n * blurry text on low PPI displays, so we want to use 2D transforms\n * instead\n */\n lowPPI: boolean;\n strategy: Strategy;\n coordinates: Coords;\n useTransform?: boolean;\n}): void {\n const { container, placement, middlewareData, strategy, lowPPI, coordinates, useTransform = true } = options;\n if (!container) {\n return;\n }\n container.setAttribute(DATA_POSITIONING_PLACEMENT, placement);\n container.removeAttribute(DATA_POSITIONING_INTERSECTING);\n if (middlewareData.intersectionObserver.intersecting) {\n container.setAttribute(DATA_POSITIONING_INTERSECTING, '');\n }\n\n container.removeAttribute(DATA_POSITIONING_ESCAPED);\n if (middlewareData.hide?.escaped) {\n container.setAttribute(DATA_POSITIONING_ESCAPED, '');\n }\n\n container.removeAttribute(DATA_POSITIONING_HIDDEN);\n if (middlewareData.hide?.referenceHidden) {\n container.setAttribute(DATA_POSITIONING_HIDDEN, '');\n }\n\n // Round so that the coordinates land on device pixels.\n // This prevents blurriness in cases where the browser doesn't apply pixel snapping, such as when other effects like\n // `backdrop-filter: blur()` are applied to the container, and the browser is zoomed in.\n // See https://github.com/microsoft/fluentui/issues/26764 for more info.\n const devicePixelRatio = container.ownerDocument.defaultView?.devicePixelRatio || 1;\n const x = Math.round(coordinates.x * devicePixelRatio) / devicePixelRatio;\n const y = Math.round(coordinates.y * devicePixelRatio) / devicePixelRatio;\n\n Object.assign(container.style, {\n position: strategy,\n });\n\n if (useTransform) {\n Object.assign(container.style, {\n transform: lowPPI ? `translate(${x}px, ${y}px)` : `translate3d(${x}px, ${y}px, 0)`,\n });\n return;\n }\n\n Object.assign(container.style, {\n left: `${x}px`,\n top: `${y}px`,\n });\n}\n"],"names":["DATA_POSITIONING_ESCAPED","DATA_POSITIONING_HIDDEN","DATA_POSITIONING_INTERSECTING","DATA_POSITIONING_PLACEMENT","writeContainerUpdates","options","middlewareData","container","placement","strategy","lowPPI","coordinates","useTransform","setAttribute","removeAttribute","intersectionObserver","intersecting","hide","escaped","referenceHidden","devicePixelRatio","ownerDocument","defaultView","x","Math","round","y","Object","assign","style","position","transform","left","top"],"mappings":";;;;+BAWgBI;;;;;;2BALT,kBAAe;AAKf,+BAA+BC,OAarC;QAYKC,sBAKAA,uBAQqBC;IAxBzB,MAAM,EAAEA,SAAS,EAAEC,SAAS,EAAEF,cAAc,EAAEG,QAAQ,EAAEC,MAAM,EAAEC,WAAW,EAAEC,eAAe,IAAI,EAAE,GAAGP;IACrG,IAAI,CAACE,WAAW;QACd;IACF;IACAA,UAAUM,YAAY,CAACV,qCAAAA,EAA4BK;IACnDD,UAAUO,eAAe,CAACZ,wCAAAA;IAC1B,IAAII,eAAeS,oBAAoB,CAACC,YAAY,EAAE;QACpDT,UAAUM,YAAY,CAACX,wCAAAA,EAA+B;IACxD;IAEAK,UAAUO,eAAe,CAACd,mCAAAA;IAC1B,IAAA,CAAIM,uBAAAA,eAAeW,IAAAA,AAAI,MAAA,QAAnBX,yBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,qBAAqBY,OAAO,EAAE;QAChCX,UAAUM,YAAY,CAACb,mCAAAA,EAA0B;IACnD;IAEAO,UAAUO,eAAe,CAACb,kCAAAA;IAC1B,IAAA,CAAIK,wBAAAA,eAAeW,IAAAA,AAAI,MAAA,QAAnBX,0BAAAA,KAAAA,IAAAA,KAAAA,IAAAA,sBAAqBa,eAAe,EAAE;QACxCZ,UAAUM,YAAY,CAACZ,kCAAAA,EAAyB;IAClD;IAEA,uDAAuD;IACvD,oHAAoH;IACpH,wFAAwF;IACxF,wEAAwE;IACxE,MAAMmB,mBAAmBb,CAAAA,CAAAA,uCAAAA,UAAUc,aAAa,CAACC,WAAAA,AAAW,MAAA,QAAnCf,yCAAAA,KAAAA,IAAAA,KAAAA,IAAAA,qCAAqCa,gBAAAA,AAAgB,KAAI;IAClF,MAAMG,IAAIC,KAAKC,KAAK,CAACd,YAAYY,CAAC,GAAGH,oBAAoBA;IACzD,MAAMM,IAAIF,KAAKC,KAAK,CAACd,YAAYe,CAAC,GAAGN,oBAAoBA;IAEzDO,OAAOC,MAAM,CAACrB,UAAUsB,KAAK,EAAE;QAC7BC,UAAUrB;IACZ;IAEA,IAAIG,cAAc;QAChBe,OAAOC,MAAM,CAACrB,UAAUsB,KAAK,EAAE;YAC7BE,WAAWrB,SAAS,CAAC,UAAU,EAAEa,EAAE,IAAI,EAAEG,EAAE,GAAG,CAAC,GAAG,CAAC,YAAY,EAAEH,EAAE,IAAI,EAAEG,EAAE,MAAM,CAAC;QACpF;QACA;IACF;IAEAC,OAAOC,MAAM,CAACrB,UAAUsB,KAAK,EAAE;QAC7BG,MAAM,GAAGT,EAAE,EAAE,CAAC;QACdU,KAAK,GAAGP,EAAE,EAAE,CAAC;IACf;AACF"}
1
+ {"version":3,"sources":["../../src/utils/writeContainerupdates.ts"],"sourcesContent":["import type { Placement, MiddlewareData, Strategy, Coords } from '@floating-ui/dom';\nimport {\n DATA_POSITIONING_ESCAPED,\n DATA_POSITIONING_HIDDEN,\n DATA_POSITIONING_INTERSECTING,\n DATA_POSITIONING_PLACEMENT,\n} from '../constants';\n\n/**\n * Writes all container element position updates after the position is computed\n */\nexport function writeContainerUpdates(options: {\n container: HTMLElement | null;\n placement: Placement;\n middlewareData: MiddlewareData;\n /**\n * Layer acceleration can disable subpixel rendering which causes slightly\n * blurry text on low PPI displays, so we want to use 2D transforms\n * instead\n */\n lowPPI: boolean;\n strategy: Strategy;\n coordinates: Coords;\n useTransform?: boolean;\n}): void {\n const { container, placement, middlewareData, strategy, lowPPI, coordinates, useTransform = true } = options;\n if (!container) {\n return;\n }\n container.setAttribute(DATA_POSITIONING_PLACEMENT, placement);\n container.removeAttribute(DATA_POSITIONING_INTERSECTING);\n if (middlewareData.intersectionObserver.intersecting) {\n container.setAttribute(DATA_POSITIONING_INTERSECTING, '');\n }\n\n container.removeAttribute(DATA_POSITIONING_ESCAPED);\n if (middlewareData.hide?.escaped) {\n container.setAttribute(DATA_POSITIONING_ESCAPED, '');\n }\n\n container.removeAttribute(DATA_POSITIONING_HIDDEN);\n if (middlewareData.hide?.referenceHidden) {\n container.setAttribute(DATA_POSITIONING_HIDDEN, '');\n }\n\n // Round so that the coordinates land on device pixels.\n // This prevents blurriness in cases where the browser doesn't apply pixel snapping, such as when other effects like\n // `backdrop-filter: blur()` are applied to the container, and the browser is zoomed in.\n // See https://github.com/microsoft/fluentui/issues/26764 for more info.\n const devicePixelRatio = container.ownerDocument.defaultView?.devicePixelRatio || 1;\n const x = Math.round(coordinates.x * devicePixelRatio) / devicePixelRatio;\n const y = Math.round(coordinates.y * devicePixelRatio) / devicePixelRatio;\n\n Object.assign(container.style, {\n position: strategy,\n });\n\n if (useTransform) {\n Object.assign(container.style, {\n transform: lowPPI ? `translate(${x}px, ${y}px)` : `translate3d(${x}px, ${y}px, 0)`,\n });\n return;\n }\n\n Object.assign(container.style, {\n left: `${x}px`,\n top: `${y}px`,\n });\n}\n"],"names":["DATA_POSITIONING_ESCAPED","DATA_POSITIONING_HIDDEN","DATA_POSITIONING_INTERSECTING","DATA_POSITIONING_PLACEMENT","writeContainerUpdates","options","middlewareData","container","placement","strategy","lowPPI","coordinates","useTransform","setAttribute","removeAttribute","intersectionObserver","intersecting","hide","escaped","referenceHidden","devicePixelRatio","ownerDocument","defaultView","x","Math","round","y","Object","assign","style","position","transform","left","top"],"mappings":";;;;+BAWgBI;;;;;;2BALT,kBAAe;AAKf,+BAA+BC,OAarC;QAYKC,sBAKAA,uBAQqBC;IAxBzB,MAAM,EAAEA,SAAS,EAAEC,SAAS,EAAEF,cAAc,EAAEG,QAAQ,EAAEC,MAAM,EAAEC,WAAW,EAAEC,eAAe,IAAI,EAAE,GAAGP;IACrG,IAAI,CAACE,WAAW;QACd;IACF;IACAA,UAAUM,YAAY,CAACV,qCAAAA,EAA4BK;IACnDD,UAAUO,eAAe,CAACZ,wCAAAA;IAC1B,IAAII,eAAeS,oBAAoB,CAACC,YAAY,EAAE;QACpDT,UAAUM,YAAY,CAACX,wCAAAA,EAA+B;IACxD;IAEAK,UAAUO,eAAe,CAACd,mCAAAA;IAC1B,IAAA,CAAIM,uBAAAA,eAAeW,IAAAA,AAAI,MAAA,QAAnBX,yBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,qBAAqBY,OAAO,EAAE;QAChCX,UAAUM,YAAY,CAACb,mCAAAA,EAA0B;IACnD;IAEAO,UAAUO,eAAe,CAACb,kCAAAA;IAC1B,IAAA,CAAIK,wBAAAA,eAAeW,IAAAA,AAAI,MAAA,QAAnBX,0BAAAA,KAAAA,IAAAA,KAAAA,IAAAA,sBAAqBa,eAAe,EAAE;QACxCZ,UAAUM,YAAY,CAACZ,kCAAAA,EAAyB;IAClD;IAEA,uDAAuD;IACvD,oHAAoH;IACpH,wFAAwF;IACxF,wEAAwE;IACxE,MAAMmB,mBAAmBb,CAAAA,CAAAA,uCAAAA,UAAUc,aAAa,CAACC,WAAAA,AAAW,MAAA,QAAnCf,yCAAAA,KAAAA,IAAAA,KAAAA,IAAAA,qCAAqCa,gBAAAA,AAAgB,KAAI;IAClF,MAAMG,IAAIC,KAAKC,KAAK,CAACd,YAAYY,CAAC,GAAGH,oBAAoBA;IACzD,MAAMM,IAAIF,KAAKC,KAAK,CAACd,YAAYe,CAAC,GAAGN,oBAAoBA;IAEzDO,OAAOC,MAAM,CAACrB,UAAUsB,KAAK,EAAE;QAC7BC,UAAUrB;IACZ;IAEA,IAAIG,cAAc;QAChBe,OAAOC,MAAM,CAACrB,UAAUsB,KAAK,EAAE;YAC7BE,WAAWrB,SAAS,CAAC,UAAU,EAAEa,EAAE,IAAI,EAAEG,EAAE,GAAG,CAAC,GAAG,CAAC,YAAY,EAAEH,EAAE,IAAI,EAAEG,EAAE,MAAM,CAAC;QACpF;QACA;IACF;IAEAC,OAAOC,MAAM,CAACrB,UAAUsB,KAAK,EAAE;QAC7BG,MAAM,GAAGT,EAAE,EAAE,CAAC;QACdU,KAAK,GAAGP,EAAE,EAAE,CAAC;IACf;AACF"}
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@fluentui/react-positioning",
3
- "version": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
3
+ "version": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
4
4
  "description": "A react wrapper around Popper.js for Fluent UI",
5
5
  "main": "lib-commonjs/index.cjs",
6
6
  "module": "lib/index.js",
7
7
  "typings": "./dist/index.d.ts",
8
- "sideEffects": false,
8
+ "sideEffects": [
9
+ "**/*.css"
10
+ ],
9
11
  "repository": {
10
12
  "type": "git",
11
13
  "url": "https://github.com/microsoft/fluentui"
@@ -14,11 +16,12 @@
14
16
  "dependencies": {
15
17
  "@floating-ui/devtools": "^0.2.3",
16
18
  "@floating-ui/dom": "^1.6.12",
17
- "@fluentui/react-shared-contexts": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
18
- "@fluentui/react-theme": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
19
- "@fluentui/react-utilities": "9.74.7-experimental.cli-api.20261006-ccaa611d58.0",
19
+ "@fluentui/react-shared-contexts": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
20
+ "@fluentui/react-theme": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
21
+ "@fluentui/react-utilities": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
20
22
  "@griffel/react": "^1.5.32",
21
23
  "@swc/helpers": "^0.5.1",
24
+ "clsx": "^2.1.1",
22
25
  "use-sync-external-store": "^1.4.0"
23
26
  },
24
27
  "peerDependencies": {
@@ -42,7 +45,7 @@
42
45
  "default": "./lib-commonjs/index.cjs"
43
46
  }
44
47
  },
45
- "./metadata.json": "./dist/metadata/index.json",
48
+ "./arrow.module.css": "./lib/Arrow.module.css",
46
49
  "./package.json": "./package.json"
47
50
  },
48
51
  "files": [
@@ -50,9 +53,7 @@
50
53
  "dist/*.d.ts",
51
54
  "dist/*.d.cts",
52
55
  "lib",
53
- "lib-commonjs",
54
- "dist/metadata"
56
+ "lib-commonjs"
55
57
  ],
56
- "type": "module",
57
- "fluentuiCatalog": "./metadata.json"
58
+ "type": "module"
58
59
  }