@osdk/react-components 0.18.0-main-1f635101dcdf13bf3201bcaa21c641715744dbb6 → 0.18.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 (79) hide show
  1. package/CHANGELOG.md +16 -21
  2. package/build/browser/action-form/FormField.js +11 -5
  3. package/build/browser/action-form/FormField.js.map +1 -1
  4. package/build/browser/action-form/FormField.module.css +17 -0
  5. package/build/browser/action-form/FormField.module.css.js +1 -0
  6. package/build/browser/action-form/fields/FieldBridge.js +7 -1
  7. package/build/browser/action-form/fields/FieldBridge.js.map +1 -1
  8. package/build/browser/action-form/fields/FormFieldRenderer.js +2 -0
  9. package/build/browser/action-form/fields/FormFieldRenderer.js.map +1 -1
  10. package/build/browser/styles.css +38 -0
  11. package/build/browser/tokens/component-tokens/form.css +21 -0
  12. package/build/browser/util/UserAgent.js +1 -1
  13. package/build/browser/util/UserAgent.js.map +1 -1
  14. package/build/cjs/{chunk-T535MGC4.cjs → chunk-3ZTI3X34.cjs} +4 -4
  15. package/build/cjs/{chunk-T535MGC4.cjs.map → chunk-3ZTI3X34.cjs.map} +1 -1
  16. package/build/cjs/{chunk-3MZS45DK.cjs → chunk-4VBZDFNF.cjs} +19 -9
  17. package/build/cjs/chunk-4VBZDFNF.cjs.map +1 -0
  18. package/build/cjs/chunk-4WN66RSZ.cjs +11 -0
  19. package/build/cjs/{chunk-UKGRBSSF.cjs.map → chunk-4WN66RSZ.cjs.map} +1 -1
  20. package/build/cjs/chunk-5BNDEXWF.cjs +11 -0
  21. package/build/cjs/{chunk-EE2OFLAZ.cjs.map → chunk-5BNDEXWF.cjs.map} +1 -1
  22. package/build/cjs/{chunk-DY5TM2V6.cjs → chunk-5YC6ASJW.cjs} +4 -4
  23. package/build/cjs/{chunk-DY5TM2V6.cjs.map → chunk-5YC6ASJW.cjs.map} +1 -1
  24. package/build/cjs/{chunk-CGCF5U65.cjs → chunk-DDXYP26C.cjs} +4 -4
  25. package/build/cjs/{chunk-CGCF5U65.cjs.map → chunk-DDXYP26C.cjs.map} +1 -1
  26. package/build/cjs/{chunk-HHNCKBQD.cjs → chunk-G7ASG6Y4.cjs} +4 -4
  27. package/build/cjs/{chunk-HHNCKBQD.cjs.map → chunk-G7ASG6Y4.cjs.map} +1 -1
  28. package/build/cjs/{chunk-2OWD7MYY.cjs → chunk-GU5FOAQH.cjs} +3 -3
  29. package/build/cjs/chunk-GU5FOAQH.cjs.map +1 -0
  30. package/build/cjs/{chunk-PQB7LUTF.cjs → chunk-JYNEP3MG.cjs} +4 -4
  31. package/build/cjs/{chunk-PQB7LUTF.cjs.map → chunk-JYNEP3MG.cjs.map} +1 -1
  32. package/build/cjs/{chunk-H43DG4GH.cjs → chunk-LPGTPRYE.cjs} +4 -4
  33. package/build/cjs/{chunk-H43DG4GH.cjs.map → chunk-LPGTPRYE.cjs.map} +1 -1
  34. package/build/cjs/chunk-RR3VWKZH.cjs +11 -0
  35. package/build/cjs/{chunk-YYSCXUYI.cjs.map → chunk-RR3VWKZH.cjs.map} +1 -1
  36. package/build/cjs/chunk-URQCTCDJ.cjs +11 -0
  37. package/build/cjs/{chunk-L3U64NY4.cjs.map → chunk-URQCTCDJ.cjs.map} +1 -1
  38. package/build/cjs/chunk-WVP6Y6QL.cjs +11 -0
  39. package/build/cjs/{chunk-357LAJ2P.cjs.map → chunk-WVP6Y6QL.cjs.map} +1 -1
  40. package/build/cjs/public/experimental/action-form.cjs +4 -4
  41. package/build/cjs/public/experimental/action-form.css +15 -0
  42. package/build/cjs/public/experimental/action-form.css.map +1 -1
  43. package/build/cjs/public/experimental/document-viewer.cjs +4 -4
  44. package/build/cjs/public/experimental/email-viewer.cjs +3 -3
  45. package/build/cjs/public/experimental/excel-viewer.cjs +3 -3
  46. package/build/cjs/public/experimental/filter-list.cjs +13 -13
  47. package/build/cjs/public/experimental/image-viewer.cjs +3 -3
  48. package/build/cjs/public/experimental/markdown-renderer.cjs +3 -3
  49. package/build/cjs/public/experimental/object-table.cjs +8 -8
  50. package/build/cjs/public/experimental/pdf-viewer.cjs +7 -7
  51. package/build/cjs/public/experimental/tiff-renderer.cjs +3 -3
  52. package/build/cjs/public/experimental/video-viewer.cjs +3 -3
  53. package/build/cjs/public/experimental/xml-viewer.cjs +3 -3
  54. package/build/cjs/public/experimental.cjs +46 -46
  55. package/build/cjs/public/experimental.css +15 -0
  56. package/build/cjs/public/experimental.css.map +1 -1
  57. package/build/esm/action-form/FormField.js +11 -5
  58. package/build/esm/action-form/FormField.js.map +1 -1
  59. package/build/esm/action-form/FormField.module.css +17 -0
  60. package/build/esm/action-form/fields/FieldBridge.js +7 -1
  61. package/build/esm/action-form/fields/FieldBridge.js.map +1 -1
  62. package/build/esm/action-form/fields/FormFieldRenderer.js +2 -0
  63. package/build/esm/action-form/fields/FormFieldRenderer.js.map +1 -1
  64. package/build/esm/tokens/component-tokens/form.css +21 -0
  65. package/build/esm/util/UserAgent.js +1 -1
  66. package/build/esm/util/UserAgent.js.map +1 -1
  67. package/build/types/action-form/FormField.d.ts +1 -0
  68. package/build/types/action-form/FormField.d.ts.map +1 -1
  69. package/build/types/action-form/fields/FieldBridge.d.ts.map +1 -1
  70. package/build/types/action-form/fields/FormFieldRenderer.d.ts +1 -0
  71. package/build/types/action-form/fields/FormFieldRenderer.d.ts.map +1 -1
  72. package/package.json +8 -8
  73. package/build/cjs/chunk-2OWD7MYY.cjs.map +0 -1
  74. package/build/cjs/chunk-357LAJ2P.cjs +0 -11
  75. package/build/cjs/chunk-3MZS45DK.cjs.map +0 -1
  76. package/build/cjs/chunk-EE2OFLAZ.cjs +0 -11
  77. package/build/cjs/chunk-L3U64NY4.cjs +0 -11
  78. package/build/cjs/chunk-UKGRBSSF.cjs +0 -11
  79. package/build/cjs/chunk-YYSCXUYI.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.0-main-1f635101dcdf13bf3201bcaa21c641715744dbb6"}`;
