@superblocksteam/library 2.0.3-next.126 → 2.0.3-next.127

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.
@@ -1,6 +1,6 @@
1
1
  import { I as IconSvgPaths16 } from "./index-DIJYif9G.js";
2
2
  import { I as IconSvgPaths20 } from "./index-LHtbj0-V.js";
3
- import { p as pascalCase, I as IconSize } from "./index-CAXB17xR.js";
3
+ import { p as pascalCase, I as IconSize } from "./index-ByxiFYSo.js";
4
4
  function getIconPaths(name, size) {
5
5
  var key = pascalCase(name);
6
6
  return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];
@@ -14,4 +14,4 @@ export {
14
14
  getIconPaths,
15
15
  iconNameToPathsRecordKey
16
16
  };
17
- //# sourceMappingURL=allPaths-BBEWQlbm.js.map
17
+ //# sourceMappingURL=allPaths-BH0DKSxA.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-BBEWQlbm.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"allPaths-BH0DKSxA.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  import { I as IconSvgPaths16 } from "./index-BxzKdlqH.js";
2
2
  import { I as IconSvgPaths20 } from "./index-DIn-fanT.js";
3
- import { p as pascalCase, b as IconSize } from "./index-CAXB17xR.js";
3
+ import { p as pascalCase, b as IconSize } from "./index-ByxiFYSo.js";
4
4
  function getIconPaths(name, size) {
5
5
  var key = pascalCase(name);
6
6
  return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];
@@ -14,4 +14,4 @@ export {
14
14
  getIconPaths,
15
15
  iconNameToPathsRecordKey
16
16
  };
