@osdk/react-components 0.37.0 → 0.38.0-main-cb3038078d742f4c47a9f986b840ba1b9f78c4e9

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 (87) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/browser/pdf-viewer/components/PdfViewerContent.js.map +1 -1
  3. package/build/browser/pdf-viewer/hooks/usePdfDocument.js +39 -12
  4. package/build/browser/pdf-viewer/hooks/usePdfDocument.js.map +1 -1
  5. package/build/browser/pdf-viewer/hooks/usePdfViewerCore.js.map +1 -1
  6. package/build/browser/pdf-viewer/hooks/usePdfViewerState.js.map +1 -1
  7. package/build/browser/pdf-viewer/types.js.map +1 -1
  8. package/build/browser/public/experimental/pdf-viewer.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-2622REF6.cjs +11 -0
  12. package/build/cjs/{chunk-JHBFHACA.cjs.map → chunk-2622REF6.cjs.map} +1 -1
  13. package/build/cjs/{chunk-G4SRFNQ3.cjs → chunk-2G6DDTI6.cjs} +24 -24
  14. package/build/cjs/{chunk-G4SRFNQ3.cjs.map → chunk-2G6DDTI6.cjs.map} +1 -1
  15. package/build/cjs/{chunk-2TBIJGID.cjs → chunk-3XSF5S4V.cjs} +4 -4
  16. package/build/cjs/{chunk-2TBIJGID.cjs.map → chunk-3XSF5S4V.cjs.map} +1 -1
  17. package/build/cjs/{chunk-BE226IHU.cjs → chunk-7EGCPMTN.cjs} +34 -14
  18. package/build/cjs/chunk-7EGCPMTN.cjs.map +1 -0
  19. package/build/cjs/chunk-FLUEYU75.cjs +11 -0
  20. package/build/cjs/{chunk-YJX6FHRF.cjs.map → chunk-FLUEYU75.cjs.map} +1 -1
  21. package/build/cjs/{chunk-W2F62KMQ.cjs → chunk-HG6D3C24.cjs} +4 -4
  22. package/build/cjs/{chunk-W2F62KMQ.cjs.map → chunk-HG6D3C24.cjs.map} +1 -1
  23. package/build/cjs/chunk-IQKSMSFE.cjs +11 -0
  24. package/build/cjs/{chunk-VIOZG6Z7.cjs.map → chunk-IQKSMSFE.cjs.map} +1 -1
  25. package/build/cjs/{chunk-GYTR4A74.cjs → chunk-JUUTG5HH.cjs} +7 -7
  26. package/build/cjs/{chunk-GYTR4A74.cjs.map → chunk-JUUTG5HH.cjs.map} +1 -1
  27. package/build/cjs/{chunk-INRJWUVA.cjs → chunk-KDALJGDQ.cjs} +4 -4
  28. package/build/cjs/{chunk-INRJWUVA.cjs.map → chunk-KDALJGDQ.cjs.map} +1 -1
  29. package/build/cjs/{chunk-3SLAC2Z5.cjs → chunk-KQ5MLLIX.cjs} +4 -4
  30. package/build/cjs/{chunk-3SLAC2Z5.cjs.map → chunk-KQ5MLLIX.cjs.map} +1 -1
  31. package/build/cjs/{chunk-4R4NE4YK.cjs → chunk-KYUQG7BD.cjs} +4 -4
  32. package/build/cjs/{chunk-4R4NE4YK.cjs.map → chunk-KYUQG7BD.cjs.map} +1 -1
  33. package/build/cjs/{chunk-MVUTL2YO.cjs → chunk-QM5X7O5B.cjs} +3 -3
  34. package/build/cjs/chunk-QM5X7O5B.cjs.map +1 -0
  35. package/build/cjs/chunk-TD6AXOH4.cjs +11 -0
  36. package/build/cjs/{chunk-R5FIVXEF.cjs.map → chunk-TD6AXOH4.cjs.map} +1 -1
  37. package/build/cjs/{chunk-L5EO3NSA.cjs → chunk-UCCISEY4.cjs} +4 -4
  38. package/build/cjs/{chunk-L5EO3NSA.cjs.map → chunk-UCCISEY4.cjs.map} +1 -1
  39. package/build/cjs/chunk-Z3WY3E4E.cjs +11 -0
  40. package/build/cjs/{chunk-XRI2RLG7.cjs.map → chunk-Z3WY3E4E.cjs.map} +1 -1
  41. package/build/cjs/public/experimental/action-form.cjs +4 -4
  42. package/build/cjs/public/experimental/cbac-picker.cjs +11 -11
  43. package/build/cjs/public/experimental/document-viewer.cjs +5 -5
  44. package/build/cjs/public/experimental/document-viewer.d.cts +1 -1
  45. package/build/cjs/public/experimental/email-viewer.cjs +3 -3
  46. package/build/cjs/public/experimental/excel-viewer.cjs +3 -3
  47. package/build/cjs/public/experimental/filter-list.cjs +15 -15
  48. package/build/cjs/public/experimental/image-viewer.cjs +3 -3
  49. package/build/cjs/public/experimental/markdown-renderer.cjs +3 -3
  50. package/build/cjs/public/experimental/object-table.cjs +8 -8
  51. package/build/cjs/public/experimental/pdf-viewer.cjs +25 -25
  52. package/build/cjs/public/experimental/pdf-viewer.d.cts +8 -8
  53. package/build/cjs/public/experimental/tiff-renderer.cjs +3 -3
  54. package/build/cjs/public/experimental/video-viewer.cjs +3 -3
  55. package/build/cjs/public/experimental/xml-viewer.cjs +3 -3
  56. package/build/cjs/public/experimental.cjs +76 -76
  57. package/build/cjs/public/experimental.d.cts +1 -1
  58. package/build/cjs/{types-cSnAM4mt.d.cts → types-DDeX79uW.d.cts} +14 -5
  59. package/build/esm/pdf-viewer/components/PdfViewerContent.js.map +1 -1
  60. package/build/esm/pdf-viewer/hooks/usePdfDocument.js +39 -12
  61. package/build/esm/pdf-viewer/hooks/usePdfDocument.js.map +1 -1
  62. package/build/esm/pdf-viewer/hooks/usePdfViewerCore.js.map +1 -1
  63. package/build/esm/pdf-viewer/hooks/usePdfViewerState.js.map +1 -1
  64. package/build/esm/pdf-viewer/types.js.map +1 -1
  65. package/build/esm/public/experimental/pdf-viewer.js.map +1 -1
  66. package/build/esm/util/UserAgent.js +1 -1
  67. package/build/esm/util/UserAgent.js.map +1 -1
  68. package/build/types/pdf-viewer/components/PdfViewerContent.d.ts +3 -3
  69. package/build/types/pdf-viewer/components/PdfViewerContent.d.ts.map +1 -1
  70. package/build/types/pdf-viewer/hooks/usePdfDocument.d.ts +2 -1
  71. package/build/types/pdf-viewer/hooks/usePdfDocument.d.ts.map +1 -1
  72. package/build/types/pdf-viewer/hooks/usePdfViewerCore.d.ts +3 -2
  73. package/build/types/pdf-viewer/hooks/usePdfViewerCore.d.ts.map +1 -1
  74. package/build/types/pdf-viewer/hooks/usePdfViewerState.d.ts.map +1 -1
  75. package/build/types/pdf-viewer/types.d.ts +13 -4
  76. package/build/types/pdf-viewer/types.d.ts.map +1 -1
  77. package/build/types/public/experimental/pdf-viewer.d.ts +1 -1
  78. package/build/types/public/experimental/pdf-viewer.d.ts.map +1 -1
  79. package/docs/PdfViewer.md +15 -12
  80. package/package.json +7 -7
  81. package/build/cjs/chunk-BE226IHU.cjs.map +0 -1
  82. package/build/cjs/chunk-JHBFHACA.cjs +0 -11
  83. package/build/cjs/chunk-MVUTL2YO.cjs.map +0 -1
  84. package/build/cjs/chunk-R5FIVXEF.cjs +0 -11
  85. package/build/cjs/chunk-VIOZG6Z7.cjs +0 -11
  86. package/build/cjs/chunk-XRI2RLG7.cjs +0 -11
  87. package/build/cjs/chunk-YJX6FHRF.cjs +0 -11
