@jobber/components 6.101.1 → 6.101.2

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.
@@ -232,21 +232,20 @@ function ModalContent({ children }) {
232
232
  React.createElement(AtlantisPortalContent.AtlantisPortalContent, null,
233
233
  React.createElement(ModalOverlay, null,
234
234
  React.createElement(floatingUi_react.FloatingFocusManager, { context: floatingContext, returnFocus: (activatorRef === null || activatorRef === void 0 ? void 0 : activatorRef.current) ? activatorRef : true, order: ["floating", "content"] },
235
- React.createElement(framerMotion.motion.div, { initial: { scale: 0.9, opacity: 0 }, animate: { scale: 1, opacity: 1 }, exit: { scale: 0.9, opacity: 0 }, transition: {
235
+ React.createElement(framerMotion.motion.div, Object.assign({ initial: { scale: 0.9, opacity: 0 }, animate: { scale: 1, opacity: 1 }, exit: { scale: 0.9, opacity: 0 }, transition: {
236
236
  duration: 0.2,
237
237
  ease: "easeInOut",
238
- } },
239
- React.createElement("div", Object.assign({ ref: floatingRefs === null || floatingRefs === void 0 ? void 0 : floatingRefs.setFloating, "data-modal-node-id": floatingNodeId }, getFloatingProps({
240
- role: "dialog",
241
- className: modal,
242
- "aria-labelledby": modalLabelledBy,
243
- "aria-label": ariaLabel,
244
- "aria-modal": true,
245
- }), { onPointerDownCapture: () => {
246
- // Interaction began inside dialog
247
- if (startedInsideRef)
248
- startedInsideRef.current = true;
249
- } }), children))))))))));
238
+ }, ref: floatingRefs === null || floatingRefs === void 0 ? void 0 : floatingRefs.setFloating, "data-modal-node-id": floatingNodeId }, getFloatingProps({
239
+ role: "dialog",
240
+ className: modal,
241
+ "aria-labelledby": modalLabelledBy,
242
+ "aria-label": ariaLabel,
243
+ "aria-modal": true,
244
+ }), { onPointerDownCapture: () => {
245
+ // Interaction began inside dialog
246
+ if (startedInsideRef)
247
+ startedInsideRef.current = true;
248
+ } }), children)))))))));
250
249
  }
251
250
 
252
251
  function Modal(props) {
@@ -230,21 +230,20 @@ function ModalContent({ children }) {
230
230
  React__default.createElement(AtlantisPortalContent, null,
231
231
  React__default.createElement(ModalOverlay, null,
232
232
  React__default.createElement(FloatingFocusManager, { context: floatingContext, returnFocus: (activatorRef === null || activatorRef === void 0 ? void 0 : activatorRef.current) ? activatorRef : true, order: ["floating", "content"] },
233
- React__default.createElement(motion.div, { initial: { scale: 0.9, opacity: 0 }, animate: { scale: 1, opacity: 1 }, exit: { scale: 0.9, opacity: 0 }, transition: {
233
+ React__default.createElement(motion.div, Object.assign({ initial: { scale: 0.9, opacity: 0 }, animate: { scale: 1, opacity: 1 }, exit: { scale: 0.9, opacity: 0 }, transition: {
234
234
  duration: 0.2,
235
235
  ease: "easeInOut",
236
- } },
237
- React__default.createElement("div", Object.assign({ ref: floatingRefs === null || floatingRefs === void 0 ? void 0 : floatingRefs.setFloating, "data-modal-node-id": floatingNodeId }, getFloatingProps({
238
- role: "dialog",
239
- className: modal,
240
- "aria-labelledby": modalLabelledBy,
241
- "aria-label": ariaLabel,
242
- "aria-modal": true,
243
- }), { onPointerDownCapture: () => {
244
- // Interaction began inside dialog
245
- if (startedInsideRef)
246
- startedInsideRef.current = true;
247
- } }), children))))))))));
236
+ }, ref: floatingRefs === null || floatingRefs === void 0 ? void 0 : floatingRefs.setFloating, "data-modal-node-id": floatingNodeId }, getFloatingProps({
237
+ role: "dialog",
238
+ className: modal,
239
+ "aria-labelledby": modalLabelledBy,
240
+ "aria-label": ariaLabel,
241
+ "aria-modal": true,
242
+ }), { onPointerDownCapture: () => {
243
+ // Interaction began inside dialog
244
+ if (startedInsideRef)
245
+ startedInsideRef.current = true;
246
+ } }), children)))))))));
248
247
  }
249
248
 
250
249
  function Modal(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.101.1",
3
+ "version": "6.101.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -538,5 +538,5 @@
538
538
  "> 1%",
539
539
  "IE 10"
540
540
  ],
541
- "gitHead": "44867f421c6cc5a37de6c82af077a6b3a62f060d"
541
+ "gitHead": "8e7acd1569527b5089ef1bbe03be8da64c82082d"
542
542
  }