@superblocksteam/library 2.0.0-next.75 → 2.0.0-next.77

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 (22) hide show
  1. package/dist/{allPaths-CGqbYOvD.js → allPaths-C48HoOua.js} +2 -2
  2. package/dist/{allPaths-CGqbYOvD.js.map → allPaths-C48HoOua.js.map} +1 -1
  3. package/dist/{allPaths-CEDGaKPd.js → allPaths-DWMoXtzg.js} +2 -2
  4. package/dist/{allPaths-CEDGaKPd.js.map → allPaths-DWMoXtzg.js.map} +1 -1
  5. package/dist/{allPathsLoader-Coc10wdt.js → allPathsLoader-05I3IjpX.js} +3 -3
  6. package/dist/{allPathsLoader-Coc10wdt.js.map → allPathsLoader-05I3IjpX.js.map} +1 -1
  7. package/dist/{allPathsLoader-y2OFBgre.js → allPathsLoader-Db8uiyl5.js} +3 -3
  8. package/dist/{allPathsLoader-y2OFBgre.js.map → allPathsLoader-Db8uiyl5.js.map} +1 -1
  9. package/dist/{index-kHJmJ-tG.js → index-gWOce47o.js} +108 -54
  10. package/dist/{index-kHJmJ-tG.js.map → index-gWOce47o.js.map} +1 -1
  11. package/dist/index.js +2 -2
  12. package/dist/{splitPathsBySizeLoader-C2O_pqfA.js → splitPathsBySizeLoader-BshQAeTI.js} +2 -2
  13. package/dist/{splitPathsBySizeLoader-C2O_pqfA.js.map → splitPathsBySizeLoader-BshQAeTI.js.map} +1 -1
  14. package/dist/{splitPathsBySizeLoader-mUM3KhQf.js → splitPathsBySizeLoader-DvlXaf-3.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-mUM3KhQf.js.map → splitPathsBySizeLoader-DvlXaf-3.js.map} +1 -1
  16. package/dist-types/edit-mode/default-table-data.d.ts +7 -0
  17. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +26 -27
  18. package/dist-types/lib/user-facing/components/table/index.d.ts +33 -33
  19. package/dist-types/lib/user-facing/components/table/props.d.ts +33 -33
  20. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +1 -1
  21. package/dist-types/lib/user-facing/components/table/types.d.ts +2 -2
  22. package/package.json +2 -2
@@ -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-kHJmJ-tG.js";
3
+ import { p as pascalCase, b as IconSize } from "./index-gWOce47o.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-CGqbYOvD.js.map
17
+ //# sourceMappingURL=allPaths-C48HoOua.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-CGqbYOvD.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-C48HoOua.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-kHJmJ-tG.js";
3
+ import { p as pascalCase, I as IconSize } from "./index-gWOce47o.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-CEDGaKPd.js.map
17
+ //# sourceMappingURL=allPaths-DWMoXtzg.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPaths-CEDGaKPd.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-DWMoXtzg.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-kHJmJ-tG.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-gWOce47o.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-CGqbYOvD.js"
10
+ "./allPaths-C48HoOua.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-Coc10wdt.js.map
22
+ //# sourceMappingURL=allPathsLoader-05I3IjpX.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-Coc10wdt.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-05I3IjpX.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-kHJmJ-tG.js";
1
+ import { _ as __awaiter, a as __generator } from "./index-gWOce47o.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-CEDGaKPd.js"
10
+ "./allPaths-DWMoXtzg.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-y2OFBgre.js.map
22
+ //# sourceMappingURL=allPathsLoader-Db8uiyl5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allPathsLoader-y2OFBgre.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-Db8uiyl5.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-y2OFBgre.js"
2693
+ "./allPathsLoader-Db8uiyl5.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-C2O_pqfA.js"
2700
+ "./splitPathsBySizeLoader-BshQAeTI.js"
2701
2701
  )];
2702
2702
  case 4:
2703
2703
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -115393,7 +115393,13 @@ const DEFAULT_TABLE_COLUMNS = {
115393
115393
  },
115394
115394
  photo: {
115395
115395
  columnType: "image",
115396
- label: "Photo"
115396
+ label: "Photo",
115397
+ imageBorderRadius: {
115398
+ topLeft: Dim.px(16),
115399
+ topRight: Dim.px(16),
115400
+ bottomLeft: Dim.px(16),
115401
+ bottomRight: Dim.px(16)
115402
+ }
115397
115403
  }
115398
115404
  };
115399
115405
  const DEFAULT_TABLE_KEYS = Object.keys(DEFAULT_TABLE_COLUMNS);
