@osdk/react-components 0.6.1-main-594df08893ef8e6e3e1e4f59a938065b5130f158 → 0.7.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 (30) hide show
  1. package/CHANGELOG.md +7 -3
  2. package/build/browser/public/experimental/object-table.js +4 -0
  3. package/build/browser/public/experimental/object-table.js.map +1 -1
  4. package/build/browser/util/UserAgent.js +1 -1
  5. package/build/browser/util/UserAgent.js.map +1 -1
  6. package/build/cjs/{chunk-OVE23JPE.cjs → chunk-6CUUF2F3.cjs} +4 -4
  7. package/build/cjs/{chunk-OVE23JPE.cjs.map → chunk-6CUUF2F3.cjs.map} +1 -1
  8. package/build/cjs/{chunk-YFT4HCSO.cjs → chunk-ORRH6P3M.cjs} +4 -4
  9. package/build/cjs/{chunk-YFT4HCSO.cjs.map → chunk-ORRH6P3M.cjs.map} +1 -1
  10. package/build/cjs/{chunk-CKWYBGUV.cjs → chunk-OZC5RIWD.cjs} +6 -4
  11. package/build/cjs/{chunk-CKWYBGUV.cjs.map → chunk-OZC5RIWD.cjs.map} +1 -1
  12. package/build/cjs/{chunk-3HI5QVFF.cjs → chunk-QJJ2I7MB.cjs} +4 -4
  13. package/build/cjs/{chunk-3HI5QVFF.cjs.map → chunk-QJJ2I7MB.cjs.map} +1 -1
  14. package/build/cjs/{chunk-R2I7PBUS.cjs → chunk-UTEOTVQW.cjs} +3 -3
  15. package/build/cjs/chunk-UTEOTVQW.cjs.map +1 -0
  16. package/build/cjs/public/experimental/action-form.cjs +4 -4
  17. package/build/cjs/public/experimental/filter-list.cjs +6 -6
  18. package/build/cjs/public/experimental/object-table.cjs +14 -6
  19. package/build/cjs/public/experimental/object-table.d.cts +6 -1
  20. package/build/cjs/public/experimental/pdf-viewer.cjs +24 -24
  21. package/build/cjs/public/experimental.cjs +45 -37
  22. package/build/cjs/public/experimental.d.cts +1 -1
  23. package/build/esm/public/experimental/object-table.js +4 -0
  24. package/build/esm/public/experimental/object-table.js.map +1 -1
  25. package/build/esm/util/UserAgent.js +1 -1
  26. package/build/esm/util/UserAgent.js.map +1 -1
  27. package/build/types/public/experimental/object-table.d.ts +1 -0
  28. package/build/types/public/experimental/object-table.d.ts.map +1 -1
  29. package/package.json +5 -5
  30. package/build/cjs/chunk-R2I7PBUS.cjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,14 +1,18 @@
1
1
  # @osdk/react-components
2
2
 
3
- ## 0.6.1-main-594df08893ef8e6e3e1e4f59a938065b5130f158
3
+ ## 0.7.0
4
4
 
5
- ### Patch Changes
5
+ ### Minor Changes
6
6
 
7
7
  - 594df08: Add BaseForm storybook
8
8
  - 22b4e35: Add horizontal orientation support to RadioButtonsField
9
+ - 83993d7: Export LoadingCells as building blocks
9
10
  - 5a45dc0: Fix stableObjectSet by using a useStableObjectSet hook
11
+
12
+ ### Patch Changes
13
+
10
14
  - Updated dependencies [5a45dc0]
11
- - @osdk/react@0.13.1-main-594df08893ef8e6e3e1e4f59a938065b5130f158
15
+ - @osdk/react@0.14.0
12
16
 
13
17
  ## 0.6.0
14
18
 
@@ -24,4 +24,8 @@ export const ObjectTable = withOsdkMetrics(_ObjectTable, "ObjectTable");
24
24
  export { BaseTable } from "../../object-table/Table.js";
