@geowiki/ui 0.15.1-dev.0 → 0.16.0-dev.1

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.
@@ -57,47 +57,10 @@ var __async = (__this, __arguments, generator) => {
57
57
  });
58
58
  };
59
59
 
60
- // src/components/Elements/loader.tsx
61
- import { jsx, jsxs } from "react/jsx-runtime";
62
- var LoaderFull = ({
63
- showInCenter = true,
64
- cssClass = null
65
- }) => {
66
- return /* @__PURE__ */ jsx(
67
- "div",
68
- {
69
- className: showInCenter ? "w-full min-h-screen flex items-center justify-center " + (cssClass !== null ? cssClass : "z-[1000] fixed top-0 left-0") : "w-full flex items-center justify-center " + (cssClass !== null ? cssClass : "z-[1000] fixed top-0 left-0"),
70
- children: /* @__PURE__ */ jsx(
71
- "svg",
72
- {
73
- viewBox: "0 0 38 38",
74
- className: "animate-spin h-20 w-20 stroke-current text-black-600 mr-2",
75
- xmlns: "http://www.w3.org/2000/svg",
76
- children: /* @__PURE__ */ jsx("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
77
- /* @__PURE__ */ jsx("circle", { strokeOpacity: ".5", cx: "18", cy: "18", r: "18" }),
78
- /* @__PURE__ */ jsx("path", { d: "M36 18c0-9.94-8.06-18-18-18", children: /* @__PURE__ */ jsx(
79
- "animateTransform",
80
- {
81
- attributeName: "transform",
82
- type: "rotate",
83
- from: "0 18 18",
84
- to: "360 18 18",
85
- dur: "1s",
86
- repeatCount: "indefinite"
87
- }
88
- ) })
89
- ] }) })
90
- }
91
- )
92
- }
93
- );
94
- };
95
-
96
60
  export {
97
61
  __spreadValues,
98
62
  __spreadProps,
99
63
  __require,
100
64
  __objRest,
101
- __async,
102
- LoaderFull
65
+ __async
103
66
  };
@@ -1,10 +1,9 @@
1
1
  "use client";
2
2
  import {
3
- LoaderFull,
4
3
  __objRest,
5
4
  __spreadProps,
6
5
  __spreadValues
7
- } from "./chunk-5PBHZKXW.mjs";
6
+ } from "./chunk-2KORXHVU.mjs";
8
7
 
9
8
  // src/components/ClusterMap/cluster-map.tsx
10
9
  import { MapContainer, TileLayer } from "react-leaflet";
@@ -33,6 +32,7 @@ var location_marker_default = LocationMarker;
33
32
  import { DivIcon, LatLng as LatLng2 } from "leaflet";
34
33
  import { Marker as Marker2, Popup as Popup2 } from "react-leaflet";
35
34
  import { useClusterMapInfo } from "@geowiki/core";
35
+ import { LoaderFull } from "@geowiki/design-system";
36
36
  import Image from "next/image";
37
37
 
38
38
  // src/components/ClusterMap/MarkerClusterGroup.tsx