@overmap-ai/blocks 1.0.40-alpha.4 → 1.0.40-improvements.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/dist/Overlay/Close.d.ts +5 -0
- package/dist/Overlay/Content.d.ts +6 -0
- package/dist/Overlay/Description.d.ts +5 -0
- package/dist/Overlay/Root.d.ts +5 -0
- package/dist/Overlay/Title.d.ts +5 -0
- package/dist/Overlay/Trigger.d.ts +5 -0
- package/dist/Overlay/cva.d.ts +1 -0
- package/dist/Overlay/index.d.ts +15 -0
- package/dist/blocks.js +63 -0
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +63 -0
- package/dist/blocks.umd.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/blocks.umd.cjs
CHANGED
|
@@ -4287,6 +4287,62 @@
|
|
|
4287
4287
|
Input: OneTimePasswordFieldInput,
|
|
4288
4288
|
Root: OneTimePasswordFieldRoot
|
|
4289
4289
|
};
|
|
4290
|
+
const OverlayClose = react.memo((props) => {
|
|
4291
|
+
const { ref, ...rest } = props;
|
|
4292
|
+
return /* @__PURE__ */ jsxRuntime.jsx(RadixDialog__namespace.Close, { ref, ...rest });
|
|
4293
|
+
});
|
|
4294
|
+
OverlayClose.displayName = "OverlayClose";
|
|
4295
|
+
const overlayContentCva = classVarianceAuthority.cva([
|
|
4296
|
+
"fixed",
|
|
4297
|
+
"inset-0",
|
|
4298
|
+
"bg-(--color-background)",
|
|
4299
|
+
"data-[state='closed']:animate-out",
|
|
4300
|
+
"data-[state='closed']:fade-out-0",
|
|
4301
|
+
"data-[state='closed']:zoom-out-95",
|
|
4302
|
+
"data-[state='open']:animate-in",
|
|
4303
|
+
"data-[state='open']:fade-in-0",
|
|
4304
|
+
"data-[state='open']:zoom-in-95"
|
|
4305
|
+
]);
|
|
4306
|
+
const OverlayContent = react.memo((props) => {
|
|
4307
|
+
const { ref, container, className, ...rest } = props;
|
|
4308
|
+
return /* @__PURE__ */ jsxRuntime.jsx(RadixDialog__namespace.Portal, { container, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4309
|
+
RadixDialog__namespace.Content,
|
|
4310
|
+
{
|
|
4311
|
+
className: classVarianceAuthority.cx(overlayContentCva(), className),
|
|
4312
|
+
ref,
|
|
4313
|
+
"data-floating-content": "",
|
|
4314
|
+
...rest
|
|
4315
|
+
}
|
|
4316
|
+
) });
|
|
4317
|
+
});
|
|
4318
|
+
OverlayContent.displayName = "OverlayContent";
|
|
4319
|
+
const OverlayDescription = react.memo((props) => {
|
|
4320
|
+
const { ref, ...rest } = props;
|
|
4321
|
+
return /* @__PURE__ */ jsxRuntime.jsx(RadixDialog__namespace.Description, { ref, ...rest });
|
|
4322
|
+
});
|
|
4323
|
+
OverlayDescription.displayName = "OverlayDescription";
|
|
4324
|
+
const OverlayRoot = react.memo((props) => {
|
|
4325
|
+
return /* @__PURE__ */ jsxRuntime.jsx(RadixDialog__namespace.Root, { ...props });
|
|
4326
|
+
});
|
|
4327
|
+
OverlayRoot.displayName = "OverlayRoot";
|
|
4328
|
+
const OverlayTitle = react.memo((props) => {
|
|
4329
|
+
const { ref, ...rest } = props;
|
|
4330
|
+
return /* @__PURE__ */ jsxRuntime.jsx(RadixDialog__namespace.Title, { ref, ...rest });
|
|
4331
|
+
});
|
|
4332
|
+
OverlayTitle.displayName = "OverlayTitle";
|
|
4333
|
+
const OverlayTrigger = react.memo((props) => {
|
|
4334
|
+
const { ref, ...rest } = props;
|
|
4335
|
+
return /* @__PURE__ */ jsxRuntime.jsx(RadixDialog__namespace.Trigger, { ref, ...rest });
|
|
4336
|
+
});
|
|
4337
|
+
OverlayTrigger.displayName = "OverlayTrigger";
|
|
4338
|
+
const Overlay = {
|
|
4339
|
+
Root: OverlayRoot,
|
|
4340
|
+
Content: OverlayContent,
|
|
4341
|
+
Title: OverlayTitle,
|
|
4342
|
+
Description: OverlayDescription,
|
|
4343
|
+
Trigger: OverlayTrigger,
|
|
4344
|
+
Close: OverlayClose
|
|
4345
|
+
};
|
|
4290
4346
|
const centerStyles = { placeSelf: "center" };
|
|
4291
4347
|
const ErrorFallback = react.memo((props) => {
|
|
4292
4348
|
const { absoluteCentering, message = "Something went wrong", onRetry } = props;
|
|
@@ -6522,6 +6578,13 @@
|
|
|
6522
6578
|
exports2.OneTimePasswordFieldHiddenInput = OneTimePasswordFieldHiddenInput;
|
|
6523
6579
|
exports2.OneTimePasswordFieldInput = OneTimePasswordFieldInput;
|
|
6524
6580
|
exports2.OneTimePasswordFieldRoot = OneTimePasswordFieldRoot;
|
|
6581
|
+
exports2.Overlay = Overlay;
|
|
6582
|
+
exports2.OverlayClose = OverlayClose;
|
|
6583
|
+
exports2.OverlayContent = OverlayContent;
|
|
6584
|
+
exports2.OverlayDescription = OverlayDescription;
|
|
6585
|
+
exports2.OverlayRoot = OverlayRoot;
|
|
6586
|
+
exports2.OverlayTitle = OverlayTitle;
|
|
6587
|
+
exports2.OverlayTrigger = OverlayTrigger;
|
|
6525
6588
|
exports2.OvermapErrorBoundary = OvermapErrorBoundary;
|
|
6526
6589
|
exports2.Popover = Popover;
|
|
6527
6590
|
exports2.PopoverArrow = PopoverArrow;
|