pixelize-design-library 2.2.161 → 2.2.163

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.
@@ -54,8 +54,8 @@ var useTable = function (_a) {
54
54
  (0, react_1.useEffect)(function () {
55
55
  var columnPreference = tablePreferences;
56
56
  if (Array.isArray(columnPreference) && columnPreference.length > 0) {
57
- var mergedColumns = columns.map(function (originalCol) {
58
- var prefCol = columnPreference.find(function (c) { return c.id === originalCol.id; });
57
+ var mergedColumns = columnPreference.map(function (originalCol) {
58
+ var prefCol = columns.find(function (c) { return c.id === originalCol.id; });
59
59
  return prefCol
60
60
  ? mergeColumnWithPreference(originalCol, prefCol)
61
61
  : __assign({}, originalCol);
@@ -136,6 +136,11 @@ var SectionContent = function (_a) {
136
136
  var checked = !!activeItem;
137
137
  return (react_1.default.createElement(react_1.default.Fragment, { key: it.id },
138
138
  react_1.default.createElement(Checkbox_1.default, { label: it.label, labelFontSize: "0.75rem", showLabelTooltip: it.label.length > LABEL_MAX_LENGTH, labelTooltip: it.label, labelClampLines: 1, isChecked: checked, onChange: function (e) { return toggleItem(sec.id, it.id, e.target.checked, it.type); }, size: "sm", iconSize: "0.5rem", spacing: "0.5rem", sx: {
139
+ gap: "0.5rem",
140
+ hiteSpace: "normal",
141
+ wordBreak: "break-word",
142
+ overflow: "hidden",
143
+ textOverflow: "ellipsis",
139
144
  ".chakra-checkbox__control": { width: "12px", height: "12px", mt: "2px" },
140
145
  ".chakra-checkbox__label": { lineHeight: "1rem", whiteSpace: "normal", wordBreak: "break-word" },
141
146
  } }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelize-design-library",
3
- "version": "2.2.161",
3
+ "version": "2.2.163",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",