@osdk/react-components 0.18.0 → 0.18.1-main-56c2c9fdaf97899b89e2dfd18c578bbc6d2de4de
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 +15 -0
- package/build/browser/util/UserAgent.js +1 -1
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/chunk-4Q55HVCU.cjs +11 -0
- package/build/cjs/{chunk-URQCTCDJ.cjs.map → chunk-4Q55HVCU.cjs.map} +1 -1
- package/build/cjs/chunk-4UGBG47C.cjs +11 -0
- package/build/cjs/{chunk-RR3VWKZH.cjs.map → chunk-4UGBG47C.cjs.map} +1 -1
- package/build/cjs/{chunk-DDXYP26C.cjs → chunk-5NJPTMXK.cjs} +4 -4
- package/build/cjs/{chunk-DDXYP26C.cjs.map → chunk-5NJPTMXK.cjs.map} +1 -1
- package/build/cjs/{chunk-5YC6ASJW.cjs → chunk-A6SBI5RI.cjs} +4 -4
- package/build/cjs/{chunk-5YC6ASJW.cjs.map → chunk-A6SBI5RI.cjs.map} +1 -1
- package/build/cjs/{chunk-3ZTI3X34.cjs → chunk-AO46RUVF.cjs} +4 -4
- package/build/cjs/{chunk-3ZTI3X34.cjs.map → chunk-AO46RUVF.cjs.map} +1 -1
- package/build/cjs/{chunk-4VBZDFNF.cjs → chunk-CDP6APHZ.cjs} +4 -4
- package/build/cjs/{chunk-4VBZDFNF.cjs.map → chunk-CDP6APHZ.cjs.map} +1 -1
- package/build/cjs/{chunk-GU5FOAQH.cjs → chunk-DCPBYZ6S.cjs} +3 -3
- package/build/cjs/chunk-DCPBYZ6S.cjs.map +1 -0
- package/build/cjs/chunk-G3VNNI4O.cjs +11 -0
- package/build/cjs/{chunk-4WN66RSZ.cjs.map → chunk-G3VNNI4O.cjs.map} +1 -1
- package/build/cjs/chunk-JJOFAOLY.cjs +11 -0
- package/build/cjs/{chunk-5BNDEXWF.cjs.map → chunk-JJOFAOLY.cjs.map} +1 -1
- package/build/cjs/chunk-OLIM3OTO.cjs +11 -0
- package/build/cjs/{chunk-WVP6Y6QL.cjs.map → chunk-OLIM3OTO.cjs.map} +1 -1
- package/build/cjs/{chunk-JYNEP3MG.cjs → chunk-ROXUCLLY.cjs} +4 -4
- package/build/cjs/{chunk-JYNEP3MG.cjs.map → chunk-ROXUCLLY.cjs.map} +1 -1
- package/build/cjs/{chunk-LPGTPRYE.cjs → chunk-U3XCLZJ2.cjs} +4 -4
- package/build/cjs/{chunk-LPGTPRYE.cjs.map → chunk-U3XCLZJ2.cjs.map} +1 -1
- package/build/cjs/{chunk-G7ASG6Y4.cjs → chunk-VMRQD27O.cjs} +4 -4
- package/build/cjs/{chunk-G7ASG6Y4.cjs.map → chunk-VMRQD27O.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/docs/ActionForm.md +8 -3
- package/docs/FilterList.md +28 -21
- package/docs/ObjectTable.md +23 -19
- package/docs/Prerequisites.md +19 -1
- package/package.json +4 -4
- package/build/cjs/chunk-4WN66RSZ.cjs +0 -11
- package/build/cjs/chunk-5BNDEXWF.cjs +0 -11
- package/build/cjs/chunk-GU5FOAQH.cjs.map +0 -1
- package/build/cjs/chunk-RR3VWKZH.cjs +0 -11
- package/build/cjs/chunk-URQCTCDJ.cjs +0 -11
- package/build/cjs/chunk-WVP6Y6QL.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.18.
|
|
13
|
+
var PACKAGE_USER_AGENT = `osdk-react-components/${"0.18.1-main-56c2c9fdaf97899b89e2dfd18c578bbc6d2de4de"}`;
|
|
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-DCPBYZ6S.cjs.map
|
|
30
|
+
//# sourceMappingURL=chunk-DCPBYZ6S.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-DCPBYZ6S.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 chunkPKJFOG2Z_cjs = require('./chunk-PKJFOG2Z.cjs');
|
|
4
|
+
var chunkDCPBYZ6S_cjs = require('./chunk-DCPBYZ6S.cjs');
|
|
5
|
+
|
|
6
|
+
// src/public/experimental/email-viewer.ts
|
|
7
|
+
var EmailViewer2 = chunkDCPBYZ6S_cjs.withOsdkMetrics(chunkPKJFOG2Z_cjs.EmailViewer, "EmailViewer");
|
|
8
|
+
|
|
9
|
+
exports.EmailViewer = EmailViewer2;
|
|
10
|
+
//# sourceMappingURL=chunk-G3VNNI4O.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-G3VNNI4O.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/experimental/email-viewer.ts"],"names":["EmailViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/experimental/email-viewer.ts"],"names":["EmailViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,YAAAA,GAAcC,iCAAA,CAAgBD,6BAAA,EAAc,aAAa","file":"chunk-G3VNNI4O.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// BaseEmailViewer\nexport { BaseEmailViewer } from \"../../email-viewer/BaseEmailViewer.js\";\n// EmailViewer (Media wrapper)\nimport { EmailViewer as _EmailViewer } from \"../../email-viewer/EmailViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const EmailViewer = withOsdkMetrics(_EmailViewer, \"EmailViewer\");"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk4VJIPB7R_cjs = require('./chunk-4VJIPB7R.cjs');
|
|
4
|
+
var chunkDCPBYZ6S_cjs = require('./chunk-DCPBYZ6S.cjs');
|
|
5
|
+
|
|
6
|
+
// src/public/experimental/excel-viewer.ts
|
|
7
|
+
var ExcelViewer2 = chunkDCPBYZ6S_cjs.withOsdkMetrics(chunk4VJIPB7R_cjs.ExcelViewer, "ExcelViewer");
|
|
8
|
+
|
|
9
|
+
exports.ExcelViewer = ExcelViewer2;
|
|
10
|
+
//# sourceMappingURL=chunk-JJOFAOLY.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-JJOFAOLY.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-
|
|
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-JJOFAOLY.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\");"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkOUJQJQ7N_cjs = require('./chunk-OUJQJQ7N.cjs');
|
|
4
|
+
var chunkDCPBYZ6S_cjs = require('./chunk-DCPBYZ6S.cjs');
|
|
5
|
+
|
|
6
|
+
// src/public/experimental/xml-viewer.ts
|
|
7
|
+
var XmlViewer2 = chunkDCPBYZ6S_cjs.withOsdkMetrics(chunkOUJQJQ7N_cjs.XmlViewer, "XmlViewer");
|
|
8
|
+
|
|
9
|
+
exports.XmlViewer = XmlViewer2;
|
|
10
|
+
//# sourceMappingURL=chunk-OLIM3OTO.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-OLIM3OTO.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/experimental/xml-viewer.ts"],"names":["XmlViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,UAAAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/experimental/xml-viewer.ts"],"names":["XmlViewer","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,UAAAA,GAAYC,iCAAA,CAAgBD,2BAAA,EAAY,WAAW","file":"chunk-OLIM3OTO.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// BaseXmlViewer\nexport { BaseXmlViewer } from \"../../xml-viewer/BaseXmlViewer.js\";\n// XmlViewer (Media wrapper)\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nimport { XmlViewer as _XmlViewer } from \"../../xml-viewer/XmlViewer.js\";\nexport const XmlViewer = withOsdkMetrics(_XmlViewer, \"XmlViewer\");"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkIYJOHKJE_cjs = require('./chunk-IYJOHKJE.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkDCPBYZ6S_cjs = require('./chunk-DCPBYZ6S.cjs');
|
|
5
5
|
|
|
6
6
|
// src/public/experimental/markdown-renderer.ts
|
|
7
|
-
var MarkdownViewerMedia2 =
|
|
7
|
+
var MarkdownViewerMedia2 = chunkDCPBYZ6S_cjs.withOsdkMetrics(chunkIYJOHKJE_cjs.MarkdownViewerMedia, "MarkdownViewerMedia");
|
|
8
8
|
|
|
9
9
|
exports.MarkdownViewerMedia = MarkdownViewerMedia2;
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
10
|
+
//# sourceMappingURL=chunk-ROXUCLLY.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-ROXUCLLY.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-ROXUCLLY.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\");"]}
|
|
@@ -6,7 +6,7 @@ var chunkVU6DLQT5_cjs = require('./chunk-VU6DLQT5.cjs');
|
|
|
6
6
|
var chunkJBRNNWYC_cjs = require('./chunk-JBRNNWYC.cjs');
|
|
7
7
|
var chunk7LXS66DW_cjs = require('./chunk-7LXS66DW.cjs');
|
|
8
8
|
var chunkUCTQICPR_cjs = require('./chunk-UCTQICPR.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkDCPBYZ6S_cjs = require('./chunk-DCPBYZ6S.cjs');
|
|
10
10
|
var button = require('@base-ui/react/button');
|
|
11
11
|
var classnames3 = require('classnames');
|
|
12
12
|
var React13 = require('react');
|
|
@@ -5105,7 +5105,7 @@ function summarizeFilterValue(definition, state) {
|
|
|
5105
5105
|
}
|
|
5106
5106
|
|
|
5107
5107
|
// src/public/experimental/filter-list.ts
|
|
5108
|
-
var FilterList2 =
|
|
5108
|
+
var FilterList2 = chunkDCPBYZ6S_cjs.withOsdkMetrics(FilterList, "FilterList");
|
|
5109
5109
|
|
|
5110
5110
|
exports.BaseFilterList = BaseFilterList;
|
|
5111
5111
|
exports.FilterInput = FilterInput;
|
|
@@ -5118,5 +5118,5 @@ exports.getFilterLabel = getFilterLabel;
|
|
|
5118
5118
|
exports.serializeFilterStates = serializeFilterStates;
|
|
5119
5119
|
exports.summarizeFilterValue = summarizeFilterValue;
|
|
5120
5120
|
exports.useFilterListState = useFilterListState;
|
|
5121
|
-
//# sourceMappingURL=chunk-
|
|
5122
|
-
//# sourceMappingURL=chunk-
|
|
5121
|
+
//# sourceMappingURL=chunk-U3XCLZJ2.cjs.map
|
|
5122
|
+
//# sourceMappingURL=chunk-U3XCLZJ2.cjs.map
|