@osdk/react-components 0.19.0-main-4c0bdaf4ab3dfa40efefb74291b04b29a049e36a → 0.19.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 +3 -12
- package/build/browser/util/UserAgent.js +1 -1
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{chunk-WVU3RJGB.cjs → chunk-3OUALM3K.cjs} +4 -4
- package/build/cjs/{chunk-WVU3RJGB.cjs.map → chunk-3OUALM3K.cjs.map} +1 -1
- package/build/cjs/chunk-3Y4W37E3.cjs +11 -0
- package/build/cjs/{chunk-7X3CYTYR.cjs.map → chunk-3Y4W37E3.cjs.map} +1 -1
- package/build/cjs/chunk-62DGPKOC.cjs +11 -0
- package/build/cjs/{chunk-KSBQK2H4.cjs.map → chunk-62DGPKOC.cjs.map} +1 -1
- package/build/cjs/{chunk-I6MZK2VS.cjs → chunk-6XRF4IAL.cjs} +4 -4
- package/build/cjs/{chunk-I6MZK2VS.cjs.map → chunk-6XRF4IAL.cjs.map} +1 -1
- package/build/cjs/chunk-774FGQHO.cjs +11 -0
- package/build/cjs/{chunk-BKEP5LQP.cjs.map → chunk-774FGQHO.cjs.map} +1 -1
- package/build/cjs/{chunk-QPNAZNXG.cjs → chunk-BXCHISUQ.cjs} +3 -3
- package/build/cjs/chunk-BXCHISUQ.cjs.map +1 -0
- package/build/cjs/{chunk-4IWVVIAN.cjs → chunk-DKPG7O4B.cjs} +4 -4
- package/build/cjs/{chunk-4IWVVIAN.cjs.map → chunk-DKPG7O4B.cjs.map} +1 -1
- package/build/cjs/{chunk-FDORQP25.cjs → chunk-FIAYYZHY.cjs} +4 -4
- package/build/cjs/{chunk-FDORQP25.cjs.map → chunk-FIAYYZHY.cjs.map} +1 -1
- package/build/cjs/{chunk-OT7OUHV5.cjs → chunk-L6QDNMMG.cjs} +4 -4
- package/build/cjs/{chunk-OT7OUHV5.cjs.map → chunk-L6QDNMMG.cjs.map} +1 -1
- package/build/cjs/{chunk-UJ4JQADZ.cjs → chunk-P7R4RWMU.cjs} +4 -4
- package/build/cjs/{chunk-UJ4JQADZ.cjs.map → chunk-P7R4RWMU.cjs.map} +1 -1
- package/build/cjs/{chunk-OSYAMOIK.cjs → chunk-QOI2FQSL.cjs} +4 -4
- package/build/cjs/{chunk-OSYAMOIK.cjs.map → chunk-QOI2FQSL.cjs.map} +1 -1
- package/build/cjs/chunk-S25XCKOA.cjs +11 -0
- package/build/cjs/{chunk-C5LJIRDY.cjs.map → chunk-S25XCKOA.cjs.map} +1 -1
- package/build/cjs/chunk-SLHKSOQC.cjs +11 -0
- package/build/cjs/{chunk-CA4E6RYR.cjs.map → chunk-SLHKSOQC.cjs.map} +1 -1
- 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 +13 -13
- 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 +46 -46
- 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-7X3CYTYR.cjs +0 -11
- package/build/cjs/chunk-BKEP5LQP.cjs +0 -11
- package/build/cjs/chunk-C5LJIRDY.cjs +0 -11
- package/build/cjs/chunk-CA4E6RYR.cjs +0 -11
- package/build/cjs/chunk-KSBQK2H4.cjs +0 -11
- package/build/cjs/chunk-QPNAZNXG.cjs.map +0 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.19.0
|
|
17
|
+
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.19.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.19.0
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -193,9 +193,9 @@
|
|
|
193
193
|
"xlsx": "^0.18.5"
|
|
194
194
|
},
|
|
195
195
|
"peerDependencies": {
|
|
196
|
-
"@osdk/api": "
|
|
197
|
-
"@osdk/client": "
|
|
198
|
-
"@osdk/react": "
|
|
196
|
+
"@osdk/api": "^2.8.0",
|
|
197
|
+
"@osdk/client": "^2.8.0",
|
|
198
|
+
"@osdk/react": "^2.8.0",
|
|
199
199
|
"@types/react": "^17 || ^18 || ^19",
|
|
200
200
|
"classnames": "^2.0.0",
|
|
201
201
|
"react": "^17 || ^18 || ^19",
|
|
@@ -220,11 +220,11 @@
|
|
|
220
220
|
"react-dom": "^18.3.1",
|
|
221
221
|
"typescript": "~5.5.4",
|
|
222
222
|
"@osdk/aip-core": "0.4.0",
|
|
223
|
-
"@osdk/api": "2.23.0
|
|
224
|
-
"@osdk/client": "2.23.0
|
|
223
|
+
"@osdk/api": "2.23.0",
|
|
224
|
+
"@osdk/client": "2.23.0",
|
|
225
225
|
"@osdk/monorepo.api-extractor": "~0.7.0",
|
|
226
226
|
"@osdk/monorepo.tsconfig": "~0.7.0",
|
|
227
|
-
"@osdk/react": "2.23.0
|
|
227
|
+
"@osdk/react": "2.23.0"
|
|
228
228
|
},
|
|
229
229
|
"publishConfig": {
|
|
230
230
|
"access": "public"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkOUJQJQ7N_cjs = require('./chunk-OUJQJQ7N.cjs');
|
|
4
|
-
var chunkQPNAZNXG_cjs = require('./chunk-QPNAZNXG.cjs');
|
|
5
|
-
|
|
6
|
-
// src/public/experimental/xml-viewer.ts
|
|
7
|
-
var XmlViewer2 = chunkQPNAZNXG_cjs.withOsdkMetrics(chunkOUJQJQ7N_cjs.XmlViewer, "XmlViewer");
|
|
8
|
-
|
|
9
|
-
exports.XmlViewer = XmlViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-7X3CYTYR.cjs.map
|
|
11
|
-
//# sourceMappingURL=chunk-7X3CYTYR.cjs.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk4VJIPB7R_cjs = require('./chunk-4VJIPB7R.cjs');
|
|
4
|
-
var chunkQPNAZNXG_cjs = require('./chunk-QPNAZNXG.cjs');
|
|
5
|
-
|
|
6
|
-
// src/public/experimental/excel-viewer.ts
|
|
7
|
-
var ExcelViewer2 = chunkQPNAZNXG_cjs.withOsdkMetrics(chunk4VJIPB7R_cjs.ExcelViewer, "ExcelViewer");
|
|
8
|
-
|
|
9
|
-
exports.ExcelViewer = ExcelViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-BKEP5LQP.cjs.map
|
|
11
|
-
//# sourceMappingURL=chunk-BKEP5LQP.cjs.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkPKJFOG2Z_cjs = require('./chunk-PKJFOG2Z.cjs');
|
|
4
|
-
var chunkQPNAZNXG_cjs = require('./chunk-QPNAZNXG.cjs');
|
|
5
|
-
|
|
6
|
-
// src/public/experimental/email-viewer.ts
|
|
7
|
-
var EmailViewer2 = chunkQPNAZNXG_cjs.withOsdkMetrics(chunkPKJFOG2Z_cjs.EmailViewer, "EmailViewer");
|
|
8
|
-
|
|
9
|
-
exports.EmailViewer = EmailViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-C5LJIRDY.cjs.map
|
|
11
|
-
//# sourceMappingURL=chunk-C5LJIRDY.cjs.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkKHMOMROL_cjs = require('./chunk-KHMOMROL.cjs');
|
|
4
|
-
var chunkQPNAZNXG_cjs = require('./chunk-QPNAZNXG.cjs');
|
|
5
|
-
|
|
6
|
-
// src/public/experimental/video-viewer.ts
|
|
7
|
-
var VideoViewer2 = chunkQPNAZNXG_cjs.withOsdkMetrics(chunkKHMOMROL_cjs.VideoViewer, "VideoViewer");
|
|
8
|
-
|
|
9
|
-
exports.VideoViewer = VideoViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-CA4E6RYR.cjs.map
|
|
11
|
-
//# sourceMappingURL=chunk-CA4E6RYR.cjs.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkVOROB7KJ_cjs = require('./chunk-VOROB7KJ.cjs');
|
|
4
|
-
var chunkQPNAZNXG_cjs = require('./chunk-QPNAZNXG.cjs');
|
|
5
|
-
|
|
6
|
-
// src/public/experimental/image-viewer.ts
|
|
7
|
-
var ImageViewer2 = chunkQPNAZNXG_cjs.withOsdkMetrics(chunkVOROB7KJ_cjs.ImageViewer, "ImageViewer");
|
|
8
|
-
|
|
9
|
-
exports.ImageViewer = ImageViewer2;
|
|
10
|
-
//# sourceMappingURL=chunk-KSBQK2H4.cjs.map
|
|
11
|
-
//# sourceMappingURL=chunk-KSBQK2H4.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-QPNAZNXG.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}"]}
|