@osdk/react-components 0.15.0 → 0.16.0-main-cf496ff080ba8375b89e85ea47c2568a7caca990

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 (49) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/build/browser/filter-list/inputs/NumberRangeFilterInput.js +10 -5
  3. package/build/browser/filter-list/inputs/NumberRangeFilterInput.js.map +1 -1
  4. package/build/browser/object-table/DefaultCellRenderer.js +18 -0
  5. package/build/browser/object-table/DefaultCellRenderer.js.map +1 -1
  6. package/build/browser/object-table/EditableCell.js +4 -3
  7. package/build/browser/object-table/EditableCell.js.map +1 -1
  8. package/build/browser/object-table/ObjectTableApi.js.map +1 -1
  9. package/build/browser/object-table/utils/types.js.map +1 -1
  10. package/build/browser/util/UserAgent.js +1 -1
  11. package/build/browser/util/UserAgent.js.map +1 -1
  12. package/build/cjs/{chunk-4MKY6RU2.cjs → chunk-JLSIIL5M.cjs} +20 -6
  13. package/build/cjs/chunk-JLSIIL5M.cjs.map +1 -0
  14. package/build/cjs/{chunk-VWMSVA2B.cjs → chunk-KOH3HIJX.cjs} +3 -3
  15. package/build/cjs/chunk-KOH3HIJX.cjs.map +1 -0
  16. package/build/cjs/{chunk-HTGC4GAZ.cjs → chunk-O7L3KWPU.cjs} +4 -4
  17. package/build/cjs/{chunk-HTGC4GAZ.cjs.map → chunk-O7L3KWPU.cjs.map} +1 -1
  18. package/build/cjs/{chunk-IMOIQYNW.cjs → chunk-U6QUBJUK.cjs} +4 -4
  19. package/build/cjs/{chunk-IMOIQYNW.cjs.map → chunk-U6QUBJUK.cjs.map} +1 -1
  20. package/build/cjs/{chunk-JWNRU2TC.cjs → chunk-ZGCXYPDR.cjs} +15 -8
  21. package/build/cjs/chunk-ZGCXYPDR.cjs.map +1 -0
  22. package/build/cjs/public/experimental/action-form.cjs +4 -4
  23. package/build/cjs/public/experimental/filter-list.cjs +13 -13
  24. package/build/cjs/public/experimental/object-table.cjs +8 -8
  25. package/build/cjs/public/experimental/object-table.d.cts +9 -6
  26. package/build/cjs/public/experimental/pdf-viewer.cjs +24 -24
  27. package/build/cjs/public/experimental.cjs +46 -46
  28. package/build/esm/filter-list/inputs/NumberRangeFilterInput.js +10 -5
  29. package/build/esm/filter-list/inputs/NumberRangeFilterInput.js.map +1 -1
  30. package/build/esm/object-table/DefaultCellRenderer.js +18 -0
  31. package/build/esm/object-table/DefaultCellRenderer.js.map +1 -1
  32. package/build/esm/object-table/EditableCell.js +4 -3
  33. package/build/esm/object-table/EditableCell.js.map +1 -1
  34. package/build/esm/object-table/ObjectTableApi.js.map +1 -1
  35. package/build/esm/object-table/utils/types.js.map +1 -1
  36. package/build/esm/util/UserAgent.js +1 -1
  37. package/build/esm/util/UserAgent.js.map +1 -1
  38. package/build/types/filter-list/inputs/NumberRangeFilterInput.d.ts.map +1 -1
  39. package/build/types/object-table/DefaultCellRenderer.d.ts.map +1 -1
  40. package/build/types/object-table/EditableCell.d.ts +8 -1
  41. package/build/types/object-table/EditableCell.d.ts.map +1 -1
  42. package/build/types/object-table/ObjectTableApi.d.ts +4 -3
  43. package/build/types/object-table/ObjectTableApi.d.ts.map +1 -1
  44. package/build/types/object-table/utils/types.d.ts +5 -3
  45. package/build/types/object-table/utils/types.d.ts.map +1 -1
  46. package/package.json +7 -7
  47. package/build/cjs/chunk-4MKY6RU2.cjs.map +0 -1
  48. package/build/cjs/chunk-JWNRU2TC.cjs.map +0 -1
  49. package/build/cjs/chunk-VWMSVA2B.cjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/util/UserAgent.ts","../../src/util/withOsdkMetrics.ts"],"names":["useRegisterUserAgent","React"],"mappings":";;;;;;;;;;;;AAgBA,IAAM,kBAAA,GAAqB,yBAAyB,QAA2B,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-VWMSVA2B.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}"]}