@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.
Files changed (55) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/build/browser/util/UserAgent.js +1 -1
  3. package/build/browser/util/UserAgent.js.map +1 -1
  4. package/build/cjs/chunk-AUZKSESL.cjs +11 -0
  5. package/build/cjs/{chunk-RR3VWKZH.cjs.map → chunk-AUZKSESL.cjs.map} +1 -1
  6. package/build/cjs/{chunk-JYNEP3MG.cjs → chunk-H2O5PVZP.cjs} +4 -4
  7. package/build/cjs/{chunk-JYNEP3MG.cjs.map → chunk-H2O5PVZP.cjs.map} +1 -1
  8. package/build/cjs/chunk-I7ASTKGF.cjs +11 -0
  9. package/build/cjs/{chunk-WVP6Y6QL.cjs.map → chunk-I7ASTKGF.cjs.map} +1 -1
  10. package/build/cjs/{chunk-4VBZDFNF.cjs → chunk-II4SKVBP.cjs} +4 -4
  11. package/build/cjs/{chunk-4VBZDFNF.cjs.map → chunk-II4SKVBP.cjs.map} +1 -1
  12. package/build/cjs/{chunk-GU5FOAQH.cjs → chunk-MI6UQRAH.cjs} +3 -3
  13. package/build/cjs/chunk-MI6UQRAH.cjs.map +1 -0
  14. package/build/cjs/{chunk-LPGTPRYE.cjs → chunk-NNYFXYM7.cjs} +4 -4
  15. package/build/cjs/{chunk-LPGTPRYE.cjs.map → chunk-NNYFXYM7.cjs.map} +1 -1
  16. package/build/cjs/{chunk-3ZTI3X34.cjs → chunk-PWFDJFFY.cjs} +4 -4
  17. package/build/cjs/{chunk-3ZTI3X34.cjs.map → chunk-PWFDJFFY.cjs.map} +1 -1
  18. package/build/cjs/{chunk-DDXYP26C.cjs → chunk-RG5FFOMS.cjs} +4 -4
  19. package/build/cjs/{chunk-DDXYP26C.cjs.map → chunk-RG5FFOMS.cjs.map} +1 -1
  20. package/build/cjs/{chunk-G7ASG6Y4.cjs → chunk-SMN3GCXH.cjs} +4 -4
  21. package/build/cjs/{chunk-G7ASG6Y4.cjs.map → chunk-SMN3GCXH.cjs.map} +1 -1
  22. package/build/cjs/chunk-WQX7YO4C.cjs +11 -0
  23. package/build/cjs/{chunk-4WN66RSZ.cjs.map → chunk-WQX7YO4C.cjs.map} +1 -1
  24. package/build/cjs/{chunk-5YC6ASJW.cjs → chunk-WTGOEPC7.cjs} +4 -4
  25. package/build/cjs/{chunk-5YC6ASJW.cjs.map → chunk-WTGOEPC7.cjs.map} +1 -1
  26. package/build/cjs/chunk-YSKC4QHB.cjs +11 -0
  27. package/build/cjs/{chunk-URQCTCDJ.cjs.map → chunk-YSKC4QHB.cjs.map} +1 -1
  28. package/build/cjs/chunk-ZUT245G3.cjs +11 -0
  29. package/build/cjs/{chunk-5BNDEXWF.cjs.map → chunk-ZUT245G3.cjs.map} +1 -1
  30. package/build/cjs/public/experimental/action-form.cjs +4 -4
  31. package/build/cjs/public/experimental/document-viewer.cjs +4 -4
  32. package/build/cjs/public/experimental/email-viewer.cjs +3 -3
  33. package/build/cjs/public/experimental/excel-viewer.cjs +3 -3
  34. package/build/cjs/public/experimental/filter-list.cjs +13 -13
  35. package/build/cjs/public/experimental/image-viewer.cjs +3 -3
  36. package/build/cjs/public/experimental/markdown-renderer.cjs +3 -3
  37. package/build/cjs/public/experimental/object-table.cjs +8 -8
  38. package/build/cjs/public/experimental/pdf-viewer.cjs +7 -7
  39. package/build/cjs/public/experimental/tiff-renderer.cjs +3 -3
  40. package/build/cjs/public/experimental/video-viewer.cjs +3 -3
  41. package/build/cjs/public/experimental/xml-viewer.cjs +3 -3
  42. package/build/cjs/public/experimental.cjs +46 -46
  43. package/build/esm/util/UserAgent.js +1 -1
  44. package/build/esm/util/UserAgent.js.map +1 -1
  45. package/docs/ActionForm.md +8 -3
  46. package/docs/FilterList.md +28 -21
  47. package/docs/ObjectTable.md +23 -19
  48. package/docs/Prerequisites.md +19 -1
  49. package/package.json +4 -4
  50. package/build/cjs/chunk-4WN66RSZ.cjs +0 -11
  51. package/build/cjs/chunk-5BNDEXWF.cjs +0 -11
  52. package/build/cjs/chunk-GU5FOAQH.cjs.map +0 -1
  53. package/build/cjs/chunk-RR3VWKZH.cjs +0 -11
  54. package/build/cjs/chunk-URQCTCDJ.cjs +0 -11
  55. 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.0"}`;
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,mCAAsD;AAExD,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
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-RR3VWKZH.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
+ {"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 chunkGU5FOAQH_cjs = require('./chunk-GU5FOAQH.cjs');
4
+ var chunkMI6UQRAH_cjs = require('./chunk-MI6UQRAH.cjs');
5
5
 
6
6
  // src/public/experimental/markdown-renderer.ts
7
- var MarkdownViewerMedia2 = chunkGU5FOAQH_cjs.withOsdkMetrics(chunkIYJOHKJE_cjs.MarkdownViewerMedia, "MarkdownViewerMedia");
7
+ var MarkdownViewerMedia2 = chunkMI6UQRAH_cjs.withOsdkMetrics(chunkIYJOHKJE_cjs.MarkdownViewerMedia, "MarkdownViewerMedia");
8
8
 
9
9
  exports.MarkdownViewerMedia = MarkdownViewerMedia2;
10
- //# sourceMappingURL=chunk-JYNEP3MG.cjs.map
11
- //# sourceMappingURL=chunk-JYNEP3MG.cjs.map
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-JYNEP3MG.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
+ {"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-WVP6Y6QL.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
+ {"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 chunkGU5FOAQH_cjs = require('./chunk-GU5FOAQH.cjs');
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 = chunkGU5FOAQH_cjs.withOsdkMetrics(ActionForm, "ActionForm");
1811
+ var ActionForm2 = chunkMI6UQRAH_cjs.withOsdkMetrics(ActionForm, "ActionForm");
1812
1812
 
1813
1813
  exports.ActionForm = ActionForm2;
1814
1814
  exports.BaseForm = BaseForm;
1815
- //# sourceMappingURL=chunk-4VBZDFNF.cjs.map
1816
- //# sourceMappingURL=chunk-4VBZDFNF.cjs.map
1815
+ //# sourceMappingURL=chunk-II4SKVBP.cjs.map
1816
+ //# sourceMappingURL=chunk-II4SKVBP.cjs.map