@osdk/react-components 0.14.1-main-73738dd57a52bd5beea4cbf6b5c301c9b8efcc2f → 0.15.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 (37) hide show
  1. package/CHANGELOG.md +3 -8
  2. package/build/browser/base-components/select/Select.module.css +4 -1
  3. package/build/browser/styles.css +11 -1
  4. package/build/browser/tokens/component-tokens/select.css +7 -0
  5. package/build/browser/tokens.css +1 -0
  6. package/build/browser/util/UserAgent.js +1 -1
  7. package/build/browser/util/UserAgent.js.map +1 -1
  8. package/build/cjs/{chunk-QVCS56B6.cjs → chunk-4MKY6RU2.cjs} +6 -6
  9. package/build/cjs/{chunk-QVCS56B6.cjs.map → chunk-4MKY6RU2.cjs.map} +1 -1
  10. package/build/cjs/{chunk-CDBG5AZR.cjs → chunk-HTGC4GAZ.cjs} +11 -11
  11. package/build/cjs/{chunk-CDBG5AZR.cjs.map → chunk-HTGC4GAZ.cjs.map} +1 -1
  12. package/build/cjs/{chunk-DHGTLXI6.cjs → chunk-IMOIQYNW.cjs} +4 -4
  13. package/build/cjs/{chunk-DHGTLXI6.cjs.map → chunk-IMOIQYNW.cjs.map} +1 -1
  14. package/build/cjs/{chunk-CRYL2YVN.cjs → chunk-JWNRU2TC.cjs} +4 -4
  15. package/build/cjs/{chunk-CRYL2YVN.cjs.map → chunk-JWNRU2TC.cjs.map} +1 -1
  16. package/build/cjs/{chunk-A6WFQQUE.cjs → chunk-VWMSVA2B.cjs} +3 -3
  17. package/build/cjs/chunk-VWMSVA2B.cjs.map +1 -0
  18. package/build/cjs/{chunk-2L2A5NE4.cjs → chunk-ZBJEZKOD.cjs} +2 -2
  19. package/build/cjs/{chunk-2L2A5NE4.cjs.map → chunk-ZBJEZKOD.cjs.map} +1 -1
  20. package/build/cjs/public/experimental/action-form.cjs +5 -5
  21. package/build/cjs/public/experimental/action-form.css +1 -1
  22. package/build/cjs/public/experimental/action-form.css.map +1 -1
  23. package/build/cjs/public/experimental/filter-list.cjs +13 -13
  24. package/build/cjs/public/experimental/object-table.cjs +9 -9
  25. package/build/cjs/public/experimental/object-table.css +1 -1
  26. package/build/cjs/public/experimental/object-table.css.map +1 -1
  27. package/build/cjs/public/experimental/pdf-viewer.cjs +24 -24
  28. package/build/cjs/public/experimental.cjs +47 -47
  29. package/build/cjs/public/experimental.css +1 -1
  30. package/build/cjs/public/experimental.css.map +1 -1
  31. package/build/esm/base-components/select/Select.module.css +4 -1
  32. package/build/esm/tokens/component-tokens/select.css +7 -0
  33. package/build/esm/tokens.css +1 -0
  34. package/build/esm/util/UserAgent.js +1 -1
  35. package/build/esm/util/UserAgent.js.map +1 -1
  36. package/package.json +7 -7
  37. package/build/cjs/chunk-A6WFQQUE.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,20 +1,15 @@
1
1
  # @osdk/react-components
2
2
 
3
- ## 0.14.1-main-73738dd57a52bd5beea4cbf6b5c301c9b8efcc2f
3
+ ## 0.15.0
4
4
 
5
- ### Patch Changes
5
+ ### Minor Changes
6
6
 
7
+ - 108ac50: Cap long ActionForm select dropdowns so they scroll inside dialogs.
7
8
  - 4bc17cc: Fix editable date field incorrectly showing edited border after click-in/click-out without changes
8
9
  - 99ec28c: Fix page scroll being blocked when opening a dropdown in an editable ObjectTable
9
10
  - d10ed5e: Add rich item label rendering to ActionForm dropdown fields.
10
11
  - 47eb27c: Add object set scoping to ObjectSelectField.
11
12
  - 73738dd: Show unsupported ActionForm field types and recommend CUSTOM fields.
12
- - Updated dependencies [02c796c]
13
- - Updated dependencies [2a2b672]
14
- - Updated dependencies [d962309]
15
- - @osdk/client@2.19.0-main-73738dd57a52bd5beea4cbf6b5c301c9b8efcc2f
16
- - @osdk/api@2.19.0-main-73738dd57a52bd5beea4cbf6b5c301c9b8efcc2f
17
- - @osdk/react@2.19.0-main-73738dd57a52bd5beea4cbf6b5c301c9b8efcc2f
18
13
 
19
14
  ## 0.14.0
20
15
 
@@ -224,7 +224,10 @@
224
224
  display: flex;
225
225
  flex-direction: column;
226
226
  min-width: var(--anchor-width);
227
- max-height: var(--available-height);
227
+ max-height: min(
228
+ var(--osdk-select-popup-max-height),
229
+ var(--available-height)
230
+ );
228
231
  overflow-y: auto;
229
232
  padding: calc(var(--osdk-select-spacing, var(--osdk-surface-spacing)) * 1.5);
230
233
  border-radius: var(
@@ -1740,6 +1740,13 @@
1740
1740
  --osdk-radio-bg-checked-active: var(--osdk-intent-primary-active);
1741
1741
  --osdk-radio-indicator-color: var(--osdk-intent-primary-foreground);
1742
1742
  }
