@vandeurenglenn/lite-elements 0.3.50 → 0.3.51
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/exports/banner.js +36 -36
- package/exports/bundle/button.js +6 -1
- package/exports/bundle/index.html +590 -590
- package/exports/bundle/themes/default/colors.module.css +180 -180
- package/exports/bundle/themes/default/missing/motion.css +3 -3
- package/exports/bundle/themes/default/missing/shape.css +12 -12
- package/exports/bundle/themes/default/missing/theme.dark.css +4 -4
- package/exports/bundle/themes/default/missing/theme.light.css +4 -4
- package/exports/bundle/themes/default/missing/tokens.css +8 -8
- package/exports/bundle/themes/default/theme.css +10 -10
- package/exports/bundle/themes/default/theme.dark.css +33 -33
- package/exports/bundle/themes/default/theme.light.css +33 -33
- package/exports/bundle/themes/default/tokens.css +256 -256
- package/exports/bundle/themes/default/typography.module.css +150 -150
- package/exports/bundle/upload-image.js +49 -45
- package/exports/button.js +148 -143
- package/exports/card.js +139 -139
- package/exports/code.js +34 -34
- package/exports/demo-icons.js +15 -15
- package/exports/demo-shell.js +539 -539
- package/exports/demo.js +456 -456
- package/exports/dialog.js +148 -148
- package/exports/divider.js +21 -21
- package/exports/drawer-button.js +13 -13
- package/exports/drawer-item.js +38 -38
- package/exports/drawer-layout.js +95 -95
- package/exports/drawer.js +7 -7
- package/exports/dropdown-menu.js +58 -58
- package/exports/dropdown.js +25 -25
- package/exports/elevation.js +50 -50
- package/exports/fab.js +145 -145
- package/exports/icon-button.js +12 -12
- package/exports/icon-set.js +4 -4
- package/exports/icon.js +15 -15
- package/exports/input.js +5 -5
- package/exports/list-item.js +42 -42
- package/exports/menu.js +12 -12
- package/exports/minute-field.js +4 -4
- package/exports/mixins/scroll-mixin.d.ts +1 -1
- package/exports/notification.js +34 -34
- package/exports/notifications.js +65 -65
- package/exports/pages.js +42 -42
- package/exports/pane.js +18 -18
- package/exports/rail.js +57 -57
- package/exports/root.js +7 -7
- package/exports/section/section.d.ts +1 -1
- package/exports/section.js +10 -10
- package/exports/section2.js +24 -24
- package/exports/selector.js +30 -30
- package/exports/summary-mirror.js +19 -19
- package/exports/summary.js +24 -24
- package/exports/supporting-pane.js +46 -46
- package/exports/tab.js +21 -21
- package/exports/tabs.js +50 -50
- package/exports/text-field.js +9 -9
- package/exports/theme.js +8 -8
- package/exports/themes/default/colors.module.css +180 -180
- package/exports/themes/default/missing/motion.css +3 -3
- package/exports/themes/default/missing/shape.css +12 -12
- package/exports/themes/default/missing/theme.dark.css +4 -4
- package/exports/themes/default/missing/theme.light.css +4 -4
- package/exports/themes/default/missing/tokens.css +8 -8
- package/exports/themes/default/theme.css +10 -10
- package/exports/themes/default/theme.dark.css +33 -33
- package/exports/themes/default/theme.light.css +33 -33
- package/exports/themes/default/tokens.css +256 -256
- package/exports/themes/default/typography.module.css +150 -150
- package/exports/time-picker.js +20 -20
- package/exports/toggle-button.js +3 -3
- package/exports/toggle.js +4 -4
- package/exports/top-app-bar.js +20 -20
- package/exports/typography.js +155 -155
- package/exports/upload-file.js +8 -8
- package/exports/upload-image.js +200 -200
- package/package.json +20 -28
- package/exports/bundle/simple-hash-router.js +0 -1
- package/exports/bundle/types2.js +0 -1
- package/exports/router/simple-hash-router.d.ts +0 -34
- package/exports/router/types.d.ts +0 -45
- package/exports/simple-hash-router.js +0 -111
- package/exports/types2.js +0 -1
package/exports/banner.js
CHANGED
|
@@ -23,42 +23,42 @@ let CustomBanner = (() => {
|
|
|
23
23
|
super();
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return html `
|
|
27
|
-
<style>
|
|
28
|
-
:host {
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: 40px;
|
|
34
|
-
padding: 8px 16px;
|
|
35
|
-
background: var(--md-sys-color-tertiary);
|
|
36
|
-
color: var(--md-sys-color-on-tertiary);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
:host([inset]) {
|
|
40
|
-
margin-left: 16px;
|
|
41
|
-
margin-right: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
:host([middle-inset]) {
|
|
45
|
-
margin-left: 16px;
|
|
46
|
-
margin-right: 16px;
|
|
47
|
-
}
|
|
48
|
-
custom-icon {
|
|
49
|
-
--custom-icon-size: 12px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
custom-button {
|
|
53
|
-
height: 24px;
|
|
54
|
-
width: 24px;
|
|
55
|
-
}
|
|
56
|
-
</style>
|
|
57
|
-
<slot></slot>
|
|
58
|
-
<flex-it flex="1"></flex-it>
|
|
59
|
-
<custom-button type="tertiary">
|
|
60
|
-
<custom-icon slot="icon">close</custom-icon>
|
|
61
|
-
</custom-button>
|
|
26
|
+
return html `
|
|
27
|
+
<style>
|
|
28
|
+
:host {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 40px;
|
|
34
|
+
padding: 8px 16px;
|
|
35
|
+
background: var(--md-sys-color-tertiary);
|
|
36
|
+
color: var(--md-sys-color-on-tertiary);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:host([inset]) {
|
|
40
|
+
margin-left: 16px;
|
|
41
|
+
margin-right: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host([middle-inset]) {
|
|
45
|
+
margin-left: 16px;
|
|
46
|
+
margin-right: 16px;
|
|
47
|
+
}
|
|
48
|
+
custom-icon {
|
|
49
|
+
--custom-icon-size: 12px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
custom-button {
|
|
53
|
+
height: 24px;
|
|
54
|
+
width: 24px;
|
|
55
|
+
}
|
|
56
|
+
</style>
|
|
57
|
+
<slot></slot>
|
|
58
|
+
<flex-it flex="1"></flex-it>
|
|
59
|
+
<custom-button type="tertiary">
|
|
60
|
+
<custom-icon slot="icon">close</custom-icon>
|
|
61
|
+
</custom-button>
|
|
62
62
|
`;
|
|
63
63
|
}
|
|
64
64
|
});
|
package/exports/bundle/button.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t,e as a}from"./custom-element-CAdbJRVg.js";import{r as s,i as o,k as l,s as r}from"./property-DL093_VN.js";import"./elevation.js";let n=(()=>{let n,i,c,d,h,y,b=[a("custom-button")],p=[],m=r,v=[],
|
|
1
|
+
import{_ as e,a as t,e as a}from"./custom-element-CAdbJRVg.js";import{r as s,i as o,k as l,s as r}from"./property-DL093_VN.js";import"./elevation.js";let n=(()=>{let n,i,c,d,h,y,b=[a("custom-button")],p=[],m=r,v=[],g=[],u=[],f=[],_=[],x=[],k=[],L=[];return class extends m{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;c=[s({attribute:"has-icon",reflect:!0})],d=[s({attribute:"has-label",reflect:!0})],h=[s({attribute:"type",reflect:!0})],y=[s({attribute:!0})],e(this,null,c,{kind:"accessor",name:"hasIcon",static:!1,private:!1,access:{has:e=>"hasIcon"in e,get:e=>e.hasIcon,set:(e,t)=>{e.hasIcon=t}},metadata:t},v,g),e(this,null,d,{kind:"accessor",name:"hasLabel",static:!1,private:!1,access:{has:e=>"hasLabel"in e,get:e=>e.hasLabel,set:(e,t)=>{e.hasLabel=t}},metadata:t},u,f),e(this,null,h,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},_,x),e(this,null,y,{kind:"accessor",name:"label",static:!1,private:!1,access:{has:e=>"label"in e,get:e=>e.label,set:(e,t)=>{e.label=t}},metadata:t},k,L),e(null,n={value:i},b,{kind:"class",name:i.name,metadata:t},null,p),i=n.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,v,void 0);get hasIcon(){return this.#e}set hasIcon(e){this.#e=e}#t=(t(this,g),t(this,u,void 0));get hasLabel(){return this.#t}set hasLabel(e){this.#t=e}#a=(t(this,f),t(this,_,"text"));get type(){return this.#a}set type(e){this.#a=e}#s=(t(this,x),t(this,k,void 0));get label(){return this.#s}set label(e){this.#s=e}static styles=[o`
|
|
2
2
|
:host {
|
|
3
3
|
color: var(--custom-button-color, --md-sys-color-on-background);
|
|
4
4
|
display: flex;
|
|
@@ -30,6 +30,11 @@ import{_ as e,a as t,e as a}from"./custom-element-CAdbJRVg.js";import{r as s,i a
|
|
|
30
30
|
pointer-events: none;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
.label {
|
|
34
|
+
flex: 1;
|
|
35
|
+
text-align: end;
|
|
36
|
+
}
|
|
37
|
+
|
|
33
38
|
.label,
|
|
34
39
|
::slotted(*) {
|
|
35
40
|
font-family: var(--md-sys-typescale-label-large-font-family-name);
|