@superblocksteam/library 2.0.0-next.119 → 2.0.0-next.120

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-BxzKdlqH.js";
2
2
  import { I as IconSvgPaths20 } from "./index-DIn-fanT.js";
3
- import { p as pascalCase, b as IconSize } from "./index-aHvpUIWp.js";
3
+ import { p as pascalCase, b as IconSize } from "./index-vlsg2zRG.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-DS8_EopQ.js.map
17
+ //# sourceMappingURL=allPaths-CUh4SHo8.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-DS8_EopQ.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-CUh4SHo8.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,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-aHvpUIWp.js";
3
+ import { p as pascalCase, I as IconSize } from "./index-vlsg2zRG.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-Dk3Onv2w.js.map
17
+ //# sourceMappingURL=allPaths-DTGCLTFf.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-Dk3Onv2w.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-DTGCLTFf.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,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator } from "./index-aHvpUIWp.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-vlsg2zRG.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-Dk3Onv2w.js"
10
+ "./allPaths-DTGCLTFf.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-BtMvKggO.js.map
22
+ //# sourceMappingURL=allPathsLoader-BpEtaQ6J.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-BtMvKggO.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-BpEtaQ6J.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,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator } from "./index-aHvpUIWp.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-vlsg2zRG.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-DS8_EopQ.js"
10
+ "./allPaths-CUh4SHo8.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-xDLXq83g.js.map
22
+ //# sourceMappingURL=allPathsLoader-DVUFffJJ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-xDLXq83g.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-DVUFffJJ.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]}
@@ -85542,7 +85542,8 @@ const DEFAULT_ANONYMOUS_SOURCE_ID = "SB--anon-src";
85542
85542
  const DEFAULT_ROOT_KEY = Symbol("DEFAULT_KEY");