@@ -10,7 +10,7 @@ var React__default = /*#__PURE__*/_interopDefault(React);
10
10
  // src/util/withOsdkMetrics.ts
11
11
 
12
12
  // src/util/UserAgent.ts
13
- var PACKAGE_USER_AGENT = `osdk-react-components/${"0.37.0"}`;
13
+ var PACKAGE_USER_AGENT = `osdk-react-components/${"0.38.0-main-cb3038078d742f4c47a9f986b840ba1b9f78c4e9"}`;
14
14
  function componentUserAgent(componentName) {
15
15
  return `${PACKAGE_USER_AGENT}/${componentName}`;
16
16
  }
@@ -26,5 +26,5 @@ function withOsdkMetrics(Component, name) {
26
26
  }
27
27
 
28
28
  exports.withOsdkMetrics = withOsdkMetrics;
29
- //# sourceMappingURL=chunk-MVUTL2YO.cjs.map
30
- //# sourceMappingURL=chunk-MVUTL2YO.cjs.map
29
+ //# sourceMappingURL=chunk-QM5X7O5B.cjs.map
30
+ //# sourceMappingURL=chunk-QM5X7O5B.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/util/UserAgent.ts","../../src/util/withOsdkMetrics.ts"],"names":["useRegisterUserAgent","React"],"mappings":";;;;;;;;;;;;AAgBA,IAAM,kBAAA,GAAqB,yBAAyB,sDAA2B,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-QM5X7O5B.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}"]}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkS2FQCZAB_cjs = require('./chunk-S2FQCZAB.cjs');
4
+ var chunkQM5X7O5B_cjs = require('./chunk-QM5X7O5B.cjs');
5
+
6
+ // src/public/experimental/excel-viewer.ts
7
+ var ExcelViewer2 = chunkQM5X7O5B_cjs.withOsdkMetrics(chunkS2FQCZAB_cjs.ExcelViewer, "ExcelViewer");
8
+
9
+ exports.ExcelViewer = ExcelViewer2;
10
+ //# sourceMappingURL=chunk-TD6AXOH4.cjs.map
11
+ //# sourceMappingURL=chunk-TD6AXOH4.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-R5FIVXEF.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-TD6AXOH4.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\");"]}
@@ -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 chunkMVUTL2YO_cjs = require('./chunk-MVUTL2YO.cjs');
13
+ var chunkQM5X7O5B_cjs = require('./chunk-QM5X7O5B.cjs');
14
14
  var reactTable = require('@tanstack/react-table');
