@osdk/react-components 0.48.0-main-638f2c994b73eefed1d3f6559028fa8c63ad53ff → 0.48.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 +2 -9
- package/build/browser/util/UserAgent.js +1 -1
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{chunk-6GIVTBSG.cjs → chunk-56TROTOG.cjs} +3 -3
- package/build/cjs/chunk-56TROTOG.cjs.map +1 -0
- package/build/cjs/{chunk-CZ7HAOWY.cjs → chunk-DXCNAEYH.cjs} +4 -4
- package/build/cjs/{chunk-CZ7HAOWY.cjs.map → chunk-DXCNAEYH.cjs.map} +1 -1
- package/build/cjs/{chunk-IQT6OBI6.cjs → chunk-FI4VEIXZ.cjs} +4 -4
- package/build/cjs/{chunk-IQT6OBI6.cjs.map → chunk-FI4VEIXZ.cjs.map} +1 -1
- package/build/cjs/{chunk-MA23GLQD.cjs → chunk-GAYXGI57.cjs} +4 -4
- package/build/cjs/{chunk-MA23GLQD.cjs.map → chunk-GAYXGI57.cjs.map} +1 -1
- package/build/cjs/{chunk-OWFVI3VR.cjs → chunk-IQZRLI4C.cjs} +4 -4
- package/build/cjs/{chunk-OWFVI3VR.cjs.map → chunk-IQZRLI4C.cjs.map} +1 -1
- package/build/cjs/chunk-OOLM7FFB.cjs +11 -0
- package/build/cjs/{chunk-3UZXYT2Q.cjs.map → chunk-OOLM7FFB.cjs.map} +1 -1
- package/build/cjs/{chunk-57OUXU5R.cjs → chunk-PAGD7GEP.cjs} +4 -4
- package/build/cjs/{chunk-57OUXU5R.cjs.map → chunk-PAGD7GEP.cjs.map} +1 -1
- package/build/cjs/chunk-QAU2YBD2.cjs +11 -0
- package/build/cjs/{chunk-VIRCEEP3.cjs.map → chunk-QAU2YBD2.cjs.map} +1 -1
- package/build/cjs/{chunk-73RXRX3F.cjs → chunk-RYKBI2LD.cjs} +4 -4
- package/build/cjs/{chunk-73RXRX3F.cjs.map → chunk-RYKBI2LD.cjs.map} +1 -1
- package/build/cjs/{chunk-S7HI5JNR.cjs → chunk-TTLXA3BI.cjs} +4 -4
- package/build/cjs/{chunk-S7HI5JNR.cjs.map → chunk-TTLXA3BI.cjs.map} +1 -1
- package/build/cjs/chunk-UACVTYIA.cjs +11 -0
- package/build/cjs/{chunk-ATFXCS6J.cjs.map → chunk-UACVTYIA.cjs.map} +1 -1
- package/build/cjs/{chunk-IMAWA2PV.cjs → chunk-UWJZ76FJ.cjs} +4 -4
- package/build/cjs/{chunk-IMAWA2PV.cjs.map → chunk-UWJZ76FJ.cjs.map} +1 -1
- package/build/cjs/{chunk-Y6OWX7EO.cjs → chunk-ZKL4ZLRB.cjs} +4 -4
- package/build/cjs/{chunk-Y6OWX7EO.cjs.map → chunk-ZKL4ZLRB.cjs.map} +1 -1
- package/build/cjs/chunk-ZOYIO46A.cjs +11 -0
- package/build/cjs/{chunk-4ISFL7I2.cjs.map → chunk-ZOYIO46A.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 +3 -3
- package/build/cjs/public/experimental/object-table.cjs +21 -21
- 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 +3 -3
- 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 +71 -71
- package/build/esm/util/UserAgent.js +1 -1
- package/build/esm/util/UserAgent.js.map +1 -1
- package/package.json +8 -8
- package/build/cjs/chunk-3UZXYT2Q.cjs +0 -11
- package/build/cjs/chunk-4ISFL7I2.cjs +0 -11
- package/build/cjs/chunk-6GIVTBSG.cjs.map +0 -1
- package/build/cjs/chunk-ATFXCS6J.cjs +0 -11
- package/build/cjs/chunk-VIRCEEP3.cjs +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
# @osdk/react-components
|
|
2
2
|
|
|
3
|
-
## 0.48.0
|
|
3
|
+
## 0.48.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
+
- 2d4eb3f: Drop internal element tags from the ActionForm Style API table and rename the "Base component" doc sections to "BaseForm" and "BaseTable"
|
|
7
8
|
- 768ab2f: Remove dead and deprecated props from the experimental FilterList API. Breaking: filterClause prop is removed, this has no behavioral changes as the prop is unused.
|
|
8
9
|
|
|
9
10
|
`FilterListProps.filterClause` was never read — FilterList has always owned its own filter state, so passing it did nothing; read state out with `onFilterClauseChanged` instead. `FilterListItemProps` was exported but described props no component accepts.
|
|
10
11
|
|
|
11
12
|
`BaseFilterListProps.hasVisibilityChanges` (deprecated in 0.24.0 in favor of `canReset`) is gone, along with its fallback in the reset button's enabled state. `FilterList` is unaffected — it already folds visibility changes into the `canReset` it passes down. Consumers using `BaseFilterList` directly who still pass only `hasVisibilityChanges` will see the reset button stay disabled when no filters are active; pass `canReset` instead.
|
|
12
13
|
|
|
13
|
-
### Patch Changes
|
|
14
|
-
|
|
15
|
-
- 2d4eb3f: Drop internal element tags from the ActionForm Style API table and rename the "Base component" doc sections to "BaseForm" and "BaseTable"
|
|
16
|
-
- Updated dependencies [342c492]
|
|
17
|
-
- @osdk/api@2.55.1-main-638f2c994b73eefed1d3f6559028fa8c63ad53ff
|
|
18
|
-
- @osdk/client@2.55.1-main-638f2c994b73eefed1d3f6559028fa8c63ad53ff
|
|
19
|
-
- @osdk/react@2.55.1-main-638f2c994b73eefed1d3f6559028fa8c63ad53ff
|
|
20
|
-
|
|
21
14
|
## 0.47.0
|
|
22
15
|
|
|
23
16
|
### 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.48.0
|
|
17
|
+
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.48.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.48.0
|
|
13
|
+
var PACKAGE_USER_AGENT = `osdk-react-components/${"0.48.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-56TROTOG.cjs.map
|
|
30
|
+
//# sourceMappingURL=chunk-56TROTOG.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-56TROTOG.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 chunkLB3IHFAB_cjs = require('./chunk-LB3IHFAB.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk56TROTOG_cjs = require('./chunk-56TROTOG.cjs');
|
|
5
5
|
|
|
6
6
|
// src/public/experimental/tiff-renderer.ts
|
|
7
|
-
var TiffViewerMedia2 =
|
|
7
|
+
var TiffViewerMedia2 = chunk56TROTOG_cjs.withOsdkMetrics(chunkLB3IHFAB_cjs.TiffViewerMedia, "TiffViewerMedia");
|
|
8
8
|
|
|
9
9
|
exports.TiffViewerMedia = TiffViewerMedia2;
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
10
|
+
//# sourceMappingURL=chunk-DXCNAEYH.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-DXCNAEYH.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/experimental/tiff-renderer.ts"],"names":["TiffViewerMedia","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,gBAAAA,GAAkBC,iCAAA,CAAgBD,iCAAA,EAAkB,iBAAiB","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/public/experimental/tiff-renderer.ts"],"names":["TiffViewerMedia","withOsdkMetrics"],"mappings":";;;;;;AAqBO,IAAMA,gBAAAA,GAAkBC,iCAAA,CAAgBD,iCAAA,EAAkB,iBAAiB","file":"chunk-DXCNAEYH.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// TiffRenderer\nexport { TiffRenderer } from \"../../images/tiff-renderer/TiffRenderer.js\";\n// TiffViewerMedia (Media wrapper)\nimport { TiffViewerMedia as _TiffViewerMedia } from \"../../images/tiff-renderer/TiffViewerMedia.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const TiffViewerMedia = withOsdkMetrics(_TiffViewerMedia, \"TiffViewerMedia\");"]}
|
|
@@ -7,7 +7,7 @@ var chunkHNBSGCSZ_cjs = require('./chunk-HNBSGCSZ.cjs');
|
|
|
7
7
|
var chunk7LXS66DW_cjs = require('./chunk-7LXS66DW.cjs');
|
|
8
8
|
var chunkQP2LHBCZ_cjs = require('./chunk-QP2LHBCZ.cjs');
|
|
9
9
|
var chunkUCTQICPR_cjs = require('./chunk-UCTQICPR.cjs');
|
|
10
|
-
var
|
|
10
|
+
var chunk56TROTOG_cjs = require('./chunk-56TROTOG.cjs');
|
|
11
11
|
var react = require('@osdk/react');
|
|
12
12
|
var React17 = require('react');
|
|
13
13
|
var icons = require('@blueprintjs/icons');
|
|
@@ -1853,9 +1853,9 @@ var ActionForm = chunkHC3KLZHF_cjs.typedReactMemo(function ActionFormFn({
|
|
|
1853
1853
|
ActionForm.displayName = "ActionForm";
|
|
1854
1854
|
|
|
1855
1855
|
// src/public/experimental/action-form.ts
|
|
1856
|
-
var ActionForm2 =
|
|
1856
|
+
var ActionForm2 = chunk56TROTOG_cjs.withOsdkMetrics(ActionForm, "ActionForm");
|
|
1857
1857
|
|
|
1858
1858
|
exports.ActionForm = ActionForm2;
|
|
1859
1859
|
exports.BaseForm = BaseForm;
|
|
1860
|
-
//# sourceMappingURL=chunk-
|
|
1861
|
-
//# sourceMappingURL=chunk-
|
|
1860
|
+
//# sourceMappingURL=chunk-FI4VEIXZ.cjs.map
|
|
1861
|
+
//# sourceMappingURL=chunk-FI4VEIXZ.cjs.map
|