@superblocksteam/library 2.0.0-next.115 → 2.0.0-next.117

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.
Files changed (43) hide show
  1. package/dist/{allPaths-B4iiyYl_.js → allPaths-CczRVMQ7.js} +2 -2
  2. package/dist/{allPaths-B4iiyYl_.js.map → allPaths-CczRVMQ7.js.map} +1 -1
  3. package/dist/{allPaths-BxTCIdKC.js → allPaths-DDnvc8VG.js} +2 -2
  4. package/dist/{allPaths-BxTCIdKC.js.map → allPaths-DDnvc8VG.js.map} +1 -1
  5. package/dist/{allPathsLoader-CG-CmNfF.js → allPathsLoader-BNSjCzII.js} +3 -3
  6. package/dist/{allPathsLoader-CG-CmNfF.js.map → allPathsLoader-BNSjCzII.js.map} +1 -1
  7. package/dist/{allPathsLoader-CfW2ym2_.js → allPathsLoader-OQAp2CBw.js} +3 -3
  8. package/dist/{allPathsLoader-CfW2ym2_.js.map → allPathsLoader-OQAp2CBw.js.map} +1 -1
  9. package/dist/{index-BPACADrt.js → index-e_C9TvZd.js} +14 -15
  10. package/dist/{index-BPACADrt.js.map → index-e_C9TvZd.js.map} +1 -1
  11. package/dist/index.js +2 -2
  12. package/dist/{splitPathsBySizeLoader-M0xrICdh.js → splitPathsBySizeLoader-DlHRwQLg.js} +2 -2
  13. package/dist/{splitPathsBySizeLoader-M0xrICdh.js.map → splitPathsBySizeLoader-DlHRwQLg.js.map} +1 -1
  14. package/dist/{splitPathsBySizeLoader-9zB35OR3.js → splitPathsBySizeLoader-m7yeFr-l.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-9zB35OR3.js.map → splitPathsBySizeLoader-m7yeFr-l.js.map} +1 -1
  16. package/dist-types/lib/user-facing/components/button/index.d.ts +6 -1
  17. package/dist-types/lib/user-facing/components/button/props.d.ts +6 -1
  18. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +6 -1
  19. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +6 -1
  20. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +6 -1
  21. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +6 -1
  22. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +6 -1
  23. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +6 -1
  24. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +6 -1
  25. package/dist-types/lib/user-facing/components/grid/index.d.ts +6 -1
  26. package/dist-types/lib/user-facing/components/icon/index.d.ts +6 -1
  27. package/dist-types/lib/user-facing/components/icon/props.d.ts +6 -1
  28. package/dist-types/lib/user-facing/components/image/image-component.d.ts +2 -0
  29. package/dist-types/lib/user-facing/components/image/index.d.ts +6 -1
  30. package/dist-types/lib/user-facing/components/image/props.d.ts +6 -1
  31. package/dist-types/lib/user-facing/components/input/index.d.ts +6 -1
  32. package/dist-types/lib/user-facing/components/input/props.d.ts +6 -1
  33. package/dist-types/lib/user-facing/components/slideout/props.d.ts +6 -1
  34. package/dist-types/lib/user-facing/components/stack/index.d.ts +12 -2
  35. package/dist-types/lib/user-facing/components/switch/index.d.ts +6 -1
  36. package/dist-types/lib/user-facing/components/switch/props.d.ts +6 -1
  37. package/dist-types/lib/user-facing/components/table/index.d.ts +6 -1
  38. package/dist-types/lib/user-facing/components/table/props.d.ts +6 -1
  39. package/dist-types/lib/user-facing/components/text/index.d.ts +6 -1
  40. package/dist-types/lib/user-facing/components/text/props.d.ts +6 -1
  41. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +12 -2
  42. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +1 -1
  43. package/package.json +2 -2
