@superblocksteam/library 2.0.0-next.11 → 2.0.0-next.13

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 (28) hide show
  1. package/dist/{allPaths-DXE_RTrt.js → allPaths-Bn3yyQ3c.js} +2 -2
  2. package/dist/{allPaths-DXE_RTrt.js.map → allPaths-Bn3yyQ3c.js.map} +1 -1
  3. package/dist/{allPaths-h7bsheRo.js → allPaths-CvONgUpw.js} +2 -2
  4. package/dist/{allPaths-h7bsheRo.js.map → allPaths-CvONgUpw.js.map} +1 -1
  5. package/dist/{allPathsLoader-16QM90xQ.js → allPathsLoader-ChGTIs4V.js} +3 -3
  6. package/dist/{allPathsLoader-BWX35Jie.js.map → allPathsLoader-ChGTIs4V.js.map} +1 -1
  7. package/dist/{allPathsLoader-BWX35Jie.js → allPathsLoader-CwfUUH_6.js} +3 -3
  8. package/dist/{allPathsLoader-16QM90xQ.js.map → allPathsLoader-CwfUUH_6.js.map} +1 -1
  9. package/dist/{index-tdErpvtu.js → index-C55tLFkh.js} +107 -89
  10. package/dist/{index-tdErpvtu.js.map → index-C55tLFkh.js.map} +1 -1
  11. package/dist/index.js +2 -2
  12. package/dist/{splitPathsBySizeLoader-wQWCogRx.js → splitPathsBySizeLoader-C3WMN64l.js} +2 -2
  13. package/dist/{splitPathsBySizeLoader-wQWCogRx.js.map → splitPathsBySizeLoader-C3WMN64l.js.map} +1 -1
  14. package/dist/{splitPathsBySizeLoader-7yhv4gcq.js → splitPathsBySizeLoader-DIiMams0.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-7yhv4gcq.js.map → splitPathsBySizeLoader-DIiMams0.js.map} +1 -1
  16. package/dist-types/lib/user-facing/components/button/props.d.ts +0 -5
  17. package/dist-types/lib/user-facing/components/column/index.d.ts +1 -1
  18. package/dist-types/lib/user-facing/components/column/props.d.ts +1 -1
  19. package/dist-types/lib/user-facing/components/image/index.d.ts +1 -1
  20. package/dist-types/lib/user-facing/components/image/props.d.ts +1 -1
  21. package/dist-types/lib/user-facing/components/section/index.d.ts +2 -2
  22. package/dist-types/lib/user-facing/components/section/props.d.ts +2 -2
  23. package/dist-types/lib/user-facing/components/stack/index.d.ts +2 -2
  24. package/dist-types/lib/user-facing/components/table/index.d.ts +2 -2
  25. package/dist-types/lib/user-facing/components/table/props.d.ts +2 -2
  26. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +4 -8
  27. package/dist-types/lib/user-facing/themes/constants.d.ts +1 -0
  28. 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-tdErpvtu.js";
