@geowiki/ui 0.16.8-dev.0 → 0.16.9-dev.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/index.js +4 -4
- package/dist/index.mjs +5 -5
- package/package.json +22 -22
package/dist/index.js
CHANGED
|
@@ -5662,7 +5662,7 @@ var DialogWrapper = ({
|
|
|
5662
5662
|
children
|
|
5663
5663
|
}) => {
|
|
5664
5664
|
const cancelButtonRef = (0, import_react43.useRef)(null);
|
|
5665
|
-
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react44.Transition
|
|
5665
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react44.Transition, { show: isOpen, as: import_react43.Fragment, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5666
5666
|
import_react44.Dialog,
|
|
5667
5667
|
{
|
|
5668
5668
|
as: "div",
|
|
@@ -5671,7 +5671,7 @@ var DialogWrapper = ({
|
|
|
5671
5671
|
onClose: setIsOpen,
|
|
5672
5672
|
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0", children: [
|
|
5673
5673
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5674
|
-
import_react44.
|
|
5674
|
+
import_react44.TransitionChild,
|
|
5675
5675
|
{
|
|
5676
5676
|
as: import_react43.Fragment,
|
|
5677
5677
|
enter: "ease-out duration-300",
|
|
@@ -5680,7 +5680,7 @@ var DialogWrapper = ({
|
|
|
5680
5680
|
leave: "ease-in duration-200",
|
|
5681
5681
|
leaveFrom: "opacity-100",
|
|
5682
5682
|
leaveTo: "opacity-0",
|
|
5683
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react44.
|
|
5683
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react44.DialogBackdrop, { className: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" })
|
|
5684
5684
|
}
|
|
5685
5685
|
),
|
|
5686
5686
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
@@ -5692,7 +5692,7 @@ var DialogWrapper = ({
|
|
|
5692
5692
|
}
|
|
5693
5693
|
),
|
|
5694
5694
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5695
|
-
import_react44.
|
|
5695
|
+
import_react44.TransitionChild,
|
|
5696
5696
|
{
|
|
5697
5697
|
as: import_react43.Fragment,
|
|
5698
5698
|
enter: "ease-out duration-300",
|
package/dist/index.mjs
CHANGED
|
@@ -5434,7 +5434,7 @@ var InfoCard = (props) => {
|
|
|
5434
5434
|
|
|
5435
5435
|
// src/components/Elements/DialogWrapper.tsx
|
|
5436
5436
|
import { Fragment as Fragment18, useRef } from "react";
|
|
5437
|
-
import { Dialog as Dialog16, Transition as Transition4 } from "@headlessui/react";
|
|
5437
|
+
import { Dialog as Dialog16, DialogBackdrop, Transition as Transition4, TransitionChild } from "@headlessui/react";
|
|
5438
5438
|
import { jsx as jsx54, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
5439
5439
|
var DialogWrapper = ({
|
|
5440
5440
|
isOpen,
|
|
@@ -5443,7 +5443,7 @@ var DialogWrapper = ({
|
|
|
5443
5443
|
children
|
|
5444
5444
|
}) => {
|
|
5445
5445
|
const cancelButtonRef = useRef(null);
|
|
5446
|
-
return /* @__PURE__ */ jsx54(Transition4
|
|
5446
|
+
return /* @__PURE__ */ jsx54(Transition4, { show: isOpen, as: Fragment18, children: /* @__PURE__ */ jsx54(
|
|
5447
5447
|
Dialog16,
|
|
5448
5448
|
{
|
|
5449
5449
|
as: "div",
|
|
@@ -5452,7 +5452,7 @@ var DialogWrapper = ({
|
|
|
5452
5452
|
onClose: setIsOpen,
|
|
5453
5453
|
children: /* @__PURE__ */ jsxs47("div", { className: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0", children: [
|
|
5454
5454
|
/* @__PURE__ */ jsx54(
|
|
5455
|
-
|
|
5455
|
+
TransitionChild,
|
|
5456
5456
|
{
|
|
5457
5457
|
as: Fragment18,
|
|
5458
5458
|
enter: "ease-out duration-300",
|
|
@@ -5461,7 +5461,7 @@ var DialogWrapper = ({
|
|
|
5461
5461
|
leave: "ease-in duration-200",
|
|
5462
5462
|
leaveFrom: "opacity-100",
|
|
5463
5463
|
leaveTo: "opacity-0",
|
|
5464
|
-
children: /* @__PURE__ */ jsx54(
|
|
5464
|
+
children: /* @__PURE__ */ jsx54(DialogBackdrop, { className: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" })
|
|
5465
5465
|
}
|
|
5466
5466
|
),
|
|
5467
5467
|
/* @__PURE__ */ jsx54(
|
|
@@ -5473,7 +5473,7 @@ var DialogWrapper = ({
|
|
|
5473
5473
|
}
|
|
5474
5474
|
),
|
|
5475
5475
|
/* @__PURE__ */ jsx54(
|
|
5476
|
-
|
|
5476
|
+
TransitionChild,
|
|
5477
5477
|
{
|
|
5478
5478
|
as: Fragment18,
|
|
5479
5479
|
enter: "ease-out duration-300",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geowiki/ui",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.9-dev.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -20,22 +20,22 @@
|
|
|
20
20
|
"next": "15.5.3",
|
|
21
21
|
"react": "^18.2.0",
|
|
22
22
|
"react-dom": "^18.2.0",
|
|
23
|
-
"@geowiki/
|
|
24
|
-
"@geowiki/
|
|
25
|
-
"@geowiki/evoland-api-proxy": "0.16.
|
|
23
|
+
"@geowiki/api-proxy": "0.16.9-dev.0",
|
|
24
|
+
"@geowiki/cms-proxy": "0.16.9-dev.0",
|
|
25
|
+
"@geowiki/evoland-api-proxy": "0.16.9-dev.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
29
29
|
"@tailwindcss/forms": "^0.5.3",
|
|
30
30
|
"@tailwindcss/typography": "^0.5.9",
|
|
31
31
|
"@types/geojson": "^7946.0.10",
|
|
32
|
-
"@types/leaflet": "^1.9.
|
|
32
|
+
"@types/leaflet": "^1.9.21",
|
|
33
33
|
"@types/leaflet.markercluster": "^1.5.4",
|
|
34
34
|
"@types/react": "18.2.58",
|
|
35
35
|
"@types/react-dom": "^18.2.19",
|
|
36
36
|
"@types/uuid": "^9.0.8",
|
|
37
|
-
"eslint": "^8.56.0",
|
|
38
37
|
"autoprefixer": "^10.4.14",
|
|
38
|
+
"eslint": "^8.56.0",
|
|
39
39
|
"postcss": "^8.4.21",
|
|
40
40
|
"react": "^18.2.0",
|
|
41
41
|
"tailwindcss": "^3.3.2",
|
|
@@ -43,14 +43,13 @@
|
|
|
43
43
|
"tsup": "^8.0.2",
|
|
44
44
|
"typescript": "5.4.2",
|
|
45
45
|
"eslint-config-custom": "0.0.0",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
46
|
+
"tailwind-config": "0.0.0",
|
|
47
|
+
"tsconfig": "0.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@headlessui/react": "^
|
|
50
|
+
"@headlessui/react": "^2.2.10",
|
|
51
51
|
"@heroicons/react": "^2.0.13",
|
|
52
52
|
"@hookform/resolvers": "^3.3.1",
|
|
53
|
-
"@react-leaflet/core": "^2.1.0",
|
|
54
53
|
"@radix-ui/react-accordion": "^1.1.2",
|
|
55
54
|
"@radix-ui/react-alert-dialog": "^1.0.4",
|
|
56
55
|
"@radix-ui/react-aspect-ratio": "^1.0.3",
|
|
@@ -78,18 +77,15 @@
|
|
|
78
77
|
"@radix-ui/react-toast": "^1.1.4",
|
|
79
78
|
"@radix-ui/react-toggle": "^1.0.3",
|
|
80
79
|
"@radix-ui/react-tooltip": "^1.0.6",
|
|
80
|
+
"@react-leaflet/core": "^2.1.0",
|
|
81
81
|
"@tanstack/react-query": "^5.22.2",
|
|
82
82
|
"@tanstack/react-table": "^8.7.6",
|
|
83
83
|
"@types/d3": "^7.4.0",
|
|
84
|
-
"classnames": "^2.5.1",
|
|
85
84
|
"class-variance-authority": "^0.6.0",
|
|
86
|
-
"
|
|
87
|
-
"react-data-table-component": "^7.5.3",
|
|
88
|
-
"react-hook-form": "^7.53.0",
|
|
89
|
-
"react-leaflet": "^4.2.1",
|
|
90
|
-
"react-player": "^2.14.1",
|
|
85
|
+
"classnames": "^2.5.1",
|
|
91
86
|
"clsx": "^1.2.1",
|
|
92
87
|
"cmdk": "^0.2.0",
|
|
88
|
+
"cookies-next": "^2.1.1",
|
|
93
89
|
"d3": "^7.8.5",
|
|
94
90
|
"date-fns": "^2.30.0",
|
|
95
91
|
"embla-carousel-react": "^8.0.0",
|
|
@@ -102,9 +98,13 @@
|
|
|
102
98
|
"next": "15.5.3",
|
|
103
99
|
"next-themes": "^0.2.1",
|
|
104
100
|
"quill-blot-formatter": "^1.0.5",
|
|
101
|
+
"react-data-table-component": "^7.5.3",
|
|
105
102
|
"react-day-picker": "^8.7.1",
|
|
103
|
+
"react-hook-form": "^7.53.0",
|
|
104
|
+
"react-leaflet": "^4.2.1",
|
|
106
105
|
"react-markdown": "^8.0.4",
|
|
107
106
|
"react-multi-carousel": "^2.8.4",
|
|
107
|
+
"react-player": "^2.14.1",
|
|
108
108
|
"react-quill": "^2.0.0",
|
|
109
109
|
"react-resizable-panels": "^1.0.3",
|
|
110
110
|
"react-responsive-carousel": "^3.2.23",
|
|
@@ -114,12 +114,12 @@
|
|
|
114
114
|
"sweetalert2": "^11.7.20",
|
|
115
115
|
"tailwind-merge": "^1.12.0",
|
|
116
116
|
"uuid": "^9.0.0",
|
|
117
|
-
"zod": "^3.
|
|
118
|
-
"@geowiki/api-proxy": "0.16.
|
|
119
|
-
"@geowiki/
|
|
120
|
-
"@geowiki/
|
|
121
|
-
"@geowiki/
|
|
122
|
-
"@geowiki/evoland-api-proxy": "0.16.
|
|
117
|
+
"zod": "^3.25.7",
|
|
118
|
+
"@geowiki/api-proxy": "0.16.9-dev.0",
|
|
119
|
+
"@geowiki/cms-proxy": "0.16.9-dev.0",
|
|
120
|
+
"@geowiki/core": "0.16.9-dev.0",
|
|
121
|
+
"@geowiki/design-system": "0.16.9-dev.0",
|
|
122
|
+
"@geowiki/evoland-api-proxy": "0.16.9-dev.0"
|
|
123
123
|
},
|
|
124
124
|
"scripts": {
|
|
125
125
|
"build": "tsup && tailwindcss -i styles.css -o dist/styles.css --minify",
|