@osdk/react-components 0.18.0 → 0.18.1-main-bb0817b0c65257003106f1672dcbd95380cb8e3f
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-AUZKSESL.cjs +11 -0
- package/build/cjs/{chunk-RR3VWKZH.cjs.map → chunk-AUZKSESL.cjs.map} +1 -1
- package/build/cjs/{chunk-JYNEP3MG.cjs → chunk-H2O5PVZP.cjs} +4 -4
- package/build/cjs/{chunk-JYNEP3MG.cjs.map → chunk-H2O5PVZP.cjs.map} +1 -1
- package/build/cjs/chunk-I7ASTKGF.cjs +11 -0
- package/build/cjs/{chunk-WVP6Y6QL.cjs.map → chunk-I7ASTKGF.cjs.map} +1 -1
- package/build/cjs/{chunk-4VBZDFNF.cjs → chunk-II4SKVBP.cjs} +4 -4
- package/build/cjs/{chunk-4VBZDFNF.cjs.map → chunk-II4SKVBP.cjs.map} +1 -1
- package/build/cjs/{chunk-GU5FOAQH.cjs → chunk-MI6UQRAH.cjs} +3 -3
- package/build/cjs/chunk-MI6UQRAH.cjs.map +1 -0
- package/build/cjs/{chunk-LPGTPRYE.cjs → chunk-NNYFXYM7.cjs} +4 -4
- package/build/cjs/{chunk-LPGTPRYE.cjs.map → chunk-NNYFXYM7.cjs.map} +1 -1
- package/build/cjs/{chunk-3ZTI3X34.cjs → chunk-PWFDJFFY.cjs} +4 -4
- package/build/cjs/{chunk-3ZTI3X34.cjs.map → chunk-PWFDJFFY.cjs.map} +1 -1
- package/build/cjs/{chunk-DDXYP26C.cjs → chunk-RG5FFOMS.cjs} +4 -4
- package/build/cjs/{chunk-DDXYP26C.cjs.map → chunk-RG5FFOMS.cjs.map} +1 -1
- package/build/cjs/{chunk-G7ASG6Y4.cjs → chunk-SMN3GCXH.cjs} +4 -4
- package/build/cjs/{chunk-G7ASG6Y4.cjs.map → chunk-SMN3GCXH.cjs.map} +1 -1
- package/build/cjs/chunk-WQX7YO4C.cjs +11 -0
- package/build/cjs/{chunk-4WN66RSZ.cjs.map → chunk-WQX7YO4C.cjs.map} +1 -1
- package/build/cjs/{chunk-5YC6ASJW.cjs → chunk-WTGOEPC7.cjs} +4 -4
- package/build/cjs/{chunk-5YC6ASJW.cjs.map → chunk-WTGOEPC7.cjs.map} +1 -1
- package/build/cjs/chunk-YSKC4QHB.cjs +11 -0
- package/build/cjs/{chunk-URQCTCDJ.cjs.map → chunk-YSKC4QHB.cjs.map} +1 -1
- package/build/cjs/chunk-ZUT245G3.cjs +11 -0
- package/build/cjs/{chunk-5BNDEXWF.cjs.map → chunk-ZUT245G3.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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @osdk/react-components
|
|
2
2
|
|
|
3
|
+
## 0.18.1-main-bb0817b0c65257003106f1672dcbd95380cb8e3f
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- bb0817b: Fix misleading patterns in @osdk/react and @osdk/react-components docs that were confusing downstream coding agents and humans alike.
|
|
8
|
+
|
|
9
|
+
• react-sdk-docs `reactProviderSetup` and `clientSetup` snippets now pass a real ontology RID placeholder to `createClient` instead of `{{{packageName}}}` (which resolves to the npm SDK package name, not the ontology RID)
|
|
10
|
+
• Stop pretending `$` is exported from the user's SDK — `$` is a local alias users sometimes create; docs now use `client(Type)` directly, matching the pattern already used in getting-started.md / cache-management.md
|
|
11
|
+
• Standardize the SDK placeholder on `@my/osdk` across all docs (was a mix of `@my/osdk`, `@YourApp/sdk`, `@your-app/sdk`) and add a `:::note About @my/osdk` callout to each react-components doc that imports from it
|
|
12
|
+
• Fix several broken/missing imports in code snippets: `cache-management.md` setup block was using `createClient` / `createObservableClient` / `authProvider` without importing or defining any of them; `advanced-queries.md` derived-property fragments were missing `Employee` and `useOsdkObjects` imports
|
|
13
|
+
• Fix `querying-data.md` self-referential typo "_Stable - available from both `@osdk/react` and `@osdk/react`_" → second should be `@osdk/react/experimental`
|
|
14
|
+
• Fix `advanced-queries.md` duplicate `const { data }` declaration that would not compile
|
|
15
|
+
• Remove unused `useOsdkObject` import from one `advanced-queries.md` snippet
|
|
16
|
+
• Install commands now show npm / pnpm / yarn alternatives with a tip block recommending users skip the step if their tooling already installs dependencies — fixes Pilot running `pnpm` in npm-managed projects and the install-race-with-harness issue
|
|
17
|
+
|
|
3
18
|
## 0.18.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.18.
|
|
17
|
+
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.18.1-main-bb0817b0c65257003106f1672dcbd95380cb8e3f"}`;
|
|
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,iFAAsD;AAExD,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkKHMOMROL_cjs = require('./chunk-KHMOMROL.cjs');
|
|
4
|
+
var chunkMI6UQRAH_cjs = require('./chunk-MI6UQRAH.cjs');
|
|
5
|
+
|
|
6
|
+
// src/public/experimental/video-viewer.ts
|
|
7
|
+
var VideoViewer2 = chunkMI6UQRAH_cjs.withOsdkMetrics(chunkKHMOMROL_cjs.VideoViewer, "VideoViewer");
|
|
8
|
+
|
|
9
|
+
exports.VideoViewer = VideoViewer2;
|
|
10
|
+
//# sourceMappingURL=chunk-AUZKSESL.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-AUZKSESL.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-AUZKSESL.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 chunkIYJOHKJE_cjs = require('./chunk-IYJOHKJE.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkMI6UQRAH_cjs = require('./chunk-MI6UQRAH.cjs');
|
|
5
5
|
|
|
6
6
|
// src/public/experimental/markdown-renderer.ts
|
|
7
|
-
var MarkdownViewerMedia2 =
|
|
7
|
+
var MarkdownViewerMedia2 = chunkMI6UQRAH_cjs.withOsdkMetrics(chunkIYJOHKJE_cjs.MarkdownViewerMedia, "MarkdownViewerMedia");
|
|
8
8
|
|
|
9
9
|
exports.MarkdownViewerMedia = MarkdownViewerMedia2;
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
10
|
+
//# sourceMappingURL=chunk-H2O5PVZP.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-H2O5PVZP.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-H2O5PVZP.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\");"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkOUJQJQ7N_cjs = require('./chunk-OUJQJQ7N.cjs');
|
|
4
|
+
var chunkMI6UQRAH_cjs = require('./chunk-MI6UQRAH.cjs');
|
|
5
|
+
|
|
6
|
+
// src/public/experimental/xml-viewer.ts
|
|
7
|
+
var XmlViewer2 = chunkMI6UQRAH_cjs.withOsdkMetrics(chunkOUJQJQ7N_cjs.XmlViewer, "XmlViewer");
|
|
8
|
+
|
|
9
|
+
exports.XmlViewer = XmlViewer2;
|
|
10
|
+
//# sourceMappingURL=chunk-I7ASTKGF.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-I7ASTKGF.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-I7ASTKGF.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\");"]}
|
|
@@ -7,7 +7,7 @@ var chunkHNBSGCSZ_cjs = require('./chunk-HNBSGCSZ.cjs');
|
|
|
7
7
|
var chunk7LXS66DW_cjs = require('./chunk-7LXS66DW.cjs');
|
|
8
8
|
var chunkMD4KDE44_cjs = require('./chunk-MD4KDE44.cjs');
|
|
9
9
|
var chunkUCTQICPR_cjs = require('./chunk-UCTQICPR.cjs');
|
|
10
|
-
var
|
|
10
|
+
var chunkMI6UQRAH_cjs = require('./chunk-MI6UQRAH.cjs');
|
|
11
11
|
var react = require('@osdk/react');
|
|
12
12
|
var React17 = require('react');
|
|
13
13
|
var icons = require('@blueprintjs/icons');
|
|
@@ -1808,9 +1808,9 @@ var ActionForm = chunkFXEPNL5K_cjs.typedReactMemo(function ActionFormFn({
|
|
|
1808
1808
|
});
|
|
1809
1809
|
|
|
1810
1810
|
// src/public/experimental/action-form.ts
|
|
1811
|
-
var ActionForm2 =
|
|
1811
|
+
var ActionForm2 = chunkMI6UQRAH_cjs.withOsdkMetrics(ActionForm, "ActionForm");
|
|
1812
1812
|
|
|
1813
1813
|
exports.ActionForm = ActionForm2;
|
|
1814
1814
|
exports.BaseForm = BaseForm;
|
|
1815
|
-
//# sourceMappingURL=chunk-
|
|
1816
|
-
//# sourceMappingURL=chunk-
|
|
1815
|
+
//# sourceMappingURL=chunk-II4SKVBP.cjs.map
|
|
1816
|
+
//# sourceMappingURL=chunk-II4SKVBP.cjs.map
|