13
+ var PACKAGE_USER_AGENT = `osdk-react-components/${"0.18.0"}`;
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-2OWD7MYY.cjs.map
30
- //# sourceMappingURL=chunk-2OWD7MYY.cjs.map
29
+ //# sourceMappingURL=chunk-GU5FOAQH.cjs.map
30
+ //# sourceMappingURL=chunk-GU5FOAQH.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,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-GU5FOAQH.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}"]}
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkIYJOHKJE_cjs = require('./chunk-IYJOHKJE.cjs');
4
- var chunk2OWD7MYY_cjs = require('./chunk-2OWD7MYY.cjs');
4
+ var chunkGU5FOAQH_cjs = require('./chunk-GU5FOAQH.cjs');
5
5
 
6
6
  // src/public/experimental/markdown-renderer.ts
7
- var MarkdownViewerMedia2 = chunk2OWD7MYY_cjs.withOsdkMetrics(chunkIYJOHKJE_cjs.MarkdownViewerMedia, "MarkdownViewerMedia");
7
+ var MarkdownViewerMedia2 = chunkGU5FOAQH_cjs.withOsdkMetrics(chunkIYJOHKJE_cjs.MarkdownViewerMedia, "MarkdownViewerMedia");
8
8
 
9
9
  exports.MarkdownViewerMedia = MarkdownViewerMedia2;
10
- //# sourceMappingURL=chunk-PQB7LUTF.cjs.map
11
- //# sourceMappingURL=chunk-PQB7LUTF.cjs.map
10
+ //# sourceMappingURL=chunk-JYNEP3MG.cjs.map
11
+ //# sourceMappingURL=chunk-JYNEP3MG.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-PQB7LUTF.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-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\");"]}
@@ -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 chunk2OWD7MYY_cjs = require('./chunk-2OWD7MYY.cjs');
9
+ var chunkGU5FOAQH_cjs = require('./chunk-GU5FOAQH.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 = chunk2OWD7MYY_cjs.withOsdkMetrics(FilterList, "FilterList");
5108
+ var FilterList2 = chunkGU5FOAQH_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-H43DG4GH.cjs.map
5122
- //# sourceMappingURL=chunk-H43DG4GH.cjs.map
5121
+ //# sourceMappingURL=chunk-LPGTPRYE.cjs.map
5122
+ //# sourceMappingURL=chunk-LPGTPRYE.cjs.map