25
25
  export { ColumnConfigDialog } from "../../object-table/ColumnConfigDialog.js";
26
26
  export { MultiColumnSortDialog } from "../../object-table/MultiColumnSortDialog.js";
27
+ // Loading cell components for custom column renderers.
28
+ // Use `LoadingCell` when rendering a full `<td>` element (e.g. in a custom row renderer).
29
+ // Use `LoadingCellContent` when rendering just the skeleton content inside an existing cell.
30
+ export { LoadingCell, LoadingCellContent } from "../../object-table/LoadingCell.js";
27
31
  //# sourceMappingURL=object-table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"object-table.js","names":["ObjectTable","_ObjectTable","withOsdkMetrics","BaseTable","ColumnConfigDialog","MultiColumnSortDialog"],"sources":["object-table.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\n// ObjectTable that loads and displays data for a given objectSet\nimport { ObjectTable as _ObjectTable } from \"../../object-table/ObjectTable.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const ObjectTable: typeof _ObjectTable = withOsdkMetrics(\n _ObjectTable,\n \"ObjectTable\",\n);\nexport type {\n ColumnDefinition,\n ColumnDefinitionLocator,\n CustomColumnLocator,\n DatePickerEditConfig,\n DropdownEditConfig,\n EditFieldConfig,\n FunctionColumnLocator,\n ObjectTableProps,\n PropertyColumnLocator,\n RdpColumnLocator,\n} from \"../../object-table/ObjectTableApi.js\";\nexport type { CellEditInfo } from \"../../object-table/utils/types.js\";\n\n// BaseTable that does not handle data fetching\nexport type { BaseTableProps } from \"../../object-table/Table.js\";\nexport { BaseTable } from \"../../object-table/Table.js\";\n\nexport { ColumnConfigDialog } from \"../../object-table/ColumnConfigDialog.js\";\nexport type {\n ColumnConfigDialogProps,\n ColumnConfigOptions,\n} from \"../../object-table/ColumnConfigDialog.js\";\n\nexport { MultiColumnSortDialog } from \"../../object-table/MultiColumnSortDialog.js\";\nexport type {\n MultiColumnSortDialogProps,\n SortColumnItem,\n} from \"../../object-table/MultiColumnSortDialog.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAASA,WAAW,IAAIC,YAAY,QAAQ,mCAAmC;AAC/E,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,OAAO,MAAMF,WAAgC,GAAGE,eAAe,CAC7DD,YAAY,EACZ,aACF,CAAC;;AAeD;;AAEA,SAASE,SAAS,QAAQ,6BAA6B;AAEvD,SAASC,kBAAkB,QAAQ,0CAA0C;AAM7E,SAASC,qBAAqB,QAAQ,6CAA6C","ignoreList":[]}