@@ -134819,13 +134825,19 @@ const textStyleProps = {
134819
134825
  { value: "bottom", icon: "VERTICAL_BOTTOM" }
134820
134826
  ]
134821
134827
  }),
134822
- "cellProps.textStyle": Prop.any().propertiesPanel({
134823
- label: "Cell style",
134824
- controlType: "TEXT_STYLE"
134825
- }),
134828
+ "cellProps.textStyle": textStyleProp({
134829
+ propertiesPanel: {
134830
+ label: "Cell text style"
134831
+ }
134832
+ }).default(() => ({
134833
+ variant: DEFAULT_CELL_TEXT_STYLE_VARIANT,
134834
+ textColor: {
134835
+ default: Theme.colors.neutral900
134836
+ }
134837
+ })),
134826
134838
  cellBackground: colorProp({
134827
134839
  label: "Background color"
134828
- }).readAndWrite()
134840
+ }).default(() => Theme.colors.neutral).readAndWrite()
134829
134841
  };
134830
134842
  const textColumnProperties = {
134831
134843
  general: {
@@ -134902,7 +134914,7 @@ const buttonColumnProperties = {
134902
134914
  ]
134903
134915
  }),
134904
134916
  buttonBackgroundColor: colorProp({
134905
- label: "Background color",
134917
+ label: "Button color",
134906
134918
  visibility: "SHOW_NAME",
134907
134919
  isRemovable: true,
134908
134920
  defaultOnAdd: function() {
@@ -135021,15 +135033,7 @@ const imageColumnProperties = {
135021
135033
  }
135022
135034
  ]
135023
135035
  }),
135024
- imageBorderRadius: Prop.any().readAndWrite().propertiesPanel({
135025
- label: "Image border radius",
135026
- controlType: "DROP_DOWN",
135027
- options: [
135028
- { label: "0px", value: Dim.px(0) },
135029
- { label: "4px", value: Dim.px(4) },
135030
- { label: "50% (circular)", value: Dim.percent(50) }
135031
- ]
135032
- }),
135036
+ imageBorderRadius: borderRadius(),
135033
135037
  ...textStyleProps
135034
135038
  }
135035
135039
  };
@@ -135302,7 +135306,7 @@ const columnPanelConfig = {
135302
135306
  ]
135303
135307
  })
