@osdk/react-components 0.51.0-main-fb5b75215ff909b886dc63b41f5ef2192dec8062 → 0.51.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.
- package/CHANGELOG.md +1 -1
- package/build/browser/util/UserAgent.js +1 -1
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{chunk-HQI2G5JJ.cjs → chunk-2SVTIRY7.cjs} +3 -3
- package/build/cjs/chunk-2SVTIRY7.cjs.map +1 -0
- package/build/cjs/{chunk-BCLOAJ2T.cjs → chunk-637TFNOZ.cjs} +4 -4
- package/build/cjs/{chunk-BCLOAJ2T.cjs.map → chunk-637TFNOZ.cjs.map} +1 -1
- package/build/cjs/{chunk-GBENZ5IM.cjs → chunk-7HT2BZL6.cjs} +4 -4
- package/build/cjs/{chunk-GBENZ5IM.cjs.map → chunk-7HT2BZL6.cjs.map} +1 -1
- package/build/cjs/chunk-AJAA7TFX.cjs +11 -0
- package/build/cjs/{chunk-PBDVVGT3.cjs.map → chunk-AJAA7TFX.cjs.map} +1 -1
- package/build/cjs/{chunk-NR5CQAYM.cjs → chunk-C44UIYJU.cjs} +4 -4
- package/build/cjs/{chunk-NR5CQAYM.cjs.map → chunk-C44UIYJU.cjs.map} +1 -1
- package/build/cjs/{chunk-DR2RLWNR.cjs → chunk-CKJUI6JX.cjs} +4 -4
- package/build/cjs/{chunk-DR2RLWNR.cjs.map → chunk-CKJUI6JX.cjs.map} +1 -1
- package/build/cjs/{chunk-BJMH7MZG.cjs → chunk-CSRMHOGO.cjs} +4 -4
- package/build/cjs/{chunk-BJMH7MZG.cjs.map → chunk-CSRMHOGO.cjs.map} +1 -1
- package/build/cjs/chunk-DDJZYFH6.cjs +11 -0
- package/build/cjs/{chunk-T64DLA72.cjs.map → chunk-DDJZYFH6.cjs.map} +1 -1
- package/build/cjs/{chunk-RYZ6T346.cjs → chunk-GJOH3VCA.cjs} +4 -4
- package/build/cjs/{chunk-RYZ6T346.cjs.map → chunk-GJOH3VCA.cjs.map} +1 -1
- package/build/cjs/{chunk-4X5DBAJV.cjs → chunk-H3PKYA7X.cjs} +4 -4
- package/build/cjs/{chunk-4X5DBAJV.cjs.map → chunk-H3PKYA7X.cjs.map} +1 -1
- package/build/cjs/chunk-SI4ZL7RL.cjs +11 -0
- package/build/cjs/{chunk-IVZZJ4LU.cjs.map → chunk-SI4ZL7RL.cjs.map} +1 -1
- package/build/cjs/{chunk-FHGAC7PH.cjs → chunk-SW74VLMH.cjs} +4 -4
- package/build/cjs/{chunk-FHGAC7PH.cjs.map → chunk-SW74VLMH.cjs.map} +1 -1
- package/build/cjs/{chunk-Q6ZFT55Y.cjs → chunk-WJXVWWOP.cjs} +4 -4
- package/build/cjs/{chunk-Q6ZFT55Y.cjs.map → chunk-WJXVWWOP.cjs.map} +1 -1
- package/build/cjs/chunk-ZECNHOOX.cjs +11 -0
- package/build/cjs/{chunk-XXF2T63W.cjs.map → chunk-ZECNHOOX.cjs.map} +1 -1
- package/build/cjs/public/experimental/action-form.cjs +4 -4
- package/build/cjs/public/experimental/cbac-picker.cjs +11 -11
- 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/filter-list.cjs +15 -15
- package/build/cjs/public/experimental/image-viewer.cjs +3 -3
- package/build/cjs/public/experimental/markdown-renderer.cjs +5 -5
- package/build/cjs/public/experimental/object-table.cjs +22 -22
- package/build/cjs/public/experimental/pdf-viewer.cjs +7 -7
- package/build/cjs/public/experimental/spreadsheet-viewer.cjs +3 -3
- package/build/cjs/public/experimental/tiff-renderer.cjs +5 -5
- 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 +76 -76
- package/build/esm/util/UserAgent.js +1 -1
- package/build/esm/util/UserAgent.js.map +1 -1
- package/package.json +3 -3
- package/build/cjs/chunk-HQI2G5JJ.cjs.map +0 -1
- package/build/cjs/chunk-IVZZJ4LU.cjs +0 -11
- package/build/cjs/chunk-PBDVVGT3.cjs +0 -11
- package/build/cjs/chunk-T64DLA72.cjs +0 -11
- package/build/cjs/chunk-XXF2T63W.cjs +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.51.0
|
|
17
|
+
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.51.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 = `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,GAAG,
|
|
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 = `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,GAAG,mCAAsD;AAEjF,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
|
|
@@ -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.51.0
|
|
13
|
+
var PACKAGE_USER_AGENT = `osdk-react-components/${"0.51.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-
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-2SVTIRY7.cjs.map
|
|
30
|
+
//# sourceMappingURL=chunk-2SVTIRY7.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-2SVTIRY7.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,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkKFV264XS_cjs = require('./chunk-KFV264XS.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk2SVTIRY7_cjs = require('./chunk-2SVTIRY7.cjs');
|
|
5
5
|
|
|
6
6
|
// src/public/experimental/markdown-renderer.ts
|
|
7
|
-
var MarkdownViewer2 =
|
|
7
|
+
var MarkdownViewer2 = chunk2SVTIRY7_cjs.withOsdkMetrics(chunkKFV264XS_cjs.MarkdownViewer, "MarkdownViewer");
|
|
8
8
|
var MarkdownRenderer = chunkKFV264XS_cjs.BaseMarkdownViewer;
|
|
9
9
|
var MarkdownViewerMedia = MarkdownViewer2;
|
|
10
10
|
|
|
11
11
|
exports.MarkdownRenderer = MarkdownRenderer;
|
|
12
12
|
exports.MarkdownViewer = MarkdownViewer2;
|
|
13
13
|
exports.MarkdownViewerMedia = MarkdownViewerMedia;
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-637TFNOZ.cjs.map
|
|
15
|
+
//# sourceMappingURL=chunk-637TFNOZ.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/experimental/markdown-renderer.ts"],"names":["MarkdownViewer","withOsdkMetrics","BaseMarkdownViewer"],"mappings":";;;;;;AA4BO,IAAMA,eAAAA,GAAiBC,iCAAA,CAAgBD,gCAAA,EAAiB,gBAAgB;AAOxE,IAAM,gBAAA,GAAmBE;AAKzB,IAAM,mBAAA,GAAsBF","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/experimental/markdown-renderer.ts"],"names":["MarkdownViewer","withOsdkMetrics","BaseMarkdownViewer"],"mappings":";;;;;;AA4BO,IAAMA,eAAAA,GAAiBC,iCAAA,CAAgBD,gCAAA,EAAiB,gBAAgB;AAOxE,IAAM,gBAAA,GAAmBE;AAKzB,IAAM,mBAAA,GAAsBF","file":"chunk-637TFNOZ.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// This subpath keeps its `markdown-renderer` name for now even though the\n// components it exports are named `MarkdownViewer`. It gets renamed when the\n// `experimental/` prefix is dropped, so consumers change import paths once\n// rather than twice.\n\nimport { BaseMarkdownViewer as _BaseMarkdownViewer } from \"../../markdown-viewer/BaseMarkdownViewer.js\";\nimport { MarkdownViewer as _MarkdownViewer } from \"../../markdown-viewer/MarkdownViewer.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\n\n// BaseMarkdownViewer\nexport { BaseMarkdownViewer } from \"../../markdown-viewer/BaseMarkdownViewer.js\";\n// MarkdownViewer (Media wrapper)\nexport const MarkdownViewer = withOsdkMetrics(_MarkdownViewer, \"MarkdownViewer\");\n\n// Deprecated `Renderer` aliases of the same values, cleared in a later pass.\n// `MarkdownViewerMediaProps` has none: the `Media` drop is a uniform break\n// because pdf's old name was reused for a different type.\n\n/** @deprecated Use `BaseMarkdownViewer` instead. */\nexport const MarkdownRenderer = _BaseMarkdownViewer;\n\n/** @deprecated Use `BaseMarkdownViewerProps` instead. */\n\n/** @deprecated Use `MarkdownViewer` instead. */\nexport const MarkdownViewerMedia = MarkdownViewer;"]}
|
|
@@ -6,7 +6,7 @@ var chunk3KMJ6NKF_cjs = require('./chunk-3KMJ6NKF.cjs');
|
|
|
6
6
|
var chunkYE4F6HIR_cjs = require('./chunk-YE4F6HIR.cjs');
|
|
7
7
|
var chunk7LXS66DW_cjs = require('./chunk-7LXS66DW.cjs');
|
|
8
8
|
var chunkUCTQICPR_cjs = require('./chunk-UCTQICPR.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunk2SVTIRY7_cjs = require('./chunk-2SVTIRY7.cjs');
|
|
10
10
|
var button = require('@base-ui/react/button');
|
|
11
11
|
var classnames3 = require('classnames');
|
|
12
12
|
var React15 = require('react');
|
|
@@ -5613,7 +5613,7 @@ function summarizeFilterValue(definition, state) {
|
|
|
5613
5613
|
}
|
|
5614
5614
|
|
|
5615
5615
|
// src/public/experimental/filter-list.ts
|
|
5616
|
-
var FilterList2 =
|
|
5616
|
+
var FilterList2 = chunk2SVTIRY7_cjs.withOsdkMetrics(FilterList, "FilterList");
|
|
5617
5617
|
|
|
5618
5618
|
exports.BaseFilterList = BaseFilterList;
|
|
5619
5619
|
exports.FilterInput = FilterInput;
|
|
@@ -5628,5 +5628,5 @@ exports.narrowObjectSet = narrowObjectSet;
|
|
|
5628
5628
|
exports.serializeFilterStates = serializeFilterStates;
|
|
5629
5629
|
exports.summarizeFilterValue = summarizeFilterValue;
|
|
5630
5630
|
exports.useFilterListState = useFilterListState;
|
|
5631
|
-
//# sourceMappingURL=chunk-
|
|
5632
|
-
//# sourceMappingURL=chunk-
|
|
5631
|
+
//# sourceMappingURL=chunk-7HT2BZL6.cjs.map
|
|
5632
|
+
//# sourceMappingURL=chunk-7HT2BZL6.cjs.map
|