@osdk/react-components 0.38.0-main-ffa3daa062ea7db7f93d9dc1b1768d2b0f01878d → 0.38.0

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 (54) hide show
  1. package/CHANGELOG.md +2 -11
  2. package/build/browser/util/UserAgent.js +1 -1
  3. package/build/browser/util/UserAgent.js.map +1 -1
  4. package/build/cjs/chunk-5GF4SEGZ.cjs +11 -0
  5. package/build/cjs/{chunk-KC754RGX.cjs.map → chunk-5GF4SEGZ.cjs.map} +1 -1
  6. package/build/cjs/chunk-BQDFMGB4.cjs +11 -0
  7. package/build/cjs/{chunk-JMA4CRQ2.cjs.map → chunk-BQDFMGB4.cjs.map} +1 -1
  8. package/build/cjs/chunk-EU4BWR7I.cjs +11 -0
  9. package/build/cjs/{chunk-KEABTRHT.cjs.map → chunk-EU4BWR7I.cjs.map} +1 -1
  10. package/build/cjs/{chunk-IPCNB24Z.cjs → chunk-H327TOE3.cjs} +4 -4
  11. package/build/cjs/{chunk-IPCNB24Z.cjs.map → chunk-H327TOE3.cjs.map} +1 -1
  12. package/build/cjs/{chunk-7L6EW54G.cjs → chunk-LMRLIMJ2.cjs} +4 -4
  13. package/build/cjs/{chunk-7L6EW54G.cjs.map → chunk-LMRLIMJ2.cjs.map} +1 -1
  14. package/build/cjs/{chunk-MFUV5PPV.cjs → chunk-MK4RPINM.cjs} +4 -4
  15. package/build/cjs/{chunk-MFUV5PPV.cjs.map → chunk-MK4RPINM.cjs.map} +1 -1
  16. package/build/cjs/{chunk-465KYNKX.cjs → chunk-N5H45CKB.cjs} +4 -4
  17. package/build/cjs/{chunk-465KYNKX.cjs.map → chunk-N5H45CKB.cjs.map} +1 -1
  18. package/build/cjs/chunk-OR2GTB4M.cjs +11 -0
  19. package/build/cjs/{chunk-NLDMHFTZ.cjs.map → chunk-OR2GTB4M.cjs.map} +1 -1
  20. package/build/cjs/{chunk-HL2QOMXJ.cjs → chunk-R5WY6QQ6.cjs} +4 -4
  21. package/build/cjs/{chunk-HL2QOMXJ.cjs.map → chunk-R5WY6QQ6.cjs.map} +1 -1
  22. package/build/cjs/{chunk-S6KF4CIQ.cjs → chunk-RS7IO4F7.cjs} +4 -4
  23. package/build/cjs/{chunk-S6KF4CIQ.cjs.map → chunk-RS7IO4F7.cjs.map} +1 -1
  24. package/build/cjs/{chunk-64DWV2RK.cjs → chunk-THTFF26W.cjs} +3 -3
  25. package/build/cjs/chunk-THTFF26W.cjs.map +1 -0
  26. package/build/cjs/chunk-TIQHZ42G.cjs +11 -0
  27. package/build/cjs/{chunk-TCQQME7D.cjs.map → chunk-TIQHZ42G.cjs.map} +1 -1
  28. package/build/cjs/{chunk-X45PQCBW.cjs → chunk-Z6HDDCMG.cjs} +4 -4
  29. package/build/cjs/{chunk-X45PQCBW.cjs.map → chunk-Z6HDDCMG.cjs.map} +1 -1
  30. package/build/cjs/{chunk-WULHSLTK.cjs → chunk-ZLMTROXV.cjs} +4 -4
  31. package/build/cjs/{chunk-WULHSLTK.cjs.map → chunk-ZLMTROXV.cjs.map} +1 -1
  32. package/build/cjs/public/experimental/action-form.cjs +4 -4
  33. package/build/cjs/public/experimental/cbac-picker.cjs +11 -11
  34. package/build/cjs/public/experimental/document-viewer.cjs +4 -4
  35. package/build/cjs/public/experimental/email-viewer.cjs +3 -3
  36. package/build/cjs/public/experimental/excel-viewer.cjs +3 -3
  37. package/build/cjs/public/experimental/filter-list.cjs +15 -15
  38. package/build/cjs/public/experimental/image-viewer.cjs +3 -3
  39. package/build/cjs/public/experimental/markdown-renderer.cjs +3 -3
  40. package/build/cjs/public/experimental/object-table.cjs +21 -21
  41. package/build/cjs/public/experimental/pdf-viewer.cjs +7 -7
  42. package/build/cjs/public/experimental/tiff-renderer.cjs +3 -3
  43. package/build/cjs/public/experimental/video-viewer.cjs +3 -3
  44. package/build/cjs/public/experimental/xml-viewer.cjs +3 -3
  45. package/build/cjs/public/experimental.cjs +71 -71
  46. package/build/esm/util/UserAgent.js +1 -1
  47. package/build/esm/util/UserAgent.js.map +1 -1
  48. package/package.json +9 -9
  49. package/build/cjs/chunk-64DWV2RK.cjs.map +0 -1
  50. package/build/cjs/chunk-JMA4CRQ2.cjs +0 -11
  51. package/build/cjs/chunk-KC754RGX.cjs +0 -11
  52. package/build/cjs/chunk-KEABTRHT.cjs +0 -11
  53. package/build/cjs/chunk-NLDMHFTZ.cjs +0 -11
  54. package/build/cjs/chunk-TCQQME7D.cjs +0 -11