1
+ {"version":3,"file":"object-table.js","names":["ObjectTable","_ObjectTable","withOsdkMetrics","BaseTable","ColumnConfigDialog","MultiColumnSortDialog","LoadingCell","LoadingCellContent"],"sources":["object-table.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\n// ObjectTable that loads and displays data for a given objectSet\nimport { ObjectTable as _ObjectTable } from \"../../object-table/ObjectTable.js\";\nimport { withOsdkMetrics } from \"../../util/withOsdkMetrics.js\";\nexport const ObjectTable: typeof _ObjectTable = withOsdkMetrics(\n _ObjectTable,\n \"ObjectTable\",\n);\nexport type {\n ColumnDefinition,\n ColumnDefinitionLocator,\n CustomColumnLocator,\n DatePickerEditConfig,\n DropdownEditConfig,\n EditFieldConfig,\n FunctionColumnLocator,\n ObjectTableProps,\n PropertyColumnLocator,\n RdpColumnLocator,\n} from \"../../object-table/ObjectTableApi.js\";\nexport type { CellEditInfo } from \"../../object-table/utils/types.js\";\n\n// BaseTable that does not handle data fetching\nexport type { BaseTableProps } from \"../../object-table/Table.js\";\nexport { BaseTable } from \"../../object-table/Table.js\";\n\nexport { ColumnConfigDialog } from \"../../object-table/ColumnConfigDialog.js\";\nexport type {\n ColumnConfigDialogProps,\n ColumnConfigOptions,\n} from \"../../object-table/ColumnConfigDialog.js\";\n\nexport { MultiColumnSortDialog } from \"../../object-table/MultiColumnSortDialog.js\";\nexport type {\n MultiColumnSortDialogProps,\n SortColumnItem,\n} from \"../../object-table/MultiColumnSortDialog.js\";\n\n// Loading cell components for custom column renderers.\n// Use `LoadingCell` when rendering a full `<td>` element (e.g. in a custom row renderer).\n// Use `LoadingCellContent` when rendering just the skeleton content inside an existing cell.\nexport {\n LoadingCell,\n LoadingCellContent,\n} from \"../../object-table/LoadingCell.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,SAASA,WAAW,IAAIC,YAAY,QAAQ,mCAAmC;AAC/E,SAASC,eAAe,QAAQ,+BAA+B;AAC/D,OAAO,MAAMF,WAAgC,GAAGE,eAAe,CAC7DD,YAAY,EACZ,aACF,CAAC;;AAeD;;AAEA,SAASE,SAAS,QAAQ,6BAA6B;AAEvD,SAASC,kBAAkB,QAAQ,0CAA0C;AAM7E,SAASC,qBAAqB,QAAQ,6CAA6C;AAMnF;AACA;AACA;AACA,SACEC,WAAW,EACXC,kBAAkB,QACb,mCAAmC","ignoreList":[]}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- const PACKAGE_USER_AGENT = `osdk-react-components/${"0.6.1-main-594df08893ef8e6e3e1e4f59a938065b5130f158"}`;
17
+ const PACKAGE_USER_AGENT = `osdk-react-components/${"0.7.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,gFAAsD;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,kCAAsD;AAExD,OAAO,SAASC,kBAAkBA,CAACC,aAAqB,EAAU;EAChE,OAAO,GAAGF,kBAAkB,IAAIE,aAAa,EAAE;AACjD","ignoreList":[]}
@@ -4,7 +4,7 @@ var chunkUCTQICPR_cjs = require('./chunk-UCTQICPR.cjs');
4
4
  var chunkOHKKNZZS_cjs = require('./chunk-OHKKNZZS.cjs');
5
5
  var chunkYQIMVHDC_cjs = require('./chunk-YQIMVHDC.cjs');
6
6
  var chunk7LXS66DW_cjs = require('./chunk-7LXS66DW.cjs');
7
- var chunkR2I7PBUS_cjs = require('./chunk-R2I7PBUS.cjs');
7
+ var chunkUTEOTVQW_cjs = require('./chunk-UTEOTVQW.cjs');
8
8
  var button = require('@base-ui/react/button');
9
9
  var classnames3 = require('classnames');
10
10
  var React18 = require('react');
@@ -4039,11 +4039,11 @@ function deserializeFilterStates(json) {
4039
4039
  }
4040
4040
 
4041
4041
  // src/public/experimental/filter-list.ts
4042
- var FilterList2 = chunkR2I7PBUS_cjs.withOsdkMetrics(FilterList, "FilterList");
4042
+ var FilterList2 = chunkUTEOTVQW_cjs.withOsdkMetrics(FilterList, "FilterList");
4043
4043
 
4044
4044
  exports.BaseFilterList = BaseFilterList;
4045
4045
  exports.FilterList = FilterList2;
4046
4046
  exports.deserializeFilterStates = deserializeFilterStates;
4047
4047
  exports.serializeFilterStates = serializeFilterStates;
4048
- //# sourceMappingURL=chunk-OVE23JPE.cjs.map
4049
- //# sourceMappingURL=chunk-OVE23JPE.cjs.map
4048
+ //# sourceMappingURL=chunk-6CUUF2F3.cjs.map
4049
+ //# sourceMappingURL=chunk-6CUUF2F3.cjs.map