@osdk/react-components 0.39.0 → 0.40.0-main-a2b6fc49d4e2239fddc00a2d4ed0782fd1f96fd0

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 (77) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/browser/object-table/ObjectTable.js +0 -3
  3. package/build/browser/object-table/ObjectTable.js.map +1 -1
  4. package/build/browser/object-table/ObjectTableApi.js.map +1 -1
  5. package/build/browser/object-table/hooks/useColumnDefs.js +0 -2
  6. package/build/browser/object-table/hooks/useColumnDefs.js.map +1 -1
  7. package/build/browser/object-table/hooks/useRowSelection.js +0 -3
  8. package/build/browser/object-table/hooks/useRowSelection.js.map +1 -1
  9. package/build/browser/util/UserAgent.js +1 -1
  10. package/build/browser/util/UserAgent.js.map +1 -1
  11. package/build/cjs/chunk-2NG63762.cjs +11 -0
  12. package/build/cjs/{chunk-ZHBPBYCD.cjs.map → chunk-2NG63762.cjs.map} +1 -1
  13. package/build/cjs/{chunk-E5UOPUAL.cjs → chunk-5PZHBX7V.cjs} +4 -4
  14. package/build/cjs/{chunk-E5UOPUAL.cjs.map → chunk-5PZHBX7V.cjs.map} +1 -1
  15. package/build/cjs/{chunk-WFSXNLPN.cjs → chunk-5XZG6BTX.cjs} +4 -4
  16. package/build/cjs/{chunk-WFSXNLPN.cjs.map → chunk-5XZG6BTX.cjs.map} +1 -1
  17. package/build/cjs/{chunk-AYHARI77.cjs → chunk-FNOJVZSD.cjs} +4 -4
  18. package/build/cjs/{chunk-AYHARI77.cjs.map → chunk-FNOJVZSD.cjs.map} +1 -1
  19. package/build/cjs/{chunk-VPD5ZNXM.cjs → chunk-IWZT7CPM.cjs} +3 -3
  20. package/build/cjs/chunk-IWZT7CPM.cjs.map +1 -0
  21. package/build/cjs/chunk-KG2TGIJC.cjs +11 -0
  22. package/build/cjs/{chunk-JVER3ZOK.cjs.map → chunk-KG2TGIJC.cjs.map} +1 -1
  23. package/build/cjs/{chunk-QYY4YHS5.cjs → chunk-MH3QGGPZ.cjs} +4 -4
  24. package/build/cjs/{chunk-QYY4YHS5.cjs.map → chunk-MH3QGGPZ.cjs.map} +1 -1
  25. package/build/cjs/chunk-OVSNQE7J.cjs +11 -0
  26. package/build/cjs/{chunk-ZISGRA73.cjs.map → chunk-OVSNQE7J.cjs.map} +1 -1
  27. package/build/cjs/chunk-TE2RAPFZ.cjs +11 -0
  28. package/build/cjs/{chunk-2FZYBU6I.cjs.map → chunk-TE2RAPFZ.cjs.map} +1 -1
  29. package/build/cjs/{chunk-RO3PPGFU.cjs → chunk-TPO6JWZY.cjs} +4 -4
  30. package/build/cjs/{chunk-RO3PPGFU.cjs.map → chunk-TPO6JWZY.cjs.map} +1 -1
  31. package/build/cjs/{chunk-MO4KAKAY.cjs → chunk-W252RLXO.cjs} +4 -12
  32. package/build/cjs/chunk-W252RLXO.cjs.map +1 -0
  33. package/build/cjs/chunk-XRRPXIG7.cjs +11 -0
  34. package/build/cjs/{chunk-7TXID3FA.cjs.map → chunk-XRRPXIG7.cjs.map} +1 -1
  35. package/build/cjs/{chunk-Z5OGPHAS.cjs → chunk-XS663NKN.cjs} +4 -4
  36. package/build/cjs/{chunk-Z5OGPHAS.cjs.map → chunk-XS663NKN.cjs.map} +1 -1
  37. package/build/cjs/{chunk-IDNB6BWX.cjs → chunk-XZCS5XKY.cjs} +4 -4
  38. package/build/cjs/{chunk-IDNB6BWX.cjs.map → chunk-XZCS5XKY.cjs.map} +1 -1
  39. package/build/cjs/public/experimental/action-form.cjs +4 -4
  40. package/build/cjs/public/experimental/cbac-picker.cjs +11 -11
  41. package/build/cjs/public/experimental/document-viewer.cjs +4 -4
  42. package/build/cjs/public/experimental/email-viewer.cjs +3 -3
  43. package/build/cjs/public/experimental/excel-viewer.cjs +3 -3
  44. package/build/cjs/public/experimental/filter-list.cjs +15 -15
  45. package/build/cjs/public/experimental/image-viewer.cjs +3 -3
  46. package/build/cjs/public/experimental/markdown-renderer.cjs +3 -3
  47. package/build/cjs/public/experimental/object-table.cjs +21 -21
  48. package/build/cjs/public/experimental/object-table.d.cts +2 -32
  49. package/build/cjs/public/experimental/pdf-viewer.cjs +7 -7
  50. package/build/cjs/public/experimental/tiff-renderer.cjs +3 -3
  51. package/build/cjs/public/experimental/video-viewer.cjs +3 -3
  52. package/build/cjs/public/experimental/xml-viewer.cjs +3 -3
  53. package/build/cjs/public/experimental.cjs +71 -71
  54. package/build/esm/object-table/ObjectTable.js +0 -3
  55. package/build/esm/object-table/ObjectTable.js.map +1 -1
  56. package/build/esm/object-table/ObjectTableApi.js.map +1 -1
  57. package/build/esm/object-table/hooks/useColumnDefs.js +0 -2
  58. package/build/esm/object-table/hooks/useColumnDefs.js.map +1 -1
  59. package/build/esm/object-table/hooks/useRowSelection.js +0 -3
  60. package/build/esm/object-table/hooks/useRowSelection.js.map +1 -1
  61. package/build/esm/util/UserAgent.js +1 -1
  62. package/build/esm/util/UserAgent.js.map +1 -1
  63. package/build/types/object-table/ObjectTable.d.ts +1 -1
  64. package/build/types/object-table/ObjectTable.d.ts.map +1 -1
  65. package/build/types/object-table/ObjectTableApi.d.ts +0 -26
  66. package/build/types/object-table/ObjectTableApi.d.ts.map +1 -1
  67. package/build/types/object-table/hooks/useRowSelection.d.ts +1 -5
  68. package/build/types/object-table/hooks/useRowSelection.d.ts.map +1 -1
  69. package/docs/ObjectTable.md +9 -36
  70. package/package.json +5 -5
  71. package/build/cjs/chunk-2FZYBU6I.cjs +0 -11
  72. package/build/cjs/chunk-7TXID3FA.cjs +0 -11
  73. package/build/cjs/chunk-JVER3ZOK.cjs +0 -11
  74. package/build/cjs/chunk-MO4KAKAY.cjs.map +0 -1
  75. package/build/cjs/chunk-VPD5ZNXM.cjs.map +0 -1
  76. package/build/cjs/chunk-ZHBPBYCD.cjs +0 -11
  77. package/build/cjs/chunk-ZISGRA73.cjs +0 -11
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/util/UserAgent.ts","../../src/util/withOsdkMetrics.ts"],"names":["useRegisterUserAgent","React"],"mappings":";;;;;;;;;;;;AAgBA,IAAM,kBAAA,GAAqB,yBAAyB,QAA2B,CAAA,CAAA;AACxE,SAAS,mBAAmB,aAAA,EAAe;AAChD,EAAA,OAAO,CAAA,EAAG,kBAAkB,CAAA,CAAA,EAAI,aAAa,CAAA,CAAA;AAC/C;;;ACKO,SAAS,eAAA,CAAgB,WAAW,IAAA,EAAM;AAC/C,EAAA,MAAM,UAAU,CAAA,KAAA,KAAS;AACvB,IAAAA,0BAAA,CAAqB,kBAAA,CAAmB,IAAI,CAAC,CAAA;AAC7C,IAAA,uBAAoBC,sBAAA,CAAM,aAAA,CAAc,SAAA,EAAW,KAAK,CAAA;AAAA,EAC1D,CAAA;AACA,EAAA,OAAA,CAAQ,WAAA,GAAc,mBAAmB,IAAI,CAAA,CAAA,CAAA;AAC7C,EAAA,OAAO,OAAA;AACT","file":"chunk-VPD5ZNXM.cjs","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}`;\nexport function componentUserAgent(componentName) {\n return `${PACKAGE_USER_AGENT}/${componentName}`;\n}","/*\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\nimport { useRegisterUserAgent } from \"@osdk/react\";\nimport React from \"react\";\nimport { componentUserAgent } from \"./UserAgent.js\";\n\n// `any` is required: FunctionComponent defaults to FunctionComponent<{}> which\n// rejects components with required props. A generic P parameter doesn't help\n// because TS can't infer both P and C simultaneously from a single argument.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport function withOsdkMetrics(Component, name) {\n const Wrapped = props => {\n useRegisterUserAgent(componentUserAgent(name));\n return /*#__PURE__*/React.createElement(Component, props);\n };\n Wrapped.displayName = `withOsdkMetrics(${name})`;\n return Wrapped;\n}"]}
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkRVZE7LPI_cjs = require('./chunk-RVZE7LPI.cjs');
4
- var chunkVPD5ZNXM_cjs = require('./chunk-VPD5ZNXM.cjs');
5
-
6
- // src/public/experimental/xml-viewer.ts
7
- var XmlViewer2 = chunkVPD5ZNXM_cjs.withOsdkMetrics(chunkRVZE7LPI_cjs.XmlViewer, "XmlViewer");
8
-
9
- exports.XmlViewer = XmlViewer2;
10
- //# sourceMappingURL=chunk-ZHBPBYCD.cjs.map
11
- //# sourceMappingURL=chunk-ZHBPBYCD.cjs.map
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkVOROB7KJ_cjs = require('./chunk-VOROB7KJ.cjs');
4
- var chunkVPD5ZNXM_cjs = require('./chunk-VPD5ZNXM.cjs');
5
-
6
- // src/public/experimental/image-viewer.ts
7
- var ImageViewer2 = chunkVPD5ZNXM_cjs.withOsdkMetrics(chunkVOROB7KJ_cjs.ImageViewer, "ImageViewer");
8
-
9
- exports.ImageViewer = ImageViewer2;
10
- //# sourceMappingURL=chunk-ZISGRA73.cjs.map
11
- //# sourceMappingURL=chunk-ZISGRA73.cjs.map