package/CHANGELOG.md CHANGED
@@ -1,22 +1,13 @@
1
1
  # @osdk/react-components
2
2
 
3
- ## 0.38.0-main-ffa3daa062ea7db7f93d9dc1b1768d2b0f01878d
3
+ ## 0.38.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
7
  - a08d0c4: Export ObjectTable's hooks so consumers can build a custom table. `useObjectTableData` now takes a single options object instead of positional arguments. Consumers building their own table with these hooks should install a `@tanstack/react-table` version matching the one this package depends on to avoid type incompatibilities.
8
- - cb30380: BasePdfViewer now accepts a Uint8Array or Blob as its `src`, in addition to the existing URL string and ArrayBuffer inputs.
9
-
10
- ### Patch Changes
11
-
12
8
  - fea14b8: Generate the props reference tables for components directly from their props interfaces so the docs can no longer drift from the source. A component-agnostic `gen-props` script regenerates any doc whose AUTOGEN markers declare a `src` file and `interface`, and a `check-gen-props` task (added to CI) fails on drift via `--check`.
13
9
  - 1b33456: Enable the require-await lint rule: drop the redundant `async` keyword from test callbacks that never await, and keep intentionally-async (Promise-returning) functions as-is
14
- - Updated dependencies [1b33456]
15
- - Updated dependencies [ffa3daa]
16
- - @osdk/aip-core@1.0.0-main-ffa3daa062ea7db7f93d9dc1b1768d2b0f01878d
17
- - @osdk/client@3.0.0-main-ffa3daa062ea7db7f93d9dc1b1768d2b0f01878d
18
- - @osdk/react@3.0.0-main-ffa3daa062ea7db7f93d9dc1b1768d2b0f01878d
19
- - @osdk/api@3.0.0-main-ffa3daa062ea7db7f93d9dc1b1768d2b0f01878d
10
+ - cb30380: BasePdfViewer now accepts a Uint8Array or Blob as its `src`, in addition to the existing URL string and ArrayBuffer inputs.
20
11
 
21
12
  ## 0.37.0
