@osdk/react-components 0.46.1-main-e786c2a2e84d224a471b3e714d96ed79b53468af → 0.47.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.
- package/CHANGELOG.md +2 -7
- package/build/browser/util/UserAgent.js +1 -1
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{chunk-YDXP7B6S.cjs → chunk-37L3ORTF.cjs} +4 -4
- package/build/cjs/{chunk-YDXP7B6S.cjs.map → chunk-37L3ORTF.cjs.map} +1 -1
- package/build/cjs/chunk-52OYPIBW.cjs +11 -0
- package/build/cjs/{chunk-32R7CJHN.cjs.map → chunk-52OYPIBW.cjs.map} +1 -1
- package/build/cjs/{chunk-FLYAI4ZC.cjs → chunk-6NHTLL3Q.cjs} +4 -4
- package/build/cjs/{chunk-FLYAI4ZC.cjs.map → chunk-6NHTLL3Q.cjs.map} +1 -1
- package/build/cjs/{chunk-NKKGA56N.cjs → chunk-6SB3OAG5.cjs} +3 -3
- package/build/cjs/chunk-6SB3OAG5.cjs.map +1 -0
- package/build/cjs/{chunk-JRENCW5L.cjs → chunk-EN22WQH2.cjs} +4 -4
- package/build/cjs/{chunk-JRENCW5L.cjs.map → chunk-EN22WQH2.cjs.map} +1 -1
- package/build/cjs/{chunk-H6AYQ2DM.cjs → chunk-FULCPPPT.cjs} +4 -4
- package/build/cjs/{chunk-H6AYQ2DM.cjs.map → chunk-FULCPPPT.cjs.map} +1 -1
- package/build/cjs/chunk-HSVCKXTD.cjs +11 -0
- package/build/cjs/{chunk-GOLY7NSE.cjs.map → chunk-HSVCKXTD.cjs.map} +1 -1
- package/build/cjs/{chunk-2CWWMSU5.cjs → chunk-HWBOGNKE.cjs} +4 -4
- package/build/cjs/{chunk-2CWWMSU5.cjs.map → chunk-HWBOGNKE.cjs.map} +1 -1
- package/build/cjs/{chunk-2QXDVEGW.cjs → chunk-I6VIX5B6.cjs} +4 -4
- package/build/cjs/{chunk-2QXDVEGW.cjs.map → chunk-I6VIX5B6.cjs.map} +1 -1
- package/build/cjs/{chunk-SR47W4Z3.cjs → chunk-J62VDPBJ.cjs} +4 -4
- package/build/cjs/{chunk-SR47W4Z3.cjs.map → chunk-J62VDPBJ.cjs.map} +1 -1
- package/build/cjs/{chunk-RE5ESPLI.cjs → chunk-P4IGQ42I.cjs} +4 -4
- package/build/cjs/{chunk-RE5ESPLI.cjs.map → chunk-P4IGQ42I.cjs.map} +1 -1
- package/build/cjs/{chunk-IXPGDXNS.cjs → chunk-R6U5CGXJ.cjs} +4 -4
- package/build/cjs/{chunk-IXPGDXNS.cjs.map → chunk-R6U5CGXJ.cjs.map} +1 -1
- package/build/cjs/chunk-ZW2EBUIN.cjs +11 -0
- package/build/cjs/{chunk-ZSKP6ZRZ.cjs.map → chunk-ZW2EBUIN.cjs.map} +1 -1
- package/build/cjs/chunk-ZW7HCB5K.cjs +11 -0
- package/build/cjs/{chunk-G4KSPSEX.cjs.map → chunk-ZW7HCB5K.cjs.map} +1 -1
- package/build/cjs/public/experimental/action-form.cjs +4 -4
- package/build/cjs/public/experimental/cbac-picker.cjs +11 -11
- package/build/cjs/public/experimental/document-viewer.cjs +4 -4
- package/build/cjs/public/experimental/email-viewer.cjs +3 -3
- package/build/cjs/public/experimental/filter-list.cjs +15 -15
- package/build/cjs/public/experimental/image-viewer.cjs +3 -3
- package/build/cjs/public/experimental/markdown-renderer.cjs +3 -3
- package/build/cjs/public/experimental/object-table.cjs +21 -21
- package/build/cjs/public/experimental/pdf-viewer.cjs +7 -7
- package/build/cjs/public/experimental/spreadsheet-viewer.cjs +3 -3
- package/build/cjs/public/experimental/tiff-renderer.cjs +3 -3
- package/build/cjs/public/experimental/video-viewer.cjs +3 -3
- package/build/cjs/public/experimental/xml-viewer.cjs +3 -3
- package/build/cjs/public/experimental.cjs +71 -71
- package/build/esm/util/UserAgent.js +1 -1
- package/build/esm/util/UserAgent.js.map +1 -1
- package/package.json +8 -8
- package/build/cjs/chunk-32R7CJHN.cjs +0 -11
- package/build/cjs/chunk-G4KSPSEX.cjs +0 -11
- package/build/cjs/chunk-GOLY7NSE.cjs +0 -11
- package/build/cjs/chunk-NKKGA56N.cjs.map +0 -1
- package/build/cjs/chunk-ZSKP6ZRZ.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.
|
|
13
|
+
var PACKAGE_USER_AGENT = `osdk-react-components/${"0.47.0"}`;
|
|
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-
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-6SB3OAG5.cjs.map
|
|
30
|
+
//# sourceMappingURL=chunk-6SB3OAG5.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,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-6SB3OAG5.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 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkP55Q2MCT_cjs = require('./chunk-P55Q2MCT.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk6SB3OAG5_cjs = require('./chunk-6SB3OAG5.cjs');
|
|
5
5
|
|
|
6
6
|
// src/public/experimental/markdown-renderer.ts
|
|
7
|
-
var MarkdownViewerMedia2 =
|
|
7
|
+
var MarkdownViewerMedia2 = chunk6SB3OAG5_cjs.withOsdkMetrics(chunkP55Q2MCT_cjs.MarkdownViewerMedia, "MarkdownViewerMedia");
|
|
8
8
|
|
|
9
9
|
exports.MarkdownViewerMedia = MarkdownViewerMedia2;
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
10
|
+
//# sourceMappingURL=chunk-EN22WQH2.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-EN22WQH2.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/experimental/markdown-renderer.ts"],"names":["MarkdownViewerMedia","withOsdkMetrics"],"mappings":";;;;;;AAsBO,IAAMA,oBAAAA,GAAsBC,iCAAA,CAAgBD,qCAAA,EAAsB,qBAAqB","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/experimental/markdown-renderer.ts"],"names":["MarkdownViewerMedia","withOsdkMetrics"],"mappings":";;;;;;AAsBO,IAAMA,oBAAAA,GAAsBC,iCAAA,CAAgBD,qCAAA,EAAsB,qBAAqB","file":"chunk-EN22WQH2.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\n// MarkdownRenderer\nexport { MarkdownRenderer } from \"../../markdown-renderer/MarkdownRenderer.js\";\n\n// MarkdownViewerMedia (Media wrapper)\nimport { MarkdownViewerMedia as _MarkdownViewerMedia } from \"../../markdown-renderer/MarkdownViewerMedia.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const MarkdownViewerMedia = withOsdkMetrics(_MarkdownViewerMedia, \"MarkdownViewerMedia\");"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkLB3IHFAB_cjs = require('./chunk-LB3IHFAB.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk6SB3OAG5_cjs = require('./chunk-6SB3OAG5.cjs');
|
|
5
5
|
|
|
6
6
|
// src/public/experimental/tiff-renderer.ts
|
|
7
|
-
var TiffViewerMedia2 =
|
|
7
|
+
var TiffViewerMedia2 = chunk6SB3OAG5_cjs.withOsdkMetrics(chunkLB3IHFAB_cjs.TiffViewerMedia, "TiffViewerMedia");
|
|
8
8
|
|
|
9
9
|
exports.TiffViewerMedia = TiffViewerMedia2;
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
10
|
+
//# sourceMappingURL=chunk-FULCPPPT.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-FULCPPPT.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/experimental/tiff-renderer.ts"],"names":["TiffViewerMedia","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,gBAAAA,GAAkBC,iCAAA,CAAgBD,iCAAA,EAAkB,iBAAiB","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/experimental/tiff-renderer.ts"],"names":["TiffViewerMedia","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,gBAAAA,GAAkBC,iCAAA,CAAgBD,iCAAA,EAAkB,iBAAiB","file":"chunk-FULCPPPT.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\n// TiffRenderer\nexport { TiffRenderer } from \"../../images/tiff-renderer/TiffRenderer.js\";\n// TiffViewerMedia (Media wrapper)\nimport { TiffViewerMedia as _TiffViewerMedia } from \"../../images/tiff-renderer/TiffViewerMedia.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const TiffViewerMedia = withOsdkMetrics(_TiffViewerMedia, \"TiffViewerMedia\");"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkKHMOMROL_cjs = require('./chunk-KHMOMROL.cjs');
|
|
4
|
+
var chunk6SB3OAG5_cjs = require('./chunk-6SB3OAG5.cjs');
|
|
5
|
+
|
|
6
|
+
// src/public/experimental/video-viewer.ts
|
|
7
|
+
var VideoViewer2 = chunk6SB3OAG5_cjs.withOsdkMetrics(chunkKHMOMROL_cjs.VideoViewer, "VideoViewer");
|
|
8
|
+
|
|
9
|
+
exports.VideoViewer = VideoViewer2;
|
|
10
|
+
//# sourceMappingURL=chunk-HSVCKXTD.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-HSVCKXTD.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/experimental/video-viewer.ts"],"names":["VideoViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/experimental/video-viewer.ts"],"names":["VideoViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-HSVCKXTD.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// BaseVideoViewer\nexport { BaseVideoViewer } from \"../../video-viewer/BaseVideoViewer.js\";\n// VideoViewer (Media wrapper)\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nimport { VideoViewer as _VideoViewer } from \"../../video-viewer/VideoViewer.js\";\nexport const VideoViewer = withOsdkMetrics(_VideoViewer, \"VideoViewer\");"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk3C5JRKBJ_cjs = require('./chunk-3C5JRKBJ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk6SB3OAG5_cjs = require('./chunk-6SB3OAG5.cjs');
|
|
5
5
|
|
|
6
6
|
// src/public/experimental/spreadsheet-viewer.ts
|
|
7
|
-
var SpreadsheetViewer2 =
|
|
7
|
+
var SpreadsheetViewer2 = chunk6SB3OAG5_cjs.withOsdkMetrics(chunk3C5JRKBJ_cjs.SpreadsheetViewer, "SpreadsheetViewer");
|
|
8
8
|
|
|
9
9
|
exports.SpreadsheetViewer = SpreadsheetViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
10
|
+
//# sourceMappingURL=chunk-HWBOGNKE.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-HWBOGNKE.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/experimental/spreadsheet-viewer.ts"],"names":["SpreadsheetViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,kBAAAA,GAAoBC,iCAAA,CAAgBD,mCAAA,EAAoB,mBAAmB","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/experimental/spreadsheet-viewer.ts"],"names":["SpreadsheetViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,kBAAAA,GAAoBC,iCAAA,CAAgBD,mCAAA,EAAoB,mBAAmB","file":"chunk-HWBOGNKE.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// BaseSpreadsheetViewer\nexport { BaseSpreadsheetViewer } from \"../../spreadsheet-viewer/BaseSpreadsheetViewer.js\";\n// SpreadsheetViewer (Media wrapper)\nimport { SpreadsheetViewer as _SpreadsheetViewer } from \"../../spreadsheet-viewer/SpreadsheetViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const SpreadsheetViewer = withOsdkMetrics(_SpreadsheetViewer, \"SpreadsheetViewer\");"]}
|
|
@@ -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
|
|
13
|
+
var chunk6SB3OAG5_cjs = require('./chunk-6SB3OAG5.cjs');
|
|
14
14
|
var reactTable = require('@tanstack/react-table');
|
|
15
15
|
var React17 = require('react');
|
|
16
16
|
var react = require('@osdk/react');
|
|
@@ -3382,7 +3382,7 @@ function ObjectTable({
|
|
|
3382
3382
|
}
|
|
3383
3383
|
|
|
3384
3384
|
// src/public/experimental/object-table.ts
|
|
3385
|
-
var ObjectTable2 =
|
|
3385
|
+
var ObjectTable2 = chunk6SB3OAG5_cjs.withOsdkMetrics(ObjectTable, "ObjectTable");
|
|
3386
3386
|
|
|
3387
3387
|
exports.BaseTable = BaseTable;
|
|
3388
3388
|
exports.ColumnConfigDialog = ColumnConfigDialog;
|
|
@@ -3403,5 +3403,5 @@ exports.useObjectTableSnapshot = useObjectTableSnapshot;
|
|
|
3403
3403
|
exports.useRowSelection = useRowSelection;
|
|
3404
3404
|
exports.useSelectionColumn = useSelectionColumn;
|
|
3405
3405
|
exports.useTableSorting = useTableSorting;
|
|
3406
|
-
//# sourceMappingURL=chunk-
|
|
3407
|
-
//# sourceMappingURL=chunk-
|
|
3406
|
+
//# sourceMappingURL=chunk-I6VIX5B6.cjs.map
|
|
3407
|
+
//# sourceMappingURL=chunk-I6VIX5B6.cjs.map
|