@mattisvensson/strapi-plugin-webatlas 0.2.1 → 0.2.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.
@@ -4,7 +4,7 @@ import { Dialog, Typography, Button, Modal, Flex, SingleSelect, SingleSelectOpti
4
4
  import { useFetchClient, Layouts } from "@strapi/strapi/admin";
5
5
  import { useState, useEffect, createContext, useRef, useContext, useReducer, useCallback, useMemo, forwardRef } from "react";
6
6
  import { createPortal } from "react-dom";
7
- import { u as useApi, d as debounce, a as duplicateCheck, t as transformToUrl, U as URLInfo } from "./index-c7q9J79y.mjs";
7
+ import { u as useApi, d as debounce, a as duplicateCheck, t as transformToUrl, U as URLInfo } from "./index-C4EZHacG.mjs";
8
8
  import { C as Center, E as EmptyBox } from "./EmptyBox-7D4LrvdH.mjs";
9
9
  import { c as commonjsGlobal, _ as _baseConvert } from "./_baseConvert-C2SW1VHq.mjs";
10
10
  import { MeasuringStrategy, DndContext, closestCenter, DragOverlay } from "@dnd-kit/core";
@@ -9801,6 +9801,7 @@ const Navigation = () => {
9801
9801
  if (typeof item.depth !== "number") return;
9802
9802
  if (item.depth === 0) {
9803
9803
  groupIndices[0] = (groupIndices[0] || 0) + 1;
9804
+ parentIds = [];
9804
9805
  } else if (typeof previousItem.depth === "number" && item.depth === previousItem.depth + 1) {
9805
9806
  parentIds.push(previousItem.documentId);
9806
9807
  groupIndices[item.depth] = 0;
@@ -6,7 +6,7 @@ const designSystem = require("@strapi/design-system");
6
6
  const admin = require("@strapi/strapi/admin");
7
7
  const React = require("react");
8
8
  const ReactDOM = require("react-dom");
9
- const index = require("./index-DOVsVqnP.js");
9
+ const index = require("./index-CnY7liYv.js");
10
10
  const EmptyBox = require("./EmptyBox-DT6D5gcf.js");
11
11
  const _baseConvert = require("./_baseConvert-B84_vf8X.js");
12
12
  const core = require("@dnd-kit/core");
@@ -9803,6 +9803,7 @@ const Navigation = () => {
9803
9803
  if (typeof item.depth !== "number") return;
9804
9804
  if (item.depth === 0) {
9805
9805
  groupIndices[0] = (groupIndices[0] || 0) + 1;
9806
+ parentIds = [];
9806
9807
  } else if (typeof previousItem.depth === "number" && item.depth === previousItem.depth + 1) {
9807
9808
  parentIds.push(previousItem.documentId);
9808
9809
  groupIndices[item.depth] = 0;
@@ -5,7 +5,7 @@ const React = require("react");
5
5
  const admin = require("@strapi/strapi/admin");
6
6
  const designSystem = require("@strapi/design-system");
7
7
  const icons = require("@strapi/icons");
8
- const index = require("./index-DOVsVqnP.js");
8
+ const index = require("./index-CnY7liYv.js");
9
9
  const EmptyBox = require("./EmptyBox-DT6D5gcf.js");
10
10
  const Routes = () => {
11
11
  const { getRoutes } = index.useApi();
@@ -10,7 +10,7 @@ import { useIntl } from "react-intl";
10
10
  import "@strapi/icons/symbols";
11
11
  import ReactDOM__default, { unstable_batchedUpdates as unstable_batchedUpdates$1 } from "react-dom";
12
12
  import { createGlobalStyle, styled } from "styled-components";
13
- import { _ as _extends$4, b as usePluginConfig, c as useAllContentTypes, t as transformToUrl, T as Tooltip } from "./index-c7q9J79y.mjs";
13
+ import { _ as _extends$4, b as usePluginConfig, c as useAllContentTypes, t as transformToUrl, T as Tooltip } from "./index-C4EZHacG.mjs";
14
14
  var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
15
15
  var _freeGlobal = freeGlobal$1;
16
16
  var freeGlobal = _freeGlobal;
@@ -22,7 +22,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
22
22
  );
23
23
  });
24
24
  };
25
- const version = "0.2.1";
25
+ const version = "0.2.3";
26
26
  const keywords = [];
27
27
  const type = "commonjs";
28
28
  const exports = {
@@ -60,7 +60,9 @@ const scripts = {
60
60
  "playground:yalc-add-link": "cd playground && yalc add --link strapi-plugin-boilerplate",
61
61
  "playground:build": "cd playground && yarn build",
62
62
  "playground:develop": "cd playground && yarn develop",
63
- "playground:start": "cd playground && yarn start"
63
+ "playground:start": "cd playground && yarn start",
64
+ preversion: "yarn build",
65
+ postversion: "git push && git push --tags"
64
66
  };
65
67
  const dependencies = {
66
68
  "@dnd-kit/core": "^6.3.1",
@@ -3983,7 +3985,7 @@ const index = {
3983
3985
  defaultMessage: "Routes"
3984
3986
  },
3985
3987
  Component: async () => {
3986
- const component = await import("./index-BwErs0UT.mjs");
3988
+ const component = await import("./index-rvOUYDZ4.mjs");
3987
3989
  return { default: component.default };
3988
3990
  },
3989
3991
  permissions: [
@@ -4002,7 +4004,7 @@ const index = {
4002
4004
  defaultMessage: "Navigation"
4003
4005
  },
4004
4006
  Component: async () => {
4005
- const component = await import("./index-Doc1ry3x.mjs");
4007
+ const component = await import("./index-BDCJSjey.mjs");
4006
4008
  return { default: component.default };
4007
4009
  },
4008
4010
  permissions: [
@@ -4031,7 +4033,7 @@ const index = {
4031
4033
  Component: async () => {
4032
4034
  return await import(
4033
4035
  /* webpackChunkName: "webatlas-settings-page" */
4034
- "./index-BDU-lYsm.mjs"
4036
+ "./index-C3a42qmP.mjs"
4035
4037
  );
4036
4038
  },
4037
4039
  permissions: [
@@ -11,7 +11,7 @@ const reactIntl = require("react-intl");
11
11
  require("@strapi/icons/symbols");
12
12
  const ReactDOM = require("react-dom");
13
13
  const styledComponents = require("styled-components");
14
- const index = require("./index-DOVsVqnP.js");
14
+ const index = require("./index-CnY7liYv.js");
15
15
  const _interopDefault = (e2) => e2 && e2.__esModule ? e2 : { default: e2 };
16
16
  function _interopNamespace(e2) {
17
17
  if (e2 && e2.__esModule) return e2;
@@ -40,7 +40,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
40
40
  );
41
41
  });
42
42
  };
43
- const version = "0.2.1";
43
+ const version = "0.2.3";
44
44
  const keywords = [];
45
45
  const type = "commonjs";
46
46
  const exports$1 = {
@@ -78,7 +78,9 @@ const scripts = {
78
78
  "playground:yalc-add-link": "cd playground && yalc add --link strapi-plugin-boilerplate",
79
79
  "playground:build": "cd playground && yarn build",
80
80
  "playground:develop": "cd playground && yarn develop",
81
- "playground:start": "cd playground && yarn start"
81
+ "playground:start": "cd playground && yarn start",
82
+ preversion: "yarn build",
83
+ postversion: "git push && git push --tags"
82
84
  };
83
85
  const dependencies = {
84
86
  "@dnd-kit/core": "^6.3.1",
@@ -4001,7 +4003,7 @@ const index = {
4001
4003
  defaultMessage: "Routes"
4002
4004
  },
4003
4005
  Component: async () => {
4004
- const component = await Promise.resolve().then(() => require("./index-DC0vflKd.js"));
4006
+ const component = await Promise.resolve().then(() => require("./index-B_a-qtdq.js"));
4005
4007
  return { default: component.default };
4006
4008
  },
4007
4009
  permissions: [
@@ -4020,7 +4022,7 @@ const index = {
4020
4022
  defaultMessage: "Navigation"
4021
4023
  },
4022
4024
  Component: async () => {
4023
- const component = await Promise.resolve().then(() => require("./index-B2j5uojM.js"));
4025
+ const component = await Promise.resolve().then(() => require("./index-BLQ7k9G6.js"));
4024
4026
  return { default: component.default };
4025
4027
  },
4026
4028
  permissions: [
@@ -4049,7 +4051,7 @@ const index = {
4049
4051
  Component: async () => {
4050
4052
  return await Promise.resolve().then(() => require(
4051
4053
  /* webpackChunkName: "webatlas-settings-page" */
4052
- "./index-DU_hn0uc.js"
4054
+ "./index-C9tlbXg0.js"
4053
4055
  ));
4054
4056
  },
4055
4057
  permissions: [
@@ -3,7 +3,7 @@ import { useState, useEffect } from "react";
3
3
  import { Layouts } from "@strapi/strapi/admin";
4
4
  import { Table, Thead, Tr, Th, Typography, VisuallyHidden, Tbody, Td, Flex, LinkButton } from "@strapi/design-system";
5
5
  import { Pencil } from "@strapi/icons";
6
- import { u as useApi } from "./index-c7q9J79y.mjs";
6
+ import { u as useApi } from "./index-C4EZHacG.mjs";
7
7
  import { C as Center, E as EmptyBox } from "./EmptyBox-7D4LrvdH.mjs";
8
8
  const Routes = () => {
9
9
  const { getRoutes } = useApi();
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- const index = require("../_chunks/index-DOVsVqnP.js");
2
+ const index = require("../_chunks/index-CnY7liYv.js");
3
3
  require("react/jsx-runtime");
4
4
  module.exports = index.index;
@@ -1,4 +1,4 @@
1
- import { i } from "../_chunks/index-c7q9J79y.mjs";
1
+ import { i } from "../_chunks/index-C4EZHacG.mjs";
2
2
  import "react/jsx-runtime";
3
3
  export {
4
4
  i as default
@@ -20,7 +20,7 @@ function transformToUrl(input) {
20
20
  input = input.replace(/-+/g, "-");
21
21
  return input;
22
22
  }
23
- const version = "0.2.1";
23
+ const version = "0.2.3";
24
24
  const keywords = [];
25
25
  const type = "commonjs";
26
26
  const exports$1 = {
@@ -58,7 +58,9 @@ const scripts = {
58
58
  "playground:yalc-add-link": "cd playground && yalc add --link strapi-plugin-boilerplate",
59
59
  "playground:build": "cd playground && yarn build",
60
60
  "playground:develop": "cd playground && yarn develop",
61
- "playground:start": "cd playground && yarn start"
61
+ "playground:start": "cd playground && yarn start",
62
+ preversion: "yarn build",
63
+ postversion: "git push && git push --tags"
62
64
  };
63
65
  const dependencies = {
64
66
  "@dnd-kit/core": "^6.3.1",
@@ -19,7 +19,7 @@ function transformToUrl(input) {
19
19
  input = input.replace(/-+/g, "-");
20
20
  return input;
21
21
  }
22
- const version = "0.2.1";
22
+ const version = "0.2.3";
23
23
  const keywords = [];
24
24
  const type = "commonjs";
25
25
  const exports = {
@@ -57,7 +57,9 @@ const scripts = {
57
57
  "playground:yalc-add-link": "cd playground && yalc add --link strapi-plugin-boilerplate",
58
58
  "playground:build": "cd playground && yarn build",
59
59
  "playground:develop": "cd playground && yarn develop",
60
- "playground:start": "cd playground && yarn start"
60
+ "playground:start": "cd playground && yarn start",
61
+ preversion: "yarn build",
62
+ postversion: "git push && git push --tags"
61
63
  };
62
64
  const dependencies = {
63
65
  "@dnd-kit/core": "^6.3.1",
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.1",
2
+ "version": "0.2.3",
3
3
  "keywords": [],
4
4
  "type": "commonjs",
5
5
  "exports": {
@@ -37,7 +37,9 @@
37
37
  "playground:yalc-add-link": "cd playground && yalc add --link strapi-plugin-boilerplate",
38
38
  "playground:build": "cd playground && yarn build",
39
39
  "playground:develop": "cd playground && yarn develop",
40
- "playground:start": "cd playground && yarn start"
40
+ "playground:start": "cd playground && yarn start",
41
+ "preversion": "yarn build",
42
+ "postversion": "git push && git push --tags"
41
43
  },
42
44
  "dependencies": {
43
45
  "@dnd-kit/core": "^6.3.1",