22
13
 
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- const PACKAGE_USER_AGENT = `osdk-react-components/${"0.38.0-main-ffa3daa062ea7db7f93d9dc1b1768d2b0f01878d"}`;
17
+ const PACKAGE_USER_AGENT = `osdk-react-components/${"0.38.0"}`;
18
18
  export function componentUserAgent(componentName) {
19
19
  return `${PACKAGE_USER_AGENT}/${componentName}`;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UserAgent.js","names":["PACKAGE_USER_AGENT","componentUserAgent","componentName"],"sources":["UserAgent.ts"],"sourcesContent":["/*\n * Copyright 2025 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 */\n\nconst PACKAGE_USER_AGENT = `osdk-react-components/${process.env.PACKAGE_VERSION}`;\n\nexport function componentUserAgent(componentName: string): string {\n return `${PACKAGE_USER_AGENT}/${componentName}`;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAMA,kBAAkB,GAAG,iFAAsD;AAEjF,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
1
+ {"version":3,"file":"UserAgent.js","names":["PACKAGE_USER_AGENT","componentUserAgent","componentName"],"sources":["UserAgent.ts"],"sourcesContent":["/*\n * Copyright 2025 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 */\n\nconst PACKAGE_USER_AGENT = `osdk-react-components/${process.env.PACKAGE_VERSION}`;\n\nexport function componentUserAgent(componentName: string): string {\n return `${PACKAGE_USER_AGENT}/${componentName}`;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAMA,kBAAkB,GAAG,mCAAsD;AAEjF,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkS2FQCZAB_cjs = require('./chunk-S2FQCZAB.cjs');
4
+ var chunkTHTFF26W_cjs = require('./chunk-THTFF26W.cjs');
5
+
6
+ // src/public/experimental/excel-viewer.ts
7
+ var ExcelViewer2 = chunkTHTFF26W_cjs.withOsdkMetrics(chunkS2FQCZAB_cjs.ExcelViewer, "ExcelViewer");
8
+
9
+ exports.ExcelViewer = ExcelViewer2;
10
+ //# sourceMappingURL=chunk-5GF4SEGZ.cjs.map
11
+ //# sourceMappingURL=chunk-5GF4SEGZ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/excel-viewer.ts"],"names":["ExcelViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-KC754RGX.cjs","sourcesContent":["/*\n * Copyright 2026 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 */\n\n// BaseExcelViewer\nexport { BaseExcelViewer } from \"../../excel-viewer/BaseExcelViewer.js\";\n// ExcelViewer (Media wrapper)\nimport { ExcelViewer as _ExcelViewer } from \"../../excel-viewer/ExcelViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const ExcelViewer = withOsdkMetrics(_ExcelViewer, \"ExcelViewer\");"]}
1
+ {"version":3,"sources":["../../src/public/experimental/excel-viewer.ts"],"names":["ExcelViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-5GF4SEGZ.cjs","sourcesContent":["/*\n * Copyright 2026 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 */\n\n// BaseExcelViewer\nexport { BaseExcelViewer } from \"../../excel-viewer/BaseExcelViewer.js\";\n// ExcelViewer (Media wrapper)\nimport { ExcelViewer as _ExcelViewer } from \"../../excel-viewer/ExcelViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const ExcelViewer = withOsdkMetrics(_ExcelViewer, \"ExcelViewer\");"]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkVOROB7KJ_cjs = require('./chunk-VOROB7KJ.cjs');
4
+ var chunkTHTFF26W_cjs = require('./chunk-THTFF26W.cjs');
5
+
6
+ // src/public/experimental/image-viewer.ts
7
+ var ImageViewer2 = chunkTHTFF26W_cjs.withOsdkMetrics(chunkVOROB7KJ_cjs.ImageViewer, "ImageViewer");
8
+
9
+ exports.ImageViewer = ImageViewer2;
10
+ //# sourceMappingURL=chunk-BQDFMGB4.cjs.map
11
+ //# sourceMappingURL=chunk-BQDFMGB4.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/image-viewer.ts"],"names":["ImageViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-JMA4CRQ2.cjs","sourcesContent":["/*\n * Copyright 2026 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 */\n\n// BaseImageViewer\nexport { BaseImageViewer } from \"../../images/image-viewer/BaseImageViewer.js\";\n// ImageViewer (Media wrapper)\nimport { ImageViewer as _ImageViewer } from \"../../images/image-viewer/ImageViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const ImageViewer = withOsdkMetrics(_ImageViewer, \"ImageViewer\");"]}
1
+ {"version":3,"sources":["../../src/public/experimental/image-viewer.ts"],"names":["ImageViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-BQDFMGB4.cjs","sourcesContent":["/*\n * Copyright 2026 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 */\n\n// BaseImageViewer\nexport { BaseImageViewer } from \"../../images/image-viewer/BaseImageViewer.js\";\n// ImageViewer (Media wrapper)\nimport { ImageViewer as _ImageViewer } from \"../../images/image-viewer/ImageViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const ImageViewer = withOsdkMetrics(_ImageViewer, \"ImageViewer\");"]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkRVZE7LPI_cjs = require('./chunk-RVZE7LPI.cjs');
4
+ var chunkTHTFF26W_cjs = require('./chunk-THTFF26W.cjs');
5
+
6
+ // src/public/experimental/xml-viewer.ts
7
+ var XmlViewer2 = chunkTHTFF26W_cjs.withOsdkMetrics(chunkRVZE7LPI_cjs.XmlViewer, "XmlViewer");
8
+
9
+ exports.XmlViewer = XmlViewer2;
10
+ //# sourceMappingURL=chunk-EU4BWR7I.cjs.map
11
+ //# sourceMappingURL=chunk-EU4BWR7I.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/experimental/xml-viewer.ts"],"names":["XmlViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,UAAAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-KEABTRHT.cjs","sourcesContent":["/*\n * Copyright 2026 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 */\n\n// BaseXmlViewer\nexport { BaseXmlViewer } from \"../../xml-viewer/BaseXmlViewer.js\";\n// XmlViewer (Media wrapper)\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nimport { XmlViewer as _XmlViewer } from \"../../xml-viewer/XmlViewer.js\";\nexport const XmlViewer = withOsdkMetrics(_XmlViewer, \"XmlViewer\");"]}
1
+ {"version":3,"sources":["../../src/public/experimental/xml-viewer.ts"],"names":["XmlViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,UAAAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-EU4BWR7I.cjs","sourcesContent":["/*\n * Copyright 2026 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 */\n\n// BaseXmlViewer\nexport { BaseXmlViewer } from \"../../xml-viewer/BaseXmlViewer.js\";\n// XmlViewer (Media wrapper)\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nimport { XmlViewer as _XmlViewer } from \"../../xml-viewer/XmlViewer.js\";\nexport const XmlViewer = withOsdkMetrics(_XmlViewer, \"XmlViewer\");"]}
@@ -10,7 +10,7 @@ var chunkDWNKXV5E_cjs = require('./chunk-DWNKXV5E.cjs');
10
10
  var chunkHNBSGCSZ_cjs = require('./chunk-HNBSGCSZ.cjs');
11
11
  var chunk7LXS66DW_cjs = require('./chunk-7LXS66DW.cjs');
12
12
  var chunkQP2LHBCZ_cjs = require('./chunk-QP2LHBCZ.cjs');
13
- var chunk64DWV2RK_cjs = require('./chunk-64DWV2RK.cjs');
13
+ var chunkTHTFF26W_cjs = require('./chunk-THTFF26W.cjs');
14
14
  var reactTable = require('@tanstack/react-table');
15
15
  var React16 = require('react');
16
16
  var react = require('@osdk/react');
@@ -3255,7 +3255,7 @@ function ObjectTable({
3255
3255
  }
3256
3256
 
3257
3257
  // src/public/experimental/object-table.ts
3258
- var ObjectTable2 = chunk64DWV2RK_cjs.withOsdkMetrics(ObjectTable, "ObjectTable");
3258
+ var ObjectTable2 = chunkTHTFF26W_cjs.withOsdkMetrics(ObjectTable, "ObjectTable");
3259
3259
 
3260
3260
  exports.BaseTable = BaseTable;
3261
3261
  exports.ColumnConfigDialog = ColumnConfigDialog;
@@ -3276,5 +3276,5 @@ exports.useObjectTableSnapshot = useObjectTableSnapshot;
3276
3276
  exports.useRowSelection = useRowSelection;
3277
3277
  exports.useSelectionColumn = useSelectionColumn;
3278
3278
  exports.useTableSorting = useTableSorting;
3279
- //# sourceMappingURL=chunk-IPCNB24Z.cjs.map
3280
- //# sourceMappingURL=chunk-IPCNB24Z.cjs.map
3279
+ //# sourceMappingURL=chunk-H327TOE3.cjs.map
3280
+ //# sourceMappingURL=chunk-H327TOE3.cjs.map