@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/banner.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 './button.js';
|
|
3
3
|
import { customElement, html, LiteElement } from '@vandeurenglenn/lite';
|
|
4
4
|
import '@vandeurenglenn/flex-elements/it.js';
|
|
@@ -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
|
});
|
|
@@ -5,7 +5,7 @@ export declare type AppBarTypes = 'center-aligned' | 'small' | 'medium' | 'large
|
|
|
5
5
|
export declare class CustomTopAppBar extends LiteElement {
|
|
6
6
|
accessor type: AppBarTypes;
|
|
7
7
|
accessor scrolling: boolean;
|
|
8
|
-
static styles:
|
|
8
|
+
static styles: CSSStyleSheet[];
|
|
9
9
|
connectedCallback(): void;
|
|
10
10
|
render(): import("lit-html").TemplateResult<1>;
|
|
11
11
|
}
|
package/exports/bundle/banner.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e,e as o}from"./custom-element-CAdbJRVg.js";import"./button.js";import{
|
|
1
|
+
import{_ as t,a as e,e as o}from"./custom-element-CAdbJRVg.js";import"./button.js";import{k as r,s}from"./property-DL093_VN.js";import"./it-Dft_Rjy-.js";import"./elevation.js";let i=(()=>{let i,a,n=[o("custom-banner")],l=[],m=s;return class extends m{static{a=this}static{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;t(null,i={value:a},n,{kind:"class",name:a.name,metadata:o},null,l),a=i.value,o&&Object.defineProperty(a,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o}),e(a,l)}constructor(){super()}render(){return r`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: flex;
|
|
@@ -34,4 +34,4 @@ import{_ as t,a as e,e as o}from"./custom-element-CAdbJRVg.js";import"./button.j
|
|
|
34
34
|
<custom-button type="tertiary">
|
|
35
35
|
<custom-icon slot="icon">close</custom-icon>
|
|
36
36
|
</custom-button>
|
|
37
|
-
`}},a})();export{
|
|
37
|
+
`}},a})();export{i as CustomBanner};
|
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,
|
|
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);
|
package/exports/bundle/card.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t,e as o}from"./custom-element-CAdbJRVg.js";import{
|
|
1
|
+
import{_ as e,a as t,e as o}from"./custom-element-CAdbJRVg.js";import{k as s,s as a}from"./property-DL093_VN.js";import"./button.js";import"./divider.js";import"./elevation.js";let i=(()=>{let i,l,r=[o("custom-card")],n=[],d=a;return class extends d{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;e(null,i={value:l},r,{kind:"class",name:l.name,metadata:t},null,n),l=i.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}dividerType;type="elevated";elevationLevel=0;static properties={hasDivider:{type:Boolean},elevationLevel:{type:Number}};renderDivider(){const e=this.shadowRoot.querySelector('slot[name="actions"]');return 0!==Array.from(e?.assignedNodes()||[]).length?s`<custom-divider
|
|
2
2
|
?inset=${"inset"===this.dividerType}
|
|
3
3
|
?middle-inset=${"inset"===this.dividerType}
|
|
4
4
|
></custom-divider>`:""}render(){return s`
|
package/exports/bundle/code.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a,e as t}from"./custom-element-CAdbJRVg.js";import{r as o,i as r,
|
|
1
|
+
import{_ as e,a,e as t}from"./custom-element-CAdbJRVg.js";import{r as o,i as r,k as s,s as c}from"./property-DL093_VN.js";let i=(()=>{let i,l,n,d=[t("demo-code")],m=[],u=c,p=[],g=[];return class extends u{static{l=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;n=[o({type:String})],e(this,null,n,{kind:"accessor",name:"code",static:!1,private:!1,access:{has:e=>"code"in e,get:e=>e.code,set:(e,a)=>{e.code=a}},metadata:a},p,g),e(null,i={value:l},d,{kind:"class",name:l.name,metadata:a},null,m),l=i.value,a&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a})}#e=a(this,p,void 0);get code(){return this.#e}set code(e){this.#e=e}static styles=[r`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{F as e}from"./row-
|
|
1
|
+
import{F as e}from"./row-CW5FbTZ_.js";customElements.define("flex-column",class FlexColumn extends e{constructor(){super(),this.direction="column"}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DemoIcons}from"./demo-icons.js";export{DemoSection}from"./section.js";import"./custom-element-CAdbJRVg.js";import"./property-
|
|
1
|
+
export{DemoIcons}from"./demo-icons.js";export{DemoSection}from"./section.js";import"./custom-element-CAdbJRVg.js";import"./property-DL093_VN.js";import"./icon-set.js";import"./section2.js";import"./scroll-mixin.js";import"./elevation.js";import"./code.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{i as v,
|
|
1
|
+
import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{i as v,k as a,s as h}from"./property-DL093_VN.js";import"./icon-set.js";let m=(()=>{let m,n,o=[s("demo-icons")],w=[],i=h;return class extends i{static{n=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(i[Symbol.metadata]??null):void 0;t(null,m={value:n},o,{kind:"class",name:n.name,metadata:e},null,w),n=m.value,e&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[v`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e,e as o}from"./custom-element-CAdbJRVg.js";import{i as s,
|
|
1
|
+
import{_ as t,a as e,e as o}from"./custom-element-CAdbJRVg.js";import{i as s,k as i,s as m}from"./property-DL093_VN.js";import{t as a}from"./query-DCTzLeFk.js";import"./demo-icons.js";import"./section.js";import"./card.js";import"./theme.js";import"./divider.js";import"./button.js";import"./banner.js";import"./selector.js";import"./pages.js";import"./drawer.js";import"./drawer-button.js";import"./drawer-item.js";import"./section2.js";import"./drawer-layout.js";import"./top-app-bar.js";import"./icon.js";import"./typography.js";import"./pane.js";import"./supporting-pane.js";import"./tabs.js";import"./root.js";import"./dialog.js";import"./icon-set.js";import"./list-item.js";import"./menu.js";import"./icon-button.js";import"./dropdown-menu.js";import"./dropdown.js";import"./toggle.js";import"./toggle-button.js";import"./time-picker.js";import"./notification.js";import"./notifications.js";import"./code.js";import"./elevation.js";import"./it-Dft_Rjy-.js";import"./selector-mixin.js";import"./select-mixin.js";import"./scroll-mixin.js";import"./column-dsIMZ5XT.js";import"./row-CW5FbTZ_.js";import"./tab.js";import"./input.js";import"./property-C1gA9hig.js";let c=(()=>{let c,u,n,r,l=[o("demo-shell")],p=[],d=m,g=[],b=[],y=[],w=[];return class extends d{static{u=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;n=[a("custom-selector")],r=[a("custom-pages")],t(this,null,n,{kind:"accessor",name:"selector",static:!1,private:!1,access:{has:t=>"selector"in t,get:t=>t.selector,set:(t,e)=>{t.selector=e}},metadata:e},g,b),t(this,null,r,{kind:"accessor",name:"pages",static:!1,private:!1,access:{has:t=>"pages"in t,get:t=>t.pages,set:(t,e)=>{t.pages=e}},metadata:e},y,w),t(null,c={value:u},l,{kind:"class",name:u.name,metadata:e},null,p),u=c.value,e&&Object.defineProperty(u,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,g,void 0);get selector(){return this.#t}set selector(t){this.#t=t}#e=(e(this,b),e(this,y,void 0));get pages(){return this.#e}set pages(t){this.#e=t}connectedCallback(){this.selector.addEventListener("selected",(async({detail:t})=>{document.dispatchEvent(new CustomEvent("custom-scroll",{detail:{scrolling:!1}})),this.pages.select(t),localStorage.setItem("last-selected",t)}));const t=localStorage.getItem("last-selected");t&&(customElements.get("custom-serlector")?this.selector.select(t):(this.selector.select(t),this.pages.select(t)))}static styles=[s`
|
|
2
2
|
custom-drawer-layout {
|
|
3
3
|
height: 100%;
|
|
4
4
|
width: 100%;
|
package/exports/bundle/demo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e,e as o}from"./custom-element-CAdbJRVg.js";import{i as s,
|
|
1
|
+
import{_ as t,a as e,e as o}from"./custom-element-CAdbJRVg.js";import{i as s,k as i,s as m}from"./property-DL093_VN.js";import{t as a}from"./query-DCTzLeFk.js";let c=(()=>{let c,u,n,r,l=[o("demo-shell")],p=[],d=m,b=[],y=[],g=[],w=[];return class extends d{static{u=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;n=[a("custom-selector")],r=[a("custom-pages")],t(this,null,n,{kind:"accessor",name:"selector",static:!1,private:!1,access:{has:t=>"selector"in t,get:t=>t.selector,set:(t,e)=>{t.selector=e}},metadata:e},b,y),t(this,null,r,{kind:"accessor",name:"pages",static:!1,private:!1,access:{has:t=>"pages"in t,get:t=>t.pages,set:(t,e)=>{t.pages=e}},metadata:e},g,w),t(null,c={value:u},l,{kind:"class",name:u.name,metadata:e},null,p),u=c.value,e&&Object.defineProperty(u,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,b,void 0);get selector(){return this.#t}set selector(t){this.#t=t}#e=(e(this,y),e(this,g,void 0));get pages(){return this.#e}set pages(t){this.#e=t}static styles=[s`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
package/exports/bundle/dialog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{r as o,i as a,
|
|
1
|
+
import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{r as o,i as a,k as n,s as r}from"./property-DL093_VN.js";import"./elevation.js";import"./icon.js";let i=(()=>{let i,l,c,h,d,m,p,u=[s("custom-dialog")],g=[],f=r,y=[],v=[],_=[],b=[],x=[],w=[],H=[],k=[],A=[],S=[];return class extends f{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(f[Symbol.metadata]??null):void 0;c=[o({type:Boolean,reflect:!0})],h=[o({type:Boolean,reflect:!0})],d=[o({type:Boolean,reflect:!0,attribute:"has-actions"})],m=[o({type:Boolean,reflect:!0,attribute:"has-header"})],p=[o({type:Boolean,reflect:!0,attribute:"has-hero"})],e(this,null,c,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:t},y,v),e(this,null,h,{kind:"accessor",name:"fullscreen",static:!1,private:!1,access:{has:e=>"fullscreen"in e,get:e=>e.fullscreen,set:(e,t)=>{e.fullscreen=t}},metadata:t},_,b),e(this,null,d,{kind:"accessor",name:"hasActions",static:!1,private:!1,access:{has:e=>"hasActions"in e,get:e=>e.hasActions,set:(e,t)=>{e.hasActions=t}},metadata:t},x,w),e(this,null,m,{kind:"accessor",name:"hasHeader",static:!1,private:!1,access:{has:e=>"hasHeader"in e,get:e=>e.hasHeader,set:(e,t)=>{e.hasHeader=t}},metadata:t},H,k),e(this,null,p,{kind:"accessor",name:"hasHero",static:!1,private:!1,access:{has:e=>"hasHero"in e,get:e=>e.hasHero,set:(e,t)=>{e.hasHero=t}},metadata:t},A,S),e(null,i={value:l},u,{kind:"class",name:l.name,metadata:t},null,g),l=i.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,y,void 0);get open(){return this.#e}set open(e){this.#e=e}#t=(t(this,v),t(this,_,void 0));get fullscreen(){return this.#t}set fullscreen(e){this.#t=e}#s=(t(this,b),t(this,x,void 0));get hasActions(){return this.#s}set hasActions(e){this.#s=e}#o=(t(this,w),t(this,H,void 0));get hasHeader(){return this.#o}set hasHeader(e){this.#o=e}#a=(t(this,k),t(this,A,void 0));get hasHero(){return this.#a}set hasHero(e){this.#a=e}constructor(){super(),t(this,S),this._close=this._close.bind(this)}connectedCallback(){const e=this.shadowRoot.querySelector('slot[name="actions"]');this.hasActions=0!==Array.from(e?.assignedNodes()||[]).length;let t=this.shadowRoot.querySelector('slot[name="header"]');const s=["title","header-start","header-end"];let o=0;for(;0===Array.from(t.assignedElements()).length&&o<s.length;)t=this.shadowRoot.querySelector(`slot[name="${s[o]}"]`),o+=1;this.hasHeader=0!==t.assignedElements().length;const a=this.shadowRoot.querySelector('slot[name="hero-icon"]');this.hashero=0!==Array.from(a?.assignedNodes()||[]).length}onChange(e,t){"open"===e&&(this.open?this.querySelector('[slot="actions"]')?.addEventListener("click",this._close):this.querySelector('[slot="actions"]')?.removeEventListener("click",this._close))}_close(e){const t=e.composedPath()[0];this.dispatchEvent(new CustomEvent("close",{detail:t.getAttribute("action")||"close"})),this.open=!1}static styles=[a`
|
|
2
2
|
:host {
|
|
3
3
|
position: absolute;
|
|
4
4
|
inset: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e,e as a}from"./custom-element-CAdbJRVg.js";import{
|
|
1
|
+
import{_ as t,a as e,e as a}from"./custom-element-CAdbJRVg.js";import{k as i,s as r}from"./property-DL093_VN.js";import"./button.js";import"./elevation.js";let o=(()=>{let o,l,n=[a("custom-divider")],s=[],m=r;return class extends m{static{l=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;t(null,o={value:l},n,{kind:"class",name:l.name,metadata:e},null,s),l=o.value,e&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static properties={inset:{type:Boolean,reflect:!0,attribute:"inset"},middleInset:{type:Boolean,reflect:!0,attribute:"middle-inset"}};render(){return i`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{r as a,i as o,
|
|
1
|
+
import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{r as a,i as o,k as i,s as r}from"./property-DL093_VN.js";import"./icon-button.js";import"./button.js";import"./elevation.js";import"./icon.js";let n=(()=>{let n,c,l,d,m,p=[s("custom-drawer-button")],u=[],h=r,b=[],_=[],g=[],w=[],v=[],y=[];return class extends h{static{c=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;l=[a({type:Boolean,reflect:!0})],d=[a({type:Boolean,reflect:!0,attribute:"drawer-open"})],m=[a()],e(this,null,l,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:e=>"mobile"in e,get:e=>e.mobile,set:(e,t)=>{e.mobile=t}},metadata:t},b,_),e(this,null,d,{kind:"accessor",name:"drawerOpen",static:!1,private:!1,access:{has:e=>"drawerOpen"in e,get:e=>e.drawerOpen,set:(e,t)=>{e.drawerOpen=t}},metadata:t},g,w),e(this,null,m,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:e=>"id"in e,get:e=>e.id,set:(e,t)=>{e.id=t}},metadata:t},v,y),e(null,n={value:c},p,{kind:"class",name:c.name,metadata:t},null,u),c=n.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,b,!1);get mobile(){return this.#e}set mobile(e){this.#e=e}#t=(t(this,_),t(this,g,void 0));get drawerOpen(){return this.#t}set drawerOpen(e){this.#t=e}#s=(t(this,w),t(this,v,void 0));get id(){return this.#s}set id(e){this.#s=e}openPane(){document.dispatchEvent(new CustomEvent("custom-pane-open",{detail:this.id}))}static styles=[o`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
opacity: 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t,e as
|
|
1
|
+
import{_ as e,a as t,e as a}from"./custom-element-CAdbJRVg.js";import{i as o,k as n,s as r}from"./property-DL093_VN.js";let s=(()=>{let s,i,l=[a("custom-drawer-item")],m=[],d=r;return class extends d{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;e(null,s={value:i},l,{kind:"class",name:i.name,metadata:t},null,m),i=s.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[o`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
padding-left: 16px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t,e as r}from"./custom-element-CAdbJRVg.js";import{r as a,
|
|
1
|
+
import{_ as e,a as t,e as r}from"./custom-element-CAdbJRVg.js";import{r as a,k as s,s as o}from"./property-DL093_VN.js";import"./drawer.js";import"./drawer-button.js";import"./drawer-item.js";import"./top-app-bar.js";import"./column-dsIMZ5XT.js";import"./elevation.js";import"./button.js";import"./pane.js";import"./icon-button.js";import"./icon.js";import"./it-Dft_Rjy-.js";import"./row-CW5FbTZ_.js";let i=(()=>{let i,n,d,c,l,p,m,h,w,g=[r("custom-drawer-layout")],u=[],b=o,y=[],_=[],T=[],k=[],f=[],v=[],O=[],j=[],D=[],x=[],I=[],B=[],C=[],$=[];return class extends b{static{n=this}static{const r="function"==typeof Symbol&&Symbol.metadata?Object.create(b[Symbol.metadata]??null):void 0;d=[a({type:Boolean,reflect:!0,attribute:"drawer-open"})],c=[a({type:Boolean,reflect:!0,attribute:"keep-closed"})],l=[a({type:Boolean,reflect:!0})],p=[a({type:String})],m=[a({type:String})],h=[a({type:String})],w=[a({attribute:"mobile-trigger"})],e(this,null,d,{kind:"accessor",name:"drawerOpen",static:!1,private:!1,access:{has:e=>"drawerOpen"in e,get:e=>e.drawerOpen,set:(e,t)=>{e.drawerOpen=t}},metadata:r},y,_),e(this,null,c,{kind:"accessor",name:"keepClosed",static:!1,private:!1,access:{has:e=>"keepClosed"in e,get:e=>e.keepClosed,set:(e,t)=>{e.keepClosed=t}},metadata:r},T,k),e(this,null,l,{kind:"accessor",name:"narrow",static:!1,private:!1,access:{has:e=>"narrow"in e,get:e=>e.narrow,set:(e,t)=>{e.narrow=t}},metadata:r},f,v),e(this,null,p,{kind:"accessor",name:"drawerType",static:!1,private:!1,access:{has:e=>"drawerType"in e,get:e=>e.drawerType,set:(e,t)=>{e.drawerType=t}},metadata:r},O,j),e(this,null,m,{kind:"accessor",name:"appBarType",static:!1,private:!1,access:{has:e=>"appBarType"in e,get:e=>e.appBarType,set:(e,t)=>{e.appBarType=t}},metadata:r},D,x),e(this,null,h,{kind:"accessor",name:"mainDrawerId",static:!1,private:!1,access:{has:e=>"mainDrawerId"in e,get:e=>e.mainDrawerId,set:(e,t)=>{e.mainDrawerId=t}},metadata:r},I,B),e(this,null,w,{kind:"accessor",name:"mobileTrigger",static:!1,private:!1,access:{has:e=>"mobileTrigger"in e,get:e=>e.mobileTrigger,set:(e,t)=>{e.mobileTrigger=t}},metadata:r},C,$),e(null,i={value:n},g,{kind:"class",name:n.name,metadata:r},null,u),n=i.value,r&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r}),t(n,u)}#e=t(this,y,!1);get drawerOpen(){return this.#e}set drawerOpen(e){this.#e=e}#t=(t(this,_),t(this,T,!1));get keepClosed(){return this.#t}set keepClosed(e){this.#t=e}#r=(t(this,k),t(this,f,!1));get narrow(){return this.#r}set narrow(e){this.#r=e}#a=(t(this,v),t(this,O,"modal"));get drawerType(){return this.#a}set drawerType(e){this.#a=e}#s=(t(this,j),t(this,D,"center-aligned"));get appBarType(){return this.#s}set appBarType(e){this.#s=e}#o=(t(this,x),t(this,I,crypto.randomUUID()));get mainDrawerId(){return this.#o}set mainDrawerId(e){this.#o=e}#i=(t(this,B),t(this,C,"(max-width: 860px)"));get mobileTrigger(){return this.#i}set mobileTrigger(e){this.#i=e}onChange(e,t){if("mobileTrigger"===e){const e=matchMedia(t);this._onnarrow({detail:e.matches})}}connectedCallback(){document.addEventListener("custom-pane-close",(({detail:e})=>{this.mainDrawerId===e&&(this.drawerOpen=!1)})),document.addEventListener("custom-pane-open",(({detail:e})=>{this.mainDrawerId!==e||this.keepClosed||(this.drawerOpen=!0)})),document.addEventListener("custom-theme-narrow",this._onnarrow.bind(this))}_onnarrow({detail:e}){if(this.narrow=e,this.keepClosed)return this.drawerOpen=!1;this.drawerOpen=!e}_click=(t(this,$),()=>{this.narrow&&(this.drawerOpen=!this.drawerOpen)});render(){return s`<style>
|
|
2
2
|
:host {
|
|
3
3
|
--custom-drawer-width: 320px;
|
|
4
4
|
display: flex;
|
package/exports/bundle/drawer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{i as a,r as o,
|
|
1
|
+
import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{i as a,r as o,k as i,s as r}from"./property-DL093_VN.js";import"./elevation.js";import"./button.js";import"./pane.js";import"./icon-button.js";import"./icon.js";var n=a`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -36,7 +36,7 @@ import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{i as a,r a
|
|
|
36
36
|
::slotted(*) {
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
|
-
`;let l=(()=>{let a,l,c,m,d,p,h,g=[s("custom-drawer")],u=[],y=r,b=[],v=[],f=[],_=[],x=[],w=[],
|
|
39
|
+
`;let l=(()=>{let a,l,c,m,d,p,h,g=[s("custom-drawer")],u=[],y=r,b=[],v=[],f=[],_=[],x=[],w=[],k=[],j=[],S=[],z=[];return class extends y{static{l=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;c=[o({type:Boolean,reflect:!0})],m=[o({type:Boolean,reflect:!0})],d=[o({type:String,reflect:!0})],p=[o({type:Boolean})],h=[o({type:String})],t(this,null,c,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},b,v),t(this,null,m,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:t=>"mobile"in t,get:t=>t.mobile,set:(t,e)=>{t.mobile=e}},metadata:e},f,_),t(this,null,d,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:e},x,w),t(this,null,p,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:e},k,j),t(this,null,h,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:t=>"id"in t,get:t=>t.id,set:(t,e)=>{t.id=e}},metadata:e},S,z),t(null,a={value:l},g,{kind:"class",name:l.name,metadata:e},null,u),l=a.value,e&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,b,void 0);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,v),e(this,f,void 0));get mobile(){return this.#e}set mobile(t){this.#e=t}#s=(e(this,_),e(this,x,void 0));get type(){return this.#s}set type(t){this.#s=t}#a=(e(this,w),e(this,k,void 0));get right(){return this.#a}set right(t){this.#a=t}#o=(e(this,j),e(this,S,void 0));get id(){return this.#o}set id(t){this.#o=t}connectedCallback(){document.addEventListener("custom-pane-close",(({detail:t})=>{this.id===t&&(this.open=!1)})),document.addEventListener("custom-pane-open",(({detail:t})=>{this.id===t&&(this.open=!0)}))}static styles=[n];render(){return i`
|
|
40
40
|
<custom-pane .open=${this.open} .mobile=${this.mobile} .type=${this.type} .id=${this.id}>
|
|
41
41
|
<slot name="headline" slot="headline"></slot>
|
|
42
42
|
<slot name="menu-button" slot="menu-button"></slot>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{r as o,i as c,
|
|
1
|
+
import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{r as o,i as c,k as i,s as a}from"./property-DL093_VN.js";import{t as r}from"./query-DCTzLeFk.js";import"./dropdown.js";import"./menu.js";import"./icon.js";import"./selector.js";import"./selector-mixin.js";import"./select-mixin.js";let n=(()=>{let n,l,m,d,h,p,u,_,g,v,b=[s("custom-dropdown-menu")],k=[],w=a,O=[],y=[],f=[],S=[],C=[],j=[],x=[],$=[],B=[],E=[],q=[],P=[],z=[],A=[],D=[],F=[];return class extends w{static{l=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(w[Symbol.metadata]??null):void 0;m=[o({type:Boolean,reflect:!0})],d=[o({type:Boolean,reflect:!0})],h=[o({type:Boolean,attribute:"close-on-select"})],p=[o({type:Boolean,attribute:"close-on-click"})],u=[o({type:Boolean,reflect:!0})],_=[o({type:String})],g=[r("custom-menu")],v=[r("custom-dropdown")],t(this,null,m,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:e},O,y),t(this,null,d,{kind:"accessor",name:"bottom",static:!1,private:!1,access:{has:t=>"bottom"in t,get:t=>t.bottom,set:(t,e)=>{t.bottom=e}},metadata:e},f,S),t(this,null,h,{kind:"accessor",name:"closeOnSelect",static:!1,private:!1,access:{has:t=>"closeOnSelect"in t,get:t=>t.closeOnSelect,set:(t,e)=>{t.closeOnSelect=e}},metadata:e},C,j),t(this,null,p,{kind:"accessor",name:"closeOnClick",static:!1,private:!1,access:{has:t=>"closeOnClick"in t,get:t=>t.closeOnClick,set:(t,e)=>{t.closeOnClick=e}},metadata:e},x,$),t(this,null,u,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},B,E),t(this,null,_,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:t=>"icon"in t,get:t=>t.icon,set:(t,e)=>{t.icon=e}},metadata:e},q,P),t(this,null,g,{kind:"accessor",name:"_menu",static:!1,private:!1,access:{has:t=>"_menu"in t,get:t=>t._menu,set:(t,e)=>{t._menu=e}},metadata:e},z,A),t(this,null,v,{kind:"accessor",name:"_dropdown",static:!1,private:!1,access:{has:t=>"_dropdown"in t,get:t=>t._dropdown,set:(t,e)=>{t._dropdown=e}},metadata:e},D,F),t(null,n={value:l},b,{kind:"class",name:l.name,metadata:e},null,k),l=n.value,e&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,O,void 0);get right(){return this.#t}set right(t){this.#t=t}#e=(e(this,y),e(this,f,void 0));get bottom(){return this.#e}set bottom(t){this.#e=t}#s=(e(this,S),e(this,C,!0));get closeOnSelect(){return this.#s}set closeOnSelect(t){this.#s=t}#o=(e(this,j),e(this,x,!0));get closeOnClick(){return this.#o}set closeOnClick(t){this.#o=t}#c=(e(this,$),e(this,B,void 0));get open(){return this.#c}set open(t){this.#c=t}#i=(e(this,E),e(this,q,"more_vert"));get icon(){return this.#i}set icon(t){this.#i=t}#a=(e(this,P),e(this,z,void 0));get _menu(){return this.#a}set _menu(t){this.#a=t}#r=(e(this,A),e(this,D,void 0));get _dropdown(){return this.#r}set _dropdown(t){this.#r=t}_onselected=(e(this,F),({detail:t})=>{this.dispatchEvent(new CustomEvent("selected",{detail:t})),this.closeOnSelect&&(this.open=!1,this._menu.selected=void 0)});_scrimClick=()=>{this.closeOnClick&&(this.open=!1)};static styles=[c`
|
|
2
2
|
:host {
|
|
3
3
|
position: relative;
|
|
4
4
|
display: block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{r as a,i as o,
|
|
1
|
+
import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{r as a,i as o,k as n,s as r}from"./property-DL093_VN.js";let i=(()=>{let i,c,m,l=[s("custom-dropdown")],p=[],d=r,u=[],y=[];return class extends d{static{c=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;m=[a({type:Boolean,reflect:!0})],e(this,null,m,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:t},u,y),e(null,i={value:c},l,{kind:"class",name:c.name,metadata:t},null,p),c=i.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,u,void 0);get open(){return this.#e}set open(e){this.#e=e}static styles=[o`
|
|
2
2
|
:host {
|
|
3
3
|
position: absolute;
|
|
4
4
|
pointer-events: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CustomCard}from"./card.js";export{CustomTheme}from"./theme.js";export{CustomDivider}from"./divider.js";export{CustomButton}from"./button.js";export{CustomBanner}from"./banner.js";export{CustomSelector}from"./selector.js";export{CustomPages}from"./pages.js";export{CustomDrawer}from"./drawer.js";export{CustomDrawerButton}from"./drawer-button.js";export{CustomDrawerItem}from"./drawer-item.js";export{CustomSection}from"./section2.js";export{CustomDrawerLayout}from"./drawer-layout.js";export{CustomTopAppBar}from"./top-app-bar.js";export{CustomIcon}from"./icon.js";export{CustomTypography}from"./typography.js";export{CustomPane}from"./pane.js";export{CustomSupportingPane}from"./supporting-pane.js";export{CustomTabs}from"./tabs.js";export{CustomRoot}from"./root.js";export{CustomDialog}from"./dialog.js";export{CustomIconSet}from"./icon-set.js";export{CustomListItem}from"./list-item.js";export{CustomMenu}from"./menu.js";export{CustomIconButton}from"./icon-button.js";export{CustomDropdownMenu}from"./dropdown-menu.js";export{CustomDropdown}from"./dropdown.js";export{CustomToggle}from"./toggle.js";export{CustomToggleButton}from"./toggle-button.js";export{CustomTimePicker}from"./time-picker.js";export{CustomNotification}from"./notification.js";export{CustomNotifications}from"./notifications.js";import"./custom-element-CAdbJRVg.js";import"./property-
|
|
1
|
+
export{CustomCard}from"./card.js";export{CustomTheme}from"./theme.js";export{CustomDivider}from"./divider.js";export{CustomButton}from"./button.js";export{CustomBanner}from"./banner.js";export{CustomSelector}from"./selector.js";export{CustomPages}from"./pages.js";export{CustomDrawer}from"./drawer.js";export{CustomDrawerButton}from"./drawer-button.js";export{CustomDrawerItem}from"./drawer-item.js";export{CustomSection}from"./section2.js";export{CustomDrawerLayout}from"./drawer-layout.js";export{CustomTopAppBar}from"./top-app-bar.js";export{CustomIcon}from"./icon.js";export{CustomTypography}from"./typography.js";export{CustomPane}from"./pane.js";export{CustomSupportingPane}from"./supporting-pane.js";export{CustomTabs}from"./tabs.js";export{CustomRoot}from"./root.js";export{CustomDialog}from"./dialog.js";export{CustomIconSet}from"./icon-set.js";export{CustomListItem}from"./list-item.js";export{CustomMenu}from"./menu.js";export{CustomIconButton}from"./icon-button.js";export{CustomDropdownMenu}from"./dropdown-menu.js";export{CustomDropdown}from"./dropdown.js";export{CustomToggle}from"./toggle.js";export{CustomToggleButton}from"./toggle-button.js";export{CustomTimePicker}from"./time-picker.js";export{CustomNotification}from"./notification.js";export{CustomNotifications}from"./notifications.js";import"./custom-element-CAdbJRVg.js";import"./property-DL093_VN.js";import"./elevation.js";import"./it-Dft_Rjy-.js";import"./selector-mixin.js";import"./select-mixin.js";import"./scroll-mixin.js";import"./column-dsIMZ5XT.js";import"./row-CW5FbTZ_.js";import"./query-DCTzLeFk.js";import"./tab.js";import"./input.js";import"./property-C1gA9hig.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a,e as l}from"./custom-element-CAdbJRVg.js";import{r as t,
|
|
1
|
+
import{_ as e,a,e as l}from"./custom-element-CAdbJRVg.js";import{r as t,k as o,s as r}from"./property-DL093_VN.js";
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2022 Google LLC
|
package/exports/bundle/fab.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t,e as o}from"./custom-element-CAdbJRVg.js";import{r as a,i as
|
|
1
|
+
import{_ as e,a as t,e as o}from"./custom-element-CAdbJRVg.js";import{r as a,i as s,k as r,s as l}from"./property-DL093_VN.js";import"./elevation.js";let n=(()=>{let n,i,c,d=[o("custom-fab")],y=[],m=l,p=[],v=[];return class extends m{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;c=[a({attribute:"type",reflect:!0})],e(this,null,c,{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},p,v),e(null,n={value:i},d,{kind:"class",name:i.name,metadata:t},null,y),i=n.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,p,"normal");get type(){return this.#e}set type(e){this.#e=e}static styles=[s`
|
|
2
2
|
:host {
|
|
3
3
|
color: var(--custom-fab-color, --md-sys-color-on-background);
|
|
4
4
|
display: flex;
|
|
@@ -137,7 +137,7 @@ import{_ as e,a as t,e as o}from"./custom-element-CAdbJRVg.js";import{r as a,i a
|
|
|
137
137
|
button * {
|
|
138
138
|
pointer-events: none;
|
|
139
139
|
}
|
|
140
|
-
`];render(){return
|
|
140
|
+
`];render(){return r`
|
|
141
141
|
<button>
|
|
142
142
|
<custom-elevation></custom-elevation>
|
|
143
143
|
<slot name="icon"></slot>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as o,e as s}from"./custom-element-CAdbJRVg.js";import{r as e,i as c,
|
|
1
|
+
import{_ as t,a as o,e as s}from"./custom-element-CAdbJRVg.js";import{r as e,i as c,k as a,s as i}from"./property-DL093_VN.js";import"./button.js";import"./icon.js";import"./elevation.js";let n=(()=>{let n,r,l,m=[s("custom-icon-button")],u=[],b=i,d=[],p=[];return class extends b{static{r=this}static{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(b[Symbol.metadata]??null):void 0;l=[e({type:String})],t(this,null,l,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:t=>"icon"in t,get:t=>t.icon,set:(t,o)=>{t.icon=o}},metadata:o},d,p),t(null,n={value:r},m,{kind:"class",name:r.name,metadata:o},null,u),r=n.value,o&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o})}#t=o(this,d,void 0);get icon(){return this.#t}set icon(t){this.#t=t}static styles=[c`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{L as a,i as n,s as o}from"./property-
|
|
1
|
+
import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{L as a,i as n,s as o}from"./property-DL093_VN.js";globalThis.pubsub=globalThis.pubsub||new a(!0);let l=(()=>{let a,l,c=[s("custom-icon-set")],i=[],u=o;return class extends u{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;e(null,a={value:l},c,{kind:"class",name:l.name,metadata:t},null,i),l=a.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[n`
|
|
2
2
|
:host {
|
|
3
3
|
display: none;
|
|
4
4
|
}
|
package/exports/bundle/icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as s,a as t,e}from"./custom-element-CAdbJRVg.js";import{L as o,r as
|
|
1
|
+
import{_ as s,a as t,e}from"./custom-element-CAdbJRVg.js";import{L as o,r as a,i,k as c,s as n}from"./property-DL093_VN.js";globalThis.pubsub=globalThis.pubsub||new o(!0);let r=(()=>{let o,r,h,l,m,u,_=[e("custom-icon")],g=[],b=n,d=[],p=[],v=[],N=[],f=[],y=[],k=[],x=[];return class extends b{static{r=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(b[Symbol.metadata]??null):void 0;h=[a()],l=[a({attribute:!0,reflect:!0})],m=[a()],u=[a()],s(this,null,h,{kind:"accessor",name:"host",static:!1,private:!1,access:{has:s=>"host"in s,get:s=>s.host,set:(s,t)=>{s.host=t}},metadata:t},d,p),s(this,null,l,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:s=>"icon"in s,get:s=>s.icon,set:(s,t)=>{s.icon=t}},metadata:t},v,N),s(this,null,m,{kind:"accessor",name:"setName",static:!1,private:!1,access:{has:s=>"setName"in s,get:s=>s.setName,set:(s,t)=>{s.setName=t}},metadata:t},f,y),s(this,null,u,{kind:"accessor",name:"_icon",static:!1,private:!1,access:{has:s=>"_icon"in s,get:s=>s._icon,set:(s,t)=>{s._icon=t}},metadata:t},k,x),s(null,o={value:r},_,{kind:"class",name:r.name,metadata:t},null,g),r=o.value,t&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#s=t(this,d,void 0);get host(){return this.#s}set host(s){this.#s=s}#t=(t(this,p),t(this,v,void 0));get icon(){return this.#t}set icon(s){this.#t=s}#e=(t(this,N),t(this,f,void 0));get setName(){return this.#e}set setName(s){this.#e=s}#o=(t(this,y),t(this,k,void 0));get _icon(){return this.#o}set _icon(s){this.#o=s}onChange(s,t){"setName"===s&&(this.host=globalThis.pubsub.subscribers[`custom-icon-set-${t}-connected`]?.value,this.host||globalThis.pubsub.subscribe(`custom-icon-set-${t}-connected`,(s=>{s&&(this.host=s)}))),"icon"!==s&&"host"!==s||this.host&&this.icon&&(this._icon=this.host.getIcon(this.icon))}static styles=[i`
|
|
2
2
|
:host {
|
|
3
3
|
--__custom-icon-size: var(--custom-icon-size, 24px);
|
|
4
4
|
--custom-icon-color: var(--md-sys-color-on-surface);
|