@commercetools-uikit/data-table-manager 15.1.1 → 15.2.1
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/README.md
CHANGED
|
@@ -63,8 +63,8 @@ export default Example;
|
|
|
63
63
|
|
|
64
64
|
## Properties
|
|
65
65
|
|
|
66
|
-
| Props
|
|
67
|
-
|
|
|
66
|
+
| Props | Type | Required | Default | Description |
|
|
67
|
+
| ------------------------- | -------------------------------------------------------------- | :------: | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
68
68
|
| `columns` | `array` | ✅ | | Each object requires a unique `key` which should correspond to property key of
the items of `rows` that you want to render under this column, and a `label`
which defines the name shown on the header.
The list of columns to be rendered.
Each column can be customized (see properties below). |
|
|
69
69
|
| `columns[].key` | `string` | ✅ | | The unique key of the column that is used to identify your data type.
You can use this value to determine which value from a row item should be rendered.
<br>
For example, if the data is a list of users, where each user has a `firstName` property,
the column key should be `firstName`, which renders the correct value by default.
The key can also be some custom or computed value, in which case you need to provide
an explicit mapping of the value by implementing either the `itemRendered` function or
the column-specific `renderItem` function. |
|
|
70
70
|
| `columns[].label` | `node` | ✅ | | The label of the column that will be shown on the column header. |
|
|
@@ -934,7 +934,7 @@ DataTableManager.displayName = 'DataTableManager';
|
|
|
934
934
|
var DataTableManager$1 = DataTableManager;
|
|
935
935
|
|
|
936
936
|
// NOTE: This string will be replaced on build time with the package version.
|
|
937
|
-
var version = "15.
|
|
937
|
+
var version = "15.2.1";
|
|
938
938
|
|
|
939
939
|
Object.defineProperty(exports, 'useRowSelection', {
|
|
940
940
|
enumerable: true,
|
|
@@ -790,7 +790,7 @@ DataTableManager.displayName = 'DataTableManager';
|
|
|
790
790
|
var DataTableManager$1 = DataTableManager;
|
|
791
791
|
|
|
792
792
|
// NOTE: This string will be replaced on build time with the package version.
|
|
793
|
-
var version = "15.
|
|
793
|
+
var version = "15.2.1";
|
|
794
794
|
|
|
795
795
|
Object.defineProperty(exports, 'useRowSelection', {
|
|
796
796
|
enumerable: true,
|
|
@@ -896,6 +896,6 @@ DataTableManager.displayName = 'DataTableManager';
|
|
|
896
896
|
var DataTableManager$1 = DataTableManager;
|
|
897
897
|
|
|
898
898
|
// NOTE: This string will be replaced on build time with the package version.
|
|
899
|
-
var version = "15.
|
|
899
|
+
var version = "15.2.1";
|
|
900
900
|
|
|
901
901
|
export { UPDATE_ACTIONS, DataTableManager$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/data-table-manager",
|
|
3
3
|
"description": "This component enhances the DataTable component and additionally provides a UI and state management to handle configuration of the table such as column manager.",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.2.1",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,25 +21,25 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.17.2",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.17.2",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "15.
|
|
25
|
-
"@commercetools-uikit/accessible-hidden": "15.
|
|
26
|
-
"@commercetools-uikit/async-select-input": "15.
|
|
27
|
-
"@commercetools-uikit/card": "15.
|
|
28
|
-
"@commercetools-uikit/collapsible-motion": "15.
|
|
29
|
-
"@commercetools-uikit/design-system": "15.
|
|
30
|
-
"@commercetools-uikit/field-label": "15.
|
|
31
|
-
"@commercetools-uikit/grid": "15.
|
|
32
|
-
"@commercetools-uikit/hooks": "15.
|
|
33
|
-
"@commercetools-uikit/icons": "15.
|
|
34
|
-
"@commercetools-uikit/primary-button": "15.
|
|
35
|
-
"@commercetools-uikit/radio-input": "15.
|
|
36
|
-
"@commercetools-uikit/secondary-button": "15.
|
|
37
|
-
"@commercetools-uikit/secondary-icon-button": "15.
|
|
38
|
-
"@commercetools-uikit/select-input": "15.
|
|
39
|
-
"@commercetools-uikit/spacings": "15.
|
|
40
|
-
"@commercetools-uikit/tag": "15.
|
|
41
|
-
"@commercetools-uikit/text": "15.
|
|
42
|
-
"@commercetools-uikit/utils": "15.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "15.2.1",
|
|
25
|
+
"@commercetools-uikit/accessible-hidden": "15.2.1",
|
|
26
|
+
"@commercetools-uikit/async-select-input": "15.2.1",
|
|
27
|
+
"@commercetools-uikit/card": "15.2.1",
|
|
28
|
+
"@commercetools-uikit/collapsible-motion": "15.2.1",
|
|
29
|
+
"@commercetools-uikit/design-system": "15.2.1",
|
|
30
|
+
"@commercetools-uikit/field-label": "15.2.1",
|
|
31
|
+
"@commercetools-uikit/grid": "15.2.1",
|
|
32
|
+
"@commercetools-uikit/hooks": "15.2.1",
|
|
33
|
+
"@commercetools-uikit/icons": "15.2.1",
|
|
34
|
+
"@commercetools-uikit/primary-button": "15.2.1",
|
|
35
|
+
"@commercetools-uikit/radio-input": "15.2.1",
|
|
36
|
+
"@commercetools-uikit/secondary-button": "15.2.1",
|
|
37
|
+
"@commercetools-uikit/secondary-icon-button": "15.2.1",
|
|
38
|
+
"@commercetools-uikit/select-input": "15.2.1",
|
|
39
|
+
"@commercetools-uikit/spacings": "15.2.1",
|
|
40
|
+
"@commercetools-uikit/tag": "15.2.1",
|
|
41
|
+
"@commercetools-uikit/text": "15.2.1",
|
|
42
|
+
"@commercetools-uikit/utils": "15.2.1",
|
|
43
43
|
"@emotion/react": "^11.4.0",
|
|
44
44
|
"@emotion/styled": "^11.3.0",
|
|
45
45
|
"debounce-promise": "^3.1.2",
|