17
- //# sourceMappingURL=allPaths-DqaYr8fP.js.map
17
+ //# sourceMappingURL=allPaths-F6GZkvxD.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-DqaYr8fP.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"allPaths-F6GZkvxD.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator } from "./index-CAXB17xR.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-ByxiFYSo.js";
2
2
  var allPathsLoader = function(name, size) {
3
3
  return __awaiter(void 0, void 0, void 0, function() {
4
4
  var getIconPaths;
@@ -7,7 +7,7 @@ var allPathsLoader = function(name, size) {
7
7
  case 0:
8
8
  return [4, import(
9
9
  /* webpackChunkName: "blueprint-icons-all-paths" */
10
- "./allPaths-DqaYr8fP.js"
10
+ "./allPaths-F6GZkvxD.js"
11
11
  )];
12
12
  case 1:
13
13
  getIconPaths = _a.sent().getIconPaths;
@@ -19,4 +19,4 @@ var allPathsLoader = function(name, size) {
19
19
  export {
20
20
  allPathsLoader
21
21
  };
22
- //# sourceMappingURL=allPathsLoader-89ouVeDC.js.map
22
+ //# sourceMappingURL=allPathsLoader-B3FzEE6v.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-89ouVeDC.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/allPathsLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"allPathsLoader-B3FzEE6v.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/allPathsLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator } from "./index-CAXB17xR.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-ByxiFYSo.js";
2
2
  var allPathsLoader = function(name, size) {
3
3
  return __awaiter(void 0, void 0, void 0, function() {
4
4
  var getIconPaths;
@@ -7,7 +7,7 @@ var allPathsLoader = function(name, size) {
7
7
  case 0:
8
8
  return [4, import(
9
9
  /* webpackChunkName: "blueprint-icons-all-paths" */
10
- "./allPaths-BBEWQlbm.js"
10
+ "./allPaths-BH0DKSxA.js"
11
11
  )];
12
12
  case 1:
13
13
  getIconPaths = _a.sent().getIconPaths;
@@ -19,4 +19,4 @@ var allPathsLoader = function(name, size) {
19
19
  export {
20
20
  allPathsLoader
21
21
  };
22
- //# sourceMappingURL=allPathsLoader-BtVdFWqo.js.map
22
+ //# sourceMappingURL=allPathsLoader-CPfNk8yv.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-BtVdFWqo.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/allPathsLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"allPathsLoader-CPfNk8yv.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/allPathsLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
@@ -2703,14 +2703,14 @@ function getLoaderFn$1(options) {
2703
2703
  if (!(loader === "all")) return [3, 3];
2704
2704
  return [4, import(
2705
2705
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
2706
- "./allPathsLoader-BtVdFWqo.js"
2706
+ "./allPathsLoader-CPfNk8yv.js"
2707
2707
  )];
2708
2708
  case 2:
2709
2709
  return [2, _b2.sent().allPathsLoader];
2710
2710
  case 3:
2711
2711
  return [4, import(
2712
2712
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
2713
- "./splitPathsBySizeLoader-Brc4bB0Z.js"
2713
+ "./splitPathsBySizeLoader-CZXCHUIN.js"
2714
2714
  )];
2715
2715
  case 4:
2716
2716
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -64794,19 +64794,14 @@ class RuntimeWidgetsManager {
64794
64794
  return this.sourceIdCount[sourceId] ?? 0;
64795
64795
  }
64796
64796
  isChildOf(childId, parentId) {
64797
- const parentMeta = this.widgets[parentId];
64798
- if (!parentMeta || !parentMeta.children) {
64799
- return false;
64797
+ const childMeta = this.widgets[childId];
64798
+ if (childMeta && childMeta.parentInstanceId === parentId) {
64799
+ return true;
64800
64800
  }
64801
- for (const child of parentMeta.children) {
64802
- if (child.isSbComponent && child.value === childId) {
64803
- return true;
64804
- }
64805
- if (child.isSbComponent && this.isChildOf(childId, child.value)) {
64806
- return true;
64807
- }
64801
+ if (!childMeta || !childMeta.parentInstanceId) {
64802
+ return false;
64808
64803
  }
64809
- return false;
64804
+ return this.isChildOf(childMeta.parentInstanceId, parentId);
64810
64805
  }
64811
64806
  // get the closest ancestor of a widget by type
64812
64807
  getClosestAncestorByType(instanceId, type5) {
@@ -65904,6 +65899,18 @@ const getWidgetNode = (instanceId) => {
65904
65899
  `[${WIDGET_SOURCE_ID_ATTRIBUTE}="${sourceId}"]`
65905
65900
  );
65906
65901
  };
65902
+ const getIsComponentInInteractionLayer = (instanceId) => {
65903
+ const editStore2 = getEditStore();
65904
+ const activeRootInstanceId = editStore2.interactionLayerManager.activeRootInstanceId;
65905
+ const isDropTargetInInteractionLayer = (
65906
+ // if active root id is undefined, we are in the page and can drop anywhere
65907
+ !activeRootInstanceId || instanceId && (instanceId === activeRootInstanceId || editStore2.runtimeEntitiesManager.isChildOf(
65908
+ instanceId,
65909
+ activeRootInstanceId
65910
+ ))
65911
+ );
65912
+ return isDropTargetInInteractionLayer;
65913
+ };
65907
65914
  _setWidgetFeatures_dec = [action], _setIsDragging_dec = [action], _startNewComponentDrag_dec = [action], _cancelNewComponentDrag_dec = [action], _setValidRootIds_dec = [action], _setInvalidDropTarget_dec = [action], _setDropTargetId_dec = [action], _setActiveDragRect_dec = [action], _setActiveTargetRect_dec = [action], _setWidgetPosition_dec = [action], _updateChildPositions_dec = [action];
65908
65915
  class DragAndDropManager {
65909
65916
  constructor(root2) {
@@ -109025,7 +109032,7 @@ const Layers$1 = {
109025
109032
  // section column resizer and resizer disabled tooltip,
109026
109033
  modal: 7,
109027
109034
  // min max height constraint
109028
- addSectionButton: 6,
109035
+ addSectionButton: 7,
109029
109036
  // blueprint control group focused input
109030
109037
  max: 99999
109031
109038
  /* LayerMax */
@@ -113427,6 +113434,7 @@ const CollisionsLayer = observer(() => {
113427
113434
  const dropTargetId = editStore2.ui.dnd.dropTargetId;
113428
113435
  const isDragging = editStore2.ui.dnd.isDragging;
113429
113436
  const pendingResize = editStore2.ui.resizing.pendingResizes;
113437
+ const isDropTargetInInteractionLayer = getIsComponentInInteractionLayer(dropTargetId);
113430
113438
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
113431
113439
  pendingResize.map((resize) => {
113432
113440
  const widget = getEditStore().runtimeEntitiesManager.getEditorWidgetMeta(
@@ -113445,7 +113453,7 @@ const CollisionsLayer = observer(() => {
113445
113453
  resize.sourceId
113446
113454
  );
113447
113455
  }),
113448
- isDragging && dropTargetId && /* @__PURE__ */ jsxRuntimeExports.jsx(
113456
+ isDragging && dropTargetId && isDropTargetInInteractionLayer && /* @__PURE__ */ jsxRuntimeExports.jsx(
113449
113457
  Collisions,
113450
113458
  {
113451
113459
  parentInstanceId: dropTargetId,
@@ -114528,17 +114536,10 @@ const DropLayer = observer(() => {
114528
114536
  const editStore2 = getEditStore();
114529
114537
  const draggedWidgetType = editStore2.ui.dnd.draggedWidgetType;
114530
114538
  const dropTargetWidgetType = editStore2.ui.dnd.dropTargetWidgetType;
114531
- const dropTargetId = editStore2.ui.dnd.dropTargetId;
114532
114539
  const isDropTargetGridLike = editStore2.ui.dnd.isDropTargetGridLike;
114533
114540
  const isDropTargetStackLike = editStore2.ui.dnd.isDropTargetStackLike;
114534
- const activeRootInstanceId = editStore2.interactionLayerManager.activeRootInstanceId;
114535
- const isDropTargetInInteractionLayer = (
114536
- // if active root id is undefined, we are in the page and can drop anywhere
114537
- !activeRootInstanceId || dropTargetId && (dropTargetId === activeRootInstanceId || editStore2.runtimeEntitiesManager.isChildOf(
114538
- dropTargetId,
114539
- activeRootInstanceId
114540
- ))
114541
- );
114541
+ const dropTargetId = editStore2.ui.dnd.dropTargetId;
114542
+ const isDropTargetInInteractionLayer = getIsComponentInInteractionLayer(dropTargetId);
114542
114543
  const isDragging = editStore2.ui.dnd.isDragging;
114543
114544
  const isAllowedDrop = isDropTargetInInteractionLayer && isDragging && Boolean(draggedWidgetType && dropTargetWidgetType);
114544
114545
  const validStackDrop = isAllowedDrop && isDropTargetStackLike;
@@ -137615,7 +137616,9 @@ const CloseButton = (props) => {
137615
137616
  };
137616
137617
  const ModalComponent = (props) => {
137617
137618
  const modalWidthCss = props.widthPreset ? `${MODAL_WIDTH_PRESETS[props.widthPreset]}%` : void 0;
137618
- const { allStyles: modalStyle } = useComputeComponentStyles(props.styleProps);
137619
+ const { borderStyle, backgroundStyle } = useComputeComponentStyles(
137620
+ props.styleProps
137621
+ );
137619
137622
  const modalInternalContainer = useMemo$2(
137620
137623
  () => /* @__PURE__ */ jsxRuntimeExports.jsx(
137621
137624
  InternalContainer,
@@ -137626,6 +137629,7 @@ const ModalComponent = (props) => {
137626
137629
  "data-sb-instance-id": props.instanceId,
137627
137630
  verticalAlign: props.verticalAlign ?? "top",
137628
137631
  horizontalAlign: props.horizontalAlign ?? "left",
137632
+ padding: props.styleProps.padding ?? ZERO_PADDING,
137629
137633
  spacing: props.spacing ?? Dim.px(0),
137630
137634
  columns: props.columns ?? 48,
137631
137635
  rows: props.rows,
@@ -137641,6 +137645,7 @@ const ModalComponent = (props) => {
137641
137645
  props.instanceId,
137642
137646
  props.verticalAlign,
137643
137647
  props.horizontalAlign,
137648
+ props.styleProps.padding,
137644
137649
  props.spacing,
137645
137650
  props.columns,
137646
137651
  props.rows,
@@ -137668,7 +137673,9 @@ const ModalComponent = (props) => {
137668
137673
  bodyStyle: {
137669
137674
  height: "100%",
137670
137675
  position: "relative",
137671
- ...modalStyle,
137676
+ padding: 0,
137677
+ ...borderStyle,
137678
+ ...backgroundStyle,
137672
137679
  ...props.isEditing && props.isOpen ? {
137673
137680
  anchorName: getWidgetAnchorName(props.instanceId)
137674
137681
  } : {}
@@ -147848,14 +147855,14 @@ function getLoaderFn(options) {
147848
147855
  if (!(loader === "all")) return [3, 3];
147849
147856
  return [4, import(
147850
147857
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
147851
- "./allPathsLoader-89ouVeDC.js"
147858
+ "./allPathsLoader-B3FzEE6v.js"
147852
147859
  )];
147853
147860
  case 2:
147854
147861
  return [2, _b2.sent().allPathsLoader];
147855
147862
  case 3:
147856
147863
  return [4, import(
147857
147864
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
147858
- "./splitPathsBySizeLoader-DFqJBiIM.js"
147865
+ "./splitPathsBySizeLoader-DTQ0e96j.js"
147859
147866
  )];
147860
147867
  case 4:
147861
147868
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -195981,4 +195988,4 @@ export {
195981
195988
  SbProvider as y,
195982
195989
  SbEventFlow as z
195983
195990
  };
195984
- //# sourceMappingURL=index-CAXB17xR.js.map
195991
+ //# sourceMappingURL=index-ByxiFYSo.js.map