@osdk/react-components 0.9.0-main-4aeb07b893f1bea1062cde70a9c6c7ef2cf60000 → 0.9.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 -4
- package/build/browser/util/UserAgent.js +1 -1
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{chunk-UQZS37OA.cjs → chunk-EEES66LS.cjs} +3 -3
- package/build/cjs/chunk-EEES66LS.cjs.map +1 -0
- package/build/cjs/{chunk-2CMLYX4S.cjs → chunk-O5ZAMFDU.cjs} +4 -4
- package/build/cjs/{chunk-2CMLYX4S.cjs.map → chunk-O5ZAMFDU.cjs.map} +1 -1
- package/build/cjs/{chunk-U5L3HMYG.cjs → chunk-OXP3XQE4.cjs} +4 -4
- package/build/cjs/{chunk-U5L3HMYG.cjs.map → chunk-OXP3XQE4.cjs.map} +1 -1
- package/build/cjs/{chunk-IOY3XZS2.cjs → chunk-SHTQGKS5.cjs} +4 -4
- package/build/cjs/{chunk-IOY3XZS2.cjs.map → chunk-SHTQGKS5.cjs.map} +1 -1
- package/build/cjs/{chunk-WPSCYF6W.cjs → chunk-UEY63J2G.cjs} +4 -4
- package/build/cjs/{chunk-WPSCYF6W.cjs.map → chunk-UEY63J2G.cjs.map} +1 -1
- package/build/cjs/public/experimental/action-form.cjs +4 -4
- package/build/cjs/public/experimental/filter-list.cjs +6 -6
- package/build/cjs/public/experimental/object-table.cjs +8 -8
- package/build/cjs/public/experimental/pdf-viewer.cjs +24 -24
- package/build/cjs/public/experimental.cjs +39 -39
- 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-UQZS37OA.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @osdk/react-components
|
|
2
2
|
|
|
3
|
-
## 0.9.0
|
|
3
|
+
## 0.9.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -11,9 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
- Updated dependencies [aa78c78]
|
|
13
13
|
- Updated dependencies [7b457a5]
|
|
14
|
-
- @osdk/react@0.16.0
|
|
15
|
-
- @osdk/client@2.13.0-main-4aeb07b893f1bea1062cde70a9c6c7ef2cf60000
|
|
16
|
-
- @osdk/api@2.13.0-main-4aeb07b893f1bea1062cde70a9c6c7ef2cf60000
|
|
14
|
+
- @osdk/react@0.16.0
|
|
17
15
|
|
|
18
16
|
## 0.8.0
|
|
19
17
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.9.0
|
|
17
|
+
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.9.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,
|
|
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,kCAAsD;AAExD,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.9.0
|
|
13
|
+
var PACKAGE_USER_AGENT = `osdk-react-components/${"0.9.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-EEES66LS.cjs.map
|
|
30
|
+
//# sourceMappingURL=chunk-EEES66LS.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,OAA2B,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,iCAAA,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-EEES66LS.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/experimental\";\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}"]}
|
|
@@ -6,7 +6,7 @@ var chunkJLESWL47_cjs = require('./chunk-JLESWL47.cjs');
|
|
|
6
6
|
var chunkY5ULR6PM_cjs = require('./chunk-Y5ULR6PM.cjs');
|
|
7
7
|
var chunk2FPKTOPE_cjs = require('./chunk-2FPKTOPE.cjs');
|
|
8
8
|
var chunk7LXS66DW_cjs = require('./chunk-7LXS66DW.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkEEES66LS_cjs = require('./chunk-EEES66LS.cjs');
|
|
10
10
|
var react = require('@osdk/react');
|
|
11
11
|
var experimental = require('@osdk/react/experimental');
|
|
12
12
|
var React15 = require('react');
|
|
@@ -1622,9 +1622,9 @@ var ActionForm = chunkRY2GVYT2_cjs.typedReactMemo(function ActionFormFn({
|
|
|
1622
1622
|
});
|
|
1623
1623
|
|
|
1624
1624
|
// src/public/experimental/action-form.ts
|
|
1625
|
-
var ActionForm2 =
|
|
1625
|
+
var ActionForm2 = chunkEEES66LS_cjs.withOsdkMetrics(ActionForm, "ActionForm");
|
|
1626
1626
|
|
|
1627
1627
|
exports.ActionForm = ActionForm2;
|
|
1628
1628
|
exports.BaseForm = BaseForm;
|
|
1629
|
-
//# sourceMappingURL=chunk-
|
|
1630
|
-
//# sourceMappingURL=chunk-
|
|
1629
|
+
//# sourceMappingURL=chunk-O5ZAMFDU.cjs.map
|
|
1630
|
+
//# sourceMappingURL=chunk-O5ZAMFDU.cjs.map
|