85543
85543
  class NameManager {
85544
85544
  constructor(entityManager) {
85545
- __publicField(this, "_identifiers", {});
85545
+ __publicField(this, "_mountedIdentifiers", {});
85546
+ __publicField(this, "_allPossibleIdentifiers", {});
85546
85547
  __publicField(this, "_scopeToNameToIdentifiers", {});
85547
85548
  __publicField(this, "_allNamesToIdentifiers", {});
85548
85549
  __publicField(this, "_prefixOrderByKey", {});
@@ -85553,7 +85554,7 @@ class NameManager {
85553
85554
  return this._scopeToNameToIdentifiers;
85554
85555
  }
85555
85556
  getWidgetName(instanceId) {
85556
- const identifier2 = this._identifiers[instanceId];
85557
+ const identifier2 = this._mountedIdentifiers[instanceId];
85557
85558
  return identifier2 == null ? void 0 : identifier2.name;
85558
85559
  }
85559
85560
  // TODO this should work by having vite send us a list of all known static names, so we don't rely on what's mounted
@@ -85591,11 +85592,11 @@ class NameManager {
85591
85592
  identifier2
85592
85593
  );
85593
85594
  lodashExports.set(this._allNamesToIdentifiers, [name.value, instanceId], identifier2);
85594
- this._identifiers[instanceId] = identifier2;
85595
+ this._mountedIdentifiers[instanceId] = identifier2;
85595
85596
  }
85596
85597
  // idempotent
85597
85598
  untrackIdentifier(instanceId) {
85598
- const identifier2 = this._identifiers[instanceId];
85599
+ const identifier2 = this._mountedIdentifiers[instanceId];
85599
85600
  if (!identifier2) {
85600
85601
  return;
85601
85602
  }
@@ -85606,13 +85607,16 @@ class NameManager {
85606
85607
  if (lodashExports.get(this._allNamesToIdentifiers, [name.value, instanceId])) {
85607
85608
  delete this._allNamesToIdentifiers[name.value][instanceId];
85608
85609
  }
85609
- delete this._identifiers[instanceId];
85610
+ delete this._mountedIdentifiers[instanceId];
85611
+ }
85612
+ registerIdentifier(identifier2) {
85613
+ this.trackIdentifier(identifier2);
85610
85614
  }
85611
85615
  unregisterIdentifier(instanceId) {
85612
85616
  this.untrackIdentifier(instanceId);
85613
85617
  }
85614
85618
  getExistingIdentifier(instanceId) {
85615
- const identifier2 = this._identifiers[instanceId];
85619
+ const identifier2 = this._mountedIdentifiers[instanceId] ?? this._allPossibleIdentifiers[instanceId];
85616
85620
  if (!identifier2) {
85617
85621
  console.log(`No identifier found for instanceId ${instanceId}`);
85618
85622
  return void 0;
@@ -85638,8 +85642,8 @@ class NameManager {
85638
85642
  rootId,
85639
85643
  name: params.name
85640
85644
  });
85641
- if (this._identifiers[instanceId]) {
85642
- return this._identifiers[instanceId];
85645
+ if (this._mountedIdentifiers[instanceId]) {
85646
+ return this._mountedIdentifiers[instanceId];
85643
85647
  }
85644
85648
  const identifier2 = {
85645
85649
  sourceId,
@@ -85647,7 +85651,7 @@ class NameManager {
85647
85651
  instanceId,
85648
85652
  scopeId
85649
85653
  };
85650
- this.trackIdentifier(identifier2);
85654
+ this._allPossibleIdentifiers[instanceId] = identifier2;
85651
85655
  return identifier2;
85652
85656
  }
85653
85657
  getSharedNameCount(scopeId, name) {
@@ -85655,7 +85659,7 @@ class NameManager {
85655
85659
  return Object.keys(((_a2 = this._scopeToNameToIdentifiers[scopeId]) == null ? void 0 : _a2[name]) ?? {}).length;
85656
85660
  }
85657
85661
  changeWidgetName(instanceId, newName) {
85658
- const existingIdentifier = this._identifiers[instanceId];
85662
+ const existingIdentifier = this._mountedIdentifiers[instanceId];
85659
85663
  if (!existingIdentifier) {
85660
85664
  return null;
85661
85665
  }
@@ -90477,14 +90481,14 @@ function getLoaderFn$1(options) {
90477
90481
  if (!(loader === "all")) return [3, 3];
90478
90482
  return [4, import(
90479
90483
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
90480
- "./allPathsLoader-BtMvKggO.js"
90484
+ "./allPathsLoader-BpEtaQ6J.js"
90481
90485
  )];
90482
90486
  case 2:
90483
90487
  return [2, _b2.sent().allPathsLoader];
90484
90488
  case 3:
90485
90489
  return [4, import(
90486
90490
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
90487
- "./splitPathsBySizeLoader-CUDRJkZB.js"
90491
+ "./splitPathsBySizeLoader-BqDw7vqL.js"
90488
90492
  )];
90489
90493
  case 4:
90490
90494
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -117752,19 +117756,26 @@ function EditorRoot(props2) {
117752
117756
  return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children });
117753
117757
  }
117754
117758
  const makeSbComponentFromMeta = (widgetMeta) => {
117759
+ var _a2;
117755
117760
  const childType = widgetMeta.type;
117756
117761
  const Component3 = childType != null && rootStore.componentRegistry.getComponent(childType);
117757
117762
  if (!Component3) {
117758
117763
  return null;
117759
117764
  }
117760
- const props2 = (widgetMeta == null ? void 0 : widgetMeta.props) ?? {};
117765
+ const props2 = { ...(widgetMeta == null ? void 0 : widgetMeta.props) ?? {} };
117766
+ if (props2.bind == null && widgetMeta.scopeId != null && (widgetMeta == null ? void 0 : widgetMeta.name) && !((_a2 = widgetMeta == null ? void 0 : widgetMeta.name) == null ? void 0 : _a2.isAnonymous)) {
117767
+ props2.bind = {
117768
+ [BindingMetaSymbol]: {
117769
+ entityName: widgetMeta.name.value,
117770
+ scopeId: widgetMeta.scopeId
117771
+ }
117772
+ };
117773
+ }
117774
+ props2[WIDGET_INSTANCE_ID_ATTRIBUTE] = widgetMeta.instanceId;
117761
117775
  return /* @__PURE__ */ createElement(
117762
117776
  Component3,
117763
117777
  {
117764
117778
  ...props2,
117765
- ...{
117766
- [WIDGET_INSTANCE_ID_ATTRIBUTE]: widgetMeta.instanceId
117767
- },
117768
117779
  key: widgetMeta.instanceId
117769
117780
  }
117770
117781
  );
@@ -118178,6 +118189,9 @@ const registerSbComponent = (type5, config2, Component3) => {
118178
118189
  }
118179
118190
  }
118180
118191
  useEffect(() => {
118192
+ if (identifier2.current) {
118193
+ rootStore.nameManager.registerIdentifier(identifier2.current);
118194
+ }
118181
118195
  return () => {
118182
118196
  var _a3, _b3;
118183
118197
  if ((_a3 = identifier2.current) == null ? void 0 : _a3.instanceId) {
@@ -134497,7 +134511,7 @@ const getFontSizePx = (textStyle2, theme) => {
134497
134511
  };
134498
134512
  const useIcon = ({ textStyle: textStyle2 }) => {
134499
134513
  const { theme } = useTheme();
134500
- const variant = textStyle2.variant ?? DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT;
134514
+ const variant = (textStyle2 == null ? void 0 : textStyle2.variant) ?? DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT;
134501
134515
  return useMemo$2(() => {
134502
134516
  const fontSize = getFontSizePx({ ...textStyle2, variant }, theme);
134503
134517
  const iconGap = getIconGapBasedOnTextStyle(fontSize);
@@ -144861,14 +144875,14 @@ function getLoaderFn(options) {
144861
144875
  if (!(loader === "all")) return [3, 3];
144862
144876
  return [4, import(
144863
144877
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
144864
- "./allPathsLoader-xDLXq83g.js"
144878
+ "./allPathsLoader-DVUFffJJ.js"
144865
144879
  )];
144866
144880
  case 2:
144867
144881
  return [2, _b2.sent().allPathsLoader];
144868
144882
  case 3:
144869
144883
  return [4, import(
144870
144884
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
144871
- "./splitPathsBySizeLoader-Be_clb97.js"
144885
+ "./splitPathsBySizeLoader-D5HGHyRu.js"
144872
144886
  )];
144873
144887
  case 4:
144874
144888
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -197164,4 +197178,4 @@ export {
197164
197178
  copyToClipboard as y,
197165
197179
  navigateTo as z
197166
197180
  };
197167
- //# sourceMappingURL=index-aHvpUIWp.js.map
197181
+ //# sourceMappingURL=index-vlsg2zRG.js.map