@jobber/components 6.101.1 → 6.101.3
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/dist/Modal/index.cjs +12 -13
- package/dist/Modal/index.mjs +12 -13
- package/package.json +2 -2
package/dist/Modal/index.cjs
CHANGED
|
@@ -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
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
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) {
|
package/dist/Modal/index.mjs
CHANGED
|
@@ -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
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
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.
|
|
3
|
+
"version": "6.101.3",
|
|
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": "
|
|
541
|
+
"gitHead": "0717151d28b7d4e31af543078d7fd4abbeed3851"
|
|
542
542
|
}
|