@helpdice/ui 1.2.3 → 1.2.4
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/dist/index.js +8 -1
- package/dist/table/index.js +8 -1
- package/esm/table/data-table.js +1 -1
- package/esm/table/table-head.js +7 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42209,6 +42209,13 @@ var TableHead = function TableHead(props) {
|
|
|
42209
42209
|
className: _JSXStyle.dynamic([["134865897", [theme.palette.accents_5, theme.palette.accents_1, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius]]])
|
|
42210
42210
|
}, columns.map(function (column, index) {
|
|
42211
42211
|
return /*#__PURE__*/React.createElement("th", {
|
|
42212
|
+
style: {
|
|
42213
|
+
// textAlign: `${column?.align} !important`,
|
|
42214
|
+
// paddingLeft: '0.3rem',
|
|
42215
|
+
// paddingRight: '0.3rem',
|
|
42216
|
+
// color: `${column?.color}`,
|
|
42217
|
+
whiteSpace: column !== null && column !== undefined && column.noWrap ? 'nowrap' : 'normal'
|
|
42218
|
+
},
|
|
42212
42219
|
key: "table-th-".concat(column.prop.toString(), "-").concat(index),
|
|
42213
42220
|
"data-column": column.label,
|
|
42214
42221
|
className: _JSXStyle.dynamic([["134865897", [theme.palette.accents_5, theme.palette.accents_1, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius]]]) + " " + (column.className || "")
|
|
@@ -42857,7 +42864,6 @@ function DataTable(_ref) {
|
|
|
42857
42864
|
onDrop: onDrop,
|
|
42858
42865
|
id: TABLE_ID,
|
|
42859
42866
|
style: _objectSpread2({
|
|
42860
|
-
overflow: 'hidden',
|
|
42861
42867
|
height: 'calc(100vh - 8.5rem)',
|
|
42862
42868
|
maxWidth: 'calc(100vw - 1rem)',
|
|
42863
42869
|
width: sideMenu ? 'calc(100vw - 17.2rem)' : 'inherit !important'
|
|
@@ -42877,6 +42883,7 @@ function DataTable(_ref) {
|
|
|
42877
42883
|
}
|
|
42878
42884
|
}, COLUMNS.map(function (column, index) {
|
|
42879
42885
|
return /*#__PURE__*/React.createElement(Table.Column, {
|
|
42886
|
+
options: column === null || column === undefined ? undefined : column.options,
|
|
42880
42887
|
fontSize: column === null || column === undefined ? undefined : column.fontSize,
|
|
42881
42888
|
key: "".concat(column.id, "-").concat(index),
|
|
42882
42889
|
prop: column.id,
|
package/dist/table/index.js
CHANGED
|
@@ -19954,6 +19954,13 @@ var TableHead = function TableHead(props) {
|
|
|
19954
19954
|
className: _JSXStyle.dynamic([["134865897", [theme.palette.accents_5, theme.palette.accents_1, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius]]])
|
|
19955
19955
|
}, columns.map(function (column, index) {
|
|
19956
19956
|
return /*#__PURE__*/React.createElement("th", {
|
|
19957
|
+
style: {
|
|
19958
|
+
// textAlign: `${column?.align} !important`,
|
|
19959
|
+
// paddingLeft: '0.3rem',
|
|
19960
|
+
// paddingRight: '0.3rem',
|
|
19961
|
+
// color: `${column?.color}`,
|
|
19962
|
+
whiteSpace: column !== null && column !== undefined && column.noWrap ? 'nowrap' : 'normal'
|
|
19963
|
+
},
|
|
19957
19964
|
key: "table-th-".concat(column.prop.toString(), "-").concat(index),
|
|
19958
19965
|
"data-column": column.label,
|
|
19959
19966
|
className: _JSXStyle.dynamic([["134865897", [theme.palette.accents_5, theme.palette.accents_1, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius]]]) + " " + (column.className || "")
|
|
@@ -31449,7 +31456,6 @@ function DataTable(_ref) {
|
|
|
31449
31456
|
onDrop: onDrop,
|
|
31450
31457
|
id: TABLE_ID,
|
|
31451
31458
|
style: _objectSpread2({
|
|
31452
|
-
overflow: 'hidden',
|
|
31453
31459
|
height: 'calc(100vh - 8.5rem)',
|
|
31454
31460
|
maxWidth: 'calc(100vw - 1rem)',
|
|
31455
31461
|
width: sideMenu ? 'calc(100vw - 17.2rem)' : 'inherit !important'
|
|
@@ -31469,6 +31475,7 @@ function DataTable(_ref) {
|
|
|
31469
31475
|
}
|
|
31470
31476
|
}, COLUMNS.map(function (column, index) {
|
|
31471
31477
|
return /*#__PURE__*/React.createElement(Table.Column, {
|
|
31478
|
+
options: column === null || column === undefined ? undefined : column.options,
|
|
31472
31479
|
fontSize: column === null || column === undefined ? undefined : column.fontSize,
|
|
31473
31480
|
key: "".concat(column.id, "-").concat(index),
|
|
31474
31481
|
prop: column.id,
|
package/esm/table/data-table.js
CHANGED
|
@@ -301,7 +301,6 @@ function DataTable(_ref) {
|
|
|
301
301
|
onDrop: onDrop,
|
|
302
302
|
id: TABLE_ID,
|
|
303
303
|
style: _extends({
|
|
304
|
-
overflow: 'hidden',
|
|
305
304
|
height: 'calc(100vh - 8.5rem)',
|
|
306
305
|
maxWidth: 'calc(100vw - 1rem)',
|
|
307
306
|
width: sideMenu ? 'calc(100vw - 17.2rem)' : 'inherit !important'
|
|
@@ -321,6 +320,7 @@ function DataTable(_ref) {
|
|
|
321
320
|
}
|
|
322
321
|
}, COLUMNS.map(function (column, index) {
|
|
323
322
|
return /*#__PURE__*/React.createElement(Table.Column, {
|
|
323
|
+
options: column === null || column === void 0 ? void 0 : column.options,
|
|
324
324
|
fontSize: column === null || column === void 0 ? void 0 : column.fontSize,
|
|
325
325
|
key: "".concat(column.id, "-").concat(index),
|
|
326
326
|
prop: column.id,
|
package/esm/table/table-head.js
CHANGED
|
@@ -126,6 +126,13 @@ var TableHead = function TableHead(props) {
|
|
|
126
126
|
className: _JSXStyle.dynamic([["134865897", [theme.palette.accents_5, theme.palette.accents_1, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius]]])
|
|
127
127
|
}, columns.map(function (column, index) {
|
|
128
128
|
return /*#__PURE__*/React.createElement("th", {
|
|
129
|
+
style: {
|
|
130
|
+
// textAlign: `${column?.align} !important`,
|
|
131
|
+
// paddingLeft: '0.3rem',
|
|
132
|
+
// paddingRight: '0.3rem',
|
|
133
|
+
// color: `${column?.color}`,
|
|
134
|
+
whiteSpace: column !== null && column !== void 0 && column.noWrap ? 'nowrap' : 'normal'
|
|
135
|
+
},
|
|
129
136
|
key: "table-th-".concat(column.prop.toString(), "-").concat(index),
|
|
130
137
|
"data-column": column.label,
|
|
131
138
|
className: _JSXStyle.dynamic([["134865897", [theme.palette.accents_5, theme.palette.accents_1, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius, theme.palette.border, theme.palette.border, theme.palette.border, theme.layout.radius, theme.layout.radius]]]) + " " + (column.className || "")
|