1743
+ :root {
1744
+ /* Select popup: cap long dropdowns so they scroll inside the popup instead
1745
+ of growing to fill the available viewport/dialog height. The component
1746
+ still respects Base UI's `--available-height`, so short viewports can use
1747
+ a smaller cap when there is less room around the trigger. */
1748
+ --osdk-select-popup-max-height: 320px;
1749
+ }
1743
1750
  :root {
1744
1751
  /* Table Border */
1745
1752
  --osdk-table-border-color: var(--osdk-surface-border-color-default);
@@ -4468,7 +4475,10 @@
4468
4475
  display: flex;
4469
4476
  flex-direction: column;
4470
4477
  min-width: var(--anchor-width);
4471
- max-height: var(--available-height);
4478
+ max-height: min(
4479
+ var(--osdk-select-popup-max-height),
4480
+ var(--available-height)
4481
+ );
4472
4482
  overflow-y: auto;
4473
4483
  padding: calc(var(--osdk-select-spacing, var(--osdk-surface-spacing)) * 1.5);
4474
4484
  border-radius: var(
@@ -0,0 +1,7 @@
1
+ :root {
2
+ /* Select popup: cap long dropdowns so they scroll inside the popup instead
3
+ of growing to fill the available viewport/dialog height. The component
4
+ still respects Base UI's `--available-height`, so short viewports can use
5
+ a smaller cap when there is less room around the trigger. */
6
+ --osdk-select-popup-max-height: 320px;
7
+ }
@@ -19,6 +19,7 @@
19
19
  @import "./tokens/component-tokens/object-set.css";
20
20
  @import "./tokens/component-tokens/pdf-viewer.css";
21
21
  @import "./tokens/component-tokens/radio.css";
22
+ @import "./tokens/component-tokens/select.css";
22
23
  @import "./tokens/component-tokens/table.css";
23
24
  @import "./tokens/component-tokens/timepicker.css";
24
25
  @import "./tokens/component-tokens/tooltip.css";
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- const PACKAGE_USER_AGENT = `osdk-react-components/${"0.14.1-main-73738dd57a52bd5beea4cbf6b5c301c9b8efcc2f"}`;
17
+ const PACKAGE_USER_AGENT = `osdk-react-components/${"0.15.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,iFAAsD;AAExD,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
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 chunkO5EUACSV_cjs = require('./chunk-O5EUACSV.cjs');
4
- var chunk2L2A5NE4_cjs = require('./chunk-2L2A5NE4.cjs');
4
+ var chunkZBJEZKOD_cjs = require('./chunk-ZBJEZKOD.cjs');
5
5
  var chunkI3OSD6CF_cjs = require('./chunk-I3OSD6CF.cjs');
6
6
  var chunkEWLPXTKT_cjs = require('./chunk-EWLPXTKT.cjs');
7
7
  var chunkZ4JDLERD_cjs = require('./chunk-Z4JDLERD.cjs');
8
- var chunkA6WFQQUE_cjs = require('./chunk-A6WFQQUE.cjs');
8
+ var chunkVWMSVA2B_cjs = require('./chunk-VWMSVA2B.cjs');
9
9
  var chunkJBRNNWYC_cjs = require('./chunk-JBRNNWYC.cjs');
10
10
  var chunk7LXS66DW_cjs = require('./chunk-7LXS66DW.cjs');
11
11
  var chunkMD4KDE44_cjs = require('./chunk-MD4KDE44.cjs');
@@ -219,7 +219,7 @@ function DropdownCellFieldInner({
219
219
  [EditableCell_default.error]: hasValidationError,
220
220
  [EditableCell_default.osdkEditedInput]: isEdited
221
221
  })
222
- }, /* @__PURE__ */ React14__default.default.createElement(chunk2L2A5NE4_cjs.DropdownField, _extends2({}, fieldComponentProps, {
222
+ }, /* @__PURE__ */ React14__default.default.createElement(chunkZBJEZKOD_cjs.DropdownField, _extends2({}, fieldComponentProps, {
223
223
  portalRef,
224
224
  value: inputValue,
225
225
  onChange,
@@ -2867,7 +2867,7 @@ function ObjectTable({
2867
2867
  }
2868
2868
 
2869
2869
  // src/public/experimental/object-table.ts
2870
- var ObjectTable2 = chunkA6WFQQUE_cjs.withOsdkMetrics(ObjectTable, "ObjectTable");
2870
+ var ObjectTable2 = chunkVWMSVA2B_cjs.withOsdkMetrics(ObjectTable, "ObjectTable");
2871
2871
 
2872
2872
  exports.BaseTable = BaseTable;
2873
2873
  exports.ColumnConfigDialog = ColumnConfigDialog;
@@ -2875,5 +2875,5 @@ exports.LoadingCell = LoadingCell;
2875
2875
  exports.LoadingCellContent = LoadingCellContent;
2876
2876
  exports.MultiColumnSortDialog = MultiColumnSortDialog;
2877
2877
  exports.ObjectTable = ObjectTable2;
2878
- //# sourceMappingURL=chunk-QVCS56B6.cjs.map
2879
- //# sourceMappingURL=chunk-QVCS56B6.cjs.map
2878
+ //# sourceMappingURL=chunk-4MKY6RU2.cjs.map
2879
+ //# sourceMappingURL=chunk-4MKY6RU2.cjs.map