@osdk/react-components 0.22.1-main-ceeabb580a7cde55b2ae85dd02c5782dff66c08b → 0.23.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-44Q6YNJY.cjs +11 -0
- package/build/cjs/{chunk-YDWD6TP5.cjs.map → chunk-44Q6YNJY.cjs.map} +1 -1
- package/build/cjs/{chunk-RMWSZVV2.cjs → chunk-CDKWDUSS.cjs} +4 -4
- package/build/cjs/{chunk-RMWSZVV2.cjs.map → chunk-CDKWDUSS.cjs.map} +1 -1
- package/build/cjs/chunk-F4J3FXNK.cjs +11 -0
- package/build/cjs/{chunk-DJFLYZBS.cjs.map → chunk-F4J3FXNK.cjs.map} +1 -1
- package/build/cjs/chunk-JNIYR5HQ.cjs +11 -0
- package/build/cjs/{chunk-H2XNBPOA.cjs.map → chunk-JNIYR5HQ.cjs.map} +1 -1
- package/build/cjs/chunk-KNMWCCZY.cjs +11 -0
- package/build/cjs/{chunk-6EELIQRV.cjs.map → chunk-KNMWCCZY.cjs.map} +1 -1
- package/build/cjs/chunk-LXYK5HUR.cjs +11 -0
- package/build/cjs/{chunk-WR5WRYGF.cjs.map → chunk-LXYK5HUR.cjs.map} +1 -1
- package/build/cjs/{chunk-T537RXLM.cjs → chunk-M2B7X4UP.cjs} +4 -4
- package/build/cjs/{chunk-T537RXLM.cjs.map → chunk-M2B7X4UP.cjs.map} +1 -1
- package/build/cjs/{chunk-GYKYHJPC.cjs → chunk-MOL6BDEN.cjs} +4 -4
- package/build/cjs/{chunk-GYKYHJPC.cjs.map → chunk-MOL6BDEN.cjs.map} +1 -1
- package/build/cjs/{chunk-XRPVRX3K.cjs → chunk-NP2OODWG.cjs} +4 -4
- package/build/cjs/{chunk-XRPVRX3K.cjs.map → chunk-NP2OODWG.cjs.map} +1 -1
- package/build/cjs/{chunk-AKL37QN2.cjs → chunk-UG5QG75Y.cjs} +4 -4
- package/build/cjs/{chunk-AKL37QN2.cjs.map → chunk-UG5QG75Y.cjs.map} +1 -1
- package/build/cjs/{chunk-6YAMH33T.cjs → chunk-WYDFI4D2.cjs} +4 -4
- package/build/cjs/{chunk-6YAMH33T.cjs.map → chunk-WYDFI4D2.cjs.map} +1 -1
- package/build/cjs/{chunk-QXV7I44P.cjs → chunk-Z6F6MHWG.cjs} +4 -4
- package/build/cjs/{chunk-QXV7I44P.cjs.map → chunk-Z6F6MHWG.cjs.map} +1 -1
- package/build/cjs/{chunk-KJS4QZ6O.cjs → chunk-ZIYQXEEB.cjs} +3 -3
- package/build/cjs/chunk-ZIYQXEEB.cjs.map +1 -0
- package/build/cjs/public/experimental/action-form.cjs +4 -4
- 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/excel-viewer.cjs +3 -3
- package/build/cjs/public/experimental/filter-list.cjs +14 -14
- 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 +8 -8
- package/build/cjs/public/experimental/pdf-viewer.cjs +7 -7
- 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 +47 -47
- package/build/esm/util/UserAgent.js +1 -1
- package/build/esm/util/UserAgent.js.map +1 -1
- package/package.json +7 -7
- package/build/cjs/chunk-6EELIQRV.cjs +0 -11
- package/build/cjs/chunk-DJFLYZBS.cjs +0 -11
- package/build/cjs/chunk-H2XNBPOA.cjs +0 -11
- package/build/cjs/chunk-KJS4QZ6O.cjs.map +0 -1
- package/build/cjs/chunk-WR5WRYGF.cjs +0 -11
- package/build/cjs/chunk-YDWD6TP5.cjs +0 -11
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.
|
|
17
|
+
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.23.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 =\n `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,GACtB,
|
|
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 =\n `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,GACtB,mCAAsD;AAExD,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -184,9 +184,9 @@
|
|
|
184
184
|
"xlsx": "^0.18.5"
|
|
185
185
|
},
|
|
186
186
|
"peerDependencies": {
|
|
187
|
-
"@osdk/api": "
|
|
188
|
-
"@osdk/client": "
|
|
189
|
-
"@osdk/react": "
|
|
187
|
+
"@osdk/api": "^2.8.0",
|
|
188
|
+
"@osdk/client": "^2.8.0",
|
|
189
|
+
"@osdk/react": "^2.8.0",
|
|
190
190
|
"@types/react": "^17 || ^18 || ^19",
|
|
191
191
|
"classnames": "^2.0.0",
|
|
192
192
|
"react": "^17 || ^18 || ^19",
|
|
@@ -204,11 +204,11 @@
|
|
|
204
204
|
"react": "^18.3.1",
|
|
205
205
|
"react-dom": "^18.3.1",
|
|
206
206
|
"typescript": "~5.5.4",
|
|
207
|
-
"@osdk/api": "2.25.1-main-ceeabb580a7cde55b2ae85dd02c5782dff66c08b",
|
|
208
|
-
"@osdk/client": "2.25.1-main-ceeabb580a7cde55b2ae85dd02c5782dff66c08b",
|
|
209
207
|
"@osdk/monorepo.api-extractor": "~0.7.0",
|
|
208
|
+
"@osdk/client": "2.26.0",
|
|
210
209
|
"@osdk/monorepo.tsconfig": "~0.7.0",
|
|
211
|
-
"@osdk/react": "2.
|
|
210
|
+
"@osdk/react": "2.26.0",
|
|
211
|
+
"@osdk/api": "2.26.0"
|
|
212
212
|
},
|
|
213
213
|
"publishConfig": {
|
|
214
214
|
"access": "public"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkOUJQJQ7N_cjs = require('./chunk-OUJQJQ7N.cjs');
|
|
4
|
-
var chunkKJS4QZ6O_cjs = require('./chunk-KJS4QZ6O.cjs');
|
|
5
|
-
|
|
6
|
-
// src/public/experimental/xml-viewer.ts
|
|
7
|
-
var XmlViewer2 = chunkKJS4QZ6O_cjs.withOsdkMetrics(chunkOUJQJQ7N_cjs.XmlViewer, "XmlViewer");
|
|
8
|
-
|
|
9
|
-
exports.XmlViewer = XmlViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-6EELIQRV.cjs.map
|
|
11
|
-
//# sourceMappingURL=chunk-6EELIQRV.cjs.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkPKJFOG2Z_cjs = require('./chunk-PKJFOG2Z.cjs');
|
|
4
|
-
var chunkKJS4QZ6O_cjs = require('./chunk-KJS4QZ6O.cjs');
|
|
5
|
-
|
|
6
|
-
// src/public/experimental/email-viewer.ts
|
|
7
|
-
var EmailViewer2 = chunkKJS4QZ6O_cjs.withOsdkMetrics(chunkPKJFOG2Z_cjs.EmailViewer, "EmailViewer");
|
|
8
|
-
|
|
9
|
-
exports.EmailViewer = EmailViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-DJFLYZBS.cjs.map
|
|
11
|
-
//# sourceMappingURL=chunk-DJFLYZBS.cjs.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk4VJIPB7R_cjs = require('./chunk-4VJIPB7R.cjs');
|
|
4
|
-
var chunkKJS4QZ6O_cjs = require('./chunk-KJS4QZ6O.cjs');
|
|
5
|
-
|
|
6
|
-
// src/public/experimental/excel-viewer.ts
|
|
7
|
-
var ExcelViewer2 = chunkKJS4QZ6O_cjs.withOsdkMetrics(chunk4VJIPB7R_cjs.ExcelViewer, "ExcelViewer");
|
|
8
|
-
|
|
9
|
-
exports.ExcelViewer = ExcelViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-H2XNBPOA.cjs.map
|
|
11
|
-
//# sourceMappingURL=chunk-H2XNBPOA.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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-KJS4QZ6O.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 chunkVOROB7KJ_cjs = require('./chunk-VOROB7KJ.cjs');
|
|
4
|
-
var chunkKJS4QZ6O_cjs = require('./chunk-KJS4QZ6O.cjs');
|
|
5
|
-
|
|
6
|
-
// src/public/experimental/image-viewer.ts
|
|
7
|
-
var ImageViewer2 = chunkKJS4QZ6O_cjs.withOsdkMetrics(chunkVOROB7KJ_cjs.ImageViewer, "ImageViewer");
|
|
8
|
-
|
|
9
|
-
exports.ImageViewer = ImageViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-WR5WRYGF.cjs.map
|
|
11
|
-
//# sourceMappingURL=chunk-WR5WRYGF.cjs.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkKHMOMROL_cjs = require('./chunk-KHMOMROL.cjs');
|
|
4
|
-
var chunkKJS4QZ6O_cjs = require('./chunk-KJS4QZ6O.cjs');
|
|
5
|
-
|
|
6
|
-
// src/public/experimental/video-viewer.ts
|
|
7
|
-
var VideoViewer2 = chunkKJS4QZ6O_cjs.withOsdkMetrics(chunkKHMOMROL_cjs.VideoViewer, "VideoViewer");
|
|
8
|
-
|
|
9
|
-
exports.VideoViewer = VideoViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-YDWD6TP5.cjs.map
|
|
11
|
-
//# sourceMappingURL=chunk-YDWD6TP5.cjs.map
|