135304
135308
  ).add({
135305
- frozen: Prop.boolean().readAndWrite().propertiesPanel({
135309
+ isFrozen: Prop.boolean().readAndWrite().propertiesPanel({
135306
135310
  label: "Frozen",
135307
135311
  controlType: "SWITCH"
135308
135312
  })
@@ -144424,14 +144428,14 @@ function getLoaderFn(options) {
144424
144428
  if (!(loader === "all")) return [3, 3];
144425
144429
  return [4, import(
144426
144430
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
144427
- "./allPathsLoader-Coc10wdt.js"
144431
+ "./allPathsLoader-05I3IjpX.js"
144428
144432
  )];
144429
144433
  case 2:
144430
144434
  return [2, _b2.sent().allPathsLoader];
144431
144435
  case 3:
144432
144436
  return [4, import(
144433
144437
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
144434
- "./splitPathsBySizeLoader-mUM3KhQf.js"
144438
+ "./splitPathsBySizeLoader-DvlXaf-3.js"
144435
144439
  )];
144436
144440
  case 4:
144437
144441
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -154651,9 +154655,6 @@ const renderCell = ({
154651
154655
  },
154652
154656
  children: images.map((item, index2) => {
154653
154657
  if (isValidUrl(item)) {
154654
- const imageStyle = {
154655
- borderRadius: typeof (cellProperties == null ? void 0 : cellProperties.imageBorderRadius) === "string" ? cellProperties.imageBorderRadius : (cellProperties == null ? void 0 : cellProperties.imageBorderRadius) ? `${cellProperties.imageBorderRadius.value}${cellProperties.imageBorderRadius.mode}` : "50%"
154656
- };
154657
154658
  if (cellProperties.openImageUrl || cellProperties.openImageUrl == null) {
154658
154659
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
154659
154660
  "a",
@@ -154664,7 +154665,18 @@ const renderCell = ({
154664
154665
  href: item,
154665
154666
  className: "image-cell-wrapper",
154666
154667
  "data-image-size": cellProperties.imageSize ?? ImageSize.Fixed,
154667
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: item, alt: "", style: imageStyle })
154668
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
154669
+ "img",
154670
+ {
154671
+ src: item,
154672
+ alt: "",
154673
+ style: generateBorderRadiusStyleObject(
154674
+ cellProperties.imageBorderRadius ? {
154675
+ borderRadius: cellProperties.imageBorderRadius
154676
+ } : {}
154677
+ )
154678
+ }
154679
+ )
154668
154680
  },
154669
154681
  index2
154670
154682
  );
@@ -154674,7 +154686,18 @@ const renderCell = ({
154674
154686
  {
154675
154687
  className: "image-cell-wrapper",
154676
154688
  "data-image-size": cellProperties.imageSize ?? ImageSize.Fixed,
154677
- children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: item, alt: "", style: imageStyle })
154689
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
154690
+ "img",
154691
+ {
154692
+ src: item,
154693
+ alt: "",
154694
+ style: generateBorderRadiusStyleObject(
154695
+ cellProperties.imageBorderRadius ? {
154696
+ borderRadius: cellProperties.imageBorderRadius
154697
+ } : {}
154698
+ )
154699
+ }
154700
+ )
154678
154701
  },
154679
154702
  index2
154680
154703
  );
@@ -155078,22 +155101,32 @@ const getOrderedColumnIds = (columns, columnOrder, columnFreezes) => {
155078
155101
  )}`
155079
155102
  );
155080
155103
  }
155081
- const columnOrderVal = !Array.isArray(columnOrder) ? [] : columnOrder;
155104
+ const columnOrderVal = columnOrder;
155082
155105
  const frozenColIdsInOrder = columnOrderVal.filter(
155083
155106
  (colId) => {
155084
155107
  var _a2;
155085
155108
  return getIsColumnFrozen(colId, columnFreezes, (_a2 = columns[colId]) == null ? void 0 : _a2.isFrozen);
155086
155109
  }
155087
155110
  );
155111
+ const frozenColumnsNotInOrder = Object.keys(columns).filter(
155112
+ (colId) => {
155113
+ var _a2;
155114
+ return getIsColumnFrozen(colId, columnFreezes, (_a2 = columns[colId]) == null ? void 0 : _a2.isFrozen) && !frozenColIdsInOrder.includes(colId);
155115
+ }
155116
+ );
155088
155117
  const nonFrozenColIdsInOrder = columnOrderVal.filter(
155089
155118
  (colId) => {
155090
155119
  var _a2;
155091
155120
  return !getIsColumnFrozen(colId, columnFreezes, (_a2 = columns[colId]) == null ? void 0 : _a2.isFrozen);
155092
155121
  }
155093
155122
  );
155094
- const orderedColumnIds = [...frozenColIdsInOrder, ...nonFrozenColIdsInOrder];
155123
+ const orderedColumnIds = [
155124
+ ...frozenColIdsInOrder,
155125
+ ...frozenColumnsNotInOrder,
155126
+ ...nonFrozenColIdsInOrder
155127
+ ];
155095
155128
  const remaining = lodashExports.without(Object.keys(columns), ...orderedColumnIds);
155096
- return [...frozenColIdsInOrder, ...nonFrozenColIdsInOrder, ...remaining];
155129
+ return [...orderedColumnIds, ...remaining];
155097
155130
  };
155098
155131
  const TABLE_MULTISELECT_COLID = "SB_$$_MULTISELECT";
155099
155132
  const getVisibleOrderedColumnIds = (columns, columnOrder, columnFreezes, isMultiSelect, hiddenColumns) => {
@@ -155149,7 +155182,6 @@ function getDefaultColumnProperties(accessor, index2, widgetName, isDerived) {
155149
155182
  notation: "standard",
155150
155183
  headerIconPosition: "left",
155151
155184
  // image props
155152
- imageBorderRadius: Dim.px(0),
155153
155185
  imageSize: ImageSize.Fit,
155154
155186
  openImageUrl: true
155155
155187
  };
@@ -155889,31 +155921,49 @@ const propertiesDefinition$9 = {
155889
155921
  defaultSelectedRow: Prop.number().readAndWrite().propertiesPanel({
155890
155922
  label: "Default selected row",
155891
155923
  helpText: "Sets the default selected row"
155892
- }),
155924
+ }).validate(VALIDATORS.NUMBER_ALLOW_UNDEFINED),
155893
155925
  showColumnBorders: Prop.boolean().readAndWrite().propertiesPanel({
155894
155926
  label: "Column borders",
155895
155927
  helpText: "Show lines in table to divide columns"
155896
155928
  }),
155897
- "headerProps.textStyle": Prop.any().propertiesPanel({
155898
- label: "Header style",
155899
- controlType: "TEXT_STYLE"
155900
- }),
155901
- "columnHeaderProps.textStyle": Prop.any().propertiesPanel({
155902
- label: "Column header style",
155903
- controlType: "TEXT_STYLE"
155904
- }),
155905
- "cellProps.textStyle": Prop.any().propertiesPanel({
155906
- label: "Cell style",
155907
- controlType: "TEXT_STYLE"
155908
- }),
155929
+ "headerProps.textStyle": textStyleProp({
155930
+ propertiesPanel: {
155931
+ label: "Header text style"
155932
+ }
155933
+ }).default(() => ({
155934
+ variant: DEFAULT_HEADING_TEXT_STYLE_VARIANT,
155935
+ textColor: {
155936
+ default: Theme.colors.neutral900
155937
+ }
155938
+ })),
155939
+ "columnHeaderProps.textStyle": textStyleProp({
155940
+ propertiesPanel: {
155941
+ label: "Column header text style"
155942
+ }
155943
+ }).default(() => ({
155944
+ variant: TABLE_COLUMN_HEADER_DEFAULT_TYPOGRAPHY,
155945
+ textColor: {
155946
+ default: Theme.colors.neutral900
155947
+ }
155948
+ })),
155949
+ "cellProps.textStyle": textStyleProp({
155950
+ propertiesPanel: {
155951
+ label: "Cell text style"
155952
+ }
155953
+ }).default(() => ({
155954
+ variant: DEFAULT_CELL_TEXT_STYLE_VARIANT,
155955
+ textColor: {
155956
+ default: Theme.colors.neutral900
155957
+ }
155958
+ })),
155909
155959
  backgroundColor: colorProp({
155910
155960
  label: "Background color",
155911
155961
  helpText: "Sets the background color of the table"
155912
- }),
155962
+ }).default(() => Theme.colors.neutral),
155913
155963
  selectedRowBackgroundColor: colorProp({
155914
155964
  label: "Selected row background color",
155915
155965
  helpText: "Sets the background color of the selected row"
155916
- }),
155966
+ }).default(() => Theme.colors.neutral50),
155917
155967
  border: border({ helpText: "Sets the border of the table" }),
155918
155968
  borderRadius: borderRadius({
155919
155969
  helpText: "Sets the border radius of the table"
@@ -155960,14 +156010,20 @@ const propertiesDefinition$9 = {
155960
156010
  // todo: move search to its own section (secondary style)
155961
156011
  // TODO(FE-621): move to composite prop once we enable inline
155962
156012
  // rendering of child props in the properties panel.
155963
- "searchProps.textStyle": Prop.any().propertiesPanel({
155964
- label: "Search",
155965
- controlType: "TEXT_STYLE"
155966
- }),
156013
+ "searchProps.textStyle": textStyleProp({
156014
+ propertiesPanel: {
156015
+ label: "Search text style"
156016
+ }
156017
+ }).default(() => ({
156018
+ variant: DEFAULT_INPUT_WIDGET_INPUT_STYLE_VARIANT,
156019
+ textColor: {
156020
+ default: Theme.colors.neutral900
156021
+ }
156022
+ })),
155967
156023
  "searchProps.backgroundColor": colorProp({
155968
156024
  label: "Search background color",
155969
156025
  helpText: "Sets the background color of the search"
155970
- }),
156026
+ }).default(() => Theme.colors.neutral),
155971
156027
  "searchProps.border": border({
155972
156028
  label: "Search border",
155973
156029
  helpText: "Sets the border of the search"
@@ -170843,9 +170899,7 @@ const _TableWidget = class _TableWidget extends React__default.Component {
170843
170899
  );
170844
170900
  const sortColumn = sortedColumn == null ? void 0 : sortedColumn.column;
170845
170901
  const sortOrder = sortedColumn == null ? void 0 : sortedColumn.asc;
170846
- if (columnOrder) {
170847
- allColumns = reorderColumns(allColumns, columnOrder, columnFreezes);
170848
- }
170902
+ allColumns = reorderColumns(allColumns, columnOrder ?? [], columnFreezes);
170849
170903
  const allColumnProperties = Object.values(allColumns).filter(
170850
170904
  (col) => col.isVisible
170851
170905
  );
@@ -190918,4 +190972,4 @@ export {
190918
190972
  copyToClipboard as y,
190919
190973
  navigateTo as z
190920
190974
  };
190921
- //# sourceMappingURL=index-kHJmJ-tG.js.map
190975
+ //# sourceMappingURL=index-gWOce47o.js.map