@osdk/react-components 0.17.0-main-ddeda7f317c96f3bf67f6af3954d88043baf4f18 → 0.17.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +3 -11
  2. package/build/browser/util/UserAgent.js +1 -1
  3. package/build/browser/util/UserAgent.js.map +1 -1
  4. package/build/cjs/{chunk-JD3SC46Z.cjs → chunk-25R5WVUR.cjs} +4 -4
  5. package/build/cjs/{chunk-JD3SC46Z.cjs.map → chunk-25R5WVUR.cjs.map} +1 -1
  6. package/build/cjs/{chunk-NOLZY5ZH.cjs → chunk-6HVKQP7I.cjs} +4 -4
  7. package/build/cjs/{chunk-NOLZY5ZH.cjs.map → chunk-6HVKQP7I.cjs.map} +1 -1
  8. package/build/cjs/chunk-AL43X5RI.cjs +11 -0
  9. package/build/cjs/{chunk-WPXQVW43.cjs.map → chunk-AL43X5RI.cjs.map} +1 -1
  10. package/build/cjs/{chunk-YGA2KRXF.cjs → chunk-BGTMZNYD.cjs} +4 -4
  11. package/build/cjs/{chunk-YGA2KRXF.cjs.map → chunk-BGTMZNYD.cjs.map} +1 -1
  12. package/build/cjs/{chunk-TQ3RVMUQ.cjs → chunk-BKLX3JZ5.cjs} +4 -4
  13. package/build/cjs/{chunk-TQ3RVMUQ.cjs.map → chunk-BKLX3JZ5.cjs.map} +1 -1
  14. package/build/cjs/chunk-DVE44R2H.cjs +11 -0
  15. package/build/cjs/{chunk-3D5JS35O.cjs.map → chunk-DVE44R2H.cjs.map} +1 -1
  16. package/build/cjs/chunk-HHVL4RYG.cjs +11 -0
  17. package/build/cjs/{chunk-W3M3KO2X.cjs.map → chunk-HHVL4RYG.cjs.map} +1 -1
  18. package/build/cjs/{chunk-2IPTIBKE.cjs → chunk-JNFOPEN2.cjs} +4 -4
  19. package/build/cjs/{chunk-2IPTIBKE.cjs.map → chunk-JNFOPEN2.cjs.map} +1 -1
  20. package/build/cjs/{chunk-5ZWGLS3O.cjs → chunk-ONBWRKWJ.cjs} +4 -4
  21. package/build/cjs/{chunk-5ZWGLS3O.cjs.map → chunk-ONBWRKWJ.cjs.map} +1 -1
  22. package/build/cjs/{chunk-Y3SEMQRL.cjs → chunk-QOKXBBSR.cjs} +4 -4
  23. package/build/cjs/{chunk-Y3SEMQRL.cjs.map → chunk-QOKXBBSR.cjs.map} +1 -1
  24. package/build/cjs/{chunk-UFRXZ3WA.cjs → chunk-R4M6VGVD.cjs} +3 -3
  25. package/build/cjs/chunk-R4M6VGVD.cjs.map +1 -0
  26. package/build/cjs/chunk-U2JT7LIS.cjs +11 -0
  27. package/build/cjs/{chunk-UOQT52BH.cjs.map → chunk-U2JT7LIS.cjs.map} +1 -1
  28. package/build/cjs/chunk-VICC2NSA.cjs +11 -0
  29. package/build/cjs/{chunk-R6VSRPOI.cjs.map → chunk-VICC2NSA.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/package.json +8 -8
  46. package/build/cjs/chunk-3D5JS35O.cjs +0 -11
  47. package/build/cjs/chunk-R6VSRPOI.cjs +0 -11
  48. package/build/cjs/chunk-UFRXZ3WA.cjs.map +0 -1
  49. package/build/cjs/chunk-UOQT52BH.cjs +0 -11
  50. package/build/cjs/chunk-W3M3KO2X.cjs +0 -11
  51. package/build/cjs/chunk-WPXQVW43.cjs +0 -11
package/CHANGELOG.md CHANGED
@@ -1,27 +1,19 @@
1
1
  # @osdk/react-components
2
2
 
3
- ## 0.17.0-main-ddeda7f317c96f3bf67f6af3954d88043baf4f18
3
+ ## 0.17.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
7
  - 773194c: `ObjectTable` now accepts an optional `renderEmptyState` prop for overriding the default "No Data" indicator with a custom `ReactNode`.
8
+ - 546c673: Fix page scroll being blocked when opening a date picker in an editable ObjectTable
9
+ - 962ede9: prevent height jumps in SingleSelectInput, MultiSelectInput, and TextTagsInput during loading
8
10
  - 3548f5e: ObjectTable:
9
11
  - Fix "select all" + scroll: newly-loaded rows are now checked and the header checkbox stays in sync. `onRowSelection` refires in uncontrolled mode with the expanded id list as new pages load.
10
12
  - Add `onRowSelectionChanged(change)` callback that delivers a `RowSelectionChange` payload with `selectedRowIds`, `selectedRows`, `isSelectAll`, and a derived `objectSet` (full underlying set on "select all", otherwise narrowed by `$primaryKey`).
11
13
  - Deprecate `onRowSelection` in favor of `onRowSelectionChanged`. The legacy callback continues to fire for backwards compatibility.
12
14
 
13
15
  - 6400c8b: Remove DocxViewer. `.docx` files now fall through to the DocumentViewer unsupported-file state. The `docx-preview` dependency, `DocxViewer`/`BaseDocxViewer` exports, `./experimental/docx-viewer` entrypoint, `ViewerType.Docx`, and `docxViewerProps` on `DocumentViewer` are removed. Removed primarily because rendering untrusted `.docx` directly in the browser via `docx-preview` parses arbitrary attacker-controlled Office Open XML in the host page; we'd rather route DOCX through a server-side decode pipeline (e.g. MIO transform → PDF) than ship a client-side parser as an attack surface. Consumers should pre-convert DOCX to PDF and use `PdfViewer`, or supply their own viewer.
14
-
15
- ### Patch Changes
16
-
17
- - 546c673: Fix page scroll being blocked when opening a date picker in an editable ObjectTable
18
- - 962ede9: prevent height jumps in SingleSelectInput, MultiSelectInput, and TextTagsInput during loading
19
16
  - ddeda7f: Fix custom value rendering in ObjectTable dropdown cells for non-string item types (booleans, numbers, etc.)
20
- - Updated dependencies [1a07c91]
21
- - Updated dependencies [2db1450]
22
- - @osdk/api@2.21.0-main-ddeda7f317c96f3bf67f6af3954d88043baf4f18
23
- - @osdk/client@2.21.0-main-ddeda7f317c96f3bf67f6af3954d88043baf4f18
24
- - @osdk/react@2.21.0-main-ddeda7f317c96f3bf67f6af3954d88043baf4f18
25
17
 
26
18
  ## 0.16.0
27
19
 
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- const PACKAGE_USER_AGENT = `osdk-react-components/${"0.17.0-main-ddeda7f317c96f3bf67f6af3954d88043baf4f18"}`;
17
+ const PACKAGE_USER_AGENT = `osdk-react-components/${"0.17.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,iFAAsD;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,mCAAsD;AAExD,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
@@ -6,7 +6,7 @@ var chunkZ4JDLERD_cjs = require('./chunk-Z4JDLERD.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 chunkUFRXZ3WA_cjs = require('./chunk-UFRXZ3WA.cjs');
9
+ var chunkR4M6VGVD_cjs = require('./chunk-R4M6VGVD.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 = chunkUFRXZ3WA_cjs.withOsdkMetrics(FilterList, "FilterList");
5108
+ var FilterList2 = chunkR4M6VGVD_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-JD3SC46Z.cjs.map
5122
- //# sourceMappingURL=chunk-JD3SC46Z.cjs.map
5121
+ //# sourceMappingURL=chunk-25R5WVUR.cjs.map
5122
+ //# sourceMappingURL=chunk-25R5WVUR.cjs.map