15
15
  var React16 = require('react');
16
16
  var react = require('@osdk/react');
@@ -3235,7 +3235,7 @@ function ObjectTable({
3235
3235
  }
3236
3236
 
3237
3237
  // src/public/experimental/object-table.ts
3238
- var ObjectTable2 = chunkMVUTL2YO_cjs.withOsdkMetrics(ObjectTable, "ObjectTable");
3238
+ var ObjectTable2 = chunkQM5X7O5B_cjs.withOsdkMetrics(ObjectTable, "ObjectTable");
3239
3239
 
3240
3240
  exports.BaseTable = BaseTable;
3241
3241
  exports.ColumnConfigDialog = ColumnConfigDialog;
@@ -3243,5 +3243,5 @@ exports.LoadingCell = LoadingCell;
3243
3243
  exports.LoadingCellContent = LoadingCellContent;
3244
3244
  exports.MultiColumnSortDialog = MultiColumnSortDialog;
3245
3245
  exports.ObjectTable = ObjectTable2;
3246
- //# sourceMappingURL=chunk-L5EO3NSA.cjs.map
3247
- //# sourceMappingURL=chunk-L5EO3NSA.cjs.map
3246
+ //# sourceMappingURL=chunk-UCCISEY4.cjs.map
3247
+ //# sourceMappingURL=chunk-UCCISEY4.cjs.map