fix(core): update
This commit is contained in:
parent
0f8a7a5a7b
commit
3301ad1556
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@designestate/dees-catalog',
|
||||
version: '1.0.134',
|
||||
version: '1.0.135',
|
||||
description: 'website for lossless.com'
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
import * as plugins from './plugins.js';
|
||||
import {
|
||||
customElement,
|
||||
html,
|
||||
@ -20,29 +21,23 @@ declare global {
|
||||
@customElement('dees-contextmenu')
|
||||
export class DeesContextmenu extends DeesElement {
|
||||
public static demo = () => html`
|
||||
<dees-contextmenu
|
||||
|
||||
></dees-contextmenu>
|
||||
<dees-contextmenu
|
||||
|
||||
></dees-contextmenu>
|
||||
<dees-button>Hello</dees-button>
|
||||
<dees-contextmenu .menuItems=${[
|
||||
{
|
||||
name: 'copy',
|
||||
action: async () => {}
|
||||
},
|
||||
{
|
||||
name: 'edit',
|
||||
action: async () => {}
|
||||
}
|
||||
] as plugins.tsclass.website.IMenuItem[]}></dees-contextmenu>
|
||||
`;
|
||||
|
||||
@property()
|
||||
public selectionMode: 'single' | 'multiple' = 'single';
|
||||
|
||||
@property({
|
||||
type: Array,
|
||||
})
|
||||
public selectableChips: string[] = [];
|
||||
|
||||
@property()
|
||||
public selectedChip: string = null;
|
||||
|
||||
@property({
|
||||
type: Array,
|
||||
})
|
||||
public selectedChips: string[] = [];
|
||||
public menuItems: plugins.tsclass.website.IMenuItem[] = [];
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
|
@ -93,6 +93,14 @@ export class DeesIcon extends DeesElement {
|
||||
public static demo = () => html`
|
||||
<dees-icon iconName="visibility"></dees-icon>
|
||||
<div style="background: #fff; padding: 10px; font-size: 30px">
|
||||
<style>
|
||||
dees-icon {
|
||||
transition: color 0.05s;
|
||||
}
|
||||
dees-icon:hover {
|
||||
color: #e4002b;
|
||||
}
|
||||
</style>
|
||||
<dees-icon .iconFA=${'messageSolid'}></dees-icon>
|
||||
<dees-icon .iconFA=${'sun'}></dees-icon>
|
||||
<dees-icon .iconFA=${'sunSolid'}></dees-icon>
|
||||
@ -124,6 +132,9 @@ export class DeesIcon extends DeesElement {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
* {
|
||||
transition: inherit !important;
|
||||
}
|
||||
`,
|
||||
];
|
||||
|
||||
|
1
ts_web/elements/dees-tooltip.ts
Normal file
1
ts_web/elements/dees-tooltip.ts
Normal file
@ -0,0 +1 @@
|
||||
import {} from '@designestate/dees-element';
|
@ -1,6 +1,7 @@
|
||||
export * from './dees-button-exit.js';
|
||||
export * from './dees-button.js';
|
||||
export * from './dees-chips.js';
|
||||
export * from './dees-contextmenu.js';
|
||||
export * from './dees-form.js';
|
||||
export * from './dees-form-submit.js';
|
||||
export * from './dees-icon.js';
|
||||
|
Loading…
Reference in New Issue
Block a user