@@ -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-BPACADrt.js";
3
+ import { p as pascalCase, I as IconSize } from "./index-e_C9TvZd.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-B4iiyYl_.js.map
17
+ //# sourceMappingURL=allPaths-CczRVMQ7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-B4iiyYl_.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-CczRVMQ7.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-BPACADrt.js";
3
+ import { p as pascalCase, b as IconSize } from "./index-e_C9TvZd.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-BxTCIdKC.js.map
17
+ //# sourceMappingURL=allPaths-DDnvc8VG.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-BxTCIdKC.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-DDnvc8VG.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-BPACADrt.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-e_C9TvZd.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-BxTCIdKC.js"
10
+ "./allPaths-DDnvc8VG.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-CG-CmNfF.js.map
22
+ //# sourceMappingURL=allPathsLoader-BNSjCzII.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-CG-CmNfF.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-BNSjCzII.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-BPACADrt.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-e_C9TvZd.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-B4iiyYl_.js"
10
+ "./allPaths-CczRVMQ7.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-CfW2ym2_.js.map
22
+ //# sourceMappingURL=allPathsLoader-OQAp2CBw.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-CfW2ym2_.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-OQAp2CBw.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]}
@@ -2684,14 +2684,14 @@ function getLoaderFn$1(options) {
2684
2684
  if (!(loader === "all")) return [3, 3];
2685
2685
  return [4, import(
2686
2686
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
2687
- "./allPathsLoader-CfW2ym2_.js"
2687
+ "./allPathsLoader-OQAp2CBw.js"
2688
2688
  )];
2689
2689
  case 2:
2690
2690
  return [2, _b2.sent().allPathsLoader];
2691
2691
  case 3:
2692
2692
  return [4, import(
2693
2693
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
2694
- "./splitPathsBySizeLoader-M0xrICdh.js"
2694
+ "./splitPathsBySizeLoader-DlHRwQLg.js"
2695
2695
  )];
2696
2696
  case 4:
2697
2697
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -10220,7 +10220,7 @@ const Property = {
10220
10220
  Expression: (value) => PropertyInfo(value, "EXPRESSION"),
10221
10221
  Event: (value) => PropertyInfo(value, "EVENT"),
10222
10222
  Dimension: (value) => PropertyInfo(value, "DIMENSION"),
10223
- Computed: (value, args) => PropertyInfo(value, "COMPUTED", args ? { args } : {}),
10223
+ Computed: (value, args) => PropertyInfo(value, "COMPUTED", Array.isArray(args) && args.length > 0 ? { args } : {}),
10224
10224
  Any: (value, type5 = "STATIC") => PropertyInfo(value, type5)
10225
10225
  };
10226
10226
  function isPropertyInfo(value) {
@@ -111260,12 +111260,7 @@ const padding = (options) => {
111260
111260
  return { padding: padding2 };
111261
111261
  };
111262
111262
  const margin = () => ({
111263
- margin: Prop.composite({
111264
- top: Prop.dimension(),
111265
- bottom: Prop.dimension(),
111266
- left: Prop.dimension(),
111267
- right: Prop.dimension()
111268
- }).default({
111263
+ margin: Prop.any().default({
111269
111264
  top: Dim.px(0),
111270
111265
  bottom: Dim.px(0),
111271
111266
  left: Dim.px(0),
@@ -144788,14 +144783,14 @@ function getLoaderFn(options) {
144788
144783
  if (!(loader === "all")) return [3, 3];
144789
144784
  return [4, import(
144790
144785
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
144791
- "./allPathsLoader-CG-CmNfF.js"
144786
+ "./allPathsLoader-BNSjCzII.js"
144792
144787
  )];
144793
144788
  case 2:
144794
144789
  return [2, _b2.sent().allPathsLoader];
144795
144790
  case 3:
144796
144791
  return [4, import(
144797
144792
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
144798
- "./splitPathsBySizeLoader-9zB35OR3.js"
144793
+ "./splitPathsBySizeLoader-m7yeFr-l.js"
144799
144794
  )];
144800
144795
  case 4:
144801
144796
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -182606,7 +182601,7 @@ class ImageComponent extends React.Component {
182606
182601
  }
182607
182602
  }
182608
182603
  render() {
182609
- var _a2, _b2, _c2, _d2;
182604
+ var _a2, _b2, _c2, _d2, _e2, _f2;
182610
182605
  const classes = [CLASS_NAMES.ROUNDED_CONTAINER];
182611
182606
  if (this.props.isLoading) {
182612
182607
  classes.push("bp5-skeleton");
@@ -182630,6 +182625,8 @@ class ImageComponent extends React.Component {
182630
182625
  cursor: this.props.onClick ? "pointer" : "inherit",
182631
182626
  height: ((_c2 = this.props.height) == null ? void 0 : _c2.mode) === "fit" ? this.state.imageHeight : "100%",
182632
182627
  width: ((_d2 = this.props.width) == null ? void 0 : _d2.mode) === "fit" ? "fit-content" : "100%",
182628
+ maxHeight: ((_e2 = this.props.maxHeight) == null ? void 0 : _e2.mode) === "px" ? `${this.props.maxHeight.value}px` : void 0,
182629
+ maxWidth: ((_f2 = this.props.maxWidth) == null ? void 0 : _f2.mode) === "px" ? `${this.props.maxWidth.value}px` : void 0,
182633
182630
  ...borderStyle
182634
182631
  };
182635
182632
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Wrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -182703,10 +182700,10 @@ const propertiesDefinition$3 = {
182703
182700
  })
182704
182701
  };
182705
182702
  const ImageContainer = qe$1.div`
182706
- display: inline-flex;
182703
+ display: flex;
182707
182704
  flex-direction: column;
182708
182705
  align-items: flex-start;
182709
- vertical-align: top; // adding this to avoid scrollbar on container that only has image as child
182706
+ overflow-y: hidden;
182710
182707
  `;
182711
182708
  const SbImage = registerSbComponent(
182712
182709
  "SbImage",
@@ -182734,7 +182731,9 @@ const SbImage = registerSbComponent(
182734
182731
  backgroundColor: props2.backgroundColor ?? "transparent",
182735
182732
  roundHeightToGrid: false,
182736
182733
  height: props2.height,
182734
+ maxHeight: props2.maxHeight,
182737
182735
  width: props2.width,
182736
+ maxWidth: props2.maxWidth,
182738
182737
  border: props2.border
182739
182738
  }
182740
182739
  ) });
@@ -197067,4 +197066,4 @@ export {
197067
197066
  copyToClipboard as y,
197068
197067
  navigateTo as z
197069
197068
  };
197070
- //# sourceMappingURL=index-BPACADrt.js.map
197069
+ //# sourceMappingURL=index-e_C9TvZd.js.map