Compare commits

...

6 Commits

Author SHA1 Message Date
e872188be7 1.0.256 2024-01-21 17:14:16 +01:00
2d712e78b0 fix(core): update 2024-01-21 17:14:15 +01:00
ebeecd0686 1.0.255 2024-01-21 14:25:03 +01:00
1d09f994c6 fix(core): update 2024-01-21 14:25:02 +01:00
686c3714fc 1.0.254 2024-01-21 14:14:57 +01:00
e29086036c fix(core): update 2024-01-21 14:14:57 +01:00
3 changed files with 40 additions and 31 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@design.estate/dees-catalog", "name": "@design.estate/dees-catalog",
"version": "1.0.253", "version": "1.0.256",
"private": false, "private": false,
"description": "website for lossless.com", "description": "website for lossless.com",
"main": "dist_ts_web/index.js", "main": "dist_ts_web/index.js",

View File

@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@design.estate/dees-catalog', name: '@design.estate/dees-catalog',
version: '1.0.253', version: '1.0.256',
description: 'website for lossless.com' description: 'website for lossless.com'
} }

View File

@@ -169,9 +169,9 @@ export class DeesTable<T> extends DeesElement {
display: block; display: block;
width: 100%; width: 100%;
min-height: 50px; min-height: 50px;
background: ${cssManager.bdTheme('#ffffff', '#333333')}; background: ${cssManager.bdTheme('#ffffff', '#222222')};
border-radius: 3px; border-radius: 3px;
border-top: 1px solid ${cssManager.bdTheme('#fff', '#444')}; border-top: 1px solid ${cssManager.bdTheme('#fff', '#ffffff10')};
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3); box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
overflow-x: auto; overflow-x: auto;
cursor: default; cursor: default;
@@ -199,7 +199,7 @@ export class DeesTable<T> extends DeesElement {
.headingSeparation { .headingSeparation {
margin-top: 7px; margin-top: 7px;
border-bottom: 1px solid ${cssManager.bdTheme('#bcbcbc', '#bcbcbc')}; border-bottom: 1px solid ${cssManager.bdTheme('#bcbcbc', '#444444')};
} }
.headerActions { .headerActions {
@@ -219,9 +219,13 @@ export class DeesTable<T> extends DeesElement {
} }
.searchGrid { .searchGrid {
background: ${cssManager.bdTheme('#fff', '#111111')};
display: grid; display: grid;
grid-gap: 16px; grid-gap: 16px;
grid-template-columns: 1fr 200px; grid-template-columns: 1fr 200px;
margin: 0px -16px;
padding: 0px 16px;
border-bottom: 1px solid ${cssManager.bdTheme('#fff', '#ffffff20')};
} }
table, table,
@@ -311,22 +315,20 @@ export class DeesTable<T> extends DeesElement {
font-weight: inherit; font-weight: inherit;
padding: 0px 6px; padding: 0px 6px;
} }
.actionsContainer {
display: flex;
flex-direction: row;
height: 24px;
transform: translateY(-4px);
margin-left: -6px;
}
.action { .action {
position: relative; position: relative;
margin: -4px 0px;
padding: 8px 10px; padding: 8px 10px;
line-height: 24px; line-height: 24px;
height: 32px; height: 32px;
size: 16px; size: 16px;
display: inline-block;
border-radius: 8px; border-radius: 8px;
overflow: hidden;
}
.action:first-child {
margin-left: -6px;
width: min-content;
} }
.action:hover { .action:hover {
@@ -427,7 +429,8 @@ export class DeesTable<T> extends DeesElement {
name: "john" AND age: 18 name: "john" AND age: 18
\`\`\` \`\`\`
`}></dees-input-text> `}
></dees-input-text>
<dees-input-multitoggle <dees-input-multitoggle
.label=${'search mode'} .label=${'search mode'}
.options=${['table', 'data', 'server']} .options=${['table', 'data', 'server']}
@@ -568,8 +571,10 @@ export class DeesTable<T> extends DeesElement {
return html` return html`
<td> <td>
<div class="innerCellContainer"> <div class="innerCellContainer">
<div class="actionsContainer">
${this.getActionsForType('inRow').map( ${this.getActionsForType('inRow').map(
(actionArg) => html`<div (actionArg) => html`
<div
class="action" class="action"
@click=${() => @click=${() =>
actionArg.actionFunc({ actionArg.actionFunc({
@@ -579,12 +584,16 @@ export class DeesTable<T> extends DeesElement {
> >
${actionArg.iconName ${actionArg.iconName
? html` ? html`
<dees-icon .iconFA=${actionArg.iconName}></dees-icon> <dees-icon
.iconFA=${actionArg.iconName}
></dees-icon>
` `
: actionArg.name} : actionArg.name}
</div>` </div>
`
)} )}
</div> </div>
</div>
</td> </td>
`; `;
} }