@design.estate/dees-catalog 1.0.254 → 1.0.256
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_bundle/bundle.js +321 -316
- package/dist_bundle/bundle.js.map +3 -3
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/dees-table.js +26 -21
- package/dist_watch/bundle.js +26 -21
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/dees-table.ts +33 -28
package/package.json
CHANGED
|
@@ -169,9 +169,9 @@ export class DeesTable<T> extends DeesElement {
|
|
|
169
169
|
display: block;
|
|
170
170
|
width: 100%;
|
|
171
171
|
min-height: 50px;
|
|
172
|
-
background: ${cssManager.bdTheme('#ffffff', '#
|
|
172
|
+
background: ${cssManager.bdTheme('#ffffff', '#222222')};
|
|
173
173
|
border-radius: 3px;
|
|
174
|
-
border-top: 1px solid ${cssManager.bdTheme('#fff', '#
|
|
174
|
+
border-top: 1px solid ${cssManager.bdTheme('#fff', '#ffffff10')};
|
|
175
175
|
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
|
|
176
176
|
overflow-x: auto;
|
|
177
177
|
cursor: default;
|
|
@@ -199,7 +199,7 @@ export class DeesTable<T> extends DeesElement {
|
|
|
199
199
|
|
|
200
200
|
.headingSeparation {
|
|
201
201
|
margin-top: 7px;
|
|
202
|
-
border-bottom: 1px solid ${cssManager.bdTheme('#bcbcbc', '#
|
|
202
|
+
border-bottom: 1px solid ${cssManager.bdTheme('#bcbcbc', '#444444')};
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.headerActions {
|
|
@@ -219,9 +219,13 @@ export class DeesTable<T> extends DeesElement {
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
.searchGrid {
|
|
222
|
+
background: ${cssManager.bdTheme('#fff', '#111111')};
|
|
222
223
|
display: grid;
|
|
223
224
|
grid-gap: 16px;
|
|
224
225
|
grid-template-columns: 1fr 200px;
|
|
226
|
+
margin: 0px -16px;
|
|
227
|
+
padding: 0px 16px;
|
|
228
|
+
border-bottom: 1px solid ${cssManager.bdTheme('#fff', '#ffffff20')};
|
|
225
229
|
}
|
|
226
230
|
|
|
227
231
|
table,
|
|
@@ -311,10 +315,12 @@ export class DeesTable<T> extends DeesElement {
|
|
|
311
315
|
font-weight: inherit;
|
|
312
316
|
padding: 0px 6px;
|
|
313
317
|
}
|
|
314
|
-
.
|
|
318
|
+
.actionsContainer {
|
|
319
|
+
display: flex;
|
|
320
|
+
flex-direction: row;
|
|
315
321
|
height: 24px;
|
|
316
|
-
display: inline-block;
|
|
317
322
|
transform: translateY(-4px);
|
|
323
|
+
margin-left: -6px;
|
|
318
324
|
}
|
|
319
325
|
.action {
|
|
320
326
|
position: relative;
|
|
@@ -325,11 +331,6 @@ export class DeesTable<T> extends DeesElement {
|
|
|
325
331
|
border-radius: 8px;
|
|
326
332
|
}
|
|
327
333
|
|
|
328
|
-
.actionContainer:first-child {
|
|
329
|
-
margin-left: -6px;
|
|
330
|
-
width: min-content;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
334
|
.action:hover {
|
|
334
335
|
background: ${cssManager.bdTheme(colors.bright.blue, colors.dark.blue)};
|
|
335
336
|
}
|
|
@@ -570,24 +571,28 @@ export class DeesTable<T> extends DeesElement {
|
|
|
570
571
|
return html`
|
|
571
572
|
<td>
|
|
572
573
|
<div class="innerCellContainer">
|
|
573
|
-
|
|
574
|
-
(
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
574
|
+
<div class="actionsContainer">
|
|
575
|
+
${this.getActionsForType('inRow').map(
|
|
576
|
+
(actionArg) => html`
|
|
577
|
+
<div
|
|
578
|
+
class="action"
|
|
579
|
+
@click=${() =>
|
|
580
|
+
actionArg.actionFunc({
|
|
581
|
+
item: itemArg,
|
|
582
|
+
table: this,
|
|
583
|
+
})}
|
|
584
|
+
>
|
|
585
|
+
${actionArg.iconName
|
|
586
|
+
? html`
|
|
587
|
+
<dees-icon
|
|
588
|
+
.iconFA=${actionArg.iconName}
|
|
589
|
+
></dees-icon>
|
|
590
|
+
`
|
|
591
|
+
: actionArg.name}
|
|
592
|
+
</div>
|
|
593
|
+
`
|
|
594
|
+
)}
|
|
595
|
+
</div>
|
|
591
596
|
</div>
|
|
592
597
|
</td>
|
|
593
598
|
`;
|