3
+ import { p as pascalCase, I as IconSize } from "./index-C55tLFkh.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-DXE_RTrt.js.map
17
+ //# sourceMappingURL=allPaths-Bn3yyQ3c.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-DXE_RTrt.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-Bn3yyQ3c.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-tdErpvtu.js";
3
+ import { p as pascalCase, b as IconSize } from "./index-C55tLFkh.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-h7bsheRo.js.map
17
+ //# sourceMappingURL=allPaths-CvONgUpw.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-h7bsheRo.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-CvONgUpw.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-tdErpvtu.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-C55tLFkh.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-DXE_RTrt.js"
10
+ "./allPaths-CvONgUpw.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-16QM90xQ.js.map
22
+ //# sourceMappingURL=allPathsLoader-ChGTIs4V.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-BWX35Jie.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-ChGTIs4V.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-tdErpvtu.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-C55tLFkh.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-h7bsheRo.js"
10
+ "./allPaths-Bn3yyQ3c.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-BWX35Jie.js.map
22
+ //# sourceMappingURL=allPathsLoader-CwfUUH_6.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-16QM90xQ.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-CwfUUH_6.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]}
@@ -2690,14 +2690,14 @@ function getLoaderFn$1(options) {
2690
2690
  if (!(loader === "all")) return [3, 3];
2691
2691
  return [4, import(
2692
2692
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
2693
- "./allPathsLoader-16QM90xQ.js"
2693
+ "./allPathsLoader-CwfUUH_6.js"
2694
2694
  )];
2695
2695
  case 2:
2696
2696
  return [2, _b2.sent().allPathsLoader];
2697
2697
  case 3:
2698
2698
  return [4, import(
2699
2699
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
2700
- "./splitPathsBySizeLoader-7yhv4gcq.js"
2700
+ "./splitPathsBySizeLoader-DIiMams0.js"
2701
2701
  )];
2702
2702
  case 4:
2703
2703
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -48340,12 +48340,23 @@ const noBorder = (theme) => ({
48340
48340
  style: "solid",
48341
48341
  color: theme.colors.neutral100
48342
48342
  });
48343
+ const onePixelTransparentBorder = () => ({
48344
+ width: Dim.px(1),
48345
+ style: "solid",
48346
+ color: "transparent"
48347
+ });
48343
48348
  const noBorderOject = (theme) => ({
48344
48349
  left: noBorder(theme),
48345
48350
  right: noBorder(theme),
48346
48351
  top: noBorder(theme),
48347
48352
  bottom: noBorder(theme)
48348
48353
  });
48354
+ const onePixelTransparentBorderObject = () => ({
48355
+ left: onePixelTransparentBorder(),
48356
+ right: onePixelTransparentBorder(),
48357
+ top: onePixelTransparentBorder(),
48358
+ bottom: onePixelTransparentBorder()
48359
+ });
48349
48360
  ({
48350
48361
  topLeft: Dim.px(0),
48351
48362
  topRight: Dim.px(0),
@@ -117321,24 +117332,41 @@ const labelTextStyle = () => textStyleProp({
117321
117332
  default: Theme.colors.neutral900
117322
117333
  }
117323
117334
  }));
117324
- const perSideBorderDef = () => Prop.composite({
117325
- color: Prop.string().readAndWrite(),
117326
- width: Prop.dimension().readAndWrite(),
117327
- style: Prop.string().readAndWrite()
117328
- }).readAndWrite();
117335
+ const createPerSideBorder = (border2) => {
117336
+ return {
117337
+ left: {
117338
+ color: border2.borderColor.default,
117339
+ width: border2.borderWidth,
117340
+ style: border2.borderStyle
117341
+ },
117342
+ right: {
117343
+ color: border2.borderColor.default,
117344
+ width: border2.borderWidth,
117345
+ style: border2.borderStyle
117346
+ },
117347
+ top: {
117348
+ color: border2.borderColor.default,
117349
+ width: border2.borderWidth,
117350
+ style: border2.borderStyle
117351
+ },
117352
+ bottom: {
117353
+ color: border2.borderColor.default,
117354
+ width: border2.borderWidth,
117355
+ style: border2.borderStyle
117356
+ }
117357
+ };
117358
+ };
117329
117359
  const border = (propertiesPanelConfig = {}) => {
117330
- return Prop.composite({
117331
- top: perSideBorderDef(),
117332
- right: perSideBorderDef(),
117333
- bottom: perSideBorderDef(),
117334
- left: perSideBorderDef()
117335
- }).propertiesPanel({
117360
+ return Prop.any().readAndWrite().propertiesPanel({
117336
117361
  label: "Border",
117337
117362
  controlType: "BORDER_CONTROL",
117338
117363
  helpText: "Controls the border of the component",
117364
+ visibility: "SHOW_NAME",
117365
+ isRemovable: true,
117366
+ defaultOnAdd: () => createPerSideBorder(Theme.defaultBorder),
117339
117367
  isJSConvertible: false,
117340
117368
  ...propertiesPanelConfig
117341
- }).readAndWrite();
117369
+ });
117342
117370
  };
117343
117371
  const createBorderRadiusObject = (borderRadius2) => {
117344
117372
  return {
@@ -117349,18 +117377,16 @@ const createBorderRadiusObject = (borderRadius2) => {
117349
117377
  };
117350
117378
  };
117351
117379
  const borderRadius = (propertiesPanelConfig = {}) => {
117352
- return Prop.composite({
117353
- topLeft: Prop.dimension().readAndWrite(),
117354
- topRight: Prop.dimension().readAndWrite(),
117355
- bottomRight: Prop.dimension().readAndWrite(),
117356
- bottomLeft: Prop.dimension().readAndWrite()
117357
- }).default(function() {
117358
- const borderRadius2 = Theme.defaultBorder.borderRadius ?? Dim.px(0);
117359
- return createBorderRadiusObject(borderRadius2);
117380
+ return Prop.any().default(() => {
117381
+ const borderRadius2 = Theme.defaultBorder.borderRadius;
117382
+ return borderRadius2.value !== 0 ? createBorderRadiusObject(borderRadius2) : void 0;
117360
117383
  }).readAndWrite().propertiesPanel({
117361
117384
  label: "Border radius",
117362
117385
  controlType: "BORDER_RADIUS_CONTROL",
117363
117386
  helpText: "Controls the border radius of the component",
117387
+ visibility: "SHOW_NAME",
117388
+ isRemovable: true,
117389
+ defaultOnAdd: () => createBorderRadiusObject(Theme.defaultBorder.borderRadius),
117364
117390
  isJSConvertible: false,
117365
117391
  ...propertiesPanelConfig
117366
117392
  });
@@ -117373,35 +117399,49 @@ const buildPerSideBorder = (border2) => {
117373
117399
  left: border2()
117374
117400
  };
117375
117401
  };
117376
- const PRIMARY_BUTTON_BORDER_OBJECT = buildPerSideBorder(() => ({
117377
- color: function() {
117378
- return this.backgroundColor;
117379
- },
117380
- width: Dim.px(1),
117381
- style: "solid"
117382
- }));
117383
- const SECONDARY_BUTTON_BORDER_OBJECT = buildPerSideBorder(() => ({
117384
- color: () => Theme.colors.primary500,
117385
- width: Dim.px(1),
117386
- style: "solid"
117387
- }));
117402
+ const PRIMARY_BUTTON_BORDER_OBJECT = function() {
117403
+ return buildPerSideBorder(() => ({
117404
+ color: this.backgroundColor,
117405
+ width: Dim.px(1),
117406
+ style: "solid"
117407
+ }));
117408
+ };
117409
+ const SECONDARY_BUTTON_BORDER_OBJECT = function() {
117410
+ return buildPerSideBorder(() => ({
117411
+ color: Theme.colors.primary500,
117412
+ width: Dim.px(1),
117413
+ style: "solid"
117414
+ }));
117415
+ };
117388
117416
  const getDefaultBorderObject = function() {
117389
117417
  switch (this.variant) {
117390
117418
  case "primary":
117391
- return PRIMARY_BUTTON_BORDER_OBJECT;
117419
+ return PRIMARY_BUTTON_BORDER_OBJECT.bind(this)();
117392
117420
  case "secondary":
117393
- return SECONDARY_BUTTON_BORDER_OBJECT;
117421
+ return SECONDARY_BUTTON_BORDER_OBJECT.bind(this)();
117394
117422
  default:
117395
- return noBorderOject(Theme);
117423
+ return onePixelTransparentBorderObject();
117396
117424
  }
117397
117425
  };
117398
- const PerSideBorderDef = function() {
117399
- return Prop.composite({
117400
- color: Prop.string().readAndWrite(),
117401
- width: Prop.dimension().readAndWrite(),
117402
- style: Prop.string().readAndWrite()
117403
- });
117404
- };
117426
+ function getDefaultBorderRadius() {
117427
+ return function() {
117428
+ let borderRadius2;
117429
+ switch (this.variant) {
117430
+ case "PRIMARY_BUTTON":
117431
+ borderRadius2 = Theme.buttons.primary.borderRadius;
117432
+ break;
117433
+ case "SECONDARY_BUTTON":
117434
+ borderRadius2 = Theme.buttons.secondary.borderRadius;
117435
+ break;
117436
+ case "TERTIARY_BUTTON":
117437
+ borderRadius2 = Theme.buttons.tertiary.borderRadius;
117438
+ break;
117439
+ default:
117440
+ borderRadius2 = Theme.buttons.primary.borderRadius;
117441
+ }
117442
+ return createBorderRadiusObject(borderRadius2);
117443
+ };
117444
+ }
117405
117445
  const textStyle$3 = textStyleProp().default(function() {
117406
117446
  return {
117407
117447
  variant: "buttonLabel",
@@ -117471,33 +117511,10 @@ const propertiesDefinition$h = {
117471
117511
  );
117472
117512
  return defaultThemeBackground === "transparent" ? void 0 : defaultThemeBackground;
117473
117513
  }),
117474
- border: Prop.composite(buildPerSideBorder(() => PerSideBorderDef())).default(getDefaultBorderObject).propertiesPanel({
117475
- label: "Border",
117476
- controlType: "BORDER_CONTROL",
117477
- helpText: "Controls the border of the component",
117478
- isRemovable: true,
117479
- defaultOnAdd: SECONDARY_BUTTON_BORDER_OBJECT,
117480
- visibility: "SHOW_NAME",
117481
- isJSConvertible: false
117482
- }).readAndWrite(),
117483
- borderRadius: borderRadius().default(function() {
117484
- let borderRadius2;
117485
- switch (this.variant) {
117486
- case "PRIMARY_BUTTON":
117487
- borderRadius2 = Theme.buttons.primary.borderRadius;
117488
- break;
117489
- case "SECONDARY_BUTTON":
117490
- borderRadius2 = Theme.buttons.secondary.borderRadius;
117491
- break;
117492
- case "TERTIARY_BUTTON":
117493
- borderRadius2 = Theme.buttons.tertiary.borderRadius;
117494
- break;
117495
- default:
117496
- borderRadius2 = Theme.buttons.primary.borderRadius;
117497
- }
117498
- return createBorderRadiusObject(borderRadius2);
117499
- }),
117500
- // Horizontal label alignment
117514
+ border: border({
117515
+ defaultOnAdd: SECONDARY_BUTTON_BORDER_OBJECT
117516
+ }).default(getDefaultBorderObject),
117517
+ borderRadius: borderRadius().default(getDefaultBorderRadius),
117501
117518
  labelAlignment: Prop.string().readAndWrite().default("center").propertiesPanel({
117502
117519
  label: "Label alignment",
117503
117520
  controlType: "RADIO_BUTTON_GROUP",
@@ -118039,8 +118056,11 @@ const propertiesDefinition$g = {
118039
118056
  appearance: Section.category(PropsPanelCategory.Appearance).children({
118040
118057
  backgroundColor: colorProp({
118041
118058
  label: "Background",
118042
- helpText: "Changes the color of the background"
118043
- }),
118059
+ helpText: "Changes the color of the background",
118060
+ visibility: "SHOW_NAME",
118061
+ isRemovable: true,
118062
+ defaultOnAdd: () => Theme.colors.appBackground ?? "#ffffff"
118063
+ }).default(void 0).validate(VALIDATORS.TEXT_ALLOW_UNDEFINED),
118044
118064
  border: border()
118045
118065
  })
118046
118066
  };
@@ -118477,18 +118497,13 @@ const propertiesDefinition$f = {
118477
118497
  helpText: "Changes the color of the background",
118478
118498
  visibility: "SHOW_NAME",
118479
118499
  isRemovable: true,
118480
- defaultOnAdd: function() {
118481
- return Theme.colors.appBackground ?? "#ffffff";
118482
- }
118500
+ defaultOnAdd: () => Theme.colors.appBackground ?? "#ffffff"
118483
118501
  }),
118484
- border: border(),
118485
- borderRadius: borderRadius({
118486
- isRemovable: true,
118487
- visibility: "SHOW_NAME",
118488
- defaultOnAdd: createBorderRadiusObject(Dim.px(0))
118489
- }).default(function() {
118490
- const borderRadius2 = this.variant === "card" ? Theme.defaultBorder.borderRadius : Dim.px(0);
118491
- return createBorderRadiusObject(borderRadius2);
118502
+ border: border().default(function() {
118503
+ return this.variant === "card" ? createPerSideBorder(Theme.defaultBorder) : void 0;
118504
+ }),
118505
+ borderRadius: borderRadius().default(function() {
118506
+ return this.variant === "card" ? createBorderRadiusObject(Theme.defaultBorder.borderRadius) : void 0;
118492
118507
  })
118493
118508
  })
118494
118509
  };
@@ -118618,7 +118633,10 @@ const propertiesDefinition$e = {
118618
118633
  appearance: Section.category(PropsPanelCategory.Appearance).children({
118619
118634
  backgroundColor: colorProp({
118620
118635
  label: "Background",
118621
- helpText: "Changes the color of the background"
118636
+ helpText: "Changes the color of the background",
118637
+ visibility: "SHOW_NAME",
118638
+ isRemovable: true,
118639
+ defaultOnAdd: () => Theme.colors.appBackground ?? "#ffffff"
118622
118640
  }),
118623
118641
  border: border()
118624
118642
  })
@@ -143627,14 +143645,14 @@ function getLoaderFn(options) {
143627
143645
  if (!(loader === "all")) return [3, 3];
143628
143646
  return [4, import(
143629
143647
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
143630
- "./allPathsLoader-BWX35Jie.js"
143648
+ "./allPathsLoader-ChGTIs4V.js"
143631
143649
  )];
143632
143650
  case 2:
143633
143651
  return [2, _b2.sent().allPathsLoader];
143634
143652
  case 3:
143635
143653
  return [4, import(
143636
143654
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
143637
- "./splitPathsBySizeLoader-wQWCogRx.js"
143655
+ "./splitPathsBySizeLoader-C3WMN64l.js"
143638
143656
  )];
143639
143657
  case 4:
143640
143658
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -170743,7 +170761,7 @@ const SbTable = registerSbComponent(
170743
170761
  selectedRowIndices: props.selectedRowIndices ?? EMPTY_ARRAY,
170744
170762
  showColumnBorders: props.showColumnBorders ?? false,
170745
170763
  compactMode: getCompactMode(props.compactMode),
170746
- border: props.border ?? theme.defaultBorder,
170764
+ border: props.border ?? createPerSideBorder(theme.defaultBorder),
170747
170765
  borderRadius: props.borderRadius ?? theme.defaultBorder.borderRadius,
170748
170766
  disableNudge,
170749
170767
  setSelectedRowData,
@@ -190068,4 +190086,4 @@ export {
190068
190086
  copyToClipboard as y,
190069
190087
  navigateTo as z
190070
190088
  };
190071
- //# sourceMappingURL=index-tdErpvtu.js.map
190089
+ //# sourceMappingURL=index-C55tLFkh.js.map