@osdk/react-components 0.18.0-main-b0de21be6aaebd0dbe37efad412932940f4d1a5e → 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.
- package/CHANGELOG.md +16 -22
- package/build/browser/util/UserAgent.js +1 -1
- package/build/browser/util/UserAgent.js.map +1 -1
- package/build/cjs/{chunk-EVOLW2XO.cjs → chunk-3ZTI3X34.cjs} +4 -4
- package/build/cjs/{chunk-EVOLW2XO.cjs.map → chunk-3ZTI3X34.cjs.map} +1 -1
- package/build/cjs/{chunk-7ZOVSOM4.cjs → chunk-4VBZDFNF.cjs} +4 -4
- package/build/cjs/{chunk-7ZOVSOM4.cjs.map → chunk-4VBZDFNF.cjs.map} +1 -1
- package/build/cjs/chunk-4WN66RSZ.cjs +11 -0
- package/build/cjs/{chunk-RHR72DEN.cjs.map → chunk-4WN66RSZ.cjs.map} +1 -1
- package/build/cjs/chunk-5BNDEXWF.cjs +11 -0
- package/build/cjs/{chunk-YHJKDUGM.cjs.map → chunk-5BNDEXWF.cjs.map} +1 -1
- package/build/cjs/{chunk-BPRZGSSE.cjs → chunk-5YC6ASJW.cjs} +4 -4
- package/build/cjs/{chunk-BPRZGSSE.cjs.map → chunk-5YC6ASJW.cjs.map} +1 -1
- package/build/cjs/{chunk-5DXHMQNE.cjs → chunk-DDXYP26C.cjs} +4 -4
- package/build/cjs/{chunk-5DXHMQNE.cjs.map → chunk-DDXYP26C.cjs.map} +1 -1
- package/build/cjs/{chunk-YW4LOTZH.cjs → chunk-G7ASG6Y4.cjs} +4 -4
- package/build/cjs/{chunk-YW4LOTZH.cjs.map → chunk-G7ASG6Y4.cjs.map} +1 -1
- package/build/cjs/{chunk-AULTWSFF.cjs → chunk-GU5FOAQH.cjs} +3 -3
- package/build/cjs/chunk-GU5FOAQH.cjs.map +1 -0
- package/build/cjs/{chunk-PE2JN4KH.cjs → chunk-JYNEP3MG.cjs} +4 -4
- package/build/cjs/{chunk-PE2JN4KH.cjs.map → chunk-JYNEP3MG.cjs.map} +1 -1
- package/build/cjs/{chunk-PK2I6CCI.cjs → chunk-LPGTPRYE.cjs} +4 -4
- package/build/cjs/{chunk-PK2I6CCI.cjs.map → chunk-LPGTPRYE.cjs.map} +1 -1
- package/build/cjs/chunk-RR3VWKZH.cjs +11 -0
- package/build/cjs/{chunk-DQBFZ4GP.cjs.map → chunk-RR3VWKZH.cjs.map} +1 -1
- package/build/cjs/chunk-URQCTCDJ.cjs +11 -0
- package/build/cjs/{chunk-2S4F7YRG.cjs.map → chunk-URQCTCDJ.cjs.map} +1 -1
- package/build/cjs/chunk-WVP6Y6QL.cjs +11 -0
- package/build/cjs/{chunk-XWB3A4NL.cjs.map → chunk-WVP6Y6QL.cjs.map} +1 -1
- package/build/cjs/public/experimental/action-form.cjs +4 -4
- 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/excel-viewer.cjs +3 -3
- package/build/cjs/public/experimental/filter-list.cjs +13 -13
- 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 +8 -8
- package/build/cjs/public/experimental/pdf-viewer.cjs +7 -7
- 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 +46 -46
- 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-2S4F7YRG.cjs +0 -11
- package/build/cjs/chunk-AULTWSFF.cjs.map +0 -1
- package/build/cjs/chunk-DQBFZ4GP.cjs +0 -11
- package/build/cjs/chunk-RHR72DEN.cjs +0 -11
- package/build/cjs/chunk-XWB3A4NL.cjs +0 -11
- package/build/cjs/chunk-YHJKDUGM.cjs +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
# @osdk/react-components
|
|
2
2
|
|
|
3
|
-
## 0.18.0
|
|
3
|
+
## 0.18.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
+
- b0de21b: ActionForm fields now show an `Edited` tag after users edit them.
|
|
7
8
|
- 1f63510: Add built-in dark mode token overrides. Components now react automatically to `prefers-color-scheme: dark` and to the `[data-bp-color-scheme="dark"]` / `.bp6-dark` attribute selectors, matching the Foundry custom widgets dark theme guidance.
|
|
9
|
+
- aad8d52: filter-list: match "No value" row gap to regular row gap so it doesn't look visually tighter than its neighbors
|
|
10
|
+
- f6f92fb: Fix broken CSS custom property references that used non-existent token names
|
|
11
|
+
- 19d5612: Fix two ObjectTable editable-cell visual issues:
|
|
12
|
+
- Dropdown cell no longer shows a phantom "edited" outline after clearing a
|
|
13
|
+
never-set cell. `EditableCell` and `useEditableTable` now treat `null` and
|
|
14
|
+
`undefined` as the same empty state when deciding whether an edit is a
|
|
15
|
+
revert, so clearing a cell whose value was `undefined` removes the edit
|
|
16
|
+
entry instead of leaving a stale "edited" indicator. `""` remains a
|
|
17
|
+
distinct value — clearing an empty string still registers as an edit.
|
|
18
|
+
- Date picker cell now shows the same focus outline as the text input cell,
|
|
19
|
+
and no longer renders the date picker's own box-shadow on top of the cell
|
|
20
|
+
border. The cell wrapper also reserves a transparent border so focusing
|
|
21
|
+
the picker doesn't shift layout.
|
|
22
|
+
|
|
8
23
|
- 5c20aba: Add `--osdk-table-cell-bg` CSS variable on `ObjectTable` / `BaseTable`
|
|
9
24
|
cells, and tag each `<td>` with `data-editable="true"` when the cell renders
|
|
10
25
|
as editable. The variable defaults to `inherit`, preserving current visuals.
|
|
@@ -21,28 +36,7 @@
|
|
|
21
36
|
```
|
|
22
37
|
|
|
23
38
|
- ca8ef7c: ObjectTable: drop the redundant `selectedRowIds` field from the `RowSelectionChange` payload delivered to `onRowSelectionChanged`. The primary keys are still available via `selectedRows.map(r => r.$primaryKey)`. `selectedRowIds` was redundant with `selectedRows` and was kept only as a transitional alias.
|
|
24
|
-
|
|
25
|
-
### Patch Changes
|
|
26
|
-
|
|
27
|
-
- b0de21b: ActionForm fields now show an `Edited` tag after users edit them.
|
|
28
|
-
- aad8d52: filter-list: match "No value" row gap to regular row gap so it doesn't look visually tighter than its neighbors
|
|
29
|
-
- f6f92fb: Fix broken CSS custom property references that used non-existent token names
|
|
30
|
-
- 19d5612: Fix two ObjectTable editable-cell visual issues:
|
|
31
|
-
- Dropdown cell no longer shows a phantom "edited" outline after clearing a
|
|
32
|
-
never-set cell. `EditableCell` and `useEditableTable` now treat `null` and
|
|
33
|
-
`undefined` as the same empty state when deciding whether an edit is a
|
|
34
|
-
revert, so clearing a cell whose value was `undefined` removes the edit
|
|
35
|
-
entry instead of leaving a stale "edited" indicator. `""` remains a
|
|
36
|
-
distinct value — clearing an empty string still registers as an edit.
|
|
37
|
-
- Date picker cell now shows the same focus outline as the text input cell,
|
|
38
|
-
and no longer renders the date picker's own box-shadow on top of the cell
|
|
39
|
-
border. The cell wrapper also reserves a transparent border so focusing
|
|
40
|
-
the picker doesn't shift layout.
|
|
41
|
-
|
|
42
39
|
- 5ca0da3: Replace hardcoded table header menu colors with surface tokens and align table row hover/active to `--osdk-intent-primary-rest` for better dark theme compatibility.
|
|
43
|
-
- @osdk/api@2.21.1-main-b0de21be6aaebd0dbe37efad412932940f4d1a5e
|
|
44
|
-
- @osdk/client@2.21.1-main-b0de21be6aaebd0dbe37efad412932940f4d1a5e
|
|
45
|
-
- @osdk/react@2.21.1-main-b0de21be6aaebd0dbe37efad412932940f4d1a5e
|
|
46
40
|
|
|
47
41
|
## 0.17.0
|
|
48
42
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.18.0
|
|
17
|
+
const PACKAGE_USER_AGENT = `osdk-react-components/${"0.18.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,mCAAsD;AAExD,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkIISDOJPR_cjs = require('./chunk-IISDOJPR.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkGU5FOAQH_cjs = require('./chunk-GU5FOAQH.cjs');
|
|
5
5
|
|
|
6
6
|
// src/public/experimental/tiff-renderer.ts
|
|
7
|
-
var TiffViewerMedia2 =
|
|
7
|
+
var TiffViewerMedia2 = chunkGU5FOAQH_cjs.withOsdkMetrics(chunkIISDOJPR_cjs.TiffViewerMedia, "TiffViewerMedia");
|
|
8
8
|
|
|
9
9
|
exports.TiffViewerMedia = TiffViewerMedia2;
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
11
|
-
//# sourceMappingURL=chunk-
|
|
10
|
+
//# sourceMappingURL=chunk-3ZTI3X34.cjs.map
|
|
11
|
+
//# sourceMappingURL=chunk-3ZTI3X34.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-3ZTI3X34.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 chunkMD4KDE44_cjs = require('./chunk-MD4KDE44.cjs');
|
|
9
9
|
var chunkUCTQICPR_cjs = require('./chunk-UCTQICPR.cjs');
|
|
10
|
-
var
|
|
10
|
+
var chunkGU5FOAQH_cjs = require('./chunk-GU5FOAQH.cjs');
|
|
11
11
|
var react = require('@osdk/react');
|
|
12
12
|
var React17 = require('react');
|
|
13
13
|
var icons = require('@blueprintjs/icons');
|
|
@@ -1808,9 +1808,9 @@ var ActionForm = chunkFXEPNL5K_cjs.typedReactMemo(function ActionFormFn({
|
|
|
1808
1808
|
});
|
|
1809
1809
|
|
|
1810
1810
|
// src/public/experimental/action-form.ts
|
|
1811
|
-
var ActionForm2 =
|
|
1811
|
+
var ActionForm2 = chunkGU5FOAQH_cjs.withOsdkMetrics(ActionForm, "ActionForm");
|
|
1812
1812
|
|
|
1813
1813
|
exports.ActionForm = ActionForm2;
|
|
1814
1814
|
exports.BaseForm = BaseForm;
|
|
1815
|
-
//# sourceMappingURL=chunk-
|
|
1816
|
-
//# sourceMappingURL=chunk-
|
|
1815
|
+
//# sourceMappingURL=chunk-4VBZDFNF.cjs.map
|
|
1816
|
+
//# sourceMappingURL=chunk-4VBZDFNF.cjs.map
|