@vandeurenglenn/lite-elements 0.3.49 → 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 +37 -37
- package/exports/bar/top-app-bar.d.ts +1 -1
- package/exports/bundle/banner.js +2 -2
- package/exports/bundle/button.js +6 -1
- package/exports/bundle/card.js +1 -1
- package/exports/bundle/code.js +1 -1
- package/exports/bundle/{column-B0bUzxkF.js → column-dsIMZ5XT.js} +1 -1
- package/exports/bundle/demo-elements.js +1 -1
- package/exports/bundle/demo-icons.js +1 -1
- package/exports/bundle/demo-shell.js +1 -1
- package/exports/bundle/demo.js +1 -1
- package/exports/bundle/dialog.js +1 -1
- package/exports/bundle/divider.js +1 -1
- package/exports/bundle/drawer-button.js +1 -1
- package/exports/bundle/drawer-item.js +1 -1
- package/exports/bundle/drawer-layout.js +1 -1
- package/exports/bundle/drawer.js +2 -2
- package/exports/bundle/dropdown-menu.js +1 -1
- package/exports/bundle/dropdown.js +1 -1
- package/exports/bundle/elements.js +1 -1
- package/exports/bundle/elevation.js +1 -1
- package/exports/bundle/fab.js +2 -2
- package/exports/bundle/icon-button.js +1 -1
- package/exports/bundle/icon-set.js +1 -1
- package/exports/bundle/icon.js +1 -1
- package/exports/bundle/index.html +590 -590
- package/exports/bundle/input.js +2 -2
- package/exports/bundle/list-item.js +1 -1
- package/exports/bundle/menu.js +1 -1
- package/exports/bundle/minute-field.js +1 -1
- package/exports/bundle/notification.js +1 -1
- package/exports/bundle/notifications.js +1 -1
- package/exports/bundle/pages.js +1 -1
- package/exports/bundle/pane.js +3 -3
- package/exports/bundle/property-C1gA9hig.js +23 -0
- package/exports/bundle/property-DL093_VN.js +11 -0
- package/exports/bundle/rail.js +1 -1
- package/exports/bundle/root.js +2 -2
- package/exports/bundle/row-CW5FbTZ_.js +28 -0
- package/exports/bundle/section.js +1 -1
- package/exports/bundle/section2.js +1 -1
- package/exports/bundle/select-mixin.js +1 -1
- package/exports/bundle/selector-mixin.js +1 -1
- package/exports/bundle/selector.js +1 -1
- package/exports/bundle/summary-mirror.js +1 -1
- package/exports/bundle/summary.js +2 -2
- package/exports/bundle/supporting-pane.js +1 -1
- package/exports/bundle/tab.js +2 -2
- package/exports/bundle/tabs.js +1 -1
- package/exports/bundle/text-field.js +1 -1
- package/exports/bundle/theme.js +1 -1
- 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/time-picker.js +1 -1
- package/exports/bundle/toggle-button.js +1 -1
- package/exports/bundle/toggle.js +1 -1
- package/exports/bundle/top-app-bar.js +63 -2
- package/exports/bundle/typography.js +1 -1
- package/exports/bundle/upload-file.js +1 -1
- package/exports/bundle/upload-image.js +62 -55
- package/exports/button.js +149 -144
- package/exports/card.js +140 -140
- package/exports/code.js +35 -35
- package/exports/demo-elements.js +1 -1
- package/exports/demo-icons.js +16 -16
- package/exports/demo-shell.js +540 -540
- package/exports/demo.js +457 -457
- package/exports/dialog.js +149 -149
- package/exports/divider.js +22 -22
- package/exports/drawer-button.js +14 -14
- package/exports/drawer-item.js +39 -39
- package/exports/drawer-layout.js +96 -96
- package/exports/drawer.js +8 -8
- package/exports/dropdown-menu.js +59 -59
- package/exports/dropdown.js +26 -26
- package/exports/elements.js +1 -1
- package/exports/elevation.js +51 -51
- package/exports/fab.js +146 -146
- package/exports/icon-button.js +13 -13
- package/exports/icon-set.js +5 -5
- package/exports/icon.js +16 -16
- package/exports/input.js +6 -6
- package/exports/list-item.js +43 -43
- package/exports/menu.js +13 -13
- package/exports/minute-field.js +5 -5
- package/exports/mixins/scroll-mixin.d.ts +1 -1
- package/exports/notification.js +35 -35
- package/exports/notifications.js +66 -66
- package/exports/pages.js +42 -42
- package/exports/pane.js +19 -19
- package/exports/rail.js +58 -58
- package/exports/root.js +8 -8
- package/exports/section/section.d.ts +2 -2
- package/exports/section.js +11 -11
- package/exports/section2.js +25 -25
- package/exports/selector.js +31 -31
- package/exports/summary-mirror.js +20 -20
- package/exports/summary.js +25 -25
- package/exports/supporting-pane.js +47 -47
- package/exports/tab.js +22 -22
- package/exports/tabs.js +51 -51
- package/exports/text-field.js +10 -10
- package/exports/theme.js +9 -9
- 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 +21 -21
- package/exports/toggle-button.js +4 -4
- package/exports/toggle.js +5 -5
- package/exports/top-app-bar.js +21 -21
- package/exports/{tslib.es6-CFl_-KPR.js → tslib.es6-Cg9lAhfj.js} +1 -1
- package/exports/typography.js +156 -156
- package/exports/upload-file.js +9 -9
- package/exports/upload-image.js +201 -201
- package/package.json +20 -36
- package/exports/bundle/property-BYA8Sw2t.js +0 -11
- package/exports/bundle/property-C4lhirVQ.js +0 -23
- package/exports/bundle/row-DYDgQVDj.js +0 -28
- package/exports/bundle/simple-hash-router.js +0 -1
- package/exports/bundle/types2.js +0 -1
- package/exports/mixins/file-reader-mixin.d.ts +0 -341
- package/exports/router/types.d.ts +0 -45
- package/exports/simple-hash-router.js +0 -111
- package/exports/types2.js +0 -1
- package/exports/upload/upload-image.d.ts +0 -381
package/exports/notification.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-
|
|
1
|
+
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-Cg9lAhfj.js';
|
|
2
2
|
import { css, html, LitElement } from 'lit';
|
|
3
3
|
import { customElement, property } from 'lit/decorators.js';
|
|
4
4
|
import './icon.js';
|
|
@@ -56,42 +56,42 @@ let CustomNotification = (() => {
|
|
|
56
56
|
#onclick = (__runInitializers(this, _type_extraInitializers), () => {
|
|
57
57
|
this.parentElement.removeChild(this);
|
|
58
58
|
});
|
|
59
|
-
static styles = css `
|
|
60
|
-
:host {
|
|
61
|
-
display: flex;
|
|
62
|
-
align-items: flex-start;
|
|
63
|
-
font-size: 13px;
|
|
64
|
-
border: 1px solid;
|
|
65
|
-
border-radius: 12px;
|
|
66
|
-
padding: 6px 12px;
|
|
67
|
-
box-sizing: border-box;
|
|
68
|
-
margin-bottom: 12px;
|
|
69
|
-
background: var(--md-sys-color-surface-variant);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
flex-row {
|
|
73
|
-
height: 24px;
|
|
74
|
-
width: 100%;
|
|
75
|
-
box-sizing: border-box;
|
|
76
|
-
align-items: center;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
strong {
|
|
80
|
-
font-size: 14px;
|
|
81
|
-
}
|
|
59
|
+
static styles = css `
|
|
60
|
+
:host {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: flex-start;
|
|
63
|
+
font-size: 13px;
|
|
64
|
+
border: 1px solid;
|
|
65
|
+
border-radius: 12px;
|
|
66
|
+
padding: 6px 12px;
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
margin-bottom: 12px;
|
|
69
|
+
background: var(--md-sys-color-surface-variant);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
flex-row {
|
|
73
|
+
height: 24px;
|
|
74
|
+
width: 100%;
|
|
75
|
+
box-sizing: border-box;
|
|
76
|
+
align-items: center;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
strong {
|
|
80
|
+
font-size: 14px;
|
|
81
|
+
}
|
|
82
82
|
`;
|
|
83
83
|
render() {
|
|
84
|
-
return html `
|
|
85
|
-
${this.image ? html `<img src=${this.image} />` : ''}
|
|
86
|
-
<flex-column>
|
|
87
|
-
<flex-row>
|
|
88
|
-
<strong>${this.title}</strong>
|
|
89
|
-
<flex-it></flex-it>
|
|
90
|
-
<custom-icon icon="close" @click=${this.#onclick}></custom-icon>
|
|
91
|
-
</flex-row>
|
|
92
|
-
|
|
93
|
-
<p>${this.message}</p>
|
|
94
|
-
</flex-column>
|
|
84
|
+
return html `
|
|
85
|
+
${this.image ? html `<img src=${this.image} />` : ''}
|
|
86
|
+
<flex-column>
|
|
87
|
+
<flex-row>
|
|
88
|
+
<strong>${this.title}</strong>
|
|
89
|
+
<flex-it></flex-it>
|
|
90
|
+
<custom-icon icon="close" @click=${this.#onclick}></custom-icon>
|
|
91
|
+
</flex-row>
|
|
92
|
+
|
|
93
|
+
<p>${this.message}</p>
|
|
94
|
+
</flex-column>
|
|
95
95
|
`;
|
|
96
96
|
}
|
|
97
97
|
static {
|
package/exports/notifications.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-
|
|
1
|
+
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-Cg9lAhfj.js';
|
|
2
2
|
import { customElement, property, css, html, LiteElement } from '@vandeurenglenn/lite';
|
|
3
3
|
import './notification.js';
|
|
4
4
|
import './icon.js';
|
|
@@ -63,78 +63,78 @@ let CustomNotifications = (() => {
|
|
|
63
63
|
this.open = false;
|
|
64
64
|
}
|
|
65
65
|
static styles = [
|
|
66
|
-
css `
|
|
67
|
-
:host {
|
|
68
|
-
display: flex;
|
|
69
|
-
flex-direction: column;
|
|
70
|
-
pointer-events: auto;
|
|
71
|
-
z-index: 10001;
|
|
72
|
-
position: absolute;
|
|
73
|
-
right: 0;
|
|
74
|
-
top: 0;
|
|
75
|
-
overflow: hidden;
|
|
76
|
-
width: 100%;
|
|
77
|
-
max-width: 320px;
|
|
78
|
-
height: auto;
|
|
79
|
-
box-sizing: border-box;
|
|
80
|
-
color: #eee;
|
|
81
|
-
pointer-events: none;
|
|
82
|
-
height: 100%;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
:host([open]) {
|
|
86
|
-
background: var(--md-sys-color-surface-container-high);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.recents {
|
|
90
|
-
display: block;
|
|
91
|
-
position: relative;
|
|
92
|
-
top: 12px;
|
|
93
|
-
right: 12px;
|
|
94
|
-
width: 100%;
|
|
95
|
-
pointer-events: none;
|
|
96
|
-
|
|
97
|
-
box-sizing: border-box;
|
|
98
|
-
padding: 12px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.list {
|
|
102
|
-
padding: 24px;
|
|
103
|
-
height: 100%;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
custom-icon {
|
|
107
|
-
pointer-events: auto;
|
|
108
|
-
}
|
|
66
|
+
css `
|
|
67
|
+
:host {
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
pointer-events: auto;
|
|
71
|
+
z-index: 10001;
|
|
72
|
+
position: absolute;
|
|
73
|
+
right: 0;
|
|
74
|
+
top: 0;
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
width: 100%;
|
|
77
|
+
max-width: 320px;
|
|
78
|
+
height: auto;
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
color: #eee;
|
|
81
|
+
pointer-events: none;
|
|
82
|
+
height: 100%;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:host([open]) {
|
|
86
|
+
background: var(--md-sys-color-surface-container-high);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.recents {
|
|
90
|
+
display: block;
|
|
91
|
+
position: relative;
|
|
92
|
+
top: 12px;
|
|
93
|
+
right: 12px;
|
|
94
|
+
width: 100%;
|
|
95
|
+
pointer-events: none;
|
|
96
|
+
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
padding: 12px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.list {
|
|
102
|
+
padding: 24px;
|
|
103
|
+
height: 100%;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
custom-icon {
|
|
107
|
+
pointer-events: auto;
|
|
108
|
+
}
|
|
109
109
|
`
|
|
110
110
|
];
|
|
111
111
|
render() {
|
|
112
|
-
return html `
|
|
113
|
-
<flex-row style="margin-top: 12px;margin-right: 12px;">
|
|
114
|
-
<flex-it></flex-it>
|
|
115
|
-
<custom-icon
|
|
116
|
-
icon="notifications"
|
|
112
|
+
return html `
|
|
113
|
+
<flex-row style="margin-top: 12px;margin-right: 12px;">
|
|
114
|
+
<flex-it></flex-it>
|
|
115
|
+
<custom-icon
|
|
116
|
+
icon="notifications"
|
|
117
117
|
@click=${() => {
|
|
118
118
|
if (this._list.childElementCount === 0)
|
|
119
119
|
return;
|
|
120
120
|
this.open = !this.open;
|
|
121
|
-
}}
|
|
122
|
-
></custom-icon>
|
|
123
|
-
</flex-row>
|
|
124
|
-
|
|
125
|
-
<span class="recents">
|
|
126
|
-
<slot></slot>
|
|
127
|
-
</span>
|
|
128
|
-
|
|
129
|
-
<custom-pane ?open=${this.open} right top>
|
|
130
|
-
<span slot="header"></span>
|
|
131
|
-
<flex-column class="list" slot="content"> </flex-column>
|
|
132
|
-
|
|
133
|
-
<flex-row slot="footer" width="100%">
|
|
134
|
-
<flex-it></flex-it>
|
|
135
|
-
<custom-icon style="margin-right: 24px;" icon="clear-all" @click="${this._onclick}"></custom-icon>
|
|
136
|
-
</flex-row>
|
|
137
|
-
</custom-pane>
|
|
121
|
+
}}
|
|
122
|
+
></custom-icon>
|
|
123
|
+
</flex-row>
|
|
124
|
+
|
|
125
|
+
<span class="recents">
|
|
126
|
+
<slot></slot>
|
|
127
|
+
</span>
|
|
128
|
+
|
|
129
|
+
<custom-pane ?open=${this.open} right top>
|
|
130
|
+
<span slot="header"></span>
|
|
131
|
+
<flex-column class="list" slot="content"> </flex-column>
|
|
132
|
+
|
|
133
|
+
<flex-row slot="footer" width="100%">
|
|
134
|
+
<flex-it></flex-it>
|
|
135
|
+
<custom-icon style="margin-right: 24px;" icon="clear-all" @click="${this._onclick}"></custom-icon>
|
|
136
|
+
</flex-row>
|
|
137
|
+
</custom-pane>
|
|
138
138
|
`;
|
|
139
139
|
}
|
|
140
140
|
constructor() {
|
package/exports/pages.js
CHANGED
|
@@ -34,51 +34,51 @@ class CustomPages extends SelectBase {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
static styles = [
|
|
37
|
-
css `
|
|
38
|
-
:host {
|
|
39
|
-
flex: 1;
|
|
40
|
-
position: relative;
|
|
41
|
-
--primary-background-color: #eceff1;
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
height: 100%;
|
|
44
|
-
width: 100%;
|
|
45
|
-
}
|
|
46
|
-
::slotted(*) {
|
|
47
|
-
display: flex;
|
|
48
|
-
position: absolute;
|
|
49
|
-
opacity: 0;
|
|
50
|
-
pointer-events: none;
|
|
51
|
-
top: 0;
|
|
52
|
-
left: 0;
|
|
53
|
-
right: 0;
|
|
54
|
-
bottom: 0;
|
|
55
|
-
transition: var(--md-sys-motion-easing-emphasized-accelerate) 200ms opacity,
|
|
56
|
-
var(--md-sys-motion-easing-emphasized-accelerate) 200ms transform;
|
|
57
|
-
/*transform: scale(0.1);*/
|
|
58
|
-
transform-origin: left;
|
|
59
|
-
}
|
|
60
|
-
::slotted(.animate-up) {
|
|
61
|
-
transform: translateY(-120%);
|
|
62
|
-
}
|
|
63
|
-
::slotted(.animate-down) {
|
|
64
|
-
transform: translateY(120%);
|
|
65
|
-
}
|
|
66
|
-
::slotted(.custom-selected) {
|
|
67
|
-
opacity: 1;
|
|
68
|
-
pointer-events: auto;
|
|
69
|
-
transform: translateY(0);
|
|
70
|
-
transition: var(--md-sys-motion-easing-emphasized-decelerate) 500ms width,
|
|
71
|
-
var(--md-sys-motion-easing-emphasized-decelerate) 500ms transform;
|
|
72
|
-
max-height: 100%;
|
|
73
|
-
max-width: 100%;
|
|
74
|
-
}
|
|
37
|
+
css `
|
|
38
|
+
:host {
|
|
39
|
+
flex: 1;
|
|
40
|
+
position: relative;
|
|
41
|
+
--primary-background-color: #eceff1;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
height: 100%;
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
::slotted(*) {
|
|
47
|
+
display: flex;
|
|
48
|
+
position: absolute;
|
|
49
|
+
opacity: 0;
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
top: 0;
|
|
52
|
+
left: 0;
|
|
53
|
+
right: 0;
|
|
54
|
+
bottom: 0;
|
|
55
|
+
transition: var(--md-sys-motion-easing-emphasized-accelerate) 200ms opacity,
|
|
56
|
+
var(--md-sys-motion-easing-emphasized-accelerate) 200ms transform;
|
|
57
|
+
/*transform: scale(0.1);*/
|
|
58
|
+
transform-origin: left;
|
|
59
|
+
}
|
|
60
|
+
::slotted(.animate-up) {
|
|
61
|
+
transform: translateY(-120%);
|
|
62
|
+
}
|
|
63
|
+
::slotted(.animate-down) {
|
|
64
|
+
transform: translateY(120%);
|
|
65
|
+
}
|
|
66
|
+
::slotted(.custom-selected) {
|
|
67
|
+
opacity: 1;
|
|
68
|
+
pointer-events: auto;
|
|
69
|
+
transform: translateY(0);
|
|
70
|
+
transition: var(--md-sys-motion-easing-emphasized-decelerate) 500ms width,
|
|
71
|
+
var(--md-sys-motion-easing-emphasized-decelerate) 500ms transform;
|
|
72
|
+
max-height: 100%;
|
|
73
|
+
max-width: 100%;
|
|
74
|
+
}
|
|
75
75
|
`
|
|
76
76
|
];
|
|
77
77
|
render() {
|
|
78
|
-
return html `
|
|
79
|
-
<div class="wrapper">
|
|
80
|
-
<slot></slot>
|
|
81
|
-
</div>
|
|
78
|
+
return html `
|
|
79
|
+
<div class="wrapper">
|
|
80
|
+
<slot></slot>
|
|
81
|
+
</div>
|
|
82
82
|
`;
|
|
83
83
|
}
|
|
84
84
|
}
|
package/exports/pane.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-
|
|
1
|
+
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-Cg9lAhfj.js';
|
|
2
2
|
import { customElement, property, html, LiteElement } from '@vandeurenglenn/lite';
|
|
3
3
|
import './elevation.js';
|
|
4
4
|
import './icon-button.js';
|
|
@@ -76,24 +76,24 @@ let CustomPane = (() => {
|
|
|
76
76
|
}
|
|
77
77
|
static styles = [style];
|
|
78
78
|
render() {
|
|
79
|
-
return html `
|
|
80
|
-
<custom-elevation></custom-elevation>
|
|
81
|
-
<aside>
|
|
82
|
-
<slot name="header">
|
|
83
|
-
<flex-row center>
|
|
84
|
-
<slot name="headline"></slot>
|
|
85
|
-
<flex-it></flex-it>
|
|
86
|
-
<custom-icon-button @click=${(e) => this.closePane(e)} .id=${this.id} icon="menu_open">
|
|
87
|
-
</custom-icon-button>
|
|
88
|
-
</flex-row>
|
|
89
|
-
</slot>
|
|
90
|
-
<flex-column class="content">
|
|
91
|
-
<slot name="content"></slot>
|
|
92
|
-
</flex-column>
|
|
93
|
-
<flex-row class="footer">
|
|
94
|
-
<slot name="footer"></slot>
|
|
95
|
-
</flex-row>
|
|
96
|
-
</aside>
|
|
79
|
+
return html `
|
|
80
|
+
<custom-elevation></custom-elevation>
|
|
81
|
+
<aside>
|
|
82
|
+
<slot name="header">
|
|
83
|
+
<flex-row center>
|
|
84
|
+
<slot name="headline"></slot>
|
|
85
|
+
<flex-it></flex-it>
|
|
86
|
+
<custom-icon-button @click=${(e) => this.closePane(e)} .id=${this.id} icon="menu_open">
|
|
87
|
+
</custom-icon-button>
|
|
88
|
+
</flex-row>
|
|
89
|
+
</slot>
|
|
90
|
+
<flex-column class="content">
|
|
91
|
+
<slot name="content"></slot>
|
|
92
|
+
</flex-column>
|
|
93
|
+
<flex-row class="footer">
|
|
94
|
+
<slot name="footer"></slot>
|
|
95
|
+
</flex-row>
|
|
96
|
+
</aside>
|
|
97
97
|
`;
|
|
98
98
|
}
|
|
99
99
|
constructor() {
|
package/exports/rail.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-
|
|
1
|
+
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-Cg9lAhfj.js';
|
|
2
2
|
import { customElement, property, html, LiteElement } from '@vandeurenglenn/lite';
|
|
3
3
|
import './pane.js';
|
|
4
4
|
import './elevation.js';
|
|
@@ -56,63 +56,63 @@ let CustomRail = (() => {
|
|
|
56
56
|
get right() { return this.#right_accessor_storage; }
|
|
57
57
|
set right(value) { this.#right_accessor_storage = value; }
|
|
58
58
|
render() {
|
|
59
|
-
return html `<style>
|
|
60
|
-
:host {
|
|
61
|
-
display: contents;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
custom-pane {
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
padding: 12px 24px;
|
|
67
|
-
height: 100%;
|
|
68
|
-
--custom-pane-width: var(--custom-drawer-with, 320px);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
slot[name='headline']::slotted(*) {
|
|
72
|
-
color: var(--md-sys-color-on-surface-variant);
|
|
73
|
-
font-family: var(--md-sys-typescale-title-small-font-family-name);
|
|
74
|
-
font-style: var(--md-sys-typescale-title-small-font-family-style);
|
|
75
|
-
font-weight: var(--md-sys-typescale-title-small-font-weight);
|
|
76
|
-
font-size: var(--md-sys-typescale-title-small-font-size);
|
|
77
|
-
letter-spacing: var(--md-sys-typescale-title-small-tracking);
|
|
78
|
-
line-height: var(--md-sys-typescale-title-small-height);
|
|
79
|
-
text-transform: var(--md-sys-typescale-title-small-text-transform);
|
|
80
|
-
text-decoration: var(--md-sys-typescale-title-small-text-decoration);
|
|
81
|
-
text-transform: capitalize;
|
|
82
|
-
margin: 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
::slotted([slot='footer']) {
|
|
86
|
-
display: block;
|
|
87
|
-
box-sizing: border-box;
|
|
88
|
-
min-height: 48px;
|
|
89
|
-
border-top: 1px solid rgba(0, 0, 0, 0.14);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
::slotted([slot='content']) {
|
|
93
|
-
display: flex;
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
height: 100%;
|
|
96
|
-
width: 100%;
|
|
97
|
-
overflow-y: auto;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
::slotted(*) {
|
|
101
|
-
pointer-events: none;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
aside {
|
|
105
|
-
width: 100%;
|
|
106
|
-
}
|
|
107
|
-
</style>
|
|
108
|
-
|
|
109
|
-
<custom-pane .open=${this.open} .mobile=${this.mobile} .type=${this.type}>
|
|
110
|
-
<slot name="header">
|
|
111
|
-
<slot name="headline" slot="headline"></slot>
|
|
112
|
-
<slot name="menu-button" slot="menu-button"></slot>
|
|
113
|
-
</slot>
|
|
114
|
-
<slot name="content" slot="content"></slot>
|
|
115
|
-
<slot name="footer" slot="footer"></slot>
|
|
59
|
+
return html `<style>
|
|
60
|
+
:host {
|
|
61
|
+
display: contents;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
custom-pane {
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
padding: 12px 24px;
|
|
67
|
+
height: 100%;
|
|
68
|
+
--custom-pane-width: var(--custom-drawer-with, 320px);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
slot[name='headline']::slotted(*) {
|
|
72
|
+
color: var(--md-sys-color-on-surface-variant);
|
|
73
|
+
font-family: var(--md-sys-typescale-title-small-font-family-name);
|
|
74
|
+
font-style: var(--md-sys-typescale-title-small-font-family-style);
|
|
75
|
+
font-weight: var(--md-sys-typescale-title-small-font-weight);
|
|
76
|
+
font-size: var(--md-sys-typescale-title-small-font-size);
|
|
77
|
+
letter-spacing: var(--md-sys-typescale-title-small-tracking);
|
|
78
|
+
line-height: var(--md-sys-typescale-title-small-height);
|
|
79
|
+
text-transform: var(--md-sys-typescale-title-small-text-transform);
|
|
80
|
+
text-decoration: var(--md-sys-typescale-title-small-text-decoration);
|
|
81
|
+
text-transform: capitalize;
|
|
82
|
+
margin: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
::slotted([slot='footer']) {
|
|
86
|
+
display: block;
|
|
87
|
+
box-sizing: border-box;
|
|
88
|
+
min-height: 48px;
|
|
89
|
+
border-top: 1px solid rgba(0, 0, 0, 0.14);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
::slotted([slot='content']) {
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
height: 100%;
|
|
96
|
+
width: 100%;
|
|
97
|
+
overflow-y: auto;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
::slotted(*) {
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
aside {
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
107
|
+
</style>
|
|
108
|
+
|
|
109
|
+
<custom-pane .open=${this.open} .mobile=${this.mobile} .type=${this.type}>
|
|
110
|
+
<slot name="header">
|
|
111
|
+
<slot name="headline" slot="headline"></slot>
|
|
112
|
+
<slot name="menu-button" slot="menu-button"></slot>
|
|
113
|
+
</slot>
|
|
114
|
+
<slot name="content" slot="content"></slot>
|
|
115
|
+
<slot name="footer" slot="footer"></slot>
|
|
116
116
|
</custom-pane> `;
|
|
117
117
|
}
|
|
118
118
|
constructor() {
|
package/exports/root.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-
|
|
1
|
+
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-Cg9lAhfj.js';
|
|
2
2
|
import { customElement, css, html, LiteElement } from '@vandeurenglenn/lite';
|
|
3
3
|
import './theme.js';
|
|
4
4
|
|
|
@@ -17,16 +17,16 @@ let CustomRoot = (() => {
|
|
|
17
17
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
18
18
|
}
|
|
19
19
|
static styles = [
|
|
20
|
-
css `
|
|
21
|
-
:host {
|
|
22
|
-
display: contents;
|
|
23
|
-
}
|
|
20
|
+
css `
|
|
21
|
+
:host {
|
|
22
|
+
display: contents;
|
|
23
|
+
}
|
|
24
24
|
`
|
|
25
25
|
];
|
|
26
26
|
render() {
|
|
27
|
-
return html `
|
|
28
|
-
<custom-theme></custom-theme>
|
|
29
|
-
<slot></slot>
|
|
27
|
+
return html `
|
|
28
|
+
<custom-theme></custom-theme>
|
|
29
|
+
<slot></slot>
|
|
30
30
|
`;
|
|
31
31
|
}
|
|
32
32
|
static {
|
|
@@ -3,10 +3,10 @@ declare const CustomSection_base: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
scrolling: any;
|
|
6
|
-
scrollElement: any;
|
|
6
|
+
scrollElement: /*elided*/ any;
|
|
7
7
|
"__#2@#onscroll": () => void;
|
|
8
8
|
connectedCallback(options?: {
|
|
9
|
-
scrollElement: string;
|
|
9
|
+
scrollElement: undefined | string;
|
|
10
10
|
}): Promise<void>;
|
|
11
11
|
disconnectedCallback(): void;
|
|
12
12
|
};
|
package/exports/section.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-
|
|
1
|
+
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-Cg9lAhfj.js';
|
|
2
2
|
import { customElement, css, html, LiteElement } from '@vandeurenglenn/lite';
|
|
3
3
|
import './section2.js';
|
|
4
4
|
import './code.js';
|
|
@@ -29,19 +29,19 @@ let DemoSection = (() => {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
static styles = [
|
|
32
|
-
css `
|
|
33
|
-
:host {
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
}
|
|
32
|
+
css `
|
|
33
|
+
:host {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
}
|
|
38
38
|
`
|
|
39
39
|
];
|
|
40
40
|
render() {
|
|
41
|
-
return html `
|
|
42
|
-
<custom-section>
|
|
43
|
-
<slot></slot>
|
|
44
|
-
</custom-section>
|
|
41
|
+
return html `
|
|
42
|
+
<custom-section>
|
|
43
|
+
<slot></slot>
|
|
44
|
+
</custom-section>
|
|
45
45
|
`;
|
|
46
46
|
}
|
|
47
47
|
static {
|
package/exports/section2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-
|
|
1
|
+
import { _ as __esDecorate, a as __runInitializers } from './tslib.es6-Cg9lAhfj.js';
|
|
2
2
|
import { customElement, css, html, LiteElement } from '@vandeurenglenn/lite';
|
|
3
3
|
import { ScrollMixin } from './scroll-mixin.js';
|
|
4
4
|
import './elevation.js';
|
|
@@ -19,33 +19,33 @@ let CustomSection = (() => {
|
|
|
19
19
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
20
20
|
}
|
|
21
21
|
static styles = [
|
|
22
|
-
css `
|
|
23
|
-
:host {
|
|
24
|
-
display: flex;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
align-items: baseline;
|
|
27
|
-
margin: 16px;
|
|
28
|
-
position: relative;
|
|
29
|
-
overflow-y: auto;
|
|
30
|
-
}
|
|
31
|
-
.container {
|
|
32
|
-
align-items: center;
|
|
33
|
-
box-sizing: border-box;
|
|
34
|
-
padding: 12px;
|
|
35
|
-
border-radius: var(--md-sys-shape-corner-extra-large);
|
|
36
|
-
}
|
|
37
|
-
.content {
|
|
38
|
-
max-width: 720px;
|
|
39
|
-
}
|
|
22
|
+
css `
|
|
23
|
+
:host {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
align-items: baseline;
|
|
27
|
+
margin: 16px;
|
|
28
|
+
position: relative;
|
|
29
|
+
overflow-y: auto;
|
|
30
|
+
}
|
|
31
|
+
.container {
|
|
32
|
+
align-items: center;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
padding: 12px;
|
|
35
|
+
border-radius: var(--md-sys-shape-corner-extra-large);
|
|
36
|
+
}
|
|
37
|
+
.content {
|
|
38
|
+
max-width: 720px;
|
|
39
|
+
}
|
|
40
40
|
`
|
|
41
41
|
];
|
|
42
42
|
render() {
|
|
43
|
-
return html `
|
|
44
|
-
<flex-column class="container">
|
|
45
|
-
<flex-column class="content">
|
|
46
|
-
<slot></slot>
|
|
47
|
-
</flex-column>
|
|
48
|
-
</flex-column>
|
|
43
|
+
return html `
|
|
44
|
+
<flex-column class="container">
|
|
45
|
+
<flex-column class="content">
|
|
46
|
+
<slot></slot>
|
|
47
|
+
</flex-column>
|
|
48
|
+
</flex-column>
|
|
49
49
|
`;
|
|
50
50
|
}
|
|